(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}}); 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;f=f}}); u("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}}); u("Set",function(a){function b(c){this.h=new Map;if(c){c=v(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.h.size} if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(v([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a; b.prototype.add=function(c){c=0===c?0:c;this.h.set(c,c);this.size=this.h.size;return this}; b.prototype.delete=function(c){c=this.h.delete(c);this.size=this.h.size;return c}; b.prototype.clear=function(){this.h.clear();this.size=0}; b.prototype.has=function(c){return this.h.has(c)}; b.prototype.entries=function(){return this.h.entries()}; b.prototype.values=function(){return this.h.values()}; b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.h.forEach(function(f){return c.call(d,f,f,e)})}; return b}); u("Array.prototype.values",function(a){return a?a:function(){return Ma(this,function(b,c){return c})}}); u("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)na(b,d)&&c.push(b[d]);return c}}); u("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}}); u("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(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 Kb(a,b){b=Eb(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c} function Lb(a,b){for(var c=1;c>>0;return b} ;var yc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function zc(a){return a?decodeURI(a):a} function Ac(a,b){return b.match(yc)[a]||null} function Bc(a){return zc(Ac(3,a))} function Cc(a){var b=a.match(yc);a=b[5];var c=b[6];b=b[7];var d="";a&&(d+=a);c&&(d+="?"+c);b&&(d+="#"+b);return d} function Dc(a){var b=a.indexOf("#");return 0>b?a:a.slice(0,b)} function Ec(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 Hc(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&bparseFloat(ed)){dd=String(gd);break a}}dd=ed}var hd=dd,id;if(C.document&&Yc){var jd=cd();id=jd?jd:parseInt(hd,10)||void 0}else id=void 0;var kd=id;function ld(a,b){Sc.call(this,a?a.type:"");this.relatedTarget=this.h=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.i=null;a&&this.init(a,b)} $a(ld,Sc);var md={2:"touch",3:"pen",4:"mouse"}; ld.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.h=b;if(b=a.relatedTarget){if($c){a:{try{Wc(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY|| 0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:md[a.pointerType]||"";this.state=a.state; this.i=a;a.defaultPrevented&&ld.Aa.preventDefault.call(this)}; ld.prototype.stopPropagation=function(){ld.Aa.stopPropagation.call(this);this.i.stopPropagation?this.i.stopPropagation():this.i.cancelBubble=!0}; ld.prototype.preventDefault=function(){ld.Aa.preventDefault.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=!1};var nd="closure_listenable_"+(1E6*Math.random()|0);var od=0;function pd(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.cc=e;this.key=++od;this.Mb=this.Vb=!1} function qd(a){a.Mb=!0;a.listener=null;a.proxy=null;a.src=null;a.cc=null} ;function rd(a){this.src=a;this.listeners={};this.h=0} rd.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.h++);var g=sd(a,b,d,e);-1>>0);function zd(a){if("function"===typeof a)return a;a[Hd]||(a[Hd]=function(b){return a.handleEvent(b)}); return a[Hd]} ;function Id(){H.call(this);this.h=new rd(this);this.Za=this;this.ga=null} $a(Id,H);Id.prototype[nd]=!0;m=Id.prototype;m.addEventListener=function(a,b,c,d){xd(this,a,b,c,d)}; m.removeEventListener=function(a,b,c,d){Fd(this,a,b,c,d)}; function Jd(a,b){var c=a.ga;if(c){var d=[];for(var e=1;c;c=c.ga)d.push(c),++e}a=a.Za;c=b.type||b;"string"===typeof b?b=new Sc(b,a):b instanceof Sc?b.target=b.target||a:(e=b,b=new Sc(c,a),Wb(b,e));e=!0;if(d)for(var f=d.length-1;!b.j&&0<=f;f--){var g=b.h=d[f];e=Kd(g,c,!0,b)&&e}b.j||(g=b.h=a,e=Kd(g,c,!0,b)&&e,b.j||(e=Kd(g,c,!1,b)&&e));if(d)for(f=0;!b.j&&fa.i&&(a.i++,b.next=a.h,a.h=b)} ;function Nd(){} function Od(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 Pd(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0} m=Pd.prototype;m.clone=function(){return new Pd(this.x,this.y)}; m.equals=function(a){return a instanceof Pd&&(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 Qd(a,b){this.width=a;this.height=b} m=Qd.prototype;m.clone=function(){return new Qd(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 Rd(a){var b=document;return"string"===typeof a?b.getElementById(a):a} function Sd(a){var b=document;a=String(a);"application/xhtml+xml"===b.contentType&&(a=a.toLowerCase());return b.createElement(a)} function Td(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null} ;var Ud;function Vd(){var a=C.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!F("Presto")&&(a=function(){var e=Sd("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&&!ec()){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 Wd(a){C.setTimeout(function(){throw a;},0)} ;function Xd(){this.i=this.h=null} Xd.prototype.add=function(a,b){var c=Yd.get();c.set(a,b);this.i?this.i.next=c:this.h=c;this.i=c}; Xd.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 Yd=new Ld(function(){return new Zd},function(a){return a.reset()}); function Zd(){this.next=this.scope=this.h=null} Zd.prototype.set=function(a,b){this.h=a;this.scope=b;this.next=null}; Zd.prototype.reset=function(){this.next=this.scope=this.h=null};var $d,ae=!1,be=new Xd;function ce(a,b){$d||de();ae||($d(),ae=!0);be.add(a,b)} function de(){if(C.Promise&&C.Promise.resolve){var a=C.Promise.resolve(void 0);$d=function(){a.then(ee)}}else $d=function(){var b=ee; "function"!==typeof C.setImmediate||C.Window&&C.Window.prototype&&(cc()||!F("Edge"))&&C.Window.prototype.setImmediate==C.setImmediate?(Ud||(Ud=Vd()),Ud(b)):C.setImmediate(b)}} function ee(){for(var a;a=be.remove();){try{a.h.call(a.scope)}catch(b){Wd(b)}Md(Yd,a)}ae=!1} ;function fe(a){this.h=0;this.A=void 0;this.l=this.i=this.j=null;this.v=this.m=!1;if(a!=Nd)try{var b=this;a.call(void 0,function(c){ge(b,2,c)},function(c){ge(b,3,c)})}catch(c){ge(this,3,c)}} function he(){this.next=this.context=this.h=this.i=this.child=null;this.j=!1} he.prototype.reset=function(){this.context=this.h=this.i=this.child=null;this.j=!1}; var ie=new Ld(function(){return new he},function(a){a.reset()}); function je(a,b,c){var d=ie.get();d.i=a;d.h=b;d.context=c;return d} function ke(a){return new fe(function(b,c){c(a)})} fe.prototype.then=function(a,b,c){return le(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)}; fe.prototype.$goog_Thenable=!0;m=fe.prototype;m.oc=function(a,b){return le(this,null,a,b)}; m.catch=fe.prototype.oc;m.cancel=function(a){if(0==this.h){var b=new me(a);ce(function(){ne(this,b)},this)}}; function ne(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.Oa()} m.Oa=function(){var a=this.i.values();a=[].concat(ma(a)).filter(function(b){return b.h.size}); a.length&&this.D.flush(a,this.m);Ae(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 Nc(a,b))}; m.uc=function(a){var b=B.apply(1,arguments);this.i.has(a)||this.i.set(a,new Oc(a,b))}; function Be(a,b){return a.A.has(b)?void 0:a.i.get(b)} m.pc=function(a){this.Od(a,1,B.apply(1,arguments))}; m.Od=function(a,b){var c=B.apply(2,arguments),d=Be(this,a);d&&d instanceof Nc&&(d.i(b,c),ze(this))}; m.record=function(a,b){var c=B.apply(2,arguments),d=Be(this,a);d&&d instanceof Oc&&(d.record(b,c),ze(this))}; function Ae(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=Le(a);for(var c=2654435769,d=2654435769,e=314159265,f=a.length,g=f,h=0;12<=g;g-=12,h+=12)c+=Me(a,h),d+=Me(a,h+4),e+=Me(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 Je.toString(e)} function Le(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 Ue(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;Ve(a,function(f){d[e++]=f}); return e!==c?d.subarray(0,e):d} function Ve(a,b){function c(k){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=h&&b(g<<6&192|h))}} function Te(){if(!Re){Re={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Qe[c]=d;for(var e=0;e>14&1023;return 0===a?536870912:a} ;var sf={},tf={};function uf(a){return!(!a||"object"!==typeof a||a.h!==tf)} function vf(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object} var wf;function xf(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=mf(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;of(a,d|1);return!0} var yf,zf=[];of(zf,55);yf=Object.freeze(zf);function Af(a){if(a&2)throw Error();} Object.freeze(new function(){}); Object.freeze(new function(){});var Bf=0,Cf=0;function Df(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=v(Ef(c,a)),b=c.next().value,a=c.next().value,c=b);Bf=c>>>0;Cf=a>>>0} function Ff(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else gf()?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+Gf(c)+Gf(a));return c} function Gf(a){a=String(a);return"0000000".slice(a.length)+a} function Hf(){var a=Bf,b=Cf;b&2147483648?gf()?a=""+(BigInt(b|0)<>>0)):(b=v(Ef(a,b)),a=b.next().value,b=b.next().value,a="-"+Ff(a,b)):a=Ff(a,b);return a} function Ef(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]} ;function If(a){a=Error(a);a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity="warning";return a} ;function Jf(a){return a.displayName||a.name||"unknown type name"} function Kf(a){if(null!=a&&"boolean"!==typeof a)throw Error("Expected boolean but got "+Pa(a)+": "+a);return a} var Lf=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function Mf(a){var b=typeof a;return"number"===b?Number.isFinite(a):"string"!==b?!1:Lf.test(a)} function Nf(a){if(null!=a){if("number"!==typeof a)throw If("int32");if(!Number.isFinite(a))throw If("int32");a|=0}return a} function Of(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 Pf(a){if(null!=a){var b=!!b;if(!Mf(a))throw If("int64");a="string"===typeof a?Qf(a):b?Rf(a):Sf(a)}return a} function Tf(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-922337a.length?!0:19===a.length&&922337>Number(a.substring(0,6))} function Sf(a){Mf(a);a=Math.trunc(a);if(!Number.isSafeInteger(a)){Df(a);var b=Bf,c=Cf;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 Rf(a){Mf(a);a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Tf(b)?a=b:(Df(a),a=Hf())}return a} function Qf(a){Mf(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(!Tf(a)){if(16>a.length)Df(Number(a));else if(gf())a=BigInt(a),Bf=Number(a&BigInt(4294967295))>>>0,Cf=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+("-"===a[0]);Cf=Bf=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)),Cf*=1E6,Bf=1E6*Bf+d,4294967296<=Bf&&(Cf+=Math.trunc(Bf/4294967296),Cf>>>=0,Bf>>>=0);b&&(b=v(Ef(Bf,Cf)), a=b.next().value,b=b.next().value,Bf=a,Cf=b)}a=Hf()}return a} function Uf(a){if(null!=a&&"string"!==typeof a)throw Error();return a} function Vf(a,b){if(!(a instanceof b))throw Error("Expected instanceof "+Jf(b)+" but got "+(a&&Jf(a.constructor)));} function Wf(a,b,c){if(null!=a&&"object"===typeof a&&a.Jc===sf)return a;if(Array.isArray(a)){var d=mf(a),e=d;0===e&&(e|=c&32);e|=c&2;e!==d&&of(a,e);return new b(a)}} ;var Xf;function Yf(a,b){mf(b);Xf=b;a=new a(b);Xf=void 0;return a} function I(a,b,c){null==a&&(a=Xf);Xf=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error();d=mf(a);if(d&2048)throw Error();if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error();a:{c=a;var e=c.length;if(e){var f=e-1;if(vf(c[f])){d|=256;b=f-(+!!(d&512)-1);if(1024<=b)throw Error();d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(1024=rf(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+(+!!(b&512)-1);if(b=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 y=e[1],z=e[2],x=e[3],J=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var G=x^y&(z^x);var R=1518500249}else G=y^z^x,R=1859775393;else 60>t?(G=y&z|x&(y|z),R=2400959708):(G=y^z^x,R=3395469782);G=((p<<5|p>>>27)&4294967295)+G+J+R+r[t]&4294967295;J=x;x=z;z=(y<<30|y>>>2)&4294967295;y=p;p=G}e[0]=e[0]+p&4294967295;e[1]=e[1]+y&4294967295;e[2]= e[2]+z&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+J&4294967295} function c(p,r){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var t=[],y=0,z=p.length;yl?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 y=24;0<=y;y-=8)p[r++]=e[t]>>y&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,Xd: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.Yl?1:l),c.h.setInterval(c.l.getValue()))}}a&&a();c.V=0}; h=function(k,l){var n=e.F;var p=nf(n),r=p,t=!(2&p),y=!!(2&r),z=y?1:2;p=1===z;z=2===z;t&&(t=!y);y=ig(n,r,3);y=Array.isArray(y)?y:yf;var x=mf(y),J=!!(4&x);if(!J){var G=x;0===G&&(G=tg(G,r,!1));G=lf(G,1,!0);x=y;var R=r,N=!!(2&G);N&&(R=lf(R,2,!0));for(var da=!N,Ca=!0,O=0,ea=0;Oa||401===a||0===a}; function th(){return"https://play.google.com/log?format=json&hasfast=true"} function sh(a,b){this.eb=b=void 0===b?!1:b;this.uach=this.locale=null;this.h=new mh;Number.isInteger(a)&&this.h.Nb(a);b||(this.locale=document.documentElement.getAttribute("lang"));uh(this,new jh)} sh.prototype.Nb=function(a){this.h.Nb(a);return this}; function uh(a,b){rg(a.h,jh,1,b);wg(b)||yg(b,1,1);if(!a.eb){b=zh(a);var c=hg(b,5);(null==c||"string"===typeof c)&&c||xg(b,5,a.locale)}a.uach&&(b=zh(a),qg(b,dh,9)||rg(b,dh,9,a.uach))} function wh(a,b){lg(Ah(a))&&(a=Bh(a),yg(a,1,b))} function yh(a,b){lg(Ah(a))&&(a=Bh(a),jg(a,2,Kf(b)))} function Ah(a){return qg(a.h,jh,1)} function Ch(a){var b=void 0===b?fh:b;var c=a.eb?void 0:window;c?ih(c,b).then(function(d){a.uach=d;d=zh(a);rg(d,dh,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)} function zh(a){a=Ah(a);var b=qg(a,ng,11);b||(b=new ng,rg(a,ng,11,b));return b} function Bh(a){a=zh(a);var b=qg(a,bh,10);b||(b=new bh,jg(b,2,Kf(!1)),rg(a,bh,10,b));return b} function xh(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(lg(Ah(a))){var h=Bh(a);jg(h,3,Nf(d))}lg(Ah(a))&&(d=Bh(a),jg(d,4,Nf(f)));lg(Ah(a))&&(f=Bh(a),jg(f,5,Nf(g)));a=a.h.clone();g=Date.now().toString();a=jg(a,4,Pf(g));b=sg(a,lh,3,b);e&&(a=new Zg,e=jg(a,13,Nf(e)),a=new $g,e=rg(a,Zg,2,e),a=new kh,e=rg(a,$g,1,e),e=yg(e,2,9),rg(b,kh,18,e));c&&jg(b,14,Pf(c));return b} ;function Dh(){this.Pd="undefined"!==typeof AbortController} Dh.prototype.send=function(a,b,c){var d=this,e,f,g,h,k,l,n,p,r,t,y,z;return A(function(x){switch(x.h){case 1:return f=(e=d.Pd?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,Aa(x,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}),x.yield(fetch(a.url,g),5);case 5:h=x.i;if(200!==h.status){null==(k=c)||k(h.status);x.B(3);break}if(null==(l=b)){x.B(7);break}p=n=l;return x.yield(h.text(),8);case 8:p(x.i);case 7:case 3:x.R=[x.j];x.l=0;x.v=0;clearTimeout(f);Da(x);break;case 2:r=Ba(x);switch(null==(t=r)?void 0:t.name){case "AbortError":null==(y=c)||y(408);break;default:null==(z=c)||z(400)}x.B(3)}})}; Dh.prototype.ac=function(){return 4};function Eh(){} Eh.prototype.serialize=function(a){var b=[];Fh(this,a,b);return b.join("")}; function Fh(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;fMath.random()?new Dh:new ai),b=new rh({logSource:a.logSource,Gb:a.Gb?a.Gb:Wg,sessionIndex:a.sessionIndex,mf:a.i,eb:a.j,Eb:!1,ed:a.l,Xc:a.Xc,network:a.network?a.network:void 0}),Rc(a,b),a.h&&(c=a.h,d=zh(b.i), xg(d,7,c)),a.componentId&&(b.componentId=a.componentId),a.yb&&(b.yb=a.yb),a.pageId&&(b.pageId=a.pageId),Ch(b.i),a.network.Nb&&a.network.Nb(a.logSource),a.network.Ze&&a.network.Ze(b),a=b);this.h=a} w(ci,H); ci.prototype.flush=function(a){var b=a||[];if(b.length){a=new Hg;for(var c=[],d=0;da&&Number.isInteger(a)&&this.data[a]!==b&&(this.data[a]=b,this.h=-1)}; xi.prototype.get=function(a){return!!this.data[a]}; function yi(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 zi(a,b){this.h=a[C.Symbol.iterator]();this.i=b} zi.prototype[Symbol.iterator]=function(){return this}; zi.prototype.next=function(){var a=this.h.next();return{value:a.done?void 0:this.i.call(void 0,a.value),done:a.done}}; function Ai(a,b){return new zi(a,b)} ;function Bi(){this.blockSize=-1} ;function Ci(){this.blockSize=-1;this.blockSize=64;this.h=[];this.v=[];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} Ci.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.v,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.v[c]=b&255,b/=256;Di(this,this.v);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 Ei(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""} function Fi(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)} function Gi(a,b){a.classList?b=a.classList.contains(b):(a=a.classList?a.classList:Ei(a).match(/\S+/g)||[],b=0<=Eb(a,b));return b} function Hi(){var a=document.body;a.classList?a.classList.remove("inverted-hdpi"):Gi(a,"inverted-hdpi")&&Fi(a,Array.prototype.filter.call(a.classList?a.classList:Ei(a).match(/\S+/g)||[],function(b){return"inverted-hdpi"!=b}).join(" "))} ;function Ii(){} Ii.prototype.next=function(){return Ji}; var Ji={done:!0,value:void 0};function Ki(a){return{value:a,done:!1}} Ii.prototype.Fa=function(){return this};function Li(a){if(a instanceof Mi||a instanceof Ni||a instanceof Oi)return a;if("function"==typeof a.next)return new Mi(function(){return a}); if("function"==typeof a[Symbol.iterator])return new Mi(function(){return a[Symbol.iterator]()}); if("function"==typeof a.Fa)return new Mi(function(){return a.Fa()}); throw Error("Not an iterator or iterable.");} function Mi(a){this.i=a} Mi.prototype.Fa=function(){return new Ni(this.i())}; Mi.prototype[Symbol.iterator]=function(){return new Oi(this.i())}; Mi.prototype.h=function(){return new Oi(this.i())}; function Ni(a){this.i=a} w(Ni,Ii);Ni.prototype.next=function(){return this.i.next()}; Ni.prototype[Symbol.iterator]=function(){return new Oi(this.i)}; Ni.prototype.h=function(){return new Oi(this.i)}; function Oi(a){Mi.call(this,function(){return a}); this.j=a} w(Oi,Mi);Oi.prototype.next=function(){return this.j.next()};function L(a){H.call(this);this.m=1;this.j=[];this.l=0;this.h=[];this.i={};this.A=!!a} $a(L,H);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.Ab(a)}return!1}; m.Ab=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&&Kb(c,a),delete this.h[a],delete this.h[a+1],delete this.h[a+2])}return!!b}; m.Ya=function(a,b){var c=this.i[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;eZa())Ui.prototype.remove.call(this,a);else return b}};function Vi(){} ;function Wi(){} $a(Wi,Vi);Wi.prototype[Symbol.iterator]=function(){return Li(this.Fa(!0)).h()}; Wi.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 Xi(a){this.h=a;this.i=null} $a(Xi,Wi);m=Xi.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){Yi(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){Yi(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){Yi(this);this.h.removeItem(a)}; m.Fa=function(a){Yi(this);var b=0,c=this.h,d=new Ii;d.next=function(){if(b>=c.length)return Ji;var e=c.key(b++);if(a)return Ki(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Ki(e)}; return d}; m.clear=function(){Yi(this);this.h.clear()}; m.key=function(a){Yi(this);return this.h.key(a)}; function Yi(a){if(null==a.h)throw Error("Storage mechanism: Storage unavailable");var b;(null!=(b=a.i)?b:a.isAvailable())||Wd(Error("Storage mechanism: Storage unavailable"))} ;function Zi(){var a=null;try{a=C.localStorage||null}catch(b){}Xi.call(this,a)} $a(Zi,Xi);function $i(a,b){this.i={};this.h=[];this.Wa=this.size=0;var c=arguments.length;if(12*this.size&&aj(this),!0):!1}; function aj(a){if(a.size!=a.h.length){for(var b=0,c=0;b=d.h.length)return Ji;var f=d.h[b++];return Ki(a?f:d.i[f])}; return e}; function bj(a,b){return Object.prototype.hasOwnProperty.call(a,b)} ;function dj(a,b){this.i=a;this.h=null;var c;if(c=Yc)c=!(9<=Number(kd));if(c){ej||(ej=new $i);this.h=ej.get(a);this.h||(b?this.h=document.getElementById(b):(this.h=document.createElement("userdata"),this.h.addBehavior("#default#userData"),document.body.appendChild(this.h)),ej.set(a,this.h));try{this.h.load(this.i)}catch(d){this.h=null}}} $a(dj,Wi);var fj={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},ej=null;function gj(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return fj[b]})} m=dj.prototype;m.isAvailable=function(){return!!this.h}; m.set=function(a,b){this.h.setAttribute(gj(a),b);hj(this)}; m.get=function(a){a=this.h.getAttribute(gj(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.h.removeAttribute(gj(a));hj(this)}; m.Fa=function(a){var b=0,c=this.h.XMLDocument.documentElement.attributes,d=new Ii;d.next=function(){if(b>=c.length)return Ji;var e=c[b++];if(a)return Ki(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Ki(e)}; return d}; m.clear=function(){for(var a=this.h.XMLDocument.documentElement,b=a.attributes.length;0f?1:2048>f?2:65536>f?3:4}var h=new M.lb(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 oj={};oj=function(a,b,c,d){var e=a&65535|0;a=a>>>16&65535|0;for(var f;0!==c;){f=2E3sj;sj++){qj=sj;for(var tj=0;8>tj;tj++)qj=qj&1?3988292384^qj>>>1:qj>>>1;rj[sj]=qj}pj=function(a,b,c,d){c=d+c;for(a^=-1;d>>8^rj[(a^b[d])&255];return a^-1};var uj={};uj={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 vj(a){for(var b=a.length;0<=--b;)a[b]=0} var wj=[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],xj=[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],yj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],zj=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Aj=Array(576);vj(Aj);var Bj=Array(60);vj(Bj);var Cj=Array(512);vj(Cj);var Dj=Array(256);vj(Dj);var Ej=Array(29);vj(Ej);var Fj=Array(30);vj(Fj);function Gj(a,b,c,d,e){this.Fd=a;this.ee=b;this.de=c;this.Yd=d;this.Ae=e;this.ld=a&&a.length} var Hj,Ij,Jj;function Kj(a,b){this.gd=a;this.vb=0;this.Va=b} function Lj(a,b){a.W[a.pending++]=b&255;a.W[a.pending++]=b>>>8&255} function Mj(a,b,c){a.fa>16-c?(a.la|=b<>16-a.fa,a.fa+=c-16):(a.la|=b<>>=1,c<<=1;while(0<--b);return c>>>1} function Pj(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]=Oj(d[e]++,e))} function Qj(a){var b;for(b=0;286>b;b++)a.ra[2*b]=0;for(b=0;30>b;b++)a.bb[2*b]=0;for(b=0;19>b;b++)a.ha[2*b]=0;a.ra[512]=1;a.Na=a.zb=0;a.ya=a.matches=0} function Rj(a){8e?Cj[e]:Cj[256+(e>>>7)];Nj(a,g,c);h=xj[g];0!==h&&(e-=Fj[g],Mj(a,e,h))}}while(da.La;){var k=a.X[++a.La]=2>h?++h:0;c[2*k]=1;a.depth[k]=0;a.Na--;e&&(a.zb-=d[2*k+1])}b.vb=h;for(g=a.La>>1;1<=g;g--)Uj(a,c,g);k=f;do g=a.X[1],a.X[1]=a.X[a.La--],Uj(a,c,1),d=a.X[1],a.X[--a.qb]=g,a.X[--a.qb]=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.X[1]=k++,Uj(a,c,1);while(2<=a.La);a.X[--a.qb]= a.X[1];g=b.gd;k=b.vb;d=b.Va.Fd;e=b.Va.ld;f=b.Va.ee;var l=b.Va.de,n=b.Va.Ae,p,r=0;for(p=0;15>=p;p++)a.Ia[p]=0;g[2*a.X[a.qb]+1]=0;for(b=a.qb+1;573>b;b++){var t=a.X[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 y=0;t>=l&&(y=f[t-l]);var z=g[2*t];a.Na+=z*(p+y);e&&(a.zb+=z*(d[2*t+1]+y))}}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--)}Pj(c,h,a.Ia)} function Xj(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.ha[34]++:a.ha[36]++,g=0,e=l,0===f?(h=138,k=3):l===f?(h=6,k=3):(h=7,k=4))}} function Yj(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?(Nj(a,17,a.ha),Mj(a,g-3,3)):(Nj(a,18,a.ha),Mj(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 Zj(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 ak=!1;function bk(a,b,c){a.W[a.Db+2*a.ya]=b>>>8&255;a.W[a.Db+2*a.ya+1]=b&255;a.W[a.Fc+a.ya]=c&255;a.ya++;0===b?a.ra[2*c]++:(a.matches++,b--,a.ra[2*(Dj[c]+256+1)]++,a.bb[2*(256>b?Cj[b]:Cj[256+(b>>>7)])]++);return a.ya===a.Ib-1} ;function ck(a,b){a.msg=uj[b];return b} function dk(a){for(var b=a.length;0<=--b;)a[b]=0} function ek(a){var b=a.state,c=b.pending;c>a.M&&(c=a.M);0!==c&&(M.mb(a.output,b.W,b.Lb,c,a.wb),a.wb+=c,b.Lb+=c,a.Sc+=c,a.M-=c,b.pending-=c,0===b.pending&&(b.Lb=0))} function fk(a,b){var c=0<=a.va?a.va:-1,d=a.o-a.va,e=0;if(0>>3;var g=a.zb+3+7>>>3;g<=f&&(f=g)}else f=g=d+5;if(d+4<=f&&-1!==c)Mj(a,b?1:0,3),Sj(a,c,d);else if(4===a.strategy||g===f)Mj(a,2+(b?1:0),3),Vj(a,Aj,Bj);else{Mj(a,4+(b?1:0),3);c=a.ec.vb+1;d=a.Yb.vb+1;e+=1;Mj(a,c-257,5);Mj(a,d-1,5);Mj(a,e-4,4);for(f=0;f>>8&255;a.W[a.pending++]=b&255} function hk(a,b){var c=a.pd,d=a.o,e=a.xa,f=a.qd,g=a.o>a.ja-262?a.o-(a.ja-262):0,h=a.window,k=a.Xa,l=a.Ga,n=a.o+258,p=h[d+e-1],r=h[d+e];a.xa>=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.ub=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 ik(a){var b=a.ja,c;do{var d=a.Ld-a.u-a.o;if(a.o>=b+(b-262)){M.mb(a.window,a.window,b,b,0);a.ub-=b;a.o-=b;a.va-=b;var e=c=a.dc;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.ka)break;e=a.I;c=a.window;f=a.o+a.u;var g=e.ka;g>d&&(g=d);0===g?c=0:(e.ka-=g,M.mb(c,e.input,e.hb,g,f),1===e.state.wrap?e.H=oj(e.H,c,g,f):2===e.state.wrap&&(e.H=pj(e.H,c,g,f)),e.hb+=g,e.kb+=g,c=g);a.u+=c;if(3<=a.u+a.sa)for(d=a.o-a.sa,a.K=a.window[d], a.K=(a.K<a.u+a.sa););}while(262>a.u&&0!==a.I.ka)} function jk(a,b){for(var c;;){if(262>a.u){ik(a);if(262>a.u&&0===b)return 1;if(0===a.u)break}c=0;3<=a.u&&(a.K=(a.K<a.o?a.o:2;return 4===b?(fk(a,!0),0===a.I.M?3:4):a.ya&&(fk(a,!1),0===a.I.M)?1:2} function kk(a,b){for(var c,d;;){if(262>a.u){ik(a);if(262>a.u&&0===b)return 1;if(0===a.u)break}c=0;3<=a.u&&(a.K=(a.K<=a.P&&(1===a.strategy||3===a.P&&4096a.o?a.o:2;return 4===b?(fk(a,!0),0===a.I.M?3:4):a.ya&&(fk(a,!1),0===a.I.M)?1:2} function lk(a,b){for(var c,d,e,f=a.window;;){if(258>=a.u){ik(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=bk(a,1,a.P-3),a.u-=a.P,a.o+=a.P,a.P=0):(c=bk(a,0,a.window[a.o]),a.u--,a.o++);if(c&&(fk(a,!1),0===a.I.M))return 1}a.sa=0;return 4===b?(fk(a,!0),0===a.I.M?3:4): a.ya&&(fk(a,!1),0===a.I.M)?1:2} function mk(a,b){for(var c;;){if(0===a.u&&(ik(a),0===a.u)){if(0===b)return 1;break}a.P=0;c=bk(a,0,a.window[a.o]);a.u--;a.o++;if(c&&(fk(a,!1),0===a.I.M))return 1}a.sa=0;return 4===b?(fk(a,!0),0===a.I.M?3:4):a.ya&&(fk(a,!1),0===a.I.M)?1:2} function nk(a,b,c,d,e){this.me=a;this.ze=b;this.De=c;this.ye=d;this.he=e} var ok;ok=[new nk(0,0,0,0,function(a,b){var c=65535;for(c>a.za-5&&(c=a.za-5);;){if(1>=a.u){ik(a);if(0===a.u&&0===b)return 1;if(0===a.u)break}a.o+=a.u;a.u=0;var d=a.va+c;if(0===a.o||a.o>=d)if(a.u=a.o-d,a.o=d,fk(a,!1),0===a.I.M)return 1;if(a.o-a.va>=a.ja-262&&(fk(a,!1),0===a.I.M))return 1}a.sa=0;if(4===b)return fk(a,!0),0===a.I.M?3:4;a.o>a.va&&fk(a,!1);return 1}), new nk(4,4,8,4,jk),new nk(4,5,16,8,jk),new nk(4,6,32,32,jk),new nk(4,4,16,16,kk),new nk(8,16,32,32,kk),new nk(8,16,128,128,kk),new nk(8,32,128,256,kk),new nk(32,128,258,1024,kk),new nk(32,258,258,4096,kk)]; function pk(){this.I=null;this.status=0;this.W=null;this.wrap=this.pending=this.Lb=this.za=0;this.G=null;this.Ca=0;this.method=8;this.sb=-1;this.Xa=this.Uc=this.ja=0;this.window=null;this.Ld=0;this.head=this.Ga=null;this.qd=this.kd=this.strategy=this.level=this.Hc=this.pd=this.xa=this.u=this.ub=this.o=this.fb=this.td=this.P=this.va=this.Ka=this.Ja=this.Cc=this.dc=this.K=0;this.ra=new M.Ha(1146);this.bb=new M.Ha(122);this.ha=new M.Ha(78);dk(this.ra);dk(this.bb);dk(this.ha);this.Yc=this.Yb=this.ec= null;this.Ia=new M.Ha(16);this.X=new M.Ha(573);dk(this.X);this.qb=this.La=0;this.depth=new M.Ha(573);dk(this.depth);this.fa=this.la=this.sa=this.matches=this.zb=this.Na=this.Db=this.ya=this.Ib=this.Fc=0} function qk(a,b){if(!a||!a.state||5b)return a?ck(a,-2):-2;var c=a.state;if(!a.output||!a.input&&0!==a.ka||666===c.status&&4!==b)return ck(a,0===a.M?-5:-2);c.I=a;var d=c.sb;c.sb=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.Ra?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.Ra&&(a.H=pj(a.H,c.W,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;gk(c,e+(31-e%31));0!==c.o&&(gk(c,a.H>>>16),gk(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.Ra&&c.pending>e&&(a.H=pj(a.H,c.W,c.pending-e,e)),ek(a),e=c.pending,c.pending!==c.za));)P(c,c.G.extra[c.Ca]&255),c.Ca++;c.G.Ra&&c.pending>e&&(a.H=pj(a.H,c.W,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.Ra&&c.pending>e&&(a.H=pj(a.H,c.W,c.pending-e,e)),ek(a),e=c.pending,c.pending===c.za)){var f=1;break}f=c.Ca e&&(a.H=pj(a.H,c.W,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.Ra&&c.pending>e&&(a.H=pj(a.H,c.W,c.pending-e,e)),ek(a),e=c.pending,c.pending===c.za)){f=1;break}f=c.Cae&&(a.H=pj(a.H,c.W,c.pending-e,e));0===f&&(c.status=103)}else c.status=103;103===c.status&&(c.G.Ra?(c.pending+2>c.za&&ek(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(ek(a),0===a.M)return c.sb=-1,0}else if(0===a.ka&&(b<<1)-(4>=8,c.fa-=8)):5!==b&&(Mj(c,0,3),Sj(c,0,0),3===b&&(dk(c.head),0===c.u&&(c.o=0,c.va=0,c.sa=0))),ek(a),0===a.M))return c.sb=-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.kb&255),P(c,a.kb>>8&255),P(c,a.kb>>16&255),P(c,a.kb>>24&255)):(gk(c,a.H>>>16),gk(c,a.H&65535));ek(a);0a.windowBits&&(a.windowBits+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.I=new rk;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.sb=0;if(!ak){d=Array(16);for(f=g=0;28>f;f++)for(Ej[f]=g,e=0;e<1<f;f++)for(Fj[f]=g,e=0;e<1<>=7;30>f;f++)for(Fj[f]=g<<7,e=0;e<1<=e;e++)d[e]=0;for(e=0;143>=e;)Aj[2*e+1]=8,e++,d[8]++;for(;255>=e;)Aj[2*e+1]=9,e++,d[9]++;for(;279>=e;)Aj[2*e+1]=7,e++,d[7]++;for(;287>=e;)Aj[2*e+1]=8,e++,d[8]++;Pj(Aj,287,d);for(e=0;30>e;e++)Bj[2*e+1]=5,Bj[2*e]=Oj(e,5);Hj=new Gj(Aj,wj,257,286,15);Ij=new Gj(Bj, xj,0,30,15);Jj=new Gj([],yj,0,19,7);ak=!0}c.ec=new Kj(c.ra,Hj);c.Yb=new Kj(c.bb,Ij);c.Yc=new Kj(c.ha,Jj);c.la=0;c.fa=0;Qj(c);c=0}else c=ck(b,-2);0===c&&(b=b.state,b.Ld=2*b.ja,dk(b.head),b.Hc=ok[b.level].ze,b.kd=ok[b.level].me,b.qd=ok[b.level].De,b.pd=ok[b.level].ye,b.o=0,b.va=0,b.u=0,b.sa=0,b.P=b.xa=2,b.fb=0,b.K=0);b=c}}else b=-2;if(0!==b)throw Error(uj[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=nj(a.dictionary): "[object ArrayBuffer]"===sk.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=oj(a.H,f,g,0));l.wrap=0;g>=l.ja&&(0===b&&(dk(l.head),l.o=0,l.va=0,l.sa=0),c=new M.lb(l.ja),M.mb(c,f,g-l.ja,l.ja,0),f=c,g=l.ja);c=a.ka;d=a.hb;e=a.input;a.ka=g;a.hb=0;a.input=f;for(ik(l);3<=l.u;){f=l.o;g=l.u-2;do l.K=(l.K<f&&(b.subarray&&mj||!b.subarray))b= String.fromCharCode.apply(null,M.Rc(b,f));else{for(var g="",h=0;hk.status,r=500<=k.status&&600>k.status;if(l||p||r)n=Fl(a,c,k,b.convertToSafeHtml);l&&(l=Gl(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=Sl(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=Sl(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 Tl(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&&Bm(a,c)}while(c&&Za()a)b.pa(-a);else{var c=Jm[a];c?(b.pa(c),delete Jm[a]):window.clearTimeout(a)}} function Tm(){Um()} function Um(){window.clearTimeout(Lm);Nm().start()} function Vm(){Nm().pause();window.clearTimeout(Lm);Lm=window.setTimeout(Tm,Km)} function Wm(){window.clearTimeout(Mm);Mm=window.setTimeout(function(){Xm(0)},Km)} function Xm(a){Wm();var b=Nm();b.l=a;b.start()} function Ym(a){Wm();var b=Nm();b.l>a&&(b.l=a,b.start())} function Zm(){window.clearTimeout(Mm);var a=Nm();a.l=0;a.start()} function $m(){E("yt.scheduler.initialized")||(D("yt.scheduler.instance.dispose",Om),D("yt.scheduler.instance.addJob",Qm),D("yt.scheduler.instance.addImmediateJob",Rm),D("yt.scheduler.instance.cancelJob",Sm),D("yt.scheduler.instance.cancelAllJobs",Pm),D("yt.scheduler.instance.start",Um),D("yt.scheduler.instance.pause",Vm),D("yt.scheduler.instance.setPriorityThreshold",Xm),D("yt.scheduler.instance.enablePriorityThreshold",Ym),D("yt.scheduler.instance.clearPriorityThreshold",Zm),D("yt.scheduler.initialized", !0))} ;function an(){um.apply(this,arguments)} w(an,um);function bn(){an.h||(an.h=new an);return an.h} an.prototype.ab=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):ql(a,c||0)}; an.prototype.pa=function(a){if(void 0===a||!Number.isNaN(Number(a))){var b=E("yt.scheduler.instance.cancelJob");b?b(a):window.clearTimeout(a)}}; an.prototype.start=function(){var a=E("yt.scheduler.instance.start");a&&a()}; an.prototype.pause=function(){var a=E("yt.scheduler.instance.pause");a&&a()}; var wi=bn();T("web_scheduler_auto_init")&&$m();function cn(a){var b=new Zi;(b=b.isAvailable()?a?new ij(b,a):b:null)||(a=new dj(a||"UserDataSharedStore"),b=a.isAvailable()?a:null);this.h=(a=b)?new Ui(a):null;this.i=document.domain||window.location.hostname} cn.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 Eh).serialize(b))}catch(f){return}else e=escape(b);bm(a,e,c,this.i)}; cn.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=cm(a))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; cn.prototype.remove=function(a){this.h&&this.h.remove(a);dm(a,"/",this.i)};var dn=function(){var a;return function(){a||(a=new cn("ytidb"));return a}}(); function en(){var a;return null==(a=dn())?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)} ;var fn=[],gn,hn=!1;function jn(){var a={};for(gn=new kn(void 0===a.handleError?ln:a.handleError,void 0===a.logEvent?mn:a.logEvent);0=f)Yn(a,k,t,g,y,b.join(),e),h=y;x.B(2);break;case 4:return x.return(Promise.reject(h))}})} function Yn(a,b,c,d,e,f,g){b=c-b;e?(e instanceof zn&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&on("QUOTA_EXCEEDED",{dbName:qn(a.h.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:g.mode}),e instanceof zn&&"UNKNOWN_ABORT"===e.type&&(c-=a.j,0>c&&c>=Math.pow(2,31)&&(c=0),on("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.i=!0),Zn(a,!1,d,f,b,g.tag),nn(e)):Zn(a,!0,d,f,b,g.tag)} function Zn(a,b,c,d,e,f){on("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 Un(a){this.h=a} m=Un.prototype;m.add=function(a,b){return On(this.h.add(a,b))}; m.autoIncrement=function(){return this.h.autoIncrement}; m.clear=function(){return On(this.h.clear()).then(function(){})}; function $n(a,b,c){a.h.createIndex(b,c,{unique:!1})} m.count=function(a){return On(this.h.count(a))}; function ao(a,b){return bo(a,{query:b},function(c){return c.delete().then(function(){return co(c)})}).then(function(){})} m.delete=function(a){return a instanceof IDBKeyRange?ao(this,a):On(this.h.delete(a))}; m.get=function(a){return On(this.h.get(a))}; m.index=function(a){try{return new eo(this.h.index(a))}catch(b){if(b instanceof Error&&"NotFoundError"===b.name)throw new Bn(a,this.h.name);throw b;}}; m.getName=function(){return this.h.name}; m.keyPath=function(){return this.h.keyPath}; function bo(a,b,c){a=a.h.openCursor(b.query,b.direction);return fo(a).then(function(d){return Pn(d,c)})} function Wn(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=zn;for(var f=b.h.objectStoreNames,g=[],h=0;h=x},z); z.done.catch(function(x){e(x)})}catch(x){e(x)}}); g.addEventListener("success",function(){var t=g.result;k&&t.addEventListener("versionchange",function(){k(f())}); t.addEventListener("close",function(){on("IDB_UNEXPECTEDLY_CLOSED",{dbName:qn(a),dbVersion:t.version});l&&l()}); d(f())}); g.addEventListener("error",function(){e(g.error)}); h&&g.addEventListener("blocked",function(){h()})})} function jo(a,b,c){c=void 0===c?{}:c;return io(a,b,c)} function ko(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(Nn(c),4); if(2!=g.h)g.h=0,g.l=0;else throw f=Ba(g),Dn(f,a,"",-1);})} ;function lo(a,b){this.name=a;this.options=b;this.j=!0;this.v=this.l=0} lo.prototype.i=function(a,b,c){c=void 0===c?{}:c;return jo(a,b,c)}; lo.prototype.delete=function(a){a=void 0===a?{}:a;return ko(this.name,a)}; function mo(a,b){return new zn("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})} function no(a,b){if(!b)throw En("openWithToken",qn(a.name));return a.open()} lo.prototype.open=function(){function a(){var f,g,h,k,l,n,p,r,t,y;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 x=h=z.i,J=c.options,G=[],R=v(Object.keys(J.xb)),N=R.next();!N.done;N=R.next()){N=N.value;var da=J.xb[N],Ca=void 0===da.Le?Number.MAX_VALUE:da.Le;!(x.h.version>=da.Cb)||x.h.version>=Ca||x.h.objectStoreNames.contains(N)||G.push(N)}k=G;if(0===k.length){z.B(5);break}l=Object.keys(c.options.xb); n=h.objectStoreNames();if(c.vc.options.version+1)throw r.close(),c.j=!1,mo(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)),Dn(p,c.name,"",null!=(y=c.options.version)?y:-1);}})} function b(){c.h===d&&(c.h=void 0)} var c=this;if(!this.j)throw mo(this);if(this.h)return this.h;var d,e={blocking:function(f){f.close()}, closed:b,gf:b,upgrade:this.options.upgrade};return this.h=d=a()};var oo=new lo("YtIdbMeta",{xb:{databases:{Cb:1}},upgrade:function(a,b){b(1)&&Tn(a,"databases",{keyPath:"actualName"})}}); function po(a,b){var c;return A(function(d){if(1==d.h)return d.yield(no(oo,b),2);c=d.i;return d.return(Sn(c,["databases"],{ia:!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 On(f.h.put(a,void 0)).then(function(){})})}))})} function qo(a,b){var c;return A(function(d){if(1==d.h)return a?d.yield(no(oo,b),2):d.return();c=d.i;return d.return(c.delete("databases",a))})} function ro(a,b){var c,d;return A(function(e){return 1==e.h?(c=[],e.yield(no(oo,b),2)):3!=e.h?(d=e.i,e.yield(Sn(d,["databases"],{ia:!0,mode:"readonly"},function(f){c.length=0;return bo(f.objectStore("databases"),{},function(g){a(g.getValue())&&c.push(g.getValue());return co(g)})}),3)):e.return(c)})} function so(a){return ro(function(b){return"LogsDatabaseV2"===b.publicName&&void 0!==b.userIdentifier},a)} function to(a,b,c){return ro(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 uo(a){var b,c;return A(function(d){if(1==d.h)return b=tm("YtIdbMeta hasAnyMeta other"),d.yield(ro(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;czp||g=Ep&&(Cp++,T("abandon_compression_after_N_slow_zips")?Dp===U("compression_disable_point")&&Cp>Fp&&(Bp=!1):Bp=!1);Op(b);d.headers||(d.headers={});d.headers["Content-Encoding"]="gzip";d.postBody=a;d.postParams=void 0;e(c,d)} function Pp(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(Bp&&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=Np(g);if(null!=h&&(h>zp||h=Ep)if(Cp++,T("abandon_compression_after_N_slow_zips")||T("abandon_compression_after_N_slow_zips_lr")){b=Cp/Dp;var l=Fp/U("compression_disable_point");0=l&&(Bp=!1)}else Bp=!1;Op(e)}}a.headers=Object.assign({},{"Content-Encoding":"gzip"},a.headers||{});a.body=f;return a}catch(n){return al(n),a}}else return a} function Np(a){try{return(new Blob(a.split(""))).size}catch(b){return al(b),null}} function Op(a){T("gel_compression_csi_killswitch")||!T("log_gel_compression_latency")&&!T("log_gel_compression_latency_lr")||up("gel_compression",a,{sampleRate:.1})} ;function Qp(a){a=Object.assign({},a);delete a.Authorization;var b=Wg();if(b){var c=new Ci;c.update(S("INNERTUBE_API_KEY"));c.update(b);a.hash=Se(c.digest(),3)}return a} ;var Rp;function Sp(){Rp||(Rp=new cn("yt.innertube"));return Rp} function Tp(a,b,c,d){if(d)return null;d=Sp().get("nextId",!0)||1;var e=Sp().get("requests",!0)||{};e[d]={method:a,request:b,authState:Qp(c),requestTime:Math.round(W())};Sp().set("nextId",d+1,86400,!0);Sp().set("requests",e,86400,!0);return d} function Up(a){var b=Sp().get("requests",!0)||{};delete b[a];Sp().set("requests",b,86400,!0)} function Vp(a){var b=Sp().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=Qp(ep(!1));Sb(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(W())),Wp(a,d.method,e,{}));delete b[c]}}Sp().set("requests",b,86400,!0)}} ;function Xp(a){this.Ub=this.h=!1;this.potentialEsfErrorCounter=this.i=0;this.handleError=function(){}; this.pb=function(){}; this.now=Date.now;this.Fb=!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.T=null!=(g=a.T)?g:void 0;this.Zb=!!a.Zb;var h;this.Xb=null!=(h=a.Xb)?h:.1;var k;this.jc=null!=(k=a.jc)?k:10;a.handleError&&(this.handleError=a.handleError);a.pb&&(this.pb=a.pb);a.Fb&&(this.Fb=a.Fb);a.Ub&&(this.Ub=a.Ub);this.U=a.U;this.Da=a.Da;this.da=a.da;this.aa=a.aa;this.sendFn=a.sendFn; this.Oc=a.Oc;this.Lc=a.Lc;Yp(this)&&(!this.U||this.U("networkless_logging"))&&Zp(this)} function Zp(a){Yp(a)&&!a.Fb&&(a.h=!0,a.Zb&&Math.random()<=a.Xb&&a.da.Ud(a.T),$p(a),a.aa.wa()&&a.Pb(),a.aa.listen(a.Oc,a.Pb.bind(a)),a.aa.listen(a.Lc,a.Zc.bind(a)))} m=Xp.prototype;m.writeThenSend=function(a,b){var c=this;b=void 0===b?{}:b;if(Yp(this)&&this.h){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.da.set(d,this.T).then(function(e){d.id=e;c.aa.wa()&&aq(c,d)}).catch(function(e){aq(c,d); bq(c,e)})}else this.sendFn(a,b)}; m.sendThenWrite=function(a,b,c){var d=this;b=void 0===b?{}:b;if(Yp(this)&&this.h){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.U&&this.U("nwl_skip_retry")&&(e.skipRetry=c);if(this.aa.wa()||this.U&&this.U("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.da.set(e,d.T).catch(function(l){bq(d,l)}),2); f(g,h);k.h=0})}}this.sendFn(a,b,e.skipRetry)}else this.da.set(e,this.T).catch(function(g){d.sendFn(a,b,e.skipRetry); bq(d,g)})}else this.sendFn(a,b,this.U&&this.U("nwl_skip_retry")&&c)}; m.sendAndWrite=function(a,b){var c=this;b=void 0===b?{}:b;if(Yp(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.da.nb(d.id,c.T):e=!0;c.aa.gb&&c.U&&c.U("vss_network_hint")&&c.aa.gb(!0);f(g,h)}; this.sendFn(d.url,d.options,void 0,!0);this.da.set(d,this.T).then(function(g){d.id=g;e&&c.da.nb(d.id,c.T)}).catch(function(g){bq(c,g)})}else this.sendFn(a,b,void 0,!0)}; m.Pb=function(){var a=this;if(!Yp(this))throw Error("IndexedDB is not supported: throttleSend");this.i||(this.i=this.Da.oa(function(){var b;return A(function(c){if(1==c.h)return c.yield(a.da.jd("NEW",a.T),2);if(3!=c.h)return b=c.i,b?c.yield(aq(a,b),3):(a.Zc(),c.return());a.i&&(a.i=0,a.Pb());c.h=0})},this.Gd))}; m.Zc=function(){this.Da.pa(this.i);this.i=0}; function aq(a,b){var c;return A(function(d){switch(d.h){case 1:if(!Yp(a))throw Error("IndexedDB is not supported: immediateSend");if(void 0===b.id){d.B(2);break}return d.yield(a.da.xe(b.id,a.T),3);case 3:(c=d.i)||a.pb(Error("The request cannot be found in the database."));case 2:if(cq(a,b,a.xd)){d.B(4);break}a.pb(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===b.id){d.B(5);break}return d.yield(a.da.nb(b.id,a.T),5);case 5:return d.return();case 4:b.skipRetry||(b=dq(a, b));if(!b){d.B(0);break}if(!b.skipRetry||void 0===b.id){d.B(8);break}return d.yield(a.da.nb(b.id,a.T),8);case 8:a.sendFn(b.url,b.options,!!b.skipRetry),d.h=0}})} function dq(a,b){if(!Yp(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=eq(f);(h=fq(f))&&a.U&&a.U("web_enable_error_204")&&a.handleError(Error("Request failed due to compression"),b.url,f);if(!(a.U&&a.U("nwl_consider_error_code")&&g||a.U&&!a.U("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.jc)){n.B(2);break}if(!a.aa.mc){n.B(3);break}return n.yield(a.aa.mc(),3);case 3:if(a.aa.wa()){n.B(2);break}c(e,f);if(!a.U||!a.U("nwl_consider_error_code")||void 0===(null==(k=b)?void 0:k.id)){n.B(6); break}return n.yield(a.da.Pc(b.id,a.T,!1),6);case 6:return n.return();case 2:if(a.U&&a.U("nwl_consider_error_code")&&!g&&a.potentialEsfErrorCounter>a.jc)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 $p(a){if(!Yp(a))throw Error("IndexedDB is not supported: retryQueuedRequests");a.da.jd("QUEUED",a.T).then(function(b){b&&!cq(a,b,a.vd)?a.Da.oa(function(){return A(function(c){if(1==c.h)return void 0===b.id?c.B(2):c.yield(a.da.Pc(b.id,a.T),2);$p(a);c.h=0})}):a.aa.wa()&&a.Pb()})} function bq(a,b){a.Md&&!a.aa.wa()?a.Md(b):a.handleError(b)} function Yp(a){return!!a.T||a.Ub} function eq(a){var b;return(a=null==a?void 0:null==(b=a.error)?void 0:b.code)&&400<=a&&599>=a?!1:!0} function fq(a){var b;a=null==a?void 0:null==(b=a.error)?void 0:b.code;return!(400!==a&&415!==a)} ;var gq; function hq(){if(gq)return gq();var a={};gq=Oo("LogsDatabaseV2",{xb:(a.LogsRequestsStore={Cb:2},a),nc:!1,upgrade:function(b,c,d){c(2)&&Tn(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.h.indexNames.contains("newRequest")&&d.h.deleteIndex("newRequest"),$n(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 gq()} ;function iq(a){return no(hq(),a)} function jq(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(iq(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(Vn(d,"LogsRequestsStore",e),3);f=g.i;c.ticks.tc=W();kq(c);return g.return(f)})} function lq(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(iq(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(Sn(d,["LogsRequestsStore"],{mode:"readwrite",ia:!0},function(p){return go(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();kq(c);return n.return(l)})} function mq(a,b){var c;return A(function(d){if(1==d.h)return d.yield(iq(b),2);c=d.i;return d.return(Sn(c,["LogsRequestsStore"],{mode:"readwrite",ia:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(g){if(g)return g.status="QUEUED",On(f.h.put(g,void 0)).then(function(){return g})})}))})} function nq(a,b,c,d){c=void 0===c?!0:c;var e;return A(function(f){if(1==f.h)return f.yield(iq(b),2);e=f.i;return f.return(Sn(e,["LogsRequestsStore"],{mode:"readwrite",ia:!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),On(h.h.put(k,void 0)).then(function(){return k})):In.resolve(void 0)})}))})} function oq(a,b){var c;return A(function(d){if(1==d.h)return d.yield(iq(b),2);c=d.i;return d.return(c.delete("LogsRequestsStore",a))})} function pq(a){var b,c;return A(function(d){if(1==d.h)return d.yield(iq(a),2);b=d.i;c=W()-2592E6;return d.yield(Sn(b,["LogsRequestsStore"],{mode:"readwrite",ia:!0},function(e){return bo(e.objectStore("LogsRequestsStore"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return co(f)})})}),0)})} function qq(){A(function(a){return a.yield(Ko(),0)})} function kq(a){T("nwl_csi_killswitch")||up("networkless_performance",a,{sampleRate:1})} ;var rq={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 sq={},tq=Oo("ServiceWorkerLogsDatabase",{xb:(sq.SWHealthLog={Cb:1},sq),nc:!0,upgrade:function(a,b){b(1)&&$n(Tn(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, version:1});function uq(a){return no(tq(),a)} function vq(a){var b,c;A(function(d){if(1==d.h)return d.yield(uq(a),2);b=d.i;c=W()-2592E6;return d.yield(Sn(b,["SWHealthLog"],{mode:"readwrite",ia:!0},function(e){return bo(e.objectStore("SWHealthLog"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return co(f)})})}),0)})} function wq(a){var b;return A(function(c){if(1==c.h)return c.yield(uq(a),2);b=c.i;return c.yield(b.clear("SWHealthLog"),0)})} ;var xq={},yq=0;function zq(a){var b=new Image,c=""+yq++;xq[c]=b;b.onload=b.onerror=function(){delete xq[c]}; b.src=a} ;function Aq(){this.h=new Map;this.i=!1} function Bq(){if(!Aq.h){var a=E("yt.networkRequestMonitor.instance")||new Aq;D("yt.networkRequestMonitor.instance",a);Aq.h=a}return Aq.h} Aq.prototype.requestComplete=function(a,b){b&&(this.i=!0);a=this.removeParams(a);this.h.get(a)||this.h.set(a,b)}; Aq.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.h.get(a))?!1:!1===a&&this.i?!0:null}; Aq.prototype.removeParams=function(a){return a.split("?")[0]}; Aq.prototype.removeParams=Aq.prototype.removeParams;Aq.prototype.isEndpointCFR=Aq.prototype.isEndpointCFR;Aq.prototype.requestComplete=Aq.prototype.requestComplete;Aq.getInstance=Bq;var Cq;function Dq(){Cq||(Cq=new cn("yt.offline"));return Cq} function Eq(a){if(T("offline_error_handling")){var b=Dq().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);Dq().set("errors",b,2592E3,!0)}} ;function Fq(){Id.call(this);var a=this;this.j=!1;this.i=vi();this.i.listen("networkstatus-online",function(){if(a.j&&T("offline_error_handling")){var b=Dq().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;$k(d)}Dq().set("errors",{},2592E3,!0)}}})} w(Fq,Id);function Gq(){if(!Fq.h){var a=E("yt.networkStatusManager.instance")||new Fq;D("yt.networkStatusManager.instance",a);Fq.h=a}return Fq.h} m=Fq.prototype;m.wa=function(){return this.i.wa()}; m.gb=function(a){this.i.i=a}; m.ke=function(){var a=window.navigator.onLine;return void 0===a?!0:a}; m.Zd=function(){this.j=!0}; m.listen=function(a,b){return this.i.listen(a,b)}; m.mc=function(a){a=ti(this.i,a);a.then(function(b){T("use_cfr_monitor")&&Bq().requestComplete("generate_204",b)}); return a}; Fq.prototype.sendNetworkCheckRequest=Fq.prototype.mc;Fq.prototype.listen=Fq.prototype.listen;Fq.prototype.enableErrorFlushing=Fq.prototype.Zd;Fq.prototype.getWindowStatus=Fq.prototype.ke;Fq.prototype.networkStatusHint=Fq.prototype.gb;Fq.prototype.isNetworkAvailable=Fq.prototype.wa;Fq.getInstance=Gq;function Hq(a){a=void 0===a?{}:a;Id.call(this);var b=this;this.i=this.m=0;this.j=Gq();var c=E("yt.networkStatusManager.instance.listen").bind(this.j);c&&(a.rateLimit?(this.rateLimit=a.rateLimit,c("networkstatus-online",function(){Iq(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){Iq(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){Jd(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){Jd(b,"publicytnetworkstatus-offline")})))} w(Hq,Id);Hq.prototype.wa=function(){var a=E("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.j)():!0}; Hq.prototype.gb=function(a){var b=E("yt.networkStatusManager.instance.networkStatusHint").bind(this.j);b&&b(a)}; Hq.prototype.mc=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")&&Bq().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.gb((null==(f=window.navigator)?void 0:f.onLine)||!0);e(b.wa())})):c?d.return(c(a)):d.return(!0)})}; function Iq(a,b){a.rateLimit?a.i?(wi.pa(a.m),a.m=wi.oa(function(){a.l!==b&&(Jd(a,b),a.l=b,a.i=W())},a.rateLimit-(W()-a.i))):(Jd(a,b),a.l=b,a.i=W()):Jd(a,b)} ;var Jq;function Kq(){var a=Xp.call;Jq||(Jq=new Hq({gg:!0,Zf:!0}));a.call(Xp,this,{da:{Ud:pq,nb:oq,jd:lq,xe:mq,Pc:nq,set:jq},aa:Jq,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;al(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 $k(b)}, pb:al,sendFn:Lq,now:W,Md:Eq,Da:bn(),Oc:"publicytnetworkstatus-online",Lc:"publicytnetworkstatus-offline",Zb:!0,Xb:.1,jc:U("potential_esf_error_limit",10),U:T,Fb:!(sm()&&Mq())});this.j=new hi;T("networkless_immediately_drop_all_requests")&&qq();Lo("LogsDatabaseV2")} w(Kq,Xp);function Nq(){var a=E("yt.networklessRequestController.instance");a||(a=new Kq,D("yt.networklessRequestController.instance",a),T("networkless_logging")&&Ao().then(function(b){a.T=b;Zp(a);a.j.resolve();a.Zb&&Math.random()<=a.Xb&&a.T&&vq(a.T);T("networkless_immediately_drop_sw_health_store")&&Oq(a)})); return a} Kq.prototype.writeThenSend=function(a,b){b||(b={});b=Pq(a,b);sm()||(this.h=!1);Xp.prototype.writeThenSend.call(this,a,b)}; Kq.prototype.sendThenWrite=function(a,b,c){b||(b={});b=Pq(a,b);sm()||(this.h=!1);Xp.prototype.sendThenWrite.call(this,a,b,c)}; Kq.prototype.sendAndWrite=function(a,b){b||(b={});b=Pq(a,b);sm()||(this.h=!1);Xp.prototype.sendAndWrite.call(this,a,b)}; Kq.prototype.awaitInitialization=function(){return this.j.promise}; function Oq(a){var b;A(function(c){if(!a.T)throw b=En("clearSWHealthLogsDb"),b;return c.return(wq(a.T).catch(function(d){a.handleError(d)}))})} function Lq(a,b,c,d){d=void 0===d?!1:d;b=T("web_fp_via_jspb")?Object.assign({},b):b;T("use_cfr_monitor")&&Qq(a,b);if(T("use_request_time_ms_header"))b.headers&&kl(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)xl(a,void 0,"POST",f,void 0);else if(S("USE_NET_AJAX_FOR_PING_TRANSPORT", !1)||h)xl(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=zc(Ac(5,a)),n;if(!(n=!l||!l.endsWith("/aclk"))){var p=a.search(Ic),r=Hc(a,0,"ri",p);if(0>r)var t=null;else{var y=a.indexOf("&",r);if(0>y||y>p)y=p;t=decodeURIComponent(a.slice(r+3,-1!==y?y:0).replace(/\+/g," "))}n="1"!==t}var z=!n;break b}}catch(J){}z=!1}if(z){b:{try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")){var x=!0;break b}}catch(J){}x=!1}c=x?!0:!1}else c= !1;c||zq(a)}}else b.compress?b.postBody?("string"!==typeof b.postBody&&(b.postBody=JSON.stringify(b.postBody)),Mp(a,b.postBody,b,Bl,d)):Mp(a,JSON.stringify(b.postParams),b,Al,d):Bl(a,b)} function Pq(a,b){T("use_event_time_ms_header")&&kl(a)&&(b.headers||(b.headers={}),b.headers["X-Goog-Event-Time"]=JSON.stringify(Math.round(W())));return b} function Qq(a,b){var c=b.onError?b.onError:function(){}; b.onError=function(e,f){Bq().requestComplete(a,!1);c(e,f)}; var d=b.onSuccess?b.onSuccess:function(){}; b.onSuccess=function(e,f){Bq().requestComplete(a,!0);d(e,f)}} function Mq(){return"www.youtube-nocookie.com"!==Bc(document.location.toString())} ;var Rq=!1,Sq=C.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:Rq};D("ytNetworklessLoggingInitializationOptions",Sq);function Tq(){var a;A(function(b){if(1==b.h)return b.yield(Ao(),2);a=b.i;if(!a||!sm()&&!T("nwl_init_require_datasync_id_killswitch")||!Mq())return b.B(0);Rq=!0;Sq.isNwlInitialized=Rq;return b.yield(Nq().awaitInitialization(),0)})} ;function Uq(a){var b=this;this.config_=null;a?this.config_=a:bp()&&(this.config_=cp());wm(function(){Vp(b)},5E3)} Uq.prototype.isReady=function(){!this.config_&&bp()&&(this.config_=cp());return!!this.config_}; function Wp(a,b,c,d){function e(y){y=void 0===y?!1:y;var z;if(d.retry&&"www.youtube-nocookie.com"!=h&&(y||T("skip_ls_gel_retry")||"application/json"!==g.headers["Content-Type"]||(z=Tp(b,c,l,k)),z)){var x=g.onSuccess,J=g.onFetchSuccess;g.onSuccess=function(N,da){Up(z);x(N,da)}; c.onFetchSuccess=function(N,da){Up(z);J(N,da)}}try{if(y&&d.retry&&!d.networklessOptions.bypassNetworkless)g.method="POST",d.networklessOptions.writeThenSend?Nq().writeThenSend(t,g):Nq().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));Mp(t,R,g,Bl,G)}else Mp(t,JSON.stringify(g.postParams),g,Al,G)}else T("web_all_payloads_via_jspb")?Bl(t,g):Al(t,g)}catch(N){if("InvalidAccessError"===N.name)z&&(Up(z),z=0),al(Error("An extension is blocking network request."));else throw N;}z&&wm(function(){Vp(a)},5E3)} !S("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&al(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);$k(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(y,z){if(d.onSuccess)d.onSuccess(z)}, onFetchSuccess:function(y){if(d.onSuccess)d.onSuccess(y)}, onError:function(y,z){if(d.onError)d.onError(z)}, onFetchError:function(y){if(d.onError)d.onError(y)}, timeout:d.timeout,withCredentials:!0,compress:d.compress};g.headers["Content-Type"]||(g.headers["Content-Type"]="application/json");var h="";(f=a.config_.re)&&(h=f);var k=a.config_.te||!1,l=ep(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_.se&&f;r=r&&f.startsWith("Bearer");r||(p.key=a.config_.innertubeApiKey);var t=jl(""+h+n,p||{},!0);(E("ytNetworklessLoggingInitializationOptions")? Sq.isNwlInitialized:Rq)?yo().then(function(y){e(y)}):e(!1)} ;var Vq=0,Wq=ad?"webkit":$c?"moz":Yc?"ms":Xc?"o":"";D("ytDomDomGetNextId",E("ytDomDomGetNextId")||function(){return++Vq});var Xq={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 Yq(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 Xq||(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 Zq(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}} Yq.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; Yq.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; Yq.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Ob=C.ytEventsEventsListeners||{};D("ytEventsEventsListeners",Ob);var $q=C.ytEventsEventsCounter||{count:0};D("ytEventsEventsCounter",$q); function ar(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 Nb(function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,g=Ra(e[4])&&Ra(d)&&Sb(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||g)})} function br(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=ar(a,b,c,d);if(e)return e;e=++$q.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var g=f?function(h){h=new Yq(h);if(!Td(h.relatedTarget,function(k){return k==a}))return h.currentTarget=a,h.type=b,c.call(a,h)}:function(h){h=new Yq(h); h.currentTarget=a;return c.call(a,h)}; g=Zk(g);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),cr()||"boolean"===typeof d?a.addEventListener(b,g,d):a.addEventListener(b,g,!!d.capture)):a.attachEvent("on"+b,g);Ob[e]=[a,b,c,g,d];return e} function dr(a){a&&("string"==typeof a&&(a=[a]),Fb(a,function(b){if(b in Ob){var c=Ob[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?cr()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete Ob[b]}}))} var cr=Od(function(){var a=!1;try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a});function er(a){this.D=a;this.h=null;this.l=0;this.A=null;this.m=0;this.i=[];for(a=0;4>a;a++)this.i.push(0);this.j=0;this.V=br(window,"mousemove",Xa(this.Y,this));a=Xa(this.R,this);"function"===typeof a&&(a=Zk(a));this.ba=window.setInterval(a,25)} $a(er,H);er.prototype.Y=function(a){void 0===a.h&&Zq(a);var b=a.h;void 0===a.i&&Zq(a);this.h=new Pd(b,a.i)}; er.prototype.R=function(){if(this.h){var a=W();if(0!=this.l){var b=this.A,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.D();this.m=d}this.l=a;this.A=this.h;this.j=(this.j+1)%4}}; er.prototype.S=function(){window.clearInterval(this.ba);dr(this.V)};var fr={}; function gr(a){var b=void 0===a?{}:a;a=void 0===b.He?!1:b.He;b=void 0===b.ae?!0:b.ae;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&&hr();br(document,"keydown",hr);br(document,"keyup",hr);br(document,"mousedown",hr);br(document,"mouseup",hr);a?br(window,"touchmove",function(){ir("touchmove",200)},{passive:!0}):(br(window,"resize",function(){ir("resize",200)}),b&&br(window,"scroll",function(){ir("scroll",200)})); new er(function(){ir("mouse",100)}); br(document,"touchstart",hr,{passive:!0});br(document,"touchend",hr,{passive:!0})}} function ir(a,b){fr[a]||(fr[a]=!0,wi.oa(function(){hr();fr[a]=!1},b))} function hr(){null==E("_lact",window)&&gr();var a=Date.now();D("_lact",a,window);-1==E("_fact",window)&&D("_fact",a,window);(a=E("ytglobal.ytUtilActivityCallback_"))&&a()} function jr(){var a=E("_lact",window);return null==a?-1:Math.max(Date.now()-a,0)} ;var kr=C.ytPubsubPubsubInstance||new L,lr=C.ytPubsubPubsubSubscribedKeys||{},mr=C.ytPubsubPubsubTopicToKeys||{},nr=C.ytPubsubPubsubIsSynchronous||{};function or(a,b){var c=pr();if(c&&b){var d=c.subscribe(a,function(){function e(){lr[d]&&b.apply&&"function"==typeof b.apply&&b.apply(window,f)} var f=arguments;try{nr[a]?e():ql(e,0)}catch(g){$k(g)}},void 0); lr[d]=!0;mr[a]||(mr[a]=[]);mr[a].push(d);return d}return 0} function qr(a){var b=pr();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),Fb(a,function(c){b.unsubscribeByKey(c);delete lr[c]}))} function ur(a,b){var c=pr();c&&c.publish.apply(c,arguments)} function vr(a){var b=pr();if(b)if(b.clear(a),a)wr(a);else for(var c in mr)wr(c)} function pr(){return C.ytPubsubPubsubInstance} function wr(a){mr[a]&&(a=mr[a],Fb(a,function(b){lr[b]&&delete lr[b]}),a.length=0)} L.prototype.subscribe=L.prototype.subscribe;L.prototype.unsubscribeByKey=L.prototype.Ab;L.prototype.publish=L.prototype.Ya;L.prototype.clear=L.prototype.clear;D("ytPubsubPubsubInstance",kr);D("ytPubsubPubsubTopicToKeys",mr);D("ytPubsubPubsubIsSynchronous",nr);D("ytPubsubPubsubSubscribedKeys",lr);var xr=Symbol("injectionDeps");function yr(a){this.name=a} yr.prototype.toString=function(){return"InjectionToken("+this.name+")"}; function zr(a){this.key=a} function Ar(){this.i=new Map;this.j=new Map;this.h=new Map} function Br(a,b){a.i.set(b.lc,b);var c=a.j.get(b.lc);c&&c.mg(a.resolve(b.lc))} Ar.prototype.resolve=function(a){return a instanceof zr?Cr(this,a.key,[],!0):Cr(this,a,[])}; function Cr(a,b,c,d){d=void 0===d?!1:d;if(-1=d.length&&Zr(b)===d[0])return d;for(var e=[],f=0;f=a?ns||(ns=Cs(function(){e();ns=void 0},0)):10<=g-k&&(Ds(f,c.tier),h.l=g)} function ys(a,b){if("log_event"===a.endpoint){us();var c=vs(a),d=new Map;d.set(c,[a.payload]);var e=ws(a.payload)||"";b&&(hs=new b);return new fe(function(f,g){hs&&hs.isReady()?Es(d,hs,f,g,{bypassNetworkless:!0},!0,"gelDebuggingEvent"===e):f()})}} function vs(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);qs[a.cttAuthInfo.token]=c;b=a.cttAuthInfo.token}return b} function As(a,b,c,d){a=void 0===a?{}:a;c=void 0===c?!1:c;new fe(function(e,f){var g=Bs(c,d),h=g.j;g.j=!1;Fs(g.i);Fs(g.h);g.h=0;hs&&hs.isReady()?void 0===d&&T("enable_web_tiered_gel")?Gs(e,f,a,b,c,300,h):Gs(e,f,a,b,c,d,h):(Ds(c,d),e())})} function Gs(a,b,c,d,e,f,g){var h=hs;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")?ss().smartExtractMatchingEntries({keys:[l,e],sizeLimit:1E3}):ss().extractMatchingEntries(e),k.set(d,f);else for(d=v(Object.keys(rs)),l=d.next();!l.done;l=d.next())l=l.value,e=T("enable_web_tiered_gel")?ss().smartExtractMatchingEntries({keys:[{isJspb:!1,cttAuthInfo:l,tier:f}, {isJspb:!1,cttAuthInfo:l}],sizeLimit:1E3}):ss().extractMatchingEntries({isJspb:!1,cttAuthInfo:l}),0=gs&&c():c()},e); d.i=e} function Es(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={Kc:void 0,batchRequest:void 0,dangerousLogToVisitorSession:void 0,Nc:void 0,Mc:void 0},n=a.next()){var p=v(n.value);n=p.next().value;p=p.next().value;g.batchRequest=Ub({context:dp(b.config_||cp())});if(!Qa(p)&&!T("throw_err_when_logevent_malformed_killswitch")){d();break}g.batchRequest.events=p;(p=qs[n])&& Hs(g.batchRequest,n,p);delete qs[n];g.dangerousLogToVisitorSession="visitorOnlyApprovedKey"===n;Is(g.batchRequest,h,g.dangerousLogToVisitorSession);T("always_send_and_write")&&(e.writeThenSend=!1);g.Nc=function(r){T("start_client_gcf")&&wi.oa(function(){return A(function(t){return t.yield(Js(r),0)})}); k--;k||c()}; g.Kc=0;g.Mc=function(r){return function(){r.Kc++;if(e.bypassNetworkless&&1===r.Kc)try{Wp(b,l,r.batchRequest,Ks({writeThenSend:!0},r.dangerousLogToVisitorSession,r.Nc,r.Mc,f)),ps=!1}catch(t){$k(t),d()}k--;k||c()}}(g); try{Wp(b,l,g.batchRequest,Ks(e,g.dangerousLogToVisitorSession,g.Nc,g.Mc,f)),ps=!1}catch(r){$k(r),d()}}} function Ks(a,b,c,d,e){a={retry:!0,onSuccess:c,onError:d,networklessOptions:a,dangerousLogToVisitorSession:b,Wf:!!e,headers:{},postBodyFormat:"",postBody:"",compress:T("compress_gel")||T("compress_gel_lr")};Ls()&&(a.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round(W())));return a} function Is(a,b,c){Ls()||(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()*es/2)),c++,c>es&&(c=1),Vk("BATCH_CLIENT_COUNTER",c),a.serializedClientEventId={serializedEventId:b,clientCounter:String(c)})} function Hs(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 us(){var a;(a=E("yt.logging.transport.enableScrapingForTest"))||(a=sl("il_payload_scraping"),a="enable_il_payload_scraping"!==(void 0!==a?String(a):""));a||(Xr=[],D("yt.logging.transport.enableScrapingForTest",!0),D("yt.logging.transport.scrapedPayloadsForTesting",Xr),D("yt.logging.transport.payloadToScrape","visualElementShown visualElementHidden visualElementAttached screenCreated visualElementGestured visualElementStateChanged".split(" ")),D("yt.logging.transport.getScrapedPayloadFromClientEventsFunction"), D("yt.logging.transport.scrapeClientEvent",!0))} function Ls(){return T("use_request_time_ms_header")||T("lr_use_request_time_ms_header")} function Cs(a,b){return!1===T("embeds_transport_use_scheduler")?ql(a,b):T("logging_avoid_blocking_during_navigation")||T("lr_logging_avoid_blocking_during_navigation")?wm(function(){if("none"===Wr().currentState)a();else{var c={};Wr().install((c.none={callback:a},c))}},b):wm(a,b)} function Fs(a){T("transport_use_scheduler")?wi.pa(a):window.clearTimeout(a)} function Js(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=bs(d,Ak),g=null==(f=d)?void 0:f.hotHashData,h=bs(d,zk),l=null==(k=d)?void 0:k.coldHashData,(n=Fr().resolve(new zr(Xo)))?g?e?p.yield(Zo(n,g,e),2):p.yield(Zo(n,g),2):p.B(2):p.return()):l?h?p.yield($o(n,l,h),0):p.yield($o(n,l),0):p.B(0)})} function Bs(a,b){b=void 0===b?200:b;return a?300===b?ms:ks:300===b?ls:js} function ws(a){a=Object.keys(a);a=v(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,rq[b])return b} function xs(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 Ms=C.ytLoggingGelSequenceIdObj_||{};D("ytLoggingGelSequenceIdObj_",Ms); function Ns(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;cf&&(c=a.substring(f,e),c=c.replace(Wt,""),c=c.replace(Xt,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else Zt(a,b,c)} function Zt(a,b,c){c=void 0===c?null:c;var d=$t(a),e=document.getElementById(d),f=e&&Kt(e),g=e&&!f;f?b&&b():(b&&(f=or(d,b),b=""+Sa(b),au[b]=f),g||(e=bu(a,d,function(){Kt(e)||(It(e),ur(d),ql(function(){vr(d)},0))},c)))} function bu(a,b,c,d){d=void 0===d?null:d;var e=Sd("SCRIPT");e.id=b;e.onload=function(){c&&setTimeout(c,0)}; e.onreadystatechange=function(){switch(e.readyState){case "loaded":case "complete":e.onload()}}; d&&e.setAttribute("nonce",d);sc(e,xk(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e} function cu(a){a=$t(a);var b=document.getElementById(a);b&&(vr(a),b.parentNode.removeChild(b))} function du(a,b){a&&b&&(a=""+Sa(b),(a=au[a])&&qr(a))} function $t(a){var b=document.createElement("a");Ab(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+xc(a)} var au={};var eu=/cssbin\/(?:debug-)?([a-zA-Z0-9_-]+?)(?:-2x|-web|-rtl|-vfl|.css)/;function fu(a){a=a||"";if(T("web_simple_styleloader"))gu(a);else if(window.spf){var b=a.match(eu);spf.style.load(a,b?b[1]:"",void 0)}else gu(a)} function gu(a){var b=hu(a),c=document.getElementById(b),d=c&&Kt(c);d||c&&!d||(c=iu(a,b,function(){if(!Kt(c)){It(c);ur(b);var e=Ya(vr,b);ql(e,0)}}))} function iu(a,b,c){var d=document.createElement("link");d.id=b;d.onload=function(){c&&setTimeout(c,0)}; a=xk(a);nc(d,a);(document.getElementsByTagName("head")[0]||document.body).appendChild(d);return d} function hu(a){var b=Sd("A");Ab(b,new sb(a,tb));a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"css-"+xc(a)} ;function ju(a){var b=B.apply(1,arguments);if(!ku(a)||b.some(function(d){return!ku(d)}))throw Error("Only objects may be merged."); b=v(b);for(var c=b.next();!c.done;c=b.next())lu(a,c.value)} function lu(a,b){for(var c in b)if(ku(b[c])){if(c in a&&!ku(a[c]))throw Error("Cannot merge an object into a non-object.");c in a||(a[c]={});lu(a[c],b[c])}else if(mu(b[c])){if(c in a&&!mu(a[c]))throw Error("Cannot merge an array into a non-array.");c in a||(a[c]=[]);nu(a[c],b[c])}else a[c]=b[c];return a} function nu(a,b){b=v(b);for(var c=b.next();!c.done;c=b.next())c=c.value,ku(c)?a.push(lu({},c)):mu(c)?a.push(nu([],c)):a.push(c);return a} function ku(a){return"object"===typeof a&&!Array.isArray(a)} function mu(a){return"object"===typeof a&&Array.isArray(a)} ;function ou(a){a=void 0===a?!1:a;H.call(this);this.h=new L(a);Rc(this,this.h)} $a(ou,H);ou.prototype.subscribe=function(a,b,c){return this.Z()?0:this.h.subscribe(a,b,c)}; ou.prototype.unsubscribe=function(a,b,c){return this.Z()?!1:this.h.unsubscribe(a,b,c)}; ou.prototype.l=function(a,b){this.Z()||this.h.Ya.apply(this.h,arguments)};var pu="absolute_experiments app conditional_experiments debugcss debugjs expflag forced_experiments pbj pbjreload sbb spf spfreload sr_bns_address sttick".split(" "); function qu(a,b){var c=void 0===c?!0:c;var d=S("VALID_SESSION_TEMPDATA_DOMAINS",[]),e=Bc(window.location.href);e&&d.push(e);e=Bc(a);if(0<=Eb(d,e)||!e&&0==a.lastIndexOf("/",0))if(d=document.createElement("a"),Ab(d,a),a=d.href)if(a=Cc(a),a=Dc(a))if(c&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:mt()},b)),f){var f=parseInt(f,10);isFinite(f)&&0d.length)){for(var f=Au({cttAuthInfo:ot(b)||void 0},b),g=v(d),h=g.next();!h.done;h=g.next()){h=h.value;var k=h.getAsJson();(Pb(k)||!k.trackingParams&&!k.veType)&&Vs(Error("Child VE logged with no data"));if(T("no_client_ve_attach_unless_shown")){var l=Bu(h,b);if(k.veType&&!xu.has(l)&&!yu.has(l)&&!e){if(!T("il_attach_cache_limit")||1E3>wu.size){wu.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")||Vs(c)),!0):!1} ;var vv=window;function wv(){this.timing={};this.clearResourceTimings=function(){}; this.webkitClearResourceTimings=function(){}; this.mozClearResourceTimings=function(){}; this.msClearResourceTimings=function(){}; this.oClearResourceTimings=function(){}} function xv(){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=yv(e.requestStart),e.responseEnd=yv(e.responseEnd),e.redirectStart=yv(e.redirectStart),e.redirectEnd=yv(e.redirectEnd),e.domainLookupEnd=yv(e.domainLookupEnd),e.connectStart=yv(e.connectStart),e.connectEnd= yv(e.connectEnd),e.responseStart=yv(e.responseStart),e.secureConnectionStart=yv(e.secureConnectionStart),e.domainLookupStart=yv(e.domainLookupStart),e.isPerformanceNavigationTiming=!0,a=e):a=Y.timing}else a=Y.timing;return a} function yv(a){return Math.round(zv()+a)} function zv(){return(T("csi_use_time_origin")||T("csi_use_time_origin_tvhtml5"))&&Y.timeOrigin?Math.floor(Y.timeOrigin):Y.timing.navigationStart} var Y=vv.performance||vv.mozPerformance||vv.msPerformance||vv.webkitPerformance||new wv;var Av=!1,Bv=!1,Cv={'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||Nd,Y);function Dv(a,b){if(!T("web_csi_action_sampling_enabled")||!fv(b).actionDisabled){var c=nv(b||"");ju(c.info,a);a.loadType&&(c=a.loadType,hv(b).loadType=c);ju(kv(b),a);c=lv(b);b=fv(b).cttAuthInfo;tv().info(a,c,b)}} function Ev(){var a,b,c,d;return(null!=(d=null==Fr().resolve(new zr(Xo))?void 0:null==(a=Yo())?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")||!fv(c).actionDisabled){var d=lv(c),e;if(e=T("web_csi_debug_sample_enabled")&&d){(null==Fr().resolve(new zr(Xo))?0:Yo())&&!Bv&&(Bv=!0,Z("gcfl",W(),c));var f,g,h;e=(null==Fr().resolve(new zr(Xo))?void 0:null==(f=Yo())?void 0:null==(g=f.loggingHotConfig)?void 0:null==(h=g.csiConfig)?void 0:h.debugSampleWeight)||0;if(f=0!==e)b:{f=Ev();if(0c.duration?d:c},{duration:0}))&&0=zv()&&0>>0);function Bx(a,b){var c="player",d=!1;d=void 0===d?!0:d;c="string"===typeof c?Rd(c):c;var e=Ax+"_"+Sa(c),f=zx[e];if(f&&d)return Cx(a,b)?f.api.loadVideoByPlayerVars(a.args||null):f.loadNewVideoConfig(a),f.api;f=new hx(c,e,a,b,void 0);zx[e]=f;f.addOnDisposeCallback(function(){delete zx[f.getId()]}); return f.api} function Cx(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 Dx=null,Ex=null,Fx=null; function Gx(){Rv();var a=im(),b=lm(119),c=1