(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var m;function aa(a){var b=0;return function(){return b>>0)+"_",e=0;return b}); t("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}}); t("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}}); t("Object.setPrototypeOf",function(a){return a||na}); var Ca="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;cc&&(c=Math.max(c+e,0));c>>0),Ma=0;function Na(a,b,c){return a.call.apply(a.bind,arguments)} function Oa(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b):a[b]} function ab(a,b){b=Wa(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c} function bb(a){var b=a.length;if(0/g,Db=/"/g,Eb=/'/g,Fb=/\x00/g,Gb=/[\x00&<>"']/;function Hb(a,b){this.h=b===Ib?a:""} m=Hb.prototype;m.S=!0;m.R=function(){return this.h.toString()}; m.xa=!0;m.sa=function(){return 1}; m.toString=function(){return this.h.toString()}; function Jb(a){if(a instanceof Hb&&a.constructor===Hb)return a.h;Ga(a);return"type_error:SafeUrl"} var Kb=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),Lb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Mb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Ib={},Nb=new Hb("about:invalid#zClosurez",Ib);var Ob;a:{var Pb=y.navigator;if(Pb){var Qb=Pb.userAgent;if(Qb){Ob=Qb;break a}}Ob=""}function G(a){return-1!=Ob.indexOf(a)} ;var Rb={};function Sb(a,b,c){this.h=c===Rb?a:"";this.i=b;this.S=this.xa=!0} Sb.prototype.sa=function(){return this.i}; Sb.prototype.R=function(){return this.h.toString()}; Sb.prototype.toString=function(){return this.h.toString()}; function Tb(a,b){var c=pb();a=c?c.createHTML(a):a;return new Sb(a,b,Rb)} ;function Ub(a,b){b instanceof Hb||b instanceof Hb||(b="object"==typeof b&&b.S?b.R():String(b),Mb.test(b)||(b="about:invalid#zClosurez"),b=new Hb(b,Ib));a.href=Jb(b)} function Vb(a,b){a.rel="stylesheet";a.href=xb(b).toString();(b=Wb('style[nonce],link[rel="stylesheet"][nonce]',a.ownerDocument&&a.ownerDocument.defaultView))&&a.setAttribute("nonce",b)} function Xb(){return Wb("script[nonce]",void 0)} var Yb=/^[\w+/_-]+[=]{0,2}$/;function Wb(a,b){b=(b||y).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&Yb.test(a)?a:"":""} ;function Zb(a){for(var b=0,c=0;c>>0;return b} ;var $b=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function ac(a){return a?decodeURI(a):a} function bc(a){return ac(a.match($b)[3]||null)} function cc(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.substr(0,d),e,a.substr(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} var fc=/#|$/;function H(a,b){var c=void 0;return new (c||(c=Promise))(function(d,e){function f(k){try{h(b.next(k))}catch(l){e(l)}} function g(k){try{h(b["throw"](k))}catch(l){e(l)}} function h(k){k.done?d(k.value):(new c(function(l){l(k.value)})).then(f,g)} h((b=b.apply(a,void 0)).next())})} ;function gc(){return G("iPhone")&&!G("iPod")&&!G("iPad")} ;function hc(a){hc[" "](a);return a} hc[" "]=Ea;var ic=G("Opera"),jc=G("Trident")||G("MSIE"),kc=G("Edge"),lc=G("Gecko")&&!(-1!=Ob.toLowerCase().indexOf("webkit")&&!G("Edge"))&&!(G("Trident")||G("MSIE"))&&!G("Edge"),mc=-1!=Ob.toLowerCase().indexOf("webkit")&&!G("Edge"),nc=G("Android");function oc(){var a=y.document;return a?a.documentMode:void 0} var pc;a:{var qc="",rc=function(){var a=Ob;if(lc)return/rv:([^\);]+)(\)|;)/.exec(a);if(kc)return/Edge\/([\d\.]+)/.exec(a);if(jc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(mc)return/WebKit\/(\S+)/.exec(a);if(ic)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); rc&&(qc=rc?rc[1]:"");if(jc){var sc=oc();if(null!=sc&&sc>parseFloat(qc)){pc=String(sc);break a}}pc=qc}var tc=pc,uc;if(y.document&&jc){var vc=oc();uc=vc?vc:parseInt(tc,10)||void 0}else uc=void 0;var wc=uc;var xc=gc()||G("iPod"),yc=G("iPad"),zc=G("Safari")&&!((G("Chrome")||G("CriOS"))&&!G("Edge")||G("Coast")||G("Opera")||G("Edge")||G("Edg/")||G("OPR")||G("Firefox")||G("FxiOS")||G("Silk")||G("Android"))&&!(gc()||G("iPad")||G("iPod"));var Ac={},Bc=null; function Cc(a){var b=3;Ha(a);void 0===b&&(b=0);if(!Bc){Bc={};for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++){var f=c.concat(d[e].split(""));Ac[e]=f;for(var g=0;g>2];k=b[(k&3)<<4|l>>4];l=b[(l&15)<<2|h>>6];h=b[h&63];c[e++]=""+g+k+l+h}g=0;h=d;switch(a.length- f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=""+b[a>>2]+b[(a&3)<<4|g>>4]+h+d}return c.join("")} ;var Dc={Kl:{value:!0,configurable:!0}};var Ec=Object,Fc=Ec.freeze,Gc=[];Array.isArray(Gc)&&!Object.isFrozen(Gc)&&Object.defineProperties(Gc,Dc);Fc.call(Ec,Gc);var K=window;sb("csi.gstatic.com");sb("googleads.g.doubleclick.net");sb("pagead2.googlesyndication.com");sb("partner.googleadservices.com");sb("pubads.g.doubleclick.net");sb("securepubads.g.doubleclick.net");sb("tpc.googlesyndication.com");var Hc={};function Ic(){} function Jc(a,b){if(b!==Hc)throw Error("Bad secret");this.h=a} v(Jc,Ic);Jc.prototype.toString=function(){return this.h}; var Kc=new Jc("about:invalid#zTSz",Hc);function Lc(a){if(a instanceof Ic)if(a instanceof Jc)a=a.h;else throw Error("wrong type");else a=Jb(a);return a} ;function Mc(a,b){a.src=xb(b);var c;b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document;var d=null===(c=b.querySelector)||void 0===c?void 0:c.call(b,"script[nonce]");(c=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)} ;function Nc(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0} m=Nc.prototype;m.clone=function(){return new Nc(this.x,this.y)}; m.equals=function(a){return a instanceof Nc&&(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};function Oc(a,b){this.width=a;this.height=b} m=Oc.prototype;m.clone=function(){return new Oc(this.width,this.height)}; m.aspectRatio=function(){return this.width/this.height}; m.isEmpty=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};function Pc(a){var b=document;return"string"===typeof a?b.getElementById(a):a} function Qc(a,b){db(b,function(c,d){c&&"object"==typeof c&&c.S&&(c=c.R());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Rc.hasOwnProperty(d)?a.setAttribute(Rc[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})} var Rc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function Sc(a,b,c){var d=arguments,e=document,f=d[1],g=Tc(e,String(d[0]));f&&("string"===typeof f?g.className=f:Array.isArray(f)?g.className=f.join(" "):Qc(g,f));2p;p+=4)r[p/4]=q[p]<<24|q[p+1]<<16|q[p+2]<<8|q[p+3];for(p=16;80>p;p++)q=r[p-3]^r[p-8]^r[p-14]^r[p-16],r[p]=(q<<1|q>>>31)&4294967295;q=e[0];var A=e[1],I=e[2],E=e[3],Q=e[4];for(p=0;80>p;p++){if(40>p)if(20>p){var V=E^A&(I^E);var J=1518500249}else V=A^I^E,J=1859775393;else 60>p?(V=A&I|E&(A|I),J=2400959708):(V=A^I^E,J=3395469782);V=((q<<5|q>>>27)&4294967295)+V+Q+J+r[p]&4294967295;Q=E;E=I;I=(A<<30|A>>>2)&4294967295;A=q;q=V}e[0]=e[0]+q&4294967295;e[1]=e[1]+A&4294967295;e[2]= e[2]+I&4294967295;e[3]=e[3]+E&4294967295;e[4]=e[4]+Q&4294967295} function c(q,r){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var p=[],A=0,I=q.length;Al?c(h,56-l):c(h,64-(l-56));for(var p=63;56<=p;p--)f[p]=r&255,r>>>=8;b(f);for(p=r=0;5>p;p++)for(var A=24;0<=A;A-=8)q[r++]=e[p]>>A&255;return q} 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,Ra:function(){for(var q=d(),r="",p=0;ph?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*h)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")}; m.get=function(a,b){for(var c=a+"=",d=(this.h.cookie||"").split(";"),e=0,f;ea&&0===a%1&&this.data_[a]!=b&&(this.data_[a]=b,this.h=-1)}; rd.prototype.get=function(a){return!!this.data_[a]}; function sd(a){-1==a.h&&(a.h=Za(a.data_,function(b,c,d){return c?b+Math.pow(2,d):b},0)); return a.h} ;function td(a,b){this.j=a;this.l=b;this.i=0;this.h=null} td.prototype.get=function(){if(0a.i&&(a.i++,b.next=a.h,a.h=b)} ;var vd; function wd(){var a=y.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!G("Presto")&&(a=function(){var e=Tc(document,"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=Pa(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&&!G("Trident")&&!G("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Fa;c.Fa=null;e()}}; return function(e){d.next={Fa:e};d=d.next;b.port2.postMessage(0)}}return function(e){y.setTimeout(e,0)}} ;function xd(a){y.setTimeout(function(){throw a;},0)} ;function yd(){this.i=this.h=null} yd.prototype.add=function(a,b){var c=zd.get();c.set(a,b);this.i?this.i.next=c:this.h=c;this.i=c}; yd.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 zd=new td(function(){return new Ad},function(a){return a.reset()}); function Ad(){this.next=this.scope=this.h=null} Ad.prototype.set=function(a,b){this.h=a;this.scope=b;this.next=null}; Ad.prototype.reset=function(){this.next=this.scope=this.h=null};function Bd(a,b){Cd||Dd();Ed||(Cd(),Ed=!0);Fd.add(a,b)} var Cd;function Dd(){if(y.Promise&&y.Promise.resolve){var a=y.Promise.resolve(void 0);Cd=function(){a.then(Gd)}}else Cd=function(){var b=Gd; "function"!==typeof y.setImmediate||y.Window&&y.Window.prototype&&!G("Edge")&&y.Window.prototype.setImmediate==y.setImmediate?(vd||(vd=wd()),vd(b)):y.setImmediate(b)}} var Ed=!1,Fd=new yd;function Gd(){for(var a;a=Fd.remove();){try{a.h.call(a.scope)}catch(b){xd(b)}ud(zd,a)}Ed=!1} ;function Hd(a,b){this.i=a[y.Symbol.iterator]();this.j=b;this.l=0} Hd.prototype[Symbol.iterator]=function(){return this}; Hd.prototype.next=function(){var a=this.i.next();return{value:a.done?void 0:this.j.call(void 0,a.value,this.l++),done:a.done}}; function Id(a,b){return new Hd(a,b)} ;function Jd(){this.blockSize=-1} ;function Kd(){this.blockSize=-1;this.blockSize=64;this.h=[];this.u=[];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} Kd.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.u,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.u[c]=b&255,b/=256;Ld(this,this.u);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 Md(a){var b=B("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(g){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||y.$googDebugFname||b}catch(g){e="Not available",c=!0}b=Nd(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;if(null== c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,Od[c])c=Od[c];else{c=String(c);if(!Od[c]){var f=/function\s+([^\(]+)/m.exec(c);Od[c]=f?f[1]:"[Anonymous]"}c=Od[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack= b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}} function Nd(a,b){b||(b={});b[Pd(a)]=!0;var c=a.stack||"";(a=a.Qa)&&!b[Pd(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=Nd(a,b));return c} function Pd(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack} var Od={};function Qd(a){a&&"function"==typeof a.dispose&&a.dispose()} ;function Rd(a){for(var b=0,c=arguments.length;b2*this.size&&fe(this),!0):!1}; function fe(a){if(a.size!=a.h.length){for(var b=0,c=0;b=d.h.length)throw Xd;var f=d.h[b++];return a?f:d.i[f]}; e.next=e.h.bind(e);return e}; function ge(a,b){return Object.prototype.hasOwnProperty.call(a,b)} ;function ie(a,b){this.type=a;this.h=this.target=b;this.defaultPrevented=this.j=!1} ie.prototype.stopPropagation=function(){this.j=!0}; ie.prototype.preventDefault=function(){this.defaultPrevented=!0};var je=function(){if(!y.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}}); try{y.addEventListener("test",Ea,b),y.removeEventListener("test",Ea,b)}catch(c){}return a}();function ke(a,b){ie.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)} C(ke,ie);var le={2:"touch",3:"pen",4:"mouse"}; ke.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(lc){a:{try{hc(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:le[a.pointerType]||"";this.state=a.state; this.i=a;a.defaultPrevented&&ke.M.preventDefault.call(this)}; ke.prototype.stopPropagation=function(){ke.M.stopPropagation.call(this);this.i.stopPropagation?this.i.stopPropagation():this.i.cancelBubble=!0}; ke.prototype.preventDefault=function(){ke.M.preventDefault.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=!1};var me="closure_listenable_"+(1E6*Math.random()|0);var ne=0;function oe(a,b,c,d,e){this.listener=a;this.h=null;this.src=b;this.type=c;this.capture=!!d;this.ka=e;this.key=++ne;this.ea=this.ha=!1} function pe(a){a.ea=!0;a.listener=null;a.h=null;a.src=null;a.ka=null} ;function qe(a){this.src=a;this.listeners={};this.h=0} qe.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=re(a,b,d,e);-1>>0);function ye(a){if("function"===typeof a)return a;a[Ge]||(a[Ge]=function(b){return a.handleEvent(b)}); return a[Ge]} ;function He(){L.call(this);this.i=new qe(this);this.J=this;this.o=null} C(He,L);He.prototype[me]=!0;He.prototype.addEventListener=function(a,b,c,d){we(this,a,b,c,d)}; He.prototype.removeEventListener=function(a,b,c,d){Ee(this,a,b,c,d)}; function Ie(a,b){var c=a.o;if(c){var d=[];for(var e=1;c;c=c.o)d.push(c),++e}a=a.J;c=b.type||b;"string"===typeof b?b=new ie(b,a):b instanceof ie?b.target=b.target||a:(e=b,b=new ie(c,a),nb(b,e));e=!0;if(d)for(var f=d.length-1;!b.j&&0<=f;f--){var g=b.h=d[f];e=Je(g,c,!0,b)&&e}b.j||(g=b.h=a,e=Je(g,c,!0,b)&&e,b.j||(e=Je(g,c,!1,b)&&e));if(d)for(f=0;!b.j&&fDate.now())rf.prototype.remove.call(this,a);else return b}};function sf(){} ;function tf(){} C(tf,sf);tf.prototype[Symbol.iterator]=function(){return Zd(this.K(!0)).i()}; tf.prototype.clear=function(){var a=Array.from(this);a=u(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};function uf(a){this.h=a} C(uf,tf);m=uf.prototype;m.isAvailable=function(){if(!this.h)return!1;try{return this.h.setItem("__sak","1"),this.h.removeItem("__sak"),!0}catch(a){return!1}}; m.set=function(a,b){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){a=this.h.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.h.removeItem(a)}; m.K=function(a){var b=0,c=this.h,d=new Yd;d.h=function(){if(b>=c.length)throw Xd;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; d.next=d.h.bind(d);return d}; m.clear=function(){this.h.clear()}; m.key=function(a){return this.h.key(a)};function vf(){var a=null;try{a=window.localStorage||null}catch(b){}this.h=a} C(vf,uf);function wf(a,b){this.i=a;this.h=null;var c;if(c=jc)c=!(9<=Number(wc));if(c){xf||(xf=new de);this.h=xf.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)),xf.set(a,this.h));try{this.h.load(this.i)}catch(d){this.h=null}}} C(wf,tf);var yf={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},xf=null;function zf(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return yf[b]})} m=wf.prototype;m.isAvailable=function(){return!!this.h}; m.set=function(a,b){this.h.setAttribute(zf(a),b);Af(this)}; m.get=function(a){a=this.h.getAttribute(zf(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.h.removeAttribute(zf(a));Af(this)}; m.K=function(a){var b=0,c=this.h.XMLDocument.documentElement.attributes,d=new Yd;d.h=function(){if(b>=c.length)throw Xd;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; d.next=d.h.bind(d);return d}; m.clear=function(){for(var a=this.h.XMLDocument.documentElement,b=a.attributes.length;0a;a++)this.j.push(0);this.l=0;this.J=Yf(window,"mousemove",Pa(this.N,this));a=Pa(this.G,this);"function"===typeof a&&(a=Jf(a));this.O=window.setInterval(a,25)} C(cg,L);cg.prototype.N=function(a){void 0===a.h&&Uf(a);var b=a.h;void 0===a.i&&Uf(a);this.i=new Nc(b,a.i)}; cg.prototype.G=function(){if(this.i){var a=$f();if(0!=this.m){var b=this.A,c=this.i,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.m);this.j[this.l]=.5c;c++)b+=this.j[c]||0;3<=b&&this.C();this.o=d}this.m=a;this.A=this.i;this.l=(this.l+1)%4}}; cg.prototype.D=function(){window.clearInterval(this.O);Zf(this.J)};function dg(){} function eg(a,b){return fg(a,0,b)} function gg(a,b){return fg(a,1,b)} ;function hg(){dg.apply(this,arguments)} v(hg,dg);function fg(a,b,c){void 0!==c&&Number.isNaN(Number(c))&&(c=void 0);var d=B("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):ag(a,c||0)} function ig(a){if(void 0===a||!Number.isNaN(Number(a))){var b=B("yt.scheduler.instance.cancelJob");b?b(a):bg(a)}} hg.prototype.start=function(){var a=B("yt.scheduler.instance.start");a&&a()}; hg.prototype.pause=function(){var a=B("yt.scheduler.instance.pause");a&&a()};hg.h||(hg.h=new hg);var jg={}; function kg(a){var b=void 0===a?{}:a;a=void 0===b.kb?!1:b.kb;b=void 0===b.Ua?!0:b.Ua;if(null==B("_lact",window)){var c=parseInt(F("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;z("_lact",c,window);z("_fact",c,window);-1==c&&lg();Yf(document,"keydown",lg);Yf(document,"keyup",lg);Yf(document,"mousedown",lg);Yf(document,"mouseup",lg);a?Yf(window,"touchmove",function(){mg("touchmove",200)},{passive:!0}):(Yf(window,"resize",function(){mg("resize",200)}),b&&Yf(window,"scroll",function(){mg("scroll",200)})); new cg(function(){mg("mouse",100)}); Yf(document,"touchstart",lg,{passive:!0});Yf(document,"touchend",lg,{passive:!0})}} function mg(a,b){jg[a]||(jg[a]=!0,gg(function(){lg();jg[a]=!1},b))} function lg(){null==B("_lact",window)&&kg();var a=Date.now();z("_lact",a,window);-1==B("_fact",window)&&z("_fact",a,window);(a=B("ytglobal.ytUtilActivityCallback_"))&&a()} function ng(){var a=B("_lact",window);return null==a?-1:Math.max(Date.now()-a,0)} ;function og(){var a=pg;B("yt.ads.biscotti.getId_")||z("yt.ads.biscotti.getId_",a,void 0)} function qg(a){z("yt.ads.biscotti.lastId_",a,void 0)} ;var rg=/^[\w.]*$/,sg={q:!0,search_query:!0};function tg(a,b){b=a.split(b);for(var c={},d=0,e=b.length;dk.status,r=500<=k.status&&600>k.status;if(l||q||r)n=Pg(a,c,k,b.convertToSafeHtml);if(l)a:if(k&&204==k.status)l=!0;else{switch(c){case "XML":l=0==parseInt(n&&n.return_code,10);break a;case "RAW":l=!0;break a}l=!!n}n=n||{};q=b.context||y;l?b.onSuccess&&b.onSuccess.call(q,k,n):b.onError&&b.onError.call(q,k,n);b.onFinish&&b.onFinish.call(q,k,n)}},b.method, d,b.headers,b.responseType,b.withCredentials); if(b.onTimeout&&0")&&(b=b.replace(Cb,">")),-1!=b.indexOf('"')&&(b=b.replace(Db,""")),-1!=b.indexOf("'")&&(b=b.replace(Eb,"'")),-1!=b.indexOf("\x00")&&(b=b.replace(Fb,"�")));a=Tb(b,a)}a instanceof Sb&&a.constructor===Sb?a=a.h:(Ga(a),a="type_error:SafeHtml");a=encodeURIComponent(String(Me(a.toString())))}/^[\s\xa0]*$/.test(a)||(a=Sc("IFRAME",{src:'javascript:""',style:"display:none"}),(9==a.nodeType?a:a.ownerDocument||a.document).body.appendChild(a))}}else if(e)Og(a, b,"POST",e,d);else if(F("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d)Og(a,b,"GET","",d);else{b:{try{var g=new Ua({url:a});if(g.j&&g.i||g.l){var h=ac(a.match($b)[5]||null),k;if(!(k=!h||!h.endsWith("/aclk"))){var l=a.search(fc);d:{for(c=0;0<=(c=a.indexOf("ri",c))&&cr)var p=null;else{var A=a.indexOf("&",r);if(0>A||A>l)A=l;r+=3;p=decodeURIComponent(a.substr(r,A-r).replace(/\+/g, " "))}k="1"!==p}f=!k;break b}}catch(I){}f=!1}f?Yg(a)?(b&&b(),f=!0):f=!1:f=!1;f||Zg(a,b)}} function $g(a,b,c){c=void 0===c?"":c;Yg(a,c)?b&&b():Xg(a,b,void 0,void 0,c)} function Yg(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1} function Zg(a,b){var c=new Image,d=""+Wg++;Vg[d]=c;c.onload=c.onerror=function(){b&&Vg[d]&&b();delete Vg[d]}; c.src=a} ;var ah=y.ytPubsubPubsubInstance||new M,bh=y.ytPubsubPubsubSubscribedKeys||{},ch=y.ytPubsubPubsubTopicToKeys||{},dh=y.ytPubsubPubsubIsSynchronous||{};function eh(a,b){var c=fh();if(c&&b){var d=c.subscribe(a,function(){var e=arguments;var f=function(){bh[d]&&b.apply&&"function"==typeof b.apply&&b.apply(window,e)}; try{dh[a]?f():ag(f,0)}catch(g){Kf(g)}},void 0); bh[d]=!0;ch[a]||(ch[a]=[]);ch[a].push(d);return d}return 0} function gh(a){var b=fh();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),D(a,function(c){b.unsubscribeByKey(c);delete bh[c]}))} function hh(a,b){var c=fh();c&&c.publish.apply(c,arguments)} function ih(a){var b=fh();if(b)if(b.clear(a),a)jh(a);else for(var c in ch)jh(c)} function fh(){return y.ytPubsubPubsubInstance} function jh(a){ch[a]&&(a=ch[a],D(a,function(b){bh[b]&&delete bh[b]}),a.length=0)} M.prototype.subscribe=M.prototype.subscribe;M.prototype.unsubscribeByKey=M.prototype.da;M.prototype.publish=M.prototype.W;M.prototype.clear=M.prototype.clear;z("ytPubsubPubsubInstance",ah,void 0);z("ytPubsubPubsubTopicToKeys",ch,void 0);z("ytPubsubPubsubIsSynchronous",dh,void 0);z("ytPubsubPubsubSubscribedKeys",bh,void 0);var kh=window,P=kh.ytcsi&&kh.ytcsi.now?kh.ytcsi.now:kh.performance&&kh.performance.timing&&kh.performance.now&&kh.performance.timing.navigationStart?function(){return kh.performance.timing.navigationStart+kh.performance.now()}:function(){return(new Date).getTime()};var lh=Pf("initial_gel_batch_timeout",2E3),mh=Math.pow(2,16)-1,nh=null,oh=0,ph=void 0,qh=0,rh=0,sh=0,th=!0,uh=y.ytLoggingTransportGELQueue_||new Map;z("ytLoggingTransportGELQueue_",uh,void 0);var vh=y.ytLoggingTransportTokensToCttTargetIds_||{};z("ytLoggingTransportTokensToCttTargetIds_",vh,void 0); function wh(a,b){if("log_event"===a.endpoint){var c="";a.ja?c="visitorOnlyApprovedKey":a.F&&(vh[a.F.token]=xh(a.F),c=a.F.token);var d=uh.get(c)||[];uh.set(c,d);d.push(a.payload);b&&(ph=new b);a=Pf("tvhtml5_logging_max_batch")||Pf("web_logging_max_batch")||100;b=P();d.length>=a?yh({writeThenSend:!0}):10<=b-sh&&(zh(),sh=b)}} function Ah(a,b){if("log_event"===a.endpoint){var c="";a.ja?c="visitorOnlyApprovedKey":a.F&&(vh[a.F.token]=xh(a.F),c=a.F.token);var d=new Map;d.set(c,[a.payload]);b&&(ph=new b);return new Te(function(e){ph&&ph.isReady()?Bh(d,e,{bypassNetworkless:!0}):e()})}} function yh(a){a=void 0===a?{}:a;new Te(function(b){bg(qh);bg(rh);rh=0;ph&&ph.isReady()?(Bh(uh,b,a),uh.clear()):(zh(),b())})} function zh(){O("web_gel_timeout_cap")&&!rh&&(rh=ag(function(){yh({writeThenSend:!0})},6E4)); bg(qh);var a=F("LOGGING_BATCH_TIMEOUT",Pf("web_gel_debounce_ms",1E4));O("shorten_initial_gel_batch_timeout")&&th&&(a=lh);qh=ag(function(){yh({writeThenSend:!0})},a)} function Bh(a,b,c){var d=ph;c=void 0===c?{}:c;var e=Math.round(P()),f=a.size;a=u(a);for(var g=a.next();!g.done;g=a.next()){var h=u(g.value);g=h.next().value;var k=h=h.next().value;h=lb({context:Ch(d.config_||Dh())});h.events=k;(k=vh[g])&&Eh(h,g,k);delete vh[g];g="visitorOnlyApprovedKey"===g;Fh(h,e,g);O("send_beacon_before_gel")&&window.navigator&&window.navigator.sendBeacon&&!c.writeThenSend&&$g("/generate_204");Gh(d,"log_event",h,{retry:!0,onSuccess:function(){f--;f||b();oh=Math.round(P()-e)}, onError:function(){f--;f||b()}, La:c,ja:g});th=!1}} function Fh(a,b,c){a.requestTimeMs=String(b);O("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);!c&&(b=F("EVENT_ID",void 0))&&((c=F("BATCH_CLIENT_COUNTER",void 0)||0)||(c=Math.floor(Math.random()*mh/2)),c++,c>mh&&(c=1),N("BATCH_CLIENT_COUNTER",c),b={serializedEventId:b,clientCounter:String(c)},a.serializedClientEventId=b,nh&&oh&&O("log_gel_rtt_web")&&(a.previousBatchInfo={serializedClientEventId:nh,roundtripMs:String(oh)}),nh=b,oh=0)} function Eh(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 xh(a){var b={};a.videoId?b.videoId=a.videoId:a.playlistId&&(b.playlistId=a.playlistId);return b} ;var Hh=y.ytLoggingGelSequenceIdObj_||{};z("ytLoggingGelSequenceIdObj_",Hh,void 0);function Ih(a,b,c,d){d=void 0===d?{}:d;var e={},f=Math.round(d.timestamp||P());e.eventTimeMs=fMath.round(P())-d.requestTime)){var e=d.authState,f=Vh(Uh(!1));jb(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(P())),Gh(a,d.method,e,{}));delete b[c]}}Yh().set("requests",b,86400,!0)}} ;function bi(a,b){this.version=a;this.args=b} ;function ci(a,b){this.topic=a;this.h=b} ci.prototype.toString=function(){return this.topic};var di=B("ytPubsub2Pubsub2Instance")||new M;M.prototype.subscribe=M.prototype.subscribe;M.prototype.unsubscribeByKey=M.prototype.da;M.prototype.publish=M.prototype.W;M.prototype.clear=M.prototype.clear;z("ytPubsub2Pubsub2Instance",di,void 0);var ei=B("ytPubsub2Pubsub2SubscribedKeys")||{};z("ytPubsub2Pubsub2SubscribedKeys",ei,void 0);var fi=B("ytPubsub2Pubsub2TopicToKeys")||{};z("ytPubsub2Pubsub2TopicToKeys",fi,void 0);var gi=B("ytPubsub2Pubsub2IsAsync")||{};z("ytPubsub2Pubsub2IsAsync",gi,void 0); z("ytPubsub2Pubsub2SkipSubKey",null,void 0);function hi(a,b){var c=ii();c&&c.publish.call(c,a.toString(),a,b)} function ji(a){var b=ki,c=ii();if(!c)return 0;var d=c.subscribe(b.toString(),function(e,f){var g=B("ytPubsub2Pubsub2SkipSubKey");g&&g==d||(g=function(){if(ei[d])try{if(f&&b instanceof ci&&b!=e)try{var h=b.h,k=f;if(!k.args||!k.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!h.V){var l=new h;h.V=l.version}var n=h.V}catch(q){}if(!n||k.version!=n)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{f=Reflect.construct(h, bb(k.args))}catch(q){throw q.message="yt.pubsub2.Data.deserialize(): "+q.message,q;}}catch(q){throw q.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+b.toString()+": "+q.message,q;}a.call(window,f)}catch(q){Kf(q)}},gi[b.toString()]?B("yt.scheduler.instance")?gg(g):ag(g,0):g())}); ei[d]=!0;fi[b.toString()]||(fi[b.toString()]=[]);fi[b.toString()].push(d);return d} function li(){var a=mi,b=ji(function(c){a.apply(void 0,arguments);ni(b)}); return b} function ni(a){var b=ii();b&&("number"===typeof a&&(a=[a]),D(a,function(c){b.unsubscribeByKey(c);delete ei[c]}))} function ii(){return B("ytPubsub2Pubsub2Instance")} ;var oi=function(){var a;return function(){a||(a=new Wh("ytidb"));return a}}(); function pi(){var a;return null===(a=oi())||void 0===a?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)} function qi(a){this.h=void 0===a?!1:a;(a=pi())||(a={hasSucceededOnce:this.h});this.i=a;var b,c;null!==(b=oi())&&void 0!==b&&b.h&&(b={hasSucceededOnce:this.i.hasSucceededOnce||this.h},null===(c=oi())||void 0===c?void 0:c.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0))} qi.prototype.isSupported=function(){return this.h};var ri=[],si=!1;function ti(a){si||(ri.push({type:"ERROR",payload:a}),10=k)cj(g,q,E,l,Q,b.join(),h),n=Q;J.B(2);break;case 3:return J.return(Promise.reject(n))}})})} function cj(a,b,c,d,e,f,g){b=c-b;e?(e instanceof R&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&ui("QUOTA_EXCEEDED",{dbName:zi(a.h.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:g.mode}),e instanceof R&&"UNKNOWN_ABORT"===e.type&&(c-=a.j,0>c&&c>=Math.pow(2,31)&&(c=0),ui("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.i=!0),dj(a,!1,d,f,b,g.tag),ti(e)):dj(a,!0,d,f,b,g.tag)} function dj(a,b,c,d,e,f){ui("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 Zi(a){this.h=a} m=Zi.prototype;m.add=function(a,b){return Ui(this.h.add(a,b))}; m.autoIncrement=function(){return this.h.autoIncrement}; m.clear=function(){return Ui(this.h.clear()).then(function(){})}; m.count=function(a){return Ui(this.h.count(a))}; function ej(a,b){return fj(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})} m.delete=function(a){return a instanceof IDBKeyRange?ej(this,a):Ui(this.h.delete(a))}; m.get=function(a){return Ui(this.h.get(a))}; m.index=function(a){try{return new gj(this.h.index(a))}catch(b){if(b instanceof Error&&"NotFoundError"===b.name)throw new Hi(a,this.h.name);throw b;}}; m.getName=function(){return this.h.name}; m.keyPath=function(){return this.h.keyPath}; function fj(a,b,c){a=a.h.openCursor(b.query,b.direction);return hj(a).then(function(d){return Vi(d,c)})} function aj(a){var b=this;this.h=a;this.j=new Map;this.i=!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.i){e=R;for(var f=b.h.objectStoreNames,g=[],h=0;h=E},I); I.done.catch(function(E){e(E)})}catch(E){e(E)}}); g.addEventListener("success",function(){var p=g.result;k&&p.addEventListener("versionchange",function(){k(f())}); p.addEventListener("close",function(){ui("IDB_UNEXPECTEDLY_CLOSED",{dbName:zi(a),dbVersion:p.version});l&&l()}); d(f())}); g.addEventListener("error",function(){e(g.error)}); h&&g.addEventListener("blocked",function(){h()})})} function lj(a,b,c){c=void 0===c?{}:c;return kj(a,b,c)} function mj(a,b){b=void 0===b?{}:b;return H(this,function d(){var e,f,g;return x(d,function(h){e=self.indexedDB.deleteDatabase(a);f=b;(g=f.blocked)&&e.addEventListener("blocked",function(){g()}); return w(h,Ti(e),0)})})} ;function nj(a,b){this.name=a;this.options=b;this.l=!0;this.j=!1} nj.prototype.i=function(a,b,c){c=void 0===c?{}:c;return lj(a,b,c)}; nj.prototype.delete=function(a){a=void 0===a?{}:a;return mj(this.name,a)}; function oj(a,b){return new R("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})} nj.prototype.open=function(){function a(){return H(c,function g(){var h=this,k,l,n,q,r;return x(g,function(p){switch(p.h){case 1:return ra(p,2),w(p,h.i(h.name,h.options.version,e),4);case 4:k=p.i;a:{var A=h.options;for(var I=u(Object.keys(A.la)),E=I.next();!E.done;E=I.next()){E=E.value;var Q=A.la[E],V=void 0===Q.mb?Number.MAX_VALUE:Q.mb;if(k.h.version>=Q.ra&&!(k.h.version>=V)&&!k.h.objectStoreNames.contains(E)){A=E;break a}}A=void 0}l=A;if(void 0===l){p.B(5);break}if(h.j){p.B(6);break}h.j=!0;return w(p, h.delete(),7);case 7:return ti(new R("DB_DELETED_BY_MISSING_OBJECT_STORE",{dbName:h.name,gb:l})),p.return(a());case 6:throw new Gi(l);case 5:return p.return(k);case 2:n=sa(p);if(n instanceof DOMException?"VersionError"!==n.name:"DOMError"in self&&n instanceof DOMError?"VersionError"!==n.name:!(n instanceof Object&&"message"in n)||"An attempt was made to open a database using a lower version than the existing version."!==n.message){p.B(8);break}return w(p,h.i(h.name,void 0,Object.assign(Object.assign({}, e),{upgrade:void 0})),9);case 9:q=p.i;r=q.h.version;if(void 0!==h.options.version&&r>h.options.version+1)throw q.close(),h.l=!1,oj(h,r);return p.return(q);case 8:throw b(),n;}})})} function b(){c.h===d&&(c.h=void 0)} var c=this;if(!this.l)throw oj(this);if(this.h)return this.h;var d,e={blocking:function(f){f.close()}, closed:b,vb:b,upgrade:this.options.upgrade};return this.h=d=a()};var pj=new nj("YtIdbMeta",{la:{databases:{ra:1}},upgrade:function(a,b){b(1)&&Yi(a,"databases",{keyPath:"actualName"})}}); function qj(a){return H(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,pj.open(),2);d=e.i;return e.return(Xi(d,["databases"],{I:!0,mode:"readwrite"},function(f){var g=f.objectStore("databases");return g.get(a.actualName).then(function(h){if(h?a.actualName!==h.actualName||a.publicName!==h.publicName||a.userIdentifier!==h.userIdentifier:1)return Ui(g.h.put(a,void 0)).then(function(){})})}))})})} function rj(a){return H(this,function c(){var d;return x(c,function(e){if(1==e.h)return a?w(e,pj.open(),2):e.return();d=e.i;return e.return(d.delete("databases",a))})})} function sj(a){return H(this,function c(){var d,e;return x(c,function(f){return 1==f.h?(d=[],w(f,pj.open(),2)):3!=f.h?(e=f.i,w(f,Xi(e,["databases"],{I:!0,mode:"readonly"},function(g){d.length=0;return fj(g.objectStore("databases"),{},function(h){a(h.getValue())&&d.push(h.getValue());return h.continue()})}),3)):f.return(d)})})} function tj(){return sj(function(a){return"LogsDatabaseV2"===a.publicName&&void 0!==a.userIdentifier})} ;var uj,vj=new function(){}(new function(){}); function wj(){return H(this,function b(){var c,d,e;return x(b,function(f){switch(f.h){case 1:c=pi();if(null===c||void 0===c?0:c.hasSucceededOnce)return f.return(new qi(!0));var g;if(g=Tg)g=/WebKit\/([0-9]+)/.exec(Ob),g=!!(g&&600<=parseInt(g[1],10));g&&(g=/WebKit\/([0-9]+)/.exec(Ob),g=!(g&&602<=parseInt(g[1],10)));if(g||kc)return f.return(new qi(!1));try{if(d=self,!(d.indexedDB&&d.IDBIndex&&d.IDBKeyRange&&d.IDBObjectStore))return f.return(new qi(!1))}catch(h){return f.return(new qi(!1))}if(!("IDBTransaction"in self&&"objectStoreNames"in IDBTransaction.prototype))return f.return(new qi(!1));ra(f,2);e={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0};return w(f,qj(e),4);case 4:return w(f,rj("yt-idb-test-do-not-use"),5);case 5:return f.return(new qi(!0));case 2:return sa(f),f.return(new qi(!1))}})})} function xj(){if(void 0!==uj)return uj;si=!0;return uj=wj().then(function(a){si=!1;return a.isSupported()})} function yj(){return xj().then(function(a){return a?vj:void 0})} ;new function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};function zj(a){if(!wi())throw a=new R("AUTH_INVALID",{dbName:a}),ti(a),a;var b=xi();return{actualName:a+":"+b,publicName:a,userIdentifier:b}} function Aj(a,b,c,d){return H(this,function f(){var g,h,k,l;return x(f,function(n){switch(n.h){case 1:return w(n,yj(),2);case 2:g=n.i;if(!g)throw h=Ki("openDbImpl",a,b),ti(h),h;yi(a);k=c?{actualName:a,publicName:a,userIdentifier:void 0}:zj(a);ra(n,3);return w(n,qj(k),5);case 5:return w(n,lj(k.actualName,b,d),6);case 6:return n.return(n.i);case 3:return l=sa(n),ra(n,7),w(n,rj(k.actualName),9);case 9:n.h=8;n.m=0;break;case 7:sa(n);case 8:throw l;}})})} function Bj(a,b,c){c=void 0===c?{}:c;return Aj(a,b,!1,c)} function Cj(a,b,c){c=void 0===c?{}:c;return Aj(a,b,!0,c)} function Dj(a,b){b=void 0===b?{}:b;return H(this,function d(){var e,f;return x(d,function(g){if(1==g.h)return w(g,yj(),2);if(3!=g.h){e=g.i;if(!e)return g.return();yi(a);f=zj(a);return w(g,mj(f.actualName,b),3)}return w(g,rj(f.actualName),0)})})} function Ej(a,b){var c=this;a=a.map(function(d){return H(c,function f(){return x(f,function(g){return 1==g.h?w(g,mj(d.actualName,b),2):w(g,rj(d.actualName),0)})})}); return Promise.all(a).then(function(){})} function Fj(){var a=void 0===a?{}:a;return H(this,function c(){var d,e;return x(c,function(f){if(1==f.h)return w(f,yj(),2);if(3!=f.h){d=f.i;if(!d)return f.return();yi("LogsDatabaseV2");return w(f,tj(),3)}e=f.i;return w(f,Ej(e,a),0)})})} function Gj(a,b){b=void 0===b?{}:b;return H(this,function d(){var e;return x(d,function(f){if(1==f.h)return w(f,yj(),2);if(3!=f.h){e=f.i;if(!e)return f.return();yi(a);return w(f,mj(a,b),3)}return w(f,rj(a),0)})})} ;function Hj(a,b){nj.call(this,a,b);this.options=b;yi(a)} v(Hj,nj);function Ij(a,b){var c;return function(){c||(c=new Hj(a,b));return c}} Hj.prototype.i=function(a,b,c){c=void 0===c?{}:c;return(this.options.Ba?Cj:Bj)(a,b,Object.assign({},c))}; Hj.prototype.delete=function(a){a=void 0===a?{}:a;return(this.options.Ba?Gj:Dj)(this.name,a)}; function Jj(a,b){return Ij(a,b)} ;var Kj; function Lj(){if(Kj)return Kj();var a={};Kj=Jj("LogsDatabaseV2",{la:(a.LogsRequestsStore={ra:2},a),Ba:!1,upgrade:function(b,c,d){c(2)&&Yi(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.h.indexNames.contains("newRequest")&&d.h.deleteIndex("newRequest"),d.h.createIndex("newRequestV2",["status","interface","timestamp"],{unique:!1}));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 Kj()} ;function Mj(a){return H(this,function c(){var d,e,f,g;return x(c,function(h){if(1==h.h)return d={startTime:P(),transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},w(h,Lj().open(),2);if(3!=h.h)return e=h.i,f=Object.assign(Object.assign({},a),{options:JSON.parse(JSON.stringify(a.options)),interface:F("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),w(h,$i(e,f),3);g=h.i;d.wb=P();Nj(d);return h.return(g)})})} function Oj(a){return H(this,function c(){var d,e,f,g,h,k,l;return x(c,function(n){if(1==n.h)return d={startTime:P(),transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},w(n,Lj().open(),2);if(3!=n.h)return e=n.i,f=F("INNERTUBE_CONTEXT_CLIENT_NAME",0),g=[a,f,0],h=[a,f,P()],k=IDBKeyRange.bound(g,h),l=void 0,w(n,Xi(e,["LogsRequestsStore"],{mode:"readwrite",I:!0},function(q){return ij(q.objectStore("LogsRequestsStore").index("newRequestV2"),{query:k,direction:"prev"},function(r){r.getValue()&&(l=r.getValue(), "NEW"===a&&(l.status="QUEUED",r.update(l)))})}),3); d.wb=P();Nj(d);return n.return(l)})})} function Pj(a){return H(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,Lj().open(),2);d=e.i;return e.return(Xi(d,["LogsRequestsStore"],{mode:"readwrite",I:!0},function(f){var g=f.objectStore("LogsRequestsStore");return g.get(a).then(function(h){if(h)return h.status="QUEUED",Ui(g.h.put(h,void 0)).then(function(){return h})})}))})})} function Qj(a){return H(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,Lj().open(),2);d=e.i;return e.return(Xi(d,["LogsRequestsStore"],{mode:"readwrite",I:!0},function(f){var g=f.objectStore("LogsRequestsStore");return g.get(a).then(function(h){return h?(h.status="NEW",h.sendCount+=1,Ui(g.h.put(h,void 0)).then(function(){return h})):S.resolve(void 0)})}))})})} function Rj(a){return H(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,Lj().open(),2);d=e.i;return e.return(d.delete("LogsRequestsStore",a))})})} function Sj(){return H(this,function b(){var c,d;return x(b,function(e){if(1==e.h)return w(e,Lj().open(),2);c=e.i;d=P()-2592E6;return w(e,Xi(c,["LogsRequestsStore"],{mode:"readwrite",I:!0},function(f){return fj(f.objectStore("LogsRequestsStore"),{},function(g){if(g.getValue().timestamp<=d)return g.delete().then(function(){return g.continue()})})}),0)})})} function Tj(){return H(this,function b(){return x(b,function(c){return w(c,Fj(),0)})})} function Nj(a){O("nwl_csi_killswitch")||.01>=Math.random()&&hi("nwl_transaction_latency_payload",a)} ;var Uj={},Vj=Jj("ServiceWorkerLogsDatabase",{la:(Uj.SWHealthLog={ra:1},Uj),Ba:!0,upgrade:function(a,b){b(1)&&Yi(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}).h.createIndex("swHealthNewRequest",["interface","timestamp"],{unique:!1})}, version:1});function Wj(){return H(this,function b(){var c,d;return x(b,function(e){if(1==e.h)return O("web_clean_sw_logs_store")?w(e,Vj().open(),3):e.B(0);c=e.i;d=P()-2592E6;return w(e,Xi(c,["SWHealthLog"],{mode:"readwrite",I:!0},function(f){return fj(f.objectStore("SWHealthLog"),{},function(g){if(g.getValue().timestamp<=d)return g.delete().then(function(){return g.continue()})})}),0)})})} function Xj(){return H(this,function b(){var c;return x(b,function(d){if(1==d.h)return w(d,Vj().open(),2);c=d.i;return w(d,c.clear("SWHealthLog"),0)})})} ;var Yj;function Zj(){Yj||(Yj=new Wh("yt.offline"));return Yj} function ak(a){if(O("offline_error_handling")){var b=Zj().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);Zj().set("errors",b,2592E3,!0)}} ;var bk=Pf("network_polling_interval",3E4);function T(){He.call(this);this.C=0;this.G=this.l=!1;this.j=this.wa();ck(this);dk(this)} v(T,He);function ek(){if(!T.h){var a=B("yt.networkStatusManager.instance")||new T;z("yt.networkStatusManager.instance",a,void 0);T.h=a}return T.h} m=T.prototype;m.L=function(){return this.j}; m.hb=function(a){this.l=!0;if(void 0===a?0:a)this.C||fk(this)}; m.wa=function(){var a=window.navigator.onLine;return void 0===a?!0:a}; m.Sa=function(){this.G=!0}; m.ca=function(a,b){return He.prototype.ca.call(this,a,b)}; function dk(a){window.addEventListener("online",function(){return H(a,function c(){var d=this;return x(c,function(e){if(1==e.h)return w(e,d.Y(),2);if(d.G&&O("offline_error_handling")){var f=Zj().get("errors",!0);if(f){for(var g in f)if(f[g]){var h=new vi(g,"sent via offline_errors");h.name=f[g].name;h.stack=f[g].stack;h.level=f[g].level;Kf(h)}Zj().set("errors",{},2592E3,!0)}}e.h=0})})})} function ck(a){window.addEventListener("offline",function(){return H(a,function c(){var d=this;return x(c,function(e){return w(e,d.Y(),0)})})})} function fk(a){a.C=eg(function(){return H(a,function c(){var d=this;return x(c,function(e){if(1==e.h)return d.j?d.wa()||!d.l?e.B(3):w(e,d.Y(),3):w(e,d.Y(),3);fk(d);e.h=0})})},bk)} m.Y=function(a){var b=this;return this.m?this.m:this.m=new Promise(function(c){return H(b,function e(){var f,g,h,k=this;return x(e,function(l){switch(l.h){case 1:return f=window.AbortController?new window.AbortController:void 0,g=null===f||void 0===f?void 0:f.signal,h=!1,ra(l,2,3),f&&(k.A=gg(function(){f.abort()},a||2E4)),w(l,fetch("/generate_204",{method:"HEAD", signal:g}),5);case 5:h=!0;case 3:ta(l);k.m=void 0;k.A&&ig(k.A);h!==k.j&&(k.j=h,k.j&&k.l?Ie(k,"ytnetworkstatus-online"):k.l&&Ie(k,"ytnetworkstatus-offline"));c(h);ua(l);break;case 2:sa(l),h=!1,l.B(3)}})})})}; T.prototype.sendNetworkCheckRequest=T.prototype.Y;T.prototype.listen=T.prototype.ca;T.prototype.enableErrorFlushing=T.prototype.Sa;T.prototype.getWindowStatus=T.prototype.wa;T.prototype.monitorNetworkStatusChange=T.prototype.hb;T.prototype.isNetworkAvailable=T.prototype.L;T.getInstance=ek;function gk(a){a=void 0===a?{}:a;He.call(this);var b=this;this.l=this.A=0;this.j=ek();var c=B("yt.networkStatusManager.instance.monitorNetworkStatusChange").bind(this.j);c&&c(a.Ta);a.fb&&(c=B("yt.networkStatusManager.instance.enableErrorFlushing").bind(this.j))&&c();if(c=B("yt.networkStatusManager.instance.listen").bind(this.j))a.na?(this.na=a.na,c("ytnetworkstatus-online",function(){hk(b,"publicytnetworkstatus-online")}),c("ytnetworkstatus-offline",function(){hk(b,"publicytnetworkstatus-offline")})): (c("ytnetworkstatus-online",function(){Ie(b,"publicytnetworkstatus-online")}),c("ytnetworkstatus-offline",function(){Ie(b,"publicytnetworkstatus-offline")}))} v(gk,He);gk.prototype.L=function(){var a=B("yt.networkStatusManager.instance.isNetworkAvailable").bind(this.j);return a?a():!0}; gk.prototype.Y=function(a){return H(this,function c(){var d=this,e;return x(c,function(f){return(e=B("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(d.j))?f.return(e(a)):f.return(!0)})})}; function hk(a,b){a.na?a.l?(ig(a.A),a.A=gg(function(){a.m!==b&&(Ie(a,b),a.m=b,a.l=P())},a.na-(P()-a.l))):(Ie(a,b),a.m=b,a.l=P()):Ie(a,b)} ;var ik=!1,jk,kk=0,lk=0,mk,nk=y.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:ik,databaseToken:jk,potentialEsfErrorCounter:lk,isIdbSupported:!!jk};z("ytNetworklessLoggingInitializationOptions",nk,void 0); function ok(){H(this,function b(){return x(b,function(c){switch(c.h){case 1:return w(c,yj(),2);case 2:jk=c.i;if(!jk||!wi()&&!O("nwl_init_require_datasync_id_killswitch")){c.B(0);break}ik=!0;nk.isNwlInitialized=ik;nk.databaseToken=jk;nk.isIdbSupported=!!jk;return w(c,Gj("LogsDatabaseV2"),4);case 4:if(!(.1>=Math.random())){c.B(5);break}return w(c,Sj(),6);case 6:return w(c,Wj(),5);case 5:pk();qk().L()&&rk();qk().ca("publicytnetworkstatus-online",rk);qk().ca("publicytnetworkstatus-offline",sk);if(!O("networkless_immediately_drop_sw_health_store")){c.B(8); break}return w(c,tk(),8);case 8:if(O("networkless_immediately_drop_all_requests"))return w(c,Tj(),0);c.B(0)}})})} function uk(a,b){function c(d){var e=qk().L();if(!vk()||!d||e&&O("vss_networkless_bypass_write"))wk(a,b);else{var f={url:a,options:b,timestamp:P(),status:"NEW",sendCount:0};Mj(f).then(function(g){f.id=g;qk().L()&&xk(f)}).catch(function(g){xk(f); qk().L()?Kf(g):ak(g)})}} b=void 0===b?{}:b;O("skip_is_supported_killswitch")?yj().then(function(d){c(d)}):c(yk())} function zk(a,b){function c(d){if(vk()&&d){var e={url:a,options:b,timestamp:P(),status:"NEW",sendCount:0},f=!1,g=b.onSuccess?b.onSuccess:function(){}; e.options.onSuccess=function(h,k){void 0!==e.id?Rj(e.id):f=!0;g(h,k)}; wk(e.url,e.options);Mj(e).then(function(h){e.id=h;f&&Rj(e.id)}).catch(function(h){qk().L()?Kf(h):ak(h)})}else wk(a,b)} b=void 0===b?{}:b;O("skip_is_supported_killswitch")?yj().then(function(d){c(d)}):c(yk())} function rk(){var a=this;if(!yk())throw Ki("throttleSend");kk||(kk=gg(function(){return H(a,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,Oj("NEW"),2);if(3!=e.h)return d=e.i,d?w(e,xk(d),3):(sk(),e.return());kk&&(kk=0,rk());e.h=0})})},100))} function sk(){ig(kk);kk=0} function xk(a){return H(this,function c(){var d,e,f;return x(c,function(g){switch(g.h){case 1:d=yk();if(!d)throw e=Ki("immediateSend"),e;if(void 0===a.id){g.B(2);break}return w(g,Pj(a.id),3);case 3:(f=g.i)?a=f:Lf(Error("The request cannot be found in the database."));case 2:if(Ak(a,2592E6)){g.B(4);break}Lf(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===a.id){g.B(5);break}return w(g,Rj(a.id),5);case 5:return g.return();case 4:a.skipRetry||(a=Bk(a));var h=a,k,l;if(null=== (l=null===(k=null===h||void 0===h?void 0:h.options)||void 0===k?void 0:k.postParams)||void 0===l?0:l.requestTimeMs)h.options.postParams.requestTimeMs=Math.round(P());a=h;if(!a){g.B(0);break}if(!a.skipRetry||void 0===a.id){g.B(8);break}return w(g,Rj(a.id),8);case 8:wk(a.url,a.options,!!a.skipRetry),g.h=0}})})} function Bk(a){var b=this;if(!yk())throw Ki("updateRequestHandlers");var c=a.options.onError?a.options.onError:function(){}; a.options.onError=function(e,f){return H(b,function h(){return x(h,function(k){switch(k.h){case 1:if(!((B("ytNetworklessLoggingInitializationOptions")?nk.potentialEsfErrorCounter:lk)<=Pf("potential_esf_error_limit",10))){k.B(2);break}return w(k,qk().Y(),3);case 3:if(qk().L())B("ytNetworklessLoggingInitializationOptions")&&nk.potentialEsfErrorCounter++,lk++;else return c(e,f),k.return();case 2:if(void 0===(null===a||void 0===a?void 0:a.id)){k.B(4);break}return 1>a.sendCount?w(k,Qj(a.id),8):w(k,Rj(a.id), 4);case 8:gg(function(){qk().L()&&rk()},5E3); case 4:c(e,f),k.h=0}})})}; var d=a.options.onSuccess?a.options.onSuccess:function(){}; a.options.onSuccess=function(e,f){return H(b,function h(){return x(h,function(k){if(1==k.h)return void 0===(null===a||void 0===a?void 0:a.id)?k.B(2):w(k,Rj(a.id),2);d(e,f);k.h=0})})}; return a} function Ak(a,b){a=a.timestamp;return P()-a>=b?!1:!0} function pk(){var a=this;if(!yk())throw Ki("retryQueuedRequests");Oj("QUEUED").then(function(b){b&&!Ak(b,12E4)?gg(function(){return H(a,function d(){return x(d,function(e){if(1==e.h)return void 0===b.id?e.B(2):w(e,Qj(b.id),2);pk();e.h=0})})}):qk().L()&&rk()})} function tk(){return H(this,function b(){var c,d;return x(b,function(e){c=yk();if(!c)throw d=Ki("clearSWHealthLogsDb"),d;return e.return(Xj().catch(function(f){Kf(f)}))})})} function qk(){mk||(mk=new gk({fb:!0,Ta:!0}));return mk} function wk(a,b,c){if(O("networkless_with_beacon")){var d=["method","postBody"];if(Object.keys(b).length>d.length)c=!0;else{c=0;d=u(d);for(var e=d.next();!e.done;e=d.next())b.hasOwnProperty(e.value)&&c++;c=Object.keys(b).length!==c}c?Lg(a,b):$g(a,void 0,b.postBody)}else c&&0===Object.keys(b).length?Xg(a):Lg(a,b)} function vk(){return B("ytNetworklessLoggingInitializationOptions")?nk.isNwlInitialized:ik} function yk(){return B("ytNetworklessLoggingInitializationOptions")?nk.databaseToken:jk} ;function Ck(a){var b=this;this.config_=null;a?this.config_=a:Th()&&(this.config_=Dh());eg(function(){ai(b)},5E3)} Ck.prototype.isReady=function(){!this.config_&&Th()&&(this.config_=Dh());return!!this.config_}; function Gh(a,b,c,d){function e(r){r=void 0===r?!1:r;var p;if(d.retry&&"www.youtube-nocookie.com"!=h&&(r||(p=Zh(b,c,l,k)),p)){var A=g.onSuccess,I=g.onFetchSuccess;g.onSuccess=function(E,Q){$h(p);A(E,Q)}; c.onFetchSuccess=function(E,Q){$h(p);I(E,Q)}}try{r&&d.retry&&!d.La.bypassNetworkless?(g.method="POST",d.La.writeThenSend?uk(q,g):zk(q,g)):(g.method="POST",g.postParams||(g.postParams={}),Lg(q,g))}catch(E){if("InvalidAccessError"==E.name)p&&($h(p),p=0),Lf(Error("An extension is blocking network request.")); else throw E;}p&&eg(function(){ai(a)},5E3)} !F("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&Lf(new vi("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady()){var f=new vi("innertube xhrclient not ready",b,c,d);Kf(f);throw f;}var g={headers:{"Content-Type":"application/json"},method:"POST",postParams:c,postBodyFormat:"JSON",onTimeout:function(){d.onTimeout()}, onFetchTimeout:d.onTimeout,onSuccess:function(r,p){if(d.onSuccess)d.onSuccess(p)}, onFetchSuccess:function(r){if(d.onSuccess)d.onSuccess(r)}, onError:function(r,p){if(d.onError)d.onError(p)}, onFetchError:function(r){if(d.onError)d.onError(r)}, timeout:d.timeout,withCredentials:!0},h="";(f=a.config_.bb)&&(h=f);var k=a.config_.eb||!1,l=Uh(k,h,d);Object.assign(g.headers,l);g.headers.Authorization&&!h&&(g.headers["x-origin"]=window.location.origin);f="/youtubei/"+a.config_.innertubeApiVersion+"/"+b;var n={alt:"json"};a.config_.cb&&g.headers.Authorization||(n.key=a.config_.innertubeApiKey);var q=zg(""+h+f,n||{},!0);vk()?xj().then(function(r){e(r)}):e(!1)} ;function Dk(a,b,c){c=void 0===c?{}:c;var d=Ck;F("ytLoggingEventsDefaultDisabled",!1)&&Ck==Ck&&(d=null);Ih(a,b,d,c)} ;var Ek=[{Aa:function(a){return"Cannot read property '"+a.key+"'"}, ma:{Error:[{regexp:/(Permission denied) to access property "([^']+)"/,groups:["reason","key"]}],TypeError:[{regexp:/Cannot read property '([^']+)' of (null|undefined)/,groups:["key","value"]},{regexp:/\u65e0\u6cd5\u83b7\u53d6\u672a\u5b9a\u4e49\u6216 (null|undefined) \u5f15\u7528\u7684\u5c5e\u6027\u201c([^\u201d]+)\u201d/,groups:["value","key"]},{regexp:/\uc815\uc758\ub418\uc9c0 \uc54a\uc74c \ub610\ub294 (null|undefined) \ucc38\uc870\uc778 '([^']+)' \uc18d\uc131\uc744 \uac00\uc838\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4./, groups:["value","key"]},{regexp:/No se puede obtener la propiedad '([^']+)' de referencia nula o sin definir/,groups:["key"]},{regexp:/Unable to get property '([^']+)' of (undefined or null) reference/,groups:["key","value"]},{regexp:/(null) is not an object \(evaluating '(?:([^.]+)\.)?([^']+)'\)/,groups:["value","base","key"]}]}},{Aa:function(a){return"Cannot call '"+a.key+"'"}, ma:{TypeError:[{regexp:/(?:([^ ]+)?\.)?([^ ]+) is not a function/,groups:["base","key"]},{regexp:/([^ ]+) called on (null or undefined)/,groups:["key","value"]},{regexp:/Object (.*) has no method '([^ ]+)'/,groups:["base","key"]},{regexp:/Object doesn't support property or method '([^ ]+)'/,groups:["key"]},{regexp:/\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f '([^']+)' \u30d7\u30ed\u30d1\u30c6\u30a3\u307e\u305f\u306f\u30e1\u30bd\u30c3\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093/, groups:["key"]},{regexp:/\uac1c\uccb4\uac00 '([^']+)' \uc18d\uc131\uc774\ub098 \uba54\uc11c\ub4dc\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4./,groups:["key"]}]}},{Aa:function(a){return a.key+" is not defined"}, ma:{ReferenceError:[{regexp:/(.*) is not defined/,groups:["key"]},{regexp:/Can't find variable: (.*)/,groups:["key"]}]}}];var Gk={T:[],P:[{Ea:Fk,weight:500}]};function Fk(a){a=a.stack;return a.includes("chrome://")||a.includes("chrome-extension://")||a.includes("moz-extension://")} ;function Hk(){this.P=[];this.T=[]} var Ik;function Jk(){if(!Ik){var a=Ik=new Hk;a.T.length=0;a.P.length=0;Gk.T&&a.T.push.apply(a.T,Gk.T);Gk.P&&a.P.push.apply(a.P,Gk.P)}return Ik} ;var Kk=new M;function Lk(a){function b(){return a.charCodeAt(d++)} var c=a.length,d=0;do{var e=Mk(b);if(Infinity===e)break;var f=e>>3;switch(e&7){case 0:e=Mk(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=Mk(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 Nk(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;da;a++){b=Date.now();for(c=0;c>=8);b[c++]=e}return Cc(b)} function Ll(a,b,c){Gl.push({payloadName:a,payload:b,options:c});Jl||(Jl=li())} function mi(a){if(Gl){for(var b=u(Gl),c=b.next();!c.done;c=b.next())c=c.value,c.payload&&(c.payload.csn=a.csn,Ih(c.payloadName,c.payload,null,c.options));Gl.length=0}Jl=0} ;function Ml(){this.i=new Set;this.h=new Set;this.j=new Map} Ml.prototype.clear=function(){this.i.clear();this.h.clear();this.j.clear()}; Fa(Ml);function Nl(a,b){for(var c=[],d=1;d1E5*Math.random()&&(c=new vi("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||Wk(c)),!0):!1} ;var X={},pm=(X.auto_search="LATENCY_ACTION_AUTO_SEARCH",X.ad_to_ad="LATENCY_ACTION_AD_TO_AD",X.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",X["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",X.app_startup="LATENCY_ACTION_APP_STARTUP",X["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",X["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",X["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",X.browse="LATENCY_ACTION_BROWSE",X.channels="LATENCY_ACTION_CHANNELS",X.creator_channel_dashboard= "LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",X["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",X["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",X["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",X["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",X["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",X["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",X["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",X["channel.playlists"]= "LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS",X["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",X["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",X["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",X.chips="LATENCY_ACTION_CHIPS",X["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",X["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",X.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK",X.embed="LATENCY_ACTION_EMBED",X.entity_key_serialization_perf= "LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",X.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",X.explore="LATENCY_ACTION_EXPLORE",X.home="LATENCY_ACTION_HOME",X.library="LATENCY_ACTION_LIBRARY",X.live="LATENCY_ACTION_LIVE",X.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",X.onboarding="LATENCY_ACTION_ONBOARDING",X.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",X.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",X.parent_tools_dashboard= "LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",X.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",X["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",X["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",X.prebuffer="LATENCY_ACTION_PREBUFFER",X.prefetch="LATENCY_ACTION_PREFETCH",X.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",X.profile_switcher="LATENCY_ACTION_LOGIN",X.reel_watch="LATENCY_ACTION_REEL_WATCH",X.results="LATENCY_ACTION_RESULTS",X.search_ui="LATENCY_ACTION_SEARCH_UI",X.search_suggest= "LATENCY_ACTION_SUGGEST",X.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",X.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",X.seek="LATENCY_ACTION_PLAYER_SEEK",X.settings="LATENCY_ACTION_SETTINGS",X.tenx="LATENCY_ACTION_TENX",X.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",X.watch="LATENCY_ACTION_WATCH",X.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",X["watch,watch7"]="LATENCY_ACTION_WATCH",X["watch,watch7_html5"]="LATENCY_ACTION_WATCH",X["watch,watch7ad"]="LATENCY_ACTION_WATCH",X["watch,watch7ad_html5"]= "LATENCY_ACTION_WATCH",X.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",X.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",X["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",X["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",X["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",X["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",X["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",X["video.live_settings"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",X["video.live_streaming"]= "LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",X["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",X["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",X.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",X.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",X.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",X),Y={},qm=(Y.ad_allowed="adTypesAllowed",Y.yt_abt="adBreakType",Y.ad_cpn="adClientPlaybackNonce",Y.ad_docid="adVideoId",Y.yt_ad_an= "adNetworks",Y.ad_at="adType",Y.aida="appInstallDataAgeMs",Y.browse_id="browseId",Y.p="httpProtocol",Y.t="transportProtocol",Y.cs="commandSource",Y.cpn="clientPlaybackNonce",Y.ccs="creatorInfo.creatorCanaryState",Y.csn="clientScreenNonce",Y.docid="videoId",Y.GetHome_rid="requestIds",Y.GetSearch_rid="requestIds",Y.GetPlayer_rid="requestIds",Y.GetWatchNext_rid="requestIds",Y.GetBrowse_rid="requestIds",Y.GetLibrary_rid="requestIds",Y.is_continuation="isContinuation",Y.is_nav="isNavigation",Y.b_p="kabukiInfo.browseParams", Y.is_prefetch="kabukiInfo.isPrefetch",Y.is_secondary_nav="kabukiInfo.isSecondaryNav",Y.nav_type="kabukiInfo.navigationType",Y.prev_browse_id="kabukiInfo.prevBrowseId",Y.query_source="kabukiInfo.querySource",Y.voz_type="kabukiInfo.vozType",Y.yt_lt="loadType",Y.mver="creatorInfo.measurementVersion",Y.yt_ad="isMonetized",Y.nr="webInfo.navigationReason",Y.nrsu="navigationRequestedSameUrl",Y.ncnp="webInfo.nonPreloadedNodeCount",Y.pnt="performanceNavigationTiming",Y.prt="playbackRequiresTap",Y.plt="playerInfo.playbackType", Y.pis="playerInfo.playerInitializedState",Y.paused="playerInfo.isPausedOnLoad",Y.yt_pt="playerType",Y.fmt="playerInfo.itag",Y.yt_pl="watchInfo.isPlaylist",Y.yt_pre="playerInfo.preloadType",Y.yt_ad_pr="prerollAllowed",Y.pa="previousAction",Y.yt_red="isRedSubscriber",Y.rce="mwebInfo.responseContentEncoding",Y.rc="resourceInfo.resourceCache",Y.scrh="screenHeight",Y.scrw="screenWidth",Y.st="serverTimeMs",Y.ssdm="shellStartupDurationMs",Y.br_trs="tvInfo.bedrockTriggerState",Y.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType", Y.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",Y.label="tvInfo.label",Y.is_mdx="tvInfo.isMdx",Y.preloaded="tvInfo.isPreloaded",Y.upg_player_vis="playerInfo.visibilityState",Y.query="unpluggedInfo.query",Y.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",Y.yt_vst="videoStreamType",Y.vph="viewportHeight",Y.vpw="viewportWidth",Y.yt_vis="isVisible",Y.rcl="mwebInfo.responseContentLength",Y.GetSettings_rid="requestIds",Y.GetTrending_rid="requestIds",Y.GetMusicSearchSuggestions_rid="requestIds", Y.REQUEST_ID="requestIds",Y),rm="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized navigationRequestedSameUrl performanceNavigationTiming playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "),sm={},tm=(sm.ccs="CANARY_STATE_",sm.mver="MEASUREMENT_VERSION_",sm.pis="PLAYER_INITIALIZED_STATE_",sm.yt_pt="LATENCY_PLAYER_",sm.pa= "LATENCY_ACTION_",sm.yt_vst="VIDEO_STREAM_TYPE_",sm),um="all_vc ap aq c cbr cbrand cbrver cmodel cos cplatform ctheme cver ei l_an l_mm plid srt yt_fss yt_li vpst vpni2 vpil2 icrc icrt pa GetAccountOverview_rid GetHistory_rid cmt d_vpct d_vpnfi d_vpni nsru pc pfa pfeh pftr pnc prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis ytu_pvis yt_ref yt_sts tds".split(" "); function vm(a){return!!F("FORCE_CSI_ON_GEL",!1)||O("csi_on_gel")||O("enable_csi_on_gel")||O("unplugged_tvhtml5_csi_on_gel")||!!em(a).useGel} function wm(a,b,c){var d=xm(c);d.gelTicks&&(d.gelTicks["tick_"+a]=!0);c||b||P();return vm(c)?(km(c||"").tick[a]=b||P(),d=gm(c),"_start"===a?(a=nm(),om(a,"baseline_"+d)||Dk("latencyActionBaselined",{clientActionNonce:d},{timestamp:b})):nm().tick(a,d,b),hm(c),!0):!1} function ym(a,b,c){c=xm(c);if(c.gelInfos)c.gelInfos["info_"+a]=!0;else{var d={};c.gelInfos=(d["info_"+a]=!0,d)}if(a.match("_rid")){var e=a.split("_rid")[0];a="REQUEST_ID"}if(a in qm){c=qm[a];0<=Wa(rm,c)&&(b=!!b);a in tm&&"string"===typeof b&&(b=tm[a]+b.toUpperCase());a=b;b=c.split(".");for(var f=d={},g=0;gc.duration?d:c},{duration:0}))&&0f&&(c=a.substring(f,e),c=c.replace(Qm,""),c=c.replace(Rm,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else Tm(a,b,c)} function Tm(a,b,c){c=void 0===c?null:c;var d=Um(a),e=document.getElementById(d),f=e&&Om(e,"loaded"),g=e&&!f;f?b&&b():(b&&(f=eh(d,b),b=""+Ka(b),Vm[b]=f),g||(e=Wm(a,d,function(){Om(e,"loaded")||(Mm(e),hh(d),ag(Qa(ih,d),0))},c)))} function Wm(a,b,c,d){d=void 0===d?null:d;var e=Tc(document,"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);Mc(e,Ke(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e} function Xm(a){a=Um(a);var b=document.getElementById(a);b&&(ih(a),b.parentNode.removeChild(b))} function Ym(a,b){a&&b&&(a=""+Ka(b),(a=Vm[a])&&gh(a))} function Um(a){var b=document.createElement("a");Ub(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+Zb(a)} var Vm={};var Zm=[],$m=!1;function an(){if(!(O("disable_biscotti_fetch_for_ad_blocker_detection")||O("disable_biscotti_fetch_entirely_for_all_web_clients")||O("condition_ad_status_fetch_on_consent_cookie_html5_clients")&&!gl()||"1"==ib())){var a=function(){$m=!0;"google_ad_status"in window?N("DCLKSTAT",1):N("DCLKSTAT",2)}; try{Sm("//static.doubleclick.net/instream/ad_status.js",a)}catch(b){}Zm.push(gg(function(){if(!($m||"google_ad_status"in window)){try{Ym("//static.doubleclick.net/instream/ad_status.js",a)}catch(b){}$m=!0;N("DCLKSTAT",3)}},5E3))}} function bn(){var a=Number(F("DCLKSTAT",0));return isNaN(a)?0:a} ;function cn(){this.i=!1;this.h=null} cn.prototype.initialize=function(a,b,c,d){d=void 0===d?!1:d;var e,f;if(a.program){var g=null!==(e=a.interpreterScript)&&void 0!==e?e:null,h=null!==(f=a.interpreterUrl)&&void 0!==f?f:null;if(a.interpreterSafeScript){g=a.interpreterSafeScript;sb("From proto message. b/166824318");g=g.privateDoNotAccessOrElseSafeScriptWrappedValue||"";var k=pb();g=k?k.createScript(g):g;g=(new ub(g)).toString()}a.interpreterSafeUrl&&(h=a.interpreterSafeUrl,sb("From proto message. b/166824318"),h=yb(h.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue|| "").toString());dn(this,g,h,a.program,b,c,d)}else Wk(Error("Cannot initialize botguard without program"))}; function dn(a,b,c,d,e,f,g){g=void 0===g?!1:g;c?(a.i=!0,Sm(c,function(){a.i=!1;var h=0<=c.indexOf("/th/");(h?window.trayride:window.botguard)?en(a,d,!!g,h,e):(Xm(c),Wk(new vi("Unable to load Botguard","from "+c)))},f)):b&&(f=Tc(document,"SCRIPT"),f.textContent=b,f.nonce=Xb(),document.head.appendChild(f),document.head.removeChild(f),((b=b.includes("trayride"))?window.trayride:window.botguard)?en(a,d,!!g,b,e):Wk(Error("Unable to load Botguard from JS")))} function en(a,b,c,d,e){var f,g;if(d=d?null===(f=window.trayride)||void 0===f?void 0:f.ad:null===(g=window.botguard)||void 0===g?void 0:g.bg)if(c)try{fn(a,new d(b,e?function(){return e(b)}:Ea))}catch(h){h instanceof Error&&Wk(h)}else{try{fn(a,new d(b))}catch(h){h instanceof Error&&Wk(h)}e&&e(b)}else Wk(Error("Failed to finish initializing VM"))} cn.prototype.invoke=function(a){a=void 0===a?{}:a;return this.h?this.h.hasOwnProperty("hot")?this.h.hot(void 0,void 0,a):this.h.invoke(void 0,void 0,a):null}; cn.prototype.dispose=function(){this.h=null}; function fn(a,b){a.h=b} ;var gn=new cn;function hn(){return!!gn.h} function jn(a){a=void 0===a?{}:a;return gn.invoke(a)} ;var kn=window,ln=/[A-Za-z]+\/[0-9.]+/g;function mn(a,b){if(a.replace(ln,"")!==b.replace(ln,""))return!1;a=a.match(ln);b=b.match(ln);if(a.length!==b.length)return!1;for(var c=0;c>>0);function ho(a,b,c){var d="player";c=void 0===c?!0:c;d="string"===typeof d?Pc(d):d;var e=go+"_"+Ka(d),f=fo[e];if(f&&c)return io(a,b)?f.api.loadVideoByPlayerVars(a.args||null):f.loadNewVideoConfig(a),f.api;f=new Mn(d,e,a,b);fo[e]=f;hh("player-added",f.api);Sd(f,function(){delete fo[f.getId()]}); return f.api} function io(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 jo=null,ko=null,lo=null;function mo(){var a=jo.getVideoData(1);a=a.title?a.title+" - YouTube":"YouTube";document.title!==a&&(document.title=a)} ;function no(a,b,c){a="ST-"+Zb(a).toString(36);b=b?dc(b):"";c=c||5;O("drop_st_cookie_before_cb")&&!gl()||Kh(a,b,c)} ;function oo(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=F("EVENT_ID");d&&(b.ei||(b.ei=d));if(b){d=a;var e=void 0===e?!0:e;var f=F("VALID_SESSION_TEMPDATA_DOMAINS",[]),g=bc(window.location.href);g&&f.push(g);g=bc(d);if(0<=Wa(f,g)||!g&&0==d.lastIndexOf("/",0))if(O("autoescape_tempdata_url")&&(f=document.createElement("a"),Ub(f,d),d=f.href),d){g=d.match($b);d=g[5];f=g[6];g=g[7];var h="";d&&(h+=d);f&&(h+="?"+f);g&&(h+="#"+g);d=h;f=d.indexOf("#");if(d=0>f?d:d.substr(0,f))if(e&&!b.csn&&(b.itct||b.ved)&& (b=Object.assign({csn:Bl()},b)),k){var k=parseInt(k,10);isFinite(k)&&0=dm()&&0