try{
var _F_toggles_initialize=function(a){(typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:this)._F_toggles=a||[]};_F_toggles_initialize([0x40027e1, 0x4e4e0, ]);
/*

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

 Copyright Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
/*


 Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
     http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
/*

Math.uuid.js (v1.4)
http://www.broofa.com
mailto:robert@broofa.com
Copyright (c) 2010 Robert Kieffer
Dual licensed under the MIT and GPL licenses.
*/
/*

 Copyright 2024 Google, Inc
 SPDX-License-Identifier: MIT
*/
var k,aa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,aa);else{let c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b);this.g=!0},ca=function(a){return(ba||(ba=new TextEncoder)).encode(a)},ea=function(a){n.setTimeout(function(){throw a;},0)},fa=function(a){var b=[],c=0;for(let d=0;d<a.length;d++){let e=a.charCodeAt(d);e>255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b},ha=function(a){if(a.length<=8192)return String.fromCharCode.apply(null,a);
var b="";for(let c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Array.prototype.slice.call(a,c,c+8192));return b},ia=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")},ka=function(a){var b=[],c=0;for(let d=0;d<a.length;d++){let 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},la=function(a){return/^[\s\xa0]*$/.test(a)},ma=function(a,b){return a.indexOf(b)!=-1},na=function(a,b){return a<b?-1:a>b?1:0},pa=function(){var a=n.navigator;return a&&(a=a.userAgent)?a:""},sa=function(a){if(!qa||!ra)return!1;for(let b=0;b<ra.brands.length;b++){let c=ra.brands[b].brand;if(c&&ma(c,a))return!0}return!1},ta=function(a){return ma(pa(),a)},ua=function(){return qa?!!ra&&ra.brands.length>0:!1},va=function(){return ua()?
!1:ta("Opera")},wa=function(){return ta("Firefox")||ta("FxiOS")},ya=function(){return ua()?sa("Chromium"):(ta("Chrome")||ta("CriOS"))&&!(ua()?0:ta("Edge"))||ta("Silk")},za=function(){return qa?!!ra&&!!ra.platform:!1},Aa=function(){return ta("iPhone")&&!ta("iPod")&&!ta("iPad")},Ba=function(a){return a[a.length-1]},Ca=function(a,b){var c=a.length,d=typeof a==="string"?a.split(""):a;for(--c;c>=0;--c)c in d&&b.call(void 0,d[c],c,a)},aaa=function(a,b){b=Da(a,b);return b<0?null:typeof a==="string"?a.charAt(b):
a[b]},Da=function(a,b){var c=a.length,d=typeof a==="string"?a.split(""):a;for(let e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return e;return-1},Ga=function(a,b){return Fa(a,b)>=0},baa=function(a){if(!Array.isArray(a))for(let b=a.length-1;b>=0;b--)delete a[b];a.length=0},Ha=function(a,b){Ga(a,b)||a.push(b)},Ka=function(a,b){b=Fa(a,b);var c;(c=b>=0)&&Ia(a,b);return c},Ia=function(a,b){Array.prototype.splice.call(a,b,1)},La=function(a,b){b=Da(a,b);return b>=0?(Ia(a,b),!0):!1},caa=function(a){return Array.prototype.concat.apply([],
arguments)},Na=function(a){var b=a.length;if(b>0){let c=Array(b);for(let d=0;d<b;d++)c[d]=a[d];return c}return[]},Pa=function(a,b){for(let c=1;c<arguments.length;c++){let d=arguments[c];if(Oa(d)){let e=a.length||0,f=d.length||0;a.length=e+f;for(let g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}},Sa=function(a,b,c,d){return Array.prototype.splice.apply(a,Ra(arguments,1))},Ra=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Ta=function(a,b,c){b=
b||a;var d=function(g){return g};c=c||d;for(var e=d=0,f=new Set;e<a.length;){let g=a[e++],h=c(g);f.has(h)||(f.add(h),b[d++]=g)}b.length=d},Ua=function(a,b,c){for(var d=0,e=a.length,f;d<e;){let g=d+(e-d>>>1),h;h=b(c,a[g]);h>0?d=g+1:(e=g,f=!h)}return f?d:-d-1},Va=function(a,b){if(!Oa(a)||!Oa(b)||a.length!=b.length)return!1;var c=a.length,d=daa;for(let e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0},Wa=function(a,b){return a>b?1:a<b?-1:0},daa=function(a,b){return a===b},Xa=function(a,b,c){c=Ua(a,c||
Wa,b);return c<0?(Sa(a,-(c+1),0,b),!0):!1},Ya=function(a,b,c){b=Ua(a,c||Wa,b);b>=0&&Ia(a,b)},eaa=function(a,b){var c={};Za(a,function(d,e){c[b.call(void 0,d,e,a)]=d});return c},bb=function(a,b){b===void 0&&(b=0);$a();b=ab[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var g=a[e],h=a[e+1],l=a[e+2],m=b[g>>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|l>>6];l=b[l&63];c[f++]=m+g+h+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<
4|m>>4]+l+d}return c.join("")},db=function(a,b){return b?bb(fa(a),b):n.btoa(a)},eb=function(a){return n.btoa(unescape(encodeURIComponent(a)))},faa=function(a){var b=[];fb(a,function(c){b.push(c)});return b},gaa=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):ma("=.",a[b-1])&&(c=ma("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;fb(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},fb=function(a,b){function c(e){for(;d<a.length;){let f=a.charAt(d++),g=gb[f];if(g!=null)return g;if(!la(f))throw Error("v`"+
f);}return e}$a();for(var d=0;;){let e=c(-1),f=c(0),g=c(64),h=c(64);if(h===64&&e===-1)break;b(e<<2|f>>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},$a=function(){if(!gb){gb={};var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"];for(let c=0;c<5;c++){let d=a.concat(b[c].split(""));ab[c]=d;for(let e=0;e<d.length;e++){let f=d[e];gb[f]===void 0&&(gb[f]=e)}}}},iaa=function(a){return haa[a]||""},ib=function(a){a=hb.test(a)?a.replace(hb,iaa):
a;a=atob(a);var b=new Uint8Array(a.length);for(let c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},jb=function(a){return a!=null&&a instanceof Uint8Array},kb=function(a,b){var c=a.length;if(c!==b.length)return!1;for(let d=0;d<c;d++)if(a[d]!==b[d])return!1;return!0},lb=function(a,b,c){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382[b]=c},mb=function(a){return a.__closure__error__context__984382||{}},nb=function(){var a=Error();lb(a,
"severity","incident");ea(a)},ob=function(a){a=Error(a);lb(a,"severity","warning");return a},qb=function(a,b){if(a!=null){var c;var d=(c=pb)!=null?c:pb={};c=d[a]||0;c>=b||(d[a]=c+1,nb())}},rb=function(a,b){return(b===void 0?0:b)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol()},tb=function(a,b){a[sb]|=b},ub=function(a){if(4&a)return 512&a?512:1024&a?1024:0},vb=function(a){tb(a,34);return a},wb=function(a){tb(a,8192);return a},xb=function(a){tb(a,32);return a},Bb=function(a){return a.length==
0?yb():new zb(a,Ab)},Eb=function(a){return a!=null&&a[Cb]===Db},Gb=function(a,b){return b===void 0?a.o!==Fb&&!!(2&(a.A[sb]|0)):!!(2&b)&&a.o!==Fb},Jb=function(a,b,c){if(a==null){if(!c)throw Error();}else if(typeof a==="string")a=a?new zb(a,Ab):yb();else if(a.constructor!==zb)if(jb(a))a=a.length?new zb(new Uint8Array(a),Ab):yb();else{if(!b)throw Error();a=void 0}return a},Kb=function(a,b){return!!a&&(Array.isArray(a)?a.includes(b):a.has(b))},Lb=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;
var d=a[sb]|0;if(d&1)return!0;if(!Kb(b,c))return!1;a[sb]=d|1;return!0},Mb=function(a,b){if(typeof b!=="number"||b<0||b>=a.length)throw Error();},Nb=function(a,b){if(typeof b!=="number"||b<0||b>a.length)throw Error();},Ob=function(a,b,c){var d=b&128?0:-1,e=a.length,f;if(f=!!e)f=a[e-1],f=f!=null&&typeof f==="object"&&f.constructor===Object;var g=e+(f?-1:0);for(b=b&128?1:0;b<g;b++)c(b-d,a[b]);if(f){a=a[e-1];for(let h in a)!isNaN(h)&&c(+h,a[h])}},Qb=function(a){return a&128?Pb:void 0},Tb=function(a,b){var c=
Sb;if(!b(a)){var d,e;b=(e=(d=typeof c==="function"?c():c)==null?void 0:d.concat("\n"))!=null?e:"";throw Error("y`"+b+"`"+String(a));}},Ub=function(a){a.OD=!0;return a},Vb=function(a){return Ub(function(b){return b instanceof a})},Wb=function(a){return Ub(function(b){if(!jaa(b))return!1;for(var c=q(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;if(!(d in b)){if(e.Xr===!0)continue;return!1}if(!e(b[d]))return!1}return!0})},$b=function(a){return kaa(Ub(function(b,
c){return b===void 0?!0:a(b,c)}))},kaa=function(a){a.Xr=!0;return a},ac=function(){return Ub(function(a){return Array.isArray(a)})},bc=function(a){return Ub(function(b){return laa(b)?b.every(function(c){return a(c)}):!1})},naa=function(){return maa(cc.apply(0,arguments))},maa=function(a){return Ub(function(b){if(!dc(b)||b.length!==a.length)return!1;for(let c=0;c<b.length;++c)if(!(0,a[c])(b[c]))return!1;return!0})},ec=function(){var a=cc.apply(0,arguments);return Ub(function(b){return a.some(function(c){return c(b)})})},
fc=function(a){return Ub(function(b){return!a(b)})},jc=function(a){if(hc(a)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(a))throw Error(String(a));}else if(ic(a)&&!Number.isSafeInteger(a))throw Error(String(a));return BigInt(a)},oc=function(a){var b=a>>>0;mc=b;nc=(a-b)/4294967296>>>0},pc=function(a){if(a<0){oc(-a);a=mc;var b=nc;b=~b;a?a=~a+1:b+=1;b=q([a,b]);a=b.next().value;b=b.next().value;mc=a>>>0;nc=b>>>0}else oc(a)},rc=function(a,b){var c=b*4294967296+(a>>>0);return Number.isSafeInteger(c)?c:qc(a,b)},
qc=function(a,b){b>>>=0;a>>>=0;var c;b<=2097151?c=""+(4294967296*b+a):c=""+(BigInt(b)<<BigInt(32)|BigInt(a));return c},sc=function(){var a=mc,b=nc,c;b&2147483648?c=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):c=qc(a,b);return c},tc=function(a){a.length<16?pc(Number(a)):(a=BigInt(a),mc=Number(a&BigInt(4294967295))>>>0,nc=Number(a>>BigInt(32)&BigInt(4294967295)))},uc=function(a){return[].concat(r(a))},vc=function(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b);},wc=function(a){if(typeof a!==
"number")throw Error("A`"+typeof a+"`"+a);return a},xc=function(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)},oaa=function(a){return Jb(a,!1,!1)},zc=function(a){if(typeof a!=="boolean")throw Error("B`"+yc(a)+"`"+a);return a},Ac=function(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a},Cc=function(a){switch(typeof a){case "bigint":return!0;case "number":return Bc(a);case "string":return paa.test(a);default:return!1}},
Dc=function(a){if(!Bc(a))throw ob("enum");return a|0},Ec=function(a){return a==null?a:Bc(a)?a|0:void 0},Gc=function(a){if(typeof a!=="number")throw ob("int32");if(!Bc(a))throw ob("int32");return a|0},Hc=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Bc(a)?a|0:void 0},qaa=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Bc(a)?a>>>0:void 0},Oc=function(a,b){b!=null||(b=1024);if(!Cc(a))throw ob("int64");
var c=typeof a;switch(b){case 512:switch(c){case "string":return Ic(a);case "bigint":return String(Jc(64,a));default:return Kc(a)}case 1024:switch(c){case "string":return Lc(a);case "bigint":return jc(Jc(64,a));default:return Mc(a)}case 0:switch(c){case "string":return Ic(a);case "bigint":return jc(Jc(64,a));default:return Nc(a)}default:return vc(b,"Unknown format requested type for int64")}},Pc=function(a){return a==null?a:Oc(a,void 0)},Nc=function(a){a=Qc(a);if(!Rc(a)){pc(a);var b=mc,c=nc;if(a=
c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);b=rc(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a},Sc=function(a){a=Qc(a);a>=0&&Rc(a)||(pc(a),a=rc(mc,nc));return a},Kc=function(a){a=Qc(a);Rc(a)?a=String(a):(pc(a),a=sc());return a},Tc=function(a){a=Qc(a);a>=0&&Rc(a)?a=String(a):(pc(a),a=qc(mc,nc));return a},Ic=function(a){var b=Qc(Number(a));if(Rc(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));b=a.length;(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&
a<="9223372036854775807")||(tc(a),a=sc());return a},Lc=function(a){var b=Qc(Number(a));if(Rc(b))return jc(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return jc(Jc(64,BigInt(a)))},Mc=function(a){return Rc(a)?jc(Nc(a)):jc(Kc(a))},Uc=function(a){return Rc(a)?jc(Sc(a)):jc(Tc(a))},Vc=function(a){var b=Qc(Number(a));if(Rc(b)&&b>=0)return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));a[0]==="-"?b=!1:(b=a.length,b=b<20?!0:b===20&&a<="18446744073709551615");b||(tc(a),a=qc(mc,nc));return a},
Xc=function(a){var b=Qc(Number(a));if(Rc(b)&&b>=0)return jc(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return jc(Wc(64,BigInt(a)))},Yc=function(a,b){b=b===void 0?!1:b;var c=typeof a;if(a==null)return a;if(c==="bigint")return String(Jc(64,a));if(Cc(a))return c==="string"?Ic(a):b?Kc(a):Nc(a)},Zc=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return jc(Jc(64,a));if(Cc(a))return b==="string"?Lc(a):Mc(a)},raa=function(a){var b=void 0;b!=null||(b=1024);if(!Cc(a))throw ob("uint64");
var c=typeof a;switch(b){case 512:switch(c){case "string":return Vc(a);case "bigint":return String(Wc(64,a));default:return Tc(a)}case 1024:switch(c){case "string":return Xc(a);case "bigint":return jc(Wc(64,a));default:return Uc(a)}case 0:switch(c){case "string":return Vc(a);case "bigint":return jc(Wc(64,a));default:return Sc(a)}default:return vc(b,"Unknown format requested type for int64")}},$c=function(a){return a==null?a:raa(a)},saa=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return jc(Wc(64,
a));if(Cc(a))return b==="string"?Xc(a):Uc(a)},bd=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Jc(64,a));if(Cc(a)){if(b==="string")return Ic(a);if(b==="number")return Nc(a)}},taa=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Wc(64,a));if(Cc(a)){if(b==="string")return Vc(a);if(b==="number")return Sc(a)}},cd=function(a){if(typeof a!=="string")throw Error();return a},dd=function(a){if(a!=null&&typeof a!=="string")throw Error();return a},ed=
function(a){return a==null||typeof a==="string"?a:void 0},hd=function(a,b,c,d){if(Eb(a))return a;if(!Array.isArray(a))return c?d&2?b[fd]||(b[fd]=gd(b)):new b:void 0;c=a[sb]|0;d=c|d&32|d&2;d!==c&&(a[sb]=d);return new b(a)},gd=function(a){a=new a;vb(a.A);return a},uaa=function(a,b,c){a=b?Gc(a):Hc(a);return a==null?c?0:void 0:a|0},vaa=function(a,b,c){if(b)return cd(a);var d;return(d=ed(a))!=null?d:c?"":void 0},kd=function(a){return a},ld=function(a,b){if(typeof b==="string")try{b=ib(b)}catch(c){return!1}return jb(b)&&
kb(a,b)},md=function(a){switch(a){case "bigint":case "string":case "number":return!0;default:return!1}},pd=function(a,b){var c;if(a[Cb]===Db)a=a.A,nd&&(c!=null||(c=a[nd]));else if(!Array.isArray(a))return!1;if(b[Cb]===Db)b=b.A,nd&&(c!=null||(c=b[nd]));else if(!Array.isArray(b))return!1;return od(a,b,c,2)},qd=function(a,b,c){return od(a,b,c,0)},od=function(a,b,c,d){if(a===b||a==null&&b==null)return!0;if(a instanceof Map)return rd(a,b,c);if(b instanceof Map)return rd(b,a,c);if(a==null||b==null)return!1;
if(a instanceof zb)return sd(a,b);if(b instanceof zb)return sd(b,a);if(jb(a))return ld(a,b);if(jb(b))return ld(b,a);var e=typeof a,f=typeof b;if(e!=="object"||f!=="object")return Number.isNaN(a)||Number.isNaN(b)?String(a)===String(b):md(e)&&md(f)?""+a===""+b:e==="boolean"&&f==="number"||e==="number"&&f==="boolean"?!a===!b:!1;if(a[Cb]===Db||b[Cb]===Db)return pd(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){f=a[sb]|0;var g=b[sb]|0,h=a.length,l=b.length,m=Math.max(h,l);e=(f|
g|64)&128?0:-1;var p=d===1||!!((f|g)&1);if(p)d=1;else if((f|g)&8192)return td(a,b);let Ib,Rb;if(!p&&nd){var t;c!=null||(c=(t=a[nd])!=null?t:b[nd]);c!=null&&(Ib=ud(c),Rb=vd(c))}t=h&&a[h-1];f=l&&b[l-1];t!=null&&typeof t==="object"&&t.constructor===Object||(t=null);f!=null&&typeof f==="object"&&f.constructor===Object||(f=null);h=h-e-+!!t;l=l-e-+!!f;for(g=0;g<m;g++)if(!wd(g-e,a,t,h,b,f,l,e,Ib,Rb,c,d))return!1;if(t)for(var w in t){{d=a;m=t;g=h;p=b;var A=f,M=l,da=e,ja=Ib,Ja=Rb,Ma=c;let Zb=+w;d=!Number.isFinite(Zb)||
Zb<g||Zb<M?!0:wd(Zb,d,m,g,p,A,M,da,ja,Ja,Ma,2)}if(!d)return!1}if(f)for(let Zb in f)if((w=t&&Zb in t)||(w=a,d=t,m=h,g=b,p=f,A=l,M=e,da=Ib,ja=Rb,Ja=c,Ma=+Zb,w=!Number.isFinite(Ma)||Ma<m||Ma<A?!0:wd(Ma,w,d,m,g,p,A,M,da,ja,Ja,2)),!w)return!1;return!0}if(a.constructor===Object)return qd([a],[b]);throw Error();},wd=function(a,b,c,d,e,f,g,h,l,m,p,t){b=xd(a,b,c,d,h);e=xd(a,e,f,g,h);t=t===1;if(e==null&&Lb(b,l,a)||b==null&&Lb(e,l,a))return!0;p=t?p:p==null?void 0:yd(p,a);if(m=m==null?void 0:m.has(a)){if(b==
null&&Array.isArray(e))return e.length===0;if(e==null&&Array.isArray(b))return b.length===0;if(Array.isArray(b)&&Array.isArray(e))return td(b,e)}return od(b,e,p,m||Kb(l,a)?1:0)},xd=function(a,b,c,d,e){var f;return(f=a<d?b[a+e]:void 0)!=null?f:c==null?void 0:c[a]},Ad=function(a){return a},waa=function(a,b,c,d,e,f){a=hd(a,d,c,f);e&&(a=Bd(a));return a},xaa=function(a,b,c){if(a.size!=b.size)return!1;var d=!0;a.forEach(function(e,f){qd(e,b.get(f),c==null?void 0:yd(c,2))||(d=!1)});return d},Cd=function(a,
b){if(!Array.isArray(a)||!Array.isArray(b))return 0;a=""+a[0];b=""+b[0];return a===b?0:a<b?-1:1},yaa=function(a,b,c){if(b==null)return a.size===0;if(!Array.isArray(b)||a.size>b.length)return!1;b=uc(b);Array.prototype.sort.call(b,Cd);var d=0,e=void 0;for(let f=b.length-1;f>=0;f--){let g=b[f];if(!g||!Array.isArray(g)||g.length!==2)return!1;let h=g[0];if(h!==e){if(!qd(a.get(h),g[1],c==null?void 0:yd(c,2)))return!1;e=h;d++}}return d===a.size},td=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return!1;
a=uc(a);b=uc(b);Array.prototype.sort.call(a,Cd);Array.prototype.sort.call(b,Cd);var c=a.length,d=b.length;if(c===0&&d===0)return!0;for(var e=0,f=0;e<c&&f<d;){let g,h=a[e];if(!Array.isArray(h))return!1;let l=h[0];for(;e<c-1&&qd((g=a[e+1])[0],l);)e++,h=g;let m,p=b[f];if(!Array.isArray(p))return!1;let t=p[0];for(;f<d-1&&qd((m=b[f+1])[0],t);)f++,p=m;if(!qd(l,t)||!qd(h[1],p[1]))return!1;e++;f++}return e>=c&&f>=d},zaa=function(a){return[a,this.get(a)]},Fd=function(){return Dd||(Dd=new Ed(vb([]),void 0,
void 0,void 0,Aaa))},Id=function(a){var b=Gd(Hd);return b?a[b]:void 0},Caa=function(a,b){b<100||qb(Baa,1)},Nd=function(a,b,c,d){var e=d!==void 0;d=!!d;var f=Gd(Hd),g;!e&&f&&(g=a[f])&&Jd(g,Caa);f=[];var h=a.length;g=4294967295;var l=!1,m=!!(b&64),p=m?b&128?0:-1:void 0;if(!(b&1)){var t=h&&a[h-1];t!=null&&typeof t==="object"&&t.constructor===Object?(h--,g=h):t=void 0;if(m&&!(b&128)&&!e){l=!0;var w;g=((w=Ld)!=null?w:kd)(g-p,p,a,t,void 0)+p}}b=void 0;for(w=0;w<h;w++){let M=a[w];if(M!=null&&(M=c(M,d))!=
null)if(m&&w>=g){let da=w-p;var A=void 0;((A=b)!=null?A:b={})[da]=M}else f[w]=M}if(t)for(let M in t){A=t[M];if(A==null||(A=c(A,d))==null)continue;h=+M;let da;if(m&&!Number.isNaN(h)&&(da=h+p)<g)f[da]=A;else{let ja;((ja=b)!=null?ja:b={})[M]=A}}b&&(l?f.push(b):f[g]=b);e&&Gd(Hd)&&(a=Id(a))&&a instanceof Md&&(f[Hd]=Daa(a));return f},Eaa=function(a){a[0]=Od(a[0]);a[1]=Od(a[1]);return a},Od=function(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return Rd(a)?Number(a):""+
a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){let b=a[sb]|0;return a.length===0&&b&1?void 0:Nd(a,b,Od)}if(Eb(a))return Sd(a);if(a instanceof zb)return Td(a);if(a instanceof Ed)return a=a.size!==0?Ud(a,Eaa):void 0,a;return}return a},Vd=function(a,b){if(b){Ld=b==null||b===kd||b[Faa]!==Gaa?kd:b;try{return Sd(a)}finally{Ld=void 0}}return Sd(a)},Sd=function(a){a=a.A;return Nd(a,a[sb]|0,Od)},Wd=function(a){if(!Array.isArray(a))throw Error();if(Object.isFrozen(a)||Object.isSealed(a)||
!Object.isExtensible(a))throw Error();return a},Zd=function(a){switch(typeof a){case "boolean":return Xd||(Xd=[0,void 0,!0]);case "number":return a>0?void 0:a===0?Yd||(Yd=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}},ae=function(a,b){return $d(a,b[0],b[1])},u=function(a,b,c){return $d(a,b,c,2048)},$d=function(a,b,c,d){d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("D");e=a[sb]|0;if(ce&&
1&e)throw Error("E");2048&e&&!(2&e)&&Haa();if(e&256)throw Error("F");if(e&64)return(e|d)!==e&&(a[sb]=e|d),a;if(c&&(e|=128,c!==a[0]))throw Error("G");a:{c=a;e|=64;var f=c.length;if(f){var g=f-1;let l=c[g];if(l!=null&&typeof l==="object"&&l.constructor===Object){b=e&128?0:-1;g-=b;if(g>=1024)throw Error("I");for(var h in l)if(f=+h,f<g)c[f+b]=l[h],delete l[h];else break;e=e&-16760833|(g&1023)<<14;break a}}if(b){h=Math.max(b,f-(e&128?0:-1));if(h>1024)throw Error("J");e=e&-16760833|(h&1023)<<14}}}a[sb]=
e|64|d;return a},Haa=function(){if(ce)throw Error("H");qb(Iaa,5)},Jaa=function(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[sb]|0;return a.length===0&&c&1?void 0:de(a,c,b)}if(Eb(a))return ee(a);if(a instanceof Ed){b=a.ie;if(b&2)return a;if(!a.size)return;c=vb(Ud(a));if(a.jf)for(a=0;a<c.length;a++){let d=c[a],e=d[1];e==null||typeof e!=="object"?e=void 0:Eb(e)?e=ee(e):Array.isArray(e)?e=de(e,e[sb]|0,!!(b&32)):e=void 0;d[1]=e}return c}if(a instanceof zb)return a},de=function(a,b,
c){if(b&2)return a;!c||4096&b||16&b?a=fe(a,b,!1,c&&!(b&16)):(tb(a,34),b&4&&Object.freeze(a));return a},ge=function(a,b,c){a=new a.constructor(b);c&&(a.o=Fb);a.H=Fb;return a},ee=function(a){var b=a.A,c=b[sb]|0;return Gb(a,c)?a:he(a,b,c)?ge(a,b):fe(b,c)},fe=function(a,b,c,d){d!=null||(d=!!(34&b));a=Nd(a,b,Jaa,d);d=32;c&&(d|=2);b=b&16769217|d;a[sb]=b;return a},Bd=function(a){var b=a.A,c=b[sb]|0;return Gb(a,c)?he(a,b,c)?ge(a,b,!0):new a.constructor(fe(b,c,!1)):a},ie=function(a){var b=a.A,c=b[sb]|0;return Gb(a,
c)?a:he(a,b,c)?ge(a,b):new a.constructor(fe(b,c,!0))},ke=function(a){if(a.o!==Fb)return!1;var b=a.A;b=fe(b,b[sb]|0);tb(b,2048);a.A=b;a.o=void 0;a.H=void 0;return!0},le=function(a){if(!ke(a)&&Gb(a,a.A[sb]|0))throw Error();},ne=function(a,b){b===void 0&&(b=a[sb]|0);b&32&&!(b&4096)&&(a[sb]=b|4096)},he=function(a,b,c){return c&2?!0:c&32&&!(c&4096)?(b[sb]=c|2,a.o=Fb,!0):!1},oe=function(a,b,c,d,e){var f=c+(e?0:-1),g=a.length-1;if(g>=1+(e?0:-1)&&f>=g){let h=a[g];if(h!=null&&typeof h==="object"&&h.constructor===
Object)return h[c]=d,b}if(f<=g)return a[f]=d,b;if(d!==void 0){let h;g=((h=b)!=null?h:b=a[sb]|0)>>14&1023||536870912;c>=g?d!=null&&(f={},a[g+(e?0:-1)]=(f[c]=d,f)):a[f]=d}return b},ve=function(a,b,c,d,e,f,g){var h=a.A,l=h[sb]|0;d=Gb(a,l)?1:d;e=!!e||d===3;d===2&&ke(a)&&(h=a.A,l=h[sb]|0);var m=pe(h,b,g),p=m===qe?7:m[sb]|0,t=re(p,l);var w=t;4&w?f==null?a=!1:(!e&&f===0&&(512&w||1024&w)&&(a.constructor[se]=(a.constructor[se]|0)+1)<5&&nb(),a=f===0?!1:!(f&w)):a=!0;if(a){4&t&&(m=uc(m),p=0,t=te(t,l),l=oe(h,
l,b,m,g));let A=w=0;for(;w<m.length;w++){let M=c(m[w]);M!=null&&(m[A++]=M)}A<w&&(m.length=A);c=(t|4)&-513;t=c&=-1025;f&&(t|=f);t&=-4097}t!==p&&(m[sb]=t,2&t&&Object.freeze(m));return m=ue(m,t,h,l,b,g,d,a,e)},ue=function(a,b,c,d,e,f,g,h,l){var m=b;g===1||(g!==4?0:2&b||!(16&b)&&32&d)?we(b)||(b|=!a.length||h&&!(4096&b)||32&d&&!(4096&b||16&b)?2:256,b!==m&&(a[sb]=b),Object.freeze(a)):(g===2&&we(b)&&(a=uc(a),m=0,b=te(b,d),d=oe(c,d,e,a,f)),we(b)||(l||(b|=16),b!==m&&(a[sb]=b)));2&b||!(4096&b||16&b)||ne(c,
d);return a},pe=function(a,b,c){a=xe(a,b,c);return Array.isArray(a)?a:qe},re=function(a,b){2&b&&(a|=2);return a|1},we=function(a){return!!(2&a)&&!!(4&a)||!!(256&a)},Be=function(a){return Jb(a,!0,!0)},Ce=function(a){a=uc(a);for(let b=0;b<a.length;b++){let c=a[b]=uc(a[b]);Array.isArray(c[1])&&(c[1]=vb(c[1]))}return wb(a)},De=function(a,b,c,d,e,f,g){!d&&ke(a)&&(b=a.A,c=b[sb]|0);var h=xe(b,e);a=!1;if(h==null){if(d)return Fd();h=[]}else if(h.constructor===Ed)if(h.ie&2&&!d)h=Ud(h);else return h;else Array.isArray(h)?
a=!!((h[sb]|0)&2):h=[];if(d){if(!h.length)return Fd();a||(a=!0,vb(h))}else a&&(a=!1,wb(h),h=Ce(h));!a&&c&32&&xb(h);d=new Ed(h,f,g,void 0);c=oe(b,c,e,d);a||ne(b,c);return d},Ee=function(a,b,c){var d=a.A,e=d[sb]|0;var f=Gb(a,e);a=De(a,d,e,f,b,c,vaa);!f&&c&&(a.ir=!0);return a},Kaa=function(a,b){this.set(b,a)},Fe=function(a,b,c,d){le(a);var e=a.A,f=e[sb]|0;if(c==null)return oe(e,f,b),a;var g=c===qe?7:c[sb]|0,h=g,l=we(g),m=l||Object.isFrozen(c);l||(g=0);m||(c=uc(c),h=0,g=te(g,f),m=!1);g|=5;var p;l=(p=
ub(g))!=null?p:1024;g|=l;for(p=0;p<c.length;p++){let t=c[p],w=d(t,l);Object.is(t,w)||(m&&(c=uc(c),h=0,g=te(g,f),m=!1),c[p]=w)}g!==h&&(m&&(c=uc(c),g=te(g,f)),c[sb]=g);oe(e,f,b,c);return a},Ge=function(a,b,c,d){le(a);var e=a.A;oe(e,e[sb]|0,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a},Ie=function(a,b,c,d,e){return He(a,b,c,d,void 0,e,void 0,void 0,!0)},Je=function(a,b,c){if(b&2)throw Error();var d=Qb(b),e=pe(a,c,d),f=e===qe?7:e[sb]|0,g=re(f,b);if(2&g||we(g)||16&g)g===f||we(g)||(e[sb]=g),e=uc(e),
f=0,g=te(g,b),oe(a,b,c,e,d);g&=-13;g!==f&&(e[sb]=g);return e},Le=function(a){var b;return(b=a[Ke])!=null?b:a[Ke]=new Map},Ne=function(a,b,c,d,e){var f=Le(a),g=Me(f,a,b,c,e);g!==d&&(g&&(b=oe(a,b,g,void 0,e)),f.set(c,d));return b},Me=function(a,b,c,d,e){var f=a.get(d);if(f!=null)return f;f=0;for(let g=0;g<d.length;g++){let h=d[g];xe(b,h,e)!=null&&(f!==0&&(c=oe(b,c,f,void 0,e)),f=h)}a.set(d,f);return f},Oe=function(a,b,c,d,e){var f=!1;d=xe(a,d,e,function(g){var h=hd(g,c,!1,b);f=h!==g&&h!=null;return h});
if(d!=null)return f&&!Gb(d)&&ne(a,b),d},Pe=function(a,b,c,d,e,f,g,h,l){var m=Gb(a,c);f=m?1:f;h=!!h||f===3;m=l&&!m;(f===2||m)&&ke(a)&&(b=a.A,c=b[sb]|0);a=pe(b,e,g);var p=a===qe?7:a[sb]|0,t=re(p,c);if(l=!(4&t)){var w=a,A=c;let M=!!(2&t);M&&(A|=2);let da=!M,ja=!0,Ja=0,Ma=0;for(;Ja<w.length;Ja++){let Ib=hd(w[Ja],d,!1,A);if(Ib instanceof d){if(!M){let Rb=Gb(Ib);da&&(da=!Rb);ja&&(ja=Rb)}w[Ma++]=Ib}}Ma<Ja&&(w.length=Ma);t|=4;t=ja?t&-4097:t|4096;t=da?t|8:t&-9}t!==p&&(a[sb]=t,2&t&&Object.freeze(a));if(m&&
!(8&t||!a.length&&(f===1||(f!==4?0:2&t||!(16&t)&&32&c)))){we(t)&&(a=uc(a),t=te(t,c),c=oe(b,c,e,a,g));d=a;m=t;for(p=0;p<d.length;p++)w=d[p],t=Bd(w),w!==t&&(d[p]=t);m|=8;t=m=d.length?m|4096:m&-4097;a[sb]=t}return a=ue(a,t,b,c,e,g,f,l,h)},Qe=function(a){a==null&&(a=void 0);return a},te=function(a,b){return a=(2&b?a|2:a&-3)&-273},He=function(a,b,c,d,e,f,g,h,l,m){le(a);b=ve(a,b,f,2,!0,void 0,g);var p;f=(p=ub(b===qe?7:b[sb]|0))!=null?p:1024;if(l)if(Array.isArray(d))for(e=d.length,h=0;h<e;h++)b.push(c(d[h],
f));else for(d=q(d),e=d.next();!e.done;e=d.next())b.push(c(e.value,f));else h&&m?(e!=null||(e=b.length-1),Mb(b,e),b.splice(e,h)):(h&&Nb(b,e),e!=void 0?b.splice(e,h,c(d,f)):b.push(c(d,f)));return a},Re=function(a,b,c,d,e,f,g){le(a);var h=a.A;a=Pe(a,h,h[sb]|0,c,b,2,void 0,!0);if(f&&g)e!=null||(e=a.length-1),Mb(a,e),a.splice(e,f),a.length||(a[sb]&=-4097);else return f?Nb(a,e):d=d!=null?d:new c,e!=void 0?a.splice(e,f,d):a.push(d),e=c=a===qe?7:a[sb]|0,(f=Gb(d))?(c&=-9,a.length===1&&(c&=-4097)):c|=4096,
c!==e&&(a[sb]=c),f||ne(h),d},Laa=function(a){return Yc(a,!0)},Xe=function(a,b){if(typeof a==="string")return new Se(ib(a),b);if(Array.isArray(a))return new Se(new Uint8Array(a),b);if(a.constructor===Uint8Array)return new Se(a,!1);if(a.constructor===ArrayBuffer)return a=new Uint8Array(a),new Se(a,!1);if(a.constructor===zb)return b=Te(a)||new Uint8Array(0),new Se(b,!0,a);if(a instanceof Uint8Array)return a=a.constructor===Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),new Se(a,!1);
throw Error();},ef=function(a,b,c){if(typeof BigInt64Array!=="undefined")return Ye||(Ye=new BigInt64Array(1),Ze=new Uint32Array(Ye.buffer),Ye[0]=BigInt(1),$e=Ze[0]===1),Ye[0]=a,a=$e?0:1,new b(Ze[a],Ze[1-a]);af||(bf=BigInt(Number.MIN_SAFE_INTEGER),cf=BigInt(Number.MAX_SAFE_INTEGER),df=BigInt(4294967295),af=BigInt(32));if(a>=bf&&a<=cf)return c(Number(a));a=BigInt.asUintN(64,a);return new b(Number(a&df),Number(a>>af))},ff=function(){var a=function(){throw Error();};Object.setPrototypeOf(a,a.prototype);
return a},hf=function(){var a;return(a=gf)!=null?a:gf=1},kf=function(a,b){var c;return(c=a[jf])!=null?c:a[jf]=b(a)},lf=function(a){var b=1,c=a.length;for(var d=a[c-1];d==="="||d===".";d=a[--c-1]);d=c-4;for(var e=0;e<d;)b=a.charCodeAt(e)+31*b|0,b=a.charCodeAt(e+1)+31*b|0,b=a.charCodeAt(e+2)+31*b|0,b=a.charCodeAt(e+3)+31*b|0,e+=4;for(;e<c;)b=a.charCodeAt(e++)+31*b|0;return b},nf=function(a){var b=0,c=a.length;for(let d=0;d<c;d++){let e=a[d];if(d===c-1&&e!=null&&typeof e==="object"&&e.constructor===
Object)for(let f in e)!Number.isNaN(+f)&&(b=b+mf(e[f])|0);else b=b+mf(e)|0}return b*17|0},Maa=function(a){return lf(Td(a))},of=function(a){return nf(a.A)},pf=function(a){return nf([].concat(r(a.entries())))},mf=function(a){if(a==null)return 0;switch(typeof a){case "boolean":return a?Naa:Oaa;case "string":return lf(a);case "object":if(Array.isArray(a))return nf(a);if(a[Cb]===Db)return Gb(a)?kf(a,of):of(a);if(a&&typeof a==="object"&&a.ns===qf)return a.ie&2?kf(a,pf):pf(a);if(a instanceof zb)return kf(a,
Maa)}return lf(String(a))},rf=function(a,b){if(b==null)return new a;b=Wd(b);return new a(xb(b))},Paa=function(a,b){b==null?(a=a.constructor,a=a[fd]||(a[fd]=gd(a))):a=new a.constructor(vb(Wd(b)));return a},uf=function(a,b){var c=c===void 0?sf:c;return new tf(a,b,!1,c)},xf=function(a,b,c,d,e){vf(a,c,wf(b,d),e)},Af=function(a,b,c,d,e){var f=e[a];if(f)return f;b=b?b():{};b.pn=e;b.ve=Zd(e[0]);var g=e[1];f=1;g&&g.constructor===Object&&(b.extensions=g,g=e[++f],typeof g==="function"&&(b.xo=!0,yf!=null||(yf=
g),zf!=null||(zf=e[f+1]),g=e[f+=2]));for(var h={};g&&Array.isArray(g)&&g.length&&typeof g[0]==="number"&&g[0]>0;){for(var l=0;l<g.length;l++)h[g[l]]=g;g=e[++f]}for(l=1;g!==void 0;){typeof g==="number"&&(l+=g,g=e[++f]);let t;var m=void 0;g instanceof tf?t=g:(t=Qaa,f--);let w;if((w=t)==null?0:w.o){g=e[++f];m=e;var p=f;typeof g==="function"&&(g=g(),m[p]=g);m=g}g=e[++f];p=l+1;typeof g==="number"&&g<0&&(p-=g,g=e[++f]);for(;l<p;l++){let A=h[l];m?d(b,l,t,m,A):c(b,l,t,A)}}return e[a]=b},Bf=function(a){return Array.isArray(a)?
a[0]instanceof tf?a:[Raa,a]:[a,void 0]},wf=function(a,b){if(a instanceof v)return a.A;if(Array.isArray(a))return ae(a,b)},Saa=function(){return new Cf(Zd(0))},Taa=function(a,b,c){Df(a,b,!!c.pk)},Uaa=function(a,b,c,d){Df(a,b,!!c.pk,d)},Df=function(a,b,c,d){if(d){let f=d[Ef];var e=f?f.ve:Zd(d[0]);a[b]=f!=null?f:d}if(e&&e===Xd){let f;((f=a.Fl)!=null?f:a.Fl=new Set).add(b)}else if(c){let f;((f=a.Sg)!=null?f:a.Sg=new Set).add(b)}},Hf=function(a){var b=a[Ef];if(b)return b;b=Af(Ef,Saa,Taa,Uaa,a);var c,d;
if(!(b.extensions||((c=b.Sg)==null?0:c.size)||((d=b.Fl)==null?0:d.size))){c=!0;for(var e in b)isNaN(e)||(c=!1);if(c){if(Zd(a[0])===Xd)if(Ff)e=Ff;else{var f=new Cf(Zd(!0));f.ve=Zd(!0);e=Ff=f}else e=(f=Gf)!=null?f:Gf=new Cf(Zd(0));return a[Ef]=e}b.Zs=!0}return b},Jf=function(){var a;return(a=If)!=null?a:If=new Set},Lf=function(a){return Af(Kf,void 0,Vaa,Waa,a)},Vaa=function(a,b,c,d){var e=c.g;a[b]=d?function(f,g,h){return e(f,g,h,d)}:e},Waa=function(a,b,c,d,e){var f=c.g,g,h;a[b]=function(l,m,p){return f(l,
m,p,h||(h=Lf(d).ve),g||(g=Mf(d)),e)}},Mf=function(a){var b=a[Of];if(b!=null)return b;var c=Lf(a);b=c.xo?function(d,e){return yf(d,e,c)}:function(d,e){a:{Pf();try{for(;Qf(e)&&e.j!=4;){let M=e.o,da=c[M];if(da==null){let ja=c.extensions;if(ja){let Ja=ja[M];if(Ja){let Ma=Xaa(Ja);Ma!=null&&(da=c[M]=Ma)}}}if(da==null||!da(e,d,M)){var f=e;let ja=f.B;Rf(f);if(f.Vk)var g=void 0;else{let Ja=f.g.g-ja;f.g.g=ja;g=Sf(f.g,Ja)}var h=f=void 0,l=void 0,m=d,p=M,t=g;t&&((f=(h=(l=m[Hd])!=null?l:m[Hd]=new Md)[p])!=null?
f:h[p]=[]).push(t)}}let A=Id(d);A&&(A.gm=c.pn[Tf]);var w=!0;break a}catch(A){if(A instanceof RangeError)throw new SyntaxError;throw A;}finally{Uf>0&&Uf--}w=void 0}return w};a[Of]=b;a[Tf]=Yaa.bind(a);return b},Yaa=function(a,b,c,d){var e=this[Kf],f=this[Of],g=ae(void 0,e.ve),h=Id(a);if(h){var l=!1,m=e.extensions;if(m){e=function(p,t,w){if(w.length!==0)if(m[t])for(p=q(w),t=p.next();!t.done;t=p.next()){t=Vf(t.value);try{l=!0,f(g,t)}finally{Wf(t)}}else d==null||d(a,t,w)};if(b==null)Jd(h,e);else if(h!=
null){let p=h[b];p&&e(h,b,p)}if(l){let p=a[sb]|0;if(p&2&&p&2048&&(c==null||!c.st))throw Error();let t=Qb(p),w=function(A,M){if(xe(a,A,t)!=null)switch(c==null?void 0:c.jE){case 1:return;default:throw Error();}M!=null&&(p=oe(a,p,A,M,t));delete h[A]};b==null?Ob(g,g[sb]|0,function(A,M){w(A,M)}):w(b,xe(g,b,t))}}}},Xaa=function(a){a=Bf(a);var b=a[0].g;if(a=a[1]){let c=Mf(a),d=Lf(a).ve;return function(e,f,g){return b(e,f,g,d,c)}}return b},Xf=function(a){return Af(Zaa,void 0,$aa,aba,a)},$aa=function(a,b,
c){a[b]=c.j},aba=function(a,b,c,d){var e,f,g=c.j;a[b]=function(h,l,m){return g(h,l,m,f||(f=Xf(d).ve),e||(e=Yf(d)))}},Yf=function(a){var b=a[Zf];if(!b){let c=Xf(a);b=function(d,e){return $f(d,e,c)};a[Zf]=b}return b},$f=function(a,b,c){Ob(a,a[sb]|0,function(d,e){if(e!=null){var f=bba(c,d);f?f(b,e,d):d<500||qb(ag,3)}});(a=Id(a))&&Jd(a,function(d,e,f){bg(b,b.g.end());for(d=0;d<f.length;d++)bg(b,Te(f[d])||new Uint8Array(0))})},bba=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=Bf(c);
var d=c[0].j;if(c=c[1]){let e=Yf(c),f=Xf(c).ve;c=a.xo?zf(f,e):function(g,h,l){return d(g,h,l,f,e)}}else c=d;return a[b]=c}},cg=function(a,b,c){if(Array.isArray(b)){var d=b[sb]|0;if(d&4)return b;for(var e=0,f=0;e<b.length;e++){let g=a(b[e]);g!=null&&(b[f++]=g)}f<e&&(b.length=f);a=d|1;c&&(a=(a|4)&-1537);a!==d&&(b[sb]=a);c&&a&2&&Object.freeze(b);return b}},dg=function(a,b){var c=b[a];if(c){var d=c;if(Array.isArray(d)&&d.length){var e=d[0],f=Zd(e);f!=null&&f!==e&&(d[0]=f);d=f!=null}else d=!1;d&&(b[a]=
c=Hf(c));return c}},fg=function(a,b,c){var d=dg(a,b);if(d){if(c instanceof Ed){let g=dg(2,d);if(!g)return;for(var e=q(c),f=e.next();!f.done;f=e.next())f=q(f.value),f.next(),f=f.next().value,eg(f.A,g)}if(ud(b).has(a)||vd(b).has(a)){if(Array.isArray(c))for(a=0;a<c.length;a++){b=c[a];if(b instanceof v)b=b.A;else if(!Array.isArray(b))throw Error();eg(b,d)}}else{if(c instanceof v)c=c.A;else if(!Array.isArray(c))throw Error();eg(c,d)}}},eg=function(a,b){if(b!==Gf&&b!==Ff){b.Zs||(a[gg]=b);var c=a.length,
d=b.ve[1]?0:-1;for(let e=0;e<a.length;e++){let f=a[e];if(f&&typeof f==="object")if(e===c-1&&f!=null&&typeof f==="object"&&f.constructor===Object)for(let g in f){let h=+g;if(Number.isNaN(h))continue;let l=f[g];l&&typeof l==="object"&&fg(h,b,l)}else fg(e-d,b,f)}}},cba=function(a){var b=a[hg];if(!b){let c=Hf(a);b=function(d){return eg(d,c)};a[hg]=b}return b},ig=function(a,b,c){return new tf(a,b,!1,c)},kg=function(a,b,c){return new tf(a,b,jg,c)},lg=function(a,b,c){oe(a,a[sb]|0,b,c,Qb(a[sb]|0))},og=function(a,
b,c){b=bd(b);if(b!=null){switch(typeof b){case "string":mg(b)}ng(a,c,b)}},pg=function(a,b,c){b=cg(bd,b,!1);if(b!=null)for(let d=0;d<b.length;d++)ng(a,c,b[d])},sg=function(a,b,c){b=Hc(b);b!=null&&b!=null&&(qg(a,c,0),rg(a.g,b))},tg=function(a,b,c){b=Ac(b);b!=null&&(qg(a,c,0),a.g.g.push(b?1:0))},vg=function(a,b,c){b=ed(b);b!=null&&ug(a,c,ca(b))},yg=function(a,b,c,d,e){vf(a,c,wf(b,d),e)},zg=function(a,b,c){b=b==null||typeof b=="string"||b instanceof zb?b:void 0;b!=null&&ug(a,c,Xe(b,!0).buffer)},Bg=function(a,
b,c){if(a.j!==0)return!1;lg(b,c,Ag(a.g));return!0},Dg=function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Je(b,b[sb]|0,c);a.j==2?Cg(a,dba,b):b.push(Ag(a.g));return!0},eba=function(a,b,c){if(a.j!==2)return!1;a=Eg(a);lg(b,c,a===yb()?void 0:a);return!0},Gg=function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Je(b,b[sb]|0,c);a.j==2?Cg(a,fba,b):b.push(Fg(a.g));return!0},Hg=function(a,b,c){if(x(a,1).split("/").pop()!=c)return null;c=typeof b==="function"?b:b.constructor;var d=a.A,e=d[sb]|0;b=xe(d,2);ke(a)&&(d=a.A,
e=d[sb]|0);a=d;if(b!=null&&!Array.isArray(b)&&!Eb(b))throw Error("O`"+yc(b));d=hd(b,c,!0,e);if(!(d instanceof c))throw Error("P`"+d.constructor.displayName+"`"+c.displayName);(c=!!(2&e))||(d=Bd(d));b!==d&&(oe(a,e,2,d),c||ne(a));return d},Ig=function(a){return function(){return a[fd]||(a[fd]=gd(a))}},Kg=function(a){return function(b){return Jg(b,a)}},Lg=function(a){return function(b){cba(a)(b.A)}},Mg=function(a){return Ub(function(b){return b instanceof a&&!Gb(b)})},Ng=function(a){return function(b){b=
JSON.parse(b);if(!Array.isArray(b))throw Error("K`"+yc(b)+"`"+b);vb(b);return new a(b)}},Pg=function(a){return function(b){return Og(a,b)}},gba=function(a){return Qg[a]||(Qg[a]=new Rg(a,a<0?-1:0))},Tg=function(a){if(a!=null)return Sg(a)},Ug=function(a){return a==null?null:Sg(a)},Sg=function(a){return Rd(a)?Number(a):String(a)},Vg=function(a,b){b=b===void 0?window:b;b=b===void 0?window:b;return(b=b.WIZ_global_data)&&a in b?b[a]:null},Yg=function(){return Wg=Wg||new Xg},Zg=function(a){switch(a){case 200:return 0;
case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}},hba=function(a){switch(a){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";case 16:return"UNAUTHENTICATED";
case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS";default:return""}},$g=function(a){a&&typeof a.dispose=="function"&&a.dispose()},ah=function(a){for(let b=0,c=arguments.length;b<c;++b){let d=arguments[b];Oa(d)?ah.apply(null,d):$g(d)}},bh=function(){this.ba=this.ba;this.N=this.N},ch=function(a){this.id=a},eh=function(a,
b){dh.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.g=null;a&&this.init(a,b)},jba=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.pa=e;this.key=++iba;this.di=
this.Ui=!1},fh=function(a,b,c){for(let d in a)b.call(c,a[d],d,a)},jh=function(a,b,c){var d={};for(let e in a)d[e]=b.call(c,a[e],e,a);return d},kh=function(a,b){for(let c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},lh=function(a){var b=0;for(let c in a)b++;return b},mh=function(a){var b=[],c=0;for(let d in a)b[c++]=a[d];return b},kba=function(a){var b=nh;for(let c in b)if(a.call(void 0,b[c],c,b))return c},oh=function(a){for(let b in a)return!1;return!0},lba=function(a){for(let b in a)delete a[b]},
ph=function(a,b){var c;(c=b in a)&&delete a[b];return c},qh=function(a){var b={};for(let c in a)b[c]=a[c];return b},rh=function(a){var b={};for(let c in a)b[a[c]]=c;return b},th=function(a,b){for(let e=1;e<arguments.length;e++){var c=arguments[e];for(d in c)a[d]=c[d];for(let f=0;f<sh.length;f++){var d=sh[f];Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}},uh=function(a){this.src=a;this.g={};this.j=0},vh=function(){bh.call(this);this.B=new uh(this);this.Od=this;this.eb=null},wh=function(){},
xh=function(){},mba=function(){var a=null;if(!yh)return a;try{let b=function(c){return c};a=yh.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(b){}return a},Ah=function(){zh===void 0&&(zh=mba());return zh},Ch=function(a){var b=Ah();a=b?b.createScriptURL(a):a;return new Bh(a)},Dh=function(a){if(a instanceof Bh)return a.g;throw Error("aa");},Eh=function(a){return a.toString().indexOf("`")===-1},Fh=function(a){a=a===void 0?document:a;var b,c;a=(c=(b=a).querySelector)==
null?void 0:c.call(b,"script[nonce]");return a==null?"":a.nonce||a.getAttribute("nonce")||""},Hh=function(a){var b=Ah();a=b?b.createScript(a):a;return new Gh(a)},Ih=function(a){if(a instanceof Gh)return a.g;throw Error("aa");},Jh=function(a){var b=Fh(a.ownerDocument);b&&a.setAttribute("nonce",b)},nba=async function(a){var b=await fetch(Dh(a).toString(),void 0),c,d,e,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{CD:async function(){if(f!==
"text/html")throw new Kh(b.url,"SafeHtml","text/html");var g=await b.text(),h=Ah();g=h?h.createHTML(g):g;return new Lh(g)},script:async function(){if(f!=="text/javascript"&&f!=="application/javascript")throw new Kh(b.url,"SafeScript","text/javascript");var g=await b.text();return Hh(g)},styleSheet:async function(){if(f!=="text/css")throw new Kh(b.url,"SafeStyleSheet","text/css");var g=await b.text();return new Mh(g)}}},Nh=function(a,b,c,d,e,f,g){var h="";a&&(h+=a+":");c&&(h+="//",b&&(h+=b+"@"),h+=
c,d&&(h+=":"+d));e&&(h+=e);f&&(h+="?"+f);g&&(h+="#"+g);return h},Ph=function(a){a=a.match(Oh)[1]||null;!a&&n.self&&n.self.location&&(a=n.self.location.protocol.slice(0,-1));return a?a.toLowerCase():""},Qh=function(){var a=document.location.href.match(Oh);return Nh(a[1],a[2],a[3],a[4])},Rh=function(a,b){a=a.match(Oh);b=b.match(Oh);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]},Sh=function(a,b){if(a){a=a.split("&");for(let c=0;c<a.length;c++){let d=a[c].indexOf("="),e,f=null;d>=0?(e=a[c].substring(0,d),
f=a[c].substring(d+1)):e=a[c];b(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}},Th=function(a,b){if(!b)return a;var c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]},Uh=function(a,b,c){if(Array.isArray(b))for(let d=0;d<b.length;d++)Uh(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+Vh(b)))},Wh=function(a,b){var c=[];for(b=b||0;b<a.length;b+=
2)Uh(a[b],a[b+1],c);return c.join("&")},Xh=function(a){var b=[];for(let c in a)Uh(c,a[c],b);return b.join("&")},Yh=function(a,b){var c=arguments.length==2?Wh(arguments[1],0):Wh(arguments,1);return Th(a,c)},Zh=function(a,b,c){c=c!=null?"="+Vh(c):"";return Th(a,b+c)},oba=function(a,b,c){for(;(b=a.indexOf("zx",b))>=0&&b<c;){var d=a.charCodeAt(b-1);if(d==38||d==63)if(d=a.charCodeAt(b+2),!d||d==61||d==38||d==35)return b;b+=3}return-1},rba=function(a){for(var b=$h(),c=a.search(pba),d=0,e,f=[];(e=oba(a,
d,c))>=0;)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));a=f.join("").replace(qba,"$1");return Zh(a,"zx",b)},ai=function(a,b){b.stack&&(a.stack+="\n"+b.stack);return a},bi=function(a){this.g=this.C=this.j="";this.o=null;this.G=this.H="";this.D=!1;var b;a instanceof bi?(this.D=a.D,ci(this,a.j),this.C=a.C,di(this,a.g),ei(this,a.o),fi(this,a.getPath()),gi(this,a.B.clone()),this.G=a.G):a&&(b=String(a).match(Oh))?(this.D=!1,ci(this,b[1]||"",!0),this.C=hi(b[2]||""),di(this,
b[3]||"",!0),ei(this,b[4]),fi(this,b[5]||"",!0),gi(this,b[6]||"",!0),this.G=hi(b[7]||"")):(this.D=!1,this.B=new ii(null,this.D))},ji=function(a){bh.call(this);this.j=a;this.g={}},ki=function(){this.N=null;this.D=[];this.B=this.g=this.o=this.j=this.ba=0;this.C=null;this.G=0},li=function(a){this.ba=null;this.C=[];this.B="";this.T=[];this.o=this.j=0;this.D=!1;this.N=0;this.ca=/[\\"]/g;this.g=this.G=0;this.L=!(!a||!a.tr)},sba=function(a){var b=mi(a,"Content-Type");if(!b)return null;b=b.toLowerCase();
if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new ni:new li;if(b.startsWith("application/x-protobuf")){a=mi(a,"Content-Transfer-Encoding");if(!a)return new ki;if(a.toLowerCase()=="base64")return new oi}return null},pi=function(a,b){a&&(b=a.indexOf(b),0<=b&&a.splice(b,1))},qi=function(a){return typeof a==="function"},si=function(a){return a instanceof ri||a&&"closed"in a&&qi(a.remove)&&qi(a.add)&&qi(a.unsubscribe)},yi=function(){},zi=function(a){tba(function(){throw a;
})},Ai=function(a){return a},uba=function(a){return a.length===0?Ai:a.length===1?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},vba=function(a){var b;return(b=a!=null?a:void 0)!=null?b:Promise},wba=function(a,b){return new Bi(function(c){var d=0;return b.ak(function(){d===a.length?c.complete():(c.next(a[d++]),c.closed||this.ak())})})},Fi=function(a){if(a instanceof Bi)return a;if(a!=null){if(qi(a[Ci]))return xba(a);if(a&&typeof a.length==="number"&&typeof a!=="function")return Di(a);
if(qi(a==null?void 0:a.then))return yba(a);if(Symbol.asyncIterator&&qi(a==null?void 0:a[Symbol.asyncIterator]))return zba(a);if(qi(a==null?void 0:a[Ei]))return Aba(a)}throw new TypeError("pa`"+(a!==null&&typeof a==="object"?"an invalid object":"'"+a+"'"));},xba=function(a){return new Bi(function(b){var c=a[Ci]();if(qi(c.subscribe))return c.subscribe(b);throw new TypeError("qa");})},Di=function(a){return new Bi(function(b){for(let c=0;c<a.length&&!b.closed;c++)b.next(a[c]);b.complete()})},yba=function(a){return new Bi(function(b){a.then(function(c){b.closed||
(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,zi)})},Aba=function(a){return new Bi(function(b){for(var c=a[Ei]();!b.closed;){var d=c.next();let e=d.value;d.done?b.complete():b.next(e)}return function(){return qi(c==null?void 0:c.return)&&c.return()}})},zba=function(a){return new Bi(function(b){Bba(a,b).catch(function(c){return b.error(c)})})},Bba=async function(a,b){var c;try{for(var d=a[Symbol.asyncIterator],e=d!==void 0?d.call(a):new Cba(q(a));;){var f=await e.next();if(f.done)break;
b.next(f.value)}}catch(h){var g={error:h}}finally{try{f&&!f.done&&(c=e.return)&&await c.call(e)}finally{if(g)throw g.error;}}b.complete()},Dba=function(a){return a&&qi(a.ak)},Ii=function(a){return new Promise(function(b,c){var d=new Gi({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new Hi)}});a.subscribe(d)})},Ji=function(a){return function(b){if(qi(b==null?void 0:b.Dl))return b.Dl(function(c){try{return a(c,this)}catch(d){this.error(d)}});throw new TypeError("ra");}},Li=function(a){return Ji(function(b,
c){var d=0;b.subscribe(new Ki(c,function(e){c.next(a.call(void 0,e,d++))}))})},Eba=function(a,b,c,d){var e=[],f=0,g=0,h=!1,l=function(m){f++;Fi(c(m,g++)).subscribe(new Ki(b,function(p){b.next(p)},void 0,function(){for(f--;e.length&&f<d;){let p=e.shift();l(p)}!h||e.length||f||b.complete()}))};a.subscribe(new Ki(b,function(m){return f<d?l(m):e.push(m)},void 0,function(){h=!0;!h||e.length||f||b.complete()}));return function(){e=null}},Mi=function(a,b){var c=c===void 0?Infinity:c;if(qi(b))return Mi(function(d,
e){return Li(function(f,g){return b(d,f,e,g)})(Fi(a(d,e)))},c);typeof b==="number"&&(c=b);return Ji(function(d,e){return Eba(d,e,a,c)})},Ni=function(a){return Ji(function(b,c){var d=0;b.subscribe(new Ki(c,function(e){return a.call(void 0,e,d++)&&c.next(e)}))})},Fba=function(a){return function(b){var c=[];for(let d=0;c&&!b.closed&&d<a.length;d++)c.push(Fi(a[d]).subscribe(new Ki(b,function(e){if(c){for(let f=0;f<c.length;f++)f!==d&&c[f].unsubscribe();c=null}b.next(e)})))}},Oi=function(){var a=Math.random;
this.B=500;this.j=512E3;this.C=a;this.reset()},Gba=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=m=0}function b(t){for(var w=g,A=0;A<64;A+=4)w[A/4]=t[A]<<24|t[A+1]<<16|t[A+2]<<8|t[A+3];for(A=16;A<80;A++)t=w[A-3]^w[A-8]^w[A-14]^w[A-16],w[A]=(t<<1|t>>>31)&4294967295;t=e[0];var M=e[1],da=e[2],ja=e[3],Ja=e[4];for(A=0;A<80;A++){if(A<40)if(A<20){var Ma=ja^M&(da^ja);var Ib=1518500249}else Ma=M^da^ja,Ib=1859775393;else A<60?(Ma=M&da|ja&(M|da),Ib=
2400959708):(Ma=M^da^ja,Ib=3395469782);Ma=((t<<5|t>>>27)&4294967295)+Ma+Ja+Ib+w[A]&4294967295;Ja=ja;ja=da;da=(M<<30|M>>>2)&4294967295;M=t;t=Ma}e[0]=e[0]+t&4294967295;e[1]=e[1]+M&4294967295;e[2]=e[2]+da&4294967295;e[3]=e[3]+ja&4294967295;e[4]=e[4]+Ja&4294967295}function c(t,w){if(typeof t==="string"){t=unescape(encodeURIComponent(t));for(var A=[],M=0,da=t.length;M<da;++M)A.push(t.charCodeAt(M));t=A}w||(w=t.length);A=0;if(m==0)for(;A+64<w;)b(t.slice(A,A+64)),A+=64,p+=64;for(;A<w;)if(f[m++]=t[A++],p++,
m==64)for(m=0,b(f);A+64<w;)b(t.slice(A,A+64)),A+=64,p+=64}function d(){var t=[],w=p*8;m<56?c(h,56-m):c(h,64-(m-56));for(var A=63;A>=56;A--)f[A]=w&255,w>>>=8;b(f);for(A=w=0;A<5;A++)for(var M=24;M>=0;M-=8)t[w++]=e[A]>>M&255;return t}for(var e=[],f=[],g=[],h=[128],l=1;l<64;++l)h[l]=0;var m,p;a();return{reset:a,update:c,digest:d,digestString:function(){for(var t=d(),w="",A=0;A<t.length;A++)w+="0123456789ABCDEF".charAt(Math.floor(t[A]/16))+"0123456789ABCDEF".charAt(t[A]%16);return w}}},Pi=function(){this.g=
document||{cookie:""}},Ri=function(a){return new Qi(a)},Ti=function(a){a=a instanceof Qi?a:new Qi(a);return a.value===null||a.value instanceof Si?a:new Qi(a.value,!0)},Ui=function(a){var b=[];a=q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c instanceof Qi?b.push(c):b.push(new Qi(c));return b},Vi=function(a){return{ci:a.Bh(),yr:a.zh(),withCredentials:a.ti()}},Hba=function(a){if(a.j){let b=a.j;return Ii(b).then(function(c){c=new Wi(c);b.subscribe(c);return new Xi(c)})}return a.apiKey?a.o?Promise.resolve(new Yi(a.apiKey,
a.o)):a.B?Promise.resolve(new Zi(a.apiKey)):Promise.resolve(new $i(a.apiKey,a.g)):Promise.reject(Error("Ca"))},aj=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}},cj=function(a){return{send:function(b,c,d,e,f,g,h){var l=new bj(a);l.listen("complete",c);l.Lf("ready",function(){l.dispose()});g&&(l.ca=Math.max(0,
g));h&&(l.T=h);l.send(b,d,e,f);return l}}},ej=function(){return dj=dj||new vh},fj=function(a){dh.call(this,"serverreachability",a)},gj=function(a){var b=ej();b.dispatchEvent(new fj(b,a))},hj=function(a,b){dh.call(this,"statevent",a);this.stat=b},ij=function(a){var b=ej();b.dispatchEvent(new hj(b,a))},jj=function(a,b,c,d){dh.call(this,"timingevent",a);this.size=b;this.rtt=c;this.dc=d},kj=function(a,b){if(typeof a!=="function")throw Error("Da");return n.setTimeout(function(){a()},b)},Jba=function(a){a=
lj(a);a=mj(a);nj||(nj=Iba());nj(a)},Kba=function(){for(var a;a=oj.remove();){try{a.g.call(a.scope)}catch(b){ea(b)}pj(qj,a)}rj=!1},uj=function(a,b){vh.call(this);this.j=a||1;this.g=b||n;this.o=sj(this.Ct,this);this.C=tj()},vj=function(){this.g=!0},xj=function(a,b,c,d){this.C=a;this.j=b;this.B=c;this.rc=d||1;this.yd=new ji(this);this.Ua=45E3;this.Fa=null;this.D=!1;this.N=this.T=this.L=this.eb=this.ra=this.Od=this.ca=null;this.ka=[];this.g=null;this.ba=0;this.G=this.H=null;this.kc=-1;this.Ja=!1;this.yb=
0;this.Pa=null;this.je=this.Ka=this.he=this.Qb=!1;this.o=new wj},Lba=function(){},Mba=function(a,b){var c=new vj;if(n.Image){let d=new Image;d.onload=yj(zj,c,"TestLoadImage: loaded",!0,b,d);d.onerror=yj(zj,c,"TestLoadImage: error",!1,b,d);d.onabort=yj(zj,c,"TestLoadImage: abort",!1,b,d);d.ontimeout=yj(zj,c,"TestLoadImage: timeout",!1,b,d);n.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},Nba=function(a,b){var c=new vj,d=new AbortController,e=setTimeout(function(){d.abort();
zj(c,"TestPingServer: timeout",!1,b)},1E4);fetch(a,{signal:d.signal}).then(function(f){clearTimeout(e);f.ok?zj(c,"TestPingServer: ok",!0,b):zj(c,"TestPingServer: server error",!1,b)}).catch(function(){clearTimeout(e);zj(c,"TestPingServer: error",!1,b)})},zj=function(a,b,c,d,e){try{e&&(e.onload=null,e.onerror=null,e.onabort=null,e.ontimeout=null),d(c)}catch(f){}},Oba=function(){this.g=new Aj},Bj=function(a,b,c){return c&&c.Wr?c.Wr[a]||b:b},Dj=function(a){this.xp=0;this.o=[];this.g=new vj;this.Ot=new Lba;
this.vl=this.To=this.eb=this.wf=this.j=this.Zo=this.Fa=this.Ka=this.N=this.je=this.ba=null;this.Mp=this.ke=0;this.Pt=Bj("failFast",!1,a);this.Ja=this.T=this.L=this.G=this.D=null;this.yf=!0;this.pl=this.hp=this.H=-1;this.wh=this.ca=this.ra=0;this.Kt=Bj("baseRetryDelayMs",5E3,a);this.Vp=Bj("retryDelaySeedMs",1E4,a);this.Jp=Bj("forwardChannelMaxRetries",2,a);this.Vo=Bj("forwardChannelRequestTimeoutMs",2E4,a);this.Lo=a&&a.Xg||void 0;this.Kp=a&&a.cE||void 0;this.yp=a&&a.Ht||!1;this.kc=void 0;this.yb=a&&
a.wp||!1;this.Qb="";this.C=new Cj(a&&a.uD);this.Ua=Math.min(a&&a.bE||1E3,1E3);this.Gp=new Oba;this.yd=a&&a.zD||!1;this.Od=a&&a.xD||!1;this.yd&&this.Od&&(this.g.Da("Ignore encodeInitMessageHeaders because fastHandshake is set."),this.Od=!1);this.Nt=a&&a.oD||!1;a&&a.Ln&&this.g.Ln();a&&a.Bg&&(this.yf=!1);this.ml=!this.yd&&this.yf&&a&&a.wr||!1;this.xl=void 0;a&&a.Go&&a.Go>0&&(this.xl=a.Go);this.he=void 0;this.Pa=0;this.rc=!1;this.yl=this.ka=null},Ej=function(a){return Ji(function(b,c){var d=null,e=!1,
f;d=b.subscribe(new Ki(c,void 0,function(g){f=Fi(a(g,Ej(a)(b)));d?(d.unsubscribe(),d=null,f.subscribe(c)):e=!0}));e&&(d.unsubscribe(),d=null,f.subscribe(c))})},Qba=function(){return Pba.apply(null,r(cc.apply(0,arguments)))},Pba=function(){var a=cc.apply(0,arguments),b=Dba(a[a.length-1])?a.pop():void 0;return Ji(function(c,d){var e=1;e=e===void 0?Infinity:e;e=Mi(Ai,e);c=[c].concat(r(a));e(b?wba(c,b):Di(c)).subscribe(d)})},Rba=function(a){return Ji(function(b,c){var d=!1,e=null,f=null,g=function(){var h;
(h=f)==null||h.unsubscribe();f=null;d&&(d=!1,h=e,e=null,c.next(h))};b.subscribe(new Ki(c,function(h){var l;(l=f)==null||l.unsubscribe();d=!0;e=h;f=new Ki(c,g,void 0,yi);Fi(a(h)).subscribe(f)},void 0,function(){g();c.complete()},function(){e=f=null}))})},Sba=function(a){a=a===void 0?null:a;return Ji(function(b,c){var d=!1;b.subscribe(new Ki(c,function(e){d=!0;c.next(e)},void 0,function(){d||c.next(a);c.complete()}))})},Tba=function(){return Ji(function(a,b){var c=0;a.subscribe(new Ki(b,function(d){++c<=
1&&(b.next(d),1<=c&&b.complete())}))})},Vba=function(a){a=a===void 0?Uba:a;return Ji(function(b,c){var d=!1;b.subscribe(new Ki(c,function(e){d=!0;c.next(e)},void 0,function(){return d?c.complete():c.error(a())}))})},Uba=function(){return new Hi},Fj=function(a,b){var c=arguments.length>=2;return function(d){return d.j(a?Ni(function(e,f){return a(e,f,d)}):Ai,Tba(),c?Sba(b):Vba(function(){return new Hi}))}},Wba=function(){var a=cc.apply(0,arguments);return a.length?Ji(function(b,c){Fba([b].concat(r(a)))(c)}):
Ai},Yba=function(){var a=a===void 0?Infinity:a;return a<=0?function(){return Xba}:Ji(function(b,c){var d=0,e,f=function(){var g=!1;e=b.subscribe(new Ki(c,void 0,void 0,function(){++d<a?e?(e.unsubscribe(),e=null,f()):g=!0:c.complete()}));g&&(e.unsubscribe(),e=null,f())};f()})},Zba=function(a){return new Bi(function(b){var c=Gj(function(){b.next({});b.complete()},a);return function(){n.clearTimeout(c)}})},Kj=function(a){var b=new Hj;return Ij(b,1,Jj,dd(a))},gk=function(a){var b=new Lj;a=q(a.parts);
for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new Mj;if(d.value===null){d=c;var e=new Nj;y(d,13,Oj,e)}else d.value instanceof Rg?d.g?Ij(c,4,Oj,Pc(d.value.toString())):Ij(c,2,Oj,Pc(d.value.toString())):d.value instanceof Pj?d.g?(e=c,d=Qj(d.value.value),Ij(e,6,Oj,$c(d))):(e=c,d=Qj(d.value.value),Ij(e,8,Oj,$c(d))):typeof d.value==="string"?d.g?Ij(c,3,Oj,dd(d.value)):Ij(c,1,Oj,dd(d.value)):d.value instanceof Uint8Array?d.g?Ij(c,5,Oj,Jb(d.value,!1,!0)):Ij(c,7,Oj,Jb(d.value,!1,!0)):d.value instanceof
Rj?d.g?(e=c,d=ek(d.value),y(e,11,Oj,d)):(e=c,d=ek(d.value),y(e,12,Oj,d)):c=d.value.g;fk(b,1,Mj,c)}return b},$ba=function(a,b){if(a instanceof hk)return z(b,Mj,1,B()).length>0?null:a.g()?ik.apply(hk,r(a.parts)):jk.apply(hk,r(a.parts));var c=Array.of.apply(Array,r(a.root.parts));b=q(z(b,Mj,1,B()));for(var d=b.next();!d.done;d=b.next())switch(d=d.value,kk(d,Oj)){case 4:var e=c,f=e.push,g=lk,h=d;d=mk(d,Oj,4);d=nk(h,d);f.call(e,Ti(g(d)));break;case 2:e=c;f=e.push;g=lk;h=d;d=mk(d,Oj,2);d=nk(h,d);f.call(e,
Ri(g(d)));break;case 6:c.push(Ti(new Pj(ok(pk(d,mk(d,Oj,6))))));break;case 8:c.push(Ri(new Pj(ok(pk(d,mk(d,Oj,8))))));break;case 10:case 9:c.push(new Qi(new Si(d)));break;case 3:c.push(Ti(qk(d,mk(d,Oj,3))));break;case 1:c.push(Ri(qk(d,mk(d,Oj,1))));break;case 7:let l;e=c;f=e.push;g=d;d=mk(d,Oj,7);d=rk(g,d,void 0,void 0,Be);f.call(e,Ri((l=d)==null?void 0:new Uint8Array(Te(l)||0)));break;case 5:let m;e=c;f=e.push;g=d;d=mk(d,Oj,5);d=rk(g,d,void 0,void 0,Be);f.call(e,Ti((m=d)==null?void 0:new Uint8Array(Te(m)||
0)));break;case 12:d=sk(tk(d,uk,12,Oj));if(d===null)return null;c.push(new Qi(d));break;case 11:d=sk(tk(d,uk,11,Oj));if(d===null)return null;c.push(Ti(d));break;case 13:c.push(new Qi(null));break;case 0:c.push(new Qi(new Si(d)));break;default:return null}return a.root.g()?ik.apply(hk,r(c)):jk.apply(hk,r(c))},vk=function(a){return{Ke:new bi("https://"+a+"-signaler-pa.clients6.google.com/punctual"),hf:new bi("https://"+a+"-signaler-pa.googleapis.com/punctual"),Qd:!1}},wk=function(a,b){return{Ke:new bi("https://"+
a+"-dynamite-"+b+"-signaler-pa.clients6.google.com/punctual"),hf:new bi("https://"+a+"-dynamite-"+b+"-signaler-pa.googleapis.com/punctual"),Qd:!0}},xk=function(a){return{Ke:new bi("https://chat.google.com/punctual/"+a),hf:new bi("https://chat.google.com/punctual/"+a),Qd:!1}},yk=function(a){this.G=[];this.ca=a;this.C=this.g=!1;this.o=void 0;this.ba=this.ka=this.H=!1;this.N=0;this.j=null;this.D=0},Dk=function(a,b,c){c=c===void 0?"unknown":c;if(b instanceof Object&&!Object.isFrozen(b)){let d=zk(b.fileName||
b.filename||b.sourceURL||n.$googDebugFname||location.href);try{b.fileName=d}catch(e){}}if(Ak.j>=3)throw Error("Pa`"+a);Ak.j++;try{Ak.isDisposed()||b instanceof Bk||b instanceof Ck||(b==null?void 0:b.name)==="CanceledError"||Ak.g&&Ak.g.length<10&&Ak.g.push(new aca(a,b,c))}finally{Ak.j--}},bca=function(a){function b(h){c&&!g&&(g=!0,a.apply(null,r(e)));f=!0;setTimeout(function(){var l=d+10-Date.now();if(l>0)f=!1,b(l);else try{c||a.apply(null,r(e))}finally{f=!1,e=d=null,g=!1}},h)}var c=c===void 0?!1:
c;var d=null,e=null,f=!1,g=!1;return function(){var h=cc.apply(0,arguments);d=Date.now();e=h;f||b(10)}},Gk=function(a){return Ek(a)||Fk(a)&&a!=="application/vnd.google-apps.folder"},Ek=function(a){return a.startsWith("application/vnd.google-apps.drive-sdk")},Fk=function(a){Ek(a)?a=!1:a.startsWith("application/vnd.google-apps")?a=!0:a.startsWith("application/vnd.google-gsuite")?a.startsWith("application/vnd.google-gsuite.encrypted")?(a=a.slice(a.indexOf("content=")+8),a=a.slice(0,a.indexOf(";")).replace(/"/g,
"").trim().startsWith("application/vnd.google-apps")):a=!0:a=!1;return a},Hk=function(a){return a.slice(a.indexOf("content=")+8).replace(/"/g,"").trim()},Ik=function(a){return a.startsWith("application/vnd.google-gsuite.encrypted")},Jk=function(a){return Hk(a)},Kk=function(a){return Ik(a||"")},Lk=function(a){if(typeof a==="function")var b=a;else if(typeof a==="object")b=a.constructor;else throw Error(void 0);return Ub(function(c){return c instanceof b})},Ok=function(a){if(a){var b=a.xd();b&&Mk(a,
b.toLowerCase());cca(a,z(a,Nk,58,B()).map(function(c){var d=C(c,1);d&&D(c,1,d.toLowerCase());return c}))}},Sk=function(a,b){return a?(b===void 0?0:b)&&Lk(Pk)(a)&&Qk(a)?(a=Rk(a),!!a&&C(a,3)==="application/vnd.google-apps.folder"):a.xd()==="application/vnd.google-apps.folder":!1},Qk=function(a){return a?a.xd()==="application/vnd.google-apps.shortcut":!1},Tk=function(a){var b=a&&a.K()||null;a&&Qk(a)&&(a=(a=Rk(a))&&C(a,1))&&(b=a);return b},Uk=function(a){return!!E(a,31)&&!E(a,94)},Vk=function(a){return dca(a.filter(function(b){return b}).map(function(b){return b.getItem()}))},
dca=function(a){return a.filter(function(b){return!!b}).some(function(b){return[4,5,2,6].includes(Wk(b))})},eca=function(){var a=[],b;a[8]=a[13]=a[18]=a[23]="-";a[14]="4";for(b=0;b<36;b++)if(!a[b]){var c=0|Math.random()*16;a[b]=Xk[b==19?c&3|8:c]}return a.join("")},Yk=function(){for(var a=Array(36),b=0,c,d=0;d<36;d++)d==8||d==13||d==18||d==23?a[d]="-":d==14?a[d]="4":(b<=2&&(b=33554432+Math.random()*16777216|0),c=b&15,b>>=4,a[d]=Xk[d==19?c&3|8:c]);return a.join("")},Zk=function(a,b,c){bh.call(this);
this.g=a;this.B=b||0;this.j=c;this.o=sj(this.gq,this)},$k=function(){vh.call(this);this.j=new ji(this);this.j.listen(n,["online","offline"],this.o)},fca=function(a){return function(b){(b=b.g)&&typeof b==="object"&&"persisted"in b&&typeof b.persisted==="boolean"&&!b.persisted&&a()}},gca=function(){var a=n.window;a.onbeforeunload=function(){};a.location.reload()},bl=function(a,b){var c=a.match(Oh)[5]||null;al.test(c)?(a=a.match(Oh),c=a[5],c=c.replace(b,""),b=Nh(a[1],a[2],a[3],a[4],c,a[6],a[7])):b=a;
return b},el=function(a){if(cl)a(cl);else{let b;((b=dl)!=null?b:dl=[]).push(a)}},hl=function(){!cl&&fl&&gl();return cl},gl=function(){cl=fl();var a;(a=dl)==null||a.forEach(el);dl=void 0},hca=function(){for(let a in Array.prototype)return!1;return!0},jl=function(a,b){b=b===void 0?window:b;return new il(a,Vg(a,b))},kl=function(a,b){this.width=a;this.height=b},ll=function(a){var b=cc.apply(1,arguments);if(b.length===0)return Ch(a[0]);var c=a[0];for(let d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+
a[d+1];return Ch(c)},nl=function(a){return a instanceof Error||a&&a.message!==void 0?a.message:ml(a)},ol=function(a){return a instanceof Error||a&&a.stack!==void 0?a.stack||"":""},sl=function(a,b){var c=a&&a.cause!==void 0;if(b>=3||!c)return null;c=new pl;a=a.cause;if(ql(a)){if(rl(c,nl(a)),c.g=ol(a),b=sl(a,b+1))c.cause=b}else b=ml(a),rl(c,b);return c.build()},ql=function(a){return a instanceof Error||!!a&&a.message!==void 0&&a.stack!==void 0},ml=function(a){try{return ql(a)?a.message+"\n"+a.stack:
a&&a instanceof Object?JSON.stringify(a):String(a)}catch(b){return String(a)}},Cl=function(a,b,c){c=c===void 0?new Map:c;var d=rl(new pl,nl(a));d.g=ol(a);d.j=c;if(a=sl(a,0))d.cause=a;b&&(d.severity=b);return d.build()},jca=function(){var a=Dl(El(Fl(Gl()))),b=Hl(a,1),c=Hl(a,5);return[b,c].every(function(d){return ica.has(d)})},Jl=function(a){try{return Il(Yg(),a)}catch(b){return!1}},Pl=function(a,b){var c=a=a===void 0?{}:a;a=c.pr===void 0?[]:c.pr;var d=c.Bt===void 0?[]:c.Bt,e=c.lt===void 0?[]:c.lt,
f=c.Vs===void 0?[]:c.Vs;c=c.Ws===void 0?[]:c.Ws;try{var g=Il(Yg(),kca);var h=F(g,1,B())}catch(m){h=[]}g=Jl(lca);var l=[];d.length>0&&l.push(Kl(d,[],6));e.length>0&&l.push(new Ll(e,[],6,0));f.length>0&&l.push(new Ml(f,[],6,5,0));c.length>0&&l.push(new Ml(c,[],6,5,1));return new Nl(b,l,h,[new Ol].concat(r(a)),g)},mca=function(){var a=a===void 0?{}:a;return Pl(a,new Ql)},Rl=function(a,b){var c=a.__wiz;c||(c=a.__wiz={});return c[b.toString()]},oca=function(a){var b=document.body,c=(b.getAttribute("jsaction")||
"").trim();var d=["u0pjoe"];for(var e=q(d),f=e.next();!f.done;f=e.next()){f=f.value;a:{var g=c;if(!g){g=!1;break a}var h=nca[g];if(h){g=!!h[f.toString()];break a}h=Sl[f.toString()];h||(h=new RegExp("(^\\s*"+f+"\\s*:|[\\s;]"+f+"\\s*:)"),Sl[f.toString()]=h);g=h.test(g)}g||(c&&!/;$/.test(c)&&(c+=";"),c+=f+":.CLIENT",Tl(b,c));(g=Rl(b,f))?g.push(a):b.__wiz[f.toString()]=[a]}return{et:d,Yi:a,el:b}},Tl=function(a,b){a.setAttribute("jsaction",b);"__jsaction"in a&&delete a.__jsaction},Ul=function(a){bh.call(this);
this.j=a},Wl=function(a,b){a instanceof Vl&&(a=a.getError());lb(a,"severity",b)},pca=function(a){if(!a)return null;switch(a){case "severe":case "fatal":return"fatal";case "warning":return"warning";case "info":case "unknown":case "incident":return"incident";case "postmortem":return"postmortem";case "warningafterdeath":return"warningafterdeath";default:return null}},Yl=function(a,b){if(b===0||b===1)throw Error("db");var c,d;a=(d=(c=Xl(a))==null?void 0:Hl(c,81,1))!=null?d:1;return a===1||a===0?!1:b===
2?!0:a===b},qca=function(a){var b=Yg();Zl.forEach(function(c){var d=c.setValue;try{var e=Il(b,c.ya)}catch(f){e=c.defaultValue}d.call(c,a,e)})},$l=function(a,b){return a?1:b?2:0},am=function(a,b,c){return a&&!c?1:a&&c?3:b?2:0},bm=function(a,b,c){return a!==0?a:am(c,b,!1)},rca=function(a){return new Proxy({},{get:function(b,c,d){return a.Gh(c)?a.Ib.bind(a,c):Reflect.get(b,c,d)}})},cm=async function(a){var b={};await 0;return Promise.race([a,Promise.resolve(b)]).then(function(c){return c!==b},function(){return!0})},
dm=function(a,b,c){c=c===void 0?function(){return Error("eb")}:c;var d,e=new Promise(function(f,g){d=n.setTimeout(function(){var h=c();g(h)},b)});a.catch(function(){}).finally(function(){n.clearTimeout(d)});return Promise.race([a,e])},em=function(a){a="Failed to register service "+a+" within 20s";var b=Error(a);Dk(a,b,"warning");return b},fm=function(a,b){return b&&b.length>0?{payload:a,transfer:b}:{payload:a}},gm=function(a,b,c){c=c.aa;if(c){var d=sca(b,a.params);b=d.payload;d=d.transfer}return d&&
d.length>0?{payload:{m:a.Z,a:b,s:c},transfer:d}:{payload:{m:a.Z,a:b,s:c}}},im=function(a,b){var c=a.a,d=a.s;return{call:{Z:a.m,args:d?hm(c,b.params):c},vt:d}},sca=function(a,b){var c=new jm([]);for(let d=0;d<a.length;d++)c.Ob(function(e,f){e.push(f)},b[Math.min(d,b.length-1)].tb(a[d]));return c.build()},hm=function(a,b){return a.map(function(c,d){return b[Math.min(d,b.length-1)].sb(c)})},km=function(a,b,c){c=c.aa;if(c){var d=b.response.tb(a);a=d.payload;d=d.transfer}return d&&d.length>0?{payload:{sc:!0,
s:c,r:a},transfer:d}:{payload:{sc:!0,s:c,r:a}}},lm=function(a,b){b=b.tb(a);a=b.payload;return(b=b.transfer)&&b.length>0?{payload:{sc:!1,s:!0,e:a},transfer:b}:{payload:{sc:!1,s:!0,e:a}}},mm=function(a,b,c){var d=b.response;b=b.Z;if(a.sc)return{response:a.s?d.sb(a.r):a.r,ff:!0};if(a.e)return{error:a.s?c.sb(a.e):a.e,ff:!1};throw Error("gb`"+b);},nm=function(a){return{Z:a.Z,params:a.params,response:a.response}},uca=function(a){return Ub(function(b){return tca(b)?Object.entries(b).every(function(c){c=
q(c);c.next();c=c.next().value;return a(c)}):!1})},om=function(a){return function(b){b.data!=="ueR9ye"&&a&&a(b)}},pm=function(a){return{Cb:a,tb:function(b){return fm(b)},sb:function(b){return b}}},qm=function(a){return{Cb:Vb(a),tb:function(b){return fm(b.aa())},sb:function(b){return Og(a,b)}}},rm=function(a){return{Cb:bc(a.Cb),tb:function(b){var c=new jm([]);c.Ob.apply(c,[function(d){d.push.apply(d,r(cc.apply(1,arguments)))}].concat(r(b.map(function(d){return a.tb(d)}))));return c.build()},sb:function(b){return b.map(function(c){return a.sb(c)})}}},
sm=function(a){return{Cb:uca(a.Cb),tb:function(b){var c=new jm({});b=q(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){d=q(d.value);let e=d.next().value;d=d.next().value;c.Ob(function(f,g){f[e]=g},a.tb(d))}return c.build()},sb:function(b){return Object.fromEntries(Object.entries(b).map(function(c){var d=q(c);c=d.next().value;d=d.next().value;return[c,a.sb(d)]}))}}},tm=function(){var a=cc.apply(0,arguments);return{Cb:naa.apply(null,r(a.map(function(b){return b.Cb}))),tb:function(b){var c=
new jm([]);c.Ob.apply(c,[function(d){d.push.apply(d,r(cc.apply(1,arguments)))}].concat(r(a.map(function(d,e){return d.tb(b[e])}))));return c.build()},sb:function(b){return b.map(function(c,d){return a[d].sb(c)})}}},um=function(){var a=cc.apply(0,arguments);return{Cb:ec.apply(null,r(a.map(function(b){return b.Cb}))),tb:function(b){for(let c=0;c<a.length;c++)if(a[c].Cb(b))return b=a[c].tb(b),fm([c,b.payload],b.transfer);throw Error("ib");},sb:function(b){var c=q(b);b=c.next().value;c=c.next().value;
return a[b].sb(c)}}},Am=function(){var a={Z:"cb",params:cc.apply(0,arguments),response:vm};return{Cb:wm,tb:function(b){var c=new MessageChannel,d=c.port2;c.port1.onmessage=function(e){var f=e.data;e=new xm(e.ports[0],om());f=im((new ym(f,e)).data,a).call;b.apply(null,r(f.args))};return fm(d,[d])},sb:function(b){var c=zm(b);b.start();return function(){var d=gm(a,cc.apply(0,arguments),{aa:!0});c.send(d.payload,void 0,d.transfer)}}}},Bm=function(a){return um(a,vca)},Em=function(){return nm({Z:"kPqlWb",
params:[Cm,Dm].concat(r(cc.apply(0,arguments))),response:vm})},Gm=function(a){return new Fm(a)},Hm=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},wca=function(a){return a.length===0?!1:/^[A-Z0-9]+(_[A-Z0-9]+)*$/.test(a)},Jm=function(a){return Ub(function(b){return Vb(Im)(b)?bc(a)(b.requests):!1})},Km=function(a){return ec(a,Jm(a))},Lm=function(a){return a instanceof Im?a.requests:[a]},Mm=function(a,b){return Lm(a).map(b)},Nm=function(a,b){a.name!==void 0?
(this.name=a.name,this.code=nh[a.name]):(this.code=a=a.code,this.name=xca(a));aa.call(this,yca("%s %s",this.name,b))},Om=function(a,b){dh.call(this,a.type,b)},Qm=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if(typeof d=="undefined")throw Error("sb");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(e,f,g,h,l,m,p,t){if(m=="%")return"%";var w=c.shift();if(typeof w=="undefined")throw Error("tb");arguments[0]=w;return Pm[m].apply(null,arguments)})},Sm=function(a,
b){a=q(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=q(c.value);c=d.next().value;d=d.next().value;if(Array.isArray(d)||typeof d!=="object")Rm(b,c,d);else{d=q(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=q(e.value);e=f.next().value;f=f.next().value;Rm(b,[c,e].join("."),f)}}}},Tm=function(a){return(new n.Intl.Collator([a||"en"],{numeric:!0})).compare},Aca=function(a,b){if(b){var c=[];Um(b,3)&&c.push("folder");var d=b.getType()===4?"title_natural":Vm[b.getType()];
b=zca[Hl(b,2,1)];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}},Wm=function(a,b,c,d,e,f,g){this.date=new Date(typeof a==="number"?Date.UTC(a,b||0,c||1,d||0,e||0,f||0,g||0):a?a.getTime():tj())},Xm=function(a,b){a!=null&&this.Be.apply(this,arguments)},Ym=function(a){return a<10?"0"+a:""+a},go=function(a){if(Zm(a))return"request access";if($m(a))return"account and user settings";if(an(a))return"admin migrate to TD";if(bn(a))return"authorize app";if(cn(a))return"copy item";if(dn(a))return"change category links";
if(en(a))return"create item";if(fn(a))return"create ws";if(gn(a))return"delete app";if(hn(a))return"delete item";if(jn(a))return"delete permission";if(kn(a))return"delete revision";if(ln(a))return"delete TD";if(Lk(mn)(a))return"get category metadata";nn instanceof Object||on("DeleteUserPrefRequest",nn);if(nn instanceof Object&&pn(a))return"delete pref";if(qn(a))return"delete ws";if(rn(a)||sn(a))return"empty trash";if(tn(a))return"find by ID";if(un(a))return"find by IDs";if(vn(a))return"item export start";
if(wn(a))return"get app";if(xn(a))return"homepage activity";if(yn(a))return zn(a,11)&&zn(a,10)?"homepage suggested files and folders":!zn(a,11)&&zn(a,10)?"homepage suggested files":zn(a,11)&&!zn(a,10)?"homepage suggested folders":"homepage suggestions";if(An(a))return"insert app";if(Bn(a))return"insert permission";if(Cn(a)&&Dn(a))return"quick access item query";if(On(a)){var b;return((b=a.V())==null?0:Dn(b))?"quick access item query":"item query"}if(Pn(a)||Qn(a))return"label taxonomy";if(Rn(a))return"list label taxonomies";
if(Sn(a)){b="unknown";switch(Tn(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(Un(a))return"list changes";if(Vn(a))return"list permissions";if(Wn(a))return"list revisions";if(Xn(a))return"migrate to shared drive";if(Yn(a))return"partial download item";if(Zn(a))return"people api";if(ao(a))return"get published category";if(bo(a))return"publish activity event";if(co(a))return"get remaining changes";
if(eo(a))return"remove item";if(fo(a))return"reparent item";if(a instanceof Im)return(a=a.requests[0])?"batch("+go(a)+")":"batch";if(ho(a))return"restore item";if(io(a))return"start page token";if(jo(a))return"list suggested workspace items";if(ko(a))return"list suggested workspaces";if(lo(a))return"update app";if(mo(a))return"update category metadata";if(no(a))return"update item";if(oo(a))return"update revision";if(po(a))return"update TD";qo instanceof Object||on("UpdateUserPrefRequest",qo);return qo instanceof
Object&&ro(a)?"update pref":so(a)?"update ws":to(a)?"get workspace":a instanceof uo?"list activity":a instanceof vo?"list category metadata":a instanceof wo?"create TD":a instanceof xo?"item export cancel":a instanceof yo?"item export status":zo(a)?"generate cse token":a instanceof Ao?"multipart upload":a instanceof Bo?"list published categories":a instanceof Co?"init resumable upload":a instanceof Do?"resumable upload chunk":a instanceof Eo?"resumable upload":Fo(a)?"get TD":a instanceof Go?"move TD preflight":
Ho(a)?"list TDs":Io(a)?"get TD stats":a instanceof Jo?"test connection":a instanceof Ko?"list workspaces":"unknown"},on=function(a,b){Dk("Module "+a+" is not defined",new G("Module "+a+" is "+b),"warning")},Lo=function(a){a:{if(typeof(a==null?void 0:a.I)==="function"){let d,e=(d=a.I)==null?void 0:d.call(a);if(Bca(e)){a=e;break a}}a=null}if(!a)return"";var b,c;return"reason:"+((b=a.g)==null?void 0:b.call(a))+(" retryCount:"+((c=a.j)==null?void 0:c.call(a)))},Mo=function(a,b,c){c!=null&&(Array.isArray(c)?
c.length>0&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))},Oo=function(a){if(en(a)||a instanceof Ao||a instanceof Eo||a instanceof Co||a instanceof Do)return(new No).setStatus(8);throw Error("xb`"+go(a));},Qo=function(a){var b=Po(Cca);return Km(b)(a)},Ro=function(a){return Qo(a)?!Km(ec(Dca,Eca))(a):!1},Po=function(a){return ec.apply(null,r(a.map(function(b){return Vb(b)})))},ap=function(a){var b=a.direction,c=a.driveId,d=a.Wb;a=a.fa;var e=new So;e=H(e,1,12);b=H(e,2,b);e=To(new Uo,!0);e=I(e,17,!0);
b=Vo(e,b);a&&Wo(b,a);c?(c=Xo(Yo(b,[c]),2),I(c,66,!0)):I(b,66,!1);c=new Zo;d&&J(c,1,d);d=$o(b);return K(d,1,c)},Fca=function(a){if(bp(a,cp,1,dp))return"CREATE";if(bp(a,ep,2,dp))return"EDIT";if(bp(a,fp,3,dp))return"MOVE";if(bp(a,gp,4,dp))return"RENAME";if(bp(a,hp,5,dp))return"DELETE";if(bp(a,ip,6,dp))return"RESTORE";if(bp(a,jp,7,dp))return"PERMISSION_CHANGE";if(bp(a,kp,8,dp))return"HAS_COMMENT";if(bp(a,lp,9,dp))return"DLP_CHANGE";if(bp(a,mp,10,dp))return"VIEW";if(bp(a,np,11,dp))return"DOWNLOAD";if(bp(a,
op,12,dp))return"REFERENCE";if(bp(a,pp,13,dp))return"SETTINGS_CHANGE";if(bp(a,qp,18,dp))return"APPROVAL_CHANGE";if(bp(a,rp,15,dp))return"LOCK";if(bp(a,sp,16,dp))return"UNLOCK";if(bp(a,tp,19,dp))return"APPLIED_LABEL_CHANGE";if(bp(a,up,20,dp))return"PUBLISH_CHANGE";if(bp(a,vp,21,dp))return"LINK_SHARE_METADATA_CHANGE";throw Error("yb`"+a);},yp=function(a,b,c){var d=new wp;var e=xp(yp);d=D(d,20,e);a=zp(Ap(d,a),b?b:2);c&&Bp(a,c);return a},Ep=function(a){var b;Cp(a)?b=new G(null,a):Dp(a)?b=a:b=n.ErrorEvent&&
a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):typeof a==="string"?Error(a):Error("zb`"+a);b.stack||(b.stack=xp(Ep));return b},Hp=function(a,b){if(Cp(a))return b&&Ap(a,b),a;if(Dp(a)){if(a=Fp(a))return b&&Ap(a,b),a}else a=typeof a==="string"?Gp(a):Gp("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);zp(a,2);b&&Ap(a,b);return a},Fp=function(a){return a instanceof Error?Ip(a).qa:a instanceof G?a.qa:a},Ip=function(a,
b){if(Cp(a))return new G(b,a);a instanceof G||(a=Ep(a),a=new G(a.message,void 0,a));b&&(a.message=b+". "+a.message);return a},Dp=function(a){return a instanceof Error},Jp=function(a){var b=a.Le();a=a.fe();return b===15||b===32||b===33||a===401},Kp=function(a){return a.Le()===7||a.g()===24&&(a=a.fe(),a===503||a===429)?!0:!1},Lp=function(a){return a.g()===24&&(a=a.fe(),a===503||a===500||a===504)?!0:!1},Op=function(a,b){if(b&&Mp(b)){var c=42;var d="Response contains HTML payload."}else if(b==null?0:
b.text){if(c=11,d="Response JSON is invalid.",b==null?0:b.wl)d+=" JSON parse error details: "+b.wl}else c=43,d="Response is missing JSON.";c=Bp(new wp,c);a=go(a)+": "+d;d=Gca(b==null?void 0:b.headers);b="Response.text: "+((b==null?void 0:b.text)||"response text was empty.");a=Np(a,d);a=Np(a,b);b=new G(a,c);return Gm(b)},Mp=function(a){var b,c=(b=a.headers)==null?void 0:b["content-type"],d;a=(d=a.text)==null?void 0:d.trim().toLowerCase();return(c==null?void 0:c.includes("html"))||(a==null?void 0:a.includes("<html>"))||
(a==null?void 0:a.includes("<!doctype html>"))},Pp=function(a){a=Ip(a);var b=a.qa;b.B()||Ap(b,56);b.C()||zp(b,2);return a},Qp=function(){bh.call(this);this.j={}},Rp=function(a){bh.call(this);this.g=a},Tp=function(a){Qp.call(this);this.g=a;this.B=Sp(this.g,"message",this.ur,!1,this)},Wp=function(a){bh.call(this);this.g=new Up(a);this.o={};this.j=Vp(this.g,"private");this.B=Vp(this.g,"public");this.j.hg("mics",sj(this.D,this),!0)},Xp=function(){this.blockSize=-1},Yp=function(){this.blockSize=-1;this.blockSize=
64;this.g=Array(4);this.B=Array(this.blockSize);this.o=this.j=0;this.reset()},Zp=function(a){if(!a)return null;a=L(a,4);return a===null||a===void 0?null:Ch(a)},Kca=function(a){var b=Hca(a.toString()),c=b.Pr;b=b.Qr;var d=$p(a.j,void 0,a.g,a.o).toString(),e=Ica({ql:c,origin:d,ug:"cache-proxy-iframe",ar:function(){c.style.cssText="display: none;";document.body.appendChild(c)}});return{channel:new aq(Jca(window.document.getElementById(b).contentWindow,d),!0),ne:0,endpoint:a.toString(),Hp:e}},Hca=function(a){var b=
"cpiframe_"+bq();return{Pr:Lca("IFRAME",{name:b,id:b,src:a}),Qr:b}},fq=function(a){a=a.clone();a=N(a,44);a=N(a,98);a=N(a,91);var b=new Yp;b.update(cq(dq(a)));b.update(String(eq(dq(a))));b.update(a.aa());return ia(b.digest())},Mca=function(a){return gq(a.totalTimeMs)+"\t|\t"+a.level+"\t|\t"+a.logName+"\t|\t"+a.msg},gq=function(a){return a>1E3?(a/1E3).toFixed(1)+"s":a+"ms"},hq=function(a){if(Array.isArray(a))return a.map(hq).join("");if(L(a,2)){if(!a.getId())throw Error("Eb");return L(a,1)+"/"+L(a,
2)+","}return""},iq=function(a){switch(a){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},jq=function(){return n.location.origin?n.location.origin:n.location.protocol+"//"+n.location.host},kq=function(a){var b={};a=q(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=q(c.value);c=d.next().value;d=d.next().value;b[c.toLowerCase()]=d}return b},lq=function(a){if(oh(a))return"\r\n";var b="";fh(a,function(c,d){b+=d+": "+c+"\r\n"});return b},mq=function(a){return(a=a&&kq(a))&&
a["x-guploader-uploadid"]},nq=function(a){return(a=a&&kq(a))&&a["x-google-trace"]},Nca=function(a,b){var c=kq(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d},Oca=function(){},pq=function(a){return new oq(a.No-1,a.Tr,a.br,a.os,Object.fromEntries(a.np.map(function(b){return[b,!0]})),a.mD)},Pca=function(a){var b=[];a=q(a);for(var c=a.next();!c.done;c=a.next()){let e=c.value;if(!e)continue;let f=new Map;[].concat(r(qq(e)),[O(e,rq,17),O(e,rq,47),O(e,rq,91)]).forEach(function(h){h&&
f.set(L(h,11),h)});let g=[];c=q(f.values());for(var d=c.next();!d.done;d=c.next())if(d=d.value){let h=L(d,3),l=L(d,8);g.push(L(d,11)+"-"+((h?h.length:h)+"-")+((l?l.length:l)+"-")+Hl(d,16))}b.push(sq(e)+","+Wk(e)+","+(g.length?g.join(","):"-"))}return b.length?"People: "+b.join("|"):""},uq=function(a){return tq(a)},Kq=function(a){return a.key},Mq=function(a){return new Lq(a,null)},Oq=function(a,b){return b===void 0?Nq(a,hc):Nq(a,b)},Nq=function(a,b){return Ub(function(c){return Vb(Lq)(c)?a(c.value)&&
b(c.key):!1})},Pq=function(a){return Ub(function(b){return a(b)})},Qca=function(a,b){return b===void 0?Oq(ec(a,Qq),Pq(hc)):Oq(ec(a,Qq),Pq(b))},Rq=function(a){return a},Tca=function(a,b){if(a.getId()===b.getId()&&x(b,2)!==x(a,2)){Sq(a.setDescription(x(b,7)).setTitle(x(b,5)),x(b,4));b=new Map(z(b,Tq,3,B()).map(function(f){return[f.getId(),f]}));a=q(z(a,Tq,3,B()));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(c=b.get(d.getId()))switch(d.setTitle(x(c,11)),kk(d,Uq)){case 13:Vq(tk(d,Wq,13,Uq),
tk(c,Wq,13,Uq));break;case 14:c=new Map(Xq(tk(c,Yq,14,Uq)).map(function(f){return[x(f,2),f]}));d=q(Xq(tk(d,Yq,14,Uq)));for(var e=d.next();!e.done;e=d.next()){e=e.value;let f=c.get(x(e,2));f&&Vq(e,f)}break;case 15:Rca(tk(d,Zq,15,Uq),Sca(tk(c,Zq,15,Uq)))}}}},Vq=function(a,b){x(a,2)===x(b,2)&&(a=a.setTitle(x(b,1)).setDescription(x(b,3)),b=O(b,$q,4),K(a,4,b))},ar=function(a,b){return function(c){c=im(c,a);var d=c.vt;return Promise.resolve(b.apply(null,r(c.call.args))).then(function(e){return km(e,a,{aa:d}).payload})}},
cr=function(a){a=Ip(a).qa;a.B()||Ap(a,56);a.C()||zp(a,2);return lm(a,br).payload},Uca=function(a){return Ub(function(b){return Vb(dr)(b)&&a(b.response)})},er=function(a,b,c){if(typeof a==="number")var d={name:Vca(a)};else d=a,a=Wca(a.name);this.code=a;this.j=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);aa.call(this,b)},ir=function(a,b){b=b===void 0?[]:b;return new fr(new gr("responses",["status",new gr("shared_drive",hr(a,b,14))]))},jr=function(a,b,c){b=b===void 0?[]:b;return new (Function.prototype.bind.apply(fr,
[null].concat(r(hr(a,b,0,{Jd:c===void 0?!1:c})))))},lr=function(a){return function(b){var c=!b.anonymous,d=b.Yb||!b.anonymous;b=!b.Yb;var e=new gr(a,["kind","permissionId"]);b&&e.g("displayName","picture");c&&kr(e,b?"emailAddress":"emailAddressFromAccount");d&&kr(e,"id");return e}},nr=function(a,b){return mr(a,b.fields,14,b)},pr=function(a,b){return or(a,b,!0).toString()},Xca=function(a,b){a=new fr("kind","nextPageToken",new gr("items",qr(or(a,b,!0))),"incompleteSearch");b.additionalFields&&a.g.apply(a,
r(b.additionalFields));return a.toString()},Yca=function(a,b){a=new gr("items",["deleted","fileId","id","kind",new gr("file",qr(or(a,b,!0)))]);b.additionalFields&&a.g("teamDriveId",new gr("teamDrive",b.additionalFields));return(new fr("kind","largestChangeId","nextPageToken",a)).toString()},Zca=function(a,b,c){a=mr(a,c.fields,14,c);a=new rr("change",[new rr("deleted"),new rr("item_id"),new rr("id"),new rr("item_type"),new rr("item",sr(a))]);b&&tr(a,tr(new rr("shared_drive"),new rr("TD_PLACEHOLDER")));
c=new ur("largest_change_id","next_change_id");vr(c,a);return c.toString().replace("TD_PLACEHOLDER",b)},wr=function(a,b){return or(a,b).toString()},xr=function(a,b){a=nr(a,b);return sr(a).toString()},or=function(a,b,c){var d=new fr;c&&kr(d,"kind");b.Sr&&kr(d,"searchResultSource");c=d.g;var e=c.apply,f=mr(a,b.fields,0,b),g=new fr;f=q(f);for(var h=f.next();!h.done;h=f.next()){var l=h.value;if(a.configs[l]==null)continue;var m=h=void 0;l=a.configs[l];if(((m=l.config)==null?void 0:m.ua)!=null)if(m=(h=
l.config)==null?void 0:h.ua,m=yr(zr($ca,0),Ar(b))(m),m===void 0||m instanceof gr)h=m;else{h=new fr;m=q(m.split(","));for(l=m.next();!l.done;l=m.next())Br(h,l.value.split("/"),0);h=qr(h)}else h=void 0;h!==void 0&&(Array.isArray(h)?g.g.apply(g,r(h)):kr(g,h))}a=qr(g);e.call(c,d,r(a));return d},Cr=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"}},Dr=function(a){return a>=200&&a<300},Ir=function(a,b,c,d){if(a.length!==0){for(var e=new Set([].concat(r(a),r(ada),r([].concat(r(d.Ld.j.g))))),f=[].concat(r(Er.keys()),r(bda)).filter(function(p){return!e.has(p)}),
g=q(a),h=g.next();!h.done;h=g.next()){let p=cda.get(h.value);p&&(f=f.filter(function(t){return!p.has(t)}))}f=f.filter(function(p){return!(dda.has(p)&&a.some(function(t){return eda.has(t)}))});var l=a.some(function(p){return fda.has(p)});f=f.filter(function(p){return!(gda.has(p)&&l)});for(g=0;g<c.length;g++)Fr(c[g],f,d);var m=new Set([].concat(r(b),r(d.Bd())));if(m.size>0)for(b=q(c),c=b.next();!c.done;c=b.next())c=c.value,Gr(c).length>0&&Hr(c,Gr(c).filter(function(p){return m.has(Hl(p,6))}))}},Fr=
function(a,b,c){for(let f=0;f<b.length;f++){var d=a,e=b[f];Jr(c,e)&&c.clear(e).from(d)}},hda=function(a,b,c){return b.every(function(d){return Jr(c,d)?c.has(d).Eb(a):!1})},Kr=function(a,b,c,d){b=b.clone();c=q(c);for(var e=c.next();!e.done;e=c.next()){let f=e.value;e=b;Jr(d,f)&&d.has(f).Eb(e)&&Jr(d,f)&&d.Ob([f]).from(b).wo(a)}},Mr=function(a,b,c,d,e){c=ida(c,a);return Lr(b,c)&&(a.includes(329)?jda(d,e):!0)},jda=function(a,b){var c=new Set(b);return a.every(function(d){return c.has(d)})},kda=function(a,
b){var c=new Set(b.concat(Nr));return a.filter(function(d){return!c.has(d)})},Lr=function(a,b){var c=Nr;c=c===void 0?[]:c;var d=new Set(a.concat(c));return b.every(function(e){return d.has(e)})},ida=function(a,b){var c=Or[a];return b.filter(function(d){return!c||!c.has(d)})},lda=function(a,b){return b>=0?!a||a<=b:!0},Pr=function(a){var b=new Set;a=q(a.Ud());for(var c=a.next();!c.done;c=a.next())c=c.value,c.Zb()&&c.getItem().getId()&&b.add(c.getItem().getId());return[].concat(r(b))},Tr=function(a,
b,c,d,e,f,g,h){return Qr(a,b,8,void 0,g,h).then(function(l){var m=!1;if(l[0]&&(l=l[0],(m=c.get().set(l.V(),l.ab(),f))&&l.Sa().length)){let t=l.Sa(Rr);l=q(t);for(var p=l.next();!p.done;p=l.next())Sr(p.value,e);d.Ta(t,1)}return m},function(){return!1})},Wr=function(a){var b=(new Ur).setStatus(6);b=Vr(b,3,Date.now());if(P(a,1)){var c=a.Zn();I(b,4,c)}if(a.mj()===0)b.setStatus(1);else if(a.mj()>0)for(b.ck(a.Ud()),a=q(b.Ud()),c=a.next();!c.done;c=a.next())(c=c.value.getItem())&&c.qc(4);return b},Zr=function(a,
b){if(b=O(b,Xr,7))a=Yr(a),a=mda.has(a),b=H(b,1,a?4:3),H(b,4,5)},$r=function(a){var b=new Set;a=q([].concat(r(a.qe()),r(a.re())));for(var c=a.next();!c.done;c=a.next())c=c.value,c.Zb()&&c.getItem().getId()&&b.add(c.getItem().getId());return[].concat(r(b))},as=function(a,b,c,d,e,f,g,h){return Qr(a,b,12,void 0,g,h).then(function(l){var m=!1;if(l[0]&&(l=l[0],(m=c.get().set(l.V(),l.ab(),f))&&l.Sa().length)){let t=l.Sa(Rr);l=q(t);for(var p=l.next();!p.done;p=l.next())Sr(p.value,e);d.Ta(t,1)}return m},function(){return!1})},
gs=function(a,b,c){for(var d=Date.now(),e=nda(d).ki(b.qe()).li(b.re()),f=q([].concat(r(e.qe().map(function(h){return h.getItem()})),r(e.re().map(function(h){return h.getItem()})))),g=f.next();!g.done;g=f.next())if(g=g.value)bs(c,g,new Set(cs(a,5,B()))),g.qc(4);ds(b,es,7)&&(a=fs(d,O(b,es,7)))&&K(e,14,a);ds(b,es,8)&&(b=fs(d,O(b,es,8)))&&K(e,15,b);return e},fs=function(a,b){var c;(b=(c=Sg(hs(b,1)))!=null?c:0)?(c=new Date(a+b*1E3),a=new uk,c=c.getTime(),Number.isFinite(c)||(c=0),a=Ge(a,1,Pc(Math.floor(c/
1E3)),"0"),a=is(a,2,(c%1E3+1E3)%1E3*1E6)):a=null;return a},js=function(a){a=Ip(a).qa;a.B()||Ap(a,56);a.C()||zp(a,2);return lm(a,br).payload},ks=function(a){this.j=0;this.o=a||100;this.g=[]},ls=function(a){this.g=a},ms=function(a){this.g=a},ns=function(a){vh.call(this);this.g=a;this.j=new ji(this);this.j.listen(this.g,"abort",sj(this.dispatchEvent,this,"abort"));this.j.listen(this.g,"error",this.iq);this.j.listen(this.g,"versionchange",this.xr);this.j.listen(this.g,"close",sj(this.dispatchEvent,this,
"close"))},ps=function(){os==void 0&&(os=n.indexedDB||n.mozIndexedDB||n.webkitIndexedDB||n.moz_indexedDB);return os},ts=function(a,b,c,d){var e=new yk;b=b?ps().open(a,b):ps().open(a);b.onsuccess=function(f){f=new ns(f.target.result);e.callback(f)};b.onerror=function(f){e.Va(qs(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var g=new ns(f.target.result);c(new rs(f.oldVersion,f.newVersion),g,new ss(f.target.transaction,g))}};b.onblocked=function(f){d&&d(new rs(f.oldVersion,f.newVersion))};
return e},oda=function(){var a=new yk,b=ps().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Va(qs(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a},As=function(a,b,c){var d=new us;vs(ws(a,[xs.mg],ys.READ_ONLY).objectStore(xs.mg).getAll(),function(e){e=Object.values(e).map(function(f){return zs(f)}).filter(function(f){return f!=null});d.resolve(e.filter(function(f){return(!b||f.userId===b)&&(!c||f.clientId===c)}))},d.reject);
return d.promise},pda=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a=q(a);for(var e=a.next();!e.done;e=a.next())(e=Bs(e.value))&&(d[e.index]=e);if(!d[0])return b.reject(Error("vc")),0;a=d[0].timestamp;if(!a)return b.reject(Error("wc")),0;e=d[0].size;if(!e)return b.reject(Error("xc")),0;if(e>d.length)return b.reject(Error("yc`"+e+"`"+d.length)),0;for(let f=0;f<e;f++)if(!d[f]||d[f].size!==e||d[f].timestamp!==a)return b.reject(Error("zc`"+e)),0;if(c&&a<c)return b.reject(Error("Ac`"+
a+"`"+c)),d.length>e?e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},Ds=function(a,b,c,d){if(a.length){var e=xs.ah,f=a.shift(),g=Cs(f,3,0,1);try{ws(c,[e],ys.READ_ONLY).objectStore(e).get(g).then(function(h){(h=Bs(h))&&(!h.encrypted||h.encrypted&&d.has(f.o))?b.resolve(f):Ds(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},qda=function(a){var b=[],c="";if(Es(a)){b=[].concat(r(a.ab().Sa()));var d=C(a,2);c=a.Bb()}else if(Fs(a))a.getItem()&&
b.push(a.getItem()),d=C(a,16);else throw new G(void 0,Hp(Error("Cc"),52));return[d,c,b]},rda=function(a){a={t:a.title,d:a.description,c:a.component,fi:a.cl,dti:a.Tk,a:a.attachments?a.attachments.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.On})}):void 0};return JSON.stringify(a)},sda=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,component:a.c,cl:a.fi,Tk:a.dti,attachments:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,
On:b.ec}}):void 0}},Is=async function(a,b,c,d,e,f){var g=lh(e),h=lh(f);g=Qm("Drive Upload Report: %d/%d failed",h,g);a=Gs(a);d=[].concat(r(d));d.push("Batch query interval: "+zn(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+Sg(hs(a,32,jc(1073741824)))/1024/1024+" MiB");d.push("Max batch upload file size: "+Sg(hs(a,33,jc(1048576)))/1024/1024+" MiB");d.push("Max files in an upload batch: "+zn(a,35,10)+" files");d.push("Max files in a non-upload batch: "+zn(a,10,50)+" files");d=d.join("\n");
a=[];h=[];for(var l=q(Object.values(e)),m=l.next();!m.done;m=l.next())h.push(await tda(m.value));a.push({name:"AllUploadRequests.txt",content:h.join("\n---------\n")});a.push({name:"DataserviceLogs.txt",content:Hs(b)});b=q(Object.entries(f));for(f=b.next();!f.done;f=b.next()){f=q(f.value);m=f.next().value;l=f.next().value;f=a;h=f.push;m=e[m].request;m=Qm('ErrorResponseFor"%s"(ID:%s).txt',m.yk()||"",m.xk()||"");var p=l.qa;p=p?L(p,4):"No detail.";h.call(f,{name:m,content:l.toString()+"\n"+p})}return{title:g,
description:d,attachments:a,component:152391,cl:c,Tk:361003}},tda=async function(a){var b=[];b.push(uda(a.request));if(a.file){var c=b.push,d=a.file;let e=[];e.push("Size: "+d.size);d.type&&e.push("Type: "+d.type);d.lastModified&&e.push("Last modified: "+d.lastModified);c.call(b,"File: "+e.join("; "))}a.dc&&b.push("# of retries by client: "+a.dc);b.push("State: "+await vda(a));return b.join("\n")},uda=function(a){a=wda(a);return Object.entries(a).filter(function(b){b=q(b);b.next();return b.next().value}).map(function(b){var c=
q(b);b=c.next().value;c=c.next().value;return b+": "+c}).join("; ")},wda=function(a){return{Title:a.yk(),Type:a.Oc(),Parents:a.Pc(),Convert:a.qf(),ID:a.xk()}},vda=async function(a){if(!a.ld)return"Not yet executed.";if(!await cm(a.ea.promise))return"In progress.";try{return await a.ea.promise,"Completed successfully."}catch(b){return b instanceof Bk?"Canceled.":"Completed with failure. See attachment."}},xda=function(a,b,c,d){var e=e===void 0?!1:e;var f=new Js(a);(new Ks(a,b,c,f,void 0,d,e)).run();
return f},Ms=function(a,b,c,d){return dm(a(),c,function(){return new Ls}).catch(function(e){if(e instanceof Ls&&d>0)return b(e),Ms(a,b,c,d-1);throw e;})},Qs=function(a){var b=Ns(a);if(b)return b;b=new Os;Ps(a,b);return b},Ss=function(a){return a!=null&&!Rs(a)},Ws=function(a){if(Sk(a))Ts(Us(a,!0),!0);else if(Sk(a,!0)){var b=Rk(a);if(b=b&&Vs(b))Ts(Us(b,!0),!0),Ts(Us(a,!0),!0)}},Us=function(a,b){var c=O(a,Xs,81);c||(c=new Xs,b&&K(a,81,c));return c},Ys=function(a){return!!O(a,Xs,81)&&!Sk(a)},yda=function(a){var b=
[];Za(a,function(c){Wk(c)!==3&&(ds(c,Xs,81)&&(c=c.clone(),N(c,81)),b.push(c))});return b},Zs=function(a){return a.status==="fulfilled"},$s=function(a,b){return{id:a,result:{status:"rejected",reason:b}}},at=function(a,b){return{id:a,result:{status:"fulfilled",value:b}}},bt=function(){this.j=[];this.g=[]},dt=function(a){ct("drive.DebugUtil.clearCache",function(){a.aj()});ct("drive.DebugUtil.printFindById",function(c){a.ij(c).then(function(d){window.console.log(d?"http://go/drivedsitem?protojspb="+encodeURIComponent(d.aa()):
"Item not found")})});ct("drive.DebugUtil.printDsConfig",function(){var c=a.getContext().F.clone();c=N(c,91);c=N(c,44);c=N(c,98);window.console.log("http://go/drivedsconfig?protojspb="+encodeURIComponent(c.aa()))});ct("drive.DebugUtil.getLogs",function(){return Hs(a.Oe())});ct("drive.DebugUtil.printLogs",function(){window.console.log(Hs(a.Oe()))});ct("drive.DebugUtil.printRequestHistory",function(){a.Bf().then(function(c){c.forEach(function(d){window.console.log(L(d,1));window.console.log(L(d,2))})})});
ct("drive.DebugUtil.getState",function(){return a.getState()});var b=a.bo();b&&Q(b,1)&&(ct("drive.DebugUtil.getContext",function(){return a.getContext()}),ct("drive.DebugUtil.setOffline",function(c){return void a.oc(c)}))},mt=function(a,b){if(E(b,105)||et(b))return Promise.resolve();var c=[a.pf.promise];Q(b,10)||c.push(a.Ze.promise);return Promise.all(c).then(function(){for(var d=[],e=q(z(b,Uo,44,B())),f=e.next();!f.done;f=e.next())f=f.value,d.push(a.ha().vf(f));if(e=O(b,ft,98))for(e=z(e,gt,1,B()).filter(function(g){return Q(b,
10)?!0:!Um(g,1)}),e=q(e),f=e.next();!f.done;f=e.next())f=f.value,bp(f,ht,3,it)?d.push(a.Nd.get().sync(tk(f,ht,3,it),Tg(jt(f,2)))):bp(f,Uo,4,it)?d.push(a.ha().vf(tk(f,Uo,4,it))):bp(f,kt,5,it)?d.push(a.Yd.get().sync(tk(f,kt,5,it),Tg(jt(f,2)))):bp(f,lt,6,it)?d.push(a.De.get().sync(tk(f,lt,6,it),Tg(jt(f,2)))):d.push(Promise.reject(new G("Unsupported cached query",new wp)));return Promise.all(d).then(function(){})})},nt=function(a,b,c,d){this.B=a;this.C=b;this.g=this.o=a;this.D=c||0;this.G=d||2},ot=function(a,
b,c,d,e,f){return Qr(a,b,7,void 0,e,f).then(function(g){var h=!1;g[0]&&(g=g[0],h=c.get().j.set(g.V(),g.ab(),d));return h},function(){return!1})},Dda=function(a,b,c,d,e,f,g,h,l){var m=new pt,p=void 0;b&&(p=new qt(c));c=new rt(e,m,p);c.o||(c.o="t");f.listen(c,"t",function(w){zda(w,g,h,l)});f=new Ada(Sg(Bda(Gs(a))),m,Cda(c));var t=new st(d,c,f);if(p){a=tt(ut(a));let w=a[0]&&L(a[0],2)||"";vt(p,function(){return ot(b,w,new wt(function(){return t}),3)})}return t},xt=function(a){return a.map(function(b){return b.getItem()})},
Eda=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b},yt=function(a){return a+Math.max(100,a*.2)},zt=function(a,b,c){this.blockSize=-1;this.g=a;this.blockSize=c||a.blockSize||16;this.o=Array(this.blockSize);this.j=Array(this.blockSize);a=b;a.length>this.blockSize&&(this.g.update(a),a=this.g.digest(),this.g.reset());for(c=0;c<this.blockSize;c++)b=c<a.length?a[c]:0,this.o[c]=b^92,this.j[c]=b^54;this.g.update(this.j)},Fda=function(a){var b=a.command;a=a.payload;if(b==="encrypt"){b=
a.dumps;var c=[];a=new At(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 At(a.key);for(d=0;d<b.length;d++)c.push(a.decrypt(b[d]));a=c}else throw Error("Rc`"+b);return a},Ct=function(a,b){bh.call(this);this.B=a||0;this.o=b||10;if(this.B>this.o)throw Error("Sc");this.g=new bt;this.j=new Set;this.delay=0;this.lastAccess=null;Bt(this)},Ft=function(a){a=fa(a);var b=0,c=a.length,d={a:-1640531527,b:-1640531527,c:314159265},e;for(e=c;e>=12;e-=12,
b+=12)d.a+=Dt(a,b),d.b+=Dt(a,b+4),d.c+=Dt(a,b+8),Et(d);d.c+=c;switch(e){case 11:d.c+=a[b+10]<<24;case 10:d.c+=(a[b+9]&255)<<16;case 9:d.c+=(a[b+8]&255)<<8;case 8:d.b+=Dt(a,b+4);d.a+=Dt(a,b);break;case 7:d.b+=(a[b+6]&255)<<16;case 6:d.b+=(a[b+5]&255)<<8;case 5:d.b+=a[b+4]&255;case 4:d.a+=Dt(a,b);break;case 3:d.a+=(a[b+2]&255)<<16;case 2:d.a+=(a[b+1]&255)<<8;case 1:d.a+=a[b]&255}return Et(d)},Et=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},Dt=function(a,b){return Gt(a[b])+(Gt(a[b+1])<<8)+(Gt(a[b+2])<<16)+(Gt(a[b+3])<<24)},Gt=function(a){return a>127?a-256:a},Kt=function(a){var b;((b=O(a,Ht,34))==null?0:It(b,15))?(a=ut(a),a=Jt(a,15)):a=Yr(a);return a},Hda=function(a,b,c,d){if(!Lt()||!Mt(ut(a))||Nt(dq(a)))return null;var e=cq(dq(a)),f=Kt(a),g=function(){},h=tt(ut(a));h=h[0]&&C(h[0],1);var l=new Ot(e,f,Pt(ut(a))||0,h||"",b.zb(),b.Bd());
e=et(a)?Qt(e,f).then(function(p){return p?p:l}):Q(a,10)?(b=Gda(a))?Qt(e,f,b).then(function(p){return p&&(g=function(t){t.oc(l).then(null,function(){})},!p.B)?p:l}):Promise.resolve(l):Promise.resolve(l);var m=new Rt(e,c,d,St(ut(a)));m.initialize().then(function(){g(m)},function(){return null});return m},Kda=function(a,b,c){Lt()&&Mt(ut(a))&&!Nt(dq(a))&&Ida(b).then(function(d){(!d||d<Date.now()-864E5)&&Jda(cq(dq(a)),Kt(a),c).then(function(e){e&&b.set(Tt,Date.now())},function(){})})},Lda=function(a,b,
c){b.da("sync.api.Dump").info("Requesting dump stats.");b=Ut(Vt(Wt(new R,305),!1),2);var d,e,f=((e=(d=Xl(c))==null?void 0:zn(d,76))!=null?e:0)>0,g=Xt(Yt(new ht,b),[f?"account.storage_settings.linked_changelog_size":"account.storage_settings.corpus_size"]);return a.then(function(h){return h.route(g).then(function(l){var m;a:{if(f){var p,t=(m=l.oe())==null?void 0:(p=O(m,Zt,10))==null?void 0:$t(p,3);if(t!==void 0){m=new au;m=J(m,5,t);break a}}else{let w;m=Tg((t=l.oe())==null?void 0:(w=O(t,Zt,10))==null?
void 0:jt(w,2));if(m!==void 0){p=new au;m=J(p,3,m);break a}}m=null}return m},function(){return null})})},bu=function(a){var b,c;return(c=(b=Rk(a))==null?void 0:Vs(b))!=null?c:null},cu=function(a,b,c){bh.call(this);this.H=c!=null?sj(a,c):a;this.G=b;this.D=sj(this.lq,this);this.j=!1;this.o=0;this.B=this.g=null;this.C=[]},eu=function(a){a=du(Bp(zp(new wp,2),39),"Multiple resource key definitions found for itemId "+a);throw Ip(a);},mu=function(a,b,c,d,e,f){var g=a.X===void 0?0:a.X,h=a.ma===void 0?{}:
a.ma,l=a.Y===void 0?{}:a.Y,m=a.method===void 0?"GET":a.method,p=a.fa,t=a.json,w=a.body,A=b.ef,M=b.Za;b=b.yt;a=new bi(a.U);M&&(d&&d.length?(M=d.length,d=Ba(d).Et,h.retryCount=M,h.msSinceLastAttempt=Math.min(Date.now()-d,2147483647),p!=null&&J(p,5,M),p!=null&&Vr(p,7,d)):(h.retryCount=0,p!=null&&J(p,5,0)));if([0,1,2,3,4].includes(g)&&A||g===14&&p!=null)p&&Tn(p,1)||f==null||fu(f,74438989);![0,1,2,3,4].includes(g)||l["x-goog-ext-525001598-jspb"]||b||(A=gu(p),l["x-goog-ext-525001598-jspb"]=eb(A.aa()));
g===14&&p&&(hu(l,p),iu(l,c),l["accept-language"]=ju(ku(e)),lu(l,p));h.alt==="protojson"&&(c.Xl=!0);![10,12,13,14].includes(g)&&p&&(Sm({openDrive:!!Q(p,2),reason:Tn(p,1)||0,syncType:Tn(p,3)||0,errorRecovery:!!Q(p,4)},a),C(p,8)&&Sm({OriginatorHint:C(p,8)},a));(c=C(e,62))&&(l["X-Goog-Drive-Client-Version"]=c);Sm(h,a);if(a.toString().length>=16384)throw f&&fu(f,220919404),new G("BuildXhrRequest: URI was longer than 16384 bytes (b/220919404)");return{X:g,headers:l,method:m,uri:a,body:t?JSON.stringify(t):
w}},hu=function(a,b){b=gu(b);a["x-goog-ext-472780938-jspb"]=eb(b.aa())},iu=function(a,b){b.criticality!=null&&(a["x-goog-ext-174067345-bin"]=b.criticality)},lu=function(a,b){var c=nu(b);if(c){var d;b=(d=C(c,1))!=null?d:"";let e;d=(e=C(c,2))!=null?e:"";la(d)||la(b)||(a[ou]=eb(pu((new qu).Cc(b),d).aa().trim()))}},gu=function(a){a=a?a.clone():new R;ru(su(a));return Fl(tu(uu(Mda()),a))},vu=function(a,b,c,d){if(b&&b.length&&c){c=a.concat(Nda(c,b));var e=e===void 0?!1:e;a=new Map;b=[];c=q(c);for(var f=
c.next();!f.done;f=c.next()){f=f.value;let g=f.getId();a.has(g)?e&&a.get(g)!==L(f,2)&&eu(g):(a.set(g,L(f,2)),b.push(f))}e=b}else e=a;e.length&&(e=hq(e),e.length&&(d["X-Goog-Drive-Resource-Keys"]=e))},gv=function(a){var b=new wu;var c=xu(a);b=yu(b,1,c);c=E(a,10);b=I(b,2,c);c=z(a,zu,5,B());b=yu(b,3,c);c=E(a,11);b=I(b,4,c);c=E(a,9);b=I(b,5,c);c=E(a,65);b=I(b,6,c);c=Au(Oda,Jt(a,42));b=H(b,7,c);c=E(a,69);b=I(b,8,c);c=Bu(a);b=yu(b,9,c);c=E(a,17);b=I(b,10,c);c=E(a,72);b=I(b,11,c);c=C(a,54);b=D(b,12,c);c=
z(a,Cu,67,B());b=yu(b,13,c);c=z(a,Cu,68,B());b=yu(b,14,c);c=z(a,Du,78,B());b=yu(b,15,c);c=z(a,Eu,44,B());b=yu(b,16,c);c=E(a,16)?!0:void 0;b=I(b,17,c);c=E(a,50);b=I(b,19,c);c=C(a,43);b=D(b,20,c);c=O(a,Fu,59);b=K(b,21,c);c=E(a,66);b=I(b,22,c);c=z(a,Gu,57,B());b=yu(b,23,c);c=Hu(a);b=K(b,25,c);c=z(a,Iu,100,B());b=yu(b,26,c);c=F(a,39,B());b=Ju(b,27,c);c=F(a,40,B());b=Ju(b,28,c);c=Au(Pda,Jt(a,41));b=H(b,29,c);c=E(a,73);b=I(b,30,c);c=z(a,Ku,7,B());b=yu(b,31,c);c=z(a,Ku,8,B());b=yu(b,32,c);c=O(a,Cu,58);b=
K(b,34,c);c=Lu(a);b=yu(b,35,c);c=Mu(a);b=yu(b,36,c);c=z(a,Ku,79,B());b=yu(b,37,c);c=Au(Qda,Jt(a,45));b=H(b,38,c);c=z(a,Cu,15,B());b=yu(b,39,c);c=Nu(a);b=Ju(b,40,c);c=z(a,Ou,37,B());b=yu(b,41,c);c=z(a,Cu,13,B());b=yu(b,42,c);c=E(a,34);b=I(b,43,c);c=dv(a);b=yu(b,44,c);c=z(a,Cu,14,B());b=yu(b,45,c);c=E(a,18);b=I(b,46,c);c=O(a,ev,86);b=K(b,47,c);c=O(a,fv,64);b=K(b,48,c);c=E(a,88);b=I(b,50,c);a=Rda(cs(a,91,B()));return Fe(b,51,a,Dc)},Wda=function(a,b,c,d){var e=On(a)?a.V():a,f=e.I(),g={};g.q=hv(e);var h=
iv(c,e.Ca());Ta(h);var l=void 0,m=!1;z(e,zu,5,B()).length>0&&(l=Sda(Gs(b)),m=!0);var p;g.fields=Xca(c,{fields:h,anonymous:Nt(dq(b)),additionalFields:((p=l)==null?void 0:p.split(",").map(function(A){return new gr(A)}))||void 0,Yb:jv(b),Sr:m});g.appDataFilter="NO_APP_DATA";z(e,kv,25,B()).length>0&&(g.sources=lv(e));Mu(e).length>0&&(g.spaces=mv(e));a.xc()&&(g.pageToken=a.Bb());(a=O(a,Zo,1))&&zn(a,1,1E3)&&(g.maxResults=zn(a,1,1E3));P(e,36)&&(g.includeUnsubscribed=E(e,36));S(e,43)&&(g.rawUserQuery=C(e,
43));c.Re(241)&&(g.includeBadgedLabels=!0);g.supportsTeamDrives=!0;g.includeItemsFromAllDrives=Q(e,66,!0);Nu(e).length>0&&nv(e)===2&&(c=Nu(e)[0],g.teamDriveId=c);g.corpora=ov[nv(e)];E(e,18)&&(delete g.corpora,g.corpus="DOMAIN");c={};var t;if(a=(t=e.I())==null?void 0:nu(t))t=C(a,1),a=C(a,2),t&&t.length>0&&a&&a.length>0&&(c[ou]=pu((new qu).Cc(t),a).aa().trim());t=pv(e);vu(z(e,qv,63,B(Rr)),t,d,c);var w;d=(w=e.I())!=null?w:new R;ru(su(d));w=rv(tu(new sv,d),Tda(new tv,uv(e.clone())));d=eb(w.aa());d.length>=
5120&&(Uda(O(w,tv,2)),d=eb(w.aa()));c["x-goog-ext-525001598-jspb"]=d;Aca(g,Hu(e));Q(b,14)&&(g.useLegacyDomainPermissionBehavior=!1);O(e,fv,64)&&(b=Vda(O(e,fv,64)),b=bb(b,4),g.searchSessionData=b);return{parts:{X:0,U:"files",ma:g,Y:c,method:"GET",fa:f},options:{Za:!0,yt:!0}}},pv=function(a){var b=[],c=dv(a),d=Lu(a),e=z(a,vv,38,B());a=Nu(a);b.push.apply(b,r(c.filter(function(f){return!f.Ya()&&S(f,1)}).map(function(f){return f.Ia()}).concat(d.filter(function(f){return S(f,1)}).map(function(f){return f.Ia()})).concat(e.filter(function(f){return S(f,
1)}).map(function(f){return f.Ia()})).concat(a)));return b},Au=function(a,b){return b==null?void 0:a[b]},Rda=function(a){var b=Xda;return a?wv(a,function(c){return b[c]}):[]},Yda=function(a){return Wo(xv(new Uo,[(new yv).setValue(a)]),Wt(new R,1490))},$da=function(a,b,c,d,e,f,g,h){var l=void 0;b&&(l=new qt(c));var m=new zv(e,f.Oa,l);m.o||(m.o="y");g.listen(m,"y",function(p){Zda(p,h,f)});if(l){c=tt(ut(a));let p=c[0]&&L(c[0],2)||"";vt(l,function(){return Tr(b,p,new wt(function(){return m}),f,4,3)})}return new Av(d,
m,f.kg,a)},aea=function(a,b){b=b.clone();for(var c=q([].concat(r(b.qe()),r(b.re()))),d=c.next();!d.done;d=c.next()){var e=d.value;if(d=e.getItem())if(Bv(d,e.lj()),Qs(d),e=O(e,Cv,8)){var f=new Set(cs(a,5,B()));if(bp(e,Dv,1,Ev))f.has(14)&&!qq(d).length&&(e=tk(e,Dv,1,Ev),f=Fv(Gv(Hv(1),x(e,1)),x(e,2)),f=H(f,16,2),O(e,Iv,3)&&(e=O(e,Iv,3),Jv(Kv(Lv(Mv(f,x(e,1)),Q(e,2)),x(e,3)),x(e,4))),Nv(d,[f]));else if(bp(e,Ov,2,Ev)){if(e=f.has(90))e=Ns(d),e=!P(e,16);e&&Pv(Ns(d),!0)}else bp(e,Qv,3,Ev)&&f.has(95)&&!S(d,
93)&&(e=tk(e,Qv,3,Ev),e=x(e,1),Rv(d,e))}}return b},cea=function(a,b,c,d,e,f,g,h,l,m){var p=void 0;b&&(p=new qt(c));var t=new Sv(e,f.Oa,p);t.o||(t.o="z");g.listen(t,"z",function(w){bea(w,h,f,m)});if(p){a=tt(ut(a));let w=a[0]&&C(a[0],2)||"";vt(p,function(){return as(b,w,new wt(function(){return t}),f,4,3)})}return new Tv(d,t,l,m)},dea=function(a){var b=cq(dq(a));a=ut(a);a=hs(a,17,jc(72E5));a=Sg(a);if(a>0)return Math.abs(Ft(b))%a},eea=function(a,b){var c=Date.now();return function(d){return{value:d,
la:a,ub:b,Dj:c}}},Uv=function(a){return function(b){return tq([b.key,a(b.value)])}},fea=function(){return!0},gea=function(a,b){return a.value!==b.value},Vv=function(a){return a===3||a===7},Wv=function(a){var b=a.value;a=a.status;return{value:a===1?b:null,status:a,la:1,ub:1,fb:!1}},Xv=function(a){return function*(){for(var b=q(a.entries()),c=b.next();!c.done;c=b.next())yield tq(c.value)}()},hea=function(a){return Object.entries(a).map(function(b){var c=q(b);b=c.next().value;c=c.next().value;return tq([b,
c])})},iea=function(a,b,c){b.length>1024&&(b=b.substring(0,1024));a=a.toLowerCase();b=b.toLowerCase();if(c===2)return b===a;c=[];if(b.indexOf("-")>=0){for(var d=q(b.match(Yv)||[]),e=d.next();!e.done;e=d.next())c.push(e.value);b=b.replace(Yv,"")}c.push.apply(c,r(b.split(/\b/)));b=Math.min(c.length,32);for(d=0;d<b;d++){var f=c[d];e=!0;if(f.trim().length===0)continue;f.length>256&&(f=f.substring(0,256));f.replace(/\./g,"").length===0&&(e=!1);f=String(f).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,
"\\x08");e=e?new RegExp("(^|[^\\w]|_)"+f+"($|[^\\w]|_)|(^|[ ])"+f):new RegExp(f);try{if(!a.match(e))return!1}catch(g){return!1}}return!0},Zv=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(r(a));e.length>b&&(a=e.slice(0,b).join(""))}b=new Set;a=q(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=q(e);for(f=e.next();!f.done;f=e.next())b.add(f.value.toLowerCase());b.add(c.toLowerCase())}return b},jea=function(a,b){b=[].concat(r(Zv(b,1024))).filter(function(d){return d.trim().length>0});if(!b.length)return!1;b=q(b);for(var c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;return!0},bw=function(a,b){var c=new bi(x(b,16)+"/open"),d=sq(a);Qk(a)&&(d=Tk(a));$v(c,"id",d);aw(ku(b))||$v(c,"authuser",eq(ku(b)));
S(a,140)&&$v(c,"resourcekey",L(a,140));return c.toString()},kea=function(a,b){b=Object.entries(b);return b.length===0?a:a+"?"+b.map(function(c){var d=q(c);c=d.next().value;d=d.next().value;return c+"="+d}).join("&")},lea=function(a,b,c){return function(){var d=cw(a,106046);if(!d)return null;var e=dw(ew(d));b>0?J(e,2,b):J(e,4,c);return d}},mea=function(a,b){if(b instanceof Ao){a=dw(ew(a));try{let c,d=Number((c=jt(a,1))!=null?c:0);Vr(a,1,jc(d+Number(b.file.size)))}catch(c){}}},nea=function(a,b){var c=
dw(ew(a));return b.then(function(d){if(Fs(d)){var e;d=(e=d.na())!=null?e:1;e=fw(d);gw(c,3,e);d===8&&gw(c,5,2)}},function(d){var e=fw(3);gw(c,3,e);d=Ip(d);(d=hw(d))&&gw(c,5,d)})},iw=function(){vh.call(this);this.g=new FileReader;this.g.onloadstart=sj(this.wg,this);this.g.onprogress=sj(this.wg,this);this.g.onload=sj(this.wg,this);this.g.onabort=sj(this.wg,this);this.g.onerror=sj(this.wg,this);this.g.onloadend=sj(this.wg,this)},pea=function(a,b,c,d,e,f,g,h,l,m){b=new oea(a,b,c,d,e,f,h,m,g);a={};c=jw(kw(lw(mw(b.j,
"immediate"),b.B),new nw),new ow);c.D=!0;a[1]=c.build();a[2]=jw(lw(mw(b.j,"connected"),b.B).g(new pw(b.o,b.P),new qw),new ow).og(rw(b)).build();a[3]=sw(b,"batch");c=zn(b.g,10,50);c=lw(mw(b.j,"batched_mutation"),b.B).g(new tw(c,zn(b.g,11,100)),new uw(c),new pw(b.o,b.P)).Ek(new vw(b.g,b.C)).Yq(rw(b)).build();a[4]=c;c=ww(b.F,xw,103);c=$t(c,79);d=c!=null?c:0;c=zn(b.g,10,50);d=d>0?d:c;d=lw(mw(b.j,"dfe_mutation"),b.H).g(new tw(d,zn(b.g,11,100)));e=ww(b.F,xw,103);Q(e,78)||kw(d,new uw(Math.min(c*3,50)));
kw(d,new pw(b.o,b.P)).Ek(new vw(b.g,b.C)).og(rw(b));c=d.build();a[9]=c;l=new yw(l,b.N,b.P,b.G,Sg(hs(b.g,32,jc(1073741824))),Sg(hs(b.g,21,jc(1E3))));l=new zw(l);c=zn(b.g,46,1);c=new Aw(c);d=new Bw(c);l=jw(kw(lw(mw(b.j,"resumable_upload"),l),c),d).build();a[5]=l;a[6]=sw(b,"find_by_ids_batch");a[8]=sw(b,"xd4_batch_one",1);l=Gs(b.F);l=$t(l,72);l=l!=null?l:16;c=zn(b.g,10,50);d=b.ba;e=zn(b.g,11,100);b=lw(mw(b.j,"multipart_upload"),d).g(new pw(b.o,b.P),new Cw(lea(b.G,l,c),e,mea,nea),new uw(l)).Ek(new Dw,
new ow).og(rw(b)).build();return a[10]=b,a},Fw=function(a,b,c){return new G(a,Bp(Ew(new wp,c),b))},qea=function(a){var b=[],c=[],d=!1,e=function(){if(c.length===0)d=!1;else{d=!0;for(var f=Date.now();b.length>0&&f-b[0]>=1E3;)b.shift();if(b.length<16){let g=c.shift();b.push(f);g&&g();e()}else setTimeout(e,b[0]+1E3-f)}};return function(){var f=cc.apply(0,arguments),g=this;return new Promise(function(h,l){c.push(function(){try{Promise.resolve(a.apply(g,f)).then(function(m){return void h(m)}).catch(l)}catch(m){l(m)}});
d||e()})}},rea=function(a,b,c){var d=c.I(a.ta.R),e=c.I(b.ta.R);if(c.Ql&&!c.Ql(a.ta.R,b.ta.R))a=!1;else{if(d=Gw(d,e))d=a.ta.config,e=b.ta.config,d=d.Jh===e.Jh&&d.fd===e.fd&&d.isAnonymous===e.isAnonymous&&d.We===e.We&&d.jk===e.jk&&d.kk===e.kk&&d.hb===e.hb&&d.Ye===e.Ye&&d.Tl===e.Tl&&d.ag===e.ag&&d.gk===e.gk&&d.Xl===e.Xl;a=d&&a.responses.length===b.responses.length&&c.Na(a.ta.R)&&c.Na(b.ta.R)}return a},Iw=function(a,b){var c={};if(!(b!==void 0&&b||Nt(a))){let d;((d=x(a,7))==null?void 0:d.length)>0?c.authorization=
"Bearer "+x(a,7):(b=[{key:"u",value:cq(a)}],c.authorization=Hw(b)||"");a=eq(a);a>=0&&(c["x-goog-authuser"]=String(a))}return c},tea=function(a){return sea.map(function(b){return b(a)})},uea=function(a){var b,c,d,e;return $l((d=(b=Xl(a))==null?void 0:Q(b,65))!=null?d:!1,(e=(c=Xl(a))==null?void 0:Q(c,64))!=null?e:!1)},Jw=function(a){return a===3?1:a},vea=function(a){var b,c,d,e;return $l((d=(b=Xl(a))==null?void 0:Q(b,83))!=null?d:!1,(e=(c=Xl(a))==null?void 0:Q(c,82))!=null?e:!1)},wea=function(a){var b,
c,d,e;return $l((d=(b=Xl(a))==null?void 0:Q(b,72))!=null?d:!1,(e=(c=Xl(a))==null?void 0:Q(c,71))!=null?e:!1)},Kw=function(a){var b,c,d,e;return $l((d=(b=Xl(a))==null?void 0:Q(b,27))!=null?d:!1,(e=(c=Xl(a))==null?void 0:Q(c,26))!=null?e:!1)},Lw=function(a){var b,c;a=(c=(b=Xl(a))==null?void 0:Q(b,33))!=null?c:!1;return $l(a,a)},Mw=function(a,b){Dk("Preflight action failed for "+go(a),b,"warning")},xea=function(a,b){var c=Nw(a.Oa,b.Ea());if(c){let e=c.getItem(),f=O(e,Ow,85);if(f){var d=z(f,rq,2,B()).slice();
let g=La(d,function(h){return h.getId()===L(b,2)});Pw(f,d);g||(d=z(f,rq,3,B()).slice(),La(d,function(h){return h.getId()===L(b,2)}),Qw(f,d));Rw(f,(Sw(f,1)||1)-1);a.Ta([e],c.ub)}}},yea=function(a,b,c){if(b=Nw(a.Oa,b.Ea())){let e=b.getItem(),f=O(e,Ow,85);if(f){if(c.getType()===1||c.getType()===2){var d=z(f,rq,3,B(Rr));d.push(c);d.sort(Tw||Wa);Qw(f,d)}else d=z(f,rq,2,B(Rr)),d.push(c),d.sort(Tw||Wa),Pw(f,d);Rw(f,(Sw(f,1)||0)+1);a.Ta([e],b.ub)}}},zea=function(a,b){var c=c===void 0?!0:c;var d=Math.max(a.length,
b.length);for(let h=0;h<d;h++){var e=a[h];var f=b[h];e=e===f||c&&h<a.length&&h<b.length&&(e===void 0||f===void 0)?void 0:{first:e,second:f,index:h};if(e){var g=g||[];g.push(e)}}return g},Aea=function(a,b){return new Promise(function(c){var d=[];for(let e=0;e<a.length;e+=b)Gj(function(){d.push(n.atob(a.slice(e,e+b)))});Gj(function(){var e=0;for(var f=0;f<d.length;f++)e+=d[f].length;e=new Uint8Array(e);f=0;for(let g=0;g<d.length;g++)for(let h=0;h<d[g].length;h++)e[f]=d[g].charCodeAt(h),f++;c(e)})})},
Uw=function(a){return Ub(function(b){return b.kind===a})},Ww=function(a,b){if(!Vw(a)||a===null)throw new G("Expected an object, but got a "+yc(a)+".",yp(11,void 0,8));if(b!==void 0){if(!Bea(a))throw new G("Expected 'kind' parameter in response: "+JSON.stringify(a),yp(11,void 0,21));if(!b(a))throw new G("Unexpected response type: "+a.kind+".",yp(11,void 0,9));}},Yw=function(a,b,c){var d=b.text;if(!d)throw Xw(go(a)+": response was empty",void 0,41,b);try{return Og(c,d.trim())}catch(e){throw c=40,Mp(b)&&
(c=42),Xw(go(a),e,c,b);}},Xw=function(a,b,c,d){c===42&&(a+=": Response contains HTML payload.");d&&(a+="\nresponse headers: "+JSON.stringify(d.headers),a+="\nresponse text: "+d.text);b?(b=Hp(b),d=C(b,21)||"",Zw(b,d+"\n"+a)):b=Hp(a);Bp(b,c);return Gm(new G(void 0,b))},$w=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}},ax=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},bx=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""},jx=function(a){var b=a.canDelete!=null?a.canDelete:a.canDeleteTeamDrive;var c=cx(new Os,a.canAddChildren);c=I(c,18,a.canChangeTeamDriveBackground);c=I(c,2,a.canComment);b=dx(ex(I(c,3,a.canCopy),b),a.canDownload);b=I(b,6,a.canEdit);b=I(b,10,a.canManageMembers);b=I(b,15,a.canListChildren);
b=I(b,20,a.canMoveItemIntoTeamDrive);b=Pv(I(b,17,a.canMoveTeamDriveItem),a.canReadTeamDrive);b=I(b,7,a.canRemoveChildren);b=I(b,12,a.canRename);b=I(b,13,a.canRenameTeamDrive);b=fx(gx(hx(b,a.canShare),a.canTrash),a.canUntrash);b=I(b,27,a.canModifyContentRestriction);b=I(b,26,a.canShareOutsideDomain);b=I(b,30,a.canMoveItemWithinTeamDrive);b=I(b,31,a.canMoveItemOutOfTeamDrive);b=I(b,33,a.canMoveChildrenOutOfTeamDrive);b=I(b,34,a.canDeleteChildren);b=I(b,35,a.canTrashChildren);b=I(b,36,a.canRequestApproval);
b=I(b,37,a.canReadCategoryMetadata);b=I(b,38,a.canEditCategoryMetadata);b=I(b,39,a.canChangeCategoryReferences);b=I(b,49,a.canSetMissingRequiredFields);b=I(b,40,a.canAddMyDriveParent);b=I(b,41,a.canRemoveMyDriveParent);b=ix(I(b,42,a.canShareChildFiles),a.canShareChildFolders);b=I(b,44,a.canRead);b=I(b,45,a.canMoveItemWithinDrive);b=I(b,46,a.canMoveItemOutOfDrive);b=I(b,47,a.canMoveChildrenWithinDrive);b=I(b,48,a.canAddFolderFromAnotherDrive);b=I(b,50,a.canChangeSecurityUpdateEnabled);b=I(b,62,a.canCopyEncryptedFile);
b=I(b,52,a.canCreateDecryptedCopy);b=I(b,53,a.canCreateEncryptedCopy);b=I(b,54,a.canAddEncryptedChildren);b=I(b,55,a.canBlockOwner);b=I(b,59,a.canReportSpamOrAbuse);b=I(b,64,a.canCopyNonAuthoritative);b=I(b,65,a.canDownloadNonAuthoritative);b=I(b,66,a.canReportNotSpam);return I(b,67,a.canInitiateEsignature)},Cea=function(a){return z(a,Tq,3,B()).some(function(b){return ds(b,$q,10)})},Eea=function(a){return cs(a,27,B()).some(function(b){return Dea.has(b)})},lx=function(a,b){Eea(b)||Ww(a);var c=Kv(Jv(Fv(Gv(Hv(1),
a.permissionId),a.id),a.displayName),a.emailAddress);c=D(c,15,a.organizationDisplayName);a.picture&&Mv(c,a.picture.url);jv(b)&&Kv(c,a.emailAddressFromAccount||a.emailAddress);Lv(c,kx(a.id,b));return c},kx=function(a,b){if(a)return cq(dq(b))===a},nx=function(a){if(a){var b=new mx;b=D(b,1,a.agentId);b=D(b,2,a.name);b=D(b,3,a.photoUrl);a=Fea.get(a.state)||0;return H(b,4,a)}},qx=function(a){if(a&&Object.keys(a).length!==0){var b=Gea(Hea(Iea(Jea(new ox,a.name),a.discoveryUri),Kea.get(a.grantType)||0),
a.clientId);a.nativeClientIds&&Lea(b,new Map(Object.entries(a.nativeClientIds).map(function(c){c=q(c);var d=c.next().value;c=c.next().value;d=Number(d);var e=new px;c=D(e,1,c);return[d,c]})));return b}},tx=function(a){var b=a.wrappedKey;b=rx(new sx,b?n.atob(b):void 0);b=Vr(b,2,Number(a.kaclsId));b=D(b,5,a.kaclsName);var c=Mea.get(a.aes256GcmChunkSize);b=H(b,3,c);c=Nea.get(a.keyFormat);b=H(b,6,c);b=D(b,4,a.jwt);a=qx(a.guestIdp);return K(b,8,a)},Pea=function(a){var b=new ux;var c=Oea.get(a.encryptionState);
b=H(b,1,c);a.decryptionMetadata&&(a=tx(a.decryptionMetadata),K(b,2,a));return b},Qea=function(a){var b=[];a=q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c=vx(wx(new xx,c.readOnly),c.reason),b.push(c);return b},Rea=function(a){var b=yx(new zx,$w(a.markedAsSpamDate));b=I(b,4,a.inSpamView);b=I(b,5,a.isSpam);return I(b,6,a.isInheritedSpam)},Tea=function(a){var b=[];for(let e=0;e<a.length;e++){var c=a[e];if(c.id&&c.type){var d=new Ax;d=D(d,1,c.id);c=Sea.get(c.type);d=H(d,2,c);b.push(d)}}return b},
Wea=function(a){var b=[];a=q(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new Bx;c=D(c,1,d.approvalId).setStatus(Uea.get(d.status));d=Vea.get(d.type);c=H(c,5,d);b.push(c)}return b},Xea=function(a){var b=[];a&&a.parents&&b.push.apply(b,r(a.parents.map(function(c){return c.id})));return b},Zea=function(a){var b=new Cx;b=J(b,2,a.width);b=J(b,3,a.height);b=J(b,4,a.rotation);if(a.date){a=a.date;let c=new Wm;c.setMilliseconds(0);Yea.parse(a,c);Vr(b,1,c.getTime())}return b},$ea=function(a){var b=
new Dx;a.durationMillis&&J(b,1,Number(a.durationMillis));return b},bfa=function(a){var b=new Ex;b=J(b,1,a.width);b=J(b,2,a.height);if(a.transcodeStatus){let c=afa.get(a.transcodeStatus);H(b,4,c||0)}a.durationMillis&&J(b,3,Number(a.durationMillis));return b},dfa=function(a){var b=(new Fx).setDescription(a.description);var c=cfa.get(a.galleryState);b=H(b,3,c);return Ju(b,2,a.category)},efa=function(a){var b=new Gx;b=I(b,2,a.securityUpdateEligible);b=I(b,3,a.securityUpdateEnabled);return I(b,5,a.securityUpdateExplicitlySet)},
gfa=function(a){var b=new Hx;a.canImport!==void 0&&I(b,1,a.canImport);if(a.incompatibilityDetails){a=q(a.incompatibilityDetails);for(var c=a.next();!c.done;c=a.next()){c=c.value;let d=new Ix;if(c.reason!==void 0){let e=ffa.get(c.reason);H(d,1,e||0)}c.localizedMessage!==void 0&&D(d,2,c.localizedMessage);fk(b,2,Ix,d)}}return b},hfa=function(a,b,c,d,e,f,g){if(b){var h,l=(h=b.getItem())==null?void 0:h.K();if(a&&l&&a!==l){c=z(g,Jx,1,B());d=f.xa();b=zea(d,c.map(function(t){var w;return(w=t.getItem())==
null?void 0:w.K()}));f=ww(f,R,3);let m,p;throw Gm(Error("Qd`"+a+"`"+l+"`"+d.length+"`"+c.length+"`"+((m=b==null?void 0:b.map(function(t){return"  ["+t.index+']: request: "'+t.first+'" | response: "'+t.second+'"'}).join("\n"))!=null?m:"")+"`"+f.g()+"`"+Jt(f,3)+"`"+f.j()+"`"+((p=Object.entries(e.headers).map(function(t){var w=q(t);t=w.next().value;w=w.next().value;return"  "+t+": "+w}).join("\n"))!=null?p:"")+"`"+e.Nr));}e=b.S();if(e!=null&&Kx(e)!==0){if(c.setStatus(6),a=l||a)l=Lx(Mx((new Nx).setStatus(6),
Kx(e)),x(e,2)),Ee(c,19,Nx).set(a,l)}else a=b.getItem(),Ok(a),Ox(a),jv(d)&&a.qc(5),fk(c,2,Pk,a)}else c.setStatus(6),Ee(c,19,Nx).set(a,Px)},Ox=function(a){var b,c,d=(b=O(a,ux,138))==null?void 0:(c=O(b,sx,2))==null?void 0:C(c,1);d&&(a=O(a,ux,138),a=O(a,sx,2),rx(a,n.atob(d)))},jfa=function(a,b){return ifa(Yw(a,b,Qx)).map(function(c){var d=c.getId();c=c.S();return Kx(c)!==0?$s(d,Rx(c,"[Items.Delete] Failed to delete Item "+d+": "+x(c,2))):at(d,Sx(new No,d).setStatus(1))})},Tx=function(a){return a.getId?
a.getId():a.Ea?a.Ea():null},Ux=function(a,b){try{Ww(b,ec.apply(null,r(a.map(Uw))))}catch(c){throw Gm(c);}},kfa=function(a){return(a.items||[]).map(function(b){return Vx(b)})},Xx=function(a,b){var c=new Wx;b=D(c,4,b);a&&(a=Vx(a),K(b,2,a));return b},Vx=function(a){var b=new Yx;b=D(b,1,a.id);b=I(b,3,a.useByDefault);b=D(b,2,a.name);b=D(b,7,a.openUrlTemplate);b=Zx($x(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=D(b,8,a.createUrl);b=D(b,9,a.createInFolderTemplate);b=D(b,10,a.objectType);b=I(b,11,a.supportsCreate);
b=I(b,12,a.supportsImport);b=I(b,13,a.supportsMultiOpen);b=I(b,27,a.supportsOfflineCreate);b=I(b,14,a.installed);b=I(b,15,a.authorized);b=D(b,16,a.productUrl);b=Ju(b,17,a.primaryFileExtensions);b=Ju(b,18,a.secondaryFileExtensions);b=D(b,19,a.shortDescription);b=D(b,20,a.longDescription);b=D(b,21,a.productId);b=I(b,22,a.removable);var c=lfa.get(a.type);b=H(b,23,c);b=I(b,25,a.hasAppData);b=I(b,28,a.requiresAuthorizationBeforeOpenWith);b=I(b,30,a.hasDriveWideScope);b=I(b,31,a.driveSource);b=I(b,32,a.driveBranded);
b=I(b,33,a.hidden);b=I(b,34,a.supportsMobileBrowser);b=I(b,35,a.supportsTeamDrives);b=I(b,36,a.hasGsmListing);c=Number(a.appDataQuotaBytesUsed);Number.isNaN(c)||Vr(b,26,c);c=a.icons||[];var d=[];for(let l=0;l<c.length;l++){var e=d,f=e.push,g=c[l];var h=new ay;h=D(h,3,g.iconUrl);let m=J(h,2,g.size);g.category&&(h=m,g=mfa.get(g.category),H(h,1,g));f.call(e,m)}yu(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);Ju(b,24,d);c=a.rankingInfo||{};a=new by;d=c.absoluteScore;d!=null&&
J(a,1,Number(d));d=cy(c.mimeTypeScores||[]);yu(a,2,d);c=cy(c.fileExtensionScores||[]);yu(a,3,c);K(b,29,a);return b},cy=function(a){return a.map(function(b){var c=b.type;b=b.score;var d=new dy;c=D(d,1,c);return J(c,2,Number(b))})},pfa=function(a){var b=a.exportJob,c=b.status;c=c?nfa.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,h=(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=Mk(ey(new Pk,l.docId).setTitle(l.title),l.mediaType),p=new fy;m=K(p,1,m);m=D(m,3,l.relativePath);return D(m,4,l.cause)});return new ofa(c,d,h,f,g,e,a,b)},qy=function(a,b,c){var d=c.itemId;c=c.driveItem;d=ey(new Pk,d);if(c){Mk(d.setTitle(c.title),c.mimeType);c.userCapabilities&&Ps(d,jx(c.userCapabilities));b=b.Ch();c.parentId&&b.has(1)&&gy(d,[c.parentId]);if(c.owner){if(c.owner.user&&b.has(14)){var e=Fv(Gv(Hv(1),c.owner.user.userId),c.owner.user.focusUserId);
c.owner.user.userDetails&&Jv(Kv(Lv(Mv(e,c.owner.user.userDetails.photoUrl),c.owner.user.userDetails.isMe),c.owner.user.userDetails.email),c.owner.user.userDetails.displayName);Nv(d,[e])}if(c.owner.drive&&b.has(90)){var f;e=(f=Ns(d))!=null?f:new Os;Ps(d,Pv(e,!0))}c.owner.customer&&b.has(95)&&Rv(d,c.owner.customer.displayName)}if(c.actionItem&&b.has(74))for(f=q(c.actionItem),e=f.next();!e.done;e=f.next()){var g=e.value;e=new Ax;let h=D(e,1,g.id);g.type&&(e=h,g=qfa.get(g.type),H(e,2,g));fk(d,83,Ax,h)}c.abuseIsAppealable!==
void 0&&b.has(227)&&hy(d,c.abuseIsAppealable);c.contentLockReadOnly!==void 0&&b.has(136)&&iy(d,[wx(new xx,c.contentLockReadOnly)]);c.hasVisitorPermissions!==void 0&&b.has(100)&&I(d,98,c.hasVisitorPermissions);c.inSpamView!==void 0&&b.has(234)&&(f=new zx,f=I(f,4,c.inSpamView),jy(d,f));c.starred!==void 0&&b.has(4)&&ky(d,c.starred);c.teamDriveId&&b.has(83)&&ly(d,c.teamDriveId);c.visibility&&c.visibility.shared!==void 0&&b.has(24)&&my(d,c.visibility.shared);c.lastModified&&b.has(10)&&ny(d,$w(c.lastModified));
c.sharedWithMe&&b.has(25)&&oy(d,$w(c.sharedWithMe));c.thumbnailData&&b.has(19)&&py(d,!0);bs(a,d,b)}d.qc(4);return d},xy=function(a,b,c){for(var d=[],e=q(c.item||[]),f=e.next();!f.done;f=e.next())if(f=f.value,f.driveItem){var g=new ry,h=((f.justification||{}).unstructuredJustificationDescription||{}).textSegment||[];h=D(g,2,h.length>0?(h[0]||{}).text||"":"");I(h,3,!0);g=qy(a,b,f);g=K(g,100,h);f=Bv(g,rfa(f));d.push(f)}a=sy(new ty,d);c=D(a,17,c.suggestionSessionId);d=uy(c.setStatus(d.length?6:1),!1);
d=vy(new wy,d);return Vr(d,4,Date.now())},yy=function(a){return Mv(Kv(Jv(Fv(Gv(new rq,a.id),a.id),a.displayName),a.emailAddress),a.photoUrl)},rfa=function(a){var b=a.action;return b?b.map(function(c){var d=new Dy,e=sfa(c);e&&y(d,2,Ey,e);(e=tfa(c))&&Cy(d,e);(e=ufa(c))&&y(d,4,Ey,e);(e=vfa(c))&&y(d,5,Ey,e);(e=wfa(c))&&y(d,6,Ey,e);(e=xfa(c))&&y(d,7,Ey,e);(e=yfa(c))&&y(d,8,Ey,e);(e=zfa(c))&&y(d,9,Ey,e);(e=Afa(c))&&y(d,10,Ey,e);(c=Bfa(c))&&y(d,11,Ey,c);return d}):(b=new zy,(a=Ay(a))&&By(b,[a]),[Cy(new Dy,
b)])},Gy=function(a){return(a.justification||[]).map(function(b){return Fy(b)})},Ay=function(a){return(a=a.justification)?Fy(a):null},Fy=function(a){var b=new Hy;a.displayText&&Cfa(b,Iy(a.displayText));var c=a.primaryPerson,d=a.allPeople;c?(c=yy(c),y(b,3,Jy,c),Ky(b,[c])):d?(c=(d.person||[]).map(function(e){return yy(e)}),d=Ly(c),y(b,4,Jy,d),Ky(b,c)):(c=(a.person||[]).map(function(e){return yy(e)}),c.length&&(d=Ly(c),y(b,4,Jy,d),Ky(b,c)));Dfa(b,$w(a.eventTime));a.justificationDescription&&Efa(b,Iy(a.justificationDescription));
a.unstructuredJustificationDescription&&Ffa(b,Iy(a.unstructuredJustificationDescription));return b},Iy=function(a){if(!a)return null;a=a.textSegment||[];return Gfa(new My,a.map(function(b){var c=new Ny;c=D(c,1,b.text);var d=b.link;if(d){var e=new Oy;d=D(e,1,d.url)}else d=null;c=K(c,2,d);c=I(c,3,b.bold);return I(c,4,b.italic)}))},sfa=function(a){a=a.documentDocosAction;if(!a)return null;var b=Hfa(new Py,Ay(a));Ifa(b,(a.subAction||[]).map(function(c){var d=new Qy;c.reply?(c=new Ry,y(d,1,Sy,c)):c.resolve?
(c=new Ty,y(d,2,Sy,c)):c.reassign?(c=new Uy,y(d,3,Sy,c)):c.acceptSuggestion?(c=new Vy,y(d,4,Sy,c)):c.rejectSuggestion?(c=new Wy,y(d,5,Sy,c)):c.openThread&&(c=new Xy,y(d,6,Sy,c));return d}));D(b,2,a.discussionId);D(b,3,a.postId);a.anchorText&&Jfa(b,Iy(a.anchorText));return b},ufa=function(a){var b=a.documentShareAction;if(!b)return null;a=Kfa(new Yy,Ay(b));Lfa(a,(b.subAction||[]).map(function(c){var d=new Zy;c.suggestedShare?(c=new $y,y(d,1,az,c)):c.responseToRequest&&(c=new bz,y(d,2,az,c));return d}));
Mfa(a,(b.sharee||[]).map(function(c){return yy(c)}));b.shareeRole&&(b=Nfa.get(b.shareeRole))&&H(a,3,b);return a},tfa=function(a){a=a.documentViewAction;if(!a)return null;var b=By(new zy,Gy(a));Ofa(b,(a.subAction||[]).map(function(c){var d=new cz;c.open?(c=new dz,y(d,1,ez,c)):c.reviewEdits&&(c=new fz,y(d,2,ez,c));return d}));return b},vfa=function(a){a=a.emailViewAction;if(!a)return null;var b=Pfa(new gz,Ay(a));Qfa(b,(a.subAction||[]).map(function(c){var d=new hz;c.open&&(c=new iz,y(d,1,jz,c));return d}));
return b},wfa=function(a){a=a.calendarEventAction;if(!a)return null;var b=Rfa(Sfa(Tfa(new kz,a.eventId),Ay(a)),a.guestCount);Ufa(b,(a.subAction||[]).map(function(c){var d=new lz;if(c.viewCalendarEvent){var e=new mz;y(d,1,nz,e)}c.shareWithAttendees&&(e=new oz,y(d,2,nz,e));c.present&&(e=new pz,y(d,3,nz,e));c.openDocument&&(c=new dz,y(d,4,nz,c));return d}));return b},xfa=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=Vfa(Wfa(new qz,a.workspaceId),Ay(a));Xfa(b,(a.subAction||[]).map(function(c){var d=
new rz;c.addToWorkspace&&(c=new sz,y(d,1,tz,c));return d}));return b},yfa=function(a){a=a.documentTopicAction;if(!a)return null;var b=Yfa(new uz,Ay(a));Zfa(b,(a.subAction||[]).map(function(c){var d=new vz;c.openDocument&&(c=new dz,y(d,1,wz,c));return d}));return b},zfa=function(a){a=a.popularDocumentAction;if(!a)return null;var b=$fa(new xz,Ay(a));aga(b,(a.subAction||[]).map(function(c){var d=new yz;c.openDocument&&(c=new dz,y(d,1,zz,c));return d}));return b},Afa=function(a){a=a.collaboratorActivityAction;
if(!a)return null;var b=bga(new Az,Ay(a));cga(b,(a.subAction||[]).map(function(c){var d=new Bz;c.openDocument&&(c=new dz,y(d,1,Cz,c));return d}));return b},Bfa=function(a){a=a.formResponseAction;if(!a)return null;var b=dga(new Dz,Gy(a));ega(b,(a.subAction||[]).map(function(c){var d=new Ez;c.openDocument?(c=new dz,y(d,1,Fz,c)):c.viewResponses&&(c=new Gz,y(d,2,Fz,c));return d}));return b},Iz=function(a){var b=new Hz;b=J(b,1,a.year);b=J(b,2,a.month);return J(b,3,a.day)},hga=function(a){var b=new Jz;
a.listOptions&&fga(b,Kz(a.listOptions));var c;return gga(b,((c=a.choices)!=null?c:[]).map(function(d){var e=new Lz;e=D(e,1,d.id);if(d.properties){var f=d.properties,g=new Mz;g=D(g,1,f.displayName).setDescription(f.description);if(f.badgeConfig){f=f.badgeConfig;let h=new Nz;f.priorityOverride&&Vr(h,1,Number(f.priorityOverride));K(g,3,h)}K(e,2,g)}d.displayHints&&(d=d.displayHints,g=new Oz,g=I(g,1,d.disabled),g=I(g,2,d.hiddenInSearch),g=I(g,3,d.shownInApply),d.badgeColors&&(f=Pz(d.badgeColors),K(g,4,
f)),d.darkBadgeColors&&(f=Pz(d.darkBadgeColors),K(g,5,f)),d.badgePriority&&Vr(g,6,Number(d.badgePriority)),K(e,3,g));return e}))},Kz=function(a){var b=new Qz;return J(b,1,a.maxEntries)},Pz=function(a){var b=new Rz;if(a.backgroundColor){var c=Sz(a.backgroundColor);K(b,1,c)}a.foregroundColor&&(c=Sz(a.foregroundColor),K(b,2,c));a.soloColor&&(a=Sz(a.soloColor),K(b,3,a));return b},Sz=function(a){var b=new Tz;a.red&&Uz(b,1,Number(a.red));a.green&&Uz(b,2,Number(a.green));a.blue&&Uz(b,3,Number(a.blue));a.alpha&&
(a=(new Vz).setValue(a.alpha),K(b,4,a));return b},kga=function(a){var b=kA(new lA,bx(a)),c=a.result;a=a.processedFileCount;if(c){var d=c.status;(d=d&&iga[d])&&b.setStatus(d);c.sourceResults&&mA(b,c.sourceResults.map(function(e){return jga(e)}));c.validationToken&&D(b,4,c.validationToken)}a!==void 0&&J(b,2,a);return b},jga=function(a){var b=lga(mga(new nA,a.sourceId),a.fileCount);a.unmovableFileReasons&&nga(b,a.unmovableFileReasons.map(function(c){var d=c.unmovableReason;d=d&&oga[d];var e=new oA;return H(e,
1,d?d:0).g(c.count)}));return b},qga=function(a){a=a.personResponse||[];return pA(new qA,a.map(function(b){var c=b.person;b=rA(new sA,b.personId);var d=c;d=d===void 0?{}:d;var e,f,g;d=(g=(e=d.metadata)==null?void 0:(f=e.bestDisplayName)==null?void 0:f.displayName)!=null?g:"";e=tA(uA(b,d),pga(c));f=c;f=f===void 0?{}:f;f=f.photo?f.photo[0]:null;f=vA(new wA,f&&!f.isDefault?f.url:null);e=K(e,4,f);var h,l,m,p,t;((t=(l=c==null?void 0:(h=c.agentInfo)==null?void 0:h[0])==null?void 0:(m=l.workspaceStudioAgent)==
null?void 0:(p=m.profileInfo)==null?void 0:p.agentProfile)==null?void 0:t.agentState)==="AGENT_STATE_DELETED"&&I(e,7,!0);return e}))},pga=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:""},rga=function(a){var b=a.items||[];return xA(yA(new zA,b.map(function(c){return AA(c)})),bx(a))},AA=function(a){var b=new BA;b=D(b,1,a.id).setTitle(a.title);
var c=$w(a.createdDate);b=Vr(b,3,c);c=$w(a.modifiedDate);b=Vr(b,4,c);return H(b,5,a.state?sga[a.state]:void 0)},vga=function(a,b,c){var d=c.item||[];return tga(uga(new CA,d.map(function(e){return qy(a,b,e)})),c.suggestionSessionId)},zga=function(a,b,c){var d=c.item||[];return wga(xga(new DA,d.map(function(e){return yga(a,b,e)})),c.suggestionSessionId)},yga=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return Aga(Bga(Cga(Dga(new EA,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),
e.map(function(f){return qy(a,b,f)})),Ay(c))},GA=function(a){var b=new FA;a.kind&&(a=AA(a),K(b,2,a));b.setStatus(1);return b},HA=function(a){var b={};It(a,1)&&(b.namespace=Ega[Hl(a,1)]);S(a,2)?b.userId=x(a,2):b.email=x(a,3);return b},LA=function(a){var b={};ds(a,uk,1)&&(b.creationTime=IA(O(a,uk,1)));ds(a,uk,2)&&(b.updatedTime=IA(O(a,uk,2)));S(a,3)&&(b.postId=x(a,3));ds(a,JA,4)&&(b.author=HA(O(a,JA,4)));if(z(a,JA,5,B()).length>0){b.mentionedUsers=[];for(var c=q(z(a,JA,5,B())),d=c.next();!d.done;d=
c.next())b.mentionedUsers.push(HA(d.value))}ds(a,KA,6)&&(c=O(a,KA,6),d={},It(c,1)&&(d.signatureVersion=Fga[Hl(c,1)]),S(c,2)&&(d.signatureWithDocId=x(c,2)),S(c,3)&&(d.signatureWithoutDocId=x(c,3)),S(c,4)&&(d.mutableContentHash=x(c,4)),S(c,5)&&(d.immutableContentHash=x(c,5)),b.notificationsCommentSignature=d);ds(a,JA,7)&&(b.assignee=HA(O(a,JA,7)));return b},MA=function(a){var b=a.B(),c=a.j(),d={encryptionState:"encrypted"},e,f;d.decryptionMetadata={wrappedKey:db(a.G()),kaclsId:(f=Tg(a.g()))!=null?f:
void 0,aes256GcmChunkSize:Gga[b?b.j():0],keyFormat:Hga[c?c.j():0],encryptionResourceKeyHash:db((e=a.C())==null?void 0:Td(e))};return d},PA=function(a,b){var c={};la(NA(L(a,2)))||(c.title=L(a,2));OA(c,a.Pc());Um(a,8)&&(c.description="",c.labels={starred:!1});b&&(c.clientEncryptionDetails=MA(b));S(a,14)&&(c.mimeType=L(a,14));if(a=L(a,10))c.id=a;return c},VA=function(a,b){var c={};la(NA(L(a,2)))||(L(a,12)?c.originalFilename=L(a,2):c.title=L(a,2));if(S(a,1)&&(c.mimeType=a.Oc(),C(a,23)&&c.mimeType&&Ik(c.mimeType)&&
b&&(c.clientEncryptionDetails=MA(b),ds(a,QA,35)))){b=c.clientEncryptionDetails;var d=O(a,QA,35);let m={};S(d,1)&&(m.fileId=x(d,1));m.notification=[];d=q(z(d,RA,2,B()));for(var e=d.next();!e.done;e=d.next()){var f=m.notification,g=f.push;e=e.value;let p={};It(e,1)&&(p.eventType=Iga[Hl(e,1)]);S(e,2)&&(p.headPostId=x(e,2));S(e,3)&&(p.suggestionId=x(e,3));S(e,4)&&(p.notifyingReplyId=x(e,4));ds(e,SA,5)&&(p.headPost=LA(O(e,SA,5)));p.replies=[];for(var h=q(z(e,SA,6,B())),l=h.next();!l.done;l=h.next())p.replies.push(LA(l.value));
z(e,JA,7,B()).length>0&&(p.newMentionedUsers=z(e,JA,7,B()).map(HA));g.call(f,p)}b.notificationPayload=m}It(a,36)&&(c.editSource=Jga[Tn(a,36)]);OA(c,a.Pc());if(b=a.Ea())c.id=b;L(a,16)&&(c.embeddingParent=L(a,16));L(a,21)&&(c.shortcutDetails={targetId:L(a,21)});typeof Ug(jt(a,26))==="number"&&(c.modifiedDate=TA(UA(Ug(jt(a,26))||0)));return c},OA=function(a,b){b.length&&(a.parents=b.map(function(c){return{id:c}}))},IA=function(a){var b=(zn(a,2)%1E6).toString().padStart(6,"0");return WA(a).toISOString().replace(/Z$/,
b+"Z")},Lga=function(a,b){if(Km(XA)(a)){var c=new YA;var d="/v1/sharedDrives:hide"}else if(Km(ZA)(a))c=new $A,d="/v1/sharedDrives:unhide";else throw Error("Wd");c.g(Mm(a,function(f){return f.K()}));var e={};e["x-goog-fieldmask"]=ir(b).toString();e["content-type"]="application/json+protobuf";return{parts:{X:14,U:d,method:"POST",fa:Kga(a),Y:e,body:c.aa()}}},Kga=function(a){if(po(a)){let c;return(c=a.I())!=null?c:new R}var b;return(b=a.requests.map(function(c){return c.I()})[0])!=null?b:new R},bB=function(a){Ok(a);
return aB((new No).setStatus(1),a)},cB=function(a){return a.map(function(b){var c=b.S();return c&&(c==null?void 0:Kx(c))!==0?Rx(c,"Driveway response returned failure: "+x(c,2)):bB(O(b,Pk,2))})},Mga=function(a,b){return b.map(function(c,d){var e;d=(e=a.requests[d].K())!=null?e:"";return c instanceof G?$s(d,c):at(d,c)})},dB=function(a,b){if(!b.json)throw Op(a,b);Ux(["drive#app"],b.json);return Xx(b.json,a.g())},Oga=function(a,b){var c=new eB;if(F(a,6,B()).length){let d=[];Nca(F(a,6,B()),b.headers).forEach(function(e,
f){var g=new fB;e=D(g,1,f).setValue(e);d.push(e)});yu(c,1,d)}Nga(c,b.json?JSON.stringify(b.json):b.text);c.setStatus(1);return c},mB=function(a,b){if(gB(b)){so(a)?(a=Yw(a,b,hB),a=z(a,iB,1,B())):fn(a)?(a=Yw(a,b,jB),a=z(a,iB,1,B())):qn(a)?(a=Yw(a,b,kB),a=z(a,iB,1,B())):a=[];b=a;a=(new FA).setStatus(1);b=q(b);for(b=b.next();!b.done;b=b.next()){var c=b.value;b=c.S();if(Kx(b)!==0)throw Rx(b);ds(c,BA,3)&&(b=a,c=c.uj(),K(b,2,c));break}return a}if(!b.json){if(a instanceof lB)return GA({});throw Op(a,b);}Ux(["drive#workspace"],
b.json);return GA(b.json)},Qga=function(a,b,c,d){if(S(a,12))throw Error("ae");var e=nB(a);oB(e,x(e,2)||bq());e=pB([e]);var f={};f["x-goog-fieldmask"]=Pga(nr(c,{fields:c.zb(),anonymous:Nt(dq(d)),Yb:jv(d)}));f["content-type"]="application/json+protobuf";vu(z(a,qv,28,B()),a.Pc().concat([C(a,16),C(a,21),C(a,23)].filter(function(g){return!qB(g)})),b,f);b=rB(a);It(b,1)||(a=sB(a)?1415:tB(a)?204:202,Wt(b,a));return{parts:{X:14,U:"/v1/items:create",method:"POST",fa:b,Y:f,body:e.aa()}}},rB=function(a){var b;
a=(b=a.I())!=null?b:new R;ru(su(a));return a},nB=function(a){var b;var c=oB(new uB,(b=a.rf())!=null?b:C(a,23));b=a.Oc();c=D(c,7,b);b=a.Pc().length>0?a.Pc()[0]:void 0;c=D(c,9,b);b=C(a,23);c=D(c,1,b);b=C(a,16);c=D(c,24,b);b=C(a,21);c=D(c,20,b);b=vB(a,wB,39);c=K(c,26,b);b=jt(a,26);c=Vr(c,8,b);la(NA(L(a,2)))||c.setTitle(L(a,2));return c},Rga=function(a,b,c,d,e,f){var g={},h={},l=Sw(a,1);a=O(a,xB,2);var m=a.xa()[l];l=iv(f,a.Ca());g.fields=pr(f,{fields:l,anonymous:Nt(dq(c)),Yb:jv(c)});g.supportsTeamDrives=
!0;Q(c,14)&&(g.useLegacyDomainPermissionBehavior=!1);e(m,g);Um(a,7)&&(d.Jh=!0);f.Re(241)&&(g.includeBadgedLabels=!0);vu(z(a,qv,11,B()).filter(function(p){return L(p,1)===m}),[m],b,h);return{parts:{U:"files/"+m,fa:a.I(),Y:h,ma:g},options:{Za:!0}}},Wga=function(a,b,c,d,e){var f={},g=iv(e,a.Ca()),h=yB(e,a.nf()),l=a.xa();l=Sga(l);d.length>0&&Tga(zB(l,AB,2),d);h.length>0&&Uga(zB(l,AB,2),h);f["x-goog-fieldmask"]=Vga(nr(e,{fields:g,anonymous:Nt(dq(c))}));f["content-type"]="application/json+protobuf";f["accept-language"]=
ju(dq(c));BB(ww(c,xw,103))&&(f["cache-control"]="no-store");var m;d=(m=a.I())!=null?m:new R;c=CB(zB(c,DB,4));d.Gb(iq(c));c=a.xa();var p=new Set(c);a=z(a,qv,11,B()).filter(function(t){t=t.getId();return t!==null?p.has(t):!1});vu(a,c,b,f);return{parts:{method:"POST",X:14,U:"/v1/items:get",fa:d,body:l.aa(),Y:f}}},$ga=async function(a,b,c,d,e){if(b.hb===14)return Xga(a,c,d,e);try{var f=await EB(a);var g=await FB(f)}catch(ja){throw GB(ja);}b=Yga(a.request,c);var h=a.request,l=a.metadata;var m=en(h)?VA(h,
l):PA(h,l);l=$h();h={};h=(h["content-type"]=Qm('multipart/related; boundary="%s"',l),h);h["x-goog-upload-protocol"]="multipart";h["x-goog-upload-header-content-length"]=""+f.size;(f=a.request.Oc())&&(h["x-goog-upload-header-content-type"]=f);f=g.indexOf(",");g=f>=0?g.substring(f+1):"";f=JSON.stringify(m);m={};m=(m["content-type"]="application/json; charset=UTF-8",m);var p=HB(a.request,g.length);IB(a.request,h,e);e="--"+l;e=e+"\r\n"+lq(m)+"\r\n"+f+"\r\n"+e+"\r\n"+lq(p)+"\r\n"+g+"\r\n"+e+"--";l=a.request;
l=en(l)&&S(l,12)?"PUT":"POST";g=a.request;f="";g=f=en(g)?"files"+(L(g,12)?"/"+L(g,12):""):"files/"+L(g,1)+"/copy";f=a.request.I();var t;if((t=Xl(d))==null?0:E(t,47))if(t=a.request,a=a.metadata,!cn(t)){var w;m=(w=t.I())!=null?w:new R;ru(su(m));w=tu(new sv,m);a=JB(t,a);if(Zga(a)){var A;var M=(A=O(a,uB,2))==null?void 0:C(A,2)}var da;A=new tv;m=new KB;p=LB(t);m=D(m,1,p);c=MB(t,c,d);c=D(m,2,c);a=(da=a==null?void 0:a.aa())!=null?da:"";da=D(c,3,a);M=D(da,4,M);M=K(A,5,M);M=rv(w,M);da=eb(M.aa());c=da.length;
let ja,Ja;d=(Ja=(ja=O(d,NB,33))==null?void 0:$t(ja,71))!=null?Ja:1E4;c>d&&(N(M,2),da=eb(M.aa()));h["x-goog-ext-525001598-jspb"]=da}return{parts:{X:2,method:l,U:g,ma:b,Y:h,body:e,fa:f}}},Xga=async function(a,b,c,d){try{var e=await EB(a);var f=await FB(e)}catch(t){throw GB(t);}var g=f.indexOf(",");f=g>=0?f.substring(g+1):"";g=HB(a.request,f.length);var h,l,m=(l=(h=JB(a.request,a.metadata))==null?void 0:h.aa())!=null?l:"";h={};l=(h["content-type"]="application/json+protobuf",h);h=$h();var p="--"+h;f=
p+"\r\n"+lq(l)+"\r\n"+m+"\r\n"+p+"\r\n"+lq(g)+"\r\n"+f+"\r\n"+p+"--";g={};b=(g["content-type"]=Qm('multipart/related; boundary="%s"',h),g["x-goog-fieldmask"]=MB(a.request,b,c),g["x-goog-upload-protocol"]="multipart",g["x-goog-upload-header-content-length"]=""+e.size,g);(c=a.request.Oc())&&(b["x-goog-upload-header-content-type"]=c);IB(a.request,b,d);d=LB(a.request);a=a.request.I();return{parts:{X:14,method:"POST",U:d,Y:b,body:f,fa:a}}},EB=async function(a){return a.Rd?await a.Rd(0,a.file.size):a.file},
FB=async function(a){return await OB(a)},Yga=function(a,b){var c={uploadType:"multipart",supportsTeamDrives:!0};c.fields=pr(b,{fields:b.zb().filter(function(d){return d!==194}),anonymous:!1});en(a)?(c.pinned=!!Q(a,13),P(a,8)&&(c.convert=a.qf()),S(a,34)&&(c.precondition=L(a,34))):cn(a)&&(c.useProvidedMedia=!0);return c},HB=function(a,b){var c={};c=(c["content-transfer-encoding"]="base64",c);b&&b>0&&(c["content-length"]=""+b);(a=a.Oc())&&(c["content-type"]=a);return c},IB=function(a,b,c){en(a)?vu(z(a,
qv,28,B(Rr)),[],null,b):(a=a.Pc().concat([L(a,1)]),vu([],a,c,b))},GB=function(a){if(a instanceof Nm){let c=du(new wp,"fs.Error: "+a.message);var b=c;a=(a=a.name)?PB.get(a)||25:38;Bp(b,a);b=Ip(c)}else b=Ep(a);return b},QB=function(a){if(a){var b=a.N(),c,d=(c=a.D())==null?void 0:Td(c);c=d?db(db(d)):void 0;var e,f;d=new ux;d=H(d,1,2);var g=new sx;var h=a.g();g=Vr(g,2,h);b=rx(g,b?db(b):void 0);g=(e=a.B())==null?void 0:e.g();e=H(b,3,g);a=(f=a.j())==null?void 0:f.g();f=H(e,6,a);f=N(f,7,Jb(c,!1,!0));return K(d,
2,f)}},LB=function(a){return en(a)?RB(a)?"/upload/v1/items:uploadRevision":"/upload/v1/items:upload":"/upload/v1/items:uploadCopy"},MB=function(a,b,c){b=nr(b,{fields:b.zb(),anonymous:Nt(dq(c)),Yb:jv(c)});return RB(a)?vr(new ur,SB("response").o(new rr("item",sr(b)),SB("revision_id"))).toString():vr(new ur,tr(SB("response"),new rr("item",sr(b)))).toString()},JB=function(a,b){if(en(a)){var c=nB(a);var d=E(a,13);c=I(c,25,d);if(RB(a)){d=new TB;a=UB(new VB,C(a,12)).setDescription(C(c,4));var e=E(c,5);a=
I(a,4,e);e=E(c,6);a=I(a,5,e);e=jt(c,8);a=Vr(a,7,e);e=C(c,9);a=D(a,8,e);e=E(c,10);a=I(a,11,e);e=jt(c,11);a=Vr(a,12,e);e=C(c,12);a=D(a,13,e);e=E(c,13);a=I(a,14,e);e=E(c,14);a=I(a,15,e);e=jt(c,16);a=Vr(a,17,e);e=vB(c,WB,19);a=K(a,21,e);e=z(c,xx,21,B());a=XB(a,23,xx,e);e=jt(c,22);a=Vr(a,24,e);e=E(c,23);a=I(a,25,e);e=E(c,25);a=I(a,34,e);d=K(d,2,a);b=QB(b);b=K(d,4,b);d=c.Ma();b=D(b,5,d);c=C(c,7);c=D(b,6,c)}else d=new YB,d=K(d,2,c),a=E(a,8),d=I(d,3,a),b=QB(b),b=K(d,4,b),c=c.Ma(),c=D(b,5,c)}else throw GB(Error("be"));
return c},RB=function(a){return en(a)&&!!C(a,12)},bha=function(a,b,c,d,e){if(e.hb===14)return aha(a,b,c,d);e={};var f={},g=c.zb().filter(function(l){return l!==194});e.fields=pr(c,{fields:g,anonymous:Nt(dq(d)),Yb:jv(d)});e.uploadType="resumable";e.supportsTeamDrives=!0;f["content-type"]="application/json";(c=a.g.hd.Oc())&&(f["x-upload-content-type"]=c);a.g.g==null&&a.g.fileSize!=null&&(f["X-Upload-Content-Length"]=""+a.g.fileSize);c=a.g.hd;var h=g=d=void 0;en(c)?(d=(g=!!L(c,12))?"PUT":"POST",g="files"+
(g?"/"+L(c,12):""),e.pinned=!!Q(c,13),P(c,8)&&(e.convert=c.qf()),S(c,34)&&(e.precondition=L(c,34)||void 0),h=VA(c,a.j),vu([],c.Pc(),b,f)):cn(c)&&(d="POST",g="files/"+L(c,1)+"/copy",e.useProvidedMedia=!0,h=PA(c,a.j),a=c.Pc().concat([L(c,1)]),vu([],a,b,f));Tb(g,ZB);return{parts:{X:2,method:d,U:g,json:h,fa:c.I()||null,Y:f,ma:e},options:{Za:!0}}},aha=function(a,b,c,d){var e=a.g.hd,f={};c=(f["x-goog-upload-protocol"]="resumable",f["content-type"]="application/json+protobuf",f["x-goog-upload-command"]=
"start",f["x-goog-fieldmask"]=MB(e,c,d),f);(d=a.g.hd.Oc())&&(c["x-goog-upload-header-content-type"]=d);a.g.g==null&&a.g.fileSize!=null&&(c["x-goog-upload-header-content-length"]=""+a.g.fileSize);var g,h;a=(h=(g=JB(e,a.j))==null?void 0:g.aa())!=null?h:"";c["content-length"]=""+a.length;g=LB(e);h=e.I();IB(e,c,b);return{parts:{X:14,method:"POST",U:g,Y:c,body:a,fa:h}}},$B=function(a){return"kind,defaultAppIds,items("+a+")"},aC=function(a){return"default_app_ids,apps("+a+")"},dha=function(a,b,c){var d;
(d=Xl(b))==null||Q(d,89);b=new bC;d=Mm(a,function(g){return g.K()});Ju(b,1,d);var e=Mm(a,function(g){return C(g,2)});D(b,2,e[0]);var f=Mm(a,function(g){return C(g,4)||""});f[0]&&D(b,3,f[0]);f={};vu([],d.concat(e),c,f);f["content-type"]="application/json+protobuf";f["x-goog-fieldmask"]="migrate_item_response(id,item_result_status(status(code,message,details),item(id)))";a=cha(a);return{parts:{X:14,method:"POST",U:"/v1/items:migratetoshareddrive",Y:f,body:b.aa(),fa:a}}},cha=function(a){if(an(a))return a.I();
var b;return(b=Mm(a,function(c){return c.I()})[0])!=null?b:new R},eha=function(a){var b={people:z(a,cC,1,B()).map(function(d){return{profileId:d.getId(),fallbackName:L(d,2)||void 0}})},c={};return{parts:{X:13,method:"POST",U:"/v2/people/"+(a.Ya()?"un":"")+"block",Y:(c["content-type"]="application/json",c),json:b}}},fha=function(a,b){var c={},d=L(a.request,1);a.pageToken&&(c.pageToken=a.pageToken);a.request.La()&&(c.maxResults=a.request.La());c.fields="kind,nextPageToken,categoryMetadata";cs(a.request,
6,B()).length>0&&(c.labelPackages=cs(a.request,6,B()).map(function(h){return dC(h)}).join(","));var e={};vu([],[d],b,e);var f;a=(f=a.request.I())!=null?f:new R;var g;Wt(a,(g=a.g())!=null?g:112);return{parts:{fa:a,U:"files/"+d+"/listCategoryMetadata",Y:e,ma:c}}},gha=function(a,b){var c=L(a,1),d={},e=z(a,eC,2,B());e.length&&(d.addCategoryReferences=e.map(function(f){return{category:L(f,1)}}));e=z(a,eC,3,B());e.length&&(d.removeCategoryReferences=e.map(function(f){return L(f,1)}));e={};return{parts:{fa:a.I(),
method:"POST",json:d,U:"drives/"+c+"/changeCategoryReferences",Y:(e["content-type"]="application/json",e),ma:{fields:jr(b,[157],!0).toString()}},options:{Za:!0}}},jha=function(a,b){return{parts:{X:10,U:"/v1/userfeedback",ma:{},Y:{"content-type":"application/json"},method:"POST",fa:null,json:{userFeedback:z(a,fC,1,B()).map(function(c){var d=O(c,gC,2),e={},f={};f.feedbackType=[hha[Jt(d,1)]];e.item=f;e.clientInfo=iha(b);c=Jt(c,1);switch(c){case 1:e.clientInfo.scenarioType="DRIVE_PRIORITY";f.itemId=C(d,
2);break;case 3:e.clientInfo.scenarioType="QUICK_ACCESS";f.itemId=C(d,2);break;case 4:e.clientInfo.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES";f.itemId=C(d,2);break;case 2:e.clientInfo.scenarioType="DRIVE_WORKSPACES";f.itemId=C(d,2);f.childItem=z(d,gC,3,B()).map(function(g){return{itemId:C(g,2)}});break;case 5:e.clientInfo.scenarioType="MINPICK";f.itemId=C(d,2);break;case 8:e.clientInfo.scenarioType="HOMEPAGE_SUGGESTED_ITEMS";f.itemId=C(d,2);break;case 9:e.clientInfo.scenarioType="DRIVE_ORGANIZE_WITHIN_FOLDER";
f.itemId=C(d,2);break;default:vc(c)}return e})}},options:{ef:!0}}},iha=function(a){var b={},c=Yr(a)===9?"WEB_MOBILE":"WEB_DESKTOP";b.applicationType=Cr(Yr(a));b.platformType=c;b.languageCode=ju(dq(a));b.timeZone=hC(new iC);b.requestType="LIVE_REQUEST";return b},mha=function(a,b){var c=Mm(a,function(f){return f.K()}),d=kha(c),e={};vu([],c,b,e);e["content-type"]="application/json+protobuf";return{parts:{X:14,U:"/v1/items:delete",fa:lha(a),method:"POST",Y:e,body:d.aa()}}},lha=function(a){if(hn(a)){let c;
return(c=a.I())!=null?c:new R}var b;return(b=a.requests.map(function(c){return c.I()})[0])!=null?b:new R},nha=function(a,b){var c=F(a,1,B()).map(function(d){var e=jC(b,d);return e!==null?{id:d,resource_key:{resource_key:e}}:{id:d}});return{parts:{X:8,method:"POST",U:"/v1/exports",json:{archiveFormat:C(a,3),archivePrefix:C(a,2),conversions:void 0,items:c,locale:void 0},Y:{"content-type":"application/json"}}}},wC=function(a,b,c){var d={};if(Dn(a)){Dr(Yr(b))&&kC(c,106026);c=[];nv(a)===2&&(Nu(a),c.push({type:"DRIVE_TEAM_DRIVE_ROOT_ID",
stringValue:Nu(a)[0]}));var e,f,g=(f=(e=O(a,lC,75))==null?void 0:z(e,mC,2,B()))!=null?f:[];if(g.length>0)for(d.contextFeature=[],e=q(g),f=e.next();!f.done;f=e.next())f=f.value,(g=f.K())&&c.push({type:"DOCUMENT_CONTEXT",documentContextValue:{id:g,title:f.Ma()||"",mimeType:C(f,3)||"",parentId:C(f,4)||"",rootId:C(f,5)||""}});var h,l;e=(l=(h=O(a,lC,75))==null?void 0:z(h,mC,3,B()))!=null?l:[];if(e.length>0)for(d.contextFeature=[],h=q(e),l=h.next();!l.done;l=h.next())(l=l.value.K())&&c.push({type:"DRIVE_FOLDER_ID",
stringValue:l});c.length&&(d.contextFeature=c);if(Bu(a).length){h=new Set;c=q(Bu(a));for(l=c.next();!l.done;l=c.next()){l=L(l.value,1);nC();oC();if(!pC){e=qC();for(let t=rC,w=0;w<t.length;w++){g=f=t[w];oC();g=oha(pha(g));for(let A=g,M=0;M<A.length;M++)g=e,g.g.Ve(A[M],f)}pC=sC(e)}e=e=void 0;l=pC.get(l);l!=null&&tC.contains(l)?(e=tC.get(l),e=uC(e)):e=0;switch(e){case 7:h.add("IMAGE_ALL");break;case 2:h.add("AUDIO_ALL");break;case 14:h.add("VIDEO_ALL");break;case 4:h.add("DRAWING_ALL");break;case 10:h.add("PRESENTATION_ALL");
break;case 12:h.add("SPREADSHEET_ALL");break;case 3:h.add("DOCUMENT_ALL");break;case 6:h.add("DRIVE_FORM")}}c=[].concat(r(h));d.itemType=c}}d.maxSuggestions=a.La();c={};h=Yr(b)===9?"WEB_MOBILE":"WEB_DESKTOP";c.applicationType=Cr(Yr(b));c.platformType=h;c.languageCode=ju(dq(b));c.timeZone=hC(new iC);var m;h=((m=a.I())==null?void 0:Jt(m,3))===2?"BACKGROUND_REQUEST":"LIVE_REQUEST";c.requestType=h;m=Dr(Yr(b))||nv(a)!==2?Dr(Yr(b))?[266,277,271,272,273].includes(Yr(b))?"MINPICK":"ONE_PICK":"QUICK_ACCESS":
"QUICK_ACCESS_FOR_SHARED_DRIVE";c.scenarioType=m;var p;a:{if(Dn(a)&&Dr(Yr(b))){let t;if(b=(p=O(a,lC,75))==null?void 0:(t=O(p,vC,1))==null?void 0:C(t,1)){p=[{name:b}];break a}}p=void 0}p&&(c.clientTags=(c.clientTags||[]).concat(p));a:{if((a=O(a,lC,75))&&It(a,4))switch(Jt(a,4)){case 0:break;case 1:a="GRID_VIEW";break a;case 2:a="LIST_VIEW";break a;default:throw Error("ce");}a=void 0}a&&(c.viewType=a);d.clientInfo=c;return{parts:{X:10,U:"/v1/items",ma:{},Y:{"content-type":"application/json"},method:"POST",
fa:null,json:d}}},yC=function(a){var b=Pn(a)?x(a,1):F(a,1,B())[0],c=xC.get(a.g());a={};c&&(a.view=c);c={};return{parts:{X:15,U:"/v2/labels/"+b,Y:(c["content-type"]="application/json",c),ma:a}}},zha=function(a,b,c,d){var e={"content-type":"application/json+protobuf"};c=(new (Function.prototype.bind.apply(fr,[null].concat(r(hr(c,c.Ad(cs(a,5,B())).filter(function(f){return f!==218&&f!==235}),14,{Ad:!1})))))).toString();e["x-goog-fieldmask"]=Zca(b,c,{fields:b.zb(),additionalFields:[],anonymous:Nt(dq(d)),
Yb:jv(d)});b=qha(rha(sha(),b.Bd()),E(a,12)?2:1);d=zC(Gs(d));d.length&&tha(b,wv(d,function(f){return AC(f)}));S(a,8)&&uha(b,C(a,8));d=vha(wha(new BC,xha(yha(new CC,zn(a,2,100)),nk(a,1))),b);return{parts:{X:14,U:"/v1/changes:list",fa:a.I(),method:"POST",body:d.aa(),ma:{},Y:e},options:{}}},Aha=function(a,b,c,d){var e={includeDeleted:!0,includeSubscribed:!0};e.maxResults=zn(a,2,100);e.startChangeId=Ug(jt(a,1));c=new (Function.prototype.bind.apply(fr,[null].concat(r(hr(c,c.Ad(cs(a,5,B())).filter(function(f){return f!==
218&&f!==235}),0,{Ad:!1})))));e.fields=Yca(b,{fields:b.zb(),additionalFields:qr(c),anonymous:Nt(dq(d)),Yb:jv(d)});e.appDataFilter="NO_APP_DATA";b=zC(Gs(d));b.length&&(e.spaces=wv(b,function(f){return DC[f]}).join(","));e.supportsTeamDrives=!0;e.includeCorpusRemovals=!0;e.includeItemsFromAllDrives=!0;L(a,8)&&(e.teamDriveId=L(a,8));return{parts:{U:"changes",ma:e,fa:a.I()},options:{Za:!0}}},Cha=function(a,b,c,d){var e;(e=Xl(b))==null||Q(e,88);e=new bC;var f=Mm(a,function(l){return C(l,1)||""});Ju(e,
1,f);var g=Mm(a,function(l){return C(l,2)||""});g[0]&&D(e,2,g[0]);var h=Mm(a,function(l){return C(l,4)||""});h[0]&&D(e,3,h[0]);b={fields:d.zb(),anonymous:Nt(dq(b)),Yb:jv(b)};b="migrate_item_response(id,item_result_status(status(code,message,details),item("+xr(d,b)+")))";d={};vu([],f.concat(g),c,d);d["content-type"]="application/json+protobuf";d["x-goog-fieldmask"]=b;a=Bha(a);return{parts:{X:14,method:"POST",U:"/v1/items:migratetoshareddrive",Y:d,body:e.aa(),fa:a}}},Bha=function(a){if(Xn(a))return a.I();
var b;return(b=Mm(a,function(c){return c.I()})[0])!=null?b:new R},Dha=function(a,b){var c={"content-type":"application/json"},d=a.Ea(),e="files/"+d+"/updateCategoryMetadata",f,g=(f=a.I())!=null?f:new R;a={categoryMetadata:EC(a).map(function(h){var l=z(h,FC,2,B()).map(function(t){var w,A,M,da,ja,Ja,Ma;return{id:(w=t.K())!=null?w:void 0,userId:L(t,2),setBooleanValue:(A=E(t,3))!=null?A:void 0,setTextValue:(M=C(t,4))!=null?M:void 0,setTextValues:F(t,6,B(Rr)),addTextValues:F(t,5,B(Rr)),setLongTextValue:(da=
C(t,7))!=null?da:void 0,setSelectionValue:(ja=C(t,8))!=null?ja:void 0,setSelectionValues:F(t,10,B(Rr)),addSelectionValues:F(t,9,B(Rr)),setIntegerValue:nk(t,11)?nk(t,11):void 0,setIntegerValues:Array.from(GC(t,13)),addIntegerValues:Array.from(GC(t,12)),setUserValue:(Ja=C(t,14))!=null?Ja:void 0,setUserValues:F(t,16,B(Rr)),addUserValues:F(t,15,B(Rr)),setDateStringValue:(Ma=C(t,17))!=null?Ma:void 0}}),m,p={categoryName:(m=C(h,1))!=null?m:void 0};if(l.length)p.categoryAttributeValueDeltas=l;else if(F(h,
4,B()).length)p.revertAttributeIds=F(h,4,B(Rr));else if(Um(h,3)){let t;p.removeCategory=(t=Um(h,3))!=null?t:void 0}return p})};vu([],[d],b,c);return{parts:{U:e,json:a,method:"POST",fa:g,Y:c,ma:{}}}},Fha=function(a){var b=new HC,c=UB(new VB,a.Ea()),d,e=(d=a.I())!=null?d:new R;ru(su(e));a=EC(a).map(function(f){return Eha(f)});XB(c,33,IC,a);fk(b,1,VB,c);return{parts:{X:14,U:"/v1/items:update",method:"POST",fa:e,Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"update_item_response(id,item_result_status(item(id),status,metamodels))"},
body:b.aa()}}},Eha=function(a){var b=z(a,FC,2,B()),c=F(a,4,B()),d=E(a,3);a=Gha(new IC,C(a,1));var e=new JC;b.length>0?Hha(e,Iha(new KC,b.map(function(f){var g=new LC;var h=f.K();g=D(g,1,h);S(f,4)?g.setTextValue(C(f,4)):S(f,8)?g.setSelectionValue(C(f,8)):MC(f,10)!==0?(f=NC(F(f,10,B())),y(g,7,OC,f)):MC(f,9)!==0?(f=NC(F(f,9,B())),y(g,8,OC,f)):Yc(rk(f,11))!=null?g.setIntegerValue(jt(f,11)):S(f,14)?(f=C(f,14),Ij(g,10,OC,dd(f))):MC(f,16)!==0?(f=NC(F(f,16,B())),y(g,12,OC,f)):MC(f,15)!==0?(f=NC(F(f,15,B())),
y(g,13,OC,f)):S(f,17)&&(f=$w(C(f,17)),Ij(g,11,OC,Pc(f)));return g}))):c.length>0?Jha(e,NC(c)):d&&Ij(e,3,PC,d==null?d:zc(d));return K(a,2,e)},Pha=function(a,b,c,d,e){var f=Kha(QC(new HC,Mm(a,function(h){var l=e(RC(h.K()));return SC(h,l)})),Lha(c)),g={};g["x-goog-fieldmask"]=Mha(nr(c,{fields:c.zb(),anonymous:Nt(dq(d)),Yb:jv(d)}));Nha(dq(d))&&(g["accept-language"]=ju(dq(d)));g["content-type"]="application/json+protobuf";vu(Lm(a).flatMap(function(h){return z(h,qv,38,B())}),Lm(a).flatMap(function(h){return[h.K()].concat(r(TC(h)),
r(UC(h)))}),b,g);b=!!VC(WC(d));d=!!XC(WC(d));d=am(b,!1,!d);a=Oha(a).Gb(iq(d));It(a,1)||Wt(a,912);return{parts:{X:14,U:"/v1/items:update",method:"POST",fa:a,Y:g,body:f.aa()}}},Lha=function(a){var b=new YC;a=a.Bd();a.length>0&&Fe(b,1,a,Dc);return b},Oha=function(a){return a instanceof Im?(a=a.requests[0])?ZC(a):new R:ZC(a)},ZC=function(a){var b;a=(b=a.I())!=null?b:new R;ru(su(a));return a},SC=function(a,b){var c=UB(new VB,a.K()),d=c.setTitle,e=a.Ma();c=d.call(c,la(NA(e))?void 0:e).setDescription(C(a,
3));d=E(a,4);c=I(c,4,d);d=E(a,5);c=I(c,5,d);d=jt(a,7);c=Vr(c,7,d);d=E(a,11);c=I(c,11,d);d=jt(a,12);c=Vr(c,12,d);d=E(a,16);c=I(c,14,d);d=E(a,40);c=I(c,25,d);d=E(a,45);c=I(c,32,d);d=RC(O(a,xx,25));c=yu(c,23,d);c=H(c,27,2);d=!!E(a,15);c=I(c,15,d);d=F(a,31,B());c=Ju(c,19,d);d=F(a,32,B());c=Ju(c,20,d);d=$C(TC(a));c=D(c,8,d);d=$C(UC(a));c=D(c,9,d);b=Ju(c,29,b);c=E(a,24);b=I(b,18,c);c=vB(a,wB,43);b=K(b,30,c);a=F(a,44,B());return Ju(b,31,a)},RC=function(a){return a?[a]:[]},$C=function(a){return a.length>
0?a[0]:void 0},bD=function(a){var b=Array(18);b[0]="0";b[1]="x";for(let c=0;c<8;c++){let d=a.charCodeAt(7-c);b[c*2+2]=aD(d>>4);b[c*2+3]=aD(d&15)}return b.join("")},aD=function(a){return String.fromCharCode(a<10?48+a:87+a)},Qha=function(){var a=new cD;a.g=!0;var b=new dD(a),c=new eD;a.j.push(c.o.bind(c));return{P:b,ue:c,log:a}},Rha=function(a,b){if(ds(b,xw,103)){var c=Xl(b);a.info("CJSE:  Source = "+c.Hg());Zl.forEach(function(d){a.info("** CJSE: "+d.ya.key+" ==> Value: '"+d.getValue(c)+"'")})}else a.info("CJSE: UNSET")},
fD=function(a,b){a=a.concat(b);Ta(a);return a},yr=function(){return Sha(cc.apply(0,arguments))},Sha=function(a){return a.length===0?Tha:a.length===1?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},zr=function(a,b){return function(c){if(c!=null)return a(c)?c:c[b]}},Ar=function(a){return function(b){return typeof b==="function"?b(a):b}},T=function(a,b,c){return gD(a,new hD(b),c)},gD=function(a,b,c){return{key:a,operations:b,config:c}},iD=function(){return cc.apply(0,arguments).join("/")},
jD=function(a){return iD("capabilities",a)},kD=function(a){return iD("creator",a)},lD=function(){return iD.apply(null,["team_drive_root_data"].concat(r(cc.apply(0,arguments))))},Uha=function(){return new gr("permission_summary",[new gr("top_permission","audience_id customer_id deleted domain email focus_user_id id name pending_owner role type unlisted is_me".split(" ")),new gr("visibility","domain id organization_display_name role type unlisted".split(" ")),"entry_count","group_entry_count","member_count",
"user_entry_count"])},Vha=function(a){if(jv(a.F)||Q(a.F,80)){let b=new gr(Hm("permissions_summary"),["entry_count","user_entry_count","group_entry_count","member_count"].map(Hm)),c=new gr(Hm("select_permissions"),"kind id user_id email_address domain role type additional_roles view audience_id customer_id".split(" ").map(Hm));Q(a.F,80)&&c.g(Hm("name"),Hm("photo_link"));kr(b,c);return b}return new gr(Hm("permissions_summary"))},Xha=function(a){if(!mD.has(a)){for(var b=q(mD.entries()),c=b.next();!c.done;c=
b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;if(Gw(c,a))return d}b=mD.set;c=nD(new oD(a),pD);d=Wha(a);d=q(d);for(var e=d.next();!e.done;e=d.next())c.g.add(e.value);c=c.build();b.call(mD,a,c)}return mD.get(a)},Wha=function(a){var b=[].concat(r(pD.keys())).filter(function(c){return c!==73&&c!==118&&c!==218&&c!==235&&c!==331&&c!==298&&c!==299&&c!==157&&c!==156});qD(zB(a,DB,4))&&b.push(218,235);rD(zB(a,DB,4))&&b.push(298,299);Q(a,77)&&b.push(156);return b},Zha=function(a,b){b=b===void 0?
sD:b;if(!tD){let d;a=(d=a.navigator)==null?void 0:d.userAgentData;if(!a||typeof a.getHighEntropyValues!=="function"||a.brands&&typeof a.brands.map!=="function")return Promise.reject(Error("we"));Yha((a.brands||[]).map(function(e){var f=new uD;f=D(f,1,e.brand);return D(f,2,e.version)}));typeof a.mobile==="boolean"&&I(vD,2,a.mobile);tD=a.getHighEntropyValues(b)}var c=new Set(b);return tD.then(function(d){var e=vD.clone();c.has("platform")&&D(e,3,d.platform);c.has("platformVersion")&&D(e,4,d.platformVersion);
c.has("architecture")&&D(e,5,d.architecture);c.has("model")&&D(e,6,d.model);c.has("uaFullVersion")&&D(e,7,d.uaFullVersion);return e.aa()}).catch(function(){return vD.aa()})},wD=function(a,b,c){a=new uj(a);c.Ha(a);var d=new ji(c);c.Ha(d);d.listen(a,"tick",b);a.start()},zD=function(a,b){if(b&&a in b)return a;var c=xD?"Webkit":yD?"Moz":null;return c?(c=c.toLowerCase(),a=c+$ha(a),b===void 0||a in b?a:null):null},DD=function(a){var b=b===void 0?aia:b;var c=AD(a),d=function(e){e=q(e);e.next();e=BD(e);return b(c,
e)};return function(){var e=cc.apply(0,arguments),f=this||n,g=CD.get(f);g||(g={},CD.set(f,g));f=g;g=[this].concat(r(e));e=d?d(g):g;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var h=q(g);g=h.next().value;h=BD(h);g=a.apply(g,h);f=f[e]=g}return f}},GD=function(a){vh.call(this);a||(a=ED||(ED=new FD));this.g=a;if(this.j=this.Cr())this.o=Sp(this.g.g,this.j,sj(this.mq,this))},HD=async function(a,b){return new Promise(function(c,d){var e=b==null?void 0:b.signal;if(e){var f=function(){clearTimeout(g);
d(Error("He",{cause:e.reason}))};if(e.aborted){f();return}e.addEventListener("abort",f,{once:!0})}var g=setTimeout(function(){c(b==null?void 0:b.result);e&&e.removeEventListener("abort",f)},a)})},gia=function(a,b){b=Gb(b)?Bd(b):b.clone();var c;(c=!ds(b,xw,103))||(c=WC(b),c=!Q(c,80));if(c){try{var d=jl("TSDtV").g!=null}catch(p){d=!1}if(d){c=ID(2);qca(c);d=Q(c,2);I(c,8,d);d=K(b,103,c);try{var e=Yg().Af()}catch(p){e=null}N(d,104,Jb(e,!1,!0))}else e=ID(1),K(b,103,e);d=JD(b);e=Xl(b);if(d&&e&&(Q(e,46)||
Q(d,88)))for(I(e,46,!0),I(d,88,!0),d=q(Zl),c=d.next();!c.done;c=d.next())c=c.value,c.za&&c.setValue(e,!0);e=JD(b);d=Xl(b);e&&d&&(c=bm(CB(e),Q(d,20),Q(d,21)),H(e,43,c),c=bm(Hl(e,60),Q(d,18),Q(d,19)),H(e,60,c),c=bm(Hl(e,61),Q(d,24),Q(d,25)),H(e,61,c),d=bm(Hl(e,68),Q(d,22),Q(d,23)),H(e,68,d));e=WC(b);I(e,80,!0)}var f;if((f=JD(b))==null?0:Q(f,17)){var g;(g=JD(b))!=null&&I(g,15,!0)}I(b,75,n.devicePixelRatio>1);f=!Q(b,61);if(Q(b,61)){g=O(b,KD,66);var h;((h=LD(b))==null||!Nt(h))&&"SharedWorker"in n&&g&&
C(g,1)||(f=!0)}f&&(h=I(b,61,!1),N(h,66));h=Q(b,61)?3:5;a=new MD(a,b,h);f=fq(b);h=[].concat(r(a.O.Ld.j.g));if(g=O(b,KD,66)){d=g;c=et(b);var l=eq(dq(b));e=C(d,1);var m=m===void 0?window:m;e=new bi(e);e.getPath().match(bia);m=m===void 0?window:m;m=new bi(m.location);let p=m.j+"://"+m.g;m.o!=null&&(p+=":"+m.o);m=db(p,3);$v(e,"co",m);m=e.getPath();!c&&l>0&&(m+="u/"+l+"/");fi(e,m+"_/dataservice/cacheproxy");m=(m=O(d,ND,8))&&(Zp(m)||ll(cia));Rh(window.location.href,e.toString())&&m!==void 0?(g=C(g,6),h=
Array.from(h).sort(),f="#"+f+"_",e=new Yp,e.update(h.join(",")),f+=ia(e.digest()),g&&(f+="&jobset="+g),f=Ch(m+"?"+f),"SharedWorker"in n?(e=new SharedWorker(Dh(f),void 0),f=new Tp(e.port),g=OD(e.port,PD),e.port.start()):(g=new Worker(Dh(f),void 0),f=new Tp(g),g=dia(g)),m={channel:new aq(f,!0),ne:1,endpoint:String(m),Ap:h,Hp:g}):m=Kca(e)}else f=new eia,m=new aq(f.g,!1),g=new aq(f.xi,!1),f=QD(),m={channel:m,xi:g,ne:2,endpoint:"inline",Ap:h,Hp:f.En,sD:f.Dn};return fia(b,new RD(a,m))},fia=function(a,b){var c;
((c=O(a,SD,58))==null?0:Q(c,1))&&ct("drive.DebugUtil.getItemService",function(){return b});return b},hia=function(a){var b={},c={},d=[],e=[],f=function(l){if(!c[l]){var m=l instanceof TD?l.g:[];c[l]=[].concat(r(m));m.forEach(function(p){b[p]=b[p]||[];b[p].push(l)});m.length||d.push(l);m.forEach(f)}};for(a.forEach(f);d.length;){let l=d.shift();e.push(l);b[l]&&b[l].forEach(function(m){Ka(c[m],l);c[m].length||d.push(m)})}var g={},h=[];e.forEach(function(l){l instanceof TD&&(l=l.j,l==null||g[l]||(g[l]=
!0,h.push(l)))});return{Fb:e,Ts:h}},XD=function(a){var b=UD;a=[].concat(r(b),r(a));var c,d=(c=VD.get(b))!=null?c:[];d.length===0&&VD.set(b,d);d.push(a);return WD(a)},WD=function(a){if(YD===null)throw Error("Se");YD.push(a);return a},nia=function(a){a=[].concat(r(iia()),[jia(),ZD($D(Vo(new Uo,aE(11,!1))).lb(1E4),[AC(1)]),kia(Q(a,45)),lia(),mia()]);a.forEach(function(b){Mu(b)});return a},iia=function(){var a=[aE(4,!0,!0),aE(1,!1,!0),aE(2,!1,!0),aE(6,!1,!0)],b=AC(1),c=(new yv).setValue("root");return a.map(function(d){return ZD(xv(To(Vo(new Uo,
d),!1),[c]).lb(100),[b])})},kia=function(a){var b=uu(bE||(bE=cE("[2,[4,6,9,8,3,18,14],[6,4,14,9,8,3,18],3,[11,2,false,false],[[11,2,false,false]],null,null,1,[2,1],null,null,[false,null,true,true,true,true,null,true,true,null,true,null,null,null,null,null,true]]")));if(dE){var c=O(b,eE,13);I(c,5,!1)}b=oia?uu(fE(ie(b))):b;b=gE(O(b,hE,5));if(a){var d=Vo(ZD(iE(iE(To(Wo(new Uo,Wt(new R,106)),!1),jE((new kE).setValue("application/vnd.google-apps.folder"))),jE((new kE).setValue("application/vnd.google-apps.shortcut"))).lb(100),
[AC(1)]),b);a=new Uo;c=new R;c=Wt(c,lE.j());c=ie(c);a=Wo(a,c);c=new So;c=H(c,1,mE.j());c=H(c,2,nE.j());c=I(c,3,!1);c=ie(c);a=Vo(a,c);a=To(a,!1);c=(new kE).setValue("application/vnd.google-apps.folder");c=jE(c);c=ie(c);a=iE(a,c);c=(new kE).setValue("application/vnd.google-apps.shortcut");c=jE(c);c=ie(c);a=iE(a,c);b=Gw(d,Vo(ZD(uu(ie(a)).lb(100),[AC(1)]),b));a=Sb;if(!b)throw Error((typeof a==="function"?a():a)||String(b));return d}a=new Uo;c=Bu(a).concat([jE((new kE).setValue(oE.Up)),jE((new kE).setValue(oE.Fq))]);
return To(ZD(Vo(pE(a.lb(100),c),b),[AC(1)]),(d=Um(a,9))!=null?d:!1)},lia=function(){var a=uu(qE||(qE=cE("[5,[4,6,8,12,3,18,14],[6,4,14,12,8,3,18],3,[4,1,true,true],[[4,1,true,true],[1,2,true,true],[2,2,true,true],[6,2,true,true]],5,[5,2,7],1,[2,1],null,null,[false,null,true,true,true,true,null,true,true,null,true,null,null,true,null,null,true]]")));if(dE){var b=O(a,eE,13);I(b,5,!1)}a=pia?uu(fE(ie(a))):a;a=gE(O(a,hE,5));a=ZD(Vo((new Uo).lb(100),a),[AC(1)]);a=I(a,10,!0);return To(a,!1)},mia=function(){var a=
uu(rE||(rE=cE("[7,[4,6,8,12,3,23,14],[6,4,14,8,12,3,23],3,[12,2,false,true],[[12,2,false,true],[4,1,true,true],[1,2,false,true],[2,2,false,true],[6,2,false,true]],16,[16,5,2,7],1,[1,2],null,null,[false,null,true,true,true,true,null,true,true,null,true,null,null,false,null,null,true]]")));if(qia){var b=O(a,eE,13);I(b,5,!1)}a=uu(fE(ie(a)));b=gE(O(a,hE,5));a=new Uo;var c=To(a,!0);c=I(c,17,!0);b=ZD(Vo(c,b),[AC(1)]);D(b,43,"").lb(100);return a},jia=function(){var a=uu(sE||(sE=cE("[3,[4,6,11,12,14],[6,4,14,11,12],3,[7,2,false,true],[[7,2,false,true],[4,1,true,true],[1,2,false,true],[2,2,false,true],[6,2,false,true]],10,[10,5,2,7],1,[2,1],null,null,[false,null,true,true,true,true,null,true,true,null,true,null,null,true,null,null,true]]")));
if(dE){var b=O(a,eE,13);I(b,5,!1)}a=uu(fE(ie(a)));a=gE(O(a,hE,5));b=(new Cu).setValue("me");b=I(b,2,!0);var c=(new Uo).lb(100);b=fk(c,13,Cu,b);b=I(b,16,!0);return To(ZD(Vo(b,a),[AC(1)]),!1)},aE=function(a,b,c){var d=new So;a=H(d,1,a);b=H(a,2,b?1:2);c!=null&&I(b,3,c);return b},gE=function(a){return aE(Tn(a,1),Tn(a,2)===1,!!Um(a,3))},tE=function(a){if(typeof document!=="undefined"&&document&&document.getElementById&&(a=document.getElementById(a))){let b=a.tagName.toUpperCase();if(b=="SCRIPT"||b=="LINK")return a}return null},
vE=function(a,b){if((a=a===void 0?"":a)&&b)throw Error("We");var c="";var d=n._F_jsUrl;(a=b||tE(a))&&(c=a.src?a.src:a.getAttribute("href"));if(d&&c){if(d!=c)throw Error("Xe`"+d+"`"+c);c=d}else c=d||c;if(!uE(c))throw Error("Ye");return c},sia=function(){if(!wE){wE=!0;try{var a=vE(n._F_jsUrl?"":"base-js")}catch(c){return}var b=ria(xE(a));if(b instanceof Map)b.size!==0&&el(function(c){for(var d=q(b.entries()),e=d.next();!e.done;e=d.next()){var f=q(e.value);e=f.next().value;f=f.next().value;f=q(f);for(var g=
f.next();!g.done;g=f.next())c.Fk(e,g.value)}});else{let c=Object.keys(b);c.length!==0&&el(function(d){for(var e=q(c),f=e.next();!f.done;f=e.next()){let h=f.value;f=q(Object.keys(b[h]));for(var g=f.next();!g.done;g=f.next())d.Fk(h,g.value)}})}}},yE=function(a,b){this.g=a;this.j=b},AE=function(a,b){bh.call(this);this.o=a;this.G=b;this.C=zE?null:[];this.B=zE?null:[];this.j=zE?null:[];this.H=!1},DE=function(){if(!BE){for(let a=0;a<64;a++)CE["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charCodeAt(a)]=
a;BE=!0}},EE=function(a){a=a.Lk.charCodeAt(a.Qf++);return CE[a]},FE=function(a){var b=0,c=0;do{var d=EE(a);b|=(d&31)<<c;c+=5}while(d&32);return b<0?b+4294967296:b},GE=function(){this.ca=this.Ja=null},HE=Object.create,IE=Object.defineProperty,JE=globalThis,KE="Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64".split(" ");JE.BigInt64Array&&(KE.push("BigInt64"),KE.push("BigUint64"));
var tia=function(a,b){if(b)for(var c=0;c<KE.length;c++)LE(KE[c]+"Array.prototype."+a,b)},ME=function(a,b){b&&LE(a,b)},LE=function(a,b){var c=JE;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))return;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&IE(c,a,{configurable:!0,writable:!0,value:b})},NE=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if(typeof Reflect!="undefined"&&Reflect.construct){if(a())return Reflect.construct;
var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){e===void 0&&(e=c);e=HE(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}(),OE=Object.setPrototypeOf,U=function(a,b){a.prototype=HE(b.prototype);a.prototype.constructor=a;OE(a,b);a.Kb=b.prototype},PE=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},q=function(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&
a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:PE(a)};throw Error("a`"+String(a));},BD=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},r=function(a){return a instanceof Array?a:BD(q(a))},RE=function(a){return QE(a,a)},QE=function(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a},SE=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},uia=Object.assign;ME("Object.assign",function(a){return a||uia});
ME("Symbol",function(a){if(a)return a;var b=function(f,g){this.g=f;IE(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.g};var c="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("b");return new b(c+(f||"")+"_"+d++,f)};return e});ME("Symbol.iterator",function(a){if(a)return a;a=Symbol("c");IE(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return TE(PE(this))}});return a});
ME("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var TE=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},Cba=function(a){this[Symbol.asyncIterator]=function(){return this};this[Symbol.iterator]=function(){return a};this.next=function(b){return Promise.resolve(a.next(b))};this["throw"]=function(b){return new Promise(function(c,d){var e=a["throw"];e!==void 0?c(e.call(a,b)):(c=a["return"],c!==void 0&&c.call(a),d(new TypeError("e")))})};a["return"]!==void 0&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})},
cc=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};ME("globalThis",function(a){return a||JE});ME("Reflect",function(a){return a?a:{}});ME("Reflect.construct",function(){return NE});ME("Reflect.setPrototypeOf",function(a){return a?a:OE?function(b,c){try{return OE(b,c),!0}catch(d){return!1}}:null});
ME("Promise",function(a){function b(){this.g=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.j=function(g){if(this.g==null){this.g=[];var h=this;this.o(function(){h.C()})}this.g.push(g)};var d=JE.setTimeout;b.prototype.o=function(g){d(g,0)};b.prototype.C=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var h=0;h<g.length;++h){var l=g[h];g[h]=null;try{l()}catch(m){this.B(m)}}}this.g=null};b.prototype.B=function(g){this.o(function(){throw g;
})};var e=function(g){this.g=0;this.o=void 0;this.j=[];this.G=!1;var h=this.B();try{g(h.resolve,h.reject)}catch(l){h.reject(l)}};e.prototype.B=function(){function g(m){return function(p){l||(l=!0,m.call(h,p))}}var h=this,l=!1;return{resolve:g(this.T),reject:g(this.C)}};e.prototype.T=function(g){if(g===this)this.C(new TypeError("f"));else if(g instanceof e)this.ka(g);else{a:switch(typeof g){case "object":var h=g!=null;break a;case "function":h=!0;break a;default:h=!1}h?this.L(g):this.D(g)}};e.prototype.L=
function(g){var h=void 0;try{h=g.then}catch(l){this.C(l);return}typeof h=="function"?this.ra(h,g):this.D(g)};e.prototype.C=function(g){this.N(2,g)};e.prototype.D=function(g){this.N(1,g)};e.prototype.N=function(g,h){if(this.g!=0)throw Error("g`"+g+"`"+h+"`"+this.g);this.g=g;this.o=h;this.g===2&&this.ca();this.H()};e.prototype.ca=function(){var g=this;d(function(){if(g.ba()){var h=JE.console;typeof h!=="undefined"&&h.error(g.o)}},1)};e.prototype.ba=function(){if(this.G)return!1;var g=JE.CustomEvent,
h=JE.Event,l=JE.dispatchEvent;if(typeof l==="undefined")return!0;typeof g==="function"?g=new g("unhandledrejection",{cancelable:!0}):typeof h==="function"?g=new h("unhandledrejection",{cancelable:!0}):(g=JE.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.o;return l(g)};e.prototype.H=function(){if(this.j!=null){for(var g=0;g<this.j.length;++g)f.j(this.j[g]);this.j=null}};var f=new b;e.prototype.ka=function(g){var h=this.B();g.Vi(h.resolve,
h.reject)};e.prototype.ra=function(g,h){var l=this.B();try{g.call(h,l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.then=function(g,h){function l(w,A){return typeof w=="function"?function(M){try{m(w(M))}catch(da){p(da)}}:A}var m,p,t=new e(function(w,A){m=w;p=A});this.Vi(l(g,m),l(h,p));return t};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.Vi=function(g,h){function l(){switch(m.g){case 1:g(m.o);break;case 2:h(m.o);break;default:throw Error("h`"+m.g);}}var m=this;this.j==
null?f.j(l):this.j.push(l);this.G=!0};e.resolve=c;e.reject=function(g){return new e(function(h,l){l(g)})};e.race=function(g){return new e(function(h,l){for(var m=q(g),p=m.next();!p.done;p=m.next())c(p.value).Vi(h,l)})};e.all=function(g){var h=q(g),l=h.next();return l.done?c([]):new e(function(m,p){function t(M){return function(da){w[M]=da;A--;A==0&&m(w)}}var w=[],A=0;do w.push(void 0),A++,c(l.value).Vi(t(w.length-1),p),l=h.next();while(!l.done)})};return e});
var UE=function(a,b,c){if(a==null)throw new TypeError("i`"+c);if(b instanceof RegExp)throw new TypeError("j`"+c);return a+""};ME("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=UE(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});ME("Object.setPrototypeOf",function(a){return a||OE});ME("Symbol.dispose",function(a){return a?a:Symbol("k")});
var VE=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{po:e,v:f}}return{po:-1,v:void 0}};ME("Array.prototype.find",function(a){return a?a:function(b,c){return VE(this,b,c).v}});
ME("WeakMap",function(a){function b(){}function c(l){var m=typeof l;return m==="object"&&l!==null||m==="function"}function d(l){if(!SE(l,f)){var m=new b;IE(l,f,{value:m})}}function e(l){var m=Object[l];m&&(Object[l]=function(p){if(p instanceof b)return p;Object.isExtensible(p)&&d(p);return m(p)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),p=new a([[l,2],[m,3]]);if(p.get(l)!=2||p.get(m)!=3)return!1;p.delete(l);p.set(m,4);return!p.has(l)&&p.get(m)==4}catch(t){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(l){this.g=(g+=Math.random()+1).toString();if(l){l=q(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};h.prototype.set=function(l,m){if(!c(l))throw Error("l");d(l);if(!SE(l,f))throw Error("m`"+l);l[f][this.g]=m;return this};h.prototype.get=function(l){return c(l)&&SE(l,f)?l[f][this.g]:void 0};h.prototype.has=function(l){return c(l)&&SE(l,f)&&SE(l[f],this.g)};h.prototype.delete=function(l){return c(l)&&
SE(l,f)&&SE(l[f],this.g)?delete l[f][this.g]:!1};return h});
ME("Map",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var h=Object.seal({x:4}),l=new a(q([[h,"s"]]));if(l.get(h)!="s"||l.size!=1||l.get({x:4})||l.set({x:4},"t")!=l||l.size!=2)return!1;var m=l.entries(),p=m.next();if(p.done||p.value[0]!=h||p.value[1]!="s")return!1;p=m.next();return p.done||p.value[0].x!=4||p.value[1]!="t"||!m.next().done?!1:!0}catch(t){return!1}}())return a;var b=new WeakMap,c=function(h){this[0]={};this[1]=
f();this.size=0;if(h){h=q(h);for(var l;!(l=h.next()).done;)l=l.value,this.set(l[0],l[1])}};c.prototype.set=function(h,l){h=h===0?0:h;var m=d(this,h);m.list||(m.list=this[0][m.id]=[]);m.entry?m.entry.value=l:(m.entry={next:this[1],xe:this[1].xe,head:this[1],key:h,value:l},m.list.push(m.entry),this[1].xe.next=m.entry,this[1].xe=m.entry,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.entry&&h.list?(h.list.splice(h.index,1),h.list.length||delete this[0][h.id],h.entry.xe.next=
h.entry.next,h.entry.next.xe=h.entry.xe,h.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].xe=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).entry};c.prototype.get=function(h){return(h=d(this,h).entry)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=
function(h,l){for(var m=this.entries(),p;!(p=m.next()).done;)p=p.value,h.call(l,p[1],p[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,l){var m=l&&typeof l;m=="object"||m=="function"?b.has(l)?m=b.get(l):(m=""+ ++g,b.set(l,m)):m="p_"+l;var p=h[0][m];if(p&&SE(h[0],m))for(h=0;h<p.length;h++){var t=p[h];if(l!==l&&t.key!==t.key||l===t.key)return{id:m,list:p,index:h,entry:t}}return{id:m,list:p,index:-1,entry:void 0}},e=function(h,l){var m=h[1];return TE(function(){if(m){for(;m.head!=
h[1];)m=m.xe;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})},f=function(){var h={};return h.xe=h.next=h.head=h},g=0;return c});
ME("Set",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(q([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=4||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;var b=function(c){this.g=new Map;if(c){c=
q(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size};b.prototype.add=function(c){c=c===0?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});ME("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)SE(b,d)&&c.push(b[d]);return c}});ME("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
ME("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});ME("String.prototype.includes",function(a){return a?a:function(b,c){return UE(this,b,"includes").indexOf(b,c||0)!==-1}});
ME("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(h){return h};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});ME("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)SE(b,d)&&c.push([d,b[d]]);return c}});
ME("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});ME("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});ME("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});ME("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});ME("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});
ME("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=UE(this,b,"endsWith");c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});ME("Array.prototype.entries",function(a){return a?a:function(){return this[Symbol.iterator]()}});ME("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});
ME("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});ME("Array.prototype.keys",function(a){return a?a:function(){return this[Symbol.iterator]()}});ME("Array.prototype.values",function(a){return a?a:function(){return this[Symbol.iterator]()}});
ME("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError("n`"+b);b=b[Symbol.iterator].call(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;if(Object(d)!==d)throw new TypeError("o");c[d[0]]=d[1]}return c}});ME("Math.imul",function(a){return a?a:function(b,c){b=Number(b);c=Number(c);var d=b&65535,e=c&65535;return d*e+((b>>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});
var WE=function(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]};ME("Array.prototype.at",function(a){return a?a:WE});tia("at",function(a){return a?a:WE});ME("String.prototype.at",function(a){return a?a:WE});
ME("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(e<0||e>1114111||e!==Math.floor(e))throw new RangeError("p`"+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});
ME("String.prototype.repeat",function(a){return a?a:function(b){var c=UE(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("q");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});ME("Array.prototype.findIndex",function(a){return a?a:function(b,c){return VE(this,b,c).po}});ME("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});
ME("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});ME("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}});
ME("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("r");var c=new RegExp(b,b instanceof RegExp?void 0:"g"),d=this,e=!1,f={next:function(){if(e)return{value:void 0,done:!0};var g=c.exec(d);if(!g)return e=!0,{value:void 0,done:!0};g[0]===""&&(c.lastIndex+=1);return{value:g,done:!1}}};f[Symbol.iterator]=function(){return f};return f}});ME("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});
ME("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});ME("Reflect.get",function(a){return a?a:function(b,c,d){if(arguments.length<=2)return b[c];var e;a:{for(e=b;e;){var f=Reflect.getOwnPropertyDescriptor(e,c);if(f){e=f;break a}e=Reflect.getPrototypeOf(e)}e=void 0}if(e)return e.get?e.get.call(d):e.value}});
ME("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});ME("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});
ME("String.prototype.padStart",function(a){return a?a:function(b,c){var d=UE(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";return(b>0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});ME("Promise.withResolvers",function(a){return a?a:function(){var b,c;return{promise:new Promise(function(d,e){b=d;c=e}),resolve:b,reject:c}}});var XE=XE||{},n=this||self,ZE=function(a,b){var c=YE("WIZ_global_data.oxN3nb");a=c&&c[a];return a!=null?a:b},$E=n._F_toggles||[],aF=function(){};aF.get=function(){return null};
var YE=function(a,b){a=a.split(".");b=b||n;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b},yc=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"},Oa=function(a){var b=yc(a);return b=="array"||b=="object"&&typeof a.length=="number"},Vw=function(a){var b=typeof a;return b=="object"&&a!=null||b=="function"},AD=function(a){return Object.prototype.hasOwnProperty.call(a,bF)&&a[bF]||(a[bF]=++via)},wia=function(a){a!==null&&"removeAttribute"in a&&a.removeAttribute(bF);
try{delete a[bF]}catch(b){}},bF="closure_uid_"+(Math.random()*1E9>>>0),via=0,xia=function(a,b,c){return a.call.apply(a.bind,arguments)},sj=function(a,b,c){sj=xia;return sj.apply(null,arguments)},yj=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},tj=function(){return Date.now()},yia=function(a){(0,eval)(a)},ct=function(a,b){a=a.split(".");for(var c=n,d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&
c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},Gd=function(a){return a},cF=function(a,b){function c(){}c.prototype=b.prototype;a.Kb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.nD=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}};cF(aa,Error);aa.prototype.name="CustomError";var ED;var dF=!0,eF,ba;var fF=!!($E[1]&64),zia=!!($E[1]&2),Aia=!!($E[1]&256),Bia=!!($E[0]>>24&1),Cia=!!($E[1]&1),Dia=!!($E[0]>>19&1),Eia=!!($E[0]>>28&1),Fia=!!($E[0]>>29&1);var qa=fF?Aia:ZE(610401301,!1),ce=fF?zia||!Bia:ZE(748402147,!0),zE=fF?Cia:ZE(919444824,!1),Gia=fF?Dia:ZE(931468047,!1),gF=fF?Eia:ZE(928875398,!1),hF=fF?Fia:ZE(683749201,!1);var ra,iF=n.navigator;ra=iF?iF.userAgentData||null:null;var Fa=function(a,b){return Array.prototype.indexOf.call(a,b,void 0)},Za=function(a,b,c){Array.prototype.forEach.call(a,b,c)},wv=function(a,b){return Array.prototype.map.call(a,b,void 0)},jF=function(a,b){return Array.prototype.some.call(a,b,void 0)};var kF=function(a){kF[" "](a);return a};kF[" "]=function(){};var Hia=va(),lF=ua()?!1:ta("Trident")||ta("MSIE"),Iia=ta("Edge"),yD=ta("Gecko")&&!(ma(pa().toLowerCase(),"webkit")&&!ta("Edge"))&&!(ta("Trident")||ta("MSIE"))&&!ta("Edge"),xD=ma(pa().toLowerCase(),"webkit")&&!ta("Edge");xD&&ta("Mobile");za()||ta("Macintosh");za()||ta("Windows");(za()?ra.platform==="Linux":ta("Linux"))||za()||ta("CrOS");za()||ta("Android");Aa();ta("iPad");ta("iPod");Aa()||ta("iPad")||ta("iPod");ma(pa().toLowerCase(),"kaios");var mF;
a:{let a="",b=function(){var c=pa();if(yD)return/rv:([^\);]+)(\)|;)/.exec(c);if(Iia)return/Edge\/([\d\.]+)/.exec(c);if(lF)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(c);if(xD)return/WebKit\/(\S+)/.exec(c);if(Hia)return/(?:Version)[ \/]?(\S+)/.exec(c)}();b&&(a=b?b[1]:"");if(lF){var nF;let c=n.document;nF=c?c.documentMode:void 0;if(nF!=null&&nF>parseFloat(a)){mF=String(nF);break a}}mF=a}var Jia=mF;var oF=wa();Aa()||ta("iPod");ta("iPad");!ta("Android")||ya()||wa()||va()||ta("Silk");ya();var Kia=ta("Safari")&&!(ya()||(ua()?0:ta("Coast"))||va()||(ua()?0:ta("Edge"))||(ua()?sa("Microsoft Edge"):ta("Edg/"))||(ua()?sa("Opera"):ta("OPR"))||wa()||ta("Silk")||ta("Android"))&&!(Aa()||ta("iPad")||ta("iPod"));var ab={},gb=null;var hb=/[-_.]/g,haa={"-":"+",_:"/",".":"="},Ab={},Lia=typeof structuredClone!="undefined";var zb=function(a,b){if(b!==Ab)throw Error("x");this.g=a;if(a!=null&&a.length===0)throw Error("w");},yb=function(){return pF||(pF=new zb(null,Ab))},Td=function(a){var b=a.g;if(b==null)a="";else if(typeof b==="string")a=b;else{let c="",d=0,e=b.length-10240;for(;d<e;)c+=String.fromCharCode.apply(null,b.subarray(d,d+=10240));c+=String.fromCharCode.apply(null,d?b.subarray(d):b);a=a.g=btoa(c)}return a};zb.prototype.Ga=function(){return this.g==null};
var qF=function(a,b){if(!a.g||!b.g||a.g===b.g)return a.g===b.g;if(typeof a.g==="string"&&typeof b.g==="string"){var c=a.g;let d=b.g;b.g.length>a.g.length&&(d=a.g,c=b.g);if(c.lastIndexOf(d,0)!==0)return!1;for(b=d.length;b<c.length;b++)if(c[b]!=="=")return!1;return!0}c=Te(a);b=Te(b);return kb(c,b)},Te=function(a){if(Ab!==Ab)throw Error("x");var b=a.g;b=b==null||jb(b)?b:typeof b==="string"?ib(b):null;return b==null?b:a.g=b},sd=function(a,b){if(typeof b==="string")b=b?new zb(b,Ab):yb();else if(b instanceof
Uint8Array)b=new zb(b,Ab);else if(!(b instanceof zb))return!1;return qF(a,b)},pF;var pb=void 0;var fd=rb(),Ke=rb(),se=rb(),jf=rb(),gg=rb(),Hd=rb(),Mia=rb(),Baa=rb(),ag=rb(),Iaa=rb(),Cb=rb("m_m",!0),Faa=rb(),rF=rb();var sb=rb("jas",!0),qe,sF=[];sF[sb]=7;qe=Object.freeze(sF);var Db={},qf={},Fb={},tF=function(a,b,c){this.g=a;this.j=b;this.o=c};tF.prototype.next=function(){var a=this.g.next();a.done||(a.value=this.j.call(this.o,a.value));return a};tF.prototype[Symbol.iterator]=function(){return this};var Rr=Object.freeze({}),uF=Object.freeze({}),Pb={};var Sb=void 0,ZB=Ub(function(a){return a!==null&&a!==void 0});var ic=Ub(function(a){return typeof a==="number"}),hc=Ub(function(a){return typeof a==="string"}),vF=Ub(function(a){return a.trim()!==""}),wF=Ub(function(a){return typeof a==="boolean"}),Qq=Ub(function(a){return a===null}),qB=Ub(function(a){return a===void 0}),Nia=Ub(function(a){return a==null}),wm=Ub(function(a){return typeof a==="function"}),Oia=Vb(Date),jaa=Ub(function(a){return!!a&&(typeof a==="object"||typeof a==="function")}),dc=ac(),laa=ac();var Rd=Ub(function(a){return a>=Pia&&a<=Qia}),Pia=BigInt(Number.MIN_SAFE_INTEGER),Qia=BigInt(Number.MAX_SAFE_INTEGER);var mc=0,nc=0,xF;var Jc=typeof BigInt==="function"?BigInt.asIntN:void 0,Wc=typeof BigInt==="function"?BigInt.asUintN:void 0,Rc=Number.isSafeInteger,Bc=Number.isFinite,Qc=Math.trunc,paa=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var Gaa={};var nd=Gd(gg);var Aaa={},yF=function(){var a=function(){return NE(Map,[],this.constructor)};U(a,Map);return a}(),Ed=function(a,b,c,d){c=c===void 0?Ad:c;d=d===void 0?Ad:d;var e=yF.call(this)||this;e.ie=a[sb]|0;e.jf=b;e.Mh=c;e.Am=e.jf?waa:d;for(let f=0;f<a.length;f++){let g=a[f],h=c(g[0],!1,!0),l=g[1];b?l===void 0&&(l=null):l=d(g[1],!1,!0,void 0,void 0,e.ie);yF.prototype.set.call(e,h,l)}return e};U(Ed,yF);
var zF=function(a){if(a.ie&2)throw Error("C");},Ud=function(a,b){return wb(Array.from(yF.prototype.entries.call(a),b))};k=Ed.prototype;k.clear=function(){zF(this);yF.prototype.clear.call(this)};k.delete=function(a){zF(this);return yF.prototype.delete.call(this,this.Mh(a,!0,!1))};k.entries=function(){if(this.jf){var a=yF.prototype.keys.call(this);a=new tF(a,zaa,this)}else a=yF.prototype.entries.call(this);return a};
k.values=function(){if(this.jf){var a=yF.prototype.keys.call(this);a=new tF(a,Ed.prototype.get,this)}else a=yF.prototype.values.call(this);return a};k.forEach=function(a,b){this.jf?yF.prototype.forEach.call(this,function(c,d,e){a.call(b,e.get(d),d,e)}):yF.prototype.forEach.call(this,a,b)};k.set=function(a,b){zF(this);a=this.Mh(a,!0,!1);return a==null?this:b==null?(yF.prototype.delete.call(this,a),this):yF.prototype.set.call(this,a,this.Am(b,!0,!0,this.jf,!1,this.ie))};
k.has=function(a){return yF.prototype.has.call(this,this.Mh(a,!1,!1))};k.get=function(a){a=this.Mh(a,!1,!1);var b=yF.prototype.get.call(this,a);if(b!==void 0){var c=this.jf;return c?(c=this.Am(b,!1,!0,c,this.ir,this.ie),c!==b&&yF.prototype.set.call(this,a,c),c):b}};var rd=function(a,b,c){return b instanceof Ed?xaa(a,b,c):yaa(a,b,c)};Ed.prototype[Symbol.iterator]=function(){return this.entries()};Ed.prototype.toJSON=void 0;Ed.prototype.ns=qf;var Dd;var Md=function(){},Jd=function(a,b){for(let c in a)!isNaN(c)&&b(a,+c,a[c])},Daa=function(a){var b=new Md;Jd(a,function(c,d,e){b[d]=uc(e)});b.gm=a.gm;return b},Ria={st:!0};var AF=Lia?structuredClone:function(a){return Nd(a,0,Od)},Ld;var Xd,Yd;var BF=jc(0),CF={},rk=function(a,b,c,d,e){b=xe(a.A,b,c,e);if(b!==null||d&&a.H!==Fb)return b},xe=function(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}},N=function(a,b,c){le(a);var d=a.A;oe(d,d[sb]|0,b,c);return a},ds=function(a,b,c){a=
a.A;return Oe(a,a[sb]|0,b,c)!==void 0},bp=function(a,b,c,d){var e=a.A;return Oe(e,e[sb]|0,b,mk(a,d,c))!==void 0},DF=function(a,b,c){var d=a.A;return Pe(a,d,d[sb]|0,b,c,3).length},EF=function(a,b,c,d,e){Re(a,b,c,e,d,1);return a},B=function(a){return a===Rr?2:4},FF=function(a,b){a=rk(a,b,void 0,void 0,Be);return a==null?yb():a},Ij=function(a,b,c,d){le(a);var e=a.A,f=e[sb]|0;if(d==null){let g=Le(e);if(Me(g,e,f,c)===b)g.set(c,0);else return a}else f=Ne(e,f,c,b);oe(e,f,b,d);return a},GF=function(a,b,c,
d){var e=a[sb]|0,f=Qb(e);e=Ne(a,e,c,b,f);oe(a,e,b,d,f)},mk=function(a,b,c){return kk(a,b)===c?c:-1},kk=function(a,b,c){a=a.A;return Me(Le(a),a,void 0,b,c)},HF=function(a,b,c,d){le(a);if(void 0===uF){if(mk(a,d,c)!==c)return}else Ne(a.A,void 0,d,c);return zB(a,b,c)},zB=function(a,b,c){le(a);a=a.A;var d=a[sb]|0,e=xe(a,c),f=void 0===uF;b=hd(e,b,!f,d);if(!f||b)return b=Bd(b),e!==b&&(d=oe(a,d,c,b),ne(a,d)),b},IF=function(a,b,c){var d=a[sb]|0,e=Qb(d),f=xe(a,c,e);if(Eb(f)){if(!Gb(f))return ke(f),f.A;var g=
f.A}else Array.isArray(f)&&(g=f);if(g){let h=g[sb]|0;h&2&&(g=fe(g,h))}g=ae(g,b);g!==f&&oe(a,d,c,g,e);return g},ww=function(a,b,c){a=a.A;return Oe(a,a[sb]|0,b,c)||b[fd]||(b[fd]=gd(b))},vB=function(a,b,c){a=a.A;return Oe(a,a[sb]|0,b,c)},O=function(a,b,c,d){var e=a.A,f=e[sb]|0;b=Oe(e,f,b,c,d);if(b==null)return b;f=e[sb]|0;if(!Gb(a,f)){let g=Bd(b);g!==b&&(ke(a)&&(e=a.A,f=e[sb]|0),b=g,f=oe(e,f,c,b,d),ne(e,f))}return b},JF=function(a,b,c){var d=a.A;return Pe(a,d,d[sb]|0,b,c,1)},KF=function(a,b,c,d){return ww(a,
b,mk(a,d,c))},z=function(a,b,c,d){var e=a.A;return Pe(a,e,e[sb]|0,b,c,d,void 0,!1,!0)},K=function(a,b,c){c=Qe(c);N(a,b,c);c&&!Gb(c)&&ne(a.A);return a},y=function(a,b,c,d){d=Qe(d);Ij(a,b,c,d);d&&!Gb(d)&&ne(a.A);return a},yu=function(a,b,c){le(a);var d=a.A,e=d[sb]|0;if(c==null)return oe(d,e,b),a;var f=c===qe?7:c[sb]|0,g=f,h=we(f),l=h||Object.isFrozen(c),m=!0,p=!0;for(let w=0;w<c.length;w++){var t=c[w];h||(t=Gb(t),m&&(m=!t),p&&(p=t))}h||(f=m?13:5,f=p?f&-4097:f|4096);l&&f===g||(c=uc(c),g=0,f=te(f,e));
f!==g&&(c[sb]=f);e=oe(d,e,b,c);2&f||!(4096&f||16&f)||ne(d,e);return a},fk=function(a,b,c,d,e){Re(a,b,c,d,e);return a},XB=function(a,b,c,d){le(a);var e=a.A;b=Pe(a,e,e[sb]|0,c,b,2,void 0,!0);var f=c=0;if(Array.isArray(d)){var g=d.length;for(let l=0;l<g;l++){var h=d[l];b.push(h);(h=Gb(h))&&!c++&&(b[sb]&=-9);h||f++||tb(b,4096)}}else for(d=q(d),g=d.next();!g.done;g=d.next())g=g.value,b.push(g),(g=Gb(g))&&!c++&&(b[sb]&=-9),g||f++||tb(b,4096);f&&ne(e);return a},nk=function(a,b){return Yc(rk(a,b,void 0,void 0,
Zc))},jt=function(a,b,c,d){return rk(a,b,c,d,Zc)},GC=function(a,b){return ve(a,b,Laa,1,void 0,512)},E=function(a,b,c,d){return Ac(rk(a,b,c,d))},$t=function(a,b,c,d){return Hc(rk(a,b,c,d))},C=function(a,b,c,d){return ed(rk(a,b,c,d))},Jt=function(a,b,c,d){return Ec(rk(a,b,c,d))},Q=function(a,b,c){c=c===void 0?!1:c;var d;return(d=E(a,b))!=null?d:c},zn=function(a,b,c){c=c===void 0?0:c;var d;return(d=$t(a,b))!=null?d:c},hs=function(a,b,c){c=c===void 0?BF:c;var d;return(d=jt(a,b))!=null?d:c},pk=function(a,
b){var c=c===void 0?BF:c;a=rk(a,b,void 0,void 0,saa);return a!=null?a:c},LF=function(a,b){var c=c===void 0?0:c;var d;return(d=rk(a,b,void 0,void 0,xc))!=null?d:c},x=function(a,b,c){c=c===void 0?"":c;var d;return(d=C(a,b))!=null?d:c},Hl=function(a,b,c){c=c===void 0?0:c;var d;return(d=Jt(a,b))!=null?d:c},MF=function(a,b){var c=c===void 0?"0":c;var d;return(d=nk(a,b))!=null?d:c},NF=function(a,b){a=ve(a,3,Zc,3,!0,1024);Mb(a,b);return a[b]},F=function(a,b,c,d,e){return ve(a,b,ed,c,e,void 0,d)},OF=function(a,
b,c){a=F(a,b,3,void 0,!0);Mb(a,c);return a[c]},MC=function(a,b){return F(a,b,3,void 0,!0).length},cs=function(a,b,c,d,e){return ve(a,b,Ec,c,e,void 0,d)},PF=function(a,b,c){a=cs(a,b,3,void 0,!0);Mb(a,c);return a[c]},tk=function(a,b,c,d){return O(a,b,mk(a,d,c),void 0)},QF=function(a){var b=mk(a,Sia,3);return E(a,b)},Um=function(a,b){return E(a,b,void 0,CF)},Sw=function(a,b){return $t(a,b,void 0,CF)},qk=function(a,b){return C(a,b)},L=function(a,b){return C(a,b,void 0,CF)},Tn=function(a,b){return Jt(a,
b,void 0,CF)},I=function(a,b,c){return N(a,b,c==null?c:zc(c))},RF=function(a,b,c){Ge(a,b,c==null?c:zc(c),!1)},J=function(a,b,c){return N(a,b,c==null?c:Gc(c))},is=function(a,b,c){return Ge(a,b,c==null?c:Gc(c),0)},Vr=function(a,b,c){return N(a,b,Pc(c))},SF=function(a,b,c){return N(a,b,Pc(c))},Uz=function(a,b,c){return Ge(a,b,c==null?c:wc(c),0)},D=function(a,b,c){return N(a,b,dd(c))},TF=function(a,b,c){return Ge(a,b,dd(c),"")},H=function(a,b,c){return N(a,b,c==null?c:Dc(c))},UF=function(a,b,c){return Ge(a,
b,c==null?c:Dc(c),0)},VF=function(a,b,c){return He(a,b,Gc,c,void 0,Hc)},Ju=function(a,b,c){return Fe(a,b,c,cd)},WF=function(a,b,c){return He(a,b,cd,void 0,c,ed,void 0,1,!1,!0)},gw=function(a,b,c){He(a,b,Dc,c,void 0,Ec)},P=function(a,b){return E(a,b)!=null},XF=function(a,b){return $t(a,b)!=null},YF=function(a,b){a=rk(a,b,void 0,void 0,Zc);a!=null&&(typeof a==="bigint"?Rd(a)?a=Number(a):(a=Jc(64,a),a=Rd(a)?Number(a):String(a)):a=Cc(a)?typeof a==="number"?Nc(a):Ic(a):void 0);return a!=null},S=function(a,
b){return C(a,b)!=null},It=function(a,b){return Jt(a,b)!=null};var Se=function(a,b,c){this.buffer=a;if(c&&!b)throw Error();this.g=b};var ZF=function(a,b,c,d){this.j=null;this.D=!1;this.C=null;this.g=this.o=this.B=0;this.init(a,b,c,d)};k=ZF.prototype;k.init=function(a,b,c,d){var e=d===void 0?{}:d;d=e.Ri===void 0?!1:e.Ri;e=e.lk===void 0?!1:e.lk;this.Ri=d;this.lk=e;a&&(a=Xe(a,this.lk),this.j=a.buffer,this.D=a.g,this.C=null,this.B=b||0,this.o=c!==void 0?this.B+c:this.j.length,this.g=this.B)};k.clear=function(){this.j=null;this.D=!1;this.C=null;this.g=this.o=this.B=0;this.Ri=!1};k.setEnd=function(a){this.o=a};
k.reset=function(){this.g=this.B};k.advance=function(a){$F(this,this.g+a)};
var Ag=function(a){var b=0,c=0,d=0,e=a.j,f=a.g;do{var g=e[f++];b|=(g&127)<<d;d+=7}while(d<32&&g&128);if(d>32)for(c|=(g&127)>>4,d=3;d<32&&g&128;d+=7)g=e[f++],c|=(g&127)<<d;$F(a,f);if(!(g&128))return jc(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(c>>>0))<<BigInt(32))+BigInt.asUintN(32,BigInt(b>>>0))));throw Error();},$F=function(a,b){a.g=b;if(b>a.o)throw Error();},Fg=function(a){var b=a.j,c=a.g,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&
127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Error();$F(a,c);return e},dba=function(a){return Ag(a)},aG=function(a){var b=a.j,c=a.g,d=b[c],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0|e<<8|f<<16|b<<24)>>>0},bG=function(a){for(var b=0,c=a.g,d=c+10,e=a.j;c<d;){let f=e[c++];b|=f;if((f&128)===0)return $F(a,c),!!(b&127)}throw Error();},fba=function(a){return Fg(a)},cG=function(a,b){if(b<0)throw Error();var c=a.g;b=c+b;if(b>a.o)throw Error();
a.g=b;return c},Sf=function(a,b){if(b==0)return yb();var c=cG(a,b);a.Ri&&a.D?c=a.j.subarray(c,c+b):(a=a.j,b=c+b,c=c===b?new Uint8Array(0):a.slice(c,b));return Bb(c)},dG=[];var Uf=0,fG=function(a,b,c,d){if(dG.length){let e=dG.pop();e.init(a,b,c,d);a=e}else a=new ZF(a,b,c,d);this.g=a;this.B=this.g.g;this.j=this.o=-1;eG(this,d)},eG=function(a,b){b=b===void 0?{}:b;a.Vk=b.Vk===void 0?!1:b.Vk},Vf=function(a,b,c,d){if(gG.length){let e=gG.pop();eG(e,d);e.g.init(a,b,c,d);return e}return new fG(a,b,c,d)},Wf=function(a){a.g.clear();a.o=-1;a.j=-1;gG.length<100&&gG.push(a)};fG.prototype.reset=function(){this.g.reset();this.B=this.g.g;this.j=this.o=-1};fG.prototype.advance=function(a){this.g.advance(a)};
var Qf=function(a){var b=a.g;if(b.g==b.o)return!1;a.B=a.g.g;var c=Fg(a.g)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw Error();if(b<1)throw Error();a.o=b;a.j=c;return!0},Pf=function(){if(Uf>=100)throw new SyntaxError;Uf++},Rf=function(a){try{switch(a.j){case 0:a.j!=0?Rf(a):bG(a.g);break;case 1:a.g.advance(8);break;case 2:if(a.j!=2)Rf(a);else{var b=Fg(a.g)>>>0;a.g.advance(b)}break;case 5:a.g.advance(4);break;case 3:Pf();let c=a.o;try{do{if(!Qf(a))throw Error();if(a.j==4){if(a.o!=c)throw Error();break}Rf(a)}while(1)}catch(d){if(d instanceof
RangeError)throw new SyntaxError;throw d;}finally{Uf>0&&Uf--}break;default:throw Error();}}catch(c){if(c instanceof RangeError)throw new SyntaxError;throw c;}},hG=function(a,b,c){var d=a.g.o,e=Fg(a.g)>>>0;e=a.g.g+e;var f=e-d;f<=0&&(a.g.setEnd(e),c(b,a,void 0,void 0,void 0),f=e-a.g.g);if(f)throw Error();a.g.g=e;a.g.setEnd(d);return b},iG=function(a){var b=Fg(a.g)>>>0,c=a.g;a=cG(c,b);var d=c.j;(c=eF)||(c=eF=new TextDecoder("utf-8",{fatal:!0}));b=a+b;d=a===0&&b===d.length?d:d.subarray(a,b);try{var e=
c.decode(d)}catch(f){if(dF===void 0){try{c.decode(new Uint8Array([128]))}catch(g){}try{c.decode(new Uint8Array([97])),dF=!0}catch(g){dF=!1}}!dF&&(eF=void 0);throw f;}return e},Eg=function(a){var b=Fg(a.g)>>>0;return Sf(a.g,b)},Cg=function(a,b,c){var d=Fg(a.g)>>>0;for(d=a.g.g+d;a.g.g<d;)c.push(b(a.g))},gG=[];var jG=function(a,b){this.lo=a>>>0;this.hi=b>>>0},lG=function(a){if(!a)return kG||(kG=new jG(0,0));if(!/^\d+$/.test(a))return null;tc(a);return new jG(mc,nc)},Tia=function(a){return new jG(a&4294967295,Math.floor(a/4294967296))},kG,mG=function(a,b){this.lo=a>>>0;this.hi=b>>>0},mg=function(a){if(!a)return nG||(nG=new mG(0,0));if(!/^-?\d+$/.test(a))return null;tc(a);return new mG(mc,nc)},Uia=function(a){return new mG(a&4294967295,Math.floor(a/4294967296))},nG,bf,cf,df,af,$e,Ye,Ze;var oG=function(){this.g=[]};oG.prototype.length=function(){return this.g.length};oG.prototype.end=function(){var a=this.g;this.g=[];return a};
var pG=function(a,b,c){for(;c>0||b>127;)a.g.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.g.push(b)},qG=function(a,b){for(;b>127;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},rg=function(a,b){if(b>=0)qG(a,b);else{for(let c=0;c<9;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},rG=function(a,b){a.g.push(b>>>0&255);a.g.push(b>>>8&255);a.g.push(b>>>16&255);a.g.push(b>>>24&255)};var sG=function(){this.o=[];this.j=0;this.g=new oG},bg=function(a,b){b.length!==0&&(a.o.push(b),a.j+=b.length)},tG=function(a,b){qg(a,b,2);b=a.g.end();bg(a,b);b.push(a.j);return b},uG=function(a,b){var c=b.pop();for(c=a.j+a.g.length()-c;c>127;)b.push(c&127|128),c>>>=7,a.j++;b.push(c);a.j++},vG=function(a){bg(a,a.g.end());var b=new Uint8Array(a.j),c=a.o,d=c.length,e=0;for(let f=0;f<d;f++){let g=c[f];b.set(g,e);e+=g.length}a.o=[b];return b},qg=function(a,b,c){qG(a.g,b*8+c)},ng=function(a,b,c){if(c!=
null)switch(qg(a,b,0),typeof c){case "number":a=a.g;pc(c);pG(a,mc,nc);break;case "bigint":c=ef(c,mG,Uia);pG(a.g,c.lo,c.hi);break;default:c=mg(c),pG(a.g,c.lo,c.hi)}},wG=function(a,b,c){c!=null&&(c=parseInt(c,10),qg(a,b,0),rg(a.g,c))},ug=function(a,b,c){qg(a,b,2);qG(a.g,c.length);bg(a,a.g.end());bg(a,c)},vf=function(a,b,c,d){c!=null&&(b=tG(a,b),d(c,a),uG(a,b))};var jg=ff(),sf=ff(),xG=ff(),yG=ff(),zG=ff(),Via=ff(),AG=ff(),Wia=ff(),Xia=ff(),Yia=ff(),BG=ff(),CG=ff();var gf,Naa=lf("1"),Oaa=lf("0");var v=function(a,b,c){this.A=u(a,b,c)};v.prototype.toJSON=function(){return Vd(this)};v.prototype.aa=function(a){return JSON.stringify(Vd(this,a))};var Og=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("M");return new a(xb(b))},Gw=function(a,b){return a===b||a==null&&b==null||!(!a||!b)&&a instanceof b.constructor&&pd(a,b)};v.prototype.clone=function(){var a=this.A,b=a[sb]|0;return he(this,a,b)?ge(this,a,!0):new this.constructor(fe(a,b,!1))};
var uu=function(a){return Bd(a)},Fl=function(a){return ie(a)};v.prototype[Cb]=Db;v.prototype.toString=function(){return this.A.toString()};var tf=function(a,b,c,d){this.g=a;this.j=b;this.pk=c;a=Gd(sf);this.o=!!a&&d===a||!1},Qaa=uf(function(a,b,c,d,e){if(a.j!==2)return!1;hG(a,IF(b,d,c),e);return!0},xf),Raa=uf(function(a,b,c,d,e){if(a.j!==2)return!1;hG(a,IF(b,d,c),e);return!0},xf),Zaa=Symbol(),Kf=Symbol(),Of=Symbol(),Zf=Symbol(),Ef=Symbol(),Tf=Symbol(),yf,zf;var Cf=function(a){this.pn=void 0;this.ve=a},ud=function(a){return(a=a.Sg)?a:Jf()},vd=function(a){return(a=a.Fl)?a:Jf()},yd=function(a,b){var c=a[b];if(c!=null)return Array.isArray(c)?a[b]=Hf(c):c;c=a.extensions;if(c!=null&&(c=c[b],c!=null)){c=Bf(c);var d;!c[0].pk||(d=a.Sg)!=null&&d.has(b)||(a.Sg||(a.Sg=new Set)).add(b);d=c[1];if(d!=null)return a[b]=Hf(d)}},Gf,Ff,If;var hg=Symbol(),Jg=function(a,b){var c=new sG;$f(a.A,c,Xf(b));return vG(c)},Zia=ig(eba,function(a,b,c){if(b!=null){if(b instanceof v){let d=b.kE;d?(b=d(b),b!=null&&ug(a,c,Xe(b,!0).buffer)):qb(ag,3);return}if(Array.isArray(b)){qb(ag,3);return}}zg(a,b,c)},BG),$ia=uf(function(a,b,c,d,e){if(a.j!==2)return!1;a=hG(a,ae([void 0,void 0],d),e);a=uc(a);d=b[sb]|0;e=Qb(d);if(d&2)throw Error();var f=xe(b,c,e);if(f instanceof Ed)(f.ie&2)!=0?(f=Ud(f),f.push(a),oe(b,d,c,f,e)):(b=f,c=b.Mh(a[0],!1,!0),a=a[1],a=b.jf?
a===void 0?null:a:b.Am(a,!1,!0,void 0,!1,b.ie),yF.prototype.set.call(b,c,a));else if(Array.isArray(f)){var g=f[sb]|0;if(!(g&8192)){var h=g|=8192;f[sb]=h}g&2&&(f=Ce(f),oe(b,d,c,f,e));f.push(a)}else oe(b,d,c,wb([a]),e);return!0},function(a,b,c,d,e){if(b instanceof Ed)b.forEach(function(f,g){vf(a,c,ae([g,f],d),e)});else if(Array.isArray(b)){for(let f=0;f<b.length;f++){let g=b[f];Array.isArray(g)&&vf(a,c,ae(g,d),e)}wb(b)}}),DG=ig(function(a,b,c){if(a.j!==1)return!1;a=a.g;var d=a.C;d||(d=a.j,d=a.C=new DataView(d.buffer,
d.byteOffset,d.byteLength));d=d.getFloat64(a.g,!0);a.advance(8);lg(b,c,d);return!0},function(a,b,c){b=xc(b);b!=null&&(qg(a,c,1),a=a.g,c=xF||(xF=new DataView(new ArrayBuffer(8))),c.setFloat64(0,+b,!0),mc=c.getUint32(0,!0),nc=c.getUint32(4,!0),rG(a,mc),rG(a,nc))},Yia),aja=ig(function(a,b,c){if(a.j!==5)return!1;var d=aG(a.g);a=(d>>31)*2+1;var e=d>>>23&255;d&=8388607;lg(b,c,e==255?d?NaN:a*Infinity:e==0?a*1.401298464324817E-45*d:a*Math.pow(2,e-150)*(d+8388608));return!0},function(a,b,c){b=xc(b);b!=null&&
(qg(a,c,5),a=a.g,c=xF||(xF=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),nc=0,mc=c.getUint32(0,!0),rG(a,mc))},Xia),EG=ig(function(a,b,c){return Bg(a,b,c)},og,AG),FG=kg(function(a,b,c){return Dg(a,b,c)},pg,AG),GG=ig(function(a,b,c){return Bg(a,b,c)},og,AG),HG=kg(function(a,b,c){return Dg(a,b,c)},pg,AG),IG=ig(function(a,b,c){if(a.j!==0)return!1;lg(b,c,Fg(a.g));return!0},sg,zG),bja=ig(function(a,b,c){if(a.j!==0)return!1;a=Fg(a.g);lg(b,c,a===0?void 0:a);return!0},sg,zG),JG=ig(function(a,b,c){if(a.j!==
1)b=!1;else{var d=a.g;a=aG(d);d=aG(d);lg(b,c,jc(BigInt.asUintN(64,(BigInt(d>>>0)<<BigInt(32))+BigInt(a>>>0))));b=!0}return b},function(a,b,c){b=taa(b);if(b!=null){switch(typeof b){case "string":lG(b)}qg(a,c,1);switch(typeof b){case "number":a=a.g;oc(b);rG(a,mc);rG(a,nc);break;case "bigint":c=ef(b,jG,Tia);a=a.g;b=c.hi;rG(a,c.lo);rG(a,b);break;default:c=lG(b),a=a.g,b=c.hi,rG(a,c.lo),rG(a,b)}}},Wia),cja=ig(function(a,b,c){if(a.j!==5)return!1;lg(b,c,aG(a.g));return!0},function(a,b,c){b=qaa(b);b!=null&&
(qg(a,c,5),rG(a.g,b))},Via),KG=ig(function(a,b,c){if(a.j!==0)return!1;lg(b,c,bG(a.g));return!0},tg,xG),dja=kg(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Je(b,b[sb]|0,c);a.j==2?Cg(a,bG,b):b.push(bG(a.g));return!0},function(a,b,c){b=cg(Ac,b,!0);if(b!=null)for(let g=0;g<b.length;g++){var d=a,e=c,f=b[g];f!=null&&(qg(d,e,0),d.g.g.push(f?1:0))}},xG),eja=ig(function(a,b,c,d){if(a.j!==0)return!1;GF(b,c,d,bG(a.g));return!0},tg,xG),LG=ig(function(a,b,c){if(a.j!==2)return!1;lg(b,c,iG(a));return!0},vg,yG),
MG=ig(function(a,b,c){if(a.j!==2)return!1;a=iG(a);lg(b,c,a===""?void 0:a);return!0},vg,yG),NG=ig(function(a,b,c,d){if(a.j!==2)return!1;GF(b,c,d,iG(a));return!0},vg,yG),OG=kg(function(a,b,c){if(a.j!==2)return!1;a=iG(a);Je(b,b[sb]|0,c).push(a);return!0},function(a,b,c){b=cg(ed,b,!0);if(b!=null)for(let g=0;g<b.length;g++){var d=a,e=c,f=b[g];f!=null&&ug(d,e,ca(f))}},yG),PG,QG=void 0;QG=QG===void 0?sf:QG;
PG=new tf(function(a,b,c,d,e){if(a.j!==2)return!1;d=ae(void 0,d);Je(b,b[sb]|0,c).push(d);hG(a,d,e);return!0},function(a,b,c,d,e){if(Array.isArray(b)){for(let f=0;f<b.length;f++)yg(a,b[f],c,d,e);a=b[sb]|0;a&1||(b[sb]=a|1)}},jg,QG);
var RG=uf(function(a,b,c,d,e,f){if(a.j!==2)return!1;var g=b[sb]|0;Ne(b,g,f,c,Qb(g));b=IF(b,d,c);hG(a,b,e);return!0},yg),SG=ig(function(a,b,c){if(a.j!==2)return!1;lg(b,c,Eg(a));return!0},zg,BG),TG=ig(function(a,b,c){if(a.j!==0)return!1;lg(b,c,Fg(a.g));return!0},function(a,b,c){wG(a,c,Hc(b))},CG),UG=kg(Gg,function(a,b,c){b=cg(Hc,b,!0);if(b!=null)for(let d=0;d<b.length;d++)wG(a,c,b[d])},CG),VG=kg(Gg,function(a,b,c){b=cg(Hc,b,!0);if(b!=null&&b.length){c=tG(a,c);for(let d=0;d<b.length;d++)rg(a.g,b[d]);
uG(a,c)}},CG);var WG=function(a,b,c){this.fieldIndex=a;this.ctor=c;this.j=O;this.defaultValue=void 0;this.g=b.messageId!=null?Pb:void 0};WG.prototype.register=function(){kF(this)};var JA=function(a){this.A=u(a)};U(JA,v);var KA=function(a){this.A=u(a)};U(KA,v);var uk=function(a){this.A=u(a)};U(uk,v);var WA=function(a){var b=Number(MF(a,1));a=zn(a,2);return new Date(b*1E3+a/1E6)};var SA=function(a){this.A=u(a)};U(SA,v);var RA=function(a){this.A=u(a)};U(RA,v);var QA=function(a){this.A=u(a)};U(QA,v);Object.create(null);var YG=function(a){if(a.prototype.hasOwnProperty("$$generatedClassName"))return a.prototype.$$generatedClassName;var b=a.name,c,d=(c=XG.get(b))!=null?c:0;XG.set(b,d+1);b="Class$obf_"+b+"_"+d;return a.prototype.$$generatedClassName=b},XG=new Map;var ZG=function(){};ZG.prototype.equals=function(a){return $G(this,a)};ZG.prototype.ib=function(){return aH(this)};ZG.prototype.toString=function(){var a=bH(cH(dH(eH(this))))+"@",b=this.ib();return a+bH((b>>>0).toString(16))};var fH=function(a,b){this.g=0;this.j=a;this.g=b};U(fH,ZG);var dH=function(a,b){var c=b||0;return gH(a,"$$class/"+c,function(){return new fH(a,c)})},cH=function(a){return a.g!=0?bH(hH("[",a.g))+String("L"+bH(YG(a.j))+";"):YG(a.j)},iH=function(a){return bH(YG(a.j))+bH(hH("[]",a.g))},jH=function(a,b){b=a.lastIndexOf(b)+1|0;return a.substr(b)};fH.prototype.toString=function(){return"class "+bH(cH(this))};var hH=function(a,b){var c="";for(let d=0;d<b;d=d+1|0)c=bH(c)+bH(a);return c};var Rg=function(a,b){this.kb=a|0;this.Wa=b|0},kH=function(a){return a.Wa*4294967296+(a.kb>>>0)};Rg.prototype.isSafeInteger=function(){var a=this.Wa>>21;return a==0||a==-1&&!(this.kb==0&&this.Wa==-2097152)};
Rg.prototype.toString=function(a){a=a||10;if(a<2||36<a)throw Error("Q`"+a);if(this.isSafeInteger()){var b=kH(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=lH(c,c/4294967296);c=this.div(d);d=Math.abs(kH(mH(this,c.multiply(d))));var e=a==10?""+d:d.toString(a);e.length<b&&(e="0000000000000".slice(e.length-b)+e);d=kH(c);return(a==10?d:d.toString(a))+e};
var Qj=function(a){if(a.Wa>=0)return a.toString(void 0);var b=nH(10);var c=a.Wa;c=lH(a.kb>>>1|c<<31,c>>>1);c=c.div(b).shiftLeft(1);var d=mH(a,c.multiply(b));d.compare(b)>=0&&(c=c.add(oH),d=mH(a,c.multiply(b)));return c.toString(10)+d.toString(10)};Rg.prototype.Jg=function(){return this.kb==0&&this.Wa==0};Rg.prototype.ib=function(){return this.kb^this.Wa};Rg.prototype.equals=function(a){return a==null?!1:this.kb==a.kb&&this.Wa==a.Wa};
Rg.prototype.compare=function(a){return this.Wa==a.Wa?this.kb==a.kb?0:this.kb>>>0>a.kb>>>0?1:-1:this.Wa>a.Wa?1:-1};var pH=function(a){var b=~a.kb+1|0;return lH(b,~a.Wa+!b|0)};Rg.prototype.add=function(a){var b=this.Wa>>>16,c=this.Wa&65535,d=this.kb>>>16,e=a.Wa>>>16,f=a.Wa&65535,g=a.kb>>>16;a=(this.kb&65535)+(a.kb&65535);g=(a>>>16)+(d+g);d=g>>>16;d+=c+f;return lH((g&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};var mH=function(a,b){return a.add(pH(b))};k=Rg.prototype;
k.multiply=function(a){if(this.Jg())return this;if(a.Jg())return a;var b=this.Wa>>>16,c=this.Wa&65535,d=this.kb>>>16,e=this.kb&65535,f=a.Wa>>>16,g=a.Wa&65535,h=a.kb>>>16;a=a.kb&65535;var l=e*a;var m=(l>>>16)+d*a;var p=m>>>16;m=(m&65535)+e*h;p+=m>>>16;p+=c*a;var t=p>>>16;p=(p&65535)+d*h;t+=p>>>16;p=(p&65535)+e*g;t=t+(p>>>16)+(b*a+c*h+d*g+e*f)&65535;return lH((m&65535)<<16|l&65535,t<<16|p&65535)};
k.div=function(a){if(a.Jg())throw Error("R");if(this.Wa<0){if(this.equals(qH)){if(a.equals(oH)||a.equals(rH))return qH;if(a.equals(qH))return oH;var b=this.Wa;b=lH(this.kb>>>1|b<<31,b>>1);b=b.div(a).shiftLeft(1);if(b.equals(sH))return a.Wa<0?oH:rH;var c=mH(this,a.multiply(b));return b.add(c.div(a))}return a.Wa<0?pH(this).div(pH(a)):pH(pH(this).div(a))}if(this.Jg())return sH;if(a.Wa<0)return a.equals(qH)?sH:pH(this.div(pH(a)));b=sH;for(c=this;c.compare(a)>=0;){let e=Math.max(1,Math.floor(kH(c)/kH(a)));
var d=Math.ceil(Math.log(e)/Math.LN2);d=d<=48?1:Math.pow(2,d-48);let f=tH(e),g=f.multiply(a);for(;g.Wa<0||g.compare(c)>0;)e-=d,f=tH(e),g=f.multiply(a);f.Jg()&&(f=oH);b=b.add(f);c=mH(c,g)}return b};k.not=function(){return lH(~this.kb,~this.Wa)};k.and=function(a){return lH(this.kb&a.kb,this.Wa&a.Wa)};k.or=function(a){return lH(this.kb|a.kb,this.Wa|a.Wa)};k.xor=function(a){return lH(this.kb^a.kb,this.Wa^a.Wa)};
k.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.kb;return a<32?lH(b<<a,this.Wa<<a|b>>>32-a):lH(0,b<<a-32)};
var nH=function(a){a|=0;return-128<=a&&a<128?gba(a):new Rg(a,a<0?-1:0)},tH=function(a){return a>0?a>=0x7fffffffffffffff?fja:new Rg(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?qH:pH(new Rg(-a,-a/4294967296)):sH},ok=function(a){a=BigInt(a);return lH(Number(BigInt.asIntN(32,a)),Number(BigInt.asIntN(32,a>>BigInt(32))))},lH=function(a,b){return new Rg(a,b)},lk=function(a,b){if(a.charAt(0)=="-")return pH(lk(a.substring(1),b));var c=parseInt(a,b||10);if(c<=9007199254740991)return new Rg(c%4294967296|0,c/
4294967296|0);if(a.length==0)throw Error("S");if(a.indexOf("-")>=0)throw Error("T`"+a);b=b||10;if(b<2||36<b)throw Error("Q`"+b);c=tH(Math.pow(b,8));var d=sH;for(let e=0;e<a.length;e+=8){let f=Math.min(8,a.length-e),g=parseInt(a.substring(e,e+f),b);f<8?d=d.multiply(tH(Math.pow(b,f))).add(tH(g)):(d=d.multiply(c),d=d.add(tH(g)))}return d},Qg={},sH=lH(0,0),oH=lH(1,0),rH=lH(-1,-1),fja=lH(4294967295,2147483647),qH=lH(0,2147483648);var $G=function(a,b){return Object.is(a,b)||a==null&&b==null};var uH,vH=function(){vH=function(){};var a=wH([256],xH,yH);for(let b=0;b<256;b=b+1|0)a[b]=zH(b-128|0);uH=a};var AH=function(){};U(AH,ZG);var CH=function(a,b){a.j=b;BH(a)},DH=function(a,b){a.g=b;gja(b,a)},BH=function(a){a.g instanceof Error&&(Error.captureStackTrace?Error.captureStackTrace(a.g):a.g.stack=Error().stack)};AH.prototype.toString=function(){var a=cH(dH(eH(this))),b=this.j;return b==null?a:bH(a)+": "+bH(b)};
var GH=function(a){if(a!=null){var b=a.Rq;if(b)return b}a instanceof TypeError?b=EH():(b=new FH,BH(b),DH(b,Error(b)));b.j=a==null?"null":a.toString();DH(b,a);return b},HH=function(a){return a instanceof AH};var IH=function(){};U(IH,AH);var JH=function(){};U(JH,IH);var KH=function(){};U(KH,JH);var LH=function(){var a=new KH;BH(a);DH(a,Error(a));return a};var MH=function(a,b){for(;a.sa();)b.g(a.wa())},NH=function(a){var b;a.sa()?b={value:a.wa(),done:!1}:b={value:null,done:!0};return b};var OH=function(){};U(OH,JH);var PH=function(){var a=new OH;BH(a);DH(a,Error(a));return a};var QH=function(a){this.j=a};U(QH,ZG);QH.prototype.g=function(a){var b=this.j;b(a)};var RH=function(){};U(RH,JH);var SH=function(a){var b=new RH;CH(b,a);DH(b,Error(b));return b},TH=function(a,b){var c=new RH;c.o=b;c.j=a;BH(c);DH(c,Error(c));return c};var UH=function(){},VH;U(UH,ZG);var WH=function(){};U(WH,UH);var XH=function(a){return Math.max(Math.min(a,2147483647),-2147483648)|0};var YH=function(){};U(YH,ZG);var eH=function(a){return a.constructor},gH=function(a,b,c){if(Object.prototype.hasOwnProperty.call(a.prototype,b))return a.prototype[b];c=c();return a.prototype[b]=c};var $H=function(a){switch(typeof a){case "string":return ZH(a);case "number":return XH(a);case "boolean":return a?1231:1237;default:return a==null?0:aH(a)}},aI=0,aH=function(a){return a.Fm||(Object.defineProperties(a,{Fm:{value:aI=aI+1|0,enumerable:!1}}),a.Fm)};var bI=function(a,b){return a.equals?a.equals(b):Object.is(a,b)},cI=function(a){return a.ib?a.ib():$H(a)},gI=function(a){switch(typeof a){case "number":return dH(WH);case "boolean":return dH(YH);case "string":return dH(dI);case "function":return dH(hja)}if(a instanceof Rg)a=dH(eI);else if(a instanceof ZG)a=dH(eH(a));else if(Array.isArray(a))a=(a=a.bg)?dH(a.Bl,a.Kn):dH(ZG,1);else if(a!=null)a=dH(fI);else throw new TypeError("U");return a};var hja=function(){};var fI=function(){};U(fI,ZG);var hI=function(){},iI=function(){return!0};hI.Em=!1;var jI=function(){};U(jI,ZG);k=jI.prototype;k.add=function(){throw PH().g;};k.lf=function(a){var b=!1;for(a=a.Ba();a.sa();){let c=a.wa();b=!!(+b|+this.add(c))}return b};k.clear=function(){for(let a=this.Ba();a.sa();)a.wa(),a.Sb()};k.contains=function(a){return kI(this,a,!1)};k.Tc=function(a){for(a=a.Ba();a.sa();){let b=a.wa();if(!this.contains(b))return!1}return!0};k.Ga=function(){return this.size()==0};k.remove=function(a){return kI(this,a,!0)};k.hc=function(){return lI(this,Array(this.size()))};
k.Xb=function(a){return lI(this,a)};k.toString=function(){var a=mI("[","]");for(let b=this.Ba();b.sa();){let c=b.wa();nI(a,$G(c,this)?"(this Collection)":bH(c))}return a.toString()};var kI=function(a,b,c){for(a=a.Ba();a.sa();){let d=a.wa();if(oI(b,d))return c&&a.Sb(),!0}return!1};jI.prototype.Fc=function(){return pI(this,0)};jI.prototype.Ij=function(){return qI(this.Fc())};var rI=function(a){this.g=a};U(rI,ZG);rI.prototype.Dm=!0;var GI=function(a,b){return b!=null&&b.Dm?a.Sh(b):a.Sh(new rI(function(c){b.g(V(c))}))},HI=function(a,b){b!=null&&b.Dm?a.Ni(b):a.Ni(new rI(function(c){b.g(V(c))}))};var II=function(){this.C=0;this.D=nH(0)};U(II,ZG);var JI=function(a,b,c){a.D=b;a.C=(c&64)!=0?c|16384:c};II.prototype.Nh=function(){return this.C};II.prototype.Mg=function(){return this.D};II.prototype.fg=function(a){for(;this.g(a););};var KI=function(){},ija;U(KI,ZG);k=KI.prototype;k.Nh=function(){return 16448};k.Mg=function(){return nH(0)};k.Ni=function(){};k.Sh=function(){return!1};k.fg=function(a){for(;this.g(a););};var jja=function(){jja=function(){};ija=new LI};var LI=function(){};U(LI,KI);LI.prototype.fg=function(a){HI(this,a)};LI.prototype.g=function(a){return GI(this,a)};var MI=function(){II.call(this)};U(MI,II);MI.prototype.fg=function(a){HI(this,a)};MI.prototype.g=function(a){return GI(this,a)};MI.prototype.Ni=function(a){for(;this.Sh(a););};var NI=function(){this.o=0;this.B=nH(0)};U(NI,ZG);var pI=function(a,b){var c=new NI;c.C=a;c.o=(b&4096)==0?b|16448:b;return c};NI.prototype.Nh=function(){return this.o};NI.prototype.Mg=function(){OI(this);return this.B};NI.prototype.fg=function(a){OI(this);this.j.Zc(a)};NI.prototype.g=function(a){OI(this);return this.j.sa()?(a.g(this.j.wa()),!0):!1};var OI=function(a){if(!a.j){a.j=a.C.Ba();var b=a.C.size();a.B=nH(b|0)}};var lja=function(a){var b=new NI;b.j=a;b.o=0;b.B=kja;return b};var FH=function(){};U(FH,JH);var PI=function(){};U(PI,FH);var EH=function(){var a=new PI;BH(a);DH(a,new TypeError(a));return a},QI=function(a){var b=new PI;CH(b,a);DH(b,new TypeError(b));return b};var oI=function(a,b){return $G(a,b)||a!=null&&bI(a,b)},RI=function(a){return a!=null?cI(a):0},uC=function(a){if(a==null)throw EH().g;return a};var SI=function(a){this.g=a};U(SI,ZG);var mja=function(a){var b;return b=a.g,b()};var nja=function(){},oja=function(){return!0};nja.Em=0;var xH=function(){this.g=0};U(xH,UH);var V=function(a){a>-129&&a<128?(vH(),a=uH[a+128|0]):a=zH(a);return a},zH=function(a){var b=new xH;b.g=a;return b};k=xH.prototype;k.equals=function(a){return yH(a)&&a.g==this.g};k.ib=function(){return this.g};k.intValue=function(){return this.g};k.toString=function(){return""+this.g};k.pd=function(){return this.intValue()};var yH=function(a){return a instanceof xH};var eI=function(){};U(eI,UH);var kja=lH(-1,2147483647);var TI=function(a){this.g=a};U(TI,ZG);var UI=function(){};U(UI,jI);k=UI.prototype;k.add=function(a){this.kh(this.size(),a);return!0};k.kh=function(){throw PH().g;};k.Qi=function(a,b){var c=!1;for(b=b.Ba();b.sa();){c=b.wa();let d;this.kh((d=a,a=a+1|0,d),c);c=!0}return c};k.clear=function(){this.Jo(0,this.size())};k.equals=function(a){if($G(a,this))return!0;if(a==null||!a.Zg||this.size()!=a.size())return!1;a=a.Ba();for(let b=this.Ba();b.sa();){let c=b.wa(),d=a.wa();if(!oI(c,d))return!1}return!0};
k.ib=function(){VI();var a=1;for(let b=this.Ba();b.sa();){let c=b.wa();a=Math.imul(31,a)+RI(c)|0}return a};k.indexOf=function(a){for(let b=0,c=this.size();b<c;b=b+1|0)if(oI(a,this.mb(b)))return b;return-1};k.Ba=function(){var a=new WI;a.o=this;a.g=0;a.j=-1;return a};k.lastIndexOf=function(a){for(let b=this.size()-1|0;b>-1;b=b-1|0)if(oI(a,this.mb(b)))return b;return-1};k.Hj=function(){return this.Nf(0)};k.Nf=function(a){var b=new XI;b.B=this;b.o=this;b.g=0;b.j=-1;this.size();b.g=a;return b};
k.Xj=function(){throw PH().g;};k.Jo=function(a,b){for(var c=this.Nf(a);a<b;a=a+1|0)c.wa(),c.Sb()};k.Fc=function(){return pI(this,16)};k.Zg=!0;var YI=function(a){return a!=null&&!!a.dg};var ZI=function(){};U(ZI,UI);k=ZI.prototype;k.lf=function(a){return this.Qi(this.g.length,a)};k.contains=function(a){return this.indexOf(a)!=-1};k.mb=function(a){return this.g[a]};k.indexOf=function(a){a:{var b=0;for(let c=this.g.length;b<c;b=b+1|0)if(oI(a,this.g[b])){a=b;break a}a=-1}return a};k.Ba=function(){var a=new $I;a.o=this;a.g=0;a.j=-1;return a};k.lastIndexOf=function(a){a:{for(var b=this.g.length-1|0;b>=0;b=b-1|0)if(oI(a,this.g[b])){a=b;break a}a=-1}return a};
k.Xj=function(a){this.mb(a);this.g.splice(a,1)};k.remove=function(a){a=this.indexOf(a);if(a==-1)return!1;this.g.splice(a,1);return!0};k.size=function(){return this.g.length};k.Xb=function(a){var b=this.g.length;a.length<b&&(a=aJ(Array(b),a));for(let c=0;c<b;c=c+1|0)a[c]=this.g[c];a.length>b&&(a[b]=null);return a};k.Zg=!0;k.dg=!0;var bJ=function(){};U(bJ,ZI);var pja=function(){var a=new bJ;a.g=[];return a};k=bJ.prototype;k.add=function(a){this.g.push(a);return!0};k.kh=function(a,b){this.g.splice(a,0,b)};k.Qi=function(a,b){{let d=b.hc(),e=d.length;if(e==0)a=!1;else{b=this.g.length+e|0;this.g.length=b;var c=a+e|0;qja(this.g,a,this.g,c,b-c|0);qja(d,0,this.g,a,e);a=!0}}return a};k.hc=function(){var a=this.g,b=a.slice();b.bg=a.bg;return b};k.Jo=function(a,b){this.g.splice(a,b-a|0)};var $I=function(){this.j=this.g=0};U($I,ZG);k=$I.prototype;k.sa=function(){return this.g<this.o.g.length};k.wa=function(){this.sa();var a;this.j=(a=this.g,this.g=this.g+1|0,a);return this.o.g[this.j]};k.Sb=function(){var a=this.o,b=this.g=this.j;a.g.splice(b,1);this.j=-1};k.next=function(){return NH(this)};k.Zc=function(a){MH(this,a)};var cJ=function(a){this.g=a};U(cJ,ZG);var dJ=function(a,b){var c;return c=a.g,c(b)};var qja=function(a,b,c,d,e){var f=a.length,g=c.length;if(b<0||d<0||e<0||(b+e|0)>f||(d+e|0)>g)throw LH().g;if(e!=0)if($G(a,c)&&b<d)for(b=b+e|0,f=d+e|0;f>d;){var h=c,l=f=f-1|0;e=a[b=b-1|0];h[l]=e}else for(let m=d+e|0;d<m;)e=c,f=(h=d,d=d+1|0,h),g=a[l=b,b=b+1|0,l],e[f]=g};var aJ=function(a,b){a.bg=b.bg;return a};var eJ=function(){};U(eJ,UI);k=eJ.prototype;k.contains=function(){return!1};k.mb=function(){return null};k.Ba=function(){return rja()};k.Hj=function(){VI();return fJ(),gJ};k.size=function(){return 0};k.dg=!0;var hJ=function(){},gJ;U(hJ,ZG);k=hJ.prototype;k.sa=function(){return!1};k.Ng=function(){return!1};k.wa=function(){throw iJ().g;};k.Ph=function(){return 0};k.Rh=function(){throw iJ().g;};k.Qh=function(){return-1};k.Sb=function(){var a=new RH;BH(a);DH(a,Error(a));throw a.g;};k.next=function(){return NH(this)};k.Zc=function(a){MH(this,a)};var fJ=function(){fJ=function(){};gJ=new hJ};var sja=function(){};U(sja,JH);var iJ=function(){var a=new sja;BH(a);DH(a,Error(a));return a};var jJ=function(){};U(jJ,ZG);k=jJ.prototype;k.sa=function(){return this.g.sa()};k.wa=function(){return this.g.wa().wb()};k.Sb=function(){this.g.Sb()};k.next=function(){return NH(this)};k.Zc=function(a){MH(this,a)};var kJ=function(a){return a!=null&&!!a.yi};var lJ=function(){};U(lJ,jI);lJ.prototype.equals=function(a){return $G(a,this)?!0:a!=null&&a.kf?a.size()!=this.size()?!1:this.Tc(a):!1};lJ.prototype.ib=function(){return tja(this)};lJ.prototype.Fc=function(){return pI(this,1)};lJ.prototype.kf=!0;var mJ=function(){};U(mJ,lJ);k=mJ.prototype;k.clear=function(){this.g.clear()};k.contains=function(a){return this.g.Dc(a)};k.Ba=function(){var a=this.g.Lb().Ba(),b=new jJ;b.g=a;return b};k.remove=function(a){return this.g.Dc(a)?(this.g.remove(a),!0):!1};k.size=function(){return this.g.size()};var nJ=function(){};U(nJ,ZG);k=nJ.prototype;k.sa=function(){return this.g.sa()};k.wa=function(){return this.g.wa().getValue()};k.Sb=function(){this.g.Sb()};k.next=function(){return NH(this)};k.Zc=function(a){MH(this,a)};var oJ=function(){};U(oJ,jI);oJ.prototype.clear=function(){this.g.clear()};oJ.prototype.contains=function(a){return this.g.Ae(a)};oJ.prototype.Ba=function(){var a=this.g.Lb().Ba(),b=new nJ;b.g=a;return b};oJ.prototype.size=function(){return this.g.size()};var pJ=function(){};U(pJ,ZG);k=pJ.prototype;k.wb=function(){return this.B};k.getValue=function(){return this.o};k.setValue=function(a){var b=this.o;this.o=a;return b};k.equals=function(a){return kJ(a)?oI(this.B,a.wb())&&oI(this.o,a.getValue()):!1};k.ib=function(){return RI(this.B)^RI(this.o)};k.toString=function(){return bH(this.B)+"="+bH(this.o)};k.yi=!0;var qJ=function(){};U(qJ,pJ);var uja=function(a,b){var c=new qJ;c.B=a;c.o=b;return c};var vja=function(a,b,c){var d=a.get(b);return d!=null||a.Dc(b)?d:c},rJ=function(a,b,c){return a.Dc(b)?a.Ee(b,c):null};var sJ=function(){};U(sJ,ZG);sJ.prototype.clear=function(){this.Lb().clear()};sJ.prototype.Dc=function(a){return!!tJ(this,a,!1)};sJ.prototype.Ae=function(a){for(let b=this.Lb().Ba();b.sa();){let c=b.wa().getValue();if(oI(a,c))return!0}return!1};var uJ=function(a,b){var c=b.wb();b=b.getValue();var d=a.get(c);return!oI(b,d)||d==null&&!a.Dc(c)?!1:!0};k=sJ.prototype;
k.equals=function(a){if($G(a,this))return!0;if(a==null||!a.cg||this.size()!=a.size())return!1;for(let b=a.Lb().Ba();b.sa();)if(a=b.wa(),!uJ(this,a))return!1;return!0};k.get=function(a){return vJ(tJ(this,a,!1))};k.ib=function(){return tja(this.Lb())};k.Ga=function(){return this.size()==0};k.Kg=function(){var a=new mJ;a.g=this;return a};k.Ee=function(){throw PH().g;};k.remove=function(a){return vJ(tJ(this,a,!0))};k.size=function(){return this.Lb().size()};
k.toString=function(){var a=mI("{","}");for(let c=this.Lb().Ba();c.sa();){var b=c.wa();b=bH(wja(this,b.wb()))+"="+bH(wja(this,b.getValue()));nI(a,b)}return a.toString()};var wja=function(a,b){return $G(b,a)?"(this Map)":bH(b)};sJ.prototype.values=function(){var a=new oJ;a.g=this;return a};var vJ=function(a){return a?a.getValue():null},tJ=function(a,b,c){for(a=a.Lb().Ba();a.sa();){let d=a.wa();if(oI(b,d.wb()))return c&&(d=uja(d.wb(),d.getValue()),a.Sb()),d}return null};
sJ.prototype.rj=function(a,b){return vja(this,a,b)};sJ.prototype.replace=function(a,b){return rJ(this,a,b)};sJ.prototype.cg=!0;var wJ=function(a){this.g=a};U(wJ,ZG);var xJ=function(a){this.j=a};U(xJ,ZG);xJ.prototype.g=function(a,b){var c;return c=this.j,c(a,b)};var yJ=function(){};U(yJ,ZG);yJ.prototype.toString=function(){return this.g};var zJ=function(){};U(zJ,yJ);var xja=function(){var a=new zJ;a.g="";return a},yja=function(){var a=new zJ;a.g="";return a},zja=function(a){var b=new zJ;b.g=a;return b},AJ=function(a,b){a.g=bH(a.g)+String.fromCharCode(b);return a},BJ=function(a,b){a.g=bH(a.g)+bH(b);return a},CJ=function(a,b){a.g=bH(a.g)+bH(b);return a};var DJ=function(){};U(DJ,ZG);var mI=function(a,b){var c=new DJ;c.B=", ".toString();c.o=a.toString();c.j=b.toString();c.C=bH(c.o)+bH(c.j);return c},nI=function(a,b){a.g?CJ(a.g,a.B):a.g=zja(a.o);a=a.g;a.g=bH(a.g)+bH(b)};DJ.prototype.toString=function(){return this.g?this.j.length==0?this.g.toString():bH(this.g.toString())+bH(this.j):this.C};var EJ=function(){};U(EJ,lJ);EJ.prototype.contains=function(){return!1};EJ.prototype.Ba=function(){return rja()};EJ.prototype.size=function(){return 0};var FJ=function(){};U(FJ,UI);FJ.prototype.contains=function(a){return oI(this.g,a)};FJ.prototype.mb=function(){return this.g};FJ.prototype.size=function(){return 1};var GJ=function(){};U(GJ,ZG);k=GJ.prototype;k.add=function(){throw PH().g;};k.lf=function(){throw PH().g;};k.clear=function(){throw PH().g;};k.contains=function(a){return this.g.contains(a)};k.Tc=function(a){return this.g.Tc(a)};k.Ga=function(){return this.g.Ga()};k.Ba=function(){var a=this.g.Ba(),b=new HJ;b.j=a;return b};k.remove=function(){throw PH().g;};k.size=function(){return this.g.size()};k.hc=function(){return this.g.hc()};k.Xb=function(a){return this.g.Xb(a)};k.toString=function(){return this.g.toString()};
k.Fc=function(){return pI(this,0)};k.Ij=function(){return qI(this.Fc())};var HJ=function(){};U(HJ,ZG);k=HJ.prototype;k.sa=function(){return this.j.sa()};k.wa=function(){return this.j.wa()};k.Sb=function(){throw PH().g;};k.next=function(){return NH(this)};k.Zc=function(a){MH(this,a)};var IJ=function(){};U(IJ,GJ);k=IJ.prototype;k.kh=function(){throw PH().g;};k.Qi=function(){throw PH().g;};k.equals=function(a){return bI(this.j,a)};k.mb=function(a){return this.j.mb(a)};k.ib=function(){return cI(this.j)};k.indexOf=function(a){return this.j.indexOf(a)};k.Ga=function(){return this.j.Ga()};k.lastIndexOf=function(a){return this.j.lastIndexOf(a)};k.Hj=function(){return this.Nf(0)};k.Nf=function(a){a=this.j.Nf(a);var b=new JJ;b.j=a;b.g=a;return b};k.Xj=function(){throw PH().g;};
k.Fc=function(){return pI(this,16)};k.Zg=!0;var JJ=function(){};U(JJ,HJ);JJ.prototype.Ng=function(){return this.g.Ng()};JJ.prototype.Ph=function(){return this.g.Ph()};JJ.prototype.Rh=function(){return this.g.Rh()};JJ.prototype.Qh=function(){return this.g.Qh()};var KJ=function(){};U(KJ,ZG);k=KJ.prototype;k.sa=function(){return this.g.sa()};k.Sb=function(){throw PH().g;};k.next=function(){return NH(this)};k.wa=function(){var a=this.g.wa();return Aja(a)};k.Zc=function(a){MH(this,a)};var LJ=function(){};U(LJ,ZG);var Aja=function(a){var b=new LJ;b.g=a;return b};k=LJ.prototype;k.equals=function(a){return this.g.equals(a)};k.wb=function(){return this.g.wb()};k.getValue=function(){return this.g.getValue()};k.ib=function(){return this.g.ib()};k.setValue=function(){throw PH().g;};k.toString=function(){return this.g.toString()};k.yi=!0;var MJ=function(){};U(MJ,GJ);var Bja=function(a){var b=new MJ;b.g=a;return b};MJ.prototype.equals=function(a){return bI(this.g,a)};MJ.prototype.ib=function(){return cI(this.g)};MJ.prototype.Fc=function(){return pI(this,1)};MJ.prototype.kf=!0;var NJ=function(){};U(NJ,MJ);k=NJ.prototype;k.contains=function(a){return this.g.contains(a)};k.Tc=function(a){return this.g.Tc(a)};k.Ba=function(){var a=this.g.Ba(),b=new KJ;b.g=a;return b};k.hc=function(){var a=MJ.prototype.hc.call(this);Cja(a,a.length);return a};k.Xb=function(a){a=MJ.prototype.Xb.call(this,a);Cja(a,this.g.size());return a};var Cja=function(a,b){for(let c=0;c<b;c=c+1|0)a[c]=Aja(a[c])};var OJ=function(){};U(OJ,ZG);k=OJ.prototype;k.clear=function(){throw PH().g;};k.Dc=function(a){return this.g.Dc(a)};k.Ae=function(a){return this.g.Ae(a)};k.Lb=function(){if(!this.j){var a=this.g.Lb();let b=new NJ;b.g=a;this.j=b}return this.j};k.equals=function(a){return this.g.equals(a)};k.get=function(a){return this.g.get(a)};k.ib=function(){return cI(this.g)};k.Ga=function(){return this.g.Ga()};k.Kg=function(){this.o||(this.o=Bja(this.g.Kg()));return this.o};k.Ee=function(){throw PH().g;};
k.remove=function(){throw PH().g;};k.size=function(){return this.g.size()};k.toString=function(){return this.g.toString()};k.values=function(){if(!this.B){var a=this.g.values();let b=new GJ;b.g=a;this.B=b}return this.B};k.rj=function(a,b){return vja(this,a,b)};k.replace=function(a,b){return rJ(this,a,b)};k.cg=!0;var PJ=function(){};U(PJ,IJ);PJ.prototype.dg=!0;var Dja,Eja,rja=function(){VI();return fJ(),gJ},Fja=function(){VI();return Eja},Gja=function(a,b){VI();var c=new QJ;RJ(c);c.Ee(a,b);return SJ(c)},Hja=function(a){VI();if(YI(a)){var b=new PJ,c=b;c.g=a;c.j=a;a=b}else c=b=new IJ,c.g=a,c.j=a,a=b;return a},SJ=function(a){VI();var b=new OJ;b.g=a;return b},tja=function(a){VI();var b=0;for(a=a.Ba();a.sa();){let c=a.wa();b=b+RI(c)|0}return b},VI=function(){VI=function(){};Dja=new eJ;Eja=new EJ};var TJ=function(){};U(TJ,lJ);k=TJ.prototype;k.clear=function(){this.g.clear()};k.contains=function(a){return kJ(a)?uJ(this.g,a):!1};k.Ba=function(){var a=new UJ;a.j=this.g;a.D=a.j.B.Ba();a.g=a.D;a.o=VJ(a);a.B=a.j.C;return a};k.remove=function(a){return this.contains(a)?(this.g.remove(a.wb()),!0):!1};k.size=function(){return this.g.size()};var UJ=function(){this.o=!1;this.B=0};U(UJ,ZG);UJ.prototype.sa=function(){return this.o};var VJ=function(a){if(a.g.sa())return!0;if(!$G(a.g,a.D))return!1;a.g=a.j.o.Ba();return a.g.sa()};UJ.prototype.Sb=function(){this.C.Sb();this.C=null;this.o=VJ(this);this.B=this.j.C};UJ.prototype.next=function(){return NH(this)};UJ.prototype.wa=function(){this.sa();this.C=this.g;var a=this.g.wa();this.o=VJ(this);return a};UJ.prototype.Zc=function(a){MH(this,a)};var WJ=function(){this.C=0};U(WJ,sJ);WJ.prototype.clear=function(){RJ(this)};var RJ=function(a){var b=new XJ;b.j=new Map;b.o=a;a.o=b;b=new YJ;b.g=new Map;b.B=a;a.B=b};WJ.prototype.Dc=function(a){return ZJ(a)?this.B.g.has(a):!!$J(a,aK(this.o,a==null?0:cI(a)))};WJ.prototype.Ae=function(a){return Ija(a,this.B)||Ija(a,this.o)};var Ija=function(a,b){for(let d=b.Ba();d.sa();){var c=d.wa();b=a;c=c.getValue();if(oI(b,c))return!0}return!1};k=WJ.prototype;k.Lb=function(){var a=new TJ;a.g=this;return a};
k.get=function(a){return ZJ(a)?this.B.g.get(a):vJ($J(a,aK(this.o,a==null?0:cI(a))))};k.Ee=function(a,b){if(ZJ(a))a=Jja(this.B,a,b);else a:{var c=this.o,d=a==null?0:cI(a);let e=aK(c,d);if(e.length==0)c.j.set(d,e);else if(d=$J(a,e)){a=d.setValue(b);break a}e[e.length]=uja(a,b);c.g=c.g+1|0;a=null}return a};k.remove=function(a){return ZJ(a)?Kja(this.B,a):Lja(this.o,a)};k.size=function(){return this.o.g+this.B.o|0};var bK=function(){this.g=0};U(bK,ZG);k=bK.prototype;k.sa=function(){if(this.g<this.j.length)return!0;var a=this.C.next();return a.done?!1:(this.j=a.value[1],this.g=0,!0)};k.Sb=function(){Lja(this.B,this.o.wb());this.g!=0&&(this.g=this.g-1|0)};k.next=function(){return NH(this)};k.wa=function(){var a;return this.o=this.j[a=this.g,this.g=this.g+1|0,a]};k.Zc=function(a){MH(this,a)};var XJ=function(){this.g=0};U(XJ,ZG);var Lja=function(a,b){var c=b==null?0:cI(b),d=aK(a,c);for(let e=0;e<d.length;e=e+1|0){let f=d[e];if(oI(b,f.wb()))return d.length==1?(d.length=0,a.j.delete(c)):d.splice(e,1),a.g=a.g-1|0,f.getValue()}return null},$J=function(a,b){for(let c=b,d=0;d<c.length;d++)if(b=c[d],oI(a,b.wb()))return b;return null};XJ.prototype.Ba=function(){var a=new bK;a.B=this;a.C=a.B.j.entries();a.g=0;a.j=[];a.o=null;return a};var aK=function(a,b){return(a=a.j.get(b))?a:[]};
XJ.prototype.Fc=function(){return lja(this.Ba())};var cK=function(){};U(cK,ZG);k=cK.prototype;k.sa=function(){return!this.j.done};k.Sb=function(){Kja(this.g,this.B.value[0])};k.next=function(){return NH(this)};k.wa=function(){this.B=this.j;this.j=this.o.next();var a=new dK,b=this.B,c=this.g.j;a.j=this.g;a.g=b;a.o=c;return a};k.Zc=function(a){MH(this,a)};var eK=function(){};U(eK,ZG);eK.prototype.equals=function(a){return kJ(a)?oI(this.wb(),a.wb())&&oI(this.getValue(),a.getValue()):!1};eK.prototype.ib=function(){return RI(this.wb())^RI(this.getValue())};eK.prototype.toString=function(){return bH(this.wb())+"="+bH(this.getValue())};eK.prototype.yi=!0;var dK=function(){this.o=0};U(dK,eK);dK.prototype.wb=function(){return this.g.value[0]};dK.prototype.getValue=function(){return this.j.j!=this.o?this.j.g.get(this.g.value[0]):this.g.value[1]};dK.prototype.setValue=function(a){return Jja(this.j,this.g.value[0],a)};var YJ=function(){this.j=this.o=0};U(YJ,ZG);var Jja=function(a,b,c){var d=a.g.get(b);a.g.set(b,c===void 0?null:c);d===void 0?a.o=a.o+1|0:a.j=a.j+1|0;return d},Kja=function(a,b){var c=a.g.get(b);c===void 0?a.j=a.j+1|0:(a.g.delete(b),a.o=a.o-1|0);return c};YJ.prototype.Ba=function(){var a=new cK;a.g=this;a.o=a.g.g.entries();a.j=a.o.next();return a};YJ.prototype.Fc=function(){return lja(this.Ba())};var QJ=function(){this.C=0};U(QJ,WJ);var fK=function(){};U(fK,lJ);k=fK.prototype;k.add=function(a){return this.g.Ee(a,this)==null};k.clear=function(){this.g.clear()};k.contains=function(a){return this.g.Dc(a)};k.Ga=function(){return this.g.Ga()};k.Ba=function(){return this.g.Kg().Ba()};k.remove=function(a){return this.g.remove(a)!=null};k.size=function(){return this.g.size()};k.kf=!0;var gK=function(a){this.j=a};U(gK,ZG);gK.prototype.g=function(a,b){var c;return c=this.j,c(a,b)};var Mja=function(a){this.g=a};U(Mja,ZG);var Nja=function(a,b){var c;return c=a.g,c(b)};var hK=function(){this.g=0};U(hK,ZG);hK.prototype.name=function(){return this.o!=null?this.o:""+this.g};hK.prototype.equals=function(a){return $G(this,a)};hK.prototype.ib=function(){return ZG.prototype.ib.call(this)};hK.prototype.toString=function(){return this.name()};var iK=function(){};U(iK,JH);var jK=function(a){var b=new iK;CH(b,a);DH(b,Error(b));return b};var kK=function(a,b){this.g=a;this.constructor=b};U(kK,ZG);kK.prototype.toString=function(){return this.g.toString()};var W=function(a,b){return a==null?null:gH(b,"$$enumValues/"+bH(a),function(){return new kK(a,b)})},lK=function(a){return a==null?null:a.g};var Pja=function(a,b,c,d){var e=new Oja;e.o=a;e.g=b;Fja();e.B=c;e.j=d;return e};var Oja=function(){};U(Oja,ZG);var mK=function(){this.g=!1};U(mK,ZG);var nK=function(a,b){a.g=!1;b?a.j=b:a.j=null},oK=function(a){if(a.j)oK(a.j);else if(a.g)throw SH("Stream already terminated, can't be modified or used").g;},pK=function(a){a.j?pK(a.j):(oK(a),a.g=!0)};var qK=function(){this.g=!1};U(qK,mK);var Qja=function(){var a=new qK;nK(a,null);return a};qK.prototype.Ko=function(){pK(this);return jja(),ija};var rK=function(){II.call(this)};U(rK,II);var sK=function(){this.g=!1};U(sK,mK);sK.prototype.Ko=function(){pK(this);return this.o};var tK=function(){};U(tK,qJ);var Rja=function(a){a.g.j=a.j;a.j.g=a.g;a.g=a.j=null};var uK=function(){this.B=0};U(uK,ZG);k=uK.prototype;k.sa=function(){return!$G(this.j,this.o.g.g)};k.Sb=function(){Rja(this.g);this.o.g.j.remove(this.g.wb());this.B=this.o.g.j.C;this.g=null};k.next=function(){return NH(this)};k.wa=function(){if(!this.sa())throw iJ().g;this.g=this.j;this.j=this.j.g;return this.g};k.Zc=function(a){MH(this,a)};var vK=function(){};U(vK,lJ);k=vK.prototype;k.clear=function(){this.g.clear()};k.contains=function(a){return kJ(a)?uJ(this.g,a):!1};k.Ba=function(){var a=new uK;a.o=this;a.j=this.g.g.g;a.B=this.g.j.C;return a};k.remove=function(a){return this.contains(a)?(this.g.remove(a.wb()),!0):!1};k.size=function(){return this.g.size()};var wK=function(){this.C=0};U(wK,QJ);k=wK.prototype;k.clear=function(){this.j.clear();this.g.j=this.g;this.g.g=this.g};k.Dc=function(a){return this.j.Dc(a)};k.Ae=function(a){for(var b=this.g.g;!$G(b,this.g);){if(oI(b.getValue(),a))return!0;b=b.g}return!1};k.Lb=function(){var a=new vK;a.g=this;return a};k.get=function(a){return(a=this.j.get(a))?a.getValue():null};
k.Ee=function(a,b){var c;if(c=this.j.get(a))return c.setValue(b);c=new tK;c.C=this;c.B=a;c.o=b;this.j.Ee(a,c);a=c.C.g.j;c.j=a;c.g=c.C.g;a.g=c.C.g.j=c;return null};k.remove=function(a){return(a=this.j.remove(a))?(Rja(a),a.getValue()):null};k.size=function(){return this.j.size()};k.cg=!0;var xK=function(){II.call(this);this.j=!1};U(xK,rK);xK.prototype.g=function(a){var b=this;for(this.j=!1;!this.j&&this.B.g(new QH(function(c){var d;if(d=b.o.g,d(c))b.j=!0,a.g(c)})););return this.j};var yK=function(){II.call(this)};U(yK,rK);yK.prototype.g=function(a){var b=this;return this.o.g(new QH(function(c){a.g(dJ(b.j,c))}))};var zK=function(){};U(zK,ZG);zK.prototype.g=function(a){this.j=a};var Sja=function(){this.g=!1};U(Sja,mK);
var AK=function(a,b){var c=new Sja;nK(c,a);c.o=b;return c},Wja=function(a){Tja();var b=Uja;return dJ(b.j,Vja(a,mja(b.o),new xJ(function(c,d){var e=b.g.g;e(c,d);return c})))},Vja=function(a,b,c){pK(a);var d=new zK;d.j=b;a.o.fg(new QH(function(e){d.g(c.g(d.j,e))}));return d.j},Xja=function(a,b){oK(a);var c=new xK,d=a.o,e=d.Mg();JI(c,e,d.Nh()&-16449);c.o=b;c.B=d;return AK(a,c)},Yja=function(a,b){oK(a);var c=new yK,d=a.o,e=d.Mg();JI(c,e,d.Nh()&-6);c.j=b;c.o=d;return AK(a,c)};var qI=function(a){return AK(null,a)};var lI=function(a,b){var c=a.size();b.length<c&&(b=aJ(Array(c),b));var d=b;a=a.Ba();for(let h=0;h<c;h=h+1|0){var e=d,f=h,g=a.wa();e[f]=g}b.length>c&&(b[c]=null);return b};var WI=function(){this.j=this.g=0};U(WI,ZG);k=WI.prototype;k.sa=function(){return this.g<this.o.size()};k.wa=function(){this.sa();var a;return this.o.mb(this.j=(a=this.g,this.g=this.g+1|0,a))};k.Sb=function(){this.o.Xj(this.j);this.g=this.j;this.j=-1};k.next=function(){return NH(this)};k.Zc=function(a){MH(this,a)};var XI=function(){WI.call(this)};U(XI,WI);XI.prototype.Ng=function(){return this.g>0};XI.prototype.Ph=function(){return this.g};XI.prototype.Rh=function(){return this.B.mb(this.j=this.g=this.g-1|0)};XI.prototype.Qh=function(){return this.g-1|0};var BK=function(){};U(BK,UI);var Zja=function(a){var b=new BK;b.g=a;return b};k=BK.prototype;k.contains=function(a){return this.indexOf(a)!=-1};k.mb=function(a){this.size();return this.g[a]};k.size=function(){return this.g.length};k.hc=function(){return this.Xb(Array(this.g.length))};k.Ba=function(){var a=new CK;a.j=this.g;return a};k.Xb=function(a){var b=this.g.length;a.length<b&&(a=aJ(Array(b),a));for(let c=0;c<b;c=c+1|0)a[c]=this.g[c];a.length>b&&(a[b]=null);return a};k.dg=!0;var CK=function(){this.g=0};U(CK,ZG);k=CK.prototype;k.sa=function(){return this.g<this.j.length};k.wa=function(){this.sa();var a;return this.j[a=this.g,this.g=this.g+1|0,a]};k.Sb=function(){throw PH().g;};k.next=function(){return NH(this)};k.Zc=function(a){MH(this,a)};var DK=function(){II.call(this);this.o=this.B=this.j=0};U(DK,MI);DK.prototype.Sh=function(a){if(this.j<=this.o){let c;var b=(c=this.j,this.j=this.j+1|0,c);a=a.g;a(b);b=!0}else b=!1;return b};var EK=function(){};U(EK,iK);var gja=function(a,b){if(a instanceof Object)try{a.Rq=b,Object.defineProperties(a,{cause:{get:function(){return b.o&&b.o.g}}})}catch(c){}};var $ja=function(){};U($ja,KH);var wH=function(a,b,c){return aka(a,FK(b,c,a.length))},aka=function(a,b){var c=a[0];if(c==null)return null;var d=new globalThis.Array(c);b&&(d.bg=b);if(a.length>1){a=a.slice(1);b=b&&FK(b.Bl,b.es,b.Kn-1);for(let e=0;e<c;e++)d[e]=aka(a,b)}else if(b&&(a=b.Bl.Em,a!==void 0))for(b=0;b<c;b++)d[b]=a;return d},GK=function(a,b,c){a.bg=FK(b,c,1);return a},FK=function(a,b,c){return{Bl:a,es:b,Kn:c}};var dI=function(){};U(dI,ZG);
var bH=function(a){return a==null?"null":a.toString()},HK=function(a,b){return $G(a,b)},ZH=function(a){var b=0;for(let c=0;c<a.length;c=c+1|0)b=(b<<5)-b+a.charCodeAt(c)|0;return b},bka=function(a,b){b=String.fromCodePoint(b);return a.indexOf(b)},cka=function(a){for(var b=RegExp("/","g"),c=wH([0],dI,ZJ),d=0,e=null;;){let f=b.exec(a);if(f&&a!==""&&d!=1){let g=f.index;c[d]=IK(a,0,g);a=IK(a,g+f.at(0).length|0,a.length);b.lastIndex=0;$G(e,a)&&(c[d]=IK(a,0,1),a=a.substr(1));e=a;d=d+1|0}else{c[d]=a;break}}return c},
IK=function(a,b,c){return a.substr(b,c-b|0)},ZJ=function(a){return"string"===typeof a};Ed.prototype.equals=function(a){return a instanceof Ed?rd(this,a):!1};Ed.prototype.ib=function(){return mf(this)+hf()|0};zb.prototype.equals=function(a){return qF(this,a)};zb.prototype.ib=function(){return mf(this)+hf()|0};v.prototype.equals=function(a){return Gw(this,a)};v.prototype.ib=function(){return mf(this)+hf()|0};v.prototype.build=function(){return ie(this)};var JK=function(){this.B=this.g=0};U(JK,hK);JK.prototype.j=function(){return this.B};var lE=new JK;lE.o="VIEW_RECENT";lE.g=7;lE.B=106;var KK=function(){};U(KK,UI);KK.prototype.dg=!0;var LK=function(){};U(LK,KK);LK.prototype.mb=function(a){var b;return b=this.j,b(this.g[a])};LK.prototype.size=function(){return this.g.length};var dka=function(a,b){for(a=a.Ba();a.sa();){let c=a.wa();b(c)}},eka=function(a,b){var c=new LK;c.j=b;c.g=a;return Hja(c)};var px=function(a){this.A=u(a)};U(px,v);var ox=function(a){this.A=u(a)};U(ox,v);var Iea=function(a,b){return D(a,1,b)};ox.prototype.getName=function(){return x(this,2)};var Jea=function(a,b){return D(a,2,b)},Gea=function(a,b){return D(a,3,b)},Hea=function(a,b){return H(a,5,b)},Lea=function(a,b){le(a);var c=b.forEach,d=a.A,e=d[sb]|0;a=De(a,d,e,Gb(a,e),7,px,uaa);c.call(b,Kaa,a)};var fka=[0,LG,-2,1,TG,1,$ia,[!0,IG,[0,LG]]];var Zt=function(a){this.A=u(a)};U(Zt,v);var gka=function(a){this.A=u(a)};U(gka,v);var rq=function(a){this.A=u(a)};U(rq,v);rq.prototype.getType=function(){return Tn(this,1)};var Hv=function(a){var b=new rq;return H(b,1,a)};rq.prototype.getId=function(){return L(this,2)};var Gv=function(a,b){return D(a,2,b)};rq.prototype.K=function(){return C(this,2)};rq.prototype.getName=function(){return L(this,3)};var Jv=function(a,b){return D(a,3,b)},Mv=function(a,b){return D(a,5,b)},Lv=function(a,b){return I(a,7,b)},Kv=function(a,b){return D(a,8,b)},Fv=function(a,b){return D(a,11,b)};var MK=function(a){this.A=u(a)};U(MK,v);var NK=function(a){this.A=u(a)};U(NK,v);NK.prototype.getValue=function(){return L(this,2)};NK.prototype.setValue=function(a){return D(this,2,a)};NK.prototype.Ia=function(){return C(this,2)};var PK=function(a){this.A=u(a)};U(PK,v);PK.prototype.getMetadata=function(){return O(this,gka,3)};var QK=[0,TG,LG,-1,KG,LG,TG,KG,LG,-1,KG,LG,-4,TG,KG,GG,LG,-1];var RK=function(a){this.A=u(a)};U(RK,v);RK.prototype.getType=function(){return Hl(this,1,1)};var ru=function(a){H(a,1,2)};var SK=function(a){this.A=u(a)};U(SK,v);SK.prototype.Cc=function(a){return D(this,1,a)};var R=function(a){this.A=u(a)};U(R,v);var Wt=function(a,b){return H(a,1,b)};R.prototype.g=function(){return Jt(this,1)};var Vt=function(a,b){return I(a,2,b)},Ut=function(a,b){return H(a,3,b)};R.prototype.Dh=function(){return Sw(this,5)};R.prototype.j=function(){return $t(this,5)};R.prototype.Gb=function(a){return H(this,9,a)};var nu=function(a){return O(a,SK,10)},su=function(a){return zB(a,RK,12)},Bca=Mg(R);var ht=function(a){this.A=u(a)};U(ht,v);ht.prototype.I=function(){return O(this,R,1)};var Yt=function(a,b){return K(a,1,b)},TK=function(a){return F(a,2,B())},Xt=function(a,b){return Ju(a,2,b)},UK=function(a){return I(a,4,!0)},$m=Mg(ht);var hka=[0,TG,KG,TG,KG,IG,1,GG,LG,TG,[0,LG,-1],KG,[0,TG],TG,KG,-1];var VK=function(a){this.A=u(a)};U(VK,v);VK.prototype.S=function(){return Tn(this,1)};VK.prototype.setStatus=function(a){return H(this,1,a)};VK.prototype.na=function(){return Jt(this,1)};VK.prototype.oe=function(){return O(this,PK,2)};var ika=function(a){var b=(new VK).setStatus(1);b=Vr(b,4,Date.now());return K(b,2,a)};var WK=function(a){this.A=u(a)};U(WK,v);WK.prototype.V=function(){return O(this,ht,1)};WK.prototype.ab=function(){return O(this,VK,2)};var jka=Mg(WK);var kka={fC:1,KC:2,lx:3,du:4,VC:5,xz:6,pz:7,wu:8,lC:9,uC:10,JC:11,bw:12,Mv:13,Jx:14,Ww:15,Pv:16,Ov:17,Uv:18,Rv:19,Sv:20,CC:21,SC:22,Jz:23,Zm:24,ou:25,PERMISSION_DENIED:26,Ky:27,Gu:28,Fu:29,Hx:30,Qz:31,py:358,Xz:32,hw:33,nw:34,oC:35,uw:36,Xw:37,mw:38,oz:39,Uu:40,Nz:41,aA:42,jC:43,Ou:44,Tu:45,Uw:46,Hy:47,mz:48,Gz:49,Oz:50,hC:51,kC:53,iC:54,Ru:55,Pu:56,Dw:57,Zy:58,Pz:59,wA:61,lB:62,SB:63,Zx:64,hz:65,YC:66,ww:67,ZC:355,Yw:68,IC:69,jy:70,Eu:71,Ku:72,tB:73,TB:74,PB:75,NB:76,hB:190,MB:191,uB:192,AB:126,
wB:128,xB:129,yB:130,zB:131,BB:132,CB:133,FA:127,CA:134,DA:135,HA:136,IA:137,JA:138,EA:194,GA:195,KA:196,BA:197,kB:189,vA:139,xA:140,LA:141,MA:142,YA:143,bB:144,cB:145,dB:146,eB:147,fB:148,gB:149,jB:150,pB:151,rB:152,sB:153,vB:154,DB:155,FB:156,GB:157,HB:158,IB:159,JB:160,KB:161,OB:162,RB:163,UB:164,yA:165,zA:166,AA:167,tA:168,uA:169,PA:170,NA:171,OA:172,QA:173,RA:174,SA:175,TA:176,UA:177,VA:178,WA:179,XA:180,ZA:181,aB:182,iB:106,qB:183,EB:184,LB:185,mB:186,nB:187,oB:188,QB:244,Mz:77,LC:78,RC:79,
Ry:80,Mx:81,Px:82,Cw:83,Tw:84,Ny:85,BC:86,lw:87,ly:88,ky:89,XB:90,VB:91,WB:92,MC:93,hv:94,gv:95,cv:96,fv:97,ev:98,XC:99,pA:100,Xv:101,Qv:102,Vv:103,Tv:104,Wv:105,Zw:107,sC:108,lA:109,EC:110,ix:111,hx:112,xy:113,yy:114,bA:115,Su:116,By:117,Ew:118,NC:119,sz:120,uz:121,Kx:193,Nv:122,ew:123,Lx:124,bz:125,my:198,Sz:199,Wx:200,Zt:201,hy:202,by:203,Ju:204,fD:205,Ey:206,av:207,rz:208,Zz:209,mA:210,fu:211,vy:212,zy:213,nC:214,mC:215,Yx:216,Ix:217,Xx:218,yw:219,vC:220,zw:221,ty:222,qC:223,aD:224,jz:225,pC:226,
fw:227,Mw:228,Bw:229,Wu:230,zC:231,cz:232,bx:233,iy:234,xw:235,Sw:236,Wz:237,iz:238,Ut:239,Yu:240,lz:241,qA:242,jw:243,Yt:245,Qx:246,Iz:247,Ox:248,Qy:249,gz:250,Vw:251,ox:252,wy:253,Qu:254,gx:255,WC:256,kx:257,Vy:258,gA:259,Rz:260,qy:261,aw:262,kw:263,nu:264,Iy:265,UC:266,Wt:267,iu:268,hu:269,nz:270,Rt:271,Tt:272,su:273,Zu:274,ku:275,ju:276,Dy:277,jx:278,Sx:279,cA:280,wC:281,Wy:282,Fy:283,Gy:284,Vu:285,gu:286,vz:287,Bu:288,Hu:289,Iu:290,Gx:291,Du:292,Xu:293,St:294,Lu:295,Fv:296,xv:297,ov:349,Ev:298,
zv:299,Av:300,Hv:301,nv:302,mv:303,uv:304,Jv:305,Iv:306,wv:307,Gv:308,yv:309,tv:310,Bv:311,Cv:312,Dv:313,qv:314,rv:315,sv:316,vv:317,Nx:318,gw:319,Rw:320,Bx:321,cu:322,bu:323,au:324,Lw:325,Kw:326,Ly:327,zz:328,My:329,Jy:330,xu:331,jv:332,fA:333,iA:334,HC:335,fz:336,dz:337,gC:338,gD:339,bv:340,Iw:341,ez:342,eC:343,cC:345,Cu:346,dC:347,Au:348,jA:350,lv:351,ey:352,Sy:353,zu:356,yu:357};var Ax=function(a){this.A=u(a)};U(Ax,v);Ax.prototype.getId=function(){return L(this,1)};Ax.prototype.K=function(){return C(this,1)};Ax.prototype.getType=function(){return Tn(this,2)};var lka=[0,LG,TG];var Vy=function(a){this.A=u(a)};U(Vy,v);var sz=function(a){this.A=u(a)};U(sz,v);var dz=function(a){this.A=u(a)};U(dz,v);var XK=[0];var iz=function(a){this.A=u(a)};U(iz,v);var Xy=function(a){this.A=u(a)};U(Xy,v);var pz=function(a){this.A=u(a)};U(pz,v);var Uy=function(a){this.A=u(a)};U(Uy,v);var Wy=function(a){this.A=u(a)};U(Wy,v);var Ry=function(a){this.A=u(a)};U(Ry,v);var Ty=function(a){this.A=u(a)};U(Ty,v);var bz=function(a){this.A=u(a)};U(bz,v);var fz=function(a){this.A=u(a)};U(fz,v);var oz=function(a){this.A=u(a)};U(oz,v);var $y=function(a){this.A=u(a)};U($y,v);var mz=function(a){this.A=u(a)};U(mz,v);var Gz=function(a){this.A=u(a)};U(Gz,v);var lz=function(a){this.A=u(a)};U(lz,v);var nz=[1,2,3,4];var mka=[0,nz,RG,[0],RG,[0],RG,[0],RG,XK];var mx=function(a){this.A=u(a)};U(mx,v);mx.prototype.getName=function(){return x(this,2)};mx.prototype.getState=function(){return Hl(this,4)};var Oy=function(a){this.A=u(a)};U(Oy,v);Oy.prototype.getUrl=function(){return L(this,1)};var Ny=function(a){this.A=u(a)};U(Ny,v);var My=function(a){this.A=u(a)};U(My,v);var Gfa=function(a,b){return yu(a,1,b)};var nka=function(a){this.A=u(a)};U(nka,v);var Ly=function(a){var b=new nka;return yu(b,1,a)};var Hy=function(a){this.A=u(a)};U(Hy,v);var Cfa=function(a,b){K(a,1,b)},Ky=function(a,b){yu(a,2,b)},Dfa=function(a,b){Vr(a,5,b)},Efa=function(a,b){K(a,6,b)},Ffa=function(a,b){K(a,7,b)},Jy=[3,4];var oka=[0,LG,-2,TG];var YK=[0,PG,[0,LG,[0,LG],KG,-1]];var ZK=[0,Jy,YK,PG,QK,RG,QK,RG,[0,PG,QK],GG,YK,-1,TG,[0,PG,[0,[1,2],RG,YK,RG,[0,LG]]],oka];var kz=function(a){this.A=u(a)};U(kz,v);var Ufa=function(a,b){yu(a,1,b)},Tfa=function(a,b){return D(a,2,b)},Sfa=function(a,b){return K(a,3,b)},Rfa=function(a,b){return J(a,4,b)};var pka=[0,PG,mka,LG,ZK,IG];var Bz=function(a){this.A=u(a)};U(Bz,v);var Cz=[1];var qka=[0,Cz,RG,XK];var Az=function(a){this.A=u(a)};U(Az,v);var cga=function(a,b){yu(a,1,b)},bga=function(a,b){return K(a,2,b)};var rka=[0,PG,qka,ZK];var Qy=function(a){this.A=u(a)};U(Qy,v);var Sy=[1,2,3,4,5,6];var ska=[0,Sy,RG,[0],RG,[0],RG,[0],RG,[0],RG,[0],RG,[0]];var Py=function(a){this.A=u(a)};U(Py,v);var Ifa=function(a,b){yu(a,1,b)},Hfa=function(a,b){return K(a,4,b)},Jfa=function(a,b){K(a,5,b)};var tka=[0,PG,ska,LG,-1,ZK,YK];var Zy=function(a){this.A=u(a)};U(Zy,v);var az=[1,2];var uka=[0,az,RG,[0],RG,[0]];var Yy=function(a){this.A=u(a)};U(Yy,v);var Mfa=function(a,b){yu(a,2,b)},Lfa=function(a,b){yu(a,4,b)},Kfa=function(a,b){return K(a,5,b)};var vka=[0,1,PG,QK,TG,PG,uka,ZK];var vz=function(a){this.A=u(a)};U(vz,v);var wz=[1];var wka=[0,wz,RG,XK];var uz=function(a){this.A=u(a)};U(uz,v);var Zfa=function(a,b){yu(a,1,b)},Yfa=function(a,b){return K(a,2,b)};var xka=[0,PG,wka,ZK];var cz=function(a){this.A=u(a)};U(cz,v);var ez=[1,2];var yka=[0,ez,RG,XK,RG,[0]];var zy=function(a){this.A=u(a)};U(zy,v);var Ofa=function(a,b){yu(a,2,b)},By=function(a,b){return yu(a,3,b)};var zka=[0,1,PG,yka,PG,ZK];var rz=function(a){this.A=u(a)};U(rz,v);var tz=[1];var Aka=[0,tz,RG,[0]];var qz=function(a){this.A=u(a)};U(qz,v);var Xfa=function(a,b){yu(a,1,b)},Wfa=function(a,b){return D(a,2,b)},Vfa=function(a,b){return K(a,3,b)};var Bka=[0,PG,Aka,LG,ZK];var hz=function(a){this.A=u(a)};U(hz,v);var jz=[1];var Cka=[0,jz,RG,[0]];var gz=function(a){this.A=u(a)};U(gz,v);var Qfa=function(a,b){yu(a,2,b)},Pfa=function(a,b){return K(a,3,b)};var Dka=[0,1,PG,Cka,ZK];var Ez=function(a){this.A=u(a)};U(Ez,v);var Fz=[1,2];var Eka=[0,Fz,RG,XK,RG,[0]];var Dz=function(a){this.A=u(a)};U(Dz,v);var ega=function(a,b){yu(a,1,b)},dga=function(a,b){return yu(a,2,b)};var Fka=[0,PG,Eka,PG,ZK];var yz=function(a){this.A=u(a)};U(yz,v);var zz=[1];var Gka=[0,zz,RG,XK];var xz=function(a){this.A=u(a)};U(xz,v);var aga=function(a,b){yu(a,1,b)},$fa=function(a,b){return K(a,2,b)};var Hka=[0,PG,Gka,ZK];var Dy=function(a){this.A=u(a)};U(Dy,v);var Cy=function(a,b){return y(a,3,Ey,b)},Ey=[2,3,4,5,6,7,8,9,10,11];var Ika=[0,Ey,1,RG,tka,RG,zka,RG,vka,RG,Dka,RG,pka,RG,Bka,RG,xka,RG,Hka,RG,rka,RG,Fka];var $K=function(a){this.A=u(a)};U($K,v);$K.prototype.setDescription=function(a){return TF(this,1,a)};$K.prototype.getUrl=function(){return x(this,2)};var op=function(a){this.A=u(a)};U(op,v);op.prototype.getType=function(){return Hl(this,1)};op.prototype.getContext=function(){return O(this,$K,2)};var aL=function(a){this.A=u(a)};U(aL,v);aL.prototype.setTitle=function(a){return TF(this,3,a)};var tp=function(a){this.A=u(a)};U(tp,v);var Jka=function(a){this.A=u(a)};U(Jka,v);var Kka=function(a){this.A=u(a)};U(Kka,v);var Lka=function(a){this.A=u(a)};U(Lka,v);var Mka=function(a){this.A=u(a)};U(Mka,v);var Nka=function(a){this.A=u(a)};U(Nka,v);var Oka=function(a){this.A=u(a)};U(Oka,v);var Pka=function(a){this.A=u(a)};U(Pka,v);var bL=[2,3,4];var Qka=function(a){this.A=u(a)};U(Qka,v);var Rka=function(a){this.A=u(a)};U(Rka,v);var Ska=function(a){this.A=u(a)};U(Ska,v);var Tka=function(a){this.A=u(a)};U(Tka,v);var qp=function(a){this.A=u(a)};U(qp,v);qp.prototype.S=function(){return Hl(this,6)};qp.prototype.setStatus=function(a){return UF(this,6,a)};var cL=[8,9,10,11,12,13,14,15,17];var Uka=function(a){this.A=u(a)};U(Uka,v);var Vka=function(a){this.A=u(a)};U(Vka,v);var Wka=function(a){this.A=u(a)};U(Wka,v);var kp=function(a){this.A=u(a)};U(kp,v);var dL=[1,2,3];var eL=function(a){this.A=u(a)};U(eL,v);var fL=function(a){this.A=u(a)};U(fL,v);fL.prototype.getType=function(){return Hl(this,6)};var Xka=function(a){this.A=u(a)};U(Xka,v);var gL=function(a){this.A=u(a)};U(gL,v);gL.prototype.getName=function(){return x(this,1)};gL.prototype.setTitle=function(a){return TF(this,2,a)};var hL=[8,9,10];var iL=function(a){this.A=u(a)};U(iL,v);iL.prototype.getName=function(){return x(this,1)};iL.prototype.setTitle=function(a){return TF(this,2,a)};var Yka=function(a){this.A=u(a)};U(Yka,v);var Zka=[1,3];var $ka=function(a){this.A=u(a)};U($ka,v);var ala=function(a){this.A=u(a)};U(ala,v);var bla=function(a){this.A=u(a)};U(bla,v);var cp=function(a){this.A=u(a)};U(cp,v);var jL=[1,2,3];var lp=function(a){this.A=u(a)};U(lp,v);lp.prototype.getType=function(){return Hl(this,1)};var hp=function(a){this.A=u(a)};U(hp,v);hp.prototype.getType=function(){return Hl(this,1)};var np=function(a){this.A=u(a)};U(np,v);np.prototype.getType=function(){return Hl(this,1)};var ep=function(a){this.A=u(a)};U(ep,v);var cla=function(a){this.A=u(a)};U(cla,v);var dla=function(a){this.A=u(a)};U(dla,v);var vp=function(a){this.A=u(a)};U(vp,v);var rp=function(a){this.A=u(a)};U(rp,v);var ela=function(a){this.A=u(a)};U(ela,v);var fla=function(a){this.A=u(a)};U(fla,v);var gla=function(a){this.A=u(a)};U(gla,v);var fp=function(a){this.A=u(a)};U(fp,v);var hla=function(a){this.A=u(a)};U(hla,v);var kL=function(a){this.A=u(a)};U(kL,v);kL.prototype.getName=function(){return x(this,1)};var lL=function(a){this.A=u(a)};U(lL,v);lL.prototype.setTitle=function(a){return TF(this,2,a)};var ila=function(a){this.A=u(a)};U(ila,v);var mL=[2,3,4,5];var jp=function(a){this.A=u(a)};U(jp,v);var jla=function(a){this.A=u(a)};U(jla,v);var up=function(a){this.A=u(a)};U(up,v);var gp=function(a){this.A=u(a)};U(gp,v);var ip=function(a){this.A=u(a)};U(ip,v);ip.prototype.getType=function(){return Hl(this,1)};var kla=function(a){this.A=u(a)};U(kla,v);var pp=function(a){this.A=u(a)};U(pp,v);var sp=function(a){this.A=u(a)};U(sp,v);var lla=function(a){this.A=u(a)};U(lla,v);var mp=function(a){this.A=u(a)};U(mp,v);mp.prototype.getType=function(){return Hl(this,1)};var nL=function(a){this.A=u(a)};U(nL,v);var dp=[1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,18,19,20,21,22,23,24];var oL=function(a){this.A=u(a)};U(oL,v);oL.prototype.getType=function(){return Hl(this,2)};var mla=function(a){this.A=u(a)};U(mla,v);var nla=function(a){this.A=u(a)};U(nla,v);var ola=function(a){this.A=u(a)};U(ola,v);var pla=function(a){this.A=u(a)};U(pla,v);var qla=[1,2];var rla=function(a){this.A=u(a)};U(rla,v);var sla=function(a){this.A=u(a)};U(sla,v);var pL=function(a){this.A=u(a)};U(pL,v);pL.prototype.getType=function(){return Hl(this,1)};var tla=function(a){this.A=u(a)};U(tla,v);var qL=[1,2,3,4,5];var ula=function(a){this.A=u(a)};U(ula,v);var vla=function(a){this.A=u(a)};U(vla,v);var wla=[1,4];var rL=function(a){this.A=u(a)};U(rL,v);rL.prototype.getName=function(){return x(this,1)};rL.prototype.setTitle=function(a){return TF(this,2,a)};var sL=[8,9,10];var tL=function(a){this.A=u(a)};U(tL,v);tL.prototype.getName=function(){return x(this,1)};tL.prototype.setTitle=function(a){return TF(this,2,a)};var xla=function(a){this.A=u(a)};U(xla,v);var yla=function(a){this.A=u(a)};U(yla,v);var uL=[1,3,5];var vL=function(a){this.A=u(a)};U(vL,v);vL.prototype.Hg=function(){return O(this,oL,2)};var zla=[5,6];var Ala=function(a){this.A=u(a)};U(Ala,v);var Bla=[6,7];var wL=function(a){this.A=u(a)};U(wL,v);wL.prototype.getId=function(){return L(this,1)};wL.prototype.K=function(){return C(this,1)};wL.prototype.I=function(){return O(this,R,4)};var ay=function(a){this.A=u(a)};U(ay,v);ay.prototype.getSize=function(){return Sw(this,2)};ay.prototype.getUrl=function(){return L(this,3)};var dy=function(a){this.A=u(a)};U(dy,v);dy.prototype.getType=function(){return L(this,1)};var by=function(a){this.A=u(a)};U(by,v);var Yx=function(a){this.A=u(a)};U(Yx,v);Yx.prototype.getId=function(){return L(this,1)};Yx.prototype.K=function(){return C(this,1)};Yx.prototype.getName=function(){return L(this,2)};var $x=function(a,b){return Ju(a,4,b)},Zx=function(a,b){return Ju(a,5,b)};Yx.prototype.getType=function(){return Tn(this,23)};var xL=function(a){this.A=u(a)};U(xL,v);xL.prototype.S=function(){return Tn(this,1)};xL.prototype.setStatus=function(a){return H(this,1,a)};xL.prototype.na=function(){return Jt(this,1)};var Cla=Mg(xL);var yL=function(a){this.A=u(a)};U(yL,v);yL.prototype.Ea=function(){return L(this,2)};yL.prototype.I=function(){return O(this,R,4)};var bn=Mg(yL);var zL=function(a){this.A=u(a)};U(zL,v);zL.prototype.ge=function(){return C(this,1)};zL.prototype.I=function(){return O(this,R,3)};var gn=Mg(zL);var AL=function(a){this.A=u(a)};U(AL,v);AL.prototype.I=function(){return O(this,R,2)};var wn=Mg(AL);var BL=function(a){this.A=u(a)};U(BL,v);BL.prototype.S=function(){return Tn(this,1)};BL.prototype.setStatus=function(a){return H(this,1,a)};BL.prototype.na=function(){return Jt(this,1)};BL.prototype.xh=function(){return O(this,Yx,2)};var CL=function(a){this.A=u(a)};U(CL,v);CL.prototype.g=function(){return L(this,1)};CL.prototype.ge=function(){return C(this,1)};CL.prototype.I=function(){return O(this,R,2)};var An=Mg(CL);var DL=function(a){this.A=u(a)};U(DL,v);DL.prototype.getType=function(){return Tn(this,1)};var EL=function(a,b){return H(a,1,b)};DL.prototype.I=function(){return O(this,R,2)};var FL=function(a,b){return K(a,2,b)},Sn=Mg(DL);var Wx=function(a){this.A=u(a)};U(Wx,v);Wx.prototype.S=function(){return Tn(this,1)};Wx.prototype.setStatus=function(a){return H(this,1,a)};Wx.prototype.na=function(){return Jt(this,1)};Wx.prototype.xh=function(){return O(this,Yx,2)};var GL=function(a){this.A=u(a)};U(GL,v);GL.prototype.g=function(){return L(this,1)};GL.prototype.ge=function(){return C(this,1)};GL.prototype.I=function(){return O(this,R,4)};var lo=Mg(GL);var xw=function(a){this.A=u(a)};U(xw,v);xw.prototype.Hg=function(){return Hl(this,1,1)};
var ID=function(a){var b=new xw;return H(b,1,a)},Dla=function(a){return Q(a,11)},Ela=function(a){return Q(a,12)},Fla=function(a){return E(a,36)},Gla=function(a){return E(a,37)},Hla=function(a){return E(a,38)},VC=function(a){return E(a,39)},HL=function(a){return E(a,40)},XC=function(a){return E(a,41)},Ila=function(a){return Q(a,57)},Jla=function(a){return E(a,61)},Kla=function(a){return E(a,62)},BB=function(a){return Q(a,84)};var Bx=function(a){this.A=u(a)};U(Bx,v);k=Bx.prototype;k.getId=function(){return L(this,1)};k.K=function(){return C(this,1)};k.S=function(){return Tn(this,2)};k.setStatus=function(a){return H(this,2,a)};k.na=function(){return Jt(this,2)};k.getType=function(){return Tn(this,5)};var Dx=function(a){this.A=u(a)};U(Dx,v);var Os=function(a){this.A=u(a)};U(Os,v);var cx=function(a,b){return I(a,1,b)},IL=function(a){return E(a,1)},ex=function(a,b){return I(a,4,b)},dx=function(a,b){return I(a,5,b)},JL=function(a){return E(a,7)},hx=function(a,b){return I(a,8,b)},gx=function(a,b){return I(a,9,b)},Lla=function(a){return Um(a,16)},Pv=function(a,b){return I(a,16,b)},fx=function(a,b){return I(a,21,b)},ix=function(a,b){return I(a,43,b)};var sx=function(a){this.A=u(a)};U(sx,v);var rx=function(a,b){return D(a,1,b)};var ux=function(a){this.A=u(a)};U(ux,v);var xx=function(a){this.A=u(a)};U(xx,v);var wx=function(a,b){return I(a,1,b)},vx=function(a,b){return D(a,2,b)};var Nk=function(a){this.A=u(a)};U(Nk,v);Nk.prototype.getUrl=function(){return L(this,2)};var KL=function(a){this.A=u(a)};U(KL,v);KL.prototype.getTypeName=function(){return x(this,1).split("/").pop()};KL.prototype.getValue=function(){var a=rk(this,2);if(Array.isArray(a)||a instanceof v)throw Error("N");return FF(this,2)};KL.prototype.setValue=function(a){if(a==null)a=this;else if(Array.isArray(a))a=N(this,2,Nd(a,0,Od));else if(typeof a==="string"||a instanceof zb||jb(a))a=Ge(this,2,Jb(a,!1,!0),yb());else throw Error("L`"+a);return a};var Mla=Mg(KL);var LL=function(a){this.A=u(a)};U(LL,v);var Kx=function(a){return zn(a,1)},ML=function(a,b){return is(a,1,b)},Nla=Pg(LL);var NL=function(a){this.A=u(a)};U(NL,v);NL.prototype.S=function(){return O(this,LL,4)};NL.prototype.setStatus=function(a){return K(this,4,a)};NL.prototype.na=function(){return vB(this,LL,4)};var OL=function(a){this.A=u(a)};U(OL,v);var PL=function(a){this.A=u(a)};U(PL,v);var Cx=function(a){this.A=u(a)};U(Cx,v);var Gx=function(a){this.A=u(a)};U(Gx,v);var Xs=function(a){this.A=u(a)};U(Xs,v);var Ts=function(a,b){I(a,1,b)},Ola=function(a){return E(a,1)};var ry=function(a){this.A=u(a)};U(ry,v);var QL=function(a){this.A=u(a)};U(QL,v);var RL=function(a){this.A=u(a)};U(RL,v);var AC=function(a){var b=new RL;return H(b,1,a)};var zx=function(a){this.A=u(a)};U(zx,v);var yx=function(a,b){return Vr(a,3,b)},Pla=function(a){return N(a,3)};var eC=function(a){this.A=u(a)};U(eC,v);var SL=function(a){this.A=u(a)};U(SL,v);var Qla=function(a,b){return N(a,1,b==null?b:wc(b))},Rla=function(a,b){return N(a,2,b==null?b:wc(b))};var TL=function(a){this.A=u(a)};U(TL,v);var Sla=function(a,b){D(a,1,b)},Tla=function(a,b){D(a,5,b)},Ula=function(a,b){D(a,6,b)},UL=function(a,b){return yu(a,8,b)};var Fx=function(a){this.A=u(a)};U(Fx,v);Fx.prototype.setDescription=function(a){return D(this,1,a)};Fx.prototype.Ic=function(){return S(this,1)};Fx.prototype.removeCategory=function(a){return WF(this,2,a)};var Ex=function(a){this.A=u(a)};U(Ex,v);var Ix=function(a){this.A=u(a)};U(Ix,v);var Hx=function(a){this.A=u(a)};U(Hx,v);var wB=function(a){this.A=u(a)};U(wB,v);var WB=function(a){this.A=u(a)};U(WB,v);var VL=function(a){this.A=u(a)};U(VL,v);k=VL.prototype;k.getId=function(){return x(this,1)};k.K=function(){return C(this,1)};k.Ff=function(){return YF(this,2)};k.setTitle=function(a){return D(this,3,a)};k.gb=function(){return S(this,3)};k.Ma=function(){return C(this,3)};k.Um=function(){return hs(this,4)};k.Fi=function(){return jt(this,4)};k.Hi=function(){return E(this,7)};k.Gi=function(){return x(this,10)};k.xd=function(){return C(this,10)};var WL=function(a){this.A=u(a)};U(WL,v);var Vla=function(a){this.A=u(a)};U(Vla,v);var $q=function(a){this.A=u(a)};U($q,v);k=$q.prototype;k.setTitle=function(a){return D(this,1,a)};k.gb=function(){return S(this,1)};k.Ma=function(){return C(this,1)};k.setColor=function(a){return K(this,3,a)};k.setDescription=function(a){return D(this,11,a)};k.Ic=function(){return S(this,11)};var Zq=function(a){this.A=u(a)};U(Zq,v);var Sca=function(a){return Hl(a,2)},Rca=function(a,b){H(a,2,b)};var Wq=function(a){this.A=u(a)};U(Wq,v);k=Wq.prototype;k.setTitle=function(a){return D(this,1,a)};k.gb=function(){return S(this,1)};k.Ma=function(){return C(this,1)};k.setDescription=function(a){return D(this,3,a)};k.Ic=function(){return S(this,3)};var Yq=function(a){this.A=u(a)};U(Yq,v);var Xq=function(a){return z(a,Wq,1,B())};var Tq=function(a){this.A=u(a)};U(Tq,v);Tq.prototype.getId=function(){return x(this,1)};Tq.prototype.K=function(){return C(this,1)};var Wla=function(a,b){K(a,8,b)},Xla=function(a,b){yu(a,9,b)};Tq.prototype.setTitle=function(a){return D(this,11,a)};Tq.prototype.gb=function(){return S(this,11)};Tq.prototype.Ma=function(){return C(this,11)};var Uq=[13,14,15,16,17,18,19];var XL=function(a){this.A=u(a)};U(XL,v);XL.prototype.getId=function(){return x(this,1)};var Yla=function(a){var b=new XL;return D(b,1,a)};XL.prototype.K=function(){return C(this,1)};var Zla=function(a,b){return D(a,2,b)},$la=function(a,b){return yu(a,3,b)},Sq=function(a,b){return D(a,4,b)};k=XL.prototype;k.setTitle=function(a){return D(this,5,a)};k.gb=function(){return S(this,5)};k.Ma=function(){return C(this,5)};k.setDescription=function(a){return D(this,7,a)};k.Ic=function(){return S(this,7)};var Ow=function(a){this.A=u(a)};U(Ow,v);var Rw=function(a,b){return J(a,1,b)},Pw=function(a,b){return yu(a,2,b)},Qw=function(a,b){return yu(a,3,b)},ama=function(a,b){return J(a,4,b)},bma=function(a,b){return J(a,5,b)},cma=function(a,b){return J(a,6,b)};var YL=function(a){this.A=u(a)};U(YL,v);var ZL=function(a){this.A=u(a)};U(ZL,v);var Vs=function(a){return O(a,Pk,5)},Pk=function(a){this.A=u(a)};U(Pk,v);Pk.prototype.getId=function(){return L(this,1)};var sq=function(a){return L(a,1)},ey=function(a,b){return D(a,1,b)};Pk.prototype.K=function(){return C(this,1)};var $L=function(a){return F(a,2,B())},gy=function(a,b){return Ju(a,2,b)};k=Pk.prototype;k.pg=function(a){He(this,2,cd,a,void 0,ed)};k.setTitle=function(a){return D(this,3,a)};k.gb=function(){return S(this,3)};
k.Ma=function(){return C(this,3)};k.Gi=function(){return L(this,4)};var Mk=function(a,b){return D(a,4,b)};Pk.prototype.xd=function(){return C(this,4)};
var ky=function(a,b){return I(a,5,b)},dma=function(a,b){return I(a,6,b)},aM=function(a,b){return I(a,7,b)},bM=function(a,b){return I(a,8,b)},ema=function(a,b){return I(a,9,b)},fma=function(a,b){return Vr(a,10,b)},ny=function(a,b){return Vr(a,11,b)},cM=function(a,b){return Vr(a,12,b)},gma=function(a,b){return Vr(a,13,b)},qq=function(a){return z(a,rq,15,B())},Nv=function(a,b){return yu(a,15,b)},dM=function(a,b){return K(a,17,b)},my=function(a,b){return I(a,22,b)};
Pk.prototype.Hi=function(){return E(this,22)};var oy=function(a,b){return Vr(a,23,b)};Pk.prototype.setDescription=function(a){return D(this,24,a)};Pk.prototype.Ic=function(){return S(this,24)};var eM=function(a,b){return H(a,25,b)},fM=function(a,b){return I(a,26,b)},gM=function(a,b){return I(a,31,b)};Pk.prototype.Um=function(){return jt(this,34,void 0,CF)};var hM=function(a,b){return Vr(a,34,b)};Pk.prototype.Fi=function(){return jt(this,34)};
var hma=function(a,b){return I(a,35,b)},ima=function(a,b){return I(a,36,b)},jma=function(a,b){D(a,43,b)},py=function(a,b){return I(a,44,b)},kma=function(a,b){return D(a,45,b)},iM=function(a,b){return D(a,46,b)},jM=function(a,b){return K(a,47,b)},lma=function(a,b){return Ju(a,50,b)},Wk=function(a){return Hl(a,52,1)};Pk.prototype.qc=function(a){return H(this,52,a)};
var cca=function(a,b){yu(a,58,b)},mma=function(a,b){return Vr(a,69,b)},nma=function(a,b){return Vr(a,70,b)},oma=function(a,b){return H(a,71,b)},kM=function(a){return L(a,72)},ly=function(a,b){return D(a,72,b)},lM=function(a){return C(a,72)},mM=function(a){return O(a,TL,73)},nM=function(a,b){return K(a,73,b)};Pk.prototype.Ff=function(){return YF(this,75)};
var oM=function(a){return Um(a,76)},pma=function(a,b){return I(a,76,b)},pM=function(a,b){return I(a,137,b)},Sr=function(a,b){return H(a,82,b)},qma=function(a,b){return yu(a,83,b)},Ns=function(a){return O(a,Os,84)},Ps=function(a,b){return K(a,84,b)},qM=function(a,b){return K(a,85,b)},rma=function(a,b){return K(a,86,b)},rM=function(a,b){return K(a,91,b)},sM=function(a,b){return D(a,92,b)},Rv=function(a,b){return D(a,93,b)},sma=function(a,b){return I(a,94,b)},tM=function(a,b){return K(a,95,b)},tma=function(a,
b){return Vr(a,96,b)},uma=function(a,b){return H(a,101,b)},vma=function(a,b){return I(a,102,b)};Pk.prototype.hasAudio=function(){return ds(this,Dx,158)};var wma=function(a,b){return I(a,108,b)},xma=function(a,b){return K(a,109,b)};Pk.prototype.lj=function(){return z(this,Dy,117,B())};
var Bv=function(a,b){return yu(a,117,b)},yma=function(a,b){return D(a,119,b)},iy=function(a,b){return yu(a,125,b)},zma=function(a,b){return yu(a,127,b)},Rk=function(a){return O(a,ZL,132)},Ama=function(a,b){return K(a,132,b)},Bma=function(a,b){return Ju(a,135,b)},uM=function(a,b){return D(a,136,b)},Cma=function(a,b){return K(a,138,b)},Dma=function(a,b){return K(a,139,b)},hy=function(a,b){return I(a,144,b)},Ema=function(a,b){return H(a,145,b)},jy=function(a,b){return K(a,148,b)},Fma=function(a,b){return Vr(a,
149,b)},vM=function(a,b){return K(a,156,b)},Gma=function(a,b){return yu(a,151,b)},Hma=function(a,b){return H(a,161,b)},Gr=function(a){return z(a,XL,165,B())},Hr=function(a,b){return yu(a,165,b)},Ima=function(a,b){return K(a,168,b)},Jma=function(a,b){return K(a,172,b)},Kma=function(a,b){return K(a,173,b)},Lma=function(a,b){return K(a,174,b)},Mma=function(a,b){return K(a,175,b)},Nma=Mg(Pk);var wM=function(a){this.A=u(a)};U(wM,v);wM.prototype.Ea=function(){return L(this,2)};var xM=function(a,b){return D(a,2,b)},yM=function(a){return I(a,3,!0)};wM.prototype.getItem=function(){return O(this,Pk,4)};var zM=function(a,b){return K(a,4,b)};wM.prototype.Zb=function(){return ds(this,Pk,4)};var AM=function(a,b){return D(a,7,b)};wM.prototype.setLocation=function(a){return D(this,13,a)};var BM=[0,LG,KG,GG,LG,SG];var Oma=[0,KG,LG];var Pma=[0,TG];var Qma=[0,LG,GG,[0,GG,-2],-1,6,LG];var Rma=[0,LG,-2,Qma];var Sma=[0,QK];var CM=[0,LG,-1,PG,[0,Uq,LG,TG,LG,EG,LG,OG,LG,QK,PG,QK,Qma,LG,GG,RG,Rma,RG,[0,PG,Rma],RG,[0,GG,TG],RG,[0,EG],RG,[0,LG],RG,Sma,RG,[0,PG,Sma]],LG,-1,TG,LG];var Uma=[0,LG,GG,LG,TG,function(){return Tma},KG,LG,KG],Tma=[0,LG,OG,LG,-1,KG,-4,GG,-4,PG,QK,1,QK,1,LG,-2,KG,GG,LG,TG,KG,[0,GG,IG,-2],GG,KG,-2,2,GG,KG,-1,PG,QK,-1,1,KG,LG,-2,KG,LG,-1,QK,LG,1,OG,1,TG,1,GG,PG,BM,OG,LG,PG,[0,LG,-1],KG,PG,Pma,LG,1,KG,3,GG,1,GG,-1,TG,LG,[0,LG,GG,KG,LG,-2,KG,PG,[0,LG],KG,[0,aja,-1,KG],KG],KG,GG,KG,1,LG,GG,1,[0,KG,-3,GG,-1,KG,-1],TG,PG,lka,[0,KG,-17,1,KG,-42,1,KG,-5],[0,IG,PG,QK,-1,IG,-2],[0,LG,OG,TG],GG,-1,HG,GG,QK,LG,-1,KG,QK,GG,-1,KG,1,[0,DG,LG,KG,-1],TG,KG,[0,IG,-2,
TG],OG,-2,1,KG,[0,KG,-4],1,Oma,KG,GG,LG,-1,KG,PG,Ika,KG,LG,OG,HG,[0,LG],PG,[0,LG,-2],GG,PG,Oma,GG,PG,[0,LG,TG,PG,[0,EG,TG],EG,TG],OG,3,function(){return Uma},LG,-1,OG,LG,KG,[0,TG,[0,LG,GG,TG,LG,-1,TG,SG,fka],TG],[0,1,KG,-1,TG,KG],LG,-1,GG,-1,KG,TG,2,[0,2,GG,KG,-2],GG,PG,[0,LG,-1],PG,CM,IG,KG,2,[0,[0,LG,GG,LG,GG,[0,KG,-5],KG,-2,LG,-3,KG,GG]],PG,CM,[0,IG],PG,[0,TG,-2],KG,TG,LG,-1,TG,PG,CM,KG,LG,[0,KG,PG,[0,TG,LG]],[0,[0,UG,[0,KG,TG]]],[0,[0,[2,3],TG,RG,[0],RG,[0,VG],[0,bja,MG,PG,[0,MG,Zia]]],-1],[0,
PG,[0,[3,4,5],LG,-1,RG,[0,LG,-2],RG,[0,LG],RG,[0,LG,1,EG,1,LG,-1]]],oka,-3,[0,1,LG]];var DM=function(a){this.A=u(a)};U(DM,v);var Vma=function(a,b){return Vr(a,1,b)},Wma=function(a,b){return J(a,2,b)};DM.prototype.I=function(){return O(this,R,6)};var Xma=function(a,b){return K(a,6,b)},Yma=function(a,b){return D(a,8,b)},Zma=function(a){I(a,12,!0)},Un=Mg(DM);var EM=function(a){this.A=u(a)};U(EM,v);EM.prototype.S=function(){return Tn(this,1)};EM.prototype.setStatus=function(a){return H(this,1,a)};EM.prototype.na=function(){return Jt(this,1)};var $ma=function(a,b){yu(a,4,b)};var FM=function(a){this.A=u(a)};U(FM,v);FM.prototype.I=function(){return O(this,R,1)};var ana=function(){var a=new FM,b=Wt(new R,301);return K(a,1,b)},bna=function(a,b){return SF(a,2,b)},co=Mg(FM);var GM=function(a){this.A=u(a)};U(GM,v);var HM=function(a,b){return J(a,1,b)},IM=function(a,b){return SF(a,2,b)};var JM=function(a){this.A=u(a)};U(JM,v);JM.prototype.I=function(){return O(this,R,1)};var cna=function(a){var b=new JM;return K(b,1,a)},io=Mg(JM);var KM=function(a){this.A=u(a)};U(KM,v);var LM=function(a,b){return SF(a,1,b)},MM=function(a,b){return Vr(a,2,b)};var NM=function(a){this.A=u(a)};U(NM,v);NM.prototype.setApiKey=function(a){return D(this,3,a)};var OM=[1,2];var dna=[0,OM,NG,-1,LG,-1];var ena=function(a){this.A=u(a)};U(ena,v);var fna=[0,LG,-2,3,TG];var gna=function(a){this.A=u(a)};U(gna,v);var hna=Kg([0,fna,dna,KG,LG]);var NB=function(a){this.A=u(a)};U(NB,v);NB.prototype.Dh=function(){return zn(this,1,1)};var ina=function(a){return hs(a,2,jc(18E5))},Bda=function(a){return hs(a,68,jc(72E5))},PM=function(a){return Hl(a,9,2)},jna=function(a){return Hl(a,18,1)},zC=function(a){return cs(a,31,B())},QM=function(a){return x(a,37)},Sda=function(a){return C(a,50)};var Xr=function(a){this.A=u(a)};U(Xr,v);var kna=function(a){return cs(a,3,B())};Xr.prototype.Gb=function(a){return H(this,5,a)};var kt=function(a){this.A=u(a)};U(kt,v);kt.prototype.I=function(){return O(this,R,1)};var RM=function(a,b){return H(a,3,b)},xn=Mg(kt);var lt=function(a){this.A=u(a)};U(lt,v);lt.prototype.I=function(){return O(this,R,1)};var SM=function(a,b){return H(a,3,b)},yn=Mg(lt);var TM=function(a){this.A=u(a)};U(TM,v);TM.prototype.wc=function(a){var b=ve(this,3,Ac,3,!0);Mb(b,a);return b[a]};TM.prototype.Wd=function(){return ve(this,3,Ac,3,!0).length};var Hz=function(a){this.A=u(a)};U(Hz,v);var UM=function(a){this.A=u(a)};U(UM,v);UM.prototype.Wd=function(){return DF(this,Hz,3)};var VM=function(a){this.A=u(a)};U(VM,v);VM.prototype.wc=function(a){return OF(this,3,a)};VM.prototype.Wd=function(){return MC(this,3)};var WM=function(a){this.A=u(a)};U(WM,v);WM.prototype.wc=function(a){return OF(this,3,a)};WM.prototype.Wd=function(){return MC(this,3)};var XM=function(a){this.A=u(a)};U(XM,v);XM.prototype.wc=function(a){return NF(this,a)};XM.prototype.Wd=function(){return ve(this,3,Yc,3,!0,0).length};var YM=function(a){this.A=u(a)};U(YM,v);YM.prototype.wc=function(a){return NF(this,a)};YM.prototype.Wd=function(){return ve(this,3,Yc,3,!0,0).length};var ZM=function(a){this.A=u(a)};U(ZM,v);ZM.prototype.wc=function(a){return OF(this,3,a)};ZM.prototype.Wd=function(){return MC(this,3)};var $M=function(a){this.A=u(a)};U($M,v);$M.prototype.wc=function(a){return OF(this,3,a)};$M.prototype.Wd=function(){return MC(this,3)};var aN=function(a){this.A=u(a)};U(aN,v);aN.prototype.wc=function(a){return OF(this,3,a)};aN.prototype.Wd=function(){return MC(this,3)};var bN=function(a){this.A=u(a)};U(bN,v);bN.prototype.wc=function(a){return OF(this,3,a)};bN.prototype.Wd=function(){return MC(this,3)};var cN=function(a){this.A=u(a)};U(cN,v);cN.prototype.Ya=function(){return Um(this,15)};var dN=[3,4,5,6,7,8,9,10,11,12,14];var lna=function(a){this.A=u(a)};U(lna,v);var Fu=function(a){this.A=u(a)};U(Fu,v);var Eu=function(a){this.A=u(a)};U(Eu,v);Eu.prototype.getValue=function(){return Tn(this,1)};Eu.prototype.setValue=function(a){return H(this,1,a)};Eu.prototype.Ia=function(){return Jt(this,1)};Eu.prototype.Ya=function(){return Q(this,3)};var vv=function(a){this.A=u(a)};U(vv,v);vv.prototype.getValue=function(){return L(this,1)};vv.prototype.setValue=function(a){return D(this,1,a)};vv.prototype.Ia=function(){return C(this,1)};var Gu=function(a){this.A=u(a)};U(Gu,v);Gu.prototype.getValue=function(){return L(this,1)};Gu.prototype.setValue=function(a){return D(this,1,a)};Gu.prototype.Ia=function(){return C(this,1)};var Ku=function(a){this.A=u(a)};U(Ku,v);var Ou=function(a){this.A=u(a)};U(Ou,v);Ou.prototype.getValue=function(){return L(this,1)};Ou.prototype.setValue=function(a){return D(this,1,a)};Ou.prototype.Ia=function(){return C(this,1)};var zu=function(a){this.A=u(a)};U(zu,v);zu.prototype.getValue=function(){return L(this,1)};zu.prototype.setValue=function(a){return D(this,1,a)};zu.prototype.Ia=function(){return C(this,1)};zu.prototype.Ya=function(){return Q(this,2)};var mC=function(a){this.A=u(a)};U(mC,v);k=mC.prototype;k.getId=function(){return L(this,1)};k.K=function(){return C(this,1)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};k.md=function(){return L(this,5)};k.Rb=function(a){return D(this,5,a)};var vC=function(a){this.A=u(a)};U(vC,v);var lC=function(a){this.A=u(a)};U(lC,v);var kE=function(a){this.A=u(a)};U(kE,v);kE.prototype.getValue=function(){return L(this,1)};kE.prototype.setValue=function(a){return D(this,1,a)};kE.prototype.Ia=function(){return C(this,1)};kE.prototype.Ya=function(){return Q(this,2)};var jE=function(a){return I(a,2,!0)};var yv=function(a){this.A=u(a)};U(yv,v);yv.prototype.getValue=function(){return L(this,1)};yv.prototype.setValue=function(a){return D(this,1,a)};yv.prototype.Ia=function(){return C(this,1)};yv.prototype.Ya=function(){return Q(this,2)};var Iu=function(a){this.A=u(a)};U(Iu,v);Iu.prototype.Ya=function(){return Q(this,7)};var eN=[1,2,3,4];var So=function(a){this.A=u(a)};U(So,v);So.prototype.getType=function(){return Hl(this,1,4)};var Du=function(a){this.A=u(a)};U(Du,v);Du.prototype.getValue=function(){return L(this,1)};Du.prototype.setValue=function(a){return D(this,1,a)};Du.prototype.Ia=function(){return C(this,1)};Du.prototype.Ya=function(){return Q(this,2)};var kv=function(a){this.A=u(a)};U(kv,v);kv.prototype.getValue=function(){return L(this,1)};kv.prototype.setValue=function(a){return D(this,1,a)};kv.prototype.Ia=function(){return C(this,1)};var ev=function(a){this.A=u(a)};U(ev,v);var fN=function(a){this.A=u(a)};U(fN,v);fN.prototype.getValue=function(){return L(this,2)};fN.prototype.setValue=function(a){return D(this,2,a)};fN.prototype.Ia=function(){return C(this,2)};fN.prototype.Ya=function(){return Q(this,3)};var Cu=function(a){this.A=u(a)};U(Cu,v);Cu.prototype.getValue=function(){return L(this,1)};Cu.prototype.setValue=function(a){return D(this,1,a)};Cu.prototype.Ia=function(){return C(this,1)};Cu.prototype.Ya=function(){return Q(this,2)};var qv=function(a){this.A=u(a)};U(qv,v);qv.prototype.getId=function(){return L(this,1)};var gN=function(a,b){return D(a,1,b)};qv.prototype.K=function(){return C(this,1)};var hN=function(a,b){return D(a,2,b)};var fv=function(a){this.A=u(a)};U(fv,v);var Uo=function(a){this.A=u(a)};U(Uo,v);Uo.prototype.Ca=function(a){return cs(this,1,B(a))};var mna=function(a,b){return Ie(a,1,Dc,b,Ec)};Uo.prototype.nf=function(){return cs(this,89,B())};var Hu=function(a){return O(a,So,2)},Vo=function(a,b){return K(a,2,b)};Uo.prototype.getId=function(){return L(this,3)};Uo.prototype.K=function(){return C(this,3)};var xu=function(a){return z(a,fN,4,B())};Uo.prototype.setTitle=function(a,b){return EF(this,4,fN,a,b)};
var Bu=function(a){return z(a,kE,6,B())},pE=function(a,b){return yu(a,6,b)},iE=function(a,b){return fk(a,6,kE,b)},To=function(a,b){return I(a,9,b)},dv=function(a){return z(a,yv,12,B())},xv=function(a,b){return yu(a,12,b)};Uo.prototype.pg=function(a){fk(this,12,yv,a)};Uo.prototype.oc=function(a){return I(this,19,a)};var Mu=function(a){return z(a,RL,26,B())},ZD=function(a,b){return yu(a,26,b)};Uo.prototype.I=function(){return O(this,R,30)};
var Wo=function(a,b){return K(a,30,b)},uv=function(a){return N(a,30)};Uo.prototype.La=function(){return zn(this,32,50)};Uo.prototype.lb=function(a){return J(this,32,a)};var Nu=function(a){return F(a,33,B())},Yo=function(a,b){return Ju(a,33,b)},Lu=function(a){return z(a,vv,35,B())},nna=function(a){var b=new Uo;return H(b,42,a)},nv=function(a){return Hl(a,45,1)},Xo=function(a,b){return H(a,45,b)},Dn=function(a){return Q(a,47)},$D=function(a){return I(a,48,!0)},Cn=Mg(Uo);var gt=function(a){this.A=u(a)};U(gt,v);var it=[3,4,5,6];var ona=[0,LG,GG];var iN=[0,TG,GG];var pna=[0,BM,KG,function(){return pna}];var jN=[0,LG,KG];var qna=[0,LG,-1];var rna=[0,UG,[0,TG,-1,KG,BM],LG,PG,[0,TG,LG,KG],PG,[0,LG,KG],PG,[0,LG,KG,TG,KG],PG,iN,-1,KG,-2,PG,[0,LG,KG,GG],PG,jN,-2,KG,-3,4,PG,iN,PG,[0,LG],PG,Pma,3,hka,1,IG,OG,KG,PG,ona,KG,PG,[0,LG],PG,ona,OG,-1,TG,-1,LG,PG,[0,TG,KG,-1],TG,KG,-2,1,KG,GG,1,HG,LG,GG,PG,pna,PG,[0,LG],jN,[0,PG,[0,LG,PG,[0,dN,LG,QK,RG,[0,1,TG,dja],RG,[0,1,TG,OG],RG,[0,1,TG,OG],RG,[0,1,TG,OG],RG,[0,1,TG,OG],RG,[0,1,TG,FG],RG,[0,1,TG,FG],RG,[0],RG,[0,1,TG,OG],RG,[0,1,TG,OG],1,RG,[0,1,TG,PG,[0,IG,-2]],KG]]],2,GG,PG,[0,LG,-1],qna,KG,
-1,PG,jN,-1,KG,-4,1,[0,[0,LG],PG,[0,LG,-4],-1,TG],2,PG,[0,LG,KG],PG,iN,3,TG,1,KG,[0,KG,-2],KG,-1,VG,KG,VG,8,PG,[0,eN,NG,-1,eja,-1,1,TG,KG]];var ft=function(a){this.A=u(a)};U(ft,v);var ND=function(a){this.A=u(a)};U(ND,v);var sna=function(a){this.A=u(a)};U(sna,v);var es=function(a){this.A=u(a)};U(es,v);var SD=function(a){this.A=u(a)};U(SD,v);var DB=function(a){this.A=u(a)};U(DB,v);var qD=function(a){return Q(a,27)},CB=function(a){return Hl(a,43)},rD=function(a){return Q(a,64)},tna=function(a){return E(a,93)};var kN=function(a){this.A=u(a)};U(kN,v);var KD=function(a){this.A=u(a)};U(KD,v);var una=function(a){this.A=u(a)};U(una,v);var lN=function(a){return L(a,2)};var Ht=function(a){this.A=u(a)};U(Ht,v);var vna=function(a){return zn(a,1,500)},wna=function(a){return hs(a,7,jc(432E6))},Mt=function(a){return Q(a,9)},Pt=function(a){return zn(a,10)},tt=function(a){return z(a,una,11,B())},xna=function(a){return zn(a,13,5)},St=function(a){return Q(a,14)},yna=function(a){return zn(a,18,1E4)};var mN=function(a){this.A=u(a)};U(mN,v);var eq=function(a){return zn(a,1)},cq=function(a){return x(a,2)},ju=function(a){return x(a,4,"en")},Nha=function(a){return S(a,4)},Nt=function(a){return Q(a,5)},aw=function(a){return S(a,7)};var nN=function(a){this.A=u(a)};U(nN,v);var JD=function(a){return O(a,DB,4)};nN.prototype.B=function(a){K(this,12,a)};var Gs=function(a){return zB(a,NB,33)},ut=function(a){return zB(a,Ht,34)},LD=function(a){return O(a,mN,36)},ku=function(a){return ww(a,mN,36)},dq=function(a){return zB(a,mN,36)},Yr=function(a){return Hl(a,39)},et=function(a){return Q(a,40)};nN.prototype.vf=function(a,b){return fk(this,44,Uo,a,b)};
var jv=function(a){return Q(a,84)},Xl=function(a){return O(a,xw,103)},WC=function(a){return zB(a,xw,103)};nN.prototype.Af=function(){return rk(this,104,void 0,CF,Be)};nN.prototype.Bd=function(){return PF(this,106)};var zna=Pg(nN);var oN=function(a){this.A=u(a)};U(oN,v);oN.prototype.jb=function(){return Tn(this,1)};var pN=function(a,b){return H(a,1,b)};var Ana=Lg(Tma);var qN=function(a){this.A=u(a)};U(qN,v);qN.prototype.Ea=function(){return L(this,1)};qN.prototype.I=function(){return O(this,R,4)};var zo=Mg(qN);var rN=function(a){this.A=u(a)};U(rN,v);rN.prototype.Ea=function(){return L(this,1)};rN.prototype.S=function(){return Tn(this,6)};rN.prototype.setStatus=function(a){return H(this,6,a)};rN.prototype.na=function(){return Jt(this,6)};var Bna={PC:0,Xy:1,Lz:2,Ez:3,oy:4,eu:5,Yy:6,Fz:7,Cx:8,mu:9,Cz:10};var Cna=Ig(R);var sN=function(a){this.A=u(a)};U(sN,v);sN.prototype.getId=function(){return L(this,1)};sN.prototype.K=function(){return C(this,1)};sN.prototype.Gh=function(){return S(this,3)};sN.prototype.getPath=function(){return L(this,4)};var tN=function(a){this.A=u(a)};U(tN,v);k=tN.prototype;k.getValue=function(){return L(this,2)};k.setValue=function(a){return D(this,2,a)};k.Ia=function(){return C(this,2)};k.setDescription=function(a){return D(this,3,a)};k.Ic=function(){return S(this,3)};k.getType=function(){return Tn(this,4)};var uN=function(a){this.A=u(a)};U(uN,v);var vN=function(a){this.A=u(a)};U(vN,v);var wN=function(a){this.A=u(a)};U(wN,v);k=wN.prototype;k.Oc=function(){return C(this,1)};k.yk=function(){return L(this,2)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};k.Pc=function(a){return F(this,3,B(a))};k.pg=function(a){He(this,3,cd,a,void 0,ed)};k.I=function(){return O(this,R,7)};k.gg=function(){return zB(this,R,7)};k.qf=function(){return Um(this,8)};k.xk=function(){return L(this,9)};k.rk=function(a){D(this,9,a)};
k.rf=function(){return C(this,9)};k.Wc=function(){return O(this,vN,15)};k.Ea=function(){return L(this,23)};var en=Mg(wN);var xN=function(a){this.A=u(a)};U(xN,v);xN.prototype.setTitle=function(a){return D(this,1,a)};xN.prototype.gb=function(){return S(this,1)};xN.prototype.Ma=function(){return C(this,1)};xN.prototype.I=function(){return O(this,R,2)};var Dna=Mg(xN);var yN=function(a){this.A=u(a)};U(yN,v);yN.prototype.getId=function(){return L(this,1)};yN.prototype.K=function(){return C(this,1)};yN.prototype.I=function(){return O(this,R,3)};var hn=Mg(yN);var zN=function(a){this.A=u(a)};U(zN,v);zN.prototype.getId=function(){return L(this,1)};zN.prototype.K=function(){return C(this,1)};zN.prototype.I=function(){return O(this,R,2)};var ln=Mg(zN);var AN=function(a){this.A=u(a)};U(AN,v);AN.prototype.getId=function(){return L(this,1)};var BN=function(a,b){return D(a,1,b)};k=AN.prototype;k.K=function(){return C(this,1)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};k.setDescription=function(a){return D(this,3,a)};k.Ic=function(){return S(this,3)};k.pg=function(a){He(this,8,cd,a,void 0,ed)};
var TC=function(a,b){return F(a,9,B(b))},Ena=function(a,b){return Ju(a,9,b)},UC=function(a,b){return F(a,10,B(b))},Fna=function(a,b){return Ju(a,10,b)},CN=function(a,b){return I(a,16,b)};AN.prototype.I=function(){return O(this,R,17)};var Gna=function(a,b){return K(a,17,b)};AN.prototype.Ff=function(){return YF(this,20)};var Hna=function(a,b){return I(a,36,b)},Ina=function(a,b){return yu(a,38,b)},no=Mg(AN);var DN=function(a){this.A=u(a)};U(DN,v);DN.prototype.getId=function(){return L(this,1)};DN.prototype.K=function(){return C(this,1)};var EN=function(a){this.A=u(a)};U(EN,v);k=EN.prototype;k.getId=function(){return L(this,1)};k.K=function(){return C(this,1)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};k.I=function(){return O(this,R,4)};var po=Mg(EN);var Zo=function(a){this.A=u(a)};U(Zo,v);var FN=function(a){this.A=u(a)};U(FN,v);FN.prototype.xc=function(){return S(this,2)};FN.prototype.Bb=function(){return C(this,2)};FN.prototype.V=function(){return O(this,Uo,3)};var $o=function(a){var b=new FN;return K(b,3,a)},On=Mg(FN);var GN=function(a){this.A=u(a)};U(GN,v);GN.prototype.Ca=function(a){return cs(this,1,B(a))};GN.prototype.I=function(){return O(this,R,2)};GN.prototype.La=function(){return zn(this,3,20)};GN.prototype.lb=function(a){return J(this,3,a)};var HN=Mg(GN);var IN=function(a){this.A=u(a)};U(IN,v);var Jna=function(a,b){return D(a,2,b)};IN.prototype.xc=function(){return S(this,2)};IN.prototype.Bb=function(){return C(this,2)};IN.prototype.V=function(){return O(this,GN,3)};var Kna=function(a,b){return K(a,3,b)},Ho=Mg(IN);var JN=function(a){this.A=u(a)};U(JN,v);var KN=[3,4,5,6,7,8,9,10];var LN=function(a){this.A=u(a)};U(LN,v);LN.prototype.getId=function(){return L(this,1)};LN.prototype.K=function(){return C(this,1)};var Lna={tu:0,pu:1,Ay:2,rC:3,tC:4,wz:5};var MN=function(a){this.A=u(a)};U(MN,v);var NN=function(a){return zB(a,Uo,1)},ON=function(a,b){return K(a,1,b)};MN.prototype.N=function(){return ds(this,Uo,1)};MN.prototype.xc=function(){return S(this,4)};MN.prototype.Bb=function(){return C(this,4)};var Mna=function(a,b){return K(a,5,b)};var au=function(a){this.A=u(a)};U(au,v);var PN=function(a){this.A=u(a)};U(PN,v);PN.prototype.Sa=function(a){return z(this,Pk,1,B(a))};var QN=function(a,b){return yu(a,1,b)},Nna=function(a,b){return Vr(a,3,b)};PN.prototype.md=function(){return L(this,4)};PN.prototype.Rb=function(a){return D(this,4,a)};var RN=function(a,b){return yu(a,5,b)};PN.prototype.qc=function(a){return I(this,6,a)};var Ona=function(a,b){return Fe(a,12,b,Dc)};PN.prototype.Nb=function(){return Hl(this,13)};PN.prototype.Lc=function(a){return H(this,13,a)};
var Pna=function(a,b){return Fe(a,16,b,Dc)},Qna=Pg(PN),SN=Mg(PN);var Rna=function(a){this.A=u(a)};U(Rna,v);var Sna=function(a){this.A=u(a)};U(Sna,v);var Tna=function(a){this.A=u(a)};U(Tna,v);var Una=function(a){this.A=u(a)};U(Una,v);var Vz=function(a){this.A=u(a)};U(Vz,v);Vz.prototype.getValue=function(){return LF(this,1)};Vz.prototype.setValue=function(a){return Uz(this,1,a)};var Tz=function(a){this.A=u(a)};U(Tz,v);var Rz=function(a){this.A=u(a)};U(Rz,v);var Vna=function(a){this.A=u(a)};U(Vna,v);var TN=function(a){this.A=u(a)};U(TN,v);k=TN.prototype;k.hasLabel=function(){return S(this,1)};k.getValue=function(){return L(this,2)};k.setValue=function(a){return D(this,2,a)};k.Ia=function(){return C(this,2)};k.setDescription=function(a){return D(this,5,a)};k.Ic=function(){return S(this,5)};var Wna=function(a){this.A=u(a)};U(Wna,v);var Xna=function(a,b){yu(a,1,b)};var Yna=function(a){this.A=u(a)};U(Yna,v);var Zna=function(a){this.A=u(a)};U(Zna,v);var UN=function(a){this.A=u(a)};U(UN,v);var $na=function(a){this.A=u(a)};U($na,v);var aoa=function(a){this.A=u(a)};U(aoa,v);var VN=function(a){this.A=u(a)};U(VN,v);VN.prototype.getId=function(){return L(this,1)};VN.prototype.K=function(){return C(this,1)};var WN=[8,9,10,11,12,13,14,15,17,18,19];var boa=[0,TG,KG,LG,OG,LG,-1,OG,EG,FG];var coa=[0,QK,boa];var XN=function(a){this.A=u(a)};U(XN,v);XN.prototype.setBooleanValue=function(a){return I(this,5,a)};XN.prototype.setTextValue=function(a){return D(this,6,a)};var doa=function(a,b){Ju(a,7,b)};XN.prototype.addTextValues=function(a,b){return He(this,7,cd,a,b,ed)};XN.prototype.setTextValues=function(a,b){return He(this,7,cd,b,a,ed,void 0,1)};XN.prototype.setLongTextValue=function(a){return D(this,8,a)};XN.prototype.setSelectionValue=function(a){return D(this,9,a)};
var YN=function(a,b){return Ju(a,10,b)};XN.prototype.addSelectionValues=function(a,b){return He(this,10,cd,a,b,ed)};XN.prototype.setSelectionValues=function(a,b){return He(this,10,cd,b,a,ed,void 0,1)};XN.prototype.setIntegerValue=function(a){return SF(this,11,a)};var eoa=function(a,b){Fe(a,12,b,Oc)};XN.prototype.addIntegerValues=function(a,b){return He(this,12,Oc,a,b,Yc)};XN.prototype.setIntegerValues=function(a,b){return He(this,12,Oc,b,a,Yc,void 0,1)};
XN.prototype.setUserValue=function(a){return K(this,15,a)};var ZN=function(a,b){yu(a,16,b)};XN.prototype.addUserValues=function(a,b){return fk(this,16,rq,a,b)};XN.prototype.setUserValues=function(a,b){return EF(this,16,rq,a,b)};XN.prototype.setDateStringValue=function(a){return D(this,17,a)};XN.prototype.getId=function(){return L(this,14)};var foa=function(a,b){return D(a,14,b)};XN.prototype.K=function(){return C(this,14)};XN.prototype.getName=function(){return L(this,1)};var goa=[0,LG,boa,PG,coa,TG,KG,LG,OG,LG,-1,OG,EG,FG,1,LG,QK,PG,QK,LG];var $N=function(a){this.A=u(a)};U($N,v);$N.prototype.getName=function(){return L(this,1)};var hoa=function(a,b){return D(a,1,b)},ioa=function(a,b){yu(a,2,b)};$N.prototype.Ea=function(){return L(this,3)};var aO=function(a,b){return D(a,3,b)};var joa=Lg([0,LG,PG,goa,LG]);var mn=function(a){this.A=u(a)};U(mn,v);mn.prototype.Ea=function(){return L(this,1)};var koa=function(a,b){return D(a,1,b)};mn.prototype.La=function(){return Sw(this,2)};mn.prototype.lb=function(a){return J(this,2,a)};mn.prototype.I=function(){return O(this,R,3)};var bO=Mg(mn);var cO=function(a){this.A=u(a)};U(cO,v);cO.prototype.S=function(){return Tn(this,1)};cO.prototype.setStatus=function(a){return H(this,1,a)};cO.prototype.na=function(){return Jt(this,1)};var dO=function(a,b){return yu(a,2,b)};var eO=function(a){this.A=u(a)};U(eO,v);eO.prototype.I=function(){return O(this,R,4)};var dn=Mg(eO);var fO=function(a){this.A=u(a)};U(fO,v);fO.prototype.S=function(){return Tn(this,1)};fO.prototype.setStatus=function(a){return H(this,1,a)};fO.prototype.na=function(){return Jt(this,1)};var loa=function(a,b){return K(a,2,b)};var gO=function(a){this.A=u(a)};U(gO,v);gO.prototype.La=function(){return Sw(this,3)};gO.prototype.I=function(){return O(this,R,5)};var moa=function(a){this.A=u(a)};U(moa,v);var hO=function(a){this.A=u(a)};U(hO,v);hO.prototype.getName=function(){return L(this,1)};var noa=function(a,b){return D(a,1,b)},ooa=function(a,b){return D(a,2,b)},poa=function(a,b){return D(a,14,b)};k=hO.prototype;k.setTitle=function(a){return D(this,3,a)};k.gb=function(){return S(this,3)};k.Ma=function(){return C(this,3)};k.setDescription=function(a){return D(this,4,a)};k.Ic=function(){return S(this,4)};
var qoa=function(a,b){return yu(a,5,b)},roa=function(a,b){K(a,6,b)},soa=function(a,b){K(a,7,b)},toa=function(a,b){K(a,8,b)},uoa=function(a,b){return Vr(a,9,b)},voa=function(a,b){return Vr(a,10,b)},woa=function(a,b){return Vr(a,11,b)},xoa=function(a,b){K(a,12,b)},yoa=function(a,b){K(a,13,b)},zoa=function(a,b){return D(a,16,b)};var iO=function(a){this.A=u(a)};U(iO,v);iO.prototype.S=function(){return Tn(this,1)};iO.prototype.setStatus=function(a){return H(this,1,a)};iO.prototype.na=function(){return Jt(this,1)};var Aoa=function(a,b){yu(a,2,b)};var jO=function(a){this.A=u(a)};U(jO,v);jO.prototype.getName=function(){return L(this,1)};jO.prototype.I=function(){return O(this,R,2)};var ao=Mg(jO);var kO=function(a){this.A=u(a)};U(kO,v);kO.prototype.S=function(){return Tn(this,1)};kO.prototype.setStatus=function(a){return H(this,1,a)};kO.prototype.na=function(){return Jt(this,1)};var wp=function(a){this.A=u(a)};U(wp,v);wp.prototype.getType=function(){return Tn(this,1)};var zp=function(a,b){return H(a,1,b)};wp.prototype.C=function(){return It(this,1)};wp.prototype.G=function(){return Jt(this,1)};var Ap=function(a,b){return H(a,2,b)};wp.prototype.B=function(){return It(this,2)};wp.prototype.j=function(){return Jt(this,2)};var du=function(a,b){return D(a,3,b)};wp.prototype.T=function(){return S(this,3)};wp.prototype.ba=function(){return C(this,3)};
var Ew=function(a,b){return D(a,4,b)};wp.prototype.L=function(){return It(this,5)};wp.prototype.N=function(){return Jt(this,5)};var lO=function(a){return I(a,6,!0)};k=wp.prototype;k.Jr=function(){return P(this,6)};k.Er=function(){return E(this,6)};k.tj=function(){return L(this,7)};k.df=function(a){return D(this,7,a)};k.vq=function(){return S(this,7)};k.pq=function(){return C(this,7)};var mO=function(a){return I(a,8,!0)};k=wp.prototype;k.tq=function(){return P(this,8)};
k.oq=function(){return E(this,8)};k.Ii=function(a){J(this,9,a)};k.uq=function(){return XF(this,9)};k.jd=function(){return $t(this,9)};var nO=function(a,b){return H(a,10,b)};k=wp.prototype;k.wj=function(){return It(this,10)};k.Le=function(){return Jt(this,10)};k.Vm=function(a){H(this,11,a)};k.wq=function(){return It(this,11)};k.qq=function(){return Jt(this,11)};k.Kr=function(){return S(this,12)};k.Fr=function(){return C(this,12)};var Bp=function(a,b){return H(a,14,b)};
wp.prototype.D=function(){return It(this,14)};wp.prototype.g=function(){return Jt(this,14)};var oO=function(a,b){J(a,15,b)};k=wp.prototype;k.sq=function(){return XF(this,15)};k.fe=function(){return $t(this,15)};k.oj=function(){return L(this,16)};k.bf=function(a){return D(this,16,a)};k.rq=function(){return S(this,16)};k.nq=function(){return C(this,16)};k.Ir=function(){return P(this,17)};k.Dr=function(){return E(this,17)};k.Lr=function(){return S(this,19)};k.eo=function(){return C(this,19)};
var Zw=function(a,b){return D(a,21,b)},Boa=function(a){I(a,28,!0)},pO=Pg(wp),Cp=Mg(wp);var qO=function(a){this.A=u(a)};U(qO,v);k=qO.prototype;k.Ea=function(){return L(this,1)};k.S=function(){return Tn(this,2)};k.setStatus=function(a){return H(this,2,a)};k.na=function(){return Jt(this,2)};k.getError=function(){return O(this,wp,3)};k.Ef=function(){return ds(this,wp,3)};var FC=function(a){this.A=u(a)};U(FC,v);FC.prototype.getId=function(){return L(this,1)};FC.prototype.K=function(){return C(this,1)};var rO=function(a){this.A=u(a)};U(rO,v);var sO=function(a){this.A=u(a)};U(sO,v);sO.prototype.Ea=function(a){return OF(this,1,a)};sO.prototype.I=function(){return O(this,R,3)};var Coa=Mg(sO);var fy=function(a){this.A=u(a)};U(fy,v);fy.prototype.getItem=function(){return O(this,Pk,1)};fy.prototype.Zb=function(){return ds(this,Pk,1)};fy.prototype.getError=function(){return O(this,wp,2)};fy.prototype.Ef=function(){return ds(this,wp,2)};var tO=function(a){this.A=u(a)};U(tO,v);tO.prototype.Yj=function(a){return WF(this,1,a)};var vn=Mg(tO);var uO=function(a){this.A=u(a)};U(uO,v);var vO=function(a){this.A=u(a)};U(vO,v);var Doa=function(a,b){Vr(a,2,b)};var wO=function(a){this.A=u(a)};U(wO,v);var Eoa=function(a){this.A=u(a)};U(Eoa,v);var Foa=function(a){this.A=u(a)};U(Foa,v);var xO=function(a){this.A=u(a)};U(xO,v);var Goa=function(a){var b=yO;le(a);a=a.A;Ne(a,a[sb]|0,b,0)};xO.prototype.getItem=function(){return O(this,Pk,1)};xO.prototype.Zb=function(){return ds(this,Pk,1)};var yO=[2,3,4,5];var Ur=function(a){this.A=u(a)};U(Ur,v);k=Ur.prototype;k.S=function(){return Hl(this,1,1)};k.setStatus=function(a){return H(this,1,a)};k.na=function(){return Jt(this,1)};k.Zn=function(){return Q(this,4)};k.Ud=function(){return z(this,xO,5,B())};k.ck=function(a){yu(this,5,a)};k.An=function(){N(this,5)};k.mj=function(){return DF(this,xO,5)};var zO=function(a){this.A=u(a)};U(zO,v);zO.prototype.V=function(){return O(this,kt,1)};var Hoa=function(a,b){return K(a,1,b)};zO.prototype.ab=function(){return O(this,Ur,2)};var Ioa=function(a,b){return K(a,2,b)};zO.prototype.Sa=function(a){return z(this,Pk,3,B(a))};var Joa=function(a,b){return yu(a,3,b)},Koa=Mg(zO);var AO=function(a){this.A=u(a)};U(AO,v);var Loa=function(a){this.A=u(a)};U(Loa,v);var Moa=function(a){this.A=u(a)};U(Moa,v);var Noa=function(a){this.A=u(a)};U(Noa,v);var Qz=function(a){this.A=u(a)};U(Qz,v);var Oz=function(a){this.A=u(a)};U(Oz,v);var Nz=function(a){this.A=u(a)};U(Nz,v);var Mz=function(a){this.A=u(a)};U(Mz,v);Mz.prototype.setDescription=function(a){return D(this,2,a)};Mz.prototype.Ic=function(){return S(this,2)};var Lz=function(a){this.A=u(a)};U(Lz,v);Lz.prototype.getId=function(){return x(this,1)};Lz.prototype.K=function(){return C(this,1)};var Jz=function(a){this.A=u(a)};U(Jz,v);var fga=function(a,b){K(a,1,b)},gga=function(a,b){return yu(a,2,b)};var Ooa=function(a){this.A=u(a)};U(Ooa,v);var Poa=function(a){this.A=u(a)};U(Poa,v);var BO=function(a){this.A=u(a)};U(BO,v);BO.prototype.getId=function(){return x(this,1)};BO.prototype.K=function(){return C(this,1)};var CO=[2,3,4,5,6,7];var DO=function(a){this.A=u(a)};U(DO,v);DO.prototype.getId=function(){return x(this,1)};var Qoa=function(a){var b=new DO;return D(b,1,a)};DO.prototype.K=function(){return C(this,1)};var Roa=function(a,b){return D(a,2,b)},Soa=function(a,b){yu(a,3,b)},Toa=function(a,b){return D(a,4,b)};k=DO.prototype;k.setTitle=function(a){return D(this,6,a)};k.gb=function(){return S(this,6)};k.Ma=function(){return C(this,6)};k.setDescription=function(a){return D(this,9,a)};k.Ic=function(){return S(this,9)};
var Uoa=[7,8];var Qv=function(a){this.A=u(a)};U(Qv,v);var Ov=function(a){this.A=u(a)};U(Ov,v);var Iv=function(a){this.A=u(a)};U(Iv,v);var Dv=function(a){this.A=u(a)};U(Dv,v);var Cv=function(a){this.A=u(a)};U(Cv,v);var Ev=[1,2,3];var EO=function(a){this.A=u(a)};U(EO,v);EO.prototype.getItem=function(){return O(this,Pk,1)};EO.prototype.Zb=function(){return ds(this,Pk,1)};EO.prototype.lj=function(){return z(this,Dy,2,B())};var FO=function(a){this.A=u(a)};U(FO,v);FO.prototype.S=function(){return Hl(this,1,1)};FO.prototype.setStatus=function(a){return H(this,1,a)};FO.prototype.na=function(){return Jt(this,1)};var nda=function(a){var b=(new FO).setStatus(6);return Vr(b,3,a)};FO.prototype.qe=function(){return z(this,EO,9,B())};FO.prototype.ki=function(a){return yu(this,9,a)};FO.prototype.re=function(){return z(this,EO,10,B())};FO.prototype.li=function(a){return yu(this,10,a)};var GO=function(a){this.A=u(a)};U(GO,v);GO.prototype.V=function(){return O(this,lt,1)};var Voa=function(a,b){return K(a,1,b)};GO.prototype.ab=function(){return O(this,FO,2)};var Woa=function(a,b){return K(a,2,b)};GO.prototype.Sa=function(a){return z(this,Pk,3,B(a))};var Xoa=function(a,b){return yu(a,3,b)},Yoa=Mg(GO);var HO=function(a){this.A=u(a)};U(HO,v);HO.prototype.V=function(){return O(this,LN,1)};var Yn=Mg(HO);var IO=function(a){this.A=u(a)};U(IO,v);IO.prototype.Ea=function(){return x(this,1)};var EC=function(a){return z(a,rO,2,B())};IO.prototype.I=function(){return O(this,R,3)};var mo=Mg(IO);var JO=function(a){this.A=u(a)};U(JO,v);JO.prototype.I=function(){return O(this,R,1)};var Zoa=function(a){return L(a,4)},KO=function(a){return C(a,4)},rn=Mg(JO);var LO=function(a){this.A=u(a)};U(LO,v);LO.prototype.V=function(){return O(this,JO,1)};var $oa=function(a,b){return K(a,1,b)},apa=function(a,b){return Vr(a,2,b)},sn=Mg(LO);var Nx=function(a){this.A=u(a)};U(Nx,v);Nx.prototype.S=function(){return Hl(this,1,3)};Nx.prototype.setStatus=function(a){return H(this,1,a)};Nx.prototype.na=function(){return Jt(this,1)};var Lx=function(a,b){return D(a,4,b)};Nx.prototype.setLocation=function(a){return D(this,7,a)};var Mx=function(a,b){return J(a,8,b)};var bpa=function(a){this.A=u(a)};U(bpa,v);var MO=function(a){this.A=u(a)};U(MO,v);MO.prototype.S=function(){return Tn(this,2)};MO.prototype.setStatus=function(a){return H(this,2,a)};MO.prototype.na=function(){return Jt(this,2)};var cpa=function(a){this.A=u(a)};U(cpa,v);var dpa=function(a){this.A=u(a)};U(dpa,v);var NO=function(a){this.A=u(a)};U(NO,v);var ty=function(a){this.A=u(a)};U(ty,v);ty.prototype.S=function(){return Tn(this,1)};ty.prototype.setStatus=function(a){return H(this,1,a)};ty.prototype.na=function(){return Jt(this,1)};ty.prototype.Sa=function(a){return z(this,Pk,2,B(a))};var sy=function(a,b){return yu(a,2,b)},uy=function(a,b){return I(a,5,b)},OO=function(a,b){return K(a,7,b)};ty.prototype.va=function(){return Tn(this,12)};ty.prototype.rb=function(a){return H(this,12,a)};ty.prototype.xc=function(){return S(this,15)};
ty.prototype.Bb=function(){return C(this,15)};var epa=Mg(ty);var wy=function(a){this.A=u(a)};U(wy,v);wy.prototype.ab=function(){return O(this,ty,1)};var vy=function(a,b){return K(a,1,b)},PO=function(a,b){return D(a,3,b)};wy.prototype.xc=function(){return S(this,3)};wy.prototype.Bb=function(){return C(this,3)};var Es=Mg(wy);var gC=function(a){this.A=u(a)};U(gC,v);gC.prototype.getType=function(){return Hl(this,1)};gC.prototype.Ea=function(){return x(this,2)};var fC=function(a){this.A=u(a)};U(fC,v);var QO=function(a){this.A=u(a)};U(QO,v);var fpa=Mg(QO);var RO=function(a){this.A=u(a)};U(RO,v);RO.prototype.S=function(){return Hl(this,1,1)};RO.prototype.setStatus=function(a){return H(this,1,a)};RO.prototype.na=function(){return Jt(this,1)};var SO=function(a){this.A=u(a)};U(SO,v);SO.prototype.g=function(){return Hl(this,2,2)};SO.prototype.I=function(){return O(this,R,3)};var Qn=Mg(SO);var TO=function(a){this.A=u(a)};U(TO,v);TO.prototype.g=function(){return Hl(this,2,2)};TO.prototype.I=function(){return O(this,R,3)};var Pn=Mg(TO);var UO=function(a){this.A=u(a)};U(UO,v);UO.prototype.S=function(){return Hl(this,2,1)};UO.prototype.setStatus=function(a){return H(this,2,a)};UO.prototype.na=function(){return Jt(this,2)};var gpa=function(a,b){return yu(a,5,b)},hpa=function(a,b){return D(a,6,b)};var VO=function(a){this.A=u(a)};U(VO,v);var ipa=function(a){var b=new VO;return K(b,1,a)};var WO=function(a){this.A=u(a)};U(WO,v);var jpa=function(a,b){return yu(a,1,b)},kpa=Mg(WO);var XO=function(a){this.A=u(a)};U(XO,v);XO.prototype.I=function(){return O(this,R,10)};var Rn=Mg(XO),Sia=[3,4];var YO=function(a){this.A=u(a)};U(YO,v);YO.prototype.Ea=function(){return L(this,1)};YO.prototype.I=function(){return O(this,R,2)};var Zm=Mg(YO);var ZO=function(a){this.A=u(a)};U(ZO,v);ZO.prototype.getId=function(){return L(this,1)};ZO.prototype.K=function(){return C(this,1)};ZO.prototype.I=function(){return O(this,R,5)};var an=Mg(ZO);var $O=function(a){this.A=u(a)};U($O,v);$O.prototype.getId=function(){return L(this,1)};$O.prototype.K=function(){return C(this,1)};$O.prototype.I=function(){return O(this,R,3)};var lpa=Mg($O);var aP=function(a){this.A=u(a)};U(aP,v);k=aP.prototype;k.getId=function(){return L(this,1)};k.K=function(){return C(this,1)};k.yk=function(){return L(this,2)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};k.Pc=function(a){return F(this,3,B(a))};k.pg=function(a){He(this,3,cd,a,void 0,ed)};k.qf=function(){return Q(this,4)};k.I=function(){return O(this,R,5)};k.gg=function(){return zB(this,R,5)};k.xk=function(){return L(this,12)};
k.rk=function(a){D(this,12,a)};k.rf=function(){return C(this,12)};k.Wc=function(){return O(this,vN,13)};k.Oc=function(){return C(this,14)};var cn=Mg(aP);var bP=function(a){this.A=u(a)};U(bP,v);bP.prototype.Ea=function(){return L(this,1)};bP.prototype.sf=function(){return C(this,1)};bP.prototype.I=function(){return O(this,R,3)};var kn=Mg(bP);var cP=function(a){this.A=u(a)};U(cP,v);cP.prototype.I=function(){return O(this,R,5)};var Xn=Mg(cP);var dP=function(a){this.A=u(a)};U(dP,v);dP.prototype.getId=function(){return L(this,1)};var eP=function(a){var b=new dP;return D(b,1,a)};dP.prototype.K=function(){return C(this,1)};var No=function(a){this.A=u(a)};U(No,v);No.prototype.S=function(){return Tn(this,1)};No.prototype.setStatus=function(a){return H(this,1,a)};No.prototype.na=function(){return Jt(this,1)};No.prototype.getItem=function(){return O(this,Pk,2)};var aB=function(a,b){return K(a,2,b)};No.prototype.Zb=function(){return ds(this,Pk,2)};No.prototype.Ea=function(){return L(this,5)};var Sx=function(a,b){return D(a,5,b)};k=No.prototype;k.tj=function(){return L(this,7)};k.df=function(a){return D(this,7,a)};
k.Ii=function(a){J(this,9,a)};k.Vm=function(a){H(this,10,a)};k.oj=function(){return L(this,16)};k.bf=function(a){return D(this,16,a)};var Fs=Mg(No);var fP=function(a){this.A=u(a)};U(fP,v);fP.prototype.Ea=function(){return L(this,1)};var bo=Mg(fP);var gP=function(a){this.A=u(a)};U(gP,v);gP.prototype.getId=function(){return L(this,1)};gP.prototype.K=function(){return C(this,1)};gP.prototype.I=function(){return O(this,R,3)};var eo=Mg(gP);var hP=function(a){this.A=u(a)};U(hP,v);hP.prototype.getId=function(){return L(this,1)};hP.prototype.K=function(){return C(this,1)};hP.prototype.I=function(){return O(this,R,4)};var fo=Mg(hP);var iP=function(a){this.A=u(a)};U(iP,v);iP.prototype.getId=function(){return L(this,1)};iP.prototype.K=function(){return C(this,1)};iP.prototype.I=function(){return O(this,R,2)};var jP=Mg(iP);var kP=function(a){this.A=u(a)};U(kP,v);kP.prototype.getId=function(){return L(this,1)};kP.prototype.K=function(){return C(this,1)};kP.prototype.I=function(){return O(this,R,3)};var ho=Mg(kP);var lP=function(a){this.A=u(a)};U(lP,v);lP.prototype.Ea=function(){return L(this,1)};lP.prototype.sf=function(){return C(this,1)};lP.prototype.I=function(){return O(this,R,4)};var oo=Mg(lP);var fB=function(a){this.A=u(a)};U(fB,v);fB.prototype.getValue=function(){return L(this,2)};fB.prototype.setValue=function(a){return D(this,2,a)};fB.prototype.Ia=function(){return C(this,2)};var mP=function(a){this.A=u(a)};U(mP,v);mP.prototype.Gh=function(){return S(this,1)};mP.prototype.getUrl=function(){return L(this,3)};var mpa=Mg(mP);var eB=function(a){this.A=u(a)};U(eB,v);var Nga=function(a,b){D(a,2,b)};eB.prototype.S=function(){return Tn(this,3)};eB.prototype.setStatus=function(a){return H(this,3,a)};eB.prototype.na=function(){return Jt(this,3)};var cC=function(a){this.A=u(a)};U(cC,v);cC.prototype.getId=function(){return L(this,1)};cC.prototype.K=function(){return C(this,1)};var nP=function(a){this.A=u(a)};U(nP,v);nP.prototype.Ya=function(){return Q(this,2)};var npa=Mg(nP);var oP=function(a){this.A=u(a)};U(oP,v);oP.prototype.S=function(){return Tn(this,1)};oP.prototype.setStatus=function(a){return H(this,1,a)};oP.prototype.na=function(){return Jt(this,1)};var opa={QC:0,Az:1,Dz:2,Bz:4,gy:5,Aw:6,ny:7,Kz:8};var pP=function(a){this.A=u(a)};U(pP,v);pP.prototype.xa=function(a){return F(this,1,B(a))};pP.prototype.getId=function(a){return OF(this,1,a)};var Zn=Mg(pP);var wA=function(a){this.A=u(a)};U(wA,v);wA.prototype.getUrl=function(){return L(this,1)};var vA=function(a,b){return D(a,1,b)};var sA=function(a){this.A=u(a)};U(sA,v);var rA=function(a,b){return D(a,1,b)};sA.prototype.getName=function(){return L(this,2)};var uA=function(a,b){return D(a,2,b)},tA=function(a,b){return D(a,3,b)};var qA=function(a){this.A=u(a)};U(qA,v);var pA=function(a,b){return yu(a,1,b)},ppa=Mg(qA);var qP=function(a){this.A=u(a)};U(qP,v);qP.prototype.Ea=function(){return L(this,1)};qP.prototype.ih=function(){return C(this,1)};qP.prototype.I=function(){return O(this,R,3)};var jn=Mg(qP);var rP=function(a){this.A=u(a)};U(rP,v);k=rP.prototype;k.Ea=function(){return L(this,1)};k.ih=function(){return C(this,1)};k.getType=function(){return Tn(this,3)};k.getValue=function(){return L(this,4)};k.setValue=function(a){return D(this,4,a)};k.Ia=function(){return C(this,4)};k.I=function(){return O(this,R,7)};k.getId=function(){return L(this,9)};k.K=function(){return C(this,9)};var Bn=Mg(rP);var sP=function(a){this.A=u(a)};U(sP,v);sP.prototype.S=function(){return Tn(this,1)};sP.prototype.setStatus=function(a){return H(this,1,a)};sP.prototype.na=function(){return Jt(this,1)};var qpa=function(a){return z(a,rq,2,B())},rpa=function(a,b){return yu(a,2,b)};var tP=function(a){this.A=u(a)};U(tP,v);tP.prototype.ab=function(){return O(this,sP,1)};tP.prototype.xc=function(){return S(this,2)};tP.prototype.Bb=function(){return C(this,2)};var uP=function(a){this.A=u(a)};U(uP,v);uP.prototype.getId=function(){return L(this,1)};uP.prototype.K=function(){return C(this,1)};uP.prototype.I=function(){return O(this,R,2)};var vP=function(a){this.A=u(a)};U(vP,v);vP.prototype.xc=function(){return S(this,2)};vP.prototype.Bb=function(){return C(this,2)};vP.prototype.V=function(){return O(this,uP,3)};var Vn=Mg(vP);var wP=function(a){this.A=u(a)};U(wP,v);wP.prototype.S=function(){return Tn(this,1)};wP.prototype.setStatus=function(a){return H(this,1,a)};wP.prototype.na=function(){return Jt(this,1)};wP.prototype.Gg=function(){return O(this,rq,2)};var xP=function(a){this.A=u(a)};U(xP,v);xP.prototype.La=function(){return Sw(this,1)};xP.prototype.lb=function(a){return J(this,1,a)};xP.prototype.I=function(){return O(this,R,2)};var ko=Mg(xP);var yP=function(a){this.A=u(a)};U(yP,v);yP.prototype.getType=function(){return Tn(this,1)};var zP=function(a){this.A=u(a)};U(zP,v);k=zP.prototype;k.getState=function(){return Tn(this,1)};k.La=function(){return Sw(this,2)};k.lb=function(a){return J(this,2,a)};k.I=function(){return O(this,R,3)};k.xc=function(){return S(this,8)};k.Bb=function(){return C(this,8)};var AP=Mg(zP);var BA=function(a){this.A=u(a)};U(BA,v);k=BA.prototype;k.getId=function(){return L(this,1)};k.K=function(){return C(this,1)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};k.getState=function(){return Tn(this,5)};var zA=function(a){this.A=u(a)};U(zA,v);zA.prototype.S=function(){return Tn(this,1)};zA.prototype.setStatus=function(a){return H(this,1,a)};zA.prototype.na=function(){return Jt(this,1)};var BP=function(a){return z(a,BA,2,B())},yA=function(a,b){return yu(a,2,b)},xA=function(a,b){return D(a,4,b)};zA.prototype.xc=function(){return S(this,4)};zA.prototype.Bb=function(){return C(this,4)};var CP=function(a){this.A=u(a)};U(CP,v);k=CP.prototype;k.Zn=function(){return Q(this,1)};k.Ud=function(){return z(this,xO,2,B())};k.ck=function(a){yu(this,2,a)};k.An=function(){N(this,2)};k.mj=function(){return DF(this,xO,2)};var DP=function(a){this.A=u(a)};U(DP,v);DP.prototype.qe=function(){return z(this,EO,5,B())};DP.prototype.ki=function(a){return yu(this,5,a)};DP.prototype.re=function(){return z(this,EO,6,B())};DP.prototype.li=function(a){return yu(this,6,a)};var spa=function(a){this.A=u(a)};U(spa,v);var tpa=function(a){return z(a,EP,1,B())},EP=function(a){this.A=u(a)};U(EP,v);var upa=Pg(EP),FP=[2,6,10,11,13,17],GP=[3,7,8,9,12,14,15];var vpa=[0,TG,IG,hka,TG,[0,TG,-1],IG,-1,LG];var wpa=[0,TG,PG,[0,LG,-1,GG,-1,TG,GG],LG,-1];var HP=function(a){this.A=u(a)};U(HP,v);var xB=function(a){this.A=u(a)};U(xB,v);xB.prototype.Ca=function(a){return cs(this,1,B(a))};xB.prototype.Ci=function(a){return Fe(this,1,a,Dc)};var IP=function(a,b){return Ie(a,1,Dc,b,Ec)};k=xB.prototype;k.nf=function(){return cs(this,19,B())};k.xa=function(a){return F(this,2,B(a))};k.jc=function(a){return Ju(this,2,a)};k.getId=function(a){return OF(this,2,a)};k.I=function(){return O(this,R,3)};var JP=function(a,b){return K(a,3,b)},xpa=function(a){return I(a,7,!0)},un=Mg(xB);var KP=function(a){this.A=u(a)};U(KP,v);var ypa=function(a){var b=new KP;return J(b,1,a)},zpa=function(a,b){return K(a,2,b)},tn=Mg(KP);var LP=function(a){this.A=u(a)};U(LP,v);LP.prototype.I=function(){return O(this,R,2)};var Apa=Mg(LP);var MP=function(a){this.A=u(a)};U(MP,v);var Bpa=function(a){return function(b){var c=new sG;$f(b.A,c,Xf(a));return Bb(vG(c))}}(rna);var NP=function(a){this.A=u(a)};U(NP,v);k=NP.prototype;k.Ca=function(a){return cs(this,1,B(a))};k.Ci=function(a){return Fe(this,1,a,Dc)};k.xa=function(a){return F(this,2,B(a))};k.jc=function(a){return Ju(this,2,a)};k.getId=function(a){return OF(this,2,a)};k.I=function(){return O(this,R,3)};k.Ji=function(){return zB(this,R,3)};var Cpa=function(a,b){return K(a,3,b)},Fo=Mg(NP);var Dpa=function(a){this.A=u(a)};U(Dpa,v);var OP=function(a){this.A=u(a)};U(OP,v);OP.prototype.S=function(){return Tn(this,1)};OP.prototype.setStatus=function(a){return H(this,1,a)};OP.prototype.na=function(){return Jt(this,1)};var oA=function(a){this.A=u(a)};U(oA,v);oA.prototype.Qa=function(){return Sw(this,2)};oA.prototype.g=function(a){return J(this,2,a)};var nA=function(a){this.A=u(a)};U(nA,v);var mga=function(a,b){return D(a,1,b)},lga=function(a,b){return J(a,2,b)},nga=function(a,b){yu(a,3,b)};var lA=function(a){this.A=u(a)};U(lA,v);var kA=function(a,b){return D(a,1,b)};k=lA.prototype;k.xc=function(){return S(this,1)};k.Bb=function(){return C(this,1)};k.S=function(){return Tn(this,3)};k.setStatus=function(a){return H(this,3,a)};k.na=function(){return Jt(this,3)};var mA=function(a,b){return yu(a,5,b)};var PP=function(a){this.A=u(a)};U(PP,v);PP.prototype.I=function(){return O(this,R,2)};PP.prototype.Ji=function(){return zB(this,R,2)};var Io=Mg(PP);var QP=function(){this.B=this.g=0};U(QP,hK);QP.prototype.j=function(){return this.B};var nE=new QP;nE.o="DESCENDING";nE.g=1;nE.B=2;var RP=function(){this.B=this.g=0};U(RP,hK);RP.prototype.j=function(){return this.B};var mE=new RP;mE.o="RECENT";mE.g=9;mE.B=11;var Vda=Kg(qna);var Epa=function(a){this.A=u(a,1)};U(Epa,v);var SP=function(a){this.A=u(a)};U(SP,v);SP.prototype.Ea=function(){return L(this,1)};SP.prototype.I=function(){return O(this,R,2)};SP.prototype.La=function(){return zn(this,3,1E3)};var Wn=Mg(SP);var TP=function(a){this.A=u(a)};U(TP,v);TP.prototype.S=function(){return Tn(this,1)};TP.prototype.setStatus=function(a){return H(this,1,a)};TP.prototype.na=function(){return Jt(this,1)};var UP=function(a){this.A=u(a)};U(UP,v);UP.prototype.I=function(){return O(this,R,1)};var Fpa=Mg(UP);var VP=function(a){this.A=u(a)};U(VP,v);VP.prototype.setTitle=function(a){return D(this,4,a)};VP.prototype.gb=function(){return S(this,4)};VP.prototype.Ma=function(){return C(this,4)};var WP=function(a){this.A=u(a)};U(WP,v);WP.prototype.S=function(){return Hl(this,1,1)};WP.prototype.setStatus=function(a){return H(this,1,a)};WP.prototype.na=function(){return Jt(this,1)};var XP=function(a){this.A=u(a)};U(XP,v);XP.prototype.getId=function(){return x(this,1)};var YP=function(a){this.A=u(a)};U(YP,v);YP.prototype.I=function(){return O(this,R,1)};var Gpa=Mg(YP);var ZP=function(a){this.A=u(a)};U(ZP,v);var $P=function(a){this.A=u(a)};U($P,v);var aQ=function(a){this.A=u(a)};U(aQ,v);aQ.prototype.S=function(){return Hl(this,1,1)};aQ.prototype.setStatus=function(a){return H(this,1,a)};aQ.prototype.na=function(){return Jt(this,1)};var Hpa=[3,4];var bQ=function(a){this.A=u(a)};U(bQ,v);var Ipa=Mg(bQ);var cQ=function(a){this.A=u(a)};U(cQ,v);var dQ=function(a){this.A=u(a)};U(dQ,v);var eQ=function(a){this.A=u(a)};U(eQ,v);var fQ=function(a){this.A=u(a)};U(fQ,v);fQ.prototype.S=function(){return Hl(this,4,1)};fQ.prototype.setStatus=function(a){return H(this,4,a)};fQ.prototype.na=function(){return Jt(this,4)};var gQ=[1,2,3];var hQ=function(a){this.A=u(a)};U(hQ,v);hQ.prototype.I=function(){return O(this,R,1)};var Jpa=Mg(hQ);var iQ=function(a){this.A=u(a)};U(iQ,v);iQ.prototype.S=function(){return Hl(this,1,1)};iQ.prototype.setStatus=function(a){return H(this,1,a)};iQ.prototype.na=function(){return Jt(this,1)};var Kpa={OC:0,qu:1,ru:2};var Lpa=function(a){this.A=u(a)};U(Lpa,v);var Mpa=function(a,b){return Fe(a,1,b,Dc)},Npa=function(a,b){return H(a,3,b)},Opa=function(a,b){return H(a,4,b)};var jQ=function(a){this.A=u(a)};U(jQ,v);jQ.prototype.g=function(a){return function(){return Jg(this,a)}}([0,JG,-1,cja,JG,DG]);var nn=function(a){this.A=u(a)};U(nn,v);nn.prototype.I=function(){return O(this,R,2)};var pn=Mg(nn);var kQ=function(a){this.A=u(a)};U(kQ,v);kQ.prototype.S=function(){return Tn(this,1)};kQ.prototype.setStatus=function(a){return H(this,1,a)};kQ.prototype.na=function(){return Jt(this,1)};var lQ=function(a,b){return K(a,4,b)};var qo=function(a){this.A=u(a)};U(qo,v);qo.prototype.I=function(){return O(this,R,2)};var ro=Mg(qo);var mQ=function(a){this.A=u(a)};U(mQ,v);mQ.prototype.setTitle=function(a){return D(this,1,a)};mQ.prototype.gb=function(){return S(this,1)};mQ.prototype.Ma=function(){return C(this,1)};mQ.prototype.I=function(){return O(this,R,2)};var fn=Mg(mQ);var lB=function(a){this.A=u(a)};U(lB,v);lB.prototype.getId=function(){return L(this,1)};lB.prototype.K=function(){return C(this,1)};lB.prototype.I=function(){return O(this,R,3)};var qn=Mg(lB);var EA=function(a){this.A=u(a)};U(EA,v);var Dga=function(a,b){return D(a,1,b)};EA.prototype.setTitle=function(a){return D(this,2,a)};EA.prototype.gb=function(){return S(this,2)};EA.prototype.Ma=function(){return C(this,2)};EA.prototype.Sa=function(a){return z(this,Pk,3,B(a))};var Bga=function(a,b){return yu(a,3,b)},Cga=function(a,b){return D(a,4,b)},Aga=function(a,b){return K(a,5,b)};var FA=function(a){this.A=u(a)};U(FA,v);FA.prototype.S=function(){return Tn(this,1)};FA.prototype.setStatus=function(a){return H(this,1,a)};FA.prototype.na=function(){return Jt(this,1)};FA.prototype.uj=function(){return O(this,BA,2)};var nQ=function(a){this.A=u(a)};U(nQ,v);k=nQ.prototype;k.La=function(){return Sw(this,1)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};k.I=function(){return O(this,R,3)};var jo=Mg(nQ);var CA=function(a){this.A=u(a)};U(CA,v);CA.prototype.S=function(){return Tn(this,1)};CA.prototype.setStatus=function(a){return H(this,1,a)};CA.prototype.na=function(){return Jt(this,1)};var uga=function(a,b){return yu(a,2,b)},tga=function(a,b){return D(a,4,b)};var DA=function(a){this.A=u(a)};U(DA,v);DA.prototype.S=function(){return Tn(this,1)};DA.prototype.setStatus=function(a){return H(this,1,a)};DA.prototype.na=function(){return Jt(this,1)};var xga=function(a,b){return yu(a,2,b)},wga=function(a,b){return D(a,4,b)};var oQ=function(a){this.A=u(a)};U(oQ,v);k=oQ.prototype;k.getId=function(){return L(this,1)};k.K=function(){return C(this,1)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};k.getState=function(){return Tn(this,3)};k.I=function(){return O(this,R,5)};var so=Mg(oQ);var pQ=function(a){this.A=u(a)};U(pQ,v);pQ.prototype.xa=function(a){return F(this,1,B(a))};pQ.prototype.getId=function(a){return OF(this,1,a)};pQ.prototype.I=function(){return O(this,R,2)};var to=Mg(pQ);var qQ=function(a){this.A=u(a)};U(qQ,v);k=qQ.prototype;k.S=function(){return Tn(this,1)};k.setStatus=function(a){return H(this,1,a)};k.na=function(){return Jt(this,1)};k.va=function(){return Tn(this,5)};k.rb=function(a){return H(this,5,a)};var Ppa=Kg(vpa);var Qpa=function(){return function(a,b){a:{let d={lk:!0};b&&Object.assign(d,b);a=Vf(a,void 0,void 0,d);try{let e=new zA,f=e.A;Mf(wpa)(f,a);var c=e;break a}catch(e){if(e instanceof RangeError)throw new SyntaxError;throw e;}finally{Wf(a)}c=void 0}return c}}();var rQ=function(a){this.A=u(a)};U(rQ,v);rQ.prototype.getState=function(){return Tn(this,1)};var hE=function(a){this.A=u(a)};U(hE,v);hE.prototype.getType=function(){return Tn(this,1)};var eE=function(a){this.A=u(a)};U(eE,v);var Rpa=function(a){this.A=u(a)};U(Rpa,v);var Spa=function(a){return N(a,2)},Tpa=function(a){return N(a,3)};var cE=Ng(Rpa);var Vpa=function(a){return eka(cs(a,2,B()),function(b){return Upa(b)})},Wpa=function(a){return eka(cs(a,3,B()),function(b){return Upa(b)})};var Xpa=function(a,b){dka(b,function(c){gw(a,2,c.j())});return a},Ypa=function(a,b){dka(b,function(c){gw(a,3,c.j())});return a},Zpa=function(a,b){return J(a,4,b|0)};var Upa=function(a){var b=$pa;if(a==null)return b;a|=0;if(!sQ){var c=sQ=GK([$pa,aqa,bqa,cqa,dqa,eqa,fqa,gqa,hqa,tQ,iqa,jqa,kqa,uQ,lqa,mqa,nqa,oqa,pqa,qqa,rqa,sqa,tqa,uqa,vqa,wqa,xqa,yqa,zqa,Aqa,vQ,Bqa],wQ,Cqa);let d=[];for(let e=c,f=0;f<e.length;f++)c=e[f],d[c.j()]=c;sQ=d}return(a=sQ[a])?a:b};var wQ=function(){this.B=this.g=0},sQ;U(wQ,hK);var xQ=function(a,b,c){var d=new wQ;d.o=a;d.g=b;d.B=c;return d};wQ.prototype.j=function(){return this.B};
var Cqa=function(a){return a instanceof wQ},$pa=xQ("COLUMN_TYPE_INVALID",0,0),aqa=xQ("ACTIVITY_ITEM_ACTION_BAR",1,32),bqa=xQ("ACTIVITY_JUSTIFICATION",2,30),cqa=xQ("CONTEXT_MENU",3,26),dqa=xQ("CREATE_DATE",4,1),eqa=xQ("DISABLED_REASON",5,34),fqa=xQ("DOWNLOAD",6,13),gqa=xQ("EDITED_BY_ME_DATE",7,2),hqa=xQ("FILE_SIZE",8,3),tQ=xQ("ICON",9,4),iqa=xQ("ITEM_ACTION_BAR",10,14),jqa=xQ("JUSTIFICATION",11,22),kqa=xQ("JUSTIFICATION_WITH_HEADER",12,28),uQ=xQ("LOCATION",13,18),lqa=xQ("LONG_OWNER",14,24),mqa=xQ("MARKED_AS_SPAM_DATE",
15,25),nqa=xQ("MODIFY_DATE",16,5),oqa=xQ("NAME",17,6),pqa=xQ("OPENED_BY_ME_DATE",18,7),qqa=xQ("OWNER",19,8),rqa=xQ("RECENT",20,9),sqa=xQ("RECENT_WITH_HEADER",21,29),tqa=xQ("RELEVANCE",22,19),uqa=xQ("SELECT",23,35),vqa=xQ("SHARED_DRIVE_MEMBERS",24,20),wqa=xQ("SHARE_DATE",25,10),xqa=xQ("SHARING_USER",26,11),yqa=xQ("SWITCHABLE_DATE",27,12),zqa=xQ("TRASHED_DATE",28,16),Aqa=xQ("TRASHING_USER",29,17),vQ=xQ("TRASH_LOCATION",30,23),Bqa=xQ("USER_QUOTA",31,15);var yQ=function(){this.B=this.g=0};U(yQ,hK);var zQ=function(a,b,c){var d=new yQ;d.o=a;d.g=b;d.B=c;return d};yQ.prototype.j=function(){return this.B};var Dqa=zQ("PSYNCHO_ROOT",0,1),Eqa=zQ("PSYNCHO_FOLDER",1,2),Fqa=zQ("MACHINE_ROOT",2,3),Gqa=zQ("ARBITRARY_SYNC_FOLDER",3,4),Hqa=zQ("PHOTOS_AND_VIDEOS_ONLY",4,5),Iqa=zQ("EXTERNAL_MEDIA",5,6);var Jqa=function(a){this.A=u(a)};U(Jqa,v);var AQ=function(a){this.key=a;this.defaultValue=!1;this.flagNameForDebugging=void 0;this.phase=2};AQ.prototype.ctor=function(a){return typeof a==="boolean"?a:this.defaultValue};var BQ=function(a,b){this.key=a;this.defaultValue=b;this.flagNameForDebugging=void 0;this.phase=2};BQ.prototype.ctor=function(a){return typeof a==="number"?a:this.defaultValue};
var Lqa=function(){var a=Kqa('[["feature named `pageObserver` was not found","feature named `hover` was not found"]]'),b=CQ;this.key="45696263";this.defaultValue=a;this.g=b;this.flagNameForDebugging=void 0;this.phase=2};Lqa.prototype.ctor=function(a){if(typeof a==="string"&&a)return Og(this.g,a);if(!Mla(a))return this.defaultValue.clone();var b;try{let f;var c=this.g,d=(f=a.getTypeName())!=null?f:"";var e=Hg(a,c,d)}catch(f){e=null}return(b=e)!=null?b:this.defaultValue.clone()};var Mqa=function(a){this.A=u(a)};U(Mqa,v);var DQ=[1,2];var EQ=function(a){this.A=u(a)};U(EQ,v);EQ.prototype.setBooleanValue=function(a){return Ij(this,3,FQ,a==null?a:zc(a))};var FQ=[2,3,4,5,6,8];var GQ=function(a){this.A=u(a)};U(GQ,v);GQ.prototype.Af=function(){return FF(this,3)};var Nqa=function(a){this.A=u(a)};U(Nqa,v);var Oqa=Pg(Nqa);var CQ=function(a){this.A=u(a)};U(CQ,v);var Kqa=Pg(CQ);var Wg,Xg=function(){this.j=!1;var a=null;this.j=!0;var b=Vg("TSDtV",window);if(b=typeof b!=="string"?null:b)a=Oqa("["+b.substring(4)),a=z(a,GQ,1,B())[0];if(a){b=q(z(a,EQ,2,B()));for(var c=b.next();!c.done;c=b.next())if(bp(c.value,KL,6,FQ))throw Error();}if(a){b={};c=q(z(a,EQ,2,B()));for(var d=c.next();!d.done;d=c.next()){var e=d.value;d=hs(e,1).toString();switch(kk(e,FQ)){case 3:b[d]=Q(e,mk(e,FQ,3));break;case 2:b[d]=Sg(hs(e,mk(e,FQ,2)));break;case 4:b[d]=LF(e,mk(e,FQ,4));break;case 5:b[d]=x(e,mk(e,
FQ,5));break;case 6:b[d]=tk(e,KL,6,FQ);break;case 8:e=KF(e,Mqa,8,FQ);switch(kk(e,DQ)){case 1:b[d]=x(e,mk(e,DQ,1));break;default:throw Error("V`"+kk(e,DQ));}break;default:throw Error("V`"+kk(e,FQ));}}}else b={};this.g=b;this.token=a?a.Af():null},Il=function(a,b){return b.phase===1||a.j&&!(b.key in a.g)?b.defaultValue:b.ctor(a.g[b.key])};Xg.prototype.Af=function(){return this.token};var HQ=function(a){this.A=u(a)};U(HQ,v);var KB=function(a){this.A=u(a)};U(KB,v);var uB=function(a){this.A=u(a)};U(uB,v);uB.prototype.getId=function(){return x(this,1)};uB.prototype.K=function(){return C(this,1)};var oB=function(a,b){return D(a,2,b)};k=uB.prototype;k.setTitle=function(a){return D(this,3,a)};k.gb=function(){return S(this,3)};k.Ma=function(){return C(this,3)};k.setDescription=function(a){return D(this,4,a)};k.Ic=function(){return S(this,4)};var Pqa=function(a){this.A=u(a)};U(Pqa,v);var pB=function(a){var b=new Pqa;return yu(b,1,a)};var IQ=function(a){this.A=u(a)};U(IQ,v);var NC=function(a){var b=new IQ;return Ju(b,1,a)};IQ.prototype.getValue=function(a){return OF(this,1,a)};IQ.prototype.setValue=function(a,b){return He(this,1,cd,b,a,ed,void 0,1)};var LC=function(a){this.A=u(a)};U(LC,v);k=LC.prototype;k.getId=function(){return x(this,1)};k.K=function(){return C(this,1)};k.setIntegerValue=function(a){return Ij(this,3,OC,Pc(a))};k.setSelectionValue=function(a){return Ij(this,6,OC,dd(a))};k.setTextValue=function(a){return Ij(this,9,OC,dd(a))};var OC=[3,6,7,8,9,10,11,12,13];var KC=function(a){this.A=u(a)};U(KC,v);var Iha=function(a,b){return XB(a,1,LC,b)};var JC=function(a){this.A=u(a)};U(JC,v);var Hha=function(a,b){y(a,1,PC,b)},Jha=function(a,b){y(a,2,PC,b)},PC=[1,2,3];var IC=function(a){this.A=u(a)};U(IC,v);var Gha=function(a,b){return TF(a,1,b)};var VB=function(a){this.A=u(a)};U(VB,v);VB.prototype.getId=function(){return x(this,1)};var UB=function(a,b){return D(a,1,b)};k=VB.prototype;k.K=function(){return C(this,1)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};k.setDescription=function(a){return D(this,3,a)};k.Ic=function(){return S(this,3)};var YC=function(a){this.A=u(a)};U(YC,v);var HC=function(a){this.A=u(a)};U(HC,v);var QC=function(a,b){return yu(a,1,b)},Kha=function(a,b){return K(a,2,b)};var tv=function(a){this.A=u(a)};U(tv,v);var Tda=function(a,b){return K(a,1,b)},Uda=function(a){N(a,1)};var sv=function(a){this.A=u(a)};U(sv,v);sv.prototype.I=function(){return O(this,R,1)};var tu=function(a,b){return K(a,1,b)},rv=function(a,b){return K(a,2,b)};var Qqa=Ng(sv),Mda=Ig(sv);var JQ=function(a){this.A=u(a)};U(JQ,v);k=JQ.prototype;k.getId=function(){return hs(this,1)};k.K=function(){return jt(this,1)};k.Ea=function(){return x(this,3)};k.getItem=function(){return O(this,Pk,6)};k.Zb=function(){return ds(this,Pk,6)};var KQ=function(a){this.A=u(a)};U(KQ,v);var uha=function(a,b){D(a,1,b)},sha=function(){var a=new KQ;return I(a,2,!0)},rha=function(a,b){return Fe(a,3,b,Dc)},tha=function(a,b){yu(a,4,b)},qha=function(a,b){return H(a,5,b)};var CC=function(a){this.A=u(a)};U(CC,v);var xha=function(a,b){return Vr(a,1,b)},yha=function(a,b){return J(a,2,b)};var LQ=function(a){this.A=u(a)};U(LQ,v);k=LQ.prototype;k.getItem=function(){return O(this,Pk,1)};k.Zb=function(){return ds(this,Pk,1)};k.S=function(){return O(this,LL,2)};k.setStatus=function(a){return K(this,2,a)};k.na=function(){return vB(this,LL,2)};var Rqa=function(a){this.A=u(a)};U(Rqa,v);var Sqa=function(a){this.A=u(a)};U(Sqa,v);var Tqa=function(a,b,c){this.requestMessage=a;this.Qo=b;this.metadata=c};Tqa.prototype.getMetadata=function(){return this.metadata};var MQ=function(a,b){b=b===void 0?{}:b;this.qt=a;this.metadata=b;this.status=null};MQ.prototype.getMetadata=function(){return this.metadata};MQ.prototype.S=function(){return this.status};var NQ=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.g=d;this.j=e};NQ.prototype.createRequest=function(a,b){b=b===void 0?{}:b;return new Tqa(a,this,b)};NQ.prototype.getName=function(){return this.name};var OQ=function(a){this.A=u(a)};U(OQ,v);OQ.prototype.setTitle=function(a){return D(this,3,a)};OQ.prototype.gb=function(){return S(this,3)};OQ.prototype.Ma=function(){return C(this,3)};var Uqa=function(a){this.A=u(a)};U(Uqa,v);var PQ=function(a){this.A=u(a)};U(PQ,v);var Vqa=function(){var a=new PQ;return TF(a,1,"1")};k=PQ.prototype;k.getId=function(){return x(this,2)};k.setTitle=function(a){return D(this,3,a)};k.gb=function(){return S(this,3)};k.Ma=function(){return C(this,3)};k.getState=function(){return O(this,rQ,4)};var Wqa=function(a){this.A=u(a)};U(Wqa,v);var iB=function(a){this.A=u(a)};U(iB,v);k=iB.prototype;k.S=function(){return O(this,LL,1)};k.setStatus=function(a){return K(this,1,a)};k.na=function(){return vB(this,LL,1)};k.getId=function(){return x(this,2)};k.uj=function(){return O(this,BA,3)};var jB=function(a){this.A=u(a)};U(jB,v);var QQ=function(a){this.A=u(a)};U(QQ,v);var RQ=function(a){this.A=u(a)};U(RQ,v);var Xqa=new NQ("/google.internal.apps.drive.driveway.v1.DriveFrontendService/DeleteApp",QQ,RQ,function(a){return a.aa()},Ng(RQ));var Yqa=function(a){this.A=u(a)};U(Yqa,v);var kha=function(a){var b=new Yqa;return Ie(b,1,cd,a,ed)};var SQ=function(a){this.A=u(a)};U(SQ,v);k=SQ.prototype;k.getId=function(){return x(this,1)};k.K=function(){return C(this,1)};k.S=function(){return O(this,LL,2)};k.setStatus=function(a){return K(this,2,a)};k.na=function(){return vB(this,LL,2)};var Qx=function(a){this.A=u(a)};U(Qx,v);var ifa=function(a){return z(a,SQ,1,B())};var TQ=function(a){this.A=u(a)};U(TQ,v);TQ.prototype.Ea=function(){return x(this,1)};var Zqa=function(a){this.A=u(a)};U(Zqa,v);var $qa=function(a){this.A=u(a)};U($qa,v);var ara=function(a){this.A=u(a)};U(ara,v);var bra=function(a){this.A=u(a)};U(bra,v);var UQ=function(a){this.A=u(a)};U(UQ,v);UQ.prototype.xa=function(a){return F(this,1,B(a))};UQ.prototype.getId=function(a){return OF(this,1,a)};var kB=function(a){this.A=u(a)};U(kB,v);var cra=function(a){this.A=u(a)};U(cra,v);var VQ=function(a){this.A=u(a)};U(VQ,v);VQ.prototype.Ea=function(){return x(this,1)};var WQ=function(a){this.A=u(a)};U(WQ,v);WQ.prototype.Ea=function(){return x(this,1)};var dra=function(a){this.A=u(a)};U(dra,v);var XQ=function(a){this.A=u(a)};U(XQ,v);XQ.prototype.oe=function(){return O(this,PK,1)};var era=new NQ("/google.internal.apps.drive.driveway.v1.DriveFrontendService/GetAccount",dra,XQ,function(a){return a.aa()},Ng(XQ));var fra=function(a){this.A=u(a)};U(fra,v);var AB=function(a){this.A=u(a)};U(AB,v);var Tga=function(a,b){Ju(a,2,b)},Uga=function(a,b){Fe(a,6,b,Dc)};var gra=function(a){this.A=u(a)};U(gra,v);var Sga=function(a){var b=new gra;return Ju(b,1,a)};var Jx=function(a){this.A=u(a)};U(Jx,v);k=Jx.prototype;k.S=function(){return O(this,LL,1)};k.setStatus=function(a){return K(this,1,a)};k.na=function(){return vB(this,LL,1)};k.getItem=function(){return O(this,Pk,2)};k.Zb=function(){return ds(this,Pk,2)};var hra=function(a){this.A=u(a)};U(hra,v);var ira=function(a){this.A=u(a)};U(ira,v);var YQ=function(a){this.A=u(a)};U(YQ,v);YQ.prototype.Ea=function(){return x(this,1)};var jra=function(a){this.A=u(a)};U(jra,v);var kra=function(a){this.A=u(a)};U(kra,v);var ZQ=[1,2];var $Q=function(a){this.A=u(a)};U($Q,v);$Q.prototype.S=function(){return O(this,LL,1)};$Q.prototype.setStatus=function(a){return K(this,1,a)};$Q.prototype.na=function(){return vB(this,LL,1)};var aR=function(a){this.A=u(a)};U(aR,v);var lra=function(a){this.A=u(a)};U(lra,v);var mra=function(a){this.A=u(a)};U(mra,v);var YA=function(a){this.A=u(a)};U(YA,v);YA.prototype.g=function(a){Ju(this,1,a)};var nra=function(a){this.A=u(a)};U(nra,v);var ora=function(a){this.A=u(a)};U(ora,v);var pra=function(a){this.A=u(a)};U(pra,v);var qra=function(a){this.A=u(a)};U(qra,v);var rra=function(a){this.A=u(a)};U(rra,v);var BC=function(a){this.A=u(a)};U(BC,v);var vha=function(a,b){return K(a,1,b)};BC.prototype.N=function(){return ds(this,KQ,1)};var wha=function(a,b){return K(a,2,b)};var bR=function(a){this.A=u(a)};U(bR,v);bR.prototype.S=function(){return O(this,LL,4)};bR.prototype.setStatus=function(a){return K(this,4,a)};bR.prototype.na=function(){return vB(this,LL,4)};var cR=function(a){this.A=u(a)};U(cR,v);var sra=function(a){var b=new cR;return H(b,1,a)};var tra=function(a){this.A=u(a)};U(tra,v);var ura=function(a){this.A=u(a)};U(ura,v);var dR=function(a){this.A=u(a)};U(dR,v);var eR=function(a,b){return J(a,1,b)},fR=function(a,b){return D(a,2,b)};dR.prototype.xc=function(){return S(this,2)};dR.prototype.Bb=function(){return C(this,2)};var wu=function(a){this.A=u(a)};U(wu,v);wu.prototype.setTitle=function(a,b){return EF(this,1,fN,a,b)};wu.prototype.pg=function(a){fk(this,44,yv,a)};var gR=function(a){this.A=u(a)};U(gR,v);gR.prototype.N=function(){return ds(this,wu,1)};var hR=function(a){this.A=u(a)};U(hR,v);var iR=function(a){this.A=u(a)};U(iR,v);iR.prototype.xc=function(){return S(this,2)};iR.prototype.Bb=function(){return C(this,2)};var vra=new NQ("/google.internal.apps.drive.driveway.v1.DriveFrontendService/ListItems",gR,iR,function(a){return a.aa()},Ng(iR));var jR=function(a){this.A=u(a)};U(jR,v);jR.prototype.Ea=function(){return x(this,1)};var wra=function(a){this.A=u(a)};U(wra,v);var xra=function(a){this.A=u(a)};U(xra,v);var yra=function(a){this.A=u(a)};U(yra,v);var zra=function(a){this.A=u(a)};U(zra,v);var kR=function(a){this.A=u(a)};U(kR,v);var lR=function(a){this.A=u(a)};U(lR,v);lR.prototype.N=function(){return ds(this,kR,1)};var mR=function(a){this.A=u(a)};U(mR,v);mR.prototype.xc=function(){return S(this,2)};mR.prototype.Bb=function(){return C(this,2)};var nR=function(a){this.A=u(a)};U(nR,v);var oR=function(a){this.A=u(a)};U(oR,v);oR.prototype.addWorkspaces=function(a,b){return fk(this,1,BA,a,b)};oR.prototype.removeWorkspaces=function(a){Re(this,1,BA,void 0,a,1,!0);return this};var Ara=new NQ("/google.internal.apps.drive.driveway.v1.DriveFrontendService/ListWorkspaces",nR,oR,function(a){return a.aa()},Ng(oR));var bC=function(a){this.A=u(a)};U(bC,v);bC.prototype.Yj=function(a){return WF(this,1,a)};var pR=function(a){this.A=u(a)};U(pR,v);pR.prototype.getId=function(){return x(this,1)};pR.prototype.K=function(){return C(this,1)};var Bra=function(a){this.A=u(a)};U(Bra,v);var Cra=function(a){return z(a,pR,1,B())};var qR=function(a){this.A=u(a)};U(qR,v);qR.prototype.Yj=function(a){return WF(this,1,a)};qR.prototype.xc=function(){return S(this,4)};qR.prototype.Bb=function(){return C(this,4)};var rR=function(a){this.A=u(a)};U(rR,v);rR.prototype.xc=function(){return S(this,5)};rR.prototype.Bb=function(){return C(this,5)};var sR=function(a){this.A=u(a)};U(sR,v);sR.prototype.getId=function(){return x(this,1)};sR.prototype.K=function(){return C(this,1)};var tR=function(a){this.A=u(a)};U(tR,v);tR.prototype.getId=function(){return x(this,1)};tR.prototype.K=function(){return C(this,1)};var uR=function(a){this.A=u(a)};U(uR,v);var vR=function(a){this.A=u(a)};U(vR,v);var wR=[1,2,3];var Dra=new NQ("/google.internal.apps.drive.driveway.v1.DriveFrontendService/RewindPreflight",uR,vR,function(a){return a.aa()},Ng(vR));var xR=function(a){this.A=u(a)};U(xR,v);xR.prototype.N=function(){return ds(this,wu,1)};var Fra=Ig(xR);var yR=function(a){this.A=u(a)};U(yR,v);yR.prototype.xc=function(){return S(this,4)};yR.prototype.Bb=function(){return C(this,4)};var Jra=Ig(yR);var Kra=new NQ("/google.internal.apps.drive.driveway.v1.DriveFrontendService/SearchItems",xR,yR,function(a){return a.aa()},Ng(yR));var $A=function(a){this.A=u(a)};U($A,v);$A.prototype.g=function(a){Ju(this,1,a)};var Lra=function(a){this.A=u(a)};U(Lra,v);var zR=function(a){this.A=u(a)};U(zR,v);zR.prototype.getId=function(){return x(this,1)};zR.prototype.K=function(){return C(this,1)};var AR=function(a){this.A=u(a)};U(AR,v);var Mra=function(a){return z(a,zR,1,B())};var BR=function(a){this.A=u(a)};U(BR,v);BR.prototype.Ea=function(){return x(this,1)};var Nra=function(a){this.A=u(a)};U(Nra,v);var CR=function(a){this.A=u(a)};U(CR,v);k=CR.prototype;k.getId=function(){return x(this,1)};k.K=function(){return C(this,1)};k.setTitle=function(a){return D(this,2,a)};k.gb=function(){return S(this,2)};k.Ma=function(){return C(this,2)};var Ora=function(a){this.A=u(a)};U(Ora,v);var Pra=function(a){this.A=u(a)};U(Pra,v);var Qra=function(a){this.A=u(a)};U(Qra,v);var Rra=function(a){this.A=u(a)};U(Rra,v);var hB=function(a){this.A=u(a)};U(hB,v);var YB=function(a){this.A=u(a)};U(YB,v);var Zga=Mg(YB);var DR=function(a){this.A=u(a)};U(DR,v);DR.prototype.getItem=function(){return O(this,Pk,2)};DR.prototype.Zb=function(){return ds(this,Pk,2)};var TB=function(a){this.A=u(a)};U(TB,v);var ER=function(a){this.A=u(a)};U(ER,v);ER.prototype.getItem=function(){return O(this,Pk,2)};ER.prototype.Zb=function(){return ds(this,Pk,2)};var Sra=new Set(["SAPISIDHASH","APISIDHASH"]);var FR=function(a,b,c){c=c===void 0?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c;this.name="RpcError";Object.setPrototypeOf(this,this.constructor.prototype)};U(FR,Error);FR.prototype.toString=function(){var a="RpcError("+(hba(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};var GR=[],HR=[],Tra=!1,IR=function(a){GR[GR.length]=a;if(Tra)for(let b=0;b<HR.length;b++)a(sj(HR[b].g,HR[b]))};bh.prototype.ba=!1;bh.prototype.isDisposed=function(){return this.ba};bh.prototype.dispose=function(){this.ba||(this.ba=!0,this.oa())};bh.prototype[Symbol.dispose]=function(){this.dispose()};bh.prototype.Ha=function(a){JR(this,yj($g,a))};var JR=function(a,b){a.ba?b():(a.N||(a.N=[]),a.N.push(b))};bh.prototype.oa=function(){if(this.N)for(;this.N.length;)this.N.shift()()};ch.prototype.toString=function(){return this.id};var dh=function(a,b){this.type=a instanceof ch?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.j=!1};dh.prototype.stopPropagation=function(){this.j=!0};dh.prototype.preventDefault=function(){this.defaultPrevented=!0};cF(eh,dh);
eh.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=xD||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY=
xD||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.timeStamp=
a.timeStamp;this.g=a;a.defaultPrevented&&eh.Kb.preventDefault.call(this)};eh.prototype.stopPropagation=function(){eh.Kb.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};eh.prototype.preventDefault=function(){eh.Kb.preventDefault.call(this);var a=this.g;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ura="closure_listenable_"+(Math.random()*1E6|0),KR=function(a){return!(!a||!a[Ura])};var iba=0;var LR=function(a){a.di=!0;a.listener=null;a.proxy=null;a.src=null;a.pa=null};var sh="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");uh.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.j++);var g=MR(a,b,d,e);g>-1?(b=a[g],c||(b.Ui=!1)):(b=new jba(b,this.src,f,!!d,e),b.Ui=c,a.push(b));return b};uh.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=MR(e,b,c,d);return b>-1?(LR(e[b]),Ia(e,b),e.length==0&&(delete this.g[a],this.j--),!0):!1};var NR=function(a,b){var c=b.type;c in a.g&&Ka(a.g[c],b)&&(LR(b),a.g[c].length==0&&(delete a.g[c],a.j--))};
uh.prototype.Ah=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=MR(a,b,c,d));return e>-1?a[e]:null};uh.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return kh(this.g,function(f){for(let g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var MR=function(a,b,c,d){for(let e=0;e<a.length;++e){let f=a[e];if(!f.di&&f.listener==b&&f.capture==!!c&&f.pa==d)return e}return-1};var OR="closure_lm_"+(Math.random()*1E6|0),PR={},Vra=0,Sp=function(a,b,c,d,e){if(d&&d.once)return QR(a,b,c,d,e);if(Array.isArray(b)){for(let f=0;f<b.length;f++)Sp(a,b[f],c,d,e);return null}c=RR(c);return KR(a)?a.listen(b,c,Vw(d)?!!d.capture:!!d,e):Wra(a,b,c,!1,d,e)},Wra=function(a,b,c,d,e,f){if(!b)throw Error("X");var g=Vw(e)?!!e.capture:!!e,h=SR(a);h||(a[OR]=h=new uh(a));c=h.add(b,c,d,g,f);if(c.proxy)return c;d=Xra();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)e===void 0&&(e=!1),a.addEventListener(b.toString(),
d,e);else if(a.attachEvent)a.attachEvent(Yra(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("Y");Vra++;return c},Xra=function(){var a=TR,b=function(c){return a.call(b.src,b.listener,c)};return b},QR=function(a,b,c,d,e){if(Array.isArray(b)){for(let f=0;f<b.length;f++)QR(a,b[f],c,d,e);return null}c=RR(c);return KR(a)?a.Lf(b,c,Vw(d)?!!d.capture:!!d,e):Wra(a,b,c,!0,d,e)},Zra=function(a,b,c,d,e){if(Array.isArray(b))for(let f=0;f<b.length;f++)Zra(a,b[f],c,d,e);
else d=Vw(d)?!!d.capture:!!d,c=RR(c),KR(a)?a.Xf(b,c,d,e):a&&(a=SR(a))&&(b=a.Ah(b,c,d,e))&&UR(b)},UR=function(a){if(typeof a!=="number"&&a&&!a.di){var b=a.src;if(KR(b))NR(b.B,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Yra(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Vra--;(c=SR(b))?(NR(c,a),c.j==0&&(c.src=null,b[OR]=null)):LR(a)}}},Yra=function(a){return a in PR?PR[a]:PR[a]="on"+a},TR=function(a,b){if(a.di)a=!0;
else{b=new eh(b,this);let c=a.listener,d=a.pa||a.src;a.Ui&&UR(a);a=c.call(d,b)}return a},SR=function(a){a=a[OR];return a instanceof uh?a:null},VR="__closure_events_fn_"+(Math.random()*1E9>>>0),RR=function(a){if(typeof a==="function")return a;a[VR]||(a[VR]=function(b){return a.handleEvent(b)});return a[VR]};IR(function(a){TR=a(TR)});var $ra=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};var mj=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};cF(vh,bh);vh.prototype[Ura]=!0;k=vh.prototype;k.addEventListener=function(a,b,c,d){Sp(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){Zra(this,a,b,c,d)};
k.dispatchEvent=function(a){var b,c=this.eb;if(c)for(b=[];c;c=c.eb)b.push(c);c=this.Od;var d=a.type||a;if(typeof a==="string")a=new dh(a,c);else if(a instanceof dh)a.target=a.target||c;else{var e=a;a=new dh(d,c);th(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.j&&f>=0;f--){var g=a.currentTarget=b[f];e=WR(g,d,!0,a)&&e}a.j||(g=a.currentTarget=c,e=WR(g,d,!0,a)&&e,a.j||(e=WR(g,d,!1,a)&&e));if(b)for(f=0;!a.j&&f<b.length;f++)g=a.currentTarget=b[f],e=WR(g,d,!1,a)&&e;return e};
k.oa=function(){vh.Kb.oa.call(this);asa(this);this.eb=null};k.listen=function(a,b,c,d){return this.B.add(String(a),b,!1,c,d)};k.Lf=function(a,b,c,d){return this.B.add(String(a),b,!0,c,d)};k.Xf=function(a,b,c,d){this.B.remove(String(a),b,c,d)};
var asa=function(a){if(a.B){a=a.B;let b=0;for(let c in a.g){let d=a.g[c];for(let e=0;e<d.length;e++)++b,LR(d[e]);delete a.g[c];a.j--}}},WR=function(a,b,c,d){b=a.B.g[String(b)];if(!b)return!0;b=b.concat();var e=!0;for(let f=0;f<b.length;++f){let g=b[f];if(g&&!g.di&&g.capture==c){let h=g.listener,l=g.pa||g.src;g.Ui&&NR(a.B,g);e=h.call(l,d)!==!1&&e}}return e&&!d.defaultPrevented};vh.prototype.Ah=function(a,b,c,d){return this.B.Ah(String(a),b,c,d)};
vh.prototype.hasListener=function(a,b){return this.B.hasListener(a!==void 0?String(a):void 0,b)};var bsa=function(a){try{return n.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Z`"+a);},YR=function(a){return(new wh).aa(a)};wh.prototype.aa=function(a){var b=[];ZR(this,a,b);return b.join("")};
var ZR=function(a,b,c){if(b==null)c.push("null");else{if(typeof b=="object"){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");var e="";for(var f=0;f<b;f++)c.push(e),ZR(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],typeof f!="function"&&(c.push(e),csa(d,c),c.push(":"),ZR(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":csa(b,c);
break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("$`"+typeof b);}}},dsa={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},esa=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,csa=function(a,b){b.push('"',a.replace(esa,function(c){var d=dsa[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),
dsa[c]=d);return d}),'"')};var fsa=function(a){var b=n.onerror;n.onerror=function(c,d,e,f,g){b&&b(c,d,e,f,g);a({message:c,fileName:d,line:e,lineNumber:e,tD:f,error:g});return!0}},$R=function(a){var b=[],c=[],d={},e=function(f,g){var h=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(Vw(f)){f[bF]||c.push(f);let l=AD(f);if(d[l])b.push("*** reference loop detected (id="+
l+") ***");else{d[l]=!0;b.push("{");for(let m in f)typeof f[m]!=="function"&&(b.push("\n"),b.push(h),b.push(m+" = "),e(f[m],h));b.push("\n"+g+"}");delete d[l]}}else b.push(f)}catch(l){b.push("*** "+l+" ***")}};e(a,"");for(a=0;a<c.length;a++)wia(c[a]);return b.join("")},gsa=function(a){var b=YE("window.location.href");a==null&&(a='Unknown Error of type "null/undefined"');if(typeof a==="string")return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=
!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||n.$googDebugFname||b}catch(f){e="Not available",c=!0}b=aS(a);return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:b}:(c=a.message,c==null&&(c=a.constructor&&a.constructor instanceof Function?'Unknown Error of type "'+(a.constructor.name?a.constructor.name:bS(a.constructor))+'"':"Unknown Error of unknown type",
typeof a.toString==="function"&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())),{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"})},aS=function(a,b){b||(b={});b[cS(a)]=!0;var c=a.stack||"",d=a.cause;d&&!b[cS(d)]&&(c+="\nCaused by: ",d.stack&&d.stack.indexOf(d.toString())==0||(c+=typeof d==="string"?d:d.message+"\n"),c+=aS(d,b));a=a.errors;if(Array.isArray(a)){d=1;let e;for(e=0;e<a.length&&!(d>4);e++)b[cS(a[e])]||(c+="\nInner error "+d++ +": ",
a[e].stack&&a[e].stack.indexOf(a[e].toString())==0||(c+=typeof a[e]==="string"?a[e]:a[e].message+"\n"),c+=aS(a[e],b));e<a.length&&(c+="\n... "+(a.length-e)+" more inner errors")}return c},cS=function(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack},dS=function(a,b){a instanceof Error||(a=Error(a),Error.captureStackTrace&&Error.captureStackTrace(a,dS));a.stack||(a.stack=xp(dS));if(b){let c=0;for(;a["message"+c];)++c;a["message"+c]=String(b)}return a},eS=function(a,b){a=dS(a);
if(b)for(let c in b)lb(a,c,b[c]);return a},xp=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||xp),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=hsa(a||arguments.callee.caller,[]));return b},hsa=function(a,b){var c=[];if(Ga(b,a))c.push("[...circular reference...]");else if(a&&b.length<50){c.push(bS(a)+"(");let e=a.arguments;for(let f=0;e&&f<e.length;f++){f>0&&c.push(", ");var d=void 0;d=e[f];switch(typeof d){case "object":d=d?
"object":"null";break;case "string":break;case "number":d=String(d);break;case "boolean":d=d?"true":"false";break;case "function":d=(d=bS(d))?d:"[fn]";break;default:d=typeof d}d.length>40&&(d=d.slice(0,40)+"...");c.push(d)}b.push(a);c.push(")\n");try{c.push(hsa(a.caller,b))}catch(f){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")},bS=function(a){if(fS[a])return fS[a];a=String(a);if(!fS[a]){let b=/function\s+([^\(]+)/m.exec(a);fS[a]=
b?b[1]:"[Anonymous]"}return fS[a]},fS={};var isa=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var gS,hS=function(){};cF(hS,xh);hS.prototype.g=function(){return new XMLHttpRequest};gS=new hS;var yh=globalThis.trustedTypes,zh;var Bh=function(a){this.g=a};Bh.prototype.toString=function(){return this.g+""};var jsa=RE([""]),ksa=QE(["\x00"],["\\0"]),lsa=QE(["\n"],["\\n"]),msa=QE(["\x00"],["\\u0000"]);Eh(function(a){return a(jsa)})||Eh(function(a){return a(ksa)})||Eh(function(a){return a(lsa)})||Eh(function(a){return a(msa)});var Lh=function(a){this.g=a};Lh.prototype.toString=function(){return this.g+""};var Gh=function(a){this.g=a};Gh.prototype.toString=function(){return this.g+""};var Mh=function(a){this.g=a};Mh.prototype.toString=function(){return this.g};var Kh=function(a,b,c){b=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=b.message;"stack"in b&&(this.stack=b.stack);this.url=a;this.contentType=c};U(Kh,Error);var yca=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")},Vh=function(a){return encodeURIComponent(String(a))},iS=function(a,b){if(!Number.isFinite(a))return String(a);a=String(a);var c=a.indexOf(".");c===-1&&(c=a.length);var d=a[0]==="-"?"-":"";d&&(a=a.substring(1));return d+"0".repeat(Math.max(0,b-c))+a},NA=function(a){return a==null?"":String(a)},$h=function(){return Math.floor(Math.random()*
2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^tj()).toString(36)},nsa=Math.random()*2147483648|0,bq=function(){return"goog_"+nsa++},jS=function(a){var b=Number(a);return b==0&&la(a)?NaN:b},$ha=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},osa=function(a){var b=1;a=a.split(":");for(var c=[];b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var Oh=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),pba=/#|$/,qba=/[?&]($|#)/;var bj=function(a){vh.call(this);this.headers=new Map;this.Ua=a||null;this.C=!1;this.g=null;this.L="";this.o=0;this.D="";this.G=this.Ja=this.ka=this.Fa=!1;this.ca=0;this.H=null;this.Pa="";this.kc=this.T=!1};cF(bj,vh);var psa=/^https?$/i,qsa=["POST","PUT"],rsa=[];bj.prototype.yd=function(){this.dispose();Ka(rsa,this)};
bj.prototype.send=function(a,b,c,d){if(this.g)throw Error("ca`"+this.L+"`"+a);b=b?b.toUpperCase():"GET";this.L=a;this.D="";this.o=0;this.Fa=!1;this.C=!0;this.g=this.Ua?this.Ua.g():gS.g();this.g.onreadystatechange=mj(sj(this.Qb,this));this.kc&&"onprogress"in this.g&&(this.g.onprogress=mj(sj(function(g){this.yb(g,!0)},this)),this.g.upload&&(this.g.upload.onprogress=mj(sj(this.yb,this))));try{this.Ja=!0,this.g.open(b,String(a),!0),this.Ja=!1}catch(g){ssa(this,g);return}a=c||"";c=new Map(this.headers);
if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=q(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("da`"+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()});e=n.FormData&&a instanceof n.FormData;!Ga(qsa,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=q(c);for(d=b.next();!d.done;d=b.next())c=
q(d.value),d=c.next().value,c=c.next().value,this.g.setRequestHeader(d,c);this.Pa&&(this.g.responseType=this.Pa);"withCredentials"in this.g&&this.g.withCredentials!==this.T&&(this.g.withCredentials=this.T);try{this.H&&(clearTimeout(this.H),this.H=null),this.ca>0&&(this.H=setTimeout(this.rc.bind(this),this.ca)),this.ka=!0,this.g.send(a),this.ka=!1}catch(g){ssa(this,g)}};
bj.prototype.rc=function(){typeof XE!="undefined"&&this.g&&(this.D="Timed out after "+this.ca+"ms, aborting",this.o=8,this.dispatchEvent("timeout"),this.abort(8))};var ssa=function(a,b){a.C=!1;a.g&&(a.G=!0,a.g.abort(),a.G=!1);a.D=b;a.o=5;tsa(a);kS(a)},tsa=function(a){a.Fa||(a.Fa=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
bj.prototype.abort=function(a){this.g&&this.C&&(this.C=!1,this.G=!0,this.g.abort(),this.G=!1,this.o=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),kS(this))};bj.prototype.oa=function(){this.g&&(this.C&&(this.C=!1,this.G=!0,this.g.abort(),this.G=!1),kS(this,!0));bj.Kb.oa.call(this)};bj.prototype.Qb=function(){this.isDisposed()||(this.Ja||this.ka||this.G?usa(this):this.Ka())};bj.prototype.Ka=function(){usa(this)};
var usa=function(a){if(a.C&&typeof XE!="undefined")if(a.ka&&lS(a)==4)setTimeout(a.Qb.bind(a),0);else if(a.dispatchEvent("readystatechange"),a.j()){a.C=!1;try{mS(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.o=6,a.D=vsa(a)+" ["+a.S()+"]",tsa(a))}finally{kS(a)}}};bj.prototype.yb=function(a,b){this.dispatchEvent(wsa(a,"progress"));this.dispatchEvent(wsa(a,b?"downloadprogress":"uploadprogress"))};
var wsa=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},kS=function(a,b){if(a.g){a.H&&(clearTimeout(a.H),a.H=null);let c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};bj.prototype.isActive=function(){return!!this.g};bj.prototype.j=function(){return lS(this)==4};var mS=function(a){var b=a.S(),c;if(!(c=isa(b))){if(b=b===0)a=Ph(String(a.L)),b=!psa.test(a);c=b}return c},lS=function(a){return a.g?a.g.readyState:0};
bj.prototype.S=function(){try{return lS(this)>2?this.g.status:-1}catch(a){return-1}};var vsa=function(a){try{return lS(a)>2?a.g.statusText:""}catch(b){return""}},nS=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}};bj.prototype.ab=function(){try{if(!this.g)return null;if("response"in this.g)return this.g.response;switch(this.Pa){case "":case "text":return this.g.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.g)return this.g.mozResponseArrayBuffer}return null}catch(a){return null}};
bj.prototype.ra=function(){return this.g&&lS(this)>=2?this.g.getAllResponseHeaders()||"":""};var oS=function(a){var b={};a=a.ra().split("\r\n");for(let d=0;d<a.length;d++){if(la(a[d]))continue;var c=osa(a[d]);let e=c[0];c=c[1];if(typeof c!=="string")continue;c=c.trim();let f=b[e]||[];b[e]=f;f.push(c)}return jh(b,function(d){return d.join(", ")})},mi=function(a,b){return a.g?a.g.getResponseHeader(b):null},pS=function(a){return typeof a.D==="string"?a.D:String(a.D)};IR(function(a){bj.prototype.Ka=a(bj.prototype.Ka)});var qS=function(a,b){this.j=[];this.B=[];this.C=[];this.o=[];this.g=[];this.D=a.Us;this.G=b;this.Pb=a.Pb;this.D&&xsa(this)},Bsa=function(a,b){var c=new ysa;Sp(a.Pb,"complete",function(){if(mS(a.Pb)){var d=nS(a.Pb);var e;if(e=b)e=a.Pb,e.g&&e.j()?(e=e.g.getResponseHeader("Content-Type"),e=e===null?void 0:e):e=void 0,e=e==="text/plain";if(e){if(!atob)throw Error("ea");d=atob(d)}try{var f=a.G(d)}catch(h){rS(a,ai(new FR(13,"Error when deserializing response data; error: "+h+(", response: "+d)),c));return}d=
Zg(a.Pb.S());sS(a,tS(a));d===0?zsa(a,f):rS(a,ai(new FR(d,"Xhr succeeded but the status code is not 200"),c))}else{d=nS(a.Pb);f=tS(a);if(d){var g=Asa(a,d);d=g.code;e=g.details;g=g.metadata}else d=2,e="Rpc failed due to xhr error. uri: "+String(a.Pb.L)+", error code: "+(a.Pb.o+", error: ")+pS(a.Pb),g=f;sS(a,f);rS(a,ai(new FR(d,e,g),c))}})},xsa=function(a){a.D.Eb("data",function(b){if("1"in b){var c=b["1"];let d;try{d=a.G(c)}catch(e){rS(a,new FR(13,"Error when deserializing response data; error: "+e+
(", response: "+c)))}d&&zsa(a,d)}if("2"in b)for(b=Asa(a,b["2"]),c=0;c<a.C.length;c++)a.C[c](b)});a.D.Eb("end",function(){sS(a,tS(a));for(let b=0;b<a.o.length;b++)a.o[b]()});a.D.Eb("error",function(){if(a.g.length!==0){var b=a.Pb.o;b!==0||mS(a.Pb)||(b=6);var c=-1;switch(b){case 0:var d=2;break;case 7:d=10;break;case 8:d=4;break;case 6:c=a.Pb.S();d=Zg(c);break;default:d=14}sS(a,tS(a));b=$ra(b)+", error: "+pS(a.Pb);c!==-1&&(b+=", http status code: "+c);rS(a,new FR(d,b))}})},tS=function(a){var b={},c=
oS(a.Pb);Object.keys(c).forEach(function(d){b[d]=c[d]});return b},Asa=function(a,b){var c=2,d={};try{let f;f=Nla(b);c=Kx(f);var e=x(f,2);z(f,KL,3,B()).length&&(d["grpc-web-status-details-bin"]=b)}catch(f){a.Pb&&a.Pb.S()===404?(c=5,e="Not Found: "+String(a.Pb.L)):(c=14,e="Unable to parse RpcStatus: "+f)}return{code:c,details:e,metadata:d}};
qS.prototype.Eb=function(a,b){a==="data"?this.j.push(b):a==="metadata"?this.B.push(b):a==="status"?this.C.push(b):a==="end"?this.o.push(b):a==="error"&&this.g.push(b);return this};var uS=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)};qS.prototype.removeListener=function(a,b){a==="data"?uS(this.j,b):a==="metadata"?uS(this.B,b):a==="status"?uS(this.C,b):a==="end"?uS(this.o,b):a==="error"&&uS(this.g,b);return this};qS.prototype.cancel=function(){this.Pb.abort()};
var zsa=function(a,b){for(let c=0;c<a.j.length;c++)a.j[c](b)},sS=function(a,b){for(let c=0;c<a.B.length;c++)a.B[c](b)},rS=function(a,b){for(let c=0;c<a.g.length;c++)a.g[c](b)},ysa=function(){var a=Error.call(this);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.name="AsyncStack";Object.setPrototypeOf(this,this.constructor.prototype)};U(ysa,Error);var vS=function(){},Tha=function(a){return a},Csa=function(a){var b=a;return function(){if(b){let c=b;b=null;c()}}};var wS=function(a){this.o=a.Wg||null;this.j=a.vp||!1};cF(wS,xh);wS.prototype.g=function(){return new xS(this.o,this.j)};var xS=function(a,b){vh.call(this);this.Fa=a;this.H=b;this.G=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=null;this.ca=new Headers;this.j=null;this.ra="GET";this.ka="";this.g=!1;this.L=this.o=this.C=null;this.T=new AbortController};cF(xS,vh);
xS.prototype.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("fa");this.ra=a;this.ka=b;this.readyState=1;yS(this)};xS.prototype.send=function(a){if(this.readyState!=1)throw this.abort(),Error("ga");if(this.T.signal.aborted)throw this.abort(),Error("ha");this.g=!0;var b={headers:this.ca,method:this.ra,credentials:this.G,cache:void 0,signal:this.T.signal};a&&(b.body=a);(this.Fa||n).fetch(new Request(this.ka,b)).then(this.Ua.bind(this),this.D.bind(this))};
xS.prototype.abort=function(){this.response=this.responseText="";this.ca=new Headers;this.status=0;this.T.abort("Request was aborted.");this.o&&this.o.cancel("Request was aborted.").catch(function(){return null});this.readyState>=1&&this.g&&this.readyState!=4&&(this.g=!1,zS(this));this.readyState=0};
xS.prototype.Ua=function(a){if(this.g&&(this.C=a,this.j||(this.status=this.C.status,this.statusText=this.C.statusText,this.j=a.headers,this.readyState=2,yS(this)),this.g&&(this.readyState=3,yS(this),this.g)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.Ka.bind(this),this.D.bind(this));else if(typeof n.ReadableStream!=="undefined"&&"body"in a){this.o=a.body.getReader();if(this.H){if(this.responseType)throw Error("ia");this.response=[]}else this.response=this.responseText="",this.L=
new TextDecoder;Dsa(this)}else a.text().then(this.Pa.bind(this),this.D.bind(this))};var Dsa=function(a){a.o.read().then(a.Ja.bind(a)).catch(a.D.bind(a))};xS.prototype.Ja=function(a){if(this.g){if(this.H&&a.value)this.response.push(a.value);else if(!this.H){var b=a.value?a.value:new Uint8Array(0);if(b=this.L.decode(b,{stream:!a.done}))this.response=this.responseText+=b}a.done?zS(this):yS(this);this.readyState==3&&Dsa(this)}};xS.prototype.Pa=function(a){this.g&&(this.response=this.responseText=a,zS(this))};
xS.prototype.Ka=function(a){this.g&&(this.response=a,zS(this))};xS.prototype.D=function(){this.g&&zS(this)};var zS=function(a){a.readyState=4;a.C=null;a.o=null;a.L=null;yS(a)};xS.prototype.setRequestHeader=function(a,b){this.ca.append(a,b)};xS.prototype.getResponseHeader=function(a){return this.j?this.j.get(a.toLowerCase())||"":""};xS.prototype.getAllResponseHeaders=function(){if(!this.j)return"";for(var a=[],b=this.j.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};
var yS=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};Object.defineProperty(xS.prototype,"withCredentials",{get:function(){return this.G==="include"},set:function(a){this.G=a?"include":"same-origin"}});bi.prototype.toString=function(){var a=[],b=this.j;b&&a.push(AS(b,Esa,!0),":");var c=this.g;if(c||b=="file")a.push("//"),(b=this.C)&&a.push(AS(b,Esa,!0),"@"),a.push(Vh(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.o,c!=null&&a.push(":",String(c));if(c=this.getPath())this.g&&c.charAt(0)!="/"&&a.push("/"),a.push(AS(c,c.charAt(0)=="/"?Fsa:Gsa,!0));(c=this.B.toString())&&a.push("?",c);(c=this.G)&&a.push("#",AS(c,Hsa));return a.join("")};
bi.prototype.resolve=function(a){var b=this.clone(),c=!!a.j;c?ci(b,a.j):c=!!a.C;c?b.C=a.C:c=!!a.g;c?di(b,a.g):c=a.o!=null;var d=a.getPath();if(c)ei(b,a.o);else if(c=!!a.H){if(d.charAt(0)!="/")if(this.g&&!this.H)d="/"+d;else{var e=b.getPath().lastIndexOf("/");e!=-1&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(ma(e,"./")||ma(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");let f=[];for(let g=0;g<e.length;){let h=e[g++];h=="."?d&&g==e.length&&f.push(""):h==".."?((f.length>1||
f.length==1&&f[0]!="")&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?fi(b,d):c=a.N();c?gi(b,a.B.clone()):c=!!a.G;c&&(b.G=a.G);return b};bi.prototype.clone=function(){return new bi(this)};var ci=function(a,b,c){a.j=c?hi(b,!0):b;a.j&&(a.j=a.j.replace(/:$/,""));return a},di=function(a,b,c){a.g=c?hi(b,!0):b;return a},ei=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("ja`"+b);a.o=b}else a.o=null;return a};bi.prototype.getPath=function(){return this.H};
var fi=function(a,b,c){a.H=c?hi(b,!0):b;return a};bi.prototype.N=function(){return this.B.toString()!==""};
var gi=function(a,b,c){b instanceof ii?(a.B=b,Isa(a.B,a.D)):(c||(b=AS(b,Jsa)),a.B=new ii(b,a.D));return a},$v=function(a,b,c){a.B.set(b,c)},Rm=function(a,b,c){Array.isArray(c)||(c=[String(c)]);Ksa(a.B,b,c)},BS=function(a){$v(a,"zx",$h());return a},Lsa=function(a){return a instanceof bi?a.clone():new bi(a)},$p=function(a,b,c,d,e){var f=new bi(null);a&&ci(f,a);b&&(f.C=b);c&&di(f,c);d&&ei(f,d);e&&fi(f,e);return f},hi=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):
""},AS=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Msa),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Msa=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Esa=/[#\/\?@]/g,Gsa=/[#\?:]/g,Fsa=/[#\?]/g,Jsa=/[#\?@]/g,Hsa=/#/g,ii=function(a,b){this.j=this.g=null;this.o=a||null;this.B=!!b},CS=function(a){a.g||(a.g=new Map,a.j=0,a.o&&Sh(a.o,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=ii.prototype;
k.Qa=function(){CS(this);return this.j};k.add=function(a,b){CS(this);this.o=null;a=DS(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j+=1;return this};k.remove=function(a){CS(this);a=DS(this,a);return this.g.has(a)?(this.o=null,this.j-=this.g.get(a).length,this.g.delete(a)):!1};k.clear=function(){this.g=this.o=null;this.j=0};k.Ga=function(){CS(this);return this.j==0};var Nsa=function(a,b){CS(a);b=DS(a,b);return a.g.has(b)};
ii.prototype.forEach=function(a,b){CS(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};ii.prototype.wc=function(a){CS(this);var b=[];if(typeof a==="string")Nsa(this,a)&&(b=b.concat(this.g.get(DS(this,a))));else{a=Array.from(this.g.values());for(let c=0;c<a.length;c++)b=b.concat(a[c])}return b};ii.prototype.set=function(a,b){CS(this);this.o=null;a=DS(this,a);Nsa(this,a)&&(this.j-=this.g.get(a).length);this.g.set(a,[b]);this.j+=1;return this};
ii.prototype.get=function(a,b){if(!a)return b;a=this.wc(a);return a.length>0?String(a[0]):b};var Ksa=function(a,b,c){a.remove(b);c.length>0&&(a.o=null,a.g.set(DS(a,b),Na(c)),a.j+=c.length)};ii.prototype.toString=function(){if(this.o)return this.o;if(!this.g)return"";var a=[],b=Array.from(this.g.keys());for(let d=0;d<b.length;d++){var c=b[d];let e=Vh(c);c=this.wc(c);for(let f=0;f<c.length;f++){let g=e;c[f]!==""&&(g+="="+Vh(c[f]));a.push(g)}}return this.o=a.join("&")};
ii.prototype.clone=function(){var a=new ii;a.o=this.o;this.g&&(a.g=new Map(this.g),a.j=this.j);return a};var DS=function(a,b){b=String(b);a.B&&(b=b.toLowerCase());return b},Isa=function(a,b){b&&!a.B&&(CS(a),a.o=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),Ksa(this,e,c))},a));a.B=b};var Osa=function(a){var b="";fh(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},ES=function(a,b,c){if(oh(c))return a;c=Osa(c);if(typeof a==="string")return Zh(a,Vh(b),c);$v(a,b,c);return a};cF(ji,bh);var Psa=[];ji.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(Psa[0]=b.toString()),b=Psa);for(let e=0;e<b.length;e++){let f=Sp(a,b[e],c||this.handleEvent,d||!1,this.j||this);if(!f)break;this.g[f.key]=f}return this};ji.prototype.Lf=function(a,b,c,d){return Qsa(this,a,b,c,d)};var Qsa=function(a,b,c,d,e,f){if(Array.isArray(c))for(let g=0;g<c.length;g++)Qsa(a,b,c[g],d,e,f);else{b=QR(b,c,d||a.handleEvent,e,f||a.j||a);if(!b)return a;a.g[b.key]=b}return a};
ji.prototype.Xf=function(a,b,c,d,e){if(Array.isArray(b))for(let f=0;f<b.length;f++)this.Xf(a,b[f],c,d,e);else c=c||this.handleEvent,d=Vw(d)?!!d.capture:!!d,e=e||this.j||this,c=RR(c),d=!!d,b=KR(a)?a.Ah(b,c,d,e):a?(a=SR(a))?a.Ah(b,c,d,e):null:null,b&&(UR(b),delete this.g[b.key])};var GS=function(a){fh(a.g,function(b,c){this.g.hasOwnProperty(c)&&UR(b)},a);a.g={}};ji.prototype.oa=function(){ji.Kb.oa.call(this);GS(this)};ji.prototype.handleEvent=function(){throw Error("la");};var Rsa=function(){this.o=!0;this.j=0;this.g=""};var HS=function(a,b,c,d){a.j=3;a.N="The stream is broken @"+a.ba+"/"+c+". Error: "+d+". With input:\n"+b;throw Error(a.N);};ki.prototype.H=function(){return!0};
ki.prototype.parse=function(a){function b(l){l&128&&HS(f,g,h,"invalid tag");(l&7)!=2&&HS(f,g,h,"invalid wire type");f.o=l>>>3;f.o!=1&&f.o!=2&&f.o!=15&&HS(f,g,h,"unexpected tag");f.j=1;f.g=0;f.B=0}function c(l){f.B++;f.B==5&&l&240&&HS(f,g,h,"message length too long");f.g|=(l&127)<<(f.B-1)*7;l&128||(f.j=2,f.G=0,typeof Uint8Array!=="undefined"?f.C=new Uint8Array(f.g):f.C=Array(f.g),f.g==0&&e())}function d(l){f.C[f.G++]=l;f.G==f.g&&e()}function e(){if(f.o<15){let l={};l[f.o]=f.C;f.D.push(l)}f.j=0}for(var f=
this,g=a instanceof Array?a:new Uint8Array(a),h=0;h<g.length;){switch(f.j){case 3:HS(f,g,h,"stream already broken");break;case 0:b(g[h]);break;case 1:c(g[h]);break;case 2:d(g[h]);break;default:throw Error("na`"+f.j);}f.ba++;h++}a=f.D;f.D=[];return a.length>0?a:null};var oi=function(){this.g=null;this.j=0;this.o=new Rsa;this.B=new ki},Ssa=function(a,b,c){a.g="The stream is broken @"+a.j+". Error: "+c+". With input:\n"+b;throw Error(a.g);};oi.prototype.H=function(){return!1};
oi.prototype.parse=function(a){this.g!==null&&Ssa(this,a,"stream already broken");var b=null;try{{var c=this.o;if(!c.o)throw c.o=!1,Error("ma`"+c.j+"`stream already broken`"+a);c.g+=a;let h=Math.floor(c.g.length/4);if(h==0)var d=null;else{try{var e=faa(c.g.slice(0,h*4))}catch(l){var f=c.g,g=l.message;c.o=!1;throw Error("ma`"+c.j+"`"+g+"`"+f);}c.j+=h*4;c.g=c.g.slice(h*4);d=e}}b=d===null?null:this.B.parse(d)}catch(h){Ssa(this,a,h.message)}this.j+=a.length;return b};var IS=function(a){return a=="\r"||a=="\n"||a==" "||a=="\t"};li.prototype.done=function(){return this.G===2};var JS=function(a,b,c){a.G=3;a.ba="The stream is broken @"+a.o+"/"+c+". With input:\n"+b;throw Error(a.ba);};li.prototype.H=function(){return!1};
li.prototype.parse=function(a){function b(){for(;t<a.length;)if(IS(a[t]))t++,f.o++;else break;return t<l}function c(){for(var A;;){A=a[t++];if(!A)break;f.o++;switch(f.g){case 0:A==="{"?f.g=2:A==="["?f.g=4:IS(A)||JS(f,a,t);continue;case 7:case 2:if(IS(A))continue;if(f.g===7)g.push(8);else if(A==="}"){e("{}");f.g=d();continue}else g.push(3);A==='"'?f.g=6:JS(f,a,t);continue;case 8:case 3:if(IS(A))continue;A===":"?(f.g===3&&(g.push(3),f.j++),f.g=1):A==="}"?(f.j--,e(),f.g=d()):A===","?(f.g===3&&g.push(3),
f.g=7):JS(f,a,t);continue;case 4:case 1:if(IS(A))continue;if(f.g===4)if(f.j++,f.g=1,A==="]"){f.j--;if(f.j===0){f.g=5;return}e("[]");f.g=d();continue}else g.push(5);A==='"'?f.g=6:A==="{"?f.g=2:A==="["?f.g=4:A==="t"?f.g=9:A==="f"?f.g=12:A==="n"?f.g=16:A!=="-"&&("0123456789".indexOf(A)!==-1?f.g=20:JS(f,a,t));continue;case 5:if(A===",")g.push(5),f.g=1,f.j===1&&(p=t);else if(A==="]"){f.j--;if(f.j===0)return;e();f.g=d()}else if(IS(A))continue;else JS(f,a,t);continue;case 6:let M=t;a:for(;;){for(;f.N>0;)if(A=
a[t++],f.N===4?f.N=0:f.N++,!A)break a;if(A==='"'&&!f.D){f.g=d();break}if(A==="\\"&&!f.D&&(f.D=!0,A=a[t++],!A))break;if(f.D)if(f.D=!1,A==="u"&&(f.N=1),A=a[t++])continue;else break;h.lastIndex=t;A=h.exec(a);if(!A){t=a.length+1;break}t=A.index+1;A=a[A.index];if(!A)break}f.o+=t-M;continue;case 9:if(!A)continue;A==="r"?f.g=10:JS(f,a,t);continue;case 10:if(!A)continue;A==="u"?f.g=11:JS(f,a,t);continue;case 11:if(!A)continue;A==="e"?f.g=d():JS(f,a,t);continue;case 12:if(!A)continue;A==="a"?f.g=13:JS(f,a,
t);continue;case 13:if(!A)continue;A==="l"?f.g=14:JS(f,a,t);continue;case 14:if(!A)continue;A==="s"?f.g=15:JS(f,a,t);continue;case 15:if(!A)continue;A==="e"?f.g=d():JS(f,a,t);continue;case 16:if(!A)continue;A==="u"?f.g=17:JS(f,a,t);continue;case 17:if(!A)continue;A==="l"?f.g=18:JS(f,a,t);continue;case 18:if(!A)continue;A==="l"?f.g=d():JS(f,a,t);continue;case 19:A==="."?f.g=20:JS(f,a,t);continue;case 20:if("0123456789.eE+-".indexOf(A)!==-1)continue;else t--,f.o--,f.g=d();continue;default:JS(f,a,t)}}}
function d(){var A=g.pop();return A!=null?A:1}function e(A){f.j>1||(A||(A=p===-1?f.B+a.substring(m,t):a.substring(p,t)),f.L?f.C.push(A):f.C.push(JSON.parse(A)),p=t)}for(var f=this,g=f.T,h=f.ca,l=a.length,m=0,p=-1,t=0;t<l;)switch(f.G){case 3:return JS(f,a,t),null;case 2:return b()&&JS(f,a,t),null;case 0:if(b()){var w=a[t++];f.o++;if(w==="["){f.G=1;m=t;f.g=4;continue}else JS(f,a,t)}return null;case 1:return c(),f.j===0&&f.g==5?(f.G=2,f.B=a.substring(t)):f.B=p===-1?f.B+a.substring(m):a.substring(p),
f.C.length>0?(w=f.C,f.C=[],w):null}return null};var ni=function(){this.C=this.o=null;this.j=this.g=0;this.B=[];this.D=!1};ni.prototype.H=function(){return!1};
ni.prototype.parse=function(a){function b(l){f.j=6;f.C="The stream is broken @"+f.g+"/"+g+". Error: "+l+". With input:\n";throw Error(f.C);}function c(){f.o=new li({lD:!0,tr:!0})}function d(l){if(l)for(let m=0;m<l.length;m++){let p={};p[1]=l[m];f.B.push(p)}}function e(l){if(l){(f.D||l.length>1)&&b("extra status: "+l);f.D=!0;let m={};m[2]=l[0];f.B.push(m)}}for(var f=this,g=0;g<a.length;){var h;if(h=f.j!==2){a:{for(;g<a.length;){if(!IS(a[g])){h=!0;break a}g++;f.g++}h=!1}h=!h}if(h)return null;switch(f.j){case 6:b("stream already broken");
break;case 0:a[g]==="["?(f.j=1,g++,f.g++):b("unexpected input token");break;case 1:a[g]==="["?(f.j=2,c()):a[g]===","||a.slice(g,g+5)=="null,"?f.j=3:a[g]==="]"?(f.j=5,g++,f.g++):b("unexpected input token");break;case 2:h=f.o.parse(a.substring(g));d(h);f.o.done()?(f.j=3,h=f.o.B,f.g+=a.length-g-h.length,a=h,g=0):(f.g+=a.length-g,g=a.length);break;case 3:a[g]===","||a.slice(g,g+5)=="null,"?(f.j=4,c(),f.o.parse("["),g+=a[g]===","?1:5,f.g++):a[g]==="]"&&(f.j=5,g++,f.g++);break;case 4:h=f.o.parse(a.substring(g));
e(h);f.o.done()?(f.j=5,h=f.o.B,f.g+=a.length-g-h.length,a=h,g=0):(f.g+=a.length-g,g=a.length);break;case 5:b("extra input after stream end")}}return f.B.length>0?(a=f.B,f.B=[],a):null};var KS=function(a){this.g=a;this.j=null;this.C=this.o=0;this.H=!1;this.B=this.G=this.D=null;this.N=new ji(this);this.N.listen(this.g,"readystatechange",this.ba)},LS=function(a,b){a.C!=b&&(a.C=b,a.G&&a.G())},MS=function(a){GS(a.N);if(a.g){let b=a.g;a.g=null;b.abort();b.dispose()}};KS.prototype.S=function(){return this.C};
KS.prototype.ba=function(a){a=a.target;try{if(a==this.g)a:{let f=lS(this.g);var b=this.g.o,c=this.g.S();let g=nS(this.g);a=[];if(this.g.ab()instanceof Array){let h=this.g.ab();h.length>0&&h[0]instanceof Uint8Array&&(this.H=!0,a=h)}if(!(f<3||f==3&&!g&&a.length==0))if(c=c==200||c==206,f==4&&(b==8?LS(this,7):b==7?LS(this,8):c||LS(this,3)),this.j||(this.j=sba(this.g),this.j==null&&LS(this,5)),this.C>2)MS(this);else{if(a.length>this.o){let h=a.length;b=[];try{if(this.j.H())for(var d=0;d<h;d++){var e=this.j.parse(Array.from(a[d]));
e&&(b=b.concat(e))}else{e="";if(!this.D){if(typeof TextDecoder==="undefined")throw Error("oa");this.D=new TextDecoder}for(d=0;d<h;d++)e+=this.D.decode(a[d],{stream:f==4&&d==h-1});b=this.j.parse(e)}a.splice(0,h);b&&this.B(b)}catch(l){LS(this,5);MS(this);break a}}else if(g.length>this.o){d=g.slice(this.o);this.o=g.length;try{let h=this.j.parse(d);h!=null&&this.B&&this.B(h)}catch(h){LS(this,5);MS(this);break a}}f==4?(g.length!=0||this.H?LS(this,2):LS(this,4),MS(this)):LS(this,1)}}}catch(f){LS(this,6),
MS(this)}};var NS=function(a){a=this.o=a;var b=sj(this.Xs,this);a.B=b;a=this.o;b=sj(this.B,this);a.G=b;this.j={};this.g={}};k=NS.prototype;k.Eb=function(a,b){var c=this.j[a];c||(c=[],this.j[a]=c);c.push(b);return this};k.addListener=function(a,b){this.Eb(a,b);return this};k.removeListener=function(a,b){var c=this.j[a];c&&Ka(c,b);(a=this.g[a])&&Ka(a,b);return this};k.once=function(a,b){var c=this.g[a];c||(c=[],this.g[a]=c);c.push(b);return this};
k.Xs=function(a){var b=this.j.data;b&&Tsa(a,b);(b=this.g.data)&&Tsa(a,b);this.g.data=[]};var Tsa=function(a,b){for(let c=0;c<a.length;c++){let d=a[c];b.forEach(function(e){try{e(d)}catch(f){}})}};NS.prototype.B=function(){switch(this.o.S()){case 1:OS(this,"readable");break;case 5:case 6:case 4:case 7:case 3:OS(this,"error");break;case 8:OS(this,"close");break;case 2:OS(this,"end")}};
var OS=function(a,b){var c=a.j[b];c&&c.forEach(function(d){try{d()}catch(e){}});(c=a.g[b])&&c.forEach(function(d){d()});a.g[b]=[]};var Usa=function(a){a=a===void 0?{}:a;this.tm=a.tm||YE("suppressCorsPreflight",a)||!1;this.withCredentials=a.withCredentials||YE("withCredentials",a)||!1;this.sm=a.sm||[];this.zp=a.zp||[];this.Bm=a.Bm;this.g=a.nE||!1},Xsa=function(a,b,c,d,e,f){f=f===void 0?{}:f;var g=b.substring(0,b.length-e.name.length),h,l=(h=f)==null?void 0:h.signal;return Vsa(function(m){return new Promise(function(p,t){if(l==null?0:l.aborted){let M=new FR(1,"Aborted");M.cause=l.reason;t(M)}else{var w={},A=Wsa(a,m,g);A.Eb("error",
function(M){return void t(M)});A.Eb("metadata",function(M){w=M});A.Eb("data",function(M){var da=w;da=da===void 0?{}:da;p(new MQ(M,da))});l&&l.addEventListener("abort",function(){A.cancel();var M=new FR(1,"Aborted");M.cause=l.reason;t(M)})}})},a.zp).call(a,e.createRequest(c,d)).then(function(m){return m.qt})},PS=function(a,b,c,d,e,f){f=f===void 0?{}:f;return Xsa(a,b,c,d,e,f)},bta=function(a,b,c,d){var e=b.substring(0,b.length-Kra.name.length);return Ysa(function(f){var g=f.Qo,h=f.getMetadata(),l=Zsa(a,
!1);h=$sa(a,h,l,e+g.getName());var m=ata(l,g.j,!0);f=g.g(f.requestMessage);l.send(h,"POST",f);return m},a.sm).call(a,Kra.createRequest(c,d))},Wsa=function(a,b,c){var d=b.Qo,e=b.getMetadata(),f=Zsa(a,!0);a=$sa(a,e,f,c+d.getName());c=ata(f,d.j,!1);Bsa(c,e["X-Goog-Encode-Response-If-Executable"]==="base64");b=d.g(b.requestMessage);f.send(a,"POST",b);return c},Zsa=function(a,b){b=a.g&&!b;return a.Bm||b?new bj(new wS({Wg:a.Bm,vp:b})):new bj},$sa=function(a,b,c,d){b["Content-Type"]="application/json+protobuf";
b["X-User-Agent"]="grpc-web-javascript/0.1";var e=b.Authorization;if(e&&Sra.has(e.split(" ")[0])||a.withCredentials)c.T=!0;if(a.tm)d=ES(d,"$httpHeaders",b);else for(a=q(Object.keys(b)),e=a.next();!e.done;e=a.next())e=e.value,c.headers.set(e,b[e]);return d},ata=function(a,b,c){if(c){c=new KS(a);var d=new NS(c)}return new qS({Pb:a,Us:d},b)},Ysa=function(a,b){return b.reduce(function(c,d){return function(e){return d.intercept(e,c)}},a)},Vsa=function(a,b){return b.reduce(function(c,d){return function(e){return d.intercept(e,
c)}},a)};var QS=function(a){var b=Error.call(this,a?a.length+" errors occurred during unsubscription:\n"+a.map(function(c,d){return d+1+") "+c.toString()}).join("\n  "):"");this.message=b.message;"stack"in b&&(this.stack=b.stack);this.errors=a;Object.setPrototypeOf(this,this.constructor.prototype);this.name="UnsubscriptionError"};U(QS,Error);var ri=function(a){this.B=a;this.closed=!1;this.o=this.j=null};k=ri.prototype;
k.unsubscribe=function(){if(!this.closed){this.closed=!0;let d=this.j;if(Array.isArray(d))for(var a=q(d),b=a.next();!b.done;b=a.next())b.value.remove(this);else d==null||d.remove(this);a=this.B;if(qi(a))try{a()}catch(f){var c=f instanceof QS?f.errors:[f]}let e=this.o;if(e)for(this.o=null,a=q(e),b=a.next();!b.done;b=a.next()){b=b.value;try{qi(b)?b():b.unsubscribe()}catch(f){let g;c=(g=c)!=null?g:[];f instanceof QS?c=[].concat(r(c),r(f.errors)):c.push(f)}}if(c)throw new QS(c);}};
k.add=function(a){if(a&&a!==this)if(this.closed)qi(a)?a():a.unsubscribe();else{if(a instanceof ri){if(a.closed||a.Uq(this))return;a.Sq(this)}let b;(this.o=(b=this.o)!=null?b:[]).push(a)}};k.Uq=function(a){var b=this.j;return b===a||Array.isArray(b)&&b.includes(a)};k.Sq=function(a){var b=this.j;this.j=Array.isArray(b)?(b.push(a),b):b?[b,a]:a};k.Wq=function(a){var b=this.j;b===a?this.j=null:Array.isArray(b)&&pi(b,a)};k.remove=function(a){var b=this.o;b&&pi(b,a);a instanceof ri&&a.Wq(this)};
var cta=new ri;cta.closed=!0;ri.g=cta;var tba=function(){setTimeout.apply(null,r(cc.apply(0,arguments)))};var RS=function(a){ri.call(this);this.g=!1;this.destination=a instanceof RS?a:new SS(!a||qi(a)?{next:a!=null?a:void 0}:a);si(a)&&a.add(this)};U(RS,ri);RS.g=ri.g;RS.create=function(a,b,c){return new Gi(a,b,c)};k=RS.prototype;k.next=function(a){this.g||this.fn(a)};k.error=function(a){this.g||(this.g=!0,this.en(a))};k.complete=function(){this.g||(this.g=!0,this.dn())};k.unsubscribe=function(){this.closed||(this.g=!0,ri.prototype.unsubscribe.call(this))};k.fn=function(a){this.destination.next(a)};
k.en=function(a){this.destination.error(a);this.unsubscribe()};k.dn=function(){this.destination.complete();this.unsubscribe()};var SS=function(a){this.g=a};SS.prototype.next=function(a){var b=this.g;if(b.next)try{b.next(a)}catch(c){zi(c)}};SS.prototype.error=function(a){var b=this.g;if(b.error)try{b.error(a)}catch(c){zi(c)}else zi(a)};SS.prototype.complete=function(){var a=this.g;if(a.complete)try{a.complete()}catch(b){zi(b)}};
var Gi=function(a,b,c){RS.call(this);var d;qi(a)||!a?d={next:a!=null?a:void 0,error:b!=null?b:void 0,complete:c!=null?c:void 0}:d=a;this.destination=new SS(d)};U(Gi,RS);Gi.g=RS.g;Gi.create=RS.create;var Ci=typeof Symbol==="function"&&Symbol.observable||"@@observable";var Bi=function(a){a&&(this.tf=a)};k=Bi.prototype;k.Dl=function(a){var b=new Bi;b.source=this;b.operator=a;return b};k.subscribe=function(a,b,c){a=a&&a instanceof RS||a&&qi(a.next)&&qi(a.error)&&qi(a.complete)&&si(a)?a:new Gi(a,b,c);b=this.operator;c=this.source;a.add(b?b.call(a,c):c?this.tf(a):this.Dk(a));return a};k.Dk=function(a){try{return this.tf(a)}catch(b){a.error(b)}};
k.forEach=function(a,b){var c=this;b=vba(b);return new b(function(d,e){var f=c.subscribe(function(g){try{a(g)}catch(h){e(h),f==null||f.unsubscribe()}},e,d)})};k.tf=function(a){var b;return(b=this.source)==null?void 0:b.subscribe(a)};Bi.prototype[Ci]=function(){return this};Bi.prototype.j=function(){var a=cc.apply(0,arguments);return a.length?uba(a)(this):this};Bi.create=function(a){return new Bi(a)};var dta=function(){var a=Error.call(this,"object unsubscribed");this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,this.constructor.prototype);this.name="ObjectUnsubscribedError"};U(dta,Error);var TS=function(){this.observers=[];this.Ef=this.g=this.closed=!1;this.B=null};U(TS,Bi);k=TS.prototype;k.Dl=function(a){var b=new US(this,this);b.operator=a;return b};k.ng=function(){if(this.closed)throw new dta;};k.next=function(a){this.ng();if(!this.g)for(var b=q(this.observers.slice()),c=b.next();!c.done;c=b.next())c.value.next(a)};k.error=function(a){this.ng();if(!this.g){this.Ef=this.g=!0;this.B=a;let b=this.observers;for(;b.length;)b.shift().error(a)}};
k.complete=function(){this.ng();if(!this.g){this.g=!0;let a=this.observers;for(;a.length;)a.shift().complete()}};k.unsubscribe=function(){this.g=this.closed=!0;this.observers=null};k.Dk=function(a){this.ng();return Bi.prototype.Dk.call(this,a)};k.tf=function(a){this.ng();this.Tq(a);return this.Vq(a)};k.Vq=function(a){var b=this,c=this.g,d=this.observers;return this.Ef||c?ri.g:(d.push(a),new ri(function(){return pi(b.observers,a)}))};k.Tq=function(a){var b=this.B,c=this.g;this.Ef?a.error(b):c&&a.complete()};
var eta=function(a){var b=new Bi;b.source=a;return b};JE.Object.defineProperties(TS.prototype,{C:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.observers)==null?void 0:a.length)>0}}});TS.create=function(a,b){return new US(a,b)};var US=function(a,b){TS.call(this);this.destination=a;this.source=b};U(US,TS);US.create=TS.create;US.prototype.next=function(a){var b,c;(b=this.destination)==null||(c=b.next)==null||c.call(b,a)};
US.prototype.error=function(a){var b,c;(b=this.destination)==null||(c=b.error)==null||c.call(b,a)};US.prototype.complete=function(){var a,b;(a=this.destination)==null||(b=a.complete)==null||b.call(a)};US.prototype.tf=function(a){var b,c;return(c=(b=this.source)==null?void 0:b.subscribe(a))!=null?c:ri.g};var Wi=function(a){TS.call(this);this.o=a};U(Wi,TS);Wi.create=TS.create;Wi.prototype.tf=function(a){var b=TS.prototype.tf.call(this,a);!b.closed&&a.next(this.o);return b};Wi.prototype.getValue=function(){var a=this.B,b=this.o;if(this.Ef)throw a;this.ng();return b};Wi.prototype.next=function(a){TS.prototype.next.call(this,this.o=a)};JE.Object.defineProperties(Wi.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Xba=new Bi(function(a){return a.complete()});var Ei=typeof Symbol==="function"&&Symbol.iterator?Symbol.iterator:"@@iterator";var Hi=function(){var a=Error.call(this,"no elements in sequence");this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,this.constructor.prototype);this.name="EmptyError"};U(Hi,Error);var Ki=function(a,b,c,d,e){RS.call(this,a);this.C=e;b&&(this.fn=function(f){try{b(f)}catch(g){this.destination.error(g)}});c&&(this.en=function(f){try{c(f)}catch(g){this.destination.error(g)}this.unsubscribe()});d&&(this.dn=function(){try{d()}catch(f){this.destination.error(f)}this.unsubscribe()})};U(Ki,RS);Ki.g=RS.g;Ki.create=RS.create;Ki.prototype.unsubscribe=function(){var a;this.closed||(a=this.C)!=null&&a.call(this);RS.prototype.unsubscribe.call(this)};var VS=new Bi(yi);var WS=function(a,b){b=b||{};b.format="jspb";this.g=new Usa(b);this.j=a==void 0?a:a.replace(/\/+$/,"")};WS.prototype.oe=function(){var a=this;return new Bi(function(b){var c=new AbortController;PS(a.g,a.j+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/GetAccount",void 0,{},era,{signal:c.signal}).then(function(d){b.next(d);b.complete()},function(d){b.error(d)});return function(){c.abort()}})};
WS.prototype.listItems=function(a,b){var c=this;return new Bi(function(d){var e=new AbortController;PS(c.g,c.j+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/ListItems",a,b||{},vra,{signal:e.signal}).then(function(f){d.next(f);d.complete()},function(f){d.error(f)});return function(){e.abort()}})};
var fta=function(a,b,c){return new Bi(function(d){var e=bta(a.g,a.j+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/SearchItems",b,c||{});e.Eb("data",function(f){d.next(f)});e.Eb("error",function(f){d.error(f)});e.Eb("status",function(f){f.code!==0&&d.error(new FR(f.code,f.details,f.metadata))});e.Eb("end",function(){d.complete()});return function(){e.cancel()}})};
WS.prototype.listWorkspaces=function(a,b){var c=this;return new Bi(function(d){var e=new AbortController;PS(c.g,c.j+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/ListWorkspaces",a,b||{},Ara,{signal:e.signal}).then(function(f){d.next(f);d.complete()},function(f){d.error(f)});return function(){e.abort()}})};
WS.prototype.hm=function(a,b){var c=this;return new Bi(function(d){var e=new AbortController;PS(c.g,c.j+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/RewindPreflight",a,b||{},Dra,{signal:e.signal}).then(function(f){d.next(f);d.complete()},function(f){d.error(f)});return function(){e.abort()}})};
WS.prototype.Uk=function(a,b){var c=this;return new Bi(function(d){var e=new AbortController;PS(c.g,c.j+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/DeleteApp",a,b||{},Xqa,{signal:e.signal}).then(function(f){d.next(f);d.complete()},function(f){d.error(f)});return function(){e.abort()}})};var gta=Ig(dR);var hta=function(a){this.A=u(a)};U(hta,v);var ita=function(a){this.A=u(a)};U(ita,v);var kca=new Lqa;var jta=new AQ("45723104");var lca=new AQ("45765314");var kta=new BQ("45783852",1),lta=new BQ("45775584",0),mta=new AQ("45798772"),nta=new AQ("45788753"),ota=new AQ("45798771"),pta=new AQ("45775398"),qta=new AQ("45798443"),rta=new AQ("45772706"),sta=new BQ("45767159",0),tta=new AQ("45685754"),uta=new AQ("45724259"),vta=new AQ("45681910"),wta=new AQ("45747769"),xta=new AQ("45729467"),yta=new AQ("45712870"),zta=new AQ("45708298"),Ata=new AQ("45746380");var Bta=new AQ("45668197");var Cta=new AQ("45796590"),Dta=new AQ("45736727"),Eta=new AQ("45686666"),Fta=new AQ("45686667"),Gta=new AQ("45699702"),Hta=new AQ("45730498"),Ita=new AQ("45730506"),Jta=new AQ("45658291"),Kta=new AQ("45658644"),Lta=new AQ("45658679"),Mta=new AQ("45658949"),Nta=new AQ("45672205"),Ota=new AQ("45672206"),Pta=new AQ("45672213"),Qta=new AQ("45672211"),Rta=new AQ("45661086"),Sta=new AQ("45760024"),Tta=new AQ("45760386"),Uta=new AQ("45658716"),Vta=new AQ("45658731"),Wta=new AQ("45736482"),Xta=new AQ("45686662"),
Yta=new AQ("45686664"),Zta=new AQ("45686663"),$ta=new AQ("45672066"),aua=new AQ("45672085"),bua=new AQ("45672203"),cua=new AQ("45672202"),dua=new AQ("45686665"),eua=new AQ("45677009"),fua=new AQ("45676996"),gua=new AQ("45731897"),hua=new AQ("45745030"),iua=new AQ("45673686"),jua=new AQ("45673687"),kua=new AQ("45678187");var lua=!!($E[1]&1024);var mua=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("sa`"+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("ta`"+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};Oi.prototype.reset=function(){this.g=this.B;this.o=!1};var nua=function(a){var b=0;a.o&&(b=a.C()*.2,b=Math.ceil((1-b)*a.g),a.g<a.j&&(a.g*=2,a.g>a.j&&(a.g=a.j)));a.o=!0;return b};var pua=function(a,b,c){var d=String(n.location.href);return d&&a&&b?[b,oua(mua(d),a,c||null)].join(" "):null},oua=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],Za(d,function(h){e.push(h)}),qua(e.join(" "));var f=[],g=[];Za(c,function(h){g.push(h.key);f.push(h.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];Za(d,function(h){e.push(h)});a=qua(e.join(" "));a=[c,a];g.length==0||a.push(g.join(""));return a.join("_")},qua=function(a){var b=
Gba();b.update(a);return b.digestString().toLowerCase()};k=Pi.prototype;k.isEnabled=function(){if(!n.navigator.cookieEnabled)return!1;if(!this.Ga())return!0;this.set("TESTCOOKIESENABLED","1",{Mo:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0};
k.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Mo}if(/[;=\s]/.test(a))throw Error("ua`"+a);if(/[;\r\n]/.test(b))throw Error("va`"+b);h===void 0&&(h=-1);this.g.cookie=a+"="+b+(f?";domain="+f:"")+(g?";path="+g:"")+(h<0?"":h==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+h*1E3)).toUTCString())+(d?";secure":"")+(e!=null?";samesite="+e:"")};
k.get=function(a,b){var c=a+"=",d=(this.g.cookie||"").split(";");for(let e=0,f;e<d.length;e++){f=d[e].trim();if(f.lastIndexOf(c,0)==0)return f.slice(c.length);if(f==a)return""}return b};k.remove=function(a,b,c){var d=this.get(a)!==void 0;this.set(a,"",{Mo:0,path:b,domain:c});return d};k.wc=function(){return rua(this).values};k.Ga=function(){return!this.g.cookie};k.Qa=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
k.clear=function(){var a=rua(this).keys;for(let b=a.length-1;b>=0;b--)this.remove(a[b])};var rua=function(a){a=(a.g.cookie||"").split(";");var b=[],c=[];for(let f=0;f<a.length;f++){var d=a[f].trim();var e=d.indexOf("=");e==-1?(b.push(""),c.push(d)):(b.push(d.substring(0,e)),c.push(d.substring(e+1)))}return{keys:b,values:c}};var sua=function(a,b,c,d){(a=n[a])||typeof document==="undefined"||(a=(new Pi).get(b));return a?pua(a,c,d):null},Hw=function(a){var b=mua(n==null?void 0:n.location.href),c=[],d;(d=n.__SAPISID||n.__APISID||n.__3PSAPISID||n.__1PSAPISID||n.__OVERRIDE_SID)?d=!0:(typeof document!=="undefined"&&(d=new Pi,d=d.get("SAPISID")||d.get("APISID")||d.get("__Secure-3PAPISID")||d.get("__Secure-1PAPISID")),d=!!d);if(d){var e=(d=b=b.indexOf("https:")==0||b.indexOf("chrome-extension:")==0||b.indexOf("chrome-untrusted://new-tab-page")==
0||b.indexOf("moz-extension:")==0)?n.__SAPISID:n.__APISID;e||typeof document==="undefined"||(e=new Pi,e=e.get(d?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(d=e?pua(e,d?"SAPISIDHASH":"APISIDHASH",a):null)&&c.push(d);b&&((b=sua("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&c.push(b),(a=sua("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&c.push(a))}return c.length==0?null:c.join(" ")};var XS=function(a){this.A=u(a)};U(XS,v);XS.prototype.Ff=function(){return XF(this,1)};var YS=function(a){this.A=u(a)};U(YS,v);var uua=function(){var a=new YS;return Ij(a,1,tua,zc(!0))},vua=function(){var a=new YS;return Ij(a,2,tua,zc(!0))},tua=[1,2,3,15];var Nj=function(a){this.A=u(a)};U(Nj,v);var Mj=function(a){this.A=u(a)};U(Mj,v);var Oj=[1,2,3,4,5,6,7,8,9,10,11,12,13];var Lj=function(a){this.A=u(a)};U(Lj,v);var Hj=function(a){this.A=u(a)};U(Hj,v);Hj.prototype.getName=function(){return x(this,mk(this,Jj,1))};var Jj=[1,2];var ZS=function(a){this.A=u(a)};U(ZS,v);ZS.prototype.getPath=function(){return O(this,Lj,3)};var wua=function(a){this.A=u(a)};U(wua,v);var $S=function(a){this.A=u(a)};U($S,v);$S.prototype.Ff=function(){return Yc(rk(this,3))!=null};var xua=function(a){this.A=u(a)};U(xua,v);var yua=[2,3,6];var zua=function(a){this.A=u(a)};U(zua,v);var Aua=function(a){this.A=u(a)};U(Aua,v);var Bua=function(a){this.A=u(a)};U(Bua,v);var aT=function(a){this.A=u(a)};U(aT,v);var Cua=[2,3];var bT=function(a){this.A=u(a)};U(bT,v);var cT=function(a){this.A=u(a)};U(cT,v);var dT=function(a){this.A=u(a)};U(dT,v);var eT=function(a){this.A=u(a)};U(eT,v);eT.prototype.S=function(){return O(this,dT,1)};eT.prototype.setStatus=function(a){return K(this,1,a)};eT.prototype.na=function(){return vB(this,dT,1)};var Dua=function(a){this.A=u(a)};U(Dua,v);var Eua=function(a){this.A=u(a)};U(Eua,v);var Fua=function(a){this.A=u(a)};U(Fua,v);var fT=function(a){this.A=u(a)};U(fT,v);fT.prototype.setStart=function(a){return y(this,1,gT,a)};var gT=[1,2,3,5];var Gua=function(a){this.A=u(a)};U(Gua,v);var hT=[2,3,4];var iT=function(a){this.A=u(a)};U(iT,v);var jT=function(a){this.A=u(a)};U(jT,v);jT.prototype.S=function(){return O(this,iT,2)};jT.prototype.setStatus=function(a){return K(this,2,a)};jT.prototype.na=function(){return vB(this,iT,2)};var Hua=function(a){this.A=u(a)};U(Hua,v);var Iua=function(a){this.A=u(a)};U(Iua,v);var kT=function(){dh.call(this,"d")};cF(kT,dh);var lT=function(){dh.call(this,"c")};cF(lT,dh);var Jua=function(a,b,c,d,e){this.uri=a;this.authMethod=b;this.g=c;this.Qd=d;this.Bg=e},Kua=function(a){var b=a.uri.clone();a.Qd&&di(b,Math.floor(Math.random()*10).toString()+"-"+b.g);return b},mT=function(a,b,c,d,e){this.o=a;this.j=b;this.config=c;this.Nk=d;this.state=0;this.g=new ji;this.channel=Lua(this,e)};mT.prototype.Fh=function(a){this.j.Zh(a,(new nT(this.channel.g)).g.pl);a.status!==0&&(this.state=2)};
var Lua=function(a,b){b={ut:!0,Gl:"application/json+protobuf",Mr:void 0,Ss:Object.assign({},{gsessionid:b},a.config.authMethod.Bh()),wr:!a.config.Bg,Bg:a.config.Bg,Ht:a.config.g,Rs:a.config.authMethod.zh(),wp:a.config.authMethod.ti()};b=a.Nk(Kua(a.config).toString(),b);a.g.listen(b,"a",function(){var c=a.j;c.j(new Mua);var d=ML(new LL,0);try{c.B.next(d)}catch(e){}});a.g.listen(b,"b",function(){a.j.onClose((new nT(a.channel.g)).g.pl);a.state=2;asa(a.channel);GS(a.g)});a.g.listen(b,"d",function(c){if(c.data&&
Array.isArray(c.data)&&c.data.length===1)if(c.o&&c.o==="status"){let d=rf(LL,c.data[0][0]);c=a.j;Kx(d)!==0&&(c.j(new Nua(ie(d))),c.handleError(d))}else c=rf(jT,c.data[0]),a.o(c)});a.g.listen(b,"c",function(c){a.Fh(c)});return b};mT.prototype.open=function(){this.state===0&&(this.state=1,this.channel.open())};mT.prototype.close=function(){this.state!==2&&this.channel.close()};mT.prototype.send=function(a){a=a.aa();this.channel.send(a)};var Oua,Pua,Qua=new XS;Pua=J(Qua,1,9);Oua=H(Pua,2,5);var Si=function(a){this.g=a};Si.prototype.equals=function(a){return this.g===a.g};var Rua=function(){this.max=8;this.j=Date.now();this.g=8};Rua.prototype.update=function(){var a=Date.now(),b=this.g+(a-this.j)/3E5;this.g>=b||(this.g=Math.min(b,this.max),this.j=a)};var Sua=function(){},Tua=function(){},Uua=function(){},Vua=function(a){this.count=a},Wua=function(){},Mua=function(){},Xua=function(){},Yua=function(a){this.error=a},Nua=function(a){this.status=a},Zua=function(){this.Bg=!1};var $ua=function(a){var b=Error.call(this,"["+zn(a,1)+"] "+x(a,3));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.status=a};U($ua,Error);var oT=function(a,b,c,d,e){this.objectId=a;this.version=b;this.payload=c;this.j=d===void 0?!1:d;this.g=e===void 0?!1:e},ava=function(){},bva=function(a){this.g=a};var cva={Qp:["BC","AD"],Jw:["Before Christ","Anno Domini"],Ty:"JFMAMJJASOND".split(""),YB:"JFMAMJJASOND".split(""),xq:"January February March April May June July August September October November December".split(" "),Jq:"January February March April May June July August September October November December".split(" "),Gq:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Kq:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Pq:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
bC:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Iq:"Sun Mon Tue Wed Thu Fri Sat".split(" "),aC:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Uy:"SMTWTFS".split(""),ZB:"SMTWTFS".split(""),Hq:["Q1","Q2","Q3","Q4"],Cq:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Gm:["AM","PM"],Yv:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],AC:["h:mm:ss\u202fa zzzz","h:mm:ss\u202fa z","h:mm:ss\u202fa","h:mm\u202fa"],Zv:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Sp:6,
hD:[5,6],Tp:5},pT=cva;pT=cva;var dva=function(a,b){switch(b){case 1:return a%4!=0||a%100==0&&a%400!=0?28:29;case 5:case 8:case 10:case 3:return 30}return 31},qT=function(a,b,c,d,e,f){typeof a==="string"?(this.g=a=="y"?b:0,this.months=a=="m"?b:0,this.j=a=="d"?b:0,this.hours=a=="h"?b:0,this.minutes=a=="n"?b:0,this.seconds=a=="s"?b:0):(this.g=a||0,this.months=b||0,this.j=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};
qT.prototype.equals=function(a){return a.g==this.g&&a.months==this.months&&a.j==this.j&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};qT.prototype.clone=function(){return new qT(this.g,this.months,this.j,this.hours,this.minutes,this.seconds)};qT.prototype.Jg=function(){return this.g==0&&this.months==0&&this.j==0&&this.hours==0&&this.minutes==0&&this.seconds==0};
qT.prototype.add=function(a){this.g+=a.g;this.months+=a.months;this.j+=a.j;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
var iC=function(a,b,c){typeof a==="number"?(this.date=eva(a,b||0,c||1),rT(this,c||1)):Vw(a)?(this.date=eva(a.getFullYear(),a.getMonth(),a.getDate()),rT(this,a.getDate())):(this.date=new Date(tj()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),rT(this,a))},eva=function(a,b,c){b=new Date(a,b,c);a>=0&&a<100&&b.setFullYear(b.getFullYear()-1900);return b};k=iC.prototype;k.zg=pT.Sp;k.Ag=pT.Tp;
k.clone=function(){var a=new iC(this.date);a.zg=this.zg;a.Ag=this.Ag;return a};k.getFullYear=function(){return this.date.getFullYear()};k.getMonth=function(){return this.date.getMonth()};k.getDate=function(){return this.date.getDate()};k.getTime=function(){return this.date.getTime()};k.getDay=function(){return this.date.getDay()};k.Yp=function(){return this.date.getUTCFullYear()};k.Zp=function(){return this.date.getUTCMonth()};k.Xp=function(){return this.date.getUTCDate()};k.Jm=function(){return this.date.getDay()};
k.Km=function(){return this.date.getUTCHours()};k.Lm=function(){return this.date.getUTCMinutes()};k.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};var hC=function(a){a=a.getTimezoneOffset();if(a==0)a="Z";else{var b=Math.abs(a)/60;let c=Math.floor(b);b=(b-c)*60;a=(a>0?"-":"+")+iS(c,2)+":"+iS(b,2)}return a};k=iC.prototype;k.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};k.setFullYear=function(a){this.date.setFullYear(a)};k.setMonth=function(a){this.date.setMonth(a)};
k.setDate=function(a){this.date.setDate(a)};k.setTime=function(a){this.date.setTime(a)};k.bq=function(a){this.date.setUTCFullYear(a)};k.cq=function(a){this.date.setUTCMonth(a)};k.aq=function(a){this.date.setUTCDate(a)};
k.add=function(a){if(a.g||a.months){var b=this.getMonth()+a.months+a.g*12,c=this.getFullYear()+Math.floor(b/12);b%=12;b<0&&(b+=12);let d=Math.min(dva(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.j&&(c=this.getFullYear(),b=c>=0&&c<=99?-1900:0,a=new Date((new Date(c,this.getMonth(),this.getDate(),12)).getTime()+a.j*864E5),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),rT(this,a.getDate()))};
k.dh=function(a){var b=this.getFullYear(),c=b<0?"-":b>=1E4?"+":"";return[c+iS(Math.abs(b),c?6:4),iS(this.getMonth()+1,2),iS(this.getDate(),2)].join(a?"-":"")};k.equals=function(a){return!(!a||this.getFullYear()!=a.getFullYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};k.toString=function(){return this.dh()};var rT=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};iC.prototype.valueOf=function(){return this.date.valueOf()};
var sT=function(a,b,c,d,e,f,g){this.date=typeof a==="number"?new Date(a,b||0,c||1,d||0,e||0,f||0,g||0):new Date(a&&a.getTime?a.getTime():tj())};cF(sT,iC);k=sT.prototype;k.getHours=function(){return this.date.getHours()};k.Ai=function(){return this.date.getMinutes()};k.Bi=function(){return this.date.getSeconds()};k.Jm=function(){return this.date.getUTCDay()};k.Km=function(){return this.date.getUTCHours()};k.Lm=function(){return this.date.getUTCMinutes()};k.eq=function(){return this.date.getUTCSeconds()};
k.setHours=function(a){this.date.setHours(a)};k.setMinutes=function(a){this.date.setMinutes(a)};k.setSeconds=function(a){this.date.setSeconds(a)};k.setMilliseconds=function(a){this.date.setMilliseconds(a)};k.Mm=function(a){this.date.setUTCHours(a)};k.Nm=function(a){this.date.setUTCMinutes(a)};k.Om=function(a){this.date.setUTCSeconds(a)};k.fq=function(a){this.date.setUTCMilliseconds(a)};
k.add=function(a){iC.prototype.add.call(this,a);a.hours&&this.Mm(this.date.getUTCHours()+a.hours);a.minutes&&this.Nm(this.date.getUTCMinutes()+a.minutes);a.seconds&&this.Om(this.date.getUTCSeconds()+a.seconds)};k.dh=function(a){var b=iC.prototype.dh.call(this,a);return a?b+"T"+iS(this.getHours(),2)+":"+iS(this.Ai(),2)+":"+iS(this.Bi(),2):b+"T"+iS(this.getHours(),2)+iS(this.Ai(),2)+iS(this.Bi(),2)};
var TA=function(a){return iC.prototype.dh.call(a,!0)+"T"+iS(a.getHours(),2)+":"+iS(a.Ai(),2)+":"+iS(a.Bi(),2)+hC(a)};sT.prototype.equals=function(a){return this.getTime()==a.getTime()};sT.prototype.toString=function(){return this.dh()};sT.prototype.clone=function(){var a=new sT(this.date);a.zg=this.zg;a.Ag=this.Ag;return a};var Rj=function(a,b){this.seconds=a;this.nanos=b},ek=function(a){var b=new uk;Ge(b,1,Pc(a.seconds),"0");is(b,2,a.nanos);return b},sk=function(a){try{var b=Number(hs(a,1)),c=zn(a,2);if(b<-62135596800)throw Error("wa`"+b);if(253402300800<=b)throw Error("xa`"+b);if(c<0)throw Error("ya`"+c);if(1E9<=c)throw Error("za`"+c);if(!Number.isInteger(b))throw Error("Aa`"+b);if(!Number.isInteger(c))throw Error("Ba`"+c);return new Rj(b,c)}catch(d){return null}};
Rj.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var Pj=function(a){this.value=a};Pj.prototype.equals=function(a){return this.value.equals(a.value)};var Qi=function(a,b){this.value=a;this.g=!!b};
Qi.prototype.equals=function(a){if(this.value===null)var b=a.value===null;else if(this.value instanceof Si)b=a.value instanceof Si?this.value.equals(a.value):!1;else if(this.g!==a.g)b=!1;else if(typeof this.value==="string"||typeof this.value==="number")b=this.value===a.value;else if(this.value instanceof Rg)b=a.value instanceof Rg?this.value.equals(a.value):!1;else if(this.value instanceof Uint8Array)if(a.value instanceof Uint8Array)a:if(b=this.value,a=a.value,b.length!==a.length)b=!1;else{for(let c=
0;c<b.length;++c)if(b[c]!==a[c]){b=!1;break a}b=!0}else b=!1;else b=this.value instanceof Rj?a.value instanceof Rj?this.value.equals(a.value):!1:this.value instanceof Pj?a.value instanceof Pj?this.value.equals(a.value):!1:!1;return b};var hk=function(a,b){this.parts=a;this.j=b},jk=function(){return new hk(Ui(cc.apply(0,arguments)),!1)},ik=function(){return new hk(Ui(cc.apply(0,arguments)),!0)};hk.prototype.g=function(){return this.j};
hk.prototype.equals=function(a){var b;if(b=this.parts.length===a.parts.length)a:if(this.j!==a.j||this.parts.length>a.parts.length)b=!1;else{for(b=0;b<this.parts.length;++b)if(!this.parts[b].equals(a.parts[b])){b=!1;break a}b=!0}return b};var tT=function(a){this.root=a};tT.prototype.equals=function(a){return this.root.equals(a.root)};var fva=function(){},$i=function(a,b){this.apiKey=a;this.g=b};$i.prototype.zh=function(){var a={},b;(b=Hw([]))?(b=b.split(" "),b={scheme:b[0],hash:b[1]}):b=null;b!=null&&(a.Authorization=b.scheme+" "+b.hash,a["X-Goog-AuthUser"]=String(this.g||0));return a};$i.prototype.Bh=function(){return{key:this.apiKey}};$i.prototype.fj=function(){return 0};$i.prototype.ti=function(){return!0};var Xi=function(a){this.g=a};Xi.prototype.zh=function(){var a={};a.Authorization="OAuth "+this.g.getValue();return a};
Xi.prototype.Bh=function(){return{}};Xi.prototype.fj=function(){return 1};Xi.prototype.ti=function(){return!0};var Zi=function(a){this.apiKey=a};Zi.prototype.zh=function(){return{}};Zi.prototype.Bh=function(){return{key:this.apiKey}};Zi.prototype.fj=function(){return 1};Zi.prototype.ti=function(){return!1};var Yi=function(a,b){this.apiKey=a;this.g=b};Yi.prototype.zh=function(){return{Authorization:"Bearer "+this.g.getValue()}};Yi.prototype.Bh=function(){return{key:this.apiKey}};Yi.prototype.fj=function(){return 0};
Yi.prototype.ti=function(){return!0};var uT=function(a,b,c){var d=Error.call(this,b);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.code=a;this.message=b;this.status=c;Object.setPrototypeOf(this,uT.prototype);this.name="XhrError"};U(uT,Error);var vT=function(a,b){b=b===void 0?cj():b;this.j=a;this.g=b};vT.prototype.post=function(a,b,c,d){d=d===void 0?{}:d;return this.request("POST",a,b,c,d)};var gva=function(a,b){a.endsWith("/")&&(a=a.substring(0,a.length-1));b.startsWith("/")&&(b=b.substring(1));return a+"/"+b};
vT.prototype.request=function(a,b,c,d,e){var f=this,g=new bi(this.j);fi(g,gva(g.getPath(),b));if(e.ci){b=q(Object.entries(e.ci));for(var h=b.next();!h.done;h=b.next()){var l=q(h.value);h=l.next().value;l=l.next().value;$v(g,h,l)}}var m={"Content-type":"application/json+protobuf"};Object.assign(m,e.yr);var p=c.aa();return new Promise(function(t,w){var A;f.g.send(g,function(){var M=this.S()===-1?void 0:this.S();if(mS(this))try{t(Og(d,nS(this)))}catch(da){w(new uT(4,"Failed to deserialize response from "+
g+": "+nS(this),M))}else w(new uT(this.o,pS(this),M))},a,p,m,(A=e.um)!=null?A:2E4,e.withCredentials)})};var dj=null;cF(fj,dh);cF(hj,dh);cF(jj,dh);var wT=function(a,b){this.o=a;this.B=b;this.j=0;this.g=null};wT.prototype.get=function(){if(this.j>0){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.o();return a};var pj=function(a,b){a.B(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var nj,Iba=function(){if(typeof MessageChannel!=="undefined"){let a=new MessageChannel,b={},c=b;a.port1.onmessage=function(){if(b.next!==void 0){b=b.next;let d=b.Yi;b.Yi=null;d()}};return function(d){c.next={Yi:d};c=c.next;a.port2.postMessage(0)}}return function(a){n.setTimeout(a,0)}},lj=function(a){return a};IR(function(a){lj=a});var xT=function(){this.j=this.g=null};xT.prototype.add=function(a,b){var c=qj.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};xT.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.j=null),a.next=null);return a};var qj=new wT(function(){return new yT},function(a){return a.reset()}),yT=function(){this.next=this.scope=this.g=null};yT.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};
yT.prototype.reset=function(){this.next=this.scope=this.g=null};var zT,rj=!1,oj=new xT,AT=function(a,b){zT||hva();rj||(zT(),rj=!0);oj.add(a,b)},hva=function(){var a=Promise.resolve(void 0);zT=function(){a.then(Kba)}};var iva=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var CT=function(a){this.g=0;this.N=void 0;this.B=this.j=this.o=null;this.C=this.G=!1;if(a!=vS)try{let b=this;a.call(void 0,function(c){BT(b,2,c)},function(c){BT(b,3,c)})}catch(b){BT(this,3,b)}},jva=function(){this.next=this.context=this.g=this.o=this.child=null;this.j=!1};jva.prototype.reset=function(){this.context=this.g=this.o=this.child=null;this.j=!1};
var kva=new wT(function(){return new jva},function(a){a.reset()}),DT=function(a,b,c){var d=kva.get();d.o=a;d.g=b;d.context=c;return d},ET=function(a){if(a instanceof CT)return a;var b=new CT(vS);BT(b,2,a);return b},FT=function(a){return new CT(function(b,c){c(a)})},GT=function(a,b,c){lva(a,b,c,null)||AT(yj(b,a))},mva=function(a){return new CT(function(b,c){a.length||b(void 0);for(let e=0;e<a.length;e++){var d=a[e];GT(d,b,c)}})},nva=function(a){return new CT(function(b,c){var d=a.length,e=[];if(d){var f=
function(l,m){d--;e[l]=m;d==0&&b(e)},g=function(l){c(l)};for(let l=0;l<a.length;l++){var h=a[l];GT(h,yj(f,l),g)}}else b(e)})},HT=function(a){return new CT(function(b){var c=a.length,d=[];if(c){var e=function(g,h,l){c--;d[g]=h?{Br:!0,value:l}:{Br:!1,reason:l};c==0&&b(d)};for(let g=0;g<a.length;g++){var f=a[g];GT(f,yj(e,g,!0),yj(e,g,!1))}}else b(d)})},IT=function(){var a,b,c=new CT(function(d,e){a=d;b=e});return new ova(c,a,b)};
CT.prototype.then=function(a,b,c){return pva(this,mj(typeof a==="function"?a:null),mj(typeof b==="function"?b:null),c)};CT.prototype.$goog_Thenable=!0;var qva=function(a,b,c,d){JT(a,DT(b||vS,c||null,d))},KT=function(a,b){b=mj(b);b=DT(b,b);b.j=!0;JT(a,b);return a};CT.prototype.finally=function(a){var b=this;a=mj(a);return new CT(function(c,d){qva(b,function(e){a();c(e)},function(e){a();d(e)})})};CT.prototype.D=function(a,b){return pva(this,null,mj(a),b)};CT.prototype.catch=CT.prototype.D;
CT.prototype.cancel=function(a){if(this.g==0){let b=new Ck(a);AT(function(){rva(this,b)},this)}};
var rva=function(a,b){if(a.g==0)if(a.o){var c=a.o;if(c.j){var d=0,e=null,f=null;for(let g=c.j;g&&(g.j||(d++,g.child==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?rva(c,b):(f?(d=f,d.next==c.B&&(c.B=d),d.next=d.next.next):sva(c),tva(c,e,3,b)))}a.o=null}else BT(a,3,b)},JT=function(a,b){a.j||a.g!=2&&a.g!=3||uva(a);a.B?a.B.next=b:a.j=b;a.B=b},pva=function(a,b,c,d){var e=DT(null,null,null);e.child=new CT(function(f,g){e.o=b?function(h){try{let l=b.call(d,h);f(l)}catch(l){g(l)}}:f;e.g=c?function(h){try{let l=
c.call(d,h);l===void 0&&h instanceof Ck?g(h):f(l)}catch(l){g(l)}}:g});e.child.o=a;JT(a,e);return e.child};CT.prototype.ba=function(a){this.g=0;BT(this,2,a)};CT.prototype.L=function(a){this.g=0;BT(this,3,a)};
var BT=function(a,b,c){a.g==0&&(a===c&&(b=3,c=new TypeError("Ea")),a.g=1,lva(c,a.ba,a.L,a)||(a.N=c,a.g=b,a.o=null,uva(a),b!=3||c instanceof Ck||vva(a,c)))},lva=function(a,b,c,d){if(a instanceof CT)return qva(a,b,c,d),!0;if(iva(a))return a.then(b,c,d),!0;if(Vw(a))try{let e=a.then;if(typeof e==="function")return wva(a,e,b,c,d),!0}catch(e){return c.call(d,e),!0}return!1},wva=function(a,b,c,d,e){var f=!1,g=function(l){f||(f=!0,c.call(e,l))},h=function(l){f||(f=!0,d.call(e,l))};try{b.call(a,g,h)}catch(l){h(l)}},
uva=function(a){a.G||(a.G=!0,AT(a.H,a))},sva=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.B=null);return b};CT.prototype.H=function(){for(var a;a=sva(this);)tva(this,a,this.g,this.N);this.G=!1};
var tva=function(a,b,c,d){if(c==3&&b.g&&!b.j)for(;a&&a.C;a=a.o)a.C=!1;if(b.child)b.child.o=null,xva(b,c,d);else try{b.j?b.o.call(b.context):xva(b,c,d)}catch(e){LT.call(null,e)}pj(kva,b)},xva=function(a,b,c){b==2?a.o.call(a.context,c):a.g&&a.g.call(a.context,c)},vva=function(a,b){a.C=!0;AT(function(){a.C&&LT.call(null,b)})},LT=ea,Ck=function(a){aa.call(this,a);this.g=!1};cF(Ck,aa);Ck.prototype.name="cancel";var ova=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};cF(uj,vh);k=uj.prototype;k.enabled=!1;k.td=null;k.setInterval=function(a){this.j=a;this.td&&this.enabled?(this.stop(),this.start()):this.td&&this.stop()};k.Ct=function(){if(this.enabled){let a=tj()-this.C;a>0&&a<this.j*.8?this.td=this.g.setTimeout(this.o,this.j-a):(this.td&&(this.g.clearTimeout(this.td),this.td=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};k.start=function(){this.enabled=!0;this.td||(this.td=this.g.setTimeout(this.o,this.j),this.C=tj())};
k.stop=function(){this.enabled=!1;this.td&&(this.g.clearTimeout(this.td),this.td=null)};k.oa=function(){uj.Kb.oa.call(this);this.stop();delete this.g};var Gj=function(a,b){if(typeof a!=="function")if(a&&typeof a.handleEvent=="function")a=sj(a.handleEvent,a);else throw Error("Fa");return Number(b)>2147483647?-1:n.setTimeout(a,b||0)},yva=function(a){var b=null;return(new CT(function(c,d){b=Gj(function(){c(void 0)},a);b==-1&&d(Error("Ga"))})).D(function(c){n.clearTimeout(b);throw c;})};var MT=function(a,b,c){bh.call(this);this.D=c!=null?a.bind(c):a;this.C=b;this.B=null;this.j=!1;this.o=0;this.g=null};U(MT,bh);k=MT.prototype;k.eg=function(a){this.B=arguments;this.g||this.o?this.j=!0:NT(this)};k.stop=function(){this.g&&(n.clearTimeout(this.g),this.g=null,this.j=!1,this.B=null)};k.pause=function(){this.o++};k.resume=function(){this.o--;this.o||!this.j||this.g||(this.j=!1,NT(this))};k.oa=function(){bh.prototype.oa.call(this);this.stop()};
var NT=function(a){a.g=Gj(function(){a.g=null;a.j&&!a.o&&(a.j=!1,NT(a))},a.C);var b=a.B;a.B=null;a.D.apply(null,b)};vj.prototype.Ln=function(){this.g=!1};
var zva=function(a,b,c,d,e,f){a.info(function(){if(a.g)if(f){var g="";var h=f.split("&");for(let m=0;m<h.length;m++){var l=h[m].split("=");if(l.length>1){let p=l[0];l=l[1];let t=p.split("_");g=t.length>=2&&t[1]=="type"?g+(p+"="+l+"&"):g+(p+"=redacted&")}}}else g=null;else g=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+g})},Ava=function(a,b,c,d,e,f,g){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+g})},OT=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+Bva(a,c)+(d?" "+d:"")})},Cva=function(a,b){a.info(function(){return"TIMEOUT: "+b})};vj.prototype.info=function(){};vj.prototype.Da=function(){};vj.prototype.sd=function(){};var Bva=function(a,b){if(!a.g)return b;if(!b)return null;try{let f=JSON.parse(b);if(f)for(a=0;a<f.length;a++)if(Array.isArray(f[a])){var c=f[a];if(!(c.length<2)){var d=c[1];if(Array.isArray(d)&&!(d.length<1)){var e=d[0];if(e!="noop"&&e!="stop"&&e!="close")for(let g=1;g<d.length;g++)d[g]=""}}}return YR(f)}catch(f){return b}};var wj=function(){this.o=null;this.g="";this.j=!1},Dva={},PT={};xj.prototype.setTimeout=function(a){this.Ua=a};
var QT=function(a,b,c){a.eb=1;a.L=BS(b.clone());a.N=c;a.Qb=!0;Eva(a,null)},Eva=function(a,b){a.ra=Date.now();RT(a);a.T=a.L.clone();Rm(a.T,"t",a.rc);a.ba=0;var c=a.C.yb;a.o=new wj;a.g=Fva(a.C,c?b:null,!a.N);a.yb>0&&(a.Pa=new MT(sj(a.ke,a,a.g),a.yb));a.yd.listen(a.g,"readystatechange",a.wf);b=a.Fa?qh(a.Fa):{};a.N?(a.H||(a.H="POST"),b["Content-Type"]="application/x-www-form-urlencoded",a.g.send(a.T,a.H,a.N,b)):(a.H="GET",a.g.send(a.T,a.H,null,b));gj(1);zva(a.j,a.H,a.T,a.B,a.rc,a.N)};
xj.prototype.wf=function(a){a=a.target;var b=this.Pa;b&&lS(a)==3?b.eg():this.ke(a)};
xj.prototype.ke=function(a){try{if(a==this.g)a:{let f=lS(this.g),g=this.g.o,h=this.g.S();if(!(f<3||f==3&&!ST(this))){this.Ja||f!=4||g==7||(g==8||h<=0?gj(3):gj(2));TT(this);var b=this.g.S();this.kc=b;var c=Gva(this);ST(this);this.D=b==200;Ava(this.j,this.H,this.T,this.B,this.rc,f,b);if(this.D){if(this.he&&!this.Ka){b:{if(this.g){let l=mi(this.g,"X-HTTP-Initial-Response");if(l&&!la(l)){var d=l;break b}}d=null}if(a=d)OT(this.j,this.B,a,"Initial handshake response via X-HTTP-Initial-Response"),this.Ka=
!0,UT(this,a);else{this.D=!1;this.G=3;ij(12);this.j.Da("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+this.B+")");VT(this);WT(this);break a}}if(this.Qb){a=!0;let l;for(;!this.Ja&&this.ba<c.length;)if(l=Hva(this,c),l==PT){f==4&&(this.G=4,ij(14),a=!1);OT(this.j,this.B,null,"[Incomplete Response]");break}else if(l==Dva){this.G=4;ij(15);OT(this.j,this.B,c,"[Invalid Chunk]");a=!1;break}else OT(this.j,this.B,l,null),UT(this,l);Iva(this)&&this.ba!=0&&(this.o.g=this.o.g.slice(this.ba),this.ba=0);f!=4||c.length!=
0||this.o.j||(this.G=1,ij(16),a=!1);this.D=this.D&&a;if(!a)OT(this.j,this.B,c,"[Invalid Chunked Response]"),VT(this),WT(this);else if(c.length>0&&!this.je){this.je=!0;var e=this.C;e.j==this&&e.ml&&!e.rc&&(e.g.info("Great, no buffering proxy detected. Bytes received: "+c.length),XT(e),e.rc=!0,ij(11))}}else OT(this.j,this.B,c,null),UT(this,c);f==4&&VT(this);this.D&&!this.Ja&&(f==4?Jva(this.C,this):(this.D=!1,RT(this)))}else oS(this.g),b==400&&c.indexOf("Unknown SID")>0?(this.G=3,ij(12),this.j.Da("XMLHTTP Unknown SID ("+
this.B+")")):(this.G=0,ij(13),this.j.Da("XMLHTTP Bad status "+b+" ("+this.B+")")),VT(this),WT(this)}}else this.j.Da("Called back with an unexpected xmlhttp")}catch(f){ST(this)}finally{}};
var Gva=function(a){if(!Iva(a))return nS(a.g);var b=a.g.ab();if(b==="")return"";var c="",d=b.length,e=lS(a.g)==4;if(!a.o.o){if(typeof TextDecoder==="undefined")return a.j.sd("TextDecoder is not supported by this browser."),VT(a),WT(a),"";a.o.o=new n.TextDecoder}for(let f=0;f<d;f++)a.o.j=!0,c+=a.o.o.decode(b[f],{stream:!(e&&f==d-1)});b.length=0;a.o.g+=c;a.ba=0;return a.o.g},ST=function(a){return a.g?a.o.j?!0:!(!nS(a.g)&&!a.g.ab()):!1},Iva=function(a){return a.g?a.H=="GET"&&a.eb!=2&&a.C.yp:!1},Hva=
function(a,b){var c=a.ba,d=b.indexOf("\n",c);if(d==-1)return PT;c=Number(b.substring(c,d));if(isNaN(c))return Dva;d+=1;if(d+c>b.length)return PT;b=b.slice(d,d+c);a.ba=d+c;return b};xj.prototype.cancel=function(){this.Ja=!0;VT(this)};var RT=function(a){a.Od=Date.now()+a.Ua;Kva(a,a.Ua)},Kva=function(a,b){if(a.ca!=null)throw Error("Ha");a.ca=kj(sj(a.yf,a),b)},TT=function(a){a.ca&&(n.clearTimeout(a.ca),a.ca=null)};
xj.prototype.yf=function(){this.ca=null;var a=Date.now();a-this.Od>=0?(this.D&&this.j.sd("Received watchdog timeout even though request loaded successfully"),Cva(this.j,this.T),this.eb!=2&&(gj(3),ij(17)),VT(this),this.G=2,WT(this)):(this.j.Da("WatchDog timer called too early"),Kva(this,this.Od-a))};
var WT=function(a){a.C.B==0||a.Ja||Jva(a.C,a)},VT=function(a){TT(a);$g(a.Pa);a.Pa=null;GS(a.yd);if(a.g){let b=a.g;a.g=null;b.abort();b.dispose()}},UT=function(a,b){try{var c=a.C;if(c.B!=0&&(c.j==a||YT(c.C,a)))if(!a.Ka&&YT(c.C,a)&&c.B==3){try{var d=c.Gp.g.parse(b)}catch(m){d=null}if(Array.isArray(d)&&d.length==3){var e=d;if(e[0]==0)a:{if(!c.L){if(c.j)if(c.j.ra+3E3<a.ra)ZT(c),$T(c);else break a;else c.g.Da("We do not have a BackChannel established");aU(c);ij(18)}}else c.hp=e[1],0<c.hp-c.H&&e[2]<37500&&
c.Ja&&c.ca==0&&!c.T&&(c.T=kj(sj(c.Op,c),6E3));if(Lva(c.C)<=1&&c.he){try{c.he()}catch(m){}c.he=void 0}}else bU(c,11)}else if((a.Ka||c.j==a)&&ZT(c),!la(b))for(e=c.Gp.g.parse(b),b=0;b<e.length;b++){let m=e[b],p=m[0];if(p<=c.H)c.g.Da("Ignoring out-of-order or duplicate message with arrayId: "+p+", lastArrayId: "+c.H);else if(p>c.H+1&&c.H>-1&&c.g.Da("Received non-consecutive message with arrayId: "+p+", lastArrayId: "+c.H),c.H=p,m=m[1],c.B==2)if(m[0]=="c"){c.Qb=m[1];c.vl=m[2];let t=m[3];t!=null&&(c.dl=
t,c.g.info("VER="+c.dl));let w=m[4];w!=null&&(c.xp=w,c.g.info("SVER="+c.xp));let A=m[5];A!=null&&typeof A==="number"&&A>0&&(d=1.5*A,c.kc=d,c.g.info("backChannelRequestTimeoutMs_="+d));d=c;let M=a.g;if(M){let da=mi(M,"X-Client-Wire-Protocol");if(da){var f=d.C,g=da;!f.g&&(ma(g,"spdy")||ma(g,"quic")||ma(g,"h2"))&&(f.B=f.C,f.g=new Set,f.j&&(cU(f,f.j),f.j=null))}if(d.Fa){let ja=mi(M,"X-HTTP-Session-Id");ja?(d.Zo=ja,$v(d.eb,d.Fa,ja)):d.g.Da("Missing X_HTTP_SESSION_ID in the handshake response")}}c.B=3;
c.D&&c.D.xn();c.ml&&(c.Pa=Date.now()-a.ra,c.g.info("Handshake RTT: "+c.Pa+"ms"));d=c;g=a;d.To=Mva(d,d.yb?d.vl:null,d.wf);if(g.Ka){Nva(d.C,g);var h=g,l=d.kc;l&&h.setTimeout(l);h.ca&&(TT(h),RT(h));d.j=g}else Ova(d);c.o.length>0&&dU(c)}else m[0]!="stop"&&m[0]!="close"||bU(c,7);else c.B==3&&(m[0]=="stop"||m[0]=="close"?m[0]=="stop"?bU(c,7):eU(c):m[0]!="noop"&&c.D&&c.D.wn(m),c.ca=0)}gj(4)}catch(m){}};var Pva=function(a,b){this.g=a;this.map=b;this.context=null};var Cj=function(a){this.C=a||10;n.PerformanceNavigationTiming?(a=n.performance.getEntriesByType("navigation"),a=a.length>0&&(a[0].nextHopProtocol=="hq"||a[0].nextHopProtocol=="h2")):a=!!(n.chrome&&n.chrome.loadTimes&&n.chrome.loadTimes()&&n.chrome.loadTimes().wasFetchedViaSpdy);this.B=a?this.C:1;this.g=null;this.B>1&&(this.g=new Set);this.j=null;this.o=[]},Qva=function(a){return a.j?!0:a.g?a.g.size>=a.B:!1},Lva=function(a){return a.j?1:a.g?a.g.size:0},YT=function(a,b){return a.j?a.j==b:a.g?a.g.has(b):
!1},cU=function(a,b){a.g?a.g.add(b):a.j=b},Nva=function(a,b){a.j&&a.j==b?a.j=null:a.g&&a.g.has(b)&&a.g.delete(b)};Cj.prototype.cancel=function(){this.o=Rva(this);if(this.j)this.j.cancel(),this.j=null;else if(this.g&&this.g.size!==0){for(var a=q(this.g.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.g.clear()}};
var Rva=function(a){if(a.j!=null)return a.o.concat(a.j.ka);if(a.g!=null&&a.g.size!==0){let c=a.o;a=q(a.g.values());for(var b=a.next();!b.done;b=a.next())c=c.concat(b.value.ka);return c}return Na(a.o)};var Aj=function(){};Aj.prototype.stringify=function(a){return n.JSON.stringify(a,void 0)};Aj.prototype.parse=function(a){return n.JSON.parse(a,void 0)};Dj.prototype.dl=8;Dj.prototype.B=1;Dj.prototype.connect=function(a,b,c,d){ij(0);this.wf=a;this.Ka=b||{};c&&d!==void 0&&(this.Ka.OSID=c,this.Ka.OAID=d);this.Ja=this.yf;this.eb=Mva(this,null,this.wf);dU(this)};
var eU=function(a){Sva(a);if(a.B==3){var b=a.ke++,c=a.eb.clone();$v(c,"SID",a.Qb);$v(c,"RID",b);$v(c,"TYPE","terminate");fU(a,c);b=new xj(a,a.g,b);b.eb=2;b.L=BS(c.clone());c=!1;if(n.navigator&&n.navigator.sendBeacon)try{c=n.navigator.sendBeacon(b.L.toString(),"")}catch(d){}!c&&n.Image&&((new Image).src=b.L,c=!0);c||(b.g=Fva(b.C,null),b.g.send(b.L));b.ra=Date.now();RT(b)}Tva(a)},$T=function(a){a.j&&(XT(a),a.j.cancel(),a.j=null)},Sva=function(a){$T(a);a.L&&(n.clearTimeout(a.L),a.L=null);ZT(a);a.C.cancel();
a.G&&(typeof a.G==="number"&&n.clearTimeout(a.G),a.G=null)},Uva=function(a,b){a.o.length==a.Ua&&a.g.sd(function(){return"Already have "+a.Ua+" queued maps upon queueing "+YR(b)});a.o.push(new Pva(a.Mp++,b));a.B==3&&dU(a)};Dj.prototype.getState=function(){return this.B};
var dU=function(a){Qva(a.C)||a.G||(a.G=!0,AT(a.rp,a),a.ra=0)},Wva=function(a,b){if(Lva(a.C)>=a.C.B-(a.G?1:0))return a.g.sd("Unexpected retry request is scheduled."),!1;if(a.G)return a.o=b.ka.concat(a.o),!0;if(a.B==1||a.B==2||a.ra>=(a.Pt?0:a.Jp))return!1;a.G=kj(sj(a.rp,a,b),Vva(a,a.ra));a.ra++;return!0};
Dj.prototype.rp=function(a){if(this.G)if(this.G=null,this.B==1)if(a)this.g.sd("Not supposed to retry the open");else{this.ke=Math.floor(Math.random()*1E5);a=this.ke++;let e=new xj(this,this.g,a),f=this.ba;this.je&&(f?(f=qh(f),th(f,this.je)):f=this.je);this.N!==null||this.Od||(e.Fa=f,f=null);if(this.yd)a:{var b=0;for(var c=0;c<this.o.length;c++){b:{var d=this.o[c];if("__data__"in d.map&&(d=d.map.__data__,typeof d==="string")){d=d.length;break b}d=void 0}if(d===void 0)break;b+=d;if(b>4096){b=c;break a}if(b===
4096||c===this.o.length-1){b=c+1;break a}}b=this.Ua}else b=this.Ua;b=Xva(this,e,b);c=this.eb.clone();$v(c,"RID",a);$v(c,"CVER",22);this.Fa&&$v(c,"X-HTTP-Session-Id",this.Fa);fU(this,c);f&&(this.Od?b="headers="+Vh(Osa(f))+"&"+b:this.N&&ES(c,this.N,f));cU(this.C,e);this.Nt&&$v(c,"TYPE","init");this.yd?($v(c,"$req",b),$v(c,"SID","null"),e.he=!0,QT(e,c,null)):QT(e,c,b);this.B=2}else this.B==3&&(a?Yva(this,a):this.o.length!=0&&(Qva(this.C)?this.g.sd("startForwardChannel_ returned: connection already in progress"):
Yva(this)))};
var Yva=function(a,b){var c;b?c=b.B:c=a.ke++;var d=a.eb.clone();$v(d,"SID",a.Qb);$v(d,"RID",c);$v(d,"AID",a.H);fU(a,d);a.N&&a.ba&&ES(d,a.N,a.ba);c=new xj(a,a.g,c,a.ra+1);a.N===null&&(c.Fa=a.ba);b&&(a.o=b.ka.concat(a.o));b=Xva(a,c,a.Ua);c.setTimeout(Math.round(a.Vo*.5)+Math.round(a.Vo*.5*Math.random()));cU(a.C,c);QT(c,d,b)},fU=function(a,b){a.Ka&&fh(a.Ka,function(c,d){$v(b,d,c)});a.D&&fh({},function(c,d){$v(b,d,c)})},Xva=function(a,b,c){c=Math.min(a.o.length,c);var d=a.D?sj(a.D.dr,a.D,a):null;a:{var e=
a.o;let m=-1;for(;;){let p=["count="+c];m==-1?c>0?(m=e[0].g,p.push("ofs="+m)):m=0:p.push("ofs="+m);let t=!0;for(let w=0;w<c;w++){var f=e[w].g;let A=e[w].map;f-=m;if(f<0)m=Math.max(0,e[w].g-100),t=!1;else try{f="req"+f+"_"||"";try{let M=A instanceof Map?A:Object.entries(A);var g=q(M);for(var h=g.next();!h.done;h=g.next()){var l=q(h.value);let da=l.next().value,ja=l.next().value,Ja=ja;Vw(ja)&&(Ja=YR(ja));p.push(f+da+"="+encodeURIComponent(Ja))}}catch(M){throw p.push(f+"type="+encodeURIComponent("_badmap")),
M;}}catch(M){d&&d(A)}}if(t){g=p.join("&");break a}}g=void 0}a=a.o.splice(0,c);b.ka=a;return g},Ova=function(a){a.j||a.L||(a.wh=1,AT(a.ip,a),a.ca=0)},aU=function(a){if(a.j||a.L)return a.g.sd("Request already in progress"),!1;if(a.ca>=3)return!1;a.wh++;a.L=kj(sj(a.ip,a),Vva(a,a.ca));a.ca++;return!0};
Dj.prototype.ip=function(){this.L=null;Zva(this);if(this.ml&&!this.rc)if(this.j==null||this.Pa<=0)this.g.Da("Skip bpDetectionTimerId_ "+this.j+" "+this.Pa);else{var a=4*this.Pa;this.g.info("BP detection timer enabled: "+a);this.ka=kj(sj(this.Rp,this),a)}};
Dj.prototype.Rp=function(){if(this.ka){this.ka=null;this.g.info("BP detection timeout reached.");if(this.j.g!=null){let a=nS(this.j.g);a&&this.g.Da("Timer should have been cancelled : "+a)}this.g.info("Buffering proxy detected and switch to long-polling!");this.Ja=!1;this.rc=!0;ij(10);$T(this);Zva(this)}else this.g.Da("Invalid operation.")};
var XT=function(a){a.ka!=null&&(n.clearTimeout(a.ka),a.ka=null)},Zva=function(a){a.j=new xj(a,a.g,"rpc",a.wh);a.N===null&&(a.j.Fa=a.ba);a.j.yb=0;var b=a.To.clone();$v(b,"RID","rpc");$v(b,"SID",a.Qb);$v(b,"AID",a.H);$v(b,"CI",a.Ja?"0":"1");!a.Ja&&a.xl&&$v(b,"TO",a.xl);$v(b,"TYPE","xmlhttp");fU(a,b);a.N&&a.ba&&ES(b,a.N,a.ba);a.kc&&a.j.setTimeout(a.kc);var c=a.j;a=a.vl;c.eb=1;c.L=BS(b.clone());c.N=null;c.Qb=!0;Eva(c,a)};Dj.prototype.Op=function(){this.T!=null&&(this.T=null,$T(this),aU(this),ij(19))};
var ZT=function(a){a.T!=null&&(n.clearTimeout(a.T),a.T=null)},Jva=function(a,b){var c=null;if(a.j==b){ZT(a);XT(a);a.j=null;var d=2}else if(YT(a.C,b))c=b.ka,Nva(a.C,b),d=1;else return;if(a.B!=0)if(b.D)if(d==1){c=b.N?b.N.length:0;b=Date.now()-b.ra;var e=a.ra;d=ej();d.dispatchEvent(new jj(d,c,b,e));dU(a)}else Ova(a);else{var f=b.kc;e=b.G;if(e==3||e==0&&f>0)f>200&&(a.pl=b.kc);else if(d==1&&Wva(a,b)||d==2&&aU(a))return;c&&c.length>0&&(b=a.C,b.o=b.o.concat(c));switch(e){case 1:bU(a,5);break;case 4:bU(a,
10);break;case 3:bU(a,6);break;default:bU(a,2)}}},Vva=function(a,b){var c=a.Kt+Math.floor(Math.random()*a.Vp);a.isActive()||(c*=2);return c*b},bU=function(a,b){a.g.info("Error code "+b);if(b==2){var c=sj(a.Wp,a),d=a.Kp;let e=!d;d=new bi(d||"//www.google.com/images/cleardot.gif");n.location&&n.location.protocol=="http"||ci(d,"https");BS(d);e?Mba(d.toString(),c):Nba(d.toString(),c)}else ij(2);a.B=0;a.D&&a.D.vn(b);Tva(a);Sva(a)};
Dj.prototype.Wp=function(a){a?(this.g.info("Successfully pinged google.com"),ij(2)):(this.g.info("Failed to ping google.com"),ij(1))};var Tva=function(a){a.B=0;a.yl=[];if(a.D){let b=Rva(a.C);if(b.length!=0||a.o.length!=0)Pa(a.yl,b),Pa(a.yl,a.o),a.C.o.length=0,Na(a.o),a.o.length=0;a.D.un()}};Dj.prototype.jb=function(){return this.Ot};
var Mva=function(a,b,c){var d=Lsa(c);d.g!=""?(b&&di(d,b+"."+d.g),ei(d,d.o)):(d=n.location,d=$p(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.Fa;c=a.Zo;b&&c&&$v(d,b,c);$v(d,"VER",a.dl);fU(a,d);return d},Fva=function(a,b,c){if(b&&!a.yb)throw Error("Ia");b=a.yp&&!a.Lo?new bj(new wS({vp:c})):new bj(a.Lo);b.T=a.yb;return b};Dj.prototype.isActive=function(){return!!this.D&&this.D.isActive(this)};var $va=function(){};k=$va.prototype;k.xn=function(){};k.wn=function(){};k.vn=function(){};
k.un=function(){};k.isActive=function(){return!0};k.dr=function(){};var hU=function(a,b){vh.call(this);this.g=new Dj(b);this.C=a;this.j=b&&b.Ss||null;a=b&&b.Rs||null;b&&b.rD&&(a?a["X-Client-Protocol"]="webchannel":a={"X-Client-Protocol":"webchannel"});this.g.ba=a;a=b&&b.FD||null;b&&b.Gl&&(a?a["X-WebChannel-Content-Type"]=b.Gl:a={"X-WebChannel-Content-Type":b.Gl});b&&b.Cn&&(a?a["X-WebChannel-Client-Profile"]=b.Cn:a={"X-WebChannel-Client-Profile":b.Cn});this.g.je=a;(a=b&&b.DD)&&!la(a)&&(this.g.N=a);this.G=b&&b.wp||!1;this.D=b&&b.ut||!1;(b=b&&b.Mr)&&!la(b)&&(this.g.Fa=
b,a=this.j,a!==null&&b in a&&ph(this.j,b));this.o=new gU(this)};cF(hU,vh);hU.prototype.open=function(){this.g.D=this.o;this.G&&(this.g.yb=!0);this.g.connect(this.C,this.j||void 0)};hU.prototype.close=function(){eU(this.g)};hU.prototype.send=function(a){var b=this.g;if(typeof a==="string"){var c={};c.__data__=a;a=c}else this.D&&(c={},c.__data__=YR(a),a=c);Uva(b,a)};hU.prototype.oa=function(){this.g.D=null;delete this.o;eU(this.g);delete this.g;hU.Kb.oa.call(this)};
var awa=function(a){kT.call(this);a.__headers__&&(this.headers=a.__headers__,this.statusCode=a.__status__,delete a.__headers__,delete a.__status__);var b=a.__sm__;if(b){a:{for(let c in b){a=c;break a}a=void 0}if(this.o=a)a=this.o,b=b!==null&&a in b?b[a]:void 0;this.data=b}else this.data=a};cF(awa,kT);var bwa=function(a){lT.call(this);this.status=1;this.errorCode=a};cF(bwa,lT);var gU=function(a){this.g=a};cF(gU,$va);gU.prototype.xn=function(){this.g.dispatchEvent("a")};gU.prototype.wn=function(a){this.g.dispatchEvent(new awa(a))};
gU.prototype.vn=function(a){this.g.dispatchEvent(new bwa(a))};gU.prototype.un=function(){this.g.dispatchEvent("b")};var nT=function(a){this.g=a};nT.prototype.commit=function(a){this.g.he=a};var cwa=function(){this.g=[]};cwa.prototype.add=function(a){this.g.push(a)};
var dwa=function(){var a=a===void 0?Date:a;var b=b===void 0?tH(a.now()*1E3):b;this.j=a;this.g=b},ewa=function(a,b,c){this.authMethod=b;this.g=new vT(a,c)},fwa=async function(a,b,c,d,e){var f=new dwa,g=new zua;b=K(g,1,b);d=J(b,4,d);c=J(d,5,c);e&&(d=e.B!=null?kH(e.B)/1E6:void 0,d=N(c,2,d==null?d:wc(d)),e=e.o!=null?tH(e.j.now()*1E3).add(e.o):void 0,Vr(d,3,e==null?void 0:e.toString()));a=await a.g.post("/v1/chooseServer",c,Aua,Vi(a.authMethod));e=lk(MF(a,4));c=lk(MF(a,5));d=tH(f.j.now()*1E3);b=mH(c,e);
f.B=mH(mH(d,f.g),b);f.o=mH(mH(e,f.g).add(c),d).div(tH(2));e=C(a,1);if(e==null)throw Error("Ka");var h,l;return{vj:e,Hk:(h=Jt(a,2))!=null?h:0,Vr:(l=$t(a,3))!=null?l:0,Dt:f}},gwa=function(a,b,c){this.authMethod=b;this.g=new vT(a,c)},hwa=async function(a,b,c){if(a.authMethod instanceof Zi)return Promise.resolve();var d=new Hua;c=D(d,1,c);d=Vi(a.authMethod);d.ci==null&&(d.ci={});d.ci.gsessionid=b;d.um=1E4;try{await a.g.post("/v1/refreshCreds",c,Iua,d)}catch(e){}},iwa=function(a,b,c){this.project=a;this.j=
b;this.o=c;this.B=!1;this.g=Date.now()},jU=function(a,b){var c=this;this.N=a;this.options=b;this.G=!1;this.streams=new Map;this.L=new TS;this.ra=0;this.B=new TS;this.status=new Wi(new LL);this.ka=new Rua;this.C=[];this.ba=!1;this.D=0;this.o=[];this.T=new ji;this.j=function(g){Promise.resolve().then(function(){var h,l;(h=c.options.nh)==null||(l=h.g)==null||l.call(h,g)}).catch(function(){})};var d;((d=this.options.nh)==null?0:d.g)&&this.T.listen(ej(),"statevent",function(g){c.j(g)});this.B.j(Rba(function(g){return Kx(g)===
0?Promise.resolve():new Promise(function(h){Gj(h,500)})})).subscribe(this.status);this.H=new Oi;var e,f;this.Tj=(f=(e=b.Tj)==null?void 0:e.j(Ej(function(){return VS}),Qba(VS)))!=null?f:VS;iU(this)},jwa=function(a,b,c){b=b.then(function(d){var e=!1;switch(d.fj()){case 2:case 0:var f=a.Ke;e=a.Qd;break;case 1:f=a.hf;break;default:f=new bi}var g=fi(f.clone(),gva(f.getPath(),"/multi-watch/channel"));return{wt:new ewa(f,d,cj(c.Xg)),nr:new gwa(f,d,cj(c.Xg)),Nk:function(h,l,m){var p,t,w=new Jua(g,d,c.Xg!==
void 0,e,(t=(p=c.nh)==null?void 0:p.Bg)!=null?t:!1);h=new mT(h,l,w,function(A,M){return new hU(A,M)},m);h.open();return h}}});return new jU(b,c)},kwa=function(a,b){return Math.max(Math.min(a,b!=null?b:a)+(24E4+4E4*Math.random())-a,0)},lwa=function(a){var b;Gj(function(){a.N.then(function(c){var d,e;((d=a.g)==null?void 0:d.channelId)!=null&&((e=a.g)==null?void 0:e.Cj)!=null&&Date.now()>=a.g.Cj+24E4?(hwa(c.nr,a.g.vj,a.g.channelId).catch(function(){}),a.g.Cj=Date.now(),lwa(a)):a.G=!1})},kwa(Date.now(),
(b=a.g)==null?void 0:b.Cj))};jU.prototype.nb=function(a,b){b=q(b.g);for(var c=b.next();!c.done;c=b.next()){c=c.value;c=new oT(c.objectId,c.version,c.payload,c.j,c.g);try{a.j.next(c)}catch(d){}}};var mwa=function(a,b){return a.C.find(function(c){var d;if(d=c.project===b.project)c=c.j,d=b.g,d=c instanceof hk&&d instanceof hk?c.equals(d):c instanceof tT&&d instanceof tT?c.equals(d):!1;return d})};jU.prototype.onClose=function(){this.j(new Xua);this.g=void 0;iU(this)};
jU.prototype.Zh=function(a,b){this.j(new Yua(a));a=ML(new LL,aj(b));this.handleError(a)};jU.prototype.handleError=function(a){this.g==null||this.g.oo||Kx(a)!==14||this.D++;try{this.B.next(a)}catch(c){}a=q(this.streams.values());for(var b=a.next();!b.done;b=a.next())b.value.B=2};
var owa=function(a,b,c){if(a.g){var d=nwa(c.project,c.g);if(c instanceof kU){var e=SF(d,1,c.o.toString());I(e,8,c.C)}H(d,9,c.B);c.B=0;c=new bT;e=Re(c,1,aT);b=SF(e,1,b.toString());d=y(b,2,Cua,d);H(d,4,a.g.Hk);a.g.channel.send(c)}},nwa=function(a,b){var c=new xua;c=K(c,4,Oua);if(b instanceof hk){var d=new ZS;if(a!=null){var e=d;a=Kj(a);K(e,1,a)}a=d;e=b.g()?vua():uua();a=K(a,2,e);b=gk(b);K(a,3,b);y(c,2,yua,d)}else d=new wua,a!=null&&(e=d,a=Kj(a),K(e,1,a)),a=d,e=b.root.g()?vua():uua(),a=K(a,2,e),b=gk(b.root),
K(a,3,b),y(c,6,yua,d);return c},iU=function(a){var b=nua(a.H);Zba(b).j(Wba(a.Tj.j(Fj(function(){var c=a.ka;c.update();c.g<1?c=!1:(c.g--,c=!0);return c})))).subscribe(function(){a.N.then(function(c){a.j(new Sua);pwa(a,c.wt).then(function(d){a.j(new Tua);a.ca=d.Dt;Gj(function(){a.ba=!0;qwa(a,c.Nk,d)},a.ba?0:d.Vr)},function(d){var e=ML(new LL,2);d instanceof uT?(TF(e,2,d.message),d.status&&ML(e,aj(d.status)),d.status===503&&a.D++):TF(e,2,d.toString());a.j(new Uua);try{a.B.next(e)}catch(f){}iU(a)})},
function(c){var d=ML(new LL,13);c=TF(d,2,c.toString());a.B.next(c)})})},pwa=async function(a,b){var c=await rwa(a),d=q(c);c=d.next().value;d=d.next().value;for(var e=Date.now();a.o.length>0&&a.o[a.o.length-1]<=e-12E4;)a.o.pop();e=a.o.length;e>1&&a.j(new Vua(e));return fwa(b,nwa(c,d),e,a.D,a.ca)},rwa=async function(a){for(;;){if(a.options.nm)for(var b=q(a.streams.values()),c=b.next();!c.done;c=b.next()){c=c.value;let d=c.g;d instanceof tT&&(d=d.root);if(d.g())return[c.project,c.g]}b=q(a.streams.values());
for(b=b.next();!b.done;b=b.next())return a=b.value,[a.project,a.g];await Ii(eta(a.L).j(Fj()))}},qwa=function(a,b,c){a.j(new Wua);a.o.unshift(Date.now());a.g={channel:b(function(f){var g=z(f,Gua,1,B());g=q(g);for(var h=g.next();!h.done;h=g.next()){var l=a,m=h.value;l.g!=null&&(l.g.oo=!0);l.D=0;h=nk(m,1);if(h!=null)if(h=Number(h),bp(m,eT,3,hT)){a:{if(m=tk(m,eT,3,hT))if(m=m.S())break a;m=void 0}if(m){var p=l.streams.get(h);p&&($t(m,1)===0?p.j.complete():p.j.error(l.options.nk?new $ua(m):m),l.streams.delete(h))}}else if(p=
tk(m,fT,2,hT))switch(kk(p,gT)){case 1:m=tk(p,Fua,1,gT);m=hs(m,1);m=ok(m);p=l.streams.get(h);if(p instanceof lU){try{p.j.next(new ava)}catch(ja){}l.streams.set(h,p.start(m))}break;case 3:a:{if(m=tk(p,Dua,3,gT))if(m=nk(m,1),m!=null){m=new bva(lk(m));break a}m=void 0}if(m&&(p=l.streams.get(h),p instanceof kU)){l=p;h=m.g;h>l.o&&(l.o=h,l.C=!0);try{p.j.next(m)}catch(ja){}}break;case 2:h=l.streams.get(h);if(!(h instanceof kU))break;m=h.g;var t=tk(p,Eua,2,gT);if(t){p=new cwa;t=q(z(t,$S,1,B()));for(var w=
t.next();!w.done;w=t.next()){w=w.value;var A=O(w,Lj,6);let ja=nk(w,3);if(!A||ja==null)continue;var M=void 0,da=(M=rk(w,2,void 0,void 0,Be))==null?void 0:new Uint8Array(Te(M)||0);da=da==null?void 0:da;(A=$ba(m,A))&&p.add(new oT(A,lk(ja),da,!!E(w,7),!!E(w,8)))}m=p}else m=void 0;m&&l.nb(h,m);break;case 5:if(h=l.streams.get(h)){if(h instanceof kU){m=l;p=0;for(t=Date.now();p<m.C.length;)t>=m.C[p].g+6E4?m.C.splice(p):++p;(m=mwa(l,h))?(m.B=!0,m.o=h.o,m.g=Date.now()):l.C.push(new iwa(h.project,h.g,h.o))}try{h.j.complete()}catch(ja){}}}}if(ds(f,
iT,2))switch(M=f.S(),Jt(M,1)){case 1:M=q(a.streams.values());for(g=M.next();!g.done;g=M.next())g.value.B=3;a.g&&a.g.channel.close()}ds(f,cT,3)&&a.g&&(M=a.g,f=O(f,cT,3),f=x(f,1),M.channelId=f,a.g.Cj=Date.now(),a.G||(lwa(a),a.G=!0))},a,c.vj),Hk:c.Hk,vj:c.vj,oo:!1};b=Array.from(a.streams.entries());b.sort(function(f,g){return f[0]-g[0]});b=q(b);for(c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;owa(a,c,d)}var e=a.g;Gj(function(){a.g===e&&a.H.reset()},45E3)};
jU.prototype.watch=function(a,b){var c=this;b=b===void 0?{}:b;return new Bi(function(d){var e=++c.ra,f,g=(f=b.hE)!=null?f:c.options.rr;d=new lU(d,g,a);c.streams.set(e,d);c.L.next({});owa(c,e,d);return function(){var h=new bT;var l=Re(h,1,aT);l=SF(l,1,e.toString());var m=new Bua;y(l,3,Cua,m);c.g&&c.g.channel.send(h);c.streams.delete(e)}})};var lU=function(a,b,c){this.j=a;this.project=b;this.g=c;this.B=1};lU.prototype.start=function(a){return new kU(this.j,this.project,this.g,a)};
var kU=function(a,b,c,d){this.j=a;this.project=b;this.g=c;this.o=d;this.C=!0;this.B=1};var swa={Ke:new bi("https://signaler-pa.clients6.google.com/punctual"),hf:new bi("https://signaler-pa.googleapis.com/punctual"),Qd:!1},twa={Ke:new bi("https://punctual.corp.google.com/punctual"),hf:new bi,Qd:!1},uwa={Ke:new bi("https://punctual-dev.corp.google.com/punctual"),hf:new bi("https://signaler-staging.sandbox.google.com/punctual"),Qd:!1},vwa=new Map([["corp",twa],["prod",swa],["prod-up",twa],["preprod-dynamite-alpha-us",xk("alpha-us")],["preprod-dynamite-alpha-eu",xk("alpha-eu")],["preprod-dynamite-beta-us",
xk("beta-us")],["preprod-dynamite-beta-eu",xk("beta-eu")],["preprod-dynamite-gamma-us",xk("gamma-us")],["preprod-dynamite-gamma-eu",xk("gamma-eu")],["preprod-qual-dynamite-perftest",vk("preprod-qual-dynamite-perftest")],["prod-dynamite-prod-00-eu",xk("prod-00-eu")],["prod-dynamite-prod-01-eu",xk("prod-01-eu")],["prod-dynamite-prod-00-us",xk("prod-00-us")],["prod-dynamite-prod-01-us",xk("prod-01-us")],["prod-dynamite-prod-02-us",xk("prod-02-us")],["prod-dynamite-prod-03-us",xk("prod-03-us")],["prod-dynamite-prod-04-us",
xk("prod-04-us")],["prod-dynamite-prod-05-us",xk("prod-05-us")],["prod-dynamite-prod-06-us",xk("prod-06-us")],["prod-dynamite-prod-07-us",xk("prod-07-us")],["prod-dynamite-prod-08-us",xk("prod-08-us")],["prod-dynamite-prod-09-us",xk("prod-09-us")],["dynamite-alpha-us",wk("preprod","alpha-us")],["dynamite-alpha-eu",wk("preprod","alpha-eu")],["dynamite-beta-us",wk("preprod","beta-us")],["dynamite-beta-eu",wk("preprod","beta-eu")],["dynamite-gamma-us",wk("preprod","gamma-us")],["dynamite-gamma-eu",wk("preprod",
"gamma-eu")],["dynamite-prod-00-us",wk("prod","prod-00-us")],["dynamite-prod-00-eu",wk("prod","prod-00-eu")],["dynamite-prod-01-us",wk("prod","prod-01-us")],["dynamite-prod-01-eu",wk("prod","prod-01-eu")],["dynamite-prod-02-us",wk("prod","prod-02-us")],["dynamite-prod-03-us",wk("prod","prod-03-us")],["dynamite-prod-04-us",wk("prod","prod-04-us")],["dynamite-prod-05-us",wk("prod","prod-05-us")],["dynamite-prod-06-us",wk("prod","prod-06-us")],["dynamite-prod-07-us",wk("prod","prod-07-us")],["dynamite-prod-08-us",
wk("prod","prod-08-us")],["dynamite-prod-09-us",wk("prod","prod-09-us")],["prod-asia-east1",vk("asia-east1")],["prod-asia-southeast1",vk("asia-southeast1")],["prod-europe-north1",vk("europe-north1")],["prod-europe-west1",vk("europe-west1")],["prod-europe-west4",vk("europe-west4")],["prod-southamerica-west1",vk("southamerica-west1")],["prod-us-central1",vk("us-central1")],["prod-us-central2",vk("us-central2")],["prod-us-east1",vk("us-east1")],["prod-us-west1",vk("us-west1")],["ytprod",{Ke:new bi("https://signaler-pa.youtube.com/punctual"),
hf:new bi("https://signaler-pa.googleapis.com/punctual"),Qd:!1}],["dev",uwa]]);var mU=function(a){this.o=a;this.g=new fva;this.nm=this.nk=this.j=!1;this.nh=new Zua};mU.prototype.setApiKey=function(a){this.g.apiKey=a;return this};
mU.prototype.build=function(){var a=Hba(this.g),b=this.o;if(!b.startsWith("/punctual/"))throw Error("La`"+b);var c=b.substring(10).split("/");if(c.length!==2)throw Error("Ma`"+b);b=q(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new bi(decodeURIComponent(c.substring(7))),fi(c,"/punctual"),c={Ke:c,hf:c,Qd:!1};else{var d=vwa.get(c);if(!d)throw Error("Na`"+c);c=d}return jwa(c,a,{Tj:this.Tj,rr:this.j?void 0:b,Xg:void 0,nm:this.nm,nh:this.nh,nk:this.nk})};var wwa=function(a,b){this.name=a;this.g=b};var xwa=function(a){this.client=a},ywa=function(a){var b=b===void 0?{}:b;this.g=a;this.j=b;this.status=a.status};ywa.prototype.start=function(){return{stop:function(){return Promise.resolve()}}};
var zwa=function(a,b){b=b.g?ik(b.name):jk(b.name);return a.g.watch(new tT(b),a.j).j(Ni(function(c){return!(c instanceof bva)}),Li(function(c){if(c instanceof oT){var d;if(d=c.payload){d=c.payload;let h=[],l=0,m=0;for(;l<d.length;){var e=d[l++];if(e<128)h[m++]=String.fromCharCode(e);else if(e>191&&e<224){var f=d[l++];h[m++]=String.fromCharCode((e&31)<<6|f&63)}else if(e>239&&e<365){f=d[l++];var g=d[l++];let p=d[l++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|p&63)-65536;h[m++]=String.fromCharCode(55296+(e>>
10));h[m++]=String.fromCharCode(56320+(e&1023))}else f=d[l++],g=d[l++],h[m++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}d=h.join("")}c={version:c.version,payload:d,fE:c.payload,isSynthetic:!1,Zr:c.objectId.parts.length===1}}else c={isSynthetic:!0,Zr:!0};return c}),Yba())};var Awa=function(a){this.g=a};Awa.prototype.build=function(){return new xwa(this.g.build())};var Bwa=function(a){this.A=u(a)};U(Bwa,v);var Cwa=Ig(Bwa);var nU=function(a,b){if(!a)throw SH(bH(b)).g;},oU=function(a){if(a==null)throw EH().g;return a};var pU=function(a,b){a=bH(a);b||(b=["(Object[])null"]);for(var c=yja(),d=0,e=0;e<b.length;){let f=a.indexOf("%s",d);if(f==-1)break;c.g=bH(c.g)+bH(IK(bH(a),d,f));let g;CJ(c,Dwa(b[g=e,e=e+1|0,g]));d=f+2|0}c.g=bH(c.g)+bH(IK(bH(a),d,a.length));if(e<b.length){for(a=" [";e<b.length;e=e+1|0)CJ(c,a),CJ(c,Dwa(b[e])),a=", ";AJ(c,93)}return c.toString()},Dwa=function(a){if(a==null)return"null";try{return a.toString()}catch(g){let h=GH(g);if(h instanceof IH){var b=bH(cH(gI(a)))+String.fromCharCode(64);a=$H(a);
b+=bH((a>>>0).toString(16));a=new Ewa;var c=(Fwa(),qU),d;Gwa?d=!1:d=!1;if(d){d="Exception during lenientFormat for "+bH(b);var e=new Hwa;e.g=null;e.j=c;e.o=d;d=e;for(d.g=h;a;){for(let l=wH([0],rU,Iwa),m=0;m<l.length;m++){e=l[m];a=d;c=typeof console==="undefined"?null:new Jwa;var f;if(f=c)f=a,f=(e.g?e.g:Kwa).pd()<=f.j.pd();f&&(e=a.j.pd(),e=e>=Lwa.pd()?"error":e>=qU.pd()?"warn":e>=Mwa.pd()?"info":"log",console[e].call(console,a.o),a.g&&sU(c,e,a.g,"Exception: ",!0))}a=null}}return"<"+bH(b)+" threw "+
bH(cH(gI(h)))+">"}throw h.g;}};var tU=function(){},Kwa,Mwa,Lwa,qU;U(tU,ZG);tU.prototype.g=function(){return"DUMMY"};tU.prototype.pd=function(){return-1};tU.prototype.toString=function(){return this.g()};var Fwa=function(){Fwa=function(){};Kwa=new uU;Mwa=new vU;Lwa=new wU;qU=new xU};var uU=function(){};U(uU,tU);uU.prototype.g=function(){return"ALL"};uU.prototype.pd=function(){return-2147483648};var vU=function(){};U(vU,tU);vU.prototype.g=function(){return"INFO"};vU.prototype.pd=function(){return 800};var wU=function(){};U(wU,tU);wU.prototype.g=function(){return"SEVERE"};wU.prototype.pd=function(){return 1E3};var xU=function(){};U(xU,tU);xU.prototype.g=function(){return"WARNING"};xU.prototype.pd=function(){return 900};var Hwa=function(){};U(Hwa,ZG);var rU=function(){};U(rU,ZG);var Iwa=function(a){return a instanceof rU};var Jwa=function(){};U(Jwa,ZG);var sU=function(a,b,c,d,e){(!e&&console.groupCollapsed?console.groupCollapsed:console.group?console.group:console.log).call(console,bH(d)+bH(c.toString()));d=c.g;console[b].call(console,d&&d.stack||"");(d=c.o)&&sU(a,b,d,"Caused by: ",!1);var f;c.B?f=c.B.Xb(wH([0],AH,HH)):f=wH([0],AH,HH);for(let g=f,h=0;h<g.length;h++)sU(a,b,g[h],"Suppressed: ",!1);console.groupEnd&&console.groupEnd.call(console)};var Ewa=function(){};U(Ewa,ZG);var Gwa=!1;var Nwa=function(){Nwa=function(){};Owa=XH(Error.stackTraceLimit)},Owa=0;var Vl=function(a,b){this.o=b;this.j=a;BH(this);DH(this,Error(this))};U(Vl,JH);Vl.prototype.getError=function(){return this.g};JE.Object.defineProperties(Vl.prototype,{error:{configurable:!0,enumerable:!0,get:function(){var a=Error(),b=this.g;a.fileName=b.fileName;a.lineNumber=b.lineNumber;a.columnNumber=b.columnNumber;a.message=b.message;a.name=b.name;a.stack=b.stack;a.toSource=b.toSource;a.cause=b.cause;for(let c in b)c.indexOf("__java$")!=0&&(a[c]=b[c]);return a}}});var Pwa=function(a){var b=rC;if(a==null)for(a=0;a<b.length;a=a+1|0){if(b[a]==null)return a}else for(let c=0;c<b.length;c=c+1|0)if(bI(a,b[c]))return c;return-1};var Qwa=function(){},yU;U(Qwa,ZG);var AU=function(){zU();var a=new Qwa;a.g=[];return a},BU=function(a,b){a.g.push(b);return a},CU=function(a,b){Rwa(a.g,b);return a},DU=function(a){var b=a.g.length==0?yU:a.g;a.g=null;return b},zU=function(){zU=function(){};yU=[]};var Swa=function(a,b){return oI(a,b)},FU=function(){EU();return Swa},Twa=function(a){EU();return function(b,c){var d=Twa(a);if(b instanceof Array&&c instanceof Array)return Uwa(b,c,d);if(b instanceof Array&&c instanceof Array)return Vwa(b,c,d);if(b instanceof Array&&c instanceof Array){a:if($G(b,c))b=!0;else{var e=b?b.length:0;if(e!=(c?c.length:0))b=!1;else{for(let f=0;f<e;f=f+1|0)if(!d(b[f],c[f])){b=!1;break a}b=!0}}return b}return b!=null&&b.Yg&&c!=null&&c.Yg?Wwa(b,c,d):a(b,c)?!0:!1}},EU=function(){EU=
function(){};FU();FU();Twa(Swa)};var Uwa=function(a,b,c){if($G(a,b))return!0;if(!a)return!b||b.length==0;if(!b)return a.length==0;var d=a.length;if(d!=b.length)return!1;for(let e=0;e<d;e=e+1|0)if(!c(a[e],b[e]))return!1;return!0};var Xwa=function(a,b){var c=GK([!1],hI,iI);a.jj(function(d,e){var f;return(f=b.g,f(d,e))?(c[0]=!0,1):0});return c[0]},Ywa=function(a,b){var c=GK([!0],hI,iI);a.jj(function(d,e){var f;return(f=b.g,f(d,e))?0:(c[0]=!1,1)});return c[0]};var Zwa=function(a,b,c){var d=a.get(b);if(d!=null)return d;c=dJ(c,b);c!=null&&a.Ve(b,c);return c};var $wa=function(a){this.g=a};U($wa,ZG);var GU=function(a){if(a==null)throw QI("can't identity hash null").g;return":"+$H(a)},axa=function(a){return a.toString()};var HU=function(){};U(HU,ZG);k=HU.prototype;k.wb=function(){return this.g};k.getValue=function(){return this.j};k.setValue=function(){var a=new OH;CH(a,"setValue not supported");DH(a,Error(a));throw a.g;};k.equals=function(a){return $G(this,a)||a instanceof HU&&oI(this.g,a.g)&&oI(this.j,a.j)};k.ib=function(){return(this.g==null?0:cI(this.g))^(this.j==null?0:cI(this.j))};
k.toString=function(){return CJ(BJ(CJ(CJ(BJ(CJ(CJ(zja(jH(jH(iH(dH(eH(this))),"."),"$")),"{"),"key="),this.g),", "),"value="),this.j),"}").toString()};k.yi=!0;var IU=function(){};U(IU,ZG);IU.prototype.Sb=function(){throw PH().g;};IU.prototype.next=function(){return NH(this)};IU.prototype.Zc=function(a){MH(this,a)};var JU=function(){};U(JU,IU);JU.prototype.sa=function(){return this.g.sa()};JU.prototype.wa=function(){return this.g.wa()};var bxa=function(){};U(bxa,IU);var KU=function(){this.g=this.o=0};U(KU,bxa);k=KU.prototype;k.sa=function(){return this.g<this.o};k.wa=function(){if(!this.sa())throw iJ().g;var a,b=(a=this.g,this.g=this.g+1|0,a);return this.j.mb(b)};k.Ph=function(){return this.g};k.Ng=function(){return this.g>0};k.Rh=function(){if(!this.Ng())throw iJ().g;var a=this.g=this.g-1|0;return this.j.mb(a)};k.Qh=function(){return this.g-1|0};var LU=function(){this.g=!1};U(LU,IU);LU.prototype.sa=function(){return!this.g};LU.prototype.wa=function(){if(this.g)throw iJ().g;this.g=!0;return this.j};var MU=function(a){oU(a);if(!(a instanceof IU)){let b=new JU;b.g=a;a=b}return a};var NU=function(){};U(NU,jI);k=NU.prototype;k.contains=function(a){return a!=null&&jI.prototype.contains.call(this,a)};k.add=function(){throw PH().g;};k.remove=function(){throw PH().g;};k.lf=function(){throw PH().g;};k.clear=function(){throw PH().g;};k.Mf=function(){var a=this.B;return a?a:this.B=this.Gj()};k.Gj=function(){switch(this.size()){case 0:return OU(),PU;case 1:return QU(this.gd().wa());default:return cxa(this,this.hc())}};k.Ba=function(){return this.gd()};var RU=function(){};U(RU,NU);var QU=function(a){var b=oU(a);a=new SU;b=oU(b);VI();var c=new FJ;c.g=b;a.j=c;return a};k=RU.prototype;k.indexOf=function(a){if(a==null)a=-1;else a:if(YI(this))b:{var b=this.size();if(a==null)for(a=0;a<b;a=a+1|0){if(this.mb(a)==null)break b}else for(let c=0;c<b;c=c+1|0)if(bI(a,this.mb(c))){a=c;break b}a=-1}else{for(b=this.Hj();b.sa();)if(oI(a,b.wa())){a=b.Qh();break a}a=-1}return a};
k.lastIndexOf=function(a){if(a==null)a=-1;else a:if(YI(this))b:{if(a==null)for(a=this.size()-1|0;a>=0;a=a-1|0){if(this.mb(a)==null)break b}else for(var b=this.size()-1|0;b>=0;b=b-1|0)if(bI(a,this.mb(b))){a=b;break b}a=-1}else{for(b=this.Nf(this.size());b.Ng();)if(oI(a,b.Rh())){a=b.Ph();break a}a=-1}return a};k.Qi=function(){throw PH().g;};k.kh=function(){throw PH().g;};k.Xj=function(){throw PH().g;};k.gd=function(){return this.Oh(0)};
k.Oh=function(a){var b=this.size(),c=new dxa;c.j=this;if(a<0||a>b){if(a<0)a=pU("%s (%s) must not be negative",["index",V(a)]);else{if(b<0)throw jK("negative size: "+b).g;a=pU("%s (%s) must not be greater than size (%s)",["index",V(a),V(b)])}b=new KH;CH(b,a);DH(b,Error(b));throw b.g;}c.o=b;c.g=a;return c};k.Mf=function(){return this};k.equals=function(a){return exa(this,a)};k.ib=function(){var a=1;for(let b=this.Ba();b.sa();){let c=b.wa();a=Math.imul(31,a)+(c==null?0:cI(c))|0;a=~~a}return a};
k.Fc=function(){return pI(this,16)};k.Hj=function(){return this.Oh(0)};k.Nf=function(a){return this.Oh(a)};k.Zg=!0;k.dg=!0;var TU=function(){};U(TU,ZG);TU.prototype.toString=function(){return UU(this).toString()};var VU=function(){};U(VU,TU);k=VU.prototype;k.Ba=function(){return UU(this).Ba()};k.size=function(){return UU(this).size()};k.Ga=function(){return UU(this).Ga()};k.contains=function(a){return UU(this).contains(a)};k.add=function(a){return UU(this).add(a)};k.remove=function(a){return UU(this).remove(a)};k.Tc=function(a){return UU(this).Tc(a)};k.lf=function(a){return UU(this).lf(a)};k.clear=function(){UU(this).clear()};k.hc=function(){return UU(this).hc()};k.Xb=function(a){return UU(this).Xb(a)};
k.Fc=function(){return pI(this,0)};k.Ij=function(){return qI(this.Fc())};var WU=function(){};U(WU,VU);WU.prototype.equals=function(a){return $G(a,this)||bI(UU(this),a)};WU.prototype.ib=function(){return cI(UU(this))};WU.prototype.Fc=function(){return pI(this,1)};WU.prototype.kf=!0;var XU=function(){};U(XU,WU);var UU=function(a){return a.g.g.Lb()};XU.prototype.contains=function(a){if(kJ(a)&&a.wb()==null)return!1;try{return WU.prototype.contains.call(this,a)}catch(b){throw GH(b).g;}};XU.prototype.Xb=function(a){a=WU.prototype.Xb.call(this,a);if(this.size()<a.length){var b=this.size();a[b]=null}return a};var YU=function(){};U(YU,NU);k=YU.prototype;k.gd=function(){return MU(this.g.Ba())};k.contains=function(a){return a!=null&&this.g.contains(a)};k.Tc=function(a){return this.g.Tc(a)};k.size=function(){return this.g.size()};k.Ga=function(){return this.g.Ga()};k.hc=function(){return this.g.hc()};k.Xb=function(a){return this.g.Xb(a)};k.toString=function(){return this.g.toString()};var ZU=function(){};U(ZU,RU);ZU.prototype.contains=function(a){return this.g().contains(a)};ZU.prototype.size=function(){return this.g().size()};ZU.prototype.Ga=function(){return this.g().Ga()};var $U=function(){};U($U,ZU);var cxa=function(a,b){var c=new $U;a:switch(b=Zja(b),b.size()){case 0:b=(OU(),PU);break a;case 1:b=QU(b.mb(0));break a;default:b=aV(b)}c.o=a;c.j=b;return c};$U.prototype.g=function(){return this.o};$U.prototype.Oh=function(a){return this.j.Oh(a)};$U.prototype.mb=function(a){return this.j.mb(a)};var bV=function(){};U(bV,NU);var fV=function(a){switch(a.size()){case 0:return cV(),dV;case 1:return eV(a.Ba().wa());default:return fxa(a)}};bV.prototype.equals=function(a){a:if($G(this,a))var b=!0;else{if(a!=null&&a.kf)try{b=this.size()==a.size()&&this.Tc(a);break a}catch(c){if(a=GH(c),!(a instanceof PI))throw a.g;}b=!1}return b};bV.prototype.ib=function(){var a=0;for(let b=this.Ba();b.sa();){let c=b.wa();a=a+(c!=null?cI(c):0)|0;a=~~a}return a};bV.prototype.Fc=function(){return pI(this,1)};
bV.prototype.kf=!0;var gV=function(){};U(gV,bV);k=gV.prototype;k.gd=function(){return MU(this.g.Ba())};k.contains=function(a){return a!=null&&this.g.contains(a)};k.Tc=function(a){return this.g.Tc(a)};k.size=function(){return this.g.size()};k.Ga=function(){return this.g.Ga()};k.hc=function(){return this.g.hc()};k.Xb=function(a){return this.g.Xb(a)};k.toString=function(){return this.g.toString()};k.ib=function(){return cI(this.g)};var hV=function(){};U(hV,ZG);var gxa=function(){};U(gxa,hV);var iV=function(){};U(iV,ZG);var hxa=function(){var a=vQ,b=uQ;if(a==null)throw QI("null key in entry: null="+bH(b)).g;if(b==null)throw QI("null value in entry: "+bH(a)+"=null").g;a=vQ;b=uQ;var c=new jV,d=Gja(oU(a),oU(b));c.j=null;c.o=null;c.B=null;c.g=SJ(d);c.G=a;c.C=b;return c};k=iV.prototype;k.Ee=function(){throw PH().g;};k.remove=function(){throw PH().g;};k.clear=function(){throw PH().g;};k.Ga=function(){return this.size()==0};k.Dc=function(a){return this.get(a)!=null};k.Ae=function(a){return this.values().contains(a)};
k.rj=function(a,b){a=this.get(a);return a!=null?a:b};k.Lb=function(){if(this.j)var a=this.j;else a=new XU,a.g=this,a=this.j=fV(a);return a};k.Kg=function(){return this.o?this.o:this.o=this.Ho()};k.Ho=function(){var a=new kV;a.g=this;return a};k.values=function(){return this.B?this.B:this.B=this.Io()};k.Io=function(){var a=new lV;a.g=this;return a};k.equals=function(a){a=$G(this,a)?!0:a!=null&&a.cg?bI(this.Lb(),a.Lb()):!1;return a};k.ib=function(){return this.Lb().ib()};
k.toString=function(){var a=this.size();if(a<0)throw jK("size cannot be negative but was: "+a).g;nH(a|0).multiply(nH(8)).compare(nH(1073741824));a=AJ(yja(),123);var b=!0;for(let c=this.Lb().Ba();c.sa();){let d=c.wa();b||CJ(a,", ");b=!1;BJ(AJ(BJ(a,d.wb()),61),d.getValue())}return AJ(a,125).toString()};k.replace=function(a,b){return rJ(this,a,b)};k.cg=!0;var mV=function(){};U(mV,iV);k=mV.prototype;k.Ga=function(){return this.g.Ga()};k.Dc=function(a){a:{var b=this.g;oU(b);try{var c=b.Dc(a);break a}catch(d){a=GH(d);if(a instanceof PI){c=!1;break a}throw a.g;}c=void 0}return c};k.Ae=function(a){return this.g.Ae(a)};k.get=function(a){if(a==null)var b=null;else a:{var c=this.g;oU(c);try{b=c.get(a);break a}catch(d){a=GH(d);if(a instanceof PI){b=null;break a}throw a.g;}b=void 0}return b};k.Ho=function(){return fV(this.g.Kg())};
k.Io=function(){var a=this.g.values(),b=new YU;b.g=a;return b};k.size=function(){return this.g.size()};k.equals=function(a){return this.g.equals(a)};k.ib=function(){return cI(this.g)};k.toString=function(){return this.g.toString()};var nV=function(){};U(nV,mV);nV.prototype.values=function(){var a=this.D;if(!a){let e=new jV;a=e;var b=this.C,c=this.G,d=Gja(oU(b),oU(c));a.j=null;a.o=null;a.B=null;a.g=SJ(d);a.G=b;a.C=c;a.D=this;a=this.D=e}return a.Kg()};nV.prototype.cg=!0;var jV=function(){};U(jV,nV);jV.prototype.values=function(){return eV(this.C)};var oV=function(){};U(oV,IU);oV.prototype.sa=function(){return this.g.sa()};oV.prototype.wa=function(){return this.g.wa().wb()};var pV=function(){};U(pV,bV);pV.prototype.Mf=function(){var a=this.j;return a?a:this.j=this.Gj()};pV.prototype.Gj=function(){return cxa(this,this.hc())};var qV=function(){};U(qV,pV);qV.prototype.gd=function(){return this.Mf().gd()};qV.prototype.Fc=function(){var a=this;return ixa(this.size(),new Mja(function(b){return jxa(a,b)}))};qV.prototype.Gj=function(){var a=new rV;a.j=this;return a};var kV=function(){};U(kV,qV);kV.prototype.size=function(){return this.g.size()};kV.prototype.gd=function(){var a=this.g.Lb().gd(),b=new oV;b.g=a;return b};kV.prototype.contains=function(a){return this.g.Dc(a)};var jxa=function(a,b){return a.g.Lb().Mf().mb(b).wb()};var sV=function(){this.o=0};U(sV,ZG);sV.prototype.g=function(a){var b=this;return this.j.Sh(new rI(function(c){a.g(Nja(b.B,c))}))};sV.prototype.fg=function(a){var b=this;this.j.Ni(new rI(function(c){a.g(Nja(b.B,c))}))};sV.prototype.Mg=function(){return this.j.Mg()};sV.prototype.Nh=function(){return 16464|this.o};var ixa=function(a,b){if(0>=a)a=Qja();else{var c=a-1|0;if(0>c)a=Qja();else{a=new DK;var d=nH(c+1|0);a.B=0;a.o=c;JI(a,d,17493);a.j=a.B;c=new sK;nK(c,null);c.o=a;a=c}}a=a.Ko();c=new sV;c.B=b;c.o=1296;c.j=a;return c};var rV=function(){};U(rV,ZU);rV.prototype.mb=function(a){return jxa(this.j,a)};rV.prototype.g=function(){return this.j};var tV=function(){};U(tV,IU);tV.prototype.sa=function(){return this.g.sa()};tV.prototype.wa=function(){return this.g.wa().getValue()};var uV=function(){};U(uV,ZU);uV.prototype.mb=function(a){return this.j.mb(a).getValue()};uV.prototype.g=function(){return this.o};var lV=function(){};U(lV,NU);lV.prototype.size=function(){return this.g.size()};lV.prototype.gd=function(){var a=new tV;a.j=this;a.g=a.j.g.Lb().gd();return a};lV.prototype.contains=function(a){var b;if(b=a!=null)a:{b=this.gd();if(a==null)for(;b.sa();){if(b.wa()==null){b=!0;break a}}else for(;b.sa();)if(bI(a,b.wa())){b=!0;break a}b=!1}return b};lV.prototype.Mf=function(){var a=this.g.Lb().Mf(),b=new uV;b.o=this;b.j=a;return b};var vV=function(){};U(vV,fK);vV.prototype.kf=!0;var kxa=function(){};U(kxa,hV);var lxa=function(){},dV;U(lxa,gV);var fxa=function(a){cV();var b=new lxa;VI();b.g=Bja(a);return b},cV=function(){cV=function(){};dV=fxa(Fja())};var wV=function(){};U(wV,bV);var eV=function(a){var b=new wV;b.g=oU(a);return b};wV.prototype.size=function(){return 1};wV.prototype.gd=function(){var a=new LU;a.j=this.g;return a};wV.prototype.contains=function(a){return bI(this.g,a)};var Uja,Tja=function(){Tja=function(){};Uja=Pja(new SI(function(){var a=new kxa;a.g=pja();return a}),new wJ(function(a,b){a.g.add(oU(b))}),new gK(function(a,b){oU(b);a.g.lf(b.g);return a}),new cJ(function(a){a=a.g;if(a instanceof NU)a=a.Mf();else a:{a=a.hc();switch(a.length){case 0:a=(OU(),PU);break a;case 1:a=QU(a[0]);break a;default:for(let b=0,c=a.length;b<c;b=b+1|0)if(a[b]==null)throw QI("at index "+b).g;a=aV(Zja(a));break a}a=void 0}return a}));Pja(new SI(function(){var a=new gxa;a.g=pja();return a}),
new wJ(function(a,b){a.g.add(oU(b))}),new gK(function(a,b){a.g.lf(b.g);return a}),new cJ(function(a){a=a.g.Ba();if(a.sa()){var b=a.wa();if(a.sa()){var c=new vV;let e=new wK;RJ(e);let f=new tK;var d=f;d.C=e;d.B=null;d.o=null;e.g=f;d=new QJ;RJ(d);e.j=d;e.g.j=e.g;e.g.g=e.g;c.g=e;c.add(oU(b));do c.add(oU(a.wa()));while(a.sa());a=fV(c)}else a=eV(b)}else a=(cV(),dV);return a}))};var dxa=function(){KU.call(this)};U(dxa,KU);var xV=function(){};U(xV,RU);k=xV.prototype;k.indexOf=function(a){return this.g().indexOf(a)};k.lastIndexOf=function(a){return this.g().lastIndexOf(a)};k.mb=function(a){return this.g().mb(a)};k.hc=function(){return this.g().Xb(Array(this.size()))};k.equals=function(a){return bI(this.g(),a)};k.ib=function(){return cI(this.g())};k.gd=function(){return MU(this.g().Ba())};k.contains=function(a){return a!=null&&this.g().contains(a)};k.Tc=function(a){return this.g().Tc(a)};k.size=function(){return this.g().size()};
k.Ga=function(){return this.g().Ga()};k.Xb=function(a){return this.g().Xb(a)};k.toString=function(){return this.g().toString()};var yV=function(){},PU;U(yV,xV);var aV=function(a){OU();var b=new yV;b.j=Hja(a);return b};yV.prototype.g=function(){return this.j};var OU=function(){OU=function(){};VI();PU=aV(Dja)};var SU=function(){};U(SU,xV);SU.prototype.g=function(){return this.j};var exa=function(a,b){if($G(b,oU(a)))return!0;if(b==null||!b.Zg)return!1;var c=a.size();if(c!=b.size())return!1;if(YI(a)&&YI(b)){for(var d=0;d<c;d=d+1|0)if(!oI(a.mb(d),b.mb(d)))return!1;return!0}a:{a=a.Ba();for(b=b.Ba();a.sa();){if(!b.sa()){b=!1;break a}c=a.wa();d=b.wa();if(!oI(c,d)){b=!1;break a}}b=!b.sa()}return b};var zV=function(){};U(zV,ZG);k=zV.prototype;k.get=function(a){return(a=this.g.get(AV(this,a)))?a.getValue():null};k.Ve=function(a,b){var c=this.g,d=c.Ve,e=AV(this,a),f=new HU;f.g=a;f.j=b;d.call(c,e,f)};k.contains=function(a){return this.g.contains(AV(this,a))};k.forEach=function(a){this.g.forEach(function(b,c){a(c.wb(),c.getValue())})};k.jj=function(a){this.g.jj(function(b,c){return a(c.wb(),c.getValue())})};k.Ga=function(){return this.g.Ga()};k.cj=function(){return this.g.cj()};k.bj=function(){return this.g.bj()};
var AV=function(a,b){var c;return c=a.B,c(b)};k=zV.prototype;k.equals=function(a){return a instanceof zV?oI(this.g,a.g):!1};k.ib=function(){return cI(this.g)};k.some=function(a){return Xwa(this,a)};k.every=function(a){return Ywa(this,a)};k.Pm=function(a,b){return Zwa(this,a,b)};k.Yg=!0;var BV=function(){};U(BV,ZG);var CV=function(){var a=new BV;a.g=Object.create(null);return a};k=BV.prototype;k.El=function(a,b){this.g[a]=b};k.forEach=function(a){var b=this.g,c;for(c in b)a(c,b[c])};k.jj=function(a){var b=this.g,c;for(c in b)if(a(c,b[c])==1)break};k.Ga=function(){a:{for(a in this.g){var a=!1;break a}a=!0}return a};k.cj=function(){return DV(this.g)};k.bj=function(){var a=this.g,b=[],c;for(c in a)b.push(c);return b};
k.toString=function(){var a=xja();AJ(a,123);this.forEach(function(b,c){CJ(BJ(CJ(CJ(a,b),"="),c),",")});return CJ(a,"}").toString()};k.ib=function(){var a=this.g,b=0,c;for(c in a){var d=a[c];let e=c;d=(e==null?0:ZH(e))^(d==null?0:cI(d));b+=d;b=~~b}return b};k.equals=function(a){if($G(a,this))return!0;if(!(a instanceof BV))return!1;a:{var b=this.g;a=a.g;var c=FU();if(DV(b)!=DV(a))b=!1;else{for(var d in b)if(!c(b[d],a[d])){b=!1;break a}b=!0}}return b};k.get=function(a){return this.g[a]};
k.contains=function(a){return typeof this.g[a]!="undefined"};k.some=function(a){return Xwa(this,a)};k.every=function(a){return Ywa(this,a)};k.Ve=function(a,b){this.El(a,b)};k.Pm=function(a,b){return Zwa(this,a,b)};k.Yg=!0;var Wwa=function(a,b,c){return $G(a,b)?!0:a&&b&&a.cj()==b.cj()?a.every(new $wa(function(d,e){return b.contains(d)&&c(e,b.get(d))})):!1};var EV=function(a){if(a.length==0)a=(zU(),yU);else{var b=AU();Rwa(b.g,a);a=DU(b)}return a},Vwa=function(a,b,c){if($G(a,b))return!0;if(!a||!b)return!1;var d=a?a.length:0;if(d!=(b?b.length:0))return!1;for(let e=0;e<d;e=e+1|0)if(!c(a[e],b[e]))return!1;return!0};var DV=function(a){var b=0,c;for(c in a)b++;return b};var Rwa=function(a,b){for(let c=0,d=b.length;c<d;c=c+1|0)a.push(b[c])},mxa=function(a,b){a.sort(function(c,d){return b(c,d)})};var nxa={sy:"build-label",lu:"buildLabel",Nu:"clientLog",ow:"docId",Oy:"mobile-app-version",kA:"severity",Vz:"reportSeverity",TC:"severity-unprefixed",Tx:"isArrayPrototypeIntact",Ux:"isEditorElementAttached",tw:"documentCharacterSet",Vx:"isModuleLoadFailure",Uz:"reportName",uy:"locale",kv:"createdOnServer",kz:"numUnsavedCommands",Kv:"cspViolationContext",Tz:"relatedToBrowserExtension",iD:"workerError",pw:"docosPostLimitExceeded",qw:"docosPostLimitType",rw:"docosReactionLimitExceeded",sw:"docosReactionLimitType",
qz:"origin",eA:"saveTakingTooLongOnClient",FC:"truncatedCommentNotificationsCount",GC:"truncatedCommentNotificationsFromPayload",az:"nonfatalReason",bD:"usesModuleSetsServing"};var oxa=function(a){Jba(function(){a.C&&!a.ba&&FV&&FV(new Vl("XDeferred swallowed an error that was never read.",a.C))})};var pxa=function(){};U(pxa,ZG);var GV=function(){this.T=this.D=!1},qxa=[];U(GV,ZG);k=GV.prototype;k.dispose=function(){if(this.D)var a=null;else this.D=!0,a=this.N?this.N:qxa,this.N=null;if(a){this.mf();if(a.length!=0)for(let b=a,c=0;c<b.length;c++)b[c].dispose();jH(jH(iH(dH(eH(this))),"."),"$")}};k.isDisposed=function(){return this.D};k.Ha=function(a){!a||a.isDisposed()?a=null:this.D||(this.N||(this.N=[]),this.N.push(a),a=null);a&&a.dispose()};k.mf=function(){this.T=!0};
k.toString=function(){return ZG.prototype.toString.call(this)||""};var HV=function(a){a.D=!1;a.T=!1};var JV=function(){IV();GV.call(this);this.g=0;this.ba=this.o=this.j=!1;HV(this);this.g=1;this.o=this.j=!1;this.H=[];this.G=[]},FV;U(JV,GV);k=JV.prototype;k.getValue=function(){nU(this.g==2,"XDeferred does not have a value");return this.L.g};k.getError=function(){nU(this.g==3,"XDeferred does not have an error");this.ba=!0;return this.C};k.Ef=function(){return this.g==3};
k.callback=function(a){Nwa();100>Error.stackTraceLimit&&(Error.stackTraceLimit=100);nU(this.g!=4,"Cannot fire a disposed XDeferred");nU(this.g==1,"Cannot fire a XDeferred more than once");Error.stackTraceLimit=Owa;var b=new pxa;b.g=a;this.L=b;this.g=2;rxa(this,!0)};k.Va=function(a){nU(this.g!=4,"Cannot fire a disposed XDeferred");nU(this.g==1,"Cannot fire a XDeferred more than once");this.C=a;this.g=3;oxa(this);rxa(this,!1)};
var sxa=function(a,b,c){nU(a.g!=4,"Cannot add callback to disposed XDeferred");if(a.g!=1&&a.g!=2&&a.g!=3)throw SH("XDeferred addCallbacks called with invalid status "+bH(KV(a))).g;if(a.g==1)b&&a.H.push(b),c&&a.G.push(c);else{if(a.g!=2&&a.g!=3)throw SH("XDeferred maybeFire called with invalid state "+bH(KV(a))).g;if(a.j){if(a.o)throw TH("Cannot add callback to XDeferred that is firing its callback/errback queue ["+bH(KV(a))+"] (recursive)",a.B).g;throw TH("Cannot add callback to XDeferred that is firing its callback/errback queue ["+
bH(KV(a))+"]",a.B).g;}a.j=!0;a.o=!0;try{a.g==2&&b?b(a.L.g):a.g==3&&c&&(a.ba=!0,c(a.C))}catch(d){let e=GH(d);e&&Dk(e.j,e.g,"warning");a.B||(a.B=e);throw e.g;}finally{a.o=!1}a.j=!1}},KV=function(a){var b;if(a.B){var c=a.B;for(b=xja();c;c=c.o)c.g&&(b.g.length>0&&CJ(b,"\nCaused by: "),CJ(b,c.g.stack));b=b.toString()}else b="<none>";return"["+a.g+", "+a.o+", "+a.j+", "+bH(b)+"]"};
JV.prototype.transform=function(a){var b=new JV;sxa(this,function(c){try{var d=a(c)}catch(e){c=GH(e);b.Va(c);return}b.callback(d)},function(c){b.Va(c)});return b};JV.prototype.mf=function(){this.C=this.L=null;this.g=4;this.H.length=0;this.G.length=0;GV.prototype.mf.call(this)};
var rxa=function(a,b){a.j=!0;a.o=!0;try{if(b)for(let c=a.H,d=0;d<c.length;d++)(0,c[d])(a.L.g);else{a.G.length!=0&&(a.ba=!0);for(let c=a.G,d=0;d<c.length;d++)(0,c[d])(a.C)}}catch(c){let d=GH(c);d&&Dk(d.j,d.g,"warning");a.B||(a.B=d);throw d.g;}finally{a.o=!1}a.j=!1;a.H.length=0;a.G.length=0},txa=function(a){IV();FV=a},IV=function(){IV=function(){};FV=function(){}};var uxa=function(a){if(a==null)return a=new AH,BH(a),DH(a,Error(a)),a;if(HH(a))return a;if(a instanceof Error)return GH(a);throw jK("Unsupported type cannot be used to create a Throwable.").g;};var zk;zk=function(a){if(!a)return a;try{a=new URL(typeof a==="object"?a.href:a)}catch(b){return typeof a==="object"?a.href:a}if(a.protocol!=="http:"&&a.protocol!=="https:")return a.protocol.slice(0,-1);a.username="";a.password="";a.hash="";return a.href};yk.prototype.cancel=function(a){if(this.g)this.o instanceof yk&&this.o.cancel();else{if(this.j){let b=this.j;delete this.j;a?b.cancel(a):(b.D--,b.D<=0&&b.cancel())}this.ca?this.ca.call(null,this):this.ba=!0;this.g||this.Va(new Bk(this))}};yk.prototype.L=function(a,b){this.H=!1;LV(this,a,b)};var LV=function(a,b,c){a.g=!0;a.o=c;a.C=!b;vxa(a)},wxa=function(a){if(a.g){if(!a.ba)throw new MV(a);a.ba=!1}};yk.prototype.callback=function(a){wxa(this);LV(this,!0,a)};
yk.prototype.Va=function(a){wxa(this);LV(this,!1,a)};var NV=function(a){throw a;},OV=function(a,b,c){return vs(a,b,null,c)},xxa=function(a,b){vs(a,null,b)},PV=function(a,b){vs(a,b,b)},yxa=function(a,b,c){vs(a,b,function(d){var e=b.call(this,d);if(e===void 0)throw d;return e},c)};yk.prototype.finally=function(a){var b=this;return QV(new Promise(function(c,d){vs(b,function(e){a();c(e)},function(e){a();d(e)})}))};
var vs=function(a,b,c,d){var e=a.g;e||(b===c?b=c=mj(b):(b=mj(b),c=mj(c)));a.G.push([b,c,d]);e&&vxa(a);return a};yk.prototype.then=function(a,b,c){var d,e,f=new CT(function(g,h){e=g;d=h});vs(this,e,function(g){g instanceof Bk?f.cancel():d(g);return zxa},this);return f.then(a,b,c)};yk.prototype.$goog_Thenable=!0;var RV=function(a,b){vs(a,b.callback,b.Va,b)},Axa=function(a,b){b instanceof yk?OV(a,sj(b.B,b)):OV(a,function(){return b})};
yk.prototype.B=function(a){var b=new yk;RV(this,b);a&&(b.j=this,this.D++);return b};yk.prototype.T=function(a){return a instanceof Error};
var Bxa=function(a){return jF(a.G,function(b){return typeof b[1]==="function"})},zxa={},vxa=function(a){if(a.N&&a.g&&Bxa(a)){var b=a.N,c=SV[b];c&&(n.clearTimeout(c.g),delete SV[b]);a.N=0}a.j&&(a.j.D--,delete a.j);b=a.o;for(var d=c=!1;a.G.length&&!a.H;){var e=a.G.shift(),f=e[0];let h=e[1];e=e[2];if(f=a.C?h:f)try{var g=f.call(e||null,b);g===zxa&&(g=void 0);g!==void 0&&(a.C=a.C&&(g==b||a.T(g)),a.o=b=g);if(iva(b)||typeof n.Promise==="function"&&b instanceof n.Promise)d=!0,a.H=!0}catch(l){b=l,a.C=!0,Bxa(a)||
(c=!0)}}a.o=b;d&&(g=sj(a.L,a,!0),d=sj(a.L,a,!1),b instanceof yk?(vs(b,g,d),b.ka=!0):b.then(g,d));c&&(b=new Cxa(b),SV[b.g]=b,a.N=b.g)},TV=function(a){var b=new yk;b.callback(a);return b},QV=function(a){var b=new yk;a.then(function(c){b.callback(c)},function(c){b.Va(c)});return b},Dxa=function(){var a=new yk;a.Va(Error("Db"));return a},MV=function(a){aa.call(this);this.He=a};cF(MV,aa);MV.prototype.message="Deferred has already fired";MV.prototype.name="AlreadyCalledError";
var Bk=function(a){aa.call(this);this.He=a};cF(Bk,aa);Bk.prototype.message="Deferred was canceled";Bk.prototype.name="CanceledError";var Cxa=function(a){this.g=n.setTimeout(sj(this.o,this),0);this.j=a};Cxa.prototype.o=function(){delete SV[this.g];NV(this.j)};var SV={};var UV=function(){bh.call(this);this.j=0;this.g=null};U(UV,bh);UV.prototype.init=function(){this.g=[]};var Ak=new UV,aca=function(a,b,c){this.msg=a;this.e=b;this.severity=c};var VV,Exa=function(){if(!VV){let b=new WV(null);VV=function(){return b}}var a;return a=VV,a()};var XV=function(){};U(XV,ZG);XV.prototype.get=function(){if(this.j==null){let a=n._docs_flag_initialData;this.j=a!=null?a:{}}return this.j};XV.prototype.g=function(){return this.get()};var WV=function(a){this.g=new XV;this.j=null;if(a!=null)for(let e in a){var b=e,c=a[e];if(this.j)throw SH("Cannot use setClientFlag when comparison is enabled.").g;var d=this.g.g();d[b]=yH(c)?c.g:c!=null?c:null}};U(WV,ZG);WV.prototype.clear=function(){this.g=new XV;this.j=null};WV.prototype.get=function(a){YV(this,a);return this.g.g()[a]};
var Fxa=function(a,b){a=a.g.g();return b in a},ZV=function(a,b){a=a.get(b);return typeof a=="string"?a=="true"||a=="1":!!a},$V=function(a,b){YV(a,b);if(!Fxa(a,b)||a.get(b)==null)return NaN;try{var c=bH(a.get(b));VH||(VH=RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$"));if(!VH.test(c)){let d=new EK;CH(d,'For input string: "'+bH(c)+'"');DH(d,Error(d));throw d.g;}return parseFloat(c)}catch(d){let e=GH(d);if(e instanceof EK)return NaN;throw e.g;}},aW=function(a,
b){YV(a,b);if(!Fxa(a,b))return"";a=a.get(b);if(a==null)return"";var c;if(b="number"===typeof a&&(c=a,!0))b=tH(c).equals(tH(c));var d;b?d=""+tH(c):d=bH(a);return d},YV=function(a,b){if(a.j){let c;try{c=a.g.g()[b]}catch(e){let f=GH(e);if(f instanceof JH)c="injection-failed";else throw f.g;}let d;try{d=oU(a.j).g()[b]}catch(e){let f=GH(e);if(f instanceof JH)d="injection-failed";else throw f.g;}if(!oI(c,d))throw SH("Logging is not supported.").g;}};var bW=function(a){Vl.call(this,a,null);DH(this,Error(this))};U(bW,Vl);var cW=function(){GV.call(this);HV(this)};U(cW,GV);var Gxa=function(a,b,c,d){GV.call(this);this.g=0;HV(this);this.o=a;this.g=b;this.j=new dW(Math.imul(c,1E3),d)};U(Gxa,GV);var Kxa=function(a){if(!((a.j.get(null)+1|0)/(a.j.o/1E3)<=a.g))throw(new bW("Query would cause "+bH(a.o)+" to exceed "+a.g+" qps.")).g;a=a.j;var b=kH(tH(Date.now()));Hxa(a,b);var c=Ixa(a.j);if(!c||b>=c.j){let d=new Jxa;c=d;c.j=a.g*Math.floor(b/a.g+1);c.g=0;c.B=2147483647;c.o=-2147483648;c=d;a.j.add(c)}c.g=c.g+1|0;c.B=Math.min(1,c.B);c.o=Math.max(1,c.o)};var Jxa=function(){this.o=this.B=this.g=0};U(Jxa,ZG);var dW=function(a){this.g=this.o=0;this.o=a;this.g=a/50|0;this.j=new eW(V(50))};U(dW,ZG);dW.prototype.get=function(a){return Lxa(this,a,function(b,c){return V(b.intValue()+c.g|0)})};var Lxa=function(a,b,c){b=b!=null?b:kH(tH(Date.now()));Hxa(a,b);var d=0;b=a.g*Math.floor(b/a.g+1)-a.o;for(let e=a.j.Qa()-1|0;e>=0;e=e-1|0){let f=a.j.get(e);if(f.j<=b)break;d=c(V(d),f).intValue()}return d},Hxa=function(a,b){var c;(c=Ixa(a.j))&&b<c.j-a.g&&a.j.clear()};var eW=function(a){this.j=this.o=this.j=0;var b;a!=null?b="number"===typeof a?XH(a):a instanceof Rg?a.kb:a.pd():b=100;this.o=b;this.g=[]};U(eW,ZG);k=eW.prototype;k.add=function(a){var b=this.g[this.j];this.g[this.j]=a;this.j=(this.j+1|0)%this.o|0;return b};k.get=function(a){a=Mxa(this,a);return this.g[a]};k.set=function(a,b){a=Mxa(this,a);this.g[a]=b};k.Qa=function(){return this.g.length};k.Ga=function(){return this.g.length==0};k.clear=function(){this.j=this.g.length=0};
k.wc=function(){var a=this.Qa(),b=this.Qa(),c=this.Qa()-a|0;a=[];for(let e=c;e<b;e=e+1|0){c=a;var d=this.get(e);c.push(d)}return a};var Ixa=function(a){return a.Qa()==0?null:a.get(a.Qa()-1|0)},Mxa=function(a,b){if(b>=a.g.length)throw LH().g;return a.g.length<a.o?b:(a.j+b|0)%a.o|0};var fW=function(){this.g=0},gW;U(fW,ZG);var Nxa=function(){var a=new fW;a.j="OFFLINE";a.g=3;return a};fW.prototype.T=function(){return this.g!=1};fW.prototype.cb=function(){return this.g>=3};fW.prototype.toString=function(){return this.j};var hW=function(){hW=function(){};gW=Nxa()};var iW=function(){cW.call(this);this.j={};this.g=null};U(iW,cW);iW.prototype.mf=function(){cW.prototype.mf.call(this);var a=this.j,b;for(b in a)delete a[b];this.g=null};iW.prototype.dispatchEvent=function(a){if(!this.g){var b=this.j;var c=[],d;for(d in b)c.push(b[d]);this.g=c}b=this.g;for(c=0;c<b.length;c=c+1|0)(0,b[c])(a)};var jW=function(a,b){oU(b);var c=a.j;if(GU(b)in c)throw a=pU("Observer %s previously registered.",[b]),SH(a).g;c=a.j;var d=GU(b);c[d]=b!==void 0?b:null;a.g=null;return b};var Oxa=function(){};U(Oxa,ZG);var kW=function(){GV.call(this);HV(this);this.g=[]};U(kW,GV);var Pxa=function(a,b,c){var d;a:{for(d=0;d<a.g.length;d=d+1|0){var e=a.g[d];if($G(e.j,c)&&$G(e.g,b)){d=!0;break a}}d=!1}d||(a=a.g,c=jW(b,c),d=e=new Oxa,d.g=b,d.j=c,a.push(e))};kW.prototype.mf=function(){for(var a=this.g.pop();a;){var b=a.g,c=a.j;a=b.j;GU(c)in a&&(a=b.j,c=GU(c),delete a[c],b.g=null);a=this.g.pop()}GV.prototype.mf.call(this)};var rC,lW,pC,Qxa="application/msword application/vnd.ms-word application/vnd.ms-word.document.macroenabled.12 application/vnd.ms-word.template.macroenabled.12 application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.openxmlformats-officedocument.wordprocessingml.template".split(" "),Rxa=["application/vnd.google-apps.document","application/vnd.google-apps.kix","application/vnd.google-gsuite.document-blob"],Sxa=["application/vnd.google-apps.drive-sdk.770102487694","application/vnd.google-apps.earth"],
Txa=["application/vnd.google-apps.jam"],Uxa=["application/vnd.google-apps.drive-sdk.796396377186","application/vnd.google-apps.map"],Vxa=["application/vnd.google-apps.fusiontable","application/vnd.google-apps.table"],Wxa=["application/vnd.google-apps.script"],Xxa="application/mspowerpoint application/vnd.ms-powerpoint application/vnd.ms-powerpoint.addin.macroenabled.12 application/vnd.ms-powerpoint.template.macroenabled.12 application/vnd.ms-powerpoint.slideshow.macroenabled.12 application/vnd.ms-powerpoint.presentation.macroenabled.12 application/vnd.openxmlformats-officedocument.presentationml.presentation application/vnd.openxmlformats-officedocument.presentationml.template application/vnd.openxmlformats-officedocument.presentationml.slide application/vnd.openxmlformats-officedocument.presentationml.slideshow".split(" "),
Yxa=["application/vnd.google-apps.presentation","application/vnd.google-apps.punch","application/vnd.google-gsuite.presentation-blob"],Zxa=["application/vnd.google-apps.pix","application/vnd.google-apps.pic"],$xa=["application/vnd.google-apps.flix","application/vnd.google-apps.scenes","application/vnd.google-apps.vid"],aya=["application/vnd.google-apps.form","application/vnd.google-apps.freebird"],bya=["application/vnd.google-apps.drawing"],cya="application/photoshop application/psd image/photoshop image/vnd.adobe.photoshop image/x-photoshop image/psd".split(" "),
dya=["application/illustrator"],eya="application/msexcel application/vnd.ms-excel application/vnd.ms-excel.addin.macroenabled.12 application/vnd.ms-excel.template.macroenabled.12 application/vnd.ms-excel.sheet.macroenabled.12 application/vnd.ms-excel.sheet.macroEnabled.12 application/vnd.ms-excel.sheet.binary.macroenabled.12 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/vnd.openxmlformats-officedocument.spreadsheetml.template".split(" "),fya=["application/vnd.google-apps.spreadsheet",
"application/vnd.google-apps.ritz","application/vnd.google-gsuite.spreadsheet-blob"],gya=["application/google-sites-page","application/vnd.google-apps.site","application/vnd.google-apps.drive-sdk.897606708560","application/vnd.google-apps.drive-sdk.803534686002","application/vnd.google-apps.drive-sdk.107985930432"],mW,hya=["text/markdown","text/x-markdown","text/x-web-markdown"],oha=function(a){oC();if(!(Pwa(a)>=0))throw jK("TypeName "+bH(a)+" is not a valid type.").g;a=lW.get(a);return uC(a)},pha=
function(a){oC();if(!(Pwa(a)>=0)){if(mW.contains(a))return a=mW.get(a),uC(a);throw jK("TypeName "+bH(a)+" is not a valid type.").g;}return a},iya=function(){var a=CV();lW.forEach(function(f,g){for(let h=g,l=0;l<h.length;l++)f=h[l],g=bka(f,47),g>0&&a.Pm(IK(f,0,g),new cJ(function(){return CV()})).Ve(f,!0)});var b=function(f,g){return f==g?0:f<g?-1:1},c=a.bj();mxa(c,b);var d=qC();for(let f=c,g=0;g<f.length;g++){c=f[g];var e=a.get(c);if(!e)continue;e=e.bj();mxa(e,b);X(d,c,EV(e))}sC(d)},oC=function(){oC=
function(){};pC=null;rC=DU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(AU(),"archive"),"audio"),"document"),"drawing"),"earth"),"folder"),"form"),"conversation"),"gem"),"image"),"jam"),"mail-layout"),"map"),"markdown"),"pdf"),"pic"),"presentation"),"script"),"shortcut"),"site"),"spreadsheet"),"table"),"video"),"vids"),"project"));mW=sC(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(qC(),"doc","document"),"docs","document"),"documents","document"),
"email-layout","mail-layout"),"email-layouts","mail-layout"),"folders","folder"),"forms","form"),"gemini-artifact","conversation"),"gemini-conversation","conversation"),"gemini-gem","gem"),"gemini-gems","gem"),"gems","gem"),"images","image"),"mail-layouts","mail-layout"),"map","map"),"maps","map"),"markdown","markdown"),"md","markdown"),"pdfs","pdf"),"photo","image"),"photos","image"),"picture","image"),"presentations","presentation"),"project","project"),"projects","project"),"sheet","spreadsheet"),
"sheets","spreadsheet"),"slide","presentation"),"slides","presentation"),"spreadsheets","spreadsheet"),"textdoc","document"),"vid","vids"),"workbook","project"),"workbooks","project"));lW=sC(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(qC(),"archive","application/bzip2 application/gzip application/gzip-compressed application/gzipped application/rar application/tar application/x-bzip application/x-bzip-compressed-tar application/x-bzip2 application/x-compress application/x-compressed application/x-gtar application/x-gtar-compressed application/x-gunzip application/x-gzip application/x-gzip-compressed application/x-rar application/x-tar application/x-tgz application/x-zip application/x-zip-compressed application/x-7z-compressed application/zip gzip/document multipart/x-gzip multipart/x-rar multipart/x-tar multipart/x-zip multipart/zip".split(" ")),
"audio","application/ogg audio/3gp audio/flac audio/midi audio/mp4a-latm audio/mpeg audio/mpeg3 audio/ogg audio/wav audio/x-matroska audio/x-ms-wma audio/x-wav".split(" ")),"document",DU(BU(BU(CU(CU(CU(AU(),Qxa),Rxa),hya),"text/plain"),"application/vnd.oasis.opendocument.text"))),"drawing",DU(CU(CU(CU(BU(AU(),"application/vnd.oasis.opendocument.graphics"),dya),cya),bya))),"earth",Sxa),"folder",["application/vnd.google-apps.folder"]),"form",aya),"gem",["application/vnd.google-gemini.gem"]),"conversation",
["application/vnd.google-gemini.conversation"]),"image",DU(CU(CU(CU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(BU(AU(),"image/bmp"),"image/jpeg"),"image/png"),"image/gif"),"image/tiff"),"image/x-ms-bmp"),"image/svg+xml"),"image/vnd.microsoft.icon"),"image/heif"),"image/heic"),"image/webp"),cya),dya),Zxa))),"jam",Txa),"mail-layout",["application/vnd.google-apps.mail-layout"]),"map",Uxa),"markdown",hya),"pdf",["application/pdf"]),"pic",Zxa),"presentation",DU(BU(CU(CU(AU(),Xxa),Yxa),"application/vnd.oasis.opendocument.presentation"))),
"script",Wxa),"shortcut",["application/vnd.google-apps.shortcut"]),"site",gya),"spreadsheet",DU(BU(BU(CU(CU(AU(),eya),fya),"application/vnd.oasis.opendocument.spreadsheet"),"text/csv"))),"table",Vxa),"video","application/vnd.google-apps.flix application/vnd.google-apps.scenes application/vnd.google-apps.vid application/x-shockwave-flash video/3gpp video/avi video/dv video/flv video/mkv video/matroska video/mp2p video/mp2t video/mp4 video/mpeg video/mpv video/ogg video/quicktime video/webm video/x-dv video/x-flv video/x-m4v video/x-matroska video/x-ms-asf video/x-ms-wmv video/x-msvideo".split(" ")),
"vids",$xa),"project",["application/vnd.google-apps.project"]));iya()};var Y=function(){};var jya=function(){};U(jya,ZG);var nW=function(){this.j=!1};U(nW,zV);nW.prototype.o=function(){this.j=!0};nW.prototype.Ve=function(a,b){if(this.j)throw PH().g;zV.prototype.Ve.call(this,a,b)};nW.prototype.Yg=!0;var oW=function(){this.j=!1};U(oW,BV);oW.prototype.o=function(){this.j=!0};oW.prototype.El=function(a,b){if(this.j)throw PH().g;BV.prototype.El.call(this,a,b)};oW.prototype.Yg=!0;var kya=function(){};U(kya,jya);var lya=function(a){var b=new kya;b.g=a;return b},sC=function(a){var b=a.g;if(b==null)throw QI("instance").g;b.o();a.g=null;return b},X=function(a,b,c){a.g.Ve(b,c);return a};var qC=function(){pW();var a=new oW;a.g=Object.create(null);return lya(a)},mya=function(a){pW();var b=new nW;b.g=CV();b.B=a;return lya(b)},pW=function(){pW=function(){};sC(mya(function(){return""}))};var qW=function(){this.B=this.j=this.g=0};U(qW,hK);var rW=function(a,b,c,d){var e=new qW;e.o=a;e.g=b;e.j=c;e.B=d;return e};qW.prototype.contains=function(a){return this.j<=a&&this.B>=a};
var nya=function(a){return a instanceof qW},oya=rW("UNKNOWN",0,1,100),pya=rW("APP",1,701,1E3),qya=rW("AUDIO",2,101,200),rya=rW("CHEMICAL",3,201,300),sya=rW("GZIP",4,1101,1200),tya=rW("IMAGE",5,301,400),uya=rW("MESSAGE",6,401,500),vya=rW("MODEL",7,1201,1300),wya=rW("MULTIPART",8,1001,1100),xya=rW("TEXT",9,501,600),yya=rW("VIDEO",10,601,700);var sW,tW,uW,vW,wW,xW,yW,Aya=function(a){var b=bka(a,59),c=b==-1?cka(a):cka(IK(a,0,b));if(c.length!=2)return 1;b=zya(c[0]);c=zya(c[1]);switch(b){case "application":return c in sW?lK(sW[c]):2;case "audio":return c in tW?lK(tW[c]):3;case "image":return c in uW?lK(uW[c]):4;case "multipart":return c in vW?lK(vW[c]):7;case "text":return c in wW?lK(wW[c]):5;case "video":return c in xW?lK(xW[c]):6;default:return a in yW?lK(yW[a]):1}},Bya=function(){Bya=function(){};sW={acad:W(701,Y),bzip2:W(781,Y),dxf:W(702,
Y),"epub+zip":W(703,Y),gzip:W(771,Y),"gzip-compressed":W(782,Y),gzipped:W(783,Y),illustrator:W(762,Y),javascript:W(741,Y),msexcel:W(768,Y),mspowerpoint:W(767,Y),msword:W(704,Y),"octet-stream":W(705,Y),pdf:W(706,Y),photoshop:W(744,Y),"pkcs7-signature":W(707,Y),postscript:W(708,Y),rar:W(772,Y),rtf:W(709,Y),tar:W(773,Y),"vnd.android.package-archive":W(710,Y),"vnd.google-apps.appmaker":W(798,Y),"vnd.google-apps.document":W(711,Y),"vnd.google-apps.drawing":W(712,Y),"vnd.google-apps.drive-sdk.796396377186":W(788,
Y),"vnd.google-apps.drive-sdk.770102487694":W(716,Y),"vnd.google-apps.earth":W(806,Y),"vnd.google-apps.flix":W(813,Y),"vnd.google-apps.pix":W(818,Y),"vnd.google-apps.pic":W(819,Y),"vnd.google-apps.folder":W(745,Y),"vnd.google-apps.form":W(713,Y),"vnd.google-apps.freebird":W(746,Y),"vnd.google-apps.fusiontable":W(764,Y),"vnd.google-apps.jam":W(799,Y),"vnd.google-apps.kix":W(747,Y),"vnd.google-apps.mail-layout":W(811,Y),"vnd.google-apps.map":W(789,Y),"vnd.google-apps.presentation":W(714,Y),"vnd.google-apps.punch":W(748,
Y),"vnd.google-apps.ritz":W(765,Y),"vnd.google-apps.scenes":W(814,Y),"vnd.google-apps.script":W(766,Y),"vnd.google-apps.shortcut":W(805,Y),"vnd.google-apps.drive-sdk.107985930432":W(804,Y),"vnd.google-apps.drive-sdk.803534686002":W(803,Y),"vnd.google-apps.drive-sdk.897606708560":W(763,Y),"vnd.google-apps.site":W(797,Y),"vnd.google-apps.spreadsheet":W(715,Y),"vnd.google-apps.video":W(742,Y),"vnd.google-apps.vid":W(815,Y),"vnd.google-apps.project":W(817,Y),"vnd.google-apps.workbook":W(817,Y),"vnd.google-earth.kmz":W(807,
Y),"vnd.google.colaboratory":W(801,Y),"vnd.google.colaboratory.corp":W(802,Y),"vnd.google-gemini.conversation":W(820,Y),"vnd.google-gemini.gem":W(816,Y),"vnd.google-gsuite.document-blob":W(808,Y),"vnd.google-gsuite.encrypted":W(812,Y),"vnd.google-gsuite.presentation-blob":W(809,Y),"vnd.google-gsuite.spreadsheet-blob":W(810,Y),"vnd.ms-excel":W(717,Y),"vnd.ms-excel.sheet.binary.macroenabled.12":W(749,Y),"vnd.ms-excel.sheet.macroenabled.12":W(750,Y),"vnd.ms-excel.template.macroenabled.12":W(791,Y),"vnd.ms-powerpoint":W(718,
Y),"vnd.ms-powerpoint.presentation.macroenabled.12":W(751,Y),"vnd.ms-powerpoint.slideshow.macroenabled.12":W(752,Y),"vnd.ms-powerpoint.template.macroenabled.12":W(753,Y),"vnd.ms-project":W(719,Y),"vnd.ms-word":W(769,Y),"vnd.ms-word.document.macroenabled.12":W(758,Y),"vnd.ms-word.template.macroenabled.12":W(790,Y),"vnd.ms-works":W(720,Y),"vnd.ms-xpsdocument":W(721,Y),"vnd.oasis.opendocument.graphics":W(761,Y),"vnd.oasis.opendocument.presentation":W(760,Y),"vnd.oasis.opendocument.spreadsheet":W(722,
Y),"vnd.oasis.opendocument.text":W(757,Y),"vnd.openxmlformats-officedocument.presentationml.presentation":W(724,Y),"vnd.openxmlformats-officedocument.presentationml.slideshow":W(754,Y),"vnd.openxmlformats-officedocument.presentationml.template":W(755,Y),"vnd.openxmlformats-officedocument.spreadsheetml.sheet":W(759,Y),"vnd.openxmlformats-officedocument.spreadsheetml.template":W(792,Y),"vnd.openxmlformats-officedocument.wordprocessingml.document":W(723,Y),"vnd.openxmlformats-officedocument.wordprocessingml.template":W(756,
Y),"vnd.visio":W(725,Y),"x-7z-compressed":W(726,Y),"x-bzip":W(774,Y),"x-bzip-compressed-tar":W(775,Y),"x-bzip2":W(776,Y),"x-dosexec":W(795,Y),"x-gtar":W(784,Y),"x-gtar-compressed":W(785,Y),"x-gunzip":W(786,Y),"x-font-ttf":W(727,Y),"x-gzip":W(728,Y),"x-gzip-compressed":W(777,Y),"x-httpd-php":W(729,Y),"x-iwork-keynote-sffkey":W(730,Y),"x-iwork-numbers-sffnumbers":W(731,Y),"x-iwork-pages-sffpages":W(732,Y),"x-javascript":W(743,Y),"vnd.google-apps.drive-sdk.7081045131":W(800,Y),"x-lzh":W(733,Y),"x-ms-publisher":W(734,
Y),"x-ms-shortcut":W(735,Y),"x-ms-wmz":W(736,Y),"x-msdos-program":W(793,Y),"x-msi":W(796,Y),"x-rar":W(770,Y),"x-rar-compressed":W(737,Y),"x-shockwave-flash":W(738,Y),"x-tar":W(778,Y),"x-tgz":W(787,Y),"x-tex":W(739,Y),"x-zip":W(779,Y),"x-zip-compressed":W(780,Y),xml:W(794,Y),zip:W(740,Y)};tW={"3gp":W(107,Y),flac:W(110,Y),m4a:W(111,Y),midi:W(101,Y),mp3:W(112,Y),"mp4a-latm":W(102,Y),mpeg:W(103,Y),mpeg3:W(104,Y),ogg:W(108,Y),"x-matroska":W(113,Y),"x-ms-wma":W(105,Y),"x-wav":W(106,Y),wav:W(109,Y)};yW=
{"chemical/x-gamess-input":W(201,Y),"gzip/document":W(1101,Y),"message/rfc822":W(401,Y),"link/article":W(8,Y),"model/gltf-binary":W(1201,Y)};uW={bmp:W(301,Y),gif:W(302,Y),heic:W(329,Y),heif:W(330,Y),jpeg:W(303,Y),png:W(304,Y),"svg+xml":W(309,Y),tiff:W(305,Y),"vnd.adobe.photoshop":W(326,Y),"vnd.dwg":W(306,Y),"vnd.microsoft.icon":W(327,Y),"x-adobe-dng":W(310,Y),"x-canon-cr2":W(311,Y),"x-canon-crw":W(312,Y),"x-coreldraw":W(307,Y),"x-fuji-raf":W(313,Y),"x-icon":W(328,Y),"x-kodak-kdc":W(314,Y),"x-minolta-mrw":W(315,
Y),"x-nikon-nef":W(317,Y),"x-nikon-nrw":W(318,Y),"x-olympus-orf":W(319,Y),"x-panasonic-rw2":W(320,Y),"x-pentax-pef":W(321,Y),"x-photoshop":W(308,Y),"x-ms-bmp":W(316,Y),"x-sony-sr2":W(323,Y),"x-sony-srf":W(324,Y),"x-raw":W(322,Y),webp:W(325,Y)};vW={"x-gzip":W(1001,Y),"x-rar":W(1002,Y),"x-tar":W(1005,Y),"x-zip":W(1003,Y),zip:W(1004,Y)};wW={calendar:W(501,Y),css:W(502,Y),csv:W(503,Y),ecmascript:W(515,Y),html:W(504,Y),javascript:W(516,Y),plain:W(505,Y),vcard:W(520,Y),"x-c++hdr":W(518,Y),"x-c++src":W(507,
Y),"x-chdr":W(517,Y),"x-csrc":W(506,Y),"x-hwp":W(508,Y),"x-java":W(509,Y),"x-java-source":W(510,Y),"x-objcsrc":W(511,Y),"x-sql":W(512,Y),"x-url":W(519,Y),"x-vcard":W(513,Y),xml:W(514,Y)};xW={"3gpp":W(601,Y),avi:W(602,Y),dv:W(619,Y),flv:W(603,Y),mkv:W(622,Y),mp2p:W(618,Y),mp2t:W(617,Y),mp4:W(604,Y),mpeg:W(605,Y),mpv:W(616,Y),ogg:W(615,Y),quicktime:W(606,Y),webm:W(614,Y),"x-dv":W(613,Y),"x-flv":W(607,Y),"x-m4v":W(610,Y),"x-matroska":W(612,Y),"x-ms-asf":W(611,Y),"x-ms-wmv":W(608,Y),"x-msvideo":W(609,
Y),"x-shockwave-flash":W(620,Y),"x-youtube":W(621,Y)}};var zya=function(a){var b=a.length;for(var c=0;c<b;c=c+1|0){var d=a.charCodeAt(c);if(d>=65&&d<=90){d=a;for(var e=d.length,f=a=wH([e],nja,oja),g=0,h=0;g<e;){var l=void 0,m=void 0,p=(l=h,h=h+1|0,l),t=d,w=(m=g,g=g+1|0,m);f[p]=t.charCodeAt(w)}for(;c<b;c=c+1|0)l=a[c],l>=65&&l<=90&&(a[c]=(l^32)&65535);c=a;a:{b=c;c=c.length|0;if(c==b.length&&c<1E4){b=String.fromCharCode.apply(null,b);break a}l=c;m=b.length;if(l>m||l<0)throw b=new $ja,CH(b,"fromIndex: 0, toIndex: "+l+", length: "+m),DH(b,Error(b)),b.g;l=
"";for(m=0;m<c;)a=Math.min(m+1E4|0,c),l=bH(l)+bH(String.fromCharCode.apply(null,b.slice(m,a))),m=a;b=l}return b}}return a};var zW=function(){};var AW,Cya=function(a){a:{for(let b=GK([oya,pya,qya,rya,sya,tya,uya,vya,wya,xya,yya],qW,nya),c=0;c<b.length;c++){let d=b[c];if(d.contains(a)){a=d;break a}}a=oya}switch(a.g){case 2:return 2;case 5:return 8;case 8:return 18;case 9:return 13;case 10:return 14;case 6:return 27;case 7:return 33}return 1},Dya=function(){Dya=function(){};AW={8:W(23,zW),3:W(2,zW),4:W(8,zW),7:W(18,zW),5:W(13,zW),6:W(14,zW),781:W(18,zW),771:W(18,zW),782:W(18,zW),783:W(18,zW),768:W(9,zW),767:W(10,zW),704:W(11,zW),758:W(11,zW),
790:W(11,zW),741:W(13,zW),706:W(12,zW),744:W(8,zW),772:W(18,zW),709:W(13,zW),773:W(18,zW),801:W(25,zW),802:W(25,zW),711:W(3,zW),808:W(29,zW),712:W(4,zW),716:W(20,zW),806:W(20,zW),807:W(20,zW),813:W(32,zW),818:W(35,zW),819:W(35,zW),745:W(15,zW),713:W(5,zW),746:W(5,zW),764:W(21,zW),811:W(28,zW),747:W(3,zW),788:W(22,zW),789:W(22,zW),714:W(6,zW),809:W(30,zW),748:W(6,zW),814:W(32,zW),766:W(19,zW),805:W(26,zW),763:W(24,zW),803:W(24,zW),804:W(24,zW),797:W(24,zW),715:W(7,zW),810:W(31,zW),765:W(16,zW),815:W(32,
zW),742:W(14,zW),817:W(34,zW),717:W(9,zW),749:W(9,zW),750:W(9,zW),791:W(9,zW),718:W(10,zW),751:W(10,zW),752:W(10,zW),753:W(10,zW),759:W(9,zW),792:W(9,zW),723:W(11,zW),756:W(11,zW),724:W(10,zW),754:W(10,zW),755:W(10,zW),757:W(11,zW),722:W(9,zW),760:W(10,zW),774:W(18,zW),775:W(18,zW),776:W(18,zW),784:W(18,zW),785:W(18,zW),786:W(18,zW),728:W(18,zW),777:W(18,zW),743:W(13,zW),770:W(18,zW),778:W(18,zW),787:W(18,zW),779:W(18,zW),780:W(18,zW),740:W(18,zW),1201:W(33,zW),1101:W(18,zW),622:W(14,zW),612:W(14,
zW),621:W(17,zW)}};var BW=function(a){Dya();Bya();a=Aya(a);return a in AW?lK(AW[a]):Cya(a)};var Eya=new Set("application/vnd.google-apps.document application/vnd.google-apps.drawing application/vnd.google-apps.form application/vnd.google-apps.fusiontable application/vnd.google-apps.presentation application/vnd.google-apps.script application/vnd.google-apps.spreadsheet".split(" ")),Fya=function(a){this.P=a},CW=function(a,b,c,d){if(b.g===c)return b;a.P.da(d).info("Backfill status "+b.g+"->"+c+" "+b.getId());b.g=c;return b};var oE=Object.assign({},{Up:"application/vnd.google-apps.folder",mx:"application/vnd.google-apps.document",nx:"application/vnd.google-apps.kix",sx:"application/vnd.google-gsuite.encrypted",qx:"application/vnd.google-gsuite.document-blob",vx:"application/vnd.google-apps.presentation",wx:"application/vnd.google-apps.punch",tx:"application/vnd.google-gsuite.presentation-blob",xx:"application/vnd.google-apps.spreadsheet",yx:"application/vnd.google-apps.ritz",zx:"application/vnd.google-apps.project",ux:"application/vnd.google-gsuite.spreadsheet-blob",
yz:"application/pdf",Fq:"application/vnd.google-apps.shortcut",xC:"text/html",yC:"text/plain",BD:Jk,JD:function(a){return Gk(a||"")},LD:Kk,MD:function(a){return BW(a||"")===15},ND:function(a){return BW(a||"")===5},PD:function(a){return BW(a||"")===8},QD:function(a){return Fk(a||"")},RD:function(a){return BW(a||"")===12},isScript:function(a){return BW(a||"")===19},TD:function(a){return BW(a||"")===26},UD:function(a){return BW(a||"")===24},VD:function(a){return a==="text/x-url"},WD:function(a){return BW(a||
"")===14},KD:function(a){return BW(a||"")===2},XD:function(a){if(Kk(a)){let c;a=Jk((c=a)!=null?c:"")}var b;return BW((b=a)!=null?b:"")===34}},{AD:function(a){{let b=a.xd();b?a=Ik(b)?Hk(b):b:(Dk("Item ID:"+a.K()+" has no mimeType:"+b,Error("Qa"),"warning"),a="")}return a}});var DW,fE=function(a){Gya();var b=Wja(Yja(Xja(Vpa(a).Ij(),new TI(function(e){return!$G(e,tQ)})),new cJ(function(e){return DW.rj(e,e)}))),c=Wja(Yja(Xja(Wpa(a).Ij(),new TI(function(e){return!$G(e,tQ)})),new cJ(function(e){return DW.rj(e,e)}))),d=zn(a,4)-(cs(a,2,3,void 0,!0).length-b.size())|0;return Fl(Zpa(Xpa(Ypa(Spa(Tpa(Bd(a))),c),b),d))},Gya=function(){Gya=function(){};DW=hxa()};var bE;var sE;var qE;var rE;var Hya=!!($E[0]&1),dE=!!($E[0]&8),qia=!!($E[0]&16),oia=!!($E[0]&32),pia=!!($E[0]&128),Iya=!!($E[0]&512),Jya=!!($E[0]&1024),Kya=!!($E[1]&8192),Lya=!!($E[1]>>14&1),Mya=!!($E[1]>>16&1);var Nya=function(){};U(Nya,JH);var Oya=function(a){var b=new Nya;CH(b,a);DH(b,Error(b));return b};var Pya=function(a){switch(a){case "plusMediaFolderRoot":return Dqa;case "plusMediaFolder":return Eqa;case "machineRoot":return Fqa;case "arbitrarySyncFolder":return Gqa;case "photosAndVideosOnly":return Hqa;case "externalMedia":return Iqa;default:throw Oya('Unable to map "'+bH(a)+'" to FolderFeature').g;}},Qya=function(a,b){switch(b.g){case 0:I(a,1,!0);return;case 1:I(a,2,!0);return;case 2:I(a,3,!0);return;case 3:I(a,4,!0);return;case 4:I(a,6,!0);return;case 5:I(a,5,!0);return}throw Oya('Unable to map FolderFeature "'+
bH(b)+'" to FolderProperties field').g;};var EW=function(){var a=new ur("customer_id","id","email","email_from_account","focus_user_id","name","organization_display_name","photo_url");return EV(a.g)},Rya=function(a,b){switch(a){case 1:return[SB("file_suggestions_cache_duration"),new rr("file_suggestions",FW(b))];case 2:return[SB("folder_suggestions_cache_duration"),new rr("folder_suggestions",FW(b))];case 4:return[SB("file_suggestions_cache_duration"),new rr("file_suggestions",FW(b)),SB("folder_suggestions_cache_duration"),new rr("folder_suggestions",
FW(b))];default:return zU(),yU}},FW=function(a){var b=new ur("action","quick_access","owner_metadata","suggestion_session_id","suggested_rank");a=sr(a);a.length==0||vr(b,new rr("item",a));return EV(b.g)};var GW=function(){};U(GW,ZG);
var Tya=function(a,b,c){if(!(c>=b.length)){var d=b[c];a:{for(let g=a.g,h=0;h<g.length;h++)if(HK(g[h].getName(),d)){var e=!0;break a}e=!1}if(!e){e=a.g;var f=SB(d);e.push(f)}a=Sya(a,d);if(a==null)throw b=pU("Child node not found for %s",[d]),QI(b).g;Tya(a,b,c+1|0)}},HW=function(a,b){var c=b.getName();if(c=Sya(a,c)){if(!HK(b.getName(),c.getName()))throw jK("Cannot merge field nodes with different names").g;for(let d=b.g,e=0;e<d.length;e++)tr(c,d[e])}else a.g.push(b)},Sya=function(a,b){for(let c=a.g,
d=0;d<c.length;d++)if(a=c[d],HK(a.getName(),b))return a;return null},Uya=function(a){return a.g.map(function(b){return b.toString()}).join(",")};var ur=function(){var a=cc.apply(0,arguments);GK(a,dI,ZJ);this.g=[];for(let b=a,c=0;c<b.length;c++)vr(this,SB(b[c]))};U(ur,GW);var vr=function(a,b){HW(a,b);return a};ur.prototype.toString=function(){return Uya(this)};var rr=function(a,b){this.g=[];this.j=a;if(b)for(let c=b,d=0;d<c.length;d++)tr(this,c[d])};U(rr,GW);var SB=function(a){return new rr(a,null)};rr.prototype.getName=function(){return this.j};var tr=function(a,b){HW(a,b);return a};rr.prototype.o=function(){var a=cc.apply(0,arguments);GK(a,rr,Vya);for(let b=a,c=0;c<b.length;c++)HW(this,b[c]);return this};rr.prototype.toString=function(){var a=Uya(this);return a.length>0?bH(this.j)+"("+bH(a)+")":this.j};var Vya=function(a){return a instanceof rr};var IW,Wya=function(){Wya=function(){};IW=sC(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(mya(axa),V(227),
["abuse_is_appealable"]),V(228),["abuse_notice_reason"]),V(242),["access_requests_count"]),V(74),["action_item"]),V(120),["alternate_link"]),V(188),["ancestor_has_own_permissions"]),V(329),["applied_labels"]),V(184),["authorized_app_ids"]),V(241),["badged_label"]),V(1004),["contains_unsubscribed_children"]),V(9),["create_date_millis"]),V(43),["creator_app_id"]),V(187),["customer_id"]),V(26),["description"]),V(108),["detectors"]),V(302),["edit_source"]),V(318),["embed_link"]),V(28),["explicitly_trashed"]),
V(328),["externality_state"]),V(44),["file_extension"]),V(13),["file_size"]),V(48),["flagged_for_abuse"]),V(38),["folder_color"]),V(86),["folder_color_rgb"]),V(49),["folder_features"]),V(335),["gen_ai_capability_verdicts","folder_shelf_proactive_summary"]),V(336),["gen_ai_capability_verdicts","ai_mode_sources"]),V(334),["gen_ai_metadata"]),V(322),["gmail_message_storage_id"]),V(104),["has_apps_script_addon"]),V(330),["has_catch_me_up_content"]),V(39),["has_child_folder"]),V(87),["has_own_permissions"]),
V(62),["has_thumbnail"]),V(100),["has_visitor_permissions"]),V(72),["head_revision_id"]),V(21),["id"]),V(279),["inheritance_broken"]),V(12),["last_viewed_by_me_date_millis"]),V(3),["mime_type"]),V(11),["modified_by_me_date_millis"]),V(10),["modified_date_millis"]),V(95),["organization_display_name"]),V(58),["owned_by_me"]),V(103),["paired_doc_type"]),V(1),["parent"]),V(96),["passively_subscribed"]),V(75),["permission_summary"]),V(94),["primary_domain_name"]),V(45),["primary_sync_parent"]),V(32),["quota_bytes_used"]),
V(67),["recency_date_millis"]),V(68),["recency_date_reason"]),V(210),["resource_key"]),V(278),["restriction_callouts"]),V(355),["safe_html_description"]),V(24),["shared"]),V(25),["shared_with_me_date_millis"]),V(272),["smart_categories"]),V(56),["source_app_id"]),V(55),["spaces"]),V(35),["subscribed"]),V(83),["team_drive_id"]),V(150),["thumbnail_version"]),V(2),["title"]),V(98),["trashed_date_millis"]),V(27),["user_role"]),V(70),["version"]),V(333),["vids_import_compatibility_info"]),V(337),["workbook_details"]),
V(332),["workflow_creation_id"]),V(126),["workspace_id"]),V(5),["hidden"]),V(7),["restricted"]),V(4),["starred"]),V(6),["trashed"]),V(8),["viewed"]),V(124),["published"]),V(148),["approval_summaries"]),V(138),["approval_version"]),V(243),["has_incoming_approval"]),V(180),["creator","id"]),V(198),["creator","email_from_account"]),V(183),["creator","email"]),V(252),["creator","focus_user_id"]),V(282),["creator","is_me"]),V(285),["creator","type"]),V(338),["creator_agent","agent_id"]),V(339),["creator_agent",
"name"]),V(340),["creator_agent","photo_url"]),V(350),["creator_agent","state"]),V(168),["last_modifying_user","id"]),V(196),["last_modifying_user","email_from_account"]),V(179),["last_modifying_user","email"]),V(248),["last_modifying_user","focus_user_id"]),V(280),["last_modifying_user","is_me"]),V(287),["last_modifying_user","type"]),V(341),["last_modifying_agent","agent_id"]),V(342),["last_modifying_agent","name"]),V(343),["last_modifying_agent","photo_url"]),V(351),["last_modifying_agent","state"]),
V(164),["owner","id"]),V(195),["owner","email_from_account"]),V(167),["owner","email"]),V(244),["owner","focus_user_id"]),V(284),["owner","is_me"]),V(286),["owner","type"]),V(175),["trashing_user","id"]),V(199),["trashing_user","email_from_account"]),V(178),["trashing_user","email"]),V(254),["trashing_user","focus_user_id"]),V(283),["trashing_user","is_me"]),V(289),["trashing_user","type"]),V(171),["sharing_user","id"]),V(197),["sharing_user","email_from_account"]),V(174),["sharing_user","email"]),
V(250),["sharing_user","focus_user_id"]),V(281),["sharing_user","is_me"]),V(288),["sharing_user","type"]),V(344),["sharing_agent","agent_id"]),V(345),["sharing_agent","name"]),V(346),["sharing_agent","photo_url"]),V(352),["sharing_agent","state"]),V(347),["modified_by_me_agent","agent_id"]),V(348),["modified_by_me_agent","name"]),V(349),["modified_by_me_agent","photo_url"]),V(353),["modified_by_me_agent","state"]),V(76),["capabilities","can_add_children"]),V(223),["capabilities","can_add_encrypted_children"]),
V(208),["capabilities","can_add_folder_from_another_drive"]),V(185),["capabilities","can_add_my_drive_parent"]),V(224),["capabilities","can_block_owner"]),V(213),["capabilities","can_change_security_update_enabled"]),V(61),["capabilities","can_comment"]),V(240),["capabilities","can_copy_encrypted_file"]),V(258),["capabilities","can_copy_non_authoritative"]),V(216),["capabilities","can_create_decrypted_copy"]),V(217),["capabilities","can_create_encrypted_copy"]),V(77),["capabilities","can_delete"]),
V(134),["capabilities","can_delete_children"]),V(327),["capabilities","can_discover_by_search"]),V(259),["capabilities","can_download_non_authoritative"]),V(147),["capabilities","can_edit_category_metadata"]),V(300),["capabilities","can_initiate_esignature"]),V(89),["capabilities","can_list_children"]),V(81),["capabilities","can_manage_members"]),V(82),["capabilities","can_manage_visitors"]),V(114),["capabilities","can_modify_content_restriction"]),V(133),["capabilities","can_move_children_out_of_team_drive"]),
V(202),["capabilities","can_move_children_within_drive"]),V(101),["capabilities","can_move_item_into_team_drive"]),V(201),["capabilities","can_move_item_out_of_drive"]),V(131),["capabilities","can_move_item_out_of_team_drive"]),V(200),["capabilities","can_move_item_within_drive"]),V(130),["capabilities","can_move_item_within_team_drive"]),V(93),["capabilities","can_move_team_drive_item"]),V(191),["capabilities","can_read"]),V(146),["capabilities","can_read_category_metadata"]),V(90),["capabilities",
"can_read_team_drive"]),V(78),["capabilities","can_remove_children"]),V(186),["capabilities","can_remove_my_drive_parent"]),V(85),["capabilities","can_rename"]),V(276),["capabilities","can_report_not_spam"]),V(236),["capabilities","can_report_spam_or_abuse"]),V(137),["capabilities","can_request_approval"]),V(209),["capabilities","can_set_missing_required_fields"]),V(79),["capabilities","can_share"]),V(189),["capabilities","can_share_child_files"]),V(190),["capabilities","can_share_child_folders"]),
V(80),["capabilities","can_trash"]),V(135),["capabilities","can_trash_children"]),V(102),["capabilities","can_untrash"]),V(34),["capabilities","can_copy"]),V(41),["capabilities","can_download"]),V(59),["capabilities","can_edit"]),V(323),["capabilities","can_view_restriction_visualization"]),V(256),["content_restrictions","read_only"]),V(257),["content_restrictions","reason"]),V(193),["client_encryption_details","encryption_state"]),V(291),["client_encryption_details","decryption_metadata","aes_256_gcm_chunk_size"]),
V(292),["client_encryption_details","decryption_metadata","resource_key_hash"]),V(293),["client_encryption_details","decryption_metadata","jwt"]),V(294),["client_encryption_details","decryption_metadata","kacls_id"]),V(295),["client_encryption_details","decryption_metadata","kacls_name"]),V(296),["client_encryption_details","decryption_metadata","key_format"]),V(297),["client_encryption_details","decryption_metadata","wrapped_key"]),V(301),["client_encryption_details","decryption_metadata","guest_idp"]),
V(29),["image","date_millis"]),V(31),["image","height"]),V(92),["image","rotation"]),V(30),["image","width"]),V(192),["shortcut_details","can_request_access_to_target"]),V(159),["shortcut_details","target_item"]),V(154),["shortcut_details","target_id"]),V(158),["shortcut_details","target_lookup_status"]),V(155),["shortcut_details","target_mime_type"]),V(234),["spam_metadata","in_spam_view"]),V(233),["spam_metadata","marked_as_spam_date_millis"]),V(274),["spam_metadata","is_spam"]),V(275),["spam_metadata",
"is_inherited_spam"]),V(277),["audio","duration_millis"]),V(107),["video","duration_millis"]),V(106),["video","height"]),V(105),["video","width"]),V(303),["video","transcode_status"]),V(260),["item_location","parent","folder_color"]),V(270),["item_location","parent","drive_id"]),V(261),["item_location","parent","has_augmented_permissions"]),V(269),["item_location","parent","icon_url"]),V(264),["item_location","parent","id"]),V(268),["item_location","parent","mime_type"]),V(267),["item_location","parent",
"resource_key"]),V(262),["item_location","parent","shared"]),V(265),["item_location","parent","title"]),V(263),["item_location","parent","trashed"]),V(271),["item_location","parent","trusted_drive"]),V(266),["item_location","parent","version"]),V(324),["template_data","description"]),V(325),["template_data","category"]),V(326),["template_data","gallery_state"]))};var Yya=function(a,b){var c=new ur;a=sr(a);b=sr(b);a.length>0&&vr(c,new rr("partial_items",a));b.length>0&&vr(c,new rr("full_items",b));vr(c,SB("remove_item_ids"));vr(c,SB("continuation_token"));vr(c,new rr("search_response_metadata",[SB("moonshine_item_ids"),Xya()]));return c.toString()},Vga=function(a){var b=new ur,c=SB("responses");tr(c,new rr("status",[SB("code"),SB("message"),SB("details")]));a=sr(a);a.length>0&&tr(c,new rr("item",a));vr(b,c);return b.toString()},Pga=function(a){return vr(new ur,
new rr("create_item_response",[SB("request_id"),Zya(a)])).toString()},Mha=function(a){return vr(new ur,new rr("update_item_response",[SB("id"),Zya(a)])).toString()},Zya=function(a){return new rr("item_result_status",[SB("status"),SB("additional_status_info"),new rr("item",sr(a))])},sr=function(a){var b=new ur;for(let c=a,d=0;d<c.length;d++)a=c[d],Wya(),IW.contains(V(a))?(a=IW.get(V(a)),a=uC(a)):a=(zU(),yU),Tya(b,a,0);return EV(b.g)},Xya=function(){return new rr("query_suggestions",[SB("spell_response"),
SB("nlp_response")])};Intl.NumberFormat.supportedLocalesOf(["en".replace("_","-")]);var Xk="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");var tC,nC=function(){nC=function(){};tC=sC(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(qC(),"archive",1),"audio",2),"document",3),"drawing",4),"earth",19),"folder",5),"form",6),"conversation",25),"gem",22),"image",7),"jam",17),"mail-layout",20),"map",15),"markdown",26),"pdf",9),"pic",24),"presentation",10),"script",11),"shortcut",18),"site",16),"spreadsheet",12),"table",13),"video",14),"vids",21),"project",23))};var $ya=function(){};$ya.prototype.j=function(a,b){if(!n.fetch)throw Error("Ra");n.fetch(a,{mode:"no-cors"}).then(function(){b&&b(!0)},function(){b&&b(!1)})};var JW=function(){bh.call(this);this.g=null};U(JW,bh);JW.prototype.j=function(a,b){var c=this;this.isDisposed()||(KW(this),this.g=new Image,this.g.onload=function(){b&&b(!0);KW(c)},this.g.onerror=function(){b&&b(!1);KW(c)},this.g.src=a)};var KW=function(a){if(a.g)try{a.g.onload=null,a.g.onerror=null,a.g=null}catch(b){}};JW.prototype.oa=function(){KW(this)};cF(Zk,bh);k=Zk.prototype;k.eh=0;k.oa=function(){Zk.Kb.oa.call(this);this.stop();delete this.g;delete this.j};k.start=function(a){this.stop();this.eh=Gj(this.o,a!==void 0?a:this.B)};k.stop=function(){this.isActive()&&n.clearTimeout(this.eh);this.eh=0};k.isActive=function(){return this.eh!=0};k.gq=function(){this.eh=0;this.g&&this.g.call(this.j)};var LW=function(){bh.call(this);this.delay=null};U(LW,bh);LW.prototype.ak=function(a,b){$g(this.delay);this.delay=new Zk(a,b);this.delay.start()};LW.prototype.oa=function(){$g(this.delay)};cF($k,vh);$k.prototype.g=function(){return navigator.onLine};$k.prototype.o=function(){this.dispatchEvent(this.g()?"online":"offline")};$k.prototype.oa=function(){$k.Kb.oa.call(this);this.j.dispose();this.j=null};var OW=function(a,b,c,d,e,f){vh.call(this);var g=this;this.D=new ji(this);this.Fa=a;this.j=new Zk(function(){g.j.stop();MW(g,!1)},1E4);this.ka=c||12E4;this.C=f||new $k;this.o=b;this.ca=Date.now();this.H=d||new LW;this.T=e||new JW;this.D.listen(this.C,"online",this.L).listen(this.C,"offline",this.L);this.G=IT();NW(this,!0,!0)};U(OW,vh);var MW=function(a,b){a.G.resolve();b!=a.o?(a.o=b,a.dispatchEvent(b?"e":"f"),b=!0):b=!1;NW(a,b)};OW.prototype.g=function(){return this.o};
var NW=function(a,b,c){var d=Date.now(),e=a.o?25E3:1E4;if(b||!a.o)b=c?0:e,a.ca=d-b;else{b=e;c=a.ca+e;let f=1;for(;c<d&&b<a.ka;)b=Math.min(a.ka,e*Math.pow(1.2,f++)),c+=b}a.H.ak(sj(a.ra,a),b)};OW.prototype.ra=function(){NW(this);aza(this)};OW.prototype.L=function(){NW(this,!0,!0)};var aza=function(a){a.j.stop();a.j.start();a.T.j(rba(a.Fa),function(b){a.j.stop();MW(a,b)})};OW.prototype.oa=function(){this.j.stop();ah(this.H,this.j,this.C,this.D,this.T);vh.prototype.oa.call(this)};var bza=function(){this.g=function(){gca()}};bza.prototype.notify=function(){window.confirm("This error has been reported to Google and we'll look into it as soon as possible. Please reload this page to continue.")&&this.g()};var cza=function(a,b,c){dh.call(this,a);this.error=b;this.context=c};U(cza,dh);var al=/\/d\/([^\/]+)/,dza=/\/r\/([^\/]+)/;var PW=function(a,b,c,d){bh.call(this);this.o=d!=null?d:.15;this.C=a;this.B=b;this.G=c;this.g=new Zk(this.H,void 0,this);this.D=Number.NEGATIVE_INFINITY;this.j=0};U(PW,bh);PW.prototype.isActive=function(){return this.g.isActive()};PW.prototype.start=function(){eza(this,!1,!1)};var eza=function(a,b,c){b&&(a.g.stop(),QW(a,a.B));a.isActive()||(b=Math.max(0,a.D+a.j-Date.now()),b==0&&(c?b=QW(a,a.B):a.j=0),a.g.start(b))};PW.prototype.stop=function(){this.g.stop()};
var QW=function(a,b){b>0&&a.o!=0&&(b=Math.floor(b*(1-a.o+Math.random()*a.o*2)));return a.j=b};PW.prototype.H=function(){this.D=Date.now();QW(this,Math.min(Math.max(this.j*2,this.B),this.G));this.C()};PW.prototype.oa=function(){this.g.dispose();delete this.g;delete this.C;bh.prototype.oa.call(this)};var RW=function(a,b,c,d,e,f,g){g=g===void 0?!0:g;bh.call(this);var h=this;this.g=a;this.g.ca=1E4;this.Pa=b;this.B=f;this.j=new PW(function(){return h.T()},3E4,36E5);this.rd=0;this.D=null;this.Ja=new Gxa("errorsender",1,8,d);this.Ha(this.Ja);this.ca=!1;this.H=null;this.C=new Set;this.G=new ji(this);this.yb=c||10;this.Ka=e||null;this.G.listen(this.g,"complete",this.Ua);this.G.listen(this.g,"ready",this.T);this.Fa=null;this.L=new kW;this.Ha(this.L);this.B&&Pxa(this.L,this.B.g(),function(){h.B.getState().cb()&&
(h.Fa=(hW(),gW));h.B.getState().cb()||h.Fa!==(hW(),gW)||fza(h)});this.ka=g;this.eb={}};U(RW,bh);RW.prototype.send=function(a,b,c,d){ZV(this.Pa,"docs-dafjera")&&(a=bl(bl(a,dza),al));var e=OV(OV(TV(this.o.length),function(f){if(!(f>=this.yb))return this.ka&&(a=Yh(a,"errorSender_enqueueTimeMs",Date.now().toString())),f={},f.u=a,f.m=b,f.c=c,f.h=d,this.o.push(f),TV()},this),this.T,this);yxa(e,function(){this.C.delete(e)},this);this.C.add(e)};var gza=function(a){return HT(Array.from(a.C.values())).then(function(){})};
RW.prototype.T=function(){var a=this.B&&this.B.getState().cb(),b=this.isDisposed()||this.g.isActive()||this.j.isActive()||this.ca;return a||b?TV():hza(this)};
var hza=function(a){return function(){return OV(TV(a.o[0]!==void 0?a.o[0]:null),function(b){return iza(a,b)})}()},iza=function(a,b){if(a.j.isActive()||a.g.isActive()||a.ca)return TV();if(!b)return a.j.stop(),TV();if(b.u.length>4E3)return jza(a);try{Kxa(a.Ja);a.H=new yk;let c=b.u;a.Ka!=null&&(c=Yh(c,"reportingSessionId",a.Ka));a.rd>0&&(c=Yh(c,"retryCount",a.rd));a.D!=null&&(c=Yh(c,"previousErrorSendStatus",a.D));a.ka&&(c=Yh(c,"errorSender_sendTimeMs",Date.now().toString()),c=Yh(c,"errorSenderType",
a.ra()),b.errorSender_frontIndex&&(c=Yh(c,"errorSender_frontIndex",b.errorSender_frontIndex)),b.errorSender_nextIndex&&(c=Yh(c,"errorSender_nextIndex",b.errorSender_nextIndex)),b.errorSender_queueSize&&(c=Yh(c,"errorSender_queueSize",b.errorSender_queueSize)));a.eb=b;let d=b.m,e=b.c,f=b.h;return OV(OV(jza(a),function(){a.g.send(c,d,e,f)}),function(){return a.H})}catch(c){if(uxa(c)instanceof bW)a.ca=!0;else throw eS(c,{"docs-origin-class":"docs.debug.ErrorSender"});}return TV()};
RW.prototype.Ua=function(){var a=this.g.S(),b=this.H,c=mS(this.g)||a>=400&&a<=500,d=this.rd>3;c||d?(this.rd=0,this.D=null,this.j.stop(),OV(TV(),function(){b.callback()})):(this.rd++,this.D=a===-1?this.g.o:a,fza(this),this.o.push(this.eb),TV(),b.callback())};var fza=function(a){a.rd!=1||a.j.isActive()?a.j.start():eza(a.j,!0,!0)};RW.prototype.oa=function(){ah(this.G,this.j,this.g,this.L);this.C.clear();bh.prototype.oa.call(this)};RW.prototype.ra=function(){return"BaseErrorSender"};var SW=function(a,b,c,d,e){RW.call(this,a,b,c,void 0,d,e,void 0);this.o=[]};U(SW,RW);var jza=function(a){a.o.shift();return TV()};SW.prototype.ra=function(){return"MemoryErrorSender"};SW.prototype.oa=function(){delete this.o;RW.prototype.oa.call(this)};var cl,fl,dl;var TD=function(a,b){var c=c||[];this.o=a;this.j=b||null;this.g=[];this.g=this.g.concat(c)};TD.prototype.toString=function(){return this.o};var kza=function(a){this.g=Paa(Cwa(),AF(a));a=zn(this.g,1);this.j=Math.floor(Math.random()*100)<a};kza.prototype.toString=function(){var a="{bool="+!(this.j?!Q(this.g,5):!Q(this.g,2))+', string="',b=this.j?L(this.g,6):x(this.g,3);a=a+(b!=null?String(b):"")+'", int=';b=this.j?Sw(this.g,7):zn(this.g,4,-1);return a+(b!=null?Number(b):-1)+"}"};var lza=function(a){this.g=new Map;this.j=[];if(a=a.get("docs-cei")){let b=a.i;b&&Pa(this.j,b);a=a.cf||{};for(let c in a)this.g.set(c,new kza(a[c]))}};lza.prototype.get=function(a){return this.g.get(a)||null};var il=function(a,b){this.j=a;this.g=b},mza=function(a,b){return new TypeError("Ua`"+b+"`"+a.j+"`"+a.g+"`"+typeof a.g)},TW=function(a){var b=a.g;if(b==null)return null;if(typeof b==="string")return b;throw mza(a,"string");};il.prototype.number=function(a){if(arguments.length==0){var b=nza(this);if(b===null)throw Error("Ta`"+this.j);}else b=oza(this,a);return b};
var oza=function(a,b){var c;return(c=nza(a))!=null?c:b},nza=function(a){var b=a.g;if(b==null)return null;if(typeof b==="number")return b;if(typeof b==="string"){let c=Number(b);if(!isNaN(c)&&(c!==0||b.trim().length!==0))return c}throw mza(a,"number");};il.prototype.toString=function(){var a=TW(this);if(a===null)throw Error("Ta`"+this.j);return a};
il.prototype.enum=function(a,b){var c=!0,d=void 0;for(let f in a){let g=a[f];if(c)if(c=!1,typeof g==="number")d=oza(this,b);else{let h=void 0;var e=b;d=(h=TW(this))!=null?h:e}if(g==d)return d}JSON.stringify(a);return d};var Gl=function(){var a=jl("K1cgmc",n),b=UW,c=new UW;a=TW(a);return a===null?c:Og(b,"["+a.substring(4))};var VW=function(a){this.A=u(a)};U(VW,v);VW.prototype.Cc=function(a){return D(this,7,a)};var WW=function(a){this.A=u(a)};U(WW,v);var Dl=function(a){return KF(a,VW,4,pza)},pza=[4,5];var qza=function(a){this.A=u(a)};U(qza,v);var rza=function(a){this.A=u(a)};U(rza,v);var UW=function(a){this.A=u(a)};U(UW,v);var El=function(a){return ww(a,WW,1)};var Ol=function(){this.g=Fl(Gl())};Ol.prototype.Dg=function(){var a=new Map,b,c=(b=this.g)==null?void 0:Dl(El(b));if(c==null?0:It(c,2)){let g;(b=(g=Hl(c,2))==null?void 0:g.toString())&&a.set("canaryanalysisservertestgroup",b);var d;(c=c==null?void 0:(d=O(c,uk,3))==null?void 0:WA(d).valueOf().toString())&&a.set("serverstarttimemillis",c)}var e,f;(d=(e=this.g)==null?void 0:(f=O(e,WW,1))==null?void 0:Hl(f,6))&&a.set("clientApp",String(d));return a};k=kl.prototype;k.clone=function(){return new kl(this.width,this.height)};k.perimeter=function(){return(this.width+this.height)*2};k.aspectRatio=function(){return this.width/this.height};k.Ga=function(){return!(this.width*this.height)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};var tza=function(a,b){fh(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:sza.hasOwnProperty(d)?a.setAttribute(sza[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})},sza={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Lca=function(a,
b,c){var d=arguments,e=document,f=d[1],g=XW(e,String(d[0]));f&&(typeof f==="string"?g.className=f:Array.isArray(f)?g.className=f.join(" "):tza(g,f));d.length>2&&uza(e,g,d);return g},uza=function(a,b,c){function d(e){e&&b.appendChild(typeof e==="string"?a.createTextNode(e):e)}for(let e=2;e<c.length;e++){let f=c[e];!Oa(f)||Vw(f)&&f.nodeType>0?d(f):Za(f&&typeof f.length=="number"&&typeof f.item=="function"?Na(f):f,d)}},XW=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());
return a.createElement(b)},FD=function(){this.g=n.document||document};
FD.prototype.createTable=function(a,b,c){var d=this.g;c=!!c;var e=XW(d,"TABLE"),f=e.appendChild(XW(d,"TBODY"));for(let g=0;g<a;g++){let h=XW(d,"TR");for(let l=0;l<b;l++){let m=XW(d,"TD");if(c){let p;if("textContent"in m)m.textContent="\u00a0";else if(m.nodeType==3)m.data="\u00a0";else if(m.firstChild&&m.firstChild.nodeType==3){for(;m.lastChild!=m.firstChild;)m.removeChild(m.lastChild);m.firstChild.data="\u00a0"}else{for(;p=m.firstChild;)m.removeChild(p);m.appendChild((m.nodeType==9?m:m.ownerDocument||
m.document).createTextNode("\u00a0"))}}h.appendChild(m)}f.appendChild(h)}return e};FD.prototype.contains=function(a,b){return a&&b?a==b||a.contains(b):!1};var vza=function(){var a=function(){};this.g=a.call.bind(a.toString)};
vza.prototype.Dg=function(){var a=new Map;wza()&&a.set("apps_telemetry.screen_tampered","true");a:{var b=q(Array.prototype);for(b=b.next();!b.done;b=b.next()){b=!0;break a}b=!1}b&&a.set("apps_telemetry.array_prototype_tampered","true");xza()||a.set("apps_telemetry.canvas_creation_broken","true");!kX()&&n.navigator&&n.navigator.webdriver&&a.set("apps_telemetry.webdriver","true");b=!1;for(var c=q(yza),d=c.next();!d.done;d=c.next()){d=d.value;var e=zza(d.key);e===0?(a.set("apps_telemetry.automation_property_present."+
d.logName,"true"),b=!0):e===2&&a.set("apps_telemetry.automation_property_check_failed."+d.logName,"true")}b&&a.set("apps_telemetry.automation_detected","true");c=!1;b=q(Aza);for(d=b.next();!d.done;d=b.next())e=d.value,d=e.logName,e=Bza(this,e.name,e.Xn),e.Pf||(c=e.reason,a.set("apps_telemetry.native_function_tampering."+d+".reason",c),c==="non_function_type"&&a.set("apps_telemetry.native_function_tampering."+d+".type",e.type),c=!0);c&&a.set("apps_telemetry.native_function_tampering_detected","true");
return a};
var wza=function(){if(kX())return!1;var a=n.screen,b=!(a instanceof Screen);if(Kia||oF)return b;try{let c=function(){};a.addEventListener("change",c);a.removeEventListener("change",c)}catch(c){b=!0}return b},xza=function(){var a=function(b){try{let c=new kl(1,500);return(b?XW(document,"CANVAS"):new OffscreenCanvas(c.width,c.height)).getContext("2d")!=null}catch(c){return!1}};return a(!1)&&(kX()||a(!0))},kX=function(){return"WorkerGlobalScope"in n&&typeof n.WorkerGlobalScope==="function"&&self instanceof
n.WorkerGlobalScope},zza=function(a){if(kX()||!n)return 1;try{if(a in n||n.document&&a in n.document)return 0}catch(b){return 2}return 1},Bza=function(a,b,c){try{var d=c()}catch(f){return{Pf:!1,reason:"not_reachable"}}c=Cza(d);if(c!=="function")return{Pf:!1,reason:"non_function_type",type:c};try{var e=a.g(d)}catch(f){return{Pf:!1,reason:"to_string_failed"}}a=Dza.exec(e);return a?(a=a[1])?a!==b?{Pf:!1,reason:"likely_wrong_native_function"}:{Pf:!0}:{Pf:!1,reason:"likely_bound_function"}:{Pf:!1,reason:"likely_non_native_source"}},
Cza=function(a){switch(typeof a){case "function":return"function";case "undefined":return"undefined";case "boolean":return"boolean";case "number":return"number";case "string":return"string";case "object":return a===null?"null":"object";case "symbol":return"symbol";case "bigint":return"bigint";default:return"unknown"}},yza=[{key:"Cypress",logName:"cypress"},{key:"$cdc_asdjflasutopfhvcZLmcfl_",logName:"selenium"},{key:"$wdc_",logName:"chrome_driver"},{key:"domAutomationController",logName:"chromium_automation"},
{key:"callPhantom",logName:"phantomjs"},{key:"windmill",logName:"windmill"},{key:"____LocationIntercept",logName:"awesomium"},{key:"awesomium",logName:"awesomium"},{key:"ubot",logName:"ubot"},{key:"cefsharp_CreatePromise",logName:"cefsharp"},{key:"__nightmare",logName:"nightmare"}],Aza=[{name:"getOwnPropertyDescriptor",Xn:function(){return Object.getOwnPropertyDescriptor},logName:"Object.getOwnPropertyDescriptor"},{name:"addEventListener",Xn:function(){return n.addEventListener},logName:"global.addEventListener"}],
Dza=/^function\s*(?:\s([a-zA-Z_$][\w$]+))?\(\) \{\s+\[native code\]\s+\}$/;var lX=[],mX=[],Eza=[RegExp("^_0x[a-f0-9]{6} is not defined$"),RegExp("[Zz]otero"),RegExp('^Not found$|^Unknown Error of type "string": Not found$')],Fza="egfdjlfmgnehecnclamagfafdccgfndp mndnfokpggljbaajbnioimlmbfngpief mlkejohendkgipaomdopolhpbihbhfnf kgonammgkackdilhodbgbmodpepjocdp klbcgckkldhdhonijdbnhhaiedfkllef pmehocpgjmkenlokgjfkaichfjdhpeol cjlaeehoipngghikfjogbdkpbdgebppb ghbmnnjooekpmoecnnnilnnbdlolhkhi lmjegmlicamnimmfhcmpkclmigmmcbeh gmbmikajjgmnabiglmofipeabaddhgne lpcaedmchfhocbbapmcbpinfpgnhiddi gbkeegbaiigmenfmjfclcdgdpimamgkj adokjfanaflbkibffcbhihgihpgijcei".split(" "),
Gza=[RegExp("chrome-extension://([^/]+)","g"),RegExp("moz-extension://([^/]+)","g"),RegExp("ms-browser-extension://([^/]+)","g"),RegExp("webkit-masked-url://([^/]+)","g"),RegExp("safari-web-extension://([^/]+)","g")],Hza=[RegExp("^Permission denied$"),RegExp("index out of range: \\d+ \\+ \\d+ > \\d+"),RegExp("getReadMode(Config|Render|Extract)")],Iza=[RegExp("at file:///|@file:///|phantomjs|node:electron|py-scrap|eval code|Program Files"),RegExp("_0x[a-f0-9]+.*anonymous")],Jza=[RegExp("Script https://meet\\.google\\.com/.*meetsw.*load failed"),
RegExp("A bad HTTP response code \\(\\d+\\) was received when fetching the script")],Kza=[RegExp("Error loading.*Consecutive load failures"),RegExp("Failed to load module.*Consecutive load failures")];var nX=function(a,b){this.Rk=a;this.dj=b},Lza=function(a,b){return(b=a.g(b))?{Rk:a.Rk,dj:a.dj,Yl:b.toUpperCase()}:null};var oX=function(){nX.call(this,1,1)};U(oX,nX);oX.prototype.g=function(a){a:{a=pX(a);let e=!1;for(var b=q(Gza),c=b.next();!c.done;c=b.next()){c=a.matchAll(c.value);c=q(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value[1]){if(Fza.includes(d)){a=!1;break a}e=!0}}a=e}return a?"warning":null};var qX=function(a,b,c){c=c===void 0?Mza:c;nX.call(this,a,b);this.j=c};U(qX,nX);
qX.prototype.g=function(a){var b=a.j.get("apps_telemetry.cross_origin_scripts");if(typeof b!=="string")return null;for(var c=pX(a),d=c.includes("blob:"),e=q(this.j),f=e.next();!f.done;f=e.next()){var g=f.value;let l=g.bk===void 0?[]:g.bk;var h=g.hk===void 0?[]:g.hk;f=g.Th===void 0?!1:g.Th;if(!c.includes(g.errorMessage))continue;g=l.some(function(m){return b.includes(m)});h=h.some(function(m){return a.g.includes(m)});f=f&&d;if(g||h||f)return"warning"}return null};
var Mza=[{errorMessage:"Cannot read properties of undefined (reading 'addListener')",Th:!0,bk:["infird.com"]},{errorMessage:"browser_polyfill_default(...).runtime.getManifest is not a function",Th:!0,bk:["infird.com"]},{errorMessage:'fileName":',bk:["walkme.com"]},{errorMessage:"] is not a function",Th:!0},{errorMessage:"Cannot read properties of null (reading 'toLowerCase')",Th:!0,hk:["__aiNetCmd__"]}];var Nza=function(a,b,c,d,e){e=e===void 0?new Map:e;this.message=a;this.g=b;this.cause=c;this.severity=d;this.j=e},rX=function(a){return(a=a.cause)?a.message+"\n"+a.g+"\n"+rX(a):""},pX=function(a){return a.message+"\n"+a.g+"\n"+rX(a)},pl=function(){this.severity=this.g=this.message="";this.j=new Map},rl=function(a,b){a.message=b;return a};pl.prototype.build=function(){return new Nza(this.message,this.g,this.cause,this.severity,this.j)};var Ll=function(a,b,c,d){nX.call(this,c,d);this.j=a;this.o=b};U(Ll,nX);Ll.prototype.g=function(a){var b=rX(a);return sX(a.message,this.j)||sX(a.g,this.o)||sX(b,this.j)||sX(b,this.o)?"warning":null};var sX=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())if(c.value.test(a))return!0;return!1};var Ml=function(a,b,c,d,e){nX.call(this,c,d);this.j=a;this.hk=b;this.matchType=e};U(Ml,nX);Ml.prototype.g=function(a){switch(this.matchType){case 0:a:{var b=a.message;a=q(this.j);for(var c=a.next();!c.done;c=a.next())if(b===c.value){a=!0;break a}a=!1}return a?"warning":null;case 1:a:{b=a.message;a=q(this.j);for(c=a.next();!c.done;c=a.next())if(b.startsWith(c.value)){a=!0;break a}a=!1}return a?"warning":null;case 2:return a=pX(a),Oza(a,this.j)||Oza(a,this.hk)?"warning":null;default:return null}};
var Oza=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())if(a.includes(c.value))return!0;return!1},Kl=function(a,b,c){return new Ml(a,b,c,0,2)};var tX=function(a,b,c){nX.call(this,a,b);this.j=c()};U(tX,nX);tX.prototype.g=function(){return this.j?null:"unsupported_severe"};var Pza=[new oX,Kl("Trusted Type;TrustedHTML;TrustedScript;cannot communicate with background;zaloJSV2;kaspersky-labs;@user-script;Object Not Found Matching Id;contextChanged;Not implemented on this platform;Extension context invalidated;neurosurgeonundergo;realTimeClData;Failed to execute 'querySelectorAll' on 'Document';Promise.all(...).then(...).catch(...).finally is not a function;Error executing Chrome API, chrome.tabs;Identifier 'originalPrompt' has already been declared;User rejected the request;Could not inject ethereum provider because it's not your default extension;Cannot redefine property: googletag;Can't find variable: HTMLDialogElement;Identifier 'listenerName' has already been declared;Cannot read properties of undefined (reading 'info');Permission denied to access property \"type\";Error: Promise timed out;Request timeout ToolbarStatus;Can't find variable: nc;imtgo;ton is not a function;__renderMessageNode is not defined;Cannot redefine property: ethereum;unknown action:;Receiving end does not exist;get-frame-manager-configuration;Key not found;'isAWS';Identifier 'contentScriptListenerRegistered' has already been declared;window.ethereum.selectedAddress;extDomain is not defined;This script should only be loaded in a browser extension".split(";"),
"puppeteer-core;kaspersky-labs;@user-script;jsQuilting;linkbolic;neurosurgeonundergo;tlscdn;https://cdnjs.cloudflare.com/ajax/libs/mathjax/;secured-pixel.com;Can't find variable: nc;imtgo;_simulateEvent;goguardian".split(";"),1),new Ll(Eza,mX,1,0),Kl("status is 0, navigator.onLine =;Network sync is disabled. Aborting a network request of int type;The service is currently unavailable.;Internal error encountered.;data does not exist in AF cache;There was an error during the transport or processing of this request;Failed to load gapi;Rpc failed due to xhr error. error code: 6, error:  [0];An interceptor has requested that the request be retried;8,\"generic\";A network error occurred;NetworkError: Connection failure due to HTTP 401;NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope';NetworkError: Load failed".split(";"),
lX,2),new Ll([],mX,2,0),new Ll(Hza,Iza,3,0),Kl("Kg is not defined;uncaught error;The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.;Illegal invocation;Script error;zCommon;can't access dead object;Java exception was raised during method invocation;pauseVideo is not a function;ResizeObserver loop;wallet must has at least one account;xbrowser is not defined;jQuery is not defined;Cannot read properties of null (reading 'requestAnimationFrame');Class extends value undefined is not a constructor or null;GM3TooltipService: No tooltip with id;Mole was disposed;getInitialTopicListResponse is missing for stream rendering;getPeopleById call preempted;The operation is insecure;class heritage;The play() request was interrupted;args.site.enabledFeatures is undefined;frappe is not defined;Cannot set properties of undefined (setting 'hidden');Identifier 'checkOngoingMeeting' has already been declared;AutofillCallbackHandler;invalid wire type;zp_token;isReCreate;HTMLOUT is not defined;Shopify root is null;CanvasMaskingStrategy_Redact;_chromeNamespace;feature named `performanceMetrics`;feature named `webCompat`;Cannot redefine property: webdriver;reCAPTCHA Timeout;feature named `pageObserver` was not found;feature named `hover` was not found;Request timeout appSettingsDistributor.getValue;TimeoutError: operation timed out;Sink type mismatch violation blocked by CSP;__firefox__;: Java object is gone;Cannot read properties of undefined (reading 'domInteractive');: t is not defined".split(";"),
["postUserData","inline.cdn.mcas.ms"],3),new Ll(Jza,mX,5,0),Kl("Service worker registration is disabled by MDA;An unknown error occurred when fetching the script;Operation has been aborted;Timed out while trying to start the Service Worker;The Service Worker system has shutdown;The user denied permission to use Service Worker;The script resource is behind a redirect, which is disallowed;The document is in an invalid state;ServiceWorker script evaluation failed;ServiceWorker cannot be started;Failed to access storage;Worker disallowed;encountered an error during installation".split(";"),
lX,5),new Ll(Kza,Kza,4,0),Kl(["Timeout reached for loading script https://www.gstatic.com/_/apps-fileview/_/js/","Error while loading script https://www.gstatic.com/_/apps-fileview/_/js/"],lX,4)],Qza=new Set(["SEVERE","SEVERE_AFTER_INITIAL","UNKNOWN","FATAL",""]),Rza=function(a){this.j=a;this.g=!1},Tza=function(a,b,c,d){var e=[Error("Va").message];c=c===void 0?!1:c;d=d===void 0?function(){return!0}:d;var f=[];b.length>0&&f.push(Sza(b));f.push.apply(f,r(Pza));a=q(a);for(b=a.next();!b.done;b=a.next())f.push(b.value);
e.length>0&&f.push(new Ml(e,[],3,5,0));f.push(new qX(3,0));c&&f.push(new tX(8,0,d));return new Rza(f)},Wza=function(a,b){var c="missing",d=new Map,e=!0;try{c=b.severity;a.g&&d.set("apps_telemetry.after_downgraded_severe","true");for(var f=q(a.j),g=f.next();!g.done;g=f.next()){let h=g.value;try{let l=Lza(h,b);if(l){let m=c,p=Uza(a,c)?l.Yl:c;Vza(l,m,p).forEach(function(t,w){d.set(w,t)});c=p;break}}catch(l){e=!1;let m=Cl(l,c);d.set("apps_telemetry.handling_error",pX(m)+"\n\nclassifier: "+h.constructor.name)}}}catch(h){e=
!1,a=Cl(h,c),d.set("apps_telemetry.handling_error",pX(a))}d.set("apps_telemetry.processed",String(e));return{Yl:c,Yk:d}},Vza=function(a,b,c){var d=new Map;d.set("apps_telemetry.classification",a.Rk.toString());d.set("apps_telemetry.classification_code",a.dj?a.dj.toString():"");d.set("apps_telemetry.incoming_severity",b);d.set("apps_telemetry.outgoing_severity",c);return d},Uza=function(a,b){return Qza.has(b.toUpperCase())?a.g=!0:!1},Sza=function(a){var b=[];a=q(a);for(var c=a.next();!c.done;c=a.next())b.push(new RegExp(c.value));
return new Ll(b,b,7,0)};var uX=function(){};uX.prototype.Dg=function(){if("WorkerGlobalScope"in n&&typeof n.WorkerGlobalScope==="function"&&self instanceof n.WorkerGlobalScope)return new Map;try{var a=Array.from(document.querySelectorAll("script")).filter(this.j).slice(0,30).map(this.g).join("\n")}catch(b){a="Error getting cross-origin scripts"}return(new Map).set("apps_telemetry.cross_origin_scripts",a)};
uX.prototype.j=function(a){var b=new RegExp(/^(?:https?:\/\/)?(?:[a-zA-Z0-9-]+\.)*google\.com(?:$|[\/#?])/);return(a=a.getAttribute("src"))?!(a.startsWith("/")||b.test(a)):!1};uX.prototype.g=function(a){return a.innerHTML?a.outerHTML.slice(0,a.outerHTML.indexOf(a.innerHTML)):a.outerHTML};var Xza=function(){};Xza.prototype.Dg=function(){try{var a=performance.getEntriesByType("resource").slice(-5).map(function(b){return zk(b.name)}).join("\n")}catch(b){a="Error getting last 5 resources"}return(new Map).set("apps_telemetry.resources",a)};var Nl=function(a,b,c,d,e){var f=jca;b=b===void 0?[]:b;c=c===void 0?[]:c;d=d===void 0?[]:d;this.o=Tza(b,c,e===void 0?!1:e,f===void 0?function(){return!0}:f);this.g=[new vza,new uX,new Xza];this.g.push.apply(this.g,r(d));this.sessionId=eca();this.j=a;this.j.Cc(this.sessionId)};
Nl.prototype.handleError=function(a,b,c){c["apps_telemetry.session_id"]=this.sessionId;"apps_telemetry.processed"in c&&(c["apps_telemetry.multi_processed"]="true");var d=this.Dg();(a=this.il(a,b,d))&&Yza(d,a.Yk);d.forEach(function(f,g){c[g]=f});var e;return(e=a==null?void 0:a.Yl)!=null?e:b};Nl.prototype.il=function(a,b,c){var d=null,e=null;try{d=Cl(a,b,c),e=Wza(this.o,d)}catch(f){return Zza(c,f,"apps_telemetry.processed"),null}this.j.Po(d,e);return e};
Nl.prototype.Dg=function(){var a=new Map;try{for(var b=q(this.g),c=b.next();!c.done;c=b.next())c.value.Dg().forEach(function(d,e){a.set(e,d)})}catch(d){Zza(a,d,"apps_telemetry.annotated")}return a};var Yza=function(a,b){b.forEach(function(c,d){a.set(d,c)})},Zza=function(a,b,c){a.set(c,"false");a.set("apps_telemetry.handling_error",ml(b))};var ica=new Set([1,6,7,2,0]);var Ql=function(){};Ql.prototype.Po=function(){};Ql.prototype.Cc=function(){};try{let a,b,c=(b=(a=window)==null?void 0:a.top)!=null?b:n;c.U3bHHf!=null||(c.U3bHHf=0);c.U3bHHf++}catch(a){n.U3bHHf!=null||(n.U3bHHf=0),n.U3bHHf++};var $za=Symbol("Wa");var aAa;if(n==null?0:(aAa=n.Symbol)==null?0:aAa.for){var bAa=Symbol.for("google.goem");n[bAa]||(n[bAa]=new WeakMap)};var nca={};var Sl={};cF(Ul,bh);Ul.prototype.g=function(a){return cAa(this,a)};
var vX=function(a,b){return(b?"__wrapper_":"__protected_")+AD(a)+"__"},cAa=function(a,b){var c=vX(a,!0);b[c]||((b[c]=dAa(a,b))[vX(a,!1)]=b);return b[c]},dAa=function(a,b){var c=function(){if(a.isDisposed())return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(d){eAa(a,d)}};c[vX(a,!1)]=b;return c},eAa=function(a,b){if(!(b&&typeof b==="object"&&typeof b.message==="string"&&b.message.indexOf("Error in protected function: ")==0||typeof b==="string"&&b.indexOf("Error in protected function: ")==
0))throw a.j(b),new fAa(b);},gAa=function(a){var b=b||n.window||n.globalThis;"onunhandledrejection"in b&&(b.onunhandledrejection=function(c){eAa(a,c&&c.reason?c.reason:Error("Va"))})},wX=function(a,b){var c=n.window||n.globalThis,d=c[b];if(!d)throw Error("Xa`"+b);c[b]=function(e,f){typeof e==="string"&&(e=yj(yia,e));e&&(arguments[0]=e=cAa(a,e));if(d.apply)return d.apply(this,arguments);var g=e;if(arguments.length>2){let h=Array.prototype.slice.call(arguments,2);g=function(){e.apply(this,h)}}return d(g,
f)};c[b][vX(a,!1)]=d};Ul.prototype.oa=function(){var a=n.window||n.globalThis;var b=a.setTimeout;b=b[vX(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[vX(this,!1)]||b;a.setInterval=b;Ul.Kb.oa.call(this)};var fAa=function(a){aa.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&typeof a==="string"&&(this.stack=a)};cF(fAa,aa);var xX=function(a,b,c){vh.call(this);this.C=b||null;this.o={};this.D=hAa;this.H=a;if(!c){this.g=null;this.g=new Ul(sj(this.j,this));wX(this.g,"setTimeout");wX(this.g,"setInterval");a=this.g;b=n.window||n.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(let d=0;d<c.length;d++){let e=c[d];c[d]in b&&wX(a,e)}a=this.g;Tra=!0;b=sj(a.g,a);for(c=0;c<GR.length;c++)GR[c](b);HR.push(a)}};cF(xX,vh);
var iAa=function(a,b){dh.call(this,"i");this.error=a;this.context=b};cF(iAa,dh);var jAa=function(a,b){return new xX(a,b,void 0)},hAa=function(a,b,c,d){if(d instanceof Map){var e={};d=q(d);for(var f=d.next();!f.done;f=d.next()){var g=q(f.value);f=g.next().value;g=g.next().value;e[f]=g}}else e=d;d=new bj;rsa.push(d);d.Lf("ready",d.yd);d.send(a,b,c,e)},kAa=function(a,b){a.D=b};
xX.prototype.j=function(a,b){a=a.error||a;b=b?qh(b):{};a instanceof Error&&th(b,mb(a));var c=gsa(a);if(this.C)try{this.C(c,b)}catch(h){}var d=c.message.substring(0,1900);if(!(a instanceof aa)||a.g){var e=c.fileName,f=c.lineNumber;a=c.stack;try{let h=Yh(this.H,"script",e,"error",d,"line",f);if(!oh(this.o)){d=h;var g=Xh(this.o);h=Th(d,g)}g={};g.trace=a;if(b)for(let m in b)g["context."+m]=b[m];let l=Xh(g);this.D(h,"POST",l,this.G)}catch(h){}}try{this.dispatchEvent(new iAa(c,b))}catch(h){}};
xX.prototype.oa=function(){$g(this.g);xX.Kb.oa.call(this)};var AX=function(a){a=a===void 0?new yX:a;vh.call(this);var b=this;this.ka={};this.g=null;this.G={};this.T=new ji(this);this.wh=a.L;this.ra=a.N;this.rc=a.G;this.yf=a.o;this.yd=a.H;var c=a.g;this.Qb=a.j||mca();this.wf=a.ba;this.Fa=new bza;var d=new bj;lAa(this,c);this.C=new SW(d,c,void 0,void 0,void 0);this.Ha(this.C);this.j=aW(c,"docs-sup")+aW(c,"docs-jepp")+"/jserror";if(d=aW(c,"jobset"))this.j=Yh(this.j,"jobset",d);if(d=aW(c,"docs-ci"))this.j=Yh(this.j,"id",d);d=aW(c,"docs-pid");ZV(c,"docs-eaotx")&&
d&&(this.j=Yh(this.j,"ouid",d));this.Pa=$V(c,"docs-srmoe")||0;this.je=ZV(c,"docs-oesf");this.Ua=$V(c,"docs-srmour")||0;this.ke=ZV(c,"docs-oursf");d=this.Ua>0&&Math.random()<this.Ua;this.he=ZV(c,"docs-wesf");mAa(this);LT=function(g){return nAa(b,g,"promise rejection")};var e=$V(c,"docs-srmdue")||0;if(e>0&&Math.random()<e){let g=ZV(c,"docs-duesf");NV=function(h){nAa(b,h,"deferred error",g,"isDeferredUnhandledErrback")}}else NV=function(){};e=$V(c,"docs-srmxue")||0;e=e>0&&Math.random()<e;var f=ZV(c,
"docs-xduesf");e&&txa(function(g){if(g){var h={};h=(h.isXDeferredUnhandledErrback="true",h);f?zX(b,g,h):b.info(g,h)}});d&&(d=new Ul(function(g){var h={};h=(h.isUnhandledRejection="true",h);b.ke?zX(b,g,h):b.info(g,h)}),gAa(d),this.Ha(d));this.L=null;typeof document!=="undefined"&&document.body&&(this.L=oca(function(g){var h={};h=(h.isWizError="true",h);g=q(g.data.errors);for(var l=g.next();!l.done;l=g.next())l=l.value.error,b.he?zX(b,l,h):b.info(l,h)}));this.ca=a.B;this.D=!1;this.H=!0;this.o=!1;this.Ka=
aW(c,"docs-jern");this.kc=a.D;this.yb=a.C.concat(Object.values(nxa))};U(AX,vh);
var mAa=function(a){var b=b===void 0?!1:b;if(BX){if(CX!=null)throw Error("Ya`"+CX.stack);throw Error("Za");}BX=!0;CX=Error();a.g=jAa(a.j,function(d,e){return oAa(a,d,e)});var c={};a.rc&&(c["X-No-Abort"]="1");a.g.G=c;kAa(a.g,function(d,e,f,g){a.H&&a.C.send(d,e,f,g)});if(a.Pa>0&&Math.random()<a.Pa){c={};let d=(c.isWindowOnError="true",c);a.je?fsa(function(e){zX(a,e.error instanceof Error?e.error:Error(e.message),d)}):fsa(function(e){a.log(e.error instanceof Error?e.error:Error(e.message),d)})}a.T.listen(a.g,
"i",function(d){d.context.severity=d.context["severity-unprefixed"]||d.context.severity;var e=d.context.severity;(e=e=="fatal"||e=="postmortem")&&!a.yf&&(!a.wh||(b===void 0?0:b)?a.Fa.notify(void 0,d.context):a.Fa.notify(d,d.context));a.dispatchEvent(new cza(e?"g":"h",d.error,d.context))})},lAa=function(a,b){b=new lza(b);var c=b.g;for(let d in c){let e=c[d];e&&(a.G["expflag-"+d]=e.toString())}a.G.experimentIds=b.j.join(",")},zX=function(a,b,c,d){a.o=d||!1;Wl(b,"fatal");DX(b);if(!a.g){if(b instanceof
Vl)throw b.getError();throw eS(b);}a.g.j(b,EX(a,b,c));if(a.yd)throw c=EX(a,b,c),c.is_forceFatal=1,d=b instanceof Vl?b.getError():b,oAa(a,d,c),b=eS(d),a=", context:"+JSON.stringify(EX(a,d,c)),b.message+=a,b;};AX.prototype.Da=function(a,b,c){this.o=c||!1;Wl(a,"warning");DX(a);this.g&&this.g.j(a,EX(this,a,b))};AX.prototype.info=function(a,b,c){this.o=c||!1;Wl(a,"incident");DX(a);this.g&&this.g.j(a,EX(this,a,b))};
AX.prototype.log=function(a,b,c){this.o=!!c;Wl(a,"incident");DX(a);this.g&&this.g.j(a,EX(this,a,b))};
var nAa=function(a,b,c,d,e){d=d===void 0?!0:d;if(b&&typeof b==="object"&&b.type==="error"){let f=b.error;b=JSON.stringify({error:f&&f.message?f.message:"Missing error cause.",stack:f&&f.stack?f.stack:"Missing error cause.",message:b.message,filename:b.filename,lineno:b.lineno,colno:b.colno,type:b.type});c=Error("$a`"+c+"`"+b)}else c=typeof b==="string"?Error("ab`"+c+"`"+b):typeof b==="number"?Error("bb`"+c+"`"+b):b==null?Error("cb`"+c):b;b={};e&&(b[e]="true");d?ea(c):a.info(c,b)},pAa=function(a,b){var c=
{};return function(){var d=cc.apply(0,arguments);if(a.g)try{var e=b.apply(c,d)}catch(f){throw zX(a,f),eS(f);}else e=b.apply(c,d);return e}},EX=function(a,b,c){b instanceof Vl&&(b=b.getError());c=c?qh(c):{};c.severity=mb(b).severity;var d=b&&b.reportSeverity;d&&(c.reportSeverity=d);a.ra&&(c.errorGroupId=a.ra);if(b&&!b.message&&b.constructor&&b.constructor instanceof Function&&(b.constructor.name?b.constructor.name:bS(b.constructor))==="Object"){c.unknownErrorToStringResult=Object.prototype.toString.call(b);
a=c;d=JSON;var e=d.stringify;let f={},g=Object.keys(b),h=0;for(let l=0;l<g.length&&h<10;l++){let m=g[l];try{typeof b[m]!=="function"&&(f[m]=String(b[m]).substring(0,100),h++)}catch(p){}}a.unknownErrorContent=e.call(d,f)}return c},oAa=function(a,b,c){var d=a.D;try{a.Ja(b,c)}catch(e){throw d&&!a.ca&&(a.H=!1),a.D=!0,c.provideLogDataError=e.message,c.severity||(c.severity="fatal"),eS(e);}finally{if(c["severity-unprefixed"]=c.severity||"fatal",c.severity=""+c["severity-unprefixed"],!a.kc)for(let e in c)typeof c[e]===
"number"||c[e]instanceof Number||typeof c[e]==="boolean"||c[e]instanceof Boolean||a.yb.includes(e)||ph(c,e)}};
AX.prototype.Ja=function(a,b){for(var c in this.ka)try{b[c]=this.ka[c](a)}catch(f){}Object.assign(b,this.G);c=b.severity||"fatal";var d=b.reportSeverity||a&&a.reportSeverity;d&&(d=pca(d.toLowerCase()))&&(c=d);this.wf||(c=this.Qb.handleError(a,c,b));this.Ka&&(b.reportName=this.Ka+"_"+c);b.isArrayPrototypeIntact=hca().toString();if(!("WorkerGlobalScope"in n&&self instanceof n.WorkerGlobalScope)){try{var e=!!document.getElementById("docs-editor")}catch(f){e=!1}b.isEditorElementAttached=e.toString()}b.documentCharacterSet=
document.characterSet;b.origin=String(n.origin);e=a.stack||"";if(e.trim().length==0||e=="Not available")b["stacklessError-reportingStack"]=xp(AX.prototype.Ja),[a.message].concat(r(Object.keys(b)),r(Object.values(b))).some(function(f){return f&&f.includes("<eye3")})||(b.eye3Hint="<eye3-stackless title='Stackless JS Error - "+a.name+"'/>");this.D&&!this.ca?(this.H=this.o,c=="fatal"?c="postmortem":c=="incident"&&(c="warningafterdeath")):c=="fatal"&&(this.D=!0);this.o=!1;b.severity=c};
var DX=function(a){a instanceof Vl&&a.getError()};AX.prototype.oa=function(){BX=!1;if(this.L)for(var a=this.L,b=q(a.et),c=b.next();!c.done;c=b.next()){var d=c.value;if(c=Rl(a.el,d))if(Ka(c,a.Yi),!c.length){c=a.el;let e=(c.getAttribute("jsaction")||"").trim();d+=":.CLIENT";e=e.replace(d+";","");e=e.replace(d,"");Tl(c,e)}}ah(this.T,this.g,this.C);vh.prototype.oa.call(this)};
var BX=!1,CX=null,yX=function(){this.N=this.g=void 0;this.G=this.B=this.o=this.H=this.L=!1;this.D=!0;this.C=[];this.ba=!1;this.j=void 0},rAa=function(){var a=new yX;a.o=!0;var b=Exa();a.g=b;var c=c===void 0?{}:c;if(!FX.so()){try{var d=Jl(jta)}catch(e){d=!1}FX=d&&window.crashReport?new qAa:new GX;FX.initialize()}b=Pl(c,new HX);a.j=b;return a};yX.prototype.build=function(){return new AX(this)};var IX=function(a,b,c,d,e,f){bh.call(this);var g=this;this.C=new iW;this.B=new iW;this.o=new JV;this.D=new ji(this);c=c!==void 0?c:ZV(Exa(),"icso");this.j=f||new OW(a,!c,b,d,e);this.j.G.promise.then(function(){g.o.callback(null)},function(h){g.o.Va(uxa(h))});this.D.listen(this.j,"e",function(){return g.C.dispatchEvent(null)}).listen(this.j,"f",function(){return g.B.dispatchEvent(null)})};U(IX,bh);IX.prototype.g=function(){return this.j.g()};var JX=function(a){this.A=u(a)};U(JX,v);JX.prototype.getName=function(){return x(this,1)};JX.prototype.getValue=function(){return x(this,2)};JX.prototype.setValue=function(a){return D(this,2,a)};JX.prototype.Ia=function(){return C(this,2)};var KX=function(a){this.A=u(a)};U(KX,v);var LX=function(a){this.A=u(a)};U(LX,v);LX.prototype.Wc=function(){return O(this,KX,1)};var Zl=[{ya:Bta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,2)},setValue:function(a,b){I(a,2,!!b)}},{ya:vta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,43)},setValue:function(a,b){I(a,43,!!b)}},{ya:Gta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,46)},setValue:function(a,b){I(a,46,!!b)}},{ya:Rta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,13)},setValue:function(a,b){I(a,13,!!b)}},{ya:Jta,defaultValue:!1,za:!0,getValue:function(a){return Q(a,6)},setValue:function(a,
b){I(a,6,!!b)}},{ya:Kta,defaultValue:!1,za:!0,getValue:function(a){return Q(a,7)},setValue:function(a,b){I(a,7,!!b)}},{ya:Lta,defaultValue:!1,za:!0,getValue:function(a){return Q(a,9)},setValue:function(a,b){I(a,9,!!b)}},{ya:Mta,defaultValue:!1,za:!0,getValue:function(a){return Q(a,10)},setValue:function(a,b){I(a,10,!!b)}},{ya:Uta,defaultValue:!1,za:!0,getValue:function(a){return Dla(a)},setValue:function(a,b){I(a,11,!!b)}},{ya:Vta,defaultValue:!1,za:!0,getValue:function(a){return Ela(a)},setValue:function(a,
b){I(a,12,!!b)}},{ya:Wta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,61)},setValue:function(a,b){I(a,61,!!b)}},{ya:Dta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,62)},setValue:function(a,b){I(a,62,!!b)}},{ya:Xta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,36)},setValue:function(a,b){I(a,36,!!b)}},{ya:Yta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,38)},setValue:function(a,b){I(a,38,!!b)}},{ya:Zta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,37)},setValue:function(a,
b){I(a,37,!!b)}},{ya:Eta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,40)},setValue:function(a,b){I(a,40,!!b)}},{ya:dua,defaultValue:!1,za:!1,getValue:function(a){return Q(a,39)},setValue:function(a,b){I(a,39,!!b)}},{ya:Fta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,41)},setValue:function(a,b){I(a,41,!!b)}},{ya:$ta,defaultValue:!1,za:!0,getValue:function(a){return Q(a,20)},setValue:function(a,b){I(a,20,!!b)}},{ya:aua,defaultValue:!1,za:!0,getValue:function(a){return Q(a,21)},setValue:function(a,
b){I(a,21,!!b)}},{ya:bua,defaultValue:!1,za:!0,getValue:function(a){return Q(a,18)},setValue:function(a,b){I(a,18,!!b)}},{ya:cua,defaultValue:!1,za:!0,getValue:function(a){return Q(a,19)},setValue:function(a,b){I(a,19,!!b)}},{ya:Nta,defaultValue:!1,za:!0,getValue:function(a){return Q(a,24)},setValue:function(a,b){I(a,24,!!b)}},{ya:Ota,defaultValue:!1,za:!0,getValue:function(a){return Q(a,25)},setValue:function(a,b){I(a,25,!!b)}},{ya:Pta,defaultValue:!1,za:!0,getValue:function(a){return Q(a,22)},setValue:function(a,
b){I(a,22,!!b)}},{ya:Qta,defaultValue:!1,za:!0,getValue:function(a){return Q(a,23)},setValue:function(a,b){I(a,23,!!b)}},{ya:iua,defaultValue:!1,za:!1,getValue:function(a){return Q(a,26)},setValue:function(a,b){I(a,26,!!b)}},{ya:jua,defaultValue:!1,za:!1,getValue:function(a){return Q(a,27)},setValue:function(a,b){I(a,27,!!b)}},{ya:kua,defaultValue:!1,za:!1,getValue:function(a){return Q(a,33)},setValue:function(a,b){I(a,33,!!b)}},{ya:fua,defaultValue:!1,za:!1,getValue:function(a){return Q(a,28)},setValue:function(a,
b){I(a,28,!!b)}},{ya:eua,defaultValue:!1,za:!1,getValue:function(a){return Q(a,29)},setValue:function(a,b){I(a,29,!!b)}},{ya:tta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,34)},setValue:function(a,b){I(a,34,!!b)}},{ya:zta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,47)},setValue:function(a,b){I(a,47,!!b)}},{ya:Ata,defaultValue:!1,za:!1,getValue:function(a){return Q(a,51)},setValue:function(a,b){I(a,51,!!b)}},{ya:yta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,52)},setValue:function(a,
b){I(a,52,!!b)}},{ya:uta,defaultValue:!1,za:!1,getValue:function(a){return Ila(a)},setValue:function(a,b){I(a,57,!!b)}},{ya:xta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,59)},setValue:function(a,b){I(a,59,!!b)}},{ya:Hta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,64)},setValue:function(a,b){return I(a,64,!!b)}},{ya:Ita,defaultValue:!1,za:!1,getValue:function(a){return Q(a,65)},setValue:function(a,b){return I(a,65,!!b)}},{ya:wta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,
70)},setValue:function(a,b){I(a,70,!!b)}},{ya:gua,defaultValue:!1,za:!1,getValue:function(a){return Q(a,71)},setValue:function(a,b){I(a,71,!!b)}},{ya:hua,defaultValue:!1,za:!1,getValue:function(a){return Q(a,72)},setValue:function(a,b){I(a,72,!!b)}},{ya:mta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,89)},setValue:function(a,b){I(a,89,!!b)}},{ya:ota,defaultValue:!1,za:!1,getValue:function(a){return Q(a,88)},setValue:function(a,b){I(a,88,!!b)}},{ya:Sta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,
82)},setValue:function(a,b){I(a,82,!!b)}},{ya:Tta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,83)},setValue:function(a,b){I(a,83,!!b)}},{ya:sta,defaultValue:0,za:!1,getValue:function(a){return zn(a,76)},setValue:function(a,b){J(a,76,Number(b))}},{ya:pta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,78)},setValue:function(a,b){I(a,78,!!b)}},{ya:lta,defaultValue:0,za:!1,getValue:function(a){return zn(a,79)},setValue:function(a,b){J(a,79,Number(b))}},{ya:kta,defaultValue:1,za:!1,getValue:function(a){return Hl(a,
81,1)},setValue:function(a,b){H(a,81,Number(b))}},{ya:nta,defaultValue:!1,za:!1,getValue:function(a){return BB(a)},setValue:function(a,b){I(a,84,!!b)}},{ya:Cta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,85)},setValue:function(a,b){I(a,85,!!b)}},{ya:rta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,86)},setValue:function(a,b){I(a,86,!!b)}},{ya:qta,defaultValue:!1,za:!1,getValue:function(a){return Q(a,87)},setValue:function(a,b){I(a,87,!!b)}}];var MX=function(a,b){this.g=a;this.config=b};MX.prototype.Gh=function(a){return Object.prototype.hasOwnProperty.call(this.config.methods,a)};MX.prototype.gn=function(){return Object.keys(this.config.methods)};MX.prototype.Ib=async function(a){var b=cc.apply(1,arguments),c=await this.g;return c[a].bind(c).apply(null,r(b))};var NX=function(a){this.options=a};NX.prototype.proxy=function(a){if(this.options.It)a=rca(a);else{let d={};for(var b=q(a.gn()),c=b.next();!c.done;c=b.next())c=c.value,d[c]=a.Ib.bind(a,c);a=d}return a};var OX=function(a){bh.call(this);this.j=a};U(OX,bh);var sAa=function(a,b){a=a.j;if(a.j.has(PX.serviceId))throw Error("fb`"+PX.serviceId);b={config:PX,service:b};a.j.add(PX.serviceId);QX(a,PX.serviceId).resolve(b)},tAa=async function(a,b){return(await QX(a.j,b.serviceId).promise).service};var RX={It:!1};var us=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var SX=function(a){this.ea=new us;this.promise=dm(this.ea.promise,2E4,a)};SX.prototype.resolve=function(a){this.ea.resolve(a)};SX.prototype.reject=function(a){this.ea.reject(a)};var TX=function(){this.Fb={};this.g={};this.j=new Set},QX=function(a,b){a.Fb[b]||(a.Fb[b]=new SX(function(){return em(b)}));return a.Fb[b]},uAa=function(a,b){a.g[b]||(a.g[b]=new SX(function(){return em(b)}));return a.g[b]};var vAa=function(a,b){OX.call(this,a);this.o=b;this.g=null};U(vAa,OX);var wAa=function(){var a=new TX,b=new NX(Object.assign({},RX,void 0));return new vAa(a,b)},QD=function(){var a=wAa(),b=wAa();a.g=b;b.g=a;return{Dn:a,En:b}},xAa=function(a){var b=PX,c=tAa(a.g,b);return{proxy:a.o.proxy(new MX(c,b)),dispose:function(){}}};var jm=function(a){this.payload=a;this.transfer=void 0};jm.prototype.build=function(){return this.transfer?fm(this.payload,[].concat(r(new Set(this.transfer)))):fm(this.payload)};jm.prototype.Ob=function(a){var b=cc.apply(1,arguments);a.apply(null,[this.payload].concat(r(b.map(function(c){return c.payload}))));this.g.apply(this,r(b.map(function(c){return c.transfer})))};
jm.prototype.g=function(){for(var a=q(cc.apply(0,arguments)),b=a.next();!b.done;b=a.next())if(b=b.value)this.transfer||(this.transfer=[]),this.transfer.push.apply(this.transfer,r(b))};var UX=function(a,b){this.channel=a;this.g=b};UX.prototype.Ib=async function(a){var b=gm(a,cc.apply(1,arguments),{aa:!0});b=await this.channel.Vf(b.payload,b.transfer);b=mm(b.data,a,this.g.Rn);if(b.ff)return b.response;throw b.error;};var VX=function(a,b){this.config=a;this.g=b};VX.prototype.Gh=function(a){return this.config.methods.hasOwnProperty(a)};VX.prototype.gn=function(){return Object.keys(this.config.methods)};VX.prototype.Ib=async function(a){return this.g.Ib.apply(this.g,[this.config.methods[a]].concat(r(cc.apply(1,arguments))))};var tca=Ub(function(a){if(a==null||typeof a!=="object")return!1;a=Object.getPrototypeOf(a);return a===Object.prototype||a===null});var WX=function(a){this.g=a},yAa=async function(a,b,c,d){try{var e=im(d,c);let f=await b.apply(null,r(e.call.args));return km(f,c,{aa:!0})}catch(f){return lm(a.g.tt(f,c.Z),a.g.Rn)}};var ym=function(a,b){this.data=a;this.channel=b};ym.prototype.reply=function(a,b,c){this.channel.send(a,b,c)};var zAa=Promise;var XX=function(a){this.g=a};XX.prototype.send=function(a,b,c){c=c===void 0?[]:c;var d=new MessageChannel;AAa(d.port1,b);this.g.postMessage(a,[d.port2].concat(c))};XX.prototype.Vf=function(a,b){var c=this;return new zAa(function(d){c.send(a,d,b)})};var YX=function(a,b){AAa(a,b);return new XX(a)},AAa=function(a,b){b&&(a.onmessage=function(c){b(new ym(c.data,YX(c.ports[0])))})};var xm=function(a,b){bh.call(this);var c=this;this.port=a;JR(this,function(){c.close()});this.Pk=function(d){d.data==="ueR9ye"&&c.dispose()};this.port.addEventListener("message",this.Pk);this.Hl=YX(a,b)};U(xm,bh);var zm=function(a,b){return new xm(a,om(b))};xm.prototype.send=function(a,b,c){this.sg(a);this.Hl.send(a,b,c)};xm.prototype.Vf=async function(a,b){this.sg(a);return await this.Hl.Vf(a,b)};
xm.prototype.sg=function(a){if(this.isDisposed()){let b;try{b=JSON.stringify(a)}catch(c){b=String(a)}throw Error("hb`"+b);}};xm.prototype.close=function(){try{this.Hl.send("ueR9ye")}catch(a){}this.Pk&&this.port.removeEventListener("message",this.Pk);this.port.onmessage=null;this.port.close()};var ZX=pm(wF),Cm=pm(hc),$X=pm(ic),BAa=pm(Oia),vca=pm(qB),aY=pm(Qq),vm=pm(Ub(function(a){return a===void 0})),CAa=pm(Vb(n.File)),DAa=pm(Vb(n.Blob)),Dm=function(a){return{Cb:a,tb:function(b){return fm(b,[b])},sb:function(b){return b}}}(Vb(MessagePort)),br=qm(wp);var bY=function(a,b){this.g=a;this.j=b};bY.prototype.er=async function(a,b){a=await QX(this.g,a).promise;cY(this.j,a.service,a.config,b)};bY.prototype.mr=async function(a,b){var c=cc.apply(2,arguments),d=await uAa(this.g,a).promise,e=d.yD;d=d.config;c=hm(c,d.Bn);var f=e.apply(null,r(c));JR(cY(this.j,f,d,b),function(){$g(f)})};
var EAa={serviceId:"ServiceBinder",methods:{er:nm({Z:"SK2AO",params:[Cm,Dm],response:vm}),mr:Em.apply(null,r(function(a){return function*(){yield a}()}({Cb:Ub(function(){return!0}),tb:function(a){return fm(a)},sb:function(a){return a}})))}};var FAa=function(a){this.g=a},cY=function(a,b,c,d){for(var e={},f=q(Object.entries(c.methods)),g=f.next();!g.done;g=f.next()){var h=q(g.value);g=h.next().value;h=h.next().value;if(typeof b[g]!=="function")throw Error("jb`"+g+"`"+c.serviceId);e[h.Z]=g}return zm(d,async function(l){var m=e[l.data.m];m=await yAa(a.g,b[m].bind(b),c.methods[m],l.data);l.reply(m.payload,void 0,m.transfer)})};var dY=function(a){bh.call(this);var b=this;this.g=a;JR(this,function(){b.g.then(function(c){c.dispose()})})};U(dY,bh);dY.prototype.send=function(a,b,c){this.g.then(function(d){d.send(a,b,c)})};dY.prototype.Vf=async function(a,b){return(await this.g).Vf(a,b)};var eY=function(a){this.g=a};eY.prototype.send=function(a,b,c){this.g.then(function(d){d.send(a,b,c)})};eY.prototype.Vf=function(a,b){return this.g.then(function(c){return c.Vf(a,b)})};var fY=function(a){this.g=a},GAa=function(a){var b=Object.create(null);(typeof a==="string"?[a]:a).forEach(function(c){if(c==="null")throw Error("kb");b[c]=!0});return function(c){return b[c]===!0}};var IAa=function(a){var b=a.destination;var c=a.ql;var d=a.origin;var e=a.ug===void 0?"ZNWN1d":a.ug;var f=a.onMessage===void 0?void 0:a.onMessage;a=a.Pj===void 0?void 0:a.Pj;return HAa({destination:b,Hg:function(){return c.contentWindow},bt:d instanceof fY?d:typeof d==="function"?new fY(d):new fY(GAa(d)),ug:e,onMessage:f,Pj:a})},HAa=function(a){var b=a.destination;var c=a.Hg;var d=a.bt;var e=a.token===void 0?void 0:a.token;var f=a.ug;var g=a.onMessage===void 0?void 0:a.onMessage;var h=a.Pj===void 0?
void 0:a.Pj;return new eY(new zAa(function(l,m){var p=function(t){t.source&&t.source===c()&&d.g(t.origin)&&(t.data.n||t.data)===f&&(b.removeEventListener("message",p,!1),e&&t.data.t!==e?m(Error("lb`"+f+"`"+e+"`"+t.data.t)):(l(YX(t.ports[0],g)),h&&h(t)))};b.addEventListener("message",p,!1)}))};var gY=function(a,b,c,d){OX.call(this,a);this.g=b;this.B=c;this.C=d};U(gY,OX);
var OD=function(a,b){var c=Object.assign({},RX,void 0);c=new NX(c);var d=new TX,e=new FAa(new WX(b));a=cY(e,new bY(d,e),EAa,a);return new gY(d,new UX(a,b),c,b)},JAa=function(a,b){var c=Object.assign({},RX,void 0);c=new NX(c);var d=new TX,e=new FAa(new WX(b)),f=new bY(d,e);a=new dY(a.then(function(g){return cY(e,f,EAa,g)}));return new gY(d,new UX(a,b),c,b)},LAa=async function(a){var b=PD,c=await KAa(a);b=OD(c,b);JR(b,function(){a.terminate()});return b},dia=function(a){var b=PD,c=KAa(a);b=JAa(c,b);
JR(b,function(){a.terminate()});return b},KAa=function(a){var b=new MessageChannel,c=b.port1,d=b.port2;b=Object.assign({},{ol:2E4,Rr:!1},void 0);var e=b.ol,f=b.Rr,g,h;b=new Promise(function(l,m){g=function(p){var t;((t=p.data)==null?void 0:t.type)==="ack"&&l(c)};h=function(p){p=p.error instanceof Error?p.error:p.error?Error("mb`"+p.error):typeof p.message==="string"&&p.message?Error("mb`"+p.message):Error("mb`"+p);f||m(p)};a.addEventListener("message",g);a.addEventListener("error",h);try{a.postMessage({type:"syn",
port:d},[d])}catch(p){m(p instanceof Error?p:Error(String(p)))}});b=dm(b,e,function(){return Error("nb`"+e/1E3)});b.catch(function(){}).finally(function(){a.removeEventListener("message",g);a.removeEventListener("error",h)});return b},Ica=function(a){var b=PD;return JAa(MAa(a),b)},MAa=function(a){var b=new MessageChannel,c=b.port1,d=b.port2;a=Object.assign({},{destination:n.window,ol:2E4},a);var e=a.destination,f=a.ql,g=a.origin,h=a.ug,l=a.ar,m=a.ol;a=new Promise(function(p){var t=IAa({destination:e||
n.window,ql:f,origin:g,ug:h,onMessage:function(w){var A;((A=w.data)==null?void 0:A.type)==="ack"&&p(c)}});l();t.send({type:"syn",port:d},void 0,[d])});return dm(a,m,function(){return Error("ob`"+m/1E3)})};gY.prototype.o=function(a){var b=cc.apply(1,arguments),c=new MessageChannel,d=c.port1;c=c.port2;var e=Em.apply(null,r(a.Bn));b=this.g.Ib.apply(this.g,[e,a.serviceId,c].concat(r(b))).then(function(){return zm(d)});b=new dY(b);return NAa(this,a,b)};
var NAa=function(a,b,c){return{proxy:a.B.proxy(new VX(b,new UX(c,a.C))),dispose:function(){c.dispose()}}};var OAa=Symbol("pb"),Fm=function(a){var b=Error.call(this,a.message);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.g=a;this[OAa]=!0};U(Fm,Error);var G=function(a,b,c){var d=aa.call;var e=Gp(a,b,c);var f=C(e,21)||"",g=[];E(e,28)&&g.push("(mapped from RPC code)");for(var h=q(Object.entries(PAa)),l=h.next();!l.done;l=h.next()){var m=q(l.value);l=m.next().value;var p=m.next().value;let t=p.uc;m=p.xg;p=p.yc.call(e)?t.call(e):void 0;p!==void 0&&(m&&(m=m[p],p=m===void 0?"<unknown value: "+String(p)+">":m),g.push(l+": "+String(p)))}(h=C(e,4))&&g.push("\n"+h);f=Np(f,g.join("\n"));e=f.length===0?"DsError type:"+e.G()+(" cause:"+e.j()+" with empty message"):
f;d.call(aa,this,e);this.name="ReportableError";this.qa=Gp(a,b,c);this.o=c||null;this.j=a||"";(a=C(this.qa,20))?this.stack=a:D(this.qa,20,this.stack);Q(this.qa,17)&&(this.g=!1);this.qa.D()&&(lb(this,"driveClientErrorReason",QAa[Tn(this.qa,14)]||String(Tn(this.qa,14))),a=Tn(this.qa,14),a>=200&&a<=229&&lb(this,"driveIsIdpError","true"),a>=230&&a<=259&&lb(this,"driveIsKaclsError","true"));this.qa.wj()&&lb(this,"driveServerErrorReason",RAa[Tn(this.qa,10)]||String(Tn(this.qa,10)))};U(G,aa);
var Rx=function(a,b,c){var d=new wp,e=Kx(a);oO(mO(J(d,26,e)),SAa[e]);x(a,2).length>0&&du(d,x(a,2));for(var f=q(z(a,KL,3,B())),g=f.next();!g.done;g=f.next()){var h=g.value;if(x(h,1)==="type.googleapis.com/google.rpc.DebugInfo"){g=[];if(h=Hg(h,hta,"google.rpc.DebugInfo"))if(x(h,2)&&g.push(x(h,2)),h=F(h,1,B()).join("\n"))g.push(h),D(d,20,h);Ew(d,g.join("\n"))}else x(h,1)==="type.googleapis.com/google.rpc.ErrorInfo"&&(g=Hg(h,ita,"google.rpc.ErrorInfo"))&&(g=TAa[wca(x(g,1))?Hm(x(g,1)):x(g,1)])&&nO(d,g)}if(!d.wj()){let l;
Boa(nO(d,(l=UAa[e])!=null?l:2))}c&&Ap(d,VAa[c]);b=new G(b!=null?b:"",d);lb(b,"dfsDetails",z(a,KL,3,B()).map(function(l){return l.aa()}).join(","));return b},Gp=function(a,b,c){var d=b?b.clone():new wp;a&&!S(d,21)&&Zw(d,a);b||(lO(d),c&&(c.message&&du(d,c.message),c.stack&&D(d,20,c.stack),Ew(d,"Original error: "+c+(c.stack?"\nOriginal error stack: "+c.stack.replace(/\n/g,"\n>"):""))));if(a=C(d,4))a=a.replace(/\\n\\tat/g,"\n  at"),a=a.replace(/\\n/g,"\n"),Ew(d,a);return d},Np=function(a,b){b&&(a.length&&
(a+="\n"),a+=b);return a},Gca=function(a){return a&&Object.keys(a).length?"Response.headers: "+Object.entries(a).map(function(b){var c=q(b);b=c.next().value;c=c.next().value;return b+": "+c}).join("\n"):"Response.headers: No headers for response."},hY={},WAa=(hY[1]="LOAD",hY[3]="LOAD_FATAL",hY[2]="RUNTIME",hY[0]="UNKNOWN_TYPE",hY),iY={},UAa=(iY[0]=0,iY[2]=1,iY[3]=11,iY[4]=31,iY[5]=4,iY[6]=8,iY[7]=69,iY[16]=15,iY[9]=71,iY[13]=3,iY[14]=9,iY),jY={},VAa=(jY[0]=0,jY[1]=99,jY),kY={},XAa=(kY[31]="ACCOUNT_MANAGER_INITIAL_REFRESH_FAILURE",
kY[32]="ACCOUNT_MANAGER_REFRESH_FAILURE",kY[2]="AUTHORIZATION",kY[7]="BAD_REQUEST",kY[33]="CHANGE_MANAGER_LARGEST_CHANGE_ID_REQUEST_FAILURE",kY[9]="CONFLICT",kY[21]="CORPUS_CACHE_COLD_START_LOAD_FAILURE",kY[22]="CORPUS_CACHE_RUN_FAILURE",kY[23]="CORPUS_CACHE_SDK_RUN_FAILURE",kY[24]="CORPUS_CACHE_UPDATE_FAILURE",kY[34]="FILE_DOWNLOADER_CACHE_FETCH_FAILURE",kY[35]="FILE_DOWNLOADER_FETCH_FAILURE",kY[93]="INITIAL_VIEW_POPULATOR_FAILURE",kY[17]="INITIAL_VIEW_POPULATOR_INVALID_LAST_ITEM",kY[18]="INITIAL_VIEW_POPULATOR_MISSING_DUMPELLO",
kY[19]="INITIAL_VIEW_POPULATOR_MISSING_FIELDS",kY[20]="INITIAL_VIEW_POPULATOR_NATURAL_SORT_UNSUPPORTED",kY[16]="ITEM_CACHE_UPDATE_ERROR",kY[5]="NONEXISTENT",kY[36]="OPTIMISTIC_APPLIER_APPLY_CATEGORY_LINKS_UPDATE_FAILURE",kY[37]="OPTIMISTIC_APPLIER_DELETE_FAILURE",kY[38]="OPTIMISTIC_APPLIER_EMPTY_TRASH_FAILURE",kY[39]="OPTIMISTIC_APPLIER_METADATA_UPDATE_FAILURE",kY[40]="OPTIMISTIC_APPLIER_PROPAGATE_ITEM_UPDATE_FAILURE",kY[4]="PERMISSION",kY[41]="PERMISSION_QUERY_RUNNER_FETCH_FAILURE",kY[26]="PREFETCH_ACCOUNT_AND_USER_SETTINGS_DISABLED",
kY[27]="PREFETCH_HOMEPAGE_ACTIVITY_DISABLED",kY[91]="PREFETCH_HOMEPAGE_SUGGESTED_FILES_DISABLED",kY[28]="PREFETCH_RUN_FAILURE",kY[29]="PREFETCH_UNSUPPORTED_REQUEST",kY[30]="PROXY_SERVICE_SEND_FAILURE",kY[42]="PROXY_SERVICE_SERIALIZE_FAILURE",kY[12]="REQUEST_BUILD_ERROR",kY[11]="RESPONSE_PARSE_ERROR",kY[10]="RESPONSE_TOO_LARGE",kY[43]="RESUMABLE_UPLOAD_CHUNK_FAILURE",kY[92]="ROOT_ITEM_LOAD_FAILURE",kY[8]="SERVER_ERROR",kY[44]="SIMPLE_QUERY_RUNNER_FETCH_FAILURE",kY[45]="TEAM_DRIVE_QUERY_RUNNER_FETCH_FAILURE",
kY[46]="TEAM_DRIVE_STATS_FAILURE",kY[1]="UNAVAILABLE_OFFLINE",kY[0]="UNKNOWN_CAUSE",kY[3]="UNSUPPORTED",kY[99]="USER_LOST_ACCESS",kY[13]="USER_QUOTA_EXCEEDED",kY[14]="USER_RATE_LIMIT_EXCEEDED",kY[47]="VALIDATOR_VALIDATE_FAILURE",kY[48]="VIEW_CACHE_CREATION_FAILURE",kY[49]="WORKER_CHANNEL_REGISTRATION_FAILURE",kY[50]="WORKER_DEBUG_UTIL_REQUEST_ROUTER_FAILURE",kY[51]="WORKER_DEBUG_UTIL_TRACE_REQUEST_FAILURE",kY[52]="WORKER_DEBUG_UTIL_UNSUPPORTED_TRACE_RESPONSE",kY[53]="WORKER_FILE_UPLOADER_NOT_FOUND",
kY[54]="WORKER_FILE_UPLOADER_RETRY_FAILURE",kY[55]="WORKER_ITEM_EXPORTER_EXPORT_FAILURE",kY[56]="WORKER_SERVICE_RUN_FAILURE",kY[94]="WORKER_SERVICE_UPDATE_FAILURE",kY[57]="WORKER_SYNCED_ITEM_SERVICE_BLOCK_PEOPLE_FAILURE",kY[58]="WORKER_SYNCED_ITEM_SERVICE_CHANGE_CATEGORY_LINKS_FAILURE",kY[59]="WORKER_SYNCED_ITEM_SERVICE_CHECK_CONNECTION_FAILURE",kY[60]="WORKER_SYNCED_ITEM_SERVICE_CREATE_USER_FEEDBACK_FAILURE",kY[61]="WORKER_SYNCED_ITEM_SERVICE_DELETE_APP_FAILURE",kY[63]="WORKER_SYNCED_ITEM_SERVICE_DELETE_PERMISSION_FAILURE",
kY[64]="WORKER_SYNCED_ITEM_SERVICE_GENERATE_PREFLIGHT_REPORT_FAILURE",kY[65]="WORKER_SYNCED_ITEM_SERVICE_GET_APPS_FAILURE",kY[66]="WORKER_SYNCED_ITEM_SERVICE_GET_APP_FAILURE",kY[67]="WORKER_SYNCED_ITEM_SERVICE_GET_PUBLISHED_CATEGORY_FAILURE",kY[68]="WORKER_SYNCED_ITEM_SERVICE_GET_REVISIONS_FAILURE",kY[95]="WORKER_SYNCED_ITEM_SERVICE_GET_REWIND_ACTIVITY_DETAILS",kY[96]="WORKER_SYNCED_ITEM_SERVICE_GET_REWIND_SUMMARY",kY[69]="WORKER_SYNCED_ITEM_SERVICE_GET_USER_ACCOUNT_FAILURE",kY[70]="WORKER_SYNCED_ITEM_SERVICE_GET_USER_PREFS_FAILURE",
kY[71]="WORKER_SYNCED_ITEM_SERVICE_INSERT_PERMISSION_FAILURE",kY[72]="WORKER_SYNCED_ITEM_SERVICE_INSTALL_APP_FAILURE",kY[73]="WORKER_SYNCED_ITEM_SERVICE_LIST_ACTIVITIES_FAILURE",kY[76]="WORKER_SYNCED_ITEM_SERVICE_LIST_PERMISSIONS_FAILURE",kY[77]="WORKER_SYNCED_ITEM_SERVICE_LIST_PUBLISHED_CATEGORIES_FAILURE",kY[78]="WORKER_SYNCED_ITEM_SERVICE_LIST_SUGGESTED_WORKSPACE_ITEMS_FAILURE",kY[79]="WORKER_SYNCED_ITEM_SERVICE_LIST_SUGGESTED_WORKSPACS_FAILURE",kY[80]="WORKER_SYNCED_ITEM_SERVICE_MUTATE_FAILURE",
kY[81]="WORKER_SYNCED_ITEM_SERVICE_MUTATE_PREFS_FAILURE",kY[82]="WORKER_SYNCED_ITEM_SERVICE_MUTATE_WORKSPACE_FAILURE",kY[83]="WORKER_SYNCED_ITEM_SERVICE_NOTIFY_USER_ACTIVITY_FAILURE",kY[84]="WORKER_SYNCED_ITEM_SERVICE_PASSTHROUGH_REQUEST_FAILURE",kY[97]="WORKER_SYNCED_ITEM_SERVICE_REWIND",kY[98]="WORKER_SYNCED_ITEM_SERVICE_REWIND_PREFLIGHT",kY[85]="WORKER_SYNCED_ITEM_SERVICE_SET_OFFLINE_OPT_IN_FAILURE",kY[86]="WORKER_SYNCED_ITEM_SERVICE_SYNC_FAILURE",kY[87]="WORKER_SYNCED_ITEM_SERVICE_UPDATE_APP_FAILURE",
kY[88]="WORKER_SYNCED_ITEM_SERVICE_UPDATE_CATEGORY_METADATA_FAILURE",kY[89]="WORKER_TEAM_DRIVE_MOVE_PRE_FLIGHT_RUNNER_CREATE_SERVICE_MAP_FAILURE",kY[15]="XHR_ERROR",kY),lY={},RAa=(lY[72]="ACTIVE_ITEM_CREATION_LIMIT_EXCEEDED",lY[15]="SERVER_AUTH_ERROR",lY[69]="PERMISSION_DENIED",lY[64]="APPLIED_CATEGORY_LIMIT_EXCEEDED",lY[9]="BACKEND_ERROR",lY[14]="BAD_CONTENT",lY[11]="BAD_REQUEST",lY[63]="CANNOT_ADD_PARENT",lY[45]="CANNOT_MOVE_TRASHED_ITEM_INTO_TEAM_DRIVE",lY[8]="CONFLICT",lY[75]="CONTEXT_RESTRICTION",
lY[16]="CONVERSION_INPUT_CORRUPT",lY[18]="CONVERSION_INPUT_TOO_LARGE",lY[30]="CONVERSION_INPUT_TYPE_UNSUPPORTED",lY[76]="CONVERSION_INVALID",lY[20]="CONVERSION_INVALID_LANGUAGE",lY[19]="CONVERSION_INVALID_REQUEST",lY[29]="CONVERSION_LANGUAGE_UNSUPPORTED",lY[17]="CONVERSION_MIMETYPE_MISMATCH",lY[22]="CONVERSION_OUTPUT_TOO_LARGE",lY[28]="CONVERSION_OUTPUT_TYPE_UNSUPPORTED",lY[21]="CONVERSION_PASSWORD_PROTECTED",lY[24]="CONVERSION_TIMEOUT",lY[25]="CONVERSION_TOO_MANY_CHARTS",lY[26]="CONVERSION_TOO_MANY_DRAWINGS",
lY[27]="CONVERSION_TOO_MANY_IMAGES",lY[23]="CONVERSION_USER_RATE_QUOTA_EXCEEDED",lY[31]="DEADLINE_EXCEEDED",lY[0]="DEFAULT_REASON",lY[66]="EXPIRED_MOVE_VALIDATION_TOKEN",lY[71]="FAILED_PRECONDITION",lY[42]="FILE_OWNER_NOT_MEMBER_OF_TEAM_DRIVE",lY[43]="FILE_OWNER_NOT_MEMBER_OF_TEAM_DRIVE_DOMAIN",lY[47]="FILE_OWNER_NOT_MEMBER_OF_WRITER_DOMAIN",lY[46]="FILE_WRITER_TEAM_DRIVE_MOVE_IN_DISABLED",lY[10]="FORBIDDEN",lY[3]="INTERNAL_SERVER_ERROR",lY[12]="INVALID",lY[32]="LOGIN_REQUIRED",lY[60]="MIME_TYPE_LENGTH_LIMIT_EXCEEDED",
lY[33]="MISSING_AUTH_COOKIE",lY[1]="MISSING_REASON",lY[73]="MY_DRIVE_FOLDER_DEPTH_LIMIT_EXCEEDED",lY[56]="NUM_CHILDREN_LIMIT_EXCEEDED",lY[61]="ONLY_CRITICAL_WRITES_ALLOWED",lY[74]="QUERY_TOO_EXPENSIVE",lY[4]="RESOURCE_NOT_FOUND",lY[34]="RESPONSE_PREPARATION_FAILURE",lY[5]="RESPONSE_TOO_LARGE",lY[55]="RICH_CONTENT_LIMIT_EXCEEDED",lY[68]="SHARED_DRIVE_INITIALIZATION_IN_PROGRESS",lY[50]="SHARING_DLP_NO_SHARE_OUTSIDE_DOMAIN",lY[57]="SHORTCUT_LIMIT_EXCEEDED",lY[58]="SHORTCUT_PER_CREATOR_LIMIT_EXCEEDED",
lY[67]="SIMULTANEOUS_PREFLIGHT_LIMIT_EXCEEDED",lY[39]="TEAM_DRIVES_FILE_TYPE_NOT_SUPPORTED",lY[36]="TEAM_DRIVES_FOLDER_MOVE_IN_NOT_SUPPORTED",lY[37]="TEAM_DRIVES_FOLDER_MOVE_OUT_NOT_SUPPORTED",lY[41]="TEAM_DRIVES_PARENT_LIMIT",lY[38]="TEAM_DRIVES_SHORTCUT_FILE_NOT_SUPPORTED",lY[52]="TEAM_DRIVE_CROSS_DOMAIN_MOVE_RESTRICTED",lY[40]="TEAM_DRIVE_FILE_LIMIT_EXCEEDED",lY[49]="TEAM_DRIVE_HIERARCHY_TOO_DEEP",lY[48]="TEAM_DRIVE_MEMBERSHIP_REQUIRED",lY[59]="TEAM_DRIVE_NAME_REQUIRED",lY[44]="TEAM_DRIVE_NAME_TOO_LONG",
lY[53]="TOO_MANY_FILES",lY[65]="TOO_MANY_SOURCE_IDS_FOR_MOVE",lY[54]="TOO_MANY_UNMOVABLE_FILES",lY[13]="TRANSIENT",lY[2]="UNRECOGNIZED_REASON",lY[35]="UPLOAD_BROKEN_CONNECTION",lY[51]="USER_CANNOT_CREATE_FILE_FOR_MIME_TYPE",lY[70]="USER_CANNOT_CREATE_SHARED_DRIVE_UNDER_ORG_POLICY",lY[6]="USER_QUOTA_EXCEEDED",lY[7]="USER_RATE_LIMIT_EXCEEDED",lY[62]="WRAPPED_KEY_EXCEEDED_LIMIT",lY),mY={},YAa=(mY[1]="ACCOUNT",mY[2]="APPS",mY[6]="APPS_HAS_APP_DATA",mY[3]="APPS_HAS_APP_DATA_AND_QUOTA",mY[5]="ITEMS",mY[4]=
"USER_PREFS",mY),nY={},ZAa=(nY[0]="DEFAULT_UPLOAD_TYPE",nY[2]="MULTIPART_BATCH",nY[1]="NO_CONTENT_BATCH",nY[3]="RESUMABLE",nY),oY={},QAa=(oY[213]="AUTHENTICATION_TOKEN_MISSING_CLAIMS",oY[210]="AUTH_CODE_EXCHANGE_ERROR",oY[14]="BATCH_NO_BOUNDARY_SPECIFIED",oY[15]="BATCH_NO_BOUNDARY_USED",oY[16]="BATCH_NO_STATUS",oY[17]="BATCH_TOO_FEW_PARTS",oY[4]="BUILDING_REQUEST",oY[260]="CRYPTO_INPUT_ERROR",oY[261]="CRYPTO_INTERNAL_ERROR",oY[262]="CRYPTO_INVALID_OPERATION_ERROR",oY[0]="DEFAULT_CLIENT_REASON",oY[212]=
"DISCOVERY_CONTENT_ERROR_RESPONSE",oY[23]="DUMPSTORAGE_LENGTH_ERROR",oY[200]="EMAIL_MISMATCH",oY[22]="FORBIDDEN_REQUEST",oY[26]="FS_ABORT",oY[27]="FS_ENCODING",oY[28]="FS_INVALID_MODIFICATION",oY[29]="FS_INVALID_STATE",oY[30]="FS_NOT_FOUND",oY[31]="FS_NOT_READABLE",oY[38]="FS_NO_ERROR_ON_READ_TEST",oY[32]="FS_NO_MODIFICATION_ALLOWED",oY[33]="FS_PATH_EXISTS",oY[34]="FS_QUOTA_EXCEEDED",oY[35]="FS_SECURITY",oY[36]="FS_SYNTAX",oY[37]="FS_TYPE_MISMATCH",oY[25]="FS_UNKNOWN",oY[24]="HTTP_ERROR",oY[291]=
"INTERNAL",oY[233]="INVALID_AUTHORIZATION_TOKEN_ERROR",oY[290]="INVALID_CONFIG_ERROR",oY[206]="INVALID_CSE_CONFIGURATION_CONTENT",oY[204]="INVALID_DISCOVERY_CONTENT",oY[207]="INVALID_ID_TOKEN",oY[208]="INVALID_OIDC_SETUP",oY[234]="KACLS_REQUEST_FETCH_ERROR",oY[236]="KACLS_RESPONSE_HTTP_NON_OK_STATUS",oY[235]="KACLS_RESPONSE_HTTP_UNAUTHORIZED_ERROR",oY[201]="MANUAL_LOGIN_REQUIRED",oY[2]="NETWORK",oY[18]="NO_QUEUE_FOR_REQUEST",oY[43]="PARSING_RESPONSE_EMPTY_JSON",oY[41]="PARSING_RESPONSE_EMPTY_PROTO",
oY[8]="PARSING_RESPONSE_NOT_OBJECT",oY[11]="PARSING_RESPONSE_NOT_VALID_JSON",oY[40]="PARSING_RESPONSE_NOT_VALID_PROTO",oY[21]="PARSING_RESPONSE_NO_KIND",oY[10]="PARSING_RESPONSE_NO_UPLOAD_URI",oY[42]="PARSING_RESPONSE_UNEXPECTED_HTML",oY[9]="PARSING_RESPONSE_WRONG_KIND",oY[211]="POPUP_BLOCKED",oY[202]="POPUP_CLOSED",oY[5]="READING_FILE",oY[39]="RESOURCE_KEY_MULTIPLE_RESOURCE_KEYS_DEFINED",oY[205]="UNAVAILABLE_CSE_CONFIGURATION_CONTENT",oY[203]="UNAVAILABLE_DISCOVERY_CONTENT",oY[209]="UNAVAILABLE_IDP",
oY[1]="UNKNOWN_CLIENT_REASON",oY[231]="UNWRAP_ERROR",oY[232]="UNWRAP_TAKEOUT_ERROR",oY[230]="WRAP_ERROR",oY[7]="XHR_EXCEPTION",oY),TAa={activeItemCreationLimitExceeded:72,appliedCategoryLimitExceeded:64,authError:15,backendError:9,badContent:14,badRequest:11,cannotAddParent:63,cannotMoveTrashedItemIntoTeamDrive:45,conflict:8,conversionCorruptedInput:16,conversionInputDoesNotMatchSpecifiedMimeType:17,conversionInputTooLarge:18,conversionInvalid:76,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},pY={},SAa=(pY[10]=409,pY[6]=409,pY[1]=499,pY[15]=500,pY[4]=504,pY[9]=400,pY[13]=500,pY[3]=400,pY[5]=404,pY[0]=200,pY[11]=400,pY[7]=403,pY[8]=429,pY[16]=401,pY[14]=503,pY[12]=501,pY[2]=500,pY),qY=wp.prototype,PAa={Type:{yc:qY.C,uc:qY.G,xg:WAa},Cause:{yc:qY.B,uc:qY.j,xg:XAa},Message:{yc:qY.T,uc:qY.ba},DataType:{yc:qY.L,uc:qY.N,xg:YAa},HideFromUser:{yc:qY.Jr,uc:qY.Er},UploadId:{yc:qY.vq,uc:qY.pq},IsExternal:{yc:qY.tq,uc:qY.oq},NumRetries:{yc:qY.uq,
uc:qY.jd},ServerErrorReason:{yc:qY.wj,uc:qY.Le,xg:RAa},UploadType:{yc:qY.wq,uc:qY.qq,xg:ZAa},PrefetchedItemId:{yc:qY.Kr,uc:qY.Fr},ClientErrorReason:{yc:qY.D,uc:qY.g,xg:QAa},HttpResponseCode:{yc:qY.sq,uc:qY.fe},DapperTraceUrl:{yc:qY.rq,uc:qY.nq},HideFromServer:{yc:qY.Ir,uc:qY.Dr},ResourceUrl:{yc:qY.Lr,uc:qY.eo}};var Im=function(a){this.requests=a;if(a.length===0)throw Error("qb");};var uo=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};var vo=function(a,b){this.request=a;this.pageToken=b===void 0?"":b},Bo=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};var Jo=function(){this.g=Wt(new R,312)};var xo=function(a){this.g=a;this.type=1},yo=function(a){this.g=a;this.type=0};var wo=function(a){this.request=a;this.requestId=$h()},Go=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};var rY=function(a,b){this.start=a;this.end=b};JE.Object.defineProperties(rY.prototype,{size:{configurable:!0,enumerable:!0,get:function(){return this.end-this.start}}});cF(Nm,aa);var xca=function(a){var b=kba(function(c){return a==c});if(b===void 0)throw Error("rb`"+a);return b},sY={},nh=(sY.AbortError=3,sY.EncodingError=5,sY.InvalidModificationError=9,sY.InvalidStateError=7,sY.NotFoundError=1,sY.NotReadableError=4,sY.NoModificationAllowedError=6,sY.PathExistsError=12,sY.QuotaExceededError=10,sY.SecurityError=2,sY.SyntaxError=8,sY.TypeMismatchError=11,sY);cF(Om,dh);var $Aa=function(a,b,c){c===void 0&&(c=a.size);return a.slice?a.slice(b,c):null};var Pm={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1?a+" ".repeat(Number(c)-a.length):" ".repeat(Number(c)-a.length)+a},f:function(a,b,c,d,e){d=a.toString();isNaN(e)||e==""||(d=parseFloat(a).toFixed(e));var f=Number(a)<0?"-":b.indexOf("+")>=0?"+":b.indexOf(" ")>=0?" ":"";Number(a)>=0&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;b.indexOf("-",0)>=0?d=
f+d+" ".repeat(a):(b=b.indexOf("0",0)>=0?"0":" ",d=f+b.repeat(a)+d);return d},d:function(a,b,c,d,e,f,g,h){return Pm.f(parseInt(a,10),b,c,d,0,f,g,h)}};Pm.i=Pm.d;Pm.u=Pm.d;var tY=function(a,b){this.blob=b;a instanceof rY||(b=q(a),a=b.next().value,b=b.next().value,a=new rY(a,b));this.range=a};JE.Object.defineProperties(tY.prototype,{size:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=(a=this.blob)==null?void 0:a.size)!=null?b:0}},ft:{configurable:!0,enumerable:!0,get:function(){return this.range.size}}});var Eo=function(a,b,c,d,e){this.hd=a;this.file=b;this.Rd=c===void 0?null:c;this.g=d;this.impression=e;this.j=null;this.fileSize=b.size};
Eo.prototype.Wc=function(){return this.hd.Wc()};
var uY=function(a,b,c,d){d=d===void 0?0:d;return aBa(a,new rY(b,b+c)).then(function(e){if(e.blob==null)return e;if(a.g!=null&&a.fileSize>0&&e.blob.size===0){var f=e.range,g=q([f.start,f.end]);f=g.next().value;g=g.next().value;return a.fileSize>g?uY(a,f,e.range.size*2):d<3?uY(a,f,e.range.size,d+1):new tY(e.range,void 0)}return e})},aBa=function(a,b){b=q([b.start,b.end]);var c=b.next().value;b=b.next().value;var d=Math.min(a.fileSize,b),e;a.Rd!=null?e=a.Rd(c,d-c):e=Promise.resolve($Aa(a.file,c,d));
return Promise.resolve(e).then(function(f){return new tY(new rY(c,d),f!=null?f:void 0)})};Eo.prototype.clone=function(){var a;return new Eo(this.hd.clone(),this.file,this.Rd,(a=this.g)==null?void 0:a.clone(),this.impression)};var Co=function(a){this.g=a};JE.Object.defineProperties(Co.prototype,{j:{configurable:!0,enumerable:!0,get:function(){return this.g.g}}});var Do=function(a,b,c){this.g=a;this.j=b;this.o=new rY(c,c+b.size)},bBa=function(a){a=a.g.hd;if(en(a))return L(a,12)||void 0};
JE.Object.defineProperties(Do.prototype,{tl:{configurable:!0,enumerable:!0,get:function(){return this.j.range.end===this.g.fileSize}},B:{configurable:!0,enumerable:!0,get:function(){return this.g.j}}});var Ao=function(a,b,c,d){this.request=a;this.file=b;this.Rd=c===void 0?null:c;this.metadata=d};var Ko=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};var vY={drive:1,appDataFolder:2,photos:3,androidBackup:4},DC=rh(vY),wY={},hha=(wY[0]="UNSPECIFIED_FEEDBACK",wY[1]="IMPLICIT_REJECT",wY[2]="NOT_HELPFUL_RIGHT_NOW",wY),ov={1:"default",2:"teamDrive",3:"default,allTeamDrives"},xY={},cBa=(xY[3]=2,xY[18]=3,xY[9]=1,xY[20]=0,xY[13]=4,xY[16]=0,xY),xC=new Map([[1,"LABEL_VIEW_BASIC"],[2,"LABEL_VIEW_FULL"]]),yY={},dBa=(yY[0]="UNKNOWN",yY[1]="NOT_USER_INITIATED",yY[2]="FOR_DISPLAY",yY[3]="PREFETCH",yY[4]="FILE_ACTION",yY[5]="SYNC",yY[6]="DOWNLOAD",yY[7]="PRINT",
yY[8]="COPY",yY[9]="THUMBNAIL",yY);var zY={},Vm=(zY[10]="createdDate",zY[1]="modifiedDate",zY[2]="modifiedByMeDate",zY[6]="lastViewedByMeDate",zY[13]="lastViewedByMeDate",zY[14]="markedAsSpamDate",zY[11]="recency",zY[5]="relevance",zY[7]="sharedWithMeDate",zY[9]="starred",zY[4]="title",zY[12]="trashedDate",zY[3]="quotaBytesUsed",zY),AY={},zca=(AY[1]="asc",AY[2]="desc",AY);var DY=function(a,b,c,d){if(c){let e=[];(d===void 0?0:d)&&e.push("not");e.push(BY(c));e.push("in");e.push(b);CY(a,e.join(" "))}},BY=function(a){return hc(a)?"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'":"''"},CY=function(a,b,c){b.length!==0&&(a.ud.length&&a.Be(" "+(c||"and")+" "),a.Be(b))},EY=function(a,b,c,d){d=d===void 0?"and":d;if(!Nia(c)){let e=[];e.push(b);e.push("=");e.push((!!c).toString());CY(a,e.join(" "),d)}},FY=function(a,b,c){if(b.length!==0){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(")");CY(a,d.join(""))}};cF(Wm,sT);var UA=function(a){var b=new Wm;b.setTime(a);return b};k=Wm.prototype;k.clone=function(){var a=new Wm(this.date);a.zg=this.zg;a.Ag=this.Ag;return a};k.add=function(a){(a.g||a.months)&&iC.prototype.add.call(this,new qT(a.g,a.months));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.minutes+60*(a.hours+24*a.j))))};k.getTimezoneOffset=function(){return 0};k.getFullYear=sT.prototype.Yp;k.getMonth=sT.prototype.Zp;k.getDate=sT.prototype.Xp;k.getHours=sT.prototype.Km;k.Ai=sT.prototype.Lm;
k.Bi=sT.prototype.eq;k.getDay=sT.prototype.Jm;k.setFullYear=sT.prototype.bq;k.setMonth=sT.prototype.cq;k.setDate=sT.prototype.aq;k.setHours=sT.prototype.Mm;k.setMinutes=sT.prototype.Nm;k.setSeconds=sT.prototype.Om;k.setMilliseconds=sT.prototype.fq;k=Xm.prototype;k.ud="";k.set=function(a){this.ud=""+a};k.Be=function(a,b,c){this.ud+=String(a);if(b!=null)for(let d=1;d<arguments.length;d++)this.ud+=arguments[d];return this};k.clear=function(){this.ud=""};k.toString=function(){return this.ud};var hv=function(a){var b=new Xm,c=xu(a);for(let xa=0;xa<c.length;xa++){let Qa=c[xa],Xb=Qa.Ia();if(Xb){let id=Jt(Qa,1),Pd=Qa.Ya(),kc=[];Pd&&id==1&&kc.push("not");kc.push("title");kc.push(id==1?"contains":Pd?"!=":"=");kc.push(BY(Xb));CY(b,kc.join(" "))}}var d=z(a,zu,5,B());for(let xa=0;xa<d.length;xa++){let Qa=d[xa],Xb=Qa.Ia();if(Xb){let id=[];Qa.Ya()&&id.push("not");id.push("fullText");id.push("contains");id.push(BY(Xb));CY(b,id.join(" "))}}var e=Bu(a);if(e&&e.length!=0){var f=[],g=[],h=[],l=[],m=
[],p=[];for(let xa=0;xa<e.length;xa++){let Qa=e[xa];Qa.Ia()&&(Hl(Qa,3)===1?E(Qa,4)?g.push(Qa):f.push(Qa):E(Qa,4)?Qa.Ya()?p.push(Qa):m.push(Qa):Qa.Ya()?l.push(Qa):h.push(Qa))}var t=eBa(f,!1),w=eBa(g,!0),A=GY(h,!1,!1),M=GY(l,!0,!1),da=GY(m,!1,!0),ja=GY(p,!0,!0),Ja=new Xm;if(A||da||t||w)CY(Ja,A,"or"),CY(Ja,da,"or"),CY(Ja,t,"or"),CY(Ja,w,"or");Ja.ud.length&&CY(b,"("+Ja.toString()+")","and");var Ma=new Xm;if(M||ja)CY(Ma,M,"and"),CY(Ma,ja,"and");Ma.ud.length&&CY(b,"("+Ma.toString()+")","and")}var Ib=z(a,
Ku,7,B());for(let xa=0;xa<Ib.length;xa++)HY(b,"modifiedDate",Ib[xa]);var Rb=z(a,Ku,8,B());for(let xa=0;xa<Rb.length;xa++)HY(b,"lastViewedByMeDate",Rb[xa]);EY(b,"trashed",E(a,9));EY(b,"explicitlyTrashed",E(a,17));var Zb=E(a,88);if(wF(Zb)){let xa=[];xa.push("inheritedPermissionsDisabled");xa.push("=");xa.push((!!Zb).toString());CY(b,xa.join(" "))}EY(b,"starred",E(a,10));EY(b,"hidden",E(a,11));var Ue=dv(a);for(let xa=0;xa<Ue.length;xa++){let Qa=Ue[xa];DY(b,"parents",Qa.Ia(),Qa.Ya())}fBa(b,a);var ti=
z(a,Cu,14,B());for(let xa=0;xa<ti.length;xa++){let Qa=ti[xa];DY(b,"writers",Qa.Ia(),Qa.Ya())}var zd=z(a,Cu,15,B());for(let xa=0;xa<zd.length;xa++){let Qa=zd[xa];DY(b,"readers",Qa.Ia(),Qa.Ya())}E(a,16)&&CY(b,"sharedWithMe");EY(b,"unparented",E(a,34));for(var ui=Lu(a)||[],gh=q(ui),Qd=gh.next();!Qd.done;Qd=gh.next())DY(b,"ancestors",Qd.value.Ia(),!1);for(var Sj=z(a,vv,38,B())||[],Nf=q(Sj),Tj=Nf.next();!Tj.done;Tj=Nf.next())DY(b,"descendants",Tj.value.Ia(),!1);for(var tl=z(a,Ou,37,B())||[],wg=q(tl),ul=
wg.next();!ul.done;ul=wg.next())DY(b,"folderFeatures",ul.value.Ia(),!1);for(var En=F(a,39,B()),vl=q(En),ye=vl.next();!ye.done;ye=vl.next()){let xa=ye.value,Qa=[];Qa.push("templateData.description");Qa.push("contains");Qa.push(BY(xa));CY(b,Qa.join(" "))}for(var Uj=F(a,40,B()),wl=q(Uj.entries()),hh=wl.next();!hh.done;hh=wl.next()){var ih=q(hh.value);let xa=ih.next().value,Qa=ih.next().value,Xb=[];xa==0&&Xb.push("(");Xb.push(BY(Qa));Xb.push("in");Xb.push("templateData.categories");xa==Uj.length-1&&Xb.push(")");
CY(b,Xb.join(" "),xa==0?"and":"or")}var Fn=Jt(a,41);if(Fn){let xa=[];xa.push("templateData.galleryState");xa.push("=");xa.push(BY(gBa[Fn]||""));CY(b,xa.join(" "))}IY(b,a);for(var vi=q(z(a,Eu,44,B())),Vj=vi.next();!Vj.done;Vj=vi.next()){let xa=Vj.value;DY(b,"actionItems",hBa(xa),xa.Ya())}if(P(a,50)){let xa=[];xa.push("pairedDocType");let Qa=Q(a,50)?"!=":"=";xa.push(Qa);xa.push(BY("NONE"));CY(b,xa.join(" "))}DY(b,"workspaceIds",C(a,54),!1);var xl=z(a,Gu,57,B());for(let xa=0;xa<xl.length;xa++){let Qa=
[];xa==0&&Qa.push("(");Qa.push(BY(xl[xa].Ia()));Qa.push("in");Qa.push("approvals");xa==xl.length-1&&Qa.push(")");CY(b,Qa.join(" "),xa==0?"and":"or")}if(ds(a,Cu,58)){var Gn=ww(a,Cu,58),Wj=Gn.Ia(),wi=Gn.Ya();if(Wj){let xa=[];wi&&xa.push("not");xa.push("creator");xa.push("=");xa.push(BY(Wj));CY(b,xa.join(" "))}}var Hn=O(a,Fu,59);if(Hn)for(var Xj=q(z(Hn,lna,1,B())),xi=Xj.next();!xi.done;xi=Xj.next()){let xa=xi.value;DY(b,"categoryMetadata",C(xa,1));for(var je=q(z(xa,cN,2,B())),Fc=je.next();!Fc.done;Fc=
je.next()){let Qa=Fc.value,Xb=C(Qa,1),id=kk(Qa,dN);if(id==10){var ze=b,jd=Xb,xg=E(Qa,15);(xg===void 0?0:xg)?CY(ze,jd+" is null"):CY(ze,"not ("+jd+" is null)")}else{let Pd=new Xm,kc;switch(id){case 3:kc=KF(Qa,TM,3,dN);var In=void 0;In=ve(kc,3,Ac,B());for(var Jn=q(In),lc=Jn.next();!lc.done;lc=Jn.next())EY(Pd,Xb,lc.value,"or");break;case 14:kc=KF(Qa,UM,14,dN);var Pu=void 0,yl=void 0,Wz=Pd,vq=Xb,Qu=kc;a:{var zl=Jt(Qu,2);switch(zl){case 1:yl="=";break a;case 2:yl=">";break a;case 3:yl="<";break a;default:vc(zl)}yl=
void 0}let sI=yl;Pu=z(Qu,Hz,3,B());for(var wq=q(Pu),Ve=wq.next();!Ve.done;Ve=wq.next()){let Ae=Ve.value,tI=[vq,sI,BY($t(Ae,1)+"-"+Ym($t(Ae,2))+"-"+Ym($t(Ae,3)))];CY(Wz,tI.join(" "),"or")}break;case 8:kc=KF(Qa,YM,8,dN);var Yj=void 0,Xz=Pd,Yz=Xb,xq=kc;a:{var yq=Jt(xq,2);switch(yq){case 1:Yj="=";break a;case 2:Yj=">";break a;case 3:Yj="<";break a;default:vc(yq)}Yj=void 0}let YW=Yj;for(var zq=q(GC(xq,3)),Aq=zq.next();!Aq.done;Aq=zq.next())CY(Xz,[Yz,YW,Aq.value].join(" "),"or");break;case 9:kc=KF(Qa,XM,
9,dN);var Kn=void 0,Ru=Pd,Su=Xb,Bq=kc;a:{var Ln=Jt(Bq,2);switch(Ln){case 1:Kn="in";break a;default:vc(Ln)}Kn=void 0}let ZW=Kn;for(var Tu=q(GC(Bq,3)),Cq=Tu.next();!Cq.done;Cq=Tu.next())CY(Ru,[Cq.value,ZW,Su].join(" "),"or");break;case 6:kc=KF(Qa,$M,6,dN);var Al=void 0,Dq=void 0,Uu=Pd,Eq=Xb,Fq=kc;a:{var Bl=Jt(Fq,2);switch(Bl){case 1:Dq="=";break a;default:vc(Bl)}Dq=void 0}let $W=Dq;Al=F(Fq,3,B());for(var Vu=q(Al),Mn=Vu.next();!Mn.done;Mn=Vu.next()){let Ae=[Eq,$W,BY(Mn.value)];CY(Uu,Ae.join(" "),"or")}break;
case 7:kc=KF(Qa,ZM,7,dN);var Ea=void 0,Hb=void 0,Nn=Pd,Zj=Xb,ak=kc;a:{var bk=Jt(ak,2);switch(bk){case 1:Hb="in";break a;default:vc(bk)}Hb=void 0}let aX=Hb;Ea=F(ak,3,B());for(var ck=q(Ea),Gq=ck.next();!Gq.done;Gq=ck.next()){let Ae=[BY(Gq.value),aX,Zj];CY(Nn,Ae.join(" "),"or")}break;case 4:kc=KF(Qa,bN,4,dN);var uI=void 0,Hq=void 0,bX=Pd,cX=Xb,Wu=kc;a:{var Zz=Jt(Wu,2);switch(Zz){case 1:Hq="=";break a;case 2:Hq="contains";break a;case 3:Hq="starts with";break a;default:vc(Zz)}Hq=void 0}let vI=Hq;uI=F(Wu,
3,B());for(var Xu=q(uI),Iq=Xu.next();!Iq.done;Iq=Xu.next()){let Ae=[cX,vI,BY(Iq.value)];CY(bX,Ae.join(" "),"or")}break;case 5:kc=KF(Qa,aN,5,dN);var wI=void 0,$z=void 0,dX=Pd,eX=Xb,xI=kc;a:{var yI=Jt(xI,2);switch(yI){case 1:$z="in";break a;default:vc(yI)}$z=void 0}let fX=$z;wI=F(xI,3,B());for(var Yu=q(wI),aA=Yu.next();!aA.done;aA=Yu.next()){let Ae=[BY(aA.value),fX,eX];CY(dX,Ae.join(" "),"or")}break;case 12:kc=KF(Qa,WM,12,dN);var zI=void 0,Zu=void 0,bA=Pd,cA=Xb,dA=kc;a:{var AI=Jt(dA,2);switch(AI){case 1:Zu=
"=";break a;default:vc(AI)}Zu=void 0}let gX=Zu;zI=F(dA,3,B());for(var BI=q(zI),$u=BI.next();!$u.done;$u=BI.next()){let Ae=[cA,gX,BY($u.value)];CY(bA,Ae.join(" "),"or")}break;case 11:kc=KF(Qa,VM,11,dN);var eA=void 0,av=void 0,hX=Pd,iX=Xb,bv=kc;a:{var Jq=Jt(bv,2);switch(Jq){case 1:av="in";break a;default:vc(Jq)}av=void 0}let jX=av;eA=F(bv,3,B());for(var CI=q(eA),fA=CI.next();!fA.done;fA=CI.next()){let Ae=[BY(fA.value),jX,iX];CY(hX,Ae.join(" "),"or")}break;default:vc(id)}E(Qa,15)?CY(b,"not ("+Pd+")"):
CY(b,kc.Wd()>1?"("+Pd+")":""+Pd)}}}var DI=E(a,65);if(wF(DI)){let xa=[];xa.push("clientEncryptionDetails.encryptionState");xa.push("=");xa.push(BY(DI?"encrypted":"unencrypted"));CY(b,xa.join(" "))}var EI=z(a,Cu,68,B());if(EI.length){let xa=[],Qa=[];for(var gA=q(EI),hA=gA.next();!hA.done;hA=gA.next()){let Xb=hA.value,id="sharedFrom = "+BY(Xb.Ia());Xb.Ya()?Qa.push(id):xa.push(id)}FY(b,xa,!1);FY(b,Qa,!0)}var FI=z(a,Cu,67,B());if(FI.length){let xa=[],Qa=[];for(var iA=q(FI),cv=iA.next();!cv.done;cv=iA.next()){let Xb=
cv.value,id="sharedTo = "+BY(Xb.Ia());Xb.Ya()?Qa.push(id):xa.push(id)}FY(b,xa,!1);FY(b,Qa,!0)}P(a,69)&&EY(b,"linkShareMetadata.securityUpdateEnabled",E(a,69));P(a,72)&&EY(b,"canAcceptOwnership",E(a,72));if(E(a,73)){let xa=(new kE).setValue("application/vnd.google-apps.shortcut");EY(b,"impactedByMultiparentingMigration",!0);CY(b,GY([xa],!1,!1))}iBa(b,a);var jA=z(a,Ku,79,B());for(let xa=0;xa<jA.length;xa++)HY(b,"creationDate",jA[xa]);if(ds(a,ev,86)){var dk=ww(a,ev,86);P(dk,3)&&EY(b,"inSpamView",E(dk,
3));P(dk,1)&&EY(b,"isSpam",E(dk,1));P(dk,2)&&EY(b,"isInheritedSpam",E(dk,2))}jBa(b,a);nv(a)==1&&kBa(b,a);return b.toString()},nBa=function(a){var b=new Xm(hv(a));Dn(a)&&CY(b,"isQuickAccessRequest");var c=Hu(a);if(c){var d=[];d.push("sortBy");d.push(Vm[c.getType()]);d.push(lBa[Hl(c,2,1)]);E(c,3)&&d.push("foldersFirst");CY(b,d.join(" "))}EY(b,"domainSearch",E(a,18));EY(b,"offline",E(a,19));z(a,kv,25,B()).length&&(c=[],c.push("sources"),c.push("contains"),c.push(lv(a)),CY(b,c.join(" ")));Mu(a).length&&
(c=[],c.push("spaces"),c.push("contains"),c.push(mv(a)),CY(b,c.join(" ")));if(c=nv(a))d=[],d.push("corpora"),d.push("="),d.push(BY(ov[c])),CY(b,d.join(" "));Q(a,66,!0)||EY(b,"includeItemsFromAllDrives",E(a,66));nv(a)!=1&&kBa(b,a);Q(a,48)&&CY(b,"cachedOnly");mBa(b,a);return b.toString()},lv=function(a){var b=[];a=q(JF(a,kv,25));for(var c=a.next();!c.done;c=a.next())(c=c.value.Ia())&&b.push(c);return b.join(",")},mv=function(a){return JF(a,RL,26).map(function(b){b=Jt(b,1);if(b===0||qB(b))throw Error("ub`"+
b);return DC[b]}).join(",")},iBa=function(a,b){if(DF(b,Du,78)!==0){var c=z(b,Du,78,B()).filter(function(f){return S(f,1)}),d=[];b=[];c=q(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.Ya()?b.push(e):d.push(e);(d=oBa(d,!1))&&CY(a,d,"and");(b=oBa(b,!0))&&CY(a,b,"and")}},oBa=function(a,b){if(a.length){let c=[];b&&c.push("not");c.push("sourceActorAppId");c.push("in");a=a.map(function(d){return BY(d.Ia())});c.push(a.join(", "));return c.join(" ")}return""},eBa=function(a,b){if(a.length){let d=new Xm;
a=q(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;c.Ya();let e=[];e.push(b?"shortcutDetails.targetMimeType":"mimeType");e.push("contains");e.push(BY(c.Ia()));CY(d,e.join(" "),"or")}return d.toString()}return""},GY=function(a,b,c){if(a.length){let d=[];b&&d.push("not");d.push(c?"shortcutDetails.targetMimeType":"mimeType");d.push("in");a=a.map(function(e){return BY(e.Ia())});d.push(a.join(", "));return d.join(" ")}return""},fBa=function(a,b){var c=z(b,Cu,13,B());b=[];var d=[];c=q(c.filter(function(f){return S(f,
1)}));for(var e=c.next();!e.done;e=c.next()){e=e.value;let f=BY(e.Ia())+" in owners";e.Ya()?d.push(f):b.push(f)}FY(a,b);FY(a,d,!0)},hBa=function(a){if(E(a,2))return"any";switch(a.Ia()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}},jBa=function(a,b){var c=new Map([[3,"writer"],[2,"commenter"],[1,"reader"],[0,"reader"],[4,"all"]]),d=[];b=q(z(b,Iu,100,B()).filter(function(g){return kk(g,eN)!==0}));for(var e=b.next();!e.done;e=b.next()){e=e.value;let g,h=c.get((g=
Jt(e,6))!=null?g:0);if(!h)throw Error("vb`"+Jt(e,6));let l=new Xm;var f="";f=kk(e,eN);switch(f){case 1:f=qk(e,mk(e,eN,1));l.Be(pBa(f,h,d));break;case 2:f="targetAudience("+qk(e,mk(e,eN,2))+")";l.Be(pBa(f,h));break;case 4:IY(l,nna(1));IY(l,nna(2),"or");break;case 3:l.Be("sharedWith has {access='external'}");break;case 0:throw Error("wb`"+kk(e,eN));default:vc(f)}l.ud.length>0&&d.push("("+l.toString()+")")}FY(a,d,!1)},pBa=function(a,b,c){c=c===void 0?[]:c;return b==="all"&&a&&a.length>0?(c.push("creator = '"+
a+"'"),c.push("sharedFrom = '"+a+"'"),"'"+a+"' in readers"):"sharedWith has {id='"+a+"' and access='"+b+"'}"},mBa=function(a,b){var c=cs(b,91,B());c.length&&(b=[],b.push("QueryProcessingOptions:"),c=c.map(function(d){return d.toString()}).sort().join(","),b.push(BY(c)),CY(a,b.join(" ")))},kBa=function(a,b){if(MC(b,33)>0){b=Nu(b)[0];let c=[];c.push("teamDriveId");c.push("=");c.push(BY(b));CY(a,c.join(" "))}},HY=function(a,b,c){if(YF(c,2)){let d=qBa(Jt(c,1));c=BY(TA(UA(Tg(jt(c,2))||0)));CY(a,[b,d,c].join(" "))}},
IY=function(a,b,c){if(b=Jt(b,42)){let d=[];d.push("visibility");d.push("=");d.push(BY(rBa(b)));CY(a,d.join(" "),c)}},qBa=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}},rBa=function(a){switch(a){case 1:return"anyoneCanFind";case 2:return"anyoneWithLink";case 3:return"domainCanFind";case 4:return"domainWithLink";case 5:return"limited";default:return""}},JY={},gBa=(JY[1]="0",JY[2]="1",JY[3]="2",JY),KY={},lBa=(KY[1]="asc",
KY[2]="desc",KY);var sBa,tBa=new AN;sBa=I(tBa,15,!0);var uBa=CN(new AN,!0),vBa=CN(new AN,!1),wBa=Ub(function(a){return no(a)?ds(a,wB,43)||F(a,44,B()).length>0:!1}),Dca=Ub(function(a){no(a)?(a=a.clone(),a=N(a,1),a=N(a,17),a=Gw(a,sBa)):a=!1;return a}),Eca=Ub(function(a){if(!no(a))return!1;a=a.clone();a=N(a,1);a=N(a,17);return Gw(a,uBa)||Gw(a,vBa)}),xBa=[TO,SO,pP,jO,Bo],Cca=[YO,yL,ZO,eO,aP,wN,mQ,yN,bP,zN,lB,JO,LO,cP,gP,kP,IO,AN,lP,EN,oQ,wo,Ao,iP],yBa=[DM];var PB=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]]);var PD={Rn:{Cb:Vb(G),tb:function(a){return fm(a.qa.aa())},sb:function(a){a=Og(wp,a);return new G(void 0,a)}},tt:Pp,lE:function(a,b,c){a=Pp(a,c);Dk("Unhandled: Method "+c+" on service "+b,a,"warning")}};var Up=function(a){bh.call(this);this.j=a;this.g={};this.j.Uj(sj(this.o,this))};U(Up,bh);var Vp=function(a,b){if(b.indexOf(":")!=-1)throw Error("Ab`"+b);if(b in a.g)throw Error("Bb`"+b);var c=new LY(a,b);return a.g[b]=c};Up.prototype.o=function(a,b){if(a=a.match(/^([^:]*):(.*)/)){var c=a[1];a=a[2];c in this.g&&(c=this.g[c])&&c.o&&c.o(a,b)}};Up.prototype.oa=function(){fh(this.g,function(a){$g(a)});$g(this.j);delete this.g;delete this.j};var LY=function(a,b){bh.call(this);this.g=a;this.j=b};U(LY,bh);
k=LY.prototype;k.connect=function(a){a&&a()};k.hg=function(a,b,c){this.g.j.hg(this.j+":"+a,sj(this.Nn,this,b),c)};k.Uj=function(a){this.o=sj(this.Nn,this,a)};k.send=function(a,b){if(this.isDisposed())throw Error("Cb");this.g.j.send(this.j+":"+a,b)};k.Nn=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};k.oa=function(){this.g=this.g.g[this.j]=null};cF(Qp,bh);Qp.prototype.J=null;Qp.prototype.connect=function(a){a&&a()};Qp.prototype.hg=function(a,b,c){this.j[a]={callback:b,Ol:!!c}};Qp.prototype.Uj=function(a){this.o=a};var zBa=function(a,b,c){var d=a.j[b];return d?d:a.o?{callback:yj(a.o,b),Ol:Vw(c)}:null},ABa=function(a,b){if(b&&typeof a==="string")try{return JSON.parse(a)}catch(c){return null}else if(!b&&typeof a!=="string")return YR(a);return a};Qp.prototype.oa=function(){Qp.Kb.oa.call(this);delete this.j;delete this.o};cF(Rp,bh);k=Rp.prototype;k.cancel=function(){this.g.cancel()};k.connect=function(a){a&&a()};k.hg=function(a,b,c){OV(this.g,function(d){d.hg(a,b,c)})};k.Uj=function(a){OV(this.g,function(b){b.Uj(a)})};k.send=function(a,b){OV(this.g,function(c){c.send(a,b)})};k.oa=function(){this.cancel();Rp.Kb.oa.call(this)};cF(Tp,Qp);var Jca=function(a,b){if(b=="*")return new Rp(Dxa());var c=new uj(50),d=yj($g,c),e=new yk(d);PV(e,d);c.start();Sp(c,"tick",function(){var f=new MessageChannel,g=function(){f.port1.removeEventListener("message",g,!0);c.isDisposed()||e.callback(new Tp(f.port1))};f.port1.start();f.port1.addEventListener("message",g,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new Rp(e)},MY;
if(MY=xD){let a=0,b=String(Jia).trim().split("."),c=["533"],d=Math.max(b.length,c.length);for(let e=0;a==0&&e<d;e++){let f=b[e]||"",g=c[e]||"";do{let h=/(\d*)(\D*)(.*)/.exec(f)||["","","",""],l=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(h[0].length==0&&l[0].length==0)break;a=na(h[1].length==0?0:parseInt(h[1],10),l[1].length==0?0:parseInt(l[1],10))||na(h[2].length==0,l[2].length==0)||na(h[2],l[2]);f=h[3];g=l[3]}while(a==0)}MY=a<0}var BBa=MY;k=Tp.prototype;k.J=null;
k.send=function(a,b){var c=[];b=this.Zk(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};BBa&&(a=YR(a));this.g.postMessage(a,c)};k.ur=function(a){a=a.g;var b=a.data;if(BBa)try{b=JSON.parse(b)}catch(c){return}if(Vw(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){let c=b.payload;if(b=zBa(this,b.serviceName,c))c=ABa(this.sl(a.ports||[],c),b.Ol),c!=null&&b.callback(c)}};
k.Zk=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(sj(this.Zk,this,a)):b&&b.constructor==Object?jh(b,function(c,d){c=this.Zk(a,c);return d=="_port"?{type:"escaped",val:c}:c},this):b};k.sl=function(a,b){return Array.isArray(b)?b.map(sj(this.sl,this,a)):b&&b.constructor==Object?b._port&&b._port.type=="real"?a[b._port.index]:jh(b,function(c,d){return this.sl(a,d=="_port"?c.val:c)},this):b};
k.oa=function(){UR(this.B);Object.prototype.toString.call(this.g)=="[object MessagePort]"?this.g.close():Object.prototype.toString.call(this.g)=="[object Worker]"&&this.g.terminate();delete this.g;Tp.Kb.oa.call(this)};cF(Wp,bh);Wp.prototype.G=0;Wp.prototype.oa=function(){$g(this.g);delete this.g;delete this.B;delete this.j};Wp.prototype.send=function(a,b,c){var d=this.G++;this.o[d]=c;c={signature:d};c.data=b;this.B.send(a,c)};Wp.prototype.D=function(a){var b=a.signature;a=a.data;b in this.o&&((0,this.o[b])(a),delete this.o[b])};var CBa=function(a,b,c){a.B.hg(b,sj(a.C,a,c),!0)};
Wp.prototype.C=function(a,b){a=a(b.data);var c=b.signature;ET(a).then(sj(function(d){var e={};e.data=d;e.signature=c;this.j&&this.j.send("mics",e)},this))};var NY=function(a,b){bh.call(this);this.g=b;this.C=!1;this.B=new Up(a);this.Ha(this.B);this.j=new Wp(Vp(this.B,"direct"));this.Ha(this.j)};U(NY,bh);var OY=function(a,b,c){CBa(a.j,b,function(d){return c(d)})};NY.prototype.send=function(a,b,c){this.j.send(a,b||{},function(d){return(c||function(){})(d)})};var aq=function(a,b){NY.call(this,a,b);this.o=new Wp(Vp(this.B,"passthrough"));this.Ha(this.o)};U(aq,NY);
var PY=function(a,b,c){CBa(a.o,b,function(d){return c(d)})},QY=function(a,b,c,d){a.o.send(b,c,function(e){d(e)})};aq.prototype.start=function(){this.C||(this.C=!0)};var eia=function(){this.g=new RY;this.xi=new RY;var a=this.g;a.g||(a.g=this.xi);a=this.xi;a.g||(a.g=this.g)},RY=function(){Qp.call(this);this.g=null};U(RY,Qp);RY.prototype.send=function(a,b){var c=this.g;!c.isDisposed()&&(a=zBa(c,a,b))&&(b=ABa(b,a.Ol),b!=null&&a.callback(b))};var DBa={Cb:Vb(Error),tb:function(a){return fm(Hp(a,42).aa())},sb:function(a){return Ep(pO(a))}};var bia=/^(\/.+)?\/drive\/$/;cF(Yp,Xp);Yp.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.o=this.j=0};
var SY=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.g[0];c=a.g[1];e=a.g[2];var f=a.g[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.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295};
Yp.prototype.update=function(a,b){b===void 0&&(b=a.length);for(var c=b-this.blockSize,d=this.B,e=this.j,f=0;f<b;){if(e==0)for(;f<=c;)SY(this,a,f),f+=this.blockSize;if(typeof a==="string")for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){SY(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){SY(this,d);e=0;break}}this.j=e;this.o+=b};
Yp.prototype.digest=function(){var a=Array((this.j<56?this.blockSize:this.blockSize*2)-this.j);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;b=this.o*8;for(var c=a.length-8;c<a.length;++c)a[c]=b&255,b/=256;this.update(a);a=Array(16);b=0;for(c=0;c<4;++c)for(let d=0;d<32;d+=8)a[b++]=this.g[c]>>>d&255;return a};var cia=RE([""]);var FBa=function(a){dh.call(this,a);this.connectionState=EBa.get(a)};U(FBa,dh);var TY={de:"j",Ck:"k",Fe:"l",Gc:"m"},EBa=new Map([[TY.de,1],[TY.Ck,2],[TY.Fe,2],[TY.Gc,3]]);var GBa=function(a){G.call(this,(a?a+" is ":"")+"not supported",yp(3))};U(GBa,G);var HBa=function(){};var UY=function(a){dh.call(this,"n");this.dataType=a};U(UY,dh);var WY=function(a){dh.call(this,VY);this.error=a};U(WY,dh);var VY=new ch("VCTNbb");var XY=new ch("WPi0i");var qu=function(a){this.A=u(a)};U(qu,v);qu.prototype.Cc=function(a){return D(this,1,a)};var pu=function(a,b){return D(a,2,b)};var ou="x-goog-ext-"+(new WG(477772811,Epa,qu)).fieldIndex+"-jspb";var IBa=function(a,b){this.token=a;this.J=b};IBa.prototype.intercept=function(a,b){var c={};c=(c.authorization="Bearer "+this.token,c);c=q(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;a.getMetadata()[d]?this.J.Da("Could not set request header 'authorization'"):a.metadata[d]=e}return b(a)};var JBa=function(a){this.g=a};JBa.prototype.intercept=function(a,b){if(!this.g.g.C)return b(a);{let d=a.getMetadata()["x-goog-ext-472780938-jspb"];if(d)try{let e=decodeURIComponent(escape(n.atob(d))),f,g,h;var c=(h=(f=Qqa(e).I())==null?void 0:(g=nu(f))==null?void 0:C(g,2))!=null?h:Yk()}catch(e){c=Yk()}else c=Yk()}return(new KBa(a,this.g,c)).execute(b)};var KBa=function(a,b,c){this.request=a;this.g=b;this.ze=c;this.j=0};
KBa.prototype.execute=function(a){var b=this;this.g.Qg({id:this.ze,type:"NETWORK_EVENT",Jl:0,Xk:Date.now(),vm:performance.now(),metadata:{request:this.request.requestMessage}});a=a(this.request);a.Eb("data",function(c){b.j++;b.g.Qg({id:b.ze,type:"NETWORK_EVENT",Jl:1,qD:b.j,Xk:Date.now(),vm:performance.now(),metadata:{request:b.request.requestMessage,response:c}})});a.Eb("end",function(){b.g.Qg({id:b.ze,type:"NETWORK_EVENT",Jl:2,Xk:Date.now(),vm:performance.now(),metadata:{request:b.request.requestMessage}})});
a.Eb("error",function(c){c=c instanceof FR?c:new FR(2,"Unknown gRPC error: "+c,void 0);b.g.Qg({id:b.ze,type:"NETWORK_EVENT",Jl:3,Xk:Date.now(),vm:performance.now(),metadata:{request:b.request.requestMessage,response:c}})});return a};var oq=function(a,b,c,d,e,f){this.Oo=a;this.Ur=b;this.cr=c;this.ps=d;this.rt=e;this.kn=f||null;this.At=Date.now();this.rd=0;this.ln=LBa(this)},LBa=function(a){return a.kn?a.kn(a.rd+1,Date.now()-a.At):Math.random()*Math.min(a.Ur*Math.pow(a.cr,a.rd),a.ps)};oq.prototype.Dh=function(){return this.rd};oq.prototype.Kh=function(a){return this.rd>=this.Oo?!1:a!=null?!!this.rt[a]:!0};var MBa=function(){var a=cc.apply(0,arguments);a.forEach(Oca);for(var b=new Set,c=q(a),d=c.next();!d.done;d=c.next()){d=q(d.value.np);for(var e=d.next();!e.done;e=d.next())b.add(e.value)}this.g=a},YY=new Set(["status","error","data"]),ZY=function(a,b,c){var d=this;this.request=a;this.ba=b;this.N=c;this.H=function(e){a:{if(e.code===0)d.dc=d.N.flatMap(pq);else{for(var f=q(d.dc),g=f.next();!g.done;g=f.next())if(!d.o&&!d.C&&g.value.Kh(e.code)){d.j=e;break a}d.o=!0}d.gj("status",e)}};this.G=function(e){d.Fh(e)};
this.D=function(e){d.C=!0;d.gj("data",e)};this.j=null;this.o=!1;this.B=null;this.stream=NBa(this);this.g=new Map;this.dc=this.N.flatMap(pq)},NBa=function(a){var b=a.ba(a.request);b.Eb("status",a.H);b.Eb("error",a.G);b.Eb("data",a.D);return b};k=ZY.prototype;
k.Fh=function(a){for(var b=this,c=q(this.dc),d=c.next();!d.done;d=c.next()){let e=d.value;if(!this.o&&!this.C&&e.Kh(a.code)){this.j=null;this.stream.removeListener("status",this.H);this.stream.removeListener("error",this.G);this.stream.removeListener("data",this.D);this.stream.cancel();this.B=setTimeout(function(){if(!e.Kh())throw Error("Fb`"+e.Oo);++e.rd;e.ln=LBa(e);b.stream=NBa(b);for(var f=q(b.g),g=f.next();!g.done;g=f.next()){var h=q(g.value);g=h.next().value;h=h.next().value;if(!YY.has(g)){h=
q(h);for(var l=h.next();!l.done;l=h.next())b.stream.Eb(g,l.value)}}},e.ln);return}}this.o=!0;this.j!=null&&this.gj("status",this.j);this.gj("error",a)};k.Eb=function(a,b){var c,d=(c=this.g.get(a))!=null?c:[];d.length===0&&this.g.set(a,d);d.push(b);YY.has(a)||this.stream.Eb(a,b);return this};k.removeListener=function(a,b){!YY.has(a)&&this.stream.removeListener(a,b);a=this.g.get(a);a!=null&&(b=a.indexOf(b),b>=0&&a.splice(b,1));return this};
k.cancel=function(){this.B&&(clearTimeout(this.B),this.B=null);this.stream.cancel()};k.gj=function(a){var b=cc.apply(1,arguments),c=this.g.get(a);if(c!=null){c=q(c);for(var d=c.next();!d.done;d=c.next())d.value.apply(null,r(b))}};var $Y=function(){MBa.apply(this,[].concat(r(cc.apply(0,arguments))))};U($Y,MBa);$Y.prototype.intercept=function(a,b){return new OBa(a,b,this.g)};var OBa=function(a,b,c){ZY.call(this,a,b,c);this.C=!1};U(OBa,ZY);var aZ=function(){var a=cc.apply(0,arguments).filter(function(b){return b.No>1});$Y.apply(this,[].concat(r(a)))};U(aZ,$Y);aZ.prototype.intercept=function(a,b){var c=a.getMetadata(),d=c["x-goog-no-intercept"];delete c["x-goog-no-intercept"];return d==="true"?b(a):$Y.prototype.intercept.call(this,a,b)};var PBa=function(a,b){this.apiKey=a;this.Zd=b===void 0?0:b};PBa.prototype.intercept=function(a,b){var c=this.Zd,d={};c=(d["X-Goog-Api-Key"]=this.apiKey,d["X-Goog-AuthUser"]=""+(c===void 0?0:c),d.Authorization=Hw([])||"",d);c=q(Object.entries(c));for(d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;a.getMetadata()[d]||(a.metadata[d]=e)}return b(a)};var bZ=function(a,b,c){this.response=a;this.la=b===void 0?0:b;this.fb=c===void 0?null:c};var cZ=function(a,b,c,d){this.response=a;this.pageToken=b===void 0?"":b;this.la=d===void 0?0:d},QBa=function(a){cZ.call(this,a,void 0,void 0,void 0);this.sp=new us};U(QBa,cZ);var RBa=function(a,b){this.response=a;this.pageToken=b===void 0?"":b};var dZ=function(a){vh.call(this);var b=this;this.active=this.G=!1;this.J=a.da("sync.ViewCacheLiveList");this.log("created");JR(this,function(){b.active=!1;b.log("disposed")})};U(dZ,vh);dZ.prototype.Pd=function(){this.active||(this.G||this.log("activated"),this.active=this.G=!0)};dZ.prototype.isActive=function(){return this.active};dZ.prototype.log=function(a,b){b=b===void 0?"info":b;this.J.log("LiveObject "+String(AD(this))+" "+a,b)};var SBa=new Map([[5,2],[4,3],[3,1],[2,4],[6,5]]);var TBa=function(a,b){this.g=a;this.j=b};var Lq=function(a,b){this.g=new TBa(a,b)},eZ=function(a){return[a.key,a.value]},tq=function(a){return new (Function.prototype.bind.apply(Lq,[null].concat(r(a))))};JE.Object.defineProperties(Lq.prototype,{key:{configurable:!0,enumerable:!0,get:function(){return this.g.g}},value:{configurable:!0,enumerable:!0,get:function(){return this.g.j}}});var UBa={compare:function(a,b){a=Number(C(a,2));b=Number(C(b,2));if(isNaN(a)||isNaN(b))throw Error("Gb");switch(!0){case a<b:return-1;case a>b:return 1;default:return 0}}};var fZ=function(a,b,c){vh.call(this);var d=this;this.serviceId=a;this.logName=b;this.C={};this.Ok=new us;this.Zi=new us;this.j=this.M=this.J=null;this.D=0;c.then(function(e){VBa(d,e)})};U(fZ,vh);var gZ=function(a){return a.Ok.promise};fZ.prototype.ja=function(a,b){this.C[a.Z]=ar(a,b)};
var VBa=function(a,b){a.J=b.P.da(a.logName);var c;a.M=(c=b.M)!=null?c:null;var d;a.j=(d=b.j)!=null?d:null;JR(b.channel,function(){a.dispose()});PY(b.channel,a.serviceId,function(e){{let g=a.C[e.m];if(g)try{var f=g(e).catch(cr)}catch(h){f=Promise.resolve(cr(h))}else e=e.m,f=a.serviceId,e=du(Ap(zp(new wp,2),3),f+":"+e+": unsupported method"),e=lm(e,br).payload,f=Promise.resolve(e)}return f});a.J.info("Service initialized: "+a.serviceId);a.Ok.resolve(b.clientId);a.Zi.resolve(b.channel)},WBa=function(a){return Promise.all([gZ(a),
a.Zi.promise]).then(function(){})},hZ=function(a,b){var c=function(){return XBa(a,b,cc.apply(0,arguments))};return{call:c,lc:function(){c.apply(null,r(cc.apply(0,arguments))).catch(function(d){var e=a.serviceId,f=b.Z;d=Ip(d);Dk("Proxy "+f+" on service "+e+" failed",d,"warning")})}}},XBa=function(a,b,c){return a.Zi.promise.then(function(d){var e=d.g,f=new us;if(d.isDisposed())return YBa(a,b.Z,f),f.reject(new iZ(a.serviceId,b.Z)),f.promise;e=gm(b,c,{aa:e}).payload;QY(d,a.serviceId,e,function(g){g=mm(g,
b,br);g.ff?f.resolve(g.response):f.reject(new G(void 0,g.error))});return f.promise})},YBa=function(a,b,c){if(a.D<3){a.D++;var d,e=(d=a.M)==null?void 0:jZ(d,106037);if(e){var f;d=(f=a.j)==null?void 0:f.g;f=d===void 0?0:d?1:2;d=ew(e);d=zB(d,kZ,26);d=H(d,1,1);d=D(d,2,a.serviceId);d=D(d,3,b);H(d,4,f);lZ(e)}c.reject(new iZ(a.serviceId,b))}else(e=a.J)==null||e.Da("Cannot execute method "+b+" on service "+a.serviceId+". The underlying communication channel has been shutdown.",Error("Hb"))};
fZ.prototype.da=function(){return this.J};var ZBa=function(a,b,c,d,e,f){this.clientId=a;this.channel=b;this.P=c;this.g=d;this.M=e;this.j=f},iZ=function(a,b){G.call(this,"Error in BaseServiceProxy: Cannot execute method "+b+" on service "+(a+". The underlying communication channel has been shutdown."))};U(iZ,G);var dr=function(a,b){this.response=a;this.la=b===void 0?0:b;this.j=!1;this.g=void 0};dr.prototype.S=function(){return this.status};dr.prototype.setStatus=function(a){this.status=a;return this};var mZ=function(a,b){a.o=b;return a},nZ=function(a,b){a.fb=b;return a},oZ=function(a,b){a.j=b;return a},pZ=function(a,b){a.g=b;return a};var qZ=function(a,b){dh.call(this,$Ba);this.error=a;this.retryCount=b};U(qZ,dh);var $Ba=new ch("u0pjoe");var aCa=um(qm(ht),qm(mn),qm(xB),qm(kt),qm(lt),qm(Uo),qm(SO),qm(xP),qm(NP),qm(GN),qm(pQ),qm(zP)),bCa=nm({Z:"4.34",params:[$X,Cm,aCa],response:vm}),cCa=nm({Z:"4.35",params:[$X,Cm,aCa],response:vm}),dCa=nm({Z:"4.5",params:[$X,Cm,um(qm(xB),qm(NP)),um(qm(xB),qm(NP))],response:vm}),eCa=nm({Z:"4.28",params:[$X,Cm,$X],response:vm}),fCa=nm({Z:"4.21",params:[$X,Cm,Bm(qm(R))],response:vm}),gCa=nm({Z:"4.31",params:[$X,Cm,qm(Uo)],response:vm}),rZ=nm({Z:"4.36",params:[Cm,function(a){return{Cb:Uca(a.Cb),tb:function(b){var c=
a.tb(b.response),d=c.transfer;return fm([c.payload,b.la,b.fb,b.j,b.S(),b.o,b.g],d)},sb:function(b){var c=q(b),d=c.next().value,e=c.next().value;b=c.next().value;var f=c.next().value,g=c.next().value,h=c.next().value;c=c.next().value;d=oZ(new dr(a.sb(d),e),f);b!=null&&nZ(d,b);g!=null&&d.setStatus(g);h!=null&&mZ(d,h);c!=null&&pZ(d,c);return d}}}(um(qm(ty),sm(um(qm(Pk),aY)),function(a){return{Cb:bc(a.Cb),tb:function(b){var c=new jm([]);c.Ob.apply(c,[function(d){d.push.apply(d,r(cc.apply(1,arguments)))}].concat(r(b.map(function(d){return a.tb(d)}))));
return c.build()},sb:function(b){return b.map(function(c){return a.sb(c)})}}}(qm(Pk)),qm(zA),qm(qQ),qm(DA),qm(cO),qm(VK),qm(FO),qm(Ur),rm(function(a,b){return{Cb:Qca(a.Cb,b.Cb),tb:function(c){var d=new jm([]);d.Ob(function(e,f,g){e.push(f,g)},um(a,aY).tb(c.value),b.tb(c.key));return d.build()},sb:function(c){var d=um(a,aY).sb(c[0]);c=b.sb(c[1]);return tq([c,d])}}}(qm(DO),Cm))))],response:vm}),hCa=nm({Z:"4.37",params:[Cm,{Cb:Vb(qZ),tb:function(a){return fm([a.error.aa(),a.retryCount])},sb:function(a){return new qZ(pO(a[0]),
a[1])}}],response:vm});var sZ=function(a,b){this.g=this.j=null;this.j=a;this.g=null;this.o=b};sZ.prototype.get=function(a){return iCa(this)[a]||null};sZ.prototype.set=function(a){iCa(this)[this.o(a)]=a;this.j=null};var iCa=function(a){a.g||(a.g=eaa(a.j,a.o));return a.g};var tZ=function(a,b){this.type=a;this.g=b};tZ.prototype.getType=function(){return this.type};tZ.prototype.Pe=function(){return this.g};var uZ=function(a,b,c,d){tZ.call(this,a,b);this.position=c;this.Pg=d};U(uZ,tZ);uZ.prototype.setPosition=function(a){this.position=a};var vZ=function(a,b){this.g=a;this.j=b},kCa=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!wZ(a,b[e],c[e])){d=e;break b}d=-1}if(d===-1){if(b.length===c.length){d=[];break a}if(b.length>c.length){d=[];e=c.length;for(var f=e;f<b.length;f++)d.push(new uZ(2,b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(new uZ(1,c[e],e));break a}}e=b.length-1;for(f=c.length-1;e>=0&&f>=0&&wZ(a,b[e],c[f]);e--,f--);f=b.length-1-e;var g=b.length-f;e=b.slice(d,
g);g=c.length-f;f=c.slice(d,g);var h,l=[];for(g=0;g<e.length+1;g++)l[g]=[],l[g][0]=0;for(h=0;h<f.length+1;h++)l[0][h]=0;for(g=1;g<=e.length;g++)for(h=1;h<=f.length;h++)wZ(a,e[g-1],f[h-1])?l[g][h]=l[g-1][h-1]+1:l[g][h]=Math.max(l[g-1][h],l[g][h-1]);var m=[];g=e.length;for(h=f.length;g>0||h>0;)g>0&&h>0&&wZ(a,e[g-1],f[h-1])?(h--,g--):h>0&&(g===0||l[g][h-1]>l[g-1][h])?(m.unshift(new uZ(1,f[h-1],g)),h--):g>0&&(h===0||l[g][h-1]<=l[g-1][h])&&(m.unshift(new uZ(2,e[g-1],g-1)),g--);e=m;f={};for(g=0;g<e.length;g++)if(h=
a.g(e[g].Pe()),f[h]!==void 0){h=f[h];m=e[h];var p=e[g];l=m.getType()===1?m:p;m=m.getType()===2?m:p;p=l.position;p>m.position&&--p;l=l.Pe();e[h]=new uZ(3,l,p,m.position);e.splice(g,1);g--}else f[h]=g;h=[];if(e!=null)for(l=0;l<e.length;l++){m=e[l];p=m.position;let t=m.Pg||0;m.setPosition(m.position+jCa(h,m.position));e[l].setPosition(e[l].position+d);e[l].getType()===3&&(m.Pg=(m.Pg||0)+jCa(h,m.Pg||0),e[l].Pg=(e[l].Pg||0)+d);f=h;g=f.push;b:switch(m.getType()){case 1:m={offset:1,start:p,end:Number.MAX_VALUE};
break b;case 2:m={offset:-1,start:p,end:Number.MAX_VALUE};break b;case 3:m=p>t?{offset:-1,start:t,end:p}:{offset:1,start:p,end:t};break b;default:m={offset:0,start:-1,end:-1}}g.call(f,m)}d=e}e=[];b=new sZ(b,a.g);for(f=0;f<c.length;f++)g=c[f],(h=b.get(a.g(g)))&&!a.j(h||void 0,g||void 0)&&e.push(new uZ(4,g,f));return d.concat(e)},jCa=function(a,b){var c=0;for(let d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c},wZ=function(a,b,c){return a.g(b)===a.g(c)};var xZ=function(a,b,c){c=c===void 0?Gw:c;vZ.call(this,a,function(d,e){d?b(d):e&&b(e);return c(d,e)})};U(xZ,vZ);var lCa=function(a){this.A=u(a)};U(lCa,v);cF(er,aa);er.prototype.getName=function(){return this.j.name||""};
var yZ={Mq:1,zq:2,NOT_FOUND_ERR:3,Lp:4,Np:5,Aq:6,Lq:7,ABORT_ERR:8,Eq:9,DC:10,TIMEOUT_ERR:11,Dq:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14},zZ=(n.Kd||n.be||yZ).Mq,mCa=(n.Kd||n.be||yZ).zq,AZ=(n.Kd||n.be||yZ).NOT_FOUND_ERR,BZ=(n.Kd||n.be||yZ).Lp,CZ=(n.Kd||n.be||yZ).Np,nCa=(n.Kd||n.be||yZ).Aq,DZ=(n.Kd||n.be||yZ).Lq,EZ=(n.Kd||n.be||yZ).ABORT_ERR,FZ=(n.Kd||n.be||yZ).Eq,GZ=(n.Kd||n.be||yZ).TIMEOUT_ERR,HZ=(n.Kd||n.be||yZ).Dq,IZ=(n.DOMException||yZ).INVALID_ACCESS_ERR,JZ=(n.DOMException||yZ).INVALID_STATE_ERR,
Wca=function(a){switch(a){case "UnknownError":return zZ;case "NotFoundError":return AZ;case "ConstraintError":return BZ;case "DataError":return CZ;case "TransactionInactiveError":return DZ;case "AbortError":return EZ;case "ReadOnlyError":return FZ;case "TimeoutError":return GZ;case "QuotaExceededError":return HZ;case "InvalidAccessError":return IZ;case "InvalidStateError":return JZ;default:return zZ}},Vca=function(a){switch(a){case zZ:return"UnknownError";case AZ:return"NotFoundError";case BZ:return"ConstraintError";
case CZ:return"DataError";case DZ:return"TransactionInactiveError";case EZ:return"AbortError";case FZ:return"ReadOnlyError";case GZ:return"TimeoutError";case HZ:return"QuotaExceededError";case IZ:return"InvalidAccessError";case JZ:return"InvalidStateError";default:return"UnknownError"}},qs=function(a,b){return"error"in a?new er(a.error,b):new er({name:"UnknownError"},b)},KZ=function(a,b){return"name"in a?new er(a,b+": "+a.message):new er({name:"UnknownError"},b)};var uCa=function(a,b,c){this.connectionState=b;this.environment=c;this.j=this.g=this.o=null;this.client=LZ(oCa,0,Yr(a));this.clientSessionId=L(a,94);b=Gs(a);b=Hl(b,8);this.N=LZ(pCa,0,b);this.D=LZ(qCa,0,PM(Gs(a)));this.H=Q(a,10);this.isAnonymous=Nt(dq(a));this.ba=et(a);this.C=rCa(a);this.buildLabel=L(a,62);this.G=rk(a,104,void 0,void 0,Be);ds(a,xw,103)?(a=Xl(a),b=Q(a,8)?3:LZ(sCa,0,a.Hg()),a=Q(a,46)?LZ(tCa,b,b):b):a=0;this.B=a},rCa=function(a){var b=[].concat(r(vCa.keys())),c=[].concat(r(wCa.keys())),
d=JD(a);return b.filter(function(e){return vCa.get(e)(a)}).concat(c.filter(function(e){return d&&wCa.get(e)(d)}))},LZ=function(a,b,c){a=q(a);for(var d=a.next();!d.done;d=a.next()){var e=q(d.value);d=e.next().value;e=e.next().value;if(d.includes(c))return e}return b},xCa=function(a){if(a.j)return a.j.g("aU7Ts")},yCa=function(a){if(HN(a))return 2;if(Fo(a))return 10;if(Cn(a))return Dn(a)?3:1;if(un(a))return 9;if(bO(a))return 11;if(Coa(a))return 58;if(Zn(a))return 15;if(Sn(a)){a=Jt(a,1);if(a==1)return 5;
if(a==2)return 16;if(a==4)return 17;if(a==3)return 18}else{if(AP(a))return 12;if(to(a))return 13;if($m(a))return 19;if(xn(a))return 20;if(yn(a))return 24;if(Pn(a)||Qn(a))return 21}return 0},fw=function(a){return LZ(zCa,0,a||22)},ACa=function(a){var b=null;if(a instanceof bZ||a instanceof dr)b=a.la;return b||0},BCa=function(a){if(a instanceof bZ){let b,c;return(c=(b=a.response)==null?void 0:b.na())!=null?c:null}return a instanceof dr?a.S()||null:null},CCa=function(a){return[ht,mn,xB,kt,lt,Uo,DL,pP,
xP,NP,GN,sO,pQ,zP].some(function(b){return a instanceof b})},hw=function(a){var b=a.qa;a=b.Le();b=b.g();if(a)return DCa.get(a)||13;if(b)return ECa.get(b)||0};uCa.prototype.Af=function(){return this.G};
var FCa=function(a,b,c){c=c===void 0?!1:c;var d=MZ(a).Gb(yCa(b)),e=null;CCa(b)&&!Zn(b)&&(e=b.I());e=e&&Q(e,2);d=I(d,7,typeof e=="boolean"?e:void 0);e=Cn(b)?dv(b).length>0:void 0;d=I(d,8,e);if(Zn(b))e=void 0;else{var f;e=(f=b.I())==null?void 0:E(f,11)}f=I(d,14,e);if(Zn(b))d=311;else{var g;d=((g=b.I())==null?void 0:Tn(g,1))||0}H(f,12,d);c&&(c=MZ(a),I(c,13,!0));if(b instanceof xB||b instanceof NP)a=MZ(a),b=b.xa().length,J(a,11,b)},NZ=function(a){var b;return(b=GCa.get(a))!=null?b:0},zCa=new Map([[[1],
1],[[6],7],[[2],2],[[8],4],[[3],3],[[77],8]]),GCa=new Map([[0,0],[2,1],[1,2],[3,3]]),OZ=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]),vCa=new Map([[12,function(a){return Um(a,69)}],[24,function(a){return Q(a,3)}],[9,function(a){return Q(a,17)}],[21,function(a){return jv(a)}],[2,function(a){return Q(a,8,!0)}],[14,function(){return!0}],[23,function(){return!0}],[28,function(){return!0}],[125,function(a){return Yl(a,2)}],[129,function(a){return Yl(a,3)}]]),
wCa=new Map([[92,function(a){return rD(a)}],[40,function(a){return Q(a,15)}],[44,function(a){return Q(a,19)}],[42,function(a){return Q(a,17)}],[49,function(a){return Q(a,18)}],[54,function(a){return qD(a)}],[50,function(a){return Q(a,21)}],[58,function(a){return Q(a,31)}],[66,function(a){return Q(a,39)}],[65,function(a){return Q(a,38)}],[121,function(a){return Q(a,88)}],[105,function(a){return Q(a,75)}],[89,function(a){return Hl(a,61)===1}],[88,function(a){return Hl(a,61)===2}],[98,function(a){return Hl(a,
68)===1}],[97,function(a){return Hl(a,68)===2}],[70,function(a){return CB(a)===1}],[71,function(a){return CB(a)===2}],[86,function(a){return Hl(a,60)===1}],[87,function(a){return Hl(a,60)===2}],[72,function(a){return Q(a,45)}],[74,function(a){return Q(a,47)}],[82,function(a){return Q(a,55)}],[85,function(a){return Q(a,59)}],[96,function(a){return Q(a,67)}],[99,function(a){return Q(a,69)}],[104,function(a){return Q(a,74)}],[114,function(a){return Q(a,84)}],[123,function(a){return Q(a,90)}],[122,function(a){return Q(a,
89)}],[124,function(a){return Q(a,91)}],[126,function(a){return Q(a,93)}],[127,function(a){return Q(a,94)}],[128,function(a){return Q(a,95)}]]),PZ=new Map([[[1],1],[[2],2],[[3],3],[[4],4],[[5],5]]),oCa=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],[[17],17],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[274],274],[[330],330],[[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],[[295],295],[[296],296],[[297],297],[[298],298],[[299],299],[[300],300],[[301],
301],[[302],302],[[303],303],[[304],304],[[305],305],[[306],306],[[307],307],[[308],308],[[309],309],[[310],310],[[311],311],[[312],312],[[313],313],[[314],314],[[315],315],[[316],316],[[317],317],[[318],318],[[319],319],[[320],320],[[321],321],[[322],322],[[323],323],[[324],324],[[325],325],[[326],326],[[327],327],[[328],328],[[329],329],[[331],331],[[332],332],[[333],333],[[334],334],[[335],335],[[336],336],[[337],337],[[338],338],[[339],339],[[340],340],[[341],341],[[342],342],[[343],343],[[344],
344],[[345],345],[[346],346],[[347],347],[[348],348],[[349],349],[[350],350],[[351],351]]),qCa=new Map([[[2],3],[[1],2],[[0],1]]),QZ=new Map([[[1],2],[[3],3],[[6],5],[[7],6],[[8],7],[[9],8],[[12],11]]),HCa=new Map([[[mCa],1],[[AZ],2],[[BZ],3],[[CZ],4],[[nCa],5],[[DZ],6],[[EZ],7],[[FZ],8],[[GZ],10],[[HZ],11],[[IZ],12],[[JZ],13]]),pCa=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]),sCa=new Map([[[0],0],[[1],1],[[2],2]]),tCa=new Map([[[3],8],[[1],6],[[2],7]]),ECa=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]]),DCa=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]]);var ICa=function(){xZ.call(this,function(a){return sq(a)},Ana)};U(ICa,xZ);var RZ;var JCa=function(){this.children={}},Br=function(a,b,c){if(!(c>=b.length)){var d=b[c];a.children[d]!=null||(a.children[d]=new gr(d));Br(a.children[d],b,c+1)}},kr=function(a,b){b=b instanceof gr?b:new gr(b);a.children[b.name]!=null?a.children[b.name].Ob(b):a.children[b.name]=b},KCa=function(a){return Object.values(a.children).map(function(b){return b.toString()}).join(",")},LCa=function(a,b){if(a.children===b.children)return!0;if(Object.keys(a.children).length!==Object.keys(b.children).length)return!1;
a=q(Object.values(a.children));for(var c=a.next();!c.done;c=a.next())if(c=c.value,b.children[c.name]==null||!c.equals(b.children[c.name]))return!1;return!0},gr=function(a,b){this.children={};this.name=a;if(this.name.match(MCa))throw Error("Ib`"+this.name);b&&this.g.apply(this,r(b))};U(gr,JCa);gr.prototype.g=function(){for(var a=q(cc.apply(0,arguments)),b=a.next();!b.done;b=a.next())kr(this,b.value);return this};
gr.prototype.Ob=function(a){a=q(Object.values(a.children));for(var b=a.next();!b.done;b=a.next())kr(this,b.value)};gr.prototype.toString=function(){var a=KCa(this);return a.length>0?this.name+"("+a+")":this.name};gr.prototype.equals=function(a){return this.name===a.name&&LCa(this,a)};var MCa=new RegExp(/[\(,\)]/),fr=function(){var a=cc.apply(0,arguments);this.children={};this.g.apply(this,r(a))};U(fr,JCa);
fr.prototype.g=function(){for(var a=q(cc.apply(0,arguments)),b=a.next();!b.done;b=a.next())kr(this,b.value);return this};var qr=function(a){return Object.values(a.children)};fr.prototype.toString=function(){return KCa(this)};fr.prototype.equals=function(a){return LCa(this,a)};var Er=new Map([[227,"abuseIsAppealable"],[228,"abuseNoticeReason"],[242,"accessRequestsCount"],[74,"actionItems"],[120,"alternateLink"],[188,"ancestorHasAugmentedPermissions"],[149,"appliedCategories"],[148,"approvalMetadata/approvalSummaries"],[138,"approvalMetadata/approvalVersion"],[277,"audioMediaMetadata/durationMillis"],[184,"authorizedAppIds"],[241,"labelInfo"],[76,"capabilities/canAddChildren"],[223,"capabilities/canAddEncryptedChildren"],[208,"capabilities/canAddFolderFromAnotherDrive"],
[185,"capabilities/canAddMyDriveParent"],[224,"capabilities/canBlockOwner"],[156,"canChangeCategoryReferences"],[213,"capabilities/canChangeSecurityUpdateEnabled"],[61,"capabilities/canComment"],[240,"capabilities/canCopyEncryptedFile"],[258,"capabilities/canCopyNonAuthoritative"],[216,"capabilities/canCreateDecryptedCopy"],[217,"capabilities/canCreateEncryptedCopy"],[259,"capabilities/canDownloadNonAuthoritative"],[77,"capabilities/canDelete"],[134,"capabilities/canDeleteChildren"],[147,"capabilities/canEditCategoryMetadata"],
[300,"capabilities/canInitiateEsignature"],[89,"capabilities/canListChildren"],[81,"capabilities/canManageMembers"],[114,"capabilities/canModifyContentRestriction"],[133,"capabilities/canMoveChildrenOutOfTeamDrive"],[202,"capabilities/canMoveChildrenWithinDrive"],[101,"capabilities/canMoveItemIntoTeamDrive"],[201,"capabilities/canMoveItemOutOfDrive"],[131,"capabilities/canMoveItemOutOfTeamDrive"],[200,"capabilities/canMoveItemWithinDrive"],[130,"capabilities/canMoveItemWithinTeamDrive"],[93,"capabilities/canMoveTeamDriveItem"],
[191,"capabilities/canRead"],[146,"capabilities/canReadCategoryMetadata"],[90,"capabilities/canReadTeamDrive"],[78,"capabilities/canRemoveChildren"],[186,"capabilities/canRemoveMyDriveParent"],[85,"capabilities/canRename"],[276,"capabilities/canReportNotSpam"],[236,"capabilities/canReportSpamOrAbuse"],[137,"capabilities/canRequestApproval"],[209,"capabilities/canSetMissingRequiredFields"],[79,"capabilities/canShare"],[189,"capabilities/canShareChildFiles"],[190,"capabilities/canShareChildFolders"],
[80,"capabilities/canTrash"],[135,"capabilities/canTrashChildren"],[102,"capabilities/canUntrash"],[69,"changed"],[194,"clientEncryptionDetails/decryptionMetadata/wrappedKey,clientEncryptionDetails/decryptionMetadata/kaclsId,clientEncryptionDetails/decryptionMetadata/kaclsName,clientEncryptionDetails/decryptionMetadata/aes256GcmChunkSize,clientEncryptionDetails/decryptionMetadata/jwt,clientEncryptionDetails/decryptionMetadata/keyFormat,clientEncryptionDetails/decryptionMetadata/guestIdp"],[193,"clientEncryptionDetails/encryptionState"],
[1004,"containsUnsubscribedChildren"],[136,"contentRestrictions/readOnly"],[115,"contentRestriction/readOnly"],[116,"contentRestriction/reason"],[34,"capabilities/canCopy"],[9,"createdDate"],[91,lr("creator")],[180,"creator/permissionId"],[252,"creator/id"],[206,"creator/organizationDisplayName"],[338,"creatorAgent/agentId"],[339,"creatorAgent/name"],[340,"creatorAgent/photoUrl"],[350,"creatorAgent/state"],[43,"source/client_service_id,source/value"],[187,"customerId"],[26,"description"],[108,"detectors"],
[41,"capabilities/canDownload"],[42,""],[302,"editSource"],[59,"capabilities/canEdit"],[318,"embedLink"],[28,"explicitlyTrashed"],[44,"fileExtension"],[13,"fileSize"],[48,"flaggedForAbuse"],[38,"folderColor"],[86,"folderColorRgb"],[49,"folderFeatures"],[322,"gmailMessageStorageId"],[104,"hasAppsScriptAddOn"],[39,"hasChildFolders"],[243,"approvalMetadata/hasIncomingApproval"],[87,"hasAugmentedPermissions"],[62,"hasThumbnail"],[100,"hasVisitorPermissions"],[72,"headRevisionId"],[5,"labels/hidden"],
[20,""],[21,"id"],[29,"imageMediaMetadata/date"],[31,"imageMediaMetadata/height"],[92,"imageMediaMetadata/rotation"],[30,"imageMediaMetadata/width"],[279,"inheritedPermissionsDisabled"],[235,"quotaInfo/individualQuotaBytesTotal"],[16,lr("lastModifyingUser")],[168,"lastModifyingUser/permissionId"],[248,"lastModifyingUser/id"],[204,"lastModifyingUser/organizationDisplayName"],[341,"lastModifyingAgent/agentId"],[342,"lastModifyingAgent/name"],[343,"lastModifyingAgent/photoUrl"],[351,"lastModifyingAgent/state"],
[12,"lastViewedByMeDate"],[210,"resourceKey"],[211,"linkShareMetadata/securityUpdateEligible"],[212,"linkShareMetadata/securityUpdateEnabled"],[220,"linkShareMetadata/securityUpdateExplicitlySet"],[157,"categoryReferences"],[273,"itemLocation"],[3,"mimeType"],[11,"modifiedByMeDate"],[347,"modifiedByMeAgent/agentId"],[348,"modifiedByMeAgent/name"],[349,"modifiedByMeAgent/photoUrl"],[353,"modifiedByMeAgent/state"],[10,"modifiedDate"],[50,""],[18,""],[95,"organizationDisplayName"],[58,"ownedByMe"],[14,
lr("owners")],[164,"owners/permissionId"],[195,"owners/emailAddressFromAccount"],[244,"owners/id"],[203,"owners/organizationDisplayName"],[103,"pairedDocType"],[1,"parents/id"],[96,"passivelySubscribed"],[75,function(a){a=a.Yb;var b=new gr("selectPermissions",["kind","id"]);a||kr(b,"name");kr(b,"userId");a&&kr(b,"nameIfNotUser");b.g("emailAddress","domain","role","type");a||kr(b,"photoLink");b.g("additionalRoles","view","audienceId","customerId");return new gr("permissionsSummary",["entryCount",new gr("visibility",
["type","domain","withLink"]),b])}],[94,"primaryDomainName"],[45,"primarySyncParentId"],[124,"publishingInfo/published"],[125,"publishingInfo/publishedUrl"],[32,"quotaBytesUsed"],[218,"quotaInfo/quotaBytesUsed"],[67,"recency"],[68,"recencyReason"],[221,"removeSecureLinkUpdateForAllFiles"],[7,"labels/restricted"],[122,"restrictions"],[66,"serverCreatedDate"],[24,"shared"],[25,"sharedWithMeDate"],[46,lr("sharingUser")],[171,"sharingUser/permissionId"],[250,"sharingUser/id"],[205,"sharingUser/organizationDisplayName"],
[344,"sharingAgent/agentId"],[345,"sharingAgent/name"],[346,"sharingAgent/photoUrl"],[352,"sharingAgent/state"],[192,"shortcutDetails/canRequestAccessToTarget"],[159,"shortcutDetails/targetFile"],[154,"shortcutDetails/targetId"],[158,"shortcutDetails/targetLookupStatus"],[155,"shortcutDetails/targetMimeType"],[52,"sources"],[56,"sourceAppId"],[55,"spaces"],[234,"spamMetadata/inSpamView"],[275,"spamMetadata/isInheritedSpam"],[274,"spamMetadata/isSpam"],[233,"spamMetadata/markedAsSpamDate"],[111,"spellResponse"],
[4,"labels/starred"],[35,"subscribed"],[112,"suggestedNlpQueries"],[83,"teamDriveId"],[298,"corpusLimits/itemsCountCapacityUsedPercentage"],[299,"corpusLimits/itemsCountCapacityUsedPercentageNotificationThreshold"],[84,"templateData/description,templateData/category,templateData/galleryState"],[19,"hasThumbnail,thumbnailVersion"],[2,"title"],[6,"labels/trashed"],[98,"trashedDate"],[97,lr("trashingUser")],[175,"trashingUser/permissionId"],[254,"trashingUser/id"],[207,"trashingUser/organizationDisplayName"],
[27,"userPermission/role"],[70,"version"],[107,"videoMediaMetadata/durationMillis"],[106,"videoMediaMetadata/height"],[105,"videoMediaMetadata/width"],[303,"videoMediaMetadata/transcodeStatus"],[333,"vidsImportCompatibilityInfo"],[8,"labels/viewed"],[332,"workflowCreationId"],[126,"workspaceIds"]]),Or={};Or[1]=new Set([5,33]);Or[3]=new Set([33]);Or[4]=new Set([33]);Or[5]=new Set([33]);Or[6]=new Set([33]);Or[8]=new Set([33]);Or[10]=new Set([33]);
var dda=new Set([91,16,14,46,97]),eda=new Set([180,252,206,168,248,204,164,195,244,203,171,250,205,175,254,207]),gda=new Set([338,339,340,350,341,342,343,351,347,348,349,353,344,345,346,352]),fda=new Set([338,341,347,344]),cda=new Map([[91,new Set([180,252,206])],[16,new Set([168,248,204])],[14,new Set([164,195,244,203])],[46,new Set([171,250,205])],[97,new Set([175,254,207])]]),SZ=new Set([273,260,261,262,263,264,265,266,267,268,269,270,271]),NCa=new Map([[260,38],[261,87],[262,24],[263,6],[264,
21],[265,2],[266,70],[267,210],[268,3],[269,20],[270,83]]),OCa=[42,20,50,18],bda=[329,328,327,331,330,334,335,336,355,337],Nr=[].concat(r(OCa),r(SZ)),ada=[1004,62];var PCa=function(a){var b=new Xm;EY(b,"hidden",E(a,4));a=z(a,fN,7,B());var c=[];for(let e=0;e<a.length;e++){var d=a[e];let f=d.Ia();if(f){let g=Jt(d,1);d=d.Ya();let h=[];d&&g===1&&h.push("not");h.push("name");h.push(g===1?"contains":d?"!=":"=");h.push(BY(f));c.push(h.join(" "))}}FY(b,c);return b.toString()};var TZ=function(a,b,c){this.O=a;this.Yc=b;this.F=c;this.rootId="";this.fields=this.O.zb().sort();this.g=this.O.Bd().sort();this.anonymous=Nt(dq(c))};TZ.prototype.Rb=function(a){this.rootId=a};
var UZ=function(a){return Lk(Uo)(a)?!!dv(a).find(function(b){return b.Ia()==="root"}):a.xa().includes("root")},VZ=function(a,b,c){b=b.clone();var d=dv(b).filter(function(f){return f.Ia()==="root"});d=q(d);for(var e=d.next();!e.done;e=d.next())e.value.setValue(a.rootId);pE(b,Bu(b).map(function(f){f.setValue(f.getValue().toLowerCase());return f}));a=c?a.fields.slice():b.Ca().slice();a.sort();Fe(b,1,a,Dc);return b},QCa=function(a,b){a=VZ(a,b.clone());b=a.Ca().filter(function(c){return!SZ.has(c)});return Fe(a,
1,b,Dc)},XZ=function(a,b,c){if(Lk(Uo)(b)){var d=c!=null?c:1;b=QCa(a,b);var e=nBa(b);e+=RCa(b);var f,g,h=((f=a.F)==null?0:(g=Xl(f))==null?0:E(g,19))?14:0;return e+(tna(ww(a.F,DB,4))===!0&&ww(b,R,30).g()===1535?"|prefetch":"")+SCa(a,b,d)+TCa(a,b,d,h)}if(Lk(xB)(b))return f=c!=null?c:1,g=b.xa().slice().sort().join(","),E(b,5)&&(g+="|cachedOnly"),h=((d=a.F)==null?0:(e=Xl(d))==null?0:E(e,21))?14:0,g+SCa(a,b,f)+TCa(a,b,f,h);if(Lk(GN)(b))return PCa(b)+"|tdList";if(Fo(b)){f=b.xa().slice().sort();b.jc(f);g=
"";if(b.Ca().length){let l;g=((h=a.F)==null?0:(l=Xl(h))==null?0:E(l,25))?14:0;d=a.Yc;b=b.Ca();a=WZ(a,g)?14:0;g="|"+(new (Function.prototype.bind.apply(fr,[null].concat(r(UCa(d,b,a===void 0?0:a,{Ad:!1})))))).toString()}return f.join(",")+g+"|tdMap"}throw Error("Jb");},TCa=function(a,b,c,d){return c===3?"":"|"+YZ(a,b.Ca(),c===2,d)},SCa=function(a,b,c){return c===3?"":VCa(a,b.nf(),c===2)},RCa=function(a){var b="";a=O(a,lC,75);if(a==null?0:z(a,mC,2,B()).length)b+="|suggestDocContext,"+z(a,mC,2,B()).map(function(c){return c.getId()}).join(",");
if(a==null?0:Tn(a,4))b+="|viewType,"+Tn(a,4);return b},YZ=function(a,b,c,d){d=d===void 0?0:d;var e="default";b=new Set(b);var f=new Set(a.fields);if(c){c=q(f);for(var g=c.next();!g.done;g=c.next())b.delete(g.value);f.clear()}else for(c=[].concat(r(b)).filter(function(h){return f.has(h)}),c=q(c),g=c.next();!g.done;g=c.next())g=g.value,b.delete(g),f.delete(g);f.size&&(e=e+" - "+(WZ(a,d)?xr(a.O,{fields:[].concat(r(f)),anonymous:a.anonymous}):wr(a.O,{fields:[].concat(r(f)),anonymous:a.anonymous})));b.size&&
(e=e+" + "+(WZ(a,d)?xr(a.O,{fields:[].concat(r(b)),anonymous:a.anonymous}):wr(a.O,{fields:[].concat(r(b)),anonymous:a.anonymous})));return e},VCa=function(a,b,c){if(!(new Set(a.fields)).has(329))return"";var d="|packageDefault";b=new Set(b);var e=new Set(a.g);if(c){a=q(e);for(c=a.next();!c.done;c=a.next())b.delete(c.value);e.clear()}else for(a=[].concat(r(b)).filter(function(f){return e.has(f)}),a=q(a),c=a.next();!c.done;c=a.next())c=c.value,b.delete(c),e.delete(c);d+=WCa([].concat(r(e)),!0);return d+=
WCa([].concat(r(b)),!1)},WCa=function(a,b){return a.length===0?"":(b?"-":"+")+a.sort().map(function(c){return dC(c)}).join(",")},WZ=function(a,b){var c,d;return b===14&&((d=(c=Xl(a.F))==null?void 0:Q(c,34))!=null?d:!1)};TZ.prototype.equals=function(a,b,c){var d;c&&(d=3);return XZ(this,a,d)===XZ(this,b,d)};
var dC=function(a){switch(a){case 1:return"STACK_SMART_CATEGORY";case 2:return"CUSTOMER";case 4:return"MEET_ARTIFACT";case 5:return"THIRD_PARTY";default:return""}},ZZ=function(a){if(a instanceof FN)a=a.V();else if(!a)return!1;return a instanceof xP||a instanceof nQ||a instanceof QO||Lk(Uo)(a)&&Dn(a)},YCa=function(a,b){var c=XCa(b);return c?(b=b.clone(),b=N(b,2),b=N(b,45),b=N(b,26),c=To(xv(new Uo,[(new yv).setValue(c)]),!1),a.equals(c,b,!0)):!1},XCa=function(a){a=dv(a);return a.length===1?L(a[0],1):
null},mda=new Set([9]);var ZCa=0,$Ca=0,$Z=function(a,b,c,d,e,f){dZ.call(this,b);var g=this;this.F=c;this.request=e;this.M=f;this.C=!0;this.la=0;this.H=this.L=!1;this.D=[];this.items=[];this.status=6;this.g=Opa(Npa(Mpa(new Lpa,[1]),0),0);this.o=[];this.Wb=e.La();JR(this,function(){g.D=[]});ZCa++};U($Z,dZ);k=$Z.prototype;k.Pd=function(){dZ.prototype.Pd.call(this);this.items.length==0&&this.S()===6&&this.xj()||aDa(this)};k.V=function(){return this.request};k.La=function(){return this.Wb};k.S=function(){return this.status};
k.xj=function(){return this.C};k.getData=function(){this.D=this.items;var a=OO(uy(sy((new ty).setStatus(this.S()),this.items),this.xj()),this.j);a=D(a,17,this.suggestionSessionId).rb(this.la);return Ju(a,18,this.o)};
k.update=function(a,b){var c;if(!(c=this.S()!==a.S())){RZ||(RZ=new ICa);c=RZ;a:{var d=this.items,e=a.response.Sa();if(d.length!==e.length)c=!0;else{for(let m=0;m<d.length;m++)if(!c.j(d[m]||void 0,e[m]||void 0)){c=!0;break a}c=!1}}}if(!c){d=a.response;var f,g;c=this.j!==O(d,NO,7)||((f=this.suggestionSessionId)!=null?f:null)!==((g=C(d,17))!=null?g:null)||!Va(this.o,F(d,18,B()))}if(c){this.items=a.response.Sa();var h;this.status=(h=a.S())!=null?h:6;this.la=a.la;var l;this.C=(l=a.o)!=null?l:!0;this.j=
O(a.response,NO,7);this.suggestionSessionId=C(a.response,17);this.o=F(a.response,18,B());if(jv(this.F)){f=this.g;c=this.items;g={nt:this.Wb,xj:this.C};h=new Set;if(this.status===6){l=0;c=q(c);for(d=c.next();!d.done;d=c.next())(d=d.value)?(l++,(d=SBa.get(Wk(d)))&&h.add(d)):h.add(1);(g==null?0:g.xj)&&g.nt>l&&h.add(1);h.size===0&&h.add(0)}g=[].concat(r(h));Mpa(f,g)}this.H||(this.H=!0,Vr(this.g,5,performance.now()));Npa(H(this.g,2,b),a.la);this.L||this.status!==1||(Opa(this.g,b),Vr(this.g,6,performance.now()),
this.L=!0);aDa(this);this.suggestionSessionId&&Dr(Yr(this.F))&&(a=this.suggestionSessionId,b=cw(this.M,106027))&&(f=ew(b),f=zB(f,bDa,20),D(f,1,a),lZ(b))}};k.Df=function(a){this.dispatchEvent(new WY(new G("Error occurred running a query after "+a.retryCount+" retries.",a.error)))};
var aDa=function(a){if(a.isActive()){var b=cs(a.g,1,B());let c=rh(Kpa)[Hl(a.g,2)];a.log("returning "+a.items.length+" items. Status: "+(rh(kka)[a.S()]+" CacheState: ")+(c+" ")+(a.S()===6?"MissingTypes: "+b.join(",")+". ":"")+("DataSource: "+rh(Bna)[a.la]+". ")+Pca(a.items));a.dispatchEvent(new dh(XY,a))}};$Z.prototype.oa=function(){$Ca++;dZ.prototype.oa.call(this)};var a_=function(a,b,c){fZ.call(this,"LRM","sync.cache.LiveRequestManagerProxy",a);var d=this;this.context=b;this.o=c;this.g={};this.ja(rZ,function(){return void d.H.apply(d,r(cc.apply(0,arguments)))});this.ja(hCa,function(){return void d.G.apply(d,r(cc.apply(0,arguments)))})};U(a_,fZ);
var dDa=function(a,b){var c=new $Z(a.context.Fa.promise,a.context.P,a.context.F,function(d,e){return void a.zm(d,e)},b.clone(),a.context.M,function(){gZ(a).then(function(d){return void hZ(a,gCa).lc(d,String(AD(c)),c.V())})});cDa(a,c);return c},cDa=function(a,b){eDa(a,b);gZ(a).then(function(c){JR(b,function(){var d=String(AD(b));b_(a.o,d,4);delete a.g[d];hZ(a,cCa).lc(c,String(AD(b)),b.V())});hZ(a,bCa).lc(c,String(AD(b)),b.V())}).catch(function(c){Dk("Could not get client id",Ep(c),"warning")})},eDa=
function(a,b){var c=String(AD(b));a.o.create(c,b.V());a.g[c]=b};a_.prototype.Dp=function(a,b,c){var d=this;if(un(b)&&un(c)||Fo(b)&&Fo(c))gZ(this).then(function(e){return void hZ(d,dCa).lc(e,a,b,c)});else throw Error("Kb");};a_.prototype.zm=function(a,b){var c=this;if(!this.g[a])throw Error("Mb`"+a);var d=this.g[a].V();if(Cn(d)||HN(d)||AP(d)||ko(d)||bO(d))d.lb(b);else if(xn(d))J(d,4,b);else throw Error("Lb");gZ(this).then(function(e){return void hZ(c,eCa).lc(e,a,b)})};
a_.prototype.H=function(a,b){var c=this.g[a];if(c){var d=b.j,e=this.o.g.get(a);e&&(e=MZ(e),I(e,5,d));d=this.o;if((e=d.g.get(a))&&BCa(b)===1){var f,g=(f=MZ(e))==null?void 0:Jt(f,2);if((g===9||g===10)&&b instanceof dr){if(f=b.g,g=MZ(e),g=$t(g,11),ic(f)&&ic(g)){var h=MZ(e);J(h,10,f);h=f>=g}}else b instanceof dr&&b.fb&&(h=!0);f=LZ(OZ,0,ACa(b));g=MZ(e);var l=f;h=wF(h)?h:3===l||8===l?!Q(g,5):0!==l?fDa.has(l):null;gDa(d,a,1,f,h);a=MZ(e)}else a=null;d=a;a=c.update;d=d==null?void 0:E(d,6);a.call(c,b,d===!0?
1:d===!1?2:0)}};a_.prototype.G=function(a,b){var c=this.g[a];c&&(c.Df(b),b_(this.o,a,3))};var hDa=function(){this.channels={};this.g=this.j=this.o=0},iDa=function(a,b){var c=a.o++;a.channels[c]=b;a.j++;a.g=Math.max(a.g,lh(a.channels));return c},jDa=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null},c_=function(a){return Object.values(a.channels)};var d_=function(){this.j=void 0;this.incompleteSearch=!1;this.o=[];this.g=!0},kDa=function(a){var b=new d_;if(O(a,NO,7)||E(a,8)||MC(a,18)>0){var c=O(a,NO,7);b.g=!1;b.j=c;let d;c=(d=E(a,8))!=null?d:!1;b.g=!1;b.incompleteSearch=c;a=F(a,18,B());b.g=!1;b.o=a}return b};d_.prototype.Ga=function(){return this.g};var e_=function(a,b){bh.call(this);this.context=a;this.O=b;this.J=a.da("sync.cache.InitialViewPopulator")};U(e_,bh);
e_.prototype.run=function(a){var b=this;this.J.info("Running initial view populator (IVDP).");try{var c=Qna(a)}catch(m){return this.handleError("Error parsing initial view dump.",Ep(m)),Promise.resolve()}Nt(dq(this.context.F))||(a=c.md())&&this.context.Rb(a,"IVDP");(a=Ug(jt(c,3))||void 0)&&lDa(this.context.Ej.get(),a);var d=c.Sa().slice();a=q(d);for(var e=a.next();!e.done;e=a.next())e=e.value,Ok(e),Sr(e,6);var f=z(c,MN,5,B())[0];if(!f)return f_(this,"No initial query found",18),Promise.resolve();
var g=this.context.Ab;if(!Mr(this.O.zb(),NN(f).Ca(),Yr(this.context.F),this.O.Bd(),NN(f).nf()))return f_(this,"Invalid initial view data, fields: "+YZ(g,NN(f).Ca()),19),Promise.resolve();(c=Hu(NN(f)))&&c.getType();if(d.length===0)return Promise.resolve();var h=NN(f),l=UZ(h);return(l?g_(this.context.ha()):Promise.resolve()).then(function(){var m=Wo(VZ(g,h),Ut(Vt(Wt(new R,301),!0),1)),p=Sg(hs(f,2))||void 0;m.lb(p);p=x(f,4)||"";var t=!p&&!!O(f,Pk,3)||!!p&&l;h_(b.context.ha(),m,d,new d_,4,p,t);var w=
i_(b.O,m.Ca());if(w.length){let A=VZ(g,m,!0),M=d.map(function(da){da=da.clone();Fr(da,w,b.O);return da});h_(b.context.ha(),A,M,new d_,4,p,t)}m=$o(m);m=j_(b.context.Ec,m,"IVDP");b.context.Ec.qg(m,d);k_(b.context.Xa,"W6J7De")},function(){f_(b,"Failed to load root item",92)}).catch(function(){f_(b,"Unable to load initial view data",93)})};e_.prototype.handleError=function(a,b){mDa(this,new G(a,void 0,b))};
var f_=function(a,b,c){mDa(a,new G(b,lO(Ap(zp(new wp,2),c)),void 0))},mDa=function(a,b){var c=b.qa;a.context.xf(c);a.J.info("Initial view dump population failed. Message: "+b.j+"; Proto: "+c);k_(a.context.Xa,"DEJoH")};var l_=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("Nb");},m_=function(a,b){return a>1?b===2:a===b};var n_=function(a){return new Lq(a.getId(),a)};var o_=function(a){bh.call(this);this.context=a};U(o_,bh);o_.prototype.run=function(a){try{return nDa(this,upa(a))}catch(b){return this.handleError("Error parsing prefetched request.",28,b),Promise.resolve()}};
var nDa=function(a,b){It(b,1);a.log("Running prefetched request populator for "+Hl(b,1)+".");switch(Hl(b,1)){case 1:b=oDa(a,b);break;case 4:b=pDa(a,b);break;case 6:b=qDa(a,b);break;case 7:b=rDa(a,b);break;case 8:b=sDa(a,b);break;case 5:b=Promise.all(tpa(tk(b,spa,7,GP)).map(function(c){nDa(a,c)}));break;case 9:b=tDa(a,b);break;case 12:b=uDa(a,b);break;default:return a.handleError("Unsupported prefetched request.",29),Promise.resolve()}return b},oDa=function(a,b){var c=VZ(a.context.Ab,tk(b,Uo,2,FP));
b=JSON.parse(x(b,mk(b,GP,3))||"{}");return a.context.Tg.gh.convert(c,{headers:{},text:"",json:b}).then(function(d){d.ab().Sa().forEach(function(e){Sr(e,7)});a.context.Ki.get().B.set(c,d,2)})},qDa=function(a,b){var c=tk(b,Uo,2,FP),d=tk(b,ty,9,GP);b=d.Sa(Rr);for(var e=q(b),f=e.next();!f.done;f=e.next())Sr(f.value,7);d=kDa(d);h_(a.context.ha(),c,b,d,2);return Promise.resolve()},pDa=function(a,b){var c=BP(tk(b,zA,8,GP));a.context.ce.jg(c.map(n_),tk(b,zP,6,FP),2,!1);return Promise.resolve()},rDa=function(a,
b){var c=tk(b,xP,10,FP);b=JSON.parse(x(b,mk(b,GP,3))||"{}");return a.context.Tg.gh.convert(c,{headers:{},text:"",json:b}).then(function(d){vDa(a.context).jg([d],c,2,!1)})},sDa=function(a,b){var c=tk(b,ht,11,FP);b=tk(b,PK,12,GP);b=ika(b);a.context.Nd.get().j.set(c,b,2);return Promise.resolve()},tDa=function(a,b){var c=tk(b,kt,13,FP);b=Wr(tk(b,CP,14,GP));a.context.Yd.get().j.set(c,b,2);return Promise.resolve()},uDa=function(a,b){var c=tk(b,lt,17,FP);b=gs(c,tk(b,DP,15,GP),a.context.vk);a.context.De.get().B.set(c,
b,2);return Promise.resolve()};o_.prototype.handleError=function(a,b,c){var d=void 0;if(c)if(Dp(c))d=c,a+=": "+d.message;else try{a+=": "+JSON.stringify(c)}catch(e){a+=": "+c}this.log(a);c=new G(a,void 0,d);lO(du(Ap(zp(c.qa,2),b),a));this.context.dispatchEvent(new WY(c))};o_.prototype.log=function(a){this.context.P.da("sync.cache.PrefetchedRequestPopulator").info(a)};var wDa=function(){this.g=new Map},q_=function(){p_===void 0&&(p_=new wDa);return p_},xDa=function(a,b){a.g.has(b)||a.g.set(b,new Map)},yDa=function(a,b,c){(a=a.g.get(b))&&!a.has(c)&&a.set(c,new us)},zDa=function(a,b,c){(a=a.g.get(b))&&(c=a.get(c))&&c.resolve()},ADa=function(a,b,c){var d,e;return(e=(d=a.g.get(b))==null?void 0:d.has(c))!=null?e:!1},BDa=function(a,b){return a.g.has(b)},CDa=function(){var a=q_(),b=[];a=q(a.g.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},p_=void 0;var r_=Ub(function(a){return!!n.WorkerGlobalScope&&a instanceof n.WorkerGlobalScope});var s_=function(a,b){bh.call(this);this.serviceId=a;this.D=b;this.G={}};U(s_,bh);var DDa=function(a,b){PY(b,a.serviceId,function(c){{let e=a.G[c.m];if(e)try{var d=e(c).catch(js)}catch(f){d=Promise.resolve(js(f))}else c=c.m,d=a.serviceId,c=du(Ap(zp(new wp,2),3),d+":"+c+": unsupported method"),c=lm(c,br).payload,d=Promise.resolve(c)}return d})};s_.prototype.ja=function(a,b){this.G[a.Z]=ar(a,b)};
var t_=function(a,b,c){var d=function(){return EDa(a,b,c,cc.apply(0,arguments))};return{call:d,lc:function(){d.apply(null,r(cc.apply(0,arguments))).catch(function(e){var f=a.serviceId,g=c.Z;e=Ip(e);Dk("Proxy "+g+" on service "+f+" failed",e,"warning")})}}},EDa=function(a,b,c,d){var e=FDa(a,b);if(e.isDisposed())throw new GDa(a.serviceId,c.Z,b);b=e.g;var f=new us;d=gm(c,d,{aa:b}).payload;QY(e,a.serviceId,d,function(g){g=mm(g,c,br);g.ff?f.resolve(g.response):f.reject(new G(void 0,g.error))});return f.promise},
FDa=function(a,b){a=a.D.channels[b]||null;if(!a)throw Ip(Error("Ob`"+b));return a};s_.prototype.Xc=function(){return Promise.resolve()};var GDa=function(a,b,c){G.call(this,"Method:"+b+" Service:"+a+". Channel:"+c+" is closed")};U(GDa,G);var HDa=nm({Z:"5.4",params:[Bm(ZX)],response:qm(uN)}),IDa=nm({Z:"5.2",params:[Cm],response:um(qm(Pk),aY)}),JDa=nm({Z:"5.5",params:[],response:rm(qm(JN))}),KDa=nm({Z:"5.8",params:[qm(JN),Bm(ZX),Bm(ZX)],response:tm(Bm(Cm),Bm(Cm),rm(qm(Pk)))}),LDa=nm({Z:"5.9",params:[],response:vm}),MDa=nm({Z:"5.1",params:[],response:vm}),NDa=nm({Z:"5.6",params:[],response:vm}),ODa=nm({Z:"5.7",params:[],response:Bm(tm(Cm,BAa,rm(qm(sN))))}),PDa=nm({Z:"5.10",params:[],response:Bm(tm(Cm,BAa))}),QDa=nm({Z:"5.12",params:[],
response:Cm}),RDa=nm({Z:"5.11",params:[],response:vm}),SDa=nm({Z:"5.13",params:[ZX],response:vm});var u_={},TDa=(u_[0]="/drive/v2internal",u_[1]="/drive/v2internal.corp",u_[2]="/drive/v2internal.scary",u_[4]="/drive/v2internal.scary",u_[5]="/drive/v2beta",u_[6]="/drive/v2.1beta",u_);k=ks.prototype;k.add=function(a){var b=this.g[this.j];this.g[this.j]=a;this.j=(this.j+1)%this.o;return b};k.get=function(a){a=UDa(this,a);return this.g[a]};k.set=function(a,b){a=UDa(this,a);this.g[a]=b};k.Qa=function(){return this.g.length};k.Ga=function(){return this.g.length==0};k.clear=function(){this.j=this.g.length=0};k.wc=function(){var a=this.Qa(),b=this.Qa(),c=this.Qa()-a;for(a=[];c<b;c++)a.push(this.get(c));return a};
var UDa=function(a,b){if(b>=a.g.length)throw Error("Pb");return a.g.length<a.o?b:(a.j+Number(b))%a.o};var v_=function(a,b,c){this.F=a;this.j=b;this.O=c;this.g={};this.requests=new ks(40);this.setValue("SdkBackfillEnabled","true (Include corpus cache: "+(!!Q(a,46)+")"))},VDa=function(a){return tk(a,FN,3,KN)||tk(a,IN,4,KN)||tk(a,xN,5,KN)||tk(a,EN,6,KN)||tk(a,zN,7,KN)||tk(a,wN,8,KN)||tk(a,yN,9,KN)||tk(a,AN,10,KN)};v_.prototype.setValue=function(a,b){this.g[a]=w_(a,b)};var x_=function(a,b){var c=a.g[b];c||(c=w_(b,0,2),a.g[b]=c);c.setValue(String(Number(L(c,2))+1))};
v_.prototype.Wc=function(a){var b=mh(this.g);this.j&&b.push(w_("CacheSize",this.j.getSize()));this.O&&b.push(w_("SecondaryFields",wr(this.O,{fields:this.O.jl(),anonymous:Nt(dq(this.F))})));b.push(w_("InitialViewDataLoaded",a));a=new uN;yu(a,1,b);return TV(a)};
var w_=function(a,b,c){var d=new tN;D(d,1,a);H(d,4,c||1);d.setValue(String(b));d.setDescription(WDa.get(a));return d},j_=function(a,b,c){var d=new JN;D(d,2,"Pending...");b instanceof FN?y(d,3,KN,b):b instanceof IN?y(d,4,KN,b):b instanceof xN?y(d,5,KN,b):b instanceof EN?y(d,6,KN,b):b instanceof zN?y(d,7,KN,b):b instanceof wN?y(d,8,KN,b):b instanceof yN?y(d,9,KN,b):b instanceof AN&&y(d,10,KN,b);var e=go(b),f=[];if(an(b))Mo(f,"ID",L(b,1)),Mo(f,"Parent ID",L(b,2));else if(ln(b))Mo(f,"TD ID",L(b,1));else if(On(b))(b=
b.V())?(b=nBa(b),Mo(f,"Query",b)):Mo(f,"Query","no-request");else if(Ho(b))Mo(f,"Query","All");else if(po(b))Mo(f,"TD ID",L(b,1)),Mo(f,"Title",L(b,2)),Mo(f,"Theme Image ID",L(b,3));else if(en(b))Mo(f,"MimeType",L(b,1)),Mo(f,"Title",L(b,2)),Mo(f,"Parents",b.Pc(Rr)),Mo(f,"Convert",Um(b,8)),Mo(f,"Request ID",L(b,9)),Mo(f,"Parent Request IDs",F(b,10,B(Rr))),Mo(f,"Revision Item ID",L(b,12)),Mo(f,"Pinned",Um(b,8));else if(fn(b))Mo(f,"Title",L(b,1));else if(hn(b))Mo(f,"ID",L(b,1));else if(qn(b))Mo(f,"WS ID",
L(b,1));else if(Xn(b))Mo(f,"Source ID",L(b,1)),Mo(f,"Destination Parent ID",L(b,2)),Mo(f,"validation token",L(b,4));else if(no(b)){if(Mo(f,"ID",L(b,1)),Mo(f,"Title",L(b,2)),Mo(f,"Description",L(b,3)),Mo(f,"Starred",Um(b,4)),Mo(f,"Trashed",Um(b,5)),Mo(f,"MimeType",L(b,6)),Mo(f,"Parents",F(b,8,B(Rr))),Mo(f,"Parents to add",TC(b,Rr)),Mo(f,"Parents to remove",UC(b,Rr)),Mo(f,"Restricted",Um(b,11)),Mo(f,"Folder Color",Ug(jt(b,12))),Mo(f,"Update Last Viewed",Um(b,15)),Mo(f,"Subscribed",Um(b,16)),Mo(f,"Available Offline",
Um(b,18)),Mo(f,"Wksp to add",F(b,31,B(Rr))),Mo(f,"Wksp to remove",F(b,32,B(Rr))),b=O(b,xx,25))Mo(f,"Read Only",Um(b,1)),Mo(f,"Reason",L(b,2))}else so(b)?(Mo(f,"WS ID",L(b,1)),Mo(f,"Title",L(b,2)),Mo(f,"State",Tn(b,3))):b instanceof wo&&Mo(f,"Title",L(b.request,1));D(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.requests.add(d);return d};
v_.prototype.qg=function(a,b){var c=new Xm;for(let h=0;h<b.length&&h<20;h++){var d=b[h],e=c,f=e.Be,g=sq(d)+":";d=L(d,3)||"";d.length>20&&(d=d.substring(0,17)+"...");f.call(e,g+d+"\n")}b.length>20&&c.Be(b.length-20+" more item(s)");D(a,2,c.toString()||"Done.")};v_.prototype.Bf=function(){return this.requests.wc()};
var WDa=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."]]);var y_=n.IDBKeyRange||n.webkitIDBKeyRange,z_=function(a,b){return new ls(y_.bound(a,b,void 0,void 0))};ls.prototype.range=function(){return this.g};var A_=function(a,b,c){this.global=c===void 0?!1:c;a.match(XDa);this.key=a;this.value=b};A_.prototype.getValue=function(){return this.value};var YDa=function(a,b){return{k:B_(b,a.global,a.key),v:a.value}},B_=function(a,b,c){return[a.userId,a.clientId,b?"#":C_(a)].join(":")+":"+(c||"")},D_=function(a,b){a=B_(a,b);return z_(a+"A",a+"z")},XDa=/^[\w]+$/;var ZDa=function(a,b){this.g=a;this.j=b},$Da=function(a){return a?new ZDa(a.versionKey,a.versionChangeTimestamp):null};var aEa=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},bEa=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.encrypted}},Cs=function(a,b,c,d){a=C_(a)+"_"+b;b===3&&(a+="_"+d);return a+=Qm(":%02d",c)},cEa=function(a,b,c,d){c=Cs(a,b,c===void 0?0:c,d);a=C_(a)+"_"+b;b===3&&(a+="_"+d);return z_(c,a+":a")},dEa=function(a){var b=C_(a)+"_";a=C_(a)+"_A";return z_(b,a)},Bs=function(a){return a?new aEa(a.data,a.index,
a.size,a.timestamp,a.e):null};var Ot=function(a,b,c,d,e,f,g){g=g===void 0?Date.now():g;this.userId=a;this.clientId=b;this.Sj=c;this.o=d;this.j=null;this.B=this.Xo=!1;this.up=void 0;this.labelPackages=[];this.fields=Na(e);this.fields.sort(Wa);Ta(this.fields);this.labelPackages=Na(f);this.labelPackages.sort(Wa);Ta(this.labelPackages);this.g=g},C_=function(a){if(!a.j){let b=new Yp;b.update([a.userId,a.clientId,a.Sj,a.o].join(":"));b.update(a.fields);a.labelPackages.length>0&&b.update(a.labelPackages);a.j=ia(b.digest())}return a.j},
eEa=function(a){return{versionKey:C_(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.Sj,phk:a.o,f:a.fields,lp:a.labelPackages},lastAccessedTimestamp:a.g}},zs=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;var e;c=new Ot(c.u,c.c,c.pv,c.phk,c.f,(e=c.aE)!=null?e:[],a.lastAccessedTimestamp);b?c.j=d:C_(c)!==d&&(c=null);return c};ms.prototype.getName=function(){return this.g.name};var fEa=function(a,b,c){var d=new yk;try{var e=a.g.get(c)}catch(f){return b+=" with key "+$R(c),d.Va(KZ(f,b)),d}e.onsuccess=function(f){d.callback(f.target.result)};e.onerror=function(f){b+=" with key "+$R(c);d.Va(qs(f.target,b))};return d};ms.prototype.get=function(a){return fEa(this,"getting from index "+this.getName(),a)};ms.prototype.getAll=function(a,b){return gEa(this,"getAll","getting all from index "+this.getName(),a,b)};
var hEa=function(a,b){return gEa(a,"getAllKeys","getting all keys index "+a.getName(),b)},gEa=function(a,b,c,d,e){var f;d===void 0?f=void 0:f=d instanceof ls?d.range():(new ls(y_.only(d))).range();var g=new yk;try{var h=a.g[b](f,e)}catch(l){return c+=" for range "+(f?$R(f):"<all>"),g.Va(KZ(l,c)),g}h.onsuccess=function(){g.callback(h.result)};h.onerror=function(l){c+=" for range "+(f?$R(f):"<all>");g.Va(qs(l.target,c))};return g};var E_=function(a){this.g=a};E_.prototype.getName=function(){return this.g.name};var iEa=function(a,b,c,d,e){var f=new yk;try{var g=e?a.g[b](d,e):a.g[b](d)}catch(h){return c+=$R(d),e&&(c+=", with key "+$R(e)),f.Va(KZ(h,c)),f}g.onsuccess=function(h){f.callback(h.target.result)};g.onerror=function(h){c+=$R(d);e&&(c+=", with key "+$R(e));f.Va(qs(h.target,c))};return f},F_=function(a,b,c){return iEa(a,"put","putting into "+a.getName()+" with value",b,c)};
E_.prototype.add=function(a,b){return iEa(this,"add","adding into "+this.getName()+" with value ",a,b)};E_.prototype.remove=function(a){var b=new yk;try{var c=this.g["delete"](a instanceof ls?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+$R(a),b.Va(KZ(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+$R(a);b.Va(qs(e.target,f))};return b};
E_.prototype.get=function(a){var b=new yk;try{var c=this.g.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+$R(a),b.Va(KZ(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 "+$R(a);b.Va(qs(e.target,f))};return b};E_.prototype.getAll=function(a,b){return jEa(this,"getting all from index "+this.getName(),a,b)};
var jEa=function(a,b,c,d){var e;c===void 0?e=void 0:e=c instanceof ls?c.range():(new ls(y_.only(c))).range();var f=new yk;try{var g=a.g.getAll(e,d)}catch(h){return b+=" for range "+(e?$R(e):"<all>"),f.Va(KZ(h,b)),f}g.onsuccess=function(){f.callback(g.result)};g.onerror=function(h){b+=" for range "+(e?$R(e):"<all>");f.Va(qs(h.target,b))};return f};
E_.prototype.clear=function(){var a="clearing store "+this.getName(),b=new yk;try{var c=this.g.clear()}catch(d){return b.Va(KZ(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Va(qs(d.target,a))};return b};E_.prototype.count=function(a){var b=new yk;try{let c=a?a.range():null,d=this.g.count(c);d.onsuccess=function(f){b.callback(f.target.result)};let e=this;d.onerror=function(f){b.Va(qs(f.target,e.getName()))}}catch(c){b.Va(KZ(c,this.getName()))}return b};var ss=function(a,b){vh.call(this);this.g=a;this.o=b;this.j=new ji(this);this.j.listen(this.g,"complete",sj(this.dispatchEvent,this,"complete"));this.j.listen(this.g,"abort",sj(this.dispatchEvent,this,"abort"));this.j.listen(this.g,"error",this.hq)};U(ss,vh);k=ss.prototype;k.hq=function(a){a.target instanceof er?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:qs(a.target,"in transaction")})};
k.objectStore=function(a){try{return new E_(this.g.objectStore(a))}catch(b){throw KZ(b,"getting object store "+a);}};k.commit=function(a){if(this.g.commit||!a)try{this.g.commit()}catch(b){throw KZ(b,"cannot commit the transaction");}};k.wait=function(){var a=new yk;QR(this,"complete",sj(a.callback,a));var b=QR(this,"abort",function(){UR(c);a.Va(new er(EZ,"waiting for transaction to complete"))});var c=QR(this,"error",function(e){UR(b);a.Va(e.target)});var d=this.o;return OV(a,function(){return d})};
k.abort=function(){this.g.abort()};k.oa=function(){vh.prototype.oa.call(this);this.j.dispose()};var ys={READ_ONLY:"readonly",READ_WRITE:"readwrite",eD:"versionchange"};cF(ns,vh);k=ns.prototype;k.Qm=!0;k.iq=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};k.xr=function(a){this.dispatchEvent(new rs(a.oldVersion,a.newVersion))};k.close=function(){this.Qm&&(this.g.close(),this.Qm=!1)};k.getName=function(){return this.g.name};
var kEa=function(a,b,c){try{return new E_(a.g.createObjectStore(b,c))}catch(d){throw KZ(d,"creating object store "+b);}},lEa=function(a,b){try{a.g.deleteObjectStore(b)}catch(c){throw KZ(c,"deleting object store "+b);}},ws=function(a,b,c){try{let d=c?a.g.transaction(b,c):a.g.transaction(b);return new ss(d,a)}catch(d){throw KZ(d,"creating transaction");}};ns.prototype.oa=function(){ns.Kb.oa.call(this);this.j.dispose()};
var rs=function(a,b){dh.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};cF(rs,dh);var os=void 0;var xs={mg:"Versions",jh:"Metadata",ah:"Data",Gc:"Offline"},mEa=new Map([[xs.mg,"versionKey"],[xs.jh,"k"]]),nEa=new Set([1004]),Rt=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?!1:d;bh.call(this);var e=this;this.M=c;this.readOnly=d;this.H=!0;this.o="";this.j=null;this.L=!1;this.B=null;this.g=!1;this.version=this.D=null;this.J=b.da("sync.storage.VersionedDb");this.T=a.then(function(f){e.version=f});this.G=new ji(this);this.Ha(this.G)};U(Rt,bh);
var Qt=function(a,b,c){var d=new us;G_().then(function(e){if(e){var f=xs.Gc;ws(e,[f],ys.READ_ONLY).objectStore(f).get(a+":"+b).then(function(g){return $Da(g)}).then(function(g){if(g){var h=0;typeof c==="number"&&typeof g.j==="number"&&(h=c+g.j-Date.now());var l=xs.mg,m=ws(e,[l],ys.READ_ONLY);m.objectStore(l).get(g.g).then(function(p){(p=zs(p))?(p.Xo=!0,h<0?p.B=!0:h>0&&(p.up=h),d.resolve(p)):d.resolve(null)});PV(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},Jda=function(a,b,c){var d=Date.now()-12096E5,e=new us;G_().then(function(f){f?(e.promise.finally(function(){f.close()}),As(f,a,b).then(function(g){return g.filter(function(h){return h.g<d})},function(){return[]}).then(function(g){oEa(g,c,f,e)})):e.resolve([])});return e.promise},pEa=function(a,b,c){var d=new us;G_().then(function(e){e?(d.promise.then(function(){return void e.close()},function(){return void e.close()}),As(e,a,b).then(function(f){oEa(f,
c,e,d,!0)})):d.resolve([])});return d.promise},qEa=function(a,b,c,d,e,f,g,h){h=h===void 0?[]:h;var l=new us;G_().then(function(m){m?(l.promise.then(function(){return void m.close()},function(){return void m.close()}),As(m,a,b).then(function(p){return p.filter(function(t){return(!g||g!==C_(t))&&t.Sj===c&&t.g>=e&&Mr(d.filter(function(w){return!nEa.has(w)}),Na(t.fields),b,h,t.labelPackages)})},function(){return[]}).then(function(p){p.length?(p.sort(function(t,w){return w.g-t.g}),Ds(p,l,m,new Set(f))):
l.resolve(null)})):l.resolve(null)});return l.promise};Rt.prototype.initialize=function(){return rEa(this)};
var sEa=function(a){return a.g?a.o:null},tEa=function(a){var b=xs.mg,c=H_(a,b,ys.READ_WRITE);if(!c)return Promise.reject(Error("Qb"));F_(c.objectStore(b),eEa(a.version));return Promise.resolve(c.wait()).then(function(){})},vEa=function(a,b,c,d){if(!a.j||b===3&&c===void 0)return Promise.reject(Error("Rb"));if(a.g)return Promise.reject(Error(a.o));var e=cEa(a.version,b,0,c),f=xs.ah,g=H_(a,f);if(!g)return Promise.reject(Error("Sb"));e=g.objectStore(f).getAll(e);var h=new us;vs(e,function(l){l=pda(l,
h,d);a.readOnly||l==null||uEa(a,b,c,l).then(null,function(){})},h.reject);return h.promise},xEa=function(a,b,c,d,e,f){if(a.j){if(a.g)return Promise.reject(Error(a.o));if(b.length>100||c===3&&d===void 0)return Promise.reject(Error("Tb"))}else return Promise.reject(Error("Ub"));var g=Date.now(),h=b.length,l=b.map(function(t,w){return{key:Cs(a.version,c,w,d),data:new aEa(t.getData(),w,h,g,e),metadata:t}}),m=xs.ah;b=H_(a,m,ys.READ_WRITE);if(!b)return Promise.reject(Error("Vb"));m=b.objectStore(m);l=q(l);
for(var p=l.next();!p.done;p=l.next()){p=p.value;let t=wEa(a,c,d,p.metadata,f);F_(m,bEa(p.data),p.key).then(function(){t&&(I_(J_(t),!0),lZ(t))},function(w){var A=w instanceof er?w.code:zZ;t&&a.M&&(w=I_(J_(t),!1),A=LZ(HCa,0,A),H(w,2,A),lZ(t))})}return Promise.resolve(b.wait()).then(function(){})},uEa=function(a,b,c,d){d=d===void 0?0:d;if(a.j){if(a.g)return Promise.reject(Error(a.o));if(b===3&&c===void 0)return Promise.reject(Error("Wb"))}else return Promise.reject(Error("Xb"));b=cEa(a.version,b,d,
c);c=xs.ah;a=H_(a,c,ys.READ_WRITE);if(!a)return Promise.reject(Error("Yb"));a.objectStore(c).remove(b);return Promise.resolve(a.wait()).then(function(){})};
Rt.prototype.getMetadata=function(a){if(this.j){if(this.g)return Promise.reject(Error(this.o));if(a&&a.length===0)return Promise.reject(Error("Zb"))}else return Promise.reject(Error("$b"));var b=this.version,c=xs.jh,d=H_(this,c);if(!d)return Promise.reject(Error("ac"));c=d.objectStore(c);if(a){d=[];a=q(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d.push(Promise.resolve(c.get(B_(b,e.global,e.key))));c=Promise.all(d)}else c=Promise.all([c.getAll(D_(b,!1)).then(),c.getAll(D_(b,!0)).then()]).then(function(f){var g=
q(f);f=g.next().value;g=g.next().value;return caa(f,g)});return c.then(function(f){return f.map(function(g){a:{if(g){var h=g.k.split(":"),l=h[2]==="#";if(h.length===4&&(l||h[2]===C_(b))){g=h[0]!==b.userId||h[1]!==String(b.clientId)?void 0:new A_(h[3],g.v,l);break a}}g=void 0}return g})})};
var yEa=function(a,b){if(a.j){if(a.g)return Promise.reject(Error(a.o));if(b.length===0)return Promise.reject(Error("bc"))}else return Promise.reject(Error("cc"));var c=xs.jh,d=H_(a,c,ys.READ_WRITE);if(!d)return Promise.reject(Error("dc"));c=d.objectStore(c);d=[];b=q(b);for(var e=b.next();!e.done;e=b.next())d.push(F_(c,YDa(e.value,a.version)).then());return Promise.all(d).then(function(){})};
Rt.prototype.oc=function(a){var b=this;return this.j?this.g?Promise.reject(Error(this.o)):K_(this).then(function(c){var d=C_(b.version);if(c)if(a){if(!c.j&&d===c.g&&d!==C_(a))return L_(b,!0);if(c.j&&d===C_(a))return L_(b)}else{if(d!==c.g)return L_(b)}else if(!a)return L_(b)}):Promise.reject(Error("ec"))};
var zEa=function(a){if(!a.j)return Promise.reject(Error("fc"));if(a.g)return Promise.reject(Error(a.o));var b=a.version,c=b.userId+":"+b.clientId;return K_(a).then(function(d){if(d){d=xs.Gc;var e=H_(a,d,ys.READ_WRITE);if(e)return e.objectStore(d).remove(c).then()}})};Rt.prototype.close=function(){this.C("Closing database")};
var rEa=function(a,b){a.B||(a.B=IT(),a.T.then(function(){AEa(a,b)},function(c){a.B.reject(new G("Database version error",void 0,Dp(c)?c:void 0))}));return a.B.promise},AEa=function(a,b){b?(a.H=!1,BEa(a,b),a.log("Initialized database GoogleDriveDs with existing IndexedDb"),a.B.resolve()):(a.M&&(a.D=cw(a.M,106004)),a.log("Opening database GoogleDriveDs (version 2)"),vs(ts("GoogleDriveDs",2,function(c,d){CEa(a,c,d)},function(c){M_(a,c)}),function(c){DEa(a,c)},function(c){M_(a,c)}),EEa().then(function(){a.j||
a.g||(a.C("Opening database GoogleDriveDs timed out."),M_(a,Error("ic")))}))},BEa=function(a,b){a.j=b;a.G.listen(a.j,"close",function(){a.C("Browser closing database")});a.G.listen(a.j,"versionchange",a.C.bind(a,"Database version change detected, closing"))},CEa=function(a,b,c){a.log("Upgrading GoogleDriveDs to version "+b.newVersion);a.L=!0;Za(c.g.objectStoreNames,function(d){lEa(c,d)});fh(xs,function(d){var e=mEa.get(d);kEa(c,d,e?{keyPath:e}:void 0)})},M_=function(a,b){var c;b&&b instanceof er&&
b.getName()==="InvalidStateError"&&oF?c=Error("gc"):c=new G("Unable to open database GoogleDriveDs (version 2)",null,Dp(b)?b:Error("hc",{cause:b}));a.C("Unable to open database GoogleDriveDs (version 2)");a.B.reject(c);FEa(a,!1)},DEa=function(a,b){a.g?b.dispose():(BEa(a,b),a.Ha(a.j),a.readOnly||tEa(a).then(null,function(){}),a.log("Initialized database GoogleDriveDs"),a.B.resolve(),FEa(a,!0))},FEa=function(a,b){if(a.D){var c=ew(a.D);c=zB(c,GEa,5);c=J(c,1,2);c=J(c,2,a.version.Sj);c=I(c,5,a.version.Xo);
b=I(c,3,b);b=I(b,4,a.L);J(b,6,a.version.up);lZ(a.D);a.D=null}};Rt.prototype.C=function(a){this.log(a);this.g||(this.g=!0,this.o="Database disabled: "+a,this.j&&this.H&&this.j.close())};
var H_=function(a,b,c){c=c===void 0?ys.READ_ONLY:c;if(a.readOnly&&c!==ys.READ_ONLY)return null;a=a.j;try{return ws(a,[b],c)}catch(d){return null}},HEa=function(a){if(!a.j)return Promise.reject(Error("jc"));if(a.g)return Promise.reject(Error(a.o));var b=xs.mg,c=H_(a,b,ys.READ_WRITE);if(!c)return Promise.reject(Error("kc"));b=c.objectStore(b);return Promise.resolve(b.remove(C_(a.version)))},wEa=function(a,b,c,d,e){if(a.M){if(a=cw(a.M,106019,e))b=N_(O_(J_(a),LZ(QZ,0,b)),LZ(PZ,0,c)),c=d.o,b=b.Lc.call(b,
c==null?0:c?2:1),I(b,7,d.j),d.g!==void 0&&P_(J_(a),d.g);return a}return null},IEa=function(a){if(!a.j)return Promise.reject(Error("lc"));if(a.g)return Promise.reject(Error(a.o));var b=dEa(a.version),c=xs.ah;a=H_(a,c,ys.READ_WRITE);if(!a)return Promise.reject(Error("mc"));a.objectStore(c).remove(b);return Promise.resolve(a.wait()).then(function(){})},JEa=function(a,b){b=b===void 0?!1:b;if(a.j){if(a.g)return Promise.reject(Error(a.o))}else return Promise.reject(Error("oc"));var c=a.version,d=xs.jh;
a=H_(a,d,ys.READ_WRITE);if(!a)return Promise.reject(Error("pc"));d=a.objectStore(d);a=[];a.push(d.remove(D_(c,!1)).then());b&&a.push(d.remove(D_(c,!0)).then());return Promise.all(a).then(function(){})},K_=function(a){if(!a.j)return Promise.reject(Error("qc"));if(a.g)return Promise.reject(Error(a.o));var b=a.version.userId+":"+a.version.clientId,c=xs.Gc;a=H_(a,c);if(!a)return Promise.reject(Error("rc"));c=a.objectStore(c);return Promise.resolve(c.get(b)).then(function(d){return $Da(d)})},L_=function(a,
b){b=b===void 0?!1:b;if(!a.j)return Promise.reject(Error("sc"));if(a.g)return Promise.reject(Error(a.o));var c=a.version,d=c.userId+":"+c.clientId;b=new ZDa(C_(c),b?Date.now():void 0);c=xs.Gc;a=H_(a,c,ys.READ_WRITE);if(!a)return Promise.reject(Error("tc"));F_(a.objectStore(c),{versionKey:b.g,versionChangeTimestamp:b.j},d);return Promise.resolve(a.wait())};
Rt.prototype.clear=function(a){var b=this;a=a===void 0?!1:a;return this.j?this.g?Promise.reject(Error(this.o)):K_(this).then(function(c){var d=c&&c.g===C_(b.version);return d&&!a?!1:(c&&d?zEa(b):Promise.resolve()).then(function(){return nva([JEa(b,a),IEa(b),HEa(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):Promise.reject(Error("uc"))};Rt.prototype.log=function(a){this.J.info(a)};
var G_=function(){var a=new us;Promise.resolve(ts("GoogleDriveDs")).then(function(b){KEa(b)?a.resolve(b):(b.close(),Promise.resolve(oda()).finally(function(){a.resolve(null)}))}).catch(function(){a.resolve(null)});return a.promise},KEa=function(a){if(Number(a.g.version)<=1)return!1;var b=a.g.objectStoreNames;return Object.values(xs).every(function(c){return b&&b.contains(c)})},LEa=function(a,b,c){var d=new us,e=new Rt(Promise.resolve(a),b);rEa(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},
oEa=function(a,b,c,d,e){e=e===void 0?!1:e;var f=[];a.forEach(function(g){var h=LEa(g,b,c);f.push(h.then(function(l){return l.clear(e)}).then(function(l){return l?g:void 0}))});Promise.all(f).then(function(g){var h=[];g.forEach(function(l){l&&(h.push(l),b.da("sync.storage.VersionedDb").info("Cleared version: "+C_(l)))});d.resolve(h)})},EEa=function(){return new Promise(function(a){setTimeout(a,2E4)})};var MEa=function(){dh.call(this,"VbxEwf")};U(MEa,dh);var Q_=function(a){this.context=a;this.Bj=null};k=Q_.prototype;k.bo=function(){return O(this.context.F,SD,58)};k.getContext=function(){return this.context};k.Wc=function(){return this.context.Ec.Wc(this.Bj)};k.Oe=function(){return this.context.Oe()};k.ij=function(a){return TV(this.context.ha().Oa.g(a))};k.Bf=function(){return TV(this.context.Ec.Bf())};
k.xm=function(a,b,c){var d=new yk;if(tk(a,FN,3,KN)||tk(a,IN,4,KN)||tk(a,xN,5,KN)||tk(a,EN,6,KN)||tk(a,zN,7,KN)||tk(a,wN,8,KN)||tk(a,yN,9,KN)||tk(a,AN,10,KN)){let e=VDa(a);R_(this.context).then(function(f){return f.route(e,{jk:b,kk:c})}).then(function(f){var g=[],h="";if(f instanceof wy){g=f.ab().Sa(Rr);var l=L(f,2);h=L(f,3)}else if(f instanceof No)f.getItem()&&g.push(f.getItem()),l=L(f,16);else throw Error("Cc");d.callback({items:g,Hn:l,pageToken:h})},function(f){return void d.Va(f)});return d}throw Error("Bc");
};k.wm=function(){var a=this.context.F,b=Gs(a);a=dq(a);a=x(a,3);D(b,13,"email:"+a.replace(/@.*$/,""))};k.aj=function(){this.context.xb.Fd();var a=this.context.F;pEa(cq(dq(a)),Yr(a),this.context.P).then(null,function(){})};k.pm=function(){this.context.wd.g=new S_($h().substring(0,8))};k.rm=function(){var a=this.context.wd.Qe(),b=null;a&&(b=NEa(this.context.wd),b={traceId:a,spanRecs:b});a=this.context.wd;a.g=null;a.oi=[];return TV(b)};k.Qe=function(){return TV(this.context.wd.Qe())};
k.getState=function(a){var b=this.context.Xa,c=b.g.bind(b);b={};b.b=L(this.context.F,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.ha().Oa.getSize();c=this.context.ha().Tb;var d=c.g;d&&(b.cs_sutd=d.qh,b.cs_ss=d.getSize());b.cs_ch=T_(c).length;b.cs_td=c.Cf().length;if(c=this.context.hh)b.t_cps=c.W.subscribed.Sf.getStats().join(",");
b.t_id=OEa(this.context);var e=[];PEa(this.context.Tg).forEach(function(f,g){e.push(g+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=U_(this.context.jb());b.n_o=this.context.jb().cb();a&&(b.csw_cc=lh(a.channels),b.csw_ac=a.j,b.csw_mcc=a.g);b.wcs=Yl(this.context.F,2);return TV(JSON.stringify(b))};k.om=function(){};k.oc=function(a){var b=this.context.Md;b&&a!==b.j&&(b.j=a,b.oc(a,!0))};var V_=function(a,b,c){s_.call(this,"DU",b);this.context=a;this.j=c;this.g=new Q_(a);this.ja(MDa,this.aj.bind(this));this.ja(IDa,this.ij.bind(this));this.ja(HDa,this.Wc.bind(this));this.ja(JDa,this.Bf.bind(this));this.ja(PDa,this.Qe.bind(this));this.ja(NDa,this.pm.bind(this));this.ja(ODa,this.rm.bind(this));this.ja(LDa,this.wm.bind(this));this.ja(KDa,this.xm.bind(this));this.ja(RDa,this.om.bind(this));this.ja(QDa,this.getState.bind(this));this.ja(SDa,this.oc.bind(this))};U(V_,s_);k=V_.prototype;
k.aj=function(){this.context.xb.Fd();var a=this.context.F;return Promise.resolve(pEa(cq(dq(a)),Yr(a),this.context.P)).then(function(){},function(){})};k.ij=function(a){return this.context.ha().Oa.g(a)};k.Wc=function(a){return Promise.resolve(this.context.Ec.Wc(a!=null?a:null))};k.Bf=function(){return this.context.Ec.Bf()};
k.xm=function(a,b,c){if(tk(a,FN,3,KN)||tk(a,IN,4,KN)||tk(a,xN,5,KN)||tk(a,EN,6,KN)||tk(a,zN,7,KN)||tk(a,wN,8,KN)||tk(a,yN,9,KN)||tk(a,AN,10,KN)){let d=VDa(a);return Promise.resolve(R_(this.context).then(function(e){return e.route(d,{jk:b,kk:c})})).then(qda,function(e){throw new G(void 0,Hp(e,50));})}throw new G(void 0,Hp(Error("Bc"),51));};k.wm=function(){var a=this.context.F,b=Gs(a);a=dq(a);a=x(a,3);D(b,13,"email:"+a.replace(/@.*$/,""))};
k.pm=function(){this.context.wd.g=new S_($h().substring(0,8))};k.rm=function(){var a=this.context.wd.Qe(),b=void 0;a&&(b=NEa(this.context.wd),b=[a.ze,a.startTime,b]);a=this.context.wd;a.g=null;a.oi=[];return b};k.Qe=function(){var a=this.context.wd.Qe(),b=void 0;a&&(b=[a.ze,a.startTime]);return b};k.getState=function(){return Promise.resolve(this.g.getState(this.D))};k.om=function(){var a=[this.j.Xc(),yva(3E4)];mva(a).then(function(){n.setTimeout(function(){self.close()})},function(){n.setTimeout(function(){self.close()})})};
k.oc=function(a){this.g.oc(a)};var QEa=function(a,b,c){dh.call(this,"o");this.requestId=a;this.progress=b;this.o=c};U(QEa,dh);var REa=qm(wN),SEa=Am($X,$X),TEa;TEa=function(a){var b=PD,c=Object.assign({},{Z:"cb"},a);return{Cb:wm,tb:function(d){var e=new MessageChannel,f=e.port2,g=new WX(b);zm(e.port1,async function(h){var l=await yAa(g,d,c,h.data);h.reply(l.payload,void 0,l.transfer)});return fm(f,[f])},sb:function(d){d=zm(d);var e=new UX(d,b);return function(){return e.Ib.apply(e,[c].concat(r(cc.apply(0,arguments))))}}}}({params:[$X,$X],response:um(DAa,aY)});
var UEa=nm({Z:"7.1",params:[$X,Cm,REa,SEa,TEa,Bm(CAa)],response:qm(No)}),VEa=nm({Z:"7.2",params:[$X,Cm,Cm],response:vm}),WEa=nm({Z:"7.3",params:[$X,Cm],response:vm}),XEa=nm({Z:"7.4",params:[$X,Cm,rm(Cm),Am(Cm,qm(No)),Am(Cm,br)],response:vm}),YEa=nm({Z:"7.5",params:[$X,Cm,Cm,rm(Cm)],response:{Cb:Wb({title:hc,description:hc,component:$b(ic),cl:$b(hc),Tk:$b(ic),attachments:$b(bc(Wb({name:hc,content:$b(hc),contentType:$b(hc),On:$b(hc)})))}),tb:function(a){return fm(rda(a))},sb:function(a){return sda(a)}}}),
ZEa=nm({Z:"7.6",params:[$X,Cm],response:vm});var Ks=function(a,b,c,d,e,f,g){this.request=a;this.F=b;this.j=c;this.g=d;this.M=f;this.ag=g===void 0?!1:g;this.o=!1;this.J=e==null?void 0:e.da("sync.query.BatchFindByIdsRunner");this.Aa=CB(zB(this.F,DB,4))};Ks.prototype.run=function(){if(!this.o)if(this.o=!0,this.request.xa().length===0)this.g.bi([]);else if(this.Aa=CB(zB(this.F,DB,4)),this.Aa===1)$Ea(this);else{let a=aFa(this);this.Aa===2&&$Ea(this,a)}};
var bFa=function(a,b){var c,d,e=(d=(c=a.M)==null?void 0:cw(c,106041))!=null?d:void 0;(c=e==null?void 0:W_(e))!=null&&(b=X_(Y_(c.Gb(9),NZ(a.Aa)),b),a=a.request.xa().length,J(b,7,a));return e},aFa=function(a){for(var b=bFa(a,1),c=[],d=q(a.request.xa().entries()),e=d.next();!e.done;e=d.next()){e=q(e.value);let f=e.next().value,g=e.next().value,h=zpa(ypa(f),a.request),l={ag:a.ag};e=a.j.then(function(m){return m.route(h,l)}).then(function(m){return void cFa(a,m,[g])}).catch(function(m){var p=Ip(m);if(p.qa.j()===
5||p.qa.Le()===4){let A;(A=a.J)==null||A.info("Deleting "+g+" due to: "+p.message);a.g.nl(g)}else a.g.handleError(p);a.g.bi([g]);var t;m=(t=Ip(m).qa.fe())!=null?t:500;var w;b==null||(w=W_(b))==null||VF(w,4,m)});c.push(e)}Promise.all(c).then(function(){return void(b==null?void 0:lZ(b))}).catch(function(){Dk("executeGenoaRequests: one of "+c.length+" Promises failed",Error("Dc"),"warning")});return b},$Ea=function(a,b){var c=bFa(a,2);b&&(c==null||Z_(c,b));b=a.request.xa();var d=function(f,g){if(a.Aa===
1)cFa(a,f,g,c);else{let h;(f=f==null?void 0:(h=f.ab())==null?void 0:Ee(h,19,Nx))&&f.forEach(function(l){var m;l=(m=zn(l,8))!=null?m:2;var p;c!=null&&(p=W_(c))!=null&&VF(p,6,l)})}},e=[];for(let f=0;f<b.length;f+=50){let g=b.slice(f,f+50),h=a.request.clone().jc(g),l={ag:a.ag},m=a.j.then(function(p){return p.route(h,l)}).then(function(p){return void d(p,g)}).catch(function(p){p=Ip(p);if(a.Aa===1)a.g.handleError(p),a.g.bi(g);else{var t;(t=a.J)==null||t.info("Driveway Darklaunch error: "+p.message)}var w;
t=(w=$t(p.qa,26))!=null?w:2;var A;c!=null&&(A=W_(c))!=null&&VF(A,5,t)});e.push(m)}Promise.all(e).then(function(){return void(c==null?void 0:lZ(c))}).catch(function(){Dk("executeDrivewayRequests: one of "+e.length+" Promises failed",Error("Ec"),"warning")})},cFa=function(a,b,c,d){d=d===void 0?null:d;var e,f=(e=b.ab())==null?void 0:e.Sa(),g;if(b=(g=b.ab())==null?void 0:Ee(g,19,Nx)){let h,l=(h=d)==null?void 0:W_(h);b.forEach(function(m,p){var t=zn(m,8),w=x(m,4);if(t===5){let M;(M=a.J)==null||M.info("Deleting "+
p+" due to: "+w);a.g.nl(p)}else p=new wp,t=J(p,26,t),a.g.handleError(Ip(t,w));var A;m=(A=zn(m,8))!=null?A:2;l!=null&&VF(l,6,m)})}f&&(f.forEach(function(h){Sr(h,1)}),a.g.mo(f));a.g.bi(c)};var Js=function(a){vh.call(this);this.request=a;this.items={};this.ea=new us;this.Ge=new Set};U(Js,vh);k=Js.prototype;k.getPromise=function(){return this.ea.promise};k.handleError=function(a){this.ea.reject(a)};k.mo=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.items[b.K()]=b};k.nl=function(a){this.items[a]=null};k.bi=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())this.Ge.add(b.value);this.Dd()};k.Dd=function(){this.isCompleted()&&this.ea.resolve(this.items)};
k.isCompleted=function(){return this.Ge.size===this.request.xa().length};var dFa=/^uploadTestFailMe(\.[1-9])?$/,$_=function(a,b,c,d,e,f,g){vh.call(this);var h=this;this.F=a;this.g=b;this.H=c;this.o=d;this.ue=e;this.G=f;this.j=g;this.D={};this.requests={};this.Zf=bq();this.J=null;JR(this,function(){h.Xi()})};U($_,vh);$_.prototype.C=function(){return bq()};
$_.prototype.upload=function(a,b,c,d,e){if(cn(a)&&!c)return Promise.reject(new G("Invalid Operation: Encrypted copy of folders not supported."));x_(this.g,"UploadTotalCount");var f=a.rf();if(f&&this.requests[f])throw new G("Upload requested with a duplicate request ID.");var g=a;if(cn(g))var h=void 0;else if(h=void 0,(g=F(g,10,B()))&&g.length){if(g.length!==1)throw new G("Multi-parented uploads are not supported.");h=this.requests[g[0]];if(!h)throw new G("The parent upload request must precede this request.");
}g=a;cn(g)||!Tg(jt(g,26))&&c&&c.lastModified&&Vr(g,26,c.lastModified);f||(f=this.C(),a.rk(f));a=a.clone();g=eFa(this,f);this.requests[f]={request:a,file:c,ea:g,dm:b+"-upload",ld:!1,dc:0,ff:!1,le:!1,children:[],metadata:d,ob:void 0,Rd:e};h?fFa(this,f,h):a0(this,f);return g.promise};
var eFa=function(a,b){var c=new us;c.promise.then(function(d){x_(a.g,"UploadSuccessCount");var e=a.requests[b];e&&(e.ff=d.na()===1,(d=C(d,5))&&gFa(a,b)&&a.G.set(b,d),(d=e.ob)&&!e.le&&(b0(c0(d0(d),e.dc),!0),lZ(d)))},function(d){d=Ip(d);var e=O(a.F,SD,58);e&&Q(e,1)&&(a.D[b]=d);b&&gFa(a,b)&&(e=a.G,hFa(e,b).reject(d),e.j.add(b));x_(a.g,"UploadFailureCount");var f=a.requests[b];f&&(e=f.ob)&&!f.le&&(b0(c0(d0(e),f.dc),!1),(d=hw(d))&&iFa(d0(e),d),lZ(e))});return c},fFa=function(a,b,c,d){var e=a.requests[b],
f=e.request;c.children.push(b);Ta(c.children);c.ea.promise.then(function(g){if(g.na()===1){let h=C(g,5);f.pg(h);N(f,10);if(!c.le||d){a0(a,b);return}}g.na();a.log('[Cancel] Upload of "'+f.Ma()+'" was canceled due to parent upload cancellation.');a.cancel(b)}).catch(function(g){e.ea.reject(Ep(g))})},a0=function(a,b){var c=a.requests[b];if(c&&!c.ld){c.ld=!0;b=a.requests[b];var d=b.request,e=O(a.F,SD,58);e&&Q(e,4)&&(e=d.Ma().match(dFa))&&(!e[1]||b.dc<Number(e[1].substr(1)))&&(d=d.clone(),Ha(d.Pc(Rr),
"$#@! Invalid parent ID."));b=d;d=(d=c.request.Wc())?Tg(jt(d,1))||0:0;var f=c.file&&c.file.size||d;e=Gs(a.F);d=Sg(hs(e,33,jc(1048576)));d=c.file&&c.file&&f>d?2:c.file?1:3;var g=en(b)?C(b,12):void 0;if(a.j&&d!==3){var h=cw(a.j,106012);h&&(c.ob=h,h=d0(h),h=H(h,1,d===2?2:1),h=I(h,4,!!c.metadata),g=I(h,5,!!g),f=J(g,6,f),e=Sg(hs(e,32,jc(1073741824))),J(f,7,e))}e=c.dc>0?"-#"+c.dc:"";switch(d){case 2:c.file&&e0(a,new Eo(b,c.file,c.Rd,c.metadata,c.ob),c.dm+"-resumable"+e,c.ea,b.rf());break;case 1:c.file&&
(d=c.dm+"-multipart"+e,e=c.ea,f=c.file,g=c.metadata,c=c.Rd,h=O(a.F,sna,2),e0(a,new Ao(b,f,c,h&&g),d,e,b.rf()));break;case 3:e0(a,b,c.dm+"-folder"+e,c.ea,b.rf());break;default:throw new G("Upload type ${uploadType} not supported.");}}},e0=function(a,b,c,d,e){f0(a.H,e,function(f){var g=a.V(e);if(g){let h=0;if(g.file){let l=g.request&&g.request.Wc();l&&(h=Tg(jt(l,1)));h===0&&(h=g.file.size)}a.dispatchEvent(new QEa(e,f,h))}});jFa(a,c,b,d,e).catch(function(f){Dk("Failed to get a response for upload request "+
(go(b)+" id:"+e),Ep(f),"warning")}).finally(function(){g0(a.H,[e])})},jFa=async function(a,b,c,d,e){var f=await a.o;try{let g=await f.route(c,{requestId:e,yg:a.Zf});d.resolve(g)}catch(g){e=Ip(g,"Uploader.executeInternal id:"+e);try{let h=await kFa(a,c,e);d.resolve(h)}catch(h){a=Ip(h,"Failed handle conflict from "+b+" after failure to get a response: "+g),d.reject(a)}}},kFa=async function(a,b,c){if(!(b instanceof Ao&&en(b.request))||c.qa.Le()!==8)throw c;var d=C(b.request,23)||"";if(!d)throw c;a.log("Create failed with 409 Conflict, re-querying: "+
d);var e=JP(new xB,Wt(new R,310)).jc([d]);e=await xda(e,a.F,a.o,a.j).getPromise().then(function(f){return f[d]});b=b.request;if(e&&!E(e,7)&&(e.xd()||"").replace(/\s/g,"")===(b.Oc()||"").replace(/\s/g,"")&&e.Ma()===b.Ma())return a.log("Matching item found for: "+d),Sx(aB(new No,e),d).setStatus(1);a.log("No matching item found for: "+d);throw c;};k=$_.prototype;
k.cancel=async function(a){var b=this,c=this.requests[a];if(c&&(!c.le||c.children.length!==0))if(c.le=!0,await cm(c.ea.promise))this.log('[Cancel] Response for "'+c.request.Ma()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),Za(c.children,this.cancel,this);else{var d=c.ob;d&&(iFa(b0(c0(d0(d),c.dc),!1),2),lZ(d));d=IT();if(c.ld){let e=await this.o;d.resolve(e.cancel(a))}else c.ld=!0,c.ea.resolve(Oo(c.request)),d.resolve(!0);d.promise.then(function(e){b.log('[Cancel] Upload of "'+
c.request.Ma()+'" was '+(e?"cancelled.":"in-flight. Cannot cancel."))})}};k.Xi=function(){var a=this;fh(this.requests,function(b,c){a.cancel(c)})};
k.retry=async function(a){for(var b=new Set(a),c=[],d={},e=q(a),f=e.next();!f.done;f=e.next()){var g=f.value;if(d[g])continue;else if(!this.requests[g]){d[g]=new G("Retry request with unknown ID.");continue}f=[];do{f.push(g);var h=lFa(this.requests[g])[0];if(h){var l=this.requests[h];if(l.ff||!await cm(l.ea.promise)||d[h])break;else if(!b.has(h)){d[g]=new G("Unable to retry request due to failed parent upload.");break}}g=h}while(g);for(g=f.length-1;g>=0;g--)if(h=f[g],l=this.requests[h],l.dc++,!d[h])if(!await cm(l.ea.promise)||
l.ff)d[h]=new G("Unable to retry request.");else{var m=lFa(l)[0];if(d[m]instanceof G){d[h]=d[m];continue}l.ea=eFa(this,h);l.ld=!1;l.le=!1;(m=m?this.requests[m]:null)?fFa(this,h,m,!0):c.push(h);d[h]=l.ea.promise}}a=a.map(function(p){p=d[p];return p instanceof Promise?p:Promise.reject(p)});c=q(c);for(b=c.next();!b.done;b=c.next())a0(this,b.value);return a};k.log=function(){this.isDisposed()};k.V=function(a){return this.requests[a]};
var gFa=function(a,b){a=a.V(b);return en(a.request)?a.request.Oc()==="application/vnd.google-apps.folder":!1},lFa=function(a){return en(a.request)?F(a.request,10,B(Rr))||[]:[]};var mFa=function(){this.g=new Map;this.j=new Set};mFa.prototype.set=function(a,b){this.j.has(a)||(hFa(this,a).resolve(b),this.j.add(a))};var hFa=function(a,b){if(!a.g.has(b)){let c=new us;c.promise.catch(function(d){d=Ip(d);Dk("Parent item creation failed.",d,"warning")});a.g.set(b,c)}return a.g.get(b)};var h0=function(a,b,c,d,e,f,g){$_.call(this,a,b,c,d,f,new mFa,g);this.L=e;this.J=null};U(h0,$_);h0.prototype.Fn=async function(a,b){return(await this.L).iE(await Is(this.F,this.ue,a,b,this.requests,this.D))};var i0=function(a,b,c,d,e,f,g,h,l){s_.call(this,"FU",l);this.F=a;this.o=b;this.B=c;this.C=d;this.j=e;this.P=f;this.ue=g;this.M=h;this.g={};this.pa=new ji(this);this.Ha(this.pa);this.ja(UEa,this.upload.bind(this));this.ja(VEa,this.cancel.bind(this));this.ja(WEa,this.Xi.bind(this));this.ja(XEa,this.retry.bind(this));this.ja(YEa,this.Fn.bind(this));this.ja(ZEa,this.kr.bind(this))};U(i0,s_);k=i0.prototype;
k.upload=function(a,b,c,d,e,f){a=a+":"+b;this.g[a]||(b=new h0(this.F,this.o,this.B,this.C,this.j,this.ue,this.M),this.Ha(b),this.g[a]=b);a=this.g[a];this.pa.listen(a,"o",function(g){d(g.progress,g.o)});b=c.rf();return a.upload(c,"WorkerFileUploader",f,void 0,nFa(this,e,b)).catch(function(g){throw g;})};k.cancel=function(a,b,c){a=a+":"+b;this.g[a]&&this.g[a].cancel(c)};k.Xi=function(a,b){a=a+":"+b;this.g[a]&&this.g[a].Xi()};
k.retry=async function(a,b,c,d,e){a=a+":"+b;if(this.g[a]){a=await this.g[a].retry(c);b={};let g=0;c=q(c);for(var f=c.next();!f.done;f=c.next())b[f.value]=a[g++];c=q(Object.entries(b));for(a=c.next();!a.done;a=c.next()){a=q(a.value);let h=a.next().value;a.next().value.then(function(l){d(h,l)},function(l){e(h,l.qa)})}}else throw Ip(Hp("Could not retry upload.",54));};
k.Fn=async function(a,b,c,d){a=a+":"+b;if(this.g[a])return a=this.g[a],d=[].concat(r(d)),await Is(a.F,a.ue,c,d,a.requests,a.D);throw Ip(Hp("FileUploader not found.",53));};k.kr=function(a,b){a=a+":"+b;this.g[a]&&(this.g[a].dispose(),delete this.g[a])};
var nFa=function(a,b,c){return function(d,e){var f=0;return Ms(function(){return b(d,e)},function(){f++;var g=f;fu(a.M,205335948);a.P.da("sync.cacheproxy.WorkerFileUploader").info("Retry attempt "+(g+" for chunk request for ")+(c+" @"+d))},5E3,3).catch(function(g){g=Ip(g);Dk("Could not get next chunk for "+c,g,"warning");return null})}},Ls=function(){var a=Error.apply(this,arguments);this.message=a.message;"stack"in a&&(this.stack=a.stack)};U(Ls,Error);var j0=function(a,b){dh.call(this,"p");this.percentDone=a;this.Zq=b};U(j0,dh);var oFa=nm({Z:"9.1",params:[Cm,$X,qm(tO),Am($X,Cm)],response:qm(uO)}),pFa=nm({Z:"9.2",params:[Cm,$X],response:vm});var qFa=function(){},rFa=function(a){this.g=a},ofa=function(a,b,c,d,e,f,g,h){this.status=a;this.percentDone=b;this.g=c;this.C=d;this.o=e;this.B=f;this.numFetchedFiles=g;this.j=h};var k0=function(a,b,c){vh.call(this);this.j=a;this.request=b;this.F=c;this.ea=IT();this.complete=!1;this.g=""};U(k0,vh);k0.prototype.start=function(){var a=this;this.j.then(function(b){return b.route(a.request)}).then(this.C.bind(this)).then(null,this.handleError.bind(this));return this.ea.promise};k0.prototype.C=function(a){this.g=a.g;this.dispatchEvent(new j0(0,this.g));sFa(this)};
var sFa=function(a){n.setTimeout(function(){a.j.then(function(b){return b.route(new yo(a.g))}).then(function(b){if(a.complete||b.status!==1&&b.status!==3&&b.status!==2){a.complete=!0;var c;(((c=JD(a.F))==null?0:Q(c,69))?b.status===4||b.status===5:b.status===4)?(c=new uO,c=Ju(c,2,b.g),c=D(c,3,a.g),c=Vr(c,5,b.C),c=Vr(c,6,b.o),c=Vr(c,7,b.B),c=Vr(c,8,b.numFetchedFiles),b=yu(c,4,b.j),a.ea.resolve(b)):(b=Ap(Ew(du(new wp,"Export failed for request "+a.g+": "+b.status),JSON.stringify(b)),8),a.handleError(b));
a.dispose()}else a.dispatchEvent(new j0(b.percentDone,a.g)),sFa(a)}).then(null,function(b){a.handleError(b)})},5E3)};k0.prototype.cancel=function(){var a=this;this.j.then(function(b){return b.route(new xo(a.g))}).then(this.o.bind(this)).then(null,this.handleError.bind(this))};k0.prototype.o=function(){if(!this.complete){var a=new uO;a=D(a,3,this.g);a=I(a,1,!0);this.ea.resolve(a);this.complete=!0;this.dispose()}};k0.prototype.handleError=function(a){this.complete=!0;this.ea.reject(Ep(a));this.dispose()};var l0=function(a,b,c){s_.call(this,"IE",b);var d=this;this.j=a;this.F=c;this.g=new Map;this.ja(oFa,function(){return d.o.apply(d,r(cc.apply(0,arguments)))});this.ja(pFa,function(){return d.cancel.apply(d,r(cc.apply(0,arguments)))})};U(l0,s_);
l0.prototype.o=function(a,b,c,d){var e=this,f=b+":"+a;a=new k0(this.j,c,this.F);var g=Sp(a,"p",function(h){return d(h.percentDone,h.Zq)});JR(a,function(){UR(g);e.g.delete(f)});this.g.set(f,a);return Promise.resolve(a.start()).catch(function(h){throw new G(void 0,Hp(h,55));})};l0.prototype.cancel=function(a,b){(a=this.g.get(b+":"+a))&&a.cancel()};var uFa=function(a,b,c,d){d=d===void 0?[]:d;if(!b||!Rs(a)&&!Rs(b))return a;if(Wk(a)===2){d=Jt(a,82);let e=b.clone();tFa(e,a,c);e.qc(Wk(b));Sr(e,d);return e}a=a.clone();tFa(a,b,c,d);return a},tFa=function(a,b,c,d){d=d===void 0?[]:d;var e=a.clone(),f=mM(b);f!=null&&nM(a,f.clone());if((f=Ns(b))&&P(f,13)){var g=Qs(a),h=Um(f,13);I(g,13,h)}f&&P(f,18)&&(g=Qs(a),f=Um(f,18),I(g,18,f));Kr(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);mM(e)&&
Kr(a,e,d,c)},Rs=function(a){return a instanceof Pk?S(a,1)&&a.getId()===L(a,72):S(a,2)&&a.Ea()===L(a,7)},vFa=function(a){return(a=a?mM(a):null)&&Um(a,7)||!1};var wt=function(a){this.g=a;this.value=void 0};wt.prototype.get=function(){var a;return(a=this.value)!=null?a:this.value=this.g()};var m0=function(a,b){s_.call(this,"LRM",b);var c=this;this.context=a;this.Hd={};this.tg=new Set;this.Vj={};this.Wj={};wFa(this.context,this);this.O=this.context.O;this.ga=this.context.ha();this.ce=this.context.ce;this.gf=vDa(this.context);this.Kf=new wt(function(){return c.context.pe()});this.Co=new wt(function(){return c.context.ds.get().ha()});this.ja(bCa,this.pb.bind(this));this.ja(cCa,this.Mb.bind(this));this.ja(dCa,this.Dp.bind(this));this.ja(eCa,this.zm.bind(this));this.ja(fCa,this.kt.bind(this));
this.ja(gCa,this.Gk.bind(this))};U(m0,s_);k=m0.prototype;
k.pb=function(a,b,c){var d=this,e=a+":"+b,f=new us,g=c;if(xn(g)||yn(g))g=g.clone();this.Hd[e]={query:g,Jt:f.promise};AP(g)||to(g)?f.resolve(this.ce.pb(e,g)):ko(g)?f.resolve(this.gf.pb(e,g)):bO(g)?f.resolve(this.pe().pb(e,g)):$m(g)?f.resolve(this.context.Nd.get().pb(e,g)):xn(g)?f.resolve(this.context.Yd.get().pb(e,g)):yn(g)?f.resolve(this.context.De.get().pb(e,g)):Qn(g)?f.resolve(this.Co.get().pb(e,g)):(a=(un(g)||Cn(g))&&UZ(g)?g_(this.ga):Promise.resolve(),this.tg.add(e),a.then(function(){d.tg.has(e)?
(f.resolve(d.ga.pb(e,g)),d.tg.delete(e)):f.resolve(!1)}).catch(function(h){Dk("registerLiveRequest failed for liveRequestId:"+e,Ep(h),"warning");f.resolve(!1);d.tg.delete(e)}));return f.promise.then(function(){})};
k.Mb=function(a,b,c){a=a+":"+b;delete this.Hd[a];this.tg.has(a)?this.tg.delete(a):AP(c)||to(c)?this.ce.Mb(a,c):ko(c)?this.gf.Mb(a,c):bO(c)?this.pe().Mb(a,c):$m(c)?this.context.Nd.get().Mb(a,c):xn(c)?this.context.Yd.get().Mb(a,c):yn(c)?this.context.De.get().Mb(a,c):Qn(c)?this.Co.get().Mb(a,c):this.ga.Mb(a,c)};k.kt=function(a,b,c){a=this.Hd[a+":"+b].query;return ko(a)?n0(this.gf,a,c):xn(a)?n0(this.context.Yd.get(),a,c):$m(a)?n0(this.context.Nd.get(),a,c):Promise.resolve()};
k.Dp=function(a,b,c,d){this.Mb(a,b,c);return this.pb(a,b,d)};k.zm=function(a,b,c){a=a+":"+b;this.Hd[a]!==void 0&&(b=this.Hd[a].query,Cn(b)?(b.lb(c),this.ga.pb(a,b)):HN(b)?(b.lb(c),this.ga.pb(a,b)):AP(b)?(b.lb(c),this.ce.pb(a,b)):ko(b)?(b.lb(c),this.gf.pb(a,b)):bO(b)?(b.lb(c),this.pe().pb(a,b)):xn(b)&&(this.context.Yd.get().Mb(a,b),J(b,4,c),this.context.Yd.get().pb(a,b)))};k.Gk=function(a,b,c){this.ga.Gk(a+":"+b,c)};
k.af=function(a,b){var c=this,d,e=(d=this.Vj[a])!=null?d:this.Wj[a];if(e){let l,m;a=(m=un(e.V())?(l=e.V())==null?void 0:l.nf():[])!=null?m:[];Ir(e.V().Ca(),a,Object.values(b.response).filter(Ss),this.O);xFa(e,b)}else{var f=this.Hd[a];if(f){e=a.split(":");var g=jS(e[0]),h=e[1];f.Jt.then(function(l){if(ec(un,Cn)(f.query)){let m=(epa(b.response)?b.response.Sa():Object.values(b.response)).filter(Ss);Ir(f.query.Ca(),f.query.nf(),m,c.O);oZ(b,l);t_(c,g,rZ).lc(h,b)}else if(ec(Fo,HN,AP,to,ko,bO,$m,xn,yn,Qn)(f.query))oZ(b,
l),t_(c,g,rZ).lc(h,b);else throw Error("Fc`"+go(f.query));})}}};k.Gd=function(a,b){this.Hd[a]!==void 0&&(a=a.split(":"),t_(this,jS(a[0]),hCa).lc(a[1],b))};
var o0=function(a,b){if(a.Vj[b])return a.Vj[b].V();if(a.Wj[b])return a.Wj[b].V();if(a.Hd[b]===void 0)throw Error("Gc`"+b+"`"+Object.keys(a.Hd).length);return a.Hd[b].query},yFa=function(a,b){for(var c=q(Object.entries(a.Hd)),d=c.next();!d.done;d=c.next()){d=q(d.value);var e=d.next().value;d=d.next().value;e=e.split(":");let f=jS(e[0]);f===b&&a.Mb(f,e[1],d.query)}},p0=function(a,b,c){c=c===void 0?Promise.resolve():c;zFa(a,b.Je,a.Vj);AFa(b,{mp:function(d){zFa(a,d,a.Wj)},isTeamDrive:function(d){d=a.context.ha().Oa.g(d);
return!!d&&Rs(d)},sr:c})},zFa=function(a,b,c){var d=b.getId();c[d]||(c[d]=b,JR(b,function(){var e=b.V();e&&a.ga.Mb(d,e);delete c[d]}),BFa(b,function(e,f){e&&a.ga.Mb(d,e);a.ga.pb(d,f)}))};m0.prototype.pe=function(){return this.Kf.get()};var CFa=nm({Z:"6.1",params:[rm(qm(Pk))],response:vm}),DFa=nm({Z:"6.2",params:[rm(qm(wM))],response:vm}),EFa=nm({Z:"6.3",params:[],response:vm});var q0=function(a,b,c,d,e){this.item=a;this.count=b===void 0?0:b;this.ub=c===void 0?1:c;this.j=d;this.g=e===void 0?0:e;this.o=!1};k=q0.prototype;k.clone=function(){return new q0(this.item.clone(),this.count,this.ub,this.j,this.g)};k.getId=function(){return sq(this.item)};k.Qa=function(){return this.count};k.getItem=function(){return this.item};k.equals=function(a){return this.count===a.Qa()&&this.ub===a.ub&&this.j===a.j&&this.g===a.g&&Gw(this.item,a.getItem())};var FFa=[12,11,10,67,68],GFa=[50],HFa=function(a){this.context=a;this.O=a.O;this.g=r0(this.O,GFa);this.j=r0(this.O,FFa)};
HFa.prototype.Ta=async function(a){var b=this,c,d,e=(d=(c=LD(this.context.F))==null?void 0:x(c,6))!=null?d:null,f={};a.forEach(function(l){Ok(l);var m=l.K(),p=b.context.md();l.qc(3);Sr(l,5);var t=Us(l,!0);Ns(l)||Ps(l,new Os);Um(t,2)&&((t=$L(l))&&t.length?iM(l,t[0]):p&&(gy(l,[p]),iM(l,p)),cM(l,jt(l,11)),p=new rq,Gv(p,e),H(p,6,1),Lv(p,!0),dM(l,p),Nv(l,[p]),eM(l,1));f[m]=l});c=Object.keys(f);a=this.context.ha();c=s0(a.Oa,c);d=q(Object.entries(c));for(var g=d.next();!g.done;g=d.next()){var h=q(g.value);
g=h.next().value;h=h.next().value;Kr(h.getItem(),f[g],this.g,this.O);(this.context.jb().cb()||Wk(h.getItem())===3)&&Kr(h.getItem(),f[g],this.j,this.O);delete f[g]}d=q(Object.values(f));for(g=d.next();!g.done;g=d.next())g=g.value,Ola(O(g,Xs,81))&&(h=g.K(),c[h]=new q0(g));t0(a,Object.values(c))};var IFa=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});return a.Ta(c)};var KFa=function(a,b){s_.call(this,"ODS",b);var c=this;this.context=a;this.g=!1;this.j=new us;this.o=new HFa(a);this.ja(CFa,function(d){c.g||(c.g=!0,c.o.Ta(d),k_(c.context.Xa,"GZTDpc"),c.j.resolve())});this.ja(DFa,function(d){return JFa(c,d)});this.ja(EFa,function(){if(c.g){let f=c.o.context.ha();var d=new Uo;d.oc(!0);d=u0(f.Oa,d);let g=[],h=[];for(let l=0;l<d.length;l++){let m=d[l].getItem();if(Wk(m)===3){var e=new wM;xM(e,m.K());yM(e);h.push(e)}else e=new Xs,Ts(e,!1),I(e,2,!1),K(m,81,e),g.push(d[l])}t0(f,
g);f.nb(h);c.g=!1;c.j=new us}})};U(KFa,s_);var JFa=function(a,b){return a.j.promise.then(function(){return IFa(a.o,b)})};var LFa=function(){var a=this;this.Fb=new Map;"IS LRM DU ODS FU IE TM".split(" ").forEach(function(b){if(a.Fb.has(b))throw Error("Hc`"+b);a.Fb.set(b,new yk)})};LFa.prototype.Pd=function(a){var b=this.Fb.get(a.serviceId);if(b&&!b.g)b.callback(a);else throw Error("Ic`"+a.serviceId);};var MFa=function(a,b){a=q(a.Fb);for(var c=a.next();!c.done;c=a.next())c=q(c.value),c.next(),OV(c.next().value,function(d){DDa(d,b)})};var NFa=function(a){a.j.length===0&&(a.j=a.g,a.j.reverse(),a.g=[])},v0=function(a){NFa(a);return a.j.pop()};k=bt.prototype;k.Qa=function(){return this.j.length+this.g.length};k.Ga=function(){return this.j.length===0&&this.g.length===0};k.clear=function(){this.j=[];this.g=[]};k.contains=function(a){return Ga(this.j,a)||Ga(this.g,a)};k.remove=function(a){{var b=this.j;let c=Array.prototype.lastIndexOf.call(b,a,b.length-1);c>=0?(Ia(b,c),b=!0):b=!1}return b||Ka(this.g,a)};
k.wc=function(){var a=[];for(var b=this.j.length-1;b>=0;--b)a.push(this.j[b]);b=this.g.length;for(let c=0;c<b;++c)a.push(this.g[c]);return a};var w0=function(){vh.apply(this,arguments);this.C=new bt;this.G=this.active=this.g=!1};U(w0,vh);w0.prototype.initialize=function(){this.g||(this.g=!0,x0(this))};var x0=function(a){a.active=!0;y0(a)},y0=function(a){if(a.active&&!a.G){let b=v0(a.C);if(b)if(a.T())for(;b=v0(a.C););else{a.G=!0;let c=function(){a.G=!1;y0(a)};a.ca(b).then(c,c)}}};w0.prototype.ca=function(){return Promise.resolve(void 0)};w0.prototype.T=function(){return!0};var OFa=function(a,b){this.command=a;this.ea=b};var z0=function(a){w0.call(this);this.context=a;this.L=this.D=!1;this.o=null;this.j=1;this.H=0;this.error=null;this.pa=new ji(this);this.Ha(this.pa);this.pa.listen(this.context.lg,"q",yj(this.dispatchEvent,new dh("q",this)));PFa(this)};U(z0,w0);
var PFa=function(a){var b=a.context.Xa;A0(b,["nVUlO"],function(){a.L=!0;x0(a)});if(!et(a.context.F)){let c=jna(Gs(a.context.F));A0(b,["NSockf"],function(){c===1?QFa(a):x0(a)});c===2&&A0(b,["mrK8ic"],function(){a.D||QFa(a)})}},QFa=function(a){var b=Wt(Vt(new R,!0),301);b=EL(FL(new DL,b),1);a.refresh(b).catch(function(){})};
z0.prototype.refresh=function(a,b){var c=this;n.clearTimeout(this.H);this.H=0;var d=new us;this.o=d.promise;this.o.then(function(){RFa(c)},function(){RFa(c)});var e=this.j;this.j=Jt(a,1)||e;var f=!this.D;this.D=!0;var g=new DL;EL(g,this.j);FL(g,a.I());R_(this.context).then(function(h){return h.route(g,b)}).then(function(h){c.error=null;var l=c.context.lg;l.D(h,l.la!==0?6:1);d.resolve()},function(h){c.j=e;h=Ip(h,f?"Initial app settings refresh failed: ":"Error occurred while loading the latest set of apps.");
var l=h.qa;H(l,5,2);f?(zp(l,1),c.context.xf(l),x0(c)):zp(l,2);c.error=h;d.reject(h)});return this.o};z0.prototype.T=function(){return!1};
z0.prototype.ca=function(a){var b=this,c=a.command,d=c.request,e=c.Ar,f=c.Ye?{Ye:c.Ye}:void 0;if(!SFa(d))return R_(this.context).then(function(l){return l.route(d,f)}).then(function(l){a.ea.resolve(new bZ(l,1,!1))},function(l){a.ea.reject(Ep(l))}),Promise.resolve(void 0);c=Promise.resolve();var g=!1;this.o?TFa(this,Tn(d,1))?e=this.o:c=e=new Promise(function(l,m){b.o.then(function(){b.refresh(d,f).then(function(){return l()},m)})}):!e&&this.L&&TFa(this,Tn(d,1))&&!this.error?(g=!0,e=Promise.resolve()):
e=this.refresh(d,f);var h=a.ea;e.then(function(){var l=b.context.lg;h.resolve(new bZ(l.yh(),l.va(),g))},function(l){h.reject(l)});return c.then()};
var SFa=function(a){var b=Tn(a,1);return b===1||b===2||b===4?(b=F(a,4,B()),a=F(a,3,B()),!(b&&b.length)&&!(a&&a.length)):!1},TFa=function(a,b){return a.j===b||a.j===4||a.j===2&&b===1},RFa=function(a){a.o=null;var b=UFa(a);a.H=n.setTimeout(function(){if(a.context.Eh().g){var c=Wt(new R,306);c=FL(EL(new DL,1),c);a.refresh(c).catch(function(d){Dk("Could not schedule "+b+"ms refresh in AppSettingsManager",Ep(d),"warning")})}},b)},UFa=function(a){var b=Gs(a.context.F);a=Sg(hs(b,7,jc(9E5)));b=Sg(hs(b,4,
jc(72E5)));return Math.ceil(a*Math.random())+b};var C0=function(a){return new Lq(B0(a.getName()),a)},VFa=function(a){var b=q(eZ(a));a=b.next().value;b=b.next().value;return b!==null?C0(b.clone()):new Lq(a,null)},B0=function(a){var b=a.split("/");if(b.length<2)throw Error("Jc`"+a);return b[1]},D0=function(a){return a.value.Ea()+"_"+a.key},WFa=function(a,b){var c=F(a,1,B()).map(function(d,e){return b[e].value.sp.promise});return Promise.allSettled(c).then(function(d){return F(a,1,B()).map(function(e,f){e=e.toString();var g=new qO;e=D(g,1,e);f=d[Number(f)];
f.status==="fulfilled"?e.setStatus(1):(e.setStatus(3),K(e,3,f.reason.qa));return e})})};var XFa=nm({Z:"3.3",params:[$X,um(qm(YO),qm(ZO),qm(yL),qm(wN),qm(xN),qm(aP),qm(yN),qm(bP),qm(zN),qm(JO),qm(cP),qm(gP),qm(hP),qm(kP),qm(AN),qm(lP),qm(EN),qm($O),qm(iP))],response:qm(No)}),YFa=nm({Z:"3.4",params:[$X,um(rm(qm(YO)),rm(qm(ZO)),rm(qm(yN)),rm(qm(cP)),rm(qm(gP)),rm(qm(hP)),rm(qm(AN)),rm(qm(EN)),rm(qm($O)),rm(qm(iP)))],response:sm(um(qm(No),DBa))}),ZFa=nm({Z:"3.5",params:[$X,qm(DL),ZX],response:tm(qm(xL),$X,um(ZX,aY))}),$Fa=nm({Z:"3.6",params:[$X,um(qm(nn),qm(qo))],response:qm(kQ)}),aGa=nm({Z:"3.8",
params:[ZX],response:vm}),bGa=nm({Z:"3.9",params:[],response:vm}),cGa=nm({Z:"3.10",params:[$X,qm(AL)],response:qm(BL)}),dGa=nm({Z:"3.11",params:[$X,qm(CL)],response:qm(Wx)}),eGa=nm({Z:"3.12",params:[$X,qm(zL)],response:qm(Wx)}),fGa=nm({Z:"3.13",params:[$X,qm(GL)],response:qm(Wx)}),gGa=nm({Z:"3.14",params:[$X,qm(rP)],response:qm(wP)}),hGa=nm({Z:"3.15",params:[$X,qm(qP)],response:qm(wP)}),iGa=nm({Z:"3.16",params:[$X,qm(SP)],response:qm(TP)}),jGa=nm({Z:"3.17",params:[$X,qm(wL),$X,Bm(Cm)],response:qm(HQ)}),
kGa=nm({Z:"3.18",params:[$X,qm(vP)],response:qm(tP)}),lGa=nm({Z:"3.28",params:[qm(nN)],response:vm}),mGa=nm({Z:"3.29",params:[],response:ZX}),nGa=nm({Z:"3.30",params:[$X,qm(mP)],response:qm(eB)}),oGa=nm({Z:"3.40",params:[$X,qm(nQ)],response:qm(CA)}),pGa=nm({Z:"3.35",params:[$X,um(qm(mQ),qm(lB),qm(oQ))],response:qm(FA)}),qGa=nm({Z:"3.36",params:[ZX],response:ZX}),rGa=nm({Z:"3.37",params:[$X,qm(gO),Cm],response:tm(qm(iO),Cm)}),sGa=nm({Z:"3.38",params:[$X,qm(jO)],response:qm(kO)}),tGa=nm({Z:"3.39",params:[$X,
qm(sO)],response:rm(qm(qO))}),uGa=nm({Z:"3.41",params:[],response:vm}),vGa=nm({Z:"3.42",params:[$X,qm(eO)],response:qm(fO)}),wGa=nm({Z:"3.43",params:[qm(Uo)],response:vm}),xGa=nm({Z:"3.44",params:[$X,qm(QO)],response:qm(RO)}),yGa=nm({Z:"3.45",params:[rm(qm(wM))],response:vm}),zGa=nm({Z:"3.46",params:[],response:qm(oN)}),AGa=nm({Z:"3.47",params:[$X,qm(nP)],response:qm(oP)}),BGa=nm({Z:"3.48",params:[$X,qm(LP)],response:qm(MP)}),CGa=nm({Z:"3.50",params:[],response:vm}),DGa=nm({Z:"3.51",params:[$X,qm(YP)],
response:qm(aQ)}),EGa=nm({Z:"3.52",params:[$X,qm(UP)],response:qm(WP)}),FGa=nm({Z:"3.53",params:[$X,qm(hQ)],response:qm(iQ)}),GGa=nm({Z:"3.54",params:[$X,qm(bQ)],response:qm(fQ)});var E0=function(a,b,c,d){s_.call(this,"IS",b);var e=this;this.context=a;this.j=null;this.B=!1;this.o=null;this.pa=new ji(this);this.Yh=new us;this.th=new Q_(a);dt(this.th);this.Ha(this.pa);this.C=new z0(a);this.Ha(this.C);this.pa.listen(this.C,"q",function(){return void c(new UY(2))});this.L=d;this.g=Promise.resolve(R_(this.context));this.ja(jGa,function(){return e.fs.apply(e,r(cc.apply(0,arguments)))});this.ja(kGa,function(){return e.gs.apply(e,r(cc.apply(0,arguments)))});this.ja(lGa,function(){return e.sync.apply(e,
r(cc.apply(0,arguments)))});this.ja(mGa,function(){return e.Hr.apply(e,r(cc.apply(0,arguments)))});this.ja(nGa,function(){return e.bp.apply(e,r(cc.apply(0,arguments)))});this.ja(oGa,function(){return e.js.apply(e,r(cc.apply(0,arguments)))});this.ja(pGa,function(){return e.So.apply(e,r(cc.apply(0,arguments)))});this.ja(qGa,function(){return e.Id.apply(e,r(cc.apply(0,arguments)))});this.ja(rGa,function(){return e.hs.apply(e,r(cc.apply(0,arguments)))});this.ja(sGa,function(){return e.jq.apply(e,r(cc.apply(0,
arguments)))});this.ja(tGa,function(){return e.Cp.apply(e,r(cc.apply(0,arguments)))});this.ja(uGa,function(){return void e.Vh.apply(e,r(cc.apply(0,arguments)))});this.ja(vGa,function(){return e.tn.apply(e,r(cc.apply(0,arguments)))});this.ja(wGa,function(){return void e.vf.apply(e,r(cc.apply(0,arguments)))});this.ja(xGa,function(){return e.Gn.apply(e,r(cc.apply(0,arguments)))});this.ja(yGa,function(){return void e.nb.apply(e,r(cc.apply(0,arguments)))});this.ja(zGa,function(){return e.yn.apply(e,r(cc.apply(0,
arguments)))});this.ja(AGa,function(){return e.qn.apply(e,r(cc.apply(0,arguments)))});this.ja(BGa,function(){return e.Yn.apply(e,r(cc.apply(0,arguments)))});this.ja(CGa,function(){return void e.Ih.apply(e,r(cc.apply(0,arguments)))});this.ja(iGa,function(){return e.fo.apply(e,r(cc.apply(0,arguments)))});this.ja(hGa,function(){return e.Jn.apply(e,r(cc.apply(0,arguments)))});this.ja(gGa,function(){return e.uo.apply(e,r(cc.apply(0,arguments)))});this.ja(eGa,function(){return e.Uk.apply(e,r(cc.apply(0,
arguments)))});this.ja(fGa,function(){return e.Bp.apply(e,r(cc.apply(0,arguments)))});this.ja(cGa,function(){return e.xh.apply(e,r(cc.apply(0,arguments)))});this.ja(dGa,function(){return e.vo.apply(e,r(cc.apply(0,arguments)))});this.ja(bGa,function(){return void e.Xh.apply(e,r(cc.apply(0,arguments)))});this.ja(aGa,function(){return void e.oc.apply(e,r(cc.apply(0,arguments)))});this.ja($Fa,function(){return e.Ro.apply(e,r(cc.apply(0,arguments)))});this.ja(ZFa,function(){return e.yh.apply(e,r(cc.apply(0,
arguments)))});this.ja(YFa,function(){return e.rn.apply(e,r(cc.apply(0,arguments)))});this.ja(XFa,function(){return e.H.apply(e,r(cc.apply(0,arguments)))});this.ja(DGa,function(){return e.io.apply(e,r(cc.apply(0,arguments)))});this.ja(EGa,function(){return e.ho.apply(e,r(cc.apply(0,arguments)))});this.ja(FGa,function(){return e.pp.apply(e,r(cc.apply(0,arguments)))});this.ja(GGa,function(){return e.hm.apply(e,r(cc.apply(0,arguments)))})};U(E0,s_);
E0.prototype.H=function(a,b){var c=F0(this,a);en(b)&&(S(b,9)||b.rk(bq()));return this.g.then(function(d){return d.route(b,c)}).catch(function(d){d=Ip(d);Ap(d.qa,80);throw d;})};E0.prototype.So=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,82));})};
E0.prototype.rn=async function(a,b){var c=F0(this,a);a=[];var d=[];b=q(b);for(var e=b.next();!e.done;e=b.next())e=e.value,Zm(e)?a.push(String(C(e,1))):Xn(e)?a.push(String(C(e,1))):a.push(String(e.K())),d.push((await this.g).route(e,c));try{let f=await Promise.allSettled(d);c={};for(d=0;d<f.length;d++){let g=f[d];c[a[d]]=Zs(g)?g.value:g.reason}return c}catch(f){throw Ip(f);}finally{this.context.ha().Ub.Hc()}};
E0.prototype.yh=function(a,b,c){c={Wn:c};return(Jt(b,1)===3?HGa(this,a,b,c):IGa(this,a,b,c)).then(function(d){return[d.response,d.la,d.fb]},function(d){throw new G(void 0,Hp(d,65));})};
var HGa=function(a,b,c,d){return!d.Wn&&a.j?a.j:JGa(a,b,c).then(function(e){setTimeout(function(){a.j=null},9E5);a.j=Promise.resolve(new bZ(e.response,e.la,!0));return e}).catch(function(e){a.j=null;throw Ip(e);})},JGa=async function(a,b,c){b=F0(a,b);a=await (await a.g).route(c,b);return new bZ(a,1,!1)},IGa=function(a,b,c,d){b={request:c,Ar:d.Wn,Ye:a.context.L[b]};k_(a.context.Xa,"Qubz4b");a=a.C;try{let f=new us;a.C.g.push(new OFa(b,f));y0(a);var e=f.promise}catch(f){e=Promise.reject(Ep(f))}return e};
E0.prototype.Ro=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,81));})};E0.prototype.oc=function(a){if(a!==this.context.jb().cb()){var b=this.context.Md;b.o?NW(b.o.j,!0,!0):b.oc(a);a||KGa(this.context.Md)}};
E0.prototype.Id=function(a){var b=this;return Promise.resolve(this.context.Id(a)).then(function(c){c&&(b.context.o().Id(a),b.L(a));return c}).then(function(c){return LGa(b,c,a)}).catch(function(c){throw new G(void 0,Hp(c,85));})};var LGa=function(a,b,c){return b||Q(a.context.F,10)?a.context.xb.pi().catch(function(){return!c}):Promise.resolve(!c)};
E0.prototype.sync=function(a){var b=this;return Promise.all([this.context.yj.promise,this.context.pf.promise]).then(function(){return MGa(b)}).then(function(){return mt(b.context,a)}).then(function(){var c;if((c=JD(a))==null?0:Q(c,74)){c=b.context.ha().bc;var d=c.sync,e=b.context.ha().Oa;let l=new Set;e=q(e.j.mc().values());for(var f=e.next();!f.done;f=e.next()){f=f.value.getItem();for(var g=q(qq(f)),h=g.next();!h.done;h=g.next())h=h.value,S(h,11)&&l.add(C(h,11));(g=O(f,rq,17))&&S(g,11)&&l.add(C(g,
11));(g=O(f,rq,47))&&S(g,11)&&l.add(C(g,11));(g=O(f,rq,91))&&S(g,11)&&l.add(C(g,11));(f=O(f,rq,95))&&S(f,11)&&l.add(C(f,11))}c=d.call(c,l)}else c=Promise.resolve();return c}).then(function(){return b.context.xb.pi()}).then(function(){}).catch(function(c){throw new G(void 0,Hp(c,86));})};var MGa=function(a){return a.context.Sc.promise.then(function(b){return b.sync()})};k=E0.prototype;k.Xh=function(){try{let a=this.context.hh;a&&a.fm();this.context.ra.Xh()}catch(a){throw new G(void 0,Hp(a,83));}};
k.Ih=function(){this.context.Ih()};k.Vh=function(){this.context.Vh()};k.xh=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,66));})};k.vo=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,72));})};k.Uk=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,61));})};
k.Bp=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,87));})};k.uo=function(a,b){var c=this,d=F0(this,a),e=b.ih();return this.g.then(function(f){return f.route(b,d)}).then(function(f){return NGa(c,e,[f.Gg()]).then(function(){return f})}).catch(function(f){throw new G(void 0,Hp(f,71));})};
k.Jn=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,63));})};k.fo=function(a,b){var c=this,d=F0(this,a);return this.g.then(function(e){return e.route(b,d)}).then(function(e){return jv(c.context.F)?Promise.resolve(OGa(c.context.ha().bc,e)):Promise.resolve(e)}).catch(function(e){throw new G(void 0,Hp(e,68));})};
k.fs=function(a,b,c,d){var e=new uo(b,c,d),f=F0(this,a);return this.g.then(function(g){return g.route(e,f)}).catch(function(g){throw new G(void 0,Hp(g,73));})};k.gs=function(a,b){var c=this,d=F0(this,a),e=zB(b,uP,3).K();return this.g.then(function(f){return f.route(b,d).then(function(g){return NGa(c,e,qpa(zB(g,sP,1))).then(function(){return g})})}).catch(function(f){throw new G(void 0,Hp(f,76));})};var NGa=function(a,b,c){return jv(a.context.F)?Promise.resolve(PGa(a.context.ha().bc,c,b)):Promise.resolve()};
k=E0.prototype;k.bp=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(null,Hp(d,84));})};k.Hr=function(){return!0};k.js=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,78));})};k.vf=function(a){this.context.ha().vf(a)};k.tn=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,58));})};
k.Cp=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).then(function(d){return WFa(b,d.map(function(e){return e.result}))}).catch(function(d){throw new G(void 0,Hp(d,88));})};k.hs=function(a,b,c){var d=new Bo(b,c),e=F0(this,a);return this.g.then(function(f){return f.route(d,e)}).then(function(f){return[f.response,f.pageToken]},function(f){throw new G(void 0,Hp(f,77));})};
k.jq=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,67));})};k.Gn=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,60));})};k.nb=function(a){this.context.ha().nb(a);this.context.ha().Ub.Hc()};k.yn=function(){return Promise.resolve(QGa(this.context.Md)).catch(function(a){throw new G(void 0,Hp(a,59));})};
k.qn=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,57));})};k.Yn=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,64));})};k.io=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,96));})};
k.ho=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,95));})};k.pp=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,97));})};k.hm=function(a,b){var c=F0(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new G(void 0,Hp(d,98));})};
k.initialize=function(){var a=this;if(!this.o){let b=new us;this.o=b;this.context.da("sync.cacheproxy.WorkerSyncedItemService").info("Initializing with client build: "+L(this.context.F,62));this.pa.listen(this.context,VY,function(f){f=f.error;var g=f.qa;g&&g.getType()===3&&!a.B?(a.B=!0,b.reject(f)):a.context.da("sync.cacheproxy.WorkerSyncedItemService").Da("An error occurred in the Shared Worker",f)});let c=this.context.Xa,d=["NSockf"];et(this.context.F)&&d.push("BNEDtc");A0(c,d,function(){a.B||(a.B=
!0,a.o.resolve())});A0(c,["GZTDpc"],function(){return void a.Yh.resolve()});let e=function(){a.context.Sc.promise.then(function(f){return void f.start()})};A0(c,["T8oKm",Q(this.context.F,10)?"BNEDtc":"ZA9qG"],function(){return void e()});A0(c,["T8oKm","mrK8ic"],function(){return void e()});c.start();k_(c,"NSockf")}return this.o.promise};k.Wo=function(){return this.Yh.promise};k.Xc=function(){var a=this.context.hh;a&&a.dispose();return this.context.Xc()};
var F0=function(a,b){return(a=a.context.L[b])?{Ye:a}:{}};var RGa=nm({Z:"10.1",params:[$X,Cm,qm(Dpa),Am(qm(lA))],response:qm(lA)}),SGa=nm({Z:"10.2",params:[$X,Cm],response:vm});var G0=function(){},TGa={0:2E3,1:3E3,2:5E3},H0=function(a,b){this.request=a;this.C=b;this.g=IT();this.continuationToken="";this.o=0;this.le=this.B=!1;this.j=G0};H0.prototype.run=function(a){var b=this;this.B||(this.B=!0,UGa(this));a&&(this.j=a);return this.g.promise.then(function(c){b.j=G0;b.o=0;return c},function(c){b.j=G0;b.o=0;return Promise.reject(c)})};
var UGa=function(a){if(a.le)a.g.resolve((new lA).setStatus(8));else{var b=new Go(a.request,a.continuationToken);a.C.then(function(c){return c.route(b)}).then(function(c){VGa(a,c)},function(c){a.handleError(c)})}},VGa=function(a,b){var c;a.continuationToken=(c=L(b,1))!=null?c:"";a.j(b);a.continuationToken?setTimeout(function(){UGa(a)},WGa(a.o++,a.D)):a.g.resolve(b)};H0.prototype.handleError=function(a){a=Ip(a);var b=Tn(a.qa,10);(b=b&&XGa[b])?this.g.resolve((new lA).setStatus(b)):this.g.reject(a)};
H0.prototype.cancel=function(){this.le=!0};var I0={},XGa=(I0[53]=3,I0[54]=6,I0[40]=9,I0[65]=10,I0[49]=11,I0[67]=12,I0),WGa=function(a,b){return b?b:(a=TGa[a])?a:1E4};var J0=function(a,b){s_.call(this,"TM",b);this.j=a;this.g=new Map;this.ja(RGa,this.run.bind(this));this.ja(SGa,this.cancel.bind(this))};U(J0,s_);J0.prototype.run=function(a,b,c,d){var e=this,f=a+":"+b;a=new H0(c,this.j);this.g.set(f,a);return Promise.resolve(a.run(d)).catch(function(g){throw new G(void 0,Hp(g,89));}).finally(function(){e.g.delete(f)})};J0.prototype.cancel=function(a,b){this.g.get(a+":"+b).cancel()};var YGa=function(a){dh.call(this,"celloinitializationstate");this.state=a};U(YGa,dh);var K0=function(a){this.P=a;this.j=new Map;this.B=new Set;this.enabled=!0;this.error=null;this.o=!1},A0=function(a,b,c){if(a.o)throw Error("Kc");c={Il:new Set(b),callback:c};b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;let e=a.j.get(d)||[];e.push(c);a.j.set(d,e)}},aHa=function(a,b,c){a.enabled||ZGa(a);b=b.filter(function(e){return!a.B.has(e)});if(b.length>0){c={Il:new Set(b),callback:c};b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;let e=a.j.get(d)||[];e.push(c);a.j.set(d,e)}}else $Ga(a,
c)},k_=function(a,b){if(!a.o)throw Error("Lc");a.enabled||ZGa(a);a.log("Passing Milestone: "+b);a.B.add(b);var c=a.j.get(b);if(c){a.j.delete(b);for(let d=0;d<c.length;++d){let e=c[d];e.Il.delete(b);e.Il.size===0&&$Ga(a,e.callback)}}};K0.prototype.g=function(a){return this.B.has(a)};K0.prototype.start=function(){this.o=!0};
var $Ga=function(a,b){try{b()}catch(c){throw a.enabled=!1,a.error=c?Ep(c):null,c;}},ZGa=function(a){throw Error("Mc`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));};K0.prototype.log=function(a){this.P.da("MilestoneManager").info(a)};var L0=function(){vh.call(this)};U(L0,vh);L0.prototype.Xh=function(){this.dispatchEvent("r")};var M0=function(a){vh.call(this);this.G=a;this.la=0};U(M0,vh);var bHa=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};$x(a,F(a,4,B()).map(b));Zx(a,F(a,5,B()).map(b));return a};M0.prototype.D=function(){};M0.prototype.va=function(){return this.la};var cHa=new Set([1,2,4,5,6]),N0=function(a,b,c){M0.call(this,b);this.C=c;this.j={};this.o=[];this.status=6;this.g=!1;this.J=a.da("sync.appsettings.InMemoryAppSettingsCache")};U(N0,M0);N0.prototype.yh=function(){var a=new xL;if(!oh(this.j)){Ju(a,4,this.o);let b=[];fh(this.j,function(c){b.push(c.clone())});yu(a,2,b)}a.setStatus(this.status);return a};var dHa=function(a,b){a.j[L(b,1)]=bHa(b);a.C.update(1).catch(function(c){Dk("Failed to update via put",Ep(c),"warning")});a.dispatchEvent(new dh("q",a))};
N0.prototype.remove=function(a){ph(this.j,a)&&this.C.update(1).catch(function(b){Dk("Failed to update via remove",Ep(b),"warning")})};N0.prototype.D=function(a,b,c){c=c===void 0?!1:c;var d=!cHa.has(b);this.status===1&&d||(this.la=b,eHa(this,a,!d||c),d||this.C.update(1).catch(function(e){Dk("Failed to update via bulkImport",Ep(e),"warning")}),this.g||(this.g=!0,this.J.info("Apps initialized."),k_(this.G,"nVUlO")))};
var eHa=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=F(b,4,B(Rr));if(!d)if(e.length!==a.o.length)d=!0;else{let g=e.concat(a.o);Ta(g);d=g.length!==a.o.length}a.o=e;var f=qh(a.j);lba(a.j);b=z(b,Yx,2,B());d||(d=b.length!==lh(f));b.forEach(function(g){var h=bHa(g);a.j[L(g,1)]=h;d||(g=f[L(g,1)],d=!g||!Gw(h,g))});a.J.info((c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new dh("q",a))};var qt=function(a){var b=this;this.connectionState=a;this.B=new us;this.j=new us;this.enabled=!0;this.g=this.C=!1;this.D=function(){b.enabled&&b.C&&O0(b)};this.o=new ji;this.o.listen(this.connectionState,TY.Gc,this.D)},O0=function(a){a.enabled&&!a.g&&(a.g=!0,fHa(a),a.B.promise.then(function(b){b().then(function(c){a.j.resolve(c)})}))},fHa=function(a){a.enabled&&(a.enabled=!1,a.o.Xf(a.connectionState,TY.Gc,a.D),a.g||(a.g=!0,a.j.resolve(!1)))},vt=function(a,b){a.B.resolve(b)},gHa=function(a){a.enabled&&
(a.C=!0,a.connectionState.cb()&&O0(a))};var hHa=function(a){dh.call(this,"s");this.o=a};U(hHa,dh);var pt=function(){vh.call(this);this.ep=null};U(pt,vh);pt.prototype.notify=function(a){this.ep=a;this.dispatchEvent(new hHa(a))};nt.prototype.j=0;nt.prototype.reset=function(){this.g=this.o=this.B;this.j=0};nt.prototype.getValue=function(){return this.o};var P0=function(a){a.g=Math.min(a.C,a.g*a.G);a.o=Math.min(a.C,a.g+(a.D?Math.round(a.D*(Math.random()-.5)*2*a.g):0));a.j++};var Q0=function(a,b){nt.call(this,a?a:500,b?b:6E5)};U(Q0,nt);var Ada=function(a,b,c){var d=this;this.o=a;this.B=b;this.C=c;this.g=void 0;this.D=new ji;this.j=new Q0;this.D.listen(this.B,"s",function(e){R0(d,e.o)});(a=this.B.ep)&&R0(this,a)},iHa=function(a){a.j.reset();clearTimeout(a.g);a.g=void 0},jHa=async function(a,b){var c=!0;await a.C(b).catch(function(){return c=!1});if(!c)return iHa(a),!1;R0(a,Date.now());return!0},R0=function(a,b){iHa(a);a.g=setTimeout(function(){kHa(a)},Math.max(b+a.o-Date.now(),6E4))},kHa=async function(a){await a.C(1507).catch(function(){return a.g=
void 0});a.g?R0(a,Date.now()):(a.g=setTimeout(function(){kHa(a)},a.j.getValue()),P0(a.j))};var S0=function(a,b,c,d){this.request=a;this.response=b;this.la=c===void 0?0:c;this.fb=d===void 0?!1:d};var T0=function(a,b){dh.call(this,a);this.data=b};U(T0,dh);T0.prototype.V=function(){return this.data.request};T0.prototype.ab=function(){return this.data.response};T0.prototype.va=function(){return this.data.la};var U0=function(a,b){vh.call(this);this.T=a;this.g=b;this.H=$h();this.cache=new Map;this.j=[];this.G=!1;this.o=null};U(U0,vh);U0.prototype.gl=function(){return this.H};
var Y0=function(a,b,c){c=c===void 0?null:c;var d=a.ig(b);if(d!==2){a.g&&gHa(a.g);let g=null,h;var e=V0(a,b);e.request&&e.response&&a.qd(e.request,b,!1)&&(g=e.response,h=e.la);if(g)return Promise.resolve(new S0(e.request,g,h,!0));if(d===1)return!g&&a.g?(O0(a.g),e=W0(a).then(function(){var l=V0(a,b);l.request&&l.response&&a.qd(l.request,b,!1)&&(g=l.response,h=l.la)})):e=Promise.resolve(),e.then(function(){return new S0(b,g,h,!!g)})}e=q(a.j);for(var f=e.next();!f.done;f=e.next())if(f=f.value,a.qd(f.V(),
b,!0))return f.getData();return Promise.all([b].map(function(g){var h=new X0(a.oh(g));a.j.push(h);if(g=d!==2?c:null)h.He=!0;(g!=null?g:Promise.resolve()).then(function(){h.He=!1;lHa(a)});return h.getData()})).then(function(g){return g[0]})},V0=function(a,b){a=a.cache.get(a.gl(b));var c,d;return new S0((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.la,!(a==null||!a.response))};U0.prototype.ig=function(){return 0};
var lHa=function(a){if(a.j.length!==0&&!a.j[0].g&&!a.j[0].He){var b=a.j[0];if(a.G)mHa(b);else{b.g=!0;var c=a.ao(b.V());c.g.requestId=b.requestId;(b.resolved&&a.qd(b.V(),c.request,!0)?Promise.resolve():nHa(a,c).then(function(d){oHa(a,c.request,d,1);b.resolve(c.request,d,1,!1)},function(d){a.g&&a.ig(b.V())!==2&&O0(a.g);b.reject(d)})).then(function(){Ka(a.j,b);lHa(a)})}}};U0.prototype.ao=function(a){return new pHa(a)};var nHa=function(a,b){return a.T.then(function(c){return c.route(b.request,b.g)})};
U0.prototype.set=function(a,b,c){var d=oHa(this,this.oh(a),b,c);if(d)for(var e=q(this.j),f=e.next();!f.done;f=e.next())f=f.value,this.qd(a,f.V(),!1)&&f.resolve(a,b,c,!0);return d};var oHa=function(a,b,c,d){var e=V0(a,b);if(e.request&&!a.qd(b,e.request,!1)||!a.Di(b,c))return!1;e=a.gl(b);a.cache.set(e,new S0(b,c,d));b=V0(a,b);a.no(b);a.o&&a.dispatchEvent(new T0(a.o,b));a.g&&(a=a.g,a.enabled&&fHa(a));return!0};U0.prototype.no=function(){};
var mHa=function(a){a.reject(Ip("Data unavailable in coldstart"))},W0=function(a){return a.g?a.g.j.promise:Promise.resolve(!1)},X0=function(a){this.request=a;this.resolved=this.He=this.g=!1;this.requestId=$h();this.ea=new us};X0.prototype.V=function(){return this.request};X0.prototype.resolve=function(a,b,c,d){this.resolved||(this.resolved=!0,this.ea.resolve(new S0(a,b,c,d)))};X0.prototype.reject=function(a){this.resolved||(this.resolved=!0,this.ea.reject(a))};X0.prototype.getData=function(){return this.ea.promise};
var pHa=function(a){var b=b===void 0?{}:b;this.request=a;this.g=b};var Z0=function(a,b,c){c=c===void 0?!1:c;dr.call(this,a,b===void 0?0:b);nZ(this,c)};U(Z0,dr);var rt=function(a,b,c){U0.call(this,a,c);this.L=b;this.C=new Set;this.D=!1};U(rt,U0);k=rt.prototype;
k.get=function(a){var b=null;if(!this.D&&p_!==void 0){this.D=!0;let c=CDa();c&&(b=Promise.race([c,new Promise(function(d){setTimeout(d,100)})]))}return Y0(this,a,b).then(function(c){var d,e,f=(e=(d=c.response)==null?void 0:d.na())!=null?e:1;c=(new Z0(c.response||(new VK).setStatus(f),c.la,c.fb)).setStatus(f);TK(a);var g,h;d=(h=(g=c.response)==null?void 0:g.clone())!=null?h:null;return new Z0(d,c.la,c.fb)})};k.oh=function(a){return a.clone()};
k.ig=function(a){if(P(a,3)||P(a,4)){if(Q(a,3)&&!Q(a,4))return 1;if(!Q(a,3)&&Q(a,4))return 2}return 0};k.qd=function(a,b,c){var d=new Set(TK(a));a=TK(b);return(c?d.size===a.length:!0)&&a.every(function(e){return d.has(e)})};k.ao=function(a){var b=[].concat(r(new Set([].concat(r(TK(a)),r(this.C)))));b.sort();return new pHa(Xt(a.clone(),b))};
k.Di=function(a,b){var c=V0(this);a=TK(a);var d=new Set(a),e,f;return((e=c.response)==null?0:e.oe())&&(Ug(jt(c.response,4))>((f=Ug(jt(b,4)))!=null?f:0)||[].concat(r(this.C.values())).some(function(g){return!d.has(g)}))?!1:!0};k.no=function(a){var b=this;TK(a.request).forEach(function(c){b.C.add(c)});(a=V0(this).response)&&YF(a,4)&&this.L.notify(Ug(jt(a,4)))};
k.refresh=function(a){var b=V0(this),c;if((c=b.response)==null||!c.oe())return Promise.resolve();var d;b=Ut(Vt(Wt(((d=b.request)==null?void 0:d.I())||new R,a),!1),2);a=Yt(UK(new ht),b);return this.get(a).then(function(){})};var Cda=function(a){return function(b){return a.refresh(b)}};rt.prototype.Vd=function(){var a=V0(this).response;if(a){var b=new WK;var c=Xt(new ht,[].concat(r(this.C)));b=K(b,1,c);a=K(b,2,a)}else a=null;return a};var $0=function(a,b){this.o=a;this.C=b;this.g=new Map};k=$0.prototype;k.nj=function(a){return this.g.get(this.o(a))};k.size=function(){return this.g.size};k.pb=function(a,b){var c=this.o(b),d=this.g.get(c),e=!d;d||(d=this.C(b),this.g.set(c,d));d.pb(a).catch(function(f){Dk("registerLiveRequest failed for liveRequestId:"+a,Ep(f),"warning")});return e};k.Mb=function(a,b){var c=this.g.get(this.o(b));c&&(c.Mb(a),c.isDisposed()&&this.g.delete(this.o(b)))};
k.bb=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.g.forEach(function(g){g.bb(f,b,c,d)})};k.isValid=function(){return!0};k.Df=function(a,b){(a=this.g.get(this.o(a)))&&a.Gd(b)};k.jg=function(a,b,c,d){var e=this.o(b),f=this.g.get(e);f||(f=this.C(b),f.rb(c),this.g.set(e,f),this.bb(a,d))};var n0=function(a,b,c){b=a.o(b);return a.g.get(b).refresh(c)};var a1=function(a,b){bh.call(this);this.request=b;this.Bc=new Set;this.status=6;this.D=new Map;this.la=0;this.ca=!1;this.B=Promise.resolve(a)};U(a1,bh);k=a1.prototype;k.S=function(){return this.status};k.pb=function(a){this.Bc.add(a);this.we();return this.af(a)};k.Mb=function(a){this.Bc.has(a);this.Bc.delete(a);this.Bc.size===0&&this.dispose()};k.va=function(){return this.la};k.rb=function(a){this.la=a};
k.bb=function(a,b,c,d){c=c===void 0?1:c;d=d===void 0?null:d;var e=!1;a=q(a);for(var f=a.next();!f.done;f=a.next())e=this.Mc(f.value,c)||e;if(!b)if(d){if(Gw(d,this.request)||e)e=!0,this.status=1}else e=this.status!==1||e,this.status=1;return e?(this.ca=!0,this.Rg().then(function(){return e},function(){return e})):Promise.resolve(!1)};k.Rg=function(){var a=this;return Promise.all([].concat(r(this.Bc)).map(function(b){return a.af(b)})).then(function(){})};
k.Gd=function(a){this.status=3;for(var b=[],c=q(this.Bc.values()),d=c.next();!d.done;d=c.next()){let e=d.value;b.push(this.B.then(function(f){return void f.Gd(e,a)}))}return nva(b)};k.ae=function(a,b){var c=a?this.D.get(a)||null:null;b=l_(c,b);this.D.set(a,b)};k.af=function(a){var b=this;return this.B.then(function(c){b.ca&&c.af(a,b.vc())})};var b1=function(a,b,c){a1.call(this,b,c);this.g=a;this.data=null;this.fb=!1};U(b1,a1);b1.prototype.we=function(){qHa(this)};b1.prototype.refresh=function(a){var b=UK(this.request.clone());a&&Yt(b,a);return this.getData(b)};var qHa=function(a){a.data===null&&a.getData(a.request).then(function(){},function(b){b=b.qa;a.Gd(new qZ(b,b.jd()))})};b1.prototype.getData=function(a){var b=this;return this.g.get(a).then(function(c){b.rb(c.la);var d;b.fb=(d=c.fb)!=null?d:!1;b.bb([c.response],!1)})};
b1.prototype.vc=function(){var a=this.data||new VK,b;return nZ(new Z0(a,this.va()),this.fb).setStatus((b=a.na())!=null?b:6)};b1.prototype.Mc=function(a){this.data=a;return!0};var st=function(a,b,c){$0.call(this,function(e){var f=TK(e).join(",");Q(e,3)&&(f.length&&(f+="|"),f+="cachedOnly");Q(e,4)&&(f.length&&(f+="|"),f+="networkOnly");return f},function(e){return new b1(d.j,d.B,e)});var d=this;this.B=a;this.j=b;this.D=c;this.pa=new ji;this.pa.listen(this.j,"t",function(e){d.bb([e.ab()],!1)})};U(st,$0);var rHa=function(a,b){return jHa(a.D,b)};
st.prototype.sync=async function(a,b){b=b===void 0?0:b;a=a.clone();a=N(a,4);a=N(a,3);b=b?Date.now()-b:0;var c=this.j,d=c.get;var e=a.clone();e=I(e,3,!0);c=(await d.call(c,e)).response;(!b||!YF(c,4)||Ug(jt(c,4))<b)&&await this.j.get(UK(a.clone()))};var zda=function(a,b,c,d){a.va()!==1&&a.va()!==6&&a.va()!==2||b.update(7).catch(function(g){Dk("Failed to update from AccountAndUserSettingsUpdateEvent",Ep(g),"warning")});a=a.ab().oe();var e;(b=a==null?void 0:(e=a.getMetadata())==null?void 0:L(e,2))&&c(b);var f;d&&(a==null?0:(f=O(a,rq,1))==null?0:L(f,11))&&sHa(d,a)};var c1=function(a,b,c){this.id=a;this.j=b;this.g=c},d1=function(a,b){return new c1((a?a:b).getId(),a,b)},e1=function(a){return new c1(a.getId(),null,a)};var f1=function(a,b){this.Db=a;this.Ac=b;this.Jc=!0;this.qh=!1;this.la=0;this.sn=1},g1=function(a,b){(a.Jc=b)||a.Hc()};k=f1.prototype;k.Lc=function(a){this.sn=a};k.Nb=function(){return this.sn};k.ll=function(a,b){if(this.kd(a)===5)throw Error("Nc");for(var c=[],d=q(this.mc()),e=d.next();!e.done;e=d.next())e=e.value,h1(this.Db,a,e.getItem())&&c.push(e);this.Ac.sort(a,c,b);return c};k.getSize=function(){return this.mc().length};
k.update=function(a){var b=this.zc(a.j),c=this.zc(a.g);if(!b&&!c)return!1;b&&this.Uc(a.j);c&&this.Se(a.g);return!0};k.kd=function(a){return this.Jc&&this.qh?tHa(this.Db,a)?1:5:5};k.Of=function(){this.qh=!0};k.zc=function(a){return!!a&&this.Jc};k.rb=function(a){this.la=a};k.va=function(){return this.la};var i1=function(a,b,c,d,e,f){f=f===void 0?"":f;f1.call(this,a,b);var g=this;this.B=c;this.nextPageToken=f;this.W=[];this.g={};this.request=VZ(c,d,!0);this.cacheKey=XZ(c,d);this.j=!e;uHa(this,e);this.o=function(h,l){return g.Ac.compare(g.request,h,l)}};U(i1,f1);k=i1.prototype;k.V=function(){return this.request};k.Me=function(){return this.cacheKey};
k.Se=function(a){var b=this.g[a.getId()];b&&this.Uc(b);Xa(this.W,a,this.o);this.g[a.getId()]=a;a.count++;this.W.length>this.request.La()&&(this.Uc(Ba(this.W)),this.j=!1)};k.Uc=function(a){Ya(this.W,a,this.o);ph(this.g,a.getId());a.count--};k.Hc=function(){this.W.forEach(function(a){a.count--});this.W=[];this.g={}};k.mc=function(){return this.W};k.kd=function(a){var b;if(b=this.B.equals(this.request,a,!0))a=a.Ca(),b=this.request.Ca(),b=Lr(b,a);return b?this.j?1:6:5};
k.ll=function(a,b){if(this.kd(a)===5)throw Error("Nc");b=b?Math.min(b,this.W.length):this.W.length;return Ra(this.W,0,b)};k.zc=function(a){if(!f1.prototype.zc.call(this,a)||!h1(this.Db,this.request,a.getItem()))return!1;if(this.j||Q(this.request,48))return!0;var b=Ba(this.W);return!!b&&this.o(a,b)<=0};k.If=function(){return this.j?!1:!0};k.getType=function(){return"CacheHintCorpusCache"};
k.Ta=function(a,b){var c=this,d=Ba(this.W);!this.j&&d&&aaa(a,function(e){return e.getId()===d.getId()})&&(b?(this.Uc(d),uHa(this,Ba(a))):this.j=!0);Za(a,function(e){c.update(e1(e))})};var uHa=function(a,b){b&&h1(a.Db,a.request,b.getItem())&&a.Se(b)};var j1=function(a,b,c,d){this.O=a;this.B=b;this.j=c;this.o=d},Nw=function(a,b){return(b=a.j.get(b))?(b=b.clone(),vHa(a.o,[b.getItem()],a.O.zf()),b):null};j1.prototype.g=function(a){return(a=Nw(this,a))?a.getItem():null};var s0=function(a,b){var c={};b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;let e=Nw(a,d);e&&(c[d]=e)}return c};j1.prototype.cd=function(a){return jh(s0(this,a),function(b){return b.getItem()})};var u0=function(a,b){b=VZ(a.B,b);return a.j.query(b).map(function(c){return c.clone()})};
j1.prototype.query=function(a){return u0(this,a).map(function(b){return b.getItem()})};j1.prototype.getSize=function(){return this.j.mc().size};
var wHa=function(a){var b=new Set;a=q(a.j.mc().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=q(qq(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||L(e,11));(d=O(c,rq,17))&&b.add(d.getId()||L(d,11));(d=O(c,rq,47))&&b.add(d.getId()||L(d,11));(d=O(c,rq,91))&&b.add(d.getId()||L(d,11));(c=O(c,rq,95))&&b.add(c.getId()||L(c,11))}return b.size};var k1=function(a){bh.call(this);this.B=a;this.id=bq();this.o=this.data=this.request=null;this.g=new Set};U(k1,bh);k1.prototype.getId=function(){return this.id};k1.prototype.V=function(){return this.request};var BFa=function(a,b){a.o||(a.o=b)};k1.prototype.Yf=function(a){xHa(this,a,!0)};
var xHa=function(a,b,c){var d=[].concat(r(b.Ca()));d.sort();b.Ci(d);a.request&&Va(a.request.Ca(),b.Ca());yHa(a,b,c);Gw(a.request,b)?a.data&&a.B(a.data):(c=a.request,a.request=b,a.o(c,b))},yHa=function(a,b,c){var d=new Set,e=b.xa().filter(function(g){var h=a.g.has(g);h&&d.add(g);return!h});if(c&&d.size!==a.g.size){c=q(a.g.values());for(var f=c.next();!f.done;f=c.next())if(f=f.value,!d.has(f)){a.g.delete(f);let g;(g=a.data)==null||delete g.response[f]}}e.sort();b.jc(e)},xFa=function(a,b){if(a.request&&
a.g.size)for(var c=q(a.g.values()),d=c.next();!d.done;d=c.next())b.response[d.value]=null;c=!1;if(a.data)if(a.data.S()!==b.S()||Object.values(a.data.response).length!==Object.values(b.response).length)c=!0;else{d=q(Object.entries(b.response));for(var e=d.next();!e.done;e=d.next()){var f=q(e.value);e=f.next().value;f=f.next().value;if(a.data.response[e]&&f){if(!Gw(a.data.response[e],f)){c=!0;break}}else if(!!a.data.response[e]!==!!f){c=!0;break}}}else c=!0;c&&(a.data=b,a.B(a.data))};
k1.prototype.j=function(a){var b;!this.g.has(a)&&((b=this.request)==null?0:b.xa().includes(a))&&(this.g.add(a),xHa(this,this.request.clone(),!1))};var l1=function(a){bh.call(this);var b=this;this.H=a;this.D=new Set;this.C=this.o=this.g=this.G=this.B=null;this.L=!1;this.Je=new k1(function(c){b.B=c;var d;b.G=(d=c.S())!=null?d:null;zHa(b)});JR(this,function(){b.Je.dispose();b.g&&b.g.dispose()});JR(this.Je,function(){b.dispose()})};U(l1,bh);var AFa=function(a,b){a.C=b;a.g&&b.mp(a.g)};l1.prototype.Yf=function(a){var b=this;this.C.sr.then(function(){AHa(b,a,!0)})};
var AHa=function(a,b,c){if(!a.isDisposed()){b.xa(Rr).sort();var d=a.C.isTeamDrive,e=b.xa().filter(function(g){return d(g)}),f=null;e.length>0&&(f=Cpa((new NP).jc(e).Ci(b.Ca()),b.I()));BHa(a,f);Gw(b,a.Je.V())?c&&a.B&&a.H(a.B):a.Je.Yf(b)}};l1.prototype.j=function(a){if(!this.isDisposed()){var b;if(!this.D.has(a)&&((b=this.Je.V())==null?0:b.xa().includes(a))){this.D.add(a);this.Je.j(a);let c,d;b=(c=this.g)==null?void 0:(d=c.V())==null?void 0:d.xa();this.g&&(b==null?0:b.includes(a))&&this.g.j(a)}}};
var zHa=function(a){var b=a.B,c=a.Je.V();c&&AHa(a,c,!1);b&&(a.L&&(a.G===1&&a.o?b.setStatus(a.o):b.setStatus(a.G)),a.H(b))},BHa=function(a,b){if(b===null)a.g&&(a.g.dispose(),a.g=null,a.o=null);else{var c=!1;if(!a.g){c=!0;a.g=new k1(function(e){var f;a.o=(f=e.S())!=null?f:null;zHa(a)});let d=a.C.mp;d(a.g)}Gw(b,a.g.V())||(a.o=6,a.g.Yf(b));if(c)for(b=q(a.D),c=b.next();!c.done;c=b.next())a.g.j(c.value)}};var CHa=function(a,b){bh.call(this);var c=this;this.C=b;this.j=new Map;this.g=new Map;this.B=null;this.o=new l1(function(d){if(!c.isDisposed()){c.j.clear();d=q(Object.entries(d.response));for(var e=d.next();!e.done;e=d.next()){var f=q(e.value);e=f.next().value;var g=f.next().value;f=c.j;var h=f.set,l;if(g){var m=l=void 0,p=new VL,t=g.K();p=D(p,1,t);t=jt(g,75);p=Vr(p,2,t).setTitle(g.Ma());t=(m=g.Fi())!=null?m:0;m=Vr(p,4,t);p=E(g,76);m=I(m,6,p);p=g.Hi();m=I(m,7,p);p=E(g,7);m=I(m,8,p);p=C(g,140);m=D(m,
9,p);p=g.xd();m=D(m,10,p);p=C(g,21);m=D(m,11,p);p=lM(g);m=D(m,12,p);p=F(g,50,B(Rr));if((p==null?void 0:p.length)>0){t=p;p=new WB;for(let w=t,A=0;A<w.length;A++)t=Pya(w[A]),Qya(p,t);p=ie(p);K(m,5,p)}S(g,72)&&(p=m,t=kM(g),D(p,12,t));if(p=ds(g,TL,73))p=mM(g),p=P(p,3);p&&(p=m,g=(l=mM(g))==null?void 0:E(l,3),I(p,13,g));l=new WL;l=K(l,1,m)}else l=null;h.call(f,e,l)}c.C()}});this.Ha(this.o);p0(a,this.o);this.fields=[].concat(r(SZ.values())).map(function(d){return NCa.get(d)}).filter(function(d){return!!d}).sort()};
U(CHa,bh);
var DHa=function(a,b){return Promise.resolve(a).then(function(c){return new CHa(c,b)})},EHa=function(a,b){var c=b.zn;b=b.parentId;for(var d=0,e=!1,f=!1,g=q(a.g.entries()),h=g.next();!h.done;h=g.next()){var l=q(h.value);h=l.next().value;l=l.next().value;h===b?(e=!0,f=l.has(c)):(l.delete(c),l.size===0&&(a.g.delete(h),a.j.delete(h),d++))}return f||b===null?d>0:(e||a.g.set(b,new Set),a.g.get(b).add(c),!0)},m1=function(a,b){var c;EHa(a,{zn:b.getId(),parentId:(c=$L(b)[0])!=null?c:null})&&FHa(a)},FHa=function(a){a.B||
(a.B=Promise.resolve().then(function(){var b=IP((new xB).jc([].concat(r(a.g.keys()))),a.fields);a.o.Yf(b);a.B=null}))},GHa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=$L(c)[0];d?a.j.has(d)&&(d=a.j.get(d),d===null?N(c,156):vM(c,d)):N(c,156)}};var o1=function(a,b,c){c=c===void 0?!1:c;bh.call(this);var d=this;this.context=a;this.hn=c;this.fc=new Map;this.Bc=new Set;this.tc=6;this.Aj=!0;this.la=0;this.Ue=null;this.Fo=!1;this.J=a.da(b);this.pa=new ji(this);this.Ha(this.pa);JR(this,function(){n1(d,6);d.rb(0);d.Oj();for(var e=q(d.fc.values()),f=e.next();!f.done;f=e.next()){let g;(g=f.value)!=null&&g.count--}d.fc.clear()})};U(o1,bh);k=o1.prototype;k.pb=function(a){this.nn(a);this.Bc.add(a);this.resize(!0);this.af(a)};k.nn=function(){};
k.Mb=function(a){this.Bc.delete(a);this.Bc.size!==0||this.ul()?this.resize(!1):this.dispose()};k.va=function(){return this.la};k.rb=function(a){this.la=a};
var n1=function(a,b){b===6&&a.Aj||(a.Aj=!1,a.tc=b)},q1=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=q(Object.entries(c)),f=e.next();!f.done;f=e.next()){var g=q(f.value);f=g.next().value;if(g=g.next().value)g=g.clone(),c[f]=g,d.push(g)}}c=b.filter(function(h){return SZ.has(h)});p1(a.context.ha(),d,b);c.length&&(a.Ue?GHa(a.Ue,d):HHa(a));d.forEach(function(h){bs(a.context.vk,h,new Set(b));if(kM(h)){var l=Ns(h);if(Rs(h)){if(l){var m=l;l=E(l,
13);m=I(m,12,l);fx(gx(m,!1),!1)}}else Sk(h)?l&&(m=I(l,3,!1),I(m,64,!1)):l&&ix(I(l,42,!1),!1)}Qs(h)})};o1.prototype.getSize=function(){return this.fc.size};var HHa=function(a){a.Fo||(a.Fo=!0,DHa(a.context.Ed.promise,function(){a.Rg()}).then(function(b){if(a.isDisposed())b.dispose();else{a.Ue=b;a.Ha(a.Ue);b=q(a.fc.values());for(var c=b.next();!c.done;c=b.next())(c=c.value)&&m1(a.Ue,c.getItem())}}).catch(function(b){Dk("Could not get LocationTracker",Ep(b),"warning")}))};
o1.prototype.Ta=function(a,b,c){IHa(this,a,b,c,!0)};var IHa=function(a,b,c,d,e){e=e===void 0?!0:e;if(!a.isDisposed()&&a.jp()){var f=!1;b=q(b);for(var g=b.next();!g.done;g=b.next())g=e1(g.value),f=a.Mc(g,!0)||f;c?c=!1:(c=a.tc,n1(a,1),c=c!==1);f=c||f;d&&(e?a.rb(a.Mk(d)):a.rb(d));a.ro();f&&a.Rg()}};o1.prototype.Mk=function(a){a===1&&this.va()!==0&&(a=6);return a};o1.prototype.jp=function(){return!0};o1.prototype.ro=function(){};
var r1=function(a,b){var c=!1;b.forEach(function(d){c=a.Mc(d)||c});c&&a.Rg();return c};
o1.prototype.Mc=function(a,b){b=b===void 0?!1:b;if(this.isDisposed())return!1;var c=a.g,d=a.id,e=(a=a.j)&&this.zc(a,b),f=c&&this.zc(c,b);(d=this.fc.get(d))?(b||d.o||(e?a&&a!==d&&fu(this.context.M,179174018):JHa(this,"Updating existing item but old wrapper did not match")),a=d,e=!0):(a=null,e=!1);if(!e&&!f)return!1;if(e)if(f){if(c===d)return!1;if(b=this.mk(a,c)){a.count--;this.fc.set(c.getId(),c);c.count++;var g;(g=this.Ue)==null||m1(g,c.getItem())}}else{if(g=a,b=this.Uc(g))this.hn?KHa(this,g.getId()):
(g.count--,this.fc.delete(g.getId())),(c=this.Ue)!=null&&(g=g.getItem(),EHa(c,{zn:g.getId(),parentId:null})&&FHa(c))}else if(b=this.Se(c)){this.fc.set(c.getId(),c);c.count++;let h;(h=this.Ue)==null||m1(h,c.getItem())}return b};var LHa=function(a,b){var c=a.fc.get(b);c&&(a.fc.delete(b),c.count--)},KHa=function(a,b){if(a.hn){let c=a.fc.get(b);c&&c.count--;a.fc.set(b,null)}};k=o1.prototype;k.Rg=function(){var a=this;this.mn();this.Bc.forEach(function(b){a.af(b)})};k.mn=function(){};
k.af=function(a){var b=o0(s1(this.context),a);this.qo(b)||(b=this.vc(b),s1(this.context).af(a,b))};k.qo=function(){return!1};k.Gd=function(a){var b=this;n1(this,3);this.Bc.forEach(function(c){s1(b.context).Gd(c,a)})};k.ul=function(){return Q(this.context.F,97)?!0:!1};var JHa=function(a,b){var c=lO(Ap(zp(new wp,2),16));a.context.dispatchEvent(new WY(new G(b,c)))};var NHa=function(a){dh.call(this,MHa);this.id=a};U(NHa,dh);var MHa=new ch("xW2Yod");var t1=new ch("WPi0i"),u1=function(a,b,c){dh.call(this,a);this.changes=b;this.la=c};U(u1,dh);var v1=function(a,b){u1.call(this,OHa,a,b)};U(v1,u1);var OHa=new ch("IvY88d");var w1=function(a){dh.call(this,PHa);this.Kl=a};U(w1,dh);var PHa=new ch("I8AUpe");var QHa=OHa,x1=MHa,RHa=PHa,y1=new ch("SDqDXe"),SHa=$Ba;var A1=function(a,b,c,d,e){vh.call(this);var f=this;this.request=a;this.F=b;this.ga=c;this.Hb=d;this.Vl=[];this.Rj=[];this.items={};this.hd=e||a;this.ea=new us;this.Ge=new Set;this.qr=bca(function(){try{let w=f.Rj;f.Rj=[];let A=f.Vl;f.Vl=[];let M=[];for(var g=q(w),h=g.next();!h.done;h=g.next()){let da=h.value,ja=z1(f.Hb,da)?null:da;ja&&M.push(da);f.items[da.getId()]=ja}if(Nt(dq(f.F))){let da=f.ga.Oa;for(var l=q(M),m=l.next();!m.done;m=l.next()){let ja=m.value,Ja=da.g(sq(ja));Ja&&gy(ja,$L(Ja).slice())}}f.ga.Ta(M,
1,f.hd,!0,void 0,1);g=[];for(var p=q(A),t=p.next();!t.done;t=p.next()){let da=t.value;g.push(yM(xM(new wM,da)));f.items[da]=null;f.dispatchEvent(new NHa(da))}f.ga.nb(g);f.Dd()}catch(w){Dk("b/377634900 handleQueue exception",w instanceof Error?w:Error("Oc",{cause:w}),"severe")}})};U(A1,vh);k=A1.prototype;k.getPromise=function(){return this.ea.promise};k.handleError=function(a){var b=new qZ(a.qa,a.qa.jd());this.ga.Df(this.request,b);this.dispatchEvent(b);this.ea.reject(a)};
k.mo=function(a){this.Rj.push.apply(this.Rj,r(a))};k.nl=function(a){this.Vl.push(a)};k.bi=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())this.Ge.add(b.value);this.qr()};k.Dd=function(){this.isCompleted()?(this.ga.Ta([],1,this.hd,!1,void 0,1),this.dispatchEvent(y1),this.ea.resolve(this.items)):this.dispatchEvent(t1)};k.isCompleted=function(){return this.Ge.size>=this.request.xa().length};var B1=function(a,b,c,d,e,f,g,h,l){l=l===void 0?!1:l;vh.call(this);this.request=a;this.J=c.da("sync.query.ViewCacheFindByIdsRunner");this.g=new A1(a,b,d,g,h);THa(this);this.j=new Ks(a,b,f,this.g,c,e,l)};U(B1,vh);B1.prototype.run=function(){this.j.run();return this.g.getPromise()};
var THa=function(a){Sp(a.g,t1,function(b){a.dispatchEvent(b);a.J.info("ViewCacheFindByIdsRunner change "+a.request.xa())});Sp(a.g,y1,function(b){a.dispatchEvent(b);a.J.info("ViewCacheFindByIdsRunner complete "+a.request.xa())});Sp(a.g,x1,function(b){a.dispatchEvent(b);a.J.info("ViewCacheFindByIdsRunner not found "+a.request.xa())});Sp(a.g,SHa,function(b){a.dispatchEvent(b);a.J.Da("ViewCacheFindByIdsRunner error "+a.request.xa(),Ip(b.error))})};var C1=function(a,b){o1.call(this,a,"drive.ds.sync.cache.IdViewCache",!0);this.request=b;this.g=null;this.j=0;this.o=UZ(this.request);this.O=a.O};U(C1,o1);
C1.prototype.refresh=function(){var a=this;if(this.g)return this.g;n1(this,6);if(Q(this.request,5))return this.j=this.request.xa().length,n1(this,1),Promise.resolve();var b=this.Aj?!D1(this.O,this.request.Ca()):!1,c=[];this.request.xa().forEach(function(e){if(e!=="root"&&e!==a.context.md()){var f=a.fc.get(e),g=(f==null?void 0:f.getItem())||null;if(f=!f||g&&Wk(g)!==1||b)g=g&&O(g,Xs,81),f=!(g&&Um(g,2));f&&c.push(e)}});this.j=this.request.xa().length-c.length;if(c.length===0)return this.Ta([],!1),Promise.resolve();
var d=this.request.clone();d.jc(c);d=new B1(d,this.context.F,this.context.P,this.context.ha(),this.context.M,Promise.resolve(R_(this.context)),this.context.Hb,this.request);if(this.context.jb().cb()){let e=this.getSize()>0;n1(this,e?1:2)}return this.g=UHa(this,d).finally(function(){a.g=null})};var UHa=function(a,b){var c=function(d){KHa(a,d.id)};a.pa.listen(b,x1,c);return b.run().then(function(){}).finally(function(){a.pa.Xf(b,x1,c)})};k=C1.prototype;
k.Wi=function(a){var b;if((b=this.context.Ab.equals(a,this.request,!0))&&!(b=D1(this.O,a.Ca()))){a:{b=this.O;var c=this.request.Ca(),d=a.Ca();a=new Set;c=q(c);for(var e=c.next();!e.done;e=c.next())e=e.value,b.Re(e)||a.add(e);d=q(d);for(c=d.next();!c.done;c=d.next())if(c=c.value,!b.Re(c)){if(!a.has(c)){b=!1;break a}a.delete(c)}b=a.size===0}b=b&&this.Aj}return b?!0:!1};
k.vc=function(a){for(var b={},c=q(this.fc.entries()),d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;d=this.o&&d===this.context.md()?"root":d;b[d]=(e==null?void 0:e.getItem())||null}c=pZ(new dr(b,this.va()),this.j).setStatus(jv(this.context.F)&&Vk([].concat(r(this.fc.values())))?6:this.tc);q1(this,a.Ca(),b);return c};k.resize=function(){};k.V=function(){return this.request};
k.zc=function(a){a=this.o&&a.getId()===this.context.md()?"root":a.getId();return Ga(this.request.xa(),a)};k.Se=function(){return!0};k.Uc=function(){return!0};k.mk=function(){return!0};k.Oj=function(){};var E1=function(a,b,c,d,e,f,g){vh.call(this);this.P=a;this.ca=b;this.F=c;this.G=d;this.request=e;this.maxItems=0;this.D=!1;this.nextPageToken="";this.g=new Set;this.j=0;this.C=null;this.la=1;this.o=void 0;this.H=f||!1;this.L=g||!1;this.T=this.Wl(e)};U(E1,vh);k=E1.prototype;k.Eo=function(a,b){if(!this.D&&b){this.D=!0;this.nextPageToken=b;b=0;a=q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.g.has(c)&&b++,this.g.add(c);this.j=b}};
k.Do=async function(a,b,c,d){if(!this.D)return this.D=!0,this.nextPageToken=c,this.la=d,b.Ga()||this.dispatchEvent(new w1(b)),VHa(this,a.map(function(e){return e.clone()}))};k.nd=function(){return!this.D||this.nextPageToken!==""};k.Ig=function(){return!1};k.ni=async function(a){this.maxItems=a;this.g.size<this.maxItems&&!this.od()&&this.nd()?await WHa(this):await XHa(this)};var XHa=async function(a){if(a.od()){var b;a.o=(b=a.o)!=null?b:new us;await a.o.promise}};
E1.prototype.cancel=function(){this.C&&(this.log("Canceling query runner request "+this.C+". Results will not be processed."),this.C=null)};E1.prototype.Qa=function(){return this.g.size};
var WHa=async function(a){var b=Math.min(a.maxItems-a.g.size+a.j,yt(a.maxItems)-a.g.size,1E3);a.log("Get more items called with limit of "+b);var c=new Zo;b=J(c,1,b);b=await YHa(a,b);return VHa(a,b)},YHa=async function(a,b){var c=a.T.clone();if(a.L){var d=Ut(c.I()||new R,2);Wo(c,d)}c=$o(c);c=D(c,2,a.nextPageToken);c=K(c,1,b);a.D=!0;d=$h();a.C=d;var e=await a.ca;try{let l=await e.route(c,{requestId:d});if(a.od()){a.C=null;var f=l.ab();var g;a.nextPageToken=(g=l.Bb())!=null?g:"";let m=kDa(f);m.Ga()||
a.dispatchEvent(new w1(m));var h=f.Sa()}else h=[];return h}catch(l){return a.handleError(b,l)}};E1.prototype.handleError=async function(a,b){if(!this.od())return[];b=Ip(b);this.C=null;if(b.qa.j()===5)return[];if(b.qa.j()===10){var c=zn(a,1,1E3)/2;c=Math.ceil(c-2E-15);if(c>1)return b=YHa,a=a.clone(),a=J(a,1,c),b(this,a)}a=new qZ(b.qa,b.qa.jd());this.Rm(a);F1(this,b);this.dispatchEvent(a);throw b;};
var VHa=async function(a,b){if(a.isDisposed())F1(a);else{var c=b.filter(function(e){var f=S(e,1)?!a.g.has(e.K()):!1;f&&a.g.add(e.K());return f});a.j+=b.length-c.length;b=q(c);for(var d=b.next();!d.done;d=b.next())d=d.value,It(d,82)||Sr(d,a.H?2:1);b=[];c=q(a.fp(c));for(d=c.next();!d.done;d=c.next())d=d.value,d=zM(xM(new wM,d.K()),d),b.push(d);b.length&&a.dispatchEvent(new u1(t1,b));if(a.g.size<a.maxItems&&a.nextPageToken)return WHa(a);F1(a);a.dispatchEvent(y1)}};k=E1.prototype;k.fp=function(a){return a};
k.Rm=function(){};k.od=function(){return!this.isDisposed()&&this.C!==null};k.V=function(){return this.request};k.Wl=function(a){a=a.clone();var b;if(b=this.H)b=ww(this.F,DB,4),b=Hl(b,60)===0;b&&I(a,46,!0);return a};var F1=function(a,b){a.o&&(b?a.o.reject(b):a.o.resolve(),a.o=void 0)};E1.prototype.log=function(a){this.P.da("sync.query.QueryRunner").info(a)};var G1=function(a,b,c){E1.call(this,a.P,R_(a),a.F,a.ha().Oa,b,void 0,c);this.context=a};U(G1,E1);G1.prototype.fp=function(a){a=ZHa(this.context.Hb,a);var b=this.context.ha(),c=b.Ta,d=this.request,e=this.nd(),f=this.la;this.la=void 0;c.call(b,a,1,d,e,void 0,f);return a};G1.prototype.Rm=function(a){this.context.ha().Df(this.request,a)};
G1.prototype.Wl=function(a){a=E1.prototype.Wl.call(this,a);var b,c,d,e=(d=(b=this.F)==null?void 0:(c=JD(b))==null?void 0:Q(c,47))!=null?d:!1;b=a;var f=[].concat(r(dv(b)),r(Lu(b)));if(Nu(b).length===0&&f.length>0){c=new Set;d=!0;f=q(f);for(var g=f.next();!g.done;g=f.next()){g=this.G.g(g.value.getValue());if(!g){d=!1;break}c.add(kM(g)||null);if(c.size>1){d=!1;break}}if(d&&c.size===1&&(c=q(c.values()).next().value,c!=null&&!la(c))){f=this.G.g(c);if(d=f!=null)d=Ns(f),d=Um(d,44);d&&Xo(Yo(b,[c]),2)}}if(e&&
(e=a,c=[].concat(r(dv(e)),r(Lu(e))),Nu(e).length===0&&c.length>0)){b=!0;c=q(c);for(d=c.next();!d.done;d=c.next()){d=this.G.g(d.value.getValue());if(!d){b=!1;break}if(kM(d)){b=!1;break}}b&&I(e,66,!1)}$Ha(this,a);return a};var $Ha=function(a,b){if(dv(b).some(function(c){return(c=a.G.g(L(c,1)))&&Um(c,108)})){let c=b.I();c||(c=new R,Wo(b,c));Wt(c,937)}};var aIa=function(a,b,c,d){this.context=a;this.O=b;this.j=c;this.g=d},eIa=function(a,b){b&&(a.log("Processing potential rejoin for TD: "+b),bIa(a,b),cIa(a),dIa(a,b))},bIa=function(a,b){var c=Xo(mna(Yo(new Uo,[b]),a.O.zb()),1),d=Wt(new R,306);Wo(c,d);a.context.xb.pause();var e=new G1(a.context,c);e.ni(5E3).then(function(){e.dispose();a.context.xb.resume()}).catch(function(f){Dk("refreshSubscribedTdItems tdId:"+b+" failed",Ep(f),"warning")})},cIa=function(a){var b=mh(a.j).filter(function(d){return d instanceof
C1}),c=new Set;b.forEach(function(d){d.V().xa().forEach(function(e){a.g.get(e)||c.add(e)})});b=Wt(new R,310);a.log("Re-querying missing find-by-ids:"+c.size);H1(a,[].concat(r(c)),b).catch(function(d){Dk("Could not refresh "+c.size+" missing IDs",Ep(d),"warning")})},dIa=function(a,b){var c=[];fIa(a.context.ha().kg,b).forEach(function(d){fh(a.j,function(e){Gw(e.V(),d)&&c.push(e)})});Ta(c);c.length>0&&(a.context.xb.pause(),c.forEach(function(d){d=XZ(a.context.Ab,d.V(),3);a.log("Refreshing "+b+" cache: "+
d)}),Promise.all(c.map(function(d){return d.refresh().then(null,function(){})})).catch(function(){}).finally(function(){return void a.context.xb.resume()}))},H1=function(a,b,c,d,e,f,g){d=d===void 0?!1:d;g=g===void 0?!1:g;b=b.filter(function(l){if(typeof l!=="string"||la(l))return!1;if(g){let m;l=(m=a.g.get(l))==null?void 0:m.getItem();return!l||Wk(l)!==1}return!0});if(b.length===0)return Promise.resolve({});b=JP(xpa(IP((new xB).jc(b),e||a.O.zb())),c);f&&f.length&&yu(b,11,f);a.context.xb.pause();var h=
gIa(a,b,d);d=h.run();d.then(function(){h.dispose();a.context.xb.resume()},function(){h.dispose();a.context.xb.resume()});return d},gIa=function(a,b,c){return new B1(b,a.context.F,a.context.P,a.context.ha(),a.context.M,Promise.resolve(R_(a.context)),a.context.Hb,void 0,c)};aIa.prototype.log=function(a){this.context.P.da("sync.cache.CacheRefresher").info(a)};var I1=function(a,b){f1.call(this,a,b);this.W=new Map};U(I1,f1);I1.prototype.Se=function(a){this.W.set(a.getId(),a);a.count++};I1.prototype.Uc=function(a){this.W.delete(a.getId());a.count--};I1.prototype.Hc=function(){for(var a=q(this.W.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.W=new Map};I1.prototype.mc=function(){return Array.from(this.W.values())};
var hIa=function(a){var b=[],c=[];a=q(a.W);for(var d=a.next();!d.done;d=a.next()){d=q(d.value);d.next();d=d.next().value;let e=d.g;e===1?b.push(d.getId()):e===2&&c.push(d.getId())}return{Un:b,Tn:c}};var J1=function(a,b,c,d,e){e=e===void 0?5E3:e;I1.call(this,b,c);this.F=a;this.teamDriveId=d;this.Wb=e};U(J1,I1);k=J1.prototype;
k.kd=function(a){var b=this,c=I1.prototype.kd.call(this,a);if(c===5)return c;c=dv(a);var d=c.every(function(f){var g=L(f,1),h=b.W.get(g);g=h!=null||b.teamDriveId===g;var l,m=((l=JD(b.F))==null?0:Q(l,18))?h&&(h.g===1||b.Nb()===0):!0;return g&&!f.Ya()&&m});if(c.length>0&&d)return 1;var e;if((e=JD(this.F))==null?0:Q(e,18))return Nu(a)[0]===this.teamDriveId&&this.Nb()===0?1:5;a=Nu(a);return a.length!==0&&a.includes(this.teamDriveId)?1:5};
k.zc=function(a){var b,c;if(c=I1.prototype.zc.call(this,a)&&!!a)c=a.getItem(),c=L(c,72)===this.teamDriveId;return c&&(((b=JD(this.F))==null?void 0:Q(b,18))||!Rs(a.getItem()))};k.If=function(){var a;return((a=JD(this.F))==null?0:Q(a,18))?this.Nb()===1:!1};k.V=function(){return Xo(Yo(new Uo,[this.teamDriveId]),2)};k.Me=function(){return null};k.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var K1=function(a,b,c){bh.call(this);this.context=a;this.g=b;this.ea=null;a=Wt(Vt(new R,!1),305);this.request=Wo(c.clone(),a);this.pa=new ji(this);this.Ha(this.pa)};U(K1,bh);
K1.prototype.run=function(){var a=this;if(!this.ea){let b=new us;this.ea=b;if(Q(this.request,48))return this.g.rb(9),b.resolve(this.g),b.promise;let c=new E1(this.context.P,R_(this.context),this.context.F,this.context.ha().Oa,this.request,!0);this.pa.listen(c,t1,function(d){d=q(d.changes);for(var e=d.next();!e.done;e=d.next())e=e.value.getItem(),a.g.update(e1(new q0(e)))});this.pa.listen(c,y1,function(){if(a.g instanceof i1){var d=a.g,e=!c.nd();d.j=e}else((d=a.context.F)==null?0:(e=JD(d))==null?0:
Q(e,18))&&a.g instanceof J1?a.g.Lc(c.nd()?1:0):c.nd()&&g1(a.g,!1);a.g.rb(5);b.resolve(a.g)});this.pa.listen(c,SHa,function(d){b.reject(Ep(d.error))});c.ni(this.request.La()).catch(function(){})}return this.ea.promise};var L1=function(a,b){I1.call(this,a,b);this.Of()};U(L1,I1);k=L1.prototype;k.kd=function(a){var b=this,c=I1.prototype.kd.call(this,a);if(c===5)return c;if(Nu(a).length>0)return 5;a=dv(a);return a.length>0?a.every(function(d){return(d=b.W.get(L(d,1)))&&!kM(d.getItem())&&d.g===1})?1:5:5};k.zc=function(a){return I1.prototype.zc.call(this,a)&&!(a==null?0:kM(a.getItem()))};
k.ll=function(a,b){for(var c=[],d=q(this.mc()),e=d.next();!e.done;e=d.next())e=e.value,h1(this.Db,a,e.getItem())&&c.push(e);this.Ac.sort(a,c,b);return c};k.V=function(){return new Uo};k.Me=function(){return null};k.getType=function(){return"MyDriveCorpusCache"};k.If=function(){return!1};var M1=function(a,b,c,d,e){I1.call(this,a,b);var f=this;this.j=d;this.F=e;var g,h;this.g=((h=(g=Xl(e))==null?void 0:zn(g,76))!=null?h:0)>0;A0(c,["aU7Ts","BNEDtc"],function(){return void f.Of()})};U(M1,I1);M1.prototype.kd=function(a){var b=I1.prototype.kd.call(this,a);if(b==5)return b;(b=Nu(a).length>0)||(ds(a,ev,86)?(b=O(a,ev,86),b=!!(Um(b,3)||Um(b,1)||Um(b,2))):b=!1);return b?5:this.g?(a=dv(a),a.length===0?1:(a=a[0].Ia())&&this.W.get(a)?1:5):(a=iIa(this,a))?a:1};
var iIa=function(a,b){b=dv(b);if(b.length===0)return null;var c=!1;b=b.every(function(g){g=(g=g.Ia())&&a.W.get(g);if(!g||lM(g.getItem())||!Uk(g.getItem()))return!1;var h=g.getItem();C(h,46)||g.getItem().K()===a.j()||(c=!0);g=g.getItem();return!E(g,108)});var d,e,f=(e=(d=WC(a.F))==null?void 0:Q(d,59))!=null?e:!1;c&&f&&(b=!1);return b?1:5};M1.prototype.zc=function(a){I1.prototype.zc.call(this,a)?this.g?(a=a.getItem(),a=S(a,46)):a=jIa(this,a.getItem()):a=!1;return a};
var jIa=function(a,b){if(Um(b,31)||!a.qh)return!0;var c=a.j();return $L(b).some(function(d){var e=a.W.get(d);return d==c||e!=null&&Uk(e.getItem())})};k=M1.prototype;k.Of=function(){I1.prototype.Of.call(this);if(!this.g)for(var a=q(this.W),b=a.next();!b.done;b=a.next()){var c=q(b.value);b=c.next().value;c=c.next().value;jIa(this,c.getItem())||(c.count--,this.W.delete(b))}};k.V=function(){return new Uo};k.Me=function(){return null};k.getType=function(){return this.g?"LinkedCorpusCache":"SubscribedCorpusCache"};
k.If=function(){return!1};var N1=function(a,b){this.B=a;this.P=b;this.C=[];this.j=this.g=null;this.o=[];a=new Uo;$D(a);b=new So;H(b,1,11);H(b,2,2);Vo(a,b);this.D=VZ(this.B,a,!0)};N1.prototype.add=function(a){a instanceof M1?this.g=a:a instanceof L1?this.j=a:a instanceof i1?(this.P.da("sync.cache.CorpusCacheList").info("Adding new cache hint for "+XZ(this.B,a.V(),2)),this.C.push(a)):a instanceof J1&&this.o.push(a)};
N1.prototype.remove=function(a){var b=this;if(a instanceof M1)this.g&&(g1(this.g,!1),this.g=null);else if(a instanceof L1)this.j&&(g1(this.j,!1),this.j=null);else if(a instanceof i1){var c=Da(this.C,function(d){return b.B.equals(d.V(),a.V())});c>=0&&(g1(this.C[c],!1),Ia(this.C,c))}else a instanceof J1&&(c=Da(this.o,function(d){return b.B.equals(d.V(),a.V())}),c>=0&&(g1(this.o[c],!1),Ia(this.o,c)))};
var kIa=function(a){var b=[];a.g&&b.push(a.g);a.j&&b.push(a.j);Pa(b,Na(a.C));Pa(b,Na(a.o));return b},T_=function(a,b){b=b===void 0?!1:b;return a.C.filter(function(c){return a.g&&b?(c=c.V().clone(),N(c,32),N(c,26),!Gw(a.D,c)):!0})};N1.prototype.Cf=function(){return Na(this.o)};var lIa=function(a,b){return jF(a.o,function(c){return c.teamDriveId===b})},mIa=function(a,b){b=VZ(a.B,b,!0);return T_(a).find(function(c){return a.B.equals(c.V(),b)})};var nIa=function(){this.j=[];this.g=!1},pIa=function(a,b){return new Promise(function(c,d){a.j.push(function(){return b.then(c).catch(d)});a.g||(a.g=!0,oIa(a))})},oIa=function(a){var b=a.j.shift();b==null?a.g=!1:b().then(function(){return new Promise(function(c){setTimeout(function(){c()},0)})}).then(function(){return void oIa(a)})};var P1=function(a,b){dh.call(this,O1);this.cache=a;this.changes=b};U(P1,dh);var O1="u";var Q1=function(a,b,c){return b.then(function(d){for(var e=new Map,f=q(a.mc()),g=f.next();!g.done;g=f.next()){g=g.value;var h=g.getId();Ws(g.getItem());e.set(h,CW(c,new q0(g.getItem()),g.g,"sync.cache.CorpusCachePopulator"))}f=q(d.items);for(g=f.next();!g.done;g=f.next()){g=g.value;h=C(g,2);h=e.get(h)||null;let l=g.getItem();Q(g,3)||!l?h&&a.update(new c1(h.getId(),h,null)):(Ws(l),a.update(d1(h,CW(c,new q0(l),(h==null?void 0:h.g)||0,"sync.cache.CorpusCachePopulator"))))}a.Of();return d.it})};var qIa=function(){this.o=[];this.j=this.g=0},rIa=function(a,b){if(!c)var c=b.length;var d=a.g,e=a.j,f=a.o;for(let g=0;g<c;++g){d=d+1&255;e=e+f[d]&255;let h=f[d];f[d]=f[e];f[e]=h;b[g]^=f[f[d]+f[e]&255]}a.g=d;a.j=e};cF(zt,Xp);zt.prototype.reset=function(){this.g.reset();this.g.update(this.j)};zt.prototype.update=function(a,b){this.g.update(a,b)};zt.prototype.digest=function(){var a=this.g.digest();this.g.reset();this.g.update(this.o);this.g.update(a);return this.g.digest()};var R1=function(){this.blockSize=-1;this.blockSize=64;this.g=[];this.C=[];this.D=[];this.o=[];this.o[0]=128;for(let a=1;a<this.blockSize;++a)this.o[a]=0;this.B=this.j=0;this.reset()};U(R1,Xp);R1.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.g[4]=3285377520;this.B=this.j=0};
var S1=function(a,b,c){c||(c=0);var d=a.D;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(b=16;b<80;b++)c=d[b-3]^d[b-8]^d[b-14]^d[b-16],d[b]=(c<<1|c>>>31)&4294967295;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3],g=a.g[4];for(let m=0;m<80;m++){if(m<40)if(m<20){var h=f^c&(e^f);var l=1518500249}else h=c^e^f,l=1859775393;else m<60?(h=c&e|f&(c|e),l=2400959708):
(h=c^e^f,l=3395469782);h=(b<<5|b>>>27)+h+g+l+d[m]&4294967295;g=f;f=e;e=(c<<30|c>>>2)&4294967295;c=b;b=h}a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+c&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295;a.g[4]=a.g[4]+g&4294967295};
R1.prototype.update=function(a,b){if(a!=null){b===void 0&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.C,f=this.j;d<b;){if(f==0)for(;d<=c;)S1(this,a,d),d+=this.blockSize;if(typeof a==="string")for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){S1(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){S1(this,e);f=0;break}}this.j=f;this.B+=b}};
R1.prototype.digest=function(){var a=[],b=this.B*8;this.j<56?this.update(this.o,56-this.j):this.update(this.o,this.blockSize-(this.j-56));for(var c=this.blockSize-1;c>=56;c--)this.C[c]=b&255,b/=256;S1(this,this.C);b=0;for(c=0;c<5;c++)for(let d=24;d>=0;d-=8)a[b]=this.g[c]>>d&255,++b;return a};var At=function(a){this.key=a;this.g=new R1;this.j=new zt(new R1,fa(a))};At.prototype.encrypt=function(a){var b=[];for(var c=0;c<16;c++)b[c]=Math.floor(Math.random()*256);b=ha(b);c=sIa(this,a);return b.concat(c,tIa(this,b,a,!0))};At.prototype.decrypt=function(a){var b=tIa(this,a.substring(0,16),a.substring(36),!1);a=a.substring(16,36);var c=sIa(this,b);if(a!==c)throw Error("Pc");return b};
var sIa=function(a,b){a=a.j;b=ka(b);a.reset();a.update(b);b=a.digest();return ha(b)},tIa=function(a,b,c,d){a.g.reset();a.g.update(b);a.g.update(a.key);b=new qIa;a=a.g.digest();if(!e)var e=a.length;var f=b.o;for(var g=0;g<256;++g)f[g]=g;g=0;for(var h=0;h<256;++h){g=g+f[h]+a[h%e]&255;var l=f[h];f[h]=f[g];f[g]=l}b.g=0;b.j=0;e=b.g;a=b.j;f=b.o;for(g=0;g<1536;++g)e=e+1&255,a=a+f[e]&255,h=f[e],f[e]=f[a],f[a]=h;b.g=e;b.j=a;if(d){d="";for(e=0;e<c.length/8192;e++)a=ka(c.substring(e*8192,(e+1)*8192)),rIa(b,
a),d+=ha(a);return d}d=[];for(a=0;a<c.length/8192;a++){e=c.substring(a*8192,(a+1)*8192);f=n.Uint8Array?new Uint8Array(e.length):Array(e.length);for(g=0;g<e.length;g++)f[g]=e.charCodeAt(g)&255;rIa(b,f);d.push(f)}if(d.length){for(c=0;c<d.length-1;c++)if(d[c].length!==8192)throw Error("Qc");c=(d.length-1)*8192+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=T1(d,e++),f<128?b[a++]=String.fromCharCode(f):f>191&&f<224?(g=T1(d,e++),b[a++]=String.fromCharCode((f&31)<<6|g&63)):f>239&&f<365?(g=T1(d,e++),h=
T1(d,e++),l=T1(d,e++),f=((f&7)<<18|(g&63)<<12|(h&63)<<6|l&63)-65536,b[a++]=String.fromCharCode(55296+(f>>10)),b[a++]=String.fromCharCode(56320+(f&1023))):(g=T1(d,e++),h=T1(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(g&63)<<6|h&63));b.length=a;c=b.join("")}else c="";return c},T1=function(a,b){return a[Math.floor(b/8192)][b%8192]};var uIa=function(a,b,c){this.data=a;this.g=b;this.o=c;this.j=!1};uIa.prototype.getData=function(){return this.data};var U1=function(a){this.g=new At(a)};U1.prototype.encrypt=function(a){return this.g.encrypt(a)};U1.prototype.decrypt=function(a){return this.g.decrypt(a)};U1.prototype.Pn=function(a){var b=this;return a.map(function(c){return b.g.encrypt(c)})};U1.prototype.In=function(a){var b=this;return a.map(function(c){return b.g.decrypt(c)})};
var PX={serviceId:"bo5Npd",Bn:[Cm],methods:{encrypt:nm({Z:"obYoie",params:[Cm],response:Cm}),decrypt:nm({Z:"zVpoTe",params:[Cm],response:Cm}),Pn:nm({Z:"NvQmZb",params:[rm(Cm)],response:rm(Cm)}),In:nm({Z:"ZcyxQd",params:[rm(Cm)],response:rm(Cm)})}};var V1=function(a,b){bh.call(this);this.g=a;this.P=b};U(V1,bh);V1.prototype.wi=function(){};V1.prototype.Rf=function(){var a=cc.apply(0,arguments),b=this;return new Promise(function(c,d){try{let e=b.g.apply(b,r(a));c(e)}catch(e){c=dS(e);let f;(f=b.P)==null||f.da("worker.InlineSimpleWorkerClient").Da("postMessageAsync: "+e,c);Dk("Exception in postMessageAsync",c,"warning");d(e)}})};cF(Ct,bh);Ct.prototype.Pe=function(){var a=Date.now();if(!(this.lastAccess!=null&&a-this.lastAccess<this.delay)){for(var b;this.g.Qa()>0&&(b=v0(this.g),!this.Nl(b));)Bt(this);!b&&this.Qa()<this.o&&(b=this.Sk());b&&(this.lastAccess=a,this.j.add(b));return b}};var vIa=function(a,b){a.j.delete(b);a.Nl(b)&&a.Qa()<a.o?a.g.g.push(b):a.fh(b)},Bt=function(a){for(var b=a.g;a.Qa()<a.B;){var c=b,d=a.Sk();c.g.push(d)}for(;a.Qa()>a.o&&a.g.Qa()>0;)a.fh(v0(b))};k=Ct.prototype;k.Sk=function(){return{}};
k.fh=function(a){if(typeof a.dispose=="function")a.dispose();else for(let b in a)a[b]=null};k.Nl=function(a){return typeof a.jr=="function"?a.jr():!0};k.contains=function(a){return this.g.contains(a)||this.j.has(a)};k.Qa=function(){return this.g.Qa()+this.j.size};k.Ga=function(){return this.g.Qa()===0&&this.j.size===0};k.oa=function(){Ct.Kb.oa.call(this);if(this.j.size>0)throw Error("Tc");delete this.j;for(var a=this.g;!a.Ga();)this.fh(v0(a));delete this.g};var wIa={Kj:4,Mj:1,Or:1E4},W1=function(a,b){Ct.call(this,0,b.Kj);this.C=a;this.options=b;a=b.Mj;if(a>this.o)throw Error("Sc");this.B=a;Bt(this)};U(W1,Ct);W1.prototype.Sk=function(){return this.C()};W1.prototype.fh=function(a){a.dispose()};W1.prototype.Nl=function(a){return!a.isDisposed()};
var X1=function(a,b){bh.call(this);var c=this;this.C=a;this.g=new Map;this.o=new bt;this.options=Object.assign({},wIa,b);if(this.options.Kj<1)throw Error("Vc");if(this.options.Mj<0)throw Error("Wc");if(this.options.Kj<this.options.Mj)throw Error("Xc");this.j=new W1(this.C,this.options);JR(this,function(){c.j.dispose()})};U(X1,bh);X1.prototype.Rf=function(){var a=cc.apply(0,arguments),b=this.j.Pe();b?a=this.execute(b,a):(b=new us,this.o.g.push({args:a,ea:b}),a=b.promise);return a};
X1.prototype.wi=function(a){this.B=a};X1.prototype.execute=function(a,b,c){var d=this;xIa(this,a);this.B&&a.wi(this.B);b=a.Rf.apply(a,r(b));b.catch(function(){}).finally(function(){yIa(d,a);var e=d.j;e.j.delete(a)?(vIa(e,a),e=!0):e=!1;if(e&&(e=d.o,NFa(e),Ba(e.j))){let f=d.j.Pe();f&&(e=v0(d.o),d.execute(f,e.args,e.ea))}});c&&c.resolve(b);return b};
var yIa=function(a,b){var c=setTimeout(function(){var d=a.j;if(d.Qa()>d.options.Mj){if(d.g.Qa()===0)throw Error("Uc");let e=d.Pe();e&&(d.fh(e),vIa(d,e))}a.g.delete(b)},a.options.Or);a.g.set(b,c)},xIa=function(a,b){a.g.has(b)&&(clearTimeout(a.g.get(b)),a.g.delete(b))};var Y1=function(a){G.call(this,a)};U(Y1,G);var Z1=function(a,b,c){c=c===void 0?null:c;bh.call(this);var d=this;this.Wg=a;this.P=b;this.g=c;this.j=new Map;this.o=new Map;this.B=new Set;this.requestId=0;zIa(this);JR(this,function(){d.Wg.terminate()})};U(Z1,bh);var zIa=function(a){a.Wg.onmessage=function(b){var c=b.data;b=c.result;c=c.id;if(a.B.has(c))a.B.delete(c);else{let d=a.j.get(c)||null;if(!d)throw new G("Can't locate resolver for id "+c);AIa(d,b)}BIa(a,c)};a.Wg.onerror=function(b){a.handleError(b)}};
Z1.prototype.timeout=function(a){var b=this.j.get(a)||null;if(b){this.B.add(a);let c="Timed out waiting for worker response for id "+a,d;(d=this.P)==null||d.da("worker.SimpleWorkerClient").Da(c);AIa(b,new Y1(c))}BIa(this,a)};Z1.prototype.handleError=function(a){var b=Error("Yc",{cause:a}),c;(c=this.P)==null||c.da("worker.SimpleWorkerClient").Da("Error occurred in worker: "+a,b);Dk("simpleworkerclient.ts worker.onerror",b,"warning")};
var CIa=function(a,b){if(a.g){let c=setTimeout(function(){a.o.has(b)&&a.timeout(b)},a.g);a.o.set(b,c)}},BIa=function(a,b){a.j.delete(b);var c=a.o.get(b);c&&(clearTimeout(c),a.o.delete(b))};Z1.prototype.wi=function(a){a===0?this.g=null:this.g=a};Z1.prototype.Rf=function(){var a=cc.apply(0,arguments);this.requestId===Number.MAX_SAFE_INTEGER&&(this.requestId=0);var b=new DIa(this.requestId++);var c=b.getId();this.j.set(c,b);this.Wg.postMessage({args:a,id:c});CIa(this,c);return b.ea.promise};
var DIa=function(a){var b=new us;this.id=a;this.ea=b};DIa.prototype.getId=function(){return this.id};var AIa=function(a,b){b instanceof Error?a.ea.reject(b):a.ea.resolve(b)};var EIa=RE([""]),FIa=function(a){this.C=Fda;this.j=new Map;this.B=this.o=null;if(!r_(n)){let b=O(a,ND,96);this.D=b&&(Zp(b)||ll(EIa))}a=ww(a,DB,4);a=Q(a,31);this.g=a!=null?a:!1};FIa.prototype.get=function(){var a=this;if(this.o)return this.o;var b=GIa(this).then(function(c){return c?a.g?HIa(c):new Z1($1(c)):new V1(a.C)});this.g&&(this.o=b);return b};
var IIa=async function(a,b){var c=null,d=null;try{let g=await GIa(a);if(g){c=$1(g,!0);d=await LAa(c);let h=d.o(PX,b);return{proxy:h.proxy,dispose:function(){h.dispose();var l;(l=d)==null||l.dispose()}}}}catch(g){a=Ep(g),a.message="Failed to create remote codec client: "+a.message,Dk("Could not initialize encrypt/decrypt in worker, falling back to inline codec.",a,"warning"),d&&d.dispose(),c&&c.terminate()}c=QD();var e=c.Dn;sAa(c.En,new U1(b));var f=xAa(e);return{proxy:f.proxy,dispose:function(){f.dispose();
e.dispose()}}},GIa=function(a){a.B||(a.B=JIa(a.D));return a.B},HIa=function(a){return new X1(function(){return new Z1($1(a))},{Kj:30})},$1=function(a,b){b=b===void 0?!1:b;a=new Worker(Dh(a),void 0);var c={},d={};a.postMessage((d.type="init",d.payload=(c.enableRpc=b,c),d));return a},JIa=function(a){return new Promise(function(b){a?nba(a).then(function(c){return c.script()}).then(function(c){c=Ih(c).toString();c=Ch(URL.createObjectURL(new Blob([c],{type:"text/javascript"})));b(c)}).catch(function(){b(null)}):
b(null)})};var KIa=RE([""]),a2=function(a,b,c,d){this.o=a;this.M=d;this.B=new us;this.g=!1;this.G=null;this.C=(a=O(b,ND,96))&&(Zp(a)||ll(KIa));a=ut(b);this.ba=zn(a,6,2E7);this.Yb=jv(b);a=ut(b);a=hs(a,12);this.L=Sg(a);var e;this.j=(e=JD(b))==null?void 0:Q(e,31);e=ww(b,xw,103);e=E(e,87);this.N=e!=null?e:!1;if(this.j||this.N)this.G=new FIa(b);var f;this.D=(f=Xl(b))==null?void 0:Q(f,70);this.H=c};
a2.prototype.initialize=function(){var a=this;this.g||(this.g=!0,this.o.initialize().then(function(){a.B.resolve()},function(b){a.B.reject(b)}));return this.B.promise};
var LIa=function(a){if(Cla(a))return 1;if(SN(a))return 3;if(ppa(a))return 6;if(jka(a))return 7;if(Koa(a))return 8;if(kpa(a))return 9;if(Yoa(a))return 12;throw new G("Unsupported dataShard in getDataType");},MIa=function(a){if(a===1)return xL;if(a===3)return PN;if(a===6)return qA;if(a===7)return WK;if(a===8)return zO;if(a===9)return WO;if(a===12)return GO;throw new G("Unsupported dataType:"+a+" in getDataTypeCtor");};a2.prototype.Nb=function(a){if(SN(a))return a.Nb()};
var NIa=function(a){if(SN(a))return a.Sa().length},PIa=async function(a,b,c,d){if(c.length!==0){var e=!!b;var f=LIa(c[0]);for(var g=1;g<c.length;g++)if(LIa(c[g])!==f)throw Error("Zc");g=a.Nb(c[0]);try{switch(f){case 3:a.Nb(c[0]);for(var h=q(c),l=h.next();!l.done;l=h.next())a.Nb(l.value);a.Yb||OIa(c);if(a.L){var m=a.L;for(var p=c.length-1;p>=0;p--){if(!c[p].Nb())continue;h=[];let Ma=c[p].Sa().slice();for(;Ma.length>m;){let Ib=Sa(Ma,m-1,m),Rb=QN(new PN,Ib);h.push(Rb)}QN(c[p],Ma);h.length&&yj(Sa,c,p+
1,0).apply(null,h)}}}}catch(Ma){throw new G("datatype "+f+": Error optimizing shards",null,Ep(Ma));}try{m=!1;p=[];for(var t=q(c),w=t.next();!w.done;w=t.next()){let Ma=w.value,Ib=Ma.aa();if(Ib.length>a.ba){m=!0;break}else{c=p;var A=c.push,M=NIa(Ma);if(SN(Ma)){let Rb=Um(Ma,6);var da=Rb!=null?Rb:void 0}else da=void 0;A.call(c,new uIa(Ib,M,da))}}if(m){let Ma=lO(Zw(Bp(zp(new wp,2),23),"At least one of the shards exceeded maximum allowed length."));a.H(Ma);throw Ip(Ma);}var ja=p}catch(Ma){throw new G("dataType "+
f+": Error getting shard metadata",null,Ep(Ma));}try{var Ja=e?await a.encrypt(b,ja,f,g,d):ja}catch(Ma){throw new G("dataType "+f+": Error encrypting shards",null,Ep(Ma));}try{await a.B.promise,await xEa(a.o,Ja,f,g,e,d)}catch(Ma){throw new G("dataType "+f+": Error writing shards",null,Ep(Ma));}}},OIa=function(a){function b(g){if(!g.getId())return g;var h=g.getId();if(d.has(h))return h=d.get(h),Gw(h.kj,g)?h.Jk:g;var l=Gv(new rq,h);d.set(h,{kj:g.clone(),Jk:l});return l}if(a.length){for(var c=0;c<a.length;c++)if(z(a[c],
rq,2,B()).length)return;var d=new Map;c=q(a);for(var e=c.next();!e.done;e=c.next()){e=e.value.Sa()||[];e=q(e);for(var f=e.next();!f.done;f=e.next())f=f.value,Nv(f,qq(f).map(b)),ds(f,rq,17)&&dM(f,b(O(f,rq,17))),ds(f,rq,47)&&jM(f,b(O(f,rq,47))),ds(f,rq,91)&&rM(f,b(O(f,rq,91))),ds(f,rq,95)&&tM(f,b(O(f,rq,95))),ds(f,Ow,85)&&(f=O(f,Ow,85),Pw(f,z(f,rq,2,B()).map(b)),Qw(f,z(f,rq,3,B()).map(b)))}c=[].concat(r(d.values())).map(function(g){return g.kj});yu(a[0],2,c)}};
a2.prototype.encrypt=function(a,b,c,d,e){var f=b.reduce(function(l,m){var p;return l+((p=m.g)!=null?p:0)},0),g=QIa(this,c,d,e),h=!0;return RIa(this,a,b.map(function(l){return l.getData()})).then(function(l){if(l.length!==b.length)throw Error("$c`"+l.length+"`"+b.length);l=q(l.entries());for(var m=l.next();!m.done;m=l.next()){var p=q(m.value);m=p.next().value;p=p.next().value;m=b[m];m.data=p;m.j=!0}return b},function(l){h=!1;throw l;}).finally(function(){if(g){var l=h;P_(I_(J_(g),l),f);lZ(g)}})};
var QIa=function(a,b,c,d){if(a=cw(a.M,106023,d))return b=N_(O_(J_(a),LZ(QZ,0,b)),LZ(PZ,0,c)),I(b,7,!0),a},Qr=async function(a,b,c,d,e,f){var g=[];try{g=await SIa(a,c,d,e)}catch(m){throw new G("Could not read shards for dataType "+c,null,Ep(m));}var h=g.map(function(m){return m.data}),l=[];e=void 0;if(g[0]&&g[0].encrypted){e=TIa(a,c,d,f);try{l=await UIa(a,b,h)}catch(m){throw e&&b2(e,!1),new G("dataType "+c+": Error decrypting shards",null,Ep(m));}}else l=h;b=[];try{b=VIa(l,c)}catch(m){throw e&&b2(e,
!1),new G("dataType "+c+": Error deserializing shards",null,Ep(m));}try{switch(c){case 3:WIa(a,b)}}catch(m){throw e&&b2(e,!1),new G("dataType "+c+": Error decompressing shards",null,Ep(m));}e&&(a=b.reduce(function(m,p){var t;return m+((t=NIa(p))!=null?t:0)},0),P_(J_(e),a),b2(e,!0));return b},SIa=function(a,b,c,d){return a.B.promise.then(function(){return vEa(a.o,b,c,d)})},TIa=function(a,b,c,d){if(a=cw(a.M,106022,d))return b=N_(O_(J_(a),LZ(QZ,0,b)),LZ(PZ,0,c)),I(b,7,!0),a},b2=function(a,b){I_(J_(a),
b);lZ(a)},VIa=function(a,b){var c=MIa(b);return a.map(function(d){return Og(c,d)})},WIa=function(a,b){a.Yb||XIa(b);YIa(b)},XIa=function(a){function b(g){var h=g.getId();return c.has(h)&&(h=c.get(h),Gw(h.Jk,g))?h.kj.clone():g}if(a[0]&&z(a[0],rq,2,B()).length!==0){var c=new Map(z(a[0],rq,2,B()).map(function(g){var h=g.getId(),l=Gv(new rq,h);return[h,{kj:g,Jk:l}]}));a=q(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.Sa()||[];e=q(e);for(var f=e.next();!f.done;f=e.next())f=f.value,Nv(f,qq(f).map(b)),
ds(f,rq,17)&&dM(f,b(O(f,rq,17))),ds(f,rq,47)&&jM(f,b(O(f,rq,47))),ds(f,rq,91)&&rM(f,b(O(f,rq,91))),ds(f,rq,95)&&tM(f,b(O(f,rq,95))),ds(f,Ow,85)&&(f=O(f,Ow,85),Pw(f,z(f,rq,2,B()).map(b)),Qw(f,z(f,rq,3,B()).map(b)));N(d,2)}}},YIa=function(a){for(let d=1;d<a.length;d++)if(!a[d].Nb()){var b=0;for(var c=d;c<a.length&&!a[c].Nb();c++)b++;c=a[d-1];b=Sa(a,d,b);let e=c.Sa(Rr);b.forEach(function(f){Pa(e,f.Sa(Rr))});QN(c,e)}},ZIa=function(a,b){return a.G?a.G.get():JIa(b).then(function(c){if(c){let d=$1(c);URL.revokeObjectURL(c.toString());
return new Z1(d)}return null})},$Ia=async function(a,b){a=a.G;if(a.j.has(b))b=a.j.get(b);else{var c=IIa(a,b);a.g&&a.j.set(b,c);b=c}return b},RIa=async function(a,b,c){if(a.N)return dm(aJa(a,b,c),12E5,function(){var e=Error("ad");Dk("dumpstorage.ts encryptAsync timed out",e,"warning");return e});if(!r_(n)&&a.C){let e=await ZIa(a,a.C);if(e){a.j&&e.wi(12E5);try{return a.D?await Promise.all(c.map(function(f){return e.Rf({command:"encrypt",payload:{key:b,dumps:[f]}}).then(function(g){return g[0]})})):
await e.Rf({command:"encrypt",payload:{key:b,dumps:c}})}catch(f){throw f instanceof Y1&&kC(a.M,106036),f;}finally{a.j||e.dispose()}}}var d=new At(b);return c.map(function(e){return d.encrypt(e)})},aJa=async function(a,b,c){var d=await $Ia(a,b);try{return a.D?await Promise.all(c.map(function(e){return d.proxy.encrypt(e)})):await d.proxy.Pn(c)}finally{a.j||d.dispose()}},UIa=async function(a,b,c){for(let e=0;e<c.length;e++)if(c[e].length>a.ba)throw c=lO(Zw(Bp(zp(new wp,2),23),"At least one of the shards exceeded maximum allowed length.")),
a.H(c),Ip(c);if(a.N)return dm(bJa(a,b,c),12E5,function(){var e=Error("bd");Dk("dumpstorage.ts decryptAsync timed out",e,"warning");return e});if(!r_(n)&&a.C){let e=await ZIa(a,a.C);if(e){a.j&&e.wi(12E5);try{return a.D?await Promise.all(c.map(function(f){return e.Rf({command:"decrypt",payload:{key:b,dumps:[f]}}).then(function(g){return g[0]})})):await e.Rf({command:"decrypt",payload:{key:b,dumps:c}})}catch(f){throw f instanceof Y1&&kC(a.M,106035),f;}finally{a.j||e.dispose()}}}var d=new At(b);return c.map(function(e){return d.decrypt(e)})},
bJa=async function(a,b,c){var d=await $Ia(a,b);try{return a.D?await Promise.all(c.map(function(e){return d.proxy.decrypt(e)})):await d.proxy.In(c)}finally{a.j||d.dispose()}};var c2=function(a,b){vh.call(this);this.context=a;this.J=b;this.o=this.failureReason=0;this.g=new M1(a.Db,a.Ac,a.Xa,function(){return a.md()},a.F);this.F=this.context.F;this.L=new L1(a.Db,a.Ac)};U(c2,vh);
var cJa=function(a,b){var c,d,e=(d=(c=Xl(a.F))==null?void 0:zn(c,76))!=null?d:0;if(e>0){let g;var f=(g=$t(b,5))!=null?g:-1;f!==-1?f>e?(a.J.info("Too many linked items at "+f+"; skipping linked corpus cache."),g1(a.g,!1)):(a.J.info("Caching all linked items at "+f+"."),a.o=f):(a.J.Da("Linked corpus cache is disabled in dump stats."),g1(a.g,!1))}else e=zn(a.F,31,2E4),b=typeof Sw(b,3)==="number"?Sw(b,3):e+1,b>e||((f=JD(a.F))==null?0:Q(f,84))?(g1(a.g,!1),a.J.info("Too many subscribed items at "+b+"; skipping subscribed cache.")):
(a.J.info("Caching all subscribed items."),a.o=b);a.context.Ec.setValue("CachedCorpusType",a.g.Jc?"fullCorpus":"partialCorpus")},d2=function(a,b){a.failureReason===0&&(a.failureReason=b)};var dJa=function(){return!0},eJa=function(a,b){var c=!1;a=z(a,fN,7,B());if(a.length===0)return!0;b=L(b,3)||"";b=b.toLowerCase();for(let e=0;e<a.length;e++){var d=a[e];let f=d.Ya();if(d.getValue()&&d.getValue().length>0){let g=d.getValue().toLowerCase();if(Tn(d,1)===1){if((d=b.indexOf(g)>=0)&&!f||!d&&f)return!0}else if(Tn(d,1)===2&&((d=b===g)&&!f||!d&&f))return!0}else c=!f}return c};var e2=function(a,b){vh.call(this);this.context=a;this.request=b;this.o=[];this.nextPageToken="";this.g=this.j=!1;this.la=1};U(e2,vh);e2.prototype.run=function(){return this.g||this.j&&this.nextPageToken===""?Promise.resolve():fJa(this)};e2.prototype.Qa=function(){return this.o.length};
var fJa=function(a){a.j=!0;a.g=!0;var b=Jna(Kna(new IN,a.request),a.nextPageToken),c=j_(a.context.Ec,b);return Promise.resolve(R_(a.context)).then(function(d){return d.route(b)}).then(function(d){var e=d.ab().Sa();a.nextPageToken=d.Bb()||"";return gJa(a,c,e)}).catch(function(d){a.handleError(d)})},gJa=function(a,b,c){a.context.Ec.qg(b,c);for(b=0;b<c.length;b++)Sr(c[b],1);a.context.ha().Ta(c,1,a.request,!a.j||a.nextPageToken!=="",void 0,hJa(a));var d=[];Za(c,function(e){this.o.push(e.K());e=zM(xM(new wM,
e.K()),e);d.push(e)},a);d.length&&a.dispatchEvent(new u1(t1,d));if(a.nextPageToken)return fJa(a);a.g=!1;a.dispatchEvent(y1);return Promise.resolve()};e2.prototype.handleError=function(a){this.g=!1;a=Hp(a,45);a=new qZ(a,a.jd());this.dispatchEvent(a)};e2.prototype.od=function(){return this.g};e2.prototype.V=function(){return this.request};var hJa=function(a){var b=a.la;a.la=void 0;return b};var f2=function(a){this.g=Tm(a)};f2.prototype.sort=function(a){a.sort(this.compare.bind(this)||Wa)};f2.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.g(L(a,3),L(b,3));return c===0?Wa(sq(a),sq(b)):c};var g2=function(a,b,c){c=c===void 0?!1:c;o1.call(this,a,"sync.cache.TeamDriveViewCache");this.W=[];this.ea=null;this.request=b.clone();this.nc=new e2(a,this.request);this.zt=new f2(ju(dq(a.F)));this.yo=!1;c&&(this.ea=new us,this.ea.resolve())};U(g2,o1);k=g2.prototype;k.refresh=function(){this.tc===3&&(n1(this,6),this.ea=null);return this.ii()};k.Hf=function(){return!!this.ea};
k.ii=function(){var a=this;if(this.Hf())return this.ea.promise;this.ea=new us;this.context.jb().cb()?this.pa.Lf(this.context.jb(),[TY.de,TY.Fe],function(){a.nc.run().then(function(){a.ea.resolve()}).catch(function(b){a.ea.reject(b)})}):this.nc.run().then(function(){a.ea.resolve()}).catch(function(b){a.ea.reject(b)});return this.ea.promise};k.resize=function(){};k.V=function(){return this.request};k.mc=function(){return this.W};k.Wi=function(a){return this.context.Ab.equals(a,this.request)};
k.vc=function(a){a=a.La();this.zt.sort(this.W);var b=xt(Ra(this.W,0,Math.min(a,this.W.length)));q1(this,this.context.O.zf(),b);return mZ((new dr(b,this.va())).setStatus(this.Qk(a)),a<this.W.length||!this.context.jb().cb()&&this.tc!==1)};k.Qk=function(a){return this.tc===1||a<=this.W.length?1:this.context.jb().cb()?this.W.length>0?1:2:6};k.jp=function(){return this.Hf()};k.update=function(a){return r1(this,[a])};
k.zc=function(a){var b;if(b=Rs(a.getItem())){b=this.request;a=a.getItem();var c;if(c=!!a&&!!mM(a)){c=E(b,4);var d;(d=c==null)||(d=mM(a),d=!!Um(d,7)==c);c=d}b=c&&eJa(b,a)}return b};k.Se=function(a){if(!this.Hf())return!1;this.W.push(a);return!0};k.Uc=function(a){if(!this.Hf())return!1;Ka(this.W,a);return!0};k.al=function(a){return Fa(this.W,a)};k.mk=function(a,b){if(!this.Hf())return!1;this.W[this.al(a)]=b;return!0};k.ul=function(){return!0};k.getType=function(){return"TeamDriveViewCache"};
k.Of=function(){n1(this,1)};k.Oj=function(){};var h2=function(a){this.g=new CT(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};h2.prototype.get=function(a){return this.g.then(function(b){if(b&&!b.g)return b.getMetadata([a]).then(function(c){return(c=c[0])?c.getValue():void 0},function(){})})};h2.prototype.set=function(a,b){return this.g.then(function(c){return c&&!c.g?yEa(c,[new A_(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};
h2.prototype.md=function(){return this.get(iJa).then(function(a){return a?a:null})};h2.prototype.Rb=function(a){return this.set(iJa,a)};var i2=function(a){return a.get(jJa).then(function(b){return typeof b==="boolean"?b:null})};h2.prototype.Id=function(a){return this.set(jJa,a)};
var kJa=function(a){return a.get(j2).then(function(b){return typeof b==="boolean"?b:null})},lJa=function(a){return a.get(k2).then(function(b){return Array.isArray(b)?b:null})},Ida=function(a){return a.get(Tt).then(function(b){return typeof b==="number"?b:null})},nJa=function(a){return a.get(mJa).then(function(b){return b?b:null})},oJa={key:"pc",global:!1},iJa={key:"rid",global:!0},jJa={key:"ooi",global:!0},mJa={key:"et",global:!0},j2=oJa,k2={key:"rtds",global:!1},Tt={key:"dct",global:!1};var Lt=function(){var a=!(!n.IDBObjectStore||!n.IDBObjectStore.prototype.getAll);return!!(n.indexedDB||n.mozIndexedDB||n.webkitIndexedDB||n.moz_indexedDB)&&a},Gda=function(a){var b=cq(dq(a));var c=ut(a);c=hs(c,8,jc(432E6));c=Sg(c);if(Q(a,10)&&c>0)return Math.abs(Ft(b))%c};var l2=function(a,b){c2.call(this,a,a.da("sync.cache.LocalDumpPopulator"));this.O=b;this.C=void 0;this.D=null;this.G=this.H=!1;this.j=void 0};U(l2,c2);l2.prototype.handleError=function(){this.J.info("Local dump population failed.");k_(this.context.Xa,"mrK8ic")};l2.prototype.run=function(){this.D||(this.D=pJa(this));return this.D};
var pJa=async function(a){if(a.context.vd){try{await a.initialize();let b=tt(ut(a.F)),c=b[0]&&L(b[0],2)||"";await qJa(a,a.context.vd,c,4)}catch(b){try{if(!Q(a.F,8,!0))throw b;await rJa(a,b)}catch(c){throw d2(a,8),a.handleError(),c;}}jv(a.F)||a.context.ha().bc.g.clear();k_(a.context.Xa,"zaOY7")}else throw a.handleError(),Error("cd");};
l2.prototype.initialize=function(){var a=this;return ET(this.context.vd.initialize()).then(function(){if(!et(a.F)){var b=Sg(wna(ut(a.F)));b&&(a.C=Date.now()-b);return kJa(a.context.Nc).then(function(c){if(!c)throw Error("dd");})}})};
var qJa=async function(a,b,c,d){var e=a.C;sJa(a,b,c,e);var f,g=((f=a.context.F)==null?void 0:JD(f))||new DB;tJa(a,b,c,e);uJa(a,b,c,d,e);Q(g,89)?await vJa(a,b,c,e,Q(g,90))===2&&Q(g,90)&&(e=Date.now(),a.G=!0):Q(g,38)&&Q(g,39)&&vJa(a,b,c,e);wJa(a,b,c,d,e);await xJa(a,b,c,e);await yJa(a,b,c,d,e);await Promise.all([zJa(a,b,c,d,e),AJa(a,b,c,d,e),BJa(a,b,c,d,e)])},sJa=function(a,b,c,d){var e=function(){return a.J.info("Failed to load apps from storage.")};Qr(b,c,1,void 0,d,a.j).then(function(f){f[0]?a.context.lg.D(f[0],
a.va(),et(a.F)):e()},function(){return e()})},tJa=function(a,b,c,d){ot(b,c,a.context.Nd,a.va(),d,a.j).then(function(e){a.J.info(m2("account and user settings",e));if(!e&&et(a.context.F))for(e=a.context.Nd.get().j,e.G=!0;e.j.length>0;){let f=e.j.shift();mHa(f)}})},uJa=function(a,b,c,d,e){et(a.context.F)&&Tr(b,c,new wt(function(){return a.context.Yd.get().j}),a.context.ha(),d,a.va(),e,a.j).then(function(f){a.J.info(m2("homepage activity",f))})},vJa=async function(a,b,c,d,e){var f=void 0,g=1;try{let A=
await Qr(b,c,9,void 0,d,a.j);if((f=A[0]?A[0]:void 0)&&e){{b=f;var h=a.context.F;let M=jt(b,3),da;if(M&&(da=JD(h))!=null&&E(da,90)){var l=Sg(M);{let ja=cq(dq(h));var m=ut(h);var p=hs(m,16,jc(432E6));let Ja=Sg(p);var t=zB(h,DB,4);var w=Q(t,90)&&Ja>0?Math.abs(Ft(ja))%Ja:void 0}(h=w?l+w:void 0)&&h<Date.now()?(N(b,3),g=2):g=1}else g=1}}}catch(A){a.J.info("Failed to load labels from storage.")}CJa(a.context,f);return g},wJa=function(a,b,c,d,e){et(a.context.F)&&as(b,c,new wt(function(){return a.context.De.get().B}),
a.context.ha(),d,a.va(),e,a.j).then(function(f){a.J.info(m2("homepage suggestions",f))})},m2=function(a,b){return(b?"Loaded":"Failed to load")+" "+a+" from storage"},yJa=function(a,b,c,d,e){return pIa(DJa,Qr(b,c,3,1,e,a.j)).then(function(f){return EJa(a,f[0])}).then(function(f){b!==a.context.vd||Mr(cs(f,12,B(Rr)),a.O.zb(),Yr(a.F),cs(f,16,B()),a.O.Bd())||(a.J.Da("Disabling dump updater due to inconsistent fields."),a.context.xb.Fd());var g=Ug(jt(f,3));if(!g||g<0)throw Error("jd");C(f,4)&&a.context.Rb(C(f,
4),"local dump");g=Ug(jt(f,3));typeof g==="number"&&n2(a.context,Number(g));if(et(a.F)||Q(a.F,10))a.J.info((et(a.F)?"Coldstart":"Background")+": Firing INITIAL_CHANGES_PROCESSED."),o2(a.context);a.Ta(f,d);k_(a.context.Xa,"ZA9qG")}).catch(function(f){return Promise.reject(Ep(f))})},zJa=function(a,b,c,d,e){return p2(a,2,b,c,d,e).then(function(){var f,g;return(f=JD(a.F))==null||!Q(f,17)||(g=a.g)!=null&&g.Jc?Promise.resolve():p2(a,5,b,c,d,e)},function(f){var g;return a.failureReason!==10&&((g=JD(a.F))==
null?0:Q(g,17))?p2(a,5,b,c,d,e):Promise.reject(Ep(f))})},p2=function(a,b,c,d,e,f){return Qr(c,d,3,b,f,a.j).then(function(g){if(g[0])a.Ta(g[0],e);else throw Error("ed");}).catch(function(g){return Promise.reject(Ep(g))})},AJa=function(a,b,c,d,e){return Qr(b,c,3,4,e,a.j).then(function(f){f.forEach(function(g){a.Ta(g,d)})}).catch(function(f){return Promise.reject(Ep(f))})},BJa=function(a,b,c,d,e){return Qr(b,c,3,3,e,a.j).then(function(f){f.length?f.forEach(function(g){a.Ta(g,d)}):k_(a.context.Xa,"rVezo")}).catch(function(f){return Promise.reject(Ep(f))})},
xJa=function(a,b,c,d){return Qr(b,c,6,void 0,d,a.j).then(function(e){e=q(e);for(var f=e.next();!f.done;f=e.next()){var g=f.value;ppa(g)&&z(g,sA,1,B()).length&&(a.J.info("Importing "+z(g,sA,1,B()).length+" people into the PeopleCache."),f=a.context.ha().bc,g=z(g,sA,1,B(Rr)),FJa(f.g,g,2))}}).catch(function(e){return Promise.reject(Ep(e))})},EJa=function(a,b){var c=nk(b,3);if(c&&!et(a.F)){let d=a.context.Ej.get(),e=xna(ut(a.F));return GJa(d,c,null,0,e).then(function(f){if(Yc(rk(f,2))!=null)throw a.J.Da("Encrypted dump too stale."),
kC(a.context.M,106007),d2(a,9),Error("id");return b},function(){return b})}return ET(b)},rJa=async function(a,b){var c=C_(a.context.ee.version),d=tt(ut(a.F)).filter(function(f){return S(f,2)}),e=await qEa(cq(dq(a.F)),Yr(a.F),Pt(ut(a.F))||0,a.O.zb(),a.C||0,d.map(function(f){return L(f,1)}),c,a.O.Bd());if(e){c=d.find(function(g){return e.o===L(g,1)});let f=new Rt(ET(e),a.context.P,null,!0);d=new a2(f,a.F,function(g){a.context.xf(g)},a.context.M);try{await d.initialize()}catch(g){return Promise.reject(new G("Could not read forklift dump",
null,b))}a.H=!0;return qJa(a,d,c?lN(c):null,8).then(function(){return f.getMetadata([oJa])}).then(function(g){if(g[0]){var h=a.context.Nc;g=g[0].getValue();h=h.set(j2,g)}else h=Promise.resolve();return h}).then(function(){f.close()})}return Promise.reject(new G("No compatible dumps to forklift were found.",null,b))},LJa=function(a,b,c){switch(b.Nb()){case 1:return HJa(a,b,c);case 2:return IJa(a,b,a.g);case 5:let d;return((d=JD(a.F))==null?0:Q(d,17))?IJa(a,b,a.L):null;case 3:return JJa(a,b);case 4:return KJa(a,
b);default:return null}},HJa=function(a,b,c){var d=[];z(b,MN,5,B()).forEach(function(e){var f=void 0,g=O(e,Pk,3);g&&(Ok(g),Sr(g,c),f=new q0(g));var h=NN(e);if(Q(h,48)&&(uv(h),!z(a.F,Uo,44,B()).some(function(l){if(!Q(l,48))return!1;l=VZ(a.context.Ab,l,!0);return Gw(l,h)})))return;e=new i1(a.context.Db,a.context.Ac,a.context.Ab,h,f);e.rb(a.va());d.push({cache:e,changes:q2(a.context.Vb,null)})});return d},IJa=function(a,b,c){var d=O(b,au,11);if(!d)throw Error("kd");b=b.Nb();if(b===2){let e,f;if(((e=
a.g)==null?0:e.g)&&((f=d==null?void 0:$t(d,3))!=null?f:0)>0)throw a.J.Da("Corpus cache switched from SUBSCRIBED to LINKED."),kC(a.context.M,106056),d2(a,10),Error("fd");let g,h;if(((g=a.g)==null||!g.g)&&((h=d==null?void 0:$t(d,5))!=null?h:0)>0)throw a.J.Da("Corpus cache switched from LINKED to SUBSCRIBED."),kC(a.context.M,106057),d2(a,10),Error("gd");}else if(b===5){let e,f;if(((e=a.g)==null?0:e.g)&&((f=d==null?void 0:$t(d,5))!=null?f:0)!==-1)throw a.J.Da("Corpus cache switched from PARTIAL_MY_DRIVE to LINKED."),
kC(a.context.M,106058),d2(a,10),Error("hd");}cJa(a,d);return c.Jc?(c.rb(a.va()),[{cache:c,changes:q2(a.context.Vb,null)}]):[]},KJa=function(a,b){return z(b,MN,5,B()).map(function(c){c=new g2(a.context,O(c,GN,5),!0);c.rb(a.va());return{cache:c,changes:q2(a.context.Vb,null)}})},JJa=function(a,b){var c;if(((c=JD(a.F))==null||!Q(c,18))&&Um(b,6))return[];var d=Nu(NN(z(b,MN,5,B())[0]))[0],e=Ug(jt(b,3))||void 0;c=q2(a.context.Vb,d);a.context.Sc.promise.then(function(h){r2(h,d,e)});var f=new J1(a.context.F,
a.context.Db,a.context.Ac,d),g;((g=JD(a.F))==null?0:Q(g,18))&&f.Lc(Um(b,6)===!0?1:0);f.rb(a.va());return[{cache:f,changes:c}]};
l2.prototype.Ta=function(a,b){var c=this,d=LJa(this,a,b);if(d&&d.length!==0){for(var e=q(a.Sa()),f=e.next();!f.done;f=e.next()){var g=f.value;Ok(g);Sr(g,b);jv(this.F)||this.context.ha().bc.g.Ga()||MJa(this.context.ha().bc,[g]);f=new q0(g);F(a,14,B()).includes(sq(g))?CW(this.context.Ce,f,1,"sync.cache.LocalDumpPopulator"):F(a,15,B()).includes(sq(g))&&CW(this.context.Ce,f,2,"sync.cache.LocalDumpPopulator");for(g=0;g<d.length;g++)d[g].cache.update(e1(f))}var h,l;if((l=(h=JD(this.F))==null?void 0:E(h,
89))!=null&&l){a=a.Sa();let m;(m=this.context.rg)==null||s2(m,a)}d.forEach(function(m){var p=m.cache;c.dispatchEvent(new P1(p,m.changes));c.J.info("Imported "+p.getSize()+" items into the "+p.getType());var t=null;p instanceof J1&&(t=p.teamDriveId);c.context.yj.promise.then(function(){t2(c.context.Vb,t)})})}else this.J.info("Ignoring corpus cache for "+a.Nb()+".")};l2.prototype.va=function(){return this.H?7:3};var DJa=new nIa;var v2=function(a,b){bh.call(this);var c=this;this.context=a;this.teamDriveId=b;this.reason=0;this.logName="sync.change.ChangeProcessor";this.o=-1;this.L=this.g=0;this.ka=this.B=this.C=null;this.Qb=this.Fa=this.ca=0;this.Ua=this.yb=null;this.G=0;this.active=!1;this.T=null;this.D=!0;this.F=a.F;this.j=a.Eh();JR(this,function(){c.stop();u2(c,!1,!0)})};U(v2,bh);v2.prototype.getStats=function(){return[this.o,this.L,this.g,this.Qb,this.active,!!this.C,this.yb,this.Ua]};v2.prototype.Cd=function(){return this.g};
var NJa=function(a,b){b>a.g&&(a.log("Changes processed up to "+b.toString()),a.g=b,w2(a)&&a.D&&a.context.Ec.setValue("InitialChanges",b+"/"+(a.L||"?")))},OJa=function(a,b){b>a.L&&(a.log("Changes scheduled up to "+b.toString()),a.L=b)};v2.prototype.fm=function(){this.o>=0&&!this.active&&this.start(this.g)};
var x2=function(a){if(!a.active)return Promise.reject(Error("ld"));if(a.C)return a.C;a.B=w2(a)?cw(a.context.M,106003):null;a.ka=a.Cd();a.yb=a.context.jb().cb();a.Ua=U_(a.context.jb());var b=PJa(a).then(function(){u2(a,!0,!1)},function(c){u2(a,!1,!1);if(a.reason===305)throw c;});return a.C=b},u2=function(a,b,c){a.C=null;if(a.B){var d=ew(a.B);d=zB(d,QJa,4);d=I(d,3,b);d=I(d,2,a.Pa());d=I(d,4,a.D);d=J(d,1,a.ca);c=I(d,5,c);c=J(c,6,a.Cd()-a.ka);J(c,7,a.Cd()-a.o);lZ(a.B)}a.B=null;a.ka=null;a.ca=0;(c=a.D)&&
b&&(a.D=!1);w2(a)&&c&&(b&&o2(a.context),a.context.Ec.setValue("InitialChanges",b?"finished":"failed"))},PJa=function(a){var b=Xma(Yma(Wma(Vma(new DM,a.g+1),1E3),a.teamDriveId),Wt(new R,a.reason));a.reason===305&&Zma(Wma(b,4E3));var c=new us;R_(a.context).then(function(d){return d.route(b,{timestamp:Date.now()})}).then(function(d){c.resolve(RJa(a,d))},function(d){var e=c.reject;if(d instanceof G){d=Ip(d,"Change log processing failed with ReportableError");var f=d.qa;if(Tn(f,10)===48&&a.teamDriveId){a.log("Permanently disabling and propagating a TD deletion for "+
(a.teamDriveId+" due to TEAM_DRIVE_MEMBERSHIP_REQUIRED"));var g=yM(AM(xM(new wM,a.teamDriveId),a.teamDriveId));a.context.ha().nb([g]);a.stop()}else Tn(f,10)===4?(a.log("Permanently disabling change processor due to a RESOURCE_NOT_FOUND error."),a.stop()):Tn(f,14)===22?(a.log("Permanently disabling change processor due to a FORBIDDEN_REQUEST error."),a.stop()):(SJa(a),Tn(f,14)===2||Tn(f,10)===7||Jp(f)||(g="Error restarting change processor for a DsError. Inactive time:"+((a.G?(Date.now()-a.G)/1E3:
null)+"s ResponseCode:")+Sw(f,15)+(" ErrorReason:"+Tn(f,10))+(" Subscribed: "+w2(a)),f=new G("b/74491949: Error restarting change processor",f),Dk(g,f,"warning")))}else d=Ip(d,"Change log processing failed with non-ReportableError"),g="Error restarting change processor for non-DsError. Inactive time:"+((a.G?(Date.now()-a.G)/1E3:null)+"s"),f=new G("b/74491949: Error restarting change processor for non-DsError",void 0,d),Dk(g,f,"warning"),SJa(a);e.call(c,d)});return c.promise},RJa=function(a,b){a.G=
Date.now();for(var c=z(b,wM,4,B(Rr)),d=q(c),e=d.next();!e.done;e=d.next())(e=e.value.getItem())&&Sr(e,3);d=a.context.ha();if(w2(a)){var f=[];e=[];c=q(c);for(var g=c.next();!g.done;g=c.next()){g=g.value;let l=C(g,2),m=g.getItem();if(Q(g,3)||!m)f.push(g);else{var h=d.Oa.g(l);h=h?$L(h):[];let p=$L(m);h.filter(function(t){return!p.includes(t)}).length?e.push(l):f.push(g);TJa(d,l)}}c=f;e.length&&(a.log("Refreshing ids to check for missing parents: "+e.join(",")),f=Wt(new R,1498),H1(d.ad,e,f))}a.eb(c);
a.ca++;a.Qb++;return UJa(a,b)};v2.prototype.eb=function(a){this.context.ha().nb(a);this.context.Vb.nb(a,this.teamDriveId);this.context.pe().nb(a)};var UJa=function(a,b){var c=Ug(jt(b,3))||0;b=Ug(jt(b,2))?Ug(jt(b,2))-1:c;b<=a.Cd()&&a.Fa++;a.reason===305||OJa(a,c);NJa(a,b);if(a.g<a.L&&a.Fa<2)return PJa(a);a.Fa=0;return Promise.resolve()};
v2.prototype.start=function(a){if(!this.active){var b;if((b=JD(this.F))==null||!Q(b,21)||this.j.g)this.active=!0,this.o<0?(this.o=a,NJa(this,this.o),this.log("Starting at "+this.Cd())):this.log("Restarting at "+this.Cd()),this.Ja()}};v2.prototype.stop=function(){this.T&&(clearTimeout(this.T),this.T=null);this.active&&(this.log("Stopping change processor at: "+this.g),this.active=!1,this.Ka())};
var SJa=function(a){if(a.reason===305)a.stop();else{a.log("Temporarily disabling change processor.");a.stop();var b=Gs(a.F);b=Sg(hs(b,24,jc(36E5)))+Math.random()*Sg(hs(b,7,jc(9E5)));a.T=setTimeout(function(){a.start(a.g)},b)}};v2.prototype.log=function(a){this.context.da(this.logName).info((w2(this)?"Subscribed":this.reason===305?"Backfill":this.teamDriveId)+": "+a)};var w2=function(a){return a.reason!==305&&a.teamDriveId===null};v2.prototype.Pa=function(){return!1};var y2=function(a,b){v2.call(this,a,null);this.H=b;this.reason=305;this.logName="sync.change.BackfillChangeProcessor";b.getSize()};U(y2,v2);y2.prototype.run=function(a,b){OJa(this,b);this.start(a);return x2(this)};y2.prototype.eb=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&this.H.update(e1(new q0(b)))};y2.prototype.Ja=function(){};y2.prototype.Ka=function(){};var z2=function(a){c2.call(this,a,a.da("sync.cache.SdkCachePopulator"));this.C=0;this.G=Math.ceil(zn(a.F,31,2E4)*1.1)};U(z2,c2);z2.prototype.run=async function(){if(!Q(this.F,46))throw d2(this,5),this.handleError(),Error("md");this.J.info("Drive SDK cache population initiated.");await g_(this.context.ha());this.C=await this.context.rl.promise;await VJa(this);try{await WJa(this)}catch(a){throw this.handleError(),a;}};
var VJa=async function(a){k_(a.context.Xa,"L6uQWd");a.context.Sc.promise.then(function(b){A2(b)});if(Q(a.F,46)){let b=await Lda(R_(a.context),a.context.P,a.context.F);if(!b)throw d2(a,4),Error("nd");cJa(a,b)}else a.J.info("Subscribed corpus cache population disabled."),g1(a.g,!1)},WJa=async function(a){o2(a.context);if(a.g.Jc){var b=q2(a.context.Vb,null);a.g.rb(5);try{if(a.g.g)a.J.info("Starting linked corpus cache population."),await (new y2(a.context,a.g)).run(0,a.C);else{a.J.info("Starting subscribed corpus cache population.");
let d=a.g.V().lb(a.G),e=new K1(a.context,a.g,d);a.j=e;await e.run();a.j=void 0;e.dispose()}var c=a.g;c.Jc?(c.Lc(0),a.o>0&&(a.D=Math.round(100*c.getSize()/a.o),a.J.info("Corpus cache backfill rate: "+a.D+"%")),a.dispatchEvent(new P1(c,b))):(a.J.info("Subscribed corpus cache disabled, too many backfill items."),a.context.Ec.setValue("CachedCorpusType","errorUncachedCorpus"))}catch(d){throw c=d,a.j&&(a.j.dispose(),a.j=void 0),d2(a,7),Dp(c)?c:c instanceof qZ?Ep(c.error):Error("od`"+c);}finally{XJa(a)}}},
XJa=function(a){a.context.yj.promise.then(function(){t2(a.context.Vb,null)})};z2.prototype.handleError=function(){this.J.info("Drive SDK cache population failed.");k_(this.context.Xa,"Gv4zef")};z2.prototype.va=function(){return 5};var B2=function(a,b){bh.call(this);this.context=a;this.ga=b;this.o=[];this.pa=new ji(this);this.impression=null;this.J=a.da("sync.cache.CorpusCachePopulatorManager");this.Ha(this.pa);this.g=new l2(this.context,this.context.O);this.Ha(this.g);this.j=new z2(this.context);this.Ha(this.j)};U(B2,bh);
B2.prototype.run=function(){var a=this;this.J.info("Corpus cache population initiated.");this.impression=cw(this.context.M,106002);q2(this.context.Vb,null);var b=this.context.vd;b?(this.pa.listen(this.g,O1,this.B.bind(this)),this.pa.listen(this.j,O1,this.B.bind(this)),(Q(this.context.F,10)||et(this.context.F)||!Um(this.context.F,69)?Promise.resolve():this.context.Ze.promise).then(function(){return b.initialize().then(function(){a.J.info("Dump storage initialized.");a.impression&&(a.g.j=a.impression);
a.context.Wf(1);return a.g.run().then(function(){a.context.Wf(2);return YJa(a,a.g.va(),a.g.G)},function(c){a.context.Wf(3);ZJa(a,a.g.va(),a.g.failureReason,a.g.G);if(et(a.context.F))c=Ep(c),c.message="Failed to load persistence cache on coldstart: "+c.message+" <eye3 title='coldstart persistence cache load failure'/>",a.handleError(c,21);else return a.context.Wf(4),a.j.run().then(function(){a.context.Wf(5);return YJa(a,a.j.va())},function(d){a.context.Wf(6);ZJa(a,a.j.va(),a.j.failureReason);a.handleError(d,
Q(a.j.F,46)?23:void 0)})})},function(c){a.handleError(Dp(c)?c:void 0,22)})})):this.handleError(void 0,void 0)};B2.prototype.B=function(a){var b=a.cache;this.J.info("Cache populated: "+b.getType());this.o.push($Ja(this,b,a.changes))};
var YJa=function(a,b,c){t2(a.context.Vb,null);k_(a.context.Xa,"L6uQWd");a.context.Sc.promise.then(function(d){A2(d)}).catch(function(){});return Promise.all(a.o).then(function(){aKa(a,b,c)})},aKa=function(a,b,c){if(!a.isDisposed()){a.J.info("Corpus cache population complete.");var d=a.context.Xa;d.g("mrK8ic")?d.g("Gv4zef")||a.context.xb.Jj():kJa(a.context.Nc).then(function(e){e&&a.context.xb.Jj()},function(){});k_(d,"rVezo");k_(d,"BNEDtc");a.impression&&(b=LZ(OZ,0,b),bKa(C2(a.impression),b),cKa(C2(a.impression),
!0),dKa(C2(a.impression),wHa(a.ga.Oa)),C2(a.impression).Lc(a.context.ha().Nb()),c!==void 0&&eKa(C2(a.impression),c),c=a.j.D,c!==void 0&&fKa(C2(a.impression),c),lZ(a.impression));a.dispose()}},ZJa=function(a,b,c,d){a.impression&&(b=LZ(OZ,0,b),bKa(C2(a.impression),b),b=C2(a.impression),gw(b,3,c),d!==void 0&&eKa(C2(a.impression),d))};
B2.prototype.handleError=function(a,b){t2(this.context.Vb,null);var c=this.context.Xa;k_(c,"L6uQWd");this.context.Sc.promise.then(function(e){A2(e)}).catch(function(){});k_(c,"mrK8ic");k_(c,"Gv4zef");k_(c,"rVezo");k_(c,"BNEDtc");this.context.Ec.setValue("CachedCorpusType","partialCorpus");var d;((d=O(this.context.F,Ht,34))==null?0:Mt(d))&&!Q(this.context.F,46)&&this.context.xb.Jj();c=!!this.g.context.vd||Q(this.j.F,46);b&&c?(d=void 0,c="Corpus population failed",a&&(Dp(a)?(d=a,c+=": "+d.message):
c+=": "+String(a)),this.J.info(c),a=new G(c,void 0,d),lO(du(Ap(zp(a.qa,et(this.context.F)?3:1),b),c)),this.context.dispatchEvent(new WY(a))):this.J.info("Corpus population skipped");this.impression&&(cKa(C2(this.impression),!1),lZ(this.impression));this.dispose()};var $Ja=function(a,b,c){c=Q1(b,c,a.context.Ce);return pIa(gKa,c).then(function(d){d.some(function(e){return b instanceof J1&&Q(e,3)&&L(e,2)===b.teamDriveId})||D2(a.ga,b,d)},function(){a.handleError(Error("pd"),24)})},gKa=new nIa;var F2=function(a,b){this.O=b;a=a.da("sync.cache.FieldsCache");this.g=new E2(this.O,a);this.j=new E2(this.O,a)},G2=function(a,b){b=a.O.mh(b);hKa(a.g,b)},vHa=function(a,b,c){var d=[],e=[];b=q(b);for(var f=b.next();!f.done;f=b.next())f=f.value,Rs(f)?d.push(f):e.push(f);d.length&&H2(a.j,d,c);e.length&&H2(a.g,e,c)};F2.prototype.update=function(a,b,c){b&&Rs(b)?this.j.update(a,b,c):this.g.update(a,b,c)};F2.prototype.Hc=function(a){this.g.Hc(a);this.j.Hc(a)};
F2.prototype.clear=function(){this.g.clear();this.j.clear()};var E2=function(a,b){this.O=a;this.J=b;this.g=new Map};E2.prototype.get=function(a){return this.g.get(a)};E2.prototype.zf=function(){return[].concat(r(this.g.keys()))};E2.prototype.has=function(a){return this.g.has(a)};
var iKa=function(a,b){var c=[];a=q(a.g.entries());for(var d=a.next();!d.done;d=a.next()){d=q(d.value);let e=d.next().value;d.next().value.Zb(b)&&c.push(e)}return c},hKa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.g.has(c)||(a.J.info("Creating field cache for field: "+c),a.g.set(c,new jKa(c,a.O)))},H2=function(a,b,c){b=q(b);for(var d=b.next();!d.done;d=b.next()){let f=d.value;d=q(c);for(var e=d.next();!e.done;e=d.next())e=e.value,a.g.has(e)&&a.g.get(e).Ob(f);(d=bu(f))&&H2(a,
[d],c)}};E2.prototype.update=function(a,b,c){for(var d=new Set(c),e=q(this.g.entries()),f=e.next();!f.done;f=e.next()){var g=q(f.value);f=g.next().value;g=g.next().value;if(d.has(f))if(g.Zb(a)&&!b)g.delete(a);else if(b&&hda(b,[f],this.O)){f=g;g=b;let h=g.K(),l=ey(new Pk,h);f.O.Ob([f.field]).from(g).wo(l);f.g.set(h,l)}}b&&(a=bu(b))&&this.update(a.K(),a,c);b&&Fr(b,[].concat(r(this.g.keys())),this.O)};E2.prototype.Hc=function(a){for(var b=q(this.g.values()),c=b.next();!c.done;c=b.next())c.value.Hc(a)};
E2.prototype.clear=function(){for(var a=q(this.g.values()),b=a.next();!b.done;b=a.next())b.value.clear()};E2.prototype.size=function(){return this.g.size};var jKa=function(a,b){this.field=a;this.O=b;this.g=new Map};k=jKa.prototype;k.Zb=function(a){return this.g.has(a)};k.getItem=function(a){return this.g.get(a)};k.size=function(){return this.g.size};k.Ob=function(a){var b=a.K();(b=this.g.get(b))&&Kr(a,b,[this.field],this.O)};k.delete=function(a){this.g.delete(a)};k.Hc=function(a){this.g.delete(a)};
k.clear=function(){this.g.clear()};var I2=function(a,b,c){this.Db=a;this.Ac=b;this.P=c;this.W=new Map;this.rootId=""};k=I2.prototype;k.Rb=function(a){!this.rootId&&a&&(this.rootId=a)};k.mc=function(){return this.W};k.query=function(a,b){var c=[];if(tHa(this.Db,a)){for(var d=q(this.W.values()),e=d.next();!e.done;e=d.next())e=e.value,h1(this.Db,a,e.getItem())&&(b===void 0||m_(e.ub,b))&&c.push(e);this.Ac.sort(a,c)}return c};k.get=function(a){return this.W.get(a==="root"?this.rootId:a)||null};
k.getAll=function(a){var b=[];a=q(a);for(var c=a.next();!c.done;c=a.next())(c=this.get(c.value))&&b.push(c);return b};k.update=function(a){a.g?(a.g.count++,a.j&&a.j.count--,kKa(this,a.g)?this.Uc(a.g):this.W.set(a.id,a.g)):this.Uc(a.j)};var kKa=function(a,b){var c;(c=b.Qa()>1||m_(b.ub,2))||(c=b.getItem(),(c=E(c,26))||(c=b.getItem(),c=E(c,31)===!1));return c||Ys(b.getItem())?!1:b.getId()!==a.rootId};
I2.prototype.Hc=function(){for(var a=q(this.W.values()),b=a.next();!b.done;b=a.next())b=b.value,kKa(this,b)&&this.Uc(b)};I2.prototype.Uc=function(a){this.W.delete(a.getId());var b=kM(a.getItem()),c=a.getItem(),d=this.get($L(c)[0]);this.log("Deleting "+(b?b+" ":"")+a.getId()+" from "+(c==null?void 0:Tn(c,82))+((c==null?0:Um(c,7))?" trashed":"")+((c==null?0:Um(c,59))?" tombstoned":"")+(" parent: "+(d==null?void 0:d.getId()))+(" backfill: "+(d==null?void 0:d.g)+"."));a.count--};I2.prototype.log=function(a){this.P.da("sync.cache.FindByIdCache").info(a)};var lKa=function(a){dh.call(this,J2);this.people=a};U(lKa,dh);var J2="v";var K2=function(a,b,c){c=c===void 0?0:c;this.person=a;this.la=c;this.g=!1;this.references=new Set(b?[b]:[]);c===6&&(this.g=!0)};K2.prototype.va=function(){return this.la};
var L2=function(a){return a.la===0?1:a.la===2||(a.la===1||a.la===4)&&(S(a.person,3)||a.g)?3:2},nKa=function(a,b,c){var d=L(b,1);var e=a.person.clone();e=L(e,1);if(d!==e)return!1;c===6&&(a.g=!0);d=L2(a);e=b;e=!(a.person.getName()||!e.getName());var f=b;f=!(L(a.person,3)||!L(f,3));var g=a.va();return(c===4?0:g===1?c===1:g===5||g===6||g===2||g===4?c!==0&&g!==c:1)?(b=tA(uA(b.clone(),a.getName(b)),mKa(a,b)),e=!Gw(a.person,b),a.person=b,a.la=c,e||d!==L2(a)):c===4?(a.la=c,c=a.person,b=Ug(jt(b,6)),Vr(c,6,
b),d!==L2(a)):e||f?(e&&uA(a.person,a.getName(b)),f&&tA(a.person,mKa(a,b)),!0):!1};K2.prototype.getName=function(a){var b=L(this.person,2);a=L(a,2);return!a&&b&&b.length!==0?b:a};var mKa=function(a,b){a=L(a.person,3);b=L(b,3);return!b&&a&&a.length!==0?a:b};var M2=function(a,b){dh.call(this,oKa);this.ids=a;this.error=b};U(M2,dh);M2.prototype.getError=function(){return this.error};var oKa="w";var qKa=function(a){dh.call(this,pKa);this.people=a};U(qKa,dh);var pKa="x";var N2=function(a,b,c,d){vh.call(this);var e=this;this.F=a;this.P=b;this.o=c;this.j=d;this.g=[];this.C=new MT(function(){rKa(e)},100,this)};U(N2,vh);N2.prototype.run=function(a){a&&jv(this.F)&&(this.g.includes(a)||this.g.push(a),this.C.eg())};
var rKa=function(a){a.j.then(function(){for(;a.g.length;){let b=a.g.splice(0,240);a.log("Querying for people. Size: "+b.length+". Pending: "+(a.g.length+" "+b));sKa(a,b).catch(function(c){Dk("Failure querying for people. Size:"+b.length+". Pending:"+(a.g.length+" id:"+b),Ep(c),"warning")})}})},sKa=function(a,b){return a.o.then(function(c){var d=c.route;var e=new pP;e=Ju(e,1,b);return d.call(c,e)}).then(function(c){c=z(c,sA,1,B());a.dispatchEvent(new qKa(c))}).catch(function(c){c=Ip(c);a.dispatchEvent(new M2(b,
c))})};N2.prototype.log=function(a){this.P.da("sync.query.PeopleQueryRunner").info(a)};cF(cu,bh);k=cu.prototype;k.kq=function(a){this.C=arguments;this.j=!1;this.g?this.B=tj()+this.G:this.g=Gj(this.D,this.G)};k.stop=function(){this.g&&(n.clearTimeout(this.g),this.g=null);this.B=null;this.j=!1;this.C=[]};k.pause=function(){++this.o};k.resume=function(){this.o&&(--this.o,!this.o&&this.j&&(this.j=!1,this.H.apply(null,this.C)))};k.oa=function(){this.stop();cu.Kb.oa.call(this)};
k.lq=function(){this.g&&(n.clearTimeout(this.g),this.g=null);this.B?(this.g=Gj(this.D,this.B-tj()),this.B=null):this.o?this.j=!0:(this.j=!1,this.H.apply(null,this.C))};var O2=function(a,b,c,d,e){vh.call(this);var f=this;this.j=new Set;this.g=new Map;this.o=new Map;this.pa=new ji(this);this.Ha(this.pa);this.M=d;this.J=b.da("sync.cache.PeopleCache");d=O(a,kN,85)||new kN;this.G=Sg(hs(d,1,jc(864E5)));this.C=new N2(a,b,c,e);this.D=new cu(function(){var g,h=(g=f.M)==null?void 0:jZ(g,106015);h&&(g=ew(h),g=zB(g,tKa,11),g=J(g,1,f.g.size),J(g,2,f.j.size),lZ(h))},500,this);this.pa.listen(this.C,pKa,function(g){FJa(f,g.people,1);f.D.kq()});this.pa.listen(this.C,oKa,function(g){uKa(f,
g)})};U(O2,vh);O2.prototype.get=function(a){var b=this.g.get(a);return b?(vKa(this,b)&&P2(this,a).catch(function(){}),b):null};var Q2=function(a,b){return wKa(a,b)?Promise.resolve(a.g.get(b)):P2(a,b).then(function(){return a.g.get(b)})};O2.prototype.Ga=function(){return this.g.size===0};O2.prototype.clear=function(){this.J.info("Clearing the PeopleCache.");this.g.clear();this.j.clear()};
var xKa=function(a){return[].concat(r(a.g.values())).filter(function(b){return L2(b)===3&&b.va()!==4}).map(function(b){return b.person.clone()})},yKa=function(a,b){return(a=a.g.get(b))?[].concat(r(a.references)):[]},zKa=function(a,b,c){c=q(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;let e=a.g.get(d);e&&(e.references.delete(b),[].concat(r(e.references)).length===0&&(a.g.delete(d),a.j.delete(d)))}},FJa=function(a,b,c){if(![1,2].includes(c))throw Error("qd");b.length!==0&&(a.J.info("Importing "+
b.length+" from "+(Object.keys(opa)[c]+".")),AKa(a,b,c))},R2=function(a,b,c,d){b.length!==0&&BKa(a,b,c,d===void 0?0:d)},wKa=function(a,b){b=a.g.get(b);return!(!b||L2(b)!==3||vKa(a,b))},P2=function(a,b){if(!b)return Promise.resolve();if(a.o.has(b))return a.o.get(b).promise;a.C.run(b);var c=new us;a.o.set(b,c);return c.promise},BKa=function(a,b,c,d){d=d===void 0?0:d;var e=!1;b=q(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;let g=C(f,1),h=a.g.get(g);h?(nKa(h,f,d)&&(e=!0),c&&h.references.add(c)):
d!==4&&(e=!0,CKa(a,f,d,c));e&&d===1&&(f.getName()?a.j.delete(g):a.j.add(g))}return e},vKa=function(a,b){switch(b.va()){case 1:case 2:var c=b.person.clone();if(!(c=!YF(c,5))){c=Date.now();var d=Number;b=b.person.clone();b=jt(b,5);c=c-d(b)>a.G}return c;case 4:return a=Date.now(),c=Number,b=b.person.clone(),b=jt(b,6),a-c(b)>1E3;default:return!0}},CKa=function(a,b,c,d){c!==1&&c!==2&&P2(a,C(b,1)).catch(function(){});c=new K2(b,d,c);a.g.set(C(b,1),c)},uKa=function(a,b){b=b.ids.map(function(c){var d=a.g.get(c);
return d?d.person.clone():rA(new sA,c)});AKa(a,b,4)},AKa=function(a,b,c){for(var d=Date.now(),e=q(b),f=e.next();!f.done;f=e.next()){var g=f.value;f=C(g,1);c===1?Vr(g,5,d):c===4&&Vr(g,6,d);if(g=a.o.get(f))g.resolve(),a.o.delete(f)}BKa(a,b,void 0,c)&&a.dispatchEvent(new lKa(b))};var S2=function(a,b,c,d,e){vh.call(this);var f=this;this.pa=new ji(this);this.Ha(this.pa);this.F=a;this.g=new O2(a,b,c,d,e);this.pa.listen(this.g,J2,function(g){return f.dispatchEvent(g)})};U(S2,vh);var X2=function(a,b){if(b.g){let c=b.g.getItem(),d=T2(a,[c]).map(function(f){return U2(f)}),e=V2(a)?W2(a,[c]).map(function(f){var g=x(f,1);g=uA(rA(new sA,g),C(f,2));f=vA(new wA,C(f,3));return K(g,4,f)}):[];R2(a.g,[].concat(r(d),r(e)),b.g.getId(),a.va(Tn(c,82)))}b.j&&zKa(a.g,b.id,DKa(a,b))};
S2.prototype.va=function(a){return EKa.get(a)||0};
var DKa=function(a,b){var c=FKa(a,b.j),d=FKa(a,b.g);return c.filter(function(e){return!d.includes(e)})},FKa=function(a,b){return b?GKa(a,[b.getItem()]):[]},sHa=function(a,b){b=O(b,rq,1);R2(a.g,[U2(b)],"ACCOUNT");HKa(a,b)},OGa=function(a,b){var c=z(b,dP,2,B()).map(function(d){var e=zB(d,rq,9),f=Q2(a.g,C(e,11)).then(function(){Y2(a,[e])}),g=O(d,mx,12);d=V2(a)&&g&&x(g,1)?Q2(a.g,x(g,1)).then(function(){IKa(a,[g])}):Promise.resolve();return Promise.all([f,d])});return Promise.all(c).then(function(){return b})},
MJa=function(a,b){Y2(a,T2(a,b));V2(a)&&IKa(a,W2(a,b))},Y2=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())c=c.value,L(c,11)&&HKa(a,c)},IKa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,x(c,1)){var d=a.g.get(x(c,1));if(d){d=d.person.clone();E(d,7)?H(c,4,2):H(c,4,1);if(C(d,2)){var e=c,f=C(d,2);D(e,2,f)}if(d=O(d,wA,4))d=C(d,1),D(c,3,d)}}};
S2.prototype.sync=function(a){var b=this;return Promise.all([].concat(r(a)).map(function(c){return Q2(b.g,c)})).then(function(){},function(){})};
var PGa=function(a,b,c){for(var d=new Set,e=q(b),f=e.next();!f.done;f=e.next())f=f.value,L(f,11)&&(d.add(L(f,11)),R2(a.g,[U2(f)],c));return Promise.all([].concat(r(d)).map(function(g){return Q2(a.g,g)})).then(function(){return Y2(a,b)})},JKa=function(a,b){return GKa(a,[b]).some(function(c){return!wKa(a.g,c)})},GKa=function(a,b){var c=new Set,d=T2(a,b);d=q(d);for(var e=d.next();!e.done;e=d.next())(e=L(e.value,11))&&c.add(e);a=V2(a)?W2(a,b):[];a=q(a);for(b=a.next();!b.done;b=a.next())(b=x(b.value,1))&&
c.add(b);return[].concat(r(c))},T2=function(a,b){return b.map(function(c){var d=O(c,Ow,85);d=d?[].concat(r(z(d,rq,2,B())),r(z(d,rq,3,B()))):[];var e=Rk(c);e=(e=e&&Vs(e))?T2(a,[e]):[];return[].concat(r(qq(c)),[O(c,rq,17),O(c,rq,47),O(c,rq,91),O(c,rq,95)],r(d),r(e))}).flat().filter(function(c){return c&&!!L(c,11)})},W2=function(a,b){return V2(a)?b.flatMap(function(c){var d=Rk(c);d=(d=d&&Vs(d))?W2(a,[d]):[];return[O(c,mx,172),O(c,mx,173),O(c,mx,174),O(c,mx,175)].concat(r(d))}).filter(function(c){return!(c==
null||!x(c,1))}):[]},KKa=function(a,b){return yKa(a.g,b).filter(function(c){return c!=="ACCOUNT"})},LKa=function(a,b){a=a.g.get(b);return!(!a||a.va()!==1&&a.va()!==4||L2(a)===3)},MKa=function(a){return pA(new qA,xKa(a.g))},NKa=function(a,b){return b.map(function(c){c=c.clone();var d=T2(a,[c]);d=q(d);for(var e=d.next();!e.done;e=d.next())e=N(e.value,3),e=N(e,8),N(e,5);if(V2(a))for(d=q(W2(a,[c])),e=d.next();!e.done;e=d.next())e=N(e.value,2),N(e,3);return c})},HKa=function(a,b){var c=a.g.get(L(b,11));
c&&(a=c.person.clone(),C(a,2)&&Jv(b,C(a,2)),C(a,3)&&Kv(b,C(a,3)),c=L2(c),H(b,16,c),(a=O(a,wA,4))&&Mv(b,C(a,1)))},U2=function(a){var b=L(a,11);b=tA(uA(rA(new sA,b),C(a,3)),C(a,8));a=vA(new wA,C(a,5));return K(b,4,a)},V2=function(a){var b,c;return(c=(b=JD(a.F))==null?void 0:Q(b,95))!=null?c:!1},EKa=new Map([[1,6],[2,6],[3,6],[9,6],[4,2],[8,2],[6,7],[7,8]]);var OKa=function(a,b){this.context=a;this.j=b;this.g={}},$2=function(a,b){if(b instanceof NP)b.xa().forEach(function(d){Z2(a,d,b)});else if(!Dn(b)){var c=Nu(b);if(c.length===1)Z2(a,c[0],b);else{c=dv(b);if(c.length===1&&!c[0].Ya()){let d=L(c[0],1);c=a.j.get(d);if(!c){c=a.context.ha().ad;let e=Wt(new R,310);H1(c,[d],e).then(function(f){if((f=f[d])&&kM(f)){let g=Ns(f);g&&Lla(g)&&(f=kM(f),Z2(a,f,b))}else Z2(a,null,b)}).catch(function(f){Dk("CacheRefresher failed to refresh parent:"+d,Ep(f),"warning")});
return}if(kM(c.getItem())&&Lla(Ns(c.getItem()))){c=kM(c.getItem());Z2(a,c,b);return}}Z2(a,null,b)}}},Z2=function(a,b,c){if(b){var d=a.j.get(b);if(d&&!Rs(d.getItem()))return}d=b||"subscribed";a.g[d]||(a.g[d]=[]);a.g[d].push(c);b&&(a.context.Sc.promise.then(function(e){r2(e,b)}).catch(function(e){Dk("Failed getting change manager for tracking shared drive:"+b,Ep(e),"warning")}),PKa(a.context.Fj.get(),b))},b3=function(a,b){if(!(b instanceof Uo&&Dn(b)))for(var c=q(Object.entries(a.g)),d=c.next();!d.done;d=
c.next()){d=q(d.value);let e=d.next().value;d=d.next().value;for(let f=0;f<d.length;f++)Gw(b,d[f])&&(Ia(a.g[e],f),e!=="subscribed"&&a.context.Sc.promise.then(function(g){a3(g,e,!1)}).catch(function(g){Dk("Failed getting change manager to stop tracking shared drive:"+e,Ep(g),"warning")}))}},fIa=function(a,b){return a.g[b||"subscribed"]||[]};var QKa=function(a,b){this.g=new Map;this.j=b;this.Hh(z(a,qv,91,B()))};QKa.prototype.Hh=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=L(c,1);c=L(c,2);if(!b||!c)break;let d=jC(this,b);if(d){d!==c&&eu(b);break}this.g.set(b,c)}};
var Nda=function(a,b){return[].concat(r(new Set(b))).map(function(c){var d=gN(new qv,c);a.g.has(c)?hN(d,a.g.get(c)):a.j&&(c=a.j.g(c))&&hN(d,C(c,140));return d}).filter(function(c){return S(c,2)})},jC=function(a,b){return a.g.has(b)?String(a.g.get(b)):a.j&&(a=a.j.g(b))&&S(a,140)?L(a,140):null};var RKa=function(a){this.qb=a;this.g=new Map;this.j=[];this.o=[]};
RKa.prototype.update=function(a){var b=(a.j||a.g).getItem();if(Qk(b)){var c=a.id,d=a.j,e=a.g;if(e){if(d=Rk(e.getItem())){e=L(d,1);var f=Tn(d,4);e&&[1,3].includes(f)&&(this.g.has(e)||this.g.set(e,new Set),this.g.get(e).add(c),c=L(d,1),e=Vs(d),(d=(e==null?0:S(e,140))?L(e,140):L(d,7))&&this.qb.Hh([hN(gN(new qv,c),d)]))}}else if(!e&&d)for(d=q(this.g.entries()),e=d.next();!e.done;e=d.next())f=q(e.value),e=f.next().value,f=f.next().value,f.delete(c)&&f.size===0&&this.g.delete(e)}this.g.has(b.getId())&&
(c=b=a.id,d=a.j,a.g===null&&d!==null&&this.g.has(c)?(this.j.push.apply(this.j,r(this.g.get(b))),this.g.delete(b)):(c=a.j,d=a.g,this.g.has(a.id)&&d&&(c?!Gw(d.getItem(),c.getItem()):1)&&this.o.push.apply(this.o,r(this.g.get(b)))))};var SKa=function(a){return a.o.filter(function(b){return!a.j.includes(b)})},TKa=function(a){a.j=[];a.o=[]};var c3=function(a,b,c){vh.call(this);this.request=a;this.L=b;this.H=0;this.g=!1;this.ea=null;this.J=c.da("sync.query.SimpleFindByIdsRunner");this.Ge=new Set};U(c3,vh);
c3.prototype.run=function(){var a=this;if(this.ea)return this.ea.promise;this.ea=new us;this.g=!0;for(var b=q(this.C(this.request)),c=b.next();!c.done;c=b.next()){c=q(c.value);let d=c.next().value,e=c.next().value;this.H++;this.L.then(function(f){return f.route(e)}).then(function(f){a.o(f);UKa(a,d)},function(f){return void a.handleError(d,f)})}return this.ea.promise};var UKa=function(a,b){a.Ge.add(b);a.isCompleted()?(a.g=!1,a.D(a.request),a.dispatchEvent(y1),a.ea.resolve()):a.dispatchEvent(t1)};
c3.prototype.isCompleted=function(){return this.Ge.size===this.H};c3.prototype.handleError=function(a,b){b=Ip(b);var c=b.qa;Tn(c,2)===5||Tn(c,10)===4?(this.J.info("Deleting "+a+" due to: "+b.message),this.G(a),UKa(this,a)):(this.g=!1,a=new qZ(c,c.jd()),this.dispatchEvent(a),this.ea.reject(b))};c3.prototype.od=function(){return this.g};var d3=function(a,b){c3.call(this,a.clone(),R_(b),b.P);this.context=b};U(d3,c3);d3.prototype.C=function(a){for(var b=new Map,c=q(a.xa()),d=c.next();!d.done;d=c.next()){d=d.value;let e=a.clone().jc([d]);b.set(d,e)}return b};d3.prototype.o=function(a){a=a.Sa()[0];this.context.ha().Ta([a],1,void 0,!0,this.request.Ca())};d3.prototype.D=function(a){this.context.ha().Ta([],1,a,!1,this.request.Ca(),1)};d3.prototype.G=function(a){a=yM(xM(new wM,a));this.context.ha().nb([a])};var e3=function(a,b){o1.call(this,a,"sync.cache.TeamDriveIdViewCache",!0);this.request=b;this.g=0;b=a.O;this.j=new Set([].concat(r(a.Yc.zb()),r(b.zb())))};U(e3,o1);k=e3.prototype;
k.refresh=function(){var a=this;n1(this,6);var b=this.request.Ca().some(function(e){return!a.j.has(e)}),c=[];this.request.xa().forEach(function(e){var f=a.fc.get(e);f&&mM(f.getItem())&&!b||c.push(e)});this.g=this.request.xa().length-c.length;if(c.length===0)return this.Ta([],!1),ET();var d=this.request.clone();d.jc(c);d=new d3(d,this.context);if(this.context.jb().cb()){let e=this.getSize()>0;n1(this,e?1:2)}return d.run()};
k.Wi=function(a){var b=this;return this.context.Ab.equals(a,this.request)&&a.Ca().every(function(c){return b.j.has(c)})};k.vc=function(a){for(var b={},c=q(this.fc.entries()),d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;b[d]=(e==null?void 0:e.getItem())||null}c=pZ(new dr(b,this.va()),this.g).setStatus(this.tc);q1(this,a.Ca(),b);return c};k.resize=function(){};k.V=function(){return this.request};k.zc=function(a){return this.request.xa().includes(a.getId())};
k.Se=function(){return!0};k.Uc=function(){return!0};k.mk=function(){return!0};k.Oj=function(){};var VKa=function(a,b,c,d){this.j=b;this.results=c;this.g=[];this.J=d.da("sync.query.runner.internal.QueryRunnerHealthMonitor");this.Ak=a.Ak;this.zk=a.zk},XKa=function(a){WKa(a);return a.g.length===0?0:Math.max.apply(Math,r(a.g.map(function(b){return b.status})))},WKa=function(a){var b=a.j.C+1;if(!(b<a.Ak)){var c=a.j.pageCount+1,d=a.results.ids.size,e=[f3(a,"MAX_NUMBER_OF_REQUESTS",function(f){return b>f}),f3(a,"MAX_NUMBER_OF_PAGES",function(f){return c>f})];c>0&&e.push(f3(a,"MAX_REQUESTS_TO_PAGES_RATIO",
function(f){return b/c>f}));b>0&&e.push(f3(a,"MIN_RESULTS_PER_REQUEST_RATIO",function(f){return d/b<f}));a.g=e}},f3=function(a,b,c){var d=a.zk[b];if(!c(d.Pi))return{status:0,type:b};if(!c(d.zi))return a.J.Da("Query runner exceeded warning threshold "+b),{status:1,type:b};a.J.Da("Query runner exceeded error threshold "+b);return{status:2,type:b}};var YKa=function(){this.ids=new Set;this.j=0;this.g=new Set},ZKa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.ids.has(c)?a.j++:a.ids.add(c)};var g3=function(){this.state=1;this.token=void 0};g3.prototype.set=function(a){a===void 0||a===""?(this.token=void 0,this.state=2):(this.token=a,this.state=3)};g3.prototype.Ga=function(){return this.state===2};g3.prototype.value=function(){return this.token};var h3=function(a,b){this.results=a;this.J=b;this.continuationToken=new g3;this.o=this.j=!1;this.g=null;this.B=!1;this.maxResults=0;this.pageCount=this.C=-1;this.Ig=!1},i3=function(a,b){a.g&&(b?a.g.reject(b):a.g.resolve());a.o=!1;a.g=null},$Ka=function(a){a.C++;a.B=!0};h3.prototype.od=function(){return this.o};var aLa=async function(a){a.o&&(a.g||(a.g=new us),await a.g.promise)};h3.prototype.nd=function(){return!this.j||!this.continuationToken.Ga()||this.B};var j3=function(a){this.A=u(a)};U(j3,v);j3.prototype.S=function(){return PF(this,3)};j3.prototype.setStatus=function(a,b){return He(this,3,Dc,b,a,Ec,void 0,1)};var k3=function(a){this.A=u(a)};U(k3,v);k3.prototype.Hg=function(a){return PF(this,1,a)};var cKa=function(a,b){I(a,2,b)},bKa=function(a,b){gw(a,5,b)};k3.prototype.va=function(a){return PF(this,5,a)};k3.prototype.rb=function(a){return He(this,5,Dc,void 0,a,Ec,void 0,1)};var dKa=function(a,b){J(a,6,b)};k3.prototype.Nb=function(){return Hl(this,7)};k3.prototype.Lc=function(a){return H(this,7,a)};var eKa=function(a,b){I(a,8,b)},fKa=function(a,b){J(a,9,b)};var l3=function(a){this.A=u(a)};U(l3,v);var I_=function(a,b){return I(a,1,b)},O_=function(a,b){return H(a,3,b)},N_=function(a,b){return H(a,4,b)};l3.prototype.Nb=function(){return Hl(this,5)};l3.prototype.Lc=function(a){return H(this,5,a)};var P_=function(a,b){J(a,6,b)};var bLa=function(a){this.A=u(a)};U(bLa,v);var QJa=function(a){this.A=u(a)};U(QJa,v);var cLa=function(a){this.A=u(a)};U(cLa,v);var dLa=function(a){this.A=u(a)};U(dLa,v);var eLa=function(a){return zn(a,4)},fLa=function(a,b){J(a,4,b)};var gLa=function(a){this.A=u(a)};U(gLa,v);var m3=function(a){this.A=u(a)};U(m3,v);m3.prototype.S=function(){return Hl(this,1)};m3.prototype.setStatus=function(a){return H(this,1,a)};m3.prototype.na=function(){return Jt(this,1)};var hLa=function(a,b){H(a,2,b)},iLa=function(a,b){return I(a,3,b)};m3.prototype.Qa=function(){return zn(this,4)};m3.prototype.g=function(a){return J(this,4,a)};var jLa=function(a){this.A=u(a)};U(jLa,v);var kLa=function(a){this.A=u(a)};U(kLa,v);var lLa=function(a,b){return J(a,1,b)},mLa=function(a,b){return J(a,2,b)},nLa=function(a,b){return J(a,4,b)},oLa=function(a,b){Vr(a,9,b)},pLa=function(a,b){return I(a,8,b)};var n3=function(a){this.A=u(a)};U(n3,v);n3.prototype.Fg=function(){return zn(this,3)};var o3=function(a){this.A=u(a)};U(o3,v);var qLa=function(a,b){J(a,1,b)};o3.prototype.Fg=function(){return zn(this,2)};var rLa=function(a,b){return J(a,2,b)};var sLa=function(a){this.A=u(a)};U(sLa,v);var tLa=function(a,b){H(a,1,b)};var p3=function(a){this.A=u(a)};U(p3,v);var uLa=function(a,b){return Vr(a,1,b)},vLa=function(a,b){return Vr(a,2,b)},wLa=function(a,b){return Vr(a,3,b)},xLa=function(a,b){Vr(a,4,b)},yLa=function(a,b){return Vr(a,5,b)};var zLa=function(a){this.A=u(a)};U(zLa,v);var q3=function(a){this.A=u(a)};U(q3,v);q3.prototype.Gb=function(a){return H(this,1,a)};var X_=function(a,b){return H(a,2,b)},Y_=function(a,b){return H(a,3,b)};q3.prototype.Fg=function(){return zn(this,7)};var tKa=function(a){this.A=u(a)};U(tKa,v);var ALa=function(a){this.A=u(a)};U(ALa,v);var BLa=function(a){this.A=u(a)};U(BLa,v);var kZ=function(a){this.A=u(a)};U(kZ,v);kZ.prototype.Gh=function(){return S(this,3)};kZ.prototype.Eh=function(){return Hl(this,4)};var bDa=function(a){this.A=u(a)};U(bDa,v);var CLa=function(a){this.A=u(a)};U(CLa,v);var r3=function(a){this.A=u(a)};U(r3,v);k=r3.prototype;k.va=function(){return Hl(this,1)};k.rb=function(a){return H(this,1,a)};k.Gb=function(a){return H(this,2,a)};k.S=function(){return Hl(this,4)};k.setStatus=function(a){return H(this,4,a)};k.na=function(){return Jt(this,4)};var s3=function(a){this.A=u(a)};U(s3,v);var DLa=function(a){var b=new s3;return J(b,1,a)};var t3=function(a){this.A=u(a)};U(t3,v);t3.prototype.Cc=function(a){return J(this,16,a)};var ELa=function(a){this.A=u(a)};U(ELa,v);var u3=function(a){this.A=u(a)};U(u3,v);u3.prototype.Nb=function(){return Hl(this,5)};u3.prototype.Lc=function(a){return H(this,5,a)};var FLa=function(a,b){I(a,6,b)};var GEa=function(a){this.A=u(a)};U(GEa,v);var GLa=function(a){this.A=u(a)};U(GLa,v);var HLa=function(a){this.A=u(a)};U(HLa,v);var b0=function(a,b){return I(a,2,b)},iFa=function(a,b){H(a,3,b)},c0=function(a,b){return J(a,8,b)};var v3=function(a){this.A=u(a)};U(v3,v);v3.prototype.S=function(){return Hl(this,1)};v3.prototype.setStatus=function(a){return H(this,1,a)};v3.prototype.na=function(){return Jt(this,1)};var ILa=function(a,b){Vr(a,2,b)};v3.prototype.getMemoryInfo=function(){return O(this,p3,3)};var JLa=function(a){return zB(a,p3,3)};var w3=function(a){this.A=u(a)};U(w3,v);w3.prototype.Gb=function(a){return H(this,1,a)};w3.prototype.S=function(){return Hl(this,2)};w3.prototype.setStatus=function(a){return H(this,2,a)};w3.prototype.na=function(){return Jt(this,2)};var x3=function(a){this.A=u(a)};U(x3,v);x3.prototype.V=function(){return O(this,r3,1)};x3.prototype.getState=function(){return O(this,u3,2)};
var KLa=function(a){return zB(a,ALa,7)},LLa=function(a){return zB(a,ELa,12)},y3=function(a){return zB(a,sLa,17)},z3=function(a){return zB(a,dLa,19)},MLa=function(a){return zB(a,bLa,31)},dw=function(a){return zB(a,j3,32)},A3=function(a){return zB(a,kLa,33)},NLa=function(a){return zB(a,o3,35)},OLa=function(a){return zB(a,zLa,36)},B3=function(a){return zB(a,w3,37)},C3=function(a){return zB(a,v3,38)};var PLa=function(a,b,c,d){this.j=a;this.sessionId=b;this.M=d;this.g=null;this.J=c.da("sync.query.item.runner.internal.SearchItemsEventLogger")},SLa=function(a,b,c){var d=c.pageNumber,e=c.ot;a.g!==null&&(a.J.Da("startImpression called before previous impression was finalized."),D3(a));var f;if(c=(f=cw(a.M,106041))!=null?f:void 0){var g;let h;f=(h=(g=O(b,dR,2))==null?void 0:zn(g,1))!=null?h:0;b=QLa[Hl(b,3)];g=Y_(X_(W_(c).Gb(56),2),NZ(1));J(g,7,f);g=E3(c);g=D(g,1,a.j).Cc(a.sessionId);f=J(g,4,f);d=J(f,
2,d);d=J(d,3,e);d=H(d,17,b);Vr(d,7,Date.now())}a.g=new RLa(c)},D3=function(a){var b;if(a.g){var c=a.g,d=c.responses;var e=new Set;var f=new Set;var g=0;for(var h=q(d),l=h.next();!l.done;l=h.next()){var m=l.value;l=q(z(m,Pk,2,B()));for(var p=l.next();!p.done;p=l.next())(p=p.value.K())&&e.has(p)?g++:p&&e.add(p);l=q(z(m,Pk,1,B()));for(m=l.next();!m.done;m=l.next())(m=m.value.K())&&f.add(m)}d=!((b=d[d.length-1])==null||!x(b,4));f=f.size;e=e.size;b=d;(d=c.ob)!=null&&(d=E3(d),f=J(d,5,f),e=J(f,6,e),g=J(e,
12,g),I(g,14,b));if(c.ob&&(f=E3(c.ob),g=z(f,s3,15,B()),g.length!==0))if(g.length===1)zn(g[0],2)===0&&(e=f,g=g[0],zn(g,3)>0?(g=hs(g,6),Vr(e,8,g)):(g=hs(g,6),Vr(e,9,g)));else{e=q(g);for(b=e.next();!b.done;b=e.next())d=b.value,zn(d,3)>0?(b=f,d=hs(d,6),Vr(b,8,d)):zn(d,4)>0&&(b=f,d=hs(d,6),Vr(b,9,d));if(!YF(f,8)||!YF(f,9))if(e=f,YF(e,8)||(f=hs(g[0],6),Vr(e,8,f)),!YF(e,9))for(b=g.length-1;b>=1;b--)if(f=g[b],zn(f,2)===0){g=e;e=hs(f,6);Vr(g,9,e);break}}let t;(t=c.ob)==null||lZ(t);a.g=null}else a.J.Da("finalize called before impression was started.")},
TLa=function(a,b){if(b=jZ(a.M,b)){var c=E3(b);D(c,1,a.j);lZ(b)}},RLa=function(a){this.ob=a;this.responses=[]},F3={},QLa=(F3[0]=0,F3[1]=1,F3[2]=2,F3);var G3={},Oda=(G3[1]=1,G3[2]=2,G3[3]=3,G3[4]=4,G3[5]=5,G3),H3={},Pda=(H3[1]=1,H3[2]=2,H3[3]=3,H3),I3={},Qda=(I3[0]=1,I3[1]=2,I3[2]=3,I3[3]=4,I3),J3={},Xda=(J3[0]=0,J3[1]=1,J3);var K3=function(a,b){this.state=a;this.F=b.F;this.O=b.O},VLa=function(a,b){var c={};ULa(a,b,c);b=a.I(b);var d=a.j();a=a.F;hu(c,b);iu(c,d);c["accept-language"]=ju(ku(a));lu(c,b);d.We&&(c["x-goog-no-intercept"]="true");return c},WLa=function(a,b){var c=a.state;c=Math.min(c.maxResults-c.results.ids.size+c.results.j+c.results.g.size,yt(c.maxResults)-c.results.ids.size,1E3);var d=a.state.continuationToken.value();c=Fl(fR(eR(uu(gta()),c),d));a=a.g();d=uu(Fra());b=gv(b);b=K(d,1,b);b=K(b,2,c);b=H(b,3,a);
return ie(b)},ULa=function(a,b,c){b=iv(a.O,b.Ca());var d;b=nr(a.O,{fields:b,anonymous:(d=ku(a.F))==null?void 0:Nt(d)});a=a.O.filter(b).Mt(function(e){return XLa(e,6)});c["x-goog-fieldmask"]=Yya(a,b)};var L3=function(a,b){K3.call(this,a,b)};U(L3,K3);L3.prototype.g=function(){return 1};L3.prototype.j=function(){return{}};L3.prototype.I=function(a){var b;a=(b=ww(a,R,30))!=null?b:Cna();return a.g()!==1535?a:Wt(a.clone(),111)};var M3=function(a,b){K3.call(this,a,b)};U(M3,K3);M3.prototype.g=function(){return 2};M3.prototype.j=function(){return{We:!0,criticality:"CgIIAQ=="}};M3.prototype.I=function(a){return ww(a,R,30)};var N3=function(a,b,c,d){bh.call(this);this.Db=a;this.B=b;this.J=c;this.g=d;this.o=new Set;this.j=new Set;this.Cg=[];this.D=new Set;this.C=new Set;this.G=0};U(N3,bh);
N3.prototype.qg=function(a){var b=JF(a,Pk,1),c=F(a,3,B()),d=JF(a,Pk,2),e=x(a,4),f="Search Items StreamResponse ["+(YLa++ +"]["+this.G++ +"]"),g=[];b.length>0&&g.push(" partialItemsList: "+b.length);c.length>0&&g.push("removeItemIdsList: "+c.length);d.length>0&&g.push(" fullItemsList: "+d.length);e!=null&&g.push(" continuationToken: "+e);this.J.info(f+g.join(", "));d=JF(a,Pk,1);b=F(a,3,B());e=JF(a,Pk,2);c=x(a,4);a=ww(a,hR,5);f=q(b);for(g=f.next();!g.done;g=f.next())this.o.delete(g.value);d=ZLa(this,
d);e=ZLa(this,e);f=q(d);for(g=f.next();!g.done;g=f.next())g=g.value.K(),this.o.add(g);f=q(e);for(g=f.next();!g.done;g=f.next())g=g.value.K(),this.j.add(g);d=$La(this,d);e=$La(this,e);this.Cg.push.apply(this.Cg,r(e));f=new d_;if(ds(a,NO,1)||P(a,2)||MC(a,3)>0){g=O(a,NO,1);f.g=!1;f.j=g;var h;g=(h=Q(a,2))!=null?h:!1;f.g=!1;f.incompleteSearch=g;h=F(a,3,B());f.g=!1;f.o=h}return{gt:d,Cg:e,Yj:b,continuationToken:c,Kl:f}};
var $La=function(a,b){return b.filter(function(c){var d=a.B;c=c.K();return!d.ids.has(c)})},ZLa=function(a,b){return b.filter(function(c){var d=c.K();(c=a.Db(c)||a.D.has(d))&&a.C.add(d);return!c})};
N3.prototype.commit=function(){try{for(var a=q(this.o),b=a.next();!b.done;b=a.next())this.j.has(b.value)}catch(h){throw this.Ug(),Ip(h);}ZKa(this.B,this.j);a=this.B;b=q(this.C);for(var c=b.next();!c.done;c=b.next())a.g.add(c.value);var d,e;(e=(d=this.g).Pl)==null||e.call(d,this.Cg);var f,g;(g=(f=this.g).Qj)==null||g.call(f);this.dispose()};N3.prototype.Ug=function(){var a,b;(b=(a=this.g).Ys)==null||b.call(a,this.Cg);var c,d;(d=(c=this.g).Qj)==null||d.call(c);this.dispose()};var YLa=0;var P3=function(a,b,c,d,e){vh.call(this);var f=this;this.request=a;this.C=b;this.context=c;this.M=d;this.results=new YKa;this.la=1;this.j=void 0;this.o=!1;this.Db=function(m){return z1(f.context.Hb,m)};var g,h;a=(h=(g=nu(ww(a,R,30)))==null?void 0:C(g,2))!=null?h:Yk();O3[a]?O3[a]++:O3[a]=1;g=O3[a];this.J=this.context.da("sync.query.streaming.StreamingItemQueryRunner");this.g=new PLa(a,g,this.context.P,this.M);this.state=new h3(this.results,this.J);this.G=new VKa(e,this.state,this.results,this.context.P);
var l;this.D=(l=tna(ww(this.context.F,DB,4)))!=null?l:!1;e="Created new streaming query runner, request: "+XZ(this.context.Ab,this.request,2);this.J.info(e)};U(P3,vh);k=P3.prototype;k.Eo=function(a,b){if(!this.state.j){var c=this.state;c.j=!0;ZKa(c.results,a);c.continuationToken.set(b)}};
k.Do=async function(a,b,c,d){if(!this.state.j){b.Ga()||this.dispatchEvent(new w1(b));b=this.state;b.j=!0;b.o=!0;this.la=d;b=d=aMa(this);var e=b.qg,f=uu(Jra());a=yu(f,2,a);c=D(a,4,c);c=e.call(b,ie(c));bMa(this,c);d.commit();i3(this.state);this.dispatchEvent(y1)}};k.od=function(){return this.state.od()};k.Qa=function(){return this.results.ids.size};k.V=function(){return this.request};
k.ni=async function(a){var b=this.state;b.pageCount++;b.maxResults=a;if(this.od())await aLa(this.state);else{a=this.state;a.j=!0;a.o=!0;this.D?this.j===void 0?this.j=ww(this.request,R,30).g()===1535?new M3(this.state,this.context):new L3(this.state,this.context):this.j instanceof M3&&(this.j=new L3(this.state,this.context)):this.j||(this.j=new L3(this.state,this.context));a=this.j;try{await cMa(this,a),i3(this.state)}catch(c){throw a=Ip(c),i3(this.state,a),a;}}};
var cMa=async function(a,b){var c=a.state,d=c.results.ids.size<c.maxResults,e=!c.continuationToken.Ga();c=!c.B;d&&e&&c&&!a.isDisposed()?await dMa(a,b):a.dispatchEvent(y1)};P3.prototype.nd=function(){return this.state.nd()};P3.prototype.Ig=function(){return this.state.Ig};
var dMa=function(a,b){var c=eMa(a);return c?(a.handleError(c),Promise.reject(c)):new Promise(function(d,e){var f=WLa(b,a.request),g=VLa(b,a.request),h=aMa(a);SLa(a.g,f,{pageNumber:a.state.pageCount,ot:a.state.C});var l=a.results.j;fta(a.C,f,g).subscribe({next:function(m){var p;if((p=a.g.g)!=null&&p.ob){var t=W_(p.ob);t=VF(t,4,200);VF(t,5,0);t=DLa(200);t=J(t,2,0);var w=z(m,Pk,1,B()).length;t=J(t,3,w);w=z(m,Pk,2,B()).length;t=J(t,4,w);w=F(m,3,B()).length;t=J(t,5,w);w=!!x(m,4);t=I(t,7,w);w=Vr(t,6,Date.now());
t=E3(p.ob);fk(t,15,s3,w);p.responses.push(m)}m=h.qg(m);bMa(a,m)},error:function(m){h.Ug();if(m instanceof FR){var p=ML(new LL,m.code);m=TF(p,2,m.message);m=Rx(m)}else m=Ip(m,"SearchItems: Unknown RPC error");e(m);a.handleError(m)},complete:function(){a:{try{h.commit();let t;if((t=a.g.g)!=null){var m=a.results.j-l;let w;if((w=t.ob)!=null){var p=E3(w);J(p,13,m)}}D3(a.g)}catch(t){m=Ip(t);a.handleError(m);e(m);break a}d(cMa(a,b))}}})})},aMa=function(a){$Ka(a.state);return new N3(a.Db,a.results,a.J,{Pl:function(b){a.state.B=
!1;fMa(a,b.map(function(c){return Bd(c)}))},Ys:function(){a.state.B=!1},Qj:function(){a.state.Ig=!1}})},bMa=function(a,b){if(!a.isDisposed()){var c=b.gt,d=b.Yj,e=b.Cg,f=b.continuationToken;b=b.Kl;c.length>0&&gMa(a,c);a.state.continuationToken.set(f);b.Ga()||a.dispatchEvent(new w1(b));d.length>0&&hMa(a,d);e.length>0&&iMa(a,e)}},gMa=function(a,b){a.state.Ig=!0;b=b.map(function(c){return Bd(c).qc(6)}).map(function(c){return xM(zM(new wM,c),c.K())});a.dispatchEvent(new v1(b,Q3(a)))},hMa=function(a,b){b=
b.map(function(c){return yM(xM(new wM,c))});a.dispatchEvent(new v1(b,Q3(a)))},iMa=function(a,b){b=b.map(function(c){return xM(zM(new wM,c),c.K())});a.dispatchEvent(new u1(t1,b,Q3(a)))};
P3.prototype.handleError=function(a){this.J.Da("Error fetching more items: "+a.message,a);var b;if((b=this.g.g)!=null&&b.ob){var c=Ip(a).qa,d=c.fe();c=$t(c,26);let e=W_(b.ob);d&&VF(e,4,d);c&&VF(e,5,c);d||c||VF(e,5,2);d=DLa(d);d=J(d,2,c!=null?c:2);d=Vr(d,6,Date.now());b=E3(b.ob);fk(b,15,s3,d)}D3(this.g);a=a.qa;a=new qZ(a,a.jd());this.context.ha().Df(this.request,a);this.dispatchEvent(a);this.dispose()};
var eMa=function(a){var b=XKa(a.G);switch(b){case 0:break;case 1:a.o||(TLa(a.g,106054),a.o=!0);break;case 2:return TLa(a.g,106055),new G("Query runner has entered an infinite loop with high degree of confidence.",zp(new wp,2));default:vc(b)}},fMa=function(a,b){a.context.ha().Ta(b,1,a.request,a.nd(),void 0,Q3(a))},Q3=function(a){var b=a.la;a.la=1;return b},O3={};var R3=function(a){this.g=Tm(a)},S3=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}};R3.prototype.compare=function(a,b,c){Dn(a);b=T3(b);c=T3(c);a=Hu(a);var d=S3(a);if(a&&d){d=jMa(d);let e=kMa(this,a.getType());return lMa(a,d,e,b,c)}return Wa(sq(b),sq(c))};
R3.prototype.sort=function(a,b,c){Dn(a);a=Hu(a);var d=S3(a);if(a&&d){d=jMa(d);let g={};for(var e=q(b),f=e.next();!f.done;f=e.next()){f=T3(f.value);let h=sq(f);g[h]=d(f)}b.sort(mMa(this,a,g)||Wa)}c&&c>0&&Sa(b,c,b.length-c)};
var T3=function(a){return Nma(a)?a:a.getItem()},jMa=function(a){return function(b){var c=nMa(a[0],b);for(let d=1;d<a.length;d++){let e=nMa(a[d],b);c=Wa(e,c)===1?e:c}return c}},kMa=function(a,b){return b===4?a.g:function(c,d){return Wa(c,d)}},mMa=function(a,b,c){return function(d,e){var f=kMa(a,b.getType());d=T3(d);e=T3(e);return lMa(b,function(g){return c[sq(g)]},f,d,e)}},lMa=function(a,b,c,d,e){var f=1===Hl(a,2,1)?1:-1;if(Um(a,3)){a=Sk(d,!0);var g=Sk(e,!0);a=a===g?0:a?-1:1}else a=0;return a||f*(c(b(d),
b(e))||Wa(sq(d),sq(e)))},nMa=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.Gi()||"";case 4:return Um(b,5)||!1;case 12:let c,d;return Qk(b)?Tg((c=Rk(b))==null?void 0:(d=Vs(c))==null?void 0:jt(d,13,void 0,CF))||0:Tg(jt(b,13))||0;case 11:return Tg(jt(b,12))||0;case 10:return Tg(jt(b,11))||0;case 2:return(L(b,3)||"").toLowerCase();case 25:return Tg(jt(b,23))||0;case 32:return Tg(jt(b,28))||0;case 9:return Tg(jt(b,10))||0;case 67:return Tg(jt(b,70))||0;case 98:return Tg(jt(b,96))||
0;case 233:let e;return Tg((e=O(b,zx,148))==null?void 0:jt(e,3,void 0,CF))||0;default:return""}};var U3=function(a,b){o1.call(this,a,"sync.cache.ViewCache");var c=this;this.nc=null;this.B=0;this.W=[];this.j=void 0;this.incompleteSearch=!1;this.D=[];this.count=0;this.o=null;this.C=!1;this.request=b.clone();this.cacheKey=XZ(this.context.Ab,b);this.H=this.context.bs.get();b=Hu(this.request)&&S3(Hu(this.request));var d=this.context.Ac;this.g=b?function(e,f){return d.compare(c.request,e,f)}:null;this.G=oMa(this.request);this.yo=!b||!this.G||Nt(dq(a.F))};U(U3,o1);
U3.prototype.refresh=function(){this.J.info(this.Me()+" | Refresh called, currently "+this.getSize()+" items cached");return pMa(this)};
var pMa=async function(a){if(!a.isDisposed())if(Q(a.request,48))n1(a,1);else return n1(a,6),qMa(a)},rMa=function(a,b,c,d,e,f){d=d===void 0?"":d;f=f===void 0?[]:f;if(a.o)return a.o;b.length&&(V3(a),a.nc.Eo(b.map(function(g){return g.getId()}),d));a.Ta(b,c,e);f.length&&a.Ta(f,c);a.count>=a.request.La()||a.tc===1?a.o=Promise.resolve():a.o=a.refresh();return a.o},V3=function(a){if(sMa(a)){var b;(b=a.request.I())==null||Vt(b,!1)}b=a.H.create(a.request,!1);a.pa.listen(b,RHa,function(c){tMa(a,c.Kl)});a.pa.listen(b,
y1,function(c){uMa(a,c)});b instanceof P3&&(a.pa.listen(b,QHa,function(c){vMa(a,c)}),a.pa.listen(b,t1,function(c){vMa(a,c)}));a.nc=b},vMa=function(a,b){a.J.info(a.Me()+" | handleQueryRunnerChange called with "+b.changes.length+" changes");for(var c=[],d=[],e=q(b.changes),f=e.next();!f.done;f=e.next()){var g=f.value;if(Q(g,3))f=C(g,2),(f=a.fc.get(f))&&d.push(new c1(f.getId(),f,null));else if(g.Zb()){f=c;var h=f.push;g=new q0(g.getItem());g.o=!0;h.call(f,g)}}IHa(a,c,!0,b.la,!1);r1(a,d)},sMa=function(a){return a.nc?
(GS(a.pa),a.nc.dispose(),a.nc=null,a.B=0,!0):!1},qMa=function(a){V3(a);return a.ii(a.nc)};U3.prototype.ii=function(a){var b=this,c=new us;this.context.jb().cb()?this.pa.Lf(this.context.jb(),[TY.de,TY.Fe],function(){wMa(b,a).then(c.resolve,c.reject)}):wMa(this,a).then(c.resolve,c.reject);return c.promise};var wMa=function(a,b){a=a.request.La()+a.B;return b.ni(a)};
U3.prototype.resize=function(){var a=this;this.J.info(this.Me()+" | Resize called");var b=xMa(this);if(this.request.La()!==b)if(this.request.lb(b),b<=this.count)this.Hc();else{var c=void 0;this.C||this.nc==null?(this.C=!1,c=this.refresh()):c=this.ii(this.nc);var d;(d=c)==null||d.catch(function(e){Dk("resize refresh itemLimit:"+b+" > count:"+a.count+" failed",Ep(e),"warning")})}};
var xMa=function(a){var b=new Set(a.Bc);if(!b.size&&a.ul())return a.request.La();var c=0;b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;d=o0(s1(a.context),d);let e;c=Math.max(c,d.La?(e=d.La())!=null?e:0:0)}return c};k=U3.prototype;k.V=function(){return this.request};k.Me=function(){return this.cacheKey};k.Wi=function(a){return this.context.Ab.equals(a,this.request,!0)?D1(this.context.O,a.Ca()):!1};
k.vc=function(a){var b=a.La(),c=this.W.slice(0,b),d=Vk(c);c=xt(c);q1(this,a.Ca(),c);a=OO(sy(new ty,c),this.j);a=I(a,8,this.incompleteSearch);a=Ju(a,18,this.D);return mZ((new dr(a,this.va())).setStatus(d?6:this.Qk(b)),b<this.W.length||!this.context.jb().cb()&&this.tc!==1)};k.Qk=function(a){return this.tc===1||a<=this.count?1:this.context.jb().cb()?this.W.length>0?1:2:6};
var tMa=function(a,b){var c;a.j=(c=b.j)!=null?c:a.j;a.incompleteSearch=b.incompleteSearch;a.D=b.o.length?b.o:a.D},uMa=function(a,b){b=b.currentTarget;var c=a.request.La()-a.count;c>0&&b.nd()&&(a.B+=c,a.ii(b).catch(function(d){Dk("handleQueryRunnerComplete runQueryRunner failed with missingCount:"+(c+" and extraItems:"+a.B),Ep(d),"warning")}))};k=U3.prototype;
k.ro=function(){var a;if(a=this.g){a:{a=this.W;let b=this.g||Wa;for(let c=1;c<a.length;c++)if(b(a[c-1],a[c])>0){a=!1;break a}a=!0}a=!a}a&&(JHa(this,"ViewCache unsorted after import"),this.context.Ac.sort(this.request,this.W));this.C&&n1(this,6)};
k.zc=function(a,b){if(this.yo){if(b)return!0;if(!this.G){let d=a.getId();b=!!this.W.find(function(e){return d===e.getId()},this);a=h1(this.context.Db,this.request,a.getItem());return b&&a}}if(!h1(this.context.Db,this.request,a.getItem()))return!1;var c=yt(this.request.La());if(this.tc===1||!this.g||m_(a.ub,2)||this.count<c||b||Ys(a.getItem()))return!0;b=this.W.length===0?null:this.W[this.W.length-1];return!!b&&this.g(a,b)<=0};
k.Se=function(a){this.g?Xa(this.W,a,this.g):this.W.push(a);W3(a)&&this.count++;return!0};k.Uc=function(a){this.g?Ya(this.W,a,this.g):Ka(this.W,a);W3(a)&&this.count--;return!0};k.al=function(a){return this.g?Ua(this.W,this.g||Wa,a):Fa(this.W,a)};k.mk=function(a,b){W3(b)&&this.count++;W3(a)&&this.count--;this.g&&this.g(a,b)!==0?(Ya(this.W,a,this.g),Xa(this.W,b,this.g)):this.W[this.al(a)]=b;return!0};
k.Hc=function(){if(this.tc!==1&&!this.context.jb().cb()){var a=yt(this.request.La());if(!(this.count<=a||this.nc&&a>=this.nc.Qa())){this.J.info(this.Me()+" | Evicting...");a=this.count-this.request.La();for(let b=this.W.length-1;b>=0&&a>0;b--){let c=this.W[b];m_(c.ub,2)||Ys(c.getItem())||(W3(c)&&this.count--,Ia(this.W,b),LHa(this,c.getId()),a--)}qMa(this).catch(function(b){Dk("refreshQueryRunner failed",Ep(b),"warning")})}}};var W3=function(a){return!m_(a.ub,2)&&Wk(a.getItem())!==3};
U3.prototype.nn=function(a){var b=this,c=dv(this.request);c.length&&(c=c.some(function(d){return(d=(d=d.Ia())&&b.context.ha().Oa.g(d))&&E(d,108)}),yMa(this.context.Uf,a,c))};U3.prototype.mn=function(){this.Hc()};U3.prototype.qo=function(a){var b,c;if(((b=this.nc)==null?0:b.od())&&((c=this.nc)==null?0:c.Ig()))return!1;var d;return!!(this.tc!==1&&a.La()>this.count&&((d=this.nc)==null?0:d.od()))};U3.prototype.Oj=function(){sMa(this);this.count=0;this.W=[]};var zMa=function(a,b,c,d,e,f,g,h,l){bh.call(this);this.P=a;this.B=b;this.M=c;this.D=d;this.C=e;this.F=f;this.j=g;this.o=h;this.g=l;this.pa=new ji(this);this.Ha(this.pa);this.J=this.P.da("sync.ProgressiveSyncer")};U(zMa,bh);
var DMa=async function(a,b,c){var d;if((d=JD(a.F))==null||!Q(d,15))return[];var e;d=(e=a.g.get(b))==null?void 0:e.g;if(d===1)return[];if(c&&AMa(a)){if(d===2)return a.J.info("Skipping "+b+" backfill. It is too large (1000+)."),[];await a.C;return BMa(a,b)}c!==void 0&&CMa(a,b,c?3:1).catch(function(f){Dk("backfill setBackfillStatus failed folderId:"+b,Ep(f),"warning")});return[]},AMa=function(a){var b,c,d,e,f;return!(!(((b=a.F)==null?0:(c=JD(b))==null?0:Q(c,19))&&((d=a.F)==null?0:(e=ut(d))==null?0:Mt(e)))||
((f=a.F)==null?0:Q(f,10)))},BMa=async function(a,b){var c=cw(a.M,106034),d=Yda(b);d=new E1(a.P,a.D,a.F,a.j,d,!1,!0);a.J.info("Paginating to cache 1000 items for "+b);var e=[];a.pa.listen(d,t1,function(f){e.push.apply(e,r(f.changes))});try{await d.ni(1E3)}catch(f){throw c&&(hLa(X3(c).setStatus(3),1),lZ(c)),new G("Error trying to backfill "+b,null,Ep(f));}try{let f=d.nd()?2:1;f===2&&a.J.info(b+" is too large (1000+) to backfill.");await CMa(a,b,f);c&&(iLa(X3(c).setStatus(1),d.nd()).g(d.Qa()),lZ(c));
return e}catch(f){throw c&&(hLa(X3(c).setStatus(3),2),lZ(c)),new G("Error updating "+b+" after backfill.",null,Ep(f));}},CMa=async function(a,b,c){var d,e;((d=a.F)==null?0:(e=JD(d))==null?0:Q(e,19))?(await EMa(a,b),(d=a.g.get(b))?CW(a.B,d,c,"sync.ProgressiveSyncer"):a.J.Da("Failed setting backfillStatus for "+b+" to "+(c+". Folder is unexpectedly null"))):(a.J.info("Setting backfillStatus for "+b+" to "+c+"."),(a=a.g.get(b))!=null&&(a.g=c))},EMa=async function(a,b){if(!a.g.get(b)){a.J.info("Refreshing "+
b+" before setting backfill status.");var c=Wt(new R,1497);await H1(a.o,[b],c)}};var FMa=new Set([273,335]),GMa=[50],Y3=function(a,b){bh.call(this);var c=this;this.context=a;this.O=b;this.L=!1;this.rootId=null;this.G=!1;this.g={};this.J=a.P.da("sync.cache.CacheManager");this.F=this.context.F;this.D=new us;this.T=new us;this.Tb=new N1(a.Ab,a.P);this.context.M.j.g=this.Tb;var d;if((d=JD(this.F))==null?0:Q(d,15))b=new L1(a.Db,a.Ac),this.Tb.add(b),a.pf.promise.then(function(){var e,f,g,h;(g=c.Tb)==null||(h=g.j)==null||g1(h,!((e=c.Tb)==null?0:(f=e.g)==null?0:f.Jc))});this.Ub=new I2(a.Db,
a.Ac,a.P);this.j=new F2(a.P,this.O);this.Oa=new j1(this.O,this.context.Ab,this.Ub,this.j);this.context.M.j.o=this.Oa;this.ad=new aIa(this.context,this.O,this.g,this.Ub);this.kg=new OKa(this.context,this.Ub);this.C=new B2(this.context,this);JR(this.C,function(){c.C=null});this.ca=r0(this.O,GMa);A0(this.context.Xa,["NSockf"],function(){c.initialize()});this.H=IT();A0(this.context.Xa,["BNEDtc"],function(){c.H.resolve()});this.bc=new S2(this.F,this.context.P,Promise.resolve(R_(a)),this.context.M,this.context.Ze.promise);
jv(this.F)&&(b=new ji(this),this.Ha(b),b.listen(this.bc,J2,this.ka.bind(this)));this.qb=new QKa(this.F,this.Oa);this.o=new RKa(this.qb);this.ra=new zMa(a.P,this.context.Ce,a.M,R_(a),a.Ze.promise,a.F,this.Oa,this.ad,this.Ub)};U(Y3,bh);
Y3.prototype.ka=function(a){var b=a.people;this.J.info("Handling PeopleCache updated with "+b.length+".");a=new Set;var c=new Set;b=q(b);for(var d=b.next();!d.done;d=b.next()){d=L(d.value,1);let g=KKa(this.bc,d);for(var e=q(g),f=e.next();!f.done;f=e.next())a.add(f.value);(e=g[g.length-1])&&LKa(this.bc,d)&&c.add(e)}b=[];a=q(a);for(d=a.next();!d.done;d=a.next()){e=d.value;d=this.Ub.get(e);if(!d){this.J.Da("b/154479164 Unexpected missing wrapper for "+e+".");continue}e=d.getItem().clone();Z3(this,e);
b.push(d1(d,new q0(e,void 0,1)))}$3(this,b,[]);this.context.xb.update(6).catch(function(g){Dk("handlePeopleCacheUpdated update failed #itemsToRefresh:"+c.size,Ep(g),"warning")});c.size&&H1(this.ad,[].concat(r(c)),Wt(new R,311)).catch(function(g){Dk("handlePeopleCacheUpdated refreshByIds failed #itemsToRefresh:"+c.size,Ep(g),"warning")})};Y3.prototype.initialize=function(){this.C.run()};
var h_=function(a,b,c,d,e,f,g){f=f===void 0?"":f;g=g===void 0?!1:g;b=VZ(a.context.Ab,b);var h=a4(a,b);a.J.info("Initializing cache with "+c.length+" items for key '"+h+"'");var l=a.g[h];l?(d.Ga()||tMa(l,d),a.Ta(c,1,b,!!f,void 0,e)):(l=new U3(a.context,b),b4(a,h,l),G2(a.j,b.Ca()),a=l,a.o||(a.C=g,V3(a),a.o=a.nc.Do(c,d,f,e)))};
Y3.prototype.pb=function(a,b){if(Cn(b))b=VZ(this.context.Ab,b),Dn(b)?a=this.context.Ki.get().pb(a,b):(G2(this.j,b.Ca()),$2(this.kg,b),b=HMa(this,b,a),b.cache.pb(a),a=b.se);else if(b instanceof xB)b=IMa(b),G2(this.j,b.Ca()),b=JMa(this,b,a),b.cache.pb(a),a=b.se;else if(b instanceof GN)b=KMa(this,b,a),b.cache.pb(a),a=b.se;else if(Fo(b)){Q(this.context.F,1)&&$2(this.kg,b);var c=this.j,d=b.Ca();d=i_(c.O,d);hKa(c.j,d);b=JMa(this,b,a);b.cache.pb(a);a=b.se}else throw Error("rd");return a};
Y3.prototype.Gk=function(a,b){b.Ca().includes(273)||(gw(b,1,273),a=VZ(this.context.Ab,b),a=a4(this,a),a=this.g[a],a==null||a.isDisposed()||a.vc(b))};Y3.prototype.Mb=function(a,b){if(Cn(b)){if(Dn(b)){this.context.Ki.get().Mb(a,b);return}b=VZ(this.context.Ab,b);b3(this.kg,b)}else if(b instanceof xB)b=IMa(b);else if(b instanceof GN||b instanceof NP)Fo(b)&&Q(this.context.F,1)&&b3(this.kg,b);else throw Error("rd");b=a4(this,b);var c=this.g[b];c&&(c.Mb(a),c.isDisposed()&&delete this.g[b])};
var a4=function(a,b){un(b)&&b.jc(b.xa().slice().sort());return XZ(a.context.Ab,b,2)},HMa=function(a,b,c){var d=a4(a,b),e=a.g[d];if(e)return e.tc===3?(a.J.info("ItemQueryRequest for LiveObject "+c+" backed by refreshing existing view cache: "+d),e.refresh()):a.J.info("ItemQueryRequest for LiveObject "+c+" backed by existing view cache: "+d),{cache:e,se:!1};var f=[],g=5;e="";var h=kIa(a.Tb),l=!1;for(let p=0;p<h.length;p++){let t=h[p];g=t.kd(b);if(g!==5){var m=g===1?void 0:b.La();f=t.ll(b,m);m=t.va();
t instanceof i1&&(e=t.nextPageToken);a.J.info("ItemQueryRequest for LiveObject "+c+" backed by new view cache from corpus cache: "+(t.getType()+", size: ")+(t.getSize()+", initial items: ")+(f.length+": "+d));l=!0;break}}g!==5||l||a.J.info("ItemQueryRequest for LiveObject "+c+" backed by empty new view cache: "+d);a.context.jb().cb()&&(f=f.concat(a.Ub.query(b,1)),Ta(f,void 0,function(p){return p.getId()}),g=(c=a.Tb.g)&&c.qh&&c.kd(b)!==5?c.kd(b):6,a.J.info("Offline: Populate with "+f.length+" initial items(s)"));
c=new U3(a.context,b);rMa(c,f,g!==1,e,m,a.Ub.query(b,2)).catch(function(p){var t;if(t=p instanceof G){let w;t=((w=p.qa)==null?void 0:w.fe())||0;t=t>=400&&t<500}t||(p=lO(Hp(p,48)),a.context.dispatchEvent(new WY(new G("Error during view cache init",p))))});b4(a,d,c);return{cache:c,se:!0}},KMa=function(a,b,c){var d=a4(a,b),e=a.g[d];if(e)return e.tc===3?(a.J.info("TeamDriveQueryRequest for LiveObject "+c+" backed by refreshing existing view cache: "+d),e.refresh()):a.J.info("TeamDriveQueryRequest for LiveObject "+
c+" backed by existing view cache: "+d),{cache:e,se:!1};a.J.info("TeamDriveQueryRequest for LiveObject "+c+" backed by new view cache: "+d);e=new g2(a.context,b);e.refresh().then(null,function(){});b4(a,d,e);return{cache:e,se:!0}},JMa=function(a,b,c){var d=un(b)?"FindByIdsRequest":"TeamDriveFindByIdsRequest",e=a4(a,b),f=!1,g=a.g[e];if(g&&g.Wi(b))a.J.info(d+" for LiveObject "+c+" backed by existing view cache: "+e);else{let h=a.Ub.getAll(b.xa());b=LMa(a,b,h);f=!0;b4(a,e,b);g?(MMa(g,b),g.isDisposed(),
g=b,a.J.info(d+" for LiveObject "+c+" backed by recreated view cache: "+e)):(g=b,a.J.info(d+" for LiveObject "+c+" with "+(h.length+" initial items backed by new view cache: ")+e))}return{cache:g,se:f}},LMa=function(a,b,c){var d;b instanceof xB?d=new C1(a.context,b):d=new e3(a.context,b);c.length&&d.Ta(c,!0,8);d.refresh().then(null,function(){});return d};Y3.prototype.Cf=function(){return Object.values(this.g).filter(function(a){return a.V()instanceof GN})};
var TJa=function(a,b){var c=Wt(new R,309),d=iKa(a.j.g,b).filter(function(e){return!FMa.has(e)});if(d.length){let e=YZ(a.context.Ab,d,!0);a.J.info("Refreshing "+b+" for secondary fields: "+e+".");H1(a.ad,[b],c,!1,d).catch(function(f){Dk("refreshSecondaryFieldCaches refreshByIds failed itemId:"+b,Ep(f),"warning")})}},p1=function(a,b,c){c&&c.length&&vHa(a.j,b,c);jv(a.F)&&MJa(a.bc,b)},D2=function(a,b,c){if(b instanceof g2){var d=a4(a,b.V());if(a.g[d]){a.J.info(d+" | Cache already exists, ignoring persisted data");
return}}b instanceof f1&&a.Tb.remove(b);d=new Map;var e=a.Ub.mc(),f=new Map(e);e=[];for(var g=q(b.mc()),h=g.next();!h.done;h=g.next()){h=h.value;var l=h.getId();let w=a.Ub.get(l);if(w){let A=Wk(w.getItem());var m=void 0;((m=JD(a.F))==null?0:Q(m,15))&&h.g===1&&CW(a.context.Ce,w,h.g,"sync.cache.CacheManager");A===3?d.set(h.getId(),h.getItem()):w!==h&&e.push(new c1(h.getId(),h,w));f.delete(l)}else{l=e1(h);var p=void 0;if((p=JD(a.F))==null?0:Q(p,15)){var t=void 0;(t=a.Tb.j)==null||t.update(l)}a.Ub.update(l);
a.o.update(l);jv(a.F)&&X2(a.bc,l)}jv(a.F)&&Z3(a,h.getItem())}m=q(f.values());for(p=m.next();!p.done;p=m.next())e.push(e1(p.value));a.J.info("Applying "+e.length+" updates to newly added CorpusCache");e=q(e);for(m=e.next();!m.done;m=e.next())b.update(m.value);e=b instanceof o1||b instanceof f1?a4(a,b.V()):null;b instanceof g2?b4(a,e,b):a.Tb.add(b);m=[];d=q(d.values());for(p=d.next();!p.done;p=d.next())p=p.value,t=new wM,xM(t,p.K()),zM(t,p),m.push(t);a.nb(m);a.J.info("Merged cache: "+b.getType()+" | size "+
(b.getSize()+" key: "+e));if(b instanceof J1)for(c=q(c),d=c.next();!d.done;d=c.next())a.context.uk.propagate(d.value,void 0);b instanceof i1&&NMa(a,b.V(),!b.j);a.context.xb.update(3).catch(function(w){Dk("addCorpusCache update failed",Ep(w),"warning")})},NMa=function(a,b,c){var d;if(((d=JD(a.F))==null?0:Q(d,15))&&YCa(a.context.Ab,b)){let e=XCa(b);e&&DMa(a.ra,e,c).then(function(f){f.length&&(a.J.info("Handling "+f.length+" changes for the "+(e+" backfill.")),a.nb(f))}).catch(function(f){Dk("backfill failed folderId:"+
e,Ep(f),"warning")})}},MMa=function(a,b){(new Set(a.Bc)).forEach(function(c){b.pb(c);a.Mb(c)})};
Y3.prototype.Ta=function(a,b,c,d,e,f){var g=this;f=f===void 0?0:f;this.J.info("Importing "+a.length+" items | dataSource: "+f);if(!e){var h;e=i_(this.O,(h=c==null?void 0:c.Ca())!=null?h:[])}h=[];var l=[];for(let m=0;m<a.length;m++){let p=a[m],t=new q0(p,void 0,b),w=this.Ub.get(sq(p)),A=w?w.getItem():null,M=OMa(this,w,t);if(M!=null)t.ub=M,c4(this,A,p),Ws(p),p=uFa(p,A,this.O,e),t.item=p;else if(w!=null)t=w,p=A;else continue;jv(this.F)&&Z3(this,p);!w||PMa(this,A,p,e)?(l.push(d1(w,t)),h.push(t)):h.push(w)}a=
null;c&&(c instanceof Uo&&(NMa(this,c,d),(a=mIa(this.Tb,c))&&a.Ta(h,!!d)),c=a4(this,c),(a=this.g[c])&&a.Ta(h,!!d,f));if(l.length>0){jv(this.F)&&l.forEach(function(t){return X2(g.bc,t)});let m,p;if((p=(m=JD(this.F))==null?void 0:E(m,89))!=null&&p){let t=l.map(function(w){return w.g}).filter(function(w){return w!==null}).map(function(w){return w.getItem()});t.length>0&&this.context.pf.promise.finally(function(){var w;(w=g.context.rg)==null||s2(w,t)})}$3(this,l,e,a?[a]:[])}};
var Z3=function(a,b){JKa(a.bc,b)||Wk(b)!==5||b.qc(1)},PMa=function(a,b,c,d){b?(b=b.clone(),b=N(b,82)):b=null;b&&(p1(a,[b],d),Ana(b));c=c.clone();c=N(c,82);p1(a,[c],[]);return!Gw(b,c)},t0=function(a,b){var c=new Map;b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c.get(d.ub)||c.set(d.ub,[]),c.get(d.ub).push(d);c=q(c);for(b=c.next();!b.done;b=c.next())d=q(b.value),b=d.next().value,d=d.next().value,a.Ta(xt(d),b)};Y3.prototype.Hh=function(a){this.qb.Hh(a)};
Y3.prototype.nb=function(a){var b=this,c=[];for(let g=0;g<a.length;g++){let h=a[g],l=Q(h,3)?null:h.getItem();var d=h.Ea();let m=(d=this.Ub.get(d))?d.getItem():null,p=null;if(l){p=new q0(l,void 0,void 0,Ug(jt(h,1))||void 0);let t=OMa(this,d,p);if(t==null)continue;p.ub=t;c4(this,m,l);Ws(l);l=uFa(l,m,this.O);p.item=l;jv(this.F)&&Z3(this,l)}if(m&&!l||l&&PMa(this,m,l,[])){if(!m||!l||!QMa(this,m,l)){let t;RMa(this.context.Fj.get(),h,(t=l)!=null?t:void 0)}c.push(d1(d,p))}}jv(this.F)&&c.forEach(function(g){X2(b.bc,
g)});var e,f;if((f=(e=JD(this.F))==null?void 0:E(e,89))!=null&&f){let g=c.map(function(h){return h.g}).filter(function(h){return h!==null}).map(function(h){return h.getItem()});g.length>0&&this.context.pf.promise.finally(function(){var h;(h=b.context.rg)==null||s2(h,g)})}$3(this,c,[])};
var QMa=function(a,b,c){if(!Rs(b)||!Rs(c))return!1;var d=[235,218];b=b.clone();Fr(b,d,a.O);c=c.clone();Fr(c,d,a.O);return Gw(b,c)},c4=function(a,b,c){if(b){let h=new Set;if(!O(c,Xs,81))for(var d=q(a.ca),e=d.next();!e.done;e=d.next())h.add(e.value);Kr(c,b,h,a.O)}var f;b=b==null?void 0:(f=Rk(b))==null?void 0:Vs(f);var g;c=(g=Rk(c))==null?void 0:Vs(g);b&&c&&c4(a,b,c)};
Y3.prototype.Df=function(a,b){if(a instanceof Uo||a instanceof xB||a instanceof GN)a=a4(this,a),(a=this.g[a])&&a.Gd(b);else throw Error("rd");};
var OMa=function(a,b,c){var d=c.getItem();if(z1(a.context.Hb,d))return null;if(b){a=b.ub;var e=c.ub;if(!(e>=0?!a||a<=e:1))return null;a=b.getItem();if(Wk(a)!==3&&!Rs(a)&&!Rs(d)&&lM(a)===lM(d))if(Ug(jt(a,75))&&Ug(jt(d,75))){if(Ug(jt(a,75))>Ug(jt(d,75)))return null}else if(b.j&&c.j){if(b.j>c.j)return null}else if(Ug(jt(a,11))>Ug(jt(d,11)))return null}return l_(b&&b.ub,c.ub)};Y3.prototype.ae=function(a,b){if(a=this.Ub.get(a))b=l_(a.ub,b),a.ub=b};
var SMa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())a.ae(c.value,-2)},$3=function(a,b,c,d){d=d===void 0?[]:d;var e;if((e=JD(a.F))==null?0:Q(e,15)){e=q(b);for(var f=e.next();!f.done;f=e.next())f=f.value,f.j&&f.g&&CW(a.context.Ce,f.g,f.j.g,"sync.cache.CacheManager")}e=q(b);for(f=e.next();!f.done;f=e.next())f=f.value,a.j.update(f.id,f.g?f.g.getItem():null,c);c=Object.values(a.g);d=q(d);for(e=d.next();!e.done;e=d.next())Ka(c,e.value);d=q(c);for(c=d.next();!c.done;c=d.next())r1(c.value,
b);d=new Set;c=kIa(a.Tb);c=q(c);for(e=c.next();!e.done;e=c.next()){f=e.value;e=q(b);for(var g=e.next();!g.done;g=e.next())g=g.value,f.update(g)&&d.add(g.id);f instanceof J1&&f.getSize()>=f.Wb*1.2&&d4(a.context.Fj.get(),f.teamDriveId,!1)}b=q(b);for(c=b.next();!c.done;c=b.next())c=c.value,a.Ub.update(c),a.Ub.get(c.id)||a.j.Hc(c.id),a.o.update(c);d.size&&a.context.xb.Uo(d.size);TMa(a)},TMa=function(a){var b=a.o.j.slice(0),c=SKa(a.o);TKa(a.o);if(b.length){a.J.info("Refreshing shortcuts with unknown targets: "+
b.join(", "));var d=new R;Wt(d,308);H1(a.ad,b,d,!0).catch(function(g){Dk("handleShortcutUpdates refreshByIds failed #unknownTargetShortcutIds:"+b.length,Ep(g),"warning")})}if(c.length){a.J.info("Updating locally stale shortcuts: "+c.join(", "));d=s0(a.Oa,c);c=[];d=q(Object.values(d));for(var e=d.next();!e.done;e=d.next()){e=e.value;let g=Rk(e.getItem());var f=L(g,1);if(f=a.Oa.g(f))K(g,5,f),H(g,4,1),c.push(e)}t0(a,c)}},IMa=function(a){a.Ci([].concat(r(a.Ca())).sort());return a},WMa=function(a){var b=
b===void 0?0:b;if(!a.G)if(a.rootId!==null)a.B(UMa(a,a.rootId));else{let c=!1;dm(a.D.promise,b).then(function(){c=!0},function(){VMa(a,"root id timeout fetch")});a.context.Lj.promise.then(function(){n.setTimeout(function(){c||VMa(a,"root id missing fetch")},0)});a.D.promise.then(function(d){a.B(UMa(a,d))})}};Y3.prototype.Rb=function(a){this.rootId===null&&(this.rootId=a,this.D.resolve(a),this.Ub.Rb(a))};
Y3.prototype.B=function(a){if(!this.G&&this.rootId===a.K()){var b=ey(new Pk,a.K());Gw(a,b)||(this.G=!0,C(a,136)===""&&N(a,136),this.Ta([a],1),this.T.resolve())}};
var g_=function(a){WMa(a);return a.T.promise},VMa=function(a,b){a.L||(a.L=!0,R_(a.context).then(function(c){c.route(Xt(Yt(new ht,Ut(Vt(Wt(new R,301),!0),1)),["account.metadata.root_folder_id"])).then(function(d){var e,f;(d=(e=d.oe())==null?void 0:(f=e.getMetadata())==null?void 0:L(f,2))&&a.context.Rb(d,b)},function(){})}))},UMa=function(a,b){var c=Lv(Fv(new rq,cq(dq(a.F))),!0);c=H(c,6,1);var d=dq(a.F);(d=x(d,6))&&Gv(c,d);a=eM(Nv(dM(aM(Mk(ey(new Pk,b).setTitle(x(a.F,38,"My Drive")),"application/vnd.google-apps.folder"),
!1),c),[c]),1);a=I(a,63,!0);a=gM(a,!0);b=cx(new Os,!0);b=I(b,2,!1);b=dx(ex(I(b,3,!1),!1),!1);b=I(b,6,!0);b=I(b,7,!0);b=I(b,10,!1);b=Pv(b,!1);b=I(b,12,!1);return Ps(a,fx(gx(hx(b,!1),!1),!1))};
Y3.prototype.vf=function(a){var b=this;return this.H.promise.then(function(){return UZ(a)?g_(b):void 0}).then(function(){var c=VZ(b.context.Ab,a,!0),d=XZ(b.context.Ab,c);if(mIa(b.Tb,c))b.J.info("Cache hint exists, skipping backfill for "+d);else{var e=new i1(b.context.Db,b.context.Ac,b.context.Ab,c);c=new K1(b.context,e,c);var f=q2(b.context.Vb,null);return c.run().then(function(){Q1(e,f,b.context.Ce).then(function(g){D2(b,e,g)})}).then(function(){t2(b.context.Vb,null);b.J.info("Cache hint backfill succeeded for "+
d)},function(g){t2(b.context.Vb,null);b.J.info("Cache hint backfill failed for "+d,Ep(g))})}})};Y3.prototype.Nb=function(){var a=this.Tb.g;return a&&a.Jc?1:2};var b4=function(a,b,c){a.g[b]=c;a.J.info(b+" | Set cache with "+c.getSize()+" items")};var XMa=function(){vZ.call(this,Kq,function(a,b){var c=null,d=null;a&&(c=a.value)&&joa(c);b&&(d=b.value)&&joa(d);return Gw(c,d)})};U(XMa,vZ);var e4=function(a,b){a1.call(this,a,b)};U(e4,a1);e4.prototype.we=function(){this.resize()};e4.prototype.resize=async function(){for(var a=await this.B,b=0,c=q(this.Bc),d=c.next();!d.done;d=c.next())d=o0(a,d.value),b=Math.max(b,d.La!==void 0?d.La()||0:0);this.Sm(b)};var f4=function(a,b){vh.call(this);this.request=a;this.pageToken="";this.g=this.j=!1;this.data=[];this.Wb=0;this.C=b};U(f4,vh);var g4=function(a){return!a.j||a.pageToken!==""};f4.prototype.run=function(a){this.Wb=a===void 0?1E5:a;return!this.g&&this.data.length<=this.Wb&&g4(this)?YMa(this):Promise.resolve([])};
var YMa=function(a){a.j=!0;a.g=!0;var b=a.ej(a.request,a.Wb-a.data.length,a.pageToken);return Promise.resolve(a.C(b)).then(function(c){return ZMa(a,c)},function(c){return a.handleError(c)})},ZMa=function(a,b){a.g=!1;a.pageToken=a.sj(b);b=a.pj(b);b.forEach(function(c){return a.data.push(c)});a.Ei(b);return a.data.length<a.Wb&&g4(a)?Promise.all([Promise.resolve(b),YMa(a)]).then(function(c){return c[0].concat(c[1])}):Promise.resolve(b)};
f4.prototype.handleError=function(a){this.g=!1;a=Ip(a);var b=new qZ(a.qa,a.qa.jd());this.Tm(b);this.dispatchEvent(b);throw a;};f4.prototype.Ei=function(){};f4.prototype.Tm=function(){};var h4=function(a,b,c){f4.call(this,c,function(d){return a.then(function(e){return e.route(d)}).then(null,function(e){throw Ip(e);})});this.ga=b};U(h4,f4);k=h4.prototype;k.ej=function(a,b,c){a=a.clone().lb(b);return new vo(a,c)};k.sj=function(a){return a.pageToken||""};k.pj=function(a){return z(a.response,$N,2,B())};k.Ei=function(a){this.ga.bb(a.map(C0),!1,1,this.request)};k.Tm=function(a){this.ga.Df(this.request,a)};var i4=function(a,b,c,d,e){d=d.clone();a1.call(this,a,d);this.o=b;this.ga=c;this.j=e;this.entries=[];this.g=null};U(i4,e4);k=i4.prototype;k.refresh=function(){this.rb(this.va()===0?1:6);this.g=new h4(this.o,this.ga,this.request);return this.g.run(this.request.La()||100).then(function(){})};k.Ne=function(a){return this.entries.find(function(b){return b.key===a})};k.Sm=function(a){this.g&&a===Sw(this.request,2)||(this.request.lb(a),this.g?this.g.run(a):this.refresh())};
k.vc=function(){var a=this,b=dO(new cO,this.entries.filter(function(c){return a.ga.isValid(c)}).map(function(c){return c.value.clone()}));return(new dr(b,this.va())).setStatus(this.S())};k.bb=function(a,b,c){var d=this;a=a.filter(function(e){return(e=e.value)?C(e,3)===L(d.request,1):!0});return e4.prototype.bb.call(this,a,b,c)};
var $Ma=function(a,b){b=kCa(a.j,a.entries,b).map(function(c){return c.getType()===2?Mq(c.Pe().key):c.Pe()});a.bb(b,!1,1)},aNa=function(a,b){a.bb(b.map(function(c){return new Lq(c,null)}),!0,1)};
i4.prototype.Mc=function(a,b){b=b===void 0?1:b;var c=q(eZ(a)),d=c.next().value;c=c.next().value;if(!lda(d?this.D.get(d)||null:null,b))return!1;var e=b===-1?0:this.entries.length,f=this.entries.findIndex(function(h){return h.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&&bNa(this,d,b);return g};
var bNa=function(a,b,c){a.Ne(b)?e4.prototype.ae.call(a,b,c):a.D.delete(b)},cNa=function(a,b){return mo(b)&&b.Ea()===L(a.request,1)?EC(b).map(function(c){return B0(L(c,1))}).map(function(c){return a.Ne(c)}).filter(function(c){return!!c}).map(VFa):[]};var dNa=function(a){this.j=a;this.g=new Set},eNa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())a.g.add(c.value)};var j4=function(a,b,c){c=c===void 0?new dNa(D0):c;$0.call(this,function(e){return e.Ea()},function(e){return new i4(d.B,d.D,d,e,d.j)});var d=this;this.B=a;this.D=b;this.Hb=c;this.j=new XMa};U(j4,$0);var fNa=function(a,b){var c=a.Hb,d=D0(b);c.g.add(d);b=b.value;(a=k4(a,b==null?void 0:b.Ea()))&&a.Rg()},k4=function(a,b){if(b)return a.nj(koa(new mn,b))},gNa=function(a,b){var c=[];a=q(a.g.values());for(var d=a.next();!d.done;d=a.next())c.push.apply(c,r(cNa(d.value,b)));return c};
j4.prototype.ae=function(a,b){for(var c=q(this.g.values()),d=c.next();!d.done;d=c.next())d.value.ae(a,b)};j4.prototype.nb=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=k4(this,sq(b)))&&b.refresh()};j4.prototype.bb=function(a,b,c,d){var e=this;c=c===void 0?1:c;if(!d)return void $0.prototype.bb.call(this,a,b,c);if(b=this.nj(d))a=a.filter(function(f){return e.isValid(f)}),$Ma(b,a)};j4.prototype.isValid=function(a){var b=this.Hb;return!b.g.has(b.j(a))};var hNa=function(a,b){this.j=a;this.g=b},iNa=function(a,b){b=koa(new mn,b);var c=new h4(a.j,a.g.get(),b);new Promise(function(d,e){return c.run(100).then(d,e)})};var jNa=function(){this.W={}},q2=function(a,b){kNa(a,"subscribed");b&&kNa(a,b);return a.W[b||"subscribed"].ea.promise},kNa=function(a,b){a.W[b]||(a.W[b]={count:0,Te:[],gp:[],ea:new us});a.W[b].count++},t2=function(a,b){b&&!lNa(a,b)||lNa(a,"subscribed")},lNa=function(a,b){if(!a.W[b])return!1;a.W[b].count--;a.W[b].count===0&&(a.W[b].ea.resolve({items:a.W[b].Te,it:a.W[b].gp}),ph(a.W,b));return!0};
jNa.prototype.nb=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=L(e,7);f&&f===L(e,2)&&c.W[f]&&c.W[f].gp.push(e);c.W[d]&&c.W[d].Te.push(e)})};var zv=function(a,b,c){U0.call(this,a,c);this.C=b};U(zv,U0);k=zv.prototype;k.get=async function(a){var b=await Y0(this,a);if(b.request&&b.response){var c=b.response.clone();if(!this.qd(b.request,a,!0)&&zn(b.request,4))if(zn(a,4)===0)c.An();else{let d=zn(a,4),e=0,f=0,g=0,h=0;a=c.Ud().filter(function(l){return bp(l,vO,2,yO)&&e++<d||bp(l,Eoa,3,yO)&&f++<d||bp(l,wO,4,yO)&&g++<d||bp(l,Foa,5,yO)&&h++<d});c.ck(a)}c.mj()===0&&c.setStatus(1)}else c=new Ur;return nZ(new dr(c,b.la),b.fb)};k.oh=function(a){return a.clone()};
k.ig=function(a){return Hl(a,3)||0};k.qd=function(a,b,c){if(c)return Gw(a,b);var d,e;return((d=zn(a,4))!=null?d:0)>=((e=zn(b,4))!=null?e:0)};k.Di=function(a,b){a=V0(this).response;return YF(b,3)&&(!a||Tg(jt(a,3))<Sg(hs(b,3)))};k.Vd=function(){var a=V0(this);if(a&&a.request&&zn(a.request,4)&&a.response){var b=Pr(a.response);b=b.length?Object.values(this.C.cd(b)).filter(function(c){return!!c}):[];return Joa(Ioa(Hoa(new zO,a.request),a.response),b)}return null};var l4=function(a){bh.call(this);var b=this;this.j=a;this.g=null;JR(this,function(){b.unsubscribe()})};U(l4,bh);l4.prototype.update=function(a){if(!this.isDisposed()){if(this.g&&this.g.xa().length===a.length){let c=new Set(this.g.xa());if(a.every(function(d){return c.has(d)}))return}var b=null;a.length&&(a.sort(),b=(new NP).jc(a),$2(this.j,b));this.unsubscribe();this.g=b}};l4.prototype.unsubscribe=function(){this.g&&(b3(this.j,this.g),this.g=null)};var m4=function(a,b,c,d){a1.call(this,a,c);var e=this;this.H=d;this.G=new Set;this.C=!1;this.data=this.g=null;this.fb=!1;this.j=null;this.o=zn(c,6)||0;var f=new us;this.T=f.promise;a.then(function(g){var h=new l1(function(l){mNa(e,l)});e.Ha(h);p0(g,h);f.resolve(h)}).catch(function(g){Dk("Could not update HomePage Activity ViewCache",Ep(g),"warning")});this.L=new l4(b);this.Ha(this.L)};U(m4,a1);m4.prototype.we=function(){nNa(this)};
m4.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=RM(this.request.clone(),2);a&&K(b,1,a);return this.getData(b,!1)};
var oNa=function(a,b){b=Sg(hs(b,3));if(!(a.o<=0)&&b){a.j&&(clearTimeout(a.j),a.j=null);var c=Math.max(6E4,b+a.o-Date.now());a.j=setTimeout(function(){a.refresh(Ut(Vt(Wt(new R,306),!1),2)).catch(function(d){Dk(c+"ms refresh HomePage Activity ViewCache failed",Ep(d),"warning")})},c)}},nNa=function(a){a.g===null&&a.getData(a.request).then(function(){},function(b){b=b.qa;a.Gd(new qZ(b,b.jd()))})};
m4.prototype.getData=function(a,b){var c=this;b=b===void 0?!0:b;return this.H.get(a).then(function(d){c.rb(d.la);var e;c.fb=(e=d.fb)!=null?e:!1;pNa(c,d);c.T.then(function(f){var g=new Set,h,l,m=q((l=(h=d.response)==null?void 0:h.Ud())!=null?l:[]);for(h=m.next();!h.done;h=m.next()){var p=void 0;(h=(p=h.value.getItem())==null?void 0:p.getId())&&g.add(h)}g.size&&(m=f.Yf,g=IP((new xB).jc([].concat(r(g.values()))),cs(a,5,B())),p=cs(a,9,B()),g=Ie(g,19,Dc,p,Ec),m.call(f,g))})},function(d){return(b&&Lp(d.qa)?
W0(c.H):Promise.resolve(!1)).then(function(e){if(e)return c.getData(a,!1);throw d;})})};m4.prototype.vc=function(){var a,b,c=(b=(a=this.data)==null?void 0:a.S())!=null?b:6;a=this.data||(new Ur).setStatus(c);return nZ(new dr(a,this.va()),this.fb).setStatus(c)};var pNa=function(a,b){a.C=!0;try{a.bb([b.response],b.response.S()!==1)}finally{a.C=!1}};
m4.prototype.Mc=function(a){if(this.C){this.g=a.clone();this.G.clear();a=q(this.g.Ud());for(var b=a.next();!b.done;b=a.next())b=b.value,b.Zb()&&Qs(b.getItem());this.data=this.g.clone();oNa(this,this.g)}else this.data=a;return!0};
var mNa=function(a,b){if(a.g){var c=a.g.clone().setStatus(b.S());b=new Map(Object.entries(b.response));for(var d=q(c.Ud()),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.getItem();f&&f.getId()&&b.has(f.getId())&&((f=b.get(f.getId()))&&YF(f,23)&&a.G.add(sq(f)),f&&bp(e,vO,2,yO)&&XF(f,152)&&Doa(tk(e,vO,2,yO),Sw(f,152)),qNa(a,f,e)?Goa(N(e,1)):K(e,1,f))}c.ck(c.Ud().filter(function(g){return g.Zb()&&kk(g,yO)!==0}));a.bb([c],c.S()!==1);b=new Set;c=q(c.Ud());for(d=c.next();!d.done;d=c.next())d=d.value,
(e=d.getItem())&&bp(d,vO,2,yO)&&kM(e)&&!Um(e,31)&&b.add(kM(e));a.L.update([].concat(r(b.values())))}},qNa=function(a,b,c){return!b||Um(b,7)||a.G.has(sq(b))&&!Um(b,31)?!0:bp(c,vO,2,yO)&&XF(b,152)?Sw(b,152)<=0:bp(c,wO,4,yO)&&P(b,153)?!Um(b,153):!1};var Av=function(a,b,c,d){$0.call(this,function(f){var g=e;Zr(g.F,f);var h=Hl(f,3)||0,l=""+h;h===2&&(l+="-"+g.B++);return l+=":"+(zn(f,4)||0)},function(f){return new m4(e.D,e.G,f,e.j)});var e=this;this.D=a;this.j=b;this.G=c;this.F=d;this.B=0};U(Av,$0);Av.prototype.sync=function(a,b){var c=this;b=b===void 0?0:b;var d=a.clone();Zr(this.F,d);var e=b?Date.now()-b:0;return this.j.get(RM(d.clone(),1)).then(function(f){if(!e||!YF(f.response,3)||Sg(hs(f.response,3))<e)return c.j.get(RM(d.clone(),2)).then(function(){})})};var Zda=function(a,b,c){if(a.va()===1||a.va()===6||a.va()===2){let d=Wt(new R,311);H1(c.ad,Pr(a.ab()),d,void 0,void 0,void 0,!0).finally(function(){return b.update(8)}).catch(function(e){Dk("Failed to update from HomepageActivityUpdateEvent",Ep(e),"warning")})}};var Sv=function(a,b,c){U0.call(this,a,c);this.C=b};U(Sv,U0);k=Sv.prototype;k.get=function(a){var b=this;return Y0(this,a).then(function(c){if(c.request&&c.response){var d=c.response.clone();if(!b.qd(c.request,a,!0)&&b.qd(c.request,a,!1)){var e=d.qe().slice(0,zn(a,10));d.ki(e);e=d.re().slice(0,zn(a,11));d.li(e)}}else d=new FO;return nZ(new dr(d,c.la),c.fb)})};k.oh=function(a){return a.clone()};k.ig=function(a){return Hl(a,3)};
k.qd=function(a,b,c){return c?Gw(a,b):zn(a,10)>=zn(b,10)&&zn(a,11)>=zn(b,11)};k.Di=function(a,b){a=V0(this).response;var c;return YF(b,3)&&((c=Tg(a==null?void 0:jt(a,3)))!=null?c:0)<Sg(hs(b,3))};k.Vd=function(){var a=V0(this);if(a&&a.request&&a.response){var b=$r(a.response);b=b.length?Object.values(this.C.cd(b)).filter(function(c){return!!c}):[];return Xoa(Woa(Voa(new GO,a.request),a.response),b)}return null};var n4=function(a,b,c,d,e,f){a1.call(this,a,b);var g=this;this.H=c;this.ka=d;this.o=e;this.ra=f;this.T=new Set;this.C=!1;this.data=this.g=null;this.fb=!1;this.G=Infinity;this.L=a.then(function(h){var l=new l1(function(m){if(g.g){var p=g.g.clone().setStatus(m.S()),t=new Map(Object.entries(m.response));m=rNa(g,[].concat(r(p.qe())),t);t=rNa(g,[].concat(r(p.re())),t);p.ki(m).li(t);g.bb([p],p.S()!==1)}});g.Ha(l);p0(h,l,g.ra);return l});this.pa=new ji(this);this.Ha(this.pa);this.pa.listen(this.ka,"r",function(){g.G<=
Date.now()&&(g.refresh(sNa).catch(function(h){Dk("Could not refresh HomePage Suggesions ViewCache",Ep(h),"warning")}),g.G=Infinity)})};U(n4,a1);n4.prototype.we=function(){tNa(this)};n4.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=SM(this.request.clone(),2);if(a){var c=a.clone();K(b,1,c);a===sNa&&(ds(b,Xr,7)||(a=new Xr,K(b,7,a)),O(b,Xr,7).Gb(2))}return this.getData(b,!1)};
var tNa=function(a){a.g===null&&a.getData(a.request).then(function(){},function(b){b=b.qa;a.Gd(new qZ(b,b.jd()))})};
n4.prototype.getData=function(a,b){var c=this;b=b===void 0?!0:b;return this.H.get(a).then(function(d){c.rb(d.la);var e;c.fb=(e=d.fb)!=null?e:!1;var f=uNa(c,d.response);vNa(c,f);return c.L.then(function(g){for(var h=new Set,l=q([].concat(r(f.qe()),r(f.re()))),m=l.next();!m.done;m=l.next()){var p=void 0;(m=(p=m.value.getItem())==null?void 0:p.K())&&h.add(m)}h.size&&(l=g.Yf,h=IP((new xB).jc([].concat(r(h))),cs(a,5,B())),p=cs(a,12,B()),h=Ie(h,19,Dc,p,Ec),l.call(g,h))})},function(d){return(b&&Lp(d.qa)?
W0(c.H):Promise.resolve(!1)).then(function(e){if(e)return c.getData(a,!1);throw d;})})};var uNa=function(a,b){if(!a.o.size)return b;b=b.clone();b.ki(b.qe().filter(function(c){var d;c=(d=c.getItem())==null?void 0:d.K();return!(c&&a.o.has(c))}));b.li(b.re().filter(function(c){var d;c=(d=c.getItem())==null?void 0:d.K();return!(c&&a.o.has(c))}));return b};
n4.prototype.vc=function(){var a,b,c=(b=(a=this.data)==null?void 0:a.S())!=null?b:6;a=this.data||(new FO).setStatus(c);return nZ(new dr(a,this.va()),this.fb).setStatus(c)};var vNa=function(a,b){a.C=!0;try{a.bb([aea(a.request,b)],b.S()!==1).then(function(c){if(c){let d,e,f,g;a.G=Math.max(Date.now()+6E4,Math.min(((f=Tg((d=O(b,uk,14))==null?void 0:hs(d,1)))!=null?f:Infinity)*1E3,((g=Tg((e=O(b,uk,15))==null?void 0:hs(e,1)))!=null?g:Infinity)*1E3))}})}finally{a.C=!1}};
n4.prototype.Mc=function(a){this.C?(this.g=a.clone(),this.data=this.g.clone()):this.data=a;return!0};
var rNa=function(a,b,c){var d=[];b=q(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.getItem(),g=f==null?void 0:f.K();if(f&&g&&c.has(g)){let m,p=(m=c.get(g))==null?void 0:Bv(m.clone(),f.lj()),t;!p||((t=O(p,WL,156))==null?0:ds(t,VL,1))||vM(p,O(f,WL,156));if(p&&qq(p).length&&qq(f).length&&qq(p)[0].K()===qq(f)[0].K()){var h=qq(f)[0];if(h=S(h,3))h=qq(p)[0],h=!S(h,3);if(h){h=qq(p)[0];var l=qq(f)[0];l=C(l,3);Jv(h,l)}h=qq(f)[0];if(h=S(h,5))h=qq(p)[0],h=!S(h,5);h&&(h=qq(p)[0],f=qq(f)[0],f=C(f,
5),Mv(h,f))}p&&YF(p,23)&&a.T.add(g);g=a;!p||E(p,7)||g.T.has(p.K())&&!E(p,31)||(K(e,1,p),d.push(e))}else d.push(e)}return d};n4.prototype.j=function(a){this.L.then(function(b){b.j(a)}).catch(function(){})};var sNa=Ut(Vt(Wt(new R,306),!1),2);var Tv=function(a,b,c,d){$0.call(this,function(f){f=Hl(f,3)||0;var g=""+f;f===2&&(g+=":"+e.N++);return g},function(f){return new n4(e.ba,f,e.B,e.G,e.D,e.H)});var e=this;this.ba=a;this.B=b;this.G=c;this.H=d;this.D=new Set;this.N=0};U(Tv,$0);Tv.prototype.j=function(a){this.D.add(a);for(var b=q(this.g.values()),c=b.next();!c.done;c=b.next())c.value.j(a)};
Tv.prototype.sync=function(a,b){var c=this,d=(b=b===void 0?0:b)?Date.now()-b:0;return this.B.get(SM(a.clone(),1)).then(function(e){if(!d||!YF(e.response,3)||Sg(hs(e.response,3))<d)return c.B.get(wNa(a)).then(function(){})})};var wNa=function(a){a=SM(a.clone(),2);if(!ds(a,Xr,7)){var b=new Xr;K(a,7,b)}O(a,Xr,7).Gb(2);return a};var bea=function(a,b,c,d){d=d===void 0?Promise.resolve():d;a.va()!==1&&a.va()!==6&&a.va()!==2||d.then(function(){var e=Wt(new R,311);return H1(c.ad,$r(a.ab()),e,void 0,void 0,void 0,!0).finally(function(){return b.update(12)})}).catch(function(e){Dk("Failed to update from HomepageSuggestionsUpdateEvent",Ep(e),"warning")})};var o4=function(a,b){U0.call(this,a,b)};U(o4,U0);k=o4.prototype;k.get=function(a){return Y0(this,a).then(function(b){var c=b.request&&b.response?b.response.ab().clone().rb(b.la):new ty;return nZ(new dr(c,b.la),b.fb)})};k.gl=function(a){return Td(Bpa(uv(a.clone())))};k.oh=function(a){return a.clone()};k.ig=function(a){if(Q(a,48))return 1;var b;return((b=a.I())==null?void 0:b.g())===306?2:0};k.qd=function(a,b,c){if(c)return Gw(a,b);a=uv(a.clone());b=uv(b.clone());return Gw(a,b)};
k.Di=function(a,b){a=V0(this,a).response;var c,d;return YF(b,4)&&((c=Tg(a==null?void 0:jt(a,4)))!=null?c:0)<((d=Tg(jt(b,4)))!=null?d:0)};var p4=function(a,b,c,d,e){e=e===void 0?0:e;a1.call(this,a,b);var f=this;this.T=c;this.ka=d;this.o=e;this.G=!1;this.data=this.g=null;this.L=new Set;this.C=null;this.H=a.then(function(g){var h=new l1(function(l){if(f.g){for(var m=f.g.clone().setStatus(l.S()),p=new Map(Object.entries(l.response)),t=[],w=q(m.Sa()),A=w.next();!A.done;A=w.next()){A=A.value;var M=A==null?void 0:A.K();if(M&&p.has(M)){let da=p.get(M);if(da&&da.K()===lM(da)&&!ds(da,TL,73)&&l.S()!==1){t.push(A);continue}(M=p.get(M))==null?
A=void 0:(M=Bv(M.clone(),A.lj()),A=O(A,ry,100),A=K(M,100,A));A&&YF(A,23)&&f.L.add(A.K());!A||E(A,7)||f.L.has(A.K())&&E(A,31)===!1||t.push(A)}else t.push(A)}sy(m,t);f.bb([m],!1)}});h.L=!0;f.Ha(h);p0(g,h,f.ka);return h})};U(p4,a1);p4.prototype.we=function(){xNa(this)};p4.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=this.request.clone();a&&Wo(b,a);return this.getData(b)};
var yNa=function(a){a.o&&(a.C&&(clearTimeout(a.C),a.C=null),a.C=setTimeout(function(){a.refresh(Ut(Vt(Wt(new R,306),!1),2))},a.o))},xNa=function(a){a.g===null&&a.getData(a.request).then(function(){},function(b){b=b.qa;a.Gd(new qZ(b,b.jd()))})};
p4.prototype.getData=function(a){var b=this;return this.T.get(a).then(function(c){b.rb(c.la);zNa(b,c);b.H.then(function(d){var e=new Set;if(c.response)for(var f=q([].concat(r(c.response.Sa()))),g=f.next();!g.done;g=f.next())(g=g.value.K())&&e.add(g);e.size&&d.Yf(IP((new xB).jc([].concat(r(e))),a.Ca()))})},function(c){throw c;})};p4.prototype.vc=function(){var a,b=(a=this.data)!=null?a:uy((new ty).setStatus(6),!0);return mZ((new dr(b,this.va())).setStatus(b.na()),Q(b,5,!0))};
var zNa=function(a,b){if(b.response){a.G=!0;try{a.bb([b.response],!1).then(function(c){c&&yNa(a)})}finally{a.G=!1}}};p4.prototype.Mc=function(a){this.G?(this.g=a.clone(),this.data=this.g.clone()):this.data=a;return!0};p4.prototype.j=function(a){this.H.then(function(b){b.j(a)})};var q4=function(a,b,c,d){$0.call(this,function(f){var g=e,h;var l=g.D&&((h=f.I())==null?0:Q(h,2))?Q(f,48)?1:2:Q(f,48)?1:0;g.D=!0;h=[Td(Bpa(uv(f.clone()))),l];l===2&&(Wt(f.I(),306),h.push(g.G++));return h.join(":")},function(f){var g=e.H,h=e.B,l=e.N;var m=O(e.ba,NB,33);m=jt(m,16);return new p4(g,f,h,l,Tg(m))});var e=this;this.ba=a;this.H=b;this.B=c;this.N=d;this.G=0;this.D=!1};U(q4,$0);q4.prototype.j=function(a){for(var b=q(this.g.values()),c=b.next();!c.done;c=b.next())c.value.j(a)};var r4=function(a,b){f4.call(this,b,function(c){return a.then(function(d){return d.route(c)})})};U(r4,f4);r4.prototype.ej=function(a,b,c){a=a.clone();return D(a,7,c)};r4.prototype.sj=function(a){var b;return(b=C(a,6))!=null?b:""};r4.prototype.pj=function(a){return z(a,DO,5,B())};var ANa=function(a,b,c){this.g=a;this.M=b;this.cache=c};
ANa.prototype.vg=function(a,b,c,d){var e=this,f=cw(this.M,106047),g=[],h=[];f==null||oLa(pLa(mLa(lLa(nLa(A3(ew(f)),Date.now()-b),a.size),this.cache.size()),d!=null?d:!1),b);return BNa(this,a,c).then(function(l){var m=new Set;l=q(l);for(var p=l.next();!p.done;p=l.next()){var t=p.value;p=q(t.Ao);for(var w=p.next();!w.done;w=p.next()){w=w.value;let M=w.K(),da=C(w,2);var A=t.customerId;m.add(M);if(e.cache.Ne(M)){A=e.cache;let ja=w.getId(),Ja=x(w,2),Ma=A.Ne(ja),Ib=Ma.zl!==Ja;s4(A,ja,Ja,Ma.items,Ma.customerId);
Ib&&h.push(Sq(Zla(Yla(M),da).setDescription(C(w,9)).setTitle(w.Ma()),C(w,4)))}else t.qp&&g.push(M),s4(e.cache,M,da,new Set,A)}}l=new Map;p=q(e.cache.getEntries());for(t=p.next();!t.done;t=p.next())w=q(t.value),t=w.next().value,w=w.next().value,!m.has(t)&&a.has(w.customerId)&&(l.set(t,w.items),e.cache.Gf.delete(t));f!=null&&(m=A3(ew(f)),m=J(m,5,g.length),m=J(m,6,h.length),I(m,7,!0));f==null||lZ(f);return{am:l,Jf:h,Al:g}}).catch(function(){if(f!=null){var l=A3(ew(f));I(l,7,!1)}f==null||lZ(f);return{am:new Map,
Jf:[],Al:[]}})};var BNa=async function(a,b,c){var d=[];b=q(b);for(var e=b.next();!e.done;e=b.next()){let f=e.value;d.push(CNa(a,f).run().then(function(g){return{Ao:g,qp:!(c==null?0:c.has(f)),customerId:f}}).catch(function(g){if(Ip(g).qa.fe()===403)return{Ao:[],qp:!1,customerId:f};throw g;}))}return await Promise.all(d).then(function(f){return f.flat()})},CNa=function(a,b){var c=new XO;b=D(c,2,b);b=I(b,1,!0);b=D(b,7,"");return new r4(a.g,b)};var u4=function(a){this.Gf=new Map;if(a){for(var b=q(z(a,VO,1,B())),c=b.next();!c.done;c=b.next()){var d=O(c.value,DO,1);c=d.getId();let e=x(d,2),f;(d=(f=tk(d,AO,8,Uoa))==null?void 0:C(f,1))&&s4(this,c,e,new Set,d)}YF(a,3)&&t4(this,hs(a,3))}};u4.prototype.Ne=function(a){return this.Gf.get(a)};u4.prototype.getEntries=function(){return this.Gf.entries()};
var s4=function(a,b,c,d,e){a.Gf.set(b,{zl:c,items:d,customerId:e})},v4=function(a,b,c){var d;(d=a.Gf.get(b))==null||d.items.add(c)},DNa=function(a,b,c){if(a=a.Ne(b))a.items=new Set([].concat(r(a.items)).filter(function(d){return!c.has(d)}))};u4.prototype.size=function(){return this.Gf.size};
u4.prototype.Vd=function(){var a=new WO;a=Vr(a,3,this.g);for(var b=q(this.getEntries()),c=b.next();!c.done;c=b.next()){c=q(c.value);var d=c.next().value;c=c.next().value;d=Roa(Qoa(d),c.zl);var e=HF(d,AO,8,Uoa);D(e,1,c.customerId);c=a;d=ipa(d);fk(c,1,VO,d)}return a};var t4=function(a,b){qB(a.g)&&(a.g=b)};var FNa=function(a,b,c,d,e,f){this.cache=a;this.D=b;this.G=c;this.B=d;this.j=new Set;this.g=Date.now();f&&(a=Number(hs(f,2)),isFinite(a)&&(this.g=a));this.C=e!=null?e:!1;ENa(this)},s2=async function(a,b){GNa(a,b)},GNa=function(a,b){var c=new Map,d=new Set,e=new Map,f=[],g=[];b=q(b);for(var h=b.next();!h.done;h=b.next()){var l=h.value;h=HNa(a,l);e=new Map([].concat(r(e),r(h.Jf)));h.vg&&d.add(C(l,136));var m=C(l,136);m&&!a.j.has(m)&&g.push(C(l,136));l=q(h.Bo);for(m=l.next();!m.done;m=l.next())m=m.value,
c.has(m)?c.get(m).add(h.itemId):c.set(m,new Set([h.itemId]))}b=new Set(g);g=q(g);for(h=g.next();!h.done;h=g.next())a.j.add(h.value);(d.size>0&&a.C?a.B.vg(d,a.g,b).then(function(p){for(var t=q(p.am.entries()),w=t.next();!w.done;w=t.next()){var A=q(w.value);w=A.next().value;A=A.next().value;c.set(w,A)}t=q(p.Jf);for(w=t.next();!w.done;w=t.next())w=w.value,A=w.getId(),e.has(A)||e.set(A,w);f=[].concat(r(p.Al));INa(a)}):Promise.resolve()).then(function(){JNa(a,e,f,c)})},HNa=function(a,b){var c=b.K(),d=
C(b,136),e={itemId:c,vg:!1,Bo:[],Jf:new Map},f=new Set,g=!a.j.has(C(b,136));b=q(Gr(b));for(var h=b.next();!h.done;h=b.next()){h=h.value;let t=h.getId();f.add(t);a:{var l=c;var m=h,p=a.cache.Ne(t);if(!p){l=1;break a}m=C(m,2)!==p.zl;l=!p.items.has(l);l=m&&l?4:m?2:l?3:5}switch(l){case 1:g&&s4(a.cache,t,x(h,2),new Set([c]),d);e.vg=!0;v4(a.cache,t,c);break;case 2:e.Jf.set(t,h);break;case 3:v4(a.cache,t,c);break;case 4:v4(a.cache,t,c),e.Jf.set(t,h)}}d=q(a.cache.getEntries());for(g=d.next();!g.done;g=d.next())b=
q(g.value),g=b.next().value,b=b.next().value,!f.has(g)&&b.items.has(c)&&(b=void 0,(b=a.cache.Gf.get(g))==null||b.items.delete(c),e.Bo.push(g),e.vg=!0);return e},JNa=function(a,b,c,d){if(c.length>0){var e=a.G;if(c.length!==0){var f=c.length>0,g,h=(g=jZ(e.M,106049))!=null?g:void 0;h!=null&&(g=ew(h),g=zB(g,n3,34),c=J(g,2,c.length),c=I(c,5,e.g),I(c,4,f));h==null||lZ(h);f&&e.g&&t4(e.cache,jc(Date.now()))}}(b.size>0||d.size>0)&&KNa(a.D,b,d)},ENa=function(a){!a.o&&a.C&&(a.o=setTimeout(async function(){await a.B.vg(a.j,
a.g,void 0,!0).then(function(b){for(var c=new Map,d=q(b.Jf),e=d.next();!e.done;e=d.next()){e=e.value;let f=e.getId();c.set(f,e)}JNa(a,c,b.Al,b.am)});INa(a)},864E5-(Date.now()-a.g)))},INa=function(a){a.o&&(clearTimeout(a.o),a.o=void 0);a.g=Date.now();ENa(a)};FNa.prototype.Vd=function(){return this.cache.Vd()};var LNa=[329,21],MNa=function(a,b,c,d,e,f){this.C=a;this.M=b;this.cache=c;this.ga=d;this.B=e;this.F=f;this.j=new Set;this.g=this.o=void 0},KNa=function(a,b,c){if(b.size!==0||c.size!==0){var d=cw(a.M,106048),e=NNa(a,b);e.forEach(function(f){a.j.add(f.getId())});c=ONa(a,c);e=new Set([].concat(r(e),r(c)));e.size>0&&t0(a.ga,[].concat(r(e)));d==null||qLa(rLa(NLa(ew(d)),e.size),b.size);d==null||lZ(d);a.j.size>yna(ut(a.F))?(PNa(a),t4(a.cache,jc(Date.now()))):a.j.size>0&&!a.g&&!a.o&&QNa(a)}},RNa=function(a,
b,c){if(c.size===0)return[];a=s0(a.B,[].concat(r(c)));return Object.entries(a).reduce(function(d,e){e=q(e);e.next();e=e.next().value;var f=Gr(e.getItem()).find(function(g){return g.getId()===b.getId()&&x(g,2)!==x(b,2)});f&&(Tca(f,b),d.push(e));return d},[])},SNa=function(a,b,c){if(c.size===0)return[];a=s0(a.B,[].concat(r(c)));return Object.entries(a).reduce(function(d,e){e=q(e);e.next();e=e.next().value;var f=Gr(e.getItem()),g=f.filter(function(h){return h.getId()!==b});g.length!==f.length&&(Hr(e.getItem(),
g),d.push(e));return d},[])},ONa=function(a,b){return[].concat(r(b.entries())).reduce(function(c,d){var e=q(d);d=e.next().value;e=e.next().value;DNa(a.cache,d,e);return c.concat(SNa(a,d,e))},[])},NNa=function(a,b){return[].concat(r(b.entries())).reduce(function(c,d){var e=q(d);d=e.next().value;e=e.next().value;var f,g;d=(g=(f=a.cache.Ne(d))==null?void 0:f.items)!=null?g:new Set;return c.concat(RNa(a,e,d))},[])},TNa=function(a,b){var c=Wt(new R,1508);Promise.resolve(H1(a.C,b,c,!1,LNa)).then(function(d){for(var e=
[],f=q(b),g=f.next();!g.done;g=f.next())g=g.value,d[g]||e.push(g);d=q(a.cache.getEntries());for(f=d.next();!f.done;f=d.next()){f=q(f.value);f.next();let h=f.next().value;f=q(e);for(g=f.next();!g.done;g=f.next())h.items.delete(g.value)}})},PNa=function(a){a.o&&(clearTimeout(a.o),a.o=void 0);a.g&&(clearInterval(a.g),a.g=void 0)},QNa=function(a){var b=dea(a.F);qB(b)||(a.o=setTimeout(function(){a.g||UNa(a)},b))},UNa=function(a){a.g=setInterval(function(){if(a.j.size===0)PNa(a);else{let d=[];for(var b=
q(a.j),c=b.next();!c.done;c=b.next()){c=c.value;if(d.length>=1E3)break;a.j.delete(c);d.push(c)}TNa(a,d)}},1E3)};var VNa=function(a,b,c){this.M=a;this.g=b;this.cache=c};var WNa=function(a){dh.call(this,"A");this.Ep=a};U(WNa,dh);var w4=function(a,b){a=a===void 0?fea:a;b=b===void 0?gea:b;vh.call(this);this.o=a;this.j=b;this.entries=new Map};U(w4,vh);var XNa=function(){function a(c,d){return c.value===null||d.value===null?!1:b.compare(c.value,d.value)===-1}var b=UBa;return new w4(function(c,d){return Vv(d.la)?a(c,d):c.value===null||d.value===null?!0:b.compare(c.value,d.value)!==1},function(c,d){return Vv(d.la)?a(c,d):c.value===null||d.value===null?!(c.value===null&&d.value===null):b.compare(c.value,d.value)===-1})};
w4.prototype.g=function(a){return this.entries.get(a)};w4.prototype.cd=function(a){var b=this;return new Map(a.map(function(c){return[c,b.entries.get(c)]}))};w4.prototype.getAll=function(){return new Map(this.entries)};w4.prototype.has=function(a){return this.entries.has(a)};var x4=function(a,b){return a.entries.has(b)&&a.entries.get(b).value!==null};k=w4.prototype;k.isDeleted=function(a){return this.entries.has(a)&&this.entries.get(a).value===null};
k.delete=function(a,b,c){c=c===void 0?1:c;var d=x4(this,a);this.bb([new Lq(a,null)],b,c);return d};k.clear=function(){this.entries.clear()};k.bb=function(a,b,c){var d=[],e=[];a=q(a.map(Uv(eea(b,c===void 0?1:c))));for(b=a.next();!b.done;b=a.next()){b=b.value;var f=q(eZ(b));c=f.next().value;f=f.next().value;if((c=this.entries.get(c))?this.o(c,f):1)this.update(b),d.push(b),(c?this.j(c,f):f.value!==null)&&e.push(b)}e.length>0&&this.notify(e);return d};k.notify=function(a){this.dispatchEvent(new WNa(a))};
k.update=function(a){var b=q(eZ(a));a=b.next().value;b=b.next().value;var c=this.entries.get(a);this.entries.set(a,{value:b.value,la:b.la,ub:l_((c==null?void 0:c.ub)||null,b.ub),Dj:b.Dj})};var y4=function(){},z4=function(a){return Object.assign(function(){return a.execute.apply(a,r(cc.apply(0,arguments)))},{execute:a.execute.bind(a),instance:a})};var A4=function(a){this.g=a};U(A4,y4);A4.prototype.execute=async function(a){return(await B4(this.g,a)).map(Uv(Wv))};var C4=function(a,b){this.g=a;this.j=b};U(C4,y4);C4.prototype.execute=function(a){var b=this.g.cd(a);a=[];b=q(Xv(b));for(var c=b.next();!c.done;c=b.next()){c=c.value;let d=c.value;d===void 0?(this.j.g.add(c.key),a.push(tq([c.key,{value:null,status:2,la:0,ub:0,fb:!1}]))):a.push(uq([c.key,Object.assign({},d,{status:1,fb:!0})]))}return Promise.resolve(a)};var D4=function(a,b){this.g=a;this.j=b};U(D4,y4);D4.prototype.execute=async function(a){var b=this.g.cd(a);a=[];var c=[];b=q(Xv(b));for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=q(eZ(d));let f=e.next().value;e=e.next().value;e===void 0?c.push(d.key):a.push(uq([f,Object.assign({},e,{status:1,fb:!0})]))}c=(await B4(this.j,c)).map(Uv(Wv));return a.concat(c)};var YNa=function(a,b){this.dataType=9;this.g=a;this.M=b},ZNa=function(a,b,c){return function(){var d=cc.apply(0,arguments),e=cw(a.M,106040);return Promise.resolve(b.apply(null,r(d))).then(function(f){e&&(c&&c(e,f),lZ(e));return f})}};YNa.prototype.hr=function(a,b){a=ew(a);a=zB(a,CLa,28);a=H(a,2,1);var c=LZ(QZ,0,this.dataType);c=H(a,1,c);var d=0;a=0;b=q(b);for(var e=b.next();!e.done;e=b.next())e.value.value.fb?d++:a++;b=J(c,3,d);b=J(b,4,a);a=this.g.g("mrK8ic")?3:this.g.g("zaOY7")?2:1;H(b,5,a)};var $Na=function(){},aOa=function(a,b,c){for(var d=q(b),e=d.next();!e.done;e=d.next())a.g.set(e.value,c);c.catch(function(){}).finally(function(){for(var f=q(b),g=f.next();!g.done;g=f.next())a.g.delete(g.value)})},cOa=function(a,b){if(a.size()===0)return{ym:b};for(var c=[],d=new Map,e=q(b),f=e.next();!f.done;f=e.next()){f=f.value;let g=a.g.get(f);g?(d.has(g)||d.set(g,new Set),d.get(g).add(f)):c.push(f)}if(d.size===0)return{ym:b};a=[].concat(r(d.entries())).map(function(g){var h=q(g);g=h.next().value;
h=h.next().value;return bOa(h,g)});a=Promise.all(a).then(function(g){return g.flat()});return{ym:c,jt:a}};var E4=function(){this.g=new Map};U(E4,$Na);E4.prototype.size=function(){return this.g.size};var bOa=async function(a,b){var c=await b;b=[];c=q(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;let e=d.key;a.has(e)&&b.push({request:e,response:d})}return b};var dOa=function(a,b){this.o=a;this.j=b;this.g=new E4},B4=async function(a,b){if(b.length===0)return[];var c=cOa(a.g,b),d=c.ym;c=c.jt;if(d.length===b.length)return eOa(a,d);a=eOa(a,d);return(await Promise.all([a,c.then(function(e){return e.map(function(f){return f.response})})])).flat()},eOa=async function(a,b){if(b.length===0)return[];var c=fOa(a.o,b);aOa(a.g,b,c);b=await c;a.bb(b);return b};
dOa.prototype.bb=function(a){this.j.bb(a.filter(function(b){return b.value.status===1}).map(Uv(function(b){return b.value})),1)};var gOa=function(){this.g=new Set};var F4=function(a,b){a1.call(this,a,b)};U(F4,a1);F4.prototype.we=function(){};var G4=function(a,b,c){a1.call(this,a,b);this.j=c;this.data={};this.g=this.fb=!1;this.ids=new Set(F(b,1,B()).map(Rq))};U(G4,F4);k=G4.prototype;k.we=function(){this.g||this.refresh()};k.refresh=function(a){var b=this;this.g=!0;if(this.isDisposed())return Promise.resolve();var c=this.request.clone();a&&K(c,3,a);return this.getData(c).catch(function(d){d=d instanceof G?d.qa:Hp(d);b.Gd(new qZ(d,d.jd()))})};k.vc=function(){return nZ((new dr(hea(this.data),this.va())).setStatus(this.S()),this.fb)};
k.Mc=function(a){var b=q(eZ(a));a=b.next().value;b=b.next().value;return this.ids.has(a)&&!Gw(this.data[a],b)?(this.data[a]=b,!0):!1};k.getData=async function(a){a=F(a,1,B()).map(Rq);var b=await this.j.cd(a);if(b.length!==0){this.rb(this.Mk(b));a=[];var c=!0;b=q(b);for(var d=b.next();!d.done;d=b.next()){var e=q(eZ(d.value));d=e.next().value;e=e.next().value;c=c&&e.fb;a.push(tq([d,e.value]))}this.fb=c;await this.bb(a,!1)}};
k.Mk=function(a){if(a.length===1)return a[0].value.la;a=new Set(a.map(function(b){return b.value.la}));return a.size===1?a.values().next().value:a.has(1)?1:a.has(3)?3:a.has(7)?7:0};var hOa=function(a,b){$0.call(this,function(d){return F(d,1,B(Rr)).sort().join(",")},function(d){return new G4(c.B,d,c.j)});var c=this;this.B=a;this.j=b};U(hOa,$0);var iOa=function(a){a.j.listen("A",function(b){a.bb(b.Ep.map(function(c){var d=q(eZ(c));c=d.next().value;d=d.next().value;return tq([c,d.value])}),!1)})};var jOa=function(a){this.g=a};var kOa=function(a){this.g=a};U(kOa,jOa);var fOa=async function(a,b){var c=await a.g;return(await Promise.all(b.map(async function(d){var e=new SO;e=He(e,1,cd,d,void 0,ed);e=await c.route(e);return{id:d,response:e}}))).map(function(d){var e=d.id;d=d.response;var f=z(d,DO,5,B()),g=null;f.length===1&&(g=f[0]);return uq([e,{value:g,status:d.S(),errorMessage:x(d,3)}])})};var lOa=function(){};var H4=function(a,b,c){this.j=a;this.g=b;this.o=c===void 0?function(){}:c};U(H4,y4);H4.prototype.execute=async function(a){var b=a.vD,c=a.GD,d=a.Ep;a=a.refresh;var e=[];d&&e.push(mOa(this,d));a&&e.push(nOa(this,a));c&&e.push(oOa(this,c));b&&e.push(pOa(this,b));await Promise.all(e)};
var mOa=async function(a,b){var c=[];b=q(b.entries());for(var d=b.next();!d.done;d=b.next()){var e=q(d.value);d=e.next().value;e=e.next().value;let f,g=(f=a.g.g(d))==null?void 0:f.value;(!g||Number(x(g,2))<e)&&c.push(d)}c.length&&await a.refresh(c)},nOa=async function(a,b){var c=[];b=q([].concat(r(b)));for(var d=b.next();!d.done;d=b.next()){d=d.value;let e=a.g.g(d);(!e||Date.now()-e.Dj>864E5)&&c.push(d)}c.length&&await a.refresh(c)},oOa=async function(a,b){var c=[];b=q([].concat(r(b)));for(var d=
b.next();!d.done;d=b.next())d=d.value,x4(a.g,d)||c.push(d);c.length&&(await a.refresh(c),a.o())},pOa=async function(a,b){var c=[];b=q([].concat(r(b)));for(var d=b.next();!d.done;d=b.next())d=d.value,x4(a.g,d)&&c.push(d);c.length&&(await B4(a.j,c)).some(function(e){return e.value.value===null})&&a.o()};H4.prototype.refresh=async function(a){await B4(this.j,[].concat(r(a)))};var I4=function(){};U(I4,y4);I4.prototype.execute=function(){return Promise.resolve()};var qOa=function(){this.g=[]};var J4=function(a){this.g=a};U(J4,y4);J4.prototype.execute=function(a){this.g.g.push(a)};var K4=function(a,b,c){vh.call(this);this.o=a;this.g=b;this.j=c};U(K4,vh);var rOa=function(a){a.g.listen("A",function(b){return a.dispatchEvent(b)})};K4.prototype.cd=function(a){return ZNa(this.j,this.o.cd,this.j.hr.bind(this.j))(a)};K4.prototype.refresh=function(a){return this.o.bh.yq.execute(a).then()};K4.prototype.bb=function(a,b,c){this.g.bb(a,b,c===void 0?1:c)};var L4=function(a,b,c,d){K4.call(this,a,b,d)};U(L4,K4);L4.prototype.Vd=function(){var a=[].concat(r(this.g.getAll().values())).filter(function(b){return b.value!==null});return a.length===0?null:jpa(new WO,a.map(function(b){var c=ipa(b.value);return Vr(c,2,b.Dj)}))};var M4=function(a){this.sh=a};M4.prototype.jo=function(){return this.sh};M4.prototype.fk=function(a){this.sh=a};M4.prototype.Fp=function(a){return a};var sOa=function(a){var b=new M4(a);return Object.assign(function(){return b.sh.apply(b,r(cc.apply(0,arguments)))},{jo:b.jo.bind(b),fk:b.fk.bind(b),Fp:b.Fp.bind(b),execute:b.sh.execute.bind(b),instance:b.sh.instance})};var N4=function(a,b){this.bh=a;this.connectionState=b;this.C=new ji(this);a=this.connectionState.cb()?this.bh.Gc:this.bh.bn;this.G=sOa(a)};N4.prototype.B=function(){tOa(this)};var tOa=function(a){a.C.listen(a.connectionState,[TY.de,TY.Fe,TY.Gc],function(){a.g()})};N4.prototype.g=function(){this.cd.fk(this.connectionState.cb()?this.bh.Gc:this.bh.bn)};JE.Object.defineProperties(N4.prototype,{cd:{configurable:!0,enumerable:!0,get:function(){return this.G}}});var O4=function(a,b,c,d,e){N4.call(this,a,d);this.j=b;this.D=c;this.o=e;a=uOa(this);this.nb=sOa(a)};U(O4,N4);O4.prototype.B=function(){N4.prototype.B.call(this);vOa(this)};var vOa=function(a){aHa(a.o,["zaOY7"],function(){a.g();var b=a.D,c=b.g;b.g=[];b=q(c);for(c=b.next();!c.done;c=b.next())a.nb(c.value)});aHa(a.o,["mrK8ic"],function(){a.g()})};O4.prototype.g=function(){N4.prototype.g.call(this);var a=uOa(this);this.nb.fk(a)};
var uOa=function(a){return a.connectionState.cb()?a.j.Gc:a.o.g("mrK8ic")?a.j.Zm:a.o.g("zaOY7")?a.j.Pp:a.j.Bq};var wOa=function(a,b,c,d,e){var f=this;this.N=a;this.G=b;this.connectionState=c;this.o=d;this.M=e;this.D=new wt(function(){var g=new hOa(f.G,f.ca.get());iOa(g);return g});this.ca=new wt(function(){var g=new L4(f.ka.get(),f.g.get(),f.Ua.get(),f.T.get());rOa(g);return g});this.ka=new wt(function(){var g=new O4(f.ba.get(),f.L.get(),f.B.get(),f.connectionState,f.o);g.B();return g});this.g=new wt(function(){return XNa()});this.T=new wt(function(){return new YNa(f.o,f.M)});this.j=new wt(function(){return new dOa(f.ra.get(),
f.g.get())});this.ra=new wt(function(){return new kOa(f.N)});this.eb=new wt(function(){return new gOa});this.Ua=new wt(function(){return new lOa});this.B=new wt(function(){return new qOa});this.Ka=new wt(function(){return z4(new C4(f.g.get(),f.eb.get()))});this.Fa=new wt(function(){return z4(new A4(f.j.get()))});this.Pa=new wt(function(){return z4(new D4(f.g.get(),f.j.get()))});this.ba=new wt(function(){return{Gc:f.Ka.get(),yq:f.Fa.get(),bn:f.Pa.get()}});this.C=new wt(function(){return z4(new J4(f.B.get()))});
this.H=new wt(function(){return z4(new H4(f.j.get(),f.g.get()))});this.Ja=new wt(function(){return z4(new I4)});this.L=new wt(function(){return{Gc:f.C.get(),Bq:f.C.get(),Pp:f.H.get(),Zm:f.Ja.get()}})};wOa.prototype.ha=function(){return this.D.get()};var yOa=function(a){this.j=new Map;this.g={};this.o=a;this.B=xOa(this,a)},BOa=function(a,b){var c=Sg(hs(b,2));if(c){var d,e;b=(e=(d=b.V())==null?void 0:KO(d))!=null?e:"root";a.j.has(b)||a.j.set(b,new P4(zOa(a,b)));a=AOa(a,b);c=new Q4(c,a);a.j.add(c);return c}},COa=function(a,b){b&&Object.entries(b).forEach(function(c){var d=q(c);c=d.next().value;d.next();d=new P4(zOa(a,c));d.g=new Q4(a.g[c],d);a.j.set(c,d)})},xOa=async function(a,b){try{let c=await nJa(b);a.g=Object.assign({},c||{},a.g);COa(a,c)}catch(c){Dk("Error getting empty trash operation timestamps",
Ip(c),"warning")}},AOa=function(a,b){a.j.has(b);return a.j.get(b)},zOa=function(a,b){return async function(c){if(a.g)a.g[b]=c.timestampMillis;else{var d={};a.g=(d[b]=c.timestampMillis,d)}try{await a.B;try{await a.o.set(mJa,a.g)}catch(e){Dk("Error setting empty trash operation timestamps",Ip(e),"warning")}}catch(e){}}},P4=function(a){this.Pl=a;this.j=new Set;this.g=null};
P4.prototype.commit=function(a){this.j.delete(a);if(this.g&&this.g.timestampMillis>a.timestampMillis)return!1;this.Pl(a);this.g=a;return!0};P4.prototype.Ug=function(a){return this.j.delete(a)};var Q4=function(a,b){this.timestampMillis=a;this.context=b};Q4.prototype.commit=function(){return this.context.commit(this)};Q4.prototype.Ug=function(){return this.context.Ug(this)};var DOa=function(a,b){YF(b,96);return Sg(jt(b,96))<=a.timestampMillis};var EOa=function(a){this.g=a;this.Hb=new dNa(function(b){return b.K()})},z1=function(a,b){var c,d=a.g,e;var f=(e=lM(b))!=null?e:"root";if(d.j.has(f))a:if(d=AOa(d,f),YF(b,96)){f=q(d.j);for(e=f.next();!e.done;e=f.next())if(DOa(e.value,b)){d=!0;break a}var g;d=(g=(c=d.g)==null?void 0:DOa(c,b))!=null?g:!1}else d=!1;else d=!1;(c=d)||(a=a.Hb,c=a.g.has(a.j(b)));return c},ZHa=function(a,b){return b.filter(function(c){return!z1(a,c)})};var R4=function(a,b,c){f4.call(this,a,c);this.o=b};U(R4,f4);R4.prototype.ej=function(a,b){return a.clone().lb(b)};R4.prototype.sj=function(){return""};R4.prototype.pj=function(a){return[a]};R4.prototype.Ei=function(a){this.o(a)};var S4=function(a,b,c,d){a1.call(this,a,d.clone());this.C=b;this.g=this.j=null;this.o=c};U(S4,a1);k=S4.prototype;k.we=function(){this.resize()};k.refresh=function(){var a=this;this.rb(this.va()===0?1:6);this.g=new R4(this.request,this.o,function(b){return a.C.then(function(c){return c.route(b)})});return this.g.run(this.request.La()||0).then(function(){})};
k.resize=async function(){for(var a=await this.B,b=0,c=q(this.Bc),d=c.next();!d.done;d=c.next())d=o0(a,d.value),b=Math.max(b,d.La()||0);a=b;this.S()===1||this.g&&a===Sw(this.request,1)||(this.request.lb(a),this.g?this.g.run(a):this.refresh())};k.vc=function(){if(this.j){let a;return(new dr(this.j)).setStatus((a=this.j.na())!=null?a:6)}return(new dr(new DA)).setStatus(this.S())};k.Mc=function(a){this.j=a;return!0};var T4=function(a,b,c){$0.call(this,function(e){return e.toString()},function(e){return FOa(d,e)});var d=this;this.j=a;this.B=b;this.P=c};U(T4,$0);var FOa=function(a,b){return new S4(a.j,a.B,function(c){a.bb(c,!1)},b)};T4.prototype.log=function(a){this.P.da("sync.cache.SuggestedWorkspaceCacheManager").info(a)};
T4.prototype.jg=function(a,b,c,d){var e=z(a[0],EA,2,B());this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return L(f,1)}).join(", "));$0.prototype.jg.call(this,a,b,c,d)};var V4=function(a){bh.call(this);var b=this;this.context=a;this.g=[];this.o=new bt;this.j=new Map;this.C=-1;this.B=0;var c=IT();this.D=c.promise;lJa(this.context.Nc).then(function(d){b.g=d||[];c.resolve();U4(b)},function(){return c.resolve()})};U(V4,bh);
var PKa=function(a,b){Q(a.context.F,46)&&a.D.then(function(){if(a.g[0]!==b){Ka(a.g,b);var c=a.context.ha().Oa;for(vFa(c.g(b))?a.log(b,"Hidden TD, not tracking in recency list"):Sa(a.g,0,0,b);a.g.length>zn(a.context.F,47,5)*2;)a.g.pop();a.context.Nc.set(k2,a.g)}a.context.ha().Tb.Cf().length+a.j.size<zn(a.context.F,47,5)&&(U4(a),W4(a))})},GOa=function(a,b){Ka(a.g,b)&&a.context.Nc.set(k2,a.g)},RMa=function(a,b,c){a.context.uk.propagate(b,c);Rs(b)&&(c=L(b,7),Q(b,3)?d4(a,c,!0):(b=b.getItem(),vFa(b)&&GOa(a,
c)))},d4=function(a,b,c){GOa(a,b);a.o.contains(b)&&a.o.remove(b);var d=a.j.get(b);d&&d.dispose();a.j.delete(b);d=a.context.ha().Tb;var e=d.Cf();for(let f=0;f<e.length;f++){let g=e[f];if(g.teamDriveId===b){a.log(b,"Cache removed");d.remove(g);a.context.xb.update(3).catch(function(h){Dk("Failed to update dump #"+f+"/"+e.length,Ep(h),"warning")});break}}a.context.Sc.promise.then(function(f){a3(f,b,c)});W4(a)},W4=function(a){if(a.context.Xa.g("rVezo")){var b=a.context.ha().Tb;for(HOa(a);a.o.Qa()&&!(a.B>=
zn(a.context.F,47,5));){let c=v0(a.o);a.B++;if(lIa(b,c))continue;if(a.j.has(c))continue;a.j.set(c,null);let d=new PP;D(d,1,c);R_(a.context).then(function(e){return e.route(d)}).then(function(e){if(E(e,3))a.log(c,"Small enough to backfill"),IOa(a,X4(a,c));else{a.log(c,"Too large to backfill");let f,g;((f=a.context.F)==null?0:(g=JD(f))==null?0:Q(g,18))?(JOa(a,X4(a,c),q2(a.context.Vb,c)),t2(a.context.Vb,c)):Y4(a,c,!1)}},function(e){e=Hp(e,46);(e=Tn(e,10))&&e===4?(a.log(c,"Non-existent or inaccessible, removing from cache"),
e=yM(AM(xM(new wM,c),c)),a.context.ha().nb([e])):IOa(a,X4(a,c))})}}},U4=function(a){a.g.length&&(a.B=0,a.o.clear(),a.g.forEach(function(b){a.o.g.push(b)}))},HOa=function(a){n.clearTimeout(a.C);a.C=n.setTimeout(function(){U4(a);W4(a)},36E5)},X4=function(a,b){a.context.Sc.promise.then(function(c){r2(c,b)});return new J1(a.context.F,a.context.Db,a.context.Ac,b)},IOa=function(a,b){var c=b.V().clone().lb(zn(a.context.F,48,1E3));c=new K1(a.context,b,c);var d=b.teamDriveId;a.j.set(d,c);a.log(d,"Backfill started");
var e=q2(a.context.Vb,d);c.run().then(function(){JOa(a,b,e);var f,g;((f=a.context.F)==null?0:(g=JD(f))==null?0:Q(g,18))&&b.Lc(0)},function(){a.log(d,"Backfill failed");a.B--;Y4(a,d,!0)}).then(function(){t2(a.context.Vb,d)},function(){t2(a.context.Vb,d)})},JOa=function(a,b,c){var d=b.teamDriveId;b.Jc?(b.Of(),Q1(b,c,a.context.Ce).then(function(e){a.log(d,"CorpusCacheUpdater complete, size: "+b.getSize());D2(a.context.ha(),b,e);Y4(a,d,!1)},function(){a.log(d,"CorpusCacheUpdater failed");Y4(a,d,!0)})):
(a.log(d,"Backfill exceeded size limit"),Y4(a,d,!0))},Y4=function(a,b,c){var d=a.j.get(b);d&&d.dispose();a.j.delete(b);c&&a.context.Sc.promise.then(function(e){a3(e,b,!1)});W4(a);a.j.size>0||a.context.ha().Tb.Cf().map(function(e){return e.teamDriveId}).filter(function(e){return!a.g.includes(e)}).forEach(function(e){d4(a,e,!0)})};V4.prototype.log=function(a,b){this.context.P.da("sync.cache.TeamDriveCacheManager").info(a+" | "+b)};var Z4=function(a,b){$0.call(this,a,b)};U(Z4,$0);Z4.prototype.nj=function(a){return $0.prototype.nj.call(this,a)};var $4=function(a,b,c,d){c3.call(this,a.clone(),c,d);this.j=b};U($4,c3);$4.prototype.C=function(a){for(var b=new Map,c=q(a.xa()),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.clone();e=Ju(e,1,[d]);b.set(d,e)}return b};$4.prototype.o=function(a){this.j([].concat(r(Ee(a,2,BA).values())).map(n_),!0)};$4.prototype.D=function(){this.j([],!1)};$4.prototype.G=function(a){this.j([new Lq(a,null)],!0)};var a5=function(a,b,c,d,e){e=e.clone();a1.call(this,a,e);this.C=b;this.P=c;this.o=d;this.g={};this.j=null};U(a5,F4);a5.prototype.refresh=function(){this.j=new $4(this.request,this.o,this.C,this.P);return this.j.run()};a5.prototype.vc=function(){var a=new qQ,b=(new dr(a,this.va())).setStatus(this.S());fh(this.g,function(c,d){Ee(a,2,BA).set(d,c||new BA)});return b};
a5.prototype.Mc=function(a){var b=q(eZ(a));a=b.next().value;b=b.next().value;if(!b){if(this.g[a])return delete this.g[a],!0}else if(this.request.xa().indexOf(a)>=0)return this.g[a]=b,!0;return!1};a5.prototype.we=function(){this.j||this.refresh()};var KOa=function(a,b){a=Jt(a,1);return a==null||Jt(b,5)==a};var b5=function(a,b,c){f4.call(this,a,c);this.o=b};U(b5,f4);b5.prototype.ej=function(a,b,c){a=a.clone().lb(b);return new Ko(a,c)};b5.prototype.sj=function(a){return a.Bb()||""};b5.prototype.pj=function(a){return BP(a)};b5.prototype.Ei=function(a){this.o(this.request,a.map(n_))};var c5=function(a){this.g=Tm(a)};c5.prototype.j=function(a,b,c){var d=L(b,2)||"",e=L(c,2)||"",f;d!==e?f=this.g(d,e)*(a?1:-1):f=Wa(L(b,1),L(c,1))*(a?1:-1);return f};c5.prototype.o=function(a,b,c){var d=Ug(jt(b,4)),e=Ug(jt(c,4)),f;d!==e?f=Wa(d,e)*(a?1:-1):f=Wa(L(b,1),L(c,1))*(a?1:-1);return f};var d5=function(a,b,c,d,e){e=e.clone();a1.call(this,a,e);this.C=b;this.o=d;this.j=[];this.g=null;a=new c5(c);b=(c=O(this.request,yP,5))?Tn(c,1):0;c=c?Tn(c,2):0;this.G=b===1?a.j.bind(a,c!==2):a.o.bind(a,c===1)};U(d5,e4);d5.prototype.refresh=function(){var a=this;this.rb(this.va()===0?1:6);this.g=new b5(this.request,this.o,function(b){return a.C.then(function(c){return c.route(b)})});return this.g.run($t(this.request,2)||0).then(function(){})};
d5.prototype.Sm=function(a){this.S()===1||this.g&&a===$t(this.request,2)||(this.request.lb(a),this.g?this.g.run(a):Promise.resolve(this.refresh()).catch(function(b){Dk("Refresh failed in continue with no runner. limit:"+a,Error("sd",{cause:b}),"warning")}))};d5.prototype.vc=function(){var a=yA((new zA).setStatus(this.S()),this.j.map(function(c){return c.clone()})),b=this.S()!==1&&g4(this.g);return mZ(new dr(a,this.va()),b).setStatus(this.S())};
d5.prototype.Mc=function(a){a=q(eZ(a));var b=a.next().value;a=a.next().value;var c=La(this.j,function(d){return L(d,1)===b});return a&&a&&KOa(this.request,a)?Xa(this.j,a,this.G):c};var e5=function(a,b,c,d){Z4.call(this,function(f){return f.toString()},function(f){return LOa(e,f)});var e=this;this.j=a;this.B=b;this.P=c;this.F=d};U(e5,Z4);e5.prototype.log=function(a){this.P.da("sync.cache.WorkspaceCacheManager").info(a)};var LOa=function(a,b){if(AP(b))return new d5(a.j,a.B,ju(dq(a.F)),function(c,d){a.bb(d,!1,void 0,c)},b);if(to(b))return new a5(a.j,a.B,a.P,function(c,d){a.bb(c,d)},b);throw Error("td`"+b);};
e5.prototype.jg=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(Kq).join(", "));Z4.prototype.jg.call(this,a,b,c,d)};var MOa=function(a){this.j=a;this.g=new f5;this.o=!1},OOa=function(a){a.o||(NOa(a,a.g),a.o=!0);return a.g.ab()},POa=function(a,b){var c=new f5;NOa(a,c,b);return c.ab()},NOa=function(a,b,c){c=c===void 0?null:c;a.j.then(function(d){if(!b.C())return Promise.resolve();var e=Wt(Vt(new R,!1),1423);e=cna(e);c&&D(e,2,c);return d.route(e,{requestId:b.requestId}).then(function(f){QOa(b,f)},function(f){c&&b.reject(f)})}).catch(function(){})},lDa=function(a,b){if(QOa(a.g,MM(LM(new KM,b+1),b))){let c=a.g.requestId;
c&&a.j.then(function(d){d.cancel(c)})}},GJa=function(a,b,c,d,e){if(e===0||b==null)return b=HM(IM(new GM,b),d),ET(b);var f=bna(ana(),b);c&&D(f,3,c);return a.j.then(function(g){return g.route(f)}).then(function(g){var h=nk(g,2),l;g=d+((l=$t(g,1))!=null?l:0);return GJa(a,h,c,g,e-1)})},f5=function(){this.requestId=null;this.resolved=!1;this.response=new us},QOa=function(a,b){return a.resolved?!1:(a.response.resolve(b),a.resolved=!0,!!a.requestId)};f5.prototype.reject=function(a){this.response.reject(a)};
f5.prototype.C=function(){if(this.resolved||this.requestId)return!1;this.requestId=$h();return!0};f5.prototype.ab=function(){return this.response.promise};var ROa=["application/vnd.google-apps.form","application/vnd.google-apps.site","application/vnd.google-apps.script","application/vnd.google-apps.drive-sdk"],SOa=function(){bh.apply(this,arguments)};U(SOa,bh);
var TOa=function(a,b,c){if(b===null||!c)return!1;var d,e;c=(a=Wk(a)===Wk(b)?(d=Ns(a))==null?void 0:d.clone():(e=Ns(c))==null?void 0:e.clone())&&g5(a);var f=(b=(f=Ns(b))==null?void 0:f.clone())&&g5(b);return!!c&&!!f&&Gw(c,f)},VOa=function(a,b){var c=a.getItem(),d=g5(Ns(c));a=E(d,3)===!1||E(d,5)===!1||E(d,64)===!1||E(d,65)===!1||E(d,62)===!1||E(d,53)===!1||E(d,52)===!1;b=UOa(b,a);b.Og.forEach(function(e){eM(e.getItem(),Jt(c,25));Ps(e.getItem(),d.clone())});return b},YOa=function(a,b,c){var d=WOa(c);
c=c.find(function(e){return e.getId()===sq(b)});c={Xd:c?c:new q0(b),children:[]};XOa(a,d,c);return c},WOa=function(a){var b={};a=q(a);for(var c=a.next();!c.done;c=a.next()){let e=c.value;c=q($L(e.getItem()));for(var d=c.next();!d.done;d=c.next())d=d.value,b[d]||(b[d]=[]),b[d].push(e)}return b},XOa=function(a,b,c){var d=c.Xd.getItem();(b[sq(d)]||[]).forEach(function(e){c.children.push(XOa(a,b,{Xd:e,parent:c,children:[]}))});return c},$Oa=function(a,b){b=b.children.filter(function(g){return!oM(g.Xd.getItem())});
for(var c=new Map,d=[];b.length;){let g=b.pop(),h=g.Xd.getItem();if(!c.has(sq(h))){eM(h,Jt(a,25));ZOa(a,h,g.parent?g.parent.Xd.getItem():void 0);for(var e=q(g.children),f=e.next();!f.done;f=e.next())f=f.value,oM(f.Xd.getItem())||b.push(f);c.set(sq(h),!0);d.push(g.Xd)}}return d},aPa=function(a){a=a.children.filter(function(f){return!oM(f.Xd.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop();let f=d.Xd.getItem();if(!b.has(sq(f))){c.push(yM(xM(new wM,f.K())));d=q(d.children);for(var e=d.next();!e.done;e=
d.next())e=e.value,oM(e.Xd.getItem())||a.push(e);b.set(sq(f),!0)}}return c},UOa=function(a,b){var c=[],d=[];a=q(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;let h=e.getItem();a:{var f=h;var g=b;if(E(f,76)||E(f,137)){g=!0;break a}f=f.xd();g=g&&f!=null&&ROa.includes(f)}g?d.push(h):c.push(e)}return{Ie:d,Og:c}},g5=function(a){a=a.clone();var b=P(a,34)?Um(a,34):JL(a),c=P(a,35)?Um(a,35):JL(a);I(a,45,c);I(a,46,b);I(a,30,c);I(a,31,b);I(a,47,c);I(a,33,b);ex(a,b);gx(a,c);I(a,20,b);b=JL(a);I(a,17,b);
hx(a,E(a,10));fx(a,IL(a));N(a,18);N(a,13);N(a,10);b=E(a,42);I(a,42,b);ix(a,E(a,43));b=E(a,48);I(a,48,b);return a},ZOa=function(a,b,c){var d=Ns(a),e=Ns(b),f=E(d,30);I(e,30,f);f=E(d,31);I(e,31,f);f=E(d,47);I(e,47,f);f=E(d,33);I(e,33,f);ex(e,E(d,4));gx(e,E(d,9));fx(e,E(d,21));f=E(d,20);I(e,20,f);f=E(d,17);I(e,17,f);cx(e,IL(d));f=JL(d);I(e,7,f);f=E(d,10);I(e,10,f);f=E(d,45);I(e,45,f);f=E(d,46);I(e,46,f);d=E(d,48);I(e,48,d);pM(b,E(a,76));c&&(a=Ns(c),Sk(b)?(hx(e,E(a,43)),ix(e,E(a,43)),b=E(a,42),I(e,42,
b)):hx(e,E(a,42)))};var h5=function(a){this.context=a;this.g=new SOa;this.ga=a.ha()};h5.prototype.I=function(){return Wt(new R,1514)};
h5.prototype.propagate=function(a,b){if(Rs(a))Q(a,3)?bPa(this,a):cPa(this,a,b);else{b=a.Ea();var c=this.ga.Oa.g(b);if(c&&dPa(a,c))if(Q(a,3)){c=i5(this,kM(c));a=this.g;var d=ey(new Pk,b);a=(a=YOa(a,d,c))?aPa(a):[];this.context.ha().nb(a);this.log(b,"SD shared folder delete | Removed "+a.length+" item(s)");if(c=jZ(this.context.M,106009))b=KLa(ew(c)),J(b,2,a.length),lZ(c)}else if(b=a.getItem(),d=i5(this,kM(b)),c=this.g,b=a.getItem(),b=(c=YOa(c,b,d))?$Oa(b,c):[],t0(this.context.ha(),b),this.log(a.Ea(),
"SD shared folder update | Updated "+b.length+" item(s)"),c=jZ(this.context.M,106010))a=KLa(ew(c)),J(a,1,b.length),lZ(c)}};
var bPa=function(a,b){var c=b.Ea();b=i5(a,c);b=UOa(b,!0);var d=wv(b.Og,function(e){return yM(xM(new wM,e.getId()))});a.context.ha().nb(d);H1(a.ga.ad,b.Ie.map(function(e){return e.getId()}),a.I(),void 0,void 0,b.Ie.map(function(e){return hN(gN(new qv,e.K()),C(e,140))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.Ie.length+" divergent items"));if(a=jZ(a.context.M,106016))c=LLa(ew(a)),J(c,1,b.Ie.length),J(c,2,b.Og.length),lZ(a)},cPa=function(a,b,c){var d=b.Ea(),e=i5(a,d),f=a.ga.Oa.g(d);if(!TOa(b.getItem(),
f,c)){b=VOa(b,e);t0(a.context.ha(),b.Og);H1(a.ga.ad,b.Ie.map(function(g){return g.getId()}),a.I(),void 0,void 0,b.Ie.map(function(g){return hN(gN(new qv,g.K()),C(g,140))}));a.log(d,"SD update | Update "+b.Og.length+" item(s), "+(b.Ie.length+" divergent items"));if(c=jZ(a.context.M,106017))e=LLa(ew(c)),J(e,1,b.Ie.length),J(e,2,b.Og.length),lZ(c);f||eIa(a.ga.ad,d)}},i5=function(a,b){var c=new Uo;Yo(c,[b]);Xo(c,2);return u0(a.ga.Oa,c)},dPa=function(a,b){var c=kM(b);if(c==null||la(c))return!1;var d=a.getItem();
if(!Sk(d!=null?d:b))return!1;var e=d==null?void 0:kM(d);if(d&&la(NA(e))||e&&e!==c)return!1;c=!!oM(b);if(Q(a,3))return c;d=a.getItem();a=Um(b,76)!==Um(d,76);b=Tn(d,25)!==Tn(b,25);return a||c&&b};h5.prototype.log=function(a,b){this.context.da("sync.change.TdChangeProcessor").info(a+": "+b)};var l5=function(a,b,c,d,e,f){var g=this;this.state=a;this.o=b;this.H=c;this.P=d;this.M=e;this.anonymous=f===void 0?!1:f;this.N=this.B=this.timeout=this.C=null;this.j=!1;this.g=null;this.G=[];this.D=!1;this.o&&(this.D=a.cb(),jW(this.o.B,function(){g.D=!0;j5(g,3)}),jW(this.o.C,function(){for(;g.G.length;)g.G.shift().resolve();g.D&&(g.D=!1,g.state.j?(j5(g,2),k5(g)):j5(g,1))}))};l5.prototype.getState=function(){return this.state};
var QGa=function(a){if(a.C)return a.C;if(a.anonymous)return ET(pN(new oN,a.state.cb()?3:2));var b=IT();a.C=b.promise.then(function(){return pN(new oN,1)},function(c){c=Ip(c).qa;var d=0;c.g()===2?d=3:Jp(c)&&(d=2);return pN(new oN,d)});if(a.g){let c=eLa(z3(ew(a.g)))||0;fLa(z3(ew(a.g)),c+1)}setTimeout(function(){a.C=null},5E3);ePa(a,b);return a.C},KGa=function(a){if(a.o&&a.state.cb()){let b=IT();a.G.push(b);b.promise.then(function(){},function(){fu(a.M,186469046)});setTimeout(function(){Ka(a.G,b)&&b.reject(Error())},
5E3)}},fPa=function(a){var b;(b=a.o)!=null&&NW(b.j)},m5=function(a,b){(a=a.o)!=null&&(a=a.j,!b&&a.o?NW(a,!0,!0):MW(a,b))},n5=function(a,b){if(b)(b=j5(a,1))&&a.reset(),a.g&&b&&(lZ(a.g),a.g=null);else{if(b=!a.j)b=a.state,b=U_(b)?b.j=!0:!1;b&&k5(a)}};l5.prototype.reset=function(){this.B=null;gPa(this)};
var gPa=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)},hPa=function(a,b){a.N=b},k5=function(a){if(!(a.B||a.D||a.anonymous||a.j)){a.g=cw(a.M,106025);if(a.g){var b=z3(ew(a.g));b=I(b,1,!(!U_(a.state)&&a.state.g()));b=I(b,2,a.state.o);I(b,5,!1)}a.B=new Q0(5E3,6E4);iPa(a)}},iPa=function(a){gPa(a);ePa(a);a.B&&(a.timeout=setTimeout(function(){return void iPa(a)},a.B.getValue()),P0(a.B))},ePa=function(a,b){var c=function(){if(a.g){var d=z3(ew(a.g));let e=zn(d,3)||0;d=z3(ew(a.g));J(d,3,e+
1)}jPa(a,b)};(a.N?Promise.resolve(a.N()):Promise.resolve()).then(null,function(){return null}).then(c,c)},jPa=function(a,b){a.log("Checking connection state.");var c=a.H.then(function(d){return d.route(new Jo)}).then(null,function(d){d=Ip(d);Jp(d.qa)&&j5(a,2);d=FT(d);d.then(null,function(){return null});return d});b?b.resolve(c):c.then(null,function(){return null})};l5.prototype.log=function(a){this.P.da("sync.connection.StateManager").info(a)};
var j5=function(a,b){return!a.j&&a.state.update(b)?(a.log("Connection status: "+kPa.get(b)),!0):!1};l5.prototype.oc=function(a,b){b=b===void 0?!1:b;this.reset();a?this.state.update(3):this.anonymous?this.state.update(2):b?k5(this):this.state.j?(j5(this,2),k5(this)):j5(this,1)};var kPa=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);var Yv=/\w*-[\w-]*/g,o5=n.WeakMap?new WeakMap:null;var p5=function(a,b){this.j=a===void 0?!1:a;this.cb=b;this.g=[this.zs,this.xs,this.ys,this.Ps,this.rs,this.Ds,this.Os,this.ws,this.Js,this.vs,this.Cs,this.Bs,this.Fs,this.ts,this.As,this.Gs,this.Hs,this.Ks,this.us,this.Ms,this.Ls,this.qs,this.Es,this.Qs,this.ss,this.Is,this.Ns];this.rootId=""};p5.prototype.Rb=function(a){this.rootId=a||""};
var tHa=function(a,b){return a.j&&xu(b).length>0&&!a.cb()?!1:oMa(b)},oMa=function(a){var b;if(b=z(a,zu,5,B()).length==0&&z(a,Cu,14,B()).length==0&&z(a,Cu,15,B()).length==0&&!ds(a,Cu,58)&&!Um(a,18)&&!Um(a,34)&&Lu(a).length==0&&z(a,vv,38,B()).length==0&&F(a,39,B()).length==0&&F(a,40,B()).length==0&&!It(a,41)&&!Jt(a,42)&&z(a,Eu,44,B()).length==0&&!Dn(a)&&z(a,Gu,57,B()).length==0&&!O(a,Fu,59)&&z(a,Cu,68,B()).length==0&&z(a,Cu,67,B()).length==0&&z(a,Iu,100,B()).length==0&&!P(a,69)&&!Um(a,73)&&z(a,Du,78,
B()).length==0)b=Hu(a),b=!b||b.getType()!=5;return b&&lPa(a)&&mPa(a)&&cs(a,91,B()).length===0},lPa=function(a){var b=z(a,Cu,13,B()),c;a=(c=b[0])==null?void 0:c.Ya();c=q(b);for(b=c.next();!b.done;b=c.next())if(b=b.value,b.getValue()!=="me"||b.Ya()!==a)return!1;return!0},mPa=function(a){return xu(a).every(function(b){b=L(b,2);return!b||!b.includes("*")&&nPa.test(b)})},h1=function(a,b,c){return!!c&&a.g.every(function(d){return d.call(a,b,c)})};k=p5.prototype;
k.zs=function(a,b){return b.K()!=this.rootId&&!Rs(b)};k.Ns=function(a,b){var c=!0,d=xu(a);if(!mPa(a))return!0;a=L(b,3)||"";for(let g=0;g<d.length&&c;g++){var e=d[g];if(e.getValue()){let h=e.Ya(),l=iea(a,e.getValue(),Tn(e,1));if(Tn(e,1)===1){if(!h&&l)continue;a:{var f=b;if(o5&&o5.has(f)){f=o5.get(f);break a}let m=Zv(L(f,3)||"",512);o5&&o5.set(f,m);f=m}e=jea(f,e.getValue());c=c&&(h?!l&&!e:l||e)}else c=c&&(h?!l:l)}}return c};
k.xs=function(a,b){var c=Bu(a),d=a=0,e=!1,f=!1;c=q(c);for(var g=c.next();!g.done;g=c.next())if(g=g.value,g.getValue()){let l=b.Gi()||"";if(Um(g,4)){var h=Rk(b);l=h&&L(h,3)||""}h=g.Ya();let m=g.getValue();g=Hl(g,3)===0?m===l:l.includes(m);h?(d++,f=f||g):(a++,e=e||g)}return a&&!e||d&&f?!1:!0};k.ys=function(a,b){var c=!0;a=z(a,Ku,7,B());a=q(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;let e=Ug(jt(b,11));c=c&&q5(e,d)}return c};
k.Ps=function(a,b){var c=!0;a=z(a,Ku,8,B());a=q(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;let e=Ug(jt(b,13));c=c&&q5(e,d)}return c};k.rs=function(a,b){var c=!0;a=z(a,Ku,79,B());a=q(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;let e=Ug(jt(b,10));c=c&&q5(e,d)}return c};var q5=function(a,b){if(YF(b,2))switch(Jt(b,1)){case 1:return a<=Ug(jt(b,2));case 2:return a<Ug(jt(b,2));case 3:return a==Tg(jt(b,2));case 4:return a>Ug(jt(b,2));case 5:return a>=Ug(jt(b,2));default:return!1}return!0};
k=p5.prototype;k.Os=function(a,b){var c=E(a,9);a=(a=nv(a))&&(a==2||a==3);return c==null||c==!!Um(b,7)&&(!c||Jt(b,25)==1||!!a)};k.ws=function(a,b){a=E(a,88);return a==null||a==!!E(b,160)};k.Ds=function(a,b){var c;return!Q(a,90)||((c=Ns(b))==null?void 0:E(c,69))===!0};k.Js=function(a,b){return!P(a,10)||E(a,10)==!!Um(b,5)};k.vs=function(a,b){return!P(a,11)||E(a,11)==!!Um(b,6)};
k.Cs=function(a,b){a=dv(a);a=q(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.getValue()){var d=c.getValue()=="root"&&this.rootId||c.getValue();d=$L(b).includes(d);if(c.Ya()?d:!d)return!1}return!0};k.Bs=function(a,b){if(!lPa(a))return!0;a=z(a,Cu,13,B());a=q(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.getValue()=="me"&&Jt(b,25)==1===c.Ya())return!1;return!0};k.Fs=function(a,b){return!P(a,16)||(Um(a,16)?YF(b,23):!0)};
k.ts=function(a,b){var c=E(a,17);a=(a=nv(a))&&(a==2||a==3);return c==null||c==!!Um(b,26)&&(!c||Jt(b,25)==1||!!a)};k.As=function(a,b){b=Us(b);return!P(a,19)||E(a,19)==!!Um(b,1)};k.Gs=function(a,b){a=z(a,kv,25,B());if(a.length==0)return!0;var c=new Set(F(b,56,B()));return a.every(function(d){return c.has(L(d,1))})};
k.Hs=function(a,b){if(Mu(a).length==0)return!0;if(z(b,RL,60,B()).length==0)return!1;var c=new Set(z(b,RL,60,B()).map(function(d){return Tn(d,1)}));return Mu(a).some(function(d){return c.has(Tn(d,1))})};k.Ks=function(a,b){a=Nu(a);return!a.length||a.includes(kM(b)||"")};k.us=function(a,b){a=z(a,Ou,37,B());if(a.length==0)return!0;var c=new Set(F(b,50,B()));return a.every(function(d){return c.has(L(d,1))})};k.Ms=function(a,b){return Jt(a,41)?(b=O(b,Fx,86),b!=null&&Tn(a,41)==Jt(b,3)):!0};
k.Ls=function(a,b){if(F(a,40,B()).length){if(b=O(b,Fx,86)){let c=new Set(F(b,2,B()));return F(a,40,B()).some(function(d){return c.has(d)})}return!1}return!0};k.qs=function(a,b){var c=nv(a);return c==1?(b=Um(b,31),!!dv(a).length||!!Lu(a).length||Um(a,18)==1||!!L(a,54)||b==null||b):c==2?!!kM(b):!0};k.Es=function(a,b){return P(a,50)?Q(a,50)?It(b,101)&&Tn(b,101)!==0:!It(b,101):!0};k.Qs=function(a,b){a=L(a,54);return!a||F(b,120,B()).includes(a)};
k.ss=function(a,b){b=O(b,ux,138);if(!P(a,65)||b==null)return!0;b=Jt(b,1)==2;return E(a,65)==b};k.Is=function(a,b){if(ds(a,ev,86)){a=O(a,ev,86);let d=!1;if(P(a,3)){let e;if(Um(a,3)!==((e=O(b,zx,148))==null?void 0:Um(e,4)))return!1;d=!0}if(P(a,1)){let e;if(Um(a,1)!==((e=O(b,zx,148))==null?void 0:Um(e,5)))return!1;d=!0}if(P(a,2)){let e;if(Um(a,2)!==((e=O(b,zx,148))==null?void 0:Um(e,6)))return!1;d=!0}if(d)return!0}var c;return!Tg((c=O(b,zx,148))==null?void 0:jt(c,3))};var nPa=/^[\x00-\x7F]*$/;var oPa=function(a,b){b=b===void 0?!1:b;var c=Nma(a),d=a.Gi();c&&Qk(a)&&(d=(d=Rk(a))?L(d,3):"");Sk(a)&&(Ug(a.Fi())&&(d+="+"+String(a.Um())),c&&E(a,160)?d+="+limited-access":a.Hi()&&(d+="+shared"));return"https://drive-thirdparty.googleusercontent.com/"+(b?"32":"16")+"/type/"+(d||"application/unknown")};var pPa=function(a,b){this.O=b;this.o=x(a,65,"https://lh3.google.com");var c;this.g=(c=C(a,100))!=null?c:"d";this.j=ku(a)};pPa.prototype.get=function(a){if(!qPa(this,a))return null;var b={},c=sq(a);Qk(a)&&(c=Tk(a));aw(this.j)?(c=[this.o,this.g,c].join("/"),b.accessToken=x(this.j,7)):c=[this.o,"u",eq(this.j),this.g,c].join("/");c+="={size}";S(a,140)&&(b.resourcekey=L(a,140));b.auditContext="thumbnail";return c=kea(c,b)};
var qPa=function(a,b){var c=Jt(b,52);if(c&&rPa.has(c)&&(a.O.configs[62]==null||!XLa(a.O.configs[62],c)))return!0;if(ds(b,ZL,132))return a=ww(b,ZL,132),Jt(a,4)!==1?!1:ds(a,Pk,5)?(a=ww(a,Pk,5),a=E(a,44),a!=null?a:!1):!0;var d;return(d=E(b,44))!=null?d:!1},rPa=new Set([6]);var sPa=function(a,b){this.F=a;this.g=new pPa(a,b)},bs=function(a,b,c){tPa(a,b,c);if(c.has(18)){var d=bw(b,a.F);D(b,19,d)}uPa(a,b,c);vPa(a,b,c);if(Qk(b)){let f=(d=Rk(b))&&Vs(d);if(f){tPa(a,f,c);if(c.has(18)){d=f;var e=bw(f,a.F);D(d,19,e)}uPa(a,f,c);vPa(a,f,c)}py(b,!!C(b,20))}},tPa=function(a,b,c){if(c.has(20)&&c.has(3)){c=oPa(b,Q(a.F,75));D(b,21,c);if(c=ds(b,WL,156))c=O(b,WL,156),c=ds(c,VL,1);c&&(b=zB(b,WL,156),b=zB(b,VL,1),a=oPa(b,Q(a.F,75)),D(b,11,a))}},uPa=function(a,b,c){if(b&&c){var d=b.K();
d?c.has(19)&&(a=a.g.get(b),D(b,20,a)):Dk("No Item ID for addThumbnailUrl: id:"+d,Error("ud"),"warning")}else Dk("Invalid parameters to addThumbnailUrl: item:"+b+" fields:"+c,Error("vd"),"warning")},vPa=function(a,b,c){var d=c.has(41);c=c.has(42);if(d||c){var e=b.xd();if(e){var f,g=(f=Ns(b))==null?void 0:E(f,65);f=!Sk(b)&&!Qk(b)&&!Gk(e)&&(!E(b,8)||Jt(b,25)!==2);var h;e=((h=JD(a.F))==null?0:Q(h,59))?g:f;d&&I(b,40,e);e&&c&&(a=a.F,d=sq(b),Qk(b)&&(d=Tk(b)),h=x(a,101)?x(a,101):x(a,16),h=new bi(h+"/uc"),
$v(h,"id",d),aw(ku(a))||$v(h,"authuser",eq(ku(a))),a=S(b,4)?L(b,4):"",Fk(a)&&a!=="application/vnd.google-apps.shortcut"?$v(h,"export","native_doc_export"):$v(h,"export","download"),S(b,140)&&$v(h,"resourcekey",L(b,140)),D(b,41,h.toString()))}}};var r5={},wPa={Ak:100,zk:(r5.MAX_NUMBER_OF_REQUESTS={Pi:1E3,zi:5E3},r5.MAX_NUMBER_OF_PAGES={Pi:500,zi:4E3},r5.MAX_REQUESTS_TO_PAGES_RATIO={Pi:3,zi:20},r5.MIN_RESULTS_PER_REQUEST_RATIO={Pi:1,zi:.05},r5)};var xPa=new Set([9]),yPa=function(a){var b=this;this.context=a;this.F=this.context.F;this.g=new wt(function(){var c=b.F,d=b.context.P,e=b.context.Wm.get();var f=Gs(c);f=C(f,66);Tb(f,ZB);Tb(f,vF);var g=d.da("drive.ds.network.grpc.client");d=[];{var h=Gs(c),l=dq(c);let p=C(l,7);p&&p.length>0?(g.info("Using OAuth"),g=new IBa(p,g)):(h=C(h,37),l=$t(l,1),Tb(h,ZB),Tb(h,vF),g.info("Using first party auth"),g=new PBa(h,l))}var m;l=Gs(c);c=Math.max((m=l.Dh())!=null?m:0,0)+1;c<=1?m=new aZ:(m=Sg(hs(l,21,jc(1E3))),
m=new aZ({No:c,Tr:m,os:Math.pow(2,c)*m,br:2,np:[4,13,14]}));e=new JBa(e);d.push(g);d.push(m);d.push(e);return new WS(f,{withCredentials:!0,tm:!1,sm:d})})};
yPa.prototype.create=function(a,b){var c,d=this.F,e,f=(e=Jt(d,39))!=null?e:0,g;if(d=!((g=JD(d))==null||!Q(g,94))&&!xPa.has(f)){var h;f=(h=a.I())==null?void 0:h.g();if(h=f===111||f===1535)h=vB(a,So,2),h=h===void 0||h.getType()===5||h.getType()===1;d=h&&!E(a,48)}d?c=new P3(a,this.g.get(),this.context,this.context.M,wPa):c=new G1(this.context,a,b);return c};var zPa=function(a,b){this.j=a;this.o=b;this.g=null},APa=function(a){return a.g?a.g.promise:a.j()?(a.g=new us,a.g.promise):null};var BPa=function(){this.g={}},f0=function(a,b,c){if(a.g[b])throw Error("wd");a.g[b]=c};BPa.prototype.notify=function(a,b){for(let c=0;c<a.length;c++)if(this.g[a[c]])try{this.g[a[c]](b)}catch(d){n.setTimeout(function(){throw d;},0)}};var g0=function(a,b){for(let c=0;c<b.length;c++)delete a.g[b[c]]};var s5=function(a){vh.call(this);this.name=a};U(s5,vh);k=s5.prototype;k.Xe=function(){};k.Wh=function(){};k.Nj=function(){};k.sk=function(){};k.Ml=function(){};k.Ll=function(){};k.Ib=function(){this.dispatchEvent(new dh("B"))};k.toString=function(){return this.name+": "+this.max(Infinity)};var t5=function(a){s5.call(this,"Connected");var b=this;this.connectionState=a;this.pa=new ji(this);this.Ha(this.pa);this.pa.listen(this.connectionState,[TY.de,TY.Ck,TY.Fe],function(){return void b.Ib()})};U(t5,s5);t5.prototype.max=function(){return U_(this.connectionState)?Infinity:0};t5.prototype.Xe=function(){this.Ib()};var u5=function(a){s5.call(this,"Online");var b=this;this.connectionState=a;this.pa=new ji(this);this.Ha(this.pa);this.pa.listen(this.connectionState,[TY.de,TY.Fe],function(){return void b.Ib()})};U(u5,s5);u5.prototype.max=function(){return this.connectionState.g()?Infinity:0};u5.prototype.Xe=function(){this.Ib()};var CPa=function(a,b){this.g=a;this.anonymous=b};CPa.prototype.o=function(){return this.g.getState()};var zw=function(a){this.j=a;this.g={}};zw.prototype.execute=function(a){var b=[];for(let c=0;c<a.length;c++)if(a[c].ta.R instanceof Eo)b.push(DPa(this,a[c].ta));else{let d=du(new wp,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(Ip(d)))}return b};zw.prototype.cancel=function(a){return!!this.g[a]&&this.g[a].cancel()};zw.prototype.dd=function(){return!oh(this.g)};
var DPa=function(a,b){var c=a.j.create(b.R,b.config),d=c.start(),e=b.config.requestId;a.g[e]=c;d.then(function(){delete a.g[e]},function(){delete a.g[e]});return d};var EPa=function(a,b,c){this.B=c;this.j=!0;this.o=0;this.g=new nt(a,b,.5)},v5=function(a){return a.g.j+a.o};var ow=function(){this.requests=[]};k=ow.prototype;k.add=function(a,b){b?this.requests.unshift(a):this.requests.push(a);return!0};k.hj=function(a){return Sa(this.requests,0,a)};k.getSize=function(){return this.requests.length};k.cancel=function(a){var b=this.requests.find(function(c){return c.ta.config.requestId===a});return b&&Ka(this.requests,b)?(b.ea.resolve(Oo(b.ta.R)),b):null};k.dd=function(){return jF(this.requests,function(a){return Ro(a.ta.R)})};
k.hl=function(){for(var a=[],b=q(this.requests),c=b.next();!c.done;c=b.next())(c=c.value.ta.config.timestamp)&&a.push(c);return a};var Dw=function(){this.requests=[]};U(Dw,ow);Dw.prototype.add=function(a,b){var c=a.ta.R;return c instanceof Ao&&en(c.request)&&L(c.request,12)?ow.prototype.add.call(this,a,b):!1};Dw.prototype.hj=function(a){return this.requests.splice(0,Math.min(a,1))};var vw=function(a,b){this.requests=[];this.g=b};U(vw,ow);
vw.prototype.hj=function(a){var b=[],c=[],d={},e=0;for(let h=0;h<this.requests.length&&b.length<a;h++){let l=this.requests[h];var f=l.ta.R;gn(f)||An(f)||lo(f)?f="app|"+f.ge():bn(f)||cn(f)||hn(f)||no(f)?f="item|"+(bn(f)?C(f,2):f.K()):jn(f)||Bn(f)?f="item|"+f.ih():kn(f)||oo(f)?f="item|"+f.sf():ro(f)||pn(f)?(ro(f)?(f=O(f,NK,1),f=O(f,MK,1)):f=O(f,MK,1),f="pref|"+C(f,2)+"|"+Jt(f,1)):f=ln(f)||po(f)?"td|"+f.K():null;var g=l.ta.R;if(g instanceof wN)g=!!g.qf();else if(g instanceof aP&&this.g){let m=this.g.g(L(g,
1));if(g=!!m)b:{if(!m){g=!1;break b}g=m.xd();g=!(!g||!Eya.has(g))}}else g=!1;if(f&&d[f]||g&&e===5)break;b.push(l);c.unshift(h);f&&(d[f]=!0);g&&e++}for(a=0;a<c.length;a++)Ia(this.requests,c[a]);return b};var Bw=function(a){this.requests=[];this.g=a};U(Bw,ow);Bw.prototype.hj=function(a){var b=[];a=new Set(FPa(this.g,a).map(function(c){return c.Zf+":"+c.requestId}));for(let c=0;c<this.requests.length;c++)a.has(this.requests[c].ta.config.yg+":"+this.requests[c].ta.config.requestId)&&b.push.apply(b,r(this.requests.splice(c--,1)));return b};var w5=function(){vh.apply(this,arguments)};U(w5,vh);var x5=function(a,b){b.ta.config=Object.assign({},b.ta.config,{Yr:!0});a.dispatchEvent(new GPa(b))};w5.prototype.j=function(){};var GPa=function(a){dh.call(this,"C");this.request=a};U(GPa,dh);var y5=function(a,b,c,d){w5.call(this);this.C=b;this.connectionState=c;this.P=d;this.g=new Map;this.o=new Set;this.D=function(){return new EPa(Sg(hs(a,63,jc(1E3))),Sg(hs(a,64,jc(3E5))),Sg(hs(a,65,jc(10))))};this.H=a.Dh();this.G=Sg(hs(a,21,jc(1E3)))};U(y5,w5);
y5.prototype.intercept=function(a){var b=a.responses.length,c=b>0&&Ba(a.responses).response||null;if(c){c=Fp(c);if(c.g()===2)return HPa(this,a,c);if(Jp(c))return b<=2?(x5(this,a),a=!0):a=!1,a;let d=c.Le();if(d===3||d===31||d===13||d===9)return IPa(this,a,b);if(Kp(c))return c=v5(this.C),b=this.C,v5(b)<b.B?(this.log("Backoff number "+c+" for a User Rate Limit error."),x5(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+c+" backoffs."),a=!1),a}return!1};
var HPa=function(a,b,c){var d=JPa(a,b),e=v5(d);if(v5(d)<d.B)return a.log("Retry "+(e+1)+" for a failed request due to an offline error."),a.connectionState.g()&&e===0?(KPa(a,c).catch(function(){}).then(function(){return void x5(a,b)}),d.o++):(c=d.g.getValue(),n.setTimeout(function(){return void x5(a,b)},c),P0(d.g)),!0;a.g.delete(b);return!1},KPa=function(a,b){if(b=b.eo())if(b=new URL(b),b.protocol&&b.hostname&&!a.o.has(b.hostname))return a.o.add(b.hostname),fetch(b.protocol+"//"+b.hostname+"/empty.js",
{mode:"no-cors"});return Promise.resolve()},JPa=function(a,b){a.g.has(b)||a.g.set(b,a.D());return a.g.get(b)},IPa=function(a,b,c){var d=a.H;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),n.setTimeout(function(){return void x5(a,b)},a.G*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};y5.prototype.j=function(a){this.g.delete(a)};y5.prototype.log=function(a){this.P.da("network.queue.RetryInterceptor").info(a)};var z5=function(a,b,c,d,e,f){vh.call(this);var g=this;this.P=a;this.o=b;this.g=c;this.j=d;this.D=e;this.name=f;this.T=0;this.C=new Map;this.G=!1;this.pa=new ji(this);this.Ha(this.pa);a=q(this.g);for(b=a.next();!b.done;b=a.next())this.pa.listen(b.value,"B",function(){LPa(g)});a=q(this.D);for(b=a.next();!b.done;b=a.next())this.pa.listen(b.value,"C",function(h){MPa(g,!0,h.request)});this.J=this.P.da(Qm("network.routing.queue.Queue [%s]",f))};U(z5,vh);
var LPa=function(a){a.G||(a.G=!0,n.setTimeout(function(){a.G=!1;a.H()},0))};z5.prototype.getName=function(){return this.name};z5.prototype.add=function(a){var b=this,c=new us;MPa(this,!1,{ta:a,ea:c,responses:[]});return c.promise.catch(function(d){throw Ip(d,"addExisting request:"+go(a.R)+(" size:"+A5(b)));})};
z5.prototype.cancel=function(a){for(var b=this.o.cancel(a),c=null,d=q(this.j),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.g.length;a++)this.g[a].Ll(c);return!(!b&&!c)};z5.prototype.dd=function(){return this.o.dd()?!0:this.j.some(function(a){return a.dd()})};
var MPa=function(a,b,c){if(a.j.some(function(e){return e.add(c,b)})){var d=A5(a);for(let e=0;e<a.g.length;e++)a.g[e].Xe(c,d)}else d=du(new wp,"No queue bucket accepted request."),a=Ip(d,"No queue bucket accepted request "+go(c.ta.R)+(" placeAtHead:"+b+" size:"+A5(a))),c.ea.reject(a)};
z5.prototype.H=function(){var a=A5(this);if(a){var b=this.g.reduce(function(d,e){return Math.min(d,e.max(a))},Infinity);if(b!==0){var c=[];for(let d=0;d<this.j.length&&c.length===0;d++)c=this.j[d].hj(b);c.length>0&&(this.log("Executing "+c.length+"/"+a+" requests. States: {"+this.g.join(", ")+"}"),this.execute(c))}}};
z5.prototype.execute=function(a){var b=this,c=String(this.T++);this.C.set(c,a);var d=this.o.execute(a);for(let f=0;f<a.length;f++){let g=a[f].ta.config;this.log(go(a[f].ta.R)+" request sent. xd4: "+!(!g||!g.fd));d[f].then(function(h){NPa(b,a[f],h)},function(h){OPa(b,a[f],h)}).catch(function(){Dk("executePromise[:"+f+"] failed for "+go(a[f].ta.R)+(" xd4: "+!(!g||!g.fd)),Error("xd"),"warning")})}var e=A5(this);for(let f=0;f<this.g.length;f++)this.g[f].Wh(a,e);Promise.allSettled(d).then(this.L.bind(this,
a)).finally(function(){b.C.delete(c)});n.setTimeout(this.H.bind(this),0)};
var NPa=function(a,b,c){var d=b.ta.config;a.log(go(b.ta.R)+" request completed successfully. xd4: "+!(!d||!d.fd));a.g.forEach(function(e){e.sk(b)});a.D.forEach(function(e){e.j(b)});b.ea.resolve(c)},OPa=function(a,b,c){var d=b.responses.length+1;c=Ip(c);c.qa.Ii(d);a.log(go(b.ta.R)+(" request failed with error: "+c.j+"."));b.responses.push({response:c,Et:Date.now()});for(d=0;d<a.g.length;d++)a.g[d].Ml(b);b.ta.config.We||!a.D.some(function(e){return e.intercept(b)})?b.ea.reject(c):a.log(go(b.ta.R)+" encountered an error, but was intercepted to be retried.")};
z5.prototype.L=function(a){A5(this);for(let b=0;b<this.g.length;b++)this.g[b].Nj(a)};var A5=function(a){var b=0;for(let c=0;c<a.j.length;c++)if(a.j[c].getSize()){b=a.j[c].getSize();break}return b};z5.prototype.log=function(a){this.J.info(a)};
z5.prototype.hl=function(){for(var a=[],b=q(this.C),c=b.next();!c.done;c=b.next()){c=q(c.value);c.next();c=c.next().value;c=q(c);for(var d=c.next();!d.done;d=c.next())(d=d.value.ta.config.timestamp)&&a.push(d)}b=q(this.j);for(c=b.next();!c.done;c=b.next())Pa(a,c.value.hl());return a};var PPa=function(a,b){this.g=a;this.P=b},mw=function(a,b){return new B5(b,a.P,a.g)},B5=function(a,b,c){this.name=a;this.P=b;this.G=c;this.B=[];this.j=[];this.C=[];this.o=null;this.D=!1},lw=function(a,b){a.o=b;return a},kw=function(a,b){a.B.push(b);return a};B5.prototype.g=function(){for(var a=q(cc.apply(0,arguments)),b=a.next();!b.done;b=a.next())kw(this,b.value);return this};var jw=function(a,b){a.j.push(b);return a};k=B5.prototype;
k.Ek=function(){for(var a=q(cc.apply(0,arguments)),b=a.next();!b.done;b=a.next())jw(this,b.value);return this};k.og=function(a){this.C.push(a);return this};k.Yq=function(){for(var a=q(cc.apply(0,arguments)),b=a.next();!b.done;b=a.next())this.og(b.value);return this};k.build=function(){this.validate();if(!this.D){var a=this.B,b=a.push;var c=this.G;c=c.anonymous?new u5(c.g.getState()):new t5(c.g.getState());b.call(a,c)}return new z5(this.P,this.o,this.B,this.j,this.C,this.name)};
k.validate=function(){if(this.o===null)throw Error("yd");if(this.j.length===0)throw Error("zd");};var pw=function(a,b){s5.call(this,"Backoff");this.g=a;this.P=b};U(pw,s5);pw.prototype.max=function(){return this.g.j?Infinity:0};pw.prototype.sk=function(){var a=this.g;a.o=0;a.g.reset()};pw.prototype.Ml=function(a){var b=this;QPa(a)&&this.g.j&&(this.g.j=!1,a=this.g.g.getValue(),this.log("Stopping new requests for "+a+" ms."),n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.g.j=!0;b.Ib()},a),P0(this.g.g))};
var QPa=function(a){var b;return(a=(b=Ba(a.responses))==null?void 0:b.response)?Kp(Fp(a)):!1};pw.prototype.log=function(a){this.P.da("network.queue.BackoffState").info(a)};var tw=function(a,b){s5.call(this,"Batch");this.g=a;this.C=b;this.o=this.j=null};U(tw,s5);tw.prototype.max=function(a){return a>=this.g?this.g:this.j!=null?this.C<=Date.now()-this.j?this.g:0:0};tw.prototype.Xe=function(a,b){b>=this.g?this.Ib():RPa(this)};tw.prototype.Wh=function(a,b){b>0?RPa(this):this.j=null};var RPa=function(a){a.o!=null&&clearTimeout(a.o);a.j=Date.now()-1;a.o=n.setTimeout(function(){a.o=null;a.Ib()},a.C)};var nw=function(){s5.call(this,"Immediate")};U(nw,s5);nw.prototype.max=function(){return Infinity};nw.prototype.Xe=function(){this.Ib()};var Cw=function(a,b,c,d){s5.call(this,"Throughput Logging");this.H=a;this.G=b;this.C=c;this.D=d;this.g=[];this.j=new Map;this.o=0};U(Cw,s5);k=Cw.prototype;k.max=function(){return Infinity};k.Xe=function(a){SPa(this).add(a);TPa(this)};k.Wh=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=UPa(this,b);(c=VPa(this,c))&&this.C(c,b.ta.R)}};k.sk=function(a){C5(this,a)};k.Ml=function(a){C5(this,a)};k.Ll=function(a){C5(this,a)};
var C5=function(a,b){var c=UPa(a,b),d=VPa(a,c);(d?a.D(d,b.ea.promise):Promise.resolve()).catch(function(e){Dk("Failed to add response details to upload batch impression",Ep(e),"warning")}).finally(function(){c.remove(b);c.Ga()&&(d==null||lZ(d),Ka(a.g,c),a.j.delete(c))})},SPa=function(a){a.g.length===0&&a.g.push(new D5);var b=a.g[a.g.length-1];b.closed&&(b=new D5,a.g.push(b));return b},UPa=function(a,b){a=q(a.g);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.has(b))return c;throw Error("Ad");
},VPa=function(a,b){a.j.has(b)||a.j.set(b,a.H());var c;return(c=a.j.get(b))!=null?c:null},TPa=function(a){clearTimeout(a.o);a.o=setTimeout(function(){SPa(a).close()},a.G)},D5=function(){this.closed=!1;this.requests=new Set};k=D5.prototype;k.close=function(){this.closed=!0};k.add=function(a){if(this.closed)throw Error("Bd");this.requests.add(a)};k.remove=function(a){return this.requests.delete(a)};k.has=function(a){return this.requests.has(a)};k.Ga=function(){return this.requests.size===0};var qw=function(){s5.call(this,"One Request")};U(qw,s5);qw.prototype.max=function(){return 1};var uw=function(a){s5.call(this,"Parallel");this.Wb=a;this.g=0};U(uw,s5);uw.prototype.max=function(){return Math.max(0,this.Wb-this.g)};uw.prototype.Xe=function(){this.g<this.Wb&&this.Ib()};uw.prototype.Wh=function(a){this.g+=a.length};uw.prototype.Nj=function(a){this.g-=a.length;this.g<this.Wb&&this.Ib()};var Aw=function(a){s5.call(this,"Resumable Upload");this.j=a;this.g=new Map};U(Aw,s5);k=Aw.prototype;k.max=function(){for(var a=0,b=q(this.g),c=b.next();!c.done;c=b.next())c=q(c.value),c.next(),c=c.next().value,a+=E5(c);return a};k.Xe=function(a){var b=a.ta.config.yg,c=this.g.get(b);c||(c=new WPa(b,this.j),this.g.set(b,c));{b=c;let d=a.ta.config.yg;a=a.ta.config.requestId;b.j.has(a)?a=!1:(b.j.add(a),b.g.push({Zf:d,requestId:a,index:XPa++}),a=!0)}a&&E5(c)>0&&this.Ib()};
k.Wh=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;let c=this.g.get(b.ta.config.yg);c&&YPa(c,b)}};k.Nj=function(a){var b=!1;a=q(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;let d=c.ta.config.yg,e=this.g.get(d);e&&(ZPa(e,c),e.Ga()?this.g.delete(d):E5(e)>0&&(b=!0))}b&&this.Ib()};k.Ll=function(a){this.Nj([a])};
var FPa=function(a,b){var c=[];a=q(a.g.values());for(var d=a.next();!d.done;d=a.next()){d=q($Pa(d.value));for(var e=d.next();!e.done;e=d.next())Xa(c,e.value,function(f,g){return f.index-g.index})}return c.slice(0,b).map(function(f){return{Zf:f.Zf,requestId:f.requestId}})},XPa=0,WPa=function(a,b){this.Zf=a;this.Wb=b;this.g=[];this.j=new Set;this.ld=new Set},YPa=function(a,b){var c=b.ta.config.requestId;aQa(a,b)&&!a.ld.has(c)&&La(a.g,function(d){return d.requestId===c})&&a.ld.add(c)},ZPa=function(a,
b){var c=b.ta.config.requestId;La(a.g,function(d){return d.requestId===c});a.j.delete(c);a.ld.delete(c)};WPa.prototype.Ga=function(){return this.j.size===0&&this.ld.size===0};var E5=function(a){return Math.min(Math.max(0,a.Wb-a.ld.size),a.g.length)},$Pa=function(a){return a.g.slice(0,E5(a))},aQa=function(a,b){var c=b.ta.config.requestId;return a.Zf===b.ta.config.yg&&a.j.has(c)};cF(iw,vh);k=iw.prototype;k.abort=function(){try{this.g.abort()}catch(a){throw new Nm(a,"aborting read");}};k.il=function(){return this.g.result};k.getError=function(){return this.g.error&&new Nm(this.g.error,"reading file")};k.wg=function(a){this.dispatchEvent(new Om(a,this))};k.oa=function(){iw.Kb.oa.call(this);delete this.g};var bQa=function(a){var b=new yk;a.listen("loadend",yj(function(c,d){var e=d.il(),f=d.getError();e==null||f?c.Va(f):c.callback(e);d.dispose()},b,a));return b};var OB=function(a){try{if(typeof FileReaderSync!=="undefined"&&r_(n)){let d=new FileReaderSync;return Promise.resolve(d.readAsDataURL(a))}let b=new iw,c=bQa(b);b.g.readAsDataURL(a);return c.then()}catch(b){return Promise.reject(new Nm(Ep(b),"reading data"))}},cQa=function(a){return OB(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};var F5=function(a,b,c,d,e,f,g,h){var l=this;this.T=a;this.j=b;this.P=c;this.ca=d;this.o=e;this.H=f;this.g=g;this.config=h;this.ba=this.B=0;this.N=this.D=null;this.ea=new us;this.L=!1;this.chunks=this.dc=0;this.C=this.G=null;a=g.Wc();a=r_(n)&&a?Ug(jt(a,1)):null;typeof a==="number"&&(this.g.fileSize=a);this.requestId=h.requestId;this.ye="progress_"+this.requestId;h.ye=this.ye;this.ea.promise.catch(function(){}).finally(function(){return l.L=!0})};F5.prototype.log=function(a){this.P.da("sync.request.ResumableUpload").info(a)};
F5.prototype.start=function(){var a=this,b=new Co(this.g),c=qh(this.config);f0(this.j,this.ye,Csa(function(){return void a.j.notify([a.requestId],0)}));this.T.then(function(e){return e.route(b,c)}).then(function(e){a.g.j=e.g;a.D=e.D;a.N=e.j;dQa(a)},function(e){a.ea.reject(Ip(e,"Unable to initialize upload."))});var d=this.ea.promise.then(function(e){eQa(a,e);return e},function(e){e=Ip(e);eQa(a,e.qa);return Promise.reject(e)});d.catch(function(){}).finally(function(){return void g0(a.j,[a.ye])});return d};
F5.prototype.cancel=function(){return this.L?!1:(this.ea.resolve(Oo(this.g)),!0)};
var dQa=function(a){a.L||(a.log("Uploading chunk "+a.chunks+" for "+a.g.j+"."),fQa(a,4))},fQa=function(a,b){gQa(a).then(function(c){var d=hQa(a);if(c){var e=iQa(a);jQa(a,c.j.size);kQa(d,c);a.T.then(function(f){return f.route(c,e)}).then(function(f){a.C=null;a.B+=c.j.ft;a.ba+=c.j.size;a.chunks++;f.tj()&&(a.D=f.tj());f.oj()&&(a.N=f.oj());a.B<a.g.fileSize?dQa(a):a.ea.resolve(f);d&&(f=G5(d),I(f,1,!0),lZ(d))},function(f){lQa(d,4-b);if(e.We)a.cancel();else{let g=Hp(f,43);g.wj()||g.D()||a.g.g!=null?mQa(a,
b,g,!1):cQa(c.j.blob).then(function(h){h=h?PB.get(h)||25:38;Bp(g,h);h=Tn(g,14)===38;var l=Tn(g,14)!==38&&Tn(g,14)!==25;mQa(a,b,g,h,l)},function(){})}})}else nQa(a,d)})},hQa=function(a){var b=cw(a.ca,106033);b&&(a=a.g.impression)&&Z_(b,a);return b},kQa=function(a,b){if(a){var c=b.o;b=c.start;c=c.end;a=G5(a);a=J(a,2,b);J(a,3,c-1)}},lQa=function(a,b){if(a){var c=G5(a);c=I(c,1,!1);b!=null&&J(c,4,b);lZ(a)}},nQa=function(a,b){var c=Ip(Bp(du(new wp,"Could not read more of the file. Read "+(a.B+"/"+a.g.fileSize+
" bytes.")),5));if(b){var d=G5(b);d=J(d,2,0);J(d,3,0);lQa(b)}a.ea.reject(c)},mQa=function(a,b,c,d,e){e=e===void 0?!1:e;var f=4-b;c.Ii(f);!e&&b>0?(a.dc++,d&&(a.o=Math.max(Math.floor(a.o/262144/2)*262144,8388608)),setTimeout(function(){b--;a.log("Retrying chunk "+a.chunks+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.o+" bytes "):"")+"for ")+(a.g.j+"."));fQa(a,b)},a.H*Math.pow(1.5,f))):a.ea.reject(Ip(c,"maybeRetry failure. retries:"+a.dc))},gQa=function(a){return a.g.g!=null&&
a.C?Promise.resolve(a.C):uY(a.g,a.B,a.o).then(function(b){var c=b.blob;b=b.range;if(!c)return null;a.G&&(c=new Blob([a.G,c]),a.G=null);var d=c.size%262144,e=b.end===a.g.fileSize;d>0&&!e&&(a.G=c.slice(-1*d),c=c.slice(0,-1*d));d=a.g;c=new tY(b,c);a.C=new Do(d,c,a.ba);return a.C})},iQa=function(a){a=qh(a.config);a.on=!0;return a},jQa=function(a,b){g0(a.j,[a.ye]);f0(a.j,a.ye,function(c){a.j.notify([a.requestId],Math.min((a.B+b*c)/a.g.fileSize,1))})},eQa=function(a,b){b.Vm(3);b.Ii(a.dc);b.tj()||b.df(a.D);
b.oj()||b.bf(a.N)};var yw=function(a,b,c,d,e,f){this.B=a;this.j=b;this.P=c;this.g=d;this.o=e;this.H=f};yw.prototype.create=function(a,b){return new F5(this.B,this.j,this.P,this.g,this.o,this.H,a,b)};var oea=function(a,b,c,d,e,f,g,h,l){this.F=a;this.B=b;this.ba=c;this.H=d;this.P=e;this.G=f;this.N=g;this.C=l;this.g=Gs(a);this.D=new CPa(h,Nt(dq(a)));this.o=new EPa(Sg(hs(this.g,59,jc(2E3))),Sg(hs(this.g,60,jc(2E4))),Sg(hs(this.g,61,jc(6))));this.j=new PPa(this.D,e)},rw=function(a){return new y5(Gs(a.F),a.o,a.D.o(),a.P)},sw=function(a,b,c){c=c===void 0?zn(a.g,10,50):c;return jw(lw(mw(a.j,b),a.B).g(new tw(c,zn(a.g,12,10)),new uw(c*3),new pw(a.o,a.P)),new ow).og(rw(a)).build()};var oQa=function(a){this.g=a};oQa.prototype.build=function(a,b){var c="====="+$h()+"=====",d=a[0].X,e=b.every(function(l){return l.fd});if(e){var f=d;var g={"content-type":"text/plain; charset=UTF-8"};d="POST";var h=pQa(this.g,a[0].X);$v(h,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=H5[d],g=qQa[d]||{},g["content-type"]=Qm('multipart/mixed; boundary="%s"',c),d=rQa[d],h=new bi("");a=sQa(this,a,b,c,e);return{X:f,body:a,headers:g,method:d,uri:h}};
var sQa=function(a,b,c,d,e){var f=lq(tQa[b[0].X]||{}),g="";for(let w=0;w<b.length;w++){e&&I5(a.g,b[w],c[w]);var h=b[w],l=a.g,m=h,p=c[w];m.uri=J5(l,m.X,m.uri);switch(m.X){case 0:case 5:K5(l,m,p);L5(l,m,p);break;case 2:I5(l,m,p);K5(l,m,p);var t=Gs(l.F);t=L(t,57);m.headers.host=Lsa(t).g;m.headers.origin=jq();L5(l,m,p);break;case 12:case 10:case 13:case 15:break;case 8:case 7:throw Error("Ed`"+m.X);default:throw Error("Dd`"+m.X);}l=h;m=l.uri.clone();ci(m,"");di(m,"");ei(m,null);h=f+"\r\n"+(l.method+" "+
m+" HTTP/1.1\r\n")+lq(h.headers)+"\r\n"+(h.body?h.body+"\r\n":"");g+="--"+d+"\r\n";g+=h}return g+("--"+d+"--\r\n")},M5={},H5=(M5[0]=1,M5[2]=3,M5),N5={},rQa=(N5[0]="POST",N5[2]="PUT",N5[12]="POST",N5),uQa={},vQa={},qQa=(vQa[2]=(uQa["x-goog-upload-protocol"]="batch",uQa),vQa),O5={},P5={},Q5={},wQa={},R5={},S5={},tQa=(S5[0]=(O5["content-type"]="application/http",O5["content-transfer-encoding"]="binary",O5),S5[13]=(P5["content-type"]="application/http",P5["content-transfer-encoding"]="binary",P5),S5[12]=
(Q5["content-type"]="application/http",Q5["content-transfer-encoding"]="binary",Q5),S5[2]=(wQa["content-type"]="application/http",wQa),S5[15]=(R5["content-type"]="application/http",R5["content-transfer-encoding"]="binary",R5),S5);var xQa=!1;typeof window!=="undefined"&&["beforeunload","pagehide","unload"].forEach(function(a){window.addEventListener(a,function(){xQa=!0})});
var T5=function(a,b,c,d,e,f,g,h,l,m){l=l===void 0?!1:l;if(!yQa(a))return null;if((m===void 0?0:m)&&Array.isArray(e)){var p=Nla(JSON.stringify(e));p=Rx(p).qa}else{let t;if((t=c["content-type"])==null?0:t.includes("application/json+protobuf"))try{let w=Og(LL,d);p=Rx(w).qa}catch(w){p=new wp}else p=zQa(e)||new wp}mO(p);h&&(e=p,h=gi(new bi(h)).toString(),D(e,19,h));Sw(p,15)||oO(p,a||f);L(p,3)||du(p,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+g,"isUnloading: "+
xQa,"text length: "+(d?d.length:0)].join(", "));L(p,4)||Ew(p,d);Tn(p,10)||(f===5?Bp(p,7):a!==0||d?a===403?Bp(p,22):a===503||a===429?Bp(p,24):(N(p,14),nO(p,1),mO(p)):l||Bp(p,2));p.df(mq(c));p.bf(nq(c));return p},U5=function(){return T5(0,"",{},"",void 0,-99)},zQa=function(a){if(!Vw(a))return null;var b=new wp,c=a.error;if(!c)return Ew(b,JSON.stringify(a)),null;oO(b,c.code);du(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=TAa[c];d?nO(b,d):c&&!d&&nO(b,2);(a=a.debugInfo)&&Ew(b,
a);return b},yQa=function(a){return a===200||a===204||a===308||a===206?!1:!0};var AQa=/^HTTP\/1\.1 (\d+) ([\w ]+)/,BQa=/^multipart\/mixed; boundary="?([^"]+)"?$/,CQa=function(a,b){this.M=b;this.J=a.da("sync.BatchParser")};
CQa.prototype.parse=function(a,b){var c;this.J.info("Parsing batch response for API "+((c=b[0])==null?void 0:c.X)+" for "+(b.length+" requests"));a.headers=kq(a.headers);if((c=BQa.exec(a.headers["content-type"]))&&c[1])c="--"+c[1];else{kC(this.M,106045);c="Headers: "+JSON.stringify(a.headers)+"\nResponse body head: "+a.text.substring(0,1024);var d;if(d=(d=/^--batch_([\w\d_\-]+)/.exec(a.text))?d[0]:null)c=Fw("Could not extract batch boundary from header, but successfully continued with boundary found in response body.",
14,c),Dk(c.message,c,"warning"),c=d;else throw Fw("Could not extract batch boundary from header or response body.",14,c);}c=(new DQa(a.text,this.J,this.M)).split(c);d=b.length===c.length;var e=[];for(let ja=0;ja<c.length;ja++){var f=e,g=f.push;a:{let Ja=void 0;var h=void 0;let Ma=void 0;var l=a.headers;var m=c[ja];var p=d?b[ja]:void 0,t=void 0,w=void 0;let Ib=m.split("\r\n\r\n");if(Ib.length<2){m=new G("Individual batch response contained too few parts.",Bp(Ew(new wp,m),17));break a}var A=Ib[1].split("\r\n");
if(w=AQa.exec(A[0]))t=w[1],isFinite(t)&&(t=String(t)),t=typeof t==="string"?/^\s*-?0x/i.test(t)?parseInt(t,16):parseInt(t,10):NaN,w=w[2];else{m=new G("Could not extract HTTP status code and text.",Bp(Ew(new wp,m),16));break a}A.shift();l=qh(l);var M=Object,da=M.assign;let Rb={};for(let Zb=0;Zb<A.length;Zb++){let Ue=osa(A[Zb]);Ue&&Ue.length===2&&(Rb[Ue[0].trim()]=Ue[1].trim())}A=kq(Rb);da.call(M,l,A);try{Ma=la(NA(Ib[2]))?void 0:JSON.parse(Ib[2])}catch(Zb){h=Zb instanceof Error?Zb.message:String(Zb),
h="JSON parsing failed. U:"+((p==null?0:p.uri)?gi(p.uri.clone()).toString():"unknown")+" M:"+(p==null?void 0:p.method)+" E:"+h}if(p=T5(t,w,l,m,Ma,void 0,void 0,p==null?void 0:(Ja=p.uri)==null?void 0:Ja.toString())){m=Ip(p);break a}m={headers:l,text:m,json:Ma||void 0};h&&(m.wl=h)}g.call(f,m)}return e};var DQa=function(a,b,c){this.g=a;this.J=b;this.M=c};
DQa.prototype.split=function(a){var b=a+"\r\n",c=0;try{c=EQa(this,b)}catch(f){if(b=(b=(new RegExp(a,"i")).exec(this.g))?b[0]:null)c=Fw("Found batch boundary in different case than header. Continuing with ad-hoc boundary.",15,"Expected boundary: "+a+"\nActual boundary: "+b),this.J.sd("Found batch boundary in different case than header. Continuing with ad-hoc boundary.",c),Dk(c.message,c,"warning"),kC(this.M,106044),a=b,b=a+"\r\n",c=EQa(this,b);else throw Ip(f,"findBatchStart exception with boundary: "+
a);}if(c>0&&!la(this.g.substring(0,c)))throw Fw("Response did not begin with batch boundary",15,"Boundary start index: "+c+"\n"+this.g.substring(0,c+1024));c+=b.length;var d=a+"--",e=this.g.lastIndexOf(d);if(e<0)throw b="Response length: "+this.g.length+"\ntotal batches: "+((this.g.match(new RegExp(a,"g"))||[]).length+"\nfinal boundary: ")+(d+"\nresponse tail:\n...")+this.g.slice(-1024),Fw("Could not locate final batch boundary in response",15,b);if(e<this.g.length-d.length&&!la(this.g.substring(e+
d.length)))throw b="Response length: "+this.g.length+"\ntotal batches: "+((this.g.match(new RegExp(a,"g"))||[]).length-1)+("boundary: "+d+"\nresponse tail:\n...")+this.g.substring(Math.min(e,this.g.length-1024)),Fw("Response did not terminate with batch end",15,b);return this.g.substring(c,e).split(b)};var EQa=function(a,b){var c=a.g.indexOf(b);if(c<0)throw Fw("Could not locate batch boundary in response",15,"boundary: "+b+("Response length: "+a.g.length+"\n"+a.g));return c};var FQa=[0,2,4,7,8,14];var V5=function(a,b,c,d,e){this.j=a;this.o=b;this.B=c;this.g=d;this.C=e;this.requests=new Map};V5.prototype.add=function(a,b){var c=b.config,d="DEFAULT";c.fd&&(d=pQa(this.j,a.X).toString());this.requests.has(d)||this.requests.set(d,[]);d=this.requests.get(d);if(d.length>=1&&!c.fd&&!H5[a.X])return a=du(new wp,"Unsupported batch API: "+a.X),Promise.reject(Ip(a));c=new us;d.push({request:a,ta:b,ea:c});return c.promise};
V5.prototype.send=function(){for(var a=this,b=q(this.requests.entries()),c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;let e=d.next().value;try{GQa(this,e)}catch(f){d=Ep(f);d=Ew(du(new wp,"Error executing XHR: "+d.message),d.stack);let g=Ip(d),h=g.message;e.forEach(function(l){var m=l.ta.R;g.message="send exception #entries:"+a.requests.size+(" #requests:"+e.length+" "+go(m))+(" "+Lo(m))+(" : "+h);l.ea.reject(g)});this.requests.delete(c)}}};
var GQa=function(a,b){if(b.length!==1)W5(a,b);else{var c=b[0],d=c.ta.config;if(d.Jh||d.fd)W5(a,b);else if(H5[c.request.X]){var e={X:c.request.X,headers:{},method:c.request.method,uri:c.request.uri.clone()};HQa(a.j,e,d);e.uri.toString().length>2E3?W5(a,b):IQa(a,c)}else IQa(a,c)}},IQa=function(a,b){var c;(c=a.g)==null||fPa(c);var d=b.ea;a.o.run(b.request,b.ta.config).then(function(e){JQa(a,b);d.resolve(e)},function(e){e=Ip(e);var f=b.ta.R;e.message="sendOne "+go(f)+(" "+Lo(f))+(" : "+e.message);a.handleError(e);
d.reject(e)})},W5=function(a,b){var c;(c=a.g)==null||fPa(c);var d=[],e=[];b.forEach(function(f){d.push(f.request);e.push(f.ta.config)});a.o.run(a.B.build(d,e),{Jh:!0,fd:e.every(function(f){return f.fd})}).then(function(f){return a.C.parse(f,d)}).catch(function(f){f=Ip(f);var g=b.length,h=[];for(let l=0;l<g;l++)h[l]=f;return h}).then(function(f){var g=!1;for(let h=0;h<b.length;h++){let l=b[h].ea,m=f[h];if(m instanceof G){g||(g=a.handleError(m));let p=b[h].ta.R;m.message="sendBatch #"+(h+1)+"/"+b.length+
(" "+go(p))+(" "+Lo(p))+(" : "+m.message);l.reject(m)}else l.resolve(m)}g||JQa(a,b[0])}).catch(function(f){Dk("sendBatch failed sending :"+b.length+" requests",Error("Cd",{cause:f}),"warning")})},JQa=function(a,b){var c=b.request.X;b=!b.ta.config.isAnonymous&&Ga(FQa,c);m5(a.g,!0);b&&n5(a.g,!0)};V5.prototype.handleError=function(a){a=Fp(a);if(a.g()===2){if(this.g)return m5(this.g,!1),!0}else{if(Jp(a))return m5(this.g,!0),n5(this.g,!1),!0;if(this.g)return m5(this.g,!0),!0}return!1};var X5=function(a,b,c,d,e,f,g){this.o=a;this.N=b;this.G=c;this.B=d;this.j=e;this.g=[];this.D=new CQa(f,g);this.C=new oQa(this.o)};X5.prototype.execute=function(a){if(this.j.j){let b=Promise.reject(Ip(U5()));return a.map(function(){return b})}return KQa(this,a)};X5.prototype.cancel=function(a){return this.B.cancel(a)};X5.prototype.dd=function(){return this.g.some(function(a){return Ro(a.R)})};
var KQa=function(a,b){var c=new V5(a.o,a.B,a.C,a.j,a.D),d=[],e=[];b=q(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;let g=a.N.convert(f.ta,f.responses);d.push(g);e.push(LQa(a,f,g,c))}Promise.allSettled(d).then(function(){c.send()});return e},LQa=async function(a,b,c,d){var e=b.ta;try{a.g.push(e);let f=await c,g=await d.add(f,b.ta);return a.G.convert(e.R,g,b.responses)}catch(f){return Promise.reject(Ip(f))}finally{a.Dd(e)}};X5.prototype.Dd=function(a){Ka(this.g,a)};var Y5=function(a,b,c,d,e,f){var g=this;this.D=a;this.C=b;this.j=c;this.B=d;this.o=e;this.g=[];e.every(function(h){return h.Rc});this.G=qea(function(h,l,m){return MQa(g,h,l,m)});this.J=f.da("DfeBatchExecutor")};Y5.prototype.execute=function(a){var b=this;if(this.B.j){let c=Promise.reject(Ip(U5()));return a.map(function(){return c})}return NQa(this,a).flatMap(function(c){return OQa(b,c)})};Y5.prototype.cancel=function(a){return this.j.cancel(a)};Y5.prototype.dd=function(){return this.g.some(function(a){return Ro(a.R)})};
var NQa=function(a,b){var c=[],d=a.o.find(function(f){return f.Na(b[0].ta.R)}),e=[b[0]];for(let f=1;f<b.length;f++){let g=b[f];d&&rea(e[0],g,d)?e.push(g):(c.push(e),e=[g],d=a.o.find(function(h){return h.Na(g.ta.R)}))}e.length>0&&c.push(e);return c},OQa=function(a,b){if(b.length===1){var c=b[0];return[PQa(a,c.ta,c.responses)]}a.J.info("Batching "+b.length+" "+go(b[0].ta.R)+" requests.");c={R:new Im(b.map(function(e){return e.ta.R})),config:b[0].ta.config};var d=b.map(function(){return new us});PQa(a,
c,b[0].responses).then(function(e){for(let f=0;f<e.length;f++){let g=e[f].result;Zs(g)?d[f].resolve(g.value):d[f].reject(g.reason)}}).catch(function(e){e=Ip(e,"Driveway executeBatch rejecting all "+b.length+" requests first:"+go(b[0].ta.R));for(var f=q(d),g=f.next();!g.done;g=f.next())g.value.reject(e)});return d.map(function(e){return e.promise})},PQa=async function(a,b,c){a.g.push(b);var d=a.D.convert(b,c);return a.G(b,c,await d)},MQa=async function(a,b,c,d){try{let e=await a.j.run(d,b.config);
return a.C.convert(b.R,e,c)}catch(e){return Promise.reject(Ip(e,"Driveway request:"+go(b.R)))}finally{a.Dd(b)}};Y5.prototype.Dd=function(a){Ka(this.g,a)};var Z5=function(a,b,c,d){this.C=a;this.B=b;this.o=c;this.g=d;this.j=[]};Z5.prototype.execute=function(a){if(this.g.j){let b=Promise.reject(Ip(U5()));return a.map(function(){return b})}return QQa(this,a)};Z5.prototype.cancel=function(a){return this.o.cancel(a)};Z5.prototype.dd=function(){return this.j.some(function(a){return Ro(a.R)})};
var QQa=function(a,b){return b.map(function(c){return RQa(a,c)})},RQa=async function(a,b){var c=b.ta;b=b.responses;a.j.push(c);try{let d=await a.C.convert(c,b),e=await a.o.run(d,c.config),f=await a.B.convert(c.R,e,b),g=d.X,h=!c.config.isAnonymous&&Ga(FQa,g);m5(a.g,!0);h&&n5(a.g,!0);return f}catch(d){let e=Ip(d);a.handleError(e);return Promise.reject(e)}finally{a.Dd(c)}};Z5.prototype.handleError=function(a){a=Fp(a);a.g()===2?m5(this.g,!1):Jp(a)?(m5(this.g,!0),n5(this.g,!1)):m5(this.g,!0)};
Z5.prototype.Dd=function(a){Ka(this.j,a)};var $5=new TD("rR9Zm","rR9Zm");var SQa=function(a,b,c){this.F=a;this.j=c;this.J=b.da("network.xhr.Decorator");b=Gs(a);b=Hl(b,8);this.g=TDa[b];a=Gs(a);a=Hl(a,51,5);this.o=TDa[a]},HQa=function(a,b,c){if(c.fd)L5(a,b,c),K5(a,b,c);else{var d={};if(b.X===11){if(c.Tl){let e=c.Ye||QM(Gs(a.F));d.key=e;Sm(d,b.uri)}L5(a,b,c);I5(a,b,c)}else switch(b.uri=J5(a,b.X,b.uri),b.X){case 1:I5(a,b,c);a6(a,b);L5(a,b,c);break;case 0:c.isAnonymous||Nt(dq(a.F))||Q(a.F,83)&&Sm({dsNonce:$h()},b.uri);I5(a,b,c);a6(a,b);K5(a,b,c);L5(a,b,c);break;case 2:case 3:case 4:case 5:I5(a,
b,c);a6(a,b);K5(a,b,c);L5(a,b,c);break;case 8:case 10:case 13:case 12:case 7:case 15:I5(a,b,c);K5(a,b,c);break;case 14:I5(a,b,c);K5(a,b,c);c.gk=!0;break;default:throw Error("Dd`"+b.X);}}},pQa=function(a,b){var c=J5(a,b,new bi);if(!c.g)throw Error("Fd");return fi(ei(di(ci(new bi,c.j),c.g),c.o),TQa.has(b)?"/batch"+a.g:"/batch")},J5=function(a,b,c){var d=Gs(a.F);d=L(d,57);switch(b){case 0:a=d+a.g;break;case 1:a=d+"/batch"+a.g;break;case 2:a=d+"/upload"+a.g;break;case 3:a=d+"/upload"+a.g+"/batch";break;
case 4:return c;case 5:a=d+a.o;break;case 7:a=Gs(a.F);a=x(a,62);break;case 8:a=Gs(a.F);a=L(a,53);break;case 10:a=Gs(a.F);a=L(a,22);break;case 13:a=Gs(a.F);a=L(a,55);break;case 12:a=Gs(a.F);a=L(a,43);break;case 14:if(c.j)return c;a=Gs(a.F);a=x(a,66);break;case 15:a=Gs(a.F);a=x(a,69);break;default:throw Error("Dd`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new bi(a);c.startsWith("/")&&(c=c.slice(1));return new bi(a+"/"+c)},I5=function(a,b,c){a=dq(a.F);c=Iw(a,c.isAnonymous);
c=q(Object.entries(c));for(a=c.next();!a.done;a=c.next()){var d=q(a.value);a=d.next().value;d=d.next().value;b.headers[a]=d}},a6=function(a,b){if("origin"in b.headers)a.J.info("origin header already present");else if("x-origin"in b.headers)a.J.info("x-origin header already present");else{var c=jq();Rh(b.uri.toString(),c)&&(a.J.info("Adding x-origin header"),b.headers["x-origin"]=c)}},L5=function(a,b,c){var d=dq(a.F),e=Gs(a.F),f=c.jk||!!L(e,13);c=c.kk||Q(e,14);var g=b.X===11;if(f){f=L(e,13);var h=
{};f&&f.startsWith("email:")?h.trace=f:f&&f==="trace:true"?h.$trace="true":h.trace=f?"token:"+f:"email:"+x(d,3).replace(/(@|\+).*$/,"");g||(h["trace.deb"]="genoa:3:all,driveService:3:all"+(PM(e)===2?"":",cospel:3:all,DriveService:3:all"));Sm(h,b.uri)}if(c&&!g&&a.j&&(d=a.j,a=b.headers,e=b.method,c=b.uri.toString(),d.g&&(g=d.g,!a["X-Google-DapperTraceInfo"]))){b=new jQ;N(b,1,$c(jc(globalThis.BigInt.asUintN(64,globalThis.BigInt(g.g)))));h=$h().substring(0,8);g=bD(h);f=new sN;f=D(f,1,h);f=D(f,2,g);e=
D(f,3,e);e=D(e,4,c);d.oi.push(e);N(b,2,$c(globalThis.BigInt.asUintN(64,globalThis.BigInt(g)).toString()));N(b,4,$c("3472328296227680304"));if(!Bc(41))throw ob("uint32");N(b,3,41);d=String.fromCharCode.apply(String,r(b.g()));a["X-Google-DapperTraceInfo"]=n.btoa(d)}},K5=function(a,b,c){c.isAnonymous||Nt(dq(a.F))?(a=Gs(a.F),a=x(a,36)):a=c.Ye||QM(Gs(a.F));Sm({key:a},b.uri)},TQa=new Set([0,1,2,3]);var UQa=!1,b6=function(a,b,c){b=Error.call(this,b,c);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.status=a;this.cause=c==null?void 0:c.cause;Object.setPrototypeOf(this,b6.prototype)};U(b6,Error);var c6=function(a,b,c,d,e){this.Qc=a;this.F=b;this.g=c;this.M=d;this.isFirstRequest=!0;this.J=e.da("network.routing.executor.wasm.WasmCloudStoreExecutor");this.j=VQa(this,this.F);this.j.catch(function(){})};
c6.prototype.execute=function(a){if(!Yl(this.F,2))return this.g.execute(a);var b=Array(a.length),c=[];a=q(a.entries());for(var d=a.next();!d.done;d=a.next()){var e=q(d.value);d=e.next().value;e=e.next().value;let f=e.ta.R;Yl(this.F,3)&&f instanceof Ko?b[d]=WQa(this,e,f):c.push({mt:d,transaction:e})}c.length>0&&this.g.execute(c.map(function(f){return f.transaction})).forEach(function(f,g){b[c[g].mt]=f});return b};
var WQa=function(a,b,c){c=XQa(a,c).catch(function(d){a.J.Da("Wasm ListWorkspaces failed (threw). Falling back.",d instanceof Error?d:void 0);return null});b=YQa(a,b).catch(function(d){a.J.Da("Fallback failed in dark launch.",d instanceof Error?d:void 0);return null});return Promise.all([c,b]).then(function(d){var e=q(d);d=e.next().value;e=e.next().value;if(!d){if(e)return e;throw Error("Gd");}if(!e)throw Error("Hd");var f=d.na();if(f&&f!==1)return a.J.Da("Wasm ListWorkspaces returned non-success status: "+
f+". Falling back."),e;f=new Set(BP(d).map(function(h){return h.K()}));if(!Lk(zA)(e))throw Error("Id");var g=new Set(BP(e).map(function(h){return h.K()}));return ZQa(f,g)?d:(a.J.Da("Wasm and fallback returned different workspace IDs. Falling back."),e)})},XQa=async function(a,b){b.pageToken&&D(b.request,8,b.pageToken);return await $Qa(a,function(){return Ppa(b.request)},function(c){return Qpa(c)},function(c,d){return new Promise(function(e){c.listWorkspaces(d,e)})})},YQa=async function(a,b){var c=
cw(a.M,106051);try{let f=await a.g.execute([b])[0];let g,h,l,m,p;var d=(p=(m=(g=f.na)==null?void 0:g.call(f))!=null?m:(h=f.response)==null?void 0:(l=h.na)==null?void 0:l.call(h))!=null?p:null;let t=c==null?void 0:B3(ew(c));if(t!=null){var e=t.Gb(12).setStatus(fw(d));H(e,7,2)}d==null||t!=null&&H(t,8,d);c==null||lZ(c);return f}catch(f){throw c!=null&&(a=B3(ew(c)).Gb(12).setStatus(fw(3)),a=H(a,8,3),H(a,7,2)),c==null||lZ(c),f;}},$Qa=async function(a,b,c,d){var e=Date.now(),f=await a.j,g=Date.now()-e;
e=cw(a.M,106051);try{let w=Date.now(),A=b(),M=Date.now()-w,da=await d(f,A),ja=Date.now(),Ja;try{Ja=c(new Uint8Array(da))}catch(Zb){throw new b6(77,"Deserialization failed",{cause:Zb});}let Ma=Date.now()-ja,Ib=Ja.na(),Rb=e==null?void 0:B3(ew(e));if(Rb!=null){var h=Rb.Gb(12).setStatus(fw(Ib!=null?Ib:null));var l=Vr(h,3,g);var m=Vr(l,4,M);var p=Vr(m,5,Ma);var t=I(p,6,a.isFirstRequest);H(t,7,1)}Ib==null||Rb!=null&&H(Rb,8,Ib);a.isFirstRequest=!1;e==null||lZ(e);return Ja}catch(w){throw b=w instanceof b6?
w.status:3,e!=null&&(a=B3(ew(e)).Gb(12).setStatus(fw(b)),a=H(a,8,b),H(a,7,1)),e==null||lZ(e),e=Ip(w instanceof b6&&w.cause?w.cause:w),Dk("WASM module execution failure",e,"warning"),w;}};c6.prototype.cancel=function(a){return this.g.cancel(a)};c6.prototype.dd=function(){return this.g.dd()};
var VQa=async function(a,b){var c=null;UQa||(UQa=!0,c=cw(a.M,106052));try{let d=await Promise.resolve(aRa(a.Qc)[$5]),e=d.Lt,f;(f=c)==null||ILa(C3(ew(f)).setStatus(fw(1)),d.ls);let g=new e.WasmCloudStore(function(){var p=new gna;var t;var w=new ena;var A=((t=O(b,NB,33))==null?void 0:x(t,66))+"/v1";w=D(w,1,A);var M;t=(new NM).setApiKey((M=O(b,NB,33))==null?void 0:QM(M));M=Iw(dq(b));var da;if((da=LD(b))==null?0:aw(da)){var ja;da=(ja=LD(b))==null?void 0:x(ja,7);Ij(t,1,OM,dd(da))}else Ij(t,2,OM,dd(M.authorization));
M["x-goog-authuser"]&&D(t,4,M["x-goog-authuser"]);C(b,62)&&(ja=C(b,62),D(p,4,ja));p=K(p,1,w);p=K(p,2,t);return hna(p)}),h,l=(h=e.getMemoryInfo)==null?void 0:h.call(e);if(l){let p;(p=c)==null||xLa(wLa(vLa(uLa(yLa(JLa(C3(ew(p))),l.totalMemory),l.arena),l.hblkhd),l.fordblks),l.uordblks)}let m;(m=c)==null||lZ(m);return g}catch(d){let e;(e=c)==null||C3(ew(e)).setStatus(fw(3));let f;(f=c)==null||lZ(f);a=Ip(d);Dk("WASM module load failure",a,"warning");throw d;}},ZQa=function(a,b){if(a.size!==b.size)return!1;
a=q(a);for(var c=a.next();!c.done;c=a.next())if(!b.has(c.value))return!1;return!0};var bRa=function(a){this.ob=a},d6=function(a,b){b.then(function(){if(a.ob){var c=W_(a.ob);VF(c,5,0)}var d;(d=a.ob)==null||lZ(d)},function(c){if(a.ob){var d=Ip(c).qa;c=d.fe();d=$t(d,26);let f=W_(a.ob);c&&VF(f,4,c);d&&VF(f,5,d);c||d||VF(f,5,2)}var e;(e=a.ob)==null||lZ(e)})};var cRa=function(a){this.M=a},e6=function(a,b,c,d){var e=c.Aa,f=c.requestType;c=c.Fg;var g;if(a=(g=cw(a.M,106041))!=null?g:void 0)d=Y_(X_(W_(a).Gb(f),d),NZ(e)),c&&(b=c(b),J(d,7,b));return new bRa(a)};var f6=function(a){this.g=a};f6.prototype.lm=function(a){return this.g.lm(a)};f6.prototype.intercept=function(a,b,c){return this.g.intercept(a,b,c)};f6.prototype.getName=function(){return this.g.getName()};var g6=function(a,b,c){this.g=a;this.J=b.da(Qm("network.routing.interceptor.MigrationInterceptor [%s]",c))};U(g6,f6);g6.prototype.intercept=function(a,b,c){var d=this.J,e=d.info,f=this.g.Aa,g="";switch(f){case 1:g="FULL";break;case 2:g="DARK";break;case 3:g="FBCK";break;case 0:g="UNKN";break;default:vc(f)}e.call(d,"DRIVE -> DFE "+g+")");return f6.prototype.intercept.call(this,a,b,c)};var h6=function(a,b){this.g=a;this.M=b};h6.prototype.lm=function(a){return this.g.Na(a)};h6.prototype.getName=function(){return this.g.Ra};var i6=function(a,b,c){a.g.I(b).Gb(iq(a.Aa));c=Object.assign({},c,{hb:14});a.Aa===2&&(c.criticality="CgIIAA==");return[b,c]},j6=function(a,b,c,d){a=e6(a.M,c,a.g,d.hb===14?2:1);b=b.route(c,d);d6(a,b);return b};var k6=function(a,b){h6.call(this,a,b);this.Aa=1};U(k6,h6);k6.prototype.intercept=function(a,b,c){c=q(i6(this,b,c));b=c.next().value;c=c.next().value;return j6(this,a,b,c)};var l6=function(a,b){h6.call(this,a,b);this.Aa=3};U(l6,h6);l6.prototype.intercept=function(a,b,c){var d=this,e=this.g.clone(b),f=q(i6(this,b,c));b=f.next().value;f=f.next().value;f.We=!0;var g=e6(this.M,b,this.g,f.hb===14?2:1);b=a.route(b,f);d6(g,b);return b.then(function(h){return d.g.Vg(h)?(fu(d.M.M,424848106),dRa(d,a,g,e,c)):h},function(){return dRa(d,a,g,e,c)})};
var dRa=function(a,b,c,d,e){var f=q([d,e||{}]);e=f.next().value;f=f.next().value;d=a.g.I(d);I(d,14,!0);a=e6(a.M,e,a.g,f.hb===14?2:1);a.ob&&c.ob&&Z_(a.ob,c.ob);b=b.route(e,f);d6(a,b);return b};var m6=function(a,b){h6.call(this,a,b);this.Aa=2};U(m6,h6);m6.prototype.intercept=function(a,b,c){var d=this.g.clone(b),e=q([b,c||{}]);b=e.next().value;e=e.next().value;d=q(i6(this,d,c));c=d.next().value;d=d.next().value;b=j6(this,a,b,e);j6(this,a,c,d).then(null,function(){});return b};var n6=function(a,b){h6.call(this,a,b);this.Aa=2;this.j=new Map};U(n6,h6);
n6.prototype.intercept=function(a,b,c){var d=this,e=this.g.clone(b),f=q([b,c||{}]);b=f.next().value;f=f.next().value;var g=eRa(this,e,c).then(function(h){var l=q(h);h=l.next().value;l=l.next().value;return h?j6(d,a,h,l).catch(function(){}):Promise.resolve(void 0)});c=j6(this,a,b,f);c.then(function(h){(h=h.Bb())&&d.j.set(h,g)});return c};
var eRa=function(a,b,c){b=q(i6(a,b,c));var d=b.next().value,e=b.next().value;b=d.Bb();if(!b)return Promise.resolve([d,e]);if(!a.j.has(b))return Promise.resolve([void 0,e]);c=a.j.get(b);a.j.delete(b);return c.then(function(f){f=f==null?void 0:f.Bb();if(!f)return[void 0,e];D(d,2,f);return[d,e]})};var o6=function(a,b){h6.call(this,a,b);this.Aa=0};U(o6,h6);o6.prototype.intercept=function(a,b,c){c=q([b,c||{}]);b=c.next().value;c=c.next().value;return j6(this,a,b,c)};var fRa=function(a,b){this.P=a;this.M=new cRa(b);this.J=a.da("network.routing.interceptor.v2.driveway.factory.InterceptorFactory")},gRa=function(a,b){var c=[];b=q(b);for(var d=b.next();!d.done;d=b.next()){var e=c,f=e.push;let h=void 0;var g=a;d=d.value;let l=d.Aa;switch(l){case 0:h=new o6(d,g.M);break;case 2:d.requestType===1?h=new n6(d,g.M):h=new m6(d,g.M);break;case 1:h=new k6(d,g.M);break;case 3:h=new l6(d,g.M);break;default:vc(l)}g=new g6(h,g.P,d.Ra);f.call(e,g)}return c};var hRa=ec(Fo,Io);var iRa=Ub(function(a){return E(a,15)===!0}),XA=Ub(function(a){return po(a)&&iRa(a)});var jRa=Ub(function(a){return E(a,15)===!1}),ZA=Ub(function(a){return po(a)&&jRa(a)});var kRa=Ub(function(a){return P(a,15)}),lRa=Ub(function(a){return po(a)&&fc(kRa)(a)});var p6=Ub(function(a){return!!C(a,12)}),sB=Ub(function(a){return a.Oc()==="application/vnd.google-apps.shortcut"}),tB=Ub(function(a){return a.Oc()==="application/vnd.google-apps.folder"}),mRa=Ub(function(a){return!sB(a)&&!tB(a)}),nRa=Ub(function(a){return en(a)&&!p6(a)&&mRa(a)}),oRa=Ub(function(a){return en(a)&&!p6(a)&&sB(a)}),pRa=Ub(function(a){return en(a)&&!p6(a)&&tB(a)}),qRa=Ub(function(a){return!Fs(a)||a.na()!==1});var rRa=Ub(function(a){return!Fs(a)||a.na()!==1});var sRa=Ub(function(a){return a instanceof Ao&&!cn(a.request)}),tRa=Ub(function(a){return a instanceof Eo&&!cn(a.hd)}),uRa=Ub(function(a){return!Fs(a)||a.na()!==1});var vRa=Ub(function(a){a=a.V();return ZZ(a)}),wRa=Ub(function(a){return On(a)&&fc(vRa)(a)});var sea=[function(a){var b;return{Aa:((b=Xl(a))==null?0:Q(b,89))?1:0,Na:an,clone:function(c){return c.clone()},Ra:"[ITEMS.ADMIN_MIGRATE_TO_TEAM_DRIVE]",I:function(c){return zB(c,R,5)},requestType:62,Rc:!0,Ql:function(c,d){return C(c,2)===C(d,2)&&C(c,4)===C(d,4)}}},function(a){return{Aa:uea(a),Na:Sn,clone:function(b){return b.clone()},Ra:"[APPS.LIST]",I:function(b){return zB(b,R,2)},requestType:45}},function(a){return{Aa:$l(Ela(WC(a)),Dla(WC(a))),Na:io,clone:function(b){return b.clone()},Ra:"[CHANGES.STARTPAGETOKEN]",
I:function(b){return zB(b,R,1)},requestType:30}},function(a){var b,c,d,e;return{Aa:$l((d=(b=Xl(a))==null?void 0:Q(b,10))!=null?d:!1,(e=(c=Xl(a))==null?void 0:Q(c,9))!=null?e:!1),Na:co,clone:function(f){return f.clone()},Ra:"[CHANGES.REMAININGCHANGES]",I:function(f){return zB(f,R,1)},requestType:29}},function(a){var b,c,d,e;return{Aa:$l((d=(b=Xl(a))==null?void 0:Q(b,7))!=null?d:!1,(e=(c=Xl(a))==null?void 0:Q(c,6))!=null?e:!1),Na:Un,clone:function(f){return f.clone()},Ra:"[CHANGES.LIST]",I:function(f){return zB(f,
R,6)},requestType:28}},function(a){var b;return{Aa:((b=Xl(a))==null?0:Q(b,85))?1:0,Na:gn,clone:function(c){return c.clone()},Ra:"[APP.DELETE]",I:function(c){return zB(c,R,3)},requestType:60}},function(){return{Aa:1,Na:pn,clone:function(a){return a.clone()},Ra:"[USER_SETTINGS.DELETE]",I:function(a){return zB(a,R,2)},requestType:38}},function(){return{Aa:1,Na:Vb(wo),clone:function(a){return new wo(a.request.clone())},Ra:"[DRIVES.CREATE]",I:function(a){return zB(a.request,R,2)},requestType:25}},function(){return{Aa:1,
Na:ln,clone:function(a){return a.clone()},Ra:"[DRIVES.DELETE]",I:function(a){return zB(a,R,2)},requestType:26}},function(a){var b,c;return{Aa:Jw((c=(b=JD(a))==null?void 0:Hl(b,61))!=null?c:0),clone:function(d){return d.clone()},Na:hRa,Ra:"[DRIVES.GET]",I:function(d){return d.Ji()},requestType:10,Fg:function(d){return Fo(d)?d.xa().length:1}}},function(){return{Aa:1,Na:XA,clone:function(a){return a.clone()},Ra:"[DRIVES.HIDE]",I:function(a){return zB(a,R,4)},requestType:32,Rc:!0}},function(a){var b,
c;return{Aa:Jw((c=(b=JD(a))==null?void 0:Hl(b,68))!=null?c:0),clone:function(d){return d.clone()},Na:Ho,Ra:"[DRIVES.LIST]",I:function(d){ds(d,GN,3);d=d.V();return zB(d,R,2)},requestType:2,Fg:function(d){var e,f;return(f=(e=d.V())==null?void 0:e.La())!=null?f:0}}},function(){return{Aa:1,Na:ZA,clone:function(a){return a.clone()},Ra:"[DRIVES.UNHIDE]",I:function(a){return zB(a,R,4)},requestType:33,Rc:!0}},function(a){var b;return{Aa:((b=Xl(a))==null?0:Q(b,13))?1:0,Na:lRa,clone:function(c){return c.clone()},
Ra:"[DRIVES.UPDATE]",I:function(c){return zB(c,R,4)},requestType:31}},function(){return{Aa:1,Na:sn,clone:function(a){return a.clone()},Ra:"[EMPTYTRASH]",I:function(a){a=zB(a,JO,1);return zB(a,R,1)},requestType:27}},function(a){return{Aa:vea(a),Na:zo,clone:function(b){return b.clone()},Ra:"[ITEMS.GENERATE_CSE_TOKEN]",I:function(b){return zB(b,R,4)},requestType:59,Rc:!1}},function(a){var b=!!Fla(WC(a));a=!!HL(WC(a));return{Aa:am(b,!1,!a),Na:nRa,clone:function(c){return c.clone()},Ra:"[ITEMS.CREATE_FILES]",
requestType:35,I:function(c){return c.gg()},Vg:qRa}},function(a){var b=!!Hla(WC(a));a=!!HL(WC(a));return{Aa:am(b,!1,!a),Na:pRa,clone:function(c){return c.clone()},Ra:"[ITEMS.CREATE_FOLDERS]",requestType:35,I:function(c){return c.gg()},Vg:function(){return!1}}},function(a){var b=!!Gla(WC(a));a=!!HL(WC(a));return{Aa:am(b,!1,!a),Na:oRa,clone:function(c){return c.clone()},Ra:"[ITEMS.CREATE_SHORTCUTS]",requestType:35,I:function(c){return c.gg()},Vg:qRa}},function(){return{Aa:1,Na:hn,clone:function(a){return a.clone()},
Ra:"[ITEMS.DELETE]",I:function(a){return zB(a,R,3)},requestType:34,Rc:!0}},function(a){var b,c;return{Aa:Jw((c=(b=JD(a))==null?void 0:Hl(b,60))!=null?c:0),clone:function(d){return d.clone()},Na:wRa,Ra:"[ITEMS.LIST]",I:function(d){d=d.V();return zB(d,R,30)},requestType:1,Fg:function(d){return d.V().La()}}},function(a){var b=!!Jla(WC(a));a=!!Kla(WC(a));return{Aa:am(b,!1,!a),Na:sRa,clone:function(c){var d;return new Ao(c.request.clone(),c.file,c.Rd,(d=c.metadata)==null?void 0:d.clone())},Ra:"[ITEMS.UPLOAD_MULTIPART]",
requestType:47,I:function(c){return c.request.gg()},Vg:uRa}},function(a){var b=!!Jla(WC(a));a=!!Kla(WC(a));return{Aa:am(b,!1,!a),Na:tRa,clone:function(c){return c.clone()},Ra:"[ITEMS.UPLOAD_RESUMABLE]",requestType:49,I:function(c){return c.hd.gg()},Vg:uRa}},function(a){var b=!!VC(WC(a));a=!!XC(WC(a));return{Aa:am(b,!1,!a),Na:no,clone:function(c){return c.clone()},Ra:"ITEMS.UPDATE",requestType:39,I:function(c){return zB(c,R,17)},Vg:rRa,Rc:!0}},function(a){var b;return{Aa:((b=Xl(a))==null?0:Q(b,88))?
1:0,Na:Xn,clone:function(c){return c.clone()},Ra:"[ITEMS.MIGRATE_TO_DRIVE]",I:function(c){return zB(c,R,5)},requestType:61,Rc:!0,Ql:function(c,d){return C(c,2)===C(d,2)&&C(c,4)===C(d,4)}}},function(a){return{Aa:wea(a),Na:Vb(Go),clone:function(b){return new Go(b.request.clone(),b.pageToken)},Ra:"[MIGRATE_TO_DRIVE_PREFLIGHT]",I:function(){return new R},requestType:54}},function(){return{Aa:1,Na:bo,clone:function(a){return a.clone()},Ra:"[ITEMS.PUBLISH_ACTIVITY_EVENT]",I:function(){return new R},requestType:46,
Rc:!1}},function(){return{Aa:1,Na:jP,clone:function(a){return a.clone()},Ra:"[ITEMS.REPORT_SPAM_OR_ABUSE]",I:function(a){return zB(a,R,2)},requestType:43,Rc:!1}},function(){return{Aa:1,Na:kn,clone:function(a){return a.clone()},Ra:"[ITEMS.REVISION_DELETE]",I:function(a){return zB(a,R,3)},requestType:48,Rc:!1}},function(){return{Aa:1,Na:oo,clone:function(a){return a.clone()},Ra:"[ITEMS.REVISION_UPDATE]",I:function(a){return zB(a,R,4)},requestType:53,Rc:!1}},function(){return{Aa:1,Na:Wn,clone:function(a){return a.clone()},
Ra:"[ITEMS.REVISIONS_LIST]",I:function(a){return zB(a,R,2)},requestType:55,Rc:!1}},function(a){var b;a=!!(a==null?0:(b=Xl(a))==null?0:E(b,52));return{Aa:Jw(am(a,!1,!0)),Na:mo,clone:function(c){return c.clone()},Ra:"FILES.UPDATE_CATEGORY_METADATA",requestType:58,I:function(c){return zB(c,R,3)},Rc:!1}},function(){return{Aa:1,Na:ro,clone:function(a){return a.clone()},Ra:"[USER_SETTINGS.UPDATE]",I:function(a){return zB(a,R,2)},requestType:37}},function(a){return{Aa:Lw(a),Na:fn,clone:function(b){return b.clone()},
Ra:"[WORKSPACES.CREATE]",I:function(b){return zB(b,R,2)},requestType:36}},function(a){return{Aa:Lw(a),Na:qn,clone:function(b){return b.clone()},Ra:"[WORKSPACES.DELETE]",I:function(b){return zB(b,R,3)},requestType:41}},function(a){return{Aa:Kw(a),Na:to,clone:function(b){return b.clone()},Ra:"[WORKSPACES.GET]",I:function(b){return zB(b,R,2)},requestType:13}},function(a){return{Aa:Kw(a),Na:Vb(Ko),clone:function(b){return new Ko(b.request.clone(),b.pageToken)},Ra:"[WORKSPACES.LIST]",I:function(b){return zB(b.request,
R,3)},requestType:12}},function(a){return{Aa:Lw(a),Na:so,clone:function(b){return b.clone()},Ra:"[WORKSPACES.UPDATE]",I:function(b){return zB(b,R,5)},requestType:40}}];var q6=function(a){this.g=a};q6.prototype.route=function(a,b){return this.g.route(a,b)};q6.prototype.cancel=function(a){return this.g.cancel(a)};var r6=function(a){this.g=a};U(r6,q6);r6.prototype.j=async function(a,b){var c=[],d=[];a=q(a);for(var e=a.next();!e.done;e=a.next())e=e.value,c.push(e.requestId),d.push(this.g.route(e.request,b));return(await Promise.allSettled(d)).map(function(f,g){return{id:c[g],result:f}})};var s6=function(a,b){this.g=a;this.j=b};U(s6,q6);s6.prototype.route=function(a,b){var c=this,d=a instanceof FN||a instanceof IN||a instanceof xN||a instanceof EN||a instanceof zN||a instanceof wN||a instanceof yN||a instanceof AN&&Ro(a)?j_(this.j,a):void 0;a=q6.prototype.route.call(this,a,b);a.then(function(e){if(d){let f=c.Sa(e);c.j.qg(d,f)}return e}).catch(function(){});return a};s6.prototype.Sa=function(a){var b;Es(a)?b=zB(a,ty,1).Sa():b=a.Sa?a.Sa():[];return b};var t6=function(a,b){this.g=a;this.o=b};U(t6,r6);t6.prototype.route=async function(a,b){try{await this.o.execute(this,a,b!=null?b:{})}catch(c){return b=Ip(c),Mw(a,b),Promise.reject(b)}return r6.prototype.route.call(this,a,b)};t6.prototype.j=async function(a,b){var c=this;try{await Promise.all(a.map(function(d){return c.o.execute(c,d.request,b!=null?b:{})}))}catch(d){let e=Ip(d);Mw(a[0].request,e);return Promise.reject(e)}return r6.prototype.j.call(this,a,b)};var u6=function(a,b,c,d){this.g=a;this.j=b;this.o=c;this.B=d};U(u6,q6);u6.prototype.route=function(a,b){var c=this;b=q6.prototype.route.call(this,a,b);Ro(a)&&b.catch(function(){}).finally(function(){var e=c.j;e.j()||(e.g&&(e.g.resolve(),e.g=null),e.o())});var d=this.o.apply(a,b);b.then(function(e){c.B.apply(a,e)}).catch(function(){});return d};var v6=function(a,b){b=b===void 0?[]:b;this.g=a;this.j=b};U(v6,q6);v6.prototype.route=function(a,b){if(this.j.length>0)for(var c=q(this.j),d=c.next();!d.done;d=c.next()){d=d.value;try{var e=d.lm(a)}catch(f){e=Ip(f),Dk(d.getName()+": "+e.message,e,"warning"),e=!1}if(e)return d.intercept(this.g,a,b)}return q6.prototype.route.call(this,a,b)};v6.prototype.og=function(a){this.j.push(a);return this};var w6=function(a,b,c){this.g=a;this.j=b;this.M=c};U(w6,q6);w6.prototype.route=function(a,b){if(!this.j.g){if(b=jZ(this.M,106018)){var c=xRa(b);c=H(c,1,1);Vr(c,2,231455246);c=a;c instanceof FN&&(c=c.V()||c);(c=CCa(c)?c:null)&&FCa(b,c);lZ(b)}return Promise.reject(new G("Cannot route "+go(a)+": Sync Client is not running."))}return q6.prototype.route.call(this,a,b)};var x6=function(a,b){this.g=this.g=a;this.j=b};U(x6,q6);x6.prototype.route=function(a,b){a=this.j.translate(a);var c;Cp(a)?c=Promise.reject(Ip(a)):c=Array.isArray(a)?this.g.j(a,b):q6.prototype.route.call(this,a,b);return c};var y6=function(a,b){this.g=a;this.j=b};U(y6,q6);y6.prototype.route=function(a,b){var c=this.j.validate(a);return c?Promise.reject(Ip(c)):q6.prototype.route.call(this,a,b)};var z6=function(a){this.g=a};
z6.prototype.route=function(a,b){b=b===void 0?{}:b;var c=b;var d=!1;if(tn(a)){let e;d=!((e=O(a,xB,2))==null||!E(e,7))}else On(a)&&(d=a.V(),d=!(d==null||!E(d,46)));(a instanceof Jo||mpa(a)&&E(a,9))&&this.g[1]?c=this.g[1]:a instanceof Eo&&this.g[5]?c=this.g[5]:a instanceof Ao&&this.g[10]?c=this.g[10]:Po(xBa)(a)&&this.g[8]?c=this.g[8]:d&&tn(a)&&this.g[6]?c=this.g[6]:(!d&&(d=c.hb===14?!1:!0)&&(d=Po(yBa)(a)),c=d&&this.g[3]?this.g[3]:c.hb!==14&&Qo(a)&&this.g[4]?this.g[4]:Qo(a)&&this.g[9]?this.g[9]:this.g[2]||
this.g[1]);if(!c)return a=Bp(du(new wp,"Failed to choose a queue for server request."),18),Promise.reject(Ip(a));c===this.g[8]&&(b.fd=!0);return c.add({R:a,config:b})};z6.prototype.cancel=function(a){return kh(this.g,function(b){return b.cancel(a)})};var yRa=function(a){this.g=new z6(a)},zRa=function(a,b){a.g=new t6(a.g,b);return a},ARa=function(a,b,c,d){a.g=new u6(a.g,b,c,d);return a},BRa=function(a,b){a.g=new v6(a.g,b);return a},CRa=function(a,b){a.g=new x6(a.g,b);return a},DRa=function(a,b){a.g=new y6(a.g,b);return a},ERa=function(a,b){a.g=new s6(a.g,b);return a};yRa.prototype.build=function(){return this.g};var A6=function(){bj.apply(this,arguments)};U(A6,bj);A6.prototype.ra=function(){return bj.prototype.ra.call(this).replace(/^[\s\xa0]+/,"")};var B6=function(a,b){this.C=a;this.B=b;this.o={};this.j={};this.g={}};
B6.prototype.run=function(a,b){var c=this;try{HQa(this.C,a,b);let d=new A6;d.T=!0;let e=b.requestId||"",f=new us;d.listen("complete",function(){c.Dd(d,f,e,b,a,b.Jh,a.X===4)});b.Sl&&(this.g[e]=0,d.listen("readystatechange",function(){if(lS(d)===3&&mS(d)&&d.S()===200){let g=nS(d),h=c.g[e];if(g.length>h){let l=g.substring(h);c.g[e]=g.length;b.Sl(l,h,g.length,!1)}}}));e&&b.ye&&!b.fd&&(this.o[e]=d,this.j[e]=b,d.kc=!0,d.listen("uploadprogress",function(g){g.lengthComputable&&c.B.notify([b.ye],b.on?g.loaded/
g.total:g.loaded/g.total/2)}),b.on||d.listen("downloadprogress",function(g){g.lengthComputable&&c.B.notify([b.ye],g.loaded/g.total/2+.5)}));d.send(a.uri,a.method,a.body,a.headers);return f.promise}catch(d){return Promise.reject(Ip(d))}};B6.prototype.cancel=function(a){var b=this.o[a];a=this.j[a];return b&&b.isActive()?(a.We=!0,b.abort(),!0):!1};
B6.prototype.Dd=function(a,b,c,d,e,f,g){f=f===void 0?!1:f;g=g===void 0?!1:g;var h={headers:oS(a),Nr:a.S(),text:nS(a)};if((!d.gk||yQa(a.S()))&&!f)try{if(a.g)b:{var l=a.g.responseText;if(n.JSON)try{var m=n.JSON.parse(l);break b}catch(t){}m=bsa(l)}else m=void 0;var p=m;h.json=p}catch(t){f=t instanceof Error?t.message:String(t),p=e.uri?gi(e.uri.clone()).toString():"unknown",h.wl="JSON parsing failed. U:"+p+" M:"+e.method+" E:"+f}e=T5(a.S(),vsa(a),h.headers,h.text,h.json,a.o,pS(a),String(a.L),g,d.Xl);
a.dispose();e?b.reject(Ip(e)):d.Sl?(a=h.text,h=this.g[c],d.Sl(a.substring(h),h,a.length,!0),b.resolve({headers:{},text:""})):b.resolve(h);c&&(delete this.o[c],delete this.j[c],delete this.g[c])};var C6=function(a,b,c){this.j=a;this.g=b;this.xf=c},IRa=function(a,b,c){if(EC(b).length){let h=k4(a.ha(),b.Ea());if(h){let l=h?gNa(a.ha(),b):[];var d=q(EC(b));for(var e=d.next();!e.done;e=d.next()){let m=e.value,p=FRa(l,L(m,1),b.Ea());if(Um(m,3))fNa(a.ha(),p),c.catch(function(){}).finally(function(){var t=a.ha().Hb,w=D0(p);t.g.delete(w)});else{e=q(z(m,FC,2,B()));for(var f=e.next();!f.done;f=e.next())GRa(a,p,f.value);e=q(F(m,4,B()));for(f=e.next();!f.done;f=e.next())HRa(p,f.value);a.ha().bb([p],!1,
-1);c.catch(function(){}).finally(function(){a.ha().ae(p.key,-2)})}}d=a.ab(h.vc().response)}}d=d?d:a.ab();var g=d.sp;c.then(function(h){g.resolve(h)},function(h){g.reject(Ip(h));a.handleError(b.Ea(),h)});return d};C6.prototype.ab=function(a){a=a===void 0?new cO:a;return new QBa(a.setStatus(1))};var FRa=function(a,b,c){var d=B0(b),e=a.find(function(f){return f.key===d});e||(e=C0(aO(hoa(new $N,b),c)),a.push(e));return e};
C6.prototype.handleError=function(a,b){iNa(this.g,a);a=Zw(Hp(b,39),"Server error updating metadata after optimistic application.");this.xf(a)};
var GRa=function(a,b,c){var d=b.value;b=z(d,XN,2,B()).find(function(e){return e.K()===c.K()});b||(b=new XN,foa(b,c.K()),ioa(d,z(d,XN,2,B()).concat([b])),JRa(b,c));switch(Jt(b,4)){case 1:b.setBooleanValue(E(c,3));break;case 12:b.setDateStringValue(C(c,17));break;case 2:b.setTextValue(C(c,4));break;case 3:F(c,6,B()).length?doa(b,F(c,6,B())):F(c,5,B()).length&&(a=F(b,7,B()).concat(F(c,5,B())),doa(b,a));break;case 4:b.setLongTextValue(C(c,7));break;case 5:b.setSelectionValue(C(c,8));break;case 6:F(c,
10,B()).length?YN(b,F(c,10,B())):F(c,9,B()).length&&(a=F(b,10,B()).concat(F(c,9,B())),YN(b,a));break;case 7:b.setIntegerValue(nk(c,11));break;case 8:GC(c,13).length?eoa(b,GC(c,13)):GC(c,12).length&&(a=GC(b,12).concat(GC(c,12)),eoa(b,a));break;case 10:b.setUserValue(a.Gg(C(c,14)));break;case 11:F(c,16,B()).length?ZN(b,F(c,16,B()).map(a.Gg)):F(c,15,B()).length&&ZN(b,z(b,rq,16,B()).concat(F(c,15,B()).map(a.Gg)));break;default:throw b="Optimistic Applier: Unsupported value type "+(Jt(b,4)+"."),new G(b,
new wp);}},HRa=function(a,b){if(a=z(a.value,XN,2,B()).find(function(c){return c.K()===b}))switch(Jt(a,4)){case 1:N(a,5);break;case 12:N(a,17);break;case 2:N(a,6);break;case 3:N(a,7);break;case 4:N(a,8);break;case 5:N(a,9);break;case 6:N(a,10);break;case 7:N(a,11);break;case 8:N(a,12);break;case 10:N(a,15);break;case 11:N(a,16);break;default:throw a="Optimistic Applier: Unsupported value type "+(Jt(a,4)+"."),new G(a,new wp);}},JRa=function(a,b){P(b,3)?H(a,4,1):S(b,17)?H(a,4,12):S(b,4)?H(a,4,2):F(b,
6,B()).length||F(b,5,B()).length?H(a,4,3):S(b,7)?H(a,4,4):S(b,8)?H(a,4,5):F(b,10,B()).length||F(b,9,B()).length?H(a,4,6):Yc(rk(b,11))!=null?H(a,4,7):GC(b,13).length||GC(b,12).length?H(a,4,8):S(b,14)?H(a,4,10):(F(b,16,B()).length||F(b,15,B()).length)&&H(a,4,11)};C6.prototype.Gg=function(a){return Kv(Hv(1),a)};C6.prototype.ha=function(){return this.j.get()};var D6=function(a,b,c){var d=d===void 0?new Q0(1E4,3E5):d;var e=e===void 0?Date.now()+72E5:e;this.o=b;this.Hb=c;this.g=d;this.B=e;this.j=5;var f;a=(f=a.V())==null?void 0:KO(f);this.C=ap({direction:2,Wb:1,fa:Wt(new R,1425),driveId:a})};D6.prototype.start=async function(){await KRa(this).catch(function(){})};
var KRa=async function(a){if(!(Date.now()>a.B||a.j<=0)){await a.delay();try{if(await LRa(a))return}catch(b){a.j--}await KRa(a)}},LRa=async function(a){var b=(await (await a.o).route(a.C)).ab().Sa()[0];return b&&z1(a.Hb,b)?!1:!0};D6.prototype.delay=function(){var a=this.g.getValue();P0(this.g);return new Promise(function(b){setTimeout(b,a)})};var MRa=ec(Km(hn),sn,Km(no),dn,mo,jP),ORa=function(a,b,c,d,e,f,g,h,l,m,p){this.ga=a;this.o=b;this.D=c;this.Hb=d;this.C=e;this.O=f;this.B=g;this.g=h;this.F=l;this.P=m;this.M=p;this.J=this.P.da("sync.request.OptimisticApplier");this.j=new NRa(this.ga,this.P)};ORa.prototype.apply=function(a,b){var c=this;return MRa(a)&&Ro(a)&&!wBa(a)?(a=PRa(this,a,b))?(this.o.pause(),b.catch(function(){}).finally(function(){return void c.o.resume()}),Promise.resolve(a)):b:b};
var PRa=function(a,b,c){if(Jm(hn)(b))return QRa(a,b,c);if(hn(b))return RRa(a,b,c);if(b instanceof LO)return SRa(a,b,c);if(no(b))return TRa(a,b,c);if(Jm(no)(b))return c=Promise.resolve(c),URa(a,b.requests,c);if(b instanceof eO)return VRa(a,b,c);if(b instanceof IO)return IRa(a.D,b,c);if(b instanceof iP)return WRa(a,b,c);a="OptimisticApplier: Unknown request type "+go(b);throw Error(a);},RRa=function(a,b,c){var d=b.K();b=c.then(function(e){return[at(d,e)]});b.catch(function(){});return XRa(a,[d],b)[0].result.value},
QRa=function(a,b,c){b=b.requests.map(function(d){return d.K()});return XRa(a,b,c)},XRa=function(a,b,c){eNa(a.Hb.Hb,b);c.then(function(d){YRa(a);d=d.filter(function(e){return e.result.status==="rejected"}).map(function(e){return e.id});d.length>0&&E6(a.j,d)},function(d){a.g(Zw(Hp(d,37),"Server error deleting item after optimistic application."));E6(a.j,b)}).finally(function(){for(var d=a.Hb.Hb,e=q(b),f=e.next();!f.done;f=e.next())d.g.delete(f.value)});return b.map(function(d){return at(d,(new No).setStatus(1))})},
YRa=function(a){a.B&&rHa(a.B.get(),1503).catch(function(b){Dk("Could not forceRefresh OptimisticApplier",Ep(b),"warning")})},SRa=function(a,b,c){var d=BOa(a.Hb.g,b);c.then(function(){(d==null?0:d.commit())&&(new D6(b,a.C,a.Hb)).start().then(function(){return void YRa(a)})},function(){d==null||d.Ug()});c.catch(function(e){e=Zw(Hp(e,38),"Server error emptying trash after optimistic application.");a.g(e)});return(new No).setStatus(1)},VRa=function(a,b,c){var d=C(b,1),e=a.ga.Oa.g(d);if(!e)return null;
e=e.clone();p1(a.ga,[e],[157]);var f=mM(e);ZRa(f,z(b,eC,2,B()));$Ra(f,z(b,eC,3,B()));a.ga.Ta([e],-1,void 0,void 0,[157]);c.then(function(g){a.ga.ae(d,-2);a.ga.Ta([O(g,Pk,2)],1,void 0,void 0,[157])},function(g){a.ga.ae(d,-2);g=Zw(Hp(g,36),"Server error updating item after optimistic application.");a.g(g)});return loa(new fO,e).setStatus(1)},ZRa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next()){let d=c.value;z(a,eC,8,B()).some(function(e){return L(e,1)===L(d,1)})||fk(a,8,eC,d)}},$Ra=function(a,
b){var c=b.map(function(d){return L(d,1)});b=z(a,eC,8,B()).filter(function(d){return!c.includes(L(d,1))});UL(a,b)},WRa=function(a,b,c){var d=Tn(b,3);if(![3,9,13].includes(d))return null;var e=b.getId(),f=a.ga.Oa.g(e);if(!f)return null;var g=f.clone(),h,l=((h=O(g,zx,148))==null?void 0:h.clone())||new zx;if(d===9)Pla(I(l,4,!1));else if(d===13)yx(I(l,4,!0),Date.now());else if(d===3){let m;yx(I(l,4,!1),(m=Tg(jt(l,3)))!=null?m:Date.now())}jy(g,l);aSa(a,[g]);bSa(a,{itemId:e,request:b,Rl:f},c,function(m){m=
Zw(Hp(m.error,40),"Server error updating item after optimistic application.");a.g(m)});return cSa(g)},bSa=function(a,b,c,d){var e=b.itemId,f=b.request,g=b.Rl;c.then(function(){a.ga.ae(e,-2)},function(h){a.ga.ae(e,-2);dSa(a,e,g);d({request:f,itemId:e,error:h})})},TRa=function(a,b,c){var d=b.K();c=c.then(function(e){return[at(d,e)]});c.catch(function(){});a=URa(a,[b],c);return a===null?null:a[0].result.value},URa=function(a,b,c){if(!eSa(a,b))return null;b=b.map(function(e){var f=e.K(),g=a.ga.Oa.g(f);
return{itemId:f,request:e,Rl:g}});var d=b.map(function(e){return fSa(a,e)});aSa(a,d);gSa(a,b,c,function(e){var f=e.itemId,g=e.request;e=Hp(e.error,40);if(e.Le()===63){D(e,22,f);let h;if(g==null?0:(h=TC(g))==null?0:h.length)f=TC(g)[0],D(e,23,f)}Zw(e,"Server error updating item after optimistic application.");a.g(e)});return hSa(d)},hSa=function(a){return a.map(function(b){var c=b.K();return at(c,cSa(b))})},cSa=function(a){return Sx(aB(new No,a),a.K()).setStatus(1)},eSa=function(a,b){var c=a.ga.Oa;
b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=d.K();if(!e||c.j.get(e)==null||lM(c.g(e))&&E(d,5)===!1||P(d,40))return!1;e=UC(d);d=TC(d);if(e.length>0&&d.length>0&&(d=Object.values(a.ga.Oa.cd(e.concat(d))).map(function(f){return lM(f)||"root"}),Ta(d),d.length>1))return!1}return!0},aSa=function(a,b){a.ga.Ta(b,-1,void 0,void 0,a.O.jl())},gSa=function(a,b,c,d){var e=[];c.then(function(f){f=q(f);for(var g=f.next();!g.done;g=f.next()){let h=g.value;h.result.status==="rejected"&&(g=b.find(function(l){return l.itemId===
h.id}),e.push({request:g==null?void 0:g.request,itemId:h.id,error:h.result.reason}))}},function(f){e.push.apply(e,r(b.map(function(g){return{request:g.request,itemId:g.itemId,error:f}})))}).finally(function(){SMa(a.ga,b.map(function(m){return m.itemId}));if(e.length){var f=[],g=[],h;if((h=Xl(a.F))==null?0:Q(h,39)){h=q(e);for(var l=h.next();!l.done;l=h.next()){l=l.value;let m;((m=Ip(l.error).qa)==null?void 0:m.j())===99?g.push(l):f.push(l)}}else f=e;g.length>0&&iSa(a,g);if(f.length>0)for(E6(a.j,f.map(function(m){return m.itemId})),
f=q(f),g=f.next();!g.done;g=f.next())d(g.value)}})},iSa=function(a,b){b=b.map(function(c){c=c.itemId;return yM(xM(new wM,c))});a.ga.nb(b)},fSa=function(a,b){var c=b.request;b=b.Rl.clone();c.Ic()&&b.setDescription(L(c,3));YF(c,12)&&hM(b,jt(c,12));S(c,6)&&Mk(b,L(c,6));YF(c,7)&&ny(b,jt(c,7));P(c,11)&&bM(b,Um(c,11));P(c,4)&&ky(b,Um(c,4));P(c,16)&&gM(b,Um(c,16));c.gb()&&b.setTitle(L(c,2));P(c,5)&&(aM(b,Um(c,5)),fM(b,Um(c,5)));P(c,18)&&Ts(Us(b,!0),Um(c,18));F(c,8,B()).length&&gy(b,F(c,8,B()).slice());if(TC(c).length){let h=
new Set($L(b));TC(c).forEach(function(l){return void h.add(l)});gy(b,[].concat(r(h)))}if(UC(c).length){let h=new Set($L(b));UC(c).forEach(function(l){return void h.delete(l)});gy(b,[].concat(r(h)));var d=C(b,46);if(d&&UC(c).includes(d)){var e=d;N(b,46)}}if(!C(b,46)){d=q($L(b));for(var f=d.next();!f.done;f=d.next()){f=f.value;let h=a.ga.Oa.g(f);if(h&&C(h,46)){iM(b,C(h,46));break}else if(f===e){iM(b,e);break}}}$L(b).length&&(a=a.ga.Oa.g($L(b)[0]))&&ly(b,lM(a));if(a=O(c,xx,25))e=O(b,xx,111)||new xx,
P(a,1)&&wx(e,Um(a,1)),S(a,2)&&vx(e,L(a,2)),K(b,111,e);var g=F(b,120,B(Rr));F(c,31,B()).forEach(function(h){g.includes(h)||g.push(h)});F(c,32,B()).forEach(function(h){Ka(g,h)});Ju(b,120,g);return b},dSa=function(a,b,c){b=JP((new xB).jc([b]),Wt(new R,314));(new B1(b,a.F,a.P,a.ga,a.M,a.C,a.Hb,void 0,!1)).run().then(function(){},function(d){c&&a.ga.Ta([c.clone()],1);d=Ip(d);a.J.Da("Error refetching Item",d)})},NRa=function(a,b){this.ga=a;this.J=b.da("sync.request.OptimisticApplier")},E6=function(a,b){Promise.resolve(H1(a.ga.ad,
b,Wt(new R,314))).catch(function(c){var d=Object.values(a.ga.Oa.cd(b)).filter(function(e){return e!=null});c=Ip(c);a.J.Da("Error refetching Items",c);d.length&&a.ga.Ta(d.map(function(e){return e.clone()}),1)})};var F6=function(){};F6.prototype.execute=function(){return null};var G6=function(a){this.g=a};U(G6,F6);G6.prototype.execute=function(a,b,c){var d=F6.prototype.execute.call(this,a,b,c);if(d)return d;if(c.ag||On(b)&&ZZ(b.V()))if(c=APa(this.g))return c;return sn(b)&&b.V()&&!Zoa(b.V())?(c=Wt(new R,1424),a.route(ap({direction:2,Wb:1,fa:c})).then(function(e){(e=e.ab())&&(e=e.Sa()[0])&&YF(e,96)&&apa(b,jt(e,96))},function(){})):null};var Tw=function(a,b){return[jSa,kSa,lSa,mSa].reduce(function(c,d){var e;c!==0?e=c:e=Wa(d(a),d(b));return e},0)},jSa=function(a){return nSa[Tn(a,6)]},kSa=function(a){return oSa[Tn(a,1)]},lSa=function(a){return a.getName()||""},mSa=function(a){return a.getId()||""},H6={},nSa=(H6[5]=0,H6[7]=1,H6[1]=2,H6[3]=3,H6[4]=4,H6[2]=5,H6[6]=6,H6),I6={},oSa=(I6[1]=0,I6[2]=1,I6[3]=2,I6[4]=3,I6);var J6=function(a,b,c,d,e,f,g,h,l,m){this.ga=a;this.C=b;this.g=c;this.ce=d;this.Kf=e;this.j=f;this.B=g;this.o=h;this.D=l;this.O=m};J6.prototype.apply=function(a,b){if(a instanceof Im)for(let c=0;c<a.requests.length;c++){let d=b[c].result;Zs(d)&&pSa(this,a.requests[c],d.value)}else pSa(this,a,b)};
var pSa=function(a,b,c){if(!(c instanceof No&&Tn(c,1)===8))if(b instanceof aP||b instanceof wN||b instanceof wo||b instanceof cP||b instanceof AN||b instanceof EN||b instanceof Eo||b instanceof Ao||b instanceof $O){if(b=c.getItem()){var d=Sr(b.clone(),9);a.ga.Ta([d],1);bs(a.D,b,a.O.Ch())}}else if(b instanceof yN)b=yM(xM(new wM,b.K())),a.ga.nb([b]);else if(b instanceof zN)b=yM(AM(xM(new wM,b.K()),b.K())),a.ga.nb([b]),a.C.propagate(b);else if(b instanceof LO){d=KO(b.V());let e=Sg(hs(b,2));b=ap({direction:1,
driveId:d}).V();b=a.ga.Oa.query(b);d=b.findIndex(function(f){var g;return((g=Ug(jt(f,96)))!=null?g:0)>e});d>=0&&b.splice(d);b=b.map(function(f){return yM(xM(new wM,f.K()))});a.ga.nb(b)}else if(b instanceof zL)a.g.remove(L(b,1));else if(b instanceof CL||b instanceof GL)dHa(a.g,c.xh());else if(b instanceof qP)xea(a.ga,b);else if(nn instanceof Object&&b instanceof nn||qo instanceof Object&&b instanceof qo)a.j&&rHa(a.j.get(),306).catch(function(e){Dk("Could not forceRefresh ResponseApplier",Ep(e),"warning")});
else if(b instanceof rP)yea(a.ga,b,c.Gg());else if(b instanceof mQ||b instanceof oQ)a.ce.bb([n_(c.uj())],!1);else if(b instanceof lB)a.ce.bb([Mq(L(b,1))],!1);else if(b instanceof vo)a.pe().bb(z(c.response,$N,2,B()).map(C0),!1,1,b.request);else if(b instanceof IO)c=EC(b).filter(function(e){return Um(e,3)}),(d=k4(a.pe(),b.Ea()))==null||aNa(d,c.map(function(e){return B0(L(e,1))})),TJa(a.ga,b.Ea());else if(b instanceof QO)for(b=q(z(b,fC,1,B())),d=b.next();!d.done;d=b.next())switch(c=d.value,d=Hl(c,1),
d){case 3:case 4:case 1:case 5:case 8:c=O(c,gC,2);let e=c.getType();switch(e){case 1:case 2:d===8&&e===2?(d=C(c,2),a.B.get().j(d)):a.o.value&&(d=C(c,2),a.o.get().j(d))}}};J6.prototype.pe=function(){return this.Kf.get()};var qSa=function(a,b,c){this.g=a;this.M=b;this.F=c};qSa.prototype.translate=function(a){if(a instanceof Im)a:{var b=[];a=q(a.requests);for(var c=a.next();!c.done;c=a.next()){c=c.value;let d=rSa(this,c);if(Cp(d)){b=d;break a}if(Array.isArray(d)){b=du(new wp,"Translated request "+go(c)+" is not a single request.");break a}b.push(d)}b=new Im(b)}else b=rSa(this,a);return b};
var rSa=function(a,b){if(eo(b)){S(b,1);var c=a.g.g(b.K());if(!c)return new wp;var d=BN(new AN,b.K());if(lM(c))a=Ns(c),E(a,16)||E(a,9)?I(d,5,!0):CN(d,!1);else{var e=C(b,2);Jt(c,25)===1?I(d,5,!0):e?(a=a.g.g(e),!a||JL(Ns(a))?Fna(d,[e]):CN(d,!1)):CN(d,!1)}return d}if(fo(b)){d=F(b,2,B());e=F(b,3,B());if(d.length>1||e.length>1){Dk("Cannot add or remove multiple parents in a single request.",Error("Jd`"+d+"`"+e),"warning");c=jZ(a.M,106050);let g=c==null?void 0:OLa(ew(c));var f;let h,l;g!=null&&(f=J(g,1,
d.length))!=null&&(h=J(f,2,e.length))!=null&&(l=I(h,3,!1))!=null&&I(l,4,!1);e.length>1&&d.length<=1&&(f=b.K(),f=a.g.g(f))&&(f=$L(f),f.length===1&&e.includes(f[0])&&(g==null||I(g,3,!0)));c==null||lZ(c)}return Ila(WC(a.F))&&(d.length>1||d.length===0&&e.length>1)?du(new wp,"Cannot add or remove multiple parents (unless adding a single parent) in a single request."):Gna(Ina(Hna(Fna(Ena(BN(new AN,b.K()),d),e),E(b,6)),z(b,qv,8,B())),b.I())}if(ho(b)){S(b,1);c=a.g.g(b.K());if(!c)return new wp;d=BN(new AN,
b.K());lM(c)?(ds(c,Os,84),a=Ns(c),E(a,16)||E(a,9)?I(d,5,!1):CN(d,!0)):(e=C(b,2),Jt(c,25)===1?I(d,5,!1):e?(a=a.g.g(e),!a||IL(Ns(a))?Ena(d,[e]):CN(d,!0)):CN(d,!0));return d}if(Dna(b))return new wo(b);if(Coa(b))return F(b,1,B()).map(function(g){var h=new IO;h=D(h,1,g);var l=z(b,rO,2,B());h=yu(h,2,l);l=b.I();h=K(h,3,l);return{requestId:g,request:h}});if(rn(b)){d=ap({direction:2,driveId:KO(b),Wb:1}).V();let g=0;a.g.query(d).forEach(function(h){(h=Ug(jt(h,96)))&&(g=Math.max(g,h))});return apa($oa(new LO,
b),g)}return b};var sSa=function(a,b){this.P=a;this.g=b;this.J=this.P.da("sync.request.Validator")};sSa.prototype.validate=function(a){var b;if(b=On(a)){let c,d;b=!((c=a.V())==null?0:(d=c.I())==null?0:It(d,1))}b&&(a=a.V())&&this.J.Da("Request is missing a reason. go/cellojs-missing-reason\n "+(XZ(this.g,a,2)+".\n"));return null};var Bea=Ub(function(a){return a!==null&&a!==void 0&&a.kind!==void 0});var gB=Ub(function(a){var b,c;return!!((b=a.headers)==null?0:(c=b["content-type"])==null?0:c.includes("application/json+protobuf"))});var tSa=function(){};var K6=function(a,b){this.bytes=a;this.retryCount=b};var Dea=new Set([164,171,175,180,168]),Fea=new Map([["active",1],["ACTIVE",1],["deleted",2],["DELETED",2]]);var uSa=function(a,b){this.F=a;this.J=b.da("response.metadata.LabelParser")},wSa=function(a,b){var c;return $la(Zla(Yla(b.id),b.revisionId),Object.values((c=b.fields)!=null?c:{}).map(function(d){return vSa(a,d)}).filter(function(d){return d!==null}))},vSa=function(a,b){var c=new Tq;c=D(c,1,b.id);if(b.valueType==null)return a.J.Da("Field must have valueType",Error("Kd")),null;var d=b.valueType;if(!xSa.has(d))return ySa(a,d),null;var e=xSa.get(d);H(c,2,e);if(!zSa(a,b,d,c))return ySa(a,d),null;b.badgeInfo&&
(a=b.badgeInfo,b=(new $q).setTitle(a.title),b=Vr(b,2,Number(a.priority)),a.color&&b.setColor(ASa(a.color)),a.darkModeColor&&(a=ASa(a.darkModeColor),K(b,4,a)),K(c,10,b));return c},ASa=function(a){var b=new Vla;b=Vr(b,2,ax(a.foregroundColor));return Vr(b,1,ax(a.backgroundColor))},zSa=function(a,b,c,d){if(b[c]==null)return!1;switch(c){case "text":D(d,7,b.text);break;case "selection":D(d,5,b.selection);break;case "selectionList":Ju(d,6,b.selectionList);break;case "integer":b=Number(b.integer);if(isNaN(b))return!1;
SF(d,4,b);break;case "user":Wla(d,lx(b.user,a.F));break;case "userList":Xla(d,b.userList.map(function(e){return lx(e,a.F)}));break;case "dateString":D(d,3,b.dateString);break;default:return!1}return!0},ySa=function(a,b){a.J.sd("Unknown value type "+b,Error("Ld"))},xSa=new Map([["dateString",1],["integer",2],["selection",3],["selectionList",4],["text",5],["user",6],["userList",7]]);var BSa=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,CSa=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,DSa=function(){this.g=[];this.j=pT;var a=!1,b="";for(let e=0;e<19;e++){let f="yyyy:MM:dd HH:mm:ss".charAt(e);if(BSa.test(f))for(b.length>0&&(this.g.push({text:b,count:0,uf:!1,numeric:!1}),b=""),this.g.push({text:" ",count:0,uf:!1,numeric:!1});e<18&&"yyyy:MM:dd HH:mm:ss".charAt(e+1)==" ";)e++;else if(a)f=="'"?e+1<19&&"yyyy:MM:dd HH:mm:ss".charAt(e+1)=="'"?(b+="'",e++):a=!1:b+=
f;else if("GyMdkHmsSEDabBhKzZvQL".indexOf(f)>=0){b.length>0&&(this.g.push({text:b,count:0,uf:!1,numeric:!1}),b="");for(var c="yyyy:MM:dd HH:mm:ss".charAt(e),d=e+1;d<19&&"yyyy:MM:dd HH:mm:ss".charAt(d)==c;)d++;c=d-e;a:{if(c<=0){d=!1;break a}d="MydhHmsSDkK".indexOf(f);d=d>0||d==0&&c<3}this.g.push({text:f,count:c,uf:!1,numeric:d});e+=c-1}else f=="'"?e+1<19&&"yyyy:MM:dd HH:mm:ss".charAt(e+1)=="'"?(b+="'",e++):a=!0:b+=f}b.length>0&&this.g.push({text:b,count:0,uf:!1,numeric:!1});a=!1;for(b=0;b<this.g.length;b++)this.g[b].numeric?
!a&&b+1<this.g.length&&this.g[b+1].numeric&&(a=!0,this.g[b].uf=!0):a=!1};
DSa.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.gE||!1,e=c.validate||!1);if(d)for(c=0;c<this.g.length;c++){var f=this.g[c];if(f.count>0&&("abBhHkKm".indexOf(f.text.charAt(0))<0||f.count>2||f.uf))throw Error("Md`"+f.text.charAt(0));}f=new ESa;c=[0];f.D=-1;for(let p=0;p<this.g.length&&!(d&&c[0]>=a.length);p++){if(this.g[p].count==0){a:{var g=a;var h=c,l=this.g[p],m=d;if(l.text.match(BSa)!=null){if(l=h[0],FSa(g,h),h[0]>l){g=!0;break a}}else{if(g.indexOf(l.text,h[0])==h[0]){h[0]+=l.text.length;
g=!0;break a}if(m&&l.text.indexOf(g.substring(h[0]))==0){h[0]+=g.length-h[0];g=!0;break a}}g=!1}if(g)continue;return 0}if(this.g[p].uf){a:{g=a;h=c;l=p;let t=h[0],w=0;for(m=l;m<this.g.length;m++){let A=this.g[m],M=A.count;if(M===0)break;if(m==l&&(M-=w,w++,M==0)){g=0;break a}let da=m>l&&A.numeric,ja=h[0];if(!GSa(this,g,h,A,M,f,!1)||da&&h[0]-ja<M)m=l-1,h[0]=t}g=m-l}if(g<=0)return 0;p+=g-1}else if(!GSa(this,a,c,this.g[p],0,f,d))return 0}a:{a=e;if(b==null)throw Error("Nd");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=dva(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.C!=void 0&&f.C>0?f.hours+=12:f.j!==void 0&&("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.j)||["night1","night2"].includes(f.j)&&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.g!=void 0&&b.setMilliseconds(f.g);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.g&&f.g>=1E3))b=!1;else{f.o!=void 0&&b.setTime(b.getTime()+(f.o-b.getTimezoneOffset())*
60*1E3);f.B&&(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 GSa=function(a,b,c,d,e,f,g){FSa(b,c);if(d.numeric&&e>0&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return L6(b,c,[a.j.Qp],function(h){return f.era=h}),!0;case "M":case "L":return HSa(a,b,c,e,d,f);case "E":return L6(b,c,[a.j.Pq,a.j.Iq],function(h){return f.dayOfWeek=h});case "B":case "b":return e=[],a=[[].concat(a.j.Gm)],e.push("isAm"),e.push("isPm"),b=L6(b,c,a,function(h){return f.D=h},g),f.j=e[f.D],g?b:!0;case "a":return b=L6(b,c,[a.j.Gm],function(h){return f.C=h},g),g?b:!0;case "y":return ISa(a,
b,c,d,e,f);case "Q":return L6(b,c,[a.j.Cq,a.j.Hq],function(h){f.month=h*3;f.day=1});case "d":return M6(a,b,c,d,e,function(h){f.day=h}),!0;case "S":return JSa(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=M6(a,b,c,d,e,function(h){f.hours=d.text.charAt(0)==="h"&&h===12?0:h},g),g?b:!0;case "m":return b=M6(a,b,c,d,e,function(h){f.minutes=h},g),g?b:!0;case "s":return M6(a,b,c,d,e,function(h){f.seconds=h}),!0;case "z":case "Z":case "v":return KSa(a,b,c,f);default:return!1}},ISa=function(a,b,c,
d,e,f){var g=c[0];e=N6(a,b,c,e);e===null&&(e=N6(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.B=a==c,a+=Math.floor(b/100)*100+(a<c?100:0),f.year=a):f.year=e;return!0},HSa=function(a,b,c,d,e,f){return e.numeric&&M6(a,b,c,e,d,function(g){f.month=g-1})?!0:L6(b,c,[a.j.xq,a.j.Jq,a.j.Gq,a.j.Kq],function(g){f.month=g})},JSa=function(a,b,c,d,e){var f=c[0];a=N6(a,b,c,d);if(a===null)return!1;c=c[0]-f;e.g=c<3?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,
c-3));return!0},KSa=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);if(c[0]>=b.length)return d.o=0,!0;var e=c[0],f=N6(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=N6(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.o=-g;return!0},M6=function(a,b,c,d,e,f,g){g=g||!1;var h=c[0];a=N6(a,b,c,e);if(a===null)return!1;if(g&&c[0]-h<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-h))}f(a);return!0},L6=
function(a,b,c,d,e){e=e||!1;for(let l=0;l<c.length;l++){var f=b;var g=c[l],h=e;let m=0,p=null,t=a.substring(f[0]).toLowerCase();for(let w=0;w<g.length;w++){let A=g[w].toLowerCase();if(h&&A.indexOf(t)==0){m=t.length;p=w;break}g[w].length>m&&t.indexOf(A)==0&&(m=g[w].length,p=w)}p!==null&&(f[0]+=m);f=p;if(f!==null)return d(f),!0}return!1},FSa=function(a,b){(a=a.substring(b[0]).match(CSa))&&(b[0]+=a[0].length)},N6=function(a,b,c,d,e){b=d>0?b.substring(0,c[0]+d):b;e=e||!1;if(a.j.Qq){d=[];for(let f=c[0];f<
b.length;f++){let g=b.charCodeAt(f)-a.j.Qq;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)},ESa=function(){};ESa.prototype.B=!1;var LSa=function(a,b){this.F=a;this.g=new uSa(this.F,b)},NSa=function(a,b,c){var d=new wy;var e=e===void 0?!1:e;var f=new ty,g=[];if(Uw("drive#file")(b))(a=O6(a,b))&&g.push(a);else if(Uw("drive#fileList")(b)){var h=b.items||[];for(var l=0;l<h.length;l++){var m=O6(a,h[l]);g.push(m)}}f=sy(f,g);if(Uw("drive#fileList")(b)){g=I(f,8,b.incompleteSearch);if(a=b.spellResponse){var p=[];a=q(a.spellCorrections);for(l=a.next();!l.done;l=a.next()){h=[];l=q(l.value.spellFragments);for(m=l.next();!m.done;m=l.next()){m=
m.value;var t=(new MO).setStatus(MSa.get(m.status));t=D(t,1,m.original);m=D(t,3,m.correction);h.push(m)}l=new cpa;h=yu(l,1,h);p.push(h)}a=new dpa;p=yu(a,1,p)}if((a=b.suggestedNlpQueries)&&a.length>0){var w=new bpa;w=Ju(w,1,a)}p||w?(a=new NO,p&&K(a,1,p),w&&K(a,2,w),w=a):w=null;w=OO(g,w);p=[];g=q(b.items||[]);for(a=g.next();!a.done;a=g.next())a=a.value,h=a.id,!h||a.searchResultSource!="1"&&a.searchResultSource!="3"||p.push(h);Ju(w,18,p);e&&D(f,15,b.nextPageToken)}d=vy(d,f);c=nq(c);c=D(d,2,c);Uw("drive#fileList")(b)&&
b.nextPageToken&&PO(c,b.nextPageToken);return c},PSa=function(a,b,c,d,e){var f=Sx(new No,c);if(Uw("drive#adminFile")(b))a=ey(new Pk,b.id),b.parentId&&gy(a,[b.parentId]),b=ly(a,b.teamDriveId),Sx(aB(f,b),b.K());else if(Uw("drive#file")(b))b=O6(a,b),aB(f,b),c||Sx(f,b.K());else if(Uw("drive#revision")(b)){c=eP(b.id);c=D(c,2,b.mimeType);var g=$w(b.modifiedDate);c=Vr(c,3,g);c=I(c,4,b.pinned);c=D(c,7,b.originalFilename);b.editSource&&(g=OSa.get(b.editSource),H(c,11,g));b.fileSize!=null&&Vr(c,8,Number(b.fileSize));
b.lastModifyingUser&&(a=lx(b.lastModifyingUser,a.F),K(c,9,a));b.lastModifyingAgent&&(a=nx(b.lastModifyingAgent),K(c,12,a));b.decryptionMetadata&&(b=tx(b.decryptionMetadata),K(c,10,b));K(f,4,c)}f.df(mq(d)).bf(nq(d));(d=(d=d&&kq(d))&&d["x-server-object-version"])&&e&&(e=eP(d),K(f,4,e));f.setStatus(1);return f},QSa=function(a,b){return Sx(new No,a).setStatus(1).df(mq(b)).bf(nq(b))},RSa=function(a,b){return rpa(new sP,(b.items||[]).map(function(c){return P6(a,c)}))},P6=function(a,b){var c=Lv(Fv(Gv(Hv(SSa.get(b.type)),
b.id),b.userId),kx(b.userId,a.F));c=I(c,4,b.withLink);c=Kv(Mv(Jv(c,b.name),b.photoLink),b.emailAddress);c=I(c,10,b.deleted);c=D(c,12,b.audienceId);c=D(c,13,b.customerId);c=D(c,20,b.view);jv(a.F)&&Jv(c,b.nameIfNotUser);b.role&&(a=Q6.get(b.role),a==2&&b.additionalRoles&&b.additionalRoles[0]=="commenter"?a=4:a==2&&b.view=="published"&&(a=6),H(c,6,a));return c},O6=function(a,b){var c=py(Mk(gy(ey(new Pk,b.id),Xea(b)).setTitle(b.title),b.mimeType),b.hasThumbnail);b.thumbnailVersion!=null&&Vr(c,90,Number(b.thumbnailVersion));
my(fM(c.setDescription(b.description),b.explicitlyTrashed),b.shared);b.quotaBytesUsed!=null&&Vr(c,28,Number(b.quotaBytesUsed));b.fileSize!=null&&Vr(c,14,Number(b.fileSize));b.alternateLink!=null&&D(c,115,b.alternateLink);if(b.labels){var d=b.labels;ema(bM(aM(dma(ky(c,d.starred),d.hidden),d.trashed),d.restricted),d.viewed)}nma(oy(gma(cM(ny(mma(fma(c,$w(b.createdDate)),$w(b.serverCreatedDate)),$w(b.modifiedDate)),$w(b.modifiedByMeDate)),$w(b.lastViewedByMeDate)),$w(b.sharedWithMeDate)),$w(b.recency));
b.recencyReason&&oma(c,TSa.get(b.recencyReason)||0);Nv(c,USa(a,b));b.lastModifyingUser&&(d=lx(b.lastModifyingUser,a.F),dM(c,d));b.userPermission&&(d=Q6.get(b.userPermission.role),eM(c,d));b.imageMediaMetadata&&(d=Zea(b.imageMediaMetadata),K(c,27,d));b.folderColor!=null&&hM(c,Number(b.folderColor));hma(iM(ima(lma(kma(gM(c,b.subscribed),b.fileExtension),b.folderFeatures),b.flaggedForAbuse),b.primarySyncParentId||void 0),b.hasChildFolders);b.gmailMessageStorageId&&D(c,163,b.gmailMessageStorageId);b.source&&
jma(D(c,42,b.source.client_service_id),b.source.value);b.sharingUser&&(d=lx(b.sharingUser,a.F),jM(c,d));b.sources&&Ju(c,56,b.sources);if(b.spaces){d=b.spaces;let l=[];for(let m=0;m<d.length;m++){var e=d[m];vY[e]&&(e=AC(vY[e]),l.push(e))}yu(c,60,l)}I(c,63,b.ownedByMe);b.sourceAppId&&D(c,61,b.sourceAppId);I(c,74,b.changed);b.actionItems&&qma(c,Tea(b.actionItems));b.capabilities&&Ps(c,jx(b.capabilities));b.permissionsSummary&&qM(c,VSa(a,b.permissionsSummary));b.itemLocation&&vM(c,WSa(b.itemLocation));
b.headRevisionId&&D(c,78,b.headRevisionId);b.templateData&&rma(c,dfa(b.templateData));pM(pma(ly(c,b.teamDriveId),b.hasAugmentedPermissions),b.ancestorHasAugmentedPermissions);b.creator&&(d=lx(b.creator,a.F),rM(c,d));b.creatorAgent&&Jma(c,nx(b.creatorAgent));b.lastModifyingAgent&&Kma(c,nx(b.lastModifyingAgent));b.sharingAgent&&Lma(c,nx(b.sharingAgent));b.modifiedByMeAgent&&Mma(c,nx(b.modifiedByMeAgent));sma(Rv(sM(c,b.primaryDomainName),b.organizationDisplayName),b.passivelySubscribed);b.trashingUser&&
tM(c,lx(b.trashingUser,a.F));tma(c,$w(b.trashedDate));b.version&&Vr(c,75,Number(b.version));vma(I(c,98,b.hasVisitorPermissions),b.hasAppsScriptAddOn);(d=b.pairedDocType)&&uma(c,XSa.get(d));b.audioMediaMetadata&&(d=$ea(b.audioMediaMetadata),K(c,158,d));b.videoMediaMetadata&&(d=bfa(b.videoMediaMetadata),K(c,103,d));wma(Ju(c,104,b.detectors),b.containsUnsubscribedChildren);b.contentRestrictions&&iy(c,Qea(b.contentRestrictions));(d=b.publishingInfo)&&yma(I(c,118,d.published),d.publishedUrl);Ju(c,120,
b.workspaceIds);var f;((f=b.approvalMetadata)==null?0:f.approvalVersion)&&Vr(c,126,Number(b.approvalMetadata.approvalVersion));var g;((g=b.approvalMetadata)==null?0:g.approvalSummaries)&&zma(c,Wea(b.approvalMetadata.approvalSummaries));var h;typeof((h=b.approvalMetadata)==null?void 0:h.hasIncomingApproval)==="boolean"&&I(c,153,!!b.approvalMetadata.hasIncomingApproval);b.shortcutDetails&&Ama(c,YSa(a,b.shortcutDetails));b.clientEncryptionDetails&&Cma(c,Pea(b.clientEncryptionDetails));b.linkShareMetadata&&
Dma(c,efa(b.linkShareMetadata));typeof b.inheritedPermissionsDisabled==="boolean"&&I(c,160,b.inheritedPermissionsDisabled);b.editSource&&Hma(c,OSa.get(b.editSource));b.labelInfo&&(f=(b.labelInfo.labels||[]).map(function(l){return wSa(a.g,l)}),Gma(c,f.filter(function(l){return Cea(l)})));b.spamMetadata&&jy(c,Rea(b.spamMetadata));hy(uM(Bma(D(c,140,b.resourceKey),b.authorizedAppIds),b.customerId),b.abuseIsAppealable);b.abuseNoticeReason&&Ema(c,ZSa.get(b.abuseNoticeReason)||0);b.vidsImportCompatibilityInfo&&
Ima(c,gfa(b.vidsImportCompatibilityInfo));b.accessRequestsCount&&J(c,152,Number(b.accessRequestsCount));Ok(c);jv(a.F)&&c.qc(5);return c},USa=function(a,b){var c=[];if(b&&b.owners){b=b.owners;for(let d=0;d<b.length;d++){let e=lx(b[d],a.F);e&&c.push(e)}}return c},VSa=function(a,b){var c=c===void 0?!1:c;return Qw(Pw(Rw(new Ow,b.entryCount),(b.visibility||[]).map(function(d){var e=c;e=e===void 0?!1:e;var f=Hv(SSa.get(d.type));f=I(f,4,d.withLink);e=Gv(f,e?d.permissionId:d.type+"|"+(d.domain||"")+"|"+d.withLink);
d.role&&(f=Q6.get(d.role),f==2&&d.additionalRoles&&d.additionalRoles[0]=="commenter"&&(f=4),H(e,6,f));return e})),(b.selectPermissions||[]).map(function(d){return P6(a,d)}))},WSa=function(a){var b=new WL;if(a.parent){a=a.parent;var c;var d=new VL;d=D(d,1,a.id);d=Vr(d,2,Number(a.version)).setTitle(a.title);var e=Number((c=a.folderColor)!=null?c:0);c=Vr(d,4,e);c=I(c,6,a.hasAugmentedPermissions);c=I(c,7,a.shared);c=I(c,8,a.trashed);c=D(c,9,a.resourceKey);c=D(c,10,a.mimeType);c=D(c,12,a.driveId);a.id===
a.driveId&&I(c,13,a.trustedDrive);a.folderProperties&&(a=a.folderProperties,d=new WB,d=I(d,1,a.psynchoRoot),d=I(d,2,a.psynchoFolder),d=I(d,3,a.machineRoot),d=I(d,4,a.arbitrarySyncFolder),d=I(d,5,a.externalMedia),a=I(d,6,a.photosAndVideosOnly),K(c,5,a));K(b,1,c)}return b},$Sa=function(a,b){return cma(bma(ama(Qw(Rw(new Ow,b.entryCount),(b.selectPermissions||[]).map(function(c){return P6(a,c)})),b.memberCount),b.userEntryCount),b.groupEntryCount)},YSa=function(a,b){var c=new ZL;c=D(c,1,b.targetId);c=
D(c,7,b.targetResourceKey);c=D(c,3,b.targetMimeType);c=I(c,6,b.canRequestAccessToTarget);if(b.targetLookupStatus){var d=aTa.get(b.targetLookupStatus)||0;H(c,4,d)}b.targetFile&&(a=O6(a,b.targetFile),K(c,5,a));return c},Q6=new Map([["fileOrganizer",7],["organizer",5],["owner",1],["reader",2],["writer",3]]),SSa=new Map([["anyone",4],["audience",5],["domain",3],["group",2],["user",1]]),TSa=new Map([["createdByMe",1],["modifiedByMe",2],["modified",3],["viewedByMe",4]]),OSa=new Map([["unspecifiedEditSource",
0],["blobComments",1],["pairedDoc",2],["officeEditingMode",3],["esignature",4],["formFilling",5]]),Sea=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]),cfa=new Map([["UNAVAILABLE",1],["AVAILABLE",2],["PENDING",3]]),MSa=new Map([["CORRECT",1],["INCORRECT",2],["SUSPICIOUS",3]]),Uea=new Map([["IN_PROGRESS",1],["COMPLETED",2],["CANCELLED",3]]),Vea=new Map([["CONTENT_REVIEW",1],["E_SIGNATURE",2],["ALIGNMENT",3]]),XSa=new Map([["docs",1],["sheets",2],["slides",3]]),aTa=new Map([["ok",1],["notFound",
2],["permissionDenied",3]]),Oea=new Map([["unencrypted",1],["encrypted",2]]),Mea=new Map([["unset",0],["default",1],["small",2],["size16kb",3]]),Nea=new Map([["unsetKeyFormat",0],["tinkKeyset",1],["tinkAesGcmKey",2]]),ZSa=new Map([["unknownReason",0],["accessibleOnlyToOwner",1],["accessibleOnlyToOwningCustomer",2],["suspiciousOther",3],["suspiciousPhishing",4],["suspiciousMalware",5],["accessibleOnlyToOwnerInSomeRegions",6],["accessibleOnlyToOwningCustomerInSomeRegions",7],["suspiciousInSomeRegions",
8],["markedAsSpam",9],["markedAsConfirmedSpam",10],["markedAsGlobalSpam",11]]),Kea=new Map([["grant_type_unspecified",0],["grantTypeUnspecified",0],["implicit",1],["authorization_code",2],["authorizationCode",2]]),afa=new Map([["transcodeStatusUnknown",0],["notRequested",1],["pending",2],["failedTemporary",3],["failed",4],["available",5],["removed",6],["notRequestedByPolicy",7],["pendingPhotoService",8],["basicProcessing",9],["dropped",10],["resetBackfill",11],["resetReverted",12],["droppedTosViolation",
13],["archived",14],["migratingFromPicasa",15],["restored",16]]),ffa=new Map([["unspecified",0],["durationTooLong",1],["fileSizeTooSmall",2],["fileSizeTooLarge",3],["incorrectTranscodeStatus",4]]),Yea=new DSa;var bTa=function(){};var cTa=function(a,b,c){this.g=a;this.D=b;this.j=c};var R6=function(a,b){this.F=a;this.P=b;this.g=new LSa(a,b);this.F=a};
R6.prototype.convert=async function(a,b,c){c=c===void 0?[]:c;try{let je=this.C(a,b);if(je)var d=Promise.resolve(je);else{if(a instanceof wN){var e=Promise,f=e.resolve;if(gB(b)){var g=Yw(a,b,Sqa);var h=z(g,Rqa,1,B());if(h.length!==1)throw new G("Expected exactly one CreateItemResponse, got "+h.length);let Fc=O(h[0],LQ,2),ze=Fc.S();if(Kx(ze)!==0)throw Rx(ze);let jd=Fc.getItem();Ok(jd);Ox(jd);var l=Sx(aB(new No,jd),jd.K()).setStatus(1).df(mq(b.headers)).bf(nq(b.headers))}else l=S6(this,a,b);var m=f.call(e,
l)}else{if(a instanceof aP)e=Promise.resolve(S6(this,a,b));else{if(a instanceof KP){var p=Promise,t=p.resolve;if(!b.json)throw Op(a,b);Ux(["drive#fileList","drive#file"],b.json);var w=NSa(this.g,b.json,b.headers);var A=t.call(p,w)}else{if(a instanceof Ao){var M=Promise,da=M.resolve;var ja=gB(b)?en(a.request)&&C(a.request,12)?dTa(a,b):eTa(a,b):S6(this,a,b);p=da.call(M,ja)}else{if(a instanceof qN){var Ja=Promise,Ma=Ja.resolve;if(gB(b)){let Fc=Yw(a,b,WQ);var Ib=new rN,Rb=Fc.Ea();var Zb=D(Ib,1,Rb);var Ue=
x(Fc,5);var ti=D(Zb,3,Ue);var zd=hs(Fc,2);var ui=Vr(ti,2,zd);var gh=x(Fc,3);var Qd=D(ui,5,gh);var Sj=x(Fc,4);var Nf=D(Qd,8,Sj);var Tj=vB(Fc,ox,6);var tl=K(Nf,9,Tj)}else{if(!b.json)throw Op(a,b);Ux(["drive#generateCseTokenResponse"],b.json);var wg=b.json,ul=new rN;var En=D(ul,1,wg.fileId);var vl=D(En,3,wg.jwt);var ye=Vr(vl,2,Number(wg.currentKaclsId));var Uj=D(ye,5,wg.currentKaclsName);var wl=D(Uj,8,wg.customerId);var hh=qx(wg.guestIdp);tl=K(wl,9,hh)}M=Ma.call(Ja,tl)}else{if(a instanceof HO)Ja=fTa(this,
b,c);else{if(a instanceof Do){var ih=Promise,Fn=ih.resolve;if(a.tl)if(gB(b))var vi=bBa(a)?dTa(a,b):eTa(a,b);else{if(!b.json)throw Op(a,b);Ux(["drive#file","drive#adminFile","drive#revision"],b.json);vi=PSa(this.g,b.json,null,b.headers,!!bBa(a))}else vi=QSa(null,b.headers);var Vj=Fn.call(ih,vi)}else{if(a instanceof Co){a=Promise;var xl=a.resolve;let Fc=kq(b.headers),ze=Fc["x-goog-upload-url"];if(!ze&&(ze=Fc.location,!ze)){let jd=Bp(new wp,10);throw Gm(new G("No upload session URI included.",jd));}var Gn=
new cTa(ze,mq(Fc),nq(Fc));ih=xl.call(a,Gn)}else{if(a instanceof Jo)var Wj=Promise.resolve(new tSa);else{if(a instanceof fP)var wi=Promise.resolve(new bTa);else{if(un(a)){f=Promise;var Hn=f.resolve;let Fc=Yw(a,b,hra),ze=(new ty).setStatus(1),jd=z(Fc,Jx,1,B()),xg=a.xa();jd.length!==xg.length&&this.P.da("network.xhr.FromXhrConverter").Da("Expected "+xg.length+" items in response but got "+jd.length,Error("Pd"));let In=Math.max(xg.length,jd.length);for(l=0;l<In;l++)hfa(l<xg.length?xg[l]:void 0,l<jd.length?
jd[l]:void 0,ze,this.F,b,a,Fc);var Xj=vy(new wy,ze);var xi=Hn.call(f,Xj)}else xi=Promise.reject(new G("FromXhrConverter: Unsupported request type.",new wp));wi=xi}Wj=wi}ih=Wj}Vj=ih}Ja=Vj}M=Ja}p=M}A=p}e=A}m=e}d=m}return await d}catch(je){if(je&&je[OAa])throw Ip(je.g);b=Ip(je);Dk(b.message,b,"warning");throw b;}};R6.prototype.C=function(){return null};
var fTa=function(a,b,c){var d=b.headers["x-goog-safety-encoding"];return d==="base64"?Sg(hs(a.F,95))>0?Aea(b.text,Sg(hs(a.F,95))).then(function(e){return new K6(e,c.length)}):Promise.resolve(new K6(gaa(b.text),c.length)):d?Promise.reject(Error("Od")):Promise.resolve(new K6(new Uint8Array(fa(b.text)),c.length))},eTa=function(a,b){a=Yw(a,b,DR).getItem();return gTa(a,b)},dTa=function(a,b){a=Yw(a,b,ER);var c=a.getItem();b=gTa(c,b);a=eP(C(a,3));return K(b,4,a)},gTa=function(a,b){Ok(a);Ox(a);return Sx(aB(new No,
a),a.K()).setStatus(1).df(mq(b.headers)).bf(nq(b.headers))},S6=function(a,b,c){if(!c.json)throw Op(b,c);var d=!1;b instanceof Ao&&(d=en(b.request)&&!!L(b.request,12));Ux(["drive#file","drive#adminFile","drive#revision"],c.json);return PSa(a.g,c.json,Tx(b),c.headers,d)},T6=function(a,b){if(gB(b)){if(ln(a)){a=Yw(a,b,$qa);a=z(a,SQ,1,B())[0];b=a.S();if(Kx(b)!==0)throw Gm(Rx(b,"[Drives.Delete] Failed to delete SharedDrive "+a.getId()+": "+x(b,2)));return Sx(new No,a.getId()).setStatus(1)}if(Km(hn)(a)){b=
jfa(a,b);if(a instanceof Im)a=b;else if(Zs(b[0].result))a=b[0].result.value;else throw b[0].result.reason;return a}}return QSa(Tx(a))},Px=Lx(Mx((new Nx).setStatus(6),5),"item response does not exist");var hTa=new Map([["TYPE_UNSPECIFIED",0],["MOBILE",1],["SYNC_CLIENT",2],["APP",3]]),iTa=new Map([["TYPE_UNSPECIFIED",0],["MY_DRIVE_ROOT",1],["SHARED_DRIVE_ROOT",2],["STANDARD_FOLDER",3]]),jTa=new Map([["TYPE_UNSPECIFIED",0],["USER_DELETION",1],["TRASH_AUTO_PURGE",2],["MULTIPARENTING_MIGRATION",4],["HIERARCHY_RECONCILIATION",3],["JAMBOARD_DEPRECATION",5],["GOOGLE_WORKSPACE_MIGRATE_IMPORT",6],["EXPANSIVE_ACCESS_MIGRATION",8],["INHERITED_UPDATE",9],["LIMITED_ACCESS_MIGRATION",10]]),kTa=new Map([["TYPE_UNSPECIFIED",
0],["TRASH",1],["PERMANENT_DELETE",2]]),lTa=new Map([["TYPE_UNSPECIFIED",0],["UNTRASH",1],["REVIVE",2]]),mTa=new Map([["ROLE_UNSPECIFIED",0],["OWNER",1],["ORGANIZER",2],["FILE_ORGANIZER",3],["EDITOR",4],["COMMENTER",5],["VIEWER",6],["PUBLISHED_VIEWER",7]]),nTa=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["RESOLVED",5],["REOPENED",6]]),oTa=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["RESOLVED",
5],["REOPENED",6],["REASSIGNED",7]]),pTa=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]]),qTa=new Map([["TYPE_UNSPECIFIED",0],["FLAGGED",1],["CLEARED",2]]),rTa=new Map([["TYPE_UNSPECIFIED",0],["LOADED_FOR_VIEW",1],["VIEWED_MORE_CONTENT",2],["OPEN_WITH_APP_INITIATED",3]]),sTa=new Map([["DOMAIN_VISIBILITY_UNKNOWN",0],["DOMAIN_VISIBILITY_CONSUMER",1],["DOMAIN_VISIBILITY_SAME_DOMAIN",
2],["DOMAIN_VISIBILITY_ALL_DOMAINS",3],["DOMAIN_VISIBILITY_RESTRICTED",4]]),tTa=new Map([["NAMED_PARTY_UNKNOWN",0],["NAMED_PARTY_UNNAMED",1],["NAMED_PARTY_NAMED",2]]),uTa=new Map([["TYPE_UNSPECIFIED",0],["DOWNLOADED",1],["DOWNLOAD_INITIATED",2],["PRINT_INITIATED",3]]),vTa=new Map([["UNSPECIFIED_REFERENCE_TYPE",0],["LINK",1],["DISCUSS",2]]),wTa=new Map([["FEATURE_UNSPECIFIED",0],["SHARING_OUTSIDE_DOMAIN",1],["DIRECT_SHARING",2],["ITEM_DUPLICATION",3],["DRIVE_FILE_STREAM",4],["READERS_CAN_DOWNLOAD",
6],["WRITERS_CAN_DOWNLOAD",7]]),xTa=new Map([["RESTRICTION_UNSPECIFIED",0],["UNRESTRICTED",1],["FULLY_RESTRICTED",2]]),yTa=new Map([["STATUS_UNSPECIFIED",0],["IN_PROGRESS",1],["COMPLETED",2],["CANCELLED",3]]),zTa=new Map([["APPROVAL_PROCESS_UNSPECIFIED",0],["ESIGNATURE_APPROVAL",2],["AD_HOC_APPROVAL",1],["ALIGNMENT_APPROVAL",3]]),ATa=new Map([["DECISION_UNSPECIFIED",0],["APPROVED",1],["DECLINED",2]]),BTa=new Map([["TYPE_UNSPECIFIED",0],["LABEL_ADDED",1],["LABEL_REMOVED",2],["LABEL_FIELD_VALUE_CHANGED",
3]]),CTa=new Map([["PUBLISH_MODE_UNSPECIFIED",0],["NONE",1],["FIXED",2],["AUTO",3]]),DTa=new Map([["REASON_UNSPECIFIED",0],["ORPHAN_REPARENTED",1],["OWNERSHIP_TRANSFER_REPARENTED",2],["UNMOVABLE_ITEM_REPARENTED",3]]),JTa=function(a){return a.map(function(b){var c=new Ala;if(b.primaryActionDetail){var d=ETa(b.primaryActionDetail);K(c,2,d)}b.actors&&(d=FTa(b.actors),yu(c,3,d));b.actions&&(d=GTa(b.actions),yu(c,4,d));b.targets&&(d=HTa(b.targets),yu(c,5,d));b.timestamp&&(d=U6(b.timestamp),y(c,6,Bla,d));
b.timeRange&&(b=ITa(b.timeRange),y(c,7,Bla,b));return c})},GTa=function(a){return a.map(function(b){var c=new vL;if(b.detail){var d=ETa(b.detail);K(c,1,d)}if(b.source){d=b.source;let f=new oL;if(d.type){var e=hTa.get(d.type);UF(f,2,e)}d.appId&&TF(f,1,d.appId);K(c,2,f)}b.actor&&(d=KTa(b.actor),K(c,3,d));b.target&&(d=LTa(b.target),K(c,4,d));b.timestamp&&(d=U6(b.timestamp),y(c,5,zla,d));b.timeRange&&(b=ITa(b.timeRange),y(c,6,zla,b));return c})},HTa=function(a){return a.map(function(b){return LTa(b)})},
W6=function(a){return a.map(function(b){return V6(b)})},MTa=function(a){return a.map(function(b){var c=new ela;if(b.parent){var d=V6(b.parent);K(c,1,d)}b.shortcut&&(b=V6(b.shortcut),K(c,2,b));return c})},LTa=function(a){var b=new yla;if(a.driveItem){var c=X6(a.driveItem);y(b,1,uL,c)}if(a.drive){var d=a.drive,e=new tL;d.name&&TF(e,1,d.name);d.title&&e.setTitle(d.title);d.root&&(c=e,d=X6(d.root),K(c,3,d));y(b,5,uL,e)}a.fileComment&&(e=a.fileComment,c=new xla,e.legacyCommentId&&TF(c,1,e.legacyCommentId),
e.legacyDiscussionId&&TF(c,2,e.legacyDiscussionId),e.linkToDiscussion&&TF(c,3,e.linkToDiscussion),e.parent&&(a=c,e=X6(e.parent),K(a,4,e)),y(b,3,uL,c));return b},V6=function(a){var b=new Yka;if(a.driveItem){var c=a.driveItem;let f=new gL;c.name&&TF(f,1,c.name);c.title&&f.setTitle(c.title);c.mimeType&&TF(f,6,c.mimeType);if(c.driveFile){var d=new eL;y(f,8,hL,d)}if(c.driveFolder){d=f;var e=NTa(c.driveFolder);y(d,9,hL,e)}c.driveShortcut&&(d=f,c=OTa(c.driveShortcut),y(d,10,hL,c));y(b,1,Zka,f)}a.drive&&
(a=PTa(a.drive),y(b,3,Zka,a));return b},X6=function(a){var b=new rL;a.name&&TF(b,1,a.name);a.title&&b.setTitle(a.title);a.mimeType&&TF(b,6,a.mimeType);var c=Number(a.version);isFinite(c)&&Ge(b,5,$c(c),"0");if(a.owner){var d=a.owner;c=new vla;if(d.domain){var e=c,f=QTa(d.domain);K(e,3,f)}d.user&&(e=c,f=Y6(d.user),y(e,1,wla,f));d.drive&&(e=c,d=PTa(d.drive),y(e,4,wla,d));K(b,7,c)}a.driveFile&&(c=new eL,y(b,8,sL,c));a.driveFolder&&(c=NTa(a.driveFolder),y(b,9,sL,c));a.driveShortcut&&(a=OTa(a.driveShortcut),
y(b,10,sL,a));return b},PTa=function(a){var b=new iL;a.name&&TF(b,1,a.name);a.title&&b.setTitle(a.title);return b},NTa=function(a){var b=new fL;a.type&&(a=iTa.get(a.type),UF(b,6,a));return b},OTa=function(a){var b=new Xka;a.targetName&&TF(b,1,a.targetName);a.targetMimeType&&TF(b,2,a.targetMimeType);return b},FTa=function(a){return a.map(function(b){return KTa(b)})},KTa=function(a){var b=new tla;if(a.user){var c=Y6(a.user);y(b,1,qL,c)}a.anonymous&&(c=new rla,y(b,2,qL,c));if(a.impersonation){var d=
a.impersonation,e=new sla;d.impersonatedUser&&(c=e,d=Y6(d.impersonatedUser),K(c,1,d));y(b,3,qL,e)}a.system&&(d=a.system,e=new pL,d.type&&(c=e,d=jTa.get(d.type),UF(c,1,d)),y(b,4,qL,e));a.administrator&&(c=new mla,y(b,5,qL,c));a.agent&&(c=a.agent,a=new pla,c.knownAgent&&(e=c.knownAgent,d=new ola,e.personName&&TF(d,1,e.personName),e.displayName&&TF(d,2,e.displayName),e.photoUrl&&TF(d,3,e.photoUrl),y(a,1,qla,d)),c.deletedAgent&&(c=c.deletedAgent,e=new nla,c.personName&&TF(e,1,c.personName),y(a,2,qla,
e)),K(b,7,a));return b},RTa=function(a){return a.map(function(b){return Y6(b)})},Y6=function(a){var b=new Pka;if(a.knownUser){var c=a.knownUser;let d=new Nka;c.personName&&TF(d,1,c.personName);c.isCurrentUser&&RF(d,2,c.isCurrentUser);c.displayName&&TF(d,3,c.displayName);c.photoUrl&&TF(d,4,c.photoUrl);y(b,2,bL,d)}a.unknownUser&&(c=new Oka,y(b,4,bL,c));a.deletedUser&&(a=new Mka,y(b,3,bL,a));return b},U6=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;var c=new uk;a=Ge(c,1,
Pc(a),"0");return is(a,2,b)},ITa=function(a){var b=new ula;if(a.startTime){var c=U6(a.startTime);K(b,1,c)}a.endTime&&(a=U6(a.endTime),K(b,2,a));return b},QTa=function(a){var b=new kL;a.name&&TF(b,1,a.name);a.legacyId&&TF(b,3,a.legacyId);a.audienceDisplayName&&TF(b,4,a.audienceDisplayName);return b},ETa=function(a){var b=new nL;if(a.create){var c=a.create;let Ea=new cp;if(c.new){var d=new ala;y(Ea,1,jL,d)}if(c.upload){var e=new bla;y(Ea,2,jL,e)}if(c.copy){var f=c.copy;let Hb=new $ka;if(f.originalObject){var g=
V6(f.originalObject);K(Hb,1,g)}y(Ea,3,jL,Hb)}y(b,1,dp,Ea)}if(a.edit){var h=new ep;y(b,2,dp,h)}if(a.move){var l=a.move;let Ea=new fp;if(l.addedParents){var m=Ea,p=W6(l.addedParents);yu(m,1,p)}if(l.removedParents){var t=Ea,w=W6(l.removedParents);yu(t,2,w)}l.fromOwnershipTransfer&&RF(Ea,3,l.fromOwnershipTransfer);if(l.reparents){var A=Ea,M=l.reparents.map(STa);yu(A,4,M)}if(l.multiparentingMigration){var da=l.multiparentingMigration;let Hb=new fla;if(da.removedParents){var ja=Hb,Ja=W6(da.removedParents);
yu(ja,2,Ja)}if(da.migratedParents){var Ma=Hb,Ib=MTa(da.migratedParents);yu(Ma,1,Ib)}K(Ea,5,Hb)}y(b,3,dp,Ea)}if(a.rename){var Rb=a.rename;let Ea=new gp;Rb.oldTitle&&TF(Ea,1,Rb.oldTitle);Rb.newTitle&&TF(Ea,2,Rb.newTitle);y(b,4,dp,Ea)}if(a.delete){var Zb=a.delete;let Ea=new hp;if(Zb.type){var Ue=Ea,ti=kTa.get(Zb.type);UF(Ue,1,ti)}y(b,5,dp,Ea)}if(a.restore){var zd=a.restore;let Ea=new ip;if(zd.type){var ui=Ea,gh=lTa.get(zd.type);UF(ui,1,gh)}y(b,6,dp,Ea)}if(a.permissionChange){var Qd=a.permissionChange;
let Ea=new jp;if(Qd.addedPermissions){var Sj=Ea,Nf=Z6(Qd.addedPermissions);yu(Sj,1,Nf)}if(Qd.removedPermissions){var Tj=Ea,tl=Z6(Qd.removedPermissions);yu(Tj,2,tl)}if(Qd.resharedPermissions){var wg=Ea,ul=Z6(Qd.resharedPermissions);yu(wg,3,ul)}if(Qd.otherActivePermissions){var En=Ea,vl=Z6(Qd.otherActivePermissions);yu(En,4,vl)}y(b,7,dp,Ea)}if(a.comment){var ye=a.comment;let Ea=new kp;if(ye.post){var Uj=ye.post;let Hb=new Vka;if(Uj.subtype){var wl=nTa.get(Uj.subtype);UF(Hb,1,wl)}y(Ea,1,dL,Hb)}if(ye.assignment){var hh=
ye.assignment;let Hb=new Uka;if(hh.subtype){var ih=oTa.get(hh.subtype);UF(Hb,1,ih)}if(hh.assignedUser){var Fn=Y6(hh.assignedUser);K(Hb,7,Fn)}y(Ea,2,dL,Hb)}if(ye.suggestion){var vi=ye.suggestion;let Hb=new Wka;if(vi.subtype){var Vj=pTa.get(vi.subtype);UF(Hb,1,Vj)}y(Ea,3,dL,Hb)}if(ye.mentionedUsers){var xl=Ea,Gn=RTa(ye.mentionedUsers);yu(xl,7,Gn)}y(b,8,dp,Ea)}if(a.dlpChange){var Wj=a.dlpChange;let Ea=new lp;if(Wj.type){var wi=Ea,Hn=qTa.get(Wj.type);UF(wi,1,Hn)}y(b,9,dp,Ea)}var Xj=a.view;if(Xj){let Ea=
new mp,Hb=rTa.get(Xj.type);Hb&&UF(Ea,1,Hb);let Nn=Xj.viewHistoryVisibility;if(Nn){let Zj=new lla,ak=sTa.get(Nn.domainPolicyVisibilityState);ak&&UF(Zj,1,ak);let bk=tTa.get(Nn.namedPartyState);bk&&UF(Zj,2,bk);K(Ea,2,Zj)}y(b,10,dp,Ea)}var xi=a.download;if(xi){let Ea=new np,Hb=uTa.get(xi.type);Hb&&UF(Ea,1,Hb);y(b,11,dp,Ea)}if(a.reference){var je=a.reference;let Ea=new op;if(je.type){var Fc=Ea,ze=vTa.get(je.type);UF(Fc,1,ze)}if(je.context){var jd=je.context;let Hb=new $K;jd.description&&Hb.setDescription(jd.description);
jd.url&&TF(Hb,2,jd.url);K(Ea,2,Hb)}y(b,12,dp,Ea)}if(a.settingsChange){var xg=a.settingsChange;let Ea=new pp;if(xg.restrictionChanges){var In=Ea,Jn=TTa(xg.restrictionChanges);yu(In,1,Jn)}y(b,13,dp,Ea)}if(a.approvalChange){var lc=a.approvalChange;let Ea=new qp;lc.approvalName&&TF(Ea,2,lc.approvalName);lc.approvalEventNames&&Ju(Ea,3,lc.approvalEventNames);if(lc.initiator){var Pu=Ea,yl=Y6(lc.initiator);K(Pu,4,yl)}if(lc.reviewers){var Wz=Ea,vq=RTa(lc.reviewers);yu(Wz,5,vq)}lc.status&&Ea.setStatus(yTa.get(lc.status));
if(lc.dueTime){var Qu=Ea,zl=U6(lc.dueTime);K(Qu,7,zl)}if(lc.approvalRequested){var wq=new Kka;y(Ea,8,cL,wq)}if(lc.approvalCancelled){var Ve=new Jka;y(Ea,9,cL,Ve)}if(lc.reviewerResponded){var Yj=lc.reviewerResponded;let Hb=new Rka;if(Yj.reviewerDecision){var Xz=ATa.get(Yj.reviewerDecision);UF(Hb,1,Xz)}y(Ea,10,cL,Hb)}if(lc.commentAdded){var Yz=new Lka;y(Ea,11,cL,Yz)}if(lc.reviewersChanged){var xq=lc.reviewersChanged;let Hb=new Tka;if(xq.reviewerChanges){var yq=UTa(xq.reviewerChanges);yu(Hb,1,yq)}y(Ea,
12,cL,Hb)}if(lc.dueTimeChanged){var zq=lc.dueTimeChanged;let Hb=new Qka;if(zq.oldDueTime){var Aq=U6(zq.oldDueTime);K(Hb,1,Aq)}y(Ea,13,cL,Hb)}if(lc.approvalProcess){var Kn=Ea,Ru=zTa.get(lc.approvalProcess);UF(Kn,16,Ru)}y(b,18,dp,Ea)}if(a.lock){var Su=new rp;y(b,15,dp,Su)}if(a.unlock){var Bq=new sp;y(b,16,dp,Bq)}if(a.appliedLabelChange){var Ln=a.appliedLabelChange;let Ea=new tp;if(Ln.changes){var Tu=Ea,Cq=VTa(Ln.changes);yu(Tu,1,Cq)}y(b,19,dp,Ea)}if(a.publishChange){var Al=a.publishChange;let Ea=new up;
if(Al.oldPublishState){var Dq=Ea,Uu=WTa(Al.oldPublishState);K(Dq,1,Uu)}if(Al.newPublishState){var Eq=Ea,Fq=WTa(Al.newPublishState);K(Eq,2,Fq)}y(b,20,dp,Ea)}if(a.linkShareMetadataChange){var Bl=a.linkShareMetadataChange;let Ea=new vp;Bl.securityUpdateEnabled&&RF(Ea,1,Bl.securityUpdateEnabled);y(b,21,dp,Ea)}if(a.inheritanceBreakAdded){var Vu=new cla;y(b,22,dp,Vu)}if(a.inheritanceBreakRemoved){var Mn=new dla;y(b,23,dp,Mn)}return b},STa=function(a){var b=new gla;a.reason&&(a=DTa.get(a.reason),UF(b,1,
a));return b},Z6=function(a){return a.map(function(b){var c=new ila;if(b.role){var d=mTa.get(b.role);UF(c,1,d)}b.user&&(d=Y6(b.user),y(c,2,mL,d));if(b.group){d=b.group;let e=new lL;d.email&&TF(e,1,d.email);d.title&&e.setTitle(d.title);y(c,3,mL,e)}b.domain&&(d=QTa(b.domain),y(c,4,mL,d));b.anyone&&(d=new hla,y(c,5,mL,d));b.allowDiscovery&&RF(c,6,b.allowDiscovery);return c})},TTa=function(a){return a.map(function(b){var c=new kla;if(b.feature){var d=wTa.get(b.feature);UF(c,1,d)}b.newRestriction&&(b=
xTa.get(b.newRestriction),UF(c,2,b));return c})},UTa=function(a){return a.map(function(b){var c=new Ska;if(b.removedReviewer){var d=Y6(b.removedReviewer);K(c,3,d)}b.addedReviewer&&(b=Y6(b.addedReviewer),K(c,4,b));return c})},VTa=function(a){return a.map(function(b){var c=new aL;b.label&&TF(c,1,b.label);b.types&&(b=XTa(b.types),Fe(c,2,b,Dc));return c})},XTa=function(a){return a.map(function(b){return BTa.get(b)})},WTa=function(a){var b=new jla;if(a.publishMode){var c=CTa.get(a.publishMode);UF(b,1,
c)}a.signinRequired&&RF(b,2,a.signinRequired);a.publishedTime&&(a=U6(a.publishedTime),K(b,3,a));return b};var lfa=new Map([["WEB_ONLY",1],["WEB_AND_CHROME_EXTENSION",2],["CHROME_EXTENSION_ONLY",3]]),mfa=new Map([["application",1],["document",2],["documentShared",3]]);var YTa=function(a,b){this.g=a;this.j=b},ZTa=function(a){var b=new EM,c=MF(a,2);c!=null&&Vr(b,3,Number(c));c=MF(a,1);YF(a,1)&&c!=null&&Vr(b,2,Number(c));$ma(b,z(a,JQ,3,B()).map(function(d){var e=new wM;var f=Number(MF(d,1));e=Vr(e,1,f);It(d,4)&&S(d,3)&&(Hl(d,4)===2&&AM(e,d.Ea()),xM(e,d.Ea()));d.Zb()?zM(e,d.getItem()):ds(d,Pk,7)&&zM(e,O(d,Pk,7));P(d,2)&&Q(d,2)&&!e.getItem()&&yM(e);return e}));return b};var nfa=new Map([["QUEUED",1],["COUNTING",3],["BUILDING",2],["SUCCEEDED",4],["FAILED",5]]);var Nfa=new Map([["READ",2],["WRITE",3],["COMMENT",4]]),qfa=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);var $Ta=function(a){this.J=a},aUa=function(a,b,c){try{b()}catch(d){if(d instanceof TypeError)return a.J.Da("Response Parser: Error parsing type "+c+".",d),!1;throw d;}return!0};var $6=function(a,b){this.J=b.da("response.metadata.DriveMetadataParser");this.F=a};U($6,$Ta);
var bUa=function(a,b){a=Mra(b)[0];b=O(a,LQ,2);var c=a.getId();a=dO(new cO,z(b,$N,4,B()).map(function(d){return aO(d,c)})).setStatus(1);return new cZ(a)},dUa=function(a,b,c){var d=new cO,e=Object.values(c.categoryMetadata||{});dO(d,e.map(function(f){return cUa(a,f,b.Ea())})).setStatus(1);return new cZ(d,bx(c))},cUa=function(a,b,c){c=aO(hoa(new $N,b.categoryName),c);b=Object.values(b.attributeValues||[]);ioa(c,b.map(function(d){var e=foa(new XN,d.id);return a.setValue(e,d)?e:null}).filter(function(d){return d!==
null}));return c};$6.prototype.setValue=function(a,b){var c=b.valueType,d=eUa.get(c);H(a,4,d);return fUa(this,a,c,b[c])};
var fUa=function(a,b,c,d){return aUa(a,function(){gUa(a,c,b)(d)},c)},gUa=function(a,b,c){switch(b){case "text":return function(d){return c.setTextValue(d)};case "selection":return function(d){return c.setSelectionValue(d)};case "selectionList":return function(d){return YN(c,d)};case "integer":return function(d){return c.setIntegerValue(d)};case "user":return function(d){return c.setUserValue(lx(d,a.F))};case "userList":return function(d){ZN(c,d.map(function(e){return lx(e,a.F)}))};case "dateString":return function(d){return c.setDateStringValue(d)};
default:throw new TypeError("Rd`"+b);}},eUa=new Map([["text",2],["selection",5],["selectionList",6],["integer",7],["user",10],["userList",11],["dateString",12]]);var hUa=function(a){this.P=a},jUa=function(a,b){try{let c;return hpa(gpa(new UO,(c=b.labels)==null?void 0:c.map(function(d){return iUa(a,d)})).setStatus(1),b.nextPageToken)}catch(c){throw a.P.da("response.metadata.LabelTaxonomyParser").Da("Response Parser: Error parsing label taxonomy "+c),new G("Response Parser: Error parsing label taxonomy",null,c);}},iUa=function(a,b){try{let c,d,e=Toa(Roa(Qoa(b.id),b.revisionId),b.learnMoreUri).setTitle((c=b.properties)==null?void 0:c.title).setDescription((d=
b.properties)==null?void 0:d.description);b.fields&&Soa(e,b.fields.map(function(f){var g=new BO;g=D(g,1,f.id);if(f.properties){var h=f.properties;var l=new Noa;l=D(l,1,h.displayName);l=I(l,2,h.required);h=D(l,3,h.insertBeforeField);K(g,8,h)}switch(!0){case !!f.textOptions:var m=f.textOptions;f=new Ooa;f=J(f,1,m.minLength);m=J(f,2,m.maxLength);y(g,2,CO,m);break;case !!f.integerOptions:m=f.integerOptions;f=new Moa;m.minValue===void 0||Number.isNaN(Number(m.minValue))||Vr(f,1,Number(m.minValue));m.maxValue===
void 0||Number.isNaN(Number(m.maxValue))||Vr(f,2,Number(m.maxValue));y(g,4,CO,f);break;case !!f.dateOptions:f=f.dateOptions;h=new Loa;l=(m=kUa.get(f.dateFormatType))!=null?m:0;m=H(h,1,l);m=D(m,2,f.dateFormat);f.minValue&&(h=Iz(f.minValue),K(m,3,h));f.maxValue&&(f=Iz(f.maxValue),K(m,4,f));y(g,5,CO,m);break;case !!f.selectionOptions:m=hga(f.selectionOptions);y(g,6,CO,m);break;case !!f.userOptions:h=f.userOptions;f=new Poa;h.listOptions&&(m=f,h=Kz(h.listOptions),K(m,1,h));y(g,7,CO,f);break;default:throw new TypeError("Sd");
}return g}));return e}catch(c){throw a.P.da("response.metadata.LabelTaxonomyParser").Da("Response Parser: Error parsing label taxonomy "+c),new G("Response Parser: Error parsing label taxonomy",null,c);}},kUa=new Map([["DATE_FORMAT_UNSPECIFIED",0],["LONG_DATE",1],["SHORT_DATE",2]]);var lUa=function(a){this.J=a.da("response.metadata.MetadataParser")};U(lUa,$Ta);
var nUa=function(a,b){var c=new iO;Aoa(c,(b.categories||[]).map(function(d){return mUa(a,d)}));c.setStatus(1);return new RBa(c,bx(b))},mUa=function(a,b){var c,d=zoa(qoa(woa(voa(uoa(poa(ooa(noa(new hO,b.name),b.categoryName),b.latestName).setTitle(b.title).setDescription(b.description),$w(b.createTime)),$w(b.updateTime)),$w(b.publishTime)),((c=b.attributes)!=null?c:[]).map(function(e){a:{var f=e.type;var g=new VN;g=D(g,1,e.id);g=D(g,2,e.queryGuid);g=D(g,3,e.helpText);g=D(g,4,e.displayName);if(e.attributeDisplayHints){var h=
oUa(e.attributeDisplayHints);K(g,5,h)}if(e.capabilities){h=e.capabilities;var l=new Rna;l=I(l,1,h.canSearch);h=I(l,2,h.canWrite);K(g,6,h)}if(f&&(h=pUa.get(f),H(g,7,h),e=e[Hm(f)+"Options"],!qUa(a,g,f,e))){f=null;break a}f=g}return f}).filter(function(e){return e!==null})),b.customer);b.createdBy&&roa(d,a7(b.createdBy));b.Ft&&soa(d,a7(b.Ft));b.publishedBy&&toa(d,a7(b.publishedBy));b.displayHints&&xoa(d,oUa(b.displayHints));b.capabilities&&yoa(d,rUa(b.capabilities));b.learnMoreUri&&D(d,15,b.learnMoreUri);
return d},oUa=function(a){var b=new aoa;b=I(b,1,a.disabled);b=I(b,2,a.hidden);b=I(b,3,"activatedInAllDrives"in a?a.activatedInAllDrives:void 0);return I(b,4,"required"in a?!!a.required:!1)},rUa=function(a){var b=new moa;b=I(b,1,a.canSearch);b=I(b,2,a.canApply);b=I(b,4,a.canRemove);return I(b,3,a.canManageSharedDriveActivation)},qUa=function(a,b,c,d){return aUa(a,function(){sUa(c,b)(d)},c)},uUa=function(a){var b=new Wna;Xna(b,(a.choices||[]).map(function(c){var d=new TN;d=D(d,1,c.label).setValue(c.value);
c.description&&d.setDescription(c.description);if(c.capabilities){var e=c.capabilities;var f=new Una;f=I(f,1,e.canSearch);e=I(f,2,e.canSelect);K(d,3,e)}c.displayHints&&(c=c.displayHints,e=new Vna,e=I(e,1,c.disabled),e=I(e,2,c.hidden),c.badgePriority&&Vr(e,5,c.badgePriority),c.badgeColors&&(f=tUa(c.badgeColors),K(e,3,f)),c.darkBadgeColors&&(c=tUa(c.darkBadgeColors),K(e,4,c)),K(d,4,e));return d}));return b},tUa=function(a){var b=new Rz;var c=b7(a.backgroundColor);b=K(b,1,c);c=b7(a.foregroundColor);
b=K(b,2,c);a=b7(a.soloColor);return K(b,3,a)},b7=function(a){var b=new Tz;b=Uz(b,1,a.red);b=Uz(b,2,a.green);b=Uz(b,3,a.blue);a.alpha&&(a=(new Vz).setValue(a.alpha),K(b,4,a));return b},vUa=function(a){var b=new Hz;b=J(b,1,a.year);b=J(b,2,a.month);return J(b,3,a.day)},a7=function(a){return Gv(Hv(1),a.personName.split("/")[1])},sUa=function(a,b){switch(a){case "TEXT":return function(c){c=c===void 0?{}:c;var d=new Zna;d=J(d,1,c.minSize);c=J(d,2,c.maxSize);return y(b,8,WN,c)};case "SELECTION":return function(c){c=
uUa(c);return y(b,14,WN,c)};case "SELECTION_LIST":return function(c){var d=new Yna;d=J(d,1,c.maxEntries);c=uUa(c.options);c=K(d,2,c);return y(b,15,WN,c)};case "INTEGER":return function(c){var d=new Tna;d=I(d,1,c.showThousandsSeparator);d=SF(d,2,c.minValue);c=SF(d,3,c.maxValue);return y(b,11,WN,c)};case "USER":return function(){var c=new UN;return y(b,17,WN,c)};case "USER_LIST":return function(c){var d=new $na;c=J(d,1,c.maxEntries);d=new UN;c=K(c,2,d);return y(b,18,WN,c)};case "DATE":return function(c){var d=
new Sna;d=D(d,4,c.dateFormat);var e=vUa(c.minValue);d=K(d,2,e);c=vUa(c.maxValue);c=K(d,3,c);return y(b,19,WN,c)};default:throw new TypeError("Td`"+a);}},pUa=new Map([["TEXT",2],["SELECTION",5],["SELECTION_LIST",6],["INTEGER",7],["USER",10],["USER_LIST",11],["DATE",12]]);var iga={movable:1,deadlineExceeded:2,exceedsMoveSizeLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7,exceedsMultipleAppearanceLimit:14,quotaExceeded:15,unmovableSourceItems:16,destinationNotFound:17,sourceAlreadyInSharedDrive:18},oga={insufficientPermission:1,differentCustomer:2,abuse:3,blockedType:4,sharedDriveNotFound:5,alreadyInSharedDrive:6,editorMoveInDisabled:8,ownerMustBeMemberOfDestinationSharedDrive:9,cannotMoveAsAdmin:10,
other:7};var wUa=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,y,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us|qw|rt|xx)\\.((googleusercontent)|(google)))|((photos|testonly|work)\\.fife\\.usercontent\\.google)|([\\w\\-]+\\.fife\\.usercontent\\.google)|(([1-4]\\.bp\\.blogspot)|(bp[0-3]\\.blogger))|(ccp-lh\\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\\.(ggpht|googleusercontent))|(gm[1-4]\\.ggpht)|(play-(ti-)?lh\\.googleusercontent)|(gz[0-1]\\.googleusercontent)|(lh3\\-gm\\.google)|(((yt[3-4])|(sp[1-3]))\\.(ggpht|googleusercontent)))\\.com)|(drive\\.google\\.com\\/drive\\-(usercontent|viewer))|(dp[3-6]\\.googleusercontent\\.cn)|(lh[3-6]\\.(googleadsserving\\.cn|xn--9kr7l\\.com))|((photos|drive|contribution)\\-image\\-(dev|qa)(-us|-eu)?(-auth|-cookie)?\\.corp\\.google\\.com)|(photos\\-image\\-dev\\-dl\\-(auth|eu|us)\\.corp\\.google\\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\\.sandbox\\.google\\.com\\/image)|(image\\-(dev|qa)\\-lighthouse(-auth)?\\.sandbox\\.google\\.com(\\/image)?)|(drive\\-qa\\.corp\\.google\\.com\\/drive\\-(usercontent|viewer))|(docs(\\-(dev|qa)\\.corp)?\\.google\\.com\\/(u\\/[0-9]+\\/)?(docs|sheets|slides|drawings|forms|videos|pictures)\\-images\\-(rt|qw))|(docs\\.sandbox\\.google\\.com\\/(u\\/[0-9]+\\/)?(docs|sheets|slides|drawings|forms|videos|pictures)\\-images)|(sites\\.google\\.com\\/(u\\/[0-9]+\\/)?sites(v)?\\-images\\-(rt|qw))|(atari-green-test\\.corp\\.google\\.com\\/(u\\/[0-9]+\\/)?sites(v)?\\-images\\-(rt|qw))|(sites\\.sandbox\\.google\\.com\\/(u\\/[0-9]+\\/)?sites(v)?\\-images))\\/",
"i"),xUa=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,yUa=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,zUa=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var AUa=function(a,b,c){this.j=a;this.F=b;this.g=c},BUa=function(a,b){return(b.items||[]).map(function(c){return c7(a,c)})},c7=function(a,b){var c=new TL,d=ax(b.colorRgb);d&&Vr(c,2,d);Sla(c,d7(a,b.backgroundImageLink));I(c,3,b.trusted);Tla(c,d7(a,b.backgroundImageGridViewLink));Ula(c,d7(a,b.backgroundImageListViewLink));I(c,7,b.hidden);I(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&UL(c,d.map(function(e){var f=new eC;return D(f,1,e.category)}));b.corpusLimits&&(d=Number(b.corpusLimits.itemsCountCapacityUsedPercentage),
isNaN(d)||Qla(zB(c,SL,10),d),d=Number(b.corpusLimits.itemsCountCapacityUsedPercentageNotificationThreshold),isNaN(d)||Rla(zB(c,SL,10),d));c=uM(Rv(sM(ly(nM(Mk(ey(new Pk,b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id).qc(2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=Pv(jx(b.capabilities),!0),Ps(c,d));b.creator&&(d=lx(b.creator,a.F),rM(c,d));b.permissionsSummary&&qM(c,$Sa(a.j,b.permissionsSummary));b.restrictions&&xma(c,CUa(b.restrictions));
if(b.quotaInfo){let e;if(!isNaN(Number(b==null?void 0:(e=b.quotaInfo)==null?void 0:e.individualQuotaBytesTotal))){let f;Fma(c,Number(b==null?void 0:(f=b.quotaInfo)==null?void 0:f.individualQuotaBytesTotal))}isNaN(Number(b.quotaInfo.quotaBytesUsed))||Vr(c,143,Number(b.quotaInfo.quotaBytesUsed))}return c},CUa=function(a){var b=new QL;b=I(b,1,a.copyRequiresWriterPermission);b=I(b,3,a.domainUsersOnly);"teamMembersOnly"in a&&I(b,4,a.teamMembersOnly);return b},d7=function(a,b){var c;if(c=a.g&&b)c=wUa.test(b)||
xUa.test(b)||yUa.test(b)||zUa.test(b);return c?b.replace("/d/","/"+a.g+"/"):b};var DUa={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,DRIVE_BE_EX:7,DRIVE_SHARING:9,DRIVE_CSPP:13};rh(DUa);var sga={active:1,archived:2};var e7={},Iga=(e7[0]="newComment",e7[1]="newReply",e7[2]="updatedSuggestionQuote",e7[3]="deletedComment",e7[4]="deletedReply",e7[5]="newMentions",e7[6]="newSuggestion",e7[7]="acceptedSuggestion",e7[8]="rejectedSuggestion",e7[9]="resolvedComment",e7[10]="reopenedComment",e7[11]="newTodo",e7[12]="reassignedTodo",e7),f7={},Ega=(f7[0]="unknown",f7[1]="nonGoogleAccount",f7[2]="googleAccount",f7[3]="unverifiedMention",f7),g7={},Fga=(g7[0]="unknownSignatureVersion",g7[1]="initialSignatureVersion",g7),h7=
{},Jga=(h7[0]="unspecifiedEditSource",h7[1]="blobComments",h7[2]="pairedDoc",h7[3]="officeEditingMode",h7[4]="esignature",h7[5]="formFilling",h7),i7={},EUa=(i7[1]="active",i7[2]="archived",i7),j7={},Gga=(j7[0]="unset",j7[1]="default",j7[2]="small",j7[3]="size16kb",j7),k7={},Hga=(k7[0]="unsetKeyFormat",k7[1]="tinkKeyset",k7[2]="tinkAesGcmKey",k7);var l7=Ub(function(a){return po(a)&&kRa(a)});var m7=function(a,b,c,d){R6.call(this,b,c);var e=this;this.O=a;this.o=d;this.G=new wt(function(){return new lUa(e.P)});this.B=new wt(function(){return new $6(e.F,e.P)});this.D=new wt(function(){return new hUa(e.P)});this.j=new AUa(this.g,b,C(b,100));this.N=new YTa(this.g,this.j)};U(m7,R6);
m7.prototype.C=function(a,b){if(a instanceof YO)var c=T6(a,b);else{if(uo instanceof Object&&a instanceof uo){if(!b.json)throw Op(a,b);var d=b.json;let oa=new HQ;d.nextPageToken&&TF(oa,2,d.nextPageToken);if(d.activities){var e=oa,f=JTa(d.activities);yu(e,1,f)}var g=oa}else{if(Km(an)(a))var h=FUa(this,a,b);else{if(a instanceof yL)var l=S6(this,a,b);else{if(a instanceof nP)var m=(new oP).setStatus(1);else{if(a instanceof $O)var p=n7(this,a,b);else{if(a instanceof vo){var t=a.request;if(!b.json)throw Op(t,
b);Ux(["drive#categoryMetadataList"],b.json);var w=dUa(this.B.get(),t,b.json)}else{if(a instanceof eO){if(!b.json)throw Op(a,b);Ux(["drive#teamDrive","drive#drive"],b.json);var A=loa((new fO).setStatus(1),c7(this.j,b.json))}else{if(a instanceof wo)var M=n7(this,a,b);else{if(a instanceof QO)var da=new RO;else{if(a instanceof mQ)var ja=mB(a,b);else{if(a instanceof zL)var Ja=Xx(void 0,L(a,1));else{if(Apa(a)){var Ma=Promise,Ib=Ma.resolve,Rb=new MP;var Zb=N(Rb,1,Jb(b.text,!1,!0));var Ue=Ib.call(Ma,Zb)}else{if(Km(hn)(a))var ti=
T6(a,b);else{if(a instanceof qP)var zd=new wP;else{if(a instanceof bP)var ui=T6(a,b);else{if(a instanceof zN)var gh=T6(a,b);else{if(nn instanceof Object&&pn(a)){if(gB(b)){let oa=Yw(a,b,bra);if(DF(oa,MK,1)>1)throw Error("Vd");var Qd=lQ((new kQ).setStatus(1),z(oa,MK,1,B())[0])}else Qd=lQ(new kQ,O(a,MK,1));var Sj=Qd}else{if(a instanceof lB)var Nf=mB(a,b);else{if(a instanceof LO)var Tj=T6(a,b);else{if(a instanceof CL)var tl=dB(a,b);else{if(a instanceof rP){if(!b.json)throw Op(a,b);Ux(["drive#permission"],
b.json);var wg=(new wP).setStatus(1),ul=P6(this.g,b.json);var En=K(wg,2,ul)}else{if(a instanceof xo){if(!b.json)throw Op(a,b);var vl=new qFa}else{if(a instanceof tO){if(!b.json)throw Op(a,b);var ye=new rFa(b.json.exportJob.id)}else{if(a instanceof yo){if(!b.json)throw Op(a,b);var Uj=pfa(b.json)}else{if(Cn(a)&&Dn(a))var wl=xy(this.o,this.O,b.json);else{if(a instanceof FN)a:if(gB(b)){let oa=Yw(a,b,iR),cb=O(oa,hR,3);var hh=(new ty).setStatus(1);var ih=z(oa,Pk,1,B());var Fn=sy(hh,ih),vi=cb==null?void 0:
Q(cb,2);var Vj=I(Fn,8,vi);var xl=OO(Vj,cb==null?void 0:O(cb,NO,1)),Gn=cb==null?void 0:F(cb,3,B());var Wj=Ju(xl,18,Gn);var wi=PO(vy(new wy,Wj),x(oa,2))}else{if(!b.json)throw Op(a,b);if(a instanceof FN){let oa=a.V();if(oa&&Dn(oa)){wi=xy(this.o,this.O,b.json);break a}}Ux(["drive#fileList"],b.json);wi=NSa(this.g,b.json,b.headers)}else{if(a instanceof AL){if(!b.json)throw Op(a,b);Ux(["drive#app"],b.json);var Hn=b.json,Xj=new BL,xi=Vx(Hn);var je=K(Xj,2,xi).setStatus(1)}else{if(Pn(a)||Qn(a)){let oa=b.json;
if(!oa)throw Op(a,b);var Fc=gpa(new UO,[iUa(this.D.get(),oa)])}else{if(a instanceof DL)if(gB(b)){let oa=Yw(a,b,rra);var ze=new xL,jd=z(oa,Yx,1,B());var xg=yu(ze,2,jd);var In=F(oa,2,B());var Jn=Ju(xg,4,In).setStatus(1)}else{if(!b.json)throw Op(a,b);Ux(["drive#appList"],b.json);var lc=b.json,Pu=new xL,yl=kfa(lc);var Wz=yu(Pu,2,yl);Jn=Ju(Wz,4,lc.defaultAppIds).setStatus(1)}else{if(a instanceof DM)if(gB(b)){let oa=Yw(a,b,bR);var vq=ZTa(oa)}else{if(!b.json)throw Op(a,b);Ux(["drive#about","drive#changeList"],
b.json);var Qu=this.N,zl=b.json;let oa=new EM,cb=zl.largestChangeId;cb!=null&&Vr(oa,3,Number(cb));if(Uw("drive#changeList")(zl)){let Yb=zl.nextPageToken;Yb!=null&&Vr(oa,2,Number(Yb));let ad=[],$n=zl.items||[];for(let We=0;We<$n.length;We++){var wq=Qu,Ve=$n[We],Yj=new wM;let me=Vr(Yj,1,Number(Ve.id));Ve.teamDriveId?(AM(me,Ve.teamDriveId),xM(me,Ve.teamDriveId)):xM(me,Ve.fileId);Ve.file?zM(me,O6(wq.g,Ve.file)):Ve.teamDrive&&zM(me,c7(wq.j,Ve.teamDrive));Ve.deleted&&!me.getItem()&&yM(me);ad.push(me)}$ma(oa,
ad)}vq=oa}else{if(a instanceof vP){let oa=b.json;if(!oa)throw Op(a,b);Ux(["drive#permissionList"],oa);var Xz=new tP,Yz=RSa(this.g,oa);var xq=K(Xz,1,Yz);var yq=D(xq,2,bx(oa))}else{if(a instanceof SP){let oa=Yw(a,b,wra);var zq=new TP,Aq=z(oa,dP,1,B());var Kn=yu(zq,2,Aq).setStatus(1)}else{if(Km(Xn)(a))var Ru=FUa(this,a,b);else{if(a instanceof mP)var Su=Oga(a,b);else{if(a instanceof pP){if(!b.json)throw Op(a,b);var Bq=qga(b.json)}else{if(a instanceof Bo){if(!b.json)throw Op(a,b);var Ln=nUa(this.G.get(),
b.json)}else{if(a instanceof jO){if(!b.json)throw Op(a,b);var Tu=this.G.get(),Cq=b.json,Al=new kO,Dq=mUa(Tu,Cq);var Uu=K(Al,2,Dq).setStatus(1)}else{if(a instanceof FM)if(gB(b)){let oa=Yw(a,b,fra),cb=new GM,Yb=zn(oa,1);if(YF(oa,3)){let ad=Number(MF(oa,3));IM(cb,ad)}HM(cb,Yb);var Eq=cb}else{if(!b.json)throw Op(a,b);Ux(["drive#remainingCount"],b.json);var Fq=b.json;let oa=new GM,cb=Fq.nextPageToken;cb!=null&&IM(oa,Number(cb));HM(oa,Number(Fq.remainingCount));Eq=oa}else{if(a instanceof JM)if(gB(b)){let oa=
Yw(a,b,ira),cb=new KM,Yb=MF(oa,1);if(Yb!==null){let ad=Number(Yb);MM(LM(cb,ad),ad-1)}var Bl=cb}else{if(!b.json)throw Op(a,b);Ux(["drive#startPageToken"],b.json);var Vu=b.json;let oa=new KM,cb=Vu.startPageToken;if(cb!==null){let Yb=Number(cb);MM(LM(oa,Yb),Yb-1)}Bl=oa}else{if(a instanceof iP)var Mn=T6(a,b);else{if(a instanceof xP){if(!b.json)throw Op(a,b);var Ea=zga(this.o,this.O,b.json).setStatus(1)}else{if(a instanceof nQ){if(!b.json)throw Op(a,b);var Hb=vga(this.o,this.O,b.json)}else{if(a instanceof
NP)if(gB(b)){let oa=Yw(a,b,aR),cb=(new ty).setStatus(1),Yb=z(oa,$Q,1,B()),ad=a.xa();if(Yb.length!==ad.length){let We=Error("Xd");this.P.da("sync.request.FromXhrConverter").sd("Expected "+ad.length+" items in response but got "+Yb.length,We);Dk("mergeDrivewayTeamDriveGetResponses expected "+ad.length+" items in response but got "+(Yb.length+" items"),We,"severe")}let $n=Math.max(ad.length,Yb.length);for(let We=0;We<$n;We++){var Nn=void 0,Zj=We<ad.length?ad[We]:void 0,ak=We<Yb.length?Yb[We]:void 0;
if(ak){var bk=(Nn=O(ak,Pk,2))==null?void 0:Nn.K();if(Zj&&bk&&Zj!==bk)throw Gm(Error("$d"));var ck=ak.S();if(ck&&(ck==null?void 0:Kx(ck))!==0){cb.setStatus(6);let me=bk!=null?bk:Zj;if(me){let OK=Lx(Mx((new Nx).setStatus(6),Kx(ck)),x(ck,2));Ee(cb,19,Nx).set(me,OK);throw Gm(Rx(ck,"[Drives.Get] Failed to get item "+me+": "+x(ck,2)));}}else{let me=O(ak,Pk,2);Ok(me);fk(cb,2,Pk,me)}}else cb.setStatus(6),Ee(cb,19,Nx).set(Zj,Px)}var Gq=cb}else{if(!b.json)throw Op(a,b);Ux(["drive#teamDrive","drive#drive"],
b.json);Gq=sy(new ty,[c7(this.j,b.json)])}else{if(a instanceof Go)if(gB(b)){let oa=Yw(a,b,rR),cb,Yb=mA(kA(new lA,(cb=x(oa,5))!=null?cb:""),z(oa,nA,3,B()));if(XF(oa,2)){var uI=Yb,Hq=zn(oa,2);J(uI,2,Hq)}if(ds(oa,OP,1)){let ad;Yb.setStatus((ad=O(oa,OP,1).na())!=null?ad:0)}if(S(oa,4)){var bX=Yb,cX=x(oa,4);D(bX,4,cX)}var Wu=Yb}else{if(!b.json)throw Op(a,b);Ux(["drive#migrateToDrivePreFlightResponse","drive#migrateToTeamDrivePreFlightResponse"],b.json);Wu=kga(b.json)}else{if(a instanceof IN)if(gB(b)){let oa=
Yw(a,b,mR),cb=z(oa,Pk,1,B());for(var Zz=q(cb),Xu=Zz.next();!Xu.done;Xu=Zz.next())Ok(Xu.value);let Yb=sy(new ty,z(oa,Pk,1,B()));var Iq=vy(PO(new wy,x(oa,2)),Yb)}else{if(!b.json)throw Op(a,b);Ux(["drive#teamDriveList","drive#driveList"],b.json);var wI=sy(new ty,BUa(this.j,b.json));Iq=PO(vy(new wy,wI),bx(b.json))}else{if(a instanceof PP)if(gB(b)){var $z=zn(this.F,48,1E3);let oa=Yw(a,b,aR),cb=z(oa,$Q,1,B())[0],Yb=cb.S();if(Yb&&Kx(Yb)!==0)throw Gm(Rx(Yb,"[Drives.GET] Failed to get shared drive "+C(a,1)+
": "+x(Yb,2)));let ad=O(cb,Pk,2);Ok(ad);let $n=new HP,We,me;if((We=mM(ad))==null?0:(me=O(We,SL,10))==null?0:P(me,3)){let OK,Era;var dX=$n,eX=(OK=mM(ad))==null?void 0:(Era=O(OK,SL,10))==null?void 0:E(Era,3);I(dX,3,eX)}else if(YF(ad,79)){var xI=$n,yI=Number(jt(ad,79))<=$z;I(xI,3,yI)}var Yu=$n}else{if(!b.json)throw Op(a,b);Ux(["drive#teamDrive"],b.json);var aA=b.json,zI=zn(this.F,48,1E3);let oa=new HP,cb=aA.recursiveFileCount;cb&&I(oa,3,Number(cb)<=zI);Yu=oa}else{if(a instanceof GL)var Zu=dB(a,b);else{if(a instanceof
IO)if(gB(b)){let oa=Yw(a,b,AR);var bA=bUa(this.B.get(),oa)}else{if(!b.json)throw Op(a,b);Ux(["drive#categoryMetadataList"],b.json);bA=dUa(this.B.get(),a,b.json)}else{if(a instanceof AN)a:{if(gB(b)){let oa=q(GUa(new Im([a]),b)).next().value;if(Zs(oa.result)){var cA=oa.result.value;break a}throw oa.result.reason;}cA=b.json?S6(this,a,b):T6(a,b)}else{if(Jm(no)(a))var dA=GUa(a,b);else{if(a instanceof lP){if(gB(b)){let oa=Yw(a,b,Nra);var AI=Sx(new No,a.sf()).setStatus(1),BI=O(oa,dP,1);var $u=K(AI,4,BI)}else $u=
S6(this,a,b);var eA=$u}else{if(a instanceof EN)var av=n7(this,a,b);else{if(a instanceof qo)if(gB(b)){let oa=Yw(a,b,Qra);if(DF(oa,NK,1)>1)throw Error("Ud");let cb=z(oa,NK,1,B())[0];var hX=(new kQ).setStatus(1);var iX=K(hX,3,cb);var bv=lQ(iX,O(cb,MK,1))}else{if(!b.json)throw Op(a,b);Ux(["drive#setting"],b.json);var Jq=b.json,CI=new MK;var fA=D(CI,2,Jq.key);var DI=H(fA,1,Jq.namespace?DUa[Jq.namespace]:void 0);var EI=new NK;var gA=K(EI,1,DI).setValue(Jq.value);var hA=new kQ;var FI=K(hA,3,gA);bv=lQ(FI,
O(gA,MK,1))}else{if(a instanceof oQ)var iA=mB(a,b);else{if(a instanceof ht){let oa=Yw(a,b,XQ);var cv=ika(oa.oe())}else{if(a instanceof pQ)if(gB(b)){let oa=Yw(a,b,mra),cb=(new qQ).setStatus(1);for(var jA=q(z(oa,iB,1,B())),dk=jA.next();!dk.done;dk=jA.next()){let Yb=dk.value;ds(Yb,BA,3)&&Ee(cb,2,BA).set(Yb.getId(),Yb.uj())}var xa=cb}else{if(!b.json)throw Op(a,b);Ux(["drive#workspace"],b.json);var Qa=AA(b.json),Xb=new qQ;Ee(Xb,2,BA).set(Qa.K(),Qa);xa=Xb}else{if(a instanceof Ko)if(gB(b)){let oa=Yw(a,b,
oR);var id=xA(yA((new zA).setStatus(1),z(oa,BA,1,B())),x(oa,2))}else{if(!b.json)throw Op(a,b);Ux(["drive#workspaceList"],b.json);id=rga(b.json)}else{if(xn(a)){let oa=Yw(a,b,CP);var Pd=Wr(oa)}else{if(yn(a)){let oa=Yw(a,b,DP);var kc=gs(a,oa,this.o)}else{if(Km(l7)(a))var sI=n7(this,a,b);else{if(Fpa(a)){let oa=Yw(a,b,zra);var YW=(new WP).setStatus(1),ZW=z(oa,VP,1,B());var $W=yu(YW,2,ZW);var aX=x(oa,2);var vI=D($W,3,aX)}else{if(Gpa(a)){let oa=Yw(a,b,kra),cb=(new aQ).setStatus(1);if(bp(oa,$P,1,ZQ)){var fX=
cb,gX=tk(oa,$P,1,ZQ);y(fX,3,Hpa,gX)}else if(bp(oa,ZP,2,ZQ)){var jX=cb,Ae=tk(oa,ZP,2,ZQ);y(jX,4,Hpa,Ae)}var tI=cb}else{if(Jpa(a)){Yw(a,b,pra);var Gra=(new iQ).setStatus(1)}else{if(Ipa(a)){let oa=Yw(a,b,vR),cb=(new fQ).setStatus(1);if(bp(oa,eQ,1,wR)){var LXa=cb,MXa=tk(oa,eQ,1,wR);y(LXa,1,gQ,MXa)}else if(bp(oa,cQ,2,wR)){var NXa=cb,OXa=tk(oa,cQ,2,wR);y(NXa,2,gQ,OXa)}else if(bp(oa,dQ,3,wR)){var PXa=cb,QXa=tk(oa,dQ,3,wR);y(PXa,3,gQ,QXa)}var Hra=cb}else{if(Rn(a)){let oa=b.json;if(!oa)throw Op(a,b);var Ira=
jUa(this.D.get(),oa)}else Ira=null;Hra=Ira}Gra=Hra}tI=Gra}vI=tI}sI=vI}kc=sI}Pd=kc}id=Pd}xa=id}cv=xa}iA=cv}bv=iA}av=bv}eA=av}dA=eA}cA=dA}bA=cA}Zu=bA}Yu=Zu}Iq=Yu}Wu=Iq}Gq=Wu}Hb=Gq}Ea=Hb}Mn=Ea}Bl=Mn}Eq=Bl}Uu=Eq}Ln=Uu}Bq=Ln}Su=Bq}Ru=Su}Kn=Ru}yq=Kn}vq=yq}Jn=vq}Fc=Jn}je=Fc}wi=je}wl=wi}Uj=wl}ye=Uj}vl=ye}En=vl}tl=En}Tj=tl}Nf=Tj}Sj=Nf}gh=Sj}ui=gh}zd=ui}ti=zd}Ue=ti}Ja=Ue}ja=Ja}da=ja}M=da}A=M}w=A}p=w}m=p}l=m}h=l}g=h}c=g}return c};
var GUa=function(a,b){return Mra(Yw(a,b,AR)).map(function(c){var d=c.getId();try{var e=b.headers;let g=c.getId();if(!ds(c,LQ,2))throw new G("UpdateItems: no result for "+g);let h=O(c,LQ,2),l=h.S();if(Kx(l)!==0||Jt(h,3)===1)throw Rx(l,void 0,Jt(h,3));let m=h.getItem();var f=Sx(aB(new No,m),g).setStatus(1).df(mq(e)).bf(nq(e));return at(d,f)}catch(g){return c=g instanceof Error?g:Ip(g),$s(d,c)}})},n7=function(a,b,c){if(gB(c)){if(b instanceof wo)return b=Yw(b,c,Uqa),bB(O(b,Pk,1));if(Km(l7)(b)){Km(XA)(b)?
(a=Yw(b,c,nra),a=cB(z(a,$Q,1,B()))):(a=Yw(b,c,Lra),a=cB(z(a,$Q,1,B())));if(b instanceof Im)return Mga(b,a);if(a[0]instanceof G)throw a[0];return a[0]}if(po(b))return b=Yw(b,c,Ora),bB(O(b,Pk,1));throw Error("Yd");}if(!c.json)throw Op(b,c);Ux(["drive#teamDrive","drive#drive"],c.json);b=c7(a.j,c.json);return aB((new No).setStatus(1),b)},FUa=function(a,b,c){if(gB(c))return HUa(b,c);if(b instanceof Im)throw Error("Zd");return S6(a,b,c)},HUa=function(a,b){b=Cra(Yw(a,b,Bra)).map(function(c){var d=c.getId();
c=O(c,LQ,2);var e=c.S();if(e&&Kx(e)!==0)return c=Rx(e,"Driveway response returned failure: "+x(e,2)),$s(d,c);c=c.getItem();Ok(c);c=Sx(aB((new No).setStatus(1),c),c.K());return at(d,c)});if(a instanceof Im)return b;if(Zs(b[0].result))return b[0].result.value;throw b[0].result.reason;};var IUa=[{matches:function(a){return cn(a)||!1},convert:function(a,b){a=a.R;var c=b.qb,d=b.O;b=b.F;var e={},f={};e.fields=pr(d,{fields:d.zb(),anonymous:Nt(dq(b)),Yb:jv(b)});if(d=L(a,9))e.revisionId=d;e.convert=a.qf();f["content-type"]="application/json";d=a.Pc().concat([a.K()]);vu([],d,c,f);e.supportsTeamDrives=!0;Q(b,3)&&(e.enforceSingleParent=!0);return{parts:{method:"POST",U:"files/"+a.K()+"/copy",json:PA(a),fa:a.I(),Y:f,ma:e},options:{Za:!0}}},ia:1},{matches:en,convert:function(a,b){var c=a.R,
d=b.qb,e=b.O;b=b.F;if(a.config.hb===14)c=Qga(c,d,e,b);else{a={};let h={},l=!!L(c,12),m="files";l&&(m+="/"+L(c,12),a.pinned=!!Q(c,13));P(c,8)&&(a.convert=c.qf());S(c,34)&&(a.precondition=L(c,34)||void 0);a.fields=pr(e,{fields:e.zb(),anonymous:Nt(dq(b)),Yb:jv(b)});e=VA(c);h["content-type"]="application/json";a.supportsTeamDrives=!0;Q(b,3)&&(a.enforceSingleParent=!0);vu(z(c,qv,28,B()),c.Pc().concat([L(c,16),L(c,21),L(c,23)]),d,h);var f;if((f=Xl(b))!=null&&E(f,29)&&(S(c,9)||S(c,23))){d=tu(new sv,rB(c));
f=new tv;var g=pB([nB(c)]);f=K(f,3,g);d=rv(d,f);f=eb(d.aa());g=f.length;let p,t;b=(t=(p=O(b,NB,33))==null?void 0:$t(p,71))!=null?t:1E4;g>b&&(N(d,2),f=eb(d.aa()));h["x-goog-ext-525001598-jspb"]=f}c={parts:{method:l?"PUT":"POST",U:m,json:e,fa:c.I(),Y:h,ma:a},options:{Za:!0}}}return c},ia:2},{matches:Yn,convert:function(a,b){var c=a.R;b=b.qb;a=a.config;var d={},e={},f=c.V(),g=XF(c,2)?zn(c,2):-1;if(a.Yr&&a.ht){let h=a.ht();h.end&&(!g||h.end>g)&&(g=h.end)}g>-1&&(g="bytes="+g+"-",XF(c,3)&&(g+=zn(c,3)),
e.range=g);a.gk=!0;L(f,2)&&(d.revisionId=L(f,2));d.alt="media";e["X-Goog-Encode-Response-If-Executable"]="base64";Um(f,6)&&(d.cseFetchOnly=!0);Jt(f,8)&&It(f,8)&&(d.auditContext=dBa[Tn(f,8)]);vu([hN(gN(new qv,f.K()),C(f,3))],[f.K()],b,e);return{parts:{U:"files/"+f.K(),Y:e,ma:d},options:{ef:!0,Za:!0}}},ia:3},{matches:tn,convert:function(a,b){return Rga(a.R,b.qb,b.F,a.config,b.Si,b.O)},ia:4},{matches:zo,convert:function(a,b){var c=a.R;b=b.qb;if(a.config.hb===14){a=new VQ;var d={"content-type":"application/json+protobuf",
"x-goog-fieldmask":"item_id,customer_id,current_kacls_id,current_kacls_name,jwt,guest_idp"},e=C(c,1),f=C(c,5);e&&(D(a,1,e),ds(c,qv,3)&&vu([O(c,qv,3)],[e],b,d));f&&D(a,2,f);c={parts:{X:14,U:"/v1/items:generateCseToken",fa:c.I(),method:"POST",Y:d,body:a.aa()}}}else a={},d={},e=C(c,1),f=C(c,5),e?(d.fileId=e,O(c,qv,3)&&vu([O(c,qv,3)],[e],b,a)):f&&(d.parentId=f),d.role=C(c,2)||"writer",c={parts:{U:"files/generateCseToken",fa:c.I(),Y:a,ma:d}};return c},ia:5},{matches:function(){return!1},convert:function(a){a=
a.R;var b=new YQ;b=D(b,1,a.id);a=D(b,2,a.revisionId);return{parts:{X:14,U:"/v1/revision:get",fa:(new R).Gb(1),method:"POST",Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"revision(id,mime_type,modified_date_millis,original_item_name,file_size,edit_source,last_modifying_user(type),decryption_metadata(wrapped_key,kacls_id,aes_256_gcm_chunk_size,jwt,key_format,guest_idp))"},body:a.aa()}}},ia:6},{matches:function(a){return a instanceof Do},convert:function(a){var b=a.R;if(a.config.hb===
14)a={},a=(a["x-goog-upload-protocol"]="resumable",a["x-goog-upload-offset"]=""+b.o.start,a["x-goog-upload-header-content-length"]=""+b.j.size,a["x-goog-upload-command"]=b.tl?"upload, finalize":"upload",a),b={parts:{X:14,method:"PUT",U:b.B,body:b.j.blob,Y:a}};else{a={};var c=b.g.hd.Oc();c&&(a["content-type"]=c);if(b.j.size<=0)c=void 0;else{var d=b.o;c=d.start;d=d.end;var e=d-1;c=b.tl?Qm("bytes %d-%d/%d",c,e,d):b.g.g!=null?Qm("bytes %d-%d/*",c,e):Qm("bytes %d-%d/%d",c,e,b.g.fileSize)}c&&(a["content-range"]=
c);b={parts:{X:4,method:"PUT",U:b.B,body:b.j.blob,Y:a},options:{Za:!0,ef:!0}}}return b},ia:7},{matches:function(a){return a instanceof Co},convert:function(a,b){return bha(a.R,b.qb,b.O,b.F,a.config)},ia:8},{matches:function(a){return a instanceof Jo},convert:function(a){return{parts:{U:"about",fa:a.R.g,ma:{fields:"kind"}},options:{Za:!0}}},ia:9},{matches:bo,convert:function(a){a=a.R;var b=new sR;var c=C(a,1);b=D(b,1,c);c=C(a,2);b=D(b,2,c);c=C(a,3);b=D(b,3,c);YF(a,4)&&(a=Ug(jt(a,4)),Vr(b,4,a));a=new R;
a.Gb(1);return{parts:{X:14,U:"/v1/publishActivityEvent",fa:a,method:"POST",Y:{"content-type":"application/json+protobuf"},body:b.aa()}}},ia:10},{matches:un,convert:function(a,b){return Wga(a.R,b.qb,b.F,b.Ti(a.R.xa()),b.O)},ia:11}],o7=function(a){this.g=a;this.o=[];a=q(IUa);for(var b=a.next();!b.done;b=a.next())this.o.push(b.value)};
o7.prototype.convert=function(a,b){var c=this;try{return a.R instanceof Ao?$ga(a.R,a.config,this.g.O,this.g.F,this.g.qb).then(function(d){var e;return mu(d.parts,(e=d.options)!=null?e:{},{},b,c.g.F,c.g.M)}):Promise.resolve(this.j(a.R,a.config,b))}catch(d){if(d instanceof G)return Promise.reject(d);a=Ep(d);a=new G(void 0,Bp(Ew(du(new wp,"Error converting XHR: "+a.message),a.stack),4));return Promise.reject(a)}};
o7.prototype.j=function(a,b,c){a:{for(var d={R:a,config:b},e=q(this.o),f=e.next();!f.done;f=e.next()){f=f.value;var g=!1;try{g=f.matches(d.R)}catch(M){var h=a,l=f.ia,m=Ep(M);h=new G(void 0,Ew(Bp(du(new wp,"Converting "+go(h)+":\nMatcherId "+(l+": "+m.message)),4),m.stack));Dk(h.message,h,"warning")}if(g){a=f.convert(d,this.g);break a}}b=Bp(new wp,4);throw new G("Unsupported request type: "+go(a),b);}var p=a.parts;a=a.options;e=p.X===void 0?0:p.X;d=p.body;f=p.fa;g=p.json;h=p.method===void 0?"GET":
p.method;l=p.Y===void 0?{}:p.Y;m=p.ma===void 0?{}:p.ma;var t=p.U;if(p.config){p=q(Object.entries(p.config));for(var w=p.next();!w.done;w=p.next()){var A=q(w.value);w=A.next().value;A=A.next().value;b[w]=A}}return mu({X:e,U:t,ma:m,Y:l,method:h,fa:f,json:g,body:d},a!=null?a:{},b,c,this.g.F,this.g.M)};var JUa=$B("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"),
KUa=$B("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"),
LUa=$B("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"),
MUa=aC("app_icon(url,size,category),authorized,chrome_extension_id,create_in_folder_template,create_url,has_drive_wide_scope,has_gsm_listing,id,installed,is_drive_branded_app,is_source,long_description,name,object_type,open_url_template,primary_file_extension,primary_mime_type,product_id,product_url,removable,requires_authorization_before_open_with,secondary_file_extension,secondary_mime_type,short_description,supports_create,supports_import,supports_mobile_browser,supports_multi_open,supports_offline_create,supports_team_drives,type,use_by_default"),
NUa=aC("app_icon(url,size,category),authorized,chrome_extension_id,create_in_folder_template,create_url,has_drive_wide_scope,has_gsm_listing,id,installed,is_drive_branded_app,is_source,long_description,name,object_type,open_url_template,primary_file_extension,primary_mime_type,product_id,product_url,removable,requires_authorization_before_open_with,secondary_file_extension,secondary_mime_type,short_description,supports_create,supports_import,supports_mobile_browser,supports_multi_open,supports_offline_create,supports_team_drives,type,use_by_default,has_app_data"),
OUa=aC("app_icon(url,size,category),authorized,chrome_extension_id,create_in_folder_template,create_url,has_drive_wide_scope,has_gsm_listing,id,installed,is_drive_branded_app,is_source,long_description,name,object_type,open_url_template,primary_file_extension,primary_mime_type,product_id,product_url,removable,requires_authorization_before_open_with,secondary_file_extension,secondary_mime_type,short_description,supports_create,supports_import,supports_mobile_browser,supports_multi_open,supports_offline_create,supports_team_drives,type,use_by_default,has_app_data,app_data_quota_bytes_used");var PUa=[1,4],QUa=[2,4];var p7={},RUa=(p7[1]="active",p7[2]="archived",p7);var SUa=[{ia:12,matches:Zm,convert:function(a){a=a.R;var b={};return{parts:{Y:(b["content-type"]="application/json",b),method:"POST",U:"files/"+C(a,1)+"/sendAccessRequest",json:{}},options:{ef:!0}}}},{ia:13,matches:function(a){return a instanceof uo},convert:function(a){var b=a.R;a={};a.pageSize=b.pageSize;b.pageToken&&(a.pageToken=b.pageToken);var c="items/"+L(b.request,1);Q(b.request,2)?a.ancestorName=c:a.itemName=c;a.consolidationStrategy={legacy:{}};b=z(b.request,nL,5,B());b=b.length===0?null:
"detail.action_detail_case:("+b.map(Fca).join(" ")+")";a.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:(EXPANSIVE_ACCESS_MIGRATION GOOGLE_WORKSPACE_MIGRATE_IMPORT HIERARCHY_RECONCILIATION JAMBOARD_DEPRECATION MULTIPARENTING_MIGRATION)";b!==null&&(a.filter+=" "+b);b={};return{parts:{X:7,method:"POST",U:"/v2/activity:query",Y:(b["content-type"]="application/json",b),json:a}}}},{ia:14,matches:Km(an),convert:function(a,b){var c=a.R,d=b.qb;a.config.hb===14?c=dha(c,
b.F,d):(a={},Um(c,3)&&(a.useDomainAdminAccess=!0),a.fields="kind,id,parentId,teamDriveId",a.fileId=c.K(),S(c,4)&&(a.preFlightValidationToken=L(c,4)),b={},b=(b["content-type"]="application/json",b),vu([],[c.K(),C(c,2)],d,b),c={parts:{method:"POST",U:"admin/files/"+c.K()+"/migrateToTeamDrive",ma:a,json:{parentId:L(c,2)},Y:b},options:{Za:!0,ef:!0}});return c}},{ia:15,matches:bn,convert:function(a,b){a=a.R;b=b.qb;var c={appId:C(a,1)};Um(a,3)&&(c.propagate=!0);c.supportsTeamDrives=!0;var d={};vu([],[C(a,
2)],b,d);return{parts:{method:"POST",U:"files/"+C(a,2)+"/authorize",fa:a.I(),Y:d,ma:c},options:{Za:!0}}}},{ia:16,matches:npa,convert:function(a){return eha(a.R)}},{ia:17,matches:lpa,convert:function(a,b){a=a.R;b=b.Yc;var c={removeSecureLinkUpdateForAllFiles:Q(a,2)},d={};return{parts:{U:"drives/"+a.K(),method:"PUT",json:c,Y:(d["content-type"]="application/json",d),ma:{fields:jr(b,[],!0).toString()},fa:a.I()},options:{Za:!0}}}},{ia:18,matches:function(a){return a instanceof vo},convert:function(a,b){return fha(a.R,
b.qb)}},{ia:19,matches:dn,convert:function(a,b){return gha(a.R,b.Yc)}},{ia:20,matches:function(a){return a instanceof wo},convert:function(a,b){a=a.R;var c=b.Yc;b=(new OQ).setTitle(a.request.Ma());b=D(b,1,a.requestId);var d={};var e=e===void 0?[]:e;e=new fr(new gr("shared_drive",hr(c,e,14)));d["x-goog-fieldmask"]=e.toString();d["content-type"]="application/json+protobuf";a=zB(a.request,R,2);var f;Wt(a,(f=a.g())!=null?f:503);return{parts:{X:14,U:"/v1/sharedDrives:create",fa:a,method:"POST",Y:d,body:b.aa()}}}},
{ia:21,matches:fpa,convert:function(a,b){return jha(a.R,b.F)}},{ia:22,matches:fn,convert:function(a){var b=a.R;if(a.config.hb===14){var c=Vqa();b.gb()&&c.setTitle(b.Ma());a=new Wqa;a=fk(a,1,PQ,c);b={parts:{X:14,method:"POST",U:"/v1/workspaces:create",fa:b.I(),Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"responses(status,workspace(id,title,create_time_millis,update_time_millis,state))"},ma:{},body:a.aa()},options:{}}}else a={},c={},b.gb()&&(c.title=L(b,1)),S(b,3)&&(c.workspaceToken=
L(b,3)),b={parts:{method:"POST",U:"workspaces",json:c,Y:(a["content-type"]="application/json",a),ma:{fields:"kind,id,title,createdDate,modifiedDate,state"},fa:b.I()},options:{Za:!0}};return b}},{ia:23,matches:gn,convert:function(a,b){var c=a.R;if(a.config.hb===14){let d;(d=Xl(b.F))==null||Q(d,85);a=new QQ;b=c.ge();a=D(a,1,b);b=E(c,2);a=I(a,2,b);let e;c={parts:{X:14,U:"/v1/app:delete",fa:(e=c.I())!=null?e:new R,method:"POST",Y:{"content-type":"application/json+protobuf"},body:a.aa()}}}else c={parts:{method:"DELETE",
U:"apps/"+c.ge(),ma:{appId:c.ge(),deleteAppData:!!E(c,2)},fa:c.I()},options:{Za:!0}};return c}},{ia:25,matches:Km(hn),convert:function(a,b){return mha(a.R,b.qb)}},{ia:26,matches:jn,convert:function(a){a=a.R;return{parts:{method:"DELETE",U:"files/"+a.ih()+"/permissions/"+C(a,2),ma:{supportsTeamDrives:!0},fa:a.I()},options:{Za:!0}}}},{ia:27,matches:kn,convert:function(a,b){a=a.R;b=b.qb;var c=new TQ;var d=a.sf();c=D(c,1,d);d=C(a,2);c=D(c,2,d);var e;d=(e=a.I())!=null?e:new R;d.Gb(1);e={};vu([],[a.sf()],
b,e);e["content-type"]="application/json+protobuf";return{parts:{X:14,U:"/v1/revision:delete",fa:d,method:"POST",Y:e,body:c.aa()}}}},{ia:28,matches:ln,convert:function(a){a=a.R;var b=new Zqa;var c=a.K();b=He(b,1,cd,c,void 0,ed);a=zB(a,R,2);var d;Wt(a,(d=a.g())!=null?d:506);d={};return{parts:{X:14,U:"/v1/sharedDrives:delete",fa:a,method:"POST",Y:(d["content-type"]="application/json+protobuf",d),body:b.aa()}}}},{ia:29,matches:function(a){return nn instanceof Object&&pn(a)},convert:function(a){var b=
a.R;a=new ara;if(ds(b,MK,1)){var c=ww(b,MK,1);fk(a,1,MK,c)}var d;b=(d=zB(b,R,2))!=null?d:new R;var e;Wt(b.Gb(1),(e=b.g())!=null?e:914);ru(su(b));d={};return{parts:{X:14,U:"/v1/userSettings:delete",fa:b,method:"POST",Y:(d["content-type"]="application/json+protobuf",d),body:a.aa()}}}},{ia:30,matches:qn,convert:function(a){var b=a.R;if(a.config.hb===14){a=new UQ;var c=b.K();a=He(a,1,cd,c,void 0,ed);b={parts:{X:14,method:"POST",U:"/v1/workspaces:delete",fa:b.I(),Y:{"content-type":"application/json+protobuf"},
ma:{},body:a.aa()},options:{}}}else b={parts:{method:"DELETE",U:"workspaces/"+b.K(),fa:b.I()},options:{Za:!0}};return b}},{ia:31,matches:sn,convert:function(a){a=a.R.V();var b=new cra;if(S(a,4)){var c=KO(a);D(b,1,c)}c={};return{parts:{X:14,U:"/v1/emptyTrash",fa:a.I(),method:"POST",Y:(c["content-type"]="application/json+protobuf",c),body:b.aa()}}}},{ia:33,matches:wn,convert:function(a){a=a.R;return{parts:{U:"apps/"+C(a,1),fa:a.I(),ma:{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:{Za:!0}}}},{ia:32,matches:Apa,convert:function(a,b){a=a.R;b=b.F;var c={};return{parts:{U:"files/generatePreflightReport/"+C(a,1),Y:(c["X-Goog-Encode-Response-If-Executable"]="base64",c),ma:{alt:"media",languageCode:ju(dq(b))},fa:a.I()},options:{Za:!0}}}},{ia:38,matches:An,convert:function(a){a=a.R;return{parts:{method:"POST",U:"apps",ma:{appId:a.ge()},fa:a.I()},options:{Za:!0}}}},{ia:39,matches:Bn,convert:function(a,b){a=a.R;var c={};c.fields=jv(b.F)?"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=L(a,5)||"";c.sendNotificationEmail=!Q(a,6);b={};var d=Jt(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=Jt(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.getValue()&&(b.value=a.getValue());b.withLink=!Q(a,8);c.supportsTeamDrives=
!0;d={};return{parts:{fa:a.I(),method:"POST",U:"files/"+a.ih()+"/permissions",json:b,Y:(d["content-type"]="application/json",d),ma:c},options:{Za:!0}}}},{ia:40,matches:function(a){return a instanceof xo},convert:function(a){return{parts:{X:8,method:"POST",U:"/v1/exports/"+a.R.g+":cancel"}}}},{ia:41,matches:vn,convert:function(a,b){return nha(a.R,b.qb)}},{ia:42,matches:function(a){return a instanceof yo},convert:function(a){return{parts:{X:8,U:"/v1/exports/"+a.R.g}}}},{ia:44,matches:function(a){return On(a)&&
ds(a,Uo,3)?Dn(a.V()):!1},convert:function(a,b){return wC(a.R.V(),b.F,b.M)}},{ia:43,matches:function(a){return On(a)&&!ZZ(a.V())},convert:function(a,b){var c=a.R,d=b.F,e=b.O,f=b.qb;if(a.config.hb===14){a=c.V();b={};var g=iv(e,a.Ca());g=nr(e,{fields:g,anonymous:Nt(dq(d))});d=new ur;g=sr(g);g.length>0&&(vr(d,new rr("items",g)),vr(d,SB("continuation_token")),vr(d,new rr("search_response_metadata",[SB("incomplete_search"),SB("moonshine_item_ids"),Xya()])));b["x-goog-fieldmask"]=d.toString();b["content-type"]=
"application/json+protobuf";d=pv(a);vu(z(a,qv,63,B()),d,f,b);e=yB(e,a.nf());f=new gR;d=gv(a);f=K(f,1,d);let h;d=fR(eR(new dR,(h=O(c,Zo,1))==null?void 0:$t(h,1)),c.Bb());c=Fe(d,3,e,Dc);c=K(f,2,c);c={parts:{X:14,U:"/v1/items:list",ma:{},Y:b,method:"POST",fa:a.I(),json:void 0,body:c.aa()},options:{}}}else c=Wda(c,d,e,f);return c}},{ia:45,matches:function(a){return Cn(a)?Dn(a):!1},convert:function(a,b){return wC(a.R,b.F,b.M)}},{ia:46,matches:Pn,convert:function(a){return yC(a.R)}},{ia:47,matches:Qn,convert:function(a){return yC(a.R)}},
{ia:81,matches:Rn,convert:function(a){var b=a.R;a={};S(b,2)&&(a.customer="customers/C"+C(b,2));XF(b,6)&&(a.pageSize=$t(b,6));S(b,7)&&(a.pageToken=C(b,7));S(b,9)&&(a.orderBy=C(b,9));S(b,5)&&(a.languageCode=C(b,5));P(b,1)&&(a.publishedOnly=E(b,1));QF(b)!=null&&(a.useAdminAccess=QF(b));It(b,8)&&(a.view=xC.get(Jt(b,8)));b={};return{parts:{X:15,U:"/v2/labels",Y:(b["content-type"]="application/json",b),ma:a}}}},{ia:50,matches:Sn,convert:function(a,b){var c=a.R;b=b.F;if(a.config.hb===14){b={"content-type":"application/json+protobuf"};
switch(Jt(c,1)){case 1:b["x-goog-fieldmask"]=MUa;break;case 2:b["x-goog-fieldmask"]=NUa;break;case 4:b["x-goog-fieldmask"]=OUa}a=new qra;a=I(a,3,!1);if(F(c,3,B()).length>0){var d=F(c,3,B());Ju(a,1,d)}F(c,4,B()).length>0&&(d=F(c,4,B()),Ju(a,2,d));c={parts:{X:14,U:"/v1/apps:list",fa:c.I(),ma:{},method:"POST",body:a.aa(),Y:b}}}else{a={};d={};var e="apps",f=void 0;switch(Tn(c,1)){case 1:a.fields=JUa;break;case 2:a.fields=KUa;break;case 4:a.fields=LUa;break;case 3:f=5,e="apps",a.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",
a.appQueryScope="all_webstore",d.isAnonymous=!0}a.languageCode=ju(dq(b));F(c,3,B()).length>0&&(a.appFilterExtensions=F(c,3,B()).join(","));F(c,4,B()).length>0&&(a.appFilterMimeTypes=F(c,4,B()).join(","));c={parts:{X:f,U:e,config:d,fa:c.I(),ma:a},options:{Za:!0}}}return c}},{ia:52,matches:Un,convert:function(a,b){var c=a.R,d=b.O,e=b.Yc;b=b.F;return a.config.hb===14?zha(c,d,e,b):Aha(c,d,e,b)}},{ia:53,matches:Vn,convert:function(a,b){var c=a.R;a=b.qb;var d=b.F;b=c.V();var e={};e.fields=jv(d)?"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";L(c,2)&&(e.pageToken=L(c,2));Sw(c,1)&&(e.maxResults=Sw(c,1));e.supportsTeamDrives=!0;Q(d,14)&&(e.useLegacyDomainPermissionBehavior=!1);c={};vu([],[b.K()],a,c);return{parts:{fa:b.I(),U:"files/"+b.K()+"/permissions",Y:c,ma:e},options:{Za:!0}}}},{ia:54,matches:Wn,convert:function(a,b){a=a.R;var c=b.qb;b=b.F;var d=new jR;var e=C(a,1);d=D(d,1,e);e={};var f=ww(b,DB,
4);f=Q(f,95);b=jv(b)?f?"revisions(id,mime_type,modified_date_millis,pinned,original_item_name,file_size,last_modifying_user(type,id,focus_user_id,is_me,email_from_account,domain),last_modifying_agent(agent_id))":"revisions(id,mime_type,modified_date_millis,pinned,original_item_name,file_size,last_modifying_user(type,id,focus_user_id,is_me,email_from_account,domain))":f?"revisions(id,mime_type,modified_date_millis,pinned,original_item_name,file_size,last_modifying_user(type,id,focus_user_id,is_me,name,email,photo_url,email_from_account,domain),last_modifying_agent(agent_id,name,photo_url))":
"revisions(id,mime_type,modified_date_millis,pinned,original_item_name,file_size,last_modifying_user(type,id,focus_user_id,is_me,name,email,photo_url,email_from_account,domain))";e["content-type"]="application/json+protobuf";e["x-goog-fieldmask"]=b;vu([],[C(a,1)],c,e);return{parts:{X:14,U:"/v1/revisions:list",fa:a.I(),method:"POST",Y:e,body:d.aa()}}}},{ia:55,matches:Km(Xn),convert:function(a,b){var c=a.R,d=b.qb,e=b.O;b=b.F;if(a.config.hb===14)c=Cha(c,b,d,e);else{a={};Um(c,3)&&(a.useDomainAdminAccess=
!0);a.fields=pr(e,{fields:e.zb(),anonymous:Nt(dq(b)),Yb:jv(b)});var f;a.fileId=(f=C(c,1))!=null?f:void 0;S(c,4)&&(a.preFlightValidationToken=L(c,4));e={"content-type":"application/json"};vu([],[C(c,1)||"",C(c,2)||""],d,e);d="files/"+(C(c,1)||"")+"/migrateToDrive";f={};OA(f,[L(c,2)||""]);c={parts:{method:"POST",U:d,json:f,Y:e,ma:a},options:{Za:!0,ef:!0}}}return c}},{ia:56,matches:mpa,convert:function(a){var b=a.R;a=a.config;for(var c={},d={},e=q(z(b,fB,2,B())),f=e.next();!f.done;f=e.next())f=f.value,
d[C(f,1)]=f.Ia();e=q(z(b,fB,4,B()));for(f=e.next();!f.done;f=e.next())f=f.value,c[C(f,1)]=f.Ia();Um(b,7)&&(a.Tl=!0);Um(b,8)&&(a.isAnonymous=!0);Um(b,9)&&(a.We=!0);return{parts:{X:11,method:C(b,1),U:C(b,3),body:C(b,5)||"",Y:d,ma:c}}}},{ia:57,matches:Zn,convert:function(a,b){b=b.F;var c={};c.person_id=a.R.xa(Rr);c["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"];c["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"];var d;if((d=JD(b))==
null?0:Q(d,95))c["request_mask.include_container"].push("AGENT_PROFILE"),c["request_mask.include_field.paths"].push("person.agent_info");c["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"];return{parts:{X:13,U:Nt(dq(b))?"/v2/people/public":"/v2/people",Y:{"content-type":"application/json"},ma:c}}}},{ia:58,matches:function(a){return a instanceof Bo},convert:function(a,b){a=a.R;b=b.F;var c={};a.pageToken&&(c.pageToken=a.pageToken);a.request.La()&&(c.pageSize=a.request.La());
L(a.request,6)&&(c.customer=L(a.request,6));c.$outputDefaults=!0;c.languageCode=ju(dq(b));return{parts:{X:12,U:"/v1/categories/-/published",Y:{"content-type":"application/json"},ma:c}}}},{ia:59,matches:ao,convert:function(a,b){a=a.R;var c={$outputDefaults:!0};c.languageCode=ju(dq(b.F));P(a,3)&&(c.includeExtensionCategories=E(a,3));return{parts:{X:12,U:"/v1/"+C(a,1),Y:{"content-type":"application/json"},ma:c}}}},{ia:60,matches:co,convert:function(a){var b=a.R;if(a.config.hb===14){a={"content-type":"application/json+protobuf"};
a["x-goog-fieldmask"]=(new fr("remaining_count","next_change_id")).toString();var c={};let d=nk(b,2);c.largestChangeId=Number(d);S(b,3)&&(c.sharedDriveId=C(b,3));b={parts:{X:14,U:"/v1/changes:getRemainingCount",fa:b.I(),ma:c,Y:a}}}else a={},c=jt(b,2),a.pageToken=c==null?null:String(c),S(b,3)&&(a.supportsTeamDrives=!0,a.includeItemsFromAllDrives=!0,a.teamDriveId=L(b,3)),b={parts:{U:"changes/getRemainingCount",fa:b.I(),ma:a}};return b}},{ia:63,matches:io,convert:function(a){var b=a.R;if(a.config.hb===
14){a={"content-type":"application/json+protobuf"};a["x-goog-fieldmask"]=(new fr("largest_change_id")).toString();let c={};S(b,2)&&(c.sharedDriveId=C(b,2));b={parts:{X:14,U:"/v1/changes:getLargestChangeId",fa:b.I(),ma:c,Y:a}}}else a={},S(b,2)&&(a.supportsAllDrives=!0,a.driveId=L(b,2)),b={parts:{U:"changes/startPageToken",fa:b.I(),ma:a}};return b}},{ia:61,matches:jP,convert:function(a){a=a.R;var b=new tR;var c=a.getId();b=D(b,1,c);c=L(a,8);b=D(b,4,c);c=cBa[Tn(a,3)];b=H(b,2,c);c=L(a,7);b=D(b,3,c);var d;
c=(d=a.I())!=null?d:new R;c.Gb(1);K(a,2,c);return{parts:{X:14,U:"/v1/reportSpamOrAbuse",fa:c,method:"POST",Y:{"content-type":"application/json+protobuf"},body:b.aa()}}}},{ia:64,matches:jo,convert:function(a,b){var c=a.R;b=b.F;var d,e;a={contextFeature:[{type:"GENERIC_TITLE",stringValue:(d=c.Ma())!=null?d:""},{type:"DRIVE_WORKSPACE_ID",stringValue:(e=C(c,4))!=null?e:""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:E(c,5)}]};a.maxSuggestions=$t(c,1);d={};e=Yr(b)===9?"WEB_MOBILE":"WEB_DESKTOP";d.applicationType=
Cr(Yr(b));d.platformType=e;d.languageCode=ju(dq(b));d.timeZone=hC(new iC);d.requestType="LIVE_REQUEST";d.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE";a.clientInfo=d;return{parts:{X:10,U:"/v1/items",ma:{},Y:{"content-type":"application/json"},method:"POST",fa:null,json:a}}}},{ia:65,matches:ko,convert:function(a,b){var c=a.R;b=b.F;a={};a.maxSuggestions=$t(c,1);c={};var d=Yr(b)===9?"WEB_MOBILE":"WEB_DESKTOP";c.applicationType=Cr(Yr(b));c.platformType=d;c.languageCode=ju(dq(b));c.timeZone=hC(new iC);c.requestType=
"LIVE_REQUEST";c.scenarioType="DRIVE_WORKSPACES";a.clientInfo=c;return{parts:{X:10,U:"/v1/items",ma:{},Y:{"content-type":"application/json"},method:"POST",fa:null,json:a}}}},{ia:66,matches:Fo,convert:function(a,b){var c=a.R;b=b.Yc;if(a.config.hb===14){a={};let d={};c.xa();a.ids=c.xa(Rr);let e=c.Ca(Rr);d["x-goog-fieldmask"]=ir(b,e).toString();d["content-type"]="application/json+protobuf";c={parts:{X:14,U:"/v1/sharedDrives:get",fa:Wt(c.Ji(),502),ma:a,Y:d}}}else c.xa(),a={},a.fields=jr(b,c.Ca(Rr)).toString(),
c={parts:{U:"teamdrives/"+c.xa()[0],fa:c.I(),ma:a},options:{Za:!0}};return c}},{ia:67,matches:function(a){return a instanceof Go},convert:function(a,b){var c=a.R;b=b.qb;if(a.config.hb===14){var d={"content-type":"application/json+protobuf"};vu([],F(c.request,1,B()),b,d);b=new qR;a=F(c.request,1,B());b=Ju(b,1,a);a=C(c.request,2);b=D(b,2,a);a=E(c.request,3);b=I(b,3,a);c={parts:{X:14,method:"POST",U:"/v1/items:migratetoshareddrivepreflight",body:D(b,4,c.pageToken).aa(),ma:{},Y:d},options:{ef:!0,Za:!1}}}else{a=
{};Um(c.request,3)&&(a.useDomainAdminAccess=!0);var e={"content-type":"application/json"};vu([],F(c.request,1,B(Rr)),b,e);b={};b.sourceIds=F(c.request,1,B());b.destinationFolderId=(d=C(c.request,2))!=null?d:void 0;c.pageToken&&(b.continuationToken=c.pageToken);P(c.request,4)&&(b.darkLaunch=Um(c.request,4));c={parts:{method:"POST",U:"admin/files/migrateToTeamDrivePreFlight",json:b,Y:e,ma:a},options:{ef:!0,Za:!0}}}return c}},{ia:68,matches:Ho,convert:function(a,b){var c=a.R,d=b.Yc;if(a.config.hb===
14){a={};b=c.V();var e=b.Ca();e=e===void 0?[]:e;d=new fr("continuation_token",new gr("shared_drives",hr(d,e,14)));a["x-goog-fieldmask"]=d.toString();d=new kR;e=E(b,4);d=I(d,1,e);e=z(b,fN,7,B());d=yu(d,2,e);var f;e=new lR;d=K(e,1,d);e=fR(eR(new dR,(f=O(c,Zo,1))==null?void 0:zn(f,1,1E3)),c.Bb());c=K(d,2,e);a["content-type"]="application/json+protobuf";f=zB(b,R,2);var g;Wt(f,(g=f.g())!=null?g:501);c={parts:{X:14,method:"POST",U:"/v1/sharedDrives:list",fa:f,body:c.aa(),Y:a}}}else{g={};a=c.V();f=a.Ca();
f=f===void 0?[]:f;f=new fr(Hm("kind"),Hm("next_page_token"),new gr("items",hr(d,f,0)));g.fields=f.toString();g.q=PCa(a);L(c,2)&&(g.pageToken=L(c,2));if(a=(a=O(c,Zo,1))&&zn(a,1,1E3))g.maxResults=a;c={parts:{U:"teamdrives",fa:c.V().I(),ma:g},options:{Za:!0}}}return c}},{ia:69,matches:Io,convert:function(a,b){var c=a.R;b=b.Yc;if(a.config.hb===14){var d={},e={};d.ids=[C(c,1)];e["x-goog-fieldmask"]=(new fr(new gr("responses",["status",new gr("shared_drive",hr(b,[21,331],14,{Ad:!1}))]))).toString();e["content-type"]=
"application/json+protobuf";c=c.Ji();var f;Wt(c,(f=c.g())!=null?f:1516);c={parts:{X:14,U:"/v1/sharedDrives:get",fa:c,ma:d,Y:e}}}else f=(d=c.I())!=null?d:new R,Wt(f,(e=f.g())!=null?e:1516),c={parts:{U:"teamdrives/"+C(c,1),ma:{fields:(new (Function.prototype.bind.apply(fr,[null].concat(r(hr(b,[21,73,118],0,{Ad:!1})))))).toString()},fa:f},options:{Za:!0}};return c}},{ia:70,matches:lo,convert:function(a){a=a.R;var b={},c;b.useByDefault=(c=E(a,2))!=null?c:void 0;Um(a,3)&&(b.hasAppData=!1);c={};return{parts:{method:"PUT",
U:"apps/"+a.ge(),fa:a.I(),json:b,Y:(c["content-type"]="application/json",c),ma:{appId:a.ge()}},options:{Za:!0}}}},{ia:71,matches:mo,convert:function(a,b){var c=a.R;b=b.qb;return a.config.hb===14?Fha(c):Dha(c,b)}},{ia:72,matches:Km(no),convert:function(a,b){var c=a.R,d=b.qb,e=b.O,f=b.F,g=b.Si,h=b.Ti;if(a.config.hb===14)var l=Pha(c,d,e,f,h);else{a={};b={};let t="files/"+L(c,1);a.fields=pr(e,{fields:e.zb(),anonymous:Nt(dq(f)),Yb:jv(f)});a.modifiedDateBehavior="DRIVE_UI";a.updateViewedDate=!!Um(c,15);
a.fileId=L(c,1);TC(c).length&&(a.addParents=TC(c).join(","));UC(c).length&&(a.removeParents=UC(c).join(","));F(c,31,B()).length&&(a.addWorkspaces=F(c,31,B()).join(","));F(c,32,B()).length&&(a.removeWorkspaces=F(c,32,B()).join(","));P(c,24)&&(a.confirmed=Um(c,24));a.languageCode=ju(dq(f));e={};var m={};la(NA(L(c,2)))||(e.title=L(c,2));c.Ic()&&(e.description=L(c,3));P(c,4)&&(m.starred=Um(c,4));P(c,5)&&(m.trashed=Um(c,5));la(NA(L(c,6)))||(e.mimeType=L(c,6));typeof Ug(jt(c,7))==="number"&&(e.modifiedDate=
TA(UA(Ug(jt(c,7))||0)));P(c,11)&&(m.restricted=Um(c,11));lh(m)&&(e.labels=m);YF(c,12)&&(e.folderColor=Ug(jt(c,12)));P(c,16)&&(e.subscribed=Um(c,16));P(c,40)&&(e.linkShareMetadata={securityUpdateEnabled:Um(c,40)});if(m=O(c,xx,25)){e.contentRestrictions=[];let w={};P(m,1)&&(w.readOnly=Um(m,1));S(m,2)&&(w.reason=L(m,2));e.contentRestrictions.push(w)}OA(e,F(c,8,B()));b["content-type"]="application/json";m=c.I();a.supportsTeamDrives=!0;g(L(c,1),a);Um(c,36)?a.bypassMultiparentingCheck=!0:Q(f,3)&&(a.enforceSingleParent=
!0);g=TC(c).concat(UC(c));g.push(L(c,1));vu(z(c,qv,38,B(Rr)),g,d,b);var p;if((p=Xl(f))!=null&&Q(p,28)){g=h(RC(c.K()));d=tu(new sv,ZC(c));p=new tv;c=QC(new HC,[SC(c,g)]);c=K(p,2,c);c=rv(d,c);d=eb(c.aa());p=d.length;let w;f=(w=(l=O(f,NB,33))==null?void 0:$t(l,70))!=null?w:1E4;p>f&&(N(c,2),d=eb(c.aa()));b["x-goog-ext-525001598-jspb"]=d}l={parts:{U:t,method:"PUT",json:e,fa:m,Y:b,ma:a},options:{Za:!0}}}return l}},{ia:73,matches:oo,convert:function(a,b){a=a.R;b=b.qb;var c=new BR;var d=a.sf();c=D(c,1,d);
d=C(a,2);c=D(c,2,d);P(a,3)&&(d=E(a,3),I(c,3,d));var e;d=(e=a.I())!=null?e:new R;d.Gb(1);e={};vu([],[a.sf()],b,e);e["content-type"]="application/json+protobuf";e["x-goog-fieldmask"]="revision(file_size,id,mime_type,modified_date_millis,original_item_name,pinned,last_modifying_user(name,email,id,focus_user_id,is_me,organization_display_name,photo_url,type))";return{parts:{X:14,U:"/v1/revision:update",fa:d,method:"POST",Y:e,body:c.aa()}}}},{ia:74,matches:Km(po),convert:function(a,b){var c=a.R;b=b.Yc;
a=a.config;if(Km(l7)(c))c=Lga(c,b);else if(a.hb===14){a=new CR;var d=c.K();a=D(a,1,d);c.gb()&&a.setTitle(c.Ma());S(c,3)&&(d=C(c,3),D(a,3,d));ds(c,DN,9)&&(d=O(c,DN,9),K(a,4,d));P(c,16)&&(d=E(c,16),I(a,8,d));P(c,10)&&(d=E(c,10),I(a,5,d));P(c,12)&&(d=E(c,12),I(a,6,d));P(c,13)&&(d=E(c,13),I(a,7,d));d={};var e=e===void 0?[]:e;b=new fr(new gr("shared_drive",hr(b,e,14)));d["x-goog-fieldmask"]=b.toString();d["content-type"]="application/json+protobuf";c=zB(c,R,4);var f;Wt(c,(f=c.g())!=null?f:504);c={parts:{X:14,
U:"/v1/sharedDrives:update",method:"POST",fa:c,Y:d,body:a.aa()}}}else{f={};e={};a="teamdrives/"+L(c,1);var g=void 0;if(P(c,15))d="POST",a+="/"+(Um(c,15)?"hide":"unhide");else{d="PUT";g={};c.gb()&&(g.name=L(c,2));if(S(c,3))g.backgroundImageId=L(c,3);else{var h=Tg(jt(c,6));h!=null&&(h=h.toString(16),g.colorRgb="#"+"0".repeat(6-h.length)+h);var l=O(c,DN,9);if(l!=null){h={};var m=l.getId();m&&(h.id=m);m=rk(l,2,void 0,CF,xc);typeof m==="number"&&(h.xCoordinate=m);m=rk(l,3,void 0,CF,xc);typeof m==="number"&&
(h.yCoordinate=m);if(l=rk(l,4,void 0,CF,xc))h.width=l;g.backgroundImageFile=h}}e["content-type"]="application/json"}f.fields=jr(b).toString();c=c.I();c={parts:{U:a,method:d,json:g,fa:c,Y:e,ma:f},options:{Za:!0}}}return c}},{ia:75,matches:qo instanceof Object&&ro,convert:function(a){var b=a.R;a=new Pra;if(ds(b,NK,1)){var c=ww(b,NK,1);fk(a,1,NK,c)}var d;b=(d=zB(b,R,2))!=null?d:new R;var e;Wt(b.Gb(1),(e=b.g())!=null?e:914);ru(su(b));d={};return{parts:{X:14,U:"/v1/userSettings:update",fa:b,method:"POST",
Y:(d["content-type"]="application/json+protobuf",d),body:a.aa()}}}},{ia:76,matches:so,convert:function(a){var b=a.R;if(a.config.hb===14){a=Vqa();var c=b.K();a=TF(a,2,c);b.gb()&&a.setTitle(b.Ma());if(It(b,3)){c=new rQ;var d=Jt(b,3);c=H(c,1,d);K(a,4,c)}c=new Rra;a=fk(c,1,PQ,a);b={parts:{X:14,method:"POST",U:"/v1/workspaces:update",fa:b.I(),Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"responses(status,workspace(id,title,create_time_millis,update_time_millis,state))"},ma:{},body:a.aa()},
options:{}}}else{a={};c={};d="workspaces/"+L(b,1);a.fields="kind,id,title,createdDate,modifiedDate,state";var e={};b.gb()&&(e.title=L(b,2));if(It(b,3)){let f=EUa[b.getState()];f&&(e.state=f)}c["content-type"]="application/json";b=b.I();b={parts:{method:"PUT",U:d,json:e,fa:b,Y:c,ma:a},options:{Za:!0}}}return b}},{ia:77,matches:$m,convert:function(a){a=a.R;var b={},c={};b.alt="protojson";b.fields=TK(a).join(",");c["content-type"]="application/json+protobuf";return{parts:{X:14,U:"/v1/account",fa:a.I(),
Y:c,ma:b}}}},{ia:78,matches:to,convert:function(a){var b=a.R;if(a.config.hb===14){a=new lra;var c=b.xa();a=Ju(a,1,c);b={parts:{X:14,U:"/v1/workspaces:get",fa:b.I(),method:"POST",body:a.aa(),ma:{},Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"responses(status,workspace(id,title,create_time_millis,update_time_millis,state))"}},options:{}}}else a={},b.xa(),a.fields="kind,id,title,createdDate,modifiedDate,state",b={parts:{U:"workspaces/"+b.xa()[0],fa:b.I(),ma:a},options:{Za:!0}};return b}},
{ia:79,matches:function(a){return a instanceof Ko},convert:function(a){var b=a.R;if(a.config.hb===14){a=new nR;b.pageToken&&TF(a,3,b.pageToken);if(XF(b.request,2)){var c=$t(b.request,2);is(a,2,c)}if(It(b.request,1)){c=new rQ;var d=Jt(b.request,1);c=H(c,1,d);K(a,1,c)}ds(b.request,yP,5)&&(c=O(b.request,yP,5),K(a,4,c));b={parts:{X:14,U:"/v1/workspaces:list",fa:b.request.I(),method:"POST",body:a.aa(),ma:{},Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"continuation_token,workspaces(id,title,create_time_millis,update_time_millis,state)"}},
options:{}}}else{a={fields:"kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)"};b.pageToken&&(a.pageToken=b.pageToken);b.request.La()&&(a.maxResults=b.request.La());c=new Xm;if(d=b.request.getState()){let e=[];e.push("state");e.push("=");e.push(RUa[d]);CY(c,e.join(" "))}a.q=c.toString();(c=O(b.request,yP,5))&&Tn(c,1)===1&&(a.orderBy="title");b={parts:{U:"workspaces",fa:b.request.I(),ma:a},options:{Za:!0}}}return b}},{ia:36,matches:xn,convert:function(a,b){a=a.R;var c=b.O;b={};
var d={};b.alt="protojson";var e="activity_items_present";if(zn(a,4)>0){var f=nr(c,{fields:cs(a,5,B()).slice(0)}),g=new rr("activity_item",[new rr("access_request_activity",[SB("item_access_request_count"),new rr("access_request",[new rr("requester",EW()),new rr("recipient",EW()),SB("message"),SB("created_date_millis"),SB("role"),SB("justification_message")])]),new rr("awaiting_approval_activity",[new rr("awaiting_approval",[new rr("initiator",EW()),SB("message"),SB("created_date_millis"),SB("justification_message")])]),
new rr("recent_comment_activity",[new rr("recent_comment",[new rr("commenter",EW()),SB("post_id"),SB("type"),SB("comment_link"),SB("discussion_id"),SB("created_date_millis"),SB("justification_message")])]),new rr("recent_share_activity",[new rr("recent_share",[new rr("sharer",EW()),SB("share_date_millis"),SB("justification_message")])])]);f=sr(f);f.length==0||tr(g,new rr("item",f));e+=","+g.toString();c=yB(c,cs(a,9,B()));b.accessRequestOptions={pageSize:zn(a,4),labelPackages:c};b.awaitingApprovalOptions=
{pageSize:zn(a,4),labelPackages:c};b.openCommentOptions={pageSize:zn(a,4),labelPackages:c};ds(a,Xr,7)&&(g=O(a,Xr,7),b.recentShareOptions={pageSize:zn(a,4),platformType:Hl(g,1),screenDensity:Hl(g,4),viewType:Hl(g,2),labelPackages:c})}b.fields=e;d["content-type"]="application/json+protobuf";return{parts:{X:14,U:"/v1/listHomeActivity",fa:a.I(),Y:d,ma:b}}}},{ia:37,matches:yn,convert:function(a,b){a=a.R;var c=b.O;b={};var d={};b.alt="protojson";var e=nr(c,{fields:cs(a,5,B()).slice(0)}),f=[].concat(r(kna(O(a,
Xr,7)))),g=new ur;for(let l=f,m=0;m<l.length;m++){f=l[m];for(let p=Rya(f,e),t=0;t<p.length;t++)vr(g,p[t])}b.fields=g.toString();d["content-type"]="application/json+protobuf, kind=fava";e=new tra;c=yB(c,cs(a,12,B()));c=Fe(e,3,c,Dc);e=q(kna(O(a,Xr,7)));for(g=e.next();!g.done;g=e.next()){g=g.value;if(PUa.includes(g)){f=sra(1);var h=$t(a,10);f=J(f,2,h);fk(c,2,cR,f)}QUa.includes(g)&&(g=sra(2),f=$t(a,11),g=J(g,2,f),fk(c,2,cR,g))}e=new ura;g=O(a,Xr,7);e=K(e,1,g);c=K(e,3,c);return{parts:{method:"POST",X:14,
U:"/v1/listHomeSuggestions",fa:a.I(),body:c.aa(),Y:d,ma:b}}}},{ia:35,matches:Gpa,convert:function(a){a=a.R;var b=new jra;var c=O(a,XP,2);b=K(b,1,c);a=zB(a,R,1);var d;Wt(a,(d=a.g())!=null?d:1518);return{parts:{X:14,body:b.aa(),fa:a,method:"POST",Y:{"x-goog-fieldmask":"activity_summary(day_summaries(date,event_count,event_count_truncated)),pending_rewind(requested_time)","content-type":"application/json+protobuf"},U:"/v1/getRewindStatus"}}}},{ia:34,matches:Fpa,convert:function(a){a=a.R;var b=new yra;
var c=new xra;var d=O(a,uk,3);c=K(c,1,d);d=O(a,uk,6);c=K(c,2,d);b=K(b,1,c);c=new XP;d=x(a,2);c=TF(c,1,d);b=K(b,4,c);XF(a,4)&&(c=zn(a,4),is(b,3,c));x(a,5)&&(c=x(a,5),TF(b,2,c));a=zB(a,R,1);var e;Wt(a,(e=a.g())!=null?e:1529);return{parts:{X:14,body:b.aa(),fa:a,method:"POST",Y:{"x-goog-fieldmask":"continuation_token,events(event_id,event_time,mime_type,title,open_url,edit,rename(previous_file_name))","content-type":"application/json+protobuf"},U:"/v1/listRewindActivityDetails"}}}},{ia:62,matches:Jpa,
convert:function(a){a=a.R;var b=new ora;var c=O(a,uk,2);b=K(b,1,c);a=x(a,3);return{parts:{X:14,body:TF(b,2,a).aa(),method:"POST",Y:{"content-type":"application/json+protobuf"},U:"/v1/initiateRewind"}}}},{ia:80,matches:Ipa,convert:function(a){a=a.R;var b=new uR;var c=O(a,uk,2);b=K(b,2,c);S(a,1)&&(a=x(a,1),TF(b,1,a));return{parts:{X:14,body:b.aa(),method:"POST",Y:{"content-type":"application/json+protobuf"},U:"/v1/rewindPreflight"}}}}],q7=function(a,b,c,d,e){o7.call(this,{F:b,O:c,qb:a.qb,M:e,ga:a,Yc:d,
Si:function(g,h){f.Si(g,h)},Ti:function(g){return f.Ti([].concat(r(g)))}});var f=this;a=q(SUa);for(b=a.next();!b.done;b=a.next())this.o.push(b.value)};U(q7,o7);q7.prototype.j=function(a,b,c){return o7.prototype.j.call(this,a,b,c)};q7.prototype.Si=function(a,b){a=this.g.ga.Oa.g(a);b.expectedParentIds=a?$L(a).join(","):[]};q7.prototype.Ti=function(a){if(a.length===0)return[];var b=[];a=this.g.ga.Oa.cd(a);Object.values(a).forEach(function(c){b.push.apply(b,r($L(c)))});Ta(b);return b};var TUa=function(a,b,c,d,e,f,g,h,l,m,p,t,w,A,M,da,ja,Ja,Ma,Ib,Rb,Zb,Ue,ti,zd,ui){this.gi=IT();this.tk=new BPa;this.g={};var gh=new zPa(this.dd.bind(this),function(){return ti("w8KrJc")}),Qd=new qSa(c.Oa,zd,b),Sj=new G6(gh);d=new ORa(c,g,new C6(e,f,d),h,Promise.resolve(this.gi.promise),l,A,d,b,Ja,zd);e=new J6(c,p,t,w,e,A,M,da,Ma,l);this.j=new SQa(b,Ja,ja);m=new q7(c,b,l,m,zd);this.gh=new m7(l,b,Ja,Ma);ja=new B6(this.j,this.tk);p=new X5(this.j,m,this.gh,ja,Zb,Ja,zd);l=new Z5(m,this.gh,ja,Zb);Ma=p;Yl(b,
2)&&(a?Ma=new c6(a,b,p,zd,Ja):fu(zd,461518216));a=tea(b);m=new Y5(m,this.gh,ja,Zb,a.filter(function(Nf){return Nf.Rc}),Ja);this.g=pea(b,Ma,l,m,Ja,zd,c.Oa,this.tk,this.gi.promise,Zb);c=new sSa(Ja,Ib);Ja=gRa(new fRa(Ja,zd),a);if(ui)this.gi.resolve(ui);else{Rb=DRa(CRa(zRa(ARa(ERa(BRa(new yRa(this.g),Ja),Rb),gh,d,e),Sj),Qd),c);let Nf;if((Nf=JD(b))==null?0:Q(Nf,21))Rb.g=new w6(Rb.g,Ue,zd);this.gi.resolve(Rb.build())}};TUa.prototype.dd=function(){return kh(this.g,function(a){return a.dd()})};
var PEa=function(a){var b=new Map,c=Date.now();fh(a.g,function(d,e){d=d.hl();d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};var S_=function(a,b){this.Hn="";this.startTime=b||new Date;this.ze=a;this.g=bD(a)};S_.prototype.clone=function(){return new S_(this.ze,this.startTime)};var UUa=function(){this.g=null;this.oi=[]},NEa=function(a){return wv(a.oi,function(b){return b.clone()})};UUa.prototype.Qe=function(){return this.g};var r7=function(a,b){var c=this;this.context=a;this.O=b;this.C=null;this.Te=0;this.active=!1;this.H=0;this.D=!1;this.g=this.N=null;this.ba={};this.ca=this.T=!1;this.M=a.M;this.B=new us;this.F=a.F;this.G=JD(this.F)||new DB;b=ut(this.F);this.L=new Q0(zn(b,2,37500),zn(b,3,6E5));this.o=a.vd;this.j=a.ha().Tb;A0(a.Xa,["T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});A0(a.Xa,["T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");c.initialize()});
A0(a.Xa,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.pi().catch(function(d){Dk("LiveDumpUpdater updateAll failed",Ep(d),"warning")})})};r7.prototype.initialize=function(){var a=this;this.T||(this.T=!0,St(ut(this.context.F))?this.Fd():this.context.Sc.promise.then(function(b){a.o.initialize().then(function(){a.C=b;a.Uh(!0)},function(c){c&&a.context.da("sync.storage.LiveDumpUpdater").Da("Error initializing dump storage",Ep(c));a.log("Error initializing dump storage");a.Fd()})}))};
r7.prototype.Hf=function(){return!!this.C||this.D};var s7=function(a,b){a.ba[b]||(a.ba[b]=[]);return a.ba[b]};k=r7.prototype;k.Uo=function(a){this.active&&(this.Te+=a,this.Te>vna(ut(this.F))&&this.update(3).catch(function(b){Dk("Failed to update dump on item changes",Ep(b),"warning")}))};k.Uh=function(a){if(this.Hf()&&this.active!==a){var b=this.context;a&&(this.H>0||b.Tg.dd()||b.jb().cb())||((this.active=a)?(this.B.resolve(),this.g||this.pi().catch(function(){})):(this.B=new us,n.clearTimeout(this.N)))}};
k.pause=function(){this.H++;this.Uh(!1)};k.resume=function(){this.H--;this.Uh(!0)};k.Fd=function(){this.D=!0};k.ko=function(){return this.g?this.g.promise:Promise.resolve()};
k.pi=function(){var a=this;if(this.g)return this.g.promise;this.g=new us;this.g.promise.then(function(){a.g=null},function(){a.g=null});var b=cw(this.M,106021)||void 0;this.B.promise.then(function(){return i2(a.context.Nc)}).then(function(c){a.o.o.g&&a.Fd();var d=!c;return a.D?d:Promise.all([t7(a,3,d,void 0,void 0,b),t7(a,1,d,void 0,!0,b),t7(a,6,d,void 0,!0,b),t7(a,7,d,void 0,!0,b),t7(a,8,d,void 0,!0,b),t7(a,9,d,void 0,!0,b),t7(a,12,d,void 0,!0,b)]).then(function(){return d},function(e){e=new G("Failed to update dump",
void 0,Ep(e));return Promise.reject(e)})},function(){return Promise.reject(Error("le"))}).then(function(c){a.g.resolve(c);b&&(c=y3(ew(b)),I(c,2,!0),lZ(b))},function(c){a.g.reject(Ip(c));b&&(c=y3(ew(b)),I(c,2,!1),lZ(b))});return Promise.resolve(this.g.promise)};k.update=function(a,b){return Promise.resolve(VUa(this,a,b))};
var VUa=function(a,b,c){var d=new yk,e=cw(a.M,106021)||void 0;e&&(tLa(y3(ew(e)),LZ(QZ,0,b)),d.then(function(){var f=y3(ew(e));I(f,2,!0);lZ(e)},function(){var f=y3(ew(e));I(f,2,!1);lZ(e)}));a.B.promise.then(function(){return i2(a.context.Nc)}).then(function(f){a.o.o.g&&a.Fd();f=!f;a.D?d.callback():RV(t7(a,b,f,c,void 0,e),d)});return d},t7=function(a,b,c,d,e,f){var g=Ba(s7(a,b));if(g){if(g.encrypt===c&&s7(a,b).length>1)return g.He.B();var h=new yk;PV(g.He,function(){RV(a.Mc(b,c,d,e,f),h)})}else h=a.Mc(b,
c,d,e,f);var l={encrypt:c,He:h};s7(a,b).push(l);PV(h,function(){La(s7(a,b),function(m){return l===m})});xxa(h,function(m){a.o.o.g?a.Fd():m instanceof G&&(m=m.o||null,m instanceof er&&m.getName()==="InvalidStateError"&&m.message&&m.message.indexOf("The database connection is closing.")>-1&&a.Fd());return null});return h};
r7.prototype.Mc=function(a,b,c,d,e){var f=this,g=new yk;this.B.promise.then(function(){if(a===3)RV(WUa(f,c||!1,b,e),g);else{switch(a){case 1:var h=f.context.lg.yh();break;case 6:h=MKa(f.context.ha().bc);break;case 7:f.context.Nd.value&&(h=f.context.Nd.get().j.Vd());break;case 8:f.context.Yd.value&&(h=f.context.Yd.get().j.Vd())&&u7(f,h.Sa(Rr));break;case 9:var l;let m;if((m=(l=JD(f.F))==null?void 0:E(l,89))!=null&&m){let p;h=(p=f.context.rg)==null?void 0:p.Vd()}break;case 12:f.context.De.value&&(h=
f.context.De.get().B.Vd());break;default:g.Va(Error("me`"+a));return}h?(l=lN(tt(ut(f.F))[0]),!l&&b?(f.log("Skipping dump update, encrypted and no key"),g.callback()):PIa(f.o,b?l:null,[h],e).then(function(){return void g.callback()},function(m){g.Va(Ep(m))})):d?(f.log("Skipping dump update: "+a),g.callback()):g.Va(Error("ne`"+a))}});return g};
var WUa=function(a,b,c,d){Q(a.F,10)||(n.clearTimeout(a.N),a.N=n.setTimeout(function(){XUa(a)},a.L.getValue()));if(b&&a.Te===0)return TV();a.Te=0;b=lN(tt(ut(a.F))[0]);if(!b&&c)return a.log("Skipping dump update, encrypted and no key"),TV();for(var e=[],f=q(YUa(a)),g=f.next();!g.done;g=f.next())g=ZUa(a,g.value),g.length&&e.push(PIa(a.o,c?b:null,g,d));var h=new yk;Promise.all(e).then(function(){a.ca&&a.context.Nc.set(j2,!0);h.callback()},function(l){return void h.Va(l)});return h},YUa=function(a){var b=
Object.values(Lna).filter(function(c){return typeof c==="number"&&c>0&&!$Ua.includes(c)});if(Q(a.G,17)){let c,d;((c=a.j.g)==null?0:c.Jc)||(d=a.j.j)==null||!d.Jc?b.push(2):b.push(5)}else b.push(2);return b},XUa=function(a){P0(a.L);a.update(3,!0).catch(function(b){Dk("Failed to update via timer",Ep(b),"warning")})},ZUa=function(a,b){switch(b){case 1:return[aVa(a)];case 2:return b=a.j.g,a=bVa(a,b).Lc(2),b&&a.qc(b.If()),[a];case 5:b=a.j.j;a=bVa(a,b).Lc(5);if(b){a.qc(b.If());let c=hIa(b);b=Ju(a,14,c.Un);
Ju(b,15,c.Tn)}return[a];case 3:return cVa(a);case 4:return dVa(a);default:throw new G("Unsupported CacheType");}},aVa=function(a){var b={},c=[],d=T_(a.j,!0),e=!0;for(let l=0;l<d.length;l++){let m=d[l];var f=m.mc(),g=u7(a,xt(f));f=g.length;let p=f>0?g[f-1]:null;Za(g,function(t){b[sq(t)]=t});if(f>0||m.j)g=ON(new MN,m.V()),m.j||(Vr(g,2,f),K(g,3,p),e=!1),c.push(g)}d=mh(b);a.log("Exporting "+d.length+" initial dump items.");var h;return Pna(RN(QN(Nna(Ona((new PN).Rb((h=a.context.md())!=null?h:void 0),
a.O.zb()),a.C.Cd(null)),v7(d)),c).Lc(1).qc(!e),a.O.Bd())},bVa=function(a,b){var c=b?b.mc():[];c=u7(a,mh(Eda(c)));a.log("Exporting "+c.length+" secondary dump items.");var d=c.length;var e=ut(a.F);e=zn(e,5,2E4);d>e&&(b&&g1(b,!1),c=[]);c=QN(new PN,v7(c));d=new au;if((e=a.j.g)&&e.Jc)a=e.mc(),e.g?J(d,5,a.length):J(d,3,a.length);else if((e=a.j.j)&&e.Jc){let f,g;((g=(f=Xl(a.F))==null?void 0:zn(f,76))!=null?g:0)>0&&J(d,5,-1)}a=K(c,11,d);b&&a.qc(b.If());return a},cVa=function(a){var b=[],c=a.C;a.j.Cf().forEach(function(d){var e=
c.Cd(d.teamDriveId);if(e){var f=u7(a,xt(d.mc())),g="Exporting "+f.length+" TD dump items for: "+d.teamDriveId;Q(a.G,18)&&(g+=", type: "+d.Nb());a.log(g);e=Nna(QN(new PN,v7(f)),e).Lc(3).qc(d.If());Q(a.G,18)&&(g=hIa(d),f=Ju(e,14,g.Un),Ju(f,15,g.Tn));d=ON(new MN,d.V());RN(e,[d]);b.push(e)}});return b},dVa=function(a){var b={},c=[];a.context.ha().Cf().forEach(function(d){d.tc===1&&dJa(d.V())&&(xt(d.mc()).forEach(function(e){b[sq(e)]=e}),d=Mna(ON(new MN,new Uo),d.V()),c.push(d))});return[RN(QN(new PN,
v7(Object.values(b))),c).Lc(4).qc(!1)]},u7=function(a,b){b=yda(b);jv(a.F)&&(b=NKa(a.context.ha().bc,b));return b.filter(function(c){return Wk(c)!==4})},v7=function(a){return a.map(function(b){return b.clone()})};r7.prototype.log=function(a,b){b=b===void 0?"info":b;this.context.da("sync.storage.LiveDumpUpdater").log(a,b)};r7.prototype.Jj=function(){this.ca=!0};var $Ua=[2,5];var eVa=function(){};k=eVa.prototype;k.Uh=function(){};k.pause=function(){};k.resume=function(){};k.Fd=function(){};k.update=function(){return Promise.resolve()};k.ko=function(){return Promise.resolve()};k.pi=function(){return Promise.resolve(!0)};k.Uo=function(){};k.Jj=function(){};var dD=function(a){this.root="drive.ds";this.log=a;this.g=new Map};dD.prototype.da=function(a){var b=this.g.get(a);b||(b=new fVa(this.root+"."+a,this.log),this.g.set(a,b));return b};var fVa=function(a,b){this.name=a;this.g=b};k=fVa.prototype;k.sd=function(a,b){this.log(a,"severe",b)};k.Da=function(a,b){this.log(a,"warning",b)};k.info=function(a,b){this.log(a,"info",b)};k.config=function(a,b){this.log(a,"config",b)};k.log=function(a,b,c){this.g.Qg(this.name,a,b,c)};var cD=function(){this.j=[];this.g=!1;this.startTime=Date.now()};cD.prototype.Qg=function(a,b,c,d){c==="severe"&&(d||(d=Error("oe`"+c)));if(this.g)for(b={logName:a,msg:b,level:c,totalTimeMs:Date.now()-this.startTime,exception:d},a=q(this.j),c=a.next();!c.done;c=a.next())c=c.value,c(b)};var eD=function(){this.g=[];this.j=new ks(2500)},Hs=function(a){var b=a.g.map(Mca);a.j.Qa()>0&&b.push("...\t|\t...\t|\t...\t|\t...");return b.join("\n")};eD.prototype.o=function(a){this.g.length<2500?this.g.push(a):this.j.add(a)};var w7=function(){this.g=new TS};w7.prototype.observe=function(a){return eta(this.g).j(Ni(function(b){return b.type===a}))};w7.prototype.Qg=function(a){this.g.next(a)};var x7=null;for(var y7=new Map,z7={},gVa=q(Object.entries(Or)),A7=gVa.next();!A7.done;A7=gVa.next()){var hVa=q(A7.value);let a=hVa.next().value,b=hVa.next().value;for(var iVa=q(b),B7=iVa.next();!B7.done;B7=iVa.next()){let c=B7.value,d;z7[c]=(d=z7[c])!=null?d:[];z7[c].push(Number(a))}}for(var jVa=q(Er),C7=jVa.next();!C7.done;C7=jVa.next()){var kVa=q(C7.value);let a=kVa.next().value,b=kVa.next().value,c={};var lVa={};c.ua=(lVa[0]=b,lVa);OCa.includes(a)&&(c.lr=!0);z7[a]&&(c.vr=z7[a]);y7.set(a,c)}
var mVa=y7.get(91)||{},nVa={};mVa.Vc=(nVa[14]=function(a){var b=[180,252,282,285];a.anonymous||b.push(183);return b},nVa);y7.set(91,mVa);var oVa=y7.get(16)||{},pVa={};oVa.Vc=(pVa[14]=function(a){var b=[168,248,280,287];a.anonymous||b.push(179);return b},pVa);y7.set(16,oVa);var qVa=y7.get(14)||{},rVa={};qVa.Vc=(rVa[14]=function(a){var b=[164,244,284,286];a.anonymous||b.push(167);return b},rVa);y7.set(14,qVa);var sVa=y7.get(46)||{},tVa={};
sVa.Vc=(tVa[14]=function(a){var b=[171,250,281,288];a.anonymous||b.push(174);return b},tVa);y7.set(46,sVa);var uVa=y7.get(97)||{},vVa={};uVa.Vc=(vVa[14]=function(a){var b=[175,254,283,289];a.anonymous||b.push(178);return b},vVa);y7.set(97,uVa);var wVa=y7.get(136)||{},xVa={};wVa.Vc=(xVa[14]=[256],xVa);y7.set(136,wVa);var yVa=y7.get(19)||{},zVa={};yVa.Vc=(zVa[14]=[62,150],zVa);y7.set(19,yVa);var AVa=y7.get(20)||{},BVa={};AVa.Vc=(BVa[14]=[3],BVa);y7.set(20,AVa);var CVa=y7.get(42)||{},DVa={};
CVa.Vc=(DVa[14]=[3],DVa);y7.set(42,CVa);var EVa=y7.get(194)||{},FVa={};EVa.Vc=(FVa[14]=[291,292,294,296,297,293,295,301],FVa);y7.set(194,EVa);var GVa=y7.get(290)||{},HVa={};GVa.Vc=(HVa[14]=[291,292,294,296,297],HVa);y7.set(290,GVa);var IVa=y7.get(273)||{},JVa={};IVa.Vc=(JVa[14]=[260,270,261,269,264,268,267,262,265,263,271,266],JVa);y7.set(273,IVa);var KVa=y7.get(84)||{},LVa={};KVa.Vc=(LVa[14]=[324,325,326],LVa);y7.set(84,KVa);
for(var MVa=q([21,2,3,210,10,150,83,244,155,154,214]),D7=MVa.next();!D7.done;D7=MVa.next()){let a=D7.value,b=y7.get(a)||{},c,d=Array.from((c=b.ap)!=null?c:[]);d.push(6);b.ap=d;y7.set(a,b)};var E7=function(a){this.j=a;this.g=[].concat(r(this.j)).sort()};E7.prototype.has=function(a){return this.j.has(a)};E7.prototype.add=function(a){this.j.add(a);this.g.push(a);this.g.sort()};E7.prototype.remove=function(a){this.j.delete(a);Ka(this.g,a)};var F7=function(a,b){b=b===void 0?null:b;this.g=new Set;this.Jb=new E7(a);this.j=new E7(b?b:new Set)};F7.prototype.zf=function(){return this.Jb.g.concat([].concat(r(this.g)))};F7.prototype.mh=function(a){var b=new Set;a=q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.Jb.has(c)||this.g.has(c)||(this.g.add(c),b.add(c));return[].concat(r(b))};var G7=function(a){this.g=Object.assign({},a!=null?a:{},{Jb:fD})};G7.prototype.validate=function(){};G7.prototype.Ob=function(a,b){this.validate(a);if(!b)return a;this.validate(b);for(var c=new Set,d={},e=q(Object.keys(a)),f=e.next();!f.done;f=e.next())f=f.value,c.add(f),d[f]=NVa(this,f,a,b);e=q(Object.keys(b));for(f=e.next();!f.done;f=e.next())f=f.value,c.has(f)||(d[f]=NVa(this,f,a,b));return d};
var NVa=function(a,b,c,d){if(c[b]===void 0)return d[b];if(d[b]===void 0)return c[b];if(a.g[b])return a.g[b](c[b],d[b]);if(d[b]===c[b])return d[b];throw Error("pe`"+String(b)+"`"+c[b]+"`"+d[b]);};var H7=function(a){this.configs={};a=q(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.configs[b.key]=b;Object.freeze(this.configs)};H7.prototype.ai=function(){var a=this;return"Configured fields: "+Object.values(this.configs).filter(function(b){return a.configs[b.key]!=null}).map(function(b){return String(b.key)}).join(",")+"\nConfigured operations: "+Object.values(this.configs).filter(function(b){return Jr(a,b.key)}).map(function(b){return String(b.key)}).join(",")};
var Jr=function(a,b){var c;return((c=a.configs[b])==null?void 0:c.operations)!=null},I7=function(a,b){var c;return(c=a.configs[b])==null?void 0:c.operations};H7.prototype.filter=function(a){var b=this;return{Mt:function(c){return a.filter(function(d){return b.configs[d]!=null}).filter(function(d){return c(b.configs[d])})}}};H7.prototype.clear=function(a){var b=this;return{from:function(c){I7(b,a).clear(c)}}};
H7.prototype.Ob=function(a){var b=this;return{from:function(c){return{wo:function(d){for(var e=q(a),f=e.next();!f.done;f=e.next())I7(b,f.value).Ob(d,c)}}}}};H7.prototype.has=function(a){var b=this;return{Eb:function(c){return I7(b,a).has(c)}}};var OVa=function(a,b,c){for(var d=q(c),e=d.next();!e.done;e=d.next()){e=e.value;if(a.configs[e]==null)continue;e=a.configs[e];if(e.Jb){e=q(e.Jb);for(var f=e.next();!f.done;f=e.next())f=f.value,b.has(f)||(b.add(f),c.push(f))}}return[b,c]};var J7=function(a){this.o=a;this.fields=new Map},RVa=function(a){for(var b=q(PVa),c=b.next();!c.done;c=b.next()){var d=a;c=c.value;let e=c.key;if(d.fields.has(e)){let f=d.fields.get(e);if(f.operations&&f.operations!==c.operations)throw Error("qe`"+String(e));f.operations=c.operations}else d.fields.set(c.key,{operations:c.operations});c.config&&(QVa(d,c.key,c.config),delete c.config)}},QVa=function(a,b,c){a.o.validate(c);a.fields.has(b)?a.fields.get(b).config=a.o.Ob(c,a.fields.get(b).config):a.fields.set(b,
{config:c})},nD=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;QVa(a,c,d)}return a};J7.prototype.build=function(){this.validate();return this.B()};J7.prototype.validate=function(){SVa(this)};
var SVa=function(a){for(var b=new Set,c=new Set,d=function(g){if(!c.has(g)){if(b.has(g))throw Error("re`"+String(g));b.add(g);var h=a.fields.get(g),l;if(h==null?0:(l=h.config)==null?0:l.Jb)for(h=q(h.config.Jb),l=h.next();!l.done;l=h.next())d(l.value);c.add(g)}},e=q(a.fields.keys()),f=e.next();!f.done;f=e.next())d(f.value)};var TVa=ec(dc,wm);var $ca=ec(ec(Vb(gr),hc),wm);var K7=function(a,b,c){this.key=a;this.operations=c;this.Jb=b==null?void 0:b.Jb};K7.prototype.accept=function(a){a.ui(this)};var UVa=function(a,b,c){K7.call(this,a,b,c);this.config=b};U(UVa,K7);var XLa=function(a,b){var c,d,e;return(e=(c=a.config)==null?void 0:(d=c.ap)==null?void 0:d.includes(b))!=null?e:!1};var VVa=function(a){this.O=a};var L7=function(a,b,c){this.O=a;this.X=b;this.options=c;this.g=new Set;this.j=[]};U(L7,VVa);var M7=function(a,b){a.g.has(b)||(a.O.configs[b]!=null?a.O.configs[b].accept(a):(a.j.push(b),a.g.add(b)))};
L7.prototype.ui=function(a){if(!this.g.has(a.key)){this.g.add(a.key);if(a.Jb)for(var b=q(a.Jb),c=b.next();!c.done;c=b.next())M7(this,c.value);var d;{let f;(f=a.config)!=null&&f.Vc?(b=(d=a.config)==null?void 0:d.Vc,d=yr(zr(TVa,this.X),Ar(this.options))(b)):d=void 0}if(d)for(b=q(d),c=b.next();!c.done;c=b.next())M7(this,c.value);if(!(d=d!=null)){var e;let f;d=(f=(e=a.config)==null?void 0:e.lr)!=null?f:!1}if(!(e=d)){let f,g;e=(g=(f=a.config)==null?void 0:f.HD)!=null?g:!1}e||this.j.push(a.key)}};var WVa=[87,21,83,70],XVa=[189,190,1004,28,96,45,25,35],N7=function(a){J7.call(this,new G7({vr:fD}));this.Jb=new Set;this.g=new Set;this.j=new Set;var b=[].concat(r(WVa));Nt(a)||b.push.apply(b,r(XVa));YVa(this,b,!1)};U(N7,J7);var YVa=function(a,b,c){b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Jb.add(d),c&&a.g.add(d)},ZVa=function(a,b){YVa(a,b,!0)},$Va=function(a,b){b.forEach(function(c){a.j.add(c)})};
N7.prototype.validate=function(){J7.prototype.validate.call(this);for(var a=q(this.g),b=a.next();!b.done;b=a.next()){b=b.value;let c=this.fields.get(b);if(c&&c.config){let d;if((d=c.config.pD)!=null&&!d)throw Error("se`"+b);}}};N7.prototype.B=function(){for(var a=[],b=q(this.fields.entries()),c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;a.push(new UVa(c,d.config,d.operations))}return new O7(this.Jb,this.g,a,this.j)};
var O7=function(a,b,c,d){H7.call(this,c);this.Ld=new F7(q(OVa(this,a,[].concat(r(a)))).next().value,b);this.g=[].concat(r(d))};U(O7,H7);k=O7.prototype;k.ai=function(){return"Tracked fields: ["+this.Ld.Jb.g.join(", ")+"]\nPrimary label packages: ["+(this.g.join(", ")+"]\n")+H7.prototype.ai.call(this)};k.zb=function(){return[].concat(r(this.Ld.Jb.g))};k.Ch=function(){return this.Ld.Jb.j};k.Re=function(a){return this.Ld.Jb.has(a)};k.Bd=function(){return[].concat(r(this.g))};k.jl=function(){return[].concat(r(this.Ld.g))};
k.zf=function(){return this.Ld.zf()};k.mh=function(a){return this.Ld.mh(a)};
var D1=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())if(!a.Re(c.value))return!1;return!0},iv=function(a,b){var c=a.zb();a=a.Ch();b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.has(d)||c.push(d);return c},r0=function(a,b){var c=[];b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Re(d)&&c.push(d);return c},i_=function(a,b){var c=[];b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Re(d)||c.push(d);return c},yB=function(a,b){a=new Set([].concat(r(a.Bd()),r(b)));
return[].concat(r(a))},mr=function(a,b,c,d){a=new L7(a,c,d);b=q(b);for(c=b.next();!c.done;c=b.next())M7(a,c.value);return a.j};var aWa=function(){},Z=function(a){return new P7(a)},R7=function(a,b){return new Q7(a,b)},P7=function(a){this.g=a};U(P7,aWa);P7.prototype.clear=function(a){this.g.clear(a)};P7.prototype.has=function(a){return this.g.has(a)};P7.prototype.get=function(a){return this.g.get(a)};P7.prototype.set=function(a,b){return this.g.set(a,b)};var Q7=function(a,b){this.first=a;this.second=b};U(Q7,aWa);Q7.prototype.clear=function(a){this.first.has(a)&&this.second.clear(this.first.get(a))};
Q7.prototype.has=function(a){return this.first.has(a)&&this.second.has(this.first.get(a))};Q7.prototype.get=function(a){return this.second.get(this.first.get(a))};Q7.prototype.set=function(a,b){this.second.set(this.first.get(a),b);return a};var hD=function(a){this.g=a};hD.prototype.clear=function(a){this.g.clear(a)};hD.prototype.has=function(a){return this.g.has(a)};hD.prototype.Ob=function(a,b){this.has(b)&&this.g.set(a,this.g.get(b))};var bWa=T(227,Z({clear:function(a){return N(a,144)},has:function(a){return P(a,144)},get:function(a){return E(a,144)},set:function(a,b){return hy(a,b)}}));var cWa=T(228,Z({clear:function(a){return N(a,145)},has:function(a){return It(a,145)},get:function(a){return Jt(a,145)},set:function(a,b){return Ema(a,b)}}));var dWa=T(242,Z({clear:function(a){return N(a,152)},has:function(a){return XF(a,152)},get:function(a){return $t(a,152)},set:function(a,b){return J(a,152,b)}}));var eWa=T(74,Z({clear:function(a){return N(a,83)},has:function(a){return z(a,Ax,83,B()).length>0},get:function(a){return z(a,Ax,83,B())},set:function(a,b){return qma(a,b)}}));var fWa=T(120,Z({clear:function(a){return N(a,115)},has:function(a){return S(a,115)},get:function(a){return C(a,115)},set:function(a,b){return D(a,115,b)}}));var gWa=T(188,Z({clear:function(a){return N(a,137)},has:function(a){return P(a,137)},get:function(a){return E(a,137)},set:function(a,b){return pM(a,b)}}));var hWa=T(149,Z({clear:function(a){return N(a,128)},has:function(a){return F(a,128,B()).length>0},get:function(a){return F(a,128,B())},set:function(a,b){return Ju(a,128,b)}}));var iWa=T(329,Z({clear:function(a){return N(a,165)},has:function(a){return DF(a,XL,165)>0},get:function(a){return Gr(a)},set:function(a,b){return Hr(a,b)}}),{Jb:[187]});var jWa=T(148,Z({clear:function(a){return N(a,127)},has:function(a){return z(a,Bx,127,B()).length>0},get:function(a){return z(a,Bx,127,B())},set:function(a,b){return zma(a,b)}}));var kWa=T(138,Z({clear:function(a){return N(a,126)},has:function(a){return YF(a,126)},get:function(a){return Tg(jt(a,126))},set:function(a,b){return Vr(a,126,b)}}));var lWa=T(277,R7(Z({clear:function(a){return N(a,158)},has:function(a){return a.hasAudio()},get:function(a){return zB(a,Dx,158)},set:function(a,b){return K(a,158,b)}}),Z({clear:function(a){return N(a,1)},has:function(a){return XF(a,1)},get:function(a){return $t(a,1)},set:function(a,b){return J(a,1,b)}})));var mWa=T(184,Z({clear:function(a){return N(a,135)},has:function(a){return F(a,135,B()).length>0},get:function(a){return F(a,135,B())},set:function(a,b){return Bma(a,b)}}));var nWa=T(241,Z({clear:function(a){return N(a,151)},has:function(a){return z(a,XL,151,B()).length>0},get:function(a){return z(a,XL,151,B())},set:function(a,b){return Gma(a,b)}}));var S7=Z({clear:function(a){return N(a,84)},set:function(a,b){return Ps(a,b)},has:function(a){return ds(a,Os,84)},get:function(a){return zB(a,Os,84)}});var oWa=T(76,R7(S7,Z({clear:function(a){return N(a,1)},has:function(a){return P(a,1)},get:function(a){return IL(a)},set:function(a,b){return cx(a,b)}})));var pWa=T(223,R7(S7,Z({clear:function(a){return N(a,54)},has:function(a){return P(a,54)},get:function(a){return E(a,54)},set:function(a,b){return I(a,54,b)}})));var qWa=T(208,R7(S7,Z({clear:function(a){return N(a,48)},has:function(a){return P(a,48)},get:function(a){return E(a,48)},set:function(a,b){return I(a,48,b)}})));var rWa=T(185,R7(S7,Z({clear:function(a){return N(a,40)},has:function(a){return P(a,40)},get:function(a){return E(a,40)},set:function(a,b){return I(a,40,b)}})));var sWa=T(224,R7(S7,Z({clear:function(a){return N(a,55)},has:function(a){return P(a,55)},get:function(a){return E(a,55)},set:function(a,b){return I(a,55,b)}})));var tWa=T(156,R7(S7,Z({clear:function(a){return N(a,39)},has:function(a){return P(a,39)},get:function(a){return E(a,39)},set:function(a,b){return I(a,39,b)}})));var uWa=T(213,R7(S7,Z({clear:function(a){return N(a,50)},has:function(a){return P(a,50)},get:function(a){return E(a,50)},set:function(a,b){return I(a,50,b)}})));var vWa=T(61,R7(S7,Z({clear:function(a){return N(a,2)},has:function(a){return P(a,2)},get:function(a){return E(a,2)},set:function(a,b){return I(a,2,b)}})));var wWa=T(240,R7(S7,Z({clear:function(a){return N(a,62)},has:function(a){return P(a,62)},get:function(a){return E(a,62)},set:function(a,b){return I(a,62,b)}})));var xWa=T(258,R7(S7,Z({clear:function(a){return N(a,64)},has:function(a){return P(a,64)},get:function(a){return E(a,64)},set:function(a,b){return I(a,64,b)}})));var yWa=T(216,R7(S7,Z({clear:function(a){return N(a,52)},has:function(a){return P(a,52)},get:function(a){return E(a,52)},set:function(a,b){return I(a,52,b)}})));var zWa=T(217,R7(S7,Z({clear:function(a){return N(a,53)},has:function(a){return P(a,53)},get:function(a){return E(a,53)},set:function(a,b){return I(a,53,b)}})));var AWa=T(134,R7(S7,Z({clear:function(a){return N(a,34)},has:function(a){return P(a,34)},get:function(a){return E(a,34)},set:function(a,b){return I(a,34,b)}})));var BWa=T(77,R7(S7,Z({clear:function(a){return N(a,4)},has:function(a){return P(a,4)},get:function(a){return E(a,4)},set:function(a,b){return ex(a,b)}})));var CWa=T(327,R7(S7,Z({clear:function(a){return N(a,69)},has:function(a){return P(a,69)},get:function(a){return E(a,69)},set:function(a,b){return I(a,69,b)}})));var DWa=T(259,R7(S7,Z({clear:function(a){return N(a,65)},has:function(a){return P(a,65)},get:function(a){return E(a,65)},set:function(a,b){return I(a,65,b)}})));var EWa=T(147,R7(S7,Z({clear:function(a){return N(a,38)},has:function(a){return P(a,38)},get:function(a){return E(a,38)},set:function(a,b){return I(a,38,b)}})));var FWa=T(300,R7(S7,Z({clear:function(a){return N(a,67)},has:function(a){return P(a,67)},get:function(a){return E(a,67)},set:function(a,b){return I(a,67,b)}})));var GWa=T(89,R7(S7,Z({clear:function(a){return N(a,15)},has:function(a){return P(a,15)},get:function(a){return E(a,15)},set:function(a,b){return I(a,15,b)}})));var HWa=T(81,R7(S7,Z({clear:function(a){return N(a,10)},has:function(a){return P(a,10)},get:function(a){return E(a,10)},set:function(a,b){return I(a,10,b)}})));var IWa=T(114,R7(S7,Z({clear:function(a){return N(a,27)},has:function(a){return P(a,27)},get:function(a){return E(a,27)},set:function(a,b){return I(a,27,b)}})));var JWa=T(133,R7(S7,Z({clear:function(a){return N(a,33)},has:function(a){return P(a,33)},get:function(a){return E(a,33)},set:function(a,b){return I(a,33,b)}})));var KWa=T(202,R7(S7,Z({clear:function(a){return N(a,47)},has:function(a){return P(a,47)},get:function(a){return E(a,47)},set:function(a,b){return I(a,47,b)}})));var LWa=T(101,R7(S7,Z({clear:function(a){return N(a,20)},has:function(a){return P(a,20)},get:function(a){return E(a,20)},set:function(a,b){return I(a,20,b)}})));var MWa=T(201,R7(S7,Z({clear:function(a){return N(a,46)},has:function(a){return P(a,46)},get:function(a){return E(a,46)},set:function(a,b){return I(a,46,b)}})));var NWa=T(131,R7(S7,Z({clear:function(a){return N(a,31)},has:function(a){return P(a,31)},get:function(a){return E(a,31)},set:function(a,b){return I(a,31,b)}})));var OWa=T(200,R7(S7,Z({clear:function(a){return N(a,45)},has:function(a){return P(a,45)},get:function(a){return E(a,45)},set:function(a,b){return I(a,45,b)}})));var PWa=T(130,R7(S7,Z({clear:function(a){return N(a,30)},has:function(a){return P(a,30)},get:function(a){return E(a,30)},set:function(a,b){return I(a,30,b)}})));var QWa=T(93,R7(S7,Z({clear:function(a){return N(a,17)},has:function(a){return P(a,17)},get:function(a){return E(a,17)},set:function(a,b){return I(a,17,b)}})));var RWa=T(146,R7(S7,Z({clear:function(a){return N(a,37)},has:function(a){return P(a,37)},get:function(a){return E(a,37)},set:function(a,b){return I(a,37,b)}})));var SWa=T(191,R7(S7,Z({clear:function(a){return N(a,44)},has:function(a){return P(a,44)},get:function(a){return E(a,44)},set:function(a,b){return I(a,44,b)}})));var TWa=T(90,R7(S7,Z({clear:function(a){return N(a,16)},has:function(a){return P(a,16)},get:function(a){return E(a,16)},set:function(a,b){return Pv(a,b)}})));var UWa=T(78,R7(S7,Z({clear:function(a){return N(a,7)},has:function(a){return P(a,7)},get:function(a){return JL(a)},set:function(a,b){return I(a,7,b)}})));var VWa=T(186,R7(S7,Z({clear:function(a){return N(a,41)},has:function(a){return P(a,41)},get:function(a){return E(a,41)},set:function(a,b){return I(a,41,b)}})));var WWa=T(85,R7(S7,Z({clear:function(a){return N(a,12)},has:function(a){return P(a,12)},get:function(a){return E(a,12)},set:function(a,b){return I(a,12,b)}})));var XWa=T(276,R7(S7,Z({clear:function(a){return N(a,66)},has:function(a){return P(a,66)},get:function(a){return E(a,66)},set:function(a,b){return I(a,66,b)}})));var YWa=T(236,R7(S7,Z({clear:function(a){return N(a,59)},has:function(a){return P(a,59)},get:function(a){return E(a,59)},set:function(a,b){return I(a,59,b)}})));var ZWa=T(137,R7(S7,Z({clear:function(a){return N(a,36)},has:function(a){return P(a,36)},get:function(a){return E(a,36)},set:function(a,b){return I(a,36,b)}})));var $Wa=T(209,R7(S7,Z({clear:function(a){return N(a,49)},has:function(a){return P(a,49)},get:function(a){return E(a,49)},set:function(a,b){return I(a,49,b)}})));var aXa=T(189,R7(S7,Z({clear:function(a){return N(a,42)},has:function(a){return P(a,42)},get:function(a){return E(a,42)},set:function(a,b){return I(a,42,b)}})));var bXa=T(190,R7(S7,Z({clear:function(a){return N(a,43)},has:function(a){return P(a,43)},get:function(a){return E(a,43)},set:function(a,b){return ix(a,b)}})));var cXa=T(79,R7(S7,Z({clear:function(a){return N(a,8)},has:function(a){return P(a,8)},get:function(a){return E(a,8)},set:function(a,b){return hx(a,b)}})));var dXa=T(135,R7(S7,Z({clear:function(a){return N(a,35)},has:function(a){return P(a,35)},get:function(a){return E(a,35)},set:function(a,b){return I(a,35,b)}})));var eXa=T(80,R7(S7,Z({clear:function(a){return N(a,9)},has:function(a){return P(a,9)},get:function(a){return E(a,9)},set:function(a,b){return gx(a,b)}})));var fXa=T(102,R7(S7,Z({clear:function(a){return N(a,21)},has:function(a){return P(a,21)},get:function(a){return E(a,21)},set:function(a,b){return fx(a,b)}})));var gXa=T(69,Z({clear:function(a){return N(a,74)},has:function(a){return P(a,74)},get:function(a){return E(a,74)},set:function(a,b){return I(a,74,b)}}));var hXa=Z({clear:function(a){return N(a,138)},has:function(a){return ds(a,ux,138)},get:function(a){return zB(a,ux,138)},set:function(a,b){return Cma(a,b)}});var iXa=T(194,R7(hXa,Z({clear:function(a){return N(a,2)},has:function(a){return ds(a,sx,2)},get:function(a){return zB(a,sx,2)},set:function(a,b){return K(a,2,b)}})));var jXa=T(193,R7(hXa,Z({clear:function(a){return N(a,1)},has:function(a){return It(a,1)},get:function(a){return Jt(a,1)},set:function(a,b){return H(a,1,b)}})));var kXa=T(1004,Z({clear:function(a){return N(a,108)},has:function(a){return P(a,108)},get:function(a){return E(a,108)},set:function(a,b){return wma(a,b)}}));var lXa=Z({clear:function(a){return N(a,111)},has:function(a){return ds(a,xx,111)},get:function(a){return zB(a,xx,111)},set:function(a,b){return K(a,111,b)}});var mXa=T(115,R7(lXa,Z({clear:function(a){return N(a,1)},has:function(a){return P(a,1)},get:function(a){return E(a,1)},set:function(a,b){return wx(a,b)}})));var nXa=T(116,R7(lXa,Z({clear:function(a){return N(a,2)},has:function(a){return S(a,2)},get:function(a){return C(a,2)},set:function(a,b){return vx(a,b)}})));var oXa=T(136,Z({clear:function(a){return N(a,125)},has:function(a){return z(a,xx,125,B()).length>0},get:function(a){return z(a,xx,125,B())},set:function(a,b){return iy(a,b)}}));var pXa=T(34,R7(S7,Z({clear:function(a){return N(a,3)},has:function(a){return P(a,3)},get:function(a){return E(a,3)},set:function(a,b){return I(a,3,b)}})));var qXa=T(9,Z({clear:function(a){return N(a,10)},has:function(a){return YF(a,10)},get:function(a){return Tg(jt(a,10))},set:function(a,b){return fma(a,b)}}));var T7=Z({clear:function(a){return N(a,91)},has:function(a){return ds(a,rq,91)},get:function(a){return zB(a,rq,91)},set:function(a,b){return rM(a,b)}});var U7=Z({clear:function(a){return N(a,11)},has:function(a){return S(a,11)},get:function(a){return C(a,11)},set:function(a,b){return Fv(a,b)}});var rXa=T(252,R7(T7,U7));var V7=Z({clear:function(a){return N(a,2)},has:function(a){return S(a,2)},get:function(a){return a.K()},set:function(a,b){return Gv(a,b)}});var sXa=T(180,R7(T7,V7));var W7=Z({clear:function(a){return N(a,15)},has:function(a){return S(a,15)},get:function(a){return C(a,15)},set:function(a,b){return D(a,15,b)}});var tXa=T(206,R7(T7,W7));var X7=Z({clear:function(a){return N(a,1)},has:function(a){return S(a,1)},get:function(a){return C(a,1)},set:function(a,b){return D(a,1,b)}});var Y7=Z({clear:function(a){return N(a,172)},has:function(a){return ds(a,mx,172)},get:function(a){return zB(a,mx,172)},set:function(a,b){return Jma(a,b)}});var uXa=T(338,R7(Y7,X7));var Z7=Z({clear:function(a){return N(a,2)},has:function(a){return S(a,2)},get:function(a){return C(a,2)},set:function(a,b){return D(a,2,b)}});var vXa=T(339,R7(Y7,Z7));var $7=Z({clear:function(a){return N(a,3)},has:function(a){return S(a,3)},get:function(a){return C(a,3)},set:function(a,b){return D(a,3,b)}});var wXa=T(340,R7(Y7,$7));var a8=Z({clear:function(a){return N(a,4)},has:function(a){return It(a,4)},get:function(a){return Jt(a,4)},set:function(a,b){return H(a,4,b)}});var xXa=T(350,R7(Y7,a8));var b8=function(){};b8.prototype.clear=function(a){a=N(a,42);N(a,43)};b8.prototype.has=function(a){return S(a,42)||S(a,43)};b8.prototype.Ob=function(a,b){if(this.has(b)){var c=C(b,42);a=D(a,42,c);jma(a,C(b,43))}};var yXa=gD(43,new b8);var zXa=T(91,T7);var AXa=T(187,Z({clear:function(a){return N(a,136)},has:function(a){return S(a,136)},get:function(a){return C(a,136)},set:function(a,b){return uM(a,b)}}));var BXa=T(26,Z({clear:function(a){return N(a,24)},has:function(a){return a.Ic()},get:function(a){return C(a,24)},set:function(a,b){return a.setDescription(b)}}));var CXa=T(108,Z({clear:function(a){return N(a,104)},has:function(a){return F(a,104,B()).length>0},get:function(a){return F(a,104,B())},set:function(a,b){return Ju(a,104,b)}}));var c8=function(){};c8.prototype.clear=function(a){N(a,40);var b;(b=Ns(a))!=null&&N(b,5)};c8.prototype.has=function(a){var b,c;return(c=(b=Ns(a))==null?void 0:P(b,5))!=null?c:!1};c8.prototype.Ob=function(a,b){if(ds(b,Os,84)){b=b.clone();var c=zB(b,Os,84);dx(zB(a,Os,84),E(c,5));b=E(b,40);I(a,40,b)}};var DXa=gD(41,new c8);var EXa=T(42,Z({clear:function(a){return N(a,41)},has:function(a){return S(a,41)},get:function(a){return C(a,41)},set:function(a,b){return D(a,41,b)}}));var FXa=T(59,R7(S7,Z({clear:function(a){return N(a,6)},has:function(a){return P(a,6)},get:function(a){return E(a,6)},set:function(a,b){return I(a,6,b)}})));var GXa=T(302,Z({clear:function(a){return N(a,161)},has:function(a){return It(a,161)},get:function(a){return Jt(a,161)},set:function(a,b){return Hma(a,b)}}));var HXa=T(318,Z({clear:function(a){return N(a,162)},has:function(a){return S(a,162)},get:function(a){return C(a,162)},set:function(a,b){return D(a,162,b)}}));var IXa=T(28,Z({clear:function(a){return N(a,26)},has:function(a){return P(a,26)},get:function(a){return E(a,26)},set:function(a,b){return fM(a,b)}}));var JXa=T(328,Z({clear:function(a){return N(a,164)},has:function(a){return It(a,164)},get:function(a){return Tn(a,164)},set:function(a,b){return H(a,164,b)}}));var KXa=T(44,Z({clear:function(a){return N(a,45)},has:function(a){return S(a,45)},get:function(a){return C(a,45)},set:function(a,b){return kma(a,b)}}));var RXa=T(13,Z({clear:function(a){return N(a,14)},has:function(a){return YF(a,14)},get:function(a){return Tg(jt(a,14))},set:function(a,b){return Vr(a,14,b)}}));var SXa=T(48,Z({clear:function(a){return N(a,36)},has:function(a){return P(a,36)},get:function(a){return E(a,36)},set:function(a,b){return ima(a,b)}}));var TXa=T(38,Z({clear:function(a){return N(a,34)},has:function(a){return YF(a,34)},get:function(a){return Tg(a.Fi())},set:function(a,b){return hM(a,b)}}));var UXa=T(86,Z({clear:function(a){return N(a,87)},has:function(a){return YF(a,87)},get:function(a){return Tg(jt(a,87))},set:function(a,b){return Vr(a,87,b)}}));var VXa=T(49,Z({clear:function(a){return N(a,50)},has:function(a){return F(a,50,B()).length>0},get:function(a){return F(a,50,B())},set:function(a,b){return lma(a,b)}}));var WXa=Z({clear:function(a){return N(a,170)},has:function(a){return ds(a,OL,170)},get:function(a){return zB(a,OL,170)},set:function(a,b){return K(a,170,b)}});var XXa=T(336,R7(WXa,Z({clear:function(a){return N(a,2)},has:function(a){return ds(a,NL,2)},get:function(a){return zB(a,NL,2)},set:function(a,b){return K(a,2,b)}})));var YXa=T(335,R7(WXa,Z({clear:function(a){return N(a,1)},has:function(a){return ds(a,NL,1)},get:function(a){return zB(a,NL,1)},set:function(a,b){return K(a,1,b)}})));var ZXa=T(334,Z({clear:function(a){return N(a,169)},has:function(a){return ds(a,PL,169)},get:function(a){return zB(a,PL,169)},set:function(a,b){return K(a,169,b)}}));var $Xa=T(322,Z({clear:function(a){return N(a,163)},has:function(a){return S(a,163)},get:function(a){return C(a,163)},set:function(a,b){return D(a,163,b)}}));var aYa=T(104,Z({clear:function(a){return N(a,102)},has:function(a){return P(a,102)},get:function(a){return E(a,102)},set:function(a,b){return vma(a,b)}}));var bYa=T(330,Z({clear:function(a){return N(a,166)},has:function(a){return P(a,166)},get:function(a){var b;return(b=E(a,166))!=null?b:!1},set:function(a,b){return I(a,166,b)}}));var cYa=T(39,Z({clear:function(a){return N(a,35)},has:function(a){return P(a,35)},get:function(a){return E(a,35)},set:function(a,b){return hma(a,b)}}));var dYa=T(243,Z({clear:function(a){return N(a,153)},has:function(a){return P(a,153)},get:function(a){return E(a,153)},set:function(a,b){return I(a,153,b)}}));var eYa=T(87,Z({clear:function(a){return N(a,76)},has:function(a){return P(a,76)},get:function(a){return E(a,76)},set:function(a,b){return pma(a,b)}}));var fYa=T(62,Z({clear:function(a){return N(a,44)},has:function(a){return P(a,44)},get:function(a){return E(a,44)},set:function(a,b){return py(a,b)}}));var gYa=T(100,Z({clear:function(a){return N(a,98)},has:function(a){return P(a,98)},get:function(a){return E(a,98)},set:function(a,b){return I(a,98,b)}}));var hYa=T(72,Z({clear:function(a){return N(a,78)},has:function(a){return S(a,78)},get:function(a){return C(a,78)},set:function(a,b){return D(a,78,b)}}));var iYa=T(5,Z({clear:function(a){return N(a,6)},has:function(a){return P(a,6)},get:function(a){return E(a,6)},set:function(a,b){return dma(a,b)}}));var jYa=T(20,Z({clear:function(a){return N(a,21)},has:function(a){return S(a,21)},get:function(a){return C(a,21)},set:function(a,b){return D(a,21,b)}}));var kYa=T(21,Z({clear:function(){},has:function(a){return S(a,1)},get:function(a){return a.K()},set:function(a,b){return ey(a,b)}}));var d8=Z({clear:function(a){return N(a,27)},has:function(a){return ds(a,Cx,27)},get:function(a){return zB(a,Cx,27)},set:function(a,b){return K(a,27,b)}});var lYa=T(29,R7(d8,Z({clear:function(a){return N(a,1)},has:function(a){return YF(a,1)},get:function(a){return Tg(jt(a,1))},set:function(a,b){return Vr(a,1,b)}})));var mYa=T(31,R7(d8,Z({clear:function(a){return N(a,3)},has:function(a){return XF(a,3)},get:function(a){return $t(a,3)},set:function(a,b){return J(a,3,b)}})));var nYa=T(92,R7(d8,Z({clear:function(a){return N(a,4)},has:function(a){return XF(a,4)},get:function(a){return $t(a,4)},set:function(a,b){return J(a,4,b)}})));var oYa=T(30,R7(d8,Z({clear:function(a){return N(a,2)},has:function(a){return XF(a,2)},get:function(a){return $t(a,2)},set:function(a,b){return J(a,2,b)}})));var pYa=T(235,Z({clear:function(a){return N(a,149)},has:function(a){return YF(a,149)},get:function(a){return Tg(jt(a,149))},set:function(a,b){return Fma(a,b)}}));var qYa=T(279,Z({clear:function(a){return N(a,160)},has:function(a){return P(a,160)},get:function(a){return E(a,160)},set:function(a,b){return I(a,160,b)}}));var e8=Z({clear:function(a){return N(a,173)},has:function(a){return ds(a,mx,173)},get:function(a){return zB(a,mx,173)},set:function(a,b){return Kma(a,b)}});var rYa=T(341,R7(e8,X7));var sYa=T(342,R7(e8,Z7));var tYa=T(343,R7(e8,$7));var uYa=T(351,R7(e8,a8));var f8=Z({clear:function(a){return N(a,17)},has:function(a){return ds(a,rq,17)},get:function(a){return zB(a,rq,17)},set:function(a,b){return dM(a,b)}});var vYa=T(248,R7(f8,U7));var wYa=T(168,R7(f8,V7));var xYa=T(204,R7(f8,W7));var yYa=T(16,f8);var zYa=T(12,Z({clear:function(a){return N(a,13)},has:function(a){return YF(a,13)},get:function(a){return Tg(jt(a,13))},set:function(a,b){return gma(a,b)}}));var g8=Z({clear:function(a){return N(a,139)},has:function(a){return ds(a,Gx,139)},get:function(a){return zB(a,Gx,139)},set:function(a,b){return Dma(a,b)}});var AYa=T(211,R7(g8,Z({clear:function(a){return N(a,2)},has:function(a){return P(a,2)},get:function(a){return E(a,2)},set:function(a,b){return I(a,2,b)}})));var BYa=T(212,R7(g8,Z({clear:function(a){return N(a,3)},has:function(a){return P(a,3)},get:function(a){return E(a,3)},set:function(a,b){return I(a,3,b)}})));var CYa=T(220,R7(g8,Z({clear:function(a){return N(a,5)},has:function(a){return P(a,5)},get:function(a){return E(a,5)},set:function(a,b){return I(a,5,b)}})));var DYa=T(273,Z({clear:function(a){return N(a,156)},has:function(a){return ds(a,WL,156)},get:function(a){return zB(a,WL,156)},set:function(a,b){return vM(a,b)}}));var EYa=T(3,Z({clear:function(a){return N(a,4)},has:function(a){return S(a,4)},get:function(a){return a.xd()},set:function(a,b){return Mk(a,b)}}));var h8=Z({clear:function(a){return N(a,175)},has:function(a){return ds(a,mx,175)},get:function(a){return zB(a,mx,175)},set:function(a,b){return Mma(a,b)}});var FYa=T(347,R7(h8,X7));var GYa=T(348,R7(h8,Z7));var HYa=T(349,R7(h8,$7));var IYa=T(353,R7(h8,a8));var JYa=T(11,Z({clear:function(a){return N(a,12)},has:function(a){return YF(a,12)},get:function(a){return Tg(jt(a,12))},set:function(a,b){return cM(a,b)}}));var KYa=T(10,Z({clear:function(a){return N(a,11)},has:function(a){return YF(a,11)},get:function(a){return Tg(jt(a,11))},set:function(a,b){return ny(a,b)}}));var LYa=T(50,Z({clear:function(a){return N(a,81)},has:function(a){return ds(a,Xs,81)},get:function(a){return zB(a,Xs,81)},set:function(a,b){return K(a,81,b)}}));var MYa=T(18,Z({clear:function(a){return N(a,19)},has:function(a){return S(a,19)},get:function(a){return C(a,19)},set:function(a,b){return D(a,19,b)}}));var NYa=T(95,Z({clear:function(a){return N(a,93)},has:function(a){return S(a,93)},get:function(a){return C(a,93)},set:function(a,b){return Rv(a,b)}}));var OYa=T(58,Z({clear:function(a){return N(a,63)},has:function(a){return P(a,63)},get:function(a){return E(a,63)},set:function(a,b){return I(a,63,b)}}));var PYa=Z({clear:function(a){return N(a,15)},has:function(a){return DF(a,rq,15)>0},get:function(a){return qq(a)},set:function(a,b){return Nv(a,b.slice())}}),QYa=T(14,PYa);var i8=function(a,b,c,d,e){this.j=a;this.B=b;this.g=d;this.o=e};i8.prototype.clear=function(a){a=q(this.j.get(a));for(var b=a.next();!b.done;b=a.next())this.o.clear(b.value)};i8.prototype.has=function(a){a=q(this.j.get(a));for(var b=a.next();!b.done;b=a.next())if(this.o.has(b.value))return!0;return!1};
i8.prototype.Ob=function(a,b){var c=this,d=this.j.get(a),e=this.j.get(b);b=[];var f=new Set(e.map(function(h){return c.g.get(h)}));d=q(d);for(var g=d.next();!g.done;g=d.next()){g=g.value;let h=this.g.get(g);f.has(h)&&b.push(g)}e=q(e);for(f=e.next();!f.done;f=e.next())f=f.value,d=this.find(f,b),d||(d=new this.B,this.g.set(d,this.g.get(f)),b.push(d)),this.o.has(f)&&this.o.set(d,this.o.get(f));this.j.set(a,b)};
i8.prototype.find=function(a,b){var c=this,d=this.g.get(a);return b.find(function(e){return c.g.get(e)===d})};var RYa=Z({clear:function(a){return N(a,14)},has:function(a){return S(a,14)},get:function(a){return C(a,14)},set:function(a,b){return D(a,14,b)}});var j8=function(a){i8.call(this,PYa,rq,164,V7,a)};U(j8,i8);var SYa=gD(164,new j8(V7)),TYa=gD(244,new j8(U7)),UYa=gD(203,new j8(W7)),VYa=gD(195,new j8(RYa));var WYa=T(103,Z({clear:function(a){return N(a,101)},has:function(a){return It(a,101)},get:function(a){return Jt(a,101)},set:function(a,b){return uma(a,b)}}));var XYa=T(1,Z({clear:function(a){return N(a,2)},has:function(a){return $L(a).length>0},get:function(a){return $L(a)},set:function(a,b){return gy(a,b==null?void 0:b.slice())}}));var YYa=T(96,Z({clear:function(a){return N(a,94)},has:function(a){return P(a,94)},get:function(a){return E(a,94)},set:function(a,b){return sma(a,b)}}));var ZYa=T(75,Z({clear:function(a){return N(a,85)},has:function(a){return ds(a,Ow,85)},get:function(a){return zB(a,Ow,85)},set:function(a,b){return qM(a,b)}}));var $Ya=T(94,Z({clear:function(a){return N(a,92)},has:function(a){return S(a,92)},get:function(a){return C(a,92)},set:function(a,b){return sM(a,b)}}));var aZa=T(45,Z({clear:function(a){return N(a,46)},has:function(a){return S(a,46)},get:function(a){return C(a,46)},set:function(a,b){return iM(a,b)}}));var bZa=T(124,Z({clear:function(a){return N(a,118)},has:function(a){return P(a,118)},get:function(a){return E(a,118)},set:function(a,b){return I(a,118,b)}}));var cZa=T(125,Z({clear:function(a){return N(a,119)},has:function(a){return S(a,119)},get:function(a){return C(a,119)},set:function(a,b){return yma(a,b)}}));var dZa=T(32,Z({clear:function(a){return N(a,28)},has:function(a){return YF(a,28)},get:function(a){return Tg(jt(a,28))},set:function(a,b){return Vr(a,28,b)}}));var eZa=T(218,Z({clear:function(a){return N(a,143)},has:function(a){return YF(a,143)},get:function(a){return Tg(jt(a,143))},set:function(a,b){return Vr(a,143,b)}}));var fZa=T(67,Z({clear:function(a){return N(a,70)},has:function(a){return YF(a,70)},get:function(a){return Tg(jt(a,70))},set:function(a,b){return nma(a,b)}}));var gZa=T(68,Z({clear:function(a){return N(a,71)},has:function(a){return It(a,71)},get:function(a){return Jt(a,71)},set:function(a,b){return oma(a,b)}}));var hZa=T(210,Z({clear:function(a){return N(a,140)},has:function(a){return S(a,140)},get:function(a){return C(a,140)},set:function(a,b){return D(a,140,b)}}));var iZa=T(7,Z({clear:function(a){return N(a,8)},has:function(a){return P(a,8)},get:function(a){return E(a,8)},set:function(a,b){return bM(a,b)}}));var jZa=T(122,Z({clear:function(a){return N(a,109)},has:function(a){return ds(a,QL,109)},get:function(a){return zB(a,QL,109)},set:function(a,b){return xma(a,b)}}));var kZa=T(355,Z({clear:function(a){return N(a,176)},has:function(a){return ds(a,YL,176)},get:function(a){return vB(a,YL,176)},set:function(a,b){return K(a,176,b)}}));var lZa=T(66,Z({clear:function(a){return N(a,69)},has:function(a){return YF(a,69)},get:function(a){return Tg(jt(a,69))},set:function(a,b){return mma(a,b)}}));var mZa=T(24,Z({clear:function(a){return N(a,22)},has:function(a){return P(a,22)},get:function(a){return a.Hi()},set:function(a,b){return my(a,b)}}));var nZa=T(25,Z({clear:function(a){return N(a,23)},has:function(a){return YF(a,23)},get:function(a){return Tg(jt(a,23))},set:function(a,b){return oy(a,b)}}));var k8=Z({clear:function(a){return N(a,174)},has:function(a){return ds(a,mx,174)},get:function(a){return zB(a,mx,174)},set:function(a,b){return Lma(a,b)}});var oZa=T(344,R7(k8,X7));var pZa=T(345,R7(k8,Z7));var qZa=T(346,R7(k8,$7));var rZa=T(352,R7(k8,a8));var l8=Z({clear:function(a){return N(a,47)},has:function(a){return ds(a,rq,47)},get:function(a){return zB(a,rq,47)},set:function(a,b){return jM(a,b)}});var sZa=T(250,R7(l8,U7));var tZa=T(171,R7(l8,V7));var uZa=T(205,R7(l8,W7));var vZa=T(46,Z({clear:function(a){return N(a,47)},has:function(a){return ds(a,rq,47)},get:function(a){return zB(a,rq,47)},set:function(a,b){return jM(a,b)}}));var m8=Z({clear:function(a){return N(a,132)},has:function(a){return ds(a,ZL,132)},get:function(a){return zB(a,ZL,132)},set:function(a,b){return Ama(a,b)}});var wZa=T(192,R7(m8,Z({clear:function(a){return N(a,6)},has:function(a){return P(a,6)},get:function(a){return E(a,6)},set:function(a,b){return I(a,6,b)}})));var xZa=T(154,R7(m8,Z({clear:function(a){return N(a,1)},has:function(a){return S(a,1)},get:function(a){return C(a,1)},set:function(a,b){return D(a,1,b)}})));var yZa=T(159,R7(m8,Z({clear:function(a){return N(a,5)},has:function(a){return ds(a,Pk,5)},get:function(a){return Vs(a)},set:function(a,b){return K(a,5,b)}})));var zZa=T(158,R7(m8,Z({clear:function(a){return N(a,4)},has:function(a){return It(a,4)},get:function(a){return Jt(a,4)},set:function(a,b){return H(a,4,b)}})));var AZa=T(155,R7(m8,Z({clear:function(a){return N(a,3)},has:function(a){return S(a,3)},get:function(a){return C(a,3)},set:function(a,b){return D(a,3,b)}})));var BZa=T(56,Z({clear:function(a){return N(a,61)},has:function(a){return S(a,61)},get:function(a){return C(a,61)},set:function(a,b){return D(a,61,b)}}));var CZa=T(52,Z({clear:function(a){return N(a,56)},has:function(a){return F(a,56,B()).length>0},get:function(a){return F(a,56,B())},set:function(a,b){return Ju(a,56,b)}}));var DZa=T(55,Z({clear:function(a){return N(a,60)},has:function(a){return z(a,RL,60,B()).length>0},get:function(a){return z(a,RL,60,B())},set:function(a,b){return yu(a,60,b==null?void 0:b.slice())}}));var n8=Z({clear:function(a){return N(a,148)},has:function(a){return ds(a,zx,148)},get:function(a){return zB(a,zx,148)},set:function(a,b){return jy(a,b)}});var EZa=T(234,R7(n8,Z({clear:function(a){return N(a,4)},has:function(a){return P(a,4)},get:function(a){return E(a,4)},set:function(a,b){return I(a,4,b)}})));var FZa=T(275,R7(n8,Z({clear:function(a){return N(a,6)},has:function(a){return P(a,6)},get:function(a){return E(a,6)},set:function(a,b){return I(a,6,b)}})));var GZa=T(274,R7(n8,Z({clear:function(a){return N(a,5)},has:function(a){return P(a,5)},get:function(a){return E(a,5)},set:function(a,b){return I(a,5,b)}})));var HZa=T(233,R7(n8,Z({clear:function(a){return Pla(a)},has:function(a){return YF(a,3)},get:function(a){return Tg(jt(a,3))},set:function(a,b){return yx(a,b)}})));var IZa=T(111,Z({clear:function(){},has:function(){return!1},get:function(){},set:function(a){return a}}));var JZa=T(4,Z({clear:function(a){return N(a,5)},has:function(a){return P(a,5)},get:function(a){return E(a,5)},set:function(a,b){return ky(a,b)}}));var KZa=T(35,Z({clear:function(a){return N(a,31)},has:function(a){return P(a,31)},get:function(a){return E(a,31)},set:function(a,b){return gM(a,b)}}));var LZa=T(112,Z({clear:function(){},has:function(){return!1},get:function(){},set:function(a){return a}}));var MZa=T(83,Z({clear:function(a){return N(a,72)},has:function(a){return S(a,72)},get:function(a){return lM(a)},set:function(a,b){return ly(a,b)}}));var o8=Z({clear:function(a){return N(a,73)},has:function(a){return ds(a,TL,73)},get:function(a){return zB(a,TL,73)},set:function(a,b){return nM(a,b)}});var p8=R7(o8,{clear:function(a){return N(a,10)},has:function(a){return ds(a,SL,10)},get:function(a){return zB(a,SL,10)},set:function(a,b){return K(a,10,b)}});var NZa=T(331,R7(p8,Z({clear:function(a){return N(a,3)},has:function(a){return P(a,3)},get:function(a){return E(a,3)},set:function(a,b){return I(a,3,b)}})));var OZa=T(298,R7(p8,Z({clear:function(a){return N(a,1)},has:function(a){return rk(a,1,void 0,void 0,xc)!=null},get:function(a){return rk(a,1,void 0,void 0,xc)},set:function(a,b){return Qla(a,b)}})));var PZa=T(299,R7(p8,Z({clear:function(a){return N(a,2)},has:function(a){return rk(a,2,void 0,void 0,xc)!=null},get:function(a){return rk(a,2,void 0,void 0,xc)},set:function(a,b){return Rla(a,b)}})));var QZa=T(157,R7(o8,Z({clear:function(a){return N(a,8)},has:function(){return!0},get:function(a){return z(a,eC,8,B())},set:function(a,b){return UL(a,b)}})));var RZa=T(221,R7(o8,Z({clear:function(a){return N(a,9)},has:function(a){return P(a,9)},get:function(a){return E(a,9)},set:function(a,b){return I(a,9,b)}})));var SZa=T(84,Z({clear:function(a){return N(a,86)},has:function(a){return ds(a,Fx,86)},get:function(a){return O(a,Fx,86)},set:function(a,b){return rma(a,b)}}));var q8=function(){};q8.prototype.clear=function(a){a=N(a,20);N(a,90)};q8.prototype.has=function(a){return S(a,20)||YF(a,90)};q8.prototype.Ob=function(a,b){if(this.has(b)){var c=C(b,20);a=D(a,20,c);a=py(a,E(b,44));b=Tg(jt(b,90));Vr(a,90,b)}};var r8=Z({clear:function(a){return N(a,95)},has:function(a){return ds(a,rq,95)},get:function(a){return zB(a,rq,95)},set:function(a,b){return tM(a,b)}});var s8=Z({clear:function(a){return N(a,103)},has:function(a){return ds(a,Ex,103)},get:function(a){return zB(a,Ex,103)},set:function(a,b){return K(a,103,b)}});var PVa=[bWa,cWa,dWa,eWa,fWa,gWa,hWa,iWa,jWa,kWa,lWa,mWa,nWa,oWa,pWa,qWa,rWa,sWa,tWa,uWa,vWa,wWa,xWa,yWa,zWa,AWa,BWa,CWa,DWa,EWa,FWa,GWa,HWa,IWa,JWa,KWa,LWa,MWa,NWa,OWa,PWa,QWa,RWa,SWa,TWa,UWa,VWa,WWa,XWa,YWa,ZWa,$Wa,aXa,bXa,cXa,dXa,eXa,fXa,gXa,iXa,jXa,kXa,mXa,nXa,oXa,pXa,qXa,uXa,vXa,wXa,xXa,yXa,zXa,rXa,sXa,tXa,AXa,BXa,CXa,EXa,DXa,GXa,FXa,HXa,IXa,JXa,KXa,RXa,SXa,TXa,UXa,VXa,ZXa,XXa,YXa,$Xa,aYa,bYa,cYa,dYa,eYa,fYa,gYa,hYa,iYa,jYa,kYa,lYa,mYa,nYa,oYa,pYa,qYa,rYa,sYa,tYa,uYa,yYa,vYa,wYa,xYa,zYa,AYa,
BYa,CYa,DYa,EYa,FYa,GYa,HYa,IYa,JYa,KYa,LYa,MYa,NYa,OYa,QYa,VYa,TYa,SYa,UYa,WYa,XYa,YYa,ZYa,$Ya,aZa,bZa,cZa,dZa,eZa,fZa,gZa,hZa,iZa,jZa,kZa,lZa,mZa,nZa,oZa,pZa,qZa,rZa,vZa,sZa,tZa,uZa,wZa,xZa,yZa,zZa,AZa,BZa,CZa,DZa,EZa,FZa,GZa,HZa,IZa,JZa,KZa,LZa,MZa,NZa,OZa,PZa,QZa,RZa,SZa,gD(19,new q8),T(2,Z({clear:function(a){return N(a,3)},has:function(a){return a.gb()},get:function(a){return a.Ma()},set:function(a,b){return a.setTitle(b)}})),T(98,Z({clear:function(a){return N(a,96)},has:function(a){return YF(a,
96)},get:function(a){return Tg(jt(a,96))},set:function(a,b){return tma(a,b)}})),T(6,Z({clear:function(a){return N(a,7)},has:function(a){return P(a,7)},get:function(a){return E(a,7)},set:function(a,b){return aM(a,b)}})),T(97,Z({clear:function(a){return N(a,95)},has:function(a){return ds(a,rq,95)},get:function(a){return zB(a,rq,95)},set:function(a,b){return tM(a,b)}})),T(254,R7(r8,U7)),T(175,R7(r8,V7)),T(207,R7(r8,W7)),T(27,Z({clear:function(a){return N(a,25)},has:function(a){return It(a,25)},get:function(a){return Jt(a,
25)},set:function(a,b){return eM(a,b)}})),T(70,Z({clear:function(a){return N(a,75)},has:function(a){return a.Ff()},get:function(a){return Tg(jt(a,75))},set:function(a,b){return Vr(a,75,b)}})),T(107,R7(s8,Z({clear:function(a){return N(a,3)},has:function(a){return XF(a,3)},get:function(a){return $t(a,3)},set:function(a,b){return J(a,3,b)}}))),T(106,R7(s8,Z({clear:function(a){return N(a,2)},has:function(a){return XF(a,2)},get:function(a){return $t(a,2)},set:function(a,b){return J(a,2,b)}}))),T(303,R7(s8,
Z({clear:function(a){return N(a,4)},has:function(a){return It(a,4)},get:function(a){return Jt(a,4)},set:function(a,b){return H(a,4,b)}}))),T(105,R7(s8,Z({clear:function(a){return N(a,1)},has:function(a){return XF(a,1)},get:function(a){return $t(a,1)},set:function(a,b){return J(a,1,b)}}))),T(333,Z({clear:function(a){return N(a,168)},has:function(a){return ds(a,Hx,168)},get:function(a){return O(a,Hx,168)},set:function(a,b){return Ima(a,b)}})),T(8,Z({clear:function(a){return N(a,9)},has:function(a){return P(a,
9)},get:function(a){return E(a,9)},set:function(a,b){return ema(a,b)}})),T(337,Z({clear:function(a){return N(a,171)},has:function(a){return ds(a,wB,171)},get:function(a){return zB(a,wB,171)},set:function(a,b){return K(a,171,b)}})),T(332,Z({clear:function(a){return N(a,167)},has:function(a){return S(a,167)},get:function(a){return C(a,167)},set:function(a,b){return D(a,167,b)}})),T(126,Z({clear:function(a){return N(a,120)},has:function(a){return F(a,120,B()).length>0},get:function(a){return F(a,120,
B())},set:function(a,b){return Ju(a,120,b)}}))];var pD=new Map,TZa=jD("can_add_children"),UZa=jD("can_add_folder_from_another_drive"),VZa=jD("can_change_category_links"),WZa=jD("can_change_category_references"),XZa=jD("can_change_drive_background"),YZa=jD("can_change_team_drive_background"),ZZa=jD("can_comment"),$Za=jD("can_copy"),a_a=jD("can_copy_non_authoritative"),b_a=jD("can_delete"),c_a=jD("can_delete_children"),d_a=jD("can_delete_drive"),e_a=jD("can_delete_team_drive"),f_a=jD("can_download"),g_a=jD("can_download_non_authoritative"),h_a=jD("can_edit"),
i_a=jD("can_manage_members"),j_a=jD("can_read_team_drive"),k_a=jD("can_remove_children"),l_a=jD("can_rename"),m_a=jD("can_rename_drive"),n_a=jD("can_rename_team_drive"),o_a=jD("can_share"),p_a=jD("can_share_outside_domain"),q_a=jD("can_trash_children");pD.set(21,{ua:"id"});var r_a={};pD.set(120,{ua:(r_a[14]="alternate_link",r_a)});var t8={};pD.set(141,{ua:(t8[14]=lD("theme_image_url"),t8[0]="background_image_link",t8)});pD.set(76,{ua:TZa});var u8={};
pD.set(208,{ua:(u8[14]=UZa,u8[0]=function(a){if(!a.Jd)return UZa},u8)});var v8={};pD.set(156,{ua:(v8[14]=function(a){return Q(a.F,77)?VZa:void 0},v8[0]=function(a){return Q(a.F,77)?WZa:void 0},v8)});var w8={};pD.set(304,{ua:(w8[14]=YZa,w8[0]=function(a){return a.Jd?XZa:YZa},w8)});pD.set(61,{ua:ZZa});pD.set(258,{ua:a_a});var s_a={};pD.set(77,{ua:(s_a[14]=b_a,s_a)});pD.set(134,{ua:c_a});var t_a={};pD.set(311,{ua:(t_a[0]=function(a){return a.Jd?d_a:e_a},t_a)});pD.set(81,{ua:i_a});pD.set(79,{ua:function(a){if(a.Jd)return o_a}});
var u_a={};pD.set(90,{ua:(u_a[14]=j_a,u_a)});var x8={};pD.set(78,{ua:(x8[14]=k_a,x8[0]=function(a){if(!a.Jd)return k_a},x8)});pD.set(85,{ua:l_a});var y8={};pD.set(308,{ua:(y8[14]=n_a,y8[0]=function(a){return a.Jd?m_a:n_a},y8)});var z8={};pD.set(307,{ua:(z8[14]=p_a,z8[0]=function(a){if(!a.Jd)return p_a},z8)});pD.set(135,{ua:q_a});var A8={};pD.set(140,{ua:(A8[14]=lD("theme_color"),A8[0]="color_rgb",A8)});pD.set(34,{ua:$Za});var v_a={};pD.set(9,{ua:(v_a[14]="create_date_millis",v_a)});var B8={};
pD.set(180,{ua:(B8[14]=kD("id"),B8[0]=function(a){return jv(a.F)?kD("permission_id")+","+kD("kind"):"creator"},B8)});var C8={};pD.set(252,{ua:(C8[14]=kD("focus_user_id"),C8[0]=function(a){return jv(a.F)?kD("id")+","+kD("kind"):"creator"},C8)});var D8={};pD.set(198,{ua:(D8[14]=kD("email_from_account"),D8[0]=function(a){return jv(a.F)?kD("email_address_from_account")+","+kD("kind"):"creator"},D8)});var w_a={};pD.set(282,{ua:(w_a[14]=kD("is_me"),w_a)});var x_a={};pD.set(285,{ua:(x_a[14]=kD("type"),x_a)});
pD.set(187,{ua:"customer_id"});pD.set(41,{ua:f_a});pD.set(259,{ua:g_a});pD.set(59,{ua:h_a});var E8={};pD.set(5,{ua:(E8[14]=lD("hidden"),E8[0]="hidden",E8)});var F8={};pD.set(235,{ua:(F8[14]="individual_quota_bytes_total",F8[0]=iD("quota_info","individual_quota_bytes_total"),F8)});var G8={};pD.set(157,{ua:(G8[14]=lD("linked_categories"),G8[0]="category_references",G8)});var y_a={};pD.set(3,{ua:(y_a[14]="mime_type",y_a)});var z_a={};pD.set(139,{ua:(z_a[0]="name",z_a)});pD.set(95,{ua:"organization_display_name"});
var A_a={};pD.set(319,{ua:(A_a[14]="partial",A_a)});var H8={};pD.set(75,{ua:(H8[14]=Uha,H8[0]=Vha,H8)});pD.set(94,{ua:"primary_domain_name"});var I8={};pD.set(218,{ua:(I8[14]="quota_bytes_used_in_drive",I8[0]=iD("quota_info","quota_bytes_used"),I8)});var B_a={};pD.set(73,{ua:(B_a[0]="recursive_file_count",B_a)});var C_a={};pD.set(118,{ua:(C_a[0]="recursive_folder_count",C_a)});var J8={};
pD.set(122,{ua:(J8[14]=new gr("restrictions",["copy_requires_writer_permission","domain_users_only","team_members_only"]),J8[0]="restrictions",J8)});var D_a={};pD.set(83,{ua:(D_a[14]="team_drive_id",D_a)});var K8={};pD.set(320,{ua:(K8[14]=lD("theme_image_grid_view_url"),K8[0]="background_image_grid_view_link",K8)});var L8={};pD.set(321,{ua:(L8[14]=lD("theme_image_list_view_url"),L8[0]="background_image_list_view_link",L8)});var E_a={};pD.set(331,{ua:(E_a[14]=lD("corpus_limits","can_sync"),E_a)});
var M8={};pD.set(298,{ua:(M8[14]=lD("corpus_limits","items_count_capacity_used_percentage"),M8[0]=iD("corpus_limits","items_count_capacity_used_percentage"),M8)});var N8={};pD.set(299,{ua:(N8[14]=lD("corpus_limits","items_count_capacity_used_percentage_notification_threshold"),N8[0]=iD("corpus_limits","items_count_capacity_used_percentage_notification_threshold"),N8)});var F_a={};pD.set(2,{ua:(F_a[14]="title",F_a)});var O8={};pD.set(144,{ua:(O8[14]=lD("trusted"),O8[0]="trusted",O8)});var G_a=ec(ec(Vb(gr),hc),wm);var H_a=function(a,b,c){K7.call(this,a,b,c);this.config=b};U(H_a,K7);var oD=function(a){J7.call(this,new G7);this.F=a;this.g=new Set};U(oD,J7);oD.prototype.B=function(){for(var a=[],b=q(this.fields.entries()),c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;a.push(new H_a(c,d.config,d.operations))}return new P8(this.F,this.g,a)};var P8=function(a,b,c){H7.call(this,c);this.F=a;this.g=new F7(q(OVa(this,b,[].concat(r(b)))).next().value)};U(P8,H7);k=P8.prototype;k.ai=function(){return"Primary fields: "+this.g.Jb.g.join(", ")+"\n"+H7.prototype.ai.call(this)};
k.zb=function(){return[].concat(r(this.g.Jb.g))};k.Ch=function(){return this.g.Jb.j};k.Re=function(a){return this.g.Jb.has(a)};k.jl=function(){return[].concat(r(this.g.g))};k.zf=function(){return this.g.zf()};k.mh=function(a){return this.g.mh(a)};k.Ad=function(a){var b=this.zb(),c=this.Ch();a=q(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c.has(d)||b.push(d);return b};
var hr=function(a,b,c,d){a=UCa(a,b,c,d);return c===0?[new gr("kind")].concat(r(a)):a},UCa=function(a,b,c,d){var e=d=d===void 0?{Jd:!1,Ad:!0}:d;d=e.Jd===void 0?!1:e.Jd;var f=e.Ad===void 0?!0:e.Ad;e=new fr;f&&(b=a.Ad(b));b=q(b);for(f=b.next();!f.done;f=b.next()){f=f.value;if(a.configs[f]==null)continue;var g=void 0,h=a.configs[f];f=c;if(((g=h.config)==null?void 0:g.ua)!=null)if(h=yr(zr(G_a,f),Ar({F:a.F,Jd:d}))(h.config.ua),h===void 0||h instanceof gr)f=h;else{g=new fr;h=q(h.split(","));for(var l=h.next();!l.done;l=
h.next()){var m=l.value;l=g;m=f===0?m.split("/").map(Hm):m.split("/");Br(l,m,0)}f=qr(g)}else f=void 0;f!==void 0&&(Array.isArray(f)?e.g.apply(e,r(f)):kr(e,f))}return qr(e)};var mD=new Map;var Q8=function(a){a=a===void 0?1:a;vh.call(this);this.connectionState=a;this.j=!1;this.o=this.connectionState===1};U(Q8,vh);var U_=function(a){return a.connectionState===1&&!a.j};Q8.prototype.g=function(){return this.connectionState===1||this.connectionState===2};Q8.prototype.cb=function(){return this.connectionState===3};
Q8.prototype.update=function(a){if(this.connectionState!==a||this.j&&this.connectionState===1){let c=!0;if(a===2)var b=this.cb()?TY.Fe:TY.Ck;else a===1?(b=TY.de,this.o=!0):a===3&&(this.connectionState===2&&(this.j=!0),c=!1,b=TY.Gc);if(b)return b=new FBa(b),this.connectionState=a,c&&(this.j=!1),this.dispatchEvent(b),!0}return!1};
Q8.prototype.print=function(){return"ConnectionState:\n  isConnected: "+(U_(this)+"\n  isOnline: ")+(this.g()+"\n  isOffline: ")+(this.cb()+"\n  isUnauthenticated: ")+((this.connectionState===2)+"\n  isMaybeUnauthenticated: ")+(this.j+"\n  hasEverBeenConnected: ")+this.o};var R8=function(a,b,c,d,e,f){vh.call(this);var g=this;this.j=a;this.C=b;this.connectionState=c;this.g=d;this.D=new ji(this);this.D.listen(c,[TY.de,TY.Fe],function(){return void I_a(g)});this.J=e.da("sync.logging.ClearcutOfflineTransport");f.then(function(){return I_a(g)})};U(R8,vh);R8.prototype.o=function(a){return(a=this.connectionState.cb()&&this.C.g?J_a(this.g,a):this.j.o(a))?a:void 0};
var I_a=function(a){return a.C.g?K_a(a.g).then(function(b){b.forEach(function(c,d){a.j.o(c).then(function(){return L_a(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},L_a=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("D");return M_a(a.g,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};R8.prototype.log=function(a){this.J.info(a)};var S8=function(a){this.g=a};S8.prototype.getId=function(){return this.g};var T8=function(a){this.A=u(a)};U(T8,v);var U8=function(a){this.A=u(a)};U(U8,v);var V8=function(a){this.A=u(a)};U(V8,v);var N_a=function(a){this.A=u(a)};U(N_a,v);var W8=function(a){this.A=u(a)};U(W8,v);var X8=function(a){this.A=u(a)};U(X8,v);var O_a=function(a){this.A=u(a)};U(O_a,v);var P_a=function(a){this.A=u(a)};U(P_a,v);var Y8=function(a){this.A=u(a)};U(Y8,v);var Z8=function(a){this.A=u(a)};U(Z8,v);var $8=function(){this.B=this.g=null};$8.prototype.initialize=function(a,b){this.g=a;this.B=b;return this};var a9=function(a,b){b=a.B.j[b.getId()].fl();b.initialize(a.g,a.B);return b},b9=function(a){var b=O(a.g,Y8,5);b==null&&(b=new Y8,K(a.g,5,b));return b},Z_=function(a,b){var c=O(a.g,Z8,9);c==null&&(c=new Z8);var d=c;var e=jt(b.g,10);d=Vr(d,5,e);b=jt(b.g,12);Vr(d,2,b);K(a.g,9,c)};
$8.prototype.build=function(){var a=O(this.g,V8,8);Tn(a,3);var b=O(this.g,Y8,5);b!=null&&(a=this.g,b=b.clone(),K(a,5,b));return this.g};$8.prototype.isValid=function(){return!0};var c9=function(){$8.call(this);this.o=this.j=null;this.D=!1;this.C=null};U(c9,$8);var Q_a=function(a,b){a.o||(a.o=b)},lZ=function(a){!a.D&&a.o&&(a.o(),a.D=!0);(0,a.C)()};c9.prototype.Qj=function(a){this.C||(this.C=a)};var ew=function(a){if(!a.j){a.j=new x3;var b=b9(a);K(b,56,a.j)}return a.j},MZ=function(a){a=ew(a);return zB(a,r3,1)};c9.prototype.getState=function(){var a=ew(this);return zB(a,u3,2)};
var R_a=function(a,b){var c=new lCa;b=H(c,1,b);a=b9(a);K(a,12,b)},C2=function(a){a=ew(a);return zB(a,k3,3)},J_=function(a){a=ew(a);return zB(a,l3,16)},d0=function(a){a=ew(a);return zB(a,HLa,8)},G5=function(a){a=ew(a);return zB(a,GLa,9)},xRa=function(a){a=ew(a);return zB(a,gLa,15)},X3=function(a){a=ew(a);return zB(a,m3,24)},W_=function(a){a=ew(a);return zB(a,q3,29)},E3=function(a){a=ew(a);return zB(a,t3,39)},S_a=new S8("drive_dataservice_builder");var T_a=function(){};T_a.prototype.fl=function(){return new c9};var U_a=function(){};U_a.prototype.getId=function(){return"drive_dataservice_invariants"};var V_a=function(a){this.A=u(a)};U(V_a,v);var W_a=function(){this.g=new V_a},X_a=new U_a;var Y_a=function(a){this.A=u(a)};U(Y_a,v);var d9=function(a){this.A=u(a)};U(d9,v);d9.prototype.oc=function(a){return K(this,5,a)};var Z_a=function(a){this.A=u(a)};U(Z_a,v);var e9=function(a){this.A=u(a)};U(e9,v);var f9=function(a){this.A=u(a)};U(f9,v);f9.prototype.Ff=function(){return It(this,1)};var g9=function(a){this.A=u(a)};U(g9,v);g9.prototype.Cc=function(a){return D(this,1,a)};var h9=function(a){this.A=u(a)};U(h9,v);var $_a=function(a){this.A=u(a)};U($_a,v);var a0a=function(a){this.A=u(a)};U(a0a,v);var i9=function(a){this.A=u(a,500)};U(i9,v);var j9=function(a,b){this.userId=a;this.db=null;this.J=b.da("sync.logging.ImpressionPersister")},J_a=function(a,b){a.J.info("Persisting offline impressions.");return k9(a,function(c){return c.count().then(function(d){return d<1E3?a.add(c,b):a.handleError(Error("te"))},function(d){return a.handleError(d)})},ys.READ_WRITE)};j9.prototype.add=function(a,b){var c=this;return a.add({userId:this.userId,impressionBatch:Vd(b)}).then(null,function(d){c.handleError(d)})};
var K_a=function(a){return new CT(function(b){var c=new Map;k9(a,function(d){try{var e=new ms(d.g.index("userId"))}catch(f){throw KZ(f,"getting index userId");}return hEa(e,a.userId).then(function(f){f=new Map(f.map(function(l){return[l,d.get(l)]}));for(var g=q(f),h=g.next();!h.done;h=g.next()){h=q(h.value);let l=h.next().value;h.next().value.then(function(m){m&&c.set(l,new i9(m.impressionBatch))})}return HT([].concat(r(f.values()))).then(function(){return b(c)})})})})},M_a=function(a,b){return k9(a,
function(c){return c.remove(b)},ys.READ_WRITE)},k9=function(a,b,c){c=c===void 0?ys.READ_ONLY:c;return b0a(a).then(function(d){try{let e=ws(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(e){return a.handleError(e?Ep(e):void 0)}},function(d){return a.handleError(d)})},b0a=function(a){return a.db?ET(a.db):ts("GoogleDriveDsImpressions",2,function(b,c){c.g.objectStoreNames.contains("OfflineImpressions")&&lEa(c,"OfflineImpressions");b=kEa(c,"OfflineImpressions",{autoIncrement:!0});
try{b.g.createIndex("userId","userId",void 0)}catch(d){throw KZ(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("ue"))}).then(function(b){return a.db=b},function(b){return FT(Ep(b))})};j9.prototype.handleError=function(a){a||(a=Error("ve"));this.J.sd(a.message,a);return ET()};var l9=function(a,b){this.j=a;this.callback=b;this.enabled=!1;this.o=function(){return tj()};this.B=this.o()};l9.prototype.setInterval=function(a){this.j=a;this.g&&this.enabled?(this.stop(),this.start()):this.g&&this.stop()};l9.prototype.start=function(){var a=this;this.enabled=!0;this.g||(this.g=setTimeout(function(){c0a(a)},this.j),this.B=this.o())};l9.prototype.stop=function(){this.enabled=!1;this.g&&(clearTimeout(this.g),this.g=void 0)};
var c0a=function(a){if(a.enabled){let b=Math.max(a.o()-a.B,0);b<a.j*.8?a.g=setTimeout(function(){c0a(a)},a.j-b):(a.g&&(clearTimeout(a.g),a.g=void 0),a.callback(),a.enabled&&(a.stop(),a.start()))}else a.g=void 0};var d0a=function(a){this.A=u(a)};U(d0a,v);var e0a=function(a){this.A=u(a)};U(e0a,v);var m9=function(a){this.A=u(a)};U(m9,v);m9.prototype.kl=function(){return Hl(this,1)};m9.prototype.Dh=function(){return zn(this,3)};var uD=function(a){this.A=u(a)};U(uD,v);uD.prototype.Ff=function(){return S(this,2)};var n9=function(a){this.A=u(a)};U(n9,v);var Yha=function(a){yu(vD,1,a)},f0a=Pg(n9);var o9=function(a){this.A=u(a)};U(o9,v);var sD=["platform","platformVersion","architecture","model","uaFullVersion"],vD=new n9,tD=null;var p9=function(a){this.A=u(a)};U(p9,v);var g0a=function(a){return H(a,1,1)};var q9=function(a){this.A=u(a)};U(q9,v);q9.prototype.getValue=function(){return x(this,2)};q9.prototype.setValue=function(a){return D(this,2,a)};q9.prototype.Ia=function(){return C(this,2)};var h0a=function(a){this.A=u(a,4)};U(h0a,v);var r9=function(a){this.A=u(a,37)};U(r9,v);r9.prototype.setValue=function(a,b){return EF(this,3,q9,a,b)};var s9=function(a,b){return D(a,8,b)};var t9=function(a){this.A=u(a,19)};U(t9,v);t9.prototype.mi=function(a){return H(this,2,a)};var v9=function(a,b){this.te=b=b===void 0?!1:b;this.o=this.locale=null;this.j=0;this.isFinal=!1;this.g=new t9;Number.isInteger(a)&&this.g.mi(a);b||(this.locale=document.documentElement.getAttribute("lang"));u9(this,new p9)};v9.prototype.mi=function(a){this.g.mi(a);return this};
var u9=function(a,b){K(a.g,1,b);Hl(b,1)||g0a(b);a.te||(b=w9(a),x(b,5)||D(b,5,a.locale));a.o&&(b=w9(a),O(b,n9,9)||K(b,9,a.o))},i0a=function(a,b){a.j=b},j0a=function(a){var b=b===void 0?sD:b;var c=a.te?void 0:window;c?Zha(c,b).then(function(d){a.o=f0a(d!=null?d:"[]");d=w9(a);K(d,9,a.o);return!0}).catch(function(){return!1}):Promise.resolve(!1)},w9=function(a){var b=O(a.g,p9,1);b||(b=new p9,u9(a,b));a=b;b=O(a,o9,11);b||(b=new o9,K(a,11,b));return b};
v9.prototype.build=function(a,b,c,d,e,f){b=b===void 0?0:b;c=c===void 0?0:c;d=d===void 0?null:d;e=e===void 0?0:e;f=f===void 0?0:f;if(!this.te){var g=w9(this);var h=new m9;h=H(h,1,this.j);h=I(h,2,this.isFinal);c=J(h,3,c>0?c:void 0);c=J(c,4,e>0?e:void 0);c=J(c,5,f>0?f:void 0);c=ie(c);K(g,10,c)}g=this.g.clone();g=SF(g,4,Date.now().toString());a=yu(g,3,a.slice());d&&(g=new d0a,d=J(g,13,d),g=new e0a,d=K(g,2,d),g=new h0a,d=K(g,1,d),d=H(d,2,9),K(a,18,d));b&&Vr(a,14,b);return a};var x9=function(a){this.A=u(a,8)};U(x9,v);var k0a=Pg(x9);var l0a=function(a){this.A=u(a)};U(l0a,v);var y9=new WG(175237375,x9,l0a);var B9=function(a){bh.call(this);var b=this;this.D="";this.g=[];this.Ua="";this.pageId=null;this.Ja=this.ca=!1;this.yb=this.Fa=-1;this.T=this.experimentIds=null;this.G=this.B=0;this.L=null;this.ka=this.ra=0;this.Qb=1;this.ik=0;this.Lg=a.Lg;this.Eg=a.Eg||function(){};this.o=new v9(a.Lg,a.te);this.Kc=a.Kc||null;this.Tf=a.Tf||null;this.H=a.Gt||null;this.Zd=a.Zd||null;this.uh=a.uh||!1;this.J=null;this.withCredentials=!a.Mn;this.te=a.te||!1;this.Pa=!this.te&&!!window&&!!window.navigator&&window.navigator.sendBeacon!==
void 0;this.eb=typeof URLSearchParams!=="undefined"&&!!(new URL(z9())).searchParams&&!!(new URL(z9())).searchParams.set;var c=g0a(new p9);u9(this.o,c);this.C=new nt(1E4,3E5,.1);a=m0a(this,a.jn);this.j=new l9(this.C.getValue(),a);this.Ka=new l9(6E5,a);this.uh||this.Ka.start();this.te||(document.addEventListener("visibilitychange",function(){if(document.visibilityState==="hidden"){A9(b);let d;(d=b.L)==null||d.flush()}}),document.addEventListener("pagehide",function(){A9(b);var d;(d=b.L)==null||d.flush()}))};
U(B9,bh);var m0a=function(a,b){if(!a.eb)return function(){};var c=function(){a.flush()};return b?function(){b().then(c)}:c};B9.prototype.oa=function(){A9(this);this.j.stop();this.Ka.stop();bh.prototype.oa.call(this)};var n0a=function(a){a.H||(a.H=z9());try{return(new URL(a.H)).toString()}catch(b){return(new URL(a.H,window.location.origin)).toString()}};B9.prototype.Ib=function(a){if(a instanceof r9)this.log(a);else try{var b=s9(new r9,a.aa());this.log(b)}catch(c){C9(this,4,1)}};
var C9=function(a,b,c){a.L&&a.L.ED(b,c)};B9.prototype.log=function(a){C9(this,2,1);if(this.eb){a=a.clone();var b=this.Qb++;a=Vr(a,21,b);this.D&&D(a,26,this.D);b=a;if(Yc(rk(b,1))==null){var c=Date.now();c=Number.isFinite(c)?c.toString():"0";SF(b,1,c)}YF(b,15)||Vr(b,15,(new Date).getTimezoneOffset()*60);this.experimentIds&&(c=this.experimentIds.clone(),K(b,16,c));C9(this,1,1);b=this.g.length-1E3+1;b>0&&(this.g.splice(0,b),this.B+=b,C9(this,3,b));this.g.push(a);this.uh||this.j.enabled||this.j.start()}};
B9.prototype.flush=function(a,b){var c=this;if(this.g.length===0)a&&a();else{var d=Date.now();if(this.yb>d&&this.Fa<d)b&&b("throttled");else{this.Kc&&(typeof this.Kc.kl==="function"?i0a(this.o,this.Kc.kl()):this.o.j=0);var e=this.g.length,f=this.o.build(this.g,this.B,this.G,this.Tf,this.ra,this.ka),g=this.Eg();if(g&&this.Ua===g)b&&b("stale-auth-token");else if(this.g=[],this.j.enabled&&this.j.stop(),this.B=0,this.ca)a&&a();else{d=f.aa();let h;this.T&&this.T.Lh(d.length)&&(h=o0a(d));let l=p0a(this,
d,g),m=function(w){c.C.reset();c.j.setInterval(c.C.getValue());if(w){var A=null;try{var M=JSON.stringify(JSON.parse(w.replace(")]}'\n","")));A=k0a(M)}catch(Ja){}if(A){w=Number(hs(A,1,jc("-1")));w>0&&(c.Fa=Date.now(),c.yb=c.Fa+w);w=y9.fieldIndex;M=Gd(Hd);var da;M&&((da=A.A[M])==null?void 0:da[w])!=null&&qb(Mia,3);a:{da=y9.fieldIndex;var ja=ja===void 0?!1:ja;if(Gd(rF)&&Gd(Hd)&&void 0===rF){w=A.A;M=w[Hd];if(!M)break a;if(M=M.gm)try{M(w,da,Ria);break a}catch(Ja){ea(Ja)}}ja&&(ja=A.A,(w=Gd(Hd))&&w in ja&&
(ja=ja[w])&&delete ja[da])}ja=y9.ctor?y9.j(A,y9.ctor,y9.fieldIndex,y9.g):y9.j(A,y9.fieldIndex,null,y9.g);if(ja=ja===null?void 0:ja)ja=zn(ja,1,-1),ja!==-1&&(c.C=new nt(ja<1?1:ja,3E5,.1),c.j.setInterval(c.C.getValue()))}}a&&a();c.G=0},p=function(w,A){var M=z(f,r9,3,B());var da=Number(hs(f,14));P0(c.C);c.j.setInterval(c.C.getValue());w===401&&g&&(c.Ua=g);da&&(c.B+=da);A===void 0&&(A=c.Kh(w));A&&(c.g=M.concat(c.g),c.uh||c.j.enabled||c.j.start());C9(c,7,1);b&&b("net-send-failed",w);++c.G},t=function(){c.Kc&&
c.Kc.send(l,m,p)};h?h.then(function(w){C9(c,5,e);l.Y["Content-Encoding"]="gzip";l.Y["Content-Type"]="application/binary";l.body=w;l.gr=2;t()},function(){C9(c,6,e);t()}):t()}}}};
var p0a=function(a,b,c){c=c===void 0?null:c;var d=d===void 0?a.withCredentials:d;var e={},f=new URL(n0a(a));c&&(e.Authorization=c);a.Zd&&(e["X-Goog-AuthUser"]=a.Zd,f.searchParams.set("authuser",a.Zd));a.pageId&&(Object.defineProperty(e,"X-Goog-PageId",{value:a.pageId}),f.searchParams.set("pageId",a.pageId));return{url:f.toString(),body:b,gr:1,Y:e,requestType:"POST",withCredentials:d,ik:a.ik}},A9=function(a){a.ca||(a.o.isFinal=!0,a.Ja&&(a.o.j=3,q0a(a)),a.flush(),a.o.isFinal=!1)},q0a=function(a){r0a(a,
function(b,c){b=new URL(b);b.searchParams.set("format","json");var d=!1;try{d=window.navigator.sendBeacon(b.toString(),c.aa())}catch(e){}d||(a.Pa=!1);return d})},r0a=function(a,b){if(a.g.length!==0){var c=new URL(n0a(a));c.searchParams.delete("format");var d=a.Eg();d&&c.searchParams.set("auth",d);c.searchParams.set("authuser",a.Zd||"0");for(d=0;d<10&&a.g.length;++d){let e=a.g.slice(0,32),f=a.o.build(e,a.B,a.G,a.Tf,a.ra,a.ka);if(!b(c.toString(),f)){++a.G;break}a.B=0;a.G=0;a.ra=0;a.ka=0;a.g=a.g.slice(e.length)}a.j.enabled&&
a.j.stop()}};B9.prototype.Kh=function(a){return 500<=a&&a<600||a===401||a===0};var z9=function(){return"https://play.google.com/log?format=json&hasfast=true"};var s0a=function(a){var b;this.j=(b=b===void 0?!1:b)?null:a;this.g=b?a:null;this.j&&(a=this.j,a.Ja=a.Pa)};s0a.prototype.o=function(a){var b=this.g?this.g.Ib.bind(this.g):this.j.log.bind(this.j),c=this.g?this.g.flush.bind(this.g):this.j.flush.bind(this.j);a=s9(new r9,a.aa());b(a);c()};var t0a=function(a){var b;this.j=(b=b===void 0?!1:b)?null:a;this.g=b?a:null};t0a.prototype.o=function(a){var b=this.g?this.g.Ib.bind(this.g):this.j.log.bind(this.j),c=this.g?this.g.flush.bind(this.g):this.j.flush.bind(this.j);a=s9(new r9,a.aa());b(a);return new CT(function(d){c(d,function(){d()})}.bind(this))};var D9=function(){$8.call(this)};U(D9,$8);D9.prototype.se=function(){var a=O(this.g,Z_a,7);a=pk(a,1);return Sg(a)==1};var u0a=new S8("high_frequency_builder");var v0a=function(){$8.call(this)};U(v0a,$8);var w0a=function(a,b,c){var d=Date.now()*1E3;if(0==b){b=new V8;var e=new U8;e=Vr(e,1,d);K(b,1,e);H(b,3,1);K(a.g,8,b);Vr(a.g,12,c);Vr(a.g,13,c);Vr(a.g,4,d);Vr(a.g,3,c)}else 1==b&&(b=new V8,e=new T8,d=Vr(e,1,d),K(b,2,d),H(b,3,2),K(a.g,8,b),Vr(a.g,12,c),Vr(a.g,3,c));return a},E9=new S8("system_builder");var x0a=function(a){dh.call(this,"visibilitychange");this.hidden=a};U(x0a,dh);var CD=new WeakMap,aia=function(a,b){a=[a];for(let c=b.length-1;c>=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")};cF(GD,vh);k=GD.prototype;k.Cr=DD(function(){var a=this.Lh(),b=this.qj()!="hidden";if(a){var c;b?c=(((xD?"Webkit":yD?"Moz":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});k.qj=DD(function(){return zD("hidden",this.g.g)});k.Gr=DD(function(){return zD("visibilityState",this.g.g)});k.Lh=function(){return!!this.qj()};k.mq=function(){var a=this.Lh()?this.g.g[this.Gr()]:null;a=new x0a(!!this.g.g[this.qj()],a);this.dispatchEvent(a)};
k.oa=function(){UR(this.o);GD.Kb.oa.call(this)};var F9=function(a,b){bh.call(this);this.j=a;this.g=new GD(b);this.Ha(this.g);this.o=new ji(this);this.Ha(this.o);this.g.Lh()&&this.o.listen(this.g,"visibilitychange",this.B)};U(F9,bh);F9.prototype.B=function(){if(this.j.Mi()){var a=this.g;a=!!a.g.g[a.qj()];a=this.j.wk(a?102001:102E3,0);this.j.Zl(a)}};var G9=function(a,b,c){c=c===void 0?!1:c;bh.call(this);this.g=a;this.j=b;this.Ha(this.j);this.B=c;this.o=null};U(G9,bh);k=G9.prototype;k.Zl=function(a){var b=this.g;a=y0a(b,a);b.g.add(a);b=this.j;b.g.g.Qa()>=3&&b.j.eg()};k.wk=function(a,b){a=w0a(z0a(this.g,a),b,this.g.C++);b==1&&this.g.D.add(a);return a};k.Li=function(){return this.g.j};k.Qn=function(a){var b=this.g,c=a9(a,E9),d=b.C++;var e=O(c.g,V8,8);e=O(e,T8,2);Vr(e,2,Date.now()*1E3);Vr(c.g,13,d);b.D.remove(Sg(hs(a.g,12)))};
k.Xm=function(){for(var a=this.j,b=[],c=q(a.L),d=c.next();!d.done;d=c.next())if(d=d.value,d=d())d=y0a(a.g,d),b.push(d);if(!a.C||a.g.o)b.push(H9(a.g,691).build()),b=A0a(a.g,b),a.D.o(b);a.B();this.g.G=!1;this.o&&($g(this.o),this.o=null)};k.Ym=function(){var a=this.g,b=H9(a,716);B0a(a,b);b=b.build();a.g.add(b);a.H=!0;a.G=!0;this.j.initialize();this.j.j.eg();this.B&&(this.o=new F9(this))};k.Vn=function(){this.j.B();return HT(Array.from(this.j.o)).then()};
k.Mi=function(){var a=this.g;return a.H&&a.G&&!0};var I9=function(a,b,c,d,e){bh.call(this);this.g=a;this.H=b;this.D=c;this.j=new MT(this.B,3E3,this);this.o=new Set;this.C=d;this.G=e||6E4;this.L=[]};U(I9,bh);I9.prototype.initialize=function(){wD(this.G,this.j.eg,this.j);wD(36E5,this.T,this)};I9.prototype.B=function(){var a=this;if(this.g.g.Qa()!=0&&(!this.C||this.g.o)){var b=C0a(this.g),c=this.H.o(b);c&&(KT(c,function(){return void a.o.delete(c)}),this.o.add(c))}};I9.prototype.T=function(){var a=this.g,b=H9(a,1153).build();a.g.add(b);this.j.eg()};var D0a=function(){};D0a.prototype.fl=function(){return new D9};var J9=function(){this.j={};this.o={};this.g=null};var K9=function(){this.g=[]};K9.prototype.add=function(a){this.g.push(a)};K9.prototype.Qa=function(){return this.g.length};var L9=function(){this.g={}};L9.prototype.add=function(a){var b=Sg(hs(a.g,12));this.g[b]=a};L9.prototype.remove=function(a){delete this.g[a]};var E0a=function(a,b){this.j=a;this.ba=b;this.C=1;this.N=this.B=null;this.D=new L9;this.g=new K9;this.G=this.H=this.o=!1},z0a=function(a,b){a=a9((new $8).initialize(new e9,a.ba),E9);Vr(a.g,10,b);return a},y0a=function(a,b){Vr(b.g,6,a.B);a.o=!0;return b.build()},C0a=function(a){var b=a.g,c=b.g;b.g=[];return A0a(a,c)},A0a=function(a,b){var c=new i9;var d=a.j.B.clone();c=K(c,2,d);d=a.j;(d=d.j?d.j.clone():null)&&K(c,5,d);var e;d=a.j;for(let h=b.length-1;h>=0;h--){var f=O(b[h],Y8,5);if(f&&O(f,W8,1)){f=
O(f,W8,1);P(f,12)&&e===void 0&&(e=Q(f,12));f=O(f,N_a,20);if(f!==void 0&&g===void 0){var g=new Y_a;let l=Um(f,2);l!==void 0&&I(g,2,l);f=Um(f,1);f!==void 0&&I(g,1,f)}if(e!==void 0&&g!==void 0)break}}d=d.g?d.g.clone():null;if(e!==void 0||g!==void 0)d||(d=new d9),e!==void 0&&I(d,6,e),g!==void 0&&K(d,13,g);(e=d)&&K(c,3,e);a=a.j.C.clone();K(c,4,a);yu(c,1,b);return c},H9=function(a,b){var c=w0a(z0a(a,b),0,a.C++);{var d=a.D;let h=Object.keys(d.g);if(h.length==0)d=null;else{var e=[];for(let l=0;l<h.length;l++){let m=
Number(h[l]);var f=d.g[m],g=new X8;g=Vr(g,1,m);f=jt(f.g,10);f=Vr(g,2,f);e.push(f)}d=e}}b!=716&&(b=a.N,Vr(c.g,6,a.B),e=new O_a,b=Vr(e,1,b),d&&XB(b,2,X8,d),d=b9(c),K(d,3,b));B0a(a,c);return c},B0a=function(a,b){a.B=Ug(jt(b.g,12));b=O(b.g,V8,8);b=O(b,U8,1);b=jt(b,1);a.N=Ug(b)};var F0a=function(){};F0a.prototype.fl=function(){return new v0a};var G0a=function(){this.g=this.j=null};G0a.prototype.build=function(){this.g==null&&(this.g=new J9);var a=new F0a;this.g.j[E9.getId()]=a;a=new D0a;this.g.j[u0a.getId()]=a;a=this.g;var b=this.j;var c=M9(b);if(!ds(c,h9,1)){c=M9(b);var d=new h9;K(c,1,d)}b=M9(b);b=O(b,h9,1);a.g=b;b=mh(a.o);for(c=0;c<b.length;c++)K(a.g,13,b[c].g);return new E0a(this.j,this.g)};var N9=function(){this.B=new g9;this.j=null;this.C=new f9;H(this.C,1,6);this.g=this.o=null};N9.prototype.Cc=function(a){this.B.Cc(a);return this};var H0a=function(a,b){Vr(a.B,2,b)},M9=function(a){a.j==null&&(a.j=new a0a);return a.j};var O9=function(){this.C=this.o=null;this.j=new N9;this.g=null;this.B=!1;this.D=null},I0a=function(a,b){a.C=b;return a},J0a=function(a,b){a.g=b;return a};O9.prototype.Cc=function(a){this.j.Cc(a);return this};var K0a=function(a){H(a.j.B,6,109);return a},L0a=function(){var a=new O9;a.D=12E4;a.B=!0;return a};O9.prototype.build=function(){var a=new G0a;a.j=this.j;this.g!=null&&(a.g=this.g);a=a.build();return new G9(a,new I9(a,this.o,this.C,this.B,this.D),!1)};var M0a=function(){this.minSize=1024},o0a=async function(a){var b=new CompressionStream("gzip"),c=(new Response(b.readable)).arrayBuffer();b=b.writable.getWriter();await b.write((new TextEncoder).encode(a));await b.close();return new Uint8Array(await c)};M0a.prototype.Lh=function(a){return a<this.minSize?!1:typeof CompressionStream!=="undefined"};var P9=function(){this.Xq=typeof AbortController!=="undefined"};
P9.prototype.send=async function(a,b,c){var d=this.Xq?new AbortController:void 0,e=d?setTimeout(function(){d.abort()},a.ik):void 0;try{let f=Object.assign({},{method:a.requestType,headers:Object.assign({},a.Y)},a.body&&{body:a.body},a.withCredentials&&{credentials:"include"},{signal:a.ik&&d?d.signal:null}),g=await fetch(a.url,f);g.status===200?b==null||b(await g.text()):c==null||c(g.status)}catch(f){switch(f==null?void 0:f.name){case "AbortError":c==null||c(408);break;default:c==null||c(400)}}finally{clearTimeout(e)}};
P9.prototype.kl=function(){return 4};var Q9=function(a,b){b=b===void 0?"0":b;bh.call(this);this.Lg=a;this.Zd=b;this.o=!0;this.buildLabel=null;this.j=!1;this.Kc=null;this.D="";this.J=this.pageId=this.g=this.Tf=null};U(Q9,bh);var N0a=function(a){a.o=!0;return a},O0a=function(a,b){a.g=b};Q9.prototype.Mn=function(){this.B=!0;return this};
Q9.prototype.build=function(){this.Kc||(this.Kc=new P9);var a=new B9({Lg:this.Lg,Eg:this.Eg?this.Eg:Hw,Zd:this.Zd,Gt:"https://play.google.com/log?format=json&hasfast=true",te:this.j,uh:!1,Mn:this.B,jn:this.jn,Kc:this.Kc});this.Ha(a);this.o||(a.ca=!0);if(this.buildLabel){var b=this.buildLabel,c=w9(a.o);D(c,7,b)}a.T=new M0a;this.D&&(a.D=this.D);this.Tf&&(a.Tf=this.Tf);this.pageId&&(a.pageId=this.pageId);this.g&&(c=this.g,a.experimentIds||(a.experimentIds=new Jqa),b=a.experimentIds,c=[].concat(r(c)),
Fe(b,2,c,oaa));j0a(a.o);this.Kc.mi&&this.Kc.mi(this.Lg);this.Kc.xt&&this.Kc.xt(a);return a};var P0a=function(a,b){this.g=a;var c=new P_a;Ie(c,1,Gc,b.C,Hc);a=this.g.Li();a.g==null&&(a.g=new d9);K(a.g,10,c);if(c=b.buildLabel){if(a.o==null){a.o=new $_a;var d=M9(a);K(d,2,a.o)}D(a.o,1,c)}this.g.Ym();this.j=b},R0a=function(a,b,c,d,e,f,g,h){h=h===void 0?!1:h;b=N0a(new Q9(906,b));c.Af()&&O0a(b,[Td(c.Af())]);r_(n)&&(b.j=!0);var l=b.build(),m=new t0a(l);b=new Date;l=K0a(J0a(I0a(L0a(),new s0a(l)),Q0a(c))).Cc(b.getTime()+"_"+$h());if(h){a=new R8(m,d,e,new j9(a,f),f,g);l.o=a;d=l.build();H0a(d.Li(),b.getTime()*
1E3);let p=new P0a(d,c);(new ji).listen(a,"D",function(){lZ(R9(p,106008,0))});return p}l.o=m;a=l.build();H0a(a.Li(),b.getTime()*1E3);return new P0a(a,c)},Q0a=function(a){var b=new J9,c=new W_a;H(c.g,1,a.client);D(c.g,8,a.clientSessionId);H(c.g,3,a.N);H(c.g,4,a.D);I(c.g,5,a.H);I(c.g,6,a.isAnonymous);I(c.g,7,a.ba);H(c.g,2,a.environment);b.o[X_a.getId()]=c;b.g&&K(b.g,13,c.g);a=new T_a;b.j[S_a.getId()]=a;return b},R9=function(a,b,c){var d=a9(a.g.wk(b,c),S_a);R_a(d,a.j.connectionState.cb()?2:1);b=xCa(a.j);
typeof b==="boolean"&&FLa(d.getState(),b);c===1&&Q_a(d,function(){return void a.g.Qn(d)});d.Qj(function(){var e;var f=(e=a.j.o)==null?void 0:e.getSize();e=d.getState();J(e,1,f);var g,h;f=(g=a.j.g)==null?void 0:(h=g.g)==null?void 0:h.getSize();g=d.getState();J(g,2,f);var l,m;g=(l=a.j.g)==null?void 0:(m=l.j)==null?void 0:m.getSize();l=d.getState();J(l,7,g);a.g.Zl(d)});return d};var S0a=function(a,b){this.g=a;this.j=b},T0a=function(a,b,c,d,e,f){var g=E(a,59)!==!1,h=eq(dq(a)).toString(),l=cq(dq(a));f=new uCa(a,c,f);b=g?R0a(l,h,f,b,c,d,e,Q(a,17)):null;b=new S0a(b,f);P(a,59)||fu(b,399124281);return b},kC=function(a,b){a.g&&S9(a)&&(a=R9(a.g,b,0),lZ(a))},jZ=function(a,b){return a.g&&S9(a)?R9(a.g,b,0):null},fu=function(a,b){if(a.g&&S9(a)){a=R9(a.g,106018,0);var c=xRa(a);c=H(c,1,1);Vr(c,2,b);lZ(a)}},cw=function(a,b,c){return a.g&&S9(a)?(a=R9(a.g,b,1),c&&Z_(a,c),a):null},U0a=function(a){a.g&&
S9(a)&&(a=a.g,a.g.Mi()&&a.g.Xm())},S9=function(a){return!(!a.g||!a.g.g.Mi())};var V0a=function(a){this.M=a;this.g=new Map};V0a.prototype.create=function(a,b,c){(c=c===void 0?!1:c)&&b_(this,a,4);var d=cw(this.M,106001);d&&(FCa(d,b,c),this.g.set(a,d))};
var yMa=function(a,b,c){if(b=a=a.g.get(b))b=MZ(a),b=Q(b,8);b&&(a=MZ(a),I(a,9,c))},gDa=function(a,b,c,d,e){var f=a.g.get(b);f&&(MZ(f).setStatus(c),MZ(f).rb(d),e!==null&&(c=MZ(f),I(c,6,e)),lZ(f),a.g.delete(b))},W0a=function(a,b,c){var d=fw(BCa(c)),e=LZ(OZ,0,ACa(c));if(c instanceof bZ)c=c.fb;else if(c instanceof dr){let f;c=(f=c.fb)!=null?f:null}else c=null;gDa(a,b,d,e,c)},b_=function(a,b,c){c=c===void 0?3:c;var d=a.g.get(b);d&&(MZ(d).setStatus(c),lZ(d),a.g.delete(b))},fDa=new Set([7,4,5,9,6,10,11,12]);var X0a=function(){this.g=null};X0a.prototype.Id=function(a){this.g=a};var Y0a=function(a,b){this.O=a;this.F=b;this.fields=this.O.zb().sort();this.anonymous=Nt(dq(b))},T9=function(a,b){Z0a(a,b,!0);$0a(a,a.fields.slice(),b.Ca())},Z0a=function(a,b,c){c=c===void 0?!1:c;if(b.getId())throw new G("Use findByIds() for find by id queries.",yp(3));if(z(b,Ku,24,B()).length)throw new G("Shared with me date is unsupported.",yp(3));if(!b.La()||b.La()<=0)throw new G("A positive limit is required on an ItemQueryRequest.",yp(3));Nu(b);var d=Hu(b);if(d=d&&S3(d)){let e=b.Ca().length?
b.Ca():a.fields;$0a(a,e,d)}if(Dn(b)){if(a.anonymous)throw new G("User must be authenticated for a Quick Access request.");if(!Dr(Yr(a.F))&&b.La()>20)throw new G("Limit must be in the range [1, 20].");a=nv(b)===2;d=Nu(b).length;if(a&&d!==1||d&&!a)throw new G("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");a=b.clone();a=N(a,1);a=uv(a);a=N(a,32);a=N(a,33);a=N(a,45);a=N(a,47);a=N(a,75);a=N(a,48);a=N(a,6);d=new Uo;if(!Gw(a,d))throw new G("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.");
}if(!c&&!b.Ca().length)throw new G("Missing request fields");},$0a=function(a,b,c){if(!Lr(b,c)){let d=wr(a.O,{fields:c,anonymous:a.anonymous}),e=wr(a.O,{fields:b,anonymous:a.anonymous});a=wr(a.O,{fields:kda(c,b),anonymous:a.anonymous});throw new G("Requested field was not previously specified. Needed "+d+", but had "+(e+". Missing: "+a+"."),yp(3));}};var a1a=function(){this.g=!0};a1a.prototype.Xc=function(){this.g=!1};var b1a=new TD("fJuxOc");var MD=function(a,b,c,d,e){e=e===void 0?"sync.ThinContext":e;vh.call(this);var f=this;this.Qc=a;this.environment=c;this.Wm=new wt(function(){x7||(x7=new w7);return x7});this.H=[];this.j=new a1a;a=d!=null?d:Qha();c=a.ue;this.P=a.P;this.ue=c;this.J=this.P.da(e);this.Ce=new Fya(this.P);this.F=b.clone();e=new N7(ku(this.F));RVa(e);nD(e,y7);ZVa(e,cs(b,27,B()));$Va(e,cs(b,106,B()));this.O=e.build();this.Yc=Xha(b);this.ka=new Y0a(this.O,this.F);c1a(this);this.Ze=new us;this.rc=n.setTimeout(function(){f.J.info("Page stable timed out.");
f.Ze.resolve();kC(f.M,106020)},Sg(hs(this.F,93,jc(1E4))));this.T=new us;this.kc=n.setTimeout(function(){f.J.info("Initialize background services timed out.");f.T.resolve();kC(f.M,106043)},Sg(hs(this.F,102,jc(2E4))));this.C=new X0a;this.connectionState=new Q8(et(this.F)?3:1);this.M=T0a(this.F,this.C,this.connectionState,this.P,this.Ze.promise,this.environment);this.Uf=new V0a(this.M);this.Fa=new us;this.Ka();d1a(this)};U(MD,vh);
MD.prototype.Vh=function(){this.J.info("Notified of page stable.");n.clearTimeout(this.rc);this.Ze.resolve()};MD.prototype.Ih=function(){this.J.info("Initialize background processes requested.");n.clearTimeout(this.kc);this.T.resolve()};var d1a=function(a){var b,c=(b=a.Qc)==null?void 0:U9(b,b1a);c?QR(c,"N",function(){e1a(a)}):r_(n)||Sp(n,"pagehide",fca(function(){e1a(a)}))},e1a=function(a){a.Xc().then(null,function(){});var b,c;((b=a.F)==null?0:(c=JD(b))==null?0:Q(c,21))&&U0a(a.M)};
MD.prototype.Xc=function(a){a=a===void 0?!1:a;kC(this.M,106005);var b,c;((b=this.F)==null?0:(c=JD(b))==null?0:Q(c,21))||U0a(this.M);this.j.Xc();b=this.H.map(function(d){return d(a)});baa(this.H);return Promise.all(b).then()};MD.prototype.Eh=function(){return this.j};var V9=function(a,b){a.H.push(b)};MD.prototype.Oe=function(){return this.ue};MD.prototype.da=function(a){return this.P.da(a)};MD.prototype.o=function(){return this.C};MD.prototype.jb=function(){return this.connectionState};
var c1a=function(a){var b=Gs(a.F);if(!QM(b))throw Error("xe");L(b,57)||(a.log("No root URI provided; using prod default."),D(b,57,"https://clients6.google.com"));if(Mt(ut(a.F))){var c=tt(ut(a.F));if(c.length>0){if(!L(c[0],1)||!L(c[0],2)&&!et(a.F)&&!Q(a.F,10))throw Error("ye");}else c=ut(a.F),I(c,9,!1),a.log("Disabling IndexedDB support, missing configuration.")}if(!Mt(ut(a.F))&&(et(a.F)||Q(a.F,10)))throw Error("ze");c=dq(a.F);var d;if((d=c==null?void 0:Nt(c))!=null&&d)H(b,18,3),b=N(a.F,44),N(b,98);
else if(c==null||!cq(c))throw Error("Ae");b=a.F;a=a.ka;d=q(z(b,Uo,44,B()));for(c=d.next();!c.done;c=d.next())T9(a,c.value);var e,f;b=q((f=(e=O(b,ft,98))==null?void 0:z(e,gt,1,B()))!=null?f:[]);for(e=b.next();!e.done;e=b.next())if(e=e.value,bp(e,Uo,4,it))T9(a,tk(e,Uo,4,it));else if(bp(e,kt,5,it)){e=tk(e,kt,5,it);f=!0;f=f===void 0?!1:f;if(!f){d=e.I();if(!d)throw new G("Missing request descriptor.",yp(3));if(!It(d,1))throw new G("Missing request descriptor reason.",yp(3));}d=f?1:0;if(zn(e,4)<d)throw new G("An activity items page size greater than "+
d+" is required.",yp(3));if(f&&!ds(e,Xr,7))throw new G("Suggestion client info is required for homepage activity cached query requests.",yp(3));(e=O(e,Xr,7))==null?e=void 0:(e=e.clone(),e=N(e,2));if(e&&!Gw(e,new Xr))throw new G("Only view type is allowed to be set in the suggestion client info.",yp(3));}};MD.prototype.xf=function(a){this.dispatchEvent(new WY(new G(void 0,a)))};MD.prototype.Wf=function(a){this.dispatchEvent(new YGa(a))};MD.prototype.log=function(a){this.J.info(a)};
MD.prototype.Ka=function(){Rha(this.J,this.F);this.log("Enabled experiments: "+this.M.j.C);this.log("Item field state:\n"+this.O.ai())};var W9=function(a,b,c,d,e,f){MD.call(this,a,b,c,d,"sync.Context");var g=this;this.G=this.hh=null;this.Ja=!1;this.gf=this.D=this.rootId=this.ca=null;this.ra=new L0;this.pf=new us;this.Sc=new us;this.Vb=new jNa;this.L={};this.rl=new us;this.yj=new us;this.bs=new wt(function(){return new yPa(g)});this.ds=new wt(function(){return new wOa(Promise.resolve(R_(g)),Promise.resolve(g.Ed.promise),g.Md.getState(),g.Xa,g.M)});this.rg=void 0;this.Ed=new us;this.Lj=new us;this.Pa=new us;this.wd=new UUa;this.Ua=
new us;this.g=new ji;this.Ha(this.g);this.Ab=new TZ(this.O,this.Yc,this.F);this.Xa=e?e:new K0(this.P);this.M.j.j=this.Xa;this.Ac=new R3(ju(dq(b)));var h;this.Db=new p5(!((h=Xl(this.F))==null||!Q(h,86)),function(){return g.jb().cb()});this.ee=Hda(b,this.O,this.P,this.M);this.Nc=f1a(this,this.ee);this.Hb=new EOa(new yOa(this.Nc));this.vd=g1a(this,this.ee,b);this.ga=new Y3(this,this.O);this.xb=h1a(this);this.lg=new N0(this.P,this.Xa,this.xb);this.Md=i1a(this);this.vk=new sPa(this.F,this.O);this.Ec=new v_(this.F,
this.ga.Oa,this.O);this.uk=new h5(this);this.Kf=new wt(function(){return new j4(g.Ed.promise,R_(g))});this.Qb=new hNa(R_(this),this.Kf);this.Nd=new wt(function(){return Dda(g.F,g.vd,g.Md.getState(),g.Ed.promise,R_(g),g.g,g.xb,function(l){g.Rb(l,"account and user settings")},jv(g.F)?g.ga.bc:null)});this.Yd=new wt(function(){return $da(g.F,g.vd,g.Md.getState(),g.Ed.promise,R_(g),g.ga,g.g,g.xb)});this.De=new wt(function(){return cea(g.F,g.vd,g.Md.getState(),g.Ed.promise,R_(g),g.ha(),g.g,g.xb,g.ra,g.T.promise)});
this.Ki=new wt(function(){var l=g.F,m=g.Ed.promise,p=R_(g);return new q4(l,m,new o4(p))});this.ce=new e5(this.Ed.promise,R_(this),this.P,this.F);this.Tg=new TUa(a,this.F,this.ha(),this.xf.bind(this),this.Kf,this.Qb,this.xb,this.Hb,this.O,this.Yc,this.uk,this.lg,this.ce,this.Nd,this.De,this.Ki,this.wd,this.P,this.vk,this.Ab,this.Ec,this.Md,this.Eh(),this.yb.bind(this),this.M,f);this.Pa.resolve(this.Tg);this.Fj=new wt(function(){return new V4(g)});this.Ej=new wt(function(){return new MOa(Promise.resolve(R_(g)))});
A0(this.Xa,["rVezo"],function(){var l=g.Fj.get();W4(l)});!Nt(LD(this.F))&&(a=O(this.F,Pk,12),b=a==null?void 0:a.K())&&(this.Rb(b,"config"),this.ga.B(a));A0(this.Xa,["mrK8ic"],function(){g.Ua.promise.then(function(){n2(g,g.D)})});A0(this.Xa,["BNEDtc"],function(){g.pf.resolve()});this.pf.promise.finally(function(){CJa(g)});V9(this,function(){g.xb.Fd();return Promise.resolve()})};U(W9,MD);
W9.prototype.Rb=function(a,b){var c=this;b=b===void 0?"":b;this.rootId===null&&(this.log("Setting Root ID"+(b?" from "+b:"")+": "+a),this.rootId=a,this.ga.Rb(a),a.length&&(this.Ab.Rb(a),this.Db.Rb(a),this.Lj.promise.then(function(){c.Nc.Rb(a)}),j1a(this,"jroI5d")))};W9.prototype.md=function(){return this.rootId||""};
var i1a=function(a){var b=Gs(a.F);b=Q(b,67)?null:new IX("https://ssl.gstatic.com/docs/common/cleardot.gif",void 0,et(a.F),void 0,r_(self)?new $ya:void 0);return new l5(a.jb(),b,R_(a),a.P,a.M,Nt(dq(a.F)))};
W9.prototype.Id=function(a){var b=this;return this.ee?this.ee.g?Promise.reject(Error("Be`"+sEa(this.ee))):Promise.resolve(i2(this.Nc)).then(function(c){var d=b.ee,e=[];e.push(b.xb.ko());e.push(a?d.oc():zEa(d));if(a===c)return Promise.all(e).then(function(){return!1});a===!1&&(e.push(tEa(d)),(c=b.md())&&e.push(b.Nc.Rb(c)));return Promise.all(e).then(function(){return b.Nc.Id(a)},function(f){f=Ip(f);Dk(f.message,f,"warning");return!1})}):Promise.reject(Error("Ce"))};
var g1a=function(a,b,c){var d=null;b&&(d=new a2(b,c,function(e){a.xf(e)},a.M),d.initialize().then(function(){},function(){}));return d},f1a=function(a,b){var c=new h2(b||void 0);b?(c.md().then(function(d){d?a.Rb(d,"metadata store"):a.Lj.resolve()},function(){}),i2(c).then(function(d){a.o().Id(d)}),Promise.all([b.initialize(),a.Ze.promise]).then(function(){Kda(a.F,c,a.P)},function(){})):a.Lj.resolve();return c},h1a=function(a){if(!a.vd)return new eVa;var b=new r7(a,a.O);a.g.listen(a.jb(),[].concat(r(Object.values(TY))),
function(){return void b.Uh(U_(a.jb()))});return b};W9.prototype.Xc=function(){var a=this,b,c;return((b=this.F)==null?0:(c=JD(b))==null?0:Q(c,21))?Promise.resolve(this.Ed.promise).then(function(d){yFa(d)}).then(function(){return MD.prototype.Xc.call(a)}):MD.prototype.Xc.call(this)};W9.prototype.ji=function(a){this.hh=a;this.Sc.resolve(a)};
var OEa=function(a){return a.ee?a.ee.g:null},j1a=function(a,b){a.Xa.g("NSockf")?k_(a.Xa,b):A0(a.Xa,["NSockf"],function(){k_(a.Xa,b)})},n2=function(a,b,c){b<0||((c===void 0?0:c)?a.D?a.D=Math.max(a.D,b):(a.D=b,a.Ua.resolve()):a.G||(a.G=b,a.rl.resolve(a.G),j1a(a,"T8oKm")))};W9.prototype.ha=function(){return this.ga};
var wFa=function(a,b){a.ca=b;a.Ed.resolve(b)},s1=function(a){if(!a.ca)throw Error("De");return a.ca},R_=function(a){return a.Pa.promise.then(function(b){return b.gi.promise})},o2=function(a){a.Ja||(a.Ja=!0,a.yj.resolve(),k_(a.Xa,"aU7Ts"))};W9.prototype.yb=function(a){this.dispatchEvent(a)};var vDa=function(a){a.gf||(a.gf=new T4(a.Ed.promise,R_(a),a.P));return a.gf};W9.prototype.pe=function(){return this.Kf.get()};
var CJa=function(a,b){if(!a.rg){let d=new u4(b),e=new MNa(a.ga.ad,a.M,d,a.ga,a.ga.Oa,a.F);var c;let f,g=new VNa(a.M,(f=(c=JD(a.F))==null?void 0:E(c,90))!=null?f:!1,d);c=new ANa(Promise.resolve(R_(a)),a.M,d);let h,l;a.rg=new FNa(d,e,g,c,(l=(h=JD(a.F))==null?void 0:E(h,91))!=null?l:!1,b)}};W9.prototype.Ka=function(){};var X9=function(a,b,c,d){bh.call(this);this.Qc=a;this.g=b;this.environment=c;this.Ka=d;this.ca=this.B=this.H=!1;this.G=null;this.ra=!1;this.Fa=new us;this.L=new us;this.T=new Set;this.j=new us;this.C=new Set;this.ka=new us;this.D=new Set;this.Ua=Date.now();this.Fb=new LFa;this.o=new ji(this);this.Ha(this.o)};U(X9,bh);X9.prototype.ji=function(a){this.j.promise.then(function(b){b.hh||k1a(a,b)}).catch(function(b){Dk("Could not setChangeManager in worker",Ep(b),"warning")})};
var s1a=function(a,b){if(b.isDisposed())throw Error("Ee");var c=iDa(a.g,b),d=a.Ja.bind(a,c);PY(b,"8.1",d);OY(b,"8.1",d);PY(b,"8.4",function(f){l1a(a,c,f)});OY(b,"8.5",function(f){m1a(a,c,f)});PY(b,"8.2",function(f){n1a(a,c,f)});PY(b,"8.3",function(f){o1a(a,c,f)});MFa(a.Fb,b);b.start();p1a(a,c,b);q1a(a,c,b);var e=[];a.G||(a.G=Promise.all([a.ka.promise,a.L.promise]).then(function(f){return a.initialize(f)}));e.push(a.G);Promise.all(e).then(function(){r1a(a,c,b)},function(f){a.ra=!0;Y9(a,b,"2.2",{err:Hp(f,
49).aa()},d)})},t1a=function(a,b,c){var d=c.jb(),e=[].concat(r(Object.values(TY))),f=function(g){Y9(a,b,"2.19",{cs:g.connectionState},function(){})};a.o.listen(d,e,f);JR(b,function(){a.o.Xf(d,e,f)})};
X9.prototype.Ja=function(a){var b=jDa(this.g,a);if(b&&(OV(this.Fb.Fb.get("LRM")||null,function(c){yFa(c,a)}),b.dispose(),this.log(Qm("Client %d disconnected (num clients remaining: %d)",a,lh(this.g.channels))),lh(this.g.channels)===0)){let c=function(){r_(n)&&n.setTimeout(function(){n.close()})};this.ra?c():OV(this.Fb.Fb.get("IS")||null,function(d){d.Xc().then(c,c)})}};
var l1a=function(a,b,c){if(!a.C.has(b)){var d=typeof c.dsc==="string"?zna(c.dsc):c.dsc;a.ca||(a.ca=!0,a.ka.resolve(d.clone()));a.C.add(b);a.j.promise.then(function(e){var f=QM(Gs(d));e.L[b]=f;e.ha().Hh(z(d,qv,91,B()));Q(d,10)||mt(e,d)})}},n1a=function(a,b,c){if(!a.D.has(b)){a.D.add(b);var d=c.ivd;d&&a.j.promise.then(function(e){e=new e_(e,e.O);e.run(d);e.dispose();(e=a.g.channels[b]||null)&&Y9(a,e,"2.16",{},function(){})})}},o1a=function(a,b,c){var d=q_();xDa(d,b);if(c=c.dsp){let e=new Map;for(let f=
0;f<c.length;f++){let g=f,h=c[f];h===void 0||ADa(d,b,g)||(yDa(d,b,g),h?e.set(g,h):h===null&&zDa(d,b,g))}e.size>0&&a.j.promise.then(function(f){u1a(f,b,e);(f=a.g.channels[b]||null)&&Y9(a,f,"2.17",{t:[].concat(r(e.keys()))},function(){})})}},u1a=function(a,b,c){var d=new o_(a),e=q_(),f=[];c.forEach(function(g,h){f.push(d.run(g).then(function(){}).finally(function(){zDa(e,b,h)}))});Promise.all(f).then(function(){d.dispose()})};
X9.prototype.Kk=function(){for(var a=[],b=q(c_(this.g)),c=b.next();!c.done;c=b.next()){let d=c.value,e=new us;Y9(this,d,"2.12",{},function(){d.dispose();e.resolve()});a.push(e.promise)}return Promise.all(a).then()};
X9.prototype.initialize=function(a){var b=this;a=a[0];var c=this.environment===6,d,e=(d=O(a,SD,58))==null?void 0:Q(d,1);d=c||e?this.Ka:void 0;try{q_();let f=new W9(this.Qc,a,this.environment,d,void 0,void 0),g=this.qm(f);V9(f,this.Kk.bind(this));this.o.listen(f,VY,this.eb.bind(this));this.o.listen(f,"celloinitializationstate",function(l){var m=c_(b.g);m=q(m);for(var p=m.next();!p.done;p=m.next())Y9(b,p.value,"2.20",{state:l.state},function(){})});this.o.listen(f,"w8KrJc",this.Pa.bind(this));hPa(f.Md,
function(){return q1a(b)});this.j.resolve(f);let h=v1a(this,f,new E0(f,this.g,function(l){return void w1a(b,l)},function(l){return void x1a(b,l)}));g&&h.then(function(){return void(g==null?void 0:lZ(g))});return h}catch(f){return Promise.reject(f)}};X9.prototype.qm=function(a){a=a.M;var b=cw(a,106E3);if(b){var c=MLa(ew(b));H(c,1,a.j.B)}return b};
var v1a=function(a,b,c){a.Fb.Pd(c);a.Fb.Pd(new m0(b,a.g));a.Fb.Pd(new V_(b,a.g,c));a.Fb.Pd(new KFa(b,a.g));a.Fb.Pd(new i0(b.F,b.Ec,b.Tg.tk,Promise.resolve(R_(b)),b.Fa.promise,b.P,b.Oe(),b.M,a.g));a.Fb.Pd(new l0(R_(b),a.g,b.F));a.Fb.Pd(new J0(R_(b),a.g));return Promise.resolve(c.initialize())},r1a=function(a,b,c){var d=lh(a.g.channels);a.log(Qm("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.g.j,a.g.g));Y9(a,c,"2.2",{id:b,clients:d,uptimeSec:Math.floor((Date.now()-a.Ua)/
1E3),dsp:!BDa(q_(),b),ivd:!a.D.has(b)},function(){});a.j.promise.then(function(e){d>1&&e.Sc.promise.then(function(f){return void y1a(f)});OV(a.Fb.Fb.get("IS")||null,function(f){f.Wo().then(function(){Y9(a,c,"2.14",{},function(){})})});t1a(a,c,e)})},w1a=function(a,b){b={dt:b.dataType};var c=c_(a.g);c=q(c);for(var d=c.next();!d.done;d=c.next())Y9(a,d.value,"2.15",b,function(){})},x1a=function(a,b){var c={oois:b};c_(a.g).forEach(function(d){Y9(a,d,"2.18",c,function(){})})};
X9.prototype.eb=function(a){a={p:a.error.qa.aa()};var b=c_(this.g);b=q(b);for(var c=b.next();!c.done;c=b.next())Y9(this,c.value,"2.10",a,function(){})};X9.prototype.Pa=function(){var a=c_(this.g);a=q(a);for(var b=a.next();!b.done;b=a.next())Y9(this,b.value,"2.7",{},function(){})};
var p1a=function(a,b,c){a.C.has(b)||Y9(a,c,"2.1",{},function(d){l1a(a,b,d)})},q1a=function(a,b,c){if(ic(b)){if(!c)return Promise.reject(Error("Fe"));if(a.B&&a.T.has(b))return Promise.resolve()}var d=c||c_(a.g)[0];if(!d)return Promise.reject(Error("Ge"));var e=new us;d.send("1.1",void 0,function(f){m1a(a,c?b:void 0,f);e.resolve()});return e.promise},Y9=function(a,b,c,d,e){b.isDisposed()?a.log("Channel is already disposed, cannot call service "+c+" with payload "+JSON.stringify(d),"severe"):QY(b,c,
d,e)},m1a=function(a,b,c){fh(c.ac,function(d,e){n[e]=d});ic(b)&&a.T.add(b);a.B||(c.bl&&!a.H&&(a.H=!0,a.Fa.resolve(c.bl)),a.B=!0,a.L.resolve())};X9.prototype.log=function(a,b){b=b===void 0?"info":b;this.j.promise.then(function(c){c.da("sync.cacheproxy.Worker").log(a,b)})};var Z9=function(a,b){fZ.call(this,"DU","sync.DebugUtilProxy",a);this.context=b;this.g=void 0};U(Z9,fZ);k=Z9.prototype;k.bo=function(){return O(this.context.F,SD,58)};k.getContext=function(){return this.context};k.Wc=function(){return QV(hZ(this,HDa).call(this.g))};k.Oe=function(){return this.context.Oe()};k.ij=function(a){return QV(hZ(this,IDa).call(a))};k.Bf=function(){return QV(hZ(this,JDa).call())};
k.xm=function(a,b,c){return QV(hZ(this,KDa).call(a,b,c).then(function(d){var e=q(d);d=e.next().value;var f=e.next().value;e=e.next().value;return{Hn:d,pageToken:f,items:e}}))};k.wm=function(){hZ(this,LDa).lc()};k.aj=function(){hZ(this,MDa).lc()};k.pm=function(){hZ(this,NDa).lc()};k.rm=function(){return QV(hZ(this,ODa).call().then(function(a){if(!a)return null;var b=q(a);a=b.next().value;var c=b.next().value;b=b.next().value;return{ze:new S_(a,new Date(c)),oi:b}}))};
k.Qe=function(){return QV(hZ(this,PDa).call().then(function(a){if(!a)return null;var b=q(a);a=b.next().value;b=b.next().value;return new S_(a,new Date(b))}))};k.getState=function(){return QV(hZ(this,QDa).call())};k.om=function(){hZ(this,RDa).lc()};k.oc=function(a){hZ(this,SDa).lc(a)};var z1a=function(){};var RD=function(a,b){var c=new us;fZ.call(this,"IS","sync.ItemServiceProxy",c.promise);var d=this;this.context=a;this.zd=b;this.zj=null;this.Cm=this.Sn=this.Bj=this.Ul=!1;this.Yh=new us;this.Cl=new us;this.ph=c;this.Uf=this.context.Uf;this.ks=new a_(this.ph.promise,this.context,this.Uf);this.th=new Z9(this.ph.promise,this.context);this.performance=new HBa(this.context.Wm.get());this.pa=new ji(this);this.Ha(this.pa);this.pa.listen(this.context.jb(),[].concat(r(Object.values(TY))),function(e){return void d.dispatchEvent(e)});
this.Yo=function(e){e=e.currentTarget;e.S()===1&&(d.th.g=d.Bj,d.pa.Xf(e,XY,d.Yo))}};U(RD,fZ);
RD.prototype.initialize=function(){var a=this;if(!this.zj){this.zj=WBa(this);let c=this.qm();this.zj.then(function(){c&&lZ(c);a.cp()},function(){});var b;let d=et(this.context.F)?"coldstart ":((b=LD(this.context.F))==null?0:Nt(b))?"anonymous ":"";this.context.da("sync.ItemServiceProxy").info("Initializing "+d+" with client build: "+C(this.context.F,62));A1a(this);this.zd.ne===2?(b=new X9(this.context.Qc,new hDa,6,{P:this.context.P,ue:this.context.Oe()}),s1a(b,this.zd.xi),this.Cl.resolve(b)):dt(this.th);
this.context.da("sync.ItemServiceProxy").info("Connecting to worker: "+this.zd.endpoint);this.zd.channel.start();V9(this.context,function(e){return a.Kk(a.zd.channel,e)});jv(this.context.F)||fu(this.context.M,413656410)}return this.zj};RD.prototype.qm=function(){var a=this.context.M,b=cw(a,106E3);if(b){var c=MLa(ew(b));H(c,1,a.j.B)}return b};RD.prototype.Kk=function(a,b){a.isDisposed()||(QY(a,"8.1",{},function(){}),a.dispose(),b&&B1a(this));return Promise.resolve()};
var A1a=function(a){var b=a.zd.channel;a.zd.ne===0?OY(b,"2.0",function(){return{uid:fq(a.context.F),fds:[].concat(r(a.context.O.Ld.j.g))}}):OY(b,"1.1",function(){return C1a(a,a.zd)});a.zd.ne===2?a.Cl.promise.then(function(){return void D1a(a,a.zd)}):D1a(a,a.zd);PY(b,"2.1",function(){return E1a(a,b.g)});PY(b,"2.2",function(c){if(typeof c.id==="number")a.ph.resolve(new ZBa(c.id,b,a.context.P,c.clients,a.context.M,a.context.Eh())),c.dsp&&F1a(a,b),c.ivd&&G1a(a,b);else{c=pO(c.err);let d="Initialization of service "+
a.serviceId+" failed";Dk(d,Ip(c,d),"severe");a.Ok.reject(Ip(c,"Cannot resolve client Id: "+d));a.Zi.reject(Ip(c,"Cannot resolve channel: "+d))}});PY(b,"2.15",function(c){a.dispatchEvent(new UY(c.dt))});PY(b,"2.18",function(c){a.context.o().Id(c.oois)});PY(b,"2.7",function(){a.Ul=!1});PY(b,"2.19",function(c){a.context.jb().update(c.cs)});PY(b,"2.9",function(c){var d=c.logName,e=c.level;c="[CSW "+gq(c.totalTimeMs)+"] "+c.msg;switch(e){case "config":a.context.P.da(d).config(c);break;case "fine":a.context.P.da(d).log(c,
"fine",void 0);break;case "finer":a.context.P.da(d).log(c,"finer",void 0);break;case "finest":a.context.P.da(d).log(c,"finest",void 0);break;case "info":a.context.P.da(d).info(c);break;case "warning":case "severe":a.context.P.da(d).Da(c);break;default:a.context.P.da("sync.ItemServiceProxy").Da("Unknown log level: "+e),a.context.P.da(d).Da(c)}});PY(b,"2.10",function(c){return void a.Fh(c)});PY(b,"2.12",function(){a.Cm=!0;a.sg()});PY(b,"2.20",function(c){a.context.Wf(c.state)});PY(b,"2.14",function(){return a.Yh.resolve()});
PY(b,"2.16",function(){return a.Bj=!0});PY(b,"2.17",function(c){a.context.da("sync.ItemServiceProxy").info("Prefetched request loaded for: "+c.t.join(","))})},D1a=function(a,b){b.ne!==1&&b.ne!==2||b.channel.send("8.5",C1a(a,b));H1a(a,b.channel);F1a(a,b.channel);G1a(a,b.channel)},H1a=function(a,b){QY(b,"8.4",E1a(a,b.g),function(){})},F1a=function(a,b){function c(d){QY(b,"8.3",{dsp:d},function(){})}n._DRIVE_dsp&&(a.context.da("sync.ItemServiceProxy").info("Processing prefetched requests"),c(n._DRIVE_dsp.slice(0)));
n._DRIVE_dspc=function(d){if(n._DRIVE_dsp){a.context.da("sync.ItemServiceProxy").info("Processing async prefetched request for "+d);let e=[];e[d]=n._DRIVE_dsp[d];c(e)}}},G1a=function(a,b){if(Q(a.context.F,24)){let c=function(d){QY(b,"8.2",{ivd:d},function(){})};n._DRIVE_ivd?(a.context.da("sync.ItemServiceProxy").info("Processing initial view data"),c(n._DRIVE_ivd)):n._DRIVE_ivd===void 0&&(n._DRIVE_ivdc=function(){n._DRIVE_ivd&&(a.context.da("sync.ItemServiceProxy").info("Processing async initial view data"),
c(n._DRIVE_ivd))})}},C1a=function(a,b){var c={};if(b.ne===1){let d=new Pi;c.__SAPISID=d.get("SAPISID")||d.get("__Secure-3PAPISID");c.__APISID=d.get("APISID")}b=b.ne!==0?b.Ap:[];return{ac:c,bl:C(a.context.F,62),ufds:b}},E1a=function(a,b){a=a.context.F;return{dsc:b?a.aa():a.clone()}};k=RD.prototype;k.Fh=function(a){this.dispatchEvent(new WY(new G(void 0,pO(a.p))))};
k.query=function(a){$9(this,"query",0);Z0a(this.context.ka,a);this.Xh();var b=dDa(this.ks,a),c;!this.Sn&&((c=a.I())==null?0:Q(c,2))&&(this.Sn=!0,this.pa.listen(b,XY,this.Yo));return b};k.uo=function(a){var b=this;$9(this,"insertPermission",1);return gZ(this).then(function(c){return hZ(b,gGa).call(c,a)})};k.Jn=function(a){var b=this;$9(this,"deletePermission",1);return gZ(this).then(function(c){return hZ(b,hGa).call(c,a)})};
k.So=function(a){var b=this;$9(this,"mutateWorkspace",1);return gZ(this).then(function(c){return hZ(b,pGa).call(c,a)})};k.rn=function(a){var b=this;$9(this,"bulkMutate",1);if(a.length===0)return Promise.resolve({});for(let c=0;c<a.length;c++)!this.Ul&&Ro(a[c])&&(this.Ul=!0);return gZ(this).then(function(c){return hZ(b,YFa).call(c,a)})};
k.yh=async function(a,b){var c=this;$9(this,"getApps",0,function(){var f;return((f=LD(c.context.F))==null?0:Nt(f))?Jt(a,1)===3:!0});var d=$h();this.Uf.create(d,a);try{let f=await gZ(this);var e=q(await hZ(this,ZFa).call(f,a,!!b));let g=e.next().value,h=e.next().value,l=e.next().value;W0a(this.Uf,d,new bZ(g,h,l));return g}catch(f){throw b_(this.Uf,d),f;}};k.xh=function(a){var b=this;$9(this,"getApp",1);return gZ(this).then(function(c){return hZ(b,cGa).call(c,a)})};
k.vo=function(a){var b=this;$9(this,"installApp",1);return gZ(this).then(function(c){return hZ(b,dGa).call(c,a)})};k.Uk=function(a){var b=this;$9(this,"deleteApp",1);return gZ(this).then(function(c){return hZ(b,eGa).call(c,a)})};k.Bp=function(a){var b=this;$9(this,"updateApp",1);return gZ(this).then(function(c){return hZ(b,fGa).call(c,a)})};k.Ro=function(a){var b=this;$9(this,"mutateUserPref",1);return gZ(this).then(function(c){return hZ(b,$Fa).call(c,a)})};
k.fo=function(a){var b=this;$9(this,"getRevisions",1);return gZ(this).then(function(c){return hZ(b,iGa).call(c,a)})};k.oc=function(a){hZ(this,aGa).call(a).catch(function(){})};k.cb=function(){return!this.context.jb().g()};k.Id=function(a){$9(this,"setOfflineOptIn",1);return hZ(this,qGa).call(a)};k.Xh=function(){var a;((a=LD(this.context.F))==null?0:Nt(a))||hZ(this,bGa).call().catch(function(){})};
k.Vh=function(){$9(this,"notifyInitialPageStable",0);hZ(this,uGa).lc();this.context.Vh();var a=cw(this.context.M,106006);a&&this.ph.promise.then(function(b){var c=ew(a);c=zB(c,cLa,6);c=J(c,1,b.clientId);J(c,2,b.g);lZ(a)},function(){})};k.Ih=function(){$9(this,"initializeBackgroundProcesses",0);hZ(this,CGa).lc();this.context.Ih();var a=jZ(this.context.M,106042);a&&this.ph.promise.then(function(b){var c=ew(a);c=zB(c,jLa,30);c=J(c,1,b.clientId);J(c,2,b.g);lZ(a)},function(){})};
k.yn=function(){return hZ(this,zGa).call()};k.sync=function(){$9(this,"sync",1);return hZ(this,lGa).call(this.context.F)};k.Xc=function(){this.context.P.da("sync.ItemServiceProxy").info("Shutting down...");return this.context.Xc(!0)};k.ji=function(a){var b;((b=LD(this.context.F))==null?0:Nt(b))||this.Cl.promise.then(function(c){c.ji(a)}).catch(function(c){Dk("Could not resolve worker",Ep(c),"warning")})};k.Wo=function(){$9(this,"offlineDataLoaded",1);return this.Yh.promise};
k.bp=function(a){var b=this;$9(this,"passthroughRequest",0);return gZ(this).then(function(c){return hZ(b,nGa).call(c,a)})};k.tn=function(a){var b=this;$9(this,"changeCategoryLinks",1);return gZ(this).then(function(c){return hZ(b,vGa).call(c,a)})};k.Cp=function(a){var b=this;$9(this,"updateCategoryMetadata",1);var c=new us;gZ(this).then(function(d){return hZ(b,tGa).call(d,a)}).then(function(d){return void c.resolve(d)},function(d){return void c.reject(d)});return Promise.resolve(new z1a)};
k.vf=function(a){$9(this,"addCacheHint",1);T9(this.context.ka,a);hZ(this,wGa).lc(a)};k.Gn=function(a){var b=this;$9(this,"createUserFeedback",1);return gZ(this).then(function(c){return hZ(b,xGa).call(c,a)})};k.nb=function(a){var b=this;$9(this,"handleChanges",1,function(){return Yr(b.context.F)===1});for(var c=q(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!C(d,2))return Promise.reject(Error("Ie"));if(!Q(d,3)&&!d.getItem())return Promise.reject(Error("Je"))}return hZ(this,yGa).call(a)};
k.qn=function(a){var b=this;$9(this,"blockPeople",1);return gZ(this).then(function(c){return hZ(b,AGa).call(c,a)})};k.Yn=function(a){var b=this;$9(this,"generatePreflightReport",1);return gZ(this).then(function(c){return hZ(b,BGa).call(c,a)})};k.io=function(a){var b=this;$9(this,"getRewindSummary",1);return gZ(this).then(function(c){return hZ(b,DGa).call(c,a)})};k.ho=function(a){var b=this;$9(this,"getRewindActivityDetails",1);return gZ(this).then(function(c){return hZ(b,EGa).call(c,a)})};
k.pp=function(a){var b=this;$9(this,"rewind",1);return gZ(this).then(function(c){return hZ(b,FGa).call(c,a)})};k.hm=function(a){var b=this;$9(this,"rewindPreflight",1);return gZ(this).then(function(c){return hZ(b,GGa).call(c,a)})};k.cp=function(){var a=this;if(this.context.environment===3){let b=[HD(1E4,{result:!1}),hZ(this,mGa).call()];Promise.race(b).then(function(c){c?Gj(a.cp.bind(a),6E4):(a.Cm=!0,a.sg())})}};k.sg=function(){this.Cm&&this.dispatchEvent(new MEa)};
var B1a=function(a){var b;if(a=(b=jZ(a.context.M,106038))!=null?b:null)a!=null&&(b=ew(a),b=zB(b,BLa,25),H(b,2,1)),a==null||lZ(a)},$9=function(a,b,c,d){a.sg();var e;a=c===0||c===1&&!((e=LD(a.context.F))==null?0:Nt(e));d=d===void 0||!!d();if(!a||!d)throw new GBa(b);};var a$=function(a,b){v2.call(this,a,b);this.reason=302;this.logName="sync.change.PullChangeProcessor";this.H=null};U(a$,v2);a$.prototype.Ja=function(){I1a(this)};a$.prototype.Ka=function(){J1a(this)};var I1a=function(a){var b=Sg(ina(Gs(a.context.F)));if(a.D)b=0;else if(b<=0)return;a.H=setTimeout(function(){x2(a).catch(function(){}).finally(function(){J1a(a)&&I1a(a)})},b)},J1a=function(a){return a.H?(clearTimeout(a.H),a.H=null,!0):!1};var b$=function(a,b,c){v2.call(this,a,c);this.kc=b;this.reason=303;this.logName="sync.change.PushChangeProcessor";this.ra=null;this.H=!1;this.subscription=null;a=Gs(a.F);a=hs(a,27,jc(3E3));this.rc=Sg(a)};U(b$,v2);b$.prototype.Ja=function(){var a=this;this.subscription=this.kc.register(function(){return void c$(a)},function(b){a.log(b)},this.teamDriveId);c$(this)};b$.prototype.Ka=function(){this.H=!1;this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)};
var c$=function(a){a.active&&(a.ra?a.H||(a.H=!0):a.ra=x2(a).then(function(){var b=new us;setTimeout(function(){return void b.resolve()},a.active?a.rc:0);return b.promise}).then(function(){a.ra=null;var b=a.H;a.H=!1;a.active&&b&&c$(a)}).catch(function(){}))};b$.prototype.Pa=function(){return!0};var d$=function(a,b){bh.call(this);this.config=a;this.client=b};U(d$,bh);d$.prototype.start=function(){var a=this.client.start();JR(this,function(){return a.stop()})};d$.prototype.register=function(a,b,c){return zwa(this.client,c?new wwa("team-drive-"+c,!1):new wwa("Drive",!0)).subscribe(function(d){a(d.version&&kH(d.version))},function(d){b(String(d))})};var K1a=function(a,b,c,d){this.apiKey=a;this.g=b;this.mode=c;this.j=d===void 0?1:d};var e$=function(a){bh.call(this);this.context=null;this.W={};this.g=null;this.j=!1;this.o=-1;this.C=a!==void 0?!a:!0;this.B=new ji(this);this.Ha(this.B)};U(e$,bh);
var k1a=function(a,b){var c;(c=JD(b.F))!=null&&Q(c,55)||a.context||(a.context=b,L1a(a),M1a(a),N1a(a,null),b.rl.promise.then(function(d){a.o=d;b.ji(a)}).catch(function(d){Dk("Could not get initial change id",Ep(d),"warning")}),a.B.listen(b.jb(),TY.de,function(){return void y1a(a)}))},L1a=function(a){OOa(a.context.Ej.get()).then(function(b){b=Tg(jt(b,2));typeof b==="number"&&n2(a.getContext(),b,!0)}).catch(function(b){Dk("Could not fetch start page token",Ep(b),"warning")})};
e$.prototype.getContext=function(){if(!this.context)throw Error("Ke");return this.context};e$.prototype.start=function(){this.W.subscribed.Sf.start(this.o)};e$.prototype.sync=function(){return x2(this.W.subscribed.Sf)};e$.prototype.Cd=function(a){a=a||"subscribed";var b=this.W[a].Sf.Cd();return b<=0&&a==="subscribed"?this.o:b};
var r2=function(a,b,c){var d=N1a(a,b);d.count++;c?(d.Wk=c,A2(a)):d.count===1&&POa(a.context.Ej.get(),b).then(function(e){a.W[b]===d&&(a.W[b].jm=Ug(jt(e,2)),A2(a))}).catch(function(e){e=Hp(e,33);!(e=Tn(e,10))||e!==48&&e!==4||(e=e===4,a.getContext().da("sync.change.ChangeManager").info(b+" "+(e?"non-existent":"inaccessible")+", failed to fetch largestChangeId and removing from cache"),e=yM(AM(xM(new wM,b),b)),a.getContext().ha().nb([e]))})},A2=function(a){fh(a.W,function(b,c){c!=="subscribed"&&(c=b.Sf,
c.Cd()||this.context.Xa.g("L6uQWd")&&(b.Wk?c.start(b.Wk):b.jm&&c.start(b.jm)))},a)},a3=function(a,b,c){var d=a.W[b];d&&(d.count--,d.count===0||c)&&(d.Sf.dispose(),ph(a.W,b))};e$.prototype.fm=function(){fh(this.W,function(a){a.Sf.fm()})};
var N1a=function(a,b){var c=b||"subscribed";a.W[c]||(b=a.g?new b$(a.getContext(),a.g,b):new a$(a.getContext(),b),a.Ha(b),a.W[c]={Sf:b,Wk:null,jm:null,count:0});return a.W[c]},y1a=function(a){a.g&&!a.j&&(a.j=!0,yva(3E5).then(function(){return a.j=!1},function(){return a.j=!1}))},M1a=function(a){if(a.C&&!a.g){var b=a.getContext().F,c=r_(n)?2:1;let e=PM(Gs(b))===0?2:void 0;var d=Gs(b);d=x(d,25);b=new K1a(d,eq(dq(b)),c,e);c=new mU("/punctual/"+(b.j===1?"prod":"dev")+"/");c.j=!0;c=new Awa(c);c.g.setApiKey(b.apiKey);
c.g.nk=!0;b.g&&(c.g.g.g=b.g);c=c.build();b=new d$(b,new ywa(c.client));b.start();a.g=b;a.Ha(a.g)}};var f$=function(a){aa.call(this);this.message="AppContext is disposed, cannot get "+a.join(", ")+"."};U(f$,aa);var h$=function(a){bh.call(this);this.o={};this.C={};this.D={};this.g={};this.j={};this.ka={};this.H=a?a.H:new vh;this.Ja=!a;this.B=null;a&&(this.B=a,this.D=a.D,this.g=a.g,this.C=a.C,this.j=a.j);a=g$(this);this!=a&&(a.G?a.G.push(this):a.G=[this])};U(h$,bh);var g$=function(a){for(;a.B;)a=a.B;return a},i$=function(a,b){for(;a;){if(a==b)return!0;a=a.B}return!1};h$.prototype.get=function(a){var b=U9(this,a);if(b==null)throw Error("Oe`"+a);return b};
var U9=function(a,b){for(var c=a;c;c=c.B){if(c.isDisposed())throw new f$([b]);if(c.o[b])return c.o[b][0];if(c.ka[b])break}if(c=a.D[b]){c=c(a);if(c==null)throw Error("Le`"+b);O1a(a,b,c);return c}return null},aRa=function(a){var b=[$5];if(a.isDisposed())throw new f$(b);var c={},d=[],e=[],f={};b=q(b);for(var g=b.next();!g.done;g=b.next()){let l=g.value;if(g=U9(a,l)){let m=new yk;c[l]=m;g.Ik&&(Axa(m,g.Ik()),OV(m,yj(function(p){return p},g)));m.callback(g)}else if(a.j[l])g=a.j[l].B(),OV(g,function(){return a.L(l)}),
c[l]=g;else{var h=void 0;l instanceof TD?h=hia([l]).Ts:(g=a.C[l])&&(h=[g]);h&&h.length?(h&&(d.push.apply(d,r(h)),f[l]=Ba(h)),e.push(l)):(g=new yk,c[l]=g,g.Va(Error("Oe`"+l)))}}if(d.length){h=q(e);for(b=h.next();!b.done;b=h.next())a.H.dispatchEvent(new j$("Q",b.value));d=k$(P1a(a),d);e=q(e);for(h=e.next();!h.done;h=e.next())h=h.value,b=f[h],g=d[b],g=g instanceof yk?g.B():QV(g),c[h]=g,Q1a(a,g,h,b)}return c},Q1a=function(a,b,c,d){OV(b,function(){this.H.dispatchEvent(new j$("R",c))},a);xxa(b,sj(a.ra,
a,c,d));OV(b,sj(a.T,a,c,d))};h$.prototype.T=function(a,b){var c=U9(this,a);if(c==null){if(this.j[a])return c=this.j[a].B(),OV(c,sj(this.T,this,a,b)),c;if(!b)throw Error("Me`"+a);throw Error("Ne`"+b+"`"+a);}return c.Ik?(b=new yk,Axa(b,c.Ik()),b.callback(c),OV(b,sj(this.L,this,a)),b):this.L(a)};h$.prototype.L=function(a){this.j[a]&&delete this.j[a];return this.get(a)};h$.prototype.ra=function(a,b,c){return c instanceof Bk?c:new R1a(a,b,c)};
var O1a=function(a,b,c){if(a.isDisposed())$g(c);else{a.o[b]=[c,!0];var d=S1a(a,a,b);for(let e=0;e<d.length;e++)d[e].callback(null);delete a.C[b];b instanceof TD&&(a=c.constructor,a.hasOwnProperty("displayName")||(a.displayName=b.toString()),a[$za]=b)}},S1a=function(a,b,c){var d=[],e=a.g[c];e&&(Ca(e,function(f){i$(f.Qc,b)&&(d.push(f.d),Ka(e,f))}),e.length==0&&delete a.g[c]);return d},T1a=function(a,b){a.g&&fh(a.g,function(c,d,e){Ca(c,function(f){f.Qc==b&&Ka(c,f)});c.length==0&&delete e[d]})};
h$.prototype.oa=function(){if(g$(this)==this){var a=this.G;if(a)for(;a.length;)a[0].dispose()}else{a=g$(this).G;for(let b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}}for(let b in this.o)a=this.o[b],a[1]&&a[0].dispose&&a[0].dispose();this.o=null;this.Ja&&this.H.dispose();T1a(this,this);this.g=null;$g(this.Fa);this.ka=this.Fa=null;bh.prototype.oa.call(this)};
var P1a=function(a){return a.ca?a.ca:a.B?P1a(a.B):null},R1a=function(a,b,c){aa.call(this);this.serviceId=a;this.cause=c;this.message='Module "'+b+'" failed to load when requesting the service "'+a+'" [cause: '+c+"]";this.stack=c.stack+"\nWRAPPED BY:\n"+this.stack};cF(R1a,aa);var j$=function(a,b){dh.call(this,a);this.serviceId=b};cF(j$,dh);var U1a=function(a,b,c){bh.call(this);this.o=a;this.g=null;this.j=c};U(U1a,bh);var V1a=function(a){var b=new e$(!0),c=gia(a.j,a.o);c.initialize();c.ji(b);a.g=c;return ET(c.Id(!0).then(function(){return c.sync()}).then(function(){return c.Xc()}))},W1a=function(a){var b=new LX;return a.g?ET(a.g.th.getState().then(function(c){var d=new KX,e=new JX;D(e,1,"celloState");e.setValue(c);fk(d,1,JX,e);K(b,1,d);return b})):ET(b)};var l$=function(a){a=a===void 0?12E4:a;bh.call(this);this.D=a;this.g={};this.o=0};U(l$,bh);l$.prototype.send=function(a,b,c){var d=this;b=b===void 0?[]:b;c=c===void 0?this.D:c;var e=IT(),f=++this.o;this.g[f]=e;var g=Gj(function(){e.reject(Error("Pe"))},c);X1a(this,e,a,b);return KT(e.promise,function(){n.clearTimeout(g);delete d.g[f]})};l$.prototype.oa=function(){for(var a=q(Object.values(this.g)),b=a.next();!b.done;b=a.next())b.value.reject(Error("Qe"));bh.prototype.oa.call(this)};var m$=function(a,b){this.message=a;this.ports=b};m$.prototype.toString=function(){return"{message: "+this.message+", ports: "+this.ports+"}"};var n$=function(a){l$.call(this,a);this.j=new ji(this);this.Ha(this.j)};U(n$,l$);var X1a=function(a,b,c,d){var e=new MessageChannel;a.j.Lf(e.port1,"message",function(f){f=f.g;b.resolve(new m$(f.data,f.ports))}.bind(a));e.port1.start();a.postMessage(c,[e.port2].concat(d));KT(b.promise,function(){e.port1.close()})};var Y1a=function(a){var b=o$;this.g=a;this.j=b};Y1a.prototype.send=function(a,b,c){var d=this;return this.g.send(Vd(a),b,c).then(function(e){return new m$(new d.j(e.message),e.ports)})};var p$=function(a,b,c){n$.call(this,c);this.C=a;this.B=b};U(p$,n$);p$.prototype.postMessage=function(a,b){this.C.postMessage(a,this.B,b)};var Z1a=function(a){this.A=u(a)};U(Z1a,v);var $1a=function(a){this.A=u(a)};U($1a,v);var a2a=function(a,b){return D(a,1,b)};var q$=function(a){this.A=u(a)};U(q$,v);q$.prototype.getType=function(){return Hl(this,1)};var b2a=function(a){var b=new q$;return H(b,1,a)};var o$=function(a){this.A=u(a)};U(o$,v);o$.prototype.getType=function(){return Hl(this,2)};var c2a=function(a){this.A=u(a)};U(c2a,v);var d2a=function(a){this.A=u(a)};U(d2a,v);var r$=function(a){this.A=u(a)};U(r$,v);r$.prototype.getType=function(){return Hl(this,1)};var s$=function(a){this.A=u(a)};U(s$,v);s$.prototype.getType=function(){return Hl(this,1)};var e2a=function(a){var b=new s$;return H(b,1,a)};var t$=function(a,b,c){bh.call(this);this.g=a;this.C=b;this.o=null;this.j=new ji(this);this.Ha(this.j);this.B=c;this.j.listen(this.g,"g",this.D)};U(t$,bh);t$.prototype.start=function(a){this.o=a;f2a(this)};t$.prototype.onMessage=function(a){var b=this;if(a&&a.data&&a.ports&&a.ports.length){var c=a.ports[0];a=new r$(a.data);g2a(this,a).then(function(d){return HT([gza(b.g.C),b.C.Vn()]).then(function(){c.postMessage(Vd(d))})})}};
var g2a=function(a,b){var c=Tn(b,1),d=e2a(c);switch(c){case 0:return b=O(b,d2a,2),h2a(a,b).then(function(e){K(d,2,e);return d});case 1:return W1a(a.o).then(function(e){K(d,3,e);return d});default:throw Error("Re`"+Tn(b,1));}},h2a=function(a,b){var c=new c2a;L(b,1);return V1a(a.o).then(function(){H(c,1,0);return c},function(d){H(c,1,1);if(d instanceof Error){if(d!=null&&d.Qt){var e=d.SD();I(c,2,e)}d&&d.docs_offline_error_data_provider_134718&&(e=O(d,Z1a,4),K(c,4,e));e=d.message;var f=d}else e="Task execution failure due to "+
String(d),f=Error(e);d=a.g;var g={};g=g===void 0?{}:g;var h=h===void 0?!1:h;var l=l===void 0?0:l;5>Math.floor(Math.random()*100)&&(g.sampling_samplePercentage="5",g.sampling_sampledBy="random",l==0?d.info(f,g,h):l==1?d.Da(f,g,h):l==2&&zX(d,f,g,h));D(c,3,e);return c})};t$.prototype.D=function(a){var b=this,c=b2a(6);a=a2a(new $1a,a.error?a.error.message:"Unknown uncaught error in task.");K(c,3,a);a=function(){b.B.send(c)};gza(this.g.C).then(a,a)};var i2a=function(a,b,c){t$.call(this,a,b,c)};U(i2a,t$);var f2a=function(a){var b=new MessageChannel;a.j.listen(b.port1,"message",pAa(a.g,function(d){a.onMessage(d.g)}));b.port1.start();var c=b2a(3);a.B.send(c,[b.port2])};var j2a=function(a){this.g=new Y1a(a)};j2a.prototype.send=function(a,b,c){return this.g.send(a,b,c).then(function(d){return x(d.message,1)?FT(Error(x(d.message,1))):d})};var VD=new Map,YD=[],UD=WD([].concat(r(Hya?[338,341,344,347]:[]),r(Iya?[333]:[]),r(Jya?[337]:[]),r(lua?[43]:[]),r(Kya?[322,332]:[]),r(Mya||Lya?[330]:[]),[227,228,242,74,120,188,329,148,138,76,208,185,224,213,258,77,134,327,259,147,300,89,114,202,101,131,200,130,93,191,146,90,78,186,85,236,137,79,80,135,102,136,34,9,187,41,42,59,28,44,13,48,38,49,39,243,87,100,20,21,279,16,12,3,11,10,50,18,95,14,1,94,45,32,67,68,210,7,24,25,46,192,159,154,158,155,56,55,234,233,4,35,83,19,2,6,98,97,27,70,8,126]));
WD([76,258,77,259,93,90,78,85,79,80,34,9,26,41,42,59,28,44,13,20,21,16,12,3,11,10,50,18,14,1,32,210,7,24,25,46,154,158,155,55,4,83,19,2,6,98,97,27,70,8]);var k2a=XD([]);XD([75]);XD([108]);WD([21,3,18,45,7,55,27,2,19]);WD([21,2,3,20,184]);XD([337]);var u$=function(a){var b=UD;b.push.apply(b,r(a));var c;b=q((c=VD.get(b))!=null?c:[]);for(c=b.next();!c.done;c=b.next())c=c.value,c.push.apply(c,r(a))};var v$=function(){bh.apply(this,arguments)};U(v$,bh);k=v$.prototype;k.Zl=function(){};k.wk=function(){var a=new $8,b=new e9;a.initialize(b,new J9);return a};k.Li=function(){return new N9};k.Qn=function(){};k.Xm=function(){};k.Ym=function(){};k.Vn=function(){return ET()};k.Mi=function(){return!1};var qAa=function(){this.o=window.crashReport;this.B=new us;this.g=0;this.j=new Map};k=qAa.prototype;k.handleError=function(){};k.initialize=async function(a){if(this.g!==0)return this.B.promise;this.g=1;try{await this.o.initialize(a===void 0?10240:a);this.B.resolve();this.g=2;for(var b=q(this.j),c=b.next();!c.done;c=b.next()){var d=q(c.value);let e=d.next().value,f=d.next().value;this.set(e,f!=null?f:"")}}catch(e){this.g=3,this.B.reject(Error("Te",{cause:e}))}finally{this.j.clear()}return this.B.promise};
k.so=function(){return this.g!==0};k.set=function(a,b){if(this.g!==3)if(this.g!==2)this.j.size<100||this.j.has(a)?this.j.set(a,b):this.j.set("cache_full","true");else try{this.o.set(a,b)}catch(c){this.handleError(c,"Failed to set key "+a)}};k.delete=function(a){if(this.g!==3)if(this.g!==2)this.j.delete(a);else try{typeof this.o.delete==="function"?this.o.delete(a):this.o.remove(a)}catch(b){this.handleError(b,"Failed to delete key "+a)}};var GX=function(){this.g=!1};GX.prototype.initialize=function(){this.g=!0;return Promise.resolve()};GX.prototype.so=function(){return this.g};GX.prototype.set=function(){};GX.prototype.delete=function(){};var FX=new GX;var l2a=["SEVERE","FATAL"],HX=function(){this.j=this.o=1;this.g=new UW};HX.prototype.Po=function(a,b){var c=b==null?void 0:b.Yk.get("apps_telemetry.outgoing_severity");a=c!=null?c:a.severity;if(a=this.o===1&&!!a&&l2a.includes(a.toUpperCase()))this.o=2;b=b==null?void 0:b.Yk.get("apps_telemetry.incoming_severity");if(c=this.j===1&&!!b&&!!c&&b.toUpperCase()!==c.toUpperCase())this.j=2;if(a||c)c=zB(this.g,rza,3),b=new qza,b=H(b,1,this.o),b=H(b,2,this.j),K(c,5,b),m2a(this)};
HX.prototype.Cc=function(a){var b=zB(this.g,WW,1);HF(b,VW,4,pza).Cc(a);m2a(this)};var m2a=function(a){FX.set("appsTelemetryCrashReportData",a.g.aa())};var w$=function(){this.g={};this.j="";this.o={}};w$.prototype.toString=function(){var a=this.j+n2a(this),b=Xh(this.o),c="";b!=""&&(c="?"+b);return a+c};
var o2a=function(a){a=x$(a,"md");return!!a&&a!=="0"},n2a=function(a){var b=[],c=function(d){a.g[d]!==void 0&&b.push(d+"="+a.g[d])};o2a(a)?(c("md"),c("k"),c("ck"),c("am"),c("rs"),c("gssmodulesetproto"),c("slk"),c("dti")):(c("sdch"),c("k"),c("ck"),c("am"),c("amc"),c("rt"),"d"in a.g||y$(a,"d","0"),c("d"),c("exm"),c("excm"),(a.g.excm||a.g.exm)&&b.push("ed=1"),c("im"),c("dg"),c("sm"),x$(a,"br")!="1"&&x$(a,"br")!="0"||c("br"),c("br-d"),x$(a,"rb")=="1"&&c("rb"),x$(a,"zs")!=="0"&&c("zs"),p2a(a)!==""&&c("wt"),
c("gssmodulesetproto"),c("ujg"),c("sp"),c("ichc"),c("rs"),c("cb"),c("ccb"),c("ee"),c("slk"),c("dti"),c("ic"),c("m"));return b.join("/")},x$=function(a,b){return a.g[b]?a.g[b]:null},y$=function(a,b,c){c?a.g[b]=c:delete a.g[b]},q2a=function(a,b){a.j=b},r2a=function(a,b){b&&b.length>0?(b.sort(),y$(a,"exm",b.join(","))):y$(a,"exm",null)},z$=function(a,b){b&&b.length>0?(b.sort(),y$(a,"excm",b.join(","))):y$(a,"excm",null)},s2a=function(a){return(a=x$(a,"m"))?a.split(","):[]},p2a=function(a){switch(x$(a,
"wt")){case "0":return"0";case "1":return"1";case "2":return"2";default:return""}},t2a=function(a,b){var c=b instanceof Map?Array.from(b.entries()).filter(function(d){d=q(d);d.next();return(d=d.next().value)&&d.size>0}).map(function(d){var e=q(d);d=e.next().value;e=e.next().value;e=Array.from(e);e.length>1&&e.sort();return d+":"+e.join(",")}):Object.keys(b).filter(function(d){return!!Object.keys(b[d]).length}).map(function(d){var e=Object.keys(b[d]);e.length>1&&e.sort();return d+":"+e.join(",")});
c.sort();y$(a,"ee",c.join(";"))},ria=function(a){var b=x$(a,"ee");if(gF){if(!b)return new Map;a=new Map;b=q(b.split(";"));for(var c=b.next();!c.done;c=b.next()){c=q(c.value.split(":"));var d=c.next().value,e=c.next().value;c=new Set;a.set(d,c);d=q(e.split(","));for(e=d.next();!e.done;e=d.next())c.add(e.value)}return a}if(!b)return{};a={};b=q(b.split(";"));for(c=b.next();!c.done;c=b.next())for(d=q(c.value.split(":")),c=d.next().value,d=d.next().value,a[c]={},d=q(d.split(",")),e=d.next();!e.done;e=
d.next())a[c][e.value]=!0;return a},u2a=function(a){delete a.g.m;delete a.g.exm;delete a.g.ed};w$.prototype.clone=function(){var a=new w$;a.g=Object.assign({},this.g);a.j=this.j;a.o=Object.assign({},this.o);return a};
var A$=function(a){var b=b===void 0?!0:b;return xE(Dh(a).toString(),b)},xE=function(a,b){b=b===void 0?!0:b;var c=v2a(a),d=new w$,e=c.match(Oh)[5];fh(w2a,function(g){var h=e.match("/"+g+"=([^/]+)");h&&y$(d,g,h[1])});var f="";f=a.indexOf("_/ss/")!=-1?"_/ss/":"_/js/";q2a(d,a.substr(0,a.indexOf(f)+f.length));if(!b)return d;(a=c.match(Oh)[6]||null)&&Sh(a,function(g,h){d.o[g]=h});return d},uE=function(a){a=(a=v2a(a).match(Oh)[5]||null)?decodeURI(a):a;return a===null?!1:RegExp("(/_/js/)|(/_/ss/)","g").test(a)?
/\/k=/.test(a):!1},v2a=function(a){return a.startsWith("https://uberproxy-pen-redirect.corp.google.com/uberproxy/pen?url=")?a.substr(65):a},w2a={dA:"k",Lv:"ck",Py:"m",Pw:"exm",Nw:"excm",Vt:"am",Xt:"amc",Cy:"mm",Yz:"rt",Ex:"d",Ow:"ed",sA:"sv",cw:"deob",uu:"cb",Mu:"ccb",vu:"cbi",oA:"rs",hA:"sdch",Fx:"im",dw:"dg",Gw:"br",Fw:"br-d",Hw:"rb",kD:"zs",jD:"wt",Qw:"ee",rA:"sm",jh:"md",Ax:"gssmodulesetproto",dD:"ujg",cD:"sp",Dx:"ichc",nA:"slk",iw:"dti",Rx:"ic"},x2a=RegExp("^(gapi\\.)?loaded(_g|_h)?(_[0-9a-z]+)+$"),
y2a=RegExp("^[a-zA-Z0-9-_*]+$");var wE=!1;var z2a=function(a){a=a.clone();u2a(a);y$(a,"dg",null);y$(a,"d","0");r2a(a,null);z$(a,null);return a},A2a=!0,B2a=function(a,b,c){var d=c===void 0?{}:c;c=d.cssRowKey===void 0?void 0:d.cssRowKey;var e=d.Sd===void 0?void 0:d.Sd;var f=d.Td===void 0?void 0:d.Td;d=d.callback===void 0?void 0:d.callback;if(b)for(var g=q(b),h=g.next();!h.done;h=g.next())if(h=h.value,!y2a.test(h))throw Error("Ue`"+h);y$(a,"m",b.join(","));f&&t2a(a,f);c&&(y$(a,"ck",c),e?y$(a,"rs",e):A2a&&(A2a=!1));if(d){if(d!=null&&!x2a.test(d))throw Error("Ve`"+
d);y$(a,"cb",d)}a=a.toString();a.lastIndexOf("/",0)==0&&(a=Qh()+a);return Ch(a)};var D2a=function(a){return C2a(a).then(function(b){return JSON.parse(b.responseText)})},C2a=function(a){var b={},c=b.Xg?b.Xg.g():gS.g();return(new CT(function(d,e){var f;try{c.open("GET",a,!0)}catch(g){e(new B$("Error opening XHR: "+g.message,a,c))}c.onreadystatechange=function(){if(c.readyState==4){n.clearTimeout(f);var g;!(g=isa(c.status))&&(g=c.status===0)&&(g=Ph(a),g=!(g=="http"||g=="https"||g==""));g?d(c):e(new C$(c.status,a,c))}};c.onerror=function(){e(new B$("Network error",a,c))};if(b.headers)for(let g in b.headers){let h=
b.headers[g];h!=null&&c.setRequestHeader(g,h)}b.withCredentials&&(c.withCredentials=b.withCredentials);b.responseType&&(c.responseType=b.responseType);b.mimeType&&c.overrideMimeType(b.mimeType);b.um>0&&(f=n.setTimeout(function(){c.onreadystatechange=function(){};c.abort();e(new D$(a,c))},b.um));try{c.send(null)}catch(g){c.onreadystatechange=function(){},n.clearTimeout(f),e(new B$("Error sending XHR: "+g.message,a,c))}})).D(function(d){d instanceof Ck&&c.abort();throw d;})},B$=function(a,b,c){aa.call(this,
a+", url="+b);this.url=b;this.Pb=c};cF(B$,aa);B$.prototype.name="XhrError";var C$=function(a,b,c){B$.call(this,"Request Failed, status="+a,b,c);this.status=a};cF(C$,B$);C$.prototype.name="XhrHttpError";var D$=function(a,b){B$.call(this,"Request timed out",a,b)};cF(D$,B$);D$.prototype.name="XhrTimeoutError";aF=aF||{};var E$=function(){bh.call(this)};cF(E$,bh);E$.prototype.initialize=function(){};yE.prototype.execute=function(a){this.g&&(this.g.call(this.j||null,a),this.g=this.j=null)};yE.prototype.abort=function(){this.j=this.g=null};IR(function(a){yE.prototype.execute=a(yE.prototype.execute)});aF.Oi=yE;cF(AE,bh);AE.prototype.D=null;AE.prototype.L=E$;AE.prototype.g=null;AE.prototype.getId=function(){return this.G};var E2a=function(a,b,c){a.C||(a.C=[]);a.C.push(new aF.Oi(b,c))},F2a=function(a,b){a.B||(a.B=[]);a.B.push(new aF.Oi(b,void 0))};AE.prototype.ek=function(){this.g=new E$};var G2a=function(a,b){var c=new a.L;c.initialize(b());a.g=c;if(a.j&&(c=F$(a.j,b())))return c;if(a.C&&(b=F$(a.C,b())))return b;a.B&&(a.B.length=0);return null};
AE.prototype.Zh=function(a){this.B&&(a=F$(this.B,a))&&ea(Error("Ze`"+a));this.j&&(this.j.length=0);this.C&&(this.C.length=0)};var F$=function(a,b){var c=[];for(let d=0;d<a.length;d++)try{a[d].execute(b)}catch(e){ea(e),c.push(e)}a.length=0;return c.length?c:null};AE.prototype.oa=function(){AE.Kb.oa.call(this);$g(this.g);this.D=null};aF.Bk=AE;var H$=function(a,b,c,d,e){d=d===void 0?!1:d;e=e===void 0?!1:e;this.Pa=a;this.N=A$(a);this.Fa=b;this.ra=c;this.C=d;this.B={};this.ba=new Map;this.L=[];this.ka=!0;this.ca=(a=x$(this.N,"excm"))?a.split(","):[];this.Ua=e;this.si=!1;this.rh="anonymous";this.ri=4043;this.T=document.head||document.documentElement;this.o=this.G=null;this.yb=!0;sia();this.J=null;G$(this,s2a(this.N));this.fetchPriority=void 0;this.Ja=!1;this.H()},H2a=function(a,b){if(b.href||b.getAttribute("data-href"))if(b=b.href||b.getAttribute("data-href"),
uE(b)&&!xE(b).j.endsWith("_/js/")){b=s2a(xE(b));b=q(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.ca.includes(c)||a.ca.push(c)}},K2a=function(a,b,c,d){var e=d===void 0?{}:d;d=e.Td;var f=e.Zh;var g=e.dE;e=e.zr;a.ba=c;if(!b)throw Error("$e");if(a.Ua){c=q(document.getElementsByTagName("style"));for(var h=c.next();!h.done;h=c.next())H2a(a,h.value);c=q(document.getElementsByTagName("link"));for(h=c.next();!h.done;h=c.next())H2a(a,h.value)}I2a(a,J2a(a,b),d,f,g,e)},I2a=function(a,b,c,d,e,f){d=d===
void 0?function(){}:d;e=e===void 0?function(){}:e;f=f===void 0?!1:f;I$(a,b,function(g,h,l){l=l===void 0?h:l;a.Ja&&f?a.Ka(g,h,d,e,l):a.load(g,h,d,e,l,c)},c)||d(-1)};H$.prototype.Ka=async function(){throw Error("af");};H$.prototype.H=function(){};
var M2a=function(a,b,c){if(a.C){var d=a.N;a={cssRowKey:a.Fa,Sd:a.ra,Td:c,Zj:J$(a),ei:L2a(a)};var e=a===void 0?{}:a;a=e.Zj===void 0?[]:e.Zj;c=e.ei===void 0?[]:e.ei;var f=e.cssRowKey===void 0?void 0:e.cssRowKey;var g=e.Sd===void 0?void 0:e.Sd;var h=e.Td===void 0?void 0:e.Td;e=e.callback===void 0?void 0:e.callback;d=z2a(d);y$(d,"d","1");r2a(d,a);z$(d,c);b=B2a(d,b,{cssRowKey:f,Sd:g,Td:h,callback:e})}else d=a.N,a={cssRowKey:a.Fa,Sd:a.ra,Zj:J$(a),ei:L2a(a)},h=a===void 0?{}:a,a=h.ei===void 0?[]:h.ei,c=h.cssRowKey===
void 0?void 0:h.cssRowKey,f=h.Sd===void 0?void 0:h.Sd,g=h.Td===void 0?void 0:h.Td,h=h.callback===void 0?void 0:h.callback,d=z2a(d),z$(d,a),b=B2a(d,b,{cssRowKey:c,Sd:f,Td:g,callback:h});return b},G$=function(a,b){var c=!1,d=[];for(let e=0;e<b.length;++e){let f=b[e];a.B[f]||(a.B[f]=!0,a.L.push(f),c=!0,d.push(f))}c&&(a.ka=!1)},K$=function(a,b){var c=[];for(let d=0;d<b.length;++d){let e=b[d];a.B[e]&&(delete a.B[e],Ka(a.L,e),c.push(e))}};
H$.prototype.load=function(a,b,c,d,e){e=e===void 0?b:e;Dh(a);var f=this.si,g=this.rh,h=this.fetchPriority,l=XW(document,"SCRIPT");l.src=Dh(a);Jh(l);f&&(l.crossOrigin=g);l.async=!1;h&&l.setAttribute("fetchpriority",h);G$(this,b);N2a(this,a,l,b,c,d,e)};
var N2a=function(a,b,c,d,e,f,g){g=g===void 0?d:g;a.G=c;a.T.insertBefore(c,a.T.firstChild);O2a(c,d,function(){c.parentElement.removeChild(c);a.G==c&&(a.G=null);f()},function(h){c.parentElement.removeChild(c);a.G==c&&(a.G=null);K$(a,h);a.o?a.o.then(function(){e(-1,b)}):e(-1,b)},g)},O2a=function(a,b,c,d,e){e=e===void 0?b:e;var f=b.length,g=function(){f=0;a.onload=null;a.onerror=null;h=function(){}},h=function(){g();var m=e.filter(function(p){return!L$(hl(),p).g});m.length!==0?d(m,"Response was successful but was missing module(s) "+
m+"."):c()},l=function(){f--;f==0&&h()};b.forEach(function(m){m=L$(hl(),m);m.g?l():(m.j||(m.j=[]),m.j.push(new aF.Oi(l,void 0)),F2a(m,l))});a.onload=function(){return h()};a.onerror=function(){g();d(b)}},J$=function(a){a.ka||(a.ka=!0,a.L.sort());return a.L},L2a=function(a){a=a.ca;a.sort();return a},J2a=function(a,b){return b.filter(function(c){return!a.B[c]})},I$=function(a,b,c,d){if(a.o)return a.o.then(function(){I$(a,b,c,d)}),!0;if(!a.C){let f=[];var e=Object.assign({},a.B);M$(a,b,function(g){f.push(g.getId())},
d,function(g){return!g.g},e);b=f}for(e=0;e<b.length;){let f=b.length-e,g=e==0?b:b.slice(e,b.length),h=M2a(a,g,d),l=Dh(h).toString();for(;l.length>a.ri;)if(f>1)f-=Math.ceil((l.length-a.ri)/6),f=Math.max(f,1),g=b.slice(e,e+f),h=M2a(a,g,d),l=Dh(h).toString();else return a.C?(a.C=!1,a.o=P2a(a).then(function(m){Q2a(a,m,d)}),I$(a,b.slice(e),c,d)):!1;e+=f;a.C?c(h,g):c(h,g,e===b.length?b:[])}return!0},Q2a=function(a,b,c){hl().dk((b||{}).moduleGraph);M$(a,J$(a),function(d){G$(a,[d.getId()])},c);a.o=null},
M$=function(a,b,c,d,e,f){f=f===void 0?{}:f;var g=hl();b=q(b);for(var h=b.next();!h.done;h=b.next()){var l=h.value;h=L$(g,l);if(f[l]||e&&!e(h))continue;f[l]=!0;let m=h.o||[];if(d){let p=[];d instanceof Map?(l=d.get(l))&&(p=Array.from(l)):d[l]&&(p=Object.keys(d[l]));m=m.concat(p)}M$(a,m,c,d,e,f);c(h)}},P2a=function(a){a=a.N.clone();u2a(a);y$(a,"dg",null);y$(a,"md","1");return D2a(a.toString())};var CE=new Uint8Array(123),BE=!1;var R2a=[];var N$={ERROR:"error",IDLE:"idle",Ip:"active",Oq:"userIdle",Nq:"userActive"};k=GE.prototype;k.tp=function(){};k.dk=function(){};k.Fk=function(){throw Error("bf");};k.bm=function(){throw Error("cf");};k.co=function(){return this.Ja};k.km=function(a){this.Ja=a};k.isActive=function(){return!1};k.zo=function(){return!1};k.kp=function(){};var O$=function(a,b,c,d,e){var f=Error.call(this);this.message=f.message;"stack"in f&&(this.stack=f.stack);this.name="ModuleLoadFailure";this.type=a;this.status=b;this.Zj=c;this.url=d;this.cause=e;this.message=this.toString()};U(O$,Error);O$.prototype.toString=function(){return S2a(this)+" ("+(this.status!=void 0?this.status:"?")+")"};
var S2a=function(a){switch(a.type){case O$.g.cn:return"Unauthorized";case O$.g.Hm:return"Consecutive load failures";case O$.g.TIMEOUT:return"Timed out";case O$.g.an:return"Out of date module id";case O$.g.qk:return"Init error";default:return"Unknown failure type "+a.type}};aF.bd=O$;aF.bd.g={cn:0,Hm:1,TIMEOUT:2,an:3,qk:4};var P$=function(){GE.call(this);this.T=null;this.B=new Map;this.C=new Set;this.D=[];this.N=new Set;this.j=[];this.G=new Set;this.g=gF?new Map:{};this.ka=new Map;this.o=this.H=new aF.Bk([],"");this.Fa=null;this.ba=new yk;this.Ka=this.Pa=this.eb=this.ra=!1};cF(P$,GE);var T2a=function(a,b){aa.call(this,"Error loading "+a+": "+b);this.failureType=b};cF(T2a,aa);P$.prototype.tp=function(a){this.ra=a};
P$.prototype.dk=function(a,b){if(!(this instanceof P$))this.dk(a,b);else if(typeof a==="string"){if(a.startsWith("d$")){a=a.substring(2);for(var c=[],d=0,e=a.indexOf("/"),f=0,g=!1,h=0;;){var l=g?a.substring(f):a.substring(f,e);if(l.length===0)d++,f="sy"+d.toString(36),l=[];else{var m=l.indexOf(":");if(m<0)f=l,l=[];else if(m===l.length-1)f=l.substring(0,m),l=Array(c[h-1]);else{f=l.substring(0,m);l=l.substring(m+1).split(",");m=h;for(let p=0;p<l.length;p++)m-=l[p].length===0?1:Number(l[p]),l[p]=c[m]}m=
0;if(f.length===0)m=1;else if(f.charAt(0)==="+"||f.charAt(0)==="-")m=Number(f);m!==0&&(d+=m,f="sy"+d.toString(36))}c.push(f);Q$(this,f,l);if(g)break;f=e+1;e=a.indexOf("/",f);e===-1&&(g=!0);h++}this.T=c}else if(a.startsWith("p$"))U2a(this,a);else{a=a.split("/");c=[];for(d=0;d<a.length;d++){h=a[d].split(":");e=h[0];g=[];if(h[1])for(g=h[1].split(","),h=0;h<g.length;h++)g[h]=c[parseInt(g[h],36)];c.push(e);Q$(this,e,g)}this.T=c}if(b&&b.length){a=q(b);for(c=a.next();!c.done;c=a.next())this.C.add(c.value);
this.Fa=Ba(b)}else this.ba.g||this.ba.callback();Object.freeze(this.T);V2a(this)}};
var U2a=function(a,b){if(Gia){DE();var c=2;do{var d=b.charCodeAt(c++);d=CE[d]}while(d&32);var e=d=0;do{var f=b.charCodeAt(c++);f=CE[f];d|=(f&31)<<e;e+=5}while(f&32);d=d<0?d+4294967296:d;var g=0;e=0;do f=b.charCodeAt(c++),f=CE[f],g|=(f&31)<<e,e+=5;while(f&32);e=Array(d);f=Array(d);var h=Array(d);g=Array((g<0?g+4294967296:g)+1);var l=0,m=0,p=c;c=b.indexOf("|",c)+1;for(var t=0;t<d;t++){var w=void 0,A=0,M=0;do w=b.charCodeAt(c++),w=CE[w],A|=(w&31)<<M,M+=5;while(w&32);M=A<0?A+4294967296:A;A=M&2;w=M&1;
M>>>=2;w?(l+=M>>>1^-(M&1),M="sy"+l.toString(36)):(w=p,p+=M,M=b.substring(w,p));e[t]=M;A&&(g[m++]=M)}g[m]="";c++;m=d&-2;for(p=0;p<m;p+=2)l=b.charCodeAt(c++),l=CE[l],h[p]=l&7,h[p+1]=l>>>3&7;d&1&&(p=b.charCodeAt(c++),h[m]=CE[p]&7);c++;for(p=0;p<d;p++)if(h[p]===7){m=p;t=l=0;do A=b.charCodeAt(c++),A=CE[A],l|=(A&31)<<t,t+=5;while(A&32);h[m]=l<0?l+4294967296:l}c++;m=0;for(p=0;p<d;p++){l=h[p];t=l===0?R2a:Array(l);f[p]=t;M=m;for(A=0;A<l;A++){var da=void 0;let ja=w=0;do da=b.charCodeAt(c++),da=CE[da],w|=(da&
31)<<ja,ja+=5;while(da&32);M-=w<0?w+4294967296:w;t[A]=g[M]}g[m]===e[p]&&m++}b={ids:e,dependencies:f}}else{DE();b={Lk:b,Qf:2};FE(b);c=FE(b);h=FE(b)+1;d=Array(c);e=Array(c);f=Array(c);h=Array(h);g=l=0;m=b.Lk;p=b.Qf;t=b.Lk.indexOf("|",b.Qf);b.Qf=t+1;for(t=0;t<c;t++)M=FE(b),A=M&2,w=M&1,M>>>=2,w?(l+=M>>>1^-(M&1),M="sy"+l.toString(36)):(w=p,p+=M,M=m.substring(w,p)),d[t]=M,A&&(h[g++]=M);h[g]="";b.Qf++;g=c&-2;m=c&1;for(p=0;p<g;p+=2)l=EE(b),f[p]=l&7,f[p+1]=l>>>3&7;m&&(m=EE(b),f[g]=m&7);b.Qf++;for(g=0;g<c;g++)f[g]===
7&&(f[g]=FE(b));b.Qf++;g=0;for(m=0;m<c;m++){p=f[m];l=p===0?R2a:Array(p);e[m]=l;t=g;for(A=0;A<p;A++)t-=FE(b),l[A]=h[t];h[g]===d[m]&&g++}b={ids:d,dependencies:e}}c=b;b=c.ids;c=c.dependencies;for(d=0;d<b.length;d++)Q$(a,b[d],c[d]);a.T=b},L$=function(a,b){return a.B.get(b)};k=P$.prototype;k.Fk=function(a,b){var c=L$(this,a);c&&c.g?this.load(b):this.g instanceof Map?(c=this.g.get(a),c||(c=new Set,this.g.set(a,c)),c.add(b)):(this.g[a]||(this.g[a]={}),this.g[a][b]=!0)};
k.bm=function(a,b){if(this.g instanceof Map){var c=this.g.get(a);c&&(c.delete(b),c.size===0&&this.g.delete(a))}else if(this.g[a]){delete this.g[a][b];for(c in this.g[a])return;delete this.g[a]}};k.km=function(a){P$.Kb.km.call(this,a);V2a(this)};k.isActive=function(){return this.C.size>0};k.zo=function(){return this.G.size>0};
var R$=function(a){var b=a.eb,c=a.isActive();c!=b&&(W2a(a,c?N$.Ip:N$.IDLE),a.eb=c);b=a.zo();b!=a.Pa&&(W2a(a,b?N$.Nq:N$.Oq),a.Pa=b)},Q$=function(a,b,c){var d=a.B.get(b);d?d.o=c:a.B.set(b,new aF.Bk(c,b))},k$=function(a,b,c){var d=[],e={};b=q(new Set(b));for(var f=b.next();!f.done;f=b.next()){f=f.value;let g=L$(a,f);if(!g)throw Error("df`"+f);let h=new yk;e[f]=h;g.g?h.callback(a.Ja):(X2a(a,f,g,!!c,h),Y2a(a,f)||d.push(f))}d.length>0&&(a.C.size===0?a.L(d):(a.j.push(d),R$(a)));return e},X2a=function(a,
b,c,d,e){E2a(c,e.callback,e);F2a(c,function(f){e.Va(new T2a(b,f))});Y2a(a,b)?d&&(a.G.add(b),R$(a)):d&&a.G.add(b)};
P$.prototype.L=function(a,b,c){var d=this;b=b===void 0?0:b;var e=Z2a(this,a);this.C=new Set(e);this.D=this.ra?a:Na(e);R$(this);if(e.length!==0){a=q(e);for(var f=a.next();!f.done;f=a.next())this.N.add(f.value);a=this.ca;if(!a)throw Error("ef");if((this.g instanceof Map?this.g.size>0:Object.keys(this.g).length>0)&&!a.yb)throw Error("ff");K2a(a,Na(e),this.B,{Td:this.g,Zh:function(g,h,l){return $2a(d,d.D,e,g!=null?g:void 0,h,b,!!l)},eE:sj(this.Ua,this),zr:!!c})}};
var S$=function(a){this.g=a;this.j=new Set;this.result=[]};S$.prototype.ui=function(a){if(!this.j.has(a)&&(this.j.add(a),!this.g.N.has(a))){var b=L$(this.g,a);if(b&&!b.g){b=b.o;for(let c=0;c<b.length;c++)this.ui(b[c]);this.result.push(a)}}};
var Z2a=function(a,b){b=b.filter(function(e){return a.B.get(e).g?(n.setTimeout(function(){return Error("gf`"+e)},0),!1):!0});if(hF){var c=new S$(a);for(var d=0;d<b.length;d++)c.ui(b[d]);c=c.result}else{c=[];for(d=0;d<b.length;d++)c=c.concat(a3a(a,b[d]));Ta(c)}return!a.ra&&c.length>1?(b=c.shift(),a.j=c.map(function(e){return[e]}).concat(a.j),[b]):c},a3a=function(a,b){if(hF)return a=new S$(a),a.ui(b),a.result;var c=[];a.N.has(b)||c.push(b);b=[b];for(let d=0;d<b.length;d++){let e=L$(a,b[d]).o;for(let f=
e.length-1;f>=0;f--){let g=e[f];L$(a,g).g||a.N.has(g)||(c.push(g),b.push(g))}}c.reverse();Ta(c);return c},V2a=function(a){if(a.o==a.H){a.o=null;let b=G2a(a.H,sj(a.co,a));b&&b.length&&T$(a,new aF.bd(aF.bd.g.qk,void 0,void 0,void 0,b[0]));R$(a)}};
P$.prototype.ek=function(){if(this.o){var a=this.o.getId(),b=[];if(this.g instanceof Map){var c=this.g.get(a);if(c){c=q(Array.from(c));for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=L$(this,d);e&&!e.g&&(this.bm(a,d),b.push(d))}k$(this,b)}}else if(this.g[a]){c=q(Object.keys(this.g[a]));for(d=c.next();!d.done;d=c.next())d=d.value,(e=L$(this,d))&&!e.g&&(this.bm(a,d),b.push(d));k$(this,b)}this.isDisposed()||((b=G2a(this.B.get(a),sj(this.co,this)))&&b.length&&T$(this,new aF.bd(aF.bd.g.qk,void 0,
void 0,void 0,b[0])),this.G.delete(a),this.C.delete(a),this.C.size!==0||U$(this),this.Fa&&a==this.Fa&&(this.ba.g||this.ba.callback()),R$(this),this.o=null)}};var Y2a=function(a,b){if(a.C.has(b))return!0;for(let c=0;c<a.j.length;c++)if(Ga(a.j[c],b))return!0;return!1};P$.prototype.load=function(a,b){return k$(this,[a],b)[a]};
P$.prototype.kp=function(a){if(!this.o){var b=new aF.Bk([],"synthetic_module_overhead");this.B.set("synthetic_module_overhead",b);this.o=b}b=this.o;b.j||(b.j=[]);b.j.push(new aF.Oi(a,void 0))};
var $2a=function(a,b,c,d,e,f,g){var h=(g===void 0?0:g)?0:(f===void 0?0:f)+1;f=Na(c);a.D=b;c=q(c);for(g=c.next();!g.done;g=c.next())a.N.delete(g.value);if(d==401)T$(a,new aF.bd(aF.bd.g.cn,d)),a.j.length=0;else if(d==410)V$(a,new aF.bd(aF.bd.g.an,d)),U$(a);else if(h>=3)V$(a,new aF.bd(aF.bd.g.Hm,d,f,e)),U$(a);else{let l=d==8001||!1;(d=Math.pow(h,2)*5E3)?n.setTimeout(function(){a.L(b,h,l)},d):a.L(b,h,l)}};P$.prototype.Ua=function(){V$(this,new aF.bd(aF.bd.g.TIMEOUT));U$(this)};
var V$=function(a,b){a.D.length>1?a.j=a.D.map(function(c){return[c]}).concat(a.j):T$(a,b)},T$=function(a,b){var c=a.D;a.C.clear();var d=[];for(var e=0;e<a.j.length;e++){var f=a.j[e].filter(function(g){var h=a3a(this,g);return jF(c,function(l){return Ga(h,l)})},a);Pa(d,f)}for(e=0;e<c.length;e++)Ha(d,c[e]);for(e=0;e<d.length;e++){for(f=0;f<a.j.length;f++)Ka(a.j[f],d[e]);a.G.delete(d[e])}if(e=a.ka.get(N$.ERROR))for(f=0;f<e.length;f++){let g=e[f];for(let h=0;h<d.length;h++)g(N$.ERROR,d[h],b)}for(d=0;d<
c.length;d++)(e=a.B.get(c[d]))&&e.Zh(b);a.D.length=0;R$(a)},U$=function(a){for(;a.j.length;){let b=a.j.shift().filter(function(c){return!L$(this,c).g},a);if(b.length>0){a.L(b);return}}R$(a)},W2a=function(a,b){a=a.ka.get(b);for(let c=0;a&&c<a.length;c++)a[c](b)};P$.prototype.dispose=function(){ah(Array.from(this.B.values()),this.H);this.B.clear();this.C.clear();this.D=[];this.G.clear();this.j=[];this.ka.clear();this.Ka=!0};P$.prototype.isDisposed=function(){return this.Ka};fl=function(){return new P$};ct("_loadDriveBackgroundSyncMain",function(a,b){var c=rAa().build();c.G.dataserviceBackgroundSyncApplication="true";pAa(c,function(){var d=new h$,e=hl();e.km(d);d.ca=e;var f=f===void 0?!1:f;var g=g===void 0?!1:g;var h=h===void 0?{}:h;var l=h.cssRowKey||"",m=h.Sd||"";!h.wD&&!l&&window&&window._F_cssRowKey&&(l=window._F_cssRowKey,!m&&window._F_combinedSignature&&(m=window._F_combinedSignature));if(!h.cssRowKey&&l&&typeof window._F_installCss!=="function")throw Error("jf");var p=h.ZD||H$;e=tE("base-js");
var t=vE("",e);t=Ch(t);f=new p(t,l,m,f,g);g=h.mE||e&&e.hasAttribute("crossorigin");e=h.corsMode||e&&e.getAttribute("crossorigin");g&&(f.si=g);e&&(f.rh=e);h.ri&&(f.ri=h.ri);h.fetchPriority&&(f.fetchPriority=h.fetchPriority);h=hl();h.ca=f;h.tp(!0);h=ci(new bi("//"+b),n.location.protocol).toString();e=new v$;h=new p$(n.parent,h,3E4);h=new j2a(h);e=new i2a(c,e,h);f=rf(nN,AF(a));g=nia(JD(f)).slice();g=yu(f,44,g);Fe(g,27,k2a.slice(),Dc);g=Gs(f);H(g,18,2);d=new U1a(f,h,d);e.Ha(c);e.Ha(d);e.start(d)})()});
u$([276,274,275]);
u$([223,216,217,240]);
var b3a=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i,c3a=function(a,b){a.D=b},d3a="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "),e3a=!!($E[1]&4096);H$.prototype.H=function(){this.D=this.j=null;this.g=e3a&&!this.C;this.eb=!0};H$.prototype.load=function(a,b,c,d,e,f){e=e===void 0?b:e;this.eb!=1&&this.H();Dh(a);G$(this,b);if(this.g){f=f3a(this,b,f);let l=f.size>0?Promise.all(f):void 0;f=!l;let m=Promise.withResolvers();m.promise.catch(function(){});let p=this.ba;for(var g=q(b),h=g.next();!h.done;h=g.next())c3a(p.get(h.value),m.promise);a=new W$(this,a,b,e,c,d,l,m)}else f=this.j==null,a=new W$(this,a,b,e,c,d),g3a(this,a);f?a.load():h3a(a)};
var f3a=function(a,b,c){var d=new Set;a=a.ba;b=q(b);for(var e=b.next();!e.done;e=b.next()){var f=e.value;e=new Set;var g=a.get(f);g=q(g.o);for(var h=g.next();!h.done;h=g.next())e.add(h.value);if(c)if(c instanceof Map){if(f=c.get(f))for(f=q(f),g=f.next();!g.done;g=f.next())e.add(g.value)}else if(f=c[f])for(let l in f)e.add(l);e=q(e);for(f=e.next();!f.done;f=e.next())(f=a.get(f.value))&&!f.g&&(f=f.D)&&d.add(f)}return d},j3a=function(a){var b=a.j;a.j=null;a.D=null;for(let c=b;c;c=c.next)c.cancel();(a=
a.o)?a.then(function(){i3a(b)}):i3a(b)},i3a=function(a){for(let d=a;d;d=d.next){var b=d,c=d!==a;b.G(-1,b.o,c===void 0?!1:c)}},g3a=function(a,b){a.D?a.D.next=b:a.j=b;a.D=b},W$=function(a,b,c,d,e,f,g,h){this.g=a;this.o=b;this.C=c;this.T=d;this.B=null;this.G=e;this.ba=f;this.next=this.D=this.j=null;this.L=g;this.H=h};W$.prototype.load=function(){this.j||(this.j=k3a(this.o,this.g.si,this.g.rh,this.g.g?"high":void 0));l3a(this,this.j);O2a(this.j,this.C,this.ca.bind(this),this.N.bind(this),this.T)};
W$.prototype.ca=function(){X$(this);this.ba();if(this.g.g)this.H.resolve();else{var a=this.g;let b=a.j;b&&(a.j=b.next,a.j||(a.D=null));(a=a.j)&&a.load()}};W$.prototype.N=function(a,b,c){c=c===void 0?!1:c;this.B=a;X$(this);this.g.g?(K$(this.g,a),this.G(-1,this.o,c),this.H.reject(b)):j3a(this.g)};var h3a=function(a){a.D=m3a(a.o,a.g.si,a.g.rh,a.g.g?"low":void 0);l3a(a,a.D);a.j=k3a(a.o,a.g.si,a.g.rh,a.g.g?"high":void 0);a.g.g&&a.L.then(function(){a.load()}).catch(function(b){a.N(a.C,String(b),!0)})};
W$.prototype.cancel=function(){X$(this);this.B===null&&(this.B=this.C);K$(this.g,this.B)};
var l3a=function(a,b){a=a.g.T;a.insertBefore(b,a.firstChild)},X$=function(a){var b=a.D;b&&b.parentElement&&b.parentElement.removeChild(b);(b=a.j)&&b.parentElement&&b.parentElement.removeChild(b);a.D=null;a.j=null;if(a.g.g){b=a.g.ba;a=q(a.C);for(var c=a.next();!c.done;c=a.next())b.get(c.value).D=null}},k3a=function(a,b,c,d){var e=XW(document,"SCRIPT");d&&e.setAttribute("fetchpriority",d);e.src=Dh(a);Jh(e);e.async=!0;b&&(e.crossOrigin=c);return e},m3a=function(a,b,c,d){var e=XW(document,"LINK");e.as=
"script";var f=Fh(document);f&&e.setAttribute("nonce",f);d&&e.setAttribute("fetchpriority",d);if(a instanceof Bh)e.href=Dh(a).toString(),e.rel="preload";else{if(d3a.indexOf("preload")===-1)throw Error("ba`preload");a=b3a.test(a)?a:void 0;a!==void 0&&(e.href=a,e.rel="preload")}b&&(e.crossOrigin=c);return e};
var _ModuleManager_initialize=function(a,b){if(!cl){if(!fl)return;gl()}cl.dk(a,b)};
_ModuleManager_initialize('core/rR9Zm',[]);
}catch(e){_DumpException(e)}
// Google Inc.
