"use strict";this.default_base=this.default_base||{};(function(_){var window=this; try{ _._F_toggles_initialize=function(a){(typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:this)._F_toggles_default_base=a||[]};(0,_._F_toggles_initialize)([0x1000000, 0x0, ]); /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ /* Copyright 2005, 2007 Bob Ippolito. All Rights Reserved. Copyright The Closure Library Authors. SPDX-License-Identifier: MIT */ /* (The MIT License) Copyright (C) 2014 by Vitaly Puzrin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------------------------------------------------------------------- Ported from zlib, which is under the following license https://github.com/madler/zlib/blob/master/zlib.h zlib.h -- interface of the 'zlib' general purpose compression library version 1.2.8, April 28th, 2013 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). */ var aa,ka,ma,ja,ua,wa,ya,za,Aa,Ba,Ca,Da,Ea,Ja,Ga,Ha,La,Ma,Oa,Pa,Qa,Ra,Va,Xa,db,eb,mb,nb,ob,pb,tb,vb,Bb,Gb,Mb,Rb,$b,cc,dc,ic,fc,jc,kc,pc,wc,Jc,Kc,Lc,Mc,Nc,Oc,Pc,Qc,Vc,Sc,$c,xd,Bd,Ed,Hd,Jd,Od,Kd,Sd,Xd,ge,je,le,me,qe,ne,se,ye,ze,Be,He,Ie,Le,Ce,Ne,Oe,Qe,Pe,Re,Se,Ue,We,$e,ff,hf,mf,nf,of,qf,rf,pf,sf,tf,uf,vf,wf,yf,Bf,xf,zf,Cf,Df,Ef,Ff,Af,Gf,Hf,If,Lf,Mf,Jf,Nf,Of,Qf,Tf,Vf,Wf,Xf,Yf,Zf,dg,gg,$f,ig,kg,eg,bg,rg,ug,wg,tg,sg,xg,Ag,Bg,Fg,Hg,Ig,Jg,Kg,Pg,Mg,Qg,Tg,Wg,dh,eh,jh,Zg,lh,hh,fh,gh,mh,kh,ph,oh,qh,rh,sh,vh, yh,wh,Ch,Ah,Bh,xh,zh,Ih,Gh,Hh,Kh,Lh,Mh,Oh,Qh,Sh,Uh,Nh,Yh,Ph,Zh,Xh,$h,ai,bi,ci,fi,hi,ei,ji,ii,mi,li,ki,ri,oi,ni,pi,si,ui,vi,wi,yi,xi,Ai,Bi,Ci,Ei,Fi,Gi,Ki,Li,Mi,Ni,Oi,Qi,Ri,Si,Ti,Ui,Vi,Yi,Zi,$i,aj,bj,cj,dj,ej,fj,gj,hj,ij,jj,kj,rj,sj,tj,uj,vj,wj,yj,zj,Aj,Ej,Fj,Gj,Hj,Kj,Lj,Mj,Nj,Oj,Pj,Qj,Sj,Tj,bk,jk,ok,rk,uk,tk,nk,Hk,Qk,Pk,Tk,Uk,Vk,Xk,bl,Yk,$k,al,Ok,jl,rl,vl,wl,xl,yl,zl,Al,Cl,Bl,Dl,El,Gl,Fl,Il,Jl,Kl,Ml,Ll,Pl,Sl,Rl,Tl,Ul,Vl,Zl,dm,em,fm,km,lm,mm,pm,qm,rm,sm,tm,xm,ym,wm,zm,Am,Bm,Cm,Em,Fm,Nm,Om,Gm,Sm,Tm, Qm,Lm,Mm,Vm,Xm,Wm,Ym,Um,Rm,Zm,$m,bn,cn,fn,jn,nn,pn,qn,sn,tn,un,vn,wn,xn,yn,zn,An,Bn,En,Fn,Gn,Hn,In,Jn,Kn,Ln,Mn,Nn,Pn,Qn,Rn,Sn,Xn,fo,io,ho,oo,no,ko,jo,ro,go,po,qo,to,uo,wo,xo,yo,zo,Ao,Bo,Co,vo,Eo,Fo,Go,Ho,Mo,No,Oo,Po,Qo,Ro,So,Xo,Yo,Vo,$o,ap,dp,fp,ip,ep,hp,mp,qp,sp,up,tp,wp,Ap,Bp,Cp,Dp,Ep,Fp,Jp,Ip,Kp,Lp,Np,Op,Pp,Zp,dq,eq,fq,gq,mq,qq,oq,pq,rq,uq,tq,sq,vq,wq,Fq,Eq,Cq,yq,Pq,Lq,Mq,Zq,Xq,Wq,xq,$q,Kq,Oq,Yq,Iq,zq,Bq,qr,vr,wr,yr,zr,Ar,Br,Cr,Er,Gr,Lr,sa,pa,fa,bs; aa=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b=this.length))return this[a]}; _.Ta=function(a,b,c){a=a.split(".");c=c||_.Sa;for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};Va=function(a,b){var c=_.Ua("WIZ_global_data.oxN3nb");a=c&&c[a];return a!=null?a:b};Xa=function(){};_.Ua=function(a,b){a=a.split(".");b=b||_.Sa;for(var c=0;c2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};_.fb=function(a,b,c){_.fb=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?db:eb;return _.fb.apply(null,arguments)}; _.gb=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}};_.hb=function(){return Date.now()};_.ib=function(a,b){_.Ta(a,b)};_.kb=function(a){return a};_.lb=function(a,b){function c(){}c.prototype=b.prototype;a.Ib=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h=0&&a.indexOf(b,c)==c};tb=function(){var a=null;if(!sb)return a;try{var b=function(c){return c};a=sb.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};vb=function(){ub===void 0&&(ub=tb());return ub};_.xb=function(a){this.j=a}; _.yb=function(a){var b=vb();a=b?b.createScriptURL(a):a;return new _.xb(a)};_.zb=function(a){if(a instanceof _.xb)return a.j;throw Error("z");};Bb=function(a){return a.toString().indexOf("`")===-1};_.Cb=function(a){this.j=a};_.Db=function(a){return a instanceof _.Cb};_.Eb=function(a){if(_.Db(a))return a.j;throw Error("z");};_.Fb=function(a){this.ij=a};Gb=function(a){return new _.Fb(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}; _.Ib=function(a){a instanceof _.Cb?a=_.Eb(a):a=Hb.test(a)?a:void 0;return a};_.Jb=function(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b);};_.Kb=function(a){this.j=a};_.Lb=function(a){var b=vb();a=b?b.createHTML(a):a;return new _.Kb(a)};_.Nb=function(a){return Mb("script",a)};Mb=function(a,b){b=b===void 0?document:b;var c,d;b=(d=(c=b).querySelector)==null?void 0:d.call(c,a+"[nonce]");return b==null?"":b.nonce||b.getAttribute("nonce")||""};_.Ob=function(a){this.j=a}; _.Pb=function(a){var b=vb();a=b?b.createScript(a):a;return new _.Ob(a)};_.Qb=function(a){if(a instanceof _.Ob)return a.j;throw Error("z");};Rb=function(a){var b=_.Nb(a.ownerDocument);b&&a.setAttribute("nonce",b)};_.Sb=function(a,b){a.textContent=_.Qb(b);Rb(a)};_.Ub=function(a,b){a.src=_.zb(b);Rb(a)};_.Wb=function(a,b,c){if(b instanceof _.xb)a.href=_.zb(b).toString(),a.rel=c;else{if(Vb.indexOf(c)===-1)throw Error("B`"+c);b=_.Ib(b);b!==void 0&&(a.href=b,a.rel=c)}}; _.Xb=function(a,b){a:{for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e=0};$b=function(a,b){_.Zb(a,b)||a.push(b)};_.ac=function(a,b){b=Yb(a,b);var c;(c=b>=0)&&Array.prototype.splice.call(a,b,1);return c};_.bc=function(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d4);e++)b[jc(a[e])]||(c+="\nInner error "+d++ +": ",a[e].stack&&a[e].stack.indexOf(a[e].toString())==0||(c+=typeof a[e]==="string"?a[e]:a[e].message+"\n"),c+=fc(a[e],b));e=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?_.lc(e):"")}}}; _.vc=function(a,b){if(!b)return a;var c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]};wc=function(a,b,c){if(Array.isArray(b))for(var d=0;d=0&&bc)e=c;d+=b.length+1;return _.lc(a.slice(d,e!==-1?e:0))};_.Dc=function(a){_.Sa.setTimeout(function(){throw a;},0)}; _.Ec=function(a){for(var b=[],c=0,d=0;d>6|192:((e&64512)==55296&&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)}return b};_.Fc=function(){var a=_.Sa.navigator;return a&&(a=a.userAgent)?a:""}; Jc=function(a){if(!Hc||!Ic)return!1;for(var b=0;b0:!1};Mc=function(){return Lc()?!1:Kc("Opera")};Nc=function(){return Kc("Firefox")||Kc("FxiOS")};Oc=function(){return Lc()?Jc("Chromium"):(Kc("Chrome")||Kc("CriOS"))&&!(Lc()?0:Kc("Edge"))||Kc("Silk")};Pc=function(){return Hc?!!Ic&&!!Ic.platform:!1}; Qc=function(){return Kc("iPhone")&&!Kc("iPod")&&!Kc("iPad")};_.Rc=function(a){_.Rc[" "](a);return a};_.Uc=function(a,b){b===void 0&&(b=0);Sc();b=Tc[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|l>>6];l=b[l&63];c[f++]=m+g+h+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")}; _.Xc=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):"=.".indexOf(a[b-1])!=-1&&(c="=.".indexOf(a[b-2])!=-1?c-2:c-1);var d=new Uint8Array(c),e=0;Vc(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d};Vc=function(a,b){function c(l){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}}; Sc=function(){if(!Yc){Yc={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Tc[c]=d;for(var e=0;e=b||(d[a]=c+1,a=Error(),_.ec(a,"incident"),_.Dc(a))}};_.id=function(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}; _.nd=function(a,b){_.jd||_.kd in a||ld(a,md);a[_.kd]|=b};_.od=function(a,b){_.jd||_.kd in a||ld(a,md);a[_.kd]=b};_.qd=function(a,b){return b===void 0?a.j!==_.pd&&!!(2&(a.Z[_.kd]|0)):!!(2&b)&&a.j!==_.pd};_.rd=function(a){a.DI=!0;return a};_.wd=function(a){var b=a;if(sd(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if((0,_.td)(b)&&!Number.isSafeInteger(b))throw Error(String(b));return ud?BigInt(a):a=vd(a)?a?"1":"0":sd(a)?a.trim()||"0":String(a)}; xd=function(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d=g){var t=e-n,u=void 0;((u=b)!=null?u:b={})[t]=r}else f[e]=r;if(p)for(var v in p)a=p[v],a!= null&&(a=c(a,d))!=null&&(h=+v,e=void 0,m&&!Number.isNaN(h)&&(e=h+n)=1024)throw Error("P");for(var l in h)f=+l,f< g&&(c[f+b]=h[l],delete h[l]);e=e&-16760833|(g&1023)<<14;break a}}if(b){l=Math.max(b,f-(e&128?0:-1));if(l>1024)throw Error("Q");e=e&-16760833|(l&1023)<<14}}}_.od(a,e|64|d);return a};Sd=function(){if(Rd)throw Error("O");_.hd(Td,5)}; Xd=function(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[_.kd]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=_.Ud(a,c,!1,b&&!(c&16)):(_.nd(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[yd]===zd)return b=a.Z,c=b[_.kd]|0,_.qd(a,c)?a:_.Vd(a,b,c)?_.Wd(a,b):_.Ud(b,c);if("function"==typeof _.Ld&&a instanceof _.Ld)return a};_.Wd=function(a,b,c){a=new a.constructor(b);c&&(a.j=_.pd);a.o=_.pd;return a}; _.Ud=function(a,b,c,d){d!=null||(d=!!(34&b));a=Hd(a,b,Xd,d);d=32;c&&(d|=2);b=b&16769217|d;_.od(a,b);return a};_.be=function(a){var b=a.Z,c=b[_.kd]|0;return _.qd(a,c)?_.Vd(a,b,c)?_.Wd(a,b,!0):new a.constructor(_.Ud(b,c,!1)):a};_.ce=function(a){if(a.j!==_.pd)return!1;var b=a.Z;b=_.Ud(b,b[_.kd]|0);_.nd(b,2048);a.Z=b;a.j=void 0;a.o=void 0;return!0};_.de=function(a,b){b===void 0&&(b=a[_.kd]|0);b&32&&!(b&4096)&&_.od(a,b|4096)}; _.Vd=function(a,b,c){return c&2?!0:c&32&&!(c&4096)?(_.od(b,c|2),a.j=_.pd,!0):!1};_.ee=function(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}}; _.fe=function(a,b,c,d,e){var f=c+(e?0:-1),g=a.length-1;if(g>=1+(e?0:-1)&&f>=g){var h=a[g];if(h!=null&&typeof h==="object"&&h.constructor===Object)return h[c]=d,b}if(f<=g)return a[f]=d,b;if(d!==void 0){var l;g=((l=b)!=null?l:b=a[_.kd]|0)>>14&1023||536870912;c>=g?d!=null&&(f={},a[g+(e?0:-1)]=(f[c]=d,f)):a[f]=d}return b};ge=function(){function a(){throw Error();}Object.setPrototypeOf(a,a.prototype);return a};_.he=function(a,b,c){this.Z=_.Qd(a,b,c)};_.ie=function(){}; je=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};le=function(a){var b=ke;if(b)for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&a(b[c],c,b)};me=function(){var a=[];le(function(b){a.push(b)});return a};qe=function(){var a=ne(),b={};_.oe(pe(),function(c){a.sandbox&&a.sandbox.supports&&a.sandbox.supports(c)&&(b[c]=!0)});return b};ne=function(){var a=a===void 0?document:a;return a.createElement("iframe")};_.re=function(a,b){this.width=a;this.height=b}; se=function(a,b){for(var c in a)b.call(void 0,a[c],c,a)};_.te=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.ue=function(a){for(var b in a)return!1;return!0}; _.we=function(a){if(!a||typeof a!=="object")return a;if(typeof a.clone==="function")return a.clone();if(typeof Map!=="undefined"&&a instanceof Map)return new Map(a);if(typeof Set!=="undefined"&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var b=Array.isArray(a)?[]:typeof ArrayBuffer!=="function"||typeof ArrayBuffer.isView!=="function"||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=_.we(a[c]);return b}; ye=function(a,b){for(var c,d,e=1;e0)d(f);else{a:{if(f&&typeof f.length=="number"){if(_.$a(f)){var g=typeof f.item=="function"||typeof f.item=="string";break a}if(typeof f==="function"){g=typeof f.item=="function";break a}}g=!1}_.oe(g?_.bc(f):f,d)}}};_.Je=function(a){return Ie(document,a)}; Ie=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)};_.Ke=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};_.De=function(a){return a.nodeType==9?a:a.ownerDocument||a.document};_.Me=function(a){return a.tagName=="A"&&a.hasAttribute("href")||a.tagName=="INPUT"||a.tagName=="TEXTAREA"||a.tagName=="SELECT"||a.tagName=="BUTTON"?!a.disabled&&(!a.hasAttribute("tabindex")||Le(a)):a.hasAttribute("tabindex")&&Le(a)}; Le=function(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768};Ce=function(a){this.j=a||_.Sa.document||document}; Ne=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("T`"+a);if(c!=="http"&&c!=="https"&&c!=="chrome-extension"&&c!=="moz-extension"&& c!=="file"&&c!=="android-app"&&c!=="chrome-search"&&c!=="chrome-untrusted"&&c!=="chrome"&&c!=="app"&&c!=="devtools")throw Error("U`"+c);a="";var d=b.indexOf(":");if(d!=-1){var e=b.substring(d+1);b=b.substring(0,d);if(c==="http"&&e!=="80"||c==="https"&&e!=="443")a=":"+e}return c+"://"+b+a}; Oe=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var r=g,t=0;t<64;t+=4)r[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;t<80;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 u=e[1],v=e[2],w=e[3],y=e[4];for(t=0;t<80;t++){if(t<40)if(t<20){var E=w^u&(v^w);var D=1518500249}else E=u^v^w,D=1859775393;else t<60?(E=u&v|w&(u|v),D=2400959708):(E=u^v^w,D=3395469782);E=((p<<5|p>>>27)&4294967295)+E+ y+D+r[t]&4294967295;y=w;w=v;v=(u<<30|u>>>2)&4294967295;u=p;p=E}e[0]=e[0]+p&4294967295;e[1]=e[1]+u&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,r){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var t=[],u=0,v=p.length;u=56;t--)f[t]=r&255,r>>>=8;b(f);for(t=r=0;t<5;t++)for(var u=24;u>=0;u-=8)p[r++]=e[t]>>u&255;return p}for(var e=[],f=[],g=[],h=[128],l=1;l<64;++l)h[l]=0;var m,n;a();return{reset:a,update:c,digest:d,dv:function(){for(var p=d(),r="",t=0;t0?(b.sort(),zf(a,"exm",b.join(","))):zf(a,"exm",null)};Ef=function(a,b){b&&b.length>0?(b.sort(),zf(a,"excm",b.join(","))):zf(a,"excm",null)};Ff=function(a){return(a=xf(a,"m"))?a.split(","):[]};Af=function(a){switch(xf(a,"wt")){case "0":return"0";case "1":return"1";case "2":return"2";default:return""}}; Gf=function(a,b){var c=Object.keys(b).filter(function(d){return!!Object.keys(b[d]).length}).map(function(d){var e=Object.keys(b[d]);e.length>1&&e.sort();return d+":"+e.join(",")});c.sort();zf(a,"ee",c.join(";"))};Hf=function(a){var b=xf(a,"ee");if(!b)return{};a={};b=_.z(b.split(";"));for(var c=b.next();!c.done;c=b.next()){var d=_.z(c.value.split(":"));c=d.next().value;d=d.next().value;a[c]={};d=_.z(d.split(","));for(var e=d.next();!e.done;e=d.next())a[c][e.value]=!0}return a}; If=function(a){delete a.j.m;delete a.j.exm;delete a.j.ed};Lf=function(a,b){b=b===void 0?!0:b;var c=Jf(a),d=new wf,e=_.oc(c)[5];se(Kf,function(g){var h=e.match("/"+g+"=([^/]+)");h&&zf(d,g,h[1])});var f="";f=a.indexOf("_/ss/")!=-1?"_/ss/":"_/js/";Cf(d,a.substr(0,a.indexOf(f)+f.length));if(!b)return d;(a=_.oc(c)[6]||null)&&_.uc(a,function(g,h){d.v[g]=h});return d};Mf=function(a){a=_.tc(Jf(a));return a===null?!1:RegExp("(/_/js/)|(/_/ss/)","g").test(a)?/\/k=/.test(a):!1}; Jf=function(a){return a.startsWith("https://uberproxy-pen-redirect.corp.google.com/uberproxy/pen?url=")?a.substr(65):a};Nf=function(a){if(typeof document!=="undefined"&&document&&document.getElementById&&(a=document.getElementById(a))){var b=a.tagName.toUpperCase();if(b=="SCRIPT"||b=="LINK")return a}return null}; Of=function(a,b){if((a=a===void 0?"":a)&&b)throw Error("ca");var c="";var d=_.Sa._F_jsUrl;(a=b||Nf(a))&&(c=a.src?a.src:a.getAttribute("href"));if(d&&c){if(d!=c)throw Error("da`"+d+"`"+c);c=d}else c=d||c;if(!Mf(c))throw Error("ea");return c}; Qf=function(){if(!Pf){Pf=!0;try{var a=Of(_.Sa._F_jsUrl?"":"base-js")}catch(d){return}var b=Hf(Lf(a)),c=Object.keys(b);c.length!==0&&$e(function(d){for(var e=_.z(c),f=e.next();!f.done;f=e.next()){f=f.value;for(var g=_.z(Object.keys(b[f])),h=g.next();!h.done;h=g.next())d.ji(f,h.value)}})}};_.Sf=function(a,b){this.type="function"==typeof _.Rf&&a instanceof _.Rf?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.o=!1}; Tf=function(a,b){_.Sf.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.j=null;a&&this.init(a,b)}; Vf=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Uf;this.pg=this.wi=!1};Wf=function(a){a.pg=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};Xf=function(a){this.src=a;this.listeners={};this.j=0};Yf=function(a,b){var c=b.type;c in a.listeners&&_.ac(a.listeners[c],b)&&(Wf(b),a.listeners[c].length==0&&(delete a.listeners[c],a.j--))}; Zf=function(a,b,c,d){for(var e=0;e-1?b[a]:null)&&_.ng(c))}; _.ng=function(a){if(typeof a!=="number"&&a&&!a.pg){var b=a.src;if(b&&b[cg])Yf(b.o,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ig(c),d):b.addListener&&b.removeListener&&b.removeListener(d);jg--;(c=eg(b))?(Yf(c,a),c.j==0&&(c.src=null,b[fg]=null)):Wf(a)}}};ig=function(a){return a in og?og[a]:og[a]="on"+a};kg=function(a,b){if(a.pg)a=!0;else{b=new Tf(b,this);var c=a.listener,d=a.handler||a.src;a.wi&&_.ng(a);a=c.call(d,b)}return a}; eg=function(a){a=a[fg];return a instanceof Xf?a:null};bg=function(a){if(typeof a==="function")return a;a[pg]||(a[pg]=function(b){return a.handleEvent(b)});return a[pg]};_.qg=function(){_.lf.call(this);this.o=new Xf(this);this.Na=this;this.S=null};_.lg=function(a,b,c,d,e){return a.o.add(String(b),c,!0,d,e)}; rg=function(a,b,c,d){b=a.o.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f1)));g=g.next)e||(f=g);e&&(c.ba==0&&d==1?eh(c,b):(f?(d=f,d.next==c.qf&&(c.qf=d),d.next=d.next.next):fh(c),gh(c,e,3,b)))}a.parent_=null}else _.Ug(a,3,b)};_.ch=function(a,b){a.Nd||a.ba!=2&&a.ba!=3||hh(a);a.qf?a.qf.next=b:a.Nd=b;a.qf=b}; jh=function(a,b,c,d){var e=_.Yg(null,null,null);e.child=new _.Vg(function(f,g){e.o=b?function(h){try{var l=b.call(d,h);f(l)}catch(m){g(m)}}:f;e.j=c?function(h){try{var l=c.call(d,h);l===void 0&&h instanceof _.ih?g(h):f(l)}catch(m){g(m)}}:g});e.child.parent_=a;_.ch(a,e);return e.child};_.Ug=function(a,b,c){a.ba==0&&(a===c&&(b=3,c=new TypeError("ha")),a.ba=1,Zg(c,a.hB,a.iB,a)||(a.Xa=c,a.ba=b,a.parent_=null,hh(a),b!=3||c instanceof _.ih||kh(a,c)))}; Zg=function(a,b,c,d){if(a instanceof _.Vg)return dh(a,b,c,d),!0;if(Tg(a))return a.then(b,c,d),!0;if(_.$a(a))try{var e=a.then;if(typeof e==="function")return lh(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};lh=function(a,b,c,d,e){function f(l){h||(h=!0,d.call(e,l))}function g(l){h||(h=!0,c.call(e,l))}var h=!1;try{b.call(a,g,f)}catch(l){f(l)}};hh=function(a){a.pl||(a.pl=!0,Pg(a.Ii,a))};fh=function(a){var b=null;a.Nd&&(b=a.Nd,a.Nd=b.next,b.next=null);a.Nd||(a.qf=null);return b}; gh=function(a,b,c,d){if(c==3&&b.j&&!b.v)for(;a&&a.Qi;a=a.parent_)a.Qi=!1;if(b.child)b.child.parent_=null,mh(b,c,d);else try{b.v?b.o.call(b.context):mh(b,c,d)}catch(e){_.nh.call(null,e)}Ig(Xg,b)};mh=function(a,b,c){b==2?a.o.call(a.context,c):a.j&&a.j.call(a.context,c)};kh=function(a,b){a.Qi=!0;Pg(function(){a.Qi&&_.nh.call(null,b)})};_.ih=function(a){_.qb.call(this,a)};ph=function(a){return oh(a).then(function(b){return JSON.parse(b.responseText)})}; oh=function(a){var b={},c=new XMLHttpRequest;return(new _.Vg(function(d,e){var f;try{c.open("GET",a,!0)}catch(l){e(new qh("Error opening XHR: "+l.message,a,c))}c.onreadystatechange=function(){if(c.readyState==4){_.Sa.clearTimeout(f);var l;!(l=_.Gg(c.status))&&(l=c.status===0)&&(l=_.qc(a),l=!(l=="http"||l=="https"||l==""));l?d(c):e(new rh(c.status,a,c))}};c.onerror=function(){e(new qh("Network error",a,c))};if(b.headers)for(var g in b.headers){var h=b.headers[g];h!=null&&c.setRequestHeader(g,h)}b.withCredentials&& (c.withCredentials=b.withCredentials);b.responseType&&(c.responseType=b.responseType);b.mimeType&&c.overrideMimeType(b.mimeType);b.timeoutMs>0&&(f=_.Sa.setTimeout(function(){c.onreadystatechange=function(){};c.abort();e(new sh(a,c))},b.timeoutMs));try{c.send(null)}catch(l){c.onreadystatechange=function(){},_.Sa.clearTimeout(f),e(new qh("Error sending XHR: "+l.message,a,c))}})).xg(function(d){d instanceof _.ih&&c.abort();throw d;})};qh=function(a,b){_.qb.call(this,a+", url="+b);this.url=b}; rh=function(a,b,c){qh.call(this,"Request Failed, status="+a,b,c);this.status=a};sh=function(a,b){qh.call(this,"Request timed out",a,b)}; _.uh=function(a,b,c,d,e){d=d===void 0?!1:d;e=e===void 0?!1:e;var f=f===void 0?!0:f;this.Y=Lf(_.zb(a).toString(),f);this.Na=b;this.Ba=c;this.D=d;this.B={};this.S={};this.W=[];this.sa=!0;this.ha=(a=xf(this.Y,"excm"))?a.split(","):[];this.Md=e;this.di=!1;this.Pg="anonymous";this.ci=4043;this.ea=document.head||document.documentElement;this.v=this.I=null;this.cc=!0;Qf();this.V=null;_.th(this,Ff(this.Y));this.fetchPriority=void 0;this.pb=!1;this.ka()}; vh=function(a,b){if(b.href||b.getAttribute("data-href"))if(b=b.href||b.getAttribute("data-href"),Mf(b)&&!Lf(b).o.endsWith("_/js/")){b=Ff(Lf(b));b=_.z(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.ha.includes(c)||a.ha.push(c)}}; yh=function(a,b,c,d){var e=d===void 0?{}:d;d=e.vc;var f=e.onError;var g=e.onSuccess;e=e.forceReload;a.S=c;if(!b)throw Error("ja");if(a.Md){c=_.z(document.getElementsByTagName("style"));for(var h=c.next();!h.done;h=c.next())vh(a,h.value);c=_.z(document.getElementsByTagName("link"));for(h=c.next();!h.done;h=c.next())vh(a,h.value)}wh(a,xh(a,b),d,f,g,e)}; wh=function(a,b,c,d,e,f){d=d===void 0?function(){}:d;e=e===void 0?function(){}:e;f=f===void 0?!1:f;zh(a,b,function(g,h,l){l=l===void 0?h:l;a.pb&&f?a.qb(g,h,d,e,l):a.load(g,h,d,e,l,c)},c)||d(-1)}; Ch=function(a,b,c){if(a.D){var d=a.Y;a={cssRowKey:a.Na,Hc:a.Ba,vc:c,Sj:Ah(a),Qh:Bh(a)};var e=a===void 0?{}:a;a=e.Sj===void 0?[]:e.Sj;c=e.Qh===void 0?[]:e.Qh;var f=e.cssRowKey===void 0?void 0:e.cssRowKey;var g=e.Hc===void 0?void 0:e.Hc;var h=e.vc===void 0?void 0:e.vc;e=e.callback===void 0?void 0:e.callback;d=Bg(d);zf(d,"d","1");Df(d,a);Ef(d,c);b=Fg(d,b,{cssRowKey:f,Hc:g,vc:h,callback:e})}else d=a.Y,a={cssRowKey:a.Na,Hc:a.Ba,Sj:Ah(a),Qh:Bh(a)},h=a===void 0?{}:a,a=h.Qh===void 0?[]:h.Qh,c=h.cssRowKey=== void 0?void 0:h.cssRowKey,f=h.Hc===void 0?void 0:h.Hc,g=h.vc===void 0?void 0:h.vc,h=h.callback===void 0?void 0:h.callback,d=Bg(d),Ef(d,a),b=Fg(d,b,{cssRowKey:c,Hc:f,vc:g,callback:h});return b};_.th=function(a,b){for(var c=!1,d=[],e=0;ea.ci;)if(g>1)g-=Math.ceil((m.length-a.ci)/6),g=Math.max(g,1),h=b.slice(f,f+g),l=Ch(a,h,d),m=_.zb(l).toString();else return a.D?(a.D=!1,a.v=Hh(a).then(function(n){Ih(a,n,d)}),zh(a,b.slice(f),c,d)): !1;f+=g;a.D?c(l,h):c(l,h,f===b.length?b:[])}return!0};Ih=function(a,b,c){_.cf().Th((b||{}).moduleGraph);Gh(a,Ah(a),function(d){_.th(a,[d.getId()])},c);a.v=null};Gh=function(a,b,c,d,e,f){f=f===void 0?{}:f;var g=_.cf();b=_.z(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;var l=g.Qa(h);if(!(f[h]||e&&!e(l))){f[h]=!0;var m=l.j||[];if(d){var n=[];d[h]&&(n=Object.keys(d[h]));m=m.concat(n)}Gh(a,m,c,d,e,f);c(l)}}};Hh=function(a){a=a.Y.clone();If(a);zf(a,"dg",null);zf(a,"md","1");return ph(a.toString())}; Kh=function(a){a=a.buf.charCodeAt(a.pos++);return Jh[a]};Lh=function(a){var b=0,c=0;do{var d=Kh(a);b|=(d&31)<>>=2;u?(l+=r>>>1^-(r&1),r="sy"+l.toString(36)):(u=n,n+=r,r=c.substring(u,n));b[p]=r;t&&(f[m++]=r)}f[m]="";d.pos++;m=e&-2;c=e&1;for(l=0;l>>3&7;c&&(c=Kh(d),h[m]=c&7);d.pos++;for(m=0;m0&&(a.D.length===0?a.nj(b):(a.o.push(b),hi(a)));return e};ii=function(a,b,c,d,e){qf(c,e.callback,e);rf(c,function(f){f=new ci(b,f);Qh(e);Oh(e,!1,f)});a.oh(b)?d&&(ki(a,b),hi(a)):d&&ki(a,b)}; mi=function(a,b){b=b.filter(function(e){return a.j[e].isLoaded()?(_.Sa.setTimeout(function(){return Error("oa`"+e)},0),!1):!0});for(var c=[],d=0;d1?(b=c.shift(),a.o=c.map(function(e){return[e]}).concat(a.o),[b]):c};li=function(a,b){var c=ze(a.ka),d=[];c[b]||d.push(b);b=[b];for(var e=0;e=0;g--){var h=f[g];a.Qa(h).isLoaded()||c[h]||(d.push(h),b.push(h))}d.reverse();dc(d);return d}; ki=function(a,b){_.Zb(a.Y,b)||a.Y.push(b)};ri=function(a,b,c,d,e,f,g){var h=(g===void 0?0:g)?0:(f===void 0?0:f)+1;f=_.bc(c);a.K=b;c.forEach(_.gb(_.ac,a.ka),a);if(d==401)ni(a,new Xa.ob(Xa.ob.Type.On,d)),a.o.length=0;else if(d==410)oi(a,new Xa.ob(Xa.ob.Type.In,d)),pi(a);else if(h>=3)oi(a,new Xa.ob(Xa.ob.Type.rk,d,f,e)),pi(a);else{var l=d==8001||!1;(c=Math.pow(h,2)*5E3)?_.Sa.setTimeout(function(){a.nj(b,h,l)},c):a.nj(b,h,l)}}; oi=function(a,b){a.K.length>1?a.o=a.K.map(function(c){return[c]}).concat(a.o):ni(a,b)}; ni=function(a,b){var c=a.K;a.D.length=0;for(var d=[],e=0;e0){a.nj(b);return}}hi(a)};si=function(a,b,c,d,e){d=d===void 0?function(){return!0}:d;e=e===void 0?{}:e;b=_.z(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var g=a.Qa(f);!e[f]&&d(g)&&(e[f]=!0,si(a,g.j||[],c,d,e),c(g))}}; ui=function(){var a=!0,b=void 0,c={wu:"BATCH"};a=a===void 0?!1:a;b=b===void 0?!1:b;c=c===void 0?{}:c;var d=c.cssRowKey||"",e=c.Hc||"";!c.JH&&!d&&window&&window._F_cssRowKey&&(d=window._F_cssRowKey,!e&&window._F_combinedSignature&&(e=window._F_combinedSignature));if(!c.cssRowKey&&d&&typeof window._F_installCss!=="function")throw Error("pa");var f=c.XI||_.uh,g=Nf("base-js");a=new f(kc(Of("",g)),d,e,a,b);b=c.wK||g&&g.hasAttribute("crossorigin");g=c.wH||g&&g.getAttribute("crossorigin");b&&(a.di=b);g&& (a.Pg=g);c.ci&&(a.ci=c.ci);c.fetchPriority&&(a.fetchPriority=c.fetchPriority);var h=_.cf();h.I=a;h.pr(!0);_.ti=c.wu==="BATCH"?Ag:function(l){return Promise.resolve(h.load(l))}};vi=function(){this.I=null;this.v=Object.create(null);this.D=Object.create(null);this.B=0;this.K=[];this.o=Object.create(null);this.j=this.Qa("{base}")}; wi=function(a,b){return new _.Vg(function(c,d){var e=a.Qa(b);e.isLoaded()?c(null):(qf(e,function(){c(null)}),rf(e,function(f){var g="Error loading "+b+": "+f;f instanceof Xa.ob&&f.url&&(g=g+", requested url: "+f.url.toString());d(Error(g))}))})};yi=function(a,b){b=b.filter(function(c){return!a.oh(c)&&!a.Qa(c).isLoaded()});b.length>0&&(a.eA.apply(a,_.va(b)),a.K.push(b),xi(a))}; xi=function(a){for(var b={};a.B0;b={Ki:void 0,Ge:void 0,fo:void 0,Yl:void 0})b.Ge=a.K.shift().filter(function(c){return!a.Qa(c).isLoaded()}),b.Ge.length>0&&(a.B++,b.Ki=function(c){return function(){a.B--;xi(a);c.Ki=function(){}}}(b),_.bh(b.Ge.map(function(c){return wi(a,c)})).then(function(c){return function(){(0,c.Ki)()}}(b)),b.fo=0,b.Yl=function(c){return function(){if(Object.keys(a.o).length>0&&!a.I.cc)throw Error("na");yh(a.I,c.Ge,a.v,{vc:a.o,onError:function(d,e){var f= zi[c.fo++];f!==void 0?setTimeout(function(){(0,c.Yl)()},f):(a.Wr.apply(a,_.va(c.Ge)),(0,c.Ki)(),c.Ge.forEach(function(g){g=a.Qa(g);if(!g.isLoaded())g.onError(new Xa.ob(Xa.ob.Type.rk,d,c.Ge,e))}))}})}}(b),(0,b.Yl)())};Ai=function(a,b,c,d,e){d=d===void 0?function(){return!0}:d;e=e===void 0?{}:e;b=_.z(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var g=a.Qa(f);!e[f]&&d(g)&&(e[f]=!0,Ai(a,g.j||[],c,d,e),c(g))}};Bi=function(){this.data=[];this.j=-1}; Ci=function(a){a.j===-1&&(a.j=a.data.reduce(function(b,c,d){return b+(c?Math.pow(2,d):0)},0));return a.j};_.Di=function(){};_.Hi=function(a){if(a instanceof Ei||a instanceof Fi||a instanceof Gi)return a;if(typeof a.next=="function")return new Ei(function(){return a});if(typeof a[Symbol.iterator]=="function")return new Ei(function(){return a[Symbol.iterator]()});if(typeof a.Wc=="function")return new Ei(function(){return a.Wc()});throw Error("qa");};Ei=function(a){this.o=a};Fi=function(a){this.o=a}; Gi=function(a){Ei.call(this,function(){return a});this.v=a};_.Ii=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};_.Ji=function(a){_.lf.call(this);this.D=1;this.v=[];this.B=0;this.j=[];this.o={};this.I=!!a};Ki=function(a,b,c){Pg(function(){a.apply(b,c)})};Li=function(a){this.j=a};Mi=function(a){this.j=a};Ni=function(a){this.data=a};Oi=function(a){return a===void 0||a instanceof Ni?a:new Ni(a)};_.Pi=function(a){this.j=a};Qi=function(){};Ri=function(){}; Si=function(a){this.j=a;this.o=null};Ti=function(a){if(a.j==null)throw Error("ra");a.isAvailable()||_.Dc(Error("ra"))};Ui=function(){var a=null;try{a=_.Sa.localStorage||null}catch(b){}Si.call(this,a)};Vi=function(a,b){this.o=a;this.j=b+"::"};_.Wi=function(a){var b=new Ui;return b.isAvailable()?a?new Vi(b,a):b:null}; Yi=function(a){var b,c,d=a.length,e=0;for(b=0;b>>6:(f<65536?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};Zi=function(a){for(var b=a.length;--b>=0;)a[b]=0};$i=function(a,b,c,d,e){this.Cr=a;this.Qv=b;this.Pv=c;this.rv=d;this.py=e;this.Cp=a&&a.length};aj=function(a,b){this.Wo=a;this.dg=0;this.le=b};bj=function(a,b){a.Ma[a.pending++]=b&255;a.Ma[a.pending++]=b>>>8&255};cj=function(a,b,c){a.hb>16-c?(a.Cb|=b<>16-a.hb,a.hb+=c-16):(a.Cb|=b<>>=1,c<<=1;while(--b>0);return c>>>1};fj=function(a,b,c){var d=Array(16),e=0,f;for(f=1;f<=15;f++)d[f]=e=e+c[f-1]<<1;for(c=0;c<=b;c++)e=a[c*2+1],e!==0&&(a[c*2]=ej(d[e]++,e))};gj=function(a){var b;for(b=0;b<286;b++)a.Nb[b*2]=0;for(b=0;b<30;b++)a.ze[b*2]=0;for(b=0;b<19;b++)a.sb[b*2]=0;a.Nb[512]=1;a.rd=a.ug=0;a.kc=a.matches=0};hj=function(a){a.hb>8?bj(a,a.Cb):a.hb>0&&(a.Ma[a.pending++]=a.Cb);a.Cb=0;a.hb=0}; ij=function(a,b,c){hj(a);bj(a,c);bj(a,~c);Xi.kf(a.Ma,a.window,b,c,a.pending);a.pending+=c};jj=function(a,b,c,d){var e=b*2,f=c*2;return a[e]>>7)];dj(a,g,c);h=pj[g];h!==0&&(e-=qj[g],cj(a,e,h))}}while(d>1;g>=1;g--)kj(a,c,g);l=f;do g=a.Oa[1],a.Oa[1]=a.Oa[a.od--],kj(a,c,1),d=a.Oa[1],a.Oa[--a.Of]=g,a.Oa[--a.Of]=d,c[l*2]=c[g*2]+c[d*2],a.depth[l]=(a.depth[g]>=a.depth[d]?a.depth[g]:a.depth[d])+1,c[g*2+1]=c[d*2+1]=l,a.Oa[1]=l++,kj(a,c,1);while(a.od>= 2);a.Oa[--a.Of]=a.Oa[1];g=b.Wo;l=b.dg;d=b.le.Cr;e=b.le.Cp;f=b.le.Qv;var m=b.le.Pv,n=b.le.py,p,r=0;for(p=0;p<=15;p++)a.Zc[p]=0;g[a.Oa[a.Of]*2+1]=0;for(b=a.Of+1;b<573;b++){var t=a.Oa[b];p=g[g[t*2+1]*2+1]+1;p>n&&(p=n,r++);g[t*2+1]=p;if(!(t>l)){a.Zc[p]++;var u=0;t>=m&&(u=f[t-m]);var v=g[t*2];a.rd+=v*(p+u);e&&(a.ug+=v*(d[t*2+1]+u))}}if(r!==0){do{for(p=n-1;a.Zc[p]===0;)p--;a.Zc[p]--;a.Zc[p+1]+=2;a.Zc[n]--;r-=2}while(r>0);for(p=n;p!==0;p--)for(t=a.Zc[p];t!==0;)d=a.Oa[--b],d>l||(g[d*2+1]!==p&&(a.rd+=(p-g[d* 2+1])*g[d*2],g[d*2+1]=p),t--)}fj(c,h,a.Zc)};tj=function(a,b,c){var d,e=-1,f=b[1],g=0,h=7,l=4;f===0&&(h=138,l=3);b[(c+1)*2+1]=65535;for(d=0;d<=c;d++){var m=f;f=b[(d+1)*2+1];++g>>=1)if(b&1&&a.Nb[c*2]!==0)return 0;if(a.Nb[18]!==0||a.Nb[20]!==0||a.Nb[26]!==0)return 1;for(c=32;c<256;c++)if(a.Nb[c*2]!==0)return 1;return 0};wj=function(a,b,c){a.Ma[a.Rg+a.kc*2]=b>>>8&255;a.Ma[a.Rg+a.kc*2+1]=b&255;a.Ma[a.Xl+a.kc]=c&255;a.kc++;b===0?a.Nb[c*2]++:(a.matches++,b--,a.Nb[(lj[c]+256+1)*2]++,a.ze[(b<256?oj[b]:oj[256+(b>>>7)])*2]++);return a.kc===a.xh-1};yj=function(a,b){a.msg=xj[b];return b}; zj=function(a){for(var b=a.length;--b>=0;)a[b]=0};Aj=function(a){var b=a.state,c=b.pending;c>a.ya&&(c=a.ya);c!==0&&(Xi.kf(a.output,b.Ma,b.Lh,c,a.ig),a.ig+=c,b.Lh+=c,a.hn+=c,a.ya-=c,b.pending-=c,b.pending===0&&(b.Lh=0))}; Ej=function(a,b){var c=a.Ub>=0?a.Ub:-1,d=a.U-a.Ub,e=0;if(a.level>0){a.wa.Uk===2&&(a.wa.Uk=vj(a));sj(a,a.kj);sj(a,a.Di);tj(a,a.Nb,a.kj.dg);tj(a,a.ze,a.Di.dg);sj(a,a.so);for(e=18;e>=3&&a.sb[Bj[e]*2+1]===0;e--);a.rd+=3*(e+1)+5+5+4;var f=a.rd+3+7>>>3;var g=a.ug+3+7>>>3;g<=f&&(f=g)}else f=g=d+5;if(d+4<=f&&c!==-1)cj(a,b?1:0,3),ij(a,c,d);else if(a.strategy===4||g===f)cj(a,2+(b?1:0),3),rj(a,Cj,Dj);else{cj(a,4+(b?1:0),3);c=a.kj.dg+1;d=a.Di.dg+1;e+=1;cj(a,c-257,5);cj(a,d-1,5);cj(a,e-4,4);for(f=0;f>>8&255;a.Ma[a.pending++]=b&255}; Hj=function(a,b){var c=a.kq,d=a.U,e=a.Yb,f=a.tq,g=a.U>a.yb-262?a.U-(a.yb-262):0,h=a.window,l=a.oe,m=a.va,n=a.U+258,p=h[d+e-1],r=h[d+e];a.Yb>=a.yp&&(c>>=2);f>a.fa&&(f=a.fa);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.cg=b;e=t;if(t>=f)break;p=h[d+e-1];r=h[d+e]}}}while((b=m[b&l])>g&&--c!==0); return e<=a.fa?e:a.fa}; Kj=function(a){var b=a.yb,c;do{var d=a.ts-a.fa-a.U;if(a.U>=b+(b-262)){Xi.kf(a.window,a.window,b,b,0);a.cg-=b;a.U-=b;a.Ub-=b;var e=c=a.Vi;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.va[--e],a.va[e]=f>=b?f-b:0;while(--c);d+=b}if(a.wa.Bb===0)break;e=a.wa;c=a.window;f=a.U+a.fa;var g=e.Bb;g>d&&(g=d);g===0?c=0:(e.Bb-=g,Xi.kf(c,e.input,e.Qe,g,f),e.state.wrap===1?e.ra=Ij(e.ra,c,g,f):e.state.wrap===2&&(e.ra=Jj(e.ra,c,g,f)),e.Qe+=g,e.Ze+=g,c=g);a.fa+=c;if(a.fa+a.tb>=3)for(d=a.U-a.tb,a.xa= a.window[d],a.xa=(a.xa<=3&&(a.xa=(a.xa<=3)if(c=wj(a,a.U-a.cg,a.Aa-3),a.fa-=a.Aa,a.Aa<=a.am&&a.fa>=3){a.Aa--;do a.U++,a.xa=(a.xa<=3&&(a.xa=(a.xa<4096)&&(a.Aa=2));if(a.Yb>=3&&a.Aa<=a.Yb){d=a.U+a.fa-3;c=wj(a,a.U-1-a.Qq,a.Yb-3);a.fa-=a.Yb-1;a.Yb-=2;do++a.U<=d&&(a.xa=(a.xa<=3&&a.U>0&&(d=a.U-1,c=f[d],c===f[++d]&&c===f[++d]&&c===f[++d])){for(e=a.U+258;c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&da.fa&&(a.Aa=a.fa)}a.Aa>=3?(c=wj(a,1,a.Aa-3),a.fa-=a.Aa,a.U+=a.Aa,a.Aa=0):(c=wj(a,0,a.window[a.U]),a.fa--,a.U++);if(c&&(Ej(a,!1),a.wa.ya===0))return 1}a.tb=0;return b===4?(Ej(a, !0),a.wa.ya===0?3:4):a.kc&&(Ej(a,!1),a.wa.ya===0)?1:2};Oj=function(a,b){for(var c;;){if(a.fa===0&&(Kj(a),a.fa===0)){if(b===0)return 1;break}a.Aa=0;c=wj(a,0,a.window[a.U]);a.fa--;a.U++;if(c&&(Ej(a,!1),a.wa.ya===0))return 1}a.tb=0;return b===4?(Ej(a,!0),a.wa.ya===0?3:4):a.kc&&(Ej(a,!1),a.wa.ya===0)?1:2};Pj=function(a,b,c,d,e){this.mw=a;this.oy=b;this.Gy=c;this.ny=d;this.cw=e}; Qj=function(){this.wa=null;this.status=0;this.Ma=null;this.wrap=this.pending=this.Lh=this.nc=0;this.pa=null;this.wc=0;this.method=8;this.Zf=-1;this.oe=this.vn=this.yb=0;this.window=null;this.ts=0;this.head=this.va=null;this.tq=this.yp=this.strategy=this.level=this.am=this.kq=this.Yb=this.fa=this.cg=this.U=this.Ne=this.Qq=this.Aa=this.Ub=this.nd=this.md=this.Cl=this.Vi=this.xa=0;this.Nb=new Xi.Uc(1146);this.ze=new Xi.Uc(122);this.sb=new Xi.Uc(78);zj(this.Nb);zj(this.ze);zj(this.sb);this.so=this.Di= this.kj=null;this.Zc=new Xi.Uc(16);this.Oa=new Xi.Uc(573);zj(this.Oa);this.Of=this.od=0;this.depth=new Xi.Uc(573);zj(this.depth);this.hb=this.Cb=this.tb=this.matches=this.ug=this.rd=this.Rg=this.kc=this.xh=this.Xl=0}; Sj=function(a,b){if(!a||!a.state||b>5||b<0)return a?yj(a,-2):-2;var c=a.state;if(!a.output||!a.input&&a.Bb!==0||c.status===666&&b!==4)return yj(a,a.ya===0?-5:-2);c.wa=a;var d=c.Zf;c.Zf=b;if(c.status===42)if(c.wrap===2)a.ra=0,Fj(c,31),Fj(c,139),Fj(c,8),c.pa?(Fj(c,(c.pa.text?1:0)+(c.pa.Td?2:0)+(c.pa.extra?4:0)+(c.pa.name?8:0)+(c.pa.comment?16:0)),Fj(c,c.pa.time&255),Fj(c,c.pa.time>>8&255),Fj(c,c.pa.time>>16&255),Fj(c,c.pa.time>>24&255),Fj(c,c.level===9?2:c.strategy>=2||c.level<2?4:0),Fj(c,c.pa.os&255), c.pa.extra&&c.pa.extra.length&&(Fj(c,c.pa.extra.length&255),Fj(c,c.pa.extra.length>>8&255)),c.pa.Td&&(a.ra=Jj(a.ra,c.Ma,c.pending,0)),c.wc=0,c.status=69):(Fj(c,0),Fj(c,0),Fj(c,0),Fj(c,0),Fj(c,0),Fj(c,c.level===9?2:c.strategy>=2||c.level<2?4:0),Fj(c,3),c.status=113);else{var e=8+(c.vn-8<<4)<<8;e|=(c.strategy>=2||c.level<2?0:c.level<6?1:c.level===6?2:3)<<6;c.U!==0&&(e|=32);c.status=113;Gj(c,e+(31-e%31));c.U!==0&&(Gj(c,a.ra>>>16),Gj(c,a.ra&65535));a.ra=1}if(c.status===69)if(c.pa.extra){for(e=c.pending;c.wc< (c.pa.extra.length&65535)&&(c.pending!==c.nc||(c.pa.Td&&c.pending>e&&(a.ra=Jj(a.ra,c.Ma,c.pending-e,e)),Aj(a),e=c.pending,c.pending!==c.nc));)Fj(c,c.pa.extra[c.wc]&255),c.wc++;c.pa.Td&&c.pending>e&&(a.ra=Jj(a.ra,c.Ma,c.pending-e,e));c.wc===c.pa.extra.length&&(c.wc=0,c.status=73)}else c.status=73;if(c.status===73)if(c.pa.name){e=c.pending;do{if(c.pending===c.nc&&(c.pa.Td&&c.pending>e&&(a.ra=Jj(a.ra,c.Ma,c.pending-e,e)),Aj(a),e=c.pending,c.pending===c.nc)){var f=1;break}f=c.wce&&(a.ra=Jj(a.ra,c.Ma,c.pending-e,e));f===0&&(c.wc=0,c.status=91)}else c.status=91;if(c.status===91)if(c.pa.comment){e=c.pending;do{if(c.pending===c.nc&&(c.pa.Td&&c.pending>e&&(a.ra=Jj(a.ra,c.Ma,c.pending-e,e)),Aj(a),e=c.pending,c.pending===c.nc)){f=1;break}f=c.wce&&(a.ra=Jj(a.ra,c.Ma,c.pending-e,e));f===0&&(c.status=103)}else c.status=103;c.status===103&& (c.pa.Td?(c.pending+2>c.nc&&Aj(a),c.pending+2<=c.nc&&(Fj(c,a.ra&255),Fj(c,a.ra>>8&255),a.ra=0,c.status=113)):c.status=113);if(c.pending!==0){if(Aj(a),a.ya===0)return c.Zf=-1,0}else if(a.Bb===0&&(b<<1)-(b>4?9:0)<=(d<<1)-(d>4?9:0)&&b!==4)return yj(a,-5);if(c.status===666&&a.Bb!==0)return yj(a,-5);if(a.Bb!==0||c.fa!==0||b!==0&&c.status!==666){d=c.strategy===2?Oj(c,b):c.strategy===3?Nj(c,b):Rj[c.level].cw(c,b);if(d===3||d===4)c.status=666;if(d===1||d===3)return a.ya===0&&(c.Zf=-1),0;if(d===2&&(b===1? (cj(c,2,3),dj(c,256,Cj),c.hb===16?(bj(c,c.Cb),c.Cb=0,c.hb=0):c.hb>=8&&(c.Ma[c.pending++]=c.Cb&255,c.Cb>>=8,c.hb-=8)):b!==5&&(cj(c,0,3),ij(c,0,0),b===3&&(zj(c.head),c.fa===0&&(c.U=0,c.Ub=0,c.tb=0))),Aj(a),a.ya===0))return c.Zf=-1,0}if(b!==4)return 0;if(c.wrap<=0)return 1;c.wrap===2?(Fj(c,a.ra&255),Fj(c,a.ra>>8&255),Fj(c,a.ra>>16&255),Fj(c,a.ra>>24&255),Fj(c,a.Ze&255),Fj(c,a.Ze>>8&255),Fj(c,a.Ze>>16&255),Fj(c,a.Ze>>24&255)):(Gj(c,a.ra>>>16),Gj(c,a.ra&65535));Aj(a);c.wrap>0&&(c.wrap=-c.wrap);return c.pending!== 0?0:1}; Tj=function(a){if(!(this instanceof Tj))return new Tj(a);a=this.options=Xi.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},a||{});a.raw&&a.windowBits>0?a.windowBits=-a.windowBits:a.gzip&&a.windowBits>0&&a.windowBits<16&&(a.windowBits+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.wa=new Uj;this.wa.ya=0;var b=this.wa;var c=a.level,d=a.method,e=a.windowBits,f=a.memLevel,g=a.strategy;if(b){var h=1;c===-1&&(c=6);e<0?(h=0,e=-e):e>15&&(h=2,e-=16);if(f< 1||f>9||d!==8||e<8||e>15||c<0||c>9||g<0||g>4)b=yj(b,-2);else{e===8&&(e=9);var l=new Qj;b.state=l;l.wa=b;l.wrap=h;l.pa=null;l.vn=e;l.yb=1<>=7;f<30;f++)for(qj[f]=g<<7,e=0;e<1<=m.yb&&(b===0&&(zj(m.head),m.U=0,m.Ub=0,m.tb=0),c=new Xi.ff(m.yb),Xi.kf(c,f,g-m.yb,m.yb,0),f=c,g=m.yb);c=a.Bb;d=a.Qe;e=a.input;a.Bb=g;a.Qe=0;a.input=f;for(Kj(m);m.fa>=3;){f=m.U;g=m.fa-2;do m.xa=(m.xa<1?a[b[0]]=b[1]:b.length===1&&Object.assign(a,b[0])};_.gk=function(){_.ek(_.fk,arguments)};_.B=function(a,b){return a in _.fk?_.fk[a]:b};_.hk=function(a){var b=_.fk.EXPERIMENT_FLAGS;return b?b[a]:void 0};jk=function(a){ik.forEach(function(b){return b(a)})};_.lk=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){_.kk(b)}}:a}; _.kk=function(a){var b=_.Ua("yt.logging.errors.log");b?b(a,"ERROR",void 0,void 0,void 0,void 0,void 0):(b=_.B("ERRORS",[]),b.push([a,"ERROR",void 0,void 0,void 0,void 0,void 0]),_.gk("ERRORS",b));jk(a)};_.mk=function(a,b,c,d,e){var f=_.Ua("yt.logging.errors.log");f?f(a,"WARNING",b,c,d,void 0,e):(f=_.B("ERRORS",[]),f.push([a,"WARNING",b,c,d,void 0,e]),_.gk("ERRORS",f))}; ok=function(a,b){b=a.split(b);for(var c={},d=0,e=b.length;d1?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=_.sk(e[1]||"");for(var f in b)!c&&e!==null&&f in e||(e[f]=b[f]);return _.zc(a,e)+d};_.wk=function(a){if(!b)var b=window.location.href;var c=_.oc(a)[1]||null,d=_.rc(a);c&&d?(a=_.oc(a),b=_.oc(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?_.rc(b)===d&&(Number(_.oc(b)[4]||null)||null)===(Number(_.oc(a)[4]||null)||null):!0;return a};nk=function(a){return a&&a.match(xk)?a:_.lc(a)}; _.Ek=function(a){var b=yk;a=a===void 0?_.Ua("yt.ads.biscotti.lastId_")||"":a;var c=Object,d=c.assign,e={};e.dt=Ck;e.flash="0";a:{try{var f=b.j.top.location.href}catch(J){f=2;break a}f=f?f===b.o.location.href?0:1:2}e=(e.frm=f,e);try{e.u_tz=-(new Date).getTimezoneOffset();try{var g=Dk.history.length}catch(J){g=0}e.u_his=g;var h;e.u_h=(h=Dk.screen)==null?void 0:h.height;var l;e.u_w=(l=Dk.screen)==null?void 0:l.width;var m;e.u_ah=(m=Dk.screen)==null?void 0:m.availHeight;var n;e.u_aw=(n=Dk.screen)==null? void 0:n.availWidth;var p;e.u_cd=(p=Dk.screen)==null?void 0:p.colorDepth}catch(J){}var r;g=b.j;try{var t=g.screenX;var u=g.screenY}catch(J){}try{var v=g.outerWidth;var w=g.outerHeight}catch(J){}try{var y=g.innerWidth;var E=g.innerHeight}catch(J){}try{var D=g.screenLeft;var N=g.screenTop}catch(J){}try{y=g.innerWidth,E=g.innerHeight}catch(J){}try{var M=g.screen.availWidth;var R=g.screen.availTop}catch(J){}t=[D,N,t,u,M,R,v,w,y,E];try{var S=_.Ge(b.j.top||window).round()}catch(J){S=new _.re(-12245933, -12245933)}u=S;S={};var L=L===void 0?_.Sa:L;v=new Bi;"SVGElement"in L&&"createElementNS"in L.document&&v.set(0);w=qe();w["allow-top-navigation-by-user-activation"]&&v.set(1);w["allow-popups-to-escape-sandbox"]&&v.set(2);L.crypto&&L.crypto.subtle&&v.set(3);"TextDecoder"in L&&"TextEncoder"in L&&v.set(4);L=Ci(v);S.bc=L;S.bih=u.height;S.biw=u.width;S.brdim=t.join();b=b.o;b=b.prerendering?3:(r={visible:1,hidden:2,prerender:3,preview:4,unloaded:5,"":0}[b.visibilityState||b.webkitVisibilityState||b.mozVisibilityState|| ""])!=null?r:0;r=(S.vis=b,S.wgl=!!Dk.WebGLRenderingContext,S);c=d.call(c,e,r);c.ca_type="image";a&&(c.bid=a);return c};_.Fk=function(a,b){typeof a==="function"&&(a=_.lk(a));return window.setTimeout(a,b)};Hk=function(){if(!Gk)return null;var a=Gk();return"open"in a?a:null};_.Jk=function(a){switch(_.Ik(a)){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};_.Ik=function(a){return a&&"status"in a?a.status:-1}; _.C=function(a){a=_.Kk(a);return typeof a==="string"&&a==="false"?!1:!!a};_.Lk=function(a,b){a=_.Kk(a);return a===void 0&&b!==void 0?b:Number(a||0)};_.Mk=function(a){a=_.Kk(a);return a!==void 0?String(a):""};_.Kk=function(a){return _.B("EXPERIMENT_FLAGS",{})[a]}; _.Nk=function(){for(var a=[],b=_.B("EXPERIMENTS_FORCED_FLAGS",{}),c=_.z(Object.keys(b)),d=c.next();!d.done;d=c.next())d=d.value,a.push({key:d,value:String(b[d])});c=_.B("EXPERIMENT_FLAGS",{});d=_.z(Object.keys(c));for(var e=d.next();!e.done;e=d.next())e=e.value,e.startsWith("force_")&&b[e]===void 0&&a.push({key:e,value:String(c[e])});return a}; Qk=function(a,b,c,d,e,f,g,h,l){function m(){(n&&"readyState"in n?n.readyState:0)===4&&b&&_.lk(b)(n)}c=c===void 0?"GET":c;d=d===void 0?"":d;h=h===void 0?!1:h;var n=Hk();if(!n)return null;"onloadend"in n?n.addEventListener("loadend",m,!1):n.onreadystatechange=m;_.C("debug_forward_web_query_parameters")&&(a=Ok(a));n.open(c,a,!0);f&&(n.responseType=f);g&&(n.withCredentials=!0);c=c==="POST"&&(window.FormData===void 0||!(d instanceof FormData));if(e=Pk(a,e))for(var p in e)n.setRequestHeader(p,e[p]),"content-type"=== p.toLowerCase()&&(c=!1);c&&n.setRequestHeader("Content-Type","application/x-www-form-urlencoded");l&&"onprogress"in n&&(n.onprogress=function(){l(n.responseText)});if(h&&"setAttributionReporting"in XMLHttpRequest.prototype){a={eventSourceEligible:!0,triggerEligible:!1};try{n.setAttributionReporting(a)}catch(r){_.mk(r)}}n.send(d);return n}; Pk=function(a,b){b=b===void 0?{}:b;var c=_.wk(a),d=_.B("INNERTUBE_CLIENT_NAME"),e=_.C("web_ajax_ignore_global_headers_if_set"),f;for(f in Rk){var g=_.B(Rk[f]),h=f==="X-Goog-AuthUser"||f==="X-Goog-PageId";f!=="X-Goog-Visitor-Id"||g||(g=_.B("VISITOR_DATA"));var l;if(!(l=!g)){if(!(l=c||(_.rc(a)?!1:!0))){l=a;var m;if(m=_.C("add_auth_headers_to_remarketing_google_dot_com_ping")&&f==="Authorization"&&(d==="TVHTML5"||d==="TVHTML5_UNPLUGGED"||d==="TVHTML5_SIMPLY"))m=_.rc(l),m=m!==null?m.split(".").reverse(): null,m=m===null?!1:m[1]==="google"?!0:m[2]==="google"?m[0]==="au"&&m[1]==="com"?!0:m[0]==="uk"&&m[1]==="co"?!0:!1:!1;m&&(l=_.tc(l)||"",l=l.split("/"),l="/"+(l.length>1?l[1]:""),m=l==="/pagead");l=m?!0:!1}l=!l}l||e&&b[f]!==void 0||d==="TVHTML5_UNPLUGGED"&&h||(b[f]=g)}"X-Goog-EOM-Visitor-Id"in b&&"X-Goog-Visitor-Id"in b&&delete b["X-Goog-Visitor-Id"];if(c||!_.rc(a))b["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());if(c||!_.rc(a)){try{var n=(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(p){}n&& (b["X-YouTube-Time-Zone"]=n)}document.location.hostname.endsWith("youtubeeducation.com")||!c&&_.rc(a)||(b["X-YouTube-Ad-Signals"]=rk(_.Ek()));return b};Tk=function(a,b){b.method="POST";b.postParams||(b.postParams={});return _.Sk(a,b)}; _.Sk=function(a,b){var c=b.format||"JSON";a=Uk(a,b);var d=Vk(a,b),e=!1,f=Wk(a,function(l){if(!e){e=!0;h&&window.clearTimeout(h);var m=_.Jk(l),n=null,p=400<=l.status&&l.status<500,r=500<=l.status&&l.status<600;if(m||p||r)n=Xk(a,c,l,b.convertToSafeHtml);m&&(m=Yk(c,l,n));n=n||{};p=b.context||_.Sa;m?b.onSuccess&&b.onSuccess.call(p,l,n):b.onError&&b.onError.call(p,l,n);b.onFinish&&b.onFinish.call(p,l,n)}},b.method,d,b.headers,b.responseType,b.withCredentials,!1,b.onProgress);d=b.timeout||0;if(b.onTimeout&& d>0){var g=b.onTimeout;var h=_.Fk(function(){e||(e=!0,f.abort(),window.clearTimeout(h),g.call(b.context||_.Sa,f))},d)}return f};Uk=function(a,b){b.includeDomain&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var c=_.B("XSRF_FIELD_NAME");if(b=b.urlParams)b[c]&&delete b[c],a=uk(a,b);return a}; Vk=function(a,b){var c=_.B("XSRF_FIELD_NAME"),d=_.B("XSRF_TOKEN"),e=b.postBody||"",f=b.postParams,g=_.B("XSRF_FIELD_NAME"),h;b.headers&&(h=b.headers["Content-Type"]);b.excludeXsrf||_.rc(a)&&!b.withCredentials&&_.rc(a)!==document.location.hostname||b.method!=="POST"||h&&h!=="application/x-www-form-urlencoded"||b.postParams&&b.postParams[g]||(f||(f={}),f[c]=d);f&&typeof e==="string"&&(e=_.sk(e),ye(e,f),e=b.postBodyFormat&&b.postBodyFormat==="JSON"?JSON.stringify(e):_.xc(e));f=e||f&&!_.ue(f);!Zk&&f&& b.method!=="POST"&&(Zk=!0,_.kk(Error("ta")));return e};Xk=function(a,b,c,d){var e=null;switch(b){case "JSON":try{var f=c.responseText}catch(g){throw d=Error("ua"),d.params=a,_.mk(d),g;}a=c.getResponseHeader("Content-Type")||"";if(f&&a.indexOf("json")>=0){f.substring(0,5)===")]}'\n"&&(f=f.substring(5));try{e=JSON.parse(f)}catch(g){}}break;case "XML":if(a=(a=c.responseXML)?$k(a):null)e={},_.oe(a.getElementsByTagName("*"),function(g){e[g.tagName]=al(g)})}d&&bl(e);return e}; bl=function(a){if(_.$a(a))for(var b in a)b==="html_content"||_.rb(b,"_html")?a[b]=_.Lb(a[b]):bl(a[b])};Yk=function(a,b,c){if(b&&b.status===204)return!0;switch(a){case "JSON":return!!c;case "XML":return Number(c&&c.return_code)===0;case "RAW":return!0;default:return!!c}};$k=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&a.length>0?a[0]:null:null};al=function(a){var b="";_.oe(a.childNodes,function(c){b+=c.nodeValue});return b}; Ok=function(a){var b=window.location.search,c=_.rc(a);_.C("debug_handle_relative_url_for_query_forward_killswitch")||!c&&_.wk(a)&&(c=document.location.hostname);var d=_.tc(a);d=(c=c&&(c.endsWith("youtube.com")||c.endsWith("youtube-nocookie.com")))&&d&&d.startsWith("/api/");if(!c||d)return a;var e=_.sk(b),f={};_.oe(cl,function(g){e[g]&&(f[g]=e[g])});return _.vk(a,f)};_.el=function(a,b,c,d,e){_.dl.set(a,b,{vj:c,path:"/",domain:d===void 0?"youtube.com":d,secure:e===void 0?!1:e})}; _.fl=function(a,b,c){_.dl.remove(a,b===void 0?"/":b,c===void 0?"youtube.com":c)};_.gl=function(){if(!_.Sa.matchMedia)return"WEB_DISPLAY_MODE_UNKNOWN";try{return _.Sa.matchMedia("(display-mode: standalone)").matches?"WEB_DISPLAY_MODE_STANDALONE":_.Sa.matchMedia("(display-mode: minimal-ui)").matches?"WEB_DISPLAY_MODE_MINIMAL_UI":_.Sa.matchMedia("(display-mode: fullscreen)").matches?"WEB_DISPLAY_MODE_FULLSCREEN":_.Sa.matchMedia("(display-mode: browser)").matches?"WEB_DISPLAY_MODE_BROWSER":"WEB_DISPLAY_MODE_UNKNOWN"}catch(a){return"WEB_DISPLAY_MODE_UNKNOWN"}}; _.hl=function(){this.Hr=!0}; _.il=function(a){var b={},c=[];"USER_SESSION_ID"in _.fk&&c.push({key:"u",value:_.B("USER_SESSION_ID")});if(c=_.Xe(c))b.Authorization=c,c=a=a==null?void 0:a.sessionIndex,c===void 0&&(c=Number(_.B("SESSION_INDEX",0)),c=isNaN(c)?0:c),_.C("voice_search_auth_header_removal")||(b["X-Goog-AuthUser"]=c.toString()),"INNERTUBE_HOST_OVERRIDE"in _.fk||(b["X-Origin"]=window.location.origin),a===void 0&&"DELEGATED_SESSION_ID"in _.fk&&(b["X-Goog-PageId"]=_.B("DELEGATED_SESSION_ID"));return b}; jl=function(){var a=_.Sa.navigator;return a?a.connection:void 0};_.ll=function(){var a=jl();if(a){var b=kl[a.type||"unknown"]||"CONN_UNKNOWN";a=kl[a.effectiveType||"unknown"]||"CONN_UNKNOWN";b==="CONN_CELLULAR_UNKNOWN"&&a!=="CONN_UNKNOWN"&&(b=a);if(b!=="CONN_UNKNOWN")return b;if(a!=="CONN_UNKNOWN")return a}};_.nl=function(){var a=jl();if(a!=null&&a.effectiveType)return ml.hasOwnProperty(a.effectiveType)?ml[a.effectiveType]:"EFFECTIVE_CONNECTION_TYPE_UNKNOWN"}; _.ol=function(a){var b=_.Na.apply(1,arguments);var c=Error.call(this,a);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.args=[].concat(_.va(b));Object.setPrototypeOf(this,this.constructor.prototype)};_.ql=function(){try{return _.pl(),!0}catch(a){return!1}};_.pl=function(a){if(_.B("DATASYNC_ID")!==void 0)return _.B("DATASYNC_ID");throw new _.ol("Datasync ID not set",a===void 0?"unknown":a);};rl=function(){};_.sl=function(a,b){return _.vg.Fa(a,0,b)}; vl=function(a){a=a===void 0?{}:a;_.lf.call(this);this.o=[];this.v={};this.ha=this.j=0;this.paused=this.D=!1;this.W=[];this.ea=this.ka=!1;for(var b=_.z(tl),c=b.next();!c.done;c=b.next())this.o[c.value]=[];this.B=0;this.Sg=a.timeout||1;this.S=ul;this.I=0;this.Na=this.cz.bind(this);this.Md=this.UA.bind(this);this.pb=this.mu.bind(this);this.qb=this.Yw.bind(this);this.cc=this.Bz.bind(this);this.Ba=!!window.requestIdleCallback&&!!window.cancelIdleCallback&&!_.C("disable_scheduler_requestIdleCallback"); (this.sa=a.useRaf!==!1&&!!window.requestAnimationFrame)&&document.addEventListener("visibilitychange",this.Na)};wl=function(a){a.W.length=0;for(var b=5;b>=0;b--)a.o[b].length=0;a.o[8].length=0;a.v={};a.stop()};xl=function(a){return!a.isHidden()&&a.sa};yl=function(a){if(a.o[8].length){if(a.ea)return 4;if(xl(a))return 3}for(var b=5;b>=a.B;b--)if(a.o[b].length>0)return b>0?xl(a)?3:2:1;return 0};zl=function(a,b){try{b()}catch(c){a.Gb(c)}}; Al=function(a){for(var b=_.z(tl),c=b.next();!c.done;c=b.next())if(a.o[c.value].length)return!0;return!1};Cl=function(a){a.stop();a.D=!0;for(var b=_.hb(),c=a.o[8];c.length;){var d=c.shift(),e=a.v[d];delete a.v[d];e&&zl(a,e)}Bl(a);a.D=!1;Al(a)&&a.start();b=_.hb()-b;a.S-=b};Bl=function(a){for(var b=0,c=a.W.length;bd?a.B:d;if(!(_.hb()>=b)){do{a:{c=a;f=d;for(e=3;e>=f;e--)for(var g=c.o[e];g.length;){var h=g.shift(),l=c.v[h];delete c.v[h];if(l){c=l;break a}}c=null}c&&zl(a,c)}while(c&&_.hb()a&&(b.B=a,b.start())};Ul=function(){window.clearTimeout(Ql);var a=El();a.B=0;a.start()};Vl=function(){rl.apply(this,arguments)};_.Wl=function(){Vl.instance||(Vl.instance=new Vl);return Vl.instance};_.Xl=function(a){this.j=(a=_.Wi(a))?new _.Pi(a):null;this.o=document.domain||window.location.hostname}; Zl=function(){var a;return(a=Yl())==null?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)};_.cm=function(a){$l||(_.am?_.am.Gb(a):(_.bm.push({type:"ERROR",payload:a}),_.bm.length>10&&_.bm.shift()))};dm=function(a,b){$l||(_.am?_.am.qj(a,b):(_.bm.push({type:"EVENT",eventType:a,payload:b}),_.bm.length>10&&_.bm.shift()))};em=function(a){if(a.indexOf(":")>=0)throw Error("ya");};fm=function(a){return a.substr(0,a.indexOf(":"))||a};_.gm=function(a){var b=_.Fc();return b?b.toLowerCase().indexOf(a)>=0:!1}; km=function(a,b,c,d,e){b=b===void 0?{}:b;c=c===void 0?hm[a]:c;d=d===void 0?im[a]:d;e=e===void 0?jm[a]:e;_.ol.call(this,c,Object.assign({},{name:"YtIdbKnownError",isSw:self.document===void 0,isIframe:self!==self.top,type:a},b));this.type=a;this.message=c;this.level=d;this.j=e;Object.setPrototypeOf(this,km.prototype)};lm=function(a,b){km.call(this,"MISSING_OBJECT_STORES",{expectedObjectStores:b,foundObjectStores:a},hm.MISSING_OBJECT_STORES);Object.setPrototypeOf(this,lm.prototype)}; mm=function(a,b){var c=Error.call(this);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.index=a;this.objectStore=b;Object.setPrototypeOf(this,mm.prototype)}; pm=function(a,b,c,d){b=fm(b);var e=a instanceof Error?a:Error("za`"+a);if(e instanceof km)return e;a={objectStoreNames:c,dbName:b,dbVersion:d};if(e.name==="QuotaExceededError")return new km("QUOTA_EXCEEDED",a);if(nm&&e.name==="UnknownError")return new km("QUOTA_MAYBE_EXCEEDED",a);if(e instanceof mm)return new km("MISSING_INDEX",Object.assign({},a,{objectStore:e.objectStore,index:e.index}));if(e.name==="InvalidStateError"&&om.some(function(f){return e.message.includes(f)}))return new km("EXECUTE_TRANSACTION_ON_CLOSED_DB", a);if(e.name==="AbortError")return new km("UNKNOWN_ABORT",a,e.message);e.args=[Object.assign({},a,{name:"IdbError",zm:e.name})];e.level="WARNING";return e};qm=function(a,b,c){var d=Zl();return new km("IDB_NOT_SUPPORTED",{context:{caller:a,publicName:b,version:c,hasSucceededOnce:d==null?void 0:d.hasSucceededOnce}})};rm=function(a){if(!a)throw Error();throw a;};sm=function(a){return a};tm=function(a){this.j=a}; _.um=function(a){function b(e){if(d.state.status==="PENDING"){d.state={status:"REJECTED",reason:e};e=_.z(d.o);for(var f=e.next();!f.done;f=e.next())f=f.value,f()}}function c(e){if(d.state.status==="PENDING"){d.state={status:"FULFILLED",value:e};e=_.z(d.j);for(var f=e.next();!f.done;f=e.next())f=f.value,f()}}var d=this;this.state={status:"PENDING"};this.j=[];this.o=[];a=a.j;try{a(c,b)}catch(e){b(e)}}; xm=function(a,b,c,d,e){try{if(a.state.status!=="FULFILLED")throw Error("Aa");var f=c(a.state.value);f instanceof _.um?wm(a,b,f,d,e):d(f)}catch(g){e(g)}};ym=function(a,b,c,d,e){try{if(a.state.status!=="REJECTED")throw Error("Ba");var f=c(a.state.reason);f instanceof _.um?wm(a,b,f,d,e):d(f)}catch(g){e(g)}};wm=function(a,b,c,d,e){b===c?e(new TypeError("Ca")):c.then(function(f){f instanceof _.um?wm(a,b,f,d,e):d(f)},function(f){e(f)})}; zm=function(a,b,c){function d(){c(a.error);f()}function e(){b(a.result);f()}function f(){try{a.removeEventListener("success",e),a.removeEventListener("error",d)}catch(g){}}a.addEventListener("success",e);a.addEventListener("error",d)};Am=function(a){return new Promise(function(b,c){zm(a,b,c)})};Bm=function(a){return new _.um(new tm(function(b,c){zm(a,b,c)}))};Cm=function(a,b){return new _.um(new tm(function(c,d){function e(){var f=a?b(a):null;f?f.then(function(g){a=g;e()},d):c()}e()}))}; Em=function(a,b){this.j=a;this.options=b;this.transactionCount=0;this.v=Math.round((0,_.Dm)());this.o=!1};Fm=function(){return _.C("idb_immediate_commit")};_.Hm=function(a,b,c){a=a.j.createObjectStore(b,c);return new Gm(a)};_.Km=function(a,b,c){return _.Im(a,[b],{mode:"readwrite",jb:!0,commit:Fm()},function(d){return _.Jm(d.objectStore(b),c)})}; _.Im=function(a,b,c,d){var e,f,g,h,l,m,n,p,r,t,u,v;return _.A(function(w){switch(w.j){case 1:var y={mode:"readonly",jb:!1,tag:"IDB_TRANSACTION_TAG_UNKNOWN"};typeof c==="string"?y.mode=c:Object.assign(y,c);e=y;a.transactionCount++;f=e.jb?3:1;g=0;case 2:if(h){w.J(4);break}g++;l=Math.round((0,_.Dm)());w.D(5);m=a.j.transaction(b,e.mode);y=w.yield;var E=!!e.commit;var D=new Lm(m);E=Mm(D,d,E);return y.call(w,E,7);case 7:return n=w.o,p=Math.round((0,_.Dm)()),Nm(a,l,p,g,void 0,b.join(),e),w.return(n);case 5:r= w.B();t=Math.round((0,_.Dm)());u=pm(r,a.j.name,b.join(),a.j.version);if((v=u instanceof km&&!u.j)||g>=f)Nm(a,l,t,g,u,b.join(),e),h=u;w.J(2);break;case 4:return w.return(Promise.reject(h))}})}; Nm=function(a,b,c,d,e,f,g){b=c-b;e?(e instanceof km&&(e.type==="QUOTA_EXCEEDED"||e.type==="QUOTA_MAYBE_EXCEEDED")&&dm("QUOTA_EXCEEDED",{dbName:fm(a.j.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:g.mode}),e instanceof km&&e.type==="UNKNOWN_ABORT"&&(c-=a.v,c<0&&c>=2147483648&&(c=0),dm("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.o=!0),Om(a,!1,d,f,b,g.tag),_.cm(e)):Om(a,!0,d,f,b,g.tag)}; Om=function(a,b,c,d,e,f){dm("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.o,duration:e,isSuccessful:b,tryCount:c,tag:f===void 0?"IDB_TRANSACTION_TAG_UNKNOWN":f})};Gm=function(a){this.j=a};_.Pm=function(a,b,c){a.j.createIndex(b,c,{unique:!1})};Sm=function(a,b){return Qm(a,{query:b},function(c){return c.delete().then(function(){return Rm(c)})}).then(function(){})}; Tm=function(a,b,c){var d=[];return Qm(a,{query:b},function(e){if(!(c!==void 0&&d.length>=c))return d.push(e.cursor.value),Rm(e)}).then(function(){return d})};_.Jm=function(a,b){return Bm(a.j.put(b,void 0))};Qm=function(a,b,c){a=a.j.openCursor(b.query,b.direction);return Um(a).then(function(d){return Cm(d,c)})}; Lm=function(a){var b=this;this.j=a;this.o=new Map;this.aborted=!1;this.done=new Promise(function(c,d){b.j.addEventListener("complete",function(){c()});b.j.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.j.error)});b.j.addEventListener("abort",function(){var e=b.j.error;if(e)d(e);else if(!b.aborted){e=km;for(var f=b.j.objectStoreNames,g=[],h=0;h=c))return d.push(e.cursor.value),Rm(e)}).then(function(){return d})}; Wm=function(a,b,c){a=a.j.openCursor(b.query===void 0?null:b.query,b.direction===void 0?"next":b.direction);return Um(a).then(function(d){return Cm(d,c)})};Ym=function(a,b){this.request=a;this.cursor=b};Um=function(a){return Bm(a).then(function(b){return b?new Ym(a,b):null})};Rm=function(a){a.cursor.continue(void 0);return Um(a.request)}; Zm=function(a,b,c){return new Promise(function(d,e){function f(){r||(r=new Em(g.result,{closed:p}));return r}var g=b!==void 0?self.indexedDB.open(a,b):self.indexedDB.open(a);var h=c.blocked,l=c.blocking,m=c.MA,n=c.upgrade,p=c.closed,r;g.addEventListener("upgradeneeded",function(t){try{if(t.newVersion===null)throw Error("Ea");if(g.transaction===null)throw Error("Fa");t.dataLoss&&t.dataLoss!=="none"&&dm("IDB_DATA_CORRUPTED",{reason:t.dataLossMessage||"unknown reason",dbName:fm(a)});var u=f(),v=new Lm(g.transaction); n&&n(u,function(w){return t.oldVersion=w},v);v.done.catch(function(w){e(w)})}catch(w){e(w)}});g.addEventListener("success",function(){var t=g.result;l&&t.addEventListener("versionchange",function(){l(f())});t.addEventListener("close",function(){dm("IDB_UNEXPECTEDLY_CLOSED",{dbName:fm(a),dbVersion:t.version});m&&m()});d(f())});g.addEventListener("error",function(){e(g.error)});h&&g.addEventListener("blocked",function(){h()})})};$m=function(a,b,c){c=c===void 0?{}:c;return Zm(a,b,c)}; _.an=function(a,b){b=b===void 0?{}:b;var c,d,e,f;return _.A(function(g){if(g.j==1)return g.D(2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.blocked)&&c.addEventListener("blocked",function(){e()}),g.yield(Am(c),4);if(g.j!=2)return g.K(0);f=g.B();throw pm(f,a,"",-1);})};bn=function(a,b){this.name=a;this.options=b;this.v=!0;this.D=this.B=0};cn=function(a,b){return new km("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})}; _.dn=function(a,b){if(!b)throw qm("openWithToken",fm(a.name));return a.open()};fn=function(a,b){var c;return _.A(function(d){if(d.j==1)return d.yield(_.dn(en,b),2);c=d.o;return d.return(_.Im(c,["databases"],{jb:!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 _.Jm(f,a).then(function(){})})}))})}; _.gn=function(a,b){var c;return _.A(function(d){if(d.j==1)return a?d.yield(_.dn(en,b),2):d.return();c=d.o;return d.return(c.delete("databases",a))})};_.hn=function(a,b){var c,d;return _.A(function(e){return e.j==1?(c=[],e.yield(_.dn(en,b),2)):e.j!=3?(d=e.o,e.yield(_.Im(d,["databases"],{jb:!0,mode:"readonly"},function(f){c.length=0;return Qm(f.objectStore("databases"),{},function(g){a(g.cursor.value)&&c.push(g.cursor.value);return Rm(g)})}),3)):e.return(c)})}; jn=function(a){return _.hn(function(b){return b.publicName==="LogsDatabaseV2"&&b.userIdentifier!==void 0},a)}; nn=function(){var a,b,c;return _.A(function(d){switch(d.j){case 1:a=Zl();if((b=a)==null?0:b.hasSucceededOnce)return d.return(!0);var e;if(e=_.kn)e=/WebKit\/([0-9]+)/.exec(_.Fc()),e=!!(e&&parseInt(e[1],10)>=600);e&&(e=/WebKit\/([0-9]+)/.exec(_.Fc()),e=!(e&&parseInt(e[1],10)>=602));if(!(e=e||_.ln)){try{e=self;var f=!!(e.indexedDB&&e.IDBIndex&&e.IDBKeyRange&&e.IDBObjectStore)}catch(g){f=!1}e=!f}if(e||!("IDBTransaction"in self&&"objectStoreNames"in IDBTransaction.prototype))return d.return(!1);d.D(2); c={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0};return d.yield(fn(c,mn),4);case 4:return d.yield(_.gn("yt-idb-test-do-not-use",mn),5);case 5:return d.return(!0);case 2:return d.B(),d.return(!1)}})};pn=function(){if(on!==void 0)return on;$l=!0;return on=nn().then(function(a){$l=!1;var b;if((b=Yl())!=null&&b.j){var c;b={hasSucceededOnce:((c=Zl())==null?void 0:c.hasSucceededOnce)||a};var d;(d=Yl())==null||d.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0)}return a})}; qn=function(){return _.Ua("ytglobal.idbToken_")||void 0};_.rn=function(){var a=qn();return a?Promise.resolve(a):pn().then(function(b){b?(_.Ta("ytglobal.idbToken_",mn),b=mn):b=void 0;return b})};sn=function(a){if(!_.ql())throw a=new km("AUTH_INVALID",{dbName:a}),_.cm(a),a;var b=_.pl();return{actualName:a+":"+b,publicName:a,userIdentifier:b}}; tn=function(a,b,c,d){var e,f,g,h,l,m;return _.A(function(n){switch(n.j){case 1:return f=(e=Error().stack)!=null?e:"",n.yield(_.rn(),2);case 2:g=n.o;if(!g)throw h=qm("openDbImpl",a,b),_.C("ytidb_async_stack_killswitch")||(h.stack=h.stack+"\n"+f.substring(f.indexOf("\n")+1)),_.cm(h),h;em(a);l=c?{actualName:a,publicName:a,userIdentifier:void 0}:sn(a);n.D(3);return n.yield(fn(l,g),5);case 5:return n.yield($m(l.actualName,b,d),6);case 6:return n.return(n.o);case 3:return m=n.B(),n.D(7),n.yield(_.gn(l.actualName, g),9);case 9:n.K(8);break;case 7:n.B();case 8:throw m;}})};un=function(a,b,c){c=c===void 0?{}:c;return tn(a,b,!1,c)};vn=function(a,b,c){c=c===void 0?{}:c;return tn(a,b,!0,c)};wn=function(a,b){b=b===void 0?{}:b;var c,d;return _.A(function(e){if(e.j==1)return e.yield(_.rn(),2);if(e.j!=3){c=e.o;if(!c)return e.return();em(a);d=sn(a);return e.yield(_.an(d.actualName,b),3)}return e.yield(_.gn(d.actualName,c),0)})}; xn=function(a,b,c){a=a.map(function(d){return _.A(function(e){return e.j==1?e.yield(_.an(d.actualName,b),2):e.yield(_.gn(d.actualName,c),0)})});return Promise.all(a).then(function(){})};yn=function(){var a=a===void 0?{}:a;var b,c;return _.A(function(d){if(d.j==1)return d.yield(_.rn(),2);if(d.j!=3){b=d.o;if(!b)return d.return();em("LogsDatabaseV2");return d.yield(jn(b),3)}c=d.o;return d.yield(xn(c,a,b),0)})}; zn=function(a,b){b=b===void 0?{}:b;var c;return _.A(function(d){if(d.j==1)return d.yield(_.rn(),2);if(d.j!=3){c=d.o;if(!c)return d.return();em(a);return d.yield(_.an(a,b),3)}return d.yield(_.gn(a,c),0)})};An=function(a,b){bn.call(this,a,b);this.options=b;em(a)};Bn=function(a,b){var c;return function(){c||(c=new An(a,b));return c}};_.Cn=function(a,b){return Bn(a,b)};En=function(a){return _.dn(Dn(),a)}; Fn=function(a,b,c){var d,e,f;return _.A(function(g){switch(g.j){case 1:return d={config:a,hashData:b,timestamp:(0,_.Dm)()},g.yield(En(c),2);case 2:return e=g.o,g.yield(e.clear("hotConfigStore"),3);case 3:return g.yield(_.Km(e,"hotConfigStore",d),4);case 4:return f=g.o,g.return(f)}})}; Gn=function(a,b,c,d){var e,f,g;return _.A(function(h){switch(h.j){case 1:return e={config:a,hashData:b,configData:c,timestamp:(0,_.Dm)()},h.yield(En(d),2);case 2:return f=h.o,h.yield(f.clear("coldConfigStore"),3);case 3:return h.yield(_.Km(f,"coldConfigStore",e),4);case 4:return g=h.o,h.return(g)}})}; Hn=function(a){var b,c;return _.A(function(d){return d.j==1?d.yield(En(a),2):d.j!=3?(b=d.o,c=void 0,d.yield(_.Im(b,["coldConfigStore"],{mode:"readwrite",jb:!0},function(e){return Wm(e.objectStore("coldConfigStore").index("coldTimestampIndex"),{direction:"prev"},function(f){c=f.cursor.value})}),3)):d.return(c)})}; In=function(a){var b,c;return _.A(function(d){return d.j==1?d.yield(En(a),2):d.j!=3?(b=d.o,c=void 0,d.yield(_.Im(b,["hotConfigStore"],{mode:"readwrite",jb:!0},function(e){return Wm(e.objectStore("hotConfigStore").index("hotTimestampIndex"),{direction:"prev"},function(f){c=f.cursor.value})}),3)):d.return(c)})};Jn=function(){_.lf.call(this);this.o=[];this.j=[];var a=_.Ua("yt.gcf.config.hotUpdateCallbacks");a?(this.o=[].concat(_.va(a)),this.j=a):(this.j=[],_.Ta("yt.gcf.config.hotUpdateCallbacks",this.j))}; Kn=function(){this.j=0;this.o=new Jn};Ln=function(){var a;return(a=_.Ua("yt.gcf.config.hotConfigGroup"))!=null?a:_.B("RAW_HOT_CONFIG_GROUP")}; Mn=function(a,b,c){var d,e,f;return _.A(function(g){switch(g.j){case 1:if(!_.C("start_client_gcf")){g.J(0);break}c&&(a.v=c,_.Ta("yt.gcf.config.hotConfigGroup",a.v||null));a.B(b);d=qn();if(!d){g.J(3);break}if(c){g.J(4);break}return g.yield(In(d),5);case 5:e=g.o,c=(f=e)==null?void 0:f.config;case 4:return g.yield(Fn(c,b,d),3);case 3:if(c)for(var h=c,l=_.z(a.o.j),m=l.next();!m.done;m=l.next())m=m.value,m(h);g.v()}})}; Nn=function(a,b,c){var d,e,f,g;return _.A(function(h){if(h.j==1){if(!_.C("start_client_gcf"))return h.J(0);a.coldHashData=b;_.Ta("yt.gcf.config.coldHashData",a.coldHashData||null);return(d=qn())?c?h.J(4):h.yield(Hn(d),5):h.J(0)}h.j!=4&&(e=h.o,c=(f=e)==null?void 0:f.config);if(!c)return h.J(0);g=c.configData;return h.yield(Gn(c,b,g,d),0)})}; _.On=function(){if(!Kn.instance){var a=new Kn;Kn.instance=a}a=Kn.instance;var b=(0,_.Dm)()-a.j;if(!(a.j!==0&&b<_.Lk("send_config_hash_timer"))){b=_.Ua("yt.gcf.config.coldConfigData");var c=_.Ua("yt.gcf.config.hotHashData"),d=_.Ua("yt.gcf.config.coldHashData");b&&c&&d&&(a.j=(0,_.Dm)());return{coldConfigData:b,hotHashData:c,coldHashData:d}}};Pn=function(){return"INNERTUBE_API_KEY"in _.fk&&"INNERTUBE_API_VERSION"in _.fk}; Qn=function(){return{innertubeApiKey:_.B("INNERTUBE_API_KEY"),innertubeApiVersion:_.B("INNERTUBE_API_VERSION"),jx:_.B("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),Kp:_.B("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),zI:_.B("INNERTUBE_CONTEXT_CLIENT_NAME",1),innertubeContextClientVersion:_.B("INNERTUBE_CONTEXT_CLIENT_VERSION"),lx:_.B("INNERTUBE_CONTEXT_HL"),kx:_.B("INNERTUBE_CONTEXT_GL"),mx:_.B("INNERTUBE_HOST_OVERRIDE")||"",nx:!!_.B("INNERTUBE_USE_THIRD_PARTY_AUTH",!1),AI:!!_.B("INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT", !1),appInstallData:_.B("SERIALIZED_CLIENT_CONFIG_DATA")}}; Rn=function(a){var b={client:{hl:a.lx,gl:a.kx,clientName:a.Kp,clientVersion:a.innertubeContextClientVersion,configInfo:a.jx}};navigator.userAgent&&(b.client.userAgent=String(navigator.userAgent));var c=_.Sa.devicePixelRatio;c&&c!=1&&(b.client.screenDensityFloat=String(c));c=_.B("EXPERIMENTS_TOKEN","");c!==""&&(b.client.experimentsToken=c);c=_.Nk();c.length>0&&(b.request={internalExperimentFlags:c});c=a.Kp;if((c==="WEB"||c==="MWEB"||c===1||c===2)&&b){var d;b.client.mainAppWebInfo=(d=b.client.mainAppWebInfo)!= null?d:{};b.client.mainAppWebInfo.webDisplayMode=_.gl()}(d=_.Ua("yt.embedded_player.embed_url"))&&b&&(b.thirdParty={embedUrl:d});var e;if(_.C("web_log_memory_total_kbytes")&&((e=_.Sa.navigator)==null?0:e.deviceMemory)){var f;e=(f=_.Sa.navigator)==null?void 0:f.deviceMemory;b&&(b.client.memoryTotalKbytes=""+e*1E6)}a.appInstallData&&b&&(b.client.configInfo=b.client.configInfo||{},b.client.configInfo.appInstallData=a.appInstallData);(a=_.ll())&&b&&(b.client.connectionType=a);_.C("web_log_effective_connection_type")&& (a=_.nl())&&b&&(b.client.effectiveConnectionType=a);_.C("start_client_gcf")&&(e=_.On())&&(a=e.coldConfigData,f=e.coldHashData,e=e.hotHashData,b&&(b.client.configInfo=b.client.configInfo||{},a&&(b.client.configInfo.coldConfigData=a),f&&(b.client.configInfo.coldHashData=f),e&&(b.client.configInfo.hotHashData=e)));_.B("DELEGATED_SESSION_ID")&&!_.C("pageid_as_header_web")&&(b.user={onBehalfOfUser:_.B("DELEGATED_SESSION_ID")});!_.C("fill_delegate_context_in_gel_killswitch")&&(a=_.B("INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT"))&& (b.user=Object.assign({},b.user,{serializedDelegationContext:a}));a=_.B("INNERTUBE_CONTEXT");var g;if(_.C("enable_persistent_device_token")&&(a==null?0:(g=a.client)==null?0:g.rolloutToken)){var h;b.client.rolloutToken=a==null?void 0:(h=a.client)==null?void 0:h.rolloutToken}g=Object;h=g.assign;a=b.client;f={};e=_.z(Object.entries(_.sk(_.B("DEVICE",""))));for(d=e.next();!d.done;d=e.next())c=_.z(d.value),d=c.next().value,c=c.next().value,d==="cbrand"?f.deviceMake=c:d==="cmodel"?f.deviceModel=c:d==="cbr"? f.browserName=c:d==="cbrver"?f.browserVersion=c:d==="cos"?f.osName=c:d==="cosver"?f.osVersion=c:d==="cplatform"&&(f.platform=c);b.client=h.call(g,a,f);return b}; Sn=function(a,b,c){c=c===void 0?{}:c;var d={};_.B("EOM_VISITOR_DATA")?d={"X-Goog-EOM-Visitor-Id":_.B("EOM_VISITOR_DATA")}:d={"X-Goog-Visitor-Id":c.visitorData||_.B("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;b=c.authorization||_.B("AUTHORIZATION");b||(a?b="Bearer "+_.Ua("gapi.auth.getToken")().dH:(_.hl.instance||(_.hl.instance=new _.hl),a=_.il(),_.C("pageid_as_header_web")||delete a["X-Goog-PageId"],d=Object.assign({},d,a)));b&&(d.Authorization=b);return d}; _.Tn=function(a,b){this.version=a;this.args=b};_.Un=function(a,b){this.topic=a;this.j=b};_.Wn=function(a,b){var c=_.Vn();c&&c.publish.call(c,a.toString(),a,b)};_.Vn=function(){return _.Ua("ytPubsub2Pubsub2Instance")};Xn=function(a,b,c){c=c===void 0?{sampleRate:.1}:c;Math.random()_.$n||f<_.ao)){var g=_.ck((0,_.bo)(b)),h=(0,_.Dm)();e.ticks.gelc=h;_.co++;_.eo(e);c.headers||(c.headers={});c.headers["Content-Encoding"]="gzip";c.postBody=g;c.postParams=void 0}d(a,c)}catch(l){_.mk(l),d(a,c)}else d(a,c)};_.Zn=function(a){try{return(new Blob(a.split(""))).size}catch(b){return _.mk(b),null}}; _.eo=function(a){_.C("gel_compression_csi_killswitch")||!_.C("log_gel_compression_latency")&&!_.C("log_gel_compression_latency_lr")||Xn("gel_compression",a,{sampleRate:.1})}; io=function(a){this.ti=this.Mc=!1;this.potentialEsfErrorCounter=this.j=0;this.handleError=function(){};this.Kf=function(){};this.now=Date.now;this.Vg=!1;var b;this.Jr=(b=a.Jr)!=null?b:100;var c;this.er=(c=a.er)!=null?c:1;var d;this.Yq=(d=a.Yq)!=null?d:2592E6;var e;this.Rq=(e=a.Rq)!=null?e:12E4;var f;this.Zq=(f=a.Zq)!=null?f:5E3;var g;this.Ja=(g=a.Ja)!=null?g:void 0;this.Hi=!!a.Hi;var h;this.Ai=(h=a.Ai)!=null?h:.1;var l;this.Lj=(l=a.Lj)!=null?l:10;a.handleError&&(this.handleError=a.handleError);a.Kf&& (this.Kf=a.Kf);a.Vg&&(this.Vg=a.Vg);a.ti&&(this.ti=a.ti);this.Ka=a.Ka;this.zc=a.zc;this.bb=a.bb;this.Wa=a.Wa;this.Bd=a.Bd;this.xm=a.xm;this.nm=a.nm;go(this)&&(!this.Ka||this.Ka("networkless_logging"))&&ho(this)};ho=function(a){go(a)&&!a.Vg&&(a.Mc=!0,a.Hi&&Math.random()<=a.Ai&&a.bb.Gu(a.Ja),jo(a),a.Wa.Pb()&&a.ai(),a.Wa.listen(a.xm,a.ai.bind(a)),a.Wa.listen(a.nm,a.yo.bind(a)))}; oo=function(a,b){var c;return _.A(function(d){switch(d.j){case 1:if(!go(a))throw Error("Ja");if(b.id===void 0){d.J(2);break}return d.yield(a.bb.my(b.id,a.Ja),3);case 3:(c=d.o)||a.Kf(Error("Ka"));case 2:if(ko(a,b,a.Yq)){d.J(4);break}a.Kf(Error("La"));if(b.id===void 0){d.J(5);break}return d.yield(a.bb.wf(b.id,a.Ja),5);case 5:return d.return();case 4:b.skipRetry||(b=no(a,b));if(!b){d.J(0);break}if(!b.skipRetry||b.id===void 0){d.J(8);break}return d.yield(a.bb.wf(b.id,a.Ja),8);case 8:a.Bd(b.url,b.options, !!b.skipRetry),d.v()}})}; no=function(a,b){if(!go(a))throw Error("Ma");var c=b.options.onError?b.options.onError:function(){};b.options.onError=function(e,f){var g,h,l,m;return _.A(function(n){switch(n.j){case 1:g=po(f);(h=qo(f))&&a.Ka&&a.Ka("web_enable_error_204")&&a.handleError(Error("Na"),b.url,f);if(!(a.Ka&&a.Ka("nwl_consider_error_code")&&g||a.Ka&&!a.Ka("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.Lj)){n.J(2);break}if(!a.Wa.Vj){n.J(3);break}return n.yield(a.Wa.Vj(),3);case 3:if(a.Wa.Pb()){n.J(2);break}c(e, f);if(!a.Ka||!a.Ka("nwl_consider_error_code")||((l=b)==null?void 0:l.id)===void 0){n.J(6);break}return n.yield(a.bb.Um(b.id,a.Ja,!1),6);case 6:return n.return();case 2:if(a.Ka&&a.Ka("nwl_consider_error_code")&&!g&&a.potentialEsfErrorCounter>a.Lj)return n.return();a.potentialEsfErrorCounter++;if(((m=b)==null?void 0:m.id)===void 0){n.J(8);break}return b.sendCount=c?!1:!0}; jo=function(a){if(!go(a))throw Error("Oa");a.bb.wp("QUEUED",a.Ja).then(function(b){b&&!ko(a,b,a.Rq)?a.zc.rb(function(){return _.A(function(c){if(c.j==1)return b.id===void 0?c.J(2):c.yield(a.bb.Um(b.id,a.Ja),2);jo(a);c.v()})}):a.Wa.Pb()&&a.ai()})};ro=function(a,b){a.us&&!a.Wa.Pb()?a.us(b):a.handleError(b)};go=function(a){return!!a.Ja||a.ti};po=function(a){var b;return(a=a==null?void 0:(b=a.error)==null?void 0:b.code)&&a>=400&&a<=599?!1:!0}; qo=function(a){var b;a=a==null?void 0:(b=a.error)==null?void 0:b.code;return!(a!==400&&a!==415)}; to=function(){if(so)return so();var a={};so=_.Cn("LogsDatabaseV2",{je:(a.LogsRequestsStore={Jd:2},a),shared:!1,upgrade:function(b,c,d){c(2)&&_.Hm(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.j.indexNames.contains("newRequest")&&d.j.deleteIndex("newRequest"),_.Pm(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&b.j.objectStoreNames.contains("sapisid")&&b.j.deleteObjectStore("sapisid");c(9)&&b.j.objectStoreNames.contains("SWHealthLog")&& b.j.deleteObjectStore("SWHealthLog")},version:9});return so()};uo=function(a){return _.dn(to(),a)};wo=function(a,b){var c,d,e,f;return _.A(function(g){if(g.j==1)return c={startTime:(0,_.Dm)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},ticks:{}},g.yield(uo(b),2);if(g.j!=3)return d=g.o,e=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:_.B("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),g.yield(_.Km(d,"LogsRequestsStore",e),3);f=g.o;c.ticks.tc=(0,_.Dm)();vo(c);return g.return(f)})}; xo=function(a,b){var c,d,e,f,g,h,l,m,n;return _.A(function(p){if(p.j==1)return c={startTime:(0,_.Dm)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},ticks:{}},p.yield(uo(b),2);if(p.j!=3)return d=p.o,e=_.B("INNERTUBE_CONTEXT_CLIENT_NAME",0),f=[a,e,0],g=[a,e,(0,_.Dm)()],h=IDBKeyRange.bound(f,g),l="prev",_.C("use_fifo_for_networkless")&&(l="next"),m=void 0,n=a==="NEW"?"readwrite":"readonly",_.C("use_readonly_for_get_most_recent_by_status_killswitch")&&(n="readwrite"),p.yield(_.Im(d,["LogsRequestsStore"], {mode:n,jb:!0},function(r){return Wm(r.objectStore("LogsRequestsStore").index("newRequestV2"),{query:h,direction:l},function(t){t.cursor.value&&(m=t.cursor.value,a==="NEW"&&(m.status="QUEUED",t.update(m)))})}),3);c.ticks.tc=(0,_.Dm)();vo(c);return p.return(m)})}; yo=function(a,b){var c;return _.A(function(d){if(d.j==1)return d.yield(uo(b),2);c=d.o;return d.return(_.Im(c,["LogsRequestsStore"],{mode:"readwrite",jb:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(g){if(g)return g.status="QUEUED",_.Jm(f,g).then(function(){return g})})}))})}; zo=function(a,b,c,d){c=c===void 0?!0:c;var e;return _.A(function(f){if(f.j==1)return f.yield(uo(b),2);e=f.o;return f.return(_.Im(e,["LogsRequestsStore"],{mode:"readwrite",jb:!0},function(g){var h=g.objectStore("LogsRequestsStore");return h.get(a).then(function(l){return l?(l.status="NEW",c&&(l.sendCount+=1),d!==void 0&&(l.options.compress=d),_.Jm(h,l).then(function(){return l})):_.um.resolve(void 0)})}))})}; Ao=function(a,b){var c;return _.A(function(d){if(d.j==1)return d.yield(uo(b),2);c=d.o;return d.return(c.delete("LogsRequestsStore",a))})};Bo=function(a){var b,c;return _.A(function(d){if(d.j==1)return d.yield(uo(a),2);b=d.o;c=(0,_.Dm)()-2592E6;return d.yield(_.Im(b,["LogsRequestsStore"],{mode:"readwrite",jb:!0},function(e){return Qm(e.objectStore("LogsRequestsStore"),{},function(f){if(f.cursor.value.timestamp<=c)return f.delete().then(function(){return Rm(f)})})}),0)})}; Co=function(){_.A(function(a){return a.yield(yn(),0)})};vo=function(a){_.C("nwl_csi_killswitch")||Xn("networkless_performance",a,{sampleRate:1})};Eo=function(a){return _.dn(Do(),a)};Fo=function(a){var b,c;_.A(function(d){if(d.j==1)return d.yield(Eo(a),2);b=d.o;c=(0,_.Dm)()-2592E6;return d.yield(_.Im(b,["SWHealthLog"],{mode:"readwrite",jb:!0},function(e){return Qm(e.objectStore("SWHealthLog"),{},function(f){if(f.cursor.value.timestamp<=c)return f.delete().then(function(){return Rm(f)})})}),0)})}; Go=function(a){var b;return _.A(function(c){if(c.j==1)return c.yield(Eo(a),2);b=c.o;return c.yield(b.clear("SWHealthLog"),0)})}; _.Io=function(a,b,c,d,e,f,g){e=e===void 0?"":e;f=f===void 0?!1:f;g=g===void 0?!1:g;if(a)if(c&&!_.gm("cobalt"))_.mk(new _.ol("Legacy referrer-scrubbed ping detected")),a&&Ho(a,void 0,{scrubReferrer:!0});else if(e)Qk(a,b,"POST",e,d);else if(_.B("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d||g)Qk(a,b,"GET","",d,void 0,f,g);else{b:{try{c:{var h=new ob({url:a});if(h.j.dsh==="1")var l=null;else{var m=h.j.ae;if(m==="1"){var n=h.j.adurl;if(n)try{l={version:3,ev:decodeURIComponent(n),su:mb(h.o,"act=1","ri=1",pb(h))}; break c}catch(u){}}l=m==="2"?{version:4,ev:mb(h.o,"dct=1","suid="+h.v,"ri=1"),su:mb(h.o,"act=1","ri=1","suid="+h.v)}:null}}if(l){var p=_.tc(a);var r=!(!p||!p.endsWith("/aclk")||_.Cc(a,"ri")!=="1");break b}}catch(u){}r=!1}if(r){b:{try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")){var t=!0;break b}}catch(u){}t=!1}t?(b&&b(),c=!0):c=!1}else c=!1;c||Ho(a,b)}}; Ho=function(a,b,c){c=c===void 0?{}:c;var d=new Image,e=""+Jo++;Ko[e]=d;d.onload=d.onerror=function(){b&&Ko[e]&&b();delete Ko[e]};c.scrubReferrer&&(d.referrerPolicy="no-referrer");d.src=a};Mo=function(){Lo||(Lo=new _.Xl("yt.offline"));return Lo};No=function(a){if(_.C("offline_error_handling")){var b=Mo().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);Mo().set("errors",b,2592E3,!0)}};Oo=function(){this.j=new Map;this.o=!1}; Po=function(){if(!Oo.instance){var a=_.Ua("yt.networkRequestMonitor.instance")||new Oo;_.Ta("yt.networkRequestMonitor.instance",a);Oo.instance=a}return Oo.instance}; Qo=function(){_.qg.call(this);var a=this;this.v=!1;this.j=wg();this.j.listen("networkstatus-online",function(){if(a.v&&_.C("offline_error_handling")){var b=Mo().get("errors",!0);if(b){for(var c in b)if(b[c]){var d=new _.ol(c,"sent via offline_errors");d.name=b[c].name;d.stack=b[c].stack;d.level=b[c].level;_.kk(d)}Mo().set("errors",{},2592E3,!0)}}})};Ro=function(){if(!Qo.instance){var a=_.Ua("yt.networkStatusManager.instance")||new Qo;_.Ta("yt.networkStatusManager.instance",a);Qo.instance=a}return Qo.instance}; _.To=function(a){a=a===void 0?{}:a;_.qg.call(this);var b=this;this.j=this.D=0;this.v=Ro();var c=_.Ua("yt.networkStatusManager.instance.listen").bind(this.v);c&&(a.rateLimit?(this.rateLimit=a.rateLimit,c("networkstatus-online",function(){So(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){So(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){b.dispatchEvent("publicytnetworkstatus-online")}),c("networkstatus-offline",function(){b.dispatchEvent("publicytnetworkstatus-offline")})))}; So=function(a,b){a.rateLimit?a.j?(_.vg.Ia(a.D),a.D=_.vg.rb(function(){a.B!==b&&(a.dispatchEvent(b),a.B=b,a.j=(0,_.Dm)())},a.rateLimit-((0,_.Dm)()-a.j))):(a.dispatchEvent(b),a.B=b,a.j=(0,_.Dm)()):a.dispatchEvent(b)}; Xo=function(){var a=io.call;Uo||(Uo=new _.To({cJ:!0,YH:!0}));a.call(io,this,{bb:{Gu:Bo,wf:Ao,wp:xo,my:yo,Um:zo,set:wo},Wa:Uo,handleError:function(b,c,d){var e,f=d==null?void 0:(e=d.error)==null?void 0:e.code;if(f===400||f===415){var g;b=new _.ol(b.message,c,d==null?void 0:(g=d.error)==null?void 0:g.code);_.mk(b,void 0,void 0,void 0,!0)}else _.kk(b)},Kf:_.mk,Bd:Vo,now:_.Dm,us:No,zc:_.Wl(),xm:"publicytnetworkstatus-online",nm:"publicytnetworkstatus-offline",Hi:!0,Ai:.1,Lj:_.Lk("potential_esf_error_limit", 10),Ka:_.C,Vg:!(_.ql()&&_.Wo())});this.o=new _.Ii;_.C("networkless_immediately_drop_all_requests")&&Co();zn("LogsDatabaseV2")};_.Zo=function(){var a=_.Ua("yt.networklessRequestController.instance");a||(a=new Xo,_.Ta("yt.networklessRequestController.instance",a),_.C("networkless_logging")&&_.rn().then(function(b){a.Ja=b;ho(a);a.o.resolve();a.Hi&&Math.random()<=a.Ai&&a.Ja&&Fo(a.Ja);_.C("networkless_immediately_drop_sw_health_store")&&Yo(a)}));return a}; Yo=function(a){var b;_.A(function(c){if(!a.Ja)throw b=qm("clearSWHealthLogsDb"),b;return c.return(Go(a.Ja).catch(function(d){a.handleError(d)}))})}; Vo=function(a,b,c){b=_.C("web_fp_via_jspb")?Object.assign({},b):b;if(_.C("use_request_time_ms_header"))b.headers&&_.wk(a)&&(b.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,_.Dm)())));else{var d;if((d=b.postParams)==null?0:d.requestTimeMs)b.postParams.requestTimeMs=Math.round((0,_.Dm)())}c&&Object.keys(b).length===0?_.Io(a):b.compress?b.postBody?(typeof b.postBody!=="string"&&(b.postBody=JSON.stringify(b.postBody)),fo(a,b.postBody,b,_.Sk)):fo(a,JSON.stringify(b.postParams),b,Tk):_.Sk(a, b)};$o=function(a,b){_.C("use_event_time_ms_header")&&_.wk(a)&&(b.headers||(b.headers={}),b.headers["X-Goog-Event-Time"]=JSON.stringify(Math.round((0,_.Dm)())));return b};_.Wo=function(){return _.rc(document.location.toString())!=="www.youtube-nocookie.com"};ap=function(a){this.config_=null;a?this.config_=a:Pn()&&(this.config_=Qn())}; dp=function(a,b,c,d){function e(m){try{if((m===void 0?0:m)&&d.retry&&!d.networklessOptions.bypassNetworkless)f.method="POST",d.networklessOptions.writeThenSend?_.Zo().writeThenSend(l,f):_.Zo().sendAndWrite(l,f);else if(d.compress)if(f.postBody){var n=f.postBody;typeof n!=="string"&&(n=JSON.stringify(f.postBody));fo(l,n,f,_.Sk)}else fo(l,JSON.stringify(f.postParams),f,Tk);else Tk(l,f)}catch(p){if(p.name==="InvalidAccessError")_.mk(Error("Pa"));else throw p;}}!_.B("VISITOR_DATA")&&b!=="visitor_id"&& Math.random()<.01&&_.mk(new _.ol("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady())throw a=new _.ol("innertube xhrclient not ready",b,c,d),_.kk(a),a;var f={headers:d.headers||{},method:"POST",postParams:c,postBody:d.postBody,postBodyFormat:d.postBodyFormat||"JSON",onTimeout:function(){d.onTimeout()},onFetchTimeout:d.onTimeout,onSuccess:function(m,n){if(d.onSuccess)d.onSuccess(n)},onFetchSuccess:function(m){if(d.onSuccess)d.onSuccess(m)},onProgress:function(m){if(d.onProgress)d.onProgress(m)}, onError:function(m,n){if(d.onError)d.onError(n)},onFetchError:function(m){if(d.onError)d.onError(m)},timeout:d.timeout,withCredentials:!0,compress:d.compress};f.headers["Content-Type"]||(f.headers["Content-Type"]="application/json");c="";var g=a.config_.mx;g&&(c=g);g=a.config_.nx||!1;var h=Sn(g,c,d);Object.assign(f.headers,h);f.headers.Authorization&&!c&&g&&(f.headers["x-origin"]=window.location.origin);var l=uk(c+("/youtubei/"+a.config_.innertubeApiVersion+"/"+b),{alt:"json"});(_.Ua("ytNetworklessLoggingInitializationOptions")? _.bp.isNwlInitialized:_.cp)?pn().then(function(m){e(m)}):e(!1)};_.gp=function(a){var b=_.Na.apply(1,arguments);if(!ep(a)||b.some(function(d){return!ep(d)}))throw Error("Qa");b=_.z(b);for(var c=b.next();!c.done;c=b.next())fp(a,c.value)};fp=function(a,b){for(var c in b)if(ep(b[c])){if(c in a&&!ep(a[c]))throw Error("Ra");c in a||(a[c]={});fp(a[c],b[c])}else if(hp(b[c])){if(c in a&&!hp(a[c]))throw Error("Sa");c in a||(a[c]=[]);ip(a[c],b[c])}else a[c]=b[c];return a}; ip=function(a,b){b=_.z(b);for(var c=b.next();!c.done;c=b.next())c=c.value,ep(c)?a.push(fp({},c)):hp(c)?a.push(ip([],c)):a.push(c);return a};ep=function(a){return typeof a==="object"&&!Array.isArray(a)};hp=function(a){return typeof a==="object"&&Array.isArray(a)};_.jp=function(){var a=_.Ua("_lact",window);return a==null?-1:Math.max(Date.now()-a,0)}; _.lp=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c-1)throw Error("Ua`"+b);if(a.o.has(b))return a.o.get(b);if(!a.v.has(b)){if(d)return;throw Error("Va`"+b);}d=a.v.get(b);c.push(b);if(d.qc!==void 0)var e=d.qc;else if(d.fi)e=d[_.vp]?wp(a,d[_.vp],c):[],e=d.fi.apply(d,_.va(e));else if(d.Fd){e=d.Fd;var f=e[_.vp]?wp(a,e[_.vp],c):[];e=new (Function.prototype.bind.apply(e,[null].concat(_.va(f))))}else throw Error("Wa`"+b);c.pop();d.eK||a.o.set(b,e);return e}; wp=function(a,b,c){return b?b.map(function(d){return d instanceof qp?tp(a,d.key,c,!0):tp(a,d,c)}):[]};_.yp=function(){xp||(xp=new sp);return xp};Ap=function(){var a,b;return"h5vcc"in zp&&((a=zp.h5vcc.traceEvent)==null?0:a.traceBegin)&&((b=zp.h5vcc.traceEvent)==null?0:b.traceEnd)?1:"performance"in zp&&zp.performance.mark&&zp.performance.measure?2:0}; Bp=function(a){var b=Ap();switch(b){case 1:zp.h5vcc.traceEvent.traceBegin("YTLR",a);break;case 2:zp.performance.mark(a+"-start");break;case 0:break;default:_.Jb(b,"unknown trace type")}};Cp=function(a){var b=Ap();switch(b){case 1:zp.h5vcc.traceEvent.traceEnd("YTLR",a);break;case 2:b=a+"-start";var c=a+"-end";zp.performance.mark(c);zp.performance.measure(a,b,c);break;case 0:break;default:_.Jb(b,"unknown trace type")}};Dp=function(a){var b,c;(c=(b=window).onerror)==null||c.call(b,a.message,"",0,0,a)}; Ep=function(a){var b=this;var c=c===void 0?0:c;var d=d===void 0?_.Wl():d;this.v=c;this.scheduler=d;this.o=new _.Ii;this.j=a;for(a={Fe:0};a.Fe$p&&b.splice(0,b.length-$p)};_.cq=function(a){a=a||"";var b=_.bq();if(b[a])return b[a];var c={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};_.aq(c);return b[a]=c};_.bq=function(){var a=_.Ua("ytcsi.reference");if(a)return a;Zp();return _.Ua("ytcsi.reference")}; dq=function(a,b){_.Tn.call(this,1,arguments);this.timer=b};eq=function(a){if(a.name==="JavaException")return!0;a=a.stack;return a.includes("chrome://")||a.includes("-extension://")||a.includes("webkit-masked-url://")};fq=function(a){if(!a.stack)return!0;var b=!a.stack.includes("\n");return b&&a.stack.includes("ErrorType: ")||b&&a.stack.includes("Anonymous function (Unknown script")||a.stack.toLowerCase()==="not available"||a.fileName==="user-script"||a.fileName.startsWith("user-script:")?!0:!1}; gq=function(){this.Od=[];this.de=[]};_.kq=function(){if(!hq){var a=hq=new gq;a.de.length=0;a.Od.length=0;_.iq(a,jq)}return hq};_.iq=function(a,b){b.de&&a.de.unshift.apply(a.de,b.de);b.Od&&a.Od.unshift.apply(a.Od,b.Od)};_.lq=function(a){return atob(a.replace(/-/g,"+").replace(/_/g,"/"))}; _.nq=function(a,b){function c(){return a.charCodeAt(e++)}var d=a.length,e=0;do{var f=mq(c);if(f===Infinity)break;var g=f>>3;switch(f&7){case 0:f=mq(c);if(g===b)return f;break;case 1:if(g===b)return;e+=8;break;case 2:f=mq(c);if(g===b)return a.substr(e,f);e+=f;break;case 5:if(g===b)return;e+=4;break;default:return}}while(e500));d++);d=e}else if(typeof a==="object")for(e in a){if(a[e]){var f=e;var g=a[e],h=b,l=c;f=typeof g!=="string"||f!=="clickTrackingParams"&&f!=="trackingParams"?0:(g=_.nq(_.lq(g),2))?oq(f+".ve",g,h,l):0;d+=f;d+=oq(e,a[e],b,c);if(d>500)break}}else c[b]=pq(a),d+=c[b].length;else c[b]=pq(a),d+=c[b].length;return d};oq=function(a,b,c,d){c+="."+a;a=pq(b);d[c]=a;return c.length+a.length}; pq=function(a){try{return(typeof a==="string"?a:String(JSON.stringify(a))).substr(0,500)}catch(b){return"unable to serialize "+typeof a+" ("+b.message+")"}};rq=function(){this.store={};this.j={}}; uq=function(a,b){var c=sq(b);if(a.j[c])return a.j[c];var d=Object.keys(a.store)||[];if(d.length<=1&&sq(b)===d[0])return d;for(var e=[],f=0;f=1E3?d():c>=a?Jq||(Jq=Kq(function(){d();Jq=void 0},0)):f-h>=10&&(Lq(e,b.tier),g.B=f)}; Cq=function(a,b){if(a.endpoint==="log_event"){_.C("more_accurate_gel_parser")&&wq().storePayload({isJspb:!1},a.payload);xq(a);var c=yq(a),d=new Map;d.set(c,[a.payload]);var e=zq(a.payload)||"";b&&(Hq=new b);return new _.Vg(function(f,g){Hq&&Hq.isReady()?Mq(d,Hq,f,g,{bypassNetworkless:!0},!0,e==="gelDebuggingEvent"):f()})}}; yq=function(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);Nq[a.cttAuthInfo.token]=c;b=a.cttAuthInfo.token}return b};_.Gq=function(a,b,c,d){a=a===void 0?{}:a;c=c===void 0?!1:c;new _.Vg(function(e,f){var g=Iq(c,d),h=g.v;g.v=!1;Oq(g.o);Oq(g.j);g.j=0;Hq&&Hq.isReady()?d===void 0&&_.C("enable_web_tiered_gel")?Pq(e,f,a,b,c,300,h):Pq(e,f,a,b,c,d,h):(Lq(c,d),e())})}; Pq=function(a,b,c,d,e,f,g){var h=Hq;c=c===void 0?{}:c;e=e===void 0?!1:e;f=f===void 0?200:f;g=g===void 0?!1:g;var l=new Map,m={isJspb:e,cttAuthInfo:d,tier:f};e={isJspb:e,cttAuthInfo:d};if(d!==void 0)f=_.C("enable_web_tiered_gel")?wq().smartExtractMatchingEntries({keys:[m,e],sizeLimit:1E3}):wq().extractMatchingEntries(e),l.set(d,f);else for(d=_.z(Object.keys(Dq)),m=d.next();!m.done;m=d.next())m=m.value,e=_.C("enable_web_tiered_gel")?wq().smartExtractMatchingEntries({keys:[{isJspb:!1,cttAuthInfo:m,tier:f}, {isJspb:!1,cttAuthInfo:m}],sizeLimit:1E3}):wq().extractMatchingEntries({isJspb:!1,cttAuthInfo:m}),e.length>0&&l.set(m,e),(_.C("web_fp_via_jspb_and_json")&&c.writeThenSend||!_.C("web_fp_via_jspb_and_json"))&&delete Dq[m];Mq(l,h,a,b,c,!1,g)}; Lq=function(a,b){function c(){_.Gq({writeThenSend:!0},void 0,a,b)}a=a===void 0?!1:a;b=b===void 0?200:b;var d=Iq(a,b),e=d===Qq||d===Rq?5E3:Sq;_.C("web_gel_timeout_cap")&&!d.j&&(e=Kq(function(){c()},e),d.j=e);Oq(d.o);e=_.B("LOGGING_BATCH_TIMEOUT",_.Lk("web_gel_debounce_ms",1E4));_.C("shorten_initial_gel_batch_timeout")&&Tq&&(e=Uq);e=Kq(function(){_.Lk("gel_min_batch_size")>0?wq().getSequenceCount({cttAuthInfo:void 0,isJspb:a,tier:b})>=Vq&&c():c()},e);d.o=e}; Mq=function(a,b,c,d,e,f,g){e=e===void 0?{}:e;var h=Math.round((0,_.Dm)()),l=a.size,m=(g===void 0?0:g)&&_.C("vss_through_gel_video_stats")?"video_stats":"log_event";a=_.z(a);var n=a.next();for(g={};!n.done;g={gm:void 0,batchRequest:void 0,dangerousLogToVisitorSession:void 0,sm:void 0,om:void 0},n=a.next()){var p=_.z(n.value);n=p.next().value;p=p.next().value;g.batchRequest=_.we({context:Rn(b.config_||Qn())});if(!_.Za(p)&&!_.C("throw_err_when_logevent_malformed_killswitch")){d();break}g.batchRequest.events= p;(p=Nq[n])&&Wq(g.batchRequest,n,p);delete Nq[n];g.dangerousLogToVisitorSession=n==="visitorOnlyApprovedKey";Xq(g.batchRequest,h,g.dangerousLogToVisitorSession);_.C("always_send_and_write")&&(e.writeThenSend=!1);g.sm=function(r){_.C("start_client_gcf")&&_.vg.rb(function(){return _.A(function(t){return t.yield(Yq(r),0)})});l--;l||c()};g.gm=0;g.om=function(r){return function(){r.gm++;if(e.bypassNetworkless&&r.gm===1)try{dp(b,m,r.batchRequest,Zq({writeThenSend:!0},r.dangerousLogToVisitorSession,r.sm, r.om,f)),Tq=!1}catch(t){_.kk(t),d()}l--;l||c()}}(g);try{dp(b,m,g.batchRequest,Zq(e,g.dangerousLogToVisitorSession,g.sm,g.om,f)),Tq=!1}catch(r){_.kk(r),d()}}};Zq=function(a,b,c,d,e){a={retry:!0,onSuccess:c,onError:d,networklessOptions:a,dangerousLogToVisitorSession:b,oH:!!e,headers:{},postBodyFormat:"",postBody:"",compress:_.C("compress_gel")||_.C("compress_gel_lr")};$q()&&(a.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,_.Dm)())));return a}; Xq=function(a,b,c){$q()||(a.requestTimeMs=String(b));_.C("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);!c&&(b=_.B("EVENT_ID"))&&((c=_.B("BATCH_CLIENT_COUNTER")||0)||(c=Math.floor(Math.random()*65535/2)),c++,c>65535&&(c=1),_.gk("BATCH_CLIENT_COUNTER",c),a.serializedClientEventId={serializedEventId:b,clientCounter:String(c)})}; Wq=function(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}]}; xq=function(a){var b=_.Mk("il_payload_scraping")==="enable_il_payload_scraping";if(!_.Ua("yt.logging.transport.enableScrapingForTest"))if(b)ar=[],_.Ta("yt.logging.transport.enableScrapingForTest",!0),_.Ta("yt.logging.transport.scrapedPayloadsForTesting",ar),_.Ta("yt.logging.transport.payloadToScrape","visualElementShown visualElementHidden visualElementAttached screenCreated visualElementGestured visualElementStateChanged".split(" ")),_.Ta("yt.logging.transport.getScrapedPayloadFromClientEventsFunction"), _.Ta("yt.logging.transport.scrapeClientEvent",!0);else return;b=_.Ua("yt.logging.transport.scrapedPayloadsForTesting");var c=_.Ua("yt.logging.transport.payloadToScrape"),d=_.Ua("yt.logging.transport.scrapeClientEvent");if(c&&c.length>=1)for(var e=0;e=5)){d=[];e=_.z(mr);for(f=e.next();!f.done;f=e.next()){f=f.value;try{f()&&d.push(f())}catch(w){}}d=[].concat(_.va(nr),_.va(d));var l=ic(a);e=l.message||"Unknown Error";f=l.name||"UnknownError";var m=l.stack||a.o||"Not available";if(m.startsWith(f+": "+e)){var n=m.split("\n");n.shift();m=n.join("\n")}n= l.lineNumber||"Not available";l=l.fileName||"Not available";var p=0;if(a.hasOwnProperty("args")&&a.args&&a.args.length)for(var r=0;r=500);r++);else if(a.hasOwnProperty("params")&&a.params){var t=a.params;if(typeof a.params==="object")for(r in t){if(t[r]){var u="params."+r,v=pq(t[r]);c[u]=v;p+=u.length+v.length;if(p>500)break}}else c.params=pq(t)}if(d.length)for(r=0;r=500);r++);navigator.vendor&&!c.hasOwnProperty("vendor")&& (c["device.vendor"]=navigator.vendor);r={message:e,name:f,lineNumber:n,fileName:l,stack:m,params:c,sampleWeight:1};c=Number(a.columnNumber);isNaN(c)||(r.lineNumber=r.lineNumber+":"+c);if(a.level==="IGNORED")a=0;else a:{a=_.kq();c=_.z(a.de);for(d=c.next();!d.done;d=c.next())if(d=d.value,r.message&&r.message.match(d.kJ)){a=d.weight;break a}a=_.z(a.Od);for(c=a.next();!c.done;c=a.next())if(c=c.value,c.callback(r)){a=c.weight;break a}a=1}r.sampleWeight=a;a=_.z(or);for(c=a.next();!c.done;c=a.next())if(c= c.value,c.Ij[r.name])for(e=_.z(c.Ij[r.name]),d=e.next();!d.done;d=e.next())if(f=d.value,d=r.message.match(f.regexp)){r.params["params.error.original"]=d[0];e=f.groups;f={};for(n=0;n6E4&&delete xr[e];a&&(a.j=0)},5E3));return c.count>5?(c.count===6&&Math.random()*1E5<1&&(c=new _.ol("CSI data exceeded logging limit with key",b.split("_")),b.indexOf("plev")>=0||_.kr(c)),!0):!1}; zr=function(){this.timing={};this.clearResourceTimings=function(){};this.webkitClearResourceTimings=function(){};this.mozClearResourceTimings=function(){};this.msClearResourceTimings=function(){};this.oClearResourceTimings=function(){}};Ar=function(a){return _.B("client-screen-nonce-store",{})[a===void 0?0:a]};Br=function(a,b){b=b===void 0?0:b;var c=_.B("client-screen-nonce-store");c||(c={},_.gk("client-screen-nonce-store",c));c[b]=a}; Cr=function(a){a=a===void 0?0:a;return a===0?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a};_.Dr=function(a){return _.B(Cr(a===void 0?0:a))};Er=function(){var a=_.B("csn-to-ctt-auth-info");a||(a={},_.gk("csn-to-ctt-auth-info",a));return a};_.Fr=function(a){a=Ar(a===void 0?0:a);if(!a&&!_.B("USE_CSN_FALLBACK",!0))return null;a||(a="UNDEFINED_CSN");return a?a:null};Gr=function(a,b,c){var d=Er();(c=_.Fr(c))&&delete d[c];b&&(d[a]=b)};_.Hr=function(a){return Er()[a]}; _.Jr=function(a,b,c,d){c=c===void 0?0:c;if(a!==Ar(c)||b!==_.B(Cr(c)))if(Gr(a,d,c),Br(a,c),_.gk(Cr(c),b),b=function(){setTimeout(function(){a&&_.ir("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:Ir,clientScreenNonce:a})},0)},"requestAnimationFrame"in window)try{window.requestAnimationFrame(b)}catch(e){b()}else b()}; _.Kr=function(a,b){if(!_.C("web_csi_action_sampling_enabled")||!_.Tp(b).actionDisabled){var c=_.cq(b||"");_.gp(c.info,a);a.loadType&&(c=a.loadType,_.Up(b).loadType=c);_.gp(_.Xp(b),a);c=_.Yp(b);b=_.Tp(b).cttAuthInfo;wr().info(a,c,b)}};Lr=function(){var a,b,c,d;return((d=_.yp().resolve(_.rp(Kn))==null?void 0:(a=Ln())==null?void 0:(b=a.loggingHotConfig)==null?void 0:(c=b.csiConfig)==null?void 0:c.debugTicks)!=null?d:[]).map(function(e){return Object.values(e)[0]})}; _.Nr=function(a,b,c){if(!_.C("web_csi_action_sampling_enabled")||!_.Tp(c).actionDisabled){var d=_.Yp(c),e;if(e=_.C("web_csi_debug_sample_enabled")&&d){(_.yp().resolve(_.rp(Kn))==null?0:Ln())&&!Mr&&(Mr=!0,_.Nr("gcfl",(0,_.Dm)(),c));var f,g,h;e=(_.yp().resolve(_.rp(Kn))==null?void 0:(f=Ln())==null?void 0:(g=f.loggingHotConfig)==null?void 0:(h=g.csiConfig)==null?void 0:h.debugSampleWeight)||0;if(f=e!==0)b:{f=Lr();if(f.length>0)for(g=0;g0;){var a=this.j.pop();if(a in this.v)return a}return null};Ea.prototype.getNext=Ea.prototype.o; ma("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("g");return new c(d+(f||"")+"_"+e++,f)}function c(f,g){this.j=f;pa(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=function(){return this.j};var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});ma("Symbol.iterator",function(a){if(a)return a;a=Symbol("h");pa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return Ma(ua(this))}});return a}); ma("globalThis",function(a){return a||_.oa});ma("Reflect",function(a){return a?a:{}});ma("Reflect.construct",function(){return Xr});ma("Reflect.setPrototypeOf",function(a){return a?a:_.ta?function(b,c){try{return(0,_.ta)(b,c),!0}catch(d){return!1}}:null}); ma("Promise",function(a){function b(g){this.ba=0;this.Xa=void 0;this.j=[];this.D=!1;var h=this.o();try{g(h.resolve,h.reject)}catch(l){h.reject(l)}}function c(){this.j=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a&&(typeof _.oa.PromiseRejectionEvent!=="undefined"||!_.oa.Promise||_.oa.Promise.toString().indexOf("[native code]")===-1))return a;c.prototype.o=function(g){if(this.j==null){this.j=[];var h=this;this.v(function(){h.D()})}this.j.push(g)};var e=_.oa.setTimeout;c.prototype.v= function(g){e(g,0)};c.prototype.D=function(){for(;this.j&&this.j.length;){var g=this.j;this.j=[];for(var h=0;h=f}});ma("Object.setPrototypeOf",function(a){return a||_.ta});ma("Symbol.dispose",function(a){return a?a:Symbol("n")}); ma("SuppressedError",function(a){function b(c,d,e){if(!(this instanceof b))return new b(c,d,e);e=Error(e);"stack"in e&&(this.stack=e.stack);this.message=e.message;this.error=c;this.suppressed=d}if(a)return a;_.x(b,Error);b.prototype.name="SuppressedError";return b}); ma("WeakMap",function(a){function b(l){this.j=(h+=Math.random()+1).toString();if(l){l=_.z(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}function c(){}function d(l){var m=typeof l;return m==="object"&&l!==null||m==="function"}function e(l){if(!ya(l,g)){var m=new c;pa(l,g,{value:m})}}function f(l){var m=Object[l];m&&(Object[l]=function(n){if(n instanceof c)return n;Object.isExtensible(n)&&e(n);return m(n)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}), n=new a([[l,2],[m,3]]);if(n.get(l)!=2||n.get(m)!=3)return!1;n.delete(l);n.set(m,4);return!n.has(l)&&n.get(m)==4}catch(p){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0;b.prototype.set=function(l,m){if(!d(l))throw Error("o");e(l);if(!ya(l,g))throw Error("p`"+l);l[g][this.j]=m;return this};b.prototype.get=function(l){return d(l)&&ya(l,g)?l[g][this.j]:void 0};b.prototype.has=function(l){return d(l)&&ya(l,g)&&ya(l[g],this.j)};b.prototype.delete= function(l){return d(l)&&ya(l,g)&&ya(l[g],this.j)?delete l[g][this.j]:!1};return b}); ma("Map",function(a){function b(){var h={};return h.ud=h.next=h.head=h}function c(h,l){var m=h[1];return Ma(function(){if(m){for(;m.head!=h[1];)m=m.ud;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})}function d(h,l){var m=l&&typeof l;m=="object"||m=="function"?f.has(l)?m=f.get(l):(m=""+ ++g,f.set(l,m)):m="p_"+l;var n=h[0][m];if(n&&ya(h[0],m))for(h=0;h0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});ma("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});ma("Array.prototype.find",function(a){return a?a:function(b,c){return Qa(this,b,c).hs}}); ma("Math.log2",function(a){return a?a:function(b){return Math.log(b)/Math.LN2}});ma("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ya(b,d)&&c.push(b[d]);return c}});ma("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});ma("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c0?1:-1}});ma("Array.prototype.findIndex",function(a){return a?a:function(b,c){return Qa(this,b,c).i}});ma("String.raw",function(a){return a?a:function(b,c){b=za(b);for(var d=b.raw,e=d.length,f="",g=0;g>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});_._DumpException=window._DumpException||function(a){throw a;};window._DumpException=_._DumpException; window.ytcsi&&window.ytcsi.tick&&window.ytcsi.tick("rses_dpj");var ab,bb;_.cs=_.cs||{};_.Sa=this||self;_.ds=_.Sa._F_toggles_default_base||[];Xa.get=function(){return null};_.ti=null;ab="closure_uid_"+(Math.random()*1E9>>>0);bb=0;_.lb(_.qb,Error);_.qb.prototype.name="CustomError";var Ee;var Te=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};var sb=globalThis.trustedTypes,ub;_.xb.prototype.toString=function(){return this.j+""};var es=_.xa([""]),gs=wa(["\x00"],["\\0"]),hs=wa(["\n"],["\\n"]),is=wa(["\x00"],["\\u0000"]);Bb(function(a){return a(es)})||Bb(function(a){return a(gs)})||Bb(function(a){return a(hs)})||Bb(function(a){return a(is)});_.Cb.prototype.toString=function(){return this.j};_.js=new _.Cb("about:invalid#zClosurez");var Hb;_.ks=new _.Fb(function(a){return/^[^:]*([/?#]|$)/.test(a)});_.ls=Gb("tel");_.ms=Gb("data");_.ns=Gb("http");_.ps=Gb("https");_.qs=Gb("ftp");_.rs=Gb("mailto");_.ss=Gb("intent");_.ts=Gb("sms");_.us=Gb("vnd.youtube");Hb=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;_.Kb.prototype.toString=function(){return this.j+""};_.Ob.prototype.toString=function(){return this.j+""};var Vb="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var Yb;Yb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c>18&1),Cs=!!(_.ds[0]&8192),Ds=!!(_.ds[0]>>20&1),Es=!!(_.ds[0]&4),Fs=!!(_.ds[0]&512);var Hc,Rd;Hc=Bs?Ds:Va(610401301,!1);_.Gs=Bs?Es:Va(513659523,!1);Rd=Bs?Cs||!Fs:Va(748402147,!0);var Ic,Hs=_.Sa.navigator;Ic=Hs?Hs.userAgentData||null:null;_.Rc[" "]=function(){};var Is,Js,Ks;Is=Mc();Js=Lc()?!1:Kc("Trident")||Kc("MSIE");_.ln=Kc("Edge");Ks=Kc("Gecko")&&!(_.Fc().toLowerCase().indexOf("webkit")!=-1&&!Kc("Edge"))&&!(Kc("Trident")||Kc("MSIE"))&&!Kc("Edge");_.Ls=_.Fc().toLowerCase().indexOf("webkit")!=-1&&!Kc("Edge");_.Ms=_.Ls&&Kc("Mobile");Pc()||Kc("Macintosh");Pc()||Kc("Windows");(Pc()?Ic.platform==="Linux":Kc("Linux"))||Pc()||Kc("CrOS");_.Ns=Pc()?Ic.platform==="Android":Kc("Android");Qc();Kc("iPad");Kc("iPod");_.Os=Qc()||Kc("iPad")||Kc("iPod"); _.Ps=_.Fc().toLowerCase().indexOf("kaios")!=-1;Nc();_.Qs=Qc()||Kc("iPod");_.Rs=Kc("iPad");!Kc("Android")||Oc()||Nc()||Mc()||Kc("Silk");Oc();var nm=Kc("Safari")&&!(Oc()||(Lc()?0:Kc("Coast"))||Mc()||(Lc()?0:Kc("Edge"))||(Lc()?Jc("Microsoft Edge"):Kc("Edg/"))||(Lc()?Jc("Opera"):Kc("OPR"))||Nc()||Kc("Silk")||Kc("Android"))&&!(Qc()||Kc("iPad")||Kc("iPod"));var Tc={},Yc=null;var ad,bd,Zc;_.ed=typeof Uint8Array!=="undefined";ad=!Js&&typeof btoa==="function";bd=/[-_.]/g;Zc={"-":"+",_:"/",".":"="};_.dd={};var gd=void 0;var Ss,Cd,Td,yd,Md;_.jd=typeof Symbol==="function"&&typeof Symbol()==="symbol";Ss=_.id("jas",void 0,!0);_.Fd=_.id(void 0,Symbol());_.Ts=_.id(void 0,"0ub");Cd=_.id(void 0,"0ubs");_.Us=_.id(void 0,"0ubsb");Td=_.id(void 0,"0actk");yd=_.id("m_m","jJ",!0);Md=_.id(void 0,"vps");_.Vs=_.id();var md,ld,Xs;md={ox:{value:0,configurable:!0,writable:!0,enumerable:!1}};ld=Object.defineProperties;_.kd=_.jd?Ss:"ox";Xs=[];_.od(Xs,7);_.Ws=Object.freeze(Xs);var zd;zd={};_.pd={};_.Ys=Object.freeze({});var sd,vd,Zs;_.td=_.rd(function(a){return typeof a==="number"});sd=_.rd(function(a){return typeof a==="string"});vd=_.rd(function(a){return typeof a==="boolean"});Zs=_.rd(function(a){return a!=null&&typeof a==="object"&&typeof a.then==="function"});_.$s=_.rd(function(a){return!!a&&(typeof a==="object"||typeof a==="function")});var ud=typeof _.Sa.BigInt==="function"&&typeof _.Sa.BigInt(0)==="bigint";var ct,at,dt,bt;_.Id=_.rd(function(a){return ud?a>=at&&a<=bt:a[0]==="-"?xd(a,ct):xd(a,dt)});ct=Number.MIN_SAFE_INTEGER.toString();at=ud?BigInt(Number.MIN_SAFE_INTEGER):void 0;dt=Number.MAX_SAFE_INTEGER.toString();bt=ud?BigInt(Number.MAX_SAFE_INTEGER):void 0;_.et=typeof BigInt==="function"?BigInt.asIntN:void 0;_.ft=typeof BigInt==="function"?BigInt.asUintN:void 0;_.gt=Number.isSafeInteger;_.ht=Number.isFinite;_.jt=Math.trunc;var Nd={};var Gd;_.kt=_.wd(0);_.lt=ge();_.mt=ge();_.nt=ge();_.ot=ge();_.pt=ge();_.qt=ge();_.rt=ge();_.st=ge();_.tt=ge();_.At=ge();_.Bt=ge();_.Ct=ge();_.Dt=ge();_.he.prototype.toJSON=function(){return Od(this)};_.he.prototype.serialize=function(a){return JSON.stringify(Od(this,a))};_.he.prototype.clone=function(){var a=this.Z,b=a[_.kd]|0;return _.Vd(this,a,b)?_.Wd(this,a,!0):new this.constructor(_.Ud(a,b,!1))};_.he.prototype[yd]=zd;var Dk=window;"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 NOBR 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"]);var ke={HB:"allow-forms",JB:"allow-modals",KB:"allow-orientation-lock",LB:"allow-pointer-lock",MB:"allow-popups",NB:"allow-popups-to-escape-sandbox",OB:"allow-presentation",PB:"allow-same-origin",QB:"allow-scripts",RB:"allow-top-navigation",SB:"allow-top-navigation-by-user-activation"},pe=je(function(){return me()});var hg=function(){if(!_.Sa.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};_.Sa.addEventListener("test",c,b);_.Sa.removeEventListener("test",c,b)}catch(d){}return a}();_.k=_.re.prototype;_.k.clone=function(){return new _.re(this.width,this.height)};_.k.area=function(){return this.width*this.height};_.k.aspectRatio=function(){return this.width/this.height};_.k.isEmpty=function(){return!this.area()};_.k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; _.k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.k.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};var xe="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");Be.prototype.toString=function(){return this.j};var Ae={};new Be(Ae,"");_.k=Ce.prototype;_.k.getElementsByTagName=function(a,b){return(b||this.j).getElementsByTagName(String(a))};_.k.createElement=function(a){return Ie(this.j,a)};_.k.createTextNode=function(a){return this.j.createTextNode(String(a))};_.k.appendChild=function(a,b){a.appendChild(b)};_.k.append=function(a,b){He(_.De(a),a,arguments)};_.k.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; _.k.removeNode=_.Ke;_.k.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};_.k.isFocusable=_.Me;var Ck=(new Date).getTime();_.k=Se.prototype;_.k.isEnabled=function(){if(!_.Sa.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{vj:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0}; _.k.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.vj}if(/[;=\s]/.test(a))throw Error("V`"+a);if(/[;\r\n]/.test(b))throw Error("W`"+b);h===void 0&&(h=-1);c=f?";domain="+f:"";g=g?";path="+g:"";d=d?";secure":"";h=h<0?"":h==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+h*1E3)).toUTCString();this.j.cookie=a+"="+b+c+g+h+d+(e!=null?";samesite="+e:"")}; _.k.get=function(a,b){for(var c=a+"=",d=(this.j.cookie||"").split(";"),e=0,f;e=0;b--)this.remove(a[b])}; _.dl=new Se(typeof document=="undefined"?null:document);var Ze;_.gf.prototype.toString=function(){return this.v};_.gf.prototype.Oi=function(){return this.j};_.Et=new _.gf("n73qwf","n73qwf");_.lf.prototype.Y=!1;_.lf.prototype.ia=function(){return this.Y};_.lf.prototype.dispose=function(){this.Y||(this.Y=!0,this.na())};_.lf.prototype[Symbol.dispose]=function(){this.dispose()};_.lf.prototype.addOnDisposeCallback=function(a,b){this.Y?b!==void 0?a.call(b):a():(this.K||(this.K=[]),b&&(a=a.bind(b)),this.K.push(a))};_.lf.prototype.na=function(){if(this.K)for(;this.K.length;)this.K.shift()()};Xa=Xa||{};_.lb(mf,_.lf);mf.prototype.initialize=function(){};nf.prototype.execute=function(a){this.j&&(this.j.call(this.o||null,a),this.j=this.o=null)};nf.prototype.abort=function(){this.o=this.j=null};Xa.ct=nf;_.lb(of,_.lf);_.k=of.prototype;_.k.Rj=null;_.k.Ay=mf;_.k.Dh=null;_.k.getId=function(){return this.D};_.k.isLoaded=function(){return!!this.Dh};_.k.onLoad=function(a){var b=new this.Ay;b.initialize(a());this.Dh=b;b=(b=sf(this.o,a()))||sf(this.B,a());b||(this.v.length=0);return b};_.k.onError=function(a){(a=sf(this.v,a))&&_.Dc(Error("Y`"+a));this.o.length=0;this.B.length=0};_.k.na=function(){of.Ib.na.call(this);_.jf(this.Dh);this.Rj=null};Xa.Cg=of;var gi={ERROR:"error",IDLE:"idle",ws:"active",Rt:"userIdle",Qt:"userActive"};_.k=tf.prototype;_.k.pr=function(){};_.k.Th=function(){};_.k.ji=function(){throw Error("Z");};_.k.Pj=function(){throw Error("$");};_.k.vp=function(){return null};_.k.isActive=function(){return!1};_.k.aq=function(){return!1};_.k.Qm=function(){};_.k.Dn=function(){};uf.prototype.init=function(){_.ib("_F_installCss",function(a){a&&vf(a)})};wf.prototype.toString=function(){var a=this.o+Bf(this),b=_.xc(this.v),c="";b!=""&&(c="?"+b);return a+c};wf.prototype.clone=function(){var a=new wf;a.j=Object.assign({},this.j);a.o=this.o;a.v=Object.assign({},this.v);return a}; var Kf={PF:"k",tC:"ck",YE:"m",KC:"exm",IC:"excm",CB:"am",IB:"amc",LE:"mm",NF:"rt",BE:"d",JC:"ed",AG:"sv",wC:"deob",hC:"cb",lC:"ccb",iC:"cbi",qG:"rs",UF:"sdch",CE:"im",xC:"dg",GC:"br",FC:"br-d",HC:"rb",VG:"zs",UG:"wt",LC:"ee",zG:"sm",WE:"md",xE:"gssmodulesetproto",SG:"ujg",QG:"sp",pG:"slk",yC:"dti",EE:"ic"},Eg=RegExp("^(gapi\\.)?loaded(_g|_h)?(_[0-9a-z]+)+$"),Cg=RegExp("^[a-zA-Z0-9-_*]+$");var Pf=!1;_.Rh=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};_.Sf.prototype.stopPropagation=function(){this.o=!0};_.Sf.prototype.preventDefault=function(){this.defaultPrevented=!0};_.lb(Tf,_.Sf); Tf.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.Ls||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY= _.Ls||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.timeStamp= a.timeStamp;this.j=a;a.defaultPrevented&&Tf.Ib.preventDefault.call(this)};Tf.prototype.stopPropagation=function(){Tf.Ib.stopPropagation.call(this);this.j.stopPropagation?this.j.stopPropagation():this.j.cancelBubble=!0};Tf.prototype.preventDefault=function(){Tf.Ib.preventDefault.call(this);var a=this.j;a.preventDefault?a.preventDefault():a.returnValue=!1};var cg="closure_listenable_"+(Math.random()*1E6|0);var Uf=0;Xf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.j++);var g=Zf(a,b,d,e);g>-1?(b=a[g],c||(b.wi=!1)):(b=new Vf(b,this.src,f,!!d,e),b.wi=c,a.push(b));return b};Xf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Zf(e,b,c,d);return b>-1?(Wf(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.listeners[a],this.j--),!0):!1};var fg="closure_lm_"+(Math.random()*1E6|0),og={},jg=0,pg="__closure_events_fn_"+(Math.random()*1E9>>>0);_.lb(_.qg,_.lf);_.qg.prototype[cg]=!0;_.k=_.qg.prototype;_.k.addEventListener=function(a,b,c,d){_.ag(this,a,b,c,d)};_.k.removeEventListener=function(a,b,c,d){_.mg(this,a,b,c,d)}; _.k.dispatchEvent=function(a){var b,c=this.S;if(c)for(b=[];c;c=c.S)b.push(c);c=this.Na;var d=a.type||a;if(typeof a==="string")a=new _.Sf(a,c);else if(a instanceof _.Sf)a.target=a.target||c;else{var e=a;a=new _.Sf(d,c);ye(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.o&&f>=0;f--){var g=a.currentTarget=b[f];e=rg(g,d,!0,a)&&e}a.o||(g=a.currentTarget=c,e=rg(g,d,!0,a)&&e,a.o||(e=rg(g,d,!1,a)&&e));if(b)for(f=0;!a.o&&f0){this.o--;var a=this.j;this.j=a.next;a.next=null}else a=this.v();return a};Jg.prototype.add=function(a,b){var c=Rg.get();c.set(a,b);this.o?this.o.next=c:this.j=c;this.o=c};Jg.prototype.remove=function(){var a=null;this.j&&(a=this.j,this.j=this.j.next,this.j||(this.o=null),a.next=null);return a};var Rg=new Hg(function(){return new Kg},function(a){return a.reset()});Kg.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};Kg.prototype.reset=function(){this.next=this.scope=this.fn=null};var Lg,Ng=!1,Og=new Jg;Wg.prototype.reset=function(){this.context=this.j=this.o=this.child=null;this.v=!1};var Xg=new Hg(function(){return new Wg},function(a){a.reset()});_.Vg.prototype.then=function(a,b,c){return jh(this,(0,_.Rh)(typeof a==="function"?a:null),(0,_.Rh)(typeof b==="function"?b:null),c)};_.Sg(_.Vg);_.k=_.Vg.prototype;_.k.finally=function(a){var b=this;a=(0,_.Rh)(a);return new _.Vg(function(c,d){dh(b,function(e){a();c(e)},function(e){a();d(e)})})};_.k.xg=function(a,b){return jh(this,null,(0,_.Rh)(a),b)}; _.k.catch=_.Vg.prototype.xg;_.k.cancel=function(a){if(this.ba==0){var b=new _.ih(a);Pg(function(){eh(this,b)},this)}};_.k.hB=function(a){this.ba=0;_.Ug(this,2,a)};_.k.iB=function(a){this.ba=0;_.Ug(this,3,a)};_.k.Ii=function(){for(var a;a=fh(this);)gh(this,a,this.ba,this.Xa);this.pl=!1};_.nh=_.Dc;_.lb(_.ih,_.qb);_.ih.prototype.name="cancel";_.lb(qh,_.qb);qh.prototype.name="XhrError";_.lb(rh,qh);rh.prototype.name="XhrHttpError";_.lb(sh,qh);sh.prototype.name="XhrTimeoutError";_.uh.prototype.qb=function(){_.A(function(){throw Error("ka");})};_.uh.prototype.ka=function(){};_.uh.prototype.load=function(a,b,c,d,e){e=e===void 0?b:e;_.zb(a);var f=this.di,g=this.Pg,h=this.fetchPriority,l=_.Je("SCRIPT");_.Ub(l,a);f&&(l.crossOrigin=g);l.async=!1;h&&l.setAttribute("fetchpriority",h);_.th(this,b);_.Fh(this,a,l,b,c,d,e)};var Jh=new Uint8Array(123);var di=[];_.k=Mh.prototype;_.k.cancel=function(a){if(this.j)this.Xa instanceof Mh&&this.Xa.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.K--,b.K<=0&&b.cancel())}this.S?this.S.call(this.Y,this):this.I=!0;this.j||(a=new Zh(this),Qh(this),Oh(this,!1,a))}};_.k.Mo=function(a,b){this.D=!1;Oh(this,a,b)};_.k.callback=function(a){Qh(this);Oh(this,!0,a)};_.k.finally=function(a){var b=this;return Yh(new Promise(function(c,d){Sh(b,function(e){a();c(e)},function(e){a();d(e)})}))}; _.k.then=function(a,b,c){var d,e,f=new _.Vg(function(g,h){e=g;d=h});Sh(this,e,function(g){g instanceof Zh?f.cancel():d(g);return Wh},this);return f.then(a,b,c)};_.Sg(Mh);Mh.prototype.isError=function(a){return a instanceof Error};var Wh={};_.lb(Ph,_.qb);Ph.prototype.message="Deferred has already fired";Ph.prototype.name="AlreadyCalledError";_.lb(Zh,_.qb);Zh.prototype.message="Deferred was canceled";Zh.prototype.name="CanceledError"; Xh.prototype.throwError=function(){delete Vh[this.j];throw this.o;};var Vh={};_.x($h,Error);$h.prototype.toString=function(){return ai(this)+" ("+(this.status!=void 0?this.status:"?")+")"};Xa.ob=$h;Xa.ob.Type={On:0,rk:1,TIMEOUT:2,In:3,sk:4};_.lb(bi,tf);_.lb(ci,_.qb);_.k=bi.prototype;_.k.pr=function(a){this.sa=a}; _.k.Th=function(a,b){if(!(this instanceof bi))this.Th(a,b);else if(typeof a==="string"){if(a.startsWith("d$")){a=a.substring(2);for(var c=[],d=0,e=a.indexOf("/"),f=0,g=!1,h=0;;){var l=g?a.substring(f):a.substring(f,e);if(l.length===0)d++,f="sy"+d.toString(36),l=[];else{var m=l.indexOf(":");if(m<0)f=l,l=[];else if(m===l.length-1)f=l.substring(0,m),l=Array(c[h-1]);else{f=l.substring(0,m);l=l.substring(m+1).split(",");m=h;for(var n=0;n0};_.k.aq=function(){return this.Y.length>0}; _.k.nj=function(a,b,c){var d=this;b=b===void 0?0:b;var e=mi(this,a);this.D=e;this.K=this.sa?a:_.bc(e);hi(this);if(e.length!==0){this.ka.push.apply(this.ka,e);a=this.I;if(!a)throw Error("ma");if(Object.keys(this.B).length>0&&!a.cc)throw Error("na");yh(a,_.bc(e),this.j,{vc:this.B,onError:function(f,g,h){return ri(d,d.K,e,f!=null?f:void 0,g,b,!!h)},onTimeout:(0,_.fb)(this.nw,this),forceReload:!!c})}}; _.k.Ag=function(){if(this.v){var a=this.v.getId(),b=[];if(this.B[a]){for(var c=_.z(Object.keys(this.B[a])),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.Qa(d);e&&!e.isLoaded()&&(this.Pj(a,d),b.push(d))}this.yh(b)}this.ia()||((b=this.j[a].onLoad((0,_.fb)(this.vp,this)))&&b.length&&ni(this,new Xa.ob(Xa.ob.Type.sk,void 0,void 0,void 0,b[0])),_.ac(this.Y,a),_.ac(this.D,a),this.D.length===0&&pi(this),this.Ba&&a==this.Ba&&(this.ea.j||this.ea.callback()),hi(this),this.v=null)}}; _.k.oh=function(a){if(_.Zb(this.D,a))return!0;for(var b=0;b0&&this.B==0)for(;c=this.v.pop();)this.bi(c)}}return f!=0}return!1}; _.k.clear=function(a){if(a){var b=this.o[a];b&&(b.forEach(this.bi,this),delete this.o[a])}else this.j.length=0,this.o={}};_.k.na=function(){_.Ji.Ib.na.call(this);this.clear();this.v.length=0};Li.prototype.set=function(a,b){b===void 0?this.j.remove(a):this.j.set(a,Gt(b))};Li.prototype.get=function(a){try{var b=this.j.get(a)}catch(c){return}if(b!==null)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};Li.prototype.remove=function(a){this.j.remove(a)};_.lb(Mi,Li);Mi.prototype.set=function(a,b){Mi.Ib.set.call(this,a,Oi(b))};Mi.prototype.o=function(a){a=Mi.Ib.get.call(this,a);if(a===void 0||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};Mi.prototype.get=function(a){if(a=this.o(a)){if(a=a.data,a===void 0)throw"Storage: Invalid value was encountered";}else a=void 0;return a};_.lb(_.Pi,Mi);_.Pi.prototype.set=function(a,b,c){if(b=Oi(b)){if(c){if(c<_.hb()){_.Pi.prototype.remove.call(this,a);return}b.expiration=c}b.creation=_.hb()}_.Pi.Ib.set.call(this,a,b)};_.Pi.prototype.o=function(a){var b=_.Pi.Ib.o.call(this,a);if(b){var c=b.creation,d=b.expiration;if(d&&d<_.hb()||c&&c>_.hb())_.Pi.prototype.remove.call(this,a);else return b}};_.lb(Ri,Qi);Ri.prototype[Symbol.iterator]=function(){return _.Hi(this.Wc(!0)).j()};Ri.prototype.clear=function(){var a=Array.from(this);a=_.z(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};_.lb(Si,Ri);_.k=Si.prototype;_.k.isAvailable=function(){if(this.o===null){var a=this.j;if(a)try{a.setItem("__sak","1");a.removeItem("__sak");var b=!0}catch(c){b=c instanceof DOMException&&(c.name==="QuotaExceededError"||c.code===22||c.code===1014||c.name==="NS_ERROR_DOM_QUOTA_REACHED")&&a&&a.length!==0}else b=!1;this.o=b}return this.o}; _.k.set=function(a,b){Ti(this);try{this.j.setItem(a,b)}catch(c){if(this.j.length==0)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};_.k.get=function(a){Ti(this);a=this.j.getItem(a);if(typeof a!=="string"&&a!==null)throw"Storage mechanism: Invalid value was encountered";return a};_.k.remove=function(a){Ti(this);this.j.removeItem(a)}; _.k.Wc=function(a){Ti(this);var b=0,c=this.j,d=new _.Di;d.next=function(){if(b>=c.length)return _.Ft;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if(typeof e!=="string")throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}};return d};_.k.clear=function(){Ti(this);this.j.clear()};_.k.key=function(a){Ti(this);return this.j.key(a)};_.lb(Ui,Si);_.lb(Vi,Ri);Vi.prototype.set=function(a,b){this.o.set(this.j+a,b)};Vi.prototype.get=function(a){return this.o.get(this.j+a)};Vi.prototype.remove=function(a){this.o.remove(this.j+a)};Vi.prototype.Wc=function(a){var b=this.o[Symbol.iterator](),c=this,d=new _.Di;d.next=function(){var e=b.next();if(e.done)return e;for(e=e.value;e.slice(0,c.j.length)!=c.j;){e=b.next();if(e.done)return e;e=e.value}return{value:a?e.slice(c.j.length):c.o.get(e),done:!1}};return d};var Xi={},Ht=typeof Uint8Array!=="undefined"&&typeof Uint16Array!=="undefined"&&typeof Int32Array!=="undefined";Xi.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if(typeof c!=="object")throw new TypeError("sa`"+c);for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}return a};Xi.bn=function(a,b){if(a.length===b)return a;if(a.subarray)return a.subarray(0,b);a.length=b;return a}; var It={kf:function(a,b,c,d,e){if(b.subarray&&a.subarray)a.set(b.subarray(c,c+d),e);else for(var f=0;f>>16&65535|0;for(var f;c!==0;){f=c>2E3?2E3:c;c-=f;do e=e+b[d++]|0,a=a+e|0;while(--f);e%=65521;a%=65521}return e|a<<16|0};for(var Jj={},Lt,Mt=[],Nt=0;Nt<256;Nt++){Lt=Nt;for(var Ot=0;Ot<8;Ot++)Lt=Lt&1?3988292384^Lt>>>1:Lt>>>1;Mt[Nt]=Lt}Jj=function(a,b,c,d){c=d+c;for(a^=-1;d>>8^Mt[(a^b[d])&255];return a^-1};var xj={};xj={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"};var mj=[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],pj=[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],Zj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Bj=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Cj=Array(576);Zi(Cj);var Dj=Array(60);Zi(Dj);var oj=Array(512);Zi(oj);var lj=Array(256);Zi(lj);var nj=Array(29);Zi(nj);var qj=Array(30);Zi(qj);var Wj,Xj,Yj,Vj=!1;var Rj; Rj=[new Pj(0,0,0,0,function(a,b){var c=65535;for(c>a.nc-5&&(c=a.nc-5);;){if(a.fa<=1){Kj(a);if(a.fa===0&&b===0)return 1;if(a.fa===0)break}a.U+=a.fa;a.fa=0;var d=a.Ub+c;if(a.U===0||a.U>=d)if(a.fa=a.U-d,a.U=d,Ej(a,!1),a.wa.ya===0)return 1;if(a.U-a.Ub>=a.yb-262&&(Ej(a,!1),a.wa.ya===0))return 1}a.tb=0;if(b===4)return Ej(a,!0),a.wa.ya===0?3:4;a.U>a.Ub&&Ej(a,!1);return 1}),new Pj(4,4,8,4,Lj),new Pj(4,5,16,8,Lj),new Pj(4,6,32,32,Lj),new Pj(4,4,16,16,Mj),new Pj(8,16,32,32,Mj),new Pj(8,16,128,128,Mj),new Pj(8, 32,128,256,Mj),new Pj(32,128,258,1024,Mj),new Pj(32,258,258,4096,Mj)];var Uj={};Uj=function(){this.input=null;this.Ze=this.Bb=this.Qe=0;this.output=null;this.hn=this.ya=this.ig=0;this.msg="";this.state=null;this.Uk=2;this.ra=0};var ak=Object.prototype.toString; Tj.prototype.push=function(a,b){var c=this.wa,d=this.options.chunkSize;if(this.ended)return!1;var e=b===~~b?b:b===!0?4:0;typeof a==="string"?c.input=Yi(a):ak.call(a)==="[object ArrayBuffer]"?c.input=new Uint8Array(a):c.input=a;c.Qe=0;c.Bb=c.input.length;do{c.ya===0&&(c.output=new Xi.ff(d),c.ig=0,c.ya=d);a=Sj(c,e);if(a!==1&&a!==0)return bk(this,a),this.ended=!0,!1;if(c.ya===0||c.Bb===0&&(e===4||e===2))if(this.options.to==="string"){var f=Xi.bn(c.output,c.ig);b=f;f=f.length;if(f<65537&&(b.subarray&& Kt||!b.subarray))b=String.fromCharCode.apply(null,Xi.bn(b,f));else{for(var g="",h=0;h0||c.ya===0)&&a!==1);if(e===4)return(c=this.wa)&&c.state?(d=c.state.status,d!==42&&d!==69&&d!==73&&d!==91&&d!==103&&d!==113&&d!==666?a=yj(c,-2):(c.state=null,a=d===113?yj(c,-3):0)):a=-2,bk(this,a),this.ended=!0,a===0;e===2&&(bk(this,0),c.ya=0);return!0};var cr=new _.dk("rawColdConfigGroup");var br=new _.dk("rawHotConfigGroup");var Pt,Qt,Rt;Pt=_.Sa.window;_.fk=(Pt==null?void 0:(Qt=Pt.yt)==null?void 0:Qt.config_)||(Pt==null?void 0:(Rt=Pt.ytcfg)==null?void 0:Rt.data_)||{};_.Ta("yt.config_",_.fk);var ik=[];var xk=/^[\w.]*$/,qk={q:!0,search_query:!0},pk=String(ok);var yk=new function(){var a=window.document;this.j=window;this.o=a};_.Ta("yt.ads_.signals_.getAdSignalsString",function(a){return rk(_.Ek(a))});_.hb();navigator.userAgent.indexOf(" (CrKey ");var St;St=0;_.aaa=_.Ls?"webkit":Ks?"moz":Js?"ms":Is?"o":"";_.Ta("ytDomDomGetNextId",_.Ua("ytDomDomGetNextId")||function(){return++St});_.Tt=_.Sa.ytEventsEventsListeners||{};_.Ta("ytEventsEventsListeners",_.Tt);_.Ut=_.Sa.ytEventsEventsCounter||{count:0};_.Ta("ytEventsEventsCounter",_.Ut);_.Vt=je(function(){var a=!1;try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});window.addEventListener("test",null,b)}catch(c){}return a});var Wt;Wt=window;_.Dm=Wt.ytcsi&&Wt.ytcsi.now?Wt.ytcsi.now:Wt.performance&&Wt.performance.timing&&Wt.performance.now&&Wt.performance.timing.navigationStart?function(){return Wt.performance.timing.navigationStart+Wt.performance.now()}:function(){return(new Date).getTime()};var Gk="XMLHttpRequest"in _.Sa?function(){return new XMLHttpRequest}:null;var Xt="absolute_experiments client_dev_domain client_dev_expflag client_dev_regex_map client_dev_root_url client_rollout_override expflag forcedCapability jsfeat jsmode mods theme".split(" ");[].concat(_.va(Xt),["client_dev_set_cookie"]);var Rk={Authorization:"AUTHORIZATION","X-Goog-EOM-Visitor-Id":"EOM_VISITOR_DATA","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-Youtube-Domain-Admin-State":"DOMAIN_ADMIN_STATE","X-Youtube-Chrome-Connected":"CHROME_CONNECTED_HEADER","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-YouTube-Delegation-Context":"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT","X-YouTube-Device":"DEVICE","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL", "X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-Goog-AuthUser":"SESSION_INDEX","X-Goog-PageId":"DELEGATED_SESSION_ID"},cl="app debugcss debugjs expflag force_ad_params force_ad_encrypted force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" ").concat(_.va(Xt)),Zk=!1,Wk=Qk;_.Yt=_.Ua("ytglobal.prefsUserPrefsPrefs_")||{};_.Ta("ytglobal.prefsUserPrefsPrefs_",_.Yt);var kl={bluetooth:"CONN_DISCO",cellular:"CONN_CELLULAR_UNKNOWN",ethernet:"CONN_WIFI",none:"CONN_NONE",wifi:"CONN_WIFI",wimax:"CONN_CELLULAR_4G",other:"CONN_UNKNOWN",unknown:"CONN_UNKNOWN","slow-2g":"CONN_CELLULAR_2G","2g":"CONN_CELLULAR_2G","3g":"CONN_CELLULAR_3G","4g":"CONN_CELLULAR_4G"},ml={"slow-2g":"EFFECTIVE_CONNECTION_TYPE_SLOW_2G","2g":"EFFECTIVE_CONNECTION_TYPE_2G","3g":"EFFECTIVE_CONNECTION_TYPE_3G","4g":"EFFECTIVE_CONNECTION_TYPE_4G"};_.x(_.ol,Error);rl.prototype.rb=function(a,b){return this.Fa(a,1,b)};rl.prototype.Ig=function(a){var b=_.Ua("yt.scheduler.instance.addImmediateJob");b?b(a):a()};var baa=_.Lk("web_emulated_idle_callback_delay",300),ul=1E3/60-3,tl=[8,5,4,3,2,1,0];_.x(vl,_.lf);_.k=vl.prototype;_.k.Ig=function(a){var b=_.hb();zl(this,a);a=_.hb()-b;this.D||(this.S-=a)};_.k.Fa=function(a,b,c){++this.ha;if(b===10)return this.Ig(a),this.ha;var d=this.ha;this.v[d]=a;this.D&&!c?this.W.push({id:d,priority:b}):(this.o[b].push(d),this.paused||this.D||(this.j!==0&&yl(this)!==this.I&&this.stop(),this.start()));return d};_.k.Ia=function(a){delete this.v[a]}; _.k.isHidden=function(){return!!document.hidden||!1};_.k.Gb=function(a){var b=_.Ua("yt.logging.errors.log");b&&b(a)};_.k.Yw=function(a){var b=void 0;a&&(b=a.timeRemaining());this.ka=!0;Dl(this,b);this.ka=!1};_.k.UA=function(){Dl(this)};_.k.mu=function(){Cl(this)};_.k.Bz=function(a){this.ea=!0;var b=yl(this);b===4&&b!==this.I&&(this.stop(),this.start());Dl(this,void 0,a);this.ea=!1};_.k.cz=function(){this.isHidden()||Cl(this);this.j&&(this.stop(),this.start())}; _.k.requestIdleCallback=function(a){return this.Ba?window.requestIdleCallback(a,{timeout:3E3}):window.setTimeout(a,baa)};_.k.cancelIdleCallback=function(a){this.Ba?window.cancelIdleCallback(a):window.clearTimeout(a)}; _.k.start=function(){this.paused=!1;if(this.j===0)switch(this.I=yl(this),this.I){case 1:this.j=this.requestIdleCallback(this.qb);break;case 2:this.j=window.setTimeout(this.Md,this.Sg);break;case 3:this.j=window.requestAnimationFrame(this.cc);break;case 4:this.j=window.setTimeout(this.pb,0)}};_.k.pause=function(){this.stop();this.paused=!0}; _.k.stop=function(){if(this.j){switch(this.I){case 1:this.cancelIdleCallback(this.j);break;case 2:case 4:window.clearTimeout(this.j);break;case 3:window.cancelAnimationFrame(this.j)}this.j=0}};_.k.na=function(){wl(this);this.stop();this.sa&&document.removeEventListener("visibilitychange",this.Na);_.lf.prototype.na.call(this)};var Hl=_.Ua("yt.scheduler.instance.timerIdMap_")||{},Ol=_.Lk("kevlar_tuner_scheduler_soft_state_timer_ms",800),Nl=0,Ql=0;_.x(Vl,rl);Vl.prototype.Fa=function(a,b,c){c!==void 0&&Number.isNaN(Number(c))&&(c=void 0);var d=_.Ua("yt.scheduler.instance.addJob");return d?d(a,b,c):c===void 0?(a(),NaN):_.Fk(a,c||0)};Vl.prototype.Ia=function(a){if(a===void 0||!Number.isNaN(Number(a))){var b=_.Ua("yt.scheduler.instance.cancelJob");b?b(a):window.clearTimeout(a)}};Vl.prototype.start=function(){var a=_.Ua("yt.scheduler.instance.start");a&&a()};Vl.prototype.pause=function(){var a=_.Ua("yt.scheduler.instance.pause");a&&a()};_.vg=_.Wl(); _.Ua("yt.scheduler.initialized")||(_.Ta("yt.scheduler.instance.dispose",Gl),_.Ta("yt.scheduler.instance.addJob",Il),_.Ta("yt.scheduler.instance.addImmediateJob",Jl),_.Ta("yt.scheduler.instance.cancelJob",Kl),_.Ta("yt.scheduler.instance.cancelAllJobs",Fl),_.Ta("yt.scheduler.instance.start",Ll),_.Ta("yt.scheduler.instance.pause",Pl),_.Ta("yt.scheduler.instance.setPriorityThreshold",Rl),_.Ta("yt.scheduler.instance.enablePriorityThreshold",Tl),_.Ta("yt.scheduler.instance.clearPriorityThreshold",Ul),_.Ta("yt.scheduler.initialized", !0));_.Xl.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.j)try{this.j.set(a,b,Date.now()+c*1E3);return}catch(f){}var e="";if(d)try{e=escape(Gt(b))}catch(f){return}else e=escape(b);_.el(a,e,c,this.o)};_.Xl.prototype.get=function(a,b){var c=void 0,d=!this.j;if(!d)try{c=this.j.get(a)}catch(e){d=!0}if(d&&(c=_.dl.get(a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};_.Xl.prototype.remove=function(a){this.j&&this.j.remove(a);_.fl(a,"/",this.o)};var Yl=function(){var a;return function(){a||(a=new _.Xl("ytidb"));return a}}();var $l;_.bm=[];$l=!1;_.kn=_.Qs||_.Rs;var Zt={},hm=(Zt.AUTH_INVALID="No user identifier specified.",Zt.EXPLICIT_ABORT="Transaction was explicitly aborted.",Zt.IDB_NOT_SUPPORTED="IndexedDB is not supported.",Zt.MISSING_INDEX="Index not created.",Zt.MISSING_OBJECT_STORES="Object stores not created.",Zt.DB_DELETED_BY_MISSING_OBJECT_STORES="Database is deleted because expected object stores were not created.",Zt.DB_REOPENED_BY_MISSING_OBJECT_STORES="Database is reopened because expected object stores were not created.",Zt.UNKNOWN_ABORT="Transaction was aborted for unknown reasons.", Zt.QUOTA_EXCEEDED="The current transaction exceeded its quota limitations.",Zt.QUOTA_MAYBE_EXCEEDED="The current transaction may have failed because of exceeding quota limitations.",Zt.EXECUTE_TRANSACTION_ON_CLOSED_DB="Can't start a transaction on a closed database",Zt.INCOMPATIBLE_DB_VERSION="The binary is incompatible with the database version",Zt),$t={},im=($t.AUTH_INVALID="ERROR",$t.EXECUTE_TRANSACTION_ON_CLOSED_DB="WARNING",$t.EXPLICIT_ABORT="IGNORED",$t.IDB_NOT_SUPPORTED="ERROR",$t.MISSING_INDEX= "WARNING",$t.MISSING_OBJECT_STORES="ERROR",$t.DB_DELETED_BY_MISSING_OBJECT_STORES="WARNING",$t.DB_REOPENED_BY_MISSING_OBJECT_STORES="WARNING",$t.QUOTA_EXCEEDED="WARNING",$t.QUOTA_MAYBE_EXCEEDED="WARNING",$t.UNKNOWN_ABORT="WARNING",$t.INCOMPATIBLE_DB_VERSION="WARNING",$t),au={},jm=(au.AUTH_INVALID=!1,au.EXECUTE_TRANSACTION_ON_CLOSED_DB=!1,au.EXPLICIT_ABORT=!1,au.IDB_NOT_SUPPORTED=!1,au.MISSING_INDEX=!1,au.MISSING_OBJECT_STORES=!1,au.DB_DELETED_BY_MISSING_OBJECT_STORES=!1,au.DB_REOPENED_BY_MISSING_OBJECT_STORES= !1,au.QUOTA_EXCEEDED=!1,au.QUOTA_MAYBE_EXCEEDED=!0,au.UNKNOWN_ABORT=!0,au.INCOMPATIBLE_DB_VERSION=!1,au);_.x(km,_.ol);_.x(lm,km);_.x(mm,Error);var om=["The database connection is closing","Can't start a transaction on a closed database","A mutation operation was attempted on a database that did not allow mutations"];_.um.all=function(a){return new _.um(new tm(function(b,c){var d=[],e=a.length;e===0&&b(d);for(var f={Rf:0};f.Rf=M.Jd)||w.j.version>=R||w.j.objectStoreNames.contains(N)||E.push(N)}l=E;if(l.length===0){v.J(5);break}m=Object.keys(c.options.je);n=h.objectStoreNames(); if(c.D<_.Lk("ytidb_reopen_db_retries",0))return c.D++,h.close(),_.cm(new km("DB_REOPENED_BY_MISSING_OBJECT_STORES",{dbName:c.name,expectedObjectStores:m,foundObjectStores:n})),v.return(a());if(!(c.B<_.Lk("ytidb_remake_db_retries",1))){v.J(6);break}c.B++;return v.yield(c.delete(),7);case 7:return _.cm(new km("DB_DELETED_BY_MISSING_OBJECT_STORES",{dbName:c.name,expectedObjectStores:m,foundObjectStores:n})),v.return(a());case 6:throw new lm(n,m);case 5:return v.return(h);case 2:p=v.B();if(p instanceof DOMException?p.name!=="VersionError":"DOMError"in self&&p instanceof DOMError?p.name!=="VersionError":!(p instanceof Object&&"message"in p)||p.message!=="An attempt was made to open a database using a lower version than the existing version."){v.J(8);break}return v.yield(c.o(c.name,void 0,Object.assign({},e,{upgrade:void 0})),9);case 9:r=v.o;t=r.j.version;if(c.options.version!==void 0&&t>c.options.version+1)throw r.close(),c.v=!1,cn(c,t);return v.return(r);case 8:throw b(),p instanceof Error&&!_.C("ytidb_async_stack_killswitch")&& (p.stack=p.stack+"\n"+g.substring(g.indexOf("\n")+1)),pm(p,c.name,"",(u=c.options.version)!=null?u:-1);}})}function b(){c.j===d&&(c.j=void 0)}var c=this;if(!this.v)throw cn(this);if(this.j)return this.j;var d,e={blocking:function(f){f.close()},closed:b,MA:b,upgrade:this.options.upgrade};return this.j=d=a()};var en=new bn("YtIdbMeta",{je:{databases:{Jd:1}},upgrade:function(a,b){b(1)&&_.Hm(a,"databases",{keyPath:"actualName"})}});var on,mn=new function(){}(new function(){});new _.Ii;_.x(An,bn);An.prototype.o=function(a,b,c){c=c===void 0?{}:c;return(this.options.shared?vn:un)(a,b,Object.assign({},c))};An.prototype.delete=function(a){a=a===void 0?{}:a;return(this.options.shared?zn:wn)(this.name,a)};var bu={},Dn=_.Cn("ytGcfConfig",{je:(bu.coldConfigStore={Jd:1},bu.hotConfigStore={Jd:1},bu),shared:!1,upgrade:function(a,b){b(1)&&(_.Pm(_.Hm(a,"hotConfigStore",{keyPath:"key",autoIncrement:!0}),"hotTimestampIndex","timestamp"),_.Pm(_.Hm(a,"coldConfigStore",{keyPath:"key",autoIncrement:!0}),"coldTimestampIndex","timestamp"))},version:1});_.x(Jn,_.lf);Jn.prototype.na=function(){for(var a=_.z(this.o),b=a.next();!b.done;b=a.next()){var c=this.j;b=c.indexOf(b.value);b>=0&&c.splice(b,1)}this.o.length=0;_.lf.prototype.na.call(this)};Kn.prototype.B=function(a){this.hotHashData=a;_.Ta("yt.gcf.config.hotHashData",this.hotHashData||null)};var cu;cu=typeof TextEncoder!=="undefined"?new TextEncoder:null;_.bo=cu?function(a){return cu.encode(a)}:function(a){a=_.Ec(a);for(var b=new Uint8Array(a.length),c=0;c-1&&a.plugins.splice(b,1)})}; _.k.transition=function(a,b){var c=this;Gp&&Cp(this.state);var d=this.transitions.find(function(f){return Array.isArray(f.from)?f.from.find(function(g){return g===c.state&&f.to===a}):f.from===c.state&&f.to===a});if(d){this.j&&(Fp(this.j),this.j=void 0);Np(this,a,b);this.state=a;Gp&&Bp(this.state);d=d.action.bind(this);var e=this.plugins.filter(function(f){return f[a]}).map(function(f){return f[a]});d(Jp(this,e),b)}else throw Error("Xa`"+this.state+"`"+a);}; _.k.Pz=function(a){for(var b=_.Na.apply(1,arguments),c=_.Wl(),d=_.z(a),e=d.next(),f={};!e.done;f={wh:void 0},e=d.next())f.wh=e.value,c.Ig(function(g){return function(){Kp(g.wh.name);Op(function(){return g.wh.callback.apply(g.wh,_.va(b))});Lp(g.wh.name)}}(f))}; _.k.Oz=function(a){var b=_.Na.apply(1,arguments),c,d,e,f,g;return _.A(function(h){h.j==1&&(c=_.Wl(),d=_.z(a),e=d.next(),f={});if(h.j!=3){if(e.done)return h.J(0);f.be=e.value;f.ni=void 0;g=function(l){return function(){Kp(l.be.name);var m=Op(function(){return l.be.callback.apply(l.be,_.va(b))});Zs(m)?l.ni=_.C("web_lifecycle_error_handling_killswitch")?m.then(function(){Lp(l.be.name)}):m.then(function(){Lp(l.be.name)},function(n){Dp(n);Lp(l.be.name)}):Lp(l.be.name)}}(f);c.Ig(g);return f.ni?h.yield(f.ni, 3):h.J(3)}f={be:void 0,ni:void 0};e=d.next();return h.J(2)})};_.k.rr=function(a){var b=_.Na.apply(1,arguments),c=this,d=a.map(function(e){return{qh:function(){Kp(e.name);Op(function(){return e.callback.apply(e,_.va(b))});Lp(e.name)},priority:Ip(c,e)}});d.length&&(this.j=new Ep(d))};_.oa.Object.defineProperties(_.Hp.prototype,{currentState:{configurable:!0,enumerable:!0,get:function(){return this.state}}});var Qp;_.x(Pp,_.Hp);Pp.prototype.B=function(a,b){var c=this;this.o=_.sl(function(){c.currentState==="application_navigating"&&c.transition("none")},5E3);a(b==null?void 0:b.event)};Pp.prototype.K=function(a,b){this.o&&(_.vg.Ia(this.o),this.o=null);a(b==null?void 0:b.event)};var $p=_.Lk("ytcsi_debug_max_size",100);var lu,mu;lu={}; _.gaa=(lu.auto_search="LATENCY_ACTION_AUTO_SEARCH",lu.ad_to_ad="LATENCY_ACTION_AD_TO_AD",lu.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",lu.app_startup="LATENCY_ACTION_APP_STARTUP",lu.browse="LATENCY_ACTION_BROWSE",lu.cast_splash="LATENCY_ACTION_CAST_SPLASH",lu.call_to_cast="LATENCY_ACTION_CALL_TO_CAST",lu.channel_activity="LATENCY_ACTION_FAMILY_CENTER_CHANNEL_ACTIVITY",lu.channels="LATENCY_ACTION_CHANNELS",lu.chips="LATENCY_ACTION_CHIPS",lu.commerce_transaction="LATENCY_ACTION_COMMERCE_TRANSACTION",lu.direct_playback= "LATENCY_ACTION_DIRECT_PLAYBACK",lu.editor="LATENCY_ACTION_EDITOR",lu.embed="LATENCY_ACTION_EMBED",lu.embed_no_video="LATENCY_ACTION_EMBED_NO_VIDEO",lu.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",lu.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",lu.explore="LATENCY_ACTION_EXPLORE",lu.favorites="LATENCY_ACTION_FAVORITES",lu.home="LATENCY_ACTION_HOME",lu.inboarding="LATENCY_ACTION_INBOARDING",lu.landing="LATENCY_ACTION_LANDING",lu.learning= "LATENCY_ACTION_LEARNING",lu.learning_journey_browse="LATENCY_ACTION_LEARNING_JOURNEY_BROWSE",lu.learning_journey_watch="LATENCY_ACTION_LEARNING_JOURNEY_WATCH",lu.library="LATENCY_ACTION_LIBRARY",lu.live="LATENCY_ACTION_LIVE",lu.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",lu.management="LATENCY_ACTION_MANAGEMENT",lu.mini_app="LATENCY_ACTION_MINI_APP_PLAY",lu.notification_settings="LATENCY_ACTION_FAMILY_CENTER_NOTIFICATION_SETTINGS",lu.onboarding="LATENCY_ACTION_ONBOARDING",lu.parent_profile_settings= "LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",lu.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",lu.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",lu.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",lu.prebuffer="LATENCY_ACTION_PREBUFFER",lu.prefetch="LATENCY_ACTION_PREFETCH",lu.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",lu.profile_switcher="LATENCY_ACTION_LOGIN",lu.projects="LATENCY_ACTION_PROJECTS",lu.reel_watch="LATENCY_ACTION_REEL_WATCH",lu.results= "LATENCY_ACTION_RESULTS",lu.red="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE",lu.premium="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE",lu.premium_lite_upsell="LATENCY_ACTION_PREMIUM_LITE_UPSELL",lu.privacy_policy="LATENCY_ACTION_FAMILY_CENTER_PRIVACY_POLICY",lu.review="LATENCY_ACTION_REVIEW",lu.search_overview_answer="LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER",lu.search_ui="LATENCY_ACTION_SEARCH_UI",lu.search_suggest="LATENCY_ACTION_SUGGEST",lu.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",lu.secret_code= "LATENCY_ACTION_KIDS_SECRET_CODE",lu.switchplan="LATENCY_ACTION_UNPLUGGED_SWITCH_PLAN",lu.seek="LATENCY_ACTION_PLAYER_SEEK",lu.settings="LATENCY_ACTION_SETTINGS",lu.store="LATENCY_ACTION_STORE",lu.supervision_dashboard="LATENCY_ACTION_FAMILY_CENTER_SUPERVISION_DASHBOARD",lu.bedtime_reminder_settings="LATENCY_ACTION_FAMILY_CENTER_BEDTIME_REMINDER_SETTINGS",lu.break_reminder_settings="LATENCY_ACTION_FAMILY_CENTER_BREAK_REMINDER_SETTINGS",lu.supervision_settings_dashboard="LATENCY_ACTION_FAMILY_CENTER_SUPERVISION_SETTINGS_DASHBOARD", lu.time_management="LATENCY_ACTION_FAMILY_CENTER_TIME_MANAGEMENT",lu.update_profile="LATENCY_ACTION_FAMILY_CENTER_UPDATE_PROFILE",lu.viewing_permissions="LATENCY_ACTION_FAMILY_CENTER_VIEWING_PERMISSIONS",lu.shorts_settings="LATENCY_ACTION_FAMILY_CENTER_SHORTS_SETTINGS",lu.privacy_settings="LATENCY_ACTION_FAMILY_CENTER_PRIVACY_SETTINGS",lu.tenx="LATENCY_ACTION_TENX",lu.video_preview="LATENCY_ACTION_VIDEO_PREVIEW",lu.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",lu.watch="LATENCY_ACTION_WATCH",lu.watch_it_again= "LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",lu["watch,watch7"]="LATENCY_ACTION_WATCH",lu["watch,watch7_html5"]="LATENCY_ACTION_WATCH",lu["watch,watch7ad"]="LATENCY_ACTION_WATCH",lu["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",lu.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",lu.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",lu.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",lu.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",lu.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE", lu.gel_compression="LATENCY_ACTION_GEL_COMPRESSION",lu.gel_jspb_serialize="LATENCY_ACTION_GEL_JSPB_SERIALIZE",lu.attestation_challenge_fetch="LATENCY_ACTION_ATTESTATION_CHALLENGE_FETCH",lu);mu=0;_.x(dq,_.Tn);var Tr=new _.Un("aft-recorded",dq);var or=[{bm:function(a){return"Cannot read property '"+a.key+"'"},Ij:{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"]}]}},{bm:function(a){return"Cannot call '"+a.key+"'"},Ij:{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"]}]}},{bm:function(a){return a.key+" is not defined"},Ij:{ReferenceError:[{regexp:/(.*) is not defined/,groups:["key"]},{regexp:/Can't find variable: (.*)/,groups:["key"]}]}}];var jq={de:[],Od:[{callback:eq,weight:500},{callback:fq,weight:500}]};var hq;_.rr=new _.Ji;var ar=[];_.Ta("yt.logging.transport.getScrapedGelPayloads",function(){return ar});rq.prototype.storePayload=function(a,b){a=sq(a);this.store[a]?this.store[a].push(b):(this.j={},this.store[a]=[b]);_.C("more_accurate_gel_parser")&&(b=new CustomEvent("TRANSPORTING_NEW_EVENT"),window.dispatchEvent(b));return a}; rq.prototype.smartExtractMatchingEntries=function(a){if(!a.keys.length)return[];for(var b=uq(this,a.keys.splice(0,1)[0]),c=[],d=0;d2147483647?-1:_.Sa.setTimeout(a,b||0)};_.Lu=function(a,b,c){_.lf.call(this);this.I=c!=null?a.bind(c):a;this.D=b;this.B=null;this.o=!1;this.v=0;this.j=null};Mu=function(a){a.j=raa(function(){a.j=null;a.o&&!a.v&&(a.o=!1,Mu(a))},a.D);var b=a.B;a.B=null;a.I.apply(null,b)};_.x(_.Lu,_.lf);_.k=_.Lu.prototype;_.k.Ae=function(a){this.B=arguments;this.j||this.v?this.o=!0:Mu(this)};_.k.stop=function(){this.j&&(_.Sa.clearTimeout(this.j),this.j=null,this.o=!1,this.B=null)};_.k.pause=function(){this.v++};_.k.resume=function(){this.v--;this.v||!this.o||this.j||(this.o=!1,Mu(this))};_.k.na=function(){_.lf.prototype.na.call(this);this.stop()}; }catch(e){_._DumpException(e)} try{ /* Copyright Google LLC All Rights Reserved. Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.dev/license */ var Ou,Zu,iv,kv,mv,gv,dv,lv,cv,taa,sv,uaa,uv,vaa,xv,waa,xaa,yaa,Ev,zaa,Ov,Pv,Qv,Rv,Sv,Tv,Aaa,dw,Caa;_.ku=function(a){this.cv=a};_.Nu=function(a,b){var c,d;_.A(function(e){c=_.yp();return(d=c.resolve(_.rp(a)))?(b(d),e.return(Promise.resolve(d))):e.return(c.resolve(new _.ku(a)).then(function(f){b(f);return f}))})};Ou=function(){_.lf.call(this)};_.Qu=function(a){var b=_.Pu;_.Pu=a;return b};_.Su=function(a){return a===_.Ru||(a==null?void 0:a.name)==="\u0275NotFound"}; _.Tu=function(a,b){var c;if((c=a)==null?0:c.ia)throw Error("ib`"+String(a.debugName));for(;a!==void 0;){c=a;if(c.Sh)return c.Sh(b,{optional:!0});a=a.parent}return _.Ru};_.Uu=function(a){return{zb:{Az:"root",token:Symbol(a),gp:void 0,value:void 0}}};_.Vu=function(a,b,c){var d;return a&&b?a+"__"+b:(d=a!=null?a:b)!=null?d:c}; _.Xu=function(a,b){var c=!a||!Object.hasOwn(a,"defaultValue"),d={};return Object.assign({},_.Uu(b!=null?b:""),(d[_.Wu]=!0,d.debugName=b!=null?b:"[context]",d.defaultValue=a==null?void 0:a.defaultValue,d.required=c,d.id=b,d.aK=void 0,d))};_.Yu=function(a,b){b=_.Tu(b,a);if(_.Su(b)){if(a.required)throw Error("ub`"+a.debugName);return a.defaultValue}return b};Zu=function(a,b){return Object.is(a,b)};_.av=function(a){var b=_.$u;_.$u=a;return b}; _.ev=function(a){if(bv)throw Error("z");if(_.$u!==null){var b=_.$u.Te;if(b===void 0||b.Oh!==a){var c=void 0,d=_.$u.Pm;if(d&&(c=b!==void 0?b.he:_.$u.producers,c!==void 0&&c.Oh===a)){_.$u.Te=c;c.eq=a.version;return}var e=a.Ng,f;if(!(f=e===void 0||e.tf!==_.$u)){if(d){a:{f=_.$u;d=f.Te;if(d!==void 0){f=f.producers;do{if(f===e){d=!0;break a}if(f===d)break;f=f.he}while(f!==void 0)}d=!1}d=!d}f=d}f&&(d=cv(_.$u),c={Oh:a,tf:_.$u,he:c,Nj:e,eq:a.version,ge:void 0},_.$u.Te=c,b!==void 0?b.he=c:_.$u.producers=c, d&&dv(a,c))}}};_.hv=function(a){if(!cv(a)||a.Eb)if(a.Eb||a.mj!==_.fv)(a.Lm(a)||gv(a))&&a.Mm(a),a.Eb=!1,a.mj=_.fv};iv=function(a){if(a.consumers!==void 0){var b=bv;bv=!0;try{for(var c=a.consumers;c!==void 0;c=c.ge){var d=c.tf;d.Eb||(a=void 0,d.Eb=!0,iv(d),(a=d.Rk)==null||a.call(d,d))}}finally{bv=b}}};_.jv=function(){var a;return((a=_.$u)==null?void 0:a.uf)!==!1};kv=function(a){a&&(a.Te=void 0,a.Pm=!0);return _.av(a)}; mv=function(a){a.Pm=!1;var b=a.Te,c=b!==void 0?b.he:a.producers;if(c!==void 0){if(cv(a)){do c=lv(c);while(c!==void 0)}b!==void 0?b.he=void 0:a.producers=void 0}};gv=function(a){for(a=a.producers;a!==void 0;a=a.he){var b=a.Oh,c=a.eq;if(c!==b.version)return!0;_.hv(b);if(c!==b.version)return!0}return!1};dv=function(a,b){var c=a.Ng,d=cv(a);c!==void 0?(b.ge=c.ge,c.ge=b):(b.ge=void 0,a.consumers=b);b.Nj=c;a.Ng=b;if(!d)for(a=a.producers;a!==void 0;a=a.he)dv(a.Oh,a)}; lv=function(a){var b=a.Oh,c=a.he,d=a.ge,e=a.Nj;a.ge=void 0;a.Nj=void 0;d!==void 0?d.Nj=e:b.Ng=e;if(e!==void 0)e.ge=d;else if(b.consumers=d,!cv(b))for(a=b.producers;a!==void 0;)a=lv(a);return c};cv=function(a){return a.Qk||a.consumers!==void 0};_.nv=function(){throw Error();};taa=function(a,b){function c(){_.ev(d);return d.value}var d=Object.create(saa);d.value=a;b!==void 0&&(d.equal=b);c[_.ov]=d;return[c,function(e){return _.pv(d,e)},function(e){_.jv()||_.nv(d);_.pv(d,e(d.value))}]}; _.pv=function(a,b){_.jv()||_.nv(a);if(!a.equal(a.value,b)){a.value=b;a.version++;_.fv++;iv(a);var c;(c=qv)==null||c(a)}};sv=function(a){return Object.create(Object.assign({},rv,a))};uaa=function(){var a;return(a=tv)!=null?a:tv=sv({uf:!0})};uv=function(a,b){b.rq=void 0;a.dn?a.dn.rq=b:a.Ao=b;a.dn=b};vaa=function(a,b){var c={};uv(a,(c[Symbol.dispose]=b,c))};_.vv=function(a){var b=_.Pu;b&&!b.ia&&(uv(b,a),a.parent=b)};xv=function(a){for(var b=a.Ao;b;){var c=b.rq;_.wv(b);b=c}a.Ao=void 0;a.dn=void 0}; _.wv=function(a){if(!a.ia){a.ia=!0;var b;(b=a[Symbol.dispose])==null||b.call(a);delete a.parent;xv(a)}};_.zv=function(a){return(0,_.$s)(a)&&_.yv in a};waa=function(a){for(a=a===void 0?_.Pu:a;a;){if(_.zv(a))return a;var b=void 0;a=(b=a.parent)!=null?b:null}return null};xaa=function(a){a=a===void 0?_.Pu:a;for(var b=[];a;){_.zv(a)&&b.push(a.debugName);var c=void 0;a=(c=a.parent)!=null?c:null}return b};yaa=function(a){return(0,_.$s)(a)&&a.name!==void 0&&a.gj!==void 0&&a.parent!==void 0}; _.Cv=function(){var a=Object.assign({},Av);Object.getOwnPropertyNames(Av).forEach(function(b){_.Bv[b]!==void 0&&(a[b]=_.Bv[b])});return a};_.Iv=function(a,b,c){var d=_.Dv;b&&(_.Dv=b);try{return c==null?a():a.call(c)}catch(f){a=f;Ev(a,_.Dv);if(a!==Fv){_.Gv=_.Dv;b=[];for(c=_.Pu;c;){var e=void 0;b.push((e=c.debugName)!=null?e:"[context]");e=void 0;c=(e=c.parent)!=null?e:null}Hv=b.reverse()}Fv=a;throw a;}finally{_.Dv=d}}; Ev=function(a,b){try{var c=_.Jv(b),d;if(c&&((d=a.df)==null||!d.componentStack)&&(a.df?a.df.componentStack||(a.df.componentStack=c):a.df={componentStack:c},_.Bv.Xo)){var e=a.message+"\n\nComponent stack: "+c;a.stack&&(a.stack=a.stack.replace(a.message,e));a.message=e}}catch(f){}};_.Lv=function(a,b){if(a.df)return a;try{var c,d=(c=a===Fv?_.Gv:null)!=null?c:_.Dv;Ev(a,d);a.df={componentStack:_.Jv(d),ll:4,hp:_.Cv(),tagName:b,gz:_.Kv()}}catch(e){}return a}; _.Kv=function(){var a,b;return(b=(a=Hv)==null?void 0:a.slice())!=null?b:[]};zaa=function(a){for(var b=0,c="";b<20&&a;)c+="$$XID:"+a.name+"$$ > ",a=a.parent,b++;return c.slice(0,-3)};_.Jv=function(a){return yaa(a)||a===null?zaa(a):_.Bv.Yo?(a=waa(a),xaa(a).slice(0,20).map(function(b){return"$$XID:"+b+"$$"}).join(" > ")):""};_.Mv=function(a){var b=_.Pu;if(b){var c=_.Dv;vaa(b,function(){var d=_.av(uaa());try{_.Iv(function(){return void a()},c)}catch(e){throw _.Lv(e),e;}finally{_.av(d)}})}}; _.Nv=function(a,b,c){b=b!=null?b:{};c=c===void 0?"":c;a=taa(a,b.equals);a[0][_.ov].debugName=_.Vu(b.debugName,c,"[signal]");return a};Ov=function(){this.isFlushing=!1;this.wd=[];this.Zb=0};Pv=function(){Ov.apply(this,arguments)};Qv=function(){Pv.apply(this,arguments)};Rv=function(){Ov.apply(this,arguments)};Sv=function(){Rv.apply(this,arguments)};Tv=function(){Rv.apply(this,arguments)};_.Yv=function(a){if(!a.ia)switch(a.effectType){case _.Uv:_.Vv.schedule(a);break;case _.Wv:Xv.schedule(a);break;default:_.Jb(a.effectType)}}; _.aw=function(){if(_.Zv>0)_.Bv.Li&&_.Vv.flush();else{for(var a=_.z($v),b=a.next();!b.done;b=a.next())b.value.flush();Aaa()}};Aaa=function(){_.A(function(a){if(a.j==1)return a.yield(Promise.resolve(),2);for(var b=_.z(bw),c=b.next();!c.done;c=b.next())c.value.flush();a.v()})}; dw=function(a){var b=a.isFlushing;a.isFlushing=!0;try{for(var c=0;c0;)e.pop().run()}}a.Zb=0}finally{a.isFlushing=b}};_.ew=function(a,b){if((b=b===void 0?_.Pu:b)&&!b.ia&&(b=_.Yu(Baa,b),b==null?0:b.reportError)){b.reportError(a);return}throw a;};_.fw=function(a,b,c){a=Object.create(a);b&&(a.fn=b);c&&(a.debugName=c);_.vv(a);a.componentStack=_.Dv;return a}; Caa=function(a){if(!a.ia){if(bv)throw _.Lv(Error("Ib"));var b=_.Qu(a);try{_.Iv(function(){a.Eb=!1;if(!(a.version>0)||gv(a)){a.version++;var c=kv(a);try{a.Hu(),a.fn()}finally{_.av(c),a&&mv(a)}}},a.componentStack,a)}catch(c){_.Lv(c),_.ew(c)}finally{_.Qu(b)}}};_.gw=function(a,b){a=_.fw(Daa,a,b);_.Yv(a)};_.hw=function(a){return typeof a==="function"?a():(a==null?0:a[Eaa])?a.get():a};_.Faa=_.Sa.JSON.parse;_.x(Ou,_.lf);Ou.prototype.init=function(){};new Ou;_.hb();_.Pu=void 0;_.Ru=Symbol("ob");var iw;iw=Symbol("pb");_.Uv=Symbol("qb");_.Wv=Symbol("rb");_.cw=_.rd(function(a){return(0,_.$s)(a)&&iw in a});_.Wu=Symbol("sb");var bv,rv;_.$u=null;bv=!1;_.fv=1;_.ov=Symbol("vb");rv={version:0,mj:0,Eb:!1,producers:void 0,Te:void 0,consumers:void 0,Ng:void 0,Pm:!1,uf:!1,Qk:!1,kind:"unknown",Lm:function(){return!1},Mm:function(){},Rk:function(){},uH:function(){}};var jw,kw;jw=Symbol("wb");kw=Symbol("xb");_.lw=Symbol("yb");_.Gaa=Object.assign({},rv,{value:jw,Eb:!0,error:null,equal:Zu,kind:"computed",Lm:function(a){return a.value===jw||a.value===kw},Mm:function(a){if(a.value===kw)throw Error("z");var b=a.value;a.value=kw;var c=kv(a),d=!1;try{var e=a.Mg();_.av(null);d=b!==jw&&b!==_.lw&&e!==_.lw&&a.equal(b,e)}catch(f){e=_.lw,a.error=f}finally{_.av(c),a&&mv(a)}d?a.value=b:(a.value=e,a.version++)}});var Haa=Object.assign({},rv,{Qk:!0,uf:!0,Eb:!0,kind:"effect"});var qv=null,saa=Object.assign({},rv,{equal:Zu,value:void 0,kind:"signal"});_.Iaa=Object.assign({},rv,{value:jw,Eb:!0,error:null,equal:Zu,kind:"linkedSignal",Lm:function(a){return a.value===jw||a.value===kw},Mm:function(a){if(a.value===kw)throw Error("z");var b=a.value;a.value=kw;var c=kv(a),d=!1;try{var e=a.source(),f=b!==jw&&b!==_.lw;var g=a.Mg(e,f?{source:a.sourceValue,value:b}:void 0);a.sourceValue=e;_.av(null);d=f&&g!==_.lw&&a.equal(b,g)}catch(h){g=_.lw,a.error=h}finally{_.av(c),a&&mv(a)}d?a.value=b:(a.value=g,a.version++)}});Object.assign({},rv,{Qk:!0,uf:!1,Rk:function(a){a.schedule!==null&&a.schedule(a.ref)},sH:function(){}});var tv;_.mw=Symbol("zb");_.nw=Symbol("Bb");_.Jaa=Symbol("Cb");_.yv=Symbol("Db");var Av={sv:!0,Xo:!0,Yo:_.Gs,Zo:_.Gs,XH:!1,mi:!1,VH:!0,Li:!1,fq:!1};_.Bv=Object.assign({},{attributes:{},handleError:function(a){throw a;}},Av);var Fv,Hv;_.Dv=null;_.Gv=null;var Xv,$v,bw,Maa;_.Zv=0;Ov.prototype.schedule=function(a){this.wd[this.Zb++]=a};Ov.prototype.clear=function(){for(var a=0;a1E3&&_.kr(new _.ol("IL Attach cache exceeded limit"))}h= cx(c,b);_.Iw.has(h)?_.jx(c,b):_.Kw.set(h,!0)}}d=d.filter(function(n){n.csn!==b?(n.csn=b,n=!0):n=!1;return n});c={csn:b,parentVe:c.getAsJson(),childVes:_.ws(d,function(n){return n.getAsJson()})};b==="UNDEFINED_CSN"?fx("visualElementAttached",f,c):a?_.hr("visualElementAttached",c,a,f):_.ir("visualElementAttached",c,f)};_.jx=function(a,b){a=cx(a,b);_.Iw.has(a)&&(b=_.Iw.get(a)||[],_.ix(b[0],b[1],b[2],b[3],!0),_.Iw.delete(a))}; kx=function(a,b){if(_.C("no_client_ve_attach_unless_shown")){var c=cx(a,b);_.Jw.set(c,!0);_.jx(a,b)}};_.lx=function(a,b,c,d,e,f,g){kx(c,b);d=d||"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK";f=_.bx({cttAuthInfo:_.Hr(b)||void 0,automatedLogEventSource:g},b);c={csn:b,ve:c.getAsJson(),gestureType:d};e&&(c.clientData=e);b==="UNDEFINED_CSN"?fx("visualElementGestured",f,c):a?_.hr("visualElementGestured",c,a,f):_.ir("visualElementGestured",c,f)};_.mx=function(a,b,c,d,e,f){_.lx(a,b,c,void 0,d,e,f)}; _.nx=function(a,b,c,d,e){kx(c,b);e=_.bx({cttAuthInfo:_.Hr(b)||void 0,automatedLogEventSource:e},b);c={csn:b,ve:c.getAsJson(),eventType:1};d&&(c.clientData=d);b==="UNDEFINED_CSN"?fx("visualElementShown",e,c):a?_.hr("visualElementShown",c,a,e):_.ir("visualElementShown",c,e)}; _.ox=function(a){if(a===window)return{x:0,y:0,width:window.innerWidth,height:window.innerHeight,scrollTop:window.scrollY,scrollLeft:window.scrollX};var b=a.getBoundingClientRect();return{x:b.left,y:b.top,width:b.width,height:b.height,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}};_.px=function(a){if(a===window)return null;var b=a.parentElement;return b?b:typeof ShadowRoot!=="undefined"&&a.getRootNode!=null&&(a=a.getRootNode(),a instanceof ShadowRoot)?a.host:window}; qx=function(){this.v=new Set;this.o=new Set;this.j=new Map;this.client=void 0;this.csn=null};_.rx=function(){qx.instance||(qx.instance=new qx);return qx.instance};sx=function(a,b,c){var d=_.Fr(c);return a.csn===null||d===a.csn||c?d:(a=new _.ol("VisibilityLogger called before newScreen",{caller:b.tagName,previous_csn:a.csn,current_csn:d}),_.kr(a),null)};tx=function(a,b){var c;return!((c=a.getData(b))==null||!c.loggingDirectives)}; ux=function(a,b){a=a.getData(b);return Math.floor(Number(a&&a.loggingDirectives&&a.loggingDirectives.visibility&&a.loggingDirectives.visibility.types||""))||1};vx=function(){};_.wx=function(){vx.instance||(vx.instance=new vx)};xx=function(){this.Y=[];this.S=[];this.j=[];this.ha=[];this.K=new Map;this.ka=new Map;this.D=[];this.W=[];this.v=new Map;this.I=new Map;this.o=new Set;this.sa=new Map};_.yx=function(){xx.instance||(xx.instance=new xx);return xx.instance}; _.Ax=function(a,b,c,d){return _.lk(function(){if(!b.veType)return _.Cu(new _.ol("Error: Trying to graft a client VE without a veType.")),null;if(b.visibilityTypes){var e=b.visibilityTypes.reduce(function(f,g){return f|g});e={visibility:{types:String(e)}}}e=_.$w(b.veType,b.visualElement,b.elementIndex,b.clientYouTubeData,void 0,e);return _.zx(a,e,c,d)?e:null})()}; _.zx=function(a,b,c,d){d=d===void 0?0:d;return _.lk(function(){if(a.o.has(d))return a.Y.push([b,c]),!0;var e=_.Fr(d),f=c||_.ax(d);if(e&&f){if(_.C("combine_ve_grafts")){var g=a.v.get(f.toString());g?g.push(b):(a.I.set(f.toString(),f),a.v.set(f.toString(),[b]));a.ea||(a.ea=_.sl(function(){_.Bx(a,e)},1200))}else _.ix(a.client,e,f,b);return!0}return!1})()}; _.Cx=function(a,b,c,d){d=d===void 0?0:d;var e=_.Fr(d);b=b||_.ax(d);e&&b&&(a=a.client,d=_.bx({cttAuthInfo:_.Hr(e)||void 0},e),c={csn:e,ve:b.getAsJson(),clientData:c},e==="UNDEFINED_CSN"?fx("visualElementStateChanged",d,c):a?_.hr("visualElementStateChanged",c,a,d):_.ir("visualElementStateChanged",c,d))};_.Bx=function(a,b){if(b===void 0)for(var c=Vaa(),d=0;d2?a.qa.status:-1}catch(b){return-1}}; _.Vx=function(a){var b=_.Ux(a),c;if(!(c=_.Gg(b))){if(b=b===0)a=_.qc(String(a.ka)),b=!$aa.test(a);c=b}return c};Wx=function(a){if(a.j&&typeof _.cs!="undefined")if(a.I&&(a.qa?a.qa.readyState:0)==4)setTimeout(a.Eq.bind(a),0);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.j=!1;try{if(_.Vx(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var b=(a.qa?a.qa.readyState:0)>2?a.qa.statusText:""}catch(c){b=""}a.B=b+" ["+_.Ux(a)+"]";Rx(a)}}finally{Sx(a)}}}; Xx=function(){_.qg.call(this);this.headers=new Map;this.j=!1;this.qa=null;this.B=this.ka="";this.v=this.ha=this.I=this.ea=!1;this.W=0;this.D=null;this.Ba="";this.sa=!1};_.Yx=function(a){_.wx();return _.lk(_.rx().uk).bind(_.rx())(a)};_.Zx=function(a,b,c,d){return _.lk(function(){var e=_.Zw(b);_.zx(a,e,c,d);return e})()}; $x=function(a,b,c,d){return _.C("enable_client_ve_spec")&&b.clientVeSpec?(b=_.$w(b.clientVeSpec.uiType,void 0,b.clientVeSpec.elementIndex,b.clientVeSpec.clientYoutubeData,void 0,b),_.zx(a,b,c,d)?b:null):b.trackingParams?_.Zx(a,b.trackingParams,c,d):null};_.ay=function(a,b){b=b===void 0?_.zw:b;return _.Aw(a,b)||_.js};_.by=function(a,b,c,d,e){_.ww(a);var f=a.Z;_.fe(f,f[_.kd]|0,b,(d==="0"?Number(c)===0:c===d)?void 0:c,e);return a}; _.cy=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("R");_.nd(b,32);return new a(b)};_.dy=function(a){var b=_.Na.apply(1,arguments);if(b.length===0)return _.yb(a[0]);for(var c=a[0],d=0;d0&&(this.v=null,this.j.set(qy(this,e),_.bc(c)),this.o+=c.length))},a));a.B=b};sy=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};fba=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; ty=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,fba),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; _.uy=function(a){this.o=this.I=this.B="";this.Y=null;this.v=this.j="";this.D=!1;var b;a instanceof _.uy?(this.D=a.D,vy(this,a.B),this.I=a.I,this.o=a.o,wy(this,a.Y),this.j=a.j,xy(this,a.K.clone()),this.v=a.v):a&&(b=_.oc(String(a)))?(this.D=!1,vy(this,b[1]||"",!0),this.I=sy(b[2]||""),this.o=sy(b[3]||"",!0),wy(this,b[4]),this.j=sy(b[5]||"",!0),xy(this,b[6]||"",!0),this.v=sy(b[7]||"")):(this.D=!1,this.K=new oy(null,this.D))};vy=function(a,b,c){a.B=c?sy(b,!0):b;a.B&&(a.B=a.B.replace(/:$/,""))}; wy=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("ab`"+b);a.Y=b}else a.Y=null};xy=function(a,b,c){b instanceof oy?(a.K=b,eba(a.K,a.D)):(c||(b=ty(b,gba)),a.K=new oy(b,a.D))};_.yy=function(a,b){_.qg.call(this);this.v=a||1;this.j=b||_.Sa;this.B=(0,_.fb)(this.SA,this);this.D=_.hb()};_.Ay=function(a,b,c,d,e,f,g){var h=new Xx;zy.push(h);b&&h.listen("complete",b);_.lg(h,"ready",h.Iu);f&&(h.W=Math.max(0,f));g&&(h.sa=g);h.send(a,c,d,e)}; hba=function(a){a.fp.subscribe(function(b){a:{if(b.hg){var c=b.hg.attributes;var d=c.scrollTop;c=c.scrollLeft;if(d!=null||c!=null){var e=_.Fr();b=b.hg.id;if(d){d={scrollableContainerIndex:b,startContentOffsetPoints:Math.round(d.va),clientScreenNonce:e,orientation:"SCROLL_ORIENTATION_VERTICAL",netDisplacementPoints:Math.round(d.we)};break a}if(c){d={scrollableContainerIndex:b,startContentOffsetPoints:Math.round(c.va),clientScreenNonce:e,orientation:"SCROLL_ORIENTATION_HORIZONTAL",netDisplacementPoints:Math.round(c.we)}; break a}}}d=void 0}d&&_.ir("scrollEvent",d)})};By=function(a){var b=Error.call(this,a?a.length+" errors occurred during unsubscription:\n"+a.map(function(c,d){return d+1+") "+c.toString()}).join("\n "):"");this.message=b.message;"stack"in b&&(this.stack=b.stack);this.errors=a;Object.setPrototypeOf(this,this.constructor.prototype);this.name="UnsubscriptionError"};Cy=function(a,b){a&&(b=a.indexOf(b),0<=b&&a.splice(b,1))};Dy=function(a){return typeof a==="function"}; Ey=function(a){this.B=a;this.closed=!1;this.v=this.o=null};Fy=function(a){return a instanceof Ey||a&&"closed"in a&&Dy(a.remove)&&Dy(a.add)&&Dy(a.unsubscribe)};iba=function(){setTimeout.apply(null,_.va(_.Na.apply(0,arguments)))};Gy=function(a){iba(function(){throw a;})};Hy=function(a){Ey.call(this);this.j=!1;this.destination=a instanceof Hy?a:new Iy(!a||Dy(a)?{next:a!=null?a:void 0}:a);Fy(a)&&a.add(this)};Iy=function(a){this.j=a}; Jy=function(a,b,c){Hy.call(this);var d;Dy(a)||!a?d={next:a!=null?a:void 0,error:b!=null?b:void 0,complete:c!=null?c:void 0}:d=a;this.destination=new Iy(d)};jba=function(a){return a};kba=function(a){return a.length===0?jba:a.length===1?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}};Ky=function(a){a&&(this.Fg=a)};lba=function(a){var b;return(b=a!=null?a:void 0)!=null?b:Promise}; Ly=function(){var a=Error.call(this,"object unsubscribed");this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,this.constructor.prototype);this.name="ObjectUnsubscribedError"};My=function(){this.observers=[];this.hasError=this.j=this.closed=!1;this.o=null};Ny=function(a,b){My.call(this);this.destination=a;this.source=b};mba=function(a,b){return new Ky(function(c){var d=0;return b.schedule(function(){d===a.length?c.complete():(c.next(a[d++]),c.closed||this.schedule())})})}; nba=function(a){return new Ky(function(b){for(var c=0;ce.clientWidth;f=(f==="scroll"||f==="auto")&&e.scrollHeight> e.clientHeight||g}else f=!1;if(f||e.Xt)return b=Xy(e,b,c),d.Cm=b.id,d}throw Error("Ub");};qba=function(a){return function c(){var d,e;return _.Qx(c,function(f){switch(f.j){case 1:f.Na(2),d=_.px(a);case 4:if(!d){f.J(2);break}e=_.Mx;return f.yield(d,7);case 7:e(f.o);d=_.px(d);f.J(4);break;case 2:f.W(),f.ea(0)}})}()}; rba=function(a){function b(l){return void f.next(Object.assign({},{timestamp:(0,_.Dm)()},l))}function c(l){l=_.z(l);for(var m=l.next(),n={};!m.done;n={Qc:void 0},m=l.next())n.Qc=m.value,n.Qc===window||n.Qc.Wt||(n.Qc.Wt=!0,n.Qc.addEventListener("scroll",function(p){return function(){return g(p.Qc)}}(n)),n.Qc.addEventListener("lr-scrolling",function(p){return function(r){var t=p.Qc.Ab;if(t!=null&&t.attributes){r.stopImmediatePropagation();var u=r.detail.amount;if((0,_.td)(u)){var v={id:t.id,attributes:{}}, w=(r=r.detail.direction==="horizontal")?t.attributes.scrollLeft:t.attributes.scrollTop,y=w+u;u={value:y,va:w,we:u};r?(t.attributes.scrollLeft=y,v.attributes.scrollLeft=u):(t.attributes.scrollTop=y,v.attributes.scrollTop=u);b({hg:v})}}}}(n)),n.Qc.addEventListener("lr-maybe-resize",function(p){return function(r){var t=p.Qc,u=t.Ab;if(u!=null&&u.attributes){r.stopImmediatePropagation();r={id:u.id,attributes:{}};var v=u.attributes.width,w=u.attributes.height,y=u.attributes.x,E=u.attributes.y,D=t.getBoundingClientRect(); t=D.width;var N=D.height,M=D.x;D=D.y;if(v!==t||w!==N||y!==M||E!==D)w!==N&&(r.attributes.height={value:N,va:w,we:N-w},u.attributes.height=N),v!==t&&(r.attributes.width={value:t,va:v,we:t-v},u.attributes.width=t),y!==M&&(r.attributes.x={value:M,va:y},u.attributes.x=M),E!==D&&(r.attributes.y={value:D,va:E},u.attributes.y=D),b({hg:r})}}}(n)))}var d=a.lr,e=a.Uj,f=new My,g=Yy(d,function(l){e(function(){var m=l.Ab;if(m!=null&&m.attributes){var n=m.attributes.scrollTop,p=m.attributes.scrollLeft,r=m.attributes.scrollTop= l===window?window.scrollY:l.scrollTop,t=m.attributes.scrollLeft=l===window?window.scrollX:l.scrollLeft;if(n!==r||p!==t)m={id:m.id,attributes:{}},n!==r&&(m.attributes.scrollTop={value:r,va:n,we:r-n}),p!==t&&(m.attributes.scrollLeft={value:t,va:p,we:t-p}),b({hg:m})}})}),h=Yy(d,function(){e(function(){var l=Vy(!0);l=_.z(l);for(var m=l.next();!m.done;m=l.next())b({hg:m.value})})});d=oba({emit:b,Uj:e,Ky:function(l){c(l)}});a=d.track;d=d.mn;window.addEventListener("scroll",function(){return g(window)}); window.addEventListener("resize",function(){return h(window)});return{fp:f,track:a,mn:d,snapshot:function(){e(function(){var l=Vy(!1);b({lu:l})})},Ry:g}};Yy=function(a,b){var c=new _.Lu(b,a);return function(d){return void c.Ae(d)}};sba=function(a){var b;return function(c){b||(b=a(c));return b}};Zy=function(a){this.layer=a};$y=function(a){return a.layer!==void 0?a.layer:a.parent?$y(a.parent):a.layer=0};az=function(a,b){var c=_.Kx.get(a)||{Me:b};c.Me=b;_.Kx.set(a,c);a.getScreenLayer=function(){return $y(c.Me)}}; bz=function(a){var b;a=a.parentNode;for(var c;a&&((b=_.Kx.get(a))==null||!b.Qx)&&!((c=a.Jm)!=null?c:a).LI;)a=a.parentNode||a.host;if(b=a)return _.Kx.get(b)};_.cz=function(a){if(a){_.Kx.delete(a);var b=_.yp().resolve(_.Lx);_.Ex(a,b)}};_.ez=function(a,b,c){if(c===void 0?0:c){if(c=a.getAttribute("client-ve-type"),b.data&&!b.NH||c)_.gw(function(){var d=_.hw(b.data);dz(a,d);Ty(a,b,d)},"a"),_.Mv(function(){return void _.cz(a)})}else typeof b.data!=="function"&&(c=b.data,dz(a,c),Ty(a,b,c))}; dz=function(a,b){tba++;fz(a,b)&&_.vg.Fa(function(){_.Ow(function(){if(fz(a,b)&&a.ownerDocument.documentElement===document.documentElement&&a){var c;if(a.getAttribute("layer")){var d=c=Number(a.getAttribute("layer")),e=_.Kx.get(a);e?e.Me.layer=d:az(a,new Zy(d));if(d=bz(a)){var f;(f=_.Kx.get(a))==null||f.Me.setParent(d.Me)}}else(c=_.Kx.get(a))?c=$y(c.Me):(c=$y,f=new Zy,(d=bz(a))&&f.setParent(d.Me),az(a,f),c=c(f));c!=null||(c=0);f=a.getAttribute("client-ve-type");d=Number(f);f=e=!1;var g=_.Kx.get(a), h;if((h=g)&&!(h=g[_.Jx]!==b)&&(h=d)){var l;h=((l=_.Kx.get(a))==null?void 0:l.bd)===void 0}h&&(g[_.Jx]=b,e=f=g.Qx=!0);_.Kx.has(a)&&(_.Kx.get(a).bd=d);a.visualElement&&(f=!0);if(_.C("wiz_next_ld_fix_client_ve_spec")){var m;l=((m=_.F(b==null?void 0:b.rendererContext,_.vw))==null?void 0:m.loggingDirectives)||(b==null?void 0:b.loggingDirectives)}else l=b==null?void 0:b.loggingDirectives;_.C("wiz_next_client_ve_parent_fix")?l&&(l.clientVeSpec||l.trackingParams)&&(m=(m=_.px(a))?_.Yx(m):null,m=$x(_.yx(), l,m||void 0,c))&&(a.visualElement=m):l&&l.clientVeSpec&&(m=_.Yx(a),m=$x(_.yx(),l,m||void 0,c))&&(a.visualElement=m);!a.visualElement&&d&&e&&(a.veType=d,m=void 0,_.C("wiz_next_client_ve_parent_fix")&&(l=_.px(a))&&(m=_.Yx(l)),m=_.Ax(_.yx(),a,m,c),a.visualElement=m);f&&(m=_.yp().resolve(_.Lx),_.Hx(a,{data:b,observer:m,layer:c,eb:{Vb:!1,state:"visible"},Lc:{Vb:!1,state:"hidden"}}));_.C("web_attention_logging_enabled")&&uba().track(a)}},0)},8)}; fz=function(a,b){return(b==null?0:b.trackingParams)||(b==null?0:b.loggingDirectives)||_.F(b==null?void 0:b.rendererContext,_.vw)||a.getAttribute("client-ve-type")?!0:!1};$aa=/^https?$/i;vba=["POST","PUT"];zy=[];_.lb(Xx,_.qg);_.k=Xx.prototype;_.k.Iu=function(){this.dispose();_.ac(zy,this)}; _.k.send=function(a,b,c,d){if(this.qa)throw Error("fb`"+this.ka+"`"+a);b=b?b.toUpperCase():"GET";this.ka=a;this.B="";this.ea=!1;this.j=!0;this.qa=new XMLHttpRequest;this.qa.onreadystatechange=(0,_.Rh)((0,_.fb)(this.Eq,this));try{this.ha=!0,this.qa.open(b,String(a),!0),this.ha=!1}catch(g){Tx(this,g);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=_.z(d.keys());for(var f= e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("gb`"+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()});e=_.Sa.FormData&&a instanceof _.Sa.FormData;!_.Zb(vba,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=_.z(c);for(d=b.next();!d.done;d=b.next())c=_.z(d.value),d=c.next().value,c=c.next().value,this.qa.setRequestHeader(d,c);this.Ba&&(this.qa.responseType=this.Ba);"withCredentials"in this.qa&&this.qa.withCredentials!== this.sa&&(this.qa.withCredentials=this.sa);try{this.D&&(clearTimeout(this.D),this.D=null),this.W>0&&(this.D=setTimeout(this.VA.bind(this),this.W)),this.I=!0,this.qa.send(a),this.I=!1}catch(g){Tx(this,g)}};_.k.VA=function(){typeof _.cs!="undefined"&&this.qa&&(this.B="Timed out after "+this.W+"ms, aborting",this.dispatchEvent("timeout"),this.abort(8))};_.k.abort=function(){this.qa&&this.j&&(this.j=!1,this.v=!0,this.qa.abort(),this.v=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Sx(this))}; _.k.na=function(){this.qa&&(this.j&&(this.j=!1,this.v=!0,this.qa.abort(),this.v=!1),Sx(this,!0));Xx.Ib.na.call(this)};_.k.Eq=function(){this.ia()||(this.ha||this.I||this.v?Wx(this):this.Sy())};_.k.Sy=function(){Wx(this)};_.k.isActive=function(){return!!this.qa};_.k.isComplete=function(){return(this.qa?this.qa.readyState:0)==4};_.k.getLastError=function(){return typeof this.B==="string"?this.B:String(this.B)};_.k=oy.prototype; _.k.add=function(a,b){py(this);this.v=null;a=qy(this,a);var c=this.j.get(a);c||this.j.set(a,c=[]);c.push(b);this.o+=1;return this};_.k.remove=function(a){py(this);a=qy(this,a);return this.j.has(a)?(this.v=null,this.o-=this.j.get(a).length,this.j.delete(a)):!1};_.k.clear=function(){this.j=this.v=null;this.o=0};_.k.isEmpty=function(){py(this);return this.o==0};_.k.forEach=function(a,b){py(this);this.j.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)}; _.k.kd=function(){py(this);for(var a=Array.from(this.j.values()),b=Array.from(this.j.keys()),c=[],d=0;d0?String(a[0]):b};_.k.toString=function(){if(this.v)return this.v;if(!this.j)return"";for(var a=[],b=Array.from(this.j.keys()),c=0;c1||f.length== 1&&f[0]!="")&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.j=d:c=a.K.toString()!=="";c?xy(b,a.K.clone()):c=!!a.v;c&&(b.v=a.v);return b};_.uy.prototype.clone=function(){return new _.uy(this)};_.lb(_.yy,_.qg);_.k=_.yy.prototype;_.k.enabled=!1;_.k.rc=null;_.k.setInterval=function(a){this.v=a;this.rc&&this.enabled?(this.stop(),this.start()):this.rc&&this.stop()}; _.k.SA=function(){if(this.enabled){var a=_.hb()-this.D;a>0&&a-1&&(g=setTimeout(function(){_.kr(new _.ol("Module timeout.",c,f,document.hidden))},h));return Zaa(d.then(function(){return a.map(function(l){return Sy(b, b.mappings.get(l.toString()),l)})}).xg(function(l){for(var m=_.z(b.j),n=m.next();!n.done;n=m.next())n=n.value,n(l);throw l;}),function(){clearTimeout(g)})};Ry.prototype.onLoadError=function(a){var b=this;this.j.add(a);return function(){b.j.delete(a)}};_.oz=new Ry;_.pz=new _.pp("ASYNC_INNERTUBE_TRANSPORT_TOKEN");_.qz=new _.pp("INNERTUBE_TRANSPORT_TOKEN");var pba=1;var rz={fp:function(){var a=_.Na.apply(0,arguments),b=a[a.length-1];b=b&&Dy(b.schedule)?a.pop():void 0;var c;b?c=mba(a,b):c=nba(a);return c}(),track:function(){},mn:function(){},snapshot:function(){},Ry:function(){}};var uba=sba(function(a){if(!(_.C("web_attention_logging_enabled")||a!=null&&a.UH))return rz;try{var b,c=rba({lr:(b=a==null?void 0:a.lr)!=null?b:_.Lk("web_attention_logging_scroll_throttle",500),Uj:function(e){return _.vg.Fa(e,8)}}),d;((d=a==null?void 0:a.WH)!=null?d:_.C("web_attention_logging_export_to_gel"))&&hba(c);return c}catch(e){return rz}});Zy.prototype.setParent=function(a){this.parent=a};var tba=0; }catch(e){_._DumpException(e)} try{ _.Aba=_.xa(["data-"]);_.Bba="player_uid_"+(Math.random()*1E9>>>0); }catch(e){_._DumpException(e)} try{ var rP,vP,wP,sP;_.pP=function(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.qP=function(){if(!_.dl.isEnabled())return!1;if(!_.dl.isEmpty())return!0;_.dl.set("TESTCOOKIESENABLED","1",{vj:60});if(_.dl.get("TESTCOOKIESENABLED")!=="1")return!1;_.dl.remove("TESTCOOKIESENABLED");return!0};rP=function(){this.j=_.B("ALT_PREF_COOKIE_NAME","PREF");this.o=_.B("ALT_PREF_COOKIE_DOMAIN","youtube.com");var a=_.dl.get(this.j,void 0);a&&this.parse(a)}; _.tP=function(a){return!!((sP("f"+(Math.floor(a/31)+1))||0)&1<=0?b.setProperty(e,f):b[e]=f}}};Eba=function(a,b,c){var d=typeof c;d==="object"||d==="function"?a[b]=c:_.Bz(a,b,c)};Dz=function(){var a=new Az;a[_.Cz.default]=Eba;a.style=Dba;return a};Fba=function(a){this.created=[];this.deleted=[];this.node=a};Ez=function(a,b,c,d,e){return b==c&&d==e}; _.Iz=function(a){for(var b=_.Fz,c=_.Gz();c!==a;){var d=c.nextSibling;b.removeChild(c);_.Hz.deleted.push(c);c=d}};_.Gz=function(){return _.Jz?_.Jz.nextSibling:_.Fz.firstChild}; Pz=function(a,b){b=b===void 0?{}:b;var c=b.matches===void 0?Ez:b.matches;return function(d,e,f){var g=_.Hz,h=_.Kz,l=_.Lz,m=_.Mz,n=_.Jz,p=_.Fz,r=_.Nz;_.Kz=d.ownerDocument;_.Hz=new Fba(d);_.Nz=c;_.Mz=[];_.Jz=null;var t=_.Fz=d.parentNode,u,v=Gba.call(d);if((u=v.nodeType===11||v.nodeType===9?v.activeElement:null)&&d.contains(u)){for(v=[];u!==t;)v.push(u),u=u.parentNode||(t?u.host:null);t=v}else t=[];_.Lz=t;try{return a(d,e,f)}finally{d=_.Hz,_.Oz&&d.deleted.length>0&&(0,_.Oz)(d.deleted),_.Kz=h,_.Hz=g, _.Nz=r,_.Mz=m,_.Jz=n,_.Fz=p,_.Lz=l}}};_.Rz=function(a){return(0,_.$s)(a)&&_.Qz in a};_.Sz=function(a){return _.Rz(a)?a[_.Qz].Be:a};_.Tz=function(a,b){var c=_.Na.apply(2,arguments),d;b=(d=b)!=null?d:{};d={};return d.type=a,d.props=b,d.children=c,d[_.nw]=!0,d};_.Uz=function(a){if(Array.isArray(a)){for(var b=0;b":"."+a.className+">")),_.C("ytwiz_enable_debug_component_props")&&(a.debugProps||(a.debugProps=uz(b,function(e){return function(){return e()}})),b.data===void 0||"data"in a&&!a.isWebComponentWrapper||Object.defineProperty(a.debugProps,"data",{get:function(){return _.hw(b.data)},set:function(e){var f;d==null||(f=d.data)==null||f.call(d,e)},enumerable:!0,configurable:!0})))}; _.kA=function(a,b){if(a.length===0&&(b==null||!b.initial))return dA(a,{debugName:b==null?void 0:b.debugName},"g");var c=_.z(dA({source:function(){return a()},Mg:function(f,g){return(g==null?0:g.value)?a(g.value):(b==null?0:b.initial)?a(b.initial):f}},{debugName:b==null?void 0:b.debugName},"h")),d=c.next().value,e=c.next().value;c=c.next().value;return[d,e,c]}; _.H=function(a,b){function c(d){return _.iA("ytComponent",{},function(e){var f=lA={};var g;if(((g=c)==null?0:g.idomCompat)&&d.Tm){var h;g=typeof c.idomCompat==="object"?(h=c)==null?void 0:h.idomCompat.callbacks:{};g=_.z(Lba(d,g));h=g.next().value;var l=g.next().value;g=g.next().value;var m=mA(a,h);f.uz=m;lA=void 0;jA(m,h,c,l);e.pe({debugName:c.debugName});e=_.Sz(m);e=Array.isArray(e)?e[0]:e;e[_.nA]||(e[_.nA]={});e[_.nA].kB=g;_.zz(h,m);return m}g=uz(d,Mba);h=mA(a,g);jA(h,g,c);f.uz=h;lA=void 0;e.pe({debugName:c.debugName}); _.zz(g,h);return h})}c.debugName=b===void 0?"":b;return c};mA=function(a,b){a=a(b);return _.Uz(a)};Nba=function(a,b){a[b]||(a=new _.ol("IDOM interop setter undefined. Key:",b),_.jr(a))};Mba=function(a,b){return b==="children"||b==="ref"||typeof a==="function"||a===void 0?a:function(){return _.hw(a)}};_.oA=function(a,b){return function(){var c;return(c=_.hw(a))!=null?c:b}};_.pA=function(a,b){var c=Object.assign({},a),d;for(d in b)b.hasOwnProperty(d)&&(c[d]=_.oA(a[d],b[d]));return c}; Lba=function(a,b){var c={},d={},e={},f={},g;for(g in a){f={Sa:f.Sa};f.Sa=g;var h=a[f.Sa];if(f.Sa==="children"||f.Sa==="ref")c[f.Sa]=h;else if(typeof h==="function")if(f.Sa in b||h.length>0)e[f.Sa]=h,c[f.Sa]=function(m){return function(){return e[m.Sa].apply(e,_.va(_.Na.apply(0,arguments)))}}(f);else if(f.Sa==="data"){var l=_.z(_.kA(h,{debugName:f.Sa+":cwis"}));h=l.next().value;l=l.next().value;c[f.Sa]=h;d[f.Sa]=l}else c[f.Sa]=h;else a[f.Sa]===void 0&&f.Sa in b||(l=_.z(_.Nv(a[f.Sa],{debugName:f.Sa+ ":cwis"},"k10dve")),h=l.next().value,l=l.next().value,c[f.Sa]=h,d[f.Sa]=l)}return[c,d,function(m){var n={},p;for(p in m)n={jc:n.jc,cf:void 0},n.jc=p,n.cf=m[n.jc],n.jc!=="children"&&n.jc!=="ref"&&(typeof n.cf==="function"?n.jc in b?e[n.jc]=n.cf:n.cf.length>0&&(e[n.jc]=n.cf,_.kr(new _.ol("Callback detected that was not set in the idomCompat callbacks map. Key:",n.jc))):n.jc in b&&n.cf===void 0||(Nba(d,n.jc),_.cA(function(r){return function(){d[r.jc](r.cf)}}(n))))}]}; _.Wz={eH:function(){},uJ:function(){},lH:function(){},ro:function(){},fH:function(){},Ei:function(){},xf:function(){},xe:function(){},Fi:function(){}};_.Ku.prototype.j=function(){return this.content};_.Ku.prototype.toString=function(){return this.content};try{var rA,sA,tA=(sA=(rA=window)==null?void 0:rA.top)!=null?sA:_.Sa;tA.U3bHHf!=null||(tA.U3bHHf=0);tA.U3bHHf++}catch(a){_.Sa.U3bHHf!=null||(_.Sa.U3bHHf=0),_.Sa.U3bHHf++};_.uA=new Set("allowfullscreen allowtransparency async autofocus autoplay checked controls default defer disabled disableremoteplayback formnovalidate hidden inert ismap itemscope jsshadow jsslot loop multiple muted nomodule novalidate open playsinline readonly required reversed scoped seamless selected sortable typemustmatch".split(" "));_.Oba=new Set(["contenteditable","draggable","spellcheck"]);_.Pba=new Set("a altGlyph altGlyphDef altGlyphItem animate animateColor animateMotion animateTransform circle clipPath color-profile cursor defs desc ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter font font-face font-face-format font-face-name font-face-src font-face-uri foreignObject g glyph glyphRef hkern image line linearGradient marker mask metadata missing-glyph mpath path pattern polygon polyline radialGradient rect script set stop style svg switch symbol text textPath title tref tspan use view vkern".split(" ")); _.Qba=new Set(["a","font","script","style","title"]);_.Cz={default:"__default"};var Cba=Object.prototype.hasOwnProperty;Az.prototype=Object.create(null);_.vA=Dz();_.Oz=null;var Gba=typeof Node!=="undefined"&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};_.Hz=null;_.Jz=null;_.Fz=null;_.Kz=null;_.Lz=[];_.Nz=Ez;_.Mz=[];_.wA=function(a){return Pz(function(b,c,d){_.Fz=_.Jz=b;_.Jz=null;c(d);_.Iz(null);_.Jz=_.Fz;_.Fz=_.Fz.parentNode;return b},a)}();_.Rba=function(a){return Pz(function(b,c,d){var e={nextSibling:b};_.Jz=e;c(d);_.Fz&&_.Iz(b.nextSibling);return e===_.Jz?null:_.Jz},a)}();_.xA=new Az;RegExp.prototype.hasOwnProperty("sticky");/* Copyright 2017 Google LLC SPDX-License-Identifier: BSD-3-Clause */ var Sba,yA;Sba=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;yA={};_.Tba=(yA[1]=null,yA[2]=function(a,b){return b instanceof _.Kb?_.tz(b):_.js.toString()},yA[3]=function(a,b){return _.Db(b)?_.Eb(b):Sba.test(String(b))?String(b):_.js.toString()},yA[4]=function(a,b){return b instanceof _.xb?_.zb(b):_.js.toString()},yA[5]=function(a,b){return String(b)},yA[7]=null,yA[8]=null,yA[10]=null,yA);_.Uba=Symbol("Xb");var zA;zA=Dz();_.Vba=zA[_.Cz.default];_.Wba=zA.style;_.Qz=Symbol("bc");_.bA=_.Tz;_.nA=Symbol("cc");_.Xba=_.Uu("WizInjectionContext_ModelRootElement");_.Yba=_.Uu("WizInjectionContext_RendererData");_.Zba=_.Uu("WizInjectionContext_InjectingConstructor");_.AA=_.Uu("WizInjectionContext_AppContext");_.BA=_.Uu("WizInjectionContext_Dispatcher");_.$ba=_.Uu("WizInjectionContext_RootElement");_.aca=_.Uu("WizInjectionContext_AsyncDeps");_.bca=_.Uu("WizInjectionContext_ObjectCreationTracker");_.CA=null;_.DA=Symbol("lc");var aA=[];_.nv=function(a){throw _.Lv(Error("nb`"+a.debugName));};(function(){var a=_.Oz;_.Oz=function(b){a==null||a(b);Hba(b)}})();var hA,Jba;fA.prototype.end=function(a,b){a=a===void 0?"SPAN_STATUS_OK":a;this.endTime=b=b===void 0?(0,_.Dm)():b;this.duration=this.endTime-this.startTime;this.status=a;this.j!==!1&&(_.eA.stack[_.eA.stack.length-1]===this?_.eA.stack.pop():_.kr(Error("mc`"+String(this.name))));a=_.z(_.eA.processors);for(b=a.next();!b.done;b=a.next()){b=b.value;try{var c=void 0,d=void 0;(d=(c=b).Hq)==null||d.call(c,this)}catch(e){_.kr(e)}}};fA.prototype.pe=function(a){Object.assign(this.attributes,a)}; hA={end:function(){},pe:function(){}};_.eA={Mc:!1,Ey:0,stack:[],sessionId:"",Yg:void 0,processors:[],Wh:function(){return!0}};Jba={Mz:function(){return _.eA.stack[0]}};var lA=void 0; }catch(e){_._DumpException(e)} try{ var GA,IA,cca,dca,fca,gca,SA,UA,VA,$A,aB,bB,cB,dB,hca,jca,lca,kB,nca,oca,mB,nB,oB,pB,qB,pca,qca,xB,zB,uB,CB,BB,rca,sca,tca,QA,eca,kca,ica,mca;_.EA=function(a,b){if(a.nodeType===1&&/^(script|style)$/i.test(a.tagName))throw Error("z");a.innerHTML=_.tz(b)};_.FA=function(a){return a==null||typeof a==="string"?a:void 0};GA=function(a){this.Z=_.Qd(a)};IA=function(a){if(!a)return null;a=_.FA(_.Du(a,2,void 0,_.HA));return a===null||a===void 0?null:_.Lb(a)}; _.JA=function(){var a=_.Pu;if(!a)throw Error("jb");return a};_.Vz=function(){this.zk=null};_.Yz=function(a){this.props=a;this.v=!1};cca=function(a){var b={};a=(b[_.yv]=!0,b.debugName=a,b);!_.Pu||_.vv(a);return a};_.KA=function(a,b,c){var d=_.wz(a);_.Dv={name:c?d+" ("+c+")":d,gj:a.componentType!==_.mw,parent:_.Dv};a=b();_.Dv=_.Dv.parent;return a};_.LA=function(a){_.Zv--;if(a){a=_.z(_.Laa);for(var b=a.next();!b.done;b=a.next())b.value.clear()}else _.Zv>0||_.Vv.isFlushing&&!_.Bv.Li||_.aw()};_.MA=function(){}; _.NA=function(){};_.OA=function(){};_.PA=function(){if(typeof GA==="function")var a=GA;else if(typeof GA==="object")a=GA.constructor;else throw Error(void 0);return _.rd(function(b){return b instanceof a})};dca=function(a){function b(d,e,f){for(var g=Math.min(e.length-f,d.length),h=0;h=0;d--)c.removeChild(a[d])}else c.textContent="",c.appendChild(b);return b}; cB=function(a,b){if(a[0].parentElement)for(var c=a[0].parentElement,d=b.length,e=a.length,f=d,g=0,h=0,l=a[e-1].nextSibling,m=null;gn-h)for(p=a[g];h0&&a.includes("-")&&!ica.includes(a.toLowerCase())}; _.fB=function(a,b,c){if(typeof c==="boolean"&&_.Oba.has(b))_.Bz(a,b,String(c));else if(c===!1&&_.uA.has(b))_.Bz(a,b,null);else if(b!=="idomKey"&&b!=="skip"&&b!=="skipchildren"&&b!=="children"&&b!=="el")if(b.startsWith("on")){if(b[2]!==":")throw _.Lv(Error("Vb`"+b),a.tagName);if(c===void 0||c===null){var d;(d=_.Bv.handleError)==null||d.call.apply(d,[_.Bv].concat(_.va(_.yz(Error("Yb`"+b),a.tagName))));a[b]=void 0}else{var e=b.slice(3);d=_.xz();if(e==="jsaction"){c=Array.isArray(c)?c:[c];c=_.z(c);for(var f= c.next();!f.done;f=c.next()){f=f.value;if(typeof f!=="object"||f===null||typeof f.Vm!=="function")throw Error("ac`"+b);f.Vm(0,a,d?_.Mv:function(){})}}else if(hca(b,c),c.Vm)c.Vm(0,a,e,d?_.Mv:function(){});else if(d&&a["on"+e]===void 0){var g=c.xl(0);a.addEventListener(e,g);_.Mv(function(){return void a.removeEventListener(e,g)})}else if(d||!kca.includes(e))a["on"+e]=c.xl(0)}}else{if(b.startsWith("data-")&&typeof c==="string")try{c=dca(c)}catch(h){c="zSoyz"}typeof c!=="function"||a._disposeEffects!= null?((d=b.startsWith("prop:"))&&(b=b.slice(5)),_.Bv.sv&&(d&&jca(a.tagName)||(c=gca(a.tagName,b,c))),b==="style"?(0,_.Wba)(a,b,c):d?a[b]=c:(0,_.Vba)(a,b,c)):(a._signalProps||(a._signalProps=[]),a._signalValues||(a._signalValues=[]),a._signalProps.push(b))}};_.gB=function(a,b){var c={};(b===void 0||b)&&_.vv(c);b=_.Qu(c);try{a(c)}finally{_.Qu(b)}return function(){return void _.wv(c)}};_.hB=function(a){return a.children}; lca=function(){var a=_.JA(),b=_.Tu(a,_.AA);if(!_.Su(b))return b;a=_.Tu(a,_.BA);if(!_.Su(a))return a.hw()};_.iB=function(a){var b;return((b=mca.QH)!=null?b:a).__wizdispatcher};_.jB=function(a,b){b==null&&(b=_.iB(document).mI());b.get(_.Fu).o.dispatchEvent(new _.Eu(_.Gu,a,_.WA))};kB=function(a){return"("+typeof a+") "+(a!=null&&typeof a==="object"?a.constructor.name:typeof a)+" "+a}; nca=function(a){if(Array.isArray(a)){if(a.length>1)throw _.Lv(Error("ec`"+a.length+"`"+a.map(kB).join(", ")),"SCRIPT");a=a[0]}if(a==null)return null;if(!(a instanceof _.Ob)){var b,c;if((b=window)==null?0:(c=b.trustedTypes)==null?0:c.isScript(a))throw Error("dc");if(String(a).trim().length===0)return null;throw Error("fc`"+kB(a));}return a};oca=function(a,b){b=nca(b);b!==null&&_.Sb(a,b)}; _.lB=function(a){if(Array.isArray(a)){if(a.length>1)throw _.Lv(Error("gc`"+a.length+"`"+a.map(kB).join(", ")),"STYLE");a=a[0]}if(a==null||String(a).trim().length===0)return null;throw Error("hc`"+kB(a));};mB=function(){};nB=function(){return null};oB=function(a,b){a.nodeType===Node.TEXT_NODE?a.textContent!==String(b)&&(a.textContent=String(b)):a=aB(a,VA(b));return a};pB=function(a,b){Array.isArray(a)?a.push(b):a.appendChild(b);return a}; _.Zz=function(a,b){_.Yz.call(this,a);var c=this;this.o=b;this.Qf=[];this.B=0;this.D=_.gB(function(d){c.Zk=d;_.Mv(function(){_.Xz(c,c.el)})},_.Bv.mi||!!_.Pu)};qB=function(a,b){_.gw(function(){for(var c=a._signalProps,d=a._signalValues,e=0;e0&&(b.children=c.length===1?c[0]:c);if(a.componentType===_.mw){var f;SA(function(){var g=b;if(a.componentType!==_.mw)f=!1;else{g||(g={});var h=new _.Zz(g,a),l=_.av(_.uw);try{var m=h.Cc(g)}finally{_.av(l)}m instanceof HTMLElement?(m.__instance=h,h.el=m,h.j=a,a.Vc=m.tagName.toLowerCase(),_.Wz.xf(h),f=m):f=m}},a.name);if(f)return f}return _.AB(a,b)},b.debugInstance);var d=pca(a, b),e;for(e in b)_.fB(d,e,b[e]);_.rB(d,b);_.yB(c,d);_.eB(d,b,{gj:!0});(0,_.OA)(d,b);return d};BB=function(a,b,c){this.zk=null;this.kind=a;this.props=b;this.children=c};rca=function(a){function b(){_.hv(c);_.ev(c);if(c.value===_.lw)throw c.error;return c.value}var c=Object.create(_.Gaa);c.Mg=a;b[_.ov]=c;return b};_.EB=function(a,b,c){c=c===void 0?"":c;var d=rca(a);a=d[_.ov];a.debugName=_.Vu(b==null?void 0:b.debugName,c,"[computed]");(b==null?void 0:b.equals)!=null&&(a.equal=b.equals);return d}; _.I=function(a){return sca(a)};sca=function(a){if(a.A===void 0){var b;return(b=a.X)==null?void 0:b.call(a)}if(typeof a.A!=="function"){b=a.then;var c=a.X,d=a.A;return d?b(d):c==null?void 0:c()}var e=a.A,f=_.EB(function(){return!!e()},void 0,"Ljylkc"),g=tca(e);return _.wB(function(){var h=f(),l;_.gB(function(){var m=_.av(_.uw);try{var n;l=_.Uz(h?a.then(g):(n=a.X)==null?void 0:n.call(a))}finally{_.av(m)}},!0);return l},{debugName:(c=a.debugInstance)!=null?c:"RlDudd",So:a.then,Je:!0})}; tca=function(a){return function(){var b=a();if(!b){var c;(c=_.Bv.handleError)==null||c.call.apply(c,[_.Bv].concat(_.va(_.yz(Error("sc")))))}return b}};_.HA={};_.WA={};_.x(GA,_.he);_.Yz.prototype.xf=function(){};_.Yz.prototype.Ei=function(){};_.Yz.prototype.xe=function(){};_.Yz.prototype.Fi=function(){}; QA={a:{href:[{ma:3}]},area:{href:[{ma:3}]},audio:{src:[{ma:3}]},button:{formaction:[{ma:3}],formmethod:[{ma:1}]},form:{action:[{ma:3}],method:[{ma:1}]},iframe:{srcdoc:[{ma:2}]},img:{src:[{ma:3}],srcset:[{ma:11}]},input:{accept:[{ma:1}],formaction:[{ma:3}],formmethod:[{ma:1}],pattern:[{ma:1}],readonly:[{ma:1}],src:[{ma:3}]},link:{href:[{ma:3,ib:"rel",nb:"alternate"},{ma:3,ib:"rel",nb:"author"},{ma:3,ib:"rel",nb:"bookmark"},{ma:3,ib:"rel",nb:"canonical"},{ma:3,ib:"rel",nb:"cite"},{ma:3,ib:"rel",nb:"help"}, {ma:3,ib:"rel",nb:"icon"},{ma:3,ib:"rel",nb:"license"},{ma:3,ib:"rel",nb:"next"},{ma:3,ib:"rel",nb:"prefetch"},{ma:3,ib:"rel",nb:"dns-prefetch"},{ma:3,ib:"rel",nb:"prerender"},{ma:3,ib:"rel",nb:"preconnect"},{ma:3,ib:"rel",nb:"preload"},{ma:3,ib:"rel",nb:"prev"},{ma:3,ib:"rel",nb:"search"},{ma:3,ib:"rel",nb:"subresource"}]},script:{defer:[{ma:1}]},source:{src:[{ma:3}],srcset:[{ma:11}]},textarea:{readonly:[{ma:1}]},video:{src:[{ma:3}]}}; eca={align:1,alt:1,"aria-activedescendant":10,"aria-atomic":1,"aria-autocomplete":1,"aria-busy":1,"aria-checked":1,"aria-controls":10,"aria-current":1,"aria-describedby":10,"aria-disabled":1,"aria-dropeffect":1,"aria-expanded":1,"aria-haspopup":1,"aria-hidden":1,"aria-invalid":1,"aria-label":1,"aria-labelledby":10,"aria-level":1,"aria-live":1,"aria-multiline":1,"aria-multiselectable":1,"aria-orientation":1,"aria-owns":10,"aria-posinset":1,"aria-pressed":1,"aria-readonly":1,"aria-relevant":1,"aria-required":1, "aria-selected":1,"aria-setsize":1,"aria-sort":1,"aria-valuemax":1,"aria-valuemin":1,"aria-valuenow":1,"aria-valuetext":1,async:8,autocapitalize:1,autocomplete:1,autocorrect:1,autofocus:1,autoplay:1,bgcolor:1,border:1,cellpadding:1,cellspacing:1,checked:1,cite:1,"class":1,color:1,cols:1,colspan:1,contenteditable:1,controls:1,controlslist:1,coords:1,crossorigin:1,datetime:1,dir:8,disabled:1,download:1,draggable:1,enctype:1,face:1,"for":10,formenctype:1,frameborder:1,height:1,hidden:1,href:4,hreflang:1, id:10,inert:1,ismap:1,itemid:1,itemprop:1,itemref:1,itemscope:1,itemtype:1,label:1,lang:1,list:10,loading:8,loop:1,max:1,maxlength:1,media:1,min:1,minlength:1,multiple:1,muted:1,name:10,nonce:1,open:1,placeholder:1,playsinline:1,poster:1,preload:1,rel:1,required:1,reversed:1,role:1,rows:1,rowspan:1,selected:1,shape:1,size:1,sizes:1,slot:1,span:1,spellcheck:1,src:4,srcset:12,start:1,step:1,style:5,summary:1,tabindex:1,target:8,title:1,translate:1,type:1,usemap:1,valign:1,value:1,width:1,wrap:1}; kca=["focusin","focusout"];ica="annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ");mca={};_.vB={YJ:mB,oK:mB,log:mB,bJ:nB,jy:nB,qI:function(a,b){b()}};_.x(_.Zz,_.Yz);_.Zz.prototype.Cc=function(a){var b=_.CA;_.CA=this;this.B=0;var c=_.av(_.uw),d=_.Qu(this.Zk);try{return this.o(a)}finally{_.Qu(d),_.av(c),_.CA=b}};_.oa.Object.defineProperties(_.Zz.prototype,{componentName:{configurable:!0,enumerable:!0,get:function(){return _.wz(this.o)}}}); _.x(BB,_.Vz);BB.prototype.Cc=function(){var a=CB(this.kind,this.props,this.children);if(this.zk!=null)for(var b=_.z(this.zk),c=b.next();!c.done;c=b.next())c=c.value,a=c(a);return a};Object.assign({},_.sw,{effectType:_.Uv,Xw:null,attributes:null,fn:function(){var a=this.Xw,b;var c=(b=a.element)!=null?b:a.element=a.document.getElementById(a.id);for(a=this.attributes;a;)b=a.signal(),b!==a.prevValue&&(a.prevValue=b,b!=null&&a.name==="class"&&c.namespaceURI!=="http://www.w3.org/2000/svg"?c.className=b:a.namespace===1?c[a.name]=b:_.uA.has(a.name)?_.Bz(c,a.name,b?"":null):_.Bz(c,a.name,b)),a=a.next}});Object.assign({},_.sw,{effectType:_.Uv});_.uca=Symbol("rc"); }catch(e){_._DumpException(e)} try{ var wca,VB,xca,YB;_.RB=function(){if(_.xz())throw Error("kc");return _.CA};wca=function(a){var b=null,c,d={get value(){var f,g;(g=(f=e).BK)==null||g.call(f);return e.Sn},set value(f){var g,h;(h=(g=e).CK)==null||h.call(g,f);e.Sn=f;e.St=!0}},e=(d.Sn=null,d.St=!1,d.YG=!1,d.Ty=function(f){if(c&&f!==c){c._disposeRef=void 0;var g;(g=b)==null||g()}c=f;b=a(f)||null},d.bz=function(){var f;(f=b)==null||f();b=e.value=null},d[_.Jaa]=!0,d);return e}; _.SB=function(a){var b=_.RB();if(b==null)throw Error("uc");var c=b.B++;b.Qf||(b.Qf=[]);var d=b.Qf;d[c]||(d[c]={key:a,host:b});if(a!==d[c].key){if(b.j){var e;a=(e=b.j)==null?void 0:e.name}else a="function"==typeof _.Zz&&b instanceof _.Zz?_.wz(b.o):"<"+b.el.tagName.toLowerCase()+">";throw Error("tc`"+a);}return d[c]};_.TB=function(a,b){return!a||a.length!==(b==null?void 0:b.length)||a.some(function(c,d){return c!==b[d]})}; _.UB=function(a){var b=[];if(_.xz())return a();var c=_.SB("useMemoInternal");_.TB(c.Xk,b)&&(c.Xk=b,c.value=a());return c.value};_.WB=function(a,b){return VB(a,!1,b)};_.XB=function(a,b){return VB(a,!0,b)};VB=function(a,b,c){return _.xz()?YB(a,b,c):xca(a,b,c)};xca=function(a,b,c){return _.UB(function(){return YB(a,b,c)})}; YB=function(a,b,c){var d=_.Pu,e=wca(function(f){e.value=f;var g=function(){var h=_.av(null);try{return c==null?void 0:c(f)}catch(l){_.ew(l,d)}finally{_.av(h)}}();return function(){g==null||g()}});e.XG=a;e.aH=b;e.EI=!_.xz();return e};_.ZB=Symbol("vc"); }catch(e){_._DumpException(e)} try{ var vca;_.QB=function(a,b){a=_.fw(vca,a,b);_.Yv(a)};vca=Object.assign({},_.rw,{effectType:_.Wv}); }catch(e){_._DumpException(e)} try{ var Nca,Oca,Qca,Pca;_.fD=function(a){return a};_.gD=function(a){return{isDefault:!0,children:a.children}};_.hD=function(a){return Nca(a)};Nca=function(a){var b=Oca(a),c=_.EB(function(){return Pca(b)},void 0,"H4YdAf"),d;return _.wB(function(){var e=c(),f;_.gB(function(){var g=_.av(_.uw);try{f=_.Uz(e())}finally{_.av(g)}});return f},{debugName:(d=a.debugInstance)!=null?d:"vI1rtf",Je:!0})};Oca=function(a){a=a.children;return Array.isArray(a)?a:[a]}; Qca=function(a){var b=a.props;a=a.children[0];return b.when?{when:b.when,children:a}:{isDefault:!0,children:a}};Pca=function(a){function b(){return null}a=_.z(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c!=null&&c[_.nw]&&(c=c.type===_.gD?{isDefault:!0,children:c.children[0]}:{when:c.props.when,children:c.children[0]}),c instanceof _.Vz&&(c=Qca(c)),c.isDefault)b=c.children;else if(_.hw(c.when))return c.children;return b};_.fD.debugName="tbhMcf";_.gD.debugName="zyMFzb"; }catch(e){_._DumpException(e)} try{ _.iD=function(a){if(a=a.match(Rca))return{iconName:a[2],Rw:a[1].toUpperCase()==="FILL",iconSize:Number(a[3])}};_.kD=new _.pp("ICON_WIZ_COMPONENT_TOKEN");var Rca;Rca=/^YTICON_(fill|outline)_([a-zA-Z0-9_]+)_s([0-9]+)$/i; _.lD=_.H(function(a){function b(){var L,J;return(J=f==null?void 0:f())!=null?J:(L=S())==null?void 0:L.Rw}function c(){var L,J;return(J=E==null?void 0:E())!=null?J:(L=S())==null?void 0:L.iconSize}function d(){var L,J;return(J=(L=S())==null?void 0:L.iconName)!=null?J:e==null?void 0:e()}var e=a.icon;var f=a.active;var g=a.className;var h=a.style;var l=a.Ro;var m=a.ue;var n=a.role;var p=a.se;var r=a.Dc;var t=a.ariaHidden;var u=a.ariaExpanded;var v=a.ariaLabel;var w=a.tabindex;var y=a.id;var E=a.size; var D=a.Sf;var N=a.zp;var M=a.Dq;var R=a.title;var S=_.EB(function(){var L=e==null?void 0:e();if(L)return _.iD(L)},void 0,"M0i5vf");return _.G(_.I,{A:e,then:function(){var L=_.yp().resolve(_.kD);return _.G(L,{icon:d,Ro:l,ue:m,se:p,Dc:r,ariaExpanded:u,tabindex:w,id:y,active:b,size:c,role:n,className:g,ariaHidden:t,ariaLabel:v,style:function(){return(h==null?0:h())||!c()?h==null?void 0:h():"width: "+c()+"px;height: "+(c()+"px;")},title:R,Sf:D,zp:N,Dq:M})}})},"o");_.lD.idomCompat={callbacks:{Dq:!0}}; }catch(e){_._DumpException(e)} try{ _.mD=function(a){a=[(a&16711680)>>>16,(a&65280)>>>8,a&255,(a&4278190080)>>>24];if(!_.ys(a,function(b){return b===(b&255)}))throw Error("zc`"+a.join(","));return"rgba("+a[0]+","+a[1]+","+a[2]+","+(a[3]/255).toFixed(3)+")"}; }catch(e){_._DumpException(e)} try{ _.nD=function(a,b){a=[(a&16711680)>>>16,(a&65280)>>>8,a&255];return"rgba("+a[0]+", "+a[1]+", "+a[2]+", "+b+")"};_.oD=function(a){return(a&4278190080)>>>24===0?_.nD(a,"1"):_.mD(a)}; }catch(e){_._DumpException(e)} try{ var pD;_.qD=function(a){if(a.sources){a=_.z(a.sources);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;if((c=b.clientResource)==null?0:c.imageName)return b;if(b.customImageSource){var d=c=void 0;if((c=_.F(b.customImageSource,pD))==null?0:(d=c.clientResource)==null?0:d.icon)return b}}}}; _.rD=function(a){var b;if(a==null?0:(b=a.clientResource)==null?0:b.imageName){var c,d=(c=a.clientResource)==null?void 0:c.imageName;a:{switch(d){case "yt_premium_wordmark_header_light":case "yt_premium_wordmark_header_dark":c="YOUTUBE_PREMIUM_LOGO_SHORT";break a;case "yt_wordmark_header_light":case "yt_wordmark_header_dark":c="LOGO_WITH_TEXT";break a}c=void 0}return c||Sca.get(d)||d}if(a==null?0:a.customImageSource){var e;if(c=(d=_.F(a.customImageSource,pD))==null?void 0:(e=d.clientResource)==null? void 0:e.icon)return c}};pD=new _.dk("youtubeIconSource");_.Tca=new _.dk("borderImageProcessor");_.sD=window.devicePixelRatio||1;var Sca=new Map([["yt_outline_bag_black_24","bag"]]); }catch(e){_._DumpException(e)} try{ var uD,vD,Uca,Vca,Wca,Xca,Yca,Zca,bda,cda,dda,eda,fda,hda,gda;_.tD=function(a){return new _.Vg(function(b,c){c(a)})};uD=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""};vD=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)};_.wD=function(a,b){return a.classList?a.classList.contains(b):_.Zb(a.classList?a.classList:uD(a).match(/\S+/g)||[],b)}; _.xD=function(a,b){if(a.classList)a.classList.add(b);else if(!_.wD(a,b)){var c=uD(a);vD(a,c+(c.length>0?" "+b:b))}};_.yD=function(a,b){a.classList?a.classList.remove(b):_.wD(a,b)&&vD(a,Array.prototype.filter.call(a.classList?a.classList:uD(a).match(/\S+/g)||[],function(c){return c!=b}).join(" "))};Uca=function(a){var b=a.thumbnails;if(b){a={sources:[]};b=_.z(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d={};d.url=c.url;d.width=c.width;d.height=c.height;a.sources.push(d)}return a}}; Vca=function(a){var b={};a=_.F(a.processor,_.Tca);var c=(a=a==null?void 0:(c=a.imageTint)==null?void 0:c.color)?_.mD(a):void 0;c&&(b.color=c);return b};Wca=function(a){var b;if((b=a.clientResource)!=null&&b.imageColor)return _.mD(a.clientResource.imageColor)};Xca=function(a,b,c){c=c?[c]:[];a.opacity&&c.push("opacity: "+a.opacity+";");b&&a.placeholderColor?(a=_.mD(a.placeholderColor),c.push("background-color: "+a+";")):c.push("background-color: transparent;");return c.join(" ")}; Yca=function(a,b,c,d,e){var f=["ytCoreImageHost"];b&&f.push(b);c||f.push("ytCoreImageFillParentHeight");d||f.push("ytCoreImageFillParentWidth");switch(a.contentMode){case "CONTENT_MODE_SCALE_ASPECT_FIT":f.push("ytCoreImageContentModeScaleAspectFit");break;case "CONTENT_MODE_SCALE_ASPECT_FILL":f.push("ytCoreImageContentModeScaleAspectFill");break;case "CONTENT_MODE_CENTER":f.push("ytCoreImageContentModeCenter");break;default:f.push("ytCoreImageContentModeScaleToFill")}a.flipForRtlLayout&&f.push("ytCoreImageFlipRtl"); switch(e){case "TOP_START":var g;f.push(((g=document.body)==null?void 0:g.getAttribute("dir"))==="rtl"?"ytCoreImageObjectPositionTopRight":"ytCoreImageObjectPositionTopLeft")}return f.join(" ")};_.zD=function(a){_.vg.Fa(function(){try{a()}catch(b){_.tD(b)}},8)}; _.AD=function(a,b){var c=this;this.margin=a;this.B=b;this.j=[];this.v=!1;window.addEventListener("touchmove",function(){c.o()});window.addEventListener("touchend",function(){c.o()});window.addEventListener("updateui",function(){c.o()});var d=new _.Lu((0,_.fb)(this.o,this),100);window.addEventListener("scroll",function(){d.Ae()},!0);window.addEventListener("resize",(0,_.fb)(this.o,this));window.addEventListener("state-navigatestart",function(){c.j=[]});window.addEventListener("state-navigateend",(0,_.fb)(this.o, this))};Zca=function(a){var b=(1+a.margin)*(document.documentElement.clientHeight||window.innerHeight);a.j=a.j.filter(function(c){var d=c.getBoundingClientRect();(d=b>d.top&&!!d.height)&&a.B(c);return!d&&c.parentNode});a.v=!1};_.BD=function(){return window.matchMedia&&window.matchMedia("(orientation: landscape)").matches};_.CD=function(a){if("matchMedia"in window)return window.matchMedia(a.landscape+","+a.portrait).matches}; _.GD=function(){if(DD===void 0){var a=_.CD($ca);DD=a!==void 0?a:_.ED>=930&&FD>=550||_.ED>=550&&FD>=930}return DD};bda=function(a,b){a.wm=b;ada.observe(a)}; cda=function(){var a={rootMargin:"10%",threshold:.01};_.C("mweb_enable_set_io_root_to_null_safari")?a.root=null:_.C("mweb_enable_set_io_root_to_body_safari")&&(a.root=document.body);return new IntersectionObserver(function(b,c){b.filter(function(d){return d.intersectionRect.height>0}).forEach(function(d){d=d.target;var e;(e=d.wm)==null||e.call(d);c.unobserve(d)})},a)}; dda=function(a,b,c,d,e){function f(){if(d){var h=d.loadedClass,l=d.uq;h&&_.yD(a,h);l&&a.dispatchEvent(new Event("image-unloaded",{bubbles:!0,composed:!0}))}}function g(){var h=c(b,a);h&&a.getAttribute("src")!==h&&(h!==a.src&&(a.src=h),f())}e=e===void 0?!0:e;a.removeAttribute("src");f();b&&(e?bda(a,g):g())};eda=function(a,b,c){if(!b)return!1;b=c(b,a);c=a.getAttribute("src");return b&&b===c&&a.complete}; fda=function(a,b){for(var c in b)c==="className"?a.className=b[c]:(_.vA[c]||_.vA[_.Cz.default])(a,c,b[c])}; hda=function(a,b,c){c=c===void 0?!1:c;var d=a.sources!==void 0?Object.assign({},a):Uca(a);if(d){var e;d.contentMode=(e=d.contentMode)!=null?e:b.contentMode;var f=b.onload;b.onload=function(m){var n=m.target;c&&n.naturalWidth===120||_.xD(n,"ytCoreImageLoaded");b.Cj&&n.dispatchEvent(new Event("image-loaded",{bubbles:!0,composed:!0}));f==null||f(m)};b.Jb&&b.gb&&(b.width=b.Jb);b.oc&&b.cb&&(b.height=b.oc);var g=_.qD(d);e=g&&_.rD(g);var h=Vca(d);if(e)return(a=Wca(g)||h.color)&&(b.style$=b.style$?b.style$.endsWith(";")? b.style$+(" color: "+a+";"):b.style$+("; color: "+a+";"):"color: "+a+";"),{type:"icon",iconName:e,config:Object.assign({},b,b.alt?{}:{"aria-hidden$":"true"},{"aria-label$":b.alt,role:"img"})};if(a.sources===void 0){b.alt=a.accessibility&&a.accessibility.accessibilityData&&a.accessibility.accessibilityData.label||b.alt;b.LA=Xca(a,b.yr,b.LA);var l;b.isPreloaded=!((l=_.F(a,gda))==null||!l.isPreloaded)}b.className=Yca(d,b.className,b.cb,b.gb,b.objectPosition);b.iq="ytCoreImageLoaded";return{type:"image", image:d,config:b}}};gda=new _.dk("webThumbnailDetailsExtensionData");_.AD.prototype.observe=function(a){this.j.includes(a)||this.j.push(a)};_.AD.prototype.unobserve=function(a){this.j=this.j.filter(function(b){return b!==a})};_.AD.prototype.o=function(){var a=this;this.v||(_.zD(function(){Zca(a)}),this.v=!0)};_.AD.prototype.disconnect=function(){this.j=[]};var KD,jda;KD=_.z(_.Nv(_.BD(),void 0,"O3X2wd"));_.ida=KD.next().value;jda=KD.next().value;window.addEventListener("resize",function(){jda(_.BD())});var $ca,DD,FD;$ca={landscape:"(min-width: 931px) and (orientation: landscape)",portrait:"(min-width: 550px) and (orientation: portrait)"};DD=void 0;_.LD=void 0;_.ED=window.innerWidth;FD=window.innerHeight;window.addEventListener("resize",function(){_.LD=DD=void 0});var ada="IntersectionObserver"in window?cda():_.GD()?{observe:function(a){_.vg.Fa(function(){try{var b;(b=a.wm)==null||b.call(a)}catch(c){_.tD(c)}},8)},unobserve:function(){}}:new _.AD(.1,function(a){_.vg.Fa(function(){try{var b;(b=a.wm)==null||b.call(a)}catch(c){_.tD(c)}},8)});_.MD=_.H(function(a){var b=!1,c=_.WB("img",function(d){_.Mv(function(){b=!0;d.onload=null})});_.QB(function(){var d,e=(d=a.data)==null?void 0:d.call(a),f,g=(f=a.yl)==null?void 0:f.call(a).Lg,h;d=(h=a.config)==null?void 0:h.call(a);if(h=c.value)if(f=function(m,n){if(!b)return g?g(m,n):m},fda(h,d),_.C("web_image_dont_reload_same_src")&&eda(h,e,f))_.C("web_image_dont_reload_same_src_simulate_load")&&h.dispatchEvent(new CustomEvent("load",{bubbles:!1,cancelable:!1,detail:{message:"Simulating load event for already loaded image"}})); else{var l;dda(h,e||null,f,d,(l=a.lazy)==null?void 0:l.call(a))}},"HjBQYb");return _.G("img",{el:c})},"q");_.MD.idomCompat=!0;_.ND=_.H(function(a){function b(){var c,d=a.data(),e,f,g,h,l,m,n,p,r,t,u,v,w,y,E,D,N,M,R,S,L,J,P,ca,na,la,ha,ia,V;var ra={contentMode:(e=a.contentMode)==null?void 0:e.call(a),iq:(f=a.iq)==null?void 0:f.call(a),isPreloaded:(g=a.isPreloaded)==null?void 0:g.call(a),Cj:(h=a.Cj)==null?void 0:h.call(a),uq:(l=a.uq)==null?void 0:l.call(a),Nq:(m=a.Nq)==null?void 0:m.call(a),cb:(n=a.cb)==null?void 0:n.call(a),gb:(p=a.gb)==null?void 0:p.call(a),objectPosition:(r=a.objectPosition)==null?void 0:r.call(a),Jb:(t= a.Jb)==null?void 0:t.call(a),oc:(u=a.oc)==null?void 0:u.call(a),yr:(v=a.yr)==null?void 0:v.call(a),zg:(w=a.zg)==null?void 0:w.call(a),isToggled:(y=a.isToggled)==null?void 0:y.call(a),alt:(E=a.alt)==null?void 0:E.call(a),className:(D=a.className)==null?void 0:D.call(a),onerror:a.onerror,onload:a.onload,style$:((N=a.style$)==null?void 0:N.call(a))||((M=a.style)==null?void 0:M.call(a)),color:(R=a.color)==null?void 0:R.call(a),width:(S=a.width)==null?void 0:S.call(a),height:(L=a.height)==null?void 0: L.call(a),"aria-hidden$":(ia=(J=a["aria-hidden$"])==null?void 0:J.call(a))!=null?ia:(P=a.ariaHidden)==null?void 0:P.call(a),draggable:(ca=a.draggable)==null?void 0:ca.call(a),"data-disabled$":(V=(na=a["data-disabled$"])==null?void 0:na.call(a))!=null?V:(la=a.ue)==null?void 0:la.call(a),size:(ha=a.size)==null?void 0:ha.call(a)};return hda(d,ra,(c=a.Nw)==null?void 0:c.call(a))}return _.G(_.hD,null,_.G(_.fD,{when:function(){var c;return((c=b())==null?void 0:c.type)==="image"}},function(){return _.G(_.MD, {data:function(){return b().image},yl:{Lg:function(c,d){var e=b().image.sources;var f=b().config.isPreloaded,g=b().config.zg,h=b().config.Jb,l=b().config.oc,m=b().config.Nq;if(!e||e.length===0||e[0].clientResource)e=null;else if(f&&e[0].url)e=e[0].url;else{g===void 0&&(g=!0);if(g){var n;d=_.sD*(h||(d==null?void 0:(n=d.getBoundingClientRect())==null?void 0:n.width)||0)}else{var p;d=_.sD*(l||(d==null?void 0:(p=d.getBoundingClientRect())==null?void 0:p.height)||0)}b:if(n=d){if(m)for(p=_.z(e),d=p.next();!d.done;d= p.next())if(d=d.value,f=void 0,h=(f=d.url)==null?void 0:f.indexOf(m),h!==void 0&&h>=0){e=d;break b}m=_.z(e);for(p=m.next();!p.done;p=m.next())if(p=p.value,p.width&&p.height&&(g&&p.width>=n||!g&&p.height>=n)){e=p;break b}for(m=e.length-1;m>=0;m--)if(g&&e[m].width||!g&&e[m].height){e=e[m];break b}e=e[0]}else e=e.length>=1?e[e.length-1]:null;e=(e==null?0:e.url)?e.url:(e==null?0:e.imageData)?e.imageData:null}return e||""}},config:function(){var c=b().config,d;for(d in c)c[d]===void 0&&delete c[d];return c}, lazy:a.ac})}),_.G(_.fD,{when:function(){var c;return((c=b())==null?void 0:c.type)==="icon"}},function(){return _.G(_.lD,{icon:function(){return b().iconName},role:function(){return b().config.role},className:function(){return b().config.className},style:function(){return b().config.style$},ariaLabel:function(){return b().config["aria-label$"]},ariaHidden:function(){return b().config["aria-hidden$"]},ue:function(){return b().config["data-disabled$"]},active:function(){return b().config.isToggled}, size:function(){return b().config.size}})}))},"r");_.ND.idomCompat={callbacks:{callback:!0,onerror:!0,onload:!0}}; }catch(e){_._DumpException(e)} try{ _.$B=function(a){var b=_.av(null);try{return a()}finally{_.av(b)}}; }catch(e){_._DumpException(e)} try{ _.hI=function(a,b){a=_.Qu(a);try{_.$B(b)}finally{_.Qu(a)}}; }catch(e){_._DumpException(e)} try{ _.MF={Vb:!1,state:"visible"};_.NF={Vb:!1,state:"hidden"}; }catch(e){_._DumpException(e)} try{ var Ffa;_.iI=function(a){var b=_.Pu;return function(c){var d,e=(d=a.observer)!=null?d:_.yp().resolve(_.Lx);d=Ffa(c);var f=[];a.eb&&f.push(e.observe(c,function(){_.hI(b,function(){a.Kb(!0,c)})},a.eb));a.Lc&&f.push(e.observe(c,function(){_.hI(b,function(){a.Kb(!1,c)})},a.Lc));a.Nh&&a.Mj&&f.push(e.observe(c,function(){_.hI(b,function(){a.Mj()})},a.Nh));var g;d.visibilityMonitorKeys=((g=d.visibilityMonitorKeys)!=null?g:[]).concat(f)}};Ffa=function(a){var b;return(b=a.Jm)!=null?b:a}; }catch(e){_._DumpException(e)} try{ _.bD=new _.dk("reelWatchEndpoint"); }catch(e){_._DumpException(e)} try{ _.OD=new _.pp("COMMAND_HANDLER_TOKEN"); }catch(e){_._DumpException(e)} try{ var YD,bE,qda,rda,uda,kda,lda;_.PD=function(a){a.Il=void 0;a.fc=function(){return a.Il?a.Il:a.Il=new a}};_.QD=function(a,b){b=_.Ib(b);b!==void 0&&(a.href=b)};_.RD=function(a){for(var b=0,c=0;c>>0;return b};_.SD=function(a){a=_.oc(a);return _.mc(null,null,null,null,a[5],a[6],a[7])};_.TD=function(a){var b=a.indexOf("#");return b<0?a:a.slice(0,b)}; _.UD=function(a,b){for(var c=a.search(_.Bc),d=0,e,f=[];(e=_.Ac(a,d,b,c))>=0;)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));return f.join("").replace(kda,"$1")};_.VD=function(){return(_.Qs||_.Rs)&&_.gm("applewebkit")&&!_.gm("version")&&(!_.gm("safari")||_.gm("gsa/"))};_.WD=function(){return _.Ve()||_.VD()||_.Ns&&_.gm("version/")?!0:_.B("EOM_VISITOR_DATA")?!1:!0};_.XD=function(a){for(var b=_.z(lda),c=b.next();!c.done;c=b.next())a=_.UD(a,c.value);return"ST-"+_.RD(a).toString(36)}; YD=function(a,b,c){a=_.XD(a);b=b?_.xc(b):"";c=c||5;_.WD()&&_.el(a,b,c)};_.ZD=function(a,b,c,d){d=d===void 0?!0:d;var e=_.B("VALID_SESSION_TEMPDATA_DOMAINS",[]),f=_.rc(window.location.href);f&&e.push(f);f=_.rc(a);if(_.Zb(e,f)||!f&&a.lastIndexOf("/",0)==0)if(e=document.createElement("a"),_.QD(e,a),a=e.href)if(a=_.SD(a),a=_.TD(a))d&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:_.Fr()},b)),c?(c=parseInt(c,10),isFinite(c)&&c>0&&YD(a,b,c)):YD(a,b)};_.$D=function(a){try{return a()}catch(b){_.kr(b)}}; _.dE=function(a){var b=_.F(a,_.aE);if(b)return b;if((b=_.F(a,mda))&&b.commands)return bE(b.commands);if((b=_.F(a,nda))&&b.commands)return bE(b.commands);if((a=_.F(a,oda))&&a.identifier&&a.command&&(cE||(cE=[]),!cE.includes(a.identifier)))return cE.push(a.identifier),_.F(a.command,_.aE)};bE=function(a){if(a.length!==0){var b=[];a=_.z(a);for(var c=a.next();!c.done;c=a.next())(c=_.dE(c.value))&&b.push(c);return{commandExecutorCommand:{commands:b}}}};_.eE=function(){this.data=[];this.tf=null}; _.gE=function(a,b,c){var d;return{form:{currentData:(d=_.fE==null?void 0:_.fE.response)!=null?d:{},sourceData:a,event:b==null?void 0:b.event,clickedVisualElement:b==null?void 0:b.clickedVisualElement,implicitGestureType:b==null?void 0:b.implicitGestureType,autonav:b==null?void 0:b.autonav,qd:b==null?void 0:b.qd},Ug:c}};_.hE=function(a){return!!_.F(a,pda)}; _.lE=function(a){var b=a.bv,c=a.pv,d=a.Wg,e=a.Dd,f=a.ah,g=a.Yn,h=a.innertubeCommand||_.dE(d);if(h){a={};var l=_.iE(h);d=l.pq;l=l.href;d&&l?(a.href$=l,qda(a,d,l,b),rda(a,d),f&&(a["force-new-state$"]=!0)):(a.role$="button",a.href$="javascript:void(0);");_.hE(h)&&(a["aria-haspopup$"]=!0);e||(a.onclick=function(m){_.jE(h);var n=Object.assign({},_.gE(h,{event:m}),g);m.preventDefault();_.kE(h,n);m.stopPropagation()});return Object.assign({},c,a)}}; _.iE=function(a){var b,c=((b=_.F(a,_.mE))==null?void 0:b.commands)||[a];a=_.z(c);for(b=a.next();!b.done;b=a.next()){b=b.value;var d=void 0,e=void 0;c=(e=_.F((d=b)==null?void 0:d.commandMetadata,_.Dw))==null?void 0:e.url;_.C("web_remove_web_navigation_endpoint_data")||(d=void 0,c=c||((d=_.F(b,sda))==null?void 0:d.url));if(c&&c!=="/service_ajax"){if(d=_.Aw(c,tda))return a=_.Eb(d),{pq:b,href:a};_.kr(new _.ol("AttributedString URL could not be sanitized",c))}}return{}}; qda=function(a,b,c,d){c=!_.wk(c);var e,f,g;if((e=_.F(b,_.nE))!=null&&e.nofollow||(f=_.F(b,_.Fw))!=null&&f.nofollow||(g=_.F(b,_.oE))!=null&&g.nofollow||c)a.rel$="nofollow";var h;b=((h=_.F(b,_.oE))==null?void 0:h.target)==="TARGET_NEW_WINDOW"?"_blank":d===void 0?"":d;a.target$=b};rda=function(a,b){b.clickTrackingParams&&(a.params={itct:b.clickTrackingParams});a.onpointerdown=function(c){uda(c,b)};a._data=b}; _.jE=function(a){(a.loggingUrls||[]).forEach(function(b){var c=b.baseUrl;if(b.attributionSrcMode==="ATTRIBUTION_SRC_MODE_XHR_OPTION"){b=c;var d;c=((d=document.featurePolicy)==null?0:d.allowedFeatures().includes("attribution-reporting"))?b+"&nis=6":b+"&nis=5";_.Io(c,void 0,void 0,void 0,"",!0,!0)}else _.Io(c)})};uda=function(a,b){var c=a.currentTarget;a=_.$D(function(){return c.href});b=b.clickTrackingParams?{itct:b.clickTrackingParams}:{};a&&_.ZD(a,b,8,!0)}; _.pE=function(a,b){(a=_.dE(a))&&_.kE(a,b)};_.kE=function(a,b){_.Nu(_.OD,function(c){b?c.resolveCommand(a,b):c.resolveCommand(a)})};kda=/[?&]($|#)/;lda="absolute_experiments app conditional_experiments debugcss debugjs expflag forced_experiments pbj pbjreload sbb spf spfreload sr_bns_address sttick".split(" ");_.oE=new _.dk("urlEndpoint");_.nE=new _.dk("browseEndpoint");_.mE=new _.dk("commandExecutorCommand");var sda=new _.dk("webNavigationEndpointData");_.aE=new _.dk("innertubeCommand");var pda=new _.dk("modalEndpoint");_.qE=new _.dk("userFeedbackEndpoint");var mda=new _.dk("parallelCommand");var oda=new _.dk("performOnceCommand");var nda=new _.dk("serialCommand");var cE=void 0;_.eE.prototype.push=function(a){this.tf?this.tf(a):this.data.push(a)};_.fE={};_.rE=_.Nv(_.fE,void 0,"sgPmTd")[0];_.Nv(null,void 0,"jypsq");_.Nv(null,void 0,"mWiOof");_.sE=new _.eE;var tda=[_.ms,_.ns,_.ps,_.rs,_.qs,_.ks,_.ss,_.us]; }catch(e){_._DumpException(e)} try{ _.vE=function(a){var b=a.nodeName;if(a.id)return b+="#"+a.id;if(a.classList)for(var c=_.z(a.classList),d=c.next();!d.done;d=c.next())b+="."+d.value;a.parentElement&&(b=_.vE(a.parentElement)+" > "+b);return b}; }catch(e){_._DumpException(e)} try{ var vda,xda;vda=function(a){var b=_.Pu,c=_.Dv;return{xl:function(){return function(d){if(!b.ia){var e=function(){return a(d)};try{var f;var g=(f=_.Iv(function(){return _.$B(e)},c))!=null?f:!1}catch(h){_.ew(h,b)}g!==!0&&d.stopPropagation()}}}}};_.wE=function(a){var b;return(b=wda[a])!=null?b:"EVENT_SPAN_TYPE_UNKNOWN"};xda=function(a){return function(b){var c=_.wE(b.type);return c==="EVENT_SPAN_TYPE_UNKNOWN"?a(b):_.iA("event",{type:c,nodepath:b.target instanceof Element?_.vE(b.target):void 0},function(){return a(b)})}}; _.O=function(a){a&&_.gA("event")&&(a=xda(a));return vda(function(b){var c,d=(c=a)==null?void 0:c(b);return typeof d==="boolean"?d:!0})};var wda={click:"EVENT_SPAN_TYPE_CLICK",dblclick:"EVENT_SPAN_TYPE_DBLCLICK",mousedown:"EVENT_SPAN_TYPE_MOUSEDOWN",mouseup:"EVENT_SPAN_TYPE_MOUSEUP",mouseover:"EVENT_SPAN_TYPE_MOUSEOVER",mouseout:"EVENT_SPAN_TYPE_MOUSEOUT",mouseenter:"EVENT_SPAN_TYPE_MOUSEENTER",mouseleave:"EVENT_SPAN_TYPE_MOUSELEAVE",mousemove:"EVENT_SPAN_TYPE_MOUSEMOVE",contextmenu:"EVENT_SPAN_TYPE_CONTEXTMENU",keydown:"EVENT_SPAN_TYPE_KEYDOWN",keyup:"EVENT_SPAN_TYPE_KEYUP",keypress:"EVENT_SPAN_TYPE_KEYPRESS",touchstart:"EVENT_SPAN_TYPE_TOUCHSTART", touchend:"EVENT_SPAN_TYPE_TOUCHEND",touchmove:"EVENT_SPAN_TYPE_TOUCHMOVE",touchcancel:"EVENT_SPAN_TYPE_TOUCHCANCEL",pointerdown:"EVENT_SPAN_TYPE_POINTERDOWN",pointerup:"EVENT_SPAN_TYPE_POINTERUP",pointermove:"EVENT_SPAN_TYPE_POINTERMOVE",pointerover:"EVENT_SPAN_TYPE_POINTEROVER",pointerout:"EVENT_SPAN_TYPE_POINTEROUT",pointerenter:"EVENT_SPAN_TYPE_POINTERENTER",pointerleave:"EVENT_SPAN_TYPE_POINTERLEAVE",pointercancel:"EVENT_SPAN_TYPE_POINTERCANCEL",gotpointercapture:"EVENT_SPAN_TYPE_GOTPOINTERCAPTURE", lostpointercapture:"EVENT_SPAN_TYPE_LOSTPOINTERCAPTURE",submit:"EVENT_SPAN_TYPE_SUBMIT",change:"EVENT_SPAN_TYPE_CHANGE",input:"EVENT_SPAN_TYPE_INPUT",focus:"EVENT_SPAN_TYPE_FOCUS",blur:"EVENT_SPAN_TYPE_BLUR",reset:"EVENT_SPAN_TYPE_RESET",select:"EVENT_SPAN_TYPE_SELECT",invalid:"EVENT_SPAN_TYPE_INVALID",load:"EVENT_SPAN_TYPE_LOAD",unload:"EVENT_SPAN_TYPE_UNLOAD",beforeunload:"EVENT_SPAN_TYPE_BEFOREUNLOAD",domcontentloaded:"EVENT_SPAN_TYPE_DOMCONTENTLOADED",resize:"EVENT_SPAN_TYPE_RESIZE",scroll:"EVENT_SPAN_TYPE_SCROLL", pageshow:"EVENT_SPAN_TYPE_PAGESHOW",pagehide:"EVENT_SPAN_TYPE_PAGEHIDE",play:"EVENT_SPAN_TYPE_PLAY",pause:"EVENT_SPAN_TYPE_PAUSE",playing:"EVENT_SPAN_TYPE_PLAYING",waiting:"EVENT_SPAN_TYPE_WAITING",seeking:"EVENT_SPAN_TYPE_SEEKING",seeked:"EVENT_SPAN_TYPE_SEEKED",ended:"EVENT_SPAN_TYPE_ENDED",volumechange:"EVENT_SPAN_TYPE_VOLUMECHANGE",timeupdate:"EVENT_SPAN_TYPE_TIMEUPDATE",ratechange:"EVENT_SPAN_TYPE_RATECHANGE",dragstart:"EVENT_SPAN_TYPE_DRAGSTART",drag:"EVENT_SPAN_TYPE_DRAG",dragend:"EVENT_SPAN_TYPE_DRAGEND", dragenter:"EVENT_SPAN_TYPE_DRAGENTER",dragleave:"EVENT_SPAN_TYPE_DRAGLEAVE",dragover:"EVENT_SPAN_TYPE_DRAGOVER",drop:"EVENT_SPAN_TYPE_DROP",animationstart:"EVENT_SPAN_TYPE_ANIMATIONSTART",animationend:"EVENT_SPAN_TYPE_ANIMATIONEND",animationiteration:"EVENT_SPAN_TYPE_ANIMATIONITERATION",transitionrun:"EVENT_SPAN_TYPE_TRANSITIONRUN",transitionstart:"EVENT_SPAN_TYPE_TRANSITIONSTART",transitionend:"EVENT_SPAN_TYPE_TRANSITIONEND",transitioncancel:"EVENT_SPAN_TYPE_TRANSITIONCANCEL"}; }catch(e){_._DumpException(e)} try{ _.OF=function(){var a=_.Na.apply(0,arguments);return _.XB(_.ZB,function(b){var c=a.map(function(d){return d==null?void 0:d(b)});return function(){return void c.forEach(function(d){return void(d==null?void 0:d())})}})}; }catch(e){_._DumpException(e)} try{ _.CP=function(a,b,c){c?c(b):_.pE(b,a.target?{form:{element:a.target}}:void 0)}; _.DP=function(a,b,c,d){return function(e){_.QB(function(){function f(n){n=n.composedPath();n=_.z(n);for(var p=n.next();!p.done;p=n.next()){p=p.value;if(p===e)break;if(p.className.indexOf("HostIsClickableAdComponent")>=0||p.tagName==="A".toString()||p.tagName==="BUTTON".toString())return!0}return!1}var g=new Map,h,l=(h=a())==null?void 0:h.onTap;if(l){h=function(n){f(n)||_.CP(n,l,b)};var m=function(n){f(n)||n.key!=="Enter"||_.CP(n,l,b)};(c==null?0:c())||_.C("enable_web_home_top_landscape_image_layout_level_click")? (e.addEventListener("tap",h),g.set("tap",h)):(e.addEventListener("click",h),g.set("click",h));if(d==null?0:d())e.addEventListener("keydown",m),g.set("keydown",m)}_.Mv(function(){for(var n=_.z(g),p=n.next();!p.done;p=n.next()){var r=_.z(p.value);p=r.next().value;r=r.next().value;e.removeEventListener(p,r)}})},"D7XqOc")}};_.EP={Vb:!0,state:"visible"}; }catch(e){_._DumpException(e)} try{ _.tC=null; }catch(e){_._DumpException(e)} try{ _.vC=function(a,b){function c(l){if(h)return _.G(h,Object.assign({},l));if(!g){g=!0;var m=_.tC;m==null||m.iu();a().then(function(n){h=n;f(!0);m==null||m.Vq()}).catch(function(n){m==null||m.Vq();if(b==null?0:b.debugName){var p,r=new _.ol("failed to load chunk",b.debugName,n==null?void 0:(p=n.toString)==null?void 0:p.call(n));_.jr(r)}else _.jr(n);throw n;})}return _.G(_.I,{A:e,then:function(){return _.G(h,Object.assign({},l))}})}var d=_.z(_.Nv(!1,void 0,"mNywzc")),e=d.next().value,f=d.next().value, g=!1,h;_.uC.set(c,a);return c};_.TC=new _.pp("CHUNK_REGISTRY_TOKEN");_.uC=new WeakMap; }catch(e){_._DumpException(e)} try{ _.sH=function(){var a;return _.A(function(b){if(b.j==1)return b.yield((0,_.ti)("OtKSJe"),2);a=_.KB;return b.return(a)})};_.vH=_.vC(function(){return _.sH()},{debugName:"touchFeedbackShape"});_.Nu(_.TC,function(a){a.aa("touchFeedbackShape","OtKSJe",_.sH)}); }catch(e){_._DumpException(e)} try{ _.tE=function(a){if(a.composedPath)return a.composedPath();if(!a.Qn){for(var b=[],c=a.target;c;)b.push(c),c=c.parentNode;b.push(window);a.Qn=b}return a.Qn};_.uE=function(a,b,c){a=_.z(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(d===b)break;for(var e=_.z(c),f=e.next();!f.done;f=e.next())if(f=f.value,d.tagName===f||d.role==="button"&&f==="BUTTON")return!0}return!1}; }catch(e){_._DumpException(e)} try{ _.yE=function(a,b,c){var d=a.map(function(e){return e.toString()});return _.O(function(e){if(d.includes(e.key)){c&&e.preventDefault();var f;(f=e.currentTarget)==null||f.click();b==null||b(e)}})}; }catch(e){_._DumpException(e)} try{ _.iC=function(a){var b=_.Na.apply(1,arguments);a.args||(a.args=[]);Array.isArray(a.args)&&a.args.push.apply(a.args,_.va(b))}; }catch(e){_._DumpException(e)} try{ _.LE=function(a){var b=_.JA();if((0,_.cw)(b))throw Error("tb");return _.Yu(a,b)};_.XE=function(){return _.Pu?_.LE(_.ME):void 0};_.Dda=Symbol("Bc");_.Eda=Symbol("Cc");_.ME=_.Xu({defaultValue:void 0},"yDp5Oc"); }catch(e){_._DumpException(e)} try{ var Fda,Gda,Ida,aF,dF,Kda,Jda,eF,fF,gF,Lda,hF,Mda,jF,iF,lF,nF,mF,oF,kF,pF,Nda,Oda,Rda,sF,Sda,tF,Qda,Pda,Hda;Fda=function(a,b){var c=_.tC,d=0;_.tC={iu:function(){d++;_.cA(function(){a(!1)})},Vq:function(){--d===0&&_.cA(function(){a(!0)})}};try{return b()}finally{_.tC=c}};Gda=function(a){var b=_.z(_.Nv(!0,void 0,"bKtO6d")),c=b.next().value;b=b.next().value;return Fda(b,function(){var d=_.Uz(a.children());return _.G(_.I,{A:c,then:function(){return d},X:a.fallback})})}; _.YE=function(a){var b=a.children;var c=a.Og,d=a.callbacks;a=new Map;c=_.z(c!=null?c:[]);for(var e=c.next();!e.done;e=c.next())e=e.value,a.set(e.id.zb.token,e);d=_.z(d!=null?d:[]);for(c=d.next();!c.done;c=d.next())c=c.value,a.set(c.id.zb.token,c);a=Object.assign(Object.create(Hda),{debugName:"[contextOwner]",entries:a});_.vv(a);a=_.Qu(a);try{var f=_.Uz(b);return _.G(_.hB,null,f)}finally{_.Qu(a)}};_.ZE=function(a,b){var c={};return c[_.Eda]=!0,c.id=a,c.value=b,c}; Ida=function(a){a=a.Lg;return _.G(_.hB,null,a())};_.$E=function(a,b){a=Object.assign({},a,{parent:_.XE()});return _.G(_.YE,{Og:[_.ZE(_.ME,a)]},_.G(Ida,{Lg:b}))};aF=function(){this.map=new Map};_.bF=function(a,b){return(Array.isArray(a)?a:Array.from(a)).map(b)};_.cF=function(a){return typeof a.za!=="function"?_.bF(a.za,a.children):a.Qb==="INDEX"?Jda(a):Kda(a)};dF=function(a){a=_.z(a);for(var b=a.next();!b.done;b=a.next()){var c=void 0;(c=b.value)==null||c()}}; Kda=function(a){var b=a.Qb===void 0||a.Qb==="REFERENCE",c=b?function(p){return p}:a.Qb,d=[],e=[],f=[],g=[],h=[],l=[],m=!0;_.Mv(function(){dF(g)});var n;return _.wB(function(){var p=eF(a),r=p.length;if(r===0){if(d.length===0&&!m)return f;dF(g);d=p;e=[];for(p=0;p=0;u--)t.push(e[u],u);u=Array(r);for(var v=Array(r),w=Array(r),y=Array(r),E=Array(b?0: r),D={Ua:0};D.Ua0&&(e.pop()(),b.pop(),f=!1);for(var l=Array(h.length),m={Va:0};m.Vah.length;)b.pop(),e.pop()(),c.pop();h.length===0&&!f&&a.fallback&&(m=fF(function(){l[0]=_.Uz(a.fallback())}),e[0]=m,f=!0);return d=l},{debugName:(g=a.debugInstance)!=null?g:"nsTGHd",Je:!0})};eF=function(a){a=a.za();return Array.isArray(a)?a:Array.from(a)};fF=function(a){var b=_.Pu;return _.gB(function(c){var d=_.av(_.uw);try{c.parent=b,a(c)}finally{_.av(d)}},!1)};gF=function(a,b){this.j=a[_.Sa.Symbol.iterator]();this.o=b}; Lda=function(a,b){return new gF(a,b)};hF=function(a,b){this.o={};this.j=[];this.ne=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Dc");for(var d=0;d100;)a.removeNode(a.j.va)};oF=function(a,b){a.j!=b&&a.removeNode(b);return b.value};kF=function(a,b){this.key=a;this.value=b};pF=function(){this.o=new Map;this.v=new Map;this.j=new lF}; Nda=function(a,b,c,d){var e=qF;if(a==null||!c.Zj)return b;e.j.get(a)===void 0&&e.j.set(a,[b,d!=null?d:[],!1]);c=e.j.get(a);if(!c)return b;var f=_.z(c);c=f.next().value;var g=f.next().value;f=f.next().value;if((g==null?0:g.length)&&(d==null?0:d.length)&&d.some(function(h,l){return h!==g[l]}))return e.j.remove(a),b;(d==null?0:d.length)&&e.j.set(a,[c,d,f]);return f?c:b}; _.rF=function(a){var b=b===void 0?{Zj:!0}:b;return{qk:function(c,d){var e=_.EB(function(){return a(c())},void 0,"Gmrblb"),f=_.z(_.kA(function(){var l=c(),m=e(),n,p=(n=d==null?void 0:d.map(function(r){return r()}))!=null?n:[];return Nda(m,l,b,p)})),g=f.next().value,h=f.next().value;_.QB(function(){var l=e();l!=null&&(l=qF.register(l,[g,h],function(){var m;return(m=d==null?void 0:d.map(function(n){return n()}))!=null?m:[]}),_.Mv(l))},"Umac6c");return[g,function(l){h(l);var m=e();m!=null&&qF.update(m, function(){return l},b)}]},getData:function(c){c=a(c);return qF.get(c,b)},Xr:function(c,d){c=a(c);return qF.update(c,d,b)}}}; _.uF=function(a){function b(){var h=c(),l=[];h=_.z(h);for(var m=h.next();!m.done;m=h.next())(m=sF(m.value))&&l.push(m);return l}function c(){return tF(_.hw(e))}var d=Oda(a),e=d.data,f=d.mapping,g=d.wrapper;d=d.IJ;Pda(e,f);return a.data?_.G(Gda,{fallback:d},function(){return _.G(_.cF,{za:b},function(h,l){var m=g?function(p){return g(function(){return f[h](p,l)},n,l)}:function(p){return f[h](p,l)};m.debugName||(m.debugName=String(h));if(!f[String(h)])return document.createComment("");m.componentType!== _.mw&&Qda(String(h));var n=Rda(c,h,l);return _.G(m,{data:n})})}):_.G(_.hB,null)}; Oda=function(a){function b(){var h;return(h=typeof a.targetId==="function"?a.targetId(d):a.targetId)!=null?h:d}var c=a.targetId||Sda(a.children);if(!a.data||!c)return Object.assign({},a,{mapping:a.children});var d="stamper-"+Tda++;c=_.z(Uda(function(){var h=[].concat(_.va(tF(a.data())));h.targetId=b;return h})).next().value;var e=Object.assign({},(_.yp().resolve(_.rp(Vda))||{}).OJ,a.children);if(a.Xq){var f=e.notificationTextRenderer,g=e.notificationMultiActionRenderer;f&&(e.notificationTextRenderer= function(h,l){return a.Xq(f({data:h.data},l))});g&&(e.notificationMultiActionRenderer=function(h,l){return a.Xq(g({data:h.data},l))})}return Object.assign({},a,{data:c,mapping:e,wrapper:function(h,l,m){return _.$E({targetId:b,jK:m},a.wrapper?function(){return a.wrapper(h,l,m)}:h)}})}; Rda=function(a,b,c){var d;return _.EB(function(){var e=a()[c()];if(e)d=e[b];else return _.kr(new _.ol("Stamper failed to find "+String(b)+" at index "+c()+" of data array of length "+(a().length+" (b/365643359). Did you access a signal after a component has been cleaned up?"))),d;return e[b]},void 0,"sErtjd")};sF=function(a){var b=void 0,c;for(c in a)if(!(!a).hasOwnProperty(c)){b=c;break}return b}; Sda=function(a){a=_.z(Object.keys(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,Wda.includes(b)||Xda.includes(b)||Yda.includes(b))return!0;return!1};tF=function(a){return a?Array.isArray(a)&&a instanceof Array?a:[a]:[]};Qda=function(a){if(_.C("web_enable_renderer_logger")){var b;(b=_.yp().resolve(_.rp(Zda)))==null||b.eJ(a)}}; Pda=function(a,b){var c=_.yp().resolve(_.rp($da));c&&_.QB(function(){var d=tF(_.hw(a)),e=0,f=!1;d=_.z(d);for(var g=d.next();!g.done;g=d.next()){g=sF(g.value);if(!g||!b[String(g)]){f=!0;break}e++}d=c.hK;g=c.iK;e>0&&!f?d.o(g()):d.j(g())},"DhOUxe")};Hda={Sh:function(a){if(_.Wu in a||_.Dda in a){var b=this.entries.get(a.zb.token);if(b!==void 0)return b.value}return this.parent?_.Tu(this.parent,a):_.Ru}};aF.prototype.push=function(a,b){var c=this.map;c.has(a)&&(this.j||(this.j=new Map),this.j.set(b,c.get(a)));c.set(a,b)};aF.prototype.pop=function(a){var b=this.map,c=b.get(a),d;c!==void 0&&((d=this.j)==null?0:d.has(c))?(b.set(a,this.j.get(c)),this.j.delete(c)):b.delete(a);return c};_.cF.debugName="nsTGHd";gF.prototype[Symbol.iterator]=function(){return this};gF.prototype.next=function(){var a=this.j.next();return{value:a.done?void 0:this.o.call(void 0,a.value),done:a.done}};_.k=hF.prototype;_.k.Kc=function(){jF(this);for(var a=[],b=0;b2*this.size&&jF(this),!0):!1};_.k.get=function(a,b){return iF(this.o,a)?this.o[a]:b};_.k.set=function(a,b){iF(this.o,a)||(this.size+=1,this.j.push(a),this.ne++);this.o[a]=b};_.k.forEach=function(a,b){for(var c=this.kd(),d=0;d=d.j.length)return _.Ft;var f=d.j[b++];return{value:a?f:d.o[f],done:!1}};return e};_.k=lF.prototype;_.k.get=function(a,b){return(a=nF(this,a))?a.value:b};_.k.set=function(a,b){var c=nF(this,a);c?c.value=b:(c=new kF(a,b),this.o.set(a,c),mF(this,c))};_.k.Dm=function(){return this.j.next.value};_.k.shift=function(){return oF(this,this.j.next)};_.k.pop=function(){return oF(this,this.j.va)};_.k.remove=function(a){return(a=this.o.get(a))?(this.removeNode(a),!0):!1};_.k.removeNode=function(a){a.remove();this.o.remove(a.key)};_.k.isEmpty=function(){return this.o.isEmpty()}; _.k.kd=function(){return this.map(function(a,b){return b})};_.k.Kc=function(){return this.map(function(a){return a})};_.k.contains=function(a){return this.some(function(b){return b==a})};_.k.clear=function(){for(;this.o.size>0;)this.removeNode(this.j.va)};_.k.forEach=function(a,b){for(var c=this.j.next;c!=this.j;c=c.next)a.call(b,c.value,c.key,this)};_.k.map=function(a,b){for(var c=[],d=this.j.next;d!=this.j;d=d.next)c.push(a.call(b,d.value,d.key,this));return c}; _.k.some=function(a,b){for(var c=this.j.next;c!=this.j;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};_.k.every=function(a,b){for(var c=this.j.next;c!=this.j;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};kF.prototype.remove=function(){this.va.next=this.next;this.next.va=this.va;delete this.va;delete this.next};var Zda=new _.pp("RENDERER_LOGGER_TOKEN");var Vda=new _.pp("RENDERER_STAMPER_OPTIONS_TOKEN");var $da=new _.pp("RENDERER_STAMPER_SUCCESS_SLI_TOKEN");pF.prototype.get=function(a,b){var c=this.o.get(a);if(c)return c[0]();if(b.Zj&&a!=null){var d;return(d=this.j.get(a))==null?void 0:d[0]}};pF.prototype.update=function(a,b,c){var d=this.o.get(a);if(d){var e=_.z(d);d=e.next().value;e=e.next().value;b=b(d());e(b);if(c.Zj&&a!=null){c=this.v.get(a);var f;this.j.set(a,[b,(f=c==null?void 0:c())!=null?f:[],!0])}return!0}return c.Zj&&a!=null&&(f=this.j.get(a))?(c=_.z(f),f=c.next().value,c=c.next().value,b=b(f),this.j.set(a,[b,c,!0]),!0):!1}; pF.prototype.register=function(a,b,c){var d=this;if(a==null)return function(){};this.o.set(a,b);c&&this.v.set(a,c);return function(){d.o.get(a)===b&&(d.o.delete(a),d.v.delete(a))}};var qF=new pF;var Wda="compactRadioRenderer compactPlaylistRenderer playlistVideoRenderer compactVideoRenderer feedNudgeRenderer gridVideoRenderer primetimePromoRenderer radioRenderer primetimePromoRenderer reelItemRenderer reelShelfRenderer richShelfRenderer searchHistoryQueryRenderer shelfRenderer videoWithContextRenderer videoCardRenderer statementBannerRenderer miniGameCardViewModel shortsLockupViewModel lockupViewModel gridShelfViewModel".split(" "),Yda=["notificationTextRenderer","notificationMultiActionRenderer"], Xda="primetimePromoRenderer statementBannerRenderer brandVideoShelfRenderer brandVideoSingletonRenderer feedNudgeRenderer playlistVideoRenderer".split(" "),Uda=_.rF(function(a){return _.hw(a==null?void 0:a.targetId)}).qk;var Tda=0;_.uF.debugName="EjJbCe"; }catch(e){_._DumpException(e)} try{ _.K=function(){for(var a=_.Na.apply(0,arguments),b=!0,c=_.z(a),d=c.next();!d.done;d=c.next())if(typeof d.value!=="string"){b=!1;break}return b?a.join(" ").trim()||void 0:function(){for(var e="",f=_.z(a),g=f.next();!g.done;g=f.next())if(g=g.value,typeof g==="function"&&(g=g()),g)if(typeof g==="string")e+=" "+g;else for(var h in g)if(g.hasOwnProperty(h)){var l=g[h];typeof l==="function"&&(l=l());l&&(e+=" "+h)}e=e.trim()||void 0;return _.hw(e)}}; }catch(e){_._DumpException(e)} try{ _.SG=function(a){return function(){var b="",c;for(c in a){for(var d=a[c];typeof d==="function";)d=d();d!==void 0&&d!==null&&(b+="; "+c+": "+d)}return b.length>0?_.hw(b.slice(2)):_.hw()}}; }catch(e){_._DumpException(e)} try{ _.cD=function(a){return a?(a=a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue)?_.yb(a):null:null}; }catch(e){_._DumpException(e)} try{ _.dD=function(a){return a.shorts.Yj};_.eD=function(a){return a.shorts.yj}; }catch(e){_._DumpException(e)} try{ /* Copyright 2015-present Dan Abramov SPDX-License-Identifier: MIT */ var rG,Uea,tG,AG,BG,Xea,Yea,EG,FG;_.qG=function(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a};rG=function(){var a=_.Na.apply(0,arguments);return a.length===0?function(b){return b}:a.length===1?a[0]:a.reduce(function(b,c){return function(){return b(c.apply(null,_.va(_.Na.apply(0,arguments))))}})}; Uea=function(){var a=_.Na.apply(0,arguments);return function(b){return function(c,d){function e(){throw Error("Hc");}c=b(c,d);var f={getState:c.getState,dispatch:function(g){return e.apply(null,[g].concat(_.va(_.Na.apply(1,arguments))))}};d=a.map(function(g){return g(f)});e=rG.apply(null,_.va(d))(c.dispatch);return Object.assign({},c,{dispatch:e})}}};_.sG=function(){return Math.random().toString(36).substring(7).split("").join(".")}; tG=function(a,b,c){function d(){if(n)throw Error("Lc");return h}function e(t){if(typeof t!=="function")throw Error("Mc`"+typeof t);if(n)throw Error("Nc");var u=!0;m===l&&(m=l.slice());m.push(t);return function(){if(u){if(n)throw Error("Oc");u=!1;m===l&&(m=l.slice());var v=m.indexOf(t);m.splice(v,1);l=null}}}function f(t){if(typeof t!=="object"||t===null)var u=!1;else{for(u=t;Object.getPrototypeOf(u)!==null;)u=Object.getPrototypeOf(u);u=Object.getPrototypeOf(t)===u}if(!u)throw Error("Pc`"+typeof t); if(typeof t.type==="undefined")throw Error("Qc");if(n)throw Error("Rc");try{n=!0,h=g(h,t)}finally{n=!1}u=l=m;for(var v=0;v>10;f=56320|f&1023}DG[e++]=f}}f=String.fromCharCode.apply(String,DG); e<1024&&(f=f.substring(0,e));c.push(f)}return c.join("")};Yea=function(a){this.j=a;this.pos=0;this.o=-1};EG=function(a){var b=BG(a.j,a.pos);++a.pos;if(b<128)return b;for(var c=b&127,d=1;b>=128;)b=BG(a.j,a.pos),++a.pos,d*=128,c+=(b&127)*d;return c};FG=function(a,b){var c=a.o;for(a.o=-1;a.pos+1<=a.j.totalLength;){c<0&&(c=EG(a));var d=c>>3,e=c&7;if(d===b)return!0;if(d>b){a.o=c;break}c=-1;switch(e){case 0:EG(a);break;case 1:a.pos+=8;break;case 2:d=EG(a);a.pos+=d;break;case 5:a.pos+=4}}return!1}; _.HG=function(a){a=new Yea(new AG([_.Xc(decodeURIComponent(a))]));if(FG(a,2)){var b=EG(a);var c=a.pos;var d=a.j;c=c===void 0?0:c;var e=b===void 0?-1:b;c=c===void 0?0:c;e=e===void 0?-1:e;if(d.totalLength&&e){e<0&&(e=d.totalLength-c);d.focus(c);if(!(c-d.v+e<=d.j[d.o].length)){var f=d.o,g=d.v;d.focus(c+e-1);g=new Uint8Array(d.v+d.j[d.o].length-g);for(var h=0,l=f;l<=d.o;l++)g.set(d.j[l],h),h+=d.j[l].length;d.j.splice(f,d.o-f+1,g);d.o=0;d.v=0;d.focus(c)}f=d.j[d.o];d=new DataView(f.buffer,f.byteOffset+ c-d.v,e)}else d=new DataView(new ArrayBuffer(0));d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);a.pos+=b;b=d}else b=void 0;b=b?Xea(b):void 0;a=FG(a,4)?EG(a):void 0;d=GG[a];if(typeof d==="undefined")throw a=new _.ol("Failed to recognize field number",{name:"EntityKeyHelperError",hI:a}),_.jr(a),a;return{cI:a,entityType:d,entityId:b}};_.IG=function(a,b,c){return a[b]?a[b][c]||null:null};var Vea;_.uG="@@redux/INIT"+_.sG();Vea="@@redux/REPLACE"+_.sG();var vG=typeof Symbol==="function"&&Symbol.observable||"@@observable";_.xG.prototype.getState=function(){return this.store.getState()};_.xG.prototype.dispatch=function(a){return this.store.dispatch(a)};_.xG.prototype.subscribe=function(a){return this.store.subscribe(a)};_.xG.prototype.replaceReducer=function(a){return this.store.replaceReducer(a)};_.xG.prototype[Symbol.observable]=function(){return this.store[Symbol.observable]()};AG.prototype.append=function(a){var b=this.j.length===0?!1:(b=this.j[this.j.length-1])&&b.buffer===a.buffer&&b.byteOffset+b.length===a.byteOffset;b?(b=this.j[this.j.length-1],this.j[this.j.length-1]=new Uint8Array(b.buffer,b.byteOffset,b.length+a.length),this.v=this.o=0):this.j.push(a);this.totalLength+=a.length}; AG.prototype.split=function(a){for(var b=new AG,c=new AG,d=_.z(this.j),e=d.next();!e.done;e=d.next())e=e.value,a>=e.length?(b.append(e),a-=e.length):a?(b.append(new Uint8Array(e.buffer,e.byteOffset,a)),c.append(new Uint8Array(e.buffer,e.byteOffset+a,e.length-a)),a=0):c.append(e);return{sI:b,nK:c}};AG.prototype.isFocused=function(a){return a>=this.v&&a=m;m=e-d.bottom>=m;l=d.left>=n;n= b-d.right>=n;var p=f;switch(f){case "top":!a&&m&&(p="bottom");break;case "bottom":!m&&a&&(p="top");break;case "left":!l&&n&&(p="right");break;case "right":!n&&l&&(p="left")}switch(p){case "top":f=d.left+d.width/2-h/2;d=d.top-c-g;break;case "bottom":f=d.left+d.width/2-h/2;d=d.bottom+g;break;case "left":f=d.left-h-g;d=d.top+d.height/2-c/2;break;case "right":f=d.right+g;d=d.top+d.height/2-c/2;break;default:f=d.left+d.width/2-h/2,d=d.bottom+g}g=Object.assign({},YG);f+h>b?(g.right="0px",g.left="auto"): (g.left=Math.round(Math.max(0,f)+window.scrollX)+"px",g.right="auto");d+c>e?(g.bottom="0px",g.top="auto"):(g.top=Math.round(Math.max(0,d)+window.scrollY)+"px",g.bottom="auto");return g}; _.ZG=function(a,b){var c=_.z(_.kA(function(){var e,f;return(f=a())!=null?f:b==null?void 0:(e=b())==null?void 0:e.text})),d=c.next().value;return[function(e){function f(){XG()}function g(){dfa(e,h())}var h=_.EB(function(){var l;return Object.assign({},{location:"bottom",offset:16,delay:1},b==null?void 0:b(),{text:(l=d())!=null?l:""})},void 0,"IJU38d");_.QB(function(){var l=h();_.$B(function(){_.vg.Fa(function(){VG.notify(e,l)},4)})},"WlsgZc");e.addEventListener("mouseenter",g);e.addEventListener("focus", g);e.addEventListener("mouseleave",f);e.addEventListener("blur",f);e.addEventListener("tap",f);_.Mv(function(){e.removeEventListener("mouseenter",g);e.removeEventListener("mouseleave",f);e.removeEventListener("focus",g);e.removeEventListener("blur",f);e.removeEventListener("tap",f);XG()})},c.next().value]};var $G={},efa=($G.TOOLTIP_VIEW_MODEL_STYLE_UNKNOWN=24,$G.TOOLTIP_VIEW_MODEL_STYLE_DEFAULT=24,$G.TOOLTIP_VIEW_MODEL_STYLE_PLAYER=28,$G);var YG={left:"0px",right:"auto",top:"0px",bottom:"auto"};UG.prototype.notify=function(a,b){var c;((c=this.state())==null?void 0:c.anchor)===a&&(c=WG(this,a,b),this.j=b,this.M({text:b.text,location:c,anchor:a,offset:b.offset,style:b.style}))};var VG=new UG; }catch(e){_._DumpException(e)} try{ _.aH=new _.dk("tooltipViewModel"); }catch(e){_._DumpException(e)} try{ _.bH=function(a,b){_.kE(a,Object.assign({},b,{Yv:!0}))}; }catch(e){_._DumpException(e)} try{ _.cH=new _.dk("signalAction"); }catch(e){_._DumpException(e)} try{ var dH,ffa;dH=function(a,b){if(!a)return null;a=Object.keys(a);a=_.z(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.toLowerCase();if(d.indexOf(b,d.length-b.length)>-1)return c}return null};_.eH=function(a,b,c){this.actionName=a;this.j=b===void 0?!1:b;this.args=c===void 0?null:c;this.returnValue=[]}; _.gH=function(a){var b=dH(a,"action")||dH(a,"command")||dH(a,"endpoint");if(!b)return null;var c="yt"+b;var d=fH.get(c);d?c=d:(b="yt-"+b.replace(/([A-Z])/g,"-$1").toLowerCase(),fH.set(c,b),c=b);_.F(a,_.cH)&&(c+="-"+_.F(a,_.cH).signal.toLowerCase().replace(/_/g,"-"));return c};_.hH=function(){this.j=new Map};ffa=function(a,b){b.forEach(function(c){var d=null;c?d=c.apply(null,a.args):(c=Error("ad"),c.params=a.actionName,_.kk(c));a.returnValue.push(d)})};var fH=new Map;_.hH.prototype.o=function(a){var b=new _.eH(a,!0,_.Na.apply(1,arguments)),c=this.j.get(b.actionName);c&&ffa(b,c);b.j||b.returnValue.length!==0||(b=new _.ol("Unhandled action",b.actionName),_.mk(b))};_.PD(_.hH); }catch(e){_._DumpException(e)} try{ var gfa,iH,kH,mH;gfa=function(a,b,c){b.forEach(function(d){var e=_.gH(d);e&&a.o(e,d,c,void 0)})};iH=function(){var a;this.K=a=a===void 0?_.hH.fc():a;this.j=new Map;this.B=new WeakMap;this.Y=new Set};_.lH=function(a,b,c){_.jH(a,c);var d=a.j.get(b);d||(d={},a.j.set(b,d));d.element=c;a.B.set(c,b);kH(a,b,d)};_.jH=function(a,b){var c=a.B.get(b);if(c){var d=a.j.get(c);d&&(delete d.element,a.j.set(c,d));a.B.delete(b);a.v&&a.o&&(c=a.o.get(b))&&(a.v.af(c),a.o.delete(b))}}; kH=function(a,b,c){var d=c.action,e=c.element;e&&d&&(hfa.includes(b)||_.B("INNERTUBE_CLIENT_NAME")==="WEB_REMIX"||a.D&&a.D.II(e)?mH(a,b,c):a.v&&(a.o||(a.o=new WeakMap),d=a.v.observe(e,function(){mH(a,b,c);a.o.delete(e)},{Vb:!0,state:"visible"}),a.o.set(e,d)))};mH=function(a,b,c){var d=c.action;(c=c.element)&&d&&(gfa(a.K,[d],c),a.j.delete(b),a.B.delete(c),a.Y.add(b))};_.oH=function(){nH||(nH=new iH);return nH};var hfa=["browse-video-menu-button","unified-verified-badge","topbar-guide-menu"],nH;iH.prototype.dispose=function(){this.D&&_.mg(this.D,"yt-visibility-monitor-refreshed",this.I,!1,this);this.v&&this.v.dispose()};iH.prototype.I=function(){for(var a=_.z(this.j.entries()),b=a.next();!b.done;b=a.next()){var c=_.z(b.value);b=c.next().value;c=c.next().value;kH(this,b,c)}}; }catch(e){_._DumpException(e)} try{ _.sz=new _.pp("DARK_THEME_TOKEN"); }catch(e){_._DumpException(e)} try{ _.pH=new _.pp("KEY_MANAGER_TOKEN"); }catch(e){_._DumpException(e)} try{ _.KF=new _.dk("layoutProperties");_.LF=new _.pp("APP_DIRECTION_TOKEN"); }catch(e){_._DumpException(e)} try{ _.PF=function(a,b){var c=b==null?void 0:b.initial;return _.EB(function(){_.hw(!0);return c=a(c)},{equals:b==null?void 0:b.isEqual},"rSlKsc")}; }catch(e){_._DumpException(e)} try{ var aea,QF,bea,cea,VF,YF,ZF,$F,fea,hea,gea,aG,bG,cG,iea,dG,jea,lea,mea,eG,nea,fG,gG,hG,oea,iG,pea,jG,qea,rea,sea,tea,uea,vea,wea,xea,yea,kG,zea,RF,eea,dea;aea=function(a,b){return a===b}; QF=function(a,b){if(a===b)a=!0;else if(Array.isArray(a)&&Array.isArray(b))a:if(_.Za(a)&&_.Za(b)&&a.length==b.length){for(var c=a.length,d=QF||aea,e=0;e>16,(a&65280)>>8,a&255];a=b[0];var c=b[1];b=b[2];a=Number(a);c=Number(c);b=Number(b);if(a!=(a&255)||c!=(c&255)||b!=(b&255))throw Error("yc`"+a+"`"+c+"`"+b);c=a<<16|c<<8|b;return a<16?"#"+(16777216|c).toString(16).slice(1):"#"+c.toString(16)};_.UF=function(a,b,c){c===void 0?delete a[b.name]:a[b.name]=c}; _.XF=function(a){var b={androidIncludeFontPadding:!1},c=0,d=[],e=[],f=[];if(a.simpleText)return b.content=a.simpleText,b;if(a.runs===void 0)return b.content="",b;a=_.z(a.runs);for(var g=a.next();!g.done;g=a.next()){g=g.value;var h=g.text,l=void 0,m=(l=h)==null?void 0:l.length;if(h&&m){d.push(h);if(g.bold||g.italics||g.strikethrough||g.underline||g.textColor!=null&&g.textColor!==0||g.deemphasize){h=e;l=h.push;var n={startIndex:c,length:m};g.bold&&(n.weightLabel="FONT_WEIGHT_MEDIUM");g.italics&&(n.italic= !0);g.strikethrough&&(n.strikethrough="LINE_STYLE_SINGLE");g.underline&&(n.underline="LINE_STYLE_SINGLE");g.textColor!=null&&g.textColor!==0?n.fontColor=document.documentElement.hasAttribute("dark")?g.darkModeTextColor||g.textColor:g.textColor:g.deemphasize&&(n.fontColor=document.documentElement.hasAttribute("dark")?VF("#aaa"):VF("#606060"));l.call(h,n)}g.navigationEndpoint&&(h=f,l=h.push,n={startIndex:c,length:m,onTap:{innertubeCommand:g.navigationEndpoint}},g.loggingDirectives&&_.UF(n,WF,g.loggingDirectives), l.call(h,n));c+=m}}b.content=d.join("");b.styleRuns=e.length?e:void 0;b.commandRuns=f.length?f:void 0;return b};VF=function(a){var b=parseInt;if(!dea.test(a))throw Error("xc`"+a);a.length==4&&(a=a.replace(eea,"#$1$1$2$2$3$3"));return b("ff"+a.toLowerCase().substring(1),16)};YF=function(a){if(!((a==null?0:a.value)&&(a==null?0:a.unit)))return"";switch(a.unit){case "DIMENSION_UNIT_FRACTION":var b="%";break;default:b="px"}a=a.value;b==="%"&&(a*=100);return""+a+b}; ZF=function(a){var b=this;this.D=a===void 0?500:a;this.j=NaN;this.v=this.o=!1;this.B=function(c){var d=new CustomEvent("LONG_PRESS"),e;(e=c.changedTouches[0].target)==null||e.dispatchEvent(d)};this.ontouchstart=function(c){b.j=_.Ow(function(){b.B(c);b.o=!0},b.D)};this.ontouchmove=function(){_.vg.Ia(b.j);b.j=NaN;b.o=!1;b.v=!0};this.ontouchend=function(c){if(b.j&&!b.o&&!b.v){var d;(d=c.changedTouches[0].target)==null||d.dispatchEvent(new Event("click"))}_.vg.Ia(b.j);b.j=NaN;b.o=!1;b.v=!1}}; $F=function(a,b){ZF.call(this,b);var c=this;this.callback=a;this.B=function(d){var e;(e=c.callback)==null||e.call(c,d)}};fea=function(a,b){var c=Object.assign({},b);a=_.z(new Map([["ontouchstart",a.ontouchstart],["ontouchend",a.ontouchend],["ontouchmove",a.ontouchmove]]));for(var d=a.next(),e={};!d.done;e={ml:void 0,ep:void 0},d=a.next()){var f=_.z(d.value);d=f.next().value;f=f.next().value;e.ml=d;e.ep=f;b[e.ml]=function(g){return function(h){var l;(l=c[g.ml])==null||l.call(c,h);(0,g.ep)(h)}}(e)}}; hea=function(a,b){var c=["ytAttributedStringLink"];b!=null&&b.Sb||((b==null?0:b.ja)?c.push("ytAttributedStringLinkOverlayCallToActionColor"):c.push("ytAttributedStringLinkCallToActionColor"),(b==null?0:b.ab)&&c.push("ytAttributedStringLinkInheritColor"));c={className:c.join(" "),tabindex$:"0"};var d=a.onTap||a.onLongPress;if(!d)return c;var e=gea(a);e&&(c["aria-label$"]=e);b=_.lE({Wg:d,pv:c,Dd:!(b==null||!b.Dd),ah:!0});a.onLongPress&&(d=new $F(function(){var f=_.dE(a.onLongPress);f&&_.yp().resolve(_.OD).resolveCommand(f)}), b&&fea(d,b));return b||c};gea=function(a){var b,c;return(b=a.onTapOptions)==null?void 0:(c=b.accessibilityInfo)==null?void 0:c.accessibilityLabel};aG=function(a){var b=a;a<=16777215&&(b+=parseInt("ff000000",16));return _.mD(b)};bG=function(a){var b=a.isDarkTheme;var c=a.extension;a=a.jr;var d=void 0;if(c=c==null?void 0:c.colorMap){b=b?"USER_INTERFACE_THEME_DARK":"USER_INTERFACE_THEME_LIGHT";c=_.z(c);for(var e=c.next();!e.done;e=c.next())if(e=e.value,b===e.key){d=e.value;break}}d==null&&a&&(d=a);if(d)return aG(d)}; cG=function(a){var b=a.config;var c=a.image;var d=a.aj;var e=a.Gl;var f=a.run;var g=a.tag;var h=a.textLength;var l=a.startIndex===void 0?0:a.startIndex;a=a.length;l===void 0&&(l=0);f={run:f,startIndex:l,jl:a!==void 0?l+a:h,tag:g};c&&(f.image=c);d&&(f.aj=d);e&&(f.Gl=e);b&&(f.config=b);return f}; iea=function(a,b){if(a.weight)return a.weight;switch(a.weightLabel){case "FONT_WEIGHT_THIN":return 100;case "FONT_WEIGHT_EXTRA_LIGHT":return 200;case "FONT_WEIGHT_LIGHT":return 300;case "FONT_WEIGHT_MEDIUM":return 500;case "FONT_WEIGHT_SEMI_BOLD":return 600;case "FONT_WEIGHT_BOLD":return b?900:700;case "FONT_WEIGHT_EXTRA_BOLD":return 800;case "FONT_WEIGHT_BLACK":return 900;default:return 400}}; dG=function(a){switch(a){case "LINE_STYLE_DOT":return"ytAttributedStringLineStyleDot";case "LINE_STYLE_NONE":return"ytAttributedStringLineStyleNone";default:return"ytAttributedStringLineStyleSingle"}}; jea=function(a){switch(a){case "TEXT_ALIGNMENT_LEFT":return"ytAttributedStringTextAlignmentLeft";case "TEXT_ALIGNMENT_RIGHT":return"ytAttributedStringTextAlignmentRight";case "TEXT_ALIGNMENT_CENTER":return"ytAttributedStringTextAlignmentCenter";case "TEXT_ALIGNMENT_JUSTIFIED":return"ytAttributedStringTextAlignmentJustified";case "TEXT_ALIGNMENT_LAYOUT_START":return"ytAttributedStringTextAlignmentLayoutStart";default:return"ytAttributedStringTextAlignmentUnknown"}}; lea=function(a,b,c){if(c===null||c===void 0)return c;var d=_.RA(a.tagName.toLowerCase(),b,function(){throw Error("Wb");});if(d===null)return c;d=kea[d];var e;if((e=d.Yd)==null?0:e.call(d,c)){if(d.Ed)return d.Ed(c);throw Error("Fc");}return d.jd?d.jd(a.tagName,b,String(c)):c};mea=function(a,b,c){var d=b[b.length-1]!=="$";c=lea(a,b,c);d?a[b]=c:(d=c==null?null:String(c),_.Bz(a,b.slice(0,-1),d))}; eG=function(a,b){return!!b||!(a.commandRuns&&a.commandRuns.length!==0||a.paragraphStyleRuns&&a.paragraphStyleRuns.length!==0)};nea=function(a){return function(b){var c=a.run;(c.onTap!==void 0||c.onLongPress!==void 0)&&_.F(c,WF)&&_.Hx(b,{data:{loggingDirectives:_.F(c,WF)},observer:_.yp().resolve(_.Lx),Lc:_.NF,eb:_.MF,layer:b.layer})}};fG=function(a){return function(b){for(var c in a)(_.vA[c]||_.vA[_.Cz["default"]])(b,c,a[c])}}; gG=function(a,b,c,d){for(var e=_.z(a.lc),f=e.next();!f.done;f=e.next()){f=f.value;if(typeof f==="string")throw Error("Gc");if(f.start<=b&&c<=f.end){gG(f,b,c,d);return}}a.lc.push({data:d,lc:[],start:b,end:c})};hG=function(a,b){for(var c=b.lc.length;c>=0;c--){var d=b.lc[c],e=b.lc[c-1],f=c===b.lc.length?b.end:d.start;e=c===0?b.start:e.end;f!==e&&b.lc.splice(c,0,a.slice(e,f));d&&hG(a,d)}}; oea=function(a){a.sort(function(b,c){if(b.startIndexc?-1:c>b?1:0})}; iG=function(a,b){if(a===b)return!0;if(a===void 0||b===void 0)return!1;if(_.C("web_attributed_string_deep_equal_bugfix"))return QF(a,b);var c,d,e,f,g,h,l,m;return a.content===b.content&&((c=a.styleRuns)==null?void 0:c.length)===((d=b.styleRuns)==null?void 0:d.length)&&((e=a.commandRuns)==null?void 0:e.length)===((f=b.commandRuns)==null?void 0:f.length)&&((g=a.attachmentRuns)==null?void 0:g.length)===((h=b.attachmentRuns)==null?void 0:h.length)&&((l=a.decorationRuns)==null?void 0:l.length)===((m=b.decorationRuns)== null?void 0:m.length)};pea=function(a){return a.lc.map(jG)};jG=function(a){if(typeof a==="string")return a;var b=a.data;a=b.image!==void 0&&b.aj!==void 0?_.G("span",{el:_.OF(fG(a.data.Gl))},_.G(_.ND,Object.assign({},{data:a.data.image},a.data.aj))):_.G(a.data.tag,{el:_.OF(nea(a.data),fG(a.data.config))},a.lc.map(jG));return _.Uz(a)}; qea=function(a,b){return a===b?!0:a===void 0||b===void 0?!1:a.Bj===b.Bj&&a.Sb===b.Sb&&a.oa===b.oa&&a.headerRuns===b.headerRuns&&a.ja===b.ja&&a.ab===b.ab&&a.userInput===b.userInput&&a.nh===b.nh}; rea=function(a){return function(){var b,c,d,e,f,g,h,l,m,n,p,r,t,u;return{ariaLabel:(b=a.ariaLabel)==null?void 0:b.call(a),className:(c=a.className)==null?void 0:c.call(a),Xg:(d=a.Xg)==null?void 0:d.call(a),ja:(e=a.ja)==null?void 0:e.call(a),ab:(f=a.ab)==null?void 0:f.call(a),oa:(g=a.oa)==null?void 0:g.call(a),Bj:(h=a.Bj)==null?void 0:h.call(a),Sb:(l=a.Sb)==null?void 0:l.call(a),jg:(m=a.jg)==null?void 0:m.call(a),noWrap:(n=a.noWrap)==null?void 0:n.call(a),Dd:(p=a.Dd)==null?void 0:p.call(a),userInput:(r= a.userInput)==null?void 0:r.call(a),headerRuns:(t=a.headerRuns)==null?void 0:t.call(a),nh:(u=a.nh)==null?void 0:u.call(a)}}};sea=/&/g;tea=//g;vea=/"/g;wea=/'/g;xea=/\x00/g;yea=/[\x00&<>"']/;kG={"*":{async:1,dir:0,loading:2,target:3}};zea=[{auto:!0,ltr:!0,rtl:!0},{async:!0},{eager:!0,lazy:!0},{_self:!0,_blank:!0}];RF={};eea=/#(.)(.)(.)/;dea=/^#(?:[0-9a-f]{3}){1,2}$/i;_.Aea=new _.dk("emoji");var WF=new _.dk("loggingDirectives");_.Bea=new _.dk("unpluggedStringRunImage");var Cea=new _.dk("highlightTextDecoratorColorMapExtension");var Dea=new _.dk("styleRunColorMapExtension");var Eea=new _.dk("accessibilityProperties");var mG=new _.dk("bracketTextDecorator");_.nG=new _.dk("highlightTextDecorator");var Fea=new _.dk("imageType");_.x($F,ZF);var Gea=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,oG={},kea=(oG[1]={jd:null,Yd:null,Ed:null},oG[2]={jd:function(a,b,c){a=c;yea.test(a)&&(a.indexOf("&")!=-1&&(a=a.replace(sea,"&")),a.indexOf("<")!=-1&&(a=a.replace(tea,"<")),a.indexOf(">")!=-1&&(a=a.replace(uea,">")),a.indexOf('"')!=-1&&(a=a.replace(vea,""")),a.indexOf("'")!=-1&&(a=a.replace(wea,"'")),a.indexOf("\x00")!=-1&&(a=a.replace(xea,"�")));return a},Yd:function(a){return a instanceof _.Kb},Ed:function(a){return _.tz(a)}}, oG[3]={jd:function(a,b,c){return Gea.test(c)?c:_.js.toString()},Yd:function(a){return _.Db(a)},Ed:function(a){return _.Eb(a)}},oG[4]={jd:function(){return _.js.toString()},Yd:function(a){return a instanceof _.xb},Ed:function(a){return _.zb(a).toString()}},oG[5]={jd:function(a,b,c){return c},Yd:function(a){return typeof a==="string"},Ed:function(a){return a.toString()}},oG[7]={jd:function(){return" /*zClosurez*/ "},Yd:function(a){return a instanceof _.Ob},Ed:function(a){return _.Qb(a)}},oG[8]={jd:function(a, b,c){c=String(c).toLowerCase();a:{var d=null;(a=kG[a])&&(d=a[b]);if(typeof d!=="number"&&((a=kG["*"])&&(d=a[b]),typeof d!=="number")){b=!1;break a}b=!0===zea[d][String(c).toLowerCase()]}return b?c:"zClosurez"},Yd:null,Ed:null},oG[10]={jd:null,Yd:null,Ed:null},oG);_.vA[_.Cz["default"]]=mea;_.pG=_.H(function(a){function b(e){function f(){var p=e(),r=m(),t=[],u=p.content.length,v,w=(v=_.yp().resolve(_.rp(_.sz)))==null?void 0:v();if(p.paragraphStyleRuns)for(var y=_.z(p.paragraphStyleRuns),E=y.next();!E.done;E=y.next()){var D=t.push,N=D.apply;var M=void 0,R=E.value;if((M=R.listGroup)!=null&&M.listItems){var S=[];b:switch(R.listGroup.listType){case "LIST_TYPE_BULLET":var L="ul";break b;default:L="span"}S.push(cG({run:R,textLength:u,tag:L,config:{className:"ytAttributedStringListGroup"}, startIndex:R.startIndex,length:R.length}));for(var J=_.z(R.listGroup.listItems),P=J.next();!P.done;P=J.next()){var ca=P.value;b:switch(R.listGroup.listType){case "LIST_TYPE_BULLET":var na="li";break b;default:na="span"}S.push(cG({run:R,textLength:u,tag:na,startIndex:ca.startIndex,length:ca.length}))}var la=S}else la=[];N.call(D,t,_.va(la))}if(p.styleRuns&&(r==null||!r.Bj))for(var ha=_.z(p.styleRuns),ia=ha.next();!ia.done;ia=ha.next()){var V=ia.value,ra=V,ba=w,da=r,U=bG({extension:_.F(ra.styleRunExtensions, Dea),isDarkTheme:ba===void 0?!1:ba,jr:ra.fontColor}),T=void 0,ea=ra,qa=[];U&&qa.push("ytAttributedStringLinkInheritColor");ea.italic&&qa.push("ytAttributedStringItalicized");ea.underline&&ea.strikethrough?qa.push("ytAttributedStringUnderlineStrikethrough",dG(ea.underline)):ea.underline?qa.push("ytAttributedStringUnderlined",dG(ea.underline)):ea.strikethrough&&qa.push("ytAttributedStringStrikethrough",dG(ea.strikethrough));if(ea.baselineOffset){a:switch(ea.baselineOffset){case "BASELINE_OFFSET_SUBSCRIPT":T= "ytAttributedStringBaselineOffsetSubscript";break a;case "BASELINE_OFFSET_SUPERSCRIPT":T="ytAttributedStringBaselineOffsetSuperscript";break a;default:T="ytAttributedStringBaselineOffsetUnknown"}qa.push(T)}var Ia=qa.join(" ");var Wa=ra,wb=U,ve={};if(Wa.weight||Wa.weightLabel)ve.fontWeight=iea(Wa,da==null?void 0:da.nh).toString();wb&&(ve.color=wb);t.push(cG({run:V,textLength:u,tag:"span",config:{className:Ia,style:ve},startIndex:V.startIndex,length:V.length}))}if(p.decorationRuns)for(var qi=_.z(p.decorationRuns), Yd=qi.next();!Yd.done;Yd=qi.next()){var Gc=Yd.value,Dd={};if(Gc.textDecorator){var Tb=Gc.textDecorator,ah=w===void 0?!1:w,Wc=[],sc=_.F(Tb,_.nG),jb=_.F(Tb,mG);if(sc){var yc=Wc,ut=yc.concat,Zd=[],DT=bG({extension:_.F(sc.highlightTextDecoratorExtensions,Cea),isDarkTheme:ah,jr:sc.backgroundColor});DT&&Zd.push("background-color: "+DT+";");sc.backgroundCornerRadius!==void 0&&Zd.push("border-radius: "+sc.backgroundCornerRadius+"px;");sc.leftPadding!==void 0&&Zd.push("padding-left: "+sc.leftPadding+"px;"); sc.rightPadding!==void 0&&Zd.push("padding-right: "+sc.rightPadding+"px;");sc.topPadding!==void 0&&Zd.push("padding-top: "+sc.topPadding+"px;");sc.bottomPadding!==void 0&&Zd.push("padding-bottom: "+sc.bottomPadding+"px;");Wc=ut.call(yc,Zd)}else if(jb){var ET=Wc,Hea=ET.concat,Iea=ah?"#2ba640":"#107516",vt=jb.color?aG(jb.color):Iea;Wc=Hea.call(ET,["padding: 2px;","border-top: solid "+vt+" 2px;","border-bottom: solid "+vt+" 2px;","background: linear-gradient(135deg, "+vt+" 3px, rgba(0, 0, 0, 0) 3px),\n linear-gradient(315deg, "+ vt+" 3px, rgba(0, 0, 0, 0) 3px);"])}var Jea=Wc.join(" ");Dd.style$=Jea;var FT=Gc.textDecorator,NE=[],Kea=_.F(FT,mG);_.F(FT,_.nG)?NE.push("ytAttributedStringHighlightTextDecorator"):Kea&&NE.push("ytAttributedStringBracketTextDecorator");var Lea=NE.join(" ");Dd.className=Lea;Dd.dir="auto"}var GT=_.F(Gc.textDecorator,_.nG),HT=_.F(Gc.textDecorator,mG),IT=_.F(Gc.textDecorator,_.nG),JT=_.F(Gc.textDecorator,mG);t.push(cG({run:Gc,textLength:u,tag:"span",config:Dd,startIndex:(GT==null?void 0:GT.startIndex)|| (HT==null?void 0:HT.startIndex)||0,length:(IT==null?void 0:IT.length)||(JT==null?void 0:JT.length)||0}))}if(p.commandRuns&&(r==null||!r.oa))for(var KT=_.z(p.commandRuns),OE=KT.next();!OE.done;OE=KT.next()){var wt=OE.value,Mea=hea(wt,r);t.push(cG({run:wt,textLength:u,tag:"a",config:Mea,startIndex:wt.startIndex,length:wt.length}))}if(p.attachmentRuns)for(var LT=_.z(p.attachmentRuns),PE=LT.next();!PE.done;PE=LT.next()){var $d=PE.value,MT=void 0,NT=void 0,OT={className:"ytAttributedStringInlineBlockMod"}; if((NT=$d.element)==null?0:NT.properties){var Nea=(MT=$d.element)==null?void 0:MT.properties,zk=[],QE=_.F(Nea,_.KF);if(QE==null?0:QE.margin){var ae=QE.margin,PT=_.B("HTML_DIR")==="rtl"||document.body.getAttribute("dir")==="rtl",QT=PT?ae.end||ae.right:ae.start||ae.left,RT=PT?ae.start||ae.left:ae.end||ae.right;QT&&zk.push("margin-left: "+YF(QT)+";");RT&&zk.push("margin-right: "+YF(RT)+";");ae.top&&zk.push("margin-top: "+YF(ae.top)+";");ae.bottom&&zk.push("margin-bottom: "+YF(ae.bottom)+";")}var Oea= zk.length!==0?zk.join(" "):void 0;OT.style$=Oea}var Pea=OT,ST=void 0,xt={alt:"",cb:!0,gb:!0},TT=["ytAttributedStringImageElement"];if($d.alignment){a:switch($d.alignment){case "ALIGNMENT_BASELINE":var RE="ytAttributedStringImageAlignmentBaseline";break a;case "ALIGNMENT_VERTICAL_CENTER":RE="ytAttributedStringImageAlignmentVerticalCenter";break a;default:RE="ytAttributedStringImageAlignmentBottom"}TT.push(RE)}if((ST=$d.element)==null?0:ST.properties){var zt=[],Ak=_.F($d.element.properties,_.KF);(Ak== null?0:Ak.height)&&zt.push("height: "+YF(Ak.height)+";");(Ak==null?0:Ak.width)&&zt.push("width: "+YF(Ak.width)+";");var Qea=zt.length!==0?zt.join(" "):void 0;xt.style$=Qea;var UT=void 0;var Rea=((UT=_.F($d.element.properties,Eea))==null?void 0:UT.label)||"";xt.alt=Rea}xt.className=TT.join(" ");var Sea=xt,VT=void 0;var WT=void 0,XT=void 0;var Tea=((XT=$d.element)==null?0:XT.type)?(WT=_.F($d.element.type,Fea))==null?void 0:WT.image:void 0;t.push(cG({run:$d,textLength:u,tag:"img",image:Tea,aj:Sea,Gl:Pea, startIndex:$d.startIndex,length:(VT=$d.length)!=null?VT:0}))}if(r==null?0:r.headerRuns)for(var ZT=_.z(r.headerRuns),SE=ZT.next();!SE.done;SE=ZT.next()){var Bk=SE.value;if(Bk.headerMapping&&["ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_1","ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_2","ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_3"].includes(Bk.headerMapping)){a:{switch(Bk.headerMapping){case "ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_1":var lo="ytAttributedStringHeading1";break a;case "ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_2":lo= "ytAttributedStringHeading2";break a;case "ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_3":lo="ytAttributedStringHeading3";break a}lo=void 0}t.push(cG({run:Bk,textLength:u,tag:"span",config:lo?{className:lo}:void 0,startIndex:Bk.startIndex,length:Bk.length}))}}var $T=m();if($T==null?0:$T.userInput)for(var aU=_.z(t),TE=aU.next();!TE.done;TE=aU.next()){var mo=TE.value;if(mo.tag!=="a"&&mo.tag!=="li"){var bU=void 0;(bU=mo).config||(bU.config={});mo.config.dir=mo.tag==="ul"?_.yp().resolve(_.LF):"auto"}}if(e().content){var cU= e().content;oea(t);for(var UE={data:null,start:0,end:cU.length,lc:[]},dU=_.z(t),VE=dU.next();!VE.done;VE=dU.next()){var WE=VE.value;gG(UE,WE.startIndex,WE.jl,WE)}hG(cU,UE);var eU=UE.lc}else eU=[];return eU}var g,h,l=_.OF(function(p){g=e();h=_.gB(function(){for(var r=_.z(f()),t=r.next();!t.done;t=r.next()){t=jG(t.value);t=typeof t==="string"?document.createTextNode(t):t;if(!(t instanceof Node)){r=new _.ol("Part is not a node",t,typeof t);_.jr(r);break}p.appendChild(t)}})}),m=_.PF(c,{isEqual:qea}), n=!0;_.QB(function(){e();m();if(n&&(n=!1,iG(e(),g)))return;var p=f();Promise.resolve().then(function(){var r=l.value;if(r){r.innerText="";var t;(t=h)==null||t();h=_.SF(r,function(){return _.G(pea,{lc:p})},"y")}})},"JTCVP");return _.G("span",{el:l,class:function(){var p;if(p=e()){p=e();var r=c(),t=[];t.push("ytAttributedStringHost");(r==null?0:r.className)&&t.push(r==null?void 0:r.className);(r==null?0:r.Xg)?t.push("ytAttributedStringEllipsisTruncate"):(r==null?0:r.noWrap)?t.push("ytAttributedStringWhiteSpaceNoWrap"): (r==null?0:r.jg)||t.push("ytAttributedStringWhiteSpacePreWrap");(r==null?0:r.ab)&&t.push("ytAttributedStringLinkInheritColor");p.alignment&&t.push(jea(p.alignment));p.lineBreakMode&&t.push("ytAttributedStringWordWrapping");p=t.join(" ")}return p},style:a.style,dir:function(){return c().userInput?"auto":void 0},"aria-label":function(){return eG(e(),c().ariaLabel)?c().ariaLabel:void 0},role:function(){return eG(e(),c().ariaLabel)?"text":void 0}})}var c=rea(a),d=_.PF(function(){var e,f=(e=a.text)==null? void 0:e.call(a);if(f)return e=(f==null?void 0:f.content)!==void 0?f:_.XF(f),(e==null?0:e.content)?e:void 0},{isEqual:iG});return a.Pu?b(d):_.G(_.I,{A:d,then:b})},"A");_.pG.idomCompat=!0; }catch(e){_._DumpException(e)} try{ var HE;HE=function(a){return function(){return a()?a():void 0}}; _.IE=_.H(function(a){var b=_.WB("a",a.ref),c=a.sc?a.sc:_.EB(function(){var d,e,f,g,h;var l=(h=_.dE((f=a.command)==null?void 0:f.call(a)))!=null?h:(g=a.command)==null?void 0:g.call(a);return _.lE({innertubeCommand:l,Dd:(d=a.Dd)==null?void 0:d.call(a),bv:(e=a.target)==null?void 0:e.call(a)})||{}},void 0,"gnrRge");return _.G("a",{el:b,href:function(){return c().href$},rel:function(){return c().rel$},class:function(){var d,e;return(e=c().className)!=null?e:(d=a.className)==null?void 0:d.call(a)},style:function(){var d; if((d=a.style)==null?0:d.call(a))return a.style();var e;return((e=a.disabled)==null?0:e.call(a))?"pointer-events:none":""},"aria-haspopup":function(){return!!c()["aria-haspopup$"]},"force-new-state":HE(function(){return c()["force-new-state$"]}),title:HE(function(){var d,e;return(e=c().title$)!=null?e:(d=a.title)==null?void 0:d.call(a)}),role:HE(function(){var d;return((d=a.role)==null?void 0:d.call(a))||c().role$}),target:HE(function(){return c().target$}),dir:HE(function(){var d;return((d=a.dir)== null?void 0:d.call(a))||c().dir}),tabindex:function(){var d;return c().tabindex$?Number(c().tabindex$):(d=a.tabIndex)==null?void 0:d.call(a)},"aria-hidden":function(){var d,e;return(e=c()["aria-hidden$"])!=null?e:(d=a.ariaHidden)==null?void 0:d.call(a)},"aria-label":function(){var d,e;return(e=c()["aria-label$"])!=null?e:(d=a.ariaLabel)==null?void 0:d.call(a)},"aria-current":a.ariaCurrent,"aria-disabled":a.disabled,"aria-expanded":a.ariaExpanded,"aria-labelledby":a.Ck,"aria-describedby":a.Ld,"aria-selected":a.ariaSelected, "tab-identifier":a.tabIdentifier,"on:pointerdown":_.O(function(d){var e,f;return void((f=(e=c()).onpointerdown)==null?void 0:f.call(e,d))}),"on:click":_.O(function(d){var e,f;(f=(e=c()).onclick)==null||f.call(e,d);var g;(g=a.onClick)==null||g.call(a,d)}),"on:focusin":_.O(function(d){var e;(e=a.Ny)==null||e.call(a,d)}),"on:focusout":_.O(function(d){var e;(e=a.Oy)==null||e.call(a,d)}),"on:mouseenter":_.O(function(d){var e;(e=a.onHover)==null||e.call(a,d)})},a.children)},"t"); }catch(e){_._DumpException(e)} try{ _.qH=function(){var a;return _.A(function(b){if(b.j==1)return b.yield((0,_.ti)("nO5dTd"),2);a=_.LB;return b.return(a)})};_.rH=_.vC(function(){return _.qH()},{debugName:"animatedAssetViewModel"});_.Nu(_.TC,function(a){a.aa("animatedAssetViewModel","nO5dTd",_.qH)}); }catch(e){_._DumpException(e)} try{ var ifa,wH,kfa,yH,zH,lfa,mfa,AH,BH,nfa,ofa,pfa;ifa=function(a,b){function c(){d=0}var d=0;return function(e){d||(d=_.Sa.setTimeout(c,b),a.apply(void 0,arguments))}};wH=function(a){return!isNaN(Number(a))&&!/^[\s\xa0]*$/.test(a)};_.xH=function(a){return a&&a.href$!=="javascript:void(0);"}; kfa=function(a,b,c,d,e,f,g){c=new Animation(new KeyframeEffect(a,[{transform:"translateY(0px)"},{transform:"translateY("+(f?yH(b,c,d,e):d?-1:1)*g+"px)"}],jfa),document.timeline);b?(a.style.display="",c.onfinish=null):c.onfinish=function(){a.style.display="none"};c.play();return c};yH=function(a,b,c,d){var e=Number(a)+10;b?a?(a=Number(a),b=Number(b),c=c?b=0;var PH,TH;var QH=_.Fc(),RH=QH.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!RH||RH.length<2)PH=void 0;else{var SH=QH.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);PH=SH&&SH.length===6?Number(SH[5].replace("_",".")):0}TH=PH;_.UH=TH>=0;var tfa=_.H(function(a){return _.G(_.I,{A:a.sc,then:function(b){return _.G(_.IE,{sc:b,disabled:a.disabled,className:a.className,style:a.style,title:a.title,ariaLabel:a.ariaLabel,Ld:a.Ld,ariaCurrent:function(){var c,d;return((c=a.toggleable)==null?void 0:c.call(a))&&((d=a.toggled)==null?void 0:d.call(a))},ariaExpanded:a.ariaExpanded,ref:a.ref,onHover:a.onHover},a.children)},X:function(){return _.G("button",{el:_.OF(a.ref),"on:click":_.O(function(b){var c;return(c=a.onClick)==null?void 0:c.call(a,b)}), "on:mouseenter":_.O(function(b){var c;return(c=a.onHover)==null?void 0:c.call(a,b)}),class:a.className,title:a.title,style:a.style,disabled:a.disabled,"aria-pressed":function(){var b,c;return((b=a.toggleable)==null?0:b.call(a))?!((c=a.toggled)==null||!c.call(a)):void 0},"aria-label":a.ariaLabel,"aria-describedby":a.Ld,"aria-disabled":a.tn,"aria-hidden":a.ariaHidden,"aria-expanded":a.ariaExpanded,tabindex:a.tabIndex},a.children)}})},"P"),ufa=_.H(function(a){var b=a.data;var c=a.zl;var d=a.Al;var e= a.Bl;var f=a.iconButton;var g=a.Sw;var h=a.Qz;var l=a.icon;var m=a.secondaryIcon;var n=a.NA;var p=a.vy;var r=a.disableLightShape;var t=_.SG({color:function(){var u;return(u=b().customColors)==null?void 0:u.iconColor}});return _.G(VH,{className:"",style:"display: inherit; justify-content: center"},_.G(_.I,{debugInstance:"V4z1Uc",A:function(){return l&&(c()||d()||(f==null?void 0:f()))},then:function(){return _.G(VH,null,_.G("div",{class:g,style:t,"aria-hidden":"true"},l==null?void 0:l()))}}),_.G(_.I, {debugInstance:"ok3btb",A:function(){return(b().buttonText||b().Ya||b().kb)&&!(f==null?0:f())},then:function(){return _.G(VH,null,_.G(WH,{className:n,iconPosition:function(){return b().iconPosition},text:function(){return b().buttonText},oneOffCustomTextWrap:function(){return b().oneOffCustomTextWrap},kb:function(){return b().kb},Ya:function(){return b().Ya}}))}}),_.G(_.I,{debugInstance:"DO5Rz",A:e,then:function(){return _.G(VH,null,_.G("div",{class:g,style:t},l==null?void 0:l()))}}),_.G(_.I,{debugInstance:"bnojSc", A:d,then:function(){return _.G(VH,null,_.G("div",{class:h,style:t},m==null?void 0:m()))}}),_.G(_.I,{debugInstance:"HN3kad",A:function(){return!b().disabled&&!0},then:function(){return _.G(_.vH,{model:function(){var u=b();return{color:u.style==="overlay-dark"?4:u.style==="overlay"?u.type==="filled"?4:3:u.type==="filled"||u.style==="call-to-action-inverse"||u.style==="mono-inverse"?2:1}}})}}),_.G(_.uF,{data:function(){return b().middlegroundAsset}},{animatedAssetViewModel:function(u){return _.G(_.rH, {data:u.data,className:p,xr:!0})}}),_.G(_.I,{A:function(){var u;return((u=_.yp().resolve(_.rp(GH)))==null?void 0:u.Au)&&b().state!=="disabled"&&!(r==null?0:r())},then:function(){return _.G(sfa,{config:function(){var u=b(),v,w;return{EA:lfa(u.style,u.type),Wu:(v=u.customColors)==null?void 0:v.backgroundColor,Vu:(w=u.customColors)==null?void 0:w.borderColor}}})}}))},"Q"),WH=_.H(function(a){function b(){var c,d;return((c=a.iconPosition)==null?void 0:c.call(a))==="icon-with-label"||((d=a.oneOffCustomTextWrap)== null?void 0:d.call(a))}return _.G("div",{class:a.className,"aria-hidden":function(){var c,d,e;return((c=a.ariaHidden)==null?void 0:c.call(a))&&(!((d=a.Ya)==null||!d.call(a))||!((e=a.kb)==null||!e.call(a)))}},_.G(_.hD,null,_.G(_.fD,{when:function(){var c;return(c=a.Ya)==null?void 0:c.call(a)}},function(){return _.G(FH,{Xb:function(){return a.Ya().Xb},numberValue:function(){return a.Ya().numberValue},heightPx:function(){return a.Ya().heightPx},rl:function(){return a.Ya().rl},wb:function(){return a.Ya().wb}, qp:function(){return a.Ya().qp}})}),_.G(_.fD,{when:function(){var c;return(c=a.kb)==null?void 0:c.call(a)}},function(){return _.G(_.pG,{text:function(){return Object.assign({},a.kb(),{lineBreakMode:b()?"LINE_BREAK_MODE_BY_WORD_WRAPPING":a.kb().lineBreakMode,alignment:b()?"TEXT_ALIGNMENT_CENTER":a.kb().alignment})},Sb:!0,noWrap:function(){return!b()}})}),_.G(_.fD,{when:function(){var c,d;return((c=a.iconPosition)==null?void 0:c.call(a))==="icon-with-label"&&((d=a.text)==null?void 0:d.call(a))}},function(){return _.G(_.pG, {text:function(){return{content:a.text(),lineBreakMode:"LINE_BREAK_MODE_BY_WORD_WRAPPING",alignment:"TEXT_ALIGNMENT_CENTER"}},Sb:!0,noWrap:!1})}),_.G(_.gD,null,function(){return a.text})))},"R"),vfa=_.H(function(a){return _.G(_.I,{debugInstance:"kM7Sgc",A:a.Bw,then:function(){var b;return _.G("label",{class:a.className},a.children,(b=a.textContent)==null?void 0:b.call(a))},X:function(){return a.children}})},"S"),VH=_.H(function(a){return a.children},"T");_.XH=_.H(function(a){function b(jb){t==null||t(jb);D()&&(M==null||M(jb))}var c=a.data;var d=a.icon;var e=a.iconName;var f=a.se;var g=a.secondaryIcon;var h=a.nr;var l=a.jI;var m=a.Bo;_.XE();var n=AH(c),p=n.size,r=n.style;a=n.disabled;var t=n.onTap,u=n.ki,v=n.sc,w=n.customColors,y=n.segmentedPosition,E=n.toggled,D=n.toggleable,N=n.accessibilityLabel,M=n.onToggle,R=n.iconPosition,S=n.oneOffCustomTextWrap,L=n.yf,J=n.To,P=n.tooltipText,ca=n.ariaHidden,na=n.ariaExpanded,la=n.tabIndex,ha=n.buttonText,ia= n.kb,V=n.Ya,ra=n.onClickRateLimitMs,ba=n.onHover,da=n.middlegroundAsset,U=n.disableLightShape,T=mfa(c,d,g,e,h,l,f),ea=T.type;d=T.Zm;e=T.zl;f=T.Bl;var qa=T.Al,Ia=T.yw;g=T.zw;var Wa=T.Aw;h=T.iconButton;var wb=T.tn;l=T.fz;var ve=T.Ww;T=T.Rz;var qi=_.z(_.ZG(P,n.gn)).next().value,Yd=_.EB(function(){return ra==null?void 0:ra()},void 0,"eydLbc"),Gc=_.EB(function(){return Yd()?ifa(b,Yd()):b},void 0,"e7tBpf");n=_.EB(function(){var jb;return da()||((jb=_.yp().resolve(_.rp(GH)))==null?void 0:jb.Au)},void 0, "RLCy1b");var Dd={},Tb={},ah={},Wc={},sc={};return _.G(vfa,{className:_.K("ytSpecButtonShapeWithLabelHost",(Dd.ytSpecButtonShapeWithLabelIsOverlay=function(){return r()==="overlay"||r()==="overlay-dark"},Dd)),Bw:Wa,textContent:function(){return _.G(WH,{text:ha,className:"ytSpecButtonShapeWithLabelLabel",ariaHidden:!0,oneOffCustomTextWrap:S,iconPosition:R,kb:ia,Ya:V})}},_.G(tfa,{sc:v,className:_.K("yt-spec-button-shape-next",function(){return nfa(ea())},function(){return wb()?void 0:ofa(r())},function(){return pfa(p())}, (Tb["yt-spec-button-shape-next--disabled"]=wb,Tb["yt-spec-button-shape-next--focused"]=d,Tb["yt-spec-button-shape-next--icon-trailing"]=f,Tb["yt-spec-button-shape-next--icon-leading"]=e,Tb["yt-spec-button-shape-next--icon-leading-trailing"]=qa,Tb["yt-spec-button-shape-next--icon-leading-trailing-no-text"]=function(){return qa()&&!(ha()||ia())},Tb["yt-spec-button-shape-next--icon-button"]=function(){return Ia()||Wa()},Tb["yt-spec-button-shape-next--icon-only-default"]=g,Tb["yt-spec-button-shape-next--align-by-text"]= u,Tb["yt-spec-button-shape-next--segmented-start"]=function(){return y()==="start"},Tb["yt-spec-button-shape-next--segmented-end"]=function(){return y()==="end"},Tb["yt-spec-button-shape-next--override-small-size-icon"]=l,Tb["yt-spec-button-shape-next--one-off-custom-text-wrap-container"]=S,Tb["yt-spec-button-shape-next--disable-text-ellipsis"]=L,Tb["yt-spec-button-shape-next--enable-backdrop-filter-experiment"]=function(){var jb;if(jb=!J()){if(!(jb=_.UH&&TH>=14)&&(jb=_.OH)){var yc;jb=((yc=_.Sa.navigator)== null?void 0:yc.deviceMemory)>=8}jb=jb?!_.C("web_disable_backdrop_filter"):!1}return jb},Tb)),style:function(){var jb=w();if(jb){var yc=jb.color;var ut=jb.backgroundColor;jb=jb.borderColor;var Zd="";yc&&(Zd+="color: "+yc+";");ut&&(Zd+="background-color: "+ut+";");jb&&(Zd+="border-color: "+jb+";");yc={style:Zd}}else yc={};return yc.style},onClick:function(jb){Gc()(jb)},onHover:function(jb){ba==null||ba(jb)},disabled:a,ariaLabel:N,toggleable:D,toggled:E,title:function(){return(m==null?0:m())||!P()?"": P()},tn:wb,ariaHidden:ca,ariaExpanded:na,tabIndex:la,ref:function(jb){(m==null?0:m())&&qi(jb)}},_.G(ufa,{data:c,zl:e,Al:qa,Bl:f,iconButton:h,icon:ve,NA:_.K("yt-spec-button-shape-next__button-text-content",(ah["yt-spec-button-shape-next--elevated-content"]=n,ah)),Sw:_.K("yt-spec-button-shape-next__icon",(Wc["yt-spec-button-shape-next--elevated-content"]=n,Wc)),Qz:_.K("yt-spec-button-shape-next__secondary-icon",(sc["yt-spec-button-shape-next--elevated-content"]=n,sc)),secondaryIcon:T,vy:"yt-spec-button-shape-next__middleground-asset", disableLightShape:U})))},"U");_.XH.idomCompat={callbacks:{icon:!0,secondaryIcon:!0}}; }catch(e){_._DumpException(e)} try{ var yda,zda,Ada,Bda;yda=function(a,b){var c=_.zE.bh().getState();return b?a.apply(null,[c].concat(_.va(b))):a(c)};_.BE=function(){if(AE)return AE;var a=_.z(_.Nv(0,void 0,"MB1Hb")),b=a.next().value;a.next();var c=a.next().value;_.zE.bh().subscribe(function(){zda(c)});return AE=b};zda=function(a){CE||(CE=!0,Promise.resolve().then(function(){a(function(b){return b+1});CE=!1}))};_.DE=function(a,b){return _.zE.jw()(a,b)};_.EE=new _.pp("STATE_STORE_TOKEN");Ada=new _.pp("SELECT_TOKEN");Bda=new _.pp("DISPATCH_TOKEN");var AE,CE;_.zE={jw:function(){var a;return(a=_.yp().resolve(_.rp(Ada)))!=null?a:yda},gw:function(){var a;return(a=_.yp().resolve(_.rp(Bda)))!=null?a:_.zE.bh().dispatch.bind(_.zE.bh())},bh:function(){return _.yp().resolve(_.EE)}};CE=!1; }catch(e){_._DumpException(e)} try{ _.FE=function(a){return _.EB(function(){_.BE()();return _.DE(a)},{debugName:"d8B62c"},"DEXkhd")}; }catch(e){_._DumpException(e)} try{ var wfa,xfa,ZH,yfa,zfa,YH,Afa,Bfa,Cfa,Dfa;wfa=function(a){switch(a){case "TOOLTIP_VIEW_MODEL_PLACEMENT_BOTTOM":return"bottom";case "TOOLTIP_VIEW_MODEL_PLACEMENT_TOP":return"top";case "TOOLTIP_VIEW_MODEL_PLACEMENT_LEFT":return"left";case "TOOLTIP_VIEW_MODEL_PLACEMENT_RIGHT":return"right";default:return"bottom"}}; xfa=function(a,b){var c=_.dE(a==null?void 0:a.onTap),d={};c&&(d.nI=function(){var e;return YH(a,c,b==null?void 0:(e=b.value)==null?void 0:e.visualElement)});d=_.lE({Wg:a.onTap,ah:!0,Yn:d});return _.xH(d)?d:void 0};ZH=function(a,b,c,d,e){c={gC:c};_.bH(a,Object.assign({},{form:{currentData:c,sourceData:c,element:b,event:d}},e))}; yfa=function(a,b,c,d,e){var f=void 0;return function(g){var h=_.dE(c?a==null?void 0:a.onDisabledTap:a==null?void 0:a.onTap);if(h){var l;f=(l=f)!=null?l:b==null?void 0:b.value;if(_.C("web_button_vm_click_client_ve_killswitch"))ZH(h,f,a,g);else{var m;l=YH(a,h,(m=f)==null?void 0:m.visualElement);if(e){ZH(h,e,a,g,{clickedVisualElement:l,form:{element:e}});return}ZH(h,f,a,g,{clickedVisualElement:l})}}d&&d(g)}}; zfa=function(a,b,c){var d=void 0;return function(e){var f=_.dE(a==null?void 0:a.onHover);if(f){var g;d=(g=d)!=null?g:b==null?void 0:b.value;c?ZH(f,c,a,e,{form:{element:c}}):ZH(f,d,a,e)}}};YH=function(a,b,c){b=b==null?void 0:b.clickTrackingParams;var d,e;a=a==null?void 0:(d=a.loggingDirectives)==null?void 0:(e=d.clientVeSpec)==null?void 0:e.uiType;if(c&&a&&!b)return c}; Afa=function(a){switch(a){case "BUTTON_VIEW_MODEL_STYLE_CTA":return"call-to-action";case "BUTTON_VIEW_MODEL_STYLE_MONO":case "BUTTON_VIEW_MODEL_STYLE_BRAND":return"mono";case "BUTTON_VIEW_MODEL_STYLE_OVERLAY":return"overlay";case "BUTTON_VIEW_MODEL_STYLE_OVERLAY_DARK":return"overlay-dark";case "BUTTON_VIEW_MODEL_STYLE_BRAND_GRADIENT":return"brand-gradient";case "BUTTON_VIEW_MODEL_STYLE_BRAND_AI":return"gen-ai-gradient";default:return"mono"}}; Bfa=function(a){switch(a){case "BUTTON_VIEW_MODEL_TYPE_FILLED":return"filled";case "BUTTON_VIEW_MODEL_TYPE_OUTLINE":return"outline";case "BUTTON_VIEW_MODEL_TYPE_TEXT":return"text";case "BUTTON_VIEW_MODEL_TYPE_TONAL":return"tonal";default:return"text"}};Cfa=function(a){switch(a){case "BUTTON_VIEW_MODEL_STATE_ACTIVE":return"active";case "BUTTON_VIEW_MODEL_STATE_INACTIVE":return"disabled";case "BUTTON_VIEW_MODEL_STATE_DISABLED":return"disabled";default:return"active"}}; Dfa=function(a){switch(a){case "BUTTON_VIEW_MODEL_SIZE_XSMALL":return"XS";case "BUTTON_VIEW_MODEL_SIZE_COMPACT":return"S";case "BUTTON_VIEW_MODEL_SIZE_DEFAULT":return"M";case "BUTTON_VIEW_MODEL_SIZE_LARGE":return"L";case "BUTTON_VIEW_MODEL_SIZE_XLARGE":return"XL";default:return"M"}};var Efa=["you-chat-entrypoint-button"]; _.OC=_.H(function(a){function b(){var D,N=(D=f())==null?void 0:D.iconImage;return N?{sources:[N]}:void 0}function c(){return _.CH(d(),!!f().iconName)}function d(){var D=l==null?void 0:l(),N=D,M;if((M=f())==null?0:M.buttonEntitySelectorType){var R;N=Object.assign({},D,{disabled:!((R=t())==null||!R.isDisabled)||!(D==null||!D.disabled)})}var S;D=f();var L=m==null?void 0:m();M=p==null?void 0:p();if(D){var J=Bfa(D.type);R=!!D.title||!!D.titleFormatted;var P=!!(D.iconName||D.iconImage||D.ytIcon);R=P&&!R? "icon-only":P?D.iconTrailing||D.iconPosition==="BUTTON_VIEW_MODEL_ICON_POSITION_TRAILING"?"trailing":"leading":void 0;R==="icon-only-40"&&(J="text");var ca;P=(ca=N==null?void 0:N.state)!=null?ca:Cfa(D.state);var na,la=(na=N==null?void 0:N.disabled)!=null?na:D.state==="BUTTON_VIEW_MODEL_STATE_DISABLED"||D.state==="BUTTON_VIEW_MODEL_STATE_INACTIVE";if(_.C("web_button_vm_refactor_disabled")){var ha;la=(ha=N==null?void 0:N.disabled)!=null?ha:P==="disabled"}na=L&&L.Xb&&!isNaN(Number(L.numberValue))?L: void 0;ha=Object;ca=ha.assign;L=D.title;var ia=D.titleFormatted,V=D.accessibilityText,ra=Afa(D.style),ba=Dfa(D.buttonSize),da=yfa(D,r,la,n,M);la=la&&!D.onDisabledTap;var U=xfa(D,r),T=D.customFontColor,ea=D.customBackgroundColor;var qa=D.customBorderColor;var Ia=D.customDarkThemeFontColor,Wa=D.customDarkThemeBackgroundColor,wb=D.customDarkThemeBorderColor;T=v&&Ia?Ia:T;ea=v&&Wa?Wa:ea;qa=v&&wb?wb:qa;qa={color:T?_.mD(T):void 0,backgroundColor:ea?_.mD(ea):void 0,borderColor:qa?_.mD(qa):void 0};ea=(wb= _.F(D.tooltipData,_.aH))?{text:(S=wb.tooltipText)!=null?S:"",location:wfa(wb.placement),style:wb.style}:void 0;S=ca.call(ha,{},{buttonText:L,kb:ia,Ya:na,accessibilityLabel:V,style:ra,type:J,state:P,size:ba,iconPosition:R,onTap:da,disabled:la,sc:U,customColors:qa,tooltipText:D.tooltip,gn:ea,onHover:zfa(D,r,M),middlegroundAsset:D.middlegroundAsset},N)}else S={style:"mono",type:"text",state:"active",size:"M"};S.focused=y();return S}function e(){var D,N;return((D=f())==null?void 0:D.iconName)||((N=f())== null?void 0:N.ytIcon)}var f=a.data;var g=a.className;var h=a.style;var l=a.buttonOverrides;var m=a.Ya;var n=a.onClick;var p=a.target;var r=_.WB("button-view-model",function(D){D.dispatchEvent(new CustomEvent("yt-renderidom-finished",{bubbles:!0,cancelable:!1,composed:!0}));var N=f().targetId;N&&_.lH(_.oH(),N,D);return function(){_.jH(_.oH(),D)}}),t=_.FE(function(D){var N,M;a:{var R=(N=f())==null?void 0:N.entityKey;if((N=(M=f())==null?void 0:M.buttonEntitySelectorType)&&R)switch(N){case "BUTTON_ENTITY_SELECTOR_TYPE_REMOVE_ADS_AD_STATE":var S= _.IG(D.entities,"playerStateEntity",R);D=S?{isHidden:S.adsState==="ADS_STATE_NONE"||S.adsState==="ADS_STATE_UNKNOWN"}:{isHidden:!0};break a;case "BUTTON_ENTITY_SELECTOR_TYPE_CHATBOT_PENDING_RESPONSE":D={isHidden:!1,isDisabled:!((S=_.IG(D.entities,"youchatPendingResponseEntity",R))==null||!S.isPendingResponse)};break a;case "BUTTON_ENTITY_SELECTOR_TYPE_BOOLEAN_DISABLED":var L;D={isHidden:!1,isDisabled:!((L=_.RG(D,R))==null||!L.value)};break a;default:D={isHidden:!1};break a}D=void 0}return D}),u,v= (u=_.yp().resolve(_.rp(_.sz)))==null?void 0:u();a=_.z(_.Nv(!1,void 0,"yZ8hab"));u=a.next().value;var w=a.next().value,y=u;a=_.O(function(){var D=_.yp().resolve(_.rp(_.pH));D&&w(D.Ke());return!0});u=_.O(function(){w(!1);return!0});_.QB(function(){var D,N=_.F((D=f())==null?void 0:D.onVisible,_.aE);N&&_.kE(N,{Ug:!0})},"G9MlKd");var E=HTMLElement.prototype.hasOwnProperty("popover");return _.G("button-view-model",{el:r,class:_.K("ytSpecButtonViewModelHost",g,function(){var D,N=(D=f())==null?void 0:D.targetId; if(N)return Efa.includes(N)?N:void 0}),"on:focusin":a,"on:focusout":u},_.G(_.I,{A:function(){var D,N,M,R;return!((R=((D=f())==null?void 0:D.entityKey)&&((N=f())==null?void 0:N.buttonEntitySelectorType)&&((M=t())==null?void 0:M.isHidden))!=null&&R)},then:function(){return _.G(_.I,{A:b,then:function(D){return _.G(_.XH,{data:d,icon:function(){return _.G(_.ND,{data:D,alt:"",Jb:c,oc:c,gb:!0,cb:!0})},Bo:E})},X:function(){return _.G(_.XH,{data:d,iconName:e,se:function(){var D;return!!(h==null?0:(D=h())== null?0:D.animateIcon)},Bo:E})}})}}))},"W");_.OC.idomCompat={callbacks:{onClick:!0}}; }catch(e){_._DumpException(e)} try{ _.BI=function(a){_.zE.gw()(a)};_.CI=function(a,b){var c=_.BE();return _.EB(function(){c();return _.DE(a,[_.hw(b)||""])},{debugName:"LUZslf"},"Z105t")}; }catch(e){_._DumpException(e)} try{ _.FM=function(a){return _.UB(function(){return{value:a}})}; }catch(e){_._DumpException(e)} try{ var GP,HP,gka,fka;_.FP=function(a,b){return _.vg.Fa(a,2,b)};GP=function(a,b){var c;c||(c=fka++);for(var d=_.z(Object.keys(b)),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.j.get(e);f||(f=new Map,a.j.set(e,f));f.set(c,_.lk(b[e]))}return c};HP=function(a,b,c){b=_.z(Object.keys(b));for(var d=b.next();!d.done;d=b.next())(d=a.j.get(d.value))&&d.delete(c)}; _.IP=function(a,b){var c=_.Pu;if(_.xz())gka(a,function(){var f=_.Na.apply(0,arguments);_.hI(c,function(){b.apply(null,_.va(f))})});else{var d=_.hH.fc(),e=_.FM(b);_.eC(function(){e.value=b});_.fC(function(){var f={},g=GP(d,(f[a]=function(){var h=_.Na.apply(0,arguments);_.hI(c,function(){e.value.apply(e,_.va(h))})},f));return function(){var h={};HP(d,(h[a]="",h),g)}})}};gka=function(a,b){var c=_.hH.fc();_.fC(function(){var d={},e=GP(c,(d[a]=b,d));_.Mv(function(){var f={};HP(c,(f[a]="",f),e)})})}; fka=1; }catch(e){_._DumpException(e)} try{ var Hfa,Gfa,Ifa,Jfa,mI,nI,Kfa;Hfa=function(a,b){var c,d=(c=b.observer)!=null?c:_.yp().resolve(_.Lx);if(a){c=Gfa(a);var e=[];b.eb&&e.push(d.observe(a,function(){b.Kb(!0,a)},b.eb));b.Lc&&e.push(d.observe(a,function(){b.Kb(!1,a)},b.Lc));b.Nh&&b.Mj&&e.push(d.observe(a,function(){b.Mj()},b.Nh));var f;c.visibilityMonitorKeys=((f=c.visibilityMonitorKeys)!=null?f:[]).concat(e)}};Gfa=function(a){var b;return(b=a.Jm)!=null?b:a};_.kI=function(a){return!!_.jI(a)}; _.lI=function(a,b,c,d,e){return function(f){var g=_.XE();_.QB(function(){if(f){Ifa(f,a(),e);var h=Jfa(f,a(),b,c,d,g);_.Mv(h)}},"lrewVd")}};Ifa=function(a,b,c){var d=mI(b),e=nI(b),f=d&&_.MF,g=e&&_.NF;(d||e)&&Hfa(a,{Kb:function(h){var l=_.yp().resolve(_.OD);h&&d?(l.resolveCommand(d,{form:{element:c?a:void 0},Ug:!0}),d=mI(b)):!h&&e&&(l.resolveCommand(e,{form:{element:c?a:void 0},Ug:!0}),e=nI(b))},eb:f,Lc:g})}; Jfa=function(a,b,c,d,e,f){var g=new Map;if(b=_.jI(b)){var h;a=(d==null?void 0:(h=d.onTap)==null?void 0:h.value)||a;c=Kfa(b,a,c==null?void 0:c.onTap,e,f);a.addEventListener("click",c);g.set("click",c)}return function(){for(var l=_.z(g),m=l.next();!m.done;m=l.next()){var n=_.z(m.value);m=n.next().value;n=n.next().value;a.removeEventListener(m,n)}}};_.jI=function(a){var b;return(a=(b=_.F(a,_.oI))==null?void 0:b.onTap)&&_.dE(a)}; mI=function(a){var b;return(a=(b=_.F(a,_.oI))==null?void 0:b.onVisible)&&_.dE(a)};nI=function(a){var b;return(a=(b=_.F(a,_.oI))==null?void 0:b.onHidden)&&_.dE(a)};Kfa=function(a,b,c,d,e){function f(h){d&&_.uE(_.tE(h),b,d)||g(h.target?{form:{element:h.target,sourceData:a,mutationContext:e}}:void 0)}function g(h){_.yp().resolve(_.OD).resolveCommand(a,h)}c&&(f=function(h){c(h,g)});return f};_.oI=new _.dk("commandContext"); }catch(e){_._DumpException(e)} try{ var hka,ika,jka,PP,kka,TP,UP,XP,YP,lka,bQ,mka,nka,cQ,eQ,pka,KP,LP,oka,qka,ZP,dQ,$P,aQ,mQ;hka=function(a,b,c){var d=b&128?0:-1,e=a.length,f;if(f=!!e)f=a[e-1],f=f!=null&&typeof f==="object"&&f.constructor===Object;var g=e+(f?-1:0);for(b=b&128?1:0;b0?void 0:a===0?LP||(LP=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}};_.MP=function(a){return!!(2&a)&&!!(4&a)||!!(256&a)};_.NP=function(a,b){return a=(2&b?a|2:a&-3)&-273}; _.OP=function(a,b,c,d,e,f,g,h){var l=_.qd(a,c);f=l?1:f;g=!!g||f===3;l=h&&!l;(f===2||l)&&_.ce(a)&&(b=a.Z,c=b[_.kd]|0);a=_.ee(b,e);h=Array.isArray(a)?a:_.Ws;var m=h===_.Ws?7:h[_.kd]|0;a=m;2&c&&(a|=2);var n=a|1;if(a=!(4&n)){var p=h,r=c,t=!!(2&n);t&&(r|=2);for(var u=!t,v=!0,w=0,y=0;w127;)a.j.push(b&127|128),b>>>=7;a.j.push(b)};kka=function(){this.v=[];this.o=0;this.j=new PP};_.RP=function(a,b){b.length!==0&&(a.v.push(b),a.o+=b.length)};TP=function(a,b){_.SP(a,b,2);b=a.j.end();_.RP(a,b);b.push(a.o);return b};UP=function(a,b){var c=b.pop();for(c=a.o+a.j.length()-c;c>127;)b.push(c&127|128),c>>>=7,a.o++;b.push(c);a.o++};_.SP=function(a,b,c){_.QP(a.j,b*8+c)};_.VP=function(a,b){this.j=a;a=_.kb(_.lt);this.o=!!a&&b===a||!1}; _.WP=function(a){var b=b===void 0?_.lt:b;return new _.VP(a,b)};XP=function(a,b){if(a instanceof _.he)return a.Z;if(Array.isArray(a))return _.Pd(a,b[0],b[1])};YP=function(a,b,c,d,e){b=XP(b,d);b!=null&&(c=TP(a,c),e(b,a),UP(a,c))};lka=function(a){return Array.isArray(a)&&!!a.length&&typeof a[0]==="number"&&a[0]>0}; bQ=function(a){var b=mka,c=nka,d=a[ZP];if(d)return d;d={};d.mH=a;d.lq=jka(a[0]);var e=a[1],f=1;e&&e.constructor===Object&&(d.extensions=e,e=a[++f],typeof e==="function"&&(d.Mx=!0,$P!=null||($P=e),aQ!=null||(aQ=a[f+1]),e=a[f+=2]));for(var g={};e&&lka(e);){for(var h=0;h>>0&255)};PP.prototype.writeInt8=function(a){this.j.push(a>>>0&255)};oka=_.WP(YP);qka=_.WP(YP);ZP=Symbol();dQ=Symbol();_.kQ=_.gQ(_.hQ,_.mt);mQ=void 0;mQ=mQ===void 0?_.lt:mQ;_.lQ=new _.VP(function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f0},g))},(f=d.text)==null?void 0:f.content)}))}))},"Fc");_.rI=_.H(function(a){return _.G("lockup-attachments-view-model",{class:"ytLockupAttachmentsViewModelHost"},_.G(_.uF,{data:function(){var b;return(b=a.data())==null?void 0:b.attachments}},{flexibleActionsViewModel:function(b){return _.G("div",{class:"ytLockupAttachmentsViewModelAttachment"},_.G(_.AF,{data:b.data,layout:function(){var c;return((c=a.Ea())==null?void 0:c.arrangement)===1?0:1},TI:function(){var c;return((c=a.Ea())==null?void 0:c.arrangement)===1?"FLEXIBLE_ACTIONS_JUSTIFY_CONTENT_START": "FLEXIBLE_ACTIONS_JUSTIFY_CONTENT_EVENLY"}}))},slimlineSurveyViewModel:function(b){return _.G("div",{class:"ytLockupAttachmentsViewModelAttachment"},_.G(Mka,{data:b.data}))},expandableMetadataViewModel:function(b){b=b.data;var c;return _.G("div",{class:_.K("ytLockupAttachmentsViewModelAttachment","ytLockupAttachmentsViewModelExpandableMetadata")},(c=_.yp().resolve(_.rp(Dka)))==null?void 0:c({data:b}))},adButtonGroupViewModel:function(b){return _.G("div",{class:"ytLockupAttachmentsViewModelAttachment"}, _.G(Kka,{data:b.data}))},adButtonViewModel:function(b){return _.G("div",{class:"ytLockupAttachmentsViewModelAttachment"},_.G(LQ,{data:b.data,zx:!0}))},tableViewModel:function(b){return _.G("div",{class:"ytLockupAttachmentsViewModelAttachment"},_.G(Nka,{data:b.data}))},aiCompanionAttachmentViewModel:function(b){b=b.data;var c;return _.G("div",{class:"ytLockupAttachmentsViewModelAttachment"},(c=_.yp().resolve(_.rp(_.OK)))==null?void 0:c({data:b}))},carouselAdCardCollectionViewModel:function(b){return _.G("div", {class:"ytLockupAttachmentsViewModelAttachment"},_.G(Jka,{data:b.data,Kx:!0}))}}))},"Gc"); }catch(e){_._DumpException(e)} try{ _.Zga=_.Lk("rich_grid_min_item_width",310);_.EK=_.Lk("rich_grid_max_item_width",500); }catch(e){_._DumpException(e)} try{ _.FK=function(a,b){function c(e){_.hI(d,function(){b(e)})}var d=_.Pu;window.addEventListener(a,c,void 0);_.Mv(function(){window.removeEventListener(a,c,void 0)})}; }catch(e){_._DumpException(e)} try{ _.GK=new _.dk("chipViewModel"); }catch(e){_._DumpException(e)} try{ _.HK=function(a,b){return _.IG(a.entities,"chipEntity",b)}; }catch(e){_._DumpException(e)} try{ var $ga,aha;$ga=function(a,b){return _.IG(a.entities,"chipBarStateEntity",b)};_.IK=function(){var a;return _.A(function(b){if(b.j==1)return b.yield((0,_.ti)("W0gSKb"),2);a=_.FF;return b.return(a)})};aha=function(a,b){_.QB(function(){var c=a();_.$B(function(){return void b(c)})},"cKR9sf")};var bha=_.vC(function(){return _.IK()},{debugName:"chipViewModel"});_.Nu(_.TC,function(a){a.aa("chipViewModel","W0gSKb",_.IK)});_.JK=_.H(function(a){function b(S){if(m.value!=null){_.B("HTML_DIR")==="rtl"&&(S=-S);var L;m.value.scrollBy({left:S,behavior:((L=a.fv)==null?0:L.call(a))?"instant":"smooth"})}}function c(){var S=m.value;S=S==null?!0:(_.B("HTML_DIR")==="rtl"?-S.scrollLeft:S.scrollLeft)-1<=0;var L=m.value;L=L==null?!0:(_.B("HTML_DIR")==="rtl"?-L.scrollLeft:L.scrollLeft)+1>=L.scrollWidth-L.clientWidth;S!==p()&&r(S);L!==t()&&u(L)}function d(){b(-320)}function e(){b(320)}var f=_.pA(a,{}),g=f.data,h=f.disableDeselection, l=_.CI($ga,function(){return g().chipBarStateEntityKey}),m=_.OF(function(){requestAnimationFrame(function(){c();if(!p()||!t()){var S=m.value,L=R();if(S&&L!==void 0&&L>=0&&L=528?16:8)/2;case 3:return(c&&a<528?0:16)+(a>=528?16:8)/2;default:return 0}};uha=function(a){var b=a.ez;var c=a.Cd;var d=a.Br;if(a.Ll&&b<528)return 1;switch(c){case "STANDARD":return d;case "COMPACT":return d+1;case "EXTRA_COMPACT":return _.C("web_responsive_extra_compact_2x")?d*2:_.C("web_responsive_current")?d===1?2:d%2===0?d/2*3:d+2:d<4?d*2:Math.ceil(d*3/2);case "MINI":return d>1?d*2:3;default:return d}}; sL=function(a){var b=a.containerWidth;var c=a.Dm;var d=a.gutter;var e=a.numItems;a=a.Hp;b=c?Math.max((b-c-d*e)/e,0):Math.max((b-d*(e-1))/e,0);return a?b:Math.min(b,_.EK)}; vha=function(a){var b=a.containerWidth;var c=a.hasPeek;var d=a.Cd;var e=a.ly;var f=a.Ll;var g=a.yv;var h=a.kK;var l=a.xu;d=d||"STANDARD";c=!!c;a=b>=528?16:8;var m=c?b>=528?48:24:0;e=rL(b,e,g);var n=Math.max(b-e*2,0);h=Math.min(Math.max(Math.floor((n-m+a)/((h!=null?h:_.Zga)+(_.C("rich_grid_enable_dynamic_offset")&&b?Math.max((b-_.Lk("rich_grid_dynamic_offset_anchor_width",1300))/100*_.Lk("rich_grid_dynamic_offset_offset_per_100",10),_.Lk("rich_grid_dynamic_offset_lower_bound",-60)):0)+a)),1),6);h= b>=528?Math.max(h,2):1;g=!!g&&h===1;var p=rL(b,1),r=g||h===6||h===1&&d!=="STANDARD";c=c||r?n:Math.min(n,(_.EK+a)*h-a);l&&(c+=a);d=uha({ez:b,Cd:d,Br:h,Ll:f});return{itemWidth:sL({containerWidth:c,Dm:m,gutter:a,numItems:d,Hp:r}),gutter:a,wj:c,numItems:d,margin:g?0:e,Ho:p,Ec:sL({containerWidth:c,Dm:m,gutter:a,numItems:h,Hp:r})>400&&!(f&&b<528),Br:h}};uL=function(a){var b=_.tL;_.tL=a;return b};vL=function(a){return!!a&&typeof a==="object"&&Object.getPrototypeOf(a)===Object.prototype}; xL=function(a){return typeof a==="function"&&wL in a&&typeof a[wL]==="function"};zL=function(a){if(yL(a))return a.map(function(e){return zL(e)});if(vL(a)){var b={};a=_.z(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.z(c.value);c=d.next().value;d=d.next().value;b[c]=zL(d)}return b}return xL(a)?a():a};wha=function(a,b){var c=_.z(_.Nv(a,void 0,"serrkb"));a=c.next().value;c=c.next().value;a[wL]=c;a[AL]=b;return a};BL=function(a,b){Object.defineProperty(a,AL,{get:function(){return b}})}; CL=function(a,b){if(yL(a)){var c=a.map(function(f){return CL(f,b)});BL(c,b);return c}if(vL(a)){c={};a=_.z(Object.entries(a));for(var d=a.next();!d.done;d=a.next()){var e=_.z(d.value);d=e.next().value;e=e.next().value;c[d]=CL(e,b)}BL(c,b);return c}return wha(a,b)}; xha=function(){var a={height:0,width:0};if(!vL(a))throw Error("fd");var b=Symbol("gd");return[CL(a,b),function(c,d){if(c[AL]===b)if(typeof d==="function"){var e=[].concat(_.va(zL(c)));d=d(e)||e;DL(c,[].concat(_.va(d)))}else DL(c,d);else throw Error("hd");}]}; DL=function(a,b){if(xL(a))a[wL](b);else if(yL(a)&&yL(b))b=CL(b,a[AL]),a.length=0,a.push.apply(a,_.va(b));else if((vL(a)||yL(a))&&(yL(b)||typeof b==="object"&&b!==null)){b=_.z(Object.entries(b));for(var c=b.next();!c.done;c=b.next()){var d=_.z(c.value);c=d.next().value;d=d.next().value;var e=a,f=e[c];Object.hasOwn(a,c)?DL(f,d):e[c]=CL(d,a[AL])}}else throw Error("id");}; yha=function(a){var b=!!_.Pu,c;b=_.gB(function(){var d=_.tB(!0);_.Zv++;try{c=_.yB(a()),_.LA(!1)}catch(e){throw _.LA(!0),_.Lv(e);}finally{_.tB(d)}},b===void 0?!1:b);return[c,b]};Aha=function(){function a(){return c.construct(b,[],this.constructor)}var b=HTMLElement;if(zha)return b;if(EL!==void 0)return EL;var c=_.Sa.Reflect;a.prototype=b.prototype;a.prototype.constructor=a;a.es5Shimmed=!0;Object.setPrototypeOf(a,b);return EL=a}; Bha=function(a){function b(){e&&(e=!1,a());f&&d()}function c(){requestAnimationFrame(b)}function d(){var h=Date.now();if(e){if(h-g<2)return;f=!0}else e=!0,f=!1,setTimeout(c,20);g=h}var e=!1,f=!1,g=0;return d};FL=function(){this.D=this.o=!1;this.j=null;this.v=[];this.B=this.B.bind(this);this.refresh=Bha(this.refresh.bind(this))}; IL=function(a,b){var c=a.v;b=c.indexOf(b);~b&&c.splice(b,1);!c.length&&a.o&&GL&&a.o&&(document.removeEventListener("transitionend",a.B),window.removeEventListener("resize",a.refresh),a.j&&(a.j.disconnect(),HL&&(HTMLElement.prototype.attachShadow=HL)),a.D&&document.removeEventListener("DOMSubtreeModified",a.refresh),a.j=null,a.D=!1,a.o=!1)};Eha=function(a){a=a.v.filter(function(b){return Cha(b),b.j.length>0});a.forEach(function(b){return Dha(b)});return a.length>0}; Gha=function(a){if(GL&&!a.o){document.addEventListener("transitionend",a.B);window.addEventListener("resize",a.refresh);if(Fha){a.j=new MutationObserver(a.refresh);var b={attributes:!0,childList:!0,characterData:!0,subtree:!0};a.j.observe(document,b);HL&&(function e(d){var f=d.shadowRoot;f&&(a.j.observe(f,b),e(f));for(d=d.firstElementChild;d;)e(d),d=d.nextElementSibling}(document),HTMLElement.prototype.attachShadow=function(){var d=HL.apply(this,_.Na.apply(0,arguments));a.j.observe(d,b);return d})}else document.addEventListener("DOMSubtreeModified", a.refresh),a.D=!0;a.o=!0}};JL=function(a,b){for(var c=_.z(Object.keys(b)),d=c.next();!d.done;d=c.next())d=d.value,Object.defineProperty(a,d,{value:b[d],enumerable:!1,writable:!1,configurable:!0})};KL=function(a){var b;return(a==null?void 0:(b=a.ownerDocument)==null?void 0:b.defaultView)||globalThis};LL=function(a){return typeof a==="number"?a:parseFloat(a)||0};ML=function(a){return _.Na.apply(1,arguments).reduce(function(b,c){return b+LL(a["border-"+c+"-width"])},0)}; NL=function(a){this.j=this.o=0;this.v={x:0,y:0,width:0,height:0};this.target=a};Hha=function(a,b){var c=b.x;var d=b.y;var e=b.width;b=b.height;var f=Object.create((typeof DOMRectReadOnly!=="undefined"?DOMRectReadOnly:Object).prototype);JL(f,{x:c,y:d,width:e,height:b,top:d,right:c+e,bottom:b+d,left:c});JL(this,{target:a,contentRect:f})};PL=function(a,b){var c=OL;this.j=[];this.v=new Map;if(typeof a!=="function")throw new TypeError("jd");this.B=a;this.o=c;this.D=b}; Cha=function(a){a.j.splice(0);a.v.forEach(function(b){b.isActive()&&a.j.push(b)})};Dha=function(a){if(a.j.length>0){var b=a.D,c=a.j.map(function(d){var e=d.target,f=d.v;d.o=f.width;d.j=f.height;return new Hha(e,f)});a.B.call(b,c,b);a.j.splice(0)}};QL=function(a){if(!(this instanceof QL))throw new TypeError("md");if(!arguments.length)throw new TypeError("kd");OL||(OL=new FL);this.lm=new PL(a,this)}; RL=function(a){var b=a.dataset.resizeObserverId;if(b)return b;b=""+Iha++;return a.dataset.resizeObserverId=b}; Jha=function(a){a=_.z(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=RL(b.target),d=Object.assign({},{target:b.target},SL.get(c));if(d!=null&&d.contentRect?d.contentRect.width!==b.contentRect.width||d.contentRect.height!==b.contentRect.height:1)for(SL.set(c,{borderBoxSize:b.borderBoxSize,contentBoxSize:b.contentBoxSize,contentRect:b.contentRect,devicePixelContentBoxSize:b.devicePixelContentBoxSize}),c=_.z(TL.get(c)||[]),d=c.next();!d.done;d=c.next())d=d.value,d(b)}}; VL=function(a,b){var c=RL(a);TL.has(c)||TL.set(c,new Set);TL.get(c).add(b);SL.has(c)&&b(Object.assign({},{target:a},SL.get(c)));UL||(UL=new Kha(Jha));b=UL;b.observe(a)};WL=function(a,b){var c=RL(a);TL.has(c)&&(TL.get(c).delete(b),TL.get(c).size===0&&(TL.delete(c),SL.delete(c),UL.unobserve(a),delete a.dataset.resizeObserverId));TL.size===0&&UL&&(UL.disconnect(),UL=void 0)};Mha=function(a,b){var c=_.yp().resolve(_.Lx);return Lha.map(function(d){return c.observe(a,b,d)})}; Nha=function(a){var b=_.yp().resolve(_.Lx);a.forEach(function(c){b.af(c)})}; Pha=function(){var a=_.z(xha()),b=a.next().value,c=a.next().value,d=Object.assign({},Oha,{wo:!1}),e=tha(function(f){var g=f.contentRect.height;if((f=f.contentRect.width)||g||d.wo)b.width()===f&&b.height()===g||c(b,{height:g,width:f})},d.OA);return[b,function(f){var g=[];d.wB&&(g=Mha(f,function(h,l){requestAnimationFrame(function(){l==="visible"?VL(f,e):WL(f,e)})}));g.length||VL(f,e);return function(){g.length&&(Nha(g),g.length=0);WL(f,e)}}]}; _.XL=function(){var a;return _.A(function(b){if(b.j==1)return b.yield((0,_.ti)("osTtxe"),2);a=_.SK;return b.return(a)})};_.YL=function(){var a;return _.A(function(b){if(b.j==1)return b.yield((0,_.ti)("HwlOhd"),2);a=_.JK;return b.return(a)})};ZL=function(a,b){if(a===void 0)b();else{a=_.Qu(a);try{b()}finally{_.Qu(a)}}};$L=function(a,b,c){b=b===void 0?"unknown":b;c=c===void 0?{}:c;_.ol.call(this,a+" ("+b+")",Object.assign({},{name:"YtWcwError",tagName:b},c));Object.setPrototypeOf(this,this.constructor.prototype)}; aM=function(a){a=new $L(a,"chip-bar-view-model");_.jr(a);throw a;};Qha=function(a,b,c){var d=uL(a);a.ii=0;var e=[[a],function(){}];try{e=yha(function(){return _.G(b,Object.assign({},c))})}catch(g){var f=function(h){h.args||(h.args=[]);h.args.push("Error in web component wrapper");h.args.push(a.tagName.toLowerCase());return h};_.Cu(g instanceof Error?f(g):new $L("Wiz rendering error",a.tagName.toLowerCase()));_.ew(g)}finally{uL(d)}return e}; Vha=function(){function a(){var m=g.apply(this,arguments)||this;m.Om={};m.Ve=!1;m.owner=null;m.dispose=function(){};m.isWebComponentWrapper=!0;m.Vp=!1;m.Ui=!1;m.Vf=!1;return m}function b(m){var n={};m=_.z(m);for(var p=m.next();!p.done;p=m.next()){p=p.value;var r=void 0,t=void 0,u=void 0,v=qL((u=(t=(r=p).getAttribute)==null?void 0:t.call(r,"slot"))!=null?u:"children");if(r=n[v])r.push(p);else if(v in f||v==="children")n[v]=[p]}m=_.z(Object.keys(n));v=m.next();for(p={};!v.done;p={Go:void 0},v=m.next())v= v.value,v!=="children"&&(p.Go=n[v],n[v]=function(w){return function(){return w.Go}}(p));return n}var c=_.JK,d={props:{data:bM,className:bM,disableDeselection:bM,disableChipsScrollAnimation:bM}};d=d===void 0?{}:d;c.debugName="chip-bar-view-model (CoW)";var e,f=(e=d.props)!=null?e:{};_.cM.add("chip-bar-view-model");var g=Aha();_.x(a,g);a.prototype.Up=function(){return"data"in f&&!this.Om.data&&!this.getAttribute("data")};a.prototype.Cc=function(){function m(){}var n=this;_.C("lazy_cow_web_component_wrapper_ks")|| this.Ui||(this.Xm(),this.Ui=!0);_.C("lazy_cow_web_component_wrapper_ks")&&(this.Ui=!0);for(var p=_.z([].concat(_.va(this.attributes))),r=p.next();!r.done;r=p.next())r=r.value,r.name!=="slot"&&r.name!=="hidden"&&this.removeAttribute(r.name);var t=c,u=Object.assign({},this.Mu,this.xA),v=Rha.get(this);if(v){var w=t;t=_.H(function(E){return _.G(_.YE,{Og:v.map(function(D){return _.ZE(D[0],D[1])})},_.G(w,Object.assign({},E)))},"bb");t.debugName="chip-bar-view-model (Context Provider)"}var y=[];ZL(this.owner, function(){var E=_.z(Qha(n,t,u));y=E.next().value;m=E.next().value});!(y[0]instanceof Element)||y.length>1?aM("Wrapped Wiz components must return a single root element."):(p=y[0].tagName.toLowerCase(),p!=="chip-bar-view-model"&&aM("Wrapped Wiz components must have the same host tag name as the web component. Expected tag '"+(p+" !== 'chip-bar-view-model")),this.dispose=m)};a.prototype.Xm=function(){var m=this;ZL(this.owner,function(){for(var n=m.Om,p=m.attributes,r=_.z(Object.keys(f)),t=r.next();!t.done;t= r.next()){t=t.value;var u=void 0;((u=m)==null?0:u[t])&&m[t]!==dM&&n[t]===void 0&&(n[t]=m[t],(u=Object.getOwnPropertyDescriptor(m.constructor.prototype,t))&&Object.defineProperty(m,t,u))}r=_.z(p);for(t=r.next();!t.done;t=r.next()){u=t.value;t=qL(u.name);var v=t==="class"&&!p.getNamedItem("class-name");if(t in f||v)u=u.value===""||u.value==="true"?!0:u.value==="false"?!1:isNaN(Number(u.value))?u.value:Number(u.value),t!=="class"||n.className?n[t]=u:n.className=u}p={};for(var w in f)f[w]!==bM&&f[w]!== Sha&&(n[w]instanceof Function&&aM("Function props must be configured as STATIC, not SIGNAL."),t=_.z(_.Nv(n[w],void 0,"krzCTc")),r=t.next().value,t=t.next().value,p[w]=t,n[w]=r);n=_.z([n,p]);m.Mu=n.next().value;m.sr=n.next().value});this.xA=b(this.childNodes)};a.prototype.kA=function(){for(var m=this;m&&!m.Tt;){var n=void 0,p=void 0;m=(p=m.parentElement)!=null?p:(n=m.parentNode)==null?void 0:n.host}var r,t;this.owner=(t=(r=m)==null?void 0:r.Tt)!=null?t:null};a.prototype.connectedCallback=function(){var m= this;if(!_.eM.has(this))if(this.Vp)this.Vp=!1;else{this.Ve=this.Up();this.Vf=!_.C("lazy_cow_web_component_wrapper_ks")&&_.uC.has(c);this.owner||this.kA();var n;if((n=this.owner)==null?0:n.ia)this.owner=null;!_.C("lazy_cow_web_component_wrapper_ks")||this.Ui||this.Ve||this.Xm();this.Ve||this.Vf||this.Cc();if(this.Vf){var p;(p=_.uC.get(c))==null||p().then(function(r){r.debugName="chip-bar-view-model (CoW)";c=r;m.Vf=!1;!m.Up()&&m.isConnected&&(m.Ve=!1,m.Cc())}).catch(function(){var r=new $L("Failed to load chunk", "chip-bar-view-model");_.jr(r)})}}};a.prototype.disconnectedCallback=function(){if(!_.eM.has(this)){this.dispose();if(!this.Ve&&!this.Vf)for(var m=_.z([].concat(_.va(this.attributes))),n=m.next();!n.done;n=m.next()){n=n.value;var p=void 0;n.name==="slot"||n.name==="hidden"&&((p=d.uK)==null?0:p.has("hidden"))||this.removeAttribute(n.name)}this.innerText="";Object.assign(this,{_disposeEffects:void 0,_signalProps:void 0,_signalValues:void 0})}};a.prototype.cH=function(){};_.oa.Object.defineProperties(a.prototype, {ZG:{configurable:!0,enumerable:!0,get:function(){return!1}},WG:{configurable:!0,enumerable:!0,get:function(){}}});e=Object.keys(f);e.includes("className")&&e.push("class");e=_.z(e);for(var h=e.next(),l={};!h.done;l={vd:void 0},h=e.next())l.vd=h.value,h=void 0,((h=d.VI)==null?0:h.lI)&&Tha.has(l.vd)||Object.defineProperty(a.prototype,l.vd,{set:function(m){return function(n){var p=this;_.eM.has(this)||(m.vd==="class"&&(m.vd="className"),this.sr?_.cA(function(){var r,t;return void((t=(r=p.sr)[m.vd])== null?void 0:t.call(r,n))}):(this.Om[m.vd]=n,this.Ve&&m.vd==="data"&&n!=null&&(this.Ve=!1,_.C("lazy_cow_web_component_wrapper_ks")&&this.Xm(),this.Vf||this.Cc())))}}(l),get:Uha.has(l.vd)?void 0:function(){return dM}});customElements.define("chip-bar-view-model",a)};_.fM=function(){var a;return _.A(function(b){if(b.j==1)return b.yield((0,_.ti)("FsoXzc"),2);a=_.EF;return b.return(a)})};_.gM=function(){var a;return _.A(function(b){if(b.j==1)return b.yield((0,_.ti)("hjrNn"),2);a=_.jC;return b.return(a)})}; _.hM=function(){var a;return _.A(function(b){if(b.j==1)return b.yield((0,_.ti)("Hxjlbb"),2);a=_.GF;return b.return(a)})};_.iM=function(){var a;return _.A(function(b){if(b.j==1)return b.yield((0,_.ti)("UAM5m"),2);a=_.MK;return b.return(a)})}; jM=function(a){switch(a){case "LINEAR_LAYOUT_SPACE_S1":return 4;case "LINEAR_LAYOUT_SPACE_S2":return 8;case "LINEAR_LAYOUT_SPACE_S3":return 12;case "LINEAR_LAYOUT_SPACE_S4":return 16;case "LINEAR_LAYOUT_SPACE_S5":return 20;case "LINEAR_LAYOUT_SPACE_S6":return 24;case "LINEAR_LAYOUT_SPACE_S7":return 28;case "LINEAR_LAYOUT_SPACE_S8":return 32;case "LINEAR_LAYOUT_SPACE_S9":return 36;case "LINEAR_LAYOUT_SPACE_S10":return 40;case "LINEAR_LAYOUT_SPACE_S11":return 44;case "LINEAR_LAYOUT_SPACE_S12":return 48; case "LINEAR_LAYOUT_SPACE_S13":return 52;case "LINEAR_LAYOUT_SPACE_S14":return 56;case "LINEAR_LAYOUT_SPACE_S15":return 60;case "LINEAR_LAYOUT_SPACE_S16":return 64;case "LINEAR_LAYOUT_SPACE_S17":return 68;case "LINEAR_LAYOUT_SPACE_S18":return 72;default:return 0}};Wha=function(a){switch(a){case "LINEAR_LAYOUT_FLEX_GROW_S1":return 1;case "LINEAR_LAYOUT_FLEX_GROW_S2":return 2;case "LINEAR_LAYOUT_FLEX_GROW_S3":return 3;default:return 1}}; Xha=function(a){switch(a){case "LINEAR_LAYOUT_FLEX_SHRINK_S1":return 1;case "LINEAR_LAYOUT_FLEX_SHRINK_S2":return 2;case "LINEAR_LAYOUT_FLEX_SHRINK_S3":return 3;default:return 1}};kM=function(a){return jM(a==null?void 0:a.all)};Yha=function(a){var b={};(a=a==null?void 0:a.padding)&&(b.padding=jM(a.vertical)+"px "+jM(a.horizontal)+"px");return b}; Zha=function(a){switch(a){case "FLEX_DIRECTION_COLUMN_REVERSE":return"ytLinearLayoutViewModelFlexDirectionColumnReverse";case "FLEX_DIRECTION_ROW":return"ytLinearLayoutViewModelFlexDirectionRow";case "FLEX_DIRECTION_ROW_REVERSE":return"ytLinearLayoutViewModelFlexDirectionRowReverse";default:return"ytLinearLayoutViewModelFlexDirectionColumn"}}; $ha=function(a){switch(a){case "JUSTIFY_CONTENT_CENTER":return"ytLinearLayoutViewModelJustifyContentCenter";case "JUSTIFY_CONTENT_FLEX_END":return"ytLinearLayoutViewModelJustifyContentFlexEnd";case "JUSTIFY_CONTENT_SPACE_AROUND":return"ytLinearLayoutViewModelJustifyContentSpaceAround";case "JUSTIFY_CONTENT_BETWEEN":return"ytLinearLayoutViewModelJustifyContentBetween";case "JUSTIFY_CONTENT_SPACE_EVENLY":return"ytLinearLayoutViewModelJustifyContentSpaceEvenly";default:return"ytLinearLayoutViewModelJustifyContentFlexStart"}}; aia=function(a){switch(a){case "ALIGN_ITEMS_START":return"ytLinearLayoutViewModelAlignItemsStart";case "ALIGN_ITEMS_END":return"ytLinearLayoutViewModelAlignItemsEnd";case "ALIGN_ITEMS_CENTER":return"ytLinearLayoutViewModelAlignItemsCenter";case "ALIGN_ITEMS_BASELINE_FIRST":return"ytLinearLayoutViewModelAlignItemsBaselineFirst";case "ALIGN_ITEMS_BASELINE_LAST":return"ytLinearLayoutViewModelAlignItemsBaselineLast";default:return"ytLinearLayoutViewModelAlignItemsStretch"}}; bia=function(a,b){if(b)return{Fo:Yha(b),bq:function(c,d,e){var f={};e?(f["flex-grow"]=""+Wha(e.flexGrow),f["flex-shrink"]=""+Xha(e.flexShrink),f["flex-basis"]="0"):f.flex="1";e=b==null?void 0:b.flexDirection;b:switch(e){case "FLEX_DIRECTION_ROW_REVERSE":case "FLEX_DIRECTION_COLUMN_REVERSE":c=!!c;break b;default:c=!!d}c||(c=_.B("HTML_DIR")==="rtl"||document.body.getAttribute("dir")==="rtl",e==="FLEX_DIRECTION_ROW"||e==="FLEX_DIRECTION_ROW_REVERSE"?(e=kM(b==null?void 0:b.gap)+"px",c?f["margin-left"]= e:f["margin-right"]=e):f["margin-bottom"]=kM(b==null?void 0:b.gap)+"px");return f},containerLayoutConfig:{responsiveSize:"RESPONSIVE_SIZE_STANDARD",containerSize:"CONTAINER_SIZE_UNSPECIFIED",containerType:(b==null?void 0:b.flexDirection)==="FLEX_DIRECTION_ROW"||(b==null?void 0:b.flexDirection)==="FLEX_DIRECTION_ROW_REVERSE"?"CONTAINER_TYPE_HORIZONTAL_LIST":"CONTAINER_TYPE_VERTICAL_LIST",Io:"33%"}}}; cia=function(a,b,c,d){var e=_.KK(a.responsiveSize),f;a=!((f=a.responsiveMap)==null||!f.some(function(g){return g.containerSize==="CONTAINER_SIZE_NARROW"&&g.containerType==="CONTAINER_TYPE_VERTICAL_LIST"}));return{ly:c,containerWidth:b,Cd:e,yv:e==="STANDARD",Ll:e==="COMPACT"&&a,xu:d}};lM=function(a){return a<528?"CONTAINER_SIZE_NARROW":a<1024?"CONTAINER_SIZE_MEDIUM":"CONTAINER_SIZE_WIDE"}; mM=function(a,b){a=_.z(a.responsiveMap||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.containerSize===b)return c.containerType}; dia=function(a,b){if(b){var c=b.responsiveSize;a=lM(a);var d=mM(b,a);if(d&&c){a:{if(d==="CONTAINER_TYPE_VERTICAL_LIST")if(c==="RESPONSIVE_SIZE_STANDARD"){if(a!=="CONTAINER_SIZE_NARROW"){var e="50%";break a}}else{e=a==="CONTAINER_SIZE_NARROW"?"50%":"33.3%";break a}e=void 0}var f=d!=="CONTAINER_TYPE_VERTICAL_LIST"||!_.C("web_enable_constrained_list_layout")||c!=="RESPONSIVE_SIZE_STANDARD"&&c!=="RESPONSIVE_SIZE_COMPACT"||a==="CONTAINER_SIZE_NARROW"?void 0:"min-width: 200px; max-width: 500px";return{responsiveSize:c, containerSize:a,containerType:d,force16By9ThumbnailAspectRatio:!b.enableContentSpecificAspectRatio,Io:e,Qu:f,vl:(d==="CONTAINER_TYPE_VERTICAL_LIST"||d==="CONTAINER_TYPE_GRID")&&a==="CONTAINER_SIZE_NARROW"&&c==="RESPONSIVE_SIZE_STANDARD"}}}}; eia=function(a,b,c){var d={};switch(c){case "CONTAINER_TYPE_VERTICAL_LIST":d["flex-direction"]="column";_.C("web_enable_constrained_list_layout")&&(d["max-width"]=b==="RESPONSIVE_SIZE_STANDARD"?"1024px":"840px",d["box-sizing"]="border-box",d["margin-left"]="auto",d["margin-right"]="auto");break;case "CONTAINER_TYPE_GRID":d["flex-direction"]="row";d.flex="none";d["flex-wrap"]="wrap";d.width=a.wj?a.wj+a.gutter+"px":void 0;a=-a.gutter/2;a>=0?d.padding="0 "+a+"px":d.margin="0 "+a+"px";break;case "CONTAINER_TYPE_HORIZONTAL_LIST":d["flex-direction"]= "row",d.flex="none",d["overflow-x"]="auto",d.width=a.wj?a.wj+"px":void 0}return d}; fia=function(a,b){if(b){var c=mM(b,lM(a));a:switch(c){case "CONTAINER_TYPE_GRID":var d=2;break a;default:d=0}d=cia(b,a,d,c==="CONTAINER_TYPE_GRID");var e=vha(d);a=dia(a,b);return{containerLayoutConfig:a,Fo:eia(e,a==null?void 0:a.responsiveSize,c),bq:function(f,g){f=_.yp().resolve(_.LF)==="rtl";var h={};switch(c){case "CONTAINER_TYPE_VERTICAL_LIST":g||(h["margin-bottom"]="16px");break;case "CONTAINER_TYPE_GRID":h.width=e.itemWidth+"px";h["margin-right"]=e.gutter/2+"px";h["margin-left"]=e.gutter/2+ "px";break;case "CONTAINER_TYPE_HORIZONTAL_LIST":h.width=e.itemWidth+"px",h.flex="none",g||(f?h["margin-left"]=e.gutter+"px":h["margin-right"]=e.gutter+"px")}return h}}}};_.eM=new WeakMap;_.cM=new Set;var wL=Symbol("dd"),AL=Symbol("ed");var yL=Array.isArray;_.sB=_.DB;var zha=!!/^\s*class\s*\{\s*\}\s*$/.test(function(){}.toString())||HTMLElement.es5Shimmed||_.Sa.Reflect===void 0||_.Sa.customElements===void 0||_.Sa.customElements.polyfillWrapFlushCallback||!1,EL;var GL=typeof window!=="undefined"&&typeof document!=="undefined"&&window.document===document;var gia="top right bottom left width height size weight".split(" "),Fha=typeof MutationObserver!=="undefined",HL=GL&&HTMLElement.prototype.attachShadow&&HTMLElement.prototype.attachShadow.toString().indexOf("[native code]")!==-1?HTMLElement.prototype.attachShadow:null;FL.prototype.refresh=function(){Eha(this)&&this.refresh()};FL.prototype.B=function(a){var b=a.propertyName===void 0?"":a.propertyName;gia.some(function(c){return!!~b.indexOf(c)})&&this.refresh()};var OL=null;var nM={x:0,y:0,width:0,height:0},hia=typeof SVGGraphicsElement!=="undefined"?function(a){return a instanceof KL(a).SVGGraphicsElement}:function(a){return a instanceof KL(a).SVGElement&&typeof a.getBBox==="function"};NL.prototype.isActive=function(){var a=this.target;if(GL)if(hia(a)){var b=a.getBBox();b={x:0,y:0,width:b.width,height:b.height}}else{var c=a.clientWidth,d=a.clientHeight;if(c||d){var e=KL(a).getComputedStyle(a);b=LL(e["padding-top"]);var f=LL(e["padding-left"]),g=f+LL(e["padding-right"]),h=b+LL(e["padding-bottom"]),l=LL(e.width),m=LL(e.height);e.boxSizing==="border-box"&&(Math.round(l+g)!==c&&(l-=ML(e,"left","right")+g),Math.round(m+h)!==d&&(m-=ML(e,"top","bottom")+h));a!==KL(a).document.documentElement&& (a=Math.round(l+g)-c,d=Math.round(m+h)-d,Math.abs(a)!==1&&(l-=a),Math.abs(d)!==1&&(m-=d));b={x:f,y:b,width:l,height:m}}else b=nM}else b=nM;this.v=b;return b.width!==this.o||b.height!==this.j};PL.prototype.observe=function(a){if(a===void 0)throw new TypeError("kd");if(typeof Element!=="undefined"&&Element instanceof Object){if(!(a instanceof KL(a).Element))throw new TypeError("ld");var b=this.v;b.has(a)||(b.set(a,new NL(a)),a=this.o,~a.v.indexOf(this)||a.v.push(this),a.o||Gha(a),this.o.refresh())}}; PL.prototype.unobserve=function(a){if(a===void 0)throw new TypeError("kd");if(typeof Element!=="undefined"&&Element instanceof Object){if(!(a instanceof KL(a).Element))throw new TypeError("ld");var b=this.v;b.has(a)&&(b.delete(a),b.size||IL(this.o,this))}};PL.prototype.disconnect=function(){this.j.splice(0);this.v.clear();IL(this.o,this)};QL.prototype.observe=function(a){this.lm.observe(a)};QL.prototype.unobserve=function(a){this.lm.unobserve(a)};QL.prototype.disconnect=function(){this.lm.disconnect()};var Kha=typeof globalThis.ResizeObserver!=="undefined"?globalThis.ResizeObserver:QL;var iia=new _.pp("CHAT_USER_TURN_VIEW_MODEL_TOKEN");var jia=new _.pp("CLUSTER_VIEW_MODEL_TOKEN");var kia=new _.pp("LINE_CHART_VIEW_MODEL_TOKEN");var lia=new _.pp("SHORTS_LOCKUP_VIEW_MODEL_TOKEN");var mia=new _.pp("YT_CARD_VIEW_MODEL_TOKEN");var SL=new Map,TL=new Map,Iha=0,UL;var Lha=[{Vb:!1,state:"visible"},{Vb:!1,state:"hidden"}],Oha={OA:0,wo:!0,wB:!1};var nia=_.vC(function(){return _.XL()},{debugName:"basicContentViewModel"});_.Nu(_.TC,function(a){a.aa("basicContentViewModel","osTtxe",_.XL)});var oia=_.vC(function(){return _.YL()},{debugName:"chipBarViewModel"});_.Nu(_.TC,function(a){a.aa("chipBarViewModel","HwlOhd",_.YL)});var Tha=new Set(["className","id"]);_.x($L,_.ol);var Rha=new WeakMap;var bM=Symbol("nd"),Sha=Symbol("od"),Uha=new Set(Object.getOwnPropertyNames(Element.prototype)),dM=Symbol("pd");window.customElements&&Vha();var pia=_.vC(function(){return _.fM()},{debugName:"contentListItemViewModel"});_.Nu(_.TC,function(a){a.aa("contentListItemViewModel","FsoXzc",_.fM)});var qia=_.vC(function(){return _.gM()},{debugName:"dividerViewModel"});_.Nu(_.TC,function(a){a.aa("dividerViewModel","hjrNn",_.gM)});var ria=_.vC(function(){return _.hM()},{debugName:"listViewModel"});_.Nu(_.TC,function(a){a.aa("listViewModel","Hxjlbb",_.hM)});var sia=_.vC(function(){return _.iM()},{debugName:"lockupViewModel"});_.Nu(_.TC,function(a){a.aa("lockupViewModel","UAM5m",_.iM)});var tia=new _.pp("YTFC_YOUTH_BASIC_SECTION_HEADER_VIEW_MODEL_TOKEN");_.EC=_.H(function(a){function b(){return fia(d.width(),a.data().responsiveContainerConfiguration)||bia(d.width(),a.data().linearLayoutContainerConfiguration)}var c=_.z(Pha()),d=c.next().value;c=c.next().value;var e=_.yp().resolve(_.rp(tia)),f=_.yp().resolve(_.rp(lia)),g=_.yp().resolve(_.rp(jia)),h=_.yp().resolve(_.rp(iia)),l=_.yp().resolve(_.rp(_.OK)),m=_.yp().resolve(_.rp(kia)),n=_.yp().resolve(_.rp(_.mJ)),p=_.yp().resolve(_.rp(mia));return _.G("yt-linear-layout-view-model",{el:_.OF(c),class:"ytLinearLayoutViewModelHost"}, _.G("div",{class:_.K("ytLinearLayoutViewModelContainer",function(){a:switch(a.data().orientation){case "LINEAR_LAYOUT_ORIENTATION_HORIZONTAL":var r="ytLinearLayoutViewModelHorizontal";break a;default:r="ytLinearLayoutViewModelVertical"}return r},function(){var r=a.data().linearLayoutContainerConfiguration;return r?[Zha(r.flexDirection),$ha(r.justifyContent),aia(r.alignItems)].join(" "):""}),style:function(){var r;var t=((r=b())==null?void 0:r.Fo)||{};return _.SG(t)()}},_.G(_.uF,{data:function(){return a.data().items}, wrapper:function(r,t,u){return _.G("div",{style:function(){var v=u(),w;if((w=b())==null)v=void 0;else{var y=w.bq,E,D;var N=(D=(E=a.data().items)==null?void 0:E.length)!=null?D:0;N=v===N-1;var M,R;E=(R=(M=a.data().itemConfigs)==null?void 0:M[v])!=null?R:void 0;v=y.call(w,v===0,N,E)}return _.SG(v||{})()}},r())}},Object.assign({},{lockupViewModel:function(r){return _.G(sia,{data:r.data,containerLayoutConfig:function(){var t;return(t=b())==null?void 0:t.containerLayoutConfig}})},basicContentViewModel:nia, buttonViewModel:_.KE,chipBarViewModel:oia,linearLayoutViewModel:_.EC},p&&{cardViewModel:p},{thumbnailViewModel:_.NK,descriptionPreviewViewModel:_.VK,listItemViewModel:_.QK,listViewModel:ria,sectionHeaderViewModel:_.TK},e&&{youthBasicSectionHeaderViewModel:e},{contentListItemViewModel:pia,dividerViewModel:qia},f&&{shortsLockupViewModel:function(r){return _.G(f,{data:r.data,scrimStyle:3,aspectRatio:1})}},g&&{clusterViewModel:g},h&&{chatUserTurnViewModel:function(r){return _.G(h,{data:r.data,containerHeight:d.height, isFullWidth:!0,CI:!0})}},l&&{aiCompanionAttachmentViewModel:l},m&&{lineChartViewModel:m},n&&{horizontalBarViewModel:n}))))},"cb"); }catch(e){_._DumpException(e)} try{ _.df("base"); var i3,j3,k3,l3,p3,iua,q3,kua,r3,t3,u3,x3,y3,z3,A3,B3,lua,C3,D3,E3,G3,H3,J3,K3,L3,M3,N3,O3,P3,Q3,R3,S3,mua,nua,pua,T3,U3,V3,W3,X3,Y3,Z3,$3,a4,b4,c4,d4,e4,f4,rua,g4,h4,sua,i4,tua,uua,vua,j4,k4,m4,n4,o4,p4,q4,r4,s4,t4,u4,v4,w4,y4,z4,A4,B4,C4,wua,xua,D4,E4,F4,G4,H4,I4,J4,yua,L4,M4,N4,O4,Aua,P4,Bua,Q4,Cua,R4,Dua,Eua,Fua,U4,Gua,Hua,Iua,W4,X4,$4,Jua,Z4,Y4,b5,c5,Kua,d5,Lua,e5,f5,g5,Mua,Nua,Oua,Pua,Qua,i5,Rua,Tua,k5,Uua,l5,m5,Vua,n5,o5,p5,q5,s5,t5,u5,v5,w5,x5,z5,Wua,Xua,A5,Yua,Zua,$ua,E5,C5,F5,I5,D5,G5,J5, bva,O5,B5,P5,cva,K5,N5,H5,ava,L5,M5,dva,eva,R5,S5,fva,gva,T5,U5,hva,V5,iva,W5,X5,$5,Z5,jva,a6,lva,mva,c6,nva,d6,e6,f6,g6,h6,i6,j6,k6,l6,m6,n6,o6,p6,q6,r6,ova,s6,t6,u6,v6,w6,x6,y6,B6,C6,D6,E6,F6,G6,H6,I6,rva,K6,sva,N6,O6,P6,Q6,R6,T6,S6,tva,vva,U6,V6,W6,m3,n3,Z6,wva,$6,a7,xva,Y6,zva,yva,X6,b7,c7,d7,e7,Ava,Bva,f7,g7,h7,qva,pva,i7,j7,k7,l7,m7,Cva,n7,Dva,o7,p7,r7,s7,t7,u7,v7,Eva,w7,Fva,x7,y7,q7,z7,b6,A7,B7,C7,D7,E7,F7,Iva,G7,Jva,Kva,H7,Lva,Mva,I7,K7,Pva,L7,Qva,Rva,M7,N7,Nva,O7,P7,Tva,J7,Q7,R7,S7,T7,V7, W7,Vva,Wva,X7,Xva,kva,Yva,Zva,Y7,Z7,$7,a8,b8,c8,d8,f8,g8,e8,i8,bwa,h8,dwa,j8,k8,ewa,fwa,gwa,hwa,l8,o8,p8,q8,r8,s8,t8,u8,w8,y8,x8,jwa,z8,A8,B8,kwa,C8,E8,D8,mwa,K4,G8,H8,I8,nwa,J8,n8,L8,M8,N8,O8,pwa,P8,rwa,Q8,R8,S8,swa,Y5,T8,U8,twa,uwa,Y8,Z8,b9,vwa,a9,e9,xwa,wwa,$8,ywa,d9,zwa,c9,g9,i9,Awa,k9,j9,m9,l9,n9,Bwa,o9,p9,q9,r9,s9,h9,Ewa,Gwa,Hwa,x9,w9,Kwa,v9,u9,y9,z9,A9,B9,C9,D9,E9,F9,Lwa,Mwa,G9,H9,I9,Nwa,J9,Owa,Pwa,K9,Sva,cwa,Qwa,Swa,Twa,L9,M9,Uwa,O9,P9,Q9,Vwa,R9,Wwa,S9,T9,U9,V9,W9,X9,Y9,Ywa,Z9,$9,Zwa,a$,b$, $wa,S4,axa,c$,bxa,cxa,dxa,exa,gxa,g$,f$,hxa,h$,jxa,ixa,kxa,i$,j$,k$,p$,n$,r$,nxa,m$,q$,o$,u$,oxa,pxa,qxa,t$,sxa,txa,w$,uxa,vxa,y$,z$,xxa,yxa,D$,B$,wxa,E$,F$,zxa,Axa,o3,Bxa;i3=function(a){return new Uint8Array(_.fd(a)||0)};j3=function(a){if(a!=null&&typeof a!=="string")throw Error();return a};k3=function(a,b,c){return _.xw(a,b,j3(c))};l3=function(a,b,c){if(c!=null){if(!(0,_.ht)(c))throw _.Lw("enum");c|=0}return _.xw(a,b,c)}; p3=function(){var a=m3,b=n3;this.j=175237375;this.ctor=b;this.isRepeated=0;this.o=_.Ox;this.defaultValue=void 0;this.v=a.messageId!=null?o3:void 0};iua=function(a){for(var b=[],c=0;c>>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=iua(a);for(var c=2654435769,d=2654435769,e=314159265,f=a.length,g=f,h=0;g>=12;g-=12,h+=12)c+=q3(a,h),d+=q3(a,h+4),e+=q3(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]}b();return jua.toString(e)};r3=function(a,b){a.addOnDisposeCallback(_.gb(_.jf,b))}; t3=function(a){var b=!1;b=b===void 0?!1:b;if(_.As){if(b&&(_.zs?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("C");a=(s3||(s3=new TextEncoder)).encode(a)}else{for(var c=0,d=new Uint8Array(3*a.length),e=0;e>6|192;else{if(f>=55296&&f<=57343){if(f<=56319&&e=56320&&g<=57343){f=(f-55296)*1024+g-56320+65536;d[c++]=f>>18| 240;d[c++]=f>>12&63|128;d[c++]=f>>6&63|128;d[c++]=f&63|128;continue}else e--}if(b)throw Error("C");f=65533}d[c++]=f>>12|224;d[c++]=f>>6&63|128}d[c++]=f&63|128}}a=c===d.length?d:d.subarray(0,c)}return a};u3=function(){return typeof BigInt==="function"};x3=function(a){var b=a>>>0;v3=b;w3=(a-b)/4294967296>>>0};y3=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};z3=function(a){if(a<0){x3(-a);var b=_.z(y3(v3,w3));a=b.next().value;b=b.next().value;v3=a>>>0;w3=b>>>0}else x3(a)}; A3=function(a){if(a.length<16)z3(Number(a));else if(u3())a=BigInt(a),v3=Number(a&BigInt(4294967295))>>>0,w3=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");w3=v3=0;for(var c=a.length,d=b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),w3*=1E6,v3=v3*1E6+d,v3>=4294967296&&(w3+=Math.trunc(v3/4294967296),w3>>>=0,v3>>>=0);b&&(b=_.z(y3(v3,w3)),a=b.next().value,b=b.next().value,v3=a,w3=b)}};B3=function(a,b,c){this.buffer=a;if(c&&!b)throw Error();}; lua=function(a){if(typeof a==="string")return new B3(_.cd(a),!0);if(Array.isArray(a))return new B3(new Uint8Array(a),!0);if(a.constructor===Uint8Array)return new B3(a,!1);if(a.constructor===ArrayBuffer)return a=new Uint8Array(a),new B3(a,!1);if(a.constructor===_.Ld){var b=_.fd(a)||new Uint8Array(0);return new B3(b,!0,a)}if(a instanceof Uint8Array)return a=a.constructor===Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),new B3(a,!1);throw Error();}; C3=function(a,b){this.o=a>>>0;this.j=b>>>0};D3=function(a){return a.o===0?new C3(0,1+~a.j):new C3(~a.o+1,~a.j)};E3=function(a){a=BigInt.asUintN(64,a);return new C3(Number(a&BigInt(4294967295)),Number(a>>BigInt(32)))};G3=function(a){if(!a)return F3||(F3=new C3(0,0));if(!/^\d+$/.test(a))return null;A3(a);return new C3(v3,w3)};H3=function(a,b){this.o=a>>>0;this.j=b>>>0};J3=function(a){if(!a)return I3||(I3=new H3(0,0));if(!/^-?\d+$/.test(a))return null;A3(a);return new H3(v3,w3)}; K3=function(a,b,c){for(;c>0||b>127;)a.j.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.j.push(b)};L3=function(a,b){if(b>=0)_.QP(a,b);else{for(var c=0;c<9;c++)a.j.push(b&127|128),b>>=7;a.j.push(1)}};M3=function(a,b){a.j.push(b>>>0&255);a.j.push(b>>>8&255);a.j.push(b>>>16&255);a.j.push(b>>>24&255)};N3=function(a){switch(typeof a){case "string":G3(a)}};O3=function(a){switch(typeof a){case "string":a.length&&a[0]==="-"?G3(a.substring(1)):G3(a)}}; P3=function(a,b,c){if(c!=null)switch(N3(c),_.SP(a,b,1),typeof c){case "number":a=a.j;x3(c);M3(a,v3);M3(a,w3);break;case "bigint":c=E3(c);a=a.j;b=c.j;M3(a,c.o);M3(a,b);break;default:c=G3(c),a=a.j,b=c.j,M3(a,c.o),M3(a,b)}};Q3=function(a,b,c){c!=null&&(c=parseInt(c,10),_.SP(a,b,0),L3(a.j,c))};R3=function(a,b,c){_.SP(a,b,2);_.QP(a.j,c.length);_.RP(a,a.j.end());_.RP(a,c)};S3=function(){this.j=_.Aba[0].toLowerCase()}; mua=function(a){var b="true".toString(),c=[new S3];if(c.length===0)throw Error("z");if(c.map(function(d){if(d instanceof S3)d=d.j;else throw Error("z");return d}).every(function(d){return"data-loaded".indexOf(d)!==0}))throw Error("A`data-loaded");a.setAttribute("data-loaded",b)};nua=function(a,b){return a>b?1:a>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else u3()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+T3(c)+T3(a));return c};V3=function(a,b){var c=b*4294967296+(a>>>0);return Number.isSafeInteger(c)?c:U3(a,b)}; W3=function(){var a=v3,b=w3;b&2147483648?u3()?a=""+(BigInt(b|0)<>>0)):(b=_.z(y3(a,b)),a=b.next().value,b=b.next().value,a="-"+U3(a,b)):a=U3(a,b);return a};X3=function(a){if(a!=null&&typeof a!=="number")throw Error("I`"+typeof a+"`"+a);return a};Y3=function(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}; Z3=function(a){switch(typeof a){case "bigint":return!0;case "number":return(0,_.ht)(a);case "string":return qua.test(a);default:return!1}};$3=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return(0,_.ht)(a)?a>>>0:void 0};a4=function(a){var b=a.length;if(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")return a;A3(a);return W3()}; b4=function(a){var b=(0,_.jt)(Number(a));if((0,_.gt)(b))return _.wd(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return u3()?_.wd((0,_.et)(64,BigInt(a))):_.wd(a4(a))};c4=function(a){var b=(0,_.jt)(Number(a));if((0,_.gt)(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return a4(a)};d4=function(a){a=(0,_.jt)(a);if(!(0,_.gt)(a)){z3(a);var b=v3,c=w3;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);b=V3(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}; e4=function(a){a=(0,_.jt)(a);(0,_.gt)(a)?a=String(a):(z3(a),a=W3());return a};f4=function(a){return(0,_.gt)(a)?_.wd(d4(a)):_.wd(e4(a))}; rua=function(a){var b=void 0;b!=null||(b=1024);if(!Z3(a))throw _.Lw("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return c4(a);case "bigint":return String((0,_.et)(64,a));default:return e4(a)}case 1024:switch(c){case "string":return b4(a);case "bigint":return _.wd((0,_.et)(64,a));default:return f4(a)}case 0:switch(c){case "string":return c4(a);case "bigint":return _.wd((0,_.et)(64,a));default:return d4(a)}default:return _.Jb(b,"Unknown format requested type for int64")}}; g4=function(a){return a==null?a:rua(a)};h4=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return _.wd((0,_.et)(64,a));if(Z3(a))return b==="string"?b4(a):f4(a)};sua=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String((0,_.et)(64,a));if(Z3(a)){if(b==="string")return c4(a);if(b==="number")return d4(a)}}; i4=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String((0,_.ft)(64,a));if(Z3(a)){if(b==="string")return b=(0,_.jt)(Number(a)),(0,_.gt)(b)&&b>=0?a=String(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a[0]==="-"?b=!1:(b=a.length,b=b<20?!0:b===20&&a<="18446744073709551615"),b||(A3(a),a=U3(v3,w3))),a;if(b==="number")return a=(0,_.jt)(a),a>=0&&(0,_.gt)(a)||(z3(a),a=V3(v3,w3)),a}};tua=function(a){if(a==null||typeof a=="string"||a instanceof _.Ld)return a}; uua=function(a){if(typeof a!=="string")throw Error();return a};vua=function(a){return _.Rw(a,!0)};j4=function(a){a=_.Du(a,1,void 0,void 0,vua);return a==null?_.Qw():a}; k4=function(a,b,c){_.ww(a);var d=a.Z,e=d[_.kd]|0;if(b==null)return _.fe(d,e,3),a;var f=b===_.Ws?7:b[_.kd]|0,g=f,h=_.MP(f),l=h||Object.isFrozen(b);h||(f=0);l||(b=_.JP(b),g=0,f=_.NP(f,e),l=!1);f|=5;h=4&f?512&f?512:1024&f?1024:0:void 0;h=h!=null?h:1024;f|=h;for(var m=0;m>BigInt(32)));K3(a.j,c.o,c.j);break;default:c=J3(b),K3(a.j,c.o,c.j)}}};A4=function(a,b,c){b=_.Uw(b);b!=null&&b!=null&&(_.SP(a,c,0),L3(a.j,b))};B4=function(a,b,c){b=_.FA(b);b!=null&&R3(a,c,t3(b))};C4=function(a){return function(b){return _.cy(a,b)}}; _.rW=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};wua=function(a){for(var b in _.Tt)if(a.call(void 0,_.Tt[b],b,_.Tt))return b};xua=function(a,b){if(a!==null&&b in a)throw Error("S`"+b);a[b]=!0};D4=function(a){return a!==null&&"privembed"in a?a.privembed:!1};E4=function(a){var b={},c;for(c in a)b[c]=a[c];return b};F4=function(a){var b=document;return typeof a==="string"?b.getElementById(a):a};G4=function(a){for(var b;b=a.firstChild;)a.removeChild(b)}; H4=function(a){typeof a=="number"&&(a=Math.round(a)+"px");return a};I4=function(a){this.Z=_.Qd(a)};J4=function(a){return a?(a=a.privateDoNotAccessOrElseSafeScriptWrappedValue)?_.Pb(a):null:null};yua=function(){var a=K4;_.Ua("yt.ads.biscotti.getId_")||_.Ta("yt.ads.biscotti.getId_",a)};L4=function(a){_.Ta("yt.ads.biscotti.lastId_",a)};M4=function(a){return a.indexOf("?")!==-1?(a=(a||"").split("#")[0],a=a.split("?",2),_.sk(a.length>1?a[1]:a[0])):{}}; N4=function(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 zua||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;var c=a.target||a.srcElement;c&&c.nodeType==3&&(c=c.parentNode);this.target=c;var d=a.relatedTarget; if(d)try{d=d.nodeName?d:null}catch(e){d=null}else this.type=="mouseover"?d=a.fromElement:this.type=="mouseout"&&(d=a.toElement);this.relatedTarget=d;this.clientX=a.clientX!=void 0?a.clientX:a.pageX;this.clientY=a.clientY!=void 0?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||(this.type=="keypress"?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.j=a.pageX;this.o=a.pageY}}catch(e){}}; O4=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.j=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.o=a.clientY+b}}; Aua=function(a,b,c,d){d=d===void 0?{}:d;a.addEventListener&&(b!="mouseenter"||"onmouseenter"in document?b!="mouseleave"||"onmouseenter"in document?b=="mousewheel"&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return wua(function(e){var f=typeof e[4]==="boolean"&&e[4]==!!d,g;if(g=_.$a(e[4])&&_.$a(d))a:{g=e[4];for(var h in g)if(!(h in d)||g[h]!==d[h]){g=!1;break a}for(var l in d)if(!(l in g)){g=!1;break a}g=!0}return!!e.length&&e[0]==a&&e[1]== b&&e[2]==c&&(f||g)})}; P4=function(a,b,c,d){d=d===void 0?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Aua(a,b,c,d);if(e)return e;e=++_.Ut.count+"";var f=!(b!="mouseenter"&&b!="mouseleave"||!a.addEventListener||"onmouseenter"in document);var g=f?function(h){h=new N4(h);if(!_.pP(h.relatedTarget,function(l){return l==a}))return h.currentTarget=a,h.type=b,c.call(a,h)}:function(h){h=new N4(h);h.currentTarget=a;return c.call(a,h)};g=_.lk(g);a.addEventListener?(b=="mouseenter"&&f?b="mouseover":b=="mouseleave"&& f?b="mouseout":b=="mousewheel"&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),(0,_.Vt)()||typeof d==="boolean"?a.addEventListener(b,g,d):a.addEventListener(b,g,!!d.capture)):a.attachEvent("on"+b,g);_.Tt[e]=[a,b,c,g,d];return e}; Bua=function(a){a&&(typeof a=="string"&&(a=[a]),_.oe(a,function(b){if(b in _.Tt){var c=_.Tt[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?(0,_.Vt)()||typeof c==="boolean"?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete _.Tt[b]}}))}; Q4=function(a){this.S=a;this.j=null;this.B=0;this.I=null;this.D=0;this.o=[];for(a=0;a<4;a++)this.o.push(0);this.v=0;this.ea=P4(window,"mousemove",(0,_.fb)(this.ha,this));a=(0,_.fb)(this.W,this);typeof a==="function"&&(a=_.lk(a));this.ka=window.setInterval(a,25)};Cua=function(){var a=_.Kk("html5_web_po_experiment_ids");return Array.isArray(a)?_.ws(a,function(b){return Number(b||0)}):[Number(a||0)]}; R4=function(a){var b=this;this.o=void 0;this.j=!1;a.addEventListener("beforeinstallprompt",function(c){c.preventDefault();b.o=c});a.addEventListener("appinstalled",function(){b.j=!0},{once:!0})};Dua=function(){var a={};for(_.am=new S4(a.handleError===void 0?_.Cu:a.handleError,a.qj===void 0?_.ir:a.qj);_.bm.length>0;)switch(a=_.bm.shift(),a.type){case "ERROR":_.am.Gb(a.payload);break;case "EVENT":_.am.qj(a.eventType,a.payload)}}; Eua=function(a,b,c){return _.hn(function(d){return c?d.userIdentifier!==void 0&&!a.includes(d.userIdentifier)&&c.includes(d.publicName):d.userIdentifier!==void 0&&!a.includes(d.userIdentifier)},b)};Fua=function(a){var b,c;return _.A(function(d){if(d.j==1)return b=_.pl("YtIdbMeta hasAnyMeta other"),d.yield(_.hn(function(e){return e.userIdentifier!==void 0&&e.userIdentifier!==b},a),2);c=d.o;return d.return(c.length>0)})}; U4=function(a,b){T4||(T4=_.vg.rb(function(){var c,d,e,f,g;return _.A(function(h){switch(h.j){case 1:return h.yield(_.rn(),2);case 2:c=h.o;if(!c)return h.return();d=!0;h.D(3);return h.yield(Eua(a,c,b),5);case 5:e=h.o;if(!e.length){d=!1;h.J(6);break}f=e[0];return h.yield(_.an(f.actualName),7);case 7:return h.yield(_.gn(f.actualName,c),6);case 6:h.K(4);break;case 3:g=h.B(),_.cm(g),d=!1;case 4:_.vg.Ia(T4),T4=0,d&&U4(a,b),h.v()}})}))}; Gua=function(){var a;return _.A(function(b){return b.j==1?b.yield(_.rn(),2):(a=b.o)?b.return(Fua(a)):b.return(!1)})}; Hua=function(a){var b=b===void 0?!1:b;var c=c===void 0?!1:c;var d=(0,_.Dm)(),e={startTime:d,ticks:{},infos:{}},f=b?_.Ua("yt.logging.gzipForFetch",!1):!0;if(_.Yn&&f){if(!a.body)return a;try{var g=c?a.body:typeof a.body==="string"?a.body:JSON.stringify(a.body);f=g;if(!c&&typeof g==="string"){var h=_.Zn(g);if(h!=null&&(h>_.$n||h<_.ao))return a;c=b?{level:1}:void 0;f=_.ck((0,_.bo)(g),c);var l=(0,_.Dm)();e.ticks.gelc=l;if(b){_.co++;if(_.C("disable_compression_due_to_performance_degradation_lr")&&l-d>= _.daa)if(V4++,_.C("abandon_compression_after_N_slow_zips_lr")){b=V4/_.co;var m=_.eaa/_.Lk("compression_disable_point");_.co>0&&_.co%_.Lk("compression_disable_point")===0&&b>=m&&(_.Yn=!1)}else _.Yn=!1;_.eo(e)}}a.headers=Object.assign({},{"Content-Encoding":"gzip"},a.headers||{});a.body=f;return a}catch(n){return _.mk(n),a}}else return a}; Iua=function(){var a;_.A(function(b){if(b.j==1)return b.yield(_.rn(),2);a=b.o;if(!a||!_.ql()&&!_.C("nwl_init_require_datasync_id_killswitch")||!_.Wo())return b.J(0);_.cp=!0;_.bp.isNwlInitialized=_.cp;return b.yield(_.Zo().awaitInitialization(),0)})};W4=function(a){_.iu[a]&&(a=_.iu[a],_.oe(a,function(b){_.hu[b]&&delete _.hu[b]}),a.length=0)};X4=function(a){var b=_.ey();if(b)if(b.clear(a),a)W4(a);else for(var c in _.iu)W4(c)}; $4=function(a){var b=a===void 0?{}:a;a=b.pz===void 0?!1:b.pz;b=b.Bv===void 0?!0:b.Bv;if(_.Ua("_lact",window)==null){var c=parseInt(_.B("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;_.Ta("_lact",c,window);_.Ta("_fact",c,window);c==-1&&Y4();Jua(a,b);new Q4(function(){Z4("mouse",100)})}}; Jua=function(a,b){var c=window;a=a===void 0?!1:a;b=b===void 0?!0:b;P4(c.document,"keydown",Y4);P4(c.document,"keyup",Y4);P4(c.document,"mousedown",Y4);P4(c.document,"mouseup",Y4);a?P4(c,"touchmove",function(){Z4("touchmove",200)},{passive:!0}):(P4(c,"resize",function(){Z4("resize",200)}),b&&P4(c,"scroll",function(){Z4("scroll",200)}));P4(c.document,"touchstart",Y4,{passive:!0});P4(c.document,"touchend",Y4,{passive:!0})};Z4=function(a,b){a5[a]||(a5[a]=!0,_.vg.rb(function(){Y4();a5[a]=!1},b))}; Y4=function(){_.Ua("_lact",window)==null&&$4();var a=Date.now();_.Ta("_lact",a,window);_.Ua("_fact",window)==-1&&_.Ta("_fact",a,window);(a=_.Ua("ytglobal.ytUtilActivityCallback_"))&&a()};b5=function(){var a=_.Tp();a.info||(a.info={});return a.info};c5=function(a,b){var c;if((c=b)==null?0:c.componentStack)return b;var d;if(a=(d=a.df)==null?void 0:d.componentStack)b||(b={}),b.componentStack=a;return b}; Kua=function(a,b,c,d,e,f){b=b===void 0?"Unknown file":b;c=c===void 0?0:c;var g=!1,h=_.hk("log_window_onerror_fraction");if(h&&Math.random()0){g=!0;break}}g&&(g=!1,e?g=!0:(typeof a==="string"?h=a:ErrorEvent&&a instanceof ErrorEvent?(g=!0,h=a.message,b=a.filename,c=a.lineno,d=a.colno):(h="Unknown error",b="Unknown file",c=0),e=new _.ol(h),e.name="UnhandledWindowError",e.message=h,e.fileName= b,e.lineNumber=c,isNaN(d)?delete e.columnNumber:e.columnNumber=d),_.C("wiz_enable_component_stack_propagation_killswitch")||(f=c5(e,f)),f&&_.iC(e,f),g?_.jr(e):_.kr(e))};d5=function(a){a instanceof Error?_.jr(a):(a=_.$a(a)?JSON.stringify(a):String(a),a=new _.ol(a),a.name="RejectedPromiseError",_.kr(a))};Lua=function(){_.oe(_.B("ERRORS")||[],function(a){_.jr.apply(null,a)});_.gk("ERRORS",[])}; e5=function(){return(_.C("csi_use_time_origin")||_.C("csi_use_time_origin_tvhtml5"))&&_.Or.timeOrigin?Math.floor(_.Or.timeOrigin):_.Or.timing.navigationStart};f5=function(a){return Math.round(e5()+a)}; g5=function(){var a;if(_.C("csi_use_performance_navigation_timing")){var b,c,d,e=_.Or==null?void 0:(a=_.Or.getEntriesByType)==null?void 0:(b=a.call(_.Or,"navigation"))==null?void 0:(c=b[0])==null?void 0:(d=c.toJSON)==null?void 0:d.call(c);e?(e.requestStart=f5(e.requestStart),e.responseEnd=f5(e.responseEnd),e.redirectStart=f5(e.redirectStart),e.redirectEnd=f5(e.redirectEnd),e.domainLookupEnd=f5(e.domainLookupEnd),e.connectStart=f5(e.connectStart),e.connectEnd=f5(e.connectEnd),e.responseStart=f5(e.responseStart), e.secureConnectionStart=f5(e.secureConnectionStart),e.domainLookupStart=f5(e.domainLookupStart),e.isPerformanceNavigationTiming=!0,a=e):a=_.Or.timing}else a=_.C("csi_performance_timing_to_object")?JSON.parse(JSON.stringify(_.Or.timing)):_.Or.timing;return a};Mua=function(){var a=document;if("visibilityState"in a)a=a.visibilityState;else{var b=_.aaa+"VisibilityState";a=b in a?a[b]:void 0}switch(a){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3;default:return-1}}; Nua=function(){if(_.Or.getEntriesByType){var a=_.Or.getEntriesByType("paint");if(a=_.Xb(a,function(c){return c.name==="first-paint"}))return f5(a.startTime)}var b;_.C("csi_use_performance_navigation_timing")?b=_.Or.getEntriesByType("first-paint")[0].startTime:b=_.Or.timing.pJ;return b?Math.max(0,b):0}; Oua=function(){function a(f,g,h){g=g.match("_rid")?g.split("_rid")[0]:g;typeof h==="number"&&(h=JSON.stringify(h));f.requestIds?f.requestIds.push({endpoint:g,id:h}):f.requestIds=[{endpoint:g,id:h}]}for(var b={},c=_.z(Object.entries(_.B("TIMING_INFO",{}))),d=c.next();!d.done;d=c.next()){var e=_.z(d.value);d=e.next().value;e=e.next().value;switch(d){case "GetBrowse_rid":a(b,d,e);break;case "GetGuide_rid":a(b,d,e);break;case "GetHome_rid":a(b,d,e);break;case "GetPlayer_rid":a(b,d,e);break;case "GetSearch_rid":a(b, d,e);break;case "GetSettings_rid":a(b,d,e);break;case "GetTrending_rid":a(b,d,e);break;case "GetWatchNext_rid":a(b,d,e);break;case "yt_red":b.isRedSubscriber=!!e;break;case "yt_ad":b.isMonetized=!!e}}return b}; Pua=function(){var a=window.location.protocol,b=_.Or.getEntriesByType("resource");b=_.vs(b,function(c){return c.name.indexOf(a+"//fonts.gstatic.com/s/")===0});(b=_.xs(b,function(c,d){return d.duration>c.duration?d:c},{duration:0}))&&b.startTime>0&&b.responseEnd>0&&(_.Nr("wffs",f5(b.startTime)),_.Nr("wffe",f5(b.responseEnd)))}; Qua=function(a,b){a=document.querySelector(a);if(!a)return!1;var c="",d=a.nodeName;d==="SCRIPT"?(c=a.src,c||(c=a.getAttribute("data-timing-href"))&&(c=window.location.protocol+c)):d==="LINK"&&(c=a.href);_.Nb(document)&&a.setAttribute("nonce",_.Nb(document));return c?(a=_.Or.getEntriesByName(c))&&a[0]&&(a=a[0],c=e5(),_.Nr("rsf_"+b,c+Math.round(a.fetchStart)),_.Nr("rse_"+b,c+Math.round(a.responseEnd)),a.transferSize!==void 0&&a.transferSize===0)?!0:!1:!1}; i5=function(a,b){_.lk(function(){_.cq("").info.actionType=a;b&&_.gk("TIMING_AFT_KEYS",b);_.gk("TIMING_ACTION",a);var c=Oua();Object.keys(c).length>0&&_.Kr(c);c={isNavigation:!0,actionType:_.iy(_.B("TIMING_ACTION"))};var d=_.B("PREVIOUS_ACTION");d&&(c.previousAction=_.iy(d));if(d=_.B("CLIENT_PROTOCOL"))c.httpProtocol=d;if(d=_.B("CLIENT_TRANSPORT"))c.transportProtocol=d;(d=_.Fr())&&d!=="UNDEFINED_CSN"&&(c.clientScreenNonce=d);d=Mua();if(d===1||d===-1)c.isVisible=!0;_.Up();b5();c.loadType="cold";d=b5(); var e=g5(),f=e5(),g=_.B("CSI_START_TIMESTAMP_MILLIS",0);g>0&&!_.C("embeds_web_enable_csi_start_override_killswitch")&&(f=g);f&&(_.Nr("srt",e.responseStart),d.prerender!==1&&_.jy(f));d=Nua();d>0&&_.Nr("fpt",d);d=g5();d.isPerformanceNavigationTiming&&_.Kr({performanceNavigationTiming:!0},void 0);_.Nr("nreqs",d.requestStart,void 0);_.Nr("nress",d.responseStart,void 0);_.Nr("nrese",d.responseEnd,void 0);d.redirectEnd-d.redirectStart>0&&(_.Nr("nrs",d.redirectStart,void 0),_.Nr("nre",d.redirectEnd,void 0)); d.domainLookupEnd-d.domainLookupStart>0&&(_.Nr("ndnss",d.domainLookupStart,void 0),_.Nr("ndnse",d.domainLookupEnd,void 0));d.connectEnd-d.connectStart>0&&(_.Nr("ntcps",d.connectStart,void 0),_.Nr("ntcpe",d.connectEnd,void 0));d.secureConnectionStart>=e5()&&d.connectEnd-d.secureConnectionStart>0&&(_.Nr("nstcps",d.secureConnectionStart,void 0),_.Nr("ntcpe",d.connectEnd,void 0));_.Or&&"getEntriesByType"in _.Or&&Pua();d=[];if(document.querySelector&&_.Or&&_.Or.getEntriesByName)for(var h in h5)h5.hasOwnProperty(h)&& (e=h5[h],Qua(h,e)&&d.push(e));if(d.length>0)for(c.resourceInfo=[],h=_.z(d),d=h.next();!d.done;d=h.next())c.resourceInfo.push({resourceCache:d.value});_.Kr(c);c=_.Wp();c.preLoggedGelInfos||(c.preLoggedGelInfos=[]);h=c.preLoggedGelInfos;c=_.Xp();d=void 0;for(e=0;e0&&(a.headers=b);return a};q5=function(a){return _.yb(a===null?"null":a===void 0?"undefined":a)};s5=function(){return r5.loaded||(r5.loaded="loaded".replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()}))}; t5=function(a){return a?a.dataset?a.dataset[s5()]:a.getAttribute("data-loaded"):null};u5=function(a){a&&(a.dataset?a.dataset[s5()]="true":mua(a))};v5=function(a){a=a||{};var b={},c={};this.url=a.url||"";this.args=a.args||E4(b);this.assets=a.assets||{};this.attrs=a.attrs||E4(c);this.fallback=a.fallback||null;this.fallbackMessage=a.fallbackMessage||null;this.html5=!!a.html5;this.disable=a.disable||{};this.loaded=!!a.loaded;this.messages=a.messages||{}}; w5=function(a){var b=document.createElement("a");_.QD(b,a);return"js-"+_.RD(b.href.replace(/^[a-zA-Z]+:\/\//,"//"))};x5=function(a){a=w5(a);var b=document.getElementById(a);b&&(X4(a),b.parentNode.removeChild(b))};z5=function(a,b){a&&b&&(a=""+_.cb(b),(a=y5[a])&&_.gy(a))}; Wua=function(a,b,c,d){d=d===void 0?null:d;var e=_.Je("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);_.Ub(e,typeof a==="string"?q5(a):a);a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; Xua=function(a,b,c){c=c===void 0?null:c;var d=w5(typeof a==="string"?a:a.toString()),e=document.getElementById(d),f=e&&t5(e),g=e&&!f;f?b&&b():(b&&(f=_.fy(d,b),b=""+_.cb(b),y5[b]=f),g||(e=Wua(a,d,function(){t5(e)||(u5(e),_.hy(d),_.Fk(function(){X4(d)},0))},c)))};A5=function(a,b,c){Xua(a,b,c===void 0?null:c)};Yua=function(a){var b=_.Je("A");_.QD(b,new _.Cb(a));return"css-"+_.RD(b.href.replace(/^[a-zA-Z]+:\/\//,"//"))}; Zua=function(a,b,c){var d=document.createElement("link");d.id=b;d.onload=function(){c&&setTimeout(c,0)};a=q5(a);_.Wb(d,a,"stylesheet");(document.getElementsByTagName("head")[0]||document.body).appendChild(d);return d};$ua=function(a){var b=Yua(a),c=document.getElementById(b),d=c&&t5(c);d||c&&!d||(c=Zua(a,b,function(){if(!t5(c)){u5(c);_.hy(b);var e=_.gb(X4,b);_.Fk(e,0)}}))}; E5=function(a,b,c,d,e){_.lf.call(this);var f=this;this.D=b;this.webPlayerContextConfig=d;this.Md=e;this.pb=!1;this.api={};this.sa=this.B=null;this.W=new _.Ji;this.j={};this.ha=this.Ba=this.elementId=this.qb=this.config=null;this.ea=!1;this.v=this.I=null;this.Na={};this.Sg=["onReady"];this.lastError=null;this.cc=NaN;this.S={};this.ka=0;this.o=this.targetElement=a;r3(this,this.W);B5(this);c?this.ka=setTimeout(function(){f.loadNewVideoConfig(c)},0):d&&(C5(this),D5(this))}; C5=function(a){var b;a.webPlayerContextConfig?b=a.webPlayerContextConfig.rootElementId:b=a.config.attrs.id;a.elementId=b||a.elementId;a.elementId==="video-player"&&(a.elementId=a.D,a.webPlayerContextConfig?a.webPlayerContextConfig.rootElementId=a.D:a.config.attrs.id=a.D);var c;((c=a.o)==null?void 0:c.id)===a.elementId&&(a.elementId+="-player",a.webPlayerContextConfig?a.webPlayerContextConfig.rootElementId=a.elementId:a.config.attrs.id=a.elementId)}; F5=function(a){if(a.config&&a.config.loaded!==!0)if(a.config.loaded=!0,!a.config.args||a.config.args.autoplay!=="0"&&a.config.args.autoplay!==0&&a.config.args.autoplay!==!1){var b;a.api.loadVideoByPlayerVars((b=a.config.args)!=null?b:null)}else a.api.cueVideoByPlayerVars(a.config.args)};I5=function(a){var b=!0,c=G5(a);c&&a.config&&(b=c.dataset.version===H5(a));return b&&!!_.Ua("yt.player.Application.create")}; D5=function(a){if(!a.ia()&&!a.ea){var b=I5(a);if(b&&(G5(a)?"html5":null)==="html5")a.ha="html5",a.isReady()||J5(a);else if(K5(a),a.ha="html5",b&&a.v&&a.targetElement)a.targetElement.appendChild(a.v),J5(a);else{a.config&&(a.config.loaded=!0);var c=!1;a.I=function(){c=!0;var d=L5(a,"player_bootstrap_method")?_.Ua("yt.player.Application.createAlternate")||_.Ua("yt.player.Application.create"):_.Ua("yt.player.Application.create");var e=a.config?M5(a.config):void 0;d&&d(a.targetElement,e,a.webPlayerContextConfig, a.Md);J5(a)};a.ea=!0;b?a.I():(A5(H5(a),a.I),(b=ava(a))&&$ua(b||""),N5(a)&&!c&&_.Ta("yt.player.Application.create",null))}}};G5=function(a){var b=F4(a.elementId);!b&&a.o&&a.o.querySelector&&(b=a.o.querySelector("#"+a.elementId));return b}; J5=function(a){if(!a.ia()){var b=G5(a),c=!1;b&&b.getApiInterface&&b.getApiInterface()&&(c=!0);if(c){a.ea=!1;if(!L5(a,"html5_remove_not_servable_check_killswitch")){var d;if((b==null?0:b.isNotServable)&&a.config&&(b==null?0:b.isNotServable((d=a.config.args)==null?void 0:d.video_id)))return}bva(a)}else a.cc=setTimeout(function(){J5(a)},50)}}; bva=function(a){B5(a);a.pb=!0;var b=G5(a);if(b){a.B=O5(a,b,"addEventListener");a.sa=O5(a,b,"removeEventListener");var c=b.getApiInterface();c=c.concat(b.getInternalApiInterface());for(var d=a.api,e=0;e1)throw Error("cd");return _.tL}};gva=function(a){var b=S5(a);_.tL!==a&&b.includes("-")&&_.eM.set(a,!0)};T5=function(a){a=a.match(/(.*)::.*::.*/);if(a!==null)return a[1]};U5=function(a){if(_.AP()){var b=Object.keys(window.localStorage);b=_.z(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=T5(c);d===void 0||a.includes(d)||self.localStorage.removeItem(c)}}}; hva=function(){if(!_.AP())return!1;var a=_.pl(),b=Object.keys(window.localStorage);b=_.z(b);for(var c=b.next();!c.done;c=b.next())if(c=T5(c.value),c!==void 0&&c!==a)return!0;return!1};V5=function(a){var b,c,d,e,f,g,h;_.A(function(l){if(l.j==1)return l.yield(_.HQ(),2);if(l.j!=3){if(!l.o)return l.return(!1);b=[];return l.yield(_.GQ.keys(),3)}c=l.o;d=_.z(c);for(e=d.next();!e.done;e=d.next())f=e.value,g=_.BQ(f),h=g.datasyncId,!h||a.includes(h)||b.push(_.GQ.delete(f));return l.return(Promise.all(b).then(function(m){return m.some(function(n){return n})}))})}; iva=function(){var a,b,c,d,e,f,g;return _.A(function(h){if(h.j==1)return h.yield(_.HQ(),2);if(h.j!=3){if(!h.o)return h.return(!1);a=_.pl("cache contains other");return h.yield(_.GQ.keys(),3)}b=h.o;c=_.z(b);for(d=c.next();!d.done;d=c.next())if(e=d.value,f=_.BQ(e),(g=f.datasyncId)&&g!==a)return h.return(!0);return h.return(!1)})};W5=function(){try{var a,b;return!!((a=window)==null?0:(b=a.top)==null?0:b.location.href)&&!1}catch(c){return!0}}; X5=function(a,b,c){c=c===void 0?Error():c;var d=Error.call(this);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.code=a;b+=":";c instanceof Error?(this.message=b+c.message,this.stack=c.stack||""):(this.message=b+String(c),this.stack="");Object.setPrototypeOf(this,this.constructor.prototype)}; $5=function(){var a=Y5();a=a===void 0?"bevasrsg":a;return new Promise(function(b){var c=window===window.top?window:W5()?window:window.top,d=c[a],e;((e=d)==null?0:e.bevasrs)?b(new Z5(d.bevasrs)):(d||(d={},d=(d.nqfbel=[],d),c[a]=d),d.nqfbel.push(function(f){b(new Z5(f))}))})}; Z5=function(a){_.lf.call(this);var b=this;this.vm=a;this.o="keydown keypress keyup input focusin focusout select copy cut paste change click dblclick auxclick pointerover pointerdown pointerup pointermove pointerout dragenter dragleave drag dragend mouseover mousedown mouseup mousemove mouseout touchstart touchend touchmove wheel".split(" ");this.j=void 0;this.rg=this.vm.p;this.v=this.Kh.bind(this);this.addOnDisposeCallback(function(){return void jva(b)})}; jva=function(a){a.j!==void 0&&(a.o.forEach(function(b){var c;(c=a.j)==null||c.removeEventListener(b,a.v)}),a.j=void 0)};a6=function(a){var b,c,d={Ic:a.c,fl:a.e,xy:(b=a.mc)!=null?b:!1,yy:(c=a.me)!=null?c:!1};a.co&&(d.ui={vo:a.co.c,tu:a.co.a,GA:a.co.s});return d}; lva=function(a){return function(){var b;return _.A(function(c){if(c.j==1)return c.yield(a(),2);b=c.o;return c.return({f:function(){return b.ng.promise},c:function(d){if(d>150)var e=!1;else try{b.cache=new kva(d,b.V),e=!0}catch(f){b.reportError(new X5(22,"GBJ:init",f)),e=!1}return e},m:function(d){return b.ee(a6(d))},mws:function(d){return b.Aj(a6(d))}})})}}; mva=function(a,b){var c=Y5();c=c===void 0?"bevasrsg":c;b={s:function(f){var g;return a.snapshot(Object.assign({},f.c&&{Ic:f.c},f.s&&{fk:f.s},{gK:(g=f.p)!=null?g:!0}))},e:function(f){var g;return void((g=a.Kh)==null?void 0:g.call(a,f))},c:function(f,g){return a.zi(f,g)},p:a.rg,l:function(){return a.Vh()},wpc:b?lva(b):void 0};var d=window===window.top?window:W5()?window:window.top,e=d[c];if(e){e.bevasrs=b;if(e.nqfbel!==void 0)for(c=_.z(e.nqfbel),d=c.next();!d.done;d=c.next())d=d.value,d(b);e.nqfbel= void 0}else e={},e=(e.bevasrs=b,e.nqfbel=void 0,e),d[c]=e};c6=function(a){var b=b===void 0?53:b;var c=[];p4(a,b6,6).forEach(function(d){_.Vw(d,2)<=b&&c.push(_.Vw(d,1))});return c};nva=function(a){var b=b===void 0?53:b;var c=[];p4(a,b6,6).forEach(function(d){_.Vw(d,2)>b&&c.push(_.Vw(d,1))});return c};d6=function(a){a.then(function(){},function(){})};e6=function(){_.lf.apply(this,arguments);this.o=1};f6=function(a){return{fieldType:2,fieldName:a}};g6=function(a){return{fieldType:3,fieldName:a}}; h6=function(a){this.j=a;a.Jg("/client_streamz/bg/frs",g6("mk"))};i6=function(a){this.j=a;a.Jg("/client_streamz/bg/wrl",g6("mn"),f6("ac"),f6("sc"),g6("rk"),g6("mk"))};j6=function(a){this.j=a;a.jf("/client_streamz/bg/ec",g6("en"),g6("mk"))};k6=function(a){this.j=a;a.Jg("/client_streamz/bg/el",g6("en"),g6("mk"))};l6=function(a){this.j=a;a.jf("/client_streamz/bg/cec",f6("ec"),g6("mk"))};m6=function(a){this.j=a;a.jf("/client_streamz/bg/po/csc",f6("cs"),g6("mk"))}; n6=function(a){this.j=a;a.jf("/client_streamz/bg/po/ctav",g6("av"),g6("mk"))};o6=function(a){this.j=a;a.jf("/client_streamz/bg/po/cwsc",g6("su"),g6("mk"))};p6=function(a){this.j=a;a.Jg("/client_streamz/bg/od/p",g6("mk"))};q6=function(a){this.j=a;a.Jg("/client_streamz/bg/od/n",g6("et"),g6("mk"))};r6=function(a){this.Z=_.Qd(a)};ova=function(a,b){return k4(a,b,_.Sw)};s6=function(a){this.Z=_.Qd(a)};t6=function(a){this.Z=_.Qd(a)};u6=function(a){this.Z=_.Qd(a)};v6=function(a){this.Z=_.Qd(a)}; w6=function(a){this.Z=_.Qd(a)};x6=function(a){this.Z=_.Qd(a)};y6=function(a){this.Z=_.Qd(a)}; B6=function(a){var b=new x6;b=k3(b,1,a.o);var c=pva(a);b=k4(b,c,uua);c=[];for(var d=[],e=_.z(a.j.keys()),f=e.next();!f.done;f=e.next())d.push(f.value.split(","));for(e=0;e=a.v&&a.gk()};m7=function(a,b){return a.I.has(b)?void 0:a.o.get(b)};Cva=function(a){for(var b=0;b>1,b),S7(a,a.length>>1)]}; V7=function(a){var b=_.z(T7(a,U7));a=b.next().value;b=b.next().value;return a.toString(16)+b.toString(16)};W7=function(a,b){var c=T7(b);a=new Uint32Array(a.buffer);b=a[0];var d=_.z(c);c=d.next().value;d=d.next().value;for(var e=1;e>>8|g<<24,g+=f|0,g^=h+38293,f=f<<3|f>>>29,f^=g,l=l>>>8|l<<24,l+=h|0,l^=m+38293,h=h<<3|h>>>29,h^=l;f=[f,g];a[e]^=f[0];e+1=c?(globalThis.sessionStorage.removeItem(a),["e"]):["a",new Uint8Array(d.buffer,b+4)]}; X7=function(a,b,c){c=c===void 0?[]:c;this.maxItems=a;this.j=b===void 0?0:b;this.o=c};Xva=function(a){var b=globalThis.sessionStorage.getItem("iU5q-!O9@$");if(!b)return new X7(a);var c=b.split(",");if(c.length<2)return globalThis.sessionStorage.removeItem("iU5q-!O9@$"),new X7(a);b=c.slice(1);b.length===1&&b[0]===""&&(b=[]);c=Number(c[0]);return isNaN(c)||c<0||c>b.length?(globalThis.sessionStorage.removeItem("iU5q-!O9@$"),new X7(a)):new X7(a,c,b)}; kva=function(a,b){this.V=b;try{var c=globalThis.sessionStorage&&!!globalThis.sessionStorage.getItem&&!!globalThis.sessionStorage.setItem&&!!globalThis.sessionStorage.removeItem}catch(d){c=!1}c&&(this.index=Xva(a))};Yva=function(a,b,c,d,e){var f=a.index?t7(a.V,function(){return Vva(a.index,V7(b),c,d,e)},"W"):"u";a.V.tj(f)};Zva=function(a,b,c){var d=_.z(a.index?t7(a.V,function(){return Wva(V7(b),c)},"R"):["u"]),e=d.next().value;d=d.next().value;a.V.oj(e);return d}; Y7=function(a){_.lf.call(this);this.V=a;this.v=new _.Ii};Z7=function(a,b){var c=setTimeout(function(){a.v.resolve()},b);a.addOnDisposeCallback(function(){return void clearTimeout(c)})};$7=function(a,b,c,d){return t7(a.V,function(){return c?a.Aj(b,d):a.ee(b,d)},a.j)};a8=function(a,b,c,d){Y7.call(this,a);this.B=b;this.I=c;this.j="m";this.o="x";this.D=0;Z7(this,d)};b8=function(a,b,c){Y7.call(this,a);this.B=b;this.j="f";this.o="z";Z7(this,c)}; c8=function(a,b,c){Y7.call(this,a);this.B=b;this.j="w";this.o="z";Z7(this,c)};d8=function(a,b){Y7.call(this,a);this.error=b;this.j="e";this.o="y"};f8=function(a,b){var c=(b(a.error.message)+":"+b(a.error.stack)).substring(0,2048);b=c.length+1;c=e8(c);var d=new Uint8Array(4+c.length);d.set([42,b&127|128,b>>7,a.error.code]);d.set(c,4);return d};g8=function(a,b,c){Y7.call(this,a);this.B=b;this.clientState=c;this.j="S";this.o="q"}; e8=function(a){return globalThis.TextEncoder?(new TextEncoder).encode(a):_.Ec(a)}; i8=function(a){_.lf.call(this);var b=this;this.ng=new _.Ii;this.v=0;this.o=void 0;this.state=2;this.vm=a.vm;this.gd=a.gd;this.yg=Object.assign({},$va,a.yg||{});this.V=a.vm.Vh();var c;this.onError=(c=a.onError)!=null?c:function(){};this.yn=a.yn||!1;if(awa(a)){var d=this.vm;this.B=function(){return K7(d).catch(function(g){g=b.reportError(new X5(b.j?20:32,"TRG:Disposed",g));b.o=g;var h;(h=b.j)==null||h.dispose();b.j=void 0;b.ng.reject(g)})};L7(d,function(){return void h8(b)});d.W===2&&h8(this)}else this.B= a.yJ,h8(this);var e=this.V.share();e.Pc("o");var f=new r7(e,"o");this.ng.promise.then(function(){f.done();e.xd();e.dispose()},function(){return void e.dispose()});this.addOnDisposeCallback(function(){b.j?(b.j.dispose(),b.j=void 0):b.o?b.V.xd():(b.o=b.reportError(new X5(32,"TNP:Disposed")),b.V.xd(),b.ng.reject(b.o))});r3(this,this.V)};bwa=function(a,b){if(!(b instanceof X5))if(b instanceof o7){var c=Error(b.toString());c.stack=b.stack;b=new X5(11,"EBH:Error",c)}else b=new X5(12,"BSO:Unknown",b);return a.reportError(b)}; h8=function(a){var b,c,d,e,f,g,h,l,m,n,p,r,t,u,v;return _.A(function(w){switch(w.j){case 1:b=void 0;a.v++;c=new _.Ii;a.vm instanceof I7&&a.vm.B.push(c.promise);if(!a.yn){w.J(2);break}d=new _.Ii;setTimeout(function(){return void d.resolve()});return w.yield(d.promise,2);case 2:return e=a.V.share(),w.D(4,5),a.state=5,f={},g=[],w.yield(O7(a.vm.snapshot({Ic:f,qs:g}),a.yg.zA,function(){return Promise.reject(new X5(15,"MDA:Timeout"))}),7);case 7:h=w.o;if(a.ia())throw new X5(a.j?20:32,"MDA:Disposed");l= g[0];a.state=6;return w.yield(O7(cwa(a.gd,h),a.yg.Sv,function(){return Promise.reject(new X5(10,"BWB:Timeout"))}),8);case 8:m=w.o;if(a.ia())throw new X5(a.j?20:32,"BWB:Disposed");a.state=7;b=t7(e,function(){var E=dwa(a,m,c,l);E.v.promise.then(function(){return void a.B()});return E},"i");case 5:w.W();e.dispose();w.ea(6);break;case 4:n=w.B();(p=b)==null||p.dispose();if(!a.o){r=bwa(a,n);c.resolve();var y;if(y=a.vm instanceof I7&&a.v<2)a:if(n instanceof X5)y=n.code!==32&&n.code!==20&&n.code!==10;else{if(n instanceof o7)switch(n.code){case 2:case 13:case 14:case 4:break;default:y=!1;break a}y=!0}if(y)return t=(1+Math.random()*.25)*(a.j?6E4:1E3),u=setTimeout(function(){return void a.B()},t),a.addOnDisposeCallback(function(){return void clearTimeout(u)}),w.return();a.o=r}e.Gb(a.j?13:14);a.ng.reject(a.o);return w.return();case 6:a.state=8,a.v=0,(v=a.j)==null||v.dispose(),a.j=b,a.ng.resolve(),w.v()}})}; dwa=function(a,b,c,d){var e=r4(b,2)*1E3;if(e<=0)throw new X5(31,"TTM:Invalid");if(t4(b,4))return new c8(a.V,t4(b,4),e);if(!r4(b,3))return new b8(a.V,i3(j4(b)),e);if(!d)throw new X5(4,"PMD:Undefined");d=d(i3(j4(b)));if(typeof d!=="function")throw new X5(16,"APF:Failed");a.D=Math.floor((Date.now()+e)/1E3);a=new a8(a.V,d,r4(b,3),e);a.addOnDisposeCallback(function(){return void c.resolve()});return a};j8=function(a,b){b=b instanceof X5?b:new X5(5,"TVD:error",b);return a.reportError(b)}; k8=function(a,b,c){try{if(a.ia())throw new X5(21,"BNT:disposed");if(!a.j&&a.o)throw a.o;var d,e;return(e=(d=ewa(a,b,c))!=null?d:fwa(a,b,c))!=null?e:gwa(a,b,c)}catch(f){if(!b.yy)throw j8(a,f);return hwa(a,c,f)}};ewa=function(a,b,c){var d;return(d=a.j)==null?void 0:$7(d,function(){return l8(a,b)},c,function(e){var f;if(a.j instanceof a8&&((f=b.ui)==null?0:f.GA))try{var g;(g=a.cache)==null||Yva(g,l8(a,b),e,b.ui.vo,a.D-120)}catch(h){a.reportError(new X5(24,"ELX:write",h))}})}; fwa=function(a,b,c){var d;if((d=b.ui)!=null&&d.tu)try{var e,f=(e=a.cache)==null?void 0:Zva(e,l8(a,b),b.ui.vo);return f?c?t7(a.V,function(){return _.Uc(f,2)},"a"):f:void 0}catch(g){a.reportError(new X5(23,"RXO:read",g))}};gwa=function(a,b,c){var d={stack:[],error:void 0,hasError:!1};try{if(!b.xy)throw new X5(29,"SDF:notready");return $7(_.oM(d,new g8(a.V,0,a.state)),function(){return l8(a,b)},c)}catch(e){d.error=e,d.hasError=!0}finally{_.pM(d)}}; hwa=function(a,b,c){var d={stack:[],error:void 0,hasError:!1};try{var e=j8(a,c);return $7(_.oM(d,new d8(a.V,e)),function(){return[]},b)}catch(f){d.error=f,d.hasError=!0}finally{_.pM(d)}};l8=function(a,b){return b.fl?b.fl:b.Ic?t7(a.V,function(){return b.fl=e8(b.Ic)},"c"):[]};o8=function(){if(!m8){m8=new k7(new n8);var a=_.Lk("client_streamz_web_flush_count",-1);a!==-1&&(m8.v=a)}this.j=a=m8;a.jf("/client_streamz/youtube/aba/gac",f6("type"),f6("sequence"))};p8=function(a){this.Z=_.Qd(a)}; q8=function(a){this.Z=_.Qd(a)};r8=function(a){this.Z=_.Qd(a)};s8=function(a){this.Z=_.Qd(a)};t8=function(a){return a=="\r"||a=="\n"||a==" "||a=="\t"};u8=function(){this.I=null;this.Xa=[];this.K="";this.Y=[];this.o=this.j=0;this.B=!1;this.D=0;this.S=/[\\"]/g;this.ba=this.v=0};w8=function(a,b,c){a.v=3;a.I="The stream is broken @"+a.o+"/"+c+". With input:\n"+b;throw Error(a.I);}; y8=function(){var a=E4(iwa),b;return(new _.Vg(function(c,d){a.onSuccess=function(e){_.Jk(e)?c(new jwa(e)):d(new x8("Request failed, status="+_.Ik(e),"net.badstatus",e))};a.onError=function(e){d(new x8("Unknown request error","net.unknown",e))};a.onTimeout=function(e){d(new x8("Request timed out","net.timeout",e))};b=_.Sk("//googleads.g.doubleclick.net/pagead/id",a)})).xg(function(c){if(c instanceof _.ih){var d;(d=b)==null||d.abort()}return _.tD(c)})}; x8=function(a,b){_.qb.call(this,a+", errorCode="+b);this.errorCode=b;this.name="PromiseAjaxError"};jwa=function(a){this.j=a};z8=function(a){this.o=a===void 0?null:a;this.ba=0;this.j=null};A8=function(a){var b=new z8;a=a===void 0?null:a;b.ba=2;b.j=a===void 0?null:a;return b};B8=function(a){var b=new z8;a=a===void 0?null:a;b.ba=1;b.j=a===void 0?null:a;return b}; kwa=function(a){var b=a.docid||a.video_id||a.videoId||a.id;if(b)return b;b=a.raw_player_response;b||(a=a.player_response)&&(b=JSON.parse(a));return b&&b.videoDetails&&b.videoDetails.videoId||null}; C8=function(a){a:{var b="EMBEDDED_PLAYER_MODE_UNKNOWN";window.location.hostname.includes("youtubeeducation.com")&&(b="EMBEDDED_PLAYER_MODE_PFL");var c=a.raw_embedded_player_response;if(!c&&(a=a.embedded_player_response))try{c=JSON.parse(a)}catch(e){break a}if(c)b:{a=lwa;for(var d in a)if(a[d]==c.embeddedPlayerMode){b=a[d];break b}}}return b==="EMBEDDED_PLAYER_MODE_PFL"}; E8=function(a){_.qb.call(this,a.message||a.description||a.name);this.isMissing=a instanceof D8;this.isTimeout=a instanceof x8&&a.errorCode=="net.timeout";this.isCanceled=a instanceof _.ih};D8=function(){_.qb.call(this,"Biscotti ID is missing from server")};mwa=function(){if(_.C("disable_biscotti_fetch_entirely_for_all_web_clients"))return Error("ee");if(!_.WD())return Error("fe");var a=_.B("PLAYER_VARS",{});if(D4(a)=="1")return Error("ge");if(C8(a))return Error("he")}; K4=function(){var a=mwa();if(a!==void 0)return _.tD(a);F8||(F8=y8().then(G8).xg(function(b){return H8(2,b)}));return F8};G8=function(a){a=a.j.responseText;if(a.lastIndexOf(")]}'",0)!=0)throw new D8;a=JSON.parse(a.substr(4));if((a.type||1)>1)throw new D8;a=a.id;L4(a);F8=B8(a);I8(18E5,2);return a};H8=function(a,b){b=new E8(b);L4("");F8=A8(b);a>0&&I8(12E4,a-1);throw b;};I8=function(a,b){_.Fk(function(){y8().then(G8,function(c){return H8(b,c)}).xg(_.ie)},a)}; nwa=function(){try{var a=_.Ua("yt.ads.biscotti.getId_");return a?a():K4()}catch(b){return _.tD(b)}};J8=function(){};n8=function(){};L8=function(a){var b=new w6;var c=new v6;c=k3(c,1,"botguard");a=k3(c,2,a);a=_.Mw(a);o4(b,1,K8,a);a&&!_.qd(a)&&_.de(b.Z);this.j=b};M8=function(){var a=!1;try{a=!!window.sessionStorage.getItem("session_logininfo")}catch(b){a=!0}return(_.B("INNERTUBE_CLIENT_NAME")==="WEB"||_.B("INNERTUBE_CLIENT_NAME")==="WEB_CREATOR")&&a}; N8=function(){var a=a===void 0?!0:a;try{window.sessionStorage.removeItem("stickiness_reload");window.sessionStorage.removeItem("session_logininfo");_.gk("LOGIN_INFO","");a&&window.sessionStorage.setItem("from_switch_account","1");a=!0;a=a===void 0?!1:a;var b,c=owa;c||(c=document.querySelector("#persist_identity"));if(b=c){var d=b.src?(new URL(b.src)).origin:"*";if(a){var e;(e=b.contentWindow)==null||e.postMessage({action:"clear"},d)}else if(!(Number(window.sessionStorage.getItem("stickiness_reload"))>= 2)){var f=window.sessionStorage.getItem("session_logininfo");if(f){var g;(g=b.contentWindow)==null||g.postMessage({loginInfo:f},d)}}}}catch(h){}}; O8=function(a){if(a)if(a.startsWith("https://accounts.google.com/AddSession"))N8();else if(a.startsWith("https://accounts.google.com/ServiceLogin"))N8();else{var b;if(b=a.startsWith("https://myaccount.google.com"))b=(a instanceof _.uy?a.clone():new _.uy(a)).j.endsWith("/youtubeoptions");b&&N8()}if(_.B("LOGGED_IN",!0)&&M8()){b=_.B("VALID_SESSION_TEMPDATA_DOMAINS",[]);var c=_.rc(window.location.href);c&&b.push(c);c=_.rc(a);_.Zb(b,c)||!c&&a.lastIndexOf("/",0)==0?(b=_.SD(a),(b=_.TD(b))?(b=_.XD(b),b=(b= _.dl.get(b,void 0)||null)?_.sk(b):{}):b=null):b=null;b==null&&(b={});c=b;var d=void 0;M8()?(d||(d=_.B("LOGIN_INFO")),d?(c.session_logininfo=d,c=!0):c=!1):c=!1;c&&_.ZD(a,b)}};pwa=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?!1:c;var d=_.B("EVENT_ID");d&&(b.ei||(b.ei=d));b&&_.ZD(a,b);if(c)return!1;O8(a);var e=e===void 0?{}:e;var f=f===void 0?"":f;var g=g===void 0?window:g;a=_.zc(a,e);O8(a);f=_.ay(a+f);g=g.location;f=_.Ib(f);f!==void 0&&(g.href=f);return!0}; P8=function(a){if(D4(_.B("PLAYER_VARS",{}))!="1"){a&&yua();try{nwa().then(function(){},function(){}),_.Fk(P8,18E5)}catch(b){_.kk(b)}}};rwa=function(){var a=a===void 0?window.location.href:a;if(_.C("kevlar_disable_theme_param"))return null;_.tc(a);try{var b=M4(a).theme;return qwa.get(b)||null}catch(c){}return null}; Q8=function(a){var b=new z7;if(a.interpreterJavascript){var c=J4(a.interpreterJavascript);c=_.Qb(c).toString();var d=new l5;k3(d,6,c);_.Nw(b,1,d,o3)}else a.interpreterUrl&&(c=_.cD(a.interpreterUrl),c=_.zb(c).toString(),d=new m5,k3(d,4,c),_.Nw(b,2,d,o3));a.interpreterHash&&_.by(b,3,j3(a.interpreterHash),"",o3);a.program&&_.by(b,4,j3(a.program),"",o3);a.globalName&&_.by(b,5,j3(a.globalName),"",o3);a.clientExperimentsStateBlob&&_.by(b,7,j3(a.clientExperimentsStateBlob),"",o3);return b}; R8=function(a){var b={};a=_.z(a.split("&"));for(var c=a.next();!c.done;c=a.next())c=c.value.split("="),c.length===2&&(b[c[0]]=c[1]);return b};S8=function(a){return Number(a.t)||7200};swa=function(){var a=a===void 0?window:a;var b,c;return _.A(function(d){if(d.j==1)return d.yield($5(),2);b=a;c=b.bgevmc;if(!c)throw Error("ie");return d.return({pause:function(){c.p()},resume:function(){c.r()},checkForRefresh:function(){return c.cr()}})})}; Y5=function(){if(_.C("bg_st_hr"))return"havuokmhhs-0";var a,b=((a=globalThis.performance)==null?void 0:a.timeOrigin)||0;return"havuokmhhs-"+Math.floor(b)};T8=function(a){window.bgens=a};U8=function(a){this.j=a};twa=function(){return new Promise(function(a){var b=window;b.ntpevasrs!==void 0?a(new U8(b.ntpevasrs)):(b.ntpqfbel===void 0&&(b.ntpqfbel=[]),b.ntpqfbel.push(function(c){a(new U8(c))}))})}; uwa=function(){if(_.WD()){var a=_.B("PLAYER_VARS",{});if(D4(a)!="1"&&!C8(a)){var b=function(){V8=!0;"google_ad_status"in window?_.gk("DCLKSTAT",1):_.gk("DCLKSTAT",2)};try{var c=_.Nb(document);A5(W8,b,c)}catch(d){}X8.push(_.vg.rb(function(){if(!(V8||"google_ad_status"in window)){try{z5(W8.toString(),b)}catch(d){}V8=!0;_.gk("DCLKSTAT",3)}},5E3))}}};Y8=function(){var a=Number(_.B("DCLKSTAT",0));return isNaN(a)?0:a};Z8=function(a){this.j=a}; b9=function(a,b,c){var d=this;this.network=a;this.options=b;this.K=c;this.v=0;this.j=null;this.o=new o8;b.Yr?$8(this,vwa(this)):b.preload&&$8(this,new Promise(function(e){_.sl(function(){e(a9(d))},0)}))}; vwa=function(a){var b,c,d,e,f,g,h,l,m,n,p,r;return _.A(function(t){switch(t.j){case 1:b=_.Sa;if(!b.ytAtP||_.C("ytatp_ks")){b.ytAtRC?(d=_.Lk("att_init_delay",0),_.FP(function(){var u,v;return _.A(function(w){if(w.j==1){c=b.ytAtT;delete b.ytAtT;if(!b.ytAtRC)return a.o.fb(6,a.v++),w.return();a.o.fb(2,a.v++);u=c9(c,null);return w.yield(a.If(u),2)}v=w.o;b.ytAtRC&&b.ytAtRC(JSON.stringify(v));w.v()})},d)):(c=b.ytAtT,delete b.ytAtT,a.o.fb(1,a.v++));t.J(2);break}return t.yield(b.ytAtP,3);case 3:e=t.o;delete b.ytAtP; g=(f=e)==null?void 0:f.R;c=(h=e)==null?void 0:h.T;if(g){a.o.fb(1,a.v++);t.J(4);break}a.o.fb(2,a.v++);return t.yield(a.If(c9(c,null)),5);case 5:l=t.o,g=JSON.stringify(l);case 4:b.ytAtRC?b.ytAtRC(g):_.kr(Error("je"));case 2:return t.yield(twa(),6);case 6:return m=t.o,m.bindInnertubeChallengeFetcher(function(u){a.o.fb(3,a.v++);return a.If(c9(c,u))}),m.registerChallengeFetchedCallback(function(u){u=u.challenge;if(!u)throw Error("ke");u={challenge:u,rf:R8(u),vm:n,bgChallenge:new z7};u=Promise.resolve(u); a.j=u}),t.yield($5(),7);case 7:n=t.o;p=m.getLatestChallengeResponse();r=p.challenge;if(!r)throw Error("le");return t.return({challenge:r,rf:R8(r),vm:n,bgChallenge:new z7})}})}; a9=function(a){var b,c,d,e,f,g,h,l,m;return _.A(function(n){switch(n.j){case 1:return b=c9(void 0,E7().j),n.D(2),n.yield(wwa(a,b),4);case 4:c=n.o;n.K(3);break;case 2:return n.B(),_.kr(Error("me")),d9(a,864E5),n.return({challenge:"",rf:{},vm:void 0,bgChallenge:void 0});case 3:d=c.jz;e=c.kz;f=S8(e);d9(a,f*1E3);g=void 0;if(!("c1a"in e&&c.bgChallenge)){n.J(5);break}h=Q8(c.bgChallenge);n.D(6);return n.yield(F7(E7(),h),8);case 8:n.K(7);break;case 6:return l=n.B(),_.kr(l),n.return({challenge:d,rf:e,vm:g, bgChallenge:h});case 7:return n.D(9),g=new C7({challenge:h,fg:{mb:"aGIf"}}),n.yield(g.rg,11);case 11:n.K(5);break;case 9:m=n.B(),_.kr(m),g=void 0;case 5:return n.return({challenge:d,rf:e,vm:g,bgChallenge:h})}})};e9=function(a,b){var c;return _.A(function(d){if(d.j==1)return T8(2),d.D(2),d.yield(a.network.If(b),4);if(d.j!=2)return(c=d.o)?c.challenge&&!c.bgChallenge?T8(1):T8(4):T8(3),d.return(c);d.B();T8(3);return d.return(void 0)})}; xwa=function(a){if(!a)throw Error("ne");if(!a.challenge)throw Error("oe");var b=a.challenge,c=R8(b);if("c1a"in c&&(!a.bgChallenge||!a.bgChallenge.program))throw Error("pe");return Object.assign({},a,{jz:b,kz:c})}; wwa=function(a,b){var c,d,e,f,g;return _.A(function(h){switch(h.j){case 1:c=void 0,d=0,e={};case 2:if(!(d<5)){h.J(4);break}if(!(d>0)){h.J(5);break}e.no=1E3*Math.pow(2,d-1)+Math.random()*1E3;return h.yield(new Promise(function(l){return function(m){_.sl(function(){m(void 0)},l.no)}}(e)),5);case 5:return h.D(7),a.o.fb(4,a.v++),h.yield(a.If(b),9);case 9:return f=h.o,h.return(xwa(f));case 7:c=g=h.B(),g instanceof Error&&_.kr(g);case 8:d++;e={no:void 0};h.J(2);break;case 4:throw c;}})}; $8=function(a,b){a.j=b};ywa=function(a){var b,c,d;return _.A(function(e){if(e.j==1)return e.yield(Promise.race([a.j,null]),2);b=e.o;var f=a9(a);a.j=f;(c=b)==null||(d=c.vm)==null||d.dispose();e.v()})};d9=function(a,b){function c(){var e;return _.A(function(f){e=d-Date.now();return e<1E3?f.yield(ywa(a),0):(_.sl(c,Math.min(e,6E4)),f.J(0))})}var d=Date.now()+b;c()};zwa=function(a,b){return new Promise(function(c){_.sl(function(){c(b())},a)})}; c9=function(a,b){var c={engagementType:"ENGAGEMENT_TYPE_UNBOUND"};a&&(c.eacrToken=a);b&&(c.interpreterHash=b);return c}; g9=function(a){var b=b===void 0?"UNKNOWN_INTERFACE":b;if(a.length===1)return a[0];var c=f9[b];if(c){c=new RegExp(c);for(var d=_.z(a),e=d.next();!e.done;e=d.next())if(e=e.value,c.exec(e))return e}var f=[];Object.entries(f9).forEach(function(g){var h=_.z(g);g=h.next().value;h=h.next().value;b!==g&&f.push(h)});c=new RegExp(f.join("|"));a.sort(function(g,h){return g.length-h.length});d=_.z(a);for(e=d.next();!e.done;e=d.next())if(e=e.value,!c.exec(e))return e;return a[0]};i9=function(){this.j=h9.instance}; Awa=function(){var a,b,c;return _.A(function(d){if(d.j==1)return a=_.yp().resolve(_.qz),a?d.yield(a.Ji({signalServiceEndpoint:{signal:"GET_DATASYNC_IDS"}}),2):(_.kr(Error("qe")),d.return(void 0));if(b=d.o){if(b.errorMetadata)return _.kr(Error("re`"+b.errorMetadata.status+"`"+b.error)),d.return(void 0);c=b.EH;return d.return(c)}_.kr(Error("se"));return d.return(void 0)})};k9=function(){this.j={};if(this.o=_.qP()){var a=_.dl.get("CONSISTENCY",void 0);a&&j9(this,{encryptedTokenJarContents:a})}}; j9=function(a,b){if(b.encryptedTokenJarContents&&(a.j[b.encryptedTokenJarContents]=b,typeof b.expirationSeconds==="string")){var c=Number(b.expirationSeconds);setTimeout(function(){delete a.j[b.encryptedTokenJarContents]},c*1E3);a.o&&_.el("CONSISTENCY",b.encryptedTokenJarContents,c,void 0,!0)}}; m9=function(){this.v=-1;var a=_.B("LOCATION_PLAYABILITY_TOKEN");_.B("INNERTUBE_CLIENT_NAME")==="TVHTML5"&&(this.localStorage=l9(this))&&(a=this.localStorage.get("yt-location-playability-token"));a&&(this.locationPlayabilityToken=a,this.o=this.j=void 0)};l9=function(a){return a.localStorage===void 0?new _.Xl("yt-client-location"):a.localStorage}; n9=function(a,b,c){b=b===void 0?!1:b;c=c===void 0?!1:c;var d=_.B("INNERTUBE_CONTEXT");if(!d)return _.jr(Error("ve")),{};d=_.we(d);_.C("web_no_tracking_params_in_shell_killswitch")||delete d.clickTracking;d.client||(d.client={});var e=d.client;e.clientName==="MWEB"&&e.clientFormFactor!=="AUTOMOTIVE_FORM_FACTOR"&&(e.clientFormFactor=_.B("IS_TABLET")?"LARGE_FORM_FACTOR":"SMALL_FORM_FACTOR");e.screenWidthPoints=window.innerWidth;e.screenHeightPoints=window.innerHeight;e.screenPixelDensity=Math.round(window.devicePixelRatio|| 1);e.screenDensityFloat=window.devicePixelRatio||1;e.utcOffsetMinutes=-Math.floor((new Date).getTimezoneOffset());var f=f===void 0?!1:f;_.yP();var g="USER_INTERFACE_THEME_LIGHT";_.tP(165)?g="USER_INTERFACE_THEME_DARK":_.tP(174)?g="USER_INTERFACE_THEME_LIGHT":!_.C("kevlar_legacy_browsers")&&window.matchMedia&&window.matchMedia("(prefers-color-scheme)").matches&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(g="USER_INTERFACE_THEME_DARK");f=f?g:rwa()||g;e.userInterfaceTheme=f;if(!b){if(f= _.ll())e.connectionType=f;_.C("web_log_effective_connection_type")&&(f=_.nl())&&(d.client.effectiveConnectionType=f)}var h;if(_.C("web_log_memory_total_kbytes")&&((h=_.Sa.navigator)==null?0:h.deviceMemory)){var l;h=(l=_.Sa.navigator)==null?void 0:l.deviceMemory;d.client.memoryTotalKbytes=""+h*1E6}_.C("web_gcf_hashes_innertube")&&(f=_.On())&&(l=f.coldConfigData,h=f.coldHashData,f=f.hotHashData,d.client.configInfo=d.client.configInfo||{},l&&(d.client.configInfo.coldConfigData=l),h&&(d.client.configInfo.coldHashData= h),f&&(d.client.configInfo.hotHashData=f));l=M4(_.Sa.location.href);!_.C("web_populate_internal_geo_killswitch")&&l.internalcountrycode&&(e.internalGeo=l.internalcountrycode);e.clientName==="MWEB"||e.clientName==="WEB"?(e.mainAppWebInfo||(e.mainAppWebInfo={}),e.mainAppWebInfo.graftUrl=_.Sa.location.href,_.C("kevlar_woffle")&&R4.instance&&(l=R4.instance,e.mainAppWebInfo.pwaInstallabilityStatus=!l.j&&l.o?"PWA_INSTALLABILITY_STATUS_CAN_BE_INSTALLED":"PWA_INSTALLABILITY_STATUS_UNKNOWN"),e.mainAppWebInfo.webDisplayMode= _.gl(),e.mainAppWebInfo.isWebNativeShareAvailable=navigator&&navigator.share!==void 0):e.clientName==="TVHTML5"&&(!_.C("web_lr_app_quality_killswitch")&&(l=_.B("LIVING_ROOM_APP_QUALITY"))&&(e.tvAppInfo=Object.assign(e.tvAppInfo||{},{appQuality:l})),l=_.B("LIVING_ROOM_CERTIFICATION_SCOPE"))&&(e.tvAppInfo=Object.assign(e.tvAppInfo||{},{certificationScope:l}));if(!_.C("web_populate_time_zone_itc_killswitch")){a:{if(typeof Intl!=="undefined")try{var m=(new Intl.DateTimeFormat).resolvedOptions().timeZone; break a}catch(N){}m=void 0}m&&(e.timeZone=m)}(m=_.B("EXPERIMENTS_TOKEN",""))?e.experimentsToken=m:delete e.experimentsToken;m=_.Nk();k9.instance||(k9.instance=new k9);d.request=Object.assign({},d.request,{internalExperimentFlags:m,consistencyTokenJars:_.te(k9.instance.j)});!_.C("web_prequest_context_killswitch")&&(m=_.B("INNERTUBE_CONTEXT_PREQUEST_CONTEXT"))&&(d.request.externalPrequestContext=m);e=_.yP();m=_.tP(58);e=e.get("gsml","");d.user=Object.assign({},d.user);m&&(d.user.enableSafetyMode=m); e&&(d.user.lockedSafetyMode=!0);_.C("warm_op_csn_cleanup")?c&&(b=_.Fr())&&(d.clientScreenNonce=b):!b&&(b=_.Fr())&&(d.clientScreenNonce=b);a&&(d.clickTracking={clickTrackingParams:a});if(a=_.Ua("yt.mdx.remote.remoteClient_"))d.remoteClient=a;m9.fc().setLocationOnInnerTubeContext(d);try{var n=_.Ek(),p=n.bid;delete n.bid;d.adSignalsInfo={params:[],bid:p};for(var r=_.z(Object.entries(n)),t=r.next();!t.done;t=r.next()){var u=_.z(t.value),v=u.next().value,w=u.next().value;n=v;p=w;a=void 0;(a=d.adSignalsInfo.params)== null||a.push({key:n,value:""+p})}var y,E;if(((y=d.client)==null?void 0:y.clientName)==="TVHTML5"||((E=d.client)==null?void 0:E.clientName)==="TVHTML5_UNPLUGGED"){var D=_.B("INNERTUBE_CONTEXT");D.adSignalsInfo&&(d.adSignalsInfo.advertisingId=D.adSignalsInfo.advertisingId,d.adSignalsInfo.advertisingIdSignalType="DEVICE_ID_TYPE_CONNECTED_TV_IFA",d.adSignalsInfo.limitAdTracking=D.adSignalsInfo.limitAdTracking)}}catch(N){_.jr(N)}return d}; Bwa=function(a,b){if(!a)return!1;var c,d=(c=_.F(a,_.Ew))==null?void 0:c.signal;if(d&&b.Xe)return!!b.Xe[d];var e;if((c=(e=_.F(a,_.iz))==null?void 0:e.request)&&b.Sk)return!!b.Sk[c];for(var f in a)if(b.Ok[f])return!0;return!1}; o9=function(a){var b={"Content-Type":"application/json"};_.B("EOM_VISITOR_DATA")?b["X-Goog-EOM-Visitor-Id"]=_.B("EOM_VISITOR_DATA"):_.B("VISITOR_DATA")&&(b["X-Goog-Visitor-Id"]=_.B("VISITOR_DATA"));b["X-Youtube-Bootstrap-Logged-In"]=_.B("LOGGED_IN",!1);_.B("DEBUG_SETTINGS_METADATA")&&(b["X-Debug-Settings-Metadata"]=_.B("DEBUG_SETTINGS_METADATA"));if(a!=="cors"){(a=_.B("INNERTUBE_CONTEXT_CLIENT_NAME"))&&(b["X-Youtube-Client-Name"]=a);(a=_.B("INNERTUBE_CONTEXT_CLIENT_VERSION"))&&(b["X-Youtube-Client-Version"]= a);(a=_.B("CHROME_CONNECTED_HEADER"))&&(b["X-Youtube-Chrome-Connected"]=a);(a=_.B("DOMAIN_ADMIN_STATE"))&&(b["X-Youtube-Domain-Admin-State"]=a);var c,d;(a=(d=(c=m9.fc()).getXGeoHeader)==null?void 0:d.call(c))&&(b["X-Geo"]=a)}(c=_.B("SERIALIZED_LAVA_DEVICE_CONTEXT"))&&(b["X-YouTube-Lava-Device-Context"]=c);return b};p9=function(a){return function(){return new a}};q9=function(){};r9=function(){};s9=function(){}; h9=function(a,b,c,d){this.B=a;this.Wa=b;this.v=c;this.D=d;this.o=void 0;this.j=new Map;a.Xe||(a.Xe={});a.Xe=Object.assign({},Cwa,a.Xe)};Ewa=function(a,b,c){var d=Dwa;if(h9.instance!==void 0){if(c=h9.instance,a=[d!==c.B,a!==c.Wa,b!==c.v,!1,!1,!1,void 0!==c.o],a.some(function(e){return e}))throw new _.ol("InnerTubeTransportService is already initialized",a);}else h9.instance=new h9(d,a,b,c)}; Gwa=function(a,b){function c(){}var d="/youtubei/v1/"+g9(Fwa);var e=e===void 0?{Kg:{identity:t9}}:e;var f=f===void 0?!0:f;c=Tua(Rua(d));b.context||(b.context=n9(void 0,f));return new _.Vg(function(g){var h,l,m,n,p;return _.A(function(r){if(r.j==1)return h=o5(d),l=_.wk(h)?"same-origin":"cors",a.v.Hr?(m=u9(e,l),r.J(2)):r.yield(v9(e,l),3);r.j!=2&&(m=r.o);n=n5(o5(d));p={input:n,yd:p5(n),Nc:b,config:e};g(w9(a,p,m,c));r.v()})})}; Hwa=function(a){var b,c,d,e,f,g;return _.A(function(h){switch(h.j){case 1:if(!((b=a)==null?0:(c=b.Nc)==null?0:c.context)){h.J(0);break}d=a.Nc.context;h.J(3);break;case 3:e=_.z([]),f=e.next();case 6:if(f.done){h.J(0);break}g=f.value;return h.yield(g.NJ(d),7);case 7:f=e.next(),h.J(6)}})};x9=function(a,b,c){var d;if(b&&!(b==null?0:(d=b.sequenceMetaData)==null?0:d.skipProcessing)&&a.D){d=_.z(Iwa);for(var e=d.next();!e.done;e=d.next())e=e.value,a.D[e]&&a.D[e].handleResponse(b,c)}}; w9=function(a,b,c,d){d=d===void 0?function(){}:d;var e,f,g,h,l,m,n,p,r,t,u,v,w,y,E,D,N,M,R,S,L,J,P,ca,na,la,ha,ia;return _.A(function(V){switch(V.j){case 1:g=(e=b.config)==null?void 0:(f=e.mK)==null?void 0:f.lK;V.J(2);break;case 3:h=V.o;if(!h||h.isExpired()){V.J(2);break}l=h.j();if(h.isProcessed()){V.J(5);break}x9(a,l,b);return V.yield((void 0).gJ(g),5);case 5:return V.return(Promise.resolve(l));case 2:if((m=a.o)==null||!m.bK(b.input,b.Nc)){V.J(7);break}return V.yield(a.o.ZI(b.input,b.Nc),8);case 8:return n= V.o,x9(a,n,b),V.return(n);case 7:return V.yield(Hwa(b),9);case 9:return(t=(r=b.config)==null?void 0:r.requestKey)&&a.j.has(t)?p=a.j.get(t):(u=JSON.stringify(b.Nc),y=(w=(v=b.yd)==null?void 0:v.headers)!=null?w:{},b.yd=Object.assign({},b.yd,{headers:Object.assign({},y,c)}),E=Object.assign({},b.yd),b.yd.method==="POST"&&(E=Object.assign({},E,{body:u})),((D=b.config)==null?0:D.Kz)&&_.Vr(b.config.Kz),N=function(){return a.Wa.fetch(b.input,E,b.config)},p=N(),t&&a.j.set(t,p)),V.yield(p,10);case 10:(M=V.o)&& _.C("web_streaming_player")&&Array.isArray(M)&&(M=M[0].playerResponse);if(M&&"error"in M&&((R=M)==null?0:(S=R.error)==null?0:S.details))for(L=M.error.details,J=_.z(L),P=J.next();!P.done;P=J.next())ca=P.value,(na=ca["@type"])&&Jwa.indexOf(na)>-1&&(delete ca["@type"],M=ca);t&&a.j.has(t)&&a.j.delete(t);((la=b.config)==null?0:la.Lz)&&_.Vr(b.config.Lz);if(M||(ha=a.o)==null||!ha.pH(b.input,b.Nc)){V.J(11);break}return V.yield(a.o.YI(b.input,b.Nc),12);case 12:M=V.o;case 11:return x9(a,M,b),((ia=b.config)== null?0:ia.vz)&&_.Vr(b.config.vz),d(),V.return(M||void 0)}})};Kwa=function(a,b){a:{a=a.B;var c,d=(c=_.F(b,_.Ew))==null?void 0:c.signal;if(d&&a.Xe&&(c=a.Xe[d])){var e=c();break a}var f;if((c=(f=_.F(b,_.iz))==null?void 0:f.request)&&a.Sk&&(f=a.Sk[c])){e=f();break a}for(e in b)if(a.Ok[e]&&(b=a.Ok[e])){e=b();break a}e=void 0}if(e!==void 0)return Promise.resolve(e)}; v9=function(a,b){var c,d,e,f;return _.A(function(g){if(g.j==1){e=(c=a)==null?void 0:(d=c.Kg)==null?void 0:d.sessionIndex;var h=g.yield;var l=_.yw(_.il({sessionIndex:e}));return h.call(g,l,2)}f=g.o;return g.return(Promise.resolve(Object.assign({},o9(b),f)))})};u9=function(a,b){var c;a=a==null?void 0:(c=a.Kg)==null?void 0:c.sessionIndex;c=_.il({sessionIndex:a});return Object.assign({},o9(b),c)};y9=function(){};z9=function(){};A9=function(a){this.I=a};B9=function(){};C9=function(){};D9=function(){}; E9=function(){};F9=function(){};Lwa=function(){var a=a===void 0?Kua:a;var b=b===void 0?{}:b;_.Ta("yt.logging.errors.log",_.jr);Lua();_.iq(_.kq(),b);window.onerror=a;_.nh=d5;window.addEventListener("unhandledrejection",function(c){if(c.reason instanceof Error){var d=c.reason;_.iC(d,{source:"unhandledrejection"});d.name==="AbortError"&&(d.level="WARNING")}d5(c.reason);c.preventDefault()})};Mwa=function(){var a;return(a=_.B("WEB_PLAYER_CONTEXT_CONFIGS"))==null?void 0:a.WEB_PLAYER_CONTEXT_CONFIG_ID_EMBEDDED_PLAYER}; G9=function(){try{return!!self.sessionStorage}catch(a){return!1}};H9=function(a){a=a.match(/(.*)::.*::.*/);if(a!==null)return a[1]};I9=function(a){if(G9()){var b=Object.keys(window.sessionStorage);b=_.z(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=H9(c);d===void 0||a.includes(d)||self.sessionStorage.removeItem(c)}}}; Nwa=function(){if(!G9())return!1;var a=_.pl(),b=Object.keys(window.sessionStorage);b=_.z(b);for(var c=b.next();!c.done;c=b.next())if(c=H9(c.value),c!==void 0&&c!==a)return!0;return!1};J9=function(){Awa().then(function(a){a&&(U4(a),V5(a),U5(a),I9(a))})}; Owa=function(){var a=new _.To;_.vg.rb(function(){var b,c,d,e,f;return _.A(function(g){switch(g.j){case 1:if(_.C("ytidb_clear_optimizations_killswitch")){g.J(2);break}b=_.pl("clear");if(b.startsWith("V")&&b.endsWith("||")){var h=[b];U4(h);V5(h);U5(h);I9(h);return g.return()}c=hva();d=Nwa();return g.yield(iva(),3);case 3:return e=g.o,g.yield(Gua(),4);case 4:if(f=g.o,!(c||d||e||f))return g.return();case 2:a.Pb()?J9():_.lg(a,"publicytnetworkstatus-online",J9),g.v()}})})}; Pwa=function(a){return new Promise(function(b){window.setTimeout(b,a)})};K9=function(a,b,c){this.requestKey=a;this.B=b;this.o=c;this.D=function(){return new XMLHttpRequest};this.j=void 0;this.v=[]}; Sva=function(a,b,c){var d,e,f,g;return _.A(function(h){if(h.j==1){_.ny("attestation_challenge_fetch");_.Vr("att_fs",void 0,"attestation_challenge_fetch");if(!a.j)throw new o7(9,"Missing fetcher");return h.yield(a.j(b,c),2)}d=h.o;f=(e=d)==null?void 0:e.bgChallenge;if(!f)throw new o7(15,"Missing field");a.o=d;a.v.forEach(function(l){l(d)});g=Q8(f);_.Vr("att_fc",void 0,"attestation_challenge_fetch");_.my("attestation_challenge_fetch");return h.return(g)})}; cwa=function(a,b){var c,d,e,f,g;return _.A(function(h){switch(h.j){case 1:c=new V6(100,3E5,.25,2),d=void 0;case 2:if(!(c.v<10)){h.J(4);break}h.D(5);if(!(c.v>0)){h.J(7);break}return h.yield(Pwa(c.j),7);case 7:return h.yield(Qwa(a,b),9);case 9:return e=h.o,h.return(e);case 5:f=h.B();f instanceof o7?d=f:(g=f instanceof Error?f.message:"Unknown",d=new o7(9,g));W6(c);h.J(2);break;case 4:if(d)throw d;throw new o7(9,"Unknown error");}})}; Qwa=function(a,b){b=Lva(Mva(new H7,b),a.requestKey);var c=new _.Ii,d=a.D();d.open("POST",a.B);d.setRequestHeader("X-Goog-Api-Key","AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw");d.setRequestHeader("Content-Type","application/json+protobuf");d.onload=function(){if(_.Jk(d)){var e=Rwa(d.responseText);c.resolve(e)}else c.reject(new o7(n7(_.Ik(d)),d.statusText))};d.onerror=function(){c.reject(new o7(n7(_.Ik(d)),d.statusText))};d.send(b.serialize());return c.promise}; Swa=function(a){var b={bicf:function(f){a.j=f},blc:function(){return a.getLatestChallengeResponse()},bcr:function(f){a.v.push(f)}},c=window;c.ntpevasrs=b;if(c.ntpqfbel!==void 0)for(var d=_.z(c.ntpqfbel),e=d.next();!e.done;e=d.next())e=e.value,e(b);c.ntpqfbel=void 0};Twa=function(a){var b,c;(b=a.ytcsi)==null||(c=b.tick)==null||c.call(b,"pot_ist")};L9=function(a){if(a instanceof Error){var b=_.Ua("yt.logging.errors.log");b&&b(a,"WARNING")}}; M9=function(a,b){var c=this;this.j=0;var d;this.Qg=(d=b==null?void 0:b.Qg)!=null?d:window;this.hm=b==null?void 0:b.hm;var e;this.requestKey=(e=b==null?void 0:b.requestKey)!=null?e:_.Mk("par_bir_key")||"O43z0dpjhgX20SCx4KAo";var f;this.ls=(f=b==null?void 0:b.ls)!=null?f:function(l){return new I7(l)};var g;d=(g=b==null?void 0:b.gI)!=null?g:function(l,m,n){return new K9(l,m,n)};this.bgChallenge=Q8(a.bgChallenge);this.ttlSeconds=S8(R8(a.challenge||""));this.gd=d(this.requestKey,_.C("par_at_ep")?["www.youtube.com", "m.youtube.com"].includes(_.Sa.location.hostname)?"/api/jnn/v1/GenerateIT":"https://jnn-pa.googleapis.com/$rpc/google.internal.waa.v1.Waa/GenerateIT":"https://jnn-pa.googleapis.com/$rpc/google.internal.waa.v1.Waa/GenerateIT",a);this.rs=b==null?void 0:b.rs;Swa(this.gd);var h;this.Uq=(h=b==null?void 0:b.Uq)!=null?h:function(l){_.ag(c.Qg.document,"visibilitychange",function(){c.Qg.document.visibilityState==="visible"&&l()})}}; Uwa=function(a){if(!a.vm){var b={maxAttempts:5,Tq:a.ttlSeconds*1E3};Twa(a.Qg);a.vm=a.ls({gd:a.gd,fg:{disable:_.C("html5_web_po_disable_remote_logging"),mb:"aGIf",Ov:Cua(),wy:_.C("wpo_dis_lfdms")?0:1E3,vg:function(d){var e=N9.get(d);e||(e=new L8(d),e=new k7(e),N9.set(d,e));return e}},yg:b,hx:a.bgChallenge,Ej:L9});a.j=Date.now();L7(a.vm,function(){a.j=Date.now()});a.Qg.bgevmc={p:function(){var d;(d=a.vm)==null||d.pause()},r:function(){var d;(d=a.vm)==null||d.resume()},cr:function(){var d,e;return(e= (d=a.vm)==null?void 0:d.checkForRefresh())!=null?e:Promise.resolve()}};mva(a.vm,function(){return _.A(function(d){return d.return(O9(a))})});var c=a.v.bind(a);a.hm&&a.ttlSeconds>0&&a.hm.then(function(d){d.listen("publicytnetworkstatus-online",c)});a.Uq(c)}};O9=function(a){if(a.o)return a.o;if(!a.vm)throw Error("we");a.o=new i8({vm:a.vm,gd:a.gd,yn:!0,onError:L9,yg:a.rs});return a.o};P9=function(a,b){a=new M9(a,b);Uwa(a);(b==null?0:b.OH)||O9(a)};Q9=function(a){try{var b=JSON.parse(a);if(b.bgChallenge)return b}catch(c){}}; Vwa=function(){var a=window,b={};a=a===void 0?window:a;var c=a.ytAtR,d;b==null||(d=b.Ip)==null||d.Sq();if(c){if(c=Q9(c)){var e;b==null||(e=b.Ip)==null||e.og("SUCCESS");P9(c,b)}a.ytAtR=void 0}else a.ytAtRC=function(f){if(f=Q9(f)){var g;b==null||(g=b.Ip)==null||g.og("SUCCESS");P9(f,b);a.ytAtRC=void 0}}};R9=function(){this.state=1;this.vm=null;this.j=void 0}; Wwa=function(a,b,c,d,e,f){var g=g===void 0?"trayride":g;c?(a.M(2),A5(q5(c),function(){window[g]?S9(a,d,g,e):(a.M(3),x5(c),_.kr(new _.ol("BL:ULB",c)))},f)):b?(f=_.Je("SCRIPT"),b instanceof _.Ob?_.Sb(f,b):f.textContent=b,f.nonce=_.Nb(document),document.head.appendChild(f),document.head.removeChild(f),window[g]?S9(a,d,g,e):(a.M(4),_.kr(new _.ol("BL:ULBJ")))):_.kr(new _.ol("BL:ULV"))}; S9=function(a,b,c,d){a.M(5);var e=!!a.j&&Xwa.includes(_.rc(a.j)||"");try{var f=new C7({program:b,globalName:c,fg:{disable:!_.C("att_web_record_metrics")||!_.C("att_skip_metrics_for_cookieless_domains_ks")&&e,mb:"aGIf"}});f.rg.then(function(){a.M(6);d&&d(b)});a.Ym(f)}catch(g){a.M(7),g instanceof Error&&_.kr(g)}};T9=function(){var a=_.Ua("yt.abuse.playerAttLoader");return a&&["bgvma","bgvmb","bgvmc"].every(function(b){return b in a})?a:null};U9=function(){R9.apply(this,arguments)}; V9=function(a){_.Hp.call(this,a===void 0?"document_active":a);var b=this;this.D=10;this.o=new Map;this.transitions=[{from:"document_active",to:"document_disposed_preventable",action:this.Y},{from:"document_active",to:"document_disposed",action:this.K},{from:"document_disposed_preventable",to:"document_disposed",action:this.K},{from:"document_disposed_preventable",to:"flush_logs",action:this.I},{from:"document_disposed_preventable",to:"document_active",action:this.B},{from:"document_disposed",to:"flush_logs", action:this.I},{from:"document_disposed",to:"document_active",action:this.B},{from:"document_disposed",to:"document_disposed",action:function(){}},{from:"flush_logs",to:"document_active",action:this.B}];window.addEventListener("pagehide",function(c){b.transition("document_disposed",{event:c});c.persisted===!1&&(b.o=new Map)});window.addEventListener("beforeunload",function(c){b.transition("document_disposed_preventable",{event:c})})}; W9=function(a){_.Hp.call(this,a===void 0?"document_visibility_unknown":a);var b=this;this.transitions=[{from:"document_visibility_unknown",to:"document_visible",action:this.B},{from:"document_visibility_unknown",to:"document_hidden",action:this.o},{from:"document_visibility_unknown",to:"document_foregrounded",action:this.I},{from:"document_visibility_unknown",to:"document_backgrounded",action:this.K},{from:"document_visible",to:"document_hidden",action:this.o},{from:"document_visible",to:"document_foregrounded", action:this.I},{from:"document_visible",to:"document_visible",action:this.B},{from:"document_foregrounded",to:"document_visible",action:this.B},{from:"document_foregrounded",to:"document_hidden",action:this.o},{from:"document_foregrounded",to:"document_foregrounded",action:this.I},{from:"document_hidden",to:"document_visible",action:this.B},{from:"document_hidden",to:"document_backgrounded",action:this.K},{from:"document_hidden",to:"document_hidden",action:this.o},{from:"document_backgrounded",to:"document_hidden", action:this.o},{from:"document_backgrounded",to:"document_backgrounded",action:this.K},{from:"document_backgrounded",to:"document_visible",action:this.B}];document.addEventListener("visibilitychange",function(c){document.visibilityState==="visible"?b.transition("document_visible",{event:c}):b.transition("document_hidden",{event:c})});_.C("visibility_lifecycles_dynamic_backgrounding")&&(window.addEventListener("blur",function(c){b.transition("document_backgrounded",{event:c})}),window.addEventListener("focus", function(c){b.transition("document_foregrounded",{event:c})}))};X9=function(){this.B=new V9;this.D=new W9};Y9=function(){X9.call(this);var a={};this.install((a.document_disposed={callback:this.j},a));_.C("combine_ve_grafts")&&(a={},this.install((a.document_disposed={callback:this.o},a)));a={};this.install((a.flush_logs={callback:this.v},a));_.C("web_log_cfg_cee_ks")||_.sl(Ywa)}; Ywa=function(){var a=_.B("CLIENT_EXPERIMENT_EVENTS");if(a){var b=pua();a=_.z(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b(c)&&_.ir("genericClientExperimentEvent",{eventType:c});delete _.fk.CLIENT_EXPERIMENT_EVENTS}};Z9=function(a,b){var c=_.Na.apply(2,arguments);a=a===void 0?0:a;_.ol.call(this,b,c);this.errorType=a;Object.setPrototypeOf(this,this.constructor.prototype)};$9=function(a){this.j=a}; Zwa=function(a,b,c){if(a.j){var d=_.tc(_.UD(b,"key"))||"/UNKNOWN_PATH";a.j.start(d)}a=c;_.C("wug_networking_gzip_request")&&(a=Hua(c));return new window.Request(b,a)}; a$=function(a,b,c,d,e){var f,g,h,l,m,n,p,r,t;return _.A(function(u){if(u.j==1)return u.yield(b.read(),2);f=u.o;g=f.value;if(h=f.done)return(l=a.j)==null||l.success(),u.return(d);try{m=c.parse(g)}catch(v){throw new Z9(1,"Failed to parse streaming response",g);}if(m!=null)for(n=_.z(m),p=n.next();!p.done;p=n.next())r=p.value,d.push(r),t=void 0,(t=e)==null||t(r);return u.return(a$(a,b,c,d,e))})};b$=function(){}; $wa=function(){var a=navigator;return new Promise(function(b,c){var d;(d=a.webkitTemporaryStorage)!=null&&d.queryUsageAndQuota?a.webkitTemporaryStorage.queryUsageAndQuota(function(e,f){b({usage:e,quota:f})},function(e){c(e)}):c(Error("ye"))})};S4=function(a,b){var c=this;this.handleError=a;this.j=b;this.o=!1;self.document===void 0||self.addEventListener("beforeunload",function(){c.o=!0});this.v=Math.random()<=.2}; axa=function(a,b){b$.fc().estimate().then(function(c){c=Object.assign({},b,{isSw:self.document===void 0,isIframe:self!==self.top,deviceStorageUsageMbytes:c$(c==null?void 0:c.usage),deviceStorageQuotaMbytes:c$(c==null?void 0:c.quota)});a.j("idbQuotaExceeded",c)})};c$=function(a){return typeof a==="undefined"?"-1":String(Math.ceil(a/1048576))}; bxa=function(a,b){var c={errorSeverity:b.ll.toString(),wizFeatureFlags:Object.entries(b.hp).join("\n")};c5(b,c);b=b.ll;b===3?_.jr(a,"ERROR",void 0,void 0,void 0,c):b===2&&_.jr(a,"WARNING",void 0,void 0,void 0,c);_.C("cow_if_errors_in_popup")&&b===3&&a.message.indexOf("")!==-1&&window.alert(a.message)};cxa=function(a,b,c){a.componentType!==_.mw&&c instanceof HTMLElement&&b&&!_.C("cow_logging_in_component_wrapper")&&_.ez(c,b,!0)}; dxa=function(){_.C("cow_logging_in_component_wrapper")?(_.zz=function(a,b){b instanceof HTMLElement&&_.ez(b,a,!0)},_.MA=function(){}):(_.zz=function(){},_.MA=cxa)};exa=function(){var a=_.yp();_.Px(a,{Ga:d$,Fd:$9});_.Px(a,{Ga:e$,Fd:_.hl});var b=m9.fc(),c=a.resolve(e$),d=a.resolve(d$),e={};b&&(e.client_location=b);Ewa(d,c,e);_.Px(a,{Ga:_.qz,qc:h9.instance})};gxa=function(a,b,c,d,e){b=new f$(a,b,c,d===void 0?function(){}:d,e===void 0?null:e);fxa.set(a,b)}; g$=function(a){if(!a.onReadyPatchApplied){var b=a.addEventListener;a.addEventListener=function(c,d){c==="onReady"?Promise.resolve().then(function(){d(a)}):b.call(a,c,d)};a.onReadyPatchApplied=!0}};f$=function(a,b,c,d,e){_.lf.call(this);this.container=a;this.webPlayerContextConfig=b;this.j=c;this.Ej=d;this.playerVars=e;hxa(this)}; hxa=function(a){if(_.Ua("yt.player.Application.create"))Promise.resolve().then(function(){h$(a)});else{ixa(_.cD(a.webPlayerContextConfig.trustedJsUrl),function(){h$(a)},function(){a.ia()||a.Ej()});var b=a.webPlayerContextConfig.trustedCssUrl;b&&jxa(_.cD(b))}}; h$=function(a){if(!a.ia()){var b=_.Ua("yt.player.Application.create");try{a.api=b(a.container,{args:a.playerVars},a.webPlayerContextConfig,void 0).getInternalApi(),g$(a.api),a.api.isReady=function(){return!0},a.j(a.api)}catch(c){throw a.Ej(),c;}}};jxa=function(a){var b="ytp-"+a.toString();if(!document.getElementById(b)){var c=document.createElement("link");c.id=b;_.Wb(c,a,"stylesheet");(document.getElementsByTagName("head")[0]||document.body).appendChild(c)}}; ixa=function(a,b,c){var d="ytp-"+a.toString(),e=document.getElementById(d);if(e)e.dataset.failed?c():e.dataset.loaded?b():(e.addEventListener("error",function(){c()}),e.addEventListener("load",function(){b()}));else{var f=document.createElement("script");f.id=d;f.addEventListener("error",function(){f.dataset.failed="true";c()});f.addEventListener("load",function(){f.dataset.loaded="true";b()});_.Ub(f,a);a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(f,a.firstChild)}}; kxa=function(a){_.B("ENABLE_WEBVIEW_API")&&window.ytwebviewplayer&&(window.addEventListener("message",function(b){try{var c=JSON.parse(b.data),d=c.methodName,e=c.args||[];a:{for(var f=_.z(e),g=f.next();!g.done;g=f.next())if(String(g.value).includes("javascript:")){var h=!0;break a}h=!1}if(h)throw Error("ze`"+d+"`"+e);if(d&&typeof a[d]==="function")a[d].apply(a,_.va(e));else throw Error("Ae`"+d);}catch(l){_.jr(l)}}),a.addEventListener("onReady",function(){window.ytwebviewplayer.postMessage(JSON.stringify({type:"onPlayerReady"}))}), a.addEventListener("onStateChange",function(b){window.ytwebviewplayer.postMessage(JSON.stringify({type:"onStateChange",state:b}))}),a.addEventListener("onError",function(b){window.ytwebviewplayer.postMessage(JSON.stringify({type:"onError",errorCode:b}))}))};i$=function(a){return(a.search("cue")===0||a.search("load")===0)&&a!=="loadModule"}; j$=function(a,b,c){if(typeof a==="string")return{videoId:a,startSeconds:b,suggestedQuality:c};b={};c=_.z(lxa);for(var d=c.next();!d.done;d=c.next())d=d.value,a[d]&&(b[d]=a[d]);if(a=a.embedConfig||a.embed_config){a:if(typeof a==="string")var e=a;else{if(_.$a(a))try{e=JSON.stringify(a);break a}catch(f){console.error("Invalid embedConfig JSON",f)}e=void 0}b.embed_config=e}return b}; k$=function(a,b,c,d){if(_.$a(a)&&!Array.isArray(a)){b="playlist list listType index startSeconds suggestedQuality".split(" ");c={};for(d=0;d1;document.body&&_.wD(document.body,"exp-invert-logo")&&(c&&!_.wD(document.body,"inverted-hdpi")?_.xD(document.body,"inverted-hdpi"):!c&&_.wD(document.body,"inverted-hdpi")&&_.yD(document.body,"inverted-hdpi"));b!=c&&(_.uP(119,c),a.save())};B$=function(){E$()};wxa=function(){_.Vr("ep_init_pr");E$()};E$=function(){var a=A$.getVideoData(1);a=a.title?a.title+" - YouTube":"YouTube";document.title!==a&&(document.title=a)}; F$=function(){A$&&A$.sendAbandonmentPing&&A$.sendAbandonmentPing();_.B("PL_ATT")&&v$.dispose();_.cC(X8);X8.length=0;x5(W8.toString());V8=!1;_.gk("DCLKSTAT",0);_.kf(C$);A$&&(A$.removeEventListener("onVideoDataChange",B$),A$.destroy(),A$=null)};zxa=function(a){_.C("embeds_web_enable_dispose_player_if_page_not_cached_killswitch")?F$():a.persisted||F$()}; Axa=function(){G$||(_.dC({Ei:function(a){a.props.data&&(a.el.data=a.props.data)},Fi:function(a,b,c){if(a.el)b.data!==c.data&&(a.el.data=c.data);else{var d;_.kr(new _.ol("IDOM component el is null",(d=a.j)==null?void 0:d.Vc))}}}),G$=!0)};_.H$=function(){};o3={};Bxa={RJ:!0};p3.prototype.register=function(){_.Rc(this)}; var jua={toString:function(a){var b=[],c=0;a-=-2147483648;b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(a%52);for(a=Math.floor(a/52);a>0;)b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(a%62),a=Math.floor(a/62);return b.join("")}},t9={identityType:"UNAUTHENTICATED_IDENTITY_TYPE_UNKNOWN"},s3,v3=0,w3=0,x4,F3,I3;S3.prototype.toString=function(){return this.j}; var l4=_.id(void 0,"1oa"),qua=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/,I$=_.gQ(y4,_.Bt),Cxa=_.gQ(y4,_.Bt),J$=_.gQ(function(a,b,c){b=Y3(b);b!=null&&(_.SP(a,c,5),a=a.j,c=x4||(x4=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),w3=0,v3=c.getUint32(0,!0),M3(a,v3))},_.At),K$=_.gQ(z4,_.rt),Dxa=_.gQ(z4,_.rt),L$=_.gQ(function(a,b,c){b=i4(b);if(b!=null&&(N3(b),b!=null))switch(_.SP(a,c,0),typeof b){case "number":a=a.j;z3(b);K3(a,v3,w3);break;case "bigint":c=E3(b);K3(a.j,c.o,c.j);break;default:c=G3(b),K3(a.j, c.o,c.j)}},_.st),M$=_.gQ(A4,_.ot),Exa=_.gQ(A4,_.ot),Fxa=_.gQ(function(a,b,c){b=i4(b);if(b!=null)switch(O3(b),_.SP(a,c,1),a=a.j,O3(b),typeof b){case "number":b<0?(c=-b,c=D3(new C3(c&4294967295,c/4294967296)),b=c.j,M3(a,c.o),M3(a,b)):(x3(b),M3(a,v3),M3(a,w3));break;case "bigint":c=b>>0&255),a.j.push(b>>>8&255),a.j.push(b>>>16&255),a.j.push(b>>>24&255))},_.qt);_.k=_.rW.prototype;_.k.clone=function(){return new _.rW(this.x,this.y)};_.k.equals=function(a){return a instanceof _.rW&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)}; _.k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.k.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};_.k.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.k.translate=function(a,b){a instanceof _.rW?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),typeof b==="number"&&(this.y+=b));return this};_.k.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};_.x(I4,_.he); var zua={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};N4.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};N4.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; N4.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};_.lb(Q4,_.lf);Q4.prototype.ha=function(a){a.j===void 0&&O4(a);var b=a.j;a.o===void 0&&O4(a);this.j=new _.rW(b,a.o)}; Q4.prototype.W=function(){if(this.j){var a=(0,_.Dm)();if(this.B!=0){var b=this.I,c=this.j,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.B);this.o[this.v]=Math.abs((d-this.D)/this.D)>.5?1:0;for(c=b=0;c<4;c++)b+=this.o[c]||0;b>=3&&this.S();this.D=d}this.B=a;this.I=this.j;this.v=(this.v+1)%4}};Q4.prototype.na=function(){window.clearInterval(this.ka);Bua(this.ea)}; var T4=0,j5={next:"wn_s",browse:"br_s",search:"sr_s",reel:"r_wrs",player:"ps_s"},Sua={next:"wn_r",browse:"br_r",search:"sr_r",reel:"r_wrr",player:"ps_r"},V4=0,a5={},h5={'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",'script[name="embed_client"]':"ecj",'link[rel="stylesheet"][name="embed-ui"]':"ecc"};_.x(l5,_.he);_.x(m5,_.he);var r5={};v5.prototype.clone=function(){var a=new v5,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];_.Ya(c)=="object"?a[b]=E4(c):a[b]=c}return a}; var y5={};_.x(E5,_.lf);_.k=E5.prototype;_.k.getId=function(){return this.D};_.k.loadNewVideoConfig=function(a){if(!this.ia()){this.ka&&(clearTimeout(this.ka),this.ka=0);var b=a||{};b instanceof v5||(b=new v5(b));this.config=b;this.setConfig(a);D5(this);this.isReady()&&F5(this)}}; _.k.setConfig=function(a){this.qb=a;this.config=M5(a);C5(this);if(!this.Ba){var b;this.Ba=P5(this,((b=this.config.args)==null?void 0:b.jsapicallback)||"onYouTubePlayerReady")}this.config.args?this.config.args.jsapicallback=null:this.config.args={jsapicallback:null};var c;if((c=this.config)==null?0:c.attrs)a=this.config.attrs,(b=a.width)&&this.o&&(this.o.style.width=H4(Number(b)||b)),(a=a.height)&&this.o&&(this.o.style.height=H4(Number(a)||a))};_.k.isReady=function(){return this.pb}; _.k.addEventListener=function(a,b){var c=this;this.ia();var d=P5(this,b);d&&(_.Zb(this.Sg,a)||this.j[a]||(b=cva(this,a),this.B&&this.B(a,b)),this.W.subscribe(a,d),a==="onReady"&&this.isReady()&&setTimeout(function(){d(c.api)},0))};_.k.removeEventListener=function(a,b){this.ia()||(b=P5(this,b))&&this.W.unsubscribe(a,b)};_.k.getPlayerType=function(){return this.ha||(G5(this)?"html5":null)};_.k.getLastError=function(){return this.lastError}; _.k.cancel=function(){this.I&&z5(H5(this),this.I);clearTimeout(this.cc);this.ea=!1};_.k.na=function(){K5(this);if(this.v&&this.config&&this.v.destroy)try{this.v.destroy()}catch(b){var a=new _.ol("PlayerProxy error during disposal",{error:b});a.level="ERROR";throw a;}this.Na=null;for(a in this.j)this.j.hasOwnProperty(a)&&delete this.j[a];this.qb=this.config=this.api=null;delete this.targetElement;delete this.o;_.lf.prototype.na.call(this)}; var Q5={},lwa={EC:"EMBEDDED_PLAYER_MODE_UNKNOWN",BC:"EMBEDDED_PLAYER_MODE_DEFAULT",DC:"EMBEDDED_PLAYER_MODE_PFP",CC:"EMBEDDED_PLAYER_MODE_PFL"};_.x(X5,Error);_.x(Z5,_.lf);Z5.prototype.snapshot=function(a){return this.vm.s(Object.assign({},a.Ic&&{c:a.Ic},a.fk&&{s:a.fk},a.cn!==void 0&&{p:a.cn}))};Z5.prototype.Kh=function(a){this.vm.e(a)};Z5.prototype.zi=function(a,b){return this.vm.c(a,b,!1)};Z5.prototype.Vh=function(){return this.vm.l()};_.x(e6,_.lf);e6.prototype.share=function(){if(this.ia())throw Error("Td");this.o++;return this};e6.prototype.dispose=function(){--this.o||_.lf.prototype.dispose.call(this)};h6.prototype.record=function(a,b){this.j.record("/client_streamz/bg/frs",a,b)};i6.prototype.record=function(a,b,c,d,e,f){this.j.record("/client_streamz/bg/wrl",a,b,c,d,e,f)};j6.prototype.fb=function(a,b){this.j.gf("/client_streamz/bg/ec",a,b)};k6.prototype.record=function(a,b,c){this.j.record("/client_streamz/bg/el",a,b,c)};l6.prototype.fb=function(a,b){this.j.gf("/client_streamz/bg/cec",a,b)};m6.prototype.fb=function(a,b){this.j.gf("/client_streamz/bg/po/csc",a,b)}; n6.prototype.fb=function(a,b){this.j.gf("/client_streamz/bg/po/ctav",a,b)};o6.prototype.fb=function(a,b){this.j.gf("/client_streamz/bg/po/cwsc",a,b)};p6.prototype.record=function(a,b){this.j.record("/client_streamz/bg/od/p",a,b)};q6.prototype.record=function(a,b,c){this.j.record("/client_streamz/bg/od/n",a,b,c)};_.x(r6,_.he);_.x(s6,_.he);var A6=[1,2,3];var Oxa=[0,A6,Kxa,Exa,Ixa];var Pxa=[0,_.lQ,[0,I$,K$]];_.x(t6,_.he);var z6=[1,2,3];var Qxa=[0,z6,Dxa,Cxa,O$,Pxa];_.x(u6,_.he);var Rxa=[0,_.lQ,Oxa,Qxa];var Sxa=[0,N$];_.x(v6,_.he);var Txa=[0,N$,-1,_.kQ];var Uxa=[0,N$,-1,M$,_.kQ];_.x(w6,_.he);var K8=[1,2,3];var Vxa=[0,K8,O$,Txa,O$,Uxa,O$,Sxa];_.x(x6,_.he);x6.prototype.v=_.jQ([0,N$,Vxa,Jxa,_.lQ,Rxa,Gxa,Hxa]);_.x(y6,_.he);C6.prototype.compress=function(a){var b,c,d,e;return _.A(function(f){switch(f.j){case 1:return b=new CompressionStream("gzip"),c=(new Response(b.readable)).arrayBuffer(),d=b.writable.getWriter(),f.yield(d.write((new TextEncoder).encode(a)),2);case 2:return f.yield(d.close(),3);case 3:return e=Uint8Array,f.yield(c,4);case 4:return f.return(new e(f.o))}})};C6.prototype.isSupported=function(a){return a<1024?!1:typeof CompressionStream!=="undefined"};D6.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};D6.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.o=this.j())};D6.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)}; D6.prototype.tick=function(){var a=this;if(this.enabled){var b=Math.max(this.j()-this.o,0);b0?c:void 0));c=_.xw(c,4,_.Tw(e>0?e:void 0));c=_.xw(c,5,_.Tw(f>0?f:void 0));e=c.Z;f=e[_.kd]|0;c=_.qd(c,f)?c:_.Vd(c,e,f)?_.Wd(c,e):new c.constructor(_.Ud(e,f,!0));_.Nw(g,10,c)}g=this.j.clone();c=Date.now().toString();g=_.xw(g,4,g4(c));a=a.slice();a=q4(g,3,a);d&&(g=new E6, d=_.xw(g,13,_.Tw(d)),g=new F6,d=_.Nw(g,2,d),g=new P6,d=_.Nw(g,1,d),d=l3(d,2,9),_.Nw(a,18,d));b&&_.xw(a,14,g4(b));return a};V6.prototype.v=0;V6.prototype.reset=function(){this.o=this.j=this.B;this.v=0};_.x(m3,_.he);var Wxa=C4(m3);_.x(n3,_.he);var R$;R$=new p3;_.x(Z6,_.lf);_.k=Z6.prototype;_.k.na=function(){Y6(this);this.o.stop();this.pb.stop();_.lf.prototype.na.call(this)};_.k.dispatch=function(a){if(a instanceof Q6)this.log(a);else try{var b=new Q6,c=a.serialize();var d=k3(b,8,c);this.log(d)}catch(e){a7(this,4,1)}}; _.k.log=function(a){a7(this,2,1);if(this.qb){a=a.clone();var b=this.Sg++;a=_.xw(a,21,g4(b));this.componentId&&k3(a,26,this.componentId);b=a;var c=_.Du(b,1);var d=d===void 0?!1:d;var e=typeof c;d=c==null?c:e==="bigint"?String((0,_.et)(64,c)):Z3(c)?e==="string"?c4(c):d?e4(c):d4(c):void 0;d==null&&(d=Date.now(),d=Number.isFinite(d)?d.toString():"0",_.xw(b,1,g4(d)));d=_.Du(b,15,void 0,void 0,h4);d!=null&&(typeof d==="bigint"?(0,_.Id)(d)?d=Number(d):(d=(0,_.et)(64,d),d=(0,_.Id)(d)?Number(d):String(d)): d=Z3(d)?typeof d==="number"?d4(d):c4(d):void 0);d==null&&_.xw(b,15,g4((new Date).getTimezoneOffset()*60));this.experimentIds&&(d=this.experimentIds.clone(),_.Nw(b,16,d));a7(this,1,1);b=this.j.length-this.bufferSize+1;b>0&&(this.j.splice(0,b),this.B+=b,a7(this,3,b));this.j.push(a);this.Tg||this.o.enabled||this.o.start()}}; _.k.flush=function(a,b){var c=this;if(this.j.length===0)a&&a();else if(this.Na&&this.ha)this.v.o=3,zva(this);else{var d=Date.now();if(this.Md>d&&this.Ba0&&(c.Ba=Date.now(),c.Md=c.Ba+r);r=R$.j;u=_.kb(_.Fd);var v;_.jd&&u&&((v=t.Z[u])==null?void 0:v[r])!=null&&_.hd(_.Ts,3);a:{v=R$.j;var w=w===void 0?!1:w;if(_.kb(_.Vs)&&_.kb(_.Fd)&&void 0===_.Vs){r=t.Z;u=r[_.Fd];if(!u)break a;if(u=u.SJ)try{u(r,v,Bxa);break a}catch(y){_.Dc(y)}}w&& (w=t.Z,(r=_.kb(_.Fd))&&r in w&&(w=w[r])&&delete w[v])}w=R$.ctor?R$.o(t,R$.ctor,R$.j,R$.v):R$.o(t,R$.j,null,R$.v);if(w=w===null?void 0:w)w=_.Vw(w,1,-1),w!==-1&&(c.D=new V6(w<1?1:w,3E5,.1),c.o.setInterval(c.D.j))}}a&&a();c.I=0},n=function(r,t){var u=p4(f,Q6,3);var v=Number(s4(f,14));W6(c.D);c.o.setInterval(c.D.j);r===401&&g&&(c.cc=g);v&&(c.B+=v);t===void 0&&(t=c.isRetryable(r));t&&(c.j=u.concat(c.j),c.Tg||c.o.enabled||c.o.start());a7(c,7,1);b&&b("net-send-failed",r);++c.I},p=function(){c.network&&c.network.send(l, m,n)};h?h.then(function(r){a7(c,5,e);l.Qj["Content-Encoding"]="gzip";l.Qj["Content-Type"]="application/binary";l.body=r;l.yu=2;p()},function(){a7(c,6,e);p()}):p()}}}};_.k.isRetryable=function(a){return 500<=a&&a<600||a===401||a===0};b7.prototype.send=function(a,b,c){var d=this,e,f,g,h,l,m,n,p,r,t;return _.A(function(u){switch(u.j){case 1:return f=(e=d.fu?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,u.D(2,3),g=Object.assign({},{method:a.requestType,headers:Object.assign({},a.Qj)},a.body&&{body:a.body},a.withCredentials&&{credentials:"include"},{signal:a.timeoutMillis&&e?e.signal:null}),u.yield(fetch(a.url,g),5);case 5:h=u.o;if(h.status!==200){(l=c)==null||l(h.status);u.J(3);break}if((m= b)==null){u.J(7);break}return u.yield(h.text(),8);case 8:m(u.o);case 7:case 3:u.W();clearTimeout(f);u.ea(0);break;case 2:n=u.B();switch((p=n)==null?void 0:p.name){case "AbortError":(r=c)==null||r(408);break;default:(t=c)==null||t(400)}u.J(3)}})};b7.prototype.Pi=function(){return 4};_.x(c7,_.lf);c7.prototype.Yk=function(){this.B=!0;return this}; c7.prototype.build=function(){this.network||(this.network=new b7);var a=new Z6({logSource:this.logSource,Jf:this.Jf?this.Jf:_.Xe,sessionIndex:this.sessionIndex,mB:this.Qd,pd:this.v,Tg:!1,Yk:this.B,lo:this.lo,network:this.network});r3(this,a);if(this.buildLabel){var b=this.buildLabel,c=U6(a.v);k3(c,7,b)}a.S=new C6;this.componentId&&(a.componentId=this.componentId);this.Ue&&(a.Ue=this.Ue);this.pageId&&(a.pageId=this.pageId);this.j&&((c=this.j)?(a.experimentIds||(a.experimentIds=new I4),b=a.experimentIds, c=c.serialize(),k3(b,4,c)):a.experimentIds&&_.xw(a.experimentIds,4));this.o&&(a.Na=a.ha);vva(a.v);this.bufferSize&&(a.bufferSize=this.bufferSize);this.network.Uh&&this.network.Uh(this.logSource);this.network.iA&&this.network.iA(a);return a};_.x(f7,_.lf);f7.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new y6,c=[],d=0;dthis.endTimeMs};var S$,Uva=(S$=Math.imul)!=null?S$:function(a,b){return a*b|0},U7=[196,200,224,18];X7.prototype.serialize=function(){return String(this.j)+","+this.o.join()};X7.prototype.tb=function(a,b){var c=void 0;if(this.o[this.j]!==a){var d=this.o.indexOf(a);d!==-1?(this.o.splice(d,1),d=this.I&&this.v.resolve();var d=a();a=t7(this.V,function(){return c.B(d)},"C");if(a===void 0)throw new X5(17,"YNJ:Undefined");if(!(a instanceof Uint8Array))throw new X5(18,"ODM:Invalid");b==null||b(a);return a};_.x(b8,Y7);b8.prototype.ee=function(){return this.B};_.x(c8,Y7); c8.prototype.ee=function(){var a=this;return t7(this.V,function(){return _.Xc(a.B)},"d")};c8.prototype.Aj=function(){return this.B};_.x(d8,Y7);d8.prototype.ee=function(){if(this.B)return this.B;this.B=f8(this,function(a){return"_"+kua(a)});return f8(this,function(a){return a})};_.x(g8,Y7); g8.prototype.ee=function(){var a=Math.floor(Date.now()/1E3),b=[Math.random()*255,Math.random()*255],c=b.concat([this.B&255,this.clientState],[a>>24&255,a>>16&255,a>>8&255,a&255]);a=new Uint8Array(2+c.length);a[0]=34;a[1]=c.length;a.set(c,2);c=a.subarray(2);for(var d=b=b.length;d0;)if(t=a[p++],f.D===4?f.D=0:f.D++,!t)break a;if(t==='"'&&!f.B){f.ba=d();break}if(t==="\\"&&!f.B&&(f.B=!0,t=a[p++],!t))break;if(f.B)if(f.B=!1,t==="u"&&(f.D=1),t=a[p++])continue;else break;h.lastIndex=p;t=h.exec(a);if(!t){p=a.length+1;break}p=t.index+1;t=a[t.index];if(!t)break}f.o+=p-u;continue;case 9:if(!t)continue;t==="r"?f.ba=10:w8(f,a,p);continue;case 10:if(!t)continue;t==="u"?f.ba=11:w8(f,a,p);continue;case 11:if(!t)continue;t==="e"?f.ba=d():w8(f,a,p);continue;case 12:if(!t)continue; t==="a"?f.ba=13:w8(f,a,p);continue;case 13:if(!t)continue;t==="l"?f.ba=14:w8(f,a,p);continue;case 14:if(!t)continue;t==="s"?f.ba=15:w8(f,a,p);continue;case 15:if(!t)continue;t==="e"?f.ba=d():w8(f,a,p);continue;case 16:if(!t)continue;t==="u"?f.ba=17:w8(f,a,p);continue;case 17:if(!t)continue;t==="l"?f.ba=18:w8(f,a,p);continue;case 18:if(!t)continue;t==="l"?f.ba=d():w8(f,a,p);continue;case 19:t==="."?f.ba=20:w8(f,a,p);continue;case 20:if("0123456789.eE+-".indexOf(t)!==-1)continue;else p--,f.o--,f.ba= d();continue;default:w8(f,a,p)}}}function d(){var t=g.pop();return t!=null?t:1}function e(t){f.j>1||(t||(t=n===-1?f.K+a.substring(m,p):a.substring(n,p)),f.Xa.push(JSON.parse(t)),n=p)}for(var f=this,g=f.Y,h=f.S,l=a.length,m=0,n=-1,p=0;p0?(r=f.Xa,f.Xa=[],r):null}return null};var oua={iE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_UNKNOWN",nD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_FOR_TESTING",PD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_RESUME_TO_HOME_TTL",ZD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_START_TO_SHORTS_ANALYSIS_SLICE",bD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_DEVICE_LAYER_SLICE",hE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_UNIFIED_LAYER_SLICE",kE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_VISITOR_LAYER_SLICE",XD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_SHOW_SHEET_COMMAND_HANDLER_BLOCK", nE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WIZ_NEXT_MIGRATED_COMPONENT",mE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WIZ_NEXT_CHANNEL_NAME_TOOLTIP",TD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ROTATION_LOCK_SUPPORTED",cE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_THEATER_MODE_ENABLED",tE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_SHOW_PIN_SUGGESTION",sE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_SHOW_LONG_PRESS_EDU_TOAST",rE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_SHOW_AMBIENT",dE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_TIME_WATCHED_PANEL", VD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_SEARCH_FROM_SEARCH_BAR_OVERLAY",uE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_SHOW_VOICE_SEARCH_EDU_TOAST",bE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_SUGGESTED_LANGUAGE_SELECTED",vE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_TRIGGER_SHORTS_PIP",uD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IN_ZP_VOICE_CRASHY_SET",LD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_FAST_SWIPE_SUPPRESSED",KD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_FAST_SWIPE_ALLOWED",ND:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_PULL_TO_REFRESH_ATTEMPT", oE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_BLOCK_KABUKI",OD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_TALL_SCREEN",MD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_NORMAL_SCREEN",UC:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ACCESSIBILITY_MODE_ENABLED",TC:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ACCESSIBILITY_MODE_DISABLED",VC:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_AUTOPLAY_ENABLED",WC:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_CAST_MATCH_OCCURRED",gD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_EMC3DS_ELIGIBLE",jD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ENDSCREEN_TRIGGERED", ID:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_POSTPLAY_TRIGGERED",HD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_POSTPLAY_LACT_THRESHOLD_EXCEEDED",oD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_STATE_MATCHED_ON_REMOTE_CONNECTION",qD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_STATE_SWITCHABLE_ON_REMOTE_CONNECTION",pD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_STATE_MISATTRIBUTED_ON_REMOTE_CONNECTION",tD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_TV_IS_SIGNED_IN_ON_REMOTE_CONNECTION",fE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_TV_START_TYPE_COLD_ON_REMOTE_CONNECTION", gE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_TV_START_TYPE_NON_COLD_ON_REMOTE_CONNECTION",DD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ON_REMOTE_CONNECTION",aD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_COBALT_PERSISTENT_SETTINGS_TEST_VALID",YC:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_COBALT_PERSISTENT_SETTINGS_TEST_INVALID",ZC:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_COBALT_PERSISTENT_SETTINGS_TEST_UNDEFINED",XC:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_COBALT_PERSISTENT_SETTINGS_TEST_DEFINED",vD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_LACT_THRESHOLD_EXCEEDED", UD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ROUND_TRIP_HANDLING_ON_REMOTE_CONNECTION",sD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_STATE_SWITCHED_ON_REMOTE_CONNECTION_BEFORE_APP_RELOAD",rD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_STATE_SWITCHED_ON_REMOTE_CONNECTION_AFTER_APP_RELOAD",hD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_EMC3DS_INELIGIBLE",eE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_TVHTML5_MID_ROLL_THRESHOLD_REACHED",lD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_EXP_COBALT_HTTP3_CONFIG_PENDING", kD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_EXP_COBALT_HTTP3_CONFIG_ACTIVATED",iD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_EMC3DS_M2_ELIGIBLE",RD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ROTATE_DEVICE_TO_LANDSCAPE",SD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ROTATE_DEVICE_TO_PORTRAIT",fD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_EMBEDS_FACEOFF_UI_EVENT",mD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_EXP_COBALT_HTTP3_CONFIG_RECEIVED",eD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ELIGIBLE_TO_SUPPRESS_TRANSPORT_CONTROLS_BUTTONS", jE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_USER_HAS_THEATER_MODE_COOKIE_ENABLED",dD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_DOCUMENT_PICTURE_IN_PICTURE_SUPPORTED",WD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_SHORTS_NON_DEFAULT_ASPECT_RATIO",GD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_PLAYER_IN_SQUEEZEBACK",wD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_LIVE_CREATOR_AR_GIFT_RECEIVED",QD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_RETURNED_TO_VIDEO_AFTER_FAILED_ATTEMPT_TO_BACKGROUND",pE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_ENTER_AUTO_ZOOM", ED:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_PASSIVE_IN_CONTROL",FD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_PASSIVE_IN_TREATMENT",cD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_DISABLE_PLAYER_OPEN_ON_FULLSCREEN",zD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_MDX_RECONNECT_WITH_RETRY",YD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_SINGLE_COLUMN_GRID_TRIGGERED",yD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_MDX_CONNECTION_TIMEOUT",xD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_LIVE_GHOST_LOADING_ELIGIBLE",aE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_STREAMED_GET_WATCH_SUPPORTED", lE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WEBVIEW_CONTAINER",qE:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_ENTER_PIP",JD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_PREMIUM_LITE_UPSELL_ELIGIBLE",AD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_OFFLINE_RECOVERY_BROAD",CD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_OFFLINE_RECOVERY_UNPLAYABLE",BD:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_OFFLINE_RECOVERY_STRICT"};var fya=new _.dk("subscribeEndpoint");_.x(x8,_.qb);z8.prototype.then=function(a,b,c){return this.o?this.o.then(a,b,c):this.ba===1&&a?(a=a.call(c,this.j))&&typeof a.then==="function"?a:B8(a):this.ba===2&&b?(a=b.call(c,this.j))&&typeof a.then==="function"?a:A8(a):this};z8.prototype.isRejected=function(){return this.ba==2};_.Sg(z8);_.x(E8,_.qb);E8.prototype.name="BiscottiError";_.x(D8,_.qb);D8.prototype.name="BiscottiMissingError";var iwa={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},F8=null;var Fwa=["att/get"],gya=["share/get_share_panel"],hya=["share/get_web_player_share_panel"],V$=["feedback"],iya=["notification/modify_channel_preference"],jya=["browse/edit_playlist"],kya=["subscription/subscribe"],lya=["subscription/unsubscribe"];J8.prototype.flush=function(a,b){a=a===void 0?[]:a;b=b===void 0?!1:b;if(_.C("enable_client_streamz_web")){a=_.z(a);for(var c=a.next();!c.done;c=a.next())c=B6(c.value),this.j&&_.Nw(c,2,this.j),c={serializedIncrementBatch:_.Uc(c.v())},_.ir("streamzIncremented",c,{sendIsolatedPayload:b})}};_.x(n8,J8);_.x(L8,J8);var m8,N9=new Map;var owa=null;var qwa=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]);U8.prototype.bindInnertubeChallengeFetcher=function(a){this.j.bicf(a)};U8.prototype.registerChallengeFetchedCallback=function(a){this.j.bcr(a)};U8.prototype.getLatestChallengeResponse=function(){return this.j.blc()};var mya=_.xa(["https://static.doubleclick.net/instream/ad_status.js"]),X8=[],W8=_.dy(mya),V8=!1;[new Z8("b.f_"),new Z8("j.s_"),new Z8("r.s_"),new Z8("e.h_"),new Z8("i.s_"),new Z8("s.t_"),new Z8("p.h_"),new Z8("s.i_"),new Z8("f.i_"),new Z8("a.b_"),new Z8("a.o_"),new Z8("g.o_"),new Z8("p.i_"),new Z8("p.m_"),new Z8("n.k_"),new Z8("i.f_"),new Z8("a.s_"),new Z8("m.c_"),new Z8("n.h_"),new Z8("o.p_"),new Z8("m.p_"),new Z8("o.a_"),new Z8("d.p_"),new Z8("e.i_")].reduce(function(a,b){a[b.j]=b;return a},{});b9.prototype.D=function(){var a=this;return _.A(function(b){return b.j==1?b.yield(Promise.race([a.j,null]),2):b.return(!!b.o)})}; b9.prototype.B=function(a,b,c){var d=this,e,f,g;return _.A(function(h){d.j===null&&$8(d,a9(d));e=!1;f={};g=function(){var l,m,n,p,r;return _.A(function(t){switch(t.j){case 1:if(!d.options.bI||!d.options.Yr){t.J(2);break}return t.yield(swa(),3);case 3:return l=t.o,t.yield((m=l)==null?void 0:m.checkForRefresh(),2);case 2:return t.yield(d.j,5);case 5:n=t.o;f.challenge=n.challenge;if(!n.vm){"c1a"in n.rf&&(f.error="ATTESTATION_ERROR_VM_NOT_INITIALIZED");t.J(6);break}p=Object.assign({},{c:n.challenge,e:a}, b);t.D(7);e=!0;return t.yield(n.vm.snapshot({Ic:p}),9);case 9:(r=t.o)?f.webResponse=r:f.error="ATTESTATION_ERROR_VM_NO_RESPONSE";t.K(6);break;case 7:t.B(),f.error="ATTESTATION_ERROR_VM_INTERNAL_ERROR";case 6:if(a==="ENGAGEMENT_TYPE_PLAYBACK"){var u=n.rf,v={};u.c6a&&(v.reportingStatus=String(Number(u.c)^Y8()));u.c6b&&(v.broadSpectrumDetectionResult=String(Number(u.c)^Number(_.B("CATSTAT",0))));f.adblockReporting=v}return t.return(f)}})};return h.return(Promise.race([g(),zwa(c,function(){var l=Object.assign({}, f);e&&(l.error="ATTESTATION_ERROR_VM_TIMEOUT");return l})]))})};b9.prototype.If=function(a){var b=this,c;return _.A(function(d){c=b.K;if(!c||c.Pb())return d.return(e9(b,a));k5("att_pna");return d.return(new Promise(function(e){_.lg(c,"publicytnetworkstatus-online",function(){e9(b,a).then(e)})}))})};var W$={},f9=(W$.WEB_UNPLUGGED="^unplugged/",W$.WEB_UNPLUGGED_ONBOARDING="^unplugged/",W$.WEB_UNPLUGGED_OPS="^unplugged/",W$.WEB_UNPLUGGED_PUBLIC="^unplugged/",W$.WEB_CREATOR="^creator/",W$.WEB_KIDS="^kids/",W$.WEB_EXPERIMENTS="^experiments/",W$.WEB_MUSIC="^music/",W$.WEB_REMIX="^music/",W$.WEB_MUSIC_EMBEDDED_PLAYER="^music/",W$.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",W$);i9.prototype.If=function(a){k5("att_fsr");return Gwa(this.j,a).then(function(b){k5("att_frr");return b})};k9.prototype.handleResponse=function(a,b){if(!b)throw Error("te");var c,d;b=((c=b.Nc.context)==null?void 0:(d=c.request)==null?void 0:d.consistencyTokenJars)||[];var e;(a=(e=a.responseContext)==null?void 0:e.consistencyTokenJar)&&this.replace(b,a)};k9.prototype.replace=function(a,b){a=_.z(a);for(var c=a.next();!c.done;c=a.next())delete this.j[c.value.encryptedTokenJarContents];j9(this,b)};var nya=window.location.hostname.split(".").slice(-2).join("."),X$;m9.fc=function(){X$=_.Ua("yt.clientLocationService.instance");X$||(X$=new m9,_.Ta("yt.clientLocationService.instance",X$));return X$};_.k=m9.prototype; _.k.setLocationOnInnerTubeContext=function(a){a.client||(a.client={});if(this.j)a.client.locationInfo||(a.client.locationInfo={}),a.client.locationInfo.latitudeE7=Math.floor(this.j.coords.latitude*1E7),a.client.locationInfo.longitudeE7=Math.floor(this.j.coords.longitude*1E7),a.client.locationInfo.horizontalAccuracyMeters=Math.round(this.j.coords.accuracy),a.client.locationInfo.forceLocationPlayabilityTokenRefresh=!0;else if(this.B||this.locationPlayabilityToken)a.client.locationPlayabilityToken=this.B|| this.locationPlayabilityToken};_.k.getXGeoHeader=function(){if(this.o){var a=this.o;var b=Math.floor(a.coords.longitude*1E7);var c=Math.floor(a.coords.latitude*1E7);var d=new q8;c=_.xw(d,1,_.Tw(c));b=_.xw(c,2,_.Tw(b));c=new s8;c=l3(c,1,1);c=l3(c,2,12);c=l3(c,9,8);c=_.xw(c,3,g4(a.timestamp*1E3));a=_.xw(c,7,X3(a.coords.accuracy*1E3));a=l3(a,25,2);a=_.Nw(a,5,b);a="w "+_.Uc(eya(a),4)}else a=null;return a}; _.k.handleResponse=function(a){var b;a=(b=a.responseContext)==null?void 0:b.locationPlayabilityToken;a!==void 0&&(this.locationPlayabilityToken=a,this.o=this.j=void 0,_.B("INNERTUBE_CLIENT_NAME")==="TVHTML5"?(this.localStorage=l9(this))&&this.localStorage.set("yt-location-playability-token",a,15552E3):_.el("YT_CL",JSON.stringify({loctok:a}),15552E3,nya,!0))}; _.k.clearLocationPlayabilityToken=function(a){a==="TVHTML5"?(this.localStorage=l9(this))&&this.localStorage.remove("yt-location-playability-token"):_.fl("YT_CL");this.B=void 0;this.v!==-1&&(clearTimeout(this.v),this.v=-1)};_.k.clearCurrentPosition=function(){this.o=this.j=void 0}; _.k.getCurrentPositionFromGeolocation=function(a){var b=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition))return Promise.reject(Error("ue"));var c=!1,d=1E4;_.B("INNERTUBE_CLIENT_NAME")==="MWEB"&&(c=!0,d=15E3);return new Promise(function(e,f){navigator.geolocation.getCurrentPosition(function(g){b.o=(a==null?0:a.addToHeaders)?g:void 0;b.j=g;e(g)},function(g){f(g)},{enableHighAccuracy:c,maximumAge:0,timeout:d})})}; _.k.createUnpluggedLocationInfo=function(a){var b={};a=a.coords;if(a==null?0:a.latitude)b.latitudeE7=Math.floor(a.latitude*1E7);if(a==null?0:a.longitude)b.longitudeE7=Math.floor(a.longitude*1E7);if(a==null?0:a.accuracy)b.locationRadiusMeters=Math.round(a.accuracy);return b};_.k.createLocationInfo=function(a){var b={};a=a.coords;if(a==null?0:a.latitude)b.latitudeE7=Math.floor(a.latitude*1E7);if(a==null?0:a.longitude)b.longitudeE7=Math.floor(a.longitude*1E7);return b};q9.prototype.D=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?t9:c;var d={context:n9(a.clickTrackingParams,!1,this.B)};var e=this.o(a);if(e){this.j(d,e,b);var f;e="/youtubei/v1/"+g9(this.v());var g=(f=_.F(a.commandMetadata,_.Dw))==null?void 0:f.apiUrl;g&&(e=g);f=n5(o5(e));a=Object.assign({},{command:a},void 0);d={input:f,yd:p5(f),Nc:d,config:a};d.config.Kg?d.config.Kg.identity=c:d.config.Kg={identity:c};(c=this.K())&&!d.config.requestKey&&(d.config.requestKey=c);b.abortSignal&&(d.yd.signal=b.abortSignal); return d}b=new _.ol("Error: Failed to create Request from Command.",a);_.jr(b)};q9.prototype.K=function(){};_.oa.Object.defineProperties(q9.prototype,{B:{configurable:!0,enumerable:!0,get:function(){return!1}}});_.x(r9,q9);r9.prototype.K=function(){};_.x(s9,r9);s9.prototype.D=function(){return{input:"/getDatasyncIdsEndpoint",yd:p5("/getDatasyncIdsEndpoint","GET"),Nc:{}}};s9.prototype.v=function(){return[]};s9.prototype.o=function(){};s9.prototype.j=function(){};var Y$={},Cwa=(Y$.GET_DATASYNC_IDS=p9(s9),Y$);var Iwa="tokens consistency service_params mss client_location entities adblock_detection response_received_commands store manifest player_preload shorts_prefetch resolve_url_prefetch".split(" "),Jwa=["type.googleapis.com/youtube.api.pfiinnertube.YoutubeApiInnertube.BrowseResponse","type.googleapis.com/youtube.api.pfiinnertube.YoutubeApiInnertube.PlayerResponse","type.googleapis.com/youtube.api.pfiinnertube.YoutubeApiInnertube.PanelResponse"]; h9.prototype.Ji=function(a,b){var c=this;var d=d===void 0?t9:d;var e=Kwa(this,a);return e?new _.Vg(function(f,g){var h,l,m,n,p;return _.A(function(r){switch(r.j){case 1:return r.yield(e,2);case 2:h=r.o;l=h.D(a,b,d);if(!l){g(new _.ol("Error: Failed to build request for command.",a));r.J(0);break}O8(l.input);n=((m=l.yd)==null?void 0:m.mode)==="cors"?"cors":void 0;if(c.v.Hr){p=u9(l.config,n);r.J(4);break}return r.yield(v9(l.config,n),5);case 5:p=r.o;case 4:f(w9(c,l,p)),r.v()}})}):_.tD(new _.ol("Error: No request builder found for command.", a))};h9.prototype.Dw=function(a){return Bwa(a,this.B)};_.x(y9,r9);y9.prototype.v=function(){return kya};y9.prototype.o=function(a){return _.F(a,fya)||void 0};y9.prototype.j=function(a,b,c){c=c===void 0?{}:c;b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params);c.botguardResponse&&(a.botguardResponse=c.botguardResponse);c.feature&&(a.clientFeature=c.feature)};_.oa.Object.defineProperties(y9.prototype,{B:{configurable:!0,enumerable:!0,get:function(){return!0}}});_.x(z9,r9);z9.prototype.v=function(){return lya};z9.prototype.o=function(a){return _.F(a,_.lz)||void 0};z9.prototype.j=function(a,b){b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params)};_.oa.Object.defineProperties(z9.prototype,{B:{configurable:!0,enumerable:!0,get:function(){return!0}}});var oya=new _.pp("SHARE_CLIENT_PARAMS_PROVIDER_TOKEN");_.x(A9,r9);A9.prototype.v=function(){return gya};A9.prototype.o=function(a){return _.F(a,_.rM)||_.F(a,_.uia)||_.F(a,_.qM)};A9.prototype.j=function(a,b){b.serializedShareEntity&&(a.serializedSharedEntity=b.serializedShareEntity);if(b.clientParamIdentifier){var c;if((c=this.I)==null?0:c.j(b.clientParamIdentifier))a.clientParams=this.I.o(b.clientParamIdentifier)}};A9[_.vp]=[oya];_.x(B9,r9);B9.prototype.v=function(){return V$};B9.prototype.o=function(a){return _.F(a,_.BP)||void 0};B9.prototype.j=function(a,b,c){a.feedbackTokens=[];b.feedbackToken&&a.feedbackTokens.push(b.feedbackToken);if(b=b.cpn||c.cpn)a.feedbackContext={cpn:b};a.isFeedbackTokenUnencrypted=!!c.is_feedback_token_unencrypted;a.shouldMerge=!1;c.extra_feedback_tokens&&(a.shouldMerge=!0,a.feedbackTokens=a.feedbackTokens.concat(c.extra_feedback_tokens))}; _.oa.Object.defineProperties(B9.prototype,{B:{configurable:!0,enumerable:!0,get:function(){return!0}}});_.x(C9,r9);C9.prototype.v=function(){return V$};C9.prototype.o=function(a){return _.F(a,_.kz)};C9.prototype.j=function(a,b){b.undoToken&&(a.feedbackTokens=[b.undoToken]);b.isUndoTokenUnencrypted&&(a.isFeedbackTokenUnencrypted=b.isUndoTokenUnencrypted)};_.oa.Object.defineProperties(C9.prototype,{B:{configurable:!0,enumerable:!0,get:function(){return!0}}});_.x(D9,r9);D9.prototype.v=function(){return iya};D9.prototype.o=function(a){return _.F(a,_.jz)||void 0};D9.prototype.j=function(a,b){b.params&&(a.params=b.params);b.secondaryParams&&(a.secondaryParams=b.secondaryParams)};_.x(E9,r9);E9.prototype.v=function(){return jya};E9.prototype.o=function(a){return _.F(a,_.Gw)||void 0};E9.prototype.j=function(a,b){b.actions&&(a.actions=b.actions);b.params&&(a.params=b.params);b.playlistId&&(a.playlistId=b.playlistId)};_.x(F9,r9);F9.prototype.v=function(){return hya};F9.prototype.o=function(a){return _.F(a,_.via)};F9.prototype.j=function(a,b,c){c=c===void 0?{}:c;b.serializedShareEntity&&(a.serializedSharedEntity=b.serializedShareEntity);c.includeListId&&(a.includeListId=!0)};K9.prototype.getLatestChallengeResponse=function(){return this.o};M9.prototype.v=function(){if(Date.now()>this.j+this.ttlSeconds*1E3){var a;(a=this.vm)==null||K7(a)}};var Xwa=["www.youtube-nocookie.com","www.youtubeeducation.com","youtube.googleapis.com"];_.k=R9.prototype;_.k.initialize=function(a,b,c,d){this.j=d;if(a.program){var e;d=(e=a.interpreterUrl)!=null?e:null;if(a.interpreterSafeScript)e=J4(a.interpreterSafeScript);else{var f;e=(f=a.interpreterScript)!=null?f:null}a.interpreterSafeUrl&&(d=_.cD(a.interpreterSafeUrl).toString());Wwa(this,e,d,a.program,b,c)}else _.kr(Error("xe"))};_.k.isInitialized=function(){return this.un()};_.k.getState=function(){return this.state}; _.k.isLoading=function(){return this.state===2};_.k.invoke=function(a){a=a===void 0?{}:a;return this.un()?this.ns({Ic:a}):null};_.k.dispose=function(){this.Ym(null);this.M(8)};_.k.un=function(){return!!this.vm};_.k.ns=function(a){return this.vm.zr(a)};_.k.Ym=function(a){_.jf(this.vm);this.vm=a};_.k.M=function(a){this.state=a};_.x(U9,R9);U9.prototype.Ym=function(a){var b;(b=T9())==null||b.bgvma();a?(b={bgvma:a.dispose.bind(a),bgvmb:a.snapshot.bind(a),bgvmc:a.zr.bind(a)},_.Ta("yt.abuse.playerAttLoader",b),_.ib("yt.abuse.playerAttLoaderRun",function(c){return a.snapshot(c)})):(_.Ta("yt.abuse.playerAttLoader",null),_.Ta("yt.abuse.playerAttLoaderRun",null))};U9.prototype.un=function(){return!!T9()};U9.prototype.ns=function(a){return T9().bgvmc(a)};var e$=new _.pp("AUTH_SERVICE_TOKEN");_.x(V9,_.Hp);V9.prototype.Y=function(a,b){if(!this.o.get("document_disposed_preventable")){a(b==null?void 0:b.event);var c,d;if((b==null?0:(c=b.event)==null?0:c.defaultPrevented)||(b==null?0:(d=b.event)==null?0:d.returnValue)){b.event.returnValue||(b.event.returnValue=!0);b.event.defaultPrevented||b.event.preventDefault();this.o=new Map;this.transition("document_active");return}}this.o.set("document_disposed_preventable",!0);this.o.get("document_disposed")?this.transition("flush_logs"):this.transition("document_disposed")}; V9.prototype.K=function(a,b){this.o.get("document_disposed")?this.transition("document_active"):(a(b==null?void 0:b.event),this.o.set("document_disposed",!0),this.transition("flush_logs"))};V9.prototype.I=function(a,b){a(b==null?void 0:b.event);this.transition("document_active")};V9.prototype.B=function(){this.o=new Map};_.x(W9,_.Hp);W9.prototype.B=function(a,b){a(b==null?void 0:b.event);_.C("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_foregrounded")};W9.prototype.o=function(a,b){a(b==null?void 0:b.event);_.C("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_backgrounded")};W9.prototype.K=function(a,b){a(b==null?void 0:b.event)};W9.prototype.I=function(a,b){a(b==null?void 0:b.event)};X9.prototype.install=function(){var a=_.Na.apply(0,arguments),b=this;a.forEach(function(c){b.B.install(c)});a.forEach(function(c){b.D.install(c)})};_.x(Y9,X9);Y9.prototype.v=function(){_.ir("finalPayload",{csn:_.Fr()})};Y9.prototype.j=function(){_.Py(_.mz);_.nz!=null&&_.nz.flush()};Y9.prototype.o=function(){_.Bx(_.yx())};_.x(Z9,_.ol);var pya=new _.pp("NETWORK_SLI_TOKEN");$9.prototype.fetch=function(a,b,c,d){var e=this,f,g,h,l,m,n,p,r,t,u,v;return _.A(function(w){switch(w.j){case 1:return f=Zwa(e,a,b),w.D(2),w.yield(fetch(f),4);case 4:g=w.o;if(!(_.C("web_unified_fetch")&&d&&g.ok&&g.body&&typeof g.body.getReader==="function")){w.J(5);break}h=g.clone();l=h.body.getReader();return w.yield(l.read(),6);case 6:if(m=w.o,n=m.value,l.cancel().catch(function(){}),n&&n[0]===91)return p=[],r=g.body.pipeThrough(new TextDecoderStream).getReader(),t=new u8,w.return(a$(e,r,t,p,d)); case 5:return w.yield(e.handleResponse(g,c),7);case 7:return w.return(w.o);case 2:u=w.B();_.kr(u);if(((v=c)==null?0:v.Lv)&&u instanceof Z9&&u.errorType===1)throw u;return w.return(void 0)}})}; $9.prototype.handleResponse=function(a,b){var c=a.text().then(function(d){if((b==null?0:b.Vx)&&a.ok)return _.cy(b.Vx,d);d=d.replace(")]}'","");if((b==null?0:b.Lv)&&d)try{var e=JSON.parse(d)}catch(g){throw new Z9(1,"JSON parsing failed after fetch");}var f;return(f=e)!=null?f:JSON.parse(d)});a.redirected||a.ok?this.j&&this.j.success():(this.j&&this.j.dI(),c=c.then(function(d){_.kr(new _.ol("Error: API fetch failed",a.status,a.url,d));return Object.assign({},d,{errorMetadata:{status:a.status}})})); return c};$9[_.vp]=[_.rp(pya)];var d$=new _.pp("NETWORK_MANAGER_TOKEN");b$.fc=function(){var a=_.Ua("ytglobal.storage_");a||(a=new b$,_.Ta("ytglobal.storage_",a));return a};b$.prototype.estimate=function(){var a,b,c;return _.A(function(d){a=navigator;return((b=a.storage)==null?0:b.estimate)?d.return(a.storage.estimate()):((c=a.webkitTemporaryStorage)==null?0:c.queryUsageAndQuota)?d.return($wa()):d.return()})};_.Ta("ytglobal.storageClass_",b$);S4.prototype.Gb=function(a){this.handleError(a)}; S4.prototype.qj=function(a,b){switch(a){case "IDB_DATA_CORRUPTED":_.C("idb_data_corrupted_killswitch")||this.j("idbDataCorrupted",b);break;case "IDB_UNEXPECTEDLY_CLOSED":this.j("idbUnexpectedlyClosed",b);break;case "IS_SUPPORTED_COMPLETED":_.C("idb_is_supported_completed_killswitch")||this.j("idbIsSupportedCompleted",b);break;case "QUOTA_EXCEEDED":axa(this,b);break;case "TRANSACTION_ENDED":this.v&&Math.random()<=.1&&this.j("idbTransactionEnded",b);break;case "TRANSACTION_UNEXPECTEDLY_ABORTED":a=Object.assign({}, b,{hasWindowUnloaded:this.o}),this.j("idbTransactionAborted",a)}};var Z$=!1;var Dwa={Ok:{feedbackEndpoint:p9(B9),modifyChannelNotificationPreferenceEndpoint:p9(D9),playlistEditEndpoint:p9(E9),shareEntityEndpoint:p9(A9),subscribeEndpoint:p9(y9),undoFeedbackEndpoint:p9(C9),unsubscribeEndpoint:p9(z9),webPlayerShareEntityServiceEndpoint:p9(F9)}};var fxa=new Map;_.x(f$,_.lf);f$.prototype.na=function(){this.api&&this.api.destroy();G4(this.container);_.lf.prototype.na.call(this)};var $$={},mxa=($$["api.invalidparam"]=2,$$.auth=150,$$["drm.auth"]=150,$$["heartbeat.net"]=150,$$["heartbeat.servererror"]=150,$$["heartbeat.stop"]=150,$$["html5.unsupportedads"]=5,$$["fmt.noneavailable"]=5,$$["fmt.decode"]=5,$$["fmt.unplayable"]=5,$$["html5.missingapi"]=5,$$["html5.unsupportedlive"]=5,$$["drm.unavailable"]=5,$$["mrm.blocked"]=151,$$["embedder.identity.denied"]=152,$$["embedder.identity.missing.referrer"]=153,$$);var lxa=new Set("endSeconds startSeconds mediaContentUrl suggestedQuality videoId rct rctn playmuted muted_autoplay_duration_mode".split(" "));_.x(p$,_.lf);_.k=p$.prototype;_.k.sendMessage=function(a,b){a={event:a,info:b===void 0?null:b};this.v?o$(this,a):this.W.push(a)}; _.k.Zz=function(a){a={playerState:a,currentTime:this.api.getCurrentTime(),duration:this.api.getDuration(),videoData:this.api.getVideoData(),videoStartBytes:0,videoBytesTotal:this.api.getVideoBytesTotal(),videoLoadedFraction:this.api.getVideoLoadedFraction(),playbackQuality:this.api.getPlaybackQuality(),availableQualityLevels:this.api.getAvailableQualityLevels(),currentTimeLastUpdated_:Date.now()/1E3,playbackRate:this.api.getPlaybackRate(),mediaReferenceTime:this.api.getMediaReferenceTime()};this.api.getVideoUrl&& (a.videoUrl=this.api.getVideoUrl());this.api.getVideoContentRect&&(a.videoContentRect=this.api.getVideoContentRect());this.api.getProgressState&&(a.progressState=this.api.getProgressState());this.api.getPlaylist&&(a.playlist=this.api.getPlaylist());this.api.getPlaylistIndex&&(a.playlistIndex=this.api.getPlaylistIndex());r$(this,a)}; _.k.Xz=function(a){a={playbackQuality:a};this.api.getAvailableQualityLevels&&(a.availableQualityLevels=this.api.getAvailableQualityLevels());this.api.getPreferredQuality&&(a.preferredQuality=this.api.getPreferredQuality());r$(this,a)};_.k.Yz=function(a){r$(this,{playbackRate:a})}; _.k.Tz=function(){for(var a=this.api.getOptions(),b={namespaces:a},c=0,d=a.length;c0&&i$(c)){var d=b;if(_.$a(d[0])&&!Array.isArray(d[0]))var e=d[0];else switch(e={},c){case "loadVideoById":case "cueVideoById":e=j$(d[0],d[1]!== void 0?Number(d[1]):void 0,d[2]);break;case "loadVideoByUrl":case "cueVideoByUrl":e=d[0];typeof e==="string"&&(e={mediaContentUrl:e,startSeconds:d[1]!==void 0?Number(d[1]):void 0,suggestedQuality:d[2]});b:{if((d=e.mediaContentUrl)&&(d=/\/([ve]|embed)\/([^#?]+)/.exec(d))&&d[2]){d=d[2];break b}d=null}e.videoId=d;e=j$(e);break;case "loadPlaylist":case "cuePlaylist":e=k$(d[0],d[1],d[2],d[3])}b.length=1;b[0]=e}this.api.handleExternalCall(c,b,a);i$(c)&&r$(this,q$(this))}}}}; _.k.na=function(){_.lf.prototype.na.call(this);l$.removeEventListener("message",this.D);for(var a=0;a