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{
_.btb=function(a){a=parseInt(_.B(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.dtb=function(a,b,c,d){var e=_.Ge.getService(a);a=e.mg(a,c);_.ctb(a.H.Ek,b,d);e.Zf(a)};_.ctb=function(a,b,c){var d=new _.etb;b.NU&&_.A(d,2,b.NU);b.iG&&0<=b.iG&&_.A(d,1,b.iG);b.quotaType&&_.A(d,3,b.quotaType);_.ftb(a,d);c&&(b=new _.gtb,_.A(b,1,c),_.htb(a,b))};_.itb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.jtb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.ftb=function(a,b){b&&(a=a.ad(),_.J(a,29,b))};_.htb=function(a,b){b&&(a=a.ad(),_.J(a,38,b))};_.etb=function(a){_.O(this,a,-1,null,null)};_.L(_.etb,_.K);_.gtb=function(a){_.O(this,a,-1,null,null)};_.L(_.gtb,_.K);_.gtb.prototype.Nh=function(){return _.B(this,1)};_.ktb=function(a,b,c,d,e,f,h){return(0,_.G)(_.Pn("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Es:e,size:f,Xd:h},a))};_.t("sy11r");
_.mtb=function(a,b,c){var d=_.E(a.get(_.cDa),1,""),e=_.btb(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",_.ltb(a,e,c)),-1!=parseInt(String(_.C(b,_.Cx,2)),10)?"upgrade":"")};
_.ltb=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"}}};
_.ntb=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 Zzb=_.ltb,$zb=_.mtb,aAb=_.ntb;_.ltb=function(a,b,c){return"over"==b&&_.Rl(a.get(_.Xb))?"widget_trial":Zzb(a,b,c)};_.mtb=function(a,b,c){c=$zb(a,b,c);"over"===_.btb(b)&&_.Rl(a.get(_.Xb))&&_.ij(c,"eft","1");return c};_.ntb=function(a,b,c){b=aAb(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 Tsb,Wsb;Tsb=[4,5,6,7];_.YA=function(a){_.O(this,a,-1,null,null)};_.L(_.YA,_.K);_.YA.prototype.Ab=function(){return _.B(this,1)};_.YA.prototype.Dc=function(a){return _.A(this,1,a)};_.YA.prototype.w$=function(){return _.B(this,2)};_.YA.prototype.Xb="JmcaR";_.Usb=function(a){_.O(this,a,-1,null,null)};_.L(_.Usb,_.K);_.Usb.prototype.O=function(){return _.R(this,1)};_.Usb.prototype.Xb="dvhrqe";_.Vsb=function(a){_.O(this,a,-1,null,null)};_.L(_.Vsb,_.K);_.Vsb.prototype.cu=function(){return _.B(this,2)};
_.Vsb.prototype.sWa=function(){return _.B(this,3)};Wsb=[5];_.Xsb=function(a){_.O(this,a,-1,null,null)};_.L(_.Xsb,_.K);_.Xsb.prototype.setActive=function(a){return _.A(this,4,a)};_.Ysb=function(a){_.O(this,a,-1,Wsb,null)};_.L(_.Ysb,_.K);_.g=_.Ysb.prototype;_.g.ZZ=function(){return _.B(this,1)};_.g.RT=function(){return _.B(this,3)};_.g.dR=function(){return _.Uj(this,_.Vsb,5)};_.g.un=function(){return _.B(this,6)};_.g.gv=function(){return _.B(this,7)};_.g.hy=function(){return _.B(this,10)};
_.g.xAb=function(){return _.P(this,16)};_.g.Xb="dzR11e";_.Zsb=function(a){_.O(this,a,-1,Tsb,null)};_.L(_.Zsb,_.K);_.Zsb.prototype.O=function(){return _.C(this,_.Ysb,1)};_.Zsb.prototype.gN=function(){return _.C(this,_.YA,8)};_.Zsb.prototype.V=function(){return _.C(this,_.Usb,9)};_.t("sy11n");
_.ZA=function(a){_.O(this,a,-1,$sb,null)};_.L(_.ZA,_.K);_.ZA.prototype.getUser=function(){return _.C(this,_.Fk,1)};_.ZA.prototype.getMetadata=function(){return _.C(this,_.Zsb,3)};_.ZA.prototype.To=function(){return _.P(this,3)};var $sb=[2];

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

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

_.w();

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

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1k2");
var qSc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};qSc.prototype.get=function(a){return rSc(this)[a]||null};qSc.prototype.set=function(a){rSc(this)[this.V(a)]=a;this.O=null};var rSc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.lL=function(a,b){this.H=a;this.cB=b};
_.lL.prototype.Fz=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!sSc(this,a[d],b[d])){c=d;break b}c=-1}if(-1==c){if(a.length==b.length){c=[];break a}if(a.length>b.length){c=[];for(var e=d=b.length;e<a.length;e++)c.push(this.H.xM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.yM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&sSc(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++)sSc(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&&sSc(this,d[f-1],e[h-1])?(h--,f--):0<h&&(0==f||k[f][h-1]>k[f-1][h])?(l.unshift(this.H.yM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.xM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.cB(this.H.aN(d[f])),void 0!==e[h]){h=e[h];l=d[h];var p=d[f];k=1==l.getType()?l:p;l=2==l.getType()?l:p;if(k=this.FE(l,k))d[h]=k,d.splice(f,1),f--}else e[h]=f;e=[];if(null!=d)for(f=0;f<d.length;f++){l=d[f];p=l.Ni()||0;var q=l.ny()||0;l.setPosition((l.Ni()||0)+tSc(e,l.Ni()||0));d[f].setPosition((d[f].Ni()||0)+c);3==d[f].getType()&&(l.Qy((l.ny()||0)+tSc(e,l.ny()||0)),d[f].Qy((d[f].ny()||0)+c));h=e;k=h.push;b:switch(l.getType()){case 1:l={offset:1,start:p,end:Number.MAX_VALUE};break b;case 2:l={offset:-1,
start:p,end:Number.MAX_VALUE};break b;case 3:l=p>q?{offset:-1,start:q,end:p}:{offset:1,start:p,end:q};break b;default:l={offset:0,start:-1,end:-1}}k.call(h,l)}c=d}d=[];a=new qSc(a,this.cB);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.cB(f)))&&!_.ak(h||void 0,f||void 0)&&d.push(this.H.sQ(f,e));return c.concat(d)};var tSc=function(a,b){for(var c=0,d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c};
_.lL.prototype.FE=function(a,b){var c=b.Ni()||0;c>(a.Ni()||0)&&--c;return this.H.FE(this.H.aN(b),a.Ni()||0,c)};var sSc=function(a,b,c){return a.cB(b)==a.cB(c)};

_.w();

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

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var ESc,HSc;ESc=[3,42];_.FSc=function(a){_.O(this,a,-1,ESc,null)};_.L(_.FSc,_.K);_.FSc.prototype.getMimeType=function(){return _.B(this,27)};_.GSc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};HSc=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 ISc=function(a){_.gi.call(this,"visibilitychange");this.hidden=a};_.L(ISc,_.gi);
_.JSc=function(a){_.ri.call(this);this.ld=a||_.kh();if(this.Az=this.Csb())this.H=_.ue(this.ld.Vb(),this.Az,(0,_.v)(this.nab,this))};_.If(_.JSc,_.ri);_.g=_.JSc.prototype;_.g.Csb=_.Lca(function(){var a=this.uu(),b="hidden"!=this.Sza();if(a){var c;b?c=((_.iFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.Sza=_.Lca(function(){return HSc("hidden",this.ld.Vb())});_.g.lub=_.Lca(function(){return HSc("visibilityState",this.ld.Vb())});_.g.uu=function(){return!!this.Sza()};
_.g.xB=function(){return!!this.ld.Vb()[this.Sza()]};_.g.nab=function(){var a=this.uu()?this.ld.Vb()[this.lub()]:null;a=new ISc(this.xB(),a);this.dispatchEvent(a)};_.g.Xa=function(){_.mi(this.H);_.JSc.ub.Xa.call(this)};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vL=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.If(_.vL,_.BSc);_.vL.prototype.reset=function(){this.H[0]=1732584193;this.H[1]=4023233417;this.H[2]=2562383102;this.H[3]=271733878;this.V=this.O=0};
var KSc=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.H[0];c=a.H[1];e=a.H[2];var f=a.H[3];var h=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(h<<17&4294967295|h>>>
15);h=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(h<<12&4294967295|
h>>>20);h=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(h<<
5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(h<<11&4294967295|
h>>>21);h=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.H[0]=a.H[0]+b&4294967295;a.H[1]=a.H[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.H[2]=a.H[2]+e&4294967295;a.H[3]=a.H[3]+f&4294967295};
_.vL.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.W,e=this.O,f=0;f<b;){if(0==e)for(;f<=c;)KSc(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){KSc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){KSc(this,d);e=0;break}}this.O=e;this.V+=b};
_.vL.prototype.digest=function(){var a=Array((56>this.O?this.blockSize:2*this.blockSize)-this.O);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.V;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.H[b]>>>d&255;return a};

_.w();

}catch(e){_._DumpException(e)}
try{
var LSc;LSc=[2];_.MSc=function(a){_.O(this,a,-1,LSc,null)};_.L(_.MSc,_.K);_.MSc.prototype.Ab=function(){return _.B(this,1)};_.MSc.prototype.Dc=function(a){return _.A(this,1,a)};_.MSc.prototype.$j=function(){return _.B(this,3)};_.t("sy1le");
var NSc;_.wL=function(a){_.O(this,a,-1,NSc,null)};_.L(_.wL,_.K);_.wL.prototype.O=function(){return _.Md(this,1)};_.wL.prototype.xe=function(){return _.C(this,_.lf,2)};_.OSc=function(a,b){return _.J(a,2,b)};_.wL.prototype.Mi=function(){return _.bk(this,3,20)};_.wL.prototype.xi=function(a){return _.A(this,3,a)};_.wL.prototype.Dm=function(){return _.R(this,4)};_.PSc=function(a,b){return _.A(a,4,b)};NSc=[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
*/
_.QSc=function(a){_.N.call(this);this.O=a;this.H={};this.O.yO((0,_.v)(this.V,this))};_.If(_.QSc,_.N);_.SSc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ie`"+b);if(b in a.H)throw Error("Je`"+b);var c=new RSc(a,b);return a.H[b]=c};_.QSc.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)}};_.QSc.prototype.Xa=function(){_.Ma(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var RSc=function(a,b){_.N.call(this);this.Ng=a;this.H=b};_.If(RSc,_.N);_.g=RSc.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.pTa,this,b),c)};_.g.yO=function(a){this.O=(0,_.v)(this.pTa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Ke");this.Ng.O.send(this.H+":"+a,b)};_.g.pTa=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 TSc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.Mfa);try{delete a[_.Mfa]}catch(b){}},xL=function(a){var b=[],c=[],d={},e=function(f,h){var k=h+"  ";try{if(void 0===f)b.push("undefined");else if(null===f)b.push("NULL");else if("string"===typeof f)b.push('"'+f.replace(/\n/g,"\n"+h)+'"');else if("function"===typeof f)b.push(String(f).replace(/\n/g,"\n"+h));else if(_.Ca(f)){f[_.Mfa]||c.push(f);var l=_.Da(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=
!0;b.push("{");for(var p in f)"function"!==typeof f[p]&&(b.push("\n"),b.push(k),b.push(p+" = "),e(f[p],k));b.push("\n"+h+"}");delete d[l]}}else b.push(f)}catch(q){b.push("*** "+q+" ***")}};e(a,"");for(a=0;a<c.length;a++)TSc(c[a]);return b.join("")};_.t("sy1lu");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.yTc=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=_.ibc;this.H=""};_.t("sy1lv");
_.yTc.prototype.build=function(){var a=new _.uH(this.ma,this.ha?this.ha:_.occ,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,_.obc,1),d=_.C(c,_.mbc,11);d||(d=new _.mbc);_.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&&_.Bbc(a,this.Fa);this.Oa&&(b=this.Oa,a.V||(a.V=new _.lbc),_.Kj(a.V,2,b));this.Ja&&(b=this.Ja,
a.uc=!0,_.Dbc(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.zTc=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)};_.ATc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1lw");
_.BTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.BTc.prototype.sA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.tH(new _.sH,a.kc());b(a);return new _.Oh(function(d){c(d,function(){d()})}.bind(this))};
_.CTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.Cbc(this.O)};_.CTc.prototype.sA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.tH(new _.sH,a.kc());b(a);c()};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.AUc=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(_.AUc,_.Ft);_.g=_.AUc.prototype;_.g.clone=function(){var a=new _.AUc(this.date);a.EG=this.EG;a.rV=this.rV;return a};_.g.add=function(a){(a.W||a.V)&&_.Et.prototype.add.call(this,new _.Dt(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.aw))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Ft.prototype.getUTCFullYear;
_.g.getMonth=_.Ft.prototype.getUTCMonth;_.g.getDate=_.Ft.prototype.getUTCDate;_.g.getHours=_.Ft.prototype.getUTCHours;_.g.getMinutes=_.Ft.prototype.getUTCMinutes;_.g.getSeconds=_.Ft.prototype.e$a;_.g.getMilliseconds=_.Ft.prototype.d$a;_.g.getDay=_.Ft.prototype.getUTCDay;_.g.setFullYear=_.Ft.prototype.setUTCFullYear;_.g.setMonth=_.Ft.prototype.setUTCMonth;_.g.setDate=_.Ft.prototype.setUTCDate;_.g.setHours=_.Ft.prototype.SLa;_.g.setMinutes=_.Ft.prototype.TLa;_.g.setSeconds=_.Ft.prototype.ULa;
_.g.setMilliseconds=_.Ft.prototype.f$a;
var BUc,DUc;BUc={};_.CUc=(BUc[1]="0",BUc[2]="1",BUc[3]="2",BUc);DUc={};_.EUc=(DUc[1]="asc",DUc[2]="desc",DUc);
_.FUc=new _.Io("drive_dataservice_builder");
_.GUc=_.Yg&&0>_.dg(_.ah,"533");
_.HUc=new _.LTc("drive_dataservice_invariants");
_.IUc=new Map([[[1],1],[[6],7],[[2],2]]);_.JUc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.KUc=new Map([[12,function(a){return _.R(a,69)}],[24,function(a){return _.S(a,3,!1)}],[9,function(a){return _.S(a,17,!1)}],[21,function(a){return _.IL(a)}],[13,function(a){return _.R(a,60)}],[2,function(a){return _.S(a,8,!0)}],[6,function(a){return _.S(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.S(a,56,!1)}],[17,function(a){return _.S(a,57,!1)}],[18,function(a){return _.S(a,54,!1)}],[19,function(a){return _.S(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.LUc=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)}]]);_.MUc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.NUc=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]]);_.OUc=new Map([[[2],3],[[1],2],[[0],1]]);_.PUc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.QUc=new Map([[[_.YSc],1],[[_.ZSc],2],[[_.$Sc],3],[[_.aTc],4],[[_.bTc],5],[[_.cTc],6],[[_.dTc],7],[[_.eTc],8],[[_.fTc],10],[[_.gTc],11],[[_.hTc],12],[[_.iTc],13]]);_.RUc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
var WUc;_.QL=function(a){if(a instanceof _.kc)return a;if(_.HL(a)){if(a=_.atb(a))return a}else a="string"===typeof a?_.dEa(a):_.dEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.OL(a,2);_.PL(a,6);return a};_.TUc=function(a){var b=a.nk();a=a.aG();return 15===b||32===b||33===b||401===a};_.UUc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.VUc=function(a){_.O(this,a,-1,null,null)};_.L(_.VUc,_.K);
_.RL=function(a){return _.bk(a,1,0)};_.SL=function(a){return _.C(a,_.VUc,4)};_.OL=function(a,b){return _.A(a,1,b)};_.PL=function(a,b){return _.A(a,2,b)};WUc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.TL=function(a){_.O(this,a,-1,WUc,null)};_.L(_.TL,_.K);_.g=_.TL.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Qe=function(){return _.B(this,3)};
_.g.om=function(a){return _.A(this,3,a)};_.g.Bv=function(a){return _.A(this,4,a)};_.g.Sh=function(){return _.R(this,5)};_.g.Ln=function(a){return _.A(this,5,a)};_.g.getMimeType=function(){return _.B(this,6)};_.g.tE=function(a,b){_.Sj(this,8,a,b)};_.g.Ti=function(){return _.B(this,12)};_.g.xe=function(){return _.C(this,_.lf,17)};_.g.Di=function(){return _.B(this,20)};_.g.Bc=function(){return _.B(this,21)};_.UL=function(a,b){return _.A(a,16,b)};_.t("sy1lc");
_.VL=function(a){_.O(this,a,-1,XUc,null)};_.L(_.VL,_.K);_.VL.prototype.SQ=function(){return _.bk(this,2,100)};_.VL.prototype.JS=function(a){return _.A(this,2,a)};_.VL.prototype.xe=function(){return _.C(this,_.lf,6)};_.VL.prototype.Bc=function(){return _.B(this,8)};var XUc=[5];
var YUc;YUc={};_.ZUc=(YUc[0]="/drive/v2internal",YUc[1]="/drive/v2internal.corp",YUc[2]="/drive/v2internal.scary",YUc[4]="/drive/v2internal.scary",YUc[5]="/drive/v2beta",YUc[6]="/drive/v2.1beta",YUc);
_.$Uc=new Set([0,1,2,3]);
_.aVc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.bVc=_.A(new _.TL,15,!0);_.cVc=_.UL(new _.TL,!0);_.dVc=_.UL(new _.TL,!1);
_.eVc=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");
_.fVc=new Set([7,4,5,9,6,10,11,12]);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.gVc=function(a){for(var b in a)delete a[b]};_.hVc=function(a){a=_.Pf(a);return 0===a.length?_.tha:new _.jg(a,_.rha)};_.iVc=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
*/
_.jVc=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(_.jVc,_.BSc);_.jVc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.jVc.prototype.update=function(a,b){this.H.update(a,b)};
_.jVc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.kVc=function(a,b){a.reset();a.update(b);return a.digest()};
_.lVc=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(_.lVc,_.BSc);_.lVc.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 mVc=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};
_.lVc.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;)mVc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){mVc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){mVc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.lVc.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;mVc(this,this.ha);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.H[c]>>d&255,++b;return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.WL=function(a,b){return _.A(a,82,b)};_.XL=function(a){return _.A(a,3,!0)};_.nVc=function(a,b){return _.A(a,7,b)};_.t("sy1l9");
_.oVc=new Map([[1,6],[2,6],[3,6],[9,6],[4,2],[8,2],[6,7],[7,8]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.YL={H_:"Versions",g7:"Metadata",W5:"Data",rU:"Offline"};_.pVc=new Map([[_.YL.H_,"versionKey"],[_.YL.g7,"k"]]);_.qVc=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var uVc;_.rVc=function(a){var b={};_.Ma(a,function(c,d){b[d.toLowerCase()]=c});return b};_.sVc=function(a){return(a=a&&_.rVc(a))&&a["x-guploader-uploadid"]};_.tVc=function(a){return(a=a&&_.rVc(a))&&a["x-google-trace"]};uVc=[6];_.ZL=function(a){_.O(this,a,-1,uVc,null)};_.L(_.ZL,_.K);_.$L=function(a,b){return _.A(a,14,b)};_.t("sy1m0");
var vVc,xVc;
_.wVc=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=vVc(e)||new _.kc;_.A(e,8,!0);k&&(k=_.fj(new _.bj(k),void 0).toString(),_.A(e,19,k));e.aG()||_.A(e,15,a||f);e.getMessage()||_.$p(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.B(e,4)||_.aq(e,d);e.nk()||(5===f?_.$L(e,7):0!==a||d?403===a?_.$L(e,22):503===a||429===a?_.$L(e,24):(_.Lj(e,14),_.A(e,10,1),_.A(e,8,!0)):l||_.$L(e,2));e.Zca(_.sVc(c));e.Pca(_.tVc(c));
return e};vVc=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=xVc[c];d?_.A(b,10,d):c&&!d&&_.A(b,10,2);(a=a.debugInfo)&&_.aq(b,a);return b};
xVc={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{
_.yVc=function(a,b){return _.A(a,1,b)};_.zVc=function(a,b){return _.J(a,1,b)};_.AVc=function(a,b){return _.A(a,2,b)};_.BVc=function(a,b){return _.J(a,3,b)};_.t("sy1m1");

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.q1c=function(a){return _.me(a).Lg(_.S(a.get(_.$o),19,!1)?p1c:_.ke)};_.t("sy1mf");
var p1c=[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 r1c,s1c,t1c,u1c,v1c,w1c,x1c,y1c,z1c,A1c,C1c,D1c,E1c,F1c,G1c,ZN,L1c,M1c,$N,aO,N1c,O1c,Q1c,R1c,S1c,U1c,V1c,W1c,X1c,Y1c,Z1c,$1c,b2c,d2c,j2c,l2c,o2c,p2c,s2c,v2c,hO,w2c,x2c,y2c,z2c,A2c,B2c,C2c,E2c,F2c,G2c,H2c,K2c,J2c,N2c,P2c,R2c,T2c,X2c,Z2c,$2c,a3c,b3c,c3c,d3c,h3c,j3c,k3c,l3c,m3c,n3c,I1c,bO,H1c,J1c,K1c,E4c,F4c,mO,I4c,T4c,W4c,X4c,Y4c,a5c,I2c,oO,x5c,y5c,z5c,A5c,C5c,D5c,E5c,F5c,pO,G5c,H5c,I5c,J5c,K5c,L5c,M5c,N5c,O5c,P5c,Q5c,R5c,S5c,qO,V5c,W5c,X5c,D2c,Y5c,Z5c,$5c,V6c,W6c,Y6c,Z6c,d7c,r7c,s7c,z7c,J7c,a8c,
g8c,n8c,p8c,u8c,A8c,T8c,U8c,X8c,Z8c,i9c,u9c,w9c,x9c,D9c,E9c,W2c,F9c,A$c,g2c,B$c,E$c,Kdd,Ldd,Mdd,Ndd,Odd,Pdd,Qdd,Rdd,Sdd,Tdd;r1c=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("; ")};
s1c=function(a){var b=[];b.push(r1c(a.request));if(a.file){var c=[];c.push("Size: "+a.file.size);a.file.type&&c.push("Type: "+a.file.type);a.file.lastModifiedDate&&c.push("Last modified: "+a.file.lastModifiedDate);b.push("File: "+c.join("; "))}a.Bu&&b.push("# of retries by client: "+a.Bu);var d="";a.LM?a.Bg.dg()?a.Bg.Tf(function(){d="Completed successfully."},function(e){d=e instanceof _.Xh?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
t1c=function(a,b,c,d,e,f){var h=_.tt("Drive Upload Report: %d/%d failed",_.Ra(f),_.Ra(e));a=a.$f();d.push("Batch query interval: "+_.bk(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.bk(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.bk(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.bk(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.bk(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ma(e,function(p){l.push(s1c(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.lYc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.tt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.fj()||"");var u=p.Pg;u=u?_.B(u,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+u})});return{title:h,description:d,bQ:k,yd:152391,i9:c,z0:361003}};u1c=function(a){return Array.prototype.concat.apply([],arguments)};v1c=function(a,b,c){c=_.Ha(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
w1c=function(a){return String.fromCharCode(10>a?48+a:87+a)};x1c=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]=w1c(d>>4);b[2*c+3]=w1c(d&15)}return b.join("")};y1c=function(a){var b=new _.Po;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.dM(a,!0,"file"));a.s7&&(b.append(",teamDriveId,teamDrive("),b.append(a.s7),b.append(")"));b.append(")");return b.toString()};
z1c=function(a){var b=new _.Po;b.append("kind,nextPageToken,items(");b.append(_.dM(a,!0));b.append("),incompleteSearch");a.s7&&(b.append(","),b.append(a.s7));return b.toString()};
A1c=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.C(d,_.YM,138),k=_.C(d,_.Vk,111),l=_.C(d,_.ZM,27),p=_.dl(d),q=d.Pf(),r=d.hh(),u=_.C(d,_.aN,103);switch(e){case 227:_.Lj(d,144);break;case 228:_.Lj(d,145);break;case 74:_.Oj(d,83);break;case 188:_.Lj(d,137);break;case 149:_.MH(d,128);break;case 148:_.Oj(d,127);break;case 138:_.Lj(d,126);break;case 184:_.MH(d,135);break;case 76:f&&_.Lj(f,1);break;case 223:f&&_.Lj(f,54);break;case 208:f&&_.Lj(f,48);break;case 185:f&&
_.Lj(f,40);break;case 224:f&&_.Lj(f,55);break;case 213:f&&_.Lj(f,50);break;case 156:f&&_.Lj(f,39);break;case 61:f&&_.Lj(f,2);break;case 216:f&&_.Lj(f,52);break;case 217:f&&_.Lj(f,53);break;case 77:f&&_.Lj(f,4);break;case 134:f&&_.Lj(f,34);break;case 147:f&&_.Lj(f,38);break;case 81:f&&_.Lj(f,10);break;case 82:f&&_.Lj(f,11);break;case 114:f&&_.Lj(f,27);break;case 133:f&&_.Lj(f,33);break;case 202:f&&_.Lj(f,47);break;case 132:f&&_.Lj(f,32);break;case 101:f&&_.Lj(f,20);break;case 201:f&&_.Lj(f,46);break;
case 131:f&&_.Lj(f,31);break;case 200:f&&_.Lj(f,45);break;case 130:f&&_.Lj(f,30);break;case 93:f&&_.Lj(f,17);break;case 191:f&&_.Lj(f,44);break;case 146:f&&_.Lj(f,37);break;case 90:f&&_.Lj(f,16);break;case 78:f&&_.Lj(f,7);break;case 186:f&&_.Lj(f,41);break;case 222:f&&_.Lj(f,51);break;case 85:f&&_.Lj(f,12);break;case 137:f&&_.Lj(f,36);break;case 209:f&&_.Lj(f,49);break;case 79:f&&_.Lj(f,8);break;case 189:f&&_.Lj(f,42);break;case 190:f&&_.Lj(f,43);break;case 80:f&&_.Lj(f,9);break;case 135:f&&_.Lj(f,
35);break;case 102:f&&_.Lj(f,21);break;case 69:_.Lj(d,74);break;case 194:h&&_.Mj(h,2);break;case 193:h&&_.Lj(h,1);break;case 1004:_.Lj(d,108);break;case 136:_.Oj(d,125);break;case 115:k&&_.Lj(k,1);break;case 116:k&&_.Lj(k,2);break;case 34:_.Lj(d,30);f&&_.Lj(f,3);break;case 9:_.Lj(d,10);break;case 91:_.Mj(d,91);break;case 43:_.Lj(d,42);_.Lj(d,43);break;case 187:_.Lj(d,136);break;case 26:_.Lj(d,24);break;case 108:_.MH(d,104);break;case 41:_.Lj(d,40);f&&_.Lj(f,5);break;case 42:_.Lj(d,41);break;case 1005:_.Oj(d,
117);break;case 59:f&&_.Lj(f,6);break;case 28:_.Lj(d,26);break;case 44:_.Lj(d,45);break;case 13:_.Lj(d,14);break;case 48:_.Lj(d,36);break;case 38:_.Lj(d,34);break;case 49:_.MH(d,50);break;case 51:_.Lj(d,53);break;case 104:_.Lj(d,102);break;case 39:_.Lj(d,35);break;case 87:_.Lj(d,76);break;case 100:_.Lj(d,98);break;case 72:_.Lj(d,78);break;case 5:_.Lj(d,6);break;case 20:_.Lj(d,21);break;case 21:break;case 29:l&&_.Lj(l,1);break;case 31:l&&_.Lj(l,3);break;case 92:l&&_.Lj(l,4);break;case 30:l&&_.Lj(l,
2);break;case 16:_.Mj(d,17);break;case 12:_.Lj(d,13);break;case 211:p&&_.Lj(p,2);break;case 212:p&&_.Lj(p,3);break;case 220:p&&_.Lj(p,5);break;case 157:r&&_.Oj(r,8);break;case 3:_.Lj(d,4);break;case 11:_.Lj(d,12);break;case 10:_.Lj(d,11);break;case 50:_.Lj(d,49);_.Lj(d,51);_.Mj(d,81);break;case 18:_.Lj(d,19);break;case 95:_.Lj(d,93);break;case 58:_.Lj(d,63);break;case 14:_.Oj(d,15);break;case 103:_.Lj(d,101);break;case 1:_.MH(d,2);break;case 96:_.Lj(d,94);break;case 1003:_.Oj(d,107);break;case 75:_.Mj(d,
85);break;case 94:_.Lj(d,92);break;case 45:_.Lj(d,46);break;case 124:_.Lj(d,118);break;case 125:_.Lj(d,119);break;case 1002:_.Mj(d,100);break;case 32:_.Lj(d,28);break;case 67:_.Lj(d,70);break;case 68:_.Lj(d,71);break;case 73:_.Lj(d,79);break;case 71:_.Lj(d,77);break;case 221:r&&_.Lj(r,9);break;case 210:_.Lj(d,140);break;case 7:_.Lj(d,8);break;case 122:_.Mj(d,109);break;case 66:_.Lj(d,69);break;case 33:_.Lj(d,29);break;case 24:_.Lj(d,22);break;case 25:_.Lj(d,23);break;case 46:_.Mj(d,47);break;case 192:q&&
_.Lj(q,6);break;case 159:q&&_.Mj(q,5);break;case 154:q&&_.Lj(q,1);break;case 158:q&&_.Lj(q,4);break;case 155:q&&_.Lj(q,3);break;case 52:_.MH(d,56);break;case 56:_.Lj(d,61);break;case 55:_.Oj(d,60);break;case 4:_.Lj(d,5);break;case 35:_.Lj(d,31);break;case 57:_.Lj(d,62);break;case 83:_.Lj(d,72);break;case 84:_.Mj(d,86);break;case 19:_.Lj(d,20);_.Lj(d,44);_.Lj(d,90);break;case 2:_.Lj(d,3);break;case 6:_.Lj(d,7);break;case 98:_.Lj(d,96);break;case 97:_.Mj(d,95);break;case 27:_.Lj(d,25);break;case 70:_.Lj(d,
75);break;case 107:u&&_.Lj(u,3);break;case 106:u&&_.Lj(u,2);break;case 105:u&&_.Lj(u,1);break;case 8:_.Lj(d,9);break;case 126:_.MH(d,120);break;default:throw Error("Lc`"+e);}}};C1c=function(a,b){if(0!=a.length){var c=new Set([].concat(_.jd(a),_.jd(B1c)));a=[].concat(_.jd(_.wbb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)A1c(b[d],a)}};
D1c=function(a,b){var c=a.getCapabilities()||new _.Tk,d=_.C(a,_.YM,138),e=_.C(a,_.Vk,111),f=_.C(a,_.ZM,27),h=_.dl(a),k=a.Pf(),l=a.hh(),p=_.C(a,_.aN,103);switch(b){case 227:return null!=_.R(a,144);case 228:return null!=_.B(a,145);case 74:return 0<a.$t().length;case 188:return null!=_.R(a,137);case 149:return 0<_.Md(a,128).length;case 148:return 0<a.ka().length;case 138:return null!=a.V();case 184:return 0<_.Md(a,135).length;case 76:return null!=_.Uk(c);case 223:return null!=_.R(c,54);case 208:return null!=
_.R(c,48);case 185:return null!=_.R(c,40);case 224:return null!=_.R(c,55);case 213:return null!=_.R(c,50);case 156:return null!=_.R(c,39);case 61:return null!=_.R(c,2);case 216:return null!=_.R(c,52);case 217:return null!=_.R(c,53);case 77:return null!=_.R(c,4);case 134:return null!=_.R(c,34);case 147:return null!=_.R(c,38);case 81:return null!=_.R(c,10);case 82:return null!=_.R(c,11);case 114:return null!=_.R(c,27);case 133:return null!=_.R(c,33);case 202:return null!=_.R(c,47);case 132:return null!=
_.R(c,32);case 101:return null!=_.R(c,20);case 201:return null!=_.R(c,46);case 131:return null!=_.R(c,31);case 200:return null!=_.R(c,45);case 130:return null!=_.R(c,30);case 93:return null!=_.R(c,17);case 191:return null!=_.R(c,44);case 146:return null!=_.R(c,37);case 90:return null!=_.he(c);case 78:return null!=_.R(c,7);case 186:return null!=_.R(c,41);case 222:return null!=_.R(c,51);case 85:return null!=_.R(c,12);case 137:return null!=_.R(c,36);case 209:return null!=_.R(c,49);case 79:return null!=
_.R(c,8);case 189:return null!=_.R(c,42);case 190:return null!=_.R(c,43);case 80:return null!=_.R(c,9);case 135:return null!=_.R(c,35);case 102:return null!=_.R(c,21);case 69:return null!=_.R(a,74);case 194:return null!=d&&null!=_.C(d,_.SWc,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.TC();
case 91:return null!=a.Mq();case 43:return null!=_.B(a,42)||null!=_.B(a,43);case 187:return null!=_.B(a,136);case 26:return null!=a.Qe();case 108:return 0<_.Md(a,104).length;case 41:return null!=_.R(c,5);case 42:return null!=_.B(a,41);case 1005:return 0<_.cl(a).length;case 59:return null!=_.R(c,6);case 28:return null!=a.NI();case 44:return null!=_.B(a,45);case 13:return null!=a.UF();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.ika();case 87:return null!=_.$k(a);case 100:return null!=_.R(a,98);case 72:return null!=_.B(a,78);case 5:return null!=a.Dm();case 20:return null!=a.$e();case 21:return null!=a.getId();case 29:return!(!f||null==_.B(f,1));case 31:return!(!f||null==_.B(f,3));case 92:return!(!f||null==_.B(f,4));case 30:return!(!f||null==f.Ne());case 16:return null!=a.zm();case 12:return null!=a.dz();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.fB();case 10:return null!=a.Bq();case 50:return null!=_.R(a,49)||null!=_.R(a,51)||null!=a.Pm();case 18:return null!=a.Qq();case 14:return 0<_.Zk(a).length;case 95:return null!=a.jn();case 58:return null!=_.R(a,63);case 103:return null!=_.B(a,101);case 1:return 0<a.mk().length;case 96:return null!=_.R(a,94);case 1003:return 0<_.bl(a).length;case 75:return null!=
a.Vw();case 94:return null!=a.mN();case 45:return null!=a.mw();case 124:return null!=_.R(a,118);case 125:return null!=_.B(a,119);case 1002:return null!=_.al(a);case 32:return null!=a.Ou();case 67:return null!=a.WJ();case 68:return null!=_.B(a,71);case 73:return null!=_.B(a,79);case 71:return null!=a.U1();case 221:return null!=l&&null!=_.R(l,9);case 210:return null!=_.el(a);case 7:return null!=a.c7();case 122:return null!=_.YN(a);case 66:return null!=_.B(a,69);case 33:return null!=_.R(a,29);case 24:return null!=
a.Gj();case 25:return null!=a.oy();case 46:return null!=a.Rv();case 192:return null!=k&&null!=_.R(k,6);case 159:return null!=k&&null!=_.Qd(k);case 154:return null!=k&&null!=_.B(k,1);case 158:return null!=k&&null!=_.Sd(k);case 155:return null!=k&&null!=_.B(k,3);case 52:return 0<_.Md(a,56).length;case 55:return 0<a.nB().length;case 56:return null!=_.B(a,61);case 4:return null!=a.QA();case 35:return null!=_.R(a,31);case 57:return null!=_.B(a,62);case 83:return null!=a.Bc();case 84:return null!=_.C(a,
_.$M,86);case 2:return null!=a.getTitle();case 19:return null!=a.Px()||null!=_.R(a,44)||null!=_.B(a,90);case 6:return null!=a.Sh();case 98:return null!=a.Sv();case 97:return null!=a.hD();case 27:return null!=a.hp();case 70:return null!=a.Di();case 107:return null!=p&&null!=_.B(p,3);case 106:return null!=p&&null!=_.B(p,2);case 105:return null!=p&&null!=p.Ne();case 8:return null!=_.R(a,9);case 126:return 0<_.Md(a,120).length;default:throw Error("Mc`"+b);}};
E1c=function(a,b){return b.every(function(c){return D1c(a,c)})};F1c=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)})};G1c=function(a,b){var c=new Set(b.concat(_.HVc));return a.filter(function(d){return!c.has(d)})};
ZN=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(D1c(b,e))if(_.Abb.has(e)){if(d){var f=a.getCapabilities()||new _.Tk;_.cN(a,f);switch(e){case 76:_.wWc(f,_.Uk(d));break;case 223:var h=_.R(d,54);_.A(f,54,h);break;case 208:_.RWc(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:_.xWc(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:_.DWc(f,_.R(d,10));break;case 82:_.EWc(f,_.R(d,11));break;case 114:var H=_.R(d,27);_.A(f,27,H);break;case 133:_.MWc(f,_.R(d,33));break;case 202:_.QWc(f,_.R(d,47));_.LWc(f,_.R(d,32));break;case 132:_.LWc(f,_.R(d,32));break;case 101:_.IWc(f,_.R(d,20));break;case 201:_.PWc(f,_.R(d,46));break;case 131:_.KWc(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:_.HWc(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:_.GWc(f,_.he(d));break;case 78:_.AWc(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:_.FWc(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:_.BWc(f,
_.R(d,8));break;case 189:_.NWc(f,_.R(d,42));break;case 190:_.OWc(f,_.R(d,43));break;case 80:_.CWc(f,_.R(d,9));break;case 135:var ua=_.R(d,35);_.A(f,35,ua);break;case 102:_.JWc(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);_.yWc(f,_.R(d,5));break;case 59:_.zWc(f,_.R(d,6))}}}else if(_.Bbb.has(e)){var dc=_.C(b,_.YM,138);if(dc){var pb=_.C(a,_.YM,138)||new _.YM;_.J(a,138,pb);switch(e){case 194:var Zb=_.C(dc,_.SWc,2);_.J(pb,
2,Zb);break;case 193:var Jc=_.B(dc,1);_.A(pb,1,Jc)}}}else if(_.Cbb.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:_.TWc(oe,_.R(ne,1));break;case 116:_.UWc(oe,_.B(ne,2))}}}else if(_.Dbb.has(e)){var Id=_.C(b,_.ZM,27);if(Id){var ff=_.C(a,_.ZM,27)||new _.ZM;_.J(a,27,ff);switch(e){case 29:var Dc=_.B(Id,1);_.A(ff,1,Dc);break;case 31:ff.uh(_.B(Id,3));break;case 92:var Bb=_.B(Id,4);_.A(ff,4,Bb);break;case 30:ff.wh(Id.Ne())}}}else if(_.Ebb.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(_.Fbb.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(_.Gbb.has(e)){var aj=b.hh();switch(e){case 157:if(aj){var Ml=a.hh()||new _.Ona;H1c(a,Ml);I1c(Ml,_.Uj(aj,_.Xk,8))}break;case 221:if(aj){var ik=a.hh()||new _.Ona;H1c(a,ik);var Qj=_.R(aj,9);_.A(ik,9,Qj)}}}else if(_.Hbb.has(e)){var fh=_.C(b,_.aN,103);if(fh){var gl=_.C(a,_.aN,103)||new _.aN;_.J(a,103,gl);switch(e){case 107:var hl=_.B(fh,3);_.A(gl,3,hl);break;case 106:gl.uh(_.B(fh,2));break;case 105:gl.wh(fh.Ne())}}}else switch(e){case 227:var Gg=_.R(b,144);_.A(a,144,Gg);break;case 228:var il=
_.B(b,145);_.A(a,145,il);break;case 74:var jm=b.$t();_.Nj(a,83,jm);break;case 188:var jl=_.R(b,137);_.A(a,137,jl);break;case 149:var Wh=_.Md(b,128);_.Kj(a,128,Wh);break;case 148:var Dj=b.ka();_.Nj(a,127,Dj);break;case 138:var oj=b.V();_.A(a,126,oj);break;case 184:var pj=_.Md(b,135);_.Kj(a,135,pj);break;case 69:var Rj=_.R(b,74);_.A(a,74,Rj);break;case 1004:var Jh=_.R(b,108);_.A(a,108,Jh);break;case 136:var Nl=b.O();_.Nj(a,125,Nl);break;case 9:var qj=b.TC();_.A(a,10,qj);break;case 91:var jk=b.Mq();
_.J(a,91,jk);break;case 43:var km=_.B(b,42);_.A(a,42,km);var kl=_.B(b,43);_.A(a,43,kl);break;case 187:_.lXc(a,_.B(b,136));break;case 26:a.om(b.Qe());break;case 108:var Im=_.Md(b,104);_.Kj(a,104,Im);break;case 42:var kk=_.B(b,41);_.A(a,41,kk);break;case 1005:var Kk=_.cl(b);_.Nj(a,117,Kk);break;case 28:_.cXc(a,b.NI());break;case 44:var uf=_.B(b,45);_.A(a,45,uf);break;case 13:var Bi=b.UF();_.A(a,14,Bi);break;case 48:var lk=_.R(b,36);_.A(a,36,lk);break;case 38:_.eXc(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.ika();_.A(a,35,mk);break;case 87:var Mi=_.$k(b);_.A(a,76,Mi);break;case 100:var Ln=_.R(b,98);_.A(a,98,Ln);break;case 72:var nk=_.B(b,78);_.A(a,78,nk);break;case 5:var xh=b.Dm();_.A(a,6,xh);break;case 20:var Qg=b.$e();_.A(a,21,Qg);break;case 21:a.Pb(b.getId());break;case 16:_.aXc(a,b.zm());break;case 12:var Mk=b.dz();_.A(a,13,Mk);break;case 3:_.PF(a,b.getMimeType());break;
case 11:var ll=b.fB();_.A(a,12,ll);break;case 10:_.OTb(a,b.Bq());break;case 50:var Qh=_.R(b,49);_.A(a,49,Qh);var Ni=_.R(b,51);_.A(a,51,Ni);var jn=b.Pm();_.J(a,81,jn);break;case 95:_.kXc(a,b.jn());break;case 18:_.bXc(a,b.Qq());break;case 58:var pi=_.R(b,63);_.A(a,63,pi);break;case 14:_.$Wc(a,_.Zk(b));break;case 1:_.bN(a,b.mk());break;case 96:var ml=_.R(b,94);_.A(a,94,ml);break;case 103:var Mn=_.B(b,101);_.A(a,101,Mn);break;case 1003:J1c(a,_.bl(b));break;case 75:_.iXc(a,b.Vw());break;case 94:_.jXc(a,
b.mN());break;case 45:var kn=b.mw();_.A(a,46,kn);break;case 124:var Jm=_.R(b,118);_.A(a,118,Jm);break;case 125:var Nn=_.B(b,119);_.A(a,119,Nn);break;case 1002:var Ol=_.al(b);_.J(a,100,Ol);break;case 32:var Km=b.Ou();_.A(a,28,Km);break;case 67:var ln=b.WJ();_.A(a,70,ln);break;case 68:var On=_.B(b,71);_.A(a,71,On);break;case 73:var xk=_.B(b,79);_.A(a,79,xk);break;case 71:var To=b.U1();_.A(a,77,To);break;case 210:var Fp=_.el(b);_.A(a,140,Fp);break;case 7:_.ZWc(a,b.c7());break;case 122:K1c(a,_.YN(b));
break;case 66:var Gp=_.B(b,69);_.A(a,69,Gp);break;case 33:var Js=_.R(b,29);_.A(a,29,Js);break;case 24:var Pw=b.Gj();_.A(a,22,Pw);break;case 25:var Ks=b.oy();_.A(a,23,Ks);break;case 46:var Yn=b.Rv();_.J(a,47,Yn);break;case 52:var Iq=_.Md(b,56);_.Kj(a,56,Iq);break;case 56:var Ut=_.B(b,61);_.A(a,61,Ut);break;case 55:a.uA(b.nB());break;case 4:a.Bv(b.QA());break;case 35:_.dXc(a,_.R(b,31));break;case 57:var $C=_.B(b,62);_.A(a,62,$C);break;case 83:_.hXc(a,b.Bc());break;case 84:var DA=_.C(b,_.$M,86);_.J(a,
86,DA);break;case 98:a.fda(b.Sv());break;case 97:var aD=b.hD();_.J(a,95,aD);break;case 19:var Vt=b.Px();_.A(a,20,Vt);_.fXc(a,_.R(b,44));var Tw=_.B(b,90);_.A(a,90,Tw);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Ln(b.Sh());break;case 27:_.PTb(a,b.hp());break;case 70:var Uw=b.Di();_.A(a,75,Uw);break;case 8:var Vw=_.R(b,9);_.A(a,9,Vw);break;case 126:var oJ=_.Md(b,120);_.Kj(a,120,oJ);break;default:throw Error("Nc`"+e);}})};
L1c=function(a,b){var c=_.Ty[a];return b.filter(function(d){return!c||!c.has(d)})};M1c=function(a,b,c){a=L1c(c,a);return F1c(b,a,_.HVc)};$N=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};aO=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&$N(a)?(a=a.Pf(),!!a&&"application/vnd.google-apps.folder"===_.B(a,3)):"application/vnd.google-apps.folder"===c};N1c=function(a){var b=a&&a.getId()||null;a&&$N(a)&&(a=(a=a.Pf())&&_.B(a,1))&&(b=a);return b};
O1c=function(a){return!!_.R(a,31)&&!_.R(a,94)};Q1c=function(a){return P1c.some(function(b){return D1c(a,b)})};R1c=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(bO(b))})};S1c=function(a){return R1c(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.T1c=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};U1c=function(a,b){var c=_.rVc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};
V1c=function(a,b){return 0<=b?!a||a<=b:!0};W1c=function(a,b){if(b){var c=[];_.R(b,3)&&c.push("folder");var d=_.kSc()&&4===b.getType()?"title_natural":_.wUc[b.getType()];b=_.yUc[b.zf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};X1c=function(a,b){var c=a.Pm();c||(c=new _.Ina,b&&_.J(a,81,c));return c};Y1c=function(a){if(aO(a))_.XN(X1c(a,!0),!0);else if(aO(a,!0)){var b=a.Pf();if(b=b&&_.Qd(b))_.XN(X1c(b,!0),!0),_.XN(X1c(a,!0),!0)}};Z1c=function(a){return!!a.Pm()&&!aO(a)};
$1c=function(a){var b=[];_.Ka(a,function(c){if(3!=bO(c)){var d=c;if(null!=_.R(d,49)||null!=_.R(d,51)||null!=d.Pm())c=c.clone(),_.Lj(c,49),_.Lj(c,51),_.Mj(c,81);b.push(c)}});return b};b2c=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.K?a[b]=c.kc():c&&c instanceof _.wN?a[b]=c.kc(function(d){return d?d.kc():null}):c&&c instanceof a2c&&(a[b]=c.kc())}};d2c=function(a){var b=a.slice(0),c=new Set(b);c2c.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
j2c=function(a,b,c){var d=_.C(a,e2c,66);if(d){var e=_.B(d,1),f=_.iN(a);a=_.RL(_.DL(a));e=new _.bj(e);var h=new _.bj(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.sj(k,3);_.ij(e,"co",h);h=e.Me();!f&&0<a&&(h+="u/"+a+"/");e.yi(h+"_/dataservice/cacheproxy");f=_.B(d,5)||"";if(_.iVc(window.location.href,e.toString())&&f)return e=d2c(c),c=_.B(d,6),b="#"+b+"_",d=new _.vL,d.update(e.join(",")),b+=_.GSc(d.digest()),c&&(b+="&jobset="+c),b=_.by(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.zga(b),
void 0),b=new f2c(c.port),c.port.start()):b=new f2c(new Worker(_.zga(b),void 0)),new g2c(new cO(b,!1,!0),1,f,e);c=e.toString();b="cpiframe_"+_.oL();c=_.rh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.sha(_.hVc(_.Qf("display: none;")));document.body.appendChild(c);c=_.CSc(e.O,void 0,e.H,e.W).toString();return new g2c(new cO(h2c(window.frames[b],c),!1,!0),0,e.toString())}b=new i2c;return new g2c(new cO(b.O,!1,!1),2,"inline",c,new cO(b.H,!1,!1))};
l2c=function(a){var b=new k2c;if(a instanceof _.eM)_.Wj(b,16,eO[0],a);else if(a instanceof _.fM)_.Wj(b,1,eO[0],a);else if(a instanceof _.gM)_.Wj(b,2,eO[0],a);else if(a instanceof _.fO)_.Wj(b,17,eO[0],a);else if(a instanceof _.jM)_.Wj(b,3,eO[0],a);else if(a instanceof _.GN)_.Wj(b,4,eO[0],a);else if(a instanceof _.hM)_.Wj(b,5,eO[0],a);else if(a instanceof _.nM)_.Wj(b,6,eO[0],a);else if(a instanceof _.pM)_.Wj(b,7,eO[0],a);else if(a instanceof _.qM)_.Wj(b,8,eO[0],a);else if(a instanceof _.tM)_.Wj(b,9,
eO[0],a);else if(a instanceof _.JM)_.Wj(b,10,eO[0],a);else if(a instanceof _.KM)_.Wj(b,11,eO[0],a);else if(a instanceof _.LM)_.Wj(b,12,eO[0],a);else if(a instanceof _.TL)_.Wj(b,13,eO[0],a);else if(a instanceof _.OM)_.Wj(b,14,eO[0],a);else if(a instanceof _.PM)_.Wj(b,15,eO[0],a);else throw new _.lc("Unsupported request type");return b};
o2c=function(a){a=a.map(function(c){var d=new m2c;if(c instanceof _.eM)_.Wj(d,6,gO[0],c);else if(c instanceof _.fO)_.Wj(d,7,gO[0],c);else if(c instanceof _.nM)_.Wj(d,1,gO[0],c);else if(c instanceof _.JM)_.Wj(d,2,gO[0],c);else if(c instanceof _.KM)_.Wj(d,3,gO[0],c);else if(c instanceof _.TL)_.Wj(d,4,gO[0],c);else if(c instanceof _.PM)_.Wj(d,5,gO[0],c);else throw new _.lc("Unsupported request type");return d});var b=new n2c;_.Nj(b,1,a);return b};
p2c=function(a){return _.Uj(a,m2c,1).map(function(b){return _.C(b,_.eM,6)||_.C(b,_.nM,1)||_.C(b,_.JM,2)||_.C(b,_.KM,3)||_.C(b,_.TL,4)||_.C(b,_.PM,5)||_.C(b,_.fO,7)})};s2c=function(a){var b=new q2c;if(a instanceof _.jD)_.Wj(b,1,r2c[0],a);else if(a instanceof _.kD)_.Wj(b,2,r2c[0],a);else throw new _.lc("Unsupported request type");return b};
v2c=function(a){var b=new t2c;if(a instanceof _.kM)_.Wj(b,1,u2c[0],a);else if(a instanceof _.rM)_.Wj(b,2,u2c[0],a);else if(a instanceof _.QM)_.Wj(b,3,u2c[0],a);else throw new _.lc("Unsupported request type");return b};hO=function(a,b,c){return b?new c(JSON.parse(a)):a};w2c=function(a){a={t:a.title,d:a.description,c:a.yd,fi:a.i9,dti:a.z0,a:a.bQ?a.bQ.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.T8})}):void 0};return JSON.stringify(a)};
x2c=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,yd:a.c,i9:a.fi,z0:a.dti,bQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,T8:b.ec}}):void 0}};y2c=function(a,b,c){a=a?1:2;a=_.$c(_.Zc(new _.Yc,12),a);var d=(new _.Ye).Ln(!0);d=_.A(d,17,!0);a=_.Ze(d,a);c&&_.Hl(a,c);c=new _.uUc;b&&_.yVc(c,b);return _.zVc(_.BVc(new _.JL,a),c)};z2c=function(a){return a.map(function(b){return b.getItem()})};
A2c=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};B2c=function(a,b){var c=new _.bj(_.E(b,16,"")+"/open"),d=a.getId();$N(a)&&(d=N1c(a));_.ij(c,"id",d);_.ij(c,"authuser",_.RL(_.DL(b)));_.S(b,89,!1)&&_.P(a,140)&&_.ij(c,"resourcekey",_.el(a));return c.toString()};
C2c=function(a){_.Hf("drive.DebugUtil.printFindById",function(c){a.PM(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.Hf("drive.DebugUtil.getLogs",function(){return _.lYc(a.Sf())});_.Hf("drive.DebugUtil.printLogs",function(){window.console.log(_.lYc(a.Sf()))});_.Hf("drive.DebugUtil.printRequestHistory",function(){a.bR().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)}))};E2c=function(a,b){var c=new _.VN,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.k1c.get(bO(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}D2c(c,[].concat(_.jd(d)));return c};
F2c=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={gfa:c.gfa},d=a.next())if(d=d.value){c.gfa=new Map;[].concat(_.jd(_.Zk(d)),[d.zm(),d.Rv(),d.Mq()]).forEach(function(p){return function(q){q&&p.gfa.set(_.VF(q),q)}}(c));for(var e=[],f=_.m(c.gfa.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(_.VF(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Gj(h,16,0))}b.push(d.getId()+","+bO(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};G2c=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=_.vSc(4).setItem(f),c[e]=d):(d=_.vSc(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=_.vSc(1).setItem(d),c[e]=d)});return c};H2c=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(G2c(a,b))};
K2c=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.lf;_.mf(b,305);_.nf(b,!0);_.A(b,3,2);var c=new _.iD;_.J(c,1,b);I2c(c,[7]);a=a.then(function(d){return d.Te(c)}).then(J2c);return _.$h(a)};J2c=function(a){a=_.Uj(a,_.hp,3);var b=new L2c;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};
N2c=function(a,b){var c=M2c(a.xm,b.Cc());if(c){var d=c.getItem(),e=d.Vw();if(e){var f=e.hR(),h=_.wa(f,function(k){return k.getId()===_.B(b,2)});_.WWc(e,f);h||(f=_.Uj(e,_.Fk,3),_.wa(f,function(k){return k.getId()===_.B(b,2)}),_.XWc(e,f));_.VWc(e,(_.B(e,1)||1)-1);a.ol([d],c.H)}}};
P2c=function(a,b,c){if(b=M2c(a.xm,b.Cc())){var d=b.getItem(),e=d.Vw();if(e){if(1===c.getType()||2===c.getType()){var f=_.Uj(e,_.Fk,3);f.push(c);_.Ia(f,O2c);_.XWc(e,f)}else f=e.hR(),f.push(c),_.Ia(f,O2c),_.WWc(e,f);_.VWc(e,(_.B(e,1)||0)+1);a.ol([d],b.H)}}};R2c=function(a){return a.map(function(b){var c=new _.Vsb;c=_.A(c,3,Q2c[b.serviceName]);return _.A(c,2,Number(b.bytesUsed))})};
T2c=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return S2c.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
X2c=function(a){var b=a.json.exportJob,c=U2c[b.status]||0,d=Number(a.json.percentDone),e=b.items?b.items.length:0;a=a.json.numFetchedFiles||0;var f=0,h=0,k=_.We(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.We(b.failedItemInfos||[],function(l){var p=_.PF((new _.Yk).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.V2c).setItem(p);p=_.A(p,3,l.relativePath);return _.A(p,4,l.cause)});return new W2c(c,d,k,f,h,e,a,b)};
Z2c=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=Y2c[a]);return b};$2c=function(a){for(var b=[],c=0;c<a.length;c++)b.push(Y2c[a[c]]);return b};a3c=function(a){return"kind,defaultAppIds,items("+a+")"};b3c=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};c3c=function(a,b){var c;return(null===(c=_.SL(b))||void 0===c?0:_.S(c,16,!1))?a+",individual_quota_bytes_total,individual_quota_bytes_used_aggregate":a};
d3c=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
h3c=function(a,b){_.A(b,75,1<_.n.devicePixelRatio);var c=_.S(b,61,!1);var d=_.SL(b),e=!!d&&_.S(d,10,!1);if(_.CL(_.DL(b))||!c&&!e)_.A(b,61,!1),_.Mj(b,66),d&&_.A(d,10,!1),c=!1;else{if(c){_.n.SharedWorker||(c=!1);var f=_.C(b,e2c,66);f&&_.B(f,1)||(c=!1);_.iN(b)&&!_.S(b,52,!1)&&(c=!1)}c?d&&_.A(d,10,!1):(_.A(b,61,!1),_.Mj(b,66));c=c||e}if(c)return c=_.S(b,61,!1)?3:5,b=new iO(a,b,c),new e3c(b);c=_.CL(_.DL(b))?2:1;a=new jO(a,b,c,void 0,void 0,void 0);return _.CL(_.DL(b))?new f3c(a):new g3c(a)};
j3c=function(a){return _.me(a).Lg(_.S(a.get(_.$o),19,!1)?i3c:_.NUa)};k3c=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};l3c=function(a,b){return _.Nj(a,1,b)};m3c=[1];n3c=function(a){_.O(this,a,-1,m3c,null)};_.L(n3c,_.K);n3c.prototype.tha=function(a){_.Xj(this,1,a,_.Fk,void 0)};
var o3c=function(a){var b=new n3c;return _.Nj(b,1,a)},p3c=function(a,b){return _.J(a,1,b)},q3c=function(a,b){_.Nj(a,2,b)},r3c=function(a,b){_.J(a,6,b)},s3c=function(a,b){return _.Wj(a,3,_.Ik[0],b)},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 kO=function(a){_.O(this,a,-1,null,null)};_.L(kO,_.K);var v3c=function(a){_.O(this,a,-1,null,null)};_.L(v3c,_.K);var w3c=function(a){_.O(this,a,-1,null,null)};_.L(w3c,_.K);
var x3c=function(a){_.O(this,a,-1,null,null)};_.L(x3c,_.K);var y3c=function(a){_.O(this,a,-1,null,null)};_.L(y3c,_.K);var z3c=function(a){_.O(this,a,-1,null,null)};_.L(z3c,_.K);var A3c=function(a){_.O(this,a,-1,null,null)};_.L(A3c,_.K);var B3c=function(a){_.O(this,a,-1,null,null)};_.L(B3c,_.K);var C3c=function(a){_.O(this,a,-1,null,null)};_.L(C3c,_.K);var D3c=function(a){_.O(this,a,-1,null,null)};_.L(D3c,_.K);var E3c=function(a){_.O(this,a,-1,null,null)};_.L(E3c,_.K);
var F3c=function(a){_.O(this,a,-1,null,null)};_.L(F3c,_.K);var G3c=function(a,b){_.Nj(a,1,b)},H3c=function(a,b){return _.A(a,2,b)},I3c=function(a,b){return _.J(a,3,b)},J3c=function(a,b){return _.A(a,4,b)},K3c=[[1,2,3,4]],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,2,b)},O3c=[[1]],P3c=function(a){_.O(this,a,-1,null,O3c)};_.L(P3c,_.K);
var Q3c=function(a,b){_.Nj(a,1,b)},R3c=function(a,b){return _.J(a,4,b)},S3c=function(a,b){_.J(a,5,b)},T3c=function(a,b){_.Nj(a,2,b)},U3c=function(a,b){_.Nj(a,4,b)},V3c=function(a,b){return _.J(a,5,b)},W3c=[[1,2]],X3c=function(a){_.O(this,a,-1,null,W3c)};_.L(X3c,_.K);var Y3c=function(a,b){_.Nj(a,1,b)},Z3c=function(a,b){return _.J(a,2,b)},$3c=[[1]],a4c=function(a){_.O(this,a,-1,null,$3c)};_.L(a4c,_.K);
var b4c=function(a,b){_.Nj(a,2,b)},c4c=function(a){var b=new _.Qk;return _.Nj(b,3,a)},d4c=[[1,2]],e4c=function(a){_.O(this,a,-1,null,d4c)};_.L(e4c,_.K);e4c.prototype.PG=function(){return _.C(this,kO,1)};e4c.prototype.tg=function(a){return _.Wj(this,1,d4c[0],a)};var f4c=[1],g4c=function(a){_.O(this,a,-1,f4c,null)};_.L(g4c,_.K);g4c.prototype.Pp=function(){return _.B(this,2)};
var h4c=function(a,b){_.Nj(a,1,b)},i4c=function(a,b){return _.A(a,2,b)},j4c=function(a,b){return _.J(a,3,b)},k4c=[[1]],l4c=function(a){_.O(this,a,-1,null,k4c)};_.L(l4c,_.K);var m4c=[2],n4c=function(a){_.O(this,a,-1,m4c,null)};_.L(n4c,_.K);var o4c=function(a,b){_.Nj(a,2,b)},p4c=function(a,b){return _.J(a,3,b)},q4c=[[1]],r4c=function(a){_.O(this,a,-1,null,q4c)};_.L(r4c,_.K);r4c.prototype.PG=function(){return _.C(this,v3c,1)};r4c.prototype.tg=function(a){return _.Wj(this,1,q4c[0],a)};
var s4c=function(a,b){_.Nj(a,1,b)},t4c=function(a,b){return _.Nj(a,2,b)},u4c=[[1,2]],v4c=function(a){_.O(this,a,-1,null,u4c)};_.L(v4c,_.K);var w4c=function(a,b){_.Nj(a,1,b)},x4c=function(a,b){return _.J(a,2,b)},y4c=[[1]],z4c=function(a){_.O(this,a,-1,null,y4c)};_.L(z4c,_.K);var A4c=function(a,b){return _.J(a,1,b)},B4c=function(a,b){return _.A(a,2,b)},C4c=function(a,b){return _.A(a,3,b)},D4c=function(a){_.O(this,a,-1,null,null)};_.L(D4c,_.K);I1c=function(a,b){_.Nj(a,8,b)};
bO=function(a){return _.Gj(a,52,1)};H1c=function(a,b){return _.J(a,73,b)};J1c=function(a,b){_.Nj(a,107,b)};_.YN=function(a){return _.C(a,D4c,109)};K1c=function(a,b){_.J(a,109,b)};E4c=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)};F4c=function(a){_.O(this,a,-1,null,null)};_.L(F4c,_.K);var e2c=function(a){_.O(this,a,-1,null,null)};_.L(e2c,_.K);var G4c=[11],H4c=function(a){_.O(this,a,-1,G4c,null)};_.L(H4c,_.K);
var lO=function(a){_.O(this,a,-1,null,null)};_.L(lO,_.K);lO.prototype.getKey=function(){return _.B(this,2)};lO.prototype.ws=function(){return _.P(this,2)};mO=function(a){return _.E(a,4,"en")};_.nO=function(a){return _.C(a,H4c,34,1)};I4c=function(a,b){return _.A(a,5,b)};_.J4c=function(a,b){return _.A(a,2,b)};_.K4c=function(a,b){return _.A(a,3,b)};_.L4c=function(a,b){return _.A(a,1,b)};_.M4c=function(a,b){return _.A(a,2,b)};_.N4c=function(a,b){return _.Nj(a,5,b)};
_.O4c=function(a,b){return _.A(a,6,b)};_.P4c=function(a,b){return _.A(a,7,b)};_.Q4c=function(a,b){return _.A(a,8,b)};_.R4c=function(a,b){return _.A(a,10,b)};_.S4c=function(a,b){return _.A(a,15,b)};T4c=[2];_.U4c=function(a){_.O(this,a,-1,T4c,null)};_.L(_.U4c,_.K);_.U4c.prototype.Nh=function(){return _.B(this,1)};_.V4c=function(a,b){return _.J(a,1,b)};W4c=function(a,b){return _.A(a,2,b)};X4c=function(a,b){return _.A(a,3,b)};Y4c=function(a,b){_.Nj(a,4,b)};_.Z4c=function(a,b){_.J(a,8,b)};
_.$4c=function(a,b){_.J(a,9,b)};a5c=function(a){_.O(this,a,-1,null,null)};_.L(a5c,_.K);a5c.prototype.Ya=function(){return _.Hj(this,1)};a5c.prototype.Lb=function(a){return _.Pj(this,1,a,0)};I2c=function(a,b){_.Kj(a,3,b)};oO=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.ak(b[a]||void 0,c[a]||void 0))return!0;return!1};_.b5c=function(a){_.O(this,a,-1,null,null)};_.L(_.b5c,_.K);_.b5c.prototype.getId=function(){return _.B(this,1)};
_.b5c.prototype.Pb=function(a){return _.A(this,1,a)};_.b5c.prototype.Ne=function(){return _.B(this,4)};_.b5c.prototype.wh=function(a){return _.A(this,4,a)};_.GN=function(a){_.O(this,a,-1,null,null)};_.L(_.GN,_.K);_.GN.prototype.getTitle=function(){return _.B(this,1)};_.GN.prototype.setTitle=function(a){return _.A(this,1,a)};_.GN.prototype.xe=function(){return _.C(this,_.lf,2)};
var c5c=function(a,b){return _.Kj(a,9,b)},d5c=function(a,b){return _.Kj(a,10,b)},e5c=function(a,b){return _.A(a,36,b)},f5c=function(a,b){return _.Nj(a,38,b)},g5c=function(a,b){return _.A(a,2,b)},h5c=function(a,b){return _.J(a,3,b)},i5c=function(a){_.O(this,a,-1,null,null)};_.L(i5c,_.K);var j5c=function(a){_.O(this,a,-1,null,null)};_.L(j5c,_.K);var k5c=function(a){_.O(this,a,-1,null,null)};_.L(k5c,_.K);var l5c=function(a){_.O(this,a,-1,null,null)};_.L(l5c,_.K);
var m5c=function(a){_.O(this,a,-1,null,null)};_.L(m5c,_.K);var n5c=function(a,b){return _.A(a,1,b)},o5c=function(a,b){return _.A(a,3,b)},p5c=function(a,b){return _.A(a,4,b)},q5c=function(a,b){_.A(a,7,b)},r5c=function(a){_.O(this,a,-1,null,null)};_.L(r5c,_.K);r5c.prototype.py=function(){return _.R(this,2)};var s5c=function(a,b){_.A(a,1,b)},t5c=function(a){_.O(this,a,-1,null,null)};_.L(t5c,_.K);t5c.prototype.Om=function(){return _.B(this,3)};t5c.prototype.Dt=function(a){return _.A(this,3,a)};
t5c.prototype.wo=function(){return _.B(this,4)};var u5c=function(a){_.O(this,a,-1,null,null)};_.L(u5c,_.K);var v5c=[1,3,5],w5c=function(a){_.O(this,a,-1,v5c,null)};_.L(w5c,_.K);w5c.prototype.TE=function(){return _.Md(this,1)};w5c.prototype.py=function(){return _.R(this,2)};w5c.prototype.wo=function(){return _.B(this,7)};x5c=function(a,b){_.A(a,2,b)};y5c=function(a,b){_.Sj(a,5,b,void 0)};z5c=function(a,b){_.A(a,6,b)};A5c=function(a,b){_.A(a,7,b)};_.B5c=function(a,b){_.J(a,2,b)};
C5c=function(a,b,c){_.mN(a,b,c,"warning")};D5c=function(a){return[].concat(_.jd(a.O))};E5c=function(a){return a.H.concat([].concat(_.jd(a.O)))};F5c=function(a,b){var c=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.H.includes(d)||a.O.has(d)||(a.O.add(d),c.add(d));return[].concat(_.jd(c))};pO=function(a){var b=_.uN(a).wd();b||(b=new _.IXc,a=_.uN(a),_.J(a,1,b));return b};G5c=function(a){var b=_.C(_.uN(a),w5c,3);b||(b=new w5c,a=_.uN(a),_.J(a,3,b));return b};
H5c=function(a){var b=_.C(_.uN(a),k5c,7);b||(b=new k5c,a=_.uN(a),_.J(a,7,b));return b};I5c=function(a){var b=_.C(_.uN(a),m5c,12);b||(b=new m5c,a=_.uN(a),_.J(a,12,b));return b};J5c=function(a){var b=_.C(_.uN(a),r5c,17);b||(b=new r5c,a=_.uN(a),_.J(a,17,b));return b};
K5c=function(a){if(a instanceof _.wL)return 2;if(a instanceof _.JF)return 10;if(a instanceof _.Ye)return _.zM(a)?3:_.AM(a)?7:_.BM(a)?8:1;if(a instanceof _.Zz)return 9;if(a instanceof _.WF)return 11;if(a instanceof _.HM)return 15;if(a instanceof _.EL)return 6;if(a instanceof _.DM){a=a.getType();if(1==a)return 5;if(2==a)return 16;if(4==a)return 17;if(3==a)return 18}else{if(a instanceof _.iD)return 4;if(a instanceof _.Jz)return 12;if(a instanceof _.LF)return 13}return 0};
L5c=function(a){var b=null;a instanceof _.QA||"undefined"!=typeof _.wN&&a instanceof _.wN||"undefined"!=typeof _.xN&&a instanceof _.xN?b=a.jf()||0:"undefined"!=typeof _.zN&&a instanceof _.zN||"undefined"!=typeof _.AN&&a instanceof _.AN||"undefined"!=typeof _.BN&&a instanceof _.BN||"undefined"!=typeof _.CN&&a instanceof _.CN||"undefined"!=typeof _.DN&&a instanceof _.DN?b=a.Pe:"undefined"!=typeof _.yN&&a instanceof _.yN&&(b=a.jf());return b||0};
M5c=function(a,b,c){return a.V&&_.hZc(a)?(a=_.dZc(a.V,b,0),c&&_.zTc(a,c),a):null};N5c=function(a){a.V&&_.hZc(a)&&(a=a.V,a.H.BP()&&a.H.$Z())};O5c=function(a){var b=new _.vM;return _.A(b,1,a)};P5c=function(a,b){return _.J(a,2,b)};Q5c=function(a,b){return _.J(a,1,b)};R5c=function(a,b){a.ha=b};S5c=[2];qO=function(a){_.O(this,a,-1,S5c,null)};_.L(qO,_.K);qO.prototype.Ab=function(){return _.B(this,1)};qO.prototype.Dc=function(a){return _.A(this,1,a)};qO.prototype.tha=function(a){_.Xj(this,2,a,_.Fk,void 0)};
qO.prototype.$j=function(){return _.B(this,3)};var T5c=[2],U5c=function(a){_.O(this,a,-1,T5c,null)};_.L(U5c,_.K);U5c.prototype.Ab=function(){return _.B(this,1)};U5c.prototype.Dc=function(a){return _.A(this,1,a)};U5c.prototype.$j=function(){return _.B(this,3)};V5c=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.yn,a.H.promise):null};W5c=function(a){var b=[];a.jj.forEach(function(c){(c=c.zv.config.timestamp)&&b.push(c)});return b};
X5c=function(a){var b=[];a.W.forEach(function(c){c.forEach(function(d){(d=d.zv.config.timestamp)&&b.push(d)})});a.buckets.forEach(function(c){_.za(b,W5c(c))});return b};D2c=function(a,b){return _.Kj(a,1,b)};Y5c=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)};
Z5c={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,v0b: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,u0b: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};$5c=[2,6];_.xN=function(a){_.O(this,a,-1,$5c,null)};_.L(_.xN,_.K);_.g=_.xN.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Fd=function(){return _.Uj(this,_.Yk,2)};_.g.Qw=function(a){return _.Nj(this,2,a)};_.g.lh=function(a,b){return _.Xj(this,2,a,_.Yk,b)};_.g.$j=function(){return _.B(this,3)};_.g.jl=function(){return _.S(this,4,!0)};var a6c=function(a,b){return _.Nj(a,6,b)};
_.xN.prototype.Vf=function(){return _.B(this,10)};_.xN.prototype.CP=function(a){return _.A(this,10,a)};_.xN.prototype.jf=function(){return _.B(this,9)};_.xN.prototype.kj=function(a){return _.A(this,9,a)};var B1c=[1004,1005,1002,1003],P1c=[1002,1003,1005],b6c=[1,2],c6c=function(a){_.O(this,a,-1,b6c,null)};_.L(c6c,_.K);_.d6c=function(a){_.O(this,a,-1,null,null)};_.L(_.d6c,_.K);_.d6c.prototype.Ab=function(){return _.B(this,1)};_.d6c.prototype.Dc=function(a){return _.A(this,1,a)};
_.d6c.prototype.ln=function(){return _.C(this,_.KF,2)};var e6c=function(a){_.gi.call(this,a)};_.L(e6c,_.gi);var f6c=[5,7,9],g6c=function(a){_.O(this,a,-1,f6c,null)};_.L(g6c,_.K);_.g=g6c.prototype;_.g.getUser=function(){return _.C(this,_.Fk,1)};_.g.LA=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.jpa=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.fpa=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.Yoa=function(a){return _.Kj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.Sj(this,9,a,b)};var h6c=[7,10,12,16,13,3],rO=function(a){_.O(this,a,-1,h6c,null)};_.L(rO,_.K);var sO=function(a){return _.B(a,4)};_.g=rO.prototype;_.g.LA=function(a){_.A(this,4,a)};
_.g.setBooleanValue=function(a){return _.A(this,5,a)};_.g.I$a=function(){return _.B(this,6)};_.g.setTextValue=function(a){return _.A(this,6,a)};_.g.jpa=function(a){return _.Kj(this,7,a)};_.g.addTextValues=function(a,b){return _.Sj(this,7,a,b)};_.g.G$a=function(){return _.B(this,8)};_.g.setLongTextValue=function(a){return _.A(this,8,a)};_.g.H$a=function(){return _.B(this,9)};_.g.setSelectionValue=function(a){return _.A(this,9,a)};_.g.iMa=function(){return _.Md(this,10)};
_.g.fpa=function(a){return _.Kj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.Sj(this,10,a,b)};_.g.F$a=function(){return _.B(this,11)};_.g.setIntegerValue=function(a){return _.A(this,11,a)};_.g.Yoa=function(a){return _.Kj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.Sj(this,12,a,b)};_.g.jMa=function(){return _.C(this,_.Fk,15)};_.g.setUserValue=function(a){return _.J(this,15,a)};_.g.VAa=function(){return _.Uj(this,_.Fk,16)};var i6c=function(a,b){_.Nj(a,16,b)};
rO.prototype.addUserValues=function(a,b){return _.Xj(this,16,a,_.Fk,b)};rO.prototype.O=function(){return _.B(this,17)};rO.prototype.setDateStringValue=function(a){return _.A(this,17,a)};rO.prototype.V=function(){return _.P(this,17)};var j6c=function(a,b){_.Nj(a,13,b)};rO.prototype.getId=function(){return _.B(this,14)};rO.prototype.Pb=function(a){return _.A(this,14,a)};rO.prototype.getName=function(){return _.B(this,1)};rO.prototype.jd=function(a){return _.A(this,1,a)};
var k6c=[2],tO=function(a){_.O(this,a,-1,k6c,null)};_.L(tO,_.K);tO.prototype.getName=function(){return _.B(this,1)};tO.prototype.jd=function(a){return _.A(this,1,a)};tO.prototype.O=function(){return _.Uj(this,rO,2)};var l6c=function(a,b){_.Nj(a,2,b)};tO.prototype.Cc=function(){return _.B(this,3)};var m6c=function(a,b){return _.A(a,3,b)},n6c=function(a){_.O(this,a,-1,null,null)};_.L(n6c,_.K);n6c.prototype.O=function(){return _.C(this,_.vC,1)};n6c.prototype.V=function(){return _.C(this,_.vC,2)};
n6c.prototype.ka=function(){return _.C(this,_.vC,3)};var o6c=function(a){_.O(this,a,-1,null,null)};_.L(o6c,_.K);_.g=o6c.prototype;_.g.Vn=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Dm=function(){return _.R(this,2)};_.g.J$a=function(){return _.R(this,3)};_.g.K$a=function(){return _.R(this,4)};var uO=[[13,19,12,11,10,15,14,9,8,18,17,16]],p6c=function(a){_.O(this,a,-1,null,null)};_.L(p6c,_.K);p6c.prototype.O=function(){return _.R(this,1)};
p6c.prototype.V=function(){return _.R(this,2)};var q6c=function(a){_.O(this,a,-1,null,null)};_.L(q6c,_.K);q6c.prototype.fVa=function(){return _.B(this,1)};q6c.prototype.O=function(){return _.B(this,4)};var r6c=function(a){_.O(this,a,-1,null,null)};_.L(r6c,_.K);r6c.prototype.V=function(){return _.B(this,1)};r6c.prototype.O=function(){return _.B(this,2)};var s6c=function(a){_.O(this,a,-1,null,null)};_.L(s6c,_.K);s6c.prototype.V=function(){return _.B(this,1)};
s6c.prototype.O=function(){return _.B(this,2)};var t6c=function(a){_.O(this,a,-1,null,null)};_.L(t6c,_.K);var u6c=[1],v6c=function(a){_.O(this,a,-1,null,null)};_.L(v6c,_.K);v6c.prototype.O=function(){return _.R(this,1)};v6c.prototype.V=function(){return _.R(this,2)};var w6c=function(a){_.O(this,a,-1,null,null)};_.L(w6c,_.K);_.g=w6c.prototype;_.g.Vn=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Dm=function(){return _.R(this,2)};_.g.V$a=function(){return _.C(this,n6c,3)};
_.g.Y$a=function(){return _.P(this,3)};_.g.X$a=function(){return _.C(this,n6c,4)};_.g.$$a=function(){return _.P(this,4)};_.g.W$a=function(){return _.B(this,5)};_.g.Z$a=function(){return _.P(this,5)};var x6c=function(a){_.O(this,a,-1,null,null)};_.L(x6c,_.K);_.g=x6c.prototype;_.g.getLabel=function(){return _.B(this,1)};_.g.Dr=function(){return _.P(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Lb=function(a){return _.A(this,2,a)};_.g.Ai=function(){return _.Lj(this,2)};
_.g.ih=function(){return _.P(this,2)};_.g.Qe=function(){return _.B(this,5)};_.g.om=function(a){return _.A(this,5,a)};_.g.U$a=function(){return _.P(this,5)};_.g.getCapabilities=function(){return _.C(this,v6c,3)};_.g.T$a=function(){return _.C(this,w6c,4)};var y6c=function(a){_.O(this,a,-1,u6c,null)};_.L(y6c,_.K);y6c.prototype.O=function(){return _.Uj(this,x6c,1)};var z6c=function(a,b){_.Nj(a,1,b)},A6c=function(a){_.O(this,a,-1,null,null)};_.L(A6c,_.K);A6c.prototype.kv=function(){return _.B(this,1)};
A6c.prototype.pW=function(){return _.P(this,1)};A6c.prototype.getOptions=function(){return _.C(this,y6c,2)};var B6c=function(a){_.O(this,a,-1,null,null)};_.L(B6c,_.K);B6c.prototype.kv=function(){return _.B(this,1)};B6c.prototype.pW=function(){return _.P(this,1)};B6c.prototype.getOptions=function(){return _.C(this,s6c,2)};var C6c=function(a){_.O(this,a,-1,null,null)};_.L(C6c,_.K);var D6c=function(a){_.O(this,a,-1,null,null)};_.L(D6c,_.K);D6c.prototype.kv=function(){return _.B(this,1)};
D6c.prototype.pW=function(){return _.P(this,1)};D6c.prototype.getOptions=function(){return _.C(this,C6c,2)};var vO=[[3,4,5,6,7,8,9,10,11,12]],E6c=function(a){_.O(this,a,-1,null,vO)};_.L(E6c,_.K);_.g=E6c.prototype;_.g.dda=function(a){return _.Wj(this,3,vO[0],a)};_.g.S4a=function(a){return _.Wj(this,4,vO[0],a)};_.g.e4a=function(a){return _.Wj(this,5,vO[0],a)};_.g.d4a=function(a){return _.Wj(this,6,vO[0],a)};_.g.S3a=function(a){return _.Wj(this,7,vO[0],a)};
_.g.F4a=function(a){return _.Wj(this,8,vO[0],a)};_.g.E4a=function(a){return _.Wj(this,9,vO[0],a)};_.g.X4a=function(a){return _.Wj(this,10,vO[0],a)};_.g.npa=function(a){return _.Wj(this,11,vO[0],a)};_.g.Uoa=function(a){return _.Wj(this,12,vO[0],a)};var F6c=function(a){_.O(this,a,-1,null,null)};_.L(F6c,_.K);var G6c=function(a){_.O(this,a,-1,null,null)};_.L(G6c,_.K);G6c.prototype.kv=function(){return _.B(this,1)};G6c.prototype.pW=function(){return _.P(this,1)};
G6c.prototype.getOptions=function(){return _.C(this,F6c,2)};var H6c=function(a){_.O(this,a,-1,null,uO)};_.L(H6c,_.K);_.g=H6c.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.N$a=function(){return _.B(this,2)};_.g.ze=function(){return _.B(this,4)};_.g.M$a=function(){return _.C(this,o6c,5)};_.g.getCapabilities=function(){return _.C(this,p6c,6)};_.g.S$a=function(){return _.B(this,7)};_.g.S3a=function(a){return _.Wj(this,13,uO[0],a)};
_.g.L$a=function(){return _.C(this,q6c,19)};_.g.Uoa=function(a){return _.Wj(this,19,uO[0],a)};_.g.d4a=function(a){return _.Wj(this,12,uO[0],a)};_.g.e4a=function(a){return _.Wj(this,11,uO[0],a)};_.g.stb=function(){return _.C(this,r6c,10)};_.g.O$a=function(){return _.C(this,A6c,15)};_.g.E4a=function(a){return _.Wj(this,15,uO[0],a)};_.g.P$a=function(){return _.C(this,y6c,14)};_.g.F4a=function(a){return _.Wj(this,14,uO[0],a)};_.g.S4a=function(a){return _.Wj(this,9,uO[0],a)};
_.g.Q$a=function(){return _.C(this,s6c,8)};_.g.dda=function(a){return _.Wj(this,8,uO[0],a)};_.g.R$a=function(){return _.C(this,G6c,18)};_.g.npa=function(a){return _.Wj(this,18,uO[0],a)};_.g.X4a=function(a){return _.Wj(this,17,uO[0],a)};var I6c=[5],J6c=function(a){_.O(this,a,-1,null,null)};_.L(J6c,_.K);J6c.prototype.ka=function(){return _.R(this,1)};J6c.prototype.O=function(){return _.R(this,2)};J6c.prototype.ma=function(){return _.R(this,3)};J6c.prototype.V=function(){return _.R(this,4)};
var wO=function(a){_.O(this,a,-1,I6c,null)};_.L(wO,_.K);wO.prototype.getName=function(){return _.B(this,1)};wO.prototype.jd=function(a){return _.A(this,1,a)};wO.prototype.an=function(){return _.B(this,2)};var K6c=function(a,b){return _.A(a,2,b)};wO.prototype.V=function(){return _.B(this,14)};var L6c=function(a,b){return _.A(a,14,b)};_.g=wO.prototype;_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};_.g.Qe=function(){return _.B(this,4)};
_.g.om=function(a){return _.A(this,4,a)};_.g.bab=function(){return _.B(this,15)};_.g.aab=function(){return _.Uj(this,H6c,5)};var M6c=function(a,b){return _.Nj(a,5,b)},N6c=function(a,b){_.J(a,6,b)},O6c=function(a,b){_.J(a,7,b)},P6c=function(a,b){_.J(a,8,b)},Q6c=function(a,b){return _.A(a,9,b)},R6c=function(a,b){return _.A(a,10,b)},S6c=function(a,b){return _.A(a,11,b)};wO.prototype.O=function(){return _.C(this,o6c,12)};var T6c=function(a,b){_.J(a,12,b)};
wO.prototype.getCapabilities=function(){return _.C(this,J6c,13)};var U6c=function(a,b){_.J(a,13,b)};wO.prototype.getCustomer=function(){return _.B(this,16)};V6c=function(a,b){return _.A(a,16,b)};W6c=[3];_.xO=function(a){_.O(this,a,-1,W6c,null)};_.L(_.xO,_.K);_.xO.prototype.getType=function(){return _.B(this,1)};_.xO.prototype.Cc=function(){return _.B(this,2)};_.fO=function(a){_.O(this,a,-1,null,null)};_.L(_.fO,_.K);_.fO.prototype.getId=function(){return _.B(this,1)};
_.fO.prototype.Pb=function(a){return _.A(this,1,a)};_.fO.prototype.xe=function(){return _.C(this,_.lf,3)};_.X6c=function(a){_.O(this,a,-1,null,null)};_.L(_.X6c,_.K);_.X6c.prototype.getFeature=function(){return _.B(this,1)};Y6c=[1];_.tN=function(a){_.O(this,a,-1,Y6c,null)};_.L(_.tN,_.K);Z6c=[2,3,8];_.KM=function(a){_.O(this,a,-1,Z6c,null)};_.L(_.KM,_.K);_.KM.prototype.getId=function(){return _.B(this,1)};_.KM.prototype.Pb=function(a){return _.A(this,1,a)};
_.KM.prototype.xe=function(){return _.C(this,_.lf,4)};_.KM.prototype.Bc=function(){return _.B(this,5)};var $6c=function(a){_.O(this,a,-1,null,null)};_.L($6c,_.K);var a7c=[1,2,4],b7c={Z6b:0,F0b:1,T1b:2,G1b:3,u_b:4,FUb:5,G0b:6,H1b:7,CZb:8,cVb:9,E1b:10},yO=function(){this.map={};this.status=6;this.Pe=null};yO.prototype.Ab=function(){return this.status};yO.prototype.Dc=function(a){this.status=a};yO.prototype.jf=function(){return this.Pe};yO.prototype.kj=function(a){this.Pe=a};
var c7c=function(a,b){a.map=b};yO.prototype.kc=function(a){var b=[];_.Ma(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Pe,me:b})};d7c=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.kj(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d};_.wN=function(){yO.apply(this,arguments)};_.L(_.wN,yO);var e7c=function(){yO.apply(this,arguments)};_.L(e7c,yO);var f7c=function(a){_.O(this,a,-1,null,null)};_.L(f7c,_.K);
f7c.prototype.getType=function(){return _.B(this,1)};var g7c=function(a){var b=new f7c;return _.A(b,1,a)},h7c=function(a,b){return _.J(a,2,b)};f7c.prototype.ny=function(){return _.B(this,3)};f7c.prototype.Qy=function(a){return _.A(this,3,a)};f7c.prototype.Ni=function(){return _.B(this,4)};f7c.prototype.setPosition=function(a){return _.A(this,4,a)};var i7c=[2],j7c=function(a){_.O(this,a,-1,i7c,null)};_.L(j7c,_.K);j7c.prototype.Ab=function(){return _.B(this,1)};
j7c.prototype.Dc=function(a){return _.A(this,1,a)};var k7c=[2],zO=function(a){_.O(this,a,-1,k7c,null)};_.L(zO,_.K);zO.prototype.Ab=function(){return _.B(this,1)};zO.prototype.Dc=function(a){return _.A(this,1,a)};zO.prototype.O=function(){return _.Uj(this,tO,2)};var l7c=function(a,b){return _.Nj(a,2,b)};zO.prototype.$j=function(){return _.B(this,3)};var m7c=function(a){_.O(this,a,-1,null,null)};_.L(m7c,_.K);m7c.prototype.Ab=function(){return _.B(this,1)};
m7c.prototype.Dc=function(a){return _.A(this,1,a)};var n7c=function(a,b){return _.J(a,2,b)},o7c={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"},p7c=function(a){_.O(this,a,-1,null,null)};_.L(p7c,_.K);p7c.prototype.Qe=function(){return _.E(this,1)};p7c.prototype.om=function(a){return _.ek(this,1,a)};p7c.prototype.getUrl=function(){return _.E(this,2)};_.q7c=function(a){_.O(this,a,-1,null,null)};_.L(_.q7c,_.K);_.q7c.prototype.getType=function(){return _.Gj(this,1,0)};
_.q7c.prototype.getContext=function(){return _.C(this,p7c,2)};_.q7c.prototype.Yi=function(a){return _.J(this,2,a)};r7c=[1];s7c=[2,4];_.t7c=function(a){_.O(this,a,-1,s7c,null)};_.L(_.t7c,_.K);_.t7c.prototype.getLabel=function(){return _.E(this,1)};_.t7c.prototype.getTitle=function(){return _.E(this,3)};_.t7c.prototype.setTitle=function(a){return _.ek(this,3,a)};_.u7c=function(a){_.O(this,a,-1,r7c,null)};_.L(_.u7c,_.K);_.v7c=[[2,3,4]];_.AO=function(a){_.O(this,a,-1,null,null)};_.L(_.AO,_.K);
_.AO.prototype.ze=function(){return _.E(this,3)};_.AO.prototype.jo=function(a){return _.ek(this,4,a)};_.w7c=function(a){_.O(this,a,-1,null,null)};_.L(_.w7c,_.K);_.x7c=function(a){_.O(this,a,-1,null,_.v7c)};_.L(_.x7c,_.K);var y7c=function(a){_.O(this,a,-1,null,null)};_.L(y7c,_.K);z7c=[3,5];_.BO=[[8,9,10,11,12,13,14]];_.A7c=function(a){_.O(this,a,-1,null,null)};_.L(_.A7c,_.K);_.B7c=function(a){_.O(this,a,-1,z7c,_.BO)};_.L(_.B7c,_.K);_.B7c.prototype.Ab=function(){return _.Gj(this,6,0)};
_.B7c.prototype.Dc=function(a){return _.fk(this,6,a)};var C7c=function(a){_.O(this,a,-1,null,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);var F7c=[1],G7c=function(a){_.O(this,a,-1,F7c,null)};_.L(G7c,_.K);var H7c=function(a){_.O(this,a,-1,null,null)};_.L(H7c,_.K);var I7c=function(a){_.O(this,a,-1,null,null)};_.L(I7c,_.K);J7c=[7];_.K7c=[[1,2,3]];_.L7c=function(a){_.O(this,a,-1,null,null)};_.L(_.L7c,_.K);
_.M7c=function(a){_.O(this,a,-1,null,null)};_.L(_.M7c,_.K);_.N7c=function(a){_.O(this,a,-1,null,null)};_.L(_.N7c,_.K);_.O7c=function(a){_.O(this,a,-1,J7c,_.K7c)};_.L(_.O7c,_.K);_.P7c=function(a){_.O(this,a,-1,null,null)};_.L(_.P7c,_.K);_.P7c.prototype.getName=function(){return _.E(this,1)};_.P7c.prototype.jd=function(a){return _.ek(this,1,a)};var Q7c=function(a){_.O(this,a,-1,null,null)};_.L(Q7c,_.K);Q7c.prototype.getName=function(){return _.E(this,1)};
Q7c.prototype.jd=function(a){return _.ek(this,1,a)};Q7c.prototype.getTitle=function(){return _.E(this,2)};Q7c.prototype.setTitle=function(a){return _.ek(this,2,a)};var R7c=[[1,4]],S7c=function(a){_.O(this,a,-1,null,R7c)};_.L(S7c,_.K);S7c.prototype.getUser=function(){return _.C(this,_.x7c,1)};var T7c=[[8,9,10]],U7c=function(a){_.O(this,a,-1,null,null)};_.L(U7c,_.K);var V7c=function(a){_.O(this,a,-1,null,null)};_.L(V7c,_.K);V7c.prototype.getType=function(){return _.Gj(this,6,0)};
var W7c=function(a){_.O(this,a,-1,null,null)};_.L(W7c,_.K);_.X7c=function(a){_.O(this,a,-1,null,T7c)};_.L(_.X7c,_.K);_.g=_.X7c.prototype;_.g.getName=function(){return _.E(this,1)};_.g.jd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};_.g.setTitle=function(a){return _.ek(this,2,a)};_.g.getFile=function(){return _.C(this,U7c,3)};_.g.Zja=function(){return _.C(this,V7c,9)};_.g.Fza=function(){return _.C(this,W7c,10)};_.g.Di=function(){return _.bk(this,5)};
_.g.getMimeType=function(){return _.E(this,6)};_.g.aD=function(){return _.C(this,S7c,7)};var Y7c=function(a){_.O(this,a,-1,null,null)};_.L(Y7c,_.K);var Z7c=[[8,9,10]],$7c=function(a){_.O(this,a,-1,null,Z7c)};_.L($7c,_.K);_.g=$7c.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,U7c,3)};
_.g.Zja=function(){return _.C(this,V7c,9)};_.g.Fza=function(){return _.C(this,W7c,10)};a8c=[[1,3]];_.CO=function(a){_.O(this,a,-1,null,a8c)};_.L(_.CO,_.K);_.CO.prototype.mi=function(){return _.C(this,$7c,1)};_.b8c=[[1,2,3]];_.c8c=function(a){_.O(this,a,-1,null,null)};_.L(_.c8c,_.K);_.d8c=function(a){_.O(this,a,-1,null,_.b8c)};_.L(_.d8c,_.K);var e8c=function(a){_.O(this,a,-1,null,null)};_.L(e8c,_.K);var f8c=function(a){_.O(this,a,-1,null,null)};_.L(f8c,_.K);g8c=[2,3];
_.h8c=function(a){_.O(this,a,-1,g8c,null)};_.L(_.h8c,_.K);_.h8c.prototype.getType=function(){return _.Gj(this,1,0)};_.i8c=function(a){_.O(this,a,-1,null,null)};_.L(_.i8c,_.K);_.i8c.prototype.getType=function(){return _.Gj(this,1,0)};var j8c=function(a){_.O(this,a,-1,null,null)};_.L(j8c,_.K);j8c.prototype.getType=function(){return _.Gj(this,1,0)};var k8c=function(a){_.O(this,a,-1,null,null)};_.L(k8c,_.K);_.l8c=function(a){_.O(this,a,-1,null,null)};_.L(_.l8c,_.K);
_.l8c.prototype.O=function(){return _.S(this,1)};var m8c=function(a){_.O(this,a,-1,null,null)};_.L(m8c,_.K);n8c=[1,2,4];_.o8c=function(a){_.O(this,a,-1,null,null)};_.L(_.o8c,_.K);p8c=[1,2];_.q8c=function(a){_.O(this,a,-1,null,null)};_.L(_.q8c,_.K);_.q8c.prototype.getParent=function(){return _.C(this,_.CO,1)};_.q8c.prototype.yg=function(a){return _.J(this,1,a)};_.r8c=function(a){_.O(this,a,-1,p8c,null)};_.L(_.r8c,_.K);_.s8c=function(a){_.O(this,a,-1,n8c,null)};_.L(_.s8c,_.K);
_.DO=function(a){_.O(this,a,-1,null,null)};_.L(_.DO,_.K);_.DO.prototype.getEmail=function(){return _.E(this,1)};_.DO.prototype.getTitle=function(){return _.E(this,2)};_.DO.prototype.setTitle=function(a){return _.ek(this,2,a)};_.EO=[[2,3,4,5]];_.FO=function(a){_.O(this,a,-1,null,_.EO)};_.L(_.FO,_.K);_.FO.prototype.Af=function(){return _.Gj(this,1,0)};_.FO.prototype.getUser=function(){return _.C(this,_.x7c,2)};var t8c=function(a){_.O(this,a,-1,null,null)};_.L(t8c,_.K);u8c=[1,2,3,4];
_.v8c=function(a){_.O(this,a,-1,u8c,null)};_.L(_.v8c,_.K);_.w8c=function(a){_.O(this,a,-1,null,null)};_.L(_.w8c,_.K);_.x8c=function(a){_.O(this,a,-1,null,null)};_.L(_.x8c,_.K);_.y8c=function(a){_.O(this,a,-1,null,null)};_.L(_.y8c,_.K);_.z8c=function(a){_.O(this,a,-1,null,null)};_.L(_.z8c,_.K);_.z8c.prototype.getType=function(){return _.Gj(this,1,0)};A8c=[1];_.B8c=function(a){_.O(this,a,-1,null,null)};_.L(_.B8c,_.K);_.B8c.prototype.getFeature=function(){return _.Gj(this,1,0)};
_.C8c=function(a){_.O(this,a,-1,A8c,null)};_.L(_.C8c,_.K);var D8c=function(a){_.O(this,a,-1,null,null)};_.L(D8c,_.K);var E8c=function(a){_.O(this,a,-1,null,null)};_.L(E8c,_.K);var F8c=function(a){_.O(this,a,-1,null,null)};_.L(F8c,_.K);F8c.prototype.getType=function(){return _.Gj(this,1,0)};_.GO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.HO=function(a){_.O(this,a,-1,null,_.GO)};_.L(_.HO,_.K);_.HO.prototype.Sz=function(){return _.C(this,F8c,10)};_.G8c=function(a){_.O(this,a,-1,null,null)};
_.L(_.G8c,_.K);var H8c=function(a){_.O(this,a,-1,null,null)};_.L(H8c,_.K);_.I8c=function(a){_.O(this,a,-1,null,null)};_.L(_.I8c,_.K);_.J8c=function(a){_.O(this,a,-1,null,null)};_.L(_.J8c,_.K);_.J8c.prototype.getType=function(){return _.Gj(this,1,0)};_.K8c=[[1,2,3,4,5]];_.L8c=function(a){_.O(this,a,-1,null,_.K8c)};_.L(_.L8c,_.K);_.L8c.prototype.getUser=function(){return _.C(this,_.x7c,1)};var M8c=function(a){_.O(this,a,-1,null,null)};_.L(M8c,_.K);
M8c.prototype.getType=function(){return _.Gj(this,2,0)};M8c.prototype.zh=function(){return _.E(this,1)};_.N8c=function(a){_.O(this,a,-1,null,null)};_.L(_.N8c,_.K);_.g=_.N8c.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,_.X7c,3)};_.O8c=function(a){_.O(this,a,-1,null,null)};_.L(_.O8c,_.K);
_.O8c.prototype.getParent=function(){return _.C(this,_.X7c,4)};_.O8c.prototype.yg=function(a){return _.J(this,4,a)};_.P8c=[[1,5,3]];_.Q8c=function(a){_.O(this,a,-1,null,_.P8c)};_.L(_.Q8c,_.K);_.Q8c.prototype.mi=function(){return _.C(this,_.X7c,1)};T8c=function(a,b){return new _.jTc(_.kTc.bound(a,b,void 0,void 0))};
U8c=function(){var a=new _.Vh,b=_.wTc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Pd(_.AL(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.V8c=function(a){_.O(this,a,-1,null,null)};_.L(_.V8c,_.K);_.V8c.prototype.Jq=function(){return _.B(this,1)};_.V8c.prototype.Ld=function(){return _.B(this,2)};_.V8c.prototype.setSize=function(a){return _.A(this,2,a)};_.V8c.prototype.getUrl=function(){return _.B(this,3)};
_.W8c=function(a){_.O(this,a,-1,null,null)};_.L(_.W8c,_.K);_.W8c.prototype.getType=function(){return _.B(this,1)};X8c=[2,3];_.Y8c=function(a){_.O(this,a,-1,X8c,null)};_.L(_.Y8c,_.K);Z8c=[4,5,6,17,18,24];_.IO=function(a){_.O(this,a,-1,Z8c,null)};_.L(_.IO,_.K);_.IO.prototype.getId=function(){return _.B(this,1)};_.IO.prototype.Pb=function(a){return _.A(this,1,a)};_.IO.prototype.getName=function(){return _.B(this,2)};_.IO.prototype.jd=function(a){return _.A(this,2,a)};
var $8c=function(a,b){return _.Kj(a,4,b)},a9c=function(a,b){return _.Kj(a,5,b)};_.IO.prototype.MQ=function(){return _.B(this,8)};_.IO.prototype.zAa=function(){return _.R(this,22)};_.IO.prototype.getType=function(){return _.B(this,23)};_.IO.prototype.Dm=function(){return _.R(this,33)};var L2c=function(a){_.O(this,a,-1,null,null)};_.L(L2c,_.K);var b9c=[3],JO=function(a){_.O(this,a,-1,b9c,null)};_.L(JO,_.K);JO.prototype.kq=function(){return _.B(this,1)};var c9c=function(a,b){return _.A(a,1,b)};
JO.prototype.getTitle=function(){return _.B(this,2)};JO.prototype.setTitle=function(a){return _.A(this,2,a)};JO.prototype.Fd=function(){return _.Uj(this,_.Yk,3)};var d9c=function(a,b){return _.Nj(a,3,b)};JO.prototype.lh=function(a,b){return _.Xj(this,3,a,_.Yk,b)};JO.prototype.V=function(){return _.B(this,4)};var e9c=function(a,b){return _.A(a,4,b)};JO.prototype.O=function(){return _.C(this,_.Hk,5)};var f9c=function(a,b){return _.J(a,5,b)},g9c=[2],KO=function(a){_.O(this,a,-1,g9c,null)};_.L(KO,_.K);
KO.prototype.Ab=function(){return _.B(this,1)};KO.prototype.Dc=function(a){return _.A(this,1,a)};KO.prototype.ll=function(){return _.Uj(this,JO,2)};var h9c=function(a,b){return _.Nj(a,2,b)};KO.prototype.Vf=function(){return _.B(this,4)};i9c=function(a,b){return _.A(a,4,b)};_.yN=function(a){_.O(this,a,-1,null,null)};_.L(_.yN,_.K);_.g=_.yN.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.ST=function(){return _.Ij(this,2,_.KF)};
_.g.$j=function(){return _.B(this,3)};_.g.jf=function(){return _.B(this,5)};_.g.kj=function(a){return _.A(this,5,a)};var j9c=[1],gO=[[1,2,3,4,5,6,7]],m2c=function(a){_.O(this,a,-1,null,gO)};_.L(m2c,_.K);var n2c=function(a){_.O(this,a,-1,j9c,null)};_.L(n2c,_.K);var LO=function(a){_.O(this,a,-1,null,null)};_.L(LO,_.K);LO.prototype.getQuery=function(){return _.C(this,_.Ye,1,1)};var k9c=function(a,b){return _.J(a,1,b)};LO.prototype.Un=function(){return _.B(this,4)};
var l9c=function(a,b){return _.J(a,5,b)},m9c=[1,2,5,7,9,10,12],MO=function(a){_.O(this,a,-1,m9c,null)};_.L(MO,_.K);MO.prototype.Fd=function(){return _.Uj(this,_.Yk,1)};var n9c=function(a,b){return _.Nj(a,1,b)};MO.prototype.lh=function(a,b){return _.Xj(this,1,a,_.Yk,b)};MO.prototype.tha=function(a){_.Xj(this,2,a,_.Fk,void 0)};var o9c=function(a,b){return _.A(a,3,b)};MO.prototype.Wn=function(){return _.B(this,4)};MO.prototype.Fu=function(a){return _.A(this,4,a)};
var p9c=function(a,b){return _.Nj(a,5,b)},q9c=function(a,b){return _.A(a,6,b)};MO.prototype.Fh=function(){return _.C(this,_.ZA,8)};var r9c=function(a,b){return _.Kj(a,12,b)};MO.prototype.wo=function(){return _.Gj(this,13,0)};var s9c=function(a,b){return _.A(a,13,b)},t9c={gVb:0,fVb:1,U_b:2,a6b:3,d6b:4},eO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],k2c=function(a){_.O(this,a,-1,null,eO)};_.L(k2c,_.K);var r2c=[[1,2]],q2c=function(a){_.O(this,a,-1,null,r2c)};_.L(q2c,_.K);
var u2c=[[1,2,3]],t2c=function(a){_.O(this,a,-1,null,u2c)};_.L(t2c,_.K);_.NO=function(a){_.O(this,a,-1,null,null)};_.L(_.NO,_.K);_.NO.prototype.wY=function(a){_.J(this,1,a)};_.NO.prototype.zr=function(){return _.C(this,_.Ax,2)};_.NO.prototype.wF=function(a){_.J(this,2,a)};u9c=[[5,6]];_.v9c=function(a){_.O(this,a,-1,null,u9c)};_.L(_.v9c,_.K);_.v9c.prototype.Nh=function(){return _.C(this,M8c,2)};_.v9c.prototype.O=function(a){_.Wj(this,5,u9c[0],a)};w9c=[3,4,5];x9c=[[6,7]];
_.y9c=function(a){_.O(this,a,-1,w9c,x9c)};_.L(_.y9c,_.K);_.y9c.prototype.O=function(a){_.Wj(this,6,x9c[0],a)};var z9c=[1],A9c=function(a){_.O(this,a,-1,z9c,null)};_.L(A9c,_.K);A9c.prototype.my=function(){return _.E(this,2)};var B9c=function(a,b){return 1<a?2===b:a===b},C9c=function(a,b){if(0<=b)return!a||a<b?b:a;if(-1===b)return!a||1>=a?2:a+1;if(-2===b)return!a||2>=a?1:a-1;throw Error("Le");},OO=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.H=void 0===c?1:c;this.V=d;this.O=e};
_.g=OO.prototype;_.g.clone=function(){return new OO(this.item.clone(),this.count,this.H,this.V,this.O)};_.g.getId=function(){return this.item.getId()};_.g.$b=function(){return this.count};_.g.getItem=function(){return this.item};_.g.setItem=function(a){this.item=a};_.g.MD=function(a){this.H=a};_.g.equals=function(a){return this.count===a.$b()&&this.H===a.H&&this.V===a.V&&this.O===a.O&&_.ak(this.item,a.getItem())};
_.zN=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.f0=void 0===c?null:c};_.WVc=function(a){this.H=a;this.type=1};D9c=function(){};E9c=function(a){this.H=a};_.XVc=function(a){this.H=a;this.type=0};W2c=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.hA=f;this.H=h;this.W=k};_.BN=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.f0=void 0===c?null:c};_.dWc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.gWc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.CN=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.f0=void 0===c?null:c};_.DN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Pe=void 0===d?0:d};_.AN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Pe=void 0===d?0:d};F9c=function(a){_.AN.call(this,a,void 0,void 0,void 0);this.P3a=new _.yn};_.L(F9c,_.AN);
var G9c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},H9c=function(a){return[].concat(_.jd(new Set(a.map(function(b){return _.zUc.get(b)}).filter(function(b){return b})))).join(",")},PO=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.jd(b));b=H9c(b);var d=_.IL(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":
_.S(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.S(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.S(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},I9c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+PO(a,b,!1)+")"},QO=function(a){return a instanceof _.Yk?null!=a.getId()&&a.getId()==a.Bc():null!=a.Cc()&&a.Cc()==a.Bc()},J9c=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.hh();null!=e&&H1c(a,e.clone());if((e=b.getCapabilities())&&null!=_.R(e,13)){var f=a.getCapabilities()||
new _.Tk,h=_.R(e,13);_.A(f,13,h);_.cN(a,f)}e&&null!=_.R(e,18)&&(f=a.getCapabilities()||new _.Tk,e=_.R(e,18),_.A(f,18,e),_.cN(a,f));ZN(a,b,[76,208,156,61,77,134,81,82,101,93,90,78,222,85,79,189,190,80,135,102,34,91,41,59,95,75,94,221,122,2]);d.hh()&&ZN(a,d,c)},K9c=function(a,b,c){c=void 0===c?[]:c;if(!b||!QO(a)&&!QO(b))return a;if(2==bO(a)){c=_.B(a,82);var d=b.clone();J9c(d,a);_.gXc(d,bO(b));_.WL(d,c);return d}a=a.clone();J9c(a,b,c);return a},L9c=function(a){return(a=a?a.hh():null)&&a.Dm()||!1},M9c=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},N9c=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]={}})},P9c=function(a,b,c){b.every(function(d){return QO(d)})?O9c(b,c,a.H,a.O):b.every(function(d){return!QO(d)})&&O9c(b,c,a.items,a.fields)},O9c=function(a,b,c,d){var e=_.JVc(b,[].concat(_.jd(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&ZN(f,k,[h])})})};M9c.prototype.update=function(a,b,c){b&&QO(b)?Q9c(a,b,this.H,this.O,c):Q9c(a,b,this.items,this.fields,c)};M9c.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 Q9c=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&&E1c(b,[h])){var k=new _.Yk;k.Pb(b.getId());ZN(k,b,[h]);f[a]=k}});b&&A1c(b,[].concat(_.jd(d)))};
M9c.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};M9c.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var R9c=function(a,b,c){var d=this;this.wu=b;this.zw=c;this.Od=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=R9c.prototype;_.g.gy=function(){return this.Od};
_.g.uk=function(a){var b=new Map;a=_.m(a.hn());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Od.has(c)&&b.set(c,this.Od.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(S9c(a)){for(var d=_.m(this.Od.values()),e=d.next();!e.done;e=d.next())e=e.value,RO(this.wu,a,e.getItem())&&(void 0===b||B9c(e.H,b))&&c.push(e);this.zw.sort(a,c)}return c};_.g.get=function(a){return this.Od.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Od.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,T9c(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 T9c=function(a,b){return 1<b.$b()||B9c(b.H,2)||b.getItem().NI()||Z1c(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
R9c.prototype.zJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b=b.value,T9c(this,b)&&(this.Od.delete(b.getId()),b.count--)};var U9c=function(a,b,c,d){this.Jg=a;this.W=b;this.O=c;this.V=d},M2c=function(a,b){return(b=a.O.get(b))?(b=b.clone(),P9c(a.V,[b.getItem()],E5c(a.Jg)),b):null};U9c.prototype.H=function(a){return(a=M2c(this,a))?a.getItem():null};
var V9c=function(a,b){var c={};b.forEach(function(d){var e=M2c(a,d);e&&(c[d]=e)});return c},W9c=function(a,b){return _.Oa(V9c(a,b),function(c){return c.getItem()})},X9c=function(a,b){b=SO(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};U9c.prototype.query=function(a){return X9c(this,a).map(function(b){return b.getItem()})};U9c.prototype.Ld=function(){return this.O.gy().size};
var Y9c=function(a){var b=new Set;a=_.m(a.O.gy().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.Zk(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.VF(e));(d=c.zm())&&b.add(d.getId()||_.VF(d));(d=c.Rv())&&b.add(d.getId()||_.VF(d));(d=c.Mq())&&b.add(d.getId()||_.VF(d));(c=c.hD())&&b.add(c.getId()||_.VF(c))}return b.size},Z9c=function(a){var b=new _.Po;_.sN(b,"hidden",a.Dm());a=_.R(a,6);null!=a&&_.sN(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
$9c=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}},a$c=function(a){var b=_.kSc(),c={};b&&(c.numeric=b);this.H=_.lSc(a,c)};a$c.prototype.compare=function(a,b,c){b=b$c(b);c=b$c(c);a=a.Ac();var d=$9c(a);if(a&&d){d=c$c(this,a);var e=4===a.getType()?this.H:_.Ga;return d$c(a,d,e,b,c)}return _.Ga(b.getId(),c.getId())};
a$c.prototype.sort=function(a,b,c){a=a.Ac();var d=$9c(a);a&&d&&(d=c$c(this,a),d=e$c(b,d),_.Ia(b,f$c(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var b$c=function(a){return a instanceof _.Yk?a:a.getItem()},c$c=function(a,b){b=$9c(b);return _.v(a.O,a,b,_.Ga)},e$c=function(a,b){var c={};a.forEach(function(d){d=b$c(d);var e=d.getId();c[e]=b(d)});return c},f$c=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ga;d=b$c(d);e=b$c(e);return d$c(b,function(h){return c[h.getId()]},f,d,e)}},d$c=function(a,b,c,d,e){var f=1===a.zf()?1:-1;if(_.R(a,3)){a=aO(d,!0);var h=aO(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ga(d.getId(),
e.getId()))};a$c.prototype.O=function(a,b,c){for(var d=g$c(a[0],c),e=1;e<a.length;e++){var f=g$c(a[e],c);d=1===b(f,d)?f:d}return d};
var g$c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.QA()||!1;case 12:return b.dz()||0;case 11:return b.fB()||0;case 10:return b.Bq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.oy()||0;case 57:return _.B(b,62)||0;case 32:return b.Ou()||0;case 9:return b.TC()||0;case 67:return b.WJ()||0;case 98:return b.Sv()||0;default:return""}},h$c=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.lr=_.CL(_.DL(b));
a=_.SL(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};h$c.prototype.Fu=function(a){this.rootId=a||""};
var SO=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Gl(b).filter(function(d){return"root"===d.Ya()}).forEach(function(d){return d.Lb(a.rootId)});_.ef(b,_.Fl(b).map(function(d){d.Lb(d.Ya().toLowerCase());return d}));c&&_.El(b,a.fields);b.O().sort();return b},TO=function(a,b,c){if(b instanceof _.Ye){b=SO(a,b);var d=_.EYc(b)}else if(b instanceof _.Zz)d=b.hn().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.wL)return d=Z9c(b),d+"|tdList";if(b instanceof _.JF)return d=
b.hn().sort().join(","),b.O().length&&(d+="|"+H9c(b.O())),d+"|tdMap";throw Error("Pe");}return 3===c?d:d+"|"+i$c(a,b.O(),2===c)},i$c=function(a,b,c){var d="default";if(0===b.length)return d;var e=new Set(b),f=new Set(a.fields);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.jd(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.dM({fields:[].concat(_.jd(f)),lr:a.lr}));e.size&&(d=d+" + "+_.dM({fields:[].concat(_.jd(e)),lr:a.lr}));
return d};h$c.prototype.equals=function(a,b,c){var d;c&&(d=3);return TO(this,a,d)===TO(this,b,d)};
var j$c=function(a){if(!a.hn().every(function(b){return!_.ae(b)}))throw new _.lc("Invalid ids for FindByIdsRequest");},l$c=function(a,b,c){if(_.AM(b))throw new _.lc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");k$c(a,b,c)},k$c=function(a,b,c){var d;a.O||(d=_.aM(3));if(b.getId())throw new _.lc("Use findByIds() for find by id queries.",d?d:_.aM(3));if(!b.Mi()||0>=b.Mi())throw new _.lc("A positive limit is required on an ItemQueryRequest.",d?d:_.aM(3));
_.Md(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),m$c(a,d,b.O()));if(c=(c=b.Ac())&&$9c(c))d=b.O().length?b.O():a.fields,m$c(a,d,c);if(_.zM(b)){if(a.lr)throw new _.lc("User must be authenticated for a Quick Access request.");if(!n$c(a)&&20<b.Mi())throw new _.lc("Limit must be in the range [1, 20].");c=2===_.fN(b);d=_.Md(b,33).length;if(c&&1!==d||d&&!c)throw new _.lc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.Oj(_.Lj(_.Lj(_.Lj(_.MH(_.Lj(_.Mj(_.MH(b.clone(),
1),30),32),33),45),47),48),6);d=new _.Ye;if(!_.ak(c,d))throw new _.lc("Some fields specified are not valid for a Quick Access request. Valid: field, request_descriptor, limit, team_drive, corpora, is_quick_access_request and mime_type. Extra: "+Y5c(d,c));}if(_.BM(b)){if(a.lr)throw new _.lc("User must be authenticated for a DrivePriority request.");if(2===_.fN(b))throw new _.lc("Team Drive corpora is not valid for a Drive Priority request.");a=_.Lj(_.Lj(_.Lj(_.Mj(_.MH(b.clone(),1),30),32),45),52);
b=new _.Ye;if(!_.ak(a,b))throw new _.lc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+Y5c(b,a));}},o$c=function(a,b,c){if(!_.AM(b))throw new _.lc("Expected a PeoplePredict request.");k$c(a,b,c);if(a.lr)throw new _.lc("User must be authenticated for a People Predict request.");if(2===_.fN(b))throw new _.lc("Team Drive corpora is not valid for a People Predict request.");a=_.Lj(_.Lj(_.Lj(_.Mj(_.MH(b.clone(),
1),30),32),45),49);b=new _.Ye;if(!_.ak(a,b))throw new _.lc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+Y5c(b,a));},m$c=function(a,b,c){var d;a.O||(d=_.aM(3));if(!F1c(b,c,_.HVc)){var e=_.dM({fields:c,lr:a.lr}),f=_.dM({fields:b,lr:a.lr});a=_.dM({fields:G1c(c,b),lr:a.lr});throw new _.lc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.aM(3));
}},n$c=function(a){return 200<=_.hN(a.H)&&300>_.hN(a.H)},p$c=function(a){var b=new Set;_.Fl(a).forEach(function(c){switch(_.LNa(c.Ya())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return[].concat(_.jd(b))},q$c=function(a){switch(_.hN(a)){case 3:case 12:case 204:return"GOOGLE_DOCS";
case 4:case 13:case 207:return"GOOGLE_SHEETS";case 5:case 14:case 205:case 208:return"GOOGLE_SLIDES";case 6:case 203:return"GOOGLE_FORMS";case 232:return"GOOGLE_MEET";case 8:case 201:return"GOOGLE_SITES";case 229:case 216:return"GOOGLE_CLASSROOM";case 202:case 1:case 9:return"GOOGLE_DRIVE";case 228:return"GOOGLE_GMAIL";case 236:return"GOOGLE_CHAT";default:return"UNSPECIFIED_APPLICATION"}},r$c=function(a){_.N.call(this);this.H=a};_.If(r$c,_.N);_.g=r$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();r$c.ub.Xa.call(this)};var f2c=function(a){_.hy.call(this);this.H=a;this.V=_.ue(this.H,"message",this.npb,!1,this)};_.If(f2c,_.hy);_.g=f2c.prototype;_.g.Cd=null;
_.g.send=function(a,b){var c=[];b=this.zya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.GUc&&(a=(0,_.xi)(a));this.H.postMessage(a,c)};_.g.npb=function(a){a=a.De;var b=a.data;if(_.GUc)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.$Ba(a.ports||[],b),d.HEa),null!=b&&d.callback(b))}};
_.g.zya=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.zya,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.zya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.$Ba=function(a,b){return Array.isArray(b)?b.map((0,_.v)(this.$Ba,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.$Ba(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;f2c.ub.Xa.call(this)};
var h2c=function(a,b){if("*"==b)return new r$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 f2c(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new r$c(e)},s$c=function(a){_.N.call(this);this.H=new _.QSc(a);this.V={};this.O=_.SSc(this.H,
"private");this.W=_.SSc(this.H,"public");this.O.registerService("mics",(0,_.v)(this.Lmb,this),!0)};_.If(s$c,_.N);_.g=s$c.prototype;_.g.UFb=0;_.g.Xa=function(){_.aa(this.H);delete this.H;delete this.W;delete this.O};_.g.send=function(a,b,c){var d=this.UFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Lmb=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};_.g.registerService=function(a,b){this.W.registerService(a,(0,_.v)(this.Kmb,this,b),!0)};
_.g.Kmb=function(a,b){a=a(b.data);var c=b.signature;_.Ph(a).then((0,_.v)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var cO=function(a,b,c){_.N.call(this);this.W=c;this.started=!1;this.H=new _.QSc(a);this.Ma(this.H);this.O=new s$c(_.SSc(this.H,"direct"));this.Ma(this.O);a=_.SSc(this.H,"passthrough");this.V=b?a:new s$c(a);this.Ma(this.V);this.LW=b};_.L(cO,_.N);cO.prototype.registerService=function(a,b){this.O.registerService(a,b)};
cO.prototype.send=function(a,b,c){this.O.send(a,b||{},c||_.Ef)};var UO=function(a,b,c){if(a.LW)throw Error("Re");a.V.registerService(b,c,!0)},VO=function(a,b,c,d){if(a.LW)throw Error("Se");a.V.send(b,c||{},d||_.Ef)};cO.prototype.start=function(){this.started||(this.started=!0);if(this.LW)throw Error("Te");};var c2c=[],t$c=function(){_.hy.call(this);this.H=null};_.L(t$c,_.hy);t$c.prototype.send=function(a,b){_.t6a(this.H,a,b)};
var i2c=function(){this.O=new t$c;this.H=new t$c;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},u$c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.kc=null},v$c=function(a,b){b=void 0===b?!1:b;null==a.kc&&(a.kc=b)&&b2c(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.kc}},w$c=function(a){var b=new u$c(a.c,a.m,a.a,a.req);b.kc=a.s;return b},x$c=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.kc=null},y$c=function(a,
b){b=void 0===b?!1:b;null==a.kc&&a.data&&(a.kc=b)&&b2c(a.data);return{d:a.data,err:a.error&&b?a.error.kc():a.error,uid:a.H,s:b}},z$c=function(a){var b=a.s,c=a.err&&b?new _.kc(JSON.parse(a.err)):a.err;a=new x$c(c?void 0:a.d,c,a.uid);c||(a.kc=b);return a},a2c=function(a,b){this.H=a;this.FD=b};a2c.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.FD[b];return a};
a2c.prototype.kc=function(){for(var a={},b={},c=0;c<this.FD.length;c++){var d=this.FD[c],e=this.H[c];d instanceof Error?b[e]=_.QL(d).kc():a[e]=d.kc()}return{r:a,e:b}};A$c=function(a,b){if(b){var c=[],d=[];_.Ma(a.r,function(e,f){c.push(f);d.push(new _.UM(JSON.parse(e)))});_.Ma(a.e,function(e,f){c.push(f);e=new _.kc(JSON.parse(e));d.push(_.bM(e))});return new a2c(c,d)}return a};g2c=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
B$c={STb:0,lUb:1,f_b:3,s7b:5,fjb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.lM=function(a){_.O(this,a,-1,null,null)};_.L(_.lM,_.K);_.lM.prototype.zh=function(){return _.B(this,1)};_.lM.prototype.xe=function(){return _.C(this,_.lf,3)};_.oM=function(a){_.O(this,a,-1,null,null)};_.L(_.oM,_.K);_.oM.prototype.Cc=function(){return _.B(this,1)};_.oM.prototype.xe=function(){return _.C(this,_.lf,3)};_.wM=function(a){_.O(this,a,-1,null,null)};_.L(_.wM,_.K);
_.wM.prototype.zh=function(){return _.B(this,1)};_.wM.prototype.xe=function(){return _.C(this,_.lf,2)};_.xM=function(a){_.O(this,a,-1,null,null)};_.L(_.xM,_.K);_.xM.prototype.zh=function(){return _.B(this,1)};_.xM.prototype.xe=function(){return _.C(this,_.lf,2)};_.yM=function(a){_.O(this,a,-1,null,null)};_.L(_.yM,_.K);_.g=_.yM.prototype;_.g.Cc=function(){return _.B(this,1)};_.g.Af=function(){return _.B(this,2)};_.g.getType=function(){return _.B(this,3)};_.g.Ya=function(){return _.B(this,4)};
_.g.Lb=function(a){return _.A(this,4,a)};_.g.Ai=function(){return _.Lj(this,4)};_.g.ih=function(){return _.P(this,4)};_.g.xe=function(){return _.C(this,_.lf,7)};_.FM=function(a){_.O(this,a,-1,null,null)};_.L(_.FM,_.K);_.FM.prototype.Cc=function(){return _.B(this,1)};_.FM.prototype.xe=function(){return _.C(this,_.lf,2)};_.FM.prototype.Mi=function(){return _.bk(this,3,1E3)};_.FM.prototype.xi=function(a){return _.A(this,3,a)};_.IM=function(a){_.O(this,a,-1,null,null)};_.L(_.IM,_.K);
_.IM.prototype.xe=function(){return _.C(this,_.lf,1)};var C$c=function(){var a=new _.IM,b=_.mf(new _.lf,301);return _.J(a,1,b)};_.IM.prototype.Bc=function(){return _.B(this,3)};_.eWc=function(a){_.O(this,a,-1,null,null)};_.L(_.eWc,_.K);_.eWc.prototype.Bc=function(){return _.B(this,1)};_.MM=function(a){_.O(this,a,-1,null,null)};_.L(_.MM,_.K);_.MM.prototype.zh=function(){return _.B(this,1)};_.MM.prototype.xe=function(){return _.C(this,_.lf,4)};var D$c=function(a){_.O(this,a,-1,null,null)};_.L(D$c,_.K);
E$c=function(a,b){return _.A(a,1,b)};_.mM=function(a){_.O(this,a,-1,null,null)};_.L(_.mM,_.K);_.mM.prototype.getId=function(){return _.B(this,1)};_.mM.prototype.Pb=function(a){return _.A(this,1,a)};_.CM=function(a){_.O(this,a,-1,null,null)};_.L(_.CM,_.K);_.CM.prototype.getId=function(){return _.B(this,1)};_.CM.prototype.Pb=function(a){return _.A(this,1,a)};_.SVc=function(a){_.O(this,a,-1,null,null)};_.L(_.SVc,_.K);
var F$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(F$c,_.ri);F$c.prototype.wB=function(){return this.O};F$c.prototype.kQ=function(){var a=this;if(this.W)return this.W;var b=_.Th();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);G$c(this,b);return b.promise};F$c.prototype.oa=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,H$c(this))};
F$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 e6c("ib")))};
var I$c=function(a,b){a.ha=b},H$c=function(a){a.H||(a.H=new _.yZc(5E3),a.timeout=_.n.setTimeout(function(){return J$c(a)},a.H.Ya()))},J$c=function(a){G$c(a);a.H&&(_.rH(a.H),a.timeout=_.n.setTimeout(function(){return J$c(a)},a.H.Ya()))},G$c=function(a,b){var c=_.Ph();a.ha&&(c=a.ha());c.then(function(){return K$c(a,b)})},K$c=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Te(new _.fWc)});b?c.then(function(){b.resolve(E$c(new D$c,1))},function(d){var e=_.$A(d).Pg;
d=0;_.TUc(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 D$c;E$c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.$A(d);_.TUc(d.Pg)&&a.V&&(a.dispatchEvent(new e6c("jb")),a.V=!1)})};F$c.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var L$c=function(a){return _.C(a,_.JL,3)||_.C(a,_.SM,4)||_.C(a,_.GN,5)||_.C(a,_.PM,6)||_.C(a,_.qM,7)||_.C(a,_.jM,8)||_.C(a,_.nM,9)||_.C(a,_.TL,10)},M$c=function(a){_.O(this,a,-1,null,null)};_.L(M$c,_.K);_.g=M$c.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.Lz=function(){return _.B(this,3)};_.g.Me=function(){return _.B(this,4)};_.g.yi=function(a){return _.A(this,4,a)};var N$c=function(a){this.Cd=a;this.H=new Map;this.O=this.Cd.W};
N$c.prototype.create=function(a,b){if(0!=K5c(b)){var c=this.Cd.H(106001);if(c){var d=K5c(b),e=pO(c);_.A(e,2,d);d=pO(c);e=null;if(b instanceof _.WF||b instanceof _.Zz||b instanceof _.Ye||b instanceof _.DM||b instanceof _.iD||b instanceof _.JF||b instanceof _.wL||b instanceof _.EL||b instanceof _.LF||b instanceof _.Jz)e=b.xe();e=e&&_.S(e,2,!1);_.A(d,7,"boolean"==typeof e?e:void 0);d=pO(c);b=b instanceof _.Ye?0<_.Gl(b).length:void 0;_.A(d,8,b);this.H.set(a,c)}}};
var O$c=function(a,b,c){if(a=a.H.get(b))a=pO(a),_.A(a,5,c)},P$c=function(a,b,c){(a=a.H.get(b))&&_.R(pO(a),8)&&(a=pO(a),_.A(a,9,c))},Q$c=function(a,b,c,d,e){var f=a.H.get(b);f&&(pO(f).Dc(c),pO(f).kj(d),null!=e&&(c=pO(f),_.A(c,6,e)),f.Zj(),a.H.delete(b))},R$c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Ab(c);c=L5c(c);if(1==e||2==c)e=_.vN(_.JUc,c),d=pO(d),d=3==e||8==e?!_.R(d,5):0!=e?_.fVc.has(e):null,Q$c(a,b,1,e,d)}},S$c=function(a,b,c){var d=a.O.Ab(c);d=_.vN(_.IUc,d||22);var e=L5c(c);e=_.vN(_.JUc,
e);Q$c(a,b,d,e,"undefined"!=typeof _.zN&&c instanceof _.zN||"undefined"!=typeof _.BN&&c instanceof _.BN||"undefined"!=typeof _.CN&&c instanceof _.CN?c.f0:null)},WO=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(pO(d).Dc(c),d.Zj(),a.H.delete(b))},XO=function(a,b){_.gi.call(this,"Gb");this.error=a;this.H=b};_.L(XO,_.gi);var T$c=[2,4],YO=function(a){_.O(this,a,-1,T$c,null)};_.L(YO,_.K);YO.prototype.Ab=function(){return _.B(this,1)};YO.prototype.Dc=function(a){return _.A(this,1,a)};
YO.prototype.$j=function(){return _.B(this,3)};var U$c=[4,9],V$c=function(a){_.O(this,a,-1,U$c,null)};_.L(V$c,_.K);_.g=V$c.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.UVa=function(){return _.B(this,2)};_.g.sMa=function(){return _.B(this,3)};_.g.htb=function(){return _.Uj(this,_.ML,4)};var W$c={$6b:0,C1b:1,F1b:2,D1b:4,m_b:5,zXb:6,t_b:7,S1b:8},X$c=function(a){_.O(this,a,-1,null,null)};_.L(X$c,_.K);X$c.prototype.getUrl=function(){return _.B(this,1)};
var ZO=function(a){_.O(this,a,-1,null,null)};_.L(ZO,_.K);var Y$c=function(a,b){return _.A(a,1,b)};ZO.prototype.getName=function(){return _.B(this,2)};ZO.prototype.jd=function(a){return _.A(this,2,a)};ZO.prototype.getEmail=function(){return _.B(this,3)};var Z$c=function(a,b){return _.A(a,3,b)};ZO.prototype.xp=function(){return _.P(this,3)};var $$c=[1],aad=function(a){_.O(this,a,-1,$$c,null)};_.L(aad,_.K);var bad=function(a,b){return _.Nj(a,1,b)},cad=function(a){_.O(this,a,-1,null,null)};_.L(cad,_.K);
_.g=cad.prototype;_.g.Cc=function(){return _.B(this,1)};_.g.Ab=function(){return _.B(this,2)};_.g.Dc=function(a){return _.A(this,2,a)};_.g.getError=function(){return _.C(this,_.kc,3)};_.g.Se=function(a){return _.J(this,3,a)};_.g.Fn=function(){return _.P(this,3)};var dad=[2],$O=function(a){_.O(this,a,-1,dad,null)};_.L($O,_.K);$O.prototype.Ab=function(){return _.B(this,1)};$O.prototype.Dc=function(a){return _.A(this,1,a)};$O.prototype.ll=function(){return _.Uj(this,_.KF,2)};
var ead=function(a,b){return _.Nj(a,2,b)};$O.prototype.$j=function(){return _.B(this,3)};var fad=[1],gad=function(a){_.O(this,a,-1,fad,null)};_.L(gad,_.K);var had=function(a,b){return _.Kj(a,1,b)},iad=function(a,b){this.O=a|0;this.H=b|0};iad.prototype.equals=function(a){return this===a?!0:a instanceof iad?this.O===a.O&&this.H===a.H:!1};iad.prototype.Ic=function(){return 31*this.O+17*this.H|0};
var jad=function(a,b){return new iad(a,b)},kad=function(a,b){b=~b;a?a=~a+1:b+=1;return jad(a,b)},lad=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?kad:jad)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},mad=function(){this.H=this.W=this.O=this.V=null},nad=function(a,b,c){this.id=a;this.O=b;this.H=c},oad=function(a,b){return new nad((a?a:b).getId(),a,b)},aP=function(a){return new nad(a.getId(),null,a)},pad=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},bP=function(a,b,c){if(a.started)throw Error("bf");c={Eo:new Set(b),callback:c};b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.O.get(d)||[];e.push(c);a.O.set(d,e)}},cP=function(a,b){if(!a.started)throw Error("cf");if(!a.enabled)throw Error("df`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));a.log("Passing Milestone: "+b);a.V.add(b);var c=a.O.get(b);if(c){a.O.delete(b);for(var d=0;d<c.length;++d){var e=c[d];e.Eo.delete(b);if(0===e.Eo.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.bM(f):null,f;}}}};pad.prototype.H=function(a){return this.V.has(a)};pad.prototype.start=function(){this.started=!0};pad.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var qad=function(){_.ri.call(this);this.H=Date.now()};_.L(qad,_.ri);qad.prototype.jF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var rad=function(a,b){this.wu=a;this.zw=b;this.iK=!0;this.h8=!1;this.Pe=0},dP=function(a,b){(a.iK=b)||a.zJ()};_.g=rad.prototype;
_.g.Xka=function(a,b){if(5===this.zE(a))throw Error("ef");for(var c=[],d=_.m(this.gy()),e=d.next();!e.done;e=d.next())e=e.value,RO(this.wu,a,e.getItem())&&c.push(e);this.zw.sort(a,c,b);return c};_.g.Ld=function(){return this.gy().length};_.g.uk=function(a){var b=this.Xka(a,void 0);b=z2c(b);var c=new _.QA;c.Qw(b);c.Dc(this.KN(a)?6:1);return c};_.g.update=function(a){var b=this.Bs(a.O),c=this.Bs(a.H);if(!b&&!c)return!1;b&&this.qJ(a.O);c&&this.uR(a.H);return!0};
_.g.zE=function(a){return this.iK&&this.h8?S9c(a)?1:5:5};_.g.gX=function(){this.h8=!0};_.g.Bs=function(a){return!!a&&this.iK};_.g.kj=function(a){this.Pe=a};_.g.jf=function(){return this.Pe};var eP=function(a,b,c,d,e,f){f=void 0===f?"":f;rad.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Od=[];this.O={};this.request=SO(c,d,!0);this.H=!e;sad(this,e);this.V=function(k,l){return h.zw.compare(h.request,k,l)}};_.L(eP,rad);_.g=eP.prototype;_.g.wd=function(){return this.request};
_.g.uR=function(a){var b=this.O[a.getId()];b&&this.qJ(b);v1c(this.Od,a,this.V);this.O[a.getId()]=a;a.count++;this.Od.length>this.request.Mi()&&(this.qJ(_.fa(this.Od)),this.H=!1)};_.g.qJ=function(a){var b=this.Od,c=_.Ha(b,a,this.V);0<=c&&_.ta(b,c);_.Xa(this.O,a.getId());a.count--};_.g.zJ=function(){this.Od.forEach(function(a){a.count--});this.Od=[];this.O={}};_.g.gy=function(){return this.Od};
_.g.zE=function(a){var b;if(b=this.W.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=F1c(b,a,_.HVc);return b?this.H?1:6:5};_.g.Xka=function(a,b){if(5===this.zE(a))throw Error("ef");b=b?Math.min(b,this.Od.length):this.Od.length;return _.Aa(this.Od,0,b)};_.g.Bs=function(a){if(!rad.prototype.Bs.call(this,a)||!RO(this.wu,this.request,a.getItem()))return!1;if(this.H||_.S(this.request,48,!1))return!0;var b=_.fa(this.Od);return!!b&&0>=this.V(a,b)};_.g.KN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.ol=function(a,b){var c=this,d=_.fa(this.Od);!this.H&&d&&_.ka(a,function(e){return e.getId()===d.getId()})&&(b?(this.qJ(d),sad(this,_.fa(a))):this.H=!0);_.Ka(a,function(e){c.update(aP(e))})};var sad=function(a,b){b&&RO(a.wu,a.request,b.getItem())&&a.uR(b)};eP.prototype.my=function(){return this.nextPageToken};var fP=function(a,b){rad.call(this,a,b);this.Od=new Map};_.L(fP,rad);fP.prototype.uR=function(a){this.Od.set(a.getId(),a);a.count++};
fP.prototype.qJ=function(a){this.Od.delete(a.getId());a.count--};fP.prototype.zJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Od=new Map};fP.prototype.gy=function(){return Array.from(this.Od.values())};var tad=function(a,b){fP.call(this,a,b);this.gX()};_.L(tad,fP);_.g=tad.prototype;
_.g.zE=function(a){var b=this,c=fP.prototype.zE.call(this,a);if(5===c)return c;if(0<_.Md(a,33).length)return 5;a=_.Gl(a);return 0<a.length?a.every(function(d){return(d=b.Od.get(d.Ya()))&&!d.getItem().Bc()&&d.O})?1:5:5};_.g.Bs=function(a){return fP.prototype.Bs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().Bc())};_.g.Xka=function(a,b){for(var c=[],d=_.m(this.gy()),e=d.next();!e.done;e=d.next())e=e.value,RO(this.wu,a,e.getItem())&&c.push(e);this.zw.sort(a,c,b);return c};_.g.wd=function(){return new _.Ye};
_.g.getType=function(){return"MyDriveCorpusCache"};_.g.KN=function(){return!1};var gP=function(a,b,c,d){fP.call(this,a,b);var e=this;this.H=d;bP(c,["aU7Ts","BNEDtc"],function(){return e.gX()})};_.L(gP,fP);gP.prototype.zE=function(a){var b=this,c=fP.prototype.zE.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()&&O1c(d.getItem())&&!_.R(d.getItem(),108)})?5:1};
gP.prototype.Bs=function(a){return fP.prototype.Bs.call(this,a)&&uad(this,a.getItem())};var uad=function(a,b){if(_.R(b,31)||!a.h8)return!0;var c=a.H();return b.mk().some(function(d){var e=a.Od.get(d);return d==c||null!=e&&O1c(e.getItem())})};gP.prototype.gX=function(){fP.prototype.gX.call(this);for(var a=_.m(this.Od),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;uad(this,c.getItem())||(c.count--,this.Od.delete(b))}};gP.prototype.wd=function(){return new _.Ye};
gP.prototype.getType=function(){return"SubscribedCorpusCache"};gP.prototype.KN=function(){return!1};var vad=/^[\x00-\x7F]*$/,wad=function(){this.rootId=""};wad.prototype.Fu=function(a){this.rootId=a||""};
var S9c=function(a){return xad(a)&&0==_.Md(a,40).length&&void 0==_.B(a,41)},xad=function(a){var b=!0;_.Uj(a,_.af,13).forEach(function(d){"me"!=d.Ya()&&(b=!1)});var c=a.Ac();c=!c||5!=c.getType();return 0==_.Uj(a,_.Al,5).length&&0==_.Uj(a,_.af,14).length&&0==_.Uj(a,_.af,15).length&&!_.P(a,58)&&!_.R(a,18)&&!_.R(a,34)&&0==_.Uj(a,_.vl,35).length&&0==_.Uj(a,_.vl,38).length&&c&&b&&0==_.Md(a,39).length&&!_.B(a,42)&&0==_.Uj(a,_.ul,44).length&&!_.zM(a)&&!_.AM(a)&&!_.BM(a)&&0==_.Uj(a,_.wl,57).length&&yad(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)},yad=function(a){return _.Uj(a,_.Bl,4).every(function(b){b=b.Ya();return!b||!b.includes("*")&&vad.test(b)})};wad.prototype.b9=function(a,b){var c=this;return b.filter(function(d){return RO(c,a,d)})};
var RO=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!QO(c);if(d){d=!0;var e=_.Uj(b,_.Bl,4);if(yad(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.Ya()){var k=_.S(h,3,!1),l=(c.getTitle()||"").toLowerCase(),p=h.Ya().toLowerCase();if(2==_.B(h,1))l=p==l,d=d&&(k?!l:l);else{h=[];if(0<=p.indexOf("-"))for(var q=/\w*-[\w-]*/,r=_.m(p.match(q)||[]),u=r.next();!u.done;u=r.next())h.push(u.value),p=p.replace(q,"");h.push.apply(h,_.jd(p.split(/\b/)));for(p=0;p<h.length&&d;p++)q=h[p],r=!0,0!=(0,_.cg)(q).length&&
(0==q.replace(/\./g,"").length&&(r=!1),q=!!l.match(r?new RegExp("(^|[^\\w])"+_.Ig(q)+"($|[^\\w])|(^|[ ])"+_.Ig(q)):new RegExp(_.Ig(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.Fl(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.Ya()&&(q=c.getMimeType()||"",_.R(h,4)&&(q=(p=c.Pf())&&_.B(p,3)||""),p=_.S(h,2,!1),r=h.Ya(),_.WM(b)&&(r=r.toLowerCase(),q=q.toLowerCase()),h=0===_.Gj(h,3,0)?r===q:q.includes(r),p?(e++,k=k||h):(d++,f=f||h));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.Uj(b,_.yl,7),
e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Bq(),d=d&&zad(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.dz(),d=d&&zad(k,f);d&&(d=b.Sh(),e=(e=_.fN(b))&&(2==e||3==e),d=null==d||d==!!c.Sh()&&(!d||1==c.hp()||!!e));d&&(d=null==_.R(b,10)||_.R(b,10)==!!c.QA());d&&(d=null==b.Dm()||b.Dm()==!!c.Dm());if(d)a:{d=_.Gl(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.Ya()&&(f="root"==e.Ya()&&a.rootId||e.Ya(),f=c.mk().includes(f),_.S(e,2,!1)?f:!f)){d=
!1;break a}d=!0}if(a=d)a:{a=_.Uj(b,_.af,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.Ya()&&(e=1==c.hp(),_.S(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.R(b,16)||(_.R(b,16)?null!=c.oy():!0));a&&(a=_.R(b,17),d=(d=_.fN(b))&&(2==d||3==d),a=null==a||a==!!c.NI()&&(!a||1==c.hp()||!!d));a&&(a=X1c(c),a=null==_.R(b,19)||_.R(b,19)==!!_.Wk(a));a&&(a=!0);if(a=a&&Aad(b,c)&&Bad(b,c))a=_.Md(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&Cad(b,c))_.B(b,41)?(a=_.C(c,_.$M,86),a=null!=a&&
_.B(b,41)==_.B(a,3)):a=!0;if(a=a&&Dad(b,c))a=_.fN(b),1==a?(a=_.R(c,31),a=!!_.Gl(b).length||!!_.Uj(b,_.vl,35).length||1==_.R(b,18)||_.zM(b)||_.AM(b)||_.BM(b)||!!b.Pp()||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.zM(b)?!!_.al(c)&&!c.Sh():!0);a&&(a=_.AM(b)?!!_.bl(c).length&&!c.Sh():!0);a&&(a=_.BM(b)?!!_.cl(c).length&&!c.Sh():!0);a&&(a=_.P(b,50)?_.S(b,50,!1)?_.P(c,101)&&0!==_.B(c,101):!_.P(c,101):!0);a&&(a=b.Pp(),a=!a||_.Md(c,120).includes(a));a&&(c=_.C(c,_.YM,138),null==_.R(b,65)||null==c?a=!0:(c=2==_.B(c,
1),a=_.R(b,65)==c));return a},zad=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},Aad=function(a,b){var c=_.cb(_.Md(b,56));a=_.Uj(a,_.eN,25);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})},Bad=function(a,b){if(0==a.nB().length)return!0;var c=_.cb(b.nB().map(function(d){return _.B(d,1)}));a=_.cb(a.nB().map(function(d){return _.B(d,
1)}));return _.Qa(a,function(d,e){return c[e]})},Cad=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()]})},Dad=function(a,b){if(_.Md(a,40).length){if(b=_.C(b,_.$M,86)){var c=_.cb(_.Md(b,2));return _.Md(a,40).some(function(d){return c[d]})}return!1}return!0},hP=function(a,b,c,d){d=void 0===d?5E3:d;fP.call(this,a,b);this.teamDriveId=c;this.limit=d};_.L(hP,fP);_.g=hP.prototype;
_.g.zE=function(a){var b=this,c=fP.prototype.zE.call(this,a);if(5==c)return c;c=_.Gl(a);var d=c.every(function(e){var f=e.Ya();return(null!=b.Od.get(f)||b.teamDriveId==f)&&!_.S(e,2,!1)});if(0<c.length&&d)return 1;a=_.Md(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.Bs=function(a){return fP.prototype.Bs.call(this,a)&&!!a&&a.getItem().Bc()==this.teamDriveId&&!QO(a.getItem())};_.g.KN=function(){return!1};_.g.wd=function(){var a=new _.Ye;_.Il(a,[this.teamDriveId]);_.Jl(a,2);return a};
_.g.Bc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var Ead=function(a,b){this.V=a;this.ka=b;this.W=[];this.ha=this.H=null;this.O=[];a=new _.Ye;_.A(a,48,!0);b=new _.Yc;_.Zc(b,11);_.$c(b,2);_.Ze(a,b);this.ma=SO(this.V,a,!0)};Ead.prototype.add=function(a){a instanceof gP?this.H=a:a instanceof tad?this.ha=a:a instanceof eP?(this.log("Adding new cache hint for "+TO(this.V,a.wd(),2)),this.W.push(a)):a instanceof hP&&this.O.push(a)};
Ead.prototype.remove=function(a){var b=this;if(a instanceof gP)this.H&&(dP(this.H,!1),this.H=null);else if(a instanceof tad)this.ha&&(dP(this.ha,!1),this.ha=null);else if(a instanceof eP){var c=_.ja(this.W,function(d){return b.V.equals(d.wd(),a.wd())});0<=c&&(dP(this.W[c],!1),_.ta(this.W,c))}else a instanceof hP&&(c=_.ja(this.O,function(d){return b.V.equals(d.wd(),a.wd())}),0<=c&&(dP(this.O[c],!1),_.ta(this.O,c)))};
var Fad=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},Gad=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})};Ead.prototype.dW=function(){return _.ya(this.O)};var Had=function(a,b){return _.ag(a.O,function(c){return c.Bc()===b})},Iad=function(a,b){return Gad(a).find(function(c){return a.V.equals(c.wd(),SO(a.V,b,!0))})};
Ead.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var Jad=function(a,b){_.gi.call(this,"Ib");this.ids=a;this.error=b};_.L(Jad,_.gi);Jad.prototype.getError=function(){return this.error};Jad.prototype.H=function(){return this.ids};var Kad=function(a){_.gi.call(this,"Jb");this.people=a};_.L(Kad,_.gi);Kad.prototype.getPeople=function(){return this.people};var Lad=function(a){_.gi.call(this,"Kb");this.people=a};_.L(Lad,_.gi);
Lad.prototype.getPeople=function(){return this.people};var Nad=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);Mad(this)};Nad.prototype.jf=function(){return this.Pe};
var Oad=function(a){return 0===a.Pe?1:2===a.Pe||(1===a.Pe||4===a.Pe)&&(a.person.xp()||a.O)?3:2},Pad=function(a,b,c){if(_.B(b,1)!==_.B(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=Oad(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=Z$c(b.clone(),a.getEmail(b)),e=!_.ak(a.person,b),a.person=b,a.Pe=c,Mad(a),e||d!==Oad(a);if(4===c)return a.Pe=c,Mad(a),d!==Oad(a);c=b;return!a.person.getEmail()&&c.getEmail()?(Z$c(a.person,a.getEmail(b)),!0):!1};
Nad.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var Mad=function(a){1===a.Pe?(a.W=Date.now(),a.V=null):4===a.Pe&&(a.V=Date.now())},Rad=function(a,b,c,d){_.ri.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.uL(function(){return Qad(e)},100,this)};_.L(Rad,_.ri);Rad.prototype.Yg=function(a){a&&_.IL(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.ve())};
var Qad=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)}})};Rad.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Te;var e=new _.HM;e=_.Kj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Uj(c,ZO,1);b.dispatchEvent(new Kad(c))},function(c){c=_.$A(c);b.dispatchEvent(new Jad(a,c))})};
Rad.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var Uad=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,F4c,85)||new F4c,1,864E5);this.W=new Rad(a,b,c,e);this.ma=new _.AD(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:M5c(h,106015);if(k){h=_.C(_.uN(k),l5c,11);if(!h){h=new l5c;var l=_.uN(k);_.J(l,11,h)}h=_.A(h,1,f.H.size);_.A(h,2,f.O.size);k.Zj()}},500,this);this.Mc.listen(this.W,"Jb",function(h){h=h.getPeople();Sad(f,
h,1);f.ma.ve()});this.Mc.listen(this.W,"Ib",function(h){Tad(f,h)})};_.L(Uad,_.ri);Uad.prototype.get=function(a){var b=this.H.get(a);return b?(Vad(this,b)&&Wad(this,a),b):null};var Wad=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};Uad.prototype.Tb=function(a){var b=this;return Xad(this,a)?Promise.resolve(this.H.get(a)):Wad(this,a).then(function(){return b.H.get(a)})};
Uad.prototype.wc=function(){return 0===this.H.size};Uad.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var Yad=function(a){return[].concat(_.jd(a.H.values())).filter(function(b){return 3===Oad(b)&&4!==b.jf()}).map(function(b){return b.person.clone()})},Zad=function(a,b){return(a=a.H.get(b))?[].concat(_.jd(a.H)):[]},$ad=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)))}},Sad=function(a,b,c){if(![1,2].includes(c))throw Error("ff");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(W$c)[c]+".")),abd(a,b,c))},cbd=function(a,b,c,d){0!==b.length&&bbd(a,b,c,void 0===d?0:d)},Xad=function(a,b){b=a.H.get(b);return!(!b||3!==Oad(b)||Vad(a,b))},bbd=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)Pad(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&&Wad(k,_.B(f,1));l=new Nad(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},Vad=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}};Uad.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var Tad=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():Y$c(new ZO,c)});abd(a,b,4)},abd=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))}bbd(a,b,void 0,c)&&a.dispatchEvent(new Lad(b))},dbd=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 Uad(a,b,c,e,f);this.O=_.SL(a)||new _.VUc;this.Mc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.L(dbd,_.ri);dbd.prototype.gP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=ebd(this,[c]).map(function(e){return fbd(b,e)});cbd(this.H,d,a.H.getId(),this.jf(_.B(c,82)))}a.O&&$ad(this.H,a.id,gbd(this,a))};dbd.prototype.jf=function(a){return _.oVc.get(a)||0};
var gbd=function(a,b){var c=hbd(a,b.O),d=hbd(a,b.H);return c.filter(function(e){return!d.includes(e)})},hbd=function(a,b){return b?ibd(a,[b.getItem()]):[]},kbd=function(a,b){b=b.getUser();cbd(a.H,[fbd(a,b)],"ACCOUNT");jbd(a,b)},mbd=function(a,b){var c=_.Uj(b,_.lN,2).map(function(d){var e=_.C(d,_.Fk,9,1);return a.H.Tb(_.VF(e)).then(function(){return void lbd(a,[e])})});return Promise.all(c).then(function(){return b})},lbd=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.VF(c)&&
jbd(a,c)},nbd=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.VF(f)&&(d.add(_.VF(f)),cbd(a.H,[fbd(a,f)],c));return Promise.all([].concat(_.jd(d)).map(function(h){return a.H.Tb(h)})).then(function(){return lbd(a,b)})},pbd=function(a,b){return ibd(a,[b]).some(function(c){return!obd(a,c)})},obd=function(a,b){return Xad(a.H,b)},ibd=function(a,b){var c=new Set;a=ebd(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=_.VF(b.value))&&c.add(b);return[].concat(_.jd(c))},
ebd=function(a,b){return b.map(function(c){var d=c.Vw();d=d?[].concat(_.jd(d.hR()),_.jd(_.Uj(d,_.Fk,3))):[];var e=c.Pf();e=(e=e&&_.Qd(e))?ebd(a,[e]):[];return[].concat(_.jd(_.Zk(c)),[c.zm(),c.Rv(),c.Mq(),c.hD()],_.jd(d),_.jd(e))}).flat().filter(function(c){return c&&!!_.VF(c)})};dbd.prototype.Gd=function(a){return Zad(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var qbd=function(a,b){return b.map(function(c){c=c.clone();var d=ebd(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})},sbd=function(a,b){return b.some(function(c){return rbd(a,c)})},rbd=function(a,b){return ebd(a,[b]).some(function(c){return _.P(c,3)||c.xp()||_.P(c,5)})},jbd=function(a,b){var c=a.H.get(_.VF(b));if(c){a=c.person.clone();var d=_.uWc(b.jd(a.getName()),a.getEmail());c=Oad(c);_.A(d,16,c);(a=_.C(a,X$c,4))&&b.jo(a.getUrl())}},fbd=function(a,
b){var c=_.VF(b);c=Z$c(Y$c(new ZO,c).jd(b.getName()),b.getEmail());var d=new X$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},tbd=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};tbd.prototype.Vf=function(){return this.suggestionSessionId};tbd.prototype.jAa=function(){return this.O};tbd.prototype.wc=function(){return this.H};
var ubd=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},vbd=function(a,b){a=ubd(a);b=ubd(b);return!(!a||!b||a!==b)},wbd=function(a){return a.Cc()+"_"+ubd(a.getName())},xbd=function(a,b){var c=_.Md(a,1).map(function(d,e){return b[Number(e)].value.P3a.promise});return Promise.allSettled(c).then(function(d){return _.Md(a,1).map(function(e,f){e=e.toString();var h=new cad;e=_.A(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Dc(1):(e.Dc(3),e.Se(f.reason.Pg));return e})})},iP=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.yy=new Set;this.status=6;this.V=new Map;this.Pe=0};_.L(iP,_.N);_.g=iP.prototype;_.g.ai=function(a){var b=this;this.yy.add(a);return this.resize().then(function(){return b.vO(a)})};_.g.ik=function(a){this.yy.delete(a);0===this.yy.size&&this.dispose()};_.g.jf=function(){return this.Pe};_.g.kj=function(a){this.Pe=a};
_.g.oD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Ju(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.PX():_.Ph([])};_.g.PX=function(){for(var a=[],b=_.m(this.yy.values()),c=b.next();!c.done;c=b.next())a.push(this.vO(c.value));return _.Sh(a)};
_.g.OX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.yy.values()),e=d.next();!e.done;c={mra:c.mra},e=d.next())c.mra=e.value,b.push(this.O.then(function(f){return function(h){return void h.OX(f.mra,a)}}(c)));return _.Sh(b)};_.g.kA=function(){for(var a=this,b=[],c={},d=_.m(this.yy.values()),e=d.next();!e.done;c={nra:c.nra},e=d.next())c.nra=e.value,b.push(this.O.then(function(f){return function(h){return void h.kA(f.nra)}}(c)));return _.Sh(b).then(function(){a.kj(0===a.jf()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.yy.forEach(function(d){d=b.Kka(d);c=Math.max(c,d.Mi?d.Mi()||0:0)});a.Ffa(c)})};var ybd=function(a,b){return b?a.V.get(a.pka(b))||null:null};_.g=iP.prototype;_.g.cI=function(a,b){var c=ybd(this,a);b=C9c(c,b);this.V.set(this.pka(a),b)};_.g.pka=function(a){return a};_.g.tMa=function(){return[]};_.g.vO=function(a){var b=this;return this.O.then(function(c){return void c.vO(a,b.uk())})};_.g.removeItem=function(){};
var jP=function(a,b){_.ri.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.L(jP,_.ri);var zbd=function(a){return!a.O||""!==a.pageToken};jP.prototype.Yg=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&zbd(this)?Abd(this):_.Ph()};
var Abd=function(a){a.O=!0;a.H=!0;var b=a.qia(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return Bbd(a,c)},function(c){return a.handleError(c)})},Bbd=function(a,b){a.H=!1;a.pageToken=a.Eka(b);b=a.Rja(b);b.forEach(function(c){return a.data.push(c)});a.j6(b);return a.data.length<a.limit&&zbd(a)?_.Sh([_.Ph(b),Abd(a)]).then(function(c){return c[0].concat(c[1])}):_.Ph(b)};
jP.prototype.handleError=function(a){this.H=!1;a=_.QL(a);var b=new XO(a);this.uMa(b);this.dispatchEvent(b);return _.Rh(a)};jP.prototype.j6=function(){};jP.prototype.uMa=function(){};var Cbd=function(a,b,c){jP.call(this,c,function(d){return a.then(function(e){return e.Te(d)}).Gg(function(e){return void _.cM(e)})});this.V=b};_.L(Cbd,jP);_.g=Cbd.prototype;_.g.qia=function(a,b,c){a=a.clone();a.xi(b);return new _.UVc(a,c)};_.g.Eka=function(a){return a.pageToken||""};_.g.Rja=function(a){return a.response.O()};
_.g.j6=function(a){this.V.oD(a,!1,1)};_.g.uMa=function(a){this.V.pB(this.request,a)};var Dbd=function(a,b,c,d){iP.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.L(Dbd,iP);_.g=Dbd.prototype;_.g.refresh=function(){this.kA();this.H=new Cbd(this.ha,this.W,this.request);return this.H.Yg(this.request.Mi()||100)};_.g.Jq=function(a){return this.data.find(function(b){return vbd(b.getName(),a)})};
_.g.Ffa=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=l7c((new zO).Dc(this.status),this.data.filter(function(c){return a.W.$Ca(c)}).map(function(c){return c.clone()}));return new _.AN(b,void 0,void 0,this.jf())};_.g.oD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Cc()===d.request.Cc()});return iP.prototype.oD.call(this,a,b,c)};
_.g.Ju=function(a,b){b=void 0===b?1:b;if(!V1c(ybd(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return vbd(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.cI(a.getName(),b);return!0};_.g.removeItem=function(a){_.wa(this.data,function(b){return vbd(b.getName(),a)})&&(this.V.delete(this.pka(a)),this.PX())};_.g.pka=function(a){return ubd(a)};_.g.cI=function(a,b){this.Jq(a)&&iP.prototype.cI.call(this,a,b)};
_.g.tMa=function(a){var b=this;return a instanceof _.NM&&a.Cc()===this.request.Cc()?a.JV().map(function(c){return b.Jq(c.an())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var kP=function(){this.H=new Map};kP.prototype.ai=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.sia(b),this.H.set(c,d));d.ai(a);return e};var Ebd=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Zwa(c),a.H.set(d,e));e.ai(b);return f};
kP.prototype.ik=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.ik(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var Fbd=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.ik(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},Gbd=function(a,b){return a.H.get(b)};kP.prototype.oD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.$Ca(f)});this.H.forEach(function(f){f.oD(e,b,c)})};kP.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var Hbd=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.tMa(b)});return[].concat.apply([],_.jd(a))};kP.prototype.cI=function(a,b){this.H.forEach(function(c){c.cI(a,b)})};kP.prototype.$Ca=function(){return!0};kP.prototype.pB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.OX(b)};kP.prototype.Q2=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.sia(b),f.kj(c),this.H.set(e,f),this.oD(a,d))};var Ibd=function(){this.V=new Set;this.O=0;this.H=[]},Jbd=function(a,b){a.V.add(b)};
Ibd.prototype.W=function(a){this.V.delete(a)};var Kbd=function(a,b){var c;if(c=b instanceof _.Yk)c=b.Sv(),c=!!(b.Sh()&&c&&c<=Math.max.apply(Math,_.jd([a.O].concat(_.jd(a.H)))));if(c)return!0;b=b instanceof _.Yk?b.getId():b;return a.V.has(b)},Lbd=function(a,b){return _.wa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};Ibd.prototype.b9=function(a){var b=this;return a.filter(function(c){return!Kbd(b,c)})};var Mbd=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new Ibd};_.L(Mbd,kP);
var Nbd=function(a,b){Jbd(a.O,wbd(b));(a=Gbd(a,b.Cc()))&&a.PX()};_.g=Mbd.prototype;_.g.getKey=function(a){return a.Cc()};_.g.sia=function(a){return new Dbd(this.V,this.W,this,a)};_.g.Zwa=function(a){return new Dbd(this.V,this.W,this,a)};_.g.So=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=Gbd(this,b.getId()))&&b.refresh()};_.g.$Ca=function(a){return!Kbd(this.O,wbd(a))};
var Obd=function(a,b){this.O=a;this.H=b},Pbd=function(a,b){b=_.JUb(b);var c=new Cbd(a.O,a.H,b);new Promise(function(d,e){return c.Yg(100).then(d,e)})},Qbd=function(){this.Od={}},lP=function(a,b){Rbd(a,"subscribed");b&&Rbd(a,b);return a.Od[b||"subscribed"].le.promise},Rbd=function(a,b){a.Od[b]||(a.Od[b]={count:0,AR:[],T1a:[],le:_.Th()});a.Od[b].count++},Tbd=function(a,b){b&&!Sbd(a,b)||Sbd(a,"subscribed")},Sbd=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].AR,
sLb:a.Od[b].T1a}),_.Xa(a.Od,b));return!0};Qbd.prototype.So=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Bc();f&&f===e.Cc()&&c.Od[f]&&c.Od[f].T1a.push(e);c.Od[d]&&c.Od[d].AR.push(e)})};var Ubd=function(a,b,c){jP.call(this,a,c);this.V=b};_.L(Ubd,jP);Ubd.prototype.qia=function(a,b){return a.clone().xi(b)};Ubd.prototype.Eka=function(){return""};Ubd.prototype.Rja=function(a){return[a]};Ubd.prototype.j6=function(a){this.V(a)};
var Vbd=function(a,b,c,d){iP.call(this,a,d.clone());this.ha=b;this.H=this.XS=null;this.W=c};_.L(Vbd,iP);Vbd.prototype.refresh=function(){var a=this;this.kA();this.H=new Ubd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Te(b)})});return this.H.Yg(this.request.Mi()||0)};Vbd.prototype.Ffa=function(a){1===this.status||this.H&&a===this.request.Mi()||(this.request.xi(a),this.H?this.H.Yg(a):this.refresh())};
Vbd.prototype.uk=function(){if(this.XS)return this.XS;var a=new KO;a.Dc(this.status);return a};Vbd.prototype.Ju=function(a){this.XS=a;return!0};var Wbd=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.L(Wbd,kP);_.g=Wbd.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.sia=function(a){var b=this;return new Vbd(this.O,this.W,function(c){b.oD(c,!1)},a)};_.g.Zwa=function(){throw Error("gf");};
_.g.Q2=function(a,b,c,d){var e=a[0].ll();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.kq()}).join(", "));kP.prototype.Q2.call(this,a,b,c,d)};var mP=function(a,b,c,d){_.ri.call(this);this.request=a;this.Fa=b;this.oa=c;this.Ba=d;this.ma=0;this.le=null;this.O=new Set};_.L(mP,_.ri);
mP.prototype.Yg=function(){var a=this;if(this.le)return this.le.promise;this.le=_.Th();this.W(this.request).forEach(function(b,c){a.ma++;a.Fa.then(function(d){return d.Te(b)}).then(a.va.bind(a,c),a.handleError.bind(a,c))});return this.le.promise};mP.prototype.va=function(a,b){this.V(b);Xbd(this,a)};var Xbd=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Fb"),a.le.resolve()):a.dispatchEvent("Cb")};
mP.prototype.handleError=function(a,b){b=_.$A(b);var c=b.Pg;5===c.ht()||4===c.nk()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),Xbd(this,a)):(a=new XO(c,_.bk(this.oa.$f(),1,1)),this.dispatchEvent(a),this.le.reject(b))};var Ybd=function(a){var b=new _.KF;b.Pb(a);return b},Zbd=function(a,b,c,d,e){mP.call(this,a.clone(),c,d,e);this.H=b};_.L(Zbd,mP);
Zbd.prototype.W=function(a){var b=new Map;a.hn().forEach(function(c){var d=_.NTb(a.clone(),[c]);b.set(c,d)});return b};Zbd.prototype.V=function(a){var b=[];a.ST().forEach(function(c){b.push(c)});this.H(b,!0)};Zbd.prototype.ha=function(){this.H([],!1)};Zbd.prototype.ka=function(a){this.H([Ybd(a)],!0)};var $bd=function(a,b,c,d,e,f){iP.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.Yk={};this.H=null};_.L($bd,iP);
$bd.prototype.refresh=function(){this.H=new Zbd(this.request,this.ha,this.ma,this.W,this.ka);return this.H.Yg()};$bd.prototype.Ffa=function(){this.H||this.refresh()};$bd.prototype.uk=function(){var a=new _.yN;a.Dc(this.status);_.Ma(this.Yk,function(b,c){a.ST().set(c,b||new _.KF)});a.kj(this.jf());return a};$bd.prototype.Ju=function(a){var b=a.getId();if(_.ak(a,Ybd(a.getId()))){if(this.Yk[b])return delete this.Yk[b],!0}else if(0<=this.request.hn().indexOf(b))return this.Yk[b]=a,!0;return!1};
var acd=function(a,b){a=a.getState();return null==a||b.getState()==a},bcd=function(a,b,c){jP.call(this,a,c);this.V=b};_.L(bcd,jP);bcd.prototype.qia=function(a,b,c){a=a.clone();a.xi(b);return new _.gWc(a,c)};bcd.prototype.Eka=function(a){return a.pageToken||""};bcd.prototype.Rja=function(a){return a.response.ll()};bcd.prototype.j6=function(a){this.V(a)};var ccd=function(a){this.H=_.lSc(a,{numeric:!0})};
ccd.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};ccd.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 dcd=function(a,b,c,d,e){iP.call(this,a,e.clone());this.ha=b;this.Yk=[];this.H=null;this.W=d;a=new ccd(c);b=(c=this.request.qw())?c.getType():0;c=c?c.zf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.L(dcd,iP);dcd.prototype.refresh=function(){var a=this;this.kA();this.H=new bcd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Te(b)})});return this.H.Yg(this.request.Mi()||0)};dcd.prototype.Ffa=function(a){1===this.status||this.H&&a===this.request.Mi()||(this.request.xi(a),this.H?this.H.Yg(a):this.refresh())};dcd.prototype.uk=function(){var a=new $O;a.Dc(this.status);ead(a,this.Yk.map(function(b){return b.clone()}));return new _.DN(a,void 0,1!==this.status&&zbd(this.H),this.jf())};
dcd.prototype.Ju=function(a){var b=_.wa(this.Yk,function(c){return c.getId()===a.getId()});return a&&acd(this.request,a)&&!_.ak(a,Ybd(a.getId()))?v1c(this.Yk,a,this.ka):b};var ecd=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.L(ecd,kP);_.g=ecd.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.sia=function(a){var b=this;return new dcd(this.V,this.ha,mO(_.DL(this.O)),function(c){return void b.oD(c,!1)},a)};_.g.Zwa=function(a){var b=this;return new $bd(this.V,this.ha,this.O,this.W,function(c,d){return b.oD(c,d)},a)};_.g.Q2=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));kP.prototype.Q2.call(this,a,b,c,d)};
var fcd=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();$N(a)&&(c=(c=a.Pf())?_.B(c,3):"");aO(a)&&(a.Ti()&&(c+="+"+String(a.Ti())),a.Gj()&&(c+="+shared"));return _.gTa(c,b?"32":"16")},gcd=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("&")},hcd=function(a,b){var c=_.R(a,44),d=a.Pf();if(d){if(1!==_.Sd(d))return null;c=(c=_.Qd(d))?_.R(c,44):!0}if(!c)return null;c={};d=a.getId();$N(a)&&(d=N1c(a));
d=[_.E(b,65,"https://lh3.google.com"),"u",_.RL(_.DL(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.P(a,140)&&(c.resourcekey=_.el(a));return d=gcd(d,c)},icd=function(a){this.H=a},kcd=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=fcd(b,_.S(a.H,75,!1));_.A(b,21,d)}c.includes(18)&&_.bXc(b,B2c(b,a.H));c.includes(19)&&(d=hcd(b,a.H),_.A(b,20,d));jcd(a,b,c);if($N(b)){if(d=(d=b.Pf())&&_.Qd(d)){if(c.includes(20)&&c.includes(3)){var e=fcd(d,_.S(a.H,75,!1));_.A(d,21,e)}c.includes(18)&&_.bXc(d,B2c(d,
a.H));c.includes(19)&&(e=hcd(d,a.H),_.A(d,20,e));jcd(a,d,c)}_.fXc(b,!!b.Px())}},jcd=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!aO(b)&&!$N(b)&&!_.zd(e)&&(!b.c7()||2!==b.hp()),d&&_.A(b,40,e),e&&c&&(a=a.H,d=b.getId(),$N(b)&&(d=N1c(b)),c=new _.bj(_.E(a,16,"")+"/uc"),_.ij(c,"id",d),_.ij(c,"authuser",_.RL(_.DL(a))),_.ij(c,"export","download"),_.S(a,89,!1)&&_.P(b,140)&&_.ij(c,"resourcekey",_.el(b)),_.A(b,41,c.toString())))}},lcd=function(a,b){this.Aia="";
this.startTime=b||new Date;this.aea=a;this.W$=x1c(a)};lcd.prototype.clone=function(){return new lcd(this.aea,this.startTime)};var mcd=function(){this.H=null;this.IY=[]},ncd=function(a){return _.We(a.IY,function(b){return _.$a(b)})};mcd.prototype.qN=function(){return this.H};
mcd.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new mad;e.V=lad(d.W$);var f=_.Mg().substring(0,8);d=x1c(f);f=(new M$c).Pb(f);f=_.A(f,2,d);b=_.A(f,3,b).yi(c);this.IY.push(b);e.O=lad(d);e.H=jad(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;k3c(k,f);k3c(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.hk(d,2,1),k=d.O,k3c(k,f),k3c(k,h));f=e.W;null!=f&&(_.hk(d,3,5),k3c(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.hk(d,4,1),h=d.O,k3c(h,f),k3c(h,e));e=_.ok(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var ocd=function(){this.Cb=[];this.O=this.H=0};ocd.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 pcd=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},qcd=function(a){this.key=a;this.H=new _.lVc;this.O=new _.jVc(new _.lVc,_.oma(a))};qcd.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.pma(b);c=rcd(this,a);return b.concat(c,scd(this,b,a,!0))};
var tcd=function(a,b){var c=scd(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=rcd(a,c);if(b!==a)throw Error("hf");return c},rcd=function(a,b){a=_.kVc(a.O,_.DVc(b));return _.pma(a)},scd=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new ocd;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=_.DVc(c.substring(8192*
e,8192*(e+1))),pcd(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;pcd(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=ucd(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=ucd(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&
63)):239<f&&365>f?(h=ucd(d,e++),k=ucd(d,e++),l=ucd(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=ucd(d,e++),k=ucd(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},ucd=function(a,b){return a[Math.floor(b/8192)][b%8192]},vcd=function(a,b,c){this.data=a;this.BZa=b;this.H=c;this.isEncrypted=!1};vcd.prototype.getData=function(){return this.data};
vcd.prototype.Om=function(){return this.BZa};var wcd=function(a,b,c,d){this.O=a;this.H=_.Th();this.zp=!1;this.V=_.E(b,7,"");this.W=_.bk(_.nO(b),6,2E7);this.CG=_.IL(b);this.ha=_.bk(_.nO(b),12,0);this.ka=c;this.Cd=d||null};wcd.prototype.initialize=function(){var a=this;this.zp||(this.zp=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.$h(this.H.promise)};
wcd.prototype.WC=function(a){if(a instanceof _.ZA)return 0;if(a instanceof YO)return 1;if(a instanceof c6c)return 5;if(a instanceof MO)return 3;if(a instanceof aad)return 6;throw new _.lc("Unsupported dataShard in getDataType");};var xcd=function(a){if(0==a)return _.ZA;if(1==a)return YO;if(5==a)return c6c;if(3==a)return MO;if(6==a)return aad;throw new _.lc("Unsupported dataType:"+a+" in getDataTypeCtor");};wcd.prototype.wo=function(a){if(a instanceof MO)return a.wo()};
wcd.prototype.Om=function(a){if(a instanceof MO)return a.Fd().length};
var Ccd=function(a,b,c,d){if(0==c.length)return _.Ph();var e=a.WC(c[0]);c.forEach(function(){});var f=a.wo(c[0]),h=0;3==e&&ycd(a,c);var k=!!b;return zcd(a,c).then(function(l){if(k){var p=a.Cd?a.Cd.H(106023,d):null;h=l.reduce(function(r,u){return r+u.Om()},0);var q=Acd(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&&(q5c(p5c(o5c(p.RE(),_.vN(_.PUc,e)),_.vN(_.MUc,f)),!0),
q.then(function(){var r=h;n5c(p.RE(),!0).Dt(r);p.Zj()},function(){var r=h;n5c(p.RE(),!1).Dt(r);p.Zj()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return Bcd(a.O,l,e,f,k,d)})})},zcd=function(a,b){return new _.Oh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.kc();if(p.length>a.W)e=!0;else{var q=f.push,r=a.Om(l);l instanceof MO?(l=_.R(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new vcd(p,r,l))}}});if(e){var h=Error("lf"),k=new _.kc;_.OL(k,2);_.$L(k,23);
_.A(k,21,h.message);_.bq(k);a.ka(k);d(h)}c(f)})},ycd=function(a,b){a.wo(b[0]);b.forEach(function(){});a.CG||Dcd(b);Ecd(a,b)},nP=function(a,b,c,d,e,f){var h=_.Th(),k;_.Uh(a.H.promise.then(function(){return Fcd(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].S0){if(k=a.Cd?a.Cd.H(106022,f):null)q5c(p5c(o5c(k.RE(),_.vN(_.PUc,c)),_.vN(_.MUc,d)),!0),q.xn().then(function(r){var u=k;r=void 0!=r;n5c(u.RE(),r);_.GYc(u)});Gcd(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 (xcd(c))(JSON.parse(r));q+=a.Om(r);p.push(r)});3==c&&(a.CG||Hcd(p),Icd(p));k&&k.RE().Dt(q)}h.resolve(p)}),function(){k&&k.Zj()}).Gg(h.reject,h);return h.promise},Dcd=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){_.$Wc(h,Jcd(_.Zk(h),c,d));_.aXc(h,Jcd([h.zm()],c,d)[0]);var k=Jcd([h.Rv()],c,d)[0];_.J(h,
47,k);k=Jcd([h.Mq()],c,d)[0];_.J(h,91,k);k=Jcd([h.hD()],c,d)[0];_.J(h,95,k);if(h=h.Vw())_.WWc(h,Jcd(h.hR(),c,d)),_.XWc(h,Jcd(_.Uj(h,_.Fk,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Nj(a[0],2,e)}},Jcd=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},Hcd=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){_.$Wc(e,Kcd(_.Zk(e),b,c));_.aXc(e,Kcd([e.zm()],b,c)[0]);var f=Kcd([e.Rv()],b,c)[0];_.J(e,47,f);f=Kcd([e.Mq()],b,c)[0];_.J(e,91,f);f=Kcd([e.hD()],b,c)[0];_.J(e,95,f);if(e=e.Vw())_.WWc(e,Kcd(e.hR(),b,c)),_.XWc(e,Kcd(_.Uj(e,_.Fk,3),b,c))});_.Oj(d,2)})},Kcd=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},Ecd=function(a,b){if(a.ha){a=a.ha;for(var c=b.length-1;0<=c;c--)if(b[c].wo()){for(var d=[],e=b[c].Fd();e.length>a;){var f=_.Ba(e,a-1,a);f=n9c(new MO,f);d.push(f)}n9c(b[c],e);d.length&&_.wb(_.Ba,b,c+1,0).apply(null,d)}}},Icd=function(a){for(var b={},c=1;c<a.length;b={Bea:b.Bea},c++)if(!a[c].wo()){for(var d=0,e=c;e<a.length&&!a[e].wo();e++)d++;e=a[c-1];d=_.Ba(a,c,d);b.Bea=e.Fd();d.forEach(function(f){return function(h){_.za(f.Bea,
h.Fd())}}(b));n9c(e,b.Bea)}},Acd=function(a,b,c){if(!_.UUc()&&a.V){var d=new Worker(_.zga(_.by(a.V)),void 0),e=new _.Vh;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Pd(Error(String(k)))},!1);c=had(new gad,c);d.postMessage({command:"encrypt",data:{request:c.kc(),key:b}});return e}try{a=[];var f=new qcd(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},Gcd=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(!_.UUc()&&a.V){var f=new Worker(_.zga(_.by(a.V)),void 0);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(){f.terminate();b.callback(void 0)},!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new qcd(c);for(c=0;c<d.length;c++)a.push(tcd(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},Lcd=function(a,b,c){return[a.Rz(),
a.clientId,b?"#":oP(a)].join(":")+":"+(c||"")},Mcd=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};Mcd.prototype.getKey=function(){return this.key};Mcd.prototype.Ya=function(){return this.value};
var Ncd=function(a,b){a=Lcd(a,b);return T8c(a+"A",a+"z")},Ocd=function(a,b){this.H=a;this.O=b},Pcd=function(a){return a?new Ocd(a.versionKey,a.versionChangeTimestamp):null},Qcd=function(a,b){return a+":"+b},Rcd=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.S0=void 0===e?null:e},Scd=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.S0}},Tcd=function(a,b,c,d){a=oP(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.tt(":%02d",c)},Ucd=function(a,b,
c,d){c=Tcd(a,b,void 0===c?0:c,d);a=oP(a)+"_"+b;3===b&&(a+="_"+d);return T8c(c,a+":a")},Vcd=function(a){var b=oP(a)+"_";a=oP(a)+"_A";return T8c(b,a)},Wcd=function(a){return a?new Rcd(a.data,a.index,a.size,a.timestamp,a.e):null},Xcd=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};Xcd.prototype.Rz=function(){return this.userId};
Xcd.prototype.Lg=function(){return _.ya(this.fields)};
var oP=function(a){if(!a.O){var b=new _.vL;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.GSc(b.digest())}return a.O},Ycd=function(a){return{versionKey:oP(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},Zcd=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 Xcd(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:oP(a)!==d&&(a=null);return a},pP=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Cd=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.va=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Oa=a.then(function(f){e.version=f});this.Jb=new _.Ee(this);this.Ma(this.Jb)};_.L(pP,_.N);pP.prototype.initialize=function(){return $cd(this)};
var $cd=function(a,b){a.V||(a.V=_.Th(),a.Oa.then(function(){b?(a.va=!1,add(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)"),_.xTc("GoogleDriveDs",2,a.Fa.bind(a),a.oa.bind(a)).Tf(a.Ja.bind(a),a.oa.bind(a)),_.wi(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.lc("Database version error",void 0,_.HL(c)?c:void 0))}));return a.V.promise},add=function(a,b){a.H=b;a.Jb.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Jb.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};pP.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.wXc(b,c)});_.Ma(_.YL,function(c){var d=_.pVc.get(c);_.uTc(b,c,d?{keyPath:d}:void 0)})};
pP.prototype.oa=function(a){var b;a&&a instanceof _.yL&&"InvalidStateError"==a.getName()&&_.rj.Pw?b=Error("mf"):_.HL(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);bdd(this,!1)};pP.prototype.Ja=function(a){this.ka?a.dispose():(add(this,a),this.Ma(this.H),this.readOnly||cdd(this).Gg(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),bdd(this,!0))};
var bdd=function(a,b){if(a.ma){var c=a.ma,d=_.C(_.uN(c),i5c,5);d||(d=new i5c,c=_.uN(c),_.J(c,5,d));d=_.A(d,1,2);c=a.Di().W;d=_.A(d,2,c);c=a.Di().ka;d=_.A(d,5,c);b=_.A(d,3,b);b=_.A(b,4,a.Ba);d=a.Di().ma;_.A(b,6,d);a.ma.Zj();a.ma=null}};pP.prototype.Ha=function(){this.H||this.Jf()||(this.ha("Opening database GoogleDriveDs timed out."),this.oa(Error("nf")))};pP.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};pP.prototype.Jf=function(){return this.ka};
var ddd=function(a){return a.ka?a.O:null};pP.prototype.Di=function(){return this.version};
var qP=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.vTc(a,[b],c)}catch(d){return null}},cdd=function(a){var b=_.YL.H_,c=qP(a,b,"readwrite");if(!c)return _.Rh(Error("of"));c.objectStore(b).put(Ycd(a.Di()));return c.wait().then(function(){})},edd=function(a){if(!a.H)return _.Rh(Error("pf"));if(a.Jf())return _.Rh(Error(a.O));var b=_.YL.H_,c=qP(a,b,"readwrite");return c?c.objectStore(b).remove(oP(a.Di())).then():_.Rh(Error("qf"))},fdd=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=Wcd(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},Fcd=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=Ucd(a.Di(),b,0,c),f=_.YL.W5,h=qP(a,f);if(!h)return _.Rh(Error("yf"));e=h.objectStore(f).getAll(e);var k=_.Th();e.Tf(function(l){l=fdd(l,k,d);a.readOnly||null==l||gdd(a,b,c,l).Gg(function(){})},k.reject);return k.promise},Bcd=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:Tcd(a.Di(),c,u,d),data:new Rcd(r.getData(),u,k,h,e),metadata:r}});var l=_.YL.W5,p=qP(a,l,"readwrite");if(!p)return _.Rh(Error("Bf"));var q=p.objectStore(l);b.forEach(function(r){var u=hdd(a,c,d,r.metadata,f);q.put(Scd(r.data),r.key).then(function(){u&&(n5c(u.RE(),!0),u.Zj())},function(y){var z=y instanceof _.yL?y.code:_.XSc;u&&a.W&&(y=n5c(u.RE(),!1),z=_.vN(_.QUc,z),_.A(y,2,z),u.Zj())})});return p.wait().then(function(){})},hdd=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=p5c(o5c(a.RE(),_.vN(_.PUc,b)),_.vN(_.MUc,c)),f=f.wo(d.H),f=_.A(b,5,f),q5c(f,d.isEncrypted),void 0!=d.Om()&&a.RE().Dt(d.Om());return a}return null},gdd=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=Ucd(a.Di(),b,d,c);c=_.YL.W5;a=qP(a,c,"readwrite");if(!a)return _.Rh(Error("Ef"));a.objectStore(c).remove(b);return a.wait().then(function(){})},idd=
function(a){if(!a.H)return _.Rh(Error("Ff"));if(a.Jf())return _.Rh(Error(a.O));var b=Vcd(a.Di()),c=_.YL.W5;a=qP(a,c,"readwrite");if(!a)return _.Rh(Error("Gf"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
pP.prototype.getMetadata=function(a){if(this.H){if(this.Jf())return _.Rh(Error(this.O));if(a&&0==a.length)return _.Rh(Error("Hf"))}else return _.Rh(Error("If"));var b=this.Di(),c=_.YL.g7,d=qP(this,c);if(!d)return _.Rh(Error("Jf"));var e=d.objectStore(c);if(a){var f=[];a.forEach(function(k){f.push(e.get(Lcd(b,k.global,k.key)).then())});a=_.Sh(f)}else a=_.Sh([e.getAll(Ncd(b,!1)).then(),e.getAll(Ncd(b,!0)).then()]).then(function(k){return u1c(k[0],k[1])});var h=_.Th();a.then(function(k){h.resolve(k.map(function(l){if(l){var p=
l.k.split(":"),q="#"===p[2];l=4!==p.length||!q&&p[2]!==oP(b)||p[0]!==b.Rz()||p[1]!==String(b.clientId)?null:new Mcd(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var jdd=function(a,b){if(a.H){if(a.Jf())return _.Rh(Error(a.O));if(0==b.length)return _.Rh(Error("Kf"))}else return _.Rh(Error("Lf"));var c=_.YL.g7,d=qP(a,c,"readwrite");if(!d)return _.Rh(Error("Mf"));var e=d.objectStore(c),f=[];b.forEach(function(h){var k=f.push,l=e.put,p=a.Di();h={k:Lcd(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.Sh(f).then(function(){})},kdd=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Jf())return _.Rh(Error(a.O))}else return _.Rh(Error("Of"));var c=a.Di(),
d=_.YL.g7;a=qP(a,d,"readwrite");if(!a)return _.Rh(Error("Pf"));d=a.objectStore(d);a=[];a.push(d.remove(Ncd(c,!1)).then());b&&a.push(d.remove(Ncd(c,!0)).then());return _.Sh(a).then(function(){})},ldd=function(a){if(!a.H)return _.Rh(Error("Qf"));if(a.Jf())return _.Rh(Error(a.O));var b=Qcd(a.Di().Rz(),a.Di().clientId),c=_.YL.rU;return(a=qP(a,c))?a.objectStore(c).get(b).then(function(d){return Pcd(d)}):_.Rh(Error("Rf"))},mdd=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=Qcd(c.Rz(),c.clientId);b=new Ocd(oP(c),b?Date.now():void 0);c=_.YL.rU;a=qP(a,c,"readwrite");if(!a)return _.Rh(Error("Tf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return a.wait().then(function(){})};
pP.prototype.Jl=function(a){var b=this;return this.H?this.Jf()?_.Rh(Error(this.O)):ldd(this).then(function(c){var d=oP(b.Di());if(c)if(a){if(!c.O&&d==c.H&&d!=oP(a))return mdd(b,!0);if(c.O&&d==oP(a))return mdd(b)}else{if(d!=c.H)return mdd(b)}else if(!a)return mdd(b)}):_.Rh(Error("Uf"))};var ndd=function(a){if(!a.H)return _.Rh(Error("Vf"));if(a.Jf())return _.Rh(Error(a.O));var b=a.Di(),c=Qcd(b.Rz(),b.clientId);return ldd(a).then(function(d){if(d){d=_.YL.rU;var e=qP(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
pP.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Jf()?_.Rh(Error(this.O)):ldd(this).then(function(c){var d=c&&c.H==oP(b.Di());return d&&!a?!1:(c&&d?ndd(b):_.Ph()).then(function(){return _.Sh([kdd(b,a),idd(b),edd(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Rh(Error("Wf"))};pP.prototype.close=function(){this.ha("Closing database")};pP.prototype.log=function(a){this.Cd.info("drive.ds.sync.storage.VersionedDb",a)};
var odd=function(a){if(1>=a.Di())return!1;var b=a.H.objectStoreNames;return _.Sa(_.YL).every(function(c){return b&&b.contains(c)})},pdd=function(){var a=_.Th();_.xTc("GoogleDriveDs").Tf(function(b){b?odd(b)?a.resolve(b):(b.close(),_.Uh(U8c().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},qdd=function(a,b,c){var d=_.Th();a?_.vTc(a,[_.YL.H_],"readonly").objectStore(_.YL.H_).getAll().Tf(function(e){e=_.Sa(e).map(function(f){return Zcd(f)}).filter(function(f){return null!=
f});d.resolve(e.filter(function(f){return(!b||f.Rz()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},rdd=function(a,b,c){var d=_.Th();pdd().then(function(e){if(e){var f=_.YL.rU;_.vTc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return Pcd(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.YL.H_,p=_.vTc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=Zcd(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},sdd=function(a,b,c){var d=_.Th(),e=new pP(_.Ph(a),b);$cd(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},tdd=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=sdd(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?h:void 0}))});_.Sh(f).then(function(h){var k=
[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+oP(l)))});d.resolve(k)})},udd=function(a,b,c){var d=Date.now()-12096E5,e=_.Th();pdd().then(function(f){f?(_.Uh(e.promise,function(){f.close()}),qdd(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){tdd(h,c,f,e)})):e.resolve([])});return e.promise},vdd=function(a,b,c){var d=_.Th();pdd().then(function(e){e?(_.Uh(d.promise,function(){e.close()}),
qdd(e,a,b).then(function(f){tdd(f,c,e,d,!0)})):d.resolve([])});return d.promise},wdd=function(a,b,c,d){if(a.length){var e=_.YL.W5,f=a.shift(),h=Tcd(f,3,0,1);try{_.vTc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=Wcd(k))&&(!k.S0||k.S0&&d.has(f.V))?b.resolve(f):wdd(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},xdd=function(a,b,c,d,e,f,h){var k=_.Th();pdd().then(function(l){l?(_.Uh(k.promise,function(){l.close()}),qdd(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=oP(q))&&q.W==c&&q.H>=e&&M1c(d.filter(function(r){return!_.qVc.has(r)}),q.Lg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),wdd(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},ydd={key:"rid",global:!0},zdd={key:"ooi",global:!0},Add={key:"rtds",global:!1},Bdd={key:"dct",global:!1},Cdd={key:"pc",global:!1},Ddd=function(a){this.H=new _.Oh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
Ddd.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(){})})};Ddd.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Jf()?jdd(c,[new Mcd(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};Ddd.prototype.Wn=function(){return this.get(ydd).then(function(a){return a?a:null})};Ddd.prototype.Fu=function(a){return this.set(ydd,a)};
var Edd=function(a){return a.get(zdd).then(function(b){return"boolean"===typeof b?b:null})};Ddd.prototype.Py=function(a){return this.set(zdd,a)};var Fdd=function(a){return a.get(Cdd).then(function(b){return"boolean"===typeof b?b:null})},Gdd=function(a){return a.get(Add).then(function(b){return Array.isArray(b)?b:null})},Hdd=function(a){return a.get(Bdd).then(function(b){return"number"===typeof b?b:null})},Idd=function(){this.jj=[]};_.L(Idd,_.KN);
Idd.prototype.add=function(a,b){var c=a.zv.request;return c instanceof _.RM&&_.B(c.request,12)?_.KN.prototype.add.call(this,a,b):!1};Idd.prototype.Gsa=function(a){return this.jj.splice(0,Math.min(a,1))};var Jdd=function(a,b){this.jj=[];this.H=b};_.L(Jdd,_.KN);Jdd.prototype.add=function(a,b){return a.zv.request instanceof _.RM?!1:_.KN.prototype.add.call(this,a,b)};
Jdd.prototype.Gsa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.jj.length&&b.length<a;f++){var h=this.jj[f],k=h.zv.request;k instanceof _.lM||k instanceof _.xM||k instanceof _.MM?k="app|"+k.zh():k instanceof _.gM||k instanceof _.hM||k instanceof _.nM||k instanceof _.TL?k="item|"+(k instanceof _.gM?k.Cc():k.getId()):k instanceof _.oM||k instanceof _.yM?k="item|"+k.Cc():k instanceof _.pM||k instanceof _.OM?k="item|"+k.Cc():k instanceof _.kD||k instanceof _.jD?(k=k instanceof _.kD?_.C(k,_.hp,1).getKey():
k.getKey(),k="pref|"+_.B(k,2)+"|"+_.ip(k)):k=k instanceof _.qM?"td|"+k.getId():null;var l=h.zv.request;if(l instanceof _.jM)l=!!_.R(l,8);else if(l instanceof _.hM){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.Ibb.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};
Kdd=function(a,b,c,d,e,f,h,k,l){a=a.$f();h=new _.w_c(k,h,d,_.bk(a,32,1073741824),_.bk(a,21,1E3));h=new _.x_c(h);k=new _.WZc(_.bk(a,59,2E3),_.bk(a,60,2E4),_.bk(a,61,6));c=new _.UZc(l?l:c,l?void 0:e);e={};e[1]=_.z_c(b,d);e[2]=_.A_c(b,a,k,c,d);e[3]=_.B_c(b,a,k,c,d,"batch");l=_.bk(a,10,50);f=new _.MN(d,b,[_.VZc(c),new _.ZZc(l,_.bk(a,11,100)),new _.LN(l),new _.JN(k,d)],[new Jdd(a,f),new Idd,new _.KN],[new _.h_c(a,k,c.Jj(),d)],"mutation");return e[4]=f,e[5]=_.C_c(h,a,d),e[6]=_.B_c(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.B_c(b,a,k,c,d,"xd4_batch"),e[8]=_.B_c(b,a,k,c,d,"xd4_batch_one",1),e};Ldd=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};Mdd=function(a){var b={};return b.parentId=a.Ik(),b};Ndd=function(a){var b={};_.ae(_.Lg(a.getTitle()))||(b.title=a.getTitle());_.P0c(b,_.Md(a,3));_.R(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
Odd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.B(a,3)&&(b.workspaceToken=_.B(a,3));return b};Pdd=function(a){var b={};b.sourceIds=_.Md(a.request,1);b.destinationFolderId=_.B(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
Qdd=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=_.uXc(_.tYc(_.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)}_.P0c(b,_.Md(a,8));return b};Rdd=function(a){var b={};null!=_.R(a,3)&&(b.pinned=_.R(a,3));return b};
Sdd=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,_.b5c,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};
Tdd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.S0c[a.getState()])&&(b.state=a);return b};_.Udd=function(a){_.O(this,a,-1,null,null)};_.L(_.Udd,_.K);_.Udd.prototype.O=function(){return _.B(this,1)};var Vdd=function(a){_.O(this,a,-1,null,null)};_.L(Vdd,_.K);Vdd.prototype.O=function(){return _.R(this,1)};Vdd.prototype.V=function(){return _.B(this,2)};_.rP=function(a){_.O(this,a,-1,null,null)};_.L(_.rP,_.K);_.g=_.rP.prototype;
_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Isa=function(){return _.B(this,3)};_.g.Zy=function(){return _.B(this,4)};_.g.z$=function(){return _.C(this,Vdd,6)};_.g.ysb=function(){return _.C(this,_.Udd,7)};_.g.qVa=function(){return _.B(this,8)};_.g.Hsa=function(){return _.R(this,9)};_.sP=function(a){_.O(this,a,-1,null,null)};_.L(_.sP,_.K);_.g=_.sP.prototype;
_.g.getType=function(){return _.B(this,1)};_.g.getId=function(){return _.B(this,2)};_.g.Pb=function(a){return _.A(this,2,a)};_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};_.g.Ld=function(){return _.B(this,5)};_.g.setSize=function(a){return _.A(this,5,a)};_.g.rab=function(){return _.B(this,6)};_.Wdd=function(a,b){return _.A(a,6,b)};_.sP.prototype.Qe=function(){return _.B(this,8)};_.sP.prototype.om=function(a){return _.A(this,8,a)};
_.sP.prototype.O=function(){return _.R(this,9)};_.tP=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.V=a;this.va=b;this.Fa=c;this.request=e;this.Ba=f;this.H=[];this.items=[];this.ha=!0;this.O=!1;this.suggestionSessionId=null;this.Ha=d;this.status=6;this.ka=D2c(new _.VN,[1]);this.limit=e.Mi();this.Pe=0;_.we(this,function(){h.O=!1;h.H=[]})};_.L(_.tP,_.ri);_.g=_.tP.prototype;_.g.wi=function(){return String(_.Da(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.oa(this.items)&&6===this.Ab()&&this.Tj()||Xdd(this)};_.g.wd=function(){return this.request};_.g.Mi=function(){return this.limit};_.g.Ab=function(){return this.status};_.g.Sq=function(){return this.ka};_.g.Tj=function(){return this.ha};_.g.ds=function(){var a=_.zSc().Fz(this.H,this.items),b=(new _.MSc).Dc(this.Ab());a=_.Nj(b,2,a);this.H=this.items;return a};_.g.Gr=function(a){this.O&&(this.limit+=a||50,this.Ha(this.wi(),this.limit))};
var Ydd=function(a,b){return a.Ab()!==b.Ab()||oO(_.zSc(),a.items,b.Fd())},Zdd=function(a,b){a.items=b.Fd();a.status=b.Ab();_.IL(a.Ba)&&(a.ka=E2c(a.status,a.items));a.ha=b.jl();a.Pe=b.jf()};_.tP.prototype.pB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.tP.prototype.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};
_.tP.prototype.Au=function(a,b){var c=this;b+="\n\n\nQuery:\n"+TO(this.V,this.wd());return _.$h(this.va.then(function(d){return d.wMb(a,b,c.wd(),c.Mi(),c.items)}))};
var Xdd=function(a){a.isActive()&&(a.log("Livelist "+a.wi()+" returning "+a.items.length+". Status: "+(_.ab(Z5c)[a.Ab()]+". Datasource: ")+(_.ab(b7c)[a.Pe]+". Query: ")+(TO(a.V,a.request)+" ")+F2c(a.items)),$dd(a,a.items,a.request),a.dispatchEvent(new _.gi(_.xc,a)))},$dd=function(a,b,c){if(_.zM(c))c="quick access";else if(_.AM(c))c="people predict";else if(_.BM(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.wi()+" returning "+a.items.length+
" for "+(c+": "+b))};_.tP.prototype.refresh=function(){};_.tP.prototype.log=function(a){this.Fa.info(this.W,a)};var i3c=[90,59,75];_.t("sy1m3");
var aed=function(a){_.O(this,a,-1,null,null)};_.L(aed,_.K);
var bed=function(a){_.O(this,a,-1,null,null)};_.L(bed,_.K);bed.prototype.getType=function(){return _.B(this,1)};var ced=function(a){var b=new bed;return _.A(b,1,a)},ded=function(a,b){return _.J(a,2,b)};bed.prototype.ny=function(){return _.B(this,3)};bed.prototype.Qy=function(a){return _.A(this,3,a)};bed.prototype.Ni=function(){return _.B(this,4)};bed.prototype.setPosition=function(a){return _.A(this,4,a)};
var uP=function(a){_.O(this,a,-1,null,null)};_.L(uP,_.K);uP.prototype.getType=function(){return _.B(this,1)};var eed=function(a){var b=new uP;return _.A(b,1,a)};uP.prototype.ln=function(){return _.C(this,JO,2)};var fed=function(a,b){return _.J(a,2,b)};uP.prototype.ny=function(){return _.B(this,3)};uP.prototype.Qy=function(a){return _.A(this,3,a)};uP.prototype.Ni=function(){return _.B(this,4)};uP.prototype.setPosition=function(a){return _.A(this,4,a)};
var vP=function(a){_.O(this,a,-1,null,null)};_.L(vP,_.K);vP.prototype.getType=function(){return _.B(this,1)};var ged=function(a){var b=new vP;return _.A(b,1,a)};vP.prototype.ln=function(){return _.C(this,_.KF,2)};var hed=function(a,b){return _.J(a,2,b)};vP.prototype.ny=function(){return _.B(this,3)};vP.prototype.Qy=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 ied=function(a){_.O(this,a,-1,null,null)};_.L(ied,_.K);ied.prototype.Ab=function(){return _.B(this,1)};ied.prototype.Dc=function(a){return _.A(this,1,a)};ied.prototype.ur=function(){return _.C(this,_.IO,2)};
var ked=function(a){_.O(this,a,-1,jed,null)};_.L(ked,_.K);ked.prototype.Ab=function(){return _.B(this,1)};ked.prototype.Dc=function(a){return _.A(this,1,a)};ked.prototype.$j=function(){return _.B(this,3)};var jed=[2];
var led=function(a){_.O(this,a,-1,null,null)};_.L(led,_.K);led.prototype.qd=function(){return _.C(this,qO,1)};led.prototype.Un=function(){return _.B(this,2)};
var med=function(a){_.O(this,a,-1,null,null)};_.L(med,_.K);_.g=med.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.ur=function(){return _.C(this,_.IO,2)};_.g.$j=function(){return _.B(this,3)};_.g.zh=function(){return _.B(this,4)};
var wP=function(a){_.O(this,a,-1,null,null)};_.L(wP,_.K);wP.prototype.Ab=function(){return _.B(this,1)};wP.prototype.Dc=function(a){return _.A(this,1,a)};wP.prototype.$j=function(){return _.B(this,3)};
var ned=function(a){_.O(this,a,-1,null,null)};_.L(ned,_.K);_.g=ned.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.yMa=function(){return _.C(this,_.hp,3)};_.g.getKey=function(){return _.C(this,_.Ob,4)};_.g.ws=function(){return _.P(this,4)};
var ped=function(a){_.O(this,a,-1,null,oed)};_.L(ped,_.K);ped.prototype.getKey=function(){return _.B(this,1)};ped.prototype.ws=function(){return _.P(this,1)};var red=function(a){_.O(this,a,-1,qed,null)};_.L(red,_.K);var oed=[[2,4,6,10],[3,5,7,8,9]],qed=[1];
var sed=function(a){_.O(this,a,-1,null,null)};_.L(sed,_.K);
var xP=function(a){_.O(this,a,-1,ted,null)};_.L(xP,_.K);xP.prototype.Ab=function(){return _.B(this,1)};xP.prototype.Dc=function(a){return _.A(this,1,a)};xP.prototype.O=function(){return _.Uj(this,wO,2)};var ued=function(a,b){return _.Nj(a,2,b)};xP.prototype.$j=function(){return _.B(this,3)};var ted=[2];
var ved=function(a){_.O(this,a,-1,null,null)};_.L(ved,_.K);ved.prototype.Ab=function(){return _.B(this,1)};ved.prototype.Dc=function(a){return _.A(this,1,a)};ved.prototype.O=function(){return _.C(this,wO,2)};ved.prototype.$j=function(){return _.B(this,3)};
var wed=function(a){_.O(this,a,-1,null,null)};_.L(wed,_.K);wed.prototype.my=function(){return _.B(this,2)};
var yed=function(a){_.O(this,a,-1,xed,null)};_.L(yed,_.K);yed.prototype.Ab=function(){return _.B(this,1)};yed.prototype.Dc=function(a){return _.A(this,1,a)};yed.prototype.zj=function(){return _.Uj(this,_.uSc,2)};yed.prototype.kr=function(a,b){return _.Xj(this,2,a,_.uSc,b)};var xed=[2];
var Aed=function(a){_.O(this,a,-1,zed,null)};_.L(Aed,_.K);Aed.prototype.Ab=function(){return _.B(this,1)};Aed.prototype.Dc=function(a){return _.A(this,1,a)};Aed.prototype.ll=function(){return _.Uj(this,uP,2)};var zed=[2];
_.Ced=function(a){_.O(this,a,-1,Bed,null)};_.L(_.Ced,_.K);var Bed=[1];
var yP=function(a){_.O(this,a,-1,Ded,null)},Ged,Hed;_.L(yP,_.K);yP.prototype.Un=function(){return _.B(this,1)};var Eed=function(a,b){return _.A(a,1,b)},Fed=function(a,b){return _.A(a,2,b)};yP.prototype.Ab=function(){return _.B(this,3)};yP.prototype.Dc=function(a){return _.A(this,3,a)};Ged=function(a,b){return _.A(a,4,b)};Hed=function(a,b){return _.Nj(a,5,b)};_.Ied=function(a){_.O(this,a,-1,null,null)};_.L(_.Ied,_.K);_.Ied.prototype.$b=function(){return _.B(this,2)};
_.Ked=function(a){_.O(this,a,-1,Jed,null)};_.L(_.Ked,_.K);var Led=function(a,b){return _.A(a,1,b)},Med=function(a,b){return _.A(a,2,b)},Ned=function(a,b){return _.Nj(a,3,b)},Ded=[5],Jed=[3];
_.zP=function(a){_.O(this,a,-1,Oed,null)};_.L(_.zP,_.K);_.zP.prototype.JV=function(){return _.Uj(this,_.FF,2)};_.zP.prototype.xe=function(){return _.C(this,_.lf,3)};var Oed=[1,2];
_.AP=function(a){_.O(this,a,-1,null,null)};_.L(_.AP,_.K);_.AP.prototype.Ab=function(){return _.B(this,1)};_.AP.prototype.Dc=function(a){return _.A(this,1,a)};_.AP.prototype.Fh=function(){return _.C(this,_.ZA,2)};_.Ped=function(a,b){return _.J(a,2,b)};_.AP.prototype.$j=function(){return _.B(this,3)};
var Qed=function(a){_.O(this,a,-1,null,null)};_.L(Qed,_.K);Qed.prototype.Ab=function(){return _.B(this,1)};Qed.prototype.Dc=function(a){return _.A(this,1,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.ll=function(){return _.Uj(this,vP,2)};var Red=[2];
var Ted=function(a){_.O(this,a,-1,null,null)};_.L(Ted,_.K);Ted.prototype.getType=function(){return _.B(this,1)};var Ued=function(a){var b=new Ted;return _.A(b,1,a)};Ted.prototype.ny=function(){return _.B(this,3)};Ted.prototype.Qy=function(a){return _.A(this,3,a)};Ted.prototype.Ni=function(){return _.B(this,4)};Ted.prototype.setPosition=function(a){return _.A(this,4,a)};
var Wed=function(a){_.O(this,a,-1,Ved,null)};_.L(Wed,_.K);Wed.prototype.Ab=function(){return _.B(this,1)};Wed.prototype.Dc=function(a){return _.A(this,1,a)};Wed.prototype.$j=function(){return _.B(this,3)};var Ved=[2];
_.Xed=function(a){_.O(this,a,-1,null,null)};_.L(_.Xed,_.K);_.Xed.prototype.getId=function(){return _.B(this,1)};_.Xed.prototype.Pb=function(a){return _.A(this,1,a)};_.Xed.prototype.xe=function(){return _.C(this,_.lf,4)};
var Zed=function(a){_.O(this,a,-1,Yed,null)};_.L(Zed,_.K);Zed.prototype.Ab=function(){return _.B(this,1)};Zed.prototype.Dc=function(a){return _.A(this,1,a)};Zed.prototype.$j=function(){return _.B(this,3)};var Yed=[2,4];
_.BP=function(a){_.O(this,a,-1,null,null)};_.L(_.BP,_.K);_.BP.prototype.getType=function(){return _.B(this,1)};var $ed=function(a){var b=new _.BP;return _.A(b,1,a)},afd=function(a,b){return _.J(a,2,b)};_.BP.prototype.ny=function(){return _.B(this,3)};_.BP.prototype.Qy=function(a){return _.A(this,3,a)};_.BP.prototype.Ni=function(){return _.B(this,4)};_.BP.prototype.setPosition=function(a){return _.A(this,4,a)};
_.V2c=function(a){_.O(this,a,-1,null,null)};_.L(_.V2c,_.K);_.g=_.V2c.prototype;_.g.getItem=function(){return _.C(this,_.Yk,1)};_.g.setItem=function(a){return _.J(this,1,a)};_.g.getError=function(){return _.C(this,_.kc,2)};_.g.Se=function(a){return _.J(this,2,a)};_.g.Fn=function(){return _.P(this,2)};_.g.ht=function(){return _.B(this,4)};
var cfd=function(a){_.O(this,a,-1,bfd,null)};_.L(cfd,_.K);var bfd=[2,4];
var efd=function(a){_.O(this,a,-1,dfd,null)};_.L(efd,_.K);var dfd=[1];
var gfd=function(a){_.O(this,a,-1,ffd,null)};_.L(gfd,_.K);gfd.prototype.Ab=function(){return _.B(this,1)};gfd.prototype.Dc=function(a){return _.A(this,1,a)};gfd.prototype.$j=function(){return _.B(this,3)};var ffd=[2];
var ifd=function(a){_.O(this,a,-1,hfd,null)};_.L(ifd,_.K);ifd.prototype.Ab=function(){return _.B(this,1)};ifd.prototype.Dc=function(a){return _.A(this,1,a)};ifd.prototype.$j=function(){return _.B(this,3)};var hfd=[2];
var jfd=function(a){_.O(this,a,-1,null,null)};_.L(jfd,_.K);
var lfd=function(a){_.O(this,a,-1,kfd,null)};_.L(lfd,_.K);lfd.prototype.O=function(){return _.B(this,2)};var mfd=function(a,b){_.A(a,2,b)},kfd=[1];
var nfd=function(a){_.gi.call(this,"Ob");this.dataType=a};_.L(nfd,_.gi);
var ofd=function(a,b){_.gi.call(this,"Pb");this.iPa=a;this.iua=b};_.L(ofd,_.gi);
var pfd=function(){};_.g=pfd.prototype;_.g.yM=function(a,b){return h7c(g7c(1),a).setPosition(b)};_.g.xM=function(a,b){return h7c(g7c(2).setPosition(b),a)};_.g.FE=function(a,b,c){return h7c(g7c(3).Qy(b).setPosition(c),a)};_.g.sQ=function(a,b){return h7c(g7c(4),a).setPosition(b)};_.g.aN=function(a){return _.C(a,tO,2)};
var qfd=function(){_.lL.call(this,new pfd,function(a){return a&&a.getName()})};_.L(qfd,_.lL);
var CP=function(a,b,c){c=void 0===c?50:c;_.ri.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=D2c(new _.VN,[1]);this.ha=this.H=!1;this.Mc=new _.Ee(this);this.Ma(this.Mc);_.we(this,function(){d.active=!1;d.Mc.removeAll()})};_.L(CP,_.ri);_.g=CP.prototype;_.g.wi=function(){return String(_.Da(this))};_.g.Ue=function(){return this.W.Ue()||this.connectionState.Ue()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Mc.listen(this.W,"Ab",_.wb(this.Ut)),this.Mc.listen(this.connectionState,[].concat(_.jd(Object.values(_.aB))),_.wb(this.Ut)),this.W.Ue()?this.Mc.od(this.W,"Ab",function(b){b.Ue()||(a.XG(),a.dispatchEvent(new _.gi(_.gq)))}):this.connectionState.Ue()?this.Mc.od(this.connectionState,[_.aB.AL,_.aB.sU],function(){a.XG();a.dispatchEvent(new _.gi(_.gq))}):(this.XG(),this.dispatchEvent(new _.gi(_.gq))))};_.g.XG=function(){};
_.g.Gr=function(a){var b=this;if(this.Tj()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.Ut();this.W.Ue()?this.Mc.od(this.W,"Ab",function(d){d.Ue()||b.dP()}):this.dP()}};_.g.HL=function(){this.Ue()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Ab=function(){return this.status};_.g.Sq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.mc(a))};_.g.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};_.g.Tj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Mc.removeAll();this.activate()};_.g.dP=function(){};
var rfd=function(a,b,c,d,e){CP.call(this,a,b,e.Mi()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new qfd;this.ma=d};_.L(rfd,CP);_.g=rfd.prototype;_.g.XG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){return l7c(new zO,this.data).Dc(this.status)};_.g.ds=function(){var a=this.V.Fz(this.O,this.data);this.O=this.data;var b=(new j7c).Dc(this.status);return _.Nj(b,2,a)};
_.g.dP=function(){this.ma(this.wi(),this.limit)};_.g.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,sfd(this)}};_.g.$b=function(){return this.data.length};_.g.wd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Ab()||oO(0,this.data,b.O()))this.H=!0,this.status=b.Ab(),this.data=b.O(),this.ha=a.H,sfd(this)};
var sfd=function(a){a.log("Livelist "+a.wi()+" returning "+a.data.length+" for "+(a.request.Cc()+". Status: ")+(_.ab(Z5c)[a.Ab()]+"."));a.dispatchEvent(new _.gi(_.xc,a))};rfd.prototype.pB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};rfd.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var tfd=function(a,b,c,d,e,f,h){_.tP.call(this,a,b,c,e,f,d);this.Cd=h;this.W="drive.ds.sync.ViewCacheLiveList";this.oa=null;this.ma=void 0};_.L(tfd,_.tP);tfd.prototype.getData=function(){this.H=this.items;var a=I4c((new _.QA).Dc(this.Ab()).Qw(this.items),this.Tj());a=_.J(a,7,this.oa).CP(this.suggestionSessionId).kj(this.Pe);return _.Kj(a,18,this.ma)};
tfd.prototype.update=function(a){if(Ydd(this,a)&&(Zdd(this,a),this.oa=a.i6(),this.suggestionSessionId=a.Vf(),this.ma=a.vka(),Xdd(this),this.suggestionSessionId&&n$c(this.V)&&(a=this.Cd.H(106027)))){var b=_.C(_.uN(a),u5c,20);if(!b){b=new u5c;var c=_.uN(a);_.J(c,20,b)}_.A(b,1,this.suggestionSessionId);a.Zj()}};
var ufd=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=hed(ged(4),f),c[e]=d):(d=hed(ged(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=hed(ged(1),d),c[e]=d)});return c},vfd=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(ufd(a,b))};
var wfd=function(a,b){_.ri.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.L(wfd,_.ri);_.g=wfd.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Va(this.data)&&6===this.status||this.dispatchEvent(new _.gi(_.xc,this)))};_.g.Ab=function(){return this.status};_.g.Sq=function(){return new _.VN};_.g.getData=function(){this.H=this.data;var a=(new _.yN).Dc(this.status);_.Ma(this.data,function(b,c){a.ST().set(c,b||new _.KF)});return a};
_.g.ds=function(){var a=ufd(this.H,this.data);this.H=this.data;var b=(new Qed).Dc(this.status);_.Ma(a,function(c,d){_.Ij(b,2,vP).set(d,c)});return b};_.g.mT=function(){throw Error("Yf");};_.g.wi=function(){return String(_.Da(this))};_.g.wd=function(){return this.request};_.g.update=function(a){var b={};a.ST().forEach(function(c,d){c||(c=Ybd(d));b[d]=c});if(this.status!==a.Ab()||vfd(this.H,b))this.status=a.Ab(),this.data=b,this.active&&this.dispatchEvent(new _.gi(_.xc,this))};
_.g.pB=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 xfd=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=D2c(new _.VN,[1]);this.log("Creating find by ids live map: "+this.request.hn().join(", "));_.we(this,function(){h.O=!1;h.H=[]})};_.L(xfd,_.ri);_.g=xfd.prototype;_.g.wi=function(){return String(_.Da(this))};_.g.activate=function(){this.O=!0;_.Va(this.items)&&6===this.status||yfd(this)};_.g.wd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.wN;_.IL(this.V)?a.Dc(R1c(Object.values(this.items))?6:this.status):a.Dc(this.status);a.map=this.items;return a};_.g.ds=function(){var a=G2c(this.H,this.items),b=new e7c;b.Dc(this.status);b.map=a;this.H=this.items;return b};_.g.Ab=function(){return this.status};_.g.Sq=function(){return this.W};_.g.mT=function(a){j$c(a);var b=this.request;this.request=a;this.oa(this.wi(),b,a)};
_.g.update=function(a){var b=this;0<=_.la(this.wd().hn(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Xa(a.map,c),a.map.root=d);zfd(b,a)}):zfd(this,a)};var zfd=function(a,b){if(a.status!==b.Ab()||H2c(a.items,b.map))a.status=b.Ab(),a.items=b.map,_.IL(a.V)&&(a.W=E2c(a.status,Object.values(a.items))),yfd(a)};xfd.prototype.pB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};xfd.prototype.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};
var yfd=function(a){a.O&&(a.log("Livelist "+a.wi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.ab(Z5c)[a.Ab()]+". Query: ")+(TO(a.ka,a.request)+" ")+F2c(Object.values(a.items))),a.dispatchEvent(new _.gi(_.xc,a)))};xfd.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var Afd=function(a,b,c,d,e,f){_.tP.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.L(Afd,_.tP);Afd.prototype.getData=function(){this.H=this.items;var a=(new _.xN).Dc(this.Ab()).Qw(this.items);var b=this.Tj();a=_.A(a,4,b);return a6c(a,this.ma).CP(this.suggestionSessionId).kj(this.Pe)};Afd.prototype.update=function(a){Ydd(this,a)&&(Zdd(this,a),this.ma=_.Uj(a,_.Fk,6),this.suggestionSessionId=a.Vf(),Xdd(this))};
var Bfd=function(){};_.g=Bfd.prototype;_.g.yM=function(a,b){return fed(eed(1),a).setPosition(b)};_.g.xM=function(a,b){return fed(eed(2).setPosition(b),a)};_.g.FE=function(a,b,c){return fed(eed(3).Qy(b).setPosition(c),a)};_.g.sQ=function(a,b){return fed(eed(4),a).setPosition(b)};_.g.aN=function(a){return a.ln()};
var Cfd=function(){_.lL.call(this,new Bfd,function(a){return a&&a.kq()})};_.L(Cfd,_.lL);
var Dfd=function(a,b,c){CP.call(this,a.Jj(),a.rk(),b.Mi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new Cfd;this.suggestionSessionId=null;this.ka=c};_.L(Dfd,CP);_.g=Dfd.prototype;_.g.XG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){this.O=this.data;return i9c(h9c((new KO).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ds=function(){var a=this.V.Fz(this.O,this.data);this.O=this.data;var b=(new Aed).Dc(this.status);return _.Nj(b,2,a)};_.g.dP=function(){};_.g.Ut=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};_.g.wd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Ab()||oO(0,this.data,a.ll())){this.changed=this.H=!0;this.data=a.ll();if(a=a.Vf())this.suggestionSessionId=a;this.Ut()}};_.g.refresh=function(){this.ka()};_.g.pB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var Efd=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=D2c(new _.VN,[1]);this.O=!0;this.limit=a.Mi();_.we(this,function(){d.H=!1;d.V=[]})};_.L(Efd,_.ri);_.g=Efd.prototype;_.g.wi=function(){return String(_.Da(this))};_.g.activate=function(){this.H=!0;_.oa(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.gi(_.xc,this))};_.g.wd=function(){return this.request};_.g.Ab=function(){return this.status};
_.g.Sq=function(){return this.W};_.g.Tj=function(){return this.O};_.g.getData=function(){this.V=this.items;return I4c((new _.QA).Dc(this.status).Qw(this.items),this.O)};_.g.ds=function(){var a=_.zSc().Fz(this.V,this.items),b=(new _.MSc).Dc(this.status);a=_.Nj(b,2,a);this.V=this.items;return a};_.g.Gr=function(a){this.H&&(this.limit+=a||20,this.ka.FF(this.wi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Ab()||oO(_.zSc(),this.items,a.Fd()))this.items=a.Fd(),this.status=a.Ab(),_.IL(this.ha)&&(this.W=E2c(this.status,this.items)),this.O=a.jl(),this.H&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.pB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};_.g.Au=function(){throw Error("Zf");};_.g.refresh=function(){};
var Ffd=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=D2c(new _.VN,[1]);this.context.Sf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.hn().join(", "));_.we(this,function(){d.V=!1;d.O=[]})};_.L(Ffd,_.ri);_.g=Ffd.prototype;_.g.wi=function(){return String(_.Da(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.wd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.wN;a.Dc(this.status);a.map=this.H;return a};_.g.ds=function(){var a=G2c(this.O,this.H),b=new e7c;b.Dc(this.status);b.map=a;this.O=this.H;return b};_.g.Ab=function(){return this.status};_.g.Sq=function(){return this.W};
_.g.mT=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()||H2c(this.H,a.map))this.status=a.Ab(),this.H=a.map,_.IL(this.context.Oc)&&(this.W=E2c(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.pB=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 Gfd=function(){};_.g=Gfd.prototype;_.g.yM=function(a,b){return hed(ged(1),a).setPosition(b)};_.g.xM=function(a,b){return hed(ged(2).setPosition(b),a)};_.g.FE=function(a,b,c){return hed(ged(3).Qy(b).setPosition(c),a)};_.g.sQ=function(a,b){return hed(ged(4),a).setPosition(b)};_.g.aN=function(a){return a.ln()};
var Hfd=function(){_.lL.call(this,new Gfd,function(a){return a&&a.getId()})};_.L(Hfd,_.lL);
var Ifd=function(a,b,c){CP.call(this,a.Jj(),a.rk(),b.Mi()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new Hfd};_.L(Ifd,CP);_.g=Ifd.prototype;_.g.XG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){this.O=this.data;return ead((new $O).Dc(this.status),this.data.slice(0))};_.g.ds=function(){var a=this.V.Fz(this.O,this.data);this.O=this.data;var b=(new Sed).Dc(this.status);return _.Nj(b,2,a)};
_.g.dP=function(){this.ka.FF(this.wi(),this.limit)};_.g.Ut=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};_.g.wd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Ab()||oO(0,this.data,b.ll()))this.H=!0,this.status=b.Ab(),this.data=b.ll(),this.ha=a.H,this.dispatchEvent(new _.gi(_.xc,this))};
_.g.pB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var Jfd=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.Lfa;this.oa=this.context.k6};_.g=Jfd.prototype;_.g.$wa=function(a){var b=this,c=new tfd(this.context.Hm,this.context.gQ,this.context.Sf(),this.context.Oc,function(d,e){b.FF(d,e)},a,this.context.Sk());this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.cxa=function(a){var b=this,c=new Afd(this.context.Hm,this.context.gQ,this.context.Sf(),function(d,e){b.FF(d,e)},a,this.context.Oc);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.Xwa=function(a){var b=this,c=new xfd(this.context.Oc,this.context.Hm,this.context.Sf(),this.context.b_,this.kZ.bind(this),a);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.fxa=function(a){var b=this,c=new Efd(a,this,this.context.Oc);this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.gxa=function(a){var b=this,c=new Ffd(this.context,this,a);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.jxa=function(a){var b=this,c=new Ifd(this.context,a,this);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.dxa=function(a){var b=this,c=new Dfd(this.context,a,function(){if(a instanceof _.IF){var d=Kfd(b.context);Gbd(d,d.getKey(a)).refresh()}});this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.kxa=function(a){var b=this,c=new wfd(this.context,a);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.Uwa=function(a){var b=this,c=new rfd(this.context.Jj(),this.context.rk(),this.context.Sf(),function(d,e){b.FF(d,e)},a);this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.ai=function(a){var b=a.wi();this.H[b]=a;this.ha.create(b,a.wd());if(a.wd()instanceof _.Jz)a=this.O.ai(b,a.wd());else if(a.wd()instanceof _.LF)a=Ebd(this.O,b,a.wd());else if(a.wd()instanceof _.IF)a=Kfd(this.context).ai(b,a.wd());else if(a.wd()instanceof _.WF)a=this.oa.ai(b,a.wd());else{var c=a.wd(),d=TO(this.context.Hm,c,2);this.log("Registering LiveList "+a.wi()+" "+d);a=this.W.ai(b,c)}"boolean"===typeof a&&O$c(this.ha,b,a)};
_.g.ik=function(a){if(a.wd()instanceof _.Jz)this.O.ik(a.wi(),a.wd());else if(a.wd()instanceof _.LF)Fbd(this.O,a.wi(),a.wd());else if(a.wd()instanceof _.IF)Kfd(this.context).ik(a.wi(),a.wd());else if(a.wd()instanceof _.WF)this.oa.ik(a.wi(),a.wd());else{var b=a.wd(),c=TO(this.context.Hm,b,2);this.log("Unregistering LiveList "+a.wi()+" "+c);this.W.ik(a.wi(),b)}WO(this.ha,a.wi(),4);delete this.H[a.wi()]};_.g.kZ=function(a,b,c){this.W.ik(a,b);this.W.ai(a,c)};
_.g.FF=function(a,b){var c=Lfd(this,a).wd();c.xi(b);c instanceof _.Jz?this.O.ai(a,c):c instanceof _.LF?Ebd(this.O,a,c):c instanceof _.WF?this.oa.ai(a,c):this.W.ai(a,c)};_.g.vO=function(a,b){var c=this.H[a]&&this.H[a].wd();c&&(c instanceof _.Ye?C1c(c.O(),b.Fd().filter(function(d){return!QO(d)})):c instanceof _.Zz&&C1c(c.O(),Object.values(b.map).filter(function(d){return d&&!QO(d)})));this.ka[a]=b;this.V||(this.V=_.ti(this.f9,50,this))};
_.g.OX=function(a,b){this.ma[a]=b;this.V||(this.V=_.ti(this.f9,50,this))};_.g.kA=function(a){(a=this.H[a])&&a.nW()};_.g.f9=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&&(R$c(this.ha,c,d),e.update(d))}}b=_.m(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.ma[a])if(delete this.ma[a],d=this.H[a])WO(this.ha,a,3),d.pB(c)};
_.g.Kka=function(a){return Lfd(this,a).wd()};var Lfd=function(a,b){if(!a.H[b])throw Error("$f`"+b);return a.H[b]};Jfd.prototype.log=function(a,b){this.context.Sf().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var DP=function(a,b){_.ri.call(this);this.O=a;this.request=b;this.le=_.Th();this.complete=!1;this.H=""};_.L(DP,_.ri);DP.prototype.start=function(){var a=this;this.O.then(function(b){return b.Te(a.request)}).then(this.W.bind(this)).Gg(this.handleError.bind(this));return this.le.promise};DP.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new ofd(0,this.H));Mfd(this)};
var Mfd=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Te(new _.XVc(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 cfd;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.hA);c=_.A(c,8,b.H);b=_.Nj(c,4,b.W);a.le.resolve(b)}else b=_.PL(_.aq(_.$p(new _.kc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new ofd(b.O,
a.H)),Mfd(a)}).Gg(function(b){a.handleError(b)})},5E3)};DP.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Te(new _.WVc(a.H))}).then(this.V.bind(this)).Gg(this.handleError.bind(this))};DP.prototype.V=function(){if(!this.complete){var a=new cfd;a=_.A(a,3,this.H);a=_.A(a,1,!0);this.le.resolve(a);this.complete=!0;this.dispose()}};DP.prototype.handleError=function(a){this.complete=!0;this.le.reject(_.bM(a));this.dispose()};
var Nfd=function(){_.gi.call(this,"VbxEwf")};_.L(Nfd,_.gi);
var Ofd=function(a,b){this.context=a;this.H=null;this.vc=b||null};_.g=Ofd.prototype;_.g.La=function(){return _.C(this.context.Oc,_.ZL,58)};_.g.getContext=function(){return this.context};_.g.Ez=function(){return this.context.MA.Ez(this.H)};_.g.Sf=function(){return this.context.Sf()};_.g.PM=function(a){return _.Zh(this.context.uf.xm.H(a))};_.g.bR=function(){return _.Zh(this.context.MA.bR())};
_.g.h5=function(a,b,c){var d=new _.Vh;if(_.C(a,_.JL,3)||_.C(a,_.SM,4)||_.C(a,_.GN,5)||_.C(a,_.PM,6)||_.C(a,_.qM,7)||_.C(a,_.jM,8)||_.C(a,_.nM,9)||_.C(a,_.TL,10)){var e=L$c(a);this.context.Rm().then(function(f){return f.Te(e,{u7a:b,v7a:c})}).then(this.sab.bind(this,d),d.Pd,d);return d}throw Error("ag");};
_.g.sab=function(a,b){var c=[],d="";if(b instanceof _.HN){c=b.qd().Fd();var e=_.B(b,2);d=b.Un()}else if(b instanceof _.UM)b.getItem()&&c.push(b.getItem()),e=b.ZM();else throw Error("bg");a.callback({items:c,Aia:e,pageToken:d})};_.g.jqa=function(){var a=this.context.Oc,b=a.$f();a="email:"+_.DL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a)};_.g.bia=function(){this.context.Ts.jS();var a=this.context.Oc;vdd(_.gN(_.DL(a)),_.hN(a),this.context.Sf()).Gg(function(){})};
_.g.p9=function(){return _.ZUc[_.Gj(this.context.Oc.$f(),8,0)]};_.g.Ada=function(){this.context.RF.H=new lcd(_.Mg().substring(0,8))};_.g.VS=function(){var a=this.context.RF.qN(),b=null;a&&(b=ncd(this.context.RF),b={traceId:a,spanRecs:b});a=this.context.RF;a.H=null;a.IY=[];return _.Zh(b)};_.g.qN=function(){return _.Zh(this.context.RF.qN())};
_.g.getState=function(a){var b=this.context.Qj,c=b.H.bind(b);b={};b.b=this.context.Oc.Ki();b.m_ril=c("jroI5d");b.m_cil=c("T8oKm");b.m_icp=c("aU7Ts");b.m_idl=c("ZA9qG");b.m_il=c("W6J7De");b.m_if=c("DEJoH");b.m_pl=c("zaOY7");b.m_ps=c("mrK8ic");b.m_sls=c("Gv4zef");b.m_cp=c("BNEDtc");b.cs_cs=this.context.uf.xm.Ld();c=this.context.uf.Vu;var d=c.H;d&&(b.cs_sutd=d.h8,b.cs_ss=d.Ld());b.cs_ch=Gad(c).length;b.cs_td=c.dW().length;(c=this.context.l6)&&(b.t_cps=c.aub().join(","));b.t_id=Pfd(this.context);var e=
[];Qfd(this.context.aR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.$y?this.context.rk().isConnected():this.context.BI.wB();b.n_o=this.context.$y?this.context.rk().Ue():this.context.Jj().Ue();b.n_csm=!!this.context.$y;a&&(b.csw_cc=_.Ra(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.Zh(JSON.stringify(b))};_.g.zpa=function(){this.vc&&(this.vc.dispatchEvent(new Nfd),this.vc.Hu())};
_.g.Jl=function(a){var b=this.context.$y;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.DZc(b))};
var Tfd=function(a,b){this.context=a;this.Jg=b;this.H=_.JVc(_.oN(this.Jg),Rfd);this.O=_.JVc(_.oN(this.Jg),Sfd)};
Tfd.prototype.ol=function(a){var b=this,c=this.context.YP.Fh().Fh(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.NVc(h);var k=h.getId(),l=b.context.Wn();_.gXc(h,3);_.WL(h,5);var p=X1c(h,!0);h.getCapabilities()||_.cN(h,new _.Tk);_.R(p,2)&&((p=h.mk())&&p.length?_.A(h,46,p[0]):(_.bN(h,[l]),_.A(h,46,l)),l=h.Bq(),_.A(h,12,l),l=new _.Fk,l.Pb(d),_.A(l,6,1),_.tWc(l,!0),_.aXc(h,l),_.$Wc(h,[l]),_.PTb(h,1));e[k]=h});a=Object.keys(e);c=this.context.uf;var f=V9c(c.xm,a);_.Ma(f,function(h,
k){ZN(h.getItem(),e[k],b.H);(b.context.Jj().Ue()||b.context.rk().Ue()||3===bO(h.getItem()))&&ZN(h.getItem(),e[k],b.O);_.Xa(e,k)});_.Ma(e,function(h){_.Wk(h.Pm())&&(f[h.getId()]=new OO(h))});Ufd(c,Object.values(f))};
var Vfd=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.ol(c)},Wfd=function(a){a=a.context.uf;var b=new _.Ye;b.Jl(!0);b=X9c(a.xm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===bO(f)){var h=new _.ML;_.NL(h,f.getId());_.XL(h);d.push(h)}else h=new _.Ina,_.XN(h,!1),_.A(h,2,!1),_.J(f,81,h),c.push(b[e])}Ufd(a,c);a.So(d)},Rfd=[50],Sfd=[12,11,10,67,68];
var Xfd=function(a){this.context=a;this.H=null;this.V=!1;this.O=new Tfd(a,a.Jg)};_.g=Xfd.prototype;_.g.pY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.vab.bind(this);var b=this.uab.bind(this);this.log("Querying all offline items.");this.H.zV().Tf(a,b);this.V||(this.H.Q_((0,_.v)(this.Mxb,this)),this.V=!0)}}else Wfd(this.O)};_.g.vab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.ol(a);cP(this.context.Qj,"GZTDpc")};_.g.uab=function(){this.log("Error fetching offline items.")};
_.g.Mxb=function(a){this.log("Handling offline change(s): "+a.length);Vfd(this.O,a)};_.g.log=function(a){this.context.Sf().info("drive.ds.sync.offline.LocalDataService",a)};
var EP=function(a){_.ri.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Mc=new _.Ee(this);this.ma=null;this.Ta=this.va=!1;var b=new Xfd(a);this.context.ha=b;this.Fa=new Ofd(a,this);C2c(this.Fa);(b=_.C(a.Oc,_.ZL,58))&&_.S(b,1,!1);this.Ma(this.Mc);this.O=this.context.Qj;this.W=a.Ifa;this.V=new Jfd(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.cSa()};_.L(EP,_.ri);_.g=EP.prototype;_.g.cSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Th();var b=this.context.Sk().H(106E3);this.ma.promise.then(function(){b&&b.Zj()},function(){_.EN(a.context.Sk(),181008852)});var c=_.iN(this.context.Oc)?"(coldstart) ":"";this.context.Sf().info(this.Ba,"Initializing "+c+"with client build: "+this.context.Oc.Ki());this.Mc.listen(this.context,_.wc,this.pvb);this.Mc.listen(this.context.BI,["ib","jb"],function(d){return void a.dispatchEvent(d)});this.Mc.listen(this.context.rk(),[].concat(_.jd(Object.values(_.aB))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();cP(this.O,"NSockf")}return this.ma.promise};_.g.VWa=function(){this.context.Sf().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.pvb=function(a){var b=a.error,c=b.Pg;c&&3===c.getType()&&!this.va?(this.va=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.YY=function(){throw FP("teamDriveQuery");};_.g.Pda=function(){throw FP("teamDriveFindByIds");};
_.g.cqa=function(){throw FP("teamDriveMovePreflight");};_.g.GFa=function(){throw FP("peoplePredictQuery");};_.g.query=function(a){l$c(this.context.Hm,a,D5c(this.context.Jg));this.jF();var b=a.clone();b=this.V.$wa(b);this.Ta||(a=a.xe(),a&&121===_.B(a,1)||(this.Ta=!0,this.Mc.listen(b,_.xc,this.zMa)));return b};_.g.zMa=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.zMa)}};_.g.Hq=function(a){this.jF();j$c(a);return this.V.Xwa(a.clone())};
_.g.$ua=function(){throw FP("activityQuery");};_.g.Ova=function(){throw FP("backupsQuery");};_.g.pGa=function(){throw FP("refreshBackups");};_.g.AV=function(){throw FP("getAndroidBackupItems");};_.g.w8=function(){throw FP("deleteBackup");};_.g.JFa=function(){throw FP("permissionQuery");};_.g.haa=function(){throw FP("insertPermission");};_.g.x8=function(){throw FP("deletePermission");};_.g.xd=function(){throw FP("mutate");};_.g.XN=function(){throw FP("mutateWorkspace");};
_.g.pz=function(){throw FP("bulkMutate");};_.g.Wwa=function(){throw FP("createFileUploader");};_.g.qSa=function(a){return new DP(this.context.Rm(),a)};_.g.Iq=function(a){if(3===a.getType())return _.$h(this.context.Rm().then(function(b){return b.Te(a)}).then(null,_.cM));throw FP("getApps with type "+a.getType());};_.g.ur=function(){throw FP("getApp");};_.g.jaa=function(){throw FP("installApp");};_.g.v8=function(){throw FP("deleteApp");};_.g.jT=function(){throw FP("updateApp");};
_.g.uN=function(){throw FP("getUserAccount");};_.g.VG=function(){throw FP("getUserPrefs");};_.g.YR=function(){throw FP("mutateUserPref");};_.g.iu=function(){throw FP("getRevisions");};_.g.IBa=function(){return!1};_.g.Jl=function(a){this.context.$y?a?_.EZc(this.context.$y,!0):this.context.rk().Ue()&&this.context.$y.pM(!0).then(null,function(){}):this.context.Jj().Jl(a)};_.g.Py=function(){throw FP("setOfflineOptIn");};_.g.pY=function(){throw FP("setLocalItemService");};_.g.jF=function(){};
_.g.$R=function(){this.context.$R();this.context.Sk().O(106006)};_.g.H9=function(){return this.Fa};_.g.nY=function(){};_.g.wB=function(){return this.context.BI.wB()};_.g.kQ=function(){return _.S(this.context.Oc.$f(),52,!1)?_.Ph(E$c(new D$c,0)):this.context.BI.kQ()};_.g.isConnected=function(){return 1===this.context.rk().get()};_.g.S7=function(){var a=this.context.$y;return a?a.pM():_.Ph(_.nZc(0))};_.g.sync=function(){throw FP("sync");};_.g.Hu=function(){return this.context.Hu()};
_.g.Cba=function(){throw FP("offlineDataLoaded");};_.g.Xna=function(a){return this.context.Rm().then(function(b){return b.Te(a)}).then(function(b){return b})};_.g.owa=function(){throw FP("categoryMetadataQuery");};_.g.R7=function(){throw FP("changeCategoryLinks");};_.g.fP=function(){throw FP("updateCategoryMetadata");};_.g.aGa=function(){throw FP("publishedCategoriesQuery");};_.g.ioa=function(){throw FP("publishedCategoryQuery");};_.g.XKa=function(){throw FP("workspaceFindByIdsRequest");};
_.g.Yqa=function(){throw FP("workspaceQueryRequest");};_.g.lJa=function(){throw FP("suggestedWorkspaceItemQueryRequest");};_.g.mJa=function(){throw FP("suggestedWorkspaceQueryRequest");};_.g.N_=function(){throw FP("addCacheHint");};_.g.u0=function(){throw FP("createUserFeedback");};_.g.So=function(){throw FP("handleChanges");};var FP=function(a){return new _.lc(a+" is unsupported",_.aM(3))};
var f3c=function(a){EP.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Fu("")};_.L(f3c,EP);f3c.prototype.$a=function(){bP(this.O,["NSockf"],this.VWa.bind(this))};
var Yfd=new Set([1,2,4,5,6]),Zfd=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};Zfd.prototype.Fh=function(){var a=new _.AP;a.Dc(this.status);this.H&&_.Ped(a,this.H?this.H.clone():null);return a};
var $fd=function(a,b,c,d){d=void 0===d?!1:d;var e=Yfd.has(c);if(1===a.status&&!e)return!1;a.Pe=c;var f=a.status;c=!a.H;if(_.IL(a.O)){var h=(h=b&&b.getUser())&&_.VF(h);h=!(!h||!obd(a.ka,h));a.status=h&&e||d?1:6}f=!_.ak(a.H,b)||(_.IL(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.IL(a.O)||(a.status=e||d?1:6);c&&(cP(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};Zfd.prototype.jf=function(){return this.Pe};
var agd=function(a){_.ri.call(this);this.ha=a;this.Pe=0};_.L(agd,_.ri);var bgd=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};$8c(a,_.Md(a,4).map(b));a9c(a,_.Md(a,5).map(b));return a};_.g=agd.prototype;_.g.Iq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.hQ=function(){};_.g.mD=function(){return 0!==this.Pe};_.g.jf=function(){return this.Pe};
var cgd=new Set([1,2,4,5,6]),dgd=function(a,b,c){agd.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.zp=!1};_.L(dgd,agd);dgd.prototype.Iq=function(){var a=new YO;if(!_.Va(this.H)){_.Kj(a,4,this.O);var b=[];_.Ma(this.H,function(c){b.push(c.clone())});_.Nj(a,2,b)}a.Dc(this.status);return a};dgd.prototype.put=function(a){this.H[a.getId()]=bgd(a);this.V.update(1);this.dispatchEvent(new _.gi("Qb",this))};dgd.prototype.remove=function(a){_.Xa(this.H,a)&&this.V.update(1)};
dgd.prototype.hQ=function(a,b,c){c=void 0===c?!1:c;var d=!cgd.has(b);1===this.status&&d||(this.Pe=b,egd(this,a,!d||c),d||this.V.update(1),this.zp||(this.zp=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),cP(this.ha,"nVUlO")))};
var egd=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);_.gVc(a.H);b=_.Uj(b,_.IO,2);d||(d=b.length!==_.Ra(h));b.forEach(function(k){var l=bgd(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.ak(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.gi("Qb",a))};
var GP=function(a){_.N.call(this);this.context=a;this.yy=new Set;this.Ip=6;this.uCa=!0;this.Pe=0;this.Mc=new _.Ee(this);this.Ma(this.Mc)};_.L(GP,_.N);_.g=GP.prototype;_.g.ai=function(a){this.oRa(a);this.yy.add(a);this.resize(!0);this.vO(a)};_.g.oRa=function(){};_.g.ik=function(a){this.yy.delete(a);0!=this.yy.size||this.fZa()?this.resize(!1):this.dispose()};_.g.jf=function(){return this.Pe};_.g.kj=function(a){this.Pe=a};_.g.TB=function(a){this.uCa=!1;this.Ip=a};_.g.HJ=function(){return this.Ip};
_.g.refresh=function(){};_.g.uk=function(){};
var ggd=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)}}fgd(a.context.uf,d,b);d.forEach(function(k){kcd(a.context.DMa,k,b);if(k.Bc()){var l=k.getCapabilities();QO(k)?l&&(_.FWc(l,_.R(l,13)),_.CWc(l,!1),_.JWc(l,!1)):aO(k)?(l&&_.A(l,3,!1),_.A(k,30,!1)):l&&(_.NWc(l,!1),_.OWc(l,!1))}k.getCapabilities()||_.cN(k,
new _.Tk)})};GP.prototype.resize=function(){};GP.prototype.wd=function(){};GP.prototype.ol=function(a,b){var c=this,d=!1;a.forEach(function(e){e=aP(e);d=c.Ju(e,!0)||d});b||(1!=this.HJ()&&(d=!0),this.TB(1));d&&this.PX()};var hgd=function(a,b){var c=!1;b.forEach(function(d){c=a.Ju(d)||c});c&&a.PX();return c};_.g=GP.prototype;_.g.update=function(a){return hgd(this,[a])};_.g.Ju=function(){};_.g.PX=function(){var a=this;this.nRa();this.yy.forEach(function(b){a.vO(b)})};_.g.nRa=function(){};
_.g.vO=function(a){var b=igd(this.context).Kka(a);this.rYa(b)||(b=this.uk(b),igd(this.context).vO(a,b))};_.g.OX=function(a){var b=this;this.TB(3);this.yy.forEach(function(c){igd(b.context).OX(c,a)})};_.g.kA=function(){var a=this;this.yy.forEach(function(b){igd(a.context).kA(b)});this.kj(0==this.jf()?1:6)};_.g.fZa=function(){return!1};_.g.rYa=function(){return!1};
var jgd=function(a){_.gi.call(this,"Db");this.id=a};_.L(jgd,_.gi);
var kgd=function(a,b,c,d){d=void 0===d?!1:d;_.ri.call(this);this.request=a;this.context=b;this.NKa=d;this.le=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.L(kgd,_.ri);
kgd.prototype.Yg=function(){var a=this;if(this.le)return this.le.promise;this.le=_.Th();for(var b={},c=_.m(this.request.hn().entries()),d=c.next();!d.done;b={Bra:b.Bra,Kea:b.Kea,ora:b.ora},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.ora=e;b.Bra=P5c(O5c(d),this.request);b.Kea=void 0;this.NKa&&(b.Kea={NKa:!0});this.context.Rm().then(function(f){return function(h){return h.Te(f.Bra,f.Kea)}}(b)).then(function(f){return void lgd(a,f)},function(f){return function(h){var k=f.ora;h=
_.$A(h);5===h.Pg.ht()||4===h.Pg.nk()?(a.context.Sf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),mgd(a)):a.handleError(h)}}(b))}return this.le.promise};var lgd=function(a,b){b.qd().Fd().forEach(function(c){_.WL(c,1);a.W.push(c)});mgd(a)},mgd=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
kgd.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;ngd(this);ogd(this);this.O.size===this.request.hn().length?(this.context.uf.ol([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.le.resolve(this.items)):this.dispatchEvent("Cb")};
var ngd=function(a){var b=a.W;a.W=[];b=a.context.Kfa.b9(b);if(_.CL(_.DL(a.context.Oc))){var c=a.context.uf.xm;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.bN(d,e.mk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.uf.ol(b,1,a.originalRequest,!0)},ogd=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.XL(_.NL(new _.ML,c));a.context.uf.So([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new jgd(c))})};
kgd.prototype.handleError=function(a){var b=new XO(a.Pg,_.bk(this.context.Oc.$f(),1,1));this.context.uf.pB(this.request,b);this.dispatchEvent(b);this.le.reject(a)};
var pgd=function(a,b,c,d){GP.call(this,a);this.Jg=b;this.request=c;this.Od={};this.H=null;this.O=_.SL(a.Oc)||new _.VUc;d&&this.ol(d,!0)};_.L(pgd,GP);
pgd.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Ip=6;if(_.S(this.request,5,!1))return this.TB(1),_.Ph();var b=!this.uCa&&_.S(this.O,3,!1)?!1:!F1c(_.oN(this.Jg),this.request.O()),c=[],d=this.context.Wn();this.request.hn().forEach(function(h){if("root"!==h&&h!==d){var k=a.Od[h],l=k&&k.getItem();if(k=!k||l&&1!==bO(l)||b)l=l&&l.Pm(),k=!(l&&_.R(l,2));k&&c.push(h)}});if(0===c.length)return this.ol([],!1),_.Ph();this.H=_.Th();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.aA(e,c);var f=new kgd(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"),qgd(a,f,a.H))}),this.Ip=0<Object.values(this.Od).length?1:2):(this.context.rk().Ue()&&(this.Ip=0<Object.values(this.Od).length?1:2),qgd(this,f,this.H));return this.H.promise};var qgd=function(a,b,c){a.Mc.listen(b,"Db",function(d){a.Od[d.id]=null});a.kA();b.Yg().then(function(){c.resolve()},c.reject)};
_.g=pgd.prototype;_.g.Yha=function(a){var b=this;if(this.context.Hm.equals(a,this.request,!0)){if(F1c(_.oN(this.Jg),a.O()))return!0;if(F1c(this.request.O(),a.O(),_.oN(this.Jg))){if(this.uCa)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.hn().every(function(c){return(c=b.Od[c])&&_.R(c.getItem(),31)})}}return!1};
_.g.uk=function(a){var b=new _.wN;_.IL(this.context.Oc)?b.Dc(S1c(Object.values(this.Od))?6:this.Ip):b.Dc(this.Ip);b.kj(this.jf());c7c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));ggd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};_.g.Ju=function(a){var b=this.Bs(a.O),c=this.Bs(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};
_.g.Bs=function(a){return!!a&&_.ma(this.request.hn(),a.getId())};
var rgd=function(a,b){_.gi.call(this,a);this.changes=b};_.L(rgd,_.gi);
var sgd=function(a){var b=new tbd;if(a.Vf()){var c=a.Vf();b.H=!1;b.suggestionSessionId=c}a instanceof _.xN&&_.Uj(a,_.Fk,6).length?(a=_.Uj(a,_.Fk,6),b.H=!1,b.V=a):a instanceof _.QA&&(a.i6()||a.ssa()||a.vka().length)&&(c=a.i6(),b.H=!1,b.W=c,c=a.ssa()||!1,b.H=!1,b.incompleteSearch=c,a=a.vka(),b.H=!1,b.O=a);return b};
var HP=function(a,b,c,d,e){e=void 0===e?"":e;_.ri.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.W=0;this.va=!1;this.V=[];this.O=!1;this.ka=0;this.Ja=a.Sf();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.YFa(b);this.ha=new tbd};_.L(HP,_.ri);var tgd=function(a){return!a.va||""!==a.nextPageToken},vgd=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&tgd(a)?ugd(a):_.Zh()};HP.prototype.$b=function(){return this.V.length};HP.prototype.H=function(){return this.V.slice()};
var ugd=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 wgd(a,c,f)});var e=_.AVc(_.BVc(new _.JL,a.Fa),c);b=_.yVc(new _.uUc,b);a.Ha&&_.A(b,10,!0);_.zVc(e,b);a.va=!0;a.O=!0;a.context.Rm().then(function(f){return f.Te(e)}).then(a.oa.bind(a,d),a.handleError.bind(a,d,b));return d};
HP.prototype.oa=function(a,b){this.O=!1;if(b instanceof _.xN)var c=b;else c=b.qd(),this.nextPageToken=b.Un()||"";this.ha=sgd(c);this.ha.wc()||this.dispatchEvent("Eb");a.callback(c.Fd())};
HP.prototype.handleError=function(a,b,c){c=_.$A(c);this.O=!1;if(5===c.Pg.ht())a.callback([]);else{if(10===c.Pg.ht()&&(_.yVc(b,Math.ceil(_.bk(b,1,1E3)/2-2E-15)),1<_.bk(b,1,1E3))){var d=_.zVc(_.AVc(_.BVc(new _.JL,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Rm().then(function(e){return e.Te(d)}).then(this.oa.bind(this,a),this.handleError.bind(this,a,b));return}b=new XO(c.Pg,_.bk(this.context.Oc.$f(),1,1));this.AMa(b);this.dispatchEvent(b);a.Pd(c)}};
var wgd=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: ")+(_.EYc(a.request)+" paginationToken: ")+b;b=_.bq(_.$p(_.PL(_.OL(new _.kc,2),9),f));a.context.dispatchEvent(new _.mc(new _.lc(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.Ba.has(h.getId());a.Ba.add(h.getId());return!k});a.ka+=c.length-f.length;c=_.m(f);for(b=c.next();!b.done;b=c.next())_.WL(b.value,
a.ma?2:1);c=[];b=_.m(a.S1a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.NL(new _.ML,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new rgd("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return ugd(a);a.dispatchEvent("Fb")};_.g=HP.prototype;_.g.S1a=function(a){return a};_.g.AMa=function(){};_.g.wd=function(){return this.request};_.g.YFa=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 xgd=function(a,b,c,d){HP.call(this,a,b,void 0,c,d)};_.L(xgd,HP);xgd.prototype.S1a=function(a){a=this.context.Kfa.b9(a);this.context.uf.ol(a,1,this.request,tgd(this));return a};xgd.prototype.AMa=function(a){this.context.uf.pB(this.request,a)};xgd.prototype.YFa=function(a){var b=a=HP.prototype.YFa.call(this,a),c=_.Gl(b);0===_.Md(b,33).length&&1===c.length&&(c=this.context.uf.xm.H(c[0].Ya()))&&(c=c.Bc())&&(_.Il(b,[c]),_.Jl(b,2));ygd(this,a);return a};
var ygd=function(a,b){if(_.Gl(b).some(function(d){return(d=a.context.uf.xm.H(d.Ya()))&&_.R(d,108)})){var c=b.xe();c||(c=new _.lf,_.Hl(b,c));_.mf(c,937)}};
var zgd=function(a,b,c,d){this.context=a;this.Jg=b;this.W=d;this.Zna=0;this.H=c},Dgd=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Jl(_.El(_.Il(new _.Ye,[b]),_.oN(a.Jg)),1),d=_.mf(new _.lf,306);_.Hl(c,d);Agd(a);c=new xgd(a.context,c);vgd(c,5E3).addCallback(a.V.bind(a,c));Bgd(a);Cgd(a,b)}},Bgd=function(a){var b=_.Sa(a.H);b=b.filter(function(d){return d instanceof pgd});var c=new Set;b.forEach(function(d){d.wd().hn().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.mf(new _.lf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.xO([].concat(_.jd(c)),b)},Cgd=function(a,b){var c=[];(a.context.uf.fGa.qQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.ak(e.wd(),d)&&c.push(e)})});_.Fa(c);0<c.length&&(Agd(a),c.forEach(function(d){d=TO(a.context.Hm,d.wd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.Uh(_.Sh(c.map(function(d){return d.refresh().Gg(_.Ef)})),a.O.bind(a)))};
zgd.prototype.xO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.ae(f)});if(0===a.length)return _.Ph({});a=_.A(_.$z(_.aA(new _.Zz,a),d||_.oN(this.Jg)),7,!0);_.bA(a,b);e&&e.length&&_.Nj(a,11,e);Agd(this);b=new kgd(a,this.context,void 0,c);return _.Uh(b.Yg(),this.V.bind(this,b))};zgd.prototype.V=function(a){a.dispose();this.O()};var Agd=function(a){a.Zna++;a.context.Ts.setActive(!1)};zgd.prototype.O=function(){this.Zna--;0===this.Zna&&this.context.Ts.setActive(!0)};
zgd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.CacheRefresher",a)};
var Egd=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(Egd,_.N);
Egd.prototype.Yg=function(){if(!this.le){this.le=_.Th();if(_.S(this.request,48,!1))return this.H.kj(9),this.le.resolve(this.H),this.le.promise;this.O=new HP(this.context,this.request,!0);this.Mc.listen(this.O,"Cb",this.W);this.Mc.listen(this.O,"Fb",this.V.bind(this));this.Mc.listen(this.O,"Gb",this.le.reject.bind(this.le));vgd(this.O,this.request.Mi())}return this.le.promise};Egd.prototype.W=function(a){a=_.m(a.changes);for(var b=a.next();!b.done;b=a.next())b=b.value.getItem(),this.H.update(aP(new OO(b)))};
Egd.prototype.V=function(){this.H instanceof eP?this.H.H=!tgd(this.O):tgd(this.O)&&dP(this.H,!1);this.H.kj(5);this.le.resolve(this.H)};
var Ggd=function(a,b){_.gi.call(this,Fgd);this.cache=a;this.changes=b};_.L(Ggd,_.gi);var Fgd="Rb";
var Hgd=function(a,b){return new _.Oh(function(c,d){b.then(function(e){var f={};a.gy().forEach(function(h){var k=h.getId();Y1c(h.getItem());f[k]=new OO(h.getItem())});e.items.forEach(function(h){var k=h.Cc();k=f[k];h.tk()?k&&a.update(new nad(k.getId(),k,null)):(h=h.getItem(),Y1c(h),a.update(oad(k,new OO(h))))});a.gX();c(e.sLb)},d)})};
var Igd=function(a,b){_.N.call(this);this.context=a;this.Jg=b};_.L(Igd,_.N);
Igd.prototype.Yg=function(a){this.log("Running initial view populator (IVDP).");try{var b=new MO(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.bM(q));return}a=_.DL(this.context.Oc);if(!_.CL(a)){var c=b.Fh();if(c){var d=c.getUser();d&&d.getId()===_.E(a,6,"")&&$fd(this.context.YP,c,4)}(a=b.Wn())&&this.context.Fu(a,6)}var e=_.B(b,3)||void 0;e&&Jgd(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.hE.hQ(a,4,[].concat(_.jd(f.values())))}a=b.Fd();a.forEach(function(q){_.NVc(q);_.WL(q,6)});if(c=_.Uj(b,LO,5)[0])if(b=this.context.Hm,M1c(_.oN(this.Jg),c.getQuery().O(),_.hN(this.context.Oc)))if((d=c.getQuery().Ac())&&4===d.getType()&&!_.kSc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=SO(b,c.getQuery());var h=_.B(c,2)||void 0;d.xi(h);h=a.map(function(q){return new OO(q,void 0,1,e)});var k=_.C(c,_.Yk,
3);if(k&&_.B(c,2)){var l=h[h.length-1];_.WL(k,6);if(!_.ak(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.SL(this.context.Oc))&&_.S(k,2,!1)&&c.Un()||"";var p=new eP(this.context.wu,this.context.zw,this.context.Hm,d,l,c);p.kj(4);h.forEach(function(q){p.update(aP(q))});Kgd(this.context.uf,p);l=p.wd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+TO(b,l));b=new _.JL;_.BVc(b,l);l=_.NZc(this.context.MA,
b,"IVDP");_.OZc(l,a);cP(this.context.Qj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+i$c(b,c.getQuery().O()));else this.handleError("No initial query found")};Igd.prototype.handleError=function(a,b){var c=b?void 0:_.bq(_.PL(_.OL(new _.kc,2),6));b=new _.lc(a,c,b);this.context.uJ(b.Pg);this.log("Initial view dump population failed. Message: "+a);cP(this.context.Qj,"DEJoH")};Igd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var Lgd=function(a){_.ri.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new gP(a.wu,a.zw,a.Qj,function(){return a.Wn()})};_.L(Lgd,_.ri);var Mgd=function(a,b){var c=_.bk(a.context.Oc,31,2E4);("number"===typeof _.B(b,3)?_.B(b,3):c+1)>c?(dP(a.O,!1),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.MA.Lb("CachedCorpusType",b)};
Lgd.prototype.log=function(a,b){this.context.Sf().log(this.W,a,b||"info")};var Ngd=function(a,b){0===a.V&&(a.V=b)};
var Ogd=function(a,b){var c;if(c=!!b&&!!b.hh())a=a.Dm(),c=null==a||!!b.hh().Dm()==a;return c};
var Pgd=function(a,b){_.ri.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.L(Pgd,_.ri);Pgd.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?_.Zh():Qgd(this)};Pgd.prototype.$b=function(){return this.V.length};
var Qgd=function(a){a.O=!0;a.H=!0;var b=g5c(h5c(new _.SM,a.request),a.nextPageToken),c=_.NZc(a.context.MA,b);return _.$h(a.context.Rm().then(function(d){return d.Te(b)}).then(function(d){var e=d.qd().Fd();a.nextPageToken=d.Un()||"";Rgd(a,c,e)},function(d){return void a.handleError(d)}))},Rgd=function(a,b,c){_.OZc(b,c);for(b=0;b<c.length;b++)_.WL(c[b],1);a.context.uf.ol(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.NL(new _.ML,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new rgd("Cb",d));a.nextPageToken?Qgd(a):(a.H=!1,a.dispatchEvent("Fb"))};Pgd.prototype.handleError=function(a){this.H=!1;a=new XO(_.QL(a),_.bk(this.context.Oc.$f(),1,1));this.dispatchEvent(a)};Pgd.prototype.wd=function(){return this.request};
var Sgd=function(a){this.H=_.lSc(a,{numeric:!0})};Sgd.prototype.sort=function(a){_.Ia(a,this.compare.bind(this))};Sgd.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 Tgd=function(a,b,c,d){d=void 0===d?!1:d;GP.call(this,a);this.Jg=b;this.Od=[];this.le=null;this.request=c.clone();this.xv=new Pgd(a,this.request);this.fQb=new Sgd(mO(_.DL(a.Oc)));this.LW=null!=_.R(this.request,6);_.we(this,this.rnb,this);d&&(this.le=_.Th(),this.le.resolve())};_.L(Tgd,GP);_.g=Tgd.prototype;_.g.refresh=function(){3===this.Ip&&(this.Ip=6,this.le=null);return this.Dca()};_.g.isInitialized=function(){return!!this.le};
_.g.Dca=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.kA(),a.xv.Yg().Tf(a.le.resolve,a.le.reject,a.le))}):this.context.rk().Ue()?this.Mc.od(this.context.rk(),[_.aB.AL,_.aB.sU],function(){a.kA();a.xv.Yg().Tf(a.le.resolve,a.le.reject,a.le)}):(this.kA(),this.xv.Yg().Tf(this.le.resolve,this.le.reject,this.le));return this.le.promise};_.g.resize=function(){};
_.g.wd=function(){return this.request};_.g.gy=function(){return this.Od};_.g.Yha=function(a){return this.context.Hm.equals(a,this.request)};_.g.uk=function(a){a=a.Mi();this.fQb.sort(this.Od);var b=z2c(_.Aa(this.Od,0,Math.min(a,this.Od.length)));ggd(this,E5c(this.Jg),b);var c=new _.QA;c.Qw(b);c.Dc(this.Ewa(a));c.kj(this.jf());I4c(c,a<this.Od.length||!(this.context.Jj().Ue()||this.context.rk().Ue())&&1!==this.Ip);return c};
_.g.Ewa=function(a){return 1===this.Ip||a<=this.Od.length?1:this.context.Jj().Ue()||this.context.rk().Ue()?0<this.Od.length?1:2:6};_.g.ol=function(a,b){this.isInitialized()&&GP.prototype.ol.call(this,a,b)};_.g.Ju=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ka(this.Od,function(h){return h.getId()===c}),e=!!d;b=this.Bs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.vKa(f,a.H):this.qJ(f):this.uR(a.H);else return!1;return!0};_.g.uR=function(a){this.Od.push(a);a.count++};
_.g.qJ=function(a){_.va(this.Od,a);a.count--};_.g.Iya=function(a){return _.la(this.Od,a)};_.g.vKa=function(a,b){this.Od[this.Iya(a)]=b;b.count++;a.count--};_.g.Bs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.LW&&null!=_.R(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Od.find(function(d){return c===d.getId()},this);a=QO(a.getItem())&&Ogd(this.request,a.getItem());return b&&a}return QO(a.getItem())&&Ogd(this.request,a.getItem())};_.g.rnb=function(){this.Od.forEach(function(a){a.count--})};
_.g.fZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ld=function(){return this.Od.length};_.g.gX=function(){this.Ip=1};
var Ugd=function(a){this.H=a},Vgd=function(a,b,c,d,e){if(0===e||null===b){var f=new wed;_.A(f,2,b);_.A(f,1,d);return _.Ph(f)}var h=C$c();_.A(h,2,b);c&&_.A(h,3,c);return a.H.then(function(k){return k.Te(h)}).then(function(k){var l,p=null!==(l=k.my())&&void 0!==l?l:null;k=d+_.B(k,1);return Vgd(a,p,c,k,e-1)})};
var Wgd=function(a,b){Lgd.call(this,a);this.Jg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.AD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator";this.H=a.Oc};_.L(Wgd,Lgd);Wgd.prototype.handleError=function(){this.log("Local dump population failed.");cP(this.context.Qj,"mrK8ic")};
Wgd.prototype.Yg=function(){var a=this;if(this.ka)return this.ka;if(this.context.xQ){var b=new _.Vh;this.ka=b;this.initialize().then(function(){var c=_.Uj(_.nO(a.H),lO,11);c=c[0]&&c[0].getKey()||"";return Xgd(a,a.context.xQ,c,4)}).Gg(function(c){if(_.S(a.H,8,!0))return Ygd(a);throw c;}).then(function(){_.IL(a.H)||a.context.uf.xq.H.clear();cP(a.context.Qj,"zaOY7");b.callback()},function(c){Ngd(a,8);a.handleError();b.Pd(c)});return b}this.handleError();return _.ai(Error("cg"))};
Wgd.prototype.initialize=function(){var a=this;return this.context.xQ.initialize().then(function(){if(!_.iN(a.H)){var b=_.bk(_.nO(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Oh(function(c,d){Fdd(a.context.uD).then(function(e){e?c():d(Error("dg"))})})}})};
var Xgd=function(a,b,c,d){var e=a.ha;Zgd(a,b,c,e);$gd(a,b,c,e);ahd(a,b,c,e);return bhd(a,b,c,e).then(function(){return Promise.all([chd(a,b,c,d,e),dhd(a,b,c,d,e),ehd(a,b,c,d,e),fhd(a,b,c,d,e)])})},Zgd=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};nP(b,c,0,void 0,d,a.AD).then(function(f){f[0]?$fd(a.context.YP,f[0],a.jf(),_.iN(a.H)):e()},function(){return e()})},$gd=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};nP(b,
c,1,void 0,d,a.AD).then(function(f){f[0]?a.context.c_.hQ(f[0],a.jf(),_.iN(a.H)):e()},function(){return e()})},ahd=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};nP(b,c,5,void 0,d,a.AD).then(function(f){if(f[0]){f=f[0];var h=_.Uj(f,_.hp,1);h.length&&a.context.hE.hQ(h,a.jf(),_.Md(f,2),_.iN(a.H))}else e()},function(){return e()})},chd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,1,e,a.AD).then(function(h){return ghd(a,h[0])}).then(function(h){if(h){b!==a.context.xQ||
M1c(_.Md(h,12),_.oN(a.Jg),_.hN(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Ts.jS());var k=_.B(h,3);if(!k||0>k)throw Error("gg");a.context.Fu(h.Wn(),d);k=_.B(h,3);"number"===typeof k&&Jgd(a.context,Number(k));_.iN(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.LDa());a.ol(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},dhd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,2,e,a.AD).then(function(h){h[0]?
(a.ol(h[0],d),f.resolve()):f.reject(Error("eg"))},f.reject,f);return f.promise},ehd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,4,e,a.AD).then(function(h){h.forEach(function(k){a.ol(k,d)});f.resolve()},f.reject,f);return f.promise},fhd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,3,e,a.AD).then(function(h){h.length?h.forEach(function(k){a.ol(k,d)}):cP(a.context.Qj,"rVezo");f.resolve()},f.reject,f);return f.promise},bhd=function(a,b,c,d){var e=new _.yn;nP(b,c,6,void 0,d,a.AD).then(function(f){f=_.m(f);
for(var h=f.next();!h.done;h=f.next())h=h.value,_.Uj(h,ZO,1).length&&(a.log("Importing "+_.Uj(h,ZO,1).length+" people into the PeopleCache."),h=_.Uj(h,ZO,1),Sad(a.context.uf.xq.H,h,2));e.resolve()},e.reject,e);return e.promise},ghd=function(a,b){var c=_.B(b,3);if(c&&!_.iN(a.H)){var d=new Ugd(a.context.Rm()),e=_.bk(_.nO(a.context.Oc),13,5);return Vgd(d,c,null,0,e).then(function(f){return _.P(f,2)?(a.log("Encrypted dump too stale."),a.context.Sk().O(106007),Ngd(a,9),null):b},function(){return b})}return _.Ph(b)},
Ygd=function(a){var b=oP(a.context.IL.Di()),c=_.Uj(_.nO(a.H),lO,11).filter(function(d){return d.ws()});return xdd(_.gN(_.DL(a.H)),_.hN(a.H),_.bk(_.nO(a.H),10,0)||0,_.oN(a.Jg),a.ha||0,c.map(function(d){return _.B(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.B(k,1)}),f=new pP(_.Ph(d),a.context.Sf(),null,!0),h=new wcd(f,a.H,function(k){a.context.uJ(k)});h.initialize();a.ma=!0;return Xgd(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([Cdd])}).then(function(k){if(k[0])return k=
k[0].Ya(),a.context.uD.set(Cdd,k)}).then(function(){f.close()})}return _.Rh(Error("fg"))})},khd=function(a,b,c){switch(b.wo()){case 1:return hhd(a,b,c);case 2:b=_.C(b,L2c,11);if(!b)throw Error("hg");Mgd(a,b);a.O.iK?(a.O.kj(a.jf()),a=[{cache:a.O,changes:lP(a.context.qz,null)}]):a=[];return a;case 3:return ihd(a,b);case 4:return jhd(a,b);default:return null}},hhd=function(a,b,c){var d=[];_.Uj(b,LO,5).forEach(function(e){var f=void 0,h=_.C(e,_.Yk,3);h&&(_.NVc(h),_.R(a.H,67)&&A1c(h,P1c),_.WL(h,c),f=new OO(h));
var k=e.getQuery();if(!_.S(k,48,!1)||_.Uj(a.H,_.Ye,44).some(function(l){if(!_.S(l,48,!1))return!1;l=SO(a.context.Hm,l,!0);return _.ak(l,k)}))e=new eP(a.context.wu,a.context.zw,a.context.Hm,k,f),e.kj(a.jf()),d.push({cache:e,changes:lP(a.context.qz,null)})});return d},jhd=function(a,b){return _.Uj(b,LO,5).map(function(c){c=new Tgd(a.context,a.Jg,_.C(c,_.wL,5),!0);c.kj(a.jf());return{cache:c,changes:lP(a.context.qz,null)}})},ihd=function(a,b){var c=_.Md(_.Uj(b,LO,5)[0].getQuery(),33)[0],d=_.B(b,3)||
void 0;b=lP(a.context.qz,c);IP(a.context).addCallback(function(f){f.jva(c,d)});var e=new hP(a.context.wu,a.context.zw,c);e.kj(a.jf());return[{cache:e,changes:b}]};
Wgd.prototype.ol=function(a,b){var c=this,d=khd(this,a,b);d&&0!==d.length?(a.Fd().forEach(function(e){_.NVc(e);_.R(c.H,67)&&A1c(e,P1c);_.WL(e,b);if(!_.IL(c.H)&&!c.context.uf.xq.H.wc()){var f=c.context.uf.xq;lbd(f,ebd(f,[e]))}e=new OO(e);for(f=0;f<d.length;f++)d[f].cache.update(aP(e))}),d.forEach(function(e){var f=e.cache;c.dispatchEvent(new Ggd(f,e.changes));c.log("Imported "+f.Ld()+" items into the "+f.getType());var h=null;f instanceof hP&&(h=f.Bc());c.context.faa.promise.then(function(){Tbd(c.context.qz,
h)})}),1===a.wo()&&cP(this.context.Qj,"ZA9qG")):this.log("Ignoring corpus cache for "+a.wo()+".")};Wgd.prototype.jf=function(){return this.ma?7:3};
var lhd=function(a){_.N.call(this);this.context=a};_.L(lhd,_.N);lhd.prototype.Yg=function(a){try{mhd(this,new ped(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var mhd=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:nhd(a,b);break;case 4:ohd(a,b);break;case 6:phd(a,b);break;case 2:qhd(a,b);break;case 7:rhd(a,b);break;case 5:_.Uj(_.C(b,red,7),ped,1).forEach(function(c){mhd(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},nhd=function(a,b){var c=_.C(b,_.Ye,2);b=JSON.parse(_.B(b,3)||"{}");var d=new _.JL;_.BVc(d,c);b=a.context.aR().Ksa.EE(d,{headers:{},text:"",json:b}).qd();
shd(a,c,b)},phd=function(a,b){shd(a,_.C(b,_.Ye,2),_.C(b,_.QA,9))},shd=function(a,b,c){for(var d=c.Fd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.WL(f.value,7);c=sgd(c);a=a.context.uf;b=SO(a.context.Hm,b);e=JP(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new KP(a.context,b),f.kj(2),a.O[e]=f);c.wc()||f.Jsa(c);a.ol(d,1,b)},qhd=function(a,b){b=_.C(b,_.sz,5);var c=a.context.Oc.$f();c=c&&_.Md(c,30)||[];var d=new Set(c);_.Uj(b,_.hp,3).forEach(function(e){(e=(e=e.getKey())&&
_.ip(e))&&d.add(e)});a.context.hE.hQ(_.Uj(b,_.hp,3),2,[].concat(_.jd(d.values())))},ohd=function(a,b){a.context.Lfa.Q2(_.C(b,$O,8).ll(),_.C(b,_.Jz,6),2,!1)},rhd=function(a,b){var c=_.C(b,_.IF,10);b=JSON.parse(_.B(b,3)||"{}");b=a.context.aR().Ksa.EE(c,{headers:{},text:"",json:b});Kfd(a.context).Q2([b],c,2,!1)};lhd.prototype.handleError=function(a,b){var c=b?void 0:_.bq(_.PL(_.OL(new _.kc,2),6));this.context.dispatchEvent(new _.mc(new _.lc(a,c,b)));this.log("Prefetched request population failed.")};
lhd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var LP=function(a){Lgd.call(this,a);this.H=[];this.ha=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.ma=Math.ceil(1.1*_.bk(a.Oc,31,2E4))};_.L(LP,Lgd);LP.prototype.Yg=function(){if(!_.S(this.context.Oc,45,!1))return Ngd(this,5),this.handleError(),_.ai(Error("ig"));this.log("Drive SDK cache population initiated.");return this.context.AVa().addCallback(this.va,this).addCallback(this.oa,this).Hg(this.handleError,this)};
LP.prototype.va=function(){var a=this;cP(this.context.Qj,"L6uQWd");IP(this.context).addCallback(function(b){b.gea()});if(_.S(this.context.Oc,46,!1))return K2c(this.context.Rm(),this.context.Sf()).addCallback(function(b){if(!b)throw Ngd(a,4),Error("jg");Mgd(a,b)});this.log("Subscribed corpus cache population disabled.");dP(this.O,!1);return _.Zh()};
LP.prototype.oa=function(){this.context.LDa();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);thd(this,this.O,b)}b=_.Uj(this.context.Oc,_.Ye,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new eP(this.context.wu,this.context.zw,this.context.Hm,c.value),c.kj(5),thd(this,c,c.wd()),c=TO(this.context.Hm,c.wd()),this.log("Starting "+c+" cache hint corpus cache population.");_.Sh(this.ha).then(a.callback,this.ka.bind(this,
a),a);return a};var thd=function(a,b,c){var d=lP(a.context.qz,null);b=new Egd(a.context,b,c);a.H.push(b);b=_.Uh(b.Yg().then(function(e){!e.iK&&e instanceof gP&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.MA.Lb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new Ggd(e,d))}),function(){a.context.faa.promise.then(function(){Tbd(a.context.qz,null)})});a.ha.push(b)};
LP.prototype.ka=function(a,b){for(var c=_.m(this.H),d=c.next();!d.done;d=c.next())d.value.dispose();Ngd(this,7);c=b;b instanceof XO?c=_.bM(b.error):_.HL(b)||(c=Error("kg`"+b));a.Pd(c)};LP.prototype.handleError=function(){this.log("Drive SDK cache population failed.");cP(this.context.Qj,"Gv4zef")};LP.prototype.jf=function(){return 5};
var uhd=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 Wgd(this.context,this.context.Jg);this.Ma(this.H);this.O=new LP(this.context);this.Ma(this.O)};_.L(uhd,_.N);
uhd.prototype.Yg=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Sk().H(106002);_.n._DRIVE_dsp&&vhd(this);_.n._DRIVE_dspc=function(c){vhd(a,c)};lP(this.context.qz,null);_.S(this.context.Oc,24,!1)&&!_.iN(this.context.Oc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?whd(this):_.n._DRIVE_ivdc=function(){whd(a)});var b=this.context.xQ;if(b)return this.Mc.listen(this.H,Fgd,this.ha),this.Mc.listen(this.O,Fgd,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.AD=a.impression);return a.H.Yg().Tf(function(){return xhd(a,a.H.jf())},function(){yhd(a,a.H.jf(),a.H.V);return _.iN(a.context.Oc)?a.handleError(Error("lg")):a.O.Yg().then(function(){return xhd(a,a.O.jf())},function(c){yhd(a,a.O.jf(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.HL(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var vhd=function(a,b){var c=new lhd(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()};uhd.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(zhd(this,b,a.changes))};
var xhd=function(a,b){Tbd(a.context.qz,null);cP(a.context.Qj,"L6uQWd");IP(a.context).addCallback(function(c){c.gea()});return Promise.all(a.W).then(function(){Ahd(a,b)})},Ahd=function(a,b){if(!a.isDisposed()){_.iN(a.context.Oc)||Bhd(a.V,_.Uj(a.context.Oc,_.Ye,44));a.log("Corpus cache population complete.");var c=a.context.Qj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Ts.MDa():Fdd(a.context.uD).then(function(d){d&&a.context.Ts.MDa()},function(){});cP(c,"rVezo");cP(c,"BNEDtc");a.impression&&(b=_.vN(_.JUc,
b),y5c(G5c(a.impression),b),x5c(G5c(a.impression),!0),z5c(G5c(a.impression),Y9c(a.V.xm)),A5c(G5c(a.impression),a.context.uf.wo()),a.impression.Zj());a.dispose()}},yhd=function(a,b,c){a.impression&&(b=_.vN(_.JUc,b),y5c(G5c(a.impression),b),a=G5c(a.impression),_.Sj(a,3,c,void 0))};
uhd.prototype.handleError=function(a,b){b=void 0===b?!1:b;Tbd(this.context.qz,null);var c=this.context.Qj;cP(c,"L6uQWd");IP(this.context).addCallback(function(d){d.gea()});cP(c,"mrK8ic");cP(c,"Gv4zef");cP(c,"rVezo");cP(c,"BNEDtc");this.context.MA.Lb("CachedCorpusType","partialCorpus");c=!!this.H.context.xQ||_.S(this.O.context.Oc,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.HL(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.lc(b,void 0,c),c=a.Pg,_.OL(c,_.iN(this.context.Oc)?3:
1),_.PL(c,6),_.$p(c,b),_.bq(c),this.context.dispatchEvent(new _.mc(a))):this.log("Corpus population skipped");this.impression&&(x5c(G5c(this.impression),!1),this.impression.Zj());this.dispose()};
var zhd=function(a,b,c){return Hgd(b,c).then(function(d){d.some(function(e){return b instanceof hP&&e.tk()&&e.Cc()===b.Bc()})||Kgd(a.V,b,d)},function(){return a.handleError(Error("mg"))})},whd=function(a){if(_.n._DRIVE_ivd){var b=new Igd(a.context,a.context.Jg);a.Ma(b);b.Yg(_.n._DRIVE_ivd)}else cP(a.context.Qj,"DEJoH")};uhd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var Chd=function(){fP.apply(this,arguments)};_.L(Chd,fP);Chd.prototype.Bs=function(a){var b;if(b=fP.prototype.Bs.call(this,a))a=a&&a.getItem()&&a.getItem().Pm(),b=!(!a||!_.R(a,3));return b};Chd.prototype.wd=function(){};Chd.prototype.getType=function(){};Chd.prototype.KN=function(){};
var Dhd=function(a,b){this.context=a;this.H=b;this.qQ={}},Fhd=function(a,b){if(!_.zM(b)){var c=_.Md(b,33);if(1===c.length)Ehd(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.AI;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(),Ehd(a,f,b))}else Ehd(a,null,b)});return}if(c.getItem().Bc()&&_.he(c.getItem().getCapabilities())){c=c.getItem().Bc();Ehd(a,c,b);return}}Ehd(a,
null,b)}}},Ehd=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!QO(d.getItem()))return}d=b||"subscribed";a.qQ[d]||(a.qQ[d]=[]);a.qQ[d].push(c);b&&(IP(a.context).addCallback(function(e){e.jva(b)}),Ghd(a.context.xJa,b))},Hhd=function(a,b){if(!_.zM(b)){var c={},d;for(d in a.qQ){c.FT=d;for(var e=0;e<a.qQ[c.FT].length;e++)if(_.ak(b,a.qQ[c.FT][e])){_.ta(a.qQ[c.FT],e);"subscribed"!==c.FT&&IP(a.context).addCallback(function(f){return function(h){h.IGa(f.FT,!1)}}(c));return}c={FT:c.FT}}}};
var Ihd=function(){this.H=new Map;this.O=[];this.V=[]};
Ihd.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();$N(e)&&(a?(e=a.getItem().Pf())&&_.B(e,1)&&(1===_.Sd(e)||3===_.Sd(e))&&(e=_.B(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0===f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.O.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.ak(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var Jhd=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},Khd=function(a){a.O=[];a.V=[]};
var Lhd=function(a,b){mP.call(this,a.clone(),b.Rm(),b.Oc,b.Sf());this.context=b};_.L(Lhd,mP);Lhd.prototype.W=function(a){var b=new Map;a.hn().forEach(function(c){var d=_.KTb(a.clone(),[c]);b.set(c,d)});return b};Lhd.prototype.V=function(a){a=a.Fd()[0];this.context.uf.ol([a],1,void 0,!0,this.request.O())};Lhd.prototype.ha=function(a){this.context.uf.ol([],1,a,!1,this.request.O())};Lhd.prototype.ka=function(a){a=_.XL(_.NL(new _.ML,a));this.context.uf.So([a])};
var Mhd=function(a,b,c,d){GP.call(this,a);this.Jg=b;this.request=c;this.Od={};d&&this.ol(d,!0)};_.L(Mhd,GP);_.g=Mhd.prototype;
_.g.refresh=function(){var a=this;this.Ip=6;var b=PO(this.context.Oc)!==PO(this.context.Oc,this.request.O()),c=[];this.request.hn().forEach(function(h){var k=a.Od[h];k&&k.getItem().hh()&&!b||c.push(h)});if(0===c.length)return this.ol([],!1),_.Ph();var d=this.request.clone();_.KTb(d,c);var e=new Lhd(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.kA(),e.Yg().then(f.resolve,f.reject,f))}),this.Ip=0<_.Ra(this.Od)?
1:2):(this.context.rk().Ue()&&(this.Ip=0<_.Ra(this.Od)?1:2),this.kA(),e.Yg().then(f.resolve,f.reject,f));return f.promise};_.g.Yha=function(a){return this.context.Hm.equals(a,this.request)&&F1c(_.oN(this.Jg),a.O())};_.g.uk=function(a){var b=new _.wN;b.Dc(this.Ip);b.kj(this.jf());c7c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));ggd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};
_.g.Ju=function(a){var b=this.Bs(a.O),c=this.Bs(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};_.g.Bs=function(a){return!!a&&this.request.hn().includes(a.getId())};
var KP=function(a,b,c,d,e){GP.call(this,a);var f=this;this.V=0;this.Od=[];this.O=new Map;this.ka=null;this.incompleteSearch=!1;this.ha=[];this.W=[];this.suggestionSessionId=null;this.count=0;this.ma=this.Ba=null;this.oa=Date.now();this.request=b.clone();this.xv=new xgd(this.context,this.request,!1,e);b=this.request.Ac()&&$9c(this.request.Ac());var h=this.context.zw;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.LW=!b||!S9c(this.request)||_.CL(_.DL(a.Oc));this.Fa=xad(this.request);
c&&this.ol(c,!d);this.va=_.bk(a.Oc.$f(),16,36E5);_.WM(this.request)&&this.Mc.listen(this.context.nha,"Hb",this.Ha);_.we(this,function(){_.aa(f.xv);f.clear()})};_.L(KP,GP);KP.prototype.refresh=function(){return Nhd(this,!1)};var Nhd=function(a,b){a.Ip=6;if(_.S(a.request,48,!1))return a.Ip=1,_.Ph();if(_.WM(a.request)){var c=Ohd,d=a.context.nha.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return Phd(a,b)};
KP.prototype.initialize=function(){return this.count>=this.request.Mi()||1===this.Ip?_.Ph():this.refresh()};KP.prototype.clear=function(){Qhd(this)};var Qhd=function(a){a.Od.forEach(function(b){b.count--});a.count=0;a.Od=[];a.O.clear()},Ohd=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return Nhd(a,!0)},b)};KP.prototype.Ha=function(){Date.now()-this.oa>this.va&&Ohd(this,0)};
var Phd=function(a,b){a.xv&&(a.Mc.Yc(a.xv,"Eb",a.Jsa),a.Mc.Yc(a.xv,"Fb",a.BMa),a.xv.dispose());var c=a.request.xe();c&&_.nf(c,!1);a.xv=new xgd(a.context,a.request,b);a.V=0;a.Mc.listen(a.xv,"Eb",function(){return a.Jsa(a.xv.ha)});a.Mc.listen(a.xv,"Fb",a.BMa);return a.Dca()};
KP.prototype.Dca=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"),Rhd(a,b))}):this.context.rk().Ue()?this.Mc.od(this.context.rk(),[_.aB.AL,_.aB.sU],function(){Rhd(a,b)}):Rhd(this,b);return b.promise};var Rhd=function(a,b){a.kA();var c=a.request.Mi()+a.V;_.Zja(vgd(a.xv,c).Tf(b.resolve,b.reject,b),function(){return a.oa=Date.now()})};_.g=KP.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.jd(this.yy)))),d=c.next();!d.done;d=c.next())d=d.value,d=igd(this.context).Kka(d),b=Math.max(b,d.Mi());_.WM(this.request)?(this.request.xi(b),2!==this.jf()&&!this.xv.O&&(b>this.count||a)?this.refresh():this.zJ()):this.request.Mi()!==b&&(this.request.xi(b),b>this.count?this.Dca():this.zJ())};_.g.wd=function(){return this.request};_.g.Yha=function(a){return this.context.Hm.equals(a,this.request)};
_.g.uk=function(a){var b=a.Mi(),c,d=!1;if(_.AM(this.request)){var e=this.Od.slice();var f=this.W.slice(0,b);if(this.W.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.bl(k.getItem()).filter(function(l){return h.includes(_.C(l,_.Fk,1).getId())});k=k.clone();J1c(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.bl(l.getItem()).length})}d=S1c(e);c=new _.xN;_.A(c,4,!1);a6c(c,f)}else e=this.Od.slice(0,b),c=new _.QA,I4c(c,b<this.Od.length||!(this.context.Jj().Ue()||
this.context.rk().Ue())&&1!==this.Ip),_.J(c,7,this.ka),_.A(c,8,this.incompleteSearch),_.Kj(c,18,this.ha),d=S1c(e);e=z2c(e);ggd(this,a.O(),e);c.Qw(e);c.Dc(d?6:this.Ewa(b));c.kj(this.jf());c.CP(this.suggestionSessionId);return c};_.g.Ewa=function(a){return 1===this.Ip||a<=this.count?1:this.context.Jj().Ue()||this.context.rk().Ue()?0<this.Od.length?1:2:6};_.g.Jsa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.jAa();this.W=a.V;this.suggestionSessionId=a.Vf()};
_.g.BMa=function(){var a=this.request.Mi()-this.count;0<a&&tgd(this.xv)&&(this.V+=a,this.Dca())};_.g.ol=function(a,b){_.WM(this.request)&&Qhd(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=aP(d.value),c=this.Ju(d,!0)||c;b||(1!==this.Ip&&(c=!0),this.Ip=1);if(a=this.H){a:{a=this.Od;d=this.H||_.Ga;for(var e=1;e<a.length;e++)if(0<d(a[e-1],a[e])){a=!1;break a}a=!0}a=!a}a&&(this.In("ViewCache unsorted after import"),this.context.zw.sort(this.request,this.Od));c&&(this.PX(),Shd(this,b))};
var Shd=function(a,b){_.Gl(a.request).length&&a.Od.length&&a.context.b_.then(function(c){var d=M5c(a.context.Sk(),106024,a.ma);if(d){var e=_.Gl(a.request)[0].Ya(),f=_.C(_.uN(d),t5c,18);if(!f){f=new t5c;var h=_.uN(d);_.J(h,18,f)}f=_.A(f,1,!b);c=_.A(f,2,c===e).Dt(a.Od.length);e=a.context.uf.wo();_.A(c,4,e);a.ma=d;d.Zj()}})};_.g=KP.prototype;
_.g.Ju=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.Bs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.In("Updating different wrapper from the existing one"):this.In("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.vKa(f,a.H):(this.qJ(f),_.WM(this.request)&&Ohd(this,0));else{if(_.WM(this.request)&&!b)return!1;this.uR(a.H)}else return!1;return!0};_.g.uR=function(a){this.H?v1c(this.Od,a,this.H):this.Od.push(a);a.count++;Thd(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--;Thd(a)&&this.count--;this.O.delete(a.getId())};_.g.Iya=function(a){return this.H?_.Ha(this.Od,a,this.H):_.la(this.Od,a)};_.g.vKa=function(a,b){this.H&&0!==this.H(a,b)?(this.qJ(a),this.uR(b)):(this.Od[this.Iya(a)]=b,b.count++,Thd(b)&&this.count++,a.count--,Thd(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.Bs=function(a,b){if(!a)return!1;if(this.LW&&!_.WM(this.request)){if(b)return!0;if(!this.Fa){var c=a.getId();b=!!this.Od.find(function(e){return c===e.getId()},this);a=RO(this.context.wu,this.request,a.getItem());return b&&a}}if(!RO(this.context.wu,this.request,a.getItem()))return!1;var d=1.2*this.request.Mi();if(1===this.Ip||!this.H||B9c(a.H,2)||this.count<d||b||Z1c(a.getItem()))return!0;b=0===this.Od.length?null:this.Od[this.Od.length-1];return!!b&&0>=this.H(a,b)};
_.g.zJ=function(){if(1!==this.Ip&&!this.context.Jj().Ue()&&!this.context.rk().Ue()){var a=1.2*this.request.Mi();if(!(a>=this.count||this.xv&&a>=this.xv.$b())){a=this.count-this.request.Mi();for(var b=this.Od.length-1;0<=b&&0<a;b--){var c=this.Od[b];B9c(c.H,2)||Z1c(c.getItem())||(c.count--,Thd(c)&&this.count--,this.O.delete(c.getId()),_.ta(this.Od,b),a--)}Phd(this,!1)}}};_.g.In=function(a){var b=new _.kc;_.OL(b,2);_.PL(b,6);_.bq(b);this.context.dispatchEvent(new _.mc(new _.lc(a,b)))};
var Thd=function(a){return!B9c(a.H,2)&&3!==bO(a.getItem())};KP.prototype.oRa=function(a){var b=this,c=_.Gl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.uf.xm.H(d.Ya()))&&_.R(d,108)}),P$c(this.context.Ifa,a,c))};KP.prototype.nRa=function(){this.zJ()};KP.prototype.rYa=function(a){return 1!==this.Ip&&a.Mi()>this.count&&this.xv.O};
var MP=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new Ihd;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.context=a;this.Jg=b;this.Vu=new Ead(a.Hm,a.Sf());if(null===(c=_.SL(this.context.Oc))||void 0===c?0:_.S(c,15,!1)){var e=new tad(a.wu,a.zw);this.Vu.add(e);a.Jfa.promise.then(function(){var f,h;dP(e,!(null===(h=null===(f=d.Vu)||void 0===f?void 0:f.H)||void 0===h?0:h.iK))})}this.H=new R9c(a.b_,a.wu,a.zw);_.R(a.Oc,60)&&(this.va=new Chd(a.wu,a.zw));this.V=new M9c(a.Sf(),_.oN(this.Jg));
Uhd(this,_.Md(this.context.Oc,28));this.xm=new U9c(this.Jg,this.context.Hm,this.H,this.V);this.context.Sk().W.H=this.xm;this.AI=new zgd(this.context,this.Jg,this.O,this.H);this.fGa=new Dhd(this.context,this.H);this.ka=new uhd(this.context,this);_.we(this.ka,function(){d.ka=null});this.oa=_.JVc(_.oN(this.Jg),Vhd);bP(this.context.Qj,["NSockf"],function(){return d.initialize()});bP(this.context.Qj,["NSockf","jroI5d"],function(){var f=d.context.Oc;if(_.C(f,_.Yk,12))f=_.C(f,_.Yk,12);else{var h=_.tWc(_.vWc(new _.Fk,
_.gN(_.DL(f))),!0);h=_.A(h,6,1);var k=_.E(_.DL(f),6,"");k&&h.Pb(k);h=_.PTb(_.$Wc(_.aXc(_.PF((new _.Yk).Pb(d.context.Wn()).setTitle(_.E(f,38,"My Drive")),"application/vnd.google-apps.folder").Ln(!1),h),[h]),1);h=_.A(h,29,!0);h=_.A(h,63,!0);f=_.wWc(new _.Tk,_.S(f,6,!0));f=_.A(f,2,!1);f=_.cN(h,_.JWc(_.CWc(_.BWc(_.FWc(_.GWc(_.EWc(_.DWc(_.AWc(_.zWc(_.yWc(_.xWc(_.A(f,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}d.ol([f],1);cP(d.context.Qj,"hVFf7")});this.ha=_.Th();bP(this.context.Qj,["BNEDtc"],function(){d.ha.resolve()});
this.xq=new dbd(this.context.Oc,this.context.Sf(),a.Rm(),a.Ifa,this.context.Sk(),this.context.DX.promise);_.IL(this.context.Oc)&&this.Mc.listen(this.xq,"Kb",this.ma);this.CMa=new _.zZc(this.context.Oc,this.xm)};_.L(MP,_.N);
MP.prototype.ma=function(a){var b=a.getPeople();this.log("Handling PeopleCache updated with "+b.length+".");var c=new Set;a=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=_.B(d.value,1);for(var e=this.xq.Gd(d),f=_.m(e),h=f.next();!h.done;h=f.next())c.add(h.value);if(e=h=e[e.length-1])d=this.xq.H.get(d),e=!(!d||1!==d.jf()&&4!==d.jf()||3===Oad(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(),Whd(this,h),b.push(oad(d,new OO(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");Xhd(this,b,[]);this.context.Ts.update(6);a.size&&this.AI.xO([].concat(_.jd(a)),_.mf(new _.lf,311))};MP.prototype.initialize=function(){this.ka.Yg()};
MP.prototype.ai=function(a,b){if(b instanceof _.Ye)b=SO(this.context.Hm,b),Yhd(this,b.O()),Fhd(this.fGa,b),b=Zhd(this,b),b.cache.ai(a);else if(b instanceof _.Zz)b=$hd(this,b),Yhd(this,b.O()),b=aid(this,b),b.cache.ai(a);else if(b instanceof _.wL){var c=JP(this,b),d=this.O[c];d?(3==d.HJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,sv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new Tgd(this.context,this.Jg,b),d.refresh().Gg(_.Ef),this.O[c]=d,b={cache:d,sv:!0});b.cache.ai(a)}else if(b instanceof _.JF)c=b.O(),d=this.V,N9c(d,d.H,d.O,c),b=aid(this,b),b.cache.ai(a);else throw Error("ng");return b.sv};MP.prototype.ik=function(a,b){if(b instanceof _.Ye)b=SO(this.context.Hm,b),Hhd(this.fGa,b);else if(b instanceof _.Zz)b=$hd(this,b);else if(!(b instanceof _.wL||b instanceof _.JF))throw Error("ng");b=JP(this,b);var c=this.O[b];c&&(c.ik(a),c.isDisposed()&&delete this.O[b])};
var JP=function(a,b){return TO(a.context.Hm,b,2)},Zhd=function(a,b){var c=JP(a,b),d=a.O[c];if(d)return 3==d.HJ()?(a.log(c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):a.log(c+" | ItemQueryRequest backed by existing view cache"),{cache:d,sv:!1};d=[];for(var e=5,f,h,k=Fad(a.Vu),l=0;l<k.length;l++){var p=k[l];e=p.zE(b);if(5!=e){f=1==e?void 0:b.Mi();d=p.Xka(b,f);f=p.jf();h=p instanceof eP?p.my():"";a.log(c+" | ItemQueryRequest backed by "+p.getType()+" | size "+(p.Ld()+" | initial "+
d.length));break}}5==e&&a.log(c+" | ItemQueryRequest backed by new cache");if(a.context.Jj().Ue()||a.context.rk().Ue())d=d.concat(a.H.query(b,1)),_.Fa(d,void 0,function(q){return q.getId()}),e=(e=a.Vu.H)&&e.h8&&5!=e.zE(b)?e.zE(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new KP(a.context,b,d,1==e,h);f&&d.kj(f);d.ol(a.H.query(b,2),1!=e);d.initialize().Gg(function(q){q=_.QL(q);_.bq(q);a.context.dispatchEvent(new _.mc(new _.lc("Error during view cache init",q)))});a.O[c]=d;return{cache:d,
sv:!0}},aid=function(a,b){var c=JP(a,b),d=!1,e=a.O[c];if(e&&e.Yha(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.hn()),h;b instanceof _.Zz?h=new pgd(a.context,a.Jg,b,f):h=new Mhd(a.context,a.Jg,b,f);f.length&&h.kj(8);h.refresh().Gg(_.Ef);b=h;d=!0;a.O[c]=b;e?(bid(e,b),e=b,a.log("FindByIdsRequest backed by recreated query cache: "+c)):(e=b,a.log("FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items.")))}return{cache:e,sv:d}};
MP.prototype.dW=function(){return Object.values(this.O).filter(function(a){return a.wd()instanceof _.wL})};
MP.prototype.j2a=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=i$c(this.context.Hm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.AI.xO([a],b,!1,c))};
var fgd=function(a,b,c){c&&c.length&&P9c(a.V,b,c);_.IL(a.context.Oc)&&(a=a.xq,lbd(a,ebd(a,b)))},Kgd=function(a,b,c){if(b instanceof Tgd){var d=JP(a,b.wd());if(a.O[d]){a.log(d+" | Cache already exists, ignoring persisted data");return}}b instanceof rad&&a.Vu.remove(b);var e={},f=new Map;d=a.H.gy();for(var h=_.m(d.keys()),k=h.next();!k.done;k=h.next())k=k.value,f.set(k,d.get(k));var l=[];b.gy().forEach(function(q){var r=q.getId(),u=a.H.get(r);if(u){var y=bO(u.getItem());3==y||4==y?e[q.getId()]=q.getItem():
u!=q&&(y=l.push,u=new nad(q.getId(),q,u),y.call(l,u));f.delete(r)}else r=aP(q),a.H.update(r),a.W.update(r),_.IL(a.context.Oc)&&a.xq.gP(r);_.IL(a.context.Oc)&&Whd(a,q.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(aP(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof Tgd?(d=JP(a,b.wd()),a.O[d]=b):a.Vu.add(b);var p=[];_.Ma(e,function(q){var r=new _.ML;_.NL(r,q.getId());r.setItem(q);p.push(r)});a.So(p);a.log("Merged cache: "+b.getType());b instanceof
hP&&c.forEach(function(q){cid(a.context.Lsa,q)});a.context.Ts.update(3)},bid=function(a,b){(new Set([].concat(_.jd(a.yy)))).forEach(function(c){b.ai(c);a.ik(c)})};
MP.prototype.ol=function(a,b,c,d,e){var f=this,h;e||(e=c?[].concat(_.jd(c.O().filter(function(D){return!_.oN(f.Jg).includes(D)}))):[]);c&&c instanceof _.Ye&&_.WM(c)&&did(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new OO(q,void 0,b),u=this.H.get(q.getId()),y=u?u.getItem():null,z=eid(this,u,r);if(null!=z)r.MD(z),fid(this,y,q),Y1c(q),q=K9c(q,y,e),r.setItem(q);else if(null!=u)r=u,q=y;else continue;_.IL(this.context.Oc)&&Whd(this,q);!u||gid(this,y,q,e)?(l.push(oad(u,r)),k.push(r)):k.push(u)}a=
null;if(c){if(c instanceof _.Ye){if(null===(h=_.SL(this.context.Oc))||void 0===h?0:_.S(h,15,!1))a=_.Gl(c),1==a.length&&(a=a[0].Ya(),(a=this.H.get(a))&&!a.O&&(a.O=!d));(a=Iad(this.Vu,c))&&a.ol(k,!!d)}c=JP(this,c);(a=this.O[c])&&a.ol(k,!!d)}0<l.length&&(_.IL(this.context.Oc)&&l.forEach(function(D){return f.xq.gP(D)}),Xhd(this,l,e,a?[a]:[]),hid(this,k));igd(this.context).f9()};
var Whd=function(a,b){pbd(a.xq,b)||5!=bO(b)||_.gXc(b,1)},gid=function(a,b,c,d){(b=b?_.Lj(b.clone(),82):null)&&fgd(a,[b],d);c=_.Lj(c.clone(),82);fgd(a,[c],[]);return!_.ak(b,c)},did=function(a,b,c){iid(a,b,c);b.forEach(function(d,e){var f=a.xm.H(d.getId());f&&(ZN(f,d,[1002]),ZN(f,d,[1003]),ZN(f,d,[1005]),b[e]=f);_.zM(c)&&0<_.Md(c,33).length&&_.hXc(d,_.Md(c,33)[0])})},iid=function(a,b,c){var d;_.zM(c)?d="quick access":_.AM(c)?d="people predict":_.BM(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},Ufd=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(z2c(d),e)})};MP.prototype.Dla=function(a){this.CMa.Dla(a)};
MP.prototype.So=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.tk()?null:e.getItem(),h=e.Cc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new OO(f,void 0,void 0,_.B(e,1)||void 0);var p=eid(this,h,l);if(null==p)continue;l.MD(p);fid(this,k,f);_.S(e,5,!1)&&A1c(f,P1c);Y1c(f);f=K9c(f,k);l.setItem(f);_.IL(this.context.Oc)&&Whd(this,f)}if(k&&!f||f&&gid(this,k,f,[]))this.context.xJa.qy(e),c.push(oad(h,l))}_.IL(this.context.Oc)&&c.forEach(function(q){return b.xq.gP(q)});Xhd(this,
c,[])};var fid=function(a,b,c){b&&!c.Pm()&&ZN(c,b,a.oa);var d=b?b.Pf():null,e=c.Pf();e=e?_.Qd(e):null;d&&e&&fid(a,_.Qd(d),e);b&&!_.al(c)&&ZN(c,b,[1002]);b&&!_.bl(c).length&&ZN(c,b,[1003]);b&&!_.cl(c).length&&ZN(c,b,[1005]);b&&null==c.U1()&&ZN(c,b,[71]);b&&null==_.B(c,79)&&ZN(c,b,[73]);b&&_.R(b,31)&&!_.R(c,31)&&(A1c(c,P1c),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
MP.prototype.pB=function(a,b){if(a instanceof _.Ye||a instanceof _.Zz||a instanceof _.wL)a=JP(this,a),(a=this.O[a])&&a.OX(b);else throw Error("ng");};var eid=function(a,b,c){var d=c.getItem();if(Kbd(a.context.Kfa,d))return null;if(b){a=b.H;var e=c.H;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=bO(a)&&!QO(a)&&!QO(d)&&a.Bc()==d.Bc())if(a.Di()&&d.Di()){if(a.Di()>d.Di())return null}else if(b.V&&c.V){if(b.V>c.V)return null}else if(a.Bq()>d.Bq())return null}return C9c(b&&b.H,c.H)};
MP.prototype.cI=function(a,b){(a=this.H.get(a))&&a.MD(C9c(a.H,b))};
var Xhd=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.SL(a.context.Oc))||void 0===e?0:_.S(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&(h.H.O=h.O.O);h=_.m(b);for(f=h.next();!f.done;f=h.next())f=f.value,a.V.update(f.id,f.H?f.H.getItem():null,c);c=_.Sa(a.O);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.va(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())hgd(h.value,b);h=Fad(a.Vu);d=0;c=_.m(h);for(h=c.next();!h.done;h=c.next()){f=h.value;var k=!1,l=_.m(b);
for(h=l.next();!h.done;h=l.next())f.update(h.value)&&(k=!0);k&&d++;f instanceof hP&&f.Ld()>=1.2*f.limit&&jid(a.context.xJa,f.Bc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.R(a.context.Oc,60)&&a.va.update(h),a.H.update(h),a.H.get(h.id)||a.V.zJ(h.id),a.W.update(h);0<d&&a.context.Ts.tna(d);kid(a)},kid=function(a){var b=a.W.O.slice(0),c=Jhd(a.W);Khd(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.lf;_.mf(d,308);a.AI.xO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=V9c(a.xm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Pf(),k=_.B(h,1);if(k=a.xm.H(k))_.J(h,5,k),_.A(h,4,1),e.push(f)});Ufd(a,e)}},lid=function(a){igd(a.context).f9();a.H.zJ()},$hd=function(a,b){_.Ia(b.O());var c=_.la(b.hn(),"root");if(0>c)return b;b=b.clone();b.hn()[c]=a.context.Wn();return b},Uhd=function(a,b){var c;null!==(c=_.SL(a.context.Oc))&&void 0!==c&&_.S(c,1,!1)||(b=F5c(a.Jg,b),a=a.V,N9c(a,a.items,a.fields,b))},Yhd=function(a,b){var c;if(null===(c=_.SL(a.context.Oc))||
void 0===c?0:_.S(c,1,!1))b=F5c(a.Jg,b),a=a.V,N9c(a,a.items,a.fields,b)},hid=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==bO(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.mf(new _.lf,311);a.AI.xO(c,d)}})},Bhd=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!Iad(a.Vu,c)){a.log("Adding new cache hint for "+JP(a,c));var d=new eP(a.context.wu,a.context.zw,a.context.Hm,
c);c=new Egd(a.context,d,c);var e=lP(a.context.qz,null);_.Uh(c.Yg().then(function(){Hgd(d,e).then(function(f){Kgd(a,d,f)})}),function(){Tbd(a.context.qz,null)})}})})};MP.prototype.wo=function(){var a=this.Vu.H;return a&&a.iK?1:2};MP.prototype.log=function(a,b){this.context.Sf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var Vhd=[50];
var nid=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;Gdd(this.context.uD).then(function(d){b.H=d||[];c.resolve();mid(b)},function(){return c.resolve()});bP(this.context.Qj,["rVezo"],(0,_.v)(this.W,this))};_.L(nid,_.N);
var Ghd=function(a,b){_.S(a.context.Oc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.va(a.H,b);for(L9c(a.context.uf.xm.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Ba(a.H,0,0,b);a.H.length>2*_.bk(a.context.Oc,47,5);)a.H.pop();a.context.uD.set(Add,a.H)}a.context.uf.Vu.dW().length+a.O.size<_.bk(a.context.Oc,47,5)&&(mid(a),a.W())})},oid=function(a,b){_.va(a.H,b)&&a.context.uD.set(Add,a.H)};
nid.prototype.qy=function(a){cid(this.context.Lsa,a);if(QO(a)){var b=a.Bc();a.tk()?jid(this,b,!0):(a=a.getItem(),L9c(a)&&oid(this,b))}};var jid=function(a,b,c){oid(a,b);a.V.contains(b)&&a.V.remove(b);var d=a.O.get(b);d&&d.dispose();a.O.delete(b);d=a.context.uf.Vu;for(var e=d.dW(),f=0;f<e.length;f++){var h=e[f];if(h.Bc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Ts.update(3);break}}IP(a.context).addCallback(function(k){k.IGa(b,c)});a.W()};
nid.prototype.W=function(){if(this.context.Qj.H("rVezo")){var a=this.context.uf.Vu;pid(this);for(var b={};this.V.$b()&&!(this.ha>=_.bk(this.context.Oc,47,5));){var c=_.pl(this.V);this.ha++;Had(a,c)||this.O.has(c)||(this.O.set(c,null),b.ffa=new _.eWc,_.A(b.ffa,1,c),this.context.Rm().then(function(d){return function(e){return e.Te(d.ffa)}}(b)).then(this.oa.bind(this,c),this.ma.bind(this,c)));b={ffa:b.ffa}}}};
var mid=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},pid=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){mid(a);a.W()},36E5)};nid.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)),qid(this,a,!1)):rid(this,a)};
nid.prototype.ma=function(a,b){(b=_.QL(b).nk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.XL(_.nVc(_.NL(new _.ML,a),a)),this.context.uf.So([a])):rid(this,a)};
var rid=function(a,b){var c=new hP(a.context.wu,a.context.zw,b),d=c.wd().clone();d.xi(_.bk(a.context.Oc,48,1E3));d=new Egd(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=lP(a.context.qz,b);IP(a.context).addCallback(function(f){f.jva(b)});_.Uh(d.Yg().then(function(){sid(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;qid(a,b,!0)}),function(){Tbd(a.context.qz,b)})},sid=function(a,b,c,d){c.iK?(c.gX(),Hgd(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ld());Kgd(a.context.uf,
c,e);qid(a,b,!1)},function(){a.log(b,"Backfill changes failed");qid(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),qid(a,b,!0))},qid=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&IP(a.context).addCallback(function(e){e.IGa(b,!1)});a.W();0<a.O.size||a.context.uf.Vu.dW().map(function(e){return e.Bc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){jid(a,e,!0)})};
nid.prototype.log=function(a,b){this.context.Sf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var tid=function(){_.N.apply(this,arguments)};_.L(tid,_.N);
var wid=function(a,b){b=uid(b);var c=a.getItem(),d=vid(c.getCapabilities());b.e4.forEach(function(e){_.PTb(e.getItem(),c.hp());_.cN(e.getItem(),d.clone())});return b},zid=function(a,b,c){var d=xid(c);c=c.find(function(e){return e.getId()===b.getId()});c={rK:c?c:new OO(b),children:[]};yid(a,d,c);return c},xid=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},yid=
function(a,b,c){var d=c.rK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(yid(a,b,{rK:e,parent:c,children:[]}))});return c},Bid=function(a,b){b=b.children.filter(function(l){return!_.$k(l.rK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.rK.getItem();if(!c.has(f.getId())){_.PTb(f,a.hp());Aid(a,f,e.parent?e.parent.rK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.$k(k.rK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.rK)}}return d},
Cid=function(a){a=a.children.filter(function(h){return!_.$k(h.rK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.rK.getItem();if(!b.has(e.getId())){c.push(_.XL(_.NL(new _.ML,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.$k(f.rK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},uid=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{uQ:c,e4:b}},vid=
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);_.PWc(a,b);_.A(a,30,c);_.KWc(a,b);_.QWc(a,c);_.LWc(a,c);_.MWc(a,b);_.xWc(a,b);_.CWc(a,c);_.IWc(a,b);_.HWc(a,_.R(a,7));_.BWc(a,_.R(a,10)||_.R(a,11));_.JWc(a,_.Uk(a));_.Lj(a,18);_.Lj(a,13);_.Lj(a,10);_.NWc(a,_.R(a,42));_.OWc(a,_.R(a,43));_.RWc(a,_.R(a,48));return a},Aid=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.R(d,30);_.A(e,30,f);_.KWc(e,_.R(d,31));_.QWc(e,_.R(d,
47));_.LWc(e,_.R(d,32));_.MWc(e,_.R(d,33));_.xWc(e,_.R(d,4));_.CWc(e,_.R(d,9));_.JWc(e,_.R(d,21));_.IWc(e,_.R(d,20));_.HWc(e,_.R(d,17));_.wWc(e,_.Uk(d));_.AWc(e,_.R(d,7));_.DWc(e,_.R(d,10));_.EWc(e,_.R(d,11));f=_.R(d,45);_.A(e,45,f);_.PWc(e,_.R(d,46));_.RWc(e,_.R(d,48));a=_.$k(a);_.A(b,137,a);c&&(c=c.getCapabilities(),aO(b)?(_.BWc(e,_.R(c,43)),_.OWc(e,_.R(c,43)),_.NWc(e,_.R(c,42))):_.BWc(e,_.R(c,42)))};
var Did=function(a){this.context=a;this.V=new tid;this.O=_.mf(new _.lf,306);this.H=a.uf},cid=function(a,b){if(QO(b))b.tk()?Eid(a,b):Fid(a,b);else if(_.S(a.context.Oc,86,!1)){var c=b.Cc(),d=a.H.xm.H(c);var e=d&&d.Bc();var f=b.getItem()&&b.getItem().Bc();if(!d||!e||!aO(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.$k(d),!b.tk()){var h=b.getItem();f=_.$k(d)!==_.$k(h);h=h.hp()!==d.hp();e=f||e&&h}if(e)if(b.tk()){if(b=Gid(a,d.Bc()),d=a.V,e=(new _.Yk).Pb(c),b=(b=zid(d,e,b))?Cid(b):[],a.context.uf.So(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=M5c(a.context.Sk(),106009))c=H5c(a),_.A(c,2,b.length),a.Zj()}else if(c=b.getItem(),d=Gid(a,c.Bc()),e=a.V,c=b.getItem(),c=(d=zid(e,c,d))?Bid(c,d):[],Ufd(a.context.uf,c),a.log(b.Cc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=M5c(a.context.Sk(),106010))b=H5c(a),_.A(b,1,c.length),a.Zj()}},Eid=function(a,b){var c=b.Cc();b=Gid(a,c);b=uid(b);var d=_.We(b.e4,function(e){return _.XL(_.NL(new _.ML,e.getId()))});a.context.uf.So(d);
a.H.AI.xO(b.uQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.uQ.map(function(e){return _.Dl((new _.Cl).Pb(e.getId()),_.el(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.uQ.length+" divergent items"));if(a=M5c(a.context.Sk(),106016))c=I5c(a),_.A(c,1,b.uQ.length),_.A(c,2,b.e4.length),a.Zj()},Fid=function(a,b){var c=b.Cc(),d=Gid(a,c),e=a.H.xm.H(c);b=wid(b,d);Ufd(a.context.uf,b.e4);a.H.AI.xO(b.uQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.uQ.map(function(h){return _.Dl((new _.Cl).Pb(h.getId()),
_.el(h))}));a.log(c,"SD update | Update "+b.e4.length+" item(s), "+(b.uQ.length+" divergent items"));if(d=M5c(a.context.Sk(),106017)){var f=I5c(d);_.A(f,1,b.uQ.length);_.A(f,2,b.e4.length);d.Zj()}e||Dgd(a.H.AI,c)},Gid=function(a,b){var c=new _.Ye;_.Il(c,[b]);_.Jl(c,2);return X9c(a.H.xm,c)};Did.prototype.log=function(a,b){this.context.Sf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var Hid=function(a,b,c){this.H=a;this.V=b;this.uJ=c};
Hid.prototype.Xw=function(a,b){var c=this;if(a.JV().length){var d=Gbd(this.H,a.Cc());if(d){var e=d?Hbd(this.H,a):[];for(var f={},h=_.m(a.JV()),k=h.next();!k.done;f={wL:f.wL},k=h.next())if(k=k.value,f.wL=Iid(e,k.an(),a.Cc()),_.R(k,3))Nbd(this.H,f.wL),_.Uh(b,function(r){return function(){c.H.O.W(wbd(r.wL))}}(f));else{for(var l=_.m(_.Uj(k,_.EF,2)),p=l.next();!p.done;p=l.next())Jid(this,f.wL,p.value);k=_.m(_.Md(k,4));for(l=k.next();!l.done;l=k.next())Kid(f.wL,l.value);this.H.oD([f.wL],!1,-1);b.then(function(r){return function(){return void c.H.cI(r.wL.getName(),
-2)}}(f),function(r){return function(){c.H.cI(r.wL.getName(),-2)}}(f))}e=this.qd(d.uk().response)}}e=e?e:this.qd();var q=e.P3a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.$A(r));c.handleError(a.Cc(),r)});return e};Hid.prototype.qd=function(a){a=void 0===a?new zO:a;return new F9c(a.Dc(1))};var Iid=function(a,b,c){var d=a.find(function(e){return vbd(e.getName(),b)});d||(d=m6c((new tO).jd(b),c),a.push(d));return d};
Hid.prototype.handleError=function(a,b){Pbd(this.V,a);a=_.QL(b);_.A(a,21,"Server error updating metadata after optimistic application.");this.uJ(a)};
var Jid=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new rO,d.Pb(c.getId()),l6c(b,b.O().concat([d])),Lid(d,c));if(1===sO(d))d.setBooleanValue(_.R(c,3));else if(12===sO(d))d.setDateStringValue(_.B(c,17));else if(2===sO(d))d.setTextValue(_.B(c,4));else if(3===sO(d))_.Md(c,6).length?d.jpa(_.Md(c,6)):_.Md(c,5).length&&(a=_.Md(d,7).concat(_.Md(c,5)),d.jpa(a));else if(4===sO(d))d.setLongTextValue(_.B(c,7));else if(5===sO(d))d.setSelectionValue(_.B(c,8));else if(6===
sO(d))_.Md(c,10).length?d.fpa(_.Md(c,10)):_.Md(c,9).length&&(a=d.iMa().concat(_.Md(c,9)),d.fpa(a));else if(7===sO(d))d.setIntegerValue(_.B(c,11));else if(8===sO(d))_.Md(c,13).length?d.Yoa(_.Md(c,13)):_.Md(c,12).length&&(a=_.Md(d,12).concat(_.Md(c,12)),d.Yoa(a));else if(10===sO(d))d.setUserValue(a.O(_.B(c,14)));else if(11===sO(d))_.Md(c,16).length?i6c(d,_.Md(c,16).map(a.O)):_.Md(c,15).length&&i6c(d,d.VAa().concat(_.Md(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(sO(d)+
"."),new _.lc(d,new _.kc);},Kid=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===sO(a))_.Lj(a,5);else if(12===sO(a))_.Lj(a,17);else if(2===sO(a))_.Lj(a,6);else if(3===sO(a))_.MH(a,7);else if(4===sO(a))_.Lj(a,8);else if(5===sO(a))_.Lj(a,9);else if(6===sO(a))_.MH(a,10);else if(7===sO(a))_.Lj(a,11);else if(8===sO(a))_.MH(a,12);else if(10===sO(a))_.Mj(a,15);else if(11===sO(a))_.Oj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(sO(a)+"."),new _.lc(a,new _.kc);
},Lid=function(a,b){_.P(b,3)?a.LA(1):_.P(b,17)?a.LA(12):_.P(b,4)?a.LA(2):_.Md(b,6).length||_.Md(b,5).length?a.LA(3):_.P(b,7)?a.LA(4):_.P(b,8)?a.LA(5):_.Md(b,10).length||_.Md(b,9).length?a.LA(6):_.P(b,11)?a.LA(7):_.Md(b,13).length||_.Md(b,12).length?a.LA(8):_.P(b,14)?a.LA(10):(_.Md(b,16).length||_.Md(b,15).length)&&a.LA(11)};Hid.prototype.O=function(a){return _.uWc(_.sWc(1),a)};
var Mid=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};Mid.prototype.apply=function(a,b){var c=this;if(!_.VM(a))return b;var d=null;a instanceof _.nM?d=Nid(this,a,b):a instanceof _.uM?d=Oid(this,a,b):a instanceof _.TL?d=this.Xw(a,b):a instanceof _.iM?d=Pid(this,a,b):a instanceof _.NM&&(d=this.va.Xw(a,b));d&&(this.W++,this.ha.setActive(!1),_.Uh(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Ph(d):b};
var Nid=function(a,b,c){Jbd(a.O,b.getId());var d=a.H.xm.H(b.getId());_.Uh(c.then(function(){return void a.ma("VMiG2e")},a.oa.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.QL(e);_.A(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.UM).Dc(1)},Oid=function(a,b,c){var d=_.B(b,2);d&&a.O.H.push(d);c.then(function(){d&&Lbd(a.O,d)&&_.Uh(Qid(a,d,new _.yZc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.va(a.O.H,
d)});c.then(null,function(e){e=_.QL(e);_.A(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.UM).Dc(1)},Qid=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Ph();var f=_.Th(),h=c.Ya();_.rH(c);setTimeout(function(){a.ka.then(function(k){var l=_.mf(new _.lf,1425);l=y2c(!0,1,l);return k.Te(l).then(function(p){if(p=p.qd())if(p=p.Fd()[0],!p||(p.Sv()||0)>b){f.resolve();return}_.Uh(Qid(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.Uh(Qid(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},Pid=function(a,b,c){var d=b.Bc(),e=a.H.xm.H(d);if(!e)return null;e=e.clone();fgd(a.H,[e],[157]);var f=e.hh();Rid(f,_.Uj(b,_.Xk,2));Sid(f,_.Uj(b,_.Xk,3));a.H.ol([e],-1,void 0,void 0,[157]);_.Uh(c,function(){a.H.cI(d,-2)}).then(function(h){a.H.ol([_.C(h,_.Yk,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.QL(h);_.A(h,21,"Server error updating item after optimistic application.");a.V(h)});return n7c(new m7c,e).Dc(1)},
Rid=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={Xea:c.Xea},d=b.next())c.Xea=d.value,_.Uj(a,_.Xk,8).some(function(e){return function(f){return f.an()==e.Xea.an()}}(c))||_.Xj(a,8,c.Xea,_.Xk,void 0)},Sid=function(a,b){var c=b.map(function(d){return d.an()});b=_.Uj(a,_.Xk,8).filter(function(d){return!c.includes(d.an())});I1c(a,b)};
Mid.prototype.Xw=function(a,b){var c=this,d=this.H.xm.H(a.getId());if(!d||d.Bc()&&0==a.Sh()||null!=_.R(a,40))return null;var e=_.Md(a,10),f=_.Md(a,9);if(0<e.length&&0<f.length&&(e=Object.values(W9c(this.H.xm,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.Fa(e),1<e.length))return null;var h=d.clone();Tid(this,a,h);this.H.ol([h],-1,void 0,void 0,D5c(this.Jg));b.then(function(){return c.H.cI(a.getId(),-2)},function(){c.H.cI(a.getId(),-2);c.oa(a.getId(),d)});b.then(null,function(k){k=_.QL(k);
if(63==k.nk()){var l=h.getId();_.A(k,22,l);_.A(k,23,f[0])}_.A(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.YXc((new _.UM).setItem(h),h.getId()).Dc(1)};
var Tid=function(a,b,c){null!=b.Qe()&&c.om(b.Qe());null!=b.Ti()&&_.eXc(c,b.Ti());null!=b.getMimeType()&&_.PF(c,b.getMimeType());null!=_.B(b,7)&&_.OTb(c,_.B(b,7));null!=_.R(b,11)&&_.ZWc(c,_.R(b,11));null!=_.R(b,4)&&c.Bv(_.R(b,4));null!=_.R(b,16)&&_.dXc(c,_.R(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Sh()&&(c.Ln(b.Sh()),_.cXc(c,b.Sh()));null!=_.R(b,18)&&_.XN(X1c(c,!0),_.R(b,18));_.Md(b,8).length&&_.bN(c,_.Md(b,8));if(_.Md(b,9).length){var d=new Set(c.mk());_.Md(b,9).forEach(function(p){return d.add(p)});
_.bN(c,[].concat(_.jd(d)))}if(_.Md(b,10).length){var e=new Set(c.mk());_.Md(b,10).forEach(function(p){return e.delete(p)});_.bN(c,[].concat(_.jd(e)));var f=c.mw();f&&_.Md(b,10).includes(f)&&_.Lj(c,46)}if(!c.mw()){var h=a.Ba();f=c.mk().find(function(p){var q=a.H.xm.H(p);return q&&!!q.mw()||p==h});_.A(c,46,f||void 0)}c.mk().length&&(f=a.H.xm.H(c.mk()[0]))&&_.hXc(c,f.Bc());if(f=_.C(b,_.Vk,25)){var k=_.C(c,_.Vk,111)||new _.Vk;null!=_.R(f,1)&&_.TWc(k,_.R(f,1));null!=_.B(f,2)&&_.UWc(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)};Mid.prototype.oa=function(a,b){var c=this,d=_.aA(new _.Zz,[a]);this.ka.then(function(e){return e.Te(d)}).then(function(e){e=e.qd().Fd()[0];c.H.ol([e.clone()],1)},function(){b&&c.H.ol([b.clone()],1)})};
var Uid=function(a){this.H=a};_.L(Uid,_.f0c);Uid.prototype.execute=function(a,b,c){var d=_.f0c.prototype.execute.call(this,a,b,c);if(d)return d;if(c.NKa||b instanceof _.JL&&_.WM(b.wd()))if(c=V5c(this.H))return c;return b instanceof _.uM?(c=_.mf(new _.lf,1424),a.Te(y2c(!1,1,c)).then(function(e){(e=e.qd())&&(e=e.Fd()[0])&&_.P(e,96)&&b.fda(e.Sv())},function(){})):null};
var O2c=function(a,b){return[Vid,Wid,Xid,Yid].reduce(function(c,d){var e;0!==c?e=c:e=_.Ga(d(a),d(b));return e},0)},Vid=function(a){return Zid[a.Af()]},Wid=function(a){return $id[a.getType()]},Xid=function(a){return a.getName()||""},Yid=function(a){return a.getId()||""},NP={},Zid=(NP[5]=0,NP[7]=1,NP[1]=2,NP[3]=3,NP[4]=4,NP[2]=5,NP[6]=6,NP),ajd={},$id=(ajd[1]=0,ajd[2]=1,ajd[3]=2,ajd[4]=3,ajd);
var bjd=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};
bjd.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.UM&&8===b.Ab()))if(a instanceof _.hM||a instanceof _.jM||a instanceof _.VVc||a instanceof _.TL||a instanceof _.PM||a instanceof _.cWc||a instanceof _.RM||a instanceof _.fO){var d=_.WL(b.getItem().clone(),9);this.H.ol([d],1);kcd(this.oa,b.getItem(),_.oN(this.Jg))}else a instanceof _.nM?(b=_.XL(_.NL(new _.ML,a.getId())),this.H.So([b])):a instanceof _.qM?(b=_.XL(_.nVc(_.NL(new _.ML,a.getId()),a.getId())),this.H.So([b]),cid(this.ma,b)):
a instanceof _.uM?(b=y2c(!0).wd(),b=this.H.xm.query(b).map(function(e){return _.XL(_.NL(new _.ML,e.getId()))}),this.H.So(b)):a instanceof _.lM?this.O.remove(a.zh()):a instanceof _.xM||a instanceof _.MM?this.O.put(b.ur()):a instanceof _.oM?N2c(this.H,a):a instanceof _.jD?this.W.remove(a.getKey()):a instanceof _.yM?P2c(this.H,a,_.C(b,_.Fk,2)):a instanceof _.kD?this.W.put(b.yMa()):a instanceof _.kM||a instanceof _.QM?this.ha.oD([b.ln()],!1):a instanceof _.rM?this.ha.oD([Ybd(a.getId())],!1):a instanceof
_.UVc?this.V.oD(b.response.O(),!1,1):a instanceof _.NM?(a.JV().filter(function(e){return _.R(e,3)}).forEach(function(e){return c.V.removeItem(e.an()||"",a.Cc())}),Pbd(this.ka,a.Cc()),this.H.j2a(a.Cc())):a instanceof _.tN&&_.Uj(a,_.X6c,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.C(e,_.xO,2),e.getType()){case 1:case 2:if(e=c.H.xm.H(e.Cc())){var f=new _.ML;f=_.A(f,5,!0);e=_.NL(f,e.getId()).setItem(e.clone());c.H.So([e])}}}})};
var cjd=function(a){this.H=a};
cjd.prototype.translate=function(a){if(a instanceof _.JM){var b=this.H.H(a.getId());if(!b)return new _.kc;var c=(new _.TL).Pb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.he(d)||_.R(d,9)?c.Ln(!0):_.UL(c,!1)}else d=a.getParent(),1===b.hp()?c.Ln(!0):d?(b=this.H.H(d),!b||_.R(b.getCapabilities(),7)?d5c(c,[d]):_.UL(c,!1)):_.UL(c,!1);return c}if(a instanceof _.KM)return f5c(e5c(d5c(c5c((new _.TL).Pb(a.getId()),_.Md(a,2)),_.Md(a,3)),_.R(a,6)),_.Uj(a,_.Cl,8));if(a instanceof _.LM){b=this.H.H(a.getId());
if(!b)return new _.kc;c=(new _.TL).Pb(a.getId());b.Bc()?(d=b.getCapabilities(),_.he(d)||_.R(d,9)?c.Ln(!1):_.UL(c,!0)):(d=a.getParent(),1===b.hp()?c.Ln(!1):d?(b=this.H.H(d),!b||_.Uk(b.getCapabilities())?c5c(c,[d]):_.UL(c,!0)):_.UL(c,!0));return c}if(a instanceof _.GN)return new _.VVc(a);if(a instanceof _.zP)return _.Md(a,1).map(function(f){var h=new _.NM;f=_.A(h,1,f);h=a.JV();f=_.Nj(f,2,h);h=a.xe();return _.J(f,3,h)});if(a instanceof _.tM){c=y2c(!1,1).wd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Sv())&&(e=Math.max(e,f))});return Q5c(new _.uM,a).fda(e)}return a};
var djd=function(){};djd.prototype.validate=function(a){var b=null;a instanceof _.CM?(a=a.getId()||"",_.ae(a)&&(b="Tried to request backup with no id.")):a instanceof _.mM&&(a=a.getId()||"",_.ae(a)&&(b="Tried to delete backup with no id."));return b?_.QL(b):null};
var ejd=function(a,b){this.O=a;this.H=b},ijd=function(a,b){_.NN(["drive#about"],b);var c=new _.AP,d=new _.ZA;if(b.user){var e=_.PN(a.O,b.user);_.J(d,1,e)}a=fjd(a,b);a=X4c(W4c(_.V4c(new _.Zsb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.Z4c(a,_.K4c(_.J4c((new _.YA).Dc(gjd[e.status]),Number(e.trialMillisRemaining)),_.ON(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.$4c(a,_.M4c(_.L4c(new _.Usb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&Y4c(a,b.importFormats.map(function(f){var h=new _.U4c;h=_.A(h,1,f.source);return _.Kj(h,2,f.targets)}));b.adminSecureLinkSetting&&_.A(a,10,hjd[b.adminSecureLinkSetting]);_.J(d,3,a);_.Ped(c,d);b=b.largestChangeId;null!=b&&_.A(c,4,Number(b));return c},fjd=function(a,b){var c;var d=new _.Ysb;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=_.Q4c(_.P4c(_.O4c(_.N4c(d,
R2c(b.quotaBytesByService||[])),jjd[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-T2c(b);d=_.A(d,9,e);d=_.R4c(d,Number(b.quotaBytesUsedAggregate));d=_.A(d,11,Number(b.quotaBytesUsedInTrash));d=_.A(d,13,_.T1c(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.S4c(d,kjd[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Xsb;var f=
_.D2a(new Date(b.graceQuotaInfo.endDate));e=_.J(e,1,f);e=_.A(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.J(d,12,e)}(null===(c=_.SL(a.H))||void 0===c?0:_.S(c,16,!1))?(a=_.A(d,16,Number(b.individualQuotaBytesTotal)),a=_.A(a,17,_.T1c(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))),b=_.A(a,9,Number(b.individualQuotaBytesUsedAggregate))):b=d;return b},kjd={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},S2c=new Set(["POOLED_STORAGE","FAMILY"]),gjd={isInTrial:1,
hasPaidContract:2,noSubscription:3,trialExpired:4},Q2c={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},jjd={LIMITED:1,UNLIMITED:2,POOLED:3},hjd={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var ljd={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},mjd={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},njd={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},ojd={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},pjd={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},qjd={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},rjd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},sjd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},tjd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},ujd={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},vjd={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},wjd={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},xjd={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},yjd={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},zjd={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},Ajd={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},Bjd={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},Cjd={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},Djd={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},Ejd={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},Fjd={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},Gjd={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},Njd=function(a){return a.map(function(b){var c=new _.y9c;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=Hjd(e);_.J(c,2,d);break;case "actors":d=Ijd(e);_.Nj(c,3,d);break;case "actions":d=Jjd(e);_.Nj(c,
4,d);break;case "targets":d=Kjd(e);_.Nj(c,5,d);break;case "timestamp":c.O(Ljd(e));break;case "timeRange":d=Mjd(e),_.Wj(c,7,x9c[0],d)}}return c})},Jjd=function(a){return a.map(function(b){var c=new _.v9c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "detail":d=Hjd(e);_.J(c,1,d);break;case "source":d=new M8c;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,ljd[h]);break;case "appId":_.ek(d,1,h)}}_.J(c,2,d);break;case "actor":d=Ojd(e);_.J(c,3,d);break;case "target":d=Pjd(e);_.J(c,4,d);break;case "timestamp":c.O(Ljd(e));break;case "timeRange":d=Mjd(e),_.Wj(c,6,u9c[0],d)}}return c})},Kjd=function(a){return a.map(function(b){return Pjd(b)})},Rjd=function(a){return a.map(function(b){return Qjd(b)})},Sjd=function(a){return a.map(function(b){var c=new _.q8c;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(Qjd(e));break;case "shortcut":d=Qjd(e),_.J(c,2,d)}}return c})},Pjd=function(a){var b=new _.Q8c;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=Tjd(d);_.Wj(b,1,_.P8c[0],c);break;case "drive":c=new _.N8c;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=Tjd(f),_.J(c,3,e)}}_.Wj(b,5,_.P8c[0],c);break;case "fileComment":c=new _.O8c;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(Tjd(f))}_.Wj(b,3,_.P8c[0],c)}}return b},Qjd=function(a){var b=new _.CO;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=
a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=new $7c;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 Y7c;_.Wj(e,8,Z7c[0],f);break;case "driveFolder":e=Ujd(f);_.Wj(c,9,Z7c[0],e);break;case "driveShortcut":e=Vjd(f),_.Wj(c,10,Z7c[0],e)}}_.Wj(b,1,a8c[0],c);break;case "drive":c=Wjd(d),_.Wj(b,3,
a8c[0],c)}}return b},Tjd=function(a){var b=new _.X7c;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 S7c;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=Xjd(f);_.J(c,3,e);break;case "user":e=
OP(f);_.Wj(c,1,R7c[0],e);break;case "drive":e=Wjd(f),_.Wj(c,4,R7c[0],e)}}_.J(b,7,c);break;case "driveFile":c=new Y7c;_.Wj(b,8,T7c[0],c);break;case "driveFolder":c=Ujd(d);_.Wj(b,9,T7c[0],c);break;case "driveShortcut":c=Vjd(d),_.Wj(b,10,T7c[0],c)}}return b},Wjd=function(a){var b=new Q7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "title":b.setTitle(d)}}return b},Ujd=function(a){var b=new V7c;
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,mjd[d])}}return b},Vjd=function(a){var b=new W7c;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},Ijd=function(a){return a.map(function(b){return Ojd(b)})},Ojd=function(a){var b=new _.L8c;a=_.m(Object.entries(a));
for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "user":c=OP(d);_.Wj(b,1,_.K8c[0],c);break;case "anonymous":c=new H8c;_.Wj(b,2,_.K8c[0],c);break;case "impersonation":c=new _.I8c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "impersonatedUser":e=OP(f),_.J(c,1,e)}}_.Wj(b,3,_.K8c[0],c);break;case "system":c=new _.J8c;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,njd[f])}_.Wj(b,4,_.K8c[0],c);break;case "administrator":c=new _.G8c,_.Wj(b,5,_.K8c[0],c)}}return b},Yjd=function(a){return a.map(function(b){return OP(b)})},OP=function(a){var b=new _.x7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "knownUser":c=new _.AO;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=
_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "personName":_.ek(c,1,f);break;case "isCurrentUser":_.ck(c,2,f);break;case "displayName":_.ek(c,3,f);break;case "photoUrl":c.jo(f)}}_.Wj(b,2,_.v7c[0],c);break;case "unknownUser":c=new y7c;_.Wj(b,4,_.v7c[0],c);break;case "deletedUser":c=new _.w7c,_.Wj(b,3,_.v7c[0],c)}}return b},Ljd=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.C2a((new _.Ax).setSeconds(a),b)},Mjd=function(a){var b=new _.NO;a=_.m(Object.entries(a));
for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "startTime":b.wY(Ljd(d));break;case "endTime":b.wF(Ljd(d))}}return b},Xjd=function(a){var b=new _.P7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "legacyId":_.ek(b,3,d);break;case "audienceDisplayName":_.ek(b,4,d)}}return b},Hjd=function(a){for(var b=new _.HO,c=_.m(Object.entries(a)),
d=c.next();!d.done;d=c.next()){var e=_.m(d.value),f=e.next().value,h=e.next().value;switch(f){case "create":for(var k=new _.d8c,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 e8c;_.Wj(y,1,_.b8c[0],z);break;case "upload":var D=k,H=new f8c;_.Wj(D,2,_.b8c[0],H);break;case "copy":for(var I=u,M=new _.c8c,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=Qjd(na);_.J(M,1,qa)}}_.Wj(k,3,_.b8c[0],M)}}_.Wj(b,1,_.GO[0],k);break;case "edit":var ua=new k8c;_.Wj(b,2,_.GO[0],ua);break;case "move":for(var Wa=new _.s8c,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=Rjd(Zb);_.Nj(Wa,1,Jc);break;case "removedParents":var ne=Rjd(Zb);_.Nj(Wa,2,ne);break;case "fromOwnershipTransfer":_.ck(Wa,3,Zb);break;case "reparents":var oe=
Zb.map(Zjd);_.Nj(Wa,4,oe);break;case "multiparentingMigration":for(var Id=Zb,ff=new _.r8c,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=Rjd(Ve);_.Nj(ff,2,Cj);break;case "migratedParents":var Zf=Sjd(Ve);_.Nj(ff,1,Zf)}}_.J(Wa,5,ff)}}_.Wj(b,3,_.GO[0],Wa);break;case "rename":for(var ni=new _.y8c,Fg=_.m(Object.entries(h)),im=Fg.next();!im.done;im=Fg.next()){var pf=_.m(im.value),$e=pf.next().value,
eh=pf.next().value;switch($e){case "oldTitle":_.ek(ni,1,eh);break;case "newTitle":_.ek(ni,2,eh)}}_.Wj(b,4,_.GO[0],ni);break;case "delete":for(var oi=new _.i8c,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,ojd[fh])}}_.Wj(b,5,_.GO[0],oi);break;case "restore":for(var gl=new _.z8c,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,pjd[jl])}}_.Wj(b,6,_.GO[0],gl);break;case "permissionChange":for(var Wh=new _.v8c,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=$jd(Jh);_.Nj(Wh,1,Nl);break;case "removedPermissions":var qj=$jd(Jh);_.Nj(Wh,2,qj);break;case "resharedPermissions":var jk=$jd(Jh);_.Nj(Wh,3,jk);break;case "otherActivePermissions":var km=$jd(Jh);_.Nj(Wh,4,km)}}_.Wj(b,7,_.GO[0],
Wh);break;case "comment":for(var kl=new _.O7c,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 _.L7c,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,rjd[Ln])}}_.Wj(kl,1,_.K7c[0],Fc);break;case "assignment":for(var nk=Bi,xh=new _.M7c,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,sjd[Ni]);break;case "assignedUser":var jn=OP(Ni);_.J(xh,7,jn)}}_.Wj(kl,2,_.K7c[0],xh);break;case "suggestion":for(var pi=Bi,ml=new _.N7c,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,tjd[Ol])}}_.Wj(kl,3,_.K7c[0],ml);break;case "mentionedUsers":var Km=Yjd(Bi);_.Nj(kl,7,Km)}}_.Wj(b,8,
_.GO[0],kl);break;case "dlpChange":for(var ln=new _.h8c,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,ujd[Gp])}}_.Wj(b,9,_.GO[0],ln);break;case "view":for(var Js=new F8c,Pw=_.m(Object.entries(h)),Ks=Pw.next();!Ks.done;Ks=Pw.next()){var Yn=_.m(Ks.value),Iq=Yn.next().value,Ut=Yn.next().value;switch(Iq){case "type":_.fk(Js,1,vjd[Ut]);break;case "viewHistoryVisibility":for(var $C=Ut,DA=new E8c,
aD=_.m(Object.entries($C)),Vt=aD.next();!Vt.done;Vt=aD.next()){var Tw=_.m(Vt.value),Uw=Tw.next().value,Vw=Tw.next().value;switch(Uw){case "domainPolicyVisibilityState":_.fk(DA,1,wjd[Vw]);break;case "namedPartyState":_.fk(DA,2,xjd[Vw])}}_.J(Js,2,DA)}}_.Wj(b,10,_.GO[0],Js);break;case "download":for(var oJ=new j8c,wy=_.m(Object.entries(h)),Wt=wy.next();!Wt.done;Wt=wy.next()){var xn=_.m(Wt.value),xy=xn.next().value,Jq=xn.next().value;switch(xy){case "type":_.fk(oJ,1,yjd[Jq])}}_.Wj(b,11,_.GO[0],oJ);break;
case "reference":for(var pS=new _.q7c,MF=_.m(Object.entries(h)),Ww=MF.next();!Ww.done;Ww=MF.next()){var vi=_.m(Ww.value),NF=vi.next().value,Xw=vi.next().value;switch(NF){case "type":_.fk(pS,1,zjd[Xw]);break;case "context":for(var EA=pS,jZ=EA.Yi,kZ=Xw,Sg=new p7c,bD=_.m(Object.entries(kZ)),cD=bD.next();!cD.done;cD=bD.next()){var Er=_.m(cD.value),ao=Er.next().value,OF=Er.next().value;switch(ao){case "description":Sg.om(OF);break;case "url":_.ek(Sg,2,OF)}}jZ.call(EA,Sg)}}_.Wj(b,12,_.GO[0],pS);break;case "settingsChange":for(var RN=
new _.C8c,pJ=_.m(Object.entries(h)),qJ=pJ.next();!qJ.done;qJ=pJ.next()){var lZ=_.m(qJ.value),yy=lZ.next().value,zy=lZ.next().value;switch(yy){case "restrictionChanges":var Sha=akd(zy);_.Nj(RN,1,Sha)}}_.Wj(b,13,_.GO[0],RN);break;case "approvalChange":for(var Ns=new _.B7c,SN=_.m(Object.entries(h)),rJ=SN.next();!rJ.done;rJ=SN.next()){var Yw=_.m(rJ.value),sJ=Yw.next().value,Fr=Yw.next().value;switch(sJ){case "approvalName":_.ek(Ns,2,Fr);break;case "approvalEventNames":_.Kj(Ns,3,Fr);break;case "initiator":var tJ=
OP(Fr);_.J(Ns,4,tJ);break;case "reviewers":var mZ=Yjd(Fr);_.Nj(Ns,5,mZ);break;case "status":Ns.Dc(Cjd[Fr]);break;case "dueTime":var qS=Ljd(Fr);_.J(Ns,7,qS);break;case "approvalRequested":var rS=Ns,u7=new C7c;_.Wj(rS,8,_.BO[0],u7);break;case "approvalCancelled":var uJ=Ns,nZ=new D7c;_.Wj(uJ,9,_.BO[0],nZ);break;case "reviewerResponded":for(var sS=Fr,FA=new _.A7c,Ip=_.m(Object.entries(sS)),Kq=Ip.next();!Kq.done;Kq=Ip.next()){var dO=_.m(Kq.value),Mia=dO.next().value,S0a=dO.next().value;switch(Mia){case "reviewerDecision":_.fk(FA,
1,Djd[S0a])}}_.Wj(Ns,10,_.BO[0],FA);break;case "commentAdded":var OS=Ns,T0a=new E7c;_.Wj(OS,11,_.BO[0],T0a);break;case "reviewersChanged":for(var BCb=Fr,HZ=new G7c,IZ=_.m(Object.entries(BCb)),U0a=IZ.next();!U0a.done;U0a=IZ.next()){var CCb=_.m(U0a.value),V0a=CCb.next().value,DCb=CCb.next().value;switch(V0a){case "reviewerChanges":var jxc=bkd(DCb);_.Nj(HZ,1,jxc)}}_.Wj(Ns,12,_.BO[0],HZ);break;case "dueTimeChanged":for(var ECb=Fr,aAa=new I7c,MA=_.m(Object.entries(ECb)),bAa=MA.next();!bAa.done;bAa=MA.next()){var W0a=
_.m(bAa.value),FCb=W0a.next().value,GCb=W0a.next().value;switch(FCb){case "oldDueTime":var HCb=Ljd(GCb);_.J(aAa,1,HCb)}}_.Wj(Ns,13,_.BO[0],aAa)}}_.Wj(b,18,_.GO[0],Ns);break;case "lock":var ICb=new m8c;_.Wj(b,15,_.GO[0],ICb);break;case "unlock":var X0a=new D8c;_.Wj(b,16,_.GO[0],X0a);break;case "appliedLabelChange":for(var Y0a=new _.u7c,Z0a=_.m(Object.entries(h)),cAa=Z0a.next();!cAa.done;cAa=Z0a.next()){var JCb=_.m(cAa.value),Nia=JCb.next().value,dAa=JCb.next().value;switch(Nia){case "changes":var PS=
ckd(dAa);_.Nj(Y0a,1,PS)}}_.Wj(b,19,_.GO[0],Y0a);break;case "publishChange":for(var $0a=new _.x8c,KCb=_.m(Object.entries(h)),a1a=KCb.next();!a1a.done;a1a=KCb.next()){var BJ=_.m(a1a.value),LCb=BJ.next().value,b1a=BJ.next().value;switch(LCb){case "oldPublishState":var MCb=dkd(b1a);_.J($0a,1,MCb);break;case "newPublishState":var NCb=dkd(b1a);_.J($0a,2,NCb)}}_.Wj(b,20,_.GO[0],$0a);break;case "linkShareMetadataChange":for(var OCb=new _.l8c,c1a=_.m(Object.entries(h)),JZ=c1a.next();!JZ.done;JZ=c1a.next()){var KZ=
_.m(JZ.value),Oia=KZ.next().value,d1a=KZ.next().value;switch(Oia){case "securityUpdateEnabled":_.ck(OCb,1,d1a)}}_.Wj(b,21,_.GO[0],OCb)}}return b},Zjd=function(a){var b=new _.o8c;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,Gjd[d])}}return b},$jd=function(a){return a.map(function(b){var c=new _.FO;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;
e=e.next().value;switch(d){case "role":_.fk(c,1,qjd[e]);break;case "user":d=OP(e);_.Wj(c,2,_.EO[0],d);break;case "group":d=new _.DO;e=_.m(Object.entries(e));for(var f=e.next();!f.done;f=e.next()){var h=_.m(f.value);f=h.next().value;h=h.next().value;switch(f){case "email":_.ek(d,1,h);break;case "title":d.setTitle(h)}}_.Wj(c,3,_.EO[0],d);break;case "domain":d=Xjd(e);_.Wj(c,4,_.EO[0],d);break;case "anyone":d=new t8c;_.Wj(c,5,_.EO[0],d);break;case "allowDiscovery":_.ck(c,6,e)}}return c})},akd=function(a){return a.map(function(b){var c=
new _.B8c;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,Ajd[e]);break;case "newRestriction":_.fk(c,2,Bjd[e])}}return c})},bkd=function(a){return a.map(function(b){var c=new H7c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "removedReviewer":d=OP(e);_.J(c,3,d);break;case "addedReviewer":d=OP(e),_.J(c,4,d)}}return c})},
ckd=function(a){return a.map(function(b){var c=new _.t7c;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=ekd(e),_.Kj(c,2,d)}}return c})},ekd=function(a){return a.map(function(b){return Ejd[b]})},dkd=function(a){var b=new _.w8c;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,Fjd[d]);break;case "signinRequired":_.ck(b,2,d);break;case "publishedTime":c=Ljd(d),_.J(b,3,c)}}return b};
var gkd=function(a,b){var c=new med;b=_.A(c,4,b);a&&"drive#app"==a.kind&&(a=fkd(a),_.J(b,2,a));return b},fkd=function(a){_.NN(["drive#app"],a);var b=(new _.IO).Pb(a.id);b=_.A(b,3,a.useByDefault).jd(a.name);b=_.A(b,7,a.openUrlTemplate);b=a9c($8c(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,hkd[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 _.V8c;l=_.A(l,3,k.iconUrl).setSize(k.size);k.category&&_.A(l,1,ikd[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 _.Y8c;d=c.absoluteScore;null!=d&&_.A(a,1,Number(d));d=jkd(c.mimeTypeScores||[]);_.Nj(a,2,d);c=jkd(c.fileExtensionScores||[]);
_.Nj(a,3,c);_.J(b,29,a);return b},jkd=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.W8c;d=_.A(d,1,a[c].type);d=_.A(d,2,Number(a[c].score));b.push(d)}return b},hkd={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},ikd={application:1,document:2,documentShared:3};
var lkd=function(a){var b=new ifd;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.rP).Pb(c.id).setTitle(c.title);d=_.A(d,3,_.ON(c.updateTime));d=_.A(d,4,kkd[c.backupSource]);d=_.A(d,5,c.iconUri);d=_.A(d,8,_.ON(c.expiryTime));d=_.A(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.Zy()){var e=new Vdd;e=_.A(e,1,c.whatsappOngoingBackupEnabled);c=_.A(e,2,c.whatsappPhoneNumber);_.J(d,6,c)}else 2===d.Zy()&&(e=new _.Udd,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},nkd=function(a){var b=new efd;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.sP).Pb(c.id);d=_.A(d,1,mkd[c.type]).setTitle(c.title);d=_.A(d,4,c.iconUri);d=_.Wdd(d.setSize(c.size),_.ON(c.updateTime));d=_.A(d,7,c.hasCustomBehavior).om(c.description);return _.A(d,9,c.ongoingSyncEnabled)});_.Nj(b,1,a);return b},kkd={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},mkd={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 okd=function(a,b){this.H=a;this.O=b};
var pkd={read:2,write:3,comment:4},qkd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.PF((new _.Yk).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.cN(d,_.h0c(c.userCapabilities));_.oN(b).includes(19)&&_.fXc(d,!0);kcd(a,d,_.oN(b));_.gXc(d,4);return d},skd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Mna;f=_.A(f,2,rkd(e));e=qkd(a,b,e);e=_.J(e,100,f);d.push(e)}});c=(new _.QA).Qw(d).CP(c.suggestionSessionId);return _.PZc(new _.HN,c)},ukd=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=tkd(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=qkd(a,b,l),d.push(q));l=C4c(B4c(A4c(new _.Jna,k.clone()),rkd(l)),l.url);_.Xj(q,107,l,_.Jna,void 0)})}});return a6c((new _.xN).Qw(d),e).CP(c.suggestionSessionId)},tkd=function(a){return _.uWc((new _.Fk).Pb(a.id).jd(a.displayName),a.emailAddress).jo(a.photoUrl)},
wkd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=qkd(a,b,e);e=vkd(e);f=_.Nj(f,117,e);d.push(f)}});c=(new _.QA).Qw(d).CP(c.suggestionSessionId);return _.PZc(new _.HN,c)},vkd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.qna,e=xkd(c);e&&_.Wj(d,2,_.Ik[0],e);(e=ykd(c))&&s3c(d,e);(e=zkd(c))&&_.Wj(d,4,_.Ik[0],e);(e=Akd(c))&&_.Wj(d,5,_.Ik[0],e);(e=Bkd(c))&&_.Wj(d,6,_.Ik[0],e);(e=Ckd(c))&&_.Wj(d,7,_.Ik[0],e);(e=Dkd(c))&&_.Wj(d,8,_.Ik[0],e);(e=Ekd(c))&&
_.Wj(d,9,_.Ik[0],e);(e=Fkd(c))&&_.Wj(d,10,_.Ik[0],e);(c=Gkd(c))&&_.Wj(d,11,_.Ik[0],c);return d}):(a=PP(a),a=c4c([a]),[s3c(new _.qna,a)])},Ikd=function(a){return(a.justification||[]).map(function(b){return Hkd(b)})},PP=function(a){return(a=a.justification)?Hkd(a):null},Hkd=function(a){var b=p3c(new _.Hk,Jkd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=tkd(c),_.Wj(b,3,_.pna[0],c),q3c(b,[c])):d?(c=(d.person||[]).map(function(e){return tkd(e)}),d=o3c(c),_.Wj(b,4,_.pna[0],d),q3c(b,c)):(c=(a.person||
[]).map(function(e){return tkd(e)}),c.length&&(d=o3c(c),_.Wj(b,4,_.pna[0],d),q3c(b,c)));_.A(b,5,_.ON(a.eventTime));r3c(b,Jkd(a.justificationDescription));return b},Jkd=function(a){if(!a)return null;a=a.textSegment||[];return l3c(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)}))},xkd=function(a){a=a.documentDocosAction;if(!a)return null;var b=R3c(new _.wna,PP(a));Q3c(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 z3c,_.Wj(d,2,_.xna[0],c)):c.reassign?(c=new x3c,_.Wj(d,3,_.xna[0],c)):c.acceptSuggestion?(c=new t3c,_.Wj(d,4,_.xna[0],c)):c.rejectSuggestion?(c=new y3c,_.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);S3c(b,Jkd(a.anchorText));return b},zkd=function(a){a=a.documentShareAction;if(!a)return null;var b=V3c(new _.Ok,PP(a));U3c(b,(a.subAction||
[]).map(function(c){var d=new X3c;c.suggestedShare?(c=new D3c,_.Wj(d,1,W3c[0],c)):c.responseToRequest&&(c=new A3c,_.Wj(d,2,W3c[0],c));return d}));T3c(b,(a.sharee||[]).map(function(c){return tkd(c)}));_.A(b,3,pkd[a.shareeRole]);return b},ykd=function(a){a=a.documentViewAction;if(!a)return null;var b=c4c(Ikd(a));b4c(b,(a.subAction||[]).map(function(c){var d=new e4c;c.open?d.tg(new kO):c.reviewEdits&&(c=new B3c,_.Wj(d,2,d4c[0],c));return d}));return b},Akd=function(a){a=a.emailViewAction;if(!a)return null;
var b=p4c(new n4c,PP(a));o4c(b,(a.subAction||[]).map(function(c){var d=new r4c;c.openEmail&&d.tg(new v3c);return d}));return b},Bkd=function(a){a=a.calendarEventAction;if(!a)return null;var b=J3c(I3c(H3c(new _.Jk,a.eventId),PP(a)),a.guestCount);G3c(b,(a.subAction||[]).map(function(c){var d=new L3c;if(c.viewCalendarEvent){var e=new E3c;_.Wj(d,1,K3c[0],e)}c.shareWithAttendees&&(e=new C3c,_.Wj(d,2,K3c[0],e));c.present&&(e=new w3c,_.Wj(d,3,K3c[0],e));c.openDocument&&(c=new kO,_.Wj(d,4,K3c[0],c));return d}));
return b},Ckd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=j4c(i4c(new g4c,a.workspaceId),PP(a));h4c(b,(a.subAction||[]).map(function(c){var d=new l4c;c.addToWorkspace&&(c=new u3c,_.Wj(d,1,k4c[0],c));return d}));return b},Dkd=function(a){a=a.documentTopicAction;if(!a)return null;var b=Z3c(new _.Pk,PP(a));Y3c(b,(a.subAction||[]).map(function(c){var d=new a4c;c.openDocument&&(c=new kO,_.Wj(d,1,$3c[0],c));return d}));return b},Ekd=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=x4c(new _.Sk,PP(a));w4c(b,(a.subAction||[]).map(function(c){var d=new z4c;c.openDocument&&(c=new kO,_.Wj(d,1,y4c[0],c));return d}));return b},Fkd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=N3c(new _.Nk,PP(a));M3c(b,(a.subAction||[]).map(function(c){var d=new P3c;c.openDocument&&(c=new kO,_.Wj(d,1,O3c[0],c));return d}));return b},Gkd=function(a){a=a.formResponseAction;if(!a)return null;var b=t4c(new _.Rk,Ikd(a));s4c(b,(a.subAction||[]).map(function(c){var d=new v4c;c.openDocument?
(c=new kO,_.Wj(d,1,u4c[0],c)):c.viewResponses&&(c=new F3c,_.Wj(d,2,u4c[0],c));return d}));return b},rkd=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var Kkd=function(a,b){this.H=a;this.O=b},Mkd=function(a,b,c){_.NN(["drive#categoryMetadataList"],c);var d=new zO,e=Object.values(c.categoryMetadata||{});l7c(d,e.map(function(f){return Lkd(a,f,b.Cc())}));d.Dc(1);return new _.AN(d,Ldd(c))},Okd=function(a,b){var c=new xP;ued(c,(b.categories||[]).map(function(d){return Nkd(a,d)}));c.Dc(1);return new G9c(c,Ldd(b))},Lkd=function(a,b,c){_.NN(["drive#categoryMetadata"],b);c=m6c((new tO).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);l6c(c,b.map(function(d){return Pkd(a,
d)}).filter(function(d){return d}));return c},Nkd=function(a,b){var c,d=V6c(M6c(S6c(R6c(Q6c(L6c(K6c((new wO).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).om(b.description),_.ON(b.createTime)),_.ON(b.updateTime)),_.ON(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new H6c).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=Qkd(e.attributeDisplayHints);_.J(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new p6c;l=_.A(l,1,k.canSearch);k=_.A(l,2,k.canWrite);_.J(h,6,k)}_.A(h,7,Rkd[f]);e=e[Skd(f)+"Options"];return Tkd(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&N6c(d,Ukd(b.createdBy));b.updatedBy&&O6c(d,Ukd(b.updatedBy));b.publishedBy&&P6c(d,Ukd(b.publishedBy));b.displayHints&&T6c(d,Qkd(b.displayHints));b.capabilities&&U6c(d,Vkd(b.capabilities));b.learnMoreUri&&_.A(d,15,b.learnMoreUri);return d},Pkd=function(a,b){_.NN(["drive#categoryAttributeValue"],
b);var c=(new rO).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),j6c(c,b.map(function(d){_.NN(["drive#userScopedAttributeValue"],d);var e=new g6c,f=_.PN(a.H,d.scopedUser);e=_.J(e,1,f);return a.Lb(e,d)?e:null}).filter(function(d){return d})),c.LA(9);else if(!a.Lb(c,b))return null;return c},Qkd=function(a){var b=(new o6c).hk(a.disabled);b=_.A(b,2,a.hidden);b=_.A(b,3,a.activatedInAllDrives);return _.A(b,4,!!a.required)},Vkd=function(a){var b=new J6c;b=_.A(b,1,a.canSearch);b=_.A(b,2,a.canApply);
b=_.A(b,4,a.canRemove);return _.A(b,3,a.canManageSharedDriveActivation)},Tkd=function(a,b,c,d){return Wkd(a,function(){Xkd(a)[c](b,d)},c,b)},Ykd=function(a){a=void 0===a?{}:a;var b=new s6c;b=_.A(b,1,a.minSize);return _.A(b,2,a.maxSize)},$kd=function(a){var b=new y6c;z6c(b,(a.choices||[]).map(function(c){var d=new x6c;d=_.A(d,1,c.label).Lb(c.value);c.description&&d.om(c.description);if(c.capabilities){var e=c.capabilities;var f=new v6c;f=_.A(f,1,e.canSearch);e=_.A(f,2,e.canSelect);_.J(d,3,e)}c.displayHints&&
(c=c.displayHints,e=(new w6c).hk(c.disabled),e=_.A(e,2,c.hidden),c.badgePriority&&_.A(e,5,c.badgePriority),c.badgeColors&&(f=Zkd(c.badgeColors),_.J(e,3,f)),c.darkBadgeColors&&(c=Zkd(c.darkBadgeColors),_.J(e,4,c)),_.J(d,4,e));return d}));return b},Zkd=function(a){var b=new n6c;var c=ald(a.backgroundColor);b=_.J(b,1,c);c=ald(a.foregroundColor);b=_.J(b,2,c);a=ald(a.soloColor);return _.J(b,3,a)},ald=function(a){var b=new _.vC;b=_.Pj(b,1,a.red,0);b=_.Pj(b,2,a.green,0);b=_.Pj(b,3,a.blue,0);a.alpha&&(a=
(new a5c).Lb(a.alpha),_.J(b,4,a));return b},bld=function(a){var b=new C6c;b=_.A(b,1,a.showThousandsSeparator);b=_.A(b,2,a.minValue);return _.A(b,3,a.maxValue)},cld=function(a){var b=(new _.coa).setYear(a.year).setMonth(a.month);return _.A(b,3,a.day)};Kkd.prototype.Lb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.LA(Rkd[d]);return Wkd(this,function(){dld(c)[d](a,b[b.valueType])},b.valueType)};
var Wkd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof E6c))return C5c(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},Ukd=function(a){return _.sWc(1).Pb(a.personName.split("/")[1])},Skd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Xkd=function(a){return{BOOLEAN:function(b,c){var d=b.S3a;var e=new t6c;e=_.A(e,1,c.trueLabel);c=_.A(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.dda(Ykd(c))},TEXT_LIST:function(b,c){var d=b.S4a;var e=new B6c;e=_.A(e,1,c.maxEntries);c=Ykd(c.options);c=_.J(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new r6c;d=_.A(d,1,c.minSize);c=_.A(d,2,c.maxSize);return _.Wj(b,10,uO[0],c)},SELECTION:function(b,c){return b.F4a($kd(c))},SELECTION_LIST:function(b,c){var d=b.E4a;var e=new A6c;e=_.A(e,1,c.maxEntries);c=$kd(c.options);c=_.J(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.e4a(bld(c))},INTEGER_LIST:function(b,
c){var d=b.d4a;var e=new D6c;e=_.A(e,1,c.maxEntries);c=bld(c.options);c=_.J(e,2,c);return d.call(b,c)},USER:function(b){return b.X4a(new F6c)},USER_LIST:function(b,c){var d=b.npa,e=new G6c;c=_.A(e,1,c.maxEntries);e=new F6c;c=_.J(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.Uoa;var e=new q6c;e=_.A(e,4,c.dateFormat);var f=cld(c.minValue);e=_.J(e,2,f);c=cld(c.maxValue);c=_.J(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new E6c;d=_.A(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.A(d,2,Rkd[e]);c=c[Skd(e)+"Options"];Tkd(a,d,e,c);return _.Wj(b,16,uO[0],d)}}},dld=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.jpa(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.fpa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.Yoa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.PN(a.H,c))},USER_LIST:function(b,c){i6c(b,c.map(function(d){return _.PN(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},Rkd={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 eld=function(a){a=a.personResponse;return bad(new aad,a.map(function(b){var c=b.person;b=Y$c(new ZO,b.personId);var d=b.jd,e=c;e=void 0===e?{}:e;e=e.metadata;b=d.call(b,e?e.bestDisplayName.displayName:"");d=c;d=void 0===d?{}:d;d=d.email;b=Z$c(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new X$c;c=_.A(d,1,c&&!c.isDefault?c.url:null);return _.J(b,4,c)}))};
var fld=function(a){this.H=a},hld=function(a,b){_.NN(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return gld(a,c)})},gld=function(a,b){_.NN(["drive#teamDrive","drive#drive"],b);var c=new _.Ona,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.A(c,2,d);_.A(c,1,b.backgroundImageLink);_.A(c,3,b.trusted);_.A(c,5,b.backgroundImageGridViewLink);_.A(c,6,b.backgroundImageListViewLink);_.A(c,7,b.hidden);_.A(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
I1c(c,d.map(function(e){_.NN(["drive#driveCategoryReference"],e);var f=new _.Xk;return _.A(f,1,e.category)}));c=_.lXc(_.kXc(_.jXc(_.gXc(_.hXc(H1c(_.PF((new _.Yk).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.GWc(_.h0c(b.capabilities),!0),_.cN(c,d));b.permissionsSummary&&_.iXc(c,_.x0c(a.H,b.permissionsSummary));b.restrictions&&K1c(c,ild(b.restrictions));return c},ild=function(a){var b=new D4c;
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 jld={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},Y2c=_.ab(jld);
var kld=function(a){_.NN(["drive#setting"],a);var b=new _.Ob;b=_.A(b,2,a.key);b=_.A(b,1,jld[a.namespace]);return _.WAa(new _.hp,b).Lb(a.value)};
var mld=function(a){_.NN(["drive#workspaceList"],a);var b=a.items||[];b=ead(new $O,b.map(function(c){return lld(c)}));return new _.DN(b,Ldd(a))},lld=function(a){_.NN(["drive#workspace"],a);var b=(new _.KF).Pb(a.id).setTitle(a.title);b=_.A(b,3,_.ON(a.createdDate));return _.A(b,4,_.ON(a.modifiedDate)).Nd(nld[a.state])},old=function(a,b,c){var d=c.item||[];return _.o1c(_.n1c(new _.WN,d.map(function(e){return qkd(a,b,e)})),c.suggestionSessionId)},qld=function(a,b,c){var d=c.item||[];return i9c(h9c(new KO,
d.map(function(e){return pld(a,b,e)})),c.suggestionSessionId)},pld=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return f9c(d9c(e9c(c9c(new JO,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return qkd(a,b,f)})),PP(c))},rld=function(a){var b=new _.d6c;a.kind&&(a=lld(a),_.J(b,2,a));b.Dc(1);return b},nld={active:1,archived:2};
var U2c={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var sld=function(a,b,c,d){_.H0c.call(this,b);this.Jg=a;this.ka=c;this.O=d;this.W=null;this.ma=new ejd(this.V,b);this.H=new fld(this.oF);this.oa=new okd(this.oF,this.H)};_.L(sld,_.H0c);var tld=function(a){a.W||(a.W=new Kkd(a.V,a.ka));return a.W};
sld.prototype.ha=function(a,b){if(a instanceof _.eM)var c=_.p0c(_.M0c(a));else{if(a instanceof _.fM)var d=_.J0c(this,a,b);else{if(a instanceof _.UVc)var e=uld(this,a.request,b);else{if(a instanceof _.gM)var f=_.J0c(this,a,b);else{if(a instanceof _.iM){if(!b.json)throw _.QN();var h=n7c((new m7c).Dc(1),gld(this.H,b.json))}else{if(a instanceof _.hM)var k=_.J0c(this,a,b);else{if(a instanceof _.tN)var l=new $6c;else{if(a instanceof _.kM)var p=vld(a,b);else{if(a instanceof _.lM)var q=gkd(void 0,a.zh());
else{if(a instanceof _.mM)var r=new jfd;else{if(a instanceof _.nM)var u=_.p0c(_.M0c(a));else{if(a instanceof _.oM)var y=new wP;else{if(a instanceof _.pM)var z=_.p0c(_.M0c(a));else{if(a instanceof _.qM)var D=_.p0c(_.M0c(a));else{if(a instanceof _.jD){var H=new ned,I=a.getKey();var M=_.J(H,4,I)}else{if(a instanceof _.rM)var Q=vld(a,b);else{if(a instanceof _.uM)var W=_.p0c(_.M0c(a));else{if(a instanceof _.RVc){if(!b.json)throw _.QN();var pa=new E9c(b.json.exportJob.id)}else{if(a instanceof _.wM){if(!b.json)throw _.QN();
var ia=b.json,na=new ied,qa=fkd(ia);var ua=_.J(na,2,qa).Dc(1)}else{if(a instanceof _.xM)var Wa=wld(a,b);else{if(a instanceof _.yM){if(!b.json)throw _.QN();var Ea=(new wP).Dc(1),Pa=_.q0c(this.oF,b.json);var dc=_.J(Ea,2,Pa)}else{if(a instanceof _.JL)a:{if(!b.json)throw _.QN();if(a instanceof _.JL){var pb=a.wd();if(pb&&_.zM(pb)){var Zb=skd(this.O,this.Jg,b.json);break a}if(pb&&_.AM(pb)){Zb=ukd(this.O,this.Jg,b.json);break a}if(pb&&_.BM(pb)){Zb=wkd(this.O,this.Jg,b.json);break a}}Zb=_.m0c(this.oF,b.json,
b.headers)}else{if(a instanceof _.CM){if(!b.json)throw _.QN();var Jc=nkd(b.json)}else{if(a instanceof _.DM){if(!b.json)throw _.QN();var ne=b.json;_.NN(["drive#appList"],ne);for(var oe=new YO,Id=[],ff=ne.items||[],Dc=0;Dc<ff.length;Dc++)Id.push(fkd(ff[Dc]));var Bb=_.Nj(oe,2,Id);var Og=_.Kj(Bb,4,ne.defaultAppIds).Dc(1)}else{if(a instanceof _.SVc){if(!b.json)throw _.QN();var Ag=lkd(b.json)}else{if(a instanceof _.VL)var Ve=xld(this,b);else{if(a instanceof _.EM){if(!b.json)throw _.QN();var Cj=new led,
Zf=this.oF,ni=b.json,Fg=new qO,im=_.r0c(Zf,ni,"items");var pf=_.Nj(Fg,2,im);var $e=_.J(Cj,1,pf);var eh=_.A($e,2,Ldd(b.json))}else{if(a instanceof _.FM){if(!b.json)throw _.QN();var oi=this.oF,aj=b.json,Ml=new U5c;_.NN(["drive#revisionList"],aj);for(var ik=[],Qj=aj.items||[],fh=0;fh<Qj.length;fh++){var gl=_.n0c(oi,Qj[fh]);ik.push(gl)}var hl=_.Nj(Ml,2,ik)}else{if(a instanceof _.kL)var Gg=yld(a,b);else{if(a instanceof _.HM){if(!b.json)throw _.QN();var il=eld(b.json)}else{if(a instanceof _.$Vc){if(!b.json)throw _.QN();
var jm=Okd(tld(this),b.json)}else{if(a instanceof _.GF){if(!b.json)throw _.QN();var jl=tld(this),Wh=b.json,Dj=new ved,oj=Nkd(jl,Wh);var pj=_.J(Dj,2,oj).Dc(1)}else{if(a instanceof _.IM){if(!b.json)throw _.QN();var Rj=b.json;_.NN(["drive#remainingCount"],Rj);var Jh=new wed,Nl=Rj.nextPageToken;null!=Nl&&_.A(Jh,2,Number(Nl));_.A(Jh,1,Number(Rj.remainingCount));var qj=Jh}else{if(a instanceof _.JF){if(!b.json)throw _.QN();var jk=(new _.QA).Qw([gld(this.H,b.json)])}else{if(a instanceof _.SM){if(!b.json)throw _.QN();
var km=(new _.QA).Qw(hld(this.H,b.json)),kl=_.PZc(new _.HN,km);var Im=_.A(kl,3,Ldd(b.json))}else{if(a instanceof _.MM)var kk=wld(a,b);else{if(a instanceof _.NM)var Kk=uld(this,a,b);else{if(a instanceof _.TL)var uf=_.J0c(this,a,b);else{if(a instanceof _.OM)var Bi=_.J0c(this,a,b);else{if(a instanceof _.PM)var lk=zld(this,b);else{if(a instanceof _.kD){if(!b.json)throw _.QN();var Fc=kld(b.json),Lk=new ned;var Pg=_.J(Lk,3,Fc);var mk=Fc.getKey();var Mi=_.J(Pg,4,mk)}else{if(a instanceof _.QM)var Ln=vld(a,
b);else{if(a instanceof _.EL){if(!b.json)throw _.QN();var nk=ijd(this.ma,b.json)}else{if(a instanceof _.LF){if(!b.json)throw _.QN();var xh=lld(b.json),Qg=new _.yN;Qg.ST().set(xh.getId(),xh);var Mk=Qg}else{if(a instanceof _.TVc){if(!b.json)throw _.QN();for(var ll=b.json,Qh=new A9c,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=Njd(Mn);_.Nj(Qh,1,kn)}}var Jm=
Qh}else{if(a instanceof _.VVc)var Nn=zld(this,b);else{if("undefined"!=typeof _.ZVc&&a instanceof _.ZVc)var Ol=xld(this,b);else{if(a instanceof _.WVc){if(!b.json)throw _.QN();var Km=new D9c}else{if(a instanceof _.XVc){if(!b.json)throw _.QN();var ln=X2c(b)}else{if(a instanceof _.iD){if(!b.json)throw _.QN();var On=b.json,xk=new _.sz;_.NN(["drive#settingList"],On);for(var To=[],Fp=On.items||[],Gp=0;Gp<Fp.length;Gp++){var Js=kld(Fp[Gp]);Js&&To.push(Js)}var Pw=_.Xhb(xk,To)}else{if(a instanceof _.IF){if(!b.json)throw _.QN();
var Ks=qld(this.O,this.Jg,b.json).Dc(1)}else{if(a instanceof _.HF){if(!b.json)throw _.QN();var Yn=old(this.O,this.Jg,b.json)}else{if(a instanceof _.eWc){if(!b.json)throw _.QN();var Iq=b.json;_.NN(["drive#teamDrive"],Iq);var Ut=Iq.recursiveFolderCount,$C=Iq.recursiveFileCount,DA=new aed;var aD=_.A(DA,1,$C);var Vt=_.A(aD,2,Ut)}else{if(a instanceof _.dWc)var Tw=Ald(b);else{if(a instanceof _.gWc){if(!b.json)throw _.QN();var Uw=mld(b.json)}else Uw=a instanceof _.fO?zld(this,b):null;Tw=Uw}Vt=Tw}Yn=Vt}Ks=
Yn}Pw=Ks}ln=Pw}Km=ln}Ol=Km}Nn=Ol}Jm=Nn}Mk=Jm}nk=Mk}Ln=nk}Mi=Ln}lk=Mi}Bi=lk}uf=Bi}Kk=uf}kk=Kk}Im=kk}jk=Im}qj=jk}pj=qj}jm=pj}il=jm}Gg=il}hl=Gg}eh=hl}Ve=eh}Ag=Ve}Og=Ag}Jc=Og}Zb=Jc}dc=Zb}Wa=dc}ua=Wa}pa=ua}W=pa}Q=W}M=Q}D=M}z=D}y=z}u=y}r=u}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var vld=function(a,b){if(!b.json){if(a instanceof _.rM)return rld({});throw _.QN();}return rld(b.json)},zld=function(a,b){if(!b.json)throw _.QN();a=gld(a.H,b.json);return(new _.UM).Dc(1).setItem(a)},uld=function(a,b,c){if(!c.json)throw _.QN();return Mkd(tld(a),b,c.json)},wld=function(a,b){if(!b.json)throw _.QN();return gkd(b.json,a.zh())},xld=function(a,b){if(!b.json)throw _.QN();a=a.oa;var c=b.json;_.NN(["drive#about","drive#changeList"],c);b=new V$c;var d=c.nextPageToken;null!=d&&_.A(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.A(b,3,Number(d));if("drive#changeList"==c.kind){_.NN(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.NN(["drive#change"],h);var k=new _.ML;k=_.A(k,1,Number(h.id));h.teamDriveId?(_.nVc(k,h.teamDriveId),_.NL(k,h.teamDriveId)):_.NL(k,h.fileId);h.file?k.setItem(_.j0c(f.H,h.file)):h.teamDrive&&k.setItem(gld(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.XL(k);d.push(k)}_.Nj(b,4,d)}return b},Ald=function(a){var b,c;if(!a.json)throw _.QN();
a=a.json;var d=a.result&&a.result.status;d=d&&Bld[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 Ned(Med(Led(new _.Ked,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.Ied;p=_.A(p,1,l.unmovableReason);return _.A(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return Hed(Ged(Fed(Eed(new yP,Ldd(a)),a.processedFileCount).Dc(d),a.result&&a.result.validationToken),
e)},yld=function(a,b){var c=new lfd;if(_.Md(a,6).length){var d=[];U1c(_.Md(a,6),b.headers).forEach(function(e,f){var h=new _.mSc;e=_.A(h,1,f).Lb(e);d.push(e)});_.Nj(c,1,d)}mfd(c,b.json?JSON.stringify(b.json):b.text);return c},Bld={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var Dld=function(a){var b=new _.Po;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(Cld[a]);_.qN(b,c.join(" "))}return b.toString()},Eld={},Cld=(Eld[1]="active",Eld[2]="archived",Eld);
var Fld=function(a,b,c,d){_.TN.call(this,b,c,a.CMa,d);this.ma=a;this.ha=new h$c(_.oN(c),b)};_.L(Fld,_.TN);
Fld.prototype.V=function(a,b,c){var d=this;try{return _.TN.prototype.V.call(this,a,b,c)}catch(Q){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.fM){h="POST";var q="admin/files/"+a.getId()+"/migrateToTeamDrive";_.R(a,3)&&(k.useDomainAdminAccess=!0);k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();_.P(a,4)&&(k.preflightValidationToken=_.B(a,4));var r=Mdd(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.gM){h="POST";q="files/"+a.Cc()+"/authorize";k.appId=a.zh();
_.R(a,3)&&(k.propagate=!0);var u=a.xe();p=!0;_.nN(k);_.XM(this.H,[],[a.Cc()],this.O,f)}else if(a instanceof _.fO)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),r),f["content-type"]="application/json",k.fields=PO(this.H,[],!0),u=a.xe(),p=!0;else if(a instanceof _.VVc)h="POST",q="teamdrives/"+a.requestId,k.fields=PO(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",u=a.request.xe(),p=!0;else if(a instanceof _.kM)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=Odd(a),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.hM)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.IVc({fields:this.Lg(c),lr:_.CL(_.DL(this.H)),CG:_.IL(this.H)}),k.convert=_.S(a,4,!1),r=Ndd(a),f["content-type"]="application/json",u=a.xe(),a=_.Md(a,3).concat([a.getId()]),_.XM(this.H,[],a,this.O,f),p=!0,_.nN(k),_.Y0c(this.H,k);else if(a instanceof _.lM)h="DELETE",q="apps/"+a.zh(),k.appId=a.zh(),k.deleteAppData=
!!_.R(a,2),u=a.xe(),p=!0;else if(a instanceof _.mM)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.nM)h="DELETE",q="files/"+a.getId(),u=a.xe(),p=!0,_.nN(k),_.Y0c(this.H,k),_.XM(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.oM)h="DELETE",q="files/"+a.Cc()+"/permissions/"+_.B(a,2),u=a.xe(),p=!0,_.nN(k);else if(a instanceof _.pM)h="DELETE",q="files/"+a.Cc()+"/revisions/"+_.B(a,2),u=a.xe(),p=!0,_.XM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.qM)h="DELETE",q="teamdrives/"+
a.getId(),u=a.xe(),p=!0;else if(a instanceof _.jD)h="DELETE",u=a.getKey(),q="settings/"+_.B(u,2),_.ip(u)&&(k.namespace=Y2c[_.ip(u)]),u=a.xe(),p=!0;else if(a instanceof _.rM)h="DELETE",q="workspaces/"+a.getId(),u=a.xe(),p=!0;else if(a instanceof _.uM)h="DELETE",q="files/trash",u=a.wd().xe(),p=!0,_.Y0c(this.H,k);else if(a instanceof _.wM)q="apps/"+a.zh(),u=a.xe(),p=!0,k.fields="kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing";
else if(a instanceof _.CM)q="backups/"+a.getId()+"/items",e=9,k.languageCode=mO(_.DL(this.H));else if(a instanceof _.xM)h="POST",q="apps",k.appId=a.zh(),u=a.xe(),p=!0;else if(a instanceof _.yM)h="POST",q="files/"+a.Cc()+"/permissions",k.fields=_.IL(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",k.emailMessage=
_.B(a,5)||"",k.sendNotificationEmail=!_.S(a,6,!1),r={},1==a.Af()?r.role="owner":3==a.Af()?r.role="writer":4==a.Af()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.Af()&&(r.role="reader"),1==a.getType()?r.type="user":2==a.getType()?r.type="group":3==a.getType()?r.type="domain":4==a.getType()?r.type="anyone":5==a.getType()&&(r.type="audience"),a.Ya()&&(r.value=a.Ya()),r.withLink=!_.S(a,8,!1),f["content-type"]="application/json",u=a.xe(),p=!0,_.nN(k);else if(a instanceof _.RVc)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=_.AZc(d.O,Q);if(null!==W)return{id:Q,resource_key:{resource_key:W}}}return{id:Q}}),r={archiveFormat:null,archivePrefix:_.B(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.JL||a instanceof _.tN||a instanceof _.IF||a instanceof _.HF)if(b=a instanceof _.JL?a.wd():a,_.WM(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var y=9==_.hN(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
z={};z.applicationType=q$c(this.H);z.platformType=y;z.languageCode=mO(_.DL(this.H));z.timeZone=(new _.Et).u$();z.requestType="LIVE_REQUEST";a instanceof _.JL&&(y=a.getOptions())&&_.S(y,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.Ye?_.zM(b)?(n$c(this.ha)?(z.scenarioType="ONE_PICK",this.Cd.O(106026)):z.scenarioType="QUICK_ACCESS",2==_.fN(b)&&(n$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=p$c(b))):_.AM(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.BM(b)&&(z.scenarioType="DRIVE_PRIORITY"):b instanceof _.tN?(q="/v1/userfeedback",r.userFeedback=_.Uj(b,_.X6c,1).map(function(Q){var W=_.C(Q,_.xO,2),pa={},ia={};ia.feedbackType=o7c[W.getType()];pa.item=ia;pa.clientInfo=z;switch(Q.getFeature()){case 1:z.scenarioType="DRIVE_PRIORITY";ia.itemId=W.Cc();break;case 3:z.scenarioType="QUICK_ACCESS";ia.itemId=W.Cc();break;case 2:z.scenarioType="DRIVE_WORKSPACES",ia.itemId=W.Cc(),ia.childItem=
_.Uj(W,_.xO,3).map(function(na){var qa={};qa.itemId=na.Cc();return qa})}return pa})):b instanceof _.IF?z.scenarioType="DRIVE_WORKSPACES":b instanceof _.HF?(z.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Pp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.R(b,5)}]):_.a1c(a);b instanceof _.tN||(r.maxSuggestions=b.Mi(),r.clientInfo=z)}else{u=b.xe();p=!0;q="files";k.q=_.DYc(b);y=[];var D;(D=_.SL(this.H))&&
_.S(D,4,!1)?(D=_.xa(this.Lg(c),this.Lg(c,b.O())),_.Fa(D)):D=_.ya(this.Lg(c));var H=void 0,I=!1;0<_.Uj(b,_.Al,5).length&&(H=_.B(this.H.$f(),50),I=!0);k.fields=z1c({fields:D,lr:_.CL(_.DL(this.H)),s7:H||void 0,CG:_.IL(this.H),pBb:I});k.appDataFilter="NO_APP_DATA";0<_.Uj(b,_.eN,25).length&&(k.sources=_.vYc(b));0<b.nB().length&&(k.spaces=_.wYc(b));a.Un()&&(k.pageToken=a.Un());(a=a.getOptions())&&_.bk(a,1,1E3)&&(k.maxResults=_.bk(a,1,1E3));_.S(b,36,!1)&&(k.includeUnsubscribed=!0);_.B(b,43)&&(k.rawUserQuery=
_.B(b,43));_.nN(k);k.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Md(b,33).length&&2==_.fN(b)&&(a=_.Md(b,33)[0],k.teamDriveId=a,y.push(a));k.corpora=_.cYc[_.fN(b)];_.R(b,18)&&(_.Xa(k,"corpora"),k.corpus="DOMAIN");a=_.Gl(b);D=_.Uj(b,_.vl,35);H=_.Uj(b,_.vl,38);y=y.concat(a.filter(function(Q){return!_.S(Q,2,!1)}).map(function(Q){return Q.Ya()})).concat(D.map(function(Q){return Q.Ya()})).concat(H.map(function(Q){return Q.Ya()}));_.XM(this.H,_.Uj(b,_.Cl,63),y,this.O,f);W1c(k,b.Ac());_.Z0c(this.H,k);_.$0c(this.H,
k);_.C(b,_.dea,64)&&(a=E4c(_.C(b,_.dea,64)),a=_.kb(a,4),k.searchSessionData=a)}else if(a instanceof _.DM){q="apps";switch(a.getType()){case 1:k.fields=Gld;break;case 2:k.fields=Hld;break;case 4:k.fields=Ild;break;case 3:e=5,q="apps",k.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",k.appQueryScope="all_webstore",b.mu=!0}k.languageCode=mO(_.DL(this.H));
0<_.Md(a,3).length&&(k.appFilterExtensions=_.Md(a,3).join(","));0<_.Md(a,4).length&&(k.appFilterMimeTypes=_.Md(a,4).join(","));u=a.xe();p=!0}else if(a instanceof _.SVc)q="backups",e=9,k.languageCode=mO(_.DL(this.H));else if(a instanceof _.VL)q="changes",k.includeDeleted=_.S(a,3,!0),k.includeSubscribed=_.S(a,4,!0),k.maxResults=a.SQ(),k.startChangeId=_.B(a,1),k.fields=y1c({fields:this.Lg(c),s7:PO(this.H,_.Md(a,5)),lr:_.CL(_.DL(this.H)),CG:_.IL(this.H)}),k.appDataFilter="NO_APP_DATA",a.Bc()||(k.filters=
"DRIVE_DATASERVICE"),u=_.Md(this.H.$f(),31),u.length&&(k.spaces=_.We(u,function(Q){return _.pSc[Q]}).join(",")),_.nN(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Bc()&&(k.teamDriveId=a.Bc()),u=a.xe(),p=!0;else if(a instanceof _.EM)b=a.wd(),q="files/"+b.getId()+"/permissions",k.fields=_.IL(this.H)?"kind,items(kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken":"kind,items(kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken",
a.Un()&&(k.pageToken=a.Un()),_.B(a,1)&&(k.maxResults=_.B(a,1)),u=b.xe(),p=!0,_.nN(k),_.Z0c(this.H,k),_.$0c(this.H,k),_.XM(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.FM)k.fields=_.IL(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",
k.maxResults=a.Mi(),q="files/"+a.Cc()+"/revisions",u=a.xe(),p=!0,_.XM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.JF)q="teamdrives/"+a.hn()[0],k.fields=PO(this.H,a.O()),u=a.xe(),p=!0;else if(a instanceof _.dWc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.R(a.request,3)&&(k.useDomainAdminAccess=!0),r=Pdd(a),f["content-type"]="application/json",p=l=!0,_.XM(this.H,[],_.Md(a.request,1),this.O,f);else if(a instanceof _.SM)u=a.wd(),q="teamdrives",k.fields=I9c(this.H,u.O()),k.q=Z9c(u),
a.Un()&&(k.pageToken=a.Un()),(u=(u=a.getOptions())&&_.bk(u,1,1E3))&&(k.maxResults=u),u=a.wd().xe(),p=!0;else if(a instanceof _.eWc)q="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.MM)h="PUT",q="apps/"+a.zh(),k.appId=a.zh(),r={},r.useByDefault=_.R(a,2),_.R(a,3)&&(r.hasAppData=!1),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.TL)h="PUT",q="files/"+a.getId(),k.fields=_.IVc({fields:this.Lg(c),lr:_.CL(_.DL(this.H)),
CG:_.IL(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.R(a,15),k.fileId=a.getId(),_.Md(a,9).length&&(k.addParents=_.Md(a,9).join(",")),_.Md(a,10).length&&(k.removeParents=_.Md(a,10).join(",")),_.Md(a,31).length&&(k.addWorkspaces=_.Md(a,31).join(",")),_.Md(a,32).length&&(k.removeWorkspaces=_.Md(a,32).join(",")),null!=_.R(a,24)&&(k.confirmed=_.R(a,24)),k.languageCode=mO(_.DL(this.H)),r=Qdd(a),f["content-type"]="application/json",u=a.xe(),p=!0,_.nN(k),this.W(a.getId(),k),_.R(a,36)?
k.bypassMultiparentingCheck=!0:_.Y0c(this.H,k),b=_.Md(a,9).concat(_.Md(a,10)),b.push(a.getId()),_.XM(this.H,_.Uj(a,_.Cl,38),b,this.O,f);else if(a instanceof _.OM)h="PUT",q="files/"+a.Cc()+"/revisions/"+_.B(a,2),r=Rdd(a),f["content-type"]="application/json",u=a.xe(),_.XM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.PM)q="teamdrives/"+a.getId(),null!=a.Dm()?(h="POST",q+="/"+(a.Dm()?"hide":"unhide")):(h="PUT",r=Sdd(a),f["content-type"]="application/json"),k.fields=PO(this.H),u=a.xe(),p=!0;else if(a instanceof
_.QM)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=Tdd(a),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.kD)h="PUT",r=_.C(a,_.hp,1),u=r.getKey(),q="settings/"+_.B(u,2),(u=_.ip(u))&&(k.namespace=Y2c[u]),r=Z2c(r),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.EL)q="about",k.fields=_.IL(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus",k.fields=b3c(k.fields,this.H),k.fields=c3c(k.fields,this.H),u=a.xe(),p=!0;else if(a instanceof _.kL){e=11;h=a.Lz();q=a.getUrl();var M=_.B(a,5)||"";_.Uj(a,_.mSc,2).forEach(function(Q){f[Q.getKey()]=
Q.Ya()});_.Uj(a,_.mSc,4).forEach(function(Q){k[Q.getKey()]=Q.Ya()});_.R(a,7)&&(b.BKb=!0);_.R(a,8)&&(b.mu=!0);_.R(a,9)&&(b.xEa=!0)}else a instanceof _.UVc?(b=a.request.Cc(),q="files/"+b+"/listCategoryMetadata",u=a.request.xe(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Mi()&&(k.maxResults=a.request.Mi()),k.fields="kind,nextPageToken,categoryMetadata",_.XM(this.H,[],[b],this.O,f)):a instanceof _.NM?(f["content-type"]="application/json",h="POST",b=a.Cc(),q="files/"+b+"/updateCategoryMetadata",
u=a.xe(),r={categoryMetadata:a.JV().map(function(Q){var W=_.Uj(Q,_.EF,2).map(function(ia){return{id:ia.getId(),userId:ia.Rz(),setBooleanValue:_.R(ia,3),setTextValue:_.B(ia,4),setTextValues:_.Md(ia,6),addTextValues:_.Md(ia,5),setLongTextValue:_.B(ia,7),setSelectionValue:_.B(ia,8),setSelectionValues:_.Md(ia,10),addSelectionValues:_.Md(ia,9),setIntegerValue:_.B(ia,11),setIntegerValues:_.Md(ia,13),addIntegerValues:_.Md(ia,12),setUserValue:_.B(ia,14),setUserValues:_.Md(ia,16),addUserValues:_.Md(ia,15),
setDateStringValue:_.B(ia,17)}}),pa={categoryName:Q.an()};W.length?pa.categoryAttributeValueDeltas=W:_.Md(Q,4).length?pa.revertAttributeIds=_.Md(Q,4):_.R(Q,3)&&(pa.removeCategory=_.R(Q,3));return pa})},_.XM(this.H,[],[b],this.O,f)):a instanceof _.HM?(e=13,q=_.CL(_.DL(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.hn(),k["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],k["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],k["merged_person_source_options.included_profile_states"]=
["DASHER_ADMIN_DISABLED"],_.CL(_.DL(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.$Vc?(e=12,q="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Mi()&&(k.maxResults=a.request.Mi()),a.request.getCustomer()&&(k.customer=a.request.getCustomer()),k.$outputDefaults=!0,k.languageCode=mO(_.DL(this.H))):a instanceof _.GF?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=
mO(_.DL(this.H))):a instanceof _.iM?(f["content-type"]="application/json",h="POST",q="drives/"+a.Bc()+"/changeCategoryReferences",u=a.xe(),p=!0,k.fields=PO(this.H,[157],!0),r={},b=_.Uj(a,_.Xk,2),b.length&&(r.addCategoryReferences=b.map(function(Q){return{category:Q.an()}})),a=_.Uj(a,_.Xk,3),a.length&&(r.removeCategoryReferences=a.map(function(Q){return Q.an()}))):a instanceof _.LF?(q="workspaces/"+a.hn()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.xe(),p=!0):a instanceof _.TVc?
(e=7,h="POST",q="/v2/activity:query",f["content-type"]="application/json",r={},r.pageSize=a.pageSize,a.pageToken&&(r.pageToken=a.pageToken),b="items/"+a.request.getId(),_.S(a.request,2,!1)?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}},(a=_.SL(this.H))&&_.S(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.WVc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.XVc?(e=8,q="/v1/exports/"+
a.H):"undefined"!=typeof _.ZVc&&a instanceof _.ZVc?(q="changes",k.fields="kind,largestChangeId",_.nN(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,p=!0):a instanceof _.iD?(q="settings",u=_.Md(a,3),k.namespace=$2c(u),u=a.xe(),p=!0):a instanceof _.gWc?(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=Dld(a.request),(u=a.request.qw())&&
1==u.getType()&&(k.orderBy="title"),u=a.request.xe(),p=!0):a instanceof _.IM?(q="changes/getRemainingCount",k.pageToken=_.B(a,2),_.P(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Bc()),u=a.xe()):a instanceof _.eM?(f["content-type"]="application/json",h="POST",q="files/"+a.Cc()+"/sendAccessRequest",r={},l=!0):_.a1c(a);p&&_.b1c(c,k);0!=e||l||u&&_.B(u,1)||_.EN(this.Cd,74438989);return _.c1c(this,e,q,k,f,h,u,r,M)};
Fld.prototype.W=function(a,b){a=this.ma.xm.H(a);b.expectedParentIds=a?a.mk().join(","):[]};
var Gld=a3c("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"),Hld=
a3c("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"),
Ild=a3c("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 Jld=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.Goa=_.Th();this.Hfa=new _.pZc;var na=new _.RZc(this.fK.bind(this),function(){return W("w8KrJc")}),qa=new cjd(b.xm),ua=new Uid(na);c=new Mid(b,f,new Hid(d,e,c),h,this.Goa.promise,k,l,c,W);d=new bjd(b,p,q,r,u,d,e,D,k);this.O=new _.sZc(a,y);y=new Fld(b,a,k,pa);this.Ksa=new sld(k,a,z,D);this.H=Kdd(a,new _.e0c(this.O,this.Hfa,y,this.Ksa,H,I,M),I,z,Q,b.xm,this.Hfa,this.Goa.promise,M||void 0);this.Goa.resolve(ia?ia:new _.D_c(new djd,
qa,ua,this.H,na,c,d,a))};Jld.prototype.fK=function(){return _.Qa(this.H,function(a){return a.fK()})};var Qfd=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=X5c(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var Kld=function(a,b){var c=this;this.context=a;this.Jg=b;this.ha=null;this.AR=0;this.ka=this.active=!1;this.H=this.oa=null;this.V={};this.Fa=this.Ba=!1;this.Cd=a.Sk();this.W=new _.yn;this.O=a.Oc;this.Ha=_.SL(this.O)||new _.VUc;b=_.nO(this.O);this.va=new _.yZc(_.bk(b,2,37500),_.bk(b,3,6E5));this.ma=a.xQ;_.Ma(B$c,function(d){c.V[d]=[]});bP(a.Qj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});bP(a.Qj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});bP(a.Qj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.lL().catch(_.Ef)})};_.g=Kld.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,IP(this.context).then(function(b){a.ma.initialize().then(function(){a.ha=b;a.setActive(!0)},function(c){c&&C5c(a.context.Sf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.bM(c));a.log("Error initializing dump storage");a.jS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.tna=function(a){this.active&&(this.AR+=a,this.AR>_.bk(_.nO(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.aR().fK()||0<b.uf.AI.Zna||b.Jj().Ue()||b.rk().Ue())||((this.active=a)?(this.W.resolve(),this.H||this.lL().catch(_.Ef)):(this.W=new _.yn,_.n.clearTimeout(this.oa)))}};_.g.jS=function(){this.ka=!0};_.g.CWa=function(){return this.H?this.H.promise:(new _.yn).resolve()};
_.g.lL=function(){var a=this;if(this.H)return this.H.promise;this.H=new _.yn;this.H.promise.finally(function(){a.H=null});var b=this.Cd.H(106021)||void 0;this.W.promise.then(function(){return Edd(a.context.uD)}).then(function(c){var d=!c;return a.ka?d:Promise.all([Lld(a,3,d,void 0,void 0,b),Lld(a,0,d,void 0,!0,b),Lld(a,1,d,void 0,!0,b),Lld(a,5,d,void 0,!0,b),Lld(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.lc("Failed to update dump",void 0,_.bM(e));return Promise.reject(e)})},
function(){return Promise.reject(Error("og"))}).then(function(c){a.H.resolve(c);b&&(c=J5c(b),_.A(c,2,!0),b.Zj())},function(c){a.H.reject(c);b&&(c=J5c(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&&(s5c(J5c(e),_.vN(_.PUc,a)),d.promise.then(function(){var f=J5c(e);_.A(f,2,!0);e.Zj()},function(){var f=J5c(e);_.A(f,2,!1);e.Zj()}));this.W.promise.then(function(){return Edd(c.context.uD)}).then(function(f){f=!f;c.ka?d.resolve():Lld(c,a,f,b,void 0,e).then(d.resolve,d.reject)});return d.promise};
var Lld=function(a,b,c,d,e,f){var h=_.fa(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.promise;var k=new _.yn;h.promise.finally(function(){a.Ju(b,c,d,e,f).promise.then(k.resolve,k.reject)})}else k=a.Ju(b,c,d,e,f);var l={encrypt:c,promise:k.promise};a.V[b].push(l);return k.promise.catch(function(p){a.ma.O.Jf()?a.jS():p instanceof _.lc&&(p=p.O||null,p instanceof _.yL&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.jS())}).finally(function(){_.wa(a.V[b],
function(p){return l===p})})};
Kld.prototype.Ju=function(a,b,c,d,e){var f=this,h=new _.yn;this.W.promise.then(function(){if(3===a)Mld(f,c||!1,b,e).then(h.resolve,h.reject);else{switch(a){case 0:var k=f.context.YP;k=k.H?k.H.clone():null;break;case 1:k=f.context.c_.Iq();break;case 5:k=Nld(f.context.hE);break;case 6:k=f.context.uf.xq;k=bad(new aad,Yad(k.H));break;default:h.reject(Error("pg"));return}if(k){var l=_.Uj(_.nO(f.O),lO,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.resolve()):Ccd(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 Mld=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.AR)return Promise.resolve();a.AR=0;var e=_.Uj(_.nO(a.O),lO,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),Promise.resolve();var f=[];_.Ma(t9c,function(k){0<k&&(k=Old(a,k),k.length&&f.push(Ccd(a.ma,c?e:null,k,d)))});var h=new _.yn;Promise.all(f).then(function(){a.Fa&&a.context.uD.set(Cdd,!0);h.resolve()},h.reject);return h.promise};
Kld.prototype.Ja=function(){_.rH(this.va);this.update(3,!0)};
var Old=function(a,b){switch(b){case 1:return[Pld(a)];case 2:var c=(b=a.context.uf.Vu.H)?b.gy():[];c=Qld(a,_.Sa(A2c(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.bk(_.nO(a.O),5,2E4)&&(b&&dP(b,!1),c=[]);c=n9c(new MO,Rld(c));var d=a.context.uf.Vu;a=new L2c;(d=d.H)&&d.iK&&(d=d.gy(),_.A(a,3,d.length));c=_.J(c,11,a);c=s9c(c,2);b&&q9c(c,b.KN());return[c];case 3:return Sld(a);case 4:return Tld(a);default:throw new _.lc("Unsupported CacheType");}},Pld=function(a){for(var b={},c=[],
d=Gad(a.context.uf.Vu,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.gy(),l=Qld(a,z2c(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=k9c(new LO,h.wd()),h.H||(_.A(l,2,k),_.J(l,3,p),e=!1),c.push(l)}d=_.Sa(b);a.log("Exporting "+d.length+" initial dump items.");return q9c(s9c(p9c(n9c(o9c(r9c((new MO).Fu(a.context.Wn()),_.oN(a.Jg)),a.ha.YQ(null)),Rld(d)),c),1),!e)},Sld=function(a){var b=[],c=a.ha;a.context.uf.Vu.dW().forEach(function(d){var e=c.YQ(d.Bc());if(e){var f=
Qld(a,z2c(d.gy()));a.log("Exporting "+f.length+" TD dump items for: "+d.Bc());e=q9c(s9c(o9c(n9c(new MO,Rld(f)),e),3),d.KN(d.wd()));d=k9c(new LO,d.wd());p9c(e,[d]);b.push(e)}});return b},Tld=function(a){var b={},c=[];a.context.uf.dW().forEach(function(d){1===d.HJ()&&null==_.R(d.wd(),6)&&(z2c(d.gy()).forEach(function(e){b[e.getId()]=e}),d=l9c(k9c(new LO,new _.Ye),d.wd()),c.push(d))});return[q9c(s9c(p9c(n9c(new MO,Rld(Object.values(b))),c),4),!1)]},Qld=function(a,b){b=$1c(b);_.R(a.O,67)&&(b=Uld(b));
_.IL(a.O)&&(_.S(a.Ha,9,!1)?sbd(a.context.uf.xq,b)&&(_.EN(a.Cd,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=qbd(a.context.uf.xq,b)):b=qbd(a.context.uf.xq,b));return b.filter(function(c){return 4!==bO(c)})},Uld=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Q1c(c)?(c=c.clone(),A1c(c,P1c),b.push(c)):b.push(c);return b},Rld=function(a){return a.map(function(b){return b.clone()})};
Kld.prototype.log=function(a,b){this.context.Sf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};Kld.prototype.MDa=function(){this.Fa=!0};
var Vld=function(){};_.g=Vld.prototype;_.g.setActive=function(){};_.g.jS=function(){};_.g.update=function(){return Promise.resolve()};_.g.CWa=function(){return Promise.resolve()};_.g.lL=function(){return Promise.resolve()};_.g.tna=function(){};_.g.MDa=function(){};
var iO=function(a,b,c,d){_.ri.call(this);var e=this;this.Aa=a;this.$r=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.va=d||new _.iYc;this.Oc=b.clone();(a=_.SL(this.Oc))&&_.S(a,1,!1)&&_.MH(this.Oc,28);this.Jg=new _.rYc(this.Oc);this.Hm=new h$c(_.oN(this.Jg),this.Oc);Wld(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.b_=new _.Vh;this.Ba=new _.TYc(_.iN(this.Oc),_.S(this.Oc.$f(),
52,!1));this.connectionState=new _.MYc(_.iN(this.Oc)?3:1,!_.S(this.Oc.$f(),52,!1));this.Cd=_.iZc(this.Oc,this.Ba,this.connectionState,this.va,this.DX.promise,this.$r);this.Ifa=new N$c(this.Cd);this.gQ=new _.Vh;Xld(this)};_.L(iO,_.ri);iO.prototype.getEnvironment=function(){return this.$r};iO.prototype.$R=function(){this.Sf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.nb);this.DX.resolve()};
var Xld=function(a){var b=function(){a.Hu().Gg(_.Ef)},c=a.Aa;(c=c&&_.hc(c,_.$l))?_.Ke(c,"w",b):_.UUc()||_.Ke(_.n,"unload",b)};iO.prototype.Hu=function(){this.Cd.O(106005);N5c(this.Cd);var a=this.ma.map(function(b){return b()});_.ra(this.ma);return _.pL(a).then()};var Yld=function(a,b){a.ma.push(b)};_.g=iO.prototype;_.g.Sf=function(){return this.va};_.g.Fu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.b_.callback(a),a.length&&this.A4a(a,b||null))};_.g.A4a=function(){};
_.g.Wn=function(){return this.rootId};_.g.Sk=function(){return this.Cd};var Zld=function(a){if(!a.ha)throw Error("rg");return a.ha},$ld=function(a,b){a.ha=b};iO.prototype.wB=function(){return this.Fa||this.connectionState.isConnected()};iO.prototype.Jj=function(){return this.Ba};iO.prototype.rk=function(){return this.connectionState};iO.prototype.VNb=function(a){this.gQ.callback(a)};
var Wld=function(a){var b=a.Oc.$f();0===_.Md(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.A(b,19,3));if(!_.E(b,37,""))throw Error("sg");_.B(b,57)||(a.log("No root URI provided; using prod default."),_.A(b,57,"https://clients6.google.com"));if(_.S(_.nO(a.Oc),9,!1))if(b=_.Uj(_.nO(a.Oc),lO,11),0<b.length){if(!_.B(b[0],1)||!b[0].getKey()&&!_.iN(a.Oc)&&!_.S(a.Oc,10,!1))throw Error("tg");}else _.A(_.nO(a.Oc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.nO(a.Oc),9,!1)&&(_.iN(a.Oc)||_.S(a.Oc,10,!1)))throw Error("ug");var c=_.DL(a.Oc);b=!(!c||!_.CL(c));c=c&&_.gN(c)||"";if(!b&&!c)throw Error("vg");b&&_.Oj(a.Oc,44);_.Uj(a.Oc,_.Ye,44).forEach(function(d){try{l$c(a.Hm,d)}catch(e){if(e instanceof _.lc&&(d=e.Pg)&&3===d.ht())throw Error("wg");throw e;}})};iO.prototype.uJ=function(a){this.dispatchEvent(new _.mc(new _.lc(void 0,a)))};iO.prototype.log=function(a){this.Sf().info("drive.ds.sync.ThinContext",a)};
var amd=function(a,b){this.H=a;this.Pe=b};
var bmd=new Set([5,4,1,6,2]),cmd=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),dmd=function(a,b,c){_.ri.call(this);this.ha=a;this.V=b;this.W=c;this.HF=new Map;this.O=new Map;this.status=6;this.H=null};_.L(dmd,_.ri);
dmd.prototype.hQ=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=bmd.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,emd(q))});var l=0,p=0;[].concat(_.jd(k.keys())).forEach(function(q){var r=k.get(q),u=e.HF.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.HF.set(q,r),e.O.set(q,b)):(l+=r.size,e.HF.set(q,r),e.O.set(q,b))});this.ha.info("drive.ds.sync.userprefs.InMemoryUserPrefsCache","Loaded "+l+"/"+a.length+" user prefs from "+b+(p?" (removed "+p+")":""));if(1!==this.status||l){if(h||d)this.status=1,cP(this.V,"px2C2c");cP(this.V,"rkYxSd")}(l||p)&&fmd(this,!h)}};
dmd.prototype.mD=function(){return 0<this.HF.size};var fmd=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"))};dmd.prototype.put=function(a){var b=a.getKey(),c=b&&_.ip(b);b=b&&_.B(b,2);if(c&&b&&(c=this.HF.get(c))){var d=c.get(b);a=emd(a);d&&_.ak(a,d)||(c.set(b,a),fmd(this))}};dmd.prototype.remove=function(a){var b=a&&_.ip(a);a=a&&_.B(a,2);b&&a&&(b=this.HF.get(b))&&b.delete(a)&&fmd(this)};
var Nld=function(a,b){var c=[];(b||[].concat(_.jd(a.HF.keys()))).forEach(function(e){(e=a.HF.get(e))&&[].concat(_.jd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.HF.has(e)}):[].concat(_.jd(a.HF.keys()));var d=new c6c;_.Nj(d,1,c);_.Kj(d,2,b);return d};
dmd.prototype.VG=function(a){var b=this,c=Nld(this,a),d=new _.sz;d.Dc(this.status);_.Xhb(d,_.Uj(c,_.hp,1));_.J(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);cmd.has(f)&&Infinity>cmd.get(f)&&(e=f)});return new amd(d,e)};var emd=function(a){a=a.clone();a.ih()||a.Lb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var gmd=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},imd=function(a,b){return hmd(a[b])+(hmd(a[b+1])<<8)+(hmd(a[b+2])<<16)+(hmd(a[b+3])<<24)},hmd=function(a){return 127<a?a-256:a};
var jO=function(a,b,c,d,e,f){iO.call(this,a,b,c,d);var h=this;this.Ta=_.Th();this.wu=new wad;this.W=null;this.O=_.Th();this.Ha=new _.Vh;this.l6=null;this.Kfa=new Ibd;this.V=null;this.$a=_.Th();this.oa=new _.Vh;this.RF=new mcd;this.qz=new Qbd;this.nha=new qad;this.faa=new _.yn;this.Ja=!1;this.Jfa=new _.yn;this.H={};this.ka=null;this.Jb=new _.Ee;this.Ma(this.Jb);this.Qj=e?e:new pad(this.Sf());this.Sk().W.O=this.Qj;this.IL=_.S(_.nO(b),9,!1)&&d3c()?jmd(this,b):null;this.zw=new a$c(mO(_.DL(b)));this.uD=
kmd(this,this.IL);this.xQ=lmd(this,this.IL,b);this.Ts=mmd(this);this.uf=new MP(this,this.Jg);(a=(a=_.C(this.Oc,_.Yk,12))&&a.getId())&&this.Fu(a,6);this.YP=new Zfd(this.Oc,this.uf.xq,this.Qj,this.Sf(),this.Ts);this.c_=new dgd(this.Sf(),this.Qj,this.Ts);this.hE=new dmd(this.Sf(),this.Qj,this.Ts);this.BI=new F$c(this.Rm(),this.Sf(),function(k){return void h.uJ(k)});this.$y=_.S(this.Oc.$f(),52,!1)?new _.FN(this.rk(),this.Rm(),this.Sf(),this.Sk()):null;bP(this.Qj,["mrK8ic"],function(){h.$a.promise.then(function(){Jgd(h,
h.V)})});this.DMa=new icd(this.Oc);this.MA=new _.KZc(this.Oc,this.uf.xm);this.Lsa=new Did(this);this.k6=new Mbd(this.O.promise,this.Rm());this.kb=new Obd(this.Rm(),this.k6);this.Lfa=new ecd(this.O.promise,this.Rm(),this.Sf(),this.Oc);this.Oa=new Jld(this.Oc,this.uf,this.uJ.bind(this),this.k6,this.kb,this.Ts,this.Kfa,this.Jg,this.Wn.bind(this),this.Lsa,this.c_,this.hE,this.Lfa,this.RF,this.Sf(),this.DMa,this.MA,this.BI,this.$y,this.Jj(),this.Opb.bind(this),this.Sk(),f);this.Ta.resolve(this.Oa);this.xJa=
new nid(this);bP(this.Qj,["BNEDtc"],function(){return h.Jfa.resolve()});Yld(this,function(){h.Ts.jS();return _.Ph()})};_.L(jO,iO);
var jmd=function(a,b){var c=_.gN(_.DL(b)),d=_.hN(b),e=function(){},f=_.Uj(_.nO(b),lO,11);f=f[0]&&_.B(f[0],1);var h=new Xcd(c,d,_.bk(_.nO(b),10,0)||0,f||"",_.oN(a.Jg));_.iN(b)?c=rdd(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.bk(_.nO(b),8,432E6)?(b=nmd(a,c),c=rdd(c,d,b).then(function(l){return l&&(e=function(p){return p.Jl(h).Gg(function(){return null})},!l.ha)?l:h})):c=_.Ph(h);var k=new pP(c,a.Sf(),a.Sk());k.initialize().then(function(){return e(k)},function(){return null});return k},nmd=
function(a,b){var c=_.bk(_.nO(a.Oc),8,432E6);if(!_.iN(a.Oc)&&0<c){a=Math;var d=a.abs;b=_.oma(b);var e=0,f=b.length,h={a:-1640531527,b:-1640531527,c:314159265},k;for(k=f;12<=k;k-=12,e+=12)h.a+=imd(b,e),h.b+=imd(b,e+4),h.c+=imd(b,e+8),gmd(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+=imd(b,e+4);h.a+=imd(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+=imd(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=gmd(h);return d.call(a,b)%c}};jO.prototype.Py=function(a){var b=this;return this.IL?this.IL.Jf()?_.Rh(Error("xg`"+ddd(this.IL))):Edd(this.uD).then(function(c){var d=b.IL,e=[];e.push(b.Ts.CWa());e.push(a?d.Jl():ndd(d));if(a===c)return _.Sh(e).then(function(){return!1});!1===a&&(e.push(cdd(d)),(c=b.Wn())&&e.push(b.uD.Fu(c)));return _.Sh(e).then(function(){return b.uD.Py(a)},function(){return!1})}):_.Rh(Error("yg"))};
var lmd=function(a,b,c){var d=null;b&&(d=new wcd(b,c,function(e){a.uJ(e)},a.Sk()),d.initialize());return d},kmd=function(a,b){var c=new Ddd(b||void 0);c.Wn().then(function(d){d&&a.Fu(d,5)});b&&(Edd(c).then(function(d){a.Jj().Py(d)}),_.Sh([b.initialize(),a.DX.promise]).then(function(){omd(a,c)},function(){}));return c},omd=function(a,b){Hdd(b).then(function(c){(!c||c<Date.now()-864E5)&&udd(_.gN(_.DL(a.Oc)),_.hN(a.Oc),a.Sf()).then(function(d){d&&(d=Date.now(),b.set(Bdd,d))},function(){})})},mmd=function(a){if(!a.xQ)return new Vld;
var b=new Kld(a,a.Jg);a.Jb.listen(a.Jj(),"Ab",function(c){return void b.setActive(!c.Ue())});a.Jb.listen(a.rk(),[].concat(_.jd(Object.values(_.aB))),function(){return void b.setActive(a.rk().isConnected())});return b};jO.prototype.nY=function(a){this.l6=a;this.Ha.callback(a)};var IP=function(a){return a.Ha.xn()},Pfd=function(a){return a.IL?a.IL.Jf():null},pmd=function(a,b){a.Qj.H("NSockf")?cP(a.Qj,b):bP(a.Qj,["NSockf"],function(){cP(a.Qj,b)})};
jO.prototype.A4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.wu.Fu(a),this.Hm.Fu(a),6!==b&&1!==b||this.uD.Fu(a),pmd(this,"jroI5d"))};jO.prototype.AVa=function(){return this.oa.xn()};var Jgd=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),pmd(a,"T8oKm")))},igd=function(a){if(!a.W)throw Error("zg");return a.W};_.g=jO.prototype;_.g.aR=function(){return this.Oa};_.g.Rm=function(){return this.Ta.promise.then(function(a){return a.Goa.promise})};
_.g.LDa=function(){this.Ja||(this.Ja=!0,this.faa.resolve(),cP(this.Qj,"aU7Ts"))};_.g.wB=function(){throw Error("Ag");};_.g.Opb=function(a){this.dispatchEvent(a)};var qmd=function(a,b){Uhd(a.uf,b)},rmd=function(a,b,c){a.H[b]=c},Kfd=function(a){a.ka||(a.ka=new Wbd(a.O.promise,a.Rm(),a.Sf()));return a.ka};
var QP=function(a,b,c){_.ri.call(this);var d=this;this.Ba=a;this.kb=b;this.oa=new _.Vh;this.va=this.channel=this.clientId=null;c.then(function(e){return smd(d,e)})};_.L(QP,_.ri);var smd=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.va=b.H;UO(a.channel,a.Ba,function(c){c=z$c(c);a.M$(c.H,!(!c.data||!c.kc),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.oa.callback()};QP.prototype.M$=function(){};
QP.prototype.send=function(a,b,c,d){var e=this,f=new _.Vh;this.oa.addCallback(function(){var h=e.channel;VO(h,e.Ba,v$c(new u$c(e.clientId,a,b,d),h.W),function(k){return void tmd(k,a,f,c||function(){})})});return f};var tmd=function(a,b,c,d){a=z$c(a);a.data?c.callback(d(a.data,a.kc)):(a.error?d=a.error:(d=new _.kc,_.OL(d,2),_.PL(d,6),_.A(d,21,"Worker["+b+"]: An invalid response was received")),c.Pd(new _.lc(void 0,d)))};QP.prototype.log=function(a){this.va&&this.va.info(this.kb,a)};
var umd=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var RP=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ja=this.WU()};_.L(RP,_.N);RP.prototype.registerService=function(a){UO(a,this.V,(0,_.v)(this.uw,this))};
RP.prototype.uw=function(a){var b=this;a=w$c(a);var c=a.kc,d=this.Ja[a.method],e=null;if(d)try{var f=d(a);if(f instanceof x$c)return y$c(f,c);if(f.then)return f.then(function(h){return y$c(h,c)},function(h){h=_.QL(h);return y$c(b.qd(void 0,h),c)})}catch(h){e=_.bM(h)}f=new _.kc;_.OL(f,2);_.PL(f,3);_.$p(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.A(f,20,e.stack);return y$c(this.qd(void 0,f),c)};
RP.prototype.qd=function(a,b,c){if(a&&!b)return new x$c(a,void 0,c);a=_.QL(b);return new x$c(void 0,a,c)};RP.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&VO(a,this.V,y$c(this.qd(c,d,b),a.W))};
var vmd=function(){this.channels={};this.H=this.O=this.V=0},wmd=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Ra(a.channels));return c},xmd=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var ymd=function(a,b){RP.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.uf;this.O=this.context.Lfa;this.W=Kfd(this.context);this.ka=this.context.k6};_.L(ymd,RP);
ymd.prototype.WU=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Ye);return a.ai(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.wL);return a.ai(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Zz);return a.ai(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.JF);return a.ai(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=hO(c.args[0],!!c.kc,_.Ye);return a.ik(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.wL);return a.ik(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Zz);return a.ik(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.JF);return a.ik(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=hO(c.args[0],!!c.kc,_.Zz);c=hO(c.args[1],!!c.kc,_.Zz);return a.kZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=hO(c.args[0],!!c.kc,_.JF);c=hO(c.args[1],!!c.kc,_.JF);return a.kZ(d,e,c)},b["4.7"]=function(c){return a.FF(c)},b["4.8"]=function(c){return a.FF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Jz);return a.ai(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.LF);return a.ai(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Jz);return a.ik(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.LF);return a.ik(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.WF);return a.ai(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.WF);return a.ik(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.IF);return a.ai(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.IF);return a.ik(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.IF){var d=a.W;Gbd(d,d.getKey(c)).refresh()}return a.qd([])},b};ymd.prototype.ai=function(a,b){var c=this,d=new _.yn;this.H[a]={query:b,gTb:d.promise};b instanceof _.Jz?d.resolve(this.O.ai(a,b)):b instanceof _.LF?d.resolve(Ebd(this.O,a,b)):b instanceof _.IF?d.resolve(this.W.ai(a,b)):b instanceof _.WF?d.resolve(this.ka.ai(a,b)):d.resolve(this.ha.ai(a,b));return d.promise.then(function(){return c.qd([])})};
ymd.prototype.ik=function(a,b){zmd(this,a,b);return this.qd([])};var zmd=function(a,b,c){delete a.H[b];c instanceof _.Jz?a.O.ik(b,c):c instanceof _.LF?Fbd(a.O,b,c):c instanceof _.IF?a.W.ik(b,c):c instanceof _.WF?a.ka.ik(b,c):a.ha.ik(b,c)};_.g=ymd.prototype;_.g.kZ=function(a,b,c){zmd(this,a,b);return this.ai(a,c)};
_.g.FF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.xi(a.args[0]);c instanceof _.Jz?this.O.ai(b,c):c instanceof _.LF?Ebd(this.O,b,c):c instanceof _.IF?this.W.ai(b,c):c instanceof _.WF?this.ka.ai(b,c):this.ha.ai(b,c);return this.qd([])};
_.g.vO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.Ng(a[0]),f=a[1];d.gTb.then(function(h){b instanceof _.DN||b instanceof _.AN?c.update(e,f,[b.response,b.pageToken,b.H,b.Pe,h]):(d.query instanceof _.Ye?C1c(d.query.O(),b.Fd().filter(function(k){return!QO(k)})):d.query instanceof _.Zz&&C1c(d.query.O(),Object.values(b.map).filter(function(k){return k&&!QO(k)})),c.update(e,f,[b,h]))})}};
_.g.OX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Ng(c[0]);c=c[1];var d=b.error;d.Gfa(b.H);this.update(a,c,void 0,d)}};_.g.kA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Ng(a[0]),a[1],["cacheRefresh"]))};_.g.f9=function(){};_.g.Kka=function(a){if(!this.H[a])throw Error("$f`"+a);return this.H[a].query};var Amd=function(a,b){_.Ma(a.H,function(c,d){_.Ng(d.split(":")[0])===b&&zmd(a,d,c.query)})};
var Bmd=function(a,b,c){QP.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.L(Bmd,QP);Bmd.prototype.$wa=function(a){var b=this;a=new tfd(this.context.Hm,this.context.gQ,this.context.Sf(),this.context.Oc,function(c,d){return b.FF(c,d)},a,this.context.Sk());Cmd(this,a);return a};Bmd.prototype.cxa=function(a){var b=this;a=new Afd(this.context.Hm,this.context.gQ,this.context.Sf(),function(c,d){return b.FF(c,d)},a,this.context.Oc);Cmd(this,a);return a};
var Cmd=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=Bmd.prototype;_.g.Xwa=function(a){var b=this,c=new xfd(this.context.Oc,this.context.Hm,this.context.Sf(),this.context.b_,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.fxa=function(a){var b=this,c=new Efd(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.gxa=function(a){var b=this,c=new Ffd(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.jxa=function(a){var b=this,c=new Ifd(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.kxa=function(a){var b=this,c=new wfd(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.dxa=function(a){var b=this,c=new Dfd(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.Uwa=function(a){var b=this,c=new rfd(this.context.Jj(),this.context.rk(),this.context.Sf(),function(d,e){return b.FF(d,e)},a);this.ai(c);_.we(c,function(){b.ik(c);b.send("4.19",[c.wd()],void 0,c.wi())});this.send("4.18",[c.wd()],void 0,c.wi());return c};
_.g.ai=function(a){this.H.create(a.wi(),a.wd());this.O[a.wi()]=a};_.g.ik=function(a){WO(this.H,a.wi(),4);delete this.O[a.wi()]};_.g.kZ=function(a,b,c){if(b instanceof _.Zz&&c instanceof _.Zz)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.JF&&c instanceof _.JF)this.send("4.6",[b,c],void 0,a);else throw Error("Bg");};
_.g.FF=function(a,b){if(!this.O[a])throw Error("$f`"+a);var c=this.O[a];if(c.wd()instanceof _.Ye)var d="4.7";else if(c.wd()instanceof _.wL)d="4.8";else if(c.wd()instanceof _.WF)d="4.20";else if(c.wd()instanceof _.Jz)d="4.17";else throw Error("Cg");c.wd().xi(b);this.send(d,[b],void 0,a)};
_.g.M$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new XO(d,d.e7()),a.pB(b),WO(this.H,a.wi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.nW();return}var h=a.wd();if(h instanceof _.Ye||h instanceof _.wL)h instanceof _.Ye&&_.AM(h)?e=hO(d,b,_.xN):e=hO(d,b,_.QA);else if(h instanceof _.Zz||h instanceof _.JF)b?(e=new _.wN,d7c(e,function(k){return new _.Yk(JSON.parse(k))},d)):e=d;else if(h instanceof _.WF)e=new _.AN(hO(d,b,zO),c[f++],c[f++],c[f++]);else if(h instanceof _.Jz)e=new _.DN(hO(d,
b,$O),c[f++],c[f++],c[f++]);else if(h instanceof _.LF)e=hO(d,b,_.yN);else if(h instanceof _.IF)e=hO(d,b,KO);else throw Error("Dg");}e&&(b=f,c&&"boolean"===typeof c[b]&&O$c(this.H,a.wi(),!!c[b]),R$c(this.H,a.wi(),e),a.update(e))}};
var SP=function(){_.ri.apply(this,arguments);this.commands=new _.ol;this.ha=this.active=this.zp=!1};_.L(SP,_.ri);SP.prototype.initialize=function(){this.zp||(this.zp=!0,this.V(),this.setActive(!0))};SP.prototype.V=function(){};SP.prototype.setActive=function(a){this.active=a;Dmd(this)};var Dmd=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;Dmd(a)})}};SP.prototype.ka=function(){};
SP.prototype.Ba=function(){};SP.prototype.va=function(){return!0};SP.prototype.enqueue=function(a){try{var b=new _.Vh;this.commands.enqueue(new Emd(a,b));Dmd(this);return b}catch(c){return _.ai(_.bM(c))}};var Emd=function(a,b){this.H=a;this.Bg=b};Emd.prototype.getCommand=function(){return this.H};Emd.prototype.HG=function(){return this.Bg};
var Hmd=function(a){SP.call(this);var b=this;this.context=a;this.O=null;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context,"VMiG2e",function(){return void Fmd(b)});this.H=this.context.uf.xq;_.IL(this.context.Oc)&&this.Mc.listen(this.H,"Kb",this.W);var c=a.Qj;bP(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Gj(a.Oc.$f(),17,1)&&(d.push("iuEtc"),bP(c,["mrK8ic"],function(){cP(c,"iuEtc")}));bP(c,d,function(){Gmd(b)})};_.L(Hmd,SP);Hmd.prototype.V=function(){Imd(this)};
var Gmd=function(a){if(1===a.context.YP.Fh().Ab())Promise.resolve();else{var b=_.mf(_.nf(new _.lf,!0),301);b=_.FL(new _.EL,b);a.refresh(b).then(null,function(c){c=_.QL(c);_.A(c,21,"Initial account request failed.");a.context.uJ(c)})}},Fmd=function(a){var b=_.mf(new _.lf,304);b=_.FL(new _.EL,b);a.refresh(b).then(null,function(){})};
Hmd.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.Uh(this.context.Rm().then(function(d){return d.Te(a,b)}).then(function(d){var e=d.Fh(),f=e.getUser();if(f&&!1===_.Gk(f))d=_.RL(_.DL(c.context.Oc)),d=Error("Eg`"+d+"`"+_.VF(f)),_.tb(d),_.EN(c.context.Sk(),73301807),d=Promise.reject(d);else{f=c.context.YP;var h=0===f.jf()?1:6;_.IL(c.context.Oc)&&kbd(c.H,e);h=$fd(f,e,h);(e=e.getMetadata())&&c.context.Fu(_.B(e,2),1);(d=_.B(d,4))&&Jgd(c.context,d,!0);h&&c.dispatchEvent(new _.gi("WPi0i"));
d=Promise.resolve(new _.CN(f.Fh(),f.jf(),!1))}return d}).then(function(d){return d},function(d){d=_.QL(d);_.A(d,5,1);return Promise.reject(new _.lc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
Hmd.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.zD&&(c.zD=b.zD);this.refresh(b.request,c).then(function(e){return a.HG().callback(e)},function(e){return void a.HG().Pd(e)})}else if(b=this.context.YP,c=b.Fh(),_.IL(this.context.Oc)){c=c.Fh();var d=c.getUser();d=obd(this.H,_.VF(d));kbd(this.H,c);$fd(b,c,b.jf())&&this.dispatchEvent(new _.gi("WPi0i"));a.HG().callback(new _.CN(b.Fh(),b.jf(),d))}else c.Ab(),b=new _.CN(c,b.jf(),!0),a.HG().callback(b)};
var Imd=function(a){var b=a.context.Oc.$f();_.n.setTimeout(function(){var c=_.mf(new _.lf,306);c=_.FL(new _.EL,c);a.refresh(c).then(function(){Imd(a)},function(){Imd(a)})},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,3,72E5))};Hmd.prototype.W=function(a){var b=this.context.YP,c=b.Fh().Fh();c&&a.getPeople().find(function(d){return _.B(d,1)===_.VF(c.getUser())})&&(kbd(this.H,c),$fd(b,c,b.jf())&&this.dispatchEvent(new _.gi("WPi0i")))};var Jmd=function(a,b,c){this.request=a;this.H=!!b;this.zD=c||null};
var Lmd=function(a){SP.call(this);this.context=a;this.oa=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.c_,"Qb",_.wb(this.dispatchEvent,new _.gi("Qb",this)));Kmd(this)};_.L(Lmd,SP);
var Kmd=function(a){var b=a.context.Qj;bP(b,["nVUlO"],function(){a.oa=!0;a.setActive(!0)});if(!_.iN(a.context.Oc)){var c=_.Gj(a.context.Oc.$f(),18,1);bP(b,["NSockf"],function(){1===c?Mmd(a):a.setActive(!0)});2===c&&bP(b,["mrK8ic"],function(){a.W||Mmd(a)})}},Mmd=function(a){var b=new _.lf;_.nf(b,!0);_.mf(b,301);var c=new _.DM;_.B5c(c,b);_.A(c,1,1);a.refresh(c).Gg(function(){return null})};
Lmd.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;Nmd(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.DM;_.A(h,1,this.H);_.B5c(h,a.xe());this.context.Rm().then(function(k){return k.Te(h,b)}).then(function(k){c.error=null;var l=c.context.c_;l.hQ(k,l.mD()?6:1);d.resolve()},function(k){c.H=e;k=_.$A(k);var l=k.Pg;_.A(l,5,2);f?(_.OL(l,1),k.message="Initial app settings refresh failed.",
_.A(k.Pg,21,"Initial app settings refresh failed."),c.context.uJ(l),c.setActive(!0)):(_.OL(l,2),k.message="Error occurred while loading the latest set of apps.",_.A(k.Pg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};Lmd.prototype.va=function(){return!1};
Lmd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.wja,f=c.zD?{zD:c.zD}:void 0;if(!Omd(d))return this.context.Rm().then(function(l){return l.Te(d,f)}).then(function(l){a.HG().callback(new _.zN(l,1,!1))},function(l){a.HG().Pd(_.bM(l))}),_.Ph();c=_.Ph();var h=!1;this.O?Pmd(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&&Pmd(this,d.getType())&&!this.error?(h=!0,e=_.Ph()):e=this.refresh(d,f);
var k=a.HG();e.then(function(){var l=b.context.c_;k.callback(new _.zN(l.Iq(),l.jf(),h))},function(l){k.Pd(l)});return c.then()};
var Omd=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},Pmd=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},Nmd=function(a){var b=a.context.Oc.$f(),c=new _.lf;_.mf(c,306);var d=new _.DM;_.A(d,1,1);_.B5c(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,4,72E5))},Qmd=function(a,b,c){this.request=a;this.wja=!!b;this.zD=c||null};
var Smd=function(a){SP.call(this);var b=this;this.context=a;this.error=null;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.hE,"WPi0i",function(){return b.dispatchEvent(new _.gi("WPi0i"))});this.H=_.Th();this.O=_.Md(this.context.Oc.$f(),30);Rmd(this)};_.L(Smd,SP);
var Rmd=function(a){var b=a.context.Qj;bP(b,["rkYxSd"],function(){return a.initialize()});bP(b,["px2C2c"],function(){a.context.Sf().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Gj(a.context.Oc.$f(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&bP(b,["mrK8ic"],function(){cP(b,"OZvrNc")}));!_.S(a.context.Oc,11,!1)&&_.S(a.context.Oc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Uj(Nld(a.context.hE),_.hp,1).length||(b.H("NSockf")?
cP(b,"DEJoH"):bP(b,["NSockf"],function(){cP(b,"DEJoH")}))},12E3));bP(b,c,function(){if(!b.H("px2C2c")){var e=new _.lf;_.nf(e,!0);_.mf(e,301);var f=new _.iD;_.J(f,1,e);I2c(f,Tmd(a));a.query(f).Gg(function(){a.initialize()})}})};Smd.prototype.V=function(){var a="User prefs detected: "+_.Uj(Nld(this.context.hE),_.hp,1).length;this.context.Sf().info("drive.ds.sync.userprefs.UserPrefsManager",a);Umd(this)};
Smd.prototype.query=function(a,b){var c=this,d=b?{zD:b}:void 0;return this.context.Rm().then(function(e){return e.Te(a,d)}).then(function(e){c.error=null;var f=c.context.hE;f.hQ(_.Uj(e,_.hp,3),f.mD()?6:1,_.Md(a,3))}).then(null,function(e){e=_.$A(e);_.A(e.Pg,5,4);0<c.commands.$b()||c.context.uJ(e.Pg);c.error=e;throw e;})};
Smd.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.HG(),e=new Set([].concat(_.jd(this.context.hE.HF.keys()))),f=_.Md(c.request,3);f.find(function(h){return!e.has(h)})&&(c.wja=!0);this.error?d.Pd(this.error):c.wja?(I2c(c.request,Tmd(this,f)),_.Uh(this.H?this.H.promise:this.query(c.request,c.zD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var Tmd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.jd(a.O),_.jd([].concat(_.jd(a.context.hE.HF.keys()))),_.jd(b)));return[].concat(_.jd(a.values()))};
Smd.prototype.getData=function(a,b,c){b=this.context.hE.VG(b);a.callback(new _.BN(b.H,b.Pe,c))};var Umd=function(a){var b=a.context.Oc.$f();_.n.setTimeout(function(){var c=new _.iD,d=new _.lf;_.mf(d,306);_.J(c,1,d);I2c(c,Tmd(a));_.Uh(a.query(c).Gg(_.Ef),function(){Umd(a)})},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,5,72E5))},Vmd=function(a,b,c){this.request=a;this.wja=!!b;this.zD=c||null};
var Wmd=function(a,b,c,d){RP.call(this,"IS",b);this.context=a;this.Mc=new _.Ee(this);this.Ba=_.Th();this.O=null;this.ha=!1;this.W=null;this.Fa=new Ofd(a);C2c(this.Fa);this.Ma(this.Mc);this.ka=new Hmd(a);this.Ma(this.ka);this.Mc.listen(this.ka,"WPi0i",function(){return c(new nfd(1))});this.ma=new Lmd(a);this.Ma(this.ma);this.Mc.listen(this.ma,"Qb",function(){return c(new nfd(2))});this.oa=new Smd(a);this.Ma(this.oa);this.Mc.listen(this.oa,"WPi0i",function(){return c(new nfd(4))});this.Ha=d;this.H=
this.context.Rm()};_.L(Wmd,RP);_.g=Wmd.prototype;
_.g.WU=function(){var a={};return a["3.43"]=this.N_.bind(this),a["3.42"]=this.R7.bind(this),a["3.1"]=this.uN.bind(this),a["3.2"]=this.VG.bind(this),a["3.3"]=this.xd.bind(this),a["3.35"]=this.XN.bind(this),a["3.4"]=this.pz.bind(this),a["3.5"]=this.Iq.bind(this),a["3.6"]=this.YR.bind(this),a["3.8"]=this.Jl.bind(this),a["3.36"]=this.Py.bind(this),a["3.9"]=this.jF.bind(this),a["3.10"]=this.ur.bind(this),a["3.11"]=this.jaa.bind(this),a["3.12"]=this.v8.bind(this),a["3.13"]=this.jT.bind(this),a["3.14"]=
this.haa.bind(this),a["3.15"]=this.x8.bind(this),a["3.16"]=this.iu.bind(this),a["3.17"]=this.UDb.bind(this),a["3.18"]=this.YDb.bind(this),a["3.19"]=this.kQ.bind(this),a["3.20"]=this.WDb.bind(this),a["3.25"]=this.VDb.bind(this),a["3.22"]=this.w8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.Xna.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.wab.bind(this),a["3.41"]=
this.$R.bind(this),a["3.44"]=this.u0.bind(this),a["3.45"]=this.So.bind(this),a["3.46"]=this.S7.bind(this),a};_.g.uN=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.EL);a=new Jmd(c,a.args[1],this.context.H[a.clientId]);cP(this.context.Qj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.qd([d.response,d.Pe,d.f0])},function(d){return b.qd(void 0,d)})};
_.g.VG=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.iD);a=new Vmd(c,a.args[1],this.context.H[a.clientId]);cP(this.context.Qj,"OZvrNc");return this.oa.enqueue(a).then(function(d){return b.qd([d.response,d.Pe,d.f0])},function(d){return b.qd(void 0,d)})};
_.g.xd=function(a){var b=this,c=hO(a.args[0],!!a.kc,k2c),d=_.C(c,_.eM,16)||_.C(c,_.fM,1)||_.C(c,_.gM,2)||_.C(c,_.jM,3)||_.C(c,_.GN,4)||_.C(c,_.hM,5)||_.C(c,_.nM,6)||_.C(c,_.pM,7)||_.C(c,_.qM,8)||_.C(c,_.tM,9)||_.C(c,_.JM,10)||_.C(c,_.KM,11)||_.C(c,_.LM,12)||_.C(c,_.TL,13)||_.C(c,_.OM,14)||_.C(c,_.PM,15)||_.C(c,_.fO,17),e=TP(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.XN=function(a){var b=this,c=hO(a.args[0],!!a.kc,t2c),d=_.C(c,_.kM,1)||_.C(c,_.rM,2)||_.C(c,_.QM,3),e=TP(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.pz=function(a){var b=this,c=hO(a.args[0],!!a.kc,n2c),d=TP(this,a),e=[],f=[];p2c(c).forEach(function(h){h instanceof _.eM?e.push(String(h.Cc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Te(h,d)}))});a=_.pL(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.Uh(a,function(){return void lid(b.context.uf)});return a.then(function(h){return b.qd([new a2c(e,h)])})};
_.g.Iq=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.DM),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=TP(this,a);a=this.H.then(function(f){return f.Te(c,e)}).then(function(f){return new _.zN(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.zN(f.response,f.Pe,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new Qmd(c,d,this.context.H[a.clientId]),cP(this.context.Qj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.qd([f.response,f.Pe,f.f0])},function(f){return b.qd(void 0,
f)})};_.g.YR=function(a){var b=this,c=hO(a.args[0],!!a.kc,q2c),d=_.C(c,_.jD,1)||_.C(c,_.kD,2),e=TP(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};_.g.Jl=function(a){a=a.args[0];if(this.context.$y)a?_.EZc(this.context.$y,!0):this.context.rk().Ue()&&this.context.$y.pM(!0).then(null,function(){});else try{this.context.Jj().Jl(a)}catch(b){return this.qd(void 0,b)}return this.qd([])};
_.g.Py=function(a){var b=this,c=a.args[0];return this.context.Py(c).then(function(d){return d?(b.context.Jj().Py(c),b.Ha(c),b.context.Ts.lL().catch(function(){return!c})):_.Ph(!c)}).then(function(d){return b.qd([d])},function(d){return b.qd(void 0,d)})};_.g.sync=function(){var a=this;return _.Sh([this.context.faa.promise,this.context.Jfa.promise]).then(function(){return a.context.Ts.lL()}).then(function(){return a.qd([])},function(b){return a.qd(void 0,b)})};
_.g.jF=function(){try{var a=this.context.l6;a&&a.zoa();this.context.nha.jF();return this.qd([])}catch(b){return this.qd(void 0,b)}};_.g.$R=function(){this.context.$R();return this.qd([])};_.g.ur=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.wM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.jaa=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.xM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.v8=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.lM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.jT=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.MM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.haa=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.yM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return _.IL(b.context.Oc)?nbd(b.context.uf.xq,[_.C(e,_.Fk,2)],c.Cc()).then(function(){return e}):e}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.x8=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.oM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.iu=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.FM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d).then(function(f){return _.IL(b.context.Oc)?mbd(b.context.uf.xq,f):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.UDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.Xed),d=new _.TVc(c,a.args[1],a.args[2]||void 0),e=TP(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.YDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.EM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d).then(function(f){return _.IL(b.context.Oc)?nbd(b.context.uf.xq,_.Uj(f.qd(),_.Fk,2),c.wd().getId()).then(function(){return f}):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.kQ=function(){var a=this;return(_.S(this.context.Oc.$f(),52,!1)?_.Ph(E$c(new D$c,0)):this.context.BI.kQ()).then(function(b){return a.qd([b])},function(b){return a.qd(void 0,b)})};_.g.WDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.SVc),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.VDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.CM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.w8=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.mM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.Xna=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.kL),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e,null])},function(e){return b.qd([null,_.QL(e)])})};_.g.fyb=function(){return this.qd([!0])};_.g.$Db=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.HF),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.aEb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.IF),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.N_=function(a){a=hO(a.args[0],!!a.kc,_.Ye);Bhd(this.context.uf,[a]);return this.qd([])};_.g.R7=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.iM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.fP=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.zP),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return xbd(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 _.$Vc(hO(a.args[0],!!a.kc,_.QTb),a.args[1]),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e.response,e.pageToken])},function(e){return b.qd(void 0,e)})};
_.g.wab=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.GF),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.u0=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.tN),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.So=function(a){var b=a.args.map(function(c){return hO(c,!!a.kc,_.ML)});this.context.uf.So(b);lid(this.context.uf);return this.qd([])};_.g.S7=function(){var a=this,b=this.context.$y;return(b?b.pM():_.Ph(_.nZc(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)):C5c(a.context.Sf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Qj,c=["hVFf7"];_.iN(this.context.Oc)&&c.push("BNEDtc");bP(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});bP(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){IP(a.context).then(function(e){return void e.start()})};bP(b,["T8oKm","ZA9qG"],function(){return void d()});bP(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();cP(b,"NSockf")}return this.O.promise};_.g.Cba=function(){return this.Ba.promise};_.g.Hu=function(){var a=this.context.l6;a&&a.dispose();return this.context.Hu()};
var TP=function(a,b){return(a=a.context.H[b.clientId])?{zD:a}:{}};
var Xmd=function(a,b,c){RP.call(this,"DU",b);this.context=a;this.O=c;this.H=new Ofd(a)};_.L(Xmd,RP);_.g=Xmd.prototype;
_.g.WU=function(){var a=this,b={};return b["5.1"]=function(){return a.bia()},b["5.2"]=function(c){return a.PM(c)},b["5.4"]=function(c){return a.Ez(c)},b["5.5"]=function(){return a.bR()},b["5.10"]=function(){return a.qN()},b["5.6"]=function(){return a.Ada()},b["5.7"]=function(){return a.VS()},b["5.9"]=function(c){return a.jqa(c)},b["5.8"]=function(c){return a.h5(c)},b["5.11"]=function(){return a.zpa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Jl(c)},b};
_.g.bia=function(){var a=this;this.context.Ts.jS();var b=this.context.Oc;return vdd(_.gN(_.DL(b)),_.hN(b),this.context.Sf()).Gg(function(){}).then(function(){return a.qd([])})};_.g.PM=function(a){a=this.context.uf.xm.H(a.args[0]);return this.qd([a?a.kc():JSON.stringify(null)])};_.g.Ez=function(a){var b=this;return this.context.MA.Ez(a.args[0]).then(function(c){return b.qd([c.kc()])})};_.g.bR=function(){for(var a=this.context.MA.bR(),b=[],c=0;c<a.length;c++)b.push(_.Yj(a[c]));return this.qd([JSON.stringify(b)])};
_.g.h5=function(a){var b=this,c=new _.vUc(JSON.parse(a.args[0])),d=a.args[1],e=a.args[2];if(_.C(c,_.JL,3)||_.C(c,_.SM,4)||_.C(c,_.GN,5)||_.C(c,_.PM,6)||_.C(c,_.qM,7)||_.C(c,_.jM,8)||_.C(c,_.nM,9)||_.C(c,_.TL,10)){var f=L$c(c);return this.context.Rm().then(function(h){return h.Te(f,{u7a:d,v7a:e})}).then(this.xab.bind(this,a),function(h){return b.qd(void 0,h)})}return _.Ph(this.qd(void 0,Error("ag")))};
_.g.xab=function(a,b){a=[];var c="";if(b instanceof _.HN){a=b.qd().Fd();var d=_.B(b,2);c=b.Un()}else if(b instanceof _.UM)b.getItem()&&a.push(b.getItem()),d=b.ZM();else return this.qd(void 0,Error("bg"));b=[];for(var e=0;e<a.length;e++)b.push(_.Yj(a[e]));return this.qd([JSON.stringify(b),d,c])};_.g.jqa=function(){var a=this.context.Oc,b=a.$f();a="email:"+_.DL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a);return this.qd([])};_.g.Ada=function(){this.context.RF.H=new lcd(_.Mg().substring(0,8));return this.qd([])};
_.g.VS=function(){var a=this.context.RF.qN();if(a){for(var b=[],c=ncd(this.context.RF),d=0;d<c.length;d++)b.push(_.Yj(c[d]));a=[a.aea,a.startTime,JSON.stringify(b)]}else a=[];b=this.context.RF;b.H=null;b.IY=[];return this.qd(a)};_.g.qN=function(){var a=this.context.RF.qN();return this.qd(a?[a.aea,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.qd([b])})};
_.g.zpa=function(){var a=[this.O.Hu(),_.wi(3E4)];_.Uh(_.Jja(a),function(){_.n.setTimeout(function(){self.close()})});return this.qd([])};_.g.Jl=function(a){this.H.Jl(a.args[0]);return this.qd([])};
var Ymd=function(a,b,c,d,e,f,h){_.UN.call(this,a,b,c,d,f,h);this.H=e;this.Cd=null};_.L(Ymd,_.UN);Ymd.prototype.wM=function(a,b){var c=this;return _.$h(this.H.then(function(d){return d.P2a(t1c(c.O,c.va,a,b,c.jj,c.ha))},null))};Ymd.prototype.ma=function(a,b){var c=this.wd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Ez();e&&(d=_.B(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.QZc(a,b,d))}};
var Zmd=function(a,b,c,d,e,f,h,k){RP.call(this,"FU",k);this.ka=a;this.ha=b;this.oa=c;this.Ba=d;this.W=e;this.ma=f;this.Cd=h;this.H={};this.O={};this.Mc=new _.Ee(this);this.Ma(this.Mc)};_.L(Zmd,RP);_.g=Zmd.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.kG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.wM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.qd([])},b["7.7"]=function(c){c=c.args;var d=c[0];a.O[d].resolve(null!=c[1]?c[1]:null);delete a.O[d];return a.qd([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=hO(a.args[0],!!a.kc,_.jM),e=a.args[1];if(!this.H[c]){var f=new Ymd(this.ka,this.ha,this.oa,this.Ba,this.W,this.ma,this.Cd);this.Mc.listen(f,"Lb",_.wb(this.yab,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,$md(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.kG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].kG();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,$md(0,e,[q,r]))},function(r){b.update(a.clientId,c,$md(1,e,[q,r.Pg]))})});return this.qd([])}return this.qd(void 0,_.QL("Could not retry upload."))};
_.g.wM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args.slice(1);return this.H[b]?(b=this.H[b],c=t1c(b.O,b.va,c,a,b.jj,b.ha),this.qd([w2c(c)])):this.qd(void 0,_.QL("FileUploader not found."))};_.g.yab=function(a,b,c){this.update(a,b,$md(2,c.requestId,[c.progress,c.totalBytes]))};var $md=function(a,b,c){return[Number(a),b].concat(_.jd(c))};
var and=function(a,b){RP.call(this,"IE",b);this.O=a;this.H=new Map};_.L(and,RP);and.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};
and.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=hO(a.args[0],!!a.kc,_.RVc);e=new DP(this.O,e);var f=_.ue(e,"Pb",function(h){b.update(a.clientId,c,[h.iPa,h.iua])});_.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)})};and.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.qd([])};
var bnd=function(a,b){RP.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Th();this.O=new Tfd(a,a.Jg)};_.L(bnd,RP);bnd.prototype.WU=function(){var a=this,b={};return b["6.1"]=function(c){return cnd(a,c)},b["6.2"]=function(c){return dnd(a,c)},b["6.3"]=function(){a.H&&(Wfd(a.O),a.H=!1,a.W=_.Th());return a.qd([])},b};
var cnd=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return hO(d,!!b.kc,_.Yk)});a.O.ol(c);cP(a.context.Qj,"GZTDpc");a.W.resolve()}return a.qd([])},dnd=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return hO(d,!!b.kc,_.ML)});Vfd(a.O,c);return a.qd([])})};
var end=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)})};end.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 fnd=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)})};end.prototype.Bo=function(){return[].concat(_.jd(this.services.values())).every(function(a){return a.dg()})};
var gnd=function(){},hnd={0:2E3,1:3E3,2:5E3},ind=function(a,b){this.request=a;this.ha=b;this.O=_.Th();this.continuationToken="";this.V=0;this.BE=this.W=!1;this.H=gnd};ind.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=gnd;b.V=0;return c},function(c){b.H=gnd;b.V=0;return Promise.reject(c)})};
ind.prototype.sendRequest=function(){var a=this;if(this.BE)this.O.resolve((new yP).Dc(8));else{var b=new _.dWc(this.request,this.continuationToken);this.ha.then(function(c){return c.Te(b)}).then(function(c){jnd(a,c)},function(c){a.handleError(c)})}};var jnd=function(a,b){var c;a.continuationToken=null!==(c=b.Un())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},knd(a.V++,a.ka)):a.O.resolve(b)};ind.prototype.handleError=function(a){a=_.$A(a);this.O.reject(a)};
ind.prototype.cancel=function(){this.BE=!0};var knd=function(a,b){return b?b:(a=hnd[a])?a:1E4};
var lnd=function(a,b){RP.call(this,"TM",b);this.O=a;this.H=new Map};_.L(lnd,RP);lnd.prototype.WU=function(){var a=this,b={};return b["10.1"]=function(c){return mnd(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var mnd=function(a,b){var c=b.clientId+":"+b.requestId,d=hO(b.args[0],!!b.kc,_.Ced);d=new ind(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)})};lnd.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.qd([])};
var UP=function(a,b,c){_.N.call(this);this.H=a;this.$r=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ja=_.Th();this.W=!1;this.Ba=_.Th();this.O=_.Th();this.oa=null;this.va=this.Ta=!1;this.yb=_.Th();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.WB=Date.now();this.services=new end;this.Jb=new _.Ee(this);this.Ma(this.Jb)};_.L(UP,_.N);UP.prototype.nY=function(a){this.O.promise.then(function(b){b.l6||a.Yi(b)})};
var qnd=function(a,b){var c=wmd(a.H,b),d=a.Sb.bind(a,c);UO(b,"8.1",d);b.registerService("8.1",d);UO(b,"8.4",a.Oa.bind(a,c));b.registerService("8.5",function(f){return nnd(a,c,f)});UO(b,"8.2",a.Gb.bind(a,c));UO(b,"8.3",a.Mb.bind(a,c));fnd(a.services,b);b.start();ond(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 pnd(a,c,b)},function(f){a.Ta=!0;VO(b,"2.2",{err:_.QL(f).kc()},d)})},rnd=function(a){return Math.floor((Date.now()-
a.WB)/1E3)},snd=function(a,b,c){var d=function(e){VO(b,"2.8",{au:"ib"===e.type})};a.Jb.listen(c.BI,["ib","jb"],d);_.we(b,a.Jb.Yc.bind(a.Jb,c.BI,["ib","jb"],d))},tnd=function(a,b,c){var d=c.rk(),e=[].concat(_.jd(Object.values(_.aB))),f=function(h){VO(b,"2.19",{cs:h.connectionState})};a.Jb.listen(d,e,f);_.we(b,function(){a.Jb.Yc(d,e,f)})};
UP.prototype.Sb=function(a){var b=xmd(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){Amd(d,a)}),b.dispose(),this.log(_.tt("Client %d disconnected (num clients remaining: %d)",a,_.Ra(this.H.channels))),0===_.Ra(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.Uh(d.Hu(),c)})}};
UP.prototype.Oa=function(a,b){if(this.ha.has(a))return _.Ph();var c=new _.Sb(JSON.parse(b.dsc));_.A(c,24,!1);this.Ha||(this.Ha=!0,this.Ja.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){rmd(d,a,_.E(c.$f(),37,""));qmd(d,_.Md(c,28));d.uf.Dla(_.Uj(c,_.Cl,91));return d.DX.promise.then(function(){Bhd(d.uf,_.Uj(c,_.Ye,44))})},function(){})};
UP.prototype.Gb=function(a,b){var c=this;if(!this.ma.has(a)){this.ma.add(a);var d=b.ivd;d&&this.O.promise.then(function(e){e=new Igd(e,e.Jg);e.Yg(d);e.dispose();(e=c.H.channels[a]||null)&&VO(e,"2.16")})}};UP.prototype.Mb=function(a,b){var c=this;this.V.has(a)||this.V.set(a,new Set);var d=this.V.get(a),e=b.dsp;if(e){var f=[];for(b=0;b<e.length;b++)e[b]&&(d.has(b)?e[b]=void 0:(f.push(b),d.add(b)));f.length&&this.O.promise.then(function(h){und(new lhd(h),e);(h=c.H.channels[a]||null)&&VO(h,"2.17",{t:f})})}};
var und=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.Yg(c)});a.dispose()};UP.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Sa(this.H.channels)),d=c.next();!d.done;b={Eea:b.Eea,dfa:b.dfa},d=c.next())b.Eea=d.value,b.dfa=_.Th(),VO(b.Eea,"2.12",void 0,function(e){return function(){e.Eea.dispose();e.dfa.resolve()}}(b)),a.push(b.dfa.promise);return _.Sh(a).then()};
UP.prototype.initialize=function(a){var b=this;a=a[0];_.tXc(a,this.fields);var c=_.C(a,_.ZL,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new jO(null,a,this.$r,c,void 0,void 0),e=d.Sk().H(106E3);Yld(d,this.$a.bind(this));this.Jb.listen(d.Jj(),"Ab",function(k){k={os:k.Ue()};for(var l=_.m(_.Sa(b.H.channels)),p=l.next();!p.done;p=l.next())VO(p.value,"2.6",k)});this.Jb.listen(d,_.wc,this.nb);this.Jb.listen(d,"w8KrJc",this.Lc);I$c(d.BI,this.ka.bind(this));var f=d.$y;f&&R5c(f,function(){return b.ka()});
this.O.resolve(d);var h=vnd(this,d,new Wmd(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 vnd=function(a,b,c){a.services.activate(c);a.services.activate(new ymd(b,a.H));a.services.activate(new Xmd(b,a.H,c));a.services.activate(new bnd(b,a.H));a.services.activate(new Zmd(b.Oc,b.MA,b.aR().Hfa,b.Rm(),b.gQ,b.Sf(),b.Sk(),a.H));a.services.activate(new and(b.Rm(),a.H));a.services.activate(new lnd(b.Rm(),a.H));return c.initialize()},pnd=function(a,b,c){var d=_.Ra(a.H.channels);a.log(_.tt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));VO(c,"2.2",{id:b,
clients:d,uptimeSec:rnd(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.b_.addCallback(function(f){c.isDisposed()||VO(c,"2.5",{id:f})});1<d&&IP(e).addCallback(function(f){return f.twa()});(a.services.services.get("IS")||null).addCallback(function(f){f.Cba().then(function(){c.isDisposed()||VO(c,"2.14")})});snd(a,c,e);tnd(a,c,e)})};UP.prototype.uc=function(a){a={dt:a.dataType};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())VO(c.value,"2.15",a)};
UP.prototype.Ec=function(a){var b={oois:a};_.Sa(this.H.channels).forEach(function(c){VO(c,"2.18",b)})};UP.prototype.nb=function(a){a={p:a.error.Pg.kc()};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())VO(c.value,"2.10",a)};UP.prototype.Lc=function(){for(var a=_.m(_.Sa(this.H.channels)),b=a.next();!b.done;b=a.next())VO(b.value,"2.7")};var ond=function(a,b,c){a.ha.has(b)?_.Ph():new _.Oh(function(d){VO(c,"2.1",void 0,function(e){d(a.Oa(b,e))})})};
UP.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Rh(Error("Hg"));if(this.W&&this.Fa.has(a))return _.Ph()}b=b||_.Sa(this.H.channels)[0];if(!b)return _.Rh(Error("Ig"));var d=_.Th();b.send("1.1",void 0,function(e){nnd(c,a,e);d.resolve()});return d.promise};var nnd=function(a,b,c){_.Ma(c.ac,function(d,e){_.n[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.va&&(a.va=!0,a.yb.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
UP.prototype.log=function(a){this.O.promise.then(function(b){return b.Sf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var wnd=function(a,b){QP.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.L(wnd,QP);_.g=wnd.prototype;_.g.La=function(){return _.C(this.context.Oc,_.ZL,58)};_.g.getContext=function(){return this.context};_.g.Ez=function(){return this.send("5.4",[this.H],function(a){return new _.hYc(JSON.parse(a[0]))})};_.g.Sf=function(){return this.context.Sf()};_.g.PM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Yk(b)})};
_.g.bR=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 _.vUc(a[c]));return b})};_.g.h5=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,Aia:f,pageToken:d}})};_.g.jqa=function(){this.send("5.9",[])};_.g.bia=function(){this.send("5.1",[])};_.g.p9=function(){return _.ZUc[_.Gj(this.context.Oc.$f(),8,0)]};
_.g.Ada=function(){this.send("5.6",[])};_.g.VS=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 M$c(a[e]));return{traceId:new lcd(b,c),spanRecs:d}})};_.g.qN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new lcd(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.zpa=function(){this.send("5.11",[])};
_.g.Jl=function(a){this.send("5.13",[a])};
var xnd=function(a,b){QP.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Da(this))};_.L(xnd,QP);xnd.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return hO(b[0],c,cfd)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};xnd.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
xnd.prototype.M$=function(a,b,c){this.dispatchEvent(new ofd(c[0],c[1]))};
var ynd=function(a){QP.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.L(ynd,QP);ynd.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.Q_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var znd=function(a,b){jP.call(this,a,b)};_.L(znd,jP);znd.prototype.qia=function(a,b,c){return new _.$Vc(a,c)};znd.prototype.Eka=function(a){return a.pageToken||""};znd.prototype.Rja=function(a){return a.response.O()};znd.prototype.j6=function(){};
var And=function(a,b,c){CP.call(this,a.Jj(),a.rk(),b.Mi()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new znd(this.request,this.ka)};_.L(And,CP);_.g=And.prototype;_.g.XG=function(){this.V.Yg().then(this.zab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return ued(new xP,this.O).Dc(this.status)};_.g.ds=function(){return new sed};_.g.Tj=function(){return!this.Ue()&&(!this.H||zbd(this.V))};_.g.zab=function(a){this.changed=this.H=!0;this.O=a;this.Ut()};
_.g.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};_.g.$b=function(){return this.O.length};
var Bnd=function(a,b,c){CP.call(this,a.Jj(),a.rk(),b.Mi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.xSc;this.suggestionSessionId=null;this.ka=c};_.L(Bnd,CP);_.g=Bnd.prototype;_.g.XG=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.zj();a.suggestionSessionId=b.Vf();a.Ut()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.o1c(_.n1c((new _.WN).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ds=function(){var a=this.V.Fz(this.O,this.data);this.O=this.data;var b=(new yed).Dc(this.status);return _.Nj(b,2,a)};_.g.dP=function(){};_.g.Ut=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};
var Cnd=function(){};_.g=Cnd.prototype;_.g.yM=function(a,b){b=Ued(1).setPosition(b);_.J(b,2,a);return b};_.g.xM=function(a,b){b=Ued(2).setPosition(b);_.J(b,2,a);return b};_.g.FE=function(a,b,c){b=Ued(3).Qy(b).setPosition(c);_.J(b,2,a);return b};_.g.sQ=function(a,b){b=Ued(4).setPosition(b);_.J(b,2,a);return b};_.g.aN=function(a){return _.C(a,_.y9c,2)};
var End=function(){_.lL.call(this,new Cnd,function(a){return Dnd(a)})};_.L(End,_.lL);var Dnd=function(a){switch(_.Ej(a,x9c[0])){case 6:return _.Bx(_.C(a,_.Ax,6)).getTime().toString();case 7:var b=_.C(a,_.NO,7);a=_.C(b,_.Ax,1);b=b.zr();return a&&b?(a=_.Bx(a).getTime(),_.Bx(b).getTime()+"--"+a):"";default:return""}},Gnd=function(){Fnd||(Fnd=new End);return Fnd},Fnd;
var Hnd=function(a,b,c,d){CP.call(this,b.Jj(),b.rk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.yZc(_.bk(b.Oc.$f(),6,1E3));this.oa=c};_.L(Hnd,CP);_.g=Hnd.prototype;_.g.activate=function(){CP.prototype.activate.call(this);this.Ut()};_.g.XG=function(){_.R(this.request,3)?this.page():this.poll()};_.g.Gr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;CP.prototype.Gr.call(this,a)};
_.g.getData=function(){var a=(new Zed).Dc(this.status);_.Nj(a,2,this.O.slice(0,this.limit));this.ka=_.ya(this.O);return a};_.g.ds=function(){var a=Gnd().Fz(this.ka,this.O),b=new Wed;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.EMa=function(a){this.dispatchEvent(new _.mc(a));this.V=!1};
_.g.Uxb=function(a,b){this.H=!0;var c=_.Uj(b,_.y9c,1);this.O=this.O.concat(c);this.token=b.my()||"";0<c.length&&(this.changed=!0);this.Ut();this.page(a)};_.g.myb=function(a){Gnd();this.H=!0;var b=_.Uj(a,_.y9c,1);oO(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.my()||"",this.changed=!0,this.Ut(),this.page()):(this.V=!1,Ind(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.EMa,this):(this.V=!1,a&&a.callback(),Ind(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.oa(this.request,this.limit).Tf(this.myb,this.EMa,this))};_.g.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};
_.g.HL=function(){this.Ue()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.dP=function(){this.active&&this.Tj()&&!this.V&&this.page(new _.Vh)};var Ind=function(a){_.R(a.request,3)||(_.rH(a.ma),_.n.setTimeout((0,_.v)(a.poll,a),a.ma.Ya()))};Hnd.prototype.$b=function(){return this.O.length};
var Jnd=function(){};_.g=Jnd.prototype;_.g.yM=function(a,b){return afd($ed(1),a).setPosition(b)};_.g.xM=function(a,b){return afd($ed(2).setPosition(b),a)};_.g.FE=function(a,b,c){return afd($ed(3).Qy(b).setPosition(c),a)};_.g.sQ=function(a,b){return afd($ed(4),a).setPosition(b)};_.g.aN=function(a){return _.C(a,_.rP,2)};
var Knd=function(){_.lL.call(this,new Jnd,function(a){return a.getId()})};_.L(Knd,_.lL);var Mnd=function(){Lnd||(Lnd=new Knd);return Lnd},Lnd;
var Nnd=function(a,b,c){CP.call(this,b.Jj(),b.rk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.yZc(_.bk(b.Oc.$f(),54,1E3));this.ma=c};_.L(Nnd,CP);_.g=Nnd.prototype;_.g.activate=function(){CP.prototype.activate.call(this);this.Ut()};_.g.XG=function(){this.poll()};_.g.getData=function(){var a=new ifd;a=_.Nj(a,2,this.O).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.ds=function(){var a=Mnd().Fz(this.ka,this.O),b=new gfd;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.Bab,a),_.wb(this.Aab,a),this);return a};_.g.Aab=function(a,b){this.dispatchEvent(new _.mc(b));a.Pd(b);Ond(this)};_.g.Bab=function(a,b){this.H=!0;b=_.Uj(b,_.rP,2);oO(Mnd(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.Ut();a.callback();Ond(this)};
_.g.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};_.g.dP=function(){};var Ond=function(a){a.active&&(_.n.setTimeout((0,_.v)(a.poll,a),a.V.Ya()),_.rH(a.V))};Nnd.prototype.$b=function(){return this.O.length};
var Pnd=function(){};_.g=Pnd.prototype;_.g.yM=function(a,b){return ded(ced(1),a).setPosition(b)};_.g.xM=function(a,b){return ded(ced(2).setPosition(b),a)};_.g.FE=function(a,b,c){return ded(ced(3).Qy(b).setPosition(c),a)};_.g.sQ=function(a,b){return ded(ced(4),a).setPosition(b)};_.g.aN=function(a){return _.C(a,_.Fk,2)};
var Qnd=function(){_.lL.call(this,new Pnd,function(a){return a.getId()})};_.L(Qnd,_.lL);_.Ff(Qnd);
var VP=function(a,b,c){_.ri.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.L(VP,_.ri);VP.prototype.xi=function(a){this.limit=a};VP.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():Rnd(this)};VP.prototype.Gka=function(){return this.permissions};
var Rnd=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.EM;c=_.J(c,3,a.request);c=_.A(c,2,a.nextPageToken);b=_.A(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};VP.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Un()||"";a=_.Uj(a.qd(),_.Fk,2);this.permissions=_.xa(this.permissions,a);a.length&&this.dispatchEvent("Cb");if(this.nextPageToken&&this.permissions.length<this.limit)return Rnd(this);this.dispatchEvent("Fb")};
VP.prototype.handleError=function(a){this.H=!1;a=new XO(_.QL(a),_.bk(this.context.Oc.$f(),1,1));this.dispatchEvent(a)};
var Snd=function(a,b,c,d){CP.call(this,b.Jj(),b.rk(),d||100);var e=this;this.request=a;this.context=b;this.ka=[];this.permissions=[];this.changed=!1;this.V=null;this.ma=c;this.O=new VP(b,this.request,this.ma);_.we(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.L(Snd,CP);_.g=Snd.prototype;_.g.activate=function(){CP.prototype.activate.call(this);this.Ut()};_.g.XG=function(){this.query()};_.g.Gr=function(a){CP.prototype.Gr.call(this,a||100)};
_.g.getData=function(){var a=new qO;a=_.Nj(a,2,this.permissions.slice(0,this.limit)).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.ds=function(){var a=Qnd.Db().Fz(this.ka,this.permissions),b=new ked;a=_.Nj(b,2,a).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.Tj=function(){var a;(a=!this.Ue())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.wd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new VP(this.context,this.request,this.ma);this.O.xi(this.limit);return this.O.Yg().then(function(){return Tnd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){CP.prototype.handleError.call(this,a);Und(this)};var Tnd=function(a){a.H=!0;var b=a.O.Gka();oO(Qnd.Db(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Ut();Und(a)};
Snd.prototype.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};Snd.prototype.dP=function(){var a=this;this.O.xi(this.limit);this.O.Yg().then(function(){return Tnd(a)},function(b){return a.handleError(b)})};var Und=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))}};Snd.prototype.$b=function(){return this.permissions.length};
var Vnd=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.gi(_.xc,a))},0)};
var Wnd=function(){},Xnd=function(a,b){QP.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=Wnd;this.H=null;this.id=String(_.Da(this))};_.L(Xnd,QP);Xnd.prototype.M$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(hO(a,b,yP)))};Xnd.prototype.Yg=function(a){a=void 0===a?Wnd:a;if(!this.H){this.O=a;var b=_.Th();this.H=b;this.send("10.1",[this.request],function(c,d){return hO(c[0],d,yP)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
Xnd.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var Ynd=function(a,b,c){_.ri.call(this);var d=this;this.instanceId=a;this.H=b;this.V=c;this.Bu={};this.O={};_.we(this,function(){d.H("7.6",[])})};_.L(Ynd,_.ri);_.g=Ynd.prototype;_.g.getId=function(){return this.instanceId};_.g.rQ=function(){return _.oL()};
_.g.upload=function(a,b){!_.B(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.yXc;_.A(d,1,b.size);_.J(a,15,d);this.O[a.fj()]=b}return this.H("7.1",[a,c],function(e,f){return hO(e[0],f,_.UM)})};_.g.cancel=function(a){this.H("7.2",[a])};_.g.kG=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.rQ();this.Bu[c]=b;b=_.Sa(b);this.H("7.4",[c].concat(_.jd(a)));return b};_.g.wM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.jd(b)),function(d){return x2c(d[0])}).addCallback(function(d){return c.V.addCallback(function(e){return e.P2a(d)})})};var Znd=function(a,b,c,d){if(a.Bu[b]&&a.Bu[b][c]){var e=a.Bu[b][c];d instanceof _.UM?e.callback(d):e.Pd(d);delete a.Bu[b][c];_.Va(a.Bu[b])&&delete a.Bu[b]}};
var $nd=function(a,b){QP.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.L($nd,QP);var aod=function(a){var b=_.oL(),c=new Ynd(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};
$nd.prototype.M$=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,_.EVc(c,b,Math.min(c.size,b+e))]);break;case 0:b=hO(e[1],b,_.UM);Znd(a,d,e[0],b);break;case 1:b=new _.lc(void 0,hO(e[1],b,_.kc));Znd(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.QZc(d,e[0],e[1]));break;default:throw Error("Jg");}}};
var bod=function(a,b){if(0===a.length)throw new _.lc("mutateUserPref requires a namespace.",_.aM(3));var c=null;b instanceof _.kD?c=(b=(b=_.C(b,_.hp,1))&&b.getKey())&&_.ip(b)||null:b instanceof _.jD&&(c=(b=b.getKey())&&_.ip(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.lc("mutateUserPref unsupported for namespace: "+c,_.aM(3));};
var cod=function(a){this.H=a};
var e3c=function(a){QP.call(this,"IS","drive.ds.sync.ItemServiceProxy",(dod=_.Th()).promise);var b=this;this.Zn=null;this.Ja=this.Oa=this.Ta=this.ma=!1;this.ha=this.ka=this.W=null;this.$a=new _.yn;this.Ha=new _.yn;this.V=dod;dod=void 0;this.context=a;$ld(this.context,new ynd(this.V.promise));F5c(this.context.Jg,_.Md(this.context.Oc,28));this.H=this.context.Ifa;this.O=new Bmd(this.V.promise,this.context,this.H);this.nb=new $nd(this.V.promise,this.context.gQ);this.Fa=new wnd(this.V.promise,this.context);
this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.rk(),[].concat(_.jd(Object.values(_.aB))),function(c){return void b.dispatchEvent(c)})},dod;_.L(e3c,QP);
e3c.prototype.initialize=function(){var a=this;if(!this.Zn){this.Zn=_.Ph(this.oa);var b=this.context.Sk().H(106E3);this.Zn.then(function(){b&&b.Zj();a.F1a()},function(){_.EN(a.context.Sk(),181008852)});var c=_.iN(this.context.Oc)?"(coldstart) ":"";this.context.Sf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Oc.Ki());var d=j2c(this.context.Oc,this.wi(),_.oN(this.context.Jg));eod(this,d);2===d.H?(c=new UP(new vmd,6,this.context.Sf()),qnd(c,d.O),this.Ha.resolve(c)):
C2c(this.Fa);this.context.Sf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();Yld(this.context,function(){return fod(d.channel)})}return this.Zn};
var fod=function(a){return _.Jja([new _.Oh(function(b){a.isDisposed()||VO(a,"8.1",void 0,function(){a.dispose();b()})}),_.wi(1E4)])},eod=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 god(a,b)});2===b.H?a.Ha.promise.then(function(){return void hod(a,b)}):hod(a,b);UO(c,"2.1",function(){return{dsc:a.context.Oc.kc()}});UO(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new umd(d.id,c,a.context.Sf(),d.clients)),d.dsp&&iod(c),
d.ivd&&jod(a,c)):(d=new _.kc(JSON.parse(d.err)),a.oa.Pd(new _.lc("Unable to initialize dataservice.",d)))});UO(c,"2.15",function(d){a.dispatchEvent(new nfd(d.dt))});UO(c,"2.5",function(d){a.context.Fu(d.id)});UO(c,"2.6",function(d){a.context.Jj().Jl(d.os)});UO(c,"2.18",function(d){a.context.Jj().Py(d.oois)});UO(c,"2.7",function(){a.ma=!1});UO(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new e6c(d.au?"ib":"jb"))});UO(c,"2.19",function(d){a.context.rk().update(d.cs)});UO(c,"2.9",function(d){var e=
d.logName,f=d.level;d=_.tt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Sf().config(e,d);break;case "fine":_.mN(a.context.Sf(),e,d,"fine");break;case "finer":_.mN(a.context.Sf(),e,d,"finer");break;case "finest":_.mN(a.context.Sf(),e,d,"finest");break;case "info":a.context.Sf().info(e,d);break;case "warning":case "severe":C5c(a.context.Sf(),e,d);break;default:C5c(a.context.Sf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),C5c(a.context.Sf(),e,d)}});UO(c,"2.10",
function(d){return void a.K$(d)});UO(c,"2.12",function(){a.Ja=!0;WP(a)});UO(c,"2.14",function(){return a.$a.resolve()});UO(c,"2.16",function(){return a.Ta=!0});UO(c,"2.17",function(d){a.context.Sf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},hod=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",god(a,b));VO(b.channel,"8.4",{dsc:a.context.Oc.kc()});iod(b.channel);jod(a,b.channel)},iod=function(a){_.n._DRIVE_dsp&&VO(a,"8.3",{dsp:kod(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];VO(a,"8.3",{dsp:kod(c)})}}},jod=function(a,b){_.S(a.context.Oc,24,!1)&&(_.n._DRIVE_ivd?VO(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&VO(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},god=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}};e3c.prototype.yb=function(){return{uid:this.wi(),fds:_.oN(this.context.Jg)}};e3c.prototype.wi=function(){var a=_.Oj(_.Oj(_.MH(this.context.Oc.clone(),28),44),91),b=new _.vL;b.update(_.gN(_.DL(a)));b.update(String(_.RL(_.DL(a))));b.update(a.kc());return _.GSc(b.digest())};var kod=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=e3c.prototype;_.g.K$=function(a){this.dispatchEvent(new _.mc(new _.lc(void 0,new _.kc(JSON.parse(a.p)))))};
_.g.query=function(a){WP(this);l$c(this.context.Hm,a,D5c(this.context.Jg));this.jF();var b=this.O.$wa(a);this.Oa||(a=a.xe(),a&&121===_.B(a,1)||(this.Oa=!0,this.Mc.listen(b,_.xc,this.FMa)));return b};_.g.FMa=function(a){a=a.currentTarget;1===a.Ab()&&(this.Fa.H=this.Ta,this.Mc.Yc(a,_.xc,this.FMa))};_.g.Hq=function(a){WP(this);j$c(a);this.jF();return this.O.Xwa(a)};
_.g.$ua=function(a,b){var c=this;WP(this);if(this.ka&&_.ak(this.ka.wd(),a))return this.ka;this.ka=new Hnd(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return hO(h[0],k,A9c)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.JFa=function(a,b){var c=this;WP(this);if(this.ha&&_.ak(this.ha.wd(),a))return Vnd(this.ha),this.ha;this.ha=new Snd(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return hO(e[0],f,led)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.haa=function(a){WP(this);return this.send("3.14",[a],function(b,c){return hO(b[0],c,wP)})};_.g.x8=function(a){WP(this);return this.send("3.15",[a],function(b,c){return hO(b[0],c,wP)})};
_.g.xd=function(a){WP(this);!this.ma&&_.VM(a)&&(this.ma=!0);a=l2c(a);return this.send("3.3",[a],function(b,c){return hO(b[0],c,_.UM)})};_.g.XN=function(a){WP(this);a=v2c(a);return this.send("3.35",[a],function(b,c){return hO(b[0],c,_.d6c)}).then()};_.g.pz=function(a){WP(this);for(var b=0;b<a.length;b++)!this.ma&&_.VM(a[b])&&(this.ma=!0);a=o2c(a);return this.send("3.4",[a],function(c,d){return A$c(c[0],d).get()})};_.g.Wwa=function(){WP(this);return aod(this.nb)};
_.g.qSa=function(a){WP(this);return new xnd(this.V.promise,a)};_.g.Iq=function(a,b){var c=this;WP(this);var d=_.Mg();this.H.create(d,a);return this.send("3.5",[a,!!b],function(e,f){f=hO(e[0],f,YO);return new _.zN(f,e[1],e[2])}).addCallback(function(e){S$c(c.H,d,e);return e.response}).Hg(function(e){WO(c.H,d);return e})};_.g.ur=function(a){WP(this);return this.send("3.10",[a],function(b,c){return hO(b[0],c,ied)})};
_.g.jaa=function(a){WP(this);return this.send("3.11",[a],function(b,c){return hO(b[0],c,med)})};_.g.v8=function(a){WP(this);return this.send("3.12",[a],function(b,c){return hO(b[0],c,med)})};_.g.jT=function(a){WP(this);return this.send("3.13",[a],function(b,c){return hO(b[0],c,med)})};
_.g.uN=function(a,b){var c=this;WP(this);var d=_.Mg();this.H.create(d,a);return this.send("3.1",[a,!!b],function(e,f){f=hO(e[0],f,_.AP);return new _.CN(f,e[1],e[2])}).addCallback(function(e){S$c(c.H,d,e);return e.response}).Hg(function(e){WO(c.H,d);return e})};
_.g.VG=function(a,b){var c=this,d=_.Md(this.context.Oc.$f(),30);if(!d||0===d.length)return _.ai(new _.lc("getUserPrefs requires a namespace.",_.aM(3)));0===_.Md(a,3).length&&I2c(a,d);WP(this);var e=_.Mg();this.H.create(e,a);return this.send("3.2",[a,!!b],function(f,h){h=hO(f[0],h,_.sz);return new _.BN(h,f[1],f[2])}).addCallback(function(f){S$c(c.H,e,f);return f.response}).Hg(function(f){WO(c.H,e);return f})};
_.g.YR=function(a){WP(this);bod(_.Md(this.context.Oc.$f(),30),a);a=s2c(a);return this.send("3.6",[a],function(b,c){return hO(b[0],c,ned)})};_.g.iu=function(a){WP(this);return this.send("3.16",[a],function(b,c){return hO(b[0],c,U5c)})};_.g.IBa=function(){return this.ma};_.g.Jl=function(a){WP(this);this.send("3.8",[a])};_.g.Py=function(a){WP(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.pY=function(a){WP(this);Zld(this.context).pY(a);this.Py(!!a)};
_.g.jF=function(){WP(this);this.send("3.9",[])};_.g.$R=function(){WP(this);this.send("3.41",[]);this.context.$R();var a=M5c(this.context.Sk(),106006);a&&this.V.promise.then(function(b){var c=_.C(_.uN(a),j5c,6);if(!c){c=new j5c;var d=_.uN(a);_.J(d,6,c)}c=_.A(c,1,b.clientId);_.A(c,2,b.O);a.Zj()},function(){})};_.g.wB=function(){WP(this);return this.context.wB()};_.g.kQ=function(){WP(this);return _.Ph(this.send("3.19",[],function(a,b){return hO(a[0],b,D$c)}))};_.g.isConnected=function(){return this.context.rk().isConnected()};
_.g.S7=function(){return this.send("3.46",[],function(a,b){return hO(a[0],b,_.mZc)}).then()};_.g.H9=function(){return this.Fa};_.g.sync=function(){WP(this);return this.send("3.28",[]).then()};_.g.Hu=function(){return this.context.Hu()};_.g.nY=function(a){this.Ha.promise.then(function(b){return void b.nY(a)})};_.g.Pda=function(a){WP(this);return this.O.gxa(a)};_.g.YY=function(a){WP(this);return this.O.fxa(a)};_.g.GFa=function(a){WP(this);o$c(this.context.Hm,a,D5c(this.context.Jg));return this.O.cxa(a)};
_.g.cqa=function(a){WP(this);return new Xnd(this.V.promise,a)};_.g.Ova=function(a){var b=this;WP(this);if(!this.W||this.W.isDisposed())this.W=new Nnd(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return hO(d[0],e,ifd)})});return this.W};_.g.pGa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.Ph()};_.g.w8=function(a){WP(this);return this.send("3.22",[a],function(b,c){return hO(b[0],c,jfd)})};
_.g.AV=function(a){WP(this);return this.send("3.25",[a],function(b,c){return hO(b[0],c,efd)})};_.g.Cba=function(){return this.$a.promise};_.g.Xna=function(a){var b=_.Th();this.send("3.30",[a],function(c,d){c[0]?b.resolve(hO(c[0],d,lfd)):b.reject(new _.lc(void 0,hO(c[1],d,_.kc)))}).Hg(function(c){return void b.reject(c)});return b.promise};_.g.owa=function(a){WP(this);return this.O.Uwa(a)};_.g.R7=function(a){WP(this);return this.send("3.42",[a],function(b,c){return hO(b[0],c,m7c)}).then()};
_.g.fP=function(a){WP(this);var b=new _.yn;this.send("3.39",[a],function(c,d){return c.map(function(e){return hO(e,d,cad)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new cod(b.promise))};_.g.aGa=function(a){var b=this;WP(this);return new And(this.context,a,function(c){return b.send("3.37",[c.request,c.pageToken],function(d,e){return new G9c(hO(d[0],e,xP),d[1])}).then()})};
_.g.ioa=function(a){WP(this);return this.send("3.38",[a],function(b,c){return hO(b[0],c,ved)}).then()};_.g.XKa=function(a){WP(this);return this.O.kxa(a)};_.g.Yqa=function(a){WP(this);return this.O.jxa(a)};_.g.lJa=function(a){var b=this;WP(this);return new Bnd(this.context,a,function(){return b.send("3.40",[a],function(c,d){return hO(c[0],d,_.WN)}).then()})};_.g.mJa=function(a){WP(this);return this.O.dxa(a)};_.g.N_=function(a){WP(this);this.send("3.43",[a])};
_.g.u0=function(a){WP(this);return this.send("3.44",[a],function(b,c){return hO(b[0],c,$6c)}).then()};_.g.So=function(a){WP(this);if(1!==_.hN(this.context.Oc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Lg"));if(!c.tk()&&!c.getItem())return Promise.reject(Error("Mg"))}return Promise.resolve(this.send("3.45",a))};
_.g.F1a=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.F1a.bind(a),6E4):(a.Ja=!0,WP(a))})}};var WP=function(a){a.Ja&&a.dispatchEvent(new Nfd)};
var g3c=function(a){EP.call(this,a);this.ha=this.ka=this.oa=null;this.kb=_.Th();this.H=a.Rm()};_.L(g3c,EP);g3c.prototype.cSa=function(){this.Ha=new Hmd(this.context);this.Ma(this.Ha);this.Ja=new Lmd(this.context);this.Ma(this.Ja);this.Oa=new Smd(this.context);this.Ma(this.Oa)};
g3c.prototype.$a=function(){var a=this,b=["hVFf7"];_.iN(this.context.Oc)&&b.push("BNEDtc");bP(this.O,b,function(){return void a.VWa()});bP(this.O,["T8oKm","ZA9qG"],function(){return void lod(a)});bP(this.O,["T8oKm","mrK8ic"],function(){return void lod(a)});this.Mc.listen(this.Ha,"WPi0i",this.Msa.bind(this,1));this.Mc.listen(this.Ja,"Qb",this.Msa.bind(this,2));this.Mc.listen(this.Oa,"WPi0i",this.Msa.bind(this,4));bP(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var lod=function(a){IP(a.context).addCallback(function(b){b.start()})};
_.g=g3c.prototype;_.g.Msa=function(a){_.ma(a7c,a)&&this.dispatchEvent(new nfd(a))};_.g.YY=function(a){return this.V.fxa(a.clone())};_.g.GFa=function(a){o$c(this.context.Hm,a,D5c(this.context.Jg));return this.V.cxa(a.clone())};_.g.Pda=function(a){return this.V.gxa(a.clone())};_.g.cqa=function(a){return new ind(a,this.context.Rm())};
_.g.$ua=function(a,b){var c=this;if(this.oa&&_.ak(this.oa.wd(),a))return this.oa;this.oa=new Hnd(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 _.TVc(a,b,c);return _.$h(this.H.then(function(e){return e.Te(d)}).Gg(function(e){return _.cM(e)}))};_.g.Ova=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new Nnd(a,this.context,function(c){return mod(b,c)});return this.ha};var mod=function(a,b){return _.$h(a.H.then(function(c){return c.Te(b)}).Gg(function(c){return _.cM(c)}))};
_.g=g3c.prototype;_.g.pGa=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.w8=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}))};_.g.JFa=function(a,b){var c=this;if(this.ka&&_.ak(this.ka.wd(),a))return Vnd(this.ka),this.ka;this.ka=new Snd(a.clone(),this.context,this.OKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.OKb=function(a){var b=this;return this.H.then(function(c){return c.Te(a)}).then(function(c){return _.IL(b.context.Oc)?nbd(b.context.uf.xq,_.Uj(c.qd(),_.Fk,2),a.wd().getId()).then(function(){return c}):c},_.cM)};_.g.haa=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Te(a)}).then(function(c){return _.IL(b.context.Oc)?nbd(b.context.uf.xq,[_.C(c,_.Fk,2)],a.Cc()).then(function(){return c}):c},_.cM))};
_.g.x8=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.owa=function(a){return this.V.Uwa(a.clone())};_.g.R7=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.cM)};_.g.fP=function(a){return this.H.then(function(b){return b.Te(a)}).then(function(b){var c=new _.yn;xbd(a,b).then(function(d){return c.resolve(d)});return new cod(c.promise)},function(b){return void _.cM(b)})};_.g.aGa=function(a){var b=this;return new And(this.context,a,function(c){return b.H.then(function(d){return d.Te(c)}).Gg(function(d){return _.cM(d)})})};
_.g.ioa=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.cM)};_.g.xd=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.XN=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.cM)};_.g.pz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.eM?c.push(String(f.Cc())):c.push(String(f.getId()));d.push(b.xd(f))});a=new _.po(d);var e=new _.Vh;a.addCallback(this.anb.bind(this,e,c));return e};
_.g.Wwa=function(){return new Ymd(this.context.Oc,this.context.MA,this.context.aR().Hfa,this.context.Rm(),this.context.gQ,this.context.Sf(),this.context.Sk())};_.g.Iq=function(a,b){var c=this,d=_.Mg();this.W.create(d,a);3===a.getType()?a=EP.prototype.Iq.call(this,a).addCallback(function(e){return new _.zN(e,1,!1)}):(cP(this.O,"Qubz4b"),a=this.Ja.enqueue(new Qmd(a,b)));return a.addCallback(function(e){S$c(c.W,d,e);return e.response}).Hg(function(){WO(c.W,d)})};
_.g.ur=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.jaa=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.v8=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.jT=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};
_.g.uN=function(a,b){var c=this;cP(this.O,"iuEtc");var d=_.Mg();this.W.create(d,a);return this.Ha.enqueue(new Jmd(a,b)).addCallback(function(e){S$c(c.W,d,e);return e.response}).Hg(function(){WO(c.W,d)})};
_.g.VG=function(a,b){var c=this,d=_.Md(this.context.Oc.$f(),30);if(!d||0===d.length)return _.ai(new _.lc("getUserPrefs requires a namespace.",_.aM(3)));0===_.Md(a,3).length&&I2c(a,d);var e=_.Mg();this.W.create(e,a);cP(this.O,"OZvrNc");return this.Oa.enqueue(new Vmd(a,b)).addCallback(function(f){S$c(c.W,e,f);return f.response}).Hg(function(){WO(c.W,e)})};_.g.YR=function(a){bod(_.Md(this.context.Oc.$f(),30),a);return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};
_.g.iu=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Te(a)}).then(function(c){return _.IL(b.context.Oc)?mbd(b.context.uf.xq,c):c},_.cM))};_.g.XKa=function(a){return this.V.kxa(a.clone())};_.g.Yqa=function(a){return this.V.jxa(a.clone())};_.g.lJa=function(a){var b=this;return new Bnd(this.context,a,function(c){return b.H.then(function(d){return d.Te(c)}).Gg(function(d){return _.cM(d)})})};_.g.mJa=function(a){return this.V.dxa(a.clone())};
_.g.N_=function(a){Bhd(this.context.uf,[a])};_.g.u0=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.cM)};_.g.So=function(a){if(1!==_.hN(this.context.Oc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Lg"));if(!c.tk()&&!c.getItem())return Promise.reject(Error("Mg"))}this.context.uf.So(a);lid(this.context.uf);return Promise.resolve()};_.g.IBa=function(){return this.context.aR().fK()};
_.g.Py=function(a){var b=this;return this.context.Py(a).then(function(c){return c?(b.context.Jj().Py(a),b.context.Ts.lL()):_.Ph(!a)})};_.g.pY=function(a){Zld(this.context).pY(a);this.Py(!!a)};_.g.jF=function(){IP(this.context).addCallback(function(a){a&&a.zoa()});this.context.nha.jF()};_.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];lid(this.context.uf);a.callback(d)};
_.g.sync=function(){var a=this;return _.Sh([this.context.faa.promise,this.context.Jfa.promise]).then(function(){return a.context.Ts.lL()}).then()};_.g.Hu=function(){IP(this.context).addCallback(function(a){a&&a.dispose()});return EP.prototype.Hu.call(this)};_.g.Cba=function(){return this.kb.promise};
var nod=function(){var a='<div class="'+_.F("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.F("la-Y-A")+" "+_.F("kc-A")+'" data-target="reload">');return(0,_.G)(a+"Reload</button>")};
_.vn({id:_.am,callback:function(a){var b=_.q1c(a),c=j3c(a),d=_.C(a.get(_.Uc),_.Sb,10);_.tXc(d,b);_.Kj(d,28,c);b=h3c(a,d);a.registerService(_.bm,b.H9());_.Ke(b,"VbxEwf",function(){var e={};_.uc(_.Kt.getService(a),new _.jq(new _.iq(nod,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

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


_.w();

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