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

_.B();
}catch(e){_._DumpException(e)}
try{
_.A("QQxAWb");

_.B();
}catch(e){_._DumpException(e)}
try{
_.A("UKPGje");

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

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

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

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

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

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

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

_.B();
}catch(e){_._DumpException(e)}
try{
var DAd=function(a){this.H=_.ri(_.cr(_.Fg(a)),8,0)};DAd.prototype.yj=function(a){this.H===5&&(a=_.Fpb(new _.JA(a),_.hcb),a=Array.from(a.values()));return a};_.MA({id:_.Jm,ctor:DAd});
}catch(e){_._DumpException(e)}
try{
_.A("JMlBJd");
_.IN=function(a,b){a.each(function(c){_.B8a(c,b)})};
_.B();
}catch(e){_._DumpException(e)}
try{
_.A("h8Xfyd");

_.B();
}catch(e){_._DumpException(e)}
try{
_.EAd=[259,258,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];_.FAd=_.za(_.EAd,[90,59,75]);
}catch(e){_._DumpException(e)}
try{

_.EAd.push(279);_.EAd.push(279);_.FAd.push(279);
}catch(e){_._DumpException(e)}
try{
_.A("em1c");


_.B();
}catch(e){_._DumpException(e)}
try{
_.oF=function(a){this.Ca=_.p(a)};_.P(_.oF,_.w);_.oF.prototype.getKey=function(){return _.K(this,_.$g,1)};_.oF.prototype.Gx=function(){return _.oj(this,_.$g,1)};_.pF=function(a){this.Ca=_.p(a)};_.P(_.pF,_.w);_.pF.prototype.mX=function(){return _.K(this,_.Vp,1)};
}catch(e){_._DumpException(e)}
try{
_.Pac=function(a,b){return _.Tg(a,11,b)};_.Qac=function(a,b){return _.Tg(a,13,b)};_.Rac=function(a,b){return _.I(a,25,b)};_.Sac=function(a,b){return _.Tg(a,70,b)};_.Tac=function(a,b){return _.I(a,71,b)};_.YF=function(a,b,c,d){this.ma=a;this.W=b;this.H=this.V=a;this.ua=c||0;this.Ba=d||2};_.YF.prototype.O=0;_.YF.prototype.reset=function(){this.H=this.V=this.ma;this.O=0};_.YF.prototype.ob=function(){return this.V};
_.ZF=function(a){a.H=Math.min(a.W,a.H*a.Ba);a.V=Math.min(a.W,a.H+(a.ua?Math.round(a.ua*(Math.random()-.5)*2*a.H):0));a.O++};
}catch(e){_._DumpException(e)}
try{
var V$b,X$b;
V$b=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=m=0}function b(r){for(var t=g,u=0;u<64;u+=4)t[u/4]=r[u]<<24|r[u+1]<<16|r[u+2]<<8|r[u+3];for(u=16;u<80;u++)r=t[u-3]^t[u-8]^t[u-14]^t[u-16],t[u]=(r<<1|r>>>31)&4294967295;r=e[0];var v=e[1],x=e[2],y=e[3],C=e[4];for(u=0;u<80;u++){if(u<40)if(u<20){var F=y^v&(x^y);var G=1518500249}else F=v^x^y,G=1859775393;else u<60?(F=v&x|y&(v|x),G=2400959708):(F=v^x^y,G=3395469782);F=((r<<5|r>>>27)&4294967295)+
F+C+G+t[u]&4294967295;C=y;y=x;x=(v<<30|v>>>2)&4294967295;v=r;r=F}e[0]=e[0]+r&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+x&4294967295;e[3]=e[3]+y&4294967295;e[4]=e[4]+C&4294967295}function c(r,t){if(typeof r==="string"){r=unescape(encodeURIComponent(r));for(var u=[],v=0,x=r.length;v<x;++v)u.push(r.charCodeAt(v));r=u}t||(t=r.length);u=0;if(m==0)for(;u+64<t;)b(r.slice(u,u+64)),u+=64,q+=64;for(;u<t;)if(f[m++]=r[u++],q++,m==64)for(m=0,b(f);u+64<t;)b(r.slice(u,u+64)),u+=64,q+=64}function d(){var r=[],
t=q*8;m<56?c(k,56-m):c(k,64-(m-56));for(var u=63;u>=56;u--)f[u]=t&255,t>>>=8;b(f);for(u=t=0;u<5;u++)for(var v=24;v>=0;v-=8)r[t++]=e[u]>>v&255;return r}for(var e=[],f=[],g=[],k=[128],l=1;l<64;++l)k[l]=0;var m,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),t="",u=0;u<r.length;u++)t+="0123456789ABCDEF".charAt(Math.floor(r[u]/16))+"0123456789ABCDEF".charAt(r[u]%16);return t}}};_.W$b=function(a,b){a=_.wj(a,b);return a==null?void 0:a};
X$b=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("te`"+a);if(c!=="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")throw Error("ue`"+c);a="";var d=b.indexOf(":");if(d!=-1){var e=b.substring(d+1);b=b.substring(0,d);if(c==="http"&&e!=="80"||c==="https"&&e!=="443")a=":"+e}return c+"://"+b+a};var Z$b=function(a,b,c){var d=String(_.ca.location.href);return d&&a&&b?[b,Y$b(X$b(d),a,c||null)].join(" "):null},Y$b=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],_.Na(d,function(k){e.push(k)}),$$b(e.join(" "));var f=[],g=[];_.Na(c,function(k){g.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];_.Na(d,function(k){e.push(k)});a=$$b(e.join(" "));a=[c,a];g.length==0||a.push(g.join(""));return a.join("_")},$$b=function(a){var b=
V$b();b.update(a);return b.digestString().toLowerCase()};var aac={};var bac,dac;bac=function(a){return!!aac.FPA_SAMESITE_PHASE2_MOD||!(a===void 0||!a)};_.cac=function(a){a=a===void 0?!1:a;var b=_.ca.__SAPISID||_.ca.__APISID||_.ca.__3PSAPISID||_.ca.__OVERRIDE_SID;bac(a)&&(b=b||_.ca.__1PSAPISID);if(b)return!0;if(typeof document!=="undefined"){var c=new _.OOb(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID");bac(a)&&(b=b||c.get("__Secure-1PAPISID"))}return!!b};
dac=function(a,b,c,d){(a=_.ca[a])||typeof document==="undefined"||(a=(new _.OOb(document)).get(b));return a?Z$b(a,c,d):null};
_.eac=function(a,b){b=b===void 0?!1:b;var c=X$b(String(_.ca.location.href)),d=[];if(_.cac(b)){c=c.indexOf("https:")==0||c.indexOf("chrome-extension:")==0||c.indexOf("chrome-untrusted://new-tab-page")==0||c.indexOf("moz-extension:")==0;var e=c?_.ca.__SAPISID:_.ca.__APISID;e||typeof document==="undefined"||(e=new _.OOb(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Z$b(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&bac(b)&&((b=dac("__1PSAPISID","__Secure-1PAPISID",
"SAPISID1PHASH",a))&&d.push(b),(a=dac("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&d.push(a))}return d.length==0?null:d.join(" ")};
}catch(e){_._DumpException(e)}
try{
var $ac,abc,bbc,gbc,hbc,nbc,mbc,rbc,vbc,xbc,ybc,Hbc;_.Uac=function(a){if(a==null)return a;if(_.Qba(a)){if(typeof a==="string")return _.cca(a);if(typeof a==="number")return _.aca(a)}};
$ac=function(a,b){b=b===void 0?Vac:b;if(!Wac){var c;a=(c=a.navigator)==null?void 0:c.userAgentData;if(!a||typeof a.getHighEntropyValues!=="function"||a.brands&&typeof a.brands.map!=="function")return Promise.reject(Error("De"));c=(a.brands||[]).map(function(e){var f=new Xac;f=_.L(f,1,e.brand);return _.L(f,2,e.version)});Yac(_.J(Zac,2,a.mobile),c);Wac=a.getHighEntropyValues(b)}var d=new Set(b);return Wac.then(function(e){var f=Zac.clone();d.has("platform")&&_.L(f,3,e.platform);d.has("platformVersion")&&
_.L(f,4,e.platformVersion);d.has("architecture")&&_.L(f,5,e.architecture);d.has("model")&&f.Ps(e.model);d.has("uaFullVersion")&&_.L(f,7,e.uaFullVersion);return f}).catch(function(){return Zac.clone()})};abc=function(a,b){this.lo=a>>>0;this.hi=b>>>0};_.cbc=function(a){if(!a)return bbc||(bbc=new abc(0,0));if(!/^\d+$/.test(a))return null;_.Kba(a);return new abc(_.ab,_.bb)};
_.dbc=_.gfa(_.yfa,function(a,b,c){b=_.xea(_.Sba,b,!0);if(b!=null)for(var d=0;d<b.length;d++){var e=a,f=c,g=b[d];g!=null&&(_.Lb(e,f,0),_.lfa(e.H,g))}});_.ebc=_.Ib(function(a,b,c){if(a.O!==1)return!1;var d=a.H;a=_.Pra(d);d=_.Pra(d);_.Jb(b,c,_.Iba(a,d));return!0},function(a,b,c){b=_.Uac(b);b!=null&&(typeof b==="string"&&_.cbc(b),_.Lb(a,c,1),typeof b==="number"?(a=a.H,_.Cba(b),_.csa(a,_.ab),_.csa(a,_.bb)):(c=_.cbc(b),a=a.H,b=c.hi,_.csa(a,c.lo),_.csa(a,b)))});
_.fbc=_.Ib(function(a,b,c){if(a.O!==5)return!1;_.Jb(b,c,_.Pra(a.H));return!0},function(a,b,c){b=_.Uba(b);b!=null&&(_.Lb(a,c,5),_.csa(a.H,b))});gbc=[0,_.Mk,_.fbc,-1];hbc=[0,gbc,_.Mk];_.ibc=function(a){this.Ca=_.p(a)};_.P(_.ibc,_.w);_.jbc=[0,_.Nk,-1,2,_.Nk,-4,_.Pk,_.Nk,_.ebc,hbc,_.Nk,[0,_.dbc,_.Nk]];_.kbc=function(a,b){return b?a.Saa.has(a.jta(b)):a.Saa.size!=0};_.lbc=function(a,b){for(var c=0;c<a.ma.length;++c)a.ma[c](b)};nbc=function(a){var b=mbc++;a.O=b};
_.$F=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 _.zx(c,e,d-c,a-e)}return null};_.obc=function(){this.Ba=this.ua=this.V=this.W=this.O=void 0;this.H=[];this.ma=void 0};_.pbc=function(a){this.H=a};mbc=0;_.qbc=function(a,b){this.H=a;this.cNa=b===void 0?!1:b};_.sbc=function(a,b){return rbc(a,b).filter(function(c){return _.aG(this.H,c)!=null},a)};
_.tbc=function(a,b){var c=a.H;a=[];for(var d=void 0,e={},f=0;f<b.length;e={N2:void 0},++f){var g=_.aG(c,b[f]);g.O==void 0&&g.V==void 0&&(e.N2=void 0,_.xka(b[f],function(k){return function(l){l=_.aG(c,l);return l!=null?(k.N2=l,!0):!1}}(e),!1),e.N2?d&&d.has(e.N2)||(d=new Map,a.unshift(d),d.set(e.N2,[]),mbc=1):(d=new Map,a.unshift(d),mbc=0),nbc(g),g.Xg(e.N2),d.set(g,[]),e.N2&&d.get(e.N2).push(g.O))}return a};_.ubc=function(a,b){var c=a.H;return b.map(function(d){return _.aG(c,d)})};
rbc=function(a,b){if(a.cNa){var c=[];a=[];for(c.push.apply(c,b.querySelectorAll("*"));c.length>0;){var d=c.shift();d.getAttribute("jslog")&&a.push(d);d.shadowRoot&&c.unshift.apply(c,d.shadowRoot.querySelectorAll("*"))}}else a=[].slice.call(b.querySelectorAll("[jslog]"));a.unshift(b);return a};vbc=_.Vb(_.ibc,_.jbc);_.wbc=function(a,b){this.O=a;this.H=b||!1;this.V=void 0};
_.aG=function(a,b){var c=b.LSWHIf||null;if(c&&(c.H.V||a.V)&&c.H.V!=a.V)return null;var d;!(d=c&&c.H.S1&&!c.H.S1())&&(d=c&&c.H.S1&&c.H.S1())&&(d=b.getAttribute("jslog"),d=!(!d||_.Xi(d)||d!=c.H.getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=xbc(a,d);if(!d||(d.V||a.V)&&d.V!=a.V)return null;a=new _.Dnb(b,d);c&&c.H.Ba&&c.ma&&(a.ma=!0);if(c=a.Ea().getAttribute("data-ved")){a.V=c;if(!c||c.charAt(0)!="0"&&c.charAt(0)!="2")var e=null;else{c=c.substring(1);try{var f=vbc(c);e=_.K(f,
_.Zw,13)}catch(g){e=null}}e&&(a.Hy=e,a.W=e)}return b.LSWHIf=a};
xbc=function(a,b){if(_.Xi(b))return null;var c=b.split(";"),d=Number(c[0].trim());if(isNaN(d))return null;d=a.O.AVa(d);for(var e=1;e<c.length;e++){var f=c[e].trim();if(!_.Xi(f)){var g=_.Mta(f,":",1);if(g.length<2)return null;f=g[0].trim();g=g[1].trim();if(_.Xi(f)||_.Xi(g))return null;switch(f){case ybc(a,"track"):f=g.split(",");for(g=0;g<f.length;++g){var k=d,l=f[g].trim();if(a.H){if(!k.QNa)throw Error("Dc");if(!_.znb.has(l))throw Error("Ec`"+l);k.Saa.add(l)}else k.Saa.add(k.jta(l))}break;case ybc(a,
"index"):d.H=Number(g);break;case ybc(a,"tc"):f=g.split(",");f=f.map(Number);f=f.filter(Number.isInteger);d.W=f;break;case "cid":d.V=g;break;case ybc(a,"mutable"):g=="true"?d.O=!0:g=="rci"&&(d.O=!0,d.Ba=!0);break;default:a.O.V5(d,f,g)}}}return d.setAttribute(b)};ybc=function(a,b){return a.H?_.Zka(b):b};_.zbc=function(a){this.Ca=_.p(a)};_.P(_.zbc,_.w);_.zbc.mb=[3];
_.kA=function(a,b,c,d,e,f,g){var k=d===void 0?{}:d;var l=k.lda===void 0?void 0:k.lda;d=k.Fob===void 0?!1:k.Fob;k=k.cNa===void 0?!1:k.cNa;_.Lg.call(this);var m=this;this.Ga=a;this.transport=c;this.Ta=this.O=this.Qb=this.hc=void 0;this.qb=[];this.hb=[];this.Pa=d;this.Da=b||a.W();this.ua=new _.wbc(this.Da,this.Pa);this.H={click:3};this.Fb={click:this.jta("generic_click")};this.Ab=new _.Jnb;this.Sb=_.hA(this).measure(l?function(){return l().then(m.Hb.bind(m))}:this.Hb).Si().build();this.lc=new _.jA(this.Sb,
500,this);this.Xa=g||new _.qbc(this.ua,k);"function"==typeof _.Abc&&this.Ga instanceof _.Abc&&(this.Rb=this.Ga);this.V=e;this.Ka=f};_.P(_.kA,_.Lg);_.h=_.kA.prototype;_.h.wjb=function(a,b){this.H[a]=b;this.Fb[a]=this.jta(a)};_.h.logClick=function(a){return this.cla("click",a)};_.h.cla=function(a,b){var c=this.H[a];if(!c)return!1;a=Bbc(this,a,b);if(!a)return!1;if(this.Rb)return _.Cbc(this,a,new _.pbc(c)),!0;b=Dbc(this,a.Ea());_.Ebc(this,c,a,b);return!0};
_.h.F$a=function(a,b){this.O=a;this.Ta=b||this.O.Hc().body;a=this.O.Hc();a.readyState!=="interactive"&&a.readyState!=="complete"||this.pJ();this.le(a,"load",this.pJ,!1);this.le(a,"DOMContentLoaded",this.pJ,!1);this.listen(this.Ab,"visibilitychange",this.pJ,!1);this.listen(a,"scroll",this.pJ,!0);this.listen(a,"resize",this.pJ,!0)};_.h.pJ=function(){this.O&&this.lc.qe()};
_.Ebc=function(a,b,c,d){var e=Fbc(d),f=a.yf(c);var g=new _.zbc;g=_.I(g,4,b);var k=c.H.getID();g=_.Ug(g,1,k);e=_.xk(g,3,e);f!=null&&_.Ug(e,2,f);f=new _.obc;f.O=a.getMetadata(c,d);f.W=a.Qb;f.V=a.hc;c=a.Ga.H(e,f);a.transport&&a.transport.Ik(c);if(b!=null)for(b=new _.pbc(b),c=0;c<a.qb.length;c++)a.qb[c](b)};_.kA.prototype.log=function(a){this.transport&&this.transport.Ik(a)};var Gbc=function(a){for(var b=0;b<a.hb.length;b++)a.hb[b]()};_.kA.prototype.yf=function(a){return a.H.yf()};var Fbc=function(a){return a.map(function(b){return b.H.getID()})};
_.kA.prototype.getMetadata=function(a,b){var c=this.Ga.V();if(c){_.lbc(a.H,c);for(a=0;a<b.length;++a)_.lbc(b[a].H,c);return c}};
var Bbc=function(a,b,c){var d,e=a.ua,f=a.Fb[b];_.xka(c,function(g){if(!_.tf(g))return!1;g=_.aG(e,g);var k;if(k=g!=null)if(k=g.H,a.Pa){if(!k.QNa)throw Error("Dc");if(!_.znb.has(f))throw Error("Ec`"+f);k=k.Saa.has(f)}else k=_.kbc(k,f);return k?(d=g,!0):!1},!0);return d},Dbc=function(a,b){var c=[],d=a.ua;_.xka(b,function(e){if(!_.tf(e))return!1;e=_.aG(d,e);e!=null&&c.push(e);return!1},!1);return c};
_.kA.prototype.Hb=function(){if(!this.Ab.hJ()&&this.Ta){var a=!(!window.performance||!window.performance.clearMarks);a&&(window.performance.clearMeasures("ZVwBtb"),window.performance.clearMarks("KtiTlc"),window.performance.mark("KtiTlc"));var b=_.sbc(this.Xa,this.Ta);if(this.Rb){var c=this.Ka?this.O.Fo(this.Ka()):this.O.Fo();c=new _.zx(0,0,c.width,c.height);var d=_.tbc(this.Xa,b);if(d.length){d=this.Rb.ua(d,c);for(var e=0;e<d.length;++e)this.Da.VR(d[e]),_.L(d[e],28,this.V),this.transport&&this.transport.Ik(d[e])}b=
_.ubc(this.Xa,b);b=this.Rb.Ga(b,c);if(b.length)for(c=0;c<b.length;++c)this.Da.VR(b[c]),this.V&&_.L(b[c],28,this.V),this.transport&&this.transport.Ik(b[c]);Gbc(this)}else{c=[];d=this.Ka?this.O.Fo(this.Ka()):this.O.Fo();d=new _.zx(0,0,d.width,d.height);for(e=0;e<b.length;e++){var f=b[e];if(f.hasAttribute("ve-visible"))var g=f.getAttribute("ve-visible")==="true";else g=f.getBoundingClientRect(),g=(g=_.$F(d,new _.zx(g.left,g.top,g.width,g.height)))&&g.width>=10&&g.height>=10?!0:!1;g&&(f=_.aG(this.ua,
f))&&_.kbc(f.H,"impression")&&c.push(f)}for(b=0;b<c.length;b++)d=c[b],d.ma||(e=Dbc(this,d.Ea()),_.Ebc(this,void 0,d,e),Gbc(this),d.ma=!0)}a&&window.performance.measure("ZVwBtb","KtiTlc")}};_.kA.prototype.jta=function(a){return this.Pa?_.Xka(a):a};_.kA.prototype.Ia=function(a){if(this.Rb){a=this.Rb.Da(a);for(var b=0;b<a.length;++b)this.Da.VR(a[b]),this.V&&_.L(a[b],28,this.V),this.transport&&this.transport.Ik(a[b])}};
_.Cbc=function(a,b,c){b=a.Rb.Ba(b,c);for(c=0;c<b.length;++c)a.Da.VR(b[c]),a.V&&_.L(b[c],28,a.V),a.transport&&a.transport.Ik(b[c])};Hbc=function(a){this.Ca=_.p(a)};_.P(Hbc,_.w);Hbc.mb=[2];var Ibc=function(a,b){this.intervalMs=a;this.callback=b;this.enabled=!1;this.H=function(){return _.Qg()};this.O=this.H()};Ibc.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};Ibc.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.O=this.H())};Ibc.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};
Ibc.prototype.tick=function(){var a=this;if(this.enabled){var b=Math.max(this.H()-this.O,0);b<this.intervalMs*.8?this.timer=setTimeout(function(){a.tick()},this.intervalMs-b):(this.timer&&(clearTimeout(this.timer),this.timer=void 0),this.callback(),this.enabled&&(this.stop(),this.start()))}else this.timer=void 0};var Jbc=function(a){this.Ca=_.p(a)};_.P(Jbc,_.w);var Kbc=function(a){this.Ca=_.p(a)};_.P(Kbc,_.w);var Lbc=function(a){this.Ca=_.p(a)};_.P(Lbc,_.w);Lbc.prototype.G_a=function(){return _.ri(this,1,0)};var Xac=function(a){this.Ca=_.p(a)};_.P(Xac,_.w);Xac.prototype.Dk=function(){return _.z(this,2)};var Mbc=function(a){this.Ca=_.p(a)};_.P(Mbc,_.w);var Yac=function(a,b){_.Mj(a,1,b)};Mbc.prototype.kf=function(){return _.z(this,6)};Mbc.prototype.Ps=function(a){return _.L(this,6,a)};Mbc.mb=[1];var Nbc=function(a){this.Ca=_.p(a)};_.P(Nbc,_.w);var Vac=["platform","platformVersion","architecture","model","uaFullVersion"],Zac=new Mbc,Wac=null;var Obc=function(a){this.Ca=_.p(a)};_.P(Obc,_.w);var Pbc=function(a){this.Ca=_.p(a)};_.P(Pbc,_.w);_.h=Pbc.prototype;_.h.getKey=function(){return _.z(this,1)};_.h.Gx=function(){return _.Hk(this,1)};_.h.ob=function(){return _.z(this,2)};_.h.Lb=function(a){return _.L(this,2,a)};_.h.zh=function(){return _.Hk(this,2)};var Qbc=function(a){this.Ca=_.p(a,4)};_.P(Qbc,_.w);_.bG=function(a){this.Ca=_.p(a,35)};_.P(_.bG,_.w);_.bG.prototype.O=function(){return _.Sj(this,11)};_.bG.prototype.Ug=function(){return _.z(this,26)};_.bG.prototype.Lb=function(a,b){return _.uj(this,3,Pbc,a,b)};_.cG=function(a,b){return _.L(a,8,b)};_.bG.mb=[3,20,27];var Rbc=function(a){this.Ca=_.p(a,19)};_.P(Rbc,_.w);Rbc.prototype.YQ=function(a){return _.I(this,2,a)};Rbc.mb=[3,5];var Sbc=function(a){this.Ca=_.p(a,8)};_.P(Sbc,_.w);var Tbc=_.cc(Sbc);Sbc.mb=[5,6,7];var Ubc=function(a){this.Ca=_.p(a)};_.P(Ubc,_.w);var Vbc=_.Pb(175237375,Ubc);var $bc=function(a){_.ui.call(this);var b=this;this.Lw="";this.H=[];this.Hb="";this.Ka=this.Ga=this.ua=!1;this.Qb=this.qb=-1;this.Fb=!1;this.experimentIds=null;this.Xa=this.hb=this.Ba=this.W=0;this.Sb=1;this.timeoutMillis=0;this.VX=a.VX;this.s7=a.s7||function(){};this.V=new Wbc(a.VX,a.W1);this.network=a.network;this.rL=a.rL||null;this.Da=a.AOc||null;this.sessionIndex=a.sessionIndex||null;this.Pna=a.Pna||!1;this.logger=null;this.withCredentials=!a.enb;this.W1=a.W1||!1;this.Ta=!this.W1&&!!_.Tl()&&!!_.Tl().navigator&&
_.Tl().navigator.sendBeacon!==void 0;this.Pa=typeof URLSearchParams!=="undefined"&&!!(new URL(Xbc())).searchParams&&!!(new URL(Xbc())).searchParams.set;var c=_.I(new Obc,1,1);Ybc(this.V,c);this.ma=new _.YF(1E4,3E5,.1);a=Zbc(this,a.lda);this.O=new Ibc(this.ma.ob(),a);this.Ab=new Ibc(6E5,a);this.Pna||this.Ab.start();this.W1||(document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&b.Ia()}),document.addEventListener("pagehide",this.Ia.bind(this)))},ccc,Ybc,dcc,ecc,
jcc,lcc,kcc;_.P($bc,_.ui);var Zbc=function(a,b){return a.Pa?b?function(){b().then(function(){a.flush()})}:function(){a.flush()}:function(){}};$bc.prototype.wb=function(){this.Ia();this.O.stop();this.Ab.stop();_.ui.prototype.wb.call(this)};var acc=function(a){a.Da||(a.Da=Xbc());try{return(new URL(a.Da)).toString()}catch(b){return(new URL(a.Da,_.Tl().location.origin)).toString()}};$bc.prototype.Ik=function(a){this.Pa&&(a instanceof _.bG?this.log(a):(a=_.cG(new _.bG,a.Fc()),this.log(a)))};
_.bcc=function(a,b){b?(a.experimentIds||(a.experimentIds=new Hbc),a=a.experimentIds,b=b.Fc(),_.L(a,4,b)):a.experimentIds&&_.nj(a.experimentIds,4)};ccc=function(a,b){a.ma=new _.YF(b<1?1:b,3E5,.1);a.O.setInterval(a.ma.ob())};
$bc.prototype.log=function(a){if(this.Pa){a=a.clone();var b=this.Sb++;a=_.Tg(a,21,b);this.Lw&&_.L(a,26,this.Lw);if(_.Oj(a,1)==null){var c=Date.now();b=a;c=Number.isFinite(c)?c.toString():"0";_.nj(b,1,_.gb(c))}_.Gk(a,15)||_.Tg(a,15,(new Date).getTimezoneOffset()*60);this.experimentIds&&(b=a,c=this.experimentIds.clone(),_.Q(b,Hbc,16,c));b=this.H.length-1E3+1;b>0&&(this.H.splice(0,b),this.W+=b);this.H.push(a);this.Pna||this.O.enabled||this.O.start()}};
$bc.prototype.flush=function(a,b){var c=this;if(this.H.length===0)a&&a();else{var d=Date.now();if(this.Qb>d&&this.qb<d)b&&b("throttled");else{this.network&&(typeof this.network.G_a==="function"?dcc(this.V,this.network.G_a()):dcc(this.V,0));var e=this.V.build(this.H,this.W,this.Ba,this.rL,this.hb,this.Xa);d={};var f=this.s7();f&&(d.Authorization=f);var g=new URL(acc(this));this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,g.searchParams.set("authuser",this.sessionIndex));if(f&&this.Hb===f)b&&
b("stale-auth-token");else if(this.H=[],this.O.enabled&&this.O.stop(),this.W=0,this.ua)a&&a();else{var k=e.Fc();d={url:g.toString(),body:k,bod:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis};g=function(l){c.ma.reset();c.O.setInterval(c.ma.ob());if(l){var m=null;try{var q=JSON.stringify(JSON.parse(l.replace(")]}'\n","")));m=Tbc(q)}catch(r){}m&&(l=Number(_.Vj(m,1,"-1")),l>0&&(c.qb=Date.now(),c.Qb=c.qb+l),m=_.Yra(m,Vbc))&&(m=_.Sj(m,1,-1),m!==
-1&&(c.Fb||ccc(c,m)))}a&&a();c.Ba=0};k=function(l,m){var q=_.Kj(e,_.bG,3,_.Ff());var r=_.Nj(e,14);_.ZF(c.ma);c.O.setInterval(c.ma.ob());l===401&&f&&(c.Hb=f);r&&(c.W+=r);m===void 0&&(m=c.fN(l));m&&(c.H=q.concat(c.H),c.Pna||c.O.enabled||c.O.start());b&&b("net-send-failed",l);++c.Ba};c.network&&c.network.send(d,g,k)}}}};$bc.prototype.Ia=function(){this.ua||(ecc(this.V,!0),this.Ga&&(dcc(this.V,3),fcc(this)),this.Ka&&(dcc(this.V,2),gcc(this)),this.flush(),ecc(this.V,!1))};
var fcc=function(a){hcc(a,32,10,function(b,c){b=new URL(b);b.searchParams.set("format","json");var d=!1;try{d=_.Tl().navigator.sendBeacon(b.toString(),c.Fc())}catch(e){}d||(a.Ta=!1);return d})},gcc=function(a){hcc(a,6,5,function(b,c){b=new URL(b);b.searchParams.set("format","base64json");b.searchParams.set("p",_.Ge(c.Fc(),3));c=b.toString();if(c.length>15360)return!1;(new Image).src=c;return!0})},hcc=function(a,b,c,d){if(a.H.length!==0){var e=new URL(acc(a));e.searchParams.delete("format");var f=
a.s7();f&&e.searchParams.set("auth",f);e.searchParams.set("authuser",a.sessionIndex||"0");for(f=0;f<c&&a.H.length;++f){var g=a.H.slice(0,b),k=a.V.build(g,a.W,a.Ba,a.rL,a.hb,a.Xa);if(!d(e.toString(),k)){++a.Ba;break}a.W=0;a.Ba=0;a.hb=0;a.Xa=0;a.H=a.H.slice(g.length)}a.O.enabled&&a.O.stop()}};$bc.prototype.fN=function(a){return 500<=a&&a<600||a===401||a===0};
var Xbc=function(){return"https://play.google.com/log?format=json&hasfast=true"},Wbc=function(a,b){this.W1=b=b===void 0?!1:b;this.O=this.locale=null;this.H=new Rbc;Number.isInteger(a)&&this.H.YQ(a);b||(this.locale=document.documentElement.getAttribute("lang"));Ybc(this,new Obc)};Wbc.prototype.YQ=function(a){this.H.YQ(a);return this};Ybc=function(a,b){_.Q(a.H,Obc,1,b);_.ri(b,1,0)||_.I(b,1,1);a.W1||(b=_.icc(a),_.z(b,5)||_.L(b,5,a.locale));a.O&&(b=_.icc(a),_.K(b,Mbc,9)||_.Q(b,Mbc,9,a.O))};
dcc=function(a,b){_.oj(jcc(a),Nbc,11)&&(a=kcc(a),_.I(a,1,b))};ecc=function(a,b){_.oj(jcc(a),Nbc,11)&&(a=kcc(a),_.J(a,2,b))};jcc=function(a){return _.K(a.H,Obc,1)};lcc=function(a){var b=b===void 0?Vac:b;var c=a.W1?void 0:_.Tl();c?$ac(c,b).then(function(d){a.O=d;d=_.icc(a);_.Q(d,Mbc,9,a.O);return!0}).catch(function(){return!1}):Promise.resolve(!1)};_.icc=function(a){a=jcc(a);var b=_.K(a,Nbc,11);b||(b=new Nbc,_.Q(a,Nbc,11,b));return b};
kcc=function(a){a=_.icc(a);var b=_.K(a,Lbc,10);b||(b=new Lbc,_.J(b,2,!1),_.Q(a,Lbc,10,b));return b};
Wbc.prototype.build=function(a,b,c,d,e,f){b=b===void 0?0:b;e=e===void 0?0:e;f=f===void 0?0:f;c=c===void 0?0:c;if(_.oj(jcc(this),Nbc,11)){var g=kcc(this);_.Ug(g,3,c)}_.oj(jcc(this),Nbc,11)&&(c=kcc(this),_.Ug(c,4,e));_.oj(jcc(this),Nbc,11)&&(e=kcc(this),_.Ug(e,5,f));f=this.H.clone();e=Date.now().toString();f=_.nj(f,4,_.gb(e));a=_.Mj(f,3,a.slice());d&&(f=new Jbc,d=_.Ug(f,13,d),f=new Kbc,d=_.Q(f,Jbc,2,d),f=new Qbc,d=_.Q(f,Kbc,1,d),d=_.I(d,2,9),_.Q(a,Qbc,18,d));b&&_.Tg(a,14,b);return a};var mcc=function(){this.n7b=typeof AbortController!=="undefined"};
mcc.prototype.send=function(a,b,c){var d=this,e,f,g,k,l,m,q,r,t,u;return _.Li(function(v){switch(v.H){case 1:return f=(e=d.n7b?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,_.Fi(v,2,3),g=Object.assign({},{method:a.requestType,headers:Object.assign({},a.requestHeaders)},a.body&&{body:a.body},a.withCredentials&&{credentials:"include"},{signal:a.timeoutMillis&&e?e.signal:null}),_.Di(v,fetch(a.url,g),5);case 5:k=v.O;if(k.status!==200){(l=c)==null||l(k.status);v.Rc(3);
break}if((m=b)==null){v.Rc(7);break}return _.Di(v,k.text(),8);case 8:m(v.O);case 7:case 3:_.Ji(v);clearTimeout(f);_.Ki(v,0);break;case 2:q=_.Ii(v);switch((r=q)==null?void 0:r.name){case "AbortError":(t=c)==null||t(408);break;default:(u=c)==null||u(400)}v.Rc(3)}})};mcc.prototype.G_a=function(){return 4};_.dG=function(a,b){_.ui.call(this);this.VX=a;this.sessionIndex=b;this.W="https://play.google.com/log?format=json&hasfast=true";this.ma=!0;this.buildLabel=null;this.V=!1;this.network=null;this.Lw="";this.O=this.H=this.rL=null};_.P(_.dG,_.ui);_.ncc=function(a,b){a.W=b;return a};_.dG.prototype.enb=function(){this.ua=!0;return this};
_.dG.prototype.build=function(){this.network||(this.network=new mcc);var a=new $bc({VX:this.VX,s7:this.s7?this.s7:_.eac,sessionIndex:this.sessionIndex,AOc:this.W,W1:this.V,Pna:!1,enb:this.ua,lda:this.lda,network:this.network});this.Sa(a);this.ma||(a.ua=!0);if(this.buildLabel){var b=this.buildLabel,c=_.icc(a.V);_.L(c,7,b)}this.Lw&&(a.Lw=this.Lw);this.rL&&(a.rL=this.rL);this.H&&_.bcc(a,this.H);this.O&&(b=this.O,a.Fb=!0,ccc(a,b));lcc(a.V);this.network.YQ&&this.network.YQ(this.VX);this.network.xIc&&this.network.xIc(a);
return a};
}catch(e){_._DumpException(e)}
try{
_.Mac=function(a){return a==null?a:_.dda(a)};
}catch(e){_._DumpException(e)}
try{
_.pcc=function(a){return function(b){var c=new _.dsa;_.Wea(b.Ca,c,_.Vea(a));return _.mba(_.gsa(c))}};_.qcc=function(a,b){b=new _.Jpa(new _.Fpa(b));_.Bpa&&a.prototype&&(0,_.Bpa)(b,a.prototype);return b};_.rcc=function(a){if(_.gra)return _.ca.atob(a);var b="";_.ira(a,function(c){b+=String.fromCharCode(c)});return b};
}catch(e){_._DumpException(e)}
try{
_.iH=function(a,b,c){_.ui.call(this);this.vs=c!=null?(0,_.Ri)(a,c):a;this.ua=b;this.um=(0,_.Ri)(this.GLb,this);this.O=!1;this.V=0;this.W=this.H=null;this.ma=[]};_.Ui(_.iH,_.ui);_.h=_.iH.prototype;_.h.qe=function(a){this.ma=arguments;this.O=!1;this.H?this.W=_.Qg()+this.ua:this.H=_.Am(this.um,this.ua)};_.h.stop=function(){this.H&&(_.Bm(this.H),this.H=null);this.W=null;this.O=!1;this.ma=[]};_.h.pause=function(){++this.V};
_.h.resume=function(){this.V&&(--this.V,!this.V&&this.O&&(this.O=!1,this.vs.apply(null,this.ma)))};_.h.wb=function(){this.stop();_.iH.Zb.wb.call(this)};_.h.GLb=function(){this.H&&(_.Bm(this.H),this.H=null);this.W?(this.H=_.Am(this.um,this.W-_.Qg()),this.W=null):this.V?this.O=!0:(this.O=!1,this.vs.apply(null,this.ma))};
}catch(e){_._DumpException(e)}
try{
_.Hyc=_.gfa(_.Afa,function(a,b,c){b=_.xea(_.Sba,b,!0);if(b!=null&&b.length){c=_.esa(a,c);for(var d=0;d<b.length;d++)_.lfa(a.H,b[d]);_.fsa(a,c)}});_.Iyc=[0,_.Qk,-1];_.Jyc=[0,3,_.Qk];
}catch(e){_._DumpException(e)}
try{
_.ZYc=function(a){a.ou===null&&(a.ou=_.YC(a,a.getItem().aFa));return a.ou};_.$Yc=function(a){a.yE===null&&(a.yE=_.NKb(a.Fp,a.getItem().Tza));return a.yE};_.aZc=function(a){a.approvalSummaries||(a.approvalSummaries=_.RKb(a.Fp,a.getItem().uYa));return a.approvalSummaries};
}catch(e){_._DumpException(e)}
try{
_.M_c=function(a){this.Ca=_.p(a)};_.P(_.M_c,_.w);_.h=_.M_c.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.Ot=function(){return _.E(this,2)};_.h.HT=function(){return _.Hk(this,2)};_.M_c.mb=[5,6,9,10,12,13,15,16];_.N_c=function(a){this.Ca=_.p(a)};_.P(_.N_c,_.w);_.N_c.prototype.iB=function(){return _.E(this,1)};_.N_c.mb=[2,4];
}catch(e){_._DumpException(e)}
try{
var V_c,W_c,X_c;_.P_c=function(a){this.Ca=_.p(a)};_.P(_.P_c,_.w);_.P_c.mb=[1];_.Q_c=function(a){var b=new _.P_c;return _.yk(b,1,a)};_.R_c=function(a){this.Ca=_.p(a)};_.P(_.R_c,_.w);_.R_c.prototype.getStatus=function(){return _.Ae(this,2)};_.R_c.prototype.Tb=function(a){return _.I(this,2,a)};_.R_c.prototype.qf=function(){return _.nk(this,2)};_.S_c=function(a){this.Ca=_.p(a)};_.P(_.S_c,_.w);_.S_c.mb=[1];_.T_c=function(a){this.Ca=_.p(a)};_.P(_.T_c,_.w);_.T_c.mb=[1];
_.U_c=function(a){var b=new _.T_c;return _.Mj(b,1,a)};V_c=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/;W_c=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/;_.Y_c=function(a){this.H=[];this.O=_.au;if(typeof a=="number"){a>11&&(a=10);if(a<4)var b=this.O.C4[a];else a<8?b=this.O.w_[a-4]:(b=this.O.cka[a-8],b=b.replace("{1}",this.O.C4[a-8]),b=b.replace("{0}",this.O.w_[a-8]));X_c(this,b)}else X_c(this,a)};
X_c=function(a,b){for(var c=!1,d="",e=0;e<b.length;e++){var f=b.charAt(e);if(V_c.test(f))for(d.length>0&&(a.H.push({text:d,count:0,N5:!1,numeric:!1}),d=""),a.H.push({text:" ",count:0,N5:!1,numeric:!1});e<b.length-1&&b.charAt(e+1)==" ";)e++;else if(c)f=="'"?e+1<b.length&&b.charAt(e+1)=="'"?(d+="'",e++):c=!1:d+=f;else if("GyMdkHmsSEDabBhKzZvQL".indexOf(f)>=0){d.length>0&&(a.H.push({text:d,count:0,N5:!1,numeric:!1}),d="");for(var g=b.charAt(e),k=e+1;k<b.length&&b.charAt(k)==g;)k++;g=k-e;g<=0?k=!1:(k=
"MydhHmsSDkK".indexOf(f),k=k>0||k==0&&g<3);a.H.push({text:f,count:g,N5:!1,numeric:k});e+=g-1}else f=="'"?e+1<b.length&&b.charAt(e+1)=="'"?(d+="'",e++):c=!0:d+=f}d.length>0&&a.H.push({text:d,count:0,N5:!1,numeric:!1});b=!1;for(c=0;c<a.H.length;c++)a.H[c].numeric?!b&&c+1<a.H.length&&a.H[c+1].numeric&&(b=!0,a.H[c].N5=!0):b=!1};
_.Y_c.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.zud||!1,e=c.validate||!1);if(d)for(c=0;c<this.H.length;c++){var f=this.H[c];if(f.count>0&&("abBhHkKm".indexOf(f.text.charAt(0))<0||f.count>2||f.N5))throw Error("Uf`"+f.text.charAt(0));}f=new Z_c;c=[0];f.ua=-1;for(var g=0;g<this.H.length&&!(d&&c[0]>=a.length);g++){if(this.H[g].count==0){a:{var k=a;var l=c,m=this.H[g],q=d;if(m.text.match(V_c)!=null){if(m=l[0],$_c(k,l),l[0]>m){k=!0;break a}}else{if(k.indexOf(m.text,l[0])==l[0]){l[0]+=m.text.length;
k=!0;break a}if(q&&m.text.indexOf(k.substring(l[0]))==0){l[0]+=k.length-l[0];k=!0;break a}}k=!1}if(k)continue;return 0}if(this.H[g].N5){a:{l=a;m=c;q=g;var r=m[0],t=0;for(k=q;k<this.H.length;k++){var u=this.H[k],v=u.count;if(v===0)break;if(k==q&&(v-=t,t++,v==0)){k=0;break a}var x=k>q&&u.numeric,y=m[0];if(!a0c(this,l,m,u,v,f,!1)||x&&m[0]-y<v)k=q-1,m[0]=r}k-=q}if(k<=0)return 0;g+=k-1}else if(!a0c(this,a,c,this.H[g],0,f,d))return 0}a:{a=e;if(b==null)throw Error("Vf");f.era!=void 0&&f.year!=void 0&&f.era==
0&&f.year>0&&(f.year=-(f.year-1));f.year!=void 0&&b.setFullYear(f.year);d=b.getDate();b.setDate(1);f.month!=void 0&&b.setMonth(f.month);f.day!=void 0?b.setDate(f.day):(e=_.wQa(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));typeof b.setHours==="function"&&(f.hours==void 0&&(f.hours=b.getHours()),f.hours<12&&(f.ma!=void 0&&f.ma>0?f.hours+=12:f.O!==void 0&&("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.O)||["night1","night2"].includes(f.O)&&f.hours>=6)&&(f.hours+=12)),
b.setHours(f.hours));typeof b.setMinutes==="function"&&f.minutes!=void 0&&b.setMinutes(f.minutes);typeof b.setSeconds==="function"&&f.seconds!=void 0&&b.setSeconds(f.seconds);typeof b.setMilliseconds==="function"&&f.H!=void 0&&b.setMilliseconds(f.H);if(a&&(f.year&&f.year!=b.getFullYear()||f.month&&f.month!=b.getMonth()||f.day&&f.day!=b.getDate()||f.hours&&f.hours>=24||f.minutes&&f.minutes>=60||f.seconds&&f.seconds>=60||f.H&&f.H>=1E3))b=!1;else{f.V!=void 0&&(a=b.getTimezoneOffset(),b.setTime(b.getTime()+
(f.V-a)*6E4));f.W&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(f.dayOfWeek!=void 0)if(f.day==void 0)f=(7+f.dayOfWeek-b.getDay())%7,f>3&&(f-=7),a=b.getMonth(),b.setDate(b.getDate()+f),b.getMonth()!=a&&b.setDate(b.getDate()+(f>0?-7:7));else if(f.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var a0c=function(a,b,c,d,e,f,g){$_c(b,c);if(d.numeric&&e>0&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return b0c(b,c,[a.O.zOa],function(k){return f.era=k}),!0;case "M":case "L":return c0c(a,b,c,e,d,f);case "E":return b0c(b,c,[a.O.vAa,a.O.qSa],function(k){return f.dayOfWeek=k});case "B":case "b":return e=[],a=[[].concat(a.O.Mxa)],e.push("isAm"),e.push("isPm"),b=b0c(b,c,a,function(k){return f.ua=k},g),f.O=e[f.ua],g?b:!0;case "a":return b=b0c(b,c,[a.O.Mxa],function(k){return f.ma=k},
g),g?b:!0;case "y":return d0c(a,b,c,d,e,f);case "Q":return b0c(b,c,[a.O.iSa,a.O.pSa],function(k){f.month=k*3;f.day=1});case "d":return e0c(a,b,c,d,e,function(k){f.day=k}),!0;case "S":return f0c(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=e0c(a,b,c,d,e,function(k){f.hours=d.text.charAt(0)==="h"&&k===12?0:k},g),g?b:!0;case "m":return b=e0c(a,b,c,d,e,function(k){f.minutes=k},g),g?b:!0;case "s":return e0c(a,b,c,d,e,function(k){f.seconds=k}),!0;case "z":case "Z":case "v":return g0c(a,b,c,f);
default:return!1}},d0c=function(a,b,c,d,e,f){var g=c[0];e=h0c(a,b,c,e);e===null&&(e=h0c(a,b,c,0,!0));if(e===null)return!1;e>=0&&c[0]-g==2&&d.count==2?(a=e,b=(new Date).getFullYear()-80,c=b%100,f.W=a==c,a+=Math.floor(b/100)*100+(a<c?100:0),f.year=a):f.year=e;return!0},c0c=function(a,b,c,d,e,f){return e.numeric&&e0c(a,b,c,e,d,function(g){f.month=g-1})?!0:b0c(b,c,[a.O.URa,a.O.uSa,a.O.oSa,a.O.vSa],function(g){f.month=g})},f0c=function(a,b,c,d,e){var f=c[0];a=h0c(a,b,c,d);if(a===null)return!1;c=c[0]-f;
e.H=c<3?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},g0c=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);if(c[0]>=b.length)return d.V=0,!0;var e=c[0],f=h0c(a,b,c,0,!0);if(f===null)return!1;if(c[0]<b.length&&b.charAt(c[0])==":"){var g=f*60;c[0]++;f=h0c(a,b,c,0);if(f===null)return!1;g+=f}else g=f,g=g<24&&c[0]-e<=3?g*60:g%100+g/100*60;d.V=-g;return!0},e0c=function(a,b,c,d,e,f,g){g=g||!1;var k=c[0];a=h0c(a,b,c,e);if(a===null)return!1;if(g&&c[0]-k<d.count){if(c[0]<b.length)return!1;
a*=Math.pow(10,d.count-(c[0]-k))}f(a);return!0},b0c=function(a,b,c,d,e){e=e||!1;for(var f,g=0;g<c.length;g++){f=b;for(var k=c[g],l=e,m=0,q=null,r=a.substring(f[0]).toLowerCase(),t=0;t<k.length;t++){var u=k[t].toLowerCase();if(l&&u.indexOf(r)==0){m=r.length;q=t;break}k[t].length>m&&r.indexOf(u)==0&&(m=k[t].length,q=t)}q!==null&&(f[0]+=m);f=q;if(f!==null)return d(f),!0}return!1},$_c=function(a,b){(a=a.substring(b[0]).match(W_c))&&(b[0]+=a[0].length)},h0c=function(a,b,c,d,e){b=d>0?b.substring(0,c[0]+
d):b;e=e||!1;if(a.O.ESa){d=[];for(var f=c[0];f<b.length;f++){var g=b.charCodeAt(f)-a.O.ESa;d.push(0<=g&&g<=9?String.fromCharCode(g+48):b.charAt(f))}b=d.join("")}else b=b.substring(c[0]);a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},Z_c=function(){};Z_c.prototype.W=!1;
}catch(e){_._DumpException(e)}
try{
_.l0c=function(a){this.Ca=_.p(a)};_.P(_.l0c,_.w);_.l0c.prototype.Qj=function(){return _.Rj(this,3)};
}catch(e){_._DumpException(e)}
try{
_.m0c=function(a){this.Ca=_.p(a)};_.P(_.m0c,_.w);_.m0c.prototype.getName=function(){return _.E(this,1)};_.m0c.prototype.jd=function(a){return _.L(this,1,a)};
}catch(e){_._DumpException(e)}
try{
_.$$c=function(a){this.Ca=_.p(a)};_.P(_.$$c,_.w);_.$$c.prototype.Ec=function(){return _.wh(this,4)};_.$$c.prototype.setActive=function(a){return _.J(this,4,a)};_.$$c.prototype.Hi=function(){return _.Ek(this,4)};_.EM=function(a){return _.K(a,_.$$c,12)};_.FM=function(a){return _.nk(a,13)};_.aad=function(a){this.Ca=_.p(a)};_.P(_.aad,_.w);
}catch(e){_._DumpException(e)}
try{
_.hvd=function(a){if(Array.isArray(a))return a.map(_.hvd).join("");if(_.E(a,2)){if(!a.getId())throw Error("rg");return _.sq(a)+"/"+_.E(a,2)+","}return""};
}catch(e){_._DumpException(e)}
try{
_.yN=function(a,b){return _.I(a,3,b)};_.zN=function(a){this.Ca=_.p(a)};_.P(_.zN,_.w);_.zN.prototype.O=function(a){return _.ak(this,1,_.Ff(a))};_.syd=function(a,b){return _.Bk(a,1,b)};_.h=_.zN.prototype;_.h.Lh=function(a){return _.Xj(this,2,_.Ff(a))};_.h.No=function(a){return _.yk(this,2,a)};_.h.getId=function(a){return _.Yj(this,2,a)};_.h.Bb=function(a){return _.Ak(this,2,a)};_.h.Zk=function(){return _.K(this,_.Se,3)};_.tyd=function(a,b){return _.Q(a,_.Se,3,b)};_.zN.mb=[1,2];
}catch(e){_._DumpException(e)}
try{
_.CN=function(a){this.Ca=_.p(a)};_.P(_.CN,_.w);_.CN.prototype.kd=function(){return _.E(this,1)};_.Syd=function(a){var b=new _.CN;return _.L(b,1,a)};_.CN.prototype.Qj=function(){return _.Rj(this,2)};_.CN.prototype.Ym=function(a){return _.Ug(this,2,a)};_.CN.prototype.Zk=function(){return _.K(this,_.Se,3)};
}catch(e){_._DumpException(e)}
try{
_.JN=function(a){return _.Sj(a,1,0)};
}catch(e){_._DumpException(e)}
try{
_.KN=function(a){this.Ca=_.p(a)};_.P(_.KN,_.w);_.KN.prototype.Zk=function(){return _.K(this,_.Se,1)};_.KN.prototype.yj=function(a){return _.Yj(this,2,a)};_.KN.prototype.Lva=function(a){return _.Ak(this,2,a)};_.KN.mb=[2];_.LN=function(a,b){return _.zk(a,2,b)};_.MN=function(a){return _.N(a,26,!1)};
}catch(e){_._DumpException(e)}
try{
_.NN=function(a){return _.N(a,5,!1)};
}catch(e){_._DumpException(e)}
try{
var IAd,KAd,MAd;_.GAd={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.HAd=_.Hc(_.GAd);IAd={};_.JAd=(IAd[0]="UNSPECIFIED_FEEDBACK",IAd[1]="IMPLICIT_REJECT",IAd[2]="NOT_HELPFUL_RIGHT_NOW",IAd);KAd={};_.LAd=(KAd[3]="confirmedSpam",KAd[18]="violence",KAd[9]="notSpam",KAd[20]="regulated",KAd[13]="spam",KAd[16]="unknown",KAd);MAd={};_.NAd=(MAd[0]="unknownView",MAd[7]="notSet",MAd[1]="mobileNotification",MAd[2]="email",MAd[3]="shared",MAd[4]="suggested",MAd[5]="recent",MAd[6]="editor",MAd);
_.OAd=new Map([[1,"LABEL_VIEW_BASIC"],[2,"LABEL_VIEW_FULL"]]);
}catch(e){_._DumpException(e)}
try{
_.ON=function(a){this.Ca=_.p(a)};_.P(_.ON,_.w);_.ON.prototype.getViewType=function(){return _.Ae(this,4)};_.ON.prototype.Qt=function(){return _.nk(this,4)};_.ON.mb=[2,3];_.PAd=function(a){this.Ca=_.p(a)};_.P(_.PAd,_.w);_.PN=[3,4,5,6];_.QAd=function(a){return _.kk(a,_.cf,4,_.PN)};_.RAd=function(a){this.Ca=_.p(a)};_.P(_.RAd,_.w);_.RAd.prototype.ef=function(a,b){return _.uj(this,1,_.PAd,a,b)};_.RAd.mb=[1];
}catch(e){_._DumpException(e)}
try{
_.SAd=function(a){this.Ca=_.p(a)};_.P(_.SAd,_.w);_.h=_.SAd.prototype;_.h.Qj=function(){return _.Rj(this,1)};_.h.getTitle=function(){return _.E(this,2)};_.h.Ag=function(){return _.E(this,2)};_.h.setTitle=function(a){return _.L(this,2,a)};_.h.Fx=function(){return _.E(this,4)};
}catch(e){_._DumpException(e)}
try{
_.QN=function(a){this.Ca=_.p(a)};_.P(_.QN,_.w);_.QN.prototype.Qj=function(){return _.Rj(this,1)};_.QN.prototype.Ym=function(a){return _.Ug(this,1,a)};_.QN.prototype.Zk=function(){return _.K(this,_.Se,2)};_.QN.prototype.Ob="M7PX9c";
}catch(e){_._DumpException(e)}
try{
_.TAd=function(a,b){return _.I(a,1,b)};_.UAd=function(a,b){return _.Ck(a,3,b)};_.RN=function(a){this.Ca=_.p(a)};_.P(_.RN,_.w);_.RN.prototype.Zk=function(){return _.K(this,_.Se,1)};_.RN.mb=[5];_.VAd=function(a,b){return _.Q(a,_.Se,1,b)};_.WAd=function(a,b){return _.Q(a,_.aq,7,b)};
}catch(e){_._DumpException(e)}
try{
var SN;_.XAd=function(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height};SN={};_.YAd=(SN.AbortError=3,SN.EncodingError=5,SN.InvalidModificationError=9,SN.InvalidStateError=7,SN.NotFoundError=1,SN.NotReadableError=4,SN.NoModificationAllowedError=6,SN.PathExistsError=12,SN.QuotaExceededError=10,SN.SecurityError=2,SN.SyntaxError=8,SN.TypeMismatchError=11,SN);
}catch(e){_._DumpException(e)}
try{
_.ZAd=function(a){return a instanceof Error?_.TN(a).yg:a instanceof _.wf?a.yg:a};_.TN=function(a,b){return a instanceof _.wf?a:(0,_.Gka)(a)?new _.wf(b,a):a instanceof Error?new _.wf(a.message,void 0,a):new _.wf("Not an Error",void 0,Error("zg`"+JSON.stringify(a)))};_.UN=function(a){return a instanceof Error};_.$Ad=function(a){return(new _.ww).JF(a.O())};_.aBd=_.p3a("LIVE_LIST_LOADING_STATE_INITIALIZING",4,4);_.VN=function(){return _.nb(_.$Ad(_.aBd))};
_.bBd=new Map([["AbortError",26],["EncodingError",27],["InvalidModificationError",28],["InvalidStateError",29],["NotFoundError",30],["NotReadableError",31],["NoModificationAllowedError",32],["PathExistsError",33],["QuotaExceededError",34],["SecurityError",35],["SyntaxError",36],["TypeMismatchError",37]]);
}catch(e){_._DumpException(e)}
try{
_.cBd=function(a){this.Ca=_.p(a)};_.P(_.cBd,_.w);_.cBd.prototype.rz=function(){_.lj(this);return _.Nj(this,1)};_.WN=function(a){this.Ca=_.p(a)};_.P(_.WN,_.w);_.h=_.WN.prototype;_.h.getMimeType=function(){return _.E(this,1)};_.h.BPa=function(){return _.Zg(this,1)};_.h.getTitle=function(){return _.E(this,2)};_.h.Ag=function(){return _.E(this,2)};_.h.setTitle=function(a){return _.L(this,2,a)};_.h.FH=function(a){return _.Xj(this,3,_.Ff(a))};_.h.AE=function(a){_.zk(this,3,a)};
_.h.getParent=function(a){return _.Yj(this,3,a)};_.h.Xg=function(a){return _.Ak(this,3,a)};_.h.Hka=function(){return _.K(this,_.Se,7)};_.h.A7=function(){return _.wh(this,8)};_.h.wl=function(){return _.E(this,9)};_.h.Ika=function(){return _.E(this,9)};_.h.Jka=function(a){return _.L(this,9,a)};_.h.qn=function(){return _.Zg(this,14)};_.h.hs=function(){return _.K(this,_.cBd,15)};_.h.Bqa=function(){return _.E(this,21)};_.h.kd=function(){return _.E(this,23)};_.h.Mq=function(){return _.E(this,33)};
_.WN.mb=[3,4,10,18,19,28];_.dBd=function(a,b){return _.L(a,1,b)};_.eBd=function(a,b){return _.yk(a,3,b)};_.fBd=function(a,b){return _.Q(a,_.Se,7,b)};_.gBd=function(a,b){return _.J(a,8,b)};
}catch(e){_._DumpException(e)}
try{
_.hBd=function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c};_.iBd=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);e<128?b[c++]=e:(e<2048?b[c++]=e>>6|192:((e&64512)==55296&&d+1<a.length&&(a.charCodeAt(d+1)&64512)==56320?(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};_.jBd=function(a,b,c){c&&(a=_.dl(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.cl(a));return a};_.kBd=function(a,b,c){c===void 0&&(c=a.size);return a.slice?a.slice(b,c):null};
}catch(e){_._DumpException(e)}
try{
_.lBd=function(a){this.Ca=_.p(a)};_.P(_.lBd,_.w);
}catch(e){_._DumpException(e)}
try{
_.XN=function(a){this.Ca=_.p(a)};_.P(_.XN,_.w);_.h=_.XN.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getTitle=function(){return _.E(this,2)};_.h.Ag=function(){return _.E(this,2)};_.h.setTitle=function(a){return _.L(this,2,a)};_.h.vca=function(){return _.Zg(this,2)};_.h.getState=function(){return _.Ae(this,5)};_.h.y5=function(){return _.Ae(this,5)};_.h.Vd=function(a){return _.I(this,5,a)};
_.h.Vv=function(){return _.Jk(this,5)};_.YN=function(a){this.Ca=_.p(a)};_.P(_.YN,_.w);_.YN.prototype.Lh=function(a){return _.Xj(this,1,_.Ff(a))};_.mBd=function(a,b){return _.yk(a,1,b)};_.YN.prototype.getId=function(a){return _.Yj(this,1,a)};_.YN.prototype.Bb=function(a){return _.Ak(this,1,a)};_.YN.prototype.Zk=function(){return _.K(this,_.Se,2)};_.YN.mb=[1,3];
}catch(e){_._DumpException(e)}
try{
_.ZN=function(){_.ui.call(this);this.KB={}};_.Ui(_.ZN,_.ui);_.h=_.ZN.prototype;_.h.logger=null;_.h.connect=function(a){a&&a()};_.h.isConnected=function(){return!0};_.h.registerService=function(a,b,c){this.KB[a]={callback:b,h5a:!!c}};_.h.CY=function(a){this.ua=a};_.nBd=function(a,b,c){var d=a.getService(b,c);d&&(a=a.O(b,c,d.h5a),a!=null&&d.callback(a))};_.ZN.prototype.getService=function(a,b){var c=this.KB[a];return c?c:this.ua?{callback:_.Si(this.ua,a),h5a:_.Ea(b)}:null};
_.ZN.prototype.O=function(a,b,c){if(c&&typeof b==="string")try{return JSON.parse(b)}catch(d){return null}else if(!c&&typeof b!=="string")return(0,_.ym)(b);return b};_.ZN.prototype.wb=function(){_.ZN.Zb.wb.call(this);delete this.KB;delete this.ua};
}catch(e){_._DumpException(e)}
try{
_.oBd=function(a){return Array.prototype.concat.apply([],arguments)};_.pBd=function(a){_.ui.call(this);this.O=a;this.H={};this.O.CY((0,_.Ri)(this.V,this))};_.Ui(_.pBd,_.ui);_.pBd.prototype.Ge=null;_.rBd=function(a,b){if(b.indexOf(":")!=-1)throw Error("Ag`"+b);if(b in a.H)throw Error("Bg`"+b);var c=new qBd(a,b);return a.H[b]=c};_.pBd.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)}};
_.pBd.prototype.wb=function(){_.uc(this.H,function(a){_.Yc(a)});_.Yc(this.O);delete this.H;delete this.O};var qBd=function(a,b){_.ui.call(this);this.kj=a;this.H=b};_.Ui(qBd,_.ui);_.h=qBd.prototype;_.h.Ge=null;_.h.connect=function(a){a&&a()};_.h.isConnected=function(){return!0};_.h.registerService=function(a,b,c){this.kj.O.registerService(this.H+":"+a,(0,_.Ri)(this.pnb,this,b),c)};_.h.CY=function(a){this.O=(0,_.Ri)(this.pnb,this,a)};
_.h.send=function(a,b){if(this.isDisposed())throw Error("Cg");this.kj.O.send(this.H+":"+a,b)};_.h.pnb=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};_.h.wb=function(){this.kj=this.kj.H[this.H]=null};
}catch(e){_._DumpException(e)}
try{
_.sBd=function(){this.blockSize=-1};_.tBd=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.Ui(_.tBd,_.sBd);_.tBd.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 uBd=function(a,b,c){c||(c=0);var d=Array(16);if(typeof b==="string")for(var e=0;e<16;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;e<16;++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 g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.H[0]=a.H[0]+b&4294967295;a.H[1]=a.H[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.H[2]=a.H[2]+e&4294967295;a.H[3]=a.H[3]+f&4294967295};
_.tBd.prototype.update=function(a,b){b===void 0&&(b=a.length);for(var c=b-this.blockSize,d=this.W,e=this.O,f=0;f<b;){if(e==0)for(;f<=c;)uBd(this,a,f),f+=this.blockSize;if(typeof a==="string")for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){uBd(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){uBd(this,d);e=0;break}}this.O=e;this.V+=b};
_.tBd.prototype.digest=function(){var a=Array((this.O<56?this.blockSize:this.blockSize*2)-this.O);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=this.V*8;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;b<4;++b)for(var d=0;d<32;d+=8)a[c++]=this.H[b]>>>d&255;return a};
}catch(e){_._DumpException(e)}
try{
_.aO=function(a,b){if((0,_.Gka)(a))return b&&_.$N(a,b),a;if(_.UN(a)){if(a=_.ZAd(a))return b&&_.$N(a,b),a}else a=typeof a==="string"?_.xib(a):_.xib("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);a.Eb(2);b&&_.$N(a,b);return a};_.vBd=function(a){var b=_.Kr(a);a=_.Rj(a,15);return b===15||b===32||b===33||a===401};_.bO=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})};
_.cO=function(){return _.ca.WorkerGlobalScope&&self instanceof _.ca.WorkerGlobalScope};_.dO=function(a,b){return _.I(a,82,b)};_.$N=function(a,b){return _.I(a,2,b)};_.eO=function(a){this.Ca=_.p(a)};_.P(_.eO,_.w);_.h=_.eO.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Cr=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getTitle=function(){return _.E(this,2)};_.h.Ag=function(){return _.E(this,2)};
_.h.setTitle=function(a){return _.L(this,2,a)};_.h.dh=function(){return _.E(this,3)};_.h.Kj=function(a){return _.L(this,3,a)};_.h.qv=function(){return _.wh(this,4)};_.h.ys=function(a){return _.J(this,4,a)};_.h.Yl=function(){return _.wh(this,5)};_.h.In=function(a){return _.J(this,5,a)};_.h.getMimeType=function(){return _.E(this,6)};_.h.AE=function(a){_.zk(this,8,a)};_.h.getParent=function(a){return _.Yj(this,8,a)};_.h.Xg=function(a){return _.Ak(this,8,a)};
_.h.oC=function(){_.lj(this);return _.Nj(this,12)};_.h.ePb=function(){return _.Bj(this,_.Se,17)};_.h.Dk=function(){_.lj(this);return _.Nj(this,20)};_.h.qn=function(){return _.Zg(this,21)};_.eO.mb=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.wBd=function(a,b){return _.J(a,16,b)};_.fO=function(a){this.Ca=_.p(a)};_.P(_.fO,_.w);_.fO.prototype.Zpa=function(){return _.Sj(this,2,100)};_.fO.prototype.RY=function(a){return _.Ug(this,2,a)};_.fO.prototype.qn=function(){return _.Zg(this,8)};_.fO.mb=[5];_.xBd=new Map([[218,new _.ce("quota_bytes_used_in_drive")],[235,new _.ce("individual_quota_bytes_total")],[151,new _.ce("team_drive_root_data",["hidden"])],[157,new _.ce("team_drive_root_data",["linked_categories"])],[298,new _.ce("team_drive_root_data",[new _.ce("corpus_limits",["items_count_capacity_used_percentage"])])],[299,new _.ce("team_drive_root_data",[new _.ce("corpus_limits",[new _.ce("items_count_capacity_used_percentage_notification_threshold")])])]]);
_.yBd=new Map([[157,new _.ce(_.bO("category_references"))],[5,new _.ce(_.bO("hidden"))],[218,new _.ce(_.bO("quota_info"),[_.bO("quota_bytes_used")])],[235,new _.ce(_.bO("quota_info"),[_.bO("individual_quota_bytes_total")])],[298,new _.ce(_.bO("corpus_limits"),[_.bO("items_count_capacity_used_percentage")])],[299,new _.ce(_.bO("corpus_limits"),[new _.ce(_.bO("items_count_capacity_used_percentage_notification_threshold"))])]]);var gO,ABd;gO={};_.zBd=(gO[10]="createdDate",gO[1]="modifiedDate",gO[2]="modifiedByMeDate",gO[6]="lastViewedByMeDate",gO[13]="lastViewedByMeDate",gO[14]="markedAsSpamDate",gO[11]="recency",gO[5]="relevance",gO[7]="sharedWithMeDate",gO[9]="starred",gO[4]="title",gO[12]="trashedDate",gO[3]="quotaBytesUsed",gO);ABd={};_.BBd=(ABd[1]="asc",ABd[2]="desc",ABd);var CBd,EBd;CBd={};_.DBd=(CBd[1]="0",CBd[2]="1",CBd[3]="2",CBd);EBd={};_.FBd=(EBd[1]="asc",EBd[2]="desc",EBd);_.GBd=new Set([9]);_.HBd=_.J(new _.eO,15,!0);_.IBd=_.wBd(new _.eO,!0);_.JBd=_.wBd(new _.eO,!1);_.KBd=_.ej&&_.vqa(_.Yqa,"533")<0;_.LBd=_.Bi([""]);_.MBd=_.Bi(["display: none;"]);_.NBd=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."]]);
}catch(e){_._DumpException(e)}
try{
_.hO=function(a){return _.Bj(a,_.KHa,36)};
}catch(e){_._DumpException(e)}
try{
_.OBd=function(a,b){return _.Bk(a,5,b)};_.PBd=function(a,b){return _.Bk(a,5,b)};_.QBd=function(a,b){return _.Ug(a,10,b)};_.RBd=function(a,b){return _.Ug(a,11,b)};_.SBd=function(a){return _.qj(a,_.er,2,_.ir)};
}catch(e){_._DumpException(e)}
try{
_.iO=function(a){this.Ca=_.p(a)};_.P(_.iO,_.w);_.iO.prototype.getType=function(){return _.Ae(this,1)};_.iO.prototype.Eb=function(a){return _.I(this,1,a)};_.jO=function(a){this.Ca=_.p(a)};_.P(_.jO,_.w);_.h=_.jO.prototype;_.h.getState=function(){return _.Ae(this,1)};_.h.Vd=function(a){return _.I(this,1,a)};_.h.Vv=function(){return _.Jk(this,1)};_.h.Qj=function(){return _.Rj(this,2)};_.h.Ym=function(a){return _.Ug(this,2,a)};_.h.Zk=function(){return _.K(this,_.Se,3)};_.h.uFa=function(){return _.K(this,_.iO,5)};_.h.bV=function(a){return _.Q(this,_.iO,5,a)};_.h.Sd=function(){return _.Rj(this,6)};_.h.pC=function(){return _.Rj(this,6)};
_.h.tf=function(){return _.Fk(this,6)};_.h.Gi=function(){return _.mk(this,6)};_.h.W7=function(){return _.mk(this,7)};_.h.Ob="fiVdV";
}catch(e){_._DumpException(e)}
try{
_.TBd=_.Zb(_.jO);
}catch(e){_._DumpException(e)}
try{
var UBd,kO,VBd,mO,XBd,WBd;UBd=function(a){a!==null&&"removeAttribute"in a&&a.removeAttribute(_.Xpa);try{delete a[_.Xpa]}catch(b){}};
kO=function(a){var b=[],c=[],d={},e=function(f,g){var k=g+"  ";try{if(f===void 0)b.push("undefined");else if(f===null)b.push("NULL");else if(typeof f==="string")b.push('"'+f.replace(/\n/g,"\n"+g)+'"');else if(typeof f==="function")b.push(String(f).replace(/\n/g,"\n"+g));else if(_.Ea(f)){f[_.Xpa]||c.push(f);var l=_.Fa(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=!0;b.push("{");for(var m in f)typeof f[m]!=="function"&&(b.push("\n"),b.push(k),b.push(m+" = "),e(f[m],k));b.push("\n"+
g+"}");delete d[l]}}else b.push(f)}catch(q){b.push("*** "+q+" ***")}};e(a,"");for(a=0;a<c.length;a++)UBd(c[a]);return b.join("")};_.lO=function(a,b,c){if(typeof a==="number")var d={name:WBd(a)};else d=a,a=XBd(a.name);this.code=a;this.H=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ba.call(this,b)};_.Ui(_.lO,_.ba);_.lO.prototype.getName=function(){return this.H.name||""};
mO={G6b:1,q4b:2,NOT_FOUND_ERR:3,qJb:4,wJb:5,s4b:6,z6b:7,ABORT_ERR:8,s5b:9,Dld:10,TIMEOUT_ERR:11,l5b:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.YBd=(_.ca.H||_.ca.O||mO).G6b;_.ZBd=(_.ca.H||_.ca.O||mO).q4b;_.$Bd=(_.ca.H||_.ca.O||mO).NOT_FOUND_ERR;_.aCd=(_.ca.H||_.ca.O||mO).qJb;_.bCd=(_.ca.H||_.ca.O||mO).wJb;_.cCd=(_.ca.H||_.ca.O||mO).s4b;_.dCd=(_.ca.H||_.ca.O||mO).z6b;_.eCd=(_.ca.H||_.ca.O||mO).ABORT_ERR;_.fCd=(_.ca.H||_.ca.O||mO).s5b;_.gCd=(_.ca.H||_.ca.O||mO).TIMEOUT_ERR;
_.hCd=(_.ca.H||_.ca.O||mO).l5b;_.iCd=(_.ca.DOMException||mO).INVALID_ACCESS_ERR;_.jCd=(_.ca.DOMException||mO).INVALID_STATE_ERR;
XBd=function(a){switch(a){case "UnknownError":return _.YBd;case "NotFoundError":return _.$Bd;case "ConstraintError":return _.aCd;case "DataError":return _.bCd;case "TransactionInactiveError":return _.dCd;case "AbortError":return _.eCd;case "ReadOnlyError":return _.fCd;case "TimeoutError":return _.gCd;case "QuotaExceededError":return _.hCd;case "InvalidAccessError":return _.iCd;case "InvalidStateError":return _.jCd;default:return _.YBd}};
WBd=function(a){switch(a){case _.YBd:return"UnknownError";case _.$Bd:return"NotFoundError";case _.aCd:return"ConstraintError";case _.bCd:return"DataError";case _.dCd:return"TransactionInactiveError";case _.eCd:return"AbortError";case _.fCd:return"ReadOnlyError";case _.gCd:return"TimeoutError";case _.hCd:return"QuotaExceededError";case _.iCd:return"InvalidAccessError";case _.jCd:return"InvalidStateError";default:return"UnknownError"}};
_.nO=function(a,b){return"error"in a?new _.lO(a.error,b):new _.lO({name:"UnknownError"},b)};_.oO=function(a,b){return"name"in a?new _.lO(a,b+": "+a.message):new _.lO({name:"UnknownError"},b)};_.kCd=function(a){this.H=a};_.lCd=_.ca.IDBKeyRange||_.ca.webkitIDBKeyRange;_.kCd.prototype.range=function(){return this.H};var mCd=function(a){this.H=a};mCd.prototype.getName=function(){return this.H.name};var nCd=function(a,b,c,d){var e=new _.Je;try{var f=a.H[b](d)}catch(g){return c+=" with key "+kO(d),e.Ne(_.oO(g,c)),e}f.onsuccess=function(g){e.callback(g.target.result)};f.onerror=function(g){c+=" with key "+kO(d);e.Ne(_.nO(g.target,c))};return e};mCd.prototype.get=function(a){return nCd(this,"get","getting from index "+this.getName(),a)};
mCd.prototype.getKey=function(a){return nCd(this,"getKey","getting key from index "+this.getName(),a)};mCd.prototype.getAll=function(a,b){return _.oCd(this,"getAll","getting all from index "+this.getName(),a,b)};
_.oCd=function(a,b,c,d,e){var f;d===void 0?f=void 0:f=d instanceof _.kCd?d.range():(new _.kCd(_.lCd.only(d))).range();var g=new _.Je;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?kO(f):"<all>"),g.Ne(_.oO(l,c)),g}k.onsuccess=function(){g.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?kO(f):"<all>");g.Ne(_.nO(l.target,c))};return g};var pCd=function(a){this.H=a};pCd.prototype.getName=function(){return this.H.name};var qCd=function(a,b,c,d,e){var f=new _.Je;try{var g=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=kO(d),e&&(c+=", with key "+kO(e)),f.Ne(_.oO(k,c)),f}g.onsuccess=function(k){f.callback(k.target.result)};g.onerror=function(k){c+=kO(d);e&&(c+=", with key "+kO(e));f.Ne(_.nO(k.target,c))};return f};_.h=pCd.prototype;_.h.put=function(a,b){return qCd(this,"put","putting into "+this.getName()+" with value",a,b)};
_.h.add=function(a,b){return qCd(this,"add","adding into "+this.getName()+" with value ",a,b)};_.h.remove=function(a){var b=new _.Je;try{var c=this.H["delete"](a instanceof _.kCd?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+kO(a),b.Ne(_.oO(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+kO(a);b.Ne(_.nO(e.target,f))};return b};
_.h.get=function(a){var b=new _.Je;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+kO(a),b.Ne(_.oO(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 "+kO(a);b.Ne(_.nO(e.target,f))};return b};_.h.getAll=function(a,b){return rCd(this,"getting all from index "+this.getName(),a,b)};
var rCd=function(a,b,c,d){var e;c===void 0?e=void 0:e=c instanceof _.kCd?c.range():(new _.kCd(_.lCd.only(c))).range();var f=new _.Je;try{var g=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?kO(e):"<all>"),f.Ne(_.oO(k,b)),f}g.onsuccess=function(){f.callback(g.result)};g.onerror=function(k){b+=" for range "+(e?kO(e):"<all>");f.Ne(_.nO(k.target,b))};return f};
pCd.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Je;try{var c=this.H.clear()}catch(d){return b.Ne(_.oO(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Ne(_.nO(d.target,a))};return b};pCd.prototype.yf=function(a){try{return new mCd(this.H.index(a))}catch(b){throw _.oO(b,"getting index "+a);}};
pCd.prototype.count=function(a){var b=new _.Je;try{var c=a?a.range():null,d=this.H.count(c);d.onsuccess=function(f){b.callback(f.target.result)};var e=this;d.onerror=function(f){b.Ne(_.nO(f.target,e.getName()))}}catch(f){b.Ne(_.oO(f,this.getName()))}return b};var sCd=function(a,b){_.Ig.call(this);this.H=a;this.O=b;this.Rb=new _.Lg(this);this.Rb.listen(this.H,"complete",(0,_.Ri)(this.dispatchEvent,this,"complete"));this.Rb.listen(this.H,"abort",(0,_.Ri)(this.dispatchEvent,this,"abort"));this.Rb.listen(this.H,"error",this.fPb)};_.Ui(sCd,_.Ig);_.h=sCd.prototype;_.h.fPb=function(a){a.target instanceof _.lO?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.nO(a.target,"in transaction")})};_.h.cj=function(){return this.H.mode};
_.h.objectStore=function(a){try{return new pCd(this.H.objectStore(a))}catch(b){throw _.oO(b,"getting object store "+a);}};_.h.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.oO(b,"cannot commit the transaction");}};
_.h.wait=function(){var a=new _.Je;_.jg(this,"complete",(0,_.Ri)(a.callback,a));var b=_.jg(this,"abort",function(){_.xm(c);a.Ne(new _.lO(_.eCd,"waiting for transaction to complete"))});var c=_.jg(this,"error",function(e){_.xm(b);a.Ne(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.h.abort=function(){this.H.abort()};_.h.wb=function(){sCd.Zb.wb.call(this);this.Rb.dispose()};var tCd=function(a){_.Ig.call(this);this.H=a;this.Rb=new _.Lg(this);this.Rb.listen(this.H,"abort",(0,_.Ri)(this.dispatchEvent,this,"abort"));this.Rb.listen(this.H,"error",this.gPb);this.Rb.listen(this.H,"versionchange",this.Bcc);this.Rb.listen(this.H,"close",(0,_.Ri)(this.dispatchEvent,this,"close"))};_.Ui(tCd,_.Ig);_.h=tCd.prototype;_.h.CPa=!0;_.h.gPb=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.h.Bcc=function(a){this.dispatchEvent(new uCd(a.oldVersion,a.newVersion))};_.h.close=function(){this.CPa&&(this.H.close(),this.CPa=!1)};_.h.Yf=function(){return this.CPa};_.h.getName=function(){return this.H.name};_.h.Dk=function(){return Number(this.H.version)};_.vCd=function(a,b,c){try{return new pCd(a.H.createObjectStore(b,c))}catch(d){throw _.oO(d,"creating object store "+b);}};
_.wCd=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new sCd(d,a)}catch(e){throw _.oO(e,"creating transaction");}};tCd.prototype.wb=function(){tCd.Zb.wb.call(this);this.Rb.dispose()};var uCd=function(a,b){_.sm.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Ui(uCd,_.sm);_.xCd=function(){VBd==void 0&&(VBd=_.ca.indexedDB||_.ca.mozIndexedDB||_.ca.webkitIndexedDB||_.ca.moz_indexedDB);return VBd};
_.yCd=function(a,b,c,d){var e=new _.Je;b=b?_.xCd().open(a,b):_.xCd().open(a);b.onsuccess=function(f){f=new tCd(f.target.result);e.callback(f)};b.onerror=function(f){e.Ne(_.nO(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var g=new tCd(f.target.result);c(new uCd(f.oldVersion,f.newVersion),g,new sCd(f.target.transaction,g))}};b.onblocked=function(f){d&&d(new uCd(f.oldVersion,f.newVersion))};return e};
}catch(e){_._DumpException(e)}
try{
_.pO=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.pO.prototype.clone=function(){return new _.pO(this.start,this.end)};_.pO.prototype.xz=function(){return this.end-this.start};
}catch(e){_._DumpException(e)}
try{
var zCd,ACd;zCd=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&c.length>1;)d+=c.shift()+e.shift();return d+c.join("%s")};ACd=function(a){var b=_.$fa(_.YAd,function(c){return a==c});if(b===void 0)throw Error("xg`"+a);return b};_.BCd=function(a,b){a.name!==void 0?(this.name=a.name,this.code=_.YAd[a.name]):(this.code=a=a.code,this.name=ACd(a));_.ba.call(this,zCd("%s %s",this.name,b))};_.Ui(_.BCd,_.ba);var CCd=function(a,b){_.sm.call(this,a.type,b)};
_.Ui(CCd,_.sm);_.DCd=function(){_.Ig.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.Ri)(this.Oda,this);this.H.onprogress=(0,_.Ri)(this.Oda,this);this.H.onload=(0,_.Ri)(this.Oda,this);this.H.onabort=(0,_.Ri)(this.Oda,this);this.H.onerror=(0,_.Ri)(this.Oda,this);this.H.onloadend=(0,_.Ri)(this.Oda,this)};_.Ui(_.DCd,_.Ig);_.h=_.DCd.prototype;_.h.abort=function(){try{this.H.abort()}catch(a){throw new _.BCd(a,"aborting read");}};_.h.kh=function(){return this.H.result};
_.h.getError=function(){return this.H.error&&new _.BCd(this.H.error,"reading file")};_.h.Oda=function(a){this.dispatchEvent(new CCd(a,this))};_.h.wb=function(){_.DCd.Zb.wb.call(this);delete this.H};
}catch(e){_._DumpException(e)}
try{
_.ECd=function(a){var b={};a=_.n(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.n(c.value);c=d.next().value;d=d.next().value;b[c.toLowerCase()]=d}return b};_.FCd=function(a){return(a=a&&_.ECd(a))&&a["x-guploader-uploadid"]};_.GCd=function(a){return(a=a&&_.ECd(a))&&a["x-google-trace"]};
_.HCd=function(a,b){var c={};if(!(b!==void 0&&b||_.NN(a))){var d;((d=_.z(a,7,""))==null?void 0:d.length)>0?c.authorization="Bearer "+_.z(a,7,""):(b=[{key:"u",value:_.qO(a)}],c.authorization=_.eac(b)||"");a=_.JN(a);a>=0&&(c["x-goog-authuser"]=String(a))}return c};_.qO=function(a){return _.z(a,2,"")};_.rO=function(a,b){return _.I(a,14,b)};_.ICd=function(a){this.Ca=_.p(a)};_.P(_.ICd,_.w);_.JCd=function(a,b){return _.Ug(a,1,b)};_.sO=function(a){this.Ca=_.p(a)};_.P(_.sO,_.w);
_.sO.prototype.getOptions=function(){return _.K(this,_.ICd,1)};_.KCd=function(a,b){return _.Q(a,_.ICd,1,b)};_.sO.prototype.Ws=function(){return _.E(this,2)};_.LCd=function(a,b){return _.L(a,2,b)};_.sO.prototype.iD=function(){return _.Zg(this,2)};_.sO.prototype.ee=function(){return _.K(this,_.cf,3)};_.MCd=function(a,b){return _.Q(a,_.cf,3,b)};_.sO.prototype.Lr=function(){return _.oj(this,_.cf,3)};_.tO=[3,4,5,6,7,8,9,10];_.NCd=function(a){this.Ca=_.p(a)};_.P(_.NCd,_.w);var OCd=function(a){this.Ca=_.p(a)};
_.P(OCd,_.w);OCd.mb=[1];var PCd;PCd={};_.QCd=(PCd[0]="/drive/v2internal",PCd[1]="/drive/v2internal.corp",PCd[2]="/drive/v2internal.scary",PCd[4]="/drive/v2internal.scary",PCd[5]="/drive/v2beta",PCd[6]="/drive/v2.1beta",PCd);_.RCd=new Set([0,1,2,3]);var TCd,VCd;
_.UCd=function(a,b,c,d,e,f,g,k,l,m){l=l===void 0?!1:l;if(!_.SCd(a))return null;if((m===void 0?0:m)&&Array.isArray(e)){m=(0,_.LNa)(JSON.stringify(e));e=_.Hr(new _.Gr,m.getMessage());m=_.n(_.Kj(m,_.Ps,3,_.Ff()));for(var q=m.next();!q.done;q=m.next()){var r=q.value;if(_.z(r,1)==="type.googleapis.com/google.rpc.DebugInfo"){q=[];var t=OCd;if(r=_.Gfa(r)!="google.rpc.DebugInfo"?null:_.Ifa(r,_.Hfa(t)))_.z(r,2)&&q.push(_.z(r,2)),(r=_.Xj(r,1,_.Ff()).join("\n"))&&q.push(r);_.Ir(e,q.join("\n"))}}}else e=TCd(e)||
new _.Gr;_.J(e,8,!0);k&&(m=e,k=_.ul(new _.Rg(k)).toString(),_.L(m,19,k));_.Rj(e,15)||_.Ug(e,15,a||f);e.getMessage()||_.Hr(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+g].join(", "));_.E(e,4)||_.Ir(e,d);_.Ae(e,10)||(f===5?_.rO(e,7):a!==0||d?a===403?_.rO(e,22):a===503||a===429?_.rO(e,24):(_.nj(e,14),_.I(e,10,1),_.J(e,8,!0)):l||_.rO(e,2));e.Rva(_.FCd(c));e.Fva(_.GCd(c));return e};
TCd=function(a){if(!_.Ea(a))return null;var b=new _.Gr,c=a.error;if(!c)return _.Ir(b,JSON.stringify(a)),null;_.Ug(b,15,c.code);_.Hr(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=VCd[c];d?_.I(b,10,d):c&&!d&&_.I(b,10,2);(a=a.debugInfo)&&_.Ir(b,a);return b};_.SCd=function(a){return a===200||a===204||a===308||a===206?!1:!0};
VCd={activeItemCreationLimitExceeded:72,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,conditionNotMet:71,fileOwnerNotMemberOfTeamDrive:42,fileOwnerNotMemberOfTeamDriveDomain:43,fileOwnerNotMemberOfWriterDomain:47,fileWriterTeamDriveMoveInDisabled:46,forbidden:10,internalError:3,invalid:12,missingCookie:33,myDriveHierarchyDepthLimitExceeded:73,notFound:4,quotaExceeded:6,rateLimitExceeded:7,responseTooLarge:5,
required:32,uploadBrokenConnection:35,shareOutNotPermittedForContent:50,crossDomainMoveRestriction:52,contextRestriction:75,teamDriveFileLimitExceeded:40,teamDriveHierarchyTooDeep:49,teamDriveMembershipRequired:48,teamDriveNameRequired:59,teamDriveNameTooLong:44,teamDrivesFileTypeNotSupported:39,teamDrivesFolderMoveInNotSupported:36,teamDrivesFolderMoveOutNotSupported:37,teamDrivesParentLimit:41,teamDrivesShortcutFileNotSupported:38,tooManyFiles:53,tooManySourceIdsForMove:65,tooManyUnmovableFiles:54,
transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,sharedDriveInitializationInProgress:68,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62,permissionDenied:69,userCannotCreateSharedDriveUnderOrgPolicy:70,queryTooComplex:74};
}catch(e){_._DumpException(e)}
try{
_.WCd=function(a){a=a.getTimezoneOffset();if(a==0)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b);b=(b-c)*60;a=(a>0?"-":"+")+_.fl(c,2)+":"+_.fl(b,2)}return a};
}catch(e){_._DumpException(e)}
try{
_.XCd=function(a,b){return _.yk(a,50,b)};_.uO=function(a){return _.K(a,_.Tp,95)};_.YCd=function(a){return _.K(a,_.Dq,156)};
}catch(e){_._DumpException(e)}
try{
_.ZCd=function(a){a.TA===null&&(a.TA=_.YC(a,a.getItem().i1));return a.TA};_.$Cd=function(a){a.ox===null&&(a.ox=_.YC(a,a.getItem().O));return a.ox};
}catch(e){_._DumpException(e)}
try{
_.vO=function(a){this.Ca=_.p(a)};_.P(_.vO,_.w);_.wO=function(a,b){return _.Mj(a,2,b)};
}catch(e){_._DumpException(e)}
try{
_.aDd=function(a,b){var c=_.K(a.H,_.mxb,9);c==null&&(c=new _.mxb);var d=c;var e=_.Yg(b.H,10);d=_.Tg(d,5,e);b=_.Yg(b.H,12);_.Tg(d,2,b);_.Q(a.H,_.mxb,9,c)};_.bDd=function(a,b,c){a.V[b.getId()]=c;a.O&&c.O(a.O)};_.cDd=function(a,b){a.ma=b;return a};_.dDd=function(a,b){a=_.jl(a);b=_.jl(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.eDd=function(a){this.Ce=a};_.eDd.prototype.getId=function(){return this.Ce};
_.fDd=function(a){var b;this.O=(b=b===void 0?!1:b)?null:a;this.H=b?a:null;this.O&&(a=this.O,a.Ga=a.Ta)};_.fDd.prototype.AJ=function(a){var b=this.H?this.H.Ik.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=_.cG(new _.bG,a.Fc());b(a);c()};_.gDd=function(a){var b;this.O=(b=b===void 0?!1:b)?null:a;this.H=b?a:null;this.Ge=null};_.gDd.prototype.AJ=function(a){var b=this.H?this.H.Ik.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=_.cG(new _.bG,a.Fc());b(a);return new _.fm(function(d){c(d,function(){d()})}.bind(this))};
}catch(e){_._DumpException(e)}
try{
var hDd=function(a){this.Ca=_.p(a)},qDd;_.P(hDd,_.w);var iDd=function(a){this.Ca=_.p(a)};_.P(iDd,_.w);iDd.prototype.O=function(){_.lj(this);return _.Uj(this,2)};var jDd=function(a){this.Ca=_.p(a)};_.P(jDd,_.w);jDd.mb=[2];var kDd=function(a){this.Ca=_.p(a)};_.P(kDd,_.w);var lDd=function(a){this.Ca=_.p(a)};_.P(lDd,_.w);var mDd=function(a){this.Ca=_.p(a)};_.P(mDd,_.w);var nDd=function(a){this.Ca=_.p(a)};_.P(nDd,_.w);nDd.prototype.A3=function(a){_.L(this,3,a)};
nDd.prototype.Hn=function(a){return _.Q(this,mDd,5,a)};nDd.prototype.getMimeType=function(){return _.z(this,7)};var oDd=function(a){this.Ca=_.p(a)};_.P(oDd,_.w);oDd.prototype.Dk=function(){return _.ri(this,1,0)};_.pDd=function(a){return new _.fm(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,m){c--;d[k]=l?{Ooa:!0,value:m}:{Ooa:!1,reason:m};c==0&&b(d)},f=0,g;f<a.length;f++)g=a[f],_.ywa(g,_.Si(e,f,!0),_.Si(e,f,!1));else b(d)})};qDd=function(){};qDd.prototype.vn=function(){};
var rDd=function(a,b){this.H=a;this.O=b};rDd.prototype.AJ=function(a){this.O.vn(a);return this.H.AJ(a)};
var sDd=function(a){this.H=a},uDd=function(){this.O=this.ma=!1;this.H=null;for(var a=this.W=this.V=0;a<_.aAb.length;a++){var b=_.aAb[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;tDd(this,b);break}}},tDd=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})};
uDd.prototype.AJ=function(a){if(this.ma&&this.O){var b=a.uT()||new _.Vg,c=_.K(a,_.hC,5)||new _.hC,d=_.K(a,nDd,3)||new nDd;a=_.Kj(a,_.byb,1,_.Ff());a=_.n(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.Fc(),session_info:b.Fc(),session_invariants:c.Fc(),client_info:d.Fc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};var vDd=function(){_.ZB.call(this)};_.P(vDd,_.ZB);vDd.prototype.nQ=function(){return _.Cra(_.K(this.H,kDd,7),1)==1};var wDd=new _.Kwb("high_frequency_builder");var xDd=function(a,b,c){a=new _.zm(a);c.Sa(a);var d=new _.Lg(c);c.Sa(d);d.listen(a,"tick",b);a.start()};var yDd=function(){_.ZB.call(this)};_.P(yDd,_.ZB);var zDd=function(a,b,c){var d=Date.now()*1E3;if(0==b){b=new _.WB;var e=new _.Rwb;e=_.Tg(e,1,d);_.Q(b,_.Rwb,1,e);_.I(b,3,1);_.Q(a.H,_.WB,8,b);_.Tg(a.H,12,c);_.Tg(a.H,13,c);_.Tg(a.H,4,d);_.Tg(a.H,3,c)}else 1==b&&(b=new _.WB,e=new _.Qwb,d=_.Tg(e,1,d),_.Q(b,_.Qwb,2,d),_.I(b,3,2),_.Q(a.H,_.WB,8,b),_.Tg(a.H,12,c),_.Tg(a.H,3,c));return a},ADd=new _.Kwb("system_builder");var BDd=function(a,b){_.ui.call(this);this.O=a;this.H=new _.Jnb(b);this.Sa(this.H);this.Rb=new _.Lg(this);this.Sa(this.Rb);this.H.Jy()&&this.Rb.listen(this.H,"visibilitychange",this.V)};_.P(BDd,_.ui);BDd.prototype.V=function(){if(this.O.LZ()){var a=this.H.hJ()?102001:102E3;a=this.O.CR(a,0);this.O.rr(a)}};var CDd=function(a,b,c){c=c===void 0?!1:c;_.ui.call(this);this.H=a;this.O=b;this.Sa(this.O);this.W=c;this.V=null};_.P(CDd,_.ui);_.h=CDd.prototype;_.h.rr=function(a){a=DDd(this.H,a);var b=this.O;b.H.H.yc()>=3&&b.O.qe();return new sDd(a)};_.h.CR=function(a,b){a=zDd(EDd(this.H,a),b,this.H.ma++);b==1&&this.H.ua.add(a);return a};_.h.KZ=function(){return this.H.O};
_.h.Kka=function(a){var b=this.H,c=_.$B(a,ADd),d=b.ma++,e=_.K(_.K(c.H,_.WB,8),_.Qwb,2),f=Date.now()*1E3;_.Tg(e,2,f);_.Tg(c.H,13,d);b.ua.remove(_.Uj(a.H,12))};_.h.Lka=function(){var a=this.O;if(!a.ma||a.H.V){for(var b=[],c=_.n(a.Ga),d=c.next();!d.done;d=c.next())if(d=d.value,d=d())d=DDd(a.H,d),b.push(d);b.push(FDd(a.H,691).build());b=GDd(a.H,b);a.ua.AJ(b)}a.W();this.H.Ba=!1;this.V&&(_.Yc(this.V),this.V=null)};
_.h.Nka=function(){var a=this.H,b=FDd(a,716);HDd(a,b);b=b.build();a.H.add(b);a.Ga=!0;a.Ba=!0;this.O.initialize();this.O.O.qe();this.W&&(this.V=new BDd(this))};_.h.Mka=function(){this.O.W();return _.pDd(Array.from(this.O.V)).then()};_.h.LZ=function(){var a=this.H;return a.Ga&&a.Ba&&!0};var IDd=function(a,b,c,d,e){_.ui.call(this);this.H=a;this.Da=b;this.ua=c;this.O=new _.jA(this.W,3E3,this);this.V=new Set;this.ma=d;this.Ba=e||6E4;this.Ga=[]};_.P(IDd,_.ui);IDd.prototype.initialize=function(){xDd(this.Ba,this.O.qe,this.O);xDd(36E5,this.Ia,this)};IDd.prototype.W=function(){var a=this;if(this.H.H.yc()!=0&&(!this.ma||this.H.V)){var b=JDd(this.H),c=this.Da.AJ(b);c&&(_.km(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
IDd.prototype.Ia=function(){var a=this.H,b=FDd(a,1153).build();a.H.add(b);this.O.qe()};var KDd=function(a){_.ui.call(this);this.H=a;this.Sa(this.H)};_.P(KDd,_.ui);_.h=KDd.prototype;_.h.rr=function(a){a=this.H.rr(a);this.Mka();return a};_.h.CR=function(a,b){return this.H.CR(a,b)};_.h.KZ=function(){return this.H.KZ()};_.h.Kka=function(a){return this.H.Kka(a)};_.h.Lka=function(){return this.H.Lka()};_.h.Nka=function(){return this.H.Nka()};_.h.Mka=function(){return this.H.Mka()};_.h.LZ=function(){return this.H.LZ()};var LDd=function(){};LDd.prototype.p5=function(){return new vDd};var MDd=function(){this.H=[]};MDd.prototype.add=function(a){this.H.push(a)};MDd.prototype.yc=function(){return this.H.length};var NDd=function(){this.H={}};NDd.prototype.add=function(a){var b=_.Uj(a.H,12);this.H[b]=a};NDd.prototype.remove=function(a){delete this.H[a]};var ODd=function(a,b){this.O=a;this.Ia=b;this.ma=1;this.Da=this.W=null;this.ua=new NDd;this.H=new MDd;this.Ba=this.Ga=this.V=!1},EDd=function(a,b){a=_.$B((new _.ZB).initialize(new _.byb,a.Ia),ADd);_.Tg(a.H,10,b);return a},DDd=function(a,b){_.Tg(b.H,6,a.W);b=b.build();a.H.add(b);a.V=!0;return b},JDd=function(a){var b=a.H,c=b.H;b.H=[];return GDd(a,c)},GDd=function(a,b){var c=new _.bAb;var d=a.O.W.clone();c=_.Q(c,_.Vg,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.Q(c,_.hC,5,d);var e;d=a.O;for(var f,g=b.length-
1;g>=0;g--){var k=_.K(b[g],_.lxb,5);if(k&&_.K(k,_.Twb,1)){k=_.K(k,_.Twb,1);_.Ek(k,12)&&e===void 0&&(e=_.N(k,12));k=_.K(k,hDd,20);if(k!==void 0&&f===void 0){f=new lDd;var l=_.wh(k,2);l!==void 0&&_.J(f,2,l);k=_.wh(k,1);k!==void 0&&_.J(f,1,k)}if(e!==void 0&&f!==void 0)break}}d=d.H?d.H.clone():null;if(e!==void 0||f!==void 0)d||(d=new nDd),e!==void 0&&_.J(d,6,e),f!==void 0&&_.Q(d,lDd,13,f);(e=d)&&_.Q(c,nDd,3,e);a=a.O.ma.clone();_.Q(c,oDd,4,a);_.Mj(c,1,b);return c},FDd=function(a,b){var c=zDd(EDd(a,b),
0,a.ma++);var d=a.ua;var e=Object.keys(d.H);if(e.length==0)d=null;else{for(var f=[],g=0;g<e.length;g++){var k=Number(e[g]),l=d.H[k],m=new iDd;k=_.Tg(m,1,k);l=_.Yg(l.H,10);l=_.Tg(k,2,l);f.push(l)}d=f}b!=716&&(b=a.Da,_.Tg(c.H,6,a.W),e=new jDd,b=_.Tg(e,1,b),d&&_.Mj(b,2,d),d=_.aC(c),_.Q(d,jDd,3,b));HDd(a,c);return c},HDd=function(a,b){a.W=_.Nj(b.H,12);a.Da=_.Nj(_.K(_.K(b.H,_.WB,8),_.Rwb,1),1)};var PDd=function(){};PDd.prototype.p5=function(){return new yDd};var QDd=function(){this.H=this.O=null};QDd.prototype.build=function(){this.H==null&&(this.H=new _.ayb);var a=new PDd;this.H.H[ADd.getId()]=a;a=new LDd;this.H.H[wDd.getId()]=a;a=this.H;var b=this.O;if(!_.oj(_.RDd(b),_.Qzb,1)){var c=_.RDd(b),d=new _.Qzb;_.Q(c,_.Qzb,1,d)}b=_.K(_.RDd(b),_.Qzb,1);a.O=b;b=_.yc(a.V);for(c=0;c<b.length;c++)b[c].O(a.O);return new ODd(this.O,this.H)};var SDd;SDd=function(){this.W=new _.Vg;this.O=null;this.ma=new oDd;_.I(this.ma,1,6);this.H=this.V=null};_.TDd=function(a,b){_.Tg(a.W,2,b);return a};_.UDd=function(a,b){a.V==null&&(a.V=new _.Ezb,_.Xzb(_.RDd(a),a.V));_.Fzb(a.V,b)};_.RDd=function(a){a.O==null&&(a.O=new _.hC);return a.O};_.VDd=function(a){a.H==null&&(a.H=new nDd);return a.H};_.WDd=function(){this.H=this.ma=null;this.W=new SDd;this.V=null;this.ua=this.Ba=!1;this.O=null;this.Da=new qDd};_.XDd=function(a,b){a.ma=b;return a};_.YDd=function(a,b){a.H=b;return a};_.ZDd=function(a,b){a.V=b;return a};_.$Dd=function(a,b){_.L(a.W.W,1,b);return a};_.aEd=function(a,b){_.I(a.W.W,6,b);return a};
_.WDd.prototype.build=function(){var a=new QDd;a.O=this.W;this.V!=null&&(a.H=this.V);a=a.build();if(this.ua){var b=this.Da;this.H=this.ma=b=new rDd(new uDd,b)}b=new IDd(a,this.ma,this.H,this.Ba,this.O);a=new CDd(a,b,!1);this.ua&&(a=new KDd(a));return a};
}catch(e){_._DumpException(e)}
try{
var bEd,dEd,fEd,iEd,jEd,kEd,lEd,mEd,rEd,qP,QEd,REd,SEd,sP,aFd,cFd,dFd,fFd,hFd,mFd,qFd,rFd,sFd,uFd,yFd,BFd,DFd,LFd,vFd,PFd,OFd,YFd,ZFd,$Fd,gGd,hGd,iGd,jGd,kGd,lGd,mGd,nGd,oGd,pGd,qGd,hEd,TGd,UGd,YGd,ZGd,$Gd,gEd,bId,oEd,cId,tId,vId,IEd,$Ed,zId,KId,NId,QId,TId,VId,WId,XId,YId,$Id,bJd,cJd,fJd,gJd,hJd,iJd,jJd,kJd,lJd,mJd,nJd,oJd,NEd,sJd,uJd,tJd,TEd,vJd,VEd,WEd,XEd,YEd,ZEd,wJd,yJd,CJd;bEd=function(a,b,c){a=b?_.eb(a):_.Sba(a);return a==null?c?0:void 0:a|0};
_.cEd=function(a,b,c){c=_.Ja(a,b,c);return c<0?(_.va(a,b,-(c+1)),!0):!1};dEd=function(a){a.Psc=!0;return a};fEd=function(){var a=eEd;return dEd(_.Rb(function(b,c){return b===void 0?!0:a(b,c)}))};_.xO=function(a){if(a){var b=a.getMimeType();b&&_.Rq(a,b.toLowerCase());gEd(a,_.Kj(a,hEd,58,_.Ff()).map(function(c){var d=c.getMimeType();d&&_.L(c,1,d.toLowerCase());return c}))}};
iEd=function(a,b){a=_.n(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.n(c.value);c=d.next().value;d=d.next().value;if(Array.isArray(d)||typeof d!=="object")_.yl(b,c,d);else{d=_.n(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.n(e.value);e=f.next().value;f=f.next().value;_.yl(b,[c,e].join("."),f)}}}};jEd=function(a,b){b&&iEd({openDrive:!!_.N(b,2,!1),reason:_.Ae(b,1)||0,syncType:_.Ae(b,3)||0,errorRecovery:!!_.N(b,4,!1)},a)};
_.yO=function(a,b,c){var d=new _.Gr;var e=_.Yk(_.yO);d=_.L(d,20,e);a=_.$N(d,a).Eb(b?b:2);c&&_.rO(a,c);return a};_.zO=function(a){var b;(0,_.Gka)(a)?b=new _.wf(null,a):_.UN(a)?b=a:b=_.ca.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):typeof a==="string"?Error(a):Error("yg`"+a);b.stack||(b.stack=_.Yk(_.zO));return b};kEd=function(a){return _.Kr(a)===7||_.Ae(a,14)===24&&(a=_.Rj(a,15),a===503||a===429)?!0:!1};
lEd=function(a,b){a.fields.push(291,292,294,296,297);b&&a.fields.push(293,295,301)};mEd=function(a){var b=!1;a.fields.includes(136)&&(a.fields.push(256),b=!0);a.fields.includes(19)&&(a.fields.push(62,150),b=!0);a.fields.includes(20)&&(a.fields.push(3),b=!0);a.fields.includes(194)&&(lEd(a,!0),b=!0);a.fields.includes(290)&&(lEd(a,!1),b=!0);a.fields.includes(273)&&(a.fields.push(260,270,261,269,264,268,267,262,265,263,271,266),b=!0);a.fields=a.fields.filter(function(c){return c!==42&&c!==18});return b};
_.nEd=function(a){var b,c=(b=a.anonymous)!=null?b:!1;b=mEd(a);var d=c?1:0;c=a.fields.filter(function(e){return _.f0a.has(e)}).flatMap(function(e){return _.f0a.get(e).get(d)});a.fields.push.apply(a.fields,_.Eb(c));(b||c.length>0)&&_.Ga(a.fields);return a.fields};
_.pEd=function(a,b){var c=new _.AO;b&&_.aw(c,"kind");a.Jqc&&_.aw(c,"searchResultSource");b=_.n(a.fields);for(var d=b.next();!d.done;d=b.next())if(d=d.value,!_.n0a.includes(d)&&!_.o0a.includes(d)&&_.g0a.has(d)){var e=_.g0a.get(d);if(typeof e==="function")d=c,e=e(a),_.aw(d,e);else for(d=_.n(e.split(",")),e=d.next();!e.done;e=d.next())oEd(c,e.value.split("/"),0)}return c};_.qEd=function(a){return _.pEd(a,!0).toString()};rEd=function(a){return a<10?"0"+a:""+a};
_.PEd=function(a){if(a instanceof _.BO)return"request access";if((0,_.sEd)(a))return"account and user settings";if(a instanceof _.CO)return"admin migrate to TD";if(a instanceof _.DO)return"authorize app";if(a instanceof _.EO)return"copy item";if(a instanceof _.FO)return"change category links";if(a instanceof _.WN)return"create item";if(a instanceof _.GO)return"create ws";if("function"==typeof _.HO&&a instanceof _.HO)return"cse copy item";if("function"==typeof _.IO&&a instanceof _.IO)return"delete app";
if("function"==typeof _.JO&&a instanceof _.JO)return"delete backup";if(a instanceof _.KO)return"delete item";if("function"==typeof _.LO&&a instanceof _.LO)return"delete permission";if(a instanceof _.MO)return"delete revision";if(a instanceof _.NO)return"delete TD";if(a instanceof _.oF)return"delete pref";if(a instanceof _.OO)return"delete ws";if(a instanceof _.PO||a instanceof _.QO)return"empty trash";if(a instanceof tEd)return"find by ID";if(a instanceof _.lr)return"find by IDs";if(a instanceof _.uEd)return"item export start";
if("function"==typeof _.vEd&&a instanceof _.vEd)return"get app";if((0,_.RO)(a))return"homepage activity";if((0,_.SO)(a)){if(_.Sj(a,11)&&_.Sj(a,10))return"homepage suggested files and folders";if(!_.Sj(a,11)&&_.Sj(a,10))return"homepage suggested files";if(_.Sj(a,11)&&!_.Sj(a,10))return"homepage suggested folders"}else{if("function"==typeof _.TO&&a instanceof _.TO)return"insert app";if("function"==typeof _.UO&&a instanceof _.UO)return"insert permission";if((0,_.VO)(a)&&_.qi(a))return"quick access item query";
if(a instanceof _.sO)return _.qi(a.ee())?"quick access item query":"item query";if("function"==typeof _.WO&&a instanceof _.WO)return"list android backup items request";if(a instanceof _.XO){var b="unknown";switch(_.Ae(a,1)){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+"]"}if(a instanceof _.lBd)return"list backups";if(a instanceof _.fO)return"list changes";if(a instanceof _.YO)return"list permissions";
if("function"==typeof _.wEd&&a instanceof _.wEd)return"list revisions";if(a instanceof _.ZO)return"migrate to shared drive";if(a instanceof _.eP)return"partial download item";if(a instanceof _.fP)return"people api";if(a instanceof _.m0c)return"get published category";if(a instanceof xEd)return"publish activity event";if("function"==typeof _.yEd&&a instanceof _.yEd)return"get remaining changes";if(a instanceof _.gP)return"remove item";if("function"==typeof _.hP&&a instanceof _.hP)return"reparent item";
if(a instanceof _.zEd)return"restore item";if(a instanceof _.SAd)return"list suggested workspace items";if(a instanceof _.QN)return"list suggested workspaces";if("function"==typeof _.iP&&a instanceof _.iP)return"update app";if(a instanceof _.jP)return"update category metadata";if(a instanceof _.eO)return"update item";if(a instanceof _.kP)return"update revision";if(a instanceof _.lP)return"update TD";if(a instanceof _.pF)return"update pref";if(a instanceof _.mP)return"update ws";if(a instanceof _.nP)return"get account";
if(a instanceof _.YN)return"get workspace";if(a instanceof _.AEd)return"list activity";if(a instanceof _.BEd)return"list category metadata";if(a instanceof _.CEd)return"create TD";if("function"==typeof _.DEd&&a instanceof _.DEd)return"item export cancel";if("function"==typeof _.EEd&&a instanceof _.EEd)return"item export status";if(a instanceof _.FEd)return"generate cse token";if("function"==typeof _.GEd&&a instanceof _.GEd)return"get largest change ID";if(a instanceof _.oP)return"multipart upload";
if(a instanceof _.HEd)return"list published categories";if(a instanceof IEd)return"init resumable upload";if(a instanceof JEd)return"resumable upload chunk";if(a instanceof _.KEd)return"resumable upload";if(a instanceof _.zN)return"get TD";if("function"==typeof _.LEd&&a instanceof _.LEd)return"move TD preflight";if(a instanceof _.pP)return"list TDs";if("function"==typeof _.MEd&&a instanceof _.MEd)return"get TD stats";if(a instanceof NEd)return"test connection";if("function"==typeof _.OEd&&a instanceof
_.OEd)return"list workspaces"}return"unknown"};qP=function(a,b,c){c!=null&&(Array.isArray(c)?c.length>0&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};QEd=function(a){if(a instanceof _.WN||a instanceof _.oP||a instanceof _.KEd||a instanceof IEd||a instanceof JEd)return(new _.rP).Tb(8);throw Error("Jg");};
REd=function(a){if(a instanceof _.eO){var b=_.yj(_.yj(a.clone(),1),17);b=_.Rh(b,_.HBd)}else b=!1;b||(a instanceof _.eO?(a=_.yj(_.yj(a.clone(),1),17),b=_.Rh(a,_.IBd)||_.Rh(a,_.JBd)):b=!1);return b?!1:!0};SEd=function(a){return _.fc.apply(null,_.Eb(a.map(function(b){return _.dc(b)})))};sP=function(a,b){return SEd(a)(b)};_.UEd=function(a){return sP(TEd,a)?REd(a):!1};
aFd=function(a,b){return sP(VEd,a)||b&&(_.N(b,54,!1)&&sP(WEd,a)||sP(XEd,a)&&!_.tP(a)||_.N(b,56,!1)&&_.tP(a)||_.N(b,57,!1)&&sP(YEd,a)||!(!_.N(b,53,!1)||sP(WEd,a)||sP(XEd,a)||sP(ZEd,a)||_.tP(a)||sP(YEd,a)||sP($Ed,a))||a.constructor===_.fP)?!0:!1};_.bFd=function(a){switch(a){case 2:return 2;case 1:return 1;default:return 0}};cFd=function(){return _.ca.location.origin?_.ca.location.origin:_.ca.location.protocol+"//"+_.ca.location.host};
dFd=function(a){if(_.Bc(a))return"\r\n";var b="";_.uc(a,function(c,d){b+=d+": "+c+"\r\n"});return b};_.eFd=function(a){var b=b===void 0?!1:b;var c;return _.Li(function(d){return d.H==1?(c={},b?d.Rc(2):_.Di(d,0,2)):d.return(Promise.race([a,Promise.resolve(c)]).then(function(e){return e!==c},function(){return!0}))})};fFd=function(a,b){a=a.concat(b);_.Ga(a);return a};hFd=function(a){return _.gFd(a.totalTimeMs)+"\t|\t"+a.level+"\t|\t"+a.logName+"\t|\t"+a.msg};
_.gFd=function(a){return a>1E3?(a/1E3).toFixed(1)+"s":a+"ms"};_.lFd=function(){var a=new iFd;a.V=!0;var b=new jFd(a),c=new kFd;a.addHandler(c.V.bind(c));return{Td:b,iL:c,log:a}};
mFd=function(a,b){return new Promise(function(c){for(var d=[],e={J8:0};e.J8<a.length;e={J8:e.J8},e.J8+=b)_.Am(function(f){return function(){d.push(_.rcc(a.slice(f.J8,f.J8+b)))}}(e));_.Am(function(){for(var f=0,g=0;g<d.length;g++)f+=d[g].length;f=new Uint8Array(f);for(var k=g=0;k<d.length;k++)for(var l=0;l<d[k].length;l++)f[g]=d[k].charCodeAt(l),g++;c(f)})})};_.pFd=function(a,b,c,d,e){var f=f===void 0?!1:f;var g=new nFd(a);(new _.oFd(a,b,c,g,d,e,f)).Cj();return g};
qFd=function(a){a=_.Hr(_.rO((new _.Gr).Eb(2),39),"Multiple resource key definitions found for itemId "+a);throw _.TN(a);};rFd=function(a,b,c){throw new _.wf(a,_.rO(_.Ir(new _.Gr,"URLs:\r\n"+b.join("\r\n")),c));};sFd=function(a){return a.map(function(b){b=b.uri.toString();var c=b.indexOf("?");return c>0?b.substring(0,c):b})};uFd=function(a){var b={};_.Jk(a,1)&&(b.namespace=tFd[_.ri(a,1,0)]);_.Hk(a,2)?b.userId=_.z(a,2):b.email=a.getEmail();return b};
yFd=function(a){var b={};_.oj(a,_.Np,1)&&(b.creationTime=vFd(a.getCreationTime()));_.oj(a,_.Np,2)&&(b.updatedTime=vFd(_.K(a,_.Np,2)));_.Hk(a,3)&&(b.postId=_.z(a,3));_.oj(a,uP,4)&&(b.author=uFd(a.jn()));if(_.Kj(a,uP,5,_.Ff()).length>0){b.mentionedUsers=[];for(var c=_.n(_.Kj(a,uP,5,_.Ff())),d=c.next();!d.done;d=c.next())b.mentionedUsers.push(uFd(d.value))}_.oj(a,wFd,6)&&(c=_.K(a,wFd,6),d={},_.Jk(c,1)&&(d.signatureVersion=xFd[_.ri(c,1,0)]),_.Hk(c,2)&&(d.signatureWithDocId=_.z(c,2)),_.Hk(c,3)&&(d.signatureWithoutDocId=
_.z(c,3)),_.Hk(c,4)&&(d.mutableContentHash=_.z(c,4)),_.Hk(c,5)&&(d.immutableContentHash=_.z(c,5)),b.notificationsCommentSignature=d);_.oj(a,uP,7)&&(b.assignee=uFd(_.K(a,uP,7)));return b};BFd=function(a){var b=a.Ffa(),c=a.zca(),d={encryptionState:"encrypted"},e,f;d.decryptionMetadata={wrappedKey:_.Ge(a.tqb()),kaclsId:(f=a.J2b())!=null?f:void 0,aes256GcmChunkSize:zFd[b?b.H():0],keyFormat:AFd[c?c.H():0],encryptionResourceKeyHash:_.Ge((e=a.K2b())==null?void 0:_.Xca(e))};return d};
DFd=function(a,b){var c={};_.Xi(_.gl(a.Ag()))||(c.title=a.Ag());_.CFd(c,a.FH());_.wh(a,8)&&(c.description="",c.labels={starred:!1});b&&(c.clientEncryptionDetails=BFd(b));_.Hk(a,14)&&(c.mimeType=a.getMimeType());if(a=_.E(a,10))c.id=a;return c};
LFd=function(a,b){var c={};_.Xi(_.gl(a.Ag()))||(_.E(a,12)?c.originalFilename=a.Ag():c.title=a.Ag());if(_.Hk(a,1)&&(c.mimeType=a.getMimeType(),a.kd()&&_.Tia(a.getMimeType())&&b&&(c.clientEncryptionDetails=BFd(b),_.oj(a,EFd,35)))){b=c.clientEncryptionDetails;var d=_.K(a,EFd,35),e={};_.Hk(d,1)&&(e.fileId=_.z(d,1));e.notification=[];d=_.n(_.Kj(d,FFd,2,_.Ff()));for(var f=d.next();!f.done;f=d.next()){var g=e.notification,k=g.push;f=f.value;var l={};_.Jk(f,1)&&(l.eventType=GFd[_.ri(f,1,0)]);_.Hk(f,2)&&(l.headPostId=
_.z(f,2));_.Hk(f,3)&&(l.suggestionId=_.z(f,3));_.Hk(f,4)&&(l.notifyingReplyId=_.z(f,4));_.oj(f,HFd,5)&&(l.headPost=yFd(_.K(f,HFd,5)));l.replies=[];for(var m=_.n(_.Kj(f,HFd,6,_.Ff())),q=m.next();!q.done;q=m.next())l.replies.push(yFd(q.value));_.Kj(f,uP,7,_.Ff()).length>0&&(l.newMentionedUsers=_.Kj(f,uP,7,_.Ff()).map(uFd));k.call(g,l)}b.notificationPayload=e}_.Jk(a,36)&&(c.editSource=IFd[_.Ae(a,36)]);_.CFd(c,a.FH());if(b=a.kd())c.id=b;_.E(a,16)&&(c.embeddingParent=_.E(a,16));a.Bqa()&&(c.shortcutDetails=
{targetId:a.Bqa()});typeof _.Nj(a,26)==="number"&&(c.modifiedDate=_.JFd(_.KFd(_.Nj(a,26)||0)));return c};_.CFd=function(a,b){b.length&&(a.parents=b.map(function(c){return{id:c}}))};vFd=function(a){var b=(_.Sj(a,2)%1E6).toString().padStart(6,"0");return _.Pp(a).toISOString().replace(/Z$/,b+"Z")};
_.vP=function(a,b,c,d){if(b&&b.length&&c){c=a.concat(MFd(c,b));var e=e===void 0?!1:e;a=new Map;b=[];c=_.n(c);for(var f=c.next();!f.done;f=c.next()){f=f.value;var g=f.getId();a.has(g)?e&&a.get(g)!==_.E(f,2)&&qFd(g):(a.set(g,_.E(f,2)),b.push(f))}e=b}else e=a;e.length&&(e=_.hvd(e),e.length&&(d["X-Goog-Drive-Resource-Keys"]=e))};
PFd=function(a,b,c){var d,e,f,g;return _.Li(function(k){switch(k.H){case 1:if(!a.O_){d=a.file;k.Rc(2);break}return _.Di(k,a.O_(0,a.file.size),3);case 3:d=k.O;case 2:return e=d,_.Fi(k,4),_.Di(k,NFd(e),6);case 6:f=k.O;var l=k.return,m=f;var q=a.request;q=(0,_.wP)(q)?"files"+(_.E(q,12)?"/"+_.E(q,12):""):"files/"+q.Cr()+"/copy";q=new _.Rg(q);var r=OFd(a.request,b);iEd(r,q);jEd(q,a.request.Hka());r=a.request;var t=a.metadata;var u=(0,_.wP)(r)?LFd(r,t):DFd(r,t);t=_.Ng();r={};r=(r["content-type"]=_.ku('multipart/related; boundary="%s"',
t),r);var v=m.indexOf(",");m=v>=0?m.substring(v+1):"";u=JSON.stringify(u);v={};v=(v["content-type"]="application/json; charset=UTF-8",v);var x=a.request,y=m.length,C={};C=(C["content-transfer-encoding"]="base64",C);y&&y>0&&(C["content-length"]=""+y);(x=x.getMimeType())&&(C["content-type"]=x);x=a.request;(0,_.wP)(x)?_.vP(_.Kj(x,_.rq,28,_.Ff(_.wg)),[],null,r):(x=x.FH().concat([x.Cr()]),_.vP([],x,c,r));t="--"+t;t=t+"\r\n"+dFd(v)+"\r\n"+u+"\r\n"+t+"\r\n"+dFd(C)+"\r\n"+m+"\r\n"+t+"--";m=a.request;m=(0,_.wP)(m)&&
_.Hk(m,12)?"PUT":"POST";return l.call(k,{api:2,headers:r,method:m,uri:q,body:t});case 4:throw l=g=_.Ii(k),l instanceof _.BCd?(k=_.Hr(new _.Gr,"fs.Error: "+l.message),l=(l=l.name)?_.bBd.get(l)||25:38,_.rO(k,l),k=_.TN(k)):k=_.zO(l),k;}})};
OFd=function(a,b){var c={uploadType:"multipart",supportsTeamDrives:!0};c.fields=_.qEd({fields:_.xP(b).filter(function(d){return d!=194}),anonymous:!1});(0,_.wP)(a)?(c.pinned=!!_.N(a,13,!1),_.Ek(a,8)&&(c.convert=a.A7()),_.Hk(a,34)&&(c.precondition=_.E(a,34))):(0,_.QFd)(a)&&(c.useProvidedMedia=!0);return c};_.RFd=function(a,b){_.N(a,3,!1)&&(b.enforceSingleParent=!0)};
_.SFd=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Math.min(Date.now()-_.oa(a).pMc,2147483647)):b.retryCount=0};
_.XFd=function(a,b,c,d,e,f){var g=a.api===void 0?0:a.api,k=a.yh===void 0?{}:a.yh,l=a.requestHeaders===void 0?{}:a.requestHeaders,m=a.method===void 0?"GET":a.method,q=a.Kh,r=a.json,t=a.body,u=b.fR,v=b.Bl;b=b.oKc;a=new _.Rg(a.Dg);v&&_.SFd(d,k);if(g===0){u||q&&_.Ae(q,1)||f==null||_.TFd(f,74438989);var x;!l["x-goog-ext-525001598-jspb"]&&!b&&((x=_.br(e))==null?0:_.N(x,73,!1))&&(d=q?q.clone():new _.Se,_.Bj(d,_.UFd,12).Eb(2),d=_.VFd(d),l["x-goog-ext-525001598-jspb"]=_.WFd(d.Fc()))}g===14&&q&&(q&&_.Ae(q,
1)||f==null||_.TFd(f,74438989),d=q.clone(),_.Bj(d,_.UFd,12).Eb(2),d=_.VFd(d),l["x-goog-ext-472780938-jspb"]=_.WFd(d.Fc()),_.Ae(q,9)===2&&(l["x-goog-ext-174067345-bin"]="CgIIAA=="),l["accept-language"]=_.yP(_.hO(e)));k.alt==="protojson"&&(c.aEc=!0);[10,12,13,14].includes(g)||jEd(a,q);(c=_.Zg(e,62))&&(l["X-Goog-Drive-Client-Version"]=c);iEd(k,a);if(a.toString().length>=16384)throw f&&_.TFd(f,220919404),new _.wf("BuildXhrRequest: URI was longer than 16384 bytes (b/220919404)");return{api:g,headers:l,
method:m,uri:a,body:r?JSON.stringify(r):t}};
YFd=function(a,b,c,d){var e={},f={},g="function"==typeof _.HO&&a instanceof _.HO?a.H:a;e.fields=_.qEd({fields:d,anonymous:_.NN(_.hO(c)),vK:_.zP(c)});if(d=_.E(g,9))e.revisionId=d;e.convert=g.A7();f["content-type"]="application/json";d=g.FH().concat([g.Pb()]);_.vP([],d,b,f);e.supportsTeamDrives=!0;_.RFd(c,e);return{Qf:{method:"POST",Dg:"files/"+g.Pb()+"/copy",json:DFd(g,"function"==typeof _.HO&&a instanceof _.HO?a.metadata:void 0),Kh:g.Hka(),requestHeaders:f,yh:e},options:{Bl:!0}}};
ZFd=function(a,b,c,d){var e={},f={},g=!!_.E(a,12),k="files";g&&(k+="/"+_.E(a,12),e.pinned=!!_.N(a,13,!1));_.Ek(a,8)&&(e.convert=a.A7());_.Hk(a,34)&&(e.precondition=_.E(a,34)||void 0);e.fields=_.qEd({fields:d,anonymous:_.NN(_.hO(c)),vK:_.zP(c)});d=LFd(a);f["content-type"]="application/json";e.supportsTeamDrives=!0;_.RFd(c,e);_.vP(_.Kj(a,_.rq,28,_.Ff()),a.FH().concat([_.E(a,16),_.E(a,21),_.E(a,23)]),b,f);return{Qf:{method:g?"PUT":"POST",Dg:k,json:d,Kh:a.Hka(),requestHeaders:f,yh:e},options:{Bl:!0}}};
$Fd=function(a,b,c,d,e,f,g){var k={},l={},m=_.Rj(a,1);a=_.K(a,_.lr,2);var q=a.Lh()[m];k.fields=_.qEd({fields:e,anonymous:_.NN(_.hO(c)),vK:_.zP(c)});k.supportsTeamDrives=!0;_.N(c,14,!1)&&(k.useLegacyDomainPermissionBehavior=!1);f(q,k);_.wh(a,7)&&(d.F1a=!0);g.nV.BF.has(241)&&(k.includeBadgedLabels=!0);_.vP(_.Kj(a,_.rq,11,_.Ff()).filter(function(r){return _.sq(r)===q}),[q],b,l);return{Qf:{Dg:"files/"+q,Kh:a.Zk(),requestHeaders:l,yh:k},options:{Bl:!0}}};
gGd=function(a,b,c,d,e){var f={},g={},k=void 0,l=void 0;_.N(_.aGd(c),71,!1)?(k="POST",l=a.Lh(),l=bGd(l),d.length>0&&cGd(l,dGd(new eGd,d)),l=l.Fc()):(f.ids=a.Lh(),f["options.expectedParentIds"]=d);g["x-goog-fieldmask"]=fGd(_.nEd({fields:e,anonymous:_.NN(_.hO(c))}));g["content-type"]="application/json+protobuf";g["accept-language"]=_.yP(_.hO(c));var m;d=(m=a.Zk())!=null?m:new _.Se;c=_.ri(_.aGd(c),43,0);_.I(d,9,_.bFd(c));c=a.Lh();var q=new Set(c);a=_.Kj(a,_.rq,11,_.Ff()).filter(function(r){r=r.getId();
return r!==null?q.has(r):!1});_.vP(a,c,b,g);return{Qf:{method:k,api:14,Dg:"/v1/items:get",Kh:d,body:l,requestHeaders:g,yh:f},options:{}}};hGd=function(a,b){var c={},d={},e=a.kd(),f=a.Jm();e?(c.fileId=e,_.K(a,_.rq,3)&&_.vP([_.K(a,_.rq,3)],[e],b,d)):f&&(c.parentId=f);c.role=a.Wi()||"writer";return{Qf:{Dg:"files/generateCseToken",Kh:_.K(a,_.Se,4),requestHeaders:d,yh:c}}};
iGd=function(a,b,c,d){var e={},f={},g=a.ee(),k=_.Fk(a,2)?_.Sj(a,2):-1;d.length>0&&c.ECc&&(d=c.ECc(),d.end&&(!k||d.end>k)&&(k=d.end));k>-1&&(k="bytes="+k+"-",_.Fk(a,3)&&(k+=_.Sj(a,3)),f.range=k);c.CFb=!0;_.E(g,2)&&(e.revisionId=_.E(g,2));e.alt="media";f["X-Goog-Encode-Response-If-Executable"]="base64";_.wh(g,6)&&(e.cseFetchOnly=!0);_.vP([_.tq((new _.rq).Bb(g.Pb()),_.Zg(g,3))],[g.Pb()],b,f);return{Qf:{Dg:"files/"+g.Pb(),requestHeaders:f,yh:e},options:{fR:!0,Bl:!0}}};
jGd=function(a){var b="files/"+_.E(a,1)+"/publishActivityEvent",c={eventType:_.E(a,2),application:_.E(a,3)};_.Gk(a,4)&&(c.itemVersion=_.Nj(a,4));return{Qf:{Dg:b,method:"POST",json:c,requestHeaders:{"content-type":"application/json"}},options:{Bl:!0,fR:!0}}};
kGd=function(a){var b={},c=a.Oba.O.BPa();c&&(b["content-type"]=c);if(a.H.size<=0)c=void 0;else{var d=a.O;c=d.start;d=d.end;var e=d-1;c=a.Pvb?_.ku("bytes %d-%d/%d",c,e,d):a.Oba.H!=null?_.ku("bytes %d-%d/*",c,e):_.ku("bytes %d-%d/%d",c,e,a.Oba.rz())}c&&(b["content-range"]=c);return{Qf:{api:4,method:"PUT",Dg:a.V,body:a.H.blob,requestHeaders:b},options:{Bl:!0}}};
lGd=function(a,b,c,d){var e={},f={};e.fields=_.qEd({fields:d,anonymous:_.NN(_.hO(c)),vK:_.zP(c)});e.uploadType="resumable";e.supportsTeamDrives=!0;f["content-type"]="application/json";(c=a.getMimeType())&&(f["x-upload-content-type"]=c);a.H.H==null&&a.rz()!=null&&(f["X-Upload-Content-Length"]=""+a.rz());c=a.H.O;var g=d=void 0,k=void 0;(0,_.wP)(c)?(d=(g=!!_.E(c,12))?"PUT":"POST",g="files"+(g?"/"+_.E(c,12):""),e.pinned=!!_.N(c,13,!1),_.Ek(c,8)&&(e.convert=c.A7()),_.Hk(c,34)&&(e.precondition=_.E(c,34)||
void 0),k=LFd(c,a.O),_.vP([],c.FH(),b,f)):(0,_.QFd)(c)&&(d="POST",g="files/"+c.Cr()+"/copy",e.useProvidedMedia=!0,k=DFd(c,a.O),a=c.FH().concat([c.Cr()]),_.vP([],a,b,f));_.Dfa(g,_.ssa);return{Qf:{api:2,method:d,Dg:g,json:k,Kh:c.Hka()||null,requestHeaders:f,yh:e},options:{Bl:!0}}};mGd=function(a){this.Ca=_.p(a)};_.P(mGd,_.w);nGd=function(a,b){return _.L(a,1,b)};oGd=function(a,b){return _.L(a,3,b)};pGd=function(a,b){return _.I(a,5,b)};
qGd=function(a,b){_.Za((0,_.mb)(a.Ca));var c=b.forEach;a=_.Cda(a,7,mGd,bEd);c.call(b,_.Fda,a)};_.rGd=function(a,b){return _.J(a,7,b)};_.sGd=function(a,b){return _.L(a,8,b)};_.tGd=function(a,b){return _.L(a,11,b)};_.UFd=function(a){this.Ca=_.p(a)};_.P(_.UFd,_.w);_.UFd.prototype.getType=function(){return _.ri(this,1,1)};_.UFd.prototype.Eb=function(a){return _.I(this,1,a)};var uGd=function(a){this.Ca=_.p(a)};_.P(uGd,_.w);uGd.prototype.Bg=function(a){var b=_.sb(this,3,_.Oba,3,void 0,!0);_.uba(b,a);return b[a]};
uGd.prototype.vC=function(){return _.sb(this,3,_.Oba,3,void 0,!0).length};uGd.mb=[3];var vGd=function(a){this.Ca=_.p(a)};_.P(vGd,_.w);vGd.prototype.Bg=function(a){return _.Dra(this,3,a)};vGd.prototype.vC=function(){return _.Era(this,3)};vGd.mb=[3];var wGd=function(a){this.Ca=_.p(a)};_.P(wGd,_.w);wGd.prototype.Bg=function(a){return _.Yj(this,3,a)};wGd.prototype.vC=function(){return _.Zj(this,3)};wGd.mb=[3];_.xGd=function(a){this.Ca=_.p(a)};_.P(_.xGd,_.w);
_.xGd.prototype.ob=function(){return _.E(this,1)};_.xGd.prototype.Lb=function(a){return _.L(this,1,a)};_.xGd.prototype.zh=function(){return _.Hk(this,1)};_.yGd=function(a){return _.N(a,2,!1)};_.zGd=function(a,b){return _.Kj(a,_.zHa,5,_.Ff(b))};_.AP=function(a,b){return _.Kj(a,_.vf,12,_.Ff(b))};_.BP=function(a){return _.Xj(a,33,_.Ff())};_.AGd=function(a,b){return _.Kj(a,_.hq,35,_.Ff(b))};_.CP=function(a){return _.ri(a,45,1)};_.DP=function(a){return _.N(a,48,!1)};_.BGd=function(a){this.Ca=_.p(a)};
_.P(_.BGd,_.w);_.CGd=function(a){return _.N(a,2,!1)};_.EP=function(a){return _.N(a,18,!1)};_.yP=function(a){return _.z(a,4,"en")};_.DGd=function(a){this.Ca=_.p(a)};_.P(_.DGd,_.w);_.EGd=function(a,b){return _.J(a,1,b)};_.FGd=function(a,b){return _.J(a,4,b)};_.GGd=function(a,b){return _.J(a,5,b)};_.HGd=function(a,b){return _.J(a,8,b)};_.IGd=function(a,b){return _.J(a,9,b)};_.JGd=function(a,b){return _.J(a,16,b)};_.KGd=function(a,b){return _.J(a,21,b)};_.LGd=function(a,b){return _.J(a,43,b)};
_.FP=function(a){this.Ca=_.p(a)};_.P(_.FP,_.w);_.MGd=function(a,b){return _.L(a,2,b)};hEd=function(a){this.Ca=_.p(a)};_.P(hEd,_.w);hEd.prototype.getMimeType=function(){return _.E(this,1)};hEd.prototype.getUrl=function(){return _.E(this,2)};_.GP=function(a){this.Ca=_.p(a)};_.P(_.GP,_.w);_.GP.prototype.Ie=function(){return _.Rj(this,2)};_.GP.prototype.Vh=function(a){return _.Ug(this,2,a)};_.GP.prototype.nh=function(){return _.Rj(this,3)};_.GP.prototype.Dj=function(a){return _.Ug(this,3,a)};
_.NGd=function(a){this.Ca=_.p(a)};_.P(_.NGd,_.w);_.OGd=function(a){this.Ca=_.p(a)};_.P(_.OGd,_.w);_.h=_.OGd.prototype;_.h.getTitle=function(){return _.z(this,1)};_.h.setTitle=function(a){return _.L(this,1,a)};_.h.Dx=function(){_.lj(this);return _.Uj(this,2)};_.h.dh=function(){return _.z(this,11)};_.h.Kj=function(a){return _.L(this,11,a)};_.PGd=function(a,b){return _.Tg(a,2,b)};_.QGd=function(a,b){_.Q(a,_.NGd,3,b)};_.RGd=function(a,b){_.Q(a,_.NGd,4,b)};_.SGd=function(a){this.Ca=_.p(a)};_.P(_.SGd,_.w);
_.h=_.SGd.prototype;_.h.getId=function(){return _.z(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getSelection=function(){return _.z(this,5)};_.h.Dm=function(a){return _.L(this,5,a)};_.h.Ao=function(){return _.nj(this,5)};_.h.Yb=function(){return _.z(this,7)};_.h.Dd=function(a){return _.L(this,7,a)};_.h.oh=function(){return _.K(this,_.Tp,8)};_.SGd.mb=[6,9];TGd=function(a,b){_.Q(a,_.Tp,8,b)};UGd=function(a,b){_.Mj(a,9,b)};
_.VGd=function(a,b){_.Q(a,_.OGd,10,b)};_.WGd=function(a){this.Ca=_.p(a)};_.P(_.WGd,_.w);_.h=_.WGd.prototype;_.h.getId=function(){return _.z(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getTitle=function(){return _.z(this,5)};_.h.setTitle=function(a){return _.L(this,5,a)};_.WGd.mb=[3];_.XGd=function(a,b){return _.L(a,2,b)};YGd=function(a,b){return _.Mj(a,3,b)};ZGd=function(a,b){return _.Ug(a,2,b)};$Gd=function(a,b){return _.J(a,3,b)};
_.aHd=function(a){this.Ca=_.p(a)};_.P(_.aHd,_.w);_.bHd=function(a,b){return _.Tg(a,3,b)};_.HP=function(a){this.Ca=_.p(a)};_.P(_.HP,_.w);_.HP.prototype.dh=function(){return _.E(this,1)};_.HP.prototype.Kj=function(a){return _.L(this,1,a)};_.HP.prototype.Gm=function(){return _.Yj(this,2)};_.HP.mb=[2];_.IP=function(a){this.Ca=_.p(a)};_.P(_.IP,_.w);_.IP.prototype.Ie=function(){return _.Rj(this,1)};_.IP.prototype.Vh=function(a){return _.Ug(this,1,a)};_.IP.prototype.nh=function(){return _.Rj(this,2)};
_.IP.prototype.Dj=function(a){return _.Ug(this,2,a)};_.cHd=function(a,b){return _.Ug(a,1,b)};_.dHd=function(a,b){return _.Mj(a,2,b)};_.eHd=function(a,b){return _.Mj(a,3,b)};_.JP=function(a,b){return _.yk(a,2,b)};_.fHd=function(a,b){return _.J(a,6,b)};_.gHd=function(a,b){return _.J(a,8,b)};_.hHd=function(a,b){return _.J(a,9,b)};_.iHd=function(a,b){return _.Tg(a,10,b)};_.jHd=function(a,b){return _.Tg(a,12,b)};_.kHd=function(a,b){return _.Q(a,_.Tp,17,b)};_.lHd=function(a,b){return _.Tg(a,23,b)};
_.mHd=function(a,b){return _.J(a,26,b)};_.nHd=function(a,b){return _.J(a,31,b)};_.oHd=function(a,b){return _.J(a,35,b)};_.pHd=function(a,b){return _.J(a,36,b)};_.qHd=function(a,b){_.L(a,43,b)};_.rHd=function(a,b){return _.J(a,44,b)};_.sHd=function(a,b){return _.L(a,45,b)};_.tHd=function(a,b){return _.L(a,46,b)};_.uHd=function(a,b){return _.Q(a,_.Tp,47,b)};gEd=function(a,b){_.Mj(a,58,b)};_.vHd=function(a,b){return _.Tg(a,69,b)};_.wHd=function(a,b){return _.J(a,137,b)};
_.xHd=function(a,b){return _.Mj(a,83,b)};_.KP=function(a,b){return _.Q(a,_.vq,84,b)};_.yHd=function(a,b){return _.Q(a,_.Nq,85,b)};_.zHd=function(a,b){return _.Q(a,_.HP,86,b)};_.AHd=function(a,b){return _.Q(a,_.Tp,91,b)};_.BHd=function(a,b){return _.L(a,92,b)};_.CHd=function(a,b){return _.L(a,93,b)};_.DHd=function(a,b){return _.J(a,94,b)};_.EHd=function(a,b){return _.Q(a,_.Tp,95,b)};_.FHd=function(a,b){return _.Tg(a,96,b)};_.GHd=function(a,b){return _.I(a,101,b)};
_.HHd=function(a,b){return _.J(a,102,b)};_.IHd=function(a,b){return _.J(a,108,b)};_.JHd=function(a,b){return _.L(a,119,b)};_.KHd=function(a,b){return _.Mj(a,125,b)};_.LHd=function(a,b){return _.Mj(a,127,b)};_.MHd=function(a,b){return _.Q(a,_.hIa,132,b)};_.NHd=function(a,b){return _.yk(a,135,b)};_.OHd=function(a,b){return _.L(a,136,b)};_.PHd=function(a,b){return _.Q(a,_.vO,138,b)};_.QHd=function(a,b){return _.Q(a,_.aHd,139,b)};_.RHd=function(a,b){return _.J(a,144,b)};
_.SHd=function(a,b){return _.I(a,145,b)};_.THd=function(a,b){return _.Mj(a,151,b)};_.UHd=function(a,b){return _.Q(a,_.yq,148,b)};_.VHd=function(a,b){return _.Q(a,_.Dq,156,b)};_.WHd=function(a,b){return _.I(a,161,b)};_.aGd=function(a){return _.Bj(a,_.JHa,4)};_.LP=function(a){return _.N(a,10,!1)};_.XHd=function(a,b){return _.Bk(a,27,b)};_.NP=function(a){return _.ri(a,39,0)};_.OP=function(a){return _.N(a,40,!1)};_.zP=function(a){return _.N(a,84,!1)};_.PP=function(a){this.Ca=_.p(a)};_.P(_.PP,_.w);
_.h=_.PP.prototype;_.h.getStatus=function(){return _.ri(this,1,3)};_.h.Tb=function(a){return _.I(this,1,a)};_.h.qf=function(){return _.nk(this,1)};_.h.getMessage=function(){return _.z(this,4)};_.h.Zm=function(){return _.nj(this,4)};_.h.lB=function(){return _.z(this,7)};_.h.TN=function(a){return _.L(this,7,a)};_.YHd=function(a,b){return _.L(a,4,b)};_.ZHd=function(a,b){return _.Ug(a,8,b)};_.$Hd=function(a,b){return _.Q(a,_.Br,7,b)};_.aId=function(a){var b=new _.Gr;return _.Ug(b,26,a)};
_.JFd=function(a){return _.cu.prototype.dE.call(a,!0)+"T"+_.fl(a.getHours(),2)+":"+_.fl(a.getMinutes(),2)+":"+_.fl(a.getSeconds(),2)+_.WCd(a)};bId=function(a){return a.toString()};oEd=function(a,b,c){if(!(c>=b.length)){var d=b[c];a.children[d]!=null||(a.children[d]=new _.ce(d));oEd(a.children[d],b,c+1)}};cId=function(a){this.Ca=_.p(a)};_.P(cId,_.w);var dId=function(a){this.Ca=_.p(a)};_.P(dId,_.w);dId.prototype.b8=function(){return _.Sj(this,1)};dId.prototype.pA=function(){return _.N(this,3)};
var eId=function(a){this.Ca=_.p(a)};_.P(eId,_.w);var fId=function(a,b){_.Ug(a,4,b)},gId=function(a){this.Ca=_.p(a)};_.P(gId,_.w);var hId=function(a){this.Ca=_.p(a)};_.P(hId,_.w);hId.prototype.zl=function(){return _.Sj(this,7)};hId.mb=[4,5,6];var iId=function(a){this.Ca=_.p(a)};_.P(iId,_.w);_.h=iId.prototype;_.h.mf=function(){return _.ri(this,1,0)};_.h.Vj=function(a){return _.I(this,1,a)};_.h.getStatus=function(){return _.ri(this,4,0)};_.h.Tb=function(a){return _.I(this,4,a)};
_.h.qf=function(){return _.nk(this,4)};var jId=function(a){this.Ca=_.p(a)};_.P(jId,_.w);jId.prototype.Ir=function(){return _.ri(this,5,0)};jId.prototype.DJ=function(a){return _.I(this,5,a)};var kId=function(a,b){_.J(a,6,b)},lId=function(a){this.Ca=_.p(a)};_.P(lId,_.w);lId.prototype.pA=function(){return _.N(this,1)};var mId=function(a){this.Ca=_.p(a)};_.P(mId,_.w);mId.prototype.pA=function(){return _.N(this,2)};
var nId=function(a,b){return _.J(a,2,b)},oId=function(a,b){_.I(a,3,b)},pId=function(a,b){return _.Ug(a,8,b)},qId=function(a){this.Ca=_.p(a)};_.P(qId,_.w);_.h=qId.prototype;_.h.ee=function(){return _.K(this,iId,1)};_.h.Lr=function(){return _.oj(this,iId,1)};_.h.getState=function(){return _.K(this,jId,2)};_.h.Vd=function(a){return _.Q(this,jId,2,a)};_.h.Vv=function(){return _.oj(this,jId,2)};var rId=function(a){this.Ca=_.p(a)};_.P(rId,_.w);rId.prototype.oj=function(){return _.ri(this,1,0)};
var uP=function(a){this.Ca=_.p(a)};_.P(uP,_.w);uP.prototype.getEmail=function(){return _.z(this,3)};uP.prototype.Cp=function(){return _.Hk(this,3)};var wFd=function(a){this.Ca=_.p(a)};_.P(wFd,_.w);var HFd=function(a){this.Ca=_.p(a)};_.P(HFd,_.w);HFd.prototype.getCreationTime=function(){return _.K(this,_.Np,1)};HFd.prototype.jn=function(){return _.K(this,uP,4)};HFd.mb=[5];var FFd=function(a){this.Ca=_.p(a)};_.P(FFd,_.w);FFd.mb=[6,7];var EFd=function(a){this.Ca=_.p(a)};_.P(EFd,_.w);EFd.mb=[2];
_.sId=function(a,b){return _.Xj(a,10,_.Ff(b))};tId=function(a,b){return _.oCd(a,"getAllKeys","getting all keys index "+a.getName(),b)};_.uId=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.oO(c,"deleting object store "+b);}};_.KO=function(a){this.Ca=_.p(a)};_.P(_.KO,_.w);_.KO.prototype.getId=function(){return _.E(this,1)};_.KO.prototype.Cr=function(){return _.E(this,1)};_.KO.prototype.Bb=function(a){return _.L(this,1,a)};_.KO.prototype.Pb=function(){return _.Zg(this,1)};
_.NO=function(a){this.Ca=_.p(a)};_.P(_.NO,_.w);_.NO.prototype.getId=function(){return _.E(this,1)};_.NO.prototype.Bb=function(a){return _.L(this,1,a)};_.NO.prototype.Pb=function(){return _.Zg(this,1)};_.lP=function(a){this.Ca=_.p(a)};_.P(_.lP,_.w);_.h=_.lP.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Cr=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getTitle=function(){return _.E(this,2)};
_.h.Ag=function(){return _.E(this,2)};_.h.setTitle=function(a){return _.L(this,2,a)};_.lP.mb=[7,8];_.pP=function(a){this.Ca=_.p(a)};_.P(_.pP,_.w);_.h=_.pP.prototype;_.h.getOptions=function(){return _.K(this,_.ICd,1)};_.h.Ws=function(){return _.E(this,2)};_.h.iD=function(){return _.Zg(this,2)};_.h.ee=function(){return _.K(this,_.Er,3)};_.h.Lr=function(){return _.oj(this,_.Er,3)};vId=function(){var a=new _.WDd;a.O=12E4;a.Ba=!0;return a};_.wP=_.Zb(_.WN);_.XO=function(a){this.Ca=_.p(a)};_.P(_.XO,_.w);
_.XO.prototype.getType=function(){return _.Ae(this,1)};_.XO.prototype.Eb=function(a){return _.I(this,1,a)};_.XO.prototype.Zk=function(){return _.K(this,_.Se,2)};_.XO.mb=[3,4];_.wId=function(a){this.Ca=_.p(a)};_.P(_.wId,_.w);_.h=_.wId.prototype;_.h.getTitle=function(){return _.E(this,1)};_.h.Ag=function(){return _.E(this,1)};_.h.setTitle=function(a){return _.L(this,1,a)};_.h.getMimeType=function(){return _.E(this,2)};_.h.rz=function(){_.lj(this);return _.Nj(this,3)};
_.QP=function(a){return _.K(a,_.FP,5)};_.wId.prototype.Mq=function(){return _.E(this,6)};_.xId=function(a){this.Ca=_.p(a)};_.P(_.xId,_.w);_.h=_.xId.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.rz=function(){_.lj(this);return _.Nj(this,4)};_.h.FP=function(){return _.K(this,_.wId,5)};_.uEd=function(a){this.Ca=_.p(a)};_.P(_.uEd,_.w);_.uEd.mb=[1];_.eP=function(a){this.Ca=_.p(a)};_.P(_.eP,_.w);
_.eP.prototype.ee=function(){return _.K(this,_.xId,1)};_.eP.prototype.Lr=function(){return _.oj(this,_.xId,1)};_.fP=function(a){this.Ca=_.p(a)};_.P(_.fP,_.w);_.fP.prototype.Lh=function(a){return _.Xj(this,1,_.Ff(a))};_.fP.prototype.getId=function(a){return _.Yj(this,1,a)};_.fP.prototype.Bb=function(a){return _.Ak(this,1,a)};_.fP.mb=[1];var yId=function(a,b){this.start=a;this.end=b};yId.prototype.CE=function(){return[this.start,this.end]};
_.zi.Object.defineProperties(yId.prototype,{size:{configurable:!0,enumerable:!0,get:function(){return this.end-this.start}}});_.AEd=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};IEd=function(a){this.H=a};IEd.prototype.getMimeType=function(){return this.H.O.BPa()};IEd.prototype.rz=function(){return this.H.rz()};_.zi.Object.defineProperties(IEd.prototype,{O:{configurable:!0,enumerable:!0,get:function(){return this.H.H}}});
var JEd=function(a,b,c){this.Oba=a;this.H=b;this.O=new yId(c,c+b.size)};_.zi.Object.defineProperties(JEd.prototype,{Pvb:{configurable:!0,enumerable:!0,get:function(){return this.H.range.end===this.Oba.rz()}},V:{configurable:!0,enumerable:!0,get:function(){return this.Oba.V}}});_.oP=function(a,b,c,d){this.request=a;this.file=b;this.O_=c===void 0?null:c;this.metadata=d};$Ed=[_.uEd,_.XO,_.eP,_.fP,_.AEd,_.oP,JEd,IEd];_.WFd=function(a){return _.fra?_.ca.btoa(unescape(encodeURIComponent(a))):_.Oa(_.iBd(a))};
zId=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};_.sEd=_.Zb(_.KN);_.RO=_.Zb(_.bq);_.SO=_.Zb(_.RN);_.VO=_.Zb(_.cf);_.AId=_.Zb(_.lr);_.BId=_.Zb(_.Er);_.KFd=function(a){var b=new _.BQa;b.setTime(a);return b};_.AO=function(){var a=_.ec.apply(0,arguments);this.children={};this.H.apply(this,_.Eb(a))};_.P(_.AO,_.d0a);_.AO.prototype.H=function(){for(var a=_.n(_.ec.apply(0,arguments)),b=a.next();!b.done;b=a.next())_.aw(this,b.value);return this};_.AO.prototype.yj=function(){return Object.values(this.children)};
_.AO.prototype.toString=function(){return _.e0a(this)};var CId=function(a){_.sm.call(this,a);this.H=_.jpb.get(a)};_.P(CId,_.sm);_.DId=_.Zb(_.zN);_.EId=_.Zb(_.CN);_.PO=function(a){this.Ca=_.p(a)};_.P(_.PO,_.w);_.PO.prototype.Df=function(){return _.E(this,4)};_.PO.prototype.xw=function(a){return _.L(this,4,a)};_.RP=function(a){this.Ca=_.p(a)};_.P(_.RP,_.w);_.h=_.RP.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};
_.h.getMimeType=function(){return _.E(this,2)};_.h.rz=function(){_.lj(this);return _.Nj(this,8)};_.rP=function(a){this.Ca=_.p(a)};_.P(_.rP,_.w);_.h=_.rP.prototype;_.h.getStatus=function(){return _.Ae(this,1)};_.h.Tb=function(a){return _.I(this,1,a)};_.h.qf=function(){return _.nk(this,1)};_.h.getItem=function(){return _.K(this,_.Oq,2)};_.h.setItem=function(a){return _.Q(this,_.Oq,2,a)};_.h.Sw=function(){return _.oj(this,_.Oq,2)};_.h.zhb=function(){return _.Zg(this,3)};
_.h.CG=function(){return _.K(this,_.RP,4)};_.h.kd=function(){return _.E(this,5)};_.FId=function(a,b){return _.L(a,5,b)};_.h=_.rP.prototype;_.h.e8=function(){return _.E(this,7)};_.h.Rva=function(a){return _.L(this,7,a)};_.h.Dya=function(a){_.Ug(this,9,a)};_.h.beb=function(a){_.I(this,10,a)};_.h.Sea=function(){return _.E(this,16)};_.h.Fva=function(a){return _.L(this,16,a)};_.rP.mb=[22];_.rP.prototype.Ob="wYjr0b";_.SP=function(a){this.Ca=_.p(a)};_.P(_.SP,_.w);_.h=_.SP.prototype;
_.h.getId=function(){return _.E(this,1)};_.h.Cr=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getAuthToken=function(){return _.E(this,8)};_.GId={1:"default",2:"teamDrive",3:"default,allTeamDrives"};_.HId=_.Zb(_.YN);_.nP=function(a){this.Ca=_.p(a)};_.P(_.nP,_.w);_.nP.prototype.Zk=function(){return _.K(this,_.Se,1)};_.nP.prototype.yj=function(){return _.E(this,4)};_.nP.prototype.Lva=function(a){return _.L(this,4,a)};_.IId=_.Zb(_.nP);
_.DO=function(a){this.Ca=_.p(a)};_.P(_.DO,_.w);_.DO.prototype.kd=function(){return _.E(this,2)};_.JId=_.Zb(_.XO);_.FEd=function(a){this.Ca=_.p(a)};_.P(_.FEd,_.w);_.FEd.prototype.kd=function(){return _.E(this,1)};_.FEd.prototype.Wi=function(){return _.E(this,2)};_.FEd.prototype.Jm=function(){return _.E(this,5)};KId=_.Zb(_.FEd);_.LId=function(a){this.Ca=_.p(a)};_.P(_.LId,_.w);_.h=_.LId.prototype;_.h.getKey=function(){return _.E(this,1)};_.h.Gx=function(){return _.Hk(this,1)};
_.h.ob=function(){return _.E(this,2)};_.h.Lb=function(a){return _.L(this,2,a)};_.h.zh=function(){return _.Hk(this,2)};_.h.dh=function(){return _.E(this,3)};_.h.Kj=function(a){return _.L(this,3,a)};_.h.getType=function(){return _.Ae(this,4)};_.h.Eb=function(a){return _.I(this,4,a)};_.MId=function(a){this.Ca=_.p(a)};_.P(_.MId,_.w);_.MId.mb=[1];_.FO=function(a){this.Ca=_.p(a)};_.P(_.FO,_.w);_.FO.prototype.qn=function(){return _.Zg(this,1)};_.FO.mb=[2,3];NId=_.Zb(_.eP);_.jP=function(a){this.Ca=_.p(a)};
_.P(_.jP,_.w);_.jP.prototype.kd=function(){return _.z(this,1)};_.jP.mb=[2];_.QO=function(a){this.Ca=_.p(a)};_.P(_.QO,_.w);_.QO.prototype.ee=function(){return _.K(this,_.PO,1)};_.QO.prototype.Lr=function(){return _.oj(this,_.PO,1)};_.OId=function(a){this.Ca=_.p(a)};_.P(_.OId,_.w);_.OId.prototype.H=function(){return _.ri(this,2,2)};_.OId.prototype.Zk=function(){return _.K(this,_.Se,3)};_.OId.mb=[1];_.PId=_.Zb(_.OId);QId=function(a){this.Ca=_.p(a)};_.P(QId,_.w);
QId.prototype.H=function(){return _.ri(this,2,2)};QId.prototype.Zk=function(){return _.K(this,_.Se,3)};_.RId=_.Zb(QId);_.BO=function(a){this.Ca=_.p(a)};_.P(_.BO,_.w);_.BO.prototype.kd=function(){return _.E(this,1)};_.CO=function(a){this.Ca=_.p(a)};_.P(_.CO,_.w);_.CO.prototype.getId=function(){return _.E(this,1)};_.CO.prototype.Bb=function(a){return _.L(this,1,a)};_.CO.prototype.Pb=function(){return _.Zg(this,1)};_.CO.prototype.Jm=function(){return _.E(this,2)};_.EO=function(a){this.Ca=_.p(a)};
_.P(_.EO,_.w);_.h=_.EO.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Cr=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getTitle=function(){return _.E(this,2)};_.h.Ag=function(){return _.E(this,2)};_.h.setTitle=function(a){return _.L(this,2,a)};_.h.FH=function(a){return _.Xj(this,3,_.Ff(a))};_.h.AE=function(a){_.zk(this,3,a)};_.h.getParent=function(a){return _.Yj(this,3,a)};_.h.Xg=function(a){return _.Ak(this,3,a)};
_.h.A7=function(){return _.N(this,4,!1)};_.h.Hka=function(){return _.K(this,_.Se,5)};_.h.wl=function(){return _.E(this,12)};_.h.Ika=function(){return _.E(this,12)};_.h.Jka=function(a){return _.L(this,12,a)};_.h.hs=function(){return _.K(this,_.cBd,13)};_.h.getMimeType=function(){return _.E(this,14)};_.SId=function(a,b){return _.L(a,14,b)};_.EO.prototype.BPa=function(){return _.Zg(this,14)};_.EO.mb=[3,7];_.QFd=_.Zb(_.EO);_.MO=function(a){this.Ca=_.p(a)};_.P(_.MO,_.w);
_.MO.prototype.kd=function(){return _.E(this,1)};_.MO.prototype.H=function(){return _.E(this,1)};_.ZO=function(a){this.Ca=_.p(a)};_.P(_.ZO,_.w);var xEd=function(a){this.Ca=_.p(a)};_.P(xEd,_.w);xEd.prototype.kd=function(){return _.E(this,1)};TId=_.Zb(xEd);_.gP=function(a){this.Ca=_.p(a)};_.P(_.gP,_.w);_.h=_.gP.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Cr=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};
_.h.getParent=function(){return _.E(this,2)};_.h.Xg=function(a){return _.L(this,2,a)};_.h.jp=function(){return _.Hk(this,2)};_.zEd=function(a){this.Ca=_.p(a)};_.P(_.zEd,_.w);_.h=_.zEd.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getParent=function(){return _.E(this,2)};_.h.Xg=function(a){return _.L(this,2,a)};_.h.jp=function(){return _.Hk(this,2)};_.kP=function(a){this.Ca=_.p(a)};_.P(_.kP,_.w);
_.kP.prototype.kd=function(){return _.E(this,1)};_.kP.prototype.H=function(){return _.E(this,1)};_.UId=_.Zb(_.fP);VId=function(a){this.Ca=_.p(a)};_.P(VId,_.w);VId.prototype.getId=function(){return _.E(this,1)};VId.prototype.Bb=function(a){return _.L(this,1,a)};VId.prototype.Pb=function(){return _.Zg(this,1)};_.YO=function(a){this.Ca=_.p(a)};_.P(_.YO,_.w);_.YO.prototype.Ws=function(){return _.E(this,2)};_.YO.prototype.iD=function(){return _.Zg(this,2)};
_.YO.prototype.ee=function(){return _.K(this,VId,3)};_.YO.prototype.Lr=function(){return _.oj(this,VId,3)};var tEd=function(a){this.Ca=_.p(a)};_.P(tEd,_.w);WId=function(a){var b=new tEd;return _.Ug(b,1,a)};XId=function(a,b){return _.Q(a,_.lr,2,b)};YId=_.Zb(tEd);_.GO=function(a){this.Ca=_.p(a)};_.P(_.GO,_.w);_.GO.prototype.getTitle=function(){return _.E(this,1)};_.GO.prototype.Ag=function(){return _.E(this,1)};_.GO.prototype.setTitle=function(a){return _.L(this,1,a)};_.OO=function(a){this.Ca=_.p(a)};
_.P(_.OO,_.w);_.OO.prototype.getId=function(){return _.E(this,1)};_.OO.prototype.Bb=function(a){return _.L(this,1,a)};_.OO.prototype.Pb=function(){return _.Zg(this,1)};_.mP=function(a){this.Ca=_.p(a)};_.P(_.mP,_.w);_.h=_.mP.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getTitle=function(){return _.E(this,2)};_.h.Ag=function(){return _.E(this,2)};_.h.setTitle=function(a){return _.L(this,2,a)};
_.h.getState=function(){return _.Ae(this,3)};_.h.Vd=function(a){return _.I(this,3,a)};_.h.Vv=function(){return _.Jk(this,3)};_.ZId=function(){};_.ZId.prototype.O=function(a,b){if(!_.ca.fetch)throw Error("Dg");_.ca.fetch(a,{mode:"no-cors"}).then(function(){b&&b(!0)},function(){b&&b(!1)})};_.TP=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.UP=function(a,b,c){b.length!==0&&(c=c||"and",a.xz()&&a.append(" "+c+" "),a.append(b))};
$Id=function(a,b,c,d){if(c){var e=[];(d===void 0?0:d)&&e.push("not");e.push(_.TP(c));e.push("in");e.push(b);_.UP(a,e.join(" "))}};_.VP=function(a,b,c,d){d=d===void 0?"and":d;if(c!=null){var e=[];e.push(b);e.push("=");e.push((!!c).toString());_.UP(a,e.join(" "),d)}};_.aJd=function(a,b,c){if(b.length){var d=[];d.push((c===void 0?0:c)?"not ":"");b.length>1&&d.push("(");d.push(b.join(" or "));b.length>1&&d.push(")");_.UP(a,d.join(""))}};
bJd=function(a,b){var c=_.Kj(b,_.mf,13,_.Ff());b=[];var d=[];c=_.n(c.filter(function(g){return g.zh()}));for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=_.TP(e.ob())+" in owners";_.yGd(e)?d.push(f):b.push(f)}_.aJd(a,b);_.aJd(a,d,!0)};cJd=function(a,b){b=_.BP(b)[0];if(b!=null){var c=[];c.push("teamDriveId");c.push("=");c.push(_.TP(b));_.UP(a,c.join(" "))}};_.dJd=function(a){a=_.Kj(a,_.xGd,25,_.Ff());if(a==null||a.length==0)return"";for(var b=[],c=0;c<a.length;c++)b.push(_.E(a[c],1));return b.join(",")};
_.eJd=function(a){a=_.uoa(a);return a==null||a.length==0?"":a.map(function(b){b=_.Ae(b,1);if(b==0)throw Error("Eg");return _.HAd[b]}).join(",")};fJd=function(a,b){if(a.length){var c=[];b&&c.push("not");c.push("sourceActorAppId");c.push("in");a=a.map(function(d){return _.TP(_.E(d,1))});c.push(a.join(", "));return c.join(" ")}return""};
gJd=function(a,b){var c=_.Kj(b,_.oq,78,_.Ff());if(c){c=c.filter(function(g){return _.E(g,1)});var d=[];b=[];for(var e=0;e<c.length;e++){var f=c[e];_.N(f,2,!1)?b.push(f):d.push(f)}(c=fJd(d,!1))&&_.UP(a,c,"and");(b=fJd(b,!0))&&_.UP(a,b,"and")}};hJd=function(a,b){if(a.length){var c=new _.mu;a=_.n(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;_.N(d,2,!1);var e=[];e.push(b?"shortcutDetails.targetMimeType":"mimeType");e.push("contains");e.push(_.TP(_.E(d,1)));_.UP(c,e.join(" "),"or")}return c.toString()}return""};
iJd=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 _.TP(_.E(e,1))});d.push(a.join(", "));return d.join(" ")}return""};jJd=function(a){if(_.wh(a,2))return"any";switch(_.Ae(a,1)){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};kJd=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
lJd=function(a,b,c){if(_.Gk(c,2)){var d=kJd(_.Ae(c,1));c=_.TP(_.JFd(_.KFd(_.Nj(c,2)||0)));_.UP(a,[b,d,c].join(" "))}};mJd=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""};nJd=function(a,b,c){b=_.Ae(b,42);if(b!=null){var d=[];d.push("visibility");d.push("=");d.push(_.TP(mJd(b)));_.UP(a,d.join(" "),c)}};
oJd=function(a,b){var c=new Map([[3,"writer"],[2,"commenter"],[1,"reader"],[0,"reader"],[4,"all"]]),d=function(m,q,r){r=r===void 0?[]:r;return q==="all"&&m&&m.length>0?(r.push("creator = '"+m+"'"),r.push("sharedFrom = '"+m+"'"),"'"+m+"' in readers"):"sharedWith has {id='"+m+"' and access='"+q+"'}"},e=[];b=_.n(_.Kj(b,_.CHa,100,_.Ff()));for(var f=b.next();!f.done;f=b.next()){f=f.value;var g=void 0,k=c.get((g=_.nk(f,6))!=null?g:0);if(!k)throw Error("Fg`"+_.Ae(f,6));g=new _.mu;var l="";switch(_.Aj(f,
_.nq)){case 1:l=_.jk(f,1,_.nq);g.append(d(l,k,e));break;case 2:l="targetAudience("+_.jk(f,2,_.nq)+")";g.append(d(l,k));break;case 4:nJd(g,(new _.cf).Dv(1));nJd(g,(new _.cf).Dv(2),"or");break;case 3:g.append("sharedWith has {access='external'}");break;default:throw Error("Gg`"+_.Aj(f,_.nq));}g.xz()>0&&e.push("("+g.toString()+")")}_.aJd(a,e,!1)};
_.pJd=function(a){for(var b=new _.mu,c=_.Kj(a,_.qq,4,_.Ff()),d=0;d<c.length;d++){var e=c[d],f=e.ob();if(f){var g=_.Ae(e,1),k=_.N(e,3,!1),l=[];k&&g==1&&l.push("not");l.push("title");l.push(g==1?"contains":k?"!=":"=");l.push(_.TP(f));_.UP(b,l.join(" "))}}for(var m=_.zGd(a),q=0;q<m.length;q++){var r=m[q],t=r.ob();if(t){var u=[];_.N(r,2,!1)&&u.push("not");u.push("fullText");u.push("contains");u.push(_.TP(t));_.UP(b,u.join(" "))}}var v=_.lf(a);if(v&&v.length!=0){for(var x=[],y=[],C=[],F=[],G=[],M=[],W=
0;W<v.length;W++){var R=v[W];R.ob()&&(_.ri(R,3,0)===1?_.wh(R,4)?y.push(R):x.push(R):_.wh(R,4)?_.N(R,2,!1)?M.push(R):G.push(R):_.N(R,2,!1)?F.push(R):C.push(R))}var fa=hJd(x,!1),aa=hJd(y,!0),X=iJd(C,!1,!1),la=iJd(F,!0,!1),Da=iJd(G,!1,!0),Ia=iJd(M,!0,!0),Ta=new _.mu;if(X||Da||fa||aa)_.UP(Ta,X,"or"),_.UP(Ta,Da,"or"),_.UP(Ta,fa,"or"),_.UP(Ta,aa,"or");Ta.xz()&&_.UP(b,"("+Ta.toString()+")","and");var kb=new _.mu;if(la||Ia)_.UP(kb,la,"and"),_.UP(kb,Ia,"and");kb.xz()&&_.UP(b,"("+kb.toString()+")","and")}for(var Bb=
_.Kj(a,_.lq,7,_.Ff()),Wb=0;Wb<Bb.length;Wb++)lJd(b,"modifiedDate",Bb[Wb]);for(var Mb=_.Kj(a,_.lq,8,_.Ff()),Fc=0;Fc<Mb.length;Fc++)lJd(b,"lastViewedByMeDate",Mb[Fc]);_.VP(b,"trashed",_.wh(a,9));_.VP(b,"explicitlyTrashed",_.wh(a,17));_.VP(b,"starred",_.wh(a,10));_.VP(b,"hidden",_.wh(a,11));for(var Cc=_.AP(a),dd=0;dd<Cc.length;dd++){var rc=Cc[dd];$Id(b,"parents",_.E(rc,1),_.N(rc,2,!1))}bJd(b,a);for(var $c=_.Kj(a,_.mf,14,_.Ff()),Cb=0;Cb<$c.length;Cb++){var Tc=$c[Cb];$Id(b,"writers",_.E(Tc,1),_.yGd(Tc))}for(var Lc=
_.Kj(a,_.mf,15,_.Ff()),Qb=0;Qb<Lc.length;Qb++){var Nb=Lc[Qb];$Id(b,"readers",_.E(Nb,1),_.yGd(Nb))}_.wh(a,16)&&_.UP(b,"sharedWithMe");_.VP(b,"unparented",_.wh(a,34));for(var Ed=_.AGd(a)||[],ic=_.n(Ed),xb=ic.next();!xb.done;xb=ic.next())$Id(b,"ancestors",_.E(xb.value,1),!1);for(var Kb=_.Kj(a,_.hq,38,_.Ff())||[],oc=_.n(Kb),nd=oc.next();!nd.done;nd=oc.next())$Id(b,"descendants",_.E(nd.value,1),!1);for(var Ub=_.Kj(a,_.mq,37,_.Ff())||[],tc=_.n(Ub),ke=tc.next();!ke.done;ke=tc.next())$Id(b,"folderFeatures",
_.E(ke.value,1),!1);for(var Id=_.Xj(a,39,_.Ff()),Ce=_.n(Id),Td=Ce.next();!Td.done;Td=Ce.next()){var Od=Td.value,Te=[];Te.push("templateData.description");Te.push("contains");Te.push(_.TP(Od));_.UP(b,Te.join(" "))}for(var yb=_.Xj(a,40,_.Ff()),$b=0;$b<yb.length;$b++){var Ma=[];$b==0&&Ma.push("(");Ma.push(_.TP(yb[$b]));Ma.push("in");Ma.push("templateData.categories");$b==yb.length-1&&Ma.push(")");_.UP(b,Ma.join(" "),$b==0?"and":"or")}var Db=_.Ae(a,41);if(Db!=null){var Yb=[];Yb.push("templateData.galleryState");
Yb.push("=");Yb.push(_.TP(_.DBd[Db]||""));_.UP(b,Yb.join(" "))}nJd(b,a);for(var qb=_.Kj(a,_.gq,44,_.Ff()),pb=0;pb<qb.length;++pb){var hc=qb[pb];$Id(b,"actionItems",jJd(hc),_.N(hc,3,!1))}if(_.Ek(a,50)){var le=[];le.push("pairedDocType");var zf=_.N(a,50,!1)?"!=":"=";le.push(zf);le.push(_.TP("NONE"));_.UP(b,le.join(" "))}$Id(b,"workspaceIds",_.E(a,54),!1);for(var ng=_.Kj(a,_.kq,57,_.Ff()),Xe=0;Xe<ng.length;Xe++){var bd=[];Xe==0&&bd.push("(");bd.push(_.TP(_.E(ng[Xe],1)));bd.push("in");bd.push("approvals");
Xe==ng.length-1&&bd.push(")");_.UP(b,bd.join(" "),Xe==0?"and":"or")}if(_.oj(a,_.mf,58)){var Ne=a.Bx(),Tf=_.E(Ne,1),og=_.yGd(Ne);if(Tf){var si=[];og&&si.push("not");si.push("creator");si.push("=");si.push(_.TP(Tf));_.UP(b,si.join(" "))}}var Vh=_.K(a,_.fq,59);if(Vh)for(var dk=_.n(_.Kj(Vh,_.wHa,1,_.Ff())),tj=dk.next();!tj.done;tj=dk.next()){var Cj=tj.value;$Id(b,"categoryMetadata",_.E(Cj,1));for(var al=_.n(_.Kj(Cj,_.vHa,2,_.Ff())),Fh=al.next();!Fh.done;Fh=al.next()){var Wg=Fh.value,bj=_.E(Wg,1),Dk=_.Aj(Wg,
_.eq);if(Dk==10){var ti=b,Mc=bj,hg=_.wh(Wg,15);(hg===void 0?0:hg)?_.UP(ti,Mc+" is null"):_.UP(ti,"not ("+Mc+" is null)")}else{var kf=new _.mu,pc=void 0;switch(Dk){case 3:pc=_.kk(Wg,uGd,3,_.eq);for(var ue=_.n(_.sb(pc,3,_.Oba,_.Ff())),Pf=ue.next();!Pf.done;Pf=ue.next())_.VP(kf,bj,Pf.value,"or");break;case 14:pc=_.kk(Wg,_.nHa,14,_.eq);for(var Xg=kf,Dj=bj,Ej=pc,Fl=new Map([[1,"="],[2,">"],[3,"<"]]),ek=_.n(_.Kj(Ej,_.dq,3,_.Ff())),fk=ek.next();!fk.done;fk=ek.next()){var Uc=fk.value,mm=Fl.get(_.Ae(Ej,2));
if(!mm)throw Error("Hg");var Fj=[Dj,mm,_.TP(_.Rj(Uc,1)+"-"+rEd(_.Rj(Uc,2))+"-"+rEd(_.Rj(Uc,3)))];_.UP(Xg,Fj.join(" "),"or")}break;case 8:pc=_.kk(Wg,_.qHa,8,_.eq);for(var Ok=kf,Gh=bj,Co=pc,Gl=new Map([[1,"="],[2,">"],[3,"<"]]),Kp=_.n(_.Qj(Co,3,_.Ff())),iq=Kp.next();!iq.done;iq=Kp.next()){var Gj=iq.value,nm=Gl.get(_.Ae(Co,2));if(!nm)throw Error("Hg");_.UP(Ok,[Gh,nm,Gj].join(" "),"or")}break;case 9:pc=_.kk(Wg,vGd,9,_.eq);for(var co=kf,ip=bj,jp=pc,hs=new Map([[1,"in"]]),Xl=_.n(_.Qj(jp,3,_.Ff())),Hl=Xl.next();!Hl.done;Hl=
Xl.next()){var Il=Hl.value,eo=hs.get(_.Ae(jp,2));if(!eo)throw Error("Hg");_.UP(co,[Il,eo,ip].join(" "),"or")}break;case 6:pc=_.kk(Wg,_.tHa,6,_.eq);for(var qr=kf,Nu=bj,Mn=pc,Pq=new Map([[1,"="]]),Tt=_.n(_.Xj(Mn,3,_.Ff())),is=Tt.next();!is.done;is=Tt.next()){var Ut=is.value,jq=Pq.get(_.Ae(Mn,2));if(!jq)throw Error("Hg");_.UP(qr,[Nu,jq,_.TP(Ut)].join(" "),"or")}break;case 7:pc=_.kk(Wg,_.sHa,7,_.eq);for(var at=kf,Do=bj,Ly=pc,Ou=new Map([[1,"in"]]),Pu=_.n(_.Xj(Ly,3,_.Ff())),eA=Pu.next();!eA.done;eA=Pu.next()){var ND=
eA.value,iG=Ou.get(_.Ae(Ly,2));if(!iG)throw Error("Hg");_.UP(at,[_.TP(ND),iG,Do].join(" "),"or")}break;case 4:pc=_.kk(Wg,_.uHa,4,_.eq);for(var rr=kf,jG=bj,Qu=pc,bt=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),sr=_.n(_.Xj(Qu,3,_.Ff())),OD=sr.next();!OD.done;OD=sr.next()){var $y=OD.value,lt=bt.get(_.Ae(Qu,2));if(!lt)throw Error("Hg");_.UP(rr,[jG,lt,_.TP($y)].join(" "),"or")}break;case 5:pc=_.kk(Wg,wGd,5,_.eq);for(var az=kf,UG=bj,vE=pc,bz=new Map([[1,"in"]]),UL=_.n(_.Xj(vE,3,_.Ff())),VG=UL.next();!VG.done;VG=
UL.next()){var VL=VG.value,wE=bz.get(_.Ae(vE,2));if(!wE)throw Error("Hg");_.UP(az,[_.TP(VL),wE,UG].join(" "),"or")}break;case 12:pc=_.kk(Wg,_.pHa,12,_.eq);for(var $O=kf,qJ=bj,aT=pc,bT=new Map([[1,"="]]),WL=_.n(_.Xj(aT,3,_.Ff())),rJ=WL.next();!rJ.done;rJ=WL.next()){var cY=rJ.value,cT=bT.get(_.Ae(aT,2));if(!cT)throw Error("Hg");_.UP($O,[qJ,cT,_.TP(cY)].join(" "),"or")}break;case 11:pc=_.kk(Wg,_.oHa,11,_.eq);for(var dY=kf,FA=bj,aP=pc,vp=new Map([[1,"in"]]),dT=_.n(_.Xj(aP,3,_.Ff())),WG=dT.next();!WG.done;WG=
dT.next()){var XG=WG.value,xE=vp.get(_.Ae(aP,2));if(!xE)throw Error("Hg");_.UP(dY,[_.TP(XG),xE,FA].join(" "),"or")}}_.wh(Wg,15)?_.UP(b,"not ("+kf+")"):_.UP(b,pc.vC()>1?"("+kf+")":""+kf)}}}var YG=_.Jh(a,65);if(YG!=null){var ZG=[];ZG.push("clientEncryptionDetails.encryptionState");ZG.push("=");ZG.push(_.TP(YG?"encrypted":"unencrypted"));_.UP(b,ZG.join(" "))}var eT=_.Kj(a,_.mf,68,_.Ff());if(eT.length){for(var bP=[],yE=[],XL=_.n(eT),fT=XL.next();!fT.done;fT=XL.next()){var b3=fT.value,c3="sharedFrom = "+
_.TP(_.E(b3,1));_.yGd(b3)?yE.push(c3):bP.push(c3)}_.aJd(b,bP,!1);_.aJd(b,yE,!0)}var gv=_.Kj(a,_.mf,67,_.Ff());if(gv.length){for(var YL=[],s$=[],gT=_.n(gv),sJ=gT.next();!sJ.done;sJ=gT.next()){var ko=sJ.value,ZL="sharedTo = "+_.TP(_.E(ko,1));_.yGd(ko)?s$.push(ZL):YL.push(ZL)}_.aJd(b,YL,!1);_.aJd(b,s$,!0)}_.Ek(a,69)&&_.VP(b,"linkShareMetadata.securityUpdateEnabled",_.wh(a,69));_.Ek(a,72)&&_.VP(b,"canAcceptOwnership",_.wh(a,72));if(_.wh(a,73)){var t$=(new _.ff).Lb("application/vnd.google-apps.shortcut");
_.VP(b,"impactedByMultiparentingMigration",!0);_.UP(b,iJd([t$],!1,!1))}gJd(b,a);for(var cP=_.Kj(a,_.lq,79,_.Ff()),vi=0;vi<cP.length;vi++)lJd(b,"creationDate",cP[vi]);if(_.oj(a,_.pq,86)){var dP=_.K(a,_.pq,86);_.Ek(dP,3)&&_.VP(b,"inSpamView",_.wh(dP,3));_.Ek(dP,1)&&_.VP(b,"isSpam",_.wh(dP,1));_.Ek(dP,2)&&_.VP(b,"isInheritedSpam",_.wh(dP,2))}oJd(b,a);_.CP(a)==1&&cJd(b,a);return b.toString()};
_.qJd=function(a){var b=new _.mu(_.pJd(a));_.N(a,74,!1)?_.UP(b,"isQuickAccessForSharedFilesRequest"):_.qi(a)&&_.UP(b,"isQuickAccessRequest");var c=a.Tc();if(c){var d=[];d.push("sortBy");d.push(_.zBd[c.getType()]);d.push(_.FBd[_.ri(c,2,1)]);_.wh(c,3)&&d.push("foldersFirst");_.UP(b,d.join(" "))}_.VP(b,"domainSearch",_.wh(a,18));_.VP(b,"offline",_.wh(a,19));_.Kj(a,_.xGd,25,_.Ff()).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.dJd(a)),_.UP(b,c.join(" ")));_.uoa(a).length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.eJd(a)),_.UP(b,c.join(" ")));if(c=_.CP(a))d=[],d.push("corpora"),d.push("="),d.push(_.TP(_.GId[c])),_.UP(b,d.join(" "));_.N(a,66,!0)||_.VP(b,"includeItemsFromAllDrives",_.N(a,66,!0));_.CP(a)!=1&&cJd(b,a);_.DP(a)&&_.UP(b,"cachedOnly");return b.toString()};_.tP=function(a){if(a instanceof _.sO)a=a.ee();else if(!a)return!1;return a instanceof _.QN||a instanceof _.SAd||"function"==typeof _.WP&&a instanceof _.WP||a instanceof _.cf&&(_.qi(a)||_.N(a,82,!1))};
_.rJd=function(a){return a.length!==1?!1:(a=a[0])&&a.ob().toLowerCase()==="application/vnd.google-apps.folder"&&!_.N(a,2,!1)&&_.ri(a,3,0)===0};_.BEd=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};_.HEd=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};NEd=function(){this.H=_.Ve(new _.Se,312)};_.CEd=function(a){this.request=a;this.requestId=_.Ng()};sJd=function(a,b){this.blob=b;a instanceof yId||(b=_.n(a),a=b.next().value,b=b.next().value,a=new yId(a,b));this.range=a};
_.zi.Object.defineProperties(sJd.prototype,{size:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=(a=this.blob)==null?void 0:a.size)!=null?b:0}},jCc:{configurable:!0,enumerable:!0,get:function(){return this.range.size}}});_.KEd=function(a,b,c,d,e){this.O=a;this.file=b;this.O_=c===void 0?null:c;this.H=d;this.impression=e;this.V=null;this.fileSize=b.size};_.KEd.prototype.rz=function(){return this.fileSize};_.KEd.prototype.hs=function(){return this.O.hs()};
uJd=function(a,b,c,d){d=d===void 0?0:d;return tJd(a,new yId(b,b+c)).then(function(e){if(e.blob==null)return e;if(a.H!=null&&a.fileSize>0&&e.blob.size===0){var f=_.n(e.range.CE()),g=f.next().value;f=f.next().value;return a.fileSize>f?uJd(a,g,e.range.size*2):d<3?uJd(a,g,e.range.size,d+1):new sJd(e.range,void 0)}return e})};
tJd=function(a,b){b=_.n(b.CE());var c=b.next().value;b=b.next().value;var d=Math.min(a.fileSize,b),e;a.O_!=null?e=a.O_(c,d-c):e=Promise.resolve(_.kBd(a.file,c,d));return Promise.resolve(e).then(function(f){return new sJd(new yId(c,d),f!=null?f:void 0)})};TEd=[_.BO,_.DO,_.CO,_.FO,_.EO,_.WN,_.GO,_.KO,_.MO,_.NO,_.OO,_.PO,_.QO,_.ZO,_.gP,_.zEd,_.jP,_.eO,_.kP,_.lP,_.mP,_.CEd,_.oP,_.SP];vJd=[_.fO];VEd=[QId,_.OId,_.m0c,_.HEd];WEd=[_.YO,_.nP,_.pP];XEd=[tEd,_.fO,_.BEd];YEd=[_.pP,_.zN];ZEd=[_.sO];
wJd=function(a){return a instanceof _.sO||a instanceof _.pP||"function"==typeof _.XP&&a instanceof _.XP||a instanceof _.lP||a instanceof _.NO||a instanceof _.WN||a instanceof _.KO||a instanceof _.eO&&_.UEd(a)};_.xJd=function(a,b,c){this.O=a;this.H=b;this.Cf=c;this.M2={};this.requests=new _.Iya(40);this.Lb("SdkBackfillEnabled",!!_.N(a,45,!1)+" (Include corpus cache: "+!!_.N(a,46,!1)+")")};_.xJd.prototype.Lb=function(a,b){this.M2[a]=yJd(a,b)};
var zJd=function(a,b){var c=a.M2[b];c||(c=yJd(b,0,2),a.M2[b]=c);c.Lb(String(Number(_.E(c,2))+1))};_.xJd.prototype.hs=function(a){var b=_.yc(this.M2);this.H&&b.push(yJd("CacheSize",this.H.getSize()));this.Cf&&b.push(yJd("SecondaryFields",_.pEd({fields:[].concat(_.Eb(this.Cf.nV.H)),anonymous:_.NN(_.hO(this.O))}).toString()));b.push(yJd("InitialViewDataLoaded",a));a=new _.MId;_.Mj(a,1,b);return _.ai(a)};yJd=function(a,b,c){var d=new _.LId;_.L(d,1,a);d.Eb(c||1);d.Lb(String(b));d.Kj(_.NBd.get(a));return d};
_.AJd=function(a,b,c){var d=new _.NCd;_.L(d,2,"Pending...");b instanceof _.sO?_.Lj(d,3,_.tO,b):b instanceof _.pP?_.Lj(d,4,_.tO,b):"function"==typeof _.XP&&b instanceof _.XP?_.Lj(d,5,_.tO,b):b instanceof _.lP?_.Lj(d,6,_.tO,b):b instanceof _.NO?_.Lj(d,7,_.tO,b):b instanceof _.WN?_.Lj(d,8,_.tO,b):b instanceof _.KO?_.Lj(d,9,_.tO,b):b instanceof _.eO&&_.Lj(d,10,_.tO,b);var e=_.PEd(b),f=[];if(b instanceof _.CO)qP(f,"ID",_.E(b,1)),qP(f,"Parent ID",_.E(b,2));else if(b instanceof _.NO)qP(f,"TD ID",_.E(b,1));
else if(b instanceof _.sO)b=_.qJd(b.ee()),qP(f,"Query",b);else if(b instanceof _.pP)qP(f,"Query","All");else if(b instanceof _.lP)qP(f,"TD ID",b.Cr()),qP(f,"Title",b.Ag()),qP(f,"Theme Image ID",_.E(b,3));else if(b instanceof _.WN)qP(f,"MimeType",_.E(b,1)),qP(f,"Title",b.Ag()),qP(f,"Parents",b.FH(_.wg)),qP(f,"Convert",_.wh(b,8)),qP(f,"Request ID",b.Ika()),qP(f,"Parent Request IDs",_.Xj(b,10,_.Ff(_.wg))),qP(f,"Revision Item ID",_.E(b,12)),qP(f,"Pinned",_.wh(b,8));else if(b instanceof _.GO)qP(f,"Title",
b.Ag());else if(b instanceof _.KO)qP(f,"ID",b.Cr());else if(b instanceof _.OO)qP(f,"WS ID",_.E(b,1));else if(b instanceof _.ZO)qP(f,"Source ID",_.E(b,1)),qP(f,"Destination Parent ID",_.E(b,2)),qP(f,"validation token",_.E(b,4));else if(b instanceof _.eO){if(qP(f,"ID",b.Cr()),qP(f,"Title",b.Ag()),qP(f,"Description",_.E(b,3)),qP(f,"Starred",_.wh(b,4)),qP(f,"Trashed",_.wh(b,5)),qP(f,"MimeType",_.E(b,6)),qP(f,"Parents",_.Xj(b,8,_.Ff(_.wg))),qP(f,"Parents to add",_.Xj(b,9,_.Ff(_.wg))),qP(f,"Parents to remove",
_.sId(b,_.wg)),qP(f,"Restricted",_.wh(b,11)),qP(f,"Folder Color",_.Nj(b,12)),qP(f,"Update Last Viewed",_.wh(b,15)),qP(f,"Subscribed",_.wh(b,16)),qP(f,"Available Offline",_.wh(b,18)),qP(f,"Wksp to add",_.Xj(b,31,_.Ff(_.wg))),qP(f,"Wksp to remove",_.Xj(b,32,_.Ff(_.wg))),b=_.K(b,_.wq,25))qP(f,"Read Only",_.wh(b,1)),qP(f,"Reason",_.E(b,2))}else b instanceof _.mP?(qP(f,"WS ID",_.E(b,1)),qP(f,"Title",b.Ag()),qP(f,"State",_.Ae(b,3))):b instanceof _.CEd&&qP(f,"Title",b.request.Ag());_.L(d,1,"Request: "+e+
(c?" ("+c+")":"")+"\n"+f.join("\n"));a.requests.add(d);return d};_.BJd=function(a,b){for(var c=new _.mu,d=0;d<b.length&&d<20;d++){var e=b[d];c.append(_.ve(e)+":"+_.jBd(e.getTitle()||"",20)+"\n")}b.length>20&&c.append(b.length-20+" more item(s)");_.L(a,2,c.toString()||"Done.")};_.xJd.prototype.a1=function(){return this.requests.Bg()};CJd=function(a){var b=new _.Je;a.listen("loadend",_.Si(function(c,d){var e=d.kh(),f=d.getError();e==null||f?c.Ne(f):c.callback(e);d.dispose()},b,a));return b};
_.DJd=function(a,b,c){this.H=a;this.O=c;this.logger=b.Kf("network.xhr.Decorator");this.Hr=_.QCd[_.ri(_.cr(a),8,0)];this.V=_.QCd[_.ri(_.cr(a),51,5)]};
_.DJd.prototype.Dc=function(a,b){if(b.VT)EJd(this,a,b),FJd(this,a,b);else{var c={};if(a.api===11){if(b.FCc){var d=b.qY||_.z(_.cr(this.H),37,"");c.key=d;iEd(c,a.uri)}EJd(this,a,b);GJd(this,a,b)}else switch(a.uri=HJd(this,a.api,a.uri),a.api){case 1:GJd(this,a,b);IJd(this,a);EJd(this,a,b);break;case 0:b.Rm||_.NN(_.hO(this.H))||_.N(this.H,83,!1)&&iEd({dsNonce:_.Ng()},a.uri);GJd(this,a,b);IJd(this,a);FJd(this,a,b);EJd(this,a,b);break;case 2:case 3:case 4:case 5:GJd(this,a,b);IJd(this,a);FJd(this,a,b);
EJd(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:GJd(this,a,b);FJd(this,a,b);break;case 14:GJd(this,a,b);FJd(this,a,b);b.CFb=!0;break;case 15:GJd(this,a,b);break;default:throw Error("Mg`"+a.api);}}};
var JJd=function(a,b){var c=HJd(a,b,new _.Rg);if(!c.O)throw Error("Og");return _.tl(_.sl(_.rl(new _.Rg,c.V),c.O),c.W).Wj(_.RCd.has(b)?"/batch"+a.Hr:"/batch")},HJd=function(a,b,c){var d=_.E(_.cr(a.H),57);switch(b){case 0:a=d+a.Hr;break;case 1:a=d+"/batch"+a.Hr;break;case 2:a=d+"/upload"+a.Hr;break;case 3:a=d+"/upload"+a.Hr+"/batch";break;case 4:return c;case 5:a=d+a.V;break;case 7:a=_.z(_.cr(a.H),62,"");break;case 8:a=_.E(_.cr(a.H),53);break;case 9:a=_.E(_.cr(a.H),56);break;case 10:a=_.E(_.cr(a.H),
22);break;case 13:a=_.E(_.cr(a.H),55);break;case 12:a=_.E(_.cr(a.H),43);break;case 14:a=_.z(_.cr(a.H),66,"");break;case 15:a=_.z(_.cr(a.H),69,"");break;default:throw Error("Mg`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.Rg(a);c.startsWith("/")&&(c=c.slice(1));return new _.Rg(a+"/"+c)},GJd=function(a,b,c){a=_.hO(a.H);c=_.HCd(a,c.Rm);c=_.n(Object.entries(c));for(a=c.next();!a.done;a=c.next()){var d=_.n(a.value);a=d.next().value;d=d.next().value;b.headers[a]=d}},IJd=
function(a,b){if("origin"in b.headers)a.logger.info("origin header already present");else if("x-origin"in b.headers)a.logger.info("x-origin header already present");else{var c=cFd();_.dDd(b.uri.toString(),c)&&(a.logger.info("Adding x-origin header"),b.headers["x-origin"]=c)}},EJd=function(a,b,c){var d=_.hO(a.H),e=_.cr(a.H),f=c.dHb||!!_.E(e,13);c=c.eHb||_.N(e,14,!1);var g=b.api===11;if(f){f=_.E(e,13);var k={};f&&f.startsWith("email:")?k.trace=f:f&&f==="trace:true"?k.$trace="true":k.trace=f?"token:"+
f:"email:"+d.getEmail().replace(/(@|\+).*$/,"");g||(k["trace.deb"]="genoa:3:all,driveService:3:all"+(_.ri(e,9,2)===2?"":",cospel:3:all,DriveService:3:all"));iEd(k,b.uri)}c&&!g&&a.O&&a.O.O(b.headers,b.method,b.uri.toString())},FJd=function(a,b,c){a=c.Rm||_.NN(_.hO(a.H))?_.z(_.cr(a.H),36,""):c.qY||_.z(_.cr(a.H),37,"");iEd({key:a},b.uri)};_.KJd=function(a){this.Ca=_.p(a)};_.P(_.KJd,_.w);_.KJd.prototype.Xo=function(){return _.Ae(this,1)};_.LJd=function(a,b){return _.I(a,1,b)};_.MJd=function(a){this.Ca=_.p(a)};_.P(_.MJd,_.w);_.MJd.prototype.kd=function(){return _.E(this,1)};_.NJd=function(a,b){return _.L(a,1,b)};_.OJd=function(a,b){return _.Tg(a,2,b)};_.PJd=function(a,b){return _.L(a,3,b)};_.QJd=function(a,b){return _.L(a,5,b)};_.MJd.prototype.getStatus=function(){return _.Ae(this,6)};_.MJd.prototype.Tb=function(a){return _.I(this,6,a)};_.MJd.prototype.qf=function(){return _.nk(this,6)};_.MJd.prototype.Mq=function(){return _.E(this,8)};
_.RJd=function(a,b){return _.L(a,8,b)};_.SJd=function(a,b){return _.Q(a,_.Lp,9,b)};_.YP=function(a){this.Ca=_.p(a)};_.P(_.YP,_.w);_.YP.prototype.getResponse=function(){return _.K(this,_.Cr,1)};_.TJd=function(a,b){return _.Q(a,_.Cr,1,b)};_.YP.prototype.Ws=function(){return _.E(this,3)};_.UJd=function(a,b){return _.L(a,3,b)};_.YP.prototype.iD=function(){return _.Zg(this,3)};var VJd=function(a){this.Ca=_.p(a)};_.P(VJd,_.w);_.VFd=function(a){var b=new VJd;return _.Q(b,_.Se,1,a)};var eGd=function(a){this.Ca=_.p(a)};_.P(eGd,_.w);var dGd=function(a,b){return _.yk(a,2,b)};eGd.mb=[2];var WJd=function(a){this.Ca=_.p(a)};_.P(WJd,_.w);var bGd=function(a){var b=new WJd;return _.yk(b,1,a)};WJd.prototype.H=function(a){return _.Yj(this,1,a)};WJd.prototype.getOptions=function(){return _.K(this,eGd,2)};var cGd=function(a,b){_.Q(a,eGd,2,b)};WJd.mb=[1];var XJd=function(a){this.Ca=_.p(a)};_.P(XJd,_.w);_.h=XJd.prototype;_.h.getStatus=function(){return _.K(this,_.ct,1)};_.h.Tb=function(a){return _.Q(this,_.ct,1,a)};_.h.getItem=function(){return _.K(this,_.Oq,2)};_.h.setItem=function(a){return _.Q(this,_.Oq,2,a)};_.h.Sw=function(){return _.oj(this,_.Oq,2)};var YJd=function(a){this.Ca=_.p(a)};_.P(YJd,_.w);YJd.mb=[1];var ZJd=function(){},aKd,$Jd,cKd;_.P(ZJd,_.an);aKd=function(a,b,c){if(!(c>=b.length)){var d=b[c];a:{var e=a.H;for(var f=0;f<e.length;f++)if(_.hp(e[f].getName(),d)){e=!0;break a}e=!1}e||(e=a.H,f=_.ZP(d),e.push(f));a=$Jd(a,d);_.TPa(a,"Child node not found for %s",d);aKd(a,b,c+1|0)}};_.bKd=function(a,b){var c=b.getName();if(c=$Jd(a,c))for(_.Rt(_.hp(b.getName(),c.getName()),"Cannot merge field nodes with different names"),a=b.H,b=0;b<a.length;b++)c.Db(a[b]);else a.H.push(b)};
$Jd=function(a,b){a=a.H;for(var c=0;c<a.length;c++){var d=a[c];if(_.hp(d.getName(),b))return d}return null};cKd=function(a){return a.H.map(function(b){return b.toString()}).join(",")};_.dKd=function(){var a=_.ec.apply(0,arguments);_.fp(a,_.ep,_.Cn);this.H=[];for(var b=0;b<a.length;b++){var c=_.ZP(a[b]);_.bKd(this,c)}};_.P(_.dKd,ZJd);_.dKd.prototype.yj=function(){return _.Gv(this.H)};_.dKd.prototype.toString=function(){return cKd(this)};_.$P=function(a,b){this.H=[];this.O=a;if(b)for(a=0;a<b.length;a++)this.Db(b[a])};_.P(_.$P,ZJd);_.ZP=function(a){return new _.$P(a,null)};_.$P.prototype.getName=function(){return this.O};_.$P.prototype.Db=function(a){_.bKd(this,a)};_.$P.prototype.toString=function(){var a=cKd(this);return a.length>0?_.cn(this.O)+"("+_.cn(a)+")":this.O};var eKd,fKd=function(){fKd=function(){};eKd=_.dw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.fw(_.V0a(bId),
_.Eo(227),["abuse_is_appealable"]),_.Eo(228),["abuse_notice_reason"]),_.Eo(242),["access_requests_count"]),_.Eo(74),["action_item"]),_.Eo(120),["alternate_link"]),_.Eo(188),["ancestor_has_own_permissions"]),_.Eo(184),["authorized_app_ids"]),_.Eo(241),["badged_label"]),_.Eo(1004),["contains_unsubscribed_children"]),_.Eo(9),["create_date_millis"]),_.Eo(187),["customer_id"]),_.Eo(26),["description"]),_.Eo(108),["detectors"]),_.Eo(302),["edit_source"]),_.Eo(318),["embed_link"]),_.Eo(28),["explicitly_trashed"]),
_.Eo(44),["file_extension"]),_.Eo(13),["file_size"]),_.Eo(48),["flagged_for_abuse"]),_.Eo(38),["folder_color"]),_.Eo(86),["folder_color_rgb"]),_.Eo(49),["folder_features"]),_.Eo(104),["has_apps_script_addon"]),_.Eo(39),["has_child_folder"]),_.Eo(87),["has_own_permissions"]),_.Eo(62),["has_thumbnail"]),_.Eo(100),["has_visitor_permissions"]),_.Eo(72),["head_revision_id"]),_.Eo(21),["id"]),_.Eo(279),["inheritance_broken"]),_.Eo(12),["last_viewed_by_me_date_millis"]),_.Eo(3),["mime_type"]),_.Eo(11),["modified_by_me_date_millis"]),
_.Eo(10),["modified_date_millis"]),_.Eo(95),["organization_display_name"]),_.Eo(58),["owned_by_me"]),_.Eo(103),["paired_doc_type"]),_.Eo(1),["parent"]),_.Eo(96),["passively_subscribed"]),_.Eo(75),["permission_summary"]),_.Eo(94),["primary_domain_name"]),_.Eo(45),["primary_sync_parent"]),_.Eo(32),["quota_bytes_used"]),_.Eo(67),["recency_date_millis"]),_.Eo(68),["recency_date_reason"]),_.Eo(210),["resource_key"]),_.Eo(278),["restriction_callouts"]),_.Eo(24),["shared"]),_.Eo(25),["shared_with_me_date_millis"]),
_.Eo(272),["smart_categories"]),_.Eo(56),["source_app_id"]),_.Eo(55),["spaces"]),_.Eo(35),["subscribed"]),_.Eo(83),["team_drive_id"]),_.Eo(150),["thumbnail_version"]),_.Eo(2),["title"]),_.Eo(98),["trashed_date_millis"]),_.Eo(27),["user_role"]),_.Eo(70),["version"]),_.Eo(126),["workspace_id"]),_.Eo(5),["hidden"]),_.Eo(7),["restricted"]),_.Eo(4),["starred"]),_.Eo(6),["trashed"]),_.Eo(8),["viewed"]),_.Eo(124),["published"]),_.Eo(148),["approval_summaries"]),_.Eo(138),["approval_version"]),_.Eo(243),
["has_incoming_approval"]),_.Eo(180),["creator","id"]),_.Eo(198),["creator","email_from_account"]),_.Eo(183),["creator","email"]),_.Eo(252),["creator","focus_user_id"]),_.Eo(282),["creator","is_me"]),_.Eo(285),["creator","type"]),_.Eo(168),["last_modifying_user","id"]),_.Eo(196),["last_modifying_user","email_from_account"]),_.Eo(179),["last_modifying_user","email"]),_.Eo(248),["last_modifying_user","focus_user_id"]),_.Eo(280),["last_modifying_user","is_me"]),_.Eo(287),["last_modifying_user","type"]),
_.Eo(164),["owner","id"]),_.Eo(195),["owner","email_from_account"]),_.Eo(167),["owner","email"]),_.Eo(244),["owner","focus_user_id"]),_.Eo(284),["owner","is_me"]),_.Eo(286),["owner","type"]),_.Eo(175),["trashing_user","id"]),_.Eo(199),["trashing_user","email_from_account"]),_.Eo(178),["trashing_user","email"]),_.Eo(254),["trashing_user","focus_user_id"]),_.Eo(283),["trashing_user","is_me"]),_.Eo(289),["trashing_user","type"]),_.Eo(171),["sharing_user","id"]),_.Eo(197),["sharing_user","email_from_account"]),
_.Eo(174),["sharing_user","email"]),_.Eo(250),["sharing_user","focus_user_id"]),_.Eo(281),["sharing_user","is_me"]),_.Eo(288),["sharing_user","type"]),_.Eo(76),["capabilities","can_add_children"]),_.Eo(223),["capabilities","can_add_encrypted_children"]),_.Eo(208),["capabilities","can_add_folder_from_another_drive"]),_.Eo(185),["capabilities","can_add_my_drive_parent"]),_.Eo(224),["capabilities","can_block_owner"]),_.Eo(213),["capabilities","can_change_security_update_enabled"]),_.Eo(61),["capabilities",
"can_comment"]),_.Eo(240),["capabilities","can_copy_encrypted_file"]),_.Eo(258),["capabilities","can_copy_non_authoritative"]),_.Eo(216),["capabilities","can_create_decrypted_copy"]),_.Eo(217),["capabilities","can_create_encrypted_copy"]),_.Eo(77),["capabilities","can_delete"]),_.Eo(134),["capabilities","can_delete_children"]),_.Eo(259),["capabilities","can_download_non_authoritative"]),_.Eo(147),["capabilities","can_edit_category_metadata"]),_.Eo(300),["capabilities","can_initiate_esignature"]),
_.Eo(89),["capabilities","can_list_children"]),_.Eo(81),["capabilities","can_manage_members"]),_.Eo(82),["capabilities","can_manage_visitors"]),_.Eo(114),["capabilities","can_modify_content_restriction"]),_.Eo(133),["capabilities","can_move_children_out_of_team_drive"]),_.Eo(202),["capabilities","can_move_children_within_drive"]),_.Eo(101),["capabilities","can_move_item_into_team_drive"]),_.Eo(201),["capabilities","can_move_item_out_of_drive"]),_.Eo(131),["capabilities","can_move_item_out_of_team_drive"]),
_.Eo(200),["capabilities","can_move_item_within_drive"]),_.Eo(130),["capabilities","can_move_item_within_team_drive"]),_.Eo(93),["capabilities","can_move_team_drive_item"]),_.Eo(191),["capabilities","can_read"]),_.Eo(146),["capabilities","can_read_category_metadata"]),_.Eo(90),["capabilities","can_read_team_drive"]),_.Eo(78),["capabilities","can_remove_children"]),_.Eo(186),["capabilities","can_remove_my_drive_parent"]),_.Eo(85),["capabilities","can_rename"]),_.Eo(276),["capabilities","can_report_not_spam"]),
_.Eo(236),["capabilities","can_report_spam_or_abuse"]),_.Eo(137),["capabilities","can_request_approval"]),_.Eo(209),["capabilities","can_set_missing_required_fields"]),_.Eo(79),["capabilities","can_share"]),_.Eo(189),["capabilities","can_share_child_files"]),_.Eo(190),["capabilities","can_share_child_folders"]),_.Eo(80),["capabilities","can_trash"]),_.Eo(135),["capabilities","can_trash_children"]),_.Eo(102),["capabilities","can_untrash"]),_.Eo(34),["capabilities","can_copy"]),_.Eo(41),["capabilities",
"can_download"]),_.Eo(59),["capabilities","can_edit"]),_.Eo(256),["content_restrictions","read_only"]),_.Eo(257),["content_restrictions","reason"]),_.Eo(193),["client_encryption_details","encryption_state"]),_.Eo(291),["client_encryption_details","decryption_metadata","aes_256_gcm_chunk_size"]),_.Eo(292),["client_encryption_details","decryption_metadata","resource_key_hash"]),_.Eo(293),["client_encryption_details","decryption_metadata","jwt"]),_.Eo(294),["client_encryption_details","decryption_metadata",
"kacls_id"]),_.Eo(295),["client_encryption_details","decryption_metadata","kacls_name"]),_.Eo(296),["client_encryption_details","decryption_metadata","key_format"]),_.Eo(297),["client_encryption_details","decryption_metadata","wrapped_key"]),_.Eo(301),["client_encryption_details","decryption_metadata","guest_idp"]),_.Eo(29),["image","date_millis"]),_.Eo(31),["image","height"]),_.Eo(92),["image","rotation"]),_.Eo(30),["image","width"]),_.Eo(192),["shortcut_details","can_request_access_to_target"]),
_.Eo(159),["shortcut_details","target_item"]),_.Eo(154),["shortcut_details","target_id"]),_.Eo(158),["shortcut_details","target_lookup_status"]),_.Eo(155),["shortcut_details","target_mime_type"]),_.Eo(234),["spam_metadata","in_spam_view"]),_.Eo(233),["spam_metadata","marked_as_spam_date_millis"]),_.Eo(274),["spam_metadata","is_spam"]),_.Eo(275),["spam_metadata","is_inherited_spam"]),_.Eo(277),["audio","duration_millis"]),_.Eo(107),["video","duration_millis"]),_.Eo(106),["video","height"]),_.Eo(105),
["video","width"]),_.Eo(303),["video","transcode_status"]),_.Eo(260),["item_location","parent","folder_color"]),_.Eo(270),["item_location","parent","drive_id"]),_.Eo(261),["item_location","parent","has_augmented_permissions"]),_.Eo(269),["item_location","parent","icon_url"]),_.Eo(264),["item_location","parent","id"]),_.Eo(268),["item_location","parent","mime_type"]),_.Eo(267),["item_location","parent","resource_key"]),_.Eo(262),["item_location","parent","shared"]),_.Eo(265),["item_location","parent",
"title"]),_.Eo(263),["item_location","parent","trashed"]),_.Eo(271),["item_location","parent","trusted_drive"]),_.Eo(266),["item_location","parent","version"]))};var fGd;fGd=function(a){var b=new _.dKd,c=_.ZP("responses");c.Db(new _.$P("status",[_.ZP("code"),_.ZP("message"),_.ZP("details")]));a=_.gKd(a).yj();a.length>0&&c.Db(new _.$P("item",a));_.bKd(b,c);return b.toString()};_.gKd=function(a){for(var b=new _.dKd,c=0;c<a.length;c++){var d=a[c];fKd();d=eKd.contains(_.Eo(d))?_.bp(eKd.get(_.Eo(d))):_.fv;aKd(b,d,0)}return b};_.hKd=function(a,b){_.YF.call(this,a?a:500,b?b:6E5)};_.P(_.hKd,_.YF);var mKd=function(a,b,c){this.ma=b;this.environment=c;this.O=this.H=this.V=null;this.client=_.aQ(iKd,_.NP(a));this.W=_.E(a,94);this.ua=_.aQ(jKd,_.ri(_.cr(a),8,0));this.wVa=_.aQ(kKd,_.ri(_.cr(a),9,2));this.Ba=_.LP(a);this.Rm=_.NN(_.hO(a));this.I1a=_.OP(a);this.ooa=lKd(a);this.buildLabel=_.E(a,62)},lKd,pKd,rKd,tKd,nKd,oKd,iKd,kKd,jKd;mKd.prototype.oj=function(){return this.client};
lKd=function(a){var b=[].concat(_.Eb(nKd.keys())),c=[].concat(_.Eb(oKd.keys())),d=_.br(a);return b.filter(function(e){return nKd.get(e)(a)}).concat(c.filter(function(e){return d&&oKd.get(e)(d)}))};_.aQ=function(a,b){a=_.n(a);for(var c=a.next();!c.done;c=a.next()){var d=_.n(c.value);c=d.next().value;d=d.next().value;if(c.includes(b))return d}return 0};pKd=function(a){if(a.O)return a.O.H("aU7Ts")};
_.qKd=function(a){if((0,_.BId)(a))return 2;if((0,_.DId)(a))return 10;if((0,_.VO)(a))return _.qi(a)?3:_.N(a,82,!1)?_.rJd(_.lf(a,_.wg))?23:22:1;if((0,_.AId)(a))return 9;if((0,_.EId)(a))return 11;if((0,_.UId)(a))return 15;if((0,_.IId)(a))return 6;if((0,_.JId)(a)){a=_.Ae(a,1);if(a==1)return 5;if(a==2)return 16;if(a==4)return 17;if(a==3)return 18}else{if((0,_.TBd)(a))return 12;if((0,_.HId)(a))return 13;if((0,_.sEd)(a))return 19;if((0,_.RO)(a))return 20;if((0,_.SO)(a))return 24;if((0,_.RId)(a)||(0,_.PId)(a))return 21}return 0};
rKd=function(a){return[_.KN,_.CN,_.lr,_.bq,_.RN,_.cf,_.XO,_.fP,_.QN,_.zN,_.Er,_.nP,_.YN,_.jO].some(function(b){return a instanceof b})};
_.sKd=function(a,b,c){c=c===void 0?!1:c;var d=_.bQ(a);var e=_.qKd(b);d=_.I(d,2,e);e=null;rKd(b)&&!(0,_.UId)(b)&&(e=b.Zk());e=e&&_.N(e,2,!1);d=_.J(d,7,typeof e=="boolean"?e:void 0);e=(0,_.VO)(b)?_.AP(b).length>0:void 0;d=_.J(d,8,e);if((0,_.UId)(b))e=void 0;else{var f;e=(f=b.Zk())==null?void 0:_.Jh(f,11)}f=_.J(d,14,e);if((0,_.UId)(b))d=311;else{var g;d=((g=b.Zk())==null?void 0:_.Ae(g,1))||0}_.I(f,12,d);c&&(c=_.bQ(a),_.J(c,13,!0));if(b instanceof _.lr||b instanceof _.zN)a=_.bQ(a),b=b.Lh().length,_.Ug(a,
11,b)};_.uKd=function(a){var b;return(b=tKd.get(a))!=null?b:0};_.vKd=new Map([[[1],1],[[6],7],[[2],2]]);tKd=new Map([[0,0],[2,1],[1,2]]);_.wKd=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
nKd=new Map([[12,function(a){return _.wh(a,69)}],[24,function(a){return _.N(a,3,!1)}],[9,function(a){return _.N(a,17,!1)}],[21,function(a){return _.zP(a)}],[2,function(a){return _.N(a,8,!0)}],[14,function(){return!0}],[16,function(a){return _.N(a,56,!1)}],[17,function(a){return _.N(a,57,!1)}],[18,function(a){return _.N(a,54,!1)}],[19,function(a){return _.N(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
oKd=new Map([[92,function(a){return _.N(a,64,!1)}],[34,function(a){return _.N(a,9,!1)}],[33,function(a){return _.N(a,8,!1)}],[40,function(a){return _.N(a,15,!1)}],[44,function(a){return _.N(a,19,!1)}],[42,function(a){return _.N(a,17,!1)}],[49,function(a){return _.EP(a)}],[54,function(a){return _.N(a,27,!1)}],[50,function(a){return _.N(a,21,!1)}],[39,function(a){return _.N(a,14,!1)}],[51,function(a){return _.N(a,24,!1)}],[53,function(a){return _.MN(a)}],[58,function(a){return _.N(a,31,!1)}],[66,function(a){return _.N(a,
39,!1)}],[65,function(a){return _.N(a,38,!1)}],[69,function(a){return _.N(a,42,!1)}],[105,function(a){return _.N(a,75,!1)}],[89,function(a){return _.ri(a,61,0)===1}],[88,function(a){return _.ri(a,61,0)===2}],[98,function(a){return _.ri(a,68,0)===1}],[97,function(a){return _.ri(a,68,0)===2}],[70,function(a){return _.ri(a,43,0)===1}],[71,function(a){return _.ri(a,43,0)===2}],[86,function(a){return _.ri(a,60,0)===1}],[87,function(a){return _.ri(a,60,0)===2}],[72,function(a){return _.N(a,45,!1)}],[74,
function(a){return _.N(a,47,!1)}],[91,function(a){return _.N(a,63,!1)}],[82,function(a){return _.N(a,55,!1)}],[85,function(a){return _.N(a,59,!1)}],[90,function(a){return _.N(a,62,!1)}],[96,function(a){return _.N(a,67,!1)}],[99,function(a){return _.N(a,69,!1)}],[101,function(a){return _.N(a,71,!1)}],[102,function(a){return _.N(a,72,!1)}],[103,function(a){return _.N(a,73,!1)}],[104,function(a){return _.N(a,74,!1)}],[107,function(a){return _.N(a,77,!1)}]]);
_.xKd=new Map([[[1],1],[[2],2],[[3],3],[[4],4],[[5],5]]);
iKd=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[274],274],[[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],[[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],[[253],253],[[254],254],[[255],255],[[277],277],[[256],256],[[257],257],[[258],258],[[259],259],[[261],261],[[262],262],[[278],278],[[263],263],[[264],264],[[265],265],[[273],273],[[272],272],[[271],271],[[266],266],[[267],267],[[268],268],[[269],269],[[270],270],[[275],275],
[[276],276],[[279],279],[[280],280],[[281],281],[[282],282],[[283],283],[[284],284],[[285],285],[[286],286],[[287],287],[[288],288],[[289],289],[[290],290],[[291],291],[[292],292],[[293],293],[[294],294]]);kKd=new Map([[[2],3],[[1],2],[[0],1]]);_.yKd=new Map([[[0],1],[[1],2],[[3],3],[[6],5],[[7],6],[[8],7],[[9],8],[[10],9],[[11],10],[[12],11]]);
_.zKd=new Map([[[_.ZBd],1],[[_.$Bd],2],[[_.aCd],3],[[_.bCd],4],[[_.cCd],5],[[_.dCd],6],[[_.eCd],7],[[_.fCd],8],[[_.gCd],10],[[_.hCd],11],[[_.iCd],12],[[_.jCd],13]]);jKd=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);var AKd=function(a){this.H=a;this.O=[].concat(_.Eb(this.H)).sort()};AKd.prototype.has=function(a){return this.H.has(a)};AKd.prototype.iM=function(){return this.O};AKd.prototype.add=function(a){this.H.add(a);this.O.push(a);this.O.sort()};AKd.prototype.remove=function(a){this.H.delete(a);_.xa(this.O,a)};var BKd=function(a){this.H=new Set;this.BF=new AKd(a)};BKd.prototype.ODa=function(){return this.BF.iM().concat([].concat(_.Eb(this.H)))};BKd.prototype.aTa=function(a){var b=new Set;a=_.n(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.BF.has(c)||this.H.has(c)||(this.H.add(c),b.add(c));return[].concat(_.Eb(b))};var CKd=function(){var a={bpd:fFd};this.H=Object.assign({},a!=null?a:{},{S$:fFd})};CKd.prototype.validate=function(){};CKd.prototype.tN=function(a,b){this.validate(a);this.validate(b);for(var c=new Set,d={},e=_.n(Object.keys(a)),f=e.next();!f.done;f=e.next())f=f.value,c.add(f),d[f]=DKd(this,f,a,b);e=_.n(Object.keys(b));for(f=e.next();!f.done;f=e.next())f=f.value,c.has(f)||(d[f]=DKd(this,f,a,b));return d};
var DKd=function(a,b,c,d){if(c[b]===void 0)return d[b];if(d[b]===void 0)return c[b];if(a.H[b])return a.H[b](c[b],d[b]);if(d[b]===c[b])return d[b];throw Error("Qg`"+String(b)+"`"+c[b]+"`"+d[b]);};var EKd=function(a,b){this.MZ={};this.Re={};b=_.n(b);for(var c=b.next();!c.done;c=b.next())c=c.value,this.MZ[c.key]=c;Object.freeze(this.MZ);a=_.n(a);for(b=a.next();!b.done;b=a.next())c=_.n(b.value),b=c.next().value,c=c.next().value,this.Re[b]=c;Object.freeze(this.Re)};EKd.prototype.clear=function(a){var b=this;return{from:function(c){b.MZ[a].clear(c)}}};
EKd.prototype.tN=function(a){var b=this;return{from:function(c){return{Drc:function(d){for(var e=_.n(a),f=e.next();!f.done;f=e.next())b.MZ[f.value].tN(d,c)}}}}};EKd.prototype.has=function(a){var b=this;return{Py:function(c){return b.MZ[a].has(c)}}};var FKd=function(a){this.O=a;this.H=new Map;this.Re=new Map};FKd.prototype.build=function(){this.validate();return new GKd(this.BF,this.Re,this.H.values())};FKd.prototype.validate=function(){HKd(this)};var HKd=function(a){for(var b=new Set,c=new Set,d=function(g){if(!c.has(g)){if(b.has(g))throw Error("Sg`"+String(g));b.add(g);var k=a.Re.get(g);if(k==null?0:k.S$){k=_.n(k.S$);for(var l=k.next();!l.done;l=k.next())d(l.value)}c.add(g)}},e=_.n(a.Re.keys()),f=e.next();!f.done;f=e.next())d(f.value)};var jFd=function(a){this.root="drive.ds";this.log=a;this.H=new Map};jFd.prototype.Kf=function(a){var b=this.H.get(a);b||(b=new IKd(this.root+"."+a,this.log),this.H.set(a,b));return b};var IKd=function(a,b){this.name=a;this.H=b};_.h=IKd.prototype;_.h.yw=function(a,b){this.log(a,"severe",b)};_.h.uc=function(a,b){this.log(a,"warning",b)};_.h.info=function(a,b){this.log(a,"info",b)};_.h.config=function(a,b){this.log(a,"config",b)};_.h.log=function(a,b,c){this.H.publish(this.name,a,b,c)};var iFd=function(){this.H=[];this.V=!1;this.startTime=Date.now()};iFd.prototype.publish=function(a,b,c,d){if(this.V)for(a={logName:a,msg:b,level:c,totalTimeMs:Date.now()-this.startTime,exception:d},b=_.n(this.H),c=b.next();!c.done;c=b.next())c=c.value,c(a)};iFd.prototype.addHandler=function(a){this.H.push(a)};iFd.prototype.O=function(a){a=this.H.indexOf(a);return a!==-1?(this.H.splice(a,1),!0):!1};var kFd;kFd=function(){this.H=[];this.O=new _.Iya(2500)};_.JKd=function(a){var b=a.H.map(hFd);a.O.yc()>0&&b.push("...\t|\t...\t|\t...\t|\t...");return b.join("\n")};kFd.prototype.V=function(a){this.H.length<2500?this.H.push(a):this.O.add(a)};var KKd=function(){_.Ig.apply(this,arguments)};_.P(KKd,_.Ig);var MKd=function(a,b){a.dispatchEvent(new LKd(b))};KKd.prototype.O=function(){};var LKd=function(a){_.sm.call(this,"Ea");this.request=a};_.P(LKd,_.sm);var cQ=function(a){_.Ig.call(this);this.name=a};_.P(cQ,_.Ig);_.h=cQ.prototype;_.h.b$=function(){};_.h.KIa=function(){};_.h.JIa=function(){};_.h.aeb=function(){};_.h.Xyb=function(){};_.h.Wyb=function(){};_.h.Ik=function(){this.dispatchEvent(new _.sm("Fa"))};_.h.toString=function(){return this.name+": "+this.max(Infinity)};var dQ=function(a,b,c,d,e,f){_.Ig.call(this);var g=this;this.Td=a;this.O=b;this.H=c;this.ZB=d;this.W=e;this.ma=0;this.V=new Map;this.handler=new _.Lg(this);this.Sa(this.handler);a=_.n(this.H);for(b=a.next();!b.done;b=a.next())this.handler.listen(b.value,"Fa",function(){g.cyb()});a=_.n(this.W);for(b=a.next();!b.done;b=a.next())this.handler.listen(b.value,"Ea",function(k){NKd(g,!0,k.request)});this.logger=this.Td.Kf(_.ku("network.routing.queue.Queue [%s]",f))};_.P(dQ,_.Ig);
dQ.prototype.add=function(a){return NKd(this,!1,{Rq:a,he:new _.By,responses:[]})};dQ.prototype.cancel=function(a){for(var b=this.O.cancel(a),c=null,d=_.n(this.ZB),e=d.next();!e.done&&!(c=e.value.cancel(a));e=d.next());if(b)this.log("Canceled ID "+a+" during execution.");else if(c)for(this.log("Canceled ID "+a+" inside bucket."),a=0;a<this.H.length;a++)this.H[a].Wyb(c);return!(!b&&!c)};dQ.prototype.BX=function(){return this.O.BX()?!0:this.ZB.some(function(a){return a.BX()})};
var NKd=function(a,b,c){if(!a.ZB.some(function(f){return f.add(c,b)}))return a=_.Hr(new _.Gr,"No queue bucket accepted request."),Promise.reject(_.TN(a));for(var d=OKd(a),e=0;e<a.H.length;e++)a.H[e].b$(c,d);return c.he.promise};_.h=dQ.prototype;
_.h.cyb=function(){var a=OKd(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.ZB.length&&c.length===0;d++)c=this.ZB[d].kC(b);c.length>0&&(this.log("Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),this.execute(c))}};
_.h.execute=function(a){var b=this,c=String(this.ma++);this.V.set(c,a);for(var d=this.O.execute(a),e=0;e<a.length;e++){var f=a[e].Rq.config;this.log(_.PEd(a[e].Rq.Xt)+" request sent. xd4: "+!(!f||!f.VT));d[e].then(this.klc.bind(this,a[e]),this.jlc.bind(this,a[e]))}e=OKd(this);for(f=0;f<this.H.length;f++)this.H[f].KIa(a,e);Promise.allSettled(d).then(this.ilc.bind(this,a)).finally(function(){b.V.delete(c)});_.ca.setTimeout(this.cyb.bind(this),0)};
_.h.klc=function(a,b){var c=a.Rq.config;this.log(_.PEd(a.Rq.Xt)+" request completed successfully. xd4: "+!(!c||!c.VT));this.H.forEach(function(d){return d.aeb()});this.W.forEach(function(d){return d.O(a)});a.he.resolve(b)};
_.h.jlc=function(a,b){b=_.TN(b);this.log(_.PEd(a.Rq.Xt)+(" request failed with error: "+b.H+"."));a.responses.push({response:b,pMc:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].Xyb(a);a.Rq.config.V4a||!this.W.some(function(d){return d.intercept(a)})?a.he.reject(b):this.log(_.PEd(a.Rq.Xt)+" encountered an error, but was intercepted to be retried.")};_.h.ilc=function(a){OKd(this);for(var b=0;b<this.H.length;b++)this.H[b].JIa(a)};
var OKd=function(a){for(var b=0,c=0;c<a.ZB.length;c++)if(a.ZB[c].getSize()){b=a.ZB[c].getSize();break}return b};dQ.prototype.log=function(a){this.logger.info(a)};var PKd,RKd;PKd={};_.QKd=(PKd[0]=0,PKd[1]=1,PKd[2]=2,PKd[3]=3,PKd);RKd={};_.SKd=(RKd[0]=0,RKd[1]=1,RKd[2]=2,RKd);_.TKd=function(a,b,c){_.sm.call(this,"Ga");this.requestId=a;this.progress=b;this.totalBytes=c};_.P(_.TKd,_.sm);_.oFd=function(a,b,c,d,e,f,g){this.request=a;this.O=b;this.W=c;this.H=d;this.ma=f;this.uxa=g===void 0?!1:g;this.V=!1;this.logger=e==null?void 0:e.Kf("sync.query.BatchFindByIdsRunner");this.Jx=_.ri(_.aGd(this.O),43,0)};_.oFd.prototype.Cj=function(){if(!this.V)if(this.V=!0,this.request.Lh().length===0)this.H.Gua([]);else if(this.Jx=_.ri(_.aGd(this.O),43,0),this.Jx===1)UKd(this);else{var a=VKd(this);this.Jx===2&&UKd(this,a)}};
_.oFd.prototype.Zp=function(a){var b,c,d=(c=(b=this.ma)==null?void 0:b.H(106041))!=null?c:void 0;(b=d==null?void 0:_.WKd(d))!=null&&(b=_.I(b,1,9),c=_.uKd(this.Jx),b=_.I(b,3,c),a=_.I(b,2,a),b=this.request.Lh().length,_.Ug(a,7,b));return d};
var VKd=function(a){for(var b=a.Zp(1),c={uxa:a.uxa},d=[],e=_.n(a.request.Lh().entries()),f=e.next(),g={};!f.done;g={fCb:void 0,W0a:void 0},f=e.next()){var k=_.n(f.value);f=k.next().value;k=k.next().value;g.W0a=k;g.fCb=XId(WId(f),a.request);g=a.W.then(function(l){return function(m){return m.Nh(l.fCb,c)}}(g)).then(function(l){return function(m){return void XKd(a,m,[l.W0a])}}(g),function(l){return function(m){var q=l.W0a,r=_.TN(m);if(r.yg.ihb()===5||r.yg.RDa()===4){var t;(t=a.logger)==null||t.info("Deleting "+
q+" due to: "+r.message);a.H.h0a(q)}else a.H.handleError(r);a.H.Gua([q]);var u;m=(u=_.TN(m).yg.Nla())!=null?u:500;var v;b!=null&&(v=_.WKd(b))!=null&&_.vb(v,4,_.eb,m)}}(g));d.push(g)}Promise.all(d).then(function(){return void(b==null?void 0:b.Vi())});return b},UKd=function(a,b){var c=a.Zp(2);b&&(c==null||_.aDd(c,b));var d={uxa:a.uxa};b=a.request.Lh();for(var e=function(l,m){if(a.Jx===1)XKd(a,l,m,c);else{var q;(l=l==null?void 0:(q=l.getResponse())==null?void 0:_.tb(q,19,_.PP))&&l.forEach(function(r){var t;
r=(t=_.Sj(r,8))!=null?t:2;var u;c!=null&&(u=_.WKd(c))!=null&&_.vb(u,6,_.eb,r)})}},f=[],g={},k=0;k<b.length;g={zkb:void 0,iGa:void 0},k+=50)g.iGa=b.slice(k,k+50),g.zkb=a.request.clone().No(g.iGa),g=Promise.resolve(a.W).then(function(l){return function(m){return m.Nh(l.zkb,d)}}(g)).then(function(l){return function(m){return void e(m,l.iGa)}}(g),function(l){return function(m){var q=l.iGa;m=_.TN(m);if(a.Jx===1)a.H.handleError(m),a.H.Gua(q);else{var r;(r=a.logger)==null||r.info("Driveway Darklaunch error: "+
m.message)}var t;q=(t=_.Rj(m.yg,26))!=null?t:2;var u;c!=null&&(u=_.WKd(c))!=null&&_.vb(u,5,_.eb,q)}}(g)),f.push(g);Promise.all(f).then(function(){return void(c==null?void 0:c.Vi())})},XKd=function(a,b,c,d){d=d===void 0?null:d;var e,f=(e=b.getResponse())==null?void 0:e.Gd(_.wg),g;if(b=(g=b.getResponse())==null?void 0:_.tb(g,19,_.PP)){var k,l=(k=d)==null?void 0:_.WKd(k);b.forEach(function(m,q){var r=_.Sj(m,8),t=m.getMessage();if(r===5){var u;(u=a.logger)==null||u.info("Deleting "+q+" due to: "+t);a.H.h0a(q)}else q=
_.aId(r),a.H.handleError(_.TN(q,t));var v;m=(v=_.Sj(m,8))!=null?v:2;l!=null&&_.vb(l,6,_.eb,m)})}f&&(f.forEach(function(m){_.dO(m,1)}),a.H.Gtb(f));a.H.Gua(c)};var nFd=function(a){_.Ig.call(this);this.request=a;this.items={};this.he=new _.By;this.H=new Set};_.P(nFd,_.Ig);nFd.prototype.handleError=function(a){this.he.reject(a)};nFd.prototype.Gtb=function(a){a=_.n(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.items[b.Pb()]=b};nFd.prototype.h0a=function(a){this.items[a]=null};nFd.prototype.Gua=function(a){a=_.n(a);for(var b=a.next();!b.done;b=a.next())this.H.add(b.value);this.H.size===this.request.Lh().length&&this.he.resolve(this.items)};_.YKd=function(a,b,c,d,e,f,g){_.Ig.call(this);var k=this;this.H=a;this.V=b;this.Da=c;this.ma=d;this.iL=e;this.Ba=f;this.W=g;this.requests={};this.ua={};this.fba=_.hl();this.logger=null;this.addOnDisposeCallback(function(){k.aI()})};_.P(_.YKd,_.Ig);_.YKd.prototype.X_=function(){return _.hl()};
_.YKd.prototype.upload=function(a,b,c,d){if((0,_.QFd)(a)&&!b)return Promise.reject(new _.wf("Invalid Operation: Encrypted copy of folders not supported."));zJd(this.V,"UploadTotalCount");var e=a.Ika();if(e&&this.requests[e])throw new _.wf("Upload requested with a duplicate request ID.");var f=a;if((0,_.QFd)(f))var g=void 0;else if(g=void 0,(f=_.Xj(f,10,_.Ff()))&&f.length){if(f.length!==1)throw new _.wf("Multi-parented uploads are not supported.");g=this.requests[f[0]];if(!g)throw new _.wf("The parent upload request must precede this request.");
}this.b9a(a,b);e||(e=this.X_(),a.Jka(e));a=a.clone();f=ZKd(this,e);this.requests[e]={request:a,file:b,he:f,nG:!1,GN:0,success:!1,SC:!1,children:[],metadata:c,Hra:void 0,O_:d};g?$Kd(this,e,g):aLd(this,e);return f.promise};_.YKd.prototype.b9a=function(a,b){(0,_.QFd)(a)||!_.Nj(a,26)&&b&&b.lastModified&&_.Tg(a,26,b.lastModified)};
var ZKd=function(a,b){var c=new _.By;c.promise.then(function(d){zJd(a.V,"UploadSuccessCount");var e=a.requests[b];e.success=_.Ae(d,1)===1;(d=d.kd())&&bLd(a,b)&&a.Ba.set(b,d);(d=e.Hra)&&!e.SC&&(nId(pId(cLd(d),e.GN),!0),d.Vi())},function(d){var e=a.H.IP();e&&e.XW()&&(a.ua[b]=d);b&&bLd(a,b)&&a.Ba.Pe(b,d);zJd(a.V,"UploadFailureCount");var f=a.requests[b];(e=f.Hra)&&!f.SC&&(nId(pId(cLd(e),f.GN),!1),d=(f=d&&d.yg)&&_.Ae(f,10),f=f&&_.Ae(f,14),d?oId(cLd(e),dLd.get(d)||13):f&&oId(cLd(e),eLd.get(f)||0),e.Vi())});
return c},$Kd=function(a,b,c,d){var e=a.requests[b],f=e.request;c.children.push(b);_.Ga(c.children);c.he.promise.then(function(g){if(_.Ae(g,1)===1&&(g=g.kd(),f.AE(g),_.nj(f,10),!c.SC||d)){aLd(a,b);return}a.log('[Cancel] Upload of "'+f.Ag()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(g){e.he.reject(_.UN(g)?g:Error(g))})},aLd=function(a,b){var c=a.requests[b];if(!c.nG){c.nG=!0;b=a.requests[b];var d=b.request,e=a.H.IP();e&&_.N(e,4,!1)&&(e=d.getTitle().match(fLd))&&(!e[1]||
b.GN<Number(e[1].substr(1)))&&(d=d.clone(),_.ua(d.FH(_.wg),"$#@! Invalid parent ID."));b=d;d=(d=c.request.hs())?_.Nj(d,1)||0:0;var f=c.file&&c.file.size||d;d=_.cr(a.H);e=_.Uj(d,33,1048576);e=c.file&&c.file&&f>e?2:c.file?1:3;var g=(0,_.wP)(b)?_.E(b,12):void 0;if(a.W&&e!==3){var k=a.W.H(106012);k&&(c.Hra=k,k=cLd(k),k=_.I(k,1,e===2?2:1),k=_.J(k,4,!!c.metadata),g=_.J(k,5,!!g),f=_.Ug(g,6,f),d=_.Uj(d,32,1073741824),_.Ug(f,7,d))}switch(e){case 2:c.file&&gLd(a,new _.KEd(b,c.file,c.O_,c.metadata,c.Hra),c.he,
b.wl());break;case 1:c.file&&(d=c.he,e=c.file,f=c.metadata,c=c.O_,g=_.K(a.H,_.BGd,2),gLd(a,new _.oP(b,e,c,g&&_.CGd(g)?f:void 0),d,b.wl()));break;case 3:gLd(a,b,c.he,b.wl());break;default:throw new _.wf("Upload type ${uploadType} not supported.");}}},gLd=function(a,b,c,d){var e,f,g,k,l;_.Li(function(m){switch(m.H){case 1:return hLd(a.Da,d,a.JCa.bind(a,d)),_.Di(m,a.ma,2);case 2:return e=m.O,_.Fi(m,3,4),_.Di(m,e.Nh(b,{requestId:d,c7:a.fba}),6);case 6:f=m.O,c.resolve(f);case 4:_.Ji(m);iLd(a.Da,[d]);_.Ki(m,
0);break;case 3:return g=_.Ii(m),_.Fi(m,7),_.Di(m,jLd(a,b,g),9);case 9:k=m.O;c.resolve(k);_.Hi(m,4);break;case 7:l=_.Ii(m),c.reject(l),m.Rc(4)}})},jLd=function(a,b,c){var d,e,f,g,k;return _.Li(function(l){if(l.H==1){d=_.TN(c);if(!(b instanceof _.oP&&(0,_.wP)(b.request))||_.Kr(d.yg)!==8)throw d;e=b.request.kd()||"";if(!e)throw d;a.log("Create failed with 409 Conflict, re-querying: "+e);f=_.nr(new _.lr,_.Ve(new _.Se,310)).No([e]);return _.Di(l,_.pFd(f,a.H,a.ma,void 0,a.W).he.promise.then(function(m){return m[e]}),
2)}g=l.O;k=b.request;if(g&&!g.Yl()&&(g.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&g.Ag()===k.Ag())return a.log("Matching item found for: "+e),l.return(_.FId((new _.rP).setItem(g),e).Tb(1));a.log("No matching item found for: "+e);throw d;})};_.h=_.YKd.prototype;
_.h.cancel=function(a){var b=this,c,d,e,f;return _.Li(function(g){switch(g.H){case 1:c=b.requests[a];if(!c||c.SC&&c.children.length===0)return g.return();c.SC=!0;return _.Di(g,_.eFd(c.he.promise),2);case 2:if(g.O)return b.log('[Cancel] Response for "'+c.request.Ag()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Na(c.children,b.cancel,b),g.return();if(d=c.Hra)oId(nId(pId(cLd(d),c.GN),!1),2),d.Vi();e=_.jm();if(!c.nG){c.nG=!0;c.he.resolve(QEd(c.request));
e.resolve(!0);g.Rc(3);break}return _.Di(g,b.ma,4);case 4:f=g.O,e.resolve(f.cancel(a));case 3:e.promise.then(function(k){b.log('[Cancel] Upload of "'+c.request.Ag()+'" was '+(k?"cancelled.":"in-flight. Cannot cancel."))}),_.Ei(g)}})};_.h.aI=function(){var a=this;_.uc(this.requests,function(b,c){a.cancel(c)})};
_.h.retry=function(a){var b=this,c,d,e,f,g,k,l,m,q,r,t,u,v,x,y,C,F,G,M,W,R,fa,aa;return _.Li(function(X){switch(X.H){case 1:c=new Set(a),d=[],e={},f=_.n(a),g=f.next();case 2:if(g.done){X.Rc(4);break}k=g.value;if(e[k]){X.Rc(3);break}else if(!b.requests[k]){e[k]=new _.wf("Retry request with unknown ID.");X.Rc(3);break}l=[];m=k;case 5:l.push(m);q=b.requests[m];r=(0,_.wP)(q.request)?_.Xj(q.request,10,_.Ff(_.wg))||[]:[];t=r[0];if(!t){X.Rc(8);break}u=b.requests[t];if(v=u.success){X.Rc(9);break}return _.Di(X,
_.eFd(u.he.promise),10);case 10:v=!X.O;case 9:if(v||e[t]){X.Rc(6);break}else if(!c.has(t)){e[m]=new _.wf("Unable to retry request due to failed parent upload.");X.Rc(6);break}case 8:if(m=t){X.Rc(5);break}case 6:x=l.length-1;case 11:if(!(x>=0)){X.Rc(3);break}y=l[x];C=b.requests[y];C.GN++;if(e[y]){X.Rc(12);break}return _.Di(X,_.eFd(C.he.promise),15);case 15:if(!X.O||C.success)e[y]=new _.wf("Unable to retry request.");else{F=(0,_.wP)(C.request)?_.Xj(C.request,10,_.Ff(_.wg))||[]:[];G=F[0];if(e[G]instanceof
_.wf){e[y]=e[G];X.Rc(12);break}C.he=ZKd(b,y);C.nG=!1;C.SC=!1;(M=G?b.requests[G]:null)?$Kd(b,y,M,!0):d.push(y);e[y]=C.he.promise}case 12:x--;X.Rc(11);break;case 3:g=f.next();X.Rc(2);break;case 4:W=a.map(function(la){la=e[la];return la instanceof Promise?la:Promise.reject(la)});R=_.n(d);for(fa=R.next();!fa.done;fa=R.next())aa=fa.value,aLd(b,aa);return X.return(W)}})};_.h.log=function(){this.isDisposed()};_.h.ee=function(a){return this.requests[a]};
var bLd=function(a,b){a=a.ee(b);return(0,_.wP)(a.request)?_.E(a.request,1)==="application/vnd.google-apps.folder":!1},fLd=/^uploadTestFailMe(\.[1-9])?$/,eLd=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11],[26,15],[28,16],[32,17],[33,18],[34,19],[10,20]]),dLd=new Map([[3,14],[4,21],[6,22],[7,23],[8,24],[9,25],[10,26],[11,27],[12,28],[13,29],[14,30],[15,31],[31,32],[32,33],[33,34],[34,35],[35,36],[62,37]]);_.kLd=function(){this.H=new Map;this.O=new Set};_.kLd.prototype.set=function(a,b){this.O.has(a)||(_.lLd(this,a).resolve(b),this.O.add(a))};_.kLd.prototype.Pe=function(a,b){_.lLd(this,a).reject(b);this.O.add(a)};_.lLd=function(a,b){a.H.has(b)||a.H.set(b,new _.By);return a.H.get(b)};_.eQ=function(a){this.H=a;this.value=void 0};_.eQ.prototype.get=function(){var a;return(a=this.value)!=null?a:this.value=this.H()};_.eQ.prototype.zh=function(){return this.value!==void 0};var MFd;_.mLd=function(a,b){this.O=b;this.H=new Map;this.Gra(_.Kj(a,_.rq,91,_.Ff()))};_.mLd.prototype.Gra=function(a){a=_.n(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=_.sq(c);c=_.E(c,2);if(!b||!c)break;var d=_.nLd(this,b);if(d){d!==c&&qFd(b);break}this.H.set(b,c)}};MFd=function(a,b){return[].concat(_.Eb(new Set(b))).map(function(c){var d=(new _.rq).Bb(c);a.H.has(c)?_.tq(d,a.H.get(c)):a.O&&(c=a.O.nn(c))&&_.tq(d,_.$q(c));return d}).filter(function(c){return _.Hk(c,2)})};
_.nLd=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.nn(b))&&_.Hk(a,140)?_.E(a,140):null};_.qLd=function(a,b,c,d,e,f){var g=this;this.state=a;this.O=b;this.Ia=c;this.Td=d;this.Ga=e;this.anonymous=f===void 0?!1:f;this.Da=this.V=this.timeout=this.ma=null;this.W=!1;this.H=null;this.Ba=[];this.ua=!1;this.O&&(this.ua=a.Hg(),this.O.H.fM(function(){g.ua=!0;oLd(g,3)}),this.O.O.fM(function(){for(;g.Ba.length;)g.Ba.shift().resolve();g.ua&&(g.ua=!1,g.state.O?(oLd(g,2),pLd(g)):oLd(g,1))}))};_.qLd.prototype.getState=function(){return this.state};
_.qLd.prototype.l6=function(){var a=this;if(this.ma)return this.ma;if(this.anonymous)return _.gm(_.LJd(new _.KJd,this.state.Hg()?3:2));var b=_.jm();this.ma=b.promise.then(function(){return _.LJd(new _.KJd,1)},function(d){d=_.TN(d).yg;var e=0;_.Ae(d,14)===2?e=3:_.vBd(d)&&(e=2);return _.LJd(new _.KJd,e)});if(this.H){var c=_.Sj(rLd(this.H),4)||0;fId(rLd(this.H),c+1)}setTimeout(function(){a.ma=null},5E3);sLd(this,b);return this.ma};
var tLd=function(a){var b;(b=a.O)!=null&&_.Fob(b.V)},uLd=function(a,b){(a=a.O)!=null&&(a=a.V,!b&&a.W?_.Fob(a,!0,!0):_.Eob(a,b))},vLd=function(a,b){if(b)(b=oLd(a,1))&&a.reset(),a.H&&b&&(a.H.Vi(),a.H=null);else{if(b=!a.W)b=a.state,b=b.isConnected()?b.O=!0:!1;b&&pLd(a)}};_.qLd.prototype.reset=function(){this.V=null;wLd(this)};
var wLd=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)},pLd=function(a){if(!(a.V||a.ua||a.anonymous||a.W)){a.H=a.Ga.H(106025);if(a.H){var b=rLd(a.H);var c=!(!a.state.isConnected()&&a.state.mp());b=_.J(b,1,c);b=_.J(b,2,a.state.V);_.J(b,5,!1)}a.V=new _.hKd(5E3,6E4);xLd(a)}},xLd=function(a){wLd(a);sLd(a);a.V&&(a.timeout=setTimeout(function(){return void xLd(a)},a.V.ob()),_.ZF(a.V))},sLd=function(a,b){var c=function(){if(a.H){var d=_.Sj(rLd(a.H),3)||0,e=rLd(a.H);_.Ug(e,3,d+1)}yLd(a,b)};
(a.Da?a.Da():_.gm()).then(null,function(){return null}).then(c,c)},yLd=function(a,b){a.log("Checking connection state.");var c=a.Ia.then(function(d){return d.Nh(new NEd)}).then(null,function(d){d=_.TN(d);_.vBd(d.yg)&&oLd(a,2);return _.hm(d)});b?b.resolve(c):c.then(null,function(){return null})};_.qLd.prototype.log=function(a){this.Td.Kf("sync.connection.StateManager").info(a)};var oLd=function(a,b){return!a.W&&a.state.update(b)?(a.log("Connection status: "+zLd.get(b)),!0):!1};
_.qLd.prototype.Hn=function(a,b){b=b===void 0?!1:b;this.reset();a?this.state.update(3):this.anonymous?this.state.update(2):b?pLd(this):this.state.O?(oLd(this,2),pLd(this)):oLd(this,1)};var zLd=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);var BLd;_.ALd=function(a,b){this.O=a;this.V=b;this.H=null};BLd=function(a){a.O()||(a.H&&(a.H.resolve(),a.H=null),a.V())};var hLd;_.CLd=function(){this.H={}};hLd=function(a,b,c){if(a.H[b])throw Error("Tg");a.H[b]=c};_.CLd.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){_.ca.setTimeout(function(){throw d;},0)}};var iLd=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};var DLd=function(a){cQ.call(this,"Connected");var b=this;this.H=a;this.handler=new _.Lg(this);this.Sa(this.handler);this.handler.listen(this.H,[_.DA.CONNECTED,_.DA.uAa,_.DA.o_],function(){return void b.Ik()})};_.P(DLd,cQ);DLd.prototype.max=function(){return this.H.isConnected()?Infinity:0};DLd.prototype.b$=function(){this.Ik()};var ELd=function(a){cQ.call(this,"Online");var b=this;this.H=a;this.handler=new _.Lg(this);this.Sa(this.handler);this.handler.listen(this.H,[_.DA.CONNECTED,_.DA.o_],function(){return void b.Ik()})};_.P(ELd,cQ);ELd.prototype.max=function(){return this.H.mp()?Infinity:0};ELd.prototype.b$=function(){this.Ik()};var GLd;_.FLd=function(a,b){this.H=a;this.anonymous=b};GLd=function(a){return a.anonymous?new ELd(a.H.getState()):new DLd(a.H.getState())};_.FLd.prototype.X7=function(){return this.H.getState()};var ILd;_.HLd=function(a,b,c){this.dU=c;this.O=!0;this.V=0;this.H=new _.YF(a,b,.5)};ILd=function(a){return a.H.O+a.V};var fQ=function(){this.requests=[]};_.h=fQ.prototype;_.h.add=function(a,b){b?this.requests.unshift(a):this.requests.push(a);return!0};_.h.kC=function(a){return _.Kaa(this.requests,0,a)};_.h.getSize=function(){return this.requests.length};_.h.cancel=function(a){var b=this.requests.find(function(c){return c.Rq.config.requestId===a});return b&&_.xa(this.requests,b)?(b.he.resolve(QEd(b.Rq.Xt)),b):null};_.h.BX=function(){return _.aj(this.requests,function(a){return _.UEd(a.Rq.Xt)})};var JLd=function(){this.requests=[]};_.P(JLd,fQ);JLd.prototype.add=function(a,b){var c=a.Rq.Xt;return c instanceof _.oP&&(0,_.wP)(c.request)&&_.E(c.request,12)?fQ.prototype.add.call(this,a,b):!1};JLd.prototype.kC=function(a){return this.requests.splice(0,Math.min(a,1))};var KLd=function(a,b){this.requests=[];this.H=b};_.P(KLd,fQ);KLd.prototype.add=function(a,b){return a.Rq.Xt instanceof _.oP?!1:fQ.prototype.add.call(this,a,b)};
KLd.prototype.kC=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.requests.length&&b.length<a;f++){var g=this.requests[f],k=g.Rq.Xt;"function"==typeof _.IO&&k instanceof _.IO||"function"==typeof _.TO&&k instanceof _.TO||"function"==typeof _.iP&&k instanceof _.iP?k="app|"+k.H():k instanceof _.DO||k instanceof _.EO||k instanceof _.KO||k instanceof _.eO?k="item|"+(k instanceof _.DO?_.E(k,2):k.Cr()):"function"==typeof _.LO&&k instanceof _.LO||"function"==typeof _.UO&&k instanceof _.UO?k="item|"+k.DPa():
k instanceof _.MO||k instanceof _.kP?k="item|"+k.H():k instanceof _.pF||k instanceof _.oF?(k=k instanceof _.pF?k.mX().getKey():k.getKey(),k="pref|"+_.E(k,2)+"|"+_.Ae(k,1)):k=k instanceof _.NO?"td|"+_.E(k,1):null;var l=g.Rq.Xt;if(l instanceof _.WN)l=!!l.A7();else if(l instanceof _.EO&&this.H){l=this.H.nn(l.Cr());var m;if(m=!!l)m=!!(l&&l.getMimeType()&&_.q0a.has(l.getMimeType()));l=m}else l=!1;if(k&&d[k]||l&&e===5)break;b.push(g);c.unshift(f);k&&(d[k]=!0);l&&e++}for(a=0;a<c.length;a++)_.wa(this.requests,
c[a]);return b};var LLd=function(a,b,c,d){KKd.call(this);this.W=b;this.ma=c;this.Td=d;this.H=new Map;this.V=new Set;this.ua=_.Uj(a,21,1E3);this.Da=_.Sj(a,1,1);this.Ba=function(){return new _.HLd(_.Uj(a,63,1E3),_.Uj(a,64,3E5),_.Uj(a,65,10))}};_.P(LLd,KKd);
LLd.prototype.intercept=function(a){var b=a.responses.length,c=b>0&&_.oa(a.responses).response||null;if(c){c=_.ZAd(c);if(_.Ae(c,14)===2)return MLd(this,a,c);if(_.vBd(c))return b<=2?(MKd(this,a),a=!0):a=!1,a;var d=_.Kr(c);if(d===3||d===31||d===13||d===9)return NLd(this,a,b);b=a.Rq.Xt;if((!(0,_.VO)(b)||!_.N(b,82,!1))&&kEd(c))return c=ILd(this.W),b=this.W,ILd(b)<b.dU?(this.log("Backoff number "+c+" for a User Rate Limit error."),MKd(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+
(c+" backoffs.")),a=!1),a}return!1};
var MLd=function(a,b,c){var d=OLd(a,b),e=ILd(d);if(ILd(d)<d.dU)return a.log("Retry "+(e+1)+" for a failed request due to an offline error."),a.ma.Hg()?(c=d.H.ob(),_.ca.setTimeout(function(){return void MKd(a,b)},c),_.ZF(d.H)):(PLd(a,c).then(function(){return void MKd(a,b)}),d.V++),!0;a.H.delete(b);return!1},PLd=function(a,b){if(b=_.E(b,19))if(b=new URL(b),b.protocol&&b.hostname&&!a.V.has(b.hostname))return a.V.add(b.hostname),fetch(b.protocol+"//"+b.hostname+"/empty.js",{mode:"no-cors"}).then(function(){}).catch(function(){});
return Promise.resolve()},OLd=function(a,b){a.H.has(b)||a.H.set(b,a.Ba());return a.H.get(b)},NLd=function(a,b,c){var d=a.Da;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.ca.setTimeout(function(){return MKd(a,b)},a.ua*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};LLd.prototype.O=function(a){this.H.delete(a)};LLd.prototype.log=function(a){this.Td.Kf("network.queue.RetryInterceptor").info(a)};var QLd=function(a,b){cQ.call(this,"Backoff");this.H=a;this.Td=b};_.P(QLd,cQ);QLd.prototype.max=function(){return this.H.O?Infinity:0};QLd.prototype.aeb=function(){var a=this.H;a.V=0;a.H.reset()};QLd.prototype.Xyb=function(a){var b=this;RLd(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.ob(),this.log("Stopping new requests for "+a+" ms."),_.ca.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.Ik()},a),_.ZF(this.H.H))};
var RLd=function(a){var b;return(a=(b=_.oa(a.responses))==null?void 0:b.response)?kEd(_.ZAd(a)):!1};QLd.prototype.log=function(a){this.Td.Kf("network.queue.BackoffState").info(a)};var SLd=function(a,b){cQ.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.P(SLd,cQ);SLd.prototype.max=function(a){return a>=this.O?this.O:this.H!=null?this.V<=Date.now()-this.H?this.O:0:0};SLd.prototype.b$=function(a,b){b>=this.O?this.Ik():this.H==null&&TLd(this)};SLd.prototype.KIa=function(a,b){b>0?TLd(this):this.H=null};var TLd=function(a){a.H=Date.now()-1;_.ca.setTimeout(a.Ik.bind(a),a.V)};var ULd=function(){cQ.call(this,"Immediate")};_.P(ULd,cQ);ULd.prototype.max=function(){return Infinity};ULd.prototype.b$=function(){this.Ik()};var VLd=function(){cQ.call(this,"One Request")};_.P(VLd,cQ);VLd.prototype.max=function(){return 1};var WLd=function(a){cQ.call(this,"Parallel");this.limit=a;this.H=0};_.P(WLd,cQ);WLd.prototype.max=function(){return Math.max(0,this.limit-this.H)};WLd.prototype.b$=function(){this.H<this.limit&&this.Ik()};WLd.prototype.KIa=function(a){this.H+=a.length};WLd.prototype.JIa=function(a){this.H-=a.length;this.H<this.limit&&this.Ik()};var NFd=function(a){try{if(typeof FileReaderSync!=="undefined"&&_.cO()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.DCd,d=CJd(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.BCd(_.zO(e),"reading data"))}},XLd=function(a){return NFd(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};var YLd=function(a,b,c,d,e,f,g,k){var l=this;this.Pa=a;this.O=b;this.Td=c;this.Ta=d;this.ma=e;this.Xa=f;this.H=g;this.config=k;this.Ia=this.V=0;this.Ga=this.Ba=null;this.he=new _.By;this.Ka=!1;this.Da=this.GN=0;this.W=this.ua=null;a=g.hs();a=_.cO()&&a?_.Nj(a,1):null;typeof a==="number"&&(this.H.fileSize=a);this.requestId=k.requestId;this.yY="progress_"+this.requestId;k.yY=this.yY;this.he.promise.catch(function(){}).finally(function(){return l.Ka=!0})};YLd.prototype.log=function(a){this.Td.Kf("sync.request.ResumableUpload").info(a)};
YLd.prototype.start=function(){var a=this,b=new IEd(this.H),c=_.Gc(this.config);hLd(this.O,this.yY,zId(function(){return void a.O.notify([a.requestId],0)}));this.Pa.then(function(e){return e.Nh(b,c)}).then(function(e){a.H.V=e.O;a.Ba=e.H;a.Ga=e.V;ZLd(a)},function(e){a.he.reject(_.TN(e,"Unable to initialize upload."))});var d=this.he.promise.then(function(e){$Ld(a,e);return e},function(e){e=_.TN(e);$Ld(a,e.yg);return Promise.reject(e)});d.catch(function(){}).finally(function(){return void iLd(a.O,[a.yY])});
return d};YLd.prototype.cancel=function(){return this.Ka?!1:(this.he.resolve(QEd(this.H)),!0)};
var ZLd=function(a){a.Ka||(a.log("Uploading chunk "+a.Da+" for "+a.H.V+"."),aMd(a,4))},aMd=function(a,b){bMd(a).then(function(c){var d=cMd(a);if(c){var e=dMd(a);eMd(a,c.H.size);fMd(d,c);a.Pa.then(function(f){return f.Nh(c,e)}).then(function(f){a.W=null;a.V+=c.H.jCc;a.Ia+=c.H.size;a.Da++;f.e8()&&(a.Ba=f.e8());f.Sea()&&(a.Ga=f.Sea());a.V<a.H.rz()?ZLd(a):a.he.resolve(f);d&&(f=gMd(d),_.J(f,1,!0),d.Vi())},function(f){hMd(d,4-b);if(e.V4a)a.cancel();else{var g=_.aO(f,43);g.r0a()||g.ZFa()||a.H.H!=null?iMd(a,
b,g,!1):XLd(c.H.blob).then(function(k){k=k?_.bBd.get(k)||25:38;_.rO(g,k);k=_.Ae(g,14)===38;var l=_.Ae(g,14)!==38&&_.Ae(g,14)!==25;iMd(a,b,g,k,l)},function(){})}})}else jMd(a,d)})},cMd=function(a){var b=a.Ta.H(106033);b&&(a=a.H.impression)&&_.aDd(b,a);return b},fMd=function(a,b){if(a){var c=b.O;b=c.start;c=c.end;a=gMd(a);a=_.Ug(a,2,b);_.Ug(a,3,c-1)}},hMd=function(a,b){if(a){var c=gMd(a);c=_.J(c,1,!1);b!=null&&_.Ug(c,4,b);a.Vi()}},jMd=function(a,b){var c=_.TN(_.rO(_.Hr(new _.Gr,"Could not read more of the file. Read "+
(a.V+"/"+a.H.rz()+" bytes.")),5));if(b){var d=gMd(b);d=_.Ug(d,2,0);_.Ug(d,3,0);hMd(b)}a.he.reject(c)},iMd=function(a,b,c,d,e){e=e===void 0?!1:e;var f=4-b;c.Dya(f);!e&&b>0?(a.GN++,d&&(a.ma=Math.max(Math.floor(a.ma/262144/2)*262144,8388608)),setTimeout(function(){b--;a.log("Retrying chunk "+a.Da+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.ma+" bytes "):"")+"for ")+(a.H.V+"."));aMd(a,b)},a.Xa*Math.pow(1.5,f))):a.he.reject(_.TN(c))},bMd=function(a){return a.H.H!=null&&a.W?Promise.resolve(a.W):
uJd(a.H,a.V,a.ma).then(function(b){var c=b.blob;b=b.range;if(!c)return null;a.ua&&(c=new Blob([a.ua,c]),a.ua=null);var d=c.size%262144,e=b.end===a.H.rz();d>0&&!e&&(a.ua=c.slice(-1*d),c=c.slice(0,-1*d));d=a.H;c=new sJd(b,c);a.W=new JEd(d,c,a.Ia);return a.W})},dMd=function(a){a=_.Gc(a.config);a.Ekb=!0;return a},eMd=function(a,b){iLd(a.O,[a.yY]);hLd(a.O,a.yY,function(c){var d=a.O,e=d.notify,f=[a.requestId];c=b*c;var g=a.H.rz();e.call(d,f,Math.min((a.V+c)/g,1))})},$Ld=function(a,b){b.beb(3);b.Dya(a.GN);
b.e8()||b.Rva(a.Ba);b.Sea()||b.Fva(a.Ga)};_.kMd=function(a,b,c,d,e,f){this.ma=a;this.V=b;this.Td=c;this.H=d;this.W=e;this.O=f};_.kMd.prototype.create=function(a,b){return new YLd(this.ma,this.V,this.Td,this.H,this.W,this.O,a,b)};var lMd=function(a){this.requests=[];this.H=a};_.P(lMd,fQ);lMd.prototype.kC=function(a){var b=[];a=new Set(mMd(this.H,a).map(function(d){return d.fba+":"+d.requestId}));for(var c=0;c<this.requests.length;c++)a.has(this.requests[c].Rq.config.c7+":"+this.requests[c].Rq.config.requestId)&&b.push.apply(b,_.Eb(this.requests.splice(c--,1)));return b};var nMd=function(a){cQ.call(this,"Resumable Upload");this.O=a;this.H=new Map};_.P(nMd,cQ);_.h=nMd.prototype;_.h.max=function(){for(var a=0,b=_.n(this.H),c=b.next();!c.done;c=b.next())c=_.n(c.value),c.next(),c=c.next().value,a+=oMd(c);return a};_.h.b$=function(a){var b=a.Rq.config.c7,c=this.H.get(b);c||(c=new pMd(b,this.O),this.H.set(b,c));b=c;var d=a.Rq.config.c7;a=a.Rq.config.requestId;b.dG.has(a)?a=!1:(b.dG.add(a),b.H.push({fba:d,requestId:a,index:qMd++}),a=!0);a&&oMd(c)>0&&this.Ik()};
_.h.KIa=function(a){a=_.n(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=this.H.get(b.Rq.config.c7);c&&rMd(c,b)}};_.h.JIa=function(a){var b=!1;a=_.n(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.Rq.config.c7,e=this.H.get(d);e&&(sMd(e,c),e.wc()?this.H.delete(d):oMd(e)>0&&(b=!0))}b&&this.Ik()};_.h.Wyb=function(a){this.JIa([a])};
var mMd=function(a,b){var c=[];a=_.n(a.H.values());for(var d=a.next();!d.done;d=a.next()){d=_.n(tMd(d.value));for(var e=d.next();!e.done;e=d.next())_.cEd(c,e.value,function(f,g){return f.index-g.index})}return c.slice(0,b).map(function(f){return{fba:f.fba,requestId:f.requestId}})};nMd.prototype.Lr=function(a){var b=this.H.get(a.Rq.config.c7);return!(b==null||!b.Lr(a))};
var qMd=0,pMd=function(a,b){this.fba=a;this.limit=b;this.H=[];this.dG=new Set;this.nG=new Set},rMd=function(a,b){var c=b.Rq.config.requestId;a.Lr(b)&&!a.nG.has(c)&&_.ya(a.H,function(d){return d.requestId===c})&&a.nG.add(c)},sMd=function(a,b){var c=b.Rq.config.requestId;_.ya(a.H,function(d){return d.requestId===c});a.dG.delete(c);a.nG.delete(c)};pMd.prototype.wc=function(){return this.dG.size===0&&this.nG.size===0};
var oMd=function(a){return Math.min(Math.max(0,a.limit-a.nG.size),a.H.length)},tMd=function(a){return a.H.slice(0,oMd(a))};pMd.prototype.Lr=function(a){var b=a.Rq.config.requestId;return this.fba===a.Rq.config.c7&&this.dG.has(b)};var uMd=function(a){this.O=a;this.H={}};uMd.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Rq.Xt instanceof _.KEd)b.push(vMd(this,a[c].Rq));else{var d=_.Hr(new _.Gr,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.TN(d)))}return b};uMd.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};uMd.prototype.BX=function(){return!_.Bc(this.H)};
var vMd=function(a,b){var c=a.O.create(b.Xt,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;d.then(function(){delete a.H[e]},function(){delete a.H[e]});return d};_.wMd=function(a,b,c,d){d=new nMd(d);var e=new lMd(d);return new dQ(c,new uMd(a),[GLd(b),d],[e],[],"resumable_upload")};_.xMd=function(a,b){return new dQ(b,a,[new ULd],[new fQ],[],"immediate")};_.yMd=function(a,b,c,d,e){return new dQ(e,a,[GLd(d),new QLd(c,e),new VLd],[new fQ],[new LLd(b,c,d.X7(),e)],"connected")};_.zMd=function(a,b,c,d,e,f,g){g=g===void 0?_.Sj(b,10,50):g;return new dQ(e,a,[GLd(d),new SLd(g,_.Sj(b,12,10)),new WLd(g*3),new QLd(c,e)],[new fQ],[new LLd(b,c,d.X7(),e)],f)};
_.AMd=function(a,b,c,d,e,f){var g=_.Sj(b,10,50);return new dQ(e,a,[GLd(d),new SLd(g,_.Sj(b,11,100)),new WLd(g),new QLd(c,e)],[new KLd(b,f),new JLd,new fQ],[new LLd(b,c,d.X7(),e)],"mutation")};var BMd=function(a){this.H=a};BMd.prototype.build=function(a,b){var c="====="+_.Ng()+"=====",d=a[0].api,e=b.every(function(l){return l.VT});if(e){var f=d;var g={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=JJd(this.H,a[0].api);_.rd(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=CMd[d],g=DMd[d]||{},g["content-type"]=_.ku('multipart/mixed; boundary="%s"',c),d=EMd[d],k=new _.Rg("");a=FMd(this,a,b,c,e);return{api:f,body:a,headers:g,method:d,uri:k}};
var FMd=function(a,b,c,d,e){for(var f=dFd(GMd[b[0].api]||{}),g="",k=0;k<b.length;k++){e&&GJd(a.H,b[k],c[k]);var l=b[k],m=a.H,q=l,r=c[k];q.uri=HJd(m,q.api,q.uri);switch(q.api){case 0:case 5:FJd(m,q,r);EJd(m,q,r);break;case 2:GJd(m,q,r);FJd(m,q,r);var t=q,u=_.E(_.cr(m.H),57);t.headers.host=_.qd(u).O;t.headers.origin=cFd();EJd(m,q,r);break;case 12:case 10:case 13:case 15:break;case 8:case 7:throw Error("Ng`"+q.api);default:throw Error("Mg`"+q.api);}m=l;q=m.uri.clone();_.rl(q,"");_.sl(q,"");_.tl(q,null);
l=f+"\r\n"+(m.method+" "+q+" HTTP/1.1\r\n")+dFd(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");g+="--"+d+"\r\n";g+=l}return g+("--"+d+"--\r\n")},HMd={},CMd=(HMd[0]=1,HMd[2]=3,HMd),IMd={},EMd=(IMd[0]="POST",IMd[2]="PUT",IMd[12]="POST",IMd),JMd={},KMd={},DMd=(KMd[2]=(JMd["x-goog-upload-protocol"]="batch",JMd),KMd),LMd={},MMd={},NMd={},OMd={},PMd={},QMd={},GMd=(QMd[0]=(LMd["content-type"]="application/http",LMd["content-transfer-encoding"]="binary",LMd),QMd[13]=(MMd["content-type"]="application/http",MMd["content-transfer-encoding"]=
"binary",MMd),QMd[12]=(NMd["content-type"]="application/http",NMd["content-transfer-encoding"]="binary",NMd),QMd[2]=(OMd["content-type"]="application/http",OMd),QMd[15]=(PMd["content-type"]="application/http",PMd["content-transfer-encoding"]="binary",PMd),QMd);var RMd=/^HTTP\/1\.1 (\d+) ([\w ]+)/,SMd=/^multipart\/mixed; boundary="?([^"]+)"?$/,TMd=function(a){this.logger=a.Kf("sync.BatchParser")};
TMd.prototype.parse=function(a,b){a.headers=_.ECd(a.headers);var c;(c=SMd.exec(a.headers["content-type"]))&&c[1]?c="--"+c[1]:(rFd("Could not extract batch boundary from header.",sFd(b),14),c=void 0);c=(new UMd(b,a.text,this.logger)).split(c);for(var d=b.length===c.length,e=[],f=0;f<c.length;f++){var g=d?b[f]:void 0,k=e,l=k.push;var m=void 0;var q=a.headers,r=c[f];g=g&&g.uri;var t,u=r.split("\r\n\r\n");if(u.length<2)m=new _.wf("Individual batch response contained too few parts.",_.rO(_.Ir(new _.Gr,
r),17));else{var v=u[1].split("\r\n");if(t=RMd.exec(v[0])){var x=_.Lta(t[1]);t=t[2];v.shift();q=_.Gc(q);for(var y=Object,C=y.assign,F={},G=0;G<v.length;G++){var M=_.Mta(v[G],":",1);M&&M.length===2&&(F[(0,_.Yi)(M[0])]=(0,_.Yi)(M[1]))}v=_.ECd(F);C.call(y,q,v);try{m=_.Xi(_.gl(u[2]))?void 0:JSON.parse(u[2])}catch(W){}m=(g=_.UCd(x,t,q,r,m,void 0,void 0,g&&g.toString()))?_.TN(g):{headers:q,text:r,json:m||void 0}}else m=new _.wf("Could not extract HTTP status code and text.",_.rO(_.Ir(new _.Gr,r),16))}l.call(k,
m)}return e};var UMd=function(a,b,c){this.requests=a;this.H=b;this.logger=c};
UMd.prototype.split=function(a){var b=a+"\r\n",c=0;try{c=VMd(this,b)}catch(e){if(b=(b=(new RegExp(a,"i")).exec(this.H))?b[0]:null)this.logger.yw("Found batch boundary in different case than header. Continuing with ad-hoc boundary."),a=b,b=a+"\r\n",c=VMd(this,b);else throw e;}c>0&&!_.Xi(this.H.substring(0,c))&&rFd("Response did not begin with batch boundary",sFd(this.requests),15);c+=b.length;a+="--";var d=this.H.lastIndexOf(a);d<0&&rFd("Could not locate final batch boundary in response",sFd(this.requests),
15);d<this.H.length-a.length&&!_.Xi(this.H.substring(d+a.length))&&rFd("Response did not terminate with batch end",sFd(this.requests),15);return this.H.substring(c,d).split(b)};var VMd=function(a,b){b=a.H.indexOf(b);b<0&&rFd("Could not locate batch boundary in response",sFd(a.requests),15);return b};var WMd=function(a,b,c,d,e){this.O=a;this.V=b;this.W=c;this.H=d;this.ma=e;this.requests=new Map};WMd.prototype.add=function(a,b){var c="DEFAULT";b.VT&&(c=JJd(this.O,a.api).toString());this.requests.has(c)||this.requests.set(c,[]);c=this.requests.get(c);if(c.length>=1&&!b.VT&&!CMd[a.api])return a=_.Hr(new _.Gr,"Unsupported batch API: "+a.api),_.hm(_.TN(a));var d=_.jm();c.push({request:a,config:b,he:d});return d.promise};
WMd.prototype.send=function(){for(var a=_.n(this.requests.entries()),b=a.next(),c={};!b.done;c={eCb:void 0},b=a.next()){var d=_.n(b.value);b=d.next().value;d=d.next().value;try{XMd(this,d)}catch(f){var e=_.zO(f);e=_.Ir(_.Hr(new _.Gr,"Error executing XHR: "+e.message),e.stack);c.eCb=_.TN(e);d.forEach(function(g){return function(k){k.he.reject(g.eCb)}}(c));this.requests.delete(b)}}};
var XMd=function(a,b){if(b.length!==1)YMd(a,b);else{var c=b[0];if(c.config.F1a||c.config.VT)YMd(a,b);else if(CMd[c.request.api]){var d={api:c.request.api,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.O.Dc(d,c.config);d.uri.toString().length>2E3?YMd(a,b):ZMd(a,c)}else ZMd(a,c)}},ZMd=function(a,b){var c;(c=a.H)==null||tLd(c);var d=b.he;a.V.Cj(b.request,b.config).then(function(e){$Md(a,b);d.resolve(e)},function(e){a.handleError(e);d.reject(e)})},YMd=function(a,b){var c;(c=a.H)==null||
tLd(c);var d=[],e=[];b.forEach(function(f){d.push(f.request);e.push(f.config)});a.V.Cj(a.W.build(d,e),{F1a:!0,VT:e.every(function(f){return f.VT})}).then(function(f){return a.ma.parse(f,d)}).then(null,function(f){f=_.TN(f);return _.hBd(f,b.length)}).then(function(f){for(var g=!1,k=0;k<b.length;k++){var l=b[k].he,m=f[k];m instanceof _.Gr||m instanceof _.wf?(m=_.TN(m),g||(g=a.handleError(m)),l.reject(m)):l.resolve(m)}g||$Md(a,b[0])})},$Md=function(a,b){var c=b.request.api;b=!b.config.Rm&&_.ta(aNd,c);
uLd(a.H,!0);b&&vLd(a.H,!0)};WMd.prototype.handleError=function(a){a=_.ZAd(a);if(_.Ae(a,14)===2){if(this.H)return uLd(this.H,!1),!0}else{if(_.vBd(a))return uLd(this.H,!0),vLd(this.H,!1),!0;if(this.H)return uLd(this.H,!0),!0}return!1};var aNd=[0,2,4,7,8];var bNd=function(){_.Dm.apply(this,arguments)};_.P(bNd,_.Dm);bNd.prototype.getAllResponseHeaders=function(){return _.yta(_.Dm.prototype.getAllResponseHeaders.call(this))};var cNd=function(a,b){this.ma=a;this.W=b;this.V={};this.O={};this.H={}};
cNd.prototype.Cj=function(a,b){var c=this;try{this.ma.Dc(a,b);var d=new bNd;d.O=!0;var e=b.requestId||"",f=_.jm();d.listen("complete",function(){var g=b.F1a,k=a.api===4;g=g===void 0?!1:g;k=k===void 0?!1:k;var l={headers:_.tya(d),text:d.Sn()};if((!b.CFb||_.SCd(d.getStatus()))&&!g)try{l.json=_.Fm(d)}catch(m){}g=_.UCd(d.getStatus(),_.qya(d),l.headers,l.text,l.json,d.V,d.getLastError(),String(d.Da),k,b.aEc);d.dispose();g?f.reject(_.TN(g)):b.V5a?(l=l.text,g=c.H[e],b.V5a(l.substring(g),g,l.length,!0),f.resolve({headers:{},
text:""})):f.resolve(l);e&&(delete c.V[e],delete c.O[e],delete c.H[e])});b.V5a&&(this.H[e]=0,d.listen("readystatechange",function(){if(_.Em(d)===3&&d.Iy()&&d.getStatus()===200){var g=d.Sn(),k=c.H[e];if(g.length>k){var l=g.substring(k);c.H[e]=g.length;b.V5a(l,k,g.length,!1)}}}));e&&b.yY&&!b.VT&&(this.V[e]=d,this.O[e]=b,d.Hb=!0,d.listen("uploadprogress",function(g){g.lengthComputable&&c.W.notify([b.yY],b.Ekb?g.loaded/g.total:g.loaded/g.total/2)}),b.Ekb||d.listen("downloadprogress",function(g){g.lengthComputable&&
c.W.notify([b.yY],g.loaded/g.total/2+.5)}));d.send(a.uri,a.method,a.body,a.headers);return f.promise}catch(g){return _.hm(_.TN(g))}};cNd.prototype.cancel=function(a){var b=this.V[a];a=this.O[a];return b&&b.isActive()?(a.V4a=!0,b.abort(),!0):!1};_.dNd=function(a,b,c,d,e,f,g){this.H=a;this.Ga=b;this.Ia=c;this.Da=d;this.Ba=e;this.V=f;this.O=[];this.ua=new TMd(g);this.ma=new BMd(this.H);this.W=new cNd(this.H,this.Ga)};_.h=_.dNd.prototype;
_.h.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Rq;this.O.push(e);b.push(this.Ia.convert(e,a[d].responses));c.push(wJd(e.Xt)?_.AJd(this.Ba,e.Xt):void 0)}if(this.V.W){var f=Promise.reject(_.TN(_.UCd(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var g=new WMd(this.H,this.W,this.ma,this.V,this.ua);d=[];var k={};for(e=0;e<a.length;k={bmb:void 0},e++)k.bmb=a[e].Rq.config,k=b[e].then(function(m){return function(q){return g.add(q,m.bmb)}}(k)),d.push(k);Promise.allSettled(b).then(function(){g.send()});
b=[];for(e=0;e<a.length;e++){k=a[e].Rq;var l=d[e].then(this.iPb.bind(this,k.Xt,c[e],a[e].responses)).then(null,function(m){return Promise.reject(_.TN(m))});l.then(this.ceb.bind(this,k),this.ceb.bind(this,k));b.push(l)}return b};_.h.cancel=function(a){return this.W.cancel(a)};_.h.BX=function(){return this.O.some(function(a){return _.UEd(a.Xt)})};_.h.iPb=function(a,b,c,d){a=this.Da.convert(a,d,c);b&&a.then(function(e){e=e.Gd?e.Gd():[];_.BJd(b,e)});return a};_.h.ceb=function(a){_.xa(this.O,a)};_.eNd=function(){};_.eNd.prototype.execute=function(){return null};_.fNd=function(a){this.O=a;this.H=[]};_.fNd.prototype.Nh=function(a,b){if(this.H.length>0)for(var c=_.n(this.H),d=c.next();!d.done;d=c.next())if(d=d.value,d.WIc(a))return d.intercept(this.O,a,b);return this.O.Nh(a,b)};_.fNd.prototype.cancel=function(a){return this.O.cancel(a)};_.gNd=function(a,b,c,d,e,f,g,k,l,m){this.Ba=a;this.Ia=b;this.W=c;this.H=d;this.V=e;this.Da=f;this.Ga=g;this.O=k;this.ua=l;this.ma=m};_.gNd.prototype.Nh=function(a,b){var c;return((c=_.br(this.O))==null?0:_.N(c,21,!1))&&!this.ua.H?(hNd(this,a),Promise.reject(new _.wf("Error trying to route a "+(_.PEd(a)+" request after shutdown.")))):iNd(this,a,b).then(null,function(d){d=_.TN(d);var e=d.yg;REd(a)||_.Jr(e);return _.hm(d)})};
var iNd=function(a,b,c){c=c===void 0?{}:c;var d=a.Ba.validate(b);if(d)return _.hm(_.TN(d));var e=a.Ia.translate(b);e instanceof _.Gr?d=void 0:Array.isArray(e)?(d=e.map(function(f){return a.W.execute(a,f,c)}).filter(function(f){return!!f}),d=d.length>0?Promise.all(d):void 0):d=a.W.execute(a,e,c)||void 0;return _.gm(d).then(function(){if(e instanceof _.Gr)return _.hm(_.TN(e));if(Array.isArray(e)){var f=e.map(function(g){return jNd(a,b,g,c)});return _.pDd(f)}return jNd(a,b,e,c)},function(f){return _.hm(_.TN(f))})},
jNd=function(a,b,c,d){d=Object.assign({},d);var e=kNd(a,c);if(!e)return b=_.rO(_.Hr(new _.Gr,"Failed to choose a queue for server request."),18),_.hm(_.TN(b));if(e===a.H[7]||e===a.H[8])d.VT=!0;d=e.add({Xt:c,config:d});(_.UEd(b)||_.UEd(c))&&d.then(function(){BLd(a.V)},function(){BLd(a.V)});b=a.Da.apply(c,d);d.then(function(f){a.Ga.apply(c,f)},function(){});return b};_.gNd.prototype.cancel=function(a){return _.Xfa(this.H,function(b){return b.cancel(a)})};
var kNd=function(a,b){var c=!1;if(b instanceof tEd){var d;c=!((d=_.K(b,_.lr,2))==null||!_.wh(d,7))}else b instanceof _.sO&&(c=(c=b.ee())&&!!_.wh(c,46));return(b instanceof NEd||"function"==typeof _.gQ&&b instanceof _.gQ&&b.H())&&a.H[1]?a.H[1]:b instanceof _.KEd&&a.H[5]?a.H[5]:c&&aFd(b,a.O)&&a.H[7]?a.H[7]:aFd(b,a.O)&&a.H[8]?a.H[8]:c&&b instanceof tEd&&a.H[6]?a.H[6]:(c||sP(vJd,b))&&a.H[3]?a.H[3]:sP(TEd,b)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]},hNd=function(a,b){if(a=_.hQ(a.ma,106018)){var c=_.I(lNd(a),1,1);
_.Tg(c,2,231455246);b instanceof _.sO&&(b=b.ee()||b);(b=rKd(b)?b:null)&&_.sKd(a,b);a.Vi()}};var mNd=function(){};var nNd=function(a,b){this.H=a;this.retryCount=b};var oNd;_.iQ=function(a){return _.Rb(function(b){return b.kind===a})};oNd=_.Rb(function(a){return a!==null&&a!==void 0&&a.kind!==void 0});var pNd,sNd;pNd=function(a){this.H=a};_.jQ=function(a,b,c){c=c===void 0?!0:c;if(!_.Ea(b)||b===null)throw new _.wf("Expected an object, but got a "+_.Mba(b)+".",_.yO(11,void 0,8));if(c){if(!oNd(b))throw new _.wf("Expected 'kind' parameter in response: "+JSON.stringify(b),_.yO(11,void 0,21));if(!a(b))throw new _.wf("Unexpected response type: "+b.kind+".",_.yO(11,void 0,9));}};
_.kQ=function(a){if(a!=null&&a.length){var b=(new Date(a)).getTime();if(!Number.isNaN(b))return b;b="+";var c=a;if(a[0]==="+"||a[0]==="-")b=a[0],c=a.substring(1);b=(new Date(""+b+c.padStart(26,"0"))).getTime();return Number.isNaN(b)?void 0:b}};_.qNd=function(a){var b=null;a&&a.length===7&&a[0]==="#"&&(a=a.substring(1),/^[a-fA-F0-9]+$/.test(a)&&(b=parseInt(a,16)));return b};
_.rNd=function(a){var b=a.canDelete!=null?a.canDelete:a.canDeleteTeamDrive;var c=_.EGd(new _.vq,a.canAddChildren);c=_.J(c,18,a.canChangeTeamDriveBackground);c=_.J(c,2,a.canComment);b=_.GGd(_.FGd(_.J(c,3,a.canCopy),b),a.canDownload);b=_.J(b,6,a.canEdit);b=_.J(b,10,a.canManageMembers);b=_.J(b,15,a.canListChildren);b=_.J(b,20,a.canMoveItemIntoTeamDrive);b=_.JGd(_.J(b,17,a.canMoveTeamDriveItem),a.canReadTeamDrive);b=_.J(b,7,a.canRemoveChildren);b=_.J(b,12,a.canRename);b=_.J(b,13,a.canRenameTeamDrive);
b=_.KGd(_.IGd(_.HGd(b,a.canShare),a.canTrash),a.canUntrash);b=_.J(b,27,a.canModifyContentRestriction);b=_.J(b,26,a.canShareOutsideDomain);b=_.J(b,30,a.canMoveItemWithinTeamDrive);b=_.J(b,31,a.canMoveItemOutOfTeamDrive);b=_.J(b,33,a.canMoveChildrenOutOfTeamDrive);b=_.J(b,34,a.canDeleteChildren);b=_.J(b,35,a.canTrashChildren);b=_.J(b,36,a.canRequestApproval);b=_.J(b,37,a.canReadCategoryMetadata);b=_.J(b,38,a.canEditCategoryMetadata);b=_.J(b,39,a.canChangeCategoryReferences);b=_.J(b,49,a.canSetMissingRequiredFields);
b=_.J(b,40,a.canAddMyDriveParent);b=_.J(b,41,a.canRemoveMyDriveParent);b=_.LGd(_.J(b,42,a.canShareChildFiles),a.canShareChildFolders);b=_.J(b,44,a.canRead);b=_.J(b,45,a.canMoveItemWithinDrive);b=_.J(b,46,a.canMoveItemOutOfDrive);b=_.J(b,47,a.canMoveChildrenWithinDrive);b=_.J(b,48,a.canAddFolderFromAnotherDrive);b=_.J(b,50,a.canChangeSecurityUpdateEnabled);b=_.J(b,62,a.canCopyEncryptedFile);b=_.J(b,52,a.canCreateDecryptedCopy);b=_.J(b,53,a.canCreateEncryptedCopy);b=_.J(b,54,a.canAddEncryptedChildren);
b=_.J(b,55,a.canBlockOwner);b=_.J(b,59,a.canReportSpamOrAbuse);b=_.J(b,64,a.canCopyNonAuthoritative);b=_.J(b,65,a.canDownloadNonAuthoritative);b=_.J(b,66,a.canReportNotSpam);return _.J(b,67,a.canInitiateEsignature)};sNd=function(a){return _.Kj(a,_.SGd,3,_.Ff()).some(function(b){return _.oj(b,_.OGd,10)})};
_.lQ=function(a,b,c){_.jQ(_.iQ("drive#user"),b,c===void 0?!0:c);c=_.sGd(_.tGd((new _.Tp).Eb(1).Bb(b.permissionId),b.id).jd(b.displayName),b.emailAddress);c=_.L(c,15,b.organizationDisplayName);b.picture&&c.Qk(b.picture.url);_.zP(a.H)&&_.sGd(c,b.emailAddressFromAccount||b.emailAddress);_.rGd(c,a.isMe(b.id));return c};pNd.prototype.isMe=function(a){if(a)return _.qO(_.hO(this.H))==a};var tNd=function(a,b){this.H=a;this.logger=b.Kf("response.metadata.LabelParser")},vNd=function(a,b){var c;return YGd(_.XGd((new _.WGd).Bb(b.id),b.revisionId),Object.values((c=b.fields)!=null?c:{}).map(function(d){return uNd(a,d)}).filter(function(d){return d!==null}))},uNd=function(a,b){var c=(new _.SGd).Bb(b.id);if(b.valueType==null)return a.logger.yw("Field must have valueType"),null;var d=b.valueType;if(!wNd.has(d))return a.logger.yw("Unknown value type "+d),null;var e=wNd.get(d);_.I(c,2,e);if(!xNd(a,
b,d,c))return a.logger.yw("Unknown value type "+d),null;b.badgeInfo&&(a=b.badgeInfo,b=_.PGd((new _.OGd).setTitle(a.title),Number(a.priority)),a.color&&_.QGd(b,yNd(a.color)),a.darkModeColor&&_.RGd(b,yNd(a.darkModeColor)),_.VGd(c,b));return c},yNd=function(a){var b=new _.NGd;b=_.Tg(b,2,_.qNd(a.foregroundColor));return _.Tg(b,1,_.qNd(a.backgroundColor))},xNd=function(a,b,c,d){if(b[c]==null)return!1;switch(c){case "text":d.Dd(b.text);break;case "selection":d.Dm(b.selection);break;case "selectionList":_.yk(d,
6,b.selectionList);break;case "integer":b=Number(b.integer);if(isNaN(b))return!1;_.Tg(d,4,b);break;case "user":TGd(d,_.lQ(a.H,b.user));break;case "userList":UGd(d,b.userList.map(function(e){return _.lQ(a.H,e)}));break;case "dateString":_.L(d,3,b.dateString);break;default:return!1}return!0},wNd=new Map([["dateString",1],["integer",2],["selection",3],["selectionList",4],["text",5],["user",6],["userList",7]]);var zNd,ENd,JNd,LNd,MNd,NNd,ONd,PNd,QNd,SNd,TNd,UNd,VNd,WNd,XNd,cOd,YNd,$Nd,lOd,HNd,GNd,KNd,ZNd,dOd,eOd,BNd,fOd,gOd,RNd,hOd,iOd,jOd,kOd,aOd,mOd,bOd;zNd=function(a,b,c){this.H=a;this.O=b;this.V=new tNd(a,c)};
_.CNd=function(a,b,c){var d=d===void 0?!0:d;var e=new _.YP,f=d;f=f===void 0?!0:f;var g=g===void 0?!1:g;d=new _.Cr;var k=f;k=k===void 0?!0:k;f=[];if(_.iQ("drive#file")(b))(a=_.ANd(a,b,k))&&f.push(a);else if(_.iQ("drive#fileList")(b))for(var l=b.items||[],m=0;m<l.length;m++){var q=_.ANd(a,l[m],k);f.push(q)}a=_.wO(d,f);if(_.iQ("drive#fileList")(b)){d=_.J(a,8,b.incompleteSearch);var r;if(f=b.spellResponse){var t=[];f=_.n(f.spellCorrections);for(l=f.next();!l.done;l=f.next()){k=[];l=_.n(l.value.spellFragments);
for(m=l.next();!m.done;m=l.next())m=m.value,q=(new _.R_c).Tb(BNd.get(m.status)),q=_.L(q,1,m.original),m=_.L(q,3,m.correction),k.push(m);l=new _.S_c;k=_.Mj(l,1,k);t.push(k)}t=_.U_c(t)}(f=b.suggestedNlpQueries)&&f.length>0&&(r=_.Q_c(f));t||r?(f=new _.Br,t&&_.Q(f,_.T_c,1,t),r&&_.Q(f,_.P_c,2,r),r=f):r=null;r=_.$Hd(d,r);d=[];t=_.n(b.items||[]);for(f=t.next();!f.done;f=t.next())f=f.value,k=f.id,!k||f.searchResultSource!="1"&&f.searchResultSource!="3"||d.push(k);_.yk(r,18,d);g&&_.L(a,15,b.nextPageToken)}e=
_.TJd(e,a);c=_.GCd(c);c=_.L(e,2,c);_.iQ("drive#fileList")(b)&&b.nextPageToken&&_.UJd(c,b.nextPageToken);return c};
ENd=function(a,b,c,d,e){var f=f===void 0?!0:f;var g=_.FId(new _.rP,c);_.iQ("drive#adminFile")(b)?(c=(new _.Oq).Bb(b.id),b.parentId&&_.JP(c,[b.parentId]),b=_.Wq(c,b.teamDriveId),_.FId(g.setItem(b),b.Pb())):_.iQ("drive#file")(b)?(b=_.ANd(a,b),g.setItem(b),c||_.FId(g,b.Pb())):_.iQ("drive#revision")(b)&&(b=_.DNd(a,b,f),_.Q(g,_.RP,4,b));g.Rva(_.FCd(d)).Fva(_.GCd(d));(d=(d=d&&_.ECd(d))&&d["x-server-object-version"])&&e&&(e=(new _.RP).Bb(d),_.Q(g,_.RP,4,e));g.Tb(1);return g};
_.FNd=function(a,b){return _.FId(new _.rP,a).Tb(1).Rva(_.FCd(b)).Fva(_.GCd(b))};
_.INd=function(a,b){var c=_.rGd(_.tGd((new _.Tp).Eb(GNd.get(b.type)).Bb(b.id),b.userId),a.H.isMe(b.userId));c=_.J(c,4,b.withLink);c=_.sGd(c.jd(b.name).Qk(b.photoLink),b.emailAddress);c=_.J(c,10,b.deleted);c=_.L(c,12,b.audienceId);c=_.L(c,13,b.customerId);_.zP(a.O)&&c.jd(b.nameIfNotUser);b.role&&(a=HNd.get(b.role),a==2&&b.additionalRoles&&b.additionalRoles[0]=="commenter"?a=4:a==2&&b.view=="published"&&(a=6),_.I(c,6,a));return c};
_.ANd=function(a,b,c){c=c===void 0?!0:c;var d=_.rHd(_.Rq(_.JP((new _.Oq).Bb(b.id),JNd(b)).setTitle(b.title),b.mimeType),b.hasThumbnail);b.thumbnailVersion!=null&&_.Tg(d,90,Number(b.thumbnailVersion));_.jIa(_.mHd(d.Kj(b.description),b.explicitlyTrashed),b.shared);b.quotaBytesUsed!=null&&_.Tg(d,28,Number(b.quotaBytesUsed));b.fileSize!=null&&_.Tg(d,14,Number(b.fileSize));b.alternateLink!=null&&_.L(d,115,b.alternateLink);if(b.labels){var e=b.labels;_.hHd(_.gHd(_.fHd(d.ys(e.starred),e.hidden).In(e.trashed),
e.restricted),e.viewed)}_.Sac(_.lHd(_.Qac(_.jHd(_.Pac(_.vHd(_.iHd(d,_.kQ(b.createdDate)),_.kQ(b.serverCreatedDate)),_.kQ(b.modifiedDate)),_.kQ(b.modifiedByMeDate)),_.kQ(b.lastViewedByMeDate)),_.kQ(b.sharedWithMeDate)),_.kQ(b.recency));b.recencyReason&&_.Tac(d,KNd.get(b.recencyReason)||0);_.Tq(d,LNd(a,b,c));b.lastModifyingUser&&(e=_.lQ(a.H,b.lastModifyingUser,c),_.kHd(d,e));b.userPermission&&(e=HNd.get(b.userPermission.role),_.Rac(d,e));b.imageMediaMetadata&&(e=MNd(b.imageMediaMetadata),_.Q(d,_.GP,
27,e));b.folderColor!=null&&_.kIa(d,Number(b.folderColor));_.oHd(_.tHd(_.pHd(_.XCd(_.sHd(_.nHd(d,b.subscribed),b.fileExtension),b.folderFeatures),b.flaggedForAbuse),b.primarySyncParentId||void 0),b.hasChildFolders);b.source&&_.qHd(_.L(d,42,b.source.client_service_id),b.source.value);b.sharingUser&&(e=_.lQ(a.H,b.sharingUser,c),_.uHd(d,e));b.sources&&_.yk(d,56,b.sources);if(b.spaces){e=b.spaces;for(var f=[],g=0;g<e.length;g++){var k=e[g];_.GAd[k]&&(k=_.hf(new _.jf,_.GAd[k]),f.push(k))}_.Mj(d,60,f)}_.J(d,
63,b.ownedByMe);b.sourceAppId&&_.L(d,61,b.sourceAppId);_.J(d,74,b.changed);b.actionItems&&_.xHd(d,NNd(b.actionItems));b.capabilities&&_.KP(d,_.rNd(b.capabilities));b.permissionsSummary&&_.yHd(d,ONd(a,b.permissionsSummary));b.itemLocation&&_.VHd(d,PNd(b.itemLocation));b.headRevisionId&&_.L(d,78,b.headRevisionId);b.templateData&&_.zHd(d,QNd(b.templateData));_.wHd(_.oIa(_.Wq(d,b.teamDriveId),b.hasAugmentedPermissions),b.ancestorHasAugmentedPermissions);b.creator&&(e=_.lQ(a.H,b.creator,c),_.AHd(d,e));
_.DHd(_.CHd(_.BHd(d,b.primaryDomainName),b.organizationDisplayName),b.passivelySubscribed);b.trashingUser&&_.EHd(d,_.lQ(a.H,b.trashingUser,c));_.FHd(d,_.kQ(b.trashedDate));b.version&&_.Tg(d,75,Number(b.version));_.HHd(_.J(d,98,b.hasVisitorPermissions),b.hasAppsScriptAddOn);(c=b.pairedDocType)&&_.GHd(d,RNd.get(c));b.audioMediaMetadata&&(c=SNd(b.audioMediaMetadata),_.Q(d,_.DGd,158,c));b.videoMediaMetadata&&(c=TNd(b.videoMediaMetadata),_.Q(d,_.IP,103,c));_.IHd(_.yk(d,104,b.detectors),b.containsUnsubscribedChildren);
b.contentRestrictions&&_.KHd(d,UNd(b.contentRestrictions));(c=b.publishingInfo)&&_.JHd(_.J(d,118,c.published),c.publishedUrl);_.yk(d,120,b.workspaceIds);var l;((l=b.approvalMetadata)==null?0:l.approvalVersion)&&_.Tg(d,126,Number(b.approvalMetadata.approvalVersion));var m;((m=b.approvalMetadata)==null?0:m.approvalSummaries)&&_.LHd(d,VNd(b.approvalMetadata.approvalSummaries));var q;typeof((q=b.approvalMetadata)==null?void 0:q.hasIncomingApproval)==="boolean"&&_.J(d,153,!!b.approvalMetadata.hasIncomingApproval);
b.shortcutDetails&&_.MHd(d,WNd(a,b.shortcutDetails));b.clientEncryptionDetails&&_.PHd(d,XNd(b.clientEncryptionDetails));b.linkShareMetadata&&_.QHd(d,YNd(b.linkShareMetadata));typeof b.inheritedPermissionsDisabled==="boolean"&&_.J(d,160,b.inheritedPermissionsDisabled);b.editSource&&_.WHd(d,ZNd.get(b.editSource));b.labelInfo&&(l=ZGd($Gd(new _.MHa,b.labelInfo.incomplete),b.labelInfo.labelCount),m=(b.labelInfo.labels||[]).map(function(r){return vNd(a.V,r)}),_.Mj(l,1,m),_.THd(_.Q(d,_.MHa,147,l),m.filter(function(r){return sNd(r)})));
b.spamMetadata&&_.UHd(d,$Nd(b.spamMetadata));_.RHd(_.OHd(_.NHd(_.L(d,140,b.resourceKey),b.authorizedAppIds),b.customerId),b.abuseIsAppealable);b.abuseNoticeReason&&_.SHd(d,aOd.get(b.abuseNoticeReason)||0);b.accessRequestsCount&&_.Ug(d,152,Number(b.accessRequestsCount));_.xO(d);_.zP(a.O)&&d.KF(5);return d};JNd=function(a){var b=[];a&&a.parents&&b.push.apply(b,_.Eb(a.parents.map(function(c){return c.id})));return b};
LNd=function(a,b,c){c=c===void 0?!0:c;var d=[];if(b&&b.owners){b=b.owners;for(var e=0;e<b.length;e++){var f=_.lQ(a.H,b[e],c);f&&d.push(f)}}return d};MNd=function(a){var b=(new _.GP).Vh(a.width).Dj(a.height);b=_.Ug(b,4,a.rotation);if(a.date){a=a.date;var c=new _.BQa;c.setMilliseconds(0);bOd.parse(a,c);a=c.getTime();_.Tg(b,1,a)}return b};
_.DNd=function(a,b,c){c=c===void 0?!0:c;var d=(new _.RP).Bb(b.id);d=_.L(d,2,b.mimeType);var e=_.kQ(b.modifiedDate);d=_.Tg(d,3,e);d=_.J(d,4,b.pinned);d=_.L(d,5,b.downloadUrl);d=_.L(d,7,b.originalFilename);b.editSource&&(e=ZNd.get(b.editSource),_.I(d,11,e));b.fileSize!=null&&_.Tg(d,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.lQ(a.H,b.lastModifyingUser,c),_.Q(d,_.Tp,9,a));b.decryptionMetadata&&(b=cOd(b.decryptionMetadata),_.Q(d,_.FP,10,b));return d};
NNd=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];d.id&&d.type&&(d=(new _.Yp).Bb(d.id).Eb(dOd.get(d.type)),b.push(d))}return b};
ONd=function(a,b){var c=c===void 0?!1:c;return _.eHd(_.dHd(_.cHd(new _.Nq,b.entryCount),(b.visibility||[]).map(function(d){var e=c;e=e===void 0?!1:e;var f=(new _.Tp).Eb(GNd.get(d.type));e=_.J(f,4,d.withLink).Bb(e?d.permissionId:d.type+"|"+(d.domain||"")+"|"+d.withLink);d.role&&(f=HNd.get(d.role),f==2&&d.additionalRoles&&d.additionalRoles[0]=="commenter"&&(f=4),_.I(e,6,f));return e})),(b.selectPermissions||[]).map(function(d){return _.INd(a,d)}))};
PNd=function(a){var b=new _.Dq;if(a.parent){a=a.parent;var c,d=(new _.Cq).Bb(a.id);d=_.Tg(d,2,Number(a.version)).setTitle(a.title);var e=Number((c=a.folderColor)!=null?c:0);c=_.Tg(d,4,e);c=_.J(c,6,a.hasAugmentedPermissions);c=_.J(c,7,a.shared).In(a.trashed);c=_.L(c,9,a.resourceKey);c=_.L(c,10,a.mimeType).xw(a.driveId);a.id===a.driveId&&_.J(c,13,a.trustedDrive);a.folderProperties&&(a=a.folderProperties,d=new _.QHa,d=_.J(d,1,a.psynchoRoot),d=_.J(d,2,a.psynchoFolder),d=_.J(d,3,a.machineRoot),d=_.J(d,
4,a.arbitrarySyncFolder),d=_.J(d,5,a.externalMedia),a=_.J(d,6,a.photosAndVideosOnly),_.Q(c,_.QHa,5,a));b.Xg(c)}return b};QNd=function(a){var b=(new _.HP).Kj(a.description);var c=eOd.get(a.galleryState);b=_.I(b,3,c);return _.yk(b,2,a.category)};SNd=function(a){var b=new _.DGd;a.durationMillis&&_.Ug(b,1,Number(a.durationMillis));return b};TNd=function(a){var b=(new _.IP).Vh(a.width).Dj(a.height);a.durationMillis&&_.Ug(b,3,Number(a.durationMillis));return b};
UNd=function(a){var b=[];a=_.n(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c=_.MGd((new _.wq).WN(c.readOnly),c.reason),b.push(c);return b};VNd=function(a){var b=[];a=_.n(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c=(new _.LHa).Bb(c.approvalId).Tb(fOd.get(c.status)).Eb(gOd.get(c.type)),b.push(c);return b};
WNd=function(a,b){var c=new _.hIa;c=_.L(c,1,b.targetId);c=_.L(c,7,b.targetResourceKey);c=_.L(c,3,b.targetMimeType);c=_.J(c,6,b.canRequestAccessToTarget);if(b.targetLookupStatus){var d=hOd.get(b.targetLookupStatus)||0;_.I(c,4,d)}b.targetFile&&(a=_.ANd(a,b.targetFile),_.Q(c,_.Oq,5,a));return c};XNd=function(a){var b=new _.vO;var c=iOd.get(a.encryptionState);b=_.I(b,1,c);a.decryptionMetadata&&(a=cOd(a.decryptionMetadata),_.Q(b,_.FP,2,a));return b};
cOd=function(a){var b=a.wrappedKey;var c=new _.FP;b=b?_.rcc(b):void 0;c=_.L(c,1,b);c=_.Tg(c,2,Number(a.kaclsId));c=_.L(c,5,a.kaclsName);b=jOd.get(a.aes256GcmChunkSize);c=_.I(c,3,b);b=kOd.get(a.keyFormat);c=_.I(c,6,b);c=_.L(c,4,a.jwt);a=lOd(a.guestIdp);return _.Q(c,_.Lp,8,a)};YNd=function(a){var b=new _.aHd;b=_.J(b,2,a.securityUpdateEligible);b=_.J(b,3,a.securityUpdateEnabled);return _.J(b,5,a.securityUpdateExplicitlySet)};
$Nd=function(a){var b=_.bHd(new _.yq,_.kQ(a.markedAsSpamDate));b=_.J(b,4,a.inSpamView);b=_.J(b,5,a.isSpam);return _.J(b,6,a.isInheritedSpam)};lOd=function(a){if(a&&Object.keys(a).length!==0){var b=oGd(pGd(nGd((new _.Lp).jd(a.name),a.discoveryUri),mOd.get(a.grantType)||0),a.clientId);a.nativeClientIds&&qGd(b,new Map(Object.entries(a.nativeClientIds).map(function(c){c=_.n(c);var d=c.next().value;c=c.next().value;d=Number(d);var e=new mGd;c=_.L(e,1,c);return[d,c]})));return b}};
HNd=new Map([["fileOrganizer",7],["organizer",5],["owner",1],["reader",2],["writer",3]]);GNd=new Map([["anyone",4],["audience",5],["domain",3],["group",2],["user",1]]);KNd=new Map([["createdByMe",1],["modifiedByMe",2],["modified",3],["viewedByMe",4]]);ZNd=new Map([["unspecifiedEditSource",0],["blobComments",1],["pairedDoc",2],["officeEditingMode",3]]);dOd=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);eOd=new Map([["UNAVAILABLE",1],["AVAILABLE",2],["PENDING",3]]);
BNd=new Map([["CORRECT",1],["INCORRECT",2],["SUSPICIOUS",3]]);fOd=new Map([["IN_PROGRESS",1],["COMPLETED",2],["CANCELLED",3]]);gOd=new Map([["CONTENT_REVIEW",1],["E_SIGNATURE",2],["ALIGNMENT",3]]);RNd=new Map([["docs",1],["sheets",2],["slides",3]]);hOd=new Map([["ok",1],["notFound",2],["permissionDenied",3]]);iOd=new Map([["unencrypted",1],["encrypted",2]]);jOd=new Map([["unset",0],["default",1],["small",2],["size16kb",3]]);kOd=new Map([["unsetKeyFormat",0],["tinkKeyset",1],["tinkAesGcmKey",2]]);
aOd=new Map([["unknownReason",0],["accessibleOnlyToOwner",1],["accessibleOnlyToOwningCustomer",2],["suspiciousOther",3],["suspiciousPhishing",4],["suspiciousMalware",5],["accessibleOnlyToOwnerInSomeRegions",6],["accessibleOnlyToOwningCustomerInSomeRegions",7],["suspiciousInSomeRegions",8],["markedAsSpam",9],["markedAsConfirmedSpam",10]]);mOd=new Map([["grant_type_unspecified",0],["implicit",1],["authorization_code",2]]);bOd=new _.Y_c("yyyy:MM:dd HH:mm:ss");var nOd=function(){};var oOd=function(a,b,c){this.O=a;this.H=b;this.V=c};var sOd,wOd;_.pOd=function(a,b){this.W=a;this.Td=b;this.ma=new pNd(a);this.H=new zNd(this.ma,a,b);this.W=a};
_.pOd.prototype.convert=function(a,b,c){c=c===void 0?[]:c;try{var d=this.ua(a,b);if(d)var e=Promise.resolve(d);else{if(a instanceof _.WN)var f=Promise.resolve(_.qOd(this,a,b));else{if(a instanceof _.EO)var g=Promise.resolve(_.qOd(this,a,b));else{if("function"==typeof _.HO&&a instanceof _.HO)var k=Promise.resolve(_.qOd(this,a,b));else{if(a instanceof tEd){var l=Promise,m=l.resolve;if(!b.json)throw _.mQ();_.jQ(_.fc(_.iQ("drive#fileList"),_.iQ("drive#file")),b.json);var q=_.CNd(this.H,b.json,b.headers);
var r=m.call(l,q)}else{if(a instanceof _.oP)l=Promise.resolve(_.qOd(this,a,b));else{if(a instanceof _.FEd){var t=Promise,u=t.resolve;if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#generateCseTokenResponse"),b.json);var v=b.json;var x=_.SJd(_.RJd(_.QJd(_.OJd(_.PJd(_.NJd(new _.MJd,v.fileId),v.jwt),Number(v.currentKaclsId)),v.currentKaclsName),v.customerId),lOd(v.guestIdp));var y=u.call(t,x)}else{if("function"==typeof _.rOd&&a instanceof _.rOd){var C=Promise,F=C.resolve;if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#revision"),
b.json);var G=_.DNd(this.H,b.json);t=F.call(C,G)}else{if(a instanceof _.eP)C=sOd(this,b,c);else{if(a instanceof JEd){var M=Promise,W=M.resolve;if(a.Pvb){if(!b.json)throw _.mQ();_.jQ(_.fc(_.iQ("drive#file"),_.iQ("drive#adminFile"),_.iQ("drive#revision")),b.json);var R=this.H,fa=b.json,aa=b.headers;var X=a.Oba.O;var la=(0,_.wP)(X)?_.E(X,12)||void 0:void 0;var Da=ENd(R,fa,null,aa,!!la)}else Da=_.FNd(null,b.headers);var Ia=W.call(M,Da)}else{if(a instanceof IEd){var Ta=Promise,kb=Ta.resolve,Bb=_.ECd(b.headers),
Wb=Bb.location;if(!Wb){var Mb=_.rO(new _.Gr,10);throw new _.wf("No upload session URI included.",Mb);}var Fc=new oOd(Wb,_.FCd(Bb),_.GCd(Bb));M=kb.call(Ta,Fc)}else{if(a instanceof NEd)Ta=Promise.resolve(new mNd);else{if(a instanceof xEd)var Cc=Promise.resolve(new nOd);else{if((0,_.AId)(a)){m=Promise;var dd=m.resolve,rc=_.tOd(a,b,YJd),$c=(new _.Cr).Tb(1),Cb=_.Kj(rc,XJd,1,_.Ff()),Tc=a.Lh();Cb.length!==Tc.length&&this.Td.Kf("network.xhr.FromXhrConverter").yw("Expected "+Tc.length+" items in response but got "+
Cb.length);var Lc=Math.max(Tc.length,Cb.length);for(b=0;b<Lc;b++){u=q=a=void 0;var Qb=b<Tc.length?Tc[b]:void 0,Nb=b<Cb.length?Cb[b]:void 0;if(Nb){var Ed=(u=Nb.getItem())==null?void 0:u.getId();if(Qb&&Ed&&Qb!==Ed)throw Error("Vg");var ic=Nb.getStatus();if(ic!=null&&ic.Dh()!==0){if($c.Tb(6),a=Ed||Qb){var xb=_.YHd(_.ZHd((new _.PP).Tb(6),ic.Dh()),ic.getMessage());_.tb($c,19,_.PP).set(a,xb)}}else{var Kb=Nb.getItem();_.xO(Kb);var oc=(q=_.K(Kb,_.vO,138))==null?void 0:(a=_.K(q,_.FP,2))==null?void 0:_.E(a,
1);if(oc){var nd=_.K(_.K(Kb,_.vO,138),_.FP,2),Ub=_.rcc(oc);_.L(nd,1,Ub)}_.zP(this.W)&&Kb.KF(5);$c.Nj(Kb)}}else $c.Tb(6),_.tb($c,19,_.PP).set(Qb,_.uOd)}var tc=_.TJd(new _.YP,$c);var ke=dd.call(m,tc)}else ke=Promise.reject(new _.wf("FromXhrConverter: Unsupported request type.",new _.Gr));Cc=ke}Ta=Cc}M=Ta}Ia=M}C=Ia}t=C}y=t}l=y}r=l}k=r}g=k}f=g}e=f}return e}catch(Id){return Promise.reject(_.TN(Id))}};_.pOd.prototype.ua=function(){return null};
sOd=function(a,b,c){var d=b.headers["x-goog-safety-encoding"];return d==="base64"?_.Uj(a.W,95,0)>0?mFd(b.text,_.Uj(a.W,95,0)).then(function(e){return new nNd(e,c.length)}):Promise.resolve(new nNd(_.Pa(b.text),c.length)):d?Promise.reject(Error("Ug")):Promise.resolve(new nNd(new Uint8Array(_.hqa(b.text)),c.length))};
_.qOd=function(a,b,c){if(!c.json){if(b instanceof _.eO)return _.FNd(_.vOd(b));throw _.mQ();}var d=!1;b instanceof _.oP&&(d=(0,_.wP)(b.request)&&!!_.E(b.request,12));_.jQ(_.fc(_.iQ("drive#file"),_.iQ("drive#adminFile"),_.iQ("drive#revision")),c.json);return ENd(a.H,c.json,_.vOd(b),c.headers,d)};_.mQ=function(){var a=_.rO(new _.Gr,11);return new _.wf("FromXhrConverter: JSON required, but none found",a)};_.tOd=function(a,b,c){b=b.text;if(!b)throw wOd(a);try{return _.bc(c,b)}catch(d){throw wOd(a);}};
wOd=function(a){var b=_.rO(new _.Gr,40);return new _.wf("FromXhrConverter: Response for "+_.PEd(a)+" was not valid serialized proto format",b)};_.vOd=function(a){return a.getId?a.getId():a.kd?a.kd():null};_.uOd=_.YHd(_.ZHd((new _.PP).Tb(6),5),"item response does not exist");var nQ,GFd,xOd,tFd,yOd,xFd,zOd,IFd,AOd,COd,zFd,DOd,AFd;nQ={};GFd=(nQ[0]="newComment",nQ[1]="newReply",nQ[2]="updatedSuggestionQuote",nQ[3]="deletedComment",nQ[4]="deletedReply",nQ[5]="newMentions",nQ[6]="newSuggestion",nQ[7]="acceptedSuggestion",nQ[8]="rejectedSuggestion",nQ[9]="resolvedComment",nQ[10]="reopenedComment",nQ[11]="newTodo",nQ[12]="reassignedTodo",nQ);xOd={};tFd=(xOd[0]="unknown",xOd[1]="nonGoogleAccount",xOd[2]="googleAccount",xOd[3]="unverifiedMention",xOd);yOd={};
xFd=(yOd[0]="unknownSignatureVersion",yOd[1]="initialSignatureVersion",yOd);zOd={};IFd=(zOd[0]="unspecifiedEditSource",zOd[1]="blobComments",zOd[2]="pairedDoc",zOd[3]="officeEditingMode",zOd);AOd={};_.BOd=(AOd[1]="active",AOd[2]="archived",AOd);COd={};zFd=(COd[0]="unset",COd[1]="default",COd[2]="small",COd[3]="size16kb",COd);DOd={};AFd=(DOd[0]="unsetKeyFormat",DOd[1]="tinkKeyset",DOd[2]="tinkAesGcmKey",DOd);_.EOd=function(a,b,c,d){this.H=a;this.Cf=b;this.O=c;this.W=d};_.EOd.prototype.convert=function(a,b){try{return a.Xt instanceof _.oP?PFd(a.Xt,this.Cf,this.O):Promise.resolve(this.V(a.Xt,a.config,b))}catch(c){return a=c instanceof _.wf?c:new _.wf(void 0,_.rO(_.Ir(_.Hr(new _.Gr,"Error converting XHR: "+c.message),c.stack),4)),Promise.reject(a)}};
_.EOd.prototype.V=function(a,b,c){var d=FOd(this,a,b,c),e=d.Qf;a=e.api===void 0?0:e.api;var f=e.body,g=e.Kh,k=e.json,l=e.method===void 0?"GET":e.method,m=e.requestHeaders===void 0?{}:e.requestHeaders,q=e.yh===void 0?{}:e.yh;e=e.Dg;var r;d=(r=d.options)!=null?r:{};return _.XFd({api:a,Dg:e,yh:q,requestHeaders:m,method:l,Kh:g,json:k,body:f},{fR:d.fR===void 0?!1:d.fR,Bl:d.Bl===void 0?!1:d.Bl},b,c,this.H,this.W)};
var FOd=function(a,b,c,d){if((0,_.QFd)(b)||"function"==typeof _.HO&&b instanceof _.HO)return YFd(b,a.O,a.H,_.GOd(a.Cf,[]));if((0,_.wP)(b))return ZFd(b,a.O,a.H,_.GOd(a.Cf,[]));if(NId(b))return iGd(b,a.O,c,d);if(YId(b))return $Fd(b,a.O,a.H,c,_.GOd(a.Cf,_.K(b,_.lr,2).O()),function(e,f){a.ma(e,f)},a.Cf);if(KId(b))return hGd(b,a.O);if("function"==typeof _.rOd&&b instanceof _.rOd)return{Qf:{Dg:"files/"+b.id+"/revisions/"+b.revisionId,yh:{fields:"kind,id,modifiedDate,originalFilename,fileSize,editSource,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt,keyFormat,guestIdp)"}},
options:{fR:!0,Bl:!0}};if(b instanceof JEd)return kGd(b);if(b instanceof IEd)return lGd(b,a.O,a.H,_.GOd(a.Cf,[]).filter(function(e){return e!==194}));if(b instanceof NEd)return{Qf:{Dg:"about",Kh:b.H,yh:{fields:"kind"}},options:{Bl:!0}};if(TId(b))return jGd(b);if((0,_.AId)(b))return gGd(b,a.O,a.H,a.ua(b.Lh()),_.GOd(a.Cf,b.O()));_.HOd(b)};_.EOd.prototype.ma=function(){};_.EOd.prototype.ua=function(){return[]};
_.HOd=function(a){var b=_.rO(new _.Gr,4);throw new _.wf("ToXhrConverter: Unsupported request type: "+_.PEd(a),b);};var eEd=_.fc(_.xsa,_.Asa),IOd={};(function(){var a=(IOd[0]=fEd(),IOd[14]=fEd(),IOd);return _.Rb(function(b){if(!(0,_.Bsa)(b))return!1;for(var c=_.n(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=_.n(d.value);d=e.next().value;e=e.next().value;if(!(d in b)){if(e.Psc===!0)continue;return!1}if(!e(b[d]))return!1}return!0})})();var JOd,KOd,GKd;JOd=[87,21,83,70];KOd=[189,190,1004,28,96,45,25,35];_.MOd=function(a){FKd.call(this,new CKd);this.BF=new Set;var b=[].concat(_.Eb(JOd));_.NN(a)||b.push.apply(b,_.Eb(KOd));_.LOd(this,b)};_.P(_.MOd,FKd);_.LOd=function(a,b){b=_.n(b);for(var c=b.next();!c.done;c=b.next())a.BF.add(c.value);return a};
GKd=function(a,b,c){EKd.call(this,b,c);b=[].concat(_.Eb(a));c=_.n(b);for(var d=c.next();!d.done;d=c.next())if(d=d.value,this.Re[d]!=null&&(d=this.Re[d],d.S$)){d=_.n(d.S$);for(var e=d.next();!e.done;e=d.next())e=e.value,a.has(e)||(a.add(e),b.push(e))}this.nV=new BKd(_.n([a,b]).next().value)};_.P(GKd,EKd);_.xP=function(a){return[].concat(_.Eb(a.nV.BF.iM()))};GKd.prototype.ODa=function(){return this.nV.ODa()};GKd.prototype.aTa=function(a){return this.nV.aTa(a)};
_.GOd=function(a,b){var c=_.xP(a);a=a.nV.BF.H;b=_.n(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.has(d)||c.push(d);return c};_.NOd=function(a){a=a===void 0?1:a;_.Ig.call(this);this.H=a;this.O=!1;this.V=this.H===1};_.P(_.NOd,_.Ig);_.NOd.prototype.isConnected=function(a){return this.H===1&&((a===void 0?0:a)?!0:!this.O)};_.NOd.prototype.mp=function(){return this.H===1||this.H===2};_.NOd.prototype.Hg=function(){return this.H===3};
_.NOd.prototype.update=function(a){if(this.H!==a||this.O&&this.H===1){var b=!0;if(a===2)var c=this.Hg()?_.DA.o_:_.DA.uAa;else a===1?(c=_.DA.CONNECTED,this.V=!0):a===3&&(this.H===2&&(this.O=!0),b=!1,c=_.DA.bG);if(c)return c=new CId(c),this.H=a,b&&(this.O=!1),this.dispatchEvent(c),!0}return!1};var POd=function(a,b,c,d,e,f){_.Ig.call(this);var g=this;this.V=a;this.O=b;this.W=c;this.H=d;this.eventHandler=new _.Lg(this);this.eventHandler.listen(c,[_.DA.CONNECTED,_.DA.o_],function(){return void OOd(g)});this.logger=e.Kf("sync.logging.ClearcutOfflineTransport");f.then(function(){return OOd(g)})};_.P(POd,_.Ig);POd.prototype.AJ=function(a){return(a=this.W.Hg()&&this.O.H?QOd(this.H,a):this.V.AJ(a))?a:void 0};
var OOd=function(a){return a.O.H?ROd(a.H).then(function(b){b.forEach(function(c,d){a.V.AJ(c).then(function(){return SOd(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},SOd=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Ha");return TOd(a.H,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};POd.prototype.log=function(a){this.logger.info(a)};var UOd=function(){_.ZB.call(this);this.W=this.V=null;this.Ba=!1;this.ua=null},WOd,cLd,gMd,lNd,rLd,YOd;_.P(UOd,_.ZB);var VOd=function(a,b){a.W||(a.W=b)};UOd.prototype.Vi=function(){!this.Ba&&this.W&&(this.W(),this.Ba=!0);(0,this.ua)()};WOd=function(a,b){a.ua||(a.ua=b)};_.oQ=function(a){if(!a.V){a.V=new qId;var b=_.aC(a);_.Q(b,qId,56,a.V)}return a.V};_.bQ=function(a){var b=_.oQ(a).ee();b||(b=new iId,a=_.oQ(a),_.Q(a,iId,1,b));return b};
UOd.prototype.getState=function(){var a=_.oQ(this).getState();a||(a=new jId,_.oQ(this).Vd(a));return a};var XOd=function(a,b){var c=new cId;b=_.I(c,1,b);a=_.aC(a);_.Q(a,cId,12,b)};UOd.prototype.Da=function(){var a=_.K(_.oQ(this),dId,4);if(!a){a=new dId;var b=_.oQ(this);_.Q(b,dId,4,a)}return a};cLd=function(a){var b=_.K(_.oQ(a),mId,8);b||(b=new mId,a=_.oQ(a),_.Q(a,mId,8,b));return b};gMd=function(a){var b=_.K(_.oQ(a),lId,9);b||(b=new lId,a=_.oQ(a),_.Q(a,lId,9,b));return b};
lNd=function(a){var b=_.K(_.oQ(a),gId,15);b||(b=new gId,a=_.oQ(a),_.Q(a,gId,15,b));return b};rLd=function(a){var b=_.K(_.oQ(a),eId,19);b||(b=new eId,a=_.oQ(a),_.Q(a,eId,19,b));return b};_.WKd=function(a){var b=_.K(_.oQ(a),hId,29);b||(b=new hId,a=_.oQ(a),_.Q(a,hId,29,b));return b};YOd=new _.Kwb("drive_dataservice_builder");var ZOd=function(){};ZOd.prototype.p5=function(){return new UOd};var $Od=function(){this.H=new rId};$Od.prototype.O=function(a){_.Q(a,rId,13,this.H)};var aPd=new _.eDd("drive_dataservice_invariants");var bPd=function(a,b){this.userId=a;this.db=null;this.logger=b.Kf("sync.logging.ImpressionPersister")},QOd=function(a,b){a.logger.info("Persisting offline impressions.");return cPd(a,function(c){return c.count().then(function(d){return d<1E3?a.add(c,b):a.handleError(Error("Wg"))},function(d){return a.handleError(d)})},"readwrite")};bPd.prototype.add=function(a,b){var c=this;return a.add({userId:this.userId,impressionBatch:_.Fb(b)}).then(null,function(d){c.handleError(d)})};
var ROd=function(a){return new _.fm(function(b){var c=new Map;cPd(a,function(d){return tId(d.yf("userId"),a.userId).then(function(e){e=new Map(e.map(function(m){return[m,d.get(m)]}));for(var f=_.n(e),g=f.next(),k={};!g.done;k={Ewb:void 0},g=f.next()){var l=_.n(g.value);g=l.next().value;l=l.next().value;k.Ewb=g;l.then(function(m){return function(q){q&&c.set(m.Ewb,new _.bAb(q.impressionBatch))}}(k))}return _.pDd([].concat(_.Eb(e.values()))).then(function(){return b(c)})})})})},TOd=function(a,b){return cPd(a,
function(c){return c.remove(b)},"readwrite")},cPd=function(a,b,c){c=c===void 0?"readonly":c;return dPd(a).then(function(d){try{var e=_.wCd(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.zO(f):void 0)}},function(d){return a.handleError(d)})},dPd=function(a){return a.db?_.gm(a.db):_.yCd("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.uId(c,"OfflineImpressions");b=_.vCd(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.oO(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Xg"))}).then(function(b){return a.db=b},function(b){return _.hm(_.zO(b))})};bPd.prototype.handleError=function(a){a||(a=Error("Yg"));this.logger.yw(a.message,a);return _.gm()};var ePd=function(a,b){this.H=a;var c=new _.exb;_.Jda(c,1,_.eb,b.ooa);a=this.H.KZ();var d=_.VDd(a);_.Q(d,_.exb,10,c);(c=b.buildLabel)&&_.UDd(a,c);this.H.Nka();this.O=b},hPd=function(a,b,c,d,e,f,g,k){k=k===void 0?!1:k;b=_.cDd(new _.dG(906,b),!0);_.cO()&&(b.V=!0);var l=b.build(),m=new _.gDd(l);b=new Date;l=_.$Dd(_.aEd(_.ZDd(_.YDd(vId(),new _.fDd(l)),fPd(c)),109),b.getTime()+"_"+_.Ng());if(k){a=new POd(m,d,e,new bPd(a,f),f,g);_.XDd(l,a);d=l.build();_.TDd(d.KZ(),b.getTime()*1E3);var q=new ePd(d,c);(new _.Lg).listen(a,
"Ha",function(){gPd(q,106008,0).Vi()});return q}_.XDd(l,m);a=l.build();_.TDd(a.KZ(),b.getTime()*1E3);return new ePd(a,c)},fPd=function(a){var b=new _.ayb,c=new $Od,d=a.oj();_.I(c.H,1,d);_.L(c.H,8,a.W);_.I(c.H,3,a.ua);_.I(c.H,4,a.wVa);_.J(c.H,5,a.Ba);_.J(c.H,6,a.Rm);_.J(c.H,7,a.I1a);_.I(c.H,2,a.environment);_.bDd(b,aPd,c);a=new ZOd;b.H[YOd.getId()]=a;return b},gPd=function(a,b,c){var d=_.$B(a.H.CR(b,c),YOd);XOd(d,a.O.ma.Hg()?2:1);b=pKd(a.O);typeof b==="boolean"&&kId(d.getState(),b);c===1&&VOd(d,function(){return void a.H.Kka(d)});
WOd(d,function(){var e;var f=(e=a.O.V)==null?void 0:e.getSize();e=d.getState();_.Ug(e,1,f);var g,k;f=(g=a.O.H)==null?void 0:(k=g.H)==null?void 0:k.getSize();g=d.getState();_.Ug(g,2,f);var l,m;g=(l=a.O.H)==null?void 0:(m=l.O)==null?void 0:m.getSize();l=d.getState();_.Ug(l,7,g);a.H.rr(d)});return d};var iPd;iPd=function(a,b){this.O=a;this.V=b};_.jPd=function(a,b,c,d,e,f){var g=_.wh(a,59),k=_.JN(_.hO(a)).toString(),l=_.qO(_.hO(a));f=new mKd(a,c,f);a=g?hPd(l,k,f,b,c,d,e,_.N(a,17,!1)):null;return new iPd(a,f)};_.lPd=function(a,b){a.O&&_.kPd(a)&&gPd(a.O,b,0).Vi()};_.hQ=function(a,b){return a.O&&_.kPd(a)?gPd(a.O,b,0):null};_.TFd=function(a,b){if(a.O&&_.kPd(a)){a=gPd(a.O,106018,0);var c=_.I(lNd(a),1,1);_.Tg(c,2,b);a.Vi()}};
iPd.prototype.H=function(a,b){return this.O&&_.kPd(this)?(a=gPd(this.O,a,1),b&&_.aDd(a,b),a):null};_.kPd=function(a){return!(!a.O||!a.O.H.LZ())};_.mPd=function(){this.H=null};_.mPd.prototype.ZQ=function(a){this.H=a};_.nPd=function(){this.H=!0};_.nPd.prototype.MF=function(){this.H=!1};
}catch(e){_._DumpException(e)}
try{
_.oPd=function(a){this.Ca=_.p(a)};_.P(_.oPd,_.w);
}catch(e){_._DumpException(e)}
try{
_.pQ=function(a,b){_.J(a,1,b)};_.qQ=function(a){this.Ca=_.p(a)};_.P(_.qQ,_.w);_.qQ.prototype.kd=function(){return _.E(this,2)};_.rQ=function(a,b){return _.L(a,2,b)};_.pPd=function(a){return _.N(a,3,!1)};_.sQ=function(a){return _.J(a,3,!0)};_.qQ.prototype.getItem=function(){return _.K(this,_.Oq,4)};_.qQ.prototype.setItem=function(a){return _.Q(this,_.Oq,4,a)};_.qQ.prototype.Sw=function(){return _.oj(this,_.Oq,4)};_.qPd=function(a,b){return _.L(a,7,b)};
_.qQ.prototype.qn=function(){return _.Zg(this,7)};_.qQ.prototype.lB=function(){return _.E(this,13)};_.qQ.prototype.TN=function(a){return _.L(this,13,a)};_.qQ.mb=[8,17];
}catch(e){_._DumpException(e)}
try{
_.rPd=function(a){this.Ca=_.p(a)};_.P(_.rPd,_.w);_.h=_.rPd.prototype;_.h.getStatus=function(){return _.Ae(this,1)};_.h.Tb=function(a){return _.I(this,1,a)};_.h.qf=function(){return _.nk(this,1)};_.h.Bca=function(a){return _.Kj(this,_.Zp,2,_.Ff(a))};_.h.M2b=function(){return _.E(this,3)};_.rPd.mb=[2];
}catch(e){_._DumpException(e)}
try{
_.sPd=function(a,b){return _.J(a,4,b)};_.tPd=function(a,b){return _.I(a,3,b)};_.uPd=function(a,b){return _.I(a,3,b)};_.vPd=function(a){return _.ak(a,5,_.Ff())};_.wPd=function(a){this.Ca=_.p(a)};_.P(_.wPd,_.w);_.wPd.prototype.OAa=function(a){_.nf(this,1,_.Tp,a)};_.wPd.mb=[1];_.xPd=function(a){this.Ca=_.p(a)};_.P(_.xPd,_.w);_.xPd.prototype.Fx=function(){return _.E(this,2)};_.xPd.mb=[1];_.yPd=function(a){this.Ca=_.p(a)};_.P(_.yPd,_.w);_.yPd.mb=[2];_.zPd=function(a){this.Ca=_.p(a)};_.P(_.zPd,_.w);
_.zPd.prototype.getStatus=function(){return _.Ae(this,1)};_.zPd.prototype.Tb=function(a){return _.I(this,1,a)};_.zPd.prototype.qf=function(){return _.nk(this,1)};_.zPd.prototype.jf=function(){return _.K(this,_.Wp,2)};_.APd=function(a,b){return _.Q(a,_.Wp,2,b)};
}catch(e){_._DumpException(e)}
try{
_.BPd=function(a){this.Ca=_.p(a)};_.P(_.BPd,_.w);_.BPd.prototype.Df=function(){return _.E(this,2)};_.BPd.prototype.xw=function(a){return _.L(this,2,a)};var CPd,DPd;CPd=function(a){this.O=a;this.H=new Map};_.EPd=function(a){DPd===void 0&&(DPd=new CPd(a));return DPd};DPd=void 0;_.FPd=function(){this.requestId=null;this.resolved=!1;this.response=new _.By};_.GPd=function(a,b){return a.resolved?!1:(a.response.resolve(b),a.resolved=!0,!!a.requestId)};_.FPd.prototype.X_=function(){if(this.resolved||this.requestId)return!1;this.requestId=_.Ng();return!0};_.FPd.prototype.wl=function(){return this.requestId};_.FPd.prototype.getResponse=function(){return this.response.promise};
}catch(e){_._DumpException(e)}
try{
_.tQ=function(a,b,c){function d(l){c&&!k&&(k=!0,a.apply(null,_.Eb(f)));g=!0;setTimeout(function(){var m=e+b-Date.now();if(m>0)g=!1,d(m);else try{c||a.apply(null,_.Eb(f))}finally{g=!1,f=e=null,k=!1}},l)}c=c===void 0?!1:c;var e=null,f=null,g=!1,k=!1;return function(){var l=_.ec.apply(0,arguments);e=Date.now();f=l;g||d(b)}};
}catch(e){_._DumpException(e)}
try{
_.HPd=function(a){for(var b in a)delete a[b]};_.IPd=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)};_.Ui(_.IPd,_.sBd);_.IPd.prototype.reset=function(){this.H.reset();this.H.update(this.O)};
_.IPd.prototype.update=function(a,b){this.H.update(a,b)};_.IPd.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.JPd=function(a,b){a.reset();a.update(b);return a.digest()};_.KPd=function(){this.blockSize=-1;this.blockSize=64;this.H=[];this.ma=[];this.ua=[];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()};_.Ui(_.KPd,_.sBd);_.KPd.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 LPd=function(a,b,c){c||(c=0);var d=a.ua;if(typeof b==="string")for(var e=0;e<16;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;e<16;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;e<80;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 g=a.H[2],k=a.H[3],l=a.H[4];for(e=0;e<80;e++){if(e<40)if(e<20){f=k^c&(g^k);var m=1518500249}else f=c^g^k,m=1859775393;else e<60?(f=c&g|k&(c|g),m=2400959708):
(f=c^g^k,m=3395469782);f=(b<<5|b>>>27)+f+l+m+d[e]&4294967295;l=k;k=g;g=(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]+g&4294967295;a.H[3]=a.H[3]+k&4294967295;a.H[4]=a.H[4]+l&4294967295};
_.KPd.prototype.update=function(a,b){if(a!=null){b===void 0&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.ma,f=this.O;d<b;){if(f==0)for(;d<=c;)LPd(this,a,d),d+=this.blockSize;if(typeof a==="string")for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){LPd(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){LPd(this,e);f=0;break}}this.O=f;this.V+=b}};
_.KPd.prototype.digest=function(){var a=[],b=this.V*8;this.O<56?this.update(this.W,56-this.O):this.update(this.W,this.blockSize-(this.O-56));for(var c=this.blockSize-1;c>=56;c--)this.ma[c]=b&255,b/=256;LPd(this,this.ma);for(c=b=0;c<5;c++)for(var d=24;d>=0;d-=8)a[b]=this.H[c]>>d&255,++b;return a};
}catch(e){_._DumpException(e)}
try{
_.MPd=function(a,b,c){_.Si(_.Kaa,a,c,0).apply(null,b)};_.NPd=function(a,b){_.ui.call(this);this.ma=a||0;this.V=b||10;if(this.ma>this.V)throw Error("Zg");this.H=new _.Jg;this.O=new _.JA;this.delay=0;this.lastAccess=null;this.sma()};_.Ui(_.NPd,_.ui);_.NPd.prototype.Zq=function(){var a=Date.now();if(!(this.lastAccess!=null&&a-this.lastAccess<this.delay)){for(var b;this.H.yc()>0&&(b=_.ms(this.H),!this.MIa(b));)this.sma();!b&&this.yc()<this.V&&(b=this.iCa());b&&(this.lastAccess=a,this.O.add(b));return b}};
_.OPd=function(a,b){return a.O.remove(b)?(a.MAa(b),!0):!1};_.h=_.NPd.prototype;_.h.MAa=function(a){this.O.remove(a);this.MIa(a)&&this.yc()<this.V?this.H.enqueue(a):this.On(a)};_.h.sma=function(){for(var a=this.H;this.yc()<this.ma;)a.enqueue(this.iCa());for(;this.yc()>this.V&&this.H.yc()>0;)this.On(_.ms(a))};_.h.iCa=function(){return{}};_.h.On=function(a){if(typeof a.dispose=="function")a.dispose();else for(var b in a)a[b]=null};_.h.MIa=function(a){return typeof a.e$b=="function"?a.e$b():!0};
_.h.contains=function(a){return this.H.contains(a)||this.O.contains(a)};_.h.yc=function(){return this.H.yc()+this.O.yc()};_.h.wc=function(){return this.H.wc()&&this.O.wc()};_.h.wb=function(){_.NPd.Zb.wb.call(this);if(this.O.yc()>0)throw Error("$g");delete this.O;for(var a=this.H;!a.wc();)this.On(_.ms(a));delete this.H};
}catch(e){_._DumpException(e)}
try{
_.PPd=function(a,b){return _.I(a,16,b)};_.QPd=function(a,b){return _.nf(a,15,_.Tp,b)};_.RPd=[2,3,4,5];_.uQ=function(a,b){return _.L(a,1,b)};_.vQ=function(a,b){return _.Mj(a,3,b)};_.SPd=function(a){a=a.getItem().O();return!(!a||!_.wh(a,7))};
}catch(e){_._DumpException(e)}
try{
_.TPd=function(a){a=Math.floor(Number(a.V()||"0"));return a>=100?"over":a>=90?"near":"under"};_.wQ=function(a,b,c,d){var e=_.dh.getService(a);a=e.mh(a,c);_.UPd(a.H.ij,b,d);e.Pg(a)};_.UPd=function(a,b,c){var d=new _.VPd;b.gS&&_.Tg(d,2,b.gS);b.QO&&b.QO>=0&&_.Tg(d,1,b.QO);if(b.quotaType)switch(b.quotaType){case 1:_.I(d,3,1);break;case 2:_.I(d,3,2);break;case 3:_.I(d,3,3);break;default:_.Oc(b.quotaType,"quotaType had an unknown type: "+b.quotaType)}_.WPd(a,d);c&&(b=new _.XPd,c=_.I(b,1,c),_.YPd(a,c))};
_.ZPd=function(a,b){return!_.N(a,6,!1)||_.N(b,15,!1)};_.VPd=function(a){this.Ca=_.p(a)};_.P(_.VPd,_.w);_.XPd=function(a){this.Ca=_.p(a)};_.P(_.XPd,_.w);_.XPd.prototype.xm=function(){return _.ri(this,1,0)};_.WPd=function(a,b){b&&(a=_.bC(a),_.Q(a,_.VPd,29,b))};_.YPd=function(a,b){b&&(a=_.bC(a),_.Q(a,_.XPd,38,b))};_.$Pd=function(a){return isNaN(a)?0:a>=100?6:a>=95?5:a>=90?4:a>=80?3:a>=70?2:1};var aQd;_.bQd=function(a,b,c){var d=_.z(a.get(_.rza),1,"");a=_.TPd(b);d=new _.Rg(d);a:switch(a){case "over":var e="o";break a;case "near":e="u";break a;default:e="m"}c=_.vl(_.rd(_.rd(_.rd(_.rd(d,"i",e),"utm_source","drive"),"utm_medium","web"),"utm_campaign",aQd(a,c)),Math.floor(Number(String(b.O())))!==-1?"upgrade":"");Number(b.H())>=90&&_.rd(c,"utm_term","2022Q1DRIVEAOOS");return c};
aQd=function(a,b){switch(b){case "settings":return"settings";case "upload_dialog":return"upload_dialog_oos";case "widget":switch(a){case "over":return"widget_oos";case "near":return"widget_near_quota";default:return"widget_normal"}case "AOS_UPLOAD_DIALOG":return"AOS_UPLOAD_DIALOG";default:switch(a){case "near":case "over":return"upsell";default:return"manage"}}};
}catch(e){_._DumpException(e)}
try{
_.xQ=function(a){this.Ca=_.p(a)};_.P(_.xQ,_.w);_.xQ.prototype.getStatus=function(){return _.Ae(this,1)};_.xQ.prototype.Tb=function(a){return _.I(this,1,a)};_.xQ.prototype.qf=function(){return _.nk(this,1)};_.xQ.prototype.jh=function(a){return _.Kj(this,_.Oq,2,_.Ff(a))};_.cQd=function(a,b){return _.Mj(a,2,b)};_.xQ.prototype.xo=function(a,b){return _.nf(this,2,_.Oq,a,b)};_.xQ.prototype.En=function(){return _.E(this,4)};_.dQd=function(a,b){return _.L(a,4,b)};_.xQ.mb=[2];
}catch(e){_._DumpException(e)}
try{
_.yQ=function(a){this.Ca=_.p(a)};_.P(_.yQ,_.w);_.yQ.prototype.getKey=function(){return _.E(this,1)};_.eQd=function(a,b){return _.L(a,1,b)};_.yQ.prototype.Gx=function(){return _.Hk(this,1)};_.yQ.prototype.ob=function(){return _.E(this,2)};_.yQ.prototype.Lb=function(a){return _.L(this,2,a)};_.yQ.prototype.zh=function(){return _.Hk(this,2)};_.gQ=function(a){this.Ca=_.p(a)};_.P(_.gQ,_.w);_.gQ.prototype.JI=function(){return _.E(this,1)};_.gQ.prototype.getUrl=function(){return _.E(this,3)};
_.gQ.prototype.H=function(){return _.wh(this,9)};_.gQ.mb=[2,4,6];
}catch(e){_._DumpException(e)}
try{
_.zQ=function(a){return a.get(_.Jm)};
}catch(e){_._DumpException(e)}
try{
_.fQd=function(a){return _.zQ(a).yj(_.ji(a.get(_.ki))?_.EAd:_.Ye)};
}catch(e){_._DumpException(e)}
try{
var gQd,hQd,iQd,jQd,kQd,mQd,nQd,pQd,qQd,AQ,sQd,tQd,uQd,wQd,xQd,yQd,BQ,zQd,AQd,CQd,DQd,EQd,GQd,IQd,KQd,MQd,OQd,PQd,QQd,RQd,SQd,TQd,lQd,UQd,VQd,WQd,XQd,YQd,ZQd,$Qd,aRd,bRd,cRd,dRd,eRd,fRd,gRd,hRd,iRd,jRd,DRd,FRd,HRd,PRd,VRd,YRd,aSd,bSd,cSd,dSd,eSd,fSd,hSd,iSd,jSd,kSd,lSd,mSd,nSd,oSd,pSd,qSd,sSd,tSd,vSd,wSd,xSd,ySd,zSd,ASd,BSd,CSd,GSd,FSd,HSd,KSd,LSd,NSd,MSd,OSd,PSd,QSd,$Sd,cTd,gTd,kTd,rTd,tTd,xTd,BTd,CTd,DTd,ETd,FTd,HTd,JTd,LTd,MTd,OTd,UTd,WTd,VTd,ZTd,aUd,bUd,dUd,fUd,hUd,eUd,oUd,rUd,wUd,AUd,CUd,EUd,
FUd,DUd,TUd,RQ,SUd,VUd,IUd,KUd,JUd,LUd,MUd,NUd,OUd,PUd,QUd,RUd,RWd,aXd,UWd,$Wd,cXd,iXd,hXd,vXd,tXd,zXd,xXd,BXd,FXd,EXd,LXd,MXd,NXd,PXd,RXd,SXd,TXd,UXd,WXd,XXd,YXd,ZXd,bYd,eYd,dYd,fYd,gYd,hYd,iYd,jYd,kYd,mYd,nYd,oYd,pYd,qYd,sYd,AYd,BYd,CYd,DYd,HYd,IYd,JYd,KYd,OYd,PYd,QYd,RYd,SYd,TYd,UYd,VYd,WYd,XYd,YYd,ZYd,$Yd,aZd,bZd,cZd,hZd,iZd,jZd,lZd,mZd,nZd,pZd,qZd,rZd,sZd,tZd,vZd,xZd,wZd,AZd,zZd,CZd,DZd,YQ,HZd,FZd,IZd,VZd,WZd,XZd,OXd,$Zd,JSd,FYd,w_d,IWd,HWd,HUd,E_d,F_d,G_d,H_d,vQd,I_d,J_d,qTd,h0d,i0d,k0d,l0d,
m0d,n0d,o0d,q0d,r0d,kZd,s0d,t0d,X2d,Y2d,Z2d,$2d,a3d,b3d,c3d,d3d,GTd,e3d,f3d,NTd,KTd,g3d,h3d,i3d,j3d,k3d,l3d,m3d,n3d,o3d,p3d,q3d,r3d,s3d,t3d,u3d,v3d,z3d,A3d,B3d,C3d,D3d,E3d,F3d,G3d,H3d,I3d,ITd,V2d,a4d,$3d,b4d,ISd,c4d,d4d,e4d,f4d,g4d,h4d,i4d,j4d,ERd,l4d,u4d,v4d,w4d,x4d,y4d,z4d,O4d,P4d,yXd,Q4d,R4d,S4d,fR,T4d,U4d,V4d,W4d,eXd;
gQd=function(a){var b;return _.Li(function(c){switch(c.H){case 1:return a.nG?_.Di(c,_.eFd(a.he.promise),2):c.return("Not yet executed.");case 2:if(!c.O)return c.return("In progress.");_.Fi(c,3);return _.Di(c,a.he.promise,5);case 5:return c.return("Completed successfully.");case 3:return b=_.Ii(c),b instanceof _.lm?c.return("Canceled."):c.return("Completed with failure. See attachment.")}})};hQd=function(a){return{Title:a.getTitle(),Type:a.getMimeType(),Parents:a.FH(),Convert:a.A7(),ID:a.wl()}};
iQd=function(a){a=hQd(a);return Object.entries(a).filter(function(b){b=_.n(b);b.next();return b.next().value}).map(function(b){var c=_.n(b);b=c.next().value;c=c.next().value;return b+": "+c}).join("; ")};
jQd=function(a){var b,c,d;return _.Li(function(e){if(e.H==1){b=[];b.push(iQd(a.request));if(a.file){var f=b,g=f.push,k=a.file,l=[];l.push("Size: "+k.size);k.type&&l.push("Type: "+k.type);k.lastModified&&l.push("Last modified: "+k.lastModified);g.call(f,"File: "+l.join("; "))}a.GN&&b.push("# of retries by client: "+a.GN);c=b;d=c.push;return _.Di(e,gQd(a),2)}d.call(c,"State: "+e.O);return e.return(b.join("\n"))})};
kQd=function(a,b,c,d,e,f){var g,k,l,m,q,r,t,u,v,x,y,C,F,G,M,W,R,fa,aa,X;return _.Li(function(la){switch(la.H){case 1:g=_.xc(e),k=_.xc(f),l=_.ku("Drive Upload Report: %d/%d failed",k,g),m=_.cr(a),d.push("Batch query interval: "+_.Sj(m,12,10)+"ms"),d.push("Max resumable upload chunk size: "+_.Uj(m,32,1073741824)/1024/1024+" MiB"),d.push("Max batch upload file size: "+_.Uj(m,33,1048576)/1024/1024+" MiB"),d.push("Max files in an upload batch: "+_.Sj(m,35,10)+" files"),d.push("Max files in a non-upload batch: "+
_.Sj(m,10,50)+" files"),q=d.join("\n"),r=[],t=[],u=_.n(Object.values(e)),v=u.next();case 2:if(v.done){la.Rc(4);break}x=v.value;y=t;C=y.push;return _.Di(la,jQd(x),5);case 5:C.call(y,la.O);v=u.next();la.Rc(2);break;case 4:r.push({name:"AllUploadRequests.txt",content:t.join("\n---------\n")});r.push({name:"DataserviceLogs.txt",content:_.JKd(b)});F=_.n(Object.entries(f));for(G=F.next();!G.done;G=F.next()){M=G.value;W=_.n(M);R=W.next().value;fa=W.next().value;aa=R;X=fa;var Da=r,Ia=Da.push,Ta=e[aa].request;
Ta=_.ku('ErrorResponseFor"%s"(ID:%s).txt',Ta.getTitle()||"",Ta.wl()||"");var kb=X.yg;kb=kb?_.E(kb,4):"No detail.";Ia.call(Da,{name:Ta,content:X.toString()+"\n"+kb})}return la.return({title:l,description:q,dW:r,component:152391,HDa:c,wCa:361003})}})};mQd=function(){var a=lQd();return _.Rb(function(b){return(0,_.Csa)(b)?b.every(function(c){return a(c)}):!1})};nQd=function(a,b,c){b=_.Ja(a,b,c);b>=0&&_.wa(a,b)};
pQd=function(a){var b,c,d,e,f;return _.Li(function(g){if(g.H==1)return _.Di(g,fetch(_.Pc(a).toString(),void 0),2);b=g.O;f=(c=b.headers.get("Content-Type"))==null?void 0:(d=c.split(";",2))==null?void 0:(e=d[0])==null?void 0:e.toLowerCase();return g.return({html:function(){var k;return _.Li(function(l){if(l.H==1){if(f!=="text/html")throw new oQd(b.url,"SafeHtml","text/html");return _.Di(l,b.text(),2)}k=l.O;return l.return(_.gd(k))})},script:function(){var k;return _.Li(function(l){if(l.H==1){if(f!==
"text/javascript"&&f!=="application/javascript")throw new oQd(b.url,"SafeScript","text/javascript");return _.Di(l,b.text(),2)}k=l.O;return l.return(_.wga(k))})},styleSheet:function(){var k;return _.Li(function(l){if(l.H==1){if(f!=="text/css")throw new oQd(b.url,"SafeStyleSheet","text/css");return _.Di(l,b.text(),2)}k=l.O;return l.return(_.hta(k))})}})})};qQd=function(a){return new Worker(_.Pc(a),void 0)};
AQ=function(a,b,c){for(var d=0;d<b.length;d++){var e=a,f=b[d];if(c.MZ[f]!=null)c.clear(f).from(e);else{var g=_.Xf(e);switch(f){case 164:e=_.n(g);for(f=e.next();!f.done;f=e.next())_.nj(f.value,2);break;case 244:e=_.n(g);for(f=e.next();!f.done;f=e.next())_.nj(f.value,11);break;case 203:e=_.n(g);for(f=e.next();!f.done;f=e.next())_.nj(f.value,15);break;case 1002:_.nj(e,100);break;default:throw Error("Vb`"+f);}}}};
sQd=function(a,b,c){if(a.length!==0){for(var d=new Set([].concat(_.Eb(a),_.Eb(rQd))),e=[].concat(_.Eb(_.g0a.keys())).filter(function(l){return!d.has(l)}),f=_.n(a),g=f.next(),k={};!g.done;k={lbb:void 0},g=f.next())k.lbb=_.k0a.get(g.value),k.lbb&&(e=e.filter(function(l){return function(m){return!l.lbb.has(m)}}(k)));e=e.filter(function(l){return!(_.i0a.has(l)&&a.some(function(m){return _.j0a.has(m)}))});for(f=0;f<b.length;f++)AQ(b[f],e,c)}};
tQd=function(a,b,c){if(c.MZ[b]!=null)return c.has(b).Py(a);c=_.Xf(a);switch(b){case 164:return c.length>0&&c.some(function(d){return _.Hk(d,2)});case 244:return c.length>0&&c.some(function(d){return _.Hk(d,11)});case 203:return c.length>0&&c.some(function(d){return _.Hk(d,15)});case 1002:return _.oj(a,_.OHa,100);default:throw Error("Wb`"+b);}};uQd=function(a,b,c){return b.every(function(d){return tQd(a,d,c)})};
wQd=function(a,b,c,d){b=b.clone();c=_.n(c);for(var e=c.next();!e.done;e=c.next())if(e=e.value,tQd(b,e,d))if(d.MZ[e]!=null)d.tN([e]).from(b).Drc(a);else if(_.j0a.has(e)){var f=_.Xf(b);switch(e){case 164:case 244:case 203:if(f.length){for(;_.Xf(a).length<f.length;)_.QPd(a,new _.Tp);for(var g=0;g<Math.min(f.length,_.Xf(a).length);g++)if(e===164)_.Xf(a)[g].Bb(f[g].Pb());else if(e===244)_.tGd(_.Xf(a)[g],_.Zg(f[g],11));else if(e===203){var k=_.Xf(a)[g],l=_.Zg(f[g],15);_.L(k,15,l)}}}}else switch(e){case 1002:e=
vQd(b).clone();f=void 0;((f=vQd(a))==null?0:_.wh(f,3))&&_.J(e,3,!0);f=void 0;((f=vQd(a))==null?0:_.wh(f,4))&&_.J(e,4,!0);a.Uia(e);break;default:throw Error("Xb`"+e);}};xQd=function(a,b){return a.filter(function(c){return b.includes(c)})};yQd=function(a){return a?a.V()==="application/vnd.google-apps.shortcut":!1};BQ=function(a,b){b=b===void 0?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&(0,_.apa)(a)&&yQd(a)?(a=a.Bh(),!!a&&_.E(a,3)==="application/vnd.google-apps.folder"):c==="application/vnd.google-apps.folder"};
zQd=function(a){var b=a&&a.getId()||null;a&&yQd(a)&&(a=(a=a.Bh())&&_.E(a,1))&&(b=a);return b};AQd=function(a){return!!_.wh(a,31)&&!_.wh(a,94)};CQd=function(a,b){return BQd.some(function(c){return tQd(a,c,b)})};DQd=function(a){return a.filter(function(b){return!!b}).some(function(b){return[4,5,2].includes(_.Wf(b))})};EQd=function(a){return DQd(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};GQd=function(a){var b=_.gla(a,FQd);a=a.Zq();return _.Q(b,_.Zp,2,a)};
IQd=function(a){var b=_.gla(a,HQd);a=a.Zq();return _.Q(b,CQ,2,a)};KQd=function(a){var b=_.gla(a,JQd);a=a.Zq();return _.Q(b,DQ,2,a)};MQd=function(a){var b=_.gla(a,LQd);a=a.Zq();return _.Q(b,_.XN,2,a)};
OQd=function(a,b){for(var c={},d=_.n(Object.entries(a)),e=d.next();!e.done;e=d.next()){var f=_.n(e.value);e=f.next().value;if(f=f.next().value){var g=b[e];g?_.Rh(f,g)||(c[e]=new NQd(4,g)):c[e]=new NQd(2,f)}}b=_.n(Object.entries(b));for(d=b.next();!d.done;d=b.next())e=_.n(d.value),d=e.next().value,(e=e.next().value)&&(a[d]||(c[d]=new NQd(1,e)));return c};PQd=function(a,b){return _.xc(a)!==_.xc(b)||!_.Bc(OQd(a,b))};
QQd=function(a){return _.Ae(a,14)===24&&(a=_.Rj(a,15),a===503||a===500||a===504)?!0:!1};RQd=function(a){return a.key};SQd=function(){return _.Rb(function(a){return(0,_.xsa)(a)})};TQd=function(a,b){return _.Rb(function(c){return _.dc(EQ)(c)?a(c.value)&&b(c.key):!1})};lQd=function(){var a=_.fc(_.dc(_.w),_.zsa),b=SQd();return b===void 0?TQd(a,_.xsa):TQd(a,b)};UQd=function(a){return function(b){var c=_.n(b.CE());b=c.next().value;c=c.next().value;return a===void 0?[b,c]:[b,a(c)]}};
VQd=function(a){return function(b){var c=_.n(b);b=c.next().value;c=c.next().value;return a===void 0?FQ([b,c]):FQ([b,a(c)])}};WQd=function(a,b){return a.length===0?[]:[].concat(_.Eb(new Set(a))).map(function(c){return b.get(c)}).filter(function(c){return!!c})};
XQd=function(a,b){b=b===void 0?[]:b;b=new (Function.prototype.bind.apply(_.AO,[null].concat(_.Eb(WQd(b,_.xBd)),["id","team_drive_id","mime_type","partial","title","create_date_millis","primary_domain_name","organization_display_name","customer_id",new _.ce("team_drive_root_data","theme_color trusted theme_image_url hidden theme_image_grid_view_url theme_image_list_view_url".split(" ")),new _.ce("creator",["id","focus_user_id","email_from_account"]),new _.ce("restrictions",["copy_requires_writer_permission",
"domain_users_only","team_members_only","disallow_drive_file_stream"]),"permission_summary"])));var c;((c=_.br(a))==null?0:_.N(c,27,!1))&&b.H("quota_bytes_used_in_drive","individual_quota_bytes_total");var d;if((d=_.br(a))==null?0:_.N(d,64,!1))c=new _.ce("team_drive_root_data",[new _.ce("corpus_limits",[new _.ce("items_count_capacity_used_percentage_notification_threshold"),"items_count_capacity_used_percentage"])]),_.aw(b,c);c=new _.ce("capabilities","can_add_children can_add_folder_from_another_drive can_change_team_drive_background can_comment can_copy can_copy_non_authoritative can_delete can_download can_download_non_authoritative can_edit can_manage_members can_manage_visitors can_read_team_drive can_remove_children can_rename can_rename_team_drive can_share_outside_domain can_delete_children can_trash_children".split(" "));
_.N(a,77,!1)&&c.Db("can_change_category_links");_.aw(b,c);return b.yj()};
YQd=function(a,b,c){b=b===void 0?[]:b;c=c===void 0?!1:c;var d=_.bO("kind"),e=_.bO("id"),f=_.bO("name"),g=_.bO("color_rgb"),k=_.bO("background_image_link"),l=_.zP(a)?new _.ce(_.bO("creator"),[_.bO("kind"),_.bO("permission_id"),_.bO("id"),_.bO("email_address_from_account")]):new _.ce(_.bO("creator"));if(_.zP(a)||_.N(a,80,!1)){var m=new _.ce(_.bO("permissions_summary"),[_.bO("entry_count"),_.bO("user_entry_count"),_.bO("group_entry_count"),_.bO("member_count")]);var q=new _.ce(_.bO("select_permissions"),
[_.bO("kind"),_.bO("id"),_.bO("user_id"),_.bO("email_address"),_.bO("domain"),_.bO("role"),_.bO("type"),_.bO("additional_roles"),_.bO("view"),_.bO("audience_id"),_.bO("customer_id")]);_.N(a,80,!1)&&q.H(_.bO("name"),_.bO("photo_link"));m.Db(q)}else m=new _.ce(_.bO("permissions_summary"));d=new _.AO(d,e,f,g,k,l,m,_.bO("trusted"),_.bO("primary_domain_name"),_.bO("organization_display_name"),_.bO("restrictions"),_.bO("background_image_grid_view_link"),_.bO("background_image_list_view_link"),_.bO("hidden"),
_.bO("customer_id"));var r;if((r=_.br(a))==null?0:_.N(r,27,!1))r=new _.ce(_.bO("quota_info"),[_.bO("quota_bytes_used"),_.bO("individual_quota_bytes_total")]),_.aw(d,r);var t;if((t=_.br(a))==null?0:_.N(t,64,!1))t=new _.ce(_.bO("corpus_limits"),[_.bO("items_count_capacity_used_percentage"),new _.ce(_.bO("items_count_capacity_used_percentage_notification_threshold"))]),_.aw(d,t);d.H.apply(d,_.Eb(WQd(b,_.yBd)));b=d.H;t=new _.ce(_.bO("capabilities"));t.Db(_.bO("can_add_children"));c?t.Db(_.bO("can_change_drive_background")):
t.H(_.bO("can_add_folder_from_another_drive"),_.bO("can_change_team_drive_background"));t.H(_.bO("can_comment"),_.bO("can_copy"),_.bO("can_copy_non_authoritative"));c?t.Db(_.bO("can_delete_drive")):t.Db(_.bO("can_delete_team_drive"));t.H(_.bO("can_download"),_.bO("can_download_non_authoritative"),_.bO("can_edit"),_.bO("can_manage_members"));c?t.Db(_.bO("can_share")):t.H(_.bO("can_manage_visitors"),_.bO("can_remove_children"));t.Db(_.bO("can_rename"));c?t.Db(_.bO("can_rename_drive")):t.H(_.bO("can_rename_team_drive"),
_.bO("can_share_outside_domain"));t.H(_.bO("can_delete_children"),_.bO("can_trash_children"));_.N(a,77,!1)&&t.Db(_.bO("can_change_category_references"));b.call(d,t);return d.yj()};ZQd=function(a,b,c){b=b===void 0?[]:b;return(new (Function.prototype.bind.apply(_.AO,[null].concat(_.Eb(YQd(a,b,c===void 0?!1:c)))))).toString()};$Qd=function(a){return WQd(a,_.yBd).map(function(b){return b.toString()}).join(",")};
aRd=function(a){var b=new _.AO("kind","nextPageToken",new _.ce("items",_.pEd(a,!0).yj()),"incompleteSearch");a.rma&&b.H.apply(b,_.Eb(a.rma.split(",")));return b.toString()};bRd=function(a){var b=new _.ce("items",["deleted","fileId","id","kind",new _.ce("file",_.pEd(a,!0).yj())]);a.rma&&b.H("teamDriveId",new _.ce("teamDrive",a.rma.split(",")));return(new _.AO("kind","largestChangeId","nextPageToken",b)).toString()};cRd=function(a,b){var c=_.h0a[a];return b.filter(function(d){return!c||!c.has(d)})};
dRd=function(a,b,c){c=c===void 0?[]:c;var d=new Set(a.concat(c));return b.every(function(e){return d.has(e)})};eRd=function(a,b,c){a=cRd(c,a);return dRd(b,a,_.p0a)};fRd=function(a,b){var c=new Set(b.concat(_.p0a));return a.filter(function(d){return!c.has(d)})};gRd=function(a,b){if(b){var c=[];_.wh(b,3)&&c.push("folder");var d=_.oSa()&&b.getType()===4?"title_natural":_.zBd[b.getType()];b=_.BBd[_.ri(b,2,1)];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};
hRd=function(a){return a>=200&&a<300};
iRd=function(a){switch(a){case 3:case 12:case 204:case 273: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:case 266:case 255:case 277:case 271:return"GOOGLE_DRIVE";case 272:case 228:return"GOOGLE_GMAIL";case 236:return"GOOGLE_CHAT";default:return"UNSPECIFIED_APPLICATION"}};
jRd=function(a){var b=a.direction,c=a.driveId,d=a.limit;a=a.Kh;b=_.df((new _.ef).Eb(12),b);b=_.af(_.Qja((new _.cf).In(!0),!0),b);a&&_.Qh(b,a);c?(c=_.Ze(_.of(b,[c]),2),_.J(c,66,!0)):_.J(b,66,!1);c=new _.ICd;d&&_.JCd(c,d);return _.KCd(_.MCd(new _.sO,b),c)};
DRd=function(a){if(_.qj(a,kRd,1,GQ))return"CREATE";if(_.qj(a,lRd,2,GQ))return"EDIT";if(_.qj(a,mRd,3,GQ))return"MOVE";if(_.qj(a,nRd,4,GQ))return"RENAME";if(_.qj(a,oRd,5,GQ))return"DELETE";if(_.qj(a,pRd,6,GQ))return"RESTORE";if(_.qj(a,qRd,7,GQ))return"PERMISSION_CHANGE";if(_.qj(a,rRd,8,GQ))return"HAS_COMMENT";if(_.qj(a,sRd,9,GQ))return"DLP_CHANGE";if(_.qj(a,tRd,10,GQ))return"VIEW";if(_.qj(a,uRd,11,GQ))return"DOWNLOAD";if(_.qj(a,vRd,12,GQ))return"REFERENCE";if(_.qj(a,wRd,13,GQ))return"SETTINGS_CHANGE";
if(_.qj(a,xRd,18,GQ))return"APPROVAL_CHANGE";if(_.qj(a,yRd,15,GQ))return"LOCK";if(_.qj(a,zRd,16,GQ))return"UNLOCK";if(_.qj(a,ARd,19,GQ))return"APPLIED_LABEL_CHANGE";if(_.qj(a,BRd,20,GQ))return"PUBLISH_CHANGE";if(_.qj(a,CRd,21,GQ))return"LINK_SHARE_METADATA_CHANGE";throw Error("Kg`"+a);};
FRd=function(a){for(var b=0;b<a.length;b++){var c=a[b];c!==null&&(c instanceof _.w?a[b]=c.Fc():c instanceof HQ?a[b]=c.Fc(function(d){return d?d.Fc():null}):c instanceof ERd?a[b]=c.Fc():mQd()(c)&&(a[b]=c.map(UQd(function(d){var e;return(e=d==null?void 0:_.Xra(d))!=null?e:null}))))}};HRd=function(a){var b=a.slice(0),c=new Set(b);GRd.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
PRd=function(a,b,c){var d=_.K(a,IRd,66);if(d){var e=_.E(d,1),f=_.OP(a);a=_.JN(_.hO(a));e=new _.Rg(e);e.Ef().match(JRd);var g=new _.Rg(window.location);var k=g.V+"://"+g.O;g.W!=null&&(k+=":"+g.W);g=_.Ge(k,3);_.rd(e,"co",g);g=e.Ef();!f&&a>0&&(g+="u/"+a+"/");e.Wj(g+"_/dataservice/cacheproxy");f=(f=_.K(d,_.uq,8))&&(_.Ie(f)||_.jd(_.LBd));if(_.dDd(window.location.href,e.toString())&&f)return e=HRd(c),c=_.E(d,6),b="#"+b+"_",d=new _.tBd,d.update(e.join(",")),b+=_.iqa(d.digest()),c&&(b+="&jobset="+c),b=_.id(f+
"?"+b),"SharedWorker"in _.ca?(c=new SharedWorker(_.Pc(b),void 0),b=new KRd(c.port),c.port.start()):b=new KRd(qQd(b)),new LRd(new MRd(b,!0),1,String(f),e);c=e.toString();b="cpiframe_"+_.hl();c=_.Ul("IFRAME",{name:b,id:b,src:c});d=_.cha(_.MBd);c.style.cssText=_.bta(d);document.body.appendChild(c);c=_.xua(e.V,void 0,e.O,e.W).toString();b=window.document.getElementById(b);return new LRd(new MRd(NRd(b.contentWindow,c),!0),0,e.toString())}e=new ORd;return new LRd(new MRd(e.O,!1),2,"inline",c,new MRd(e.H,
!1))};
_.RRd=function(a){var b=new QRd;if(a instanceof _.BO)_.Lj(b,16,IQ,a);else if(a instanceof _.CO)_.Lj(b,1,IQ,a);else if(a instanceof _.DO)_.Lj(b,2,IQ,a);else if(a instanceof JQ)_.Lj(b,17,IQ,a);else if(a instanceof _.WN)_.Lj(b,3,IQ,a);else if(a instanceof _.XP)_.Lj(b,4,IQ,a);else if(a instanceof _.EO)_.Lj(b,5,IQ,a);else if(a instanceof _.KO)_.Lj(b,6,IQ,a);else if(a instanceof _.MO)_.Lj(b,7,IQ,a);else if(a instanceof _.NO)_.Lj(b,8,IQ,a);else if(a instanceof _.PO)_.Lj(b,9,IQ,a);else if(a instanceof _.ZO)_.Lj(b,
18,IQ,a);else if(a instanceof _.gP)_.Lj(b,10,IQ,a);else if(a instanceof _.hP)_.Lj(b,11,IQ,a);else if(a instanceof _.SP)_.Lj(b,19,IQ,a);else if(a instanceof _.zEd)_.Lj(b,12,IQ,a);else if(a instanceof _.eO)_.Lj(b,13,IQ,a);else if(a instanceof _.kP)_.Lj(b,14,IQ,a);else if(a instanceof _.lP)_.Lj(b,15,IQ,a);else throw new _.wf("Unsupported request type");return b};
_.URd=function(a){a=a.map(function(c){var d=new SRd;if(c instanceof _.BO)_.Lj(d,6,KQ,c);else if(c instanceof JQ)_.Lj(d,7,KQ,c);else if(c instanceof _.KO)_.Lj(d,1,KQ,c);else if(c instanceof _.gP)_.Lj(d,2,KQ,c);else if(c instanceof _.hP)_.Lj(d,3,KQ,c);else if(c instanceof _.SP)_.Lj(d,8,KQ,c);else if(c instanceof _.eO)_.Lj(d,4,KQ,c);else if(c instanceof _.lP)_.Lj(d,5,KQ,c);else throw new _.wf("Unsupported request type");return d});var b=new TRd;_.Mj(b,1,a);return b};
VRd=function(a){return _.Kj(a,SRd,1,_.Ff()).map(function(b){return _.kk(b,_.BO,6,KQ)||_.kk(b,_.KO,1,KQ)||_.kk(b,_.gP,2,KQ)||_.kk(b,_.hP,3,KQ)||_.kk(b,_.SP,8,KQ)||_.kk(b,_.eO,4,KQ)||_.kk(b,_.lP,5,KQ)||_.kk(b,JQ,7,KQ)})};YRd=function(a){var b=new WRd;if(a instanceof _.oF)_.Lj(b,1,XRd,a);else if(a instanceof _.pF)_.Lj(b,2,XRd,a);else throw new _.wf("Unsupported request type");return b};
aSd=function(a){var b=new ZRd;if(a instanceof _.GO)_.Lj(b,1,$Rd,a);else if(a instanceof _.OO)_.Lj(b,2,$Rd,a);else if(a instanceof _.mP)_.Lj(b,3,$Rd,a);else throw new _.wf("Unsupported request type");return b};_.LQ=function(a,b,c){return b?_.bc(c,a):a};bSd=function(a,b){var c=_.ECd(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};cSd=function(a){return new Promise(function(b,c){a.then(b,c)})};
dSd=function(a){var b=b===void 0?Error("Pg"):b;var c=new Promise(function(d,e){_.ca.setTimeout(function(){e(b)},5E3)});return Promise.race([a,c])};eSd=function(a){return _.Rb(function(b){return _.dc(MQ)(b)&&a(b.response)})};fSd=function(a){var b=a.getCapabilities();if(b)return b;b=new _.vq;_.KP(a,b);return b};_.gSd=function(a,b){a=_.$Pd((b===0?1:a/b)*100);return a===0?1:a};hSd=function(a){return Object.entries(a).map(function(b){var c=_.n(b);b=c.next().value;c=c.next().value;return FQ([b,c])})};
iSd=function(a,b,c){return function(d){return{value:d,oe:a,Sr:b,Zga:c}}};jSd=function(a){var b,c,d;return _.qcc(jSd,function(e){e.H==1&&(b=_.n(a.entries()),c=b.next());if(e.H!=3){if(c.done)return e.Rc(0);d=c.value;return _.Di(e,FQ(d),3)}c=b.next();return e.Rc(2)})};kSd=function(a){return function(b){return FQ([b.key,a(b.value)])}};lSd=function(a,b){return b>=0?!a||a<=b:!0};mSd=function(){return!0};nSd=function(a,b){return a.value!==b.value};oSd=function(a){return a===3||a===7};
pSd=function(a){var b=a.value;a=a.status;return{value:a===1?b:null,status:a,oe:1,Sr:1,eq:!1}};qSd=function(a){return a};sSd=function(a){var b=Math.floor(_.Wj(a,1)*255),c=Math.floor(_.Wj(a,2)*255),d=Math.floor(_.Wj(a,3)*255);if(b>255||c>255||d>255||b<0||c<0||d<0)throw Error("ch");if(_.oj(a,rSd,4))throw Error("dh");return b<<16|c<<8|d};tSd=function(a){if(!_.oj(a,_.Fr,1)||!_.oj(a,_.Fr,2))throw Error("eh");var b=new _.NGd;var c=sSd(a.H());b=_.Tg(b,1,c);a=sSd(a.O());return _.Tg(b,2,a)};
vSd=function(a,b){return uSd(a,b)};wSd=function(a){return a.map(function(b){return b.getItem()})};xSd=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};ySd=function(a){var b=new Set;a=_.n(a.xI());for(var c=a.next();!c.done;c=a.next())c=c.value,c.Sw()&&c.getItem().getId()&&b.add(c.getItem().getId());return[].concat(_.Eb(b))};
zSd=function(a,b,c,d,e,f,g,k){return NQ(a,b,8,void 0,g,k).then(function(l){var m=!1;if(l[0]&&(l=l[0],(m=c.get().set(l.ee(),l.getResponse(),f))&&l.Gd().length)){l=l.Gd(_.wg);for(var q=_.n(l),r=q.next();!r.done;r=q.next())_.dO(r.value,e);d.Dq(l,1)}return m},function(){return!1})};
ASd=function(a){var b=(new _.Mr).Tb(6);var c=Date.now();b=_.Tg(b,3,c);_.Ek(a,1)&&(c=a.n7(),_.J(b,4,c));if(a.m7()===0)b.Tb(1);else if(a.m7()>0)for(b.H8a(a.xI()),a=_.n(b.xI()),c=a.next();!c.done;c=a.next())(c=c.value.getItem())&&c.KF(4);return b};BSd=function(a){var b=new Set;a=_.n([].concat(_.Eb(a.WE()),_.Eb(a.YE())));for(var c=a.next();!c.done;c=a.next())c=c.value,c.Sw()&&c.getItem().getId()&&b.add(c.getItem().getId());return[].concat(_.Eb(b))};
CSd=function(a,b,c,d,e,f,g,k,l){return NQ(a,b,c,void 0,k,l).then(function(m){var q=!1;if(m[0]&&(m=m[0],(q=d.get().set(m.ee(),m.getResponse(),g))&&m.Gd().length)){m=m.Gd(_.wg);for(var r=_.n(m),t=r.next();!t.done;t=r.next())_.dO(t.value,f);e.Dq(m,1)}return q},function(){return!1})};
GSd=function(a,b,c){for(var d=Date.now(),e=DSd(d).Mva(b.WE()).Nva(b.YE()),f=_.n([].concat(_.Eb(e.WE().map(function(k){return k.getItem()})),_.Eb(e.YE().map(function(k){return k.getItem()})))),g=f.next();!g.done;g=f.next())if(g=g.value)ESd(c,g,new Set(_.vPd(a))),g.KF(4);_.oj(b,_.Ns,7)&&(a=FSd(d,_.K(b,_.Ns,7)))&&_.Q(e,_.Np,14,a);_.oj(b,_.Ns,8)&&(b=FSd(d,_.K(b,_.Ns,8)))&&_.Q(e,_.Np,15,b);return e};FSd=function(a,b){var c;return(b=(c=_.Uj(b,1))!=null?c:0)?_.$Ga(new Date(a+b*1E3)):null};
HSd=function(a){_.Ti("drive.DebugUtil.clearCache",function(){a.Zma()});_.Ti("drive.DebugUtil.printFindById",function(c){a.IW(c).then(function(d){window.console.log(JSON.stringify(d))})});_.Ti("drive.DebugUtil.getLogs",function(){return _.JKd(a.gX())});_.Ti("drive.DebugUtil.printLogs",function(){window.console.log(_.JKd(a.gX()))});_.Ti("drive.DebugUtil.printRequestHistory",function(){a.a1().then(function(c){c.forEach(function(d){window.console.log(_.E(d,1));window.console.log(_.E(d,2))})})});_.Ti("drive.DebugUtil.getState",
function(){return a.getState()});var b=a.Na();b&&b.XW()&&(_.Ti("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Ti("drive.DebugUtil.setOffline",function(c){return void a.Hn(c)}))};
KSd=function(a,b){if(_.OP(b))return Promise.resolve();var c=[a.Gya.promise];_.LP(b)||c.push(a.L2.promise);return Promise.all(c).then(function(){for(var d=[],e=_.n(_.Kj(b,_.cf,44,_.Ff())),f=e.next();!f.done;f=e.next())f=f.value,d.push(a.Tg().A_(f));if(e=_.K(b,_.RAd,98))for(e=_.Kj(e,_.PAd,1,_.Ff()).filter(function(l){return _.LP(b)?!0:!_.wh(l,1)}),e=_.n(e),f=e.next();!f.done;f=e.next()){var g=f.value;if(_.qj(g,_.KN,3,_.PN))d.push(a.DR.get().sync(_.kk(g,_.KN,3,_.PN),_.Yg(g,2)));else if(_.qj(g,_.cf,4,
_.PN))if(f=_.QAd(g),(f=ISd(a.Iq,f))&&(0,_.SO)(f)){g=_.Nj(g,2);var k=void 0;if(g&&((k=JSd(f))==null?void 0:_.ak(k,3,3,void 0,!0).length)===1)switch(_.ak(JSd(f),3,_.Ff())[0]){case 2:d.push(a.PZ.get().sync(f,g));break;case 1:d.push(a.OZ.get().sync(f,g));break;default:d.push(Promise.reject(new _.wf("Unsupported homepage suggestions query",new _.Gr)))}}else d.push(a.Tg().A_(_.QAd(g)));else _.qj(g,_.bq,5,_.PN)?d.push(a.ZT.get().sync(_.kk(g,_.bq,5,_.PN),_.Yg(g,2))):_.qj(g,_.RN,6,_.PN)?d.push(a.QZ.get().sync(_.kk(g,
_.RN,6,_.PN),_.Yg(g,2))):d.push(Promise.reject(new _.wf("Unsupported cached query",new _.Gr)))}return Promise.all(d).then(function(){})})};LSd=function(a){a={t:a.title,d:a.description,c:a.component,fi:a.HDa,dti:a.wCa,a:a.dW?a.dW.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.iDa})}):void 0};return JSON.stringify(a)};NSd=function(a){if(BQ(a))_.pQ(MSd(a,!0),!0);else if(BQ(a,!0)){var b=a.Bh();if(b=b&&_.he(b))_.pQ(MSd(b,!0),!0),_.pQ(MSd(a,!0),!0)}};
MSd=function(a,b){var c=a.W();c||(c=new _.xq,b&&_.Q(a,_.xq,81,c));return c};OSd=function(a){return!!a.W()&&!BQ(a)};PSd=function(a){var b=[];_.Na(a,function(c){_.Wf(c)!==3&&(_.oj(c,_.xq,81)&&(c=c.clone(),_.nj(c,81)),b.push(c))});return b};QSd=function(a,b,c,d,e,f){return NQ(a,b,7,void 0,e,f).then(function(g){var k=!1;g[0]&&(g=g[0],k=c.get().H.set(g.ee(),g.getResponse(),d));return k},function(){return!1})};
$Sd=function(a,b,c,d,e,f,g,k,l){var m=new RSd,q=void 0;b&&(q=new SSd(c));c=new TSd(e,m,q);USd(c,"Ua");var r;((r=_.br(a))==null?0:_.MN(r))&&f.listen(c,"Ua",function(v){v.mf()!==1&&v.mf()!==6&&v.mf()!==2||g.update(7);v=v.getResponse().jf();var x,y=v==null?void 0:(x=v.getMetadata())==null?void 0:_.E(x,2);y&&k(y);var C;l&&(v==null?0:(C=v.oh())==null?0:_.E(C,11))&&VSd(l,v)});f=new WSd(_.Uj(_.cr(a),68,72E5),m,XSd(c));var t=new YSd(d,c,f);if(q){a=OQ(_.PQ(a));var u=a[0]&&a[0].getKey()||"";ZSd(q,function(){return QSd(b,
u,new _.eQ(function(){return t}),3)})}return t};cTd=function(a){var b=a.command;a=a.payload;if(b==="encrypt"){b=a.dumps;var c=[];a=new aTd(a.key);for(var d=0;d<b.length;d++)c.push(a.encrypt(b[d]));a=c}else if(b==="decrypt"){b=a.dumps;c=[];a=new aTd(a.key);for(d=0;d<b.length;d++)c.push(bTd(a,b[d]));a=c}else throw Error("ii`"+b);return a};
gTd=function(a,b){b.Kf("sync.api.Dump").info("Requesting dump stats.");b=_.yN(_.Ue(_.Ve(new _.Se,305),!1),2);var c=_.dTd(_.eTd(new _.KN,b),["account.storage_settings.corpus_size"]);return a.then(function(d){return d.Nh(c).then(function(e){var f,g;e=(f=e.jf())==null?void 0:(g=_.K(f,_.YGa,10))==null?void 0:_.Yg(g,2);e!==void 0?(f=new fTd,f=_.Ug(f,3,e)):f=null;return f},function(){return null})})};
kTd=function(a,b,c,d,e,f,g,k,l){var m=void 0;b&&(m=new SSd(c));var q=new hTd(e,f.xn,m,_.N(_.br(a),62,!1));USd(q,"Za");g.listen(q,"Za",function(t){iTd(t,k,f)});if(m){c=OQ(_.PQ(a));var r=c[0]&&c[0].getKey()||"";ZSd(m,function(){return zSd(b,r,new _.eQ(function(){return q}),f,4,3)})}return new jTd(d,q,f.Qba,l,_.N(_.br(a),62,!1))};
rTd=function(a,b){b=b.clone();for(var c=_.n([].concat(_.Eb(b.WE()),_.Eb(b.YE()))),d=c.next();!d.done;d=c.next()){var e=d.value;if(d=e.getItem()){d.MN(e.wI());fSd(d);if(e=_.K(e,lTd,8)){var f=new Set(_.vPd(a));_.qj(e,mTd,1,nTd)?f.has(14)&&!_.Xf(d).length&&(f=e.oh(),e=_.PPd(_.tGd((new _.Tp).Eb(1).Bb(f.Ot()),_.z(f,2)),2),_.K(f,oTd,3)&&(f=_.K(f,oTd,3),_.sGd(_.rGd(e.Qk(f.Lg()),_.N(f,2)),f.getEmail()).jd(f.we())),_.Tq(d,[e])):_.qj(e,pTd,2,nTd)?f.has(90)&&!_.Ek(d.getCapabilities(),16)&&_.JGd(d.getCapabilities(),
!0):_.qj(e,qTd,3,nTd)&&f.has(95)&&!_.Hk(d,93)&&_.CHd(d,_.kk(e,qTd,3,nTd).we())}_.Ek(d,22)||_.jIa(d,!1);_.Hk(d,72)||_.Wq(d,"");_.Ek(d,98)||_.J(d,98,!1)}}return b};
tTd=function(a,b){var c=(new _.Cr).Vj(b.oe);if(b.response){var d=[],e=_.rJd(_.lf(a)),f=e?b.response.YE():b.response.WE(),g="";f=_.n(f);for(var k=f.next();!k.done;k=f.next()){k=k.value;var l=k.getItem();if(l&&e===BQ(l)){var m=void 0,q=l.clone().MN(k.wI().map(function(t){return t==null?void 0:t.clone()})).Uia((m=_.K(k,_.OHa,3))==null?void 0:m.clone());fSd(q);var r=_.K(k,lTd,8);r&&(m=new Set(a.O()),_.qj(r,mTd,1,nTd)?m.has(14)&&!_.Xf(q).length&&(r=r.oh(),m=_.PPd(_.tGd((new _.Tp).Eb(1).Bb(r.Ot()),_.z(r,
2)),2),_.K(r,oTd,3)&&(r=_.K(r,oTd,3),_.sGd(_.rGd(m.Qk(r.Lg()),_.N(r,2)),r.getEmail()).jd(r.we())),_.Tq(q,[m])):_.qj(r,pTd,2,nTd)?(r=void 0,!m.has(90)||(r=q.getCapabilities())!=null&&_.Ek(r,16)||(m=q.getCapabilities()||new _.vq,_.JGd(m,!0),_.KP(q,m))):_.qj(r,qTd,3,nTd)&&m.has(95)&&!_.Hk(q,93)&&_.CHd(q,_.kk(r,qTd,3,nTd).we()));_.Ek(l,22)||_.jIa(q,!1);_.Hk(l,72)||_.Wq(q,"");_.Ek(l,98)||_.J(q,98,!1);d.push(q);(k=k.En())&&(g||(g=k))}}_.Jk(b.response,1);sTd(_.wO(c.Tb(b.response.getStatus()),d),g)}return c};
xTd=function(a,b,c,d,e,f,g,k,l){var m=void 0;b&&(m=new SSd(c));var q=new uTd(e,f.xn,m);USd(q,"$a");g.listen(q,"$a",function(t){vTd(t,k,f,l)});if(m){a=OQ(_.PQ(a));var r=a[0]&&_.Zg(a[0],2)||"";ZSd(m,function(){return CSd(b,r,12,new _.eQ(function(){return q}),f,4,3)})}return new wTd(d,q,l)};
BTd=function(a,b,c,d,e,f,g,k,l,m,q){var r=void 0;d&&(r=new SSd(e));var t=new uTd(g,k.xn,r);if(e=yTd.get(a))USd(t,e),l.listen(t,e,function(v){zTd(v,a,m,k,q)});if(r){c=OQ(_.PQ(c));var u=c[0]&&c[0].getKey()||"";ZSd(r,function(){return CSd(d,u,a,new _.eQ(function(){return t}),k,4,3)})}return new ATd(b,f,t,q)};CTd=function(a){var b;return(((b=a.value)==null?void 0:b.size)||0)>0};
DTd=function(a,b){var c=RegExp("[\\\\\u05be\uff0d ./,_+\\-&#><^()]"),d=RegExp("(\\p{Ll})(?=\\p{Lu})|(\\p{Ll}|\\p{Lu})(?=\\p{Nd})|(\\p{Nd})(?=\\p{Ll}|\\p{Lu})","u");if(a.length>b){var e=[].concat(_.Eb(a));e.length>b&&(a=e.slice(0,b).join(""))}b=new Set;a=_.n(a.split(c)||[]);for(c=a.next();!c.done;c=a.next()){c=c.value;e=[];for(var f=c.match(d);f;){f=f.index;if(f===void 0||f===null)break;e.push(c.substring(0,f+1));c=c.substring(f+1);f=c.match(d)}e.push(c);e=_.n(e);for(f=e.next();!f.done;f=e.next())b.add(f.value.toLowerCase());
b.add(c.toLowerCase())}return b};ETd=function(a,b){b=[].concat(_.Eb(DTd(b,1024))).filter(function(d){return(0,_.Yi)(d).length>0});if(!b.length)return!1;b=_.n(b);for(var c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;return!0};FTd=function(a,b){var c=new _.Rg(_.z(b,16,"")+"/open"),d=_.ve(a);yQd(a)&&(d=zQd(a));_.rd(c,"id",d);_.Hk(_.hO(b),7)||_.rd(c,"authuser",_.JN(_.hO(b)));_.Hk(a,140)&&_.rd(c,"resourcekey",_.E(a,140));return c.toString()};
HTd=function(a){var b;return{Jx:((b=_.br(a))==null?0:_.N(b,75,!1))?1:0,EU:GTd,clone:function(c){return c.clone()},gU:"[DRIVES.CREATE]",KG:{requestType:25}}};JTd=function(a){var b,c;return{Jx:(c=(b=_.br(a))==null?void 0:_.ri(b,61,0))!=null?c:0,clone:function(d){return d.clone()},EU:function(d){return(0,_.DId)(d)||ITd(d)},gU:"[DRIVES.GET]",JX:1,KG:{requestType:10,zl:function(d){return(0,_.DId)(d)?d.Lh().length:1}}}};
LTd=function(a){var b,c;return{Jx:(c=(b=_.br(a))==null?void 0:_.ri(b,68,0))!=null?c:0,clone:function(d){return d.clone()},EU:KTd,gU:"[DRIVES.LIST]",JX:1,KG:{requestType:2,zl:function(d){var e,f;return(f=(e=d.ee())==null?void 0:e.Qj())!=null?f:0}}}};MTd=function(a){return Promise.all([a.kYa,a.DWa]).then(function(b){var c=_.n(b);b=c.next().value;c=c.next().value;return{kYa:b,DWa:c}})};
OTd=function(a){var b,c;return{Jx:(c=(b=_.br(a))==null?void 0:_.ri(b,60,0))!=null?c:0,clone:function(d){return d.clone()},EU:function(d){if(!NTd(d))return!1;d=d.ee();return!_.tP(d)},gU:"[ITEMS.LIST]",KG:{requestType:1,JX:1,zl:function(d){return d.ee().Qj()}}}};UTd=function(a,b,c){a=OTd(a);var d=a.Jx;c=new PTd(a.KG,d,c);var e=d===2?new QTd:void 0;return new RTd({Jx:d,EU:a.EU,gU:a.gU},new STd(d,a.clone,a.JX===void 0?1:a.JX,c,e),new TTd(c,e),b)};
WTd=function(a,b,c,d){b=new _.fNd(b);a=_.n(VTd(a,c,d));for(c=a.next();!c.done;c=a.next())b.H.push(c.value);return b};VTd=function(a,b,c){function d(l){l=l(a);l.Jx!==0&&e.push(f.create(l))}var e=[],f=new XTd(b,c);d(HTd);d(JTd);d(LTd);var g,k;((k=(g=_.br(a))==null?void 0:_.ri(g,60,0))!=null?k:0)!==0&&(b=UTd(a,b,c),e.push(b));return e};
ZTd=function(a,b){var c=YTd(a.xn,b.kd());if(c){var d=c.getItem(),e=d.ma();if(e){var f=_.Kj(e,_.Tp,2,_.Ff()).slice(),g=_.ya(f,function(k){return k.getId()===_.E(b,2)});_.dHd(e,f);g||(f=_.gIa(e).slice(),_.ya(f,function(k){return k.getId()===_.E(b,2)}),_.eHd(e,f));_.cHd(e,(_.Rj(e,1)||1)-1);a.Dq([d],c.Sr)}}};
aUd=function(a,b,c){if(b=YTd(a.xn,b.kd())){var d=b.getItem(),e=d.ma();if(e){if(c.getType()===1||c.getType()===2){var f=_.gIa(e,_.wg);f.push(c);_.Ka(f,$Td);_.eHd(e,f)}else f=_.Kj(e,_.Tp,2,_.Ff(_.wg)),f.push(c),_.Ka(f,$Td),_.dHd(e,f);_.cHd(e,(_.Rj(e,1)||0)+1);a.Dq([d],b.Sr)}}};bUd=function(a){a=Number(a);return isNaN(a)?void 0:a};dUd=function(a){return a.map(function(b){var c=new _.aHa;var d=b.serviceName?cUd.get(b.serviceName):void 0;c=_.I(c,3,d);return _.Tg(c,2,Number(b.bytesUsed))})};
fUd=function(a){return(a.items||[]).map(function(b){return eUd(b)})};hUd=function(a,b){var c=new gUd;b=_.L(c,4,b);a&&(a=eUd(a),_.Q(b,_.QQ,2,a));return b};
eUd=function(a){var b=(new _.QQ).Bb(a.id);b=_.J(b,3,a.useByDefault).jd(a.name);b=_.L(b,7,a.openUrlTemplate);b=iUd(jUd(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.L(b,8,a.createUrl);b=_.L(b,9,a.createInFolderTemplate);b=_.L(b,10,a.objectType);b=_.J(b,11,a.supportsCreate);b=_.J(b,12,a.supportsImport);b=_.J(b,13,a.supportsMultiOpen);b=_.J(b,27,a.supportsOfflineCreate);b=_.J(b,14,a.installed);b=_.J(b,15,a.authorized);b=_.L(b,16,a.productUrl);b=_.yk(b,17,a.primaryFileExtensions);b=_.yk(b,18,a.secondaryFileExtensions);
b=_.L(b,19,a.shortDescription);b=_.L(b,20,a.longDescription);b=_.L(b,21,a.productId);b=_.J(b,22,a.removable).Eb(kUd.get(a.type));b=_.J(b,25,a.hasAppData);b=_.J(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.J(b,30,a.hasDriveWideScope);b=_.J(b,31,a.driveSource);b=_.J(b,32,a.driveBranded);b=_.J(b,33,a.hidden);b=_.J(b,34,a.supportsMobileBrowser);b=_.J(b,35,a.supportsTeamDrives);b=_.J(b,36,a.hasGsmListing);var c=Number(a.appDataQuotaBytesUsed);Number.isNaN(c)||_.Tg(b,26,c);c=a.icons||[];for(var d=[],
e=0;e<c.length;e++){var f=d,g=f.push,k=c[e],l=new _.lUd;l=_.L(l,3,k.iconUrl).setSize(k.size);if(k.category){var m=l;k=mUd.get(k.category);_.I(m,1,k)}g.call(f,l)}_.Mj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.yk(b,24,d);c=a.rankingInfo||{};a=new _.nUd;d=c.absoluteScore;d!=null&&_.Ug(a,1,Number(d));d=oUd(c.mimeTypeScores||[]);_.Mj(a,2,d);c=oUd(c.fileExtensionScores||[]);_.Mj(a,3,c);_.Q(b,_.nUd,29,a);return b};
oUd=function(a){return a.map(function(b){var c=b.type;b=b.score;c=(new _.pUd).Eb(c);return _.Ug(c,2,Number(b))})};
rUd=function(a){var b=new _.rPd;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.Zp).Bb(c.id).setTitle(c.title);var e=_.kQ(c.updateTime);d=_.Tg(d,3,e);e=qUd.get(c.backupSource);d=_.I(d,4,e);d=_.L(d,5,c.iconUri);e=_.kQ(c.expiryTime);d=_.Tg(d,8,e);d=_.J(d,9,typeof c.hasGoogleoneBackup==="boolean"?c.hasGoogleoneBackup:!1);if(_.$p(d)===1)e=new _.hHa,e=_.J(e,1,c.whatsappOngoingBackupEnabled),c=_.L(e,2,c.whatsappPhoneNumber),_.Q(d,_.hHa,6,c);else if(_.$p(d)===2){e=Number(c.deviceAndroidId);
var f=new _.oPd;f=_.L(f,1,c.deviceName);f=_.L(f,2,c.deviceModelName);c=_.J(f,3,c.shouldIncludeSpecialSyncItems);c=_.Tg(c,4,isNaN(e)?void 0:e);_.Q(d,_.oPd,7,c)}return d});_.Mj(b,2,a);return b};
wUd=function(a){var b=new sUd;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.tUd).Bb(c.id).Eb(uUd.get(c.type)).setTitle(c.title);d=_.L(d,4,c.iconUri);d=_.vUd(d.setSize(c.size?Number(c.size):void 0),_.kQ(c.updateTime));d=_.J(d,7,c.hasCustomBehavior).Kj(c.description);return _.J(d,9,c.ongoingSyncEnabled)});_.Mj(b,1,a);return b};
AUd=function(a){var b=a.exportJob,c=b.status;c=c?xUd.get(c)||0:0;var d=Number(a.percentDone),e=b.items?b.items.length:0;a=a.numFetchedFiles||0;var f=0,g=0,k=(b.archives||[]).map(function(l){f+=Number(l.sizeOfContents)||0;g+=Number(l.compressedSize)||0;return l.storagePath});b=(b.failedItemInfos||[]).map(function(l){var m=_.Rq((new _.Oq).Bb(l.docId).setTitle(l.title),l.mediaType);m=(new _.yUd).setItem(m);m=_.L(m,3,l.relativePath);return _.L(m,4,l.cause)});return new zUd(c,d,k,f,g,e,a,b)};
CUd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=(new _.Oq).Bb(d);if(c){_.Rq(d.setTitle(c.title),c.mimeType);c.userCapabilities&&_.KP(d,_.rNd(c.userCapabilities));b=b.nV.BF.H;c.parentId&&b.has(1)&&_.JP(d,[c.parentId]);if(c.owner){if(c.owner.user&&b.has(14)){var e=_.tGd((new _.Tp).Eb(1).Bb(c.owner.user.userId),c.owner.user.focusUserId);c.owner.user.userDetails&&_.sGd(_.rGd(e.Qk(c.owner.user.userDetails.photoUrl),c.owner.user.userDetails.isMe),c.owner.user.userDetails.email).jd(c.owner.user.userDetails.displayName);
_.Tq(d,[e])}if(c.owner.drive&&b.has(90)){var f;e=(f=d.getCapabilities())!=null?f:new _.vq;_.KP(d,_.JGd(e,!0))}c.owner.customer&&b.has(95)&&_.CHd(d,c.owner.customer.displayName)}if(c.actionItem&&b.has(74))for(f=_.n(c.actionItem),e=f.next();!e.done;e=f.next()){e=e.value;var g=(new _.Yp).Bb(e.id);e.type&&g.Eb(BUd.get(e.type));_.nf(d,83,_.Yp,g)}c.abuseIsAppealable!==void 0&&b.has(227)&&_.RHd(d,c.abuseIsAppealable);c.contentLockReadOnly!==void 0&&b.has(136)&&_.KHd(d,[(new _.wq).WN(c.contentLockReadOnly)]);
c.hasVisitorPermissions!==void 0&&b.has(100)&&_.J(d,98,c.hasVisitorPermissions);c.inSpamView!==void 0&&b.has(234)&&(f=new _.yq,f=_.J(f,4,c.inSpamView),_.UHd(d,f));c.starred!==void 0&&b.has(4)&&d.ys(c.starred);c.teamDriveId&&b.has(83)&&_.Wq(d,c.teamDriveId);c.visibility&&c.visibility.shared!==void 0&&b.has(24)&&_.jIa(d,c.visibility.shared);c.lastModified&&b.has(10)&&_.Pac(d,_.kQ(c.lastModified));c.sharedWithMe&&b.has(25)&&_.lHd(d,_.kQ(c.sharedWithMe));c.thumbnailData&&b.has(19)&&_.rHd(d,!0);ESd(a,
d,b)}d.KF(4);return d};EUd=function(a,b,c,d){for(var e=[],f=_.n(d.item||[]),g=f.next();!g.done;g=f.next())if(g=g.value,g.driveItem){var k=new _.OHa,l=((g.justification||{}).unstructuredJustificationDescription||{}).textSegment||[];k=_.L(k,2,l.length>0?(l[0]||{}).text||"":"");_.N(a,74,!1)?_.J(k,4,!0):_.J(k,3,!0);g=CUd(b,c,g).Uia(k).MN(DUd(g));e.push(g)}a=sTd(_.wO(new _.Cr,e),d.suggestionSessionId);a=_.TJd(new _.YP,a);b=Date.now();return _.Tg(a,4,b)};
FUd=function(a){return _.sGd(_.tGd((new _.Tp).Bb(a.id),a.id).jd(a.displayName),a.emailAddress).Qk(a.photoUrl)};
DUd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.Lq,e=IUd(c);e&&_.Lj(d,2,_.Mq,e);(e=JUd(c))&&HUd(d,e);(e=KUd(c))&&_.Lj(d,4,_.Mq,e);(e=LUd(c))&&_.Lj(d,5,_.Mq,e);(e=MUd(c))&&_.Lj(d,6,_.Mq,e);(e=NUd(c))&&_.Lj(d,7,_.Mq,e);(e=OUd(c))&&_.Lj(d,8,_.Mq,e);(e=PUd(c))&&_.Lj(d,9,_.Mq,e);(e=QUd(c))&&_.Lj(d,10,_.Mq,e);(c=RUd(c))&&_.Lj(d,11,_.Mq,c);return d}):(b=new _.Kq,(a=RQ(a))&&GUd(b,[a]),[HUd(new _.Lq,b)])};TUd=function(a){return(a.justification||[]).map(function(b){return SUd(b)})};
RQ=function(a){return(a=a.justification)?SUd(a):null};
SUd=function(a){var b=new _.Gq;a.displayText&&UUd(b,VUd(a.displayText));var c=a.primaryPerson,d=a.allPeople;c?(c=FUd(c),_.Lj(b,3,_.Hq,c),WUd(b,[c])):d?(c=(d.person||[]).map(function(e){return FUd(e)}),d=XUd(c),_.Lj(b,4,_.Hq,d),WUd(b,c)):(c=(a.person||[]).map(function(e){return FUd(e)}),c.length&&(d=XUd(c),_.Lj(b,4,_.Hq,d),WUd(b,c)));YUd(b,_.kQ(a.eventTime));a.justificationDescription&&ZUd(b,VUd(a.justificationDescription));a.unstructuredJustificationDescription&&$Ud(b,VUd(a.unstructuredJustificationDescription));
return b};VUd=function(a){if(!a)return null;a=a.textSegment||[];return aVd(new _.Fq,a.map(function(b){var c=(new _.Eq).Dd(b.text),d=b.link;if(d){var e=new _.SHa;d=_.L(e,1,d.url)}else d=null;c=_.Q(c,_.SHa,2,d);c=_.J(c,3,b.bold);return _.J(c,4,b.italic)}))};
IUd=function(a){a=a.documentDocosAction;if(!a)return null;var b=bVd(new _.Iq,RQ(a));UVd(b,(a.subAction||[]).map(function(c){var d=new VVd;c.reply?(c=new WVd,_.Lj(d,1,_.WHa,c)):c.resolve?(c=new XVd,_.Lj(d,2,_.WHa,c)):c.reassign?(c=new YVd,_.Lj(d,3,_.WHa,c)):c.acceptSuggestion?(c=new ZVd,_.Lj(d,4,_.WHa,c)):c.rejectSuggestion?(c=new $Vd,_.Lj(d,5,_.WHa,c)):c.openThread&&(c=new aWd,_.Lj(d,6,_.WHa,c));return d}));_.L(b,2,a.discussionId);_.L(b,3,a.postId);a.anchorText&&bWd(b,VUd(a.anchorText));return b};
KUd=function(a){var b=a.documentShareAction;if(!b)return null;a=cWd(new _.YHa,RQ(b));dWd(a,(b.subAction||[]).map(function(c){var d=new eWd;c.suggestedShare?(c=new fWd,_.Lj(d,1,_.XHa,c)):c.responseToRequest&&(c=new gWd,_.Lj(d,2,_.XHa,c));return d}));hWd(a,(b.sharee||[]).map(function(c){return FUd(c)}));b.shareeRole&&(b=iWd.get(b.shareeRole))&&_.I(a,3,b);return a};
JUd=function(a){a=a.documentViewAction;if(!a)return null;var b=GUd(new _.Kq,TUd(a));jWd(b,(a.subAction||[]).map(function(c){var d=new kWd;c.open?d.Ph(new lWd):c.reviewEdits&&(c=new mWd,_.Lj(d,2,_.$Ha,c));return d}));return b};LUd=function(a){a=a.emailViewAction;if(!a)return null;var b=nWd(new _.yPd,RQ(a));oWd(b,(a.subAction||[]).map(function(c){var d=new pWd;c.open&&d.Ph(new qWd);return d}));return b};
MUd=function(a){a=a.calendarEventAction;if(!a)return null;var b=rWd(sWd(tWd(new _.THa,a.eventId),RQ(a)),a.guestCount);uWd(b,(a.subAction||[]).map(function(c){var d=new vWd;if(c.viewCalendarEvent){var e=new wWd;_.Lj(d,1,_.RHa,e)}c.shareWithAttendees&&(e=new xWd,_.Lj(d,2,_.RHa,e));c.present&&(e=new yWd,_.Lj(d,3,_.RHa,e));c.openDocument&&(c=new lWd,_.Lj(d,4,_.RHa,c));return d}));return b};
NUd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=zWd(AWd(new _.xPd,a.workspaceId),RQ(a));BWd(b,(a.subAction||[]).map(function(c){var d=new CWd;c.addToWorkspace&&(c=new DWd,_.Lj(d,1,_.aIa,c));return d}));return b};OUd=function(a){a=a.documentTopicAction;if(!a)return null;var b=EWd(new _.Jq,RQ(a));FWd(b,(a.subAction||[]).map(function(c){var d=new GWd;c.openDocument&&(c=new lWd,_.Lj(d,1,_.ZHa,c));return d}));return b};
PUd=function(a){a=a.popularDocumentAction;if(!a)return null;var b=HWd(new _.fIa,RQ(a));IWd(b,(a.subAction||[]).map(function(c){var d=new JWd;c.openDocument&&(c=new lWd,_.Lj(d,1,_.eIa,c));return d}));return b};QUd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=KWd(new _.VHa,RQ(a));LWd(b,(a.subAction||[]).map(function(c){var d=new MWd;c.openDocument&&(c=new lWd,_.Lj(d,1,_.UHa,c));return d}));return b};
RUd=function(a){a=a.formResponseAction;if(!a)return null;var b=NWd(new _.dIa,TUd(a));OWd(b,(a.subAction||[]).map(function(c){var d=new PWd;c.openDocument?(c=new lWd,_.Lj(d,1,_.cIa,c)):c.viewResponses&&(c=new QWd,_.Lj(d,2,_.cIa,c));return d}));return b};RWd=function(a){var b=(new _.dq).setYear(a.year).setMonth(a.month);return _.Ug(b,3,a.day)};
aXd=function(a){var b=new SWd;a.listOptions&&TWd(b,UWd(a.listOptions));var c;return VWd(b,((c=a.choices)!=null?c:[]).map(function(d){var e=(new WWd).Bb(d.id);if(d.properties){var f=e.setProperties,g=d.properties,k=new XWd;k=_.L(k,1,g.displayName).Kj(g.description);if(g.badgeConfig){g=g.badgeConfig;var l=new YWd;g.priorityOverride&&_.Tg(l,1,Number(g.priorityOverride));_.Q(k,YWd,3,l)}f.call(e,k)}d.displayHints&&(d=d.displayHints,f=(new ZWd).ue(d.disabled),f=_.J(f,2,d.hiddenInSearch),f=_.J(f,3,d.shownInApply),
d.badgeColors&&(k=$Wd(d.badgeColors),_.Q(f,SQ,4,k)),d.darkBadgeColors&&(k=$Wd(d.darkBadgeColors),_.Q(f,SQ,5,k)),d.badgePriority&&_.Tg(f,6,Number(d.badgePriority)),_.Q(e,ZWd,3,f));return e}))};UWd=function(a){var b=new bXd;return _.Ug(b,1,a.maxEntries)};$Wd=function(a){var b=new SQ;if(a.backgroundColor){var c=cXd(a.backgroundColor);_.Q(b,_.Fr,1,c)}a.foregroundColor&&(c=cXd(a.foregroundColor),_.Q(b,_.Fr,2,c));a.soloColor&&(a=cXd(a.soloColor),_.Q(b,_.Fr,3,a));return b};
cXd=function(a){var b=new _.Fr;a.red&&_.ub(b,1,_.cb(Number(a.red)),0);a.green&&_.ub(b,2,_.cb(Number(a.green)),0);a.blue&&_.ub(b,3,_.cb(Number(a.blue)),0);a.alpha&&(a=(new rSd).Lb(a.alpha),_.Q(b,rSd,4,a));return b};iXd=function(a){var b=dXd(new _.TQ,eXd(a)),c=a.result;a=a.processedFileCount;if(c){var d=c.status;(d=d&&fXd[d])&&b.Tb(d);c.sourceResults&&gXd(b,c.sourceResults.map(function(e){return hXd(e)}));c.validationToken&&_.L(b,4,c.validationToken)}a!==void 0&&_.Ug(b,2,a);return b};
hXd=function(a){var b=jXd(kXd(new _.lXd,a.sourceId),a.fileCount);a.unmovableFileReasons&&mXd(b,a.unmovableFileReasons.map(function(c){var d=c.unmovableReason;d=d&&nXd[d];var e=new _.oXd;d=_.I(e,1,d?d:0);return _.Ug(d,2,c.count)}));return b};
vXd=function(a){a=a.personResponse||[];return pXd(new qXd,a.map(function(b){var c=b.person;b=rXd(new UQ,b.personId);var d=b.jd;var e=c;e=e===void 0?{}:e;var f,g,k;e=(k=(f=e.metadata)==null?void 0:(g=f.bestDisplayName)==null?void 0:g.displayName)!=null?k:"";f=sXd(d.call(b,e),tXd(c));c=c===void 0?{}:c;c=c.photo?c.photo[0]:null;g=new uXd;c=_.L(g,1,c&&!c.isDefault?c.url:null);return _.Q(f,uXd,4,c)}))};
tXd=function(a){a=a===void 0?{}:a;var b,c;return(c=(b=(a.email||[]).find(function(d){var e;return d.classification==="SIGNUP_EMAIL"&&((e=d.metadata)==null?void 0:e.primary)===!0}))==null?void 0:b.value)!=null?c:""};zXd=function(a){var b=a.items||[];b=wXd(new VQ,b.map(function(c){return xXd(c)}));return new yXd(b,eXd(a))};xXd=function(a){var b=(new _.XN).Bb(a.id).setTitle(a.title);var c=_.kQ(a.createdDate);b=_.Tg(b,3,c);c=_.kQ(a.modifiedDate);return _.Tg(b,4,c).Vd(a.state?AXd[a.state]:void 0)};
BXd=function(a,b,c){var d=c.item||[];return _.dQd(_.cQd(new _.xQ,d.map(function(e){return CUd(a,b,e)})),c.suggestionSessionId)};FXd=function(a,b,c){var d=c.item||[];return CXd(DXd(new WQ,d.map(function(e){return EXd(a,b,e)})),c.suggestionSessionId)};EXd=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return GXd(HXd(IXd(JXd(new DQ,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return CUd(a,b,f)})),RQ(c))};
LXd=function(a){var b=new _.KXd;a.kind&&(a=xXd(a),_.Q(b,_.XN,2,a));b.Tb(1);return b};MXd=function(a,b){return b==null?void 0:a[b]};NXd=function(a){var b={};return{Qf:{requestHeaders:(b["content-type"]="application/json",b),method:"POST",Dg:"files/"+_.Zg(a,1)+"/sendAccessRequest",json:{}},options:{fR:!0}}};PXd=function(a){var b={},c={};b.alt="protojson";b.fields=OXd(a).join(",");c["content-type"]="application/json+protobuf";return{Qf:{api:14,Dg:"/v1/account",Kh:a.Zk(),requestHeaders:c,yh:b}}};
RXd=function(a){var b={};b.pageSize=a.pageSize;a.pageToken&&(b.pageToken=a.pageToken);var c="items/"+_.E(a.request,1);_.N(a.request,2,!1)?b.ancestorName=c:b.itemName=c;b.consolidationStrategy={legacy:{}};a=_.Kj(a.request,QXd,5,_.Ff());a=a.length===0?null:"detail.action_detail_case:("+a.map(DRd).join(" ")+")";b.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:(MULTIPARENTING_MIGRATION HIERARCHY_RECONCILIATION)";a!==null&&(b.filter+=" "+a);a={};return{Qf:{api:7,method:"POST",
Dg:"/v2/activity:query",requestHeaders:(a["content-type"]="application/json",a),json:b}}};SXd=function(a){return"kind,defaultAppIds,items("+a+")"};
TXd=function(a,b){var c={};_.wh(a,3)&&(c.useDomainAdminAccess=!0);c.fields="kind,id,parentId,teamDriveId";c.fileId=a.Pb();_.Hk(a,4)&&(c.preFlightValidationToken=_.E(a,4));var d={};d=(d["content-type"]="application/json",d);_.vP([],[a.Pb(),_.Zg(a,2)],b,d);return{Qf:{method:"POST",Dg:"admin/files/"+a.Pb()+"/migrateToTeamDrive",yh:c,json:{parentId:_.E(a,2)},requestHeaders:d},options:{Bl:!0,fR:!0}}};
UXd=function(a,b){var c={appId:_.Zg(a,1)};_.wh(a,3)&&(c.propagate=!0);c.supportsTeamDrives=!0;var d={};_.vP([],[_.Zg(a,2)],b,d);return{Qf:{method:"POST",Dg:"files/"+_.Zg(a,2)+"/authorize",Kh:_.K(a,_.Se,4),requestHeaders:d,yh:c},options:{Bl:!0}}};
WXd=function(a){var b={people:_.Kj(a,VXd,1,_.Ff()).map(function(d){return{profileId:d.getId(),fallbackName:_.E(d,2)||void 0}})},c={};return{Qf:{api:13,method:"POST",Dg:"/v2/people/"+(_.N(a,2,!1)?"un":"")+"block",requestHeaders:(c["content-type"]="application/json",c),json:b}}};
XXd=function(a,b){var c={removeSecureLinkUpdateForAllFiles:_.N(a,2,!1)},d={};return{Qf:{Dg:"drives/"+a.Pb(),method:"PUT",json:c,requestHeaders:(d["content-type"]="application/json",d),yh:{fields:ZQd(b,[],!0)},Kh:_.K(a,_.Se,3)},options:{Bl:!0}}};
YXd=function(a,b){var c={},d=_.E(a.request,1);a.pageToken&&(c.pageToken=a.pageToken);a.request.Qj()&&(c.maxResults=a.request.Qj());c.fields="kind,nextPageToken,categoryMetadata";var e={};_.vP([],[d],b,e);return{Qf:{Kh:a.request.Zk(),Dg:"files/"+d+"/listCategoryMetadata",requestHeaders:e,yh:c}}};
ZXd=function(a,b){var c=_.E(a,1),d={},e=_.Kj(a,_.zq,2,_.Ff());e.length&&(d.addCategoryReferences=e.map(function(f){return{category:_.E(f,1)}}));e=_.Kj(a,_.zq,3,_.Ff());e.length&&(d.removeCategoryReferences=e.map(function(f){return _.E(f,1)}));e={};return{Qf:{Kh:_.K(a,_.Se,4),method:"POST",json:d,Dg:"drives/"+c+"/changeCategoryReferences",requestHeaders:(e["content-type"]="application/json",e),yh:{fields:ZQd(b,[157],!0)}},options:{Bl:!0}}};
bYd=function(a,b,c){if(c.gua===14){var d=(new $Xd).jd(_.Zg(a.request,1));d=_.L(d,1,a.requestId);c={};var e=e===void 0?[]:e;e=(new _.AO(new _.ce("shared_drive",XQd(b,e)))).toString();c["x-goog-fieldmask"]=e;c["content-type"]="application/json+protobuf";var f;e=(f=_.K(a.request,_.Se,2))!=null?f:_.Ve(new _.Se,503);_.N(_.aGd(b),75,!1)&&_.I(e,9,1);_.aYd(a.request,e);a={Qf:{api:14,Dg:"/v1/sharedDrives:create",Kh:e,method:"POST",requestHeaders:c,body:d.Fc()}}}else f={name:(d=a.request.getTitle())!=null?
d:void 0},e={},a={Qf:{Kh:_.K(a.request,_.Se,2),method:"POST",Dg:"teamdrives/"+a.requestId,requestHeaders:(e["content-type"]="application/json",e),yh:{fields:ZQd(b)},json:f},options:{Bl:!0}};return a};
eYd=function(a,b){return{Qf:{api:10,Dg:"/v1/userfeedback",yh:{},requestHeaders:{"content-type":"application/json"},method:"POST",Kh:null,json:{userFeedback:_.Kj(a,_.cYd,1,_.Ff()).map(function(c){var d=_.K(c,_.XQ,2),e={},f={};f.feedbackType=[_.JAd[_.nk(d,1)]];e.item=f;e.clientInfo=dYd(b);switch(_.nk(c,1)){case 1:e.clientInfo.scenarioType="DRIVE_PRIORITY";f.itemId=_.Zg(d,2);break;case 3:e.clientInfo.scenarioType="QUICK_ACCESS";f.itemId=_.Zg(d,2);break;case 4:e.clientInfo.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES";
f.itemId=_.Zg(d,2);break;case 2:e.clientInfo.scenarioType="DRIVE_WORKSPACES";f.itemId=_.Zg(d,2);f.childItem=_.Kj(d,_.XQ,3,_.Ff()).map(function(g){return{itemId:_.Zg(g,2)}});break;case 5:e.clientInfo.scenarioType="MINPICK";f.itemId=_.Zg(d,2);break;case 6:e.clientInfo.scenarioType="HOMEPAGE_SUGGESTED_FILES";f.itemId=_.Zg(d,2);break;case 7:e.clientInfo.scenarioType="HOMEPAGE_SUGGESTED_FOLDERS";f.itemId=_.Zg(d,2);break;case 8:e.clientInfo.scenarioType="HOMEPAGE_SUGGESTED_ITEMS",f.itemId=_.Zg(d,2)}return e})}},
options:{fR:!0}}};dYd=function(a){var b={},c=_.NP(a)===9?"WEB_MOBILE":"WEB_DESKTOP";b.applicationType=iRd(_.NP(a));b.platformType=c;b.languageCode=_.yP(_.hO(a));b.timeZone=_.WCd(new _.cu);b.requestType="LIVE_REQUEST";return b};
fYd=function(a){var b={},c={};_.Hk(a,1)&&(c.title=a.getTitle());_.Hk(a,3)&&(c.workspaceToken=_.E(a,3));return{Qf:{method:"POST",Dg:"workspaces",json:c,requestHeaders:(b["content-type"]="application/json",b),yh:{fields:"kind,id,title,createdDate,modifiedDate,state"},Kh:_.K(a,_.Se,2)},options:{Bl:!0}}};gYd=function(a){return{Qf:{method:"DELETE",Dg:"apps/"+_.Zg(a,1),yh:{appId:_.Zg(a,1),deleteAppData:!!_.Jh(a,2)},Kh:_.K(a,_.Se,3)},options:{Bl:!0}}};
hYd=function(a,b,c){var d={supportsTeamDrives:!0};_.RFd(b,d);b={};_.vP([],[a.Pb()],c,b);return{Qf:{method:"DELETE",Dg:"files/"+a.Pb(),Kh:_.K(a,_.Se,3),requestHeaders:b,yh:d},options:{Bl:!0}}};iYd=function(a){return{Qf:{method:"DELETE",Dg:"files/"+_.Zg(a,1)+"/permissions/"+_.Zg(a,2),yh:{supportsTeamDrives:!0},Kh:_.K(a,_.Se,3)},options:{Bl:!0}}};
jYd=function(a,b){var c={};_.vP([],[_.Zg(a,1)],b,c);return{Qf:{method:"DELETE",Dg:"files/"+_.Zg(a,1)+"/revisions/"+_.Zg(a,2),Kh:_.K(a,_.Se,3),requestHeaders:c},options:{Bl:!0}}};kYd=function(a){return{Qf:{method:"DELETE",Dg:"teamdrives/"+a.Pb(),Kh:_.K(a,_.Se,2)},options:{Bl:!0}}};mYd=function(a){var b={},c=a.getKey();_.Ae(c,1)&&(b.namespace=lYd[_.Ae(c,1)]);return{Qf:{method:"DELETE",Dg:"settings/"+_.Zg(c,2),yh:b,Kh:_.K(a,_.Se,2)},options:{Bl:!0}}};
nYd=function(a){return{Qf:{method:"DELETE",Dg:"workspaces/"+a.Pb(),Kh:_.K(a,_.Se,3)},options:{Bl:!0}}};oYd=function(a,b){var c={};a=a.ee();_.Hk(a,4)&&(c.driveId=a.Df());_.RFd(b,c);return{Qf:{method:"DELETE",Dg:"files/trash",Kh:_.K(a,_.Se,1),yh:c},options:{Bl:!0}}};pYd=function(a,b){var c={};return{Qf:{Dg:"files/generatePreflightReport/"+_.Zg(a,1),requestHeaders:(c["X-Goog-Encode-Response-If-Executable"]="base64",c),yh:{alt:"media",languageCode:_.yP(_.hO(b))}},options:{Bl:!0}}};
qYd=function(a){return{Qf:{Dg:"apps/"+_.Zg(a,1),Kh:_.K(a,_.Se,2),yh:{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"}},
options:{Bl:!0}}};
sYd=function(a,b){var c={},d={};c.alt="protojson";var e="activity_items_present";if(_.cq(a)>0){var f,g,k=_.nEd({fields:_.ak(a,5,_.Ff()).slice(0)}),l=(g=(f=_.br(b))==null?void 0:_.N(f,62,!1))!=null?g:!1;f=new _.$P("activity_item",[new _.$P("access_request_activity",[_.ZP("item_access_request_count"),new _.$P("access_request",[new _.$P("requester",rYd()),new _.$P("recipient",rYd()),_.ZP("message"),_.ZP("created_date_millis"),_.ZP("role"),_.ZP("justification_message")])]),new _.$P("awaiting_approval_activity",[new _.$P("awaiting_approval",
[new _.$P("initiator",rYd()),_.ZP("message"),_.ZP("created_date_millis"),_.ZP("justification_message")])]),new _.$P("recent_comment_activity",[new _.$P("recent_comment",[new _.$P("commenter",rYd()),_.ZP("post_id"),_.ZP("type"),_.ZP("comment_link"),_.ZP("discussion_id"),_.ZP("created_date_millis"),_.ZP("justification_message")])])]);l&&f.Db(new _.$P("recent_share_activity",[new _.$P("recent_share",[new _.$P("sharer",rYd()),_.ZP("share_date_millis"),_.ZP("justification_message")])]));g=_.gKd(k).yj();
_.dv(g)||f.Db(new _.$P("item",g));e+=","+f.toString();c.accessRequestOptions={pageSize:_.cq(a)};c.awaitingApprovalOptions={pageSize:_.cq(a)};c.openCommentOptions={pageSize:_.cq(a)};var m;((m=_.br(b))==null?0:_.N(m,62,!1))&&_.oj(a,_.aq,7)&&(b=_.K(a,_.aq,7),c.recentShareOptions={pageSize:_.cq(a),platformType:_.ri(b,1,0),screenDensity:_.ri(b,4,0),viewType:b.getViewType()})}c.fields=e;d["content-type"]="application/json+protobuf";return{Qf:{api:14,Dg:"/v1/listHomeActivity",Kh:a.Zk(),requestHeaders:d,
yh:c}}};
AYd=function(a){var b={},c={};b.alt="protojson";for(var d=_.nEd({fields:_.vPd(a).slice(0)}),e=[].concat(_.Eb(_.ak(JSd(a),3,_.Ff()))),f=new _.dKd,g=0;g<e.length;g++)for(var k=tYd(e[g],d),l=0;l<k.length;l++)_.bKd(f,k[l]);b.fields=f.toString();c["content-type"]="application/json+protobuf, kind=fava";d=new uYd;e=_.n(_.ak(JSd(a),3,_.Ff()));for(f=e.next();!f.done;f=e.next())f=f.value,vYd.includes(f)&&(g=wYd(1),k=_.mk(a,10),g=_.Ug(g,2,k),_.nf(d,2,xYd,g)),yYd.includes(f)&&(f=wYd(2),g=_.mk(a,11),f=_.Ug(f,
2,g),_.nf(d,2,xYd,f));e=new zYd;f=JSd(a);e=_.Q(e,_.aq,1,f);d=_.Q(e,uYd,3,d);return{Qf:{method:"POST",api:14,Dg:"/v1/listHomeSuggestions",Kh:a.Zk(),body:d.Fc(),requestHeaders:c,yh:b}}};BYd=function(a){return{Qf:{method:"POST",Dg:"apps",yh:{appId:_.Zg(a,1)},Kh:_.K(a,_.Se,2)},options:{Bl:!0}}};
CYd=function(a,b){var c={};c.fields=_.zP(b)?"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";c.emailMessage=_.E(a,5)||"";c.sendNotificationEmail=!_.N(a,6,!1);b={};var d=_.nk(a,2);d===1?b.role="owner":d===3?b.role="writer":d===4?(b.role="reader",b.additionalRoles=["commenter"]):d===2&&(b.role="reader");d=_.nk(a,3);d===1?
b.type="user":d===2?b.type="group":d===3?b.type="domain":d===4?b.type="anyone":d===5&&(b.type="audience");a.ob()&&(b.value=a.ob());b.withLink=!_.N(a,8,!1);c.supportsTeamDrives=!0;d={};return{Qf:{Kh:_.K(a,_.Se,7),method:"POST",Dg:"files/"+_.Zg(a,1)+"/permissions",json:b,requestHeaders:(d["content-type"]="application/json",d),yh:c},options:{Bl:!0}}};
DYd=function(a,b){var c=_.Xj(a,1,_.Ff()).map(function(f){var g=_.nLd(b,f);return g!==null?{id:f,resource_key:{resource_key:g}}:{id:f}}),d,e;return{Qf:{api:8,method:"POST",Dg:"/v1/exports",json:{archiveFormat:(d=_.E(a,3))!=null?d:void 0,archivePrefix:(e=_.E(a,2))!=null?e:void 0,conversions:void 0,items:c,locale:void 0},requestHeaders:{"content-type":"application/json"}}}};
HYd=function(a,b,c){var d={};if(_.qi(a)){hRd(_.NP(b))&&_.lPd(c,106026);c=[];_.CP(a)===2&&(_.BP(a),c.push({type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.BP(a)[0]}));var e,f,g=(f=(e=EYd(a))==null?void 0:_.Kj(e,FYd,2,_.Ff()))!=null?f:[];if(g.length>0)for(d.contextFeature=[],e=_.n(g),f=e.next();!f.done;f=e.next())f=f.value,(g=f.Pb())&&c.push({type:"DOCUMENT_CONTEXT",documentContextValue:{id:g,title:_.Zg(f,2)||"",mimeType:_.Zg(f,3)||"",parentId:_.Zg(f,4)||"",rootId:_.Zg(f,5)||""}});var k,l;e=(l=(k=EYd(a))==
null?void 0:_.Kj(k,FYd,3,_.Ff()))!=null?l:[];if(e.length>0)for(d.contextFeature=[],k=_.n(e),l=k.next();!l.done;l=k.next())(l=l.value.Pb())&&c.push({type:"DRIVE_FOLDER_ID",stringValue:l});c.length&&(d.contextFeature=c);if(_.lf(a).length){c=new Set;k=_.n(_.lf(a));for(l=k.next();!l.done;l=k.next())switch(_.d7a(_.E(l.value,1))){case 7:c.add("IMAGE_ALL");break;case 2:c.add("AUDIO_ALL");break;case 14:c.add("VIDEO_ALL");break;case 4:c.add("DRAWING_ALL");break;case 10:c.add("PRESENTATION_ALL");break;case 12:c.add("SPREADSHEET_ALL");
break;case 3:c.add("DOCUMENT_ALL");break;case 6:c.add("DRIVE_FORM")}c=[].concat(_.Eb(c));d.itemType=c}}d.maxSuggestions=a.Qj();c={};k=_.NP(b)===9?"WEB_MOBILE":"WEB_DESKTOP";c.applicationType=iRd(_.NP(b));c.platformType=k;c.languageCode=_.yP(_.hO(b));c.timeZone=_.WCd(new _.cu);var m;k=((m=a.Zk())==null?void 0:_.nk(m,3))===2?"BACKGROUND_REQUEST":"LIVE_REQUEST";c.requestType=k;m=hRd(_.NP(b))||_.CP(a)!==2?hRd(_.NP(b))?[266,277,271,272,273].includes(_.NP(b))?"MINPICK":"ONE_PICK":_.N(a,74,!1)?"QUICK_ACCESS_FOR_SHARED_FILES":
"QUICK_ACCESS":"QUICK_ACCESS_FOR_SHARED_DRIVE";c.scenarioType=m;var q;a:{if(_.qi(a)&&hRd(_.NP(b))){var r;if(b=(q=EYd(a))==null?void 0:(r=_.K(q,GYd,1))==null?void 0:_.Zg(r,1)){q=[{name:b}];break a}}q=void 0}q&&(c.clientTags=(c.clientTags||[]).concat(q));a:{if((a=EYd(a))&&_.Jk(a,4))switch(a.Qt()){case 0:break;case 1:a="GRID_VIEW";break a;case 2:a="LIST_VIEW";break a;default:throw Error("Ii");}a=void 0}a&&(c.viewType=a);d.clientInfo=c;return{Qf:{api:10,Dg:"/v1/items",yh:{},requestHeaders:{"content-type":"application/json"},
method:"POST",Kh:null,json:d}}};IYd=function(a){var b=(0,_.RId)(a)?_.z(a,1):_.Xj(a,1,_.Ff())[0],c=_.OAd.get(a.H());a={};c&&(a.view=c);c={};return{Qf:{api:15,Dg:"/v2/labels/"+b,requestHeaders:(c["content-type"]="application/json",c),yh:a}}};JYd=function(a){var b={fields:"kind,largestChangeId",includeItemsFromAllDrives:!0,supportsTeamDrives:!0};a.teamDriveId&&(b.teamDriveId=a.teamDriveId);return{Qf:{Dg:"changes",yh:b,Kh:a.H},options:{Bl:!0}}};
KYd=function(a,b){return{Qf:{Dg:"backups/"+a.Pb()+"/items",api:9,yh:{languageCode:_.yP(_.hO(b))}}}};
OYd=function(a,b){var c={},d={},e="apps",f=void 0;switch(_.Ae(a,1)){case 1:c.fields=LYd;break;case 2:c.fields=MYd;break;case 4:c.fields=NYd;break;case 3:f=5,e="apps",c.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",c.appQueryScope="all_webstore",d.Rm=!0}c.languageCode=_.yP(_.hO(b));_.Xj(a,3,_.Ff()).length>0&&(c.appFilterExtensions=_.Xj(a,3,_.Ff()).join(","));
_.Xj(a,4,_.Ff()).length>0&&(c.appFilterMimeTypes=_.Xj(a,4,_.Ff()).join(","));return{Qf:{api:f,Dg:e,config:d,Kh:a.Zk(),yh:c},options:{Bl:!0}}};
PYd=function(a,b,c){var d={};d.includeDeleted=_.N(a,3,!0);d.includeSubscribed=_.N(a,4,!0);d.maxResults=a.Zpa();d.startChangeId=_.Nj(a,1);var e=b.clone(),f;(f=_.br(e))!=null&&_.J(f,27,!1);d.fields=bRd({fields:c,rma:ZQd(e,_.ak(a,5,_.Ff(_.wg))),anonymous:_.NN(_.hO(b)),vK:_.zP(b)});d.appDataFilter="NO_APP_DATA";b=_.ak(_.cr(b),31,_.Ff());b.length&&(d.spaces=_.$i(b,function(g){return _.HAd[g]}).join(","));d.supportsTeamDrives=!0;d.includeCorpusRemovals=!0;d.includeItemsFromAllDrives=!0;_.E(a,8)&&(d.teamDriveId=
_.E(a,8));return{Qf:{Dg:"changes",yh:d,Kh:_.K(a,_.Se,6)},options:{Bl:!0}}};
QYd=function(a,b,c){var d=a.ee(),e={};e.fields=_.zP(c)?"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.Ws()&&(e.pageToken=a.Ws());_.Rj(a,1)&&(e.maxResults=_.Rj(a,1));e.supportsTeamDrives=!0;_.N(c,14,!1)&&(e.useLegacyDomainPermissionBehavior=!1);a={};_.vP([],[d.Pb()],
b,a);return{Qf:{Kh:_.K(d,_.Se,2),Dg:"files/"+d.Pb()+"/permissions",requestHeaders:a,yh:e},options:{Bl:!0}}};
RYd=function(a,b,c){var d={};d.fields=_.zP(c)?"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))";d.maxResults=a.Qj();c={};_.vP([],[_.Zg(a,1)],b,c);return{Qf:{Dg:"files/"+_.Zg(a,1)+"/revisions",Kh:_.K(a,_.Se,2),requestHeaders:c,yh:d},
options:{Bl:!0}}};SYd=function(a,b,c,d){var e={};_.wh(a,3)&&(e.useDomainAdminAccess=!0);e.fields=_.qEd({fields:b,anonymous:_.NN(_.hO(d)),vK:_.zP(d)});var f;e.fileId=(f=_.Zg(a,1))!=null?f:void 0;_.Hk(a,4)&&(e.preFlightValidationToken=_.E(a,4));b={"content-type":"application/json"};_.vP([],[_.Zg(a,1)||"",_.Zg(a,2)||""],c,b);c="files/"+(_.Zg(a,1)||"")+"/migrateToDrive";d={};_.CFd(d,[_.E(a,2)||""]);return{Qf:{method:"POST",Dg:c,json:d,requestHeaders:b,yh:e},options:{Bl:!0,fR:!0}}};
TYd=function(a,b){var c={},d={};var e=_.Kj(a,_.yQ,2,_.Ff());e=_.n(e);for(var f=e.next();!f.done;f=e.next())f=f.value,d[_.Zg(f,1)]=_.Zg(f,2);e=_.Kj(a,_.yQ,4,_.Ff());e=_.n(e);for(f=e.next();!f.done;f=e.next())f=f.value,c[_.Zg(f,1)]=_.Zg(f,2);_.wh(a,7)&&(b.FCc=!0);_.wh(a,8)&&(b.Rm=!0);a.H()&&(b.V4a=!0);return{Qf:{api:11,method:_.Zg(a,1),Dg:_.Zg(a,3),body:_.Zg(a,5)||"",requestHeaders:d,yh:c}}};
UYd=function(a,b){var c={};c.person_id=a.Lh(_.wg);c["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"];c["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"];c["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"];_.NN(_.hO(b))||_.N(_.br(b),42,!1)||(c["core_id_params.enable_private_names"]=!0);return{Qf:{api:13,Dg:_.NN(_.hO(b))?"/v2/people/public":"/v2/people",requestHeaders:{"content-type":"application/json"},
yh:c}}};VYd=function(a,b){var c={};a.pageToken&&(c.pageToken=a.pageToken);a.request.Qj()&&(c.pageSize=a.request.Qj());_.E(a.request,6)&&(c.customer=_.E(a.request,6));c.$outputDefaults=!0;c.languageCode=_.yP(_.hO(b));return{Qf:{api:12,Dg:"/v1/categories/-/published",requestHeaders:{"content-type":"application/json"},yh:c}}};WYd=function(a,b){var c={$outputDefaults:!0};c.languageCode=_.yP(_.hO(b));return{Qf:{api:12,Dg:"/v1/"+_.Zg(a,1),requestHeaders:{"content-type":"application/json"},yh:c}}};
XYd=function(a){var b={};b.pageToken=_.Nj(a,2);_.Hk(a,3)&&(b.supportsTeamDrives=!0,b.includeItemsFromAllDrives=!0,b.teamDriveId=_.E(a,3));return{Qf:{Dg:"changes/getRemainingCount",Kh:_.K(a,_.Se,1),yh:b}}};
YYd=function(a){var b={};b.fileId=a.getId();var c=_.Ae(a,3),d=_.Ae(a,6);c={reason:_.LAd[c],sourceView:_.NAd[d],sourceViewType:_.E(a,7),authToken:a.getAuthToken()};return{Qf:{method:"POST",Dg:"files/"+a.Pb()+"/reportSpamOrAbuse",json:c,Kh:_.K(a,_.Se,2),requestHeaders:{"content-type":"application/json"},yh:b}}};ZYd=function(a){var b={};_.Hk(a,2)&&(b.supportsAllDrives=!0,b.driveId=a.Df());return{Qf:{Dg:"changes/startPageToken",Kh:_.K(a,_.Se,1),yh:b}}};
$Yd=function(a,b){var c,d;var e={contextFeature:[{type:"GENERIC_TITLE",stringValue:(c=_.Zg(a,2))!=null?c:""},{type:"DRIVE_WORKSPACE_ID",stringValue:(d=_.Zg(a,4))!=null?d:""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.Jh(a,5)}]};e.maxSuggestions=_.mk(a,1);a={};c=_.NP(b)===9?"WEB_MOBILE":"WEB_DESKTOP";a.applicationType=iRd(_.NP(b));a.platformType=c;a.languageCode=_.yP(_.hO(b));a.timeZone=_.WCd(new _.cu);a.requestType="LIVE_REQUEST";a.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE";e.clientInfo=a;return{Qf:{api:10,
Dg:"/v1/items",yh:{},requestHeaders:{"content-type":"application/json"},method:"POST",Kh:null,json:e}}};
aZd=function(a,b){var c={};c.maxSuggestions=_.mk(a,1);a={};var d=_.NP(b)===9?"WEB_MOBILE":"WEB_DESKTOP";a.applicationType=iRd(_.NP(b));a.platformType=d;a.languageCode=_.yP(_.hO(b));a.timeZone=_.WCd(new _.cu);a.requestType="LIVE_REQUEST";a.scenarioType="DRIVE_WORKSPACES";c.clientInfo=a;return{Qf:{api:10,Dg:"/v1/items",yh:{},requestHeaders:{"content-type":"application/json"},method:"POST",Kh:null,json:c}}};
bZd=function(a,b,c){if(b.gua===14){b={};var d={};a.Lh();b.ids=a.Lh(_.wg);var e=a.O(_.wg);e=e===void 0?[]:e;e=new _.ce("responses",["status",new _.ce("shared_drive",XQd(c,e))]);e=(new _.AO(e)).toString()+",responses(shared_drive(permission_summary(top_permission(is_me))))";d["x-goog-fieldmask"]=e;d["content-type"]="application/json+protobuf";var f;e=(f=a.Zk())!=null?f:_.Ve(new _.Se,502);c=_.ri(_.aGd(c),61,0);_.I(e,9,_.bFd(c));_.tyd(a,e);a={Qf:{api:14,Dg:"/v1/sharedDrives:get",Kh:e,yh:b,requestHeaders:d}}}else a.Lh(),
b={},b.fields=ZQd(c,a.O(_.wg)),a={Qf:{Dg:"teamdrives/"+a.Lh()[0],Kh:a.Zk(),yh:b},options:{Bl:!0}};return a};
cZd=function(a,b){var c={};_.wh(a.request,3)&&(c.useDomainAdminAccess=!0);var d={"content-type":"application/json"};_.vP([],_.Xj(a.request,1,_.Ff(_.wg)),b,d);b={};b.sourceIds=_.Xj(a.request,1,_.Ff());var e;b.destinationFolderId=(e=_.Zg(a.request,2))!=null?e:void 0;a.pageToken&&(b.continuationToken=a.pageToken);_.Ek(a.request,4)&&(b.darkLaunch=a.request.EI());return{Qf:{method:"POST",Dg:"admin/files/migrateToTeamDrivePreFlight",json:b,requestHeaders:d,yh:c},options:{fR:!0,Bl:!0}}};
hZd=function(a,b,c){if(b.gua===14){var d={};b=a.ee();var e=b.O();e=e===void 0?[]:e;e=(new _.AO("continuation_token",new _.ce("shared_drives",XQd(c,e)))).toString();d["x-goog-fieldmask"]=e;e=new dZd;var f=_.Jh(b,4);e=_.J(e,1,f);f=_.Kj(b,_.qq,7,_.Ff());e=_.Mj(e,2,f);var g;e=(new eZd).ef(e);f=new fZd;var k=(g=a.getOptions())==null?void 0:_.Sj(g,1,1E3);g=_.Ug(f,1,k);a=a.iD();a=_.L(g,2,a);a=_.Q(e,fZd,2,a);d["content-type"]="application/json+protobuf";var l;b=(l=b.Zk())!=null?l:_.Ve(new _.Se,501);c=_.ri(_.aGd(c),
68,0);_.I(b,9,_.bFd(c));c={Qf:{api:14,method:"POST",Dg:"/v1/sharedDrives:list",Kh:b,body:a.Fc(),requestHeaders:d}}}else{l={};b=a.ee();g=b.O();g=g===void 0?[]:g;d=d===void 0?!1:d;c=(new _.AO).H(_.bO("kind"),_.bO("next_page_token"),new _.ce("items",YQd(c,g,d))).toString();l.fields=c;l.q=gZd(b);a.Ws()&&(l.pageToken=a.Ws());if(c=(c=a.getOptions())&&_.Sj(c,1,1E3))l.maxResults=c;c={Qf:{Dg:"teamdrives",Kh:a.ee().Zk(),yh:l},options:{Bl:!0}}}return c};
iZd=function(a,b,c){if(b.gua===14){var d={},e={};d.ids=[a.qn()];b=new _.ce("responses",["status",new _.ce("shared_drive",["id","recursive_file_count","recursive_folder_count"])]);b=(new _.AO(b)).toString();e["x-goog-fieldmask"]=b;e["content-type"]="application/json+protobuf";var f;b=(f=_.K(a,_.Se,2))!=null?f:new _.Se;var g;_.Ve(b,(g=_.nk(b,1))!=null?g:1516);c=_.ri(_.aGd(c),61,0);_.I(b,9,_.bFd(c));_.Q(a,_.Se,2,b);a={Qf:{api:14,Dg:"/v1/sharedDrives:get",Kh:b,yh:d,requestHeaders:e}}}else c=(d=_.K(a,
_.Se,2))!=null?d:new _.Se,_.Ve(c,(e=_.nk(c,1))!=null?e:1516),a={Qf:{Dg:"teamdrives/"+a.qn(),yh:{fields:(new _.AO(_.bO("kind"),_.bO("id"),_.bO("recursive_file_count"),_.bO("recursive_folder_count"))).toString()},Kh:c},options:{Bl:!0}};return a};jZd=function(a){var b={},c;b.useByDefault=(c=_.Jh(a,2))!=null?c:void 0;_.wh(a,3)&&(b.hasAppData=!1);c={};return{Qf:{method:"PUT",Dg:"apps/"+_.Zg(a,1),Kh:_.K(a,_.Se,4),json:b,requestHeaders:(c["content-type"]="application/json",c),yh:{appId:_.Zg(a,1)}},options:{Bl:!0}}};
lZd=function(a,b){var c={"content-type":"application/json"},d=a.kd(),e="files/"+d+"/updateCategoryMetadata",f=_.K(a,_.Se,3);a={categoryMetadata:kZd(a).map(function(g){var k=_.Kj(g,_.M_c,2,_.Ff()).map(function(r){var t,u,v,x,y,C,F;return{id:(t=r.Pb())!=null?t:void 0,userId:_.E(r,2),setBooleanValue:(u=_.Jh(r,3))!=null?u:void 0,setTextValue:(v=_.Zg(r,4))!=null?v:void 0,setTextValues:_.Xj(r,6,_.Ff(_.wg)),addTextValues:_.Xj(r,5,_.Ff(_.wg)),setLongTextValue:(x=_.Zg(r,7))!=null?x:void 0,setSelectionValue:(y=
_.Zg(r,8))!=null?y:void 0,setSelectionValues:_.Xj(r,10,_.Ff(_.wg)),addSelectionValues:_.Xj(r,9,_.Ff(_.wg)),setIntegerValue:_.Nj(r,11)?""+_.Nj(r,11):void 0,setIntegerValues:_.Qj(r,13,_.Ff()).map(function(G){return""+G}),addIntegerValues:_.Qj(r,12,_.Ff()).map(function(G){return""+G}),setUserValue:(C=_.Zg(r,14))!=null?C:void 0,setUserValues:_.Xj(r,16,_.Ff(_.wg)),addUserValues:_.Xj(r,15,_.Ff(_.wg)),setDateStringValue:(F=_.Zg(r,17))!=null?F:void 0}}),l,m={categoryName:(l=_.Zg(g,1))!=null?l:void 0};if(k.length)m.categoryAttributeValueDeltas=
k;else if(_.Xj(g,4,_.Ff()).length)m.revertAttributeIds=_.Xj(g,4,_.Ff(_.wg));else if(_.wh(g,3)){var q;m.removeCategory=(q=_.wh(g,3))!=null?q:void 0}return m})};_.vP([],[d],b,c);return{Qf:{Dg:e,json:a,method:"POST",Kh:f,requestHeaders:c,yh:{}}}};
mZd=function(a,b,c,d,e){var f={},g={},k="files/"+a.Cr();f.fields=_.qEd({fields:d,anonymous:_.NN(_.hO(c)),vK:_.zP(c)});f.modifiedDateBehavior="DRIVE_UI";f.updateViewedDate=!!_.wh(a,15);f.fileId=a.Cr();_.Xj(a,9,_.Ff()).length&&(f.addParents=_.Xj(a,9,_.Ff()).join(","));_.sId(a).length&&(f.removeParents=_.sId(a).join(","));_.Xj(a,31,_.Ff()).length&&(f.addWorkspaces=_.Xj(a,31,_.Ff()).join(","));_.Xj(a,32,_.Ff()).length&&(f.removeWorkspaces=_.Xj(a,32,_.Ff()).join(","));_.Ek(a,24)&&(f.confirmed=_.wh(a,24));
f.languageCode=_.yP(_.hO(c));d={};var l={};_.Xi(_.gl(a.Ag()))||(d.title=a.Ag());_.Hk(a,3)&&(d.description=a.dh());_.Ek(a,4)&&(l.starred=a.qv());_.Ek(a,5)&&(l.trashed=a.Yl());_.Xi(_.gl(_.E(a,6)))||(d.mimeType=_.E(a,6));typeof _.Nj(a,7)==="number"&&(d.modifiedDate=_.JFd(_.KFd(_.Nj(a,7)||0)));_.Ek(a,11)&&(l.restricted=_.wh(a,11));_.xc(l)&&(d.labels=l);_.Gk(a,12)&&(d.folderColor=_.Nj(a,12));_.Ek(a,16)&&(d.subscribed=_.wh(a,16));_.Ek(a,40)&&(d.linkShareMetadata={securityUpdateEnabled:_.wh(a,40)});if(l=
_.K(a,_.wq,25)){d.contentRestrictions=[];var m={};_.Ek(l,1)&&(m.readOnly=l.qT());_.Hk(l,2)&&(m.reason=_.E(l,2));d.contentRestrictions.push(m)}_.CFd(d,_.Xj(a,8,_.Ff()));g["content-type"]="application/json";l=_.K(a,_.Se,17);f.supportsTeamDrives=!0;e(a.Cr(),f);_.wh(a,36)?f.bypassMultiparentingCheck=!0:_.RFd(c,f);c=_.Xj(a,9,_.Ff()).concat(_.sId(a));c.push(a.Cr());a=_.Kj(a,_.rq,38,_.Ff(_.wg));_.vP(a,c,b,g);return{Qf:{Dg:k,method:"PUT",json:d,Kh:l,requestHeaders:g,yh:f},options:{Bl:!0}}};
nZd=function(a,b){var c={},d="files/"+a.H()+"/revisions/"+_.E(a,2),e={};_.Ek(a,3)&&(e.pinned=_.wh(a,3));c["content-type"]="application/json";var f=_.K(a,_.Se,4);_.vP([],[a.H()],b,c);return{Qf:{Dg:d,method:"PUT",json:e,Kh:f,requestHeaders:c,yh:{}}}};
pZd=function(a,b){var c={},d={},e="teamdrives/"+a.Cr(),f=void 0;if(_.Ek(a,15)){var g="POST";e+="/"+(_.wh(a,15)?"hide":"unhide")}else{g="PUT";f={};_.Hk(a,2)&&(f.name=a.getTitle());if(_.Hk(a,3))f.backgroundImageId=_.E(a,3);else{var k=_.Yg(a,6);k!=null&&(k=k.toString(16),f.colorRgb="#"+(0,_.Gta)("0",6-k.length)+k);var l=_.K(a,_.oZd,9);if(l!=null){k={};var m=l.getId();m&&(k.id=m);m=_.vj(l,2);typeof m==="number"&&(k.xCoordinate=m);m=_.vj(l,3);typeof m==="number"&&(k.yCoordinate=m);if(l=l.Ie())k.width=
l;f.backgroundImageFile=k}}d["content-type"]="application/json"}c.fields=ZQd(b);a=_.K(a,_.Se,4);return{Qf:{Dg:e,method:g,json:f,Kh:a,requestHeaders:d,yh:c},options:{Bl:!0}}};
qZd=function(a){var b={},c={},d=a.mX(),e=d.getKey(),f="settings/"+_.E(e,2);if(e=_.Ae(e,1))b.namespace=lYd[e];var g=d.getKey(),k,l;e={key:(k=g&&_.Zg(g,2))!=null?k:void 0,value:(l=_.Zg(d,2))!=null?l:void 0};if(d=g&&_.Ae(g,1))e.namespace=lYd[d];c["content-type"]="application/json";a=_.K(a,_.Se,2);return{Qf:{Dg:f,method:"PUT",json:e,Kh:a,requestHeaders:c,yh:b},options:{Bl:!0}}};
rZd=function(a){var b={},c={},d="workspaces/"+_.E(a,1);b.fields="kind,id,title,createdDate,modifiedDate,state";var e={};_.Hk(a,2)&&(e.title=a.getTitle());if(a.Vv()){var f=_.BOd[a.getState()];f&&(e.state=f)}c["content-type"]="application/json";a=_.K(a,_.Se,5);return{Qf:{method:"PUT",Dg:d,json:e,Kh:a,requestHeaders:c,yh:b},options:{Bl:!0}}};
sZd=function(a,b){var c={};c.fields=_.zP(b)?"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,individualQuotaBytesTotal,individualQuotaBytesUsedAggregate":"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus,individualQuotaBytesTotal,individualQuotaBytesUsedAggregate";
return{Qf:{Dg:"about",Kh:a.Zk(),requestHeaders:{},yh:c},options:{Bl:!0}}};tZd=function(a){var b={};a.Lh();b.fields="kind,id,title,createdDate,modifiedDate,state";return{Qf:{Dg:"workspaces/"+a.Lh()[0],Kh:a.Zk(),yh:b},options:{Bl:!0}}};
vZd=function(a){var b={fields:"kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)"};a.pageToken&&(b.pageToken=a.pageToken);a.request.Qj()&&(b.maxResults=a.request.Qj());var c=a.request,d=new _.mu;if(c=c.getState()){var e=[];e.push("state");e.push("=");e.push(uZd[c]);_.UP(d,e.join(" "))}b.q=d.toString();(d=a.request.uFa())&&_.Ae(d,1)===1&&(b.orderBy="title");return{Qf:{Dg:"workspaces",Kh:a.request.Zk(),yh:b},options:{Bl:!0}}};
xZd=function(a){var b=Array(18);b[0]="0";b[1]="x";for(var c=0;c<8;c++){var d=a.charCodeAt(7-c);b[c*2+2]=wZd(d>>4);b[c*2+3]=wZd(d&15)}return b.join("")};wZd=function(a){return String.fromCharCode(a<10?48+a:87+a)};
AZd=function(a){if(yZd){var b=a.O>>>0,c=a.H>>>0;c<=2097151?b=String(4294967296*c+b):(b=yZd?BigInt(a.H>>>0)<<BigInt(32)|BigInt(a.O>>>0):void 0,b=String(b));return b}b=a.O>>>0;c=a.H>>>0;c<=2097151?b=String(4294967296*c+b):(a=(b>>>24|c<<8)&16777215,c=c>>16&65535,b=(b&16777215)+a*6777216+c*6710656,a+=c*8147497,c*=2,b>=1E7&&(a+=Math.floor(b/1E7),b%=1E7),a>=1E7&&(c+=Math.floor(a/1E7),a%=1E7),b=String(c)+zZd(a)+zZd(b));return b};zZd=function(a){a=String(a);return"0000000".slice(a.length)+a};
CZd=function(a,b){a|=0;b=~b;a?a=~a+1:b+=1;return BZd(a,b)};DZd=function(){var a=!(!_.ca.IDBObjectStore||!_.ca.IDBObjectStore.prototype.getAll);return!!(_.ca.indexedDB||_.ca.mozIndexedDB||_.ca.webkitIndexedDB||_.ca.moz_indexedDB)&&a};YQ=function(a,b){return new EZd(a,b,void 0)};
HZd=function(a,b){b=b.qF()?_.lb(b):b.clone();var c;if((c=_.br(b))==null?0:_.N(c,17,!1)){var d;(d=_.br(b))!=null&&_.J(d,15,!0)}_.J(b,75,_.ca.devicePixelRatio>1);c=!_.N(b,61,!1);if(_.N(b,61,!1)){d=_.K(b,IRd,66);var e;((e=b.ni())==null||!_.NN(e))&&"SharedWorker"in _.ca&&d&&_.E(d,1)||(c=!0)}c&&_.yj(_.J(b,61,!1),66);e=_.N(b,61,!1)?3:5;a=new ZQ(a,b,e);return FZd(b,new GZd(a))};FZd=function(a,b){var c;((c=a.IP())==null?0:c.XW())&&_.Ti("drive.DebugUtil.getItemService",function(){return b});return b};
IZd=_.gfa(function(a,b,c){if(a.O!==0&&a.O!==2)return!1;b=_.sda(b,(0,_.mb)(b),c,2,!1);a.O==2?_.xfa(a,_.Qra,b):b.push(_.Qra(a.H));return!0},function(a,b,c){b=_.xea(_.Oba,b,!0);if(b!=null)for(var d=0;d<b.length;d++){var e=a,f=c,g=b[d];g!=null&&(_.Lb(e,f,0),e.H.H.push(g?1:0))}});_.JZd=function(a,b){return _.Tg(a,2,b)};_.KZd=function(a,b){return _.Tg(a,3,b)};_.LZd=function(a){this.Ca=_.p(a)};_.P(_.LZd,_.w);_.LZd.prototype.xm=function(){return _.E(this,1)};
_.LZd.prototype.tm=function(a){return _.Ak(this,2,a)};_.LZd.mb=[2];_.MZd=function(a,b){return _.Mj(a,5,b)};_.NZd=function(a,b){return _.I(a,6,b)};_.OZd=function(a,b){return _.Tg(a,7,b)};_.PZd=function(a,b){return _.Tg(a,8,b)};_.QZd=function(a,b){return _.Tg(a,10,b)};_.RZd=function(a,b){return _.I(a,15,b)};_.SZd=function(a,b){return _.J(a,1,b)};_.TZd=function(a,b){return _.J(a,2,b)};_.UZd=function(a,b){return _.Q(a,_.bHa,1,b)};VZd=function(a,b){return _.L(a,2,b)};WZd=function(a,b){return _.L(a,3,b)};
XZd=function(a,b){_.Mj(a,4,b)};_.YZd=function(a,b){_.Q(a,_.Mp,8,b)};_.ZZd=function(a,b){_.Q(a,_.cHa,9,b)};_.eTd=function(a,b){return _.Q(a,_.Se,1,b)};OXd=function(a,b){return _.Xj(a,2,_.Ff(b))};_.dTd=function(a,b){return _.yk(a,2,b)};$Zd=[0,_.Vk,_.Pk,_.Vk,_.Pk,_.Nk,1,_.Mk,_.Qk,_.Vk,[0,_.Qk,-1],_.Pk,[0,_.Vk],_.Vk];JSd=function(a){return _.K(a,_.aq,7)};FYd=function(a){this.Ca=_.p(a)};_.P(FYd,_.w);_.h=FYd.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};
_.h.Pb=function(){return _.Zg(this,1)};_.h.getTitle=function(){return _.E(this,2)};_.h.Ag=function(){return _.E(this,2)};_.h.setTitle=function(a){return _.L(this,2,a)};_.h.getMimeType=function(){return _.E(this,3)};_.h.Jm=function(){return _.E(this,4)};_.h.yz=function(){return _.E(this,5)};_.h.Ty=function(a){return _.L(this,5,a)};var GYd=function(a){this.Ca=_.p(a)};_.P(GYd,_.w);GYd.prototype.Npa=function(){return _.E(this,1)};
var EYd=function(a){return _.K(a,_.ON,75)},a_d=[0,_.Tk,[0,_.Qk,_.Tk,[0,_.eq,_.Qk,_.Xp,_.Uk,[0,1,_.Vk,IZd],_.Uk,[0,1,_.Vk,_.Rk],_.Uk,[0,1,_.Vk,_.Rk],_.Uk,[0,1,_.Vk,_.Rk],_.Uk,[0,1,_.Vk,_.Rk],_.Uk,[0,1,_.Vk,_.lsa],_.Uk,[0,1,_.Vk,_.lsa],_.Uk,[0],_.Uk,[0,1,_.Vk,_.Rk],_.Uk,[0,1,_.Vk,_.Rk],1,_.Uk,[0,1,_.Vk,_.Tk,[0,_.Nk,-2]],_.Pk]]],b_d=[0,_.Vk,_.Pk,-1],c_d=[0,_.Qk,_.Mk],d_d=[0,_.Qk],e_d=[0,_.Vk,_.Mk],f_d=[0,_.Qk],g_d=[0,_.Qk,_.Pk],h_d=[0,[0,_.Qk],_.Tk,[0,_.Qk,-4],-1,_.Vk],i_d=[0,_.Rk,_.Pk],j_d=[0,_.GHa,
_.Pk,function(){return j_d}],k_d=[0,_.Qk,_.Pk,_.Vk,_.Pk],l_d=[0,_.Qk,_.Pk,_.Mk],m_d=[0,_.nq,_.osa,-1,_.nsa,-1,1,_.Vk,_.Pk],n_d=[0,_.Vk,-1,_.Pk,_.GHa],o_d=[0,_.Qk,_.Pk],p_d=[0,_.Qk],q_d=[0,_.Pk,-2],r_d=[0,_.Vk,_.Qk,_.Pk],s_d=[0,_.Qk,_.Pk],t_d=[0,_.qsa,n_d,_.Qk,_.Tk,r_d,_.Tk,g_d,_.Tk,k_d,_.Tk,e_d,-1,_.Pk,-2,_.Tk,l_d,_.Tk,s_d,-2,_.Pk,-3,4,_.Tk,e_d,_.Tk,p_d,_.Tk,_.FHa,3,$Zd,_.Pk,_.Nk,_.Rk,_.Pk,_.Tk,c_d,_.Pk,_.Tk,f_d,_.Tk,c_d,_.Rk,-1,_.Vk,-1,_.Qk,_.Tk,b_d,_.Vk,_.Pk,-2,1,_.Pk,_.Mk,1,_.lsa,_.Qk,_.Mk,_.Tk,
j_d,_.Tk,d_d,s_d,a_d,2,_.Mk,_.Tk,_.Iyc,_.HHa,_.Pk,-1,_.Tk,s_d,-1,_.Pk,-5,h_d,2,_.Tk,o_d,_.Tk,e_d,1,i_d,_.Pk,_.Vk,1,_.Pk,q_d,13,_.Tk,m_d],u_d=function(a){this.Ca=_.p(a)};_.P(u_d,_.w);var IRd=function(a){this.Ca=_.p(a)};_.P(IRd,_.w);var v_d=function(a){this.Ca=_.p(a)};_.P(v_d,_.w);v_d.prototype.getKey=function(){return _.E(this,2)};v_d.prototype.Gx=function(){return _.Hk(this,2)};w_d=[0,_.Qk,-1];_.x_d=function(a){this.Ca=_.p(a)};_.P(_.x_d,_.w);_.x_d.mb=[11];
_.x_d.prototype.H=_.Xb([0,_.Nk,-2,1,_.Nk,-1,_.Mk,-1,_.Pk,_.Nk,_.Tk,w_d,_.Mk,_.Nk,_.Pk]);var OQ=function(a){return _.Kj(a,v_d,11,_.Ff())},y_d=function(a,b){return _.tk(a,1,b)},z_d=function(a,b){return _.tk(a,2,b)},A_d=function(a,b){_.L(a,1,b)},B_d=function(a,b){_.L(a,5,b)},C_d=function(a,b){_.L(a,6,b)},D_d=function(a,b){return _.Mj(a,8,b)},lWd=function(a){this.Ca=_.p(a)};_.P(lWd,_.w);var yWd=function(a){this.Ca=_.p(a)};_.P(yWd,_.w);var xWd=function(a){this.Ca=_.p(a)};_.P(xWd,_.w);
var wWd=function(a){this.Ca=_.p(a)};_.P(wWd,_.w);var vWd=function(a){this.Ca=_.p(a)};_.P(vWd,_.w);vWd.prototype.qG=function(){return _.Aj(this,_.RHa)};
var aVd=function(a,b){return _.Mj(a,1,b)},XUd=function(a){var b=new _.wPd;return _.Mj(b,1,a)},UUd=function(a,b){_.Q(a,_.Fq,1,b)},WUd=function(a,b){_.Mj(a,2,b)},YUd=function(a,b){_.Tg(a,5,b)},ZUd=function(a,b){_.Q(a,_.Fq,6,b)},$Ud=function(a,b){_.Q(a,_.Fq,7,b)},uWd=function(a,b){_.Mj(a,1,b)},tWd=function(a,b){return _.L(a,2,b)},sWd=function(a,b){return _.Q(a,_.Gq,3,b)},rWd=function(a,b){return _.Ug(a,4,b)},MWd=function(a){this.Ca=_.p(a)};_.P(MWd,_.w);MWd.prototype.qG=function(){return _.Aj(this,_.UHa)};
var LWd=function(a,b){_.Mj(a,1,b)},KWd=function(a,b){return _.Q(a,_.Gq,2,b)},ZVd=function(a){this.Ca=_.p(a)};_.P(ZVd,_.w);var aWd=function(a){this.Ca=_.p(a)};_.P(aWd,_.w);var YVd=function(a){this.Ca=_.p(a)};_.P(YVd,_.w);var $Vd=function(a){this.Ca=_.p(a)};_.P($Vd,_.w);var WVd=function(a){this.Ca=_.p(a)};_.P(WVd,_.w);var XVd=function(a){this.Ca=_.p(a)};_.P(XVd,_.w);var VVd=function(a){this.Ca=_.p(a)};_.P(VVd,_.w);VVd.prototype.qG=function(){return _.Aj(this,_.WHa)};
var UVd=function(a,b){_.Mj(a,1,b)},bVd=function(a,b){return _.Q(a,_.Gq,4,b)},bWd=function(a,b){_.Q(a,_.Fq,5,b)},gWd=function(a){this.Ca=_.p(a)};_.P(gWd,_.w);var fWd=function(a){this.Ca=_.p(a)};_.P(fWd,_.w);var eWd=function(a){this.Ca=_.p(a)};_.P(eWd,_.w);eWd.prototype.qG=function(){return _.Aj(this,_.XHa)};var hWd=function(a,b){_.Mj(a,2,b)},dWd=function(a,b){_.Mj(a,4,b)},cWd=function(a,b){return _.Q(a,_.Gq,5,b)},GWd=function(a){this.Ca=_.p(a)};_.P(GWd,_.w);
GWd.prototype.qG=function(){return _.Aj(this,_.ZHa)};var FWd=function(a,b){_.Mj(a,1,b)},EWd=function(a,b){return _.Q(a,_.Gq,2,b)},mWd=function(a){this.Ca=_.p(a)};_.P(mWd,_.w);var kWd=function(a){this.Ca=_.p(a)};_.P(kWd,_.w);kWd.prototype.qG=function(){return _.Aj(this,_.$Ha)};kWd.prototype.Ph=function(a){return _.Lj(this,1,_.$Ha,a)};var jWd=function(a,b){_.Mj(a,2,b)},GUd=function(a,b){return _.Mj(a,3,b)},DWd=function(a){this.Ca=_.p(a)};_.P(DWd,_.w);var CWd=function(a){this.Ca=_.p(a)};_.P(CWd,_.w);
CWd.prototype.qG=function(){return _.Aj(this,_.aIa)};var BWd=function(a,b){_.Mj(a,1,b)},AWd=function(a,b){return _.L(a,2,b)},zWd=function(a,b){return _.Q(a,_.Gq,3,b)},qWd=function(a){this.Ca=_.p(a)};_.P(qWd,_.w);var pWd=function(a){this.Ca=_.p(a)};_.P(pWd,_.w);pWd.prototype.qG=function(){return _.Aj(this,_.bIa)};pWd.prototype.Ph=function(a){return _.Lj(this,1,_.bIa,a)};var oWd=function(a,b){_.Mj(a,2,b)},nWd=function(a,b){return _.Q(a,_.Gq,3,b)},QWd=function(a){this.Ca=_.p(a)};_.P(QWd,_.w);
var PWd=function(a){this.Ca=_.p(a)};_.P(PWd,_.w);PWd.prototype.qG=function(){return _.Aj(this,_.cIa)};var OWd=function(a,b){_.Mj(a,1,b)},NWd=function(a,b){return _.Mj(a,2,b)},JWd=function(a){this.Ca=_.p(a)};_.P(JWd,_.w);JWd.prototype.qG=function(){return _.Aj(this,_.eIa)};IWd=function(a,b){_.Mj(a,1,b)};HWd=function(a,b){return _.Q(a,_.Gq,2,b)};HUd=function(a,b){return _.Lj(a,3,_.Mq,b)};E_d=function(a,b){return _.Ug(a,4,b)};F_d=function(a,b){return _.Ug(a,5,b)};G_d=function(a,b){return _.Ug(a,6,b)};
H_d=function(a,b){return _.L(a,20,b)};vQd=function(a){return _.K(a,_.OHa,100)};I_d=function(a,b){return _.Q(a,_.PHa,109,b)};J_d=function(a,b){return _.Tg(a,149,b)};_.PQ=function(a){return _.Bj(a,_.x_d,34)};qTd=function(a){this.Ca=_.p(a)};_.P(qTd,_.w);qTd.prototype.we=function(){return _.z(this,1)};var K_d=function(a,b){return _.J(a,5,b)},sTd=function(a,b){return _.L(a,17,b)},pTd=function(a){this.Ca=_.p(a)};_.P(pTd,_.w);pTd.prototype.we=function(){return _.z(this,2)};var oTd=function(a){this.Ca=_.p(a)};
_.P(oTd,_.w);_.h=oTd.prototype;_.h.Lg=function(){return _.z(this,1)};_.h.Qk=function(a){return _.L(this,1,a)};_.h.getEmail=function(){return _.z(this,3)};_.h.Cp=function(){return _.Hk(this,3)};_.h.we=function(){return _.z(this,4)};var mTd=function(a){this.Ca=_.p(a)};_.P(mTd,_.w);mTd.prototype.Ot=function(){return _.z(this,1)};mTd.prototype.HT=function(){return _.Hk(this,1)};var nTd=[1,2,3],lTd=function(a){this.Ca=_.p(a)};_.P(lTd,_.w);lTd.prototype.oh=function(){return _.kk(this,mTd,1,nTd)};
var rSd=function(a){this.Ca=_.p(a)};_.P(rSd,_.w);rSd.prototype.ob=function(){return _.Wj(this,1)};rSd.prototype.Lb=function(a){return _.ub(this,1,_.cb(a),0)};var DSd=function(a){var b=(new _.Nr).Tb(6);return _.Tg(b,3,a)},L_d=function(a,b,c){if(b.length!==c.length)return!0;for(var d=0;d<b.length;d++)if(!a.H(b[d]||void 0,c[d]||void 0))return!0;return!1},M_d=function(a){this.Ca=_.p(a)};_.P(M_d,_.w);_.h=M_d.prototype;_.h.Cfa=function(){return _.ak(this,1,_.Ff())};
_.h.xm=function(a){return _.bk(this,1,a)};_.h.pA=function(){return _.N(this,2)};_.h.mf=function(a){return _.bk(this,5,a)};_.h.Vj=function(a){return _.wb(this,5,_.db,a,void 0,_.ak)};_.h.Ir=function(){return _.ri(this,7,0)};_.h.DJ=function(a){return _.I(this,7,a)};M_d.mb=[1,3,5];var N_d=function(a,b){_.J(a,2,b)},O_d=function(a,b){_.Ck(a,5,b)},P_d=function(a,b){_.Ug(a,6,b)},Q_d=function(a){this.Ca=_.p(a)};_.P(Q_d,_.w);Q_d.prototype.pA=function(){return _.N(this,1)};
Q_d.prototype.Ir=function(){return _.ri(this,5,0)};Q_d.prototype.DJ=function(a){return _.I(this,5,a)};Q_d.prototype.xs=function(a){return _.Ug(this,6,a)};var R_d=function(a,b){return _.J(a,1,b)},S_d=function(a,b){return _.I(a,3,b)},T_d=function(a,b){return _.I(a,4,b)},U_d=function(a){this.Ca=_.p(a)};_.P(U_d,_.w);var V_d=function(a){this.Ca=_.p(a)};_.P(V_d,_.w);V_d.prototype.getStatus=function(){return _.ri(this,1,0)};V_d.prototype.Tb=function(a){return _.I(this,1,a)};
V_d.prototype.qf=function(){return _.nk(this,1)};V_d.prototype.yc=function(){return _.Sj(this,4)};var W_d=function(a){this.Ca=_.p(a)};_.P(W_d,_.w);var X_d=function(a){this.Ca=_.p(a)};_.P(X_d,_.w);var Y_d=function(a){this.Ca=_.p(a)};_.P(Y_d,_.w);Y_d.prototype.pA=function(){return _.N(this,2)};var Z_d=function(a,b){_.I(a,1,b)},$_d=function(a){this.Ca=_.p(a)};_.P($_d,_.w);var a0d=function(a){this.Ca=_.p(a)};_.P(a0d,_.w);var b0d=function(a){this.Ca=_.p(a)};_.P(b0d,_.w);var c0d=function(a){this.Ca=_.p(a)};
_.P(c0d,_.w);c0d.prototype.JI=function(){return _.z(this,3)};c0d.prototype.lFa=function(){return _.ri(this,4,0)};var d0d=function(a){this.Ca=_.p(a)};_.P(d0d,_.w);var e0d=function(a){this.Ca=_.p(a)};_.P(e0d,_.w);e0d.prototype.WW=function(){return _.ri(this,1,0)};var f0d=function(a){this.Ca=_.p(a)};_.P(f0d,_.w);var g0d=function(a){this.Ca=_.p(a)};_.P(g0d,_.w);h0d=function(a,b){return _.yk(a,9,b)};i0d=function(a,b){return _.yk(a,10,b)};_.j0d=function(a,b){return _.Q(a,_.Se,17,b)};
k0d=function(a,b){return _.J(a,36,b)};l0d=function(a,b){return _.Mj(a,38,b)};m0d=[0,_.Qk,-1,_.Mk,_.Vk,_.Qk,[0,_.Pk,_.Qk],[0,_.Qk,-1,_.Pk,_.Mk],_.Mk,_.Pk];_.XP=function(a){this.Ca=_.p(a)};_.P(_.XP,_.w);_.XP.prototype.getTitle=function(){return _.E(this,1)};_.XP.prototype.Ag=function(){return _.E(this,1)};_.XP.prototype.setTitle=function(a){return _.L(this,1,a)};_.aYd=function(a,b){return _.Q(a,_.Se,2,b)};_.oZd=function(a){this.Ca=_.p(a)};_.P(_.oZd,_.w);_.h=_.oZd.prototype;
_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.Ie=function(){return _.vj(this,4)};_.h.Vh=function(a){return _.tk(this,4,a)};n0d=function(a,b){return _.L(a,2,b)};o0d=function(a,b){return _.Q(a,_.Er,3,b)};_.p0d=function(a,b){_.Q(a,_.Se,2,b)};q0d=_.Zb(_.rP);r0d=function(a){var b=new _.nP;return _.Q(b,_.Se,1,a)};kZd=function(a){return _.Kj(a,_.N_c,2,_.Ff())};s0d=function(a,b){return _.Q(a,_.PO,1,b)};
t0d=function(a,b){return _.Tg(a,2,b)};_.yEd=function(a){this.Ca=_.p(a)};_.P(_.yEd,_.w);_.yEd.prototype.qn=function(){return _.Zg(this,3)};var u0d=function(a){this.Ca=_.p(a)};_.P(u0d,_.w);u0d.prototype.getStatus=function(){return _.Ae(this,1)};u0d.prototype.Tb=function(a){return _.I(this,1,a)};u0d.prototype.qf=function(){return _.nk(this,1)};u0d.prototype.OAa=function(a){_.nf(this,2,_.Tp,a)};u0d.mb=[2];var v0d=function(a,b){return _.Mj(a,2,b)},w0d=function(a){this.Ca=_.p(a)};_.P(w0d,_.w);
w0d.prototype.getStatus=function(){return _.Ae(this,1)};w0d.prototype.Tb=function(a){return _.I(this,1,a)};w0d.prototype.qf=function(){return _.nk(this,1)};w0d.mb=[2];var x0d=function(a){this.Ca=_.p(a)};_.P(x0d,_.w);
var y0d=function(a,b){return _.Q(a,_.cf,1,b)},z0d=function(a,b){return _.Q(a,x0d,2,b)},A0d=function(a){for(var b=[],c=_.n(a.V),d=c.next();!d.done;d=c.next()){d=_.n(d.value);d.next();d=d.next().value;d=_.n(d);for(var e=d.next();!e.done;e=d.next())(e=e.value.Rq.config.timestamp)&&b.push(e)}a=_.n(a.ZB);for(d=a.next();!d.done;d=a.next()){c=[];d=_.n(d.value.requests);for(e=d.next();!e.done;e=d.next())(e=e.value.Rq.config.timestamp)&&c.push(e);_.Ca(b,c)}return b},B0d=function(a,b){a.Da=b},C0d=function(a){return a.H?
a.H.promise:a.O()?(a.H=new _.By,a.H.promise):null},D0d=function(a,b){return v0d(new u0d,(b.items||[]).map(function(c){return _.INd(a,c)}))},E0d=function(a,b){return G_d(F_d(E_d(_.eHd(_.cHd(new _.Nq,b.entryCount),(b.selectPermissions||[]).map(function(c){return _.INd(a,c)})),b.memberCount),b.userEntryCount),b.groupEntryCount)},F0d=function(a){var b=_.K(_.oQ(a),M_d,3);b||(b=new M_d,a=_.oQ(a),_.Q(a,M_d,3,b));return b},G0d=function(a){var b=_.K(_.oQ(a),Q_d,16);b||(b=new Q_d,a=_.oQ(a),_.Q(a,Q_d,16,b));
return b},H0d=function(a){var b=_.K(_.oQ(a),a0d,7);b||(b=new a0d,a=_.oQ(a),_.Q(a,a0d,7,b));return b},I0d=function(a){var b=_.K(_.oQ(a),f0d,12);b||(b=new f0d,a=_.oQ(a),_.Q(a,f0d,12,b));return b},J0d=function(a){var b=_.K(_.oQ(a),Y_d,17);b||(b=new Y_d,a=_.oQ(a),_.Q(a,Y_d,17,b));return b},K0d=function(a){var b=_.K(_.oQ(a),X_d,22);b||(b=new X_d,a=_.oQ(a),_.Q(a,X_d,22,b));return b},L0d=function(a){var b=_.K(_.oQ(a),V_d,24);b||(b=new V_d,a=_.oQ(a),_.Q(a,V_d,24,b));return b},M0d=function(a){if(a.O&&a.state.Hg()){var b=
_.jm();a.Ba.push(b);b.promise.then(function(){},function(){_.TFd(a.Ga,186469046)});setTimeout(function(){_.xa(a.Ba,b)&&b.reject(Error())},5E3)}},N0d=function(a){a.O&&_.kPd(a)&&(a=a.O,a.H.LZ()&&a.H.Lka())},O0d=function(){var a=new _.qQ;return _.J(a,5,!0)},P0d=function(){var a=new _.yEd,b=_.Ve(new _.Se,301);return _.Q(a,_.Se,1,b)},Q0d=function(a){this.Ca=_.p(a)};_.P(Q0d,_.w);var R0d=function(a){this.Ca=_.p(a)};_.P(R0d,_.w);
var S0d=function(a,b){return _.Tg(a,1,b)},T0d=function(a,b){return _.Tg(a,2,b)},U0d=function(a,b){a.H.has(null)||a.H.set(null,new _.FPd);var c=a.H.get(null);if(_.GPd(c,T0d(S0d(new R0d,b+1),b))){var d=c.wl();d&&a.O.then(function(e){e.cancel(d)})}},V0d=function(a,b,c,d,e){if(e===0||b===null){var f=new Q0d;_.Tg(f,2,b);_.Ug(f,1,d);return _.gm(f)}var g=P0d();_.Tg(g,2,b);c&&_.L(g,3,c);return a.O.then(function(k){return k.Nh(g)}).then(function(k){var l,m=(l=_.Yg(k,2))!=null?l:null,q;k=d+((q=_.Rj(k,1))!=
null?q:0);return V0d(a,m,c,k,e-1)})},X0d=function(a){for(var b=_.n(W0d),c=b.next();!c.done;c=b.next()){var d=a;c=c.value;var e=c.key;if(d.H.has(e)){if(d.H.get(e)!==c)throw Error("Rg`"+String(e));}else if(d.H.set(c.key,c),c.config){e=c.key;var f=c.config;d.O.validate(f);d.Re.has(e)?d.Re.set(e,d.O.tN(d.Re.get(e),f)):d.Re.set(e,f);delete c.config}}},Y0d=function(a){if(a.length<=8192)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Array.prototype.slice.call(a,
c,c+8192));return b},oQd=function(a,b,c){var d=Error.call(this,a+" was requested as a "+b+', but the response Content-Type, "'+c+" is not appropriate for this type of content.");this.message=d.message;"stack"in d&&(this.stack=d.stack);this.url=a;this.Vaa=b;this.contentType=c};_.P(oQd,Error);var Z0d=_.Zb(_.Wp),$0d=function(a){this.Ca=_.p(a)};_.P($0d,_.w);$0d.prototype.dh=function(){return _.z(this,1)};$0d.prototype.Kj=function(a){return _.Sb(this,1,a)};
$0d.prototype.getUrl=function(){return _.z(this,2)};var vRd=function(a){this.Ca=_.p(a)};_.P(vRd,_.w);vRd.prototype.getType=function(){return _.ri(this,1,0)};vRd.prototype.Eb=function(a){return _.vk(this,1,a)};vRd.prototype.getContext=function(){return _.K(this,$0d,2)};vRd.prototype.Oh=function(a){return _.Q(this,$0d,2,a)};var a1d=function(a){this.Ca=_.p(a)};_.P(a1d,_.w);a1d.prototype.Xb=function(){return _.z(this,1)};a1d.prototype.Jc=function(a){return _.Sb(this,1,a)};
a1d.prototype.getTitle=function(){return _.z(this,3)};a1d.prototype.setTitle=function(a){return _.Sb(this,3,a)};a1d.mb=[2,4];var ARd=function(a){this.Ca=_.p(a)};_.P(ARd,_.w);ARd.mb=[1];var b1d=function(a){this.Ca=_.p(a)};_.P(b1d,_.w);var c1d=function(a){this.Ca=_.p(a)};_.P(c1d,_.w);var d1d=function(a){this.Ca=_.p(a)};_.P(d1d,_.w);var e1d=function(a){this.Ca=_.p(a)};_.P(e1d,_.w);var f1d=function(a){this.Ca=_.p(a)};_.P(f1d,_.w);f1d.prototype.we=function(){return _.z(this,3)};
f1d.prototype.Lg=function(){return _.z(this,4)};f1d.prototype.Qk=function(a){return _.Sb(this,4,a)};var g1d=function(a){this.Ca=_.p(a)};_.P(g1d,_.w);var h1d=[2,3,4],$Q=function(a){this.Ca=_.p(a)};_.P($Q,_.w);var i1d=function(a){this.Ca=_.p(a)};_.P(i1d,_.w);var j1d=function(a){this.Ca=_.p(a)};_.P(j1d,_.w);var k1d=function(a){this.Ca=_.p(a)};_.P(k1d,_.w);var l1d=function(a){this.Ca=_.p(a)};_.P(l1d,_.w);l1d.mb=[1];var m1d=[8,9,10,11,12,13,14,15,17],xRd=function(a){this.Ca=_.p(a)};_.P(xRd,_.w);
xRd.prototype.getStatus=function(){return _.ri(this,6,0)};xRd.prototype.Tb=function(a){return _.vk(this,6,a)};xRd.mb=[3,5];var n1d=function(a){this.Ca=_.p(a)};_.P(n1d,_.w);var o1d=function(a){this.Ca=_.p(a)};_.P(o1d,_.w);var p1d=function(a){this.Ca=_.p(a)};_.P(p1d,_.w);var q1d=[1,2,3],rRd=function(a){this.Ca=_.p(a)};_.P(rRd,_.w);rRd.mb=[7];var r1d=function(a){this.Ca=_.p(a)};_.P(r1d,_.w);var s1d=function(a){this.Ca=_.p(a)};_.P(s1d,_.w);s1d.prototype.getType=function(){return _.ri(this,6,0)};
s1d.prototype.Eb=function(a){return _.vk(this,6,a)};var t1d=function(a){this.Ca=_.p(a)};_.P(t1d,_.w);var u1d=[8,9,10],v1d=function(a){this.Ca=_.p(a)};_.P(v1d,_.w);_.h=v1d.prototype;_.h.getName=function(){return _.z(this,1)};_.h.jd=function(a){return _.Sb(this,1,a)};_.h.getTitle=function(){return _.z(this,2)};_.h.setTitle=function(a){return _.Sb(this,2,a)};_.h.getMimeType=function(){return _.z(this,6)};var w1d=function(a){this.Ca=_.p(a)};_.P(w1d,_.w);
w1d.prototype.getName=function(){return _.z(this,1)};w1d.prototype.jd=function(a){return _.Sb(this,1,a)};w1d.prototype.getTitle=function(){return _.z(this,2)};w1d.prototype.setTitle=function(a){return _.Sb(this,2,a)};var x1d=[1,3],y1d=function(a){this.Ca=_.p(a)};_.P(y1d,_.w);var z1d=function(a){this.Ca=_.p(a)};_.P(z1d,_.w);var A1d=function(a){this.Ca=_.p(a)};_.P(A1d,_.w);var B1d=function(a){this.Ca=_.p(a)};_.P(B1d,_.w);var C1d=[1,2,3],kRd=function(a){this.Ca=_.p(a)};_.P(kRd,_.w);
var sRd=function(a){this.Ca=_.p(a)};_.P(sRd,_.w);sRd.prototype.getType=function(){return _.ri(this,1,0)};sRd.prototype.Eb=function(a){return _.vk(this,1,a)};sRd.mb=[2,3];var oRd=function(a){this.Ca=_.p(a)};_.P(oRd,_.w);oRd.prototype.getType=function(){return _.ri(this,1,0)};oRd.prototype.Eb=function(a){return _.vk(this,1,a)};var uRd=function(a){this.Ca=_.p(a)};_.P(uRd,_.w);uRd.prototype.getType=function(){return _.ri(this,1,0)};uRd.prototype.Eb=function(a){return _.vk(this,1,a)};
var lRd=function(a){this.Ca=_.p(a)};_.P(lRd,_.w);var CRd=function(a){this.Ca=_.p(a)};_.P(CRd,_.w);var yRd=function(a){this.Ca=_.p(a)};_.P(yRd,_.w);var D1d=function(a){this.Ca=_.p(a)};_.P(D1d,_.w);D1d.prototype.getParent=function(){return _.K(this,y1d,1)};D1d.prototype.Xg=function(a){return _.Q(this,y1d,1,a)};D1d.prototype.jp=function(){return _.oj(this,y1d,1)};var E1d=function(a){this.Ca=_.p(a)};_.P(E1d,_.w);E1d.mb=[1,2];var F1d=function(a){this.Ca=_.p(a)};_.P(F1d,_.w);
var mRd=function(a){this.Ca=_.p(a)};_.P(mRd,_.w);mRd.mb=[1,2,4];var G1d=function(a){this.Ca=_.p(a)};_.P(G1d,_.w);var H1d=function(a){this.Ca=_.p(a)};_.P(H1d,_.w);H1d.prototype.getName=function(){return _.z(this,1)};H1d.prototype.jd=function(a){return _.Sb(this,1,a)};var I1d=function(a){this.Ca=_.p(a)};_.P(I1d,_.w);I1d.prototype.getEmail=function(){return _.z(this,1)};I1d.prototype.getTitle=function(){return _.z(this,2)};I1d.prototype.setTitle=function(a){return _.Sb(this,2,a)};
var J1d=[2,3,4,5],K1d=function(a){this.Ca=_.p(a)};_.P(K1d,_.w);K1d.prototype.Wi=function(){return _.ri(this,1,0)};K1d.prototype.oh=function(){return _.kk(this,$Q,2,J1d)};var qRd=function(a){this.Ca=_.p(a)};_.P(qRd,_.w);qRd.mb=[1,2,3,4];var L1d=function(a){this.Ca=_.p(a)};_.P(L1d,_.w);var BRd=function(a){this.Ca=_.p(a)};_.P(BRd,_.w);var nRd=function(a){this.Ca=_.p(a)};_.P(nRd,_.w);var pRd=function(a){this.Ca=_.p(a)};_.P(pRd,_.w);pRd.prototype.getType=function(){return _.ri(this,1,0)};
pRd.prototype.Eb=function(a){return _.vk(this,1,a)};var M1d=function(a){this.Ca=_.p(a)};_.P(M1d,_.w);M1d.prototype.getFeature=function(){return _.ri(this,1,0)};var wRd=function(a){this.Ca=_.p(a)};_.P(wRd,_.w);wRd.mb=[1];var zRd=function(a){this.Ca=_.p(a)};_.P(zRd,_.w);var N1d=function(a){this.Ca=_.p(a)};_.P(N1d,_.w);var tRd=function(a){this.Ca=_.p(a)};_.P(tRd,_.w);tRd.prototype.getType=function(){return _.ri(this,1,0)};tRd.prototype.Eb=function(a){return _.vk(this,1,a)};
var GQ=[1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,18,19,20,21,22,23],QXd=function(a){this.Ca=_.p(a)};_.P(QXd,_.w);QXd.prototype.ir=function(){return _.kk(this,tRd,10,GQ)};var O1d=function(a){this.Ca=_.p(a)};_.P(O1d,_.w);O1d.prototype.getType=function(){return _.ri(this,2,0)};O1d.prototype.Eb=function(a){return _.vk(this,2,a)};var P1d=function(a){this.Ca=_.p(a)};_.P(P1d,_.w);var Q1d=function(a){this.Ca=_.p(a)};_.P(Q1d,_.w);var R1d=function(a){this.Ca=_.p(a)};_.P(R1d,_.w);var S1d=function(a){this.Ca=_.p(a)};
_.P(S1d,_.w);S1d.prototype.getType=function(){return _.ri(this,1,0)};S1d.prototype.Eb=function(a){return _.vk(this,1,a)};var T1d=[1,2,3,4,5],U1d=function(a){this.Ca=_.p(a)};_.P(U1d,_.w);U1d.prototype.oh=function(){return _.kk(this,$Q,1,T1d)};var V1d=function(a){this.Ca=_.p(a)};_.P(V1d,_.w);V1d.prototype.cV=function(a){_.Q(this,_.Np,1,a)};V1d.prototype.ZW=function(){return _.K(this,_.Np,2)};V1d.prototype.QN=function(a){_.Q(this,_.Np,2,a)};var W1d=[1,4],X1d=function(a){this.Ca=_.p(a)};_.P(X1d,_.w);
X1d.prototype.oh=function(){return _.kk(this,$Q,1,W1d)};var Y1d=[8,9,10],Z1d=function(a){this.Ca=_.p(a)};_.P(Z1d,_.w);_.h=Z1d.prototype;_.h.getName=function(){return _.z(this,1)};_.h.jd=function(a){return _.Sb(this,1,a)};_.h.getTitle=function(){return _.z(this,2)};_.h.setTitle=function(a){return _.Sb(this,2,a)};_.h.Dk=function(){_.lj(this);return _.Cra(this,5)};_.h.getMimeType=function(){return _.z(this,6)};_.h.dF=function(){return _.K(this,X1d,7)};var $1d=function(a){this.Ca=_.p(a)};_.P($1d,_.w);
_.h=$1d.prototype;_.h.getName=function(){return _.z(this,1)};_.h.jd=function(a){return _.Sb(this,1,a)};_.h.getTitle=function(){return _.z(this,2)};_.h.setTitle=function(a){return _.Sb(this,2,a)};_.h.Fa=function(){return _.K(this,Z1d,3)};var a2d=function(a){this.Ca=_.p(a)};_.P(a2d,_.w);a2d.prototype.getParent=function(){return _.K(this,Z1d,4)};a2d.prototype.Xg=function(a){return _.Q(this,Z1d,4,a)};a2d.prototype.jp=function(){return _.oj(this,Z1d,4)};var b2d=[1,3,5],c2d=function(a){this.Ca=_.p(a)};
_.P(c2d,_.w);var d2d=[5,6],e2d=function(a){this.Ca=_.p(a)};_.P(e2d,_.w);e2d.prototype.xm=function(){return _.K(this,O1d,2)};e2d.prototype.tm=function(a){return _.Q(this,c2d,4,a)};e2d.prototype.qA=function(){return _.kk(this,_.Np,5,d2d)};e2d.prototype.Uy=function(a){_.Lj(this,5,d2d,a)};var f2d=[6,7],g2d=function(a){this.Ca=_.p(a)};_.P(g2d,_.w);g2d.prototype.qA=function(){return _.kk(this,_.Np,6,f2d)};g2d.prototype.Uy=function(a){_.Lj(this,6,f2d,a)};g2d.mb=[3,4,5];
var h2d=_.Pfa(m0d),FQd=function(a){this.Ca=_.p(a)};_.P(FQd,_.w);_.h=FQd.prototype;_.h.getType=function(){return _.Ae(this,1)};_.h.Eb=function(a){return _.I(this,1,a)};_.h.RK=function(){return _.Rj(this,3)};_.h.E3=function(a){_.Ug(this,3,a)};_.h.Eo=function(){return _.Rj(this,4)};_.h.setPosition=function(a){return _.Ug(this,4,a)};var i2d=_.cc(_.Oq),j2d=_.cc(_.xg),k2d=_.pcc(t_d),l2d=[0,_.Vk,_.Pk,_.Qk,_.Rk,_.Qk,-1,_.Rk,_.Mk,_.lsa],m2d=[0,_.Xp,l2d],n2d=function(a){this.Ca=_.p(a)};_.P(n2d,_.w);_.h=n2d.prototype;
_.h.oh=function(){return _.K(this,_.Tp,1)};_.h.HH=function(a){_.I(this,2,a)};_.h.setBooleanValue=function(a){return _.J(this,3,a)};_.h.setTextValue=function(a){return _.L(this,4,a)};_.h.KLa=function(a){return _.yk(this,5,a)};_.h.addTextValues=function(a,b){return _.zk(this,5,a,b)};_.h.setTextValues=function(a,b){return _.Ak(this,5,a,b)};_.h.setSelectionValue=function(a){return _.L(this,6,a)};_.h.HLa=function(a){return _.yk(this,7,a)};_.h.addSelectionValues=function(a,b){return _.zk(this,7,a,b)};
_.h.setSelectionValues=function(a,b){return _.Ak(this,7,a,b)};_.h.setIntegerValue=function(a){return _.Tg(this,8,a)};_.h.yLa=function(a){return _.Ida(this,9,a,_.fb)};_.h.addIntegerValues=function(a,b){return _.vb(this,9,_.fb,a,b)};_.h.setIntegerValues=function(a,b){return _.wb(this,9,_.fb,a,b,_.Qj)};n2d.mb=[5,7,9];var o2d=[0,_.Xp,_.Vk,_.Pk,_.Qk,_.Rk,_.Qk,_.Rk,_.Mk,_.lsa],p2d=function(a){this.Ca=_.p(a)};_.P(p2d,_.w);_.h=p2d.prototype;_.h.HH=function(a){_.I(this,4,a)};
_.h.setBooleanValue=function(a){return _.J(this,5,a)};_.h.setTextValue=function(a){return _.L(this,6,a)};_.h.e2b=function(){return _.Zg(this,6)};_.h.KLa=function(a){return _.yk(this,7,a)};_.h.addTextValues=function(a,b){return _.zk(this,7,a,b)};_.h.setTextValues=function(a,b){return _.Ak(this,7,a,b)};_.h.setLongTextValue=function(a){return _.L(this,8,a)};_.h.Hhc=function(){return _.Zg(this,8)};_.h.d2b=function(){return _.E(this,9)};_.h.setSelectionValue=function(a){return _.L(this,9,a)};
_.h.hhb=function(){return _.Xj(this,10,_.Ff())};_.h.HLa=function(a){return _.yk(this,10,a)};_.h.addSelectionValues=function(a,b){return _.zk(this,10,a,b)};_.h.setSelectionValues=function(a,b){return _.Ak(this,10,a,b)};_.h.setIntegerValue=function(a){return _.Tg(this,11,a)};_.h.c2b=function(){return _.Yg(this,11)};_.h.yLa=function(a){return _.Ida(this,12,a,_.fb)};_.h.addIntegerValues=function(a,b){return _.vb(this,12,_.fb,a,b)};_.h.setIntegerValues=function(a,b){return _.wb(this,12,_.fb,a,b,_.Qj)};
_.h.f2b=function(){return _.K(this,_.Tp,15)};_.h.setUserValue=function(a){return _.Q(this,_.Tp,15,a)};_.h.Asb=function(){return _.Kj(this,_.Tp,16,_.Ff())};var q2d=function(a,b){_.Mj(a,16,b)};_.h=p2d.prototype;_.h.addUserValues=function(a,b){return _.nf(this,16,_.Tp,a,b)};_.h.setUserValues=function(a,b){return _.uj(this,16,_.Tp,a,b)};_.h.Oqb=function(){return _.E(this,17)};_.h.setDateStringValue=function(a){return _.L(this,17,a)};_.h.hpc=function(){return _.Hk(this,17)};
var r2d=function(a,b){_.Mj(a,13,b)};_.h=p2d.prototype;_.h.getId=function(){return _.E(this,14)};_.h.vRa=function(){return _.E(this,14)};_.h.Bb=function(a){return _.L(this,14,a)};_.h.Pb=function(){return _.Zg(this,14)};_.h.getName=function(){return _.E(this,1)};_.h.jd=function(a){return _.L(this,1,a)};p2d.mb=[7,10,12,16,13,3];var s2d=[0,_.Qk,l2d,_.Tk,m2d,_.Vk,_.Pk,_.Qk,_.Rk,_.Qk,-1,_.Rk,_.Mk,_.lsa,_.Tk,o2d,_.Qk,_.Xp,_.Tk,_.Xp,_.Qk],CQ=function(a){this.Ca=_.p(a)};_.P(CQ,_.w);
CQ.prototype.getName=function(){return _.E(this,1)};CQ.prototype.H=function(){return _.E(this,1)};CQ.prototype.jd=function(a){return _.L(this,1,a)};CQ.prototype.TDa=function(){return _.Kj(this,p2d,2,_.Ff())};var t2d=function(a,b){_.Mj(a,2,b)};CQ.prototype.kd=function(){return _.E(this,3)};var u2d=function(a,b){return _.L(a,3,b)};CQ.mb=[2];var v2d=[0,_.Qk,_.Tk,s2d,_.Qk],HQd=function(a){this.Ca=_.p(a)};_.P(HQd,_.w);_.h=HQd.prototype;_.h.getType=function(){return _.Ae(this,1)};
_.h.Eb=function(a){return _.I(this,1,a)};_.h.RK=function(){return _.Rj(this,3)};_.h.E3=function(a){_.Ug(this,3,a)};_.h.Eo=function(){return _.Rj(this,4)};_.h.setPosition=function(a){return _.Ug(this,4,a)};var SQ=function(a){this.Ca=_.p(a)};_.P(SQ,_.w);SQ.prototype.H=function(){return _.K(this,_.Fr,1)};SQ.prototype.O=function(){return _.K(this,_.Fr,2)};SQ.prototype.V=function(){return _.K(this,_.Fr,3)};var w2d=_.cc(_.Gr),x2d=_.Zb(_.Mr),y2d=function(a){this.Ca=_.p(a)};_.P(y2d,_.w);
var z2d=function(a){this.Ca=_.p(a)};_.P(z2d,_.w);var A2d=function(a){this.Ca=_.p(a)};_.P(A2d,_.w);A2d.prototype.we=function(){return _.z(this,1)};var bXd=function(a){this.Ca=_.p(a)};_.P(bXd,_.w);bXd.prototype.FT=function(){return _.Fk(this,1)};var ZWd=function(a){this.Ca=_.p(a)};_.P(ZWd,_.w);ZWd.prototype.wd=function(){return _.N(this,1)};ZWd.prototype.ue=function(a){return _.J(this,1,a)};var YWd=function(a){this.Ca=_.p(a)};_.P(YWd,_.w);YWd.prototype.Dx=function(){_.lj(this);return _.Uj(this,1)};
var XWd=function(a){this.Ca=_.p(a)};_.P(XWd,_.w);XWd.prototype.we=function(){return _.z(this,1)};XWd.prototype.dh=function(){return _.z(this,2)};XWd.prototype.Kj=function(a){return _.L(this,2,a)};var WWd=function(a){this.Ca=_.p(a)};_.P(WWd,_.w);_.h=WWd.prototype;_.h.getId=function(){return _.z(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getProperties=function(){return _.K(this,XWd,2)};_.h.setProperties=function(a){return _.Q(this,XWd,2,a)};
var SWd=function(a){this.Ca=_.p(a)};_.P(SWd,_.w);var TWd=function(a,b){_.Q(a,bXd,1,b)},VWd=function(a,b){return _.Mj(a,2,b)};SWd.mb=[2];var B2d=function(a){this.Ca=_.p(a)};_.P(B2d,_.w);B2d.prototype.H=function(a){return _.Ug(this,1,a)};B2d.prototype.QP=function(){return _.Sj(this,2)};B2d.prototype.Qia=function(a){return _.Ug(this,2,a)};var C2d=function(a){this.Ca=_.p(a)};_.P(C2d,_.w);var D2d=[2,3,4,5,6,7],E2d=function(a){this.Ca=_.p(a)};_.P(E2d,_.w);_.h=E2d.prototype;
_.h.getId=function(){return _.z(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getProperties=function(){return _.K(this,A2d,8)};_.h.setProperties=function(a){return _.Q(this,A2d,8,a)};var aR=function(a){this.Ca=_.p(a)};_.P(aR,_.w);aR.prototype.getId=function(){return _.z(this,1)};aR.prototype.Bb=function(a){return _.L(this,1,a)};aR.prototype.Pb=function(){return _.Zg(this,1)};
var F2d=function(a,b){return _.L(a,2,b)},G2d=function(a,b){_.Mj(a,3,b)},H2d=function(a,b){return _.L(a,4,b)};aR.prototype.getTitle=function(){return _.z(this,6)};aR.prototype.setTitle=function(a){return _.L(this,6,a)};aR.mb=[3];var I2d=_.Zb(_.Nr),DQ=function(a){this.Ca=_.p(a)};_.P(DQ,_.w);var JXd=function(a,b){return _.L(a,1,b)};_.h=DQ.prototype;_.h.q2b=function(){return _.Zg(this,1)};_.h.getTitle=function(){return _.E(this,2)};_.h.Ag=function(){return _.E(this,2)};
_.h.setTitle=function(a){return _.L(this,2,a)};_.h.r2b=function(){return _.Zg(this,2)};_.h.Gd=function(a){return _.Kj(this,_.Oq,3,_.Ff(a))};var HXd=function(a,b){return _.Mj(a,3,b)};DQ.prototype.Nj=function(a,b){return _.nf(this,3,_.Oq,a,b)};DQ.prototype.setItem=function(a,b){return _.uj(this,3,_.Oq,a,b)};var IXd=function(a,b){return _.L(a,4,b)};DQ.prototype.O=function(){return _.Zg(this,4)};DQ.prototype.H=function(){return _.K(this,_.Gq,5)};var GXd=function(a,b){return _.Q(a,_.Gq,5,b)};DQ.mb=[3];
var J2d=[0,_.Qk,-1,_.Tk,_.tIa,_.Qk,_.dr],JQd=function(a){this.Ca=_.p(a)};_.P(JQd,_.w);_.h=JQd.prototype;_.h.getType=function(){return _.Ae(this,1)};_.h.Eb=function(a){return _.I(this,1,a)};_.h.jr=function(){return _.K(this,DQ,2)};_.h.RK=function(){return _.Rj(this,3)};_.h.E3=function(a){_.Ug(this,3,a)};_.h.Eo=function(){return _.Rj(this,4)};_.h.setPosition=function(a){return _.Ug(this,4,a)};var K2d=[0,_.Qk,-1,_.Mk,-1,_.Vk,_.Mk],LQd=function(a){this.Ca=_.p(a)};_.P(LQd,_.w);_.h=LQd.prototype;
_.h.getType=function(){return _.Ae(this,1)};_.h.Eb=function(a){return _.I(this,1,a)};_.h.jr=function(){return _.K(this,_.XN,2)};_.h.RK=function(){return _.Rj(this,3)};_.h.E3=function(a){_.Ug(this,3,a)};_.h.Eo=function(){return _.Rj(this,4)};_.h.setPosition=function(a){return _.Ug(this,4,a)};
var rQd=[1004,1005,62,1002],L2d=function(a){this.Td=a},M2d=function(a,b,c,d){if(b.H===c)return b;a.Td.Kf(d).info("Backfill status "+b.H+"->"+c+" "+b.getId());b.H=c;return b},BQd=[1002,1005],N2d=function(a,b){switch(b.ordinal()){case 0:_.J(a,1,!0);return;case 1:_.J(a,2,!0);return;case 2:_.J(a,3,!0);return;case 3:_.J(a,4,!0);return;case 4:_.J(a,6,!0);return;case 5:_.J(a,5,!0);return}throw _.Y0a('Unable to map FolderFeature "'+_.cn(b)+'" to FolderProperties field').ub;},O2d=function(a){switch(a){case "plusMediaFolderRoot":return _.QMa;
case "plusMediaFolder":return _.RMa;case "machineRoot":return _.SMa;case "arbitrarySyncFolder":return _.TMa;case "photosAndVideosOnly":return _.UMa;case "externalMedia":return _.VMa;default:throw _.Y0a('Unable to map "'+_.cn(a)+'" to FolderFeature').ub;}},P2d=function(){this.map={};this.status=6;this.oe=null;this.H=void 0};_.h=P2d.prototype;_.h.getStatus=function(){return this.status};_.h.Tb=function(a){this.status=a};_.h.mf=function(){return this.oe};_.h.Vj=function(a){this.oe=a};_.h.Dn=function(){return this.map};
var Q2d=function(a,b){a.map=b};P2d.prototype.Fc=function(a){for(var b=[],c=_.n(Object.entries(this.map)),d=c.next();!d.done;d=c.next()){var e=_.n(d.value);d=e.next().value;e=e.next().value;b.push({k:d,v:e?a(e):null})}return JSON.stringify({s:this.status,d:this.oe,me:b,c:this.H})};
var R2d=function(a,b,c){c=JSON.parse(c);a.Tb(c.s);a.Vj(c.d);for(var d={},e=_.n(c.me),f=e.next();!f.done;f=e.next())f=f.value,d[f.k]=f.v?b(f.v):null;a.map=d;typeof c.c==="number"&&(a.H=c.c)},S2d=function(){P2d.apply(this,arguments)};_.P(S2d,P2d);var HQ=function(){P2d.apply(this,arguments)};_.P(HQ,P2d);var NQd=function(a,b){_.lpb.call(this,a,b)};_.P(NQd,_.lpb);
var T2d=function(a,b,c,d,e,f){_.CA.call(this,c,b.H(f));var g=this;this.V=a;this.W=d;this.ma=e;this.request=f;this.H={};this.items={};this.status=6;this.O=_.Ur(new _.Tr,[1]);this.addOnDisposeCallback(function(){g.H={}});_.Zpb++};_.P(T2d,_.CA);_.h=T2d.prototype;_.h.Cba=function(){_.Bc(this.items)&&this.status===6||U2d(this)};_.h.BH=function(){return"sync.IdViewCacheLiveMap"};_.h.ee=function(){return this.request};
_.h.getData=function(){this.H=this.items;var a=new HQ;_.zP(this.V)?a.Tb(DQd(Object.values(this.items))?6:this.status):a.Tb(this.status);a.map=this.items;return a};_.h.Ls=function(){var a=OQd(this.H,this.items),b=new S2d;b.Tb(this.status);Q2d(b,Object.entries(a).reduce(function(c,d){var e=_.n(d);d=e.next().value;e=e.next().value;c[d]=_.ila(e);return c},{}));this.H=this.items;return b};_.h.getStatus=function(){return this.status};_.h.gt=function(){return this.O};
_.h.pO=function(a){V2d(a);var b=this.request;this.request=a;this.ma(this.Cy(),b,a)};_.h.update=function(a,b){var c=this;_.sa(this.ee().Lh(),"root")>=0?this.W.addCallback(function(d){var e=a.Dn()[d];e&&(delete a.map[d],a.map.root=e);W2d(c,a,b)}):W2d(this,a,b)};var W2d=function(a,b,c){if(a.status!==b.getStatus()||PQd(a.items,b.Dn()))a.status=b.getStatus(),a.items=b.Dn(),a.O.Sy(c),_.zP(a.V)&&_.Ur(a.O,_.kla(a.status,Object.values(a.items))),U2d(a)};
T2d.prototype.hF=function(a){this.dispatchEvent(new _.xf(new _.wf("Error occurred running a find-by-IDs query after "+a.retryCount+" retries.",a.error)))};var U2d=function(a){if(a.isActive()){var b=_.Hc(_.tKa)[_.ri(a.gt(),2,0)];a.log("returning "+Object.values(a.items).length+" items. Status: "+(_.Hc(_.kKa)[a.getStatus()]+" CacheState: ")+(b+" ")+_.mla(Object.values(a.items)));a.dispatchEvent(new _.sm(_.uh,a))}};T2d.prototype.wb=function(){_.$pb++;_.CA.prototype.wb.call(this)};X2d=_.Zb(_.oF);
Y2d=_.Zb(_.pF);Z2d=_.Zb(_.m0c);$2d=_.Zb(_.KO);a3d=_.Zb(_.eO);b3d=_.Zb(_.PO);c3d=_.cc(_.rP);d3d=_.Zb(_.SP);GTd=_.Zb(_.XP);e3d=_.Zb(_.NO);f3d=_.Zb(_.lP);NTd=_.Zb(_.sO);KTd=_.Zb(_.pP);_.XQ=function(a){this.Ca=_.p(a)};_.P(_.XQ,_.w);_.XQ.prototype.getType=function(){return _.Ae(this,1)};_.XQ.prototype.Eb=function(a){return _.I(this,1,a)};_.XQ.prototype.kd=function(){return _.E(this,2)};_.XQ.mb=[3];g3d=_.Zb(_.SAd);h3d=_.Zb(_.QN);i3d=_.Zb(_.lBd);j3d=_.Zb(_.DO);_.IO=function(a){this.Ca=_.p(a)};_.P(_.IO,_.w);
_.IO.prototype.H=function(){return _.E(this,1)};k3d=_.Zb(_.IO);_.vEd=function(a){this.Ca=_.p(a)};_.P(_.vEd,_.w);l3d=_.Zb(_.vEd);_.TO=function(a){this.Ca=_.p(a)};_.P(_.TO,_.w);_.TO.prototype.H=function(){return _.E(this,1)};m3d=_.Zb(_.TO);_.iP=function(a){this.Ca=_.p(a)};_.P(_.iP,_.w);_.iP.prototype.H=function(){return _.E(this,1)};n3d=_.Zb(_.iP);_.JO=function(a){this.Ca=_.p(a)};_.P(_.JO,_.w);_.JO.prototype.getId=function(){return _.E(this,1)};_.JO.prototype.Bb=function(a){return _.L(this,1,a)};
_.JO.prototype.Pb=function(){return _.Zg(this,1)};o3d=_.Zb(_.JO);_.WO=function(a){this.Ca=_.p(a)};_.P(_.WO,_.w);_.WO.prototype.getId=function(){return _.E(this,1)};_.WO.prototype.Bb=function(a){return _.L(this,1,a)};_.WO.prototype.Pb=function(){return _.Zg(this,1)};p3d=_.Zb(_.WO);q3d=_.Zb(_.fO);r3d=_.Zb(_.yEd);s3d=_.Zb(_.FO);t3d=_.Zb(_.uEd);u3d=_.Zb(_.jP);v3d=_.Zb(_.QO);_.cYd=function(a){this.Ca=_.p(a)};_.P(_.cYd,_.w);_.cYd.prototype.getFeature=function(){return _.Ae(this,1)};
_.WP=function(a){this.Ca=_.p(a)};_.P(_.WP,_.w);_.WP.mb=[1];var w3d=_.Zb(_.WP),x3d=_.Zb(_.BO),y3d=_.Zb(_.CO),JQ=function(a){this.Ca=_.p(a)};_.P(JQ,_.w);JQ.prototype.getId=function(){return _.E(this,1)};JQ.prototype.Cr=function(){return _.E(this,1)};JQ.prototype.Bb=function(a){return _.L(this,1,a)};JQ.prototype.Pb=function(){return _.Zg(this,1)};z3d=_.Zb(JQ);A3d=_.Zb(_.MO);B3d=_.Zb(_.ZO);C3d=_.Zb(_.gP);_.hP=function(a){this.Ca=_.p(a)};_.P(_.hP,_.w);_.h=_.hP.prototype;
_.h.getId=function(){return _.E(this,1)};_.h.Cr=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.qn=function(){return _.Zg(this,5)};_.hP.mb=[2,3,8];D3d=_.Zb(_.hP);E3d=_.Zb(_.zEd);F3d=_.Zb(_.kP);_.LO=function(a){this.Ca=_.p(a)};_.P(_.LO,_.w);_.LO.prototype.kd=function(){return _.E(this,1)};_.LO.prototype.DPa=function(){return _.E(this,1)};G3d=_.Zb(_.LO);_.UO=function(a){this.Ca=_.p(a)};_.P(_.UO,_.w);_.h=_.UO.prototype;
_.h.kd=function(){return _.E(this,1)};_.h.DPa=function(){return _.E(this,1)};_.h.Wi=function(){return _.Ae(this,2)};_.h.getType=function(){return _.Ae(this,3)};_.h.Eb=function(a){return _.I(this,3,a)};_.h.ob=function(){return _.E(this,4)};_.h.Lb=function(a){return _.L(this,4,a)};_.h.zh=function(){return _.Hk(this,4)};_.h.getId=function(){return _.E(this,9)};_.h.Bb=function(a){return _.L(this,9,a)};_.h.Pb=function(){return _.Zg(this,9)};H3d=_.Zb(_.UO);I3d=_.Zb(_.YO);_.MEd=function(a){this.Ca=_.p(a)};
_.P(_.MEd,_.w);_.MEd.prototype.qn=function(){return _.Zg(this,1)};ITd=_.Zb(_.MEd);_.wEd=function(a){this.Ca=_.p(a)};_.P(_.wEd,_.w);_.wEd.prototype.kd=function(){return _.E(this,1)};_.wEd.prototype.Qj=function(){return _.Sj(this,3,1E3)};var J3d=_.Zb(_.wEd),KQ=[1,2,3,4,5,6,7,8],SRd=function(a){this.Ca=_.p(a)};_.P(SRd,_.w);var TRd=function(a){this.Ca=_.p(a)};_.P(TRd,_.w);TRd.mb=[1];var IQ=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],QRd=function(a){this.Ca=_.p(a)};_.P(QRd,_.w);
var XRd=[1,2],WRd=function(a){this.Ca=_.p(a)};_.P(WRd,_.w);var K3d=_.Zb(_.GO),L3d=_.Zb(_.OO),M3d=_.Zb(_.mP),$Rd=[1,2,3],ZRd=function(a){this.Ca=_.p(a)};_.P(ZRd,_.w);var N3d=function(a,b){this.H=a;this.O=b};N3d.prototype.CE=function(){return[this.H,this.O]};var EQ=function(a,b){this.pair=new N3d(a,b)};EQ.prototype.CE=function(){return[this.key,this.value]};
_.zi.Object.defineProperties(EQ.prototype,{key:{configurable:!0,enumerable:!0,get:function(){return this.pair.H}},value:{configurable:!0,enumerable:!0,get:function(){return this.pair.O}}});
var FQ=function(a){return new (Function.prototype.bind.apply(EQ,[null].concat(_.Eb(a))))},gZd=function(a){var b=new _.mu;_.VP(b,"hidden",_.wh(a,4));a=_.Kj(a,_.qq,7,_.Ff());for(var c=[],d=0;d<a.length;d++){var e=a[d],f=e.ob();if(f){var g=_.Ae(e,1);e=_.N(e,3,!1);var k=[];e&&g===1&&k.push("not");k.push("name");k.push(g===1?"contains":e?"!=":"=");k.push(_.TP(f));c.push(k.join(" "))}}_.aJd(b,c);return b.toString()},O3d=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];case 14:return[233];default:return null}},P3d=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.qv()||!1;case 12:return _.Nj(b,13)||0;case 11:return _.Nj(b,12)||0;case 10:return _.Nj(b,11)||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return _.Nj(b,23)||0;case 32:return _.Nj(b,28)||0;case 9:return _.Nj(b,10)||
0;case 67:return _.Nj(b,70)||0;case 98:return _.Nj(b,96)||0;case 233:var c;return((c=_.ar(b))==null?void 0:_.Nj(c,3))||0;default:return""}},Q3d=function(a){var b=_.oSa(),c={};b&&(c.numeric=b);this.H=_.pSa(a,c)};Q3d.prototype.compare=function(a,b,c){_.qi(a);b=R3d(b);c=R3d(c);a=a.Tc();var d=O3d(a);if(a&&d){d=S3d(d);var e=T3d(this,a.getType());return U3d(a,d,e,b,c)}return _.Ha(_.ve(b),_.ve(c))};
Q3d.prototype.sort=function(a,b,c){_.qi(a);a=a.Tc();var d=O3d(a);if(a&&d){d=S3d(d);for(var e={},f=_.n(b),g=f.next();!g.done;g=f.next()){g=R3d(g.value);var k=_.ve(g);e[k]=d(g)}_.Ka(b,V3d(this,a,e))}c&&c>0&&_.Kaa(b,c,b.length-c)};
var R3d=function(a){return a instanceof _.Oq?a:a.getItem()},S3d=function(a){return function(b){for(var c=_.Ha,d=P3d(a[0],b),e=1;e<a.length;e++){var f=P3d(a[e],b);d=c(f,d)===1?f:d}return d}},T3d=function(a,b){return b===4?a.H:function(c,d){return _.Ha(c,d)}},V3d=function(a,b,c){return function(d,e){var f=T3d(a,b.getType());d=R3d(d);e=R3d(e);return U3d(b,function(g){return c[_.ve(g)]},f,d,e)}},U3d=function(a,b,c,d,e){var f=1===_.ri(a,2,1)?1:-1;if(_.wh(a,3)){a=BQ(d,!0);var g=BQ(e,!0);a=a===g?0:a?-1:
1}else a=0;return a||f*(c(b(d),b(e))||_.Ha(_.ve(d),_.ve(e)))},W3d=function(a){a=_.AP(a);return a.length===1?_.E(a[0],1):null},X3d=function(a,b){this.fields=a;this.rootId="";this.fields=this.fields.slice().sort();this.O=b;this.anonymous=_.NN(_.hO(b));a=_.br(b);this.V=!(!a||!_.N(a,8,!1))};X3d.prototype.Ty=function(a){this.rootId=a};
var bR=function(a,b,c){b=b.clone();var d=_.AP(b).filter(function(f){return f.ob()==="root"});d=_.n(d);for(var e=d.next();!e.done;e=d.next())e.value.Lb(a.rootId);_.Jja(b,_.lf(b).map(function(f){f.Lb(f.ob().toLowerCase());return f}));a=c?a.fields.slice():b.O().slice();a.sort();_.bf(b,a);return b};
X3d.prototype.H=function(a,b){if(a instanceof _.cf){a=bR(this,a);_.bf(a,a.O().filter(function(d){return!_.l0a.has(d)}));var c=_.qJd(a);c+=Y3d(a)}else if(a instanceof _.lr)c=a.Lh().slice().sort(),a.No(c),c=c.join(","),_.N(a,5,!1)&&(c+="|cachedOnly");else{if(a instanceof _.Er)return c=gZd(a),c+"|tdList";if(a instanceof _.zN)return b=a.Lh().slice().sort(),a.No(b),c=b.join(","),a.O().length&&(c+="|"+$Qd(a.O())),c+"|tdMap";throw Error("Ig");}return b===3?c:c+"|"+Z3d(this,a.O(),b===2)};
var Y3d=function(a){var b="";a=EYd(a);if(a==null?0:_.Kj(a,FYd,2,_.Ff()).length)b+="|suggestDocContext,"+_.Kj(a,FYd,2,_.Ff()).map(function(c){return c.getId()}).join(",");if(a==null?0:a.getViewType())b+="|viewType,"+a.getViewType();return b},Z3d=function(a,b,c){var d="default";b=new Set(b);var e=new Set(a.fields);if(c){c=_.n(e);for(var f=c.next();!f.done;f=c.next())b.delete(f.value);e.clear()}else for(c=[].concat(_.Eb(b)).filter(function(g){return e.has(g)}),c=_.n(c),f=c.next();!f.done;f=c.next())f=
f.value,b.delete(f),e.delete(f);e.size&&(d=d+" - "+_.pEd({fields:[].concat(_.Eb(e)),anonymous:a.anonymous}).toString());b.size&&(d=d+" + "+_.pEd({fields:[].concat(_.Eb(b)),anonymous:a.anonymous}).toString());return d};X3d.prototype.equals=function(a,b,c){var d;c&&(d=3);return this.H(a,d)===this.H(b,d)};V2d=function(a){if(!a.O().length)throw new _.wf("Missing request fields");if(!a.Lh().every(function(b){return!_.Xi(b)}))throw new _.wf("Invalid ids for FindByIdsRequest");};
a4d=function(a,b,c){c=c===void 0?!1:c;var d;a.V||(d=_.yO(3));if(b.getId())throw new _.wf("Use findByIds() for find by id queries.",d?d:_.yO(3));if(_.Kj(b,_.lq,24,_.Ff()).length)throw new _.wf("Shared with me date is unsupported.",d?d:_.yO(3));if(!b.Qj()||b.Qj()<=0)throw new _.wf("A positive limit is required on an ItemQueryRequest.",d?d:_.yO(3));_.BP(b);if(d=(d=b.Tc())&&O3d(d)){var e=b.O().length?b.O():a.fields;$3d(a,e,d)}if(_.qi(b)){if(a.anonymous)throw new _.wf("User must be authenticated for a Quick Access request.");
if(!hRd(_.NP(a.O))&&b.Qj()>20)throw new _.wf("Limit must be in the range [1, 20].");d=_.CP(b)===2;e=_.BP(b).length;if(d&&e!==1||e&&!d)throw new _.wf("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");d=_.yj(_.yj(_.yj(_.yj(_.yj(_.yj(_.yj(_.yj(_.nj(_.yj(b.clone(),1),30),32),33),45),47),74),75),48),6);e=new _.cf;if(!_.Rh(d,e))throw new _.wf("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.");
}else if(_.N(b,74,!1))throw new _.wf("If is_quick_access_for_shared_files_request is set to true, is_quick_access_request must also be true.");if(_.N(b,82,!1)){if(a.anonymous)throw new _.wf("User must be authenticated for a Homepage Files request.");if(_.CP(b)===2)throw new _.wf("Team Drive corpora is not valid for a Homepage Files request.");a=_.yj(_.yj(_.nj(_.yj(b.clone(),1),30),32),82);d=new _.cf;e=_.lf(a);e.length!==1||e[0].ob().toLowerCase()!=="application/vnd.google-apps.folder"||_.N(e[0],2,
!1)||_.ri(e[0],3,0)!==0||_.nj(a,6);_.Ek(a,48)&&_.nj(a,48);_.oj(a,_.ON,75)&&(_.yj(EYd(a),4),e=new _.ON,_.Q(d,_.ON,75,e));if(!_.Rh(a,d))throw new _.wf("Some fields specified are not valid for a Homepage Suggested Files request. Valid: field, request_descriptor, limit, mime_type, cached_only, is_homepage_suggested_files_request and item_suggest_spec.view_type.");}if(!c&&!b.O().length)throw new _.wf("Missing request fields");};
$3d=function(a,b,c){var d;a.V||(d=_.yO(3));if(!dRd(b,c,_.p0a)){var e=_.pEd({fields:c,anonymous:a.anonymous}).toString(),f=_.pEd({fields:b,anonymous:a.anonymous}).toString();a=_.pEd({fields:fRd(c,b),anonymous:a.anonymous}).toString();throw new _.wf("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.yO(3));}};b4d=function(a,b){var c=W3d(b);return c?(b=_.yj(_.yj(_.yj(b.clone(),2),45),26),c=_.Cka(new _.cf,[(new _.vf).Lb(c)]).In(!1),a.equals(c,b,!0)):!1};
ISd=function(a,b){if(c4d(b,!1)||c4d(b,!0)){var c=_.PBd(_.uPd(_.VAd(new _.RN,b.Zk()),_.DP(b)?1:0),b.O()),d=_.rJd(_.lf(b));d?_.RBd(c,b.Qj()):_.QBd(c,b.Qj());d=d?2:1;a=_.UAd(_.TAd(new _.aq,_.GBd.has(_.NP(a.O))?4:3),d);var e;if((e=EYd(b))==null?0:_.Jk(e,4))switch(EYd(b).getViewType()){case 1:_.kHa(a,1);break;case 2:_.kHa(a,2)}_.WAd(c,a);return c}return null};c4d=function(a,b){return _.N(a,82,!1)&&b===_.rJd(_.lf(a))};
d4d=function(a){if(!_.oj(a,_.pq,86))return!1;a=_.K(a,_.pq,86);return!!(_.wh(a,3)||_.wh(a,1)||_.wh(a,2))};_.DEd=function(a){this.H=a;this.type=1};_.EEd=function(a){this.H=a;this.type=0};_.LEd=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};_.OEd=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};e4d=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d;this.H=void 0};
f4d=function(a,b){b=b===void 0?!1:b;a.H===void 0&&(a.H=b)&&FRd(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.H}};g4d=function(a){var b=new e4d(a.c,a.m,a.a,a.req);b.H=a.s;return b};h4d=function(a,b,c){this.data=b?void 0:a;this.error=b;this.O=c;this.H=void 0};i4d=function(a,b){b=b===void 0?!1:b;a.H===void 0&&a.data&&(a.H=b)&&FRd(a.data);return{d:a.data,err:a.error&&b?a.error.Fc():a.error,uid:a.O,s:b}};
j4d=function(a){var b=a.s,c=a.err;c=c===void 0?void 0:b?w2d(c):c;a=new h4d(c?void 0:a.d,c,a.uid);c||(a.H=b);return a};ERd=function(a,b){this.H=a;this.responses=b};ERd.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.responses[b];return a};ERd.prototype.Fc=function(){for(var a={},b={},c=0;c<this.responses.length;c++){var d=this.responses[c],e=this.H[c];d instanceof Error?b[e]=_.aO(d,42).Fc():a[e]=d.Fc()}return{r:a,e:b}};
_.k4d=function(a,b){if(b){var c=[],d=[];_.uc(a.r,function(e,f){c.push(f);d.push(c3d(e))});_.uc(a.e,function(e,f){c.push(f);e=w2d(e);d.push(_.zO(e))});return new ERd(c,d)}return a};l4d=function(a){_.ui.call(this);this.H=a};_.Ui(l4d,_.ui);_.h=l4d.prototype;_.h.cancel=function(){this.H.cancel()};_.h.connect=function(a){a&&a()};_.h.isConnected=function(){return!0};_.h.registerService=function(a,b,c){this.H.addCallback(function(d){d.registerService(a,b,c)})};_.h.CY=function(a){this.H.addCallback(function(b){b.CY(a)})};
_.h.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.h.wb=function(){this.cancel();l4d.Zb.wb.call(this)};var KRd=function(a){_.ZN.call(this);this.H=a;this.V=_.vm(this.H,"message",this.Zbc,!1,this)};_.Ui(KRd,_.ZN);_.h=KRd.prototype;_.h.logger=null;_.h.send=function(a,b){var c=[];b=this.vXa(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.KBd&&(a=(0,_.ym)(a));this.H.postMessage(a,c)};
_.h.Zbc=function(a){a=a.hg;var b=a.data;if(_.KBd)try{b=JSON.parse(b)}catch(e){return}if(_.Ea(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.s1a(a.ports||[],b),d.h5a),b!=null&&d.callback(b))}};
_.h.vXa=function(a,b){return b&&Object.prototype.toString.call(b)=="[object MessagePort]"?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?b.map((0,_.Ri)(this.vXa,this,a)):b&&b.constructor==Object?_.wc(b,function(c,d){c=this.vXa(a,c);return d=="_port"?{type:"escaped",val:c}:c},this):b};
_.h.s1a=function(a,b){return Array.isArray(b)?b.map((0,_.Ri)(this.s1a,this,a)):b&&b.constructor==Object?b._port&&b._port.type=="real"?a[b._port.index]:_.wc(b,function(c,d){return this.s1a(a,d=="_port"?c.val:c)},this):b};_.h.wb=function(){_.xm(this.V);Object.prototype.toString.call(this.H)=="[object MessagePort]"?this.H.close():Object.prototype.toString.call(this.H)=="[object Worker]"&&this.H.terminate();delete this.H;KRd.Zb.wb.call(this)};
var NRd=function(a,b){if(b=="*")return new l4d(_.pm(Error("Lg")));var c=new _.zm(50),d=_.Si(_.Yc,c),e=new _.Je(d);_.Qwa(e,d);c.start();_.vm(c,"tick",function(){var f=new MessageChannel,g=function(){f.port1.removeEventListener("message",g,!0);c.isDisposed()||e.callback(new KRd(f.port1))};f.port1.start();f.port1.addEventListener("message",g,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new l4d(e)},m4d=function(a){_.ui.call(this);this.H=new _.pBd(a);this.V={};this.O=_.rBd(this.H,
"private");this.W=_.rBd(this.H,"public");this.O.registerService("mics",(0,_.Ri)(this.c$b,this),!0)};_.Ui(m4d,_.ui);_.h=m4d.prototype;_.h.Bxc=0;_.h.Ge=null;_.h.wb=function(){_.Yc(this.H);delete this.H;delete this.W;delete this.O};_.h.send=function(a,b,c){var d=this.Bxc++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.h.c$b=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};
_.h.registerService=function(a,b){this.W.registerService(a,(0,_.Ri)(this.b$b,this,b),!0)};_.h.b$b=function(a,b){a=a(b.data);var c=b.signature;_.gm(a).then((0,_.Ri)(function(d){this.aaa(d,c)},this))};_.h.aaa=function(a,b){var c={};c.data=a;c.signature=b;this.O&&this.O.send("mics",c)};var n4d=function(a,b){_.ui.call(this);this.H=b;this.started=!1;this.W=new _.pBd(a);this.Sa(this.W);this.O=new m4d(_.rBd(this.W,"direct"));this.Sa(this.O)};_.P(n4d,_.ui);
n4d.prototype.registerService=function(a,b){this.O.registerService(a,function(c){return b(c)})};n4d.prototype.send=function(a,b,c){this.O.send(a,b||{},function(d){return(c||function(){})(d)})};var MRd=function(a,b){n4d.call(this,a,b);this.V=new m4d(_.rBd(this.W,"passthrough"));this.Sa(this.V)};_.P(MRd,n4d);var cR=function(a,b,c){a.V.registerService(b,function(d){return c(d)})},o4d=function(a,b,c,d){a.V.send(b,c||{},d?function(e){return d(e)}:function(){})};
MRd.prototype.start=function(){this.started||(this.started=!0)};var GRd=[],p4d=function(){_.ZN.call(this);this.H=null};_.P(p4d,_.ZN);p4d.prototype.send=function(a,b){_.nBd(this.H,a,b)};
var ORd=function(){this.O=new p4d;this.H=new p4d;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},JRd=/^(\/.+)?\/drive\/$/,LRd=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e},q4d=function(a,b,c,d){this.Cf=a;this.V=b;this.H=c;this.O=d},YTd=function(a,b){return(b=a.H.get(b))?(b=b.clone(),r4d(a.O,[b.getItem()],a.Cf.ODa()),b):null};q4d.prototype.nn=function(a){return(a=YTd(this,a))?a.getItem():null};
var s4d=function(a,b){var c={};b=_.n(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=YTd(a,d);e&&(c[d]=e)}return c};q4d.prototype.FM=function(a){return _.wc(s4d(this,a),function(b){return b.getItem()})};var t4d=function(a,b){b=bR(a.V,b);return a.H.query(b).map(function(c){return c.clone()})};q4d.prototype.query=function(a){return t4d(this,a).map(function(b){return b.getItem()})};q4d.prototype.getSize=function(){return this.H.eD().size};
u4d=function(a){var b=new Set;a=_.n(a.H.eD().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.n(_.Xf(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.E(e,11));(d=_.Yf(c))&&b.add(d.getId()||_.E(d,11));(d=c.aG())&&b.add(d.getId()||_.E(d,11));(d=c.Bx())&&b.add(d.getId()||_.E(d,11));(c=_.uO(c))&&b.add(c.getId()||_.E(c,11))}return b.size};
v4d=function(a){return _.kk(a,_.sO,3,_.tO)||_.kk(a,_.pP,4,_.tO)||_.kk(a,_.XP,5,_.tO)||_.kk(a,_.lP,6,_.tO)||_.kk(a,_.NO,7,_.tO)||_.kk(a,_.WN,8,_.tO)||_.kk(a,_.KO,9,_.tO)||_.kk(a,_.eO,10,_.tO)};w4d=function(a,b){return new _.kCd(_.lCd.bound(a,b,void 0,void 0))};x4d=function(){var a=new _.Je,b=_.xCd().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Ne(_.nO(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};y4d=_.Zb(_.gQ);
z4d=_.Pfa(K2d);_.lUd=function(a){this.Ca=_.p(a)};_.P(_.lUd,_.w);_.lUd.prototype.Gm=function(){return _.Ae(this,1)};_.lUd.prototype.getSize=function(){return _.Rj(this,2)};_.lUd.prototype.setSize=function(a){return _.Ug(this,2,a)};_.lUd.prototype.getUrl=function(){return _.E(this,3)};_.pUd=function(a){this.Ca=_.p(a)};_.P(_.pUd,_.w);_.pUd.prototype.getType=function(){return _.E(this,1)};_.pUd.prototype.Eb=function(a){return _.L(this,1,a)};_.nUd=function(a){this.Ca=_.p(a)};_.P(_.nUd,_.w);
_.nUd.mb=[2,3];_.QQ=function(a){this.Ca=_.p(a)};_.P(_.QQ,_.w);_.h=_.QQ.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.getName=function(){return _.E(this,2)};_.h.jd=function(a){return _.L(this,2,a)};var jUd=function(a,b){return _.yk(a,4,b)},iUd=function(a,b){return _.yk(a,5,b)};_.QQ.prototype.B7=function(){return _.E(this,8)};_.QQ.prototype.getType=function(){return _.Ae(this,23)};
_.QQ.prototype.Eb=function(a){return _.I(this,23,a)};_.QQ.mb=[4,5,6,17,18,24];var A4d={ITc:0,ETc:1,Nbd:2,Qib:3,ald:4,Fdd:5},dR=function(a){this.Ca=_.p(a)};_.P(dR,_.w);dR.prototype.getQuery=function(){return _.K(this,_.cf,1)};dR.prototype.ef=function(a){return _.Q(this,_.cf,1,a)};dR.prototype.Ws=function(){return _.z(this,4)};dR.prototype.iD=function(){return _.Zg(this,4)};var B4d=function(a,b){return _.Q(a,_.Er,5,b)},fTd=function(a){this.Ca=_.p(a)};_.P(fTd,_.w);var eR=function(a){this.Ca=_.p(a)};
_.P(eR,_.w);eR.prototype.Gd=function(a){return _.Kj(this,_.Oq,1,_.Ff(a))};var C4d=function(a,b){return _.Mj(a,1,b)};eR.prototype.Nj=function(a,b){return _.nf(this,1,_.Oq,a,b)};eR.prototype.setItem=function(a,b){return _.uj(this,1,_.Oq,a,b)};eR.prototype.OAa=function(a){_.nf(this,2,_.Tp,a)};var D4d=function(a,b){return _.Tg(a,3,b)};eR.prototype.yz=function(){return _.E(this,4)};eR.prototype.Ty=function(a){return _.L(this,4,a)};var E4d=function(a,b){return _.Mj(a,5,b)};
eR.prototype.KF=function(a){return _.J(this,6,a)};var F4d=function(a,b){return _.Bk(a,12,b)};eR.prototype.Ir=function(){return _.ri(this,13,0)};eR.prototype.DJ=function(a){return _.I(this,13,a)};eR.mb=[1,2,5,7,10,12,14,15];var G4d=_.cc(eR),H4d=_.Zb(eR),I4d=_.Zb(_.YP),J4d=function(a){this.Ca=_.p(a)};_.P(J4d,_.w);_.h=J4d.prototype;_.h.getStatus=function(){return _.Ae(this,1)};_.h.Tb=function(a){return _.I(this,1,a)};_.h.qf=function(){return _.nk(this,1)};_.h.A5=function(){return _.tb(this,2,_.XN)};
_.h.mf=function(){return _.Ae(this,5)};_.h.Vj=function(a){return _.I(this,5,a)};var MQ=function(a,b,c){this.response=a;this.oe=b===void 0?0:b;this.eq=c===void 0?!1:c};MQ.prototype.getStatus=function(){return this.status};MQ.prototype.Tb=function(a){this.status=a;return this};var K4d=function(a,b,c){MQ.call(this,a,b===void 0?0:b,c===void 0?!1:c)};_.P(K4d,MQ);
var L4d=function(a,b,c){this.response=a;this.oe=b===void 0?0:b;this.eq=c===void 0?null:c},M4d=function(a,b,c,d){this.response=a;this.pageToken=b===void 0?"":b;this.H=c===void 0?!1:c;this.oe=d===void 0?0:d},N4d=function(a){M4d.call(this,a,void 0,void 0,void 0);this.rDb=new _.By};_.P(N4d,M4d);O4d=function(a,b){this.response=a;this.pageToken=b===void 0?"":b};P4d=function(a,b,c){this.response=a;this.oe=b===void 0?0:b;this.eq=c===void 0?null:c};
yXd=function(a,b,c,d){this.response=a;this.pageToken=b===void 0?"":b;this.H=c===void 0?!1:c;this.oe=d===void 0?0:d};Q4d=function(a){var b=null;a instanceof _.Cr||a instanceof HQ?b=a.mf()||0:a instanceof K4d||a instanceof L4d||a instanceof M4d||a instanceof P4d||a instanceof yXd||eSd(x2d)(a)||eSd(I2d)(a)?b=a.oe:a instanceof J4d&&(b=a.mf());return b||0};
R4d=function(a){if(a instanceof _.Cr||a instanceof HQ||a instanceof J4d)return a.getStatus();if(a instanceof K4d||a instanceof L4d||a instanceof M4d||a instanceof P4d||a instanceof yXd||eSd(x2d)(a)||eSd(I2d)(a)){var b,c;return(c=(b=a.response)==null?void 0:b.qf())!=null?c:null}return _.dc(MQ)(a)?a.getStatus()||null:null};S4d=function(a){a=a==null?void 0:_.Jh(a,6);return a===!0?1:a===!1?2:0};fR=function(a){return a instanceof _.Oq?_.Hk(a,1)&&a.getId()===a.Fj():_.Hk(a,2)&&a.kd()===_.E(a,7)};
T4d=function(a,b,c,d){d=d===void 0?[]:d;var e=a.clone(),f=b.O();f!=null&&_.mIa(a,f.clone());if((f=b.getCapabilities())&&_.Ek(f,13)){var g=fSd(a),k=_.wh(f,13);_.J(g,13,k)}f&&_.Ek(f,18)&&(g=fSd(a),f=_.wh(f,18),_.J(g,18,f));wQd(a,b,[76,208,156,61,77,134,81,101,93,90,78,85,79,189,190,80,135,102,34,91,41,59,235,95,75,94,218,221,122,298,299,2],c);e.O()&&wQd(a,e,d,c)};
U4d=function(a,b,c,d){d=d===void 0?[]:d;if(!b||!fR(a)&&!fR(b))return a;if(_.Wf(a)===2){d=_.nk(a,82);var e=b.clone();T4d(e,a,c);e.KF(_.Wf(b));_.dO(e,d);return e}a=a.clone();T4d(a,b,c,d);return a};V4d=function(a){return(a=a?a.O():null)&&_.wh(a,7)||!1};
W4d=function(a,b,c,d,e,f,g,k){var l=_.cr(a);f=new _.kMd(g,f,c,d,_.Uj(l,32,1073741824),_.Uj(l,21,1E3));d=new _.HLd(_.Uj(l,59,2E3),_.Uj(l,60,2E4),_.Uj(l,61,6));a=new _.FLd(k,_.NN(_.hO(a)));k={};k[1]=_.xMd(b,c);k[2]=_.yMd(b,l,d,a,c);k[3]=_.zMd(b,l,d,a,c,"batch");k[4]=_.AMd(b,l,d,a,c,e);e=_.Sj(l,46,1);e=_.wMd(f,a,c,e);return k[5]=e,k[6]=_.zMd(b,l,d,a,c,"find_by_ids_batch"),k[7]=_.zMd(b,l,d,a,c,"xd4_batch"),k[8]=_.zMd(b,l,d,a,c,"xd4_batch_one",1),k};
eXd=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};_.tUd=function(a){this.Ca=_.p(a)};_.P(_.tUd,_.w);_.h=_.tUd.prototype;_.h.getType=function(){return _.Ae(this,1)};_.h.ARa=function(){return _.Ae(this,1)};_.h.Eb=function(a){return _.I(this,1,a)};_.h.getId=function(){return _.E(this,2)};_.h.Bb=function(a){return _.L(this,2,a)};_.h.Pb=function(){return _.Zg(this,2)};_.h.getTitle=function(){return _.E(this,3)};_.h.Ag=function(){return _.E(this,3)};
_.h.setTitle=function(a){return _.L(this,3,a)};_.h.getSize=function(){_.lj(this);return _.Nj(this,5)};_.h.qhb=function(){return _.Nj(this,5)};_.h.setSize=function(a){return _.Tg(this,5,a)};_.h.L2b=function(){return _.Nj(this,6)};_.vUd=function(a,b){return _.Tg(a,6,b)};_.tUd.prototype.dh=function(){return _.E(this,8)};_.tUd.prototype.Kj=function(a){return _.L(this,8,a)};_.tUd.prototype.H=function(){return _.wh(this,9)};var X4d=function(a){this.Ca=_.p(a)};_.P(X4d,_.w);_.h=X4d.prototype;
_.h.kd=function(){return _.E(this,1)};_.h.getStatus=function(){return _.Ae(this,2)};_.h.Tb=function(a){return _.I(this,2,a)};_.h.qf=function(){return _.nk(this,2)};_.h.getError=function(){return _.K(this,_.Gr,3)};_.h.Pe=function(a){return _.Q(this,_.Gr,3,a)};_.h.hp=function(){return _.oj(this,_.Gr,3)};_.gR=function(a){this.Ca=_.p(a)};_.P(_.gR,_.w);_.gR.prototype.kd=function(a){return _.Yj(this,1,a)};_.gR.mb=[1,2];var Y4d=_.Zb(_.gR),Z4d=function(a){this.Ca=_.p(a)};_.P(Z4d,_.w);
Z4d.prototype.getStatus=function(){return _.ri(this,2,1)};Z4d.prototype.Tb=function(a){return _.I(this,2,a)};Z4d.prototype.qf=function(){return _.nk(this,2)};Z4d.mb=[5];_.$4d=function(a){_.wf.call(this,(a?a+" is ":"")+"not supported",_.yO(3))};_.P(_.$4d,_.wf);var a5d=_.Zb(_.BPd),b5d=function(a){this.Ca=_.p(a)};_.P(b5d,_.w);var hR=function(a){this.Ca=_.p(a)};_.P(hR,_.w);hR.prototype.getStatus=function(){return _.Ae(this,1)};hR.prototype.Tb=function(a){return _.I(this,1,a)};hR.prototype.qf=function(){return _.nk(this,1)};hR.prototype.jf=function(){return _.K(this,_.Wp,2)};var c5d=function(a){var b=(new hR).Tb(1);var c=Date.now();b=_.Tg(b,4,c);return _.Q(b,_.Wp,2,a)};hR.prototype.H=function(){return _.Zg(this,3)};var d5d=function(a){this.Ca=_.p(a)};_.P(d5d,_.w);d5d.prototype.ee=function(){return _.K(this,_.KN,1)};d5d.prototype.Lr=function(){return _.oj(this,_.KN,1)};d5d.prototype.getResponse=function(){return _.K(this,hR,2)};var e5d=_.Zb(d5d);var f5d=function(a){this.Ca=_.p(a)};_.P(f5d,_.w);f5d.prototype.getId=function(){return _.E(this,1)};f5d.prototype.Bb=function(a){return _.L(this,1,a)};f5d.prototype.Pb=function(){return _.Zg(this,1)};f5d.mb=[5];var iR=function(a){this.Ca=_.p(a)};_.P(iR,_.w);iR.prototype.getStatus=function(){return _.Ae(this,1)};iR.prototype.Tb=function(a){return _.I(this,1,a)};iR.prototype.qf=function(){return _.nk(this,1)};var g5d=_.Zb(iR);iR.mb=[2,4];var h5d=function(a){this.Ca=_.p(a)};_.P(h5d,_.w);_.h=h5d.prototype;_.h.getStatus=function(){return _.Ae(this,1)};_.h.Tb=function(a){return _.I(this,1,a)};_.h.qf=function(){return _.nk(this,1)};_.h.RE=function(){return _.K(this,_.QQ,2)};_.h.AX=function(){return _.oj(this,_.QQ,2)};var gUd=function(a){this.Ca=_.p(a)};_.P(gUd,_.w);_.h=gUd.prototype;_.h.getStatus=function(){return _.Ae(this,1)};_.h.Tb=function(a){return _.I(this,1,a)};_.h.qf=function(){return _.nk(this,1)};_.h.RE=function(){return _.K(this,_.QQ,2)};_.h.AX=function(){return _.oj(this,_.QQ,2)};var sUd=function(a){this.Ca=_.p(a)};_.P(sUd,_.w);sUd.mb=[1];var i5d=function(a){this.Ca=_.p(a)};_.P(i5d,_.w);i5d.prototype.getStatus=function(){return _.Ae(this,1)};i5d.prototype.Tb=function(a){return _.I(this,1,a)};i5d.prototype.qf=function(){return _.nk(this,1)};i5d.mb=[2];var j5d=function(a){this.Ca=_.p(a)};_.P(j5d,_.w);var k5d=function(a){this.Ca=_.p(a)};_.P(k5d,_.w);_.h=k5d.prototype;_.h.getStatus=function(){return _.Ae(this,1)};_.h.Tb=function(a){return _.I(this,1,a)};_.h.qf=function(){return _.nk(this,1)};_.h.Krb=function(){return _.Nj(this,2)};_.h.N2b=function(){return _.Nj(this,3)};_.h.O2b=function(){return _.Nj(this,3)};_.h.thc=function(){return _.Kj(this,_.qQ,4,_.Ff(_.wg))};k5d.mb=[4,9,13];var l5d=function(a){this.Ca=_.p(a)};_.P(l5d,_.w);_.h=l5d.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.JI=function(){return _.E(this,3)};_.h.Ef=function(){return _.E(this,4)};_.h.Wj=function(a){return _.L(this,4,a)};var m5d=function(a){this.Ca=_.p(a)};_.P(m5d,_.w);var n5d=function(a){this.Ca=_.p(a)};_.P(n5d,_.w);n5d.prototype.H=function(){return _.wh(this,1)};n5d.prototype.O=function(){return _.wh(this,2)};var o5d=function(a){this.Ca=_.p(a)};_.P(o5d,_.w);o5d.prototype.H=function(){return _.Zg(this,4)};var p5d=function(a){this.Ca=_.p(a)};_.P(p5d,_.w);var q5d=function(a){this.Ca=_.p(a)};_.P(q5d,_.w);q5d.prototype.FT=function(){return _.Fk(this,1)};q5d.prototype.getOptions=function(){return _.K(this,p5d,2)};var r5d=function(a){this.Ca=_.p(a)};_.P(r5d,_.w);r5d.prototype.O=function(){return _.mk(this,1)};r5d.prototype.H=function(){return _.mk(this,2)};var s5d=function(a){this.Ca=_.p(a)};_.P(s5d,_.w);s5d.prototype.H=function(){return _.wh(this,1)};s5d.prototype.O=function(){return _.wh(this,2)};var t5d=function(a){this.Ca=_.p(a)};_.P(t5d,_.w);_.h=t5d.prototype;_.h.wd=function(){return _.wh(this,1)};_.h.ue=function(a){return _.J(this,1,a)};_.h.mPb=function(){return _.wh(this,2)};_.h.jPb=function(){return _.K(this,SQ,3)};_.h.nPb=function(){return _.oj(this,SQ,3)};_.h.lPb=function(){return _.K(this,SQ,4)};_.h.pPb=function(){return _.oj(this,SQ,4)};_.h.kPb=function(){return _.Nj(this,5)};_.h.oPb=function(){return _.Gk(this,5)};var u5d=function(a){this.Ca=_.p(a)};_.P(u5d,_.w);_.h=u5d.prototype;_.h.Xb=function(){return _.E(this,1)};_.h.Jc=function(a){return _.L(this,1,a)};_.h.Zl=function(){return _.Hk(this,1)};_.h.Nf=function(){return _.Zg(this,1)};_.h.ob=function(){return _.E(this,2)};_.h.Lb=function(a){return _.L(this,2,a)};_.h.zh=function(){return _.Hk(this,2)};_.h.rPb=function(){return _.Zg(this,2)};_.h.dh=function(){return _.E(this,5)};_.h.Kj=function(a){return _.L(this,5,a)};_.h.sPb=function(){return _.Hk(this,5)};
_.h.getCapabilities=function(){return _.K(this,s5d,3)};_.h.qPb=function(){return _.K(this,t5d,4)};var v5d=function(a){this.Ca=_.p(a)};_.P(v5d,_.w);v5d.prototype.H=function(){return _.Kj(this,u5d,1,_.Ff())};var w5d=function(a,b){_.Mj(a,1,b)};v5d.mb=[1];var x5d=function(a){this.Ca=_.p(a)};_.P(x5d,_.w);x5d.prototype.FT=function(){return _.Fk(this,1)};x5d.prototype.H=function(){return _.mk(this,1)};x5d.prototype.getOptions=function(){return _.K(this,v5d,2)};var y5d=function(a){this.Ca=_.p(a)};_.P(y5d,_.w);y5d.prototype.O=function(){return _.mk(this,1)};y5d.prototype.H=function(){return _.mk(this,2)};var z5d=function(a){this.Ca=_.p(a)};_.P(z5d,_.w);z5d.prototype.FT=function(){return _.Fk(this,1)};z5d.prototype.getOptions=function(){return _.K(this,y5d,2)};var A5d=function(a){this.Ca=_.p(a)};_.P(A5d,_.w);var B5d=function(a){this.Ca=_.p(a)};_.P(B5d,_.w);B5d.prototype.FT=function(){return _.Fk(this,1)};B5d.prototype.H=function(){return _.mk(this,1)};B5d.prototype.getOptions=function(){return _.K(this,A5d,2)};var C5d=function(a){this.Ca=_.p(a)};_.P(C5d,_.w);_.h=C5d.prototype;_.h.z0a=function(){return _.Jk(this,2)};_.h.jeb=function(a){return _.Lj(this,3,jR,a)};_.h.DEb=function(a){return _.Lj(this,4,jR,a)};_.h.heb=function(a){return _.Lj(this,5,jR,a)};_.h.SDb=function(a){return _.Lj(this,6,jR,a)};_.h.ADb=function(a){return _.Lj(this,7,jR,a)};_.h.ieb=function(a){return _.Lj(this,8,jR,a)};_.h.qEb=function(a){return _.Lj(this,9,jR,a)};_.h.leb=function(a){return _.Lj(this,10,jR,a)};
_.h.keb=function(a){return _.Lj(this,11,jR,a)};_.h.geb=function(a){return _.Lj(this,12,jR,a)};var jR=[3,4,5,6,7,8,9,10,11,12];var D5d=function(a){this.Ca=_.p(a)};_.P(D5d,_.w);_.h=D5d.prototype;_.h.wd=function(){return _.wh(this,1)};_.h.ue=function(a){return _.J(this,1,a)};_.h.tPb=function(){return _.wh(this,3)};_.h.Qw=function(){return _.wh(this,4)};_.h.DA=function(a){return _.J(this,4,a)};var E5d=function(a){this.Ca=_.p(a)};_.P(E5d,_.w);_.h=E5d.prototype;_.h.getId=function(){return _.E(this,1)};_.h.Bb=function(a){return _.L(this,1,a)};_.h.Pb=function(){return _.Zg(this,1)};_.h.yPb=function(){return _.Zg(this,2)};_.h.we=function(){return _.E(this,4)};_.h.wPb=function(){return _.Zg(this,4)};_.h.vPb=function(){return _.K(this,D5d,5)};_.h.getCapabilities=function(){return _.K(this,n5d,6)};_.h.DPb=function(){return _.Ae(this,7)};_.h.ADb=function(a){return _.Lj(this,13,kR,a)};
_.h.uPb=function(){return _.kk(this,o5d,19,kR)};_.h.geb=function(a){return _.Lj(this,19,kR,a)};_.h.SDb=function(a){return _.Lj(this,12,kR,a)};_.h.heb=function(a){return _.Lj(this,11,kR,a)};_.h.xPb=function(){return _.kk(this,r5d,10,kR)};_.h.zPb=function(){return _.kk(this,x5d,15,kR)};_.h.qEb=function(a){return _.Lj(this,15,kR,a)};_.h.APb=function(){return _.kk(this,v5d,14,kR)};_.h.ieb=function(a){return _.Lj(this,14,kR,a)};_.h.DEb=function(a){return _.Lj(this,9,kR,a)};
_.h.BPb=function(){return _.kk(this,y5d,8,kR)};_.h.jeb=function(a){return _.Lj(this,8,kR,a)};_.h.CPb=function(){return _.kk(this,B5d,18,kR)};_.h.keb=function(a){return _.Lj(this,18,kR,a)};_.h.leb=function(a){return _.Lj(this,17,kR,a)};var kR=[8,9,10,11,12,13,14,15,16,17,18,19];var F5d=_.Pfa(v2d);var G5d=function(a){this.Ca=_.p(a)};_.P(G5d,_.w);G5d.prototype.getStatus=function(){return _.Ae(this,1)};G5d.prototype.Tb=function(a){return _.I(this,1,a)};G5d.prototype.qf=function(){return _.nk(this,1)};G5d.prototype.Kea=function(a){return _.Kj(this,HQd,2,_.Ff(a))};G5d.mb=[2];var lR=function(a){this.Ca=_.p(a)};_.P(lR,_.w);lR.prototype.getStatus=function(){return _.Ae(this,1)};lR.prototype.Tb=function(a){return _.I(this,1,a)};lR.prototype.qf=function(){return _.nk(this,1)};lR.prototype.Kea=function(a){return _.Kj(this,CQ,2,_.Ff(a))};var H5d=function(a,b){return _.Mj(a,2,b)};lR.mb=[2];var I5d=function(a){this.Ca=_.p(a)};_.P(I5d,_.w);I5d.prototype.getStatus=function(){return _.Ae(this,1)};I5d.prototype.Tb=function(a){return _.I(this,1,a)};I5d.prototype.qf=function(){return _.nk(this,1)};var J5d=function(a,b){return _.Q(a,_.Oq,2,b)};var K5d=function(a){this.Ca=_.p(a)};_.P(K5d,_.w);var L5d=function(a){this.Ca=_.p(a)};_.P(L5d,_.w);L5d.prototype.V=function(){return _.wh(this,1)};L5d.prototype.H=function(){return _.wh(this,2)};L5d.prototype.W=function(){return _.wh(this,3)};L5d.prototype.O=function(){return _.wh(this,4)};var mR=function(a){this.Ca=_.p(a)};_.P(mR,_.w);mR.prototype.getName=function(){return _.E(this,1)};mR.prototype.jd=function(a){return _.L(this,1,a)};mR.prototype.W=function(){return _.Zg(this,1)};mR.prototype.iB=function(){return _.E(this,2)};var M5d=function(a,b){return _.L(a,2,b)};mR.prototype.H=function(){return _.Zg(this,2)};var N5d=function(a,b){return _.L(a,14,b)};_.h=mR.prototype;_.h.Bhc=function(){return _.Zg(this,14)};_.h.getTitle=function(){return _.E(this,3)};
_.h.Ag=function(){return _.E(this,3)};_.h.setTitle=function(a){return _.L(this,3,a)};_.h.HPb=function(){return _.Zg(this,3)};_.h.dh=function(){return _.E(this,4)};_.h.Kj=function(a){return _.L(this,4,a)};_.h.FPb=function(){return _.Zg(this,4)};_.h.GPb=function(){return _.Zg(this,15)};_.h.EPb=function(){return _.Kj(this,E5d,5,_.Ff())};var O5d=function(a,b){return _.Mj(a,5,b)};mR.prototype.Rr=function(a,b){return _.uj(this,5,E5d,a,b)};
var P5d=function(a,b){_.Q(a,_.Tp,6,b)},Q5d=function(a,b){_.Q(a,_.Tp,7,b)},R5d=function(a,b){_.Q(a,_.Tp,8,b)},S5d=function(a,b){return _.Tg(a,9,b)},T5d=function(a,b){return _.Tg(a,10,b)},U5d=function(a,b){return _.Tg(a,11,b)};mR.prototype.V=function(){return _.K(this,D5d,12)};var V5d=function(a,b){_.Q(a,D5d,12,b)};mR.prototype.getCapabilities=function(){return _.K(this,L5d,13)};var W5d=function(a,b){_.Q(a,L5d,13,b)},X5d=function(a,b){return _.L(a,16,b)};mR.prototype.O=function(){return _.Zg(this,16)};
mR.mb=[5];var Y5d=function(a){this.Ca=_.p(a)};_.P(Y5d,_.w);Y5d.prototype.getStatus=function(){return _.Ae(this,1)};Y5d.prototype.Tb=function(a){return _.I(this,1,a)};Y5d.prototype.qf=function(){return _.nk(this,1)};Y5d.prototype.H=function(a){return _.Kj(this,mR,2,_.Ff(a))};var Z5d=function(a,b){return _.Mj(a,2,b)};Y5d.mb=[2];var $5d=function(a){this.Ca=_.p(a)};_.P($5d,_.w);$5d.prototype.getStatus=function(){return _.Ae(this,1)};$5d.prototype.Tb=function(a){return _.I(this,1,a)};$5d.prototype.qf=function(){return _.nk(this,1)};$5d.prototype.H=function(){return _.K(this,mR,2)};_.yUd=function(a){this.Ca=_.p(a)};_.P(_.yUd,_.w);_.h=_.yUd.prototype;_.h.getItem=function(){return _.K(this,_.Oq,1)};_.h.setItem=function(a){return _.Q(this,_.Oq,1,a)};_.h.Sw=function(){return _.oj(this,_.Oq,1)};_.h.getError=function(){return _.K(this,_.Gr,2)};_.h.Pe=function(a){return _.Q(this,_.Gr,2,a)};_.h.hp=function(){return _.oj(this,_.Gr,2)};_.a6d=function(a){this.Ca=_.p(a)};_.P(_.a6d,_.w);_.a6d.mb=[2,4];var nR=function(a){this.Ca=_.p(a)};_.P(nR,_.w);nR.prototype.ee=function(){return _.K(this,_.bq,1)};var b6d=function(a,b){return _.Q(a,_.bq,1,b)};nR.prototype.Lr=function(){return _.oj(this,_.bq,1)};nR.prototype.getResponse=function(){return _.K(this,_.Mr,2)};var c6d=function(a,b){return _.Q(a,_.Mr,2,b)};nR.prototype.Gd=function(a){return _.Kj(this,_.Oq,3,_.Ff(a))};var d6d=function(a,b){return _.Mj(a,3,b)};nR.prototype.Nj=function(a,b){return _.nf(this,3,_.Oq,a,b)};
nR.prototype.setItem=function(a,b){return _.uj(this,3,_.Oq,a,b)};var e6d=_.Zb(nR);nR.mb=[3];var oR=function(a){this.Ca=_.p(a)};_.P(oR,_.w);oR.prototype.ee=function(){return _.K(this,_.RN,1)};var f6d=function(a,b){return _.Q(a,_.RN,1,b)};oR.prototype.Lr=function(){return _.oj(this,_.RN,1)};oR.prototype.getResponse=function(){return _.K(this,_.Nr,2)};var g6d=function(a,b){return _.Q(a,_.Nr,2,b)};oR.prototype.Gd=function(a){return _.Kj(this,_.Oq,3,_.Ff(a))};var h6d=function(a,b){return _.Mj(a,3,b)};oR.prototype.Nj=function(a,b){return _.nf(this,3,_.Oq,a,b)};
oR.prototype.setItem=function(a,b){return _.uj(this,3,_.Oq,a,b)};var i6d=_.Zb(oR);oR.mb=[3];var j6d=function(a){this.Ca=_.p(a)};_.P(j6d,_.w);var k6d=function(a){this.Ca=_.p(a)};_.P(k6d,_.w);var l6d=function(a){this.Ca=_.p(a)};_.P(l6d,_.w);var m6d=function(a,b){return _.Mj(a,1,b)},n6d=_.Zb(l6d);l6d.mb=[1];var o6d=function(a){this.Ca=_.p(a)};_.P(o6d,_.w);o6d.prototype.H=function(){return _.E(this,2)};var p6d=function(a,b){_.L(a,2,b)};o6d.mb=[1];var VXd=function(a){this.Ca=_.p(a)};_.P(VXd,_.w);VXd.prototype.getId=function(){return _.E(this,1)};VXd.prototype.Bb=function(a){return _.L(this,1,a)};VXd.prototype.Pb=function(){return _.Zg(this,1)};var q6d=function(a){this.Ca=_.p(a)};_.P(q6d,_.w);var r6d=_.Zb(q6d);q6d.mb=[1];var s6d=function(a){this.Ca=_.p(a)};_.P(s6d,_.w);s6d.prototype.getStatus=function(){return _.Ae(this,1)};s6d.prototype.Tb=function(a){return _.I(this,1,a)};s6d.prototype.qf=function(){return _.nk(this,1)};var t6d={Zld:0,Kdd:1,Ndd:2,Ldd:4,Rcb:5,n2c:6,Qad:7,eed:8};var uXd=function(a){this.Ca=_.p(a)};_.P(uXd,_.w);uXd.prototype.getUrl=function(){return _.E(this,1)};var UQ=function(a){this.Ca=_.p(a)};_.P(UQ,_.w);var rXd=function(a,b){return _.L(a,1,b)};UQ.prototype.getName=function(){return _.E(this,2)};UQ.prototype.jd=function(a){return _.L(this,2,a)};UQ.prototype.getEmail=function(){return _.E(this,3)};var sXd=function(a,b){return _.L(a,3,b)};UQ.prototype.Cp=function(){return _.Hk(this,3)};var qXd=function(a){this.Ca=_.p(a)};_.P(qXd,_.w);var pXd=function(a,b){return _.Mj(a,1,b)},u6d=_.Zb(qXd);qXd.mb=[1];var v6d=function(a){this.Ca=_.p(a)};_.P(v6d,_.w);v6d.prototype.getResponse=function(){return _.K(this,u0d,1)};v6d.prototype.Ws=function(){return _.E(this,2)};v6d.prototype.iD=function(){return _.Zg(this,2)};var w6d=function(a){this.Ca=_.p(a)};_.P(w6d,_.w);w6d.prototype.getStatus=function(){return _.Ae(this,1)};w6d.prototype.Tb=function(a){return _.I(this,1,a)};w6d.prototype.qf=function(){return _.nk(this,1)};w6d.prototype.wfa=function(){return _.K(this,_.Tp,2)};var VQ=function(a){this.Ca=_.p(a)};_.P(VQ,_.w);VQ.prototype.getStatus=function(){return _.Ae(this,1)};VQ.prototype.Tb=function(a){return _.I(this,1,a)};VQ.prototype.qf=function(){return _.nk(this,1)};VQ.prototype.H=function(a){return _.Kj(this,_.XN,2,_.Ff(a))};var wXd=function(a,b){return _.Mj(a,2,b)};VQ.mb=[2];var x6d=function(a){this.Ca=_.p(a)};_.P(x6d,_.w);_.h=x6d.prototype;_.h.n7=function(){return _.N(this,1)};_.h.xI=function(){return _.Kj(this,_.hr,2,_.Ff())};_.h.H8a=function(a){_.Mj(this,2,a)};_.h.Blb=function(){_.nj(this,2)};_.h.m7=function(){return _.rj(this,_.hr,2)};x6d.mb=[2];var y6d=function(a){this.Ca=_.p(a)};_.P(y6d,_.w);y6d.prototype.WE=function(){return _.Kj(this,_.Dr,5,_.Ff())};y6d.prototype.Mva=function(a){return _.Mj(this,5,a)};y6d.prototype.YE=function(){return _.Kj(this,_.Dr,6,_.Ff())};y6d.prototype.Nva=function(a){return _.Mj(this,6,a)};y6d.mb=[5,6,4];var z6d=function(a){this.Ca=_.p(a)};_.P(z6d,_.w);z6d.prototype.b8=function(){return _.rj(this,A6d,1)};var A6d=function(a){this.Ca=_.p(a)};_.P(A6d,_.w);A6d.prototype.getKey=function(){return _.ri(this,1,0)};A6d.prototype.Gx=function(){return _.Jk(this,1)};var B6d=_.cc(A6d);z6d.mb=[1];var C6d=[2,6,10,11,13,17],pR=[3,7,8,9,12,14,15];var D6d=function(a){this.Ca=_.p(a)};_.P(D6d,_.w);_.E6d=function(a){this.Ca=_.p(a)};_.P(_.E6d,_.w);var F6d=_.Zb(_.E6d);var G6d=function(a){this.Ca=_.p(a)};_.P(G6d,_.w);_.H6d=function(a){this.Ca=_.p(a)};_.P(_.H6d,_.w);_.H6d.prototype.EI=function(){return _.wh(this,4)};_.H6d.mb=[1];_.oXd=function(a){this.Ca=_.p(a)};_.P(_.oXd,_.w);_.oXd.prototype.yc=function(){return _.Rj(this,2)};_.lXd=function(a){this.Ca=_.p(a)};_.P(_.lXd,_.w);var kXd=function(a,b){return _.L(a,1,b)},jXd=function(a,b){return _.Ug(a,2,b)},mXd=function(a,b){_.Mj(a,3,b)};_.lXd.mb=[3];_.TQ=function(a){this.Ca=_.p(a)};_.P(_.TQ,_.w);_.TQ.prototype.Ws=function(){return _.E(this,1)};var dXd=function(a,b){return _.L(a,1,b)};_.TQ.prototype.iD=function(){return _.Zg(this,1)};_.TQ.prototype.getStatus=function(){return _.Ae(this,3)};_.TQ.prototype.Tb=function(a){return _.I(this,3,a)};_.TQ.prototype.qf=function(){return _.nk(this,3)};var gXd=function(a,b){_.Mj(a,5,b)};_.TQ.mb=[5];var I6d=function(a){this.Ca=_.p(a)};_.P(I6d,_.w);I6d.prototype.H=_.Xb([0,_.ebc,-1,_.fbc,_.ebc,_.jsa]);var J6d=function(a){this.Ca=_.p(a)};_.P(J6d,_.w);_.h=J6d.prototype;_.h.getStatus=function(){return _.Ae(this,1)};_.h.Tb=function(a){return _.I(this,1,a)};_.h.qf=function(){return _.nk(this,1)};_.h.mX=function(){return _.K(this,_.Vp,3)};_.h.getKey=function(){return _.K(this,_.$g,4)};_.h.Gx=function(){return _.oj(this,_.$g,4)};_.KXd=function(a){this.Ca=_.p(a)};_.P(_.KXd,_.w);_.KXd.prototype.getStatus=function(){return _.Ae(this,1)};_.KXd.prototype.Tb=function(a){return _.I(this,1,a)};_.KXd.prototype.qf=function(){return _.nk(this,1)};_.KXd.prototype.jr=function(){return _.K(this,_.XN,2)};var K6d=_.Pfa(J2d);var L6d=function(a){this.Ca=_.p(a)};_.P(L6d,_.w);_.h=L6d.prototype;_.h.getStatus=function(){return _.Ae(this,1)};_.h.Tb=function(a){return _.I(this,1,a)};_.h.qf=function(){return _.nk(this,1)};_.h.jh=function(a){return _.Kj(this,_.hla,2,_.Ff(a))};_.h.xo=function(a,b){return _.nf(this,2,_.hla,a,b)};L6d.mb=[2];var M6d=function(a){this.Ca=_.p(a)};_.P(M6d,_.w);M6d.prototype.getStatus=function(){return _.Ae(this,1)};M6d.prototype.Tb=function(a){return _.I(this,1,a)};M6d.prototype.qf=function(){return _.nk(this,1)};M6d.mb=[2];var WQ=function(a){this.Ca=_.p(a)};_.P(WQ,_.w);WQ.prototype.getStatus=function(){return _.Ae(this,1)};WQ.prototype.Tb=function(a){return _.I(this,1,a)};WQ.prototype.qf=function(){return _.nk(this,1)};WQ.prototype.H=function(a){return _.Kj(this,DQ,2,_.Ff(a))};var DXd=function(a,b){return _.Mj(a,2,b)};WQ.prototype.En=function(){return _.E(this,4)};WQ.prototype.O=function(){return _.E(this,4)};var CXd=function(a,b){return _.L(a,4,b)};WQ.mb=[2];var N6d=function(a){this.Ca=_.p(a)};_.P(N6d,_.w);N6d.prototype.getStatus=function(){return _.Ae(this,1)};N6d.prototype.Tb=function(a){return _.I(this,1,a)};N6d.prototype.qf=function(){return _.nk(this,1)};var O6d=function(a){this.Ca=_.p(a)};_.P(O6d,_.w);O6d.prototype.getStatus=function(){return _.Ae(this,1)};O6d.prototype.Tb=function(a){return _.I(this,1,a)};O6d.prototype.qf=function(){return _.nk(this,1)};O6d.mb=[2];var P6d=function(a){this.Ca=_.p(a)};_.P(P6d,_.w);P6d.mb=[1];var $Xd=function(a){this.Ca=_.p(a)};_.P($Xd,_.w);$Xd.prototype.wl=function(){return _.z(this,1)};$Xd.prototype.getName=function(){return _.z(this,2)};$Xd.prototype.jd=function(a){return _.L(this,2,a)};var Q6d=function(a){this.Ca=_.p(a)};_.P(Q6d,_.w);var R6d=function(a){this.Ca=_.p(a)};_.P(R6d,_.w);R6d.prototype.jf=function(){return _.K(this,_.Wp,1)};var S6d=function(a){this.Ca=_.p(a)};_.P(S6d,_.w);S6d.prototype.getStatus=function(){return _.K(this,_.ct,1)};S6d.prototype.Tb=function(a){return _.Q(this,_.ct,1,a)};var T6d=function(a){this.Ca=_.p(a)};_.P(T6d,_.w);T6d.mb=[1];var xYd=function(a){this.Ca=_.p(a)};_.P(xYd,_.w);var wYd=function(a){var b=new xYd;return _.I(b,1,a)};var uYd=function(a){this.Ca=_.p(a)};_.P(uYd,_.w);uYd.mb=[2];var zYd=function(a){this.Ca=_.p(a)};_.P(zYd,_.w);var U6d=function(a){this.Ca=_.p(a)};_.P(U6d,_.w);_.h=U6d.prototype;_.h.setTitle=function(a,b){return _.uj(this,1,_.qq,a,b)};_.h.qv=function(){return _.N(this,2)};_.h.ys=function(a){return _.J(this,2,a)};_.h.Yl=function(){return _.N(this,5)};_.h.In=function(a){return _.J(this,5,a)};_.h.Dv=function(a){return _.I(this,7,a)};_.h.Fx=function(){return _.z(this,12)};_.h.laa=function(a){return _.L(this,20,a)};_.h.Tc=function(){return _.K(this,_.ef,25)};_.h.Bx=function(){return _.K(this,_.mf,34)};
_.h.AE=function(a){_.nf(this,44,_.vf,a)};_.h.Xg=function(a){return _.uj(this,44,_.vf,a)};_.h.rT=function(){return _.K(this,_.ih,48)};U6d.mb=[1,3,9,13,14,15,16,23,26,27,28,31,32,33,35,36,37,39,40,41,42,44,45];var fZd=function(a){this.Ca=_.p(a)};_.P(fZd,_.w);fZd.prototype.Ws=function(){return _.z(this,2)};fZd.prototype.iD=function(){return _.Zg(this,2)};var V6d=function(a){this.Ca=_.p(a)};_.P(V6d,_.w);V6d.prototype.getQuery=function(){return _.K(this,U6d,1)};V6d.prototype.ef=function(a){return _.Q(this,U6d,1,a)};V6d.prototype.getOptions=function(){return _.K(this,fZd,2)};var W6d=function(a){this.Ca=_.p(a)};_.P(W6d,_.w);W6d.prototype.oD=function(){return _.K(this,_.Br,1)};W6d.prototype.iX=function(){return _.Yj(this,3)};W6d.mb=[3];var X6d=function(a){this.Ca=_.p(a)};_.P(X6d,_.w);X6d.prototype.jh=function(a){return _.Kj(this,_.Oq,1,_.Ff(a))};X6d.prototype.xo=function(a,b){return _.nf(this,1,_.Oq,a,b)};X6d.prototype.Ws=function(){return _.z(this,2)};X6d.prototype.iD=function(){return _.Zg(this,2)};X6d.mb=[1];var dZd=function(a){this.Ca=_.p(a)};_.P(dZd,_.w);dZd.prototype.jd=function(a,b){return _.uj(this,2,_.qq,a,b)};dZd.mb=[2];var eZd=function(a){this.Ca=_.p(a)};_.P(eZd,_.w);eZd.prototype.getQuery=function(){return _.K(this,dZd,1)};eZd.prototype.ef=function(a){return _.Q(this,dZd,1,a)};eZd.prototype.getOptions=function(){return _.K(this,fZd,2)};var Y6d=function(a){this.Ca=_.p(a)};_.P(Y6d,_.w);Y6d.prototype.Ws=function(){return _.z(this,2)};Y6d.prototype.iD=function(){return _.Zg(this,2)};Y6d.mb=[1];var rYd=function(){return(new _.dKd("customer_id","id","email","email_from_account","focus_user_id","name","organization_display_name","photo_url")).yj()},tYd=function(a,b){switch(a){case 1:return[_.ZP("file_suggestions_cache_duration"),new _.$P("file_suggestions",Z6d(b))];case 2:return[_.ZP("folder_suggestions_cache_duration"),new _.$P("folder_suggestions",Z6d(b))];case 4:return[_.ZP("file_suggestions_cache_duration"),new _.$P("file_suggestions",Z6d(b)),_.ZP("folder_suggestions_cache_duration"),
new _.$P("folder_suggestions",Z6d(b))];default:return _.fv}},Z6d=function(a){var b=new _.dKd("action","quick_access","owner_metadata","suggestion_session_id","suggested_rank");a=_.gKd(a).yj();_.dv(a)||(a=new _.$P("item",a),_.bKd(b,a));return b.yj()};var $6d=function(a){this.Bna=a};$6d.prototype.xT=function(){return this.Bna};$6d.prototype.Xia=function(a){this.Bna=a};$6d.prototype.XHb=function(a){return a};var a7d=function(a){var b=new $6d(a);return Object.assign(function(){return b.Bna.apply(b,_.Eb(_.ec.apply(0,arguments)))},{xT:b.xT.bind(b),Xia:b.Xia.bind(b),XHb:b.XHb.bind(b),execute:b.Bna.execute.bind(b),instance:b.Bna.instance})};var b7d=function(){},c7d=function(a){return Object.assign(function(){return a.execute.apply(a,_.Eb(_.ec.apply(0,arguments)))},{execute:a.execute.bind(a),instance:a})};var d7d=function(a,b,c,d){this.request=a;this.response=b;this.oe=c===void 0?0:c;this.eq=d===void 0?!1:d};var e7d=function(a,b){_.sm.call(this,a);this.data=b};_.P(e7d,_.sm);e7d.prototype.ee=function(){return this.data.request};e7d.prototype.getResponse=function(){return this.data.response};e7d.prototype.mf=function(){return this.data.oe};var qR=function(a,b){_.Ig.call(this);this.ua=a;this.O=b;this.Ga=_.Ng();this.cache=new Map;this.H=[];this.Ba=!1;this.W=null};_.P(qR,_.Ig);qR.prototype.b_a=function(){return this.Ga};
qR.prototype.yp=function(a,b){var c=this;b=b===void 0?null:b;var d=this.Pba(a);if(d!==2){this.O&&f7d(this.O);var e=null,f=rR(this,a);if(f.request&&f.response&&this.rN(f.request,a,!1)){e=f.response;var g=f.oe}if(e)return Promise.resolve(new d7d(f.request,e,g,!0));if(d===1)return!e&&this.O?(g7d(this.O),f=h7d(this).then(function(){var l=rR(c,a);l.request&&l.response&&c.rN(l.request,a,!1)&&(e=l.response,g=l.oe)})):f=Promise.resolve(),f.then(function(){return new d7d(a,e,g,!!e)})}f=_.n(this.H);for(var k=
f.next();!k.done;k=f.next())if(k=k.value,this.rN(k.ee(),a,!0))return k.getData();return Promise.all([a].map(function(l){var m=new i7d(c.bna(l));c.H.push(m);if(l=d!==2?b:null)m.Ke=!0;(l!=null?l:Promise.resolve()).then(function(){m.Ke=!1;j7d(c)});return m.getData()})).then(function(l){return l[0]})};var rR=function(a,b){a=a.cache.get(a.b_a(b));var c,d;return new d7d((c=a==null?void 0:a.request)!=null?c:null,(d=a==null?void 0:a.response)!=null?d:null,a==null?void 0:a.oe,!(a==null||!a.response))};
qR.prototype.Pba=function(){return 0};var j7d=function(a){if(a.H.length!==0&&!a.H[0].H&&!a.H[0].Ke){var b=a.H[0];if(a.Ba)k7d(b);else{b.H=!0;var c=a.oqb(b.ee());c.H.requestId=b.wl();(b.resolved&&a.rN(b.ee(),c.request,!0)?Promise.resolve():l7d(a,c).then(function(d){a.setData(c.request,d,1);b.resolve(c.request,d,1,!1)},function(d){a.O&&a.Pba(b.ee())!==2&&g7d(a.O);b.reject(d)})).then(function(){_.xa(a.H,b);j7d(a)})}}};qR.prototype.oqb=function(a){return new m7d(a)};
var l7d=function(a,b){return a.ua.then(function(c){return c.Nh(b.request,b.H)})};qR.prototype.set=function(a,b,c){var d=this.setData(this.bna(a),b,c);if(d)for(var e=_.n(this.H),f=e.next(),g={};!f.done;g={pua:void 0},f=e.next())g.pua=f.value,this.rN(a,g.pua.ee(),!1)&&(g.pua.resolve(a,b,c,!0),g.pua.H&&this.ua.then(function(k){return function(l){l.cancel(k.pua.wl())}}(g)));return d};
qR.prototype.setData=function(a,b,c){var d=rR(this,a);if(d.request&&!this.rN(a,d.request,!1)||!this.Eya(a,b))return!1;d=this.b_a(a);this.cache.set(d,new d7d(a,b,c));a=rR(this,a);this.Ztb(a);this.W&&this.dispatchEvent(new e7d(this.W,a));this.O&&(a=this.O,a.enabled&&a.disable());return!0};qR.prototype.Ztb=function(){};
var USd=function(a,b){!a.W&&b&&(a.W=b)},k7d=function(a){a.reject(_.TN("Data unavailable in coldstart"))},h7d=function(a){return a.O?a.O.V.promise:Promise.resolve(!1)},i7d=function(a){this.request=a;this.resolved=this.Ke=this.H=!1;this.requestId=_.Ng();this.he=new _.By};_.h=i7d.prototype;_.h.wl=function(){return this.requestId};_.h.ee=function(){return this.request};_.h.resolve=function(a,b,c,d){this.resolved||(this.resolved=!0,this.he.resolve(new d7d(a,b,c,d)))};
_.h.reject=function(a){this.resolved||(this.resolved=!0,this.he.reject(a))};_.h.getData=function(){return this.he.promise};var m7d=function(a){var b=b===void 0?{}:b;this.request=a;this.H=b};var SSd=function(a){var b=this;this.O=a;this.W=new _.By;this.V=new _.By;this.enabled=!0;this.H=this.ma=!1;this.ua=function(){b.enabled&&b.ma&&g7d(b)};this.eventHandler=new _.Lg;this.eventHandler.listen(this.O,_.DA.bG,this.ua)},g7d=function(a){a.enabled&&!a.H&&(a.H=!0,a.disable(),a.W.promise.then(function(b){b().then(function(c){a.V.resolve(c)})}))};SSd.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.eventHandler.Nd(this.O,_.DA.bG,this.ua),this.H||(this.H=!0,this.V.resolve(!1)))};
var ZSd=function(a,b){a.W.resolve(b)},f7d=function(a){a.enabled&&(a.ma=!0,a.O.Hg()&&g7d(a))};var n7d=function(a){_.sm.call(this,"Ia");this.u4=a};_.P(n7d,_.sm);var o7d=function(){return(0,_.wpa)(Map,arguments,this.constructor)};_.P(o7d,Map);var p7d=function(a,b){if(b>=0)return!a||a<b?b:a;if(b===-1)return!a||a<=1?2:a+1;if(b===-2)return!a||a<=2?1:a-1;throw Error("ah");},q7d=function(a,b){return a>1?b===2:a===b};var r7d=function(a,b){a=a===void 0?mSd:a;b=b===void 0?nSd:b;_.Ig.call(this);this.O=a;this.H=b;this.entries=new o7d};_.P(r7d,_.Ig);var t7d=function(){function a(c,d){return c.value===null||d.value===null?!1:b.compare(c.value,d.value)===-1}var b=s7d;return new r7d(function(c,d){return oSd(d.oe)?a(c,d):c.value===null||d.value===null?!0:b.compare(c.value,d.value)!==1},function(c,d){return oSd(d.oe)?a(c,d):c.value===null||d.value===null?!(c.value===null&&d.value===null):b.compare(c.value,d.value)===-1})};
_.h=r7d.prototype;_.h.nn=function(a){return this.entries.get(a)};_.h.FM=function(a){var b=this;return new Map(a.map(function(c){return[c,b.entries.get(c)]}))};_.h.getAll=function(){return new Map(this.entries)};_.h.has=function(a){return this.entries.has(a)};_.h.zh=function(a){return this.entries.has(a)&&this.entries.get(a).value!==null};_.h.Uk=function(){return this.entries.has(void 0)&&this.entries.get(void 0).value===null};
_.h.delete=function(a,b,c){c=c===void 0?1:c;var d=this.zh(a);this.lr([new EQ(a,null)],b,c);return d};_.h.clear=function(){this.entries.clear()};_.h.lr=function(a,b,c){c=c===void 0?1:c;var d=[],e=[],f=Date.now();a=_.n(a.map(kSd(iSd(b,c,f))));for(b=a.next();!b.done;b=a.next())if(b=b.value,f=_.n(b.CE()),c=f.next().value,f=f.next().value,(c=this.entries.get(c))?this.O(c,f):1)this.update(b),d.push(b),(c?this.H(c,f):f.value!==null)&&e.push(b);e.length>0&&this.notify(e);return d};
var u7d=function(a,b){var c=[];b=_.n(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=_.n(d.CE()),f=e.next().value;e=e.next().value;if(!a.has(f)||a.H(a.entries.get(f),e))a.entries.set(f,e),c.push(d)}c.length>0&&a.notify(c)};r7d.prototype.notify=function(a){this.dispatchEvent(new n7d(a))};r7d.prototype.update=function(a){var b=_.n(a.CE());a=b.next().value;b=b.next().value;var c=this.entries.get(a);this.entries.set(a,{value:b.value,oe:b.oe,Sr:p7d((c==null?void 0:c.Sr)||null,b.Sr),Zga:b.Zga})};var sR=function(a,b){this.getKey=a;this.W=b;this.O=new Map};_.h=sR.prototype;_.h.VDa=function(a){return this.O.get(this.getKey(a))};_.h.size=function(){return this.O.size};_.h.ho=function(a,b){var c=this.getKey(b),d=this.O.get(c),e=!d;d||(d=this.W(b),this.O.set(c,d));d.ho(a);return e};_.h.xr=function(a,b){var c=this.O.get(this.getKey(b));c&&(c.xr(a),c.isDisposed()&&this.O.delete(this.getKey(b)))};
_.h.lr=function(a,b,c,d){var e=this;c=c===void 0?1:c;d=d===void 0?null:d;var f=a.filter(function(g){return e.isValid(g)});this.O.forEach(function(g){g.lr(f,b,c,d)})};_.h.isValid=function(){return!0};_.h.hF=function(a,b){(a=this.O.get(this.getKey(a)))&&a.CN(b)};_.h.oga=function(a,b,c,d){var e=this.getKey(b),f=this.O.get(e);f||(f=this.W(b),f.Vj(c),this.O.set(e,f),this.lr(a,d))};var v7d=function(a,b,c){b=a.getKey(b);a.O.get(b).refresh(c)};var w7d=function(a,b){sR.call(this,a,b)};_.P(w7d,sR);w7d.prototype.VDa=function(a){return sR.prototype.VDa.call(this,a)};var x7d=function(a){_.sm.call(this,"Ja");this.H=a};_.P(x7d,_.sm);var RSd=function(){_.Ig.call(this);this.RAb=null};_.P(RSd,_.Ig);RSd.prototype.notify=function(a){this.RAb=a;this.dispatchEvent(new x7d(a))};var WSd=function(a,b,c){var d=this;this.ma=a;this.W=b;this.V=c;this.H=void 0;this.eventHandler=new _.Lg;this.O=new _.hKd;this.eventHandler.listen(this.W,"Ja",function(e){y7d(d,e.H)});(a=this.W.RAb)&&y7d(this,a)},z7d=function(a){a.O.reset();clearTimeout(a.H);a.H=void 0};WSd.prototype.PE=function(a){var b=this,c;return _.Li(function(d){if(d.H==1)return c=!0,_.Di(d,b.V(a).catch(function(){return c=!1}),2);if(!c)return z7d(b),d.return(!1);y7d(b,Date.now());return d.return(!0)})};
var y7d=function(a,b){z7d(a);b=Math.max(b+a.ma-Date.now(),6E4);a.H=setTimeout(function(){A7d(a)},b)},A7d=function(a){var b;_.Li(function(c){if(c.H==1)return _.Di(c,a.V(1507).catch(function(){return a.H=void 0}),2);if(!a.H)return a.H=setTimeout(function(){A7d(a)},a.O.ob()),_.ZF(a.O),c.return();b=Date.now();y7d(a,b);_.Ei(c)})};var tR=function(a,b){_.ui.call(this);this.request=b;this.uF=new Set;this.status=6;this.ma=new Map;this.oe=0;this.Da=!1;this.V=Promise.resolve(a)};_.P(tR,_.ui);_.h=tR.prototype;_.h.getStatus=function(){return this.status};_.h.ho=function(a){this.uF.add(a);this.lU();return this.Z2(a)};_.h.xr=function(a){this.uF.has(a);this.uF.delete(a);this.uF.size===0&&this.dispose()};_.h.mf=function(){return this.oe};_.h.Vj=function(a){this.oe=a};
_.h.lr=function(a,b,c,d){c=c===void 0?1:c;d=d===void 0?null:d;var e=!1;a=_.n(a);for(var f=a.next();!f.done;f=a.next())e=this.Sz(f.value,c)||e;if(!b)if(d){if(_.Rh(d,this.request)||e)e=!0,this.status=1}else e=this.status!==1||e,this.status=1;return e?(this.Da=!0,this.lia().then(function(){return e},function(){return e})):Promise.resolve(!1)};_.h.lia=function(){var a=this;return Promise.all([].concat(_.Eb(this.uF)).map(function(b){return a.Z2(b)})).then(function(){})};
_.h.CN=function(a){this.status=3;for(var b=[],c=_.n(this.uF.values()),d=c.next(),e={};!d.done;e={Rub:void 0},d=c.next())e.Rub=d.value,b.push(this.V.then(function(f){return function(g){return void g.CN(f.Rub,a)}}(e)));return _.im(b)};_.h.jZ=function(a,b){var c=a?this.ma.get(a)||null:null;b=p7d(c,b);this.ma.set(a,b)};_.h.Z2=function(a){var b=this;return this.V.then(function(c){b.Da&&c.Z2(a,b.tj())})};var B7d=function(a,b){tR.call(this,a,b)};_.P(B7d,tR);B7d.prototype.lU=function(){this.resize()};B7d.prototype.resize=function(){var a=this,b,c,d,e,f,g;return _.Li(function(k){if(k.H==1)return _.Di(k,a.V,2);b=k.O;c=0;d=_.n(a.uF);for(e=d.next();!e.done;e=d.next())f=e.value,g=C7d(b,f),c=Math.max(c,g.Qj!==void 0?g.Qj()||0:0);a.deb(c);_.Ei(k)})};var D7d=function(a,b){tR.call(this,a,b)};_.P(D7d,tR);D7d.prototype.lU=function(){};var E7d=function(a,b){this.lka=a;this.V=b;this.eventHandler=new _.Lg(this);a=this.V.Hg()?this.lka.bG:this.lka.mib;this.ua=a7d(a)};E7d.prototype.configure=function(){F7d(this)};var F7d=function(a){a.eventHandler.listen(a.V,[_.DA.CONNECTED,_.DA.o_,_.DA.bG],function(){a.H()})};E7d.prototype.H=function(){this.FM.Xia(this.V.Hg()?this.lka.bG:this.lka.mib)};_.zi.Object.defineProperties(E7d.prototype,{FM:{configurable:!0,enumerable:!0,get:function(){return this.ua}}});var G7d=function(a){this.H=a};_.P(G7d,b7d);G7d.prototype.execute=function(a){var b=this,c;return _.Li(function(d){if(d.H==1)return _.Di(d,H7d(b.H,a),2);c=d.O;return d.return(c.map(kSd(pSd)))})};var I7d=function(a,b){this.H=a;this.O=b};_.P(I7d,b7d);I7d.prototype.execute=function(a){var b=this.H.FM(a);a=[];b=_.n(jSd(b));for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.value;d===void 0?(this.O.H.add(c.key),a.push(FQ([c.key,{value:null,status:2,oe:0,Sr:0,eq:!1}]))):a.push(FQ([c.key,Object.assign({},d,{status:1,eq:!0})]))}return Promise.resolve(a)};var J7d=function(a,b){this.H=a;this.O=b};_.P(J7d,b7d);J7d.prototype.execute=function(a){var b=this,c,d,e,f,g,k,l,m,q,r,t,u,v;return _.Li(function(x){if(x.H==1){c=b.H.FM(a);d=[];e=[];f=_.n(jSd(c));for(g=f.next();!g.done;g=f.next())k=g.value,l=_.n(k.CE()),m=l.next().value,q=l.next().value,r=m,t=q,t===void 0?e.push(k.key):d.push(FQ([r,Object.assign({},t,{status:1,eq:!0})]));return _.Di(x,H7d(b.O,e),2)}u=x.O;v=u.map(kSd(pSd));return x.return(d.concat(v))})};var K7d=function(a,b){this.dataType=9;this.H=a;this.O=b},L7d=function(a,b,c){return function(){var d=_.ec.apply(0,arguments),e=a.O.H(106040);return Promise.resolve(b.apply(null,_.Eb(d))).then(function(f){e&&(c&&c(e,f),e.Vi());return f})}};
K7d.prototype.F9b=function(a,b){var c=_.K(_.oQ(a),e0d,28);c||(c=new e0d,a=_.oQ(a),_.Q(a,e0d,28,c));c=_.I(c,2,1);a=_.aQ(_.yKd,this.dataType);a=_.I(c,1,a);var d=0;c=0;b=_.n(b);for(var e=b.next();!e.done;e=b.next())e.value.value.eq?d++:c++;b=_.Ug(a,3,d);b=_.Ug(b,4,c);c=this.H.H("mrK8ic")?3:this.H.H("zaOY7")?2:1;_.I(b,5,c)};var M7d=function(a){this.H=a};var N7d=function(){},O7d=function(a,b,c){for(var d=_.n(b),e=d.next();!e.done;e=d.next())a.H.set(e.value,c);c.catch(function(){}).finally(function(){for(var f=_.n(b),g=f.next();!g.done;g=f.next())a.H.delete(g.value)})},Q7d=function(a,b){if(a.size()===0)return{Pab:b};for(var c=[],d=new Map,e=_.n(b),f=e.next();!f.done;f=e.next()){f=f.value;var g=a.H.get(f);g?(d.has(g)||d.set(g,new Set),d.get(g).add(f)):c.push(f)}if(d.size===0)return{Pab:b};a=[].concat(_.Eb(d.entries())).map(function(k){var l=_.n(k);
k=l.next().value;l=l.next().value;return P7d(l,k)});a=Promise.all(a).then(function(k){return k.flat()});return{Pab:c,GEc:a}};var R7d=function(){this.H=new Map};_.P(R7d,N7d);R7d.prototype.size=function(){return this.H.size};var P7d=function(a,b){var c,d,e,f,g,k;return _.Li(function(l){if(l.H==1)return _.Di(l,b,2);c=l.O;d=[];e=_.n(c);for(f=e.next();!f.done;f=e.next())g=f.value,k=g.key,a.has(k)&&d.push({request:k,response:g});return l.return(d)})};var S7d=function(a,b){this.V=a;this.O=b;this.H=new R7d},H7d=function(a,b){var c,d,e,f,g;return _.Li(function(k){if(k.H==1){if(b.length===0)return k.return([]);c=Q7d(a.H,b);d=c.Pab;e=c.GEc;if(d.length===b.length)return k.return(T7d(a,d));f=T7d(a,d);return _.Di(k,Promise.all([f,e.then(function(l){return l.map(function(m){return m.response})})]),2)}g=k.O;return k.return(g.flat())})},T7d=function(a,b){var c,d;return _.Li(function(e){if(e.H==1){if(b.length===0)return e.return([]);c=U7d(a.V,b);O7d(a.H,
b,c);return _.Di(e,c,2)}d=e.O;a.lr(d);return e.return(d)})};S7d.prototype.lr=function(a){this.O.lr(a.filter(function(b){return b.value.status===1}).map(kSd(function(b){return b.value})),1)};var V7d=function(){this.H=new Set};var W7d=function(a,b,c){_.Ig.call(this);this.V=a;this.H=b;this.O=c};_.P(W7d,_.Ig);W7d.prototype.configure=function(){var a=this;this.H.listen("Ia",function(b){return a.dispatchEvent(b)})};W7d.prototype.FM=function(a){return L7d(this.O,this.V.FM,this.O.F9b.bind(this.O))(a)};W7d.prototype.refresh=function(a){return this.V.lka.m4b.execute(a).then()};W7d.prototype.lr=function(a,b,c){this.H.lr(a,b,c===void 0?1:c)};var uR=function(a){this.H=a};uR.prototype.clear=function(a){this.H.clear(a)};uR.prototype.has=function(a){return this.H.has(a)};uR.prototype.get=function(a){return this.H.get(a)};uR.prototype.set=function(a,b){return this.H.set(a,b)};var vR=function(a,b){this.first=a;this.second=b};vR.prototype.clear=function(a){this.first.has(a)&&this.second.clear(this.first.get(a))};vR.prototype.has=function(a){return this.first.has(a)&&this.second.has(this.first.get(a))};vR.prototype.get=function(a){return this.second.get(this.first.get(a))};
vR.prototype.set=function(a,b){this.second.set(this.first.get(a),b);return a};var X7d=function(a,b){this.key=a;this.config=b};var EZd=function(a,b,c){X7d.call(this,a,c);this.H=b};_.P(EZd,X7d);EZd.prototype.clear=function(a){this.H.clear(a)};EZd.prototype.has=function(a){return this.H.has(a)};EZd.prototype.tN=function(a,b){this.has(b)&&this.H.set(a,this.H.get(b))};var wR=function(a,b){_.sm.call(this,"Oa");this.error=a;this.retryCount=b};_.P(wR,_.sm);var Y7d=function(a,b,c,d){_.Ig.call(this);this.request=a;this.Ga=b;this.Da=c;this.Ba=0;this.he=null;this.logger=d.Kf("sync.query.SimpleFindByIdsRunner");this.O=new Set};_.P(Y7d,_.Ig);
Y7d.prototype.Cj=function(){var a=this;if(this.he)return this.he.promise;this.he=new _.By;for(var b=_.n(this.W(this.request)),c=b.next(),d={};!c.done;d={gCb:void 0,X0a:void 0},c=b.next()){var e=_.n(c.value);c=e.next().value;e=e.next().value;d.X0a=c;d.gCb=e;this.Ba++;this.Ga.then(function(f){return function(g){return g.Nh(f.gCb)}}(d)).then(function(f){return function(g){var k=f.X0a;a.V(g);Z7d(a,k)}}(d),function(f){return function(g){return void a.handleError(f.X0a,g)}}(d))}return this.he.promise};
var Z7d=function(a,b){a.O.add(b);a.O.size===a.Ba?(a.ma(a.request),a.dispatchEvent("Na"),a.he.resolve()):a.dispatchEvent("Ka")};Y7d.prototype.handleError=function(a,b){b=_.TN(b);var c=b.yg;_.Ae(c,2)===5||_.Kr(c)===4?(this.logger.info("Deleting "+a+" due to: "+b.message),this.ua(a),Z7d(this,a)):(a=new wR(c,_.Sj(_.cr(this.Da),1,1)),this.dispatchEvent(a),this.he.reject(b))};var xR=function(a,b){_.Ig.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.V=b};_.P(xR,_.Ig);var $7d=function(a){return!a.O||a.pageToken!==""};xR.prototype.Cj=function(a){this.limit=a===void 0?1E5:a;return!this.H&&this.data.length<=this.limit&&$7d(this)?a8d(this):Promise.resolve([])};
var a8d=function(a){a.O=!0;a.H=!0;var b=a.hCa(a.request,a.limit-a.data.length,a.pageToken);return a.V(b).then(function(c){return b8d(a,c)},function(c){return a.handleError(c)})},b8d=function(a,b){a.H=!1;a.pageToken=a.UEa(b);b=a.hEa(b);b.forEach(function(c){return a.data.push(c)});a.Oka(b);return a.data.length<a.limit&&$7d(a)?Promise.all([Promise.resolve(b),a8d(a)]).then(function(c){return c[0].concat(c[1])}):Promise.resolve(b)};
xR.prototype.handleError=function(a){this.H=!1;a=_.aO(a,44);var b=new wR(a);this.eeb(b);this.dispatchEvent(b);return Promise.reject(new _.wf(void 0,a))};xR.prototype.Oka=function(){};xR.prototype.eeb=function(){};var c8d=function(a,b,c,d){this.gU=a;this.W=b;this.H=c;this.logger=d.Kf(_.ku("network.routing.interceptor.MigrationInterceptor [%s]",a))};c8d.prototype.intercept=function(a,b,c){this.logger.info("intercepting "+this.O+" "+this.gU+" for "+this.V);b=this.W.split(b,c);return this.H.execute(a,b)};var d8d=function(a){_.sm.call(this,"Pa");this.dataType=a};_.P(d8d,_.sm);_.e8d=function(a,b){_.sm.call(this,"Qa");this.percentDone=a;this.BRa=b};_.P(_.e8d,_.sm);var f8d=function(a,b,c,d){_.HA.call(this,a,b,1,c);this.request=d;this.response=null;this.changed=!1;this.oe=0;this.tCa=new _.By;this.W=!1};_.P(f8d,_.HA);_.h=f8d.prototype;_.h.BH=function(){return"sync.cache.accountsettings.LiveList"};_.h.ee=function(){return this.request};
_.h.update=function(a){var b=a.response.clone();if(b){if(this.response===null||!this.response.jf()&&b.jf()||_.Nj(b,4)>_.Nj(this.response,4))this.changed=!0,this.response=b,a.oe&&(this.oe=a.oe),_.Ae(b,1)===1&&(this.W&&(this.tCa=new _.By),this.tCa.resolve(this.response),this.W=!0);_.IA(this,_.Ae(b,1))}this.dA()};_.h.hF=function(a){a=new _.wf("Error occurred running an account settings query after "+(a.retryCount+" retries."),a.error);this.W||(this.tCa.reject(a),this.W=!0);this.dispatchEvent(new _.xf(a))};
_.h.getData=function(){return this.response||new hR};_.h.Ls=function(){return new b5d};_.h.mf=function(){return this.oe};_.h.yc=function(){return this.response?1:0};_.h.CT=function(){this.dA()};_.h.dA=function(){this.active&&this.changed&&(this.changed=!1,this.dispatchEvent(new _.sm(_.uh,this)))};var s7d={compare:function(a,b){a=Number(_.Zg(a,2));b=Number(_.Zg(b,2));if(isNaN(a)||isNaN(b))throw Error("bh");switch(!0){case a<b:return-1;case a>b:return 1;default:return 0}}},uSd=function(a,b){var c=_.Kj(_.kk(a,SWd,6,D2d),WWd,2,_.Ff()).find(function(f){return f.getId()===b});a=new _.OGd;if(!c)return a;var d=c.getProperties();c=_.K(c,ZWd,3);var e;(d==null?0:(e=_.K(d,YWd,3))==null?0:_.Gk(e,1))&&_.PGd(a,_.Uj(_.K(d,YWd,3),1));(d==null?0:_.Hk(d,1))&&a.setTitle(d.we());if(c==null?0:_.oj(c,SQ,4))e=_.K(c,
SQ,4),_.QGd(a,tSd(e));if(c==null?0:_.oj(c,SQ,5))e=_.K(c,SQ,5),_.RGd(a,tSd(e));return a};_.yR=function(a,b,c){_.Ig.call(this);var d=this;this.Uh=a;this.logName=b;this.wGa=new _.By;this.ma=this.W=this.logger=this.channel=this.clientId=null;this.ua=0;c.then(function(e){g8d(d,e)})};_.P(_.yR,_.Ig);
var g8d=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.logger=b.Td.Kf(a.logName);var c;a.W=(c=b.O)!=null?c:null;var d;a.ma=(d=b.V)!=null?d:null;var e;(e=a.channel)==null||e.addOnDisposeCallback(function(){a.dispose()});cR(a.channel,a.Uh,function(f){f=j4d(f);a.V(f.O,!(!f.data||!f.H),f.data,f.error)});a.logger.info("Service initialized: "+a.Uh);a.wGa.resolve()};_.yR.prototype.V=function(){};
_.yR.prototype.send=function(a,b,c,d){var e=this,f=new _.By;this.wGa.promise.then(function(){var g=e.channel,k=new e4d(e.clientId,a,b,d);e.isActive()?o4d(g,e.Uh,f4d(k,g.H),function(l){return void h8d(l,a,f,c||function(){})}):i8d(e,a,f)});return f.promise};
var i8d=function(a,b,c){if(a.ua<3){a.ua++;var d,e=(d=a.W)==null?void 0:_.hQ(d,106037);if(e){var f;d=(f=a.ma)==null?void 0:f.H;f=d===void 0?0:d?1:2;d=_.K(_.oQ(e),c0d,26);if(!d){d=new c0d;var g=_.oQ(e);_.Q(g,c0d,26,d)}d=_.I(d,1,1);d=_.L(d,2,a.Uh);d=_.L(d,3,b);_.I(d,4,f);e.Vi()}c.reject(new j8d(a.Uh,b))}else(e=a.logger)==null||e.yw("Cannot execute method "+b+" on service "+a.Uh+". The underlying communication channel has been shutdown.")},h8d=function(a,b,c,d){a=j4d(a);a.data?c.resolve(d(a.data,a.H)):
(a.error?b=a.error:(b="Worker["+b+"]: An invalid response was received",b=_.Lr(_.$N((new _.Gr).Eb(2),30),b)),c.reject(new _.wf(void 0,b)))};_.yR.prototype.Kf=function(){return this.logger};_.yR.prototype.isActive=function(){var a;return!((a=this.channel)==null?0:a.isDisposed())};var k8d=function(a,b,c,d,e,f){this.clientId=a;this.channel=b;this.Td=c;this.H=d;this.O=e;this.V=f},j8d=function(a,b){_.wf.call(this,"Error in BaseServiceProxy: Cannot execute method "+b+" on service "+(a+". The underlying communication channel has been shutdown."))};
_.P(j8d,_.wf);var l8d=function(){_.GA.call(this,function(a){return a.getName()},F5d)};_.P(l8d,_.GA);var m8d=function(a,b,c,d){_.HA.call(this,b,a,d.Qj()||void 0);this.request=d;this.ua=[];this.data=[];this.changed=!1;this.W=new l8d;this.Da=c};_.P(m8d,_.HA);_.h=m8d.prototype;_.h.CT=function(){(this.data.length>0||this.getStatus()!==6)&&this.dispatchEvent(new _.sm(_.uh,this))};_.h.BH=function(){return"sync.CategoryMetadataLiveList"};_.h.getData=function(){return H5d(new lR,this.data).Tb(this.getStatus())};
_.h.Ls=function(){var a=_.EA(this.W,this.ua,this.data);this.ua=this.data;var b=(new G5d).Tb(this.getStatus());a=a.map(IQd);return _.Mj(b,2,a)};_.h.Uaa=function(){this.Da(this.Cy(),this.limit)};_.h.dA=function(){if(this.active){var a=_.IA(this);if(this.changed||a)this.changed=!1,n8d(this)}};_.h.yc=function(){return this.data.length};_.h.ee=function(){return this.request};
_.h.update=function(a){var b=a.response;if(this.getStatus()!==_.Ae(b,1)||L_d(this.W,this.data,b.Kea(_.wg)))this.changed=this.H=!0,_.IA(this,_.Ae(b,1)),this.data=b.Kea(_.wg),this.O=a.H,n8d(this)};var n8d=function(a){a.log("returning "+a.data.length+" for "+(_.E(a.request,1)+". Status: ")+(_.Hc(_.kKa)[a.getStatus()]+"."));a.dispatchEvent(new _.sm(_.uh,a))};
m8d.prototype.hF=function(a){this.dispatchEvent(new _.xf(new _.wf("Error occurred running a category metadata query after "+a.retryCount+" retries.",a.error)))};var o8d=function(){_.GA.call(this,function(a){return _.E(a,1)},K6d)};_.P(o8d,_.GA);var p8d=function(a,b,c){_.HA.call(this,a.Td,a.Xo(),b.Qj()||10,c);this.request=b;this.W=[];this.data=[];this.changed=!1;this.ua=new o8d;this.suggestionSessionId=null};_.P(p8d,_.HA);_.h=p8d.prototype;_.h.CT=function(){(this.data.length>0||this.getStatus()!==6)&&this.dispatchEvent(new _.sm(_.uh,this))};_.h.BH=function(){return"sync.SuggestedWorkspaceQueryLiveList"};_.h.getData=function(){this.W=this.data;return CXd(DXd((new WQ).Tb(this.getStatus()),this.data.slice(0)),this.suggestionSessionId)};
_.h.Ls=function(){var a=_.EA(this.ua,this.W,this.data);this.W=this.data;var b=(new M6d).Tb(this.getStatus());a=a.map(KQd);return _.Mj(b,2,a)};_.h.Uaa=function(){};_.h.dA=function(){var a=_.IA(this);if(this.changed||a)this.changed=!1,this.dispatchEvent(new _.sm(_.uh,this))};_.h.yc=function(){return this.data.length};_.h.ee=function(){return this.request};
_.h.update=function(a){if(this.getStatus()!==_.Ae(a,1)||L_d(this.ua,this.data,a.H(_.wg))){this.changed=this.H=!0;this.data=a.H(_.wg);if(a=a.En())this.suggestionSessionId=a;this.dA()}};_.h.hF=function(a){this.dispatchEvent(new _.xf(new _.wf("Error occurred running a Suggested Workspace query after "+(a.retryCount+" retries."),a.error)))};var q8d=function(a,b,c,d){_.CA.call(this,a);var e=this;this.request=b;this.ma=c;this.W=d;this.O=[];this.items=[];this.status=6;this.V=_.Ur(new _.Tr,[1]);this.H=!0;this.limit=b.Qj();this.addOnDisposeCallback(function(){e.O=[]})};_.P(q8d,_.CA);_.h=q8d.prototype;_.h.Cba=function(){this.items.length==0&&this.status===6&&this.H||this.dispatchEvent(new _.sm(_.uh,this))};_.h.BH=function(){return"sync.TeamDriveLiveList"};_.h.ee=function(){return this.request};_.h.getStatus=function(){return this.status};
_.h.gt=function(){return this.V};_.h.xl=function(){return this.H};_.h.getData=function(){this.O=this.items;return K_d(_.wO((new _.Cr).Tb(this.status),this.items),this.H)};_.h.Ls=function(){var a=_.EA(_.rpb(),this.O,this.items);var b=(new _.sKa).Tb(this.status);a=a.map(_.ila);b=_.Mj(b,2,a);this.O=this.items;return b};_.h.yD=function(a){this.isActive()&&(this.limit+=a||20,this.ma.dba(this.Cy(),this.limit))};
_.h.update=function(a){if(this.status!==_.Ae(a,1)||L_d(_.rpb(),this.items,a.Gd(_.wg)))this.items=a.Gd(_.wg),this.status=_.Ae(a,1),this.H=a.iq(),_.zP(this.W)&&_.Ur(this.V,_.kla(this.status,this.items,{FKa:this.limit,xl:this.H})),this.isActive()&&this.dispatchEvent(new _.sm(_.uh,this))};_.h.hF=function(a){this.dispatchEvent(new _.xf(new _.wf("Error occurred running a Team Drive query after "+a.retryCount+" retries.",a.error)))};_.h.cCb=function(){throw Error("fh");};_.h.refresh=function(){};
_.h.iCb=function(){throw Error("gh");};var r8d=function(a,b,c){_.CA.call(this,a.Td);var d=this;this.context=a;this.W=b;this.request=c;this.O={};this.H={};this.status=6;this.V=_.Ur(new _.Tr,[1]);this.log("Creating TD find by ids live map: "+this.request.Lh().join(", "));this.addOnDisposeCallback(function(){d.O={}})};_.P(r8d,_.CA);_.h=r8d.prototype;_.h.Cba=function(){(Object.values(this.H).length>0||this.status!==6)&&this.dispatchEvent(new _.sm(_.uh,this))};_.h.BH=function(){return"sync.TeamDriveLiveMap"};_.h.ee=function(){return this.request};
_.h.getData=function(){this.O=this.H;var a=new HQ;a.Tb(this.status);a.map=this.H;return a};_.h.Ls=function(){var a=OQd(this.O,this.H),b=new S2d;b.Tb(this.status);Q2d(b,Object.entries(a).reduce(function(c,d){var e=_.n(d);d=e.next().value;e=e.next().value;c[d]=_.ila(e);return c},{}));this.O=this.H;return b};_.h.getStatus=function(){return this.status};_.h.gt=function(){return this.V};_.h.pO=function(a){var b=this.request;this.request=a;this.W.ixa(this.Cy(),b,a)};
_.h.update=function(a){if(this.status!==a.getStatus()||PQd(this.H,a.Dn()))this.status=a.getStatus(),this.H=a.Dn(),_.zP(this.context.Ld)&&_.Ur(this.V,_.kla(this.status,Object.values(this.H))),this.isActive()&&this.dispatchEvent(new _.sm(_.uh,this))};_.h.hF=function(a){this.dispatchEvent(new _.xf(new _.wf("Error occurred running a team drive find-by-IDs query after "+a.retryCount+" retries.",a.error)))};var s8d=function(a,b,c,d,e,f,g,k){_.oi.call(this,a,b,c,e,f,d);this.Pa=g;this.Ta=k;this.W=[]};_.P(s8d,_.oi);s8d.prototype.BH=function(){return"sync.ViewCacheLiveList"};s8d.prototype.getData=function(){this.H=this.items;var a=sTd(_.$Hd(K_d(_.wO((new _.Cr).Tb(this.getStatus()),this.items),this.xl()),this.ua),this.suggestionSessionId).Vj(this.oe);return _.yk(a,18,this.W)};
s8d.prototype.update=function(a,b){var c;if(!(c=this.getStatus()!==_.Ae(a,1)||L_d(_.rpb(),this.items,a.Gd(_.wg)))){var d,e;c=this.ua!==a.oD()||((d=this.suggestionSessionId)!=null?d:null)!==((e=_.Zg(a,17))!=null?e:null)||!_.La(this.W,_.jKa(a))}c&&(this.items=a.Gd(_.wg),this.status=_.Ae(a,1),this.V=a.iq(),_.zP(this.ma)&&_.Ur(this.O,_.kla(this.status,this.items,{FKa:this.limit,xl:this.V})),_.uKa(this.O.Sy(b),_.nk(a,12)),this.Da||this.status!==1||(_.vKa(this.O,b),this.Da=!0),this.oe=_.Ae(a,12),this.ua=
a.oD(),this.suggestionSessionId=a.En()||void 0,this.W=_.jKa(a),_.upb(this),this.suggestionSessionId&&hRd(_.NP(this.ma))&&(a=this.Pa.H(106027)))&&(b=_.K(_.oQ(a),d0d,20),b||(b=new d0d,c=_.oQ(a),_.Q(c,d0d,20,b)),_.L(b,1,this.suggestionSessionId),a.Vi())};s8d.prototype.iCb=function(){this.Ta()};var t8d=function(a,b){_.CA.call(this,a);this.request=b;this.status=6;this.H={};this.data={}};_.P(t8d,_.CA);_.h=t8d.prototype;_.h.Cba=function(){_.Bc(this.data)&&this.status===6||this.dispatchEvent(new _.sm(_.uh,this))};_.h.BH=function(){return"sync.WorkspaceFindByIdsLiveMap"};_.h.getStatus=function(){return this.status};_.h.gt=function(){return new _.Tr};_.h.getData=function(){this.H=this.data;var a=(new J4d).Tb(this.status);_.uc(this.data,function(b,c){a.A5().set(c,b||new _.XN)});return a};
_.h.Ls=function(){var a=OQd(this.H,this.data);this.H=this.data;var b=(new N6d).Tb(this.status);a=_.n(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.n(c.value);c=d.next().value;d=d.next().value;_.tb(b,2,LQd).set(c,MQd(d))}return b};_.h.pO=function(){throw Error("hh");};_.h.ee=function(){return this.request};
_.h.update=function(a){var b={};a.A5().forEach(function(c,d){c||(c=null);b[d]=c});if(this.status!==_.Ae(a,1)||PQd(this.H,b))this.status=_.Ae(a,1),this.data=b,this.active&&this.dispatchEvent(new _.sm(_.uh,this))};_.h.hF=function(a){this.dispatchEvent(new _.xf(new _.wf("Error occurred running a Workspace find by id after "+a.retryCount+" retries.",a.error)))};var u8d=function(){_.GA.call(this,function(a){return a.getId()},z4d)};_.P(u8d,_.GA);var v8d=function(a,b,c){_.HA.call(this,a.Td,a.Xo(),b.Qj()||10);this.request=b;this.gL=c;this.W=[];this.data=[];this.changed=!1;this.ua=new u8d};_.P(v8d,_.HA);_.h=v8d.prototype;_.h.CT=function(){(this.data.length>0||this.getStatus()!==6)&&this.dispatchEvent(new _.sm(_.uh,this))};_.h.BH=function(){return"sync.WorkspaceQueryLiveList"};_.h.getData=function(){this.W=this.data;return wXd((new VQ).Tb(this.getStatus()),this.data.slice(0))};
_.h.Ls=function(){var a=_.EA(this.ua,this.W,this.data);this.W=this.data;var b=(new O6d).Tb(this.getStatus());a=a.map(MQd);return _.Mj(b,2,a)};_.h.Uaa=function(){this.gL.dba(this.Cy(),this.limit)};_.h.dA=function(){var a=_.IA(this);if(this.changed||a)this.changed=!1,this.dispatchEvent(new _.sm(_.uh,this))};_.h.yc=function(){return this.data.length};_.h.ee=function(){return this.request};
_.h.update=function(a,b){var c=a.response;if(this.getStatus()!==_.Ae(c,1)||L_d(this.ua,this.data,c.H(_.wg)))this.changed=this.H=!0,_.IA(this,_.Ae(c,1)),_.vpb(this,b!=null?b:2,a.oe,[]),this.data=c.H(_.wg),this.O=a.H,this.dispatchEvent(new _.sm(_.uh,this))};_.h.hF=function(a){this.dispatchEvent(new _.xf(new _.wf("Error occurred running a Workspace query after "+a.retryCount+" retries.",a.error)))};var w8d=function(a,b,c){_.yR.call(this,"LRM","sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.P(w8d,_.yR);
var x8d=function(a,b){var c=new s8d(a.context.Iq,a.context.ma.promise,a.context.Td,a.context.Ld,function(d,e){return a.dba(d,e)},b,a.context.Oo,function(){a.send("4.31",[c.ee()],void 0,c.Cy())});zR(a,c,"4.1","4.3");return c},y8d=function(a,b){b=new p8d(a.context,b,function(c,d){a.Lua(c,d)});zR(a,b,"4.22","4.23");return b},z8d=function(a,b){b=new m8d(a.context.Xo(),a.context.Td,function(c,d){return a.dba(c,d)},b);zR(a,b,"4.18","4.19");return b},A8d=function(a,b){b=new f8d(a.context.Td,a.context.Xo(),
function(c,d){a.Lua(c,d)},b);zR(a,b,"4.24","4.25");return b},B8d=function(a,b){b=new _.fpa(a.context.Td,a.context.Xo(),function(c,d){a.Lua(c,d)},function(c,d){a.dba(c,d)},b);zR(a,b,"4.26","4.27");return b},zR=function(a,b,c,d){C8d(a,b);b.addOnDisposeCallback(function(){var e=b.Cy();D8d(a.H,e,4);delete a.O[e];a.send(d,[b.ee()],void 0,b.Cy())});a.send(c,[b.ee()],void 0,b.Cy())},C8d=function(a,b){var c=b.Cy();a.H.create(c,b.ee());a.O[c]=b};
w8d.prototype.Lua=function(a,b){var c=E8d(this,a);c&&(this.H.create(a,c.ee(),!0),this.send("4.21",[b],void 0,c.Cy()))};w8d.prototype.ixa=function(a,b,c){if((0,_.AId)(b)&&(0,_.AId)(c))this.send("4.5",[b,c],void 0,a);else if((0,_.DId)(b)&&(0,_.DId)(c))this.send("4.6",[b,c],void 0,a);else throw Error("ih");};
w8d.prototype.dba=function(a,b){var c=E8d(this,a).ee();if((0,_.VO)(c)||(0,_.BId)(c)||(0,_.TBd)(c)||h3d(c)||(0,_.EId)(c))c.Ym(b);else if((0,_.RO)(c))_.mHa(c,b);else throw Error("jh");this.send("4.28",[b],void 0,a)};var E8d=function(a,b){if(!a.O[b])throw Error("kh`"+b);return a.O[b]};
w8d.prototype.V=function(a,b,c,d){if(a=this.O[a]){var e=0;if(d)b=new wR(d,_.Rj(d,9)),a.hF(b),D8d(this.H,a.Cy(),3);else if(c&&c[e]){d=c[e++];var f=a.ee();if((0,_.VO)(f)||(0,_.BId)(f))f=_.LQ(d,b,_.Cr);else if((0,_.AId)(f)||(0,_.DId)(f))b?(f=new HQ,R2d(f,function(g){return i2d(g)},d)):f=d;else if((0,_.EId)(f))f=new M4d(_.LQ(d,b,lR),c[e++],c[e++],c[e++]);else if((0,_.TBd)(f))f=new yXd(_.LQ(d,b,VQ),c[e++],c[e++],c[e++]);else if((0,_.HId)(f))f=_.LQ(d,b,J4d);else if(h3d(f))f=_.LQ(d,b,WQ);else if((0,_.sEd)(f))f=
new K4d(_.LQ(d,b,hR),c[e++],c[e++]);else if((0,_.RO)(f))f=_.LQ(d,b,_.Mr),f=new MQ(f,c[e++],c[e++]);else if((0,_.SO)(f))f=_.LQ(d,b,_.Nr),f=new MQ(f,c[e++],c[e++]);else if((0,_.PId)(f))f=b?d.map(VQd(function(g){return g==null?null:_.Hb(aR,g)})):d,f=new MQ(f,c[e++],c[e++]),f.Tb(c[e++]);else throw Error("lh");}f&&(c&&typeof c[e]==="boolean"&&F8d(this.H,a.Cy(),!!c[e]),c=G8d(this.H,a.Cy(),f),a.update(f,S4d(c),R4d(f)||void 0))}};var H8d=function(){this.channels={};this.H=this.O=this.V=0},I8d=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.xc(a.channels));return c},J8d=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};var AR=function(a,b,c,d,e){this.item=a;this.count=b===void 0?0:b;this.Sr=c===void 0?1:c;this.O=d;this.H=e===void 0?0:e};_.h=AR.prototype;_.h.clone=function(){return new AR(this.item.clone(),this.count,this.Sr,this.O,this.H)};_.h.getId=function(){return _.ve(this.item)};_.h.yc=function(){return this.count};_.h.getItem=function(){return this.item};_.h.setItem=function(a){this.item=a;return this};_.h.Gq=function(a){this.Sr=a};
_.h.equals=function(a){return this.count===a.yc()&&this.Sr===a.Sr&&this.O===a.O&&this.H===a.H&&_.Rh(this.item,a.getItem())};var K8d=function(a,b,c){this.id=a;this.O=b;this.H=c},L8d=function(a,b){return new K8d((a?a:b).getId(),a,b)},M8d=function(a){return new K8d(a.getId(),null,a)};var N8d=function(a,b){this.vB=a;this.CD=b;this.gJ=!0;this.tna=!1;this.oe=0;this.Qkb=1},O8d=function(a,b){(a.gJ=b)||a.LS()};_.h=N8d.prototype;_.h.DJ=function(a){this.Qkb=a};_.h.Ir=function(){return this.Qkb};_.h.DFa=function(a,b){if(this.nM(a)===5)throw Error("mh");for(var c=[],d=_.n(this.eD()),e=d.next();!e.done;e=d.next())e=e.value,P8d(this.vB,a,e.getItem())&&c.push(e);this.CD.sort(a,c,b);return c};_.h.getSize=function(){return this.eD().length};
_.h.tj=function(a){a=this.DFa(a);a=wSd(a);var b=new _.Cr;_.wO(b,a);b.Tb(this.U1()?6:1);return b};_.h.update=function(a){var b=this.sF(a.O),c=this.sF(a.H);if(!b&&!c)return!1;b&&this.lI(a.O);c&&this.J1(a.H);return!0};_.h.nM=function(a){return this.gJ&&this.tna?Q8d(a)?1:5:5};_.h.N9=function(){this.tna=!0};_.h.sF=function(a){return!!a&&this.gJ};_.h.Vj=function(a){this.oe=a};_.h.mf=function(){return this.oe};var BR=function(a,b,c,d,e,f){f=f===void 0?"":f;N8d.call(this,a,b);var g=this;this.V=c;this.nextPageToken=f;this.Ff=[];this.H={};this.request=bR(c,d,!0);this.RO=c.H(d);this.Nl=!e;R8d(this,e);this.O=function(k,l){return g.CD.compare(g.request,k,l)}};_.P(BR,N8d);_.h=BR.prototype;_.h.ee=function(){return this.request};_.h.GM=function(){return this.RO};
_.h.J1=function(a){var b=this.H[a.getId()];b&&this.lI(b);_.cEd(this.Ff,a,this.O);this.H[a.getId()]=a;a.count++;this.Ff.length>this.request.Qj()&&(this.lI(_.oa(this.Ff)),this.Nl=!1)};_.h.lI=function(a){nQd(this.Ff,a,this.O);_.Dc(this.H,a.getId());a.count--};_.h.LS=function(){this.Ff.forEach(function(a){a.count--});this.Ff=[];this.H={}};_.h.eD=function(){return this.Ff};
_.h.nM=function(a){var b;if(b=this.V.equals(this.request,a,!0))a=a.O(_.wg),b=this.request.O(_.wg),b=dRd(b,a,_.p0a);return b?this.Nl?1:6:5};_.h.DFa=function(a,b){if(this.nM(a)===5)throw Error("mh");b=b?Math.min(b,this.Ff.length):this.Ff.length;return _.Laa(this.Ff,0,b)};_.h.sF=function(a){if(!N8d.prototype.sF.call(this,a)||!P8d(this.vB,this.request,a.getItem()))return!1;if(this.Nl||_.DP(this.request))return!0;var b=_.oa(this.Ff);return!!b&&this.O(a,b)<=0};_.h.U1=function(){return this.Nl?!1:!0};
_.h.getType=function(){return"CacheHintCorpusCache"};_.h.Dq=function(a,b){var c=this,d=_.oa(this.Ff);!this.Nl&&d&&_.ra(a,function(e){return e.getId()===d.getId()})&&(b?(this.lI(d),R8d(this,_.oa(a))):this.Nl=!0);_.Na(a,function(e){c.update(M8d(e))})};var R8d=function(a,b){b&&P8d(a.vB,a.request,b.getItem())&&a.J1(b)};var S8d=function(){this.suggestionSessionId=this.V=null;this.incompleteSearch=!1;this.O=[];this.H=!0};S8d.prototype.oD=function(){return this.V};S8d.prototype.En=function(){return this.suggestionSessionId};S8d.prototype.iX=function(){return this.O};S8d.prototype.wc=function(){return this.H};var T8d=function(a,b){_.ui.call(this);this.context=a;this.Cf=b;this.logger=a.Kf("sync.cache.InitialViewPopulator")};_.P(T8d,_.ui);
T8d.prototype.Cj=function(a){var b=this;this.logger.info("Running initial view populator (IVDP).");try{var c=G4d(a)}catch(q){this.handleError("Error parsing initial view dump.",_.zO(q));return}_.NN(_.hO(this.context.Ld))||(a=c.yz())&&this.context.Ty(a,"IVDP");var d=_.Nj(c,3)||void 0;if(d){var e;((e=_.br(this.context.Ld))==null?0:_.MN(e))?U0d(_.EPd(this.context.Rp()),d):this.context.Pva(d,!0)}e=c.Gd(_.wg);a=_.n(e);for(var f=a.next();!f.done;f=a.next())f=f.value,_.xO(f),_.dO(f,6);var g=_.Kj(c,dR,5,
_.Ff())[0];if(g)if(f=this.context.Iq,eRd(_.xP(this.Cf),_.Bj(g,_.cf,1).O(_.wg),_.NP(this.context.Ld)))if((c=_.Bj(g,_.cf,1).Tc())&&c.getType()===4&&!_.oSa())U8d(this,"Invalid initial view data, natural sort unsupported",20);else{if(e.length>0){c=_.Qh(bR(f,_.Bj(g,_.cf,1)),_.yN(_.Ue(_.Ve(new _.Se,301),!0),1));a=_.Uj(g,2)||void 0;c.Ym(a);a=g.Ws()||"";if(_.N(_.br(this.context.Ld),24,!1)){V8d(this.context.Tg(),c,e,new S8d,4,a);var k=[],l=new Set(_.xP(this.Cf));g=_.n(c.O());for(var m=g.next();!m.done;m=g.next())m=
m.value,l.has(m)||k.push(m);k.length&&(l=bR(f,c,!0),f=e.map(function(q){q=q.clone();AQ(q,k,b.Cf);return q}),V8d(this.context.Tg(),l,f,new S8d,4,a))}else{f=e.map(function(q){return new AR(q,void 0,1,d)});if((m=_.K(g,_.Oq,3))&&_.Uj(g,2)&&(l=f[f.length-1],_.dO(m,6),!_.Rh(m,l.getItem()))){U8d(this,"Invalid last item in initial view data.",17);return}l=new BR(this.context.vB,this.context.CD,this.context.Iq,c,l,a);l.Vj(4);g=a=0;f=_.n(f);for(m=f.next();!m.done;m=f.next())m=m.value,l.update(M8d(m))?a++:(this.logger.info("Failed to update "+
m.getId()+" key: "+l.GM()),g++);W8d(this.context.Tg(),l);this.logger.info("Imported "+a+" initial view items (IVDP) successfully\n            ("+g+" failed) into the cache hint corpus cache. Query:\n            "+l.GM())}c=_.MCd(new _.sO,c);c=_.AJd(this.context.VJ,c,"IVDP");_.BJd(c,e);CR(this.context.Po,"W6J7De")}}else U8d(this,"Invalid initial view data, fields: "+Z3d(f,_.Bj(g,_.cf,1).O()),19);else U8d(this,"No initial query found",18)};
T8d.prototype.handleError=function(a,b){X8d(this,new _.wf(a,void 0,b))};var U8d=function(a,b,c){X8d(a,new _.wf(b,_.Jr(_.$N((new _.Gr).Eb(2),c)),void 0))},X8d=function(a,b){var c=b.yg;a.context.vS(c);a.logger.info("Initial view dump population failed. Message: "+b.H+"; Proto: "+c);CR(a.context.Po,"DEJoH")};var Y8d=function(a){var b=new S8d;if(a.En()){var c=a.En();b.H=!1;b.suggestionSessionId=c}a instanceof _.Cr&&(a.oD()||_.wh(a,8)||_.jKa(a).length)&&(c=a.oD(),b.H=!1,b.V=c,c=_.wh(a,8)||!1,b.H=!1,b.incompleteSearch=c,a=_.jKa(a,_.wg),b.H=!1,b.O=a);return b};var Z8d=function(a){return new EQ(a.getId(),a)};var $8d=function(a){_.ui.call(this);this.context=a};_.P($8d,_.ui);$8d.prototype.Cj=function(a){try{return a9d(this,B6d(a))}catch(b){return this.handleError("Error parsing prefetched request.",28,b),Promise.resolve()}};
var a9d=function(a,b){b.Gx();a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:var c;var d=((c=_.br(a.context.Ld))==null?0:_.N(c,77,!1))?b9d(a,b):c9d(a,b);break;case 4:d=d9d(a,b);break;case 6:d=e9d(a,b);break;case 7:d=f9d(a,b);break;case 8:((d=_.br(a.context.Ld))==null?0:_.MN(d))?d=g9d(a,b):(a.handleError("Support for 8 is disabled.",26),d=Promise.resolve());break;case 5:d=Promise.all(_.Kj(_.kk(b,z6d,7,pR),A6d,1,_.Ff()).map(function(e){a9d(a,e)}));break;case 9:d=
h9d(a,b);break;case 10:d=i9d(a,b);break;case 11:d=i9d(a,b);break;case 12:d=j9d(a,b);break;default:return a.handleError("Unsupported prefetched request.",29),Promise.resolve()}return d},b9d=function(a,b){var c=_.kk(b,_.cf,2,C6d);b=JSON.parse(_.gk(b,3,pR)||"{}");return a.context.a8().Fya.convert(c,{headers:{},text:"",json:b}).then(function(d){d.getResponse().Gd().forEach(function(e){_.dO(e,7)});a.context.Hya.get().V.set(c,d,2)})},c9d=function(a,b){var c=_.kk(b,_.cf,2,C6d);b=JSON.parse(_.gk(b,3,pR)||
"{}");var d=new _.sO;_.MCd(d,c);return a.context.a8().Fya.convert(d,{headers:{},text:"",json:b}).then(function(e){k9d(a,c,e.getResponse())})},e9d=function(a,b){return k9d(a,_.kk(b,_.cf,2,C6d),_.kk(b,_.Cr,9,pR))},k9d=function(a,b,c){for(var d=c.Gd(_.wg),e=_.n(d),f=e.next();!f.done;f=e.next())_.dO(f.value,7);c=Y8d(c);V8d(a.context.Tg(),b,d,c,2);return Promise.resolve()},d9d=function(a,b){var c=_.kk(b,VQ,8,pR).H();a.context.wV.oga(c.map(Z8d),_.kk(b,_.jO,6,C6d),2,!1);return Promise.resolve()},f9d=function(a,
b){var c=_.kk(b,_.QN,10,C6d);b=JSON.parse(_.gk(b,3,pR)||"{}");return a.context.a8().Fya.convert(c,{headers:{},text:"",json:b}).then(function(d){l9d(a.context).oga([d],c,2,!1)})},g9d=function(a,b){var c=_.kk(b,_.KN,11,C6d);b=_.kk(b,_.Wp,12,pR);b=c5d(b);a.context.DR.get().H.set(c,b,2);return Promise.resolve()},h9d=function(a,b){var c=_.kk(b,_.bq,13,C6d);b=ASd(_.kk(b,x6d,14,pR));a.context.ZT.get().H.set(c,b,2);return Promise.resolve()},i9d=function(a,b){var c=_.kk(b,_.cf,2,C6d);c4d(c,b.getKey()===11);
c=ISd(a.context.Iq,c);var d=_.kk(b,y6d,15,pR);d=GSd(c,d,a.context.Iya);(b.getKey()===10?a.context.OZ.get():a.context.PZ.get()).V.set(c,d,2);return Promise.resolve()},j9d=function(a,b){var c=_.kk(b,_.RN,17,C6d);b=GSd(c,_.kk(b,y6d,15,pR),a.context.Iya);a.context.QZ.get().V.set(c,b,2);return Promise.resolve()};
$8d.prototype.handleError=function(a,b,c){var d=void 0;if(c)if(_.UN(c))d=c,a+=": "+d.message;else try{a+=": "+JSON.stringify(c)}catch(e){a+=": "+c}this.log(a);c=new _.wf(a,void 0,d);_.Jr(_.Hr(_.$N(c.yg.Eb(2),b),a));this.context.dispatchEvent(new _.xf(c))};$8d.prototype.log=function(a){this.context.Td.Kf("sync.cache.PrefetchedRequestPopulator").info(a)};var m9d=function(){this.H=new Map},o9d=function(){n9d===void 0&&(n9d=new m9d);return n9d},p9d=function(a,b){a.H.has(b)||a.H.set(b,new Map)},q9d=function(a,b,c){(a=a.H.get(b))&&!a.has(c)&&a.set(c,new _.By)},r9d=function(a,b,c){(a=a.H.get(b))&&(c=a.get(c))&&c.resolve()},s9d=function(a,b,c){var d,e;return(e=(d=a.H.get(b))==null?void 0:d.has(c))!=null?e:!1},t9d=function(a,b){return a.H.has(b)},u9d=function(){var a=o9d(),b=[];a=_.n(a.H.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c.has(8)&&
b.push(c.get(8).promise);return b.length?Promise.race(b).then(function(){}):null},n9d=void 0;var DR=function(a,b){_.ui.call(this);this.Uh=a;this.ua=b;this.Pa=this.y6()};_.P(DR,_.ui);_.h=DR.prototype;_.h.registerService=function(a){var b=this;cR(a,this.Uh,function(c){return b.sD(c)})};
_.h.sD=function(a){var b=this,c=g4d(a),d=c.H,e=this.Pa[c.method];a=null;if(e)try{var f=e(c);if(f instanceof h4d)return i4d(f,d);if(f.then)return f.then(function(g){return i4d(g,d)},function(g){g=_.aO(g,56);return i4d(b.getResponse(void 0,g),d)})}catch(g){a=_.zO(g)}f=_.Hr(_.$N((new _.Gr).Eb(2),3),this.Uh+":"+c.method+": "+(a?a.message:"unsupported method"));a&&a.stack&&_.L(f,20,a.stack);return i4d(this.getResponse(void 0,f),d)};
_.h.getResponse=function(a,b,c){return a&&!b?new h4d(a,void 0,c):new h4d(void 0,b,c)};_.h.update=function(a,b,c,d){(a=this.ua.channels[a]||null)&&o4d(a,this.Uh,i4d(this.getResponse(c,d,b),a.H))};_.h.MF=function(){return Promise.resolve()};var w9d=function(a){_.sm.call(this,v9d);this.people=a};_.P(w9d,_.sm);w9d.prototype.getPeople=function(){return this.people};var v9d="Ra";var x9d=function(){_.Ig.apply(this,arguments);this.commands=new _.Jg;this.W=this.active=this.nq=!1};_.P(x9d,_.Ig);_.h=x9d.prototype;_.h.initialize=function(){this.nq||(this.nq=!0,this.feb(),this.setActive(!0))};_.h.feb=function(){};_.h.setActive=function(a){this.active=a;this.process()};
_.h.process=function(){var a=this;if(this.active&&!this.W){var b=_.ms(this.commands);if(b)if(this.iAb()){do this.VAb(b);while(b=_.ms(this.commands))}else{this.W=!0;var c=function(){a.W=!1;a.process()};this.XAb(b).then(c,c)}}};_.h.VAb=function(){};_.h.XAb=function(){return Promise.resolve(void 0)};_.h.iAb=function(){return!0};_.h.enqueue=function(a){try{var b=new _.Je;this.commands.enqueue(new y9d(a,b));this.process();return b}catch(c){return _.pm(_.zO(c))}};
var y9d=function(a,b){this.command=a;this.Ke=b};y9d.prototype.getCommand=function(){return this.command};var B9d=function(a){x9d.call(this);var b=this;this.context=a;this.H=null;this.handler=new _.Lg(this);this.Sa(this.handler);this.handler.listen(this.context,"VMiG2e",function(){return void z9d(b)});this.O=this.context.Tg().mx;_.zP(this.context.Ld)&&this.handler.listen(this.O,v9d,this.V.bind(this));var c=a.Po;c.addRule(["toquGd"],function(){return b.initialize()});var d=["NSockf"];if(_.ri(_.cr(a.Ld),17,1)!==1){d.push("iuEtc");var e;((e=_.br(this.context.Ld))==null?0:_.MN(e))||c.addRule(["mrK8ic"],function(){CR(c,
"iuEtc")})}c.addRule(d,function(){A9d(b)})};_.P(B9d,x9d);B9d.prototype.feb=function(){C9d(this)};var A9d=function(a){if(_.Ae(a.context.Tca.jf(),1)===1)Promise.resolve();else{var b=_.Ve(_.Ue(new _.Se,!0),301);b=r0d(b);a.refresh(b).then(null,function(c){c=_.Lr(_.aO(c,31),"Initial account request failed.");a.context.vS(c)})}},z9d=function(a){if(!_.MN(_.br(a.context.Ld))){var b=_.Ve(new _.Se,304);b=r0d(b);a.refresh(b).then(null,function(){})}};
B9d.prototype.refresh=function(a,b){var c=this;this.H||(this.H=this.context.Rp().then(function(d){return d.Nh(a,b)}).then(function(d){var e=d.jf(),f=e.oh();if(f&&_.wh(f,7)===!1){var g=_.JN(_.hO(c.context.Ld));d=Error("nh");_.ld("Incorrect account for session index "+g+" ("+(_.E(f,11)+")"),d,"warning");_.TFd(c.context.Oo,73301807);g=Promise.reject(d)}else{f=c.context.Tca;var k=f.mf()===0?1:6;_.zP(c.context.Ld)&&VSd(c.O,e);k=D9d(f,e,k);(e=e.getMetadata())&&_.E(e,2)&&c.context.Ty(_.E(e,2),"account manager");
d=_.Nj(d,4);!d||((g=_.br(c.context.Ld))==null?0:_.MN(g))||c.context.Pva(d,!0);k&&c.dispatchEvent(new _.sm("WPi0i"));g=Promise.resolve(new P4d(f.jf(),f.mf(),!1))}return g}).then(function(d){return d},function(d){d=_.aO(d,32);d=_.I(d,5,1);return Promise.reject(new _.wf("Error fetching account from server.",d))}),this.H.then(function(){c.H=null},function(){c.H=null}));return this.H};
B9d.prototype.VAb=function(a){var b=a.getCommand();if(b.H){var c={};b.qY&&(c.qY=b.qY);this.refresh(b.request,c).then(function(e){return a.Ke.callback(e)},function(e){a.Ke.Ne(e)})}else if(b=this.context.Tca,c=b.jf(),_.zP(this.context.Ld)){c=c.jf();var d=c.oh();d=E9d(this.O,_.E(d,11));VSd(this.O,c);D9d(b,c,b.mf())&&this.dispatchEvent(new _.sm("WPi0i"));a.Ke.callback(new P4d(b.jf(),b.mf(),d))}else _.Ae(c,1),b=new P4d(c,b.mf(),!0),a.Ke.callback(b)};
var C9d=function(a){var b=_.cr(a.context.Ld);_.ca.setTimeout(function(){var c=_.Ve(new _.Se,306);c=r0d(c);a.refresh(c).then(function(){C9d(a)},function(){C9d(a)})},Math.ceil(_.Uj(b,7,9E5)*Math.random())+_.Uj(b,3,72E5))};B9d.prototype.V=function(a){var b=this.context.Tca,c=b.jf().jf();c&&a.getPeople().find(function(d){return _.E(d,1)===_.E(c.oh(),11)})&&(VSd(this.O,c),D9d(b,c,b.mf())&&this.dispatchEvent(new _.sm("WPi0i")))};var G9d=function(a){x9d.call(this);this.context=a;this.ua=this.V=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.handler=new _.Lg(this);this.Sa(this.handler);this.handler.listen(this.context.Rba,"Sa",_.Si(this.dispatchEvent,new _.sm("Sa",this)));F9d(this)};_.P(G9d,x9d);
var F9d=function(a){var b=a.context.Po;b.addRule(["nVUlO"],function(){a.ua=!0;a.setActive(!0)});if(!_.OP(a.context.Ld)){var c=_.ri(_.cr(a.context.Ld),18,1);b.addRule(["NSockf"],function(){c===1?H9d(a):a.setActive(!0)});c===2&&b.addRule(["mrK8ic"],function(){a.V||H9d(a)})}},H9d=function(a){var b=new _.Se;_.Ue(b,!0);_.Ve(b,301);var c=new _.XO;_.p0d(c,b);c.Eb(1);a.refresh(c).then(null,function(){return null})};
G9d.prototype.refresh=function(a,b){var c=this;_.ca.clearTimeout(this.ma);this.ma=0;var d=_.jm();this.O=d.promise;this.O.then(function(){I9d(c)},function(){I9d(c)});var e=this.H;this.H=a.getType()||e;var f=!this.V;this.V=!0;var g=new _.XO;g.Eb(this.H);_.p0d(g,a.Zk());this.context.Rp().then(function(k){return k.Nh(g,b)}).then(function(k){c.error=null;var l=c.context.Rba;l.V(k,l.ZI()?6:1);d.resolve()},function(k){c.H=e;k=_.TN(k);var l=k.yg;_.I(l,5,2);f?(l.Eb(1),k.message="Initial app settings refresh failed.",
_.Lr(k.yg,"Initial app settings refresh failed."),c.context.vS(l),c.setActive(!0)):(l.Eb(2),k.message="Error occurred while loading the latest set of apps.",_.Lr(k.yg,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};G9d.prototype.iAb=function(){return!1};
G9d.prototype.XAb=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.O,f=c.qY?{qY:c.qY}:void 0;if(!J9d(d))return this.context.Rp().then(function(l){return l.Nh(d,f)}).then(function(l){a.Ke.callback(new L4d(l,1,!1))},function(l){a.Ke.Ne(_.zO(l))}),_.gm();c=_.gm();var g=!1;this.O?K9d(this,_.Ae(d,1))?e=this.O:c=e=new _.fm(function(l,m){b.O.then(function(){b.refresh(d,f).then(function(){return l()},m)})}):!e&&this.ua&&K9d(this,_.Ae(d,1))&&!this.error?(g=!0,e=_.gm()):e=this.refresh(d,f);var k=a.Ke;
e.then(function(){var l=b.context.Rba;k.callback(new L4d(l.rG(),l.mf(),g))},function(l){k.Ne(l)});return c.then()};
var J9d=function(a){var b=_.Ae(a,1);return b===1||b===2||b===4?(b=_.Xj(a,4,_.Ff()),a=_.Xj(a,3,_.Ff()),!(b&&b.length)&&!(a&&a.length)):!1},K9d=function(a,b){return a.H===b||a.H===4||a.H===2&&b===1},I9d=function(a){a.O=null;var b=_.cr(a.context.Ld),c=new _.Se;_.Ve(c,306);var d=new _.XO;d.Eb(1);_.p0d(d,c);a.ma=_.ca.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.Uj(b,7,9E5)*Math.random())+_.Uj(b,4,72E5))},L9d=function(a,b,c){this.H=a;this.V=!!b;this.W=c||null};
_.zi.Object.defineProperties(L9d.prototype,{request:{configurable:!0,enumerable:!0,get:function(){return this.H}},O:{configurable:!0,enumerable:!0,get:function(){return this.V}},qY:{configurable:!0,enumerable:!0,get:function(){return this.W}}});var N9d=function(a){return new EQ(M9d(a.getName()),a)},O9d=function(a){var b=_.n(a.CE());a=b.next().value;b=b.next().value;return b!==null?N9d(b.clone()):new EQ(a,null)},M9d=function(a){var b=a.split("/");if(b.length<2)throw Error("oh`"+a);return b[1]},P9d=function(a){return a.value.kd()+"_"+a.key},Q9d=function(a,b){var c=_.Xj(a,1,_.Ff()).map(function(d,e){return b[Number(e)].value.rDb.promise});return Promise.allSettled(c).then(function(d){return _.Xj(a,1,_.Ff()).map(function(e,f){e=e.toString();
var g=new X4d;e=_.L(g,1,e);f=d[Number(f)];f.status==="fulfilled"?e.Tb(1):(e.Tb(3),e.Pe(f.reason.yg));return e})})};var S9d=function(a,b,c){this.global=c===void 0?!1:c;a.match(R9d);this.key=a;this.value=b};S9d.prototype.getKey=function(){return this.key};S9d.prototype.ob=function(){return this.value};var U9d=function(a,b){return{k:T9d(b,a.global,a.key),v:a.value}},T9d=function(a,b,c){return[a.Ot(),a.clientId,b?"#":ER(a)].join(":")+":"+(c||"")},V9d=function(a,b){a=T9d(a,b);return w4d(a+"A",a+"z")},R9d=/^[\w]+$/;var W9d=function(a,b){this.H=a;this.O=b},X9d=function(a){return a?new W9d(a.versionKey,a.versionChangeTimestamp):null},Y9d=function(a,b){return a+":"+b};var Z9d=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.encrypted=e===void 0?null:e},$9d=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.encrypted}},a$d=function(a,b,c,d){a=ER(a)+"_"+b;b===3&&(a+="_"+d);return a+=_.ku(":%02d",c)},b$d=function(a,b,c,d){c=a$d(a,b,c===void 0?0:c,d);a=ER(a)+"_"+b;b===3&&(a+="_"+d);return w4d(c,a+":a")},c$d=function(a){var b=ER(a)+"_";a=ER(a)+"_A";return w4d(b,a)},d$d=function(a){return a?new Z9d(a.data,
a.index,a.size,a.timestamp,a.e):null};var e$d=function(a,b,c,d,e,f){f=f===void 0?Date.now():f;this.userId=a;this.clientId=b;this.W=c;this.V=d;this.O=null;this.ma=this.ua=!1;this.Ba=void 0;this.fields=_.Aa(e);_.Ka(this.fields);_.Ga(this.fields);this.H=f};e$d.prototype.Ot=function(){return this.userId};e$d.prototype.yj=function(){return _.Aa(this.fields)};
var ER=function(a){if(!a.O){var b=new _.tBd;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.iqa(b.digest())}return a.O},f$d=function(a){return{versionKey:ER(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},g$d=function(a){var b=!0;b=b===void 0?!1:b;if(!a)return null;var c=a.versionInfo,d=a.versionKey;if(!c||!d)return null;a=new e$d(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:ER(a)!==d&&(a=null);return a};var FR=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?!1:d;_.ui.call(this);var e=this;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ia=!1;this.Ga=!0;this.V=null;this.ua=!1;this.O="";this.Ba=null;this.logger=b.Kf("sync.storage.VersionedDb");this.Xa=a.then(function(f){e.version=f});this.eventHandler=new _.Lg(this);this.Sa(this.eventHandler)};_.P(FR,_.ui);FR.prototype.initialize=function(){return h$d(this)};
var h$d=function(a,b){a.V||(a.V=_.jm(),a.Xa.then(function(){b?(a.Ga=!1,i$d(a,b),a.log("Initialized database GoogleDriveDs with existing IndexedDb"),a.V.resolve()):(a.W&&(a.Ba=a.W.H(106004)),a.log("Opening database GoogleDriveDs (version 2)"),_.yCd("GoogleDriveDs",2,a.Ka.bind(a),a.Da.bind(a)).Yj(a.Ta.bind(a),a.Da.bind(a)),_.Cm(2E4).then(a.Pa.bind(a)))},function(c){a.V.reject(new _.wf("Database version error",void 0,_.UN(c)?c:void 0))}));return a.V.promise},i$d=function(a,b){a.H=b;a.eventHandler.listen(a.H,
"close",a.ma.bind(a,"Browser closing database"));a.eventHandler.listen(a.H,"versionchange",a.ma.bind(a,"Database version change detected, closing"))};FR.prototype.Ka=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ia=!0;_.Na(b.H.objectStoreNames,function(c){return _.uId(b,c)});_.uc(GR,function(c){var d=j$d.get(c);_.vCd(b,c,d?{keyPath:d}:void 0)})};
FR.prototype.Da=function(a){var b;a&&a instanceof _.lO&&a.getName()=="InvalidStateError"&&_.ij.Vz?b=Error("ph"):b=new _.wf("Unable to open database GoogleDriveDs (version 2)",null,_.UN(a)?a:null);this.ma("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);k$d(this,!1)};FR.prototype.Ta=function(a){this.ua?a.dispose():(i$d(this,a),this.Sa(this.H),this.readOnly||l$d(this).then(null,function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),k$d(this,!0))};
var k$d=function(a,b){if(a.Ba){var c=a.Ba,d=_.K(_.oQ(c),g0d,5);d||(d=new g0d,c=_.oQ(c),_.Q(c,g0d,5,d));d=_.Ug(d,1,2);c=a.Dk().W;d=_.Ug(d,2,c);c=a.Dk().ua;d=_.J(d,5,c);b=_.J(d,3,b);b=_.J(b,4,a.Ia);d=a.Dk().Ba;_.Ug(b,6,d);a.Ba.Vi();a.Ba=null}};FR.prototype.Pa=function(){this.H||this.Fe()||(this.ma("Opening database GoogleDriveDs timed out."),this.Da(Error("qh")))};FR.prototype.ma=function(a){this.log(a);this.ua||(this.ua=!0,this.O="Database disabled: "+a,this.H&&this.Ga&&this.H.close())};
FR.prototype.Fe=function(){return this.ua};var m$d=function(a){return a.ua?a.O:null};FR.prototype.Dk=function(){return this.version};
var HR=function(a,b,c){c=c===void 0?"readonly":c;if(a.readOnly&&c!="readonly")return null;a=a.H;try{return _.wCd(a,[b],c)}catch(d){return null}},l$d=function(a){var b=GR.Mca,c=HR(a,b,"readwrite");if(!c)return _.hm(Error("rh"));c.objectStore(b).put(f$d(a.Dk()));return _.gm(c.wait()).then(function(){})},n$d=function(a){if(!a.H)return _.hm(Error("sh"));if(a.Fe())return _.hm(Error(a.O));var b=GR.Mca,c=HR(a,b,"readwrite");if(!c)return _.hm(Error("th"));b=c.objectStore(b);return _.gm(b.remove(ER(a.Dk())))},
o$d=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a=_.n(a);for(var e=a.next();!e.done;e=a.next())(e=d$d(e.value))&&(d[e.index]=e);if(!d[0])return b.reject(Error("uh")),0;a=d[0].timestamp;if(!a)return b.reject(Error("vh")),0;e=d[0].size;if(!e)return b.reject(Error("wh")),0;if(e>d.length)return b.reject(Error("xh`"+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("yh`"+e)),0;if(c&&a<c)return b.reject(Error("zh`"+a+"`"+c)),d.length>
e?e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},q$d=function(a,b,c,d){if(!a.H||b==3&&c==void 0)return _.hm(Error("Ah"));if(a.Fe())return _.hm(Error(a.O));var e=b$d(a.Dk(),b,0,c),f=GR.bka,g=HR(a,f);if(!g)return _.hm(Error("Bh"));e=g.objectStore(f).getAll(e);var k=_.jm();e.Yj(function(l){l=o$d(l,k,d);a.readOnly||l==null||p$d(a,b,c,l).then(null,function(){})},k.reject);return k.promise},s$d=function(a,b,c,d,e,f){if(a.H){if(a.Fe())return _.hm(Error(a.O));if(b.length>
100||c==3&&d==void 0)return _.hm(Error("Ch"))}else return _.hm(Error("Dh"));var g=Date.now(),k=b.length,l=b.map(function(t,u){return{key:a$d(a.Dk(),c,u,d),data:new Z9d(t.getData(),u,k,g,e),metadata:t}}),m=GR.bka;b=HR(a,m,"readwrite");if(!b)return _.hm(Error("Eh"));m=b.objectStore(m);l=_.n(l);for(var q=l.next(),r={};!q.done;r={Obb:void 0},q=l.next())q=q.value,r.Obb=r$d(a,c,d,q.metadata,f),m.put($9d(q.data),q.key).then(function(t){return function(){var u=t.Obb;u&&(R_d(G0d(u),!0),u.Vi())}}(r),function(t){return function(u){var v=
t.Obb,x=u instanceof _.lO?u.code:_.YBd;v&&a.W&&(u=R_d(G0d(v),!1),x=_.aQ(_.zKd,x),_.I(u,2,x),v.Vi())}}(r));return _.gm(b.wait()).then(function(){})},r$d=function(a,b,c,d,e){if(a.W){if(a=a.W.H(106019,e))b=T_d(S_d(G0d(a),_.aQ(_.yKd,b)),_.aQ(_.xKd,c)),c=d.O,b=b.DJ.call(b,c==null?0:c?2:1),_.J(b,7,d.isEncrypted),d.H!=void 0&&G0d(a).xs(d.H);return a}return null},p$d=function(a,b,c,d){d=d===void 0?0:d;if(a.H){if(a.Fe())return _.hm(Error(a.O));if(b==3&&c==void 0)return _.hm(Error("Fh"))}else return _.hm(Error("Gh"));
b=b$d(a.Dk(),b,d,c);c=GR.bka;a=HR(a,c,"readwrite");if(!a)return _.hm(Error("Hh"));a.objectStore(c).remove(b);return _.gm(a.wait()).then(function(){})},t$d=function(a){if(!a.H)return _.hm(Error("Ih"));if(a.Fe())return _.hm(Error(a.O));var b=c$d(a.Dk()),c=GR.bka;a=HR(a,c,"readwrite");if(!a)return _.hm(Error("Jh"));a.objectStore(c).remove(b);return _.gm(a.wait()).then(function(){})};
FR.prototype.getMetadata=function(a){if(this.H){if(this.Fe())return _.hm(Error(this.O));if(a&&a.length==0)return _.hm(Error("Kh"))}else return _.hm(Error("Lh"));var b=this.Dk(),c=GR.METADATA,d=HR(this,c);if(!d)return _.hm(Error("Mh"));c=d.objectStore(c);if(a){d=[];a=_.n(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d.push(_.gm(c.get(T9d(b,e.global,e.key))));c=_.im(d)}else c=_.im([c.getAll(V9d(b,!1)).then(),c.getAll(V9d(b,!0)).then()]).then(function(f){var g=_.n(f);f=g.next().value;g=g.next().value;
return _.oBd(f,g)});return c.then(function(f){return f.map(function(g){a:{if(g){var k=g.k.split(":"),l=k[2]==="#";if(k.length===4&&(l||k[2]===ER(b))){g=k[0]!==b.Ot()||k[1]!==String(b.clientId)?void 0:new S9d(k[3],g.v,l);break a}}g=void 0}return g})})};
var u$d=function(a,b){if(a.H){if(a.Fe())return _.hm(Error(a.O));if(b.length==0)return _.hm(Error("Nh"))}else return _.hm(Error("Oh"));var c=GR.METADATA,d=HR(a,c,"readwrite");if(!d)return _.hm(Error("Ph"));c=d.objectStore(c);d=[];b=_.n(b);for(var e=b.next();!e.done;e=b.next())d.push(c.put(U9d(e.value,a.Dk())).then());return _.im(d).then(function(){})},v$d=function(a,b){b=b===void 0?!1:b;if(a.H){if(a.Fe())return _.hm(Error(a.O))}else return _.hm(Error("Rh"));var c=a.Dk(),d=GR.METADATA;a=HR(a,d,"readwrite");
if(!a)return _.hm(Error("Sh"));d=a.objectStore(d);a=[];a.push(d.remove(V9d(c,!1)).then());b&&a.push(d.remove(V9d(c,!0)).then());return _.im(a).then(function(){})},w$d=function(a){if(!a.H)return _.hm(Error("Th"));if(a.Fe())return _.hm(Error(a.O));var b=Y9d(a.Dk().Ot(),a.Dk().clientId),c=GR.bG;a=HR(a,c);if(!a)return _.hm(Error("Uh"));c=a.objectStore(c);return _.gm(c.get(b)).then(function(d){return X9d(d)})},x$d=function(a,b){b=b===void 0?!1:b;if(!a.H)return _.hm(Error("Vh"));if(a.Fe())return _.hm(Error(a.O));
var c=a.Dk(),d=Y9d(c.Ot(),c.clientId);b=new W9d(ER(c),b?Date.now():void 0);c=GR.bG;a=HR(a,c,"readwrite");if(!a)return _.hm(Error("Wh"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return _.gm(a.wait())};FR.prototype.Hn=function(a){var b=this;return this.H?this.Fe()?_.hm(Error(this.O)):w$d(this).then(function(c){var d=ER(b.Dk());if(c)if(a){if(!c.O&&d==c.H&&d!=ER(a))return x$d(b,!0);if(c.O&&d==ER(a))return x$d(b)}else{if(d!=c.H)return x$d(b)}else if(!a)return x$d(b)}):_.hm(Error("Xh"))};
var y$d=function(a){if(!a.H)return _.hm(Error("Yh"));if(a.Fe())return _.hm(Error(a.O));var b=a.Dk(),c=Y9d(b.Ot(),b.clientId);return w$d(a).then(function(d){if(d){d=GR.bG;var e=HR(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
FR.prototype.clear=function(a){var b=this;a=a===void 0?!1:a;return this.H?this.Fe()?_.hm(Error(this.O)):w$d(this).then(function(c){var d=c&&c.H==ER(b.Dk());return d&&!a?!1:(c&&d?y$d(b):_.gm()).then(function(){return _.im([v$d(b,a),t$d(b),n$d(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.hm(Error("Zh"))};FR.prototype.close=function(){this.ma("Closing database")};FR.prototype.log=function(a){this.logger.info(a)};
var A$d=function(){var a=_.jm();_.yCd("GoogleDriveDs").Yj(function(b){b?z$d(b)?a.resolve(b):(b.close(),_.gm(x4d()).then(function(){return void a.resolve(null)},function(){return void a.resolve(null)})):a.resolve(null)},function(){return void a.resolve(null)});return a.promise},z$d=function(a){if(a.Dk()<=1)return!1;var b=a.H.objectStoreNames;return Object.values(GR).every(function(c){return b&&b.contains(c)})},B$d=function(a,b,c){var d=_.jm();a?_.wCd(a,[GR.Mca],"readonly").objectStore(GR.Mca).getAll().Yj(function(e){e=
Object.values(e).map(function(f){return g$d(f)}).filter(function(f){return f!=null});d.resolve(e.filter(function(f){return(!b||f.Ot()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},C$d=function(a,b,c){var d=_.jm();A$d().then(function(e){if(e){var f=GR.bG;_.wCd(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(g){return X9d(g)}).then(function(g){if(g){var k=0;typeof c=="number"&&typeof g.O=="number"&&(k=c+g.O-Date.now());var l=GR.Mca,m=_.wCd(e,[l],"readonly");m.objectStore(l).get(g.H).then(function(q){(q=
g$d(q))?(q.ua=!0,k<0?q.ma=!0:k>0&&(q.Ba=k),d.resolve(q)):d.resolve(null)});_.Qwa(m.wait(),function(){e.close()})}else d.resolve(null),e.close()},function(g){d.reject(g);e.close()})}else d.resolve(null)},d.reject);return d.promise},D$d=function(a,b,c){var d=_.jm(),e=new FR(_.gm(a),b);h$d(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},F$d=function(a,b,c){var d=Date.now()-12096E5,e=_.jm();A$d().then(function(f){f?(e.promise.then(function(){return void f.close()},function(){return void f.close()}),
B$d(f,a,b).then(function(g){return g.filter(function(k){return k.H<d})},function(){return[]}).then(function(g){E$d(g,c,f,e)})):e.resolve([])});return e.promise},G$d=function(a,b,c){var d=_.jm();A$d().then(function(e){e?(d.promise.then(function(){return void e.close()},function(){return void e.close()}),B$d(e,a,b).then(function(f){E$d(f,c,e,d,!0)})):d.resolve([])});return d.promise},E$d=function(a,b,c,d,e){e=e===void 0?!1:e;var f=[];a.forEach(function(g){var k=D$d(g,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
g:void 0}))});_.im(f).then(function(g){var k=[];g.forEach(function(l){l&&(k.push(l),b.Kf("sync.storage.VersionedDb").info("Cleared version: "+ER(l)))});d.resolve(k)})},J$d=function(a,b,c,d,e,f,g){var k=_.jm();A$d().then(function(l){l?(k.promise.then(function(){return void l.close()},function(){return void l.close()}),B$d(l,a,b).then(function(m){return m.filter(function(q){return(!g||g!=ER(q))&&q.W==c&&q.H>=e&&eRd(d.filter(function(r){return!H$d.has(r)}),q.yj(),b)})},function(){return[]}).then(function(m){m.length?
(m.sort(function(q,r){return r.H-q.H}),I$d(m,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},I$d=function(a,b,c,d){if(a.length){var e=GR.bka,f=a.shift(),g=a$d(f,3,0,1);try{_.wCd(c,[e],"readonly").objectStore(e).get(g).then(function(k){(k=d$d(k))&&(!k.encrypted||k.encrypted&&d.has(f.V))?b.resolve(f):I$d(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},GR={Mca:"Versions",METADATA:"Metadata",bka:"Data",bG:"Offline"},j$d=new Map([[GR.Mca,
"versionKey"],[GR.METADATA,"k"]]),H$d=new Set([1004]);var K$d=function(){_.sm.call(this,"VbxEwf")};_.P(K$d,_.sm);var L$d=function(a){this.context=a;this.Ac=this.uHa=null};_.h=L$d.prototype;_.h.Na=function(){return this.context.Ld.IP()};_.h.getContext=function(){return this.context};_.h.hs=function(){return this.context.VJ.hs(this.uHa)};_.h.gX=function(){return this.context.gX()};_.h.IW=function(a){return _.ai(this.context.Tg().xn.nn(a))};_.h.a1=function(){return _.ai(this.context.VJ.a1())};
_.h.zja=function(a,b,c){var d=new _.Je;if(_.kk(a,_.sO,3,_.tO)||_.kk(a,_.pP,4,_.tO)||_.kk(a,_.XP,5,_.tO)||_.kk(a,_.lP,6,_.tO)||_.kk(a,_.NO,7,_.tO)||_.kk(a,_.WN,8,_.tO)||_.kk(a,_.KO,9,_.tO)||_.kk(a,_.eO,10,_.tO)){var e=v4d(a);this.context.Rp().then(function(f){return f.Nh(e,{dHb:b,eHb:c})}).then(function(f){var g=[],k="";if(f instanceof _.YP){g=f.getResponse().Gd(_.wg);var l=_.E(f,2);k=f.Ws()}else if(f instanceof _.rP)f.getItem()&&g.push(f.getItem()),l=_.E(f,16);else throw Error("ai");d.callback({items:g,
rCa:l,pageToken:k})},function(f){return void d.Ne(f)});return d}throw Error("$h");};_.h.YMa=function(){var a=this.context.Ld,b=_.cr(a);a="email:"+_.hO(a).getEmail().replace(/@.*$/,"");_.L(b,13,a)};_.h.Zma=function(){this.context.nx.uY();var a=this.context.Ld;G$d(_.qO(_.hO(a)),_.NP(a),this.context.Td).then(null,function(){})};_.h.QDa=function(){return _.QCd[_.ri(_.cr(this.context.Ld),8,0)]};_.h.tMa=function(){this.context.zO.H=new M$d(_.Ng().substring(0,8))};
_.h.Eaa=function(){var a=this.context.zO.oX(),b=null;a&&(b=N$d(this.context.zO),b={traceId:a,spanRecs:b});a=this.context.zO;a.H=null;a.Daa=[];return _.ai(b)};_.h.oX=function(){return _.ai(this.context.zO.oX())};
_.h.getState=function(a){var b=this.context.Po,c=b.H.bind(b);b={};b.b=_.E(this.context.Ld,62);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.Tg().xn.getSize();c=this.context.Tg().PA;var d=c.H;d&&(b.cs_sutd=d.tna,b.cs_ss=d.getSize());b.cs_ch=O$d(c).length;b.cs_td=c.i8().length;if(c=this.context.Pka)b.t_cps=c.Nic().getStats().join(",");b.t_id=
P$d(this.context);var e=[];Q$d(this.context.a8()).forEach(function(f,g){e.push(g+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.Xo().isConnected();b.n_o=this.context.Xo().Hg();a&&(b.csw_cc=_.xc(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.ai(JSON.stringify(b))};_.h.nMa=function(){this.Ac&&(this.Ac.dispatchEvent(new K$d),this.Ac.MF())};_.h.Hn=function(a){var b=this.context.ZL;b&&a!==b.W&&(b.W=a,b.Hn(a,!0))};var R$d=function(a,b,c,d){DR.call(this,"IS",b);this.context=a;this.handler=new _.Lg(this);this.Lta=_.jm();this.O=null;this.W=!1;this.V=null;this.Js=new L$d(a);HSd(this.Js);this.Sa(this.handler);this.Ba=new B9d(a);this.Sa(this.Ba);this.handler.listen(this.Ba,"WPi0i",function(){return void c(new d8d(1))});this.ma=new G9d(a);this.Sa(this.ma);this.handler.listen(this.ma,"Sa",function(){return void c(new d8d(2))});this.Da=d;this.H=this.context.Rp()};_.P(R$d,DR);_.h=R$d.prototype;
_.h.y6=function(){var a={};return a["3.43"]=this.A_.bind(this),a["3.42"]=this.KUa.bind(this),a["3.3"]=this.Bd.bind(this),a["3.35"]=this.T9.bind(this),a["3.4"]=this.i6.bind(this),a["3.5"]=this.rG.bind(this),a["3.6"]=this.Cha.bind(this),a["3.8"]=this.Hn.bind(this),a["3.36"]=this.ZQ.bind(this),a["3.9"]=this.c$.bind(this),a["3.10"]=this.RE.bind(this),a["3.11"]=this.x1a.bind(this),a["3.12"]=this.WVa.bind(this),a["3.13"]=this.Bja.bind(this),a["3.14"]=this.w1a.bind(this),a["3.15"]=this.ZVa.bind(this),a["3.16"]=
this.rC.bind(this),a["3.17"]=this.ruc.bind(this),a["3.18"]=this.zuc.bind(this),a["3.20"]=this.uuc.bind(this),a["3.25"]=this.suc.bind(this),a["3.22"]=this.XVa.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.W5a.bind(this),a["3.29"]=this.Vmc.bind(this),a["3.40"]=this.Buc.bind(this),a["3.33"]=this.Cuc.bind(this),a["3.39"]=this.g4.bind(this),a["3.37"]=this.Auc.bind(this),a["3.38"]=this.IPb.bind(this),a["3.41"]=this.Jha.bind(this),a["3.44"]=this.lCa.bind(this),a["3.45"]=this.us.bind(this),a["3.46"]=
this.JBa.bind(this),a["3.47"]=this.Fkb.bind(this),a["3.48"]=this.XS.bind(this),a["3.50"]=this.nga.bind(this),a};
_.h.Bd=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,QRd),d=_.kk(c,_.BO,16,IQ)||_.kk(c,_.CO,1,IQ)||_.kk(c,_.DO,2,IQ)||_.kk(c,_.WN,3,IQ)||_.kk(c,_.XP,4,IQ)||_.kk(c,_.EO,5,IQ)||_.kk(c,_.KO,6,IQ)||_.kk(c,_.MO,7,IQ)||_.kk(c,_.NO,8,IQ)||_.kk(c,_.PO,9,IQ)||_.kk(c,_.ZO,18,IQ)||_.kk(c,_.gP,10,IQ)||_.kk(c,_.hP,11,IQ)||_.kk(c,_.SP,19,IQ)||_.kk(c,_.zEd,12,IQ)||_.kk(c,_.eO,13,IQ)||_.kk(c,_.kP,14,IQ)||_.kk(c,_.lP,15,IQ)||_.kk(c,JQ,17,IQ),e=IR(this,a);return this.H.then(function(f){return f.Nh(d,e)}).then(function(f){return b.getResponse([f])},
function(f){return b.getResponse(void 0,_.aO(f,80))})};_.h.T9=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,ZRd),d=_.kk(c,_.GO,1,$Rd)||_.kk(c,_.OO,2,$Rd)||_.kk(c,_.mP,3,$Rd),e=IR(this,a);return this.H.then(function(f){return f.Nh(d,e)}).then(function(f){return b.getResponse([f])},function(f){return b.getResponse(void 0,_.aO(f,82))})};
_.h.i6=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,TRd),d=IR(this,a),e=[],f=[];VRd(c).forEach(function(g){x3d(g)?e.push(String(_.E(g,1))):e.push(String(g.Cr()));f.push(b.H.then(function(k){return k.Nh(g,d)}))});a=_.pDd(f).then(function(g){return g.map(function(k){return k.value||k.reason})});a.then(function(){return void S$d(b.context.Tg())},function(){return void S$d(b.context.Tg())});return a.then(function(g){return b.getResponse([new ERd(e,g)])})};
_.h.rG=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.XO),d=a.args[1];if(_.Ae(c,1)===3)if(!d&&this.V)a=this.V;else{var e=IR(this,a);a=this.H.then(function(f){return f.Nh(c,e)}).then(function(f){return new L4d(f,1,!1)});this.V||(this.V=a.then(function(f){return new L4d(f.response,f.oe,!0)}),setTimeout(function(){b.V=null},9E5))}else a=new L9d(c,d,this.context.ua[a.clientId]),CR(this.context.Po,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.getResponse([f.response,f.oe,f.eq])},function(f){return b.getResponse(void 0,
_.aO(f,65))})};_.h.Cha=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,WRd),d=_.kk(c,_.oF,1,XRd)||_.kk(c,_.pF,2,XRd),e=IR(this,a);return this.H.then(function(f){return f.Nh(d,e)}).then(function(f){return b.getResponse([f])},function(f){return b.getResponse(void 0,_.aO(f,81))})};_.h.Hn=function(a){a=a.args[0];if(a!==this.context.Xo().Hg()){var b=this.context.ZL;b.O?b.O.Mha():b.Hn(a);a||M0d(this.context.ZL)}return this.getResponse([])};
_.h.ZQ=function(a){var b=this,c=a.args[0];return this.context.ZQ(c).then(function(d){return d||_.LP(b.context.Ld)?(d&&(b.context.X7().ZQ(c),b.Da(c)),b.context.nx.kZ().then(null,function(){return!c})):_.gm(!c)}).then(function(d){return b.getResponse([d])},function(d){return b.getResponse(void 0,_.aO(d,85))})};
_.h.sync=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.xg);return Promise.all([this.context.qGa.promise,this.context.Gya.promise]).then(function(){return b.context.cI.promise.then(function(d){return d.sync()})}).then(function(){return KSd(b.context,c)}).then(function(){var d;if((d=_.br(c))==null?0:_.N(d,74,!1)){d=b.context.Tg().mx;var e=d.sync,f=b.context.Tg().xn,g=new Set;f=_.n(f.H.eD().values());for(var k=f.next();!k.done;k=f.next()){k=k.value.getItem();for(var l=_.n(_.Xf(k)),m=l.next();!m.done;m=
l.next())m=m.value,_.Hk(m,11)&&g.add(_.Zg(m,11));(l=_.Yf(k))&&_.Hk(l,11)&&g.add(_.Zg(l,11));(l=k.aG())&&_.Hk(l,11)&&g.add(_.Zg(l,11));(l=k.Bx())&&_.Hk(l,11)&&g.add(_.Zg(l,11));(k=_.uO(k))&&_.Hk(k,11)&&g.add(_.Zg(k,11))}d=e.call(d,g)}else d=Promise.resolve();return d}).then(function(){return b.context.nx.kZ()}).then(function(){return b.getResponse([])}).catch(function(d){return b.getResponse(void 0,_.aO(d,86))})};
_.h.c$=function(){try{var a=this.context.Pka;a&&a.S7a();this.context.tjb.c$();return this.getResponse([])}catch(b){return this.getResponse(void 0,_.aO(b,83))}};_.h.nga=function(){this.context.nga();return this.getResponse([])};_.h.Jha=function(){this.context.Jha();return this.getResponse([])};
_.h.RE=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.vEd),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,66))})};_.h.x1a=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.TO),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,72))})};
_.h.WVa=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.IO),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,61))})};_.h.Bja=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.iP),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,87))})};
_.h.w1a=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.UO),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return _.zP(b.context.Ld)?T$d(b.context.Tg().mx,[e.wfa()],c.DPa()).then(function(){return e}):e}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,71))})};
_.h.ZVa=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.LO),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,63))})};
_.h.rC=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.wEd),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d).then(function(f){return _.zP(b.context.Ld)?U$d(b.context.Tg().mx,f):f})}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,68))})};
_.h.ruc=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,f5d),d=new _.AEd(c,a.args[1],a.args[2]||void 0),e=IR(this,a);return this.H.then(function(f){return f.Nh(d,e)}).then(function(f){return b.getResponse([f])},function(f){return b.getResponse(void 0,_.aO(f,73))})};
_.h.zuc=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.YO),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d).then(function(f){return _.zP(b.context.Ld)?T$d(b.context.Tg().mx,_.Kj(f.getResponse(),_.Tp,2,_.Ff()),_.E(c.ee(),1)).then(function(){return f}):f})}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,76))})};
_.h.uuc=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.lBd),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,75))})};_.h.suc=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.WO),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,74))})};
_.h.XVa=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.JO),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,62))})};_.h.W5a=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.gQ),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e,null])},function(e){return b.getResponse([null,_.aO(e,84)])})};_.h.Vmc=function(){return this.getResponse([!0])};
_.h.Buc=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.SAd),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,78))})};_.h.Cuc=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.QN),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,79))})};
_.h.A_=function(a){a=_.LQ(a.args[0],!!a.H,_.cf);this.context.Tg().A_(a);return this.getResponse([])};_.h.KUa=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.FO),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,58))})};
_.h.g4=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.gR),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return Q9d(c,e)}).then(function(e){return b.getResponse(e)},function(e){return b.getResponse(void 0,_.aO(e,88))})};
_.h.Auc=function(a){var b=this,c=new _.HEd(_.LQ(a.args[0],!!a.H,_.l0c),a.args[1]),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e.response,e.pageToken])},function(e){return b.getResponse(void 0,_.aO(e,77))})};_.h.IPb=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.m0c),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,67))})};
_.h.lCa=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.WP),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,60))})};_.h.us=function(a){var b=a.args.map(function(c){return _.LQ(c,!!a.H,_.qQ)});this.context.Tg().us(b);S$d(this.context.Tg());return this.getResponse([])};
_.h.JBa=function(){var a=this,b=this.context.ZL;return(b?b.l6():_.gm(_.LJd(new _.KJd,0))).then(function(c){return a.getResponse([c])},function(c){return a.getResponse(void 0,_.aO(c,59))})};_.h.Fkb=function(a){var b=this,c,d,e,f,g;return _.Li(function(k){switch(k.H){case 1:return _.Di(k,b.H,2);case 2:return c=k.O,d=_.LQ(a.args[0],!!a.H,q6d),e=IR(b,a),_.Fi(k,3),_.Di(k,c.Nh(d,e),5);case 5:return f=k.O,k.return(b.getResponse([f]));case 3:return g=_.Ii(k),k.return(b.getResponse(void 0,_.aO(g,57)))}})};
_.h.XS=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.E6d),d=IR(this,a);return this.H.then(function(e){return e.Nh(c,d)}).then(function(e){return b.getResponse([e])},function(e){return b.getResponse(void 0,_.aO(e,64))})};
_.h.initialize=function(){var a=this;if(!this.O){this.O=_.jm();this.context.Kf("sync.cacheproxy.WorkerSyncedItemService").info("Initializing with client build: "+_.E(this.context.Ld,62));this.handler.listen(this.context,_.th,function(e){e=e.error;var f=e.yg;f&&f.getType()===3&&!a.W?(a.W=!0,a.O.reject(e)):a.context.Kf("sync.cacheproxy.WorkerSyncedItemService").uc("An error occurred in the Shared Worker",e)});var b=this.context.Po,c=["hVFf7"];_.OP(this.context.Ld)&&c.push("BNEDtc");b.addRule(c,function(){a.W||
(a.W=!0,a.O.resolve())});b.addRule(["GZTDpc"],function(){return void a.Lta.resolve()});var d=function(){a.context.cI.promise.then(function(e){return void e.start()})};b.addRule(["T8oKm",_.LP(this.context.Ld)?"BNEDtc":"ZA9qG"],function(){return void d()});b.addRule(["T8oKm","mrK8ic"],function(){return void d()});b.start();CR(b,"NSockf")}return this.O.promise};_.h.j5a=function(){return this.Lta.promise};_.h.MF=function(){var a=this.context.Pka;a&&a.dispose();return this.context.MF()};
var IR=function(a,b){return(a=a.context.ua[b.clientId])?{qY:a}:{}};var V$d=function(a,b,c){DR.call(this,"DU",b);this.context=a;this.O=c;this.H=new L$d(a)};_.P(V$d,DR);_.h=V$d.prototype;
_.h.y6=function(){var a=this,b={};return b["5.1"]=function(){return a.Zma()},b["5.2"]=function(c){return a.IW(c)},b["5.4"]=function(c){return a.hs(c)},b["5.5"]=function(){return a.a1()},b["5.10"]=function(){return a.oX()},b["5.6"]=function(){return a.tMa()},b["5.7"]=function(){return a.Eaa()},b["5.9"]=function(){return a.YMa()},b["5.8"]=function(c){return a.zja(c)},b["5.11"]=function(){return a.nMa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Hn(c)},b};
_.h.Zma=function(){var a=this;this.context.nx.uY();var b=this.context.Ld;return G$d(_.qO(_.hO(b)),_.NP(b),this.context.Td).then(null,function(){}).then(function(){return a.getResponse([])})};_.h.IW=function(a){a=a.args[0];a=this.context.Tg().xn.nn(a);return this.getResponse([a])};_.h.hs=function(a){var b=this;return this.context.VJ.hs(a.args[0]).then(function(c){return b.getResponse([c])})};_.h.a1=function(){return this.getResponse(this.context.VJ.a1())};
_.h.zja=function(a){var b=this,c=_.LQ(a.args[0],!!a.H,_.NCd),d=a.args[1],e=a.args[2];if(_.kk(c,_.sO,3,_.tO)||_.kk(c,_.pP,4,_.tO)||_.kk(c,_.XP,5,_.tO)||_.kk(c,_.lP,6,_.tO)||_.kk(c,_.NO,7,_.tO)||_.kk(c,_.WN,8,_.tO)||_.kk(c,_.KO,9,_.tO)||_.kk(c,_.eO,10,_.tO)){var f=v4d(c);return this.context.Rp().then(function(g){return g.Nh(f,{dHb:d,eHb:e})}).then(function(g){a:{var k=[],l="";if(I4d(g)){k=g.getResponse().Gd(_.wg);var m=_.E(g,2);l=_.E(g,3)}else if(q0d(g))g.getItem()&&k.push(g.getItem()),m=_.E(g,16);
else{g=b.getResponse(void 0,_.aO(Error("ai"),52));break a}g=b.getResponse([m,l].concat(_.Eb(k)))}return g},function(g){return b.getResponse(void 0,_.aO(g,50))})}return _.gm(this.getResponse(void 0,_.aO(Error("$h"),51)))};_.h.YMa=function(){var a=this.context.Ld,b=_.cr(a);a="email:"+_.hO(a).getEmail().replace(/@.*$/,"");_.L(b,13,a);return this.getResponse([])};_.h.tMa=function(){this.context.zO.H=new M$d(_.Ng().substring(0,8));return this.getResponse([])};
_.h.Eaa=function(){var a=this.context.zO.oX();if(a){var b=N$d(this.context.zO);a=[a.H,a.startTime].concat(_.Eb(b))}else a=[];b=this.context.zO;b.H=null;b.Daa=[];return this.getResponse(a)};_.h.oX=function(){var a=this.context.zO.oX();return this.getResponse(a?[a.H,a.startTime]:[])};_.h.getState=function(){var a=this;return this.H.getState(this.ua).then(function(b){return a.getResponse([b])})};
_.h.nMa=function(){var a=[this.O.MF(),_.Cm(3E4)];_.zwa(a).then(function(){_.ca.setTimeout(function(){self.close()})},function(){_.ca.setTimeout(function(){self.close()})});return this.getResponse([])};_.h.Hn=function(a){this.H.Hn(a.args[0]);return this.getResponse([])};var W$d=function(a,b,c,d,e,f,g){_.YKd.call(this,a,b,c,d,f,new _.kLd,g);this.O=e;this.logger=null};_.P(W$d,_.YKd);W$d.prototype.W_=function(a,b){var c=this,d,e,f;return _.Li(function(g){return g.H==1?_.Di(g,c.O,2):g.H!=3?(e=d=g.O,f=e.lFc,_.Di(g,kQd(c.H,c.iL,a,b,c.requests,c.ua),3)):g.return(f.call(e,g.O))})};W$d.prototype.JCa=function(a,b){var c=this.ee(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.hs();e&&(d=_.Nj(e,1));d===0&&(d=c.file.size)}this.dispatchEvent(new _.TKd(a,b,d))}};var X$d=function(a,b,c,d,e,f,g,k,l){DR.call(this,"FU",l);this.Da=a;this.Ba=b;this.Ga=c;this.Ia=d;this.ma=e;this.Td=f;this.iL=g;this.W=k;this.H={};this.V={};this.O={};this.handler=new _.Lg(this);this.Sa(this.handler)};_.P(X$d,DR);_.h=X$d.prototype;
_.h.y6=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.aI(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.W_(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c],delete a.V[c]);return a.getResponse([])},b["7.7"]=function(c){var d=c.args;c=d[0];d=d[1]!=null?d[1]:null;var e=a.O[c];e&&(e.resolve(d),delete a.O[c]);return a.getResponse([])},
b};_.h.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=_.LQ(a.args[0],!!a.H,_.WN),e=a.args[1];if(!this.H[c]){var f=new W$d(this.Da,this.Ba,this.Ga,this.Ia,this.ma,this.iL,this.W);this.handler.listen(f,"Ga",_.Si(this.Ka,a.clientId,a.requestId));this.Sa(f);this.H[c]=f;this.V[c]=new Set}return this.H[c].upload(d,e,void 0,function(g,k){return Y$d(b,a.clientId,a.requestId,d.wl(),g,k,3)}).then(function(g){return b.getResponse([g])},function(g){return b.getResponse(void 0,g)})};
_.h.cancel=function(a){var b=a.clientId+":"+a.requestId;this.H[b]&&this.H[b].cancel(a.args[0]);return this.getResponse([])};_.h.aI=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].aI();return this.getResponse([])};
_.h.retry=function(a){var b=this,c,d,e,f,g,k,l,m,q,r,t,u,v,x,y,C,F,G;return _.Li(function(M){if(M.H==1){c=a.requestId;d=a.clientId+":"+c;if(!b.H[d])return M.Rc(2);e=a.args[0];f=a.args.slice(1);return _.Di(M,b.H[d].retry(f),3)}if(M.H!=2){g=M.O;k={};l=0;m=_.n(f);for(q=m.next();!q.done;q=m.next())r=q.value,k[r]=g[l++];t=_.n(Object.entries(k));u=t.next();for(v={};!u.done;v={G7a:void 0},u=t.next())x=u.value,y=_.n(x),C=y.next().value,F=y.next().value,v.G7a=C,G=F,G.then(function(W){return function(R){b.update(a.clientId,
c,Z$d(0,e,[W.G7a,R]))}}(v),function(W){return function(R){b.update(a.clientId,c,Z$d(1,e,[W.G7a,R.yg]))}}(v));return M.return(b.getResponse([]))}return M.return(b.getResponse(void 0,_.aO("Could not retry upload.",54)))})};
_.h.W_=function(a){var b=this,c,d,e,f,g,k,l,m;return _.Li(function(q){if(q.H==1){c=a.clientId+":"+a.requestId;d=a.args[0];e=a.args.slice(1);if(!b.H[c])return q.return(b.getResponse(void 0,_.aO("FileUploader not found.",53)));f=b.H[c];g=kQd(f.H,f.iL,d,e,f.requests,f.ua);k=b;l=k.getResponse;m=LSd;return _.Di(q,g,3)}return q.return(l.call(k,[m(q.O)]))})};
var Y$d=function(a,b,c,d,e,f,g){if(!g)return _.gm(null);var k=_.jm(),l=_.hl();a.O[l]=k;a.update(b,c,Z$d(3,d,[e,f,l]));setTimeout(function(){var m=a.O[l];if(m){var q=a.V[b+":"+c];g===3&&q&&!q.has(d)&&(q.add(d),_.TFd(a.W,205335948));g--;a.Td.Kf("sync.cacheproxy.WorkerFileUploader").info("Retry attempt "+(3-g+" for chunk request for ")+(d+" @"+e));delete a.O[l];m.resolve(Y$d(a,b,c,d,e,f,g))}},5E3);return k.promise};X$d.prototype.Ka=function(a,b,c){this.update(a,b,Z$d(2,c.requestId,[c.progress,c.totalBytes]))};
var Z$d=function(a,b,c){return[Number(a),b].concat(_.Eb(c))};var $$d=function(){},aae=function(a){this.H=a},zUd=function(a,b,c,d,e,f,g,k){this.status=a;this.percentDone=b;this.H=c;this.W=d;this.V=e;this.xN=f;this.numFetchedFiles=g;this.O=k};var bae=function(a,b,c){_.Ig.call(this);this.O=a;this.request=b;this.V=c;this.he=_.jm();this.complete=!1;this.H=""};_.P(bae,_.Ig);bae.prototype.start=function(){var a=this;this.O.then(function(b){return b.Nh(a.request)}).then(this.ma.bind(this)).then(null,this.handleError.bind(this));return this.he.promise};bae.prototype.ma=function(a){this.H=a.H;this.dispatchEvent(new _.e8d(0,this.H));cae(this)};
var cae=function(a){_.ca.setTimeout(function(){a.O.then(function(b){return b.Nh(new _.EEd(a.H))}).then(function(b){if(a.complete||b.status!==1&&b.status!==3&&b.status!==2){a.complete=!0;var c;(((c=_.br(a.V))==null?0:_.N(c,69,!1))?b.status===4||b.status===5:b.status===4)?(c=new _.a6d,c=_.yk(c,2,b.H),c=_.L(c,3,a.H),c=_.Tg(c,5,b.W),c=_.Tg(c,6,b.V),c=_.Tg(c,7,b.xN),c=_.Tg(c,8,b.numFetchedFiles),b=_.Mj(c,4,b.O),a.he.resolve(b)):(b=_.$N(_.Ir(_.Hr(new _.Gr,"Export failed for request "+a.H+": "+b.status),
JSON.stringify(b)),8),a.handleError(b));a.dispose()}else a.dispatchEvent(new _.e8d(b.percentDone,a.H)),cae(a)}).then(null,function(b){a.handleError(b)})},5E3)};bae.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Nh(new _.DEd(a.H))}).then(this.W.bind(this)).then(null,this.handleError.bind(this))};bae.prototype.W=function(){if(!this.complete){var a=new _.a6d;a=_.L(a,3,this.H);a=_.J(a,1,!0);this.he.resolve(a);this.complete=!0;this.dispose()}};
bae.prototype.handleError=function(a){this.complete=!0;this.he.reject(_.zO(a));this.dispose()};var dae=function(a,b,c){DR.call(this,"IE",b);this.V=a;this.O=c;this.H=new Map};_.P(dae,DR);dae.prototype.y6=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};
dae.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=_.LQ(a.args[0],!!a.H,_.uEd);e=new bae(this.V,e,this.O);var f=_.vm(e,"Qa",function(g){b.update(a.clientId,c,[g.percentDone,g.BRa])});e.addOnDisposeCallback(function(){_.xm(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(g){return b.getResponse([g])},function(g){return b.getResponse(void 0,_.aO(g,55))})};dae.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.getResponse([])};var fae=function(a,b){DR.call(this,"LRM",b);var c=this;this.context=a;this.DY={};this.sKa={};this.tKa={};eae(this.context,this);this.Cf=this.context.Cf;this.Zg=this.context.Tg();this.wV=this.context.wV;this.U3=l9d(this.context);this.TO=this.context.TO;this.Qwb=new _.eQ(function(){return c.context.zsa.get().Tg()})};_.P(fae,DR);
fae.prototype.y6=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.cf);return a.ho(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.Er);return a.ho(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.lr);return a.ho(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.zN);return a.ho(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=_.LQ(c.args[0],!!c.H,_.cf);return a.xr(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.Er);return a.xr(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.lr);return a.xr(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.zN);return a.xr(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=_.LQ(c.args[0],!!c.H,_.lr);c=_.LQ(c.args[1],!!c.H,_.lr);return a.ixa(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=_.LQ(c.args[0],!!c.H,_.zN);c=_.LQ(c.args[1],!!c.H,_.zN);return a.ixa(d,e,c)},b["4.28"]=function(c){return a.dba(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.jO);return a.ho(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.YN);return a.ho(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.jO);return a.xr(d,c)},b["4.16"]=function(c){var d=c.clientId+":"+c.requestId;
c=_.LQ(c.args[0],!!c.H,_.YN);return a.xr(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.CN);return a.ho(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.CN);return a.xr(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.QN);return a.ho(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.QN);return a.xr(d,c)},b["4.24"]=function(c){var d=c.clientId+":"+c.requestId;
c=_.LQ(c.args[0],!!c.H,_.KN);return a.ho(d,c)},b["4.25"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.KN);return a.xr(d,c)},b["4.26"]=function(c){var d=c.clientId+":"+c.requestId,e=_.LQ(c.args[0],!!c.H,_.bq);return a.ho(d,c.H?e:e.clone())},b["4.27"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.bq);return a.xr(d,c)},b["4.32"]=function(c){var d=c.clientId+":"+c.requestId,e=_.LQ(c.args[0],!!c.H,_.RN);return a.ho(d,c.H?e:e.clone())},b["4.33"]=function(c){var d=
c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.RN);return a.xr(d,c)},b["4.29"]=function(c){var d=c.clientId+":"+c.requestId,e=_.LQ(c.args[0],!!c.H,_.OId);return a.ho(d,c.H?e:e.clone())},b["4.30"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.OId);return a.xr(d,c)},b["4.21"]=function(c){return a.Lua(c)},b["4.31"]=function(c){var d=c.clientId+":"+c.requestId;c=_.LQ(c.args[0],!!c.H,_.cf);return a.YSa(d,c)},b};
fae.prototype.ho=function(a,b){var c=this,d=new _.By;this.DY[a]={query:b,bPc:d.promise};(0,_.TBd)(b)||(0,_.HId)(b)?d.resolve(this.wV.ho(a,b)):h3d(b)?d.resolve(this.U3.ho(a,b)):(0,_.EId)(b)?d.resolve(this.TO.ho(a,b)):(0,_.sEd)(b)?d.resolve(this.context.DR.get().ho(a,b)):(0,_.RO)(b)?d.resolve(this.context.ZT.get().ho(a,b)):(0,_.SO)(b)?d.resolve(this.context.QZ.get().ho(a,b)):(0,_.PId)(b)?d.resolve(this.Qwb.get().ho(a,b)):d.resolve(this.Zg.ho(a,b));return d.promise.then(function(){return c.getResponse([])})};
fae.prototype.xr=function(a,b){gae(this,a,b);return this.getResponse([])};var gae=function(a,b,c){delete a.DY[b];(0,_.TBd)(c)||(0,_.HId)(c)?a.wV.xr(b,c):h3d(c)?a.U3.xr(b,c):(0,_.EId)(c)?a.TO.xr(b,c):(0,_.sEd)(c)?a.context.DR.get().xr(b,c):(0,_.RO)(c)?a.context.ZT.get().xr(b,c):(0,_.SO)(c)?a.context.QZ.get().xr(b,c):(0,_.PId)(c)?a.Qwb.get().xr(b,c):a.Zg.xr(b,c)};_.h=fae.prototype;
_.h.Lua=function(a){var b=a.args[0];b=b?_.LQ(b,!!a.H,_.Se):void 0;a=this.DY[a.clientId+":"+a.requestId].query;h3d(a)?v7d(this.U3,a,b):(0,_.RO)(a)?v7d(this.context.ZT.get(),a,b):(0,_.sEd)(a)&&v7d(this.context.DR.get(),a,b);return this.getResponse([])};_.h.ixa=function(a,b,c){gae(this,a,b);return this.ho(a,c)};
_.h.dba=function(a){var b=a.clientId+":"+a.requestId;a=a.args[0];var c=this.DY[b].query;(0,_.VO)(c)?(c.Ym(a),this.Zg.ho(b,c)):(0,_.BId)(c)?(c.Ym(a),this.Zg.ho(b,c)):(0,_.TBd)(c)?(c.Ym(a),this.wV.ho(b,c)):h3d(c)?(c.Ym(a),this.U3.ho(b,c)):(0,_.EId)(c)?(c.Ym(a),this.TO.ho(b,c)):(0,_.RO)(c)&&(this.context.ZT.get().xr(b,c),_.mHa(c,a),this.context.ZT.get().ho(b,c));return this.getResponse([])};_.h.YSa=function(a,b){this.Zg.YSa(a,b);return this.getResponse([])};
_.h.Z2=function(a,b){var c=this,d,e=(d=this.sKa[a])!=null?d:this.tKa[a];if(e)sQd(e.ee().O(),Object.values(b.Dn()).filter(function(l){return l&&!fR(l)}),this.Cf),hae(e,b);else{var f=this.DY[a];if(f){a=a.split(":");var g=_.il(a[0]),k=a[1];f.bPc.then(function(l){(0,_.TBd)(f.query)||(0,_.EId)(f.query)?c.update(g,k,[b.response,b.pageToken,b.H,b.oe,l]):(0,_.sEd)(f.query)||(0,_.RO)(f.query)||(0,_.SO)(f.query)?c.update(g,k,[b.response,b.oe,b.eq,l]):(0,_.PId)(f.query)?c.update(g,k,[b.response,b.oe,b.eq,b.getStatus(),
l]):((0,_.VO)(f.query)?sQd(f.query.O(),b.Gd().filter(function(m){return!fR(m)}),c.Cf):(0,_.AId)(f.query)&&sQd(f.query.O(),Object.values(b.Dn()).filter(function(m){return m!==null&&!fR(m)}),c.Cf),c.update(g,k,[b,l]))})}}};_.h.CN=function(a,b){if(this.DY[a]){var c=a.split(":");a=_.il(c[0]);c=c[1];var d=b.error;d.Dya(b.retryCount);this.update(a,c,void 0,d)}};
var C7d=function(a,b){if(a.sKa[b])return a.sKa[b].ee();if(a.tKa[b])return a.tKa[b].ee();if(!a.DY[b])throw Error("kh`"+b);return a.DY[b].query},iae=function(a,b){_.uc(a.DY,function(c,d){_.il(d.split(":")[0])===b&&gae(a,d,c.query)})},lae=function(a,b,c){c=c===void 0?Promise.resolve():c;jae(a,b.r0,a.sKa);kae(b,{GBb:function(d){jae(a,d,a.tKa)},isTeamDrive:function(d){d=a.context.Tg().xn.nn(d);return!!d&&fR(d)},Sbc:c})},jae=function(a,b,c){var d=b.getId();c[d]||(c[d]=b,b.addOnDisposeCallback(function(){var e=
b.ee();e&&a.Zg.xr(d,e);delete c[d]}),mae(b,function(e,f){e&&a.Zg.xr(d,e);a.Zg.ho(d,f)}))};var pae=function(a,b){this.context=a;this.Cf=b;this.H=xQd(_.xP(this.Cf),nae);this.O=xQd(_.xP(this.Cf),oae)};
pae.prototype.Dq=function(a){var b=this,c,d,e,f,g,k,l;_.Li(function(m){e=(d=(c=b.context.Ld.ni())==null?void 0:_.z(c,6,""))!=null?d:null;f={};a.forEach(function(q){_.xO(q);var r=_.ve(q),t=b.context.yz();q.KF(3);_.dO(q,5);var u=MSd(q,!0);q.getCapabilities()||_.KP(q,new _.vq);_.wh(u,2)&&((u=q.yl())&&u.length?_.tHd(q,u[0]):(_.JP(q,[t]),_.tHd(q,t)),_.jHd(q,_.Yg(q,11)),t=new _.Tp,t.Bb(e),_.I(t,6,1),_.rGd(t,!0),_.kHd(q,t),_.Tq(q,[t]),_.Rac(q,1));f[r]=q});g=Object.keys(f);k=b.context.Tg();l=s4d(k.xn,g);
_.uc(l,function(q,r){wQd(q.getItem(),f[r],b.H,b.Cf);(b.context.Xo().Hg()||_.Wf(q.getItem())===3)&&wQd(q.getItem(),f[r],b.O,b.Cf);_.Dc(f,r)});_.uc(f,function(q){_.wh(q.W(),1)&&(l[_.ve(q)]=new AR(q))});qae(k,Object.values(l));_.Ei(m)})};var rae=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.Dq(c)},nae=[50],oae=[12,11,10,67,68];var sae=function(a,b){DR.call(this,"ODS",b);this.context=a;this.H=!1;this.O=_.jm();this.V=new pae(a,a.Cf)};_.P(sae,DR);
sae.prototype.y6=function(){var a=this,b={};return b["6.1"]=function(c){return tae(a,c)},b["6.2"]=function(c){return uae(a,c)},b["6.3"]=function(){if(a.H){var c=a.V.context.Tg(),d=new _.cf;d.Hn(!0);d=t4d(c.xn,d);for(var e=[],f=[],g=0;g<d.length;g++){var k=d[g].getItem();if(_.Wf(k)===3){var l=new _.qQ;_.rQ(l,k.Pb());_.sQ(l);f.push(l)}else l=new _.xq,_.pQ(l,!1),_.J(l,2,!1),_.Q(k,_.xq,81,l),e.push(d[g])}qae(c,e);c.us(f);a.H=!1;a.O=_.jm()}return a.getResponse([])},b};
var tae=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return _.LQ(d,!!b.H,_.Oq)});a.V.Dq(c);CR(a.context.Po,"GZTDpc");a.O.resolve()}return a.getResponse([])},uae=function(a,b){return a.O.promise.then(function(){var c=b.args.map(function(d){return _.LQ(d,!!b.H,_.qQ)});rae(a.V,c);return a.getResponse([])})};var vae=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("bi`"+b);a.services.set(b,new _.Je)})};vae.prototype.activate=function(a){var b=this.services.get(a.Uh);if(b&&!b.H)b.callback(a);else throw Error("ci`"+a.Uh);};var wae=function(a,b){a=_.n(a.services);for(var c=a.next();!c.done;c=a.next())c=_.n(c.value),c.next(),c.next().value.addCallback(function(d){d.registerService(b)})};vae.prototype.isReady=function(){return[].concat(_.Eb(this.services.values())).every(function(a){return a.H})};var xae=function(){},yae={0:2E3,1:3E3,2:5E3},zae=function(a,b){this.request=a;this.ma=b;this.H=_.jm();this.continuationToken="";this.V=0;this.SC=this.W=!1;this.O=xae};zae.prototype.Cj=function(a){var b=this;this.W||(this.W=!0,this.sendRequest());a&&(this.O=a);return this.H.promise.then(function(c){b.O=xae;b.V=0;return c},function(c){b.O=xae;b.V=0;return Promise.reject(c)})};
zae.prototype.sendRequest=function(){var a=this;if(this.SC)this.H.resolve((new _.TQ).Tb(8));else{var b=new _.LEd(this.request,this.continuationToken);this.ma.then(function(c){return c.Nh(b)}).then(function(c){Aae(a,c)},function(c){a.handleError(c)})}};var Aae=function(a,b){var c;a.continuationToken=(c=b.Ws())!=null?c:"";a.O(b);a.continuationToken?setTimeout(function(){a.sendRequest()},Bae(a.V++,a.ua)):a.H.resolve(b)};
zae.prototype.handleError=function(a){a=_.TN(a);var b=_.Ae(a.yg,10);(b=b&&Cae[b])?this.H.resolve((new _.TQ).Tb(b)):this.H.reject(a)};zae.prototype.cancel=function(){this.SC=!0};var Dae={},Cae=(Dae[53]=3,Dae[54]=6,Dae[40]=9,Dae[65]=10,Dae[49]=11,Dae[67]=12,Dae),Bae=function(a,b){return b?b:(a=yae[a])?a:1E4};var Eae=function(a,b){DR.call(this,"TM",b);this.O=a;this.H=new Map};_.P(Eae,DR);Eae.prototype.y6=function(){var a=this,b={};return b["10.1"]=function(c){return Fae(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var Fae=function(a,b){var c=b.clientId+":"+b.requestId,d=_.LQ(b.args[0],!!b.H,_.H6d);d=new zae(d,a.O);a.H.set(c,d);d=d.Cj(function(e){var f;a.update(b.clientId,(f=b.requestId)!=null?f:"",[e])}).then(function(e){return a.getResponse([e])},function(e){return a.getResponse(void 0,_.aO(e,89))});d.then(function(){a.H.delete(c)},function(){a.H.delete(c)});return d};Eae.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.getResponse([])};var Gae=function(a){this.Td=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=null;this.started=!1};Gae.prototype.addRule=function(a,b){if(this.started)throw Error("di");b={Xn:new Set(a),callback:b};a=_.n(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.O.get(c)||[];d.push(b);this.O.set(c,d)}return this};
var Jae=function(a,b,c){a.enabled||Hae(a);b=b.filter(function(f){return!a.V.has(f)});if(b.length>0){c={Xn:new Set(b),callback:c};b=_.n(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)}}else Iae(a,c)},CR=function(a,b){if(!a.started)throw Error("ei");a.enabled||Hae(a);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.Xn.delete(b);e.Xn.size===0&&Iae(a,e.callback)}}};Gae.prototype.H=function(a){return this.V.has(a)};
Gae.prototype.start=function(){this.started=!0};var Iae=function(a,b){try{b()}catch(c){throw a.enabled=!1,a.error=c?_.zO(c):null,c;}},Hae=function(a){throw Error("fi`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));};Gae.prototype.log=function(a){this.Td.Kf("MilestoneManager").info(a)};var Kae=new Set([1,2,4,5,6]),Lae=function(a,b,c,d,e){this.O=a;this.ma=b;this.W=c;this.Td=d;this.V=e;this.H=null;this.status=3;this.oe=0};Lae.prototype.jf=function(){var a=(new _.zPd).Tb(this.status);this.H&&_.APd(a,Mae(this));return a};
var D9d=function(a,b,c,d){d=d===void 0?!1:d;var e=Kae.has(c);if(a.status===1&&!e)return!1;a.oe=c;var f=a.status;c=!a.H;if(_.zP(a.O)){var g=(g=b&&b.oh())&&_.E(g,11);g=!(!g||!E9d(a.ma,g));a.status=g&&e||d?1:6}f=!_.Rh(a.H,b)||(_.zP(a.O)?a.status!==f:a.status===6&&e);a.H=b.clone();_.zP(a.O)||(a.status=e||d?1:6);c&&(CR(a.W,"toquGd"),a.Td.Kf("sync.account.InMemoryAccountCache").info("Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};Lae.prototype.mf=function(){return this.oe};
var Mae=function(a){return a.H?a.H.clone():null};var Nae=function(){_.Ig.call(this);Date.now()};_.P(Nae,_.Ig);Nae.prototype.c$=function(){Date.now();this.dispatchEvent("Ta")};var Oae=function(a){_.Ig.call(this);this.W=a;this.oe=0};_.P(Oae,_.Ig);var Pae=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};jUd(a,_.Xj(a,4,_.Ff()).map(b));iUd(a,_.Xj(a,5,_.Ff()).map(b));return a};Oae.prototype.V=function(){};Oae.prototype.ZI=function(){return this.oe!==0};Oae.prototype.mf=function(){return this.oe};var Qae=new Set([1,2,4,5,6]),Rae=function(a,b,c){Oae.call(this,b);this.O=c;this.apps={};this.H=[];this.status=6;this.nq=!1;this.logger=a.Kf("sync.appsettings.InMemoryAppSettingsCache")};_.P(Rae,Oae);Rae.prototype.rG=function(){var a=new iR;if(!_.Bc(this.apps)){_.yk(a,4,this.H);var b=[];_.uc(this.apps,function(c){b.push(c.clone())});_.Mj(a,2,b)}a.Tb(this.status);return a};Rae.prototype.put=function(a){this.apps[_.E(a,1)]=Pae(a);this.O.update(1);this.dispatchEvent(new _.sm("Sa",this))};
Rae.prototype.remove=function(a){_.Dc(this.apps,a)&&this.O.update(1)};Rae.prototype.V=function(a,b,c){c=c===void 0?!1:c;var d=!Qae.has(b);this.status===1&&d||(this.oe=b,Sae(this,a,!d||c),d||this.O.update(1),this.nq||(this.nq=!0,this.logger.info("Apps initialized."),CR(this.W,"nVUlO")))};
var Sae=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Xj(b,4,_.Ff(_.wg));if(!d)if(e.length!==a.H.length)d=!0;else{var f=e.concat(a.H);_.Ga(f);d=f.length!==a.H.length}a.H=e;var g=_.Gc(a.apps);_.HPd(a.apps);b=_.Kj(b,_.QQ,2,_.Ff());d||(d=b.length!==_.xc(g));b.forEach(function(k){var l=Pae(k);a.apps[_.E(k,1)]=l;d||(k=g[_.E(k,1)],d=!k||!_.Rh(l,k))});a.logger.info((c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.sm("Sa",a))};var TSd=function(a,b,c){qR.call(this,a,c);this.Da=b;this.V=new Set;this.ma=!1};_.P(TSd,qR);_.h=TSd.prototype;_.h.get=function(a){var b=null;if(!this.ma&&n9d!==void 0){this.ma=!0;var c=u9d();c&&(b=Promise.race([c,new Promise(function(d){setTimeout(d,100)})]))}return this.yp(a,b).then(function(d){d=new K4d(d.response||(new hR).Tb(1),d.oe,d.eq);OXd(a,_.wg);var e,f,g=(f=(e=d.response)==null?void 0:e.clone())!=null?f:null;return new K4d(g,d.oe,d.eq)})};_.h.bna=function(a){return a.clone()};
_.h.Pba=function(a){if(_.Ek(a,3)||_.Ek(a,4)){if(_.N(a,3,!1)&&!_.N(a,4,!1))return 1;if(!_.N(a,3,!1)&&_.N(a,4,!1))return 2}return 0};_.h.rN=function(a,b,c){var d=new Set(OXd(a));a=OXd(b);return(c?d.size===a.length:!0)&&a.every(function(e){return d.has(e)})};_.h.oqb=function(a){var b=[].concat(_.Eb(new Set([].concat(_.Eb(OXd(a)),_.Eb(this.V)))));b.sort();return new m7d(_.dTd(a.clone(),b))};
_.h.Eya=function(a,b){var c=rR(this);a=OXd(a);var d=new Set(a),e,f;return((e=c.response)==null?0:e.jf())&&(_.Nj(c.response,4)>((f=_.Nj(b,4))!=null?f:0)||[].concat(_.Eb(this.V.values())).some(function(g){return!d.has(g)}))?!1:!0};_.h.Ztb=function(a){var b=this;OXd(a.request).forEach(function(c){b.V.add(c)});(a=rR(this).response)&&_.Gk(a,4)&&this.Da.notify(_.Nj(a,4))};
_.h.refresh=function(a){var b=rR(this),c;if((c=b.response)==null||!c.jf())return Promise.resolve();var d;b=_.yN(_.Ue(_.Ve(((d=b.request)==null?void 0:d.Zk())||new _.Se,a),!1),2);a=_.eTd(_.sPd(new _.KN,!0),b);return this.get(a).then(function(){})};var XSd=function(a){return function(b){return a.refresh(b)}},Tae=function(a){var b=rR(a).response;if(b){var c=new d5d;a=_.dTd(new _.KN,[].concat(_.Eb(a.V)));c=_.Q(c,_.KN,1,a);b=_.Q(c,hR,2,b)}else b=null;return b};var Uae=function(a,b,c){tR.call(this,b,c);this.H=a;this.data=null;this.eq=!1};_.P(Uae,tR);Uae.prototype.lU=function(){Vae(this)};Uae.prototype.refresh=function(a){var b=_.sPd(this.request.clone(),!0);a&&_.eTd(b,a);return this.getData(b)};var Vae=function(a){a.data===null&&a.getData(a.request).then(function(){},function(b){b=b.yg;a.CN(new wR(b,_.Rj(b,9)||0))})};Uae.prototype.getData=function(a){var b=this;return this.H.get(a).then(function(c){b.Vj(c.oe);b.eq=c.eq;b.lr([c.response],!1)})};
Uae.prototype.tj=function(){return new K4d(this.data||(new hR).Tb(6),this.mf(),this.eq)};Uae.prototype.Sz=function(a){this.data=a;return!0};var YSd=function(a,b,c){sR.call(this,function(e){var f=OXd(e).join(",");_.N(e,3,!1)&&(f.length&&(f+="|"),f+="cachedOnly");_.N(e,4,!1)&&(f.length&&(f+="|"),f+="networkOnly");return f},function(e){return new Uae(d.H,d.V,e)});var d=this;this.V=a;this.H=b;this.ma=c;this.handler=new _.Lg;this.handler.listen(this.H,"Ua",function(e){d.lr([e.getResponse()],!1)})};_.P(YSd,sR);YSd.prototype.PE=function(a){this.ma.PE(a)};
YSd.prototype.sync=function(a,b){b=b===void 0?0:b;var c=this,d,e,f;return _.Li(function(g){if(g.H==1){d=_.yj(_.yj(a.clone(),4),3);e=b?Date.now()-b:0;var k=c.H,l=k.get;var m=d.clone();m=_.J(m,3,!0);return _.Di(g,l.call(k,m),2)}f=g.O.response;return!e||!_.Gk(f,4)||_.Nj(f,4)<e?_.Di(g,c.H.get(_.sPd(d.clone(),!0)),0):g.Rc(0)})};var Wae=function(a){_.ui.call(this);this.W=a;this.id=_.hl();this.V=this.data=this.request=null;this.O=new Set};_.P(Wae,_.ui);Wae.prototype.getId=function(){return this.id};Wae.prototype.ee=function(){return this.request};var mae=function(a,b){a.V||(a.V=b)};Wae.prototype.l4=function(a){Xae(this,a,!0)};
var Xae=function(a,b,c){a.request&&_.La(a.request.O(),b.O());Yae(a,b,c);_.Rh(a.request,b)?a.data&&a.W(a.data):(c=a.request,a.request=b,a.V(c,b))},Yae=function(a,b,c){var d=new Set,e=b.Lh().filter(function(k){var l=a.O.has(k);l&&d.add(k);return!l});if(c&&d.size!==a.O.size){c=_.n(a.O.values());for(var f=c.next();!f.done;f=c.next())if(f=f.value,!d.has(f)){a.O.delete(f);var g=void 0;(g=a.data)!=null&&delete g.map[f]}}e.sort();b.No(e)},hae=function(a,b){if(a.request&&a.O.size)for(var c=_.n(a.O.values()),
d=c.next();!d.done;d=c.next())b.map[d.value]=null;c=!1;if(a.data)if(a.data.getStatus()!==b.getStatus()||Object.values(a.data.Dn()).length!==Object.values(b.Dn()).length)c=!0;else{d=_.n(Object.entries(b.Dn()));for(var e=d.next();!e.done;e=d.next()){var f=_.n(e.value);e=f.next().value;f=f.next().value;if(a.data.Dn()[e]&&f){if(!_.Rh(a.data.Dn()[e],f)){c=!0;break}}else if(!!a.data.Dn()[e]!==!!f){c=!0;break}}}else c=!0;c&&(a.data=b,a.W(a.data))};
Wae.prototype.H=function(a){var b;!this.O.has(a)&&((b=this.request)==null?0:b.Lh().includes(a))&&(this.O.add(a),Xae(this,this.request.clone(),!1))};var $ae=function(a){_.ui.call(this);var b=this;this.ua=a;this.ma=new Set;this.W=this.O=this.V=null;this.r0=new Wae(function(c){b.V=c;Zae(b)});this.addOnDisposeCallback(function(){b.r0.dispose();b.O&&b.O.dispose()});this.r0.addOnDisposeCallback(function(){b.dispose()})};_.P($ae,_.ui);var kae=function(a,b){a.W=b;a.O&&b.GBb(a.O)};$ae.prototype.l4=function(a){var b=this;this.W.Sbc.then(function(){abe(b,a,!0)})};
var abe=function(a,b,c){b.Lh(_.wg).sort();var d=a.W.isTeamDrive,e=b.Lh().filter(function(f){return d(f)});e.length>0&&(e=_.tyd(_.syd((new _.zN).No(e),b.O()),b.Zk()),bbe(a,e));_.Rh(b,a.r0.ee())?c&&a.V&&a.ua(a.V):a.r0.l4(b)};$ae.prototype.H=function(a){var b;if(!this.ma.has(a)&&((b=this.r0.ee())==null?0:b.Lh().includes(a))){this.ma.add(a);this.r0.H(a);var c,d;b=(c=this.O)==null?void 0:(d=c.ee())==null?void 0:d.Lh();this.O&&(b==null?0:b.includes(a))&&this.O.H(a)}};
var Zae=function(a){a.V&&a.ua(a.V);var b=a.r0.ee();b&&abe(a,b,!1)},bbe=function(a,b){var c=!1;if(!a.O){c=!0;a.O=new Wae(function(){Zae(a)});var d=a.W.GBb;d(a.O)}_.Rh(b,a.O.ee())||a.O.l4(b);if(c)for(b=_.n(a.ma),c=b.next();!c.done;c=b.next())a.O.H(c.value)};var cbe=function(a,b){_.ui.call(this);var c=this;this.ma=b;this.O=new Map;this.H=new Map;this.W=null;this.V=new $ae(function(d){if(!c.isDisposed()){c.O.clear();d=_.n(Object.entries(d.Dn()));for(var e=d.next();!e.done;e=d.next()){var f=_.n(e.value);e=f.next().value;var g=f.next().value;f=c.O;var k=f.set,l;if(g){var m=l=void 0,q=(new _.Cq).Bb(g.getId()),r=_.Nj(g,75);q=_.Tg(q,2,r).setTitle(g.getTitle());r=(m=g.G4())!=null?m:0;m=_.Tg(q,4,r);q=_.wh(g,76);m=_.J(m,6,q);q=_.Uq(g);m=_.J(m,7,q).In(g.Yl());
q=_.E(g,140);m=_.L(m,9,q);q=g.getMimeType();m=_.L(m,10,q);q=g.qk();m=_.L(m,11,q).xw(_.Vq(g));q=_.re(g,_.wg);if((q==null?void 0:q.length)>0){r=new _.QHa;for(var t=0;t<q.length;t++){var u=O2d(q[t]);N2d(r,u)}q=_.nb(r);_.Q(m,_.QHa,5,q)}_.Hk(g,72)&&m.xw(_.Vq(g));_.nIa(g)&&_.Ek(g.O(),3)&&(q=m,g=(l=g.O())==null?void 0:_.wh(l,3),_.J(q,13,g));l=(new _.Dq).Xg(m)}else l=null;k.call(f,e,l)}c.ma()}});this.Sa(this.V);lae(a,this.V);this.fields=[].concat(_.Eb(_.l0a.values())).map(function(d){return _.m0a.get(d)}).filter(function(d){return!!d}).sort()};
_.P(cbe,_.ui);
var dbe=function(a,b){return Promise.resolve(a).then(function(c){return new cbe(c,b)})},ebe=function(a,b){var c=b.tlb;b=b.parentId;for(var d=0,e=!1,f=!1,g=_.n(a.H.entries()),k=g.next();!k.done;k=g.next()){var l=_.n(k.value);k=l.next().value;l=l.next().value;k===b?(e=!0,f=l.has(c)):(l.delete(c),l.size===0&&(a.H.delete(k),a.O.delete(k),d++))}return f||b===null?d>0:(e||a.H.set(b,new Set),a.H.get(b).add(c),!0)},gbe=function(a,b){var c;ebe(a,{tlb:b.getId(),parentId:(c=b.yl()[0])!=null?c:null})&&fbe(a)},
fbe=function(a){a.W||(a.W=Promise.resolve().then(function(){var b=_.mr((new _.lr).No([].concat(_.Eb(a.H.keys()))),a.fields);a.V.l4(b);a.W=null}))},hbe=function(a,b){b=_.n(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.yl()[0];d?a.O.has(d)&&(d=a.O.get(d),d===null?_.nj(c,156):_.VHd(c,d)):_.nj(c,156)}};var JR=function(a,b,c,d){c=c===void 0?!1:c;d=d===void 0?!1:d;_.ui.call(this);var e=this;this.context=a;this.Kjb=c;this.aac=d;this.mE=new Map;this.uF=new Set;this.Pkb=6;this.UGa=!0;this.oe=0;this.i2=null;this.dxb=!1;this.logger=a.Kf(b);this.handler=new _.Lg(this);this.Cf=a.Cf;this.Sa(this.handler);this.addOnDisposeCallback(function(){e.IF(6);e.Vj(0);e.TIa();for(var f=_.n(e.mE.values()),g=f.next();!g.done;g=f.next()){var k;(k=g.value)!=null&&k.count--}e.mE.clear()})};_.P(JR,_.ui);_.h=JR.prototype;
_.h.ho=function(a){this.Ckb(a);this.uF.add(a);this.resize(!0);this.Z2(a)};_.h.Ckb=function(){};_.h.xr=function(a){this.uF.delete(a);this.uF.size!==0||this.d2a()?this.resize(!1):this.dispose()};_.h.mf=function(){return this.oe};_.h.Vj=function(a){this.oe=a};_.h.IF=function(a){a===6&&this.UGa||(this.UGa=!1,this.Pkb=a)};_.h.iA=function(){return this.Pkb};
var kbe=function(a,b,c){var d;if(Array.isArray(c)){for(d=0;d<c.length;d++)c[d]=c[d].clone();d=c}else{d=[];for(var e=_.n(Object.entries(c)),f=e.next();!f.done;f=e.next()){var g=_.n(f.value);f=g.next().value;if(g=g.next().value)g=g.clone(),c[f]=g,d.push(g)}}c=b.filter(function(k){return _.l0a.has(k)});ibe(a.context.Tg(),d,b);c.length&&(a.i2?hbe(a.i2,d):jbe(a));d.forEach(function(k){ESd(a.context.Iya,k,new Set(b));if(_.Vq(k)){var l=k.getCapabilities();if(fR(k)){if(l){var m=_.Jh(l,13);l=_.J(l,12,m);_.KGd(_.IGd(l,
!1),!1)}}else BQ(k)?l&&(l=_.J(l,3,!1),_.J(l,64,!1)):l&&_.LGd(_.J(l,42,!1),!1)}fSd(k);a.aac&&AQ(k,BQd,a.Cf)})};JR.prototype.getSize=function(){return this.mE.size};var jbe=function(a){a.dxb||(a.dxb=!0,dbe(a.context.hL.promise,function(){a.lia()}).then(function(b){if(a.isDisposed())b.dispose();else{a.i2=b;a.Sa(a.i2);b=_.n(a.mE.values());for(var c=b.next();!c.done;c=b.next())(c=c.value)&&gbe(a.i2,c.getItem())}}))};
JR.prototype.Dq=function(a,b,c){var d=this;if(!this.isDisposed()&&this.g1a(a,c)){var e=!1;a.forEach(function(f){f=M8d(f);e=d.Sz(f,!0)||e});b||(this.iA()!==1&&(e=!0),this.IF(1));c&&(c===1&&this.mf()!==0&&(c=6),this.Vj(c));this.Wub();e&&this.lia()}};JR.prototype.g1a=function(){return!0};JR.prototype.Wub=function(){};var lbe=function(a,b){var c=!1;b.forEach(function(d){c=a.Sz(d)||c});c&&a.lia();return c};
JR.prototype.Sz=function(a,b){b=b===void 0?!1:b;if(this.isDisposed())return!1;var c=a.O&&this.sF(a.O,b),d=a.H&&this.sF(a.H,b),e=this.mE.get(a.id);if(e){b||(c?a.O&&a.O!==e&&_.TFd(this.context.Oo,179174018):mbe(this,"Updating existing item but old wrapper did not match"));var f=e;c=!0}else f=null,c=!1;if(!c&&!d)return!1;if(c)if(d){var g=a.H;if(g===e)return!1;if(b=this.nNa(f,g)){f.count--;this.mE.set(g.getId(),g);g.count++;var k;(k=this.i2)==null||gbe(k,g.getItem())}}else{if(k=f,b=this.lI(k))this.Kjb?
nbe(this,k.getId()):(k.count--,this.mE.delete(k.getId())),(f=this.i2)!=null&&(k=k.getItem(),ebe(f,{tlb:k.getId(),parentId:null})&&fbe(f))}else if(f=a.H,b=this.J1(f,b))this.mE.set(f.getId(),f),f.count++,(g=this.i2)==null||gbe(g,f.getItem());return b};var obe=function(a,b){var c=a.mE.get(b);c&&(a.mE.delete(b),c.count--)},nbe=function(a,b){if(a.Kjb){var c=a.mE.get(b);c&&c.count--;a.mE.set(b,null)}};_.h=JR.prototype;_.h.lia=function(){var a=this;this.Bkb();this.uF.forEach(function(b){a.Z2(b)})};
_.h.Bkb=function(){};_.h.Z2=function(a){var b=C7d(pbe(this.context),a);this.Vub(b)||(b=this.tj(b),pbe(this.context).Z2(a,b))};_.h.Vub=function(){return!1};_.h.CN=function(a){var b=this;this.IF(3);this.uF.forEach(function(c){pbe(b.context).CN(c,a)})};_.h.d2a=function(){return _.N(this.context.Ld,97,!1)?!0:!1};var mbe=function(a,b){var c=_.Jr(_.$N((new _.Gr).Eb(2),16));a.context.dispatchEvent(new _.xf(new _.wf(b,c)))};var qbe=function(a){_.sm.call(this,"La");this.id=a};_.P(qbe,_.sm);var sbe=function(a,b,c,d,e){_.Ig.call(this);var f=this;this.request=a;this.W=b;this.Zg=c;this.ua=d;this.H=[];this.O=[];this.items={};this.ma=e||a;this.he=new _.By;this.V=new Set;this.Ba=_.tQ(function(){var g=f.H;f.H=[];var k=f.O;f.O=[];var l=[];g=_.n(g);for(var m=g.next();!m.done;m=g.next()){m=m.value;var q=rbe(f.ua,m)?null:m;q&&l.push(m);f.items[m.getId()]=q}if(_.NN(_.hO(f.W)))for(g=f.Zg.xn,m=_.n(l),q=m.next();!q.done;q=m.next()){q=q.value;var r=g.nn(_.ve(q));r&&_.JP(q,r.yl())}f.Zg.Dq(l,1,f.ma,!0,
void 0,1);l=[];k=_.n(k);for(g=k.next();!g.done;g=k.next())g=g.value,l.push(_.sQ(_.rQ(new _.qQ,g))),f.items[g]=null,f.dispatchEvent(new qbe(g));f.Zg.us(l);f.V.size>=f.request.Lh().length?(f.Zg.Dq([],1,f.ma,!1,void 0,1),f.dispatchEvent("Na"),f.he.resolve(f.items)):f.dispatchEvent("Ka")},10)};_.P(sbe,_.Ig);sbe.prototype.handleError=function(a){var b=new wR(a.yg,_.Sj(_.cr(this.W),1,1));this.Zg.hF(this.request,b);this.dispatchEvent(b);this.he.reject(a)};
sbe.prototype.Gtb=function(a){this.H.push.apply(this.H,_.Eb(a))};sbe.prototype.h0a=function(a){this.O.push(a)};sbe.prototype.Gua=function(a){a=_.n(a);for(var b=a.next();!b.done;b=a.next())this.V.add(b.value);this.Ba()};var ube=function(a,b,c,d,e,f,g,k,l){l=l===void 0?!1:l;_.Ig.call(this);this.request=a;this.logger=c.Kf("sync.query.ViewCacheFindByIdsRunner");this.H=new sbe(a,b,d,g,k);tbe(this);this.O=new _.oFd(a,b,f,this.H,c,e,l)};_.P(ube,_.Ig);ube.prototype.Cj=function(){this.O.Cj();return this.H.he.promise};
var tbe=function(a){_.vm(a.H,"Ka",function(b){a.dispatchEvent(b);a.logger.info("ViewCacheFindByIdsRunner change "+a.request.Lh())});_.vm(a.H,"Na",function(b){a.dispatchEvent(b);a.logger.info("ViewCacheFindByIdsRunner complete "+a.request.Lh())});_.vm(a.H,"La",function(b){a.dispatchEvent(b);a.logger.info("ViewCacheFindByIdsRunner not found "+a.request.Lh())});_.vm(a.H,"Oa",function(b){a.dispatchEvent(b);a.logger.info("ViewCacheFindByIdsRunner error "+a.request.Lh());a.logger.info(b.error)})};var vbe=function(a,b){JR.call(this,a,"drive.ds.sync.cache.IdViewCache",!0,!0);this.request=b;this.H=null;this.O=0};_.P(vbe,JR);
vbe.prototype.refresh=function(){var a=this;if(this.H)return this.H;this.IF(6);if(_.N(this.request,5,!1))return this.O=this.request.Lh().length,this.IF(1),Promise.resolve();var b=this.UGa?!dRd(_.xP(this.Cf),this.request.O()):!1,c=[],d=this.context.yz();this.request.Lh().forEach(function(g){if(g!=="root"&&g!==d){var k=a.mE.get(g),l=(k==null?void 0:k.getItem())||null;if(k=!k||l&&_.Wf(l)!==1||b)l=l&&l.W(),k=!(l&&_.wh(l,2));k&&c.push(g)}});this.O=this.request.Lh().length-c.length;if(c.length===0)return this.Dq([],
!1),Promise.resolve();var e=this.request.clone();e.No(c);e=new ube(e,this.context.Ld,this.context.Td,this.context.Tg(),this.context.Oo,this.context.Rp(),this.context.Qka,this.request);if(this.context.Xo().Hg()){var f=this.getSize()>0;this.IF(f?1:2)}return this.H=wbe(this,e).finally(function(){a.H=null})};var wbe=function(a,b){var c=function(d){nbe(a,d.id)};a.handler.listen(b,"La",c);return b.Cj().then(function(){}).finally(function(){a.handler.Nd(b,"La",c)})};_.h=vbe.prototype;
_.h.CBa=function(a){return this.context.Iq.equals(a,this.request,!0)&&(dRd(_.xP(this.Cf),a.O())||dRd(this.request.O(),a.O(),_.xP(this.Cf))&&this.UGa)?!0:!1};
_.h.tj=function(a){var b=new HQ;_.zP(this.context.Ld)?b.Tb(EQd([].concat(_.Eb(this.mE.values())))?6:this.iA()):b.Tb(this.iA());b.H=this.O;b.Vj(this.mf());for(var c={},d=_.n(this.mE.entries()),e=d.next();!e.done;e=d.next()){var f=_.n(e.value);e=f.next().value;f=f.next().value;var g=void 0;c[e]=((g=f)==null?void 0:g.getItem())||null}b.map=c;kbe(this,a.O(_.wg),b.Dn());return b};_.h.resize=function(){};_.h.ee=function(){return this.request};_.h.sF=function(a){return _.ta(this.request.Lh(),a.getId())};
_.h.J1=function(){return!0};_.h.lI=function(){return!0};_.h.nNa=function(){return!0};_.h.TIa=function(){};var xbe=function(a,b){_.sm.call(this,a);this.changes=b};_.P(xbe,_.sm);var KR=function(a,b,c,d,e,f,g,k,l,m){l=l===void 0?"":l;m=m===void 0?[]:m;_.Ig.call(this);this.Td=a;this.hb=b;this.Ia=c;this.ua=d;this.qb=e;this.request=f;this.nextPageToken=l;this.Ba=0;this.W=!1;this.O=[];this.Da=new Set;this.Ga=0;this.V=null;this.ma=new S8d;this.oe=1;this.Pa=g||!1;this.background=k||!1;this.Ab=this.Ka(f);l&&ybe(this,m,l);this.yia=_.Ng()};_.P(KR,_.Ig);
var ybe=function(a,b,c){if(!a.W&&c){a.W=!0;a.nextPageToken=c;b=_.n(b);for(c=b.next();!c.done;c=b.next())c=c.value,a.O.push(c),a.Da.add(c);a.Ga=a.O.length-a.Da.size;_.Ga(a.O)}},Abe=function(a,b,c,d,e){a.W||(a.W=!0,a.nextPageToken=d,a.oe=e,a.ma=c,a.ma.wc()||a.dispatchEvent("Ma"),zbe(a,d,b.map(function(f){return f.clone()})))},Bbe=function(a){return!a.W||a.nextPageToken!==""},Ebe=function(a,b){a.Ba=b;return a.O.length<a.Ba&&!Cbe(a)&&Bbe(a)?Dbe(a):_.ai()};
KR.prototype.cancel=function(){this.V&&(this.log("Canceling query runner request "+this.V+". Results will not be processed."),this.V=null)};KR.prototype.yc=function(){return this.O.length};KR.prototype.H=function(){return this.O.slice()};
var Dbe=function(a){var b=a.Ba-a.O.length+a.Ga;a.log("Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.Je;d.addCallback(function(e){zbe(a,c,e)});b=_.JCd(new _.ICd,b);Fbe(a,d,c,b);return d},Fbe=function(a,b,c,d){var e=a.Ab.clone();if(a.background){var f=_.yN(e.Zk()||new _.Se,2);_.Qh(e,f)}var g=_.KCd(_.LCd(_.MCd(new _.sO,e),c),d);a.W=!0;var k=_.Ng();a.V=k;a.hb.then(function(l){var m=new _.By;l.Nh(g,{requestId:k,yia:a.yia}).then(function(q){m.resolve(q)},function(q){m.reject(q)});
return m.promise}).then(function(l){if(Cbe(a)){a.V=null;var m=l.getResponse();a.nextPageToken=l.Ws()||"";a.ma=Y8d(m);a.ma.wc()||a.dispatchEvent("Ma");b.callback(m.Gd(_.wg))}else b.callback([])},function(l){a.handleError(b,d,l)})};
KR.prototype.handleError=function(a,b,c){if(Cbe(this))if(c=_.TN(c),this.V=null,_.Ae(c.yg,2)===5)a.callback([]);else{if(_.Ae(c.yg,2)===10){var d=_.Sj(b,1,1E3)/2;d=Math.ceil(d-2E-15);if(d>1){Fbe(this,a,this.nextPageToken,_.JCd(b.clone(),d));return}}b=new wR(c.yg,_.Sj(_.cr(this.Ia),1,1));this.Ta(b);this.dispatchEvent(b);a.Ne(c)}};
var Gbe=function(a,b,c){b="Encountered duplicate item in server query response. itemId: "+(_.ve(b)+", query: ")+(_.qJd(a.request)+" paginationToken: ")+c;c=_.Jr(_.Hr(_.$N((new _.Gr).Eb(2),9),b));a.qb(new _.xf(new _.wf(b,c)))},zbe=function(a,b,c){if(!a.isDisposed()){for(var d=new Set,e=_.n(c),f=e.next();!f.done;f=e.next()){f=f.value;if(d.has(_.ve(f))){Gbe(a,f,b);break}d.add(_.ve(f))}b=c.filter(function(g){var k=a.Da.has(_.ve(g));a.Da.add(_.ve(g));return!k});a.Ga+=c.length-b.length;c=_.n(b);for(d=c.next();!d.done;d=
c.next())d=d.value,_.Jk(d,82)||_.dO(d,a.Pa?2:1);c=[];b=_.n(a.Xa(b));for(d=b.next();!d.done;d=b.next())d=d.value,a.O.push(_.ve(d)),d=_.rQ(new _.qQ,d.Pb()).setItem(d),c.push(d);c.length&&a.dispatchEvent(new xbe("Ka",c));a.O.length<a.Ba&&a.nextPageToken?Dbe(a):a.dispatchEvent("Na")}};KR.prototype.Xa=function(a){return a};KR.prototype.Ta=function(){};var Cbe=function(a){return!a.isDisposed()&&a.V!==null};KR.prototype.ee=function(){return this.request};
KR.prototype.Ka=function(a){a=a.clone();this.Pa&&_.ri(_.br(this.Ia),60,0)===0&&_.J(a,46,!0);return a};KR.prototype.log=function(a){this.Td.Kf("sync.query.QueryRunner").info(a)};var Hbe=function(a,b,c,d,e){KR.call(this,a.Td,a.Rp(),a.Ld,a.Tg().xn,a.dispatchEvent,b,void 0,c,d,e);this.context=a};_.P(Hbe,KR);Hbe.prototype.Xa=function(a){a=Ibe(this.context.Qka,a);var b=this.context.Tg(),c=b.Dq,d=this.request,e=Bbe(this),f=this.oe;this.oe=void 0;c.call(b,a,1,d,e,void 0,f);return a};Hbe.prototype.Ta=function(a){this.context.Tg().hF(this.request,a)};
Hbe.prototype.Ka=function(a){a=KR.prototype.Ka.call(this,a);var b,c,d,e=(d=(b=this.Ia)==null?void 0:(c=_.br(b))==null?void 0:_.N(c,47,!1))!=null?d:!1;b=a;var f=[].concat(_.Eb(_.AP(b)),_.Eb(_.AGd(b)));if(_.BP(b).length===0&&f.length>0){c=new Set;d=!0;f=_.n(f);for(var g=f.next();!g.done;g=f.next()){g=this.ua.nn(g.value.ob());if(!g){d=!1;break}c.add(_.Vq(g)||null);if(c.size>1){d=!1;break}}d&&c.size===1&&(c=_.n(c.values()).next().value,c==null||_.Xi(c)||(d=this.ua.nn(c),d!=null&&_.wh(d.getCapabilities(),
44)&&_.Ze(_.of(b,[c]),2)))}if(e&&(e=a,c=[].concat(_.Eb(_.AP(e)),_.Eb(_.AGd(e))),_.BP(e).length===0&&c.length>0)){b=!0;c=_.n(c);for(d=c.next();!d.done;d=c.next()){d=this.ua.nn(d.value.ob());if(!d){b=!1;break}if(_.Vq(d)){b=!1;break}}b&&_.J(e,66,!1)}Jbe(this,a);return a};var Jbe=function(a,b){if(_.AP(b).some(function(d){return(d=a.ua.nn(_.E(d,1)))&&_.wh(d,108)})){var c=b.Zk();c||(c=new _.Se,_.Qh(b,c));_.Ve(c,937)}};var Kbe=function(a,b,c,d){this.context=a;this.Cf=b;this.V=c;this.O=d;this.rJa=0},Obe=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Ze(_.bf(_.of(new _.cf,[b]),_.xP(a.Cf)),1),d=_.Ve(new _.Se,306);_.Qh(c,d);Lbe(a);c=new Hbe(a.context,c);Ebe(c,5E3).addCallback(a.H.bind(a,c));Mbe(a);Nbe(a,b)}},Mbe=function(a){var b=_.yc(a.V).filter(function(d){return d instanceof vbe}),c=new Set;b.forEach(function(d){d.ee().Lh().forEach(function(e){a.O.get(e)||c.add(e)})});b=_.Ve(new _.Se,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.tL([].concat(_.Eb(c)),b)},Nbe=function(a,b){var c=[];Pbe(a.context.Tg().Qba,b).forEach(function(d){_.uc(a.V,function(e){_.Rh(e.ee(),d)&&c.push(e)})});_.Ga(c);c.length>0&&(Lbe(a),c.forEach(function(d){d=a.context.Iq.H(d.ee(),3);a.log("Refreshing "+b+" cache: "+d)}),_.im(c.map(function(d){return d.refresh().then(null,function(){})})).then(function(){Qbe(a)},function(){Qbe(a)}))};
Kbe.prototype.tL=function(a,b,c,d,e,f){var g=this;c=c===void 0?!1:c;f=f===void 0?!1:f;a=a.filter(function(l){if(_.Xi(l))return!1;if(f){var m;l=(m=g.O.get(l))==null?void 0:m.getItem();return!l||_.Wf(l)!==1}return!0});if(a.length===0)return _.gm({});a=_.J(_.mr((new _.lr).No(a),d||_.xP(this.Cf)),7,!0);_.nr(a,b);e&&e.length&&_.Mj(a,11,e);Lbe(this);var k=Rbe(this,a,c);b=k.Cj();b.then(function(){g.H(k)},function(){g.H(k)});return b};
var Rbe=function(a,b,c){return new ube(b,a.context.Ld,a.context.Td,a.context.Tg(),a.context.Oo,a.context.Rp(),a.context.Qka,void 0,c)};Kbe.prototype.H=function(a){a.dispose();Qbe(this)};var Lbe=function(a){a.rJa++;a.context.nx.setActive(!1)},Qbe=function(a){a.rJa--;a.rJa===0&&a.context.nx.setActive(!0)};Kbe.prototype.log=function(a){this.context.Td.Kf("sync.cache.CacheRefresher").info(a)};var LR=function(a,b){N8d.call(this,a,b);this.Ff=new Map};_.P(LR,N8d);LR.prototype.J1=function(a){this.Ff.set(a.getId(),a);a.count++};LR.prototype.lI=function(a){this.Ff.delete(a.getId());a.count--};LR.prototype.LS=function(){for(var a=_.n(this.Ff.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Ff=new Map};LR.prototype.eD=function(){return Array.from(this.Ff.values())};
var Sbe=function(a){var b=[],c=[];a=_.n(a.Ff);for(var d=a.next();!d.done;d=a.next()){d=_.n(d.value);d.next();d=d.next().value;var e=d.H;e===1?b.push(d.getId()):e===2&&c.push(d.getId())}return{upb:b,rpb:c}};var MR=function(a,b,c,d,e){e=e===void 0?5E3:e;LR.call(this,b,c);this.H=a;this.teamDriveId=d;this.limit=e};_.P(MR,LR);_.h=MR.prototype;
_.h.nM=function(a){var b=this,c=LR.prototype.nM.call(this,a);if(c===5)return c;c=_.AP(a);var d=c.every(function(f){var g=_.E(f,1),k=b.Ff.get(g);g=k!=null||b.teamDriveId===g;var l,m=((l=_.br(b.H))==null?0:_.EP(l))?k&&(k.H===1||b.Ir()===0):!0;return g&&!_.N(f,2,!1)&&m});if(c.length>0&&d)return 1;var e;if((e=_.br(this.H))==null?0:_.EP(e))return _.BP(a)[0]===this.teamDriveId&&this.Ir()===0?1:5;a=_.BP(a);return a.length!==0&&a.includes(this.teamDriveId)?1:5};
_.h.sF=function(a){var b;return LR.prototype.sF.call(this,a)&&!!a&&a.getItem().Fj()===this.teamDriveId&&(((b=_.br(this.H))==null?void 0:_.EP(b))||!fR(a.getItem()))};_.h.U1=function(){var a;return((a=_.br(this.H))==null?0:_.EP(a))?this.Ir()===1:!1};_.h.ee=function(){return _.Ze(_.of(new _.cf,[this.teamDriveId]),2)};_.h.GM=function(){return null};_.h.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var Tbe=function(a,b,c){_.ui.call(this);this.context=a;this.H=b;this.O=this.he=null;a=_.Ve(_.Ue(new _.Se,!1),305);this.request=_.Qh(c.clone(),a);this.handler=new _.Lg(this);this.Sa(this.handler)};_.P(Tbe,_.ui);
Tbe.prototype.Cj=function(){if(!this.he){this.he=_.jm();if(_.DP(this.request))return this.H.Vj(9),this.he.resolve(this.H),this.he.promise;this.O=new KR(this.context.Td,this.context.Rp(),this.context.Ld,this.context.Tg().xn,this.context.dispatchEvent,this.request,!0);this.handler.listen(this.O,"Ka",this.W.bind(this));this.handler.listen(this.O,"Na",this.V.bind(this));this.handler.listen(this.O,"Oa",this.he.reject.bind(this.he));Ebe(this.O,this.request.Qj())}return this.he.promise};
Tbe.prototype.W=function(a){a=_.n(a.changes);for(var b=a.next();!b.done;b=a.next())b=b.value.getItem(),this.H.update(M8d(new AR(b)))};Tbe.prototype.V=function(){if(this.H instanceof BR)this.H.Nl=!Bbe(this.O);else{var a,b;((a=this.context.Ld)==null?0:(b=_.br(a))==null?0:_.EP(b))&&this.H instanceof MR?this.H.DJ(Bbe(this.O)?1:0):Bbe(this.O)&&O8d(this.H,!1)}this.H.Vj(5);this.he.resolve(this.H)};var Ube=function(a,b){LR.call(this,a,b);this.N9()};_.P(Ube,LR);_.h=Ube.prototype;_.h.nM=function(a){var b=this,c=LR.prototype.nM.call(this,a);if(c===5)return c;if(_.BP(a).length>0)return 5;a=_.AP(a);return a.length>0?a.every(function(d){return(d=b.Ff.get(_.E(d,1)))&&!_.Vq(d.getItem())&&d.H===1})?1:5:5};_.h.sF=function(a){return LR.prototype.sF.call(this,a)&&!(a==null?0:_.Vq(a.getItem()))};
_.h.DFa=function(a,b){for(var c=[],d=_.n(this.eD()),e=d.next();!e.done;e=d.next())e=e.value,P8d(this.vB,a,e.getItem())&&c.push(e);this.CD.sort(a,c,b);return c};_.h.ee=function(){return new _.cf};_.h.GM=function(){return null};_.h.getType=function(){return"MyDriveCorpusCache"};_.h.U1=function(){return!1};var Vbe=function(a,b,c,d){LR.call(this,a,b);var e=this;this.H=d;c.addRule(["aU7Ts","BNEDtc"],function(){return e.N9()})};_.P(Vbe,LR);Vbe.prototype.nM=function(a){var b=this,c=LR.prototype.nM.call(this,a);if(c==5)return c;if(_.BP(a).length>0||d4d(a))return 5;a=_.AP(a);return a.length>0&&!a.every(function(d){d=b.Ff.get(_.E(d,1));return d!=null&&!_.Vq(d.getItem())&&AQd(d.getItem())&&!_.wh(d.getItem(),108)})?5:1};Vbe.prototype.sF=function(a){return LR.prototype.sF.call(this,a)&&Wbe(this,a.getItem())};
var Wbe=function(a,b){if(_.wh(b,31)||!a.tna)return!0;var c=a.H();return b.yl().some(function(d){var e=a.Ff.get(d);return d==c||e!=null&&AQd(e.getItem())})};_.h=Vbe.prototype;_.h.N9=function(){LR.prototype.N9.call(this);for(var a=_.n(this.Ff),b=a.next();!b.done;b=a.next()){var c=_.n(b.value);b=c.next().value;c=c.next().value;Wbe(this,c.getItem())||(c.count--,this.Ff.delete(b))}};_.h.ee=function(){return new _.cf};_.h.GM=function(){return null};_.h.getType=function(){return"SubscribedCorpusCache"};
_.h.U1=function(){return!1};var Xbe=function(a,b){this.W=a;this.Td=b;this.ma=[];this.O=this.H=null;this.V=[];a=new _.cf;_.J(a,48,!0);b=new _.ef;b.Eb(11);_.df(b,2);_.af(a,b);this.ua=bR(this.W,a,!0)};Xbe.prototype.add=function(a){a instanceof Vbe?this.H=a:a instanceof Ube?this.O=a:a instanceof BR?(this.Td.Kf("sync.cache.CorpusCacheList").info("Adding new cache hint for "+this.W.H(a.ee(),2)),this.ma.push(a)):a instanceof MR&&this.V.push(a)};
Xbe.prototype.remove=function(a){var b=this;if(a instanceof Vbe)this.H&&(O8d(this.H,!1),this.H=null);else if(a instanceof Ube)this.O&&(O8d(this.O,!1),this.O=null);else if(a instanceof BR){var c=_.qa(this.ma,function(d){return b.W.equals(d.ee(),a.ee())});c>=0&&(O8d(this.ma[c],!1),_.wa(this.ma,c))}else a instanceof MR&&(c=_.qa(this.V,function(d){return b.W.equals(d.ee(),a.ee())}),c>=0&&(O8d(this.V[c],!1),_.wa(this.V,c)))};
var Ybe=function(a){var b=[];a.H&&b.push(a.H);a.O&&b.push(a.O);_.Ca(b,_.Aa(a.ma));_.Ca(b,_.Aa(a.V));return b},O$d=function(a,b){b=b===void 0?!1:b;return a.ma.filter(function(c){return a.H&&b?(c=c.ee().clone(),_.nj(c,32),_.nj(c,26),!_.Rh(a.ua,c)):!0})};Xbe.prototype.i8=function(){return _.Aa(this.V)};var Zbe=function(a,b){return _.aj(a.V,function(c){return c.teamDriveId===b})},$be=function(a,b){b=bR(a.W,b,!0);return O$d(a).find(function(c){return a.W.equals(c.ee(),b)})};var bce=function(a,b){_.sm.call(this,ace);this.cache=a;this.changes=b};_.P(bce,_.sm);var ace="Va";var cce=function(a,b,c){return b.then(function(d){for(var e=new Map,f=_.n(a.eD()),g=f.next();!g.done;g=f.next()){g=g.value;var k=g.getId();NSd(g.getItem());e.set(k,M2d(c,new AR(g.getItem()),g.H,"sync.cache.CorpusCachePopulator"))}f=_.n(d.items);for(g=f.next();!g.done;g=f.next())if(k=g.value,g=k.kd(),g=e.get(g)||null,_.pPd(k))g&&a.update(new K8d(g.getId(),g,null));else{k=k.getItem();NSd(k);var l=void 0;a.update(L8d(g,M2d(c,new AR(k),((l=g)==null?void 0:l.H)||0,"sync.cache.CorpusCachePopulator")))}a.N9();
return d.YDc})};var dce=function(a,b){_.Ig.call(this);this.context=a;this.logger=b;this.failureReason=0;this.O=new Vbe(a.vB,a.CD,a.Po,function(){return a.yz()});this.H=this.context.Ld;this.ua=new Ube(a.vB,a.CD)};_.P(dce,_.Ig);
var ece=function(a,b){var c=_.Sj(a.H,31,2E4);b=typeof _.Rj(b,3)==="number"?_.Rj(b,3):c+1;b>c?(O8d(a.O,!1),c="partialCorpus",a.logger.info("Too many subscribed items at "+b+"; skipping subscribed cache.")):(c="fullCorpus",a.logger.info("Caching all subscribed items."));a.context.VJ.Lb("CachedCorpusType",c)},fce=function(a,b){a.failureReason===0&&(a.failureReason=b)};var gce=function(){return!0},hce=function(a,b){var c=!1;a=_.Kj(a,_.qq,7,_.Ff());if(a.length===0)return!0;b=b.getTitle()||"";b=b.toLowerCase();for(var d=0;d<a.length;d++){var e=a[d],f=_.N(e,3,!1);if(e.ob()&&e.ob().length>0){var g=e.ob().toLowerCase();if(_.Ae(e,1)===1){if((e=b.indexOf(g)>=0)&&!f||!e&&f)return!0}else if(_.Ae(e,1)===2&&((e=b===g)&&!f||!e&&f))return!0}else c=!f}return c};var ice=function(a,b){_.Ig.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1;this.oe=1};_.P(ice,_.Ig);ice.prototype.Cj=function(){return this.H||this.O&&this.nextPageToken===""?_.ai():jce(this)};ice.prototype.yc=function(){return this.V.length};
var jce=function(a){a.O=!0;a.H=!0;var b=n0d(o0d(new _.pP,a.request),a.nextPageToken),c=_.AJd(a.context.VJ,b);return _.om(a.context.Rp().then(function(d){return d.Nh(b)}).then(function(d){var e=d.getResponse().Gd(_.wg);a.nextPageToken=d.Ws()||"";kce(a,c,e)},function(d){return void a.handleError(d)}))},kce=function(a,b,c){_.BJd(b,c);for(b=0;b<c.length;b++)_.dO(c[b],1);a.context.Tg().Dq(c,1,a.request,!a.O||a.nextPageToken!=="",void 0,lce(a));var d=[];_.Na(c,function(e){this.V.push(_.ve(e));e=_.rQ(new _.qQ,
e.Pb()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new xbe("Ka",d));a.nextPageToken?jce(a):(a.H=!1,a.dispatchEvent("Na"))};ice.prototype.handleError=function(a){this.H=!1;a=new wR(_.aO(a,45),_.Sj(_.cr(this.context.Ld),1,1));this.dispatchEvent(a)};ice.prototype.ee=function(){return this.request};var lce=function(a){var b=a.oe;a.oe=void 0;return b};var mce=function(a){this.H=_.pSa(a,{numeric:!0})};mce.prototype.sort=function(a){_.Ka(a,this.compare.bind(this))};mce.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return c===0?_.Ha(_.ve(a),_.ve(b)):c};var nce=function(a,b,c){c=c===void 0?!1:c;JR.call(this,a,"sync.cache.TeamDriveViewCache");this.Ff=[];this.he=null;this.request=b.clone();this.Iz=new ice(a,this.request);this.vKc=new mce(_.yP(_.hO(a.Ld)));this.gwb=!1;c&&(this.he=_.jm(),this.he.resolve())};_.P(nce,JR);_.h=nce.prototype;_.h.refresh=function(){this.iA()===3&&(this.IF(6),this.he=null);return this.kva()};_.h.isInitialized=function(){return!!this.he};
_.h.kva=function(){var a=this;if(this.isInitialized())return this.he.promise;this.he=_.jm();this.context.Xo().Hg()?this.handler.le(this.context.Xo(),[_.DA.CONNECTED,_.DA.o_],function(){a.Iz.Cj().Yj(a.he.resolve,a.he.reject,a.he)}):this.Iz.Cj().Yj(this.he.resolve,this.he.reject,this.he);return this.he.promise};_.h.resize=function(){};_.h.ee=function(){return this.request};_.h.eD=function(){return this.Ff};_.h.CBa=function(a){return this.context.Iq.equals(a,this.request)};
_.h.tj=function(a){a=a.Qj();this.vKc.sort(this.Ff);var b=wSd(_.Laa(this.Ff,0,Math.min(a,this.Ff.length)));kbe(this,this.Cf.ODa(),b);return K_d(_.wO(new _.Cr,b).Tb(this.jVa(a)).Vj(this.mf()),a<this.Ff.length||!this.context.Xo().Hg()&&this.iA()!==1)};_.h.jVa=function(a){return this.iA()===1||a<=this.Ff.length?1:this.context.Xo().Hg()?this.Ff.length>0?1:2:6};_.h.g1a=function(){return this.isInitialized()};_.h.update=function(a){return lbe(this,[a])};
_.h.sF=function(a){var b;if(b=fR(a.getItem())){b=this.request;a=a.getItem();var c;if(c=!!a&&!!a.O())c=_.wh(b,4),c=c==null||!!_.wh(a.O(),7)==c;b=c&&hce(b,a)}return b};_.h.J1=function(a){if(!this.isInitialized())return!1;this.Ff.push(a);return!0};_.h.lI=function(a){if(!this.isInitialized())return!1;_.xa(this.Ff,a);return!0};_.h.KXa=function(a){return _.sa(this.Ff,a)};_.h.nNa=function(a,b){if(!this.isInitialized())return!1;this.Ff[this.KXa(a)]=b;return!0};_.h.d2a=function(){return!0};_.h.getType=function(){return"TeamDriveViewCache"};
_.h.N9=function(){this.IF(1)};_.h.TIa=function(){};var oce=function(){this.tc=[];this.O=this.H=0};oce.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.tc,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 pce=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.tc,g=0;g<c;++g){d=d+1&255;e=e+f[d]&255;var k=f[d];f[d]=f[e];f[e]=k;b[g]^=f[f[d]+f[e]&255]}a.H=d;a.O=e};var aTd=function(a){this.key=a;this.H=new _.KPd;this.O=new _.IPd(new _.KPd,_.hqa(a))};aTd.prototype.encrypt=function(a){for(var b=[],c=0;c<16;c++)b[c]=Math.floor(Math.random()*256);b=Y0d(b);c=qce(this,a);return b.concat(c,rce(this,b,a,!0))};
var bTd=function(a,b){var c=rce(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=qce(a,c);if(b!==a)throw Error("gi");return c},qce=function(a,b){a=_.JPd(a.O,_.iBd(b));return Y0d(a)},rce=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new oce;a=a.H.digest();if(!e)var e=a.length;for(var f=b.tc,g=0;g<256;++g)f[g]=g;var k=0;for(g=0;g<256;++g){k=k+f[g]+a[g%e]&255;var l=f[g];f[g]=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=_.iBd(c.substring(e*
8192,(e+1)*8192)),pce(b,a),d+=Y0d(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(e*8192,(e+1)*8192);f=_.ca.Uint8Array?new Uint8Array(a.length):Array(a.length);for(g=0;g<a.length;g++)f[g]=a.charCodeAt(g)&255;a=f;pce(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(d[c].length!==8192)throw Error("hi");c=(d.length-1)*8192+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=sce(d,e++),f<128?b[a++]=String.fromCharCode(f):f>191&&f<224?(g=sce(d,e++),b[a++]=String.fromCharCode((f&31)<<6|
g&63)):f>239&&f<365?(g=sce(d,e++),k=sce(d,e++),l=sce(d,e++),f=((f&7)<<18|(g&63)<<12|(k&63)<<6|l&63)-65536,b[a++]=String.fromCharCode(55296+(f>>10)),b[a++]=String.fromCharCode(56320+(f&1023))):(g=sce(d,e++),k=sce(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(g&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},sce=function(a,b){return a[Math.floor(b/8192)][b%8192]};var tce=function(a,b,c){this.data=a;this.H=b;this.O=c;this.isEncrypted=!1};tce.prototype.getData=function(){return this.data};var uce=function(a,b){_.ui.call(this);this.func=a;this.Td=b};_.P(uce,_.ui);uce.prototype.Axa=function(){};uce.prototype.xua=function(){var a=_.ec.apply(0,arguments),b=this;return new Promise(function(c,d){try{var e=b.func.apply(b,_.Eb(a));c(e)}catch(g){var f;(f=b.Td)==null||f.Kf("worker.InlineSimpleWorkerClient").yw(""+g);d(g)}})};var vce={mIa:4,sIa:1,sqc:1E4},wce=function(a,b){_.NPd.call(this,0,b.mIa);this.W=a;this.options=b;a=b.sIa;if(a>this.V)throw Error("Zg");this.ma=a;this.sma()};_.P(wce,_.NPd);wce.prototype.iCa=function(){return this.W()};wce.prototype.On=function(a){a.dispose()};wce.prototype.MIa=function(a){return!a.isDisposed()};
var xce=function(a,b){_.ui.call(this);var c=this;this.ma=a;this.H=new Map;this.V=new _.Jg;this.options=Object.assign({},vce,b);if(this.options.mIa<1)throw Error("ki");if(this.options.sIa<0)throw Error("li");if(this.options.mIa<this.options.sIa)throw Error("mi");this.O=new wce(this.ma,this.options);this.addOnDisposeCallback(function(){c.O.dispose()})};_.P(xce,_.ui);
xce.prototype.xua=function(){var a=_.ec.apply(0,arguments),b=this.O.Zq();b?a=this.execute(b,a):(b=new _.By,this.V.enqueue({args:a,he:b}),a=b.promise);return a};xce.prototype.Axa=function(a){this.W=a};xce.prototype.execute=function(a,b,c){var d=this;yce(this,a);this.W&&a.Axa(this.W);b=a.xua.apply(a,_.Eb(b));b.catch(function(){}).finally(function(){zce(d,a);if(_.OPd(d.O,a)&&_.uLa(d.V)){var e=d.O.Zq(),f=_.ms(d.V);d.execute(e,f.args,f.he)}});c&&c.resolve(b);return b};
var zce=function(a,b){var c=setTimeout(function(){var d=a.O;if(d.yc()>d.options.sIa){if(d.H.yc()===0)throw Error("ji");var e=d.Zq();e&&(d.On(e),d.MAa(e))}a.H.delete(b)},a.options.sqc);a.H.set(b,c)},yce=function(a,b){a.H.has(b)&&(clearTimeout(a.H.get(b)),a.H.delete(b))};var Ace=function(a){_.wf.call(this,a)};_.P(Ace,_.wf);var Cce=function(a,b,c){c=c===void 0?null:c;_.ui.call(this);var d=this;this.Tja=a;this.Td=b;this.H=c;this.O=new Map;this.V=new Map;this.W=new Set;this.requestId=0;Bce(this);this.addOnDisposeCallback(function(){d.Tja.terminate()})};_.P(Cce,_.ui);var Bce=function(a){a.Tja.onmessage=function(b){var c=b.data;b=c.result;c=c.id;if(a.W.has(c))a.W.delete(c);else{var d=a.O.get(c)||null;if(!d)throw new _.wf("Can't locate resolver for id "+c);Dce(d,b)}a.dI(c)};a.Tja.onerror=function(b){a.handleError(b)}};
Cce.prototype.timeout=function(a){var b=this.O.get(a)||null;if(b){this.W.add(a);var c="Timed out waiting for worker response for id "+a,d;(d=this.Td)==null||d.Kf("worker.SimpleWorkerClient").uc(c);Dce(b,new Ace(c))}this.dI(a)};Cce.prototype.handleError=function(a){var b;(b=this.Td)==null||b.Kf("worker.SimpleWorkerClient").yw("Error occurred in worker: "+a)};var Ece=function(a,b){if(a.H){var c=setTimeout(function(){a.V.has(b)&&a.timeout(b)},a.H);a.V.set(b,c)}};
Cce.prototype.dI=function(a){this.O.delete(a);var b=this.V.get(a);b&&(clearTimeout(b),this.V.delete(a))};Cce.prototype.Axa=function(a){a===0?this.H=null:this.H=a};Cce.prototype.xua=function(){var a=_.ec.apply(0,arguments);this.requestId===Number.MAX_SAFE_INTEGER&&(this.requestId=0);var b=new Fce(this.requestId++);var c=b.getId();this.O.set(c,b);this.Tja.postMessage({args:a,id:c});Ece(this,c);return b.c1()};var Fce=function(a){var b=new _.By;this.id=a;this.he=b};Fce.prototype.getId=function(){return this.id};
var Dce=function(a,b){b instanceof Error?a.he.reject(b):a.he.resolve(b)};Fce.prototype.c1=function(){return this.he.promise};var Gce=_.Bi([""]),Hce=function(a){this.func=cTd;this.O=this.H=null;if(!_.cO()){var b=_.K(a,_.uq,96);this.W=b&&(_.Ie(b)||_.jd(Gce))}var c,d;this.V=(d=(c=_.br(a))==null?void 0:_.N(c,31,!1))!=null?d:!1};Hce.prototype.get=function(){var a=this;if(this.H)return this.H;this.O||(this.O=Ice(this.W));var b=this.O.then(function(c){return c?a.V?Jce(c):new Cce(qQd(c)):new uce(a.func)});this.V&&(this.H=b);return b};
var Jce=function(a){return new xce(function(){return new Cce(qQd(a))},{mIa:30})},Ice=function(a){return new Promise(function(b){a?pQd(a).then(function(c){return c.script()}).then(function(c){c=_.xga(c).toString();c=_.id(URL.createObjectURL(new Blob([c],{type:"text/javascript"})));b(c)}).catch(function(){b(null)}):b(null)})};var Kce=_.Bi([""]),Lce=function(a,b,c,d){this.W=a;this.V=new _.By;this.nq=!1;this.ua=null;this.ma=(a=_.K(b,_.uq,96))&&(_.Ie(a)||_.jd(Kce));this.Da=_.Sj(_.PQ(b),6,2E7);this.vK=_.zP(b);this.Ga=_.Uj(_.PQ(b),12,0);var e;if(this.O=(e=_.br(b))==null?void 0:_.N(e,31,!1))this.ua=new Hce(b);this.Ba=c;this.H=d||null};Lce.prototype.initialize=function(){var a=this;this.nq||(this.nq=!0,this.W.initialize().then(function(){a.V.resolve()},function(b){a.V.reject(b)}));return this.V.promise};
Lce.prototype.WW=function(a){if(Z0d(a))return 0;if(g5d(a))return 1;if(H4d(a))return 3;if(u6d(a))return 6;if(e5d(a))return 7;if(e6d(a))return 8;if(n6d(a))return 9;if(i6d(a)){var b,c;if(a=(b=a.ee())==null?void 0:(c=JSd(b))==null?void 0:_.ak(c,3,_.Ff()))return a[0]===4?12:a[0]===1?10:11}throw new _.wf("Unsupported dataShard in getDataType");};
var Mce=function(a){if(a===0)return _.Wp;if(a===1)return iR;if(a===3)return eR;if(a===6)return qXd;if(a===7)return d5d;if(a===8)return nR;if(a===9)return l6d;if(a===10||a===11||a===12)return oR;throw new _.wf("Unsupported dataType:"+a+" in getDataTypeCtor");};Lce.prototype.Ir=function(a){if(H4d(a))return a.Ir()};
var Nce=function(a){if(H4d(a))return a.Gd().length},Pce=function(a,b,c,d){if(c.length===0)return Promise.resolve();var e,f,g=!!b;return Promise.resolve().then(function(){try{for(var k=a.WW(c[0]),l=1;l<c.length;l++)if(a.WW(c[l])!==k)throw Error("ni");e=k;f=a.Ir(c[0])}catch(m){throw new NR("getDataType",m);}}).then(function(){try{switch(e){case 3:a.Ir(c[0]);for(var k=_.n(c),l=k.next();!l.done;l=k.next())a.Ir(l.value);a.vK||Oce(c);if(a.Ga)for(var m=a.Ga,q=c.length-1;q>=0;q--)if(c[q].Ir()){k=[];for(var r=
c[q].Gd().slice();r.length>m;){var t=_.Kaa(r,m-1,m),u=C4d(new eR,t);k.push(u)}C4d(c[q],r);k.length&&_.MPd(c,k,q+1)}}}catch(v){throw new NR("optimize",v);}}).then(function(){try{for(var k=!1,l=[],m=_.n(c),q=m.next();!q.done;q=m.next()){var r=q.value,t=r.Fc();if(t.length>a.Da){k=!0;break}else{var u=l,v=u.push,x=Nce(r);if(H4d(r)){var y=_.wh(r,6);var C=y!=null?y:void 0}else C=void 0;v.call(u,new tce(t,x,C))}}if(k){var F=_.Jr(_.Lr(_.rO((new _.Gr).Eb(2),23),"At least one of the shards exceeded maximum allowed length."));
a.Ba(F);throw _.TN(F);}return l}catch(G){throw new NR("metadata",G);}}).then(function(k){return g?a.encrypt(b,k,e,f,d).catch(function(l){throw new NR("encrypt",l);}):Promise.resolve(k)}).then(function(k){return a.V.promise.then(function(){return s$d(a.W,k,e,f,g,d)}).catch(function(l){throw new NR("write",l);})}).catch(function(k){if(k instanceof NR)switch(k.step){case "optimize":throw new _.wf("Exception while optimizing shards for dataType "+e,null,k.reason);case "encrypt":throw new _.wf("Exception while encrypting shards for dataType "+
e,null,k.reason);case "write":throw new _.wf("Exception while writing shards for dataType "+e,null,k.reason);default:throw k.reason;}throw k;})},Oce=function(a){function b(g){if(!g.getId())return g;var k=g.getId();if(d.has(k))return k=d.get(k),_.Rh(k.IDa,g)?k.dUa:g;var l=(new _.Tp).Bb(k);d.set(k,{IDa:g.clone(),dUa:l});return l}if(a.length){for(var c=0;c<a.length;c++)if(_.Kj(a[c],_.Tp,2,_.Ff()).length)return;var d=new Map;c=_.n(a);for(var e=c.next();!e.done;e=c.next()){e=e.value.Gd()||[];e=_.n(e);
for(var f=e.next();!f.done;f=e.next())f=f.value,_.Tq(f,_.Xf(f).map(b)),_.oj(f,_.Tp,17)&&_.kHd(f,b(_.Yf(f))),_.oj(f,_.Tp,47)&&_.uHd(f,b(f.aG())),_.oj(f,_.Tp,91)&&_.AHd(f,b(f.Bx())),_.oj(f,_.Tp,95)&&_.EHd(f,b(_.uO(f))),_.oj(f,_.Nq,85)&&(f=f.ma(),_.dHd(f,_.Kj(f,_.Tp,2,_.Ff()).map(b)),_.eHd(f,_.gIa(f).map(b)))}c=[].concat(_.Eb(d.values())).map(function(g){return g.IDa});_.Mj(a[0],2,c)}};
Lce.prototype.encrypt=function(a,b,c,d,e){var f=b.reduce(function(l,m){var q;return l+((q=m.H)!=null?q:0)},0),g=Qce(this,c,d,e),k=!0;return Rce(this,a,b.map(function(l){return l.getData()})).then(function(l){if(l.length!==b.length)throw Error("oi`"+l.length+"`"+b.length);l=_.n(l.entries());for(var m=l.next();!m.done;m=l.next()){var q=_.n(m.value);m=q.next().value;q=q.next().value;m=b[m];m.data=q;m.isEncrypted=!0}return b},function(l){k=!1;throw l;}).finally(function(){if(g){var l=k;R_d(G0d(g),l).xs(f);
g.Vi()}})};
var Qce=function(a,b,c,d){if(a.H&&(a=a.H.H(106023,d)))return b=T_d(S_d(G0d(a),_.aQ(_.yKd,b)),_.aQ(_.xKd,c)),_.J(b,7,!0),a},NQ=function(a,b,c,d,e,f){var g=void 0,k=!0;return Promise.resolve(Sce(a,c,d,e).catch(function(l){return Promise.reject(new NR("read",l))})).then(function(l){var m=l.map(function(q){return q.data});return l[0]&&l[0].encrypted?(g=Tce(a,c,d,f),Uce(a,b,m).catch(function(q){throw new NR("decrypt",q);})):Promise.resolve(m)}).then(function(l){try{return Vce(l,c)}catch(m){throw new NR("deserialize",m);
}}).then(function(l){try{switch(c){case 3:Wce(a,l)}if(g){var m=l.reduce(function(q,r){var t;return q+((t=Nce(r))!=null?t:0)},0);G0d(g).xs(m)}return l}catch(q){throw new NR("decompress",q);}}).catch(function(l){k=!1;if(l instanceof NR)switch(l.step){case "read":throw new _.wf("Could not read shards for dataType "+c,null,l.reason instanceof Error?l.reason:Error(""+l.reason));case "decrypt":throw new _.wf("Exception while decrypting shards for dataType "+c,null,l.reason);case "deserialize":throw new _.wf("Exception while deserializing shards for dataType "+
c,null,l.reason);case "decompress":throw new _.wf("Exception while decompressing shards for dataType "+c,null,l.reason);default:throw l.reason;}throw l;}).finally(function(){if(g){var l=g,m=k;R_d(G0d(l),m);l.Vi()}})},Sce=function(a,b,c,d){return a.V.promise.then(function(){return q$d(a.W,b,c,d)})},Tce=function(a,b,c,d){if(a.H&&(a=a.H.H(106022,d)))return b=T_d(S_d(G0d(a),_.aQ(_.yKd,b)),_.aQ(_.xKd,c)),_.J(b,7,!0),a},Vce=function(a,b){var c=Mce(b);return a.map(function(d){return _.bc(c,d)})},Wce=function(a,
b){a.vK||Xce(b);Yce(b)},Xce=function(a){function b(g){var k=g.getId();return c.has(k)&&(k=c.get(k),_.Rh(k.dUa,g))?k.IDa.clone():g}if(a[0]&&_.Kj(a[0],_.Tp,2,_.Ff()).length!==0){var c=new Map(_.Kj(a[0],_.Tp,2,_.Ff()).map(function(g){var k=g.getId(),l=(new _.Tp).Bb(k);return[k,{IDa:g,dUa:l}]}));a=_.n(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.Gd()||[];e=_.n(e);for(var f=e.next();!f.done;f=e.next())f=f.value,_.Tq(f,_.Xf(f).map(b)),_.oj(f,_.Tp,17)&&_.kHd(f,b(_.Yf(f))),_.oj(f,_.Tp,47)&&
_.uHd(f,b(f.aG())),_.oj(f,_.Tp,91)&&_.AHd(f,b(f.Bx())),_.oj(f,_.Tp,95)&&_.EHd(f,b(_.uO(f))),_.oj(f,_.Nq,85)&&(f=f.ma(),_.dHd(f,_.Kj(f,_.Tp,2,_.Ff()).map(b)),_.eHd(f,_.gIa(f).map(b)));_.nj(d,2)}}},Yce=function(a){for(var b={},c=1;c<a.length;b={OC:void 0},c++)if(!a[c].Ir()){for(var d=0,e=c;e<a.length&&!a[e].Ir();e++)d++;e=a[c-1];d=_.Kaa(a,c,d);b.OC=e.Gd(_.wg);d.forEach(function(f){return function(g){_.Ca(f.OC,g.Gd(_.wg))}}(b));C4d(e,b.OC)}},Zce=function(a,b){return a.ua?a.ua.get():Ice(b).then(function(c){if(c){var d=
qQd(c);URL.revokeObjectURL(c.toString());return new Cce(d)}return null})},Rce=function(a,b,c){var d,e,f,g;return _.Li(function(k){switch(k.H){case 1:if(_.cO()||!a.ma){k.Rc(2);break}return _.Di(k,Zce(a,a.ma),3);case 3:d=k.O;if(!d){k.Rc(2);break}a.O&&d.Axa(12E5);_.Fi(k,5,6);return _.Di(k,d.xua({command:"encrypt",payload:{key:b,dumps:c}}),8);case 8:return k.return(k.O);case 6:_.Ji(k);a.O||d.dispose();_.Ki(k,2);break;case 5:throw e=_.Ii(k),e instanceof Ace&&((f=a.H)==null||_.lPd(f,106036)),e;case 2:return g=
new aTd(b),k.return(c.map(function(l){return g.encrypt(l)}))}})},Uce=function(a,b,c){var d,e,f,g,k,l;return _.Li(function(m){switch(m.H){case 1:for(d=0;d<c.length;d++)if(c[d].length>a.Da)throw e=_.Jr(_.Lr(_.rO((new _.Gr).Eb(2),23),"At least one of the shards exceeded maximum allowed length.")),a.Ba(e),_.TN(e);if(_.cO()||!a.ma){m.Rc(2);break}return _.Di(m,Zce(a,a.ma),3);case 3:f=m.O;if(!f){m.Rc(2);break}a.O&&f.Axa(12E5);_.Fi(m,5,6);return _.Di(m,f.xua({command:"decrypt",payload:{key:b,dumps:c}}),8);
case 8:return m.return(m.O);case 6:_.Ji(m);a.O||f.dispose();_.Ki(m,2);break;case 5:throw g=_.Ii(m),g instanceof Ace&&((k=a.H)==null||_.lPd(k,106035)),g;case 2:return l=new aTd(b),m.return(c.map(function(q){return bTd(l,q)}))}})},NR=function(a,b){var c=Error.call(this,b instanceof Error?b.message:""+b);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.step=a;this.reason=b instanceof Error?b:this};_.P(NR,Error);var $ce=function(a){this.H=new _.fm(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};$ce.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Fe())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.ob():void 0},function(){})})};$ce.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Fe()?u$d(c,[new S9d(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};
$ce.prototype.yz=function(){return this.get(ade).then(function(a){return a?a:null})};$ce.prototype.Ty=function(a){return this.set(ade,a)};var cde=function(a){return a.get(bde).then(function(b){return typeof b==="boolean"?b:null})};$ce.prototype.ZQ=function(a){return this.set(bde,a)};
var ede=function(a){return a.get(dde).then(function(b){return typeof b==="boolean"?b:null})},gde=function(a){return a.get(fde).then(function(b){return Array.isArray(b)?b:null})},ide=function(a){return a.get(hde).then(function(b){return typeof b==="number"?b:null})},jde={key:"pc",global:!1},ade={key:"rid",global:!0},bde={key:"ooi",global:!0},dde=jde,fde={key:"rtds",global:!1},hde={key:"dct",global:!1};var kde=function(a,b){dce.call(this,a,a.Kf("sync.cache.LocalDumpPopulator"));this.Cf=b;this.V=void 0;this.W=null;this.ma=!1;this.ZG=void 0};_.P(kde,dce);kde.prototype.handleError=function(){this.logger.info("Local dump population failed.");CR(this.context.Po,"mrK8ic")};kde.prototype.Cj=function(){this.W||(this.W=lde(this));return this.W};
var lde=function(a){var b,c,d,e;return _.Li(function(f){switch(f.H){case 1:if(!a.context.tK)throw a.handleError(),Error("pi");_.Fi(f,3);return _.Di(f,a.initialize(),5);case 5:return b=OQ(_.PQ(a.H)),c=b[0]&&b[0].getKey()||"",_.Di(f,mde(a,a.context.tK,c,4),6);case 6:_.Hi(f,4);break;case 3:d=_.Ii(f);_.Fi(f,7);if(!_.N(a.H,8,!0))throw d;return _.Di(f,nde(a,d),9);case 9:_.Hi(f,4);break;case 7:throw e=_.Ii(f),fce(a,8),a.handleError(),e;case 4:_.zP(a.H)||a.context.Tg().mx.H.clear(),CR(a.context.Po,"zaOY7"),
_.Ei(f)}})};kde.prototype.initialize=function(){var a=this;return _.gm(this.context.tK.initialize()).then(function(){if(!_.OP(a.H)){var b=_.Uj(_.PQ(a.H),7,432E6);b&&(a.V=Date.now()-b);return new _.fm(function(c,d){ede(a.context.jL).then(function(e){e?c():d(Error("qi"))})})}})};
var mde=function(a,b,c,d){var e,f,g;return _.Li(function(k){return k.H==1?(e=a.V,ode(a,b,c,e),pde(a,b,c,e),g=((f=a.context.Ld)==null?void 0:_.br(f))||new _.JHa,_.MN(g)&&qde(a,b,c,e),rde(a,b,c,d,e),_.N(g,38,!1)&&_.N(g,39,!1)&&sde(a,b,c,e),tde(a,b,c,10,d,e),tde(a,b,c,11,d,e),tde(a,b,c,12,d,e),_.Di(k,ude(a,b,c,e),2)):_.Di(k,Promise.all([vde(a,b,c,d,e),wde(a,b,c,d,e),xde(a,b,c,d,e),yde(a,b,c,d,e)]),0)})},ode=function(a,b,c,d){var e=function(){return a.logger.info("Failed to load account from storage.")};
NQ(b,c,0,void 0,d,a.ZG).then(function(f){f[0]?D9d(a.context.Tca,f[0],a.mf(),_.OP(a.H)):e()},function(){return e()})},pde=function(a,b,c,d){var e=function(){return a.logger.info("Failed to load apps from storage.")};NQ(b,c,1,void 0,d,a.ZG).then(function(f){f[0]?a.context.Rba.V(f[0],a.mf(),_.OP(a.H)):e()},function(){return e()})},qde=function(a,b,c,d){QSd(b,c,a.context.DR,a.mf(),d,a.ZG).then(function(e){a.logger.info(zde("account and user settings",e));if(!e&&_.OP(a.context.Ld))for(e=a.context.DR.get().H,
e.Ba=!0;e.H.length>0;){var f=e.H.shift();k7d(f)}})},rde=function(a,b,c,d,e){_.OP(a.context.Ld)&&zSd(b,c,new _.eQ(function(){return a.context.ZT.get().H}),a.context.Tg(),d,a.mf(),e,a.ZG).then(function(f){a.logger.info(zde("homepage activity",f))})},sde=function(a,b,c,d){var e,f;_.Li(function(g){if(g.H==1)return _.Fi(g,2),_.Di(g,NQ(b,c,9,void 0,d,a.ZG),4);if(g.H!=2)return e=g.O,e[0]&&(f=e[0],Ade(a.context.zsa.get().O.get(),f,a.mf())),_.Hi(g,0);_.Ii(g);a.logger.info("Failed to load labels from storage.");
_.Ei(g)})},tde=function(a,b,c,d,e,f){if(_.OP(a.context.Ld)){var g=d===12,k=d===10;CSd(b,c,d,new _.eQ(function(){return g?a.context.QZ.get().V:k?a.context.OZ.get().V:a.context.PZ.get().V}),a.context.Tg(),e,a.mf(),f,a.ZG).then(function(l){a.logger.info(zde("homepage "+(g?"suggestions":k?"suggested files":"suggested folders"),l))})}},zde=function(a,b){return(b?"Loaded":"Failed to load")+" "+a+" from storage"},vde=function(a,b,c,d,e){var f=new _.By;NQ(b,c,3,1,e,a.ZG).then(function(g){return Bde(a,g[0])}).then(function(g){b!==
a.context.tK||eRd(_.ak(g,12,_.Ff(_.wg)),_.xP(a.Cf),_.NP(a.H))||(a.logger.uc("Disabling dump updater due to inconsistent fields."),a.context.nx.uY());var k=_.Nj(g,3);if(!k||k<0)throw Error("vi");a.context.Ty(g.yz(),"local dump");k=_.Nj(g,3);typeof k==="number"&&a.context.Pva(Number(k));if(_.OP(a.H)||_.LP(a.H))a.logger.info((_.OP(a.H)?"Coldstart":"Background")+": Firing INITIAL_CHANGES_PROCESSED."),a.context.c4a();a.Dq(g,d);f.resolve()},function(g){g instanceof Error?f.reject(g):f.reject(Error("ri"))});
return f.promise},wde=function(a,b,c,d,e){return Cde(a,2,b,c,d,e).then(function(){var f,g;return(f=_.br(a.H))==null||!_.N(f,17,!1)||(g=a.O)!=null&&g.gJ?Promise.resolve():Cde(a,5,b,c,d,e)},function(){var f;return((f=_.br(a.H))==null?0:_.N(f,17,!1))?Cde(a,5,b,c,d,e):Promise.reject(Error("si"))})},Cde=function(a,b,c,d,e,f){var g=new _.By;NQ(c,d,3,b,f,a.ZG).then(function(k){k[0]?(a.Dq(k[0],e),g.resolve()):g.reject(Error("ti"))},function(k){return g.reject(k)});return g.promise},xde=function(a,b,c,d,e){var f=
new _.By;NQ(b,c,3,4,e,a.ZG).then(function(g){g.forEach(function(k){a.Dq(k,d)});f.resolve()},function(g){return f.reject(g)});return f.promise},yde=function(a,b,c,d,e){var f=new _.By;NQ(b,c,3,3,e,a.ZG).then(function(g){g.length?g.forEach(function(k){a.Dq(k,d)}):CR(a.context.Po,"rVezo");f.resolve()},function(g){return f.reject(g)});return f.promise},ude=function(a,b,c,d){var e=new _.By;NQ(b,c,6,void 0,d,a.ZG).then(function(f){f=_.n(f);for(var g=f.next();!g.done;g=f.next()){var k=g.value;_.Kj(k,UQ,1,
_.Ff()).length&&(a.logger.info("Importing "+_.Kj(k,UQ,1,_.Ff()).length+" people into the PeopleCache."),g=a.context.Tg().mx,k=_.Kj(k,UQ,1,_.Ff(_.wg)),Dde(g.H,k,2))}e.resolve()},function(f){return e.reject(f)});return e.promise},Bde=function(a,b){var c=_.Nj(b,3);if(c&&!_.OP(a.H)){var d=_.EPd(a.context.Rp()),e=_.Sj(_.PQ(a.H),13,5);return V0d(d,c,null,0,e).then(function(f){if(_.Gk(f,2))throw a.logger.uc("Encrypted dump too stale."),_.lPd(a.context.Oo,106007),fce(a,9),Error("ui");return b},function(){return b})}return _.gm(b)},
nde=function(a,b){var c,d,e,f,g,k;return _.Li(function(l){switch(l.H){case 1:return c=ER(a.context.CV.Dk()),d=OQ(_.PQ(a.H)).filter(function(m){return m.Gx()}),_.Di(l,J$d(_.qO(_.hO(a.H)),_.NP(a.H),_.Sj(_.PQ(a.H),10,0)||0,_.xP(a.Cf),a.V||0,d.map(function(m){return _.E(m,1)}),c),2);case 2:e=l.O;if(!e){l.Rc(3);break}f=d.find(function(m){return e.V===_.E(m,1)});g=new FR(_.gm(e),a.context.Td,null,!0);k=new Lce(g,a.H,function(m){a.context.vS(m)});_.Fi(l,4);return _.Di(l,k.initialize(),6);case 6:_.Hi(l,5);
break;case 4:return _.Ii(l),l.return(Promise.reject(new _.wf("Could not read forklift dump",null,b)));case 5:return a.ma=!0,l.return(mde(a,k,f?_.E(f,2):null,8).then(function(){return g.getMetadata([jde])}).then(function(m){if(m[0]){var q=a.context.jL;m=m[0].ob();q=q.set(dde,m)}else q=Promise.resolve();return q}).then(function(){g.close()}));case 3:return l.return(Promise.reject(new _.wf("No compatible dumps to forklift were found.",null,b)))}})},Ide=function(a,b,c){switch(b.Ir()){case 1:return Ede(a,
b,c);case 2:return Fde(a,b,a.O);case 5:var d;return((d=_.br(a.H))==null?0:_.N(d,17,!1))?Fde(a,b,a.ua):null;case 3:return Gde(a,b);case 4:return Hde(a,b);default:return null}},Ede=function(a,b,c){var d=[];_.Kj(b,dR,5,_.Ff()).forEach(function(e){var f=void 0,g=_.K(e,_.Oq,3);g&&(_.xO(g),_.wh(a.H,67)&&AQ(g,BQd,a.Cf),_.dO(g,c),f=new AR(g));var k=_.Bj(e,_.cf,1);if(_.DP(k)&&(_.nj(k,30),!_.Kj(a.H,_.cf,44,_.Ff()).some(function(l){if(!_.DP(l))return!1;l=bR(a.context.Iq,l,!0);return _.Rh(l,k)})))return;e=new BR(a.context.vB,
a.context.CD,a.context.Iq,k,f);e.Vj(a.mf());d.push({cache:e,changes:Jde(a.context.aB,null)})});return d},Fde=function(a,b,c){b=_.K(b,fTd,11);if(!b)throw Error("wi");ece(a,b);return c.gJ?(c.Vj(a.mf()),[{cache:c,changes:Jde(a.context.aB,null)}]):[]},Hde=function(a,b){return _.Kj(b,dR,5,_.Ff()).map(function(c){c=new nce(a.context,_.K(c,_.Er,5),!0);c.Vj(a.mf());return{cache:c,changes:Jde(a.context.aB,null)}})},Gde=function(a,b){var c;if(((c=_.br(a.H))==null||!_.EP(c))&&_.wh(b,6))return[];var d=_.BP(_.Bj(_.Kj(b,
dR,5,_.Ff())[0],_.cf,1))[0],e=_.Nj(b,3)||void 0;c=Jde(a.context.aB,d);a.context.cI.promise.then(function(k){k.cTa(d,e)});var f=new MR(a.context.Ld,a.context.vB,a.context.CD,d),g;((g=_.br(a.H))==null?0:_.EP(g))&&f.DJ(_.wh(b,6)===!0?1:0);f.Vj(a.mf());return[{cache:f,changes:c}]};
kde.prototype.Dq=function(a,b){var c=this,d=Ide(this,a,b);if(d&&d.length!==0){for(var e=_.n(a.Gd()),f=e.next();!f.done;f=e.next()){var g=f.value;_.xO(g);_.wh(this.H,67)&&AQ(g,BQd,this.Cf);_.dO(g,b);_.zP(this.H)||this.context.Tg().mx.H.wc()||Kde(this.context.Tg().mx,[g]);f=new AR(g);_.Xj(a,14,_.Ff()).includes(_.ve(g))?M2d(this.context.NZ,f,1,"sync.cache.LocalDumpPopulator"):_.Xj(a,15,_.Ff()).includes(_.ve(g))&&M2d(this.context.NZ,f,2,"sync.cache.LocalDumpPopulator");for(g=0;g<d.length;g++)d[g].cache.update(M8d(f))}d.forEach(function(k){var l=
k.cache;c.dispatchEvent(new bce(l,k.changes));c.logger.info("Imported "+l.getSize()+" items into the "+l.getType());var m=null;l instanceof MR&&(m=l.teamDriveId);c.context.qGa.promise.then(function(){Lde(c.context.aB,m)})});a.Ir()===1&&CR(this.context.Po,"ZA9qG")}else this.logger.info("Ignoring corpus cache for "+a.Ir()+".")};kde.prototype.mf=function(){return this.ma?7:3};var Mde=function(a){dce.call(this,a,a.Kf("sync.cache.SdkCachePopulator"));this.V=[];this.W=[];this.ma=Math.ceil(_.Sj(a.Ld,31,2E4)*1.1)};_.P(Mde,dce);
Mde.prototype.Cj=function(){var a=this,b,c;return _.Li(function(d){switch(d.H){case 1:if(!_.N(a.H,46,!1))return fce(a,5),a.handleError(),d.return(Promise.reject(Error("xi")));a.logger.info("Drive SDK cache population initiated.");return _.Di(d,a.context.n1a.promise,2);case 2:return _.Di(d,Nde(a),3);case 3:return b=[],_.Fi(d,4),_.Di(d,Ode(a),6);case 6:b=d.O;_.Hi(d,5);break;case 4:throw c=_.Ii(d),a.handleError(),c;case 5:return d.return(b)}})};
var Nde=function(a){var b;return _.Li(function(c){if(c.H==1)return CR(a.context.Po,"L6uQWd"),a.context.cI.promise.then(function(d){d.Zwa()}),_.N(a.H,46,!1)?_.Di(c,gTd(a.context.Rp(),a.context.Td),3):(a.logger.info("Subscribed corpus cache population disabled."),O8d(a.O,!1),c.Rc(0));b=c.O;if(!b)throw fce(a,4),Error("yi");ece(a,b);_.Ei(c)})},Ode=function(a){a.context.c4a();var b=new _.By;if(a.O.gJ){a.logger.info("Starting subscribed corpus cache population.");var c=a.O.ee().Ym(a.ma);a.O.Vj(5);Pde(a,
a.O,c)}_.im(a.W).then(function(d){b.resolve(d)},function(d){for(var e=_.n(a.V),f=e.next();!f.done;f=e.next())f.value.dispose();fce(a,7);d=_.UN(d)?d:d instanceof wR?_.zO(d.error):Error("zi`"+d);b.reject(d)});return b.promise},Pde=function(a,b,c){var d=Jde(a.context.aB,null);b=new Tbe(a.context,b,c);a.V.push(b);b=b.Cj().then(function(e){e.gJ||(a.logger.info("Subscribed corpus cache disabled, too many backfill items."),a.context.VJ.Lb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new bce(e,
d))});b.then(function(){Qde(a)},function(){Qde(a)});a.W.push(b)},Qde=function(a){a.context.qGa.promise.then(function(){Lde(a.context.aB,null)})};Mde.prototype.handleError=function(){this.logger.info("Drive SDK cache population failed.");CR(this.context.Po,"Gv4zef")};Mde.prototype.mf=function(){return 5};var Rde=function(a,b){_.ui.call(this);this.context=a;this.Zg=b;this.handler=new _.Lg(this);this.impression=null;this.V=[];this.logger=a.Kf("sync.cache.CorpusCachePopulatorManager");this.Sa(this.handler);this.H=new kde(this.context,this.context.Cf);this.Sa(this.H);this.O=new Mde(this.context);this.Sa(this.O)};_.P(Rde,_.ui);
Rde.prototype.Cj=function(){var a=this;this.logger.info("Corpus cache population initiated.");this.impression=this.context.Oo.H(106002);_.ca._DRIVE_dsp&&Sde(this);_.ca._DRIVE_dspc=function(c){Sde(a,c)};Jde(this.context.aB,null);_.N(this.context.Ld,24,!1)&&!_.OP(this.context.Ld)&&(_.ca._DRIVE_ivd||_.ca._DRIVE_ivd===null?Tde(this):_.ca._DRIVE_ivdc=function(){Tde(a)});var b=this.context.tK;if(b)return this.handler.listen(this.H,ace,this.W.bind(this)),this.handler.listen(this.O,ace,this.W.bind(this)),
(_.LP(this.context.Ld)||_.OP(this.context.Ld)||!_.wh(this.context.Ld,69)?Promise.resolve():this.context.L2.promise).then(function(){return b.initialize().then(function(){a.logger.info("Dump storage initialized.");a.impression&&(a.H.ZG=a.impression);return a.H.Cj().then(function(){return Ude(a,a.H.mf())},function(){Vde(a,a.H.mf(),a.H.failureReason);return _.OP(a.context.Ld)?a.handleError(Error("Ai"),21):a.O.Cj().then(function(){return Ude(a,a.O.mf())},function(c){Vde(a,a.O.mf(),a.O.failureReason);
return a.handleError(c,23)})})},function(c){a.handleError(_.UN(c)?c:void 0,22)})});this.handleError(void 0,void 0)};var Sde=function(a,b){a=new $8d(a.context);var c=(_.ca._DRIVE_dsp||[]).filter(function(e,f){return e&&(!b||f===Number(b))});c=_.n(c);for(var d=c.next();!d.done;d=c.next())a.Cj(d.value);a.dispose()};Rde.prototype.W=function(a){var b=a.cache;this.logger.info("Cache populated: "+b.getType());this.V.push(Wde(this,b,a.changes))};
var Ude=function(a,b){Lde(a.context.aB,null);CR(a.context.Po,"L6uQWd");a.context.cI.promise.then(function(c){c.Zwa()});return Promise.all(a.V).then(function(){Xde(a,b)})},Xde=function(a,b){if(!a.isDisposed()){a.logger.info("Corpus cache population complete.");var c=a.context.Po;c.H("mrK8ic")?c.H("Gv4zef")||a.context.nx.d4a():ede(a.context.jL).then(function(d){d&&a.context.nx.d4a()},function(){});CR(c,"rVezo");CR(c,"BNEDtc");a.impression&&(b=_.aQ(_.wKd,b),O_d(F0d(a.impression),b),N_d(F0d(a.impression),
!0),P_d(F0d(a.impression),u4d(a.Zg.xn)),F0d(a.impression).DJ(a.context.Tg().Ir()),a.impression.Vi());a.dispose()}},Vde=function(a,b,c){a.impression&&(b=_.aQ(_.wKd,b),O_d(F0d(a.impression),b),a=F0d(a.impression),_.Ck(a,3,c))};
Rde.prototype.handleError=function(a,b){Lde(this.context.aB,null);var c=this.context.Po;CR(c,"L6uQWd");this.context.cI.promise.then(function(e){e.Zwa()});CR(c,"mrK8ic");CR(c,"Gv4zef");CR(c,"rVezo");CR(c,"BNEDtc");this.context.VJ.Lb("CachedCorpusType","partialCorpus");c=!!this.H.context.tK||_.N(this.O.H,46,!1);if(b&&c){var d=void 0;c="Corpus population failed";a&&(_.UN(a)?(d=a,c+=": "+d.message):c+=": "+String(a));this.logger.info(c);a=new _.wf(c,void 0,d);_.Jr(_.Hr(_.$N(a.yg.Eb(_.OP(this.context.Ld)?
3:1),b),c));this.context.dispatchEvent(new _.xf(a))}else this.logger.info("Corpus population skipped");this.impression&&(N_d(F0d(this.impression),!1),this.impression.Vi());this.dispose()};
var Wde=function(a,b,c){return cce(b,c,a.context.NZ).then(function(d){d.some(function(e){return b instanceof MR&&_.pPd(e)&&_.E(e,2)===b.teamDriveId})||W8d(a.Zg,b,d)},function(){return a.handleError(Error("Bi"),24)})},Tde=function(a){if(_.ca._DRIVE_ivd){var b=new T8d(a.context,a.context.Cf);a.Sa(b);b.Cj(_.ca._DRIVE_ivd)}else CR(a.context.Po,"DEJoH")};var Yde=function(a,b){this.Td=a;this.Cf=b;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.BF=new Set(_.xP(this.Cf))},Zde=function(a,b){var c=[];a=_.n(Object.entries(a.items));for(var d=a.next();!d.done;d=a.next()){var e=_.n(d.value);d=e.next().value;e=e.next().value;e.hasOwnProperty(b)&&c.push(Number(d))}return c},aee=function(a,b){b=a.Cf.aTa(b);$de(a,a.items,a.fields,b)},$de=function(a,b,c,d){d.length&&(new Set(d.filter(function(e){return!a.BF.has(e)&&!c.has(e)}))).forEach(function(e){a.log("Creating field cache for field: "+
e);c.add(e);b[e]={}})},r4d=function(a,b,c){var d=[],e=[];b=_.n(b);for(var f=b.next();!f.done;f=b.next())f=f.value,fR(f)?d.push(f):e.push(f);d.length&&bee(a,d,c,a.H,a.O);e.length&&bee(a,e,c,a.items,a.fields)},bee=function(a,b,c,d,e){c=xQd(c,[].concat(_.Eb(e)));if(c.length!==0)for(b=_.n(b),e=b.next();!e.done;e=b.next()){e=e.value;var f=e.Bh();f=f?_.he(f):null;for(var g=_.n(c),k=g.next();!k.done;k=g.next()){k=k.value;var l=d[k][_.ve(e)];l&&wQd(e,l,[k],a.Cf);f&&(l=d[k][_.ve(f)])&&wQd(f,l,[k],a.Cf)}}};
Yde.prototype.update=function(a,b,c){b&&fR(b)?cee(this,a,b,this.H,this.O,c):cee(this,a,b,this.items,this.fields,c)};Yde.prototype.LS=function(a){var b=this;_.uc(this.items,function(c,d){_.Dc(b.items[d],a)});_.uc(this.H,function(c,d){_.Dc(b.H[d],a)})};
var cee=function(a,b,c,d,e,f){_.uc(d,function(g,k){k=Number(k);if(f.includes(k)&&(g[b]&&!c?_.Dc(g,b):c&&uQd(c,[k],a.Cf)&&(g[b]=dee(a,c,k)),c)){var l=c.Bh();(l=l?_.he(l):null)&&uQd(l,[k],a.Cf)&&(g[_.ve(l)]=dee(a,l,k))}});c&&AQ(c,[].concat(_.Eb(e)),a.Cf)},dee=function(a,b,c){var d=new _.Oq;d.Bb(b.Pb());wQd(d,b,[c],a.Cf);return d};Yde.prototype.clear=function(){var a=this;_.uc(this.items,function(b,c){a.items[c]={}});_.uc(this.H,function(b,c){a.H[c]={}})};Yde.prototype.log=function(a){this.Td.Kf("sync.cache.FieldsCache").info(a)};var eee=function(a,b,c,d){var e=this;this.vB=b;this.CD=c;this.Td=d;this.Ff=new Map;this.rootId="";a.addCallback(function(f){e.rootId=f})};_.h=eee.prototype;_.h.eD=function(){return this.Ff};_.h.tj=function(a){var b=new Map;a=_.n(a.Lh());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Ff.has(c)&&b.set(c,this.Ff.get(c).getItem());return b};
_.h.query=function(a,b){var c=[];if(Q8d(a)){for(var d=_.n(this.Ff.values()),e=d.next();!e.done;e=d.next())e=e.value,P8d(this.vB,a,e.getItem())&&(b===void 0||q7d(e.Sr,b))&&c.push(e);this.CD.sort(a,c)}return c};_.h.get=function(a){return this.Ff.get(a)||null};_.h.getAll=function(a){var b=[];a=_.n(a);for(var c=a.next();!c.done;c=a.next())(c=this.Ff.get(c.value))&&b.push(c);return b};_.h.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,fee(this,a.H)?this.lI(a.H):this.Ff.set(a.id,a.H)):this.lI(a.O)};
var fee=function(a,b){return b.yc()>1||q7d(b.Sr,2)||_.wh(b.getItem(),26)||OSd(b.getItem())?!1:b.getId()!=="root"&&b.getId()!==a.rootId};eee.prototype.LS=function(){for(var a=_.n(this.Ff.values()),b=a.next();!b.done;b=a.next())b=b.value,fee(this,b)&&this.lI(b)};
eee.prototype.lI=function(a){this.Ff.delete(a.getId());var b=_.Vq(a.getItem()),c=a.getItem(),d=this.get(c.yl()[0]);this.log("Deleting "+(b?b+" ":"")+a.getId()+" from "+(c==null?void 0:_.Ae(c,82))+((c==null?0:c.Yl())?" trashed":"")+((c==null?0:_.wh(c,59))?" tombstoned":"")+(" parent: "+(d==null?void 0:d.getId()))+(" backfill: "+(d==null?void 0:d.H)+"."));a.count--};eee.prototype.log=function(a){this.Td.Kf("sync.cache.FindByIdCache").info(a)};var hee=function(a,b){_.sm.call(this,gee);this.ids=a;this.error=b};_.P(hee,_.sm);hee.prototype.getError=function(){return this.error};hee.prototype.H=function(){return this.ids};var gee="Wa";var jee=function(a){_.sm.call(this,iee);this.people=a};_.P(jee,_.sm);jee.prototype.getPeople=function(){return this.people};var iee="Xa";var kee=function(a,b,c){c=c===void 0?0:c;this.person=a;this.oe=c;this.O=!1;this.H=new Set(b?[b]:[]);c===6&&(this.O=!0)};kee.prototype.mf=function(){return this.oe};
var lee=function(a){return a.oe===0?1:a.oe===2||(a.oe===1||a.oe===4)&&(a.person.Cp()||a.O)?3:2},mee=function(a,b,c){if(_.E(b,1)!==_.E(a.person.clone(),1))return!1;c===6&&(a.O=!0);var d=lee(a);var e=b;e=!(a.person.getName()||!e.getName());var f=b;f=!(a.person.getEmail()||!f.getEmail());var g=a.mf();return(c===4?0:g===1?c===1:g===5||g===6||g===2||g===4?c!==0&&g!==c:1)?(b=sXd(b.clone().jd(a.getName(b)),a.getEmail(b)),e=!_.Rh(a.person,b),a.person=b,a.oe=c,e||d!==lee(a)):c===4?(a.oe=c,c=a.person,b=_.Nj(b,
6),_.Tg(c,6,b),d!==lee(a)):e||f?(e&&a.person.jd(a.getName(b)),f&&sXd(a.person,a.getEmail(b)),!0):!1};kee.prototype.getName=function(a){var b=_.E(this.person,2);a=_.E(a,2);return!a&&b&&b.length!==0?b:a};kee.prototype.getEmail=function(a){var b=_.E(this.person,3);a=_.E(a,3);return!a&&b&&b.length!==0?b:a};var oee=function(a,b,c,d){_.Ig.call(this);var e=this;this.O=a;this.Td=b;this.W=c;this.V=d;this.H=[];this.ma=new _.jA(function(){return nee(e)},100,this)};_.P(oee,_.Ig);oee.prototype.Cj=function(a){a&&_.zP(this.O)&&(this.H.includes(a)||this.H.push(a),this.ma.qe())};var nee=function(a){a.V.then(function(){for(;a.H.length;){var b=a.H.splice(0,240);a.log("Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));a.sendRequest(b)}})};
oee.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Nh;var e=new _.fP;e=_.yk(e,1,a);return d.call(c,e)}).then(function(c){c=_.Kj(c,UQ,1,_.Ff(_.wg));b.dispatchEvent(new jee(c))},function(c){c=_.TN(c);b.dispatchEvent(new hee(a,c))})};oee.prototype.log=function(a){this.Td.Kf("sync.query.PeopleQueryRunner").info(a)};var qee=function(a,b,c,d,e){_.Ig.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.handler=new _.Lg(this);this.Sa(this.handler);this.ma=d;this.logger=b.Kf("sync.cache.PeopleCache");this.Ba=_.Uj(_.K(a,u_d,85)||new u_d,1,864E5);this.W=new oee(a,b,c,e);this.ua=new _.iH(function(){var g,k=(g=f.ma)==null?void 0:_.hQ(g,106015);if(k){g=_.K(_.oQ(k),$_d,11);if(!g){g=new $_d;var l=_.oQ(k);_.Q(l,$_d,11,g)}g=_.Ug(g,1,f.H.size);_.Ug(g,2,f.O.size);k.Vi()}},500,this);this.handler.listen(this.W,
iee,function(g){g=g.getPeople();Dde(f,g,1);f.ua.qe()});this.handler.listen(this.W,gee,function(g){pee(f,g)})};_.P(qee,_.Ig);qee.prototype.get=function(a){var b=this.H.get(a);return b?(ree(this,b)&&see(this,a),b):null};var see=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.Cj(b);var c=new _.By;a.V.set(b,c);return c.promise},uee=function(a,b){return tee(a,b)?Promise.resolve(a.H.get(b)):see(a,b).then(function(){return a.H.get(b)})};
qee.prototype.wc=function(){return this.H.size===0};qee.prototype.clear=function(){this.logger.info("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var vee=function(a){return[].concat(_.Eb(a.H.values())).filter(function(b){return lee(b)===3&&b.mf()!==4}).map(function(b){return b.person.clone()})},wee=function(a,b){return(a=a.H.get(b))?[].concat(_.Eb(a.H)):[]},xee=function(a,b,c){c=_.n(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),[].concat(_.Eb(e.H)).length===0&&(a.H.delete(d),a.O.delete(d)))}},Dde=function(a,b,c){if(![1,2].includes(c))throw Error("Ci");b.length!==0&&(a.logger.info("Importing "+b.length+
" from "+(Object.keys(t6d)[c]+".")),yee(a,b,c))},Aee=function(a,b,c,d){b.length!==0&&zee(a,b,c,d===void 0?0:d)},tee=function(a,b){b=a.H.get(b);return!(!b||lee(b)!==3||ree(a,b))},zee=function(a,b,c,d){d=d===void 0?0:d;var e=!1;b=_.n(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var g=_.E(f,1),k=a.H.get(g);if(k)mee(k,f,d)&&(e=!0),c&&k.H.add(c);else if(d!==4){e=!0;k=a;var l=f,m=d,q=c;m!==1&&m!==2&&see(k,_.E(l,1));m=new kee(l,q,m);k.H.set(_.E(l,1),m)}e&&d===1&&(f.getName()?a.O.delete(g):a.O.add(g))}return e},
ree=function(a,b){switch(b.mf()){case 1:case 2:return!_.Gk(b.person.clone(),5)||Date.now()-Number(_.Nj(b.person.clone(),5))>a.Ba;case 4:return Date.now()-Number(_.Nj(b.person.clone(),6))>1E3;default:return!0}},pee=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():rXd(new UQ,c)});yee(a,b,4)},yee=function(a,b,c){for(var d=Date.now(),e=_.n(b),f=e.next();!f.done;f=e.next()){var g=f.value;f=_.E(g,1);c===1?_.Tg(g,5,d):c===4&&_.Tg(g,6,d);if(g=a.V.get(f))g.resolve(),a.V.delete(f)}zee(a,
b,void 0,c)&&a.dispatchEvent(new w9d(b))};var Bee=function(a,b,c,d,e){_.Ig.call(this);var f=this;this.handler=new _.Lg(this);this.Sa(this.handler);this.H=new qee(a,b,c,d,e);this.xK=_.br(a)||new _.JHa;this.handler.listen(this.H,v9d,function(g){return f.dispatchEvent(g)})};_.P(Bee,_.Ig);Bee.prototype.RF=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=Cee(this,[c]).map(function(e){return Dee(b,e)});Aee(this.H,d,a.H.getId(),this.mf(_.Ae(c,82)))}a.O&&xee(this.H,a.id,Eee(this,a))};Bee.prototype.mf=function(a){return Fee.get(a)||0};
var Eee=function(a,b){var c=Gee(a,b.O),d=Gee(a,b.H);return c.filter(function(e){return!d.includes(e)})},Gee=function(a,b){return b?Hee(a,[b.getItem()]):[]},VSd=function(a,b){b=b.oh();Aee(a.H,[Dee(a,b)],"ACCOUNT");Iee(a,b)},U$d=function(a,b){var c=_.Kj(b,_.RP,2,_.Ff()).map(function(d){var e=_.Bj(d,_.Tp,9);return uee(a.H,_.E(e,11)).then(function(){return void Jee(a,[e])})});return Promise.all(c).then(function(){return b})},Kde=function(a,b){Jee(a,Cee(a,b))},Jee=function(a,b){b=_.n(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,_.E(c,11)&&Iee(a,c)};Bee.prototype.sync=function(a){var b=this;return Promise.all([].concat(_.Eb(a)).map(function(c){return uee(b.H,c)})).then(function(){},function(){})};
var T$d=function(a,b,c){for(var d=new Set,e=_.n(b),f=e.next();!f.done;f=e.next())f=f.value,_.E(f,11)&&(d.add(_.E(f,11)),Aee(a.H,[Dee(a,f)],c));return Promise.all([].concat(_.Eb(d)).map(function(g){return uee(a.H,g)})).then(function(){return Jee(a,b)})},Kee=function(a,b){return Hee(a,[b]).some(function(c){return!E9d(a,c)})},E9d=function(a,b){return tee(a.H,b)},Hee=function(a,b){var c=new Set;a=Cee(a,b);a=_.n(a);for(b=a.next();!b.done;b=a.next())(b=_.E(b.value,11))&&c.add(b);return[].concat(_.Eb(c))},
Cee=function(a,b){return b.map(function(c){var d=c.ma();d=d?[].concat(_.Eb(_.Kj(d,_.Tp,2,_.Ff())),_.Eb(_.gIa(d))):[];var e=c.Bh();e=(e=e&&_.he(e))?Cee(a,[e]):[];return[].concat(_.Eb(_.Xf(c)),[_.Yf(c),c.aG(),c.Bx(),_.uO(c)],_.Eb(d),_.Eb(e))}).flat().filter(function(c){return c&&!!_.E(c,11)})};Bee.prototype.Fd=function(a){return wee(this.H,a).filter(function(b){return b!=="ACCOUNT"})};
var Lee=function(a){return pXd(new qXd,vee(a.H))},Mee=function(a,b){return b.map(function(c){c=c.clone();var d=Cee(a,[c]);d=_.n(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.nj(e,3),_.nj(e,8),_.nj(e,5);return c})},Oee=function(a,b){return b.some(function(c){return Nee(a,c)})},Nee=function(a,b){return Cee(a,[b]).some(function(c){return _.Hk(c,3)||c.Cp()||_.Hk(c,5)})},Iee=function(a,b){if(a=a.H.get(_.E(b,11))){var c=a.person.clone();_.Zg(c,2)&&b.jd(_.Zg(c,2));_.Zg(c,3)&&_.sGd(b,_.Zg(c,3));_.PPd(b,
lee(a));(a=_.K(c,uXd,4))&&b.Qk(_.Zg(a,1))}},Dee=function(a,b){var c=_.E(b,11);c=sXd(rXd(new UQ,c).jd(_.Up(b)),_.Zg(b,8));var d=new uXd;var e=_.Zg(b,5);d=_.L(d,1,e);c=_.Q(c,uXd,4,d);_.N(a.xK,9,!1)&&(_.nj(b,3),_.nj(b,8),_.nj(b,5));return c},Fee=new Map([[1,6],[2,6],[3,6],[9,6],[4,2],[8,2],[6,7],[7,8]]);var Pee=function(a,b){this.context=a;this.O=b;this.H={}},Ree=function(a,b){if(b instanceof _.zN)b.Lh().forEach(function(f){Qee(a,f,b)});else if(!_.qi(b)){var c=_.BP(b);if(c.length===1)Qee(a,c[0],b);else{c=_.AP(b);if(c.length===1&&!_.N(c[0],2,!1)){var d=_.E(c[0],1);c=a.O.get(d);if(!c){c=a.context.Tg().GH;var e=_.Ve(new _.Se,310);c.tL([d],e).then(function(f){if((f=f[d])&&_.Vq(f)){var g=f.getCapabilities();g&&_.wh(g,16)&&(f=_.Vq(f),Qee(a,f,b))}else Qee(a,null,b)});return}if(_.Vq(c.getItem())&&_.wh(c.getItem().getCapabilities(),
16)){c=_.Vq(c.getItem());Qee(a,c,b);return}}Qee(a,null,b)}}},Qee=function(a,b,c){if(b){var d=a.O.get(b);if(d&&!fR(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(a.context.cI.promise.then(function(e){e.cTa(b)}),See(a.context.hab,b))},Tee=function(a,b){if(!(b instanceof _.cf&&_.qi(b)))for(var c=_.n(Object.entries(a.H)),d=c.next(),e={};!d.done;e={vHa:void 0},d=c.next()){var f=_.n(d.value);d=f.next().value;f=f.next().value;e.vHa=d;d=f;for(f=0;f<d.length;f++)_.Rh(b,d[f])&&
(_.wa(a.H[e.vHa],f),e.vHa!=="subscribed"&&a.context.cI.promise.then(function(g){return function(k){k.r7a(g.vHa,!1)}}(e)))}},Pbe=function(a,b){return a.H[b||"subscribed"]||[]};var Uee=function(a){this.W=a;this.H=new Map;this.O=[];this.V=[]};
Uee.prototype.update=function(a){var b=(a.O||a.H).getItem();if(yQd(b)){var c=a.id,d=a.O,e=a.H;if(e){if(d=e.getItem().Bh()){e=_.E(d,1);var f=_.Ae(d,4);e&&[1,3].includes(f)&&(this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c),c=_.E(d,1),e=_.he(d),(d=(e==null?0:_.Hk(e,140))?_.E(e,140):_.E(d,7))&&this.W.Gra([_.tq((new _.rq).Bb(c),d)]))}}else if(!e&&d)for(d=_.n(this.H.entries()),e=d.next();!e.done;e=d.next())f=_.n(e.value),e=f.next().value,f=f.next().value,f.delete(c)&&f.size===0&&this.H.delete(e)}this.H.has(b.getId())&&
(c=b=a.id,d=a.O,a.H===null&&d!==null&&this.H.has(c)?(this.O.push.apply(this.O,_.Eb(this.H.get(b))),this.H.delete(b)):(c=a.O,d=a.H,this.H.has(a.id)&&d&&(c?!_.Rh(d.getItem(),c.getItem()):1)&&this.V.push.apply(this.V,_.Eb(this.H.get(b)))))};var Vee=function(a){return a.V.filter(function(b){return!a.O.includes(b)})};var Wee=function(a,b){Y7d.call(this,a.clone(),b.Rp(),b.Ld,b.Td);this.context=b};_.P(Wee,Y7d);Wee.prototype.W=function(a){for(var b=new Map,c=_.n(a.Lh()),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.clone().No([d]);b.set(d,e)}return b};Wee.prototype.V=function(a){a=a.Gd()[0];this.context.Tg().Dq([a],1,void 0,!0,this.request.O(_.wg))};Wee.prototype.ma=function(a){this.context.Tg().Dq([],1,a,!1,this.request.O(_.wg),1)};Wee.prototype.ua=function(a){a=_.sQ(_.rQ(new _.qQ,a));this.context.Tg().us([a])};var Xee=function(a,b){JR.call(this,a,"sync.cache.TeamDriveIdViewCache",!0);this.request=b;this.H=0};_.P(Xee,JR);_.h=Xee.prototype;
_.h.refresh=function(){var a=this;this.IF(6);var b=ZQd(this.context.Ld)!==ZQd(this.context.Ld,this.request.O()),c=[];this.request.Lh().forEach(function(f){var g=a.mE.get(f);g&&g.getItem().O()&&!b||c.push(f)});this.H=this.request.Lh().length-c.length;if(c.length===0)return this.Dq([],!1),_.gm();var d=this.request.clone();d.No(c);d=new Wee(d,this.context);if(this.context.Xo().Hg()){var e=this.getSize()>0;this.IF(e?1:2)}return d.Cj()};
_.h.CBa=function(a){return this.context.Iq.equals(a,this.request)&&dRd(_.xP(this.Cf),a.O())};_.h.tj=function(a){var b=new HQ;b.Tb(this.iA());b.H=this.H;b.Vj(this.mf());for(var c={},d=_.n(this.mE.entries()),e=d.next();!e.done;e=d.next()){var f=_.n(e.value);e=f.next().value;f=f.next().value;var g=void 0;c[e]=((g=f)==null?void 0:g.getItem())||null}b.map=c;kbe(this,a.O(_.wg),b.Dn());return b};_.h.resize=function(){};_.h.ee=function(){return this.request};_.h.sF=function(a){return this.request.Lh().includes(a.getId())};
_.h.J1=function(){return!0};_.h.lI=function(){return!0};_.h.nNa=function(){return!0};_.h.TIa=function(){};var Yee=function(a,b){_.Ig.call(this);var c=this;this.W=a;this.O=this.H=Date.now();this.handler=new _.Lg(this);this.handler.listen(b,"Ta",function(){Date.now()-Math.max(c.H,c.O)>=c.W&&c.Ik()})};_.P(Yee,_.Ig);Yee.prototype.Ik=function(){clearTimeout(this.V);this.H=Date.now();this.dispatchEvent("Ya")};var Zee=function(a){clearTimeout(a.V);a.V=setTimeout(function(){a.Ik()},Math.max(Math.max(a.H,a.O)+a.W-Date.now(),0))};var OR=function(a,b){JR.call(this,a,"sync.cache.ViewCache");var c=this;this.Iz=null;this.O=0;this.Ff=[];this.ua=null;this.incompleteSearch=!1;this.ma=[];this.suggestionSessionId=null;this.count=0;this.lp=null;this.request=b.clone();this.RO=this.context.Iq.H(b);this.Da=a.Oo;b=this.request.Tc()&&O3d(this.request.Tc());var d=this.context.CD;this.H=b?function(e,f){return d.compare(c.request,e,f)}:null;this.gwb=!b||!Q8d(this.request)||_.NN(_.hO(a.Ld));this.Ga=$ee(this.request);(this.V=_.tP(this.request)?
new Yee(_.Uj(_.cr(this.context.Ld),16,36E5),this.context.tjb):null)&&this.handler.listen(this.V,"Ya",function(){afe(c,!0)})};_.P(OR,JR);OR.prototype.refresh=function(){this.logger.info(this.GM()+" | Refresh called, currently "+this.getSize()+" items cached");return afe(this,!1)};
var afe=function(a,b){if(a.isDisposed())return _.gm();a.IF(6);if(_.DP(a.request))return a.IF(1),_.gm();var c;(c=a.V)!=null&&(c.O=Date.now(),Zee(c));return bfe(a,b)},dfe=function(a,b,c,d,e,f){var g=!0;d=d===void 0?"":d;f=f===void 0?[]:f;g=g===void 0?!0:g;if(a.lp)return a.lp;cfe(a,!1);ybe(a.Iz,b.map(function(k){return k.getId()}),d);b&&a.Dq(b,c,e);f.length&&a.Dq(f,c);a.count>=a.request.Qj()||a.iA()===1||!g?a.lp=_.gm():a.lp=a.refresh();return a.lp},efe=function(a,b,c,d,e){if(!a.lp){cfe(a,!1);var f=a.Iz,
g=_.jm();a.lp=g.promise;a.handler.le(f,"Na",function(){g.resolve()});Abe(f,b,c,d,e)}};OR.prototype.NBa=function(){for(var a=_.n(this.Ff),b=a.next();!b.done;b=a.next())obe(this,b.value.getId());this.count=0;this.Ff=[]};
var cfe=function(a,b){if(ffe(a)){var c;(c=a.request.Zk())==null||_.Ue(c,!1)}b=new Hbe(a.context,a.request,b);a.handler.listen(b,"Ma",a.Ba.bind(a));a.handler.listen(b,"Na",a.W.bind(a));a.Iz=b},ffe=function(a){return a.Iz?(a.handler.Nd(a.Iz,"Ma",a.Ba.bind(a)),a.handler.Nd(a.Iz,"Na",a.W.bind(a)),a.Iz.dispose(),a.Iz=null,a.O=0,!0):!1},bfe=function(a,b){cfe(a,b);return a.kva(a.Iz)};
OR.prototype.kva=function(a){var b=this,c=_.jm();this.context.Xo().Hg()?this.handler.le(this.context.Xo(),[_.DA.CONNECTED,_.DA.o_],function(){gfe(b,a,c)}):gfe(this,a,c);return c.promise};var gfe=function(a,b,c){a=a.request.Qj()+a.O;Ebe(b,a).Yj(c.resolve,c.reject,c)};_.h=OR.prototype;
_.h.resize=function(a){this.logger.info(this.GM()+" | Resize called");var b=new Set(this.uF);if(!b.size&&this.d2a())var c=this.request.Qj();else{c=0;b=_.n(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;d=C7d(pbe(this.context),d);var e=void 0;c=Math.max(c,d.Qj?(e=d.Qj())!=null?e:0:0)}}if(_.tP(this.request)){this.request.Ym(c);var f;this.mf()===2||((f=this.Iz)==null?0:Cbe(f))||!(c>this.count||a)?this.LS():this.refresh()}else this.request.Qj()!==c&&(this.request.Ym(c),c>this.count?this.Iz?Cbe(this.Iz)||
this.kva(this.Iz):this.refresh():this.LS())};_.h.ee=function(){return this.request};_.h.GM=function(){return this.RO};_.h.CBa=function(a){return this.context.Iq.equals(a,this.request,!0)?dRd(_.xP(this.context.Cf),a.O(_.wg)):!1};
_.h.tj=function(a){var b=a.Qj(),c=this.Ff.slice(0,b);var d=_.$Hd(K_d(new _.Cr,b<this.Ff.length||!this.context.Xo().Hg()&&this.iA()!==1),this.ua);d=_.J(d,8,this.incompleteSearch);d=_.yk(d,18,this.ma);var e=EQd(c);c=wSd(c);kbe(this,a.O(_.wg),c);_.wO(d,c);d.Tb(e?6:this.jVa(b));d.Vj(this.mf());sTd(d,this.suggestionSessionId);return d};_.h.jVa=function(a){return this.iA()===1||a<=this.count?1:this.context.Xo().Hg()?this.Ff.length>0?1:2:6};
var hfe=function(a,b){a.ua=b.oD();a.incompleteSearch=b.incompleteSearch;a.ma=b.iX();a.suggestionSessionId=b.En()};OR.prototype.Ba=function(a){hfe(this,a.currentTarget.ma)};OR.prototype.W=function(a){a=a.currentTarget;var b=this.request.Qj()-this.count;b>0&&Bbe(a)&&(this.O+=b,this.kva(a))};var ife=function(a,b){var c;b!=null&&(c=K0d(b))!=null&&(a=_.qKd(a.ee()),_.I(c,3,a));b==null||b.Vi()};_.h=OR.prototype;
_.h.g1a=function(a,b){if(_.tP(this.request)&&a.length>0){if(b===2){a=_.hQ(this.Da,106031);if(this.Ff.length>0){this.logger.info("Got a prefetched import, but ignoring it. Size: "+(this.getSize()+", Status: "+this.iA()+"."));var c;a!=null&&(c=K0d(a))!=null&&_.J(c,1,!0);ife(this,a);return!1}var d;if((d=this.Iz)==null?0:Cbe(d)){this.logger.info("Got a prefetched import. Canceling pending requests.");var e;a!=null&&(e=K0d(a))!=null&&_.J(e,2,!0);this.Iz.cancel()}ife(this,a)}this.NBa()}return!0};
_.h.Wub=function(){var a;if(a=this.H){a:{a=this.Ff;for(var b=this.H||_.Ha,c=1;c<a.length;c++)if(b(a[c-1],a[c])>0){a=!1;break a}a=!0}a=!a}a&&(mbe(this,"ViewCache unsorted after import"),this.context.CD.sort(this.request,this.Ff))};
_.h.sF=function(a,b){if(this.gwb&&!_.tP(this.request)){if(b)return!0;if(!this.Ga){var c=a.getId();b=!!this.Ff.find(function(e){return c===e.getId()},this);a=P8d(this.context.vB,this.request,a.getItem());return b&&a}}if(!P8d(this.context.vB,this.request,a.getItem()))return!1;var d=this.request.Qj()*1.2;if(this.iA()===1||!this.H||q7d(a.Sr,2)||this.count<d||b||OSd(a.getItem()))return!0;b=this.Ff.length===0?null:this.Ff[this.Ff.length-1];return!!b&&this.H(a,b)<=0};
_.h.J1=function(a,b){if(_.tP(this.request)&&!b)return!1;this.H?_.cEd(this.Ff,a,this.H):this.Ff.push(a);jfe(a)&&this.count++;return!0};_.h.lI=function(a){var b=this;this.H?nQd(this.Ff,a,this.H):_.xa(this.Ff,a);jfe(a)&&this.count--;_.tP(this.request)&&_.ca.setTimeout(function(){return afe(b,!0)},0);return!0};_.h.KXa=function(a){return this.H?_.Ja(this.Ff,a,this.H):_.sa(this.Ff,a)};
_.h.nNa=function(a,b){jfe(b)&&this.count++;jfe(a)&&this.count--;this.H&&this.H(a,b)!==0?(nQd(this.Ff,a,this.H),_.cEd(this.Ff,b,this.H)):this.Ff[this.KXa(a)]=b;return!0};
_.h.LS=function(){if(this.iA()!==1&&!this.context.Xo().Hg()){var a=this.request.Qj()*1.2;if(!(a>=this.count||this.Iz&&a>=this.Iz.yc())){this.logger.info(this.GM()+" | Evicting...");a=this.count-this.request.Qj();for(var b=this.Ff.length-1;b>=0&&a>0;b--){var c=this.Ff[b];q7d(c.Sr,2)||OSd(c.getItem())||(jfe(c)&&this.count--,_.wa(this.Ff,b),obe(this,c.getId()),a--)}bfe(this,!1)}}};var jfe=function(a){return!q7d(a.Sr,2)&&_.Wf(a.getItem())!==3};
OR.prototype.Ckb=function(a){var b=this,c=_.AP(this.request);c.length&&(c=c.some(function(d){return(d=b.context.Tg().xn.nn(_.E(d,1)))&&_.wh(d,108)}),kfe(this.context.R$,a,c))};OR.prototype.Bkb=function(){this.LS()};OR.prototype.Vub=function(a){var b;return!!(this.iA()!==1&&a.Qj()>this.count&&((b=this.Iz)==null?0:Cbe(b)))};OR.prototype.TIa=function(){ffe(this);this.count=0;this.Ff=[]};var lfe=function(a,b,c,d,e,f,g,k,l,m){_.ui.call(this);this.Td=a;this.ua=b;this.ma=c;this.Ga=d;this.Ba=e;this.H=f;this.V=g;this.W=k;this.O=l;this.Da=m;this.handler=new _.Lg(this);this.Sa(this.handler);this.logger=this.Td.Kf("sync.ProgressiveSyncer")};_.P(lfe,_.ui);
var ofe=function(a,b,c){var d;if((d=_.br(a.H))==null?0:_.N(d,15,!1)){var e,f=(e=a.O.get(b))==null?void 0:e.H;if(f!==1){var g,k,l,m,q;if(c&&((g=a.H)==null?0:(k=_.br(g))==null?0:_.N(k,19,!1))&&((l=a.H)==null?0:(m=_.PQ(l))==null?0:_.N(m,9,!1))&&((q=a.H)==null||!_.LP(q)))return a.Ba.then(function(){return f===2?(a.logger.info("Skipping "+b+" backfill. It is too large (1000+)."),Promise.resolve([])):mfe(a,b)});c!==void 0&&nfe(a,b,c?3:1)}}return Promise.resolve([])},mfe=function(a,b){var c=a.ma.H(106034),
d=_.Cka(new _.cf,[(new _.vf).Lb(b)]);_.Qh(d,_.Ve(new _.Se,1490));var e=new KR(a.Td,a.Ga,a.H,a.V,a.Da,d,!1,!0);a.logger.info("Paginating to cache 1000 items for "+b);var f=new _.By,g=[];a.handler.listen(e,"Ka",function(k){g=k.changes});Ebe(e,1E3).then(function(){nfe(a,b,Bbe(e)?2:1).then(function(){if(c){var k=L0d(c).Tb(1);k=_.J(k,3,Bbe(e));var l=e.yc();_.Ug(k,4,l);c.Vi();Bbe(e)&&a.logger.info(b+" is too large (1000+) to backfill.")}f.resolve(g)},function(k){if(c){var l=L0d(c).Tb(3);_.I(l,2,2);c.Vi()}f.reject(new _.wf("Error updating "+
b+" after backfill.",null,k))})},function(k){if(c){var l=L0d(c).Tb(3);_.I(l,2,1);c.Vi()}f.reject(new _.wf("Error trying to backfill "+b,null,k))});return f.promise},nfe=function(a,b,c){var d,e;if((d=a.H)==null?0:(e=_.br(d))==null?0:_.N(e,19,!1))return pfe(a,b).then(function(){var f=a.O.get(b);f?M2d(a.ua,f,c,"sync.ProgressiveSyncer"):a.logger.uc("Failed setting backfillStatus for "+b+" to "+(c+". Folder is unexpectedly null"))});a.logger.info("Setting backfillStatus for "+b+" to "+c+".");(d=a.O.get(b))!=
null&&(d.H=c);return Promise.resolve()},pfe=function(a,b){if(a.O.get(b))return Promise.resolve();a.logger.info("Refreshing "+b+" before setting backfill status.");var c=_.Ve(new _.Se,1497);return a.W.tL([b],c).then(function(){return Promise.resolve()})};var qfe=new Set([273]),PR=function(a,b){_.ui.call(this);var c=this;this.context=a;this.Cf=b;this.V={};this.Da=!1;this.logger=a.Td.Kf("sync.cache.CacheManager");this.handler=new _.Lg(this);this.Sa(this.handler);this.H=this.context.Ld;this.PA=new Xbe(a.Iq,a.Td);this.context.Oo.V.H=this.PA;var d;if((d=_.br(this.H))==null?0:_.N(d,15,!1))b=new Ube(a.vB,a.CD),this.PA.add(b),a.Gya.promise.then(function(){var e,f,g,k;(g=c.PA)==null||(k=g.O)==null||O8d(k,!((e=c.PA)==null?0:(f=e.H)==null?0:f.gJ))});this.O=
new eee(a.a5,a.vB,a.CD,a.Td);this.W=new Yde(a.Td,this.Cf);this.xn=new q4d(this.Cf,this.context.Iq,this.O,this.W);this.context.Oo.V.V=this.xn;this.GH=new Kbe(this.context,this.Cf,this.V,this.O);this.Qba=new Pee(this.context,this.O);this.Ba=new Rde(this.context,this);this.Ba.addOnDisposeCallback(function(){c.Ba=null});this.Ia=xQd(_.xP(this.Cf),rfe);this.context.Po.addRule(["NSockf"],function(){return c.initialize()});this.ua=_.jm();this.context.Po.addRule(["BNEDtc"],function(){c.ua.resolve()});this.mx=
new Bee(this.H,this.context.Td,a.Rp(),this.context.Oo,this.context.L2.promise);_.zP(this.H)&&this.handler.listen(this.mx,v9d,this.Ga.bind(this));this.EPa=new _.mLd(this.H,this.xn);this.ma=new Uee(this.EPa);this.Ka=new lfe(a.Td,this.context.NZ,a.Oo,a.Rp(),a.L2.promise,a.Ld,this.xn,this.GH,this.O,a.dispatchEvent)};_.P(PR,_.ui);
PR.prototype.Ga=function(a){var b=a.getPeople();this.logger.info("Handling PeopleCache updated with "+b.length+".");var c=new Set;a=new Set;b=_.n(b);for(var d=b.next();!d.done;d=b.next()){d=_.E(d.value,1);for(var e=this.mx.Fd(d),f=_.n(e),g=f.next();!g.done;g=f.next())c.add(g.value);if(f=e=e[e.length-1])d=this.mx.H.get(d),f=!(!d||d.mf()!==1&&d.mf()!==4||lee(d)===3);f&&a.add(e)}b=[];c=_.n(c);for(d=c.next();!d.done;d=c.next())e=d.value,(d=this.O.get(e))?(e=d.getItem().clone(),sfe(this,e),b.push(L8d(d,
new AR(e,void 0,1)))):this.logger.uc("b/154479164 Unexpected missing wrapper for "+e+".");tfe(this,b,[]);this.context.nx.update(6);a.size&&this.GH.tL([].concat(_.Eb(a)),_.Ve(new _.Se,311))};PR.prototype.initialize=function(){ufe(this);this.Ba.Cj()};
var V8d=function(a,b,c,d,e,f){f=f===void 0?"":f;b=bR(a.context.Iq,b);var g=QR(a,b);a.logger.info("Initializing cache with "+c.length+" items for key '"+g+"'");var k=a.V[g];k?(d.wc()||hfe(k,d),a.Dq(c,1,b,!!f,void 0,e),f&&_.TFd(a.context.Oo,269493849)):(k=new OR(a.context,b),vfe(a,g,k),aee(a.W,b.O(_.wg)),efe(k,c,d,f,e))};
PR.prototype.ho=function(a,b){if((0,_.VO)(b))if(c4d(b,!1))a=this.context.OZ.get().ho(a,b);else if(c4d(b,!0))a=this.context.PZ.get().ho(a,b);else{var c;_.qi(b)&&((c=_.br(this.H))==null?0:_.N(c,77,!1))?a=this.context.Hya.get().ho(a,b):(b=bR(this.context.Iq,b),aee(this.W,b.O(_.wg)),Ree(this.Qba,b),b=wfe(this,b),b.cache.ho(a),a=b.nQ)}else if(b instanceof _.lr)b=xfe(this,b),aee(this.W,b.O(_.wg)),b=yfe(this,b),b.cache.ho(a),a=b.nQ;else if(b instanceof _.Er)b=zfe(this,b),b.cache.ho(a),a=b.nQ;else if((0,_.DId)(b)){_.N(this.context.Ld,
1,!1)&&Ree(this.Qba,b);c=this.W;var d=b.O(_.wg);$de(c,c.H,c.O,d);b=yfe(this,b);b.cache.ho(a);a=b.nQ}else throw Error("Di");return a};PR.prototype.YSa=function(a,b){a=b.O(_.wg);a.includes(273)||(a.push(273),_.bf(b,a),a=bR(this.context.Iq,b),a=QR(this,a),this.V[a].tj(b))};
PR.prototype.xr=function(a,b){if((0,_.VO)(b)){if(c4d(b,!1)){this.context.OZ.get().xr(a,b);return}if(c4d(b,!0)){this.context.PZ.get().xr(a,b);return}var c;if(_.qi(b)&&((c=_.br(this.H))==null?0:_.N(c,77,!1))){this.context.Hya.get().xr(a,b);return}b=bR(this.context.Iq,b);Tee(this.Qba,b)}else if(b instanceof _.lr)b=xfe(this,b);else if(b instanceof _.Er||b instanceof _.zN)(0,_.DId)(b)&&_.N(this.context.Ld,1,!1)&&Tee(this.Qba,b);else throw Error("Di");b=QR(this,b);if(c=this.V[b])c.xr(a),c.isDisposed()&&
delete this.V[b]};
var QR=function(a,b){return a.context.Iq.H(b,2)},wfe=function(a,b){var c=QR(a,b),d=a.V[c];if(d)return d.iA()==3?(a.logger.info(c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):a.logger.info(c+" | ItemQueryRequest backed by existing view cache"),{cache:d,nQ:!1};var e=[],f=5;d="";for(var g=Ybe(a.PA),k=0;k<g.length;k++){var l=g[k];f=l.nM(b);if(f!=5){var m=f==1?void 0:b.Qj();e=l.DFa(b,m);m=l.mf();l instanceof BR&&(d=l.nextPageToken);a.logger.info(c+" | ItemQueryRequest backed by "+l.getType()+
" | size "+(l.getSize()+" | initial "+e.length));break}}f==5&&a.logger.info(c+" | ItemQueryRequest backed by new cache");a.context.Xo().Hg()&&(e=e.concat(a.O.query(b,1)),_.Ga(e,void 0,function(q){return q.getId()}),f=(f=a.PA.H)&&f.tna&&f.nM(b)!=5?f.nM(b):6,a.logger.info("Offline: Populate with "+e.length+" initial items(s)"));l=new OR(a.context,b);dfe(l,e,f!==1,d,m,a.O.query(b,2)).then(null,function(q){var r;if(r=q instanceof _.wf){var t;r=((t=q.yg)==null?void 0:t.Nla())||0;r=r>=400&&r<500}r||(q=
_.Jr(_.aO(q,48)),a.context.dispatchEvent(new _.xf(new _.wf("Error during view cache init",q))))});vfe(a,c,l);return{cache:l,nQ:!0}},zfe=function(a,b){var c=QR(a,b),d=a.V[c];if(d)return d.iA()==3?(a.logger.info(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):a.logger.info(c+" | TeamDriveQueryRequest backed by existing view cache"),{cache:d,nQ:!1};a.logger.info(c+" | ItemQueryRequest backed by new cache");d=new nce(a.context,b);d.refresh().then(null,function(){});vfe(a,
c,d);return{cache:d,nQ:!0}},yfe=function(a,b){var c=QR(a,b),d=!1,e=a.V[c];if(e&&e.CBa(b))a.logger.info("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.O.getAll(b.Lh(_.wg));b=Afe(a,b,f);d=!0;vfe(a,c,b);e?(Bfe(e,b),e.isDisposed(),e=b,a.logger.info("FindByIdsRequest backed by recreated query cache: "+c)):(e=b,a.logger.info("FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items.")))}return{cache:e,nQ:d}},Afe=function(a,b,c){var d;b instanceof _.lr?d=new vbe(a.context,
b):d=new Xee(a.context,b);c.length&&d.Dq(c,!0,8);d.refresh().then(null,function(){});return d};PR.prototype.i8=function(){return Object.values(this.V).filter(function(a){return a.ee()instanceof _.Er})};PR.prototype.yBb=function(a){var b=_.Ve(new _.Se,309),c=Zde(this.W,a).filter(function(e){return!qfe.has(e)});if(c.length){var d=Z3d(this.context.Iq,c,!0);this.logger.info("Refreshing "+a+" for secondary fields: "+d+".");this.GH.tL([a],b,!1,c)}};
var ibe=function(a,b,c){c&&c.length&&r4d(a.W,b,c);_.zP(a.H)&&Kde(a.mx,b)},W8d=function(a,b,c){if(b instanceof nce){var d=QR(a,b.ee());if(a.V[d]){a.logger.info(d+" | Cache already exists, ignoring persisted data");return}}b instanceof N8d&&a.PA.remove(b);d=new Map;var e=a.O.eD(),f=new Map(e);e=[];for(var g=_.n(b.eD()),k=g.next();!k.done;k=g.next()){k=k.value;var l=k.getId(),m=a.O.get(l);if(m){var q=_.Wf(m.getItem()),r=void 0;((r=_.br(a.H))==null?0:_.N(r,15,!1))&&k.H===1&&M2d(a.context.NZ,m,k.H,"sync.cache.CacheManager");
q==3||q==4?d.set(k.getId(),k.getItem()):m!=k&&e.push(new K8d(k.getId(),k,m));f.delete(l)}else{l=M8d(k);m=void 0;if((m=_.br(a.H))==null?0:_.N(m,15,!1))m=void 0,(m=a.PA.O)==null||m.update(l);a.O.update(l);a.ma.update(l);_.zP(a.H)&&a.mx.RF(l)}_.zP(a.H)&&sfe(a,k.getItem())}f=_.n(f.values());for(g=f.next();!g.done;g=f.next())e.push(M8d(g.value));a.logger.info("Applying "+e.length+" updates to newly added CorpusCache");e=_.n(e);for(f=e.next();!f.done;f=e.next())b.update(f.value);e=b instanceof JR||b instanceof
N8d?QR(a,b.ee()):null;b instanceof nce?vfe(a,e,b):a.PA.add(b);f=[];d=_.n(d.values());for(g=d.next();!g.done;g=d.next())g=g.value,k=new _.qQ,_.rQ(k,g.Pb()),k.setItem(g),f.push(k);a.us(f);a.logger.info("Merged cache: "+b.getType()+" | size "+(b.getSize()+" key: "+e));if(b instanceof MR)for(c=_.n(c),d=c.next();!d.done;d=c.next())a.context.GPa.propagate(d.value,void 0,303);b instanceof BR&&Cfe(a,b.ee(),!b.Nl);a.context.nx.update(3)},Cfe=function(a,b,c){var d;if(((d=_.br(a.H))==null?0:_.N(d,15,!1))&&b4d(a.context.Iq,
b)){var e=W3d(b);e&&ofe(a.Ka,e,c).then(function(f){f.length&&(a.logger.info("Handling "+f.length+" changes for the "+(e+" backfill.")),a.us(f))})}},Bfe=function(a,b){(new Set(a.uF)).forEach(function(c){b.ho(c);a.xr(c)})};
PR.prototype.Dq=function(a,b,c,d,e,f){var g=this;f=f===void 0?0:f;this.logger.info("Importing "+a.length+" items | dataSource: "+f);e||(e=c?[].concat(_.Eb(c.O().filter(function(y){return!_.xP(g.Cf).includes(y)}))):[]);c&&c instanceof _.cf&&_.qi(c)&&Dfe(this,a,c,f);for(var k=[],l=[],m=0;m<a.length;m++){var q=a[m],r=new AR(q,void 0,b),t=this.O.get(_.ve(q)),u=t?t.getItem():null,v=Efe(this,t,r);if(v!=null)r.Gq(v),Ffe(this,u,q),NSd(q),q=U4d(q,u,this.Cf,e),r.setItem(q);else if(t!=null)r=t,q=u;else continue;
_.zP(this.H)&&sfe(this,q);!t||Gfe(this,u,q,e)?(l.push(L8d(t,r)),k.push(r)):k.push(t)}a=null;c&&(c instanceof _.cf&&(Cfe(this,c,d),(a=$be(this.PA,c))&&a.Dq(k,!!d)),c=QR(this,c),(a=this.V[c])&&a.Dq(k,!!d,f));if(l.length>0){_.zP(this.H)&&l.forEach(function(y){return g.mx.RF(y)});var x;if((x=_.br(this.H))==null?0:_.N(x,39,!1))d=l.map(function(y){return y.H}).filter(function(y){return y!==null}).map(function(y){return y.getItem()}),d.length>0&&Hfe(this.context.zsa.get().O.get(),d,f);tfe(this,l,e,a?[a]:
[]);Ife(this,k)}pbe(this.context)};
var sfe=function(a,b){Kee(a.mx,b)||_.Wf(b)!=5||b.KF(1)},Gfe=function(a,b,c,d){if(b=b?_.yj(b.clone(),82):null)ibe(a,[b],d),(0,_.EIa)(b);c=_.yj(c.clone(),82);ibe(a,[c],[]);return!_.Rh(b,c)},Dfe=function(a,b,c,d){Jfe(a,b,d);b.forEach(function(e,f){var g=a.xn.nn(_.ve(e));g&&(wQd(g,e,[1002,1005],a.Cf),b[f]=g);_.qi(c)&&_.BP(c).length>0&&_.Wq(e,_.BP(c)[0])})},Jfe=function(a,b,c){var d=b.map(function(e){return _.ve(e)}).join(", ");a.logger.info("Got "+b.length+" ItemSuggest items from "+c+" for quick access: "+
d)},qae=function(a,b){var c=new Map;b=_.n(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c.get(d.Sr)||c.set(d.Sr,[]),c.get(d.Sr).push(d);c=_.n(c);for(b=c.next();!b.done;b=c.next())d=_.n(b.value),b=d.next().value,d=d.next().value,a.Dq(wSd(d),b)};PR.prototype.Gra=function(a){this.EPa.Gra(a)};
PR.prototype.us=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=_.pPd(e)?null:e.getItem(),g=e.kd(),k=(g=this.O.get(g))?g.getItem():null,l=null;if(f){l=new AR(f,void 0,void 0,_.Nj(e,1)||void 0);var m=Efe(this,g,l);if(m==null)continue;l.Gq(m);Ffe(this,k,f);_.N(e,5,!1)&&AQ(f,BQd,this.Cf);NSd(f);f=U4d(f,k,this.Cf);l.setItem(f);_.zP(this.H)&&sfe(this,f)}if(k&&!f||f&&Gfe(this,k,f,[]))k&&f&&Kfe(this,k,f)||(k=void 0,this.context.hab.tX(e,(k=f)!=null?k:void 0)),c.push(L8d(g,l))}_.zP(this.H)&&
c.forEach(function(r){b.mx.RF(r)});var q;if((q=_.br(this.H))==null?0:_.N(q,39,!1))a=c.map(function(r){return r.H}).filter(function(r){return r!==null}).map(function(r){return r.getItem()}),a.length&&Hfe(this.context.zsa.get().O.get(),a,1);tfe(this,c,[])};
var Kfe=function(a,b,c){if(!fR(b)||!fR(c))return!1;var d=[235,218];b=b.clone();AQ(b,d,a.Cf);c=c.clone();AQ(c,d,a.Cf);return _.Rh(b,c)},Ffe=function(a,b,c){if(b){var d=new Set;if(!c.W())for(var e=_.n(a.Ia),f=e.next();!f.done;f=e.next())d.add(f.value);vQd(c)||d.add(1002);c.wI().length||d.add(1005);wQd(c,b,d,a.Cf)}var g;d=b==null?void 0:(g=b.Bh())==null?void 0:_.he(g);var k;g=(k=c.Bh())==null?void 0:_.he(k);d&&g&&Ffe(a,d,g);b&&_.wh(b,31)&&!_.wh(c,31)&&(AQ(c,BQd,a.Cf),a.logger.info("Cleared Item Suggest data for "+
_.ve(b)+"."))};PR.prototype.hF=function(a,b){if(a instanceof _.cf||a instanceof _.lr||a instanceof _.Er)a=QR(this,a),(a=this.V[a])&&a.CN(b);else throw Error("Di");};
var Efe=function(a,b,c){var d=c.getItem();if(rbe(a.context.Qka,d))return null;if(b){a=b.Sr;var e=c.Sr;if(!(e>=0?!a||a<=e:1))return null;a=b.getItem();if(_.Wf(a)!=3&&!fR(a)&&!fR(d)&&a.Fj()==d.Fj())if(_.Nj(a,75)&&_.Nj(d,75)){if(_.Nj(a,75)>_.Nj(d,75))return null}else if(b.O&&c.O){if(b.O>c.O)return null}else if(a.SV()>d.SV())return null}return p7d(b&&b.Sr,c.Sr)};PR.prototype.jZ=function(a,b){(a=this.O.get(a))&&a.Gq(p7d(a.Sr,b))};
var tfe=function(a,b,c,d){d=d===void 0?[]:d;var e;if((e=_.br(a.H))==null?0:_.N(e,15,!1)){e=_.n(b);for(var f=e.next();!f.done;f=e.next())f=f.value,f.O&&f.H&&M2d(a.context.NZ,f.H,f.O.H,"sync.cache.CacheManager")}e=_.n(b);for(f=e.next();!f.done;f=e.next())f=f.value,a.W.update(f.id,f.H?f.H.getItem():null,c);c=Object.values(a.V);d=_.n(d);for(e=d.next();!e.done;e=d.next())_.xa(c,e.value);d=_.n(c);for(c=d.next();!c.done;c=d.next())lbe(c.value,b);d=new Set;c=Ybe(a.PA);c=_.n(c);for(e=c.next();!e.done;e=c.next()){e=
e.value;f=_.n(b);for(var g=f.next();!g.done;g=f.next())g=g.value,e.update(g)&&d.add(g.id);e instanceof MR&&e.getSize()>=e.limit*1.2&&Lfe(a.context.hab,e.teamDriveId,!1)}b=_.n(b);for(c=b.next();!c.done;c=b.next())c=c.value,a.O.update(c),a.O.get(c.id)||a.W.LS(c.id),a.ma.update(c);d.size&&a.context.nx.IIa(d.size);b=a.ma.O.slice(0);d=Vee(a.ma);c=a.ma;c.O=[];c.V=[];b.length&&(a.logger.info("Refreshing shortcuts with unknown targets: "+b.join(", ")),c=new _.Se,_.Ve(c,308),a.GH.tL(b,c,!0));if(d.length){a.logger.info("Updating locally stale shortcuts: "+
d.join(", "));d=s4d(a.xn,d);b=[];d=_.n(Object.values(d));for(c=d.next();!c.done;c=d.next())if(c=c.value,e=c.getItem().Bh(),f=_.E(e,1),f=a.xn.nn(f))_.Q(e,_.Oq,5,f),_.I(e,4,1),b.push(c);qae(a,b)}},S$d=function(a){pbe(a.context);a.O.LS()},xfe=function(a,b){_.mr(b,[].concat(_.Eb(b.O())).sort());var c=_.sa(b.Lh(),"root");if(c<0)return b;b=b.clone();b.Lh(_.wg)[c]=a.context.yz();return b},ufe=function(a){var b=function(k){a.Dq([k],1);CR(a.context.Po,"hVFf7")},c=_.K(a.context.Ld,_.Oq,12),d=c==null?void 0:
c.Pb();d&&a.context.Ty(d,"config");if(c){var e=(new _.Oq).Bb(d);if(!_.Rh(c,e)){b(c);return}}if(d!==void 0)b(Mfe(a,d));else{var f;if((f=_.br(a.context.Ld))==null?0:_.MN(f)){var g=!1;dSd(cSd(a.context.a5)).then(function(){g=!0},function(){Nfe(a,"root id timeout fetch")});a.context.A4a.promise.then(function(){_.ca.setTimeout(function(){g||Nfe(a,"root id missing fetch")},0)})}a.context.a5.then(function(k){b(Mfe(a,k))})}},Nfe=function(a,b){a.Da||(a.Da=!0,a.context.Rp().then(function(c){c.Nh(_.dTd(_.eTd(new _.KN,
_.yN(_.Ue(_.Ve(new _.Se,301),!0),1)),["account.metadata.root_folder_id"])).then(function(d){var e,f;(d=(e=d.jf())==null?void 0:(f=e.getMetadata())==null?void 0:_.E(f,2))&&a.context.Ty(d,b)},function(){})}))},Mfe=function(a,b){var c=_.rGd(_.tGd(new _.Tp,_.qO(_.hO(a.H))),!0);c=_.I(c,6,1);var d=_.z(_.hO(a.H),6,"");d&&c.Bb(d);a=_.Rac(_.Tq(_.kHd(_.Rq((new _.Oq).Bb(b).setTitle(_.z(a.H,38,"My Drive")),"application/vnd.google-apps.folder").In(!1),c),[c]),1);a=_.J(a,63,!0);a=_.nHd(a,!0);b=_.EGd(new _.vq,!0);
b=_.J(b,2,!1);b=_.GGd(_.FGd(_.J(b,3,!1),!1),!1);b=_.J(b,6,!0);b=_.J(b,7,!0);b=_.J(b,10,!1);b=_.JGd(b,!1);b=_.J(b,12,!1);return _.KP(a,_.KGd(_.IGd(_.HGd(b,!1),!1),!1))},Ife=function(a,b){a.ua.promise.then(function(){var c=b.filter(function(e){return _.Wf(e.getItem())==4});if(c.length){c=c.map(function(e){return e.getId()});a.logger.info("Refreshing "+c.length+" partial items. "+c);var d=_.Ve(new _.Se,311);a.GH.tL(c,d)}})};
PR.prototype.A_=function(a){var b=this;return this.ua.promise.then(function(){var c=bR(b.context.Iq,a,!0),d=b.context.Iq.H(c);if($be(b.PA,c))b.logger.info("Cache hint exists, skipping backfill for "+d);else{var e=new BR(b.context.vB,b.context.CD,b.context.Iq,c);c=new Tbe(b.context,e,c);var f=Jde(b.context.aB,null);return c.Cj().then(function(){cce(e,f,b.context.NZ).then(function(g){W8d(b,e,g)})}).then(function(){Lde(b.context.aB,null);b.logger.info("Cache hint backfill succeeded for "+d)},function(){Lde(b.context.aB,
null);b.logger.info("Cache hint backfill failed for "+d)})}})};PR.prototype.Ir=function(){var a=this.PA.H;return a&&a.gJ?1:2};var vfe=function(a,b,c){a.V[b]=c;a.logger.info(b+" | Set cache with "+c.getSize()+" items")},rfe=[50];var Ofe=function(a,b,c){xR.call(this,c,function(d){return a.then(function(e){return e.Nh(d)}).then(null,function(e){throw _.TN(e);})});this.Zg=b};_.P(Ofe,xR);_.h=Ofe.prototype;_.h.hCa=function(a,b,c){a=a.clone().Ym(b);return new _.BEd(a,c)};_.h.UEa=function(a){return a.pageToken||""};_.h.hEa=function(a){return a.response.Kea(_.wg)};_.h.Oka=function(a){this.Zg.lr(a.map(N9d),!1,1)};_.h.eeb=function(a){this.Zg.hF(this.request,a)};var Pfe=function(a,b,c,d){d=d.clone();tR.call(this,a,d);this.O=b;this.Zg=c;this.entries=[];this.H=null};_.P(Pfe,B7d);Pfe.prototype.refresh=function(){this.Vj(this.mf()===0?1:6);this.H=new Ofe(this.O,this.Zg,this.request);return this.H.Cj(this.request.Qj()||100).then(function(){})};var Qfe=function(a,b){return a.entries.find(function(c){return c.key===b})};_.h=Pfe.prototype;_.h.deb=function(a){this.H&&a===_.Rj(this.request,2)||(this.request.Ym(a),this.H?this.H.Cj(a):this.refresh())};
_.h.tj=function(){var a=this,b=H5d((new lR).Tb(this.getStatus()),this.entries.filter(function(c){return a.Zg.isValid(c)}).map(function(c){return c.value.clone()}));return new M4d(b,void 0,void 0,this.mf())};_.h.lr=function(a,b,c){var d=this;a=a.filter(function(e){return(e=e.value)?_.Zg(e,3)===_.E(d.request,1):!0});return B7d.prototype.lr.call(this,a,b,c)};_.h.zU=function(a){this.lr(a.map(function(b){return new EQ(b,null)}),!0,1)};
_.h.Sz=function(a,b){b=b===void 0?1:b;var c=_.n(a.CE()),d=c.next().value;c=c.next().value;if(!lSd(d?this.ma.get(d)||null:null,b))return!1;var e=b===-1?0:this.entries.length,f=this.entries.findIndex(function(k){return k.key===d}),g=!1;f>-1&&(this.entries.splice(f,1),e=f,g=!0);c&&(this.entries.splice(e,0,a),g=!0);g&&Rfe(this,d,b);return g};
var Rfe=function(a,b,c){Qfe(a,b)?B7d.prototype.jZ.call(a,b,c):a.ma.delete(b)},Sfe=function(a,b){return u3d(b)&&b.kd()===_.E(a.request,1)?kZd(b).map(function(c){return M9d(c.iB())}).map(function(c){return Qfe(a,c)}).filter(function(c){return!!c}).map(O9d):[]};var Ufe=function(){this.H=new Set;this.O=new Tfe},Vfe=function(a,b){a.H.add(b)},rbe=function(a,b){if((0,_.apa)(b)&&Wfe(a.O,b))return!0;b=b instanceof _.Oq?_.ve(b):b;return a.H.has(b)},Yfe=function(a,b){var c=_.Uj(b,2);if(c){var d;b=(d=b.ee())==null?void 0:_.Zg(d,4);a=a.O;c=new Xfe(c,b,a);a.O.add(c);return c}},Ibe=function(a,b){return b.filter(function(c){return!rbe(a,c)})},Tfe=function(){this.H=new Map;this.O=new Set},Wfe=function(a,b){if(!b.Yl())return!1;var c=_.Nj(b,96);if(!c)return!1;b=b.qn();
var d;if((d=a.H.get(b))==null?0:b===d.driveId&&c<=d.timestampMillis)return!0;a=_.n(a.O);for(d=a.next();!d.done;d=a.next())if(d=d.value,b===d.driveId&&c<=d.timestampMillis)return!0;return!1};Tfe.prototype.commit=function(a){this.O.delete(a);if(this.H.has(a.driveId)){var b=this.H.get(a.driveId);a.timestampMillis>b.timestampMillis?(this.H.set(a.driveId,a),a=!0):a=!1}else this.H.set(a.driveId,a),a=!0;return a};Tfe.prototype.V$=function(a){return this.O.delete(a)};
var Xfe=function(a,b,c){this.timestampMillis=a;this.driveId=b;this.cache=c};Xfe.prototype.commit=function(){return this.cache.commit(this)};Xfe.prototype.V$=function(){return this.cache.V$(this)};var Zfe=function(a,b,c){c=c===void 0?new Ufe:c;sR.call(this,function(e){return e.kd()},function(e){return new Pfe(d.V,d.ma,d,e)});var d=this;this.V=a;this.ma=b;this.H=c};_.P(Zfe,sR);var age=function(a,b){Vfe(a.H,P9d(b));b=b.value;(a=$fe(a,b==null?void 0:b.kd()))&&a.lia()},$fe=function(a,b){if(b)return a.VDa(_.Syd(b))},bge=function(a,b){var c=[];a=_.n(a.O.values());for(var d=a.next();!d.done;d=a.next())c.push.apply(c,_.Eb(Sfe(d.value,b)));return c};
Zfe.prototype.zU=function(a,b){b=(b=b?this.VDa(b):null)?[b]:this.O.values();b=_.n(b);for(var c=b.next();!c.done;c=b.next())c.value.zU(a)};Zfe.prototype.jZ=function(a,b){for(var c=_.n(this.O.values()),d=c.next();!d.done;d=c.next())d.value.jZ(a,b)};Zfe.prototype.us=function(a){a=_.n(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=$fe(this,_.ve(b)))&&b.refresh()};Zfe.prototype.isValid=function(a){return!rbe(this.H,P9d(a))};var cge=function(a,b){this.H=a;this.Zg=b},dge=function(a,b){b=_.Syd(b);var c=new Ofe(a.H,a.Zg,b);new Promise(function(d,e){return c.Cj(100).then(d,e)})};var ege=function(){this.Ff={}},Jde=function(a,b){fge(a,"subscribed");b&&fge(a,b);return a.Ff[b||"subscribed"].he.promise},fge=function(a,b){a.Ff[b]||(a.Ff[b]={count:0,Z1:[],bBb:[],he:new _.By});a.Ff[b].count++},Lde=function(a,b){b&&!gge(a,b)||gge(a,"subscribed")},gge=function(a,b){if(!a.Ff[b])return!1;a.Ff[b].count--;a.Ff[b].count===0&&(a.Ff[b].he.resolve({items:a.Ff[b].Z1,YDc:a.Ff[b].bBb}),_.Dc(a.Ff,b));return!0};
ege.prototype.us=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=_.E(e,7);f&&f===_.E(e,2)&&c.Ff[f]&&c.Ff[f].bBb.push(e);c.Ff[d]&&c.Ff[d].Z1.push(e)})};var hTd=function(a,b,c,d){d=d===void 0?!1:d;qR.call(this,a,c);this.V=b;this.ma=d};_.P(hTd,qR);_.h=hTd.prototype;
_.h.get=function(a){var b=this,c,d,e,f,g,k,l,m;return _.Li(function(q){if(q.H==1)return _.Di(q,b.yp(a),2);c=q.O;c.request&&c.response?(d=c.response.clone(),!b.rN(c.request,a,!0)&&_.cq(c.request)&&(_.cq(a)===0?d.Blb():(e=_.cq(a),l=k=g=f=0,m=d.xI().filter(function(r){return _.SBd(r)&&f++<e||_.qj(r,_.gr,3,_.ir)&&g++<e||_.qj(r,_.fr,4,_.ir)&&k++<e||b.ma&&_.qj(r,_.DIa,5,_.ir)&&l++<e}),d.H8a(m))),d.m7()===0&&d.Tb(1)):d=new _.Mr;return q.return(new MQ(d,c.oe,c.eq))})};_.h.bna=function(a){return a.clone()};
_.h.Pba=function(a){return _.ri(a,3,0)||0};_.h.rN=function(a,b,c){if(c)return _.Rh(a,b);var d,e;return((d=_.cq(a))!=null?d:0)>=((e=_.cq(b))!=null?e:0)};_.h.Eya=function(a,b){a=rR(this).response;return _.Gk(b,3)&&(!a||_.Yg(a,3)<_.Uj(b,3))};var hge=function(a){var b=rR(a);if(b&&b.request&&_.cq(b.request)&&b.response){var c=ySd(b.response);a=c.length?Object.values(a.V.FM(c)).filter(function(d){return!!d}):[];return d6d(c6d(b6d(new nR,b.request),b.response),a)}return null};var ige=function(a){_.ui.call(this);var b=this;this.O=a;this.H=null;this.addOnDisposeCallback(function(){b.unsubscribe()})};_.P(ige,_.ui);ige.prototype.update=function(a){if(!this.isDisposed()){if(this.H&&this.H.Lh().length===a.length){var b=new Set(this.H.Lh());if(a.every(function(d){return b.has(d)}))return}var c=null;a.length&&(a.sort(),c=(new _.zN).No(a),Ree(this.O,c));this.unsubscribe();this.H=c}};ige.prototype.unsubscribe=function(){this.H&&(Tee(this.O,this.H),this.H=null)};var jge=function(a,b,c,d){tR.call(this,a,c);var e=this;this.Ba=d;this.ua=new Set;this.W=!1;this.data=this.H=null;this.eq=!1;this.O=null;this.Ga=_.Sj(c,6,0)||0;var f=new _.By;this.Ka=f.promise;a.then(function(g){var k=new $ae(function(l){if(e.H){var m=e.H.clone().Tb(l.getStatus());l=new Map(Object.entries(l.Dn()));for(var q=_.n(m.xI()),r=q.next();!r.done;r=q.next()){r=r.value;var t=r.getItem();if(t&&t.getId()&&l.has(t.getId())){(t=l.get(t.getId()))&&_.Gk(t,23)&&e.ua.add(_.ve(t));if(t&&_.SBd(r)&&_.Fk(t,
152)){var u=_.kk(r,_.er,2,_.ir),v=_.Rj(t,152);_.Tg(u,2,v)}!t||t.Yl()||e.ua.has(_.ve(t))&&!_.wh(t,31)||(_.SBd(r)&&_.Fk(t,152)?_.Rj(t,152)<=0:_.qj(r,_.fr,4,_.ir)&&_.Ek(t,153)&&!_.wh(t,153))?_.nj(r,1):r.setItem(t)}}e.lr([m],m.getStatus()!==1);l=new Set;m=_.n(m.xI());for(q=m.next();!q.done;q=m.next())q=q.value,(r=q.getItem())&&_.SBd(q)&&_.Vq(r)&&!_.wh(r,31)&&l.add(_.Vq(r));e.Ia.update([].concat(_.Eb(l.values())))}});e.Sa(k);lae(g,k);f.resolve(k)});this.Ia=new ige(b);this.Sa(this.Ia)};_.P(jge,tR);
jge.prototype.lU=function(){kge(this)};jge.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=_.tPd(this.request.clone(),2);a&&_.lHa(b,a);return this.getData(b,!1)};
var lge=function(a,b){b=_.Uj(b,3);a.Ga<=0||!b||(a.O&&(clearTimeout(a.O),a.O=null),b=Math.max(6E4,b+a.Ga-Date.now()),a.O=setTimeout(function(){a.refresh(_.yN(_.Ue(_.Ve(new _.Se,306),!1),2))},b))},kge=function(a){a.H===null&&a.getData(a.request).then(function(){},function(b){b=b.yg;a.CN(new wR(b,_.Rj(b,9)||0))})};
jge.prototype.getData=function(a,b){var c=this;b=b===void 0?!0:b;return this.Ba.get(a).then(function(d){c.Vj(d.oe);c.eq=d.eq;mge(c,d);c.Ka.then(function(e){var f=new Set,g,k,l=_.n((k=(g=d.response)==null?void 0:g.xI())!=null?k:[]);for(k=l.next();!k.done;k=l.next())g=void 0,(k=(g=k.value.getItem())==null?void 0:g.getId())&&f.add(k);f.size&&e.l4(_.mr((new _.lr).No([].concat(_.Eb(f.values()))),_.ak(a,5,_.Ff())))})},function(d){return(b&&QQd(d.yg)?h7d(c.Ba):Promise.resolve(!1)).then(function(e){if(e)return c.getData(a,
!1);throw d;})})};jge.prototype.tj=function(){return new MQ(this.data||(new _.Mr).Tb(6),this.mf(),this.eq)};var mge=function(a,b){a.W=!0;try{a.lr([b.response],b.response.getStatus()!==1)}finally{a.W=!1}};jge.prototype.Sz=function(a){if(this.W){this.H=a.clone();this.ua.clear();a=_.n(this.H.xI());for(var b=a.next();!b.done;b=a.next())b=b.value,b.Sw()&&fSd(b.getItem());this.data=this.H.clone();lge(this,this.H)}else this.data=a;return!0};var jTd=function(a,b,c,d,e){e=e===void 0?!1:e;sR.call(this,function(g){var k=f;if(k.Da){var l=k.Ba,m;((m=_.br(l.O))==null?0:_.N(m,62,!1))&&(m=_.K(g,_.aq,7))&&_.I(_.TAd(m,_.GBd.has(_.NP(l.O))?4:3),4,5)}l=_.ri(g,3,0)||0;m=""+l;l===2&&(m+="-"+k.V++);return m+=":"+(_.cq(g)||0)},function(g){return new jge(f.ma,f.ua,g,f.H)});var f=this;this.ma=a;this.H=b;this.ua=c;this.Ba=d;this.Da=e;this.V=0};_.P(jTd,sR);
jTd.prototype.sync=function(a,b){var c=this;b=b===void 0?0:b;if(!_.cq(a))return Promise.reject(new _.wf("Invalid HomepageActivityRequest to sync",new _.Gr));var d=b?Date.now()-b:0;return this.H.get(_.tPd(a.clone(),1)).then(function(e){if(!d||!_.Gk(e.response,3)||_.Uj(e.response,3)<d)return c.H.get(_.tPd(a.clone(),2)).then(function(){})})};var iTd=function(a,b,c){if(a.mf()===1||a.mf()===6||a.mf()===2){var d=_.Ve(new _.Se,311);c.GH.tL(ySd(a.getResponse()),d,void 0,void 0,void 0,!0).then(function(){b.update(8)},function(){b.update(8)})}};var oge=function(a,b,c,d,e){tR.call(this,a,b);var f=this;this.Ga=c;this.ua=d;this.Pa=e;this.Ka=new Set;this.Ba=!1;this.data=this.O=null;this.eq=!1;this.W=null;this.Ia=a.then(function(g){var k=new $ae(function(l){if(f.O){var m=f.O.clone().Tb(l.getStatus()),q=new Map(Object.entries(l.Dn()));l=nge(f,[].concat(_.Eb(m.WE())),q);q=nge(f,[].concat(_.Eb(m.YE())),q);m.Mva(l).Nva(q);f.lr([m],m.getStatus()!==1)}});f.Sa(k);lae(g,k,f.Pa);return k})};_.P(oge,tR);oge.prototype.lU=function(){pge(this)};
oge.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=_.uPd(this.request.clone(),2);a&&_.VAd(b,a);return this.getData(b,!1)};
var qge=function(a,b){var c,d,e,f,g=Math.min((e=(c=_.K(b,_.Np,14))==null?void 0:_.Op(c))!=null?e:Infinity,(f=(d=_.K(b,_.Np,15))==null?void 0:_.Op(d))!=null?f:Infinity);g!==Infinity&&(a.W&&(clearTimeout(a.W),a.W=null),b=g*1E3-Date.now(),a.W=setTimeout(function(){a.refresh(_.yN(_.Ue(_.Ve(new _.Se,306),!1),2))},Math.max(6E4,b)))},pge=function(a){a.O===null&&a.getData(a.request).then(function(){},function(b){b=b.yg;a.CN(new wR(b,_.Rj(b,9)||0))})};
oge.prototype.getData=function(a,b){var c=this;b=b===void 0?!0:b;return this.Ga.get(a).then(function(d){c.Vj(d.oe);c.eq=d.eq;var e=rge(c,d.response);sge(c,e);c.Ia.then(function(f){for(var g=new Set,k=_.n([].concat(_.Eb(e.WE()),_.Eb(e.YE()))),l=k.next();!l.done;l=k.next()){var m=void 0;(l=(m=l.value.getItem())==null?void 0:m.Pb())&&g.add(l)}g.size&&f.l4(_.mr((new _.lr).No([].concat(_.Eb(g))),_.vPd(a)))})},function(d){return(b&&QQd(d.yg)?h7d(c.Ga):Promise.resolve(!1)).then(function(e){if(e)return c.getData(a,
!1);throw d;})})};var rge=function(a,b){if(!a.ua.size)return b;b=b.clone();b.Mva(b.WE().filter(function(c){var d;c=(d=c.getItem())==null?void 0:d.Pb();return!(c&&a.ua.has(c))}));b.Nva(b.YE().filter(function(c){var d;c=(d=c.getItem())==null?void 0:d.Pb();return!(c&&a.ua.has(c))}));return b};oge.prototype.tj=function(){return new MQ(this.data||(new _.Nr).Tb(6),this.mf(),this.eq)};
var sge=function(a,b){a.Ba=!0;try{a.lr([rTd(a.request,b)],b.getStatus()!==1).then(function(c){c&&qge(a,b)})}finally{a.Ba=!1}};oge.prototype.Sz=function(a){this.Ba?(this.O=a.clone(),this.data=this.O.clone()):this.data=a;return!0};
var nge=function(a,b,c){var d=[];b=_.n(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.getItem(),g=void 0,k=(g=f)==null?void 0:g.Pb();if(f&&k&&c.has(k)){var l=void 0;g=(l=c.get(k))==null?void 0:l.clone().MN(f.wI());l=void 0;!g||((l=_.YCd(g))==null?0:l.jp())||_.VHd(g,_.YCd(f));g&&_.Xf(g).length&&_.Xf(f).length&&_.Xf(g)[0].Pb()===_.Xf(f)[0].Pb()&&(_.Hk(_.Xf(f)[0],3)&&!_.Hk(_.Xf(g)[0],3)&&_.Xf(g)[0].jd(_.Up(_.Xf(f)[0])),_.Hk(_.Xf(f)[0],5)&&!_.Hk(_.Xf(g)[0],5)&&_.Xf(g)[0].Qk(_.Zg(_.Xf(f)[0],
5)));g&&_.Gk(g,23)&&a.Ka.add(k);f=a;!g||_.Jh(g,7)||f.Ka.has(g.Pb())&&!_.Jh(g,31)||(e.setItem(g),d.push(e))}else d.push(e)}return d};oge.prototype.H=function(a){this.Ia.then(function(b){b.H(a)})};var wTd=function(a,b,c){sR.call(this,function(e){e=_.ri(e,3,0)||0;var f=""+e;e===2&&(f+=":"+d.ua++);return f},function(e){return new oge(d.Da,e,d.V,d.ma,d.Ba)});var d=this;this.Da=a;this.V=b;this.Ba=c;this.ma=new Set;this.ua=0};_.P(wTd,sR);wTd.prototype.H=function(a){this.ma.add(a);for(var b=_.n(this.O.values()),c=b.next();!c.done;c=b.next())c.value.H(a)};
wTd.prototype.sync=function(a,b){var c=this,d=(b=b===void 0?0:b)?Date.now()-b:0;return this.V.get(_.uPd(a.clone(),1)).then(function(e){if(!d||!_.Gk(e.response,3)||_.Uj(e.response,3)<d)return c.V.get(tge(a)).then(function(){})})};var tge=function(a){a=_.uPd(a.clone(),2);_.oj(a,_.aq,7)||_.WAd(a,new _.aq);_.I(JSd(a),5,2);return a};var uTd=function(a,b,c){qR.call(this,a,c);this.V=b};_.P(uTd,qR);_.h=uTd.prototype;_.h.get=function(a){var b=this;return this.yp(a).then(function(c){if(c.request&&c.response){var d=c.response.clone();if(!b.rN(c.request,a,!0)&&b.rN(c.request,a,!1)){var e=d.WE().slice(0,_.Sj(a,10));d.Mva(e);e=d.YE().slice(0,_.Sj(a,11));d.Nva(e)}}else d=new _.Nr;return new MQ(d,c.oe,c.eq)})};_.h.bna=function(a){return a.clone()};_.h.Pba=function(a){return _.ri(a,3,0)};
_.h.rN=function(a,b,c){return c?_.Rh(a,b):_.Sj(a,10)>=_.Sj(b,10)&&_.Sj(a,11)>=_.Sj(b,11)};_.h.Eya=function(a,b){a=rR(this).response;var c;return _.Gk(b,3)&&((c=a==null?void 0:_.Yg(a,3))!=null?c:0)<_.Uj(b,3)};var uge=function(a){var b=rR(a);if(b&&b.request&&b.response){var c=BSd(b.response);a=c.length?Object.values(a.V.FM(c)).filter(function(d){return!!d}):[];return h6d(g6d(f6d(new oR,b.request),b.response),a)}return null};var vge=function(a,b,c,d,e){tR.call(this,a,b);var f=this;this.Ga=c;this.Ba=d;this.Pa=e;this.ua=!1;this.data=this.O=null;this.Ka=new Set;this.W=null;this.Ia=a.then(function(g){var k=new $ae(function(l){if(f.O){var m=f.O.clone().Tb(l.getStatus());l=new Map(Object.entries(l.Dn()));for(var q=[],r=_.n(m.Gd()),t=r.next();!t.done;t=r.next()){t=t.value;var u=void 0,v=(u=t)==null?void 0:u.getId();v&&l.has(v)?(u=void 0,v=(u=l.get(v))==null?void 0:u.clone().MN(t.wI()).Uia(vQd(t)),u=void 0,!v||((u=_.YCd(v))==
null?0:u.jp())||_.VHd(v,_.YCd(t)),v&&_.Xf(v).length&&_.Xf(t).length&&_.Xf(v)[0].getId()===_.Xf(t)[0].getId()&&(_.Hk(_.Xf(t)[0],3)&&!_.Hk(_.Xf(v)[0],3)&&_.Xf(v)[0].jd(_.Xf(t)[0].getName()),_.Hk(_.Xf(t)[0],5)&&!_.Hk(_.Xf(v)[0],5)&&_.Xf(v)[0].Qk(_.Xf(t)[0].Lg())),v&&_.Gk(v,23)&&f.Ka.add(_.ve(v)),!v||v.Yl()||f.Ka.has(_.ve(v))&&!_.wh(v,31)||q.push(v)):q.push(t)}_.wO(m,q);f.lr([m],!1)}});f.Sa(k);lae(g,k,f.Pa);return k})};_.P(vge,tR);vge.prototype.lU=function(){wge(this)};
vge.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=_.uPd(this.Ga.clone(),2);a&&_.VAd(b,a);return this.getData(b,!1)};
var xge=function(a,b){var c,d,e,f,g=Math.min((e=(c=_.K(b,_.Np,14))==null?void 0:_.Op(c))!=null?e:Infinity,(f=(d=_.K(b,_.Np,15))==null?void 0:_.Op(d))!=null?f:Infinity);g!==Infinity&&(a.W&&(clearTimeout(a.W),a.W=null),b=g*1E3-Date.now(),a.W=setTimeout(function(){a.refresh(_.yN(_.Ue(_.Ve(new _.Se,306),!1),2))},Math.max(6E4,b)))},wge=function(a){a.O===null&&a.getData(a.Ga).then(function(){},function(b){b=b.yg;a.CN(new wR(b,_.Rj(b,9)||0))})};
vge.prototype.getData=function(a,b){var c=this;b=b===void 0?!0:b;return this.Ba.get(a).then(function(d){c.Vj(d.oe);yge(c,d);c.Ia.then(function(e){var f=new Set;if(d.response)for(var g=_.n([].concat(_.Eb(d.response.WE()),_.Eb(d.response.YE()))),k=g.next();!k.done;k=g.next()){var l=void 0;(k=(l=k.value.getItem())==null?void 0:l.getId())&&f.add(k)}f.size&&e.l4(_.mr((new _.lr).No([].concat(_.Eb(f))),_.vPd(a)))})},function(d){return(b&&QQd(d.yg)?h7d(c.Ba):Promise.resolve(!1)).then(function(e){if(e)return c.getData(a,
!1);throw d;})})};vge.prototype.tj=function(){return this.data||(new _.Cr).Tb(6)};var yge=function(a,b){if(b.response){a.ua=!0;try{a.lr([tTd(a.request,b)],!1).then(function(c){c&&xge(a,b.response)})}finally{a.ua=!1}}};vge.prototype.Sz=function(a){this.ua?(this.O=a.clone(),this.data=this.O.clone()):this.data=a;return!0};vge.prototype.H=function(a){this.Ia.then(function(b){b.H(a)})};var ATd=function(a,b,c,d){sR.call(this,function(f){f=ISd(e.ma,f);if((0,_.SO)(f)){var g;e.ua&&((g=f.Zk())==null?0:_.N(g,2,!1))&&_.ri(f,3,0)!==1&&_.uPd(f,2);e.ua=!0;g=_.ri(f,3,0)||0;f=""+g;g===2&&(f+=":"+e.Ba++)}else throw new _.wf("Invalid HomepageSuggestionsRequest",new _.Gr);return f},function(f){return new vge(e.Ga,f,ISd(e.ma,f),e.V,e.Da)});var e=this;this.ma=a;this.Ga=b;this.V=c;this.Da=d;this.Ba=0;this.ua=!1};_.P(ATd,sR);
ATd.prototype.H=function(a){for(var b=_.n(this.O.values()),c=b.next();!c.done;c=b.next())c.value.H(a)};ATd.prototype.sync=function(a,b){var c=this,d=(b=b===void 0?0:b)?Date.now()-b:0;return this.V.get(_.uPd(a.clone(),1)).then(function(e){if(!d||!_.Gk(e.response,3)||_.Uj(e.response,3)<d)return c.V.get(zge(a)).then(function(){})})};var zge=function(a){a=_.uPd(a.clone(),2);_.oj(a,_.aq,7)||_.WAd(a,new _.aq);_.I(JSd(a),5,2);return a};var yTd=new Map([[10,"ab"],[11,"bb"]]),vTd=function(a,b,c,d){d=d===void 0?Promise.resolve():d;a.mf()!==1&&a.mf()!==6&&a.mf()!==2||d.then(function(){var e=_.Ve(new _.Se,311);c.GH.tL(BSd(a.getResponse()),e,void 0,void 0,void 0,!0).then(function(){b.update(12)},function(){b.update(12)})})},zTd=function(a,b,c,d,e){e=e===void 0?Promise.resolve():e;a.mf()!==1&&a.mf()!==6&&a.mf()!==2||e.then(function(){var f=_.Ve(new _.Se,311);d.GH.tL(BSd(a.getResponse()),f,void 0,void 0,void 0,!0).then(function(){c.update(b)},
function(){c.update(b)})})};var Age=function(a,b){qR.call(this,a,b)};_.P(Age,qR);_.h=Age.prototype;_.h.get=function(a){return this.yp(a).then(function(b){var c=b.request&&b.response?b.response.getResponse().clone().Vj(b.oe):new _.Cr;return new MQ(c,b.oe,b.eq)})};_.h.b_a=function(a){return _.Xca(k2d(_.nj(a.clone(),30)))};_.h.bna=function(a){return a.clone()};_.h.Pba=function(a){if(_.DP(a))return 1;var b;return((b=a.Zk())==null?void 0:_.nk(b,1))===306?2:0};
_.h.rN=function(a,b,c){if(c)return _.Rh(a,b);a=_.nj(a.clone(),30);b=_.nj(b.clone(),30);return _.Rh(a,b)};_.h.Eya=function(a,b){a=rR(this,a).response;var c,d;return _.Gk(b,4)&&((c=a==null?void 0:_.Yg(a,4))!=null?c:0)<((d=_.Yg(b,4))!=null?d:0)};var Bge=function(a,b,c,d,e){e=e===void 0?0:e;tR.call(this,a,b);var f=this;this.Ka=c;this.Pa=d;this.Ga=e;this.ua=!1;this.data=this.O=null;this.Ia=new Set;this.W=null;this.Ba=a.then(function(g){var k=new $ae(function(l){if(f.O){var m=K_d(f.O.clone().Tb(l.getStatus()),l.getStatus()!==1);l=new Map(Object.entries(l.Dn()));for(var q=[],r=_.n(m.Gd()),t=r.next();!t.done;t=r.next()){t=t.value;var u=void 0,v=(u=t)==null?void 0:u.Pb();v&&l.has(v)?(u=void 0,(v=(u=l.get(v))==null?void 0:u.clone().MN(t.wI()).Uia(vQd(t)))&&
_.Gk(v,23)&&f.Ia.add(v.Pb()),!v||_.Jh(v,7)||f.Ia.has(v.Pb())&&!_.Jh(v,31)||q.push(v)):q.push(t)}_.wO(m,q);f.lr([m],!1)}});f.Sa(k);lae(g,k,f.Pa);return k})};_.P(Bge,tR);Bge.prototype.lU=function(){Cge(this)};Bge.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=this.request.clone();a&&_.Qh(b,a);return this.getData(b)};
var Dge=function(a){a.Ga&&(a.W&&(clearTimeout(a.W),a.W=null),a.W=setTimeout(function(){a.refresh(_.yN(_.Ue(_.Ve(new _.Se,306),!1),2))},a.Ga))},Cge=function(a){a.O===null&&a.getData(a.request).then(function(){},function(b){b=b.yg;var c;a.CN(new wR(b,(c=b.jhb())!=null?c:0))})};
Bge.prototype.getData=function(a){var b=this;return this.Ka.get(a).then(function(c){b.Vj(c.oe);Ege(b,c);b.Ba.then(function(d){var e=new Set;if(c.response)for(var f=_.n([].concat(_.Eb(c.response.Gd()))),g=f.next();!g.done;g=f.next())(g=g.value.Pb())&&e.add(g);e.size&&d.l4(_.mr((new _.lr).No([].concat(_.Eb(e))),a.O()))})},function(c){throw c;})};Bge.prototype.tj=function(){return this.data||(new _.Cr).Tb(6)};
var Ege=function(a,b){if(b.response){a.ua=!0;try{a.lr([b.response],!1).then(function(c){c&&Dge(a)})}finally{a.ua=!1}}};Bge.prototype.Sz=function(a){this.ua?(this.O=a.clone(),this.data=this.O.clone()):this.data=a;return!0};Bge.prototype.H=function(a){this.Ba.then(function(b){b.H(a)})};var Fge=function(a,b,c,d){sR.call(this,function(f){var g=e,k;var l=g.ma&&((k=f.Zk())==null?0:_.N(k,2,!1))?_.DP(f)?1:2:_.DP(f)?1:0;g.ma=!0;k=[_.Xca(k2d(_.nj(f.clone(),30))),l];l===2&&(_.Ve(f.Zk(),306),k.push(g.ua++));return k.join(":")},function(f){return new Bge(e.Da,f,e.V,e.Ba,_.Yg(e.Ga.p7(),16))});var e=this;this.Ga=a;this.Da=b;this.V=c;this.Ba=d;this.ua=0;this.ma=!1};_.P(Fge,sR);Fge.prototype.H=function(a){for(var b=_.n(this.O.values()),c=b.next();!c.done;c=b.next())c.value.H(a)};var Gge=function(a,b,c){tR.call(this,a,b);this.O=c;this.data={};this.H=this.eq=!1;this.ids=new Set(_.Xj(b,1,_.Ff()).map(qSd))};_.P(Gge,D7d);_.h=Gge.prototype;_.h.lU=function(){this.H||this.refresh()};_.h.refresh=function(a){var b=this;this.H=!0;if(this.isDisposed())return Promise.resolve();var c=this.request.clone();a&&_.Q(c,_.Se,3,a);return this.getData(c).catch(function(d){d=d instanceof _.wf?d.yg:_.aO(d);b.CN(new wR(d,_.Rj(d,9)||0))})};_.h.tj=function(){return(new MQ(hSd(this.data),this.mf(),this.eq)).Tb(this.getStatus())};
_.h.Sz=function(a){var b=_.n(a.CE());a=b.next().value;b=b.next().value;return this.ids.has(a)&&!_.Rh(this.data[a],b)?(this.data[a]=b,!0):!1};
_.h.getData=function(a){var b=this,c,d,e,f,g,k,l,m,q,r,t,u;return _.Li(function(v){if(v.H==1)return c=_.Xj(a,1,_.Ff()).map(qSd),_.Di(v,b.O.FM(c),2);d=v.O;if(d.length===0)return v.return();b.Vj(Hge(d));e=[];f=!0;g=_.n(d);for(k=g.next();!k.done;k=g.next())l=k.value,m=_.n(l.CE()),q=m.next().value,r=m.next().value,t=q,u=r,f=f&&u.eq,e.push(FQ([t,u.value]));b.eq=f;return _.Di(v,b.lr(e,!1),0)})};
var Hge=function(a){if(a.length===1)return a[0].value.oe;a=new Set(a.map(function(b){return b.value.oe}));return a.size===1?a.values().next().value:a.has(1)?1:a.has(3)?3:a.has(7)?7:0};var Ige=function(a,b){sR.call(this,function(d){return _.Xj(d,1,_.Ff(_.wg)).sort().join(",")},function(d){return new Gge(c.V,d,c.H)});var c=this;this.V=a;this.H=b};_.P(Ige,sR);Ige.prototype.configure=function(){var a=this;this.H.listen("Ia",function(b){a.lr(b.u4.map(function(c){var d=_.n(c.CE());c=d.next().value;d=d.next().value;return FQ([c,d.value])}),!1)})};Ige.prototype.bsb=function(){return this.H};var Jge=function(a){this.H=a};_.P(Jge,M7d);
var U7d=function(a,b){var c,d;return _.Li(function(e){if(e.H==1)return _.Di(e,a.H,2);if(e.H!=3)return c=e.O,_.Di(e,Promise.all(b.map(function(f){var g,k;return _.Li(function(l){if(l.H==1){var m=new _.OId;g=_.zk(m,1,f);return _.Di(l,c.Nh(g),2)}k=l.O;return l.return({id:f,response:k})})})),3);d=e.O;return e.return(d.map(function(f){var g=f.id;f=f.response;var k=_.Kj(f,aR,5,_.Ff()),l=null;k.length===1&&(l=k[0]);return FQ([g,{value:l,status:f.getStatus(),errorMessage:_.z(f,3)}])}))})};var Kge=function(){this.O=new Map;this.H=new Map};var Lge=function(a,b,c){this.O=a;this.H=b;this.V=c===void 0?function(){}:c};_.P(Lge,b7d);Lge.prototype.execute=function(a){var b=this,c,d,e,f,g,k;return _.Li(function(l){c=a;d=c.Ybc;e=c.Lra;f=c.u4;g=c.refresh;k=[];f&&k.push(Mge(b,f));g&&k.push(Nge(b,g));e&&k.push(Oge(b,e));d&&k.push(Pge(b,d));return _.Di(l,Promise.all(k),0)})};
var Mge=function(a,b){var c,d,e,f,g,k,l,m,q,r,t;return _.Li(function(u){c=[];d=_.n(b.entries());for(e=d.next();!e.done;e=d.next())f=e.value,g=_.n(f),k=g.next().value,l=g.next().value,m=k,q=l,r=void 0,t=(r=a.H.nn(m))==null?void 0:r.value,(!t||Number(_.z(t,2))<q)&&c.push(m);return c.length?_.Di(u,a.refresh(c),0):u.Rc(0)})},Nge=function(a,b){var c,d,e,f,g;return _.Li(function(k){c=[];d=_.n([].concat(_.Eb(b)));for(e=d.next();!e.done;e=d.next())f=e.value,g=a.H.nn(f),(!g||Date.now()-g.Zga>864E5)&&c.push(f);
return c.length?_.Di(k,a.refresh(c),0):k.Rc(0)})},Oge=function(a,b){var c,d,e,f;return _.Li(function(g){if(g.H==1){c=[];d=_.n([].concat(_.Eb(b)));for(e=d.next();!e.done;e=d.next())f=e.value,a.H.zh(f)||c.push(f);return c.length?_.Di(g,a.refresh(c),3):g.Rc(0)}a.V();_.Ei(g)})},Pge=function(a,b){var c,d,e,f,g;return _.Li(function(k){if(k.H==1){c=[];d=_.n([].concat(_.Eb(b)));for(e=d.next();!e.done;e=d.next())f=e.value,a.H.zh(f)&&c.push(f);return c.length?_.Di(k,H7d(a.O,c),3):k.Rc(0)}g=k.O;g.some(function(l){return l.value.value===
null})&&a.V();_.Ei(k)})};Lge.prototype.refresh=function(a){var b=this;return _.Li(function(c){return _.Di(c,H7d(b.O,[].concat(_.Eb(a))),0)})};var Qge=function(){};_.P(Qge,b7d);Qge.prototype.execute=function(){return Promise.resolve()};var Rge=function(){this.H=[]};var Sge=function(a){this.H=a};_.P(Sge,b7d);Sge.prototype.execute=function(a){this.H.H.push(a)};var Tge=function(a,b,c,d){W7d.call(this,a,b,d);this.W=c};_.P(Tge,W7d);
var Hfe=function(a,b,c){c=new Uge(a.W,a.H,c);b=_.n(b);for(var d=b.next();!d.done;d=b.next()){var e=c;d=d.value;var f=e.O;var g=d.getId();if(f=f.H.get(g)){g=d;f=new Set(f);d=g.getId();g=_.n(_.Kj(g,_.WGd,151,_.Ff()));for(var k=g.next();!k.done;k=g.next()){k=k.value;var l=k.getId();f.delete(l);Vge(e,d,k)}if(f.size>0)for(f=_.n(f),g=f.next();!g.done;g=f.next()){g=g.value;e.V.get().has(g)||e.H.get().add(g);var m=l=k=void 0,q=void 0,r=e.O;(q=r.O.get(g))==null||q.delete(d);((m=r.O.get(g))==null?void 0:m.size)===
0&&r.O.delete(g);(l=r.H.get(d))==null||l.delete(g);((k=r.H.get(d))==null?void 0:k.size)===0&&r.H.delete(d)}}else for(f=d,d=f.getId(),f=_.n(_.Kj(f,_.WGd,151,_.Ff())),g=f.next();!g.done;g=f.next())Vge(e,d,g.value)}c=CTd(c.H)||CTd(c.Lra)||CTd(c.u4)||CTd(c.refresh)?{Ybc:c.H.value,Lra:c.Lra.value,u4:c.u4.value,refresh:c.refresh.value,oe:c.oe}:void 0;c&&a.V.us(c)},Wge=function(a){a=[].concat(_.Eb(a.H.getAll().values())).filter(function(b){return b.value!==null});return a.length===0?null:m6d(new l6d,a.map(function(b){var c=
new k6d;c=_.Q(c,aR,1,b.value);return _.Tg(c,2,b.Zga)}))},Ade=function(a,b,c){b=_.Kj(b,k6d,1,_.Ff());u7d(a.H,b.map(function(d){var e=_.K(d,aR,1);return FQ([e.getId(),{value:e,oe:c,Zga:_.Uj(d,2),Sr:1}])}))},Uge=function(a,b,c){this.O=a;this.W=b;this.oe=c;this.V=new _.eQ(function(){return new Set});this.H=new _.eQ(function(){return new Set});this.Lra=new _.eQ(function(){return new Set});this.u4=new _.eQ(function(){return new Map});this.refresh=new _.eQ(function(){return new Set});this.now=Date.now()},
Vge=function(a,b,c){var d=c.getId();a.V.get().add(d);var e;(e=a.H.value)==null||e.delete(d);e=a.O;e.O.has(d)?e.O.get(d).add(b):e.O.set(d,new Set([b]));e.H.has(b)?e.H.get(b).add(d):e.H.set(b,new Set([d]));if(b=a.W.nn(d))if(e=Number(_.z(c,2)),b.value){var f=Number(_.z(b.value,2));a.isStale(b)?a.refresh.get().add(d):e>f&&a.u4.get().set(d,e);e<f&&Xge(c,b.value)}else a.oe!==3&&a.oe!==7&&a.u4.get().set(d,e);else a.Lra.get().add(d)};Uge.prototype.isStale=function(a){return this.now-a.Zga>864E5};
var Xge=function(a,b){for(var c=_.Kj(b,E2d,3,_.Ff()),d=_.n(_.Kj(a,_.SGd,3,_.Ff())),e=d.next(),f={};!e.done;f={PIa:void 0},e=d.next())f.PIa=e.value,(e=c.find(function(g){return function(k){return k.getId()===g.PIa.getId()}}(f)))&&_.VGd(f.PIa,vSd(e,f.PIa.getSelection()));_.XGd(a,_.z(b,2))};var Zge=function(a,b,c,d,e){E7d.call(this,a,d);this.O=b;this.ma=c;this.W=e;a=Yge(this);this.us=a7d(a)};_.P(Zge,E7d);Zge.prototype.configure=function(){E7d.prototype.configure.call(this);$ge(this)};var $ge=function(a){Jae(a.W,["zaOY7"],function(){a.H();var b=a.ma,c=b.H;b.H=[];b=_.n(c);for(c=b.next();!c.done;c=b.next())a.us(c.value)});Jae(a.W,["mrK8ic"],function(){a.H()})};Zge.prototype.H=function(){E7d.prototype.H.call(this);var a=Yge(this);this.us.Xia(a)};
var Yge=function(a){return a.V.Hg()?a.O.bG:a.W.H("mrK8ic")?a.O.Whb:a.W.H("zaOY7")?a.O.UJb:a.O.b5b};var ahe=function(a,b,c,d,e){var f=this;this.Ia=a;this.Ga=b;this.Ba=c;this.W=d;this.Da=e;this.Ka=new _.eQ(function(){var g=new Ige(f.Ga,f.O.get());g.configure();return g});this.O=new _.eQ(function(){var g=new Tge(f.qb.get(),f.H.get(),f.lc.get(),f.hb.get());g.configure();return g});this.qb=new _.eQ(function(){var g=new Zge(f.Ta.get(),f.Xa.get(),f.ma.get(),f.Ba,f.W);g.configure();return g});this.H=new _.eQ(function(){return t7d()});this.hb=new _.eQ(function(){return new K7d(f.W,f.Da)});this.V=new _.eQ(function(){return new S7d(f.Ab.get(),
f.H.get())});this.Ab=new _.eQ(function(){return new Jge(f.Ia)});this.Sb=new _.eQ(function(){return new V7d});this.lc=new _.eQ(function(){return new Kge});this.ma=new _.eQ(function(){return new Rge});this.Qb=new _.eQ(function(){return c7d(new I7d(f.H.get(),f.Sb.get()))});this.Fb=new _.eQ(function(){return c7d(new G7d(f.V.get()))});this.hc=new _.eQ(function(){return c7d(new J7d(f.H.get(),f.V.get()))});this.Ta=new _.eQ(function(){return{bG:f.Qb.get(),m4b:f.Fb.get(),mib:f.hc.get()}});this.ua=new _.eQ(function(){return c7d(new Sge(f.ma.get()))});
this.Pa=new _.eQ(function(){return c7d(new Lge(f.V.get(),f.H.get()))});this.Hb=new _.eQ(function(){return c7d(new Qge)});this.Xa=new _.eQ(function(){return{bG:f.ua.get(),b5b:f.ua.get(),UJb:f.Pa.get(),Whb:f.Hb.get()}})};ahe.prototype.Tg=function(){return this.Ka.get()};var bhe=function(a,b,c){xR.call(this,a,c);this.W=b};_.P(bhe,xR);bhe.prototype.hCa=function(a,b){return a.clone().Ym(b)};bhe.prototype.UEa=function(){return""};bhe.prototype.hEa=function(a){return[a]};bhe.prototype.Oka=function(a){this.W(a)};var che=function(a,b,c,d){tR.call(this,a,d.clone());this.ua=b;this.H=this.O=null;this.W=c};_.P(che,tR);_.h=che.prototype;_.h.lU=function(){this.resize()};_.h.refresh=function(){var a=this;this.Vj(this.mf()===0?1:6);this.H=new bhe(this.request,this.W,function(b){return a.ua.then(function(c){return c.Nh(b)})});return this.H.Cj(this.request.Qj()||0).then(function(){})};
_.h.resize=function(){var a=this,b,c,d,e,f,g;return _.Li(function(k){if(k.H==1)return _.Di(k,a.V,2);b=k.O;c=0;d=_.n(a.uF);for(e=d.next();!e.done;e=d.next())f=e.value,g=C7d(b,f),c=Math.max(c,g.Qj()||0);var l=c;a.getStatus()===1||a.H&&l===_.Rj(a.request,1)||(a.request.Ym(l),a.H?a.H.Cj(l):a.refresh());_.Ei(k)})};_.h.tj=function(){return this.O?this.O:(new WQ).Tb(this.getStatus())};_.h.Sz=function(a){this.O=a;return!0};var ehe=function(a,b,c){sR.call(this,function(e){return e.toString()},function(e){return dhe(d,e)});var d=this;this.H=a;this.V=b;this.Td=c};_.P(ehe,sR);var dhe=function(a,b){return new che(a.H,a.V,function(c){a.lr(c,!1)},b)};ehe.prototype.log=function(a){this.Td.Kf("sync.cache.SuggestedWorkspaceCacheManager").info(a)};
ehe.prototype.oga=function(a,b,c,d){var e=a[0].H();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return _.E(f,1)}).join(", "));sR.prototype.oga.call(this,a,b,c,d)};var hhe=function(a){_.ui.call(this);var b=this;this.context=a;this.H=[];this.V=new _.Jg;this.O=new Map;this.ma=-1;this.W=0;var c=_.jm();this.ua=c.promise;gde(this.context.jL).then(function(d){b.H=d||[];c.resolve();fhe(b)},function(){return c.resolve()});this.context.Po.addRule(["rVezo"],function(){ghe(b)})};_.P(hhe,_.ui);
var See=function(a,b){_.N(a.context.Ld,46,!1)&&a.ua.then(function(){if(a.H[0]!==b){_.xa(a.H,b);var c=a.context.Tg().xn;for(V4d(c.nn(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.va(a.H,b,0);a.H.length>_.Sj(a.context.Ld,47,5)*2;)a.H.pop();a.context.jL.set(fde,a.H)}a.context.Tg().PA.i8().length+a.O.size<_.Sj(a.context.Ld,47,5)&&(fhe(a),ghe(a))})},ihe=function(a,b){_.xa(a.H,b)&&a.context.jL.set(fde,a.H)};
hhe.prototype.tX=function(a,b){this.context.GPa.propagate(a,b);fR(a)&&(b=_.E(a,7),_.pPd(a)?Lfe(this,b,!0):(a=a.getItem(),V4d(a)&&ihe(this,b)))};
var Lfe=function(a,b,c){ihe(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.Tg().PA;for(var e=d.i8(),f=0;f<e.length;f++){var g=e[f];if(g.teamDriveId===b){a.log(b,"Cache removed");d.remove(g);a.context.nx.update(3);break}}a.context.cI.promise.then(function(k){k.r7a(b,c)});ghe(a)},ghe=function(a){if(a.context.Po.H("rVezo")){var b=a.context.Tg().PA;jhe(a);for(var c={};a.V.yc()&&!(a.W>=_.Sj(a.context.Ld,47,5));c={J$a:void 0,Naa:void 0})c.Naa=_.ms(a.V),a.W++,
Zbe(b,c.Naa)||a.O.has(c.Naa)||(a.O.set(c.Naa,null),c.J$a=new _.MEd,_.L(c.J$a,1,c.Naa),a.context.Rp().then(function(d){return function(e){return e.Nh(d.J$a)}}(c)).then(function(d){return function(e){var f=d.Naa;if((e=_.Rj(e,1))&&e>_.Sj(a.context.Ld,48,1E3)){a.log(f,"Too large to backfill: "+e);var g,k;((g=a.context.Ld)==null?0:(k=_.br(g))==null?0:_.EP(k))?(khe(a,lhe(a,f),Jde(a.context.aB,f)),Lde(a.context.aB,f)):mhe(a,f,!1)}else a.log(f,"Small enough to backfill: "+e),nhe(a,lhe(a,f))}}(c),function(d){return function(e){var f=
d.Naa;(e=_.Ae(_.aO(e,46),10))&&e===4?(a.log(f,"Non-existent or inaccessible, removing from cache"),f=_.sQ(_.qPd(_.rQ(new _.qQ,f),f)),a.context.Tg().us([f])):nhe(a,lhe(a,f))}}(c)))}},fhe=function(a){a.H.length&&(a.W=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},jhe=function(a){_.ca.clearTimeout(a.ma);a.ma=_.ca.setTimeout(function(){fhe(a);ghe(a)},36E5)},lhe=function(a,b){a.context.cI.promise.then(function(c){c.cTa(b)});return new MR(a.context.Ld,a.context.vB,a.context.CD,b)},nhe=function(a,
b){var c=b.ee().clone().Ym(_.Sj(a.context.Ld,48,1E3));c=new Tbe(a.context,b,c);var d=b.teamDriveId;a.O.set(d,c);a.log(d,"Backfill started");var e=Jde(a.context.aB,d);c.Cj().then(function(){khe(a,b,e);var f,g;((f=a.context.Ld)==null?0:(g=_.br(f))==null?0:_.EP(g))&&b.DJ(0)},function(){a.log(d,"Backfill failed");a.W--;mhe(a,d,!0)}).then(function(){Lde(a.context.aB,d)},function(){Lde(a.context.aB,d)})},khe=function(a,b,c){var d=b.teamDriveId;b.gJ?(b.N9(),cce(b,c,a.context.NZ).then(function(e){a.log(d,
"CorpusCacheUpdater complete, size: "+b.getSize());W8d(a.context.Tg(),b,e);mhe(a,d,!1)},function(){a.log(d,"CorpusCacheUpdater failed");mhe(a,d,!0)})):(a.log(d,"Backfill exceeded size limit"),mhe(a,d,!0))},mhe=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&a.context.cI.promise.then(function(e){e.r7a(b,!1)});ghe(a);a.O.size>0||a.context.Tg().PA.i8().map(function(e){return e.teamDriveId}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){Lfe(a,e,!0)})};
hhe.prototype.log=function(a,b){this.context.Td.Kf("sync.cache.TeamDriveCacheManager").info(a+" | "+b)};var ohe=function(a,b,c,d,e){Y7d.call(this,a.clone(),c,d,e);this.H=b};_.P(ohe,Y7d);ohe.prototype.W=function(a){for(var b=new Map,c=_.n(a.Lh()),d=c.next();!d.done;d=c.next()){d=d.value;var e=_.mBd(a.clone(),[d]);b.set(d,e)}return b};ohe.prototype.V=function(a){this.H([].concat(_.Eb(a.A5().values())).map(Z8d),!0)};ohe.prototype.ma=function(){this.H([],!1)};ohe.prototype.ua=function(a){this.H([new EQ(a,null)],!0)};var phe=function(a,b,c,d,e,f){f=f.clone();tR.call(this,a,f);this.ua=b;this.O=c;this.Td=d;this.W=e;this.Gv={};this.H=null};_.P(phe,D7d);phe.prototype.refresh=function(){this.H=new ohe(this.request,this.W,this.ua,this.O,this.Td);return this.H.Cj()};phe.prototype.tj=function(){var a=(new J4d).Tb(this.getStatus());_.uc(this.Gv,function(b,c){a.A5().set(c,b||new _.XN)});a.Vj(this.mf());return a};
phe.prototype.Sz=function(a){var b=_.n(a.CE());a=b.next().value;b=b.next().value;if(!b){if(this.Gv[a])return delete this.Gv[a],!0}else if(this.request.Lh().indexOf(a)>=0)return this.Gv[a]=b,!0;return!1};phe.prototype.lU=function(){this.H||this.refresh()};var qhe=function(a,b){a=_.Ae(a,1);return a==null||b.y5()==a};var rhe=function(a,b,c){xR.call(this,a,c);this.W=b};_.P(rhe,xR);rhe.prototype.hCa=function(a,b,c){a=a.clone().Ym(b);return new _.OEd(a,c)};rhe.prototype.UEa=function(a){return a.pageToken||""};rhe.prototype.hEa=function(a){return a.response.H(_.wg)};rhe.prototype.Oka=function(a){this.W(this.request,a.map(Z8d))};var she=function(a){this.H=_.pSa(a,{numeric:!0})};she.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=_.Ha(_.E(b,1),_.E(c,1))*(a?1:-1);return f};she.prototype.V=function(a,b,c){var d=_.Nj(b,4),e=_.Nj(c,4),f;d!==e?f=_.Ha(d,e)*(a?1:-1):f=_.Ha(_.E(b,1),_.E(c,1))*(a?1:-1);return f};var the=function(a,b,c,d,e){e=e.clone();tR.call(this,a,e);this.W=b;this.O=d;this.Gv=[];this.H=null;a=new she(c);b=(c=this.request.uFa())?_.Ae(c,1):0;c=c?_.Ae(c,2):0;this.ua=b===1?a.O.bind(a,c!==2):a.V.bind(a,c===1)};_.P(the,B7d);the.prototype.refresh=function(){var a=this;this.Vj(this.mf()===0?1:6);this.H=new rhe(this.request,this.O,function(b){return a.W.then(function(c){return c.Nh(b)})});return this.H.Cj(this.request.Qj()||0).then(function(){})};
the.prototype.deb=function(a){this.getStatus()===1||this.H&&a===_.Rj(this.request,2)||(this.request.Ym(a),this.H?this.H.Cj(a):this.refresh())};the.prototype.tj=function(){var a=wXd((new VQ).Tb(this.getStatus()),this.Gv.map(function(c){return c.clone()})),b=this.getStatus()!==1&&$7d(this.H);return new yXd(a,void 0,b,this.mf())};
the.prototype.Sz=function(a){a=_.n(a.CE());var b=a.next().value;a=a.next().value;var c=_.ya(this.Gv,function(d){return _.E(d,1)===b});return a&&a&&qhe(this.request,a)?_.cEd(this.Gv,a,this.ua):c};var vhe=function(a,b,c,d){w7d.call(this,function(f){return f.toString()},function(f){return uhe(e,f)});var e=this;this.V=a;this.ma=b;this.Td=c;this.H=d};_.P(vhe,w7d);vhe.prototype.log=function(a){this.Td.Kf("sync.cache.WorkspaceCacheManager").info(a)};var uhe=function(a,b){if((0,_.TBd)(b))return new the(a.V,a.ma,_.yP(_.hO(a.H)),function(c,d){a.lr(d,!1,void 0,c)},b);if((0,_.HId)(b))return new phe(a.V,a.ma,a.H,a.Td,function(c,d){a.lr(c,d)},b);throw Error("Ei`"+b);};
vhe.prototype.oga=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(RQd).join(", "));w7d.prototype.oga.call(this,a,b,c,d)};var whe=function(){_.ui.apply(this,arguments)};_.P(whe,_.ui);
var yhe=function(a,b,c){if(b===null||!c)return!1;var d,e;c=(a=_.Wf(a)===_.Wf(b)?(d=a.getCapabilities())==null?void 0:d.clone():(e=c.getCapabilities())==null?void 0:e.clone())&&xhe(a);var f=(b=(f=b.getCapabilities())==null?void 0:f.clone())&&xhe(b);return!!c&&!!f&&_.Rh(c,f)},Ahe=function(a,b){b=zhe(b);var c=a.getItem(),d=xhe(c.getCapabilities());b.Iha.forEach(function(e){_.Rac(e.getItem(),_.nk(c,25));_.KP(e.getItem(),d.clone())});return b},Dhe=function(a,b,c){var d=Bhe(c);c=c.find(function(e){return e.getId()===
_.ve(b)});c={XT:c?c:new AR(b),children:[]};Che(a,d,c);return c},Bhe=function(a){var b={};a=_.n(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=_.n(c.getItem().yl()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},Che=function(a,b,c){var d=c.XT.getItem();(b[_.ve(d)]||[]).forEach(function(e){c.children.push(Che(a,b,{XT:e,parent:c,children:[]}))});return c},Fhe=function(a,b){b=b.children.filter(function(l){return!_.wh(l.XT.getItem(),76)});for(var c=new Map,
d=[];b.length;){var e=b.pop(),f=e.XT.getItem();if(!c.has(_.ve(f))){_.Rac(f,_.nk(a,25));Ehe(a,f,e.parent?e.parent.XT.getItem():void 0);for(var g=_.n(e.children),k=g.next();!k.done;k=g.next())k=k.value,_.wh(k.XT.getItem(),76)||b.push(k);c.set(_.ve(f),!0);d.push(e.XT)}}return d},Ghe=function(a){a=a.children.filter(function(g){return!_.wh(g.XT.getItem(),76)});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.XT.getItem();if(!b.has(_.ve(e))){c.push(_.sQ(_.rQ(new _.qQ,e.Pb())));d=_.n(d.children);for(var f=
d.next();!f.done;f=d.next())f=f.value,_.wh(f.XT.getItem(),76)||a.push(f);b.set(_.ve(e),!0)}}return c},zhe=function(a){var b=[],c=[];a=_.n(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.getItem();_.wh(e,76)||_.wh(e,137)?c.push(e):b.push(d)}return{e0:c,Iha:b}},xhe=function(a){a=a.clone();var b=_.Ek(a,34)?_.wh(a,34):_.wh(a,7),c=_.Ek(a,35)?_.wh(a,35):_.wh(a,7);_.J(a,45,c);_.J(a,46,b);_.J(a,30,c);_.J(a,31,b);_.J(a,47,c);_.J(a,33,b);_.FGd(a,b);_.IGd(a,c);_.J(a,20,b);b=_.Jh(a,7);_.J(a,17,b);
_.HGd(a,_.wh(a,10));_.KGd(a,_.Jh(a,1));_.nj(a,18);_.nj(a,13);_.nj(a,10);b=_.Jh(a,42);_.J(a,42,b);_.LGd(a,_.Jh(a,43));b=_.Jh(a,48);_.J(a,48,b);return a},Ehe=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.Jh(d,30);_.J(e,30,f);f=_.Jh(d,31);_.J(e,31,f);f=_.Jh(d,47);_.J(e,47,f);f=_.Jh(d,33);_.J(e,33,f);_.FGd(e,_.Jh(d,4));_.IGd(e,_.Jh(d,9));_.KGd(e,_.Jh(d,21));f=_.Jh(d,20);_.J(e,20,f);f=_.Jh(d,17);_.J(e,17,f);_.EGd(e,_.Jh(d,1));f=_.Jh(d,7);_.J(e,7,f);f=_.Jh(d,10);_.J(e,10,f);f=_.Jh(d,
45);_.J(e,45,f);f=_.Jh(d,46);_.J(e,46,f);d=_.Jh(d,48);_.J(e,48,d);_.wHd(b,_.Jh(a,76));c&&(a=c.getCapabilities(),BQ(b)?(_.HGd(e,_.Jh(a,43)),_.LGd(e,_.Jh(a,43)),b=_.Jh(a,42),_.J(e,42,b)):_.HGd(e,_.Jh(a,42)))};var Hhe=function(a){this.context=a;this.H=new whe;this.Zg=a.Tg()};
Hhe.prototype.propagate=function(a,b){if(fR(a))_.pPd(a)?Ihe(this,a):Jhe(this,a,b);else{b=a.kd();var c=this.Zg.xn.nn(b);if(c&&Khe(a,c))if(_.pPd(a)){a=Lhe(this,_.Vq(c));c=this.H;var d=(new _.Oq).Bb(b);a=(a=Dhe(c,d,a))?Ghe(a):[];this.context.Tg().us(a);this.log(b,"SD shared folder delete | Removed "+a.length+" item(s)");if(b=_.hQ(this.context.Oo,106009))c=H0d(b),_.Ug(c,2,a.length),b.Vi()}else if(b=a.getItem(),c=Lhe(this,_.Vq(b)),d=this.H,b=a.getItem(),b=(c=Dhe(d,b,c))?Fhe(b,c):[],qae(this.context.Tg(),
b),this.log(a.kd(),"SD shared folder update | Updated "+b.length+" item(s)"),a=_.hQ(this.context.Oo,106010))c=H0d(a),_.Ug(c,1,b.length),a.Vi()}};
var Ihe=function(a,b){var c=b.kd();b=Lhe(a,c);b=zhe(b);var d=_.$i(b.Iha,function(e){return _.sQ(_.rQ(new _.qQ,e.getId()))});a.context.Tg().us(d);a.Zg.GH.tL(b.e0.map(function(e){return e.getId()}),_.Ve(new _.Se,1514),void 0,void 0,b.e0.map(function(e){return _.tq((new _.rq).Bb(e.Pb()),_.$q(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.e0.length+" divergent items"));if(a=_.hQ(a.context.Oo,106016))c=I0d(a),_.Ug(c,1,b.e0.length),_.Ug(c,2,b.Iha.length),a.Vi()},Jhe=function(a,b,c){var d=
b.kd(),e=Lhe(a,d),f=a.Zg.xn.nn(d);if(!yhe(b.getItem(),f,c)){b=Ahe(b,e);qae(a.context.Tg(),b.Iha);a.Zg.GH.tL(b.e0.map(function(g){return g.getId()}),_.Ve(new _.Se,1514),void 0,void 0,b.e0.map(function(g){return _.tq((new _.rq).Bb(g.Pb()),_.$q(g))}));a.log(d,"SD update | Update "+b.Iha.length+" item(s), "+(b.e0.length+" divergent items"));if(c=_.hQ(a.context.Oo,106017))e=I0d(c),_.Ug(e,1,b.e0.length),_.Ug(e,2,b.Iha.length),c.Vi();f||Obe(a.Zg.GH,d)}},Lhe=function(a,b){var c=new _.cf;_.of(c,[b]);_.Ze(c,
2);return t4d(a.Zg.xn,c)},Khe=function(a,b){var c=_.Vq(b);if(c==null||_.Xi(c))return!1;var d=a.getItem();if(!BQ(d!=null?d:b))return!1;var e=d==null?void 0:_.Vq(d);if(d&&_.Xi(_.gl(e))||e&&e!==c)return!1;c=!!_.wh(b,76);if(_.pPd(a))return c;d=a.getItem();a=_.wh(b,76)!==_.wh(d,76);b=d.WI()!==b.WI();return a||c&&b};Hhe.prototype.log=function(a,b){this.context.Kf("sync.change.TdChangeProcessor").info(a+": "+b)};var Mhe=_.ca.WeakMap?new WeakMap:null;var Nhe=function(){this.H=[this.pwc,this.awc,this.bwc,this.rwc,this.Vvc,this.qwc,this.lwc,this.Zvc,this.ewc,this.dwc,this.hwc,this.Xvc,this.cwc,this.iwc,this.jwc,this.mwc,this.Yvc,this.owc,this.nwc,this.Uvc,this.fwc,this.gwc,this.swc,this.Wvc,this.kwc];this.rootId=""};Nhe.prototype.Ty=function(a){this.rootId=a||""};
var Q8d=function(a){return $ee(a)&&_.Xj(a,40,_.Ff()).length==0&&!_.Jk(a,41)},$ee=function(a){var b;if(b=_.zGd(a).length==0&&_.Kj(a,_.mf,14,_.Ff()).length==0&&_.Kj(a,_.mf,15,_.Ff()).length==0&&!_.oj(a,_.mf,58)&&!_.wh(a,18)&&!_.wh(a,34)&&_.AGd(a).length==0&&_.Kj(a,_.hq,38,_.Ff()).length==0&&_.Xj(a,39,_.Ff()).length==0&&!_.Ae(a,42)&&_.Kj(a,_.gq,44,_.Ff()).length==0&&!_.qi(a)&&_.Kj(a,_.kq,57,_.Ff()).length==0&&!_.K(a,_.fq,59)&&_.Kj(a,_.mf,68,_.Ff()).length==0&&_.Kj(a,_.mf,67,_.Ff()).length==0&&_.Kj(a,
_.CHa,100,_.Ff()).length==0&&!_.Ek(a,69)&&!_.wh(a,73)&&_.Kj(a,_.oq,78,_.Ff()).length==0)b=a.Tc(),b=!b||b.getType()!=5;return b&&Ohe(a)&&Phe(a)},Ohe=function(a){var b=_.Kj(a,_.mf,13,_.Ff()),c;a=(c=b[0])==null?void 0:_.yGd(c);c=_.n(b);for(b=c.next();!b.done;b=c.next())if(b=b.value,b.ob()!=="me"||_.yGd(b)!==a)return!1;return!0},Phe=function(a){return _.Kj(a,_.qq,4,_.Ff()).every(function(b){b=_.E(b,2);return!b||!b.includes("*")&&Qhe.test(b)})},P8d=function(a,b,c){return!!c&&Rhe(a,b,c)&&a.H.every(function(d){return d.call(a,
b,c)})},Rhe=function(a,b,c){return _.qi(b)||_.ve(c)!=a.rootId&&!fR(c)};_.h=Nhe.prototype;
_.h.pwc=function(a,b){var c=!0,d=_.Kj(a,_.qq,4,_.Ff());if(!Phe(a))return!0;a=b.getTitle()||"";for(var e=0;e<d.length&&c;e++){var f=d[e];if(f.ob()){var g=_.N(f,3,!1);a:{var k=a;var l=f.ob(),m=_.Ae(f,1);k=k.toLowerCase();l=l.toLowerCase();if(m===2)k=l===k;else{m=[];if(l.indexOf("-")>=0)for(var q=RegExp("\\w*-[\\w-]*"),r=_.n(l.match(q)||[]),t=r.next();!t.done;t=r.next())m.push(t.value),l=l.replace(q,"");m.push.apply(m,_.Eb(l.split(RegExp("\\b"))));for(l=0;l<m.length;l++)if(q=m[l],r=!0,(0,_.Yi)(q).length!==
0&&(q.replace(/\./g,"").length===0&&(r=!1),!k.match(r?new RegExp("(^|[^\\w]|_)"+_.el(q)+"($|[^\\w]|_)|(^|[ ])"+_.el(q)):new RegExp(_.el(q))))){k=!1;break a}k=!0}}if(_.Ae(f,1)===1){if(g||!k)m=b,Mhe&&Mhe.has(m)?m=Mhe.get(m):(l=DTd(m.getTitle()||"",512),Mhe&&Mhe.set(m,l),m=l),f=ETd(m,f.ob()),c=c&&(g?!k&&!f:k||f)}else c=c&&(g?!k:k)}}return c};
_.h.awc=function(a,b){var c=_.lf(a),d=0,e=0,f=!1,g=!1;c=_.n(c);for(var k=c.next();!k.done;k=c.next())if(k=k.value,k.ob()){var l=b.getMimeType()||"";if(_.wh(k,4)){var m=b.Bh();l=m&&_.E(m,3)||""}m=_.N(k,2,!1);var q=k.ob();_.qi(a)&&(q=q.toLowerCase(),l=l.toLowerCase());k=_.ri(k,3,0)===0?q===l:l.includes(q);m?(e++,g=g||k):(d++,f=f||k)}return d&&!f||e&&g?!1:!0};_.h.bwc=function(a,b){var c=!0;a=_.Kj(a,_.lq,7,_.Ff());a=_.n(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.SV();c=c&&She(e,d)}return c};
_.h.rwc=function(a,b){var c=!0;a=_.Kj(a,_.lq,8,_.Ff());a=_.n(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.Mla();c=c&&She(e,d)}return c};_.h.Vvc=function(a,b){var c=!0;a=_.Kj(a,_.lq,79,_.Ff());a=_.n(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.opa();c=c&&She(e,d)}return c};var She=function(a,b){if(_.Gk(b,2))switch(_.Ae(b,1)){case 1:return a<=_.Nj(b,2);case 2:return a<_.Nj(b,2);case 3:return a==_.Nj(b,2);case 4:return a>_.Nj(b,2);case 5:return a>=_.Nj(b,2);default:return!1}return!0};
_.h=Nhe.prototype;_.h.qwc=function(a,b){var c=_.wh(a,9);a=(a=_.CP(a))&&(a==2||a==3);return c==null||c==!!b.Yl()&&(!c||b.WI()==1||!!a)};_.h.lwc=function(a,b){return!_.Ek(a,10)||_.wh(a,10)==!!b.qv()};_.h.Zvc=function(a,b){return!_.Ek(a,11)||_.wh(a,11)==!!_.wh(b,6)};_.h.ewc=function(a,b){a=_.AP(a);a=_.n(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.ob()){var d=c.ob()=="root"&&this.rootId||c.ob();d=b.yl().includes(d);if(_.N(c,2,!1)?d:!d)return!1}return!0};
_.h.dwc=function(a,b){if(!Ohe(a))return!0;a=_.Kj(a,_.mf,13,_.Ff());a=_.n(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.ob()=="me"&&b.WI()==1===_.yGd(c))return!1;return!0};_.h.hwc=function(a,b){return!_.Ek(a,16)||(_.wh(a,16)?_.Gk(b,23):!0)};_.h.Xvc=function(a,b){var c=_.wh(a,17);a=(a=_.CP(a))&&(a==2||a==3);return c==null||c==!!_.wh(b,26)&&(!c||b.WI()==1||!!a)};_.h.cwc=function(a,b){b=MSd(b);return!_.Ek(a,19)||_.wh(a,19)==!!_.wh(b,1)};
_.h.iwc=function(a,b){a=_.Kj(a,_.xGd,25,_.Ff());if(a.length==0)return!0;var c=new Set(_.Xj(b,56,_.Ff()));return a.every(function(d){return c.has(_.E(d,1))})};_.h.jwc=function(a,b){if(_.uoa(a).length==0)return!0;if(_.lIa(b).length==0)return!1;var c=new Set(_.lIa(b).map(function(d){return _.Ae(d,1)}));return _.uoa(a).some(function(d){return c.has(_.Ae(d,1))})};_.h.mwc=function(a,b){a=_.BP(a);return!a.length||a.includes(_.Vq(b)||"")};
_.h.Yvc=function(a,b){a=_.Kj(a,_.mq,37,_.Ff());if(a.length==0)return!0;var c=new Set(_.re(b));return a.every(function(d){return c.has(_.E(d,1))})};_.h.owc=function(a,b){return _.Ae(a,41)?(b=_.K(b,_.HP,86),b!=null&&_.Ae(a,41)==_.Ae(b,3)):!0};_.h.nwc=function(a,b){if(_.Xj(a,40,_.Ff()).length){if(b=_.K(b,_.HP,86)){var c=new Set(_.Xj(b,2,_.Ff()));return _.Xj(a,40,_.Ff()).some(function(d){return c.has(d)})}return!1}return!0};
_.h.Uvc=function(a,b){var c=_.CP(a);return c==1?(b=_.wh(b,31),!!_.AP(a).length||!!_.AGd(a).length||_.wh(a,18)==1||_.qi(a)||!!a.Fx()||b==null||b):c==2?!!_.Vq(b):!0};_.h.fwc=function(a,b){return _.qi(a)?!_.oj(b,_.OHa,100)||b.Yl()?!1:_.N(a,74,!1)?!!_.wh(vQd(b),4):!!_.wh(vQd(b),3):!0};_.h.gwc=function(a,b){return _.Ek(a,50)?_.N(a,50,!1)?_.Jk(b,101)&&_.Ae(b,101)!==0:!_.Jk(b,101):!0};_.h.swc=function(a,b){a=_.E(a,54);return!a||_.Xj(b,120,_.Ff()).includes(a)};
_.h.Wvc=function(a,b){b=_.K(b,_.vO,138);if(!_.Ek(a,65)||b==null)return!0;b=_.Ae(b,1)==2;return _.wh(a,65)==b};_.h.kwc=function(a,b){if(_.oj(a,_.pq,86)){a=_.K(a,_.pq,86);var c=!1;if(_.Ek(a,3)){var d;if(_.wh(a,3)!==((d=_.ar(b))==null?void 0:_.wh(d,4)))return!1;c=!0}if(_.Ek(a,1)){var e;if(_.wh(a,1)!==((e=_.ar(b))==null?void 0:_.wh(e,5)))return!1;c=!0}if(_.Ek(a,2)){var f;if(_.wh(a,2)!==((f=_.ar(b))==null?void 0:_.wh(f,6)))return!1;c=!0}if(c)return!0}var g;return!((g=_.ar(b))==null?0:_.Nj(g,3))};
var Qhe=/^[\x00-\x7F]*$/;var The=function(a,b){b=b===void 0?!1:b;var c=(0,_.apa)(a),d=a.getMimeType();c&&yQd(a)&&(d=(d=a.Bh())?_.E(d,3):"");BQ(a)&&(a.G4()&&(d+="+"+String(a.G4())),c&&_.Jh(a,160)?d+="+limited-access":a.VF()&&(d+="+shared"));return _.koa(d,b?"32":"16")};var Vhe=function(a,b){var c=_.wh(a,44),d=a.Bh();if(d){if(_.Ae(d,4)!==1)return null;c=(c=_.he(d))?_.wh(c,44):!0}if(!c)return null;c={};d=_.ve(a);yQd(a)&&(d=zQd(a));var e;b=[_.z(b,65,"https://lh3.google.com"),"u",_.JN(_.hO(b)),(e=_.Zg(b,100))!=null?e:"d",d].join("/");b+="={size}";_.Hk(a,140)&&(c.resourcekey=_.E(a,140));return b=Uhe(b,c)},Uhe=function(a,b){b=Object.entries(b);return b.length===0?a:a+"?"+b.map(function(c){var d=_.n(c);c=d.next().value;d=d.next().value;return c+"="+d}).join("&")};var Whe=function(a){this.H=a},ESd=function(a,b,c){Xhe(a,b,c);if(c.has(18)){var d=FTd(b,a.H);_.L(b,19,d)}c.has(19)&&H_d(b,Vhe(b,a.H));Yhe(a,b,c);if(yQd(b)){if(d=(d=b.Bh())&&_.he(d)){Xhe(a,d,c);if(c.has(18)){var e=FTd(d,a.H);_.L(d,19,e)}c.has(19)&&H_d(d,Vhe(d,a.H));Yhe(a,d,c)}_.rHd(b,!!_.E(b,20))}},Xhe=function(a,b,c){c.has(20)&&c.has(3)&&(c=The(b,_.N(a.H,75,!1)),_.L(b,21,c),_.oj(b,_.Dq,156)&&_.YCd(b).jp()&&(b=_.Bj(_.Bj(b,_.Dq,156),_.Cq,1),a=The(b,_.N(a.H,75,!1)),_.L(b,11,a)))},Yhe=function(a,b,c){var d=
c.has(41);c=c.has(42);if(d||c){var e=b.V();if(e){var f,g=(f=b.getCapabilities())==null?void 0:_.wh(f,65);f=!BQ(b)&&!yQd(b)&&!_.ee(e)&&(!_.wh(b,8)||b.WI()!==2);var k;e=((k=_.br(a.H))==null?0:_.N(k,59,!1))?g:f;d&&_.J(b,40,e);e&&c&&(a=a.H,d=_.ve(b),yQd(b)&&(d=zQd(b)),k=_.z(a,101,"")?_.z(a,101,""):_.z(a,16,""),k=new _.Rg(k+"/uc"),_.rd(k,"id",d),_.Hk(_.hO(a),7)||_.rd(k,"authuser",_.JN(_.hO(a))),a=_.Hk(b,4)?b.V():"",_.de(a)&&a!=="application/vnd.google-apps.shortcut"?_.rd(k,"export","native_doc_export"):
_.rd(k,"export","download"),_.Hk(b,140)&&_.rd(k,"resourcekey",_.E(b,140)),_.L(b,41,k.toString()))}}};var RTd=function(a,b,c,d){c8d.call(this,a.gU,b,c,d);this.O="Drive";this.V="DFS";this.Jx=a.Jx;this.EU=a.EU};_.P(RTd,c8d);RTd.prototype.WIc=function(a){return(this.Jx===2||this.Jx===1)&&this.EU(a)};var Zhe=function(a){this.H=a};Zhe.prototype.execute=function(a,b){var c=b.dP;b=$he(this,a,b.j6);c&&$he(this,a,c).then(null,function(){});return Promise.resolve(b)};var $he=function(a,b,c){var d=c.Xt;b=b.Nh(d,c.config);aie(a,b,d);return b},aie=function(a,b,c){b.then(function(){return void a.H.Vi(c)},function(d){return void bie(a.H,c,d)})};var PTd=function(a,b,c){this.KG=a;this.Jx=b;this.O=c;this.H=new Map};PTd.prototype.Zp=function(a,b){var c,d=(c=this.O.H(106041))!=null?c:void 0;if(d)return c=_.WKd(d),c=_.I(c,1,this.KG.requestType),b=_.I(c,2,b),c=_.uKd(this.Jx),b=_.I(b,3,c),this.KG.zl&&(c=this.KG.zl(a),_.Ug(b,7,c)),this.H.set(a,d),d};var bie=function(a,b,c){var d=a.H.get(b);if(d){var e=_.TN(c).yg;c=e.Nla();e=_.mk(e,26);var f=_.WKd(d);c&&_.vb(f,4,_.eb,c);e&&_.vb(f,5,_.eb,e);d.Vi()}a.H.delete(b)};
PTd.prototype.Vi=function(a){var b=this.H.get(a);b&&b.Vi();this.H.delete(a)};var cie=function(a,b,c,d){this.Jx=a;this.clone=b;this.JX=c;this.H=d};cie.prototype.split=function(a,b){switch(this.Jx){case 2:return this.darkLaunch(a,b);case 1:return die(this)&&this.H.Zp(a,2),{j6:eie(a,b)};default:return die(this)&&this.H.Zp(a,1),{j6:{Xt:a,config:b!=null?b:{}}}}};var die=function(a){return a.JX!=null&&Math.random()<=a.JX};
cie.prototype.darkLaunch=function(a,b){var c=this.clone(a);if(die(this)){var d=this.H.Zp(a,1),e=this.H.Zp(c,2);d&&(e==null||_.aDd(e,d))}a={Xt:a,config:b!=null?b:{}};b=eie(c,b);return{j6:a,dP:b}};var eie=function(a,b){return{Xt:a,config:Object.assign({},b,{gua:14})}};var XTd=function(a,b){this.Td=a;this.H=b};XTd.prototype.create=function(a){var b=a.Jx,c=new PTd(a.KG,b,this.H);return new RTd({Jx:b,EU:a.EU,gU:a.gU},new cie(b,a.clone,a.JX===void 0?0:a.JX,c),new Zhe(c),this.Td)};var TTd=function(a,b){this.H=a;this.HY=b};TTd.prototype.execute=function(a,b){var c=this,d=b.yia,e=b.j6,f=b.dP;return e.BKa.then(function(g){var k=fie(c,a,g,e.config);f&&f.BKa.then(function(l){l&&(l=fie(c,a,l,f.config),gie(c,d,k,l))}).then(null,function(){});return k})};
var fie=function(a,b,c,d){b=b.Nh(c,d);hie(a,b,c);return b},hie=function(a,b,c){b.then(function(){return void a.H.Vi(c)},function(d){return void bie(a.H,c,d)})},gie=function(a,b,c,d){if(b){var e;(e=a.HY)==null||iie(e,b,{kYa:c,DWa:d});d.then(function(f){if(!f.iD()){var g;(g=a.HY)!=null&&g.H.has(b)&&g.H.delete(b)}})}};var QTd=function(){this.H=new Map},iie=function(a,b,c){c=MTd(c);c.catch(function(){a.H.has(b)&&a.H.delete(b)});a.H.has(b)?a.H.get(b).push(c):a.H.set(b,[c])},jie=function(a,b,c){if(a.H.has(b)){var d=a.H.get(b);return Promise.all(d).then(function(e){return e.map(function(f,g){return{pair:f,index:g}})}).then(function(e){return e.filter(function(f){return c(f.pair)})}).then(function(e){if(e.length!==0)return e=e[0],d.splice(e.index,1),e.pair}).catch(function(){})}};var STd=function(a,b,c,d,e){this.HY=e;this.GKc=new cie(a,b,c,d)};STd.prototype.split=function(a,b){var c=b.yia;b=this.GKc.split(a,b);a=b.j6;if((b=b.dP)&&c){var d=kie(this,c,a.Xt,b.Xt);if(d)return{yia:c,j6:{BKa:Promise.resolve(a.Xt),config:a.config},dP:{BKa:d,config:b.config}}}return{yia:c,j6:{BKa:Promise.resolve(a.Xt),config:a.config}}};
var kie=function(a,b,c,d){var e=c.iD();if(!e)return Promise.resolve(d);var f;if(a=(f=a.HY)==null?void 0:jie(f,b,function(g){return g.kYa.iD()===e}))return a.then(function(g){if(g){var k;_.LCd(d,(k=g.DWa)==null?void 0:k.iD());return d}})};var lie=function(a,b,c){this.Zg=a;this.H=b;this.vS=c},pie=function(a,b,c){if(kZd(b).length){var d=$fe(a.Zg,b.kd());if(d){var e=d?bge(a.Zg,b):[];for(var f=_.n(kZd(b)),g=f.next(),k={};!g.done;k={U6:void 0},g=f.next())if(g=g.value,k.U6=mie(e,g.iB(),b.kd()),_.wh(g,3))age(a.Zg,k.U6),c.catch(function(){}).finally(function(r){return function(){var t=a.Zg.H,u=P9d(r.U6);t.H.delete(u)}}(k));else{for(var l=_.n(_.Kj(g,_.M_c,2,_.Ff())),m=l.next();!m.done;m=l.next())nie(a,k.U6,m.value);g=_.n(_.Xj(g,4,_.Ff()));
for(l=g.next();!l.done;l=g.next())oie(k.U6,l.value);a.Zg.lr([k.U6],!1,-1);c.catch(function(){}).finally(function(r){return function(){a.Zg.jZ(r.U6.key,-2)}}(k))}e=a.getResponse(d.tj().response)}}e=e?e:a.getResponse();var q=e.rDb;c.then(function(r){q.resolve(r)},function(r){q.reject(_.TN(r));a.handleError(b.kd(),r)});return e};lie.prototype.getResponse=function(a){a=a===void 0?new lR:a;return new N4d(a.Tb(1))};
var mie=function(a,b,c){var d=M9d(b),e=a.find(function(f){return f.key===d});e||(e=N9d(u2d((new CQ).jd(b),c)),a.push(e));return e};lie.prototype.handleError=function(a,b){dge(this.H,a);a=_.Lr(_.aO(b,39),"Server error updating metadata after optimistic application.");this.vS(a)};
var nie=function(a,b,c){var d=b.value;b=d.TDa().find(function(e){return e.vRa()===_.E(c,1)});b||(b=new p2d,b.Bb(c.Pb()),t2d(d,d.TDa().concat([b])),qie(b,c));switch(_.nk(b,4)){case 1:b.setBooleanValue(_.Jh(c,3));break;case 12:b.setDateStringValue(_.Zg(c,17));break;case 2:b.setTextValue(_.Zg(c,4));break;case 3:_.Xj(c,6,_.Ff()).length?b.KLa(_.Xj(c,6,_.Ff())):_.Xj(c,5,_.Ff()).length&&(a=_.Xj(b,7,_.Ff()).concat(_.Xj(c,5,_.Ff())),b.KLa(a));break;case 4:b.setLongTextValue(_.Zg(c,7));break;case 5:b.setSelectionValue(_.Zg(c,
8));break;case 6:_.Xj(c,10,_.Ff()).length?b.HLa(_.Xj(c,10,_.Ff())):_.Xj(c,9,_.Ff()).length&&(a=b.hhb().concat(_.Xj(c,9,_.Ff())),b.HLa(a));break;case 7:b.setIntegerValue(_.Yg(c,11));break;case 8:_.Qj(c,13,_.Ff()).length?b.yLa(_.Qj(c,13,_.Ff())):_.Qj(c,12,_.Ff()).length&&(a=_.Qj(b,12,_.Ff()).concat(_.Qj(c,12,_.Ff())),b.yLa(a));break;case 10:b.setUserValue(a.wfa(_.E(c,14)));break;case 11:_.Xj(c,16,_.Ff()).length?q2d(b,_.Xj(c,16,_.Ff()).map(a.wfa)):_.Xj(c,15,_.Ff()).length&&q2d(b,b.Asb().concat(_.Xj(c,
15,_.Ff()).map(a.wfa)));break;default:throw b="Optimistic Applier: Unsupported value type "+(_.Ae(b,4)+"."),new _.wf(b,new _.Gr);}},oie=function(a,b){if(a=a.value.TDa().find(function(c){return c.vRa()===b}))switch(_.nk(a,4)){case 1:_.nj(a,5);break;case 12:_.nj(a,17);break;case 2:_.nj(a,6);break;case 3:_.nj(a,7);break;case 4:_.nj(a,8);break;case 5:_.nj(a,9);break;case 6:_.nj(a,10);break;case 7:_.nj(a,11);break;case 8:_.nj(a,12);break;case 10:_.nj(a,15);break;case 11:_.nj(a,16);break;default:throw a=
"Optimistic Applier: Unsupported value type "+(_.Ae(a,4)+"."),new _.wf(a,new _.Gr);}},qie=function(a,b){_.Ek(b,3)?a.HH(1):_.Hk(b,17)?a.HH(12):_.Hk(b,4)?a.HH(2):_.Xj(b,6,_.Ff()).length||_.Xj(b,5,_.Ff()).length?a.HH(3):_.Hk(b,7)?a.HH(4):_.Hk(b,8)?a.HH(5):_.Xj(b,10,_.Ff()).length||_.Xj(b,9,_.Ff()).length?a.HH(6):_.Gk(b,11)?a.HH(7):_.Qj(b,13,_.Ff()).length||_.Qj(b,12,_.Ff()).length?a.HH(8):_.Hk(b,14)?a.HH(10):(_.Xj(b,16,_.Ff()).length||_.Xj(b,15,_.Ff()).length)&&a.HH(11)};
lie.prototype.wfa=function(a){return _.sGd((new _.Tp).Eb(1),a)};var rie=_.fc(_.dc(_.KO),_.dc(_.QO),_.dc(_.eO),_.dc(_.FO),_.dc(_.jP),_.dc(_.SP)),sie=function(a,b,c,d,e,f,g,k,l,m,q,r,t){this.Zg=a;this.ma=b;this.Ka=c;this.H=d;this.ua=e;this.Cf=f;this.Pa=g;this.V=k;this.O=l;this.Ba=m;this.Ga=q;this.Td=r;this.Ia=t;this.W=0;this.logger=this.Td.Kf("sync.request.OptimisticApplier")};
sie.prototype.apply=function(a,b){var c=this;if(!rie(a)||!_.UEd(a))return b;if(a=tie(this,a,b)){this.W++;this.ma.setActive(!1);var d=function(){c.W--;c.W===0&&c.ma.setActive(!0)};b.then(d,d)}return a?_.gm(a):b};
var tie=function(a,b,c){if(b instanceof _.KO)return uie(a,b,c);if(b instanceof _.QO)return vie(a,b,Promise.resolve(c));if(b instanceof _.eO)return wie(a,b,c);if(b instanceof _.FO)return xie(a,b,c);if(b instanceof _.jP)return pie(a.Ka,b,Promise.resolve(c));if(b instanceof _.SP){var d=_.Ae(b,3);if([3,9,13].includes(d))if(b=b.getId(),b=a.Zg.xn.nn(b)){var e=b.clone(),f,g=((f=_.ar(e))==null?void 0:f.clone())||new _.yq;if(d===9)_.yj(_.J(g,4,!1),3);else if(d===13)_.bHd(_.J(g,4,!0),Date.now());else if(d===
3){var k;_.bHd(_.J(g,4,!1),(k=_.Yg(g,3))!=null?k:Date.now())}_.UHd(e,g);a=yie(a,e,b,c)}else a=null;else a=null;return a}a="OptimisticApplier: Unknown request type "+_.PEd(b);throw Error(a);},uie=function(a,b,c){Vfe(a.H,b.Cr());var d=a.Zg.xn.nn(b.Cr());c.then(function(){a.Ba("VMiG2e");a.V&&a.V.get().PE(1503)},a.Da.bind(a,b.Cr(),d)).then(function(){var e=a.H,f=b.Cr();e.H.delete(f)},function(){var e=a.H,f=b.Cr();e.H.delete(f)});c.then(null,function(e){e=_.Lr(_.aO(e,37),"Server error deleting item after optimistic application.");
a.O(e)});return(new _.rP).Tb(1)},vie=function(a,b,c){var d=Yfe(a.H,b);c.then(function(){(d==null?0:d.commit())&&zie(a,d,new _.hKd(1E4,3E5),Date.now()+72E5,5).catch(function(){}).finally(function(){a.Ba("VMiG2e");a.V&&a.V.get().PE(1503)})},function(){d==null||d.V$()});c.catch(function(e){e=_.Lr(_.aO(e,38),"Server error emptying trash after optimistic application.");a.O(e)});return(new _.rP).Tb(1)},zie=function(a,b,c,d,e){if(Date.now()>d||e<=0)return Promise.resolve();var f=new _.By,g=c.ob();_.ZF(c);
setTimeout(function(){var k,l,m,q,r,t,u,v;return _.Li(function(x){switch(x.H){case 1:return _.Di(x,a.ua,2);case 2:return k=x.O,l=_.Ve(new _.Se,1425),m=jRd({direction:1,limit:1,Kh:l,driveId:b.driveId}),_.Fi(x,3),_.Di(x,k.Nh(m),5);case 5:q=x.O;if(r=q.getResponse())if(t=r.Gd(),u=t[0],!u||(_.Nj(u,96)||0)>b.timestampMillis)return f.resolve(),x.return();zie(a,b,c,d,e).catch(function(){}).finally(function(){f.resolve()});_.Hi(x,0);break;case 3:return _.Ii(x),v=zie(a,b,c,d,e-1),v.catch(function(){}).finally(function(){f.resolve()}),
x.return(v)}})},g);return f.promise},xie=function(a,b,c){var d=_.E(b,1),e=a.Zg.xn.nn(d);if(!e)return null;e=e.clone();ibe(a.Zg,[e],[157]);var f=e.O();Aie(f,_.Kj(b,_.zq,2,_.Ff()));Bie(f,_.Kj(b,_.zq,3,_.Ff()));a.Zg.Dq([e],-1,void 0,void 0,[157]);c.then(function(){a.Zg.jZ(d,-2)},function(){a.Zg.jZ(d,-2)});c.then(function(g){a.Zg.Dq([_.K(g,_.Oq,2)],1,void 0,void 0,[157])},null);c.then(null,function(g){g=_.Lr(_.aO(g,36),"Server error updating item after optimistic application.");a.O(g)});return J5d(new I5d,
e).Tb(1)},Aie=function(a,b){b=_.n(b);for(var c=b.next(),d={};!c.done;d={n3a:void 0},c=b.next())d.n3a=c.value,_.Kj(a,_.zq,8,_.Ff()).some(function(e){return function(f){return _.E(f,1)===_.E(e.n3a,1)}}(d))||_.nf(a,8,_.zq,d.n3a)},Bie=function(a,b){var c=b.map(function(d){return _.E(d,1)});b=_.Kj(a,_.zq,8,_.Ff()).filter(function(d){return!c.includes(_.E(d,1))});D_d(a,b)},wie=function(a,b,c){var d=a.Zg.xn.nn(b.Cr());if(!d||_.Vq(d)&&_.wh(b,5)===!1||_.Ek(b,40))return null;var e=_.sId(b),f=_.Xj(b,9,_.Ff());
if(e.length>0&&f.length>0&&(e=Object.values(a.Zg.xn.FM(e.concat(f))).map(function(g){return _.Vq(g)||"root"}),_.Ga(e),e.length>1))return null;e=d.clone();Cie(a,b,e);return yie(a,e,d,c,f)},yie=function(a,b,c,d,e){a.Zg.Dq([b],-1,void 0,void 0,[].concat(_.Eb(a.Cf.nV.H)));var f=_.ve(b);d.then(function(){return a.Zg.jZ(f,-2)},function(){a.Zg.jZ(f,-2);a.Da(f,c)});d.then(null,function(g){g=_.aO(g,40);if(_.Kr(g)===63){var k=b.Pb();_.L(g,22,k);e&&_.L(g,23,e[0])}_.Lr(g,"Server error updating item after optimistic application.");
a.O(g)});return _.FId((new _.rP).setItem(b),b.Pb()).Tb(1)},Cie=function(a,b,c){_.Hk(b,3)&&c.Kj(b.dh());_.Gk(b,12)&&_.kIa(c,_.Nj(b,12));_.Hk(b,6)&&_.Rq(c,b.getMimeType());_.Gk(b,7)&&_.Pac(c,_.Nj(b,7));_.Ek(b,11)&&_.gHd(c,_.wh(b,11));_.Ek(b,4)&&c.ys(b.qv());_.Ek(b,16)&&_.nHd(c,_.wh(b,16));_.Hk(b,2)&&c.setTitle(b.getTitle());_.Ek(b,5)&&(c.In(b.Yl()),_.mHd(c,b.Yl()));_.Ek(b,18)&&_.pQ(MSd(c,!0),_.wh(b,18));_.Xj(b,8,_.Ff()).length&&_.JP(c,_.Xj(b,8,_.Ff()));if(_.Xj(b,9,_.Ff()).length){var d=new Set(c.yl());
_.Xj(b,9,_.Ff()).forEach(function(m){return d.add(m)});_.JP(c,[].concat(_.Eb(d)))}if(_.sId(b).length){var e=new Set(c.yl());_.sId(b).forEach(function(m){return e.delete(m)});_.JP(c,[].concat(_.Eb(e)));var f=_.E(c,46);f&&_.sId(b).includes(f)&&_.nj(c,46)}if(!_.E(c,46)){var g=a.Pa();f=c.yl().find(function(m){var q=a.Zg.xn.nn(m);return q&&!!_.E(q,46)||m===g});_.tHd(c,f||void 0)}c.yl().length&&(f=a.Zg.xn.nn(c.yl()[0]))&&_.Wq(c,f.qn());if(f=_.K(b,_.wq,25)){var k=_.K(c,_.wq,111)||new _.wq;_.Ek(f,1)&&k.WN(f.qT());
_.Hk(f,2)&&_.MGd(k,_.E(f,2));_.Q(c,_.wq,111,k)}var l=_.Xj(c,120,_.Ff(_.wg));_.Xj(b,31,_.Ff()).forEach(function(m){l.includes(m)||l.push(m)});_.Xj(b,32,_.Ff()).forEach(function(m){_.xa(l,m)});_.yk(c,120,l)};sie.prototype.Da=function(a,b){var c=this;a=_.nr((new _.lr).No([a]),_.Ve(new _.Se,314));(new ube(a,this.Ga,this.Td,this.Zg,this.Ia,this.ua,this.H,void 0,!1)).Cj().then(function(){},function(d){b&&c.Zg.Dq([b.clone()],1);d=_.TN(d);c.logger.uc("Error refetching Item",d)})};var Die=function(a){this.H=a};_.P(Die,_.eNd);Die.prototype.execute=function(a,b,c){var d=_.eNd.prototype.execute.call(this,a,b,c);if(d)return d;if(c.uxa||NTd(b)&&_.tP(b.ee()))if(c=C0d(this.H))return c;return v3d(b)&&b.ee()&&!b.ee().Df()?(c=_.Ve(new _.Se,1424),a.Nh(jRd({direction:2,limit:1,Kh:c})).then(function(e){(e=e.getResponse())&&(e=e.Gd()[0])&&_.Gk(e,96)&&t0d(b,_.Nj(e,96))},function(){})):null};var $Td=function(a,b){return[Eie,Fie,Gie,Hie].reduce(function(c,d){var e;c!==0?e=c:e=_.Ha(d(a),d(b));return e},0)},Eie=function(a){return Iie[_.Ae(a,6)]},Fie=function(a){return Jie[_.Ae(a,1)]},Gie=function(a){return a.getName()||""},Hie=function(a){return a.getId()||""},Kie={},Iie=(Kie[5]=0,Kie[7]=1,Kie[1]=2,Kie[3]=3,Kie[4]=4,Kie[2]=5,Kie[6]=6,Kie),Lie={},Jie=(Lie[1]=0,Lie[2]=1,Lie[3]=2,Lie[4]=3,Lie);var Mie=function(a,b,c,d,e,f,g,k,l,m,q,r){this.Zg=a;this.Ba=b;this.H=c;this.wV=d;this.TO=e;this.O=f;this.W=g;this.ma=k;this.ua=l;this.V=m;this.Da=q;this.Cf=r};
Mie.prototype.apply=function(a,b){if(!(b instanceof _.rP&&_.Ae(b,1)===8))if(a instanceof _.EO||a instanceof _.WN||a instanceof _.CEd||a instanceof _.ZO||a instanceof _.eO||a instanceof _.lP||a instanceof _.KEd||a instanceof _.oP||a instanceof JQ){if(a=b.getItem()){var c=_.dO(a.clone(),9);this.Zg.Dq([c],1);ESd(this.Da,a,this.Cf.nV.BF.H)}}else if(a instanceof _.KO)a=_.sQ(_.rQ(new _.qQ,a.Pb())),this.Zg.us([a]);else if(a instanceof _.NO)a=_.sQ(_.qPd(_.rQ(new _.qQ,a.Pb()),a.Pb())),this.Zg.us([a]),this.Ba.propagate(a);
else if(a instanceof _.QO){var d=(c=a.ee().Df())!=null?c:void 0,e=_.Uj(a,2);a=jRd({direction:1,driveId:d}).ee();a=this.Zg.xn.query(a);c=a.findIndex(function(f){var g;return((g=_.Nj(f,96))!=null?g:0)>e});c>=0&&a.splice(c);a=a.map(function(f){return _.sQ(_.rQ(new _.qQ,f.Pb()))});this.Zg.us(a)}else if(a instanceof _.IO)this.H.remove(a.H());else if(a instanceof _.TO||a instanceof _.iP)this.H.put(b.RE());else if(a instanceof _.LO)ZTd(this.Zg,a);else if(a instanceof _.oF||a instanceof _.pF)this.O&&this.O.get().PE(306);
else if(a instanceof _.UO)aUd(this.Zg,a,b.wfa());else if(a instanceof _.GO||a instanceof _.mP)this.wV.lr([Z8d(b.jr())],!1);else if(a instanceof _.OO)this.wV.lr([new EQ(a.getId(),null)],!1);else if(a instanceof _.BEd)this.TO.lr(b.response.Kea().map(N9d),!1,1);else if(a instanceof _.jP)c=kZd(a).filter(function(f){return _.wh(f,3)}),(d=$fe(this.TO,a.kd()))==null||d.zU(c.map(function(f){return M9d(f.iB())})),this.Zg.yBb(a.kd());else if(a instanceof _.WP)for(a=_.n(_.Kj(a,_.cYd,1,_.Ff())),c=a.next();!c.done;c=
a.next())switch(d=c.value,c=d.getFeature(),c){case 3:case 4:case 1:case 5:case 6:case 7:case 8:switch(d=_.K(d,_.XQ,2),b=d.getType(),b){case 1:case 2:if(c===6&&b===2)c=d.kd(),this.W.get().H(c);else if(c===7&&b===2)c=d.kd(),this.ma.get().H(c);else if(c===8&&b===2)c=_.Zg(d,2),this.ua.get().H(c);else if(this.V.value)c=_.Zg(d,2),this.V.get().H(c);else if(c=this.Zg.xn.nn(d.kd()))c=_.rQ(O0d(),c.Pb()).setItem(c.clone()),this.Zg.us([c])}}};var Nie=function(a){this.H=a};
Nie.prototype.translate=function(a){if(C3d(a)){var b=this.H.nn(a.Cr());if(!b)return new _.Gr;var c=(new _.eO).Bb(a.Pb());if(_.Vq(b)){var d=b.getCapabilities();_.wh(d,16)||_.wh(d,9)?c.In(!0):_.wBd(c,!1)}else d=a.getParent(),b.WI()===1?c.In(!0):d?(b=this.H.nn(d),!b||_.wh(b.getCapabilities(),7)?i0d(c,[d]):_.wBd(c,!1)):_.wBd(c,!1);return c}if(D3d(a))return _.j0d(l0d(k0d(i0d(h0d((new _.eO).Bb(a.Pb()),_.Xj(a,2,_.Ff())),_.Xj(a,3,_.Ff())),_.Jh(a,6)),_.Kj(a,_.rq,8,_.Ff())),_.K(a,_.Se,4));if(E3d(a)){b=this.H.nn(_.E(a,
1));if(!b)return new _.Gr;c=(new _.eO).Bb(a.Pb());_.Vq(b)?(d=b.getCapabilities(),_.wh(d,16)||_.wh(d,9)?c.In(!1):_.wBd(c,!0)):(d=a.getParent(),b.WI()===1?c.In(!1):d?(b=this.H.nn(d),!b||_.wh(b.getCapabilities(),1)?h0d(c,[d]):_.wBd(c,!0)):_.wBd(c,!0));return c}if(GTd(a))return new _.CEd(a);if(Y4d(a))return _.Xj(a,1,_.Ff()).map(function(f){var g=new _.jP;f=_.L(g,1,f);g=_.Kj(a,_.N_c,2,_.Ff());f=_.Mj(f,2,g);g=_.K(a,_.Se,3);return _.Q(f,_.Se,3,g)});if(b3d(a)){c=jRd({direction:2,driveId:_.Zg(a,4),limit:1}).ee();
var e=0;this.H.query(c).forEach(function(f){(f=_.Nj(f,96))&&(e=Math.max(e,f))});return t0d(s0d(new _.QO,a),e)}return a};var Oie=function(a,b){this.Td=a;this.H=b;this.logger=this.Td.Kf("sync.request.Validator")};
Oie.prototype.validate=function(a){var b=null;if(p3d(a)){var c=a.getId()||"";_.Xi(c)&&(b="Tried to request backup with no id.")}else o3d(a)&&(c=a.getId()||"",_.Xi(c)&&(b="Tried to delete backup with no id."));if(c=NTd(a)){var d,e;c=!((d=a.ee())==null?0:(e=d.Zk())==null?0:_.Jk(e,1))}c&&(a=a.ee())&&this.logger.uc("Request is missing a reason. go/cellojs-missing-reason\n "+(this.H.H(a,2)+".\n"));return b?_.aO(b,47):null};var Pie=function(a){this.H=a},Sie=function(a,b){var c=new _.zPd,d=new _.Wp;b.user&&(a=_.lQ(a.H,b.user),_.Q(d,_.Tp,1,a));a=Qie(b);a=WZd(VZd(_.UZd(new _.dHa,a),b.rootFolderId),b.domainSharingPolicy);if(b.gsuiteSubscriptionInfo){var e=b.gsuiteSubscriptionInfo;_.YZd(a,_.KZd(_.JZd((new _.Mp).Tb(Rie.get(e.status)),bUd(e.trialMillisRemaining)),_.kQ(e.trialEndTime)))}b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.ZZd(a,_.TZd(_.SZd(new _.cHa,e.canAdministerTeam),e.canManageInvites)));b.importFormats&&
XZd(a,b.importFormats.map(function(f){var g=new _.LZd;g=_.L(g,1,f.source);return _.yk(g,2,f.targets)}));_.Q(d,_.dHa,3,a);_.APd(c,d);b=b.largestChangeId;b!=null&&_.Tg(c,4,Number(b));return c},Qie=function(a){var b=bUd(a.quotaBytesTotal),c=bUd(a.quotaBytesUsed),d=bUd(a.quotaBytesUsedAggregate),e=bUd(a.quotaBytesUsedInTrash),f=bUd(a.individualQuotaBytesUsedAggregate),g=bUd(a.individualQuotaBytesTotal);var k=new _.bHa;k=_.Tg(k,1,b);c=_.Tg(k,2,c);c=_.Tg(c,3,d);c=_.Tg(c,4,e);c=_.OZd(_.NZd(_.MZd(c,dUd(a.quotaBytesByService||
[])),a.quotaType?Tie.get(a.quotaType):void 0),b);c=_.Tg(c,9,f);c=_.QZd(c,d);e=_.Tg(c,11,e);e=_.RZd(e,Uie.get(a.quotaStatus)||0);a.quotaBytesTotal==="-1"?_.PZd(e,-1):b&&d&&_.PZd(e,Math.max(b-d,0));_.I(e,13,d&&b?_.gSd(d,b):1);a.graceQuotaInfo&&a.graceQuotaInfo.endDate&&(b=new _.$$c,d=_.$Ga(new Date(a.graceQuotaInfo.endDate)),b=_.Q(b,_.Np,1,d),a=_.Tg(b,2,bUd(a.graceQuotaInfo.additionalQuotaBytes)).setActive(!!a.graceQuotaInfo.gracePeriodActive),_.Q(e,_.$$c,12,a));g&&(_.Tg(e,16,g),f&&_.I(e,17,_.gSd(f,
g)));return e},Uie=new Map([["softLimitExceeded",2],["hardLimitExceeded",3],["underLimit",1]]),Rie=new Map([["isInTrial",1],["hasPaidContract",2],["noSubscription",3],["trialExpired",4]]),cUd=new Map([["DRIVE",1],["FAMILY",4],["GMAIL",2],["PHOTOS",3],["POOLED_STORAGE",5]]),Tie=new Map([["LIMITED",1],["UNLIMITED",2],["POOLED",3]]);var Vie=new Map([["TYPE_UNSPECIFIED",0],["MOBILE",1],["SYNC_CLIENT",2],["APP",3]]),Wie=new Map([["TYPE_UNSPECIFIED",0],["MY_DRIVE_ROOT",1],["SHARED_DRIVE_ROOT",2],["STANDARD_FOLDER",3]]),Xie=new Map([["TYPE_UNSPECIFIED",0],["USER_DELETION",1],["TRASH_AUTO_PURGE",2],["MULTIPARENTING_MIGRATION",4],["HIERARCHY_RECONCILIATION",3]]),Yie=new Map([["TYPE_UNSPECIFIED",0],["TRASH",1],["PERMANENT_DELETE",2]]),Zie=new Map([["TYPE_UNSPECIFIED",0],["UNTRASH",1],["REVIVE",2]]),$ie=new Map([["ROLE_UNSPECIFIED",
0],["OWNER",1],["ORGANIZER",2],["FILE_ORGANIZER",3],["EDITOR",4],["COMMENTER",5],["VIEWER",6],["PUBLISHED_VIEWER",7]]),aje=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["RESOLVED",5],["REOPENED",6]]),bje=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["RESOLVED",5],["REOPENED",6],["REASSIGNED",7]]),cje=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",
4],["ACCEPTED",7],["REJECTED",8],["ACCEPT_DELETED",9],["REJECT_DELETED",10]]),dje=new Map([["TYPE_UNSPECIFIED",0],["FLAGGED",1],["CLEARED",2]]),eje=new Map([["TYPE_UNSPECIFIED",0],["LOADED_FOR_VIEW",1],["VIEWED_MORE_CONTENT",2],["OPEN_WITH_APP_INITIATED",3]]),fje=new Map([["DOMAIN_VISIBILITY_UNKNOWN",0],["DOMAIN_VISIBILITY_CONSUMER",1],["DOMAIN_VISIBILITY_SAME_DOMAIN",2],["DOMAIN_VISIBILITY_ALL_DOMAINS",3],["DOMAIN_VISIBILITY_RESTRICTED",4]]),gje=new Map([["NAMED_PARTY_UNKNOWN",0],["NAMED_PARTY_UNNAMED",
1],["NAMED_PARTY_NAMED",2]]),hje=new Map([["TYPE_UNSPECIFIED",0],["DOWNLOADED",1],["DOWNLOAD_INITIATED",2],["PRINT_INITIATED",3]]),ije=new Map([["UNSPECIFIED_REFERENCE_TYPE",0],["LINK",1],["DISCUSS",2]]),jje=new Map([["FEATURE_UNSPECIFIED",0],["SHARING_OUTSIDE_DOMAIN",1],["DIRECT_SHARING",2],["ITEM_DUPLICATION",3],["DRIVE_FILE_STREAM",4]]),kje=new Map([["RESTRICTION_UNSPECIFIED",0],["UNRESTRICTED",1],["FULLY_RESTRICTED",2]]),lje=new Map([["STATUS_UNSPECIFIED",0],["IN_PROGRESS",1],["COMPLETED",2],
["CANCELLED",3]]),mje=new Map([["APPROVAL_PROCESS_UNSPECIFIED",0],["ESIGNATURE_APPROVAL",2],["AD_HOC_APPROVAL",1],["ALIGNMENT_APPROVAL",3]]),nje=new Map([["DECISION_UNSPECIFIED",0],["APPROVED",1],["DECLINED",2]]),oje=new Map([["TYPE_UNSPECIFIED",0],["LABEL_ADDED",1],["LABEL_REMOVED",2],["LABEL_FIELD_VALUE_CHANGED",3]]),pje=new Map([["PUBLISH_MODE_UNSPECIFIED",0],["NONE",1],["FIXED",2],["AUTO",3]]),qje=new Map([["REASON_UNSPECIFIED",0],["ORPHAN_REPARENTED",1],["OWNERSHIP_TRANSFER_REPARENTED",2],["UNMOVABLE_ITEM_REPARENTED",
3]]),xje=function(a){return a.map(function(b){var c=new g2d;if(b.primaryActionDetail){var d=rje(b.primaryActionDetail);_.Q(c,QXd,2,d)}b.actors&&(d=sje(b.actors),_.Mj(c,3,d));b.actions&&(d=tje(b.actions),_.Mj(c,4,d));b.targets&&(d=uje(b.targets),_.Mj(c,5,d));b.timestamp&&c.Uy(vje(b.timestamp));b.timeRange&&(b=wje(b.timeRange),_.Lj(c,7,f2d,b));return c})},tje=function(a){return a.map(function(b){var c=new e2d;if(b.detail){var d=rje(b.detail);_.Q(c,QXd,1,d)}if(b.source){d=b.source;var e=new O1d;d.type&&
e.Eb(Vie.get(d.type));d.appId&&_.Sb(e,1,d.appId);_.Q(c,O1d,2,e)}b.actor&&(d=yje(b.actor),_.Q(c,U1d,3,d));b.target&&c.tm(zje(b.target));b.timestamp&&c.Uy(vje(b.timestamp));b.timeRange&&(b=wje(b.timeRange),_.Lj(c,6,d2d,b));return c})},uje=function(a){return a.map(function(b){return zje(b)})},Bje=function(a){return a.map(function(b){return Aje(b)})},Cje=function(a){return a.map(function(b){var c=new D1d;b.parent&&c.Xg(Aje(b.parent));b.shortcut&&(b=Aje(b.shortcut),_.Q(c,y1d,2,b));return c})},zje=function(a){var b=
new c2d;if(a.driveItem){var c=Dje(a.driveItem);_.Lj(b,1,b2d,c)}if(a.drive){var d=a.drive;c=new $1d;d.name&&c.jd(d.name);d.title&&c.setTitle(d.title);d.root&&(d=Dje(d.root),_.Q(c,Z1d,3,d));_.Lj(b,5,b2d,c)}a.fileComment&&(a=a.fileComment,c=new a2d,a.legacyCommentId&&_.Sb(c,1,a.legacyCommentId),a.legacyDiscussionId&&_.Sb(c,2,a.legacyDiscussionId),a.linkToDiscussion&&_.Sb(c,3,a.linkToDiscussion),a.parent&&c.Xg(Dje(a.parent)),_.Lj(b,3,b2d,c));return b},Aje=function(a){var b=new y1d;if(a.driveItem){var c=
a.driveItem,d=new v1d;c.name&&d.jd(c.name);c.title&&d.setTitle(c.title);c.mimeType&&_.Sb(d,6,c.mimeType);if(c.driveFile){var e=new r1d;_.Lj(d,8,u1d,e)}c.driveFolder&&(e=Eje(c.driveFolder),_.Lj(d,9,u1d,e));c.driveShortcut&&(c=Fje(c.driveShortcut),_.Lj(d,10,u1d,c));_.Lj(b,1,x1d,d)}a.drive&&(a=Gje(a.drive),_.Lj(b,3,x1d,a));return b},Dje=function(a){var b=new Z1d;a.name&&b.jd(a.name);a.title&&b.setTitle(a.title);a.mimeType&&_.Sb(b,6,a.mimeType);var c=Number(a.version);isFinite(c)&&_.ub(b,5,_.hb(c),"0");
if(a.owner){var d=a.owner;c=new X1d;if(d.domain){var e=Hje(d.domain);_.Q(c,H1d,3,e)}d.user&&(e=Ije(d.user),_.Lj(c,1,W1d,e));d.drive&&(d=Gje(d.drive),_.Lj(c,4,W1d,d));_.Q(b,X1d,7,c)}a.driveFile&&(c=new r1d,_.Lj(b,8,Y1d,c));a.driveFolder&&(c=Eje(a.driveFolder),_.Lj(b,9,Y1d,c));a.driveShortcut&&(a=Fje(a.driveShortcut),_.Lj(b,10,Y1d,a));return b},Gje=function(a){var b=new w1d;a.name&&b.jd(a.name);a.title&&b.setTitle(a.title);return b},Eje=function(a){var b=new s1d;a.type&&b.Eb(Wie.get(a.type));return b},
Fje=function(a){var b=new t1d;a.targetName&&_.Sb(b,1,a.targetName);a.targetMimeType&&_.Sb(b,2,a.targetMimeType);return b},sje=function(a){return a.map(function(b){return yje(b)})},yje=function(a){var b=new U1d;if(a.user){var c=Ije(a.user);_.Lj(b,1,T1d,c)}a.anonymous&&(c=new Q1d,_.Lj(b,2,T1d,c));if(a.impersonation){var d=a.impersonation;c=new R1d;d.impersonatedUser&&(d=Ije(d.impersonatedUser),_.Q(c,$Q,1,d));_.Lj(b,3,T1d,c)}a.system&&(c=a.system,d=new S1d,c.type&&d.Eb(Xie.get(c.type)),_.Lj(b,4,T1d,
d));a.administrator&&(a=new P1d,_.Lj(b,5,T1d,a));return b},Jje=function(a){return a.map(function(b){return Ije(b)})},Ije=function(a){var b=new $Q;if(a.knownUser){var c=a.knownUser,d=new f1d;c.personName&&_.Sb(d,1,c.personName);c.isCurrentUser&&_.ok(d,2,c.isCurrentUser);c.displayName&&_.Sb(d,3,c.displayName);c.photoUrl&&d.Qk(c.photoUrl);_.Lj(b,2,h1d,d)}a.unknownUser&&(c=new g1d,_.Lj(b,4,h1d,c));a.deletedUser&&(a=new e1d,_.Lj(b,3,h1d,a));return b},vje=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/
1E3);b=b%1E3*1E6;return _.ZGa((new _.Np).setSeconds(a),b)},wje=function(a){var b=new V1d;a.startTime&&b.cV(vje(a.startTime));a.endTime&&b.QN(vje(a.endTime));return b},Hje=function(a){var b=new H1d;a.name&&b.jd(a.name);a.legacyId&&_.Sb(b,3,a.legacyId);a.audienceDisplayName&&_.Sb(b,4,a.audienceDisplayName);return b},rje=function(a){var b=new QXd;if(a.create){var c=a.create,d=new kRd;if(c.new){var e=new A1d;_.Lj(d,1,C1d,e)}c.upload&&(e=new B1d,_.Lj(d,2,C1d,e));c.copy&&(e=c.copy,c=new z1d,e.originalObject&&
(e=Aje(e.originalObject),_.Q(c,y1d,1,e)),_.Lj(d,3,C1d,c));_.Lj(b,1,GQ,d)}a.edit&&(d=new lRd,_.Lj(b,2,GQ,d));if(a.move){c=a.move;d=new mRd;c.addedParents&&(e=Bje(c.addedParents),_.Mj(d,1,e));c.removedParents&&(e=Bje(c.removedParents),_.Mj(d,2,e));c.fromOwnershipTransfer&&_.ok(d,3,c.fromOwnershipTransfer);c.reparents&&(e=c.reparents.map(Kje),_.Mj(d,4,e));if(c.multiparentingMigration){e=c.multiparentingMigration;c=new E1d;if(e.removedParents){var f=Bje(e.removedParents);_.Mj(c,2,f)}e.migratedParents&&
(e=Cje(e.migratedParents),_.Mj(c,1,e));_.Q(d,E1d,5,c)}_.Lj(b,3,GQ,d)}a.rename&&(d=a.rename,c=new nRd,d.oldTitle&&_.Sb(c,1,d.oldTitle),d.newTitle&&_.Sb(c,2,d.newTitle),_.Lj(b,4,GQ,c));a.delete&&(d=a.delete,c=new oRd,d.type&&c.Eb(Yie.get(d.type)),_.Lj(b,5,GQ,c));a.restore&&(d=a.restore,c=new pRd,d.type&&c.Eb(Zie.get(d.type)),_.Lj(b,6,GQ,c));a.permissionChange&&(c=a.permissionChange,d=new qRd,c.addedPermissions&&(e=Lje(c.addedPermissions),_.Mj(d,1,e)),c.removedPermissions&&(e=Lje(c.removedPermissions),
_.Mj(d,2,e)),c.resharedPermissions&&(e=Lje(c.resharedPermissions),_.Mj(d,3,e)),c.otherActivePermissions&&(c=Lje(c.otherActivePermissions),_.Mj(d,4,c)),_.Lj(b,7,GQ,d));if(a.comment){c=a.comment;d=new rRd;c.post&&(f=c.post,e=new o1d,f.subtype&&(f=aje.get(f.subtype),_.vk(e,1,f)),_.Lj(d,1,q1d,e));if(c.assignment){f=c.assignment;e=new n1d;if(f.subtype){var g=bje.get(f.subtype);_.vk(e,1,g)}f.assignedUser&&(f=Ije(f.assignedUser),_.Q(e,$Q,7,f));_.Lj(d,2,q1d,e)}c.suggestion&&(f=c.suggestion,e=new p1d,f.subtype&&
(f=cje.get(f.subtype),_.vk(e,1,f)),_.Lj(d,3,q1d,e));c.mentionedUsers&&(c=Jje(c.mentionedUsers),_.Mj(d,7,c));_.Lj(b,8,GQ,d)}a.dlpChange&&(d=a.dlpChange,c=new sRd,d.type&&c.Eb(dje.get(d.type)),_.Lj(b,9,GQ,c));if(c=a.view){d=new tRd;(e=eje.get(c.type))&&d.Eb(e);if(e=c.viewHistoryVisibility)c=new N1d,(f=fje.get(e.domainPolicyVisibilityState))&&_.vk(c,1,f),(e=gje.get(e.namedPartyState))&&_.vk(c,2,e),_.Q(d,N1d,2,c);_.Lj(b,10,GQ,d)}if(c=a.download)d=new uRd,(c=hje.get(c.type))&&d.Eb(c),_.Lj(b,11,GQ,d);a.reference&&
(e=a.reference,d=new vRd,e.type&&d.Eb(ije.get(e.type)),e.context&&(c=d.Oh,e=e.context,f=new $0d,e.description&&f.Kj(e.description),e.url&&_.Sb(f,2,e.url),c.call(d,f)),_.Lj(b,12,GQ,d));a.settingsChange&&(c=a.settingsChange,d=new wRd,c.restrictionChanges&&(c=Mje(c.restrictionChanges),_.Mj(d,1,c)),_.Lj(b,13,GQ,d));a.approvalChange&&(c=a.approvalChange,d=new xRd,c.approvalName&&_.Sb(d,2,c.approvalName),c.approvalEventNames&&_.yk(d,3,c.approvalEventNames),c.initiator&&(e=Ije(c.initiator),_.Q(d,$Q,4,e)),
c.reviewers&&(e=Jje(c.reviewers),_.Mj(d,5,e)),c.status&&d.Tb(lje.get(c.status)),c.dueTime&&(e=vje(c.dueTime),_.Q(d,_.Np,7,e)),c.approvalRequested&&(e=new c1d,_.Lj(d,8,m1d,e)),c.approvalCancelled&&(e=new b1d,_.Lj(d,9,m1d,e)),c.reviewerResponded&&(f=c.reviewerResponded,e=new j1d,f.reviewerDecision&&(f=nje.get(f.reviewerDecision),_.vk(e,1,f)),_.Lj(d,10,m1d,e)),c.commentAdded&&(e=new d1d,_.Lj(d,11,m1d,e)),c.reviewersChanged&&(f=c.reviewersChanged,e=new l1d,f.reviewerChanges&&(f=Nje(f.reviewerChanges),
_.Mj(e,1,f)),_.Lj(d,12,m1d,e)),c.dueTimeChanged&&(f=c.dueTimeChanged,e=new i1d,f.oldDueTime&&(f=vje(f.oldDueTime),_.Q(e,_.Np,1,f)),_.Lj(d,13,m1d,e)),c.approvalProcess&&(c=mje.get(c.approvalProcess),_.vk(d,16,c)),_.Lj(b,18,GQ,d));a.lock&&(d=new yRd,_.Lj(b,15,GQ,d));a.unlock&&(d=new zRd,_.Lj(b,16,GQ,d));a.appliedLabelChange&&(c=a.appliedLabelChange,d=new ARd,c.changes&&(c=Oje(c.changes),_.Mj(d,1,c)),_.Lj(b,19,GQ,d));a.publishChange&&(c=a.publishChange,d=new BRd,c.oldPublishState&&(e=Pje(c.oldPublishState),
_.Q(d,L1d,1,e)),c.newPublishState&&(c=Pje(c.newPublishState),_.Q(d,L1d,2,c)),_.Lj(b,20,GQ,d));a.linkShareMetadataChange&&(a=a.linkShareMetadataChange,d=new CRd,a.securityUpdateEnabled&&_.ok(d,1,a.securityUpdateEnabled),_.Lj(b,21,GQ,d));return b},Kje=function(a){var b=new F1d;a.reason&&(a=qje.get(a.reason),_.vk(b,1,a));return b},Lje=function(a){return a.map(function(b){var c=new K1d;if(b.role){var d=$ie.get(b.role);_.vk(c,1,d)}b.user&&(d=Ije(b.user),_.Lj(c,2,J1d,d));if(b.group){d=b.group;var e=new I1d;
d.email&&_.Sb(e,1,d.email);d.title&&e.setTitle(d.title);_.Lj(c,3,J1d,e)}b.domain&&(d=Hje(b.domain),_.Lj(c,4,J1d,d));b.anyone&&(d=new G1d,_.Lj(c,5,J1d,d));b.allowDiscovery&&_.ok(c,6,b.allowDiscovery);return c})},Mje=function(a){return a.map(function(b){var c=new M1d;if(b.feature){var d=jje.get(b.feature);_.vk(c,1,d)}b.newRestriction&&(b=kje.get(b.newRestriction),_.vk(c,2,b));return c})},Nje=function(a){return a.map(function(b){var c=new k1d;if(b.removedReviewer){var d=Ije(b.removedReviewer);_.Q(c,
$Q,3,d)}b.addedReviewer&&(b=Ije(b.addedReviewer),_.Q(c,$Q,4,b));return c})},Oje=function(a){return a.map(function(b){var c=new a1d;b.label&&c.Jc(b.label);b.types&&(b=Qje(b.types),_.Bk(c,2,b));return c})},Qje=function(a){return a.map(function(b){return oje.get(b)})},Pje=function(a){var b=new L1d;if(a.publishMode){var c=pje.get(a.publishMode);_.vk(b,1,c)}a.signinRequired&&_.ok(b,2,a.signinRequired);a.publishedTime&&(a=vje(a.publishedTime),_.Q(b,_.Np,3,a));return b};var kUd=new Map([["WEB_ONLY",1],["WEB_AND_CHROME_EXTENSION",2],["CHROME_EXTENSION_ONLY",3]]),mUd=new Map([["application",1],["document",2],["documentShared",3]]);var qUd=new Map([["BACKUP_SOURCE_UNSPECIFIED",0],["BACKUP_SOURCE_WHATSAPP",1],["BACKUP_SOURCE_ANDROID",2]]),uUd=new Map([["TYPE_UNSPECIFIED",0],["TYPE_UNSPECIFIED",0],["TYPE_APP",1],["TYPE_SYNC_CALENDAR",2],["TYPE_SYNC_CONTACTS",3],["TYPE_SYNC_PHOTOS_AND_VIDEOS",4],["TYPE_CALL_HISTORY",5],["TYPE_DEVICE_SETTINGS",6],["TYPE_SMS",7],["TYPE_MMS",8]]);var Rje=function(a,b){this.H=a;this.O=b};var xUd=new Map([["QUEUED",1],["COUNTING",3],["BUILDING",2],["SUCCEEDED",4],["FAILED",5]]);var iWd=new Map([["READ",2],["WRITE",3],["COMMENT",4]]),BUd=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);var Sje=function(a){this.logger=a},Tje=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof C5d))return a.logger.uc("Response Parser: Error parsing type "+c+".",e),!1;throw e;}return!0};var Uje=function(a,b){this.logger=b.Kf("response.metadata.DriveMetadataParser");this.H=a};_.P(Uje,Sje);
var Wje=function(a,b,c){var d=new lR,e=Object.values(c.categoryMetadata||{});H5d(d,e.map(function(f){return Vje(a,f,b.kd())})).Tb(1);return new M4d(d,eXd(c))},Vje=function(a,b,c){c=u2d((new CQ).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);t2d(c,b.map(function(d){return Xje(a,d)}).filter(function(d){return d!==null}));return c},Xje=function(a,b){var c=(new p2d).Bb(b.id);if(b.userScoped)b=Object.values(b.userScoped),r2d(c,b.map(function(d){if(d.scopedUser){var e=new n2d;var f=_.lQ(a.H,
d.scopedUser);e=_.Q(e,_.Tp,1,f);d=a.Lb(e,d)?e:null}else d=null;return d}).filter(function(d){return d!==null})),c.HH(9);else if(!a.Lb(c,b))return null;return c};Uje.prototype.Lb=function(a,b){var c=b.valueType;a.HH(Yje.get(c));return Zje(this,a,c,b[c])};
var Zje=function(a,b,c,d){return Tje(a,function(){$je(a,c,b)(d)},c)},$je=function(a,b,c){switch(b){case "boolean":return function(d){return c.setBooleanValue(d)};case "text":return function(d){return c.setTextValue(d)};case "textList":return function(d){return c.KLa(d)};case "longText":return function(d){return c.setLongTextValue(d)};case "selection":return function(d){return c.setSelectionValue(d)};case "selectionList":return function(d){return c.HLa(d)};case "integer":return function(d){return c.setIntegerValue(Number(d))};
case "integerList":return function(d){return c.yLa(d.map(function(e){return Number(e)}))};case "user":return function(d){return c.setUserValue(_.lQ(a.H,d))};case "userList":return function(d){q2d(c,d.map(function(e){return _.lQ(a.H,e)}))};case "dateString":return function(d){return c.setDateStringValue(d)};default:throw new TypeError("Fi`"+b);}},Yje=new Map([["boolean",1],["text",2],["textList",3],["longText",4],["selection",5],["selectionList",6],["integer",7],["integerList",8],["userScoped",9],
["user",10],["userList",11],["dateString",12]]);var ake=function(a){this.Td=a},cke=function(a,b){try{var c=H2d(F2d((new aR).Bb(b.id),b.revisionId),b.learnMoreUri);b.fields&&G2d(c,b.fields.map(function(d){var e=(new E2d).Bb(d.id);if(d.properties){var f=e.setProperties;var g=d.properties;var k=new A2d;k=_.L(k,1,g.displayName);k=_.J(k,2,g.required);g=_.L(k,3,g.insertBeforeField);f.call(e,g)}switch(!0){case !!d.textOptions:var l=d.textOptions;l=(new B2d).H(l.minLength).Qia(l.maxLength);_.Lj(e,2,D2d,l);break;case !!d.integerOptions:l=d.integerOptions;
d=new z2d;l.minValue===void 0||Number.isNaN(Number(l.minValue))||_.Tg(d,1,Number(l.minValue));l.maxValue===void 0||Number.isNaN(Number(l.maxValue))||_.Tg(d,2,Number(l.maxValue));_.Lj(e,4,D2d,d);break;case !!d.dateOptions:d=d.dateOptions;f=new y2d;g=(l=bke.get(d.dateFormatType))!=null?l:0;l=_.I(f,1,g);l=_.L(l,2,d.dateFormat);d.minValue&&(f=RWd(d.minValue),_.Q(l,_.dq,3,f));d.maxValue&&(d=RWd(d.maxValue),_.Q(l,_.dq,4,d));_.Lj(e,5,D2d,l);break;case !!d.selectionOptions:l=aXd(d.selectionOptions);_.Lj(e,
6,D2d,l);break;case !!d.userOptions:d=d.userOptions;l=new C2d;d.listOptions&&(d=UWd(d.listOptions),_.Q(l,bXd,1,d));_.Lj(e,7,D2d,l);break;default:throw new TypeError("Gi");}return e}));return c}catch(d){throw a.Td.Kf("response.metadata.LabelTaxonomyParser").uc("Response Parser: Error parsing label taxonomy "+d),new _.wf("Response Parser: Error parsing label taxonomy",null,d);}},bke=new Map([["DATE_FORMAT_UNSPECIFIED",0],["LONG_DATE",1],["SHORT_DATE",2]]);var dke=function(a){this.logger=a.Kf("response.metadata.MetadataParser")};_.P(dke,Sje);
var fke=function(a,b){var c=new Y5d;Z5d(c,(b.categories||[]).map(function(d){return eke(a,d)}));c.Tb(1);return new O4d(c,eXd(b))},eke=function(a,b){var c,d=X5d(O5d(U5d(T5d(S5d(N5d(M5d((new mR).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).Kj(b.description),_.kQ(b.createTime)),_.kQ(b.updateTime)),_.kQ(b.publishTime)),((c=b.attributes)!=null?c:[]).map(function(e){a:{var f=e.type;var g=(new E5d).Bb(e.id);g=_.L(g,2,e.queryGuid);g=_.L(g,3,e.helpText);g=_.L(g,4,e.displayName);if(e.attributeDisplayHints){var k=
gke(e.attributeDisplayHints);_.Q(g,D5d,5,k)}if(e.capabilities){k=e.capabilities;var l=new n5d;l=_.J(l,1,k.canSearch);k=_.J(l,2,k.canWrite);_.Q(g,n5d,6,k)}if(f&&(k=hke.get(f),_.I(g,7,k),e=e[_.bO(f)+"Options"],!ike(a,g,f,e))){f=null;break a}f=g}return f}).filter(function(e){return e!==null})),b.customer);b.createdBy&&P5d(d,jke(b.createdBy));b.yOc&&Q5d(d,jke(b.yOc));b.publishedBy&&R5d(d,jke(b.publishedBy));b.displayHints&&V5d(d,gke(b.displayHints));b.capabilities&&W5d(d,kke(b.capabilities));b.learnMoreUri&&
_.L(d,15,b.learnMoreUri);return d},gke=function(a){var b=(new D5d).ue(a.disabled);b=_.J(b,2,a.hidden);return _.J(b,3,"activatedInAllDrives"in a?a.activatedInAllDrives:void 0).DA("required"in a?!!a.required:!1)},kke=function(a){var b=new L5d;b=_.J(b,1,a.canSearch);b=_.J(b,2,a.canApply);b=_.J(b,4,a.canRemove);return _.J(b,3,a.canManageSharedDriveActivation)},ike=function(a,b,c,d){return Tje(a,function(){lke(a,c,b)(d)},c,b)},mke=function(a){a=a===void 0?{}:a;var b=new y5d;b=_.Ug(b,1,a.minSize);return _.Ug(b,
2,a.maxSize)},oke=function(a){var b=new v5d;w5d(b,(a.choices||[]).map(function(c){var d=(new u5d).Jc(c.label).Lb(c.value);c.description&&d.Kj(c.description);if(c.capabilities){var e=c.capabilities;var f=new s5d;f=_.J(f,1,e.canSearch);e=_.J(f,2,e.canSelect);_.Q(d,s5d,3,e)}c.displayHints&&(c=c.displayHints,e=(new t5d).ue(c.disabled),e=_.J(e,2,c.hidden),c.badgePriority&&_.Tg(e,5,c.badgePriority),c.badgeColors&&(f=nke(c.badgeColors),_.Q(e,SQ,3,f)),c.darkBadgeColors&&(c=nke(c.darkBadgeColors),_.Q(e,SQ,
4,c)),_.Q(d,t5d,4,e));return d}));return b},nke=function(a){var b=new SQ;var c=pke(a.backgroundColor);b=_.Q(b,_.Fr,1,c);c=pke(a.foregroundColor);b=_.Q(b,_.Fr,2,c);a=pke(a.soloColor);return _.Q(b,_.Fr,3,a)},pke=function(a){var b=new _.Fr;b=_.ub(b,1,_.cb(a.red),0);b=_.ub(b,2,_.cb(a.green),0);b=_.ub(b,3,_.cb(a.blue),0);a.alpha&&(a=(new rSd).Lb(a.alpha),_.Q(b,rSd,4,a));return b},qke=function(a){var b=new p5d;b=_.J(b,1,a.showThousandsSeparator);b=_.Tg(b,2,Number(a.minValue));return _.Tg(b,3,Number(a.maxValue))},
rke=function(a){var b=(new _.dq).setYear(a.year).setMonth(a.month);return _.Ug(b,3,a.day)},jke=function(a){return(new _.Tp).Eb(1).Bb(a.personName.split("/")[1])},lke=function(a,b,c){switch(b){case "BOOLEAN":return function(d){var e=c.ADb;var f=new m5d;f=_.L(f,1,d.trueLabel);d=_.L(f,2,d.falseLabel);return e.call(c,d)};case "TEXT":return function(d){return c.jeb(mke(d))};case "TEXT_LIST":return function(d){var e=c.DEb;var f=new z5d;f=_.Ug(f,1,d.maxEntries);d=mke(d.options);d=_.Q(f,y5d,2,d);return e.call(c,
d)};case "LONG_TEXT":return function(d){var e=new r5d;e=_.Ug(e,1,d.minSize);d=_.Ug(e,2,d.maxSize);return _.Lj(c,10,kR,d)};case "SELECTION":return function(d){return c.ieb(oke(d))};case "SELECTION_LIST":return function(d){var e=c.qEb;var f=new x5d;f=_.Ug(f,1,d.maxEntries);d=oke(d.options);d=_.Q(f,v5d,2,d);return e.call(c,d)};case "INTEGER":return function(d){return c.heb(qke(d))};case "INTEGER_LIST":return function(d){var e=c.SDb;var f=new q5d;f=_.Ug(f,1,d.maxEntries);d=qke(d.options);d=_.Q(f,p5d,
2,d);return e.call(c,d)};case "USER":return function(){return c.leb(new A5d)};case "USER_LIST":return function(d){var e=c.keb,f=new B5d;d=_.Ug(f,1,d.maxEntries);f=new A5d;d=_.Q(d,A5d,2,f);return e.call(c,d)};case "DATE":return function(d){var e=c.geb;var f=new o5d;f=_.L(f,4,d.dateFormat);var g=rke(d.minValue);f=_.Q(f,_.dq,2,g);d=rke(d.maxValue);d=_.Q(f,_.dq,3,d);return e.call(c,d)};case "USER_SCOPED":return function(d){var e=new C5d;e=_.J(e,1,d.canReadCollaboratorValues);var f=d.subtype,g=hke.get(f);
_.I(e,2,g);g=_.bO(f)+"Options";ike(a,e,f,d[g]);return _.Lj(c,16,kR,e)};default:throw new TypeError("Hi`"+b);}},hke=new Map([["BOOLEAN",1],["TEXT",2],["TEXT_LIST",3],["LONG_TEXT",4],["SELECTION",5],["SELECTION_LIST",6],["INTEGER",7],["INTEGER_LIST",8],["USER",10],["USER_LIST",11],["DATE",12],["USER_SCOPED",9]]);var fXd={movable:1,deadlineExceeded:2,exceedsMoveSizeLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7,exceedsMultipleAppearanceLimit:14,quotaExceeded:15,unmovableSourceItems:16},nXd={insufficientPermission:1,differentCustomer:2,abuse:3,blockedType:4,sharedDriveNotFound:5,alreadyInSharedDrive:6,editorMoveInDisabled:8,ownerMustBeMemberOfDestinationSharedDrive:9,cannotMoveAsAdmin:10,other:7};var ske=function(a,b){this.H=a;this.O=b},uke=function(a,b){return(b.items||[]).map(function(c){return tke(a,c)})},tke=function(a,b){var c=new _.Bq,d=_.qNd(b.colorRgb);d&&_.Tg(c,2,d);A_d(c,vke(a,b.backgroundImageLink));_.J(c,3,b.trusted);B_d(c,vke(a,b.backgroundImageGridViewLink));C_d(c,vke(a,b.backgroundImageListViewLink));_.J(c,7,b.hidden);_.J(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&D_d(c,d.map(function(g){var k=new _.zq;return _.L(k,1,g.category)}));b.corpusLimits&&(d=
Number(b.corpusLimits.itemsCountCapacityUsedPercentage),isNaN(d)||y_d(_.Bj(c,_.Aq,10),d),d=Number(b.corpusLimits.itemsCountCapacityUsedPercentageNotificationThreshold),isNaN(d)||z_d(_.Bj(c,_.Aq,10),d));c=_.OHd(_.CHd(_.BHd(_.Wq(_.mIa(_.Rq((new _.Oq).Bb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id).KF(2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.JGd(_.rNd(b.capabilities),!0),_.KP(c,d));b.creator&&(d=_.lQ(a.H.H,b.creator),_.AHd(c,d));b.permissionsSummary&&
_.yHd(c,E0d(a.H,b.permissionsSummary));b.restrictions&&I_d(c,wke(b.restrictions));if(b.quotaInfo){var e;if(!isNaN(Number(b==null?void 0:(e=b.quotaInfo)==null?void 0:e.individualQuotaBytesTotal))){var f;J_d(c,Number(b==null?void 0:(f=b.quotaInfo)==null?void 0:f.individualQuotaBytesTotal))}isNaN(Number(b.quotaInfo.quotaBytesUsed))||_.Tg(c,143,Number(b.quotaInfo.quotaBytesUsed))}return c},wke=function(a){var b=new _.PHa;b=_.J(b,1,a.copyRequiresWriterPermission);b=_.J(b,2,a.disallowDriveFileStream);b=
_.J(b,3,a.domainUsersOnly);"teamMembersOnly"in a&&_.J(b,4,a.teamMembersOnly);return b},vke=function(a,b){return a.O&&b&&_.iu(b)?b.replace("/d/","/"+a.O+"/"):b};var xke={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,DRIVE_BE_EX:7,DRIVE_SHARING:9},lYd=_.Hc(xke);var AXd={active:1,archived:2};var yke=function(a,b,c,d){_.pOd.call(this,b,c);var e=this;this.Cf=a;this.V=d;this.Ba=new _.eQ(function(){return new dke(e.Td)});this.Ia=new _.eQ(function(){return new Uje(e.ma,e.Td)});this.Ka=new _.eQ(function(){return new ake(e.Td)});this.Da=new Pie(this.ma);this.O=new ske(this.H,_.Zg(b,100));this.Ga=new Rje(this.H,this.O)};_.P(yke,_.pOd);
yke.prototype.ua=function(a,b){if(a instanceof _.BO)var c=_.FNd(_.vOd(a));else{if(a instanceof _.AEd){if(!b.json)throw _.mQ();var d=b.json,e=new P6d;d.nextPageToken&&_.Sb(e,2,d.nextPageToken);if(d.activities){var f=xje(d.activities);_.Mj(e,1,f)}var g=e}else{if(a instanceof _.CO)var k=_.qOd(this,a,b);else{if(a instanceof _.DO)var l=_.qOd(this,a,b);else{if(a instanceof q6d)var m=(new s6d).Tb(1);else{if(a instanceof JQ)var q=zke(this,a,b);else{if(a instanceof _.BEd)var r=Ake(this,a.request,b);else{if(a instanceof
_.FO){if(!b.json)throw _.mQ();_.jQ(_.fc(_.iQ("drive#teamDrive"),_.iQ("drive#drive")),b.json);var t=J5d((new I5d).Tb(1),tke(this.O,b.json))}else{if(a instanceof _.CEd)var u=zke(this,a,b);else{if(a instanceof _.WP)var v=new j6d;else{if(a instanceof _.GO)var x=Bke(a,b);else{if(a instanceof _.IO)var y=hUd(void 0,a.H());else{if(F6d(a)){var C=Promise,F=C.resolve,G=new G6d;var M=_.nj(G,1,_.Ab(b.text));var W=F.call(C,M)}else{if(a instanceof _.JO)var R=new j5d;else{if(a instanceof _.KO)var fa=_.FNd(_.vOd(a));
else{if(a instanceof _.LO)var aa=new w6d;else{if(a instanceof _.MO)var X=_.FNd(_.vOd(a));else{if(a instanceof _.NO)var la=_.FNd(_.vOd(a));else{if(a instanceof _.oF){var Da=new J6d,Ia=a.getKey();var Ta=_.Q(Da,_.$g,4,Ia)}else{if(a instanceof _.OO)var kb=Bke(a,b);else{if(a instanceof _.QO)var Bb=_.FNd(_.vOd(a));else{if(a instanceof _.TO)var Wb=Cke(a,b);else{if(a instanceof _.UO){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#permission"),b.json);var Mb=(new w6d).Tb(1),Fc=_.INd(this.H,b.json);var Cc=_.Q(Mb,
_.Tp,2,Fc)}else{if(a instanceof _.DEd){if(!b.json)throw _.mQ();var dd=new $$d}else{if(a instanceof _.uEd){if(!b.json)throw _.mQ();var rc=new aae(b.json.exportJob.id)}else{if(a instanceof _.EEd){if(!b.json)throw _.mQ();var $c=AUd(b.json)}else{if((0,_.VO)(a)&&_.qi(a))var Cb=EUd(a,this.V,this.Cf,b.json);else{if(a instanceof _.sO)a:{var Tc;if(b.headers&&((Tc=b.headers["content-type"])==null?0:Tc.includes("application/json+protobuf"))){var Lc=_.tOd(a,b,X6d),Qb=_.K(Lc,W6d,3),Nb=_.wO((new _.Cr).Tb(1),Lc.jh()),
Ed=Qb==null?void 0:_.N(Qb,2);var ic=_.J(Nb,8,Ed);var xb=_.$Hd(ic,Qb==null?void 0:Qb.oD()),Kb;Qb==null?Kb=void 0:Kb=_.Xj(Qb,3,_.Ff());var oc=_.yk(xb,18,Kb);var nd=_.UJd(_.TJd(new _.YP,oc),Lc.Ws())}else{if(!b.json)throw _.mQ();if(a instanceof _.sO){var Ub=a.ee();if(Ub&&(_.qi(Ub)||_.N(Ub,82,!1))){nd=EUd(Ub,this.V,this.Cf,b.json);break a}}_.jQ(_.iQ("drive#fileList"),b.json);nd=_.CNd(this.H,b.json,b.headers)}}else{if(a instanceof _.vEd){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#app"),b.json);var tc=b.json,
ke=new h5d,Id=eUd(tc);var Ce=_.Q(ke,_.QQ,2,Id).Tb(1)}else{if((0,_.RId)(a)||(0,_.PId)(a)){var Td=b.json;if(!Td)throw _.mQ();var Od=new Z4d,Te=[cke(this.Ka.get(),Td)];var yb=_.Mj(Od,5,Te)}else{if("function"==typeof _.GEd&&a instanceof _.GEd)var $b=Dke(this,b);else{if(a instanceof _.WO){if(!b.json)throw _.mQ();var Ma=wUd(b.json)}else{if(a instanceof _.XO){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#appList"),b.json);var Db=b.json,Yb=new iR,qb=fUd(Db);var pb=_.Mj(Yb,2,qb);var hc=_.yk(pb,4,Db.defaultAppIds).Tb(1)}else{if(a instanceof
_.lBd){if(!b.json)throw _.mQ();var le=rUd(b.json)}else{if(a instanceof _.fO)var zf=Dke(this,b);else{if(a instanceof _.YO){var ng=b.json;if(!ng)throw _.mQ();_.jQ(_.iQ("drive#permissionList"),ng);var Xe=new v6d,bd=D0d(this.H,ng);var Ne=_.Q(Xe,u0d,1,bd);var Tf=_.L(Ne,2,eXd(ng))}else{if(a instanceof _.wEd){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#revisionList"),b.json);var og=this.H,si=b.json;var Vh=Vh===void 0?!0:Vh;var dk=new w0d,tj=Vh;tj=tj===void 0?!0:tj;for(var Cj=[],al=si.items||[],Fh=0;Fh<al.length;Fh++){var Wg=
_.DNd(og,al[Fh],tj);Cj.push(Wg)}var bj=_.Mj(dk,2,Cj)}else{if(a instanceof _.ZO)var Dk=_.qOd(this,a,b);else{if(a instanceof _.gQ)var ti=Eke(a,b);else{if(a instanceof _.fP){if(!b.json)throw _.mQ();var Mc=vXd(b.json)}else{if(a instanceof _.HEd){if(!b.json)throw _.mQ();var hg=fke(this.Ba.get(),b.json)}else{if(a instanceof _.m0c){if(!b.json)throw _.mQ();var kf=this.Ba.get(),pc=b.json,ue=new $5d,Pf=eke(kf,pc);var Xg=_.Q(ue,mR,2,Pf).Tb(1)}else{if(a instanceof _.yEd){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#remainingCount"),
b.json);var Dj=b.json,Ej=new Q0d,Fl=Dj.nextPageToken;Fl!=null&&_.Tg(Ej,2,Number(Fl));_.Ug(Ej,1,Number(Dj.remainingCount));var ek=Ej}else{if(a instanceof _.BPd){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#startPageToken"),b.json);var fk=b.json,Uc=new R0d,mm=fk.startPageToken;if(mm!==null){var Fj=Number(mm);T0d(S0d(Uc,Fj),Fj-1)}var Ok=Uc}else{if(a instanceof _.SP)var Gh=_.FNd(_.vOd(a));else{if(a instanceof _.QN){if(!b.json)throw _.mQ();var Co=FXd(this.V,this.Cf,b.json).Tb(1)}else{if(a instanceof _.SAd){if(!b.json)throw _.mQ();
var Gl=BXd(this.V,this.Cf,b.json)}else{if(a instanceof _.zN){var Kp;if(b.headers&&((Kp=b.headers["content-type"])==null?0:Kp.includes("application/json+protobuf"))){var iq=_.tOd(a,b,T6d),Gj=(new _.Cr).Tb(1),nm=_.Kj(iq,S6d,1,_.Ff()),co=a.Lh();nm.length!==co.length&&this.Td.Kf("sync.request.FromXhrConverter").yw("Expected "+co.length+" items in response but got "+nm.length);for(var ip=Math.max(co.length,nm.length),jp=0;jp<ip;jp++){var hs=void 0,Xl=jp<co.length?co[jp]:void 0,Hl=jp<nm.length?nm[jp]:void 0;
if(Hl){var Il=(hs=_.K(Hl,_.Oq,2))==null?void 0:hs.Pb();if(Xl&&Il&&Xl!==Il)throw Error("Vg");var eo=Hl.getStatus();if(eo&&(eo==null?void 0:eo.Dh())!==0){Gj.Tb(6);var qr=Il!=null?Il:Xl;if(qr){var Nu=_.YHd(_.ZHd((new _.PP).Tb(6),eo.Dh()),eo.getMessage());_.tb(Gj,19,_.PP).set(qr,Nu);throw new _.wf("Failed to get item "+qr+": "+eo.getMessage(),_.aId(eo.Dh()));}}else{var Mn=_.K(Hl,_.Oq,2);_.xO(Mn);Gj.Nj(Mn)}}else Gj.Tb(6),_.tb(Gj,19,_.PP).set(Xl,_.uOd)}var Pq=Gj}else{if(!b.json)throw _.mQ();_.jQ(_.fc(_.iQ("drive#teamDrive"),
_.iQ("drive#drive")),b.json);Pq=_.wO(new _.Cr,[tke(this.O,b.json)])}}else{if(a instanceof _.LEd){if(!b.json)throw _.mQ();_.jQ(_.fc(_.iQ("drive#migrateToDrivePreFlightResponse"),_.iQ("drive#migrateToTeamDrivePreFlightResponse")),b.json);var Tt=iXd(b.json)}else{if(a instanceof _.pP){var is;if(b.headers&&((is=b.headers["content-type"])==null?0:is.includes("application/json+protobuf"))){for(var Ut=_.tOd(a,b,Y6d),jq=_.Kj(Ut,_.Oq,1,_.Ff()),at=_.n(jq),Do=at.next();!Do.done;Do=at.next())_.xO(Do.value);var Ly=
_.wO(new _.Cr,_.Kj(Ut,_.Oq,1,_.Ff()));var Ou=_.TJd(_.UJd(new _.YP,Ut.Ws()),Ly)}else{if(!b.json)throw _.mQ();_.jQ(_.fc(_.iQ("drive#teamDriveList"),_.iQ("drive#driveList")),b.json);var Pu=_.wO(new _.Cr,uke(this.O,b.json));Ou=_.UJd(_.TJd(new _.YP,Pu),eXd(b.json))}}else{if(a instanceof _.MEd){var eA;if(b.headers&&((eA=b.headers["content-type"])==null?0:eA.includes("application/json+protobuf"))){var ND=_.tOd(a,b,T6d),iG=_.Kj(ND,S6d,1,_.Ff())[0],rr=iG.getStatus();if(rr&&rr.Dh()!==0)throw new _.wf("Failed to get shared drive "+
a.qn()+": "+rr.getMessage(),_.aId(rr.Dh()));var jG=_.K(iG,_.Oq,2);_.xO(jG);var Qu=new D6d,bt=_.Yg(jG,79);var sr=_.Ug(Qu,1,bt);var OD=_.Yg(jG,113);_.Ug(sr,2,OD);var $y=Qu}else{if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#teamDrive"),b.json);var lt=b.json,az=lt.recursiveFileCount,UG=lt.recursiveFolderCount,vE=new D6d;var bz=_.Ug(vE,1,Number(az));$y=_.Ug(bz,2,Number(UG))}}else{if(a instanceof _.iP)var UL=Cke(a,b);else{if(a instanceof _.jP)var VG=Ake(this,a,b);else{if(a instanceof _.eO)var VL=_.qOd(this,
a,b);else{if(a instanceof _.kP)var wE=_.qOd(this,a,b);else{if(a instanceof _.lP)var $O=zke(this,a,b);else{if(a instanceof _.pF){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#setting"),b.json);var qJ=b.json,aT=new _.$g;var bT=_.L(aT,2,qJ.key);var WL=_.I(bT,1,qJ.namespace?xke[qJ.namespace]:void 0);var rJ=_.fHa(new _.Vp,WL).Lb(qJ.value);var cY=new J6d;var cT=_.Q(cY,_.Vp,3,rJ);var dY=rJ.getKey();var FA=_.Q(cT,_.$g,4,dY)}else{if(a instanceof _.mP)var aP=Bke(a,b);else{if(a instanceof _.nP){if(!b.json)throw _.mQ();
_.jQ(_.iQ("drive#about"),b.json);var vp=Sie(this.Da,b.json)}else{if(a instanceof _.KN){var dT=_.tOd(a,b,R6d);var WG=c5d(dT.jf())}else{if(a instanceof _.YN){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#workspace"),b.json);var XG=xXd(b.json),xE=new J4d;xE.A5().set(XG.getId(),XG);var YG=xE}else{if(a instanceof _.OEd){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#workspaceList"),b.json);var ZG=zXd(b.json)}else{if((0,_.RO)(a)){var eT=_.tOd(a,b,x6d);var bP=ASd(eT)}else{if((0,_.SO)(a)){var yE=_.tOd(a,b,y6d);var XL=
GSd(a,yE,this.V)}else XL=null;bP=XL}ZG=bP}YG=ZG}WG=YG}vp=WG}aP=vp}FA=aP}$O=FA}wE=$O}VL=wE}VG=VL}UL=VG}$y=UL}Ou=$y}Tt=Ou}Pq=Tt}Gl=Pq}Co=Gl}Gh=Co}Ok=Gh}ek=Ok}Xg=ek}hg=Xg}Mc=hg}ti=Mc}Dk=ti}bj=Dk}Tf=bj}zf=Tf}le=zf}hc=le}Ma=hc}$b=Ma}yb=$b}Ce=yb}nd=Ce}Cb=nd}$c=Cb}rc=$c}dd=rc}Cc=dd}Wb=Cc}Bb=Wb}kb=Bb}Ta=kb}la=Ta}X=la}aa=X}fa=aa}R=fa}W=R}y=W}x=y}v=x}u=v}t=u}r=t}q=r}m=q}l=m}k=l}g=k}c=g}return c};
var Bke=function(a,b){if(!b.json){if(a instanceof _.OO)return LXd({});throw _.mQ();}_.jQ(_.iQ("drive#workspace"),b.json);return LXd(b.json)},zke=function(a,b,c){var d;if(c.headers&&((d=c.headers["content-type"])==null?0:d.includes("application/json+protobuf")))return a=_.tOd(b,c,Q6d),a=_.K(a,_.Oq,1),_.xO(a),(new _.rP).Tb(1).setItem(a);if(!c.json)throw _.mQ();_.jQ(_.fc(_.iQ("drive#teamDrive"),_.iQ("drive#drive")),c.json);a=tke(a.O,c.json);return(new _.rP).Tb(1).setItem(a)},Ake=function(a,b,c){if(!c.json)throw _.mQ();
_.jQ(_.iQ("drive#categoryMetadataList"),c.json);return Wje(a.Ia.get(),b,c.json)},Cke=function(a,b){if(!b.json)throw _.mQ();_.jQ(_.iQ("drive#app"),b.json);return hUd(b.json,a.H())},Dke=function(a,b){if(!b.json)throw _.mQ();_.jQ(_.fc(_.iQ("drive#about"),_.iQ("drive#changeList")),b.json);a=a.Ga;var c=b.json;b=new k5d;var d=c.largestChangeId;d!=null&&_.Tg(b,3,Number(d));if(_.iQ("drive#changeList")(c)){d=c.nextPageToken;d!=null&&_.Tg(b,2,Number(d));d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=
a,g=c[e];var k=new _.qQ;k=_.Tg(k,1,Number(g.id));g.teamDriveId?(_.qPd(k,g.teamDriveId),_.rQ(k,g.teamDriveId)):_.rQ(k,g.fileId);g.file?k.setItem(_.ANd(f.H,g.file)):g.teamDrive&&k.setItem(tke(f.O,g.teamDrive));g.deleted&&!k.getItem()&&_.sQ(k);d.push(k)}_.Mj(b,4,d)}return b},Eke=function(a,b){var c=new o6d;if(_.Xj(a,6,_.Ff()).length){var d=[];bSd(_.Xj(a,6,_.Ff()),b.headers).forEach(function(e,f){e=_.eQd(new _.yQ,f).Lb(e);d.push(e)});_.Mj(c,1,d)}p6d(c,b.json?JSON.stringify(b.json):b.text);return c};var Fke=function(){};var Gke=function(a){this.Ca=_.p(a)};_.P(Gke,_.w);Gke.prototype.Aj=function(){return _.z(this,1)};var Hke=function(a){var b=new Gke;return _.L(b,1,a)},Ike=function(a,b){return _.L(a,2,b)};var Jke="x-goog-ext-"+_.Pb(477772811,Gke).fieldIndex+"-jspb",Kke=function(a,b,c,d){this.H=a;this.Cf=b;this.V=c;this.O=d};_.P(Kke,Fke);
var Lke=function(a,b,c,d,e){var f=c.Zk(),g={};g.q=_.pJd(c);var k=[],l=_.xP(a.Cf).concat(c.O());_.Ga(l);var m=void 0,q=!1;_.zGd(c).length>0&&(m=_.E(_.cr(a.H),50),q=!0);g.fields=aRd({fields:l,anonymous:_.NN(_.hO(a.H)),rma:m||void 0,vK:_.zP(a.H),Jqc:q});g.appDataFilter="NO_APP_DATA";_.Kj(c,_.xGd,25,_.Ff()).length>0&&(g.sources=_.dJd(c));_.uoa(c).length>0&&(g.spaces=_.eJd(c));b.Ws()&&(g.pageToken=b.Ws());(b=b.getOptions())&&_.Sj(b,1,1E3)&&(g.maxResults=_.Sj(b,1,1E3));_.N(c,36,!1)&&(g.includeUnsubscribed=
!0);_.Hk(c,43)&&(g.rawUserQuery=_.E(c,43));a.Cf.nV.BF.has(241)&&(g.includeBadgedLabels=!0);g.supportsTeamDrives=!0;g.includeItemsFromAllDrives=_.N(c,66,!0);_.BP(c).length>0&&_.CP(c)===2&&(b=_.BP(c)[0],g.teamDriveId=b,k.push(b));g.corpora=_.GId[_.CP(c)];_.wh(c,18)&&(delete g.corpora,g.corpus="DOMAIN");b=_.AP(c);l=_.AGd(c);m=_.Kj(c,_.hq,38,_.Ff());k.push.apply(k,_.Eb(b.filter(function(v){return!_.N(v,2,!1)}).map(function(v){return v.ob()}).concat(l.map(function(v){return v.ob()})).concat(m.map(function(v){return v.ob()}))));
b={};var r;l=(r=c.Zk())==null?void 0:_.K(r,_.pi,10);l!=null&&(r=l.Aj(),l=l.Qm(),r!=null&&r.length>0&&l!=null&&l.length>0&&(b[Jke]=(0,_.Yi)(Ike(Hke(r),l).Fc())));_.vP(_.Kj(c,_.rq,63,_.Ff(_.wg)),k,a.V,b);var t;if((t=_.br(a.H))==null?0:_.N(t,72,!1)){var u;k=(u=c.Zk())!=null?u:new _.Se;_.Bj(k,_.UFd,12).Eb(2);u=z0d(_.VFd(k),y0d(new x0d,_.nj(c.clone(),30)));k=_.WFd(u.Fc());k.length>=5120&&(_.yj(_.K(u,x0d,2),1),k=_.WFd(u.Fc()));b["x-goog-ext-525001598-jspb"]=k}gRd(g,c.Tc());_.N(a.H,14,!1)&&(g.useLegacyDomainPermissionBehavior=
!1);c.rT()&&(c=c.rT().H(),c=_.Oa(c,4),g.searchSessionData=c);_.SFd(e,g);return _.XFd({api:0,Dg:"files",yh:g,requestHeaders:b,method:"GET",Kh:f},{Bl:!0,oKc:!0},d,e,a.H,a.O)},Mke={},Nke=(Mke[1]=1,Mke[2]=2,Mke[3]=3,Mke[4]=4,Mke[5]=5,Mke),Oke={},Pke=(Oke[1]=1,Oke[2]=2,Oke[3]=3,Oke),Qke={},Rke=(Qke[0]=1,Qke[1]=2,Qke[2]=3,Qke[3]=4,Qke);var LYd=SXd("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"),
MYd=SXd("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"),
NYd=SXd("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 vYd=[1,4],yYd=[2,4];var Ske={},uZd=(Ske[1]="active",Ske[2]="archived",Ske);var Tke=function(a,b,c,d){_.EOd.call(this,b,c,a.EPa,d);this.Zg=a;this.Ba=new Kke(b,c,this.O,d)};_.P(Tke,_.EOd);
Tke.prototype.V=function(a,b,c){try{return _.EOd.prototype.V.call(this,a,b,c)}catch(Pu){Pu.yg.Bqb()}var d=a;if(NTd(d)&&!_.tP(d.ee())){var e=this.Ba,f=a,g=NTd(f)?f.ee():f;if(b.gua===14){var k={},l=_.xP(e.Cf).concat(g.O()),m=_.nEd({fields:l,anonymous:_.NN(_.hO(e.H))}),q=new _.dKd,r=_.gKd(m).yj();if(r.length>0){var t=new _.$P("items",r);_.bKd(q,t);var u=_.ZP("continuation_token");_.bKd(q,u)}k["x-goog-fieldmask"]=q.toString();k["content-type"]="application/json+protobuf";var v=new V6d,x=v.ef,y=f.ee(),
C=new U6d,F=_.Kj(y,_.qq,4,_.Ff()),G=_.Mj(C,1,F).ys(_.Jh(y,10)),M=_.zGd(y);var W=_.Mj(G,3,M);var R=_.Jh(y,11),fa=_.J(W,4,R).In(_.Jh(y,9)),aa=_.Jh(y,65),X=_.J(fa,6,aa).Dv(MXd(Nke,_.nk(y,42))),la=_.Jh(y,69);var Da=_.J(X,8,la);var Ia=_.lf(y);var Ta=_.Mj(Da,9,Ia);var kb=_.Jh(y,17);var Bb=_.J(Ta,10,kb);var Wb=_.Jh(y,72);var Mb=_.J(Bb,11,Wb);var Fc=_.Zg(y,54);var Cc=_.L(Mb,12,Fc);var dd=_.Kj(y,_.mf,67,_.Ff());var rc=_.Mj(Cc,13,dd);var $c=_.Kj(y,_.mf,68,_.Ff());var Cb=_.Mj(rc,14,$c);var Tc=_.Kj(y,_.oq,78,
_.Ff());var Lc=_.Mj(Cb,15,Tc);var Qb=_.Kj(y,_.gq,44,_.Ff());var Nb=_.Mj(Lc,16,Qb);var Ed=_.Jh(y,16);var ic=_.J(Nb,17,Ed);var xb=_.Jh(y,50),Kb=_.J(ic,19,xb).laa(_.Zg(y,43)),oc=_.K(y,_.fq,59);var nd=_.Q(Kb,_.fq,21,oc);var Ub=_.Jh(y,66);var tc=_.J(nd,22,Ub);var ke=_.Kj(y,_.kq,57,_.Ff());var Id=_.Mj(tc,23,ke);var Ce=y.Tc();var Td=_.Q(Id,_.ef,25,Ce);var Od=_.Kj(y,_.CHa,100,_.Ff());var Te=_.Mj(Td,26,Od);var yb=_.Xj(y,39,_.Ff());var $b=_.yk(Te,27,yb);var Ma=_.Xj(y,40,_.Ff());var Db=_.yk($b,28,Ma);var Yb=
MXd(Pke,_.nk(y,41));var qb=_.I(Db,29,Yb);var pb=_.Jh(y,73);var hc=_.J(qb,30,pb);var le=_.Kj(y,_.lq,7,_.Ff());var zf=_.Mj(hc,31,le);var ng=_.Kj(y,_.lq,8,_.Ff());var Xe=_.Mj(zf,32,ng);var bd=y.Bx();var Ne=_.Q(Xe,_.mf,34,bd);var Tf=_.AGd(y);var og=_.Mj(Ne,35,Tf);var si=_.uoa(y);var Vh=_.Mj(og,36,si);var dk=_.Kj(y,_.lq,79,_.Ff());var tj=_.Mj(Vh,37,dk);var Cj=MXd(Rke,_.nk(y,45));var al=_.I(tj,38,Cj);var Fh=_.Kj(y,_.mf,15,_.Ff());var Wg=_.Mj(al,39,Fh);var bj=_.BP(y);var Dk=_.yk(Wg,40,bj);var ti=_.Kj(y,
_.mq,37,_.Ff());var Mc=_.Mj(Dk,41,ti);var hg=_.Kj(y,_.mf,13,_.Ff());var kf=_.Mj(Mc,42,hg);var pc=_.Jh(y,34);var ue=_.J(kf,43,pc);var Pf=_.AP(y);var Xg=_.Mj(ue,44,Pf);var Dj=_.Kj(y,_.mf,14,_.Ff());var Ej=_.Mj(Xg,45,Dj);var Fl=_.Jh(y,18);var ek=_.J(Ej,46,Fl);var fk=_.K(y,_.pq,86);var Uc=_.Q(ek,_.pq,47,fk);var mm=y.rT();var Fj=_.Q(Uc,_.ih,48,mm);var Ok=x.call(v,Fj),Gh,Co=new fZd,Gl=(Gh=f.getOptions())==null?void 0:_.mk(Gh,1);var Kp=_.Ug(Co,1,Gl);var iq=f.iD();var Gj=_.L(Kp,2,iq);var nm=_.Q(Ok,fZd,2,
Gj);var co,ip=(co=g.Zk())!=null?co:new _.Se,jp=_.ri(_.aGd(e.H),60,0);_.I(ip,9,_.bFd(jp));_.Qh(g,ip);var hs=_.XFd({api:14,Dg:"/v1/items:list",yh:{},requestHeaders:k,method:"POST",Kh:ip,json:void 0,body:nm.Fc()},{},b,c,e.H,e.O)}else hs=Lke(e,f,g,b,c);return hs}NTd(a)&&a.Lr()&&(a=a.ee());var Xl=Uke(this,a,b),Hl=Xl.Qf,Il=Xl.options,eo=Hl.api===void 0?0:Hl.api,qr=Hl.body,Nu=Hl.Kh,Mn=Hl.json,Pq=Hl.method===void 0?"GET":Hl.method,Tt=Hl.requestHeaders===void 0?{}:Hl.requestHeaders,is=Hl.yh===void 0?{}:Hl.yh,
Ut=Hl.Dg;if(Hl.config)for(var jq=_.n(Object.entries(Hl.config)),at=jq.next();!at.done;at=jq.next()){var Do=_.n(at.value),Ly=Do.next().value,Ou=Do.next().value;b[Ly]=Ou}return _.XFd({api:eo,Dg:Ut,yh:is,requestHeaders:Tt,method:Pq,Kh:Nu,json:Mn,body:qr},Il!=null?Il:{},b,c,this.H,this.W)};
var Uke=function(a,b,c){if(x3d(b))return NXd(b);if(b instanceof _.AEd)return RXd(b);if(y3d(b))return TXd(b,a.O);if(j3d(b))return UXd(b,a.O);if(r6d(b))return WXd(b);if(z3d(b))return XXd(b,a.H);if(b instanceof _.BEd)return YXd(b,a.O);if(s3d(b))return ZXd(b,a.H);if(b instanceof _.CEd)return bYd(b,a.H,c);if(w3d(b))return eYd(b,a.H);if(K3d(b))return fYd(b);if(k3d(b))return gYd(b);if(o3d(b))return{Qf:{api:9,method:"DELETE",Dg:"backups/"+b.Pb()}};if($2d(b))return hYd(b,a.H,a.O);if(G3d(b))return iYd(b);if(A3d(b))return jYd(b,
a.O);if(e3d(b))return kYd(b);if(X2d(b))return mYd(b);if(L3d(b))return nYd(b);if(v3d(b))return oYd(b,a.H);if(l3d(b))return qYd(b);if(F6d(b))return pYd(b,a.H);if(m3d(b))return BYd(b);if(H3d(b))return CYd(b,a.H);if(b instanceof _.DEd)return{Qf:{api:8,method:"POST",Dg:"/v1/exports/"+b.H+":cancel"}};if(t3d(b))return DYd(b,a.O);if(b instanceof _.EEd)return{Qf:{api:8,Dg:"/v1/exports/"+b.H}};if((0,_.VO)(b)&&_.qi(b))return HYd(b,a.H,a.W);if((0,_.RId)(b)||(0,_.PId)(b))return IYd(b);if("function"==typeof _.GEd&&
b instanceof _.GEd)return JYd(b);if(p3d(b))return KYd(b,a.H);if((0,_.JId)(b))return OYd(b,a.H);if(i3d(b))return{Qf:{Dg:"backups",api:9,yh:{languageCode:_.yP(_.hO(a.H))}}};if(q3d(b))return PYd(b,a.H,_.GOd(a.Cf,[]));if(I3d(b))return QYd(b,a.O,a.H);if(J3d(b))return RYd(b,a.O,a.H);if(B3d(b))return SYd(b,_.GOd(a.Cf,[]),a.O,a.H);if(y4d(b))return TYd(b,c);if((0,_.UId)(b))return UYd(b,a.H);if(b instanceof _.HEd)return VYd(b,a.H);if(Z2d(b))return WYd(b,a.H);if(r3d(b))return XYd(b);if(a5d(b))return ZYd(b);
if(d3d(b))return YYd(b);if(g3d(b))return $Yd(b,a.H);if(h3d(b))return aZd(b,a.H);if((0,_.DId)(b))return bZd(b,c,a.H);if(b instanceof _.LEd)return cZd(b,a.O);if(KTd(b))return hZd(b,c,a.H);if(ITd(b))return iZd(b,c,a.H);if(n3d(b))return jZd(b);if(u3d(b))return lZd(b,a.O);if(a3d(b))return mZd(b,a.O,a.H,_.GOd(a.Cf,[]),function(d,e){a.ma(d,e)});if(F3d(b))return nZd(b,a.O);if(f3d(b))return pZd(b,a.H);if(Y2d(b))return qZd(b);if(M3d(b))return rZd(b);if((0,_.IId)(b))return sZd(b,a.H);if((0,_.sEd)(b))return PXd(b);
if((0,_.HId)(b))return tZd(b);if(b instanceof _.OEd)return vZd(b);if((0,_.RO)(b))return sYd(b,a.H);if((0,_.SO)(b))return AYd(b);_.HOd(b)};Tke.prototype.ma=function(a,b){a=this.Zg.xn.nn(a);b.expectedParentIds=a?a.yl().join(","):[]};Tke.prototype.ua=function(a){var b=[];a=this.Zg.xn.FM(a);Object.values(a).forEach(function(c){b.push.apply(b,_.Eb(c.yl()))});_.Ga(b);return b};var Vke=function(a,b,c,d,e,f,g,k,l,m,q,r,t,u,v,x,y,C,F,G,M,W,R,fa,aa,X,la){this.hva=_.jm();this.FPa=new _.CLd;var Da=new _.ALd(this.BX.bind(this),function(){return aa("w8KrJc")}),Ia=new Nie(b.xn),Ta=new Die(Da);c=new sie(b,f,new lie(d,e,c),g,this.hva.promise,k,l,t,c,aa,a,F,X);d=new Mie(b,m,q,r,d,t,u,v,x,y,G,k);this.O=new _.DJd(a,F,C);C=new Tke(b,a,k,X);this.Fya=new yke(k,a,F,G);k=new _.dNd(this.O,this.FPa,C,this.Fya,W,R,F);this.H=W4d(a,k,F,X,b.xn,this.FPa,this.hva.promise,R);la?this.hva.resolve(la):
(b=new _.gNd(new Oie(F,M),Ia,Ta,this.H,Da,c,d,a,fa,X),a=WTd(a,b,F,X),this.hva.resolve(a))};Vke.prototype.BX=function(){return _.Xfa(this.H,function(a){return a.BX()})};var Q$d=function(a){var b=new Map,c=Date.now();_.uc(a.H,function(d,e){d=A0d(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};var M$d=function(a,b){this.rCa="";this.startTime=b||new Date;this.H=a;this.rra=xZd(a)};M$d.prototype.clone=function(){return new M$d(this.H,this.startTime)};var Wke=function(a,b){this.O=a|0;this.H=b|0},BZd=function(a,b){return new Wke(a,b)},Xke=function(a){var b=a[0]==="-";a=a.slice(b?3:2);return(b?CZd:BZd)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))};Wke.prototype.equals=function(a){return this===a?!0:a instanceof Wke?this.O===a.O&&this.H===a.H:!1};var yZd=typeof BigInt==="function";var Yke=function(){this.H=null;this.Daa=[]},N$d=function(a){return _.$i(a.Daa,function(b){return b.clone()})};Yke.prototype.oX=function(){return this.H};
Yke.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new I6d;_.nj(e,1,_.hb(AZd(Xke(d.rra))));var f=_.Ng().substring(0,8);d=xZd(f);f=(new l5d).Bb(f);f=_.L(f,2,d);b=_.L(f,3,b).Wj(c);this.Daa.push(b);_.nj(e,2,_.hb(AZd(Xke(d))));_.nj(e,4,_.hb(AZd(BZd(808464432,808464432))));_.Gg(e,3,41);e=String.fromCharCode.apply(String,_.Eb(e.H()));a["X-Google-DapperTraceInfo"]=_.ca.btoa(e)}}};var Zke=function(a,b){var c=this;this.context=a;this.Cf=b;this.ma=null;this.Z1=0;this.Ba=this.active=!1;this.H=this.Ga=null;this.Ia={};this.Ta=this.Pa=!1;this.Da=a.Oo;this.W=_.jm();this.O=a.Ld;this.xK=_.br(this.O)||new _.JHa;b=_.PQ(this.O);this.Ka=new _.hKd(_.Sj(b,2,37500),_.Sj(b,3,6E5));this.ua=a.tK;this.V=a.Tg().PA;a.Po.addRule(["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});a.Po.addRule(["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});a.Po.addRule(["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.kZ().then(null,function(){})})};Zke.prototype.initialize=function(){var a=this;this.Pa||(this.Pa=!0,_.N(_.PQ(this.context.Ld),14,!1)?this.uY():this.context.cI.promise.then(function(b){a.ua.initialize().then(function(){a.ma=b;a.setActive(!0)},function(c){c&&a.context.Kf("sync.storage.LiveDumpUpdater").uc("Error initializing dump storage",_.zO(c));a.log("Error initializing dump storage");a.uY()})}))};
Zke.prototype.isInitialized=function(){return!!this.ma||this.Ba};var $ke=function(a,b){a.Ia[b]||(a.Ia[b]=[]);return a.Ia[b]};_.h=Zke.prototype;_.h.IIa=function(a){this.active&&(this.Z1+=a,this.Z1>_.Sj(_.PQ(this.O),1,500)&&this.update(3))};_.h.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.a8().BX()||b.Tg().GH.rJa>0||b.Xo().Hg())||((this.active=a)?(this.W.resolve(),this.H||this.kZ().then(null,function(){})):(this.W=_.jm(),_.ca.clearTimeout(this.Ga)))}};
_.h.uY=function(){this.Ba=!0};_.h.zsb=function(){return this.H?this.H.promise:_.gm()};
_.h.kZ=function(){var a=this;if(this.H)return this.H.promise;this.H=_.jm();this.H.promise.then(function(){return a.H=null},function(){return a.H=null});var b=this.Da.H(106021)||void 0;this.W.promise.then(function(){return cde(a.context.jL)}).then(function(c){var d=!c;return a.Ba?d:_.im([a.queueUpdate(3,d,void 0,void 0,b),a.queueUpdate(0,d,void 0,!0,b),a.queueUpdate(1,d,void 0,!0,b),a.queueUpdate(6,d,void 0,!0,b),a.queueUpdate(7,d,void 0,!0,b),a.queueUpdate(8,d,void 0,!0,b),a.queueUpdate(9,d,void 0,
!0,b),a.queueUpdate(10,d,void 0,!0,b),a.queueUpdate(11,d,void 0,!0,b),a.queueUpdate(12,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.wf("Failed to update dump",void 0,_.zO(e));return _.hm(e)})},function(){return _.hm(Error("Ji"))}).then(function(c){a.H.resolve(c);b&&(c=J0d(b),_.J(c,2,!0),b.Vi())},function(c){a.H.reject(_.TN(c));b&&(c=J0d(b),_.J(c,2,!1),b.Vi())});return this.H.promise};
_.h.update=function(a,b){var c=this,d=new _.Je,e=this.Da.H(106021)||void 0;e&&(Z_d(J0d(e),_.aQ(_.yKd,a)),d.then(function(){var f=J0d(e);_.J(f,2,!0);e.Vi()},function(){var f=J0d(e);_.J(f,2,!1);e.Vi()}));this.W.promise.then(function(){return cde(c.context.jL)}).then(function(f){f=!f;c.Ba?d.callback():_.Swa(c.queueUpdate(a,f,b,void 0,e),d)});return d};
_.h.queueUpdate=function(a,b,c,d,e){var f=this,g=_.oa($ke(this,a));if(g){if(g.encrypt===b&&$ke(this,a).length>1)return g.Ke.Kw();var k=new _.Je;_.Qwa(g.Ke,function(){_.Swa(f.Sz(a,b,c,d,e),k)})}else k=this.Sz(a,b,c,d,e);var l={encrypt:b,Ke:k};$ke(this,a).push(l);_.Qwa(k,function(){_.ya($ke(f,a),function(m){return l===m})});k.Mj(function(m){f.ua.W.Fe()?f.uY():m instanceof _.wf&&(m=m.pL||null,m instanceof _.lO&&m.getName()=="InvalidStateError"&&m.message&&m.message.indexOf("The database connection is closing.")>
-1&&f.uY());return null});return k};
_.h.Sz=function(a,b,c,d,e){var f=this,g=new _.Je;this.W.promise.then(function(){if(a===3)_.Swa(ale(f,c||!1,b,e),g);else{switch(a){case 0:var k=Mae(f.context.Tca);break;case 1:k=f.context.Rba.rG();break;case 6:k=Lee(f.context.Tg().mx);break;case 7:_.MN(f.xK)&&f.context.DR.value&&(k=Tae(f.context.DR.get().H));break;case 8:f.context.ZT.value&&(k=hge(f.context.ZT.get().H))&&ble(f,k.Gd(_.wg));break;case 9:_.N(f.xK,38,!1)&&_.N(f.xK,39,!1)&&(k=Wge(f.context.zsa.get().O.get()));break;case 10:f.context.OZ.value&&
(k=uge(f.context.OZ.get().V));break;case 11:f.context.PZ.value&&(k=uge(f.context.PZ.get().V));break;case 12:f.context.QZ.value&&(k=uge(f.context.QZ.get().V));break;default:g.Ne(Error("Ki`"+a));return}if(k){var l=_.E(OQ(_.PQ(f.O))[0],2);!l&&b?(f.log("Skipping dump update, encrypted and no key"),g.callback()):Pce(f.ua,b?l:null,[k],e).then(function(){return void g.callback()},function(m){g.Ne(_.zO(m))})}else d?(f.log("Skipping dump update: "+a),g.callback()):g.Ne(Error("Li`"+a))}});return g};
var ale=function(a,b,c,d){_.LP(a.O)||(_.ca.clearTimeout(a.Ga),a.Ga=_.ca.setTimeout(function(){_.ZF(a.Ka);a.update(3,!0)},a.Ka.ob()));if(b&&a.Z1===0)return _.ai();a.Z1=0;b=_.E(OQ(_.PQ(a.O))[0],2);if(!b&&c)return a.log("Skipping dump update, encrypted and no key"),_.ai();for(var e=[],f=_.n(cle(a)),g=f.next();!g.done;g=f.next())g=dle(a,g.value),g.length&&e.push(Pce(a.ua,c?b:null,g,d));var k=new _.Je;Promise.all(e).then(function(){a.Ta&&a.context.jL.set(dde,!0);k.callback()},function(l){return void k.Ne(l)});
return k},cle=function(a){var b=Object.values(A4d).filter(function(e){return typeof e==="number"&&e>0&&!ele.includes(e)});if(_.N(a.xK,17,!1)){var c,d;((c=a.V.H)==null?0:c.gJ)||(d=a.V.O)==null||!d.gJ?b.push(2):b.push(5)}else b.push(2);return b},dle=function(a,b){switch(b){case 1:return[fle(a)];case 2:return b=a.V.H,a=gle(a,b).DJ(2),b&&a.KF(b.U1()),[a];case 5:b=a.V.O;a=gle(a,b).DJ(5);if(b){a.KF(b.U1());b=Sbe(b);var c=_.yk(a,14,b.upb);_.yk(c,15,b.rpb)}return[a];case 3:return hle(a);case 4:return ile(a);
default:throw new _.wf("Unsupported CacheType");}},fle=function(a){for(var b={},c=[],d=O$d(a.V,!0),e=!0,f=0;f<d.length;f++){var g=d[f],k=g.eD(),l=ble(a,wSd(k));k=l.length;var m=k>0?l[k-1]:null;_.Na(l,function(q){b[_.ve(q)]=q});if(k>0||g.Nl)l=(new dR).ef(g.ee()),g.Nl||(_.Tg(l,2,k),_.Q(l,_.Oq,3,m),e=!1),c.push(l)}d=_.yc(b);a.log("Exporting "+d.length+" initial dump items.");return E4d(C4d(D4d(F4d((new eR).Ty(a.context.yz()),_.xP(a.Cf)),a.ma.TP(null)),jle(d)),c).DJ(1).KF(!e)},gle=function(a,b){var c=
b?b.eD():[];c=ble(a,_.yc(xSd(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.Sj(_.PQ(a.O),5,2E4)&&(b&&O8d(b,!1),c=[]);c=C4d(new eR,jle(c));var d=new fTd;(a=a.V.H)&&a.gJ&&(a=a.eD(),_.Ug(d,3,a.length));a=_.Q(c,fTd,11,d);b&&a.KF(b.U1());return a},hle=function(a){var b=[],c=a.ma;a.V.i8().forEach(function(d){var e=c.TP(d.teamDriveId);if(e){var f=ble(a,wSd(d.eD())),g="Exporting "+f.length+" TD dump items for: "+d.teamDriveId;_.EP(a.xK)&&(g+=", type: "+d.Ir());a.log(g);e=D4d(C4d(new eR,
jle(f)),e).DJ(3).KF(d.U1());_.EP(a.xK)&&(f=Sbe(d),g=_.yk(e,14,f.upb),_.yk(g,15,f.rpb));d=(new dR).ef(d.ee());E4d(e,[d]);b.push(e)}});return b},ile=function(a){var b={},c=[];a.context.Tg().i8().forEach(function(d){d.iA()===1&&gce(d.ee())&&(wSd(d.eD()).forEach(function(e){b[_.ve(e)]=e}),d=B4d((new dR).ef(new _.cf),d.ee()),c.push(d))});return[E4d(C4d(new eR,jle(Object.values(b))),c).DJ(4).KF(!1)]},ble=function(a,b){b=PSd(b);_.wh(a.O,67)&&(b=kle(a,b));_.zP(a.O)&&(_.N(a.xK,9,!1)?Oee(a.context.Tg().mx,
b)&&(_.TFd(a.Da,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=Mee(a.context.Tg().mx,b)):b=Mee(a.context.Tg().mx,b));return b.filter(function(c){return _.Wf(c)!==4})},kle=function(a,b){var c=[];b=_.n(b);for(var d=b.next();!d.done;d=b.next())d=d.value,CQd(d,a.Cf)?(d=d.clone(),AQ(d,BQd,a.Cf),c.push(d)):c.push(d);return c},jle=function(a){return a.map(function(b){return b.clone()})};
Zke.prototype.log=function(a,b){b=b===void 0?"info":b;this.context.Kf("sync.storage.LiveDumpUpdater").log(a,b)};Zke.prototype.d4a=function(){this.Ta=!0};var ele=[2,5];var lle=function(){};_.h=lle.prototype;_.h.setActive=function(){};_.h.uY=function(){};_.h.update=function(){return _.ai()};_.h.zsb=function(){return _.gm()};_.h.kZ=function(){return _.gm()};_.h.IIa=function(){};_.h.d4a=function(){};var mle=YQ(227,new uR({clear:function(a){return _.nj(a,144)},has:function(a){return _.Ek(a,144)},get:function(a){return _.Jh(a,144)},set:function(a,b){return _.RHd(a,b)}}));var nle=YQ(228,new uR({clear:function(a){return _.nj(a,145)},has:function(a){return _.Jk(a,145)},get:function(a){return _.nk(a,145)},set:function(a,b){return _.SHd(a,b)}}));var ole=YQ(242,new uR({clear:function(a){return _.nj(a,152)},has:function(a){return _.Fk(a,152)},get:function(a){return _.mk(a,152)},set:function(a,b){return _.Ug(a,152,b)}}));var ple=YQ(74,new uR({clear:function(a){return _.nj(a,83)},has:function(a){return _.Xq(a).length>0},get:function(a){return _.Xq(a)},set:function(a,b){return _.xHd(a,b)}}));var qle=YQ(120,new uR({clear:function(a){return _.nj(a,115)},has:function(a){return _.Hk(a,115)},get:function(a){return _.Zg(a,115)},set:function(a,b){return _.L(a,115,b)}}));var rle=YQ(188,new uR({clear:function(a){return _.nj(a,137)},has:function(a){return _.Ek(a,137)},get:function(a){return _.Jh(a,137)},set:function(a,b){return _.wHd(a,b)}}));var sle=YQ(149,new uR({clear:function(a){return _.nj(a,128)},has:function(a){return _.Xj(a,128,_.Ff()).length>0},get:function(a){return _.Xj(a,128,_.Ff())},set:function(a,b){return _.yk(a,128,b)}}));var tle=YQ(148,new uR({clear:function(a){return _.nj(a,127)},has:function(a){return a.uYa().length>0},get:function(a){return a.uYa()},set:function(a,b){return _.LHd(a,b)}}));var ule=YQ(138,new uR({clear:function(a){return _.nj(a,126)},has:function(a){return _.Gk(a,126)},get:function(a){return _.Yg(a,126)},set:function(a,b){return _.Tg(a,126,b)}}));var vle=YQ(277,new vR(new uR({clear:function(a){return _.nj(a,158)},has:function(a){return _.oj(a,_.DGd,158)},get:function(a){return _.Bj(a,_.DGd,158)},set:function(a,b){return _.Q(a,_.DGd,158,b)}}),new uR({clear:function(a){return _.nj(a,1)},has:function(a){return _.Fk(a,1)},get:function(a){return _.mk(a,1)},set:function(a,b){return _.Ug(a,1,b)}})));var wle=YQ(184,new uR({clear:function(a){return _.nj(a,135)},has:function(a){return _.Xj(a,135,_.Ff()).length>0},get:function(a){return _.Xj(a,135,_.Ff())},set:function(a,b){return _.NHd(a,b)}}));var xle=YQ(241,new uR({clear:function(a){return _.nj(a,151)},has:function(a){return _.Kj(a,_.WGd,151,_.Ff()).length>0},get:function(a){return _.Kj(a,_.WGd,151,_.Ff())},set:function(a,b){return _.THd(a,b)}}));var RR=new uR({clear:function(a){return _.nj(a,84)},set:function(a,b){return _.KP(a,b)},has:function(a){return _.oj(a,_.vq,84)},get:function(a){return _.Bj(a,_.vq,84)}});var yle=YQ(76,new vR(RR,new uR({clear:function(a){return _.nj(a,1)},has:function(a){return _.Ek(a,1)},get:function(a){return _.Jh(a,1)},set:function(a,b){return _.EGd(a,b)}})));var zle=YQ(223,new vR(RR,new uR({clear:function(a){return _.nj(a,54)},has:function(a){return _.Ek(a,54)},get:function(a){return _.Jh(a,54)},set:function(a,b){return _.J(a,54,b)}})));var Ale=YQ(208,new vR(RR,new uR({clear:function(a){return _.nj(a,48)},has:function(a){return _.Ek(a,48)},get:function(a){return _.Jh(a,48)},set:function(a,b){return _.J(a,48,b)}})));var Ble=YQ(185,new vR(RR,new uR({clear:function(a){return _.nj(a,40)},has:function(a){return _.Ek(a,40)},get:function(a){return _.Jh(a,40)},set:function(a,b){return _.J(a,40,b)}})));var Cle=YQ(224,new vR(RR,new uR({clear:function(a){return _.nj(a,55)},has:function(a){return _.Ek(a,55)},get:function(a){return _.Jh(a,55)},set:function(a,b){return _.J(a,55,b)}})));var Dle=YQ(156,new vR(RR,new uR({clear:function(a){return _.nj(a,39)},has:function(a){return _.Ek(a,39)},get:function(a){return _.Jh(a,39)},set:function(a,b){return _.J(a,39,b)}})));var Ele=YQ(213,new vR(RR,new uR({clear:function(a){return _.nj(a,50)},has:function(a){return _.Ek(a,50)},get:function(a){return _.Jh(a,50)},set:function(a,b){return _.J(a,50,b)}})));var Fle=YQ(61,new vR(RR,new uR({clear:function(a){return _.nj(a,2)},has:function(a){return _.Ek(a,2)},get:function(a){return _.Jh(a,2)},set:function(a,b){return _.J(a,2,b)}})));var Gle=YQ(240,new vR(RR,new uR({clear:function(a){return _.nj(a,62)},has:function(a){return _.Ek(a,62)},get:function(a){return _.Jh(a,62)},set:function(a,b){return _.J(a,62,b)}})));var Hle=YQ(258,new vR(RR,new uR({clear:function(a){return _.nj(a,64)},has:function(a){return _.Ek(a,64)},get:function(a){return _.Jh(a,64)},set:function(a,b){return _.J(a,64,b)}})));var Ile=YQ(216,new vR(RR,new uR({clear:function(a){return _.nj(a,52)},has:function(a){return _.Ek(a,52)},get:function(a){return _.Jh(a,52)},set:function(a,b){return _.J(a,52,b)}})));var Jle=YQ(217,new vR(RR,new uR({clear:function(a){return _.nj(a,53)},has:function(a){return _.Ek(a,53)},get:function(a){return _.Jh(a,53)},set:function(a,b){return _.J(a,53,b)}})));var Kle=YQ(134,new vR(RR,new uR({clear:function(a){return _.nj(a,34)},has:function(a){return _.Ek(a,34)},get:function(a){return _.Jh(a,34)},set:function(a,b){return _.J(a,34,b)}})));var Lle=YQ(77,new vR(RR,new uR({clear:function(a){return _.nj(a,4)},has:function(a){return _.Ek(a,4)},get:function(a){return _.Jh(a,4)},set:function(a,b){return _.FGd(a,b)}})));var Mle=YQ(259,new vR(RR,new uR({clear:function(a){return _.nj(a,65)},has:function(a){return _.Ek(a,65)},get:function(a){return _.Jh(a,65)},set:function(a,b){return _.J(a,65,b)}})));var Nle=YQ(147,new vR(RR,new uR({clear:function(a){return _.nj(a,38)},has:function(a){return _.Ek(a,38)},get:function(a){return _.Jh(a,38)},set:function(a,b){return _.J(a,38,b)}})));var Ole=YQ(300,new vR(RR,new uR({clear:function(a){return _.nj(a,67)},has:function(a){return _.Ek(a,67)},get:function(a){return _.Jh(a,67)},set:function(a,b){return _.J(a,67,b)}})));var Ple=YQ(89,new vR(RR,new uR({clear:function(a){return _.nj(a,15)},has:function(a){return _.Ek(a,15)},get:function(a){return _.Jh(a,15)},set:function(a,b){return _.J(a,15,b)}})));var Qle=YQ(81,new vR(RR,new uR({clear:function(a){return _.nj(a,10)},has:function(a){return _.Ek(a,10)},get:function(a){return _.Jh(a,10)},set:function(a,b){return _.J(a,10,b)}})));var Rle=YQ(114,new vR(RR,new uR({clear:function(a){return _.nj(a,27)},has:function(a){return _.Ek(a,27)},get:function(a){return _.Jh(a,27)},set:function(a,b){return _.J(a,27,b)}})));var Sle=YQ(133,new vR(RR,new uR({clear:function(a){return _.nj(a,33)},has:function(a){return _.Ek(a,33)},get:function(a){return _.Jh(a,33)},set:function(a,b){return _.J(a,33,b)}})));var Tle=YQ(202,new vR(RR,new uR({clear:function(a){return _.nj(a,47)},has:function(a){return _.Ek(a,47)},get:function(a){return _.Jh(a,47)},set:function(a,b){return _.J(a,47,b)}})));var Ule=YQ(101,new vR(RR,new uR({clear:function(a){return _.nj(a,20)},has:function(a){return _.Ek(a,20)},get:function(a){return _.Jh(a,20)},set:function(a,b){return _.J(a,20,b)}})));var Vle=YQ(201,new vR(RR,new uR({clear:function(a){return _.nj(a,46)},has:function(a){return _.Ek(a,46)},get:function(a){return _.Jh(a,46)},set:function(a,b){return _.J(a,46,b)}})));var Wle=YQ(131,new vR(RR,new uR({clear:function(a){return _.nj(a,31)},has:function(a){return _.Ek(a,31)},get:function(a){return _.Jh(a,31)},set:function(a,b){return _.J(a,31,b)}})));var Xle=YQ(200,new vR(RR,new uR({clear:function(a){return _.nj(a,45)},has:function(a){return _.Ek(a,45)},get:function(a){return _.Jh(a,45)},set:function(a,b){return _.J(a,45,b)}})));var Yle=YQ(130,new vR(RR,new uR({clear:function(a){return _.nj(a,30)},has:function(a){return _.Ek(a,30)},get:function(a){return _.Jh(a,30)},set:function(a,b){return _.J(a,30,b)}})));var Zle=YQ(93,new vR(RR,new uR({clear:function(a){return _.nj(a,17)},has:function(a){return _.Ek(a,17)},get:function(a){return _.Jh(a,17)},set:function(a,b){return _.J(a,17,b)}})));var $le=YQ(146,new vR(RR,new uR({clear:function(a){return _.nj(a,37)},has:function(a){return _.Ek(a,37)},get:function(a){return _.Jh(a,37)},set:function(a,b){return _.J(a,37,b)}})));var ame=YQ(191,new vR(RR,new uR({clear:function(a){return _.nj(a,44)},has:function(a){return _.Ek(a,44)},get:function(a){return _.Jh(a,44)},set:function(a,b){return _.J(a,44,b)}})));var bme=YQ(90,new vR(RR,new uR({clear:function(a){return _.nj(a,16)},has:function(a){return _.Ek(a,16)},get:function(a){return _.Jh(a,16)},set:function(a,b){return _.JGd(a,b)}})));var cme=YQ(78,new vR(RR,new uR({clear:function(a){return _.nj(a,7)},has:function(a){return _.Ek(a,7)},get:function(a){return _.Jh(a,7)},set:function(a,b){return _.J(a,7,b)}})));var dme=YQ(186,new vR(RR,new uR({clear:function(a){return _.nj(a,41)},has:function(a){return _.Ek(a,41)},get:function(a){return _.Jh(a,41)},set:function(a,b){return _.J(a,41,b)}})));var eme=YQ(85,new vR(RR,new uR({clear:function(a){return _.nj(a,12)},has:function(a){return _.Ek(a,12)},get:function(a){return _.Jh(a,12)},set:function(a,b){return _.J(a,12,b)}})));var fme=YQ(276,new vR(RR,new uR({clear:function(a){return _.nj(a,66)},has:function(a){return _.Ek(a,66)},get:function(a){return _.Jh(a,66)},set:function(a,b){return _.J(a,66,b)}})));var gme=YQ(236,new vR(RR,new uR({clear:function(a){return _.nj(a,59)},has:function(a){return _.Ek(a,59)},get:function(a){return _.Jh(a,59)},set:function(a,b){return _.J(a,59,b)}})));var hme=YQ(137,new vR(RR,new uR({clear:function(a){return _.nj(a,36)},has:function(a){return _.Ek(a,36)},get:function(a){return _.Jh(a,36)},set:function(a,b){return _.J(a,36,b)}})));var ime=YQ(209,new vR(RR,new uR({clear:function(a){return _.nj(a,49)},has:function(a){return _.Ek(a,49)},get:function(a){return _.Jh(a,49)},set:function(a,b){return _.J(a,49,b)}})));var jme=YQ(189,new vR(RR,new uR({clear:function(a){return _.nj(a,42)},has:function(a){return _.Ek(a,42)},get:function(a){return _.Jh(a,42)},set:function(a,b){return _.J(a,42,b)}})));var kme=YQ(190,new vR(RR,new uR({clear:function(a){return _.nj(a,43)},has:function(a){return _.Ek(a,43)},get:function(a){return _.Jh(a,43)},set:function(a,b){return _.LGd(a,b)}})));var lme=YQ(79,new vR(RR,new uR({clear:function(a){return _.nj(a,8)},has:function(a){return _.Ek(a,8)},get:function(a){return _.Jh(a,8)},set:function(a,b){return _.HGd(a,b)}})));var mme=YQ(135,new vR(RR,new uR({clear:function(a){return _.nj(a,35)},has:function(a){return _.Ek(a,35)},get:function(a){return _.Jh(a,35)},set:function(a,b){return _.J(a,35,b)}})));var nme=YQ(80,new vR(RR,new uR({clear:function(a){return _.nj(a,9)},has:function(a){return _.Ek(a,9)},get:function(a){return _.Jh(a,9)},set:function(a,b){return _.IGd(a,b)}})));var ome=YQ(102,new vR(RR,new uR({clear:function(a){return _.nj(a,21)},has:function(a){return _.Ek(a,21)},get:function(a){return _.Jh(a,21)},set:function(a,b){return _.KGd(a,b)}})));var pme=YQ(69,new uR({clear:function(a){return _.nj(a,74)},has:function(a){return a.iF()},get:function(a){return _.Jh(a,74)},set:function(a,b){return _.J(a,74,b)}}));var qme=new uR({clear:function(a){return _.nj(a,138)},has:function(a){return _.oj(a,_.vO,138)},get:function(a){return _.Bj(a,_.vO,138)},set:function(a,b){return _.PHd(a,b)}});var rme=YQ(194,new vR(qme,new uR({clear:function(a){return _.nj(a,2)},has:function(a){return _.oj(a,_.FP,2)},get:function(a){return _.Bj(a,_.FP,2)},set:function(a,b){return _.Q(a,_.FP,2,b)}})));var sme=YQ(193,new vR(qme,new uR({clear:function(a){return _.nj(a,1)},has:function(a){return _.Jk(a,1)},get:function(a){return _.nk(a,1)},set:function(a,b){return _.I(a,1,b)}})));var tme=YQ(1004,new uR({clear:function(a){return _.nj(a,108)},has:function(a){return _.Ek(a,108)},get:function(a){return _.Jh(a,108)},set:function(a,b){return _.IHd(a,b)}}));var ume=new uR({clear:function(a){return _.nj(a,111)},has:function(a){return _.oj(a,_.wq,111)},get:function(a){return _.Bj(a,_.wq,111)},set:function(a,b){return _.Q(a,_.wq,111,b)}});var vme=YQ(115,new vR(ume,new uR({clear:function(a){return _.nj(a,1)},has:function(a){return _.Ek(a,1)},get:function(a){return _.Jh(a,1)},set:function(a,b){return a.WN(b)}})));var wme=YQ(116,new vR(ume,new uR({clear:function(a){return _.nj(a,2)},has:function(a){return _.Hk(a,2)},get:function(a){return _.Zg(a,2)},set:function(a,b){return _.MGd(a,b)}})));var xme=YQ(136,new uR({clear:function(a){return _.nj(a,125)},has:function(a){return a.Oea().length>0},get:function(a){return a.Oea()},set:function(a,b){return _.KHd(a,b)}}));var yme=YQ(34,new vR(RR,new uR({clear:function(a){return _.nj(a,3)},has:function(a){return _.Ek(a,3)},get:function(a){return _.Jh(a,3)},set:function(a,b){return _.J(a,3,b)}})));var zme=YQ(9,new uR({clear:function(a){return _.nj(a,10)},has:function(a){return _.Gk(a,10)},get:function(a){return _.Yg(a,10)},set:function(a,b){return _.iHd(a,b)}}));var Ame=new uR({clear:function(a){return _.nj(a,91)},has:function(a){return _.oj(a,_.Tp,91)},get:function(a){return _.Bj(a,_.Tp,91)},set:function(a,b){return _.AHd(a,b)}});var Bme=new uR({clear:function(a){return _.nj(a,11)},has:function(a){return _.Hk(a,11)},get:function(a){return _.Zg(a,11)},set:function(a,b){return _.tGd(a,b)}});var Cme=YQ(252,new vR(Ame,Bme));var Dme=new uR({clear:function(a){return _.nj(a,2)},has:function(a){return _.Hk(a,2)},get:function(a){return a.Pb()},set:function(a,b){return a.Bb(b)}});var Eme=YQ(180,new vR(Ame,Dme));var Fme=new uR({clear:function(a){return _.nj(a,15)},has:function(a){return _.Hk(a,15)},get:function(a){return _.Zg(a,15)},set:function(a,b){return _.L(a,15,b)}});var Gme=YQ(206,new vR(Ame,Fme));var Hme=function(){X7d.call(this,43)};_.P(Hme,X7d);Hme.prototype.clear=function(a){a=_.nj(a,42);_.nj(a,43)};Hme.prototype.has=function(a){return _.Hk(a,42)||_.Hk(a,43)};Hme.prototype.tN=function(a,b){if(this.has(b)){var c=_.Zg(b,42);a=_.L(a,42,c);_.qHd(a,_.Zg(b,43))}};var Ime=new Hme;var Jme=YQ(91,Ame);var Kme=YQ(187,new uR({clear:function(a){return _.nj(a,136)},has:function(a){return _.Hk(a,136)},get:function(a){return _.Zg(a,136)},set:function(a,b){return _.OHd(a,b)}}));var Lme=YQ(26,new uR({clear:function(a){return _.nj(a,24)},has:function(a){return _.Hk(a,24)},get:function(a){return _.Zg(a,24)},set:function(a,b){return a.Kj(b)}}));var Mme=YQ(108,new uR({clear:function(a){return _.nj(a,104)},has:function(a){return _.Xj(a,104,_.Ff()).length>0},get:function(a){return _.Xj(a,104,_.Ff())},set:function(a,b){return _.yk(a,104,b)}}));var Nme=function(){X7d.call(this,41)};_.P(Nme,X7d);Nme.prototype.clear=function(a){_.nj(a,40);var b;(b=a.getCapabilities())!=null&&_.nj(b,5)};Nme.prototype.has=function(a){var b,c;return(c=(b=a.getCapabilities())==null?void 0:_.Ek(b,5))!=null?c:!1};Nme.prototype.tN=function(a,b){if(_.oj(b,_.vq,84)){var c=_.Bj(b,_.vq,84);_.GGd(_.Bj(a,_.vq,84),_.Jh(c,5));b=_.Jh(b,40);_.J(a,40,b)}};var Ome=new Nme;var Pme=YQ(42,new uR({clear:function(a){return _.nj(a,41)},has:function(a){return _.Hk(a,41)},get:function(a){return _.Zg(a,41)},set:function(a,b){return _.L(a,41,b)}}));var Qme=YQ(1005,new uR({clear:function(a){return _.nj(a,117)},has:function(a){return a.wI().length>0},get:function(a){return a.wI()},set:function(a,b){return a.MN(b)}}));var Rme=YQ(59,new vR(RR,new uR({clear:function(a){return _.nj(a,6)},has:function(a){return _.Ek(a,6)},get:function(a){return _.Jh(a,6)},set:function(a,b){return _.J(a,6,b)}})));var Sme=YQ(302,new uR({clear:function(a){return _.nj(a,161)},has:function(a){return _.Jk(a,161)},get:function(a){return _.nk(a,161)},set:function(a,b){return _.WHd(a,b)}}));var Tme=YQ(318,new uR({clear:function(a){return _.nj(a,162)},has:function(a){return _.Hk(a,162)},get:function(a){return _.Zg(a,162)},set:function(a,b){return _.L(a,162,b)}}));var Ume=YQ(28,new uR({clear:function(a){return _.nj(a,26)},has:function(a){return _.Ek(a,26)},get:function(a){return _.Jh(a,26)},set:function(a,b){return _.mHd(a,b)}}));var Vme=YQ(44,new uR({clear:function(a){return _.nj(a,45)},has:function(a){return _.Hk(a,45)},get:function(a){return _.Zg(a,45)},set:function(a,b){return _.sHd(a,b)}}));var Wme=YQ(13,new uR({clear:function(a){return _.nj(a,14)},has:function(a){return _.Gk(a,14)},get:function(a){return _.Yg(a,14)},set:function(a,b){return _.Tg(a,14,b)}}));var Xme=YQ(48,new uR({clear:function(a){return _.nj(a,36)},has:function(a){return _.Ek(a,36)},get:function(a){return _.Jh(a,36)},set:function(a,b){return _.pHd(a,b)}}));var Yme=YQ(38,new uR({clear:function(a){return _.nj(a,34)},has:function(a){return _.Gk(a,34)},get:function(a){return _.Yg(a,34)},set:function(a,b){return _.kIa(a,b)}}));var Zme=YQ(86,new uR({clear:function(a){return _.nj(a,87)},has:function(a){return _.Gk(a,87)},get:function(a){return _.Yg(a,87)},set:function(a,b){return _.Tg(a,87,b)}}));var $me=YQ(49,new uR({clear:function(a){return _.nj(a,50)},has:function(a){return _.re(a).length>0},get:function(a){return _.re(a)},set:function(a,b){return _.XCd(a,b)}}));var ane=YQ(104,new uR({clear:function(a){return _.nj(a,102)},has:function(a){return _.Ek(a,102)},get:function(a){return _.Jh(a,102)},set:function(a,b){return _.HHd(a,b)}}));var bne=YQ(39,new uR({clear:function(a){return _.nj(a,35)},has:function(a){return _.Ek(a,35)},get:function(a){return _.Jh(a,35)},set:function(a,b){return _.oHd(a,b)}}));var cne=YQ(243,new uR({clear:function(a){return _.nj(a,153)},has:function(a){return _.Ek(a,153)},get:function(a){return _.Jh(a,153)},set:function(a,b){return _.J(a,153,b)}}));var dne=YQ(87,new uR({clear:function(a){return _.nj(a,76)},has:function(a){return _.Ek(a,76)},get:function(a){return _.Jh(a,76)},set:function(a,b){return _.oIa(a,b)}}));var ene=YQ(62,new uR({clear:function(a){return _.nj(a,44)},has:function(a){return _.Ek(a,44)},get:function(a){return _.Jh(a,44)},set:function(a,b){return _.rHd(a,b)}}));var fne=YQ(100,new uR({clear:function(a){return _.nj(a,98)},has:function(a){return _.Ek(a,98)},get:function(a){return _.Jh(a,98)},set:function(a,b){return _.J(a,98,b)}}));var gne=YQ(72,new uR({clear:function(a){return _.nj(a,78)},has:function(a){return _.Hk(a,78)},get:function(a){return _.Zg(a,78)},set:function(a,b){return _.L(a,78,b)}}));var hne=YQ(5,new uR({clear:function(a){return _.nj(a,6)},has:function(a){return _.Ek(a,6)},get:function(a){return _.Jh(a,6)},set:function(a,b){return _.fHd(a,b)}}));var ine=YQ(20,new uR({clear:function(a){return _.nj(a,21)},has:function(a){return _.Hk(a,21)},get:function(a){return _.Zg(a,21)},set:function(a,b){return _.L(a,21,b)}}));var jne=YQ(21,new uR({clear:function(){},has:function(a){return _.Hk(a,1)},get:function(a){return a.Pb()},set:function(a,b){return a.Bb(b)}}));var kne=new uR({clear:function(a){return _.nj(a,27)},has:function(a){return _.oj(a,_.GP,27)},get:function(a){return _.Bj(a,_.GP,27)},set:function(a,b){return _.Q(a,_.GP,27,b)}});var lne=YQ(29,new vR(kne,new uR({clear:function(a){return _.nj(a,1)},has:function(a){return _.Gk(a,1)},get:function(a){return _.Yg(a,1)},set:function(a,b){return _.Tg(a,1,b)}})));var mne=YQ(31,new vR(kne,new uR({clear:function(a){return _.nj(a,3)},has:function(a){return _.Fk(a,3)},get:function(a){return _.mk(a,3)},set:function(a,b){return a.Dj(b)}})));var nne=YQ(92,new vR(kne,new uR({clear:function(a){return _.nj(a,4)},has:function(a){return _.Fk(a,4)},get:function(a){return _.mk(a,4)},set:function(a,b){return _.Ug(a,4,b)}})));var one=YQ(30,new vR(kne,new uR({clear:function(a){return _.nj(a,2)},has:function(a){return _.Fk(a,2)},get:function(a){return _.mk(a,2)},set:function(a,b){return a.Vh(b)}})));var pne=YQ(235,new uR({clear:function(a){return _.nj(a,149)},has:function(a){return _.Gk(a,149)},get:function(a){return _.Yg(a,149)},set:function(a,b){return J_d(a,b)}}));var qne=YQ(279,new uR({clear:function(a){return _.nj(a,160)},has:function(a){return _.Ek(a,160)},get:function(a){return _.Jh(a,160)},set:function(a,b){return _.J(a,160,b)}}));var rne=new uR({clear:function(a){return _.nj(a,17)},has:function(a){return _.oj(a,_.Tp,17)},get:function(a){return _.Bj(a,_.Tp,17)},set:function(a,b){return _.kHd(a,b)}});var sne=YQ(248,new vR(rne,Bme));var tne=YQ(168,new vR(rne,Dme));var une=YQ(204,new vR(rne,Fme));var vne=YQ(16,rne);var wne=YQ(12,new uR({clear:function(a){return _.nj(a,13)},has:function(a){return _.Gk(a,13)},get:function(a){return _.Yg(a,13)},set:function(a,b){return _.Qac(a,b)}}));var xne=new uR({clear:function(a){return _.nj(a,139)},has:function(a){return _.oj(a,_.aHd,139)},get:function(a){return _.Bj(a,_.aHd,139)},set:function(a,b){return _.QHd(a,b)}});var yne=YQ(211,new vR(xne,new uR({clear:function(a){return _.nj(a,2)},has:function(a){return _.Ek(a,2)},get:function(a){return _.Jh(a,2)},set:function(a,b){return _.J(a,2,b)}})));var zne=YQ(212,new vR(xne,new uR({clear:function(a){return _.nj(a,3)},has:function(a){return _.Ek(a,3)},get:function(a){return _.Jh(a,3)},set:function(a,b){return _.J(a,3,b)}})));var Ane=YQ(220,new vR(xne,new uR({clear:function(a){return _.nj(a,5)},has:function(a){return _.Ek(a,5)},get:function(a){return _.Jh(a,5)},set:function(a,b){return _.J(a,5,b)}})));var Bne=YQ(273,new uR({clear:function(a){return _.nj(a,156)},has:function(a){return _.oj(a,_.Dq,156)},get:function(a){return _.Bj(a,_.Dq,156)},set:function(a,b){return _.VHd(a,b)}}));var Cne=YQ(3,new uR({clear:function(a){return _.nj(a,4)},has:function(a){return _.Hk(a,4)},get:function(a){return _.Sq(a)},set:function(a,b){return _.Rq(a,b)}}));var Dne=YQ(11,new uR({clear:function(a){return _.nj(a,12)},has:function(a){return _.Gk(a,12)},get:function(a){return _.Yg(a,12)},set:function(a,b){return _.jHd(a,b)}}));var Ene=YQ(10,new uR({clear:function(a){return _.nj(a,11)},has:function(a){return _.Gk(a,11)},get:function(a){return _.Yg(a,11)},set:function(a,b){return _.Pac(a,b)}}));var Fne=YQ(50,new uR({clear:function(a){return _.nj(a,81)},has:function(a){return _.oj(a,_.xq,81)},get:function(a){return _.Bj(a,_.xq,81)},set:function(a,b){return _.Q(a,_.xq,81,b)}}));var Gne=YQ(18,new uR({clear:function(a){return _.nj(a,19)},has:function(a){return _.Hk(a,19)},get:function(a){return _.Zg(a,19)},set:function(a,b){return _.L(a,19,b)}}));var Hne=YQ(95,new uR({clear:function(a){return _.nj(a,93)},has:function(a){return _.Hk(a,93)},get:function(a){return _.Yq(a)},set:function(a,b){return _.CHd(a,b)}}));var Ine=YQ(58,new uR({clear:function(a){return _.nj(a,63)},has:function(a){return _.Ek(a,63)},get:function(a){return _.Jh(a,63)},set:function(a,b){return _.J(a,63,b)}}));var Jne=YQ(14,new uR({clear:function(a){return _.nj(a,15)},has:function(a){return _.Xf(a).length>0},get:function(a){return _.Xf(a)},set:function(a,b){return _.Tq(a,b)}}));var Kne=YQ(103,new uR({clear:function(a){return _.nj(a,101)},has:function(a){return _.Jk(a,101)},get:function(a){return _.nk(a,101)},set:function(a,b){return _.GHd(a,b)}}));var Lne=YQ(1,new uR({clear:function(a){return _.nj(a,2)},has:function(a){return a.yl().length>0},get:function(a){return a.yl()},set:function(a,b){return _.JP(a,b)}}));var Mne=YQ(96,new uR({clear:function(a){return _.nj(a,94)},has:function(a){return _.Ek(a,94)},get:function(a){return _.Jh(a,94)},set:function(a,b){return _.DHd(a,b)}}));var Nne=YQ(75,new uR({clear:function(a){return _.nj(a,85)},has:function(a){return _.oj(a,_.Nq,85)},get:function(a){return _.Bj(a,_.Nq,85)},set:function(a,b){return _.yHd(a,b)}}));var One=YQ(94,new uR({clear:function(a){return _.nj(a,92)},has:function(a){return _.Hk(a,92)},get:function(a){return _.Zg(a,92)},set:function(a,b){return _.BHd(a,b)}}));var Pne=YQ(45,new uR({clear:function(a){return _.nj(a,46)},has:function(a){return _.Hk(a,46)},get:function(a){return _.Zg(a,46)},set:function(a,b){return _.tHd(a,b)}}));var Qne=YQ(124,new uR({clear:function(a){return _.nj(a,118)},has:function(a){return _.Ek(a,118)},get:function(a){return _.Jh(a,118)},set:function(a,b){return _.J(a,118,b)}}));var Rne=YQ(125,new uR({clear:function(a){return _.nj(a,119)},has:function(a){return _.Hk(a,119)},get:function(a){return _.Zg(a,119)},set:function(a,b){return _.JHd(a,b)}}));var Sne=YQ(32,new uR({clear:function(a){return _.nj(a,28)},has:function(a){return _.Gk(a,28)},get:function(a){return _.Yg(a,28)},set:function(a,b){return _.Tg(a,28,b)}}));var Tne=YQ(218,new uR({clear:function(a){return _.nj(a,143)},has:function(a){return _.Gk(a,143)},get:function(a){return _.Yg(a,143)},set:function(a,b){return _.Tg(a,143,b)}}));var Une=YQ(67,new uR({clear:function(a){return _.nj(a,70)},has:function(a){return _.Gk(a,70)},get:function(a){return _.Yg(a,70)},set:function(a,b){return _.Sac(a,b)}}));var Vne=YQ(68,new uR({clear:function(a){return _.nj(a,71)},has:function(a){return _.Jk(a,71)},get:function(a){return _.nk(a,71)},set:function(a,b){return _.Tac(a,b)}}));var Wne=YQ(210,new uR({clear:function(a){return _.nj(a,140)},has:function(a){return _.Hk(a,140)},get:function(a){return _.$q(a)},set:function(a,b){return _.L(a,140,b)}}));var Xne=YQ(7,new uR({clear:function(a){return _.nj(a,8)},has:function(a){return _.Ek(a,8)},get:function(a){return _.Jh(a,8)},set:function(a,b){return _.gHd(a,b)}}));var Yne=YQ(122,new uR({clear:function(a){return _.nj(a,109)},has:function(a){return _.oj(a,_.PHa,109)},get:function(a){return _.Bj(a,_.PHa,109)},set:function(a,b){return I_d(a,b)}}));var Zne=YQ(66,new uR({clear:function(a){return _.nj(a,69)},has:function(a){return _.Gk(a,69)},get:function(a){return _.Yg(a,69)},set:function(a,b){return _.vHd(a,b)}}));var $ne=YQ(24,new uR({clear:function(a){return _.nj(a,22)},has:function(a){return _.Ek(a,22)},get:function(a){return a.VF()},set:function(a,b){return _.jIa(a,b)}}));var aoe=YQ(25,new uR({clear:function(a){return _.nj(a,23)},has:function(a){return _.Gk(a,23)},get:function(a){return _.Yg(a,23)},set:function(a,b){return _.lHd(a,b)}}));var boe=new uR({clear:function(a){return _.nj(a,47)},has:function(a){return _.oj(a,_.Tp,47)},get:function(a){return _.Bj(a,_.Tp,47)},set:function(a,b){return _.uHd(a,b)}});var coe=YQ(250,new vR(boe,Bme));var doe=YQ(171,new vR(boe,Dme));var eoe=YQ(205,new vR(boe,Fme));var foe=YQ(46,new uR({clear:function(a){return _.nj(a,47)},has:function(a){return _.oj(a,_.Tp,47)},get:function(a){return _.Bj(a,_.Tp,47)},set:function(a,b){return _.uHd(a,b)}}));var goe=new uR({clear:function(a){return _.nj(a,132)},has:function(a){return _.oj(a,_.hIa,132)},get:function(a){return _.Bj(a,_.hIa,132)},set:function(a,b){return _.MHd(a,b)}});var hoe=YQ(192,new vR(goe,new uR({clear:function(a){return _.nj(a,6)},has:function(a){return _.Ek(a,6)},get:function(a){return _.Jh(a,6)},set:function(a,b){return _.J(a,6,b)}})));var ioe=YQ(154,new vR(goe,new uR({clear:function(a){return _.nj(a,1)},has:function(a){return _.Hk(a,1)},get:function(a){return _.Zg(a,1)},set:function(a,b){return _.L(a,1,b)}})));var joe=YQ(159,new vR(goe,new uR({clear:function(a){return _.nj(a,5)},has:function(a){return _.oj(a,_.Oq,5)},get:function(a){return _.he(a)},set:function(a,b){return _.Q(a,_.Oq,5,b)}})));var koe=YQ(158,new vR(goe,new uR({clear:function(a){return _.nj(a,4)},has:function(a){return _.Jk(a,4)},get:function(a){return _.nk(a,4)},set:function(a,b){return _.I(a,4,b)}})));var loe=YQ(155,new vR(goe,new uR({clear:function(a){return _.nj(a,3)},has:function(a){return _.Hk(a,3)},get:function(a){return _.Zg(a,3)},set:function(a,b){return _.L(a,3,b)}})));var moe=YQ(56,new uR({clear:function(a){return _.nj(a,61)},has:function(a){return _.Hk(a,61)},get:function(a){return _.Zg(a,61)},set:function(a,b){return _.L(a,61,b)}}));var noe=YQ(52,new uR({clear:function(a){return _.nj(a,56)},has:function(a){return _.Xj(a,56,_.Ff()).length>0},get:function(a){return _.Xj(a,56,_.Ff())},set:function(a,b){return _.yk(a,56,b)}}));var ooe=YQ(55,new uR({clear:function(a){return _.nj(a,60)},has:function(a){return _.lIa(a).length>0},get:function(a){return _.lIa(a)},set:function(a,b){return _.Mj(a,60,b)}}));var poe=new uR({clear:function(a){return _.nj(a,148)},has:function(a){return _.oj(a,_.yq,148)},get:function(a){return _.Bj(a,_.yq,148)},set:function(a,b){return _.UHd(a,b)}});var qoe=YQ(234,new vR(poe,new uR({clear:function(a){return _.nj(a,4)},has:function(a){return _.Ek(a,4)},get:function(a){return _.Jh(a,4)},set:function(a,b){return _.J(a,4,b)}})));var roe=YQ(275,new vR(poe,new uR({clear:function(a){return _.nj(a,6)},has:function(a){return _.Ek(a,6)},get:function(a){return _.Jh(a,6)},set:function(a,b){return _.J(a,6,b)}})));var soe=YQ(274,new vR(poe,new uR({clear:function(a){return _.nj(a,5)},has:function(a){return _.Ek(a,5)},get:function(a){return _.Jh(a,5)},set:function(a,b){return _.J(a,5,b)}})));var toe=YQ(233,new vR(poe,new uR({clear:function(a){return _.nj(a,3)},has:function(a){return _.Gk(a,3)},get:function(a){return _.Yg(a,3)},set:function(a,b){return _.bHd(a,b)}})));var uoe=YQ(4,new uR({clear:function(a){return _.nj(a,5)},has:function(a){return _.Ek(a,5)},get:function(a){return _.Jh(a,5)},set:function(a,b){return a.ys(b)}}));var voe=YQ(35,new uR({clear:function(a){return _.nj(a,31)},has:function(a){return _.Ek(a,31)},get:function(a){return _.Jh(a,31)},set:function(a,b){return _.nHd(a,b)}}));var woe=YQ(83,new uR({clear:function(a){return _.nj(a,72)},has:function(a){return _.Hk(a,72)},get:function(a){return a.qn()},set:function(a,b){return _.Wq(a,b)}}));var xoe=new uR({clear:function(a){return _.nj(a,73)},has:function(a){return _.nIa(a)},get:function(a){return _.Bj(a,_.Bq,73)},set:function(a,b){return _.mIa(a,b)}});var yoe=new vR(xoe,new uR({clear:function(a){return _.nj(a,10)},has:function(a){return _.oj(a,_.Aq,10)},get:function(a){return _.Bj(a,_.Aq,10)},set:function(a,b){return _.Q(a,_.Aq,10,b)}}));var zoe=YQ(298,new vR(yoe,new uR({clear:function(a){return _.nj(a,1)},has:function(a){return _.vj(a,1)!=null},get:function(a){return _.Gra(a,1)},set:function(a,b){return y_d(a,b)}})));var Aoe=YQ(299,new vR(yoe,new uR({clear:function(a){return _.nj(a,2)},has:function(a){return _.vj(a,2)!=null},get:function(a){return _.Gra(a,2)},set:function(a,b){return z_d(a,b)}})));var Boe=YQ(157,new vR(xoe,new uR({clear:function(a){return _.nj(a,8)},has:function(){return!0},get:function(a){return _.Kj(a,_.zq,8,_.Ff())},set:function(a,b){return D_d(a,b)}})));var Coe=YQ(221,new vR(xoe,new uR({clear:function(a){return _.nj(a,9)},has:function(a){return _.Ek(a,9)},get:function(a){return _.Jh(a,9)},set:function(a,b){return _.J(a,9,b)}})));var Doe=YQ(84,new uR({clear:function(a){return _.nj(a,86)},has:function(a){return _.oj(a,_.HP,86)},get:function(a){return _.K(a,_.HP,86)},set:function(a,b){return _.zHd(a,b)}}));var Eoe=function(){X7d.call(this,19)};_.P(Eoe,X7d);Eoe.prototype.clear=function(a){a=_.nj(a,20);_.nj(a,90)};Eoe.prototype.has=function(a){return _.Hk(a,20)||_.Gk(a,90)};Eoe.prototype.tN=function(a,b){this.has(b)&&(a=_.rHd(H_d(a,_.Zg(b,20)),_.Jh(b,44)),b=_.Yg(b,90),_.Tg(a,90,b))};var Foe=new uR({clear:function(a){return _.nj(a,95)},has:function(a){return _.oj(a,_.Tp,95)},get:function(a){return _.Bj(a,_.Tp,95)},set:function(a,b){return _.EHd(a,b)}});var Goe=new uR({clear:function(a){return a.clearVideo()},has:function(a){return _.oj(a,_.IP,103)},get:function(a){return _.Bj(a,_.IP,103)},set:function(a,b){return _.Q(a,_.IP,103,b)}});var W0d=[mle,nle,ole,ple,qle,rle,sle,tle,ule,vle,wle,xle,yle,zle,Ale,Ble,Cle,Dle,Ele,Fle,Gle,Hle,Ile,Jle,Kle,Lle,Mle,Nle,Ole,Ple,Qle,Rle,Sle,Tle,Ule,Vle,Wle,Xle,Yle,Zle,$le,ame,bme,cme,dme,eme,fme,gme,hme,ime,jme,kme,lme,mme,nme,ome,pme,rme,sme,tme,vme,wme,xme,yme,zme,Ime,Jme,Cme,Eme,Gme,Kme,Lme,Mme,Pme,Ome,Qme,Sme,Rme,Tme,Ume,Vme,Wme,Xme,Yme,Zme,$me,ane,bne,cne,dne,ene,fne,gne,hne,ine,jne,lne,mne,nne,one,pne,qne,vne,sne,tne,une,wne,yne,zne,Ane,Bne,Cne,Dne,Ene,Fne,Gne,Hne,Ine,Jne,Kne,Lne,Mne,Nne,
One,Pne,Qne,Rne,Sne,Tne,Une,Vne,Wne,Xne,Yne,Zne,$ne,aoe,foe,coe,doe,eoe,hoe,ioe,joe,koe,loe,moe,noe,ooe,qoe,roe,soe,toe,uoe,voe,woe,zoe,Aoe,Boe,Coe,Doe,new Eoe,YQ(2,new uR({clear:function(a){return _.nj(a,3)},has:function(a){return _.Hk(a,3)},get:function(a){return _.Qq(a)},set:function(a,b){return a.setTitle(b)}})),YQ(98,new uR({clear:function(a){return _.nj(a,96)},has:function(a){return _.Gk(a,96)},get:function(a){return _.Yg(a,96)},set:function(a,b){return _.FHd(a,b)}})),YQ(6,new uR({clear:function(a){return _.nj(a,
7)},has:function(a){return _.Ek(a,7)},get:function(a){return _.Jh(a,7)},set:function(a,b){return a.In(b)}})),YQ(97,new uR({clear:function(a){return _.nj(a,95)},has:function(a){return _.oj(a,_.Tp,95)},get:function(a){return _.Bj(a,_.Tp,95)},set:function(a,b){return _.EHd(a,b)}})),YQ(254,new vR(Foe,Bme)),YQ(175,new vR(Foe,Dme)),YQ(207,new vR(Foe,Fme)),YQ(27,new uR({clear:function(a){return _.nj(a,25)},has:function(a){return _.Jk(a,25)},get:function(a){return _.nk(a,25)},set:function(a,b){return _.Rac(a,
b)}})),YQ(70,new uR({clear:function(a){return _.nj(a,75)},has:function(a){return _.Gk(a,75)},get:function(a){return _.Yg(a,75)},set:function(a,b){return _.Tg(a,75,b)}})),YQ(107,new vR(Goe,new uR({clear:function(a){return _.nj(a,3)},has:function(a){return _.Fk(a,3)},get:function(a){return _.mk(a,3)},set:function(a,b){return _.Ug(a,3,b)}}))),YQ(106,new vR(Goe,new uR({clear:function(a){return _.nj(a,2)},has:function(a){return _.Fk(a,2)},get:function(a){return _.mk(a,2)},set:function(a,b){return a.Dj(b)}}))),
YQ(303,new vR(Goe,new uR({clear:function(a){return _.nj(a,4)},has:function(a){return _.Jk(a,4)},get:function(a){return _.nk(a,4)},set:function(a,b){return _.I(a,4,b)}}))),YQ(105,new vR(Goe,new uR({clear:function(a){return _.nj(a,1)},has:function(a){return _.Fk(a,1)},get:function(a){return _.mk(a,1)},set:function(a,b){return a.Vh(b)}}))),YQ(8,new uR({clear:function(a){return _.nj(a,9)},has:function(a){return _.Ek(a,9)},get:function(a){return _.Jh(a,9)},set:function(a,b){return _.hHd(a,b)}})),YQ(126,
new uR({clear:function(a){return _.nj(a,120)},has:function(a){return _.Xj(a,120,_.Ff()).length>0},get:function(a){return _.Xj(a,120,_.Ff())},set:function(a,b){return _.yk(a,120,b)}}))];var Hoe=function(a){this.O=a;this.H=new Map};Hoe.prototype.create=function(a,b,c){(c=c===void 0?!1:c)&&D8d(this,a,4);var d=this.O.H(106001);d&&(_.sKd(d,b,c),this.H.set(a,d))};
var F8d=function(a,b,c){if(a=a.H.get(b))a=_.bQ(a),_.J(a,5,c)},kfe=function(a,b,c){(a=a.H.get(b))&&_.N(_.bQ(a),8)&&(a=_.bQ(a),_.J(a,9,c))},Ioe=function(a,b,c,d,e){var f=a.H.get(b);f&&(_.bQ(f).Tb(c),_.bQ(f).Vj(d),e!==null&&(c=_.bQ(f),_.J(c,6,e)),f.Vi(),a.H.delete(b))},G8d=function(a,b,c){var d=a.H.get(b);if(d&&R4d(c)===1){var e,f=(e=_.bQ(d))==null?void 0:_.Ae(e,2);if((f===9||f===10)&&c instanceof HQ){if(e=c.H,f=_.Rj(_.bQ(d),11),(0,_.wsa)(e)&&(0,_.wsa)(f)){var g=_.bQ(d);_.Ug(g,10,e);g=e>=f}}else c instanceof
MQ&&c.eq&&(g=!0);c=_.aQ(_.wKd,Q4d(c));e=_.bQ(d);g=(0,_.ysa)(g)?g:3===c||8===c?!_.N(e,5):0!==c?Joe.has(c):null;Ioe(a,b,1,c,g);return _.bQ(d)}return null},D8d=function(a,b,c){c=c===void 0?3:c;var d=a.H.get(b);d&&(_.bQ(d).Tb(c),d.Vi(),a.H.delete(b))},Joe=new Set([7,4,5,9,6,10,11,12]);var ZQ=function(a,b,c,d,e){e=e===void 0?"sync.ThinContext":e;_.Ig.call(this);var f=this;this.appContext=a;this.environment=c;this.rootId=null;this.W=[];this.Ia=new _.nPd;a=d!=null?d:_.lFd();c=a.iL;this.Td=a.Td;this.iL=c;this.logger=this.Td.Kf(e);this.NZ=new L2d(this.Td);this.Ld=b.clone();e=new _.MOd(_.hO(this.Ld));X0d(e);_.LOd(e,_.ak(b,27,_.Ff()));this.Cf=e.build();this.Iq=new X3d(_.xP(this.Cf),this.Ld);Koe(this);this.L2=new _.By;this.Fb=_.ca.setTimeout(function(){f.logger.info("Page stable timed out.");
f.L2.resolve();_.lPd(f.Oo,106020)},_.Uj(this.Ld,93,1E4));this.H=new _.By;this.Ab=_.ca.setTimeout(function(){f.logger.info("Initialize background services timed out.");f.H.resolve();_.lPd(f.Oo,106043)},_.Uj(this.Ld,102,2E4));this.a5=new _.Je;this.Ga=new _.mPd;this.Da=new _.NOd(_.OP(this.Ld)?3:1);this.Oo=_.jPd(this.Ld,this.Ga,this.Da,this.Td,this.L2.promise,this.environment);this.R$=new Hoe(this.Oo);this.ma=new _.By;this.log("Enabled experiments: "+this.Oo.V.ooa);this.log("Primary fields: "+_.xP(this.Cf).join(", "));
Loe(this);_.NN(this.Ld.ni())&&this.Ty("")};_.P(ZQ,_.Ig);ZQ.prototype.Jha=function(){this.logger.info("Notified of page stable.");_.ca.clearTimeout(this.Fb);this.L2.resolve()};ZQ.prototype.nga=function(){this.logger.info("Initialize background processes requested.");_.ca.clearTimeout(this.Ab);this.H.resolve()};
var Loe=function(a){var b,c=(b=a.appContext)==null?void 0:_.ae(b,_.Om);c?_.jg(c,"x",function(){Moe(a)}):_.cO()||_.jg(_.ca,"unload",function(){Moe(a)})},Moe=function(a){a.MF().then(null,function(){});var b,c;((b=a.Ld)==null?0:(c=_.br(b))==null?0:_.N(c,21,!1))&&N0d(a.Oo)};ZQ.prototype.MF=function(a){a=a===void 0?!1:a;_.lPd(this.Oo,106005);var b,c;((b=this.Ld)==null?0:(c=_.br(b))==null?0:_.N(c,21,!1))||N0d(this.Oo);this.Ia.MF();b=this.W.map(function(d){return d(a)});_.Jaa(this.W);return Promise.all(b).then()};
ZQ.prototype.lFa=function(){return this.Ia};var Noe=function(a,b){a.W.push(b)};_.h=ZQ.prototype;_.h.gX=function(){return this.iL};_.h.Kf=function(a){return this.Td.Kf(a)};_.h.Ty=function(a,b){b=b===void 0?"":b;this.rootId===null&&(this.log("Setting Root ID"+(b?" from "+b:"")+": "+a),this.rootId=a,this.Iq.Ty(a),a.length&&this.lEb(a),this.a5.callback(a))};_.h.lEb=function(){};_.h.yz=function(){return this.rootId};_.h.X7=function(){return this.Ga};_.h.Xo=function(){return this.Da};_.h.nHc=function(a){this.ma.resolve(a)};
var Koe=function(a){var b=_.cr(a.Ld);if(!_.z(b,37,""))throw Error("Mi");_.E(b,57)||(a.log("No root URI provided; using prod default."),_.L(b,57,"https://clients6.google.com"));if(_.N(_.PQ(a.Ld),9,!1)){var c=OQ(_.PQ(a.Ld));if(c.length>0){if(!_.E(c[0],1)||!c[0].getKey()&&!_.OP(a.Ld)&&!_.LP(a.Ld))throw Error("Ni");}else _.J(_.PQ(a.Ld),9,!1),a.log("Disabling IndexedDB support, missing configuration.")}if(!_.N(_.PQ(a.Ld),9,!1)&&(_.OP(a.Ld)||_.LP(a.Ld)))throw Error("Oi");c=_.hO(a.Ld);var d;if((d=c==null?
void 0:_.NN(c))!=null&&d)_.I(_.I(b,17,3),18,3),_.yj(_.nj(a.Ld,44),98);else if(c==null||!_.qO(c))throw Error("Pi");_.Kj(a.Ld,_.cf,44,_.Ff()).forEach(function(e){try{var f=a.Iq;a4d(f,e,!0);$3d(f,f.fields.slice(),e.O())}catch(g){if(g instanceof _.wf&&(e=g.yg)&&_.Ae(e,2)===3)throw Error("Qi");throw g;}})};ZQ.prototype.vS=function(a){this.dispatchEvent(new _.xf(new _.wf(void 0,a)))};ZQ.prototype.log=function(a){this.logger.info(a)};var Ooe=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},Qoe=function(a,b){return Poe(a[b])+(Poe(a[b+1])<<8)+(Poe(a[b+2])<<16)+(Poe(a[b+3])<<24)},Poe=function(a){return a>127?a-256:a};var SR=function(a,b,c,d,e,f){ZQ.call(this,a,b,c,d,"sync.Context");var g=this;this.Ta=_.jm();this.Ba=null;this.hL=_.jm();this.cI=new _.By;this.Pka=null;this.Qka=new Ufe;this.O=this.V=null;this.Xa=_.jm();this.n1a=new _.By;this.zO=new Yke;this.aB=new ege;this.tjb=new Nae;this.qGa=new _.By;this.Ka=!1;this.Gya=new _.By;this.A4a=new _.By;this.ua={};this.U3=null;this.zsa=new _.eQ(function(){return new ahe(Promise.resolve(g.Rp()),Promise.resolve(g.hL.promise),g.ZL.getState(),g.Po,g.Oo)});this.eventHandler=
new _.Lg;this.Sa(this.eventHandler);this.Po=e?e:new Gae(this.Td);this.Oo.V.O=this.Po;this.CV=_.N(_.PQ(b),9,!1)&&DZd()?Roe(this,b):null;this.CD=new Q3d(_.yP(_.hO(b)));this.vB=new Nhe;this.jL=Soe(this,this.CV);this.tK=Toe(this,this.CV,b);this.Zg=new PR(this,this.Cf);this.nx=Uoe(this);(a=(a=_.K(this.Ld,_.Oq,12))&&a.getId())&&this.Ty(a,"config");this.Tca=new Lae(this.Ld,this.Tg().mx,this.Po,this.Td,this.nx);this.Rba=new Rae(this.Td,this.Po,this.nx);this.ZL=Voe(this);this.Po.addRule(["mrK8ic"],function(){g.Xa.promise.then(function(){g.Pva(g.O)})});
this.Iya=new Whe(this.Ld);this.VJ=new _.xJd(this.Ld,this.Zg.xn,this.Cf);this.GPa=new Hhe(this);this.TO=new Zfe(this.hL.promise,this.Rp());this.hb=new cge(this.Rp(),this.TO);this.DR=new _.eQ(function(){return $Sd(g.Ld,g.tK,g.ZL.getState(),g.hL.promise,g.Rp(),g.eventHandler,g.nx,function(l){g.Ty(l,"account and user settings")},_.zP(g.Ld)?g.Zg.mx:null)});this.ZT=new _.eQ(function(){return kTd(g.Ld,g.tK,g.ZL.getState(),g.hL.promise,g.Rp(),g.Zg,g.eventHandler,g.nx,g.Iq)});this.OZ=new _.eQ(function(){return BTd(10,
g.Iq,g.Ld,g.tK,g.ZL.getState(),g.hL.promise,g.Rp(),g.Tg(),g.eventHandler,g.nx,g.H.promise)});this.PZ=new _.eQ(function(){return BTd(11,g.Iq,g.Ld,g.tK,g.ZL.getState(),g.hL.promise,g.Rp(),g.Tg(),g.eventHandler,g.nx,g.H.promise)});this.QZ=new _.eQ(function(){return xTd(g.Ld,g.tK,g.ZL.getState(),g.hL.promise,g.Rp(),g.Tg(),g.eventHandler,g.nx,g.H.promise)});this.Hya=new _.eQ(function(){var l=g.Ld,m=g.hL.promise,q=g.Rp();q=new Age(q);return new Fge(l,m,q)});this.wV=new vhe(this.hL.promise,this.Rp(),this.Td,
this.Ld);var k;this.Pa=new Vke(this.Ld,this.Tg(),this.vS.bind(this),this.TO,this.hb,this.nx,this.Qka,this.Cf,this.yz.bind(this),this.GPa,this.Rba,this.wV,((k=_.br(this.Ld))==null?0:_.MN(k))?this.DR:null,this.OZ,this.PZ,this.QZ,this.Hya,this.zO,this.Td,this.Iya,this.Iq,this.VJ,this.ZL,this.lFa(),this.qb.bind(this),this.Oo,f);this.Ta.resolve(this.Pa);this.hab=new hhe(this);this.Po.addRule(["BNEDtc"],function(){return g.Gya.resolve()});Noe(this,function(){g.nx.uY();return _.gm()})};_.P(SR,ZQ);
var Roe=function(a,b){var c=_.qO(_.hO(b)),d=_.NP(b),e=function(){},f=OQ(_.PQ(b));f=f[0]&&_.E(f[0],1);var g=new e$d(c,d,_.Sj(_.PQ(b),10,0)||0,f||"",_.xP(a.Cf));_.OP(b)?c=C$d(c,d).then(function(l){return l?l:g}):_.LP(b)&&_.Uj(_.PQ(b),8,432E6)>0?(f=Woe(a,c),c=C$d(c,d,f).then(function(l){return l&&(e=function(m){return m.Hn(g).then(null,function(){})},!l.ma)?l:g})):c=_.gm(g);var k=new FR(c,a.Td,a.Oo,_.N(_.PQ(b),14,!1));k.initialize().then(function(){return e(k)},function(){return null});return k},Woe=
function(a,b){var c=_.Uj(_.PQ(a.Ld),8,432E6);if(!_.OP(a.Ld)&&c>0){a=Math;var d=a.abs;b=_.hqa(b);var e=0,f=b.length,g={a:-1640531527,b:-1640531527,c:314159265},k;for(k=f;k>=12;k-=12,e+=12)g.a+=Qoe(b,e),g.b+=Qoe(b,e+4),g.c+=Qoe(b,e+8),Ooe(g);g.c+=f;switch(k){case 11:g.c+=b[e+10]<<24;case 10:g.c+=(b[e+9]&255)<<16;case 9:g.c+=(b[e+8]&255)<<8;case 8:g.b+=Qoe(b,e+4);g.a+=Qoe(b,e);break;case 7:g.b+=(b[e+6]&255)<<16;case 6:g.b+=(b[e+5]&255)<<8;case 5:g.b+=b[e+4]&255;case 4:g.a+=Qoe(b,e);break;case 3:g.a+=
(b[e+2]&255)<<16;case 2:g.a+=(b[e+1]&255)<<8;case 1:g.a+=b[e]&255}b=Ooe(g);return d.call(a,b)%c}},Voe=function(a){var b=_.N(_.cr(a.Ld),67,!1)?null:new _.Tob("https://ssl.gstatic.com/docs/common/cleardot.gif",void 0,_.OP(a.Ld),void 0,_.cO()?new _.ZId:void 0);return new _.qLd(a.Xo(),b,a.Rp(),a.Td,a.Oo,_.NN(_.hO(a.Ld)))};
SR.prototype.ZQ=function(a){var b=this;return this.CV?this.CV.Fe()?_.hm(Error("Ri`"+m$d(this.CV))):cde(this.jL).then(function(c){var d=b.CV,e=[];e.push(b.nx.zsb());e.push(a?d.Hn():y$d(d));if(a===c)return _.im(e).then(function(){return!1});a===!1&&(e.push(l$d(d)),(c=b.yz())&&e.push(b.jL.Ty(c)));return _.im(e).then(function(){return b.jL.ZQ(a)},function(){return!1})}):_.hm(Error("Si"))};
var Toe=function(a,b,c){var d=null;b&&(d=new Lce(b,c,function(e){a.vS(e)},a.Oo),d.initialize().then(function(){},function(){}));return d},Soe=function(a,b){var c=new $ce(b||void 0);b?(c.yz().then(function(d){d?a.Ty(d,"metadata store"):(a.A4a.resolve(),a.a5.then(function(e){a.jL.Ty(e)}))},function(){}),cde(c).then(function(d){a.X7().ZQ(d)}),_.im([b.initialize(),a.L2.promise]).then(function(){Xoe(a,c)},function(){})):a.A4a.resolve();return c},Xoe=function(a,b){ide(b).then(function(c){(!c||c<Date.now()-
864E5)&&F$d(_.qO(_.hO(a.Ld)),_.NP(a.Ld),a.Td).then(function(d){d&&(d=Date.now(),b.set(hde,d))},function(){})})},Uoe=function(a){if(!a.tK)return new lle;var b=new Zke(a,a.Cf);a.eventHandler.listen(a.Xo(),[].concat(_.Eb(Object.values(_.DA))),function(){return void b.setActive(a.Xo().isConnected())});return b};
SR.prototype.MF=function(){var a=this,b,c;return((b=this.Ld)==null?0:(c=_.br(b))==null?0:_.N(c,21,!1))?this.hL.promise.then(function(d){iae(d)}).then(function(){return ZQ.prototype.MF.call(a)}):ZQ.prototype.MF.call(this)};SR.prototype.Bva=function(a){this.Pka=a;this.cI.resolve(a)};var P$d=function(a){return a.CV?a.CV.Fe():null},Yoe=function(a,b){a.Po.H("NSockf")?CR(a.Po,b):a.Po.addRule(["NSockf"],function(){CR(a.Po,b)})};SR.prototype.lEb=function(a){this.vB.Ty(a);Yoe(this,"jroI5d")};
SR.prototype.Pva=function(a,b){a<0||((b===void 0?0:b)?this.O?this.O=Math.max(this.O,a):(this.O=a,this.Xa.resolve()):this.V||(this.V=a,this.n1a.resolve(this.V),Yoe(this,"T8oKm")))};SR.prototype.Tg=function(){return this.Zg};var eae=function(a,b){a.Ba=b;a.hL.resolve(b)},pbe=function(a){if(!a.Ba)throw Error("Ti");return a.Ba};SR.prototype.a8=function(){return this.Pa};SR.prototype.Rp=function(){return this.Ta.promise.then(function(a){return a.hva.promise})};
SR.prototype.c4a=function(){this.Ka||(this.Ka=!0,this.qGa.resolve(),CR(this.Po,"aU7Ts"))};SR.prototype.qb=function(a){this.dispatchEvent(a)};var l9d=function(a){a.U3||(a.U3=new ehe(a.hL.promise,a.Rp(),a.Td));return a.U3};var Zoe=function(a,b,c){_.ui.call(this);this.H=a;this.environment=b;this.qb=c;this.fields=null;this.Ia=!1;this.Ka=_.jm();this.V=!1;this.Da=_.jm();this.O=_.jm();this.ua=null;this.Ba=this.Pa=!1;this.Xa=_.jm();this.W=new Set;this.Ga=new Set;this.ma=new Set;this.startTimeMs=Date.now();this.services=new vae;this.eventHandler=new _.Lg(this);this.Sa(this.eventHandler)};_.P(Zoe,_.ui);Zoe.prototype.Bva=function(a){this.O.promise.then(function(b){b.Pka||a.Oh(b)})};
var gpe=function(a,b){if(b.isDisposed())throw Error("Ui");var c=I8d(a.H,b),d=a.hb.bind(a,c);cR(b,"8.1",d);b.registerService("8.1",d);cR(b,"8.4",function(f){$oe(a,c,f)});b.registerService("8.5",function(f){ape(a,c,f)});cR(b,"8.2",function(f){bpe(a,c,f)});cR(b,"8.3",function(f){cpe(a,c,f)});wae(a.services,b);b.start();dpe(a,c,b);epe(a,c,b);var e=[];a.ua||(a.ua=_.im([a.Ka.promise,a.Da.promise]).then(function(f){return a.initialize(f)}));e.push(a.ua);_.im(e).then(function(){fpe(a,c,b)},function(f){a.Pa=
!0;TR(a,b,"2.2",{err:_.aO(f,49).Fc()},d)})},hpe=function(a){return Math.floor((Date.now()-a.startTimeMs)/1E3)},ipe=function(a,b,c){var d=c.Xo(),e=[].concat(_.Eb(Object.values(_.DA))),f=function(g){TR(a,b,"2.19",{cs:g.H})};a.eventHandler.listen(d,e,f);b.addOnDisposeCallback(function(){a.eventHandler.Nd(d,e,f)})};
Zoe.prototype.hb=function(a){var b=J8d(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){iae(d,a)}),b.dispose(),this.log(_.ku("Client %d disconnected (num clients remaining: %d)",a,_.xc(this.H.channels))),_.xc(this.H.channels)===0)){var c=function(){_.cO()&&_.ca.setTimeout(function(){self.close()})};this.Pa?c():(this.services.services.get("IS")||null).addCallback(function(d){d.MF().then(c,c)})}};
var $oe=function(a,b,c){if(!a.W.has(b)){var d=typeof c.dsc==="string"?j2d(c.dsc):c.dsc;_.J(d,24,!1);a.Ia||(a.Ia=!0,a.Ka.resolve(d.clone()));a.W.add(b);a.O.promise.then(function(e){var f=_.z(_.cr(d),37,"");e.ua[b]=f;e.Tg().Gra(_.Kj(d,_.rq,91,_.Ff(_.wg)));_.LP(d)||KSd(e,d)})}},bpe=function(a,b,c){if(!a.ma.has(b)){a.ma.add(b);var d=c.ivd;d&&a.O.promise.then(function(e){e=new T8d(e,e.Cf);e.Cj(d);e.dispose();(e=a.H.channels[b]||null)&&TR(a,e,"2.16")})}},cpe=function(a,b,c){var d=o9d();p9d(d,b);if(c=c.dsp){for(var e=
new Map,f=0;f<c.length;f++){var g=f,k=c[f];k===void 0||s9d(d,b,g)||(q9d(d,b,g),k?e.set(g,k):k===null&&r9d(d,b,g))}e.size>0&&a.O.promise.then(function(l){jpe(l,b,e);(l=a.H.channels[b]||null)&&TR(a,l,"2.17",{t:[].concat(_.Eb(e.keys()))})})}},jpe=function(a,b,c){var d=new $8d(a),e=o9d(),f=[];c.forEach(function(g,k){f.push(d.Cj(g).then(function(){}).finally(function(){r9d(e,b,k)}))});Promise.all(f).then(function(){d.dispose()})};
Zoe.prototype.iUa=function(){for(var a=[],b=_.n(Object.values(this.H.channels)),c=b.next(),d={};!c.done;d={LUa:void 0,V7a:void 0},c=b.next())d.LUa=c.value,d.V7a=_.jm(),TR(this,d.LUa,"2.12",void 0,function(e){return function(){e.LUa.dispose();e.V7a.resolve()}}(d)),a.push(d.V7a.promise);return _.im(a).then()};
Zoe.prototype.initialize=function(a){var b=this;a=a[0];_.XHd(a,this.fields);var c=this.environment===6,d,e=(d=a.IP())==null?void 0:d.XW();d=c||e?this.qb:void 0;try{o9d();var f=new SR(null,a,this.environment,d,void 0,void 0),g=f.Oo.H(106E3);Noe(f,this.iUa.bind(this));this.eventHandler.listen(f,_.th,this.Ta.bind(this));this.eventHandler.listen(f,"w8KrJc",this.Ab.bind(this));B0d(f.ZL,function(){return epe(b)});this.O.resolve(f);var k=kpe(this,f,new R$d(f,this.H,function(l){l={dt:l.dataType};var m=Object.values(b.H.channels);
m=_.n(m);for(var q=m.next();!q.done;q=m.next())TR(b,q.value,"2.15",l)},function(l){return lpe(b,l)}));g&&k.then(function(){return g&&g.Vi()});return k}catch(l){return _.hm(l)}};
var kpe=function(a,b,c){a.services.activate(c);a.services.activate(new fae(b,a.H));a.services.activate(new V$d(b,a.H,c));a.services.activate(new sae(b,a.H));a.services.activate(new X$d(b.Ld,b.VJ,b.a8().FPa,b.Rp(),b.ma.promise,b.Td,b.gX(),b.Oo,a.H));a.services.activate(new dae(b.Rp(),a.H,b.Ld));a.services.activate(new Eae(b.Rp(),a.H));return c.initialize()},fpe=function(a,b,c){var d=_.xc(a.H.channels);a.log(_.ku("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));
TR(a,c,"2.2",{id:b,clients:d,uptimeSec:hpe(a),dsp:!t9d(o9d(),b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.a5.addCallback(function(f){TR(a,c,"2.5",{id:f})});d>1&&e.cI.promise.then(function(f){return f.slb()});(a.services.services.get("IS")||null).addCallback(function(f){f.j5a().then(function(){TR(a,c,"2.14")})});ipe(a,c,e)})},lpe=function(a,b){var c={oois:b};Object.values(a.H.channels).forEach(function(d){TR(a,d,"2.18",c)})};
Zoe.prototype.Ta=function(a){a={p:a.error.yg.Fc()};var b=Object.values(this.H.channels);b=_.n(b);for(var c=b.next();!c.done;c=b.next())TR(this,c.value,"2.10",a)};Zoe.prototype.Ab=function(){var a=Object.values(this.H.channels);a=_.n(a);for(var b=a.next();!b.done;b=a.next())TR(this,b.value,"2.7")};
var dpe=function(a,b,c){a.W.has(b)||TR(a,c,"2.1",void 0,function(d){$oe(a,b,d)})},epe=function(a,b,c){if("number"===typeof b){if(!c)return _.hm(Error("Vi"));if(a.V&&a.Ga.has(b))return _.gm()}var d=c||Object.values(a.H.channels)[0];if(!d)return _.hm(Error("Wi"));var e=_.jm();d.send("1.1",void 0,function(f){ape(a,c?b:void 0,f);e.resolve()});return e.promise},TR=function(a,b,c,d,e){b.isDisposed()?a.log("Channel is already disposed, cannot call service "+c+" with payload "+JSON.stringify(d),"severe"):
o4d(b,c,d,e)},ape=function(a,b,c){_.uc(c.ac,function(d,e){_.ca[e]=d});"number"===typeof b&&a.Ga.add(b);a.V||(c.bl&&!a.Ba&&(a.Ba=!0,a.Xa.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.V=!0,a.Da.resolve())};Zoe.prototype.log=function(a,b){b=b===void 0?"info":b;this.O.promise.then(function(c){return c.Kf("sync.cacheproxy.Worker").log(a,b)})};var mpe=function(a,b){_.yR.call(this,"DU","sync.DebugUtilProxy",a);this.context=b;this.H=null};_.P(mpe,_.yR);_.h=mpe.prototype;_.h.Na=function(){return this.context.Ld.IP()};_.h.getContext=function(){return this.context};_.h.hs=function(){return _.om(this.send("5.4",[this.H],function(a,b){return _.LQ(a[0],b,_.MId)}))};_.h.gX=function(){return this.context.gX()};_.h.IW=function(a){return _.om(this.send("5.2",[a],function(b,c){return b[0]?_.LQ(b[0],c,_.Oq):null}))};
_.h.a1=function(){return _.om(this.send("5.5",[],function(a,b){return a.map(function(c){return _.LQ(c,b,_.NCd)})}))};_.h.zja=function(a,b,c){return _.om(this.send("5.8",[a,b,c],function(d,e){var f=d[0],g=d[1];return{items:d.slice(2).map(function(k){return _.LQ(k,e,_.Oq)}),rCa:f,pageToken:g}}))};_.h.YMa=function(){this.send("5.9",[])};_.h.Zma=function(){this.send("5.1",[])};_.h.QDa=function(){return _.QCd[_.ri(_.cr(this.context.Ld),8,0)]};_.h.tMa=function(){this.send("5.6",[])};
_.h.Eaa=function(){return _.om(this.send("5.7",[],function(a,b){if(a.length===0)return null;var c=a[0],d=new Date(a[1]);a=a.slice(2).map(function(e){return _.LQ(e,b,l5d)});return{traceId:new M$d(c,d),spanRecs:a}}))};_.h.oX=function(){return _.om(this.send("5.10",[],function(a){return a.length===0?null:new M$d(a[0],new Date(a[1]))}))};_.h.getState=function(){return _.om(this.send("5.12",[],function(a){return a[0]}))};_.h.nMa=function(){this.send("5.11",[])};_.h.Hn=function(a){this.send("5.13",[a])};var npe=function(a){_.yR.call(this,"ODS","sync.offline.DataServiceProxy",a);this.H=null};_.P(npe,_.yR);
npe.prototype.c9a=function(a){var b=this;if(this.H=a){var c;(c=this.Kf())==null||c.info("Querying all offline items.");this.H.A0().Yj(function(e){var f;(f=b.Kf())==null||f.info("Forwarding all offline items response, count: "+e.length);b.send("6.1",e)},function(){var e;(e=b.Kf())==null||e.info("Error fetching offline items.")});var d=function(e){var f;(f=b.Kf())==null||f.info("Forwarding offline items changes, count: "+e.length);b.send("6.2",e)};this.H.oma(d);this.addOnDisposeCallback(function(){var e;
(e=b.H)==null||e.Sua(d)})}else this.send("6.3",[])};var ope=function(a,b){xR.call(this,a,b)};_.P(ope,xR);ope.prototype.hCa=function(a,b,c){return new _.HEd(a,c)};ope.prototype.UEa=function(a){return a.pageToken||""};ope.prototype.hEa=function(a){return a.response.H(_.wg)};ope.prototype.Oka=function(){};var ppe=function(a,b,c){_.HA.call(this,a.Td,a.Xo(),b.Qj()||void 0);this.request=b;this.W=[];this.changed=!1;this.Da=c;this.ua=new ope(this.request,this.Da)};_.P(ppe,_.HA);_.h=ppe.prototype;_.h.CT=function(){this.ua.Cj().then(this.JPb.bind(this),this.handleError.bind(this))};_.h.BH=function(){return"sync.PublishedCategoriesLiveList"};_.h.getData=function(){return Z5d(new Y5d,this.W).Tb(this.getStatus())};_.h.Ls=function(){return new K5d};_.h.xl=function(){return!this.Hg()&&(!this.H||$7d(this.ua))};
_.h.JPb=function(a){this.changed=this.H=!0;this.W=a;this.dA()};_.h.dA=function(){if(this.active){var a=_.IA(this);if(this.changed||a)this.changed=!1,this.dispatchEvent(new _.sm(_.uh,this))}};_.h.yc=function(){return this.W.length};var qpe=function(a,b,c){_.HA.call(this,a.Td,a.Xo(),b.Qj()||10);this.request=b;this.W=[];this.data=[];this.changed=!1;this.ua=new _.ppb;this.suggestionSessionId=null;this.Da=c};_.P(qpe,_.HA);_.h=qpe.prototype;_.h.CT=function(){var a=this;this.Da(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.jh(_.wg);a.suggestionSessionId=_.E(b,4);a.dA()},this.handleError.bind(this))};_.h.BH=function(){return"sync.SuggestedWorkspaceItemQueryLiveList"};
_.h.getData=function(){this.W=this.data;return _.dQd(_.cQd((new _.xQ).Tb(this.getStatus()),this.data.slice(0)),this.suggestionSessionId)};_.h.Ls=function(){var a=_.EA(this.ua,this.W,this.data);this.W=this.data;var b=(new L6d).Tb(this.getStatus());a=a.map(_.ila);return _.Mj(b,2,a)};_.h.Uaa=function(){};_.h.dA=function(){var a=_.IA(this);if(this.changed||a)this.changed=!1,this.dispatchEvent(new _.sm(_.uh,this))};_.h.yc=function(){return this.data.length};var rpe=function(){_.GA.call(this,function(a){return a.getId()},h2d,function(a,b){var c;a=a==null?void 0:(c=a.clone())==null?void 0:_.nj(c,8);var d;b=b==null?void 0:(d=b.clone())==null?void 0:_.nj(d,8);return _.Rh(a,b)})};_.P(rpe,_.GA);var tpe=function(){spe||(spe=new rpe);return spe},spe;var upe=function(a,b,c){_.HA.call(this,b.Td,b.Xo());this.request=a;this.W=[];this.backups=[];this.changed=!1;this.ua=new _.hKd(_.Uj(_.cr(b.Ld),54,1E3));this.Da=new _.hKd(12E4,864E5);this.Ia=c};_.P(upe,_.HA);_.h=upe.prototype;_.h.activate=function(){_.HA.prototype.activate.call(this);this.dA()};_.h.CT=function(){_.vpe(this)};_.h.BH=function(){return"sync.SyncedBackupsQueryLiveList"};_.h.getData=function(){var a=new _.rPd;a=_.Mj(a,2,this.backups).Tb(this.getStatus());this.W=_.Aa(this.backups);return a};
_.h.Ls=function(){var a=_.EA(tpe(),this.W,this.backups),b=new i5d;a=a.map(GQd);b=_.Mj(b,2,a).Tb(this.getStatus());this.W=_.Aa(this.backups);return b};_.h.xl=function(){return!this.Hg()&&!this.H};_.vpe=function(a){var b=new _.By;a.Ia(a.request).then(function(c){a.H=!0;a.ua.reset();c=c.Bca(_.wg);L_d(tpe(),a.backups,c)&&(a.changed=!0,a.backups=c,a.Da.reset());a.dA();b.resolve();a.X$(a.Da)},function(c){a.dispatchEvent(new _.xf(c));b.reject(c);a.retry()});return b.promise};_.h=upe.prototype;
_.h.dA=function(){if(this.active){var a=_.IA(this);if(this.changed||a)this.changed=!1,this.dispatchEvent(new _.sm(_.uh,this))}};_.h.Uaa=function(){};_.h.retry=function(){this.X$(this.ua)};_.h.X$=function(a){var b=this;this.active&&(_.ca.setTimeout(function(){return void _.vpe(b)},a.ob()),_.ZF(a))};_.h.yc=function(){return this.backups.length};var wpe=function(a){this.H=a};var GZd=function(a){var b=new _.By;_.yR.call(this,"IS","sync.ItemServiceProxy",b.promise);var c=this;this.context=a;this.vGa=null;this.Mbb=this.dpb=this.uHa=this.qJa=!1;this.fS=null;this.Lta=new _.By;this.Lbb=new _.By;this.Q_=b;this.R$=this.context.R$;this.gL=new w8d(this.Q_.promise,this.context,this.R$);this.Js=new mpe(this.Q_.promise,this.context);this.fuc=new _.eQ(function(){return new npe(c.Q_.promise)});this.handler=new _.Lg(this);this.Sa(this.handler);this.handler.listen(this.context.Xo(),[].concat(_.Eb(Object.values(_.DA))),
function(d){return void c.dispatchEvent(d)})},Dpe;_.P(GZd,_.yR);
GZd.prototype.initialize=function(){var a=this;if(!this.vGa){this.vGa=this.wGa.promise;var b=this.context.Oo.H(106E3);this.vGa.then(function(){b&&b.Vi();a.CAb()},function(){});var c,d=_.OP(this.context.Ld)?"coldstart ":((c=this.context.Ld.ni())==null?0:_.NN(c))?"anonymous ":"";this.context.Kf("sync.ItemServiceProxy").info("Initializing "+d+"with client build: "+_.E(this.context.Ld,62));var e=PRd(this.context.Ld,this.Cy(),_.xP(this.context.Cf));xpe(this,e);e.H===2?(c=new Zoe(new H8d,6,{Td:this.context.Td,
iL:this.context.gX()}),gpe(c,e.O),this.Lbb.resolve(c)):HSd(this.Js);this.context.Kf("sync.ItemServiceProxy").info("Connecting to worker: "+e.endpoint);e.channel.start();Noe(this.context,function(f){return a.iUa(e.channel,f)})}return this.vGa};GZd.prototype.iUa=function(a,b){if(!a.isDisposed()&&(o4d(a,"8.1"),a.dispose(),b)){var c;if(a=(c=_.hQ(this.context.Oo,106038))!=null?c:null)a!=null&&(c=_.K(_.oQ(a),b0d,25),c||(c=new b0d,b=_.oQ(a),_.Q(b,b0d,25,c)),_.I(c,2,1)),a==null||a.Vi()}return _.gm()};
var xpe=function(a,b){var c=b.channel;b.H===0?c.registerService("2.0",function(){return{uid:a.Cy(),fds:_.xP(a.context.Cf)}}):c.registerService("1.1",function(){return ype(a,b)});b.H===2?a.Lbb.promise.then(function(){return void zpe(a,b)}):zpe(a,b);cR(c,"2.1",function(){return Ape(a,c.H)});cR(c,"2.2",function(d){typeof d.id==="number"?(a.Q_.resolve(new k8d(d.id,c,a.context.Td,d.clients,a.context.Oo,a.context.lFa())),d.dsp&&Bpe(a,c),d.ivd&&Cpe(a,c)):(d=w2d(d.err),a.wGa.reject(new _.wf("Unable to initialize dataservice.",
d)))});cR(c,"2.15",function(d){a.dispatchEvent(new d8d(d.dt))});cR(c,"2.5",function(d){a.context.Ty(d.id)});cR(c,"2.18",function(d){a.context.X7().ZQ(d.oois)});cR(c,"2.7",function(){a.qJa=!1});cR(c,"2.19",function(d){a.context.Xo().update(d.cs)});cR(c,"2.9",function(d){var e=d.logName,f=d.level;d="[CSW "+_.gFd(d.totalTimeMs)+"] "+d.msg;switch(f){case "config":a.context.Td.Kf(e).config(d);break;case "fine":a.context.Td.Kf(e).log(d,"fine",void 0);break;case "finer":a.context.Td.Kf(e).log(d,"finer",
void 0);break;case "finest":a.context.Td.Kf(e).log(d,"finest",void 0);break;case "info":a.context.Td.Kf(e).info(d);break;case "warning":case "severe":a.context.Td.Kf(e).uc(d);break;default:a.context.Td.Kf("sync.ItemServiceProxy").uc("Unknown log level: "+f),a.context.Td.Kf(e).uc(d)}});cR(c,"2.10",function(d){return void a.q8(d)});cR(c,"2.12",function(){a.Mbb=!0;Dpe(a)});cR(c,"2.14",function(){return a.Lta.resolve()});cR(c,"2.16",function(){return a.uHa=!0});cR(c,"2.17",function(d){a.context.Kf("sync.ItemServiceProxy").info("Prefetched request loaded for: "+
d.t.join(","))})},zpe=function(a,b){b.H!==1&&b.H!==2||b.channel.send("8.5",ype(a,b));var c=b.channel;o4d(c,"8.4",Ape(a,c.H));Bpe(a,b.channel);Cpe(a,b.channel)},Bpe=function(a,b){_.ca._DRIVE_dsp&&(a.context.Kf("sync.ItemServiceProxy").info("Processing prefetched requests"),o4d(b,"8.3",{dsp:_.ca._DRIVE_dsp.slice(0)}));_.ca._DRIVE_dspc=function(c){if(_.ca._DRIVE_dsp){a.context.Kf("sync.ItemServiceProxy").info("Processing async prefetched request for "+c);var d=[];d[c]=_.ca._DRIVE_dsp[c];o4d(b,"8.3",
{dsp:d})}}},Cpe=function(a,b){_.N(a.context.Ld,24,!1)&&(_.ca._DRIVE_ivd?(a.context.Kf("sync.ItemServiceProxy").info("Processing initial view data"),o4d(b,"8.2",{ivd:_.ca._DRIVE_ivd})):_.ca._DRIVE_ivd===void 0&&(_.ca._DRIVE_ivdc=function(){_.ca._DRIVE_ivd&&(a.context.Kf("sync.ItemServiceProxy").info("Processing async initial view data"),o4d(b,"8.2",{ivd:_.ca._DRIVE_ivd}))}))},ype=function(a,b){var c={};if(b.H===1){var d=new _.OOb(document);c.__SAPISID=d.get("SAPISID")||d.get("__Secure-3PAPISID");c.__APISID=
d.get("APISID")}return{ac:c,bl:_.E(a.context.Ld,62),ufds:b.V}};GZd.prototype.Cy=function(){var a=_.yj(_.yj(_.yj(this.context.Ld.clone(),44),98),91),b=new _.tBd;b.update(_.qO(_.hO(a)));b.update(String(_.JN(_.hO(a))));b.update(a.Fc());return _.iqa(b.digest())};var Ape=function(a,b){a=a.context.Ld;return{dsc:b?a.Fc():a.clone()}};_.h=GZd.prototype;_.h.q8=function(a){this.dispatchEvent(new _.xf(new _.wf(void 0,w2d(a.p))))};
_.h.query=function(a){_.UR(this,"query",0);a4d(this.context.Iq,a);this.c$();var b=x8d(this.gL,a),c;!this.dpb&&((c=a.Zk())==null?0:_.N(c,2,!1))&&(this.dpb=!0,this.handler.listen(b,_.uh,this.ztb.bind(this)));return b};_.h.ztb=function(a){a=a.currentTarget;a.getStatus()===1&&(this.Js.H=this.uHa,this.handler.Nd(a,_.uh,this.ztb.bind(this)))};
_.h.nz=function(a){_.UR(this,"findByIds",0);V2d(a);this.c$();var b=this.gL;a=new T2d(b.context.Ld,b.context.Iq,b.context.Td,b.context.a5,b.ixa.bind(b),a);zR(b,a,"4.2","4.4");return a};_.h.w1a=function(a){_.UR(this,"insertPermission",1);return _.om(this.send("3.14",[a],function(b,c){return _.LQ(b[0],c,w6d)}))};_.h.ZVa=function(a){_.UR(this,"deletePermission",1);return _.om(this.send("3.15",[a],function(b,c){return _.LQ(b[0],c,w6d)}))};
_.h.Bd=function(a){_.UR(this,"mutate",1);_.Epe(this,a);a=_.RRd(a);return _.om(this.send("3.3",[a],function(b,c){return _.LQ(b[0],c,_.rP)}))};_.h.T9=function(a){_.UR(this,"mutateWorkspace",1);a=aSd(a);return this.send("3.35",[a],function(b,c){return _.LQ(b[0],c,_.KXd)})};_.Epe=function(a,b){!a.qJa&&_.UEd(b)&&(a.qJa=!0)};_.h=GZd.prototype;
_.h.i6=function(a){_.UR(this,"bulkMutate",1);for(var b=0;b<a.length;b++)_.Epe(this,a[b]);a=_.URd(a);return _.om(this.send("3.4",[a],function(c,d){return _.k4d(c[0],d).get()}))};
_.h.rG=function(a,b){var c=this;_.UR(this,"getApps",0,function(){var e;return((e=c.context.Ld.ni())==null?0:_.NN(e))?_.Ae(a,1)===3:!0});var d=_.Ng();this.R$.create(d,a);return _.om(this.send("3.5",[a,!!b],function(e,f){f=_.LQ(e[0],f,iR);return new L4d(f,e[1],e[2])})).addCallback(function(e){var f=c.R$;var g=R4d(e);g=_.aQ(_.vKd,g||22);var k=_.aQ(_.wKd,Q4d(e));var l=e instanceof K4d||e instanceof L4d||e instanceof P4d||eSd(x2d)(e)||eSd(I2d)(e)?e.eq:null;Ioe(f,d,g,k,l);return e.response}).Mj(function(e){D8d(c.R$,
d);return e})};_.h.RE=function(a){_.UR(this,"getApp",1);return this.send("3.10",[a],function(b,c){return _.LQ(b[0],c,h5d)})};_.h.x1a=function(a){_.UR(this,"installApp",1);return _.om(this.send("3.11",[a],function(b,c){return _.LQ(b[0],c,gUd)}))};_.h.WVa=function(a){_.UR(this,"deleteApp",1);return _.om(this.send("3.12",[a],function(b,c){return _.LQ(b[0],c,gUd)}))};_.h.Bja=function(a){_.UR(this,"updateApp",1);return _.om(this.send("3.13",[a],function(b,c){return _.LQ(b[0],c,gUd)}))};
_.h.Cha=function(a){_.UR(this,"mutateUserPref",1);a=YRd(a);return this.send("3.6",[a],function(b,c){return _.LQ(b[0],c,J6d)})};_.h.rC=function(a){_.UR(this,"getRevisions",1);return _.om(this.send("3.16",[a],function(b,c){return _.LQ(b[0],c,w0d)}))};_.h.Hn=function(a){Dpe(this);this.send("3.8",[a])};_.h.Hg=function(){return!this.context.Xo().mp()};_.h.ZQ=function(a){_.UR(this,"setOfflineOptIn",1);return _.gm(this.send("3.36",[a],function(b){return!!b[0]}))};
_.h.c9a=function(a){_.UR(this,"setLocalItemService",1);this.fuc.get().c9a(a);this.ZQ(!!a)};_.h.c$=function(){var a;(a=this.context.Ld.ni())!=null&&_.NN(a)||(Dpe(this),this.send("3.9",[]))};_.h.Jha=function(){_.UR(this,"notifyInitialPageStable",0);this.send("3.41",[]);this.context.Jha();var a=_.hQ(this.context.Oo,106006);a&&this.Q_.promise.then(function(b){var c=_.K(_.oQ(a),U_d,6);if(!c){c=new U_d;var d=_.oQ(a);_.Q(d,U_d,6,c)}c=_.Ug(c,1,b.clientId);_.Ug(c,2,b.H);a.Vi()},function(){})};
_.h.nga=function(){_.UR(this,"initializeBackgroundProcesses",0);this.send("3.50",[]);this.context.nga();var a=_.hQ(this.context.Oo,106042);a&&this.Q_.promise.then(function(b){var c=_.K(_.oQ(a),W_d,30);if(!c){c=new W_d;var d=_.oQ(a);_.Q(d,W_d,30,c)}c=_.Ug(c,1,b.clientId);_.Ug(c,2,b.H);a.Vi()},function(){})};_.h.sga=function(){Dpe(this);return this.context.Xo().H!==2};_.h.JBa=function(){return this.send("3.46",[],function(a,b){return _.LQ(a[0],b,_.KJd)})};
_.h.sync=function(){_.UR(this,"sync",1);return _.gm(this.send("3.28",[this.context.Ld]))};_.h.MF=function(){this.context.Td.Kf("sync.ItemServiceProxy").info("Shutting down...");return this.context.MF(!0)};_.h.Bva=function(a){var b;((b=this.context.Ld.ni())==null?0:_.NN(b))||this.Lbb.promise.then(function(c){return void c.Bva(a)})};_.h.iab=function(a){_.UR(this,"teamDriveFindByIds",1);var b=this.gL;a=new r8d(b.context,b,a);zR(b,a,"4.10","4.12");return a};
_.h.MMa=function(a){_.UR(this,"teamDriveQuery",1);var b=this.gL;a=new q8d(b.context.Td,a,b,b.context.Ld);zR(b,a,"4.9","4.11");return a};_.h.wkb=function(a){var b=this;_.UR(this,"backupsQuery",1);if(!this.fS||this.fS.isDisposed())this.fS=new upe(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return _.LQ(d[0],e,_.rPd)})});return this.fS};_.h.XVa=function(a){_.UR(this,"deleteBackup",1);return _.om(this.send("3.22",[a],function(b,c){return _.LQ(b[0],c,j5d)}))};
_.h.epa=function(a){_.UR(this,"getAndroidBackupItems",1);return _.om(this.send("3.25",[a],function(b,c){return _.LQ(b[0],c,sUd)}))};_.h.j5a=function(){_.UR(this,"offlineDataLoaded",1);return this.Lta.promise};_.h.W5a=function(a){_.UR(this,"passthroughRequest",0);var b=_.jm();_.om(this.send("3.30",[a],function(c,d){c[0]?b.resolve(_.LQ(c[0],d,o6d)):b.reject(new _.wf(void 0,_.LQ(c[1],d,_.Gr)))})).Mj(function(c){return void b.reject(c)});return b.promise};
_.h.v$b=function(a){_.UR(this,"categoryMetadataQuery",1);return z8d(this.gL,a)};_.h.KUa=function(a){_.UR(this,"changeCategoryLinks",1);return this.send("3.42",[a],function(b,c){return _.LQ(b[0],c,I5d)})};_.h.g4=function(a){_.UR(this,"updateCategoryMetadata",1);var b=new _.By;this.send("3.39",[a],function(c,d){return c.map(function(e){return _.LQ(e,d,X4d)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new wpe(b.promise))};
_.h.fEc=function(a){var b=this;_.UR(this,"publishedCategoriesQuery",1);return new ppe(this.context,a,function(c){return _.gm(b.send("3.37",[c.request,c.pageToken],function(d,e){return new O4d(_.LQ(d[0],e,Y5d),d[1])}))})};_.h.gEc=function(a){_.UR(this,"publishedCategoryQuery",1);return this.send("3.38",[a],function(b,c){return _.LQ(b[0],c,$5d)})};_.h.OPc=function(a){_.UR(this,"workspaceFindByIdsRequest",1);var b=this.gL;a=new t8d(b.context.Td,a);zR(b,a,"4.14","4.16");return a};
_.h.xIb=function(a){_.UR(this,"workspaceQueryRequest",1);var b=this.gL;a=new v8d(b.context,a,b);zR(b,a,"4.13","4.15");return a};_.h.pLc=function(a){var b=this;_.UR(this,"suggestedWorkspaceItemQueryRequest",1);return new qpe(this.context,a,function(){return _.gm(b.send("3.40",[a],function(c,d){return _.LQ(c[0],d,_.xQ)}))})};_.h.sLc=function(a){_.UR(this,"suggestedWorkspaceQueryRequest",1);return y8d(this.gL,a)};
_.h.A_=function(a){_.UR(this,"addCacheHint",1);var b=this.context.Iq;a4d(b,a,!0);$3d(b,b.fields.slice(),a.O());this.send("3.43",[a])};_.h.lCa=function(a){_.UR(this,"createUserFeedback",1);return _.gm(this.send("3.44",[a],function(b,c){return _.LQ(b[0],c,j6d)}))};
_.h.us=function(a){var b=this;_.UR(this,"handleChanges",1,function(){return _.NP(b.context.Ld)===1});for(var c=_.n(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!d.kd())return Promise.reject(Error("Xi"));if(!_.pPd(d)&&!d.getItem())return Promise.reject(Error("Yi"))}return Promise.resolve(this.send("3.45",a))};_.h.Fkb=function(a){_.UR(this,"blockPeople",1);return this.send("3.47",[a],function(b,c){return _.LQ(b[0],c,s6d)})};
_.h.LSa=function(a){var b=this;_.UR(this,"accountAndUserSettingsRequest",1,function(){return _.MN(_.br(b.context.Ld))});return A8d(this.gL,a.clone())};_.h.Lub=function(a){_.UR(this,"homepageActivityRequest",1);var b=[].concat(_.Eb(_.ak(a,5,_.Ff())));b.sort();return B8d(this.gL,_.OBd(a.clone(),b))};_.h.O0a=function(a){_.UR(this,"homepageSuggestionsRequest",1);var b=this.gL;a=a.clone();a=new _.gpa(b.context.Td,b.context.Xo(),a);zR(b,a,"4.32","4.33");return a};
_.h.XS=function(a){_.UR(this,"generatePreflightReport",1);return this.send("3.48",[a],function(b,c){return _.LQ(b[0],c,G6d)})};_.h.CAb=function(){var a=this;if(this.context.environment===3){var b=[_.Cm(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.zwa(b).then(function(c){c?_.Am(a.CAb.bind(a),6E4):(a.Mbb=!0,Dpe(a))})}};Dpe=function(a){a.Mbb&&a.dispatchEvent(new K$d)};
_.UR=function(a,b,c,d){Dpe(a);var e;a=c===0||c===1&&!((e=a.context.Ld.ni())==null?0:_.NN(e));d=d===void 0||!!d();if(!a||!d)throw new _.$4d(b);};var Fpe=function(){var a='<div class="'+_.D("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.D("la-Y-A")+" "+_.D("kc-A")+'" data-target="reload">');return(0,_.S)(a+"Reload</button>")};_.MA({id:_.Gm,callback:function(a){var b=_.fQd(a),c=_.K(a.get(_.Df),_.xg,10);_.XHd(c,b);b=HZd(a,c);a.registerService(_.Hm,b.Js);_.jg(b,"VbxEwf",function(){_.Of(_.WA.getService(a),new _.Oz(new _.Nz(Fpe,{}),"d",{reload:function(){_.ca.window.location.reload()}},4))});return b}});
}catch(e){_._DumpException(e)}
try{
_.A("RsR2Mc");
_.Gpe=function(a,b){return _.L(a,2,b)};_.Hpe=function(a,b){return _.I(a,1,b)};_.Ipe=function(a,b){return _.Q(a,_.XQ,2,b)};_.Jpe=function(a,b){return _.Mj(a,1,b)};_.Kpe=function(a,b){return _.yk(a,1,b)};_.Lpe=function(a,b){return _.Mj(a,2,b)};_.Mpe=function(a,b){return _.Q(a,_.Se,3,b)};_.Npe=function(a,b){_.UR(a,"mutateP",1);_.Epe(a,b);b=_.RRd(b);return a.send("3.3",[b],function(c,d){return _.LQ(c[0],d,_.rP)})};
_.Ope=function(a,b){_.UR(a,"bulkMutateP",1);for(var c=0;c<b.length;c++)_.Epe(a,b[c]);b=_.URd(b);return a.send("3.4",[b],function(d,e){return _.k4d(d[0],e).get()})};

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