(function(){'use strict';var m;function aa(a){var b=0;return function(){return b>>0)+"_",e=0;return b}); u("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}}); function Ma(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c=f}}); u("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}}); u("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;fc&&(c=Math.max(c+e,0));cb?-c:c}}); u("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h}; var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){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>>0),Ua=0;function Va(a,b,c){return a.call.apply(a.bind,arguments)} function Wa(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b):a[b]} function Ib(a,b){b=Cb(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c} function Jb(a,b){for(var c=1;c>>0;return b} ;var lc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function mc(a){return a?decodeURI(a):a} function nc(a,b){return b.match(lc)[a]||null} function oc(a){return mc(nc(3,a))} function pc(a){var b=a.match(lc);a=b[5];var c=b[6];b=b[7];var d="";a&&(d+=a);c&&(d+="?"+c);b&&(d+="#"+b);return d} function qc(a){var b=a.indexOf("#");return 0>b?a:a.slice(0,b)} function rc(a,b,c){if(Array.isArray(b))for(var d=0;dc&&(c=a.length);var d=a.indexOf("?");if(0>d||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;b=a[0]+(a[1]?"?"+a[1]:"")+a[2]}else b=a;return b} function uc(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b>>0);function nd(a){if("function"===typeof a)return a;a[vd]||(a[vd]=function(b){return a.handleEvent(b)}); return a[vd]} ;function wd(){F.call(this);this.h=new fd(this);this.Wa=this;this.fa=null} $a(wd,F);wd.prototype[bd]=!0;m=wd.prototype;m.addEventListener=function(a,b,c,d){ld(this,a,b,c,d)}; m.removeEventListener=function(a,b,c,d){td(this,a,b,c,d)}; function xd(a,b){var c=a.fa;if(c){var d=[];for(var e=1;c;c=c.fa)d.push(c),++e}a=a.Wa;c=b.type||b;"string"===typeof b?b=new Fc(b,a):b instanceof Fc?b.target=b.target||a:(e=b,b=new Fc(c,a),Ub(b,e));e=!0;if(d)for(var f=d.length-1;!b.j&&0<=f;f--){var g=b.h=d[f];e=yd(g,c,!0,b)&&e}b.j||(g=b.h=a,e=yd(g,c,!0,b)&&e,b.j||(e=yd(g,c,!1,b)&&e));if(d)for(f=0;!b.j&&fa.i&&(a.i++,b.next=a.h,a.h=b)} ;function Bd(){} function Cd(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}} ;"ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" ").concat(["BUTTON", "INPUT"]);function Dd(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0} m=Dd.prototype;m.clone=function(){return new Dd(this.x,this.y)}; m.equals=function(a){return a instanceof Dd&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)}; m.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}; m.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; m.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; m.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};function Ed(a,b){this.width=a;this.height=b} m=Ed.prototype;m.clone=function(){return new Ed(this.width,this.height)}; m.aspectRatio=function(){return this.width/this.height}; m.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; m.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; m.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; m.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};function Fd(a){var b=document;return"string"===typeof a?b.getElementById(a):a} function Gd(a){var b=document;a=String(a);"application/xhtml+xml"===b.contentType&&(a=a.toLowerCase());return b.createElement(a)} function Hd(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null} ;var Id;function Jd(){var a=C.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!H("Presto")&&(a=function(){var e=Gd("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=Xa(function(k){if(("*"==h||k.origin==h)&&k.data==g)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}}); if("undefined"!==typeof a){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.bd;c.bd=null;e()}}; return function(e){d.next={bd:e};d=d.next;b.port2.postMessage(0)}}return function(e){C.setTimeout(e,0)}} ;function Kd(a){C.setTimeout(function(){throw a;},0)} ;function Ld(){this.i=this.h=null} Ld.prototype.add=function(a,b){var c=Md.get();c.set(a,b);this.i?this.i.next=c:this.h=c;this.i=c}; Ld.prototype.remove=function(){var a=null;this.h&&(a=this.h,this.h=this.h.next,this.h||(this.i=null),a.next=null);return a}; var Md=new zd(function(){return new Nd},function(a){return a.reset()}); function Nd(){this.next=this.scope=this.h=null} Nd.prototype.set=function(a,b){this.h=a;this.scope=b;this.next=null}; Nd.prototype.reset=function(){this.next=this.scope=this.h=null};var Od,Pd=!1,Qd=new Ld;function Rd(a,b){Od||Sd();Pd||(Od(),Pd=!0);Qd.add(a,b)} function Sd(){if(C.Promise&&C.Promise.resolve){var a=C.Promise.resolve(void 0);Od=function(){a.then(Td)}}else Od=function(){var b=Td; "function"!==typeof C.setImmediate||C.Window&&C.Window.prototype&&C.Window.prototype.setImmediate==C.setImmediate?(Id||(Id=Jd()),Id(b)):C.setImmediate(b)}} function Td(){for(var a;a=Qd.remove();){try{a.h.call(a.scope)}catch(b){Kd(b)}Ad(Md,a)}Pd=!1} ;function Ud(a){this.h=0;this.v=void 0;this.l=this.i=this.j=null;this.A=this.m=!1;if(a!=Bd)try{var b=this;a.call(void 0,function(c){Vd(b,2,c)},function(c){Vd(b,3,c)})}catch(c){Vd(this,3,c)}} function Wd(){this.next=this.context=this.h=this.i=this.child=null;this.j=!1} Wd.prototype.reset=function(){this.context=this.h=this.i=this.child=null;this.j=!1}; var Xd=new zd(function(){return new Wd},function(a){a.reset()}); function Yd(a,b,c){var d=Xd.get();d.i=a;d.h=b;d.context=c;return d} function Zd(a){return new Ud(function(b,c){c(a)})} Ud.prototype.then=function(a,b,c){return $d(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)}; Ud.prototype.$goog_Thenable=!0;m=Ud.prototype;m.oc=function(a,b){return $d(this,null,a,b)}; m.catch=Ud.prototype.oc;m.cancel=function(a){if(0==this.h){var b=new ae(a);Rd(function(){be(this,b)},this)}}; function be(a,b){if(0==a.h)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,f=null,g=c.i;g&&(g.j||(d++,g.child==a&&(e=g),!(e&&1=a.l&&a.Aa()} m.Aa=function(){var a=this.i.values();a=[].concat(ma(a)).filter(function(b){return b.h.size}); a.length&&this.F.flush(a,this.m);oe(a);this.j=0;this.h.enabled&&this.h.stop()}; m.Rb=function(a){var b=B.apply(1,arguments);this.i.has(a)||this.i.set(a,new Ac(a,b))}; m.uc=function(a){var b=B.apply(1,arguments);this.i.has(a)||this.i.set(a,new Bc(a,b))}; function pe(a,b){return a.v.has(b)?void 0:a.i.get(b)} m.Pb=function(a){this.Od(a,1,B.apply(1,arguments))}; m.Od=function(a,b){var c=B.apply(2,arguments),d=pe(this,a);d&&d instanceof Ac&&(d.i(b,c),ne(this))}; m.record=function(a,b){var c=B.apply(2,arguments),d=pe(this,a);d&&d instanceof Bc&&(d.record(b,c),ne(this))}; function oe(a){for(var b=0;b>>13;d-=e;d-=c;d^=c<<8;e-=c;e-=d;e^=d>>>13;c-=d;c-=e;c^=e>>>12;d-=e;d-=c;d^=c<<16;e-=c;e-=d;e^=d>>>5;c-=d;c-=e;c^=e>>>3;d-=e;d-=c;d^=c<<10;e-=c;e-=d;e^=d>>>15} a=ze(a);for(var c=2654435769,d=2654435769,e=314159265,f=a.length,g=f,h=0;12<=g;g-=12,h+=12)c+=Ae(a,h),d+=Ae(a,h+4),e+=Ae(a,h+8),b();e+=f;switch(g){case 11:e+=a[h+10]<<24;case 10:e+=a[h+9]<<16;case 9:e+=a[h+8]<<8;case 8:d+=a[h+7]<<24;case 7:d+=a[h+6]<<16;case 6:d+=a[h+5]<<8;case 5:d+=a[h+4];case 4:c+=a[h+3]<<24;case 3:c+=a[h+2]<<16;case 2:c+=a[h+1]<<8;case 1:c+=a[h+0]}b();return xe.toString(e)} function ze(a){for(var b=[],c=0;c>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=""+l+g+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|l>>4]+k+d}return c.join("")} function Ie(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Je(a,function(f){d[e++]=f}); return e!==c?d.subarray(0,e):d} function Je(a,b){function c(k){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=h&&b(g<<6&192|h))}} function He(){if(!Fe){Fe={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Ee[c]=d;for(var e=0;e>14&1023;return 0===a?536870912:a} ;var kf={},lf={};function mf(a){return!(!a||"object"!==typeof a||a.ye!==lf)} function nf(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object} var of;function pf(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=cf(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;ef(a,d|1);return!0} var qf,rf=[];ef(rf,55);qf=Object.freeze(rf);function sf(a){if(a&2)throw Error();} function tf(a,b,c){this.j=0;this.h=a;this.i=b;this.thisArg=c} tf.prototype.next=function(){if(this.ja;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=v(xf(c,a)),b=c.next().value,a=c.next().value,c=b);uf=c>>>0;vf=a>>>0} function yf(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Ve()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+6777216*c+6710656*b,c+=8147497*b,b*=2,1E7<=a&&(c+=Math.floor(a/1E7),a%=1E7),1E7<=c&&(b+=Math.floor(c/1E7),c%=1E7),c=b+zf(c)+zf(a));return c} function zf(a){a=String(a);return"0000000".slice(a.length)+a} function Af(){var a=uf,b=vf;b&2147483648?Ve()?a=""+(BigInt(b|0)<>>0)):(b=v(xf(a,b)),a=b.next().value,b=b.next().value,a="-"+yf(a,b)):a=yf(a,b);return a} function xf(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]} ;var Bf;function Cf(a){a=Error(a);ec(a,"warning");return a} ;function Df(a){return a.displayName||a.name||"unknown type name"} function Ef(a){if(null!=a&&"boolean"!==typeof a)throw Error("Expected boolean but got "+Pa(a)+": "+a);return a} var Ff=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function Gf(a){var b=typeof a;return"number"===b?Number.isFinite(a):"string"!==b?!1:Ff.test(a)} function Hf(a){if(null!=a){if("number"!==typeof a)throw Cf("int32");if(!Number.isFinite(a))throw Cf("int32");a|=0}return a} function If(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return Number.isFinite(a)?a|0:void 0} function Jf(a){if(null!=a){var b=!!b;if(!Gf(a))throw Cf("int64");a="string"===typeof a?Kf(a):b?Lf(a):Mf(a)}return a} function Nf(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-922337a.length?!0:19===a.length&&922337>Number(a.substring(0,6))} function Mf(a){Gf(a);a=Math.trunc(a);if(!Number.isSafeInteger(a)){wf(a);var b=uf,c=vf;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,0==b&&(c=c+1>>>0);b=4294967296*c+(b>>>0);a=a?-b:b}return a} function Lf(a){Gf(a);a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Nf(b)?a=b:(wf(a),a=Af())}return a} function Kf(a){Gf(a);var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");-1!==b&&(a=a.substring(0,b));a.indexOf(".");if(!Nf(a)){if(16>a.length)wf(Number(a));else if(Ve())a=BigInt(a),uf=Number(a&BigInt(4294967295))>>>0,vf=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+("-"===a[0]);vf=uf=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),vf*=1E6,uf=1E6*uf+d,4294967296<=uf&&(vf+=Math.trunc(uf/4294967296),vf>>>=0,uf>>>=0);b&&(b=v(xf(uf,vf)), a=b.next().value,b=b.next().value,uf=a,vf=b)}a=Af()}return a} function Of(a){if(null!=a&&"string"!==typeof a)throw Error();return a} function Pf(a,b){if(!(a instanceof b))throw Error("Expected instanceof "+Df(b)+" but got "+(a&&Df(a.constructor)));} function Qf(a,b,c,d){if(null!=a&&"object"===typeof a&&a.Ic===kf)return a;if(!Array.isArray(a))return c?d&2?(a=b[Ze])?b=a:(a=new b,ff(a.D),b=b[Ze]=a):b=new b:b=void 0,b;var e=c=cf(a);0===e&&(e|=d&32);e|=d&2;e!==c&&ef(a,e);return new b(a)} ;var Rf=function(){try{var a=function(){return ra(Map,[],this.constructor)}; w(a,Map);Tc(new a);return!1}catch(b){return!0}}(); function Sf(){this.h=new Map} m=Sf.prototype;m.get=function(a){return this.h.get(a)}; m.set=function(a,b){this.h.set(a,b);this.size=this.h.size;return this}; m.delete=function(a){a=this.h.delete(a);this.size=this.h.size;return a}; m.clear=function(){this.h.clear();this.size=this.h.size}; m.has=function(a){return this.h.has(a)}; m.entries=function(){return this.h.entries()}; m.keys=function(){return this.h.keys()}; m.values=function(){return this.h.values()}; m.forEach=function(a,b){return this.h.forEach(a,b)}; Sf.prototype[Symbol.iterator]=function(){return this.entries()}; var Tf=function(){function a(){return ra(Map,[],this.constructor)} if(Rf)return Object.setPrototypeOf(Sf.prototype,Map.prototype),Object.defineProperties(Sf.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),Sf;w(a,Map);return a}(); function Uf(a){return a} function Vf(a,b,c,d){c=void 0===c?Uf:c;d=void 0===d?Uf:d;var e=Tf.call(this)||this;var f=cf(a);f|=64;ef(a,f);e.Sb=f;e.pc=b;e.Fb=c;e.Sc=e.pc?Wf:d;for(var g=0;gb||b>=a.length||b>=c))return a[b]} function og(a,b,c,d){if(-1===c)return null;var e=jf(b);if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],null!=d)){if(pg(a,b,e,c)&&null!=$e){var g;a=null!=(g=Bf)?g:Bf={};g=a[$e]||0;4<=g||(a[$e]=g+1,g=Error(),ec(g,"incident"),Kd(g))}return d}return pg(a,b,e,c)}} function qg(a,b,c){var d=a.D,e=df(d);sf(e);rg(d,e,b,c);return a} function rg(a,b,c,d,e){nf(d);var f=jf(b);if(c>=f||e){var g=b;if(b&256)e=a[a.length-1];else{if(null==d)return g;e=a[f+(+!!(b&512)-1)]={};g|=256}e[c]=d;ct;t+=4)r[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;80>t;t++)p=r[t-3]^r[t-8]^r[t-14]^r[t-16],r[t]=(p<<1|p>>>31)&4294967295;p=e[0];var x=e[1],z=e[2],y=e[3],K=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var G=y^x&(z^y);var R=1518500249}else G=x^z^y,R=1859775393;else 60>t?(G=x&z|y&(x|z),R=2400959708):(G=x^z^y,R=3395469782);G=((p<<5|p>>>27)&4294967295)+G+K+R+r[t]&4294967295;K=y;y=z;z=(x<<30|x>>>2)&4294967295;x=p;p=G}e[0]=e[0]+p&4294967295;e[1]=e[1]+x&4294967295;e[2]= e[2]+z&4294967295;e[3]=e[3]+y&4294967295;e[4]=e[4]+K&4294967295} function c(p,r){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var t=[],x=0,z=p.length;xl?c(h,56-l):c(h,64-(l-56));for(var t=63;56<=t;t--)f[t]=r&255,r>>>=8;b(f);for(t=r=0;5>t;t++)for(var x=24;0<=x;x-=8)p[r++]=e[t]>>x&255;return p} for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var l,n;a();return{reset:a,update:c,digest:d,Yd:function(){for(var p=d(),r="",t=0;th?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*h)).toUTCString();this.h.cookie=a+"="+b+c+g+h+d+(null!=e?";samesite="+ e:"")}; m.get=function(a,b){for(var c=a+"=",d=(this.h.cookie||"").split(";"),e=0,f;ed&&this.Ul?1:l),c.h.setInterval(c.l.getValue()))}}a&&a();c.K=0}; h=function(k,l){var n=e.D;var p=df(n),r=p,t=!(2&p),x=!!(2&r),z=x?1:2;p=1===z;z=2===z;t&&(t=!x);x=og(n,r,3);x=Array.isArray(x)?x:qf;var y=cf(x),K=!!(4&y);if(!K){var G=y;0===G&&(G=Ag(G,r));G=bf(G,1,!0);y=x;var R=r,N=!!(2&G);N&&(R=bf(R,2,!0));for(var da=!N,Ea=!0,O=0,ea=0;Oa||401===a||0===a}; function Ah(){return"https://play.google.com/log?format=json&hasfast=true"} function zh(a,b){this.ab=b=void 0===b?!1:b;this.uach=this.locale=null;this.h=new th;Number.isInteger(a)&&this.h.Mb(a);b||(this.locale=document.documentElement.getAttribute("lang"));Bh(this,new qh)} zh.prototype.Mb=function(a){this.h.Mb(a);return this}; function Bh(a,b){yg(a.h,qh,1,b);Eg(b)||Gg(b,1,1);if(!a.ab){b=Gh(a);var c=ng(b,5);(null==c||"string"===typeof c)&&c||Fg(b,5,a.locale)}a.uach&&(b=Gh(a),xg(b,kh,9)||yg(b,kh,9,a.uach))} function Dh(a,b){sg(Hh(a))&&(a=Ih(a),Gg(a,1,b))} function Fh(a,b){sg(Hh(a))&&(a=Ih(a),qg(a,2,Ef(b)))} function Hh(a){return xg(a.h,qh,1)} function Jh(a){var b=void 0===b?mh:b;var c=a.ab?void 0:window;c?ph(c,b).then(function(d){a.uach=d;d=Gh(a);yg(d,kh,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)} function Gh(a){a=Hh(a);var b=xg(a,ug,11);b||(b=new ug,yg(a,ug,11,b));return b} function Ih(a){a=Gh(a);var b=xg(a,ih,10);b||(b=new ih,qg(b,2,Ef(!1)),yg(a,ih,10,b));return b} function Eh(a,b,c,d,e){var f=0,g=0;c=void 0===c?0:c;f=void 0===f?0:f;g=void 0===g?0:g;d=void 0===d?0:d;if(sg(Hh(a))){var h=Ih(a);qg(h,3,Hf(d))}sg(Hh(a))&&(d=Ih(a),qg(d,4,Hf(f)));sg(Hh(a))&&(f=Ih(a),qg(f,5,Hf(g)));a=a.h.clone();g=Date.now().toString();a=qg(a,4,Jf(g));b=zg(a,sh,3,b);e&&(a=new fh,e=qg(a,13,Hf(e)),a=new gh,e=yg(a,fh,2,e),a=new rh,e=yg(a,gh,1,e),e=Gg(e,2,9),yg(b,rh,18,e));c&&qg(b,14,Jf(c));return b} ;function Kh(){this.Pd="undefined"!==typeof AbortController} Kh.prototype.send=function(a,b,c){var d=this,e,f,g,h,k,l,n,p,r,t,x,z;return A(function(y){switch(y.h){case 1:return f=(e=d.Pd?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,Aa(y,2,3),g=Object.assign({},{method:a.requestType, headers:Object.assign({},a.yd)},a.body&&{body:a.body},a.withCredentials&&{credentials:"include"},{signal:a.timeoutMillis&&e?e.signal:null}),y.yield(fetch(a.url,g),5);case 5:h=y.i;if(200!==h.status){null==(k=c)||k(h.status);y.B(3);break}if(null==(l=b)){y.B(7);break}p=n=l;return y.yield(h.text(),8);case 8:p(y.i);case 7:case 3:y.K=[y.j];y.l=0;y.A=0;clearTimeout(f);Ca(y);break;case 2:r=Ba(y);switch(null==(t=r)?void 0:t.name){case "AbortError":null==(x=c)||x(408);break;default:null==(z=c)||z(400)}y.B(3)}})}; Kh.prototype.cc=function(){return 4};function Lh(a,b){F.call(this);this.logSource=a;this.sessionIndex=b;this.i="https://play.google.com/log?format=json&hasfast=true";this.h=null;this.j=!1;this.network=null;this.componentId="";this.pageId=this.vb=null} w(Lh,F);Lh.prototype.ed=function(){this.l=!0;return this};function Mh(a,b,c,d,e,f,g){a=void 0===a?-1:a;b=void 0===b?"":b;c=void 0===c?"":c;d=void 0===d?!1:d;e=void 0===e?"":e;F.call(this);this.logSource=a;this.componentId=b;f?a=f:(a=new Lh(a,"0"),a.componentId=b,Ec(this,a),""!==c&&(a.i=c),d&&(a.j=!0),e&&(a.h=e),g&&(a.network=g),a.network||(a.network=new Kh),b=new yh({logSource:a.logSource,Eb:a.Eb?a.Eb:ch,sessionIndex:a.sessionIndex,qf:a.i,ab:a.j,Cb:!1,ed:a.l,Xc:a.Xc,network:a.network}),Ec(a,b),a.h&&(c=a.h,d=Gh(b.i),Fg(d,7,c)),a.componentId&&(b.componentId= a.componentId),a.vb&&(b.vb=a.vb),a.pageId&&(b.pageId=a.pageId),Jh(b.i),a.network.Mb&&a.network.Mb(a.logSource),a.network.bf&&a.network.bf(b),a=b);this.h=a} w(Mh,F); Mh.prototype.flush=function(a){var b=a||[];if(b.length){a=new Rg;for(var c=[],d=0;dg;null!=a.Ud&&(h=ga&&Number.isInteger(a)&&this.data[a]!==b&&(this.data[a]=b,this.h=-1)}; Ci.prototype.get=function(a){return!!this.data[a]}; function Di(a){-1===a.h&&(a.h=a.data.reduce(function(b,c,d){return b+(c?Math.pow(2,d):0)},0)); return a.h} ;function Ei(){this.blockSize=-1} ;function Fi(){this.blockSize=-1;this.blockSize=64;this.h=[];this.A=[];this.m=[];this.j=[];this.j[0]=128;for(var a=1;ae;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.h[0];c=a.h[1];var g=a.h[2],h=a.h[3],k=a.h[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=h^c&(g^h);var l=1518500249}else f=c^g^h,l=1859775393;else 60>e?(f=c&g|h&(c|g),l=2400959708): (f=c^g^h,l=3395469782);f=(b<<5|b>>>27)+f+k+l+d[e]&4294967295;k=h;h=g;g=(c<<30|c>>>2)&4294967295;c=b;b=f}a.h[0]=a.h[0]+b&4294967295;a.h[1]=a.h[1]+c&4294967295;a.h[2]=a.h[2]+g&4294967295;a.h[3]=a.h[3]+h&4294967295;a.h[4]=a.h[4]+k&4294967295} Fi.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.A,f=this.i;dthis.i?this.update(this.j,56-this.i):this.update(this.j,this.blockSize-(this.i-56));for(var c=this.blockSize-1;56<=c;c--)this.A[c]=b&255,b/=256;Gi(this,this.A);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.h[c]>>d&255,++b;return a};function Hi(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""} function Ii(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)} function Ji(a,b){a.classList?b=a.classList.contains(b):(a=a.classList?a.classList:Hi(a).match(/\S+/g)||[],b=0<=Cb(a,b));return b} function Ki(){var a=document.body;a.classList?a.classList.remove("inverted-hdpi"):Ji(a,"inverted-hdpi")&&Ii(a,Array.prototype.filter.call(a.classList?a.classList:Hi(a).match(/\S+/g)||[],function(b){return"inverted-hdpi"!=b}).join(" "))} ;function Li(){} Li.prototype.next=function(){return Mi}; var Mi={done:!0,value:void 0};Li.prototype.jb=function(){return this};function Ni(a){if(a instanceof Oi||a instanceof Pi||a instanceof Qi)return a;if("function"==typeof a.next)return new Oi(function(){return a}); if("function"==typeof a[Symbol.iterator])return new Oi(function(){return a[Symbol.iterator]()}); if("function"==typeof a.jb)return new Oi(function(){return a.jb()}); throw Error("Not an iterator or iterable.");} function Oi(a){this.h=a} Oi.prototype.jb=function(){return new Pi(this.h())}; Oi.prototype[Symbol.iterator]=function(){return new Qi(this.h())}; Oi.prototype.i=function(){return new Qi(this.h())}; function Pi(a){this.h=a} w(Pi,Li);Pi.prototype.next=function(){return this.h.next()}; Pi.prototype[Symbol.iterator]=function(){return new Qi(this.h)}; Pi.prototype.i=function(){return new Qi(this.h)}; function Qi(a){Oi.call(this,function(){return a}); this.j=a} w(Qi,Oi);Qi.prototype.next=function(){return this.j.next()};function L(a){F.call(this);this.m=1;this.j=[];this.l=0;this.h=[];this.i={};this.v=!!a} $a(L,F);m=L.prototype;m.subscribe=function(a,b,c){var d=this.i[a];d||(d=this.i[a]=[]);var e=this.m;this.h[e]=a;this.h[e+1]=b;this.h[e+2]=c;this.m=e+3;d.push(e);return e}; m.unsubscribe=function(a,b,c){if(a=this.i[a]){var d=this.h;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.xb(a)}return!1}; m.xb=function(a){var b=this.h[a];if(b){var c=this.i[b];0!=this.l?(this.j.push(a),this.h[a+1]=function(){}):(c&&Ib(c,a),delete this.h[a],delete this.h[a+1],delete this.h[a+2])}return!!b}; m.Va=function(a,b){var c=this.i[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;eZa())Wi.prototype.remove.call(this,a);else return b}};function Xi(){} ;function Yi(){} $a(Yi,Xi);Yi.prototype[Symbol.iterator]=function(){return Ni(this.jb(!0)).i()}; Yi.prototype.clear=function(){var a=Array.from(this);a=v(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};function Zi(a){this.h=a;this.i=null} $a(Zi,Yi);m=Zi.prototype;m.isAvailable=function(){var a=this.h;if(a)try{a.setItem("__sak","1");a.removeItem("__sak");var b=!0}catch(c){b=c instanceof DOMException&&("QuotaExceededError"===c.name||22===c.code||1014===c.code||"NS_ERROR_DOM_QUOTA_REACHED"===c.name)&&a&&0!==a.length}else b=!1;return this.i=b}; m.set=function(a,b){$i(this);try{this.h.setItem(a,b)}catch(c){if(0==this.h.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}}; m.get=function(a){$i(this);a=this.h.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){$i(this);this.h.removeItem(a)}; m.jb=function(a){$i(this);var b=0,c=this.h,d=new Li;d.next=function(){if(b>=c.length)return Mi;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}}; return d}; m.clear=function(){$i(this);this.h.clear()}; m.key=function(a){$i(this);return this.h.key(a)}; function $i(a){if(null==a.h)throw Error("Storage mechanism: Storage unavailable");var b;(null!=(b=a.i)?b:a.isAvailable())||Kd(Error("Storage mechanism: Storage unavailable"))} ;function aj(){var a=null;try{a=C.localStorage||null}catch(b){}Zi.call(this,a)} $a(aj,Zi);function bj(a,b){this.i=a;this.h=b+"::"} $a(bj,Yi);bj.prototype.set=function(a,b){this.i.set(this.h+a,b)}; bj.prototype.get=function(a){return this.i.get(this.h+a)}; bj.prototype.remove=function(a){this.i.remove(this.h+a)}; bj.prototype.jb=function(a){var b=this.i[Symbol.iterator](),c=this,d=new Li;d.next=function(){var e=b.next();if(e.done)return e;for(e=e.value;e.slice(0,c.h.length)!=c.h;){e=b.next();if(e.done)return e;e=e.value}return{value:a?e.slice(c.h.length):c.i.get(e),done:!1}}; return d};/* (The MIT License) Copyright (C) 2014 by Vitaly Puzrin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------------------------------------------------------------------- Ported from zlib, which is under the following license https://github.com/madler/zlib/blob/master/zlib.h zlib.h -- interface of the 'zlib' general purpose compression library version 1.2.8, April 28th, 2013 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). */ var M={},cj="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;M.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if("object"!==typeof c)throw new TypeError(c+"must be non-object");for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}return a}; M.Qc=function(a,b){if(a.length===b)return a;if(a.subarray)return a.subarray(0,b);a.length=b;return a}; var dj={kb:function(a,b,c,d,e){if(b.subarray&&a.subarray)a.set(b.subarray(c,c+d),e);else for(var f=0;ff?1:2048>f?2:65536>f?3:4}var h=new M.ib(e);for(b=c=0;cf?h[c++]=f:(2048>f?h[c++]=192|f>>>6:(65536>f?h[c++]=224|f>>>12:(h[c++]=240|f>>>18,h[c++]=128|f>>>12&63),h[c++]=128|f>>> 6&63),h[c++]=128|f&63);return h} ;var hj={};hj=function(a,b,c,d){var e=a&65535|0;a=a>>>16&65535|0;for(var f;0!==c;){f=2E3lj;lj++){jj=lj;for(var mj=0;8>mj;mj++)jj=jj&1?3988292384^jj>>>1:jj>>>1;kj[lj]=jj}ij=function(a,b,c,d){c=d+c;for(a^=-1;d>>8^kj[(a^b[d])&255];return a^-1};var nj={};nj={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function oj(a){for(var b=a.length;0<=--b;)a[b]=0} var pj=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],qj=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],rj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],sj=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],tj=Array(576);oj(tj);var uj=Array(60);oj(uj);var vj=Array(512);oj(vj);var wj=Array(256);oj(wj);var xj=Array(29);oj(xj);var yj=Array(30);oj(yj);function zj(a,b,c,d,e){this.Fd=a;this.ge=b;this.ee=c;this.Zd=d;this.Ce=e;this.ld=a&&a.length} var Aj,Bj,Cj;function Dj(a,b){this.gd=a;this.sb=0;this.Ta=b} function Ej(a,b){a.X[a.pending++]=b&255;a.X[a.pending++]=b>>>8&255} function Fj(a,b,c){a.ga>16-c?(a.ma|=b<>16-a.ga,a.ga+=c-16):(a.ma|=b<>>=1,c<<=1;while(0<--b);return c>>>1} function Ij(a,b,c){var d=Array(16),e=0,f;for(f=1;15>=f;f++)d[f]=e=e+c[f-1]<<1;for(c=0;c<=b;c++)e=a[2*c+1],0!==e&&(a[2*c]=Hj(d[e]++,e))} function Jj(a){var b;for(b=0;286>b;b++)a.ra[2*b]=0;for(b=0;30>b;b++)a.Ya[2*b]=0;for(b=0;19>b;b++)a.ia[2*b]=0;a.ra[512]=1;a.Na=a.wb=0;a.ya=a.matches=0} function Kj(a){8e?vj[e]:vj[256+(e>>>7)];Gj(a,g,c);h=qj[g];0!==h&&(e-=yj[g],Fj(a,e,h))}}while(da.La;){var k=a.Y[++a.La]=2>h?++h:0;c[2*k]=1;a.depth[k]=0;a.Na--;e&&(a.wb-=d[2*k+1])}b.sb=h;for(g=a.La>>1;1<=g;g--)Nj(a,c,g);k=f;do g=a.Y[1],a.Y[1]=a.Y[a.La--],Nj(a,c,1),d=a.Y[1],a.Y[--a.nb]=g,a.Y[--a.nb]=d,c[2*k]=c[2*g]+c[2*d],a.depth[k]=(a.depth[g]>=a.depth[d]?a.depth[g]:a.depth[d])+1,c[2*g+1]=c[2*d+1]=k,a.Y[1]=k++,Nj(a,c,1);while(2<=a.La);a.Y[--a.nb]= a.Y[1];g=b.gd;k=b.sb;d=b.Ta.Fd;e=b.Ta.ld;f=b.Ta.ge;var l=b.Ta.ee,n=b.Ta.Ce,p,r=0;for(p=0;15>=p;p++)a.Ia[p]=0;g[2*a.Y[a.nb]+1]=0;for(b=a.nb+1;573>b;b++){var t=a.Y[b];p=g[2*g[2*t+1]+1]+1;p>n&&(p=n,r++);g[2*t+1]=p;if(!(t>k)){a.Ia[p]++;var x=0;t>=l&&(x=f[t-l]);var z=g[2*t];a.Na+=z*(p+x);e&&(a.wb+=z*(d[2*t+1]+x))}}if(0!==r){do{for(p=n-1;0===a.Ia[p];)p--;a.Ia[p]--;a.Ia[p+1]+=2;a.Ia[n]--;r-=2}while(0k||(g[2*d+1]!==p&&(a.Na+=(p-g[2*d+1])*g[2*d],g[2* d+1]=p),t--)}Ij(c,h,a.Ia)} function Qj(a,b,c){var d,e=-1,f=b[1],g=0,h=7,k=4;0===f&&(h=138,k=3);b[2*(c+1)+1]=65535;for(d=0;d<=c;d++){var l=f;f=b[2*(d+1)+1];++g=g?a.ia[34]++:a.ia[36]++,g=0,e=l,0===f?(h=138,k=3):l===f?(h=6,k=3):(h=7,k=4))}} function Rj(a,b,c){var d,e=-1,f=b[1],g=0,h=7,k=4;0===f&&(h=138,k=3);for(d=0;d<=c;d++){var l=f;f=b[2*(d+1)+1];if(!(++g=g?(Gj(a,17,a.ia),Fj(a,g-3,3)):(Gj(a,18,a.ia),Fj(a,g-11,7));g=0;e=l;0===f?(h=138,k=3):l===f?(h=6,k=3):(h=7,k=4)}}} function Sj(a){var b=4093624447,c;for(c=0;31>=c;c++,b>>>=1)if(b&1&&0!==a.ra[2*c])return 0;if(0!==a.ra[18]||0!==a.ra[20]||0!==a.ra[26])return 1;for(c=32;256>c;c++)if(0!==a.ra[2*c])return 1;return 0} var Tj=!1;function Uj(a,b,c){a.X[a.Bb+2*a.ya]=b>>>8&255;a.X[a.Bb+2*a.ya+1]=b&255;a.X[a.Ec+a.ya]=c&255;a.ya++;0===b?a.ra[2*c]++:(a.matches++,b--,a.ra[2*(wj[c]+256+1)]++,a.Ya[2*(256>b?vj[b]:vj[256+(b>>>7)])]++);return a.ya===a.Hb-1} ;function Vj(a,b){a.msg=nj[b];return b} function Wj(a){for(var b=a.length;0<=--b;)a[b]=0} function Xj(a){var b=a.state,c=b.pending;c>a.M&&(c=a.M);0!==c&&(M.kb(a.output,b.X,b.Kb,c,a.tb),a.tb+=c,b.Kb+=c,a.Rc+=c,a.M-=c,b.pending-=c,0===b.pending&&(b.Kb=0))} function Yj(a,b){var c=0<=a.ta?a.ta:-1,d=a.o-a.ta,e=0;if(0>>3;var g=a.wb+3+7>>>3;g<=f&&(f=g)}else f=g=d+5;if(d+4<=f&&-1!==c)Fj(a,b?1:0,3),Lj(a,c,d);else if(4===a.strategy||g===f)Fj(a,2+(b?1:0),3),Oj(a,tj,uj);else{Fj(a,4+(b?1:0),3);c=a.fc.sb+1;d=a.Zb.sb+1;e+=1;Fj(a,c-257,5);Fj(a,d-1,5);Fj(a,e-4,4);for(f=0;f>>8&255;a.X[a.pending++]=b&255} function ak(a,b){var c=a.qd,d=a.o,e=a.wa,f=a.rd,g=a.o>a.ka-262?a.o-(a.ka-262):0,h=a.window,k=a.Ua,l=a.Ga,n=a.o+258,p=h[d+e-1],r=h[d+e];a.wa>=a.kd&&(c>>=2);f>a.u&&(f=a.u);do{var t=b;if(h[t+e]===r&&h[t+e-1]===p&&h[t]===h[d]&&h[++t]===h[d+1]){d+=2;for(t++;h[++d]===h[++t]&&h[++d]===h[++t]&&h[++d]===h[++t]&&h[++d]===h[++t]&&h[++d]===h[++t]&&h[++d]===h[++t]&&h[++d]===h[++t]&&h[++d]===h[++t]&&de){a.rb=b;e=t;if(t>=f)break;p=h[d+e-1];r=h[d+e]}}}while((b=l[b&k])>g&&0!==--c);return e<= a.u?e:a.u} function bk(a){var b=a.ka,c;do{var d=a.Ld-a.u-a.o;if(a.o>=b+(b-262)){M.kb(a.window,a.window,b,b,0);a.rb-=b;a.o-=b;a.ta-=b;var e=c=a.ec;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.Ga[--e],a.Ga[e]=f>=b?f-b:0;while(--c);d+=b}if(0===a.I.la)break;e=a.I;c=a.window;f=a.o+a.u;var g=e.la;g>d&&(g=d);0===g?c=0:(e.la-=g,M.kb(c,e.input,e.eb,g,f),1===e.state.wrap?e.H=hj(e.H,c,g,f):2===e.state.wrap&&(e.H=ij(e.H,c,g,f)),e.eb+=g,e.hb+=g,c=g);a.u+=c;if(3<=a.u+a.sa)for(d=a.o-a.sa,a.J=a.window[d], a.J=(a.J<a.u+a.sa););}while(262>a.u&&0!==a.I.la)} function ck(a,b){for(var c;;){if(262>a.u){bk(a);if(262>a.u&&0===b)return 1;if(0===a.u)break}c=0;3<=a.u&&(a.J=(a.J<a.o?a.o:2;return 4===b?(Yj(a,!0),0===a.I.M?3:4):a.ya&&(Yj(a,!1),0===a.I.M)?1:2} function dk(a,b){for(var c,d;;){if(262>a.u){bk(a);if(262>a.u&&0===b)return 1;if(0===a.u)break}c=0;3<=a.u&&(a.J=(a.J<=a.P&&(1===a.strategy||3===a.P&&4096a.o?a.o:2;return 4===b?(Yj(a,!0),0===a.I.M?3:4):a.ya&&(Yj(a,!1),0===a.I.M)?1:2} function ek(a,b){for(var c,d,e,f=a.window;;){if(258>=a.u){bk(a);if(258>=a.u&&0===b)return 1;if(0===a.u)break}a.P=0;if(3<=a.u&&0a.u&&(a.P=a.u)}3<=a.P?(c=Uj(a,1,a.P-3),a.u-=a.P,a.o+=a.P,a.P=0):(c=Uj(a,0,a.window[a.o]),a.u--,a.o++);if(c&&(Yj(a,!1),0===a.I.M))return 1}a.sa=0;return 4===b?(Yj(a,!0),0===a.I.M?3:4): a.ya&&(Yj(a,!1),0===a.I.M)?1:2} function fk(a,b){for(var c;;){if(0===a.u&&(bk(a),0===a.u)){if(0===b)return 1;break}a.P=0;c=Uj(a,0,a.window[a.o]);a.u--;a.o++;if(c&&(Yj(a,!1),0===a.I.M))return 1}a.sa=0;return 4===b?(Yj(a,!0),0===a.I.M?3:4):a.ya&&(Yj(a,!1),0===a.I.M)?1:2} function gk(a,b,c,d,e){this.ne=a;this.Be=b;this.Fe=c;this.Ae=d;this.je=e} var hk;hk=[new gk(0,0,0,0,function(a,b){var c=65535;for(c>a.za-5&&(c=a.za-5);;){if(1>=a.u){bk(a);if(0===a.u&&0===b)return 1;if(0===a.u)break}a.o+=a.u;a.u=0;var d=a.ta+c;if(0===a.o||a.o>=d)if(a.u=a.o-d,a.o=d,Yj(a,!1),0===a.I.M)return 1;if(a.o-a.ta>=a.ka-262&&(Yj(a,!1),0===a.I.M))return 1}a.sa=0;if(4===b)return Yj(a,!0),0===a.I.M?3:4;a.o>a.ta&&Yj(a,!1);return 1}), new gk(4,4,8,4,ck),new gk(4,5,16,8,ck),new gk(4,6,32,32,ck),new gk(4,4,16,16,dk),new gk(8,16,32,32,dk),new gk(8,16,128,128,dk),new gk(8,32,128,256,dk),new gk(32,128,258,1024,dk),new gk(32,258,258,4096,dk)]; function ik(){this.I=null;this.status=0;this.X=null;this.wrap=this.pending=this.Kb=this.za=0;this.G=null;this.Ca=0;this.method=8;this.pb=-1;this.Ua=this.Uc=this.ka=0;this.window=null;this.Ld=0;this.head=this.Ga=null;this.rd=this.kd=this.strategy=this.level=this.Gc=this.qd=this.wa=this.u=this.rb=this.o=this.bb=this.ud=this.P=this.ta=this.Ka=this.Ja=this.Bc=this.ec=this.J=0;this.ra=new M.Ha(1146);this.Ya=new M.Ha(122);this.ia=new M.Ha(78);Wj(this.ra);Wj(this.Ya);Wj(this.ia);this.Yc=this.Zb=this.fc= null;this.Ia=new M.Ha(16);this.Y=new M.Ha(573);Wj(this.Y);this.nb=this.La=0;this.depth=new M.Ha(573);Wj(this.depth);this.ga=this.ma=this.sa=this.matches=this.wb=this.Na=this.Bb=this.ya=this.Hb=this.Ec=0} function jk(a,b){if(!a||!a.state||5b)return a?Vj(a,-2):-2;var c=a.state;if(!a.output||!a.input&&0!==a.la||666===c.status&&4!==b)return Vj(a,0===a.M?-5:-2);c.I=a;var d=c.pb;c.pb=b;if(42===c.status)if(2===c.wrap)a.H=0,P(c,31),P(c,139),P(c,8),c.G?(P(c,(c.G.text?1:0)+(c.G.Pa?2:0)+(c.G.extra?4:0)+(c.G.name?8:0)+(c.G.comment?16:0)),P(c,c.G.time&255),P(c,c.G.time>>8&255),P(c,c.G.time>>16&255),P(c,c.G.time>>24&255),P(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),P(c,c.G.os&255),c.G.extra&&c.G.extra.length&& (P(c,c.G.extra.length&255),P(c,c.G.extra.length>>8&255)),c.G.Pa&&(a.H=ij(a.H,c.X,c.pending,0)),c.Ca=0,c.status=69):(P(c,0),P(c,0),P(c,0),P(c,0),P(c,0),P(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),P(c,3),c.status=113);else{var e=8+(c.Uc-8<<4)<<8;e|=(2<=c.strategy||2>c.level?0:6>c.level?1:6===c.level?2:3)<<6;0!==c.o&&(e|=32);c.status=113;Zj(c,e+(31-e%31));0!==c.o&&(Zj(c,a.H>>>16),Zj(c,a.H&65535));a.H=1}if(69===c.status)if(c.G.extra){for(e=c.pending;c.Ca<(c.G.extra.length&65535)&&(c.pending!==c.za|| (c.G.Pa&&c.pending>e&&(a.H=ij(a.H,c.X,c.pending-e,e)),Xj(a),e=c.pending,c.pending!==c.za));)P(c,c.G.extra[c.Ca]&255),c.Ca++;c.G.Pa&&c.pending>e&&(a.H=ij(a.H,c.X,c.pending-e,e));c.Ca===c.G.extra.length&&(c.Ca=0,c.status=73)}else c.status=73;if(73===c.status)if(c.G.name){e=c.pending;do{if(c.pending===c.za&&(c.G.Pa&&c.pending>e&&(a.H=ij(a.H,c.X,c.pending-e,e)),Xj(a),e=c.pending,c.pending===c.za)){var f=1;break}f=c.Ca e&&(a.H=ij(a.H,c.X,c.pending-e,e));0===f&&(c.Ca=0,c.status=91)}else c.status=91;if(91===c.status)if(c.G.comment){e=c.pending;do{if(c.pending===c.za&&(c.G.Pa&&c.pending>e&&(a.H=ij(a.H,c.X,c.pending-e,e)),Xj(a),e=c.pending,c.pending===c.za)){f=1;break}f=c.Cae&&(a.H=ij(a.H,c.X,c.pending-e,e));0===f&&(c.status=103)}else c.status=103;103===c.status&&(c.G.Pa?(c.pending+2>c.za&&Xj(a),c.pending+2<=c.za&&(P(c,a.H& 255),P(c,a.H>>8&255),a.H=0,c.status=113)):c.status=113);if(0!==c.pending){if(Xj(a),0===a.M)return c.pb=-1,0}else if(0===a.la&&(b<<1)-(4>=8,c.ga-=8)):5!==b&&(Fj(c,0,3),Lj(c,0,0),3===b&&(Wj(c.head),0===c.u&&(c.o=0,c.ta=0,c.sa=0))),Xj(a),0===a.M))return c.pb=-1,0}if(4!==b)return 0;if(0>=c.wrap)return 1;2===c.wrap?(P(c,a.H&255),P(c,a.H>>8&255),P(c,a.H>>16&255),P(c,a.H>>24&255),P(c,a.hb&255),P(c,a.hb>>8&255),P(c,a.hb>>16&255),P(c,a.hb>>24&255)):(Zj(c,a.H>>>16),Zj(c,a.H&65535));Xj(a);0a.windowBits&&(a.windowBits+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.I=new kk;this.I.M=0;var b=this.I;var c=a.level,d=a.method,e=a.windowBits,f=a.memLevel,g=a.strategy;if(b){var h=1;-1===c&&(c=6);0>e?(h=0,e=-e):15f||9< f||8!==d||8>e||15c||9g||4c.wrap&&(c.wrap=-c.wrap);c.status=c.wrap?42:113;b.H=2===c.wrap? 0:1;c.pb=0;if(!Tj){d=Array(16);for(f=g=0;28>f;f++)for(xj[f]=g,e=0;e<1<f;f++)for(yj[f]=g,e=0;e<1<>=7;30>f;f++)for(yj[f]=g<<7,e=0;e<1<=e;e++)d[e]=0;for(e=0;143>=e;)tj[2*e+1]=8,e++,d[8]++;for(;255>=e;)tj[2*e+1]=9,e++,d[9]++;for(;279>=e;)tj[2*e+1]=7,e++,d[7]++;for(;287>=e;)tj[2*e+1]=8,e++,d[8]++;Ij(tj,287,d);for(e=0;30>e;e++)uj[2*e+1]=5,uj[2*e]=Hj(e,5);Aj=new zj(tj,pj,257,286,15);Bj=new zj(uj, qj,0,30,15);Cj=new zj([],rj,0,19,7);Tj=!0}c.fc=new Dj(c.ra,Aj);c.Zb=new Dj(c.Ya,Bj);c.Yc=new Dj(c.ia,Cj);c.ma=0;c.ga=0;Jj(c);c=0}else c=Vj(b,-2);0===c&&(b=b.state,b.Ld=2*b.ka,Wj(b.head),b.Gc=hk[b.level].Be,b.kd=hk[b.level].ne,b.rd=hk[b.level].Fe,b.qd=hk[b.level].Ae,b.o=0,b.ta=0,b.u=0,b.sa=0,b.P=b.wa=2,b.bb=0,b.J=0);b=c}}else b=-2;if(0!==b)throw Error(nj[b]);a.header&&(b=this.I)&&b.state&&2===b.state.wrap&&(b.state.G=a.header);if(a.dictionary){var l;"string"===typeof a.dictionary?l=gj(a.dictionary): "[object ArrayBuffer]"===lk.call(a.dictionary)?l=new Uint8Array(a.dictionary):l=a.dictionary;a=this.I;f=l;g=f.length;if(a&&a.state)if(l=a.state,b=l.wrap,2===b||1===b&&42!==l.status||l.u)b=-2;else{1===b&&(a.H=hj(a.H,f,g,0));l.wrap=0;g>=l.ka&&(0===b&&(Wj(l.head),l.o=0,l.ta=0,l.sa=0),c=new M.ib(l.ka),M.kb(c,f,g-l.ka,l.ka,0),f=c,g=l.ka);c=a.la;d=a.eb;e=a.input;a.la=g;a.eb=0;a.input=f;for(bk(l);3<=l.u;){f=l.o;g=l.u-2;do l.J=(l.J<f&&(b.subarray&&fj||!b.subarray))b= String.fromCharCode.apply(null,M.Qc(b,f));else{for(var g="",h=0;hk.status,r=500<=k.status&&600>k.status;if(l||p||r)n=yl(a,c,k,b.convertToSafeHtml);l&&(l=zl(c,k,n));n=n||{};p=b.context||C;l?b.onSuccess&&b.onSuccess.call(p,k,n):b.onError&&b.onError.call(p,k,n);b.onFinish&&b.onFinish.call(p,k,n)}},b.method,d,b.headers,b.responseType,b.withCredentials); d=b.timeout||0;if(b.onTimeout&&0>3;switch(e&7){case 0:e=Ll(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=Ll(b);if(2===f)return a.substr(d,e);d+=e;break;case 5:if(2===f)return;d+=4;break;default:return}}while(db)return c;b=a();c|=(b&127)<<7;if(128>b)return c;b=a();c|=(b&127)<<14;if(128>b)return c;b=a();return 128>b?c|(b&127)<<21:Infinity} ;function Ml(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;d=a.l;b--)if(0d?a.l:d;if(!(Za()>=b)){do{a:{c=a;f=d;for(e=3;e>=f;e--)for(var g=c.i[e];g.length;){var h=g.shift(),k=c.j[h];delete c.j[h];if(k){c=k;break a}}c=null}c&&tm(a,c)}while(c&&Za()a)b.qa(-a);else{var c=Cm[a];c?(b.qa(c),delete Cm[a]):window.clearTimeout(a)}} function Mm(){Nm()} function Nm(){window.clearTimeout(Em);Gm().start()} function Om(){Gm().pause();window.clearTimeout(Em);Em=window.setTimeout(Mm,Dm)} function Pm(){window.clearTimeout(Fm);Fm=window.setTimeout(function(){Qm(0)},Dm)} function Qm(a){Pm();var b=Gm();b.l=a;b.start()} function Rm(a){Pm();var b=Gm();b.l>a&&(b.l=a,b.start())} function Sm(){window.clearTimeout(Fm);var a=Gm();a.l=0;a.start()} ;function Tm(){nm.apply(this,arguments)} w(Tm,nm);function Um(){Tm.h||(Tm.h=new Tm);return Tm.h} Tm.prototype.Xa=function(a,b,c){void 0!==c&&Number.isNaN(Number(c))&&(c=void 0);var d=E("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):jl(a,c||0)}; Tm.prototype.qa=function(a){if(void 0===a||!Number.isNaN(Number(a))){var b=E("yt.scheduler.instance.cancelJob");b?b(a):window.clearTimeout(a)}}; Tm.prototype.start=function(){var a=E("yt.scheduler.instance.start");a&&a()}; Tm.prototype.pause=function(){var a=E("yt.scheduler.instance.pause");a&&a()}; var Bi=Um(); T("web_scheduler_auto_init")&&!E("yt.scheduler.initialized")&&(D("yt.scheduler.instance.dispose",Hm),D("yt.scheduler.instance.addJob",Jm),D("yt.scheduler.instance.addImmediateJob",Km),D("yt.scheduler.instance.cancelJob",Lm),D("yt.scheduler.instance.cancelAllJobs",Im),D("yt.scheduler.instance.start",Nm),D("yt.scheduler.instance.pause",Om),D("yt.scheduler.instance.setPriorityThreshold",Qm),D("yt.scheduler.instance.enablePriorityThreshold",Rm),D("yt.scheduler.instance.clearPriorityThreshold",Sm),D("yt.scheduler.initialized", !0));function Vm(a){var b=new aj;this.h=(a=b.isAvailable()?a?new bj(b,a):b:null)?new Wi(a):null;this.i=document.domain||window.location.hostname} Vm.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.h)try{this.h.set(a,b,Date.now()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape((new Nh).serialize(b))}catch(f){return}else e=escape(b);Vl(a,e,c,this.i)}; Vm.prototype.get=function(a,b){var c=void 0,d=!this.h;if(!d)try{c=this.h.get(a)}catch(e){d=!0}if(d&&(c=Wl(a))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; Vm.prototype.remove=function(a){this.h&&this.h.remove(a);Xl(a,"/",this.i)};var Wm=function(){var a;return function(){a||(a=new Vm("ytidb"));return a}}(); function Xm(){var a;return null==(a=Wm())?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)} ;var Ym=[],Zm,$m=!1;function an(){var a={};for(Zm=new bn(void 0===a.handleError?cn:a.handleError,void 0===a.logEvent?dn:a.logEvent);0=f)Qn(a,k,t,g,x,b.join(),e),h=x;y.B(2);break;case 4:return y.return(Promise.reject(h))}})} function Qn(a,b,c,d,e,f,g){b=c-b;e?(e instanceof rn&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&fn("QUOTA_EXCEEDED",{dbName:hn(a.h.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:g.mode}),e instanceof rn&&"UNKNOWN_ABORT"===e.type&&(c-=a.j,0>c&&c>=Math.pow(2,31)&&(c=0),fn("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.i=!0),Rn(a,!1,d,f,b,g.tag),en(e)):Rn(a,!0,d,f,b,g.tag)} function Rn(a,b,c,d,e,f){fn("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.i,duration:e,isSuccessful:b,tryCount:c,tag:void 0===f?"IDB_TRANSACTION_TAG_UNKNOWN":f})} m.getName=function(){return this.h.name}; function Mn(a){this.h=a} m=Mn.prototype;m.add=function(a,b){return Gn(this.h.add(a,b))}; m.autoIncrement=function(){return this.h.autoIncrement}; m.clear=function(){return Gn(this.h.clear()).then(function(){})}; function Sn(a,b,c){a.h.createIndex(b,c,{unique:!1})} m.count=function(a){return Gn(this.h.count(a))}; function Tn(a,b){return Un(a,{query:b},function(c){return c.delete().then(function(){return Vn(c)})}).then(function(){})} m.delete=function(a){return a instanceof IDBKeyRange?Tn(this,a):Gn(this.h.delete(a))}; m.get=function(a){return Gn(this.h.get(a))}; m.index=function(a){try{return new Wn(this.h.index(a))}catch(b){if(b instanceof Error&&"NotFoundError"===b.name)throw new tn(a,this.h.name);throw b;}}; m.getName=function(){return this.h.name}; m.keyPath=function(){return this.h.keyPath}; function Un(a,b,c){a=a.h.openCursor(b.query,b.direction);return Xn(a).then(function(d){return Hn(d,c)})} function On(a){var b=this;this.h=a;this.i=new Map;this.aborted=!1;this.done=new Promise(function(c,d){b.h.addEventListener("complete",function(){c()}); b.h.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.h.error)}); b.h.addEventListener("abort",function(){var e=b.h.error;if(e)d(e);else if(!b.aborted){e=rn;for(var f=b.h.objectStoreNames,g=[],h=0;h=y},z); z.done.catch(function(y){e(y)})}catch(y){e(y)}}); g.addEventListener("success",function(){var t=g.result;k&&t.addEventListener("versionchange",function(){k(f())}); t.addEventListener("close",function(){fn("IDB_UNEXPECTEDLY_CLOSED",{dbName:hn(a),dbVersion:t.version});l&&l()}); d(f())}); g.addEventListener("error",function(){e(g.error)}); h&&g.addEventListener("blocked",function(){h()})})} function ao(a,b,c){c=void 0===c?{}:c;return $n(a,b,c)} function bo(a,b){b=void 0===b?{}:b;var c,d,e,f;return A(function(g){if(1==g.h)return Aa(g,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.Td)&&c.addEventListener("blocked",function(){e()}),g.yield(Fn(c),4); if(2!=g.h)g.h=0,g.l=0;else throw f=Ba(g),vn(f,a,"",-1);})} ;function co(a,b){this.name=a;this.options=b;this.j=!0;this.A=this.l=0} co.prototype.i=function(a,b,c){c=void 0===c?{}:c;return ao(a,b,c)}; co.prototype.delete=function(a){a=void 0===a?{}:a;return bo(this.name,a)}; function eo(a,b){return new rn("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})} function fo(a,b){if(!b)throw wn("openWithToken",hn(a.name));return a.open()} co.prototype.open=function(){function a(){var f,g,h,k,l,n,p,r,t,x;return A(function(z){switch(z.h){case 1:return g=null!=(f=Error().stack)?f:"",Aa(z,2),z.yield(c.i(c.name,c.options.version,e),4);case 4:for(var y=h=z.i,K=c.options,G=[],R=v(Object.keys(K.ub)),N=R.next();!N.done;N=R.next()){N=N.value;var da=K.ub[N],Ea=void 0===da.Ne?Number.MAX_VALUE:da.Ne;!(y.h.version>=da.Ab)||y.h.version>=Ea||y.h.objectStoreNames.contains(N)||G.push(N)}k=G;if(0===k.length){z.B(5);break}l=Object.keys(c.options.ub); n=h.objectStoreNames();if(c.Ac.options.version+1)throw r.close(),c.j=!1,eo(c,t);return z.return(r);case 8:throw b(),p instanceof Error&&!T("ytidb_async_stack_killswitch")&&(p.stack=p.stack+"\n"+g.substring(g.indexOf("\n")+1)),vn(p,c.name,"",null!=(x=c.options.version)?x:-1);}})} function b(){c.h===d&&(c.h=void 0)} var c=this;if(!this.j)throw eo(this);if(this.h)return this.h;var d,e={blocking:function(f){f.close()}, closed:b,jf:b,upgrade:this.options.upgrade};return this.h=d=a()};var go=new co("YtIdbMeta",{ub:{databases:{Ab:1}},upgrade:function(a,b){b(1)&&Ln(a,"databases",{keyPath:"actualName"})}}); function ho(a,b){var c;return A(function(d){if(1==d.h)return d.yield(fo(go,b),2);c=d.i;return d.return(Kn(c,["databases"],{ja:!0,mode:"readwrite"},function(e){var f=e.objectStore("databases");return f.get(a.actualName).then(function(g){if(g?a.actualName!==g.actualName||a.publicName!==g.publicName||a.userIdentifier!==g.userIdentifier:1)return Gn(f.h.put(a,void 0)).then(function(){})})}))})} function io(a,b){var c;return A(function(d){if(1==d.h)return a?d.yield(fo(go,b),2):d.return();c=d.i;return d.return(c.delete("databases",a))})} function jo(a,b){var c,d;return A(function(e){return 1==e.h?(c=[],e.yield(fo(go,b),2)):3!=e.h?(d=e.i,e.yield(Kn(d,["databases"],{ja:!0,mode:"readonly"},function(f){c.length=0;return Un(f.objectStore("databases"),{},function(g){a(g.getValue())&&c.push(g.getValue());return Vn(g)})}),3)):e.return(c)})} function ko(a){return jo(function(b){return"LogsDatabaseV2"===b.publicName&&void 0!==b.userIdentifier},a)} function lo(a,b,c){return jo(function(d){return c?void 0!==d.userIdentifier&&!a.includes(d.userIdentifier)&&c.includes(d.publicName):void 0!==d.userIdentifier&&!a.includes(d.userIdentifier)},b)} function mo(a){var b,c;return A(function(d){if(1==d.h)return b=mm("YtIdbMeta hasAnyMeta other"),d.yield(jo(function(e){return void 0!==e.userIdentifier&&e.userIdentifier!==b},a),2); c=d.i;return d.return(0e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}a=new Uint8Array(b.length);for(c=0;crp||g=wp&&(up++,T("abandon_compression_after_N_slow_zips")?vp===U("compression_disable_point")&&up>xp&&(tp=!1):tp=!1);Gp(b);d.headers||(d.headers={});d.headers["Content-Encoding"]="gzip";d.postBody=a;d.postParams=void 0;e(c,d)} function Hp(a){var b=void 0===b?!1:b;var c=void 0===c?!1:c;var d=W(),e={startTime:d,ticks:{},infos:{}},f=b?E("yt.logging.gzipForFetch",!1):!0;if(tp&&f){if(!a.body)return a;try{var g=c?a.body:"string"===typeof a.body?a.body:JSON.stringify(a.body);f=g;if(!c&&"string"===typeof g){var h=Fp(g);if(null!=h&&(h>rp||h=wp)if(up++,T("abandon_compression_after_N_slow_zips")||T("abandon_compression_after_N_slow_zips_lr")){b=up/vp;var l=xp/U("compression_disable_point");0=l&&(tp=!1)}else tp=!1;Gp(e)}}a.headers=Object.assign({},{"Content-Encoding":"gzip"},a.headers||{});a.body=f;return a}catch(n){return Uk(n),a}}else return a} function Fp(a){try{return(new Blob(a.split(""))).size}catch(b){return Uk(b),null}} function Gp(a){T("gel_compression_csi_killswitch")||!T("log_gel_compression_latency")&&!T("log_gel_compression_latency_lr")||mp("gel_compression",a,{sampleRate:.1})} ;function Ip(a){a=Object.assign({},a);delete a.Authorization;var b=ch();if(b){var c=new Fi;c.update(S("INNERTUBE_API_KEY"));c.update(b);a.hash=Ge(c.digest(),3)}return a} ;var Jp;function Kp(){Jp||(Jp=new Vm("yt.innertube"));return Jp} function Lp(a,b,c,d){if(d)return null;d=Kp().get("nextId",!0)||1;var e=Kp().get("requests",!0)||{};e[d]={method:a,request:b,authState:Ip(c),requestTime:Math.round(W())};Kp().set("nextId",d+1,86400,!0);Kp().set("requests",e,86400,!0);return d} function Mp(a){var b=Kp().get("requests",!0)||{};delete b[a];Kp().set("requests",b,86400,!0)} function Np(a){var b=Kp().get("requests",!0);if(b){for(var c in b){var d=b[c];if(!(6E4>Math.round(W())-d.requestTime)){var e=d.authState,f=Ip(Xo(!1));Qb(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(W())),Op(a,d.method,e,{}));delete b[c]}}Kp().set("requests",b,86400,!0)}} ;function Pp(a){this.Vb=this.h=!1;this.potentialEsfErrorCounter=this.i=0;this.handleError=function(){}; this.mb=function(){}; this.now=Date.now;this.Db=!1;var b;this.Gd=null!=(b=a.Gd)?b:100;var c;this.Ad=null!=(c=a.Ad)?c:1;var d;this.xd=null!=(d=a.xd)?d:2592E6;var e;this.vd=null!=(e=a.vd)?e:12E4;var f;this.zd=null!=(f=a.zd)?f:5E3;var g;this.V=null!=(g=a.V)?g:void 0;this.ac=!!a.ac;var h;this.Yb=null!=(h=a.Yb)?h:.1;var k;this.kc=null!=(k=a.kc)?k:10;a.handleError&&(this.handleError=a.handleError);a.mb&&(this.mb=a.mb);a.Db&&(this.Db=a.Db);a.Vb&&(this.Vb=a.Vb);this.W=a.W;this.Da=a.Da;this.ea=a.ea;this.ba=a.ba;this.sendFn=a.sendFn; this.Nc=a.Nc;this.Kc=a.Kc;Qp(this)&&(!this.W||this.W("networkless_logging"))&&Rp(this)} function Rp(a){Qp(a)&&!a.Db&&(a.h=!0,a.ac&&Math.random()<=a.Yb&&a.ea.Vd(a.V),Sp(a),a.ba.va()&&a.Ob(),a.ba.listen(a.Nc,a.Ob.bind(a)),a.ba.listen(a.Kc,a.Zc.bind(a)))} m=Pp.prototype;m.writeThenSend=function(a,b){var c=this;b=void 0===b?{}:b;if(Qp(this)&&this.h){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.ea.set(d,this.V).then(function(e){d.id=e;c.ba.va()&&Tp(c,d)}).catch(function(e){Tp(c,d); Up(c,e)})}else this.sendFn(a,b)}; m.sendThenWrite=function(a,b,c){var d=this;b=void 0===b?{}:b;if(Qp(this)&&this.h){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.W&&this.W("nwl_skip_retry")&&(e.skipRetry=c);if(this.ba.va()||this.W&&this.W("nwl_aggressive_send_then_write")&&!e.skipRetry){if(!e.skipRetry){var f=b.onError?b.onError:function(){}; b.onError=function(g,h){return A(function(k){if(1==k.h)return k.yield(d.ea.set(e,d.V).catch(function(l){Up(d,l)}),2); f(g,h);k.h=0})}}this.sendFn(a,b,e.skipRetry)}else this.ea.set(e,this.V).catch(function(g){d.sendFn(a,b,e.skipRetry); Up(d,g)})}else this.sendFn(a,b,this.W&&this.W("nwl_skip_retry")&&c)}; m.sendAndWrite=function(a,b){var c=this;b=void 0===b?{}:b;if(Qp(this)&&this.h){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0},e=!1,f=b.onSuccess?b.onSuccess:function(){}; d.options.onSuccess=function(g,h){void 0!==d.id?c.ea.lb(d.id,c.V):e=!0;c.ba.cb&&c.W&&c.W("vss_network_hint")&&c.ba.cb(!0);f(g,h)}; this.sendFn(d.url,d.options,void 0,!0);this.ea.set(d,this.V).then(function(g){d.id=g;e&&c.ea.lb(d.id,c.V)}).catch(function(g){Up(c,g)})}else this.sendFn(a,b,void 0,!0)}; m.Ob=function(){var a=this;if(!Qp(this))throw Error("IndexedDB is not supported: throttleSend");this.i||(this.i=this.Da.pa(function(){var b;return A(function(c){if(1==c.h)return c.yield(a.ea.jd("NEW",a.V),2);if(3!=c.h)return b=c.i,b?c.yield(Tp(a,b),3):(a.Zc(),c.return());a.i&&(a.i=0,a.Ob());c.h=0})},this.Gd))}; m.Zc=function(){this.Da.qa(this.i);this.i=0}; function Tp(a,b){var c;return A(function(d){switch(d.h){case 1:if(!Qp(a))throw Error("IndexedDB is not supported: immediateSend");if(void 0===b.id){d.B(2);break}return d.yield(a.ea.ze(b.id,a.V),3);case 3:(c=d.i)||a.mb(Error("The request cannot be found in the database."));case 2:if(Vp(a,b,a.xd)){d.B(4);break}a.mb(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===b.id){d.B(5);break}return d.yield(a.ea.lb(b.id,a.V),5);case 5:return d.return();case 4:b.skipRetry||(b=Wp(a, b));if(!b){d.B(0);break}if(!b.skipRetry||void 0===b.id){d.B(8);break}return d.yield(a.ea.lb(b.id,a.V),8);case 8:a.sendFn(b.url,b.options,!!b.skipRetry),d.h=0}})} function Wp(a,b){if(!Qp(a))throw Error("IndexedDB is not supported: updateRequestHandlers");var c=b.options.onError?b.options.onError:function(){}; b.options.onError=function(e,f){var g,h,k,l;return A(function(n){switch(n.h){case 1:g=Xp(f);(h=Yp(f))&&a.W&&a.W("web_enable_error_204")&&a.handleError(Error("Request failed due to compression"),b.url,f);if(!(a.W&&a.W("nwl_consider_error_code")&&g||a.W&&!a.W("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.kc)){n.B(2);break}if(!a.ba.nc){n.B(3);break}return n.yield(a.ba.nc(),3);case 3:if(a.ba.va()){n.B(2);break}c(e,f);if(!a.W||!a.W("nwl_consider_error_code")||void 0===(null==(k=b)?void 0:k.id)){n.B(6); break}return n.yield(a.ea.Oc(b.id,a.V,!1),6);case 6:return n.return();case 2:if(a.W&&a.W("nwl_consider_error_code")&&!g&&a.potentialEsfErrorCounter>a.kc)return n.return();a.potentialEsfErrorCounter++;if(void 0===(null==(l=b)?void 0:l.id)){n.B(8);break}return b.sendCount=c?!1:!0} function Sp(a){if(!Qp(a))throw Error("IndexedDB is not supported: retryQueuedRequests");a.ea.jd("QUEUED",a.V).then(function(b){b&&!Vp(a,b,a.vd)?a.Da.pa(function(){return A(function(c){if(1==c.h)return void 0===b.id?c.B(2):c.yield(a.ea.Oc(b.id,a.V),2);Sp(a);c.h=0})}):a.ba.va()&&a.Ob()})} function Up(a,b){a.Md&&!a.ba.va()?a.Md(b):a.handleError(b)} function Qp(a){return!!a.V||a.Vb} function Xp(a){var b;return(a=null==a?void 0:null==(b=a.error)?void 0:b.code)&&400<=a&&599>=a?!1:!0} function Yp(a){var b;a=null==a?void 0:null==(b=a.error)?void 0:b.code;return!(400!==a&&415!==a)} ;var Zp; function $p(){if(Zp)return Zp();var a={};Zp=Go("LogsDatabaseV2",{ub:(a.LogsRequestsStore={Ab:2},a),shared:!1,upgrade:function(b,c,d){c(2)&&Ln(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.h.indexNames.contains("newRequest")&&d.h.deleteIndex("newRequest"),Sn(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&b.h.objectStoreNames.contains("sapisid")&&b.h.deleteObjectStore("sapisid");c(9)&&b.h.objectStoreNames.contains("SWHealthLog")&&b.h.deleteObjectStore("SWHealthLog")}, version:9});return Zp()} ;function aq(a){return fo($p(),a)} function bq(a,b){var c,d,e,f;return A(function(g){if(1==g.h)return c={startTime:W(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},ticks:{}},g.yield(aq(b),2);if(3!=g.h)return d=g.i,e=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:S("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),g.yield(Nn(d,"LogsRequestsStore",e),3);f=g.i;c.ticks.tc=W();cq(c);return g.return(f)})} function dq(a,b){var c,d,e,f,g,h,k,l;return A(function(n){if(1==n.h)return c={startTime:W(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},ticks:{}},n.yield(aq(b),2);if(3!=n.h)return d=n.i,e=S("INNERTUBE_CONTEXT_CLIENT_NAME",0),f=[a,e,0],g=[a,e,W()],h=IDBKeyRange.bound(f,g),k="prev",T("use_fifo_for_networkless")&&(k="next"),l=void 0,n.yield(Kn(d,["LogsRequestsStore"],{mode:"readwrite",ja:!0},function(p){return Yn(p.objectStore("LogsRequestsStore").index("newRequestV2"),{query:h,direction:k}, function(r){r.getValue()&&(l=r.getValue(),"NEW"===a&&(l.status="QUEUED",r.update(l)))})}),3); c.ticks.tc=W();cq(c);return n.return(l)})} function eq(a,b){var c;return A(function(d){if(1==d.h)return d.yield(aq(b),2);c=d.i;return d.return(Kn(c,["LogsRequestsStore"],{mode:"readwrite",ja:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(g){if(g)return g.status="QUEUED",Gn(f.h.put(g,void 0)).then(function(){return g})})}))})} function fq(a,b,c,d){c=void 0===c?!0:c;var e;return A(function(f){if(1==f.h)return f.yield(aq(b),2);e=f.i;return f.return(Kn(e,["LogsRequestsStore"],{mode:"readwrite",ja:!0},function(g){var h=g.objectStore("LogsRequestsStore");return h.get(a).then(function(k){return k?(k.status="NEW",c&&(k.sendCount+=1),void 0!==d&&(k.options.compress=d),Gn(h.h.put(k,void 0)).then(function(){return k})):An.resolve(void 0)})}))})} function gq(a,b){var c;return A(function(d){if(1==d.h)return d.yield(aq(b),2);c=d.i;return d.return(c.delete("LogsRequestsStore",a))})} function hq(a){var b,c;return A(function(d){if(1==d.h)return d.yield(aq(a),2);b=d.i;c=W()-2592E6;return d.yield(Kn(b,["LogsRequestsStore"],{mode:"readwrite",ja:!0},function(e){return Un(e.objectStore("LogsRequestsStore"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return Vn(f)})})}),0)})} function iq(){A(function(a){return a.yield(Co(),0)})} function cq(a){T("nwl_csi_killswitch")||mp("networkless_performance",a,{sampleRate:1})} ;var jq={accountStateChangeSignedIn:23,accountStateChangeSignedOut:24,delayedEventMetricCaptured:11,latencyActionBaselined:6,latencyActionInfo:7,latencyActionTicked:5,offlineTransferStatusChanged:2,offlineImageDownload:335,playbackStartStateChanged:9,systemHealthCaptured:3,mangoOnboardingCompleted:10,mangoPushNotificationReceived:230,mangoUnforkDbMigrationError:121,mangoUnforkDbMigrationSummary:122,mangoUnforkDbMigrationPreunforkDbVersionNumber:133,mangoUnforkDbMigrationPhoneMetadata:134,mangoUnforkDbMigrationPhoneStorage:135, mangoUnforkDbMigrationStep:142,mangoAsyncApiMigrationEvent:223,mangoDownloadVideoResult:224,mangoHomepageVideoCount:279,mangoHomeV3State:295,mangoImageClientCacheHitEvent:273,sdCardStatusChanged:98,framesDropped:12,thumbnailHovered:13,deviceRetentionInfoCaptured:14,thumbnailLoaded:15,backToAppEvent:318,streamingStatsCaptured:17,offlineVideoShared:19,appCrashed:20,youThere:21,offlineStateSnapshot:22,mdxSessionStarted:25,mdxSessionConnected:26,mdxSessionDisconnected:27,bedrockResourceConsumptionSnapshot:28, nextGenWatchWatchSwiped:29,kidsAccountsSnapshot:30,zeroStepChannelCreated:31,tvhtml5SearchCompleted:32,offlineSharePairing:34,offlineShareUnlock:35,mdxRouteDistributionSnapshot:36,bedrockRepetitiveActionTimed:37,unpluggedDegradationInfo:229,uploadMp4HeaderMoved:38,uploadVideoTranscoded:39,uploadProcessorStarted:46,uploadProcessorEnded:47,uploadProcessorReady:94,uploadProcessorRequirementPending:95,uploadProcessorInterrupted:96,uploadFrontendEvent:241,assetPackDownloadStarted:41,assetPackDownloaded:42, assetPackApplied:43,assetPackDeleted:44,appInstallAttributionEvent:459,playbackSessionStopped:45,adBlockerMessagingShown:48,distributionChannelCaptured:49,dataPlanCpidRequested:51,detailedNetworkTypeCaptured:52,sendStateUpdated:53,receiveStateUpdated:54,sendDebugStateUpdated:55,receiveDebugStateUpdated:56,kidsErrored:57,mdxMsnSessionStatsFinished:58,appSettingsCaptured:59,mdxWebSocketServerHttpError:60,mdxWebSocketServer:61,startupCrashesDetected:62,coldStartInfo:435,offlinePlaybackStarted:63,liveChatMessageSent:225, liveChatUserPresent:434,liveChatBeingModerated:457,liveCreationCameraUpdated:64,liveCreationEncodingCaptured:65,liveCreationError:66,liveCreationHealthUpdated:67,liveCreationVideoEffectsCaptured:68,liveCreationStageOccured:75,liveCreationBroadcastScheduled:123,liveCreationArchiveReplacement:149,liveCreationCostreamingConnection:421,liveCreationStreamWebrtcStats:288,mdxSessionRecoveryStarted:69,mdxSessionRecoveryCompleted:70,mdxSessionRecoveryStopped:71,visualElementShown:72,visualElementHidden:73, visualElementGestured:78,visualElementStateChanged:208,screenCreated:156,playbackAssociated:202,visualElementAttached:215,playbackContextEvent:214,cloudCastingPlaybackStarted:74,webPlayerApiCalled:76,tvhtml5AccountDialogOpened:79,foregroundHeartbeat:80,foregroundHeartbeatScreenAssociated:111,kidsOfflineSnapshot:81,mdxEncryptionSessionStatsFinished:82,playerRequestCompleted:83,liteSchedulerStatistics:84,mdxSignIn:85,spacecastMetadataLookupRequested:86,spacecastBatchLookupRequested:87,spacecastSummaryRequested:88, spacecastPlayback:89,spacecastDiscovery:90,tvhtml5LaunchUrlComponentChanged:91,mdxBackgroundPlaybackRequestCompleted:92,mdxBrokenAdditionalDataDeviceDetected:93,tvhtml5LocalStorage:97,tvhtml5DeviceStorageStatus:147,autoCaptionsAvailable:99,playbackScrubbingEvent:339,flexyState:100,interfaceOrientationCaptured:101,mainAppBrowseFragmentCache:102,offlineCacheVerificationFailure:103,offlinePlaybackExceptionDigest:217,vrCopresenceStats:104,vrCopresenceSyncStats:130,vrCopresenceCommsStats:137,vrCopresencePartyStats:153, vrCopresenceEmojiStats:213,vrCopresenceEvent:141,vrCopresenceFlowTransitEvent:160,vrCowatchPartyEvent:492,vrPlaybackEvent:345,kidsAgeGateTracking:105,offlineDelayAllowedTracking:106,mainAppAutoOfflineState:107,videoAsThumbnailDownload:108,videoAsThumbnailPlayback:109,liteShowMore:110,renderingError:118,kidsProfilePinGateTracking:119,abrTrajectory:124,scrollEvent:125,streamzIncremented:126,kidsProfileSwitcherTracking:127,kidsProfileCreationTracking:129,buyFlowStarted:136,mbsConnectionInitiated:138, mbsPlaybackInitiated:139,mbsLoadChildren:140,liteProfileFetcher:144,mdxRemoteTransaction:146,reelPlaybackError:148,reachabilityDetectionEvent:150,mobilePlaybackEvent:151,courtsidePlayerStateChanged:152,musicPersistentCacheChecked:154,musicPersistentCacheCleared:155,playbackInterrupted:157,playbackInterruptionResolved:158,fixFopFlow:159,anrDetection:161,backstagePostCreationFlowEnded:162,clientError:163,gamingAccountLinkStatusChanged:164,liteHousewarming:165,buyFlowEvent:167,kidsParentalGateTracking:168, kidsSignedOutSettingsStatus:437,kidsSignedOutPauseHistoryFixStatus:438,tvhtml5WatchdogViolation:444,ypcUpgradeFlow:169,yongleStudy:170,ypcUpdateFlowStarted:171,ypcUpdateFlowCancelled:172,ypcUpdateFlowSucceeded:173,ypcUpdateFlowFailed:174,liteGrowthkitPromo:175,paymentFlowStarted:341,transactionFlowShowPaymentDialog:405,transactionFlowStarted:176,transactionFlowSecondaryDeviceStarted:222,transactionFlowSecondaryDeviceSignedOutStarted:383,transactionFlowCancelled:177,transactionFlowPaymentCallBackReceived:387, transactionFlowPaymentSubmitted:460,transactionFlowPaymentSucceeded:329,transactionFlowSucceeded:178,transactionFlowFailed:179,transactionFlowPlayBillingConnectionStartEvent:428,transactionFlowSecondaryDeviceSuccess:458,transactionFlowErrorEvent:411,liteVideoQualityChanged:180,watchBreakEnablementSettingEvent:181,watchBreakFrequencySettingEvent:182,videoEffectsCameraPerformanceMetrics:183,adNotify:184,startupTelemetry:185,playbackOfflineFallbackUsed:186,outOfMemory:187,ypcPauseFlowStarted:188,ypcPauseFlowCancelled:189, ypcPauseFlowSucceeded:190,ypcPauseFlowFailed:191,uploadFileSelected:192,ypcResumeFlowStarted:193,ypcResumeFlowCancelled:194,ypcResumeFlowSucceeded:195,ypcResumeFlowFailed:196,adsClientStateChange:197,ypcCancelFlowStarted:198,ypcCancelFlowCancelled:199,ypcCancelFlowSucceeded:200,ypcCancelFlowFailed:201,ypcCancelFlowGoToPaymentProcessor:402,ypcDeactivateFlowStarted:320,ypcRedeemFlowStarted:203,ypcRedeemFlowCancelled:204,ypcRedeemFlowSucceeded:205,ypcRedeemFlowFailed:206,ypcFamilyCreateFlowStarted:258, ypcFamilyCreateFlowCancelled:259,ypcFamilyCreateFlowSucceeded:260,ypcFamilyCreateFlowFailed:261,ypcFamilyManageFlowStarted:262,ypcFamilyManageFlowCancelled:263,ypcFamilyManageFlowSucceeded:264,ypcFamilyManageFlowFailed:265,restoreContextEvent:207,embedsAdEvent:327,autoplayTriggered:209,clientDataErrorEvent:210,experimentalVssValidation:211,tvhtml5TriggeredEvent:212,tvhtml5FrameworksFieldTrialResult:216,tvhtml5FrameworksFieldTrialStart:220,musicOfflinePreferences:218,watchTimeSegment:219,appWidthLayoutError:221, accountRegistryChange:226,userMentionAutoCompleteBoxEvent:227,downloadRecommendationEnablementSettingEvent:228,musicPlaybackContentModeChangeEvent:231,offlineDbOpenCompleted:232,kidsFlowEvent:233,kidsFlowCorpusSelectedEvent:234,videoEffectsEvent:235,unpluggedOpsEogAnalyticsEvent:236,playbackAudioRouteEvent:237,interactionLoggingDebugModeError:238,offlineYtbRefreshed:239,kidsFlowError:240,musicAutoplayOnLaunchAttempted:242,deviceContextActivityEvent:243,deviceContextEvent:244,templateResolutionException:245, musicSideloadedPlaylistServiceCalled:246,embedsStorageAccessNotChecked:247,embedsHasStorageAccessResult:248,embedsItpPlayedOnReload:249,embedsRequestStorageAccessResult:250,embedsShouldRequestStorageAccessResult:251,embedsRequestStorageAccessState:256,embedsRequestStorageAccessFailedState:257,embedsItpWatchLaterResult:266,searchSuggestDecodingPayloadFailure:252,siriShortcutActivated:253,tvhtml5KeyboardPerformance:254,latencyActionSpan:255,elementsLog:267,ytbFileOpened:268,tfliteModelError:269,apiTest:270, yongleUsbSetup:271,touStrikeInterstitialEvent:272,liteStreamToSave:274,appBundleClientEvent:275,ytbFileCreationFailed:276,adNotifyFailure:278,ytbTransferFailed:280,blockingRequestFailed:281,liteAccountSelector:282,liteAccountUiCallbacks:283,dummyPayload:284,browseResponseValidationEvent:285,entitiesError:286,musicIosBackgroundFetch:287,mdxNotificationEvent:289,layersValidationError:290,musicPwaInstalled:291,liteAccountCleanup:292,html5PlayerHealthEvent:293,watchRestoreAttempt:294,liteAccountSignIn:296, notaireEvent:298,kidsVoiceSearchEvent:299,adNotifyFilled:300,delayedEventDropped:301,analyticsSearchEvent:302,systemDarkThemeOptOutEvent:303,flowEvent:304,networkConnectivityBaselineEvent:305,ytbFileImported:306,downloadStreamUrlExpired:307,directSignInEvent:308,lyricImpressionEvent:309,accessibilityStateEvent:310,tokenRefreshEvent:311,genericAttestationExecution:312,tvhtml5VideoSeek:313,unpluggedAutoPause:314,scrubbingEvent:315,bedtimeReminderEvent:317,tvhtml5UnexpectedRestart:319,tvhtml5StabilityTraceEvent:478, tvhtml5OperationHealth:467,tvhtml5WatchKeyEvent:321,voiceLanguageChanged:322,tvhtml5LiveChatStatus:323,parentToolsCorpusSelectedEvent:324,offerAdsEnrollmentInitiated:325,networkQualityIntervalEvent:326,deviceStartupMetrics:328,heartbeatActionPlayerTransitioned:330,tvhtml5Lifecycle:331,heartbeatActionPlayerHalted:332,adaptiveInlineMutedSettingEvent:333,mainAppLibraryLoadingState:334,thirdPartyLogMonitoringEvent:336,appShellAssetLoadReport:337,tvhtml5AndroidAttestation:338,tvhtml5StartupSoundEvent:340, iosBackgroundRefreshTask:342,iosBackgroundProcessingTask:343,sliEventBatch:344,postImpressionEvent:346,musicSideloadedPlaylistExport:347,idbUnexpectedlyClosed:348,voiceSearchEvent:349,mdxSessionCastEvent:350,idbQuotaExceeded:351,idbTransactionEnded:352,idbTransactionAborted:353,tvhtml5KeyboardLogging:354,idbIsSupportedCompleted:355,creatorStudioMobileEvent:356,idbDataCorrupted:357,parentToolsAppChosenEvent:358,webViewBottomSheetResized:359,activeStateControllerScrollPerformanceSummary:360,navigatorValidation:361, mdxSessionHeartbeat:362,clientHintsPolyfillDiagnostics:363,clientHintsPolyfillEvent:364,proofOfOriginTokenError:365,kidsAddedAccountSummary:366,musicWearableDevice:367,ypcRefundFlowEvent:368,tvhtml5PlaybackMeasurementEvent:369,tvhtml5WatermarkMeasurementEvent:370,clientExpGcfPropagationEvent:371,mainAppReferrerIntent:372,leaderLockEnded:373,leaderLockAcquired:374,googleHatsEvent:375,persistentLensLaunchEvent:376,parentToolsChildWelcomeChosenEvent:378,browseThumbnailPreloadEvent:379,finalPayload:380, mdxDialAdditionalDataUpdateEvent:381,webOrchestrationTaskLifecycleRecord:382,startupSignalEvent:384,accountError:385,gmsDeviceCheckEvent:386,accountSelectorEvent:388,accountUiCallbacks:389,mdxDialAdditionalDataProbeEvent:390,downloadsSearchIcingApiStats:391,downloadsSearchIndexUpdatedEvent:397,downloadsSearchIndexSnapshot:398,dataPushClientEvent:392,kidsCategorySelectedEvent:393,mdxDeviceManagementSnapshotEvent:394,prefetchRequested:395,prefetchableCommandExecuted:396,gelDebuggingEvent:399,webLinkTtsPlayEnd:400, clipViewInvalid:401,persistentStorageStateChecked:403,cacheWipeoutEvent:404,playerEvent:410,sfvEffectPipelineStartedEvent:412,sfvEffectPipelinePausedEvent:429,sfvEffectPipelineEndedEvent:413,sfvEffectChosenEvent:414,sfvEffectLoadedEvent:415,sfvEffectUserInteractionEvent:465,sfvEffectFirstFrameProcessedLatencyEvent:416,sfvEffectAggregatedFramesProcessedLatencyEvent:417,sfvEffectAggregatedFramesDroppedEvent:418,sfvEffectPipelineErrorEvent:430,sfvEffectGraphFrozenEvent:419,sfvEffectGlThreadBlockedEvent:420, mdeVideoChangedEvent:442,mdePlayerPerformanceMetrics:472,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,offlineTransferStarted:4,musicOfflineMixtapePreferencesChanged:16,mangoDailyNewVideosNotificationAttempt:40,mangoDailyNewVideosNotificationError:77, dtwsPlaybackStarted:112,dtwsTileFetchStarted:113,dtwsTileFetchCompleted:114,dtwsTileFetchStatusChanged:145,dtwsKeyframeDecoderBufferSent:115,dtwsTileUnderflowedOnNonkeyframe:116,dtwsBackfillFetchStatusChanged:143,dtwsBackfillUnderflowed:117,dtwsAdaptiveLevelChanged:128,blockingVisitorIdTimeout:277,liteSocial:18,mobileJsInvocation:297,biscottiBasedDetection:439,coWatchStateChange:440,embedsVideoDataDidChange:441,shortsFirst:443,cruiseControlEvent:445,qoeClientLoggingContext:446,atvRecommendationJobExecuted:447, tvhtml5UserFeedback:448,producerProjectCreated:449,producerProjectOpened:450,producerProjectDeleted:451,producerProjectElementAdded:453,producerProjectElementRemoved:454,tvhtml5ShowClockEvent:455,deviceCapabilityCheckMetrics:456,youtubeClearcutEvent:461,offlineBrowseFallbackEvent:463,getCtvTokenEvent:464,startupDroppedFramesSummary:466,screenshotEvent:468,miniAppPlayEvent:469,elementsDebugCounters:470,fontLoadEvent:471,webKillswitchReceived:473,webKillswitchExecuted:474,cameraOpenEvent:475,manualSmoothnessMeasurement:476, tvhtml5AppQualityEvent:477,polymerPropertyAccessEvent:479,miniAppSdkUsage:480,cobaltTelemetryEvent:481,crossDevicePlayback:482,channelCreatedWithObakeImage:484,channelEditedWithObakeImage:485,offlineDeleteEvent:486,crossDeviceNotificationTransfer:487,androidIntentEvent:488,unpluggedAmbientInterludesCounterfactualEvent:489,keyPlaysPlayback:490,shortsCreationFallbackEvent:493,vssData:491,castMatch:494,miniAppPerformanceMetrics:495,userFeedbackEvent:496};var kq={},lq=Go("ServiceWorkerLogsDatabase",{ub:(kq.SWHealthLog={Ab:1},kq),shared:!0,upgrade:function(a,b){b(1)&&Sn(Ln(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, version:1});function mq(a){return fo(lq(),a)} function nq(a){var b,c;A(function(d){if(1==d.h)return d.yield(mq(a),2);b=d.i;c=W()-2592E6;return d.yield(Kn(b,["SWHealthLog"],{mode:"readwrite",ja:!0},function(e){return Un(e.objectStore("SWHealthLog"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return Vn(f)})})}),0)})} function oq(a){var b;return A(function(c){if(1==c.h)return c.yield(mq(a),2);b=c.i;return c.yield(b.clear("SWHealthLog"),0)})} ;var pq={},qq=0;function rq(a){var b=new Image,c=""+qq++;pq[c]=b;b.onload=b.onerror=function(){delete pq[c]}; b.src=a} ;var sq;function tq(){sq||(sq=new Vm("yt.offline"));return sq} function uq(a){if(T("offline_error_handling")){var b=tq().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);tq().set("errors",b,2592E3,!0)}} ;function vq(){this.h=new Map;this.i=!1} function wq(){if(!vq.h){var a=E("yt.networkRequestMonitor.instance")||new vq;D("yt.networkRequestMonitor.instance",a);vq.h=a}return vq.h} vq.prototype.requestComplete=function(a,b){b&&(this.i=!0);a=this.removeParams(a);this.h.get(a)||this.h.set(a,b)}; vq.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.h.get(a))?!1:!1===a&&this.i?!0:null}; vq.prototype.removeParams=function(a){return a.split("?")[0]}; vq.prototype.removeParams=vq.prototype.removeParams;vq.prototype.isEndpointCFR=vq.prototype.isEndpointCFR;vq.prototype.requestComplete=vq.prototype.requestComplete;vq.getInstance=wq;function xq(){wd.call(this);var a=this;this.j=!1;this.i=Ai();this.i.listen("networkstatus-online",function(){if(a.j&&T("offline_error_handling")){var b=tq().get("errors",!0);if(b){for(var c in b)if(b[c]){var d=new V(c,"sent via offline_errors");d.name=b[c].name;d.stack=b[c].stack;d.level=b[c].level;Tk(d)}tq().set("errors",{},2592E3,!0)}}})} w(xq,wd);function yq(){if(!xq.h){var a=E("yt.networkStatusManager.instance")||new xq;D("yt.networkStatusManager.instance",a);xq.h=a}return xq.h} m=xq.prototype;m.va=function(){return this.i.va()}; m.cb=function(a){this.i.i=a}; m.le=function(){var a=window.navigator.onLine;return void 0===a?!0:a}; m.ae=function(){this.j=!0}; m.listen=function(a,b){return this.i.listen(a,b)}; m.nc=function(a){a=yi(this.i,a);a.then(function(b){T("use_cfr_monitor")&&wq().requestComplete("generate_204",b)}); return a}; xq.prototype.sendNetworkCheckRequest=xq.prototype.nc;xq.prototype.listen=xq.prototype.listen;xq.prototype.enableErrorFlushing=xq.prototype.ae;xq.prototype.getWindowStatus=xq.prototype.le;xq.prototype.networkStatusHint=xq.prototype.cb;xq.prototype.isNetworkAvailable=xq.prototype.va;xq.getInstance=yq;function zq(a){a=void 0===a?{}:a;wd.call(this);var b=this;this.i=this.m=0;this.j=yq();var c=E("yt.networkStatusManager.instance.listen").bind(this.j);c&&(a.rateLimit?(this.rateLimit=a.rateLimit,c("networkstatus-online",function(){Aq(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){Aq(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){xd(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){xd(b,"publicytnetworkstatus-offline")})))} w(zq,wd);zq.prototype.va=function(){var a=E("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.j)():!0}; zq.prototype.cb=function(a){var b=E("yt.networkStatusManager.instance.networkStatusHint").bind(this.j);b&&b(a)}; zq.prototype.nc=function(a){var b=this,c;return A(function(d){c=E("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.j);return T("skip_network_check_if_cfr")&&wq().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.cb((null==(f=window.navigator)?void 0:f.onLine)||!0);e(b.va())})):c?d.return(c(a)):d.return(!0)})}; function Aq(a,b){a.rateLimit?a.i?(Bi.qa(a.m),a.m=Bi.pa(function(){a.l!==b&&(xd(a,b),a.l=b,a.i=W())},a.rateLimit-(W()-a.i))):(xd(a,b),a.l=b,a.i=W()):xd(a,b)} ;var Bq;function Cq(){var a=Pp.call;Bq||(Bq=new zq({kg:!0,eg:!0}));a.call(Pp,this,{ea:{Vd:hq,lb:gq,jd:dq,ze:eq,Oc:fq,set:bq},ba:Bq,handleError:function(b,c,d){var e,f=null==d?void 0:null==(e=d.error)?void 0:e.code;if(400===f||415===f){var g;Uk(new V(b.message,c,null==d?void 0:null==(g=d.error)?void 0:g.code),void 0,void 0,void 0,!0)}else Tk(b)}, mb:Uk,sendFn:Dq,now:W,Md:uq,Da:Um(),Nc:"publicytnetworkstatus-online",Kc:"publicytnetworkstatus-offline",ac:!0,Yb:.1,kc:U("potential_esf_error_limit",10),W:T,Db:!(lm()&&Eq())});this.j=new mi;T("networkless_immediately_drop_all_requests")&&iq();Do("LogsDatabaseV2")} w(Cq,Pp);function Fq(){var a=E("yt.networklessRequestController.instance");a||(a=new Cq,D("yt.networklessRequestController.instance",a),T("networkless_logging")&&so().then(function(b){a.V=b;Rp(a);a.j.resolve();a.ac&&Math.random()<=a.Yb&&a.V&&nq(a.V);T("networkless_immediately_drop_sw_health_store")&&Gq(a)})); return a} Cq.prototype.writeThenSend=function(a,b){b||(b={});b=Hq(a,b);lm()||(this.h=!1);Pp.prototype.writeThenSend.call(this,a,b)}; Cq.prototype.sendThenWrite=function(a,b,c){b||(b={});b=Hq(a,b);lm()||(this.h=!1);Pp.prototype.sendThenWrite.call(this,a,b,c)}; Cq.prototype.sendAndWrite=function(a,b){b||(b={});b=Hq(a,b);lm()||(this.h=!1);Pp.prototype.sendAndWrite.call(this,a,b)}; Cq.prototype.awaitInitialization=function(){return this.j.promise}; function Gq(a){var b;A(function(c){if(!a.V)throw b=wn("clearSWHealthLogsDb"),b;return c.return(oq(a.V).catch(function(d){a.handleError(d)}))})} function Dq(a,b,c,d){d=void 0===d?!1:d;b=T("web_fp_via_jspb")?Object.assign({},b):b;T("use_cfr_monitor")&&Iq(a,b);if(T("use_request_time_ms_header"))b.headers&&dl(a)&&(b.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round(W())));else{var e;if(null==(e=b.postParams)?0:e.requestTimeMs)b.postParams.requestTimeMs=Math.round(W())}if(c&&0===Object.keys(b).length){var f=void 0===f?"":f;var g=void 0===g?!1:g;var h=void 0===h?!1:h;if(a)if(f)ql(a,void 0,"POST",f,void 0);else if(S("USE_NET_AJAX_FOR_PING_TRANSPORT", !1)||h)ql(a,void 0,"GET","",void 0,void 0,g,h);else{b:{try{var k=new cb({url:a});if(k.j&&k.i||k.l){var l=mc(nc(5,a)),n;if(!(n=!l||!l.endsWith("/aclk"))){var p=a.search(vc),r=uc(a,0,"ri",p);if(0>r)var t=null;else{var x=a.indexOf("&",r);if(0>x||x>p)x=p;t=decodeURIComponent(a.slice(r+3,-1!==x?x:0).replace(/\+/g," "))}n="1"!==t}var z=!n;break b}}catch(K){}z=!1}if(z){b:{try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")){var y=!0;break b}}catch(K){}y=!1}c=y?!0:!1}else c= !1;c||rq(a)}}else b.compress?b.postBody?("string"!==typeof b.postBody&&(b.postBody=JSON.stringify(b.postBody)),Ep(a,b.postBody,b,ul,d)):Ep(a,JSON.stringify(b.postParams),b,tl,d):ul(a,b)} function Hq(a,b){T("use_event_time_ms_header")&&dl(a)&&(b.headers||(b.headers={}),b.headers["X-Goog-Event-Time"]=JSON.stringify(Math.round(W())));return b} function Iq(a,b){var c=b.onError?b.onError:function(){}; b.onError=function(e,f){wq().requestComplete(a,!1);c(e,f)}; var d=b.onSuccess?b.onSuccess:function(){}; b.onSuccess=function(e,f){wq().requestComplete(a,!0);d(e,f)}} function Eq(){return"www.youtube-nocookie.com"!==oc(document.location.toString())} ;var Jq=!1,Kq=C.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:Jq};D("ytNetworklessLoggingInitializationOptions",Kq);function Lq(){var a;A(function(b){if(1==b.h)return b.yield(so(),2);a=b.i;if(!a||!lm()&&!T("nwl_init_require_datasync_id_killswitch")||!Eq())return b.B(0);Jq=!0;Kq.isNwlInitialized=Jq;return b.yield(Fq().awaitInitialization(),0)})} ;function Mq(a){var b=this;this.config_=null;a?this.config_=a:Uo()&&(this.config_=Vo());om(function(){Np(b)},5E3)} Mq.prototype.isReady=function(){!this.config_&&Uo()&&(this.config_=Vo());return!!this.config_}; function Op(a,b,c,d){function e(x){x=void 0===x?!1:x;var z;if(d.retry&&"www.youtube-nocookie.com"!=h&&(x||T("skip_ls_gel_retry")||"application/json"!==g.headers["Content-Type"]||(z=Lp(b,c,l,k)),z)){var y=g.onSuccess,K=g.onFetchSuccess;g.onSuccess=function(N,da){Mp(z);y(N,da)}; c.onFetchSuccess=function(N,da){Mp(z);K(N,da)}}try{if(x&&d.retry&&!d.networklessOptions.bypassNetworkless)g.method="POST",d.networklessOptions.writeThenSend?Fq().writeThenSend(t,g):Fq().sendAndWrite(t,g); else if(d.compress){var G=!d.networklessOptions.writeThenSend;if(g.postBody){var R=g.postBody;"string"!==typeof R&&(R=JSON.stringify(g.postBody));Ep(t,R,g,ul,G)}else Ep(t,JSON.stringify(g.postParams),g,tl,G)}else T("web_all_payloads_via_jspb")?ul(t,g):tl(t,g)}catch(N){if("InvalidAccessError"===N.name)z&&(Mp(z),z=0),Uk(Error("An extension is blocking network request."));else throw N;}z&&om(function(){Np(a)},5E3)} !S("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&Uk(new V("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady()){var f=new V("innertube xhrclient not ready",b,c,d);Tk(f);throw f;}var g={headers:d.headers||{},method:"POST",postParams:c,postBody:d.postBody,postBodyFormat:d.postBodyFormat||"JSON",onTimeout:function(){d.onTimeout()}, onFetchTimeout:d.onTimeout,onSuccess:function(x,z){if(d.onSuccess)d.onSuccess(z)}, onFetchSuccess:function(x){if(d.onSuccess)d.onSuccess(x)}, onError:function(x,z){if(d.onError)d.onError(z)}, onFetchError:function(x){if(d.onError)d.onError(x)}, timeout:d.timeout,withCredentials:!0,compress:d.compress};g.headers["Content-Type"]||(g.headers["Content-Type"]="application/json");var h="";(f=a.config_.se)&&(h=f);var k=a.config_.ue||!1,l=Xo(k,h,d);Object.assign(g.headers,l);(f=g.headers.Authorization)&&!h&&k&&(g.headers["x-origin"]=window.location.origin);var n="/youtubei/"+a.config_.innertubeApiVersion+"/"+b,p={alt:"json"},r=a.config_.te&&f;r=r&&f.startsWith("Bearer");r||(p.key=a.config_.innertubeApiKey);var t=cl(""+h+n,p||{},!0);(E("ytNetworklessLoggingInitializationOptions")? Kq.isNwlInitialized:Jq)?qo().then(function(x){e(x)}):e(!1)} ;var Nq=0,Oq=Yc?"webkit":Xc?"moz":Vc?"ms":Uc?"o":"";D("ytDomDomGetNextId",E("ytDomDomGetNextId")||function(){return++Nq});var Pq={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1}; function Qq(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;try{if(a=a||window.event){this.event=a;for(var b in a)b in Pq||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget; if(d)try{d=d.nodeName?d:null}catch(e){d=null}else"mouseover"==this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.h=a.pageX;this.i=a.pageY}}catch(e){}} function Rq(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.h=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.i=a.clientY+b}} Qq.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; Qq.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; Qq.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Mb=C.ytEventsEventsListeners||{};D("ytEventsEventsListeners",Mb);var Sq=C.ytEventsEventsCounter||{count:0};D("ytEventsEventsCounter",Sq); function Tq(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Lb(function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,g=Ra(e[4])&&Ra(d)&&Qb(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||g)})} function Uq(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Tq(a,b,c,d);if(e)return e;e=++Sq.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var g=f?function(h){h=new Qq(h);if(!Hd(h.relatedTarget,function(k){return k==a}))return h.currentTarget=a,h.type=b,c.call(a,h)}:function(h){h=new Qq(h); h.currentTarget=a;return c.call(a,h)}; g=Sk(g);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Vq()||"boolean"===typeof d?a.addEventListener(b,g,d):a.addEventListener(b,g,!!d.capture)):a.attachEvent("on"+b,g);Mb[e]=[a,b,c,g,d];return e} function Wq(a){a&&("string"==typeof a&&(a=[a]),Db(a,function(b){if(b in Mb){var c=Mb[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Vq()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete Mb[b]}}))} var Vq=Cd(function(){var a=!1;try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a});function Xq(a){this.F=a;this.h=null;this.l=0;this.v=null;this.m=0;this.i=[];for(a=0;4>a;a++)this.i.push(0);this.j=0;this.U=Uq(window,"mousemove",Xa(this.Z,this));a=Xa(this.K,this);"function"===typeof a&&(a=Sk(a));this.da=window.setInterval(a,25)} $a(Xq,F);Xq.prototype.Z=function(a){void 0===a.h&&Rq(a);var b=a.h;void 0===a.i&&Rq(a);this.h=new Dd(b,a.i)}; Xq.prototype.K=function(){if(this.h){var a=W();if(0!=this.l){var b=this.v,c=this.h,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.l);this.i[this.j]=.5c;c++)b+=this.i[c]||0;3<=b&&this.F();this.m=d}this.l=a;this.v=this.h;this.j=(this.j+1)%4}}; Xq.prototype.R=function(){window.clearInterval(this.da);Wq(this.U)};var Yq={}; function Zq(a){var b=void 0===a?{}:a;a=void 0===b.Je?!1:b.Je;b=void 0===b.be?!0:b.be;if(null==E("_lact",window)){var c=parseInt(S("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;D("_lact",c,window);D("_fact",c,window);-1==c&&$q();Uq(document,"keydown",$q);Uq(document,"keyup",$q);Uq(document,"mousedown",$q);Uq(document,"mouseup",$q);a?Uq(window,"touchmove",function(){ar("touchmove",200)},{passive:!0}):(Uq(window,"resize",function(){ar("resize",200)}),b&&Uq(window,"scroll",function(){ar("scroll",200)})); new Xq(function(){ar("mouse",100)}); Uq(document,"touchstart",$q,{passive:!0});Uq(document,"touchend",$q,{passive:!0})}} function ar(a,b){Yq[a]||(Yq[a]=!0,Bi.pa(function(){$q();Yq[a]=!1},b))} function $q(){null==E("_lact",window)&&Zq();var a=Date.now();D("_lact",a,window);-1==E("_fact",window)&&D("_fact",a,window);(a=E("ytglobal.ytUtilActivityCallback_"))&&a()} function br(){var a=E("_lact",window);return null==a?-1:Math.max(Date.now()-a,0)} ;var cr=C.ytPubsubPubsubInstance||new L,dr=C.ytPubsubPubsubSubscribedKeys||{},er=C.ytPubsubPubsubTopicToKeys||{},fr=C.ytPubsubPubsubIsSynchronous||{};function gr(a,b){var c=hr();if(c&&b){var d=c.subscribe(a,function(){function e(){dr[d]&&b.apply&&"function"==typeof b.apply&&b.apply(window,f)} var f=arguments;try{fr[a]?e():jl(e,0)}catch(g){Tk(g)}},void 0); dr[d]=!0;er[a]||(er[a]=[]);er[a].push(d);return d}return 0} function ir(a){var b=hr();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),Db(a,function(c){b.unsubscribeByKey(c);delete dr[c]}))} function jr(a,b){var c=hr();c&&c.publish.apply(c,arguments)} function kr(a){var b=hr();if(b)if(b.clear(a),a)lr(a);else for(var c in er)lr(c)} function hr(){return C.ytPubsubPubsubInstance} function lr(a){er[a]&&(a=er[a],Db(a,function(b){dr[b]&&delete dr[b]}),a.length=0)} L.prototype.subscribe=L.prototype.subscribe;L.prototype.unsubscribeByKey=L.prototype.xb;L.prototype.publish=L.prototype.Va;L.prototype.clear=L.prototype.clear;D("ytPubsubPubsubInstance",cr);D("ytPubsubPubsubTopicToKeys",er);D("ytPubsubPubsubIsSynchronous",fr);D("ytPubsubPubsubSubscribedKeys",dr);var mr=Symbol("injectionDeps");function qr(a){this.name=a} qr.prototype.toString=function(){return"InjectionToken("+this.name+")"}; function rr(a){this.key=a} function sr(){this.i=new Map;this.j=new Map;this.h=new Map} function tr(a,b){a.i.set(b.mc,b);var c=a.j.get(b.mc);if(c)try{c.rg(a.resolve(b.mc))}catch(d){c.pg(d)}} sr.prototype.resolve=function(a){return a instanceof rr?ur(this,a.key,[],!0):ur(this,a,[])}; function ur(a,b,c,d){d=void 0===d?!1:d;if(-1=d.length&&Rr(b)===d[0])return d;for(var e=[],f=0;f=a?es||(es=us(function(){e();es=void 0},0)):10<=g-k&&(vs(f,c.tier),h.l=g)} function qs(a,b){if("log_event"===a.endpoint){ls();var c=ms(a),d=new Map;d.set(c,[a.payload]);var e=ns(a.payload)||"";b&&(Zr=new b);return new Ud(function(f,g){Zr&&Zr.isReady()?ws(d,Zr,f,g,{bypassNetworkless:!0},!0,"gelDebuggingEvent"===e):f()})}} function ms(a){var b="";if(a.dangerousLogToVisitorSession)b="visitorOnlyApprovedKey";else if(a.cttAuthInfo){b=a.cttAuthInfo;var c={};b.videoId?c.videoId=b.videoId:b.playlistId&&(c.playlistId=b.playlistId);hs[a.cttAuthInfo.token]=c;b=a.cttAuthInfo.token}return b} function ss(a,b,c,d){a=void 0===a?{}:a;c=void 0===c?!1:c;new Ud(function(e,f){var g=ts(c,d),h=g.j;g.j=!1;xs(g.i);xs(g.h);g.h=0;Zr&&Zr.isReady()?void 0===d&&T("enable_web_tiered_gel")?ys(e,f,a,b,c,300,h):ys(e,f,a,b,c,d,h):(vs(c,d),e())})} function ys(a,b,c,d,e,f,g){var h=Zr;c=void 0===c?{}:c;e=void 0===e?!1:e;f=void 0===f?200:f;g=void 0===g?!1:g;var k=new Map,l={isJspb:e,cttAuthInfo:d,tier:f};e={isJspb:e,cttAuthInfo:d};if(void 0!==d)f=T("enable_web_tiered_gel")?js().smartExtractMatchingEntries({keys:[l,e],sizeLimit:1E3}):js().extractMatchingEntries(e),k.set(d,f);else for(d=v(Object.keys(is)),l=d.next();!l.done;l=d.next())l=l.value,e=T("enable_web_tiered_gel")?js().smartExtractMatchingEntries({keys:[{isJspb:!1,cttAuthInfo:l,tier:f}, {isJspb:!1,cttAuthInfo:l}],sizeLimit:1E3}):js().extractMatchingEntries({isJspb:!1,cttAuthInfo:l}),0=Yr&&c():c()},e); d.i=e} function ws(a,b,c,d,e,f,g){e=void 0===e?{}:e;var h=Math.round(W()),k=a.size,l=(void 0===g?0:g)&&T("vss_through_gel_video_stats")?"video_stats":"log_event";a=v(a);var n=a.next();for(g={};!n.done;g={Jc:void 0,batchRequest:void 0,dangerousLogToVisitorSession:void 0,Mc:void 0,Lc:void 0},n=a.next()){var p=v(n.value);n=p.next().value;p=p.next().value;g.batchRequest=Sb({context:Wo(b.config_||Vo())});if(!Qa(p)&&!T("throw_err_when_logevent_malformed_killswitch")){d();break}g.batchRequest.events=p;(p=hs[n])&& zs(g.batchRequest,n,p);delete hs[n];g.dangerousLogToVisitorSession="visitorOnlyApprovedKey"===n;As(g.batchRequest,h,g.dangerousLogToVisitorSession);T("always_send_and_write")&&(e.writeThenSend=!1);g.Mc=function(r){T("start_client_gcf")&&Bi.pa(function(){return A(function(t){return t.yield(Bs(r),0)})}); k--;k||c()}; g.Jc=0;g.Lc=function(r){return function(){r.Jc++;if(e.bypassNetworkless&&1===r.Jc)try{Op(b,l,r.batchRequest,Cs({writeThenSend:!0},r.dangerousLogToVisitorSession,r.Mc,r.Lc,f)),gs=!1}catch(t){Tk(t),d()}k--;k||c()}}(g); try{Op(b,l,g.batchRequest,Cs(e,g.dangerousLogToVisitorSession,g.Mc,g.Lc,f)),gs=!1}catch(r){Tk(r),d()}}} function Cs(a,b,c,d,e){a={retry:!0,onSuccess:c,onError:d,networklessOptions:a,dangerousLogToVisitorSession:b,Zf:!!e,headers:{},postBodyFormat:"",postBody:"",compress:T("compress_gel")||T("compress_gel_lr")};Ds()&&(a.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round(W())));return a} function As(a,b,c){Ds()||(a.requestTimeMs=String(b));T("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);!c&&(b=S("EVENT_ID"))&&((c=S("BATCH_CLIENT_COUNTER")||0)||(c=Math.floor(Math.random()*Xr/2)),c++,c>Xr&&(c=1),Ok("BATCH_CLIENT_COUNTER",c),a.serializedClientEventId={serializedEventId:b,clientCounter:String(c)})} function zs(a,b,c){if(c.videoId)var d="VIDEO";else if(c.playlistId)d="PLAYLIST";else return;a.credentialTransferTokenTargetId=c;a.context=a.context||{};a.context.user=a.context.user||{};a.context.user.credentialTransferTokens=[{token:b,scope:d}]} function ls(){var a;(a=E("yt.logging.transport.enableScrapingForTest"))||(a=ll("il_payload_scraping"),a="enable_il_payload_scraping"!==(void 0!==a?String(a):""));a||(Pr=[],D("yt.logging.transport.enableScrapingForTest",!0),D("yt.logging.transport.scrapedPayloadsForTesting",Pr),D("yt.logging.transport.payloadToScrape","visualElementShown visualElementHidden visualElementAttached screenCreated visualElementGestured visualElementStateChanged".split(" ")),D("yt.logging.transport.getScrapedPayloadFromClientEventsFunction"), D("yt.logging.transport.scrapeClientEvent",!0))} function Ds(){return T("use_request_time_ms_header")||T("lr_use_request_time_ms_header")} function us(a,b){return!1===T("embeds_transport_use_scheduler")?jl(a,b):T("logging_avoid_blocking_during_navigation")||T("lr_logging_avoid_blocking_during_navigation")?om(function(){if("none"===Or().currentState)a();else{var c={};Or().install((c.none={callback:a},c))}},b):om(a,b)} function xs(a){T("transport_use_scheduler")?Bi.qa(a):window.clearTimeout(a)} function Bs(a){var b,c,d,e,f,g,h,k,l,n;return A(function(p){return 1==p.h?(d=null==(b=a)?void 0:null==(c=b.responseContext)?void 0:c.globalConfigGroup,e=Ur(d,tk),g=null==(f=d)?void 0:f.hotHashData,h=Ur(d,sk),l=null==(k=d)?void 0:k.coldHashData,(n=xr().resolve(new rr(Po)))?g?e?p.yield(Ro(n,g,e),2):p.yield(Ro(n,g),2):p.B(2):p.return()):l?h?p.yield(So(n,l,h),0):p.yield(So(n,l),0):p.B(0)})} function ts(a,b){b=void 0===b?200:b;return a?300===b?ds:bs:300===b?cs:as} function ns(a){a=Object.keys(a);a=v(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,jq[b])return b} function ps(a){switch(a){case "DELAYED_EVENT_TIER_UNSPECIFIED":return 0;case "DELAYED_EVENT_TIER_DEFAULT":return 100;case "DELAYED_EVENT_TIER_DISPATCH_TO_EMPTY":return 200;case "DELAYED_EVENT_TIER_FAST":return 300;case "DELAYED_EVENT_TIER_IMMEDIATE":return 400;default:return 200}} ;var Es=C.ytLoggingGelSequenceIdObj_||{};D("ytLoggingGelSequenceIdObj_",Es); function Fs(a,b,c,d){d=void 0===d?{}:d;var e={},f=Math.round(d.timestamp||W());e.eventTimeMs=fa;a++){b=Date.now();for(c=0;cku.size){ku.set(l,[a,b,c,h]);return}T("il_attach_cache_limit")&&1E31E5*Math.random()&&(c=new V("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||Ns(c)),!0):!1} ;var kv=window;function lv(){this.timing={};this.clearResourceTimings=function(){}; this.webkitClearResourceTimings=function(){}; this.mozClearResourceTimings=function(){}; this.msClearResourceTimings=function(){}; this.oClearResourceTimings=function(){}} function mv(){var a;if(T("csi_use_performance_navigation_timing")||T("csi_use_performance_navigation_timing_tvhtml5")){var b,c,d,e=null==Y?void 0:null==(a=Y.getEntriesByType)?void 0:null==(b=a.call(Y,"navigation"))?void 0:null==(c=b[0])?void 0:null==(d=c.toJSON)?void 0:d.call(c);e?(e.requestStart=nv(e.requestStart),e.responseEnd=nv(e.responseEnd),e.redirectStart=nv(e.redirectStart),e.redirectEnd=nv(e.redirectEnd),e.domainLookupEnd=nv(e.domainLookupEnd),e.connectStart=nv(e.connectStart),e.connectEnd= nv(e.connectEnd),e.responseStart=nv(e.responseStart),e.secureConnectionStart=nv(e.secureConnectionStart),e.domainLookupStart=nv(e.domainLookupStart),e.isPerformanceNavigationTiming=!0,a=e):a=Y.timing}else a=T("csi_performance_timing_to_object")?JSON.parse(JSON.stringify(Y.timing)):Y.timing;return a} function nv(a){return Math.round(ov()+a)} function ov(){return(T("csi_use_time_origin")||T("csi_use_time_origin_tvhtml5"))&&Y.timeOrigin?Math.floor(Y.timeOrigin):Y.timing.navigationStart} var Y=kv.performance||kv.mozPerformance||kv.msPerformance||kv.webkitPerformance||new lv;var pv=!1,qv=!1,rv={'script[name="scheduler/scheduler"]':"sj",'script[name="player/base"]':"pj",'link[rel="preload"][name="player/embed"]':"pej",'link[rel="stylesheet"][name="www-player"]':"pc",'link[rel="stylesheet"][name="player/www-player"]':"pc",'script[name="desktop_polymer/desktop_polymer"]':"dpj",'link[rel="import"][name="desktop_polymer"]':"dph",'script[name="mobile-c3"]':"mcj",'link[rel="stylesheet"][name="mobile-c3"]':"mcc",'script[name="player-plasma-ias-phone/base"]':"mcppj",'script[name="player-plasma-ias-tablet/base"]':"mcptj", 'link[rel="stylesheet"][name="mobile-polymer-player-ias"]':"mcpc",'link[rel="stylesheet"][name="mobile-polymer-player-svg-ias"]':"mcpsc",'script[name="mobile_blazer_core_mod"]':"mbcj",'link[rel="stylesheet"][name="mobile_blazer_css"]':"mbc",'script[name="mobile_blazer_logged_in_users_mod"]':"mbliuj",'script[name="mobile_blazer_logged_out_users_mod"]':"mblouj",'script[name="mobile_blazer_noncore_mod"]':"mbnj","#player_css":"mbpc",'script[name="mobile_blazer_desktopplayer_mod"]':"mbpj",'link[rel="stylesheet"][name="mobile_blazer_tablet_css"]':"mbtc", 'script[name="mobile_blazer_watch_mod"]':"mbwj"};Xa(Y.clearResourceTimings||Y.webkitClearResourceTimings||Y.mozClearResourceTimings||Y.msClearResourceTimings||Y.oClearResourceTimings||Bd,Y);function sv(a,b){if(!T("web_csi_action_sampling_enabled")||!Vu(b).actionDisabled){var c=cv(b||"");Yt(c.info,a);a.loadType&&(c=a.loadType,Xu(b).loadType=c);Yt($u(b),a);c=av(b);b=Vu(b).cttAuthInfo;iv().info(a,c,b)}} function tv(){var a,b,c,d;return(null!=(d=null==xr().resolve(new rr(Po))?void 0:null==(a=Qo())?void 0:null==(b=a.loggingHotConfig)?void 0:null==(c=b.csiConfig)?void 0:c.debugTicks)?d:[]).map(function(e){return Object.values(e)[0]})} function Z(a,b,c){if(!T("web_csi_action_sampling_enabled")||!Vu(c).actionDisabled){var d=av(c),e;if(e=T("web_csi_debug_sample_enabled")&&d){(null==xr().resolve(new rr(Po))?0:Qo())&&!qv&&(qv=!0,Z("gcfl",W(),c));var f,g,h;e=(null==xr().resolve(new rr(Po))?void 0:null==(f=Qo())?void 0:null==(g=f.loggingHotConfig)?void 0:null==(h=g.csiConfig)?void 0:h.debugSampleWeight)||0;if(f=0!==e)b:{f=tv();if(0c.duration?d:c},{duration:0}))&&0=ov()&&0>>0);function sx(a,b){var c="player",d=!1;d=void 0===d?!0:d;c="string"===typeof c?Fd(c):c;var e=rx+"_"+Sa(c),f=qx[e];if(f&&d)return tx(a,b)?f.api.loadVideoByPlayerVars(a.args||null):f.loadNewVideoConfig(a),f.api;f=new Zw(c,e,a,b,void 0);qx[e]=f;f.addOnDisposeCallback(function(){delete qx[f.getId()]}); return f.api} function tx(a,b){return b&&b.serializedExperimentFlags?b.serializedExperimentFlags.includes("web_player_remove_playerproxy=true"):a&&a.args&&a.args.fflags?a.args.fflags.includes("web_player_remove_playerproxy=true"):!1} ;var ux=null,vx=null,wx=null; function xx(){Hv();var a=bm(),b=em(119),c=1