"use strict";this.default_c3_base=this.default_c3_base||{};(function(_){var window=this;
try{
_._F_toggles_initialize=function(a){(typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:this)._F_toggles=a||[]};(0,_._F_toggles_initialize)([0x18000, ]);
/*

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

 SPDX-License-Identifier: Apache-2.0
*/
/*

 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.io/license
*/
/*
 SPDX-License-Identifier: Apache-2.0
*/
/*

 Copyright 2017 Google LLC
 SPDX-License-Identifier: BSD-3-Clause
*/
/*

 (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).
*/
/*

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

 MIT License

 Copyright (c) 2017 Alexander Reardon

 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
*/
/*

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


 The MIT License (MIT)

 Copyright (c) 2015-present Dan Abramov

 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.
*/
var aa,aaa,ea,fa,ia,na,ta,ua,va,baa,Ha,Ia,caa,La,Ma,Na,Oa,Pa,Qa,Va,Ya,ab,bb,cb,eb,faa,gaa,kb,ob,pb,qb,sb,tb,Db,Gb,Hb,Ib,Jb,Lb,Mb,Qb,jaa,Ub,kaa,laa,Xb,Yb,ec,ac,jc,naa,lc,nc,pc,rc,sc,tc,uc,vc,xc,yc,Ac,Cc,Dc,oaa,Fc,Ic,Jc,Kc,Mc,Nc,Oc,Qc,Tc,Vc,Wc,Xc,ad,Uc,bd,cd,ed,fd,gd,id,jd,pd,qd,rd,sd,qaa,od,nd,md,td,raa,ud,vd,yd,xd,Ad,saa,Hd,taa,Jd,Md,Od,Pd,Rd,Sd,Vd,Ud,uaa,Td,vaa,Zd,xaa,$d,yaa,be,ae,zaa,ce,Aaa,de,ee,ge,Wd,me,ne,le,we,Be,Ce,Fe,Ge,He,Daa,Me,Ie,Ke,Je,Eaa,Se,qe,Ue,cf,df,ef,ff,jf,mf,of,pf,tf,uf,vf,zf,Af,
Bf,Cf,Df,Gf,Ff,If,Jf,Kf,Nf,Rf,Vf,Yf,Zf,ag,bg,cg,dg,Iaa,gg,ig,jg,kg,lg,mg,tg,Kaa,ug,Laa,wg,og,Maa,xg,Bg,Oaa,Paa,zg,Qaa,Raa,pg,Dg,Fg,Ag,Jg,Lg,Ng,Og,Pg,Rg,Wg,Xg,Yg,Zg,$g,Saa,Taa,Uaa,ah,bh,Vaa,Waa,Xaa,Yaa,Zaa,$aa,aba,bba,cba,dba,eba,dh,eh,fba,fh,gh,gba,hh,hba,ih,iba,jba,kh,mba,lba,lh,oba,mh,nh,pba,qba,rba,oh,sba,ph,tba,uba,vba,qh,xba,rh,yba,zba,Aba,th,uh,wh,Gba,Fba,zh,Bh,Ch,Dh,Eh,Hh,Ih,Jh,Kh,Lba,Mba,Lh,Mh,Nh,Nba,Oba,Pba,Th,Rba,Vh,Yba,Wba,Xba,Wh,Xh,Yh,$ba,Zh,ei,bca,dca,cca,eca,ki,li,mi,gca,hca,ica,ni,
jca,ui,kca,lca,mca,nca,oca,vi,wi,pca,sca,Di,Ei,tca,Hi,wca,Ti,zca,Cca,Bca,Wi,Dca,bj,Eca,Fca,Gca,cj,dj,Hca,gj,hj,kj,Ica,Kca,Mca,Nca,oj,Sca,Tca,tj,Xca,mj,Pca,Zca,Wca,Uca,Vca,$ca,Yca,Rca,ada,zj,bda,Aj,Bj,eda,Cj,Dj,Ej,Fj,fda,gda,lda,ida,kda,Jj,Ij,Rj,Sj,Tj,Wj,Xj,mda,ak,nda,oda,pda,rda,qda,sda,bk,ck,dk,vda,wda,xda,ek,fk,gk,yda,hk,zda,ik,Bda,lk,mk,nk,Cda,qk,Eda,pk,ok,Dda,Fda,Gda,sk,Hda,rk,tk,uk,vk,wk,Ida,xk,yk,Kda,Mda,Lda,Oda,Ak,Pda,Nda,Ck,Rda,Sda,Ek,Fk,Gk,Tda,Uda,Hk,Ik,Vda,Jk,Kk,Lk,Wda,Mk,Nk,Ok,Pk,Xda,Qk,
Yda,Rk,$da,Zda,Tk,Uk,Vk,Wk,Xk,Yk,bea,Zk,cea,$k,dea,al,bl,cl,eea,el,fea,jea,iea,lea,ll,mea,pl,nl,ml,yl,sea,tea,uea,oea,ql,vl,qea,vea,wea,xea,zl,Bl,Cl,Dl,wl,dl,El,Gl,Bea,Fl,Il,Cea,gea,Jl,yea,Dea,Eea,Kl,Ll,Fea,Gea,Nl,Ol,Hea,Ql,Pl,Iea,Rl,Sl,Jea,sl,Kea,xl,Mea,Oea,Ul,Nea,rea,tl,Tl,Pea,rl,nea,Lea,ul,Qea,pea,hea,Rea,Sea,Wl,Tea,Uea,Vl,Vea,Xl,Yl,Zl,$l,Wea,Xea,Yea,Zea,$ea,afa,bfa,cfa,dfa,efa,ffa,gfa,hfa,ifa,jfa,kfa,lfa,mfa,am,bm,cm,nfa,fm,gm,im,jm,km,lm,mm,nm,pfa,pm,qfa,sfa,rfa,tfa,ufa,vfa,xfa,yfa,Bfa,Cfa,Efa,
Ffa,Gfa,Kfa,Ifa,Jfa,Lfa,Mfa,Nfa,tm,Ofa,Qfa,um,vm,Rfa,Sfa,wm,Tfa,Pfa,Ufa,Vfa,xm,aga,Yfa,$fa,Wfa,ym,zm,Am,bga,Bm,Cm,Dm,Im,dga,Mm,fga,gga,iga,jga,hga,Tm,Um,Sm,kga,ega,Qm,Pm,Om,lga,nga,pga,rga,tga,Xm,uga,$m,cn,dn,en,vga,xga,yga,gn,hn,zga,Aga,jn,kn,Bga,on,mn,qn,Cga,un,vn,wn,Ega,Bn,Fga,Gn,Hn,Jn,Gga,On,Pn,Nn,Rn,Kga,Lga,Mga,Un,Qn,Wn,Xn,Nga,Oga,Pga,bo,Sga,eo,fo,ho,jo,Wga,Yga,Zga,ko,oo,dha,po,eha,fha,gha,qo,so,to,uo,vo,wo,xo,iha,yo,zo,Ao,Do,xha,Fo,Eo,Go,jha,yha,zha,Io,Jo,Lo,Mo,Aha,No,Bha,Eha,Cha,Fha,So,Iha,
Hha,Gha,Kha,Lha,Oha,Jha,Pha,Nha,Rha,bp,cp,ep,fp,Sha,Tha,Uha,kp,np,Vha,pp,Wha,sp,tp,Yha,zp,vp,Ap,Zha,aia,Gp,bia,Hp,hia,Kp,Lp,eia,Np,nia,qia,Qp,sia,uia,Sp,via,wia,yia,Dia,zia,Bia,Cia,Tp,Up,Vp,Re,Eia,Wp,Xp,Yp,Zp,$p,aq,bq,Fia,cq,dq,Hia,Iia,Kia,mq,nq,Lia,Mia,Nia,Pia,Ria,rq,vq,Sia,xq,sq,zq,Bq,Gq,Hq,Iq,Jq,Lq,Mq,Nq,Oq,Pq,$ia,aja,Qq,Rq,bja,cja,Sq,dja,eja,Tq,fja,gja,Wq,ija,jja,Xq,kja,lja,Yq,Vq,hja,mja,nja,$q,ar,Zq,oja,pja,cr,qja,dr,rja,sja,vja,kr,wja,xja,yja,zja,Aja,Bja,Cja,Dja,mr,Eja,nr,or,Gja,Hja,Ija,Jja,
Kja,pr,qr,Lja,Pja,sr,Qja,Tja,Mja,Uja,Vja,Wja,Nja,Oja,tr,Rja,ur,wr,Sja,rr,vr,Xja,yr,dka,Yja,Zja,$ja,aka,bka,hka,cka,ika,Ar,Br,Cr,Dr,Er,Fr,jka,kka,lka,mka,nka,oka,Gr,pka,Nr,qka,rka,ska,Or,Qr,Rr,Sr,Vr,Wr,Xr,uka,$r,as,bs,vka,wka,cs,xka,yka,es,fs,Hka,hs,is,ks,Jka,Lka,Kka,js,ns,Nka,rs,Pka,ws,Oka,As,Yka,Bs,ala,$ka,Zka,Cs,zs,bla,cla,dla,Es,fla,gla,hla,ila,jla,kla,lla,ela,nla,ola,pla,qla,sla,Is,ula,Js,Ks,Ms,vla,Ls,Ns,wla,xla,Qs,Ala,yla,Ss,Bla,Ts,Ws,at,bt,Cla,ct,ft,Dla,gt,jt,kt,Hla,Ila,lt,Lla,mt,pt,ot,st,tt,
Mla,Nla,ut,vt,Ola,wt,Pla,Qla,xt,zt,At,Rla,Bt,Ct,Tla,Ula,Vla,Dt,Wla,It,Jt,Xla,Yla,Zla,Kt,Mt,$la,Nt,Ot,Pt,bma,Qt,Tt,Wt,Vt,Ut,Xt,Yt,hma,jma,gma,fma,ima,$t,cu,lma,kma,hu,iu,yma,uma,ou,tma,wma,sma,Zt,pu,gu,mu,vma,eu,dma,cma,ema,bu,rma,tu,Gma,Fma,Ima,xu,Kma,Lma,Au,Bu,Cu,Mma,Nma,Pma,Qma,Eu,Rma,Sma,Fu,Iu,Hu,Tma,Gu,Ju,Uma,Ku,Wma,Lu,Mu,Nu,Xma,Ou,Vma,Pu,Qu,Zma,Yma,Ru,Su,ana,bna,Uu,cna,Vu,Xu,Wu,ena,Yu,Zu,$u,gna,hna,pna,lna,ev,fv,gv,iv,sna,tna,kv,lv,nv,ov,una,mv,xna,yna,pv,zna,Cna,Ena,Fna,rv,qv,wna,Ina,Kna,Lna,
Mna,vv,Nna,uv,Cv,Qna,Hv,Rna,Mv,Lv,Tna,Pv,Una,Kv,Vna,Iv,Nv,Jv,Dv,Wna,Tv,Uv,Xna,Xv,Yna,Yv,Zv,$v,Zna,cw,goa,pw,foa,sw,hoa,ioa,tw,coa,doa,eoa,joa,koa,ow,vw,ooa,noa,loa,moa,uw,qoa,ww,roa,soa,toa,voa,uoa,xoa,yoa,Boa,Doa,Coa,yw,Aw,Goa,Foa,Eoa,Cw,Bw,Ioa,Joa,Koa,Loa,Moa,Noa,Poa,Roa,Toa,Soa,Uoa,Voa,Woa,Zoa,$oa,cpa,dpa,fpa,Vw,epa,ipa,kpa,Xw,jpa,lpa,Zw,npa,ppa,mpa,$w,cx,rpa,dx,spa,ex,tpa,fx,vpa,xpa,wpa,Apa,zpa,ypa,hx,gx,ix,upa,Bpa,jx,kx,Dpa,Cpa,Fpa,Gpa,Jpa,Ipa,Hpa,nx,ox,px,Kpa,Mpa,Npa,Opa,qx,Ppa,sx,Qpa,tx,Tpa,
ux,Upa,vx,wx,xx,yx,Vpa,zx,Ax,Bx,Cx,Ex,Fx,Gx,Hx,Ix,Jx,Kx,Lx,Xpa,Wpa,Mx,Zpa,cqa,dqa,eqa,fqa,gqa,hqa,kqa,iqa,Px,lqa,nqa,Qx,Rx,Sx,Tx,Ux,Vx,Wx,Xx,Yx,Zx,oqa,$x,ay,by,cy,dy,ey,fy,gy,hy,iy,jy,ky,ly,my,ny,oy,py,qy,ry,sy,ty,uy,vy,wy,xy,yy,zy,Ay,By,Cy,Dy,Ey,Fy,Gy,Hy,Iy,Jy,Ky,Ly,My,Ny,Oy,Py,Qy,Ry,Sy,Ty,Vy,Zy,$y,az,bz,cz,dz,ez,fz,gz,hz,iz,jz,lz,mz,nz,oz,pz,qz,sz,tz,uz,vz,wz,pqa,qqa,rqa,zz,sqa,Az,tqa,vqa,Cz,uqa,xqa,yqa,Dz,Fz,Gz,zqa,Hz,yz,Aqa,Iz,Jz,Cqa,Kz,Bqa,Lz,Oz,Mz,Nz,Pz,Fqa,Gqa,Jqa,Mqa,Lqa,Kqa,Nqa,Rqa,Sqa,Xqa,
iA,Zqa,$qa,oA,qA,era,fra,gra,hra,ira,vA,wA,jra,lra,mra,nra,zA,ora,pra,qra,AA,BA,CA,EA,ura,FA,vra,tra,wra,xra,IA,OA,zra,Ara,Bra,Cra,Dra,Era,PA,Gra,Hra,Ira,Jra,Kra,Lra,QA,RA,Nra,Ora,Pra,Qra,Sra,Ura,Vra,TA,Wra,Tra,Rra,UA,Xra,SA,VA,Zra,Yra,$ra,asa,bsa,csa,dsa,aB,dB,fsa,gsa,hsa,eB,isa,ksa,jsa,lsa,msa,osa,psa,qsa,rsa,ssa,usa,vsa,kB,mB,wsa,uB,xsa,ysa,BB,zsa,Asa,Esa,Fsa,FB,HB,IB,MB,Gsa,RB,SB,Ksa,Nsa,Psa,Jsa,Osa,TB,Qsa,Rsa,Ssa,Tsa,Isa,VB,Usa,Vsa,Wsa,Ysa,Xsa,ata,Zsa,$sa,eta,bta,jta,ita,kta,kC,lta,mta,nta,pta,
pC,Cta,EC,yta,zta,Ata,Bta,AC,FC,Eta,Fta,BC,Hta,Gta,Ita,Jta,JC,Lta,Mta,KC,Kta,Rta,PC,Sta,Tta,Xta,Vta,Wta,Uta,Zta,$ta,bua,cua,eua,fua,gua,UC,hua,VC,WC,lua,ZC,aD,mua,nua,nD,qua,rua,sua,tua,uua,vua,pD,wua,Bua,Dua,Eua,Cua,Fua,HD,Gua,Nua,JD,KD,Pua,LD,Rua,Xua,OD,PD,$ua,ava,SD,UD,bva,dva,eva,cva,VD,XD,kva,YD,TD,ZD,lva,fva,jva,WD,iva,gva,hva,nva,bE,mva,dE,eE,qva,rva,pva,tva,ova,cE,sva,gE,jE,vva,uva,kE,wva,oE,xva,nE,yva,zva,Bva,Cva,Dva,Eva,Hva,Jva,Pva,Qva,Kva,Rva,Lva,Sva,BE,GE,IE,JE,HE,LE,KE,Wva,Xva,Yva,$va,
cwa,dwa,VE,ewa,XE,fwa,gwa,hwa,iwa,jwa,aF,lwa,kwa,eF,qwa,rwa,hF,swa,twa,uwa,vwa,lF,mF,xwa,wwa,ywa,uF,Cwa,Bwa,Awa,zwa,Fwa,Ewa,wF,Hwa,Mwa,Lwa,Iwa,Gwa,Jwa,Kwa,Nwa,Owa,Pwa,FF,IF,JF,Rwa,Swa,LF,MF,Vwa,Wwa,Xwa,$wa,Ywa,Zwa,PF,bxa,cxa,WF,dxa,exa,$F,fxa,gxa,bG,hxa,ixa,hG,kxa,lxa,nxa,mxa,oxa,qxa,rxa,pxa,sxa,txa,uxa,vxa,wxa,xxa,yxa,Axa,Bxa,sG,Dxa,Exa,Fxa,Kxa,Jxa,Hxa,Lxa,Ixa,Mxa,Nxa,Oxa,BG,Pxa,Qxa,Rxa,Vxa,Yxa,Zxa,$xa,bya,cya,QG,dya,SG,VG,dH,eH,eya,fya,gya,hya,hH,iya,jya,kya,mya,nya,oya,pya,iH,jH,kH,qya,lH,rya,
uya,yya,Aya,Bya,Cya,sH,tH,Dya,Eya,Fya,Hya,Jya,Lya,Mya,Nya,yH,Oya,Pya,AH,Qya,Sya,CH,DH,Tya,Uya,Vya,EH,FH,GH,Yya,$ya,Zya,Xya,aza,bza,cza,dza,KH,eza,LH,MH,NH,fza,gza,hza,OH,jza,iza,lza,PH,nza,kza,qza,rza,tza,uza,vza,xza,yza,zza,TH,UH,VH,Dza,YH,Gza,Eza,Fza,Hza,XH,WH,ZH,Jza,Iza,Kza,Mza,$H,Nza,aI,Oza,Pza,Qza,Tza,Rza,Sza,Vza,Wza,Xza,Zza,$za,aAa,bAa,dI,gAa,hAa,iAa,jAa,kAa,lAa,nAa,gI,fI,oAa,iI,rAa,qAa,sAa,tAa,uAa,vAa,BAa,AAa,yAa,xAa,wAa,DAa,CAa,oI,HAa,GAa,IAa,FAa,qI,EAa,NAa,LAa,MAa,KAa,OAa,JAa,PAa,rI,SAa,
Uza,TAa,tI,sI,RAa,WAa,VAa,ZAa,YAa,$Aa,UAa,uI,QAa,vI,cBa,bBa,wI,dBa,xI,eBa,fBa,hBa,zI,AI,BI,CI,jBa,iBa,DI,EI,FI,mBa,oBa,qBa,pBa,MI,sBa,OI,NI,SI,TI,UI,vBa,xBa,wBa,yBa,ABa,BBa,bJ,cJ,dJ,eJ,fJ,hJ,CBa,DBa,nJ,oJ,sJ,tJ,uJ,vJ,xJ,yJ,zJ,AJ,JBa,LBa,KBa,BJ,OBa,PBa,RBa,SBa,TBa,VBa,WBa,CJ,HJ,IJ,JJ,KJ,LJ,XBa,OJ,YBa,PJ,ZBa,aCa,WJ,XJ,YJ,bCa,aK,dCa,dK,eCa,fK,iCa,hK,iK,jK,jCa,pK,qK,mCa,lCa,nCa,rK,oCa,qCa,pCa,sCa,tCa,uCa,vCa,wCa,xCa,yCa,zCa,ACa,BCa,CCa,DCa,rCa,uK,ECa,BK,FCa,GCa,DK,EK,FK,HCa,IK,KK,ICa,JCa,LCa,NCa,PCa,
VK,UK,WK,XK,UCa,VCa,WCa,XCa,YCa,ZCa,$Ca,fL,gL,bDa,cDa,dDa,pL,sL,fDa,rL,hDa,gDa,jDa,kDa,iDa,vL,mDa,nDa,oDa,pDa,qDa,rDa,sDa,uDa,yL,vDa,zL,wDa,xDa,FL,yDa,zDa,ADa,BDa,CDa,KL,EDa,GDa,FDa,IDa,JDa,LDa,MDa,NDa,NL,PDa,RL,RDa,SDa,QL,QDa,VL,TDa,UDa,YL,VDa,$L,WDa,aM,XDa,YDa,ZDa,cM,eM,$Da,fM,gM,cEa,iM,eEa,dEa,jM,kM,lM,fEa,hM,bEa,aEa,mM,nM,gEa,oM,hEa,kEa,lEa,nEa,pEa,rEa,rM,sEa,tEa,uEa,vEa,jEa,oEa,qEa,iEa,mEa,qM,pM,xEa,wEa,yEa,sM,zEa,CEa,AEa,tM,BEa,EEa,FEa,GEa,uM,HEa,JEa,yM,NEa,MEa,OEa,QEa,REa,WEa,VEa,TEa,DM,$Ea,
aFa,bFa,gFa,cFa,hFa,dFa,jFa,eFa,kFa,fFa,lFa,mFa,oFa,qFa,rFa,HM,sFa,tFa,QM,JM,uFa,vFa,RM,wFa,xFa,yFa,zFa,AFa,DFa,FFa,CFa,GFa,HFa,IFa,JFa,PFa,QFa,RFa,SFa,TFa,UFa,VFa,WFa,XFa,ZFa,aGa,eGa,fN,gGa,gN,hN,lGa,nGa,oGa,pGa,qGa,vGa,sGa,tGa,rGa,uGa,zGa,AGa,EGa,FGa,GGa,zN,IGa,JGa,KGa,MGa,NGa,OGa,QGa,RGa,SGa,TGa,DN,UGa,WGa,XGa,YGa,ZGa,KN,$Ga,aHa,cHa,MN,dHa,eHa,fHa,hHa,gHa,ON,iHa,UN,WN,lHa,$N,aO,mHa,bO,cO,nHa,oHa,pHa,rHa,qHa,tHa,uHa,eO,iO,hO,jO,vHa,wHa,nO,rO,BHa,DHa,EHa,FHa,GHa,HHa,IHa,JHa,KHa,tO,LHa,NHa,OHa,uO,
QHa,SHa,RHa,THa,UHa,VHa,$Ha,ZHa,aIa,dIa,cIa,zO,AO,eIa,BO,gIa,hIa,fIa,lIa,jIa,iIa,CO,mIa,DO,nIa,EO,qIa,rIa,pIa,FO,sIa,tIa,uIa,vIa,AIa,BIa,yIa,FIa,GIa,HIa,IIa,JO,KIa,MO,OIa,PIa,SIa,UIa,WIa,VIa,XIa,$Ia,ZIa,cJa,QO,aJa,bJa,dJa,gJa,SO,iJa,kJa,jJa,lJa,oJa,pJa,mJa,qJa,sJa,rJa,tJa,uJa,wJa,vJa,QJa,WO,MJa,YO,SJa,aP,VJa,UJa,WJa,XJa,$Ja,bKa,aKa,YJa,dKa,eKa,ZJa,fKa,dP,cKa,hKa,jKa,kKa,iKa,lKa,mKa,nKa,oKa,pKa,qKa,rKa,sKa,tKa,uKa,wKa,vKa,BKa,xKa,yKa,zKa,AKa,DKa,CKa,iP,EKa,GKa,JKa,IKa,LKa,MKa,KKa,NKa,SKa,QKa,RKa,lP,
mP,UKa,TKa,XKa,WKa,YKa,$Ka,ZKa,dLa,cLa,eLa,mLa,fLa,gLa,hLa,jLa,iLa,kLa,lLa,qLa,pLa,vLa,uLa,rLa,sLa,wLa,BLa,yLa,zLa,ALa,DLa,CLa,FLa,ELa,GLa,HLa,ILa,JLa,KLa,NLa,MLa,nLa,CP,SLa,TLa,ULa,VLa,EP,WLa,DP,XLa,FP,GP,ZLa,$La,bMa,JP,NP,MP,jMa,RP,nMa,oMa,pMa,qMa,VP,XP,ZP,rMa,$P,sMa,aQ,uMa,tMa,cQ,vMa,fQ,hQ,BMa,iQ,CMa,wMa,yMa,xMa,zMa,DMa,dQ,AMa,eQ,jQ,kQ,EMa,GMa,FMa,HMa,IMa,lQ,JMa,KMa,mQ,MMa,LMa,nQ,NMa,oQ,qQ,PMa,OMa,SMa,QMa,RMa,UMa,zQ,AQ,BQ,CQ,ZMa,$Ma,bNa,cNa,fNa,gNa,iNa,MQ,pNa,rNa,qNa,wNa,zNa,BNa,FNa,DNa,CNa,JNa,
INa,HNa,GNa,KNa,UNa,NNa,VNa,VQ,WNa,XNa,YNa,aOa,bOa,cOa,dOa,eOa,gOa,YQ,$Q,ZQ,hOa,kOa,mOa,cR,qOa,rOa,nOa,oOa,uOa,vOa,fR,wOa,yOa,Ez,COa,EOa,IOa,KOa,MOa,LOa,NOa,POa,SOa,VOa,WOa,XOa,YOa,ZOa,$Oa,aPa,bPa,cPa,ePa,dPa,fPa,lR,mR,nR,oR,gPa,hPa,pR,iPa,XC,kPa,jPa,lPa,mPa,nPa,oPa,qR,pPa,qPa,rPa,sPa,uPa,tPa,vPa,xPa,yPa,zPa,APa,CPa,BPa,vR,DPa,EPa,FPa,JPa,IPa,HPa,NPa,KPa,PPa,OPa,QPa,SPa,RPa,VPa,UPa,TPa,XPa,YPa,ZPa,bQa,aQa,cQa,dQa,$Pa,eQa,fQa,gQa,hQa,iQa,FR,lQa,mQa,nQa,oQa,GR,qQa,sQa,tQa,uQa,vQa,wQa,xQa,yQa,zQa,AQa,
CQa,DQa,EQa,IR,LQa,KQa,MQa,OQa,QQa,TQa,MR,SQa,RQa,VQa,XQa,ZQa,aRa,bRa,cRa,dRa,eRa,gRa,fRa,hRa,vQ,iRa,kRa,jRa,lRa,uG,nRa,pRa,RR,rRa,sRa,TR,UR,WR,uRa,ZR,vRa,wRa,yRa,ARa,BRa,cS,CRa,DRa,ERa,FRa,GRa,IRa,JRa,LRa,XRa,$Ra,MRa,aSa,cSa,da;aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};
aaa=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<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("a");};ea=function(a,b){if(b)a:{var c=_.ba;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&da(c,a,{configurable:!0,writable:!0,value:b})}};
fa=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a};_.ha=function(a){return a.raw=a};ia=function(a,b){a.raw=b;return a};_.u=function(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:aa(a)};throw Error("e`"+String(a));};_.ma=function(a){if(!(a instanceof Array)){a=_.u(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
na=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};_.v=function(a,b){a.prototype=ra(b.prototype);a.prototype.constructor=a;if(_.sa)(0,_.sa)(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.ac=b.prototype};ta=function(){this.H=!1;this.G=null;this.o=void 0;this.j=1;this.B=this.J=0;this.W=this.A=null};ua=function(a){if(a.H)throw new TypeError("h");a.H=!0};
va=function(a,b){a.A={Jw:b,Ix:!0};a.j=a.J||a.B};_.x=function(a,b,c){a.j=c;return{value:b}};_.wa=function(a){a.j=0};_.xa=function(a,b,c){a.J=b;c!=void 0&&(a.B=c)};_.ya=function(a,b){a.j=b;a.J=0};_.Ba=function(a){a.J=0;var b=a.A.Jw;a.A=null;return b};_.Da=function(a,b,c,d){d?a.W[d]=a.A:a.W=[a.A];a.J=b||0;a.B=c||0};_.Ea=function(a,b,c){c=a.W.splice(c||0)[0];(c=a.A=a.A||c)?c.Ix?a.j=a.J||a.B:c.L!=void 0&&a.B<c.L?(a.j=c.L,a.A=null):a.j=a.B:a.j=b};_.Ga=function(a){this.j=new ta;this.o=a};
baa=function(a,b){ua(a.j);var c=a.j.G;if(c)return Ha(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.j.return);a.j.return(b);return Ia(a)};Ha=function(a,b,c,d){try{var e=b.call(a.j.G,c);if(!(e instanceof Object))throw new TypeError("g`"+e);if(!e.done)return a.j.H=!1,e;var f=e.value}catch(h){return a.j.G=null,va(a.j,h),Ia(a)}a.j.G=null;d.call(a.j,f);return Ia(a)};
Ia=function(a){for(;a.j.j;)try{var b=a.o(a.j);if(b)return a.j.H=!1,{value:b.value,done:!1}}catch(c){a.j.o=void 0,va(a.j,c)}a.j.H=!1;if(a.j.A){b=a.j.A;a.j.A=null;if(b.Ix)throw b.Jw;return{value:b.return,done:!0}}return{value:void 0,done:!0}};
_.Ja=function(a){this.next=function(b){ua(a.j);a.j.G?b=Ha(a,a.j.G.next,b,a.j.O):(a.j.O(b),b=Ia(a));return b};this.throw=function(b){ua(a.j);a.j.G?b=Ha(a,a.j.G["throw"],b,a.j.O):(va(a.j,b),b=Ia(a));return b};this.return=function(b){return baa(a,b)};this[Symbol.iterator]=function(){return this}};caa=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(f,e)}f(a.next())})};
_.z=function(a){return caa(new _.Ja(new _.Ga(a)))};_.Ka=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};La=function(a,b,c){if(a==null)throw new TypeError("m`"+c);if(b instanceof RegExp)throw new TypeError("n`"+c);return a+""};Ma=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{i:e,PA:f}}return{i:-1,PA:void 0}};
Na=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};Oa=function(a){return a?a:Array.prototype.fill};Pa=function(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]};Qa=function(a){return a?a:Pa};
_.Ta=function(a,b,c){a=a.split(".");c=c||_.Sa;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);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};Ya=function(a){if(typeof a!=="string"||!a||a.search(daa)==-1)throw Error("w");if(!Wa||Wa.type!="goog")throw Error("x`"+a);if(Wa.moduleName)throw Error("y");Wa.moduleName=a};
_.Ua=function(a,b){a=a.split(".");b=b||_.Sa;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b};_.Za=function(a){a.Eh=void 0;a.Qd=function(){return a.Eh?a.Eh:a.Eh=new a}};ab=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"};bb=function(a){var b=ab(a);return b=="array"||b=="object"&&typeof a.length=="number"};cb=function(a){var b=typeof a;return b=="object"&&a!=null||b=="function"};
eb=function(a){return Object.prototype.hasOwnProperty.call(a,db)&&a[db]||(a[db]=++eaa)};faa=function(a,b,c){return a.call.apply(a.bind,arguments)};gaa=function(a,b,c){if(!a)throw Error();if(arguments.length>2){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?faa:gaa;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){function c(){}c.prototype=b.prototype;a.ac=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}};kb=function(a){return a};_.mb=function(a){var b=null,c=_.Sa.trustedTypes;if(!c||!c.createPolicy)return b;try{b=c.createPolicy(a,{createHTML:kb,createScript:kb,createScriptURL:kb})}catch(d){_.Sa.console&&_.Sa.console.error(d.message)}return b};
_.nb=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,_.nb);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b)};ob=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");_.nb.call(this,c+a[d])};pb=function(){throw Error("z");};qb=function(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b};
sb=function(a){var b=!1;b=b===void 0?!1:b;if(haa){if(b&&(iaa?!a.uG():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("A");a=(rb||(rb=new TextEncoder)).encode(a)}else{for(var c=0,d=new Uint8Array(3*a.length),e=0;e<a.length;e++){var f=a.charCodeAt(e);if(f<128)d[c++]=f;else{if(f<2048)d[c++]=f>>6|192;else{if(f>=55296&&f<=57343){if(f<=56319&&e<a.length){var h=a.charCodeAt(++e);if(h>=56320&&h<=57343){f=(f-55296)*1024+h-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("A");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};tb=function(a){_.Sa.setTimeout(function(){throw a;},0)};_.ub=function(a,b){return a.lastIndexOf(b,0)==0};_.vb=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c};_.xb=function(a){return/^[\s\xa0]*$/.test(a)};_.zb=function(a,b){return a.indexOf(b)!=-1};
_.Ab=function(){var a=_.Sa.navigator;return a&&(a=a.userAgent)?a:""};Db=function(a){return _.Bb?_.Cb?_.Cb.brands.some(function(b){return(b=b.brand)&&_.zb(b,a)}):!1:!1};_.Eb=function(a){return _.zb(_.Ab(),a)};Gb=function(){return _.Bb?!!_.Cb&&_.Cb.brands.length>0:!1};Hb=function(){return Gb()?!1:_.Eb("Opera")};Ib=function(){return _.Eb("Firefox")||_.Eb("FxiOS")};
_.Kb=function(){return _.Eb("Safari")&&!(Jb()||(Gb()?0:_.Eb("Coast"))||Hb()||(Gb()?0:_.Eb("Edge"))||(Gb()?Db("Microsoft Edge"):_.Eb("Edg/"))||(Gb()?Db("Opera"):_.Eb("OPR"))||Ib()||_.Eb("Silk")||_.Eb("Android"))};Jb=function(){return Gb()?Db("Chromium"):(_.Eb("Chrome")||_.Eb("CriOS"))&&!(Gb()?0:_.Eb("Edge"))||_.Eb("Silk")};Lb=function(){return _.Bb?!!_.Cb&&!!_.Cb.platform:!1};Mb=function(){return _.Eb("iPhone")&&!_.Eb("iPod")&&!_.Eb("iPad")};
_.Ob=function(a,b){b=_.Nb(a,b);return b<0?null:typeof a==="string"?a.charAt(b):a[b]};_.Nb=function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return e;return-1};Qb=function(a,b){return Pb(a,b)>=0};jaa=function(a,b){Qb(a,b)||a.push(b)};_.Sb=function(a,b){b=Pb(a,b);var c;(c=b>=0)&&Array.prototype.splice.call(a,b,1);return c};_.Tb=function(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};
Ub=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(bb(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}};kaa=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Vb=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],h=cb(f)?"o"+eb(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,h)||(e[h]=!0,b[c++]=f)}b.length=c};
_.Wb=function(a,b,c){if(!bb(a)||!bb(b)||a.length!=b.length)return!1;var d=a.length;c=c||laa;for(var e=0;e<d;e++)if(!c(a[e],b[e]))return!1;return!0};laa=function(a,b){return a===b};Xb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var f=kaa(d,e,e+8192);f=Xb.apply(null,f);for(var h=0;h<f.length;h++)b.push(f[h])}else b.push(d)}return b};Yb=function(a){Yb[" "](a);return a};_.Zb=function(a,b){try{return Yb(a[b]),!0}catch(c){}return!1};
_.$b=function(){return _.Sa.navigator||null};_.dc=function(a,b){b===void 0&&(b=0);ac();b=bc[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],k=a[e+1],l=a[e+2],m=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+h+k+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("")};_.fc=function(a){var b=[];ec(a,function(c){b.push(c)});return b};
_.gc=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):_.zb("=.",a[b-1])&&(c=_.zb("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;ec(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d};ec=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=hc[m];if(n!=null)return n;if(!_.xb(m))throw Error("C`"+m);}return l}ac();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(k===64&&e===-1)break;b(e<<2|f>>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}};
ac=function(){if(!hc){hc={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));bc[c]=d;for(var e=0;e<d.length;e++){var f=d[e];hc[f]===void 0&&(hc[f]=e)}}}};jc=function(a){if(!ic)return _.dc(a);for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);return btoa(b)};naa=function(a){return maa[a]||""};
lc=function(a){if(!ic)return _.gc(a);kc.test(a)&&(a=a.replace(kc,naa));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b};nc=function(a){return mc&&a!=null&&a instanceof Uint8Array};pc=function(a,b){if(b!==oc)throw Error("D");this.j=a;if(a!=null&&a.length===0)throw Error("E");};rc=function(){return qc||(qc=new pc(null,oc))};sc=function(a){if(oc!==oc)throw Error("D");var b=a.j;b=b==null||nc(b)?b:typeof b==="string"?lc(b):null;return b==null?b:a.j=b};
tc=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};uc=function(){var a=Error();tc(a,"incident");tb(a)};vc=function(a){a=Error(a);tc(a,"warning");return a};xc=function(a,b){if(b!=null){if(a==null){var c;a=(c=wc)!=null?c:wc={}}else a=a.constructor;c=a[b]||0;c>=4||(a[b]=c+1,uc())}};yc=function(){return typeof BigInt==="function"};_.zc=function(a){return Array.prototype.slice.call(a)};
Ac=function(a){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?Symbol():a};Cc=function(a){Bc(a,34);return a};Dc=function(a){Bc(a,32);return a};oaa=function(a,b){(0,_.Ec)(b,(a|0)&-14591)};Fc=function(a,b){(0,_.Ec)(b,(a|34)&-14557)};Ic=function(a){return!(!a||typeof a!=="object"||a.OG!==Gc)};Jc=function(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object};
Kc=function(a,b,c){if(a!=null)if(typeof a==="string")a=a?new pc(a,oc):rc();else if(a.constructor!==pc)if(nc(a))a=a.length?new pc(c?a:new Uint8Array(a),oc):rc();else{if(!b)throw Error();a=void 0}return a};Mc=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=(0,_.Lc)(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;(0,_.Ec)(a,d|1);return!0};Nc=function(a){if(a&2)throw Error();};Oc=function(a,b,c){this.A=0;this.j=a;this.o=b;this.B=c};
Qc=function(a,b){(b=Pc?b[Pc]:void 0)&&(a[Pc]=_.zc(b))};Tc=function(a){var b=a>>>0;Rc=b;Sc=(a-b)/4294967296>>>0};Vc=function(a){if(a<0){Tc(-a);var b=_.u(Uc(Rc,Sc));a=b.next().value;b=b.next().value;Rc=a>>>0;Sc=b>>>0}else Tc(a)};Wc=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=b*4294967296+(a>>>0);return c?-a:a};
_.Yc=function(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else yc()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>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+Xc(c)+Xc(a));return c};Xc=function(a){a=String(a);return"0000000".slice(a.length)+a};
_.$c=function(a,b){b&2147483648?yc()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=_.u(Uc(a,b)),a=b.next().value,b=b.next().value,a="-"+_.Yc(a,b)):a=_.Yc(a,b);return a};
ad=function(a){if(a.length<16)Vc(Number(a));else if(yc())a=BigInt(a),Rc=Number(a&BigInt(4294967295))>>>0,Sc=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");Sc=Rc=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)),Sc*=1E6,Rc=Rc*1E6+d,Rc>=4294967296&&(Sc+=Math.trunc(Rc/4294967296),Sc>>>=0,Rc>>>=0);b&&(b=_.u(Uc(Rc,Sc)),a=b.next().value,b=b.next().value,Rc=a,Sc=b)}};Uc=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};
bd=function(a){if(typeof a!=="number")throw Error("F`"+typeof a+"`"+a);return a};cd=function(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)};_.dd=function(a){if(a!=null&&typeof a!=="boolean")throw Error("G`"+ab(a)+"`"+a);return a};ed=function(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a};fd=function(a){var b=typeof a;return b==="number"?Number.isFinite(a):b!=="string"?!1:paa.test(a)};
gd=function(a){if(!Number.isFinite(a))throw vc("enum");return a|0};_.hd=function(a){return a==null?a:Number.isFinite(a)?a|0:void 0};id=function(a){if(typeof a!=="number")throw vc("int32");if(!Number.isFinite(a))throw vc("int32");return a|0};jd=function(a){return a==null?a:id(a)};_.kd=function(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a|0:void 0};
_.ld=function(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a>>>0:void 0};pd=function(a,b){b=!!b;if(!fd(a))throw vc("int64");return typeof a==="string"?md(a):b?nd(a):od(a)};qd=function(a){return a==null?a:pd(a)};rd=function(a){return a[0]==="-"?!1:a.length<20?!0:a.length===20&&Number(a.substring(0,6))<184467};
sd=function(a){return a[0]==="-"?a.length<20?!0:a.length===20&&Number(a.substring(0,7))>-922337:a.length<19?!0:a.length===19&&Number(a.substring(0,6))<922337};qaa=function(a){if(a<0){Vc(a);var b=_.Yc(Rc,Sc);a=Number(b);return Number.isSafeInteger(a)?a:b}if(rd(String(a)))return a;Vc(a);return Sc*4294967296+(Rc>>>0)};od=function(a){a=Math.trunc(a);Number.isSafeInteger(a)||(Vc(a),a=Wc(Rc,Sc));return a};
nd=function(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);sd(b)?a=b:(Vc(a),a=_.$c(Rc,Sc))}return a};md=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));sd(a)||(ad(a),a=_.$c(Rc,Sc));return a};
td=function(a){if(a==null)return a;if(fd(a)){if(typeof a==="string"){var b=Math.trunc(Number(a));Number.isSafeInteger(b)&&b>=0?a=String(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),rd(a)||(ad(a),a=_.Yc(Rc,Sc)));return a}if(typeof a==="number")return a=Math.trunc(a),a>=0&&Number.isSafeInteger(a)?a:qaa(a)}};raa=function(a){if(typeof a!=="string")throw Error();return a};ud=function(a){if(a!=null&&typeof a!=="string")throw Error();return a};vd=function(a){return a==null||typeof a==="string"?a:void 0};
yd=function(a,b,c,d){if(a!=null&&typeof a==="object"&&a.ll===wd)return a;if(!Array.isArray(a))return c?d&2?xd(b):new b:void 0;var e=c=(0,_.Lc)(a);e===0&&(e|=d&32);e|=d&2;e!==c&&(0,_.Ec)(a,e);return new b(a)};xd=function(a){var b=a[zd];if(b)return b;b=new a;Cc(b.T);return a[zd]=b};Ad=function(a,b,c){a=b?id(a):_.kd(a);return a==null?c?0:void 0:a|0};
_.Cd=function(a){if(Math.random()>.01||typeof Proxy!=="function")return a;var b=_.Bd(a);if(b)return b;b=new Proxy(a,{set:function(c,d,e){saa();c[d]=e;return!0}});taa(a,b);return b};saa=function(){uc()};_.Bd=function(a){var b;return(b=Fd)==null?void 0:b.get(a)};Hd=function(a){var b;return((b=Gd)==null?void 0:b.get(a))||a};taa=function(a,b){(Fd||(Fd=new WeakMap)).set(a,b);(Gd||(Gd=new WeakMap)).set(b,a)};Jd=function(a,b){Id=b;a=new a(b);Id=void 0;return a};
Md=function(a){switch(typeof a){case "boolean":return Kd||(Kd=[0,void 0,!0]);case "number":return a>0?void 0:a===0?Ld||(Ld=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}};
_.Nd=function(a,b,c){a==null&&(a=Id);Id=void 0;if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("H");d=(0,_.Lc)(a);if(d&2048)throw Error("I");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("J");a:{c=a;var e=c.length;if(e){var f=e-1;if(Jc(c[f])){d|=256;b=f-(+!!(d&512)-1);if(b>=1024)throw Error("K");d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(b>1024)throw Error("L");d=d&-16760833|(b&1023)<<14}}}(0,_.Ec)(a,
d);return a};Od=function(){this.j=new Map};Pd=function(a){return a};Rd=function(a,b,c,d){c=c===void 0?Pd:c;d=d===void 0?Pd:d;var e=Qd.call(this)||this;var f=(0,_.Lc)(a);f|=64;(0,_.Ec)(a,f);e.fk=f;e.mp=b;e.Zk=c;e.ru=e.mp?uaa:d;for(var h=0;h<a.length;h++){var k=a[h],l=c(k[0],!1,!0),m=k[1];b?m===void 0&&(m=null):m=d(k[1],!1,!0,void 0,void 0,f);Qd.prototype.set.call(e,l,m)}return e};Sd=function(a){if(a.fk&2)throw Error("M");};Vd=function(a,b){b=b===void 0?Td:b;if(a.size!==0)return Ud(a,b)};
Ud=function(a,b){b=b===void 0?Td:b;var c=[];a=Qd.prototype.entries.call(a);for(var d;!(d=a.next()).done;)d=d.value,d[0]=b(d[0]),d[1]=b(d[1]),c.push(d);return c};uaa=function(a,b,c,d,e,f){a=yd(a,d,c,f);e&&(a=Wd(a));return a};Td=function(a){return a};vaa=function(a){return[a,this.get(a)]};Zd=function(){return Yd||(Yd=new Rd(Cc([]),void 0,void 0,void 0,waa))};xaa=function(a,b){return $d(b)};
$d=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(Mc(a,void 0,0))return}else{if(nc(a))return jc(a);if(a instanceof pc){var b=a.j;return b==null?"":typeof b==="string"?b:a.j=jc(b)}if(a instanceof Rd)return Vd(a)}}return a};yaa=function(a,b,c){var d=_.zc(a),e=d.length,f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;b<e;b++)d[b]=c(d[b]);if(f){b=d[b]={};for(var h in f)b[h]=c(f[h])}Qc(d,a);return d};
be=function(a,b,c,d,e){if(a!=null){if(Array.isArray(a))a=Mc(a,void 0,0)?void 0:e&&(0,_.Lc)(a)&2?a:ae(a,b,c,d!==void 0,e);else if(Jc(a)){var f={},h;for(h in a)f[h]=be(a[h],b,c,d,e);a=f}else a=b(a,d);return a}};ae=function(a,b,c,d,e){var f=d||c?(0,_.Lc)(a):0;d=d?!!(f&32):void 0;for(var h=_.zc(a),k=0;k<h.length;k++)h[k]=be(h[k],b,c,d,e);c&&(Qc(h,a),c(f,h));return h};zaa=function(a){return be(a,ce,void 0,void 0,!1)};
ce=function(a){a.ll===wd?a=a.toJSON():a instanceof pc?(a=a.j||"",a=typeof a==="string"?a:new Uint8Array(a)):a=nc(a)?new Uint8Array(a):a instanceof Rd?Vd(a,zaa):a;return a};Aaa=function(a){return be(a,de,void 0,void 0,!1)};de=function(a){return a.ll===wd?a.toJSON():a instanceof Rd?Vd(a,Aaa):$d(a)};
ee=function(a,b,c){c=c===void 0?Fc:c;if(a!=null){if(mc&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=(0,_.Lc)(a);if(d&2)return a;b&&(b=d===0||!!(d&32)&&!(d&64||!(d&16)));return b?((0,_.Ec)(a,(d|34)&-12293),a):ae(a,ee,d&4?Fc:c,!0,!0)}a.ll===wd?(c=a.T,d=(0,_.fe)(c),a=d&2?a:Jd(a.constructor,ge(c,d,!0))):a instanceof Rd&&!(a.fk&2)&&(c=Cc(Ud(a,ee)),a=new Rd(c,a.mp,a.Zk,a.ru));return a}};
ge=function(a,b,c){var d=c||b&2?Fc:oaa,e=!!(b&32);a=yaa(a,b,function(f){return ee(f,e,d)});Bc(a,32|(c?2:0));return a};Wd=function(a){var b=a.T,c=(0,_.fe)(b);return c&2?Jd(a.constructor,ge(b,c,!1)):a};_.ie=function(a,b,c,d){if(!(4&b))return!0;if(c==null)return!1;!d&&c===0&&(4096&b||8192&b)&&(a.constructor[he]=(a.constructor[he]|0)+1)<5&&uc();return c===0?!1:!(c&b)};me=function(a,b){a=a.T;return le(a,(0,_.fe)(a),b)};ne=function(a,b,c,d){b=d+(+!!(b&512)-1);if(!(b<0||b>=a.length||b>=c))return a[b]};
le=function(a,b,c,d){if(c===-1)return null;var e=b>>14&1023||536870912;if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;return d&&b&256&&(d=a[f-1][c],d!=null)?(ne(a,b,e,c)&&xc(void 0,Baa),d):ne(a,b,e,c)}};_.pe=function(a,b,c){var d=a.T,e=(0,_.fe)(d);Nc(e);_.oe(d,e,b,c);return a};
_.oe=function(a,b,c,d,e){var f=b>>14&1023||536870912;if(c>=f||e&&!Caa){var h=b;if(b&256)e=a[a.length-1];else{if(d==null)return h;e=a[f+(+!!(b&512)-1)]={};h|=256}e[c]=d;c<f&&(a[c+(+!!(b&512)-1)]=void 0);h!==b&&(0,_.Ec)(a,h);return h}a[c+(+!!(b&512)-1)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b};_.re=function(a,b,c){return qe(a,b,c,!1)!==void 0};_.te=function(a,b,c,d){return qe(a,b,_.se(a,d,c))!==void 0};
we=function(a,b,c,d,e){var f=b&2,h=le(a,b,c,e);Array.isArray(h)||(h=ue);var k=!(d&2);d=!(d&1);var l=!!(b&32),m=(0,_.Lc)(h);m!==0||!l||f||k?m&1||(m|=1,(0,_.Ec)(h,m)):(m|=33,(0,_.Ec)(h,m));f?(a=!1,m&2||(Cc(h),a=!!(4&m)),(d||a)&&Object.freeze(h)):(f=!!(2&m)||!!(2048&m),d&&f?(h=_.zc(h),d=1,l&&!k&&(d|=32),(0,_.Ec)(h,d),_.oe(a,b,c,h,e)):k&&m&32&&!f&&ve(h,32));return h};_.xe=function(a,b,c,d){a=le(a,b,c,d);return Array.isArray(a)?a:ue};_.ze=function(a,b){a===0&&(a=_.ye(a,b));return a|1};
_.Ae=function(a){return!!(2&a)&&!!(4&a)||!!(2048&a)};Be=function(a,b){a=a.T;var c=(0,_.fe)(a),d=le(a,c,b),e=Kc(d,!0,!!(c&34));e!=null&&e!==d&&_.oe(a,c,b,e);return e==null?rc():e};
Ce=function(a,b){a=a.T;var c=(0,_.fe)(a);a:{var d=le(a,c,b),e=c&2,f=!1;if(d==null){if(e){b=Zd();break a}d=[]}else if(d.constructor===Rd){if((d.fk&2)==0||e){b=d;break a}d=Ud(d)}else Array.isArray(d)?f=!!((0,_.Lc)(d)&2):d=[];if(e){if(!d.length){b=Zd();break a}f||(f=!0,Cc(d))}else if(f){f=!1;e=_.zc(d);for(d=0;d<e.length;d++){var h=e[d]=_.zc(e[d]);Array.isArray(h[1])&&(h[1]=Cc(h[1]))}d=e}f||((0,_.Lc)(d)&64?ve(d,32):32&c&&Dc(d));f=new Rd(d,void 0,Ad,Ad);_.oe(a,c,b,f,!1);b=f}return b};
Fe=function(a,b,c,d){var e=a.T,f=(0,_.fe)(e);Nc(f);if(c==null)return _.oe(e,f,b),a;c=Hd(c);var h=(0,_.Lc)(c),k=h,l=!!(2&h)||Object.isFrozen(c),m=!l&&(void 0===De||!1);if(_.ie(a,h))for(h=21,l&&(c=_.zc(c),k=0,h=_.ye(h,f),h=_.Ee(h,f,!0)),l=0;l<c.length;l++)c[l]=d(c[l]);m&&(c=_.zc(c),k=0,h=_.ye(h,f),h=_.Ee(h,f,!0));h!==k&&(0,_.Ec)(c,h);_.oe(e,f,b,c);return a};Ge=function(a,b,c,d){var e=a.T,f=(0,_.fe)(e);Nc(f);_.oe(e,f,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a};
He=function(a,b,c,d){var e=(0,_.fe)(a);Nc(e);a=we(a,e,b,2);b=(0,_.Lc)(a);d=c(d,!!(4&b)&&!!(4096&b));a.push(d)};Daa=function(a){return a};Me=function(a,b,c,d){var e=a.T,f=(0,_.fe)(e);Nc(f);if(d==null){var h=Ie(e);if(Je(h,e,f,c)===b)h.set(c,0);else return a}else f=Ke(e,f,c,b);_.oe(e,f,b,d);return a};_.Ne=function(a,b,c,d){var e=(0,_.fe)(a);e=Ke(a,e,c,b);_.oe(a,e,b,d)};_.se=function(a,b,c){return _.Oe(a,b)===c?c:-1};_.Oe=function(a,b){a=a.T;return Je(Ie(a),a,(0,_.fe)(a),b)};
Ie=function(a){if(Pe){var b;return(b=a[Qe])!=null?b:a[Qe]=new Map}if(Qe in a)return a[Qe];b=new Map;Object.defineProperty(a,Qe,{value:b});return b};Ke=function(a,b,c,d){var e=Ie(a),f=Je(e,a,b,c);f!==d&&(f&&(b=_.oe(a,b,f)),e.set(c,d));return b};Je=function(a,b,c,d){var e=a.get(d);if(e!=null)return e;for(var f=e=0;f<d.length;f++){var h=d[f];le(b,c,h)!=null&&(e!==0&&(c=_.oe(b,c,e)),e=h)}a.set(d,e);return e};
Eaa=function(a){var b=Re;a=a.T;var c=(0,_.fe)(a);Nc(c);var d=le(a,c,4);b=Wd(yd(d,b,!0,c));d!==b&&_.oe(a,c,4,b);return b};Se=function(a,b,c,d){var e=(0,_.fe)(a),f=le(a,e,c,d),h;if(f!=null&&f.ll===wd)return b=Wd(f),b!==f&&_.oe(a,e,c,b,d),b.T;if(Array.isArray(f)){var k=(0,_.Lc)(f);k&2?h=ge(f,k,!1):h=f;h=_.Nd(h,b[0],b[1])}else h=_.Nd(void 0,b[0],b[1]);h!==f&&_.oe(a,e,c,h,d);return h};qe=function(a,b,c,d){a=a.T;var e=(0,_.fe)(a),f=le(a,e,c,d);b=yd(f,b,!1,e);b!==f&&b!=null&&_.oe(a,e,c,b,d);return b};
_.Te=function(a,b,c,d){d=d===void 0?!1:d;b=qe(a,b,c,d);if(b==null)return b;a=a.T;var e=(0,_.fe)(a);if(!(e&2)){var f=Wd(b);f!==b&&(b=f,_.oe(a,e,c,b,d))}return b};
Ue=function(a,b,c,d,e,f,h,k){var l=!!(2&b);e=l?1:e;h=!!h;k&&(k=!l);l=_.xe(a,b,d,f);var m=(0,_.Lc)(l),n=!!(4&m);if(!n){m=_.ze(m,b);var p=l,q=b,r=!!(2&m);r&&(q|=2);for(var t=!r,w=!0,y=0,B=0;y<p.length;y++){var A=yd(p[y],c,!1,q);if(A instanceof c){if(!r){var E=!!((0,_.Lc)(A.T)&2);t&&(t=!E);w&&(w=E)}p[B++]=A}}B<y&&(p.length=B);m|=4;m=w?m|16:m&-17;m=t?m|8:m&-9;(0,_.Ec)(p,m);r&&Object.freeze(p)}if(k&&!(8&m||!l.length&&(e===1||e===4&&32&m))){_.Ae(m)&&(l=_.zc(l),m=_.ye(m,b),b=_.oe(a,b,d,l,f));c=l;k=m;for(p=
0;p<c.length;p++)m=c[p],q=Wd(m),m!==q&&(c[p]=q);k|=8;k=c.length?k&-17:k|16;(0,_.Ec)(c,k);m=k}var I;e===1||e===4&&32&m?_.Ae(m)||(b=m,m|=!l.length||16&m&&(!n||32&m)?2:2048,m!==b&&(0,_.Ec)(l,m),Object.freeze(l)):(n=e!==5?!1:!!(32&m)||_.Ae(m)||!!_.Bd(l),(e===2||n)&&_.Ae(m)&&(l=_.zc(l),m=_.ye(m,b),m=_.Ee(m,b,h),(0,_.Ec)(l,m),b=_.oe(a,b,d,l,f)),_.Ae(m)||(a=m,m=_.Ee(m,b,h),m!==a&&(0,_.Ec)(l,m)),n&&(I=_.Cd(l)));return I||l};
_.Xe=function(a,b,c){a=a.T;var d=(0,_.fe)(a);return Ue(a,d,b,c,void 0===_.Ve?2:_.We?5:2,void 0,!1,!(2&d))};_.Ye=function(a,b,c){c==null&&(c=void 0);return _.pe(a,b,c)};_.Ze=function(a,b,c,d){d==null&&(d=void 0);return Me(a,b,c,d)};
_.$e=function(a,b,c){var d=a.T,e=(0,_.fe)(d);Nc(e);if(c==null)return _.oe(d,e,b),a;c=Hd(c);for(var f=(0,_.Lc)(c),h=f,k=!!(2&f)||!!(2048&f),l=k||Object.isFrozen(c),m=!l&&(void 0===De||!1),n=!0,p=!0,q=0;q<c.length;q++){var r=c[q];k||(r=!!((0,_.Lc)(r.T)&2),n&&(n=!r),p&&(p=r))}k||(f|=5,f=n?f|8:f&-9,f=p?f|16:f&-17);if(m||l&&f!==h)c=_.zc(c),h=0,f=_.ye(f,e),f=_.Ee(f,e,!0);f!==h&&(0,_.Ec)(c,f);_.oe(d,e,b,c);return a};_.ye=function(a,b){a=(2&b?a|2:a&-3)|32;return a&=-2049};
_.Ee=function(a,b,c){32&b&&c||(a&=-33);return a};_.af=function(a,b,c,d,e,f,h){a=a.T;var k=(0,_.fe)(a);Nc(k);b=Ue(a,k,c,b,2,f,!0);c=d!=null?d:new c;if(h&&(typeof e!=="number"||e<0||e>b.length))throw Error();e!=void 0?b.splice(e,h,c):b.push(c);(0,_.Lc)(c.T)&2?ve(b,8):ve(b,16)};_.bf=function(a,b){a=me(a,b);var c;a==null?c=a:fd(a)?typeof a==="number"?c=od(a):c=md(a):c=void 0;return c};cf=function(a){a=me(a,1);var b=b===void 0?!1:b;b=a==null?a:fd(a)?typeof a==="string"?md(a):b?nd(a):od(a):void 0;return b};
df=function(a,b){return a!=null?a:b};ef=function(a,b){return vd(me(a,b))};ff=function(a,b){var c=c===void 0?!1:c;return df(ed(me(a,b)),c)};_.gf=function(a,b,c){c=c===void 0?0:c;return df(_.kd(me(a,b)),c)};_.hf=function(a,b){var c=c===void 0?0:c;return df(_.bf(a,b),c)};jf=function(a,b){var c=c===void 0?0:c;a=a.T;var d=(0,_.fe)(a),e=le(a,d,b),f=cd(e);f!=null&&f!==e&&_.oe(a,d,b,f);return df(f,c)};_.kf=function(a,b){var c=c===void 0?"":c;return df(ef(a,b),c)};
_.lf=function(a,b){var c=0;c=c===void 0?0:c;return df(_.hd(me(a,b)),c)};mf=function(a,b,c){return _.kf(a,_.se(a,c,b))};_.nf=function(a,b,c,d){return _.Te(a,b,_.se(a,d,c))};of=function(a,b,c){return Ge(a,b,_.dd(c),!1)};pf=function(a,b,c){return _.pe(a,b,jd(c))};_.qf=function(a,b,c){return _.pe(a,b,qd(c))};_.rf=function(a,b,c){return _.pe(a,b,ud(c))};_.sf=function(a,b,c){return _.pe(a,b,c==null?c:gd(c))};
tf=function(a){if(typeof a==="string")return{buffer:lc(a),Ih:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),Ih:!1};if(a.constructor===Uint8Array)return{buffer:a,Ih:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),Ih:!1};if(a.constructor===pc)return{buffer:sc(a)||new Uint8Array(0),Ih:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),Ih:!1};throw Error("V");};
uf=function(a,b){this.o=null;this.G=!1;this.j=this.A=this.B=0;this.init(a,void 0,void 0,b)};_.wf=function(a,b){var c=0,d=0,e=0,f=a.o,h=a.j;do{var k=f[h++];c|=(k&127)<<e;e+=7}while(e<32&&k&128);e>32&&(d|=(k&127)>>4);for(e=3;e<32&&k&128;e+=7)k=f[h++],d|=(k&127)<<e;vf(a,h);if(k<128)return b(c>>>0,d>>>0);throw Error("S");};vf=function(a,b){a.j=b;if(b>a.A)throw Error("T`"+b+"`"+a.A);};
_.xf=function(a){var b=a.o,c=a.j,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Error("S");vf(a,c);return e};_.yf=function(a){var b=a.o,c=a.j,d=b[c],e=b[c+1],f=b[c+2];b=b[c+3];vf(a,a.j+4);return(d<<0|e<<8|f<<16|b<<24)>>>0};zf=function(a){var b=_.yf(a);return _.yf(a)*4294967296+(b>>>0)};
Af=function(a){var b=_.yf(a),c=_.yf(a);a=(c>>31)*2+1;var d=c>>>20&2047;b=4294967296*(c&1048575)+b;return d==2047?b?NaN:a*Infinity:d==0?a*Math.pow(2,-1074)*b:a*Math.pow(2,d-1075)*(b+4503599627370496)};Bf=function(a){for(var b=0,c=a.j,d=c+10,e=a.o;c<d;){var f=e[c++];b|=f;if((f&128)===0)return vf(a,c),!!(b&127)}throw Error("S");};Cf=function(a,b){if(b<0)throw Error("U`"+b);var c=a.j,d=c+b;if(d>a.A)throw Error("T`"+(a.A-c)+"`"+b);a.j=d;return c};
Df=function(a,b){if(b==0)return rc();var c=Cf(a,b);a.qm&&a.G?c=a.o.subarray(c,c+b):(a=a.o,b=c+b,c=c===b?new Uint8Array(0):Faa?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return c.length==0?rc():new pc(c,oc)};Gf=function(a,b){if(Ef.length){var c=Ef.pop();c.init(a,void 0,void 0,b);a=c}else a=new uf(a,b);this.j=a;this.A=this.j.j;this.o=this.B=-1;Ff(this,b)};Ff=function(a,b){b=b===void 0?{}:b;a.Hq=b.Hq===void 0?!1:b.Hq};
If=function(a){var b=a.j;if(b.j==b.A)return!1;a.A=a.j.j;var c=_.xf(a.j)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw Error("O`"+c+"`"+a.A);if(b<1)throw Error("P`"+b+"`"+a.A);a.B=b;a.o=c;return!0};
Jf=function(a){switch(a.o){case 0:a.o!=0?Jf(a):Bf(a.j);break;case 1:a=a.j;vf(a,a.j+8);break;case 2:if(a.o!=2)Jf(a);else{var b=_.xf(a.j)>>>0;a=a.j;vf(a,a.j+b)}break;case 5:a=a.j;vf(a,a.j+4);break;case 3:b=a.B;do{if(!If(a))throw Error("Q");if(a.o==4){if(a.B!=b)throw Error("R");break}Jf(a)}while(1);break;default:throw Error("O`"+a.o+"`"+a.A);}};
Kf=function(a,b,c){var d=a.j.A,e=_.xf(a.j)>>>0,f=a.j.j+e,h=f-d;h<=0&&(a.j.A=f,c(b,a,void 0,void 0,void 0),h=f-a.j.j);if(h)throw Error("N`"+e+"`"+(e-h));a.j.j=f;a.j.A=d};
Nf=function(a){var b=_.xf(a.j)>>>0;a=a.j;var c=Cf(a,b);a=a.o;if(Gaa){var d=a,e;(e=Lf)||(e=Lf=new TextDecoder("utf-8",{fatal:!0}));b=c+b;d=c===0&&b===d.length?d:d.subarray(c,b);try{var f=e.decode(d)}catch(m){if(Mf===void 0){try{e.decode(new Uint8Array([128]))}catch(n){}try{e.decode(new Uint8Array([97])),Mf=!0}catch(n){Mf=!1}}!Mf&&(Lf=void 0);throw m;}}else{f=c;b=f+b;c=[];for(var h=null,k,l;f<b;)k=a[f++],k<128?c.push(k):k<224?f>=b?pb():(l=a[f++],k<194||(l&192)!==128?(f--,pb()):c.push((k&31)<<6|l&63)):
k<240?f>=b-1?pb():(l=a[f++],(l&192)!==128||k===224&&l<160||k===237&&l>=160||((e=a[f++])&192)!==128?(f--,pb()):c.push((k&15)<<12|(l&63)<<6|e&63)):k<=244?f>=b-2?pb():(l=a[f++],(l&192)!==128||(k<<28)+(l-144)>>30!==0||((e=a[f++])&192)!==128||((d=a[f++])&192)!==128?(f--,pb()):(k=(k&7)<<18|(l&63)<<12|(e&63)<<6|d&63,k-=65536,c.push((k>>10&1023)+55296,(k&1023)+56320))):pb(),c.length>=8192&&(h=qb(h,c),c.length=0);f=qb(h,c)}return f};_.Of=function(a){var b=_.xf(a.j)>>>0;return Df(a.j,b)};
_.Pf=function(a,b,c){this.T=_.Nd(a,b,c)};_.Sf=function(a){try{return Qf=!0,JSON.stringify(Rf(a),xaa)}finally{Qf=!1}};_.Tf=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("W");return Jd(a,Dc(b))};
Rf=function(a){var b=Qf?a.T:Uf?ae(a.T,ce,void 0,void 0,!1):ae(a.T,de,void 0,void 0,!1);var c=!Qf;var d=Haa?void 0:a.constructor.mb;var e=(0,_.fe)(c?a.T:b);if(a=b.length){var f=b[a-1],h=Jc(f);h?a--:f=void 0;e=+!!(e&512)-1;var k=b;if(h){b:{var l=f;var m={};h=!1;if(l)for(var n in l)if(isNaN(+n))m[n]=l[n];else{var p=l[n];Array.isArray(p)&&(Mc(p,d,+n)||Ic(p)&&p.size===0)&&(p=null);p==null&&(h=!0);p!=null&&(m[n]=p)}if(h){for(var q in m)break b;m=null}else m=l}l=m==null?f!=null:m!==f}for(var r;a>0;a--){q=
a-1;n=k[q];q-=e;if(!(n==null||Mc(n,d,q)||Ic(n)&&n.size===0))break;r=!0}if(k!==b||l||r){if(!c)k=Array.prototype.slice.call(k,0,a);else if(r||l||m)k.length=a;m&&k.push(m)}b=k}return b};Vf=function(a,b){this.o=a>>>0;this.j=b>>>0};Yf=function(a){if(!a)return Wf||(Wf=new Vf(0,0));if(!/^\d+$/.test(a))return null;ad(a);return new Vf(Rc,Sc)};Zf=function(a,b){this.o=a>>>0;this.j=b>>>0};ag=function(a){if(!a)return $f||($f=new Zf(0,0));if(!/^-?\d+$/.test(a))return null;ad(a);return new Zf(Rc,Sc)};
bg=function(){this.j=[]};cg=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)};dg=function(a,b){for(;b>127;)a.j.push(b&127|128),b>>>=7;a.j.push(b)};_.eg=function(a,b){if(b>=0)dg(a,b);else{for(var c=0;c<9;c++)a.j.push(b&127|128),b>>=7;a.j.push(1)}};_.fg=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)};Iaa=function(){this.A=[];this.o=0;this.j=new bg};gg=function(a,b){b.length!==0&&(a.A.push(b),a.o+=b.length)};
_.hg=function(a,b,c){dg(a.j,b*8+c)};ig=function(a,b,c){c!=null&&(typeof c==="string"&&Yf(c),_.hg(a,b,1),typeof c==="number"?(a=a.j,Tc(c),_.fg(a,Rc),_.fg(a,Sc)):(c=Yf(c),a=a.j,b=c.j,_.fg(a,c.o),_.fg(a,b)))};jg=function(a,b,c){_.hg(a,b,2);dg(a.j,c.length);gg(a,a.j.end());gg(a,c)};kg=function(a,b,c,d){this.j=a;this.o=b;this.A=c;this.dB=d};lg=function(a){return Array.isArray(a)?a[0]instanceof kg?a:[Jaa,a]:[a,void 0]};
mg=function(a,b,c){if(Array.isArray(b)){var d=(0,_.Lc)(b);if(d&4)return b;for(var e=0,f=0;e<b.length;e++){var h=a(b[e]);h!=null&&(b[f++]=h)}f<e&&(b.length=f);c&&((0,_.Ec)(b,(d|5)&-12289),d&2&&Object.freeze(b));return b}};
tg=function(a){var b=a[ng];if(!b){var c=og(a),d=pg(a),e=d.A;b=e?function(f,h){return e(f,h,d)}:function(f,h){for(;If(h)&&h.o!=4;){var k=h.B,l=d[k];if(!l){var m=d.extensions;m&&(m=m[k])&&(l=d[k]=Kaa(m))}l&&l(h,f,k)||(l=h,k=l.A,Jf(l),l.Hq?l=void 0:(m=l.j.j-k,l.j.j=k,l=Df(l.j,m)),k=f,l&&(Pc||(Pc=Symbol()),(m=k[Pc])?m.push(l):k[Pc]=[l]))}c===qg||c===rg||c.G||(f[sg||(sg=Symbol())]=c)};a[ng]=b}return b};
Kaa=function(a){a=lg(a);var b=a[0].j;if(a=a[1]){var c=tg(a),d=pg(a).tj;return function(e,f,h){return b(e,f,h,d,c)}}return b};ug=function(){};Laa=function(a,b,c){var d=c[1];if(d){var e=d[vg];var f=e?e.tj:Md(d[0]);a[b]=e!=null?e:d}f&&f===Kd?(a.j||(a.j=new Set)).add(b):c[0]&&(a.o||(a.o=new Set)).add(b)};wg=function(a,b){return[a.A,!b||b[0]>0?void 0:b]};
og=function(a){var b=a[vg];if(b)return b;b=xg(a,a[vg]=new ug,wg,wg,Laa);if(!b.extensions&&!b.o&&!b.j){var c=!0,d;for(d in b)isNaN(d)||(c=!1);c?(Md(a[0])===Kd?rg?b=rg:(b=new ug,b.tj=Md(!0),b=rg=b):b=qg||(qg=new ug),b=a[vg]=b):b.G=!0}return b};Maa=function(a,b,c){a[b]=c};
xg=function(a,b,c,d,e){e=e===void 0?Maa:e;b.tj=Md(a[0]);var f=0,h=a[++f];h&&h.constructor===Object&&(b.extensions=h,h=a[++f],typeof h==="function"&&(b.A=h,b.B=a[++f],h=a[++f]));for(var k={};Array.isArray(h)&&typeof h[0]==="number"&&h[0]>0;){for(var l=0;l<h.length;l++)k[h[l]]=h;h=a[++f]}for(l=1;h!==void 0;){typeof h==="number"&&(l+=h,h=a[++f]);var m=void 0;if(h instanceof kg)var n=h;else n=Naa,f--;if(n.dB){h=a[++f];m=a;var p=f;typeof h=="function"&&(h=h(),m[p]=h);m=h}h=a[++f];p=l+1;typeof h==="number"&&
h<0&&(p-=h,h=a[++f]);for(;l<p;l++){var q=k[l];e(b,l,m?d(n,m,q):c(n,q))}}return b};Bg=function(a){var b=a[yg];if(!b){var c=zg(a);b=function(d,e){return Ag(d,e,c)};a[yg]=b}return b};Oaa=function(a){return a.o};Paa=function(a,b){var c,d,e=a.o;return function(f,h,k){return e(f,h,k,d||(d=zg(b).tj),c||(c=Bg(b)))}};zg=function(a){var b=a[Cg];if(b)return b;b=xg(a,a[Cg]={},Oaa,Paa);Dg(a);return b};Qaa=function(a,b){var c=a.j;return b?function(d,e,f){return c(d,e,f,b)}:c};
Raa=function(a,b,c){var d=a.j,e,f;return function(h,k,l){return d(h,k,l,f||(f=pg(b).tj),e||(e=tg(b)),c)}};pg=function(a){var b=a[Eg];if(b)return b;og(a);b=xg(a,a[Eg]={},Qaa,Raa);Dg(a);return b};Dg=function(a){Eg in a&&vg in a&&Cg in a&&(a.length=0)};Fg=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=lg(c);var d=c[0].o;if(c=c[1]){var e=Bg(c),f=zg(c).tj;c=(c=a.B)?c(f,e):function(h,k,l){return d(h,k,l,f,e)}}else c=d;return a[b]=c}};
Ag=function(a,b,c){for(var d=(0,_.fe)(a),e=+!!(d&512)-1,f=a.length,h=f+(d&256?-1:0),k=d&512?1:0;k<h;k++){var l=a[k];if(l!=null){var m=k-e,n=Fg(c,m);n&&n(b,l,m)}}if(d&256){d=a[f-1];for(var p in d)e=+p,Number.isNaN(e)||(f=d[p],f!=null&&(h=Fg(c,e))&&h(b,f,e))}if(a=Pc?a[Pc]:void 0)for(gg(b,b.j.end()),c=0;c<a.length;c++)gg(b,sc(a[c])||new Uint8Array(0))};_.Gg=function(a,b){return new kg(a,b,!1,!1)};_.Hg=function(a,b,c){_.oe(a,(0,_.fe)(a),b,c)};
Jg=function(a,b,c){b=cd(b);b!=null&&(_.hg(a,c,1),a=a.j,c=Ig||(Ig=new DataView(new ArrayBuffer(8))),c.setFloat64(0,+b,!0),Rc=c.getUint32(0,!0),Sc=c.getUint32(4,!0),_.fg(a,Rc),_.fg(a,Sc))};_.Kg=function(a,b,c){a:if(b!=null){if(fd(b)){if(typeof b==="string"){b=md(b);break a}if(typeof b==="number"){b=od(b);break a}}b=void 0}b!=null&&(typeof b==="string"&&ag(b),b!=null&&(_.hg(a,c,0),typeof b==="number"?(a=a.j,Vc(b),cg(a,Rc,Sc)):(c=ag(b),cg(a.j,c.o,c.j))))};
Lg=function(a,b,c){b=_.kd(b);b!=null&&b!=null&&(_.hg(a,c,0),_.eg(a.j,b))};_.Mg=function(a,b,c){ig(a,c,td(b))};Ng=function(a,b,c){b=ed(b);b!=null&&(_.hg(a,c,0),a.j.j.push(b?1:0))};Og=function(a,b,c){b=vd(b);b!=null&&jg(a,c,sb(b))};Pg=function(a,b,c,d,e){b=b instanceof _.Pf?b.T:Array.isArray(b)?_.Nd(b,d[0],d[1]):void 0;if(b!=null){_.hg(a,c,2);c=a.j.end();gg(a,c);c.push(a.o);e(b,a);e=c.pop();for(e=a.o+a.j.length()-e;e>127;)c.push(e&127|128),e>>>=7,a.o++;c.push(e);a.o++}};
_.Qg=function(a,b,c){b=b==null||typeof b=="string"||nc(b)||b instanceof pc?b:void 0;b!=null&&jg(a,c,tf(b).buffer)};Rg=function(a){a.BQ=!0;return a};_.Tg=function(a,b){return function(c,d){if(Sg.length){var e=Sg.pop();Ff(e,d);e.j.init(c,void 0,void 0,d);c=e}else c=new Gf(c,d);try{var f=new a,h=f.T;tg(b)(h,c);var k=f}finally{c.free()}return k}};
_.Ug=function(a){return function(){var b=new Iaa;Ag(this.T,b,zg(a));gg(b,b.j.end());for(var c=new Uint8Array(b.o),d=b.A,e=d.length,f=0,h=0;h<e;h++){var k=d[h];c.set(k,f);f+=k.length}b.A=[c];return c}};_.Vg=function(a){return Rg(function(b){return b instanceof a&&!((0,_.Lc)(b.T)&2)})};Wg=function(a){this.T=_.Nd(a)};Xg=function(a){this.T=_.Nd(a)};Yg=function(a){this.T=_.Nd(a)};Zg=function(a){this.T=_.Nd(a)};$g=function(a){this.T=_.Nd(a)};Saa=function(a){this.T=_.Nd(a)};Taa=function(a){this.T=_.Nd(a)};
Uaa=function(a){this.T=_.Nd(a)};ah=function(a){this.T=_.Nd(a)};bh=function(a){this.T=_.Nd(a)};Vaa=function(){var a=new bh,b=new $g;return _.Ze(a,7,ch,b)};Waa=function(){var a=new bh,b=new Saa;return _.Ze(a,8,ch,b)};Xaa=function(a){this.T=_.Nd(a)};Yaa=function(a){this.T=_.Nd(a)};Zaa=function(a){this.T=_.Nd(a)};$aa=function(a){this.T=_.Nd(a)};aba=function(a){this.T=_.Nd(a)};bba=function(a){this.T=_.Nd(a)};cba=function(a){this.T=_.Nd(a)};dba=function(a){this.T=_.Nd(a)};eba=function(a){this.T=_.Nd(a)};
dh=function(a){this.T=_.Nd(a)};eh=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack)};fba=function(a){this.j=a};fh=function(a,b){this.data=a;this.channel=b};gh=function(a,b){a.channel.send(b,void 0,void 0)};gba=function(a){this.j=a};hh=function(a,b){hba(a,b);return new gba(a)};hba=function(a,b){b&&(a.onmessage=function(c){b(new fh(c.data,hh(c.ports[0])))})};ih=function(a){this.j=a};
iba=function(a){var b=Object.create(null);(typeof a==="string"?[a]:a).forEach(function(c){if(c==="null")throw Error("Y");b[c]=!0});return function(c){return b[c]===!0}};
_.jh=function(a){var b=a.destination;var c=a.iframe;var d=a.origin;var e=a.channelName===void 0?"ZNWN1d":a.channelName;var f=a.onMessage===void 0?void 0:a.onMessage;a=a.Mg===void 0?void 0:a.Mg;return jba({destination:b,rr:function(){return c.contentWindow},SH:d instanceof ih?d:typeof d==="function"?new ih(d):new ih(iba(d)),channelName:e,onMessage:f,Mg:a})};
jba=function(a){var b=a.destination;var c=a.rr;var d=a.SH;var e=a.token===void 0?void 0:a.token;var f=a.channelName;var h=a.onMessage===void 0?void 0:a.onMessage;var k=a.Mg===void 0?void 0:a.Mg;return new fba(new kba(function(l,m){function n(p){p.source&&p.source===c()&&d.j(p.origin)&&(p.data.n||p.data)===f&&(b.removeEventListener("message",n,!1),e&&p.data.t!==e?m(Error("Z`"+f+"`"+e+"`"+p.data.t)):(l(hh(p.ports[0],h)),k&&k(p)))}b.addEventListener("message",n,!1)}))};kh=function(a){try{a()}catch(b){tb(b)}};
mba=function(a){var b=this;var c=a.HE;var d=a.MH===void 0?function(){}:a.MH;var e=a.oH===void 0?function(){}:a.oH;a=a.mH===void 0?function(){}:a.mH;this.j=new Map;this.o=c;this.G=d;this.B=e;this.A=a;this.onMessage=function(f){return lba(b,f)}};lba=function(a,b){var c=a.o(b.data),d=a.j.get(c);d?(kh(function(){return a.B(b,c)}),kh(function(){return d(b)}),kh(function(){return a.A(b,c)})):kh(function(){return a.G(b,c)})};lh=function(a){this.j=a};
_.nba=function(a,b){return function(c){var d=new a(c.data);return b(new fh(d,c.channel))}};oba=function(a){return function(b){return a(new fh(b.data,new lh(b.channel)))}};mh=function(a,b){return oba(_.nba(a,b))};nh=function(a,b,c,d){this.ff=a;this.D=b;this.Lo=c;this.uk=d;this.ff.register.bind(this.ff);this.j=!1;this.features=new Set};
pba=function(a){var b=new mba({HE:a.Nk});return new nh(b,new lh(_.jh({iframe:a.vf,destination:window,origin:a.origin,channelName:a.channelName,onMessage:mh(a.Lo,b.onMessage)})),a.Lo,a.uk)};qba=function(a,b){a.uk=b};rba=function(a,b){return _.z(function(c){if(!a.j)throw new eh("Attempted to send a message before initialisation.");return c.return(new Promise(function(d){a.D.send(b,mh(a.Lo,d))}))})};
oh=function(a,b){if(a.j)throw new eh("Attempted to use a new API after initialisation. All APIs must be set up before initialising the SDK.");a.features.add(b);return a.ff};sba=function(a,b){return pba({vf:a,origin:b||"https://gamesnacks.com",channelName:"gspc",Lo:dh,Nk:function(c){return c.Nk()},uk:function(c){var d=new bh,e=new Yg;c=_.Ye(e,1,c);return _.Ze(d,5,ch,c)}})};ph=function(a){this.channel=a;this.j=!1};tba=function(a){this.channel=a};uba=function(a){this.channel=a};
vba=function(a){this.channel=a};qh=function(a){this.channel=a;this.A=this.o=this.j=!1};xba=function(a){oh(a.channel,4).register(2,wba.load).register(3,wba.save);a.j=!0};rh=function(a){this.channel=a};yba=function(a){this.channel=a;this.j=0};
zba=function(a){var b=this;this.channel=a;this.init=this.channel.init.bind(this.channel);this.page=new uba(this.channel);this.game=new tba(this.channel);this.audio=new ph(this.channel);this.score=new vba(this.channel);this.storage=new qh(this.channel);this.style=new rh(this.channel);this.userActivity=new yba(this.channel);qba(this.channel,function(c){var d=new Yg;c=_.Ye(d,1,c);c=pf(c,3,b.userActivity.j);d=b.audio.Ac();d!==void 0&&_.pe(c,2,_.dd(d));d=new bh;return _.Ze(d,5,ch,c)})};
Aba=function(a){a=a.url;var b=/[?&]dsh=1(&|$)/.test(a);this.A=!b&&/[?&]ae=1(&|$)/.test(a);this.B=!b&&/[?&]ae=2(&|$)/.test(a);if((this.j=/[?&]adurl=([^&]*)/.exec(a))&&this.j[1]){try{var c=decodeURIComponent(this.j[1])}catch(d){c=null}this.o=c}};th=function(){sh===void 0&&(sh=_.mb("goog#html"));return sh};uh=function(a,b){this.j=a===Bba&&b||"";this.o=Cba};_.Dba=function(a){return a instanceof uh&&a.constructor===uh&&a.o===Cba?a.j:"type_error:Const"};_.vh=function(a){return new uh(Bba,a)};
wh=function(a){this.qz=a};Gba=function(a,b){a=Eba.exec(_.xh(a).toString());var c=a[3]||"";return _.yh(a[1]+Fba("?",a[2]||"",b)+Fba("#",c))};_.xh=function(a){return a instanceof wh&&a.constructor===wh?a.qz:"type_error:TrustedResourceUrl"};_.yh=function(a){var b=th();a=b?b.createScriptURL(a):a;return new wh(a,Hba)};
Fba=function(a,b,c){if(c==null)return b;if(typeof c==="string")return c?a+encodeURIComponent(c):"";for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d)){var e=c[d];e=Array.isArray(e)?e:[e];for(var f=0;f<e.length;f++){var h=e[f];h!=null&&(b||(b=a),b+=(b.length>a.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(h)))}}return b};zh=function(a){return a.toString().indexOf("`")===-1};_.Ah=function(a){this.sz=a};Bh=function(a){if(a instanceof _.Ah)return a.sz;throw Error("$");};
Ch=function(a){this.mj=a};Dh=function(a){return new Ch(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})};Eh=function(a,b){b=b===void 0?Iba:b;if(a instanceof _.Ah)return a;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof Ch&&d.mj(a))return new _.Ah(a)}};_.Gh=function(a,b){b=b===void 0?Iba:b;return Eh(a,b)||Fh};Hh=function(a){a instanceof _.Ah?a=Bh(a):a=Jba.test(a)?a:void 0;return a};Ih=function(a,b){b=Hh(b);b!==void 0&&(a.href=b)};Jh=function(){this.j=Kba[0].toLowerCase()};
Kh=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};Lba=function(a,b){for(var c in a)b.call(void 0,a[c],c,a)};Mba=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};Lh=function(a){for(var b in a)return b};Mh=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};Nh=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};Nba=function(a){var b=Oh,c;for(c in b)if(a.call(void 0,b[c],c,b))return c};_.Ph=function(a){for(var b in a)return!1;return!0};
Oba=function(a,b){if(a!==null&&b in a)throw Error("aa`"+b);a[b]=!0};_.Qh=function(a,b,c){return a!==null&&b in a?a[b]:c};Pba=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0};_.Rh=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
Th=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]=Th(a[c]);return b};
_.Uh=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Qba.length;f++)c=Qba[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};Rba=function(a){var b=arguments.length;if(b==1&&Array.isArray(arguments[0]))return Rba.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};Vh=function(a){this.pz=a};
Yba=function(a){if(a instanceof _.Ah)return'url("'+a.toString().replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof uh)a=_.Dba(a);else{a=String(a);var b=a.replace(Sba,"$1").replace(Sba,"$1").replace(Tba,"url");if(Uba.test(b)){if(b=!Vba.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);e=="'"&&c?b=!b:e=='"'&&b&&(c=!c)}b=b&&c&&Wba(a)}a=b?Xba(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new ob("Value does not allow [{;}], got: %s.",[a]);return a};
Wba=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if(e=="]"){if(b)return!1;b=!0}else if(e=="["){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b};Xba=function(a){return a.replace(Tba,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=_.Gh(d).toString();return c+f+b+f+e})};Wh=function(a){this.oz=a};Xh=function(a){return a instanceof Wh&&a.constructor===Wh?a.oz:"type_error:SafeHtml"};
Yh=function(a){var b=th();a=b?b.createHTML(a):a;return new Wh(a,Zba)};$ba=function(a){var b="true".toString(),c=[new Jh];if(c.length===0)throw Error("$");if(c.map(function(d){if(d instanceof Jh)d=d.j;else throw Error("$");return d}).every(function(d){return"data-loaded".indexOf(d)!==0}))throw Error("da`data-loaded");a.setAttribute("data-loaded",b)};Zh=function(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b);};
_.$h=function(a,b,c){if(b instanceof wh)a.href=_.xh(b).toString(),a.rel=c;else{if(aca.indexOf(c)===-1)throw Error("ea`"+c);b=Hh(b);b!==void 0&&(a.href=b,a.rel=c)}};_.ai=function(a,b,c,d){b=Hh(b);b!==void 0&&a.open(b,c,d)};_.bi=function(a){var b,c;return(a=(c=(b=a.document).querySelector)==null?void 0:c.call(b,"script[nonce]"))?a.nonce||a.getAttribute("nonce")||"":""};_.ci=function(a){this.rz=a};_.di=function(a){var b=th();return new _.ci(b?b.createScript(a):a)};
ei=function(a){if(a instanceof _.ci)return a.rz;throw Error("$");};bca=function(a){var b=_.bi(a.ownerDocument&&a.ownerDocument.defaultView||window);b&&a.setAttribute("nonce",b)};_.fi=function(a,b){a.textContent=ei(b);bca(a)};_.gi=function(a,b){a.src=_.xh(b);bca(a)};
dca=function(a){var b=_.Ua("window.location.href");a==null&&(a='Unknown Error of type "null/undefined"');if(typeof a==="string")return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(h){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||_.Sa.$googDebugFname||b}catch(h){e="Not available",c=!0}b=cca(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(c==null){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,hi[c])c=hi[c];else{c=String(c);if(!hi[c]){var f=/function\s+([^\(]+)/m.exec(c);hi[c]=f?f[1]:"[Anonymous]"}c=hi[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";typeof a.toString==="function"&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}return{message:a.message,
name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:b}};cca=function(a,b){b||(b={});b[eca(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[eca(a)]&&(c+="\nCaused by: ",a.stack&&a.stack.indexOf(a.toString())==0||(c+=typeof a==="string"?a:a.message+"\n"),c+=cca(a,b));return c};eca=function(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack};_.ii=function(a,b){b=Hh(b);b!==void 0&&(a.href=b)};_.ji=function(a,b){b=Hh(b);b!==void 0&&a.replace(b)};ki=function(a){return encodeURIComponent(String(a))};
li=function(a){return decodeURIComponent(a.replace(/\+/g," "))};_.fca=function(){return Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^_.hb()).toString(36)};mi=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};gca=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};hca=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};
ica=function(a){var b=1;a=a.split(":");for(var c=[];b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};ni=function(a,b,c,d,e,f,h){var k="";a&&(k+=a+":");c&&(k+="//",b&&(k+=b+"@"),k+=c,d&&(k+=":"+d));e&&(k+=e);f&&(k+="?"+f);h&&(k+="#"+h);return k};_.oi=function(a){return a?decodeURI(a):a};_.qi=function(a,b){return b.match(pi)[a]||null};jca=function(a){a=_.qi(1,a);!a&&_.Sa.self&&_.Sa.self.location&&(a=_.Sa.self.location.protocol.slice(0,-1));return a?a.toLowerCase():""};
_.ri=function(a){return _.oi(_.qi(3,a))};_.si=function(a){a=a.match(pi);return ni(a[1],null,a[3],a[4])};_.ti=function(a){a=a.match(pi);return ni(null,null,null,null,a[5],a[6],a[7])};ui=function(a){var b=a.indexOf("#");return b<0?a:a.slice(0,b)};kca=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?li(e):"")}}};
lca=function(a){var b=a.indexOf("#");b<0&&(b=a.length);var c=a.indexOf("?");if(c<0||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.slice(0,c),d,a.slice(b)]};mca=function(a,b){return b?a?a+"&"+b:b:a};nca=function(a,b){if(!b)return a;a=lca(a);a[1]=mca(a[1],b);return a[0]+(a[1]?"?"+a[1]:"")+a[2]};oca=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)oca(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+ki(b)))};vi=function(a){var b=[],c;for(c in a)oca(c,a[c],b);return b.join("&")};
wi=function(a,b){b=vi(b);return nca(a,b)};_.xi=function(a,b,c){c=c!=null?"="+ki(c):"";return nca(a,b+c)};pca=function(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b<d;){var f=a.charCodeAt(b-1);if(f==38||f==63)if(f=a.charCodeAt(b+e),!f||f==61||f==38||f==35)return b;b+=e+1}return-1};_.yi=function(a,b){var c=a.search(qca),d=pca(a,0,b,c);if(d<0)return null;var e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return li(a.slice(d,e!==-1?e:0))};
_.zi=function(a,b){for(var c=a.search(qca),d=0,e,f=[];(e=pca(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(rca,"$1")};_.Ai=function(a,b,c){return _.xi(_.zi(a,b),b,c)};_.Bi=function(a,b){a=lca(a);var c=a[1],d=[];c&&c.split("&").forEach(function(e){var f=e.indexOf("=");f=f>=0?e.slice(0,f):e;b.hasOwnProperty(f)||d.push(e)});a[1]=mca(d.join("&"),vi(b));return a[0]+(a[1]?"?"+a[1]:"")+a[2]};
sca=function(a,b){_.ub(b,"/")||(b="/"+b);a=a.match(pi);return ni(a[1],a[2],a[3],a[4],b,a[6],a[7])};_.Ci=function(a){this.T=_.Nd(a)};Di=function(a){this.T=_.Nd(a)};Ei=function(a){this.T=_.Nd(a)};tca=function(a){var b=a.split(/\?|#/),c=/\?/.test(a)?"?"+b[1]:"";return{path:b[0],params:c,hash:/#/.test(a)?"#"+(c?b[2]:b[1]):""}};_.Fi=function(a){var b=_.Ka.apply(1,arguments);if(b.length===0)return _.yh(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return _.yh(c)};
_.Gi=function(a,b){a=tca(_.xh(a).toString());var c=a.params,d=c.length?"&":"?";b.forEach(function(e,f){e=e instanceof Array?e:[e];for(var h=0;h<e.length;h++){var k=e[h];k!==null&&k!==void 0&&(c+=d+encodeURIComponent(f)+"="+encodeURIComponent(String(k)),d="&")}});return _.yh(a.path+c+a.hash)};Hi=function(a,b){a=tca(_.xh(a).toString());var c=a.path.slice(-1)==="/"?"":"/";b=a.path+c+encodeURIComponent(b);return _.yh(b+a.params+a.hash)};_.Ii=function(a){return _.di(JSON.stringify(a).replace(/</g,"\\u003C"))};
_.Ji=function(){};_.Ki=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};_.Li=function(a,b){var c=0;return function(d){_.Sa.clearTimeout(c);var e=arguments;c=_.Sa.setTimeout(function(){a.apply(void 0,e)},b)}};_.uca=function(a,b){function c(){d=0}var d=0;return function(e){d||(d=_.Sa.setTimeout(c,b),a.apply(void 0,arguments))}};
wca=function(a,b){a:{var c=(a.ownerDocument&&a.ownerDocument.defaultView||_.Sa).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&vca.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=_.xh(b)};_.Mi=function(a,b,c){return Math.min(Math.max(a,b),c)};_.Oi=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};_.Pi=function(a,b){this.width=a;this.height=b};_.Si=function(a){return a?new _.Qi(_.Ri(a)):xca||(xca=new _.Qi)};
Ti=function(a){var b=document;return typeof a==="string"?b.getElementById(a):a};zca=function(a,b){Kh(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:yca.hasOwnProperty(d)?a.setAttribute(yca[d],c):_.ub(d,"aria-")||_.ub(d,"data-")?a.setAttribute(d,c):a[d]=c})};_.Aca=function(a){return a.scrollingElement?a.scrollingElement:Ui||a.compatMode!="CSS1Compat"?a.body||a.documentElement:a.documentElement};_.Vi=function(a){return a?a.parentWindow||a.defaultView:window};
Cca=function(a,b,c){var d=arguments,e=document,f=d[1],h=Wi(e,String(d[0]));f&&(typeof f==="string"?h.className=f:Array.isArray(f)?h.className=f.join(" "):zca(h,f));d.length>2&&Bca(e,h,d,2);return h};
Bca=function(a,b,c,d){function e(k){k&&b.appendChild(typeof k==="string"?a.createTextNode(k):k)}for(;d<c.length;d++){var f=c[d];if(!bb(f)||cb(f)&&f.nodeType>0)e(f);else{a:{if(f&&typeof f.length=="number"){if(cb(f)){var h=typeof f.item=="function"||typeof f.item=="string";break a}if(typeof f==="function"){h=typeof f.item=="function";break a}}h=!1}_.Xi(h?_.Tb(f):f,e)}}};_.Yi=function(a){return Wi(document,a)};
Wi=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)};_.Zi=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};_.Ri=function(a){return a.nodeType==9?a:a.ownerDocument||a.document};Dca=function(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768};_.aj=function(a,b){if(!b)return null;var c=b?String(b).toUpperCase():null;return _.$i(a,function(d){return(!c||d.nodeName==c)&&!0},!0)};
_.$i=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.Qi=function(a){this.j=a||_.Sa.document||document};bj=function(a){this.T=_.Nd(a)};Eca=function(a){this.T=_.Nd(a)};Fca=function(a){this.T=_.Nd(a)};Gca=function(a){this.T=_.Nd(a,4)};cj=function(a){this.T=_.Nd(a,35)};dj=function(a,b){this.A=a;this.B=b;this.o=0;this.j=null};
_.fj=function(a){typeof _.Sa.setImmediate!=="function"||_.Sa.Window&&_.Sa.Window.prototype&&_.Sa.Window.prototype.setImmediate==_.Sa.setImmediate?(ej||(ej=Hca()),ej(a)):_.Sa.setImmediate(a)};
Hca=function(){var a=_.Sa.MessageChannel;typeof a==="undefined"&&typeof window!=="undefined"&&window.postMessage&&window.addEventListener&&!_.Eb("Presto")&&(a=function(){var e=_.Yi("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),k=f.location.protocol=="file:"?"*":f.location.protocol+"//"+f.location.host;e=(0,_.fb)(function(l){if((k=="*"||l.origin==k)&&l.data==h)this.port1.onmessage()},
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,k)}}});if(typeof a!=="undefined"){var b=new a,c={},d=c;b.port1.onmessage=function(){if(c.next!==void 0){c=c.next;var e=c.jk;c.jk=null;e()}};return function(e){d.next={jk:e};d=d.next;b.port2.postMessage(0)}}return function(e){_.Sa.setTimeout(e,0)}};gj=function(){this.o=this.j=null};hj=function(){this.next=this.scope=this.Pd=null};kj=function(a,b){ij||Ica();jj||(ij(),jj=!0);Jca.add(a,b)};
Ica=function(){if(_.Sa.Promise&&_.Sa.Promise.resolve){var a=_.Sa.Promise.resolve(void 0);ij=function(){a.then(Kca)}}else ij=function(){_.fj(Kca)}};Kca=function(){for(var a;a=Jca.remove();){try{a.Pd.call(a.scope)}catch(b){tb(b)}Lca.put(a)}jj=!1};_.lj=function(a){a.prototype.$goog_Thenable=!0};Mca=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
_.nj=function(a,b){this.j=0;this.H=void 0;this.B=this.o=this.A=null;this.G=this.J=!1;if(a!=_.Ji)try{var c=this;a.call(b,function(d){mj(c,2,d)},function(d){mj(c,3,d)})}catch(d){mj(this,3,d)}};Nca=function(){this.next=this.context=this.j=this.o=this.vf=null;this.A=!1};oj=function(a,b,c){var d=Oca.get();d.o=a;d.j=b;d.context=c;return d};_.pj=function(a){if(a instanceof _.nj)return a;var b=new _.nj(_.Ji);mj(b,2,a);return b};_.qj=function(a){return new _.nj(function(b,c){c(a)})};
_.Qca=function(a,b,c){Pca(a,b,c,null)||kj(_.gb(b,a))};_.rj=function(a){return new _.nj(function(b,c){var d=a.length,e=[];if(d)for(var f=function(m,n){d--;e[m]=n;d==0&&b(e)},h=function(m){c(m)},k=0,l;k<a.length;k++)l=a[k],_.Qca(l,_.gb(f,k),h);else b(e)})};_.sj=function(){var a,b,c=new _.nj(function(d,e){a=d;b=e});return new Rca(c,a,b)};Sca=function(a,b){b=oj(b,b);b.A=!0;tj(a,b);return a};
Tca=function(a,b){if(a.j==0)if(a.A){var c=a.A;if(c.o){for(var d=0,e=null,f=null,h=c.o;h&&(h.A||(d++,h.vf==a&&(e=h),!(e&&d>1)));h=h.next)e||(f=h);e&&(c.j==0&&d==1?Tca(c,b):(f?(d=f,d.next==c.B&&(c.B=d),d.next=d.next.next):Uca(c),Vca(c,e,3,b)))}a.A=null}else mj(a,3,b)};tj=function(a,b){a.o||a.j!=2&&a.j!=3||Wca(a);a.B?a.B.next=b:a.o=b;a.B=b};
Xca=function(a,b,c,d){var e=oj(null,null,null);e.vf=new _.nj(function(f,h){e.o=b?function(k){try{var l=b.call(d,k);f(l)}catch(m){h(m)}}:f;e.j=c?function(k){try{var l=c.call(d,k);l===void 0&&k instanceof _.uj?h(k):f(l)}catch(m){h(m)}}:h});e.vf.A=a;tj(a,e);return e.vf};mj=function(a,b,c){a.j==0&&(a===c&&(b=3,c=new TypeError("fa")),a.j=1,Pca(c,a.YJ,a.ZJ,a)||(a.H=c,a.j=b,a.A=null,Wca(a),b!=3||c instanceof _.uj||Yca(a,c)))};
Pca=function(a,b,c,d){if(a instanceof _.nj)return tj(a,oj(b||_.Ji,c||null,d)),!0;if(Mca(a))return a.then(b,c,d),!0;if(cb(a))try{var e=a.then;if(typeof e==="function")return Zca(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};Zca=function(a,b,c,d,e){function f(l){k||(k=!0,d.call(e,l))}function h(l){k||(k=!0,c.call(e,l))}var k=!1;try{b.call(a,h,f)}catch(l){f(l)}};Wca=function(a){a.J||(a.J=!0,kj(a.GB,a))};Uca=function(a){var b=null;a.o&&(b=a.o,a.o=b.next,b.next=null);a.o||(a.B=null);return b};
Vca=function(a,b,c,d){if(c==3&&b.j&&!b.A)for(;a&&a.G;a=a.A)a.G=!1;if(b.vf)b.vf.A=null,$ca(b,c,d);else try{b.A?b.o.call(b.context):$ca(b,c,d)}catch(e){vj.call(null,e)}Oca.put(b)};$ca=function(a,b,c){b==2?a.o.call(a.context,c):a.j&&a.j.call(a.context,c)};Yca=function(a,b){a.G=!0;kj(function(){a.G&&vj.call(null,b)})};_.uj=function(a){_.nb.call(this,a)};Rca=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};_.wj=function(a){a&&typeof a.dispose=="function"&&a.dispose()};
ada=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];bb(d)?ada.apply(null,d):_.wj(d)}};_.xj=function(){this.J=this.J;this.G=this.G};_.yj=function(a,b){a.addOnDisposeCallback(_.gb(_.wj,b))};zj=function(a,b){this.type=a;this.j=this.target=b;this.defaultPrevented=this.A=!1};bda=function(a){a.preventDefault()};
Aj=function(a,b){zj.call(this,a?a.type:"");this.relatedTarget=this.j=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.o=null;a&&this.init(a,b)};Bj=function(a){return!(!a||!a[cda])};
eda=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=++dda;this.removed=this.Am=!1};Cj=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};Dj=function(a){this.src=a;this.listeners={};this.j=0};Ej=function(a,b){var c=b.type;c in a.listeners&&_.Sb(a.listeners[c],b)&&(Cj(b),a.listeners[c].length==0&&(delete a.listeners[c],a.j--))};
Fj=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.handler==d)return e}return-1};_.Hj=function(a,b,c,d,e){if(d&&d.once)return _.Gj(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Hj(a,b[f],c,d,e);return null}c=Ij(c);return Bj(a)?a.listen(b,c,cb(d)?!!d.capture:!!d,e):fda(a,b,c,!1,d,e)};
fda=function(a,b,c,d,e,f){if(!b)throw Error("ga");var h=cb(e)?!!e.capture:!!e,k=Jj(a);k||(a[Mj]=k=new Dj(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=gda();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)hda||(e=h),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(ida(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("ha");jda++;return c};
gda=function(){function a(c){return b.call(a.src,a.listener,c)}var b=kda;return a};_.Gj=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Gj(a,b[f],c,d,e);return null}c=Ij(c);return Bj(a)?a.bl(b,c,cb(d)?!!d.capture:!!d,e):fda(a,b,c,!0,d,e)};lda=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)lda(a,b[f],c,d,e);else d=cb(d)?!!d.capture:!!d,c=Ij(c),Bj(a)?a.jp(b,c,d,e):a&&(a=Jj(a))&&(b=a.Mk(b,c,d,e))&&_.Nj(b)};
_.Nj=function(a){if(typeof a!=="number"&&a&&!a.removed){var b=a.src;if(Bj(b))Ej(b.Ve,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ida(c),d):b.addListener&&b.removeListener&&b.removeListener(d);jda--;(c=Jj(b))?(Ej(c,a),c.j==0&&(c.src=null,b[Mj]=null)):Cj(a)}}};ida=function(a){return a in Oj?Oj[a]:Oj[a]="on"+a};
kda=function(a,b){if(a.removed)a=!0;else{b=new Aj(b,this);var c=a.listener,d=a.handler||a.src;a.Am&&_.Nj(a);a=c.call(d,b)}return a};Jj=function(a){a=a[Mj];return a instanceof Dj?a:null};Ij=function(a){if(typeof a==="function")return a;a[Pj]||(a[Pj]=function(b){return a.handleEvent(b)});return a[Pj]};_.Qj=function(){_.xj.call(this);this.Ve=new Dj(this);this.TC=this;this.Ys=null};
Rj=function(a,b,c,d){b=a.Ve.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.removed&&h.capture==c){var k=h.listener,l=h.handler||h.src;h.Am&&Ej(a.Ve,h);e=k.call(l,d)!==!1&&e}}return e&&!d.defaultPrevented};Sj=function(a,b){_.Qj.call(this);this.o=a||1;this.j=b||_.Sa;this.A=(0,_.fb)(this.zJ,this);this.B=_.hb()};
Tj=function(a,b,c){if(typeof a==="function")c&&(a=(0,_.fb)(a,c));else if(a&&typeof a.handleEvent=="function")a=(0,_.fb)(a.handleEvent,a);else throw Error("ia");return Number(b)>2147483647?-1:_.Sa.setTimeout(a,b||0)};_.Uj=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};_.Vj=function(a,b,c){_.xj.call(this);this.O=c!=null?a.bind(c):a;this.H=b;this.B=null;this.o=!1;this.A=0;this.j=null};
Wj=function(a){a.j=Tj(function(){a.j=null;a.o&&!a.A&&(a.o=!1,Wj(a))},a.H);var b=a.B;a.B=null;a.O.apply(null,b)};Xj=function(a){_.xj.call(this);this.o=a;this.j={}};mda=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)mda(a,b,c[h],d,e,f);else{b=_.Gj(b,c,d||a.handleEvent,e,f||a.o||a);if(!b)return a;a.j[b.key]=b}return a};ak=function(){return Ui?"Webkit":Yj?"Moz":_.Zj?"ms":null};
nda=function(a,b){if(b&&a in b)return a;var c=ak();return c?(c=c.toLowerCase(),a=c+hca(a),b===void 0||a in b?a:null):null};
oda=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("ka`"+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("la`"+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};
pda=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 q=h,r=0;r<64;r+=4)q[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;r<80;r++)p=q[r-3]^q[r-8]^q[r-14]^q[r-16],q[r]=(p<<1|p>>>31)&4294967295;p=e[0];var t=e[1],w=e[2],y=e[3],B=e[4];for(r=0;r<80;r++){if(r<40)if(r<20){var A=y^t&(w^y);var E=1518500249}else A=t^w^y,E=1859775393;else r<60?(A=t&w|y&(t|w),E=2400959708):(A=t^w^y,E=3395469782);A=((p<<5|p>>>27)&4294967295)+
A+B+E+q[r]&4294967295;B=y;y=w;w=(t<<30|t>>>2)&4294967295;t=p;p=A}e[0]=e[0]+p&4294967295;e[1]=e[1]+t&4294967295;e[2]=e[2]+w&4294967295;e[3]=e[3]+y&4294967295;e[4]=e[4]+B&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var r=[],t=0,w=p.length;t<w;++t)r.push(p.charCodeAt(t));p=r}q||(q=p.length);r=0;if(m==0)for(;r+64<q;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<q;)if(f[m++]=p[r++],n++,m==64)for(m=0,b(f);r+64<q;)b(p.slice(r,r+64)),r+=64,n+=64}function d(){var p=[],
q=n*8;m<56?c(k,56-m):c(k,64-(m-56));for(var r=63;r>=56;r--)f[r]=q&255,q>>>=8;b(f);for(r=q=0;r<5;r++)for(var t=24;t>=0;t-=8)p[q++]=e[r]>>t&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,digestString:function(){for(var p=d(),q="",r=0;r<p.length;r++)q+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return q}}};
rda=function(a,b,c){var d=String(_.Sa.location.href);return d&&a&&b?[b,qda(oda(d),a,c||null)].join(" "):null};qda=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],_.Xi(d,function(k){e.push(k)}),sda(e.join(" "));var f=[],h=[];_.Xi(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];_.Xi(d,function(k){e.push(k)});a=sda(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")};
sda=function(a){var b=pda();b.update(a);return b.digestString().toLowerCase()};bk=function(a){this.j=a||{cookie:""}};ck=function(a){a=(a.j.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=tda(a[f]),d=e.indexOf("="),d==-1?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};dk=function(a){return!!uda.FPA_SAMESITE_PHASE2_MOD||!(a===void 0||!a)};
vda=function(a){a=a===void 0?!1:a;var b=_.Sa.__SAPISID||_.Sa.__APISID||_.Sa.__3PSAPISID||_.Sa.__OVERRIDE_SID;dk(a)&&(b=b||_.Sa.__1PSAPISID);if(b)return!0;if(typeof document!=="undefined"){var c=new bk(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID");dk(a)&&(b=b||c.get("__Secure-1PAPISID"))}return!!b};wda=function(a,b,c,d){(a=_.Sa[a])||typeof document==="undefined"||(a=(new bk(document)).get(b));return a?rda(a,c,d):null};
xda=function(a,b){b=b===void 0?!1:b;var c=oda(String(_.Sa.location.href)),d=[];if(vda(b)){c=c.indexOf("https:")==0||c.indexOf("chrome-extension:")==0||c.indexOf("chrome-untrusted://new-tab-page")==0||c.indexOf("moz-extension:")==0;var e=c?_.Sa.__SAPISID:_.Sa.__APISID;e||typeof document==="undefined"||(e=new bk(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?rda(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&dk(b)&&((b=wda("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",
a))&&d.push(b),(a=wda("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&d.push(a))}return d.length==0?null:d.join(" ")};ek=function(a,b){this.intervalMs=a;this.callback=b;this.enabled=!1;this.j=function(){return _.hb()};this.o=this.j()};fk=function(a){this.j=this.o=this.A=a};gk=function(a){this.T=_.Nd(a)};yda=function(a){this.T=_.Nd(a)};hk=function(a){this.T=_.Nd(a)};zda=function(a,b){_.$e(a,1,b)};ik=function(a){this.T=_.Nd(a)};
Bda=function(a,b){b=b===void 0?Ada:b;if(!jk){var c;a=(c=a.navigator)==null?void 0:c.userAgentData;if(!a||typeof a.getHighEntropyValues!=="function"||a.brands&&typeof a.brands.map!=="function")return Promise.reject(Error("oa"));c=(a.brands||[]).map(function(e){var f=new yda;f=_.rf(f,1,e.brand);return _.rf(f,2,e.version)});zda(_.pe(kk,2,_.dd(a.mobile)),c);jk=a.getHighEntropyValues(b)}var d=new Set(b);return jk.then(function(e){var f=kk.clone();d.has("platform")&&_.rf(f,3,e.platform);d.has("platformVersion")&&
_.rf(f,4,e.platformVersion);d.has("architecture")&&_.rf(f,5,e.architecture);d.has("model")&&_.rf(f,6,e.model);d.has("uaFullVersion")&&_.rf(f,7,e.uaFullVersion);return f}).catch(function(){return kk.clone()})};lk=function(a){this.T=_.Nd(a)};mk=function(a){this.T=_.Nd(a,19)};nk=function(a){this.T=_.Nd(a,8)};Cda=function(a){this.T=_.Nd(a)};
qk=function(a){_.xj.call(this);var b=this;this.componentId="";this.A=[];this.pa="";this.pageId=null;this.ta=this.ba=-1;this.experimentIds=null;this.Z=this.H=0;this.xa=1;this.timeoutMillis=0;this.logSource=a.logSource;this.Kk=a.Kk||function(){};this.o=new ok(a.logSource,a.Mh);this.network=a.network;this.Ej=a.Ej||null;this.O=a.fK||null;this.sessionIndex=a.sessionIndex||null;this.Ak=a.Ak||!1;this.withCredentials=!a.vw;this.Mh=a.Mh||!1;this.W=typeof URLSearchParams!=="undefined"&&!!(new URL(pk())).searchParams&&
!!(new URL(pk())).searchParams.set;var c=_.sf(new lk,1,1);Dda(this.o,c);this.B=new fk(1E4);a=Eda(this,a.Fv);this.j=new ek(this.B.getValue(),a);this.ha=new ek(6E5,a);this.Ak||this.ha.start();this.Mh||(document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&b.Xq()}),document.addEventListener("pagehide",this.Xq.bind(this)))};Eda=function(a,b){return a.W?b?function(){b().then(function(){a.flush()})}:function(){a.flush()}:function(){}};pk=function(){return"https://play.google.com/log?format=json&hasfast=true"};
ok=function(a,b){this.Mh=b=b===void 0?!1:b;this.uach=this.locale=null;this.logRequest=new mk;Number.isInteger(a)&&this.logRequest.Jl(a);b||(this.locale=document.documentElement.getAttribute("lang"));Dda(this,new lk)};Dda=function(a,b){_.Ye(a.logRequest,1,b);_.lf(b,1)||_.sf(b,1,1);a.Mh||(b=rk(a),_.kf(b,5)||_.rf(b,5,a.locale));a.uach&&(b=rk(a),_.Te(b,hk,9)||_.Ye(b,9,a.uach))};Fda=function(a,b){_.re(sk(a),ik,11)&&(a=tk(a),_.sf(a,1,b))};Gda=function(a,b){_.re(sk(a),ik,11)&&(a=tk(a),_.pe(a,2,_.dd(b)))};
sk=function(a){return _.Te(a.logRequest,lk,1)};Hda=function(a){var b=b===void 0?Ada:b;var c=a.Mh?void 0:_.Vi();c?Bda(c,b).then(function(d){a.uach=d;d=rk(a);_.Ye(d,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)};rk=function(a){a=sk(a);var b=_.Te(a,ik,11);b||(b=new ik,_.Ye(a,11,b));return b};tk=function(a){a=rk(a);var b=_.Te(a,gk,10);b||(b=new gk,_.pe(b,2,_.dd(!1)),_.Ye(a,10,b));return b};uk=function(){this.PC=typeof AbortController!=="undefined"};
vk=function(a,b){_.xj.call(this);this.logSource=a;this.sessionIndex=b;this.A="https://play.google.com/log?format=json&hasfast=true";this.j=null;this.B=!1;this.network=null;this.componentId="";this.pageId=this.o=this.Ej=null};wk=function(a){this.T=_.Nd(a)};Ida=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};xk=function(){};yk=function(){};
_.zk=function(a){_.Qj.call(this);this.headers=new Map;this.W=a||null;this.o=!1;this.ta=this.j=null;this.ba="";this.H=0;this.A="";this.B=this.Ba=this.Z=this.xa=!1;this.O=0;this.ha=null;this.Na="";this.pa=!1};Kda=function(a,b,c,d,e,f,h){var k=new _.zk;Jda.push(k);b&&k.listen("complete",b);k.bl("ready",k.tD);f&&(k.O=Math.max(0,f));h&&(k.pa=h);k.send(a,c,d,e)};Mda=function(a,b){a.o=!1;a.j&&(a.B=!0,a.j.abort(),a.B=!1);a.A=b;a.H=5;Lda(a);Ak(a)};
Lda=function(a){a.xa||(a.xa=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Oda=function(a){if(a.o&&typeof Bk!="undefined")if(a.ta[1]&&Ck(a)==4&&a.zc()==2)a.zc();else if(a.Z&&Ck(a)==4)Tj(a.Ly,0,a);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.zc();a.o=!1;try{if(Nda(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.H=6;try{var b=Ck(a)>2?a.j.statusText:""}catch(c){b=""}a.A=b+" ["+a.zc()+"]";Lda(a)}}finally{Ak(a)}}};
Ak=function(a,b){if(a.j){Pda(a);var c=a.j,d=a.ta[0]?function(){}:null;a.j=null;a.ta=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};Pda=function(a){a.ha&&(_.Sa.clearTimeout(a.ha),a.ha=null)};Nda=function(a){var b=a.zc(),c;if(!(c=Ida(b))){if(b=b===0)a=jca(String(a.ba)),b=!Qda.test(a);c=b}return c};Ck=function(a){return a.j?a.j.readyState:0};_.Dk=function(a){try{return a.j?a.j.responseText:""}catch(b){return""}};
Rda=function(a){try{if(!a.j)return null;if("response"in a.j)return a.j.response;switch(a.Na){case "":case "text":return a.j.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.j)return a.j.mozResponseArrayBuffer}return null}catch(b){return null}};Sda=function(a){var b={};a=(a.j&&Ck(a)>=2?a.j.getAllResponseHeaders()||"":"").split("\r\n");for(var c=0;c<a.length;c++)if(!_.xb(a[c])){var d=ica(a[c]),e=d[0];d=d[1];if(typeof d==="string"){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}Lba(b,function(h){return h.join(", ")})};
Ek=function(){};Fk=function(a){this.j=a};Gk=function(a){this.j=a};Tda=function(a){this.data=a};Uda=function(a){return a===void 0||a instanceof Tda?a:new Tda(a)};Hk=function(a){this.j=a};Ik=function(a){this.j=a};
Vda=function(a){if(a instanceof Jk||a instanceof Kk||a instanceof Lk)return a;if(typeof a.next=="function")return new Jk(function(){return a});if(typeof a[Symbol.iterator]=="function")return new Jk(function(){return a[Symbol.iterator]()});if(typeof a.ui=="function")return new Jk(function(){return a.ui()});throw Error("ra");};Jk=function(a){this.j=a};Kk=function(a){this.j=a};Lk=function(a){Jk.call(this,function(){return a});this.A=a};Wda=function(){};Mk=function(){};
Nk=function(a){this.j=a;this.o=null};Ok=function(a){if(a.j==null)throw Error("sa");var b;((b=a.o)!=null?b:a.isAvailable())||tb(Error("sa"))};Pk=function(){var a=null;try{a=_.Sa.localStorage||null}catch(b){}Nk.call(this,a)};Xda=function(){var a=null;try{a=_.Sa.sessionStorage||null}catch(b){}Nk.call(this,a)};Qk=function(a,b){this.o=a;this.j=b+"::"};Yda=function(a){var b=new Pk;return b.isAvailable()?a?new Qk(b,a):b:null};Rk=function(a){this.T=_.Nd(a)};$da=function(a){return Zda(a).then(function(b){return JSON.parse(b.responseText)})};
Zda=function(a){var b={},c=b.aB?b.aB.j():Sk.j();return(new _.nj(function(d,e){var f;try{c.open("GET",a,!0)}catch(l){e(new Tk("Error opening XHR: "+l.message,a,c))}c.onreadystatechange=function(){if(c.readyState==4){_.Sa.clearTimeout(f);var l;!(l=Ida(c.status))&&(l=c.status===0)&&(l=jca(a),l=!(l=="http"||l=="https"||l==""));l?d(c):e(new Uk(c.status,a,c))}};c.onerror=function(){e(new Tk("Network error",a,c))};if(b.headers)for(var h in b.headers){var k=b.headers[h];k!=null&&c.setRequestHeader(h,k)}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 Vk(a,c))},b.timeoutMs));try{c.send(null)}catch(l){c.onreadystatechange=function(){},_.Sa.clearTimeout(f),e(new Tk("Error sending XHR: "+l.message,a,c))}})).ii(function(d){d instanceof _.uj&&c.abort();throw d;})};
Tk=function(a,b,c){_.nb.call(this,a+", url="+b);this.url=b;this.am=c};Uk=function(a,b,c){Tk.call(this,"Request Failed, status="+a,b,c);this.status=a};Vk=function(a,b){Tk.call(this,"Request timed out",a,b)};Wk=function(){zj.call(this,"oa")};Xk=function(){zj.call(this,"na")};Yk=function(){return aea=aea||new _.Qj};bea=function(a){zj.call(this,"serverreachability",a)};Zk=function(a){var b=Yk();b.dispatchEvent(new bea(b,a))};cea=function(a){zj.call(this,"statevent",a)};
$k=function(a){var b=Yk();b.dispatchEvent(new cea(b,a))};dea=function(a,b,c,d){zj.call(this,"timingevent",a);this.size=b;this.rtt=c;this.retries=d};al=function(a,b){if(typeof a!=="function")throw Error("ta");return _.Sa.setTimeout(function(){a()},b)};bl=function(){};
cl=function(a,b,c){this.A=a;this.Qi=b;this.vh=c||1;this.ie=new Xj(this);this.bh=45E3;this.pa=null;this.G=!1;this.O=this.sb=this.H=this.Ba=this.ba=this.Ic=this.W=null;this.Z=[];this.j=null;this.J=0;this.B=this.ha=null;this.Af=-1;this.ta=!1;this.Gb=0;this.Na=null;this.qf=this.xa=this.mf=this.wc=!1;this.o=new eea};eea=function(){this.A=null;this.j="";this.o=!1};el=function(a,b,c){a.Ba=1;a.H=dl(b.clone());a.O=c;a.wc=!0;fea(a,null)};
fea=function(a,b){a.ba=Date.now();ll(a);a.sb=a.H.clone();var c=a.sb,d=a.vh;Array.isArray(d)||(d=[String(d)]);gea(c.A,"t",d);a.J=0;c=a.A.Na;a.o=new eea;a.j=hea(a.A,c?b:null,!a.O);a.Gb>0&&(a.Na=new _.Vj((0,_.fb)(a.bB,a,a.j),a.Gb));a.ie.listen(a.j,"readystatechange",a.kI);b=a.pa?_.Rh(a.pa):{};a.O?(a.ha||(a.ha="POST"),b["Content-Type"]="application/x-www-form-urlencoded",a.j.send(a.sb,a.ha,a.O,b)):(a.ha="GET",a.j.send(a.sb,a.ha,null,b));Zk(1)};
jea=function(a){if(!iea(a))return _.Dk(a.j);var b=Rda(a.j);if(b==="")return"";var c="",d=b.length,e=Ck(a.j)==4;if(!a.o.A){if(typeof TextDecoder==="undefined")return ml(a),nl(a),"";a.o.A=new _.Sa.TextDecoder}for(var f=0;f<d;f++)a.o.o=!0,c+=a.o.A.decode(b[f],{stream:!(e&&f==d-1)});b.length=0;a.o.j+=c;a.J=0;return a.o.j};iea=function(a){return a.j?a.ha=="GET"&&a.Ba!=2&&a.A.QA:!1};
lea=function(a,b){var c=a.J,d=b.indexOf("\n",c);if(d==-1)return ol;c=Number(b.substring(c,d));if(isNaN(c))return kea;d+=1;if(d+c>b.length)return ol;b=b.slice(d,d+c);a.J=d+c;return b};ll=function(a){a.Ic=Date.now()+a.bh;mea(a,a.bh)};mea=function(a,b){if(a.W!=null)throw Error("ua");a.W=al((0,_.fb)(a.NH,a),b)};pl=function(a){a.W&&(_.Sa.clearTimeout(a.W),a.W=null)};nl=function(a){a.A.cc==0||a.ta||nea(a.A,a)};ml=function(a){pl(a);_.wj(a.Na);a.Na=null;a.ie.Bl();if(a.j){var b=a.j;a.j=null;b.abort();b.dispose()}};
yl=function(a,b){try{var c=a.A;if(c.cc!=0&&(c.j==a||ql(c.o,a)))if(!a.xa&&ql(c.o,a)&&c.cc==3){try{var d=c.WA.j.parse(b)}catch(w){d=null}if(Array.isArray(d)&&d.length==3){var e=d;if(e[0]==0)a:{if(!c.O){if(c.j)if(c.j.ba+3E3<a.ba)rl(c),sl(c);else break a;tl(c);$k(18)}}else c.AA=e[1],0<c.AA-c.qf&&e[2]<37500&&c.ta&&c.Z==0&&!c.W&&(c.W=al((0,_.fb)(c.nH,c),6E3));if(oea(c.o)<=1&&c.zr){try{c.zr()}catch(w){}c.zr=void 0}}else ul(c,11)}else if((a.xa||c.j==a)&&rl(c),!_.xb(b))for(e=c.WA.j.parse(b),b=0;b<e.length;b++){var f=
e[b];c.qf=f[0];f=f[1];if(c.cc==2)if(f[0]=="c"){c.sb=f[1];c.cs=f[2];var h=f[3];h!=null&&(c.Wv=h);var k=f[5];k!=null&&typeof k==="number"&&k>0&&(c.Gb=1.5*k);d=c;var l=a.j;if(l){var m=l.j?l.j.getResponseHeader("X-Client-Wire-Protocol"):null;if(m){var n=d.o,p=m;!n.j&&(_.zb(p,"spdy")||_.zb(p,"quic")||_.zb(p,"h2"))&&(n.B=n.G,n.j=new Set,n.o&&(vl(n,n.o),n.o=null))}if(d.pa){var q=l.j?l.j.getResponseHeader("X-HTTP-Session-Id"):null;q&&(d.Oz=q,wl(d.Ba,d.pa,q))}}c.cc=3;c.B&&c.B.Vv();c.sr&&(c.Yr=Date.now()-a.ba);
d=c;p=a;d.yz=pea(d,d.Na?d.cs:null,d.vh);if(p.xa){qea(d.o,p);var r=p,t=d.Gb;t&&r.setTimeout(t);r.W&&(pl(r),ll(r));d.j=p}else rea(d);c.A.length>0&&xl(c)}else f[0]!="stop"&&f[0]!="close"||ul(c,7);else c.cc==3&&(f[0]=="stop"||f[0]=="close"?f[0]=="stop"?ul(c,7):c.disconnect():f[0]!="noop"&&c.B&&c.B.Uv(f),c.Z=0)}Zk(4)}catch(w){}};sea=function(a,b){this.j=a;this.map=b;this.context=null};
tea=function(a){this.G=a||10;_.Sa.PerformanceNavigationTiming?(a=_.Sa.performance.getEntriesByType("navigation"),a=a.length>0&&(a[0].nextHopProtocol=="hq"||a[0].nextHopProtocol=="h2")):a=!!(_.Sa.chrome&&_.Sa.chrome.loadTimes&&_.Sa.chrome.loadTimes()&&_.Sa.chrome.loadTimes().wasFetchedViaSpdy);this.B=a?this.G:1;this.j=null;this.B>1&&(this.j=new Set);this.o=null;this.A=[]};uea=function(a){return a.o?!0:a.j?a.j.size>=a.B:!1};oea=function(a){return a.o?1:a.j?a.j.size:0};
ql=function(a,b){return a.o?a.o==b:a.j?a.j.has(b):!1};vl=function(a,b){a.j?a.j.add(b):a.o=b};qea=function(a,b){a.o&&a.o==b?a.o=null:a.j&&a.j.has(b)&&a.j.delete(b)};vea=function(a){if(a.o!=null)return a.A.concat(a.o.Z);if(a.j!=null&&a.j.size!==0){var b=a.A;a=_.u(a.j.values());for(var c=a.next();!c.done;c=a.next())b=b.concat(c.value.Z);return b}return _.Tb(a.A)};
wea=function(a){if(a.ug&&typeof a.ug=="function")return a.ug();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(bb(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Mh(a)};
xea=function(a){if(a.zh&&typeof a.zh=="function")return a.zh();if(!a.ug||typeof a.ug!="function"){if(typeof Map!=="undefined"&&a instanceof Map)return Array.from(a.keys());if(!(typeof Set!=="undefined"&&a instanceof Set)){if(bb(a)||typeof a==="string"){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Nh(a)}}};
zl=function(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(bb(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else for(var d=xea(a),e=wea(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)};
_.Al=function(a){this.j=this.O=this.G="";this.H=null;this.B=this.o="";this.J=!1;var b;a instanceof _.Al?(this.J=a.J,Bl(this,a.G),this.O=a.O,this.j=a.j,Cl(this,a.H),this.o=a.o,Dl(this,a.A.clone()),this.B=a.B):a&&(b=String(a).match(pi))?(this.J=!1,Bl(this,b[1]||"",!0),this.O=El(b[2]||""),this.j=El(b[3]||"",!0),Cl(this,b[4]),this.o=El(b[5]||"",!0),Dl(this,b[6]||"",!0),this.B=El(b[7]||"")):(this.J=!1,this.A=new Fl(null,this.J))};Bl=function(a,b,c){a.G=c?El(b,!0):b;a.G&&(a.G=a.G.replace(/:$/,""))};
Cl=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("va`"+b);a.H=b}else a.H=null};Dl=function(a,b,c){b instanceof Fl?(a.A=b,yea(a.A,a.J)):(c||(b=Gl(b,zea)),a.A=new Fl(b,a.J))};wl=function(a,b,c){a.A.set(b,c)};dl=function(a){wl(a,"zx",_.fca());return a};_.Hl=function(a){return a instanceof _.Al?a.clone():new _.Al(a)};_.Aea=function(a,b){a instanceof _.Al||(a=_.Hl(a));b instanceof _.Al||(b=_.Hl(b));return a.resolve(b)};
El=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};Gl=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Bea),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};Bea=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Fl=function(a,b){this.o=this.j=null;this.A=a||null;this.B=!!b};Il=function(a){a.j||(a.j=new Map,a.o=0,a.A&&kca(a.A,function(b,c){a.add(li(b),c)}))};Cea=function(a,b){Il(a);b=Jl(a,b);return a.j.has(b)};
gea=function(a,b,c){a.remove(b);c.length>0&&(a.A=null,a.j.set(Jl(a,b),_.Tb(c)),a.o+=c.length)};Jl=function(a,b){b=String(b);a.B&&(b=b.toLowerCase());return b};yea=function(a,b){b&&!a.B&&(Il(a),a.A=null,a.j.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),gea(this,e,c))},a));a.B=b};
Dea=function(a,b){var c=new bl;if(_.Sa.Image){var d=new Image;d.onload=_.gb(Kl,c,"TestLoadImage: loaded",!0,b,d);d.onerror=_.gb(Kl,c,"TestLoadImage: error",!1,b,d);d.onabort=_.gb(Kl,c,"TestLoadImage: abort",!1,b,d);d.ontimeout=_.gb(Kl,c,"TestLoadImage: timeout",!1,b,d);_.Sa.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)};
Eea=function(a,b){var c=new bl,d=new AbortController,e=setTimeout(function(){d.abort();Kl(c,"TestPingServer: timeout",!1,b)},1E4);fetch(a,{signal:d.signal}).then(function(f){clearTimeout(e);f.ok?Kl(c,"TestPingServer: ok",!0,b):Kl(c,"TestPingServer: server error",!1,b)}).catch(function(){clearTimeout(e);Kl(c,"TestPingServer: error",!1,b)})};Kl=function(a,b,c,d,e){try{e&&(e.onload=null,e.onerror=null,e.onabort=null,e.ontimeout=null),d(c)}catch(f){}};Ll=function(){};Fea=function(){this.j=new Ll};
Gea=function(a,b,c){var d=c||"";try{zl(a,function(e,f){var h=e;cb(e)&&(h=Ml(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};Nl=function(a){this.J=a.CS||null;this.G=a.pJ||!1;this.o=void 0};
Ol=function(a,b){_.Qj.call(this);this.pa=a;this.O=b;this.H=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=null;this.W=new Headers;this.o=null;this.ha="GET";this.ba="";this.j=!1;this.Z=this.A=this.B=null};Hea=function(a){a.A.read().then(a.SE.bind(a)).catch(a.sn.bind(a))};Ql=function(a){a.readyState=4;a.B=null;a.A=null;a.Z=null;Pl(a)};Pl=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Iea=function(a){var b="";Kh(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b};Rl=function(a,b,c){_.Ph(c)||(c=Iea(c),typeof a==="string"?_.xi(a,ki(b),c):wl(a,b,c))};Sl=function(a,b,c){return c&&c.EF?c.EF[a]||b:b};
Jea=function(a){this.A=[];this.cs=this.yz=this.Ba=this.vh=this.j=this.Oz=this.pa=this.xa=this.J=this.mf=this.H=null;this.AB=this.Af=0;this.BK=Sl("failFast",!1,a);this.ta=this.W=this.O=this.G=this.B=null;this.Qi=!0;this.AA=this.qf=-1;this.hn=this.Z=this.ha=0;this.yK=Sl("baseRetryDelayMs",5E3,a);this.CB=Sl("retryDelaySeedMs",1E4,a);this.lB=Sl("forwardChannelMaxRetries",2,a);this.Az=Sl("forwardChannelRequestTimeoutMs",2E4,a);this.Yy=a&&a.aB||void 0;this.mB=a&&a.nR||void 0;this.QA=a&&a.wS||!1;this.Gb=
void 0;this.Na=a&&a.supportsCrossDomainXhr||!1;this.sb="";this.o=new tea(a&&a.xP);this.WA=new Fea;this.ie=a&&a.QP||!1;this.Ic=a&&a.LP||!1;this.ie&&this.Ic&&(this.Ic=!1);this.zK=a&&a.iP||!1;a&&a.TP&&(this.Qi=!1);this.sr=!this.ie&&this.Qi&&a&&a.HP||!1;this.Bs=void 0;a&&a.iy&&a.iy>0&&(this.Bs=a.iy);this.zr=void 0;this.Yr=0;this.wc=!1;this.Gs=this.ba=null};sl=function(a){a.j&&(Tl(a),a.j.cancel(),a.j=null)};
Kea=function(a){sl(a);a.O&&(_.Sa.clearTimeout(a.O),a.O=null);rl(a);a.o.cancel();a.G&&(typeof a.G==="number"&&_.Sa.clearTimeout(a.G),a.G=null)};xl=function(a){uea(a.o)||a.G||(a.G=!0,kj(a.Ny,a),a.ha=0)};Mea=function(a,b){if(oea(a.o)>=a.o.B-(a.G?1:0))return!1;if(a.G)return a.A=b.Z.concat(a.A),!0;if(a.cc==1||a.cc==2||a.ha>=(a.BK?0:a.lB))return!1;a.G=al((0,_.fb)(a.Ny,a,b),Lea(a,a.ha));a.ha++;return!0};
Oea=function(a,b){var c;b?c=b.Qi:c=a.Af++;var d=a.Ba.clone();wl(d,"SID",a.sb);wl(d,"RID",c);wl(d,"AID",a.qf);Ul(a,d);a.J&&a.H&&Rl(d,a.J,a.H);c=new cl(a,c,a.ha+1);a.J===null&&(c.pa=a.H);b&&(a.A=b.Z.concat(a.A));b=Nea(a,c,1E3);c.setTimeout(Math.round(a.Az*.5)+Math.round(a.Az*.5*Math.random()));vl(a.o,c);el(c,d,b)};Ul=function(a,b){a.xa&&Kh(a.xa,function(c,d){wl(b,d,c)});a.B&&zl({},function(c,d){wl(b,d,c)})};
Nea=function(a,b,c){c=Math.min(a.A.length,c);var d=a.B?(0,_.fb)(a.B.fD,a.B,a):null;a:{for(var e=a.A,f=-1;;){var h=["count="+c];f==-1?c>0?(f=e[0].j,h.push("ofs="+f)):f=0:h.push("ofs="+f);for(var k=!0,l=0;l<c;l++){var m=e[l].j,n=e[l].map;m-=f;if(m<0)f=Math.max(0,e[l].j-100),k=!1;else try{Gea(n,h,"req"+m+"_")}catch(p){d&&d(n)}}if(k){d=h.join("&");break a}}d=void 0}a=a.A.splice(0,c);b.Z=a;return d};rea=function(a){a.j||a.O||(a.hn=1,kj(a.My,a),a.Z=0)};
tl=function(a){if(a.j||a.O||a.Z>=3)return!1;a.hn++;a.O=al((0,_.fb)(a.My,a),Lea(a,a.Z));a.Z++;return!0};Tl=function(a){a.ba!=null&&(_.Sa.clearTimeout(a.ba),a.ba=null)};
Pea=function(a){a.j=new cl(a,"rpc",a.hn);a.J===null&&(a.j.pa=a.H);a.j.Gb=0;var b=a.yz.clone();wl(b,"RID","rpc");wl(b,"SID",a.sb);wl(b,"AID",a.qf);wl(b,"CI",a.ta?"0":"1");!a.ta&&a.Bs&&wl(b,"TO",a.Bs);wl(b,"TYPE","xmlhttp");Ul(a,b);a.J&&a.H&&Rl(b,a.J,a.H);a.Gb&&a.j.setTimeout(a.Gb);var c=a.j;a=a.cs;c.Ba=1;c.H=dl(b.clone());c.O=null;c.wc=!0;fea(c,a)};rl=function(a){a.W!=null&&(_.Sa.clearTimeout(a.W),a.W=null)};
nea=function(a,b){var c=null;if(a.j==b){rl(a);Tl(a);a.j=null;var d=2}else if(ql(a.o,b))c=b.Z,qea(a.o,b),d=1;else return;if(a.cc!=0)if(b.G)if(d==1){c=b.O?b.O.length:0;b=Date.now()-b.ba;var e=a.ha;d=Yk();d.dispatchEvent(new dea(d,c,b,e));xl(a)}else rea(a);else{var f=b.Af;e=b.getLastError();if(e==3||e==0&&f>0||!(d==1&&Mea(a,b)||d==2&&tl(a)))switch(c&&c.length>0&&(b=a.o,b.A=b.A.concat(c)),e){case 1:ul(a,5);break;case 4:ul(a,10);break;case 3:ul(a,6);break;default:ul(a,2)}}};
Lea=function(a,b){var c=a.yK+Math.floor(Math.random()*a.CB);a.isActive()||(c*=2);return c*b};ul=function(a,b){if(b==2){var c=(0,_.fb)(a.wJ,a),d=a.mB,e=!d;d=new _.Al(d||"//www.google.com/images/cleardot.gif");_.Sa.location&&_.Sa.location.protocol=="http"||Bl(d,"https");dl(d);e?Dea(d.toString(),c):Eea(d.toString(),c)}else $k(2);a.cc=0;a.B&&a.B.Tv(b);Qea(a);Kea(a)};
Qea=function(a){a.cc=0;a.Gs=[];if(a.B){var b=vea(a.o);if(b.length!=0||a.A.length!=0)Ub(a.Gs,b),Ub(a.Gs,a.A),a.o.A.length=0,_.Tb(a.A),a.A.length=0;a.B.Sv()}};pea=function(a,b,c){var d=_.Hl(c);if(d.j!="")b&&(d.j=b+"."+d.j),Cl(d,d.H);else{var e=_.Sa.location;d=e.protocol;b=b?b+"."+e.hostname:e.hostname;e=+e.port;var f=new _.Al(null);d&&Bl(f,d);b&&(f.j=b);e&&Cl(f,e);c&&(f.o=c);d=f}c=a.pa;b=a.Oz;c&&b&&wl(d,c,b);wl(d,"VER",a.Wv);Ul(a,d);return d};
hea=function(a,b,c){if(b&&!a.Na)throw Error("Ca");b=a.QA&&!a.Yy?new _.zk(new Nl({pJ:c})):new _.zk(a.Yy);b.pa=a.Na;return b};Rea=function(){};Sea=function(){};
Wl=function(a,b){_.Qj.call(this);this.j=new Jea(b);this.B=a;this.o=b&&b.iR||null;a=b&&b.hR||null;b&&b.wP&&(a?a["X-Client-Protocol"]="webchannel":a={"X-Client-Protocol":"webchannel"});this.j.H=a;a=b&&b.xF||null;b&&b.my&&(a?a["X-WebChannel-Content-Type"]=b.my:a={"X-WebChannel-Content-Type":b.my});b&&b.Yv&&(a?a["X-WebChannel-Client-Profile"]=b.Yv:a={"X-WebChannel-Client-Profile":b.Yv});this.j.mf=a;(a=b&&b.nF)&&!_.xb(a)&&(this.j.J=a);this.O=b&&b.supportsCrossDomainXhr||!1;this.H=b&&b.EI||!1;(b=b&&b.oF)&&
!_.xb(b)&&(this.j.pa=b,a=this.o,a!==null&&b in a&&(a=this.o,b in a&&delete a[b]));this.A=new Vl(this)};Tea=function(a){Wk.call(this);a.__headers__&&(this.headers=a.__headers__,this.statusCode=a.__status__,delete a.__headers__,delete a.__status__);var b=a.__sm__;b?this.data=(this.o=Lh(b))?_.Qh(b,this.o):b:this.data=a};Uea=function(a){Xk.call(this);this.status=1;this.errorCode=a};Vl=function(a){this.j=a};Vea=function(a){this.j=a};Xl=function(a,b,c){this.B=a;this.A=b;this.fields=c||[];this.j=new Map};
Yl=function(a,b){Xl.call(this,a,3,b)};Zl=function(a,b){Xl.call(this,a,2,b)};$l=function(a){_.xj.call(this);this.W=a;this.B=0;this.A=100;this.H=!1;this.o=new Map;this.O=new Set;this.flushInterval=3E4;this.j=new Sj(this.flushInterval);this.j.listen("tick",this.dm,!1,this);_.yj(this,this.j)};Wea=function(a){a.j.enabled||a.j.start();a.B++;a.B>=a.A&&a.dm()};Xea=function(a,b){return a.O.has(b)?void 0:a.o.get(b)};Yea=function(a){for(var b=0;b<a.length;b++)a[b].clear()};
Zea=function(a){this.j=a;this.j.Ld("/client_streamz/bg/fic",{za:3,ya:"ke"})};$ea=function(a){this.j=a;this.j.Ld("/client_streamz/bg/fiec",{za:3,ya:"rk"},{za:3,ya:"ke"},{za:2,ya:"ec"})};afa=function(a){this.j=a;this.j.ak("/client_streamz/bg/fil",{za:3,ya:"rk"},{za:3,ya:"ke"})};bfa=function(a){this.j=a;this.j.Ld("/client_streamz/bg/fcc",{za:2,ya:"ph"},{za:3,ya:"ke"})};cfa=function(a){this.j=a;this.j.ak("/client_streamz/bg/fcd",{za:2,ya:"ph"},{za:3,ya:"ke"})};
dfa=function(a){this.j=a;this.j.Ld("/client_streamz/bg/fsc",{za:3,ya:"rk"},{za:3,ya:"ke"})};efa=function(a){this.j=a;this.j.ak("/client_streamz/bg/fsl",{za:3,ya:"rk"},{za:3,ya:"ke"})};ffa=function(a){this.j=a;this.j.ak("/client_streamz/bg/wrl",{za:3,ya:"mn"},{za:2,ya:"ac"},{za:2,ya:"sc"},{za:3,ya:"rk"},{za:3,ya:"mk"})};gfa=function(a){this.j=a;this.j.ak("/client_streamz/bg/el",{za:3,ya:"en"},{za:3,ya:"bk"},{za:3,ya:"rk"},{za:3,ya:"mk"})};
hfa=function(a){this.j=a;this.j.Ld("/client_streamz/bg/cec",{za:2,ya:"ec"},{za:3,ya:"bk"},{za:3,ya:"rk"},{za:3,ya:"mk"})};ifa=function(a){this.j=a;this.j.Ld("/client_streamz/bg/po/csc",{za:2,ya:"cs"},{za:3,ya:"rk"},{za:3,ya:"mk"})};jfa=function(a){this.j=a;this.j.Ld("/client_streamz/bg/po/ctav",{za:3,ya:"av"},{za:3,ya:"rk"},{za:3,ya:"mk"})};kfa=function(a){this.j=a;this.j.Ld("/client_streamz/bg/po/cwsc",{za:3,ya:"su"},{za:3,ya:"rk"},{za:3,ya:"mk"})};lfa=function(a){this.T=_.Nd(a)};
mfa=function(a){this.T=_.Nd(a)};am=function(a){this.T=_.Nd(a)};bm=function(a){this.T=_.Nd(a)};cm=function(a){this.T=_.Nd(a)};
nfa=function(a){var b=new bm;b=_.rf(b,1,a.B);for(var c=[],d=0;d<a.fields.length;d++)c.push(a.fields[d].ya);b=Fe(b,3,c,raa);c=[];d=[];for(var e=_.u(a.j.keys()),f=e.next();!f.done;f=e.next())d.push(f.value.split(","));for(e=0;e<d.length;e++){f=d[e];for(var h=a.A,k=a.kr(f)||[],l=[],m=0;m<k.length;m++){var n=k[m],p=n&&n.j;n=new mfa;switch(h){case 3:p=Number(p);Number.isFinite(p)&&Me(n,1,dm,qd(p));break;case 2:p=Number(p),p=p==null?p:bd(p),Me(n,2,dm,p)}l.push(n)}h=l;for(k=0;k<h.length;k++){l=h[k];m=new am;
l=_.Ye(m,2,l);m=[];n=a;p=[];for(var q=0;q<n.fields.length;q++)p.push(n.fields[q].za);n=p;for(p=0;p<n.length;p++){var r=n[p],t=f[p];q=new lfa;switch(r){case 3:Me(q,1,em,ud(String(t)));break;case 2:r=Number(t);Number.isFinite(r)&&Me(q,2,em,jd(r));break;case 1:Me(q,3,em,_.dd(t==="true"))}m.push(q)}_.$e(l,1,m);c.push(l)}}_.$e(b,4,c);return b};
fm=function(a,b,c,d,e,f,h){a=a===void 0?-1:a;b=b===void 0?"":b;c=c===void 0?"":c;d=d===void 0?!1:d;e=e===void 0?"":e;_.xj.call(this);this.logSource=a;this.componentId=b;f?b=f:(a=new vk(a,"0"),a.componentId=b,_.yj(this,a),c!==""&&(a.A=c),d&&(a.B=!0),e&&(a.j=e),h&&(a.network=h),b=a.build());this.j=b};gm=function(){};im=function(a,b,c){this.j=a;this.event=b;if(c===void 0||c)this.startMillis=_.hm()};jm=function(){_.xj.apply(this,arguments)};km=function(){jm.apply(this,arguments)};
lm=function(a,b,c){b=b===void 0?"":b;jm.call(this);this.Wd=a;this.Z=b;this.H=new Map;this.A=new Map;a=new vk(1828,"0");a.j="22";a.network=new gm;c&&(b=new wk,c=Fe(b,3,c,id),a.o=c);this.W=new fm(1828,"","",!1,"",a.build());this.j=new $l(this.W);this.j.A=1E5;c=this.j;c.flushInterval=3E4;c.j.setInterval(3E4);this.xa=new afa(this.j);this.Ba=new dfa(this.j);this.Na=new efa(this.j);this.ta=new $ea(this.j);this.ba=new bfa(this.j);this.ha=new cfa(this.j);this.errorCount=new hfa(this.j);this.pa=new gfa(this.j);
new ffa(this.j);new ifa(this.j);new jfa(this.j);new kfa(this.j);c=new Zea(this.j);this.H.set("h",1);this.H.set("u",2);this.H.set("k",3);this.A.set(25,1);this.A.set(26,2);this.A.set(27,3);this.A.set(28,4);c.j.jh("/client_streamz/bg/fic",this.Wd);_.yj(this,this.W);_.yj(this,this.j)};_.hm=function(){var a,b,c;return(c=(a=globalThis.performance)==null?void 0:(b=a.now)==null?void 0:b.call(a))!=null?c:Date.now()};mm=function(a){this.T=_.Nd(a)};nm=function(a){this.T=_.Nd(a,0,"bfkj")};
_.om=function(a){function b(p,q,r,t){Promise.resolve().then(function(){m.done();d.xb.o();l.resolve({eD:p,VI:q,IR:r,rP:t})})}function c(p,q,r,t){var w="k";q?w="h":r&&(w="u");w!=="k"?t!==0&&d.xb.B(w,p):d.j<=0?(d.xb.B(w,p),d.j=Math.floor(Math.random()*200)):d.j--}_.xj.call(this);var d=this;this.j=Math.floor(Math.random()*200);if("challenge"in a&&ofa(a.challenge)){var e=_.kf(a.challenge,4);var f=_.kf(a.challenge,5)}else e=a.program,f=a.globalName;var h=new _.xj;this.addOnDisposeCallback(function(){d.o.then(function(p){p=
p.VI;d.xb.o();p==null||p();h.dispose()})});if(a.Bz!==!1)if(a.xb)this.xb=a.xb;else{var k;_.yj(h,this.xb=new lm((k=a.Wd)!=null?k:"_"))}else _.yj(h,this.xb=new km);var l=new _.Uj;this.o=l.promise;var m=new im(this.xb,"t",!1);if(!_.Sa[f])throw this.xb.Cd(25),this.xb.o(),Error("Ea");if(!_.Sa[f].a)throw this.xb.Cd(26),this.xb.o(),Error("Fa");try{var n=_.Sa[f].a;m.start();this.A=_.u(n(e,b,!0,a.yS,c)).next().value;this.Zz=l.promise.then(function(){})}catch(p){throw this.xb.Cd(28),this.xb.o(),p;}};
pfa=function(a){if(!a)return null;a=ef(a,4);return a===null||a===void 0?null:_.yh(a)};pm=function(){this.j={};this.o=null};qfa=function(){pm.j||(pm.j=new pm);return pm.j};sfa=function(a,b){return rfa(a,_.Te(b,Rk,1),_.Te(b,mm,2),_.kf(b,3))};rfa=function(a,b,c,d){if(!b&&!c)return Promise.resolve();if(!d)return tfa(b,c);var e;(e=a.j)[d]||(e[d]=new Promise(function(f,h){tfa(b,c).then(function(){a.o=d;f()},function(k){delete a.j[d];h(k)})}));return a.j[d]};tfa=function(a,b){return b?ufa(b):a?vfa(a):Promise.resolve()};
ufa=function(a){return new Promise(function(b,c){var d=_.Yi("SCRIPT"),e=pfa(a);_.gi(d,e);d.onload=function(){_.Zi(d);b()};d.onerror=function(){_.Zi(d);c(Error("Ha"))};(document.getElementsByTagName("HEAD")[0]||document.documentElement).appendChild(d)})};vfa=function(a){return new Promise(function(b){var c=_.Yi("SCRIPT");if(a){var d=ef(a,6);d=d===null||d===void 0?null:_.di(d)}else d=null;_.fi(c,d);(document.getElementsByTagName("HEAD")[0]||document.documentElement).appendChild(c);_.Zi(c);b()})};
xfa=function(a){var b=wfa;if(b)for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&a(b[c],c,b)};yfa=function(){var a=[];xfa(function(b){a.push(b)});return a};Bfa=function(){var a=_.zfa("IFRAME"),b={};_.Xi(Afa(),function(c){a.sandbox&&a.sandbox.supports&&a.sandbox.supports(c)&&(b[c]=!0)});return b};_.zfa=function(a,b){b=b===void 0?document:b;return b.createElement(String(a).toLowerCase())};
_.qm=function(a,b,c){if(typeof b==="string")(b=Cfa(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Cfa(c,d);f&&(c.style[f]=e)}};Cfa=function(a,b){var c=Dfa[b];if(!c){var d=gca(b);c=d;a.style[d]===void 0&&(d=ak()+hca(d),a.style[d]!==void 0&&(c=d));Dfa[b]=c}return c};Efa=function(a){typeof a=="number"&&(a=Math.round(a)+"px");return a};Ffa=function(a){var b=a,c;return function(){if(b){var d=b;b=void 0;c=d.apply(this,arguments)}return c}};
_.rm=function(){var a=this;this.j=[];this.o=[];this.initialize=Ffa(function(){return _.z(function(b){if(b.j==1)return typeof document==="undefined"||document.requestStorageAccessFor===void 0||navigator.permissions===void 0||navigator.permissions.query===void 0||location.hostname.match(".+\\.google\\.com$")?b.return(Promise.resolve()):_.x(b,Gfa(a),2);a.j.length>0&&document.addEventListener("click",a.A);_.wa(b)})});this.A=function(){if(!(a.o.length>0)){for(var b=_.u(a.j),c=b.next();!c.done;c=b.next()){c=
c.value;try{a.o.push(document.requestStorageAccessFor(c))}catch(d){}}Promise.all(a.o).then(function(){}).catch(function(){}).finally(function(){a.reset()})}}};
Gfa=function(a){var b,c,d,e;return _.z(function(f){switch(f.j){case 1:b=_.u(Object.values(Hfa)),c=b.next();case 2:if(c.done){f.L(0);break}d=c.value;_.xa(f,5);return _.x(f,navigator.permissions.query({name:"top-level-storage-access",requestedOrigin:d}),7);case 7:e=f.o;e.state!=="granted"&&a.j.push(d);_.ya(f,3);break;case 5:_.Ba(f);f.L(0);break;case 3:c=b.next(),f.L(2)}})};
_.sm=function(a,b,c){b=b===void 0?5:b;if(b!==0){var d=typeof a==="function"?a():document.querySelector(a);d?(c==null?0:c.bn)?Ifa(d):d.focus():setTimeout(function(){_.sm(a,b-1,c)},500)}};Kfa=function(a){if(a&&a.focus)if(a!==document.activeElement)a.focus();else return Jfa(function(){return _.z(function(b){document.activeElement&&document.activeElement.blur();return b.return(Jfa(function(){a.focus()}))})})};
Ifa=function(a){var b=b===void 0?5:b;setTimeout(function(){var c;return _.z(function(d){d.j==1&&(c=document.activeElement);if(d.j!=5)return(document.activeElement===c||document.activeElement===document.body)&&b>=0&&a?_.x(d,Kfa(a),5):d.L(0);if(document.activeElement===a)return d.return();a=a.parentElement;--b;return d.L(2)})},15)};Jfa=function(a){return new Promise(function(b){requestAnimationFrame(function(){b(a())})})};Lfa=function(a){this.segments=a};Mfa=function(a){this.segments=a};
Nfa=function(a){var b=a.split(".");b=b.length!==4&&b.length!==3||b[0].indexOf("=")!==-1?null:new Mfa(b);if(b===null)throw new TypeError("Ja`"+a);return b};tm=function(){this.j={};this.o="";this.B={};this.A=".wasm"};Ofa=function(a){a=um(a,"md");return!!a&&a!=="0"};
Qfa=function(a){var b=[],c=(0,_.fb)(function(d){this.j[d]!==void 0&&b.push(d+"="+this.j[d])},a);Ofa(a)?(c("md"),c("k"),c("ck"),c("am"),c("rs"),c("gssmodulesetproto"),c("tpc")):(c("sdch"),c("k"),c("ck"),c("am"),c("rt"),"d"in a.j||vm(a,"d","0"),c("d"),c("exm"),c("excm"),(a.j.excm||a.j.exm)&&b.push("ed=1"),c("im"),c("dg"),c("sm"),um(a,"br")=="1"&&c("br"),c("br-d"),Pfa(a)!==""&&c("wt"),c("gssmodulesetproto"),c("ujg"),c("sp"),c("rs"),c("cb"),c("ee"),c("tpc"),c("m"));return b.join("/")};
um=function(a,b){return a.j[b]?a.j[b]:null};vm=function(a,b,c){c?a.j[b]=c:delete a.j[b]};Rfa=function(a,b){a.o=b};Sfa=function(a,b){b&&b.length>0?(b.sort(),vm(a,"exm",b.join(","))):vm(a,"exm",null)};wm=function(a,b){b&&b.length>0?(b.sort(),vm(a,"excm",b.join(","))):vm(a,"excm",null)};Tfa=function(a){return(a=um(a,"m"))?a.split(","):[]};Pfa=function(a){switch(um(a,"wt")){case "0":return"0";case "1":return"1";case "2":return"2";default:return""}};
Ufa=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();vm(a,"ee",c.join(";"))};Vfa=function(a){delete a.j.m;delete a.j.exm;delete a.j.ed};
xm=function(a,b){b=b===void 0?!0:b;var c=Wfa(a),d=new tm,e=c.match(pi)[5];Kh(Xfa,function(k){var l=e.match("/"+k+"=([^/]+)");l&&vm(d,k,l[1])});var f="";f=a.indexOf("_/ss/")!=-1?"_/ss/":a.indexOf("_/wa/")!=-1?"_/wa/":a.indexOf("_/r/")!=-1?"_/r/":"_/js/";Rfa(d,a.substr(0,a.indexOf(f)+f.length));if(d.o.endsWith("_/wa/")){b=Yfa(a);var h=!0;Object.values(Zfa).forEach(function(k){a.endsWith(k)&&(d.A=k,h=!1)});h&&(c=a.split("/"),d.A="/"+c[c.length-1]);vm(d,"wk",b.toString());return d}if(d.o.endsWith("_/r/"))return b=
$fa(a),vm(d,"sc",b.toString()),d;if(!b)return d;(b=_.qi(6,c))&&kca(b,function(k,l){d.B[k]=l});return d};aga=function(a){var b=_.oi(_.qi(5,Wfa(a)));return b===null?!1:RegExp("/_/wa/","g").test(b)?!!Yfa(a):RegExp("/_/r/","g").test(b)?!!$fa(a):RegExp("(/_/js/)|(/_/ss/)","g").test(b)?/\/k=/.test(b):!1};
Yfa=function(a){var b=null,c=a.lastIndexOf("_/wa/")+5,d=a.indexOf("/",c);d!==-1?b=a.slice(c,d):Object.values(Zfa).forEach(function(e){a.endsWith(e)&&(b=a.slice(c,a.lastIndexOf(e)))});if(b===null)return null;try{return Nfa(b)}catch(e){return null}};$fa=function(a){var b=a.lastIndexOf("_/r/")+4;a=a.slice(b);if(a===null)return null;try{var c=a.split(".");var d=c.length!==2?null:new Lfa(c);if(d===null)throw new TypeError("Ia`"+a);return d}catch(e){return null}};
Wfa=function(a){return a.startsWith("https://uberproxy-pen-redirect.corp.google.com/uberproxy/pen?url=")?a.substr(65):a};ym=function(){_.xj.call(this)};zm=function(a,b){this.j=a;this.o=b};Am=function(a,b){_.xj.call(this);this.j=a;this.H=b;this.B=[];this.A=[];this.o=[]};bga=function(a,b,c){a.B.push(new zm(b,c))};Bm=function(a,b){a.A.push(new zm(b))};Cm=function(a,b){for(var c=[],d=0;d<a.length;d++)try{a[d].execute(b)}catch(e){tb(e),c.push(e)}a.length=0;return c.length?c:null};
Dm=function(){this.G=null};_.Hm=function(){!_.Em&&_.Fm&&_.Gm((0,_.Fm)());return _.Em};_.Gm=function(a){_.Em=a;cga.forEach(function(b){b(_.Em)});cga=[]};_.C=function(a){_.Em&&_.Em.Hv(a)};_.D=function(){_.Em&&_.Em.Qj()};Im=function(a,b){this.o=a;this.j=b||null};_.Jm=function(a,b,c){c=c===void 0?function(){}:c;b=_.u(b);for(var d=b.next();!d.done;d=b.next()){var e=_.u(d.value);d=e.next().value;e=e.next().value;if(d instanceof Array&&d.includes(a)||d===a)return e()}return c()};
_.Km=function(a,b,c){c=c===void 0?function(){}:c;return a?b():c()};dga=function(a,b){return Object.is(a,b)};Mm=function(a){var b=Lm;Lm=a;return b};fga=function(a){if(Nm)throw Error("$");if(Lm!==null){var b=Lm.Yn++;Om(Lm);b<Lm.kb.length&&Lm.kb[b]!==a&&Pm(Lm)&&Qm(Lm.kb[b],Lm.be[b]);Lm.kb[b]!==a&&(Lm.kb[b]=a,Lm.be[b]=Pm(Lm)?ega(a,Lm,b):0);Lm.Zh[b]=a.version}};gga=function(a){if(!Pm(a)||a.ng)if(a.ng||a.ey!==Rm)(a.uz(a)||Sm(a))&&a.vz(a),a.ng=!1,a.ey=Rm};
iga=function(a){if(a.Dc!==void 0){var b=Nm;Nm=!0;try{for(var c=_.u(a.Dc),d=c.next();!d.done;d=c.next()){var e=d.value;e.ng||hga(e)}}finally{Nm=b}}};jga=function(){var a;return((a=Lm)==null?void 0:a.xf)!==!1};hga=function(a){a.ng=!0;iga(a);var b;(b=a.Hi)==null||b.call(a,a)};Tm=function(a){a&&(a.Yn=0);return Mm(a)};Um=function(a,b){Mm(b);if(a&&a.kb!==void 0&&a.be!==void 0&&a.Zh!==void 0){if(Pm(a))for(b=a.Yn;b<a.kb.length;b++)Qm(a.kb[b],a.be[b]);for(;a.kb.length>a.Yn;)a.kb.pop(),a.Zh.pop(),a.be.pop()}};
Sm=function(a){Om(a);for(var b=0;b<a.kb.length;b++){var c=a.kb[b],d=a.Zh[b];if(d!==c.version)return!0;gga(c);if(d!==c.version)return!0}return!1};kga=function(a){Om(a);if(Pm(a))for(var b=0;b<a.kb.length;b++)Qm(a.kb[b],a.be[b]);a.kb.length=a.Zh.length=a.be.length=0;a.Dc&&(a.Dc.length=a.Fg.length=0)};ega=function(a,b,c){lga(a);if(a.Dc.length===0&&a.kb!==void 0)for(var d=0;d<a.kb.length;d++)a.be[d]=ega(a.kb[d],a,d);a.Fg.push(c);return a.Dc.push(b)-1};
Qm=function(a,b){lga(a);if(a.Dc.length===1&&a.kb!==void 0)for(var c=0;c<a.kb.length;c++)Qm(a.kb[c],a.be[c]);c=a.Dc.length-1;a.Dc[b]=a.Dc[c];a.Fg[b]=a.Fg[c];a.Dc.length--;a.Fg.length--;b<a.Dc.length&&(c=a.Fg[b],a=a.Dc[b],Om(a),a.be[c]=b)};Pm=function(a){var b,c;return a.uq||((c=a==null?void 0:(b=a.Dc)==null?void 0:b.length)!=null?c:0)>0};Om=function(a){a.kb!=null||(a.kb=[]);a.be!=null||(a.be=[]);a.Zh!=null||(a.Zh=[])};lga=function(a){a.Dc!=null||(a.Dc=[]);a.Fg!=null||(a.Fg=[])};
nga=function(a){function b(){gga(c);fga(c);if(c.value===Vm)throw c.error;return c.value}var c=Object.create(mga);c.zD=a;b[Wm]=c;return b};pga=function(a){function b(){fga(c);return c.value}var c=Object.create(oga);c.value=a;b[Wm]=c;return b};rga=function(a,b){if(!jga())throw Error();if(!a.Oq(a.value,b)){a.value=b;a.version++;Rm++;iga(a);var c;(c=qga)==null||c()}};
tga=function(a,b,c){function d(f){e.Fi=f}var e=Object.create(sga);c&&(e.xf=!0);e.Pd=a;e.schedule=b;a={};e.va=(a.notify=function(){return hga(e)},a.run=function(){if(e.Pd!==null){if(Nm)throw Error("Wa");e.ng=!1;if(!e.Ad||Sm(e)){e.Ad=!0;var f=Tm(e);try{e.Fi(),e.Fi=Xm,e.Pd(d)}finally{Um(e,f)}}}},a.rq=function(){return e.Fi()},a.destroy=function(){if(e.Pd!==null||e.schedule!==null)kga(e),e.Fi(),e.Pd=null,e.schedule=null,e.Fi=Xm},a[Wm]=e,a);return e.va};Xm=function(){};
uga=function(a){return Object.create(Object.assign({},Ym,{xf:a}))};_.Zm=function(a,b){a=Mm(a);try{return b()}finally{Mm(a)}};$m=function(){};cn=function(a,b){for(;a.length>b;)a.pop()};dn=function(a){a=Array(a);cn(a,0);return a};en=function(a,b,c){if(c==null)a.removeAttribute(b);else{var d;(d=b.lastIndexOf("xml:",0)===0?"http://www.w3.org/XML/1998/namespace":b.lastIndexOf("xlink:",0)===0?"http://www.w3.org/1999/xlink":null)?a.setAttributeNS(d,b,c):a.setAttribute(b,c)}};vga=function(a,b,c){a[b]=c};
xga=function(a,b,c){a=a.style;if(typeof c==="string")a.cssText=c;else{a.cssText="";for(var d in c)if(wga.call(c,d)){b=a;var e=d,f=c[d];e.indexOf("-")>=0?b.setProperty(e,f):b[e]=f}}};yga=function(a,b,c){var d=typeof c;d==="object"||d==="function"?a[b]=c:en(a,b,c)};gn=function(){var a=new $m;a[fn.default]=yga;a.style=xga;return a};hn=function(a,b,c,d){(d[b]||d[fn.default])(a,b,c)};zga=function(a){this.created=[];this.j=[];this.node=a};
Aga=function(a,b){this.j=null;this.A=!1;this.o=a;this.key=b;this.text=void 0};jn=function(a,b,c){b=new Aga(b,c);return a.__incrementalDOMData=b};kn=function(a,b){if(a.__incrementalDOMData)return a.__incrementalDOMData;var c=a.nodeType===1?a.localName:a.nodeName,d=a.nodeType===1?a.getAttribute("key"):null;b=jn(a,c,a.nodeType===1?d||b:null);if(a.nodeType===1&&(a=a.attributes,c=a.length)){d=b.j||(b.j=dn(c*2));for(var e=0,f=0;e<c;e+=1,f+=2){var h=a[e],k=h.value;d[f]=h.name;d[f+1]=k}}return b};
Bga=function(a,b,c,d,e){return b==c&&d==e};on=function(a){for(var b=ln,c=mn();c!==a;){var d=c.nextSibling;b.removeChild(c);nn.j.push(c);c=d}};mn=function(){return pn?pn.nextSibling:ln.firstChild};qn=function(){pn=mn()};
Cga=function(a,b,c){qn();var d;a:{if(d=pn){do{var e=d,f=a,h=b,k=kn(e,h);if(rn(e,f,k.o,h,k.key))break a}while(b&&(d=d.nextSibling))}d=null}d||(a==="#text"?(c=sn.createTextNode(""),jn(c,"#text",null),a=c):(d=sn,e=ln,typeof a==="function"?d=new a:d=(e=a==="svg"?"http://www.w3.org/2000/svg":a==="math"?"http://www.w3.org/1998/Math/MathML":e==null||kn(e).o==="foreignObject"?null:e.namespaceURI)?d.createElementNS(e,a):d.createElement(a),jn(d,a,b),a=d,c&&a.setAttribute("nonce",c)),nn.created.push(a),d=a);
c=d;if(c!==pn){if(tn.indexOf(c)>=0)for(a=ln,b=c.nextSibling,d=pn;d!==null&&d!==c;)e=d.nextSibling,a.insertBefore(d,b),d=e;else ln.insertBefore(c,pn);pn=c}};un=function(a,b,c){Cga(a,b,c);ln=pn;pn=null;return ln};vn=function(){on(null);pn=ln;ln=ln.parentNode};wn=function(){pn=ln.lastChild};
Ega=function(a,b){b=b===void 0?{}:b;var c=b.matches===void 0?Bga:b.matches;return function(d,e,f){var h=nn,k=sn,l=tn,m=xn,n=yn,p=pn,q=ln,r=rn;sn=d.ownerDocument;nn=new zga(d);rn=c;xn=[];yn=[];pn=null;var t=ln=d.parentNode,w,y=Dga.call(d);if((w=y.nodeType===11||y.nodeType===9?y.activeElement:null)&&d.contains(w)){for(y=[];w!==t;)y.push(w),w=w.parentNode||(t?w.host:null);t=y}else t=[];tn=t;try{return a(d,e,f)}finally{d=nn,zn&&d.j.length>0&&zn(d.j),sn=k,nn=h,rn=r,xn=m,yn=n,pn=p,ln=q,tn=l}}};
Bn=function(a,b,c,d){An.push(hn);An.push(a);An.push(b);An.push(c);An.push(d)};
Fga=function(a,b,c){var d=yn;b=b.j||(b.j=dn(d.length));for(var e=!b.length||!1,f=0;f<d.length;f+=2){var h=d[f];if(e)b[f]=h;else if(b[f]!==h)break;var k=d[f+1];if(e||b[f+1]!==k)b[f+1]=k,Bn(a,h,k,c)}if(f<d.length||f<b.length){for(f=e=f;f<b.length;f+=2)Cn[b[f]]=b[f+1];for(f=e;f<d.length;f+=2)e=d[f],h=d[f+1],Cn[e]!==h&&Bn(a,e,h,c),b[f]=e,b[f+1]=h,delete Cn[e];cn(b,d.length);for(var l in Cn)Bn(a,l,void 0,c),delete Cn[l]}a=Dn;Dn=c=An.length;for(l=a;l<c;l+=5)(0,An[l])(An[l+1],An[l+2],An[l+3],An[l+4]);Dn=
a;cn(An,a);cn(d,0)};_.En=function(a){Cga("#text",null);var b=pn;var c=kn(b);if(c.text!==a){c=c.text=a;for(var d=1;d<arguments.length;d+=1)c=(0,arguments[d])(c);b.data!==c&&(b.data=c)}return b};Gn=function(a,b){var c={rh:Fn.slice(),NP:3};return[b===void 0?"unknown":b,a,c]};Hn=function(a){var b=a.component;var c=a.debugInstance;a=a.Pd;var d,e=(d=b.Pm)!=null?d:b.name;Fn.push({name:c?e+" ("+c+")":e,Mf:!!b.Mf});b=a();Fn.pop();return b};_.In=function(){var a=Fn[Fn.length-1];return a?a.Mf||!1:!1};
Jn=function(a,b){b=b===void 0?{}:b;var c=Fn.length;b.stack&&(Fn=[].concat(_.ma(b.stack)));try{return a()}catch(d){throw Gga(d),d;}finally{a=Fn.length-c,a>0&&Fn.splice(-a)}};Gga=function(a){var b=Fn;if(b.length!==0&&!a.rh){var c=b.slice(-20).reverse().map(function(d){return d.name}).join(" > ");c=a.message+"\n\nComponent stack: "+c;try{a.rh=b.slice(),Kn.Dw&&(a.stack&&(a.stack=a.stack.replace(a.message,c)),a.message=c)}catch(d){}}};
_.Mn=function(a){var b=_.Ln;if(b&&b!==Hga&&!b[Iga]){var c=Fn.slice();b.Ek||(b.Ek=[]);b.Ek.push(function(){return void Jn(function(){return void a()},{stack:c})})}};On=function(a){var b=_.Ln;b&&!b.isDisposed&&(_.Mn(function(){return void Nn(a)}),a.parent=b)};Pn=function(a){a.Ek&&(_.Zm(Jga,function(){for(var b=_.u(a.Ek),c=b.next();!c.done;c=b.next())c=c.value,c()}),a.Ek.length=0)};Nn=function(a){if(!a.isDisposed){a.isDisposed=!0;var b;(b=a[Symbol.dispose])==null||b.call(a);delete a.parent;Pn(a)}};
Rn=function(a){if(Kn.Nj)for(var b=_.u(a),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=[c];c.parent!==void 0;)c=c.parent,a.has(c)&&(a.delete(c),d.push(c));for(;d.length>0;)Qn(d.pop())}else for(b=_.u(a),c=b.next();!c.done;c=b.next())c=c.value,a.delete(c),Qn(c)};Kga=function(){var a;_.z(function(b){if(b.j==1)return a=Sn,Sn=new Set,_.x(b,Promise.resolve(),2);Rn(a);_.wa(b)})};Lga=function(){kga(this);Tn.delete(this);Sn.delete(this);Nn(this)};Mga=function(a){a.isDisposed||Tn.add(a)};
Un=function(a){return _.z(function(b){if(b.j==1)return a.isDisposed?b.return():Kn.Nj?(Sn.add(a),b.L(0)):_.x(b,Promise.resolve(),3);Qn(a);_.wa(b)})};Qn=function(a){if(a.ot!==null&&!a.isDisposed){if(Nm)throw Error("Za");a.ng=!1;if(!a.Ad||Sm(a)){a.Ad=!0;Vn.Rt++;Pn(a);var b=_.Ln;_.Ln=a;var c=Tm(a);try{Jn(a.ot,{stack:a.rh})}finally{Um(a,c),_.Ln=b}}}};Wn=function(a,b){var c=_.Ln;_.Ln=a;try{return b()}finally{_.Ln=c}};
Xn=function(a){if(Kn.Nj)for(var b=_.u(a),c=b.next();!c.done;c=b.next()){var d=c.value;for(c=[d];d.parent!==void 0;)d=d.parent,a.has(d)&&(a.delete(d),c.push(d));for(;c.length>0;)d=void 0,(d=c.pop())==null||d.run()}else for(b=_.u(a),c=b.next();!c.done;c=b.next())c=c.value,a.delete(c),c.run()};Nga=function(){var a;_.z(function(b){if(b.j==1)return a=Yn,Yn=new Set,_.x(b,Promise.resolve(),2);Xn(a);_.wa(b)})};Oga=function(a){a.isDisposed||Zn.add(a)};
_.$n=function(a){return _.z(function(b){if(b.j==1)return a.isDisposed?b.return():Kn.Nj?(Yn.add(a),b.L(0)):_.x(b,Promise.resolve(),3);a.run();_.wa(b)})};Pga=function(a,b,c){function d(){return void Jn(b,{stack:e})}c=c===void 0?!1:c;Vn.Qt++;var e=Fn.slice(),f=tga(function(){f.isDisposed||(Vn.Rt++,Pn(f),Wn(f,d))},function(){return void a(f)},c);f.Sx=!0;On(f);f[Symbol.dispose]=function(){f.destroy();Zn.delete(f);Yn.delete(f)};return f};
_.ao=function(a,b,c,d,e){Kn.lu?(Vn.Qt++,b=Object.create(b),b.rh=Fn.slice(),b.ot=a,b.Pm=e!=null?e:"[reaction]",On(b),a=b):a=Pga(c,a,d);return a};bo=function(a){Kn.lu?Qn(a):a.run()};_.Qga=function(a){_.z(function(b){if(b.j==1)return Kn.Nj?_.x(b,Promise.resolve(),3):(Kn.lu?Un(a):_.$n(a),b.L(0));bo(a);_.wa(b)})};Sga=function(a,b){a=_.ao(a,Rga,Oga,!0,b);bo(a)};_.co=function(a){a.Mf=!0};eo=function(a){return _.Zm(Tga,a)};
fo=function(a,b){_.co(a);b&&(a.ju=function(c,d,e,f){return _.Zm(null,function(){return b(c,d,e,f)})})};ho=function(a,b){var c=_.Ka.apply(2,arguments),d;b=(d=b)!=null?d:{};d={};return d.type=a,d.props=b,d.children=c,d[go]=!0,d};_.F=function(a){return a.children};jo=function(a,b){var c=io;io=a;try{return b()}finally{io=c}};
Wga=function(a,b,c){if(Object.hasOwnProperty.call(Uga,a)&&(a=Uga[a],Object.hasOwnProperty.call(a,b)&&(a=a[b],a instanceof Array))){for(var d=null,e=!1,f=0,h=a.length;f<h;++f){var k=a[f],l=k.fc;if(!l)return k.Ca;d===null&&(d={});l=Object.hasOwnProperty.call(d,l)?d[l]:d[l]=c(l);if(l===k.rc)return k.Ca;l==null&&(e=!0)}if(e)return null}b=Vga[b];return typeof b==="number"?b:null};
Yga=function(a,b,c){if(c===null||c===void 0)return c;var d=Wga(a.tagName.toLowerCase(),b,function(){var h;(h=Kn.handleError)==null||h.call.apply(h,[Kn].concat(_.ma(Gn(Error("ab"),a.tagName.toLowerCase()))))});if(d===null)return c;d=Xga[d];var e;if((e=d.kc)==null?0:e.call(d,c)){if(d.Ub)return d.Ub(c);var f;(f=Kn.handleError)==null||f.call.apply(f,[Kn].concat(_.ma(Gn(Error("bb"),a.tagName.toLowerCase()))))}return d.Nb?d.Nb(a.tagName,b,String(c)):c};
Zga=function(a){function b(d,e,f){for(var h=Math.min(e.length-f,d.length),k=0;k<h;k++){var l=e[f+k];if(d[k]!==("A"<=l&&l<="Z"?l.toLowerCase():l))return!1}return!0}a=String(a);for(var c=0;(c=a.indexOf("<",c))!=-1;){if(b("\x3c/script",a,c)||b("\x3c!--",a,c))return"zSoyz";c+=1}return a};ko=function(){this.j=new Map};
_.no=function(a){if(typeof a==="function"){var b=new ko;a(b);return b.build()}if(a==null)return a={},Object.freeze((a[lo]=mo,a));if(a!=null&&typeof a==="object"&&a[lo]===mo)return a;b={};return Object.freeze(Object.assign({},a,(b[lo]=mo,b)))};
oo=function(a,b,c){if(c===!1&&$ga.has(b))en(a,b,null);else if(b!=="idomKey"&&b!=="skip"&&b!=="skipchildren"&&b!=="children"&&b!=="el"){if(b.startsWith("on"))if(b[2]===":"){if(c===void 0||c===null){var d;(d=Kn.handleError)==null||d.call.apply(d,[Kn].concat(_.ma(Gn(Error("eb`"+b),a.tagName))));a[b]=void 0;return}if(typeof c!=="object"||c===null)throw Error("fb`"+b+"`"+typeof c);if(typeof c.Rw!=="function")throw Error("gb`"+b+"`"+Object.keys(c));var e=c.Rw(0),f=b.slice(3);if((d=_.In())&&a["on"+f]===
void 0)a.addEventListener(f,e),_.Mn(function(){return void a.removeEventListener(f,e)});else if(d||!aha.includes(f))a["on"+f]=e}else{bha(a,b,c);return}else if(b.startsWith("data-")&&typeof c==="string")try{c=Zga(c)}catch(h){c="zSoyz"}typeof c!=="function"||a._disposeEffects!=null?(Kn.eE&&(c=Yga(a,b,c)),b==="style"?cha(a,b,c):b.startsWith("prop:")?(b=b.slice(5),a[b]=c):bha(a,b,c)):(a._signalProps||(a._signalProps=[]),a._signalValues||(a._signalValues=[]),a._signalProps.push(b))}};
dha=function(a,b,c){c=(c===void 0?{}:c).Mf;if(b==null?0:b.el){var d=b.el;if(typeof d==="function")d(a);else{var e;(e=d.Ps)==null||e.call(d,a);a._disposeRef||(a._disposeRef=function(){var f;(f=d.LH)==null||f.call(d);delete a._disposeRef},c&&_.Mn(function(){var f;return void((f=a._disposeRef)==null?void 0:f.call(a))}))}}};po=function(){};eha=function(){};fha=function(){};gha=function(){};qo=function(a,b){var c={};(b===void 0||b)&&On(c);Wn(c,function(){return void a(c)});return function(){return void Nn(c)}};
_.ro=function(a){return!(a==null||!a.te)};so=function(a,b){a=_.ao(a,hha,Oga,!1,b);bo(a)};to=function(){return document.createTextNode("")};uo=function(a){a=document.createTextNode(String(a));a._isSignalTextNode=!0;return a};vo=function(a){a=typeof a;return a==="string"||a==="number"||a==="boolean"};wo=function(a){return a instanceof wh||a instanceof _.Ah||a instanceof Vh||!1};xo=function(a,b){a.parentElement&&a.parentElement.replaceChild(b,a);return b};
iha=function(a,b){a.textContent!==String(b)&&(a.textContent=String(b));return a};yo=function(a,b){var c=a[0].parentElement;if(c)if(a[0].previousSibling||a[a.length-1].nextSibling){c.insertBefore(b,a[0]);for(var d=a.length-1;d>=0;d--)c.removeChild(a[d])}else c.textContent="",c.appendChild(b);return b};
zo=function(a,b){if(a[0].parentElement)for(var c=a[0].parentElement,d=b.length,e=a.length,f=d,h=0,k=0,l=a[e-1].nextSibling,m=null;h<e||k<f;)if(a[h]===b[k])h++,k++;else{for(;a[e-1]===b[f-1];)e--,f--;if(e===h)for(var n=f<d?k?b[k-1].nextSibling:b[f-k]:l;k<f;)c.insertBefore(b[k++],n);else if(f===k)for(;h<e;)n=a[h],m&&m.has(n)||c.removeChild(n),h++;else if(a[h]===b[f-1]&&b[k]===a[e-1])n=a[--e].nextSibling,c.insertBefore(b[k++],a[h++].nextSibling),c.insertBefore(b[--f],n),a[e]=b[f];else{if(!m)for(m=new Map,
n=k;n<f;)m.set(b[n],n++);n=m.get(a[h]);if(n==null)c.removeChild(a[h]),h++;else if(k<n&&n<f){for(var p=h,q=1,r=void 0;++p<e&&p<f&&(r=m.get(a[p]))!=null&&r===n+q;)q++;if(q>n-k)for(p=a[h];k<n;)c.insertBefore(b[k++],p);else c.replaceChild(b[k++],a[h++])}else h++}}return b};Ao=function(a){return cb(a)?"nodeType"in a:!1};
Do=function(a,b){b=(b===void 0?{}:b).aD;var c=jha();(b?Sga:so)(function(){var d=c[0],e=c.te,f=jo(Bo,a);d=xha(d,f,c);Array.isArray(d)||(c.te=[d]);f=c.te;if(e&&(!Array.isArray(e)||e.length!==0)){e=Array.isArray(e)?e[0]:e;var h=e[_.Co],k=e._disposeEffects;e._disposeEffects=void 0;e=Array.isArray(f)?f[0]:f;e[_.Co]=h;e[_.Co]&&(e[_.Co].zy=e===f?1:f.length);e._disposeEffects=k}c[0]=d});return c};
xha=function(a,b,c){for(;typeof b==="function";)b=b();if(b!=null&&b[go]){var d,e,f;(f=Kn.handleError)==null||f.call.apply(f,[Kn].concat(_.ma(Gn(Error("ib`"+((d=b.type)==null?void 0:d.jf)),(e=b.type)==null?void 0:e.jf))))}if(a==null)return b==null?to():vo(b)?uo(b):wo(b)?uo(b.toString()):Ao(b)?b:b.length===0?to():Eo(b,c);if(Ao(a)){if(b==null)return xo(a,to());if(vo(b))return iha(a,b);if(wo(b))return iha(a,b.toString());if(Ao(b))return xo(a,b);if(b.length===0)return xo(a,to());b=Eo(b,c);zo([a],c.te);
return b}a=Fo(a);if(b==null)return yo(a,to());if(vo(b))return yo(a,uo(b));if(wo(b))return yo(a,uo(b.toString()));if(Ao(b))return zo(a,[b])[0];if(b.length===0)return yo(a,to());b=Eo(b,c);zo(a,c.te);return b};Fo=function(a,b,c){return Go(a,b!=null?b:[],c===void 0?!1:c)};Eo=function(a,b){var c=Fo(a,void 0,!0);if(c.length===0)return to();b.te=c;return a};
Go=function(a,b,c,d,e){b=b===void 0?[]:b;c=c===void 0?!1:c;e=e===void 0?-1:e;if(a==null)return b;vo(a)&&(a=uo(a),d&&c&&(d[e]=a));wo(a)&&(a=uo(a.toString()),d&&c&&(d[e]=a));if(Ao(a))return yha(b,a);if(Array.isArray(a)){for(d=0;d<a.length;d++)Go(a[d],b,c,a,d);return b}if(typeof a==="function")return a=Do(a)[0],d&&c&&(d[e]=a),yha(b,a);if(a!=null&&a[go]){var f=a;a=jo(Bo,function(){return io.apply(null,[f.type,f.props].concat(_.ma(f.children)))});return Go(a,b,c)}var h;(h=Kn.handleError)==null||h.call.apply(h,
[Kn].concat(_.ma(Gn(Error("jb")))));return b};jha=function(a){var b=[];if(!a)return b.te=[],b;b[0]=Eo(a,b);return b};yha=function(a,b){Array.isArray(a)?a.push(b):a.appendChild(b);return a};
zha=function(a,b){var c,d,e=qo(function(m){d=m;c=jo(Bo,function(){return eo(function(){return a(b)})})},!!_.Ln);!_.ro(c)&&Array.isArray(c)&&(c=jha(c));var f=_.ro(c)?c.te:c;var h=Array.isArray(f)?f[0]:f;if(h){var k,l=(k=b==null?void 0:b.idomKey)!=null?k:a;k=a.ju;h._disposeEffects=e;e=h[_.Co]||{};Object.assign(e,{key:l,props:k?b:void 0,zy:f!==h?f.length:1,context:d,iF:!!h[_.Co],tA:_.ro(c)?c:e.tA});h[_.Co]=e}else e();Wn(d,function(){return void eha(a,b,f)});return c};
Io=function(a){var b={},c;for(c in a)b={lz:void 0,ty:void 0},b.lz=Ho[c],b.ty=a[c],Ho[c]=function(d){return function(){var e=_.Ka.apply(0,arguments);d.lz.apply(null,_.ma(e));d.ty.apply(null,_.ma(e))}}(b)};Jo=function(a){this.props=a;this.A=!1};Lo=function(){if(_.In())throw Error("kb");return Ko};Mo=function(a){Jo.call(this,a);var b=this;this.Xi=[];this.B=0;this.G=qo(function(c){b.Xm=c;_.Mn(function(){Aha(b,b.el)})},!!_.Ln)};
Aha=function(a,b){if(!a.A&&b){a.A=!0;try{a.Te()}catch(e){var c,d;(d=Kn.handleError)==null||d.call.apply(d,[Kn].concat(_.ma(Gn(e,(c=a.j)==null?void 0:c.jf))))}Ho.Te(a);a.el=null;b.__instance&&delete b.__instance}};No=function(a,b){a._disposeEffects==null&&a._signalProps!=null&&(a._disposeEffects=qo(function(){so(function(){for(var c=a._signalProps,d=a._signalValues,e=0;e<c.length;e++){var f=c[e],h=b[f]();d[e]!==h&&(d[e]=h,oo(a,f,h))}})},!!_.Ln))};
Bha=function(a,b){a._disposeEffects=qo(function(){a._isSignalTextNode=!0;so(function(){var c=b();c==null&&(c="");var d=typeof c;if(d==="object"||d==="function")throw Error("lb`"+d);a.textContent=String(c)})},!!_.Ln)};
Eha=function(a,b){var c=_.Ka.apply(2,arguments);b!=null||(b={});if(a===_.F)return c;if(typeof a==="function")return Hn({component:a,debugInstance:b.debugInstance,Pd:function(){var f=po(a,b,c);if(f)return f;c.length>0&&(b.children=c.length===1?c[0]:c);f=Cha(a,b);return f===!1?Dha(a,b):f}});var d=fha(a,b)||document.createElement(a),e;for(e in b)oo(d,e,b[e]);No(d,b);Fo(c,d);dha(d,b,{Mf:!0});gha(d,b);return d};
Cha=function(a,b){if(a.Mf)return!1;b||(b={});var c=new Mo(b);c.o=a;var d=eo(function(){return c.render(b)});if(!(d instanceof HTMLElement))return d;d.__instance=c;c.el=d;c.j=a;a.jf=d.tagName.toLowerCase();Ho.Ni(c);return d};_.Oo=function(a){if(typeof a.children==="function")return a.children(),null;a=_.u(a.children);for(var b=a.next();!b.done;b=a.next())b=b.value,b();return null};_.Po=function(a,b,c){c=c===void 0?!1:c;return Jn(function(){return Fha(a,b,c)})};
Fha=function(a,b,c){c=((c===void 0?0:c)?Qo:Ro)(a,function(){So(b)});return c===null?a:c};
So=function(a){if(a!==void 0&&a!==null)if(Array.isArray(a)){a=_.u(a);for(var b=a.next();!b.done;b=a.next())So(b.value)}else if(a instanceof wh||a instanceof _.Ah||a instanceof Vh)_.En(a.toString());else if(Ao(a)){if(mn()!==a)throw Error("nb`"+a.tagName);qn()}else{var c=typeof a;if(c==="boolean"||c==="number"||c==="string")_.En(a);else if(typeof a==="function"){b=ln;var d=mn();if(!d||!d._isSignalTextNode){var e=b.insertBefore;c=document.createTextNode("");Bha(c,a);e.call(b,c,d)}qn()}else{if(typeof a.type===
"string"){a.kf||un(a.type,a.props.idomKey);b=ln;for(d in a.props)a.props[d]!==mo&&(e=a.props[d],c=yn,c.push(d),c.push(e));d=Kn.attributes;d=d===void 0?To:d;e=ln;c=kn(e);Fga(e,c,d);No(b,a.props);(a.props.skip||a.props.skipchildren)&&ln.hasChildNodes()?wn():So(a.children);vn();a.kf&&(a.kf=!1);dha(b,a.props);return b}if(a.type===_.F)So(a.children);else if(!Gha(a)){try{Hha(a)}catch(f){d=f,(e=Kn.handleError)==null||e.call.apply(e,[Kn].concat(_.ma(Gn(d,(b=a.type)==null?void 0:b.jf))))}a.kf&&(vn(),a.kf=
!1)}}}};Iha=function(a,b){var c;((c=a.prototype)==null?void 0:c.render)===void 0?(b=new Mo(b),b.o=a):b=new a(b);b.j=a;b.Np={Es:b.state,Lx:!1};return b};
Hha=function(a){var b=a.type,c=b.jf;if(b===_.Oo)a.props.children=a.children,b(a.props);else{a.children.length>0&&(a.props.children=a.children);var d;(d=a.props).idomKey||(d.idomKey=b);var e=!1;if(c){var f=un(c,a.props.idomKey);a.kf=!0;var h=f.__instance}h||(e=!0,h=Iha(b,a.props),h.props=null,f&&(f.__instance=h,h.el=f));var k;c=(k=h.Np)!=null?k:{Es:h.state,Lx:!1};k=c.Es;h.Np=void 0;b.FE&&(k=b.FE(a.props,k));var l=h.props,m=h.state;h.props=a.props;h.state=k;k=function(){var n=h;Ho.Iv(n);var p=n.render(n.props);
p?(n.props.idomKey&&(p.props.idomKey=n.props.idomKey),n=p):n=void 0;if(p=n)if(p.kf=a.kf,n=So(p),a.kf=p.kf,!b.jf)if(n)b.jf=n.tagName.toLowerCase(),n.__instance=h,h.el=n;else{var q;if((q=h.Xi)==null?0:q.length){var r;(r=Kn.handleError)==null||r.call.apply(r,[Kn].concat(_.ma(Gn(Error("ob")))))}}e?(h.Mi(),Ho.Mi(h)):(h.Bf(l,m),Ho.Bf(h,l,a.props));h.Ni();Ho.Ni(h)};(c=h.o)?Hn({component:c,debugInstance:h.props.debugInstance,Pd:k}):k()}};
Gha=function(a){var b=a.type;if(!b.Mf)return!1;a.props.children=a.children.length>1?a.children:a.children[0];var c,d=(c=a.props.idomKey)!=null?c:a.type,e;if(mn()&&((e=mn()[_.Co])==null?void 0:e.key)===d){d=mn();c=d[_.Co];if(!c)throw Error("mb`"+d.tagName);if(!b.ju){var f;(f=c.MA)==null||f.call(c,a.props);Jha(c);return!0}f=_.Ln;b=b.ju(a.props,c.props,f!==null?f:c.context,c.iF);f=Kha(b);Lha(a.props,c.props);f>0?So(b):qn();return!0}if(Mha.has(b.name)&&a.props.allowIdomInterop!==_.Uo)throw Error("Qa`"+
b.name);po(a.type,a.props,a.children);(b=Hn({component:a.type,debugInstance:a.props.debugInstance,Pd:function(){return Dha(a.type,a.props)}}))&&Nha(b);return!0};Kha=function(a){if(a){if(Array.isArray(a)){var b=0;a=_.u(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&(b=c.type===_.F?b+c.children.length:b+1);return b}if(a.type===_.F)return a.children.length}else return 0;return 1};Lha=function(a,b){b&&(b.children=a.children,b.ia=a.ia,b.fallback=a.fallback)};Oha=function(a){for(var b=0;b<Fo(a).length;b++)qn()};
Jha=function(a){var b=Pha();if(b)Oha(b);else for(var c=0;c<a.zy;c++)(b=Pha())?Oha(b):qn()};Pha=function(){var a;return(a=mn()[_.Co])==null?void 0:a.tA};Nha=function(a){a=_.ro(a)?a.te:a;a=Array.isArray(a)?a:[a];a=_.u(a);for(var b=a.next();!b.done;b=a.next())ln.insertBefore(b.value,mn()),qn()};_.Vo=function(a){var b,c=_.Ln;Sga(function(){Wn(c,function(){if(b)jo(ho,function(){return _.Po(b,a.children(),!0)});else if(b=jo(Bo,a.children),!(b instanceof Element))throw Error("pb");})});return b};
_.Wo=function(a){Vn.lA++;var b=nga(a);return function(){Vn.kA++;return b()}};_.Xo=function(a){a=_.ao(a,Qha,_.$n,!1);_.Qga(a)};_.Yo=function(a){return typeof a==="function"?a():a};Rha=function(a){var b={};return b[Zo]=a,b};_.$o=function(a){var b=pga(a);Vn.mA++;var c=b[Wm];c.Pm="[signal]";return[function(){Vn.nA++;return b()},function(d){Vn.oA++;if(d&&d[Zo]){d=d[Zo];if(!jga())throw Error();rga(c,d(c.value))}else rga(c,d)}]};
bp=function(a){var b=_.u(_.$o(a));a=b.next().value;b=b.next().value;a[ap]=b;return a};cp=function(a){return typeof a==="object"&&a!==null};ep=function(a,b){b=b===void 0?!1:b;if(!cp(a))return bp(a);if(dp(a)){var c=a.map(function(f){return ep(f)});return b?c:bp(c)}c={};a=_.u(Object.entries(a));for(var d=a.next();!d.done;d=a.next()){var e=_.u(d.value);d=e.next().value;e=e.next().value;c[d]=ep(e)}return b?c:bp(c)};
fp=function(a,b){if(!cp(a)||!cp(b))throw Error("sb");var c=dp(a),d=!1;b=_.u(Object.entries(b));for(var e=b.next();!e.done;e=b.next()){var f=_.u(e.value);e=f.next().value;f=f.next().value;var h=e;e=f;f=a[h];if(Object.hasOwn(a,h))if(e===void 0)c?a.splice(Number(h),1):delete a[h],d=!0;else if(cp(f)&&cp(e))fp(f,e);else if(typeof f==="function"&&ap in f&&typeof f[ap]==="function"){h=f();var k=e;dp(h)&&dp(e)?k=ep(e,!0):cp(h)&&cp(e)&&(k=fp(h,e)?dp(h)?[].concat(_.ma(h)):Object.assign({},h):h);f[ap](k)}else throw Error("tb");
else e!==void 0&&(a[h]=ep(e),d=!0)}return d};Sha=function(a){if(!a||Object.getPrototypeOf(a)!==Object.prototype)throw Error("ub");var b=ep(a,!0);return[b,function(c){(typeof c==="function"?function(){return void c(b)}:function(){return void fp(b,c)})()}]};_.gp=function(a,b){return Wn(a,function(){return _.Zm(null,b)})};
_.hp=function(a){if(a){var b;(b=a._disposeRef)==null||b.call(a);var c;(c=a._disposeEffects)==null||c.call(a);a.__instance&&a.__instance instanceof Jo&&(b=a.__instance,Aha(b,a),b instanceof Mo&&b.G());for(b=0;b<a.childNodes.length;b++)_.hp(a.childNodes[b])}};
Tha=function(a){ip.push(a)===1&&requestAnimationFrame(function(){setTimeout(function(){var b=[].concat(_.ma(ip));ip=[];b=_.u(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;try{for(var d=0;d<c.length;d++)_.hp(c[d])}catch(e){d=c=void 0,(d=(c=Kn).handleError)==null||d.call.apply(d,[c].concat(_.ma(Gn(e))))}}})})};_.H=function(a,b){return io.apply(null,[a,b].concat(_.ma(_.Ka.apply(2,arguments))))};
Uha=function(a,b,c){if(a!==_.Oo)return!1;a=Ro(document.createElement("div"),function(){jo(ho,function(){c[0]()})});a=Array.from(a.childNodes);a.length===1&&(a=a[0]);return a};_.J=function(a){this.name=a};_.jp=function(a){this.name=a};kp=function(a){this.key=a};_.lp=function(a){this.TD=a};_.mp=function(a){return new kp(a)};np=function(){this.A=new Map;this.j=new Map;this.o=new Map};
Vha=function(a,b){b=b.TD;if(a.j.has(b))return a.j.get(b).promise;var c={};c.promise=new Promise(function(d,e){c.Ro=d;c.lI=e});a.j.set(b,c);return c.promise};
pp=function(a,b,c,d){d=d===void 0?!1:d;if(c.indexOf(b)>-1)throw Error("wb`"+b);if(a.o.has(b))return a.o.get(b);if(!a.A.has(b)){if(d)return;throw Error("xb`"+b);}d=a.A.get(b);c.push(b);if(d.Xa!==void 0)var e=d.Xa;else if(d.eg)e=d[_.op]?Wha(a,d[_.op],c):[],e=d.eg.apply(d,_.ma(e));else if(d.wa){e=d.wa;var f=e[_.op]?Wha(a,e[_.op],c):[];e=new (Function.prototype.bind.apply(e,[null].concat(_.ma(f))))}else throw Error("yb`"+b);c.pop();d.hS||a.o.set(b,e);return e};
Wha=function(a,b,c){return b?b.map(function(d){return d instanceof kp?pp(a,d.key,c,!0):pp(a,d,c)}):[]};_.K=function(){qp||(qp=new np);return qp};_.Xha=function(a,b){var c,d;_.z(function(e){c=_.K();return(d=c.resolve(_.mp(a)))?(b(d),e.return(Promise.resolve(d))):e.return(c.resolve(new _.lp(a)).then(function(f){b(f);return f}))})};sp=function(){var a=arguments;a.length>1?rp[a[0]]=a[1]:a.length===1&&Object.assign(rp,a[0])};_.L=function(a,b){return a in rp?rp[a]:b};
tp=function(a){var b=rp.EXPERIMENT_FLAGS;return b?b[a]:void 0};_.M=function(a){a=vp(a);return typeof a==="string"&&a==="false"?!1:!!a};_.wp=function(a,b){a=vp(a);return a===void 0&&b!==void 0?b:Number(a||0)};_.xp=function(a){a=vp(a);return a!==void 0?String(a):""};Yha=function(){var a=vp("mini_app_ids_without_game_ready");return Array.isArray(a)?_.yp(a,function(b){return String(b||"")}):[String(a||"")]};zp=function(){return _.L("EXPERIMENTS_TOKEN","")};
vp=function(a){return _.L("EXPERIMENT_FLAGS",{})[a]};Ap=function(){for(var a=[],b=_.L("EXPERIMENTS_FORCED_FLAGS",{}),c=_.u(Object.keys(b)),d=c.next();!d.done;d=c.next())d=d.value,a.push({key:d,value:String(b[d])});c=_.L("EXPERIMENT_FLAGS",{});d=_.u(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};
Zha=function(a){if(window.crypto&&window.crypto.getRandomValues)try{var b=Array(a),c=new Uint8Array(a);window.crypto.getRandomValues(c);for(var d=0;d<b.length;d++)b[d]=c[d];return b}catch(f){}b=Array(a);for(c=0;c<a;c++){d=Date.now();for(var e=0;e<d%23;e++)b[c]=Math.random();b[c]=Math.floor(Math.random()*256)}if(Bp)for(c=1,d=0;d<Bp.length;d++)b[c%a]=b[c%a]^b[(c-1)%a]/4^Bp.charCodeAt(d),c++;return b};
_.Cp=function(a){a=Zha(a);for(var b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};aia=function(a){$ha.forEach(function(b){return b(a)})};_.Ep=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){_.Dp(b)}}:a};
_.Dp=function(a){var b=_.Ua("yt.logging.errors.log");b?b(a,"ERROR",void 0,void 0,void 0,void 0,void 0):(b=_.L("ERRORS",[]),b.push([a,"ERROR",void 0,void 0,void 0,void 0,void 0]),sp("ERRORS",b));aia(a)};_.Fp=function(a,b,c,d,e){var f=_.Ua("yt.logging.errors.log");f?f(a,"WARNING",b,c,d,void 0,e):(f=_.L("ERRORS",[]),f.push([a,"WARNING",b,c,d,void 0,e]),sp("ERRORS",f))};Gp=function(){this.data=[];this.j=-1};
bia=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};_.cia=function(a,b,c){a&&b!==null&&b!=b.top&&(b=b.top);try{if(c===void 0?0:c)var d=(new _.Pi(b.innerWidth,b.innerHeight)).round();else{var e=(b||window).document,f=e.compatMode=="CSS1Compat"?e.documentElement:e.body;d=(new _.Pi(f.clientWidth,f.clientHeight)).round()}return d}catch(h){return new _.Pi(-12245933,-12245933)}};
_.dia=function(a){return a.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0};
Hp=function(a,b){b=a.split(b);for(var c={},d=0,e=b.length;d<e;d++){var f=b[d].split("=");if(f.length===1&&f[0]||f.length===2)try{var h=eia(f[0]||""),k=eia(f[1]||"");if(h in c){var l=c[h];Array.isArray(l)?Ub(l,k):c[h]=[l,k]}else c[h]=k}catch(q){var m=q,n=f[0],p=String(Hp);m.args=[{key:n,value:f[1],query:a,method:fia===p?"unchanged":p}];gia.hasOwnProperty(n)||_.Fp(m)}}return c};
hia=function(a){var b=[];Kh(a,function(c,d){var e=ki(d);_.Xi(Array.isArray(c)?c:[c],function(f){f==""?b.push(e):b.push(e+"="+ki(f))})});return b.join("&")};_.Ip=function(a){a.charAt(0)==="?"&&(a=a.substring(1));return Hp(a,"&")};_.Jp=function(a){return a.indexOf("?")!==-1?(a=(a||"").split("#")[0],a=a.split("?",2),_.Ip(a.length>1?a[1]:a[0])):{}};
Kp=function(a,b,c){var d=a.split("#",2);a=d[0];d=d.length>1?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=_.Ip(e[1]||"");for(var f in b)!c&&e!==null&&f in e||(e[f]=b[f]);return wi(a,e)+d};Lp=function(a){if(!b)var b=window.location.href;var c=_.qi(1,a),d=_.ri(a);c&&d?(a=a.match(pi),b=b.match(pi),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?_.ri(b)===d&&(Number(_.qi(4,b))||null)===(Number(_.qi(4,a))||null):!0;return a};_.iia=function(a){a=_.ri(a);return a!==null?a.split(".").reverse():null};
eia=function(a){return a&&a.match(jia)?a:li(a)};
Np=function(a){var b=kia;a=a===void 0?_.Ua("yt.ads.biscotti.lastId_")||"":a;var c=Object,d=c.assign,e={};e.dt=lia;e.flash="0";a:{try{var f=b.j.top.location.href}catch(pa){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();var h=h===void 0?Mp:h;try{var k=h.history.length}catch(pa){k=0}e.u_his=k;var l;e.u_h=(l=Mp.screen)==null?void 0:l.height;var m;e.u_w=(m=Mp.screen)==null?void 0:m.width;var n;e.u_ah=(n=Mp.screen)==null?void 0:n.availHeight;var p;e.u_aw=
(p=Mp.screen)==null?void 0:p.availWidth;var q;e.u_cd=(q=Mp.screen)==null?void 0:q.colorDepth}catch(pa){}k=b.j;try{var r=k.screenX;var t=k.screenY}catch(pa){}try{var w=k.outerWidth;var y=k.outerHeight}catch(pa){}try{var B=k.innerWidth;var A=k.innerHeight}catch(pa){}try{var E=k.screenLeft;var I=k.screenTop}catch(pa){}try{B=k.innerWidth,A=k.innerHeight}catch(pa){}try{var G=k.screen.availWidth;var X=k.screen.availTop}catch(pa){}r=[E,I,r,t,G,X,w,y,B,A];t=_.cia(!1,b.j.top);w={};var ca=ca===void 0?_.Sa:
ca;y=new Gp;"SVGElement"in ca&&"createElementNS"in ca.document&&y.set(0);B=Bfa();B["allow-top-navigation-by-user-activation"]&&y.set(1);B["allow-popups-to-escape-sandbox"]&&y.set(2);ca.crypto&&ca.crypto.subtle&&y.set(3);"TextDecoder"in ca&&"TextEncoder"in ca&&y.set(4);ca=bia(y);b=(w.bc=ca,w.bih=t.height,w.biw=t.width,w.brdim=r.join(),w.vis=_.dia(b.o),w.wgl=!!Mp.WebGLRenderingContext,w);c=d.call(c,e,b);c.ca_type="image";a&&(c.bid=a);return c};
nia=function(){if(!mia)return null;var a=mia();return"open"in a?a:null};_.oia=function(a){switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};_.Op=function(a,b){typeof a==="function"&&(a=_.Ep(a));return window.setTimeout(a,b)};_.Pp=function(a,b){typeof a==="function"&&(a=_.Ep(a));return window.setInterval(a,b)};
qia=function(){for(var a=_.Jp(location.search),b=_.u(pia),c=b.next();!c.done;c=b.next())if(a[c.value]!==void 0)return!0;return!1};
Qp=function(a,b,c,d,e,f,h,k){function l(){(m&&"readyState"in m?m.readyState:0)===4&&b&&_.Ep(b)(m)}c=c===void 0?"GET":c;d=d===void 0?"":d;k=k===void 0?!1:k;var m=nia();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;_.M("debug_forward_web_query_parameters")&&(a=ria(a,window.location.search));m.open(c,a,!0);f&&(m.responseType=f);h&&(m.withCredentials=!0);c=c==="POST"&&(window.FormData===void 0||!(d instanceof FormData));if(e=sia(a,e))for(var n in e)m.setRequestHeader(n,
e[n]),"content-type"===n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");if(k&&"setAttributionReporting"in XMLHttpRequest.prototype){a={eventSourceEligible:!0,triggerEligible:!1};try{m.setAttributionReporting(a)}catch(p){_.Fp(p)}}m.send(d);return m};
sia=function(a,b){b=b===void 0?{}:b;var c=Lp(a),d=_.L("INNERTUBE_CLIENT_NAME"),e=_.M("web_ajax_ignore_global_headers_if_set"),f;for(f in tia){var h=_.L(tia[f]),k=f==="X-Goog-AuthUser"||f==="X-Goog-PageId";f!=="X-Goog-Visitor-Id"||h||(h=_.L("VISITOR_DATA"));var l;if(!(l=!h)){if(!(l=c||(_.ri(a)?!1:!0))){l=a;var m;if(m=_.M("add_auth_headers_to_remarketing_google_dot_com_ping")&&f==="Authorization"&&(d==="TVHTML5"||d==="TVHTML5_UNPLUGGED"||d==="TVHTML5_SIMPLY"))m=_.iia(l),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=_.oi(_.qi(5,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"&&k||(b[f]=h)}"X-Goog-EOM-Visitor-Id"in b&&"X-Goog-Visitor-Id"in b&&delete b["X-Goog-Visitor-Id"];if(c||!_.ri(a))b["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());if(c||!_.ri(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&&_.ri(a)||(b["X-YouTube-Ad-Signals"]=hia(Np()));return b};uia=function(a,b){var c=_.ri(a);_.M("debug_handle_relative_url_for_query_forward_killswitch")||!c&&Lp(a)&&(c=document.location.hostname);var d=_.oi(_.qi(5,a));d=(c=c&&(c.endsWith("youtube.com")||c.endsWith("youtube-nocookie.com")))&&d&&d.startsWith("/api/");if(!c||d)return a;var e=_.Ip(b),f={};_.Xi(pia,function(h){e[h]&&(f[h]=e[h])});return Kp(a,f||{},!1)};
Sp=function(a,b){b.method="POST";b.postParams||(b.postParams={});return _.Rp(a,b)};
_.Rp=function(a,b){var c=b.format||"JSON";a=via(a,b);var d=wia(a,b),e=!1,f=xia(a,function(l){if(!e){e=!0;k&&window.clearTimeout(k);var m=_.oia(l),n=null,p=400<=l.status&&l.status<500,q=500<=l.status&&l.status<600;if(m||p||q)n=yia(a,c,l,b.convertToSafeHtml);m&&(m=zia(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);d=b.timeout||0;if(b.onTimeout&&d>0){var h=
b.onTimeout;var k=_.Op(function(){e||(e=!0,f.abort(),window.clearTimeout(k),h.call(b.context||_.Sa,f))},d)}return f};via=function(a,b){b.includeDomain&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var c=_.L("XSRF_FIELD_NAME");if(b=b.urlParams)b[c]&&delete b[c],a=Kp(a,b||{},!0);return a};
wia=function(a,b){var c=_.L("XSRF_FIELD_NAME"),d=_.L("XSRF_TOKEN"),e=b.postBody||"",f=b.postParams,h=_.L("XSRF_FIELD_NAME"),k;b.headers&&(k=b.headers["Content-Type"]);b.excludeXsrf||_.ri(a)&&!b.withCredentials&&_.ri(a)!==document.location.hostname||b.method!=="POST"||k&&k!=="application/x-www-form-urlencoded"||b.postParams&&b.postParams[h]||(f||(f={}),f[c]=d);(_.M("ajax_parse_query_data_only_when_filled")&&f&&Object.keys(f).length>0||f)&&typeof e==="string"&&(e=_.Ip(e),_.Uh(e,f),e=b.postBodyFormat&&
b.postBodyFormat==="JSON"?JSON.stringify(e):vi(e));f=e||f&&!_.Ph(f);!Aia&&f&&b.method!=="POST"&&(Aia=!0,_.Dp(Error("zb")));return e};
yia=function(a,b,c,d){var e=null;switch(b){case "JSON":try{var f=c.responseText}catch(h){throw d=Error("Ab"),d.params=a,_.Fp(d),h;}a=c.getResponseHeader("Content-Type")||"";f&&a.indexOf("json")>=0&&(f.substring(0,5)===")]}'\n"&&(f=f.substring(5)),e=JSON.parse(f));break;case "XML":if(a=(a=c.responseXML)?Bia(a):null)e={},_.Xi(a.getElementsByTagName("*"),function(h){e[h.tagName]=Cia(h)})}d&&Dia(e);return e};Dia=function(a){if(cb(a))for(var b in a)b==="html_content"||_.vb(b,"_html")?a[b]=Yh(a[b]):Dia(a[b])};
zia=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}};Bia=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&a.length>0?a[0]:null:null};Cia=function(a){var b="";_.Xi(a.childNodes,function(c){b+=c.nodeValue});return b};Tp=function(a){this.T=_.Nd(a)};Up=function(a){this.T=_.Nd(a)};Vp=function(a){this.T=_.Nd(a)};Re=function(a){this.T=_.Nd(a)};
Eia=function(a,b){_.qf(a,1,b)};Wp=function(a){this.T=_.Nd(a,13)};Xp=function(a){this.T=_.Nd(a)};Yp=function(a){this.T=_.Nd(a)};Zp=function(a){this.T=_.Nd(a)};$p=function(a){this.T=_.Nd(a)};aq=function(a){this.T=_.Nd(a)};bq=function(a){this.T=_.Nd(a)};Fia=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})};
cq=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"}};
dq=function(){this.Xt=!0};_.Gia=function(){dq.j||(dq.j=new dq);return dq.j};
_.eq=function(a,b){a={};var c=[],d=_.M("enable_first_party_auth_v2")||(b==null?void 0:b.xx)&&_.M("enable_first_party_auth_v2_on_get_account_menu");"USER_SESSION_ID"in rp&&d&&c.push({key:"u",value:_.L("USER_SESSION_ID")});if(c=xda(c))a.Authorization=c,c=b=b==null?void 0:b.sessionIndex,c===void 0&&(c=Number(_.L("SESSION_INDEX",0)),c=isNaN(c)?0:c),_.M("voice_search_auth_header_removal")||(a["X-Goog-AuthUser"]=c.toString()),"INNERTUBE_HOST_OVERRIDE"in rp||(a["X-Origin"]=window.location.origin),b===void 0&&
"DELEGATED_SESSION_ID"in rp&&(a["X-Goog-PageId"]=_.L("DELEGATED_SESSION_ID"));return a};Hia=function(a){switch(a){case "DESKTOP":return 1;case "UNKNOWN_PLATFORM":return 0;case "TV":return 2;case "GAME_CONSOLE":return 3;case "MOBILE":return 4;case "TABLET":return 5}};_.gq=function(a,b,c,d,e){_.fq.set(a,b,{Qh:c,path:"/",domain:d===void 0?"youtube.com":d,Sz:e===void 0?!1:e})};Iia=function(a,b,c){_.fq.remove(a,b===void 0?"/":b,c===void 0?"youtube.com":c)};
_.Jia=function(){if(_.M("embeds_web_enable_cookie_detection_fix")){if(!_.Sa.navigator.cookieEnabled)return!1}else if(!_.fq.isEnabled())return!1;if(!_.fq.isEmpty())return!0;_.M("embeds_web_enable_cookie_detection_fix")?_.fq.set("TESTCOOKIESENABLED","1",{Qh:60,Pz:"none",Sz:!0}):_.fq.set("TESTCOOKIESENABLED","1",{Qh:60});if(_.fq.get("TESTCOOKIESENABLED")!=="1")return!1;_.fq.remove("TESTCOOKIESENABLED");return!0};
Kia=function(){this.j=_.L("ALT_PREF_COOKIE_NAME","PREF");this.o=_.L("ALT_PREF_COOKIE_DOMAIN","youtube.com");var a=_.fq.get(this.j,void 0);a&&this.parse(a)};_.iq=function(){hq||(hq=new Kia);return hq};_.jq=function(a,b){return!!((Lia("f"+(Math.floor(b/31)+1))||0)&1<<b%31)};_.lq=function(a,b,c){var d="f"+(Math.floor(b/31)+1);b=1<<b%31;var e=Lia(d)||0;e=c?e|b:e&~b;e===0?delete kq[d]:a.sc(d,e.toString(16))};mq=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("Cb`"+a);};
nq=function(a){if(!/^\w+$/.test(a))throw Error("Db`"+a);};Lia=function(a){a=kq[a]!==void 0?kq[a].toString():null;return a!=null&&/^[A-Fa-f0-9]+$/.test(a)?parseInt(a,16):null};Mia=function(){var a=_.Sa.navigator;return a?a.connection:void 0};Nia=function(){if(typeof Intl!=="undefined")try{return(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(a){}};
Pia=function(){var a=Mia();if(a){var b=Oia[a.type||"unknown"]||"CONN_UNKNOWN";a=Oia[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}};Ria=function(){var a=Mia();if(a!=null&&a.effectiveType)return Qia.hasOwnProperty(a.effectiveType)?Qia[a.effectiveType]:"EFFECTIVE_CONNECTION_TYPE_UNKNOWN"};
_.oq=function(a){var b=_.Ka.apply(1,arguments);var c=Error.call(this,a);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.args=[].concat(_.ma(b))};_.qq=function(){try{return _.pq(),!0}catch(a){return!1}};_.pq=function(a){if(_.L("DATASYNC_ID")!==void 0)return _.L("DATASYNC_ID");throw new _.oq("Datasync ID not set",a===void 0?"unknown":a);};rq=function(){};_.tq=function(a,b,c){return sq(0,b,0,c)};_.uq=function(a,b,c){return sq(0,b,2,c)};vq=function(a,b,c){return sq(0,b,3,c)};
_.wq=function(a,b,c){return sq(0,b,4,c)};Sia=function(a){var b=_.Ua("yt.scheduler.instance.addImmediateJob");b?b(a):a()};xq=function(){rq.apply(this,arguments)};_.yq=function(){xq.j||(xq.j=new xq);return xq.j};sq=function(a,b,c,d){d!==void 0&&Number.isNaN(Number(d))&&(d=void 0);return(a=_.Ua("yt.scheduler.instance.addJob"))?a(b,c,d):d===void 0?(b(),NaN):_.Op(b,d||0)};zq=function(a){this.j=(a=Yda(a))?new Hk(a):null;this.o=document.domain||window.location.hostname};
Bq=function(){var a;return(a=Aq())==null?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)};_.Fq=function(a){Cq||(_.Dq?_.Dq.Cd(a):(_.Eq.push({type:"ERROR",payload:a}),_.Eq.length>10&&_.Eq.shift()))};Gq=function(a,b){Cq||(_.Dq?_.Dq.jl(a,b):(_.Eq.push({type:"EVENT",eventType:a,payload:b}),_.Eq.length>10&&_.Eq.shift()))};Hq=function(a){if(a.indexOf(":")>=0)throw Error("Eb");};Iq=function(a){return a.substr(0,a.indexOf(":"))||a};
_.Kq=function(){return(Tia||Uia)&&Jq("applewebkit")&&!Jq("version")&&(!Jq("safari")||Jq("gsa/"))};Jq=function(a){var b=_.Ab();return b?b.toLowerCase().indexOf(a)>=0:!1};Lq=function(a,b,c,d,e){b=b===void 0?{}:b;c=c===void 0?Via[a]:c;d=d===void 0?Wia[a]:d;e=e===void 0?Xia[a]:e;_.oq.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,Lq.prototype)};
Mq=function(a,b){Lq.call(this,"MISSING_OBJECT_STORES",{expectedObjectStores:b,foundObjectStores:a},Via.MISSING_OBJECT_STORES);Object.setPrototypeOf(this,Mq.prototype)};Nq=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,Nq.prototype)};
Oq=function(a,b,c,d){b=Iq(b);var e=a instanceof Error?a:Error("Fb`"+a);if(e instanceof Lq)return e;a={objectStoreNames:c,dbName:b,dbVersion:d};if(e.name==="QuotaExceededError")return new Lq("QUOTA_EXCEEDED",a);if(Yia&&e.name==="UnknownError")return new Lq("QUOTA_MAYBE_EXCEEDED",a);if(e instanceof Nq)return new Lq("MISSING_INDEX",Object.assign({},a,{objectStore:e.objectStore,index:e.index}));if(e.name==="InvalidStateError"&&Zia.some(function(f){return e.message.includes(f)}))return new Lq("EXECUTE_TRANSACTION_ON_CLOSED_DB",
a);if(e.name==="AbortError")return new Lq("UNKNOWN_ABORT",a,e.message);e.args=[Object.assign({},a,{name:"IdbError",Wy:e.name})];e.level="WARNING";return e};Pq=function(a,b,c){var d=Bq();return new Lq("IDB_NOT_SUPPORTED",{context:{caller:a,publicName:b,version:c,hasSucceededOnce:d==null?void 0:d.hasSucceededOnce}})};$ia=function(a){if(!a)throw Error();throw a;};aja=function(a){return a};Qq=function(a){this.j=a};
Rq=function(a){function b(e){if(d.state.status==="PENDING"){d.state={status:"REJECTED",reason:e};e=_.u(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=_.u(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)}};
bja=function(a,b,c,d,e){try{if(a.state.status!=="FULFILLED")throw Error("Gb");var f=c(a.state.value);f instanceof Rq?Sq(a,b,f,d,e):d(f)}catch(h){e(h)}};cja=function(a,b,c,d,e){try{if(a.state.status!=="REJECTED")throw Error("Hb");var f=c(a.state.reason);f instanceof Rq?Sq(a,b,f,d,e):d(f)}catch(h){e(h)}};Sq=function(a,b,c,d,e){b===c?e(new TypeError("Ib")):c.then(function(f){f instanceof Rq?Sq(a,b,f,d,e):d(f)},function(f){e(f)})};
dja=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(h){}}a.addEventListener("success",e);a.addEventListener("error",d)};eja=function(a){return new Promise(function(b,c){dja(a,b,c)})};Tq=function(a){return new Rq(new Qq(function(b,c){dja(a,b,c)}))};fja=function(a,b){return new Rq(new Qq(function(c,d){function e(){var f=a?b(a):null;f?f.then(function(h){a=h;e()},d):c()}e()}))};
gja=function(a,b){this.j=a;this.options=b;this.transactionCount=0;this.A=Math.round((0,_.Uq)());this.o=!1};
Wq=function(a,b,c,d){var e,f,h,k,l,m,n,p,q,r,t,w;return _.z(function(y){switch(y.j){case 1:var B={mode:"readonly",hc:!1,tag:"IDB_TRANSACTION_TAG_UNKNOWN"};typeof c==="string"?B.mode=c:Object.assign(B,c);e=B;a.transactionCount++;f=e.hc?3:1;h=0;case 2:if(k){y.L(4);break}h++;l=Math.round((0,_.Uq)());_.xa(y,5);m=a.j.transaction(b,e.mode);B=new Vq(m);B=hja(B,d);return _.x(y,B,7);case 7:return n=y.o,p=Math.round((0,_.Uq)()),ija(a,l,p,h,void 0,b.join(),e),y.return(n);case 5:q=_.Ba(y);r=Math.round((0,_.Uq)());
t=Oq(q,a.j.name,b.join(),a.j.version);if((w=t instanceof Lq&&!t.j)||h>=f)ija(a,l,r,h,t,b.join(),e),k=t;y.L(2);break;case 4:return y.return(Promise.reject(k))}})};
ija=function(a,b,c,d,e,f,h){b=c-b;e?(e instanceof Lq&&(e.type==="QUOTA_EXCEEDED"||e.type==="QUOTA_MAYBE_EXCEEDED")&&Gq("QUOTA_EXCEEDED",{dbName:Iq(a.j.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:h.mode}),e instanceof Lq&&e.type==="UNKNOWN_ABORT"&&(c-=a.A,c<0&&c>=Math.pow(2,31)&&(c=0),Gq("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.o=!0),jja(a,!1,d,f,b,h.tag),_.Fq(e)):jja(a,!0,d,f,
b,h.tag)};jja=function(a,b,c,d,e,f){Gq("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.o,duration:e,isSuccessful:b,tryCount:c,tag:f===void 0?"IDB_TRANSACTION_TAG_UNKNOWN":f})};Xq=function(a){this.j=a};kja=function(a,b){return Yq(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})};lja=function(a,b,c){var d=[];return Yq(a,{query:b},function(e){if(!(c!==void 0&&d.length>=c))return d.push(e.getValue()),e.continue()}).then(function(){return d})};
Yq=function(a,b,c){a=a.j.openCursor(b.query,b.direction);return Zq(a).then(function(d){return fja(d,c)})};
Vq=function(a){var b=this;this.j=a;this.A=new Map;this.o=!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.o){e=Lq;for(var f=b.j.objectStoreNames,h=[],k=0;k<f.length;k++){var l=f.item(k);if(l===null)throw Error("Jb");h.push(l)}e=new e("UNKNOWN_ABORT",{objectStoreNames:h.join(),dbName:b.j.db.name,mode:b.j.mode});
d(e)}})})};hja=function(a,b){var c=new Promise(function(d,e){try{b(a).then(function(f){d(f)}).catch(e)}catch(f){e(f),a.abort()}});return Promise.all([c,a.done]).then(function(d){return _.u(d).next().value})};mja=function(a){this.j=a};nja=function(a,b,c){var d=[];return $q(a,{query:b},function(e){if(!(c!==void 0&&d.length>=c))return d.push(e.getValue()),e.continue()}).then(function(){return d})};
$q=function(a,b,c){a=a.j.openCursor(b.query===void 0?null:b.query,b.direction===void 0?"next":b.direction);return Zq(a).then(function(d){return fja(d,c)})};ar=function(a,b){this.request=a;this.cursor=b};Zq=function(a){return Tq(a).then(function(b){return b?new ar(a,b):null})};
oja=function(a,b,c){return new Promise(function(d,e){function f(){q||(q=new gja(h.result,{closed:p}));return q}var h=b!==void 0?self.indexedDB.open(a,b):self.indexedDB.open(a);var k=c.blocked,l=c.blocking,m=c.vJ,n=c.upgrade,p=c.closed,q;h.addEventListener("upgradeneeded",function(r){try{if(r.newVersion===null)throw Error("Kb");if(h.transaction===null)throw Error("Lb");r.dataLoss&&r.dataLoss!=="none"&&Gq("IDB_DATA_CORRUPTED",{reason:r.dataLossMessage||"unknown reason",dbName:Iq(a)});var t=f(),w=new Vq(h.transaction);
n&&n(t,function(y){return r.oldVersion<y&&r.newVersion>=y},w);w.done.catch(function(y){e(y)})}catch(y){e(y)}});h.addEventListener("success",function(){var r=h.result;l&&r.addEventListener("versionchange",function(){l(f())});r.addEventListener("close",function(){Gq("IDB_UNEXPECTEDLY_CLOSED",{dbName:Iq(a),dbVersion:r.version});m&&m()});d(f())});h.addEventListener("error",function(){e(h.error)});k&&h.addEventListener("blocked",function(){k()})})};
pja=function(a,b,c){c=c===void 0?{}:c;return oja(a,b,c)};_.br=function(a,b){b=b===void 0?{}:b;var c,d,e,f;return _.z(function(h){if(h.j==1)return _.xa(h,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.blocked)&&c.addEventListener("blocked",function(){e()}),_.x(h,eja(c),4);if(h.j!=2)return _.ya(h,0);f=_.Ba(h);throw Oq(f,a,"",-1);})};cr=function(a,b){this.name=a;this.options=b;this.A=!0;this.G=this.B=0};
qja=function(a,b){return new Lq("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})};dr=function(a,b){if(!b)throw Pq("openWithToken",Iq(a.name));return a.open()};
rja=function(a,b){var c;return _.z(function(d){if(d.j==1)return _.x(d,dr(er,b),2);c=d.o;return d.return(Wq(c,["databases"],{hc:!0,mode:"readwrite"},function(e){var f=e.objectStore("databases");return f.get(a.actualName).then(function(h){if(h?a.actualName!==h.actualName||a.publicName!==h.publicName||a.userIdentifier!==h.userIdentifier:1)return f.put(a).then(function(){})})}))})};
_.fr=function(a,b){var c;return _.z(function(d){if(d.j==1)return a?_.x(d,dr(er,b),2):d.return();c=d.o;return d.return(c.delete("databases",a))})};_.gr=function(a,b){var c,d;return _.z(function(e){return e.j==1?(c=[],_.x(e,dr(er,b),2)):e.j!=3?(d=e.o,_.x(e,Wq(d,["databases"],{hc:!0,mode:"readonly"},function(f){c.length=0;return Yq(f.objectStore("databases"),{},function(h){a(h.getValue())&&c.push(h.getValue());return h.continue()})}),3)):e.return(c)})};
sja=function(a,b){return _.gr(function(c){return c.publicName===a&&c.userIdentifier!==void 0},b)};
vja=function(){var a,b,c,d;return _.z(function(e){switch(e.j){case 1:a=Bq();if((b=a)==null?0:b.hasSucceededOnce)return e.return(!0);var f;if(f=tja)f=/WebKit\/([0-9]+)/.exec(_.Ab()),f=!!(f&&parseInt(f[1],10)>=600);f&&(f=/WebKit\/([0-9]+)/.exec(_.Ab()),f=!(f&&parseInt(f[1],10)>=602));if(f||uja)return e.return(!1);try{if(c=self,!(c.indexedDB&&c.IDBIndex&&c.IDBKeyRange&&c.IDBObjectStore))return e.return(!1)}catch(h){return e.return(!1)}if(!("IDBTransaction"in self&&"objectStoreNames"in IDBTransaction.prototype))return e.return(!1);
_.xa(e,2);d={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0};return _.x(e,rja(d,hr),4);case 4:return _.x(e,_.fr("yt-idb-test-do-not-use",hr),5);case 5:return e.return(!0);case 2:return _.Ba(e),e.return(!1)}})};
_.jr=function(){if(ir!==void 0)return ir;Cq=!0;return ir=vja().then(function(a){Cq=!1;var b;if((b=Aq())!=null&&b.j){var c;b={hasSucceededOnce:((c=Bq())==null?void 0:c.hasSucceededOnce)||a};var d;(d=Aq())==null||d.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0)}return a})};kr=function(){return _.Ua("ytglobal.idbToken_")||void 0};_.lr=function(){var a=kr();return a?Promise.resolve(a):_.jr().then(function(b){(b=b?hr:void 0)&&_.Ta("ytglobal.idbToken_",b);return b})};
wja=function(a){if(!_.qq())throw a=new Lq("AUTH_INVALID",{dbName:a}),_.Fq(a),a;var b=_.pq();return{actualName:a+":"+b,publicName:a,userIdentifier:b}};
xja=function(a,b,c,d){var e,f,h,k,l,m;return _.z(function(n){switch(n.j){case 1:return f=(e=Error().stack)!=null?e:"",_.x(n,_.lr(),2);case 2:h=n.o;if(!h)throw k=Pq("openDbImpl",a,b),_.M("ytidb_async_stack_killswitch")||(k.stack=k.stack+"\n"+f.substring(f.indexOf("\n")+1)),_.Fq(k),k;Hq(a);l=c?{actualName:a,publicName:a,userIdentifier:void 0}:wja(a);_.xa(n,3);return _.x(n,rja(l,h),5);case 5:return _.x(n,pja(l.actualName,b,d),6);case 6:return n.return(n.o);case 3:return m=_.Ba(n),_.xa(n,7),_.x(n,_.fr(l.actualName,
h),9);case 9:_.ya(n,8);break;case 7:_.Ba(n);case 8:throw m;}})};yja=function(a,b,c){c=c===void 0?{}:c;return xja(a,b,!1,c)};zja=function(a,b,c){c=c===void 0?{}:c;return xja(a,b,!0,c)};Aja=function(a,b){b=b===void 0?{}:b;var c,d;return _.z(function(e){if(e.j==1)return _.x(e,_.lr(),2);if(e.j!=3){c=e.o;if(!c)return e.return();Hq(a);d=wja(a);return _.x(e,_.br(d.actualName,b),3)}return _.x(e,_.fr(d.actualName,c),0)})};
Bja=function(a,b,c){a=a.map(function(d){return _.z(function(e){return e.j==1?_.x(e,_.br(d.actualName,b),2):_.x(e,_.fr(d.actualName,c),0)})});return Promise.all(a).then(function(){})};Cja=function(a){var b=b===void 0?{}:b;var c,d;return _.z(function(e){if(e.j==1)return _.x(e,_.lr(),2);if(e.j!=3){c=e.o;if(!c)return e.return();Hq(a);return _.x(e,sja(a,c),3)}d=e.o;return _.x(e,Bja(d,b,c),0)})};
Dja=function(a,b){b=b===void 0?{}:b;var c;return _.z(function(d){if(d.j==1)return _.x(d,_.lr(),2);if(d.j!=3){c=d.o;if(!c)return d.return();Hq(a);return _.x(d,_.br(a,b),3)}return _.x(d,_.fr(a,c),0)})};mr=function(a,b){cr.call(this,a,b);this.options=b;Hq(a)};Eja=function(a,b){var c;return function(){c||(c=new mr(a,b));return c}};nr=function(a,b){return Eja(a,b)};or=function(a){return dr(Fja(),a)};
Gja=function(a,b,c,d){var e,f,h;return _.z(function(k){switch(k.j){case 1:return e={config:a,hashData:b,timestamp:d!==void 0?d:(0,_.Uq)()},_.x(k,or(c),2);case 2:return f=k.o,_.x(k,f.clear("hotConfigStore"),3);case 3:return _.x(k,f.put("hotConfigStore",e),4);case 4:return h=k.o,k.return(h)}})};
Hja=function(a,b,c,d,e){var f,h,k;return _.z(function(l){switch(l.j){case 1:return f={config:a,hashData:b,configData:c,timestamp:e!==void 0?e:(0,_.Uq)()},_.x(l,or(d),2);case 2:return h=l.o,_.x(l,h.clear("coldConfigStore"),3);case 3:return _.x(l,h.put("coldConfigStore",f),4);case 4:return k=l.o,l.return(k)}})};
Ija=function(a){var b,c;return _.z(function(d){return d.j==1?_.x(d,or(a),2):d.j!=3?(b=d.o,c=void 0,_.x(d,Wq(b,["coldConfigStore"],{mode:"readwrite",hc:!0},function(e){return $q(e.objectStore("coldConfigStore").index("coldTimestampIndex"),{direction:"prev"},function(f){c=f.getValue()})}),3)):d.return(c)})};
Jja=function(a){var b,c;return _.z(function(d){return d.j==1?_.x(d,or(a),2):d.j!=3?(b=d.o,c=void 0,_.x(d,Wq(b,["hotConfigStore"],{mode:"readwrite",hc:!0},function(e){return $q(e.objectStore("hotConfigStore").index("hotTimestampIndex"),{direction:"prev"},function(f){c=f.getValue()})}),3)):d.return(c)})};Kja=function(){return _.z(function(a){return _.x(a,Cja("ytGcfConfig"),0)})};
pr=function(){_.xj.call(this);this.o=[];this.j=[];var a=_.Ua("yt.gcf.config.hotUpdateCallbacks");a?(this.o=[].concat(_.ma(a)),this.j=a):(this.j=[],_.Ta("yt.gcf.config.hotUpdateCallbacks",this.j))};qr=function(){this.G=!1;this.B=this.A=0;this.J=new pr};Lja=function(){if(!qr.j){var a=new qr;qr.j=a}return qr.j};
Pja=function(a){var b;_.z(function(c){if(c.j==1)return _.M("start_client_gcf")||_.M("delete_gcf_config_db")?_.M("start_client_gcf")?_.x(c,_.lr(),3):c.L(2):c.return();c.j!=2&&((b=c.o)&&_.qq()&&!_.M("delete_gcf_config_db")?(a.G=!0,Mja(a)):(Nja(a),Oja(a)));return _.M("delete_gcf_config_db")?_.x(c,Kja(),0):c.L(0)})};sr=function(){var a;return(a=rr())!=null?a:_.L("RAW_HOT_CONFIG_GROUP")};
Qja=function(a){var b,c,d,e,f,h;return _.z(function(k){switch(k.j){case 1:if(a.o)return k.return(rr());if(!a.G)return b=Pq("getHotConfig IDB not initialized"),_.Fp(b),k.return(Promise.reject(b));c=kr();d=_.L("TIME_CREATED_MS");if(!c){e=Pq("getHotConfig token error");_.Fp(e);k.L(2);break}return _.x(k,Jja(c),3);case 3:if((f=k.o)&&f.timestamp>d)return tr(a,f.config),ur(a,f.hashData),k.return(rr());case 2:Oja(a);if(!(c&&a.o&&a.hotHashData)){k.L(4);break}return _.x(k,Gja(a.o,a.hotHashData,c,d),4);case 4:return a.o?
k.return(rr()):(h=new _.oq("Config not available in ytConfig"),_.Fp(h),k.return(Promise.reject(h)))}})};
Tja=function(a){var b,c,d,e,f,h;return _.z(function(k){switch(k.j){case 1:if(a.j)return k.return(vr());if(!a.G)return b=Pq("getColdConfig IDB not initialized"),_.Fp(b),k.return(Promise.reject(b));c=kr();d=_.L("TIME_CREATED_MS");if(!c){e=Pq("getColdConfig");_.Fp(e);k.L(2);break}return _.x(k,Ija(c),3);case 3:if((f=k.o)&&f.timestamp>d)return Rja(a,f.config),Sja(a,f.configData),wr(a,f.hashData),k.return(vr());case 2:Nja(a);if(!(c&&a.j&&a.coldHashData&&a.configData)){k.L(4);break}return _.x(k,Hja(a.j,
a.coldHashData,a.configData,c,d),4);case 4:return a.j?k.return(vr()):(h=new _.oq("Config not available in ytConfig"),_.Fp(h),k.return(Promise.reject(h)))}})};Mja=function(a){if(!a.o||!a.j){if(!kr()){var b=Pq("scheduleGetConfigs");_.Fp(b)}a.A||(a.A=_.xr.wb(function(){return _.z(function(c){switch(c.j){case 1:return _.xa(c,2),_.x(c,Qja(a),4);case 4:_.ya(c,3);break;case 2:_.Ba(c);case 3:return _.xa(c,5),_.x(c,Tja(a),7);case 7:_.ya(c,6);break;case 5:_.Ba(c);case 6:a.A&&(a.A=0),_.wa(c)}})},100))}};
Uja=function(a,b,c){var d,e,f;return _.z(function(h){switch(h.j){case 1:if(!_.M("start_client_gcf")){h.L(0);break}c&&tr(a,c);ur(a,b);d=kr();if(!d){h.L(3);break}if(c){h.L(4);break}return _.x(h,Jja(d),5);case 5:e=h.o,c=(f=e)==null?void 0:f.config;case 4:return _.x(h,Gja(c,b,d),3);case 3:if(c)for(var k=c,l=_.u(a.J.j),m=l.next();!m.done;m=l.next())m=m.value,m(k);_.wa(h)}})};
Vja=function(a,b,c){var d,e,f,h;return _.z(function(k){if(k.j==1){if(!_.M("start_client_gcf"))return k.L(0);wr(a,b);return(d=kr())?c?k.L(4):_.x(k,Ija(d),5):k.L(0)}k.j!=4&&(e=k.o,c=(f=e)==null?void 0:f.config);if(!c)return k.L(0);h=c.configData;return _.x(k,Hja(c,b,h,d),0)})};
Wja=function(){var a=Lja(),b=(0,_.Uq)()-a.B;if(!(a.B!==0&&b<_.wp("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.B=(0,_.Uq)());return{coldConfigData:b,hotHashData:c,coldHashData:d}}};Nja=function(a){Rja(a,_.L("RAW_COLD_CONFIG_GROUP"));wr(a,_.L("SERIALIZED_COLD_HASH_DATA"));var b;Sja(a,(b=a.j)==null?void 0:b.configData)};Oja=function(a){tr(a,_.L("RAW_HOT_CONFIG_GROUP"));ur(a,_.L("SERIALIZED_HOT_HASH_DATA"))};
tr=function(a,b){a.o=b;_.Ta("yt.gcf.config.hotConfigGroup",a.o||null)};Rja=function(a,b){a.j=b;_.Ta("yt.gcf.config.coldConfigGroup",a.j||null)};ur=function(a,b){a.hotHashData=b;_.Ta("yt.gcf.config.hotHashData",a.hotHashData||null)};wr=function(a,b){a.coldHashData=b;_.Ta("yt.gcf.config.coldHashData",a.coldHashData||null)};Sja=function(a,b){a.configData=b;_.Ta("yt.gcf.config.coldConfigData",a.configData||null)};rr=function(){return _.Ua("yt.gcf.config.hotConfigGroup")};vr=function(){return _.Ua("yt.gcf.config.coldConfigGroup")};
Xja=function(){return"INNERTUBE_API_KEY"in rp&&"INNERTUBE_API_VERSION"in rp};
yr=function(){return{innertubeApiKey:_.L("INNERTUBE_API_KEY"),innertubeApiVersion:_.L("INNERTUBE_API_VERSION"),Hr:_.L("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),zx:_.L("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),AF:_.L("INNERTUBE_CONTEXT_CLIENT_NAME",1),innertubeContextClientVersion:_.L("INNERTUBE_CONTEXT_CLIENT_VERSION"),Bx:_.L("INNERTUBE_CONTEXT_HL"),Ax:_.L("INNERTUBE_CONTEXT_GL"),BF:_.L("INNERTUBE_HOST_OVERRIDE")||"",DF:!!_.L("INNERTUBE_USE_THIRD_PARTY_AUTH",!1),CF:!!_.L("INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT",
!1),appInstallData:_.L("SERIALIZED_CLIENT_CONFIG_DATA")}};
dka=function(a){var b={client:{hl:a.Bx,gl:a.Ax,clientName:a.zx,clientVersion:a.innertubeContextClientVersion,configInfo:a.Hr}};navigator.userAgent&&(b.client.userAgent=String(navigator.userAgent));var c=_.Sa.devicePixelRatio;c&&c!=1&&(b.client.screenDensityFloat=String(c));c=zp();c!==""&&(b.client.experimentsToken=c);c=Ap();c.length>0&&(b.request={internalExperimentFlags:c});Yja(a,void 0,b);Zja(void 0,b);$ja(void 0,b);aka(a,void 0,b);bka(void 0,b);_.M("start_client_gcf")&&cka(void 0,b);_.L("DELEGATED_SESSION_ID")&&
!_.M("pageid_as_header_web")&&(b.user={onBehalfOfUser:_.L("DELEGATED_SESSION_ID")});!_.M("fill_delegate_context_in_gel_killswitch")&&(a=_.L("INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT"))&&(b.user=Object.assign({},b.user,{serializedDelegationContext:a}));a=Object;c=a.assign;for(var d=b.client,e={},f=_.u(Object.entries(_.Ip(_.L("DEVICE","")))),h=f.next();!h.done;h=f.next()){var k=_.u(h.value);h=k.next().value;k=k.next().value;h==="cbrand"?e.deviceMake=k:h==="cmodel"?e.deviceModel=k:h==="cbr"?e.browserName=
k:h==="cbrver"?e.browserVersion=k:h==="cos"?e.osName=k:h==="cosver"?e.osVersion=k:h==="cplatform"&&(e.platform=k)}b.client=c.call(a,d,e);return b};Yja=function(a,b,c){a=a.zx;if(a==="WEB"||a==="MWEB"||a===1||a===2)if(b){c=_.Te(b,Up,96)||new Up;var d=cq();d=Object.keys(eka).indexOf(d);d=d===-1?null:d;d!==null&&_.sf(c,3,d);_.Ye(b,96,c)}else c&&(c.client.mainAppWebInfo=(d=c.client.mainAppWebInfo)!=null?d:{},c.client.mainAppWebInfo.webDisplayMode=cq())};
Zja=function(a,b){var c=_.Ua("yt.embedded_player.embed_url");c&&(a?(b=_.Te(a,Zp,7)||new Zp,_.rf(b,4,c),_.Ye(a,7,b)):b&&(b.thirdParty={embedUrl:c}))};$ja=function(a,b){var c;if(_.M("web_log_memory_total_kbytes")&&((c=_.Sa.navigator)==null?0:c.deviceMemory)){var d;c=(d=_.Sa.navigator)==null?void 0:d.deviceMemory;a?_.pe(a,95,qd(c*1E6)):b&&(b.client.memoryTotalKbytes=""+c*1E6)}};
aka=function(a,b,c){if(a.appInstallData)if(b){var d;c=(d=_.Te(b,Tp,62))!=null?d:new Tp;_.rf(c,6,a.appInstallData);_.Ye(b,62,c)}else c&&(c.client.configInfo=c.client.configInfo||{},c.client.configInfo.appInstallData=a.appInstallData)};bka=function(a,b){var c=Pia();c&&(a?_.sf(a,61,fka[c]):b&&(b.client.connectionType=c));_.M("web_log_effective_connection_type")&&(c=Ria())&&(a?_.sf(a,94,gka[c]):b&&(b.client.effectiveConnectionType=c))};
hka=function(a,b,c){c=c===void 0?{}:c;var d={};_.L("EOM_VISITOR_DATA")?d={"X-Goog-EOM-Visitor-Id":_.L("EOM_VISITOR_DATA")}:d={"X-Goog-Visitor-Id":c.visitorData||_.L("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;b=c.eP||_.L("AUTHORIZATION");b||(a?b="Bearer "+_.Ua("gapi.auth.getToken")().access_token:(a=_.eq(_.Gia()),_.M("pageid_as_header_web")||delete a["X-Goog-PageId"],d=Object.assign({},d,a)));b&&(d.Authorization=b);return d};
cka=function(a,b){var c=Wja();if(c){var d=c.coldConfigData,e=c.coldHashData;c=c.hotHashData;if(a){var f;b=(f=_.Te(a,Tp,62))!=null?f:new Tp;d=_.rf(b,1,d);e=_.rf(d,3,e);_.rf(e,5,c);_.Ye(a,62,b)}else b&&(b.client.configInfo=b.client.configInfo||{},d&&(b.client.configInfo.coldConfigData=d),e&&(b.client.configInfo.coldHashData=e),c&&(b.client.configInfo.hotHashData=c))}};
ika=function(a){var b,c,d=a.length,e=0;for(b=0;b<d;b++){var f=a.charCodeAt(b);if((f&64512)===55296&&b+1<d){var h=a.charCodeAt(b+1);(h&64512)===56320&&(f=65536+(f-55296<<10)+(h-56320),b++)}e+=f<128?1:f<2048?2:f<65536?3:4}var k=new zr.si(e);for(b=c=0;c<e;b++)f=a.charCodeAt(b),(f&64512)===55296&&b+1<d&&(h=a.charCodeAt(b+1),(h&64512)===56320&&(f=65536+(f-55296<<10)+(h-56320),b++)),f<128?k[c++]=f:(f<2048?k[c++]=192|f>>>6:(f<65536?k[c++]=224|f>>>12:(k[c++]=240|f>>>18,k[c++]=128|f>>>12&63),k[c++]=128|f>>>
6&63),k[c++]=128|f&63);return k};Ar=function(a){for(var b=a.length;--b>=0;)a[b]=0};Br=function(a,b,c,d,e){this.uA=a;this.nE=b;this.mE=c;this.dE=d;this.VG=e;this.mx=a&&a.length};Cr=function(a,b){this.zw=a;this.sj=0;this.Zg=b};Dr=function(a,b){a.qb[a.pending++]=b&255;a.qb[a.pending++]=b>>>8&255};Er=function(a,b,c){a.dc>16-c?(a.Kc|=b<<a.dc&65535,Dr(a,a.Kc),a.Kc=b>>16-a.dc,a.dc+=c-16):(a.Kc|=b<<a.dc&65535,a.dc+=c)};Fr=function(a,b,c){Er(a,c[b*2],c[b*2+1])};
jka=function(a,b){var c=0;do c|=a&1,a>>>=1,c<<=1;while(--b>0);return c>>>1};kka=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]=jka(d[e]++,e))};lka=function(a){var b;for(b=0;b<286;b++)a.gd[b*2]=0;for(b=0;b<30;b++)a.uh[b*2]=0;for(b=0;b<19;b++)a.xc[b*2]=0;a.gd[512]=1;a.Tf=a.Jj=0;a.Td=a.matches=0};mka=function(a){a.dc>8?Dr(a,a.Kc):a.dc>0&&(a.qb[a.pending++]=a.Kc);a.Kc=0;a.dc=0};
nka=function(a,b,c){mka(a);Dr(a,c);Dr(a,~c);zr.Ci(a.qb,a.window,b,c,a.pending);a.pending+=c};oka=function(a,b,c,d){var e=b*2,f=c*2;return a[e]<a[f]||a[e]===a[f]&&d[b]<=d[c]};Gr=function(a,b,c){for(var d=a.tb[c],e=c<<1;e<=a.If;){e<a.If&&oka(b,a.tb[e+1],a.tb[e],a.depth)&&e++;if(oka(b,d,a.tb[e],a.depth))break;a.tb[c]=a.tb[e];c=e;e<<=1}a.tb[c]=d};
pka=function(a,b,c){var d=0;if(a.Td!==0){do{var e=a.qb[a.vk+d*2]<<8|a.qb[a.vk+d*2+1];var f=a.qb[a.ds+d];d++;if(e===0)Fr(a,f,b);else{var h=Hr[f];Fr(a,h+256+1,b);var k=Ir[h];k!==0&&(f-=Jr[h],Er(a,f,k));e--;h=e<256?Kr[e]:Kr[256+(e>>>7)];Fr(a,h,c);k=Lr[h];k!==0&&(e-=Mr[h],Er(a,e,k))}}while(d<a.Td)}Fr(a,256,b)};
Nr=function(a,b){var c=b.zw,d=b.Zg.uA,e=b.Zg.mx,f=b.Zg.dE,h,k=-1;a.If=0;a.Ti=573;for(h=0;h<f;h++)c[h*2]!==0?(a.tb[++a.If]=k=h,a.depth[h]=0):c[h*2+1]=0;for(;a.If<2;){var l=a.tb[++a.If]=k<2?++k:0;c[l*2]=1;a.depth[l]=0;a.Tf--;e&&(a.Jj-=d[l*2+1])}b.sj=k;for(h=a.If>>1;h>=1;h--)Gr(a,c,h);l=f;do h=a.tb[1],a.tb[1]=a.tb[a.If--],Gr(a,c,1),d=a.tb[1],a.tb[--a.Ti]=h,a.tb[--a.Ti]=d,c[l*2]=c[h*2]+c[d*2],a.depth[l]=(a.depth[h]>=a.depth[d]?a.depth[h]:a.depth[d])+1,c[h*2+1]=c[d*2+1]=l,a.tb[1]=l++,Gr(a,c,1);while(a.If>=
2);a.tb[--a.Ti]=a.tb[1];h=b.zw;l=b.sj;d=b.Zg.uA;e=b.Zg.mx;f=b.Zg.nE;var m=b.Zg.mE,n=b.Zg.VG,p,q=0;for(p=0;p<=15;p++)a.rf[p]=0;h[a.tb[a.Ti]*2+1]=0;for(b=a.Ti+1;b<573;b++){var r=a.tb[b];p=h[h[r*2+1]*2+1]+1;p>n&&(p=n,q++);h[r*2+1]=p;if(!(r>l)){a.rf[p]++;var t=0;r>=m&&(t=f[r-m]);var w=h[r*2];a.Tf+=w*(p+t);e&&(a.Jj+=w*(d[r*2+1]+t))}}if(q!==0){do{for(p=n-1;a.rf[p]===0;)p--;a.rf[p]--;a.rf[p+1]+=2;a.rf[n]--;q-=2}while(q>0);for(p=n;p!==0;p--)for(r=a.rf[p];r!==0;)d=a.tb[--b],d>l||(h[d*2+1]!==p&&(a.Tf+=(p-h[d*
2+1])*h[d*2],h[d*2+1]=p),r--)}kka(c,k,a.rf)};qka=function(a,b,c){var d,e=-1,f=b[1],h=0,k=7,l=4;f===0&&(k=138,l=3);b[(c+1)*2+1]=65535;for(d=0;d<=c;d++){var m=f;f=b[(d+1)*2+1];++h<k&&m===f||(h<l?a.xc[m*2]+=h:m!==0?(m!==e&&a.xc[m*2]++,a.xc[32]++):h<=10?a.xc[34]++:a.xc[36]++,h=0,e=m,f===0?(k=138,l=3):m===f?(k=6,l=3):(k=7,l=4))}};
rka=function(a,b,c){var d,e=-1,f=b[1],h=0,k=7,l=4;f===0&&(k=138,l=3);for(d=0;d<=c;d++){var m=f;f=b[(d+1)*2+1];if(!(++h<k&&m===f)){if(h<l){do Fr(a,m,a.xc);while(--h!==0)}else m!==0?(m!==e&&(Fr(a,m,a.xc),h--),Fr(a,16,a.xc),Er(a,h-3,2)):h<=10?(Fr(a,17,a.xc),Er(a,h-3,3)):(Fr(a,18,a.xc),Er(a,h-11,7));h=0;e=m;f===0?(k=138,l=3):m===f?(k=6,l=3):(k=7,l=4)}}};
ska=function(a){var b=4093624447,c;for(c=0;c<=31;c++,b>>>=1)if(b&1&&a.gd[c*2]!==0)return 0;if(a.gd[18]!==0||a.gd[20]!==0||a.gd[26]!==0)return 1;for(c=32;c<256;c++)if(a.gd[c*2]!==0)return 1;return 0};Or=function(a,b,c){a.qb[a.vk+a.Td*2]=b>>>8&255;a.qb[a.vk+a.Td*2+1]=b&255;a.qb[a.ds+a.Td]=c&255;a.Td++;b===0?a.gd[c*2]++:(a.matches++,b--,a.gd[(Hr[c]+256+1)*2]++,a.uh[(b<256?Kr[b]:Kr[256+(b>>>7)])*2]++);return a.Td===a.fl-1};Qr=function(a,b){a.msg=Pr[b];return b};
Rr=function(a){for(var b=a.length;--b>=0;)a[b]=0};Sr=function(a){var b=a.state,c=b.pending;c>a.Ra&&(c=a.Ra);c!==0&&(zr.Ci(a.output,b.qb,b.yl,c,a.uj),a.uj+=c,b.yl+=c,a.bu+=c,a.Ra-=c,b.pending-=c,b.pending===0&&(b.yl=0))};
Vr=function(a,b){var c=a.xd>=0?a.xd:-1,d=a.ea-a.xd,e=0;if(a.level>0){a.Oa.Dq===2&&(a.Oa.Dq=ska(a));Nr(a,a.Kn);Nr(a,a.Nm);qka(a,a.gd,a.Kn.sj);qka(a,a.uh,a.Nm.sj);Nr(a,a.Kv);for(e=18;e>=3&&a.xc[tka[e]*2+1]===0;e--);a.Tf+=3*(e+1)+14;var f=a.Tf+3+7>>>3;var h=a.Jj+3+7>>>3;h<=f&&(f=h)}else f=h=d+5;if(d+4<=f&&c!==-1)Er(a,b?1:0,3),nka(a,c,d);else if(a.strategy===4||h===f)Er(a,2+(b?1:0),3),pka(a,Tr,Ur);else{Er(a,4+(b?1:0),3);c=a.Kn.sj+1;d=a.Nm.sj+1;e+=1;Er(a,c-257,5);Er(a,d-1,5);Er(a,e-4,4);for(f=0;f<e;f++)Er(a,
a.xc[tka[f]*2+1],3);rka(a,a.gd,c-1);rka(a,a.uh,d-1);pka(a,a.gd,a.uh)}lka(a);b&&mka(a);a.xd=a.ea;Sr(a.Oa)};Wr=function(a,b){a.qb[a.pending++]=b};Xr=function(a,b){a.qb[a.pending++]=b>>>8&255;a.qb[a.pending++]=b&255};
uka=function(a,b){var c=a.jy,d=a.ea,e=a.Id,f=a.vy,h=a.ea>a.Gc-262?a.ea-(a.Gc-262):0,k=a.window,l=a.fh,m=a.Hd,n=a.ea+258,p=k[d+e-1],q=k[d+e];a.Id>=a.bx&&(c>>=2);f>a.qa&&(f=a.qa);do{var r=b;if(k[r+e]===q&&k[r+e-1]===p&&k[r]===k[d]&&k[++r]===k[d+1]){d+=2;for(r++;k[++d]===k[++r]&&k[++d]===k[++r]&&k[++d]===k[++r]&&k[++d]===k[++r]&&k[++d]===k[++r]&&k[++d]===k[++r]&&k[++d]===k[++r]&&k[++d]===k[++r]&&d<n;);r=258-(n-d);d=n-258;if(r>e){a.rj=b;e=r;if(r>=f)break;p=k[d+e-1];q=k[d+e]}}}while((b=m[b&l])>h&&--c!==
0);return e<=a.qa?e:a.qa};
$r=function(a){var b=a.Gc,c;do{var d=a.YA-a.qa-a.ea;if(a.ea>=b+(b-262)){zr.Ci(a.window,a.window,b,b,0);a.rj-=b;a.ea-=b;a.xd-=b;var e=c=a.vn;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.Hd[--e],a.Hd[e]=f>=b?f-b:0;while(--c);d+=b}if(a.Oa.Jc===0)break;e=a.Oa;c=a.window;f=a.ea+a.qa;var h=e.Jc;h>d&&(h=d);h===0?c=0:(e.Jc-=h,zr.Ci(c,e.input,e.Sh,h,f),e.state.wrap===1?e.Ja=Yr(e.Ja,c,h,f):e.state.wrap===2&&(e.Ja=Zr(e.Ja,c,h,f)),e.Sh+=h,e.ki+=h,c=h);a.qa+=c;if(a.qa+a.insert>=3)for(d=a.ea-
a.insert,a.Qa=a.window[d],a.Qa=(a.Qa<<a.Hf^a.window[d+1])&a.Gf;a.insert&&!(a.Qa=(a.Qa<<a.Hf^a.window[d+3-1])&a.Gf,a.Hd[d&a.fh]=a.head[a.Qa],a.head[a.Qa]=d,d++,a.insert--,a.qa+a.insert<3););}while(a.qa<262&&a.Oa.Jc!==0)};
as=function(a,b){for(var c;;){if(a.qa<262){$r(a);if(a.qa<262&&b===0)return 1;if(a.qa===0)break}c=0;a.qa>=3&&(a.Qa=(a.Qa<<a.Hf^a.window[a.ea+3-1])&a.Gf,c=a.Hd[a.ea&a.fh]=a.head[a.Qa],a.head[a.Qa]=a.ea);c!==0&&a.ea-c<=a.Gc-262&&(a.Ua=uka(a,c));if(a.Ua>=3)if(c=Or(a,a.ea-a.rj,a.Ua-3),a.qa-=a.Ua,a.Ua<=a.ts&&a.qa>=3){a.Ua--;do a.ea++,a.Qa=(a.Qa<<a.Hf^a.window[a.ea+3-1])&a.Gf,a.Hd[a.ea&a.fh]=a.head[a.Qa],a.head[a.Qa]=a.ea;while(--a.Ua!==0);a.ea++}else a.ea+=a.Ua,a.Ua=0,a.Qa=a.window[a.ea],a.Qa=(a.Qa<<a.Hf^
a.window[a.ea+1])&a.Gf;else c=Or(a,0,a.window[a.ea]),a.qa--,a.ea++;if(c&&(Vr(a,!1),a.Oa.Ra===0))return 1}a.insert=a.ea<2?a.ea:2;return b===4?(Vr(a,!0),a.Oa.Ra===0?3:4):a.Td&&(Vr(a,!1),a.Oa.Ra===0)?1:2};
bs=function(a,b){for(var c,d;;){if(a.qa<262){$r(a);if(a.qa<262&&b===0)return 1;if(a.qa===0)break}c=0;a.qa>=3&&(a.Qa=(a.Qa<<a.Hf^a.window[a.ea+3-1])&a.Gf,c=a.Hd[a.ea&a.fh]=a.head[a.Qa],a.head[a.Qa]=a.ea);a.Id=a.Ua;a.nz=a.rj;a.Ua=2;c!==0&&a.Id<a.ts&&a.ea-c<=a.Gc-262&&(a.Ua=uka(a,c),a.Ua<=5&&(a.strategy===1||a.Ua===3&&a.ea-a.rj>4096)&&(a.Ua=2));if(a.Id>=3&&a.Ua<=a.Id){d=a.ea+a.qa-3;c=Or(a,a.ea-1-a.nz,a.Id-3);a.qa-=a.Id-1;a.Id-=2;do++a.ea<=d&&(a.Qa=(a.Qa<<a.Hf^a.window[a.ea+3-1])&a.Gf,a.Hd[a.ea&a.fh]=
a.head[a.Qa],a.head[a.Qa]=a.ea);while(--a.Id!==0);a.Ph=0;a.Ua=2;a.ea++;if(c&&(Vr(a,!1),a.Oa.Ra===0))return 1}else if(a.Ph){if((c=Or(a,0,a.window[a.ea-1]))&&Vr(a,!1),a.ea++,a.qa--,a.Oa.Ra===0)return 1}else a.Ph=1,a.ea++,a.qa--}a.Ph&&(Or(a,0,a.window[a.ea-1]),a.Ph=0);a.insert=a.ea<2?a.ea:2;return b===4?(Vr(a,!0),a.Oa.Ra===0?3:4):a.Td&&(Vr(a,!1),a.Oa.Ra===0)?1:2};
vka=function(a,b){for(var c,d,e,f=a.window;;){if(a.qa<=258){$r(a);if(a.qa<=258&&b===0)return 1;if(a.qa===0)break}a.Ua=0;if(a.qa>=3&&a.ea>0&&(d=a.ea-1,c=f[d],c===f[++d]&&c===f[++d]&&c===f[++d])){for(e=a.ea+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]&&d<e;);a.Ua=258-(e-d);a.Ua>a.qa&&(a.Ua=a.qa)}a.Ua>=3?(c=Or(a,1,a.Ua-3),a.qa-=a.Ua,a.ea+=a.Ua,a.Ua=0):(c=Or(a,0,a.window[a.ea]),a.qa--,a.ea++);if(c&&(Vr(a,!1),a.Oa.Ra===0))return 1}a.insert=0;return b===
4?(Vr(a,!0),a.Oa.Ra===0?3:4):a.Td&&(Vr(a,!1),a.Oa.Ra===0)?1:2};wka=function(a,b){for(var c;;){if(a.qa===0&&($r(a),a.qa===0)){if(b===0)return 1;break}a.Ua=0;c=Or(a,0,a.window[a.ea]);a.qa--;a.ea++;if(c&&(Vr(a,!1),a.Oa.Ra===0))return 1}a.insert=0;return b===4?(Vr(a,!0),a.Oa.Ra===0?3:4):a.Td&&(Vr(a,!1),a.Oa.Ra===0)?1:2};cs=function(a,b,c,d,e){this.OE=a;this.UG=b;this.kH=c;this.TG=d;this.AE=e};
xka=function(){this.Oa=null;this.status=0;this.qb=null;this.wrap=this.pending=this.yl=this.ae=0;this.Ia=null;this.ue=0;this.method=8;this.nj=-1;this.fh=this.yu=this.Gc=0;this.window=null;this.YA=0;this.head=this.Hd=null;this.vy=this.bx=this.strategy=this.level=this.ts=this.jy=this.Id=this.qa=this.rj=this.ea=this.Ph=this.nz=this.Ua=this.xd=this.Hf=this.Gf=this.xr=this.vn=this.Qa=0;this.gd=new zr.hf(1146);this.uh=new zr.hf(122);this.xc=new zr.hf(78);Rr(this.gd);Rr(this.uh);Rr(this.xc);this.Kv=this.Nm=
this.Kn=null;this.rf=new zr.hf(16);this.tb=new zr.hf(573);Rr(this.tb);this.Ti=this.If=0;this.depth=new zr.hf(573);Rr(this.depth);this.dc=this.Kc=this.insert=this.matches=this.Jj=this.Tf=this.vk=this.Td=this.fl=this.ds=0};
yka=function(a,b){if(!a||!a.state||b>5||b<0)return a?Qr(a,-2):-2;var c=a.state;if(!a.output||!a.input&&a.Jc!==0||c.status===666&&b!==4)return Qr(a,a.Ra===0?-5:-2);c.Oa=a;var d=c.nj;c.nj=b;if(c.status===42)if(c.wrap===2)a.Ja=0,Wr(c,31),Wr(c,139),Wr(c,8),c.Ia?(Wr(c,(c.Ia.text?1:0)+(c.Ia.vg?2:0)+(c.Ia.extra?4:0)+(c.Ia.name?8:0)+(c.Ia.comment?16:0)),Wr(c,c.Ia.time&255),Wr(c,c.Ia.time>>8&255),Wr(c,c.Ia.time>>16&255),Wr(c,c.Ia.time>>24&255),Wr(c,c.level===9?2:c.strategy>=2||c.level<2?4:0),Wr(c,c.Ia.os&
255),c.Ia.extra&&c.Ia.extra.length&&(Wr(c,c.Ia.extra.length&255),Wr(c,c.Ia.extra.length>>8&255)),c.Ia.vg&&(a.Ja=Zr(a.Ja,c.qb,c.pending,0)),c.ue=0,c.status=69):(Wr(c,0),Wr(c,0),Wr(c,0),Wr(c,0),Wr(c,0),Wr(c,c.level===9?2:c.strategy>=2||c.level<2?4:0),Wr(c,3),c.status=113);else{var e=8+(c.yu-8<<4)<<8;e|=(c.strategy>=2||c.level<2?0:c.level<6?1:c.level===6?2:3)<<6;c.ea!==0&&(e|=32);c.status=113;Xr(c,e+(31-e%31));c.ea!==0&&(Xr(c,a.Ja>>>16),Xr(c,a.Ja&65535));a.Ja=1}if(c.status===69)if(c.Ia.extra){for(e=
c.pending;c.ue<(c.Ia.extra.length&65535)&&(c.pending!==c.ae||(c.Ia.vg&&c.pending>e&&(a.Ja=Zr(a.Ja,c.qb,c.pending-e,e)),Sr(a),e=c.pending,c.pending!==c.ae));)Wr(c,c.Ia.extra[c.ue]&255),c.ue++;c.Ia.vg&&c.pending>e&&(a.Ja=Zr(a.Ja,c.qb,c.pending-e,e));c.ue===c.Ia.extra.length&&(c.ue=0,c.status=73)}else c.status=73;if(c.status===73)if(c.Ia.name){e=c.pending;do{if(c.pending===c.ae&&(c.Ia.vg&&c.pending>e&&(a.Ja=Zr(a.Ja,c.qb,c.pending-e,e)),Sr(a),e=c.pending,c.pending===c.ae)){var f=1;break}f=c.ue<c.Ia.name.length?
c.Ia.name.charCodeAt(c.ue++)&255:0;Wr(c,f)}while(f!==0);c.Ia.vg&&c.pending>e&&(a.Ja=Zr(a.Ja,c.qb,c.pending-e,e));f===0&&(c.ue=0,c.status=91)}else c.status=91;if(c.status===91)if(c.Ia.comment){e=c.pending;do{if(c.pending===c.ae&&(c.Ia.vg&&c.pending>e&&(a.Ja=Zr(a.Ja,c.qb,c.pending-e,e)),Sr(a),e=c.pending,c.pending===c.ae)){f=1;break}f=c.ue<c.Ia.comment.length?c.Ia.comment.charCodeAt(c.ue++)&255:0;Wr(c,f)}while(f!==0);c.Ia.vg&&c.pending>e&&(a.Ja=Zr(a.Ja,c.qb,c.pending-e,e));f===0&&(c.status=103)}else c.status=
103;c.status===103&&(c.Ia.vg?(c.pending+2>c.ae&&Sr(a),c.pending+2<=c.ae&&(Wr(c,a.Ja&255),Wr(c,a.Ja>>8&255),a.Ja=0,c.status=113)):c.status=113);if(c.pending!==0){if(Sr(a),a.Ra===0)return c.nj=-1,0}else if(a.Jc===0&&(b<<1)-(b>4?9:0)<=(d<<1)-(d>4?9:0)&&b!==4)return Qr(a,-5);if(c.status===666&&a.Jc!==0)return Qr(a,-5);if(a.Jc!==0||c.qa!==0||b!==0&&c.status!==666){d=c.strategy===2?wka(c,b):c.strategy===3?vka(c,b):ds[c.level].AE(c,b);if(d===3||d===4)c.status=666;if(d===1||d===3)return a.Ra===0&&(c.nj=-1),
0;if(d===2&&(b===1?(Er(c,2,3),Fr(c,256,Tr),c.dc===16?(Dr(c,c.Kc),c.Kc=0,c.dc=0):c.dc>=8&&(c.qb[c.pending++]=c.Kc&255,c.Kc>>=8,c.dc-=8)):b!==5&&(Er(c,0,3),nka(c,0,0),b===3&&(Rr(c.head),c.qa===0&&(c.ea=0,c.xd=0,c.insert=0))),Sr(a),a.Ra===0))return c.nj=-1,0}if(b!==4)return 0;if(c.wrap<=0)return 1;c.wrap===2?(Wr(c,a.Ja&255),Wr(c,a.Ja>>8&255),Wr(c,a.Ja>>16&255),Wr(c,a.Ja>>24&255),Wr(c,a.ki&255),Wr(c,a.ki>>8&255),Wr(c,a.ki>>16&255),Wr(c,a.ki>>24&255)):(Xr(c,a.Ja>>>16),Xr(c,a.Ja&65535));Sr(a);c.wrap>0&&
(c.wrap=-c.wrap);return c.pending!==0?0:1};
es=function(a){if(!(this instanceof es))return new es(a);a=this.options=zr.assign({level:-1,method:8,chunkSize:16384,hh:15,aH:8,strategy:0,to:""},a||{});a.raw&&a.hh>0?a.hh=-a.hh:a.RE&&a.hh>0&&a.hh<16&&(a.hh+=16);this.Pq=0;this.msg="";this.ended=!1;this.chunks=[];this.Oa=new zka;this.Oa.Ra=0;var b=this.Oa;var c=a.level,d=a.method,e=a.hh,f=a.aH,h=a.strategy;if(b){var k=1;c===-1&&(c=6);e<0?(k=0,e=-e):e>15&&(k=2,e-=16);if(f<1||f>9||d!==8||e<8||e>15||c<0||c>9||h<0||h>4)b=Qr(b,-2);else{e===8&&(e=9);var l=
new xka;b.state=l;l.Oa=b;l.wrap=k;l.Ia=null;l.yu=e;l.Gc=1<<l.yu;l.fh=l.Gc-1;l.xr=f+7;l.vn=1<<l.xr;l.Gf=l.vn-1;l.Hf=~~((l.xr+3-1)/3);l.window=new zr.si(l.Gc*2);l.head=new zr.hf(l.vn);l.Hd=new zr.hf(l.Gc);l.fl=1<<f+6;l.ae=l.fl*4;l.qb=new zr.si(l.ae);l.vk=l.fl;l.ds=3*l.fl;l.level=c;l.strategy=h;l.method=d;if(b&&b.state){b.ki=b.bu=0;b.Dq=2;c=b.state;c.pending=0;c.yl=0;c.wrap<0&&(c.wrap=-c.wrap);c.status=c.wrap?42:113;b.Ja=c.wrap===2?0:1;c.nj=0;if(!Aka){d=Array(16);for(f=h=0;f<28;f++)for(Jr[f]=h,e=0;e<
1<<Ir[f];e++)Hr[h++]=f;Hr[h-1]=f;for(f=h=0;f<16;f++)for(Mr[f]=h,e=0;e<1<<Lr[f];e++)Kr[h++]=f;for(h>>=7;f<30;f++)for(Mr[f]=h<<7,e=0;e<1<<Lr[f]-7;e++)Kr[256+h++]=f;for(e=0;e<=15;e++)d[e]=0;for(e=0;e<=143;)Tr[e*2+1]=8,e++,d[8]++;for(;e<=255;)Tr[e*2+1]=9,e++,d[9]++;for(;e<=279;)Tr[e*2+1]=7,e++,d[7]++;for(;e<=287;)Tr[e*2+1]=8,e++,d[8]++;kka(Tr,287,d);for(e=0;e<30;e++)Ur[e*2+1]=5,Ur[e*2]=jka(e,5);Bka=new Br(Tr,Ir,257,286,15);Cka=new Br(Ur,Lr,0,30,15);Dka=new Br([],Eka,0,19,7);Aka=!0}c.Kn=new Cr(c.gd,Bka);
c.Nm=new Cr(c.uh,Cka);c.Kv=new Cr(c.xc,Dka);c.Kc=0;c.dc=0;lka(c);c=0}else c=Qr(b,-2);c===0&&(b=b.state,b.YA=2*b.Gc,Rr(b.head),b.ts=ds[b.level].UG,b.bx=ds[b.level].OE,b.vy=ds[b.level].kH,b.jy=ds[b.level].TG,b.ea=0,b.xd=0,b.qa=0,b.insert=0,b.Ua=b.Id=2,b.Ph=0,b.Qa=0);b=c}}else b=-2;if(b!==0)throw Error(Pr[b]);a.header&&(b=this.Oa)&&b.state&&b.state.wrap===2&&(b.state.Ia=a.header);if(a.zk){var m;typeof a.zk==="string"?m=ika(a.zk):Fka.call(a.zk)==="[object ArrayBuffer]"?m=new Uint8Array(a.zk):m=a.zk;a=
this.Oa;f=m;h=f.length;if(a&&a.state)if(m=a.state,b=m.wrap,b===2||b===1&&m.status!==42||m.qa)b=-2;else{b===1&&(a.Ja=Yr(a.Ja,f,h,0));m.wrap=0;h>=m.Gc&&(b===0&&(Rr(m.head),m.ea=0,m.xd=0,m.insert=0),c=new zr.si(m.Gc),zr.Ci(c,f,h-m.Gc,m.Gc,0),f=c,h=m.Gc);c=a.Jc;d=a.Sh;e=a.input;a.Jc=h;a.Sh=0;a.input=f;for($r(m);m.qa>=3;){f=m.ea;h=m.qa-2;do m.Qa=(m.Qa<<m.Hf^m.window[f+3-1])&m.Gf,m.Hd[f&m.fh]=m.head[m.Qa],m.head[m.Qa]=f,f++;while(--h);m.ea=f;m.qa=2;$r(m)}m.ea+=m.qa;m.xd=m.ea;m.insert=m.qa;m.qa=0;m.Ua=m.Id=
2;m.Ph=0;a.Sh=d;a.input=e;a.Jc=c;m.wrap=b;b=0}else b=-2;if(b!==0)throw Error(Pr[b]);this.MO=!0}};fs=function(a,b){b===0&&(a.result=a.options.to==="string"?a.chunks.join(""):zr.Mw(a.chunks));a.chunks=[];a.Pq=b;a.msg=a.Oa.msg};_.Gka=function(a,b){b=b||{};b.RE=!0;b=new es(b);b.push(a,!0);if(b.Pq)throw b.msg||Pr[b.Pq];return b.result};_.gs=function(a){_.xj.call(this);this.H=1;this.A=[];this.B=0;this.j=[];this.o={};this.O=!!a};Hka=function(a,b,c){kj(function(){a.apply(b,c)})};
hs=function(a,b){this.version=a;this.args=b};is=function(a,b){this.topic=a;this.j=b};ks=function(a,b){var c=js();c&&c.publish.call(c,a.toString(),a,b)};
Jka=function(a,b){var c=js();if(!c)return 0;var d=c.subscribe(a.toString(),function(e,f){var h=_.Ua("ytPubsub2Pubsub2SkipSubKey");h&&h==d||(h=function(){if(ls[d])try{if(f&&a instanceof is&&a!=e)try{var k=a.j,l=f;if(!l.args||!l.version)throw Error("Nb");try{if(!k.RA){var m=new k;k.RA=m.version}var n=k.RA}catch(p){}if(!n||l.version!=n)throw Error("Ob");try{f=Reflect.construct(k,_.Tb(l.args))}catch(p){throw p.message="yt.pubsub2.Data.deserialize(): "+p.message,p;}}catch(p){throw p.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+
a.toString()+": "+p.message,p;}b.call(window,f)}catch(p){_.Dp(p)}},Ika[a.toString()]?_.Ua("yt.scheduler.instance")?_.xr.wb(h):_.Op(h,0):h())});ls[d]=!0;ms[a.toString()]||(ms[a.toString()]=[]);ms[a.toString()].push(d);return d};Lka=function(a,b){var c=Jka(a,function(d){b.apply(void 0,arguments);Kka(c)});return c};Kka=function(a){var b=js();b&&(typeof a==="number"&&(a=[a]),_.Xi(a,function(c){b.unsubscribeByKey(c);delete ls[c]}))};js=function(){return _.Ua("ytPubsub2Pubsub2Instance")};
ns=function(a,b,c){c=c===void 0?{sampleRate:.1}:c;Math.random()<Math.min(.02,c.sampleRate/100)&&ks("meta_logging_csi_event",{timerName:a,EJ:b})};_.Mka=function(a){return a?(a=a.privateDoNotAccessOrElseSafeScriptWrappedValue)?_.di(a):null:null};_.os=function(a){return a?(a=a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue)?_.yh(a):null:null};Nka=function(){ps||(ps=_.os(_.L("WORKER_SERIALIZATION_URL")));return ps||void 0};
rs=function(){var a=Nka();qs||a===void 0||(qs=new Worker(_.xh(a),void 0));return qs};Pka=function(){if(typeof Worker==="function"&&Nka()&&!ss){var a=function(c){c=c.data;if(c.op==="gzippedGelBatch"){var d=ts.get(c.key);d&&(Oka(c.gzippedBatch,d.latencyPayload,d.url,d.options,d.sendFn),ts.delete(c.key))}},b=rs();b&&(b.addEventListener("message",a),b.onerror=function(){ts.clear()},ss=!0)}};
ws=function(a,b,c,d,e){e=e===void 0?!1:e;var f={startTime:(0,_.Uq)(),ticks:{},infos:{}};if(_.us)try{var h=_.Qka(b);if(h!=null&&(h>_.Rka||h<_.Ska))d(a,c);else{if(_.M("gzip_gel_with_worker")&&(_.M("initial_gzip_use_main_thread")&&!Tka||!_.M("initial_gzip_use_main_thread"))){ss||Pka();var k=rs();if(k&&!e){ts.set(vs,{latencyPayload:f,url:a,options:c,sendFn:d});k.postMessage({op:"gelBatchToGzip",serializedBatch:b,key:vs});vs++;return}}var l=_.Gka((0,_.Uka)(b));Oka(l,f,a,c,d)}}catch(m){_.Fp(m),d(a,c)}else d(a,
c)};Oka=function(a,b,c,d,e){Tka=!1;var f=(0,_.Uq)();b.ticks.gelc=f;_.xs++;_.M("disable_compression_due_to_performance_degredation")&&f-b.startTime>=_.Vka&&(_.ys++,_.M("abandon_compression_after_N_slow_zips")?_.xs===_.wp("compression_disable_point")&&_.ys>_.Wka&&(_.us=!1):_.us=!1);_.Xka(b);d.headers||(d.headers={});d.headers["Content-Encoding"]="gzip";d.postBody=a;d.postParams=void 0;e(c,d)};_.Qka=function(a){try{return(new Blob(a.split(""))).size}catch(b){return _.Fp(b),null}};
_.Xka=function(a){_.M("gel_compression_csi_killswitch")||!_.M("log_gel_compression_latency")&&!_.M("log_gel_compression_latency_lr")||ns("gel_compression",a,{sampleRate:.1})};
As=function(a){this.zm=this.ic=!1;this.potentialEsfErrorCounter=this.j=0;this.handleError=function(){};this.Si=function(){};this.now=Date.now;this.Dk=!1;var b;this.BA=(b=a.BA)!=null?b:100;var c;this.Kz=(c=a.Kz)!=null?c:1;var d;this.Fz=(d=a.Fz)!=null?d:2592E6;var e;this.zz=(e=a.zz)!=null?e:12E4;var f;this.Jz=(f=a.Jz)!=null?f:5E3;var h;this.hb=(h=a.hb)!=null?h:void 0;this.Zm=!!a.Zm;var k;this.Em=(k=a.Em)!=null?k:.1;var l;this.Fo=(l=a.Fo)!=null?l:10;a.handleError&&(this.handleError=a.handleError);a.Si&&
(this.Si=a.Si);a.Dk&&(this.Dk=a.Dk);a.zm&&(this.zm=a.zm);this.jb=a.jb;this.Be=a.Be;this.Rb=a.Rb;this.Bb=a.Bb;this.sendFn=a.sendFn;this.Vs=a.Vs;this.Is=a.Is;zs(this)&&(!this.jb||this.jb("networkless_logging"))&&Yka(this)};Yka=function(a){zs(a)&&!a.Dk&&(a.ic=!0,a.Zm&&Math.random()<=a.Em&&a.Rb.sD(a.hb),Zka(a),a.Bb.ld()&&a.Nl(),a.Bb.listen(a.Vs,a.Nl.bind(a)),a.Bb.listen(a.Is,a.Qv.bind(a)))};
Bs=function(a,b){var c;return _.z(function(d){switch(d.j){case 1:if(!zs(a))throw Error("Qb");if(b.id===void 0){d.L(2);break}return _.x(d,a.Rb.PG(b.id,a.hb),3);case 3:(c=d.o)||a.Si(Error("Rb"));case 2:if($ka(a,b,a.Fz)){d.L(4);break}a.Si(Error("Sb"));if(b.id===void 0){d.L(5);break}return _.x(d,a.Rb.Li(b.id,a.hb),5);case 5:return d.return();case 4:b.skipRetry||(b=ala(a,b));if(!b){d.L(0);break}if(!b.skipRetry||b.id===void 0){d.L(8);break}return _.x(d,a.Rb.Li(b.id,a.hb),8);case 8:a.sendFn(b.url,b.options,
!!b.skipRetry),_.wa(d)}})};
ala=function(a,b){if(!zs(a))throw Error("Tb");var c=b.options.onError?b.options.onError:function(){};b.options.onError=function(e,f){var h,k,l,m;return _.z(function(n){switch(n.j){case 1:h=bla(f);(k=cla(f))&&a.jb&&a.jb("web_enable_error_204")&&a.handleError(Error("Ub"),b.url,f);if(!(a.jb&&a.jb("nwl_consider_error_code")&&h||a.jb&&!a.jb("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.Fo)){n.L(2);break}if(!a.Bb.Yo){n.L(3);break}return _.x(n,a.Bb.Yo(),3);case 3:if(a.Bb.ld()){n.L(2);break}c(e,
f);if(!a.jb||!a.jb("nwl_consider_error_code")||((l=b)==null?void 0:l.id)===void 0){n.L(6);break}return _.x(n,a.Rb.xt(b.id,a.hb,!1),6);case 6:return n.return();case 2:if(a.jb&&a.jb("nwl_consider_error_code")&&!h&&a.potentialEsfErrorCounter>a.Fo)return n.return();a.potentialEsfErrorCounter++;if(((m=b)==null?void 0:m.id)===void 0){n.L(8);break}return b.sendCount<a.Kz?_.x(n,a.Rb.xt(b.id,a.hb,!0,k?!1:void 0),12):_.x(n,a.Rb.Li(b.id,a.hb),8);case 12:a.Be.wb(function(){a.Bb.ld()&&a.Nl()},a.Jz);case 8:c(e,
f),_.wa(n)}})};var d=b.options.onSuccess?b.options.onSuccess:function(){};b.options.onSuccess=function(e,f){var h;return _.z(function(k){if(k.j==1)return((h=b)==null?void 0:h.id)===void 0?k.L(2):_.x(k,a.Rb.Li(b.id,a.hb),2);a.Bb.Rh&&a.jb&&a.jb("vss_network_hint")&&a.Bb.Rh(!0);d(e,f);_.wa(k)})};return b};$ka=function(a,b,c){b=b.timestamp;return a.now()-b>=c?!1:!0};
Zka=function(a){if(!zs(a))throw Error("Vb");a.Rb.Tw("QUEUED",a.hb).then(function(b){b&&!$ka(a,b,a.zz)?a.Be.wb(function(){return _.z(function(c){if(c.j==1)return b.id===void 0?c.L(2):_.x(c,a.Rb.xt(b.id,a.hb),2);Zka(a);_.wa(c)})}):a.Bb.ld()&&a.Nl()})};Cs=function(a,b){a.ZA&&!a.Bb.ld()?a.ZA(b):a.handleError(b)};zs=function(a){return!!a.hb||a.zm};bla=function(a){var b;return(a=a==null?void 0:(b=a.error)==null?void 0:b.code)&&a>=400&&a<=599?!1:!0};
cla=function(a){var b;a=a==null?void 0:(b=a.error)==null?void 0:b.code;return!(a!==400&&a!==415)};
dla=function(){if(Ds)return Ds();var a={};Ds=nr("LogsDatabaseV2",{Lg:(a.LogsRequestsStore={nf:2},a),shared:!1,upgrade:function(b,c,d){c(2)&&b.createObjectStore("LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.j.indexNames.contains("newRequest")&&d.j.deleteIndex("newRequest"),d.createIndex("newRequestV2",["status","interface","timestamp"],{unique:!1}));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 Ds()};Es=function(a){return dr(dla(),a)};fla=function(a,b){var c,d,e,f;return _.z(function(h){if(h.j==1)return c={startTime:(0,_.Uq)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},ticks:{}},_.x(h,Es(b),2);if(h.j!=3)return d=h.o,e=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:_.L("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),_.x(h,d.put("LogsRequestsStore",e),3);f=h.o;c.ticks.tc=(0,_.Uq)();ela(c);return h.return(f)})};
gla=function(a,b){var c,d,e,f,h,k,l,m;return _.z(function(n){if(n.j==1)return c={startTime:(0,_.Uq)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},ticks:{}},_.x(n,Es(b),2);if(n.j!=3)return d=n.o,e=_.L("INNERTUBE_CONTEXT_CLIENT_NAME",0),f=[a,e,0],h=[a,e,(0,_.Uq)()],k=IDBKeyRange.bound(f,h),l="prev",_.M("use_fifo_for_networkless")&&(l="next"),m=void 0,_.x(n,Wq(d,["LogsRequestsStore"],{mode:"readwrite",hc:!0},function(p){return $q(p.objectStore("LogsRequestsStore").index("newRequestV2"),{query:k,
direction:l},function(q){q.getValue()&&(m=q.getValue(),a==="NEW"&&(m.status="QUEUED",q.update(m)))})}),3);c.ticks.tc=(0,_.Uq)();ela(c);return n.return(m)})};hla=function(a,b){var c;return _.z(function(d){if(d.j==1)return _.x(d,Es(b),2);c=d.o;return d.return(Wq(c,["LogsRequestsStore"],{mode:"readwrite",hc:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(h){if(h)return h.status="QUEUED",f.put(h).then(function(){return h})})}))})};
ila=function(a,b,c,d){c=c===void 0?!0:c;var e;return _.z(function(f){if(f.j==1)return _.x(f,Es(b),2);e=f.o;return f.return(Wq(e,["LogsRequestsStore"],{mode:"readwrite",hc:!0},function(h){var k=h.objectStore("LogsRequestsStore");return k.get(a).then(function(l){return l?(l.status="NEW",c&&(l.sendCount+=1),d!==void 0&&(l.options.compress=d),k.put(l).then(function(){return l})):Rq.resolve(void 0)})}))})};
jla=function(a,b){var c;return _.z(function(d){if(d.j==1)return _.x(d,Es(b),2);c=d.o;return d.return(c.delete("LogsRequestsStore",a))})};kla=function(a){var b,c;return _.z(function(d){if(d.j==1)return _.x(d,Es(a),2);b=d.o;c=(0,_.Uq)()-2592E6;return _.x(d,Wq(b,["LogsRequestsStore"],{mode:"readwrite",hc:!0},function(e){return Yq(e.objectStore("LogsRequestsStore"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})};
lla=function(){_.z(function(a){return _.x(a,Cja("LogsDatabaseV2"),0)})};ela=function(a){_.M("nwl_csi_killswitch")||ns("networkless_performance",a,{sampleRate:1})};nla=function(a){return dr(mla(),a)};
ola=function(a){var b,c;_.z(function(d){if(d.j==1)return _.x(d,nla(a),2);b=d.o;c=(0,_.Uq)()-2592E6;return _.x(d,Wq(b,["SWHealthLog"],{mode:"readwrite",hc:!0},function(e){return Yq(e.objectStore("SWHealthLog"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})};pla=function(a){var b;return _.z(function(c){if(c.j==1)return _.x(c,nla(a),2);b=c.o;return _.x(c,b.clear("SWHealthLog"),0)})};
_.Fs=function(a,b,c,d,e,f,h){e=e===void 0?"":e;f=f===void 0?!1:f;h=h===void 0?!1:h;if(a)if(c&&!Jq("cobalt")){if(a){a=Bh(_.Gh(a));if(a===Fh.toString()||a.startsWith("data"))a="";else{var k=k===void 0?{}:k;a instanceof Wh?k=a:(a=String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"),k.LR&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;")),k.KR&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>")),k.MR&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),
k=Yh(a));a=ki(Ml(Xh(k).toString()))}_.xb(a)||(k=Cca("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),_.Ri(k).body.appendChild(k))}}else if(e)Qp(a,b,"POST",e,d);else if(_.L("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d||h)Qp(a,b,"GET","",d,void 0,f,h);else{b:{try{var l=new Aba({url:a});if(l.A&&l.o||l.B){var m=_.oi(_.qi(5,a));var n=!(!m||!m.endsWith("/aclk")||_.yi(a,"ri")!=="1");break b}}catch(q){}n=!1}if(n){b:{try{if(window.navigator&&window.navigator.sendBeacon&&
window.navigator.sendBeacon(a,"")){var p=!0;break b}}catch(q){}p=!1}p?(b&&b(),k=!0):k=!1}else k=!1;k||qla(a,b)}};qla=function(a,b){var c=new Image,d=""+rla++;Gs[d]=c;c.onload=c.onerror=function(){b&&Gs[d]&&b();delete Gs[d]};c.src=a};sla=function(a){var b;return((b=document.featurePolicy)==null?0:b.allowedFeatures().includes("attribution-reporting"))?a+"&nis=6":a+"&nis=5"};_.tla=function(a,b){b?(a=sla(a),_.Fs(a,void 0,void 0,void 0,"",!0,!0)):_.Fs(a)};Is=function(){Hs||(Hs=new zq("yt.offline"));return Hs};
ula=function(a){if(_.M("offline_error_handling")){var b=Is().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);Is().set("errors",b,2592E3,!0)}};Js=function(){this.j=new Map;this.o=!1};Ks=function(){if(!Js.j){var a=_.Ua("yt.networkRequestMonitor.instance")||new Js;_.Ta("yt.networkRequestMonitor.instance",a);Js.j=a}return Js.j};
Ms=function(a){_.Qj.call(this);var b=this;this.B=this.j=0;this.Be=a!=null?a:{wb:function(e,f){return setTimeout(e,f)},Ma:function(e){clearTimeout(e)}};var c,d;this.Ae=(d=(c=window.navigator)==null?void 0:c.onLine)!=null?d:!0;this.o=function(){return _.z(function(e){return _.x(e,Ls(b),0)})};window.addEventListener("offline",this.o);window.addEventListener("online",this.o);this.B||vla(this)};
vla=function(a){a.B=a.Be.wb(function(){var b;return _.z(function(c){if(c.j==1)return a.Ae?((b=window.navigator)==null?0:b.onLine)?c.L(3):_.x(c,Ls(a),3):_.x(c,Ls(a),3);vla(a);_.wa(c)})},3E4)};
Ls=function(a,b){return a.A?a.A:a.A=new Promise(function(c){var d,e,f,h;return _.z(function(k){switch(k.j){case 1:return d=window.AbortController?new window.AbortController:void 0,f=(e=d)==null?void 0:e.signal,h=!1,_.xa(k,2,3),d&&(a.j=a.Be.wb(function(){d.abort()},b||2E4)),_.x(k,fetch("/generate_204",{method:"HEAD",signal:f}),5);case 5:h=!0;case 3:_.Da(k);a.A=void 0;a.j&&(a.Be.Ma(a.j),a.j=0);h!==a.Ae&&(a.Ae=h,a.Ae?a.dispatchEvent("networkstatus-online"):a.dispatchEvent("networkstatus-offline"));c(h);
_.Ea(k,0);break;case 2:_.Ba(k),h=!1,k.L(3)}})})};Ns=function(){_.Qj.call(this);var a=this;this.o=!1;Ms.j||(Ms.j=new Ms(_.xr));this.j=Ms.j;this.j.listen("networkstatus-online",function(){if(a.o&&_.M("offline_error_handling")){var b=Is().get("errors",!0);if(b){for(var c in b)if(b[c]){var d=new _.oq(c,"sent via offline_errors");d.name=b[c].name;d.stack=b[c].stack;d.level=b[c].level;_.Dp(d)}Is().set("errors",{},2592E3,!0)}}})};
wla=function(){if(!Ns.j){var a=_.Ua("yt.networkStatusManager.instance")||new Ns;_.Ta("yt.networkStatusManager.instance",a);Ns.j=a}return Ns.j};
_.Os=function(a){a=a===void 0?{}:a;_.Qj.call(this);var b=this;this.j=this.B=0;this.o=wla();var c=_.Ua("yt.networkStatusManager.instance.listen").bind(this.o);c&&(a.rateLimit?(this.rateLimit=a.rateLimit,c("networkstatus-online",function(){xla(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){xla(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){b.dispatchEvent("publicytnetworkstatus-online")}),c("networkstatus-offline",function(){b.dispatchEvent("publicytnetworkstatus-offline")})))};
xla=function(a,b){a.rateLimit?a.j?(_.xr.Ma(a.B),a.B=_.xr.wb(function(){a.A!==b&&(a.dispatchEvent(b),a.A=b,a.j=(0,_.Uq)())},a.rateLimit-((0,_.Uq)()-a.j))):(a.dispatchEvent(b),a.A=b,a.j=(0,_.Uq)()):a.dispatchEvent(b)};
Qs=function(){var a=As.call;Ps||(Ps=new _.Os({cR:!0,KP:!0}));a.call(As,this,{Rb:{sD:kla,Li:jla,Tw:gla,PG:hla,xt:ila,set:fla},Bb:Ps,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 h;_.Fp(new _.oq(b.message,c,d==null?void 0:(h=d.error)==null?void 0:h.code),void 0,void 0,void 0,!0)}else _.Dp(b)},Si:_.Fp,sendFn:yla,now:_.Uq,ZA:ula,Be:_.yq(),Vs:"publicytnetworkstatus-online",Is:"publicytnetworkstatus-offline",Zm:!0,Em:.1,Fo:_.wp("potential_esf_error_limit",
10),jb:_.M,Dk:!(_.qq()&&_.zla())});this.o=new _.Uj;_.M("networkless_immediately_drop_all_requests")&&lla();Dja("LogsDatabaseV2")};_.Rs=function(){var a=_.Ua("yt.networklessRequestController.instance");a||(a=new Qs,_.Ta("yt.networklessRequestController.instance",a),_.M("networkless_logging")&&_.lr().then(function(b){a.hb=b;Yka(a);a.o.resolve();a.Zm&&Math.random()<=a.Em&&a.hb&&ola(a.hb);_.M("networkless_immediately_drop_sw_health_store")&&Ala(a)}));return a};
Ala=function(a){var b;_.z(function(c){if(!a.hb)throw b=Pq("clearSWHealthLogsDb"),b;return c.return(pla(a.hb).catch(function(d){a.handleError(d)}))})};
yla=function(a,b,c,d){d=d===void 0?!1:d;b=_.M("web_fp_via_jspb")?Object.assign({},b):b;_.M("use_cfr_monitor")&&Bla(a,b);if(_.M("use_request_time_ms_header"))b.headers&&Lp(a)&&(b.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,_.Uq)())));else{var e;if((e=b.postParams)==null?0:e.requestTimeMs)b.postParams.requestTimeMs=Math.round((0,_.Uq)())}c&&Object.keys(b).length===0?_.Fs(a):b.compress?b.postBody?(typeof b.postBody!=="string"&&(b.postBody=JSON.stringify(b.postBody)),ws(a,b.postBody,b,
_.Rp,d)):ws(a,JSON.stringify(b.postParams),b,Sp,d):_.Rp(a,b)};Ss=function(a,b){_.M("use_event_time_ms_header")&&Lp(a)&&(b.headers||(b.headers={}),b.headers["X-Goog-Event-Time"]=JSON.stringify(Math.round((0,_.Uq)())));return b};Bla=function(a,b){var c=b.onError?b.onError:function(){};b.onError=function(e,f){Ks().requestComplete(a,!1);c(e,f)};var d=b.onSuccess?b.onSuccess:function(){};b.onSuccess=function(e,f){Ks().requestComplete(a,!0);d(e,f)}};
_.zla=function(){return _.ri(document.location.toString())!=="www.youtube-nocookie.com"};Ts=function(a){this.config_=null;a?this.config_=a:Xja()&&(this.config_=yr())};
Ws=function(a,b,c,d){function e(n){try{if((n===void 0?0:n)&&d.retry&&!d.networklessOptions.bypassNetworkless)f.method="POST",d.networklessOptions.writeThenSend?_.Rs().writeThenSend(m,f):_.Rs().sendAndWrite(m,f);else if(d.compress){var p=!d.networklessOptions.writeThenSend;if(f.postBody){var q=f.postBody;typeof q!=="string"&&(q=JSON.stringify(f.postBody));ws(m,q,f,_.Rp,p)}else ws(m,JSON.stringify(f.postParams),f,Sp,p)}else _.M("web_all_payloads_via_jspb")?_.Rp(m,f):Sp(m,f)}catch(r){if(r.name==="InvalidAccessError")_.Fp(Error("Wb"));
else throw r;}}!_.L("VISITOR_DATA")&&b!=="visitor_id"&&Math.random()<.01&&_.Fp(new _.oq("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady())throw a=new _.oq("innertube xhrclient not ready",b,c,d),_.Dp(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(n,p){if(d.onSuccess)d.onSuccess(p)},onFetchSuccess:function(n){if(d.onSuccess)d.onSuccess(n)},
onError:function(n,p){if(d.onError)d.onError(p)},onFetchError:function(n){if(d.onError)d.onError(n)},timeout:d.timeout,withCredentials:!0,compress:d.compress};f.headers["Content-Type"]||(f.headers["Content-Type"]="application/json");c="";var h=a.config_.BF;h&&(c=h);var k=a.config_.DF||!1;h=hka(k,c,d);Object.assign(f.headers,h);(h=f.headers.Authorization)&&!c&&k&&(f.headers["x-origin"]=window.location.origin);b="/youtubei/"+a.config_.innertubeApiVersion+"/"+b;k={alt:"json"};var l=a.config_.CF&&h;l=
l&&h.startsWith("Bearer");l||(k.key=a.config_.innertubeApiKey);var m=Kp(c+b,k||{},!0);(_.Ua("ytNetworklessLoggingInitializationOptions")?_.Us.isNwlInitialized:_.Vs)?_.jr().then(function(n){e(n)}):e(!1)};at=function(a){this.T=_.Nd(a)};bt=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""};Cla=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)};
ct=function(a,b){return a.classList?a.classList.contains(b):Qb(a.classList?a.classList:bt(a).match(/\S+/g)||[],b)};_.dt=function(a,b){if(a.classList)a.classList.add(b);else if(!ct(a,b)){var c=bt(a);Cla(a,c+(c.length>0?" "+b:b))}};_.et=function(a,b){a.classList?a.classList.remove(b):ct(a,b)&&Cla(a,Array.prototype.filter.call(a.classList?a.classList:bt(a).match(/\S+/g)||[],function(c){return c!=b}).join(" "))};ft=function(a){return _.yh(a===null?"null":a===void 0?"undefined":a)};
Dla=function(a,b){if(_.M("polymer_on_demand_shady_dom")){var c;var d=(c=a.__shady_native_firstElementChild)!=null?c:a.firstElementChild}else d=a.firstElementChild;for(;d;){if(a=b(d)?d:Dla(d,b))return a;d=d.nextElementSibling}return null};gt=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=Ela+"VisibilityState";if(b in a)return a[b]};jt=function(a,b){var c;ht(a,function(d){c=b[d];return!!c});return c};
_.Fla=function(a){return(a=Dla(a,function(b){if(cb(b)&&b.nodeType==1){var c;b.tagName=="A"&&b.hasAttribute("href")||b.tagName=="INPUT"||b.tagName=="TEXTAREA"||b.tagName=="SELECT"||b.tagName=="BUTTON"?c=!b.disabled&&(!b.hasAttribute("tabindex")||Dca(b)):c=b.hasAttribute("tabindex")&&Dca(b);b=c&&!!b.offsetParent}else b=!1;return b}))?a:null};
kt=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 Gla||(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){}};
Hla=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}};
Ila=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 Nba(function(e){var f=typeof e[4]==="boolean"&&e[4]==!!d,h=cb(e[4])&&cb(d)&&Pba(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||h)})};
lt=function(a,b,c,d){d=d===void 0?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Ila(a,b,c,d);if(e)return e;e=++Jla.count+"";var f=!(b!="mouseenter"&&b!="mouseleave"||!a.addEventListener||"onmouseenter"in document);var h=f?function(k){k=new kt(k);if(!_.$i(k.relatedTarget,function(l){return l==a},!0))return k.currentTarget=a,k.type=b,c.call(a,k)}:function(k){k=new kt(k);k.currentTarget=a;return c.call(a,k)};h=_.Ep(h);a.addEventListener?(b=="mouseenter"&&f?b="mouseover":b=="mouseleave"&&
f?b="mouseout":b=="mousewheel"&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Kla()||typeof d==="boolean"?a.addEventListener(b,h,d):a.addEventListener(b,h,!!d.capture)):a.attachEvent("on"+b,h);Oh[e]=[a,b,c,h,d];return e};
Lla=function(a){a&&(typeof a=="string"&&(a=[a]),_.Xi(a,function(b){if(b in Oh){var c=Oh[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Kla()||typeof c==="boolean"?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete Oh[b]}}))};mt=function(a){this.W=a;this.j=null;this.B=0;this.O=null;this.H=0;this.o=[];for(a=0;a<4;a++)this.o.push(0);this.A=0;this.ba=lt(window,"mousemove",(0,_.fb)(this.ha,this));this.pa=_.Pp((0,_.fb)(this.Z,this),25)};
pt=function(a){var b=a===void 0?{}:a;a=b.jz===void 0?!1:b.jz;b=b.Fw===void 0?!0:b.Fw;if(_.Ua("_lact",window)==null){var c=parseInt(_.L("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;_.Ta("_lact",c,window);_.Ta("_fact",c,window);c==-1&&_.nt();lt(document,"keydown",_.nt);lt(document,"keyup",_.nt);lt(document,"mousedown",_.nt);lt(document,"mouseup",_.nt);a?lt(window,"touchmove",function(){ot("touchmove",200)},{passive:!0}):(lt(window,"resize",function(){ot("resize",200)}),b&&lt(window,"scroll",
function(){ot("scroll",200)}));new mt(function(){ot("mouse",100)});lt(document,"touchstart",_.nt,{passive:!0});lt(document,"touchend",_.nt,{passive:!0})}};ot=function(a,b){qt[a]||(qt[a]=!0,_.xr.wb(function(){_.nt();qt[a]=!1},b))};_.nt=function(){_.Ua("_lact",window)==null&&pt();var a=Date.now();_.Ta("_lact",a,window);_.Ua("_fact",window)==-1&&_.Ta("_fact",a,window);(a=_.Ua("ytglobal.ytUtilActivityCallback_"))&&a()};
_.rt=function(){var a=_.Ua("_lact",window);return a==null?-1:Math.max(Date.now()-a,0)};st=function(a){this.T=_.Nd(a)};tt=function(a){this.T=_.Nd(a)};Mla=function(a){this.T=_.Nd(a)};Nla=function(a){this.T=_.Nd(a)};ut=function(a){this.T=_.Nd(a)};vt=function(a){this.T=_.Nd(a)};Ola=function(a){this.T=_.Nd(a)};wt=function(a){this.T=_.Nd(a)};Pla=function(a){this.T=_.Nd(a)};Qla=function(a){this.T=_.Nd(a)};xt=function(a){this.T=_.Nd(a)};zt=function(a){this.T=_.Nd(a)};At=function(a){this.T=_.Nd(a,497)};
Rla=function(a){this.T=_.Nd(a)};Bt=function(a){this.T=_.Nd(a)};Ct=function(a){this.T=_.Nd(a)};Tla=function(a,b){var c=Dt();if(c&&b){var d=c.subscribe(a,function(){function e(){Et[d]&&b.apply&&typeof b.apply=="function"&&b.apply(window,f)}var f=arguments;try{Sla[a]?e():_.Op(e,0)}catch(h){_.Dp(h)}},void 0);Et[d]=!0;Ft[a]||(Ft[a]=[]);Ft[a].push(d);return d}return 0};
Ula=function(a){var b=Dt();b&&(typeof a==="number"?a=[a]:typeof a==="string"&&(a=[parseInt(a,10)]),_.Xi(a,function(c){b.unsubscribeByKey(c);delete Et[c]}))};Vla=function(a,b){var c=Dt();c&&c.publish.apply(c,arguments)};_.Gt=function(a){var b=Dt();if(b)if(b.clear(a),a)Wla(a);else for(var c in Ft)Wla(c)};Dt=function(){return _.Sa.ytPubsubPubsubInstance};Wla=function(a){Ft[a]&&(a=Ft[a],_.Xi(a,function(b){Et[b]&&delete Et[b]}),a.length=0)};
It=function(){var a,b;return"h5vcc"in Ht&&((a=Ht.h5vcc.traceEvent)==null?0:a.traceBegin)&&((b=Ht.h5vcc.traceEvent)==null?0:b.traceEnd)?1:"performance"in Ht&&Ht.performance.mark&&Ht.performance.measure?2:0};Jt=function(a){var b=It();switch(b){case 1:Ht.h5vcc.traceEvent.traceBegin("YTLR",a);break;case 2:Ht.performance.mark(a+"-start");break;case 0:break;default:Zh(b,"unknown trace type")}};
Xla=function(a){var b=It();switch(b){case 1:Ht.h5vcc.traceEvent.traceEnd("YTLR",a);break;case 2:b=a+"-start";var c=a+"-end";Ht.performance.mark(c);Ht.performance.measure(a,b,c);break;case 0:break;default:Zh(b,"unknown trace type")}};
Yla=function(a){var b=this;var c=c===void 0?0:c;var d=d===void 0?_.yq():d;this.A=c;this.scheduler=d;this.o=new _.Uj;this.j=a;for(a={Bh:0};a.Bh<this.j.length;a={xo:void 0,Bh:a.Bh},a.Bh++)a.xo=this.j[a.Bh],c=function(e){return function(){e.xo.Xk();b.j[e.Bh].Io=!0;b.j.every(function(f){return f.Io===!0})&&b.o.resolve()}}(a),d=sq(0,c,Kt(this,a.xo)),this.j[a.Bh]=Object.assign({},a.xo,{Xk:c,jobId:d})};
Zla=function(a){var b=Array.from(a.j.keys()).sort(function(d,e){return Kt(a,a.j[e])-Kt(a,a.j[d])});b=_.u(b);for(var c=b.next();!c.done;c=b.next())c=a.j[c.value],c.jobId===void 0||c.Io||(a.scheduler.Ma(c.jobId),sq(0,c.Xk,10))};Kt=function(a,b){var c;return(c=b.priority)!=null?c:a.A};Mt=function(a){this.state=a;this.plugins=[];this.G=void 0;this.o={};Lt&&Jt(this.state)};
$la=function(a,b){var c=b.filter(function(e){return Nt(a,e)===10}),d=b.filter(function(e){return Nt(a,e)!==10});return a.o.Gj?function(){var e=_.Ka.apply(0,arguments);return _.z(function(f){if(f.j==1)return _.x(f,a.wI.apply(a,[c].concat(_.ma(e))),2);a.Wz.apply(a,[d].concat(_.ma(e)));_.wa(f)})}:function(){var e=_.Ka.apply(0,arguments);a.xI.apply(a,[c].concat(_.ma(e)));a.Wz.apply(a,[d].concat(_.ma(e)))}};Nt=function(a,b){var c,d;return(d=(c=a.G)!=null?c:b.priority)!=null?d:0};
Ot=function(a){Lt&&a&&Jt(a)};Pt=function(a){Lt&&a&&Xla(a)};bma=function(a,b,c){ama&&console.groupCollapsed&&console.groupEnd&&(console.groupCollapsed("["+a.constructor.name+"] '"+a.state+"' to '"+b+"'"),console.log("with message: ",c),console.groupEnd())};
Qt=function(a){Mt.call(this,a===void 0?"none":a);this.A=null;this.G=10;this.transitions=[{from:"none",to:"application_navigating",action:this.B},{from:"application_navigating",to:"none",action:this.J},{from:"application_navigating",to:"application_navigating",action:function(){}},{from:"none",to:"none",action:function(){}}]};_.St=function(){Rt||(Rt=new Qt);return Rt};Tt=function(){this.store={};this.j={}};
Wt=function(a,b){var c=Ut(b);if(a.j[c])return a.j[c];var d=Object.keys(a.store)||[];if(d.length<=1&&Ut(b)===d[0])return d;for(var e=[],f=0;f<d.length;f++){var h=d[f].split("/");if(Vt(b.auth,h[0])){var k=b.isJspb;Vt(k===void 0?"undefined":k?"true":"false",h[1])&&Vt(b.cttAuthInfo,h[2])&&(k=b.tier,k=k===void 0?"undefined":JSON.stringify(k),Vt(k,h[3])&&e.push(d[f]))}}return a.j[c]=e};Vt=function(a,b){return a===void 0||a==="undefined"?!0:a===b};
Ut=function(a){return[a.auth===void 0?"undefined":a.auth,a.isJspb===void 0?"undefined":a.isJspb,a.cttAuthInfo===void 0?"undefined":a.cttAuthInfo,a.tier===void 0?"undefined":a.tier].join("/")};_.N=function(a,b){if(a)return a[b.name]};Xt=function(){this.B=this.j=this.o=0;this.A=!1};Yt=function(){var a=_.Ua("yt.logging.ims");a||(a=new Tt,_.Ta("yt.logging.ims",a));return a};
hma=function(a,b){if(a.endpoint==="log_event"){Zt(a);var c=$t(a),d=cma(a.payload)||"",e=dma(d),f=200;if(e){if(e.enabled===!1&&!_.M("web_payload_policy_disabled_killswitch"))return;f=ema(e.tier);if(f===400){fma(a,b);return}}au[c]=!0;e={cttAuthInfo:c,isJspb:!1,tier:f};Yt().storePayload(e,a.payload);gma(b,c,!1,e,bu(d))}};
jma=function(a,b,c){if(b.endpoint==="log_event"){Zt(void 0,b);var d=$t(b,!0),e=dma(a),f=200;if(e){if(e.enabled===!1&&!_.M("web_payload_policy_disabled_killswitch"))return;f=ema(e.tier);if(f===400){ima(a,b,c);return}}au[d]=!0;e={cttAuthInfo:d,isJspb:!0,tier:f};Yt().storePayload(e,Rf(b.payload));gma(c,d,!0,e,bu(a))}};
gma=function(a,b,c,d,e){function f(){cu({writeThenSend:!0},_.M("flush_only_full_queue")?b:void 0,c,d.tier)}c=c===void 0?!1:c;e=e===void 0?!1:e;a&&(du=new a);a=_.wp("tvhtml5_logging_max_batch_ads_fork")||_.wp("tvhtml5_logging_max_batch")||_.wp("web_logging_max_batch")||100;var h=(0,_.Uq)(),k=eu(c,d.tier),l=k.B;e&&(k.A=!0);e=0;d&&(e=Yt().getSequenceCount(d));e>=1E3?f():e>=a?fu||(fu=gu(function(){f();fu=void 0},0)):h-l>=10&&(kma(c,d.tier),k.B=h)};
fma=function(a,b){if(a.endpoint==="log_event"){Zt(a);var c=$t(a),d=new Map;d.set(c,[a.payload]);var e=cma(a.payload)||"";b&&(du=new b);return new _.nj(function(f,h){du&&du.isReady()?hu(d,du,f,h,{bypassNetworkless:!0},!0,bu(e)):f()})}};ima=function(a,b,c){if(b.endpoint==="log_event"){Zt(void 0,b);var d=$t(b,!0),e=new Map;e.set(d,[Rf(b.payload)]);c&&(du=new c);return new _.nj(function(f){du&&du.isReady()?iu(e,du,f,{bypassNetworkless:!0},!0,bu(a)):f()})}};
$t=function(a,b){var c="";if(a.dangerousLogToVisitorSession)c="visitorOnlyApprovedKey";else if(a.cttAuthInfo){if(b===void 0?0:b){b=a.cttAuthInfo.token;c=a.cttAuthInfo;var d=new Bt;c.videoId?d.setVideoId(c.videoId):c.playlistId&&Me(d,2,ju,ud(c.playlistId));ku[b]=d}else b=a.cttAuthInfo,c={},b.videoId?c.videoId=b.videoId:b.playlistId&&(c.playlistId=b.playlistId),lu[a.cttAuthInfo.token]=c;c=a.cttAuthInfo.token}return c};
cu=function(a,b,c,d){a=a===void 0?{}:a;c=c===void 0?!1:c;new _.nj(function(e,f){var h=eu(c,d),k=h.A;h.A=!1;mu(h.o);mu(h.j);h.j=0;du&&du.isReady()?d===void 0&&_.M("enable_web_tiered_gel")?lma(e,f,a,b,c,300,k):lma(e,f,a,b,c,d,k):(kma(c,d),e())})};
lma=function(a,b,c,d,e,f,h){var k=du;c=c===void 0?{}:c;e=e===void 0?!1:e;f=f===void 0?200:f;h=h===void 0?!1:h;var l=new Map,m=new Map,n={isJspb:e,cttAuthInfo:d,tier:f},p={isJspb:e,cttAuthInfo:d};if(d!==void 0)e?(b=_.M("enable_web_tiered_gel")?Yt().smartExtractMatchingEntries({keys:[n,p],sizeLimit:1E3}):Yt().extractMatchingEntries(p),l.set(d,b),iu(l,k,a,c,!1,h)):(l=_.M("enable_web_tiered_gel")?Yt().smartExtractMatchingEntries({keys:[n,p],sizeLimit:1E3}):Yt().extractMatchingEntries(p),m.set(d,l),hu(m,
k,a,b,c,!1,h));else if(e){b=_.u(Object.keys(au));for(m=b.next();!m.done;m=b.next())m=m.value,f=_.M("enable_web_tiered_gel")?Yt().smartExtractMatchingEntries({keys:[n,p],sizeLimit:1E3}):Yt().extractMatchingEntries({isJspb:!0,cttAuthInfo:m}),f.length>0&&l.set(m,f),(_.M("web_fp_via_jspb_and_json")&&c.writeThenSend||!_.M("web_fp_via_jspb_and_json"))&&delete au[m];iu(l,k,a,c,!1,h)}else{l=_.u(Object.keys(au));for(n=l.next();!n.done;n=l.next())n=n.value,p=_.M("enable_web_tiered_gel")?Yt().smartExtractMatchingEntries({keys:[{isJspb:!1,
cttAuthInfo:n,tier:f},{isJspb:!1,cttAuthInfo:n}],sizeLimit:1E3}):Yt().extractMatchingEntries({isJspb:!1,cttAuthInfo:n}),p.length>0&&m.set(n,p),(_.M("web_fp_via_jspb_and_json")&&c.writeThenSend||!_.M("web_fp_via_jspb_and_json"))&&delete au[n];hu(m,k,a,b,c,!1,h)}};
kma=function(a,b){function c(){cu({writeThenSend:!0},void 0,a,b)}a=a===void 0?!1:a;b=b===void 0?200:b;var d=eu(a,b),e=d===mma||d===nma?5E3:oma;_.M("web_gel_timeout_cap")&&!d.j&&(e=gu(function(){c()},e),d.j=e);mu(d.o);e=_.L("LOGGING_BATCH_TIMEOUT",_.wp("web_gel_debounce_ms",1E4));_.M("shorten_initial_gel_batch_timeout")&&nu&&(e=pma);e=gu(function(){_.wp("gel_min_batch_size")>0?Yt().getSequenceCount({cttAuthInfo:void 0,isJspb:a,tier:b})>=qma&&c():c()},e);d.o=e};
hu=function(a,b,c,d,e,f,h){e=e===void 0?{}:e;var k=Math.round((0,_.Uq)()),l=a.size,m=rma(h);a=_.u(a);var n=a.next();for(h={};!n.done;h={Cs:void 0,batchRequest:void 0,dangerousLogToVisitorSession:void 0,Ss:void 0,Js:void 0},n=a.next()){var p=_.u(n.value);n=p.next().value;p=p.next().value;h.batchRequest=Th({context:dka(b.config_||yr())});if(!bb(p)&&!_.M("throw_err_when_logevent_malformed_killswitch")){d();break}h.batchRequest.events=p;(p=lu[n])&&sma(h.batchRequest,n,p);delete lu[n];h.dangerousLogToVisitorSession=
n==="visitorOnlyApprovedKey";tma(h.batchRequest,k,h.dangerousLogToVisitorSession);uma(e);h.Ss=function(q){_.M("start_client_gcf")&&_.xr.wb(function(){return _.z(function(r){return _.x(r,vma(q),0)})});l--;l||c()};h.Cs=0;h.Js=function(q){return function(){q.Cs++;if(e.bypassNetworkless&&q.Cs===1)try{Ws(b,m,q.batchRequest,ou({writeThenSend:!0},q.dangerousLogToVisitorSession,q.Ss,q.Js,f)),nu=!1}catch(r){_.Dp(r),d()}l--;l||c()}}(h);try{Ws(b,m,h.batchRequest,ou(e,h.dangerousLogToVisitorSession,h.Ss,h.Js,
f)),nu=!1}catch(q){_.Dp(q),d()}}};
iu=function(a,b,c,d,e,f){d=d===void 0?{}:d;var h=Math.round((0,_.Uq)()),k={value:a.size},l=new Map([].concat(_.ma(a)));l=_.u(l);for(var m=l.next();!m.done;m=l.next()){var n=_.u(m.value).next().value,p=a.get(n);m=new Ct;var q=b.config_||yr(),r=new bq,t=new Vp;_.rf(t,1,q.Bx);_.rf(t,2,q.Ax);_.sf(t,16,q.AF);_.rf(t,17,q.innertubeContextClientVersion);if(q.Hr){var w=q.Hr,y=new Tp;w.coldConfigData&&_.rf(y,1,w.coldConfigData);w.appInstallData&&_.rf(y,6,w.appInstallData);w.coldHashData&&_.rf(y,3,w.coldHashData);
w.hotHashData&&_.rf(y,5,w.hotHashData);_.Ye(t,62,y)}(w=_.Sa.devicePixelRatio)&&w!=1&&_.pe(t,65,w==null?w:bd(w));w=zp();w!==""&&_.rf(t,54,w);w=Ap();if(w.length>0){y=new Yp;for(var B=0;B<w.length;B++){var A=new Xp;_.rf(A,1,w[B].key);A.sc(w[B].value);_.af(y,15,Xp,A)}_.Ye(r,5,y)}Yja(q,t);Zja(r);$ja(t);aka(q,t);bka(t);_.M("start_client_gcf")&&cka(t);_.L("DELEGATED_SESSION_ID")&&!_.M("pageid_as_header_web")&&(q=new aq,_.rf(q,3,_.L("DELEGATED_SESSION_ID")));!_.M("fill_delegate_context_in_gel_killswitch")&&
(w=_.L("INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT"))&&(y=_.Te(r,aq,3)||new aq,q=r,w=_.rf(y,18,w),_.Ye(q,3,w));q=t;w=_.u(Object.entries(_.Ip(_.L("DEVICE",""))));for(y=w.next();!y.done;y=w.next())B=_.u(y.value),y=B.next().value,B=B.next().value,y==="cbrand"?_.rf(q,12,B):y==="cmodel"?_.rf(q,13,B):y==="cbr"?_.rf(q,87,B):y==="cbrver"?_.rf(q,88,B):y==="cos"?_.rf(q,18,B):y==="cosver"?_.rf(q,19,B):y==="cplatform"&&_.sf(q,42,Hia(B));r.Il(t);_.Ye(m,1,r);if(t=ku[n])a:{if(ef(t,_.se(t,ju,1)))r=1;else if(t.getPlaylistId())r=
2;else break a;_.Ye(m,4,t);t=m.getContext()||new bq;q=_.Te(t,aq,3)||new aq;w=new $p;w.setToken(n);_.sf(w,1,r);_.af(q,12,$p,w);_.Ye(t,3,q)}delete ku[n];n=n==="visitorOnlyApprovedKey";pu()||_.qf(m,2,h);!n&&(r=_.L("EVENT_ID"))&&(t=wma(),q=new Rla,_.rf(q,1,r),_.qf(q,2,t),_.Ye(m,5,q));uma(d);if(_.M("jspb_serialize_with_worker")&&(r=rs())&&d.writeThenSend){xma.set(qu,{client:b,resolve:c,networklessOptions:d,isIsolated:e,useVSSEndpoint:f,dangerousLogToVisitorSession:n,requestsOutstanding:k});r.postMessage({op:"gelBatchToSerialize",
batchRequest:Rf(m),clientEvents:p,key:qu});qu++;break}if(p){r=[];for(t=0;t<p.length;t++)try{r.push(new At(p[t]))}catch(E){_.Dp(new _.oq("Transport failed to deserialize "+String(p[t])))}p=r}else p=[];p=_.u(p);for(r=p.next();!r.done;r=p.next())_.af(m,3,At,r.value);p={startTime:(0,_.Uq)(),ticks:{},infos:{}};m=_.Sf(m);p.ticks.geljspc=(0,_.Uq)();_.M("log_jspb_serialize_latency")&&ns("gel_jspb_serialize",p,{sampleRate:.1});yma(m,b,c,d,e,f,n,k)}};
yma=function(a,b,c,d,e,f,h,k){d=d===void 0?{}:d;k=k===void 0?{value:0}:k;f=rma(f);d=ou(d,h,function(l){_.M("start_client_gcf")&&_.xr.wb(function(){return _.z(function(m){return _.x(m,vma(l),0)})});k.value--;k.value||c()},function(){k.value--;k.value||c()},e);d.headers["Content-Type"]="application/json+protobuf";d.postBodyFormat="JSPB";d.postBody=a;Ws(b,f,"",d);nu=!1};uma=function(a){_.M("always_send_and_write")&&(a.writeThenSend=!1)};
ou=function(a,b,c,d,e){a={retry:!0,onSuccess:c,onError:d,networklessOptions:a,dangerousLogToVisitorSession:b,lP:!!e,headers:{},postBodyFormat:"",postBody:"",compress:_.M("compress_gel")||_.M("compress_gel_lr")};pu()&&(a.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,_.Uq)())));return a};
tma=function(a,b,c){pu()||(a.requestTimeMs=String(b));_.M("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);!c&&(b=_.L("EVENT_ID"))&&(c=wma(),a.serializedClientEventId={serializedEventId:b,clientCounter:String(c)})};wma=function(){var a=_.L("BATCH_CLIENT_COUNTER")||0;a||(a=Math.floor(Math.random()*zma/2));a++;a>zma&&(a=1);sp("BATCH_CLIENT_COUNTER",a);return a};
sma=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}]};
Zt=function(a,b){if(!_.Ua("yt.logging.transport.enableScrapingForTest"))if(_.xp("il_payload_scraping")==="enable_il_payload_scraping")ru=[],_.Ta("yt.logging.transport.enableScrapingForTest",!0),_.Ta("yt.logging.transport.scrapedPayloadsForTesting",ru),_.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;var c=_.Ua("yt.logging.transport.scrapedPayloadsForTesting"),d=_.Ua("yt.logging.transport.payloadToScrape");b&&(b=_.Ua("yt.logging.transport.getScrapedPayloadFromClientEventsFunction").bind(b.payload)())&&c.push(b);b=_.Ua("yt.logging.transport.scrapeClientEvent");if(d&&d.length>=1)for(var e=0;e<d.length;e++)if(a&&a.payload[d[e]])if(b)c.push(a.payload);else{var f=void 0;c.push(((f=a)==null?void 0:f.payload)[d[e]])}_.Ta("yt.logging.transport.scrapedPayloadsForTesting",
c)};pu=function(){return _.M("use_request_time_ms_header")||_.M("lr_use_request_time_ms_header")};gu=function(a,b){return _.M("transport_use_scheduler")===!1?_.Op(a,b):_.M("logging_avoid_blocking_during_navigation")||_.M("lr_logging_avoid_blocking_during_navigation")?_.tq(0,function(){if(_.St().currentState==="none")a();else{var c={};_.St().install((c.none={callback:a},c))}},b):_.tq(0,a,b)};mu=function(a){_.M("transport_use_scheduler")?_.xr.Ma(a):window.clearTimeout(a)};
vma=function(a){var b,c,d,e,f,h,k,l,m,n;return _.z(function(p){return p.j==1?(d=(b=a)==null?void 0:(c=b.responseContext)==null?void 0:c.globalConfigGroup,e=_.N(d,Ama),h=(f=d)==null?void 0:f.hotHashData,k=_.N(d,Bma),m=(l=d)==null?void 0:l.coldHashData,(n=_.K().resolve(_.mp(qr)))?h?e?_.x(p,Uja(n,h,e),2):_.x(p,Uja(n,h),2):p.L(2):p.return()):m?k?_.x(p,Vja(n,m,k),0):_.x(p,Vja(n,m),0):p.L(0)})};eu=function(a,b){b=b===void 0?200:b;return a?b===300?mma:Cma:b===300?nma:Dma};
dma=function(a){if(_.M("enable_web_tiered_gel")){a=Ema[a||""];var b,c,d,e=_.K().resolve(_.mp(qr))==null?void 0:(b=sr())==null?void 0:(c=b.loggingHotConfig)==null?void 0:(d=c.eventLoggingConfig)==null?void 0:d.payloadPolicies;if(e)for(b=0;b<e.length;b++)if(e[b].payloadNumber===a)return e[b]}};cma=function(a){a=Object.keys(a);a=_.u(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,Ema[b])return b};
ema=function(a){switch(a){case "DELAYED_EVENT_TIER_UNSPECIFIED":return 0;case "DELAYED_EVENT_TIER_DEFAULT":return 100;case "DELAYED_EVENT_TIER_DISPATCH_TO_EMPTY":return 200;case "DELAYED_EVENT_TIER_FAST":return 300;case "DELAYED_EVENT_TIER_IMMEDIATE":return 400;default:return 200}};bu=function(a){return a==="gelDebuggingEvent"};rma=function(a){return(a===void 0?0:a)&&_.M("vss_through_gel_video_stats")?"video_stats":"log_event"};
tu=function(a,b,c,d){d=d===void 0?{}:d;var e={},f=Math.round(d.timestamp||(0,_.Uq)());e.eventTimeMs=f<Number.MAX_SAFE_INTEGER?f:0;e[a]=b;a=_.rt();e.context={lastActivityMs:String(d.timestamp||!isFinite(a)?-1:a)};d.sequenceGroup&&!_.M("web_gel_sequence_info_killswitch")&&(a=e.context,b=d.sequenceGroup,b={index:Fma(b),groupKey:b},a.sequence=b,d.endOfSequence&&delete su[d.sequenceGroup]);(d.sendIsolatedPayload?fma:hma)({endpoint:"log_event",payload:e,cttAuthInfo:d.cttAuthInfo,dangerousLogToVisitorSession:d.dangerousLogToVisitorSession},
c)};Gma=function(a){cu(void 0,void 0,a===void 0?!1:a)};Fma=function(a){su[a]=a in su?su[a]+1:0;return su[a]};_.uu=function(a,b,c){c=c===void 0?{}:c;var d=Ts;_.L("ytLoggingEventsDefaultDisabled",!1)&&Ts===Ts&&(d=null);tu(a,b,d,c)};_.vu=function(){if(_.M("web_fp_via_jspb")){var a=!0;a=a===void 0?!1:a;var b=Hma;Hma=[];if(b){b=_.u(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a?tu(c.payloadName,c.payload,Ts,c.options):_.uu(c.payloadName,c.payload,c.options)}Gma(!0);if(!_.M("web_fp_via_jspb_and_json"))return}Gma()};
Ima=function(a){a&&_.uu("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:wu,clientScreenNonce:a})};xu=function(a){this.j=a};_.yu=function(a){return new xu({trackingParams:a})};_.zu=function(a,b,c,d,e,f){var h=Jma++;return new xu({veType:a,veCounter:h,elementIndex:c,dataElement:b,youtubeData:d,jspbYoutubeData:e,loggingDirectives:f})};Kma=function(a){return _.L("client-screen-nonce-store",{})[a===void 0?0:a]};
Lma=function(a,b){b=b===void 0?0:b;var c=_.L("client-screen-nonce-store");c||(c={},sp("client-screen-nonce-store",c));c[b]=a};Au=function(a){a=a===void 0?0:a;return a===0?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a};Bu=function(a){return _.L(Au(a===void 0?0:a))};Cu=function(a){return(a=Bu(a===void 0?0:a))?new xu({veType:a,youtubeData:void 0,jspbYoutubeData:void 0}):null};Mma=function(){var a=_.L("csn-to-ctt-auth-info");a||(a={},sp("csn-to-ctt-auth-info",a));return a};
Nma=function(){return Object.values(_.L("client-screen-nonce-store",{})).filter(function(a){return a!==void 0})};_.Du=function(a){a=Kma(a===void 0?0:a);if(!a&&!_.L("USE_CSN_FALLBACK",!0))return null;a||(a="UNDEFINED_CSN");return a?a:null};Pma=function(a){for(var b=_.u(Object.values(Oma)),c=b.next();!c.done;c=b.next())if(_.Du(c.value)===a)return!0;return!1};Qma=function(a,b,c){var d=Mma();(c=_.Du(c))&&delete d[c];b&&(d[a]=b)};Eu=function(a){return Mma()[a]};
Rma=function(a,b,c,d){c=c===void 0?0:c;if(a!==Kma(c)||b!==_.L(Au(c)))if(Qma(a,d,c),Lma(a,c),sp(Au(c),b),b=function(){setTimeout(function(){Ima(a)},0)},"requestAnimationFrame"in window)try{window.requestAnimationFrame(b)}catch(e){b()}else b()};Sma=function(a,b){var c,d;a=((c=a.watchEndpointSupportedAuthorizationTokenConfig)==null?void 0:(d=c.videoAuthorizationToken)==null?void 0:d.credentialTransferTokens)||[];for(c=0;c<a.length;++c)if(a[c].scope===b)return a[c].token||void 0};
Fu=function(a,b){if(a===b)a=!0;else if(Array.isArray(a)&&Array.isArray(b))a=_.Wb(a,b,Fu);else if(cb(a)&&cb(b))a:if(Nh(a).length!=Nh(b).length)a=!1;else{for(var c in a)if(!Fu(a[c],b[c])){a=!1;break a}a=!0}else a=!1;return a};Iu=function(a){var b=_.Ka.apply(1,arguments);if(!Gu(a)||b.some(function(d){return!Gu(d)}))throw Error("Yb");b=_.u(b);for(var c=b.next();!c.done;c=b.next())Hu(a,c.value)};
Hu=function(a,b){for(var c in b)if(Gu(b[c])){if(c in a&&!Gu(a[c]))throw Error("Zb");c in a||(a[c]={});Hu(a[c],b[c])}else if(Ju(b[c])){if(c in a&&!Ju(a[c]))throw Error("$b");c in a||(a[c]=[]);Tma(a[c],b[c])}else a[c]=b[c];return a};Tma=function(a,b){b=_.u(b);for(var c=b.next();!c.done;c=b.next())c=c.value,Gu(c)?a.push(Hu({},c)):Ju(c)?a.push(Tma([],c)):a.push(c);return a};Gu=function(a){return typeof a==="object"&&!Array.isArray(a)};Ju=function(a){return typeof a==="object"&&Array.isArray(a)};
Uma=function(a){for(var b=0,c=0;c<a.length;c++)b=b*31+a.charCodeAt(c),c<a.length-1&&(b%=Math.pow(2,47));return b%1E5};Ku=function(a){return _.Ua("ytcsi."+(a||"")+"data_")||Vma(a)};Wma=function(){var a=Ku();a.info||(a.info={});return a.info};Lu=function(a){a=Ku(a);a.metadata||(a.metadata={});return a.metadata};Mu=function(a){a=Ku(a);a.tick||(a.tick={});return a.tick};
Nu=function(a){a=Ku(a);if(a.gel){var b=a.gel;b.gelInfos||(b.gelInfos={});b.gelTicks||(b.gelTicks={})}else a.gel={gelTicks:{},gelInfos:{}};return a.gel};Xma=function(a){a=Nu(a);a.gelInfos||(a.gelInfos={});return a.gelInfos};Ou=function(a){var b=Ku(a).nonce;b||(b=_.Cp(16),Ku(a).nonce=b);return b};Vma=function(a){var b={tick:{},info:{}};_.Ta("ytcsi."+(a||"")+"data_",b);return b};Pu=function(){var a=_.Ua("ytcsi.debug");a||(a=[],_.Ta("ytcsi.debug",a),_.Ta("ytcsi.reference",{}));return a};
Qu=function(a){a=a||"";var b=Yma();if(b[a])return b[a];var c=Pu(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);return b[a]=d};Zma=function(a){a=a||"";var b=Yma();b[a]&&delete b[a];var c=Pu(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);b[a]=d};Yma=function(){var a=_.Ua("ytcsi.reference");if(a)return a;Pu();return _.Ua("ytcsi.reference")};Ru=function(a){return $ma[a]||"LATENCY_ACTION_UNKNOWN"};Su=function(a,b){hs.call(this,1,arguments);this.timer=b};
ana=function(a){if(a.name==="JavaException")return!0;a=a.stack;return a.includes("chrome://")||a.includes("chrome-extension://")||a.includes("moz-extension://")};bna=function(){this.tf=[];this.Of=[]};Uu=function(){if(!Tu){var a=Tu=new bna;a.Of.length=0;a.tf.length=0;cna(a,dna)}return Tu};cna=function(a,b){b.Of&&a.Of.push.apply(a.Of,b.Of);b.tf&&a.tf.push.apply(a.tf,b.tf)};Vu=function(a){return atob(a.replace(/-/g,"+").replace(/_/g,"/"))};
Xu=function(a){function b(){return a.charCodeAt(d++)}var c=a.length,d=0;do{var e=Wu(b);if(e===Infinity)break;var f=e>>3;switch(e&7){case 0:e=Wu(b);if(f===2)return e;break;case 1:if(f===2)return;d+=8;break;case 2:e=Wu(b);if(f===2)return a.substr(d,e);d+=e;break;case 5:if(f===2)return;d+=4;break;default:return}}while(d<c)};Wu=function(a){var b=a(),c=b&127;if(b<128)return c;b=a();c|=(b&127)<<7;if(b<128)return c;b=a();c|=(b&127)<<14;if(b<128)return c;b=a();return b<128?c|(b&127)<<21:Infinity};
ena=function(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;d<a.length&&!(a[d]&&(e+=Yu(d,a[d],b,c),e>500));d++);d=e}else if(typeof a==="object")for(e in a){if(a[e]){var f=e;var h=a[e],k=b,l=c;f=typeof h!=="string"||f!=="clickTrackingParams"&&f!=="trackingParams"?0:(h=Xu(Vu(h)))?Yu(f+".ve",h,k,l):0;d+=f;d+=Yu(e,a[e],b,c);if(d>500)break}}else c[b]=Zu(a),d+=c[b].length;else c[b]=Zu(a),d+=c[b].length;return d};Yu=function(a,b,c,d){c+="."+a;a=Zu(b);d[c]=a;return c.length+a.length};
Zu=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+")"}};
$u=function(a,b,c){c=c===void 0?{}:c;var d=!1;_.L("ytLoggingEventsDefaultDisabled",!1)&&(d=!0);d=d?null:Ts;c=c===void 0?{}:c;var e=Math.round(c.timestamp||(0,_.Uq)());_.qf(b,1,e<Number.MAX_SAFE_INTEGER?e:0);e=new zt;if(c.lact)_.qf(e,1,isFinite(c.lact)?c.lact:-1);else if(c.timestamp)_.qf(e,1,-1);else{var f=_.rt();_.qf(e,1,isFinite(f)?f:-1)}if(c.sequenceGroup&&!_.M("web_gel_sequence_info_killswitch")){f=c.sequenceGroup;var h=Fma(f),k=new at;k.Gt(h);_.rf(k,1,f);_.Ye(e,3,k);c.endOfSequence&&delete fna[c.sequenceGroup]}_.Ye(b,
33,e);(c.sendIsolatedPayload?ima:jma)(a,{endpoint:"log_event",payload:b,cttAuthInfo:c.cttAuthInfo,dangerousLogToVisitorSession:c.dangerousLogToVisitorSession},d)};gna=function(){_.Xi(_.L("ERRORS")||[],function(a){_.av.apply(null,a)});sp("ERRORS",[])};_.bv=function(a){_.av(a,"WARNING")};hna=function(a){a instanceof Error?_.av(a):(a=cb(a)?JSON.stringify(a):String(a),a=new _.oq(a),a.name="RejectedPromiseError",_.bv(a))};
_.av=function(a,b,c,d,e,f,h,k){f=f===void 0?{}:f;f.name=c||_.L("INNERTUBE_CONTEXT_CLIENT_NAME",1);f.version=d||_.L("INNERTUBE_CONTEXT_CLIENT_VERSION");var l=f,m=b===void 0?"ERROR":b,n=h===void 0?!1:h;m=m===void 0?"ERROR":m;n=n===void 0?!1:n;if(a){a.hasOwnProperty("level")&&a.level&&(m=a.level);if(_.M("console_log_js_exceptions")){var p=[];p.push("Name: "+a.name);p.push("Message: "+a.message);a.hasOwnProperty("params")&&p.push("Error Params: "+JSON.stringify(a.params));a.hasOwnProperty("args")&&p.push("Error args: "+
JSON.stringify(a.args));p.push("File name: "+a.fileName);p.push("Stacktrace: "+a.stack);var q=p.join("\n");window.console.log(q,a)}if(!(ina>=5)){var r=dca(a),t=r.message||"Unknown Error",w=r.name||"UnknownError",y=r.stack||a.o||"Not available";if(y.startsWith(w+": "+t)){var B=y.split("\n");B.shift();y=B.join("\n")}var A=r.lineNumber||"Not available",E=r.fileName||"Not available",I=y,G=0;if(a.hasOwnProperty("args")&&a.args&&a.args.length)for(var X=0;X<a.args.length&&!(G=ena(a.args[X],"params."+X,l,
G),G>=500);X++);else if(a.hasOwnProperty("params")&&a.params){var ca=a.params;if(typeof a.params==="object")for(var pa in ca){if(ca[pa]){var qa="params."+pa,ja=Zu(ca[pa]);l[qa]=ja;G+=qa.length+ja.length;if(G>500)break}}else l.params=Zu(ca)}if(cv.length)for(var Fa=0;Fa<cv.length&&!(G=ena(cv[Fa],"params.context."+Fa,l,G),G>=500);Fa++);navigator.vendor&&!l.hasOwnProperty("vendor")&&(l["device.vendor"]=navigator.vendor);var za={message:t,name:w,lineNumber:A,fileName:E,stack:I,params:l,sampleWeight:1},
wb=Number(a.columnNumber);isNaN(wb)||(za.lineNumber=za.lineNumber+":"+wb);if(a.level==="IGNORED")var ka=0;else a:{for(var oa=Uu(),Aa=_.u(oa.Of),Ra=Aa.next();!Ra.done;Ra=Aa.next()){var la=Ra.value;if(za.message&&za.message.match(la.Jb)){ka=la.weight;break a}}for(var $a=_.u(oa.tf),jb=$a.next();!jb.done;jb=$a.next()){var lb=jb.value;if(lb.callback(za)){ka=lb.weight;break a}}ka=1}za.sampleWeight=ka;for(var Hc=_.u(jna),Zc=Hc.next();!Zc.done;Zc=Hc.next()){var Le=Zc.value;if(Le.wo[za.name])for(var Dd=_.u(Le.wo[za.name]),
Ed=Dd.next();!Ed.done;Ed=Dd.next()){var Xa=Ed.value,Rb=za.message.match(Xa.Vc);if(Rb){za.params["params.error.original"]=Rb[0];for(var je=Xa.groups,fl={},Kj=0;Kj<je.length;Kj++)fl[je[Kj]]=Rb[Kj+1],za.params["params.error."+je[Kj]]=Rb[Kj+1];za.message=Le.ws(fl);break}}}za.params||(za.params={});var gl=Uu();za.params["params.errorServiceSignature"]="msg="+gl.Of.length+"&cb="+gl.tf.length;za.params["params.serviceWorker"]="false";_.Sa.document&&_.Sa.document.querySelectorAll&&(za.params["params.fscripts"]=
String(document.querySelectorAll("script:not([nonce])").length));_.vh("sample").constructor!==uh&&(za.params["params.fconst"]="true");window.yterr&&typeof window.yterr==="function"&&window.yterr(za);if(za.sampleWeight!==0&&!kna.has(za.message)){if(n&&_.M("web_enable_error_204"))lna(m===void 0?"ERROR":m,za);else{var Lj=m;Lj=Lj===void 0?"ERROR":Lj;if(Lj==="ERROR"){mna.lb("handleError",za);if(_.M("record_app_crashed_web")&&nna===0&&za.sampleWeight===1)if(nna++,_.M("errors_via_jspb")){var Uy=new Pla;
var Xs=_.sf(Uy,1,1);if(!_.M("report_client_error_with_app_crash_ks")){var Ys=new wt,Xd=new Ola,GI=new vt,RV=new ut;var Zs=_.rf(RV,1,za.message);var HI=_.Ye(GI,3,Zs);var SV=_.Ye(Xd,5,HI);var II=_.Ye(Ys,9,SV);_.Ye(Xs,4,II)}var JI=_.M("jspb_sparse_encoded_pivot")?new At([{}]):new At;_.Ze(JI,20,dv,Xs);$u("appCrashed",JI)}else{var Wy={appCrashType:"APP_CRASH_TYPE_BREAKPAD"};_.M("report_client_error_with_app_crash_ks")||(Wy.systemHealth={crashData:{clientError:{logMessage:{message:za.message}}}});_.uu("appCrashed",
Wy)}ona++}else Lj==="WARNING"&&mna.lb("handleWarning",za);if(_.M("kevlar_gel_error_routing"))a:{var hl=Lj;if(_.M("errors_via_jspb")){if(pna())var KI=void 0;else{var an=new Mla;_.rf(an,1,za.stack);za.fileName&&_.rf(an,4,za.fileName);var Sh=za.lineNumber&&za.lineNumber.split?za.lineNumber.split(":"):[];Sh.length!==0&&(Sh.length!==1||isNaN(Number(Sh[0]))?Sh.length!==2||isNaN(Number(Sh[0]))||isNaN(Number(Sh[1]))||(pf(an,2,Number(Sh[0])),pf(an,3,Number(Sh[1]))):pf(an,2,Number(Sh[0])));var il=new ut;_.rf(il,
1,za.message);_.rf(il,3,za.name);pf(il,6,za.sampleWeight);hl==="ERROR"?_.sf(il,2,2):hl==="WARNING"?_.sf(il,2,1):_.sf(il,2,0);var bn=new Nla;_.pe(bn,1,_.dd(!0));_.Ze(bn,3,qna,an);var Hf=new tt;_.rf(Hf,3,window.location.href);for(var $s=_.L("FEXP_EXPERIMENTS",[]),Ca=0;Ca<$s.length;Ca++)He(Hf.T,5,pd,$s[Ca]);var yb=_.L("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS");if(!tp("web_disable_gel_stp_ecatcher_killswitch")&&yb)for(var Fb=_.u(Object.keys(yb)),cc=Fb.next();!cc.done;cc=Fb.next()){var ke=cc.value,Xf=
new st;_.rf(Xf,1,ke);Xf.sc(String(yb[ke]));_.af(Hf,4,st,Xf)}var up=za.params;if(up)for(var Xy=_.u(Object.keys(up)),jl=Xy.next();!jl.done;jl=Xy.next()){var kha=jl.value,TV=new st;_.rf(TV,1,"client."+kha);TV.sc(String(up[kha]));_.af(Hf,4,st,TV)}var lha=_.L("SERVER_NAME"),mha=_.L("SERVER_VERSION");if(lha&&mha){var UV=new st;_.rf(UV,1,"server.name");UV.sc(lha);_.af(Hf,4,st,UV);var VV=new st;_.rf(VV,1,"server.version");VV.sc(mha);_.af(Hf,4,st,VV)}var LI=new vt;_.Ye(LI,1,Hf);_.Ye(LI,2,bn);_.Ye(LI,3,il);
KI=LI}var nha=KI;if(!nha)break a;var oha=_.M("jspb_sparse_encoded_pivot")?new At([{}]):new At;_.Ze(oha,163,dv,nha);$u("clientError",oha)}else{var Ni=k;Ni=Ni===void 0?{}:Ni;if(pna())var pha=void 0;else{var Yy={stackTrace:za.stack};za.fileName&&(Yy.filename=za.fileName);var kl=za.lineNumber&&za.lineNumber.split?za.lineNumber.split(":"):[];kl.length!==0&&(kl.length!==1||isNaN(Number(kl[0]))?kl.length!==2||isNaN(Number(kl[0]))||isNaN(Number(kl[1]))||(Yy.lineNumber=Number(kl[0]),Yy.columnNumber=Number(kl[1])):
Yy.lineNumber=Number(kl[0]));var WV={level:"ERROR_LEVEL_UNKNOWN",message:za.message,errorClassName:za.name,sampleWeight:za.sampleWeight};hl==="ERROR"?WV.level="ERROR_LEVEL_ERROR":hl==="WARNING"&&(WV.level="ERROR_LEVEL_WARNNING");var $Xa={isObfuscated:!0,browserStackInfo:Yy};Ni.pageUrl=window.location.href;Ni.kvPairs=[];_.L("FEXP_EXPERIMENTS")&&(Ni.experimentIds=_.L("FEXP_EXPERIMENTS"));var XV=_.L("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS");if(!tp("web_disable_gel_stp_ecatcher_killswitch")&&XV)for(var qha=
_.u(Object.keys(XV)),YV=qha.next();!YV.done;YV=qha.next()){var rha=YV.value;Ni.kvPairs.push({key:rha,value:String(XV[rha])})}var ZV=za.params;if(ZV)for(var sha=_.u(Object.keys(ZV)),$V=sha.next();!$V.done;$V=sha.next()){var tha=$V.value;Ni.kvPairs.push({key:"client."+tha,value:String(ZV[tha])})}var uha=_.L("SERVER_NAME"),vha=_.L("SERVER_VERSION");uha&&vha&&(Ni.kvPairs.push({key:"server.name",value:uha}),Ni.kvPairs.push({key:"server.version",value:vha}));pha={errorMetadata:Ni,stackTrace:$Xa,logMessage:WV}}var wha=
pha;if(!wha)break a;_.uu("clientError",wha)}(hl==="ERROR"||_.M("errors_flush_gel_always_killswitch"))&&_.vu()}_.M("suppress_error_204_logging")||lna(Lj,za)}try{kna.add(za.message)}catch(uKb){}ina++}}}};pna=function(){for(var a=_.u(rna),b=a.next();!b.done;b=a.next())if(Jq(b.value.toLowerCase()))return!0;return!1};
lna=function(a,b){var c=b.params||{};a={urlParams:{a:"logerror",t:"jserror",type:b.name,msg:b.message.substr(0,250),line:b.lineNumber,level:a,"client.name":c.name},postParams:{url:_.L("PAGE_NAME",window.location.href),file:b.fileName},method:"POST"};c.version&&(a["client.version"]=c.version);if(a.postParams){b.stack&&(a.postParams.stack=b.stack);b=_.u(Object.keys(c));for(var d=b.next();!d.done;d=b.next())d=d.value,a.postParams["client."+d]=c[d];if(c=_.L("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS"))for(b=
_.u(Object.keys(c)),d=b.next();!d.done;d=b.next())d=d.value,a.postParams[d]=c[d];c=_.L("SERVER_NAME");b=_.L("SERVER_VERSION");c&&b&&(a.postParams["server.name"]=c,a.postParams["server.version"]=b)}_.Rp(_.L("ECATCHER_REPORT_HOST","")+"/error_204",a)};ev=function(a){var b=_.Ka.apply(1,arguments);a.args||(a.args=[]);a.args.push.apply(a.args,_.ma(b))};fv=function(){this.j=0};gv=function(){fv.j||(fv.j=new fv);return fv.j};
iv=function(a,b){hv[b]=hv[b]||{count:0};var c=hv[b];c.count++;c.time=(0,_.Uq)();a.j||(a.j=_.tq(0,function(){var d=(0,_.Uq)(),e;for(e in hv)hv[e]&&d-hv[e].time>6E4&&delete hv[e];a&&(a.j=0)},5E3));return c.count>5?(c.count===6&&Math.random()*1E5<1&&(c=new _.oq("CSI data exceeded logging limit with key",b.split("_")),b.indexOf("plev")>=0||_.bv(c)),!0):!1};
sna=function(){this.timing={};this.clearResourceTimings=function(){};this.webkitClearResourceTimings=function(){};this.mozClearResourceTimings=function(){};this.msClearResourceTimings=function(){};this.oClearResourceTimings=function(){}};
tna=function(){var a;if(_.M("csi_use_performance_navigation_timing")||_.M("csi_use_performance_navigation_timing_tvhtml5")){var b,c,d,e=jv==null?void 0:(a=jv.getEntriesByType)==null?void 0:(b=a.call(jv,"navigation"))==null?void 0:(c=b[0])==null?void 0:(d=c.toJSON)==null?void 0:d.call(c);e?(e.requestStart=kv(e.requestStart),e.responseEnd=kv(e.responseEnd),e.redirectStart=kv(e.redirectStart),e.redirectEnd=kv(e.redirectEnd),e.domainLookupEnd=kv(e.domainLookupEnd),e.connectStart=kv(e.connectStart),e.connectEnd=
kv(e.connectEnd),e.responseStart=kv(e.responseStart),e.secureConnectionStart=kv(e.secureConnectionStart),e.domainLookupStart=kv(e.domainLookupStart),e.isPerformanceNavigationTiming=!0,a=e):a=jv.timing}else a=_.M("csi_performance_timing_to_object")?JSON.parse(JSON.stringify(jv.timing)):jv.timing;return a};kv=function(a){return Math.round(lv()+a)};lv=function(){return(_.M("csi_use_time_origin")||_.M("csi_use_time_origin_tvhtml5"))&&jv.timeOrigin?Math.floor(jv.timeOrigin):jv.timing.navigationStart};
nv=function(a,b){mv("_start",a,b)};ov=function(a,b){if(!_.M("web_csi_action_sampling_enabled")||!Ku(b).actionDisabled){var c=Qu(b||"");Iu(c.info,a);a.loadType&&(c=a.loadType,Lu(b).loadType=c);Iu(Xma(b),a);c=Ou(b);b=Ku(b).cttAuthInfo;gv().info(a,c,b)}};una=function(){var a,b,c,d;return((d=_.K().resolve(_.mp(qr))==null?void 0:(a=sr())==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]})};
mv=function(a,b,c){if(!_.M("web_csi_action_sampling_enabled")||!Ku(c).actionDisabled){var d=Ou(c),e;if(e=_.M("web_csi_debug_sample_enabled")&&d){(_.K().resolve(_.mp(qr))==null?0:sr())&&!vna&&(vna=!0,mv("gcfl",(0,_.Uq)(),c));var f,h,k;e=(_.K().resolve(_.mp(qr))==null?void 0:(f=sr())==null?void 0:(h=f.loggingHotConfig)==null?void 0:(k=h.csiConfig)==null?void 0:k.debugSampleWeight)||0;if(f=e!==0)b:{f=una();if(f.length>0)for(h=0;h<f.length;h++)if(a===f[h]){f=!0;break b}f=!1}f?(e=Uma(d)%e!==0,Ku(c).debugTicksExcludedLogged||
(f={},f.debugTicksExcluded=e,ov(f,c)),Ku(c).debugTicksExcludedLogged=!0):e=!1}if(!e){if(a[0]!=="_"&&(e=a,f=b,jv.mark))if(e.startsWith("mark_")||(e="mark_"+e),c&&(e+=" ("+c+")"),f===void 0||_.M("web_csi_disable_alt_time_performance_mark"))jv.mark(e);else{f-=jv.timeOrigin||jv.timing.navigationStart;try{jv.mark(e,{startTime:f})}catch(l){}}e=Qu(c||"");e.tick[a]=b||(0,_.Uq)();if(e.callback&&e.callback[a])for(e=_.u(e.callback[a]),f=e.next();!f.done;f=e.next())f=f.value,f();e=Nu(c);e.gelTicks&&(e.gelTicks[a]=
!0);f=Mu(c);e=b||(0,_.Uq)();_.M("log_repeated_ytcsi_ticks")?a in f||(f[a]=e):f[a]=e;f=Ku(c).cttAuthInfo;a==="_start"?(a=gv(),iv(a,"baseline_"+d)||_.uu("latencyActionBaselined",{clientActionNonce:d},{timestamp:b,cttAuthInfo:f})):gv().tick(a,d,b,f);wna(c);return e}}};xna=function(){var a,b=(a=jv.getEntriesByType)==null?void 0:a.call(jv,"mark");b&&b.forEach(function(c){if(c.name.startsWith("mark_")){var d;(d=jv.clearMarks)==null||d.call(jv,c.name)}})};
yna=function(){switch(gt()){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3;default:return-1}};
pv=function(a){function b(f,h,k){h=h.match("_rid")?h.split("_rid")[0]:h;typeof k==="number"&&(k=JSON.stringify(k));f.requestIds?f.requestIds.push({endpoint:h,id:k}):f.requestIds=[{endpoint:h,id:k}]}var c={};a=_.u(Object.entries(a));for(var d=a.next();!d.done;d=a.next()){var e=_.u(d.value);d=e.next().value;e=e.next().value;switch(d){case "GetBrowse_rid":b(c,d,e);break;case "GetGuide_rid":b(c,d,e);break;case "GetHome_rid":b(c,d,e);break;case "GetPlayer_rid":b(c,d,e);break;case "GetSearch_rid":b(c,d,
e);break;case "GetSettings_rid":b(c,d,e);break;case "GetTrending_rid":b(c,d,e);break;case "GetWatchNext_rid":b(c,d,e);break;case "yt_red":c.isRedSubscriber=!!e;break;case "yt_ad":c.isMonetized=!!e}}return c};
zna=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);_.bi(window)&&a.setAttribute("nonce",_.bi(window));return c?(a=jv.getEntriesByName(c))&&a[0]&&(a=a[0],c=lv(),mv("rsf_"+b,c+Math.round(a.fetchStart)),mv("rse_"+b,c+Math.round(a.responseEnd)),a.transferSize!==void 0&&a.transferSize===0)?!0:!1:!1};
Cna=function(){var a=window.location.protocol,b=jv.getEntriesByType("resource");b=Ana(b,function(c){return c.name.indexOf(a+"//fonts.gstatic.com/s/")===0});(b=Bna(b,function(c,d){return d.duration>c.duration?d:c},{duration:0}))&&b.startTime>0&&b.responseEnd>0&&(mv("wffs",kv(b.startTime)),mv("wffe",kv(b.responseEnd)))};
Ena=function(a,b,c,d,e,f){if(!_.M("web_csi_action_sampling_enabled")||!Ku(f).actionDisabled){var h=Nu(f);if(h.gelSpans)h.gelSpans[a]=!0;else{var k={};h.gelSpans=(k[a]=!0,k)}Dna++;a={spanName:a,spanLengthUsec:String(Math.round(b*1E3)),spanNonce:Dna};d&&(a.spanInfo=d);e&&(a.parentSpanNonce=e);c&&(a.spanStartTimeUsec=String(Math.round(c*1E3)));Qu(f||"").span[String(a.spanName)]=a;c=Nu(f);c.gelSpans||(c.gelSpans={});Iu(c.gelSpans,a);c=Ou(f);f=Ku(f).cttAuthInfo;gv().span(a,c,f);return a.spanNonce}};
Fna=function(a){var b=qv("aft",a);if(b)return b;b=_.L((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=b.length,d=0;d<c;d++){var e=qv(b[d],a);if(e)return e}return NaN};rv=function(a,b){_.Ta("ytglobal.timing"+(b||"")+"ready_",a)};qv=function(a,b){if(a=Mu(b)[a])return typeof a==="number"?a:a[a.length-1]};wna=function(a){var b=qv("_start",a),c=Fna(a),d=_.M("enable_cow_info_csi")||!Gna;b&&c&&d&&(ks(Hna,new Su(Math.round(c-b),a)),Gna=!0)};
Ina=function(){if(jv.getEntriesByType){var a=jv.getEntriesByType("paint");if(a=_.Ob(a,function(b){return b.name==="first-paint"}))return kv(a.startTime)}a=jv.timing;return a.gH?Math.max(0,a.gH):0};Kna=function(a){Vma(a);Jna();xna();a||(_.L("TIMING_ACTION")&&sp("PREVIOUS_ACTION",_.L("TIMING_ACTION")),sp("TIMING_ACTION",""))};
Lna=function(a,b){_.Ep(function(){Qu("").info.actionType=a;b&&sp("TIMING_AFT_KEYS",b);sp("TIMING_ACTION",a);var c=pv(_.L("TIMING_INFO",{}));Object.keys(c).length>0&&ov(c);c={isNavigation:!0,actionType:Ru(_.L("TIMING_ACTION"))};var d=_.L("PREVIOUS_ACTION");d&&(c.previousAction=Ru(d));if(d=_.L("CLIENT_PROTOCOL"))c.httpProtocol=d;if(d=_.L("CLIENT_TRANSPORT"))c.transportProtocol=d;(d=_.Du())&&d!=="UNDEFINED_CSN"&&(c.clientScreenNonce=d);d=yna();if(d===1||d===-1)c.isVisible=!0;d=Lu().loadType==="cold";
var e=Wma();d||(d=e.yt_lt==="cold");if(d){c.loadType="cold";d=Wma();e=tna();var f=lv(),h=_.L("CSI_START_TIMESTAMP_MILLIS",0);h>0&&!_.M("embeds_web_enable_csi_start_override_killswitch")&&(f=h);f&&(mv("srt",e.responseStart),d.prerender!==1&&nv(f));d=Ina();d>0&&mv("fpt",d);d=tna();d.isPerformanceNavigationTiming&&ov({performanceNavigationTiming:!0},void 0);mv("nreqs",d.requestStart,void 0);mv("nress",d.responseStart,void 0);mv("nrese",d.responseEnd,void 0);d.redirectEnd-d.redirectStart>0&&(mv("nrs",
d.redirectStart,void 0),mv("nre",d.redirectEnd,void 0));d.domainLookupEnd-d.domainLookupStart>0&&(mv("ndnss",d.domainLookupStart,void 0),mv("ndnse",d.domainLookupEnd,void 0));d.connectEnd-d.connectStart>0&&(mv("ntcps",d.connectStart,void 0),mv("ntcpe",d.connectEnd,void 0));d.secureConnectionStart>=lv()&&d.connectEnd-d.secureConnectionStart>0&&(mv("nstcps",d.secureConnectionStart,void 0),mv("ntcpe",d.connectEnd,void 0));jv&&"getEntriesByType"in jv&&Cna();d=[];if(document.querySelector&&jv&&jv.getEntriesByName)for(var k in sv)sv.hasOwnProperty(k)&&
(e=sv[k],zna(k,e)&&d.push(e));if(d.length>0)for(c.resourceInfo=[],k=_.u(d),d=k.next();!d.done;d=k.next())c.resourceInfo.push({resourceCache:d.value})}ov(c);c=Nu();c.preLoggedGelInfos||(c.preLoggedGelInfos=[]);k=c.preLoggedGelInfos;c=Xma();d=void 0;for(e=0;e<k.length;e++)if(f=k[e],f.loadType){d=f.loadType;break}if(Lu().loadType==="cold"&&(c.loadType==="cold"||d==="cold")){d=Mu();e=Nu();e=e.gelTicks?e.gelTicks:e.gelTicks={};for(var l in d)if(!(l in e))if(typeof d[l]==="number")mv(l,qv(l));else if(_.M("log_repeated_ytcsi_ticks"))for(f=
_.u(d[l]),h=f.next();!h.done;h=f.next())h=h.value,mv(l.slice(1),h);l={};d=!1;k=_.u(k);for(e=k.next();!e.done;e=k.next())d=e.value,Iu(c,d),Iu(l,d),d=!0;d&&ov(l)}rv(!0);l=_.L("TIMING_ACTION");_.Ua("ytglobal.timingready_")&&l&&_.tv()&&Fna()&&wna()})()};
_.wv=function(a){a=a===void 0?{}:a;_.Ep(function(){uv();Zma();Kna();rv(!1);a.cttAuthInfo&&(Ku().cttAuthInfo=a.cttAuthInfo);sp("TIMING_AFT_KEYS",[]);a.DQ?vv({loadType:"hot"}):vv({loadType:"warm"});sp("TIMING_ACTION","");delete _.L("TIMING_INFO",{}).yt_lt;_.Ep(nv)(a.startTime,void 0)})()};
_.yv=function(a,b,c){b=b===void 0?{}:b;_.Ep(function(){var d=c?c:a;_.xv(d);var e=b.sampleRate;if(!_.M("web_csi_action_sampling_enabled")||e===void 0||e<=1)e=!1;else{var f=Ou(d);e=Uma(f)%e!==0}e&&(Ku(d).actionDisabled=!0);Qu(d||"").info.actionType=a;b.cttAuthInfo&&(Ku(d).cttAuthInfo=b.cttAuthInfo);sp(d+"TIMING_ACTION",a);_.Ep(nv)(b.startTime,d);e={actionType:Ru(a)};b.dR&&(e.previousAction=Ru(_.L("TIMING_ACTION")));(f=_.Du())&&f!=="UNDEFINED_CSN"&&(e.clientScreenNonce=f);vv(e,d);rv(!0,d)})()};
_.xv=function(a){_.Ep(function(){uv(a);Zma(a);Kna(a)})()};Mna=function(){_.Ep(function(){var a=[],b;for(b in _.Ua("ytcsi.".slice(0,-1)))b.endsWith("data_")&&a.push(b.slice(0,-5));a=_.u(a);for(b=a.next();!b.done;b=a.next())_.xv(b.value);uv()})()};_.tv=function(a){return _.Ep(function(){return _.zv("_start",a)})()};vv=function(a,b,c){_.Ep(ov)(a,b,c===void 0?!1:c)};_.Av=function(a,b,c){return _.Ep(mv)(a,b,c)};
Nna=function(){var a=(0,_.Uq)();return function(b,c){var d=void 0;b&&(d=b);b=(0,_.Uq)()-a;_.Ep(Ena)("fr_c3",b,a,d,c||void 0,void 0)}};_.zv=function(a,b){return _.Ep(function(){var c=Mu(b);return a in c})()};_.Bv=function(a,b){return _.Ep(function(){if(_.zv(a,b))return!1;_.Av(a,void 0,b);return!0})()};uv=function(a){_.tv(a)&&_.Av("aa",void 0,a)};Cv=function(a){hs.call(this,1,arguments);this.csn=a};
Qna=function(a,b,c,d,e,f,h,k){var l=Ona(),m=new xu({veType:b,youtubeData:f,jspbYoutubeData:void 0});f=Dv({},l);e&&(f.cttAuthInfo=e);e={csn:l,pageVe:m.getAsJson()};_.M("expectation_logging")&&k&&k.screenCreatedLoggingExpectations&&(e.screenCreatedLoggingExpectations=k.screenCreatedLoggingExpectations);c&&c.visualElement?(e.implicitGesture={parentCsn:c.clientScreenNonce,gesturedVe:c.visualElement.getAsJson()},h&&(e.implicitGesture.gestureType=h)):c&&_.bv(new _.oq("newScreen() parent element does not have a VE - rootVe",
b));d&&(e.cloneCsn=d);a?tu("screenCreated",e,a,f):_.uu("screenCreated",e,f);ks(Pna,new Cv(l));Ev.clear();Fv.clear();Gv.clear();return l};Hv=function(a,b,c,d,e){Rna(a,b,c,[d],e===void 0?!1:e)};
Rna=function(a,b,c,d,e){e=e===void 0?!1:e;for(var f=Dv({cttAuthInfo:Eu(b)||void 0},b),h=_.u(d),k=h.next();!k.done;k=h.next()){k=k.value;var l=k.getAsJson();(_.Ph(l)||!l.trackingParams&&!l.veType)&&_.bv(Error("ac"));if(_.M("no_client_ve_attach_unless_shown")){var m=Iv(k,b);if(l.veType&&!Fv.has(m)&&!Gv.has(m)&&!e){if(!_.M("il_attach_cache_limit")||Ev.size<1E3){Ev.set(m,[a,b,c,k]);return}_.M("il_attach_cache_limit")&&Ev.size>1E3&&_.bv(new _.oq("IL Attach cache exceeded limit"))}k=Iv(c,b);Ev.has(k)?Jv(c,
b):Gv.set(k,!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:_.yp(d,function(n){return n.getAsJson()})};b==="UNDEFINED_CSN"?Kv("visualElementAttached",f,c):a?tu("visualElementAttached",c,a,f):_.uu("visualElementAttached",c,f)};Mv=function(a,b,c,d,e){Lv(a,b,c,e)};
Lv=function(a,b,c,d){Nv(c,b);var e=Dv({cttAuthInfo:Eu(b)||void 0},b);c={csn:b,ve:c.getAsJson(),eventType:1};d&&(c.clientData=d);b==="UNDEFINED_CSN"?Kv("visualElementShown",e,c):a?tu("visualElementShown",c,a,e):_.uu("visualElementShown",c,e)};_.Sna=function(a,b,c,d){Nv(c,b);var e=Dv({cttAuthInfo:Eu(b)||void 0},b);c={csn:b,ve:c.getAsJson(),eventType:4};d&&(c.clientData=d);b==="UNDEFINED_CSN"?Kv("visualElementShown",e,c):a?tu("visualElementShown",c,a,e):_.uu("visualElementShown",c,e)};
Tna=function(a,b,c,d){var e=(d=d===void 0?!1:d)?16:8;d=Dv({cttAuthInfo:Eu(b)||void 0,endOfSequence:d},b);c={csn:b,ve:c.getAsJson(),eventType:e};b==="UNDEFINED_CSN"?Kv("visualElementHidden",d,c):a?tu("visualElementHidden",c,a,d):_.uu("visualElementHidden",c,d)};Pv=function(a,b,c,d,e){_.Ov(a,b,c,void 0,d,e)};
_.Ov=function(a,b,c,d,e){Nv(c,b);d=d||"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK";var f=Dv({cttAuthInfo:Eu(b)||void 0},b);c={csn:b,ve:c.getAsJson(),gestureType:d};e&&(c.clientData=e);b==="UNDEFINED_CSN"?Kv("visualElementGestured",f,c):a?tu("visualElementGestured",c,a,f):_.uu("visualElementGestured",c,f)};Una=function(){var a=Zha(16);for(var b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
Kv=function(a,b,c){Qv.push({payloadName:a,payload:c,UQ:void 0,options:b});Rv||(Rv=Lka(Pna,Vna))};Vna=function(a){if(Qv){for(var b=_.u(Qv),c=b.next();!c.done;c=b.next())c=c.value,c.payload&&(c.payload.csn=a.csn,_.uu(c.payloadName,c.payload,c.options));Qv.length=0}Rv=0};Iv=function(a,b){return""+a.getAsJson().veType+a.getAsJson().veCounter+b};Nv=function(a,b){if(_.M("no_client_ve_attach_unless_shown")){var c=Iv(a,b);Fv.set(c,!0);Jv(a,b)}};
Jv=function(a,b){a=Iv(a,b);Ev.has(a)&&(b=Ev.get(a)||[],Hv(b[0],b[1],b[2],b[3],!0),Ev.delete(a))};Dv=function(a,b){_.M("log_sequence_info_on_gel_web")&&(a.sequenceGroup=b);return a};Wna=function(a,b){_.Ep(function(){_.Xi(b,function(c){Lv(void 0,a,c)})})()};_.Sv=function(a,b,c){_.Ep(Pv)(void 0,a,b,c,void 0)};Tv=function(){this.A=new Set;this.o=new Set;this.j=new Map;this.client=void 0;this.csn=null};Uv=function(){Tv.j||(Tv.j=new Tv);return Tv.j};
Xna=function(a,b,c){var d=_.Du(c);return a.csn===null||d===a.csn||c?d:(a=new _.oq("VisibilityLogger called before newScreen",{caller:b.tagName,previous_csn:a.csn,current_csn:d}),_.bv(a),null)};Xv=function(a){var b,c=a.data||((b=a.props)==null?void 0:b.data);if(!c&&a.isWebComponentWrapper&&_.M("read_data_from_web_component_wrapper")){var d;c=(d=Vv.get(a))==null?void 0:d[Wv]}return c};Yna=function(a){var b;return!((b=Xv(a))==null||!b.loggingDirectives)};
Yv=function(a){a=Xv(a);return Math.floor(Number(a&&a.loggingDirectives&&a.loggingDirectives.visibility&&a.loggingDirectives.visibility.types||""))||1};Zv=function(){};$v=function(){Zv.j||(Zv.j=new Zv)};Zna=function(){$v();_.Ep(Uv().IB).bind(Uv())()};_.aw=function(a,b,c){$v();_.Ep(Uv().KB).bind(Uv())(a,b,c)};_.bw=function(a,b,c){$v();_.Ep(Uv().JB).bind(Uv())(a,b,c)};
cw=function(){this.O=[];this.Z=[];this.j=[];this.o=[];this.ta=this.pa=!1;this.B=[];this.ba=[];this.G=new Map;this.H=new Map;this.A=new Set;this.W=new Map};_.dw=function(){cw.j||(cw.j=new cw);return cw.j};
_.iw=function(a,b,c){c=c===void 0?{}:c;_.Ep(function(){var d,e,f,h=((d=_.N(b==null?void 0:b.commandMetadata,_.ew))==null?void 0:d.rootVe)||((e=_.N(b==null?void 0:b.commandMetadata,$na))==null?void 0:(f=e.screenVisualElement)==null?void 0:f.uiType);if(h){d=_.N(b==null?void 0:b.commandMetadata,aoa);if(d==null?0:d.parentTrackingParams){var k=_.yu(d.parentTrackingParams);if(d.parentCsn)var l=d.parentCsn}else c.clickedVisualElement?k=c.clickedVisualElement:b.clickTrackingParams&&(k=_.yu(b.clickTrackingParams));
a:{d=_.N(b,_.fw);e=_.N(b,_.gw);if(d){if(e=Sma(d,"VIDEO")){d={token:e,videoId:d.videoId};break a}}else if(e&&(d=Sma(e,"PLAYLIST"))){d={token:d,playlistId:e.playlistId};break a}d=void 0}c=Object.assign({},{cttAuthInfo:d,parentCsn:l},c);if(_.M("expectation_logging")){var m;c.loggingExpectations=((m=_.N(b==null?void 0:b.commandMetadata,$na))==null?void 0:m.loggingExpectations)||void 0}_.hw(a,h,k,c)}else _.bv(new _.oq("Error: Trying to create a new screen without a rootVeType",b))})()};
_.hw=function(a,b,c,d){d=d===void 0?{}:d;_.Ep(function(){boa.includes(b)||(_.bv(new _.oq("createClientScreen() called with a non-page VE",b)),b=83769);d.isHistoryNavigation||(a.o=[],a.j.push({rootVe:b,key:d.key||""}));a.O=[];a.Z=[];d.wk?coa(a,b,c,d):doa(a,b,c,d)})()};
goa=function(a,b,c,d,e){b=b===void 0?"unknown":b;d=d===void 0?{}:d;e=e===void 0?null:e;_.Ep(function(){d.isHistoryNavigation=!0;c===83769&&(c=void 0);var f=_.u(eoa(a,b,c,d,e));var h=f.next().value;b=f.next().value;f=foa(b);d.Mm=h.csn;c&&(h.rootVe=c);_.jw(a,function(){h&&(h.csn=_.Du()||void 0)});_.hw(a,h.rootVe||83769,f,d)})()};
_.kw=function(a,b,c){c=c===void 0?0:c;_.Ep(function(){b.then(function(d){a.A.has(c)&&a.J&&a.J();var e=_.Du(c),f=Cu(c);if(e&&f){var h;(d==null?0:(h=d.response)==null?0:h.trackingParams)&&Hv(a.client,e,f,_.yu(d.response.trackingParams));var k;(d==null?0:(k=d.playerResponse)==null?0:k.trackingParams)&&Hv(a.client,e,f,_.yu(d.playerResponse.trackingParams))}})})()};_.mw=function(a,b,c,d){return _.Ep(function(){var e=_.yu(b);_.lw(a,e,c,d);return e})()};
_.nw=function(a,b,c,d){return _.Ep(function(){if(!b.veType)return _.av(new _.oq("Error: Trying to graft a client VE without a veType.")),null;if(b.visibilityTypes){var e=new Wp;Eia(Eaa(e),b.visibilityTypes.reduce(function(f,h){return f|h}))}e=_.zu(b.veType,b.visualElement,b.elementIndex,b.clientYouTubeData,b.jspbClientYouTubeData,e);return _.lw(a,e,c,d)?e:null})()};
_.lw=function(a,b,c,d){d=d===void 0?0:d;return _.Ep(function(){if(a.A.has(d))return a.O.push([b,c]),!0;var e=_.Du(d),f=c||Cu(d);if(e&&f){if(_.M("combine_ve_grafts")){var h=a.G.get(f.toString());h?h.push(b):(a.H.set(f.toString(),f),a.G.set(f.toString(),[b]));a.ha||(a.ha=_.tq(0,function(){ow(a,e)},1200))}else Hv(a.client,e,f,b);return!0}return!1})()};
pw=function(a,b){var c=c===void 0?0:c;var d=a.W.get(c)||new Map;if(_.M("smarter_ve_dedupping"))for(var e=Array.from(d.keys()),f=0;f<e.length;f++){var h=void 0,k=void 0;var l=b;var m=e[f];m.isClientVe()&&l.isClientVe()?(h=l.getAsJson(),k=m.getAsJson(),l=h.veType!==k.veType||h.elementIndex!==k.elementIndex||h.dataElement!==k.dataElement||l.getLoggingDirectives()!==m.getLoggingDirectives()?!1:!0):l=m.j.trackingParams!==void 0&&l.j.trackingParams!==void 0?((k=l.j)==null?void 0:k.trackingParams)===((h=
m.j)==null?void 0:h.trackingParams):!1;if(l)return}else if(d.has(b))return;d.set(b,void 0);a.W.set(c,d);_.Du(c)==="UNDEFINED_CSN"||a.A.has(c)||_.lw(a,b,void 0,c)};_.qw=function(){return _.Ua("historyVes")||void 0};foa=function(a){if((a===void 0?"unknown":a)==="forward"){var b;return((b=_.qw())==null?void 0:b.forwardButtonVe)||void 0}var c;return((c=_.qw())==null?void 0:c.backButtonVe)||void 0};_.rw=function(a,b,c,d){(d=_.Du(d===void 0?0:d))&&Pv(a.client,d,b,c)};
sw=function(a,b,c,d){if(!b)return!1;d=_.Du(d===void 0?0:d);if(!d)return!1;Pv(a.client,d,_.yu(b),c);return!0};hoa=function(a){var b=_.dw(),c=a.getScreenLayer&&a.getScreenLayer();a.visualElement?_.rw(b,a.visualElement,void 0,c):($v(),a=_.Ep(Uv().fm).bind(Uv())(a),sw(b,a,void 0,c))};_.jw=function(a,b){a.B.push(b)};
ioa=function(a,b,c,d){d=d===void 0?0:d;var e=_.Du(d);b=b||Cu(d);e&&b&&(a=a.client,d=Dv({cttAuthInfo:Eu(e)||void 0},e),c={csn:e,ve:b.getAsJson(),clientData:c},e==="UNDEFINED_CSN"?Kv("visualElementStateChanged",d,c):a?tu("visualElementStateChanged",c,a,d):_.uu("visualElementStateChanged",c,d))};
tw=function(a){var b=_.dw(),c=a.cpn,d;if(!b.j.length||((d=b.j[b.j.length-2])==null?void 0:d.cpn)===c)return!1;d=_.Du();if(c&&d&&d!=="UNDEFINED_CSN"){var e;a.itct&&(e=_.yu(a.itct||""));var f={};_.M("web_playback_associated_log_ctt")&&a.tK&&(f.cttAuthInfo={token:a.tK,videoId:a.videoId});a={cpn:c,csn:d};_.M("web_playback_associated_ve")&&e&&(_.Ep(Mv)(void 0,d,e,void 0,void 0,void 0),a.playbackVe=e.getAsJson());_.uu("playbackAssociated",a,f);b.j[b.j.length-1].cpn=c;return!0}return!1};
coa=function(a,b,c,d){d=d===void 0?{}:d;a.A.add(d.layer||0);a.J=function(){doa(a,b,c,d);var h=Cu(d.layer);if(h){for(var k=_.u(a.O),l=k.next();!l.done;l=k.next())l=l.value,_.lw(a,l[0],l[1]||h,d.layer);h=_.u(a.Z);for(k=h.next();!k.done;k=h.next())k=k.value,ioa(a,k[0],k[1])}};c||_.Du(d.layer)||a.J();if(d.wk)for(var e=_.u(d.wk),f=e.next();!f.done;f=e.next())_.kw(a,f.value,d.layer);else _.av(Error("cc"))};
doa=function(a,b,c,d){d=d===void 0?{}:d;var e=void 0;d.layer||(d.layer=0);e=d.parentLayer!==void 0?d.parentLayer:d.layer;var f=_.Du(e);e=Cu(e);var h=c||e,k;h&&(d.parentCsn!==void 0?k={clientScreenNonce:d.parentCsn,visualElement:h}:f&&f!=="UNDEFINED_CSN"&&(k={clientScreenNonce:f,visualElement:h}));var l,m=_.L("EVENT_ID");f==="UNDEFINED_CSN"&&m&&(l={servletData:{serializedServletEventId:m}});_.M("combine_ve_grafts")&&f&&ow(a,f);_.M("no_client_ve_attach_unless_shown")&&h&&f&&Jv(h,f);try{var n=Qna(a.client,
b,k,d.Mm,d.cttAuthInfo,l,d.implicitGestureType,d.loggingExpectations)}catch(r){ev(r,{SR:b,rootVe:e,parentVisualElement:c,AP:f,HR:k,Mm:d.Mm});_.av(r);return}Rma(n,b,d.layer,d.cttAuthInfo);f&&f!=="UNDEFINED_CSN"&&e&&!Pma(f)&&Tna(a.client,f,e,!0);a.j[a.j.length-1]&&!a.j[a.j.length-1].csn&&(a.j[a.j.length-1].csn=n||"");vv({clientScreenNonce:n});Zna();var p=Cu(d.layer);f&&f!=="UNDEFINED_CSN"&&p&&(_.M("web_mark_root_visible")||_.M("music_web_mark_root_visible"))&&_.Ep(Mv)(void 0,n,p,void 0,void 0,void 0);
a.A.delete(d.layer||0);a.J=void 0;var q;(q=a.W.get(d.layer))==null||q.forEach(function(r,t){r?_.lw(a,t,r,d.layer):p&&_.lw(a,t,p,d.layer)});a.ta&&!a.pa&&(joa(a),a.pa=!0);koa(a)};
eoa=function(a,b,c,d,e){b=b===void 0?"unknown":b;d=d===void 0?{}:d;e=e===void 0?null:e;var f;if(b==="back")(f=a.j.pop())&&a.o.push(f),f=a.j[a.j.length-1];else if(b==="forward")(f=a.o.pop())&&a.j.push(f);else{if(!d.key)return eoa(a,"back",c,d);a:{f=d;f=f===void 0?{}:f;for(b=1;a.j[a.j.length-b]||a.o[a.o.length-b];){var h=void 0;if(((h=a.j[a.j.length-b])==null?void 0:h.key)===f.key){f=a.j[a.j.length-b];b=a.j.splice(a.j.length-b+1);a.o.push.apply(a.o,_.ma(b.reverse()));a=[f,"back"];break a}h=void 0;if(((h=
a.o[a.o.length-b])==null?void 0:h.key)===f.key){f=a.o[a.o.length-b];b=a.o.splice(a.o.length-b);a.j.push.apply(a.j,_.ma(b.reverse()));a=[f,"forward"];break a}b++}a=[void 0,"back"]}a=_.u(a);f=a.next().value;b=a.next().value}f||(f={rootVe:c});c&&c!==f.rootVe&&_.bv(new _.oq("historyEntry rootVeType does not match passed in rootVeType",c+"-"+f.rootVe,e));f.key&&d.key&&f.key!==d.key&&_.bv(new _.oq("historyEntry key does not match config key",f.key,d.key));return[f,b]};
joa=function(a){var b=_.zu(49980),c=_.zu(49981);_.Ta("historyVes",{backButtonVe:b,forwardButtonVe:c});pw(a,b);pw(a,c)};koa=function(a){for(var b=0;b<a.B.length;b++){var c=a.B[b];try{c()}catch(d){_.av(d)}}for(b=a.B.length=0;b<a.ba.length;b++){c=a.ba[b];try{c()}catch(d){_.av(d)}}};ow=function(a,b){if(b===void 0)for(var c=Nma(),d=0;d<c.length;d++)c[d]!==void 0&&ow(a,c[d]);else a.G.forEach(function(e,f){(f=a.H.get(f))&&Rna(a.client,b,f,e)}),a.G.clear(),a.H.clear(),a.ha=void 0};
vw=function(a,b){a=uw(a);for(var c=_.u(a.visibilityMonitorKeys||[]),d=c.next();!d.done;d=c.next())b.Tl(d.value);a.visibilityMonitorKeys=void 0};ooa=function(a,b){if(_.Du()){if(_.M("kevlar_vimio_use_shared_monitor"))loa(a,b.data);else if(!loa(a,b.data))return;var c=b.data,d=moa(c);if(_.M("enable_client_ve_spec_logging"))vw(a,b.ub);else{var e=uw(a);e.trackedParams&&e.trackedParams!==d&&vw(a,b.ub)}e=uw(a);!c||e.data&&e.data===c||(e.data=c);noa(a,b);e.trackedParams=d}};
noa=function(a,b){var c=b.ub,d=b.layer,e=b.gf||function(){},f=b.kz,h=uw(a),k=[];b.de&&k.push(c.observe(a,function(){b.aJ&&b.aJ()||_.aw(h,void 0,d);e(!0)},b.de));b.Qk&&k.push(c.observe(a,function(){_.bw(h,void 0,d);e(!1)},b.Qk));b.kt&&f&&k.push(c.observe(a,function(){f()},b.kt));h.visibilityMonitorKeys=k};
loa=function(a,b){a=uw(a);if(a.visualElement&&!b)return!0;if(!b)return!1;var c=!1;if(_.M("enable_client_ve_spec_logging")){var d,e;c=!!((d=b.loggingDirectives)==null?0:(e=d.clientVeSpec)==null?0:e.uiType)}d=moa(b);if(!d&&!c)return!1;_.M("mweb_component_visibility_logging")&&(a.veContainer||(a.veContainer={}),a.veContainer.trackingParams=d);if(a.trackedParams&&a.trackedParams===d)return!1;var f;if(_.M("enable_client_ve_spec_logging")&&((f=a.visualElement)==null?0:f.isClientVe())){var h;f=(h=a.visualElement)==
null?void 0:h.getAsJspb();var k,l,m,n;if(_.gf(f,2)===((k=b.loggingDirectives)==null?void 0:(l=k.clientVeSpec)==null?void 0:l.uiType)&&_.gf(f,3,-1)===((m=b.loggingDirectives)==null?void 0:(n=m.clientVeSpec)==null?void 0:n.elementIndex))return!1}if(_.M("enable_client_ve_spec_logging")){var p,q;!a.visualElement&&((p=b.loggingDirectives)==null?0:(q=p.clientVeSpec)==null?0:q.uiType)&&(k=b.loggingDirectives.clientVeSpec,b=k.uiType,h=k.elementIndex,k=k.clientYoutubeData,a.visualElement=_.nw(_.dw(),{veType:b,
elementIndex:h,clientYouTubeData:k}))}return!0};moa=function(a){if(a==null?0:a.rendererContext){var b=_.N(a.rendererContext,poa);if(b==null?0:b.loggingDirectives)return b.loggingDirectives.trackingParams}return(a==null?0:a.loggingDirectives)?a.loggingDirectives.trackingParams:a==null?void 0:a.trackingParams};uw=function(a){var b;return(b=a.hz)!=null?b:a};qoa=function(a){this.layer=a};ww=function(a){return a.layer!==void 0?a.layer:a.parent?ww(a.parent):a.layer=0};
roa=function(a,b){var c=Vv.get(a)||{Oh:b};c.Oh=b;Vv.set(a,c);a.getScreenLayer=function(){return ww(c.Oh)}};soa=function(a){var b;a=a.parentNode;for(var c;a&&((b=Vv.get(a))==null||!b.iG)&&!((c=a.hz)!=null?c:a).RQ;)a=a.parentNode||a.host;if(b=a)return Vv.get(b)};toa=function(a){if(a){Vv.delete(a);var b=_.K().resolve(_.xw);vw(a,b)}};voa=function(a,b,c){(c===void 0?0:c)?b.data&&!b.WD&&(so(function(){uoa(a,_.Yo(b.data))}),_.Mn(function(){return void toa(a)})):typeof b.data!=="function"&&uoa(a,b.data)};
uoa=function(a,b){woa++;xoa(a,b)&&sq(0,function(){vq(0,function(){if(xoa(a,b)&&a.ownerDocument.documentElement===document.documentElement&&a){var c;if(a.getAttribute("layer")){var d=c=Number(a.getAttribute("layer")),e=Vv.get(a);e?e.Oh.layer=d:roa(a,new qoa(d));(d=soa(a))&&(e=Vv.get(a))!=null&&(e.Oh.parent=d.Oh)}else if(c=Vv.get(a))c=ww(c.Oh);else{c=ww;d=new qoa;if(e=soa(a))d.parent=e.Oh;roa(a,d);c=c(d)}c!=null||(c=0);d=a.getAttribute("client-ve-type");e=Number(d);var f=!1;d=!1;var h=Vv.get(a),k;if((k=
h)&&!(k=h[Wv]!==b)&&(k=e)){var l;k=((l=Vv.get(a))==null?void 0:l.wf)===void 0}k&&(h[Wv]=b,f=d=h.iG=!0);Vv.has(a)&&(Vv.get(a).wf=e);a.visualElement&&(d=!0);e&&f&&(a.veType=e,l=_.nw(_.dw(),a,void 0,c),a.visualElement=l);d&&(l=_.K().resolve(_.xw),ooa(a,{data:b,ub:l,layer:c,de:{je:!1,state:"visible"},Qk:{je:!1,state:"hidden"}}))}},0)},8)};
xoa=function(a,b){return(b==null?0:b.trackingParams)||(b==null?0:b.loggingDirectives)||_.N(b==null?void 0:b.rendererContext,poa)||a.getAttribute("client-ve-type")?!0:!1};yoa=function(a,b,c){a.Mf&&c instanceof HTMLElement&&b&&voa(c,b,!0)};Boa=function(a){zoa.has(a)||Aoa.has(a)};Doa=function(a){!zoa.has(Coa(a))&&Aoa.has(Coa(a))&&void 0!==a&&(a.OO=!0)};Coa=function(a){var b;return(b=a==null?void 0:a.tagName.toLowerCase())!=null?b:""};yw=function(){this.map=new Map};
_.zw=function(a){return a.ob&&a.ob!=="REFERENCE"?a.ob==="INDEX"?Eoa(a):Foa(a):Goa(a)};Aw=function(a){a=_.u(a);for(var b=a.next();!b.done;b=a.next()){var c=void 0;(c=b.value)==null||c()}};
Goa=function(a){var b=[],c=[],d=[],e=[],f=!0;_.Mn(function(){Aw(d)});return Bw(function(){var h=Cw(a),k=h.length;if(k===0){if(b.length===0&&!f)return c;Aw(d);b=h;c=[];d=[];e=[];a.fallback&&(d[0]=qo(function(){c[0]=eo(a.fallback)}));f=!1;return c}for(var l=new yw,m=b.length-1;m>=0;m--)l.push(b[m],m);m=Array(k);for(var n=Array(k),p=Array(k),q={kd:0};q.kd<k;q={kd:q.kd},q.kd++){var r=l.pop(h[q.kd]);if(r!=null){n[q.kd]=c[r];m[q.kd]=d[r];var t=e[r];t(q.kd);p[q.kd]=t;delete d[r]}else m[q.kd]=qo(function(w){return function(){var y=
_.u(_.$o(w.kd)),B=y.next().value;y=y.next().value;p[w.kd]=y;n[w.kd]=eo(function(){return a.children(h[w.kd],B)})}}(q))}Aw(d);b=h;c=n;d=m;e=p;f=!1;return n})};
Foa=function(a){var b=new Map;_.Mn(function(){for(var c=_.u(b.values()),d=c.next();!d.done;d=c.next())d.value.dispose()});return Bw(function(){var c=Cw(a),d=c.length,e=new Map;if(d===0){var f=(c=b.get(Hoa))?[c.result]:[];if(b.size===0&&!a.fallback||f.length===1)return f;c=_.u(b.values());for(d=c.next();!d.done;d=c.next())d.value.dispose();b=e;if(a.fallback){var h;e=qo(function(){h=eo(a.fallback);f[0]=h});b.set(Hoa,{dispose:e,result:h})}return f}for(var k=Array(d),l={we:0};l.we<d;l={So:void 0,Wr:void 0,
Dr:void 0,we:l.we},l.we++){var m=a.ob(c[l.we]),n=b.get(m);if(n)n.Gt(l.we),n.setItem(c[l.we]),k[l.we]=n.result,e.set(m,n),b.delete(m);else{var p=_.u(_.$o(l.we));n=p.next().value;p=p.next().value;l.Dr=n;n=p;var q=_.u(_.$o(c[l.we]));p=q.next().value;q=q.next().value;l.Wr=p;p=q;l.So=void 0;q=qo(function(r){return function(){r.So=eo(function(){return a.children(r.Wr,r.Dr)});k[r.we]=r.So}}(l));e.set(m,{index:l.Dr,item:l.Wr,Gt:n,setItem:p,result:l.So,dispose:q})}}c=_.u(b.keys());for(d=c.next();!d.done;d=
c.next())d=d.value,e.has(d)||b.get(d).dispose();b=e;return k})};
Eoa=function(a){var b=[],c=[],d=[],e=[],f=!1;_.Mn(function(){for(var h=_.u(e),k=h.next();!k.done;k=h.next())k=k.value,k()});return Bw(function(){var h=Cw(a);f&&h.length>0&&(e.pop()(),b.pop(),f=!1);for(var k=Array(h.length),l={Ib:0};l.Ib<h.length;l={Ib:l.Ib},l.Ib++)if(l.Ib<b.length)b[l.Ib]!==h[l.Ib]&&(c[l.Ib](h[l.Ib]),b[l.Ib]=h[l.Ib]),k[l.Ib]=d[l.Ib];else{var m=qo(function(n){return function(){b[n.Ib]=h[n.Ib];var p=_.u(_.$o(h[n.Ib])),q=p.next().value;p=p.next().value;c[n.Ib]=p;k[n.Ib]=eo(function(){return a.children(q,
n.Ib)})}}(l));e[l.Ib]=m}for(;b.length>h.length;)b.pop(),e.pop()(),c.pop();h.length===0&&!f&&a.fallback&&(l=qo(function(){k[0]=eo(a.fallback)}),e[0]=l,f=!0);return d=k})};Cw=function(a){var b=a.each();a.mP=b.length;return b};Bw=function(a){var b;qo(function(c){b=Do(function(){c[Iga]=!0;return Wn(c,a)},{aD:!0})});return b};
_.O=function(a){function b(){var d=a.C();if(!d)throw Error("fc");return d}var c=_.Wo(function(){a.Nv=a.C();return!!a.C()});return Do(function(){return c()?eo(function(){return a.children(b)}):a.ia&&eo(a.ia)})};_.Dw=function(a){var b=Ioa(a),c=_.Wo(function(){a:{var d=0;for(var e=-1,f=_.u(b),h=f.next();!h.done;h=f.next())if(h=h.value,h!=null&&h[go]&&(h=Joa(h)),h.isDefault)e=d;else{if(h.Pa())break a;d++}d=e}a.pD=d;return Koa(b,d)});return Do(function(){var d=c();return eo(d)})};
Ioa=function(a){a=a.children;return Array.isArray(a)?a:[a]};Joa=function(a){return a.type===_.Ew?{isDefault:!0,children:a.children[0]}:{Pa:a.props.Pa,children:a.children[0]}};Koa=function(a,b){b===-1?a=function(){return null}:(a=a[b],a=a!=null&&a[go]?Joa(a).children:a.children);return a};_.Fw=function(a){return a};_.Ew=function(a){return{isDefault:!0,children:a.children}};
Loa=function(a){var b=null,c;return{value:null,Ps:function(d){if(c&&d!==c){var e;(e=b)==null||e();c._disposeRef=void 0}c=d;b=a(d)||null},LH:function(){var d;(d=b)==null||d()}}};Moa=function(a){var b=Lo();if(b==null)throw Error("hc");var c=b.B++;b.Xi||(b.Xi=[]);var d=b.Xi;d[c]||(d[c]={key:a,host:b});if(a!==d[c].key){var e,f;a=((e=b.j)==null?void 0:e.name)||((f=b.o)==null?void 0:f.name);throw Error("gc`"+a);}return d[c]};
Noa=function(a,b){return!a||a.length!==(b==null?void 0:b.length)||a.some(function(c,d){return c!==b[d]})};_.Gw=function(a,b){var c=Moa("onChange"),d=Lo();Noa(c.Se,b)&&(c.Se=b,c.ez=a,d.vi||(d.vi=[]),d.vi.push(c))};Poa=function(a){a={key:Ooa.key,value:a};On(a);return a};Roa=function(a,b){var c={}.cq;Jn(function(){return qo(function(){var d=Poa({cq:c,JP:_.Ri(a).__wizdispatcher});Wn(d,function(){return jo(Bo,function(){return Fo(b(),a)})})},!1)});a[Qoa]=!0};
_.Hw=function(a){_.Xo(function(){_.Zm(null,a)})};_.Iw=function(a,b){_.Gw(function(){return _.Zm(null,a)},b)};_.Jw=function(a){_.In()?_.Hw(function(){_.Zm(null,a)}):_.Gw(function(){return _.Zm(null,a)},[])};Toa=function(a){var b=[].concat(_.ma(a));a.length=0;a=_.u(b);for(b=a.next();!b.done;b=a.next()){b=b.value;Soa(b);var c=b.ez;b.ez=null;if(c=c==null?void 0:c())b.dz=c}};Soa=function(a){var b=a.dz;a.dz=null;b==null||b()};
Uoa=function(a,b){if(_.In())return a();var c=Moa("useMemoInternal");Noa(c.Se,b)&&(c.Se=b,c.value=a());return c.value};_.Kw=function(a,b){return Uoa(a,b)};_.Lw=function(a){return Uoa(a,[])};_.Mw=function(a){if(_.In())throw Error("kc");return _.Lw(function(){return _.$o(a)})};_.Nw=function(){var a=_.Ka.apply(0,arguments),b=_.Lw(function(){return a.map(function(c){return _.$o(c)})});_.Iw(function(){for(var c=0;c<a.length;c++)(0,b[c][1])(a[c])},a);return b.map(function(c){return _.u(c).next().value})};
_.Ow=function(a){var b=_.Lw(function(){return Loa(function(c){b.value=c;var d=_.Zm(null,function(){return a==null?void 0:a(c)});return function(){d==null||d();b.value=null}})});return b};_.P=function(a){var b=_.Ln,c=Fn.slice();return{Rw:function(){return function(d){b.isDisposed||Jn(function(){return _.Zm(null,function(){return a(d)})},{stack:c})!==!0&&d.stopPropagation()}}}};_.Pw=function(a){return _.Lw(function(){return{value:a}})};
_.Qw=function(a,b,c,d){if(_.In())Voa(a,b,function(f){c(f)},d);else{var e=_.Pw(c);_.Gw(function(){e.value=c});_.Jw(function(){function f(k){e.value(k)}var h=a.value;h.addEventListener(b,f,d);return function(){h.removeEventListener(b,f,d)}})}};Voa=function(a,b,c,d){_.Jw(function(){var e=a.value;e.addEventListener(b,c,d);_.Mn(function(){e.removeEventListener(b,c,d)})})};
_.Rw=function(a){var b=Lo(),c=_.Lw(function(){return{value:typeof a==="function"?a():a}});return[c.value,function(d){if(Ko!==null){var e;(e=Kn.handleError)==null||e.call.apply(e,[Kn].concat(_.ma(Gn(Error("lc")))))}c.value=typeof d==="function"?d(c.value):d;b.Np={Es:b.state,Lx:!0};Wn(b.Xm,function(){jo(ho,function(){if(b.el){var f,h={},k=(h.props=b.props,h.type=b.j,h.children=(f=b.props.children)!=null?f:[],h[go]=!0,h);try{_.Po(b.el,k,!0)}catch(n){var l,m;(m=Kn.handleError)==null||m.call.apply(m,[Kn].concat(_.ma(Gn(n,
(l=b.j)==null?void 0:l.jf))))}}})})}]};_.Sw=function(a,b){function c(e){_.gp(d,function(){b(e)})}var d=_.Ln;window.addEventListener(a,c,void 0);_.Mn(function(){window.removeEventListener(a,c)})};Woa=function(a,b){Bha(a,b)};_.Xoa=function(a,b,c){oo(a,b,c);var d={};No(a,(d[b]=c,d))};Zoa=function(){var a=Yoa;return Rg(function(b){for(var c in a)if(b===a[c]&&!/^[0-9]+$/.test(c))return!0;return!1})};$oa=function(a){a=a.clone();Vfa(a);vm(a,"dg",null);vm(a,"d","0");Sfa(a,null);wm(a,null);return a};
cpa=function(a,b,c){var d=c===void 0?{}:c;c=d.cssRowKey===void 0?void 0:d.cssRowKey;var e=d.Re===void 0?void 0:d.Re;var f=d.re===void 0?void 0:d.re;d=d.callback===void 0?void 0:d.callback;vm(a,"m",b.join(","));f&&Ufa(a,f);c&&(vm(a,"ck",c),e?vm(a,"rs",e):apa&&(apa=!1));if(d){if(d!=null&&!bpa.test(d))throw Error("Ka`"+d);vm(a,"cb",d)}a=a.toString();_.ub(a,"/")&&(b=document.location.href.match(pi),a=ni(b[1],b[2],b[3],b[4])+a);return _.yh(a)};
_.Uw=function(a,b,c,d,e){d=d===void 0?!1:d;e=e===void 0?!1:e;this.H=xm(_.xh(a).toString(),!0);this.Ba=b;this.xa=c;this.O=d;this.B={};this.ba={};this.Z=[];this.ta=!0;this.pa=(a=um(this.H,"excm"))?a.split(","):[];this.Ic=e;this.Xl=!1;this.tk="anonymous";this.Ul=4043;this.ha=document.head||document.documentElement;this.A=this.J=null;this.wc=!0;_.Tw(this,Tfa(this.H));this.fetchPriority=void 0;this.W()};
dpa=function(a,b){if(b.href||b.getAttribute("data-href"))if(b=b.href||b.getAttribute("data-href"),aga(b)&&!xm(b).o.endsWith("_/js/")){b=Tfa(xm(b));b=_.u(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.pa.includes(c)||a.pa.push(c)}};
fpa=function(a,b,c){if(a.O){var d=a.H;a={cssRowKey:a.Ba,Re:a.xa,re:c,wt:Vw(a),El:epa(a)};var e=a===void 0?{}:a;a=e.wt===void 0?[]:e.wt;c=e.El===void 0?[]:e.El;var f=e.cssRowKey===void 0?void 0:e.cssRowKey;var h=e.Re===void 0?void 0:e.Re;var k=e.re===void 0?void 0:e.re;e=e.callback===void 0?void 0:e.callback;d=$oa(d);vm(d,"d","1");Sfa(d,a);wm(d,c);b=cpa(d,b,{cssRowKey:f,Re:h,re:k,callback:e})}else d=a.H,a={cssRowKey:a.Ba,Re:a.xa,wt:Vw(a),El:epa(a)},k=a===void 0?{}:a,a=k.El===void 0?[]:k.El,c=k.cssRowKey===
void 0?void 0:k.cssRowKey,f=k.Re===void 0?void 0:k.Re,h=k.re===void 0?void 0:k.re,k=k.callback===void 0?void 0:k.callback,d=$oa(d),wm(d,a),b=cpa(d,b,{cssRowKey:c,Re:f,re:h,callback:k});return b};_.Tw=function(a,b){for(var c=!1,d=[],e=0;e<b.length;++e){var f=b[e];a.B[f]||(a.B[f]=!0,a.Z.push(f),c=!0,d.push(f))}c&&(a.ta=!1)};_.gpa=function(a,b){for(var c=[],d=0;d<b.length;++d){var e=b[d];a.B[e]&&(delete a.B[e],_.Sb(a.Z,e),c.push(e))}};
_.hpa=function(a,b,c,d,e){function f(){l--;l==0&&h()}function h(){k();var m=e.filter(function(n){return!_.Hm().Pb(n).isLoaded()});m.length!==0?d(m,"Response was successful but was missing module(s) "+m+"."):c()}function k(){l=0;a.onload=null;a.onerror=null;h=function(){}}e=e===void 0?b:e;var l=b.length;b.forEach(function(m){m=_.Hm().Pb(m);m.isLoaded()?f():(m.o.push(new zm(f)),Bm(m,f))});a.onload=function(){return h()};a.onerror=function(){k();d(b)}};Vw=function(a){a.ta||(a.ta=!0,a.Z.sort());return a.Z};
epa=function(a){a=a.pa;a.sort();return a};ipa=function(a,b){return b.filter(function(c){return!a.B[c]})};
_.Ww=function(a,b,c,d){if(a.A)return a.A.then(function(){_.Ww(a,b,c,d)}),!0;if(!a.O){var e=[],f=Object.assign({},a.B);Xw(a,b,function(n){e.push(n.getId())},d,function(n){return!n.isLoaded()},f);b=e}for(f=0;f<b.length;){for(var h=b.length-f,k=f==0?b:b.slice(f,b.length),l=fpa(a,k,d),m=_.xh(l).toString();m.length>a.Ul;)if(h>1)h-=Math.ceil((m.length-a.Ul)/6),h=Math.max(h,1),k=b.slice(f,f+h),l=fpa(a,k,d),m=_.xh(l).toString();else return a.O?(a.O=!1,a.A=jpa(a).then(function(n){kpa(a,n,d)}),_.Ww(a,b.slice(f),
c,d)):!1;f+=h;a.O?c(l,k):c(l,k,f===b.length?b:[])}return!0};kpa=function(a,b,c){_.Hm().Hl((b||{}).moduleGraph);Xw(a,Vw(a),function(d){_.Tw(a,[d.getId()])},c);a.A=null};Xw=function(a,b,c,d,e,f){f=f===void 0?{}:f;var h=_.Hm();b=_.u(b);for(var k=b.next();!k.done;k=b.next()){k=k.value;var l=h.Pb(k);if(!(f[k]||e&&!e(l))){f[k]=!0;var m=l.j||[];if(d){var n=[];d[k]&&(n=Object.keys(d[k]));m=m.concat(n)}Xw(a,m,c,d,e,f);c(l)}}};jpa=function(a){a=a.H.clone();Vfa(a);vm(a,"dg",null);vm(a,"md","1");return $da(a.toString())};
lpa=function(a,b,c,d){var e=_.Yi("SCRIPT");_.gi(e,a);b&&(e.crossOrigin=c);e.async=!1;d&&e.setAttribute("fetchpriority",d);return e};_.Yw=function(a,b){this.J=[];this.ba=a;this.Z=b||null;this.B=this.j=!1;this.A=void 0;this.W=this.ha=this.O=!1;this.H=0;this.o=null;this.G=0};Zw=function(a,b,c){a.j=!0;a.A=c;a.B=!b;mpa(a)};npa=function(a){if(a.j){if(!a.W)throw new $w(a);a.W=!1}};_.ax=function(a,b,c,d){a.J.push([b,c,d]);a.j&&mpa(a)};ppa=function(a){return ht(a.J,function(b){return typeof b[1]==="function"})};
mpa=function(a){if(a.H&&a.j&&ppa(a)){var b=a.H,c=bx[b];c&&(_.Sa.clearTimeout(c.j),delete bx[b]);a.H=0}a.o&&(a.o.G--,delete a.o);b=a.A;for(var d=c=!1;a.J.length&&!a.O;){var e=a.J.shift(),f=e[0],h=e[1];e=e[2];if(f=a.B?h:f)try{var k=f.call(e||a.Z,b);k===qpa&&(k=void 0);k!==void 0&&(a.B=a.B&&(k==b||a.isError(k)),a.A=b=k);if(Mca(b)||typeof _.Sa.Promise==="function"&&b instanceof _.Sa.Promise)d=!0,a.O=!0}catch(l){b=l,a.B=!0,ppa(a)||(c=!0)}}a.A=b;d&&(k=(0,_.fb)(a.gw,a,!0),d=(0,_.fb)(a.gw,a,!1),b instanceof
_.Yw?(_.ax(b,k,d),b.ha=!0):b.then(k,d));c&&(b=new rpa(b),bx[b.j]=b,a.H=b.j)};$w=function(){_.nb.call(this)};cx=function(){_.nb.call(this)};rpa=function(a){this.j=_.Sa.setTimeout((0,_.fb)(this.throwError,this),0);this.o=a};dx=function(a,b){this.type=a;this.status=b};
spa=function(a){switch(a.type){case dx.j.nv:return"Unauthorized";case dx.j.xp:return"Consecutive load failures";case dx.j.TIMEOUT:return"Timed out";case dx.j.Wu:return"Out of date module id";case dx.j.zp:return"Init error";default:return"Unknown failure type "+a.type}};ex=function(){this.Ba=this.G=null;this.j={};this.B=[];this.J=[];this.pa=[];this.o=[];this.O=[];this.H={};this.Z={};this.A=this.W=new Am([],"");this.xa=null;this.ha=new _.Yw;this.ta=!1;this.ba=0;this.Na=this.Gb=this.sb=!1};
tpa=function(a,b){_.nb.call(this,"Error loading "+a+": "+b)};fx=function(a){var b=a.sb,c=a.isActive();c!=b&&(upa(a,c?"active":"idle"),a.sb=c);b=a.Yx();b!=a.Gb&&(upa(a,b?"userActive":"userIdle"),a.Gb=b)};vpa=function(a,b,c){a.j[b]?(a=a.j[b].j,a!=c&&a.splice.apply(a,[0,a.length].concat(_.ma(c)))):a.j[b]=new Am(c,b)};
xpa=function(a,b,c){var d=[];_.Vb(b,d);b=[];for(var e={},f=0;f<d.length;f++){var h=d[f],k=a.Pb(h);if(!k)throw Error("pc`"+h);var l=new _.Yw;e[h]=l;k.isLoaded()?l.callback(null):(wpa(a,h,k,!!c,l),a.Vk(h)||b.push(h))}b.length>0&&(a.B.length===0?a.ls(b):(a.o.push(b),fx(a)));return e};wpa=function(a,b,c,d,e){bga(c,e.callback,e);Bm(c,function(f){e.Hk(new tpa(b,f))});a.Vk(b)?d&&(ypa(a,b),fx(a)):d&&ypa(a,b)};
Apa=function(a,b){b=b.filter(function(e){return a.j[e].isLoaded()?(_.Sa.setTimeout(function(){return Error("rc`"+e)},0),!1):!0});for(var c=[],d=0;d<b.length;d++)c=c.concat(zpa(a,b[d]));_.Vb(c);return!a.ta&&c.length>1?(b=c.shift(),a.o=c.map(function(e){return[e]}).concat(a.o),[b]):c};zpa=function(a,b){var c=Rba(a.pa),d=[];c[b]||d.push(b);b=[b];for(var e=0;e<b.length;e++)for(var f=a.Pb(b[e]).j,h=f.length-1;h>=0;h--){var k=f[h];a.Pb(k).isLoaded()||c[k]||(d.push(k),b.push(k))}d.reverse();_.Vb(d);return d};
ypa=function(a,b){Qb(a.O,b)||a.O.push(b)};hx=function(a,b){a.J.length>1?a.o=a.J.map(function(c){return[c]}).concat(a.o):gx(a,b)};
gx=function(a,b){var c=a.J;a.B.length=0;for(var d=[],e=0;e<a.o.length;e++){var f=a.o[e].filter(function(l){var m=zpa(this,l);return ht(c,function(n){return Qb(m,n)})},a);Ub(d,f)}for(e=0;e<c.length;e++)jaa(d,c[e]);for(e=0;e<d.length;e++){for(f=0;f<a.o.length;f++)_.Sb(a.o[f],d[e]);_.Sb(a.O,d[e])}var h=a.Z.error;if(h)for(e=0;e<h.length;e++){var k=h[e];for(f=0;f<d.length;f++)k("error",d[f],b)}for(e=0;e<c.length;e++)if(a.j[c[e]])a.j[c[e]].onError(b);a.J.length=0;fx(a)};
ix=function(a){for(;a.o.length;){var b=a.o.shift().filter(function(c){return!this.Pb(c).isLoaded()},a);if(b.length>0){a.ls(b);return}}fx(a)};upa=function(a,b){a=a.Z[b];for(var c=0;a&&c<a.length;c++)a[c](b)};Bpa=function(a,b,c,d,e){d=d===void 0?function(){return!0}:d;e=e===void 0?{}:e;b=_.u(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=a.Pb(f);!e[f]&&d(h)&&(e[f]=!0,Bpa(a,h.j||[],c,d,e),c(h))}};
jx=function(){this.G=null;this.A=Object.create(null);this.J=Object.create(null);this.B=0;this.H=[];this.o=Object.create(null);this.j=this.Pb("{base}")};kx=function(a,b){return new _.nj(function(c,d){var e=a.Pb(b);e.isLoaded()?c(null):(bga(e,function(){c(null)}),Bm(e,function(f){d(Error("tc`"+b+"`"+f))}))})};Dpa=function(a,b){b=b.filter(function(c){return!a.Vk(c)&&!a.Pb(c).isLoaded()});b.length>0&&(a.GI.apply(a,_.ma(b)),a.H.push(b),Cpa(a))};
Cpa=function(a){for(var b={};a.B<Infinity&&a.H.length>0;b={dn:void 0,aj:void 0,Ev:void 0,ks:void 0})b.aj=a.H.shift().filter(function(c){return!a.Pb(c).isLoaded()}),b.aj.length>0&&(a.B++,b.dn=function(c){return function(){a.B--;Cpa(a);c.dn=function(){}}}(b),_.rj(b.aj.map(function(c){return kx(a,c)})).then(function(c){return function(){(0,c.dn)()}}(b)),b.Ev=0,b.ks=function(c){return function(){if(Object.keys(a.o).length>0&&!a.G.wc)throw Error("qc");a.G.Na(c.aj,a.A,{re:a.o,onError:function(d){var e=
Epa[c.Ev++];e!==void 0?setTimeout(function(){(0,c.ks)()},e):(a.LA.apply(a,_.ma(c.aj)),(0,c.dn)(),c.aj.forEach(function(f){f=a.Pb(f);if(!f.isLoaded())f.onError(new Ya.Hc(Ya.Hc.j.xp,d))}))}})}}(b),(0,b.ks)())};Fpa=function(a,b,c,d,e){d=d===void 0?function(){return!0}:d;e=e===void 0?{}:e;b=_.u(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=a.Pb(f);!e[f]&&d(h)&&(e[f]=!0,Fpa(a,h.j||[],c,d,e),c(h))}};_.lx=function(a,b,c){_.xj.call(this);this.j=a;this.B=b||0;this.o=c;this.A=(0,_.fb)(this.MB,this)};
Gpa=function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!_.Sa.requestAnimationFrame;++c)_.Sa.requestAnimationFrame=_.Sa[b+"RequestAnimationFrame"],_.Sa.cancelAnimationFrame=_.Sa[b+"CancelAnimationFrame"]||_.Sa[b+"CancelRequestAnimationFrame"];if(!_.Sa.requestAnimationFrame){var d=0;_.Sa.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return _.Sa.setTimeout(function(){e(f+h)},h)};_.Sa.cancelAnimationFrame||(_.Sa.cancelAnimationFrame=function(e){clearTimeout(e)})}};
_.mx=function(){var a=_.Si().j;return!!(a.webkitIsFullScreen||a.mozFullScreen||a.msFullscreenElement||a.fullscreenElement)};
Jpa=function(a,b){var c=b||{};b=c.document||document;var d=_.xh(a).toString(),e=(new _.Qi(b)).createElement("SCRIPT"),f={Rz:e,bh:void 0},h=new _.Yw(Hpa,f),k=null,l=c.timeout!=null?c.timeout:5E3;l>0&&(k=window.setTimeout(function(){nx(e,!0);h.Hk(new ox(1,"Timeout reached for loading script "+d))},l),f.bh=k);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(nx(e,c.tP||!1,k),h.callback(null))};e.onerror=function(){nx(e,!0,k);h.Hk(new ox(0,"Error while loading script "+
d))};f=c.attributes||{};_.Uh(f,{type:"text/javascript",charset:"UTF-8"});zca(e,f);wca(e,a);Ipa(b).appendChild(e);return h};Ipa=function(a){var b=(a||document).getElementsByTagName("HEAD");return b&&b.length!==0?b[0]:a.documentElement};Hpa=function(){if(this&&this.Rz){var a=this.Rz;a&&a.tagName=="SCRIPT"&&nx(a,!0,this.bh)}};nx=function(a,b,c){c!=null&&_.Sa.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){_.Zi(a)},0)};
ox=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);_.nb.call(this,c);this.code=a};px=function(){};Kpa=function(a,b){if(a.length!==b.length)return!1;for(var c=0;c<a.length;++c)if(a[c]!==b[c])return!1;return!0};Mpa=function(){var a=[],b;var c=c||Lpa.length;for(b=0;b<8;b++)a[b]=Lpa[0|Math.random()*c];return a.join("")};
Npa=function(){var a=_.Ka.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,_.ma(_.Ka.apply(0,arguments))))}})};
Opa=function(){var a=_.Ka.apply(0,arguments);return function(b){return function(c,d){function e(){throw Error("wc");}c=b(c,d);var f={getState:c.getState,dispatch:function(h){return e.apply(null,[h].concat(_.ma(_.Ka.apply(1,arguments))))}};d=a.map(function(h){return h(f)});e=Npa.apply(null,_.ma(d))(c.dispatch);return Object.assign({},c,{dispatch:e})}}};qx=function(){return Math.random().toString(36).substring(7).split("").join(".")};
Ppa=function(a){Object.keys(a).forEach(function(b){var c=a[b];if(typeof c(void 0,{type:rx})==="undefined")throw Error("xc`"+b);if(typeof c(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION"+qx()})==="undefined")throw Error("yc`"+b+"`"+rx);})};
sx=function(a){for(var b=Object.keys(a),c={},d=0;d<b.length;d++){var e=b[d];typeof a[e]==="function"&&(c[e]=a[e])}var f=Object.keys(c);try{Ppa(c)}catch(k){var h=k}return function(k,l){k=k===void 0?{}:k;if(h)throw h;for(var m=!1,n={},p=0;p<f.length;p++){var q=f[p],r=k[q],t=(0,c[q])(r,l);if(typeof t==="undefined")throw k=l&&l.type,Error("zc`"+(k?'"'+String(k)+'"':"(unknown type)")+"`"+q);n[q]=t;m=m||t!==r}return(m=m||f.length!==Object.keys(k).length)?n:k}};
Qpa=function(a,b,c){function d(){if(n)throw Error("Ac");return k}function e(r){if(typeof r!=="function")throw Error("Bc`"+typeof r);if(n)throw Error("Cc");var t=!0;m===l&&(m=l.slice());m.push(r);return function(){if(t){if(n)throw Error("Dc");t=!1;m===l&&(m=l.slice());var w=m.indexOf(r);m.splice(w,1);l=null}}}function f(r){if(typeof r!=="object"||r===null)var t=!1;else{for(t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);t=Object.getPrototypeOf(r)===t}if(!t)throw Error("Ec`"+typeof r);
if(typeof r.type==="undefined")throw Error("Fc");if(n)throw Error("Gc");try{n=!0,k=h(k,r)}finally{n=!1}t=l=m;for(var w=0;w<t.length;w++)(0,t[w])();return r}if(typeof b==="function"&&typeof c==="function"||typeof c==="function"&&typeof arguments[3]==="function")throw Error("Hc");typeof b==="function"&&typeof c==="undefined"&&(c=b,b=void 0);if(typeof c!=="undefined"){if(typeof c!=="function")throw Error("Ic`"+typeof c);return c(Qpa)(a,b)}if(typeof a!=="function")throw Error("Jc`"+typeof a);var h=a,
k=b,l=[],m=l,n=!1;f({type:rx});var p={},q=(p.dispatch=f,p.subscribe=e,p.getState=d,p.replaceReducer=function(r){if(typeof r!=="function")throw Error("Kc`"+typeof r);h=r;f({type:Rpa});return q},p[Spa]=function(){var r={};return r.subscribe=function(t){function w(){t.next&&t.next(d())}if(typeof t!=="object"||t===null)throw new TypeError("Lc`"+typeof t);w();return{unsubscribe:e(w)}},r[Spa]=function(){return this},r},p);return q};tx=function(a){this.T=_.Nd(a)};Tpa=function(a){this.T=_.Nd(a)};
ux=function(a){this.T=_.Nd(a)};Upa=function(a){this.T=_.Nd(a)};vx=function(a){this.T=_.Nd(a)};wx=function(a){this.T=_.Nd(a)};xx=function(a){this.T=_.Nd(a)};yx=function(a){this.T=_.Nd(a)};Vpa=function(a){this.T=_.Nd(a)};zx=function(a){this.T=_.Nd(a)};Ax=function(a){var b=new zx;return _.sf(b,2,a)};Bx=function(a){this.T=_.Nd(a)};Cx=function(a){var b=new Bx;return _.sf(b,1,a)};Ex=function(a,b){return _.Ze(a,2,Dx,b)};Fx=function(a){this.T=_.Nd(a)};Gx=function(a){this.T=_.Nd(a)};
Hx=function(a){this.T=_.Nd(a)};Ix=function(a){this.T=_.Nd(a)};Jx=function(a){this.T=_.Nd(a)};Kx=function(a){this.T=_.Nd(a)};Lx=function(a){this.T=_.Nd(a)};Xpa=function(){var a=Wpa();return of(a,7,!0)};Wpa=function(){var a=new Lx;a=of(a,5,!0);a=of(a,2,!0);a=of(a,4,!1);a=of(a,8,!0);return of(a,9,!0)};Mx=function(a){this.T=_.Nd(a)};Zpa=function(a){return Ypa.some(function(b){return b.test(a)})};
cqa=function(a,b){var c;var d=(c=a.formContent)==null?void 0:c.locale;c=d==null?void 0:d.split("-")[0];d=d&&$pa.includes(d)?d:c&&$pa.includes(c)?c:void 0;d=(d!=null?d:"en").replaceAll("-","_").toLowerCase();var e;a=((e=a.initializationData)==null?0:e.useNightlyRelease)?"nightly":"live";var f;return(b==null?0:(f=b.getEnableAlohaBinarySplit)==null?0:f.call(b))?_.Fi(aqa,a):_.Fi(bqa,a,d)};
dqa=function(a,b,c,d){if(Nx)return Nx;var e=cqa(a,d);return Nx=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=_.Yi("SCRIPT");_.gi(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})};
eqa=function(a,b,c,d){if(Ox)return Ox;var e=cqa(a,d);return Ox=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=_.Yi("SCRIPT");_.gi(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})};
fqa=function(a,b,c,d,e){e=e===void 0?!0:e;var f,h,k,l,m;return _.z(function(n){switch(n.j){case 1:return f=Date.now(),_.x(n,dqa(a,c,d,b),2);case 2:h=n.o;if(!(e||((l=a.initializationData)==null?0:l.useNightlyRelease)||((m=a.initializationData)==null?0:m.isLocalServer))){k=h.initializeFeedbackClient(a,f,b);n.L(3);break}return _.x(n,h.initializeFeedbackClientAsync(a,f,b),4);case 4:k=n.o;case 3:return k.initiateAloha(),n.return(k)}})};
gqa=function(a,b,c,d){var e,f,h;return _.z(function(k){if(k.j==1)return e=Date.now(),_.x(k,eqa(a,c,d.document,b),2);if(k.j!=3)return f=k.o,_.x(k,f.initializeFeedbackClientAsync(a,e,b,d),3);h=k.o;h.initiateAloha();return k.return(h)})};
hqa=function(a,b,c){var d=!0;d=d===void 0?!0:d;var e,f,h,k,l,m,n,p,q,r;return _.z(function(t){e=c||_.Sa;if((f=b)==null?0:(k=(h=f).getEnableAlohaBinarySplit)==null?0:k.call(h)){l=e;if(l.isFormOpened)throw m=Error("Mc"),m.name="DuplicateFormError",m;l.isFormOpened=!0;a.callbacks=a.callbacks||{};n=a.callbacks.onClose||function(){};a.callbacks.onClose=function(w){l.isFormOpened=!1;n(w)};try{return t.return(gqa(a,b,l,e))}catch(w){throw l.isFormOpened=!1,w;}}else{p=e;if(p.isFormOpened)throw q=Error("Mc"),
q.name="DuplicateFormError",q;p.isFormOpened=!0;a.callbacks=a.callbacks||{};r=a.callbacks.onClose||function(){};a.callbacks.onClose=function(w){p.isFormOpened=!1;r(w)};try{return t.return(fqa(a,b,p,e.document,d))}catch(w){throw p.isFormOpened=!1,w;}}_.wa(t)})};
kqa=function(a,b){return _.z(function(c){return c.return(new Promise(function(d){var e=iqa(b!=null?b:"")+"/aloha_form_properties?productId="+a;Kda(e,function(f){f=f.target;var h=null;try{var k=JSON,l=k.stringify;if(f.j){var m=f.j.responseText;m.indexOf(")]}'\n")==0&&(m=m.substring(5));var n=jqa(m)}else n=void 0;h=_.Tf(Mx,l.call(k,n))}catch(p){l=new Mx,n=Xpa(),n=of(n,10,!0),n=of(n,12,!0),n=of(n,13,!1),n=of(n,14,!0),n=of(n,15,!0),n=of(n,20,!1),h=_.Ye(l,1,n)}d(h)},"GET","",{},2E3,!0)}))})};
iqa=function(a){return Zpa(a)?a:"https://www.google.com/tools/feedback"};
Px=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||_.Sa,e=d.document,f=a.nonce||_.bi(d);f&&!a.nonce&&(a.nonce=f);if(a.flow=="help"){var h=_.Ua("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=k.length<=1200)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var l in a)b=a[l],b==null||cb(b)||(d+=encodeURIComponent(l)+"="+encodeURIComponent(b)+"&");a=_.Si(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);_.gi(a,_.yh(d));e.body.appendChild(a)}};
lqa=function(a,b,c,d){var e,f;_.z(function(h){e=c||_.Sa;var k=a.serverEnvironment==="DEV",l=c||_.Sa;l=a.nonce||_.bi(l);k={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,
defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:k,nonce:l,useNightlyRelease:k,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,
enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(l=new Map(Object.entries(b)),k.extraData.productSpecificData=l);f=k;return _.x(h,hqa(f,d,e),0)})};
nqa=function(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//,"");_.ai(c||window,_.Gh("https://support.google.com/"+d))}else a.flow==="submit"?Px(a,b,c):kqa(a.productId,a.feedbackServerUri).then(function(e){e=_.Te(e,Lx,1);var f=!mqa||(e==null?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&h?lqa(a,b,c,e):Px(a,b,c)},function(e){e&&e.name!=="DuplicateFormError"&&Px(a,b,c)})}catch(e){lqa(a,b,c,null)}};
Qx=function(a){this.D=a};Rx=function(){Qx.apply(this,arguments)};Sx=function(){Rx.apply(this,arguments)};Tx=function(){Rx.apply(this,arguments)};Ux=function(){Rx.apply(this,arguments)};Vx=function(){Rx.apply(this,arguments)};Wx=function(){Qx.apply(this,arguments)};Xx=function(){Rx.apply(this,arguments)};Yx=function(){Rx.apply(this,arguments)};Zx=function(){Rx.apply(this,arguments)};oqa=function(a){this.T=_.Nd(a)};$x=function(){Rx.apply(this,arguments)};ay=function(){Rx.apply(this,arguments)};
by=function(){Rx.apply(this,arguments)};cy=function(){Rx.apply(this,arguments)};dy=function(){Rx.apply(this,arguments)};ey=function(){Rx.apply(this,arguments)};fy=function(){Rx.apply(this,arguments)};gy=function(){Rx.apply(this,arguments)};hy=function(){Qx.apply(this,arguments)};iy=function(){Rx.apply(this,arguments)};jy=function(){Rx.apply(this,arguments)};ky=function(){Rx.apply(this,arguments)};ly=function(){Rx.apply(this,arguments)};my=function(){Rx.apply(this,arguments)};
ny=function(){Rx.apply(this,arguments)};oy=function(){Rx.apply(this,arguments)};py=function(){Rx.apply(this,arguments)};qy=function(){Qx.apply(this,arguments)};ry=function(){Qx.apply(this,arguments)};sy=function(){Qx.apply(this,arguments)};ty=function(){Rx.apply(this,arguments)};uy=function(){Rx.apply(this,arguments)};vy=function(){Rx.apply(this,arguments)};wy=function(){Rx.apply(this,arguments)};xy=function(){Rx.apply(this,arguments)};yy=function(){Rx.apply(this,arguments)};
zy=function(){Rx.apply(this,arguments)};Ay=function(){Rx.apply(this,arguments)};By=function(){Rx.apply(this,arguments)};Cy=function(){Rx.apply(this,arguments)};Dy=function(){Rx.apply(this,arguments)};Ey=function(){Rx.apply(this,arguments)};Fy=function(){Rx.apply(this,arguments)};Gy=function(){Rx.apply(this,arguments)};Hy=function(){Rx.apply(this,arguments)};Iy=function(){Rx.apply(this,arguments)};Jy=function(){Rx.apply(this,arguments)};Ky=function(){Rx.apply(this,arguments)};
Ly=function(){Rx.apply(this,arguments)};My=function(){Rx.apply(this,arguments)};Ny=function(){Rx.apply(this,arguments)};Oy=function(){Rx.apply(this,arguments)};Py=function(){Rx.apply(this,arguments)};Qy=function(){Rx.apply(this,arguments)};Ry=function(){Qx.apply(this,arguments)};Sy=function(){Rx.apply(this,arguments)};Ty=function(){Rx.apply(this,arguments)};Vy=function(){Rx.apply(this,arguments)};Zy=function(){Rx.apply(this,arguments)};$y=function(){Rx.apply(this,arguments)};
az=function(){Rx.apply(this,arguments)};bz=function(){Rx.apply(this,arguments)};cz=function(){Rx.apply(this,arguments)};dz=function(){Rx.apply(this,arguments)};ez=function(){Rx.apply(this,arguments)};fz=function(){Rx.apply(this,arguments)};gz=function(){Rx.apply(this,arguments)};hz=function(){Rx.apply(this,arguments)};iz=function(){Rx.apply(this,arguments)};jz=function(){Rx.apply(this,arguments)};_.kz=function(a){this.T=_.Nd(a)};lz=function(){Rx.apply(this,arguments)};
mz=function(){Rx.apply(this,arguments)};nz=function(){Rx.apply(this,arguments)};oz=function(){Rx.apply(this,arguments)};pz=function(){Rx.apply(this,arguments)};qz=function(){Rx.apply(this,arguments)};_.rz=function(a){this.T=_.Nd(a)};sz=function(){Rx.apply(this,arguments)};tz=function(){Rx.apply(this,arguments)};uz=function(){Rx.apply(this,arguments)};vz=function(){Rx.apply(this,arguments)};wz=function(){Rx.apply(this,arguments)};
pqa=function(a){switch(a){case "canary":return"CLIENT_CANARY_STATE_CANARY";case "control":return"CLIENT_CANARY_STATE_CONTROL";case "none":return"CLIENT_CANARY_STATE_NONE";default:return"CLIENT_CANARY_STATE_UNKNOWN"}};qqa=function(){this.register=new Map};rqa=function(a,b,c){a=a+"_"+b;xz.register.has(a)?c=xz.register.get(a):(c=c(),xz.register.set(a,c));return c};zz=function(a){a=_.u(a.register.values());for(var b=a.next();!b.done;b=a.next())yz(b.value,"ABORTED")};
sqa=function(a,b){b=b===void 0?"":b;var c=[],d;for(d in a)if(a.hasOwnProperty(d)){var e=b!==""?b+"."+d:d;typeof a[d]==="object"?c.push.apply(c,_.ma(sqa(a[d],e))):c.push([e,a[d]])}c.sort();return c};Az=function(){this.events=new Map};tqa=function(a){var b=[];a=_.u(a.events.values());for(var c=a.next();!c.done;c=a.next())b.push(c.value);return b};
vqa=function(){this.G=new uqa;this.A=new Az;this.B=new Az;this.o=0;this.flushInterval=3E4;this.j=new Sj(this.flushInterval);this.j.listen("tick",this.flush,!1,this)};Cz=function(a){Bz==null&&(Bz=new vqa);var b=Bz;var c=b.A;a.dimensions=a.dimensions||{};a.dimensions.csn=_.Du()||"";var d=sqa(a.dimensions).join(";");if(a.records!=null)if(c.events.has(d)){var e;(e=c.events.get(d).records)==null||e.push.apply(e,_.ma(a.records))}else c.events.set(d,a);b.j.enabled||b.j.start();b.o++;b.o>=100&&b.flush()};
uqa=function(){};xqa=function(a){for(var b=_.u(Object.entries(wqa)),c=b.next();!c.done;c=b.next())if(c=_.u(c.value),c.next(),c=c.next().value,c==="SLI_STATUS_"+a)return c;return"SLI_STATUS_UNKNOWN"};yqa=function(a,b,c){b=xqa(b);Cz({dimensions:c,records:[{name:a,state:"SLI_STATE_END",status:b}]})};Dz=function(a){this.name=a};Fz=function(a){var b={mweb:Ez()};b=b===void 0?{}:b;yqa(a.name,"SUCCESS",b)};Gz=function(a){var b={mweb:Ez()};b=b===void 0?{}:b;yqa(a.name,"FAILURE",b)};
zqa=function(a,b,c){this.name=a;this.sliId=b;this.timeoutMs=c;this.o="";this.A=-1;this.j=!1;this.dimensions={}};Hz=function(a,b){b=b===void 0?{}:b;a.j||(a.j=!0,a.dimensions=b,a.o=Mpa(),Cz({dimensions:a.dimensions,records:[{name:a.name,state:"SLI_STATE_START",sliId:a.o}]}),a.timeoutMs>0&&(a.A=setTimeout(function(){yz(a,"TIMEOUT")},a.timeoutMs)))};
yz=function(a,b){a.j&&(a.timeoutMs>0&&clearTimeout(a.A),a.j=!1,b={dimensions:a.dimensions,records:[{name:a.name,status:xqa(b),state:"SLI_STATE_END",sliId:a.o}]},xz.register.delete(a.name+"_"+a.sliId),Cz(b))};Aqa=function(a,b,c){return rqa(a,b,function(){return new zqa(a,b,c)})};Iz=function(){return Aqa("SLI_NAME_YOUTUBE_MWEB_NAVIGATION","navigation",12E4)};Jz=function(){return Aqa("SLI_NAME_YOUTUBE_MWEB_FULLSCREEN_REQUEST_SLI","fullscreen_request",3E4)};
Cqa=function(a){a&&(a.dataset?a.dataset[Bqa()]="true":$ba(a))};Kz=function(a){return a?a.dataset?a.dataset[Bqa()]:a.getAttribute("data-loaded"):null};Bqa=function(){return Dqa.loaded||(Dqa.loaded="loaded".replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()}))};
Lz=function(a,b){if(a.requestFullscreen)a=a.requestFullscreen(b);else if(a.webkitRequestFullscreen)a=a.webkitRequestFullscreen();else if(a.mozRequestFullScreen)a=a.mozRequestFullScreen();else if(a.msRequestFullscreen)a=a.msRequestFullscreen();else if(a.webkitEnterFullscreen)a=a.webkitEnterFullscreen();else return Promise.reject(Error("Nc"));return a instanceof Promise?a:Promise.resolve()};
Oz=function(a){var b;Mz()?Nz()==a&&(b=document):b=a;if(b&&(a=jt(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))){a.call(b)instanceof Promise||Promise.resolve();return}Promise.resolve()};_.Eqa=function(){var a=document;return _.Ob(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
Mz=function(){return!!jt(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)};Nz=function(){var a=a===void 0?!1:a;var b=jt(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);if(a)for(;b&&b.shadowRoot;)b=b.shadowRoot.fullscreenElement;return b?b:null};
Pz=function(a){a=a||{};var b={},c={};this.url=a.url||"";this.args=a.args||_.Rh(b);this.assets=a.assets||{};this.attrs=a.attrs||_.Rh(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||{}};
_.Rz=function(a,b,c){b=b===void 0?{}:b;a=(a=a in Qz?Qz[a]:c)||"";c={};for(var d in b){c={Yk:c.Yk};c.Yk=d;var e=function(f){return function(){return String(b[f.Yk])}}(c);a=a.replace(new RegExp("\\$\\{"+c.Yk+"\\}","gi"),e);a=a.replace(new RegExp("\\$"+c.Yk,"gi"),e)}return a};Fqa=function(a){var b="PLAYER_SEEK_SECONDS"in Qz?Qz.PLAYER_SEEK_SECONDS:{},c=_.L("I18N_PLURAL_RULES");c||(c=function(d){return d==1?"one":"other"});return(b=b["case"+a]||b[c(a)])?b.replace("#",a.toString()):a+""};
_.Sz=function(a,b,c){Gqa(a,b,c===void 0?null:c)};Gqa=function(a,b,c){c=c===void 0?null:c;var d=_.Hqa(a),e=document.getElementById(d),f=e&&Kz(e),h=e&&!f;f?b&&b():(b&&(f=Tla(d,b),b=""+eb(b),Iqa[b]=f),h||(e=Jqa(a,d,function(){Kz(e)||(Cqa(e),Vla(d),_.Op(function(){_.Gt(d)},0))},c)))};
Jqa=function(a,b,c,d){d=d===void 0?null:d;var e=_.Yi("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);_.gi(e,ft(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e};_.Hqa=function(a){var b=document.createElement("a");Ih(b,a);return"js-"+mi(b.href.replace(/^[a-zA-Z]+:\/\//,"//"))};
Mqa=function(a){var b=Kqa(a),c=document.getElementById(b),d=c&&Kz(c);d||c&&!d||(c=Lqa(a,b,function(){if(!Kz(c)){Cqa(c);Vla(b);var e=_.gb(_.Gt,b);_.Op(e,0)}}))};Lqa=function(a,b,c){var d=document.createElement("link");d.id=b;d.onload=function(){c&&setTimeout(c,0)};a=ft(a);_.$h(d,a,"stylesheet");(document.getElementsByTagName("head")[0]||document.body).appendChild(d);return d};Kqa=function(a){var b=_.Yi("A");Ih(b,new _.Ah(a));return"css-"+mi(b.href.replace(/^[a-zA-Z]+:\/\//,"//"))};
Nqa=function(a,b){this.actionName=a;this.args=b===void 0?null:b;this.returnValue=[]};_.Oqa=function(a,b,c){var d;d||(d={bubbles:!0,cancelable:!1,composed:!0});c!==null&&c!==void 0&&(d.detail=c);b=new CustomEvent(b,d);a.dispatchEvent(b)};_.Tz=function(a,b,c){function d(e){a.removeEventListener(b,d);return c.call(a,e)}a.addEventListener(b,d,void 0)};_.Uz=function(a,b,c){b=new Nqa(b,c);_.Oqa(a,"yt-action",b);return b.returnValue};
_.Vz=function(a){var b=_.L("INNERTUBE_HOST_OVERRIDE");b&&(a=String(b)+String(_.ti(a)));return a};_.Pqa=function(a,b){var c={};_.M("web_api_key_killswitch")&&(_.L("INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT")&&(b==null?0:b.Authorization)||(c.key=_.L("INNERTUBE_API_KEY")));_.M("json_condensed_response")&&(c.prettyPrint="false");return a=Kp(a,c||{},!1)};_.Wz=function(a){return Lp(a)?"same-origin":"include"};_.Xz=function(a){return Lp(a)?"same-origin":"cors"};
_.Yz=function(a,b,c){c=c===void 0?{}:c;a={method:b===void 0?"POST":b,mode:_.Xz(a),credentials:_.Wz(a)};b={};for(var d=_.u(Object.keys(c)),e=d.next();!e.done;e=d.next())e=e.value,c[e]&&(b[e]=c[e]);Object.keys(b).length>0&&(a.headers=b);return a};_.Zz=function(a,b){b=b===void 0?{}:b;return"service:"+a+"/"+Object.keys(b).sort().map(function(c){return c+":"+b[c]}).join("/")};_.Qqa=function(){return vda()||_.Kq()||_.$z&&Jq("version/")?!0:_.L("EOM_VISITOR_DATA")?!1:!0};
_.aA=function(a,b,c,d){d=d===void 0?!0:d;var e=_.L("VALID_SESSION_TEMPDATA_DOMAINS",[]),f=_.ri(window.location.href);f&&e.push(f);f=_.ri(a);if(Qb(e,f)||!f&&_.ub(a,"/"))if(e=document.createElement("a"),Ih(e,a),a=e.href)if(a=_.ti(a),a=ui(a))d&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:_.Du()},b)),c?(c=parseInt(c,10),isFinite(c)&&c>0&&Rqa(a,b,c)):Rqa(a,b)};Rqa=function(a,b,c){a=Sqa(a);b=b?vi(b):"";c=c||5;_.Qqa()&&_.gq(a,b,c)};
Sqa=function(a){for(var b=_.u(Tqa),c=b.next();!c.done;c=b.next())a=_.zi(a,c.value);return"ST-"+mi(a).toString(36)};_.bA=function(a,b){var c=Date.now()+2592E6,d=Uqa();if(d&&window.JSON){typeof b!=="string"&&(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};_.cA=function(a){var b=Vqa(),c=Uqa();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if(typeof d!=="string")try{d=c.get(a)}catch(e){}if(typeof d!=="string")return null;try{d=JSON.parse(d,void 0)}catch(e){}return d};
_.dA=function(a){a&=16777215;var b=[(a&16711680)>>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("vc`"+a+"`"+c+"`"+b);c=a<<16|c<<8|b;return a<16?"#"+(16777216|c).toString(16).slice(1):"#"+c.toString(16)};
_.eA=function(a){a=[(a&16711680)>>>16,(a&65280)>>>8,a&255,(a&4278190080)>>>24];var b=Wqa(a,function(c){return c==(c&255)});a[3]=(a[3]/255).toFixed(3);if(!b)throw Error("Pc`"+a.join(","));return"rgba("+a.join(",")+")"};_.fA=function(a,b){a=[(a&16711680)>>>16,(a&65280)>>>8,a&255];return"rgba("+a[0]+", "+a[1]+", "+a[2]+", "+b+")"};Xqa=function(){};_.Yqa=function(){if(!gA){gA=new $l(new Xqa);var a=_.wp("client_streamz_web_flush_count",-1);a!==-1&&(gA.A=a)}return gA};_.hA=function(){try{return!!self.localStorage}catch(a){return!1}};
iA=function(a){this.j=new Hk(a)};_.jA=function(a){if(_.hA()&&(a=Yda(_.pq()+"::"+a)))return new iA(a)};Zqa=function(){var a=!1;try{a=!!window.sessionStorage.getItem("session_logininfo")}catch(b){a=!0}return(_.L("INNERTUBE_CLIENT_NAME")==="WEB"||_.L("INNERTUBE_CLIENT_NAME")==="WEB_CREATOR")&&a};
_.kA=function(a){if(_.L("LOGGED_IN",!0)&&Zqa()){var b=_.L("VALID_SESSION_TEMPDATA_DOMAINS",[]);var c=_.ri(window.location.href);c&&b.push(c);c=_.ri(a);Qb(b,c)||!c&&_.ub(a,"/")?(b=_.ti(a),(b=ui(b))?(b=Sqa(b),b=(b=_.fq.get(b,void 0)||null)?_.Ip(b):{}):b=null):b=null;b==null&&(b={});c=b;var d=void 0;Zqa()?(d||(d=_.L("LOGIN_INFO")),d?(c.session_logininfo=d,c=!0):c=!1):c=!1;c&&_.aA(a,b)}};
$qa=function(a){var b=!0;b=b===void 0?!1:b;var c=_.Gh(a),d=Bh(c);a!=d&&_.Fp(Error("Qc`"+a));a=d;d=mi(a).toString(36);try{if(b){b=a;b=sla(b);_.kA(b);_.ai(window,b,d,"attributionsrc");return}}catch(e){_.Dp(e)}_.kA(a);_.ai(window,c,d)};_.bra=function(a){a=ara.test(a)?_.yh(a):null;if(!window.payments&&a)a=Jpa(a,{attributes:{"data-payments-main":"",id:"payment-lib"}});else{var b=_.sj();a=b.promise;b.resolve()}return a};
_.lA=function(a,b){Ti("gtm")||(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"user_consent",country_code:b}),window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js",geo:_.L("GL")}),b=_.Yi("SCRIPT"),b.async=!0,_.gi(b,_.Fi(cra,a)),b.id="gtm",a=document.getElementsByTagName("script"),a.length==0?document.head.appendChild(b):(a=a[0],a.parentNode.insertBefore(b,a)))};_.mA=function(a){if(a=JSON.parse(a))window.dataLayer=window.dataLayer||[],window.dataLayer.push(a)};
_.nA=function(){};_.dra=function(){if(!oA())return"";var a=window.google.gr;a.init({async:{schedule:"sync"},merchantId:"youtube"});a.start();a=a.finish();return a==null?"":a};oA=function(){return window.google!=null&&window.google.gr!=null};_.pA=function(a){var b=a.type;a=a.payload;b={type:b};a!==void 0&&(b.payload=a);return b};qA=function(a,b){b=b===void 0?[]:b;var c=c===void 0?[]:c;b=Npa.apply(null,[Opa.apply(null,_.ma(b))].concat(_.ma(c)));this.store=Qpa(a,void 0,b)};
_.rA=function(a,b,c){var d=b(a.getState());return a.subscribe(function(){var e=b(a.getState());if(e!==d){var f=d;d=e;c(e,f)}})};era=function(){return function(a){return function(b){var c=a(b);_.Uz(document.documentElement,"yt-forward-redux-action-to-live-chat-iframe",[b]);return c}}};fra=function(){return function(a){return function(b){b.type==="ENTITY_LOADED"&&_.K().resolve(sA).then(function(c){var d;(d=c.dispatchReduxAction)==null||d.call(c,b)});return a(b)}}};
gra=function(a,b){return _.pA({type:"SET_TRANSCRIPTION_STATE",payload:{high:a,low:b}})};hra=function(a){return _.pA({type:"SET_OVERLAY_STATE",payload:a})};ira=function(a,b){a=a===void 0?{}:a;switch(b.type){case "SET_TRANSCRIPTION_STATE":return Object.assign({},a,{TJ:b.payload});case "SET_OVERLAY_STATE":return Object.assign({},a,{overlay:b.payload});case "RESET_VOICE_SEARCH_STATE":return{};default:return a}};_.tA=function(a,b,c){return _.pA({type:"REPLACE_ENTITY",payload:{Mq:c,entityType:a,key:b}})};
_.uA=function(a,b,c,d){return _.pA({type:"UPDATE_ENTITY",payload:{Mq:c,entityType:a,key:b,bH:d}})};
vA=function(a,b,c){for(var d=Object.assign({},a),e=_.u(Object.keys(b)),f=e.next();!f.done;f=e.next()){f=f.value;var h=a[f],k=b[f];if(k===void 0)delete d[f];else if(h===void 0)d[f]=k;else if(Array.isArray(k)&&Array.isArray(h))d[f]=c?[].concat(_.ma(h),_.ma(k)):k;else if(!Array.isArray(k)&&cb(k)&&!Array.isArray(h)&&cb(h))d[f]=vA(h,k,c);else if(typeof k===typeof h)d[f]=k;else return b=new _.oq("Attempted to merge fields of differing types.",{name:"DeepMergeError",key:f,FR:h,updateValue:k}),_.av(b),a}return d};
wA=function(a){var b=this;a=a===void 0?[]:a;this.j=[];this.totalLength=this.A=this.o=0;a.forEach(function(c){b.append(c)})};jra=function(a,b){a.focus(b);return a.j[a.o][b-a.A]};
lra=function(a){if(!a.length)return"";try{if(kra)return kra.decode(a);if("FetchInternal"in window)return FetchInternal.decodeFromUTF8(a)}catch(h){}for(var b=0,c=[],d=a.length;b<d;){for(var e=0;e<1024&&b<d;){var f=a[b++];if(f<128)xA[e++]=f;else{if(f<224)f=(f&31)<<6|a[b++]&63;else if(f<240)f=(f&15)<<12|(a[b++]&63)<<6|a[b++]&63;else{if(e+1===1024){--b;break}f=(f&7)<<18|(a[b++]&63)<<12|(a[b++]&63)<<6|a[b++]&63;f-=65536;xA[e++]=55296|f>>10;f=56320|f&1023}xA[e++]=f}}f=String.fromCharCode.apply(String,xA);
e<1024&&(f=f.substr(0,e));c.push(f)}return c.join("")};mra=function(a,b){var c;if((c=yA)==null?0:c.encodeInto)return b=yA.encodeInto(a,b),b.read<a.length?a.length*4:b.written;for(var d=c=0;d<a.length;d++){var e=a.charCodeAt(d);e<128?b[c++]=e:(e<2048?b[c++]=e>>6|192:((e&64512)===55296&&d+1<a.length&&(a.charCodeAt(d+1)&64512)===56320?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return c};
nra=function(a){this.j=a;this.pos=0;this.o=-1};zA=function(a){var b=jra(a.j,a.pos);++a.pos;if(b<128)return b;for(var c=b&127,d=1;b>=128;)b=jra(a.j,a.pos),++a.pos,d*=128,c+=(b&127)*d;return c};ora=function(a,b){var c=a.o;for(a.o=-1;a.pos+1<=a.j.totalLength;){c<0&&(c=zA(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:zA(a);break;case 1:a.pos+=8;break;case 2:d=zA(a);a.pos+=d;break;case 5:a.pos+=4}}return!1};pra=function(a,b){a=new Uint8Array(a);b&&a.set(b);return a};
qra=function(){this.pos=0;this.j=pra(4096);this.view=new DataView(this.j.buffer,this.j.byteOffset,this.j.byteLength)};AA=function(a,b){b=a.pos+b;if(!(a.j.length>=b)){for(var c=a.j.length*2;c<b;)c*=2;a.j=pra(c,a.j.subarray(0,a.pos));a.view=new DataView(a.j.buffer,a.j.byteOffset,a.j.byteLength)}};
BA=function(a,b){if(b>268435455){AA(a,4);for(var c=b&1073741823,d=0;d<4;d++)a.view.setUint8(a.pos,c&127|128),c>>=7,a.pos+=1;b=Math.floor(b/268435456)}for(AA(a,4);b>127;)a.view.setUint8(a.pos,b&127|128),b>>=7,a.pos+=1;a.view.setUint8(a.pos,b);a.pos+=1};
CA=function(a){a=new nra(new wA([_.gc(decodeURIComponent(a))]));if(ora(a,2)){var b=zA(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.A+e<=d.j[d.o].length)){var f=d.o,h=d.A;d.focus(c+e-1);h=new Uint8Array(d.A+d.j[d.o].length-h);for(var k=0,l=f;l<=d.o;l++)h.set(d.j[l],k),k+=d.j[l].length;d.j.splice(f,d.o-f+1,h);d.o=0;d.A=0;d.focus(c)}f=d.j[d.o];d=new DataView(f.buffer,f.byteOffset+c-
d.A,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?lra(b):void 0;a=ora(a,4)?zA(a):void 0;d=rra[a];if(typeof d==="undefined")throw a=new _.oq("Failed to recognize field number",{name:"EntityKeyHelperError",RP:a}),_.av(a),a;return{MP:a,entityType:d,entityId:b}};
_.DA=function(a,b){var c=new qra;if(yA)a=yA.encode(a);else{var d=new Uint8Array(Math.ceil(a.length*1.2)),e=mra(a,d);d.length<e&&(d=new Uint8Array(e),e=mra(a,d));d.length>e&&(d=d.subarray(0,e));a=d}a!==void 0&&(BA(c,18),d=a.length,BA(c,d),AA(c,d),c.j.set(a,c.pos),c.pos+=d);a=sra[b];if(typeof a==="undefined")throw b=new _.oq("Failed to recognize entity type",{name:"EntityKeyHelperError",entityType:b}),_.av(b),b;a!==void 0&&(BA(c,32),BA(c,a));BA(c,40);BA(c,1);b=new Uint8Array(c.j.buffer,c.j.byteOffset,
c.pos);return encodeURIComponent(_.dc(b))};EA=function(a){a=a.key||a.id;if(!a)throw Error("Tc");return a};ura=function(a,b){a=a===void 0?{}:a;return tra(a,b)};FA=function(a,b,c,d){if(d===void 0)return d=Object.assign({},a[b]||{}),c=(delete d[c],d),d={},Object.assign({},a,(d[b]=c,d));var e={},f={};return Object.assign({},a,(f[b]=Object.assign({},a[b],(e[c]=d,e)),f))};
vra=function(a,b,c,d,e){var f=a[b];if(f==null||!f[c])return a;d=vA(f[c],d,e==="REPEATED_FIELDS_MERGE_OPTION_APPEND");e={};f={};return Object.assign({},a,(f[b]=Object.assign({},a[b],(e[c]=d,e)),f))};
tra=function(a,b){a=a===void 0?{}:a;switch(b.type){case "ENTITY_LOADED":return b.payload.reduce(function(d,e){var f,h=(f=e.options)==null?void 0:f.persistenceOption;if(h&&h!=="ENTITY_PERSISTENCE_OPTION_UNKNOWN"&&h!=="ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST")return d;if(!e.entityKey)return _.av(Error("Uc")),d;if(e.type==="ENTITY_MUTATION_TYPE_REPLACE"){if(!e.payload)return _.av(new _.oq("REPLACE entity mutation is missing a payload",{entityKey:e.entityKey})),d;var k=Lh(e.payload);return FA(d,
k,e.entityKey,e.payload[k])}if(e.type==="ENTITY_MUTATION_TYPE_DELETE"){a:{e=e.entityKey;try{var l=CA(e).entityType;k=FA(d,l,e);break a}catch(p){if(p instanceof Error){_.av(new _.oq("Failed to deserialize entity key",{entityKey:e,originalMessage:p.message}));k=d;break a}throw p;}k=void 0}return k}if(e.type==="ENTITY_MUTATION_TYPE_UPDATE"){if(!e.payload)return _.av(new _.oq("UPDATE entity mutation is missing a payload",{entityKey:e.entityKey})),d;k=Lh(e.payload);var m,n;return vra(d,k,e.entityKey,e.payload[k],
(m=e.fieldMask)==null?void 0:(n=m.mergeOptions)==null?void 0:n.repeatedFieldsMergeOption)}return d},a);case "REPLACE_ENTITY":var c=b.payload;return FA(a,c.entityType,c.key,c.Mq);case "REPLACE_ENTITIES":return Object.keys(b.payload).reduce(function(d,e){var f=b.payload[e];return Object.keys(f).reduce(function(h,k){return FA(h,e,k,f[k])},d)},a);case "UPDATE_ENTITY":return c=b.payload,vra(a,c.entityType,c.key,c.Mq,c.bH);default:return a}};_.GA=function(a,b,c){return a[b]?a[b][c]||null:null};
wra=function(){if(HA)return HA();var a={};HA=nr("PersistentEntityStoreDb",{Lg:(a.EntityStore={nf:1},a.EntityAssociationStore={nf:2},a),shared:!1,upgrade:function(b,c){c(1)&&b.createObjectStore("EntityStore",{keyPath:"key"}).createIndex("entityType","entityType",{unique:!1});c(2)&&(b=b.createObjectStore("EntityAssociationStore",{keyPath:["parentEntityKey","childEntityKey"]}),b.createIndex("byParentEntityKey","parentEntityKey",{unique:!1}),b.createIndex("byChildEntityKey","childEntityKey",{unique:!1}))},
version:3});return HA()};xra=function(a){return dr(wra(),a)};IA=function(a){return window.Int32Array?new Int32Array(a):Array(a)};
OA=function(a){_.xj.call(this);this.counter=[0,0,0,0];this.o=new Uint8Array(16);this.j=16;if(!yra){var b,c=new Uint8Array(256),d=new Uint8Array(256);var e=1;for(b=0;b<256;b++)c[e]=b,d[b]=e,e^=e<<1^(e>>7&&283);JA=new Uint8Array(256);KA=IA(256);LA=IA(256);MA=IA(256);NA=IA(256);for(var f=0;f<256;f++){e=f?d[255^c[f]]:0;e^=e<<1^e<<2^e<<3^e<<4;e=e&255^e>>>8^99;JA[f]=e;b=e<<1^(e>>7&&283);var h=b^e;KA[f]=b<<24|e<<16|e<<8|h;LA[f]=h<<24|KA[f]>>>8;MA[f]=e<<24|LA[f]>>>8;NA[f]=e<<24|MA[f]>>>8}yra=!0}e=IA(44);
for(c=0;c<4;c++)e[c]=a[4*c]<<24|a[4*c+1]<<16|a[4*c+2]<<8|a[4*c+3];for(d=1;c<44;c++)a=e[c-1],c%4||(a=(JA[a>>16&255]^d)<<24|JA[a>>8&255]<<16|JA[a&255]<<8|JA[a>>>24],d=d<<1^(d>>7&&283)),e[c]=e[c-4]^a;this.key=e};zra=function(a,b){for(var c=0;c<4;c++)a.counter[c]=b[c*4]<<24|b[c*4+1]<<16|b[c*4+2]<<8|b[c*4+3];a.j=16};
Ara=function(a){for(var b=a.key,c=a.counter[0]^b[0],d=a.counter[1]^b[1],e=a.counter[2]^b[2],f=a.counter[3]^b[3],h=3;h>=0&&!(a.counter[h]=-~a.counter[h]);h--);for(var k,l,m=4;m<40;)h=KA[c>>>24]^LA[d>>16&255]^MA[e>>8&255]^NA[f&255]^b[m++],k=KA[d>>>24]^LA[e>>16&255]^MA[f>>8&255]^NA[c&255]^b[m++],l=KA[e>>>24]^LA[f>>16&255]^MA[c>>8&255]^NA[d&255]^b[m++],f=KA[f>>>24]^LA[c>>16&255]^MA[d>>8&255]^NA[e&255]^b[m++],c=h,d=k,e=l;a=a.o;h=b[40];a[0]=JA[c>>>24]^h>>>24;a[1]=JA[d>>16&255]^h>>16&255;a[2]=JA[e>>8&255]^
h>>8&255;a[3]=JA[f&255]^h&255;h=b[41];a[4]=JA[d>>>24]^h>>>24;a[5]=JA[e>>16&255]^h>>16&255;a[6]=JA[f>>8&255]^h>>8&255;a[7]=JA[c&255]^h&255;h=b[42];a[8]=JA[e>>>24]^h>>>24;a[9]=JA[f>>16&255]^h>>16&255;a[10]=JA[c>>8&255]^h>>8&255;a[11]=JA[d&255]^h&255;h=b[43];a[12]=JA[f>>>24]^h>>>24;a[13]=JA[c>>16&255]^h>>16&255;a[14]=JA[d>>8&255]^h>>8&255;a[15]=JA[e&255]^h&255};Bra=function(a){this.o=a};
Cra=function(a,b,c,d){var e,f;return _.z(function(h){switch(h.j){case 1:if(a.A){h.L(2);break}return _.x(h,d.importKey("raw",a.o,{name:"AES-CTR"},!1,["encrypt"]),3);case 3:a.A=h.o;case 2:return e={name:"AES-CTR",counter:c,length:128},_.x(h,d.encrypt(e,a.A,b),4);case 4:return f=h.o,h.return(new Uint8Array(f))}})};Dra=function(a,b,c){a.j||(a.j=new OA(a.o));zra(a.j,c);return a.j.encrypt(b)};Era=function(a){this.o=a};
PA=function(a,b){b=b===void 0?{}:b;_.oq.call(this,Fra[a],Object.assign({},{name:"PESEncoderError",type:a},b));this.type=a;this.level="WARNING";Object.setPrototypeOf(this,PA.prototype)};Gra=function(a){return new PA("WRONG_DATA_TYPE",{gE:a})};Hra=function(a){return a instanceof Error?new PA("UNKNOWN_ENCODE_ERROR",{originalMessage:a.message}):new PA("UNKNOWN_ENCODE_ERROR")};Ira=function(a){return a instanceof Error?new PA("UNKNOWN_DECODE_ERROR",{originalMessage:a.message}):new PA("UNKNOWN_DECODE_ERROR")};
Jra=function(a,b){a=a instanceof PA?a:b(a);_.av(a);throw a;};Kra=function(){};Lra=function(a,b,c){try{return a.A(b,c)}catch(d){Jra(d,Hra)}};QA=function(a){a=(new TextEncoder).encode(a).subarray(0,16);var b=new Uint8Array(16);b.set(a);return b};RA=function(a){this.j=a};Nra=function(a){var b=Mra[a];if(b)return b;_.bv(new _.oq("Entity model not found.",{entityType:a}))};Ora=function(a,b){this.j=a;this.o=b;this.A={}};
Pra=function(a,b){a:{a=SA(a.o,b.version);try{var c=a.o(b.data,b.key);break a}catch(d){Jra(d,Ira)}c=void 0}return c};Qra=function(a,b,c){return a.j.objectStore("EntityStore").get(b).then(function(d){if(d){if(c&&d.entityType!==c)throw Error("Vc");return Pra(a,d)}})};
Sra=function(a,b,c){var d=EA(b),e=SA(a.o,1),f=Object.assign({},b);return a.j.objectStore("EntityStore").get(d).then(function(h){if(h){if(h.entityType!==c)throw Error("Vc");f.entityMetadata||(h=Pra(a,h),f.entityMetadata=h.entityMetadata)}}).then(function(){var h={key:d,entityType:c,data:Lra(e,f,d),version:1};return Rq.all([a.j.objectStore("EntityStore").put(h),Rra(a,f,c)])}).then(function(){TA(a,d,c);return d})};
Ura=function(a,b){var c=CA(b).entityType;return Rq.all([a.j.objectStore("EntityStore").delete(b),Tra(a,b)]).then(function(){TA(a,b,c)})};Vra=function(a,b,c,d){var e=SA(a.o,1);return Qra(a,b,d).then(function(f){if(f){f=vA(f,c);var h={key:b,entityType:d,data:Lra(e,f,b),version:1};return Rq.all([a.j.objectStore("EntityStore").put(h),Rra(a,f,d)])}}).then(function(){TA(a,b,d);return b})};TA=function(a,b,c){var d=a.A[c];d||(d=new Set,a.A[c]=d);d.add(b)};
Wra=function(a,b,c){var d=EA(b);c=Nra(c);if(!c)return Rq.resolve([]);c=new c(b);a=a.j.objectStore("EntityAssociationStore");b=[];c=_.u(c.j());for(var e=c.next();!e.done;e=c.next())b.push(a.put({parentEntityKey:d,childEntityKey:e.value}));return Rq.all(b).then(function(f){return f.map(function(h){return h[1]})})};Tra=function(a,b){return a.j.objectStore("EntityAssociationStore").index("byParentEntityKey").delete(IDBKeyRange.only(b))};
Rra=function(a,b,c){var d=EA(b);return Tra(a,d).then(function(){return Wra(a,b,c)})};UA=function(){};Xra=function(){this.j={};this.j[0]=new UA;if(!_.M("aes_pes_encoder_killswitch")){var a=this.j;try{var b=_.pq();var c=QA(b);var d=new RA(new Era(c),new Bra(c))}catch(e){throw a=e instanceof Error?new PA("KEY_CREATION_FAILED",{originalMessage:e.message}):new PA("KEY_CREATION_FAILED"),_.av(a),a;}a[1]=d}};
SA=function(a,b){b=b===void 0?0:b;a=a.j[b];if(!a)throw b=new PA("INVALID_ENCODER_VERSION",{gE:b}),_.av(b),b;return a};VA=function(a,b){_.xj.call(this);this.token=a;this.j=b;this.observers=[];a=new _.Sa.BroadcastChannel("PERSISTENT_ENTITY_STORE_SYNC:"+_.pq());a.onmessage=this.o.bind(this);this.channel=a};
Zra=function(a,b){var c,d,e,f;return _.z(function(h){if(h.j==1)return _.x(h,xra(a.token),2);if(h.j!=3)return c=h.o,_.x(h,Wq(c,["EntityStore","EntityAssociationStore"],"readwrite",function(k){d=new Ora(k,a.j);return b(d)}),3);e=h.o;d&&(f=d.A,Object.keys(f).length>0&&(a.channel.postMessage(f),Yra(a,f)));return h.return(e)})};Yra=function(a,b){a=_.u(a.observers);for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};
$ra=function(){var a,b,c;return _.z(function(d){if(d.j==1)return _.xa(d,2),_.x(d,_.lr(),4);if(d.j!=2){a=d.o;if(!a||!_.qq()||typeof _.Sa.BroadcastChannel==="undefined")return d.return();b=new Xra;return d.return(new VA(a,b))}c=_.Ba(d);c instanceof Error&&_.av(c);return d.return()})};_.WA=function(a,b){var c;return _.z(function(d){if(d.j==1){c=a.mutations;if(!c||c.length<=0)return d.return();b&&b.dispatch(_.pA({type:"ENTITY_LOADED",payload:c}));return _.x(d,asa(c),2)}c.length=0;_.wa(d)})};
asa=function(a){var b;return _.z(function(c){return c.j==1?(XA||(XA=$ra()),_.x(c,XA,2)):(b=c.o)?_.x(c,Zra(b,function(d){for(var e={},f=_.u(a),h=f.next(),k={};!h.done;k={nd:void 0,nl:void 0},h=f.next())k.nd=h.value,k.nd.entityKey&&bsa(k.nd)&&(k.nl=Lh(k.nd.payload),h=void 0,k.nd.type==="ENTITY_MUTATION_TYPE_REPLACE"&&(h=function(l){return function(){return Sra(d,l.nd.payload[l.nl],l.nl)}}(k)),k.nd.type==="ENTITY_MUTATION_TYPE_DELETE"&&(h=function(l){return function(){return Ura(d,l.nd.entityKey)}}(k)),
k.nd.type==="ENTITY_MUTATION_TYPE_UPDATE"&&(h=function(l){return function(){return Vra(d,l.nd.entityKey,l.nd.payload[l.nl],l.nl)}}(k)),h&&(e[k.nd.entityKey]=e[k.nd.entityKey]?e[k.nd.entityKey].then(h):h()));return Rq.all(Object.values(e))}),0):c.return()})};bsa=function(a){var b;a=(b=a.options)==null?void 0:b.persistenceOption;return a==="ENTITY_PERSISTENCE_OPTION_PERSIST"||a==="ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST"};
_.YA=function(a,b){b=Number(b)*1E3;var c=Math.round((0,_.Uq)()),d=c.toString();a={innertubeResponse:a,serverDateTimestampMs:d,lastModifiedTimestampMs:d,expireTimestampMs:(c+b).toString()};if(b=_.L("INNERTUBE_CONTEXT_CLIENT_NAME"))a.clientName=b;return a};_.ZA=function(a){this.data=Object.assign({},a);var b;(b=this.data.innertubeResponse)==null||delete b.frameworkUpdates};_.$A=function(a){return Object.assign({},a.data.innertubeResponse,{cacheMetadata:{isCacheHit:!0}})};
csa=function(a,b){this.serviceId=new Im(a,b)};dsa=function(){this.j={}};aB=function(){this.mappings=new dsa;this.o=new Set};_.bB=function(a,b){return a.j(b).then(function(c){return c[0]})};_.Q=function(a,b){_.cB.mappings.set(a.toString(),{type:"mapping",value:b})};dB=function(a,b,c){switch(b.type){case "mapping":return b.value;case "factory":return b=b.value(),a.mappings.set(c.toString(),{type:"mapping",value:b}),b;default:return Zh(b)}};_.R=function(a,b){return new csa(a,b)};
fsa=function(){var a=a===void 0?window.location.href:a;if(_.M("kevlar_disable_theme_param"))return null;_.oi(_.qi(5,a));try{var b=_.Jp(a).theme;return esa.get(b)||null}catch(c){}return null};
gsa=function(a){var b=new nm;if(a.interpreterJavascript){var c=_.Mka(a.interpreterJavascript);c=ei(c).toString();var d=new Rk;_.rf(d,6,c);_.Ye(b,1,d)}else a.interpreterUrl&&(c=_.os(a.interpreterUrl),c=_.xh(c).toString(),d=new mm,_.rf(d,4,c),_.Ye(b,2,d));a.interpreterHash&&Ge(b,3,ud(a.interpreterHash),"");a.program&&Ge(b,4,ud(a.program),"");a.globalName&&Ge(b,5,ud(a.globalName),"");return b};
hsa=function(a){var b={};a=_.u(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};_.fB=function(a,b,c){var d=this;this.network=a;this.B=c;this.j=null;b&&isa(this,new Promise(function(e){_.tq(0,function(){e(eB(d))},0)}))};
eB=function(a,b){b=b===void 0?0:b;var c,d,e,f,h,k,l,m,n,p,q,r;return _.z(function(t){switch(t.j){case 1:c={engagementType:"ENGAGEMENT_TYPE_UNBOUND"};if(d=qfa().o)c.interpreterHash=d;_.xa(t,2);return _.x(t,a.kn(c),4);case 4:e=t.o;if(!e)throw Error("Wc");if(!e.challenge)throw Error("Xc");f=e.challenge;h=hsa(f);if("c1a"in h&&(!e.bgChallenge||!e.bgChallenge.program))throw Error("Yc");_.ya(t,3);break;case 2:k=_.Ba(t);_.bv(k);b++;if(b>=5)return _.bv(Error("Zc`"+b)),jsa(a,864E5),t.return({challenge:"",Dm:{},
ud:void 0,bgChallenge:void 0});l=1E3*Math.pow(2,b-1)+Math.random()*1E3;return t.return(new Promise(function(w){_.tq(0,function(){w(eB(a,b))},l)}));case 3:m=Number(h.t)||7200;jsa(a,m*1E3);n=void 0;if(!("c1a"in h&&e.bgChallenge)){t.L(5);break}p=gsa(e.bgChallenge);_.xa(t,6);return _.x(t,sfa(qfa(),p),8);case 8:_.ya(t,7);break;case 6:return q=_.Ba(t),_.bv(q),t.return({challenge:f,Dm:h,ud:n,bgChallenge:p});case 7:return _.xa(t,9),n=new _.om({challenge:p,Bz:!0,Wd:"aGIf"}),_.x(t,n.Zz,11);case 11:_.ya(t,5);
break;case 9:r=_.Ba(t),_.bv(r),n=void 0;case 5:return t.return({challenge:f,Dm:h,ud:n,bgChallenge:p})}})};isa=function(a,b){a.j=b};ksa=function(a){var b,c,d;return _.z(function(e){if(e.j==1)return _.x(e,Promise.race([a.j,null]),2);b=e.o;var f=eB(a);a.j=f;(c=b)==null||(d=c.ud)==null||d.dispose();_.wa(e)})};jsa=function(a,b){function c(){var e;return _.z(function(f){e=d-Date.now();return e<1E3?_.x(f,ksa(a),0):(_.tq(0,c,Math.min(e,6E4)),f.L(0))})}var d=Date.now()+b;c()};
lsa=function(a,b){return new Promise(function(c){_.tq(0,function(){c(b())},a)})};msa=function(){var a=_.fB.j,b=a.o.bind(a);_.Ta("yt.aba.att",b);a=a.A.bind(a);_.Ta("yt.aba.att2",a)};
osa=function(a){var b=b===void 0?"UNKNOWN_INTERFACE":b;if(a.length===1)return a[0];var c=nsa[b];if(c){c=new RegExp(c);for(var d=_.u(a),e=d.next();!e.done;e=d.next())if(e=e.value,c.exec(e))return e}var f=[];Object.entries(nsa).forEach(function(h){var k=_.u(h);h=k.next().value;k=k.next().value;b!==h&&f.push(k)});c=new RegExp(f.join("|"));a.sort(function(h,k){return h.length-k.length});d=_.u(a);for(e=d.next();!e.done;e=d.next())if(e=e.value,!c.exec(e))return e;return a[0]};
_.gB=function(a){return"/youtubei/v1/"+osa(a)};psa=function(){};qsa=function(){_.iq();return _.M("web_autonav_allow_off_by_default")&&!_.jq(0,141)&&_.L("AUTONAV_OFF_BY_DEFAULT")?!1:!_.jq(0,140)};rsa=function(){};_.hB=function(a,b){window.dispatchEvent(new CustomEvent(a,{detail:b}))};_.iB=function(){_.hB("updateui")};ssa=function(a){return function(){var b=_.Ka.apply(0,arguments),c=Nna();try{return a.apply(null,_.ma(b))}finally{c()}}};
usa=function(a,b,c){if(c===null||c===void 0)return c;var d=Wga(a.tagName.toLowerCase(),b,function(){throw Error("ab");});if(d===null)return c;d=tsa[d];var e;if((e=d.kc)==null?0:e.call(d,c)){if(d.Ub)return d.Ub(c);throw Error("bb");}return d.Nb?d.Nb(a.tagName,b,String(c)):c};
vsa=function(a,b,c){var d=b[b.length-1]!=="$",e=usa(a,b,c);if(d)if(typeof e==="function"&&b.startsWith("reactiveon")&&b===b.toLowerCase()){var f,h=(f=_.Ln)!=null?f:Hga;vga(a,b.slice(8),function(k){_.gp(h,function(){e(k)})})}else a[b]=e;else c=e==null?null:String(e),en(a,b.slice(0,-1),c)};
kB=function(a,b){var c=b&&b.key,d=xn;d[0]=a;d[1]=c;d[2]=void 0;for(var e in b)b.hasOwnProperty(e)&&(a=b[e],c=yn,c.push(e),c.push(a));b=xn;a:{if(e=xn[2])for(a=0;a<e.length;a+=2)if(e[a]==="nonce"){e=e[a+1];break a}e=""}e=un(b[0],b[1],e);a=kn(e);c=b[2];if(!a.A&&(a.A=!0,c&&c.length))if((d=a.j)&&d.length){for(d=0;d<c.length;d+=2)jB[c[d]]=d+1;d=a.j||(a.j=dn(0));for(var f=0,h=0;h<d.length;h+=2){var k=d[h],l=d[h+1],m=jB[k];m?c[m]===l&&delete jB[k]:(d[f]=k,d[f+1]=l,f+=2)}cn(d,f);for(var n in jB)hn(e,n,c[jB[n]],
To),delete jB[n]}else for(n=0;n<c.length;n+=2)hn(e,c[n],c[n+1],To);Fga(e,a,To);cn(b,0)};_.lB=function(a,b,c){kB(a,b);c&&c(ln);vn()};mB=function(a){var b=a.toString().toLowerCase();return function(c,d){_.lB(b,c,d)}};_.oB=function(a){nB.length===0&&requestAnimationFrame(function(){setTimeout(function(){var b=nB.slice();nB.length=0;b=_.u(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;try{c()}catch(d){_.qj(d)}}})});nB.push(a)};_.pB=function(){};
_.qB=function(a,b,c,d){var e=e===void 0?wsa:e;e(a[b],c)&&(a[b]=c,d())};wsa=function(a,b){return a!==b};_.rB=function(a){try{return a()}catch(b){return null}};_.sB=function(){return window.location};uB=function(a){tB||(tB=_.Yi("A"));tB.href!==a&&Ih(tB,_.Gh(a));return tB};_.wB=function(a){if(!a)return"";if(vB[a])return vB[a];var b=uB(a).pathname;vB[a]=b.startsWith("/")?b:"/"+b;return vB[a]};xsa=function(a){if(xB[a])return xB[a];var b=_.wB(a)+(a?uB(a).search:"");return xB[a]=b};
_.yB=function(){return _.sB().pathname+_.sB().search};ysa=function(){return _.zB};
BB=function(a){var b=document.getElementById("app");!b||b instanceof HTMLObjectElement||(b.data=a.response);var c;((c=a.response)==null?void 0:c.page)==="playlist"&&(_.AB=null);var d;_.M("mweb_enable_keto_batch_s6")&&((d=a.response)==null?void 0:d.page)!=="shorts"&&(_.AB=null);var e,f,h,k;if(((e=a.response)==null?void 0:e.page)!=="shorts"||((f=a.response)==null?void 0:(h=f.response)==null?void 0:h.status)!=="REEL_ITEM_WATCH_STATUS_EMPTY"||((k=a.response)==null?0:k.reelWatchSequenceResponse)){var l;
if((l=a.response)==null?0:l.reelWatchSequenceResponse)_.AB=a.response.reelWatchSequenceResponse}else _.AB=null;_.zB=a};_.CB=function(a){return a?zsa(_.wB(a?a:_.sB().href)):Asa()};
zsa=function(a){if(a==="/")return"home";if(a.startsWith("/results"))return"search";if(a.startsWith("/watch"))return"watch";if(a.startsWith("/shorts"))return"shorts";if(a.startsWith("/hashtag"))return"hashtag";if(a.startsWith("/create_channel"))return"create_channel";if(a.startsWith("/@")||a.startsWith("/user/")||a.startsWith("/channel/"))return"channel";if(a.startsWith("/experiments"))return"experiments";if(a.startsWith("/sponsor_channel"))return"sponsorship";if(a.startsWith("/select_site"))return"settings";
if(a.startsWith("/locate"))return"locate";if(a.startsWith("/redeem"))return"redeem";if(a.startsWith("/musicpremium")||a.startsWith("/premium")||a.startsWith("/red"))return"premium";if(a.startsWith("/paid_memberships"))return"paid_memberships";if(a.startsWith("/oops"))return"oops";if(a.startsWith("/clip"))return"clip";var b,c;return((b=_.zB)==null?void 0:(c=b.response)==null?void 0:c.page)==="404"?"404":a.startsWith("/feed/history")?"history":a.startsWith("/feed/library")?"library":a.startsWith("/feed/subscriptions")?
"subscriptions":a.startsWith("/feed/trending")?"trending":a.startsWith("/feed/news_destination")?"news":a.startsWith("/playlist")?"playlist":a.startsWith("/minor_moment")?"minor_moment":a.startsWith("/playable/")||a.match("^/playables/(?!saved).")?"mini_app":a.startsWith("/playables")?"playables":a.startsWith("/create/live/join")?"open_in_app":a.startsWith("/feed/explore")?"explore":"browse"};
Asa=function(){var a,b=(a=_.zB)==null?void 0:a.response;a=b==null?void 0:b.endpoint;if(!a)return(b==null?void 0:b.page)==="watch"?"watch":zsa(_.wB(_.sB().href));var c;b=(c=_.N(a==null?void 0:a.commandMetadata,_.ew))==null?void 0:c.webPageType;c=!1;if(b&&!Bsa.includes(b))switch(b){case "WEB_PAGE_TYPE_SEARCH":return"search";case "WEB_PAGE_TYPE_SHORTS":return"shorts";case "WEB_PAGE_TYPE_CHANNEL":return"channel";case "WEB_PAGE_TYPE_SETTINGS":return"settings";case "WEB_PAGE_TYPE_PLAYLIST":return"playlist";
case "WEB_PAGE_TYPE_OPEN_IN_APP":return"open_in_app";case "WEB_PAGE_TYPE_MINI_APP":return"mini_app";case "WEB_PAGE_TYPE_WATCH":var d;return((d=_.N(a==null?void 0:a.commandMetadata,_.ew))==null?0:d.url)&&_.wB(_.N(a.commandMetadata,_.ew).url).startsWith("/clip")?"clip":"watch";case "WEB_PAGE_TYPE_BROWSE":var e;return(a=(e=_.N(a,_.DB))==null?void 0:e.browseId)?Csa[a]||"browse":"browse";default:c=!0}if(_.N(a,_.Dsa))return"sponsorship";e=_.wB(_.sB().href);if(e.startsWith("/experiments"))return"experiments";
if(e.startsWith("/create_channel"))return"create_channel";if(_.N(a,_.EB)&&e.startsWith("/shorts"))return"shorts";if(_.N(a,_.EB)&&e.startsWith("/watch"))return"watch";c&&_.bv(new _.oq("Unsupported mWeb page type",{pathname:e,webPageType:b}));return"browse"};
Esa=function(a){if(_.N(a,_.fw))return"watch";a=_.N(a==null?void 0:a.commandMetadata,_.ew);if(a==null?0:a.webPageType)if(a=a==null?void 0:a.webPageType.toLowerCase().replace("web_page_type_",""),a!=="unknown"||_.M("mweb_c3_endpoint_pagetype_fallback_killswitch"))return a;return"browse"};Fsa=function(a){a=_.CB(a);switch(a){case "watch":return"watch";case "search":case "shorts":case "channel":case "settings":return a;default:return"browse"}};
FB=function(a){return a=(a=(a==null?0:a.href)?_.CB(a.href):a==null?void 0:a.pageType)||_.CB()};_.GB=function(a){return FB(a)==="watch"};HB=function(a){a=FB(a);return a==="watch"||a==="shorts"||a==="clip"};IB=function(a){return FB(a)==="locate"};_.JB=function(a){return FB(a)==="paid_memberships"};_.KB=function(a){return FB(a)==="library"};_.LB=function(a){return FB(a)==="history"};MB=function(a){return FB(a)==="clip"};_.NB=function(a){return FB(a)==="shorts"};_.OB=function(a){return FB(a)==="home"};
_.PB=function(a){return FB(a)==="search"};_.QB=function(a){return FB(a)==="mini_app"};Gsa=function(a){return(a==null?0:a.href)?_.GB(a)&&!!_.yi((a==null?void 0:a.href)||"","list"):(a==null?0:a.pageType)?!1:_.GB()&&!!_.yi(_.sB().href,"list")};RB=function(a){return FB(a)==="hashtag"};SB=function(a){var b=!0;b=b===void 0?!0:b;a="[LRF] "+a;b&&Hsa?_.Fp(Error(a)):b||_.Dp(Error(a))};Ksa=function(a,b,c){return function(){c?c():b&&Isa();Jsa([a],!0)&&TB()}};
Nsa=function(a){var b,c,d,e,f=(e=(c=_.N((b=a.response)==null?void 0:b.responseContext,Lsa))==null?void 0:(d=c.webResponseContextPreloadData)==null?void 0:d.preloadMessageNames)!=null?e:[];f.length&&Msa!==f&&(Msa=f,Jsa(f.concat([a.page||"browse"]),!1)&&TB())};Psa=function(a){for(var b=0;b<a.length;b++)Osa(a[b].toString(),!0)};Jsa=function(a,b){for(var c=!1,d=0;d<a.length;d++){var e=Osa(a[d],b);c=c||e}return c};
Osa=function(a,b){var c=UB[a];if(!c||c==null||!c.Mb)return b&&SB("Unregistered ASYNC_ID: "+a),VB(a,0),!1;var d,e;return((d=c.qc)==null?0:d.K)||((e=c.qc)==null?0:e.V)?!1:[2,3,4].indexOf(c==null?void 0:c.il)===-1?(VB(a,2),!0):!1};TB=function(a){a=a===void 0?!1:a;return new Promise(function(b){_.Li(function(){WB.push(Qsa(a));Promise.all(WB).then(function(c){for(var d=!1,e=0;e<c.length;e++)d=d||c[e];WB=[];b(d)})},100)()})};
Qsa=function(a){a=a===void 0?!1:a;var b=Rsa();if(!b.length)return Promise.resolve(!1);_.hB("renderer-module-load-start",{Xn:b});return new Promise(function(c){_.cB.j.apply(_.cB,_.ma(b)).then(function(){a||_.iB();Ssa(b);c(!0)},function(){Tsa(b);c(!1)})})};Rsa=function(){var a=[],b;for(b in UB)if(UB.hasOwnProperty(b)){var c=UB[b];c.Mb&&!c.qc&&2===c.il&&(VB(b,3),a.push(c.Mb))}return a};
Ssa=function(a){var b=[],c;for(c in UB)if(UB.hasOwnProperty(c)){var d=UB[c];d.Mb&&3===d.il&&b.push(d.Mb)}b.length>0?_.hB("renderer-module-load-inprogress",{Xn:a}):_.hB("renderer-module-load-end",{Xn:a})};Tsa=function(a){for(var b=0;b<a.length;b++){var c=a[b].toString();VB(c,5);SB("Module load error. renderer: "+c)}_.hB("renderer-module-load-error",{Xn:a})};Isa=function(){(0,_.S)({className:"spinnerWrapper"},function(){(0,_.S)({className:"spinner"})})};VB=function(a,b){UB[a]=UB[a]||{};UB[a].il=b};
_.XB=function(a,b){VB(a,4);b.K||b.V||SB("A C3 or keto fn must be set in renderable: "+a+".");UB[a].qc=b};_.YB=function(a,b){_.XB(a,{K:b})};_.ZB=function(a){var b=a.toString();UB[b]&&UB[b].Mb||(UB[b]={Mb:a,il:1})};
Usa=function(a){var b=UB[a],c;if(b&&typeof((c=b.qc)==null?void 0:c.K)==="function"){var d;return _.pj((d=b.qc)==null?void 0:d.K)}if(!b||b==null||!b.Mb)return SB("Trying to load an unregistered module for "+a+"."),VB(a,0),_.pj(_.pB);VB(a,3);_.hB("renderer-module-load-start",{Xn:[b.Mb]});return _.bB(_.cB,b.Mb).then(function(e){Ssa([b.Mb]);return e.K},function(){Tsa([b.Mb])})};
_.$B=function(a,b){b=b===void 0?{}:b;var c=b.fb===void 0?!0:b.fb;var d=b.Dl===void 0?void 0:b.Dl;var e=a.toString();(a=UB[e])||VB(e,0);var f;if(a&&typeof((f=a.qc)==null?void 0:f.K)==="function"){var h;return(h=a.qc)==null?void 0:h.K}return function(k,l){var m=UB[e],n;m&&typeof((n=m.qc)==null?void 0:n.K)==="function"?m.qc.K(k,l):nn?Ksa(e,c,d)(k,l):Usa(e).then(function(p){p(k,l)})}};Vsa=function(a,b){var c={},d;for(d in a)c[d]=b(a[d],d);return c};
_.aC=function(a,b){return function(){var c;return(c=_.Yo(a))!=null?c:b}};_.bC=function(a,b){var c=Object.assign({},a),d;for(d in b)b.hasOwnProperty(d)&&(c[d]=_.aC(a[d],b[d]));return c};_.cC=function(a,b){return function(){return a()?_.Yo(b):void 0}};Wsa=function(a,b,c){a instanceof Element&&(c.Pm||(c.Pm="<"+a.tagName.toLowerCase()+">"),_.M("ytwiz_enable_debug_component_props")&&(a.debugProps||(a.debugProps=Vsa(b,function(d){return function(){return d()}}))))};
_.T=function(a){function b(c){var d;if((d=b)==null?0:d.U){var e;d=typeof b.U==="object"?(e=b)==null?void 0:e.U.callbacks:{};c=_.u(Xsa(c,d));d=c.next().value;c=c.next().value;e=a(d);Wsa(e,d,b);d=e.te||e;d=Array.isArray(d)?d[0]:d;d[_.Co]||(d[_.Co]={});d[_.Co].MA=c;return e}c=Vsa(c,Ysa);e=a(c);Wsa(e,c,b);return e}_.co(b);return b};Ysa=function(a,b){return b==="children"||typeof a==="function"||a===void 0?a:function(){return _.Yo(a)}};
Xsa=function(a,b){var c={},d={},e={},f={},h;for(h in a){f={Rc:f.Rc};f.Rc=h;var k=a[f.Rc];if(f.Rc==="children")c[f.Rc]=k;else if(typeof k==="function")f.Rc in b||k.length>0?(e[f.Rc]=k,c[f.Rc]=function(m){return function(){return e[m.Rc].apply(e,_.ma(_.Ka.apply(0,arguments)))}}(f)):c[f.Rc]=k;else if(!(a[f.Rc]===void 0&&f.Rc in b)){var l=_.u(_.$o(a[f.Rc]));k=l.next().value;l=l.next().value;c[f.Rc]=k;d[f.Rc]=l}}return[c,function(m){for(var n in m){var p=m[n];if(n!=="children")if(typeof p==="function")n in
b?e[n]=p:p.length>0&&(e[n]=p,_.bv(new _.oq("Callback detected that was not set in the idomCompat callbacks map. Key:",n)));else if(!(n in b&&p===void 0))if(d[n])d[n](p);else _.av(new _.oq("IDOM interop setter undefined. Key:",n))}}]};ata=function(a){var b=Zsa($sa);try{return a()}finally{Zsa(b)}};Zsa=function(a){var b=document.createElement;document.createElement=a;return b};$sa=function(a,b){return document.createElementNS("http://www.w3.org/2000/svg",a,b)};_.dC=function(a){return _.H(_.Oo,null,a)};
_.gC=function(a,b){b=b===void 0?{}:b;var c=_.K().resolve(_.mp(eC)),d=_.K().resolve(_.fC);return _.M("mweb_enable_keto_batch_icons")&&c?_.H(c,{name:a,Sp:b.activeState,className:b.className,style:b.style$,Cq:b["data-selected$"],Ki:b["data-disabled$"],role:b.role$,Cr:b["icon-state-outline$"],Br:b["icon-state-filled$"],Uq:b["fill-icon$"],aq:b.animateIcon,themeOverride:b.themeOverride}):_.H(_.Oo,null,function(){a&&d(a,b)})};_.hC=function(a,b,c){c===void 0?delete a[b.name]:a[b.name]=c};
_.jC=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=_.u(a.runs);for(var h=a.next();!h.done;h=a.next()){h=h.value;var k=h.text,l=void 0,m=(l=k)==null?void 0:l.length;if(k&&m){d.push(k);if(h.bold||h.italics||h.strikethrough||h.underline||h.textColor!=null&&h.textColor!==0||h.deemphasize){k=e;l=k.push;var n={startIndex:c,length:m};h.bold&&(n.weightLabel="FONT_WEIGHT_MEDIUM");h.italics&&(n.italic=
!0);h.strikethrough&&(n.strikethrough="LINE_STYLE_SINGLE");h.underline&&(n.underline="LINE_STYLE_SINGLE");h.textColor!=null&&h.textColor!==0?document.documentElement.hasAttribute("dark")?n.fontColor=h.darkModeTextColor||h.textColor:n.fontColor=h.textColor:h.deemphasize&&(document.documentElement.hasAttribute("dark")?n.fontColor=bta("#aaa"):n.fontColor=bta("#606060"));l.call(k,n)}h.navigationEndpoint&&(k=f,l=k.push,n={startIndex:c,length:m,onTap:{innertubeCommand:h.navigationEndpoint}},h.loggingDirectives&&
_.hC(n,iC,h.loggingDirectives),l.call(k,n));c+=m}}b.content=d.join("");b.styleRuns=e.length?e:void 0;b.commandRuns=f.length?f:void 0;return b};eta=function(a){if(a==null||!a.runs)return!0;a=_.u(a.runs);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.bracket||b.errorUnderline||b.deemphasize||_.N(b,cta)||_.N(b,dta))return!1;return!0};bta=function(a){var b=parseInt;if(!fta.test(a))throw Error("uc`"+a);a.length==4&&(a=a.replace(gta,"#$1$1$2$2$3$3"));return b("ff"+a.toLowerCase().substring(1),16)};
jta=function(a,b){if(a in hta)throw Error("$c`"+a);ita(a,b)};ita=function(a,b){hta[a]="value"in b&&"unit"in b?kta(a,b):function(c){try{return b(c)}catch(d){throw Error("ad`"+a+"`"+d.message);}}};kta=function(a,b){return function(c){var d=b.unit;if(d!==c)throw Error("bd`"+a+"`"+d+"`"+c);return b}};kC=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};
lta=function(a){var b=this;this.G=a===void 0?500:a;this.j=NaN;this.A=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=vq(0,function(){b.B(c);b.o=!0},b.G)};this.ontouchmove=function(){_.xr.Ma(b.j);b.j=NaN;b.o=!1;b.A=!0};this.ontouchend=function(c){if(b.j&&!b.o&&!b.A){var d;(d=c.changedTouches[0].target)==null||d.dispatchEvent(new Event("click"))}_.xr.Ma(b.j);b.j=NaN;b.o=!1;b.A=!1}};
mta=function(a,b){lta.call(this,b);var c=this;this.callback=a;this.B=function(d){var e;(e=c.callback)==null||e.call(c,d)}};nta=function(a,b){var c=Object.assign({},b);a=_.u(new Map([["ontouchstart",a.ontouchstart],["ontouchend",a.ontouchend],["ontouchmove",a.ontouchmove]]));for(var d=a.next(),e={};!d.done;e={Qq:void 0,Iw:void 0},d=a.next()){var f=_.u(d.value);d=f.next().value;f=f.next().value;e.Qq=d;e.Iw=f;b[e.Qq]=function(h){return function(k){var l;(l=c[h.Qq])==null||l.call(c,k);(0,h.Iw)(k)}}(e)}};
_.lC=function(a){try{return a()}catch(b){_.bv(b)}};_.oC=function(a){var b=_.N(a,_.mC);if(b)return b;if((b=_.N(a,ota))&&b.commands)return pta(b.commands);if((b=_.N(a,qta))&&b.commands)return pta(b.commands);if((a=_.N(a,rta))&&a.identifier&&a.command&&(nC||(nC=[]),!nC.includes(a.identifier)))return nC.push(a.identifier),_.N(a.command,_.mC)};pta=function(a){if(a.length!==0){var b=[];a=_.u(a);for(var c=a.next();!c.done;c=a.next())(c=_.oC(c.value))&&b.push(c);return{commandExecutorCommand:{commands:b}}}};
pC=function(){this.data=[];this.j=null};_.qC=function(a,b){(b=_.Du(b===void 0?0:b))&&a&&_.Sv(b,_.yu(a))};_.sta=function(a,b,c){(c=_.Du(c===void 0?0:c))&&a&&_.Sv(c,a,b)};_.tta=function(a,b,c){(c=_.Du(c===void 0?0:c))&&a&&_.Ep(Mv)(void 0,c,a,void 0,b,void 0)};_.uta=function(a){return Xb(Object.keys(a).map(function(b){return b==="playlistEditEndpoint"?_.N(a,_.rC).clientActions||[]:a[b].actions||a[b].clientActions||[]}))};
_.sC=function(a){var b=_.N(a==null?void 0:a.commandMetadata,_.ew);if(b==null?0:b.url)return b.url;var c;return((c=_.N(a,vta))==null?0:c.url)?_.N(a,vta).url:null};_.wta=function(a){if(!_.tC)return!1;for(var b=_.u(Object.keys(_.tC)),c=b.next();!c.done;c=b.next())if(a.hasOwnProperty(c.value))return!0;return!1};
_.uC=function(a,b,c){var d,e;return{form:{currentData:(e=(d=_.zB)==null?void 0:d.response)!=null?e:{},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},Eq:c}};_.vC=function(a,b,c,d){_.xta.push({command:a,sourceData:b,commandContext:d});c&&a.clickTrackingParams&&_.qC(a.clickTrackingParams)};
_.wC=function(a,b,c){a=_.u(a);for(var d=a.next();!d.done;d=a.next())_.vC(d.value,b,c)};_.xC=function(a){var b;return!((b=_.N(a==null?void 0:a.commandMetadata,_.ew))==null||!b.sendPost)};_.yC=function(a){a=_.N(a,_.fw);return(a==null?void 0:a.continuePlayback)&&a.startTimeSeconds!==void 0||!1};
_.CC=function(a){var b=a.FP,c=a.Df,d=a.elementsCommand,e=a.uc,f=a.ib,h=a.stopPropagation,k=a.innertubeCommand||_.oC(d);if(k){a={};var l=yta(k);d=l.jH;l=l.href;if(d&&l){a.href$=l;if(zta(d)||Lp(l))a.rel$="nofollow";a.target$=Ata(d,b);Bta(a,d);f&&(a["force-new-state$"]=!0)}else a.role$="button",a.href$="javascript:void(0);";_.N(k,_.zC)&&(a["aria-haspopup$"]=!0);e||(a.onclick=function(m){AC(m);var n=_.uC(k,{event:m});m.preventDefault();BC(k,n);h!==!1&&m.stopPropagation()});return Object.assign({},c,a)}};
Cta=function(a){if(a.length){if(a.length===1)return a[0];var b={};_.hC(b,_.DC,{commands:a});return b}};EC=function(a){return a&&a.href$!=="javascript:void(0);"};
yta=function(a){var b,c=((b=_.N(a,_.DC))==null?void 0:b.commands)||[a];a=_.u(c);for(b=a.next();!b.done;b=a.next()){b=b.value;var d=void 0,e=void 0;if((c=(e=_.N((d=b)==null?void 0:d.commandMetadata,_.ew))==null?void 0:e.url)&&c!=="/service_ajax"){if(d=Eh(c,Dta))return a=Bh(d),{jH:b,href:a};_.bv(new _.oq("AttributedString URL could not be sanitized",c))}}return{}};
zta=function(a){var b,c,d;return!((b=_.N(a,_.DB))==null||!b.nofollow)||!((c=_.N(a,_.fw))==null||!c.nofollow)||!((d=_.N(a,_.EB))==null||!d.nofollow)||!1};Ata=function(a,b){var c;return((c=_.N(a,_.EB))==null?void 0:c.target)==="TARGET_NEW_WINDOW"?"_blank":b===void 0?"":b};Bta=function(a,b){b.clickTrackingParams&&(a.params={itct:b.clickTrackingParams});a.onpointerdown=function(c){FC(c)};a._data=b};_.GC=function(a){(a.loggingUrls||[]).forEach(function(b){_.tla(b.baseUrl,b.attributionSrcMode==="ATTRIBUTION_SRC_MODE_XHR_OPTION")})};
AC=function(a){a.currentTarget._data&&_.GC(a.currentTarget._data)};FC=function(a){var b=a.currentTarget;a=_.lC(function(){return b.href});var c=b.params;a&&_.aA(a,c||{},8,!0)};Eta=function(a,b){if(b=_.N(b,_.EB))(b==null?void 0:b.target)==="TARGET_NEW_WINDOW"&&(a.target="_blank"),b.nofollow&&(a.rel="nofollow")};Fta=function(a){a=_.N(a==null?void 0:a.commandMetadata,_.ew);return(a==null?0:a.url)?a.url:null};_.HC=function(a,b){(a=_.oC(a))&&BC(a,b)};
BC=function(a,b){_.Xha(_.IC,function(c){b?c.resolveCommand(a,b):c.resolveCommand(a)})};
Hta=function(a,b){var c=["yt-core-attributed-string__link"];b!=null&&b.pb||((b==null?0:b.ja)?c.push("yt-core-attributed-string__link--overlay-call-to-action-color"):c.push("yt-core-attributed-string__link--call-to-action-color"),(b==null?0:b.Da)&&c.push("yt-core-attributed-string--link-inherit-color"));c={className:c.join(" "),tabindex$:"0"};var d=a.onTap||a.onLongPress;if(!d)return c;var e=Gta(a);e&&(c["aria-label$"]=e);b=_.CC({elementsCommand:d,Df:c,uc:!(b==null||!b.uc),ib:!0});a.onLongPress&&(d=
new mta(function(){var f=_.oC(a.onLongPress);f&&_.K().resolve(_.IC).resolveCommand(f)}),b&&nta(d,b));return b||c};Gta=function(a){var b,c;return(b=a.onTapOptions)==null?void 0:(c=b.accessibilityInfo)==null?void 0:c.accessibilityLabel};Ita=function(a){var b=a;a<=16777215&&(b+=parseInt("ff000000",16));return _.eA(b)};
Jta=function(a){var b=a.isDarkTheme;var c=a.extension;a=a.Nz;var d=void 0;if(c=c==null?void 0:c.colorMap){b=b?"USER_INTERFACE_THEME_DARK":"USER_INTERFACE_THEME_LIGHT";c=_.u(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 Ita(d)};
JC=function(a){var b=a.config;var c=a.image;var d=a.Tk;var e=a.zn;var f=a.run;var h=a.tag;var k=a.textLength;var l=a.startIndex===void 0?0:a.startIndex;a=a.length;l===void 0&&(l=0);f={run:f,startIndex:l,Kq:a!==void 0?l+a:k,tag:h};c&&(f.image=c);d&&(f.Tk=d);e&&(f.zn=e);b&&(f.config=b);return f};
Lta=function(a,b){var c=[];c.push("yt-core-attributed-string");(b==null?0:b.className)&&c.push(b==null?void 0:b.className);(b==null?0:b.qe)?c.push("yt-core-attributed-string--ellipsis-truncate"):(b==null?0:b.noWrap)?c.push("yt-core-attributed-string--white-space-no-wrap"):(b==null?0:b.Sb)||c.push("yt-core-attributed-string--white-space-pre-wrap");(b==null?0:b.Da)&&c.push("yt-core-attributed-string--link-inherit-color");a.alignment&&c.push(Kta(a.alignment));a.lineBreakMode&&c.push("yt-core-attributed-string--word-wrapping");
return c.join(" ")};Mta=function(a){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 700;case "FONT_WEIGHT_EXTRA_BOLD":return 800;case "FONT_WEIGHT_BLACK":return 900;default:return 400}};
KC=function(a){switch(a){case "LINE_STYLE_DOT":return"yt-core-attributed-string--line-style-dot";case "LINE_STYLE_NONE":return"yt-core-attributed-string--line-style-none";default:return"yt-core-attributed-string--line-style-single"}};
Kta=function(a){switch(a){case "TEXT_ALIGNMENT_LEFT":return"yt-core-attributed-string--text-alignment-left";case "TEXT_ALIGNMENT_RIGHT":return"yt-core-attributed-string--text-alignment-right";case "TEXT_ALIGNMENT_CENTER":return"yt-core-attributed-string--text-alignment-center";case "TEXT_ALIGNMENT_JUSTIFIED":return"yt-core-attributed-string--text-alignment-justified";case "TEXT_ALIGNMENT_LAYOUT_START":return"yt-core-attributed-string--text-alignment-layout-start";default:return"yt-core-attributed-string--text-alignment-unknown"}};
Rta=function(a,b){var c=[],d=a.content.length,e,f=(e=_.K().resolve(_.mp(_.LC)))==null?void 0:e();if(a.styleRuns&&(b==null||!b.Rf)){e=_.u(a.styleRuns);for(var h=e.next();!h.done;h=e.next()){h=h.value;var k=Jta({extension:_.N(h.styleRunExtensions,Nta),isDarkTheme:f===void 0?!1:f,Nz:h.fontColor}),l=[];k&&l.push("yt-core-attributed-string--link-inherit-color");h.italic&&l.push("yt-core-attributed-string--italicized");h.underline&&h.strikethrough?l.push("yt-core-attributed-string--underline-strikethrough",
KC(h.underline)):h.underline?l.push("yt-core-attributed-string--underlined",KC(h.underline)):h.strikethrough&&l.push("yt-core-attributed-string--strikethrough",KC(h.strikethrough));if(h.baselineOffset){a:switch(h.baselineOffset){case "BASELINE_OFFSET_SUBSCRIPT":var m="yt-core-attributed-string--baseline-offset-subscript";break a;case "BASELINE_OFFSET_SUPERSCRIPT":m="yt-core-attributed-string--baseline-offset-superscript";break a;default:m="yt-core-attributed-string--baseline-offset-unknown"}l.push(m)}m=
l.join(" ");l=h;var n={};if(l.weight||l.weightLabel)n["font-weight"]=Mta(l).toString();k&&(n.color=k);c.push(JC({run:h,textLength:d,tag:"span",config:{className:m,style:n},startIndex:h.startIndex,length:h.length}))}}if(a.decorationRuns)for(e=_.u(a.decorationRuns),h=e.next();!h.done;h=e.next()){h=h.value;k={};if(h.textDecorator){n=h.textDecorator;m=f===void 0?!1:f;var p=[];l=_.N(n,_.MC);n=_.N(n,NC);if(l){n=p;p=n.concat;var q=[];(m=Jta({extension:_.N(l.highlightTextDecoratorExtensions,Ota),isDarkTheme:m,
Nz:l.backgroundColor}))&&q.push("background-color: "+m+";");l.backgroundCornerRadius!==void 0&&q.push("border-radius: "+l.backgroundCornerRadius+"px;");l.leftPadding!==void 0&&q.push("padding-left: "+l.leftPadding+"px;");l.rightPadding!==void 0&&q.push("padding-right: "+l.rightPadding+"px;");l.topPadding!==void 0&&q.push("padding-top: "+l.topPadding+"px;");l.bottomPadding!==void 0&&q.push("padding-bottom: "+l.bottomPadding+"px;");p=p.call(n,q)}else n&&(l=p,p=l.concat,m=m?"#2ba640":"#107516",m=n.color?
Ita(n.color):m,m=["padding: 2px;","border-top: solid "+m+" 2px;","border-bottom: solid "+m+" 2px;","background: linear-gradient(135deg, "+m+" 3px, rgba(0, 0, 0, 0) 3px),\n      linear-gradient(315deg, "+m+" 3px, rgba(0, 0, 0, 0) 3px);"],p=p.call(l,m));m=p.join(" ");k.style$=m;m=h.textDecorator;l=[];n=_.N(m,NC);_.N(m,_.MC)?l.push("yt-core-attributed-string--highlight-text-decorator"):n&&l.push("yt-core-attributed-string--bracket-text-decorator");m=l.join(" ");k.className=m;k.dir="auto"}m=_.N(h.textDecorator,
_.MC);l=_.N(h.textDecorator,NC);n=_.N(h.textDecorator,_.MC);p=_.N(h.textDecorator,NC);c.push(JC({run:h,textLength:d,tag:"span",config:k,startIndex:(m==null?void 0:m.startIndex)||(l==null?void 0:l.startIndex)||0,length:(n==null?void 0:n.length)||(p==null?void 0:p.length)||0}))}if(a.commandRuns&&(b==null||!b.ka))for(f=_.u(a.commandRuns),e=f.next();!e.done;e=f.next())e=e.value,h=Hta(e,b),c.push(JC({run:e,textLength:d,tag:"a",config:h,startIndex:e.startIndex,length:e.length}));if(a.attachmentRuns)for(f=
_.u(a.attachmentRuns),e=f.next();!e.done;e=f.next()){e=e.value;m=k=void 0;h={className:"yt-core-attributed-string--inline-block-mod"};if((m=e.element)==null?0:m.properties)m=(k=e.element)==null?void 0:k.properties,k=[],m=_.N(m,Pta),!_.M("web_attachment_run_margin_killswitch")&&(m==null?0:m.margin)&&(m=m.margin,m.left&&k.push("margin-left: "+kC(m.left)+";"),m.right&&k.push("margin-right: "+kC(m.right)+";"),m.top&&k.push("margin-top: "+kC(m.top)+";"),m.bottom&&k.push("margin-bottom: "+kC(m.bottom)+
";")),k=k.length!==0?k.join(" "):void 0,h.style$=k;l=void 0;k={alt:"",oc:!0,Yb:!0};m=["yt-core-attributed-string__image-element"];if(e.alignment){a:switch(e.alignment){case "ALIGNMENT_BASELINE":n="yt-core-attributed-string__image-element--image-alignment-baseline";break a;case "ALIGNMENT_VERTICAL_CENTER":n="yt-core-attributed-string__image-element--image-alignment-vertical-center";break a;default:n="yt-core-attributed-string__image-element--image-alignment-bottom"}m.push(n)}if((l=e.element)==null?
0:l.properties)l=[],n=_.N(e.element.properties,Pta),(n==null?0:n.height)&&l.push("height: "+kC(n.height)+";"),(n==null?0:n.width)&&l.push("width: "+kC(n.width)+";"),l=l.length!==0?l.join(" "):void 0,k.style$=l;k.className=m.join(" ");m=void 0;p=n=void 0;l=((p=e.element)==null?0:p.type)?(n=_.N(e.element.type,Qta))==null?void 0:n.image:void 0;c.push(JC({run:e,textLength:d,tag:"img",image:l,Tk:k,zn:h,startIndex:e.startIndex,length:(m=e.length)!=null?m:0}))}if(a.paragraphStyleRuns)for(a=_.u(a.paragraphStyleRuns),
h=a.next();!h.done;h=a.next()){f=c.push;e=f.apply;k=void 0;h=h.value;if((k=h.listGroup)!=null&&k.listItems){k=[];b:switch(h.listGroup.listType){case "LIST_TYPE_BULLET":m="ul";break b;default:m="span"}k.push(JC({run:h,textLength:d,tag:m,config:{className:"yt-core-attributed-string__list-group"},startIndex:h.startIndex,length:h.length}));m=_.u(h.listGroup.listItems);for(l=m.next();!l.done;l=m.next()){l=l.value;b:switch(h.listGroup.listType){case "LIST_TYPE_BULLET":n="li";break b;default:n="span"}k.push(JC({run:h,
textLength:d,tag:n,startIndex:l.startIndex,length:l.length}))}h=k}else h=[];e.call(f,c,_.ma(h))}if(b==null?0:b.headerRuns)for(b=_.u(b.headerRuns),a=b.next();!a.done;a=b.next())if(a=a.value,a.headerMapping&&["ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_1","ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_2","ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_3"].includes(a.headerMapping)){a:{switch(a.headerMapping){case "ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_1":f="yt-core-attributed-string--heading-1";break a;case "ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_2":f=
"yt-core-attributed-string--heading-2";break a;case "ATTRIBUTED_STRING_HEADER_MAPPING_HEADING_3":f="yt-core-attributed-string--heading-3";break a}f=void 0}c.push(JC({run:a,textLength:d,tag:"span",config:f?{className:f}:void 0,startIndex:a.startIndex,length:a.length}))}return c};_.OC=function(a){return(a==null?void 0:a.content)!==void 0};PC=function(a){return _.OC(a)?a:_.jC(a)};Sta=function(a){return a.image!==void 0&&a.Tk!==void 0};
Tta=function(a,b){if(b==null?0:b.userInput)for(a=_.u(a),b=a.next();!b.done;b=a.next())if(b=b.value,b.tag!=="a"){var c=void 0;(c=b).config||(c.config={});b.config.dir="auto"}};Xta=function(a,b){Uta(b);var c={data:null,start:0,end:a.length,Yd:[]};b=_.u(b);for(var d=b.next();!d.done;d=b.next())d=d.value,Vta(c,d.startIndex,d.Kq,d);Wta(a,c);return c};
Vta=function(a,b,c,d){for(var e=_.u(a.Yd),f=e.next();!f.done;f=e.next()){f=f.value;if(typeof f==="string")throw Error("cd");if(f.start<=b&&c<=f.end){Vta(f,b,c,d);return}}a.Yd.push({data:d,Yd:[],start:b,end:c})};Wta=function(a,b){for(var c=b.Yd.length;c>=0;c--){var d=b.Yd[c],e=b.Yd[c-1],f=c===b.Yd.length?b.end:d.start;e=c===0?b.start:e.end;f!==e&&b.Yd.splice(c,0,a.slice(e,f));d&&Wta(a,d)}};
Uta=function(a){a.sort(function(b,c){if(b.startIndex<c.startIndex)return-1;if(c.startIndex<b.startIndex)return 1;b=b.Kq-b.startIndex;c=c.Kq-c.startIndex;return b>c?-1:c>b?1:0})};_.QC=function(a){var b=a.thumbnails;if(b){a={sources:[]};b=_.u(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}};
_.RC=function(a,b,c,d){if(!b)return a.length>=1?a[a.length-1]:null;if(d)for(var e=_.u(a),f=e.next();!f.done;f=e.next()){f=f.value;var h=void 0,k=(h=f.url)==null?void 0:h.indexOf(d);if(k!==void 0&&k>=0)return f}d=_.u(a);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.width&&e.height&&(c&&e.width>=b||!c&&e.height>=b))return e;for(b=a.length-1;b>=0;b--)if(c&&a[b].width||!c&&a[b].height)return a[b];return a[0]};_.Yta=function(a){var b;return(a=(b=a.sources)==null?void 0:b[0])?a.width/a.height:0};
Zta=function(a){if(a.sources){a=_.u(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}}};$ta=function(a){var b;if((b=a.clientResource)!=null&&b.imageColor)return _.eA(a.clientResource.imageColor)};
_.SC=function(a,b,c,d,e,f,h){if(!b||b.length===0||b[0].clientResource)return null;if(c&&b[0].url)return b[0].url;d===void 0&&(d=!0);if(d){var k;a=aua*(e||(a==null?void 0:(k=a.getBoundingClientRect())==null?void 0:k.width)||0)}else{var l;a=aua*(f||(a==null?void 0:(l=a.getBoundingClientRect())==null?void 0:l.height)||0)}b=_.RC(b,a,d,h);return(b==null?0:b.url)?b.url:(b==null?0:b.imageData)?b.imageData:null};
bua=function(a,b,c){c=c?[c]:[];a.opacity&&c.push("opacity: "+a.opacity+";");b&&a.placeholderColor?(a=_.eA(a.placeholderColor),c.push("background-color: "+a+";")):c.push("background-color: transparent;");return c.join(" ")};
cua=function(a,b,c,d,e){document.body.getAttribute("dir");var f=["yt-core-image"];b&&f.push(b);c||f.push("yt-core-image--fill-parent-height");d||f.push("yt-core-image--fill-parent-width");switch(a.contentMode){case "CONTENT_MODE_SCALE_ASPECT_FIT":f.push("yt-core-image--content-mode-scale-aspect-fit");break;case "CONTENT_MODE_SCALE_ASPECT_FILL":f.push("yt-core-image--content-mode-scale-aspect-fill");break;case "CONTENT_MODE_CENTER":f.push("yt-core-image--content-mode-center");break;default:f.push("yt-core-image--content-mode-scale-to-fill")}a.flipForRtlLayout&&
f.push("yt-core-image--flip-rtl");switch(e){case "TOP_START":f.push(document.body.getAttribute("dir")==="rtl"?"yt-core-image--object-position-top-right":"yt-core-image--object-position-top-left")}return f.join(" ")};
eua=function(a){var b;if(a==null?0:(b=a.clientResource)==null?0:b.imageName){var c;a=(c=a.clientResource)==null?void 0:c.imageName;a:{switch(a){case "yt_premium_wordmark_header_light":case "yt_premium_wordmark_header_dark":case "yt_ringo2_premium_wordmark_header_light":case "yt_ringo2_premium_wordmark_header_dark":c="YOUTUBE_PREMIUM_LOGO_SHORT";break a;case "yt_wordmark_header_light":case "yt_wordmark_header_dark":case "yt_ringo2_wordmark_header_light":case "yt_ringo2_wordmark_header_dark":c="LOGO_WITH_TEXT";
break a}c=void 0}return c||dua.get(a)||a}};_.U=function(a){return _.M("mweb_wiz_skip_render")?fua(a):gua(a)};fua=function(a){return function(b){var c=un("wink-root");wn();vn();_.Po(c,_.H(a,b))}};gua=function(a){var b=b===void 0?!1:b;return function(c){b&&_.M("mweb_skip_keto_to_c3_if_no_data")&&c.data===void 0||jo(ho,function(){var d=c.children;d?So(_.H(a,c,d)):So(_.H(a,c))})}};UC=function(){if(TC&&TC.state)return _.lC(function(){return TC.state.previousUrl})};
hua=function(){var a=VC();return a&&a.endpoint?JSON.parse(a.endpoint):void 0};VC=function(){if(TC&&TC.state)return _.lC(function(){return TC.state.params})};
WC=function(a){try{var b={},c=(b.params=a.params,b.previousUrl=a.previousUrl,b);b=!1;_.M("mweb_history_state_limit")&&iua&&jua+kua>=90&&(b=!0);var d=!0;a.replace&&TC&&TC.replaceState&&!b?(kua++,TC.replaceState(c,"",a.href),d=!1):TC&&TC.pushState&&!b&&(jua++,TC.pushState(c,"",a.href),d=!1);d&&setTimeout(function(){_.ii(_.sB(),_.Gh(a.href))})}catch(e){setTimeout(function(){_.ii(_.sB(),_.Gh(a.href))})}};
lua=function(a){var b=0;return function(c,d,e,f){b++;var h=b;return XC(a(c,d,e,f),function(k){if(h===b)return k})}};ZC=function(){return _.K().resolve(YC)()};aD=function(){return _.K().resolve($C)};
mua=function(a){function b(t){t=t===void 0?a.mn():t;a.iu(t)}function c(){if(q!==_.yB()){var t=_.qw(_.dw());var w={};t&&t.backButtonVe&&(bD?w=aD().pn():w=(w=VC())?Number(w.rootVe):void 0,w={rb:w,parentVe:t.backButtonVe},_.M("mweb_history_exclude_target_root_ve_type")&&delete w.rb);t=w;t.Wi=!0;w=null;(bD?aD().Ri():hua())&&(w={_data:bD?aD().Ri():hua()});var y;d({href:location.href,params:(y=bD?aD().getParams():VC())!=null?y:{},cg:{},context:w,ku:!1,su:t});q=_.yB()}}function d(t){var w=t.href,y=t.params,
B=t.cg,A=t.context,E=t.ku===void 0?!0:t.ku,I=t.ib===void 0?!1:t.ib,G=t.su,X=t.parentLayer,ca=t.jF;if(a.LF(w))setTimeout(function(){a.TE(w,y)});else{var pa,qa,ja=(pa=_.zB)==null?void 0:(qa=pa.response)==null?void 0:qa.endpoint,Fa=A&&A._data?A._data:void 0;_.M("mweb_schedule_warm_watch_response")&&cD&&_.K().resolve(_.dD).Ma(cD);_.hB("state-navigatestart",{href:w,cg:B,endpoint:Fa,Dj:ja});var za=Object.assign({},y,B);E=E?location.href:bD?aD().sg():UC();m(y,G,Fa);var wb=!1,ka=!0,oa=function(Aa){if(!wb&&
ka){var Ra={key:location.href,parentLayer:X};if(G==null?0:G.clickedVisualElement)Ra.clickedVisualElement=G.clickedVisualElement;if(G==null?0:G.implicitGestureType)Ra.implicitGestureType=G.implicitGestureType;if(!Fa||G!=null&&G.Wi)if(G==null?0:G.Wi){if((G==null?0:G.rb)||_.M("mweb_history_exclude_target_root_ve_type"))goa(_.dw(),n(ca),G.rb,Ra,_.sC(ja)),wb=!0}else G!=null&&G.Wi||G==null||!G.rb||(_.hw(_.dw(),G.rb,G.parentVe||void 0,Ra),wb=!0);else{var la=!!_.N(Fa,_.eD)&&!!_.N(ja,_.eD);_.M("mweb_skip_screen_creation_for_short_to_short")&&
la||_.iw(_.dw(),Fa,Ra);wb=!0}ka=!1}if(Aa.done){if(wb)_.kw(_.dw(),_.pj(Aa.value.response));else{Ra=Aa.value;la=_.sC(ja);la=la===void 0?null:la;var $a=Ra.response;Ra={wk:[_.pj($a)],Mm:void 0,key:location.href};if(Fa)_.iw(_.dw(),Fa,Ra);else if(G==null?0:G.Wi){var jb,lb,Hc,Zc,Le=(jb=$a.response)==null?void 0:(lb=jb.responseContext)==null?void 0:(Hc=lb.webResponseContextExtensionData)==null?void 0:(Zc=Hc.ytConfigData)==null?void 0:Zc.rootVisualElementType;_.M("mweb_ignore_op_history_bug")&&(Le=void 0);
goa(_.dw(),n(ca),Le,Ra,la)}else{jb=G&&G.parentVe?G.parentVe:void 0;if(G==null?0:G.rb)lb=G.rb;else{var Dd,Ed,Xa;lb=((Le=$a.response)==null?void 0:(Dd=Le.responseContext)==null?void 0:(Ed=Dd.webResponseContextExtensionData)==null?void 0:(Xa=Ed.ytConfigData)==null?void 0:Xa.rootVisualElementType)||83769;_.bv(new _.oq("Warning: Getting new logging screen type from response",jb,lb))}_.hw(_.dw(),lb,jb,Ra)}}f(w,Aa.value,y,za,Fa,ja)}else e(Aa.value);return Aa};t=function(Aa){var Ra;oa({done:!0,value:{response:(Ra=
Aa.j)==null?void 0:Ra.j}})};(B=!(ca==null||!ca.o()))||XC(r(w,za,A,E),oa);A=a.IE(w,q||location.href,a.mn(),A);_.M("mweb_skip_placeholder_warm_navs")&&A.qA||(fD&&B&&(G==null?0:G.Wi)||(!I&&(A.replace||w===location.href||location.hash||w&&location.href.replace(window.location.origin,"")===w)?l(w,A.data,y):_.M("mweb_dev_server_sticky_params")&&qia()?(I=_.ti(uia(w,location.search)),k(I,A.data,y)):k(w,A.data,y)),ca&&B&&t(ca),A.eR||window.scrollTo(0,0))}}function e(t){if(_.M("mweb_schedule_warm_watch_response")){var w,
y;((w=t.response)==null?void 0:w.page)==="watch"&&((y=t.response)==null?0:y.response)?cD=_.uq(_.K().resolve(_.dD),function(){_.hB("state-progress",{data:t});b(t)}):(_.hB("state-progress",{data:t}),b(t))}else _.hB("state-progress",{data:t}),b(t)}function f(t,w,y,B,A,E){_.hB("state-progress",{data:w});_.hB("state-responsereceived",{href:t,data:w});_.fj(function(){var I;(I=(I=a.LE(w))&&t===_.sB().href?ui(_.ti(I))!==ui(_.ti(t))?I:null:null)?l(I,w,y):h(w);_.hB("state-navigateend",{href:t,data:w,Wp:B,endpoint:A,
Dj:E})})}function h(t){b(t);fD&&ZC()?ZC().Xz():q=_.yB();_.hB("state-change")}function k(t,w,y){if(fD&&ZC()){var B;ZC().zI(t,(B=_.zB)==null?void 0:B.response,{params:y,previousUrl:location.href})}else bD?aD().pushState({params:y,previousUrl:location.href},t):WC({replace:!1,href:t,params:y,previousUrl:location.href});h(w)}function l(t,w,y){if(fD&&ZC()){var B=ZC(),A;B.Qz(t,(A=_.zB)==null?void 0:A.response,window.scrollY,{params:y,previousUrl:B.sg()})}else bD?aD().replaceState({params:y,previousUrl:bD?
aD().sg():UC()},t):WC({replace:!0,href:t,params:y,previousUrl:bD?aD().sg():UC()});h(w)}function m(t,w,y){if(w&&w.rb)var B=w.rb;else{var A;t&&((A=_.N(y==null?void 0:y.commandMetadata,_.ew))==null?0:A.rootVe)&&(B=_.N(y.commandMetadata,_.ew).rootVe)}B&&t&&(t.rootVe=B.toString());(w=_.Du())&&t&&(t.csn=w);y&&t&&JSON&&(t.endpoint=JSON.stringify(y))}function n(t){return t&&_.M("mweb_use_history_direction")?t.forward?"forward":"back":"unknown"}function p(){q=_.yB()}var q,r=lua(a.Qn);fD||(window.addEventListener("popstate",
c),window.addEventListener("update-path-name",p));window.addEventListener("hashchange",function(){b()});return{navigate:d,dI:function(t){a.Qn("",void 0,{_data:t},null,!0)},uS:h,replaceState:l,handleResponse:f,mS:m}};
_.gD=function(a,b){var c=this;this.margin=a;this.B=b;this.j=[];this.A=!1;window.addEventListener("touchmove",function(){c.o()});window.addEventListener("touchend",function(){c.o()});window.addEventListener("updateui",function(){c.o()});var d=new _.Vj((0,_.fb)(this.o,this),100);window.addEventListener("scroll",function(){d.gg()},!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))};nua=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.A=!1};_.hD=function(){return window.matchMedia&&window.matchMedia("(orientation: landscape)").matches};_.iD=function(a){if("matchMedia"in window)return window.matchMedia(a.landscape+","+a.portrait).matches};
_.mD=function(){if(jD===void 0){var a=_.iD(oua);jD=a!==void 0?a:_.kD>=930&&lD>=550||_.kD>=550&&lD>=930}return jD};nD=function(){var a=_.L("INNERTUBE_CONTEXT",{}),b;return((b=a.client)==null?void 0:b.osName)&&a.client.osName==="Android Automotive"};qua=function(a,b){a.Us=b;pua.observe(a)};
rua=function(){var a={rootMargin:"10%",threshold:.01};_.M("mweb_enable_set_io_root_to_null_safari")?a.root=null:_.M("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;if(!_.M("mweb_enable_only_update_image_when_connected")||d.isConnected!==!1){var e;(e=d.Us)==null||e.call(d);c.unobserve(d)}})},a)};
sua=function(a,b){_.M("mweb_enable_only_update_image_when_connected")&&a.isConnected===!1||b===a.src||(a.src=b)};tua=function(a,b,c){b&&_.et(a,b);c&&a.dispatchEvent(new Event("image-unloaded",{bubbles:!0,composed:!0}))};uua=function(a,b,c,d,e){function f(){d&&tua(a,d.loadedClass,d.Fs)}function h(){var k=c(b,a);k&&a.getAttribute("src")!==k&&(sua(a,k),f())}e=e===void 0?!0:e;a.removeAttribute("src");f();b&&(e?qua(a,h):h())};vua=function(a){return a};
pD=function(a,b,c,d){a=a===void 0?null:a;d=d===void 0?!0:d;_.M("mweb_enable_keto_batch_25")?_.U(oD)({data:a,qn:{jk:b},config:c,lazy:d}):wua(a,b,c,d)};_.qD=function(a,b){a&&pD(a,function(c){return c},b)};wua=function(a,b,c,d){a=a===void 0?null:a;d=d===void 0?!0:d;_.lB("img",c,function(e){Fu(a||{},e.CG)||(e.CG=a,uua(e,a,b,c,d))})};
_.rD=function(a,b,c,d){function e(n,p){if(!f||f.sources===void 0)return"";n=_.SC(p,f.sources,b.isPreloaded,b.oi,b.targetWidth,b.targetHeight,b.jt);c==null||c(p);return n||""}d=d===void 0?!0:d;var f=a.sources!==void 0?a:_.QC(a);if(f){var h=b.onload;b.onload=function(n){_.dt(n.target,"yt-core-image--loaded");b.xy&&n.target.dispatchEvent(new Event("image-loaded",{bubbles:!0,composed:!0}));h==null||h(n)};b.targetWidth&&b.Yb&&(b.width=b.targetWidth);b.targetHeight&&b.oc&&(b.height=b.targetHeight);var k=
Zta(f);if(k){var l=eua(k);k=$ta(k);if(l){k&&(b.style$=b.style$?b.style$.endsWith(";")?b.style$+(" color: "+k+";"):b.style$+("; color: "+k+";"):"color: "+k+";");_.K().resolve(_.fC)(l,Object.assign({},b,{"aria-hidden$":!b.alt,"aria-label$":b.alt,role:"img"}));return}}if(a.sources===void 0){b.alt=a.accessibility&&a.accessibility.accessibilityData&&a.accessibility.accessibilityData.label||b.alt;b.qJ=bua(a,b.dA,b.qJ);var m;b.isPreloaded=!((m=_.N(a,xua))==null||!m.isPreloaded)}b.contentMode&&!f.contentMode&&
(f.contentMode=b.contentMode);b.className=cua(f,b.className,b.oc,b.Yb,b.objectPosition);b.hy="yt-core-image--loaded";d?pD(f,e,b,!0):yua(b,function(n){var p=_.SC(n,f.sources,b.isPreloaded,b.oi,b.targetWidth,b.targetHeight,b.jt);p&&(sua(n,p),tua(n,"yt-core-image--loaded",b.Fs));c==null||c(n)})}};_.sD=function(a){return{Lj:function(b){var c=b.data;var d=b.config;return _.dC(function(){return void a(c,d)})}}};
_.tD=function(a){function b(c){return _.H(_.Vo,null,function(){var d=c.data(),e=_.Yo(c.config);return _.dC(function(){return void a(d,e)})})}_.co(b);return b};
_.uD=function(a,b,c){c=c===void 0?_.pB:c;if(a){var d=_.K().resolve(_.xw);d||_.M("mweb_no_observer_killswitch")?ooa(a,{data:b,ub:d,gf:c,Qk:zua,de:Aua,layer:a.layer}):_.bv(new _.oq("Warning: monitorVisibility called with null observer",a.tagName,b==null?void 0:b.loggingDirectives,b==null?void 0:b.trackingParams))}else _.bv(new _.oq("Warning: monitorVisibility called with null element",b==null?void 0:b.loggingDirectives,b==null?void 0:b.trackingParams,b==null?void 0:b.rendererContext))};
_.vD=function(a){if(a){var b=_.Du();b&&(a=a.loggingDirectives?a.loggingDirectives.trackingParams:a.trackingParams)&&Wna(b,[_.yu(a)])}};
_.xD=function(a,b){if(_.M("attr_string_reactive"))_.U(_.wD)({text:a,ariaLabel:b==null?void 0:b.ariaLabel,className:b==null?void 0:b.className,qe:b==null?void 0:b.qe,ja:b==null?void 0:b.ja,Da:b==null?void 0:b.Da,ka:b==null?void 0:b.ka,Rf:b==null?void 0:b.Rf,pb:b==null?void 0:b.pb,Sb:b==null?void 0:b.Sb,noWrap:b==null?void 0:b.noWrap,uc:b==null?void 0:b.uc,stopPropagation:b==null?void 0:b.stopPropagation,userInput:b==null?void 0:b.userInput,headerRuns:b==null?void 0:b.headerRuns});else if(a){var c=
PC(a);if(c!=null&&c.content){var d=(b==null?void 0:b.ariaLabel)||!c.commandRuns||c.commandRuns.length===0;a=d?b==null?void 0:b.ariaLabel:null;d=d?"text":null;_.lB("span",{className:Lta(c,b),dir$:(b==null?0:b.userInput)?"auto":void 0,"aria-label$":a,role$:d},function(){if(c.styleRuns||c.commandRuns||c.attachmentRuns||c.decorationRuns){var e=Rta(c,b);Tta(e,b);e=Xta(c.content,e);e=_.u(e.Yd);for(var f=e.next();!f.done;f=e.next())Bua(f.value)}else _.En(c.content)})}}};
Bua=function(a){typeof a==="string"?_.En(a):Sta(a.data)?_.lB("span",a.data.zn,function(){_.rD(a.data.image,a.data.Tk)}):_.lB(a.data.tag,a.data.config,function(b){var c=a.data.run;(c.onTap!==void 0||c.onLongPress!==void 0)&&_.N(c,iC)&&_.uD(b,{loggingDirectives:_.N(c,iC)});b=_.u(a.Yd);for(c=b.next();!c.done;c=b.next())Bua(c.value)})};
Dua=function(a){if(typeof a==="string")return a;if(Sta(a.data))return _.H("span",{el:Cua(a.data.zn)},_.H(_.yD,Object.assign({},{data:a.data.image},a.data.Tk)));var b=a.Yd.map(Dua),c=Cua(a.data.config);return a.data.tag==="span"?_.H("span",{el:c},b):_.H("a",{el:c},b)};
Eua=function(a){return function(){var b,c,d,e,f,h,k,l,m,n,p,q,r,t;return _.Yo({ariaLabel:(b=a.ariaLabel)==null?void 0:b.call(a),className:(c=a.className)==null?void 0:c.call(a),qe:(d=a.qe)==null?void 0:d.call(a),ja:(e=a.ja)==null?void 0:e.call(a),Da:(f=a.Da)==null?void 0:f.call(a),ka:(h=a.ka)==null?void 0:h.call(a),Rf:(k=a.Rf)==null?void 0:k.call(a),pb:(l=a.pb)==null?void 0:l.call(a),Sb:(m=a.Sb)==null?void 0:m.call(a),noWrap:(n=a.noWrap)==null?void 0:n.call(a),uc:(p=a.uc)==null?void 0:p.call(a),stopPropagation:(q=
a.stopPropagation)==null?void 0:q.call(a),userInput:(r=a.userInput)==null?void 0:r.call(a),headerRuns:(t=a.headerRuns)==null?void 0:t.call(a)})}};Cua=function(a){return{Ps:function(b){for(var c in a)(To[c]||To[fn["default"]])(b,c,a[c])}}};
_.zD=function(a,b){return _.M("attr_string_reactive")?_.H(_.wD,{text:a,ariaLabel:b==null?void 0:b.ariaLabel,className:b==null?void 0:b.className,qe:b==null?void 0:b.qe,ja:b==null?void 0:b.ja,Da:b==null?void 0:b.Da,ka:b==null?void 0:b.ka,Rf:b==null?void 0:b.Rf,pb:b==null?void 0:b.pb,Sb:b==null?void 0:b.Sb,noWrap:b==null?void 0:b.noWrap,uc:b==null?void 0:b.uc,stopPropagation:b==null?void 0:b.stopPropagation,userInput:b==null?void 0:b.userInput,headerRuns:b==null?void 0:b.headerRuns}):_.H(_.Oo,null,
function(){_.xD(a,b)})};_.AD=function(a){if(a){var b;return((b=_.K().resolve(_.mp(_.LC)))==null?0:b())?a.darkThemeImage:a.image}};_.BD=function(){var a=_.Ka.apply(0,arguments);return function(){for(var b="",c=_.u(a),d=c.next();!d.done;d=c.next())if(d=d.value,typeof d==="function"&&(d=d()),d)if(typeof d==="string")b+=" "+d;else for(var e in d)if(d.hasOwnProperty(e)){var f=d[e];typeof f==="function"&&(f=f());f&&(b+=" "+e)}b=b.trim()||void 0;return _.Yo(b)}};
_.CD=function(a,b,c,d){_.xj.call(this);this.o=a;this.localReleaseId=b;this.derivedDeviceInterface=c;this.O=d;this.j=new _.Uj;this.A=NaN;this.pa=_.wp("play_ping_interval_ms",3E4);this.ha=_.wp("play_click_interval_ms",3E4);this.ba=_.M("disable_logging_isolated_payloads_gel");this.state=0;this.Z=!1;this.H=0;this.W=!0;this.B=!1;Fua(this);var e=setTimeout(function(){_.bv(new _.oq("Timed out after 30000ms while waiting for play nonce"))},3E4);this.j.promise.then(function(){clearTimeout(e)})};
_.DD=function(a,b){a.j.resolve(b!=null?b:_.Cp(8))};_.ED=function(a){return _.z(function(b){return b.j==1?_.x(b,a.j.promise,2):b.return(b.o)})};Fua=function(a){var b,c;_.z(function(d){if(d.j==1)return _.x(d,a.j.promise,2);b=d.o;c={miniAppInfo:{externalPostId:a.o,localReleaseId:a.localReleaseId,postPlayNonce:b,derivedDeviceInterface:a.derivedDeviceInterface}};vv(c);_.wa(d)})};
_.Hua=function(a){a.state!==0?_.bv(new _.oq("[MiniAppPlayLogger] recordPlayStart failed with state "+FD[a.state])):(a.state=1,_.GD(a,"ma_cl"),HD(a,"PLAY_EVENT_TYPE_PLAY_START"),Gua(a))};_.Iua=function(a){a.state!==1?_.bv(new _.oq("[MiniAppPlayLogger] recordFirstFrameReady failed with state "+FD[a.state])):(Yha().includes(a.o)&&(a.B=!0),a.state=2,a.W=!1,_.GD(a,"ma_ffr"),HD(a,"PLAY_EVENT_TYPE_PLAY_READY"))};_.Jua=function(a){a.O=!1;HD(a,"PLAY_EVENT_TYPE_PLAY_PAUSE")};_.Kua=function(a){a.O=!0;HD(a,"PLAY_EVENT_TYPE_PLAY_RESUME")};
_.Lua=function(a){a.state!==1&&a.state!==2?_.bv(new _.oq("[MiniAppPlayLogger] recordPlayEnd failed with state "+FD[a.state])):(a.state=3,window.clearInterval(a.A),a.A=NaN,Mna(),HD(a,"PLAY_EVENT_TYPE_PLAY_END",{},!0))};
_.ID=function(a,b){a.state!==2||_.M("enable_logging_first_user_action_after_game_ready")&&!a.B||(a.Z?Date.now()-a.H<a.ha||(a.H=Date.now(),HD(a,"PLAY_EVENT_TYPE_PLAY_CLICK")):b&&(_.GD(a,"ma_fua"),HD(a,"PLAY_EVENT_TYPE_PLAY_FIRST_USER_ACTION",a.ba?void 0:{sendIsolatedPayload:!0}),a.Z=!0,a.H=Date.now()))};
_.Mua=function(a,b,c,d){var e,f;_.z(function(h){if(h.j==1)return _.x(h,a.j.promise,2);e=h.o;f={externalPostId:a.o,localReleaseId:a.localReleaseId,postPlayNonce:e,sdkVersion:c,api:b};d!==void 0&&(f.networkRequestsMeasurement={networkRequests:_.gf(d,1),cachedRequests:_.gf(d,2),transferredBytes:_.gf(d,3)});_.uu("miniAppSdkUsage",f);_.wa(h)})};
_.Oua=function(a,b,c){var d,e,f,h,k,l,m;_.z(function(n){if(n.j==1)return _.x(n,a.j.promise,2);d=n.o;e={externalPostId:a.o,localReleaseId:a.localReleaseId,postPlayNonce:d,sdkVersion:c,measurementWindow:{startTimestampMs:String(_.hf(b,1)),endTimestampMs:String(_.hf(b,2))},frameRate:{averageFrameTimeDeltaMs:jf(b,3),averageFrameIdleTimeMs:jf(b,4)}};_.M("enable_sdk_performance_network_logging")&&_.re(b,xx,5)&&(e.networkRequests={networkRequests:(f=_.Te(b,xx,5))==null?void 0:_.gf(f,1),cachedRequests:(h=
_.Te(b,xx,5))==null?void 0:_.gf(h,2),transferredBytes:(k=_.Te(b,xx,5))==null?void 0:_.gf(k,3),sameOriginStatusCodeToCounts:Nua((l=_.Te(b,xx,5))==null?void 0:Ce(l,4)),crossOriginStatusCodeToCounts:Nua((m=_.Te(b,xx,5))==null?void 0:Ce(m,5))});_.uu("miniAppPerformanceMetrics",e);_.wa(n)})};
HD=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?!1:d;var e,f,h,k;_.z(function(l){if(l.j==1)return e=a.O,f=a.W,_.x(l,a.j.promise,2);h=l.o;k={externalPostId:a.o,localReleaseId:a.localReleaseId,derivedDeviceInterface:a.derivedDeviceInterface,postPlayNonce:h,type:b};c.sequenceGroup=h;k.playState=f?"PLAY_STATE_NOT_READY":e?"PLAY_STATE_READY_FOREGROUND":"PLAY_STATE_READY_BACKGROUND";_.uu("miniAppPlayEvent",k,c);d&&_.vu();_.wa(l)})};
_.GD=function(a,b){var c;_.z(function(d){if(d.j==1)return c=(0,_.Uq)(),_.x(d,a.j.promise,2);_.Av(b,c);_.wa(d)})};Gua=function(a){isNaN(a.A)&&(a.A=_.Pp(function(){a.state!==1&&a.state!==2?_.bv(new _.oq("[MiniAppPlayLogger] reportPlayPing failed with state "+FD[a.state])):HD(a,"PLAY_EVENT_TYPE_PLAY_PING")},a.pa))};Nua=function(a){return Array.from(a.entries()).map(function(b){var c=_.u(b);b=c.next().value;c=c.next().value;return{key:b,value:c}})};JD=function(a){this.rpcErrorCode=a};
KD=function(a,b){this.intervalMs=a;this.B=b;this.A=!0};Pua=function(a){var b,c,d;return _.z(function(e){switch(e.j){case 1:if(!a.A||!a.o)return e.return();a.A=!1;b=a.o;a.o=void 0;_.xa(e,2);if(a.j===void 0){e.L(4);break}return _.x(e,a.B(a.j),5);case 5:c=e.o,b.resolve(c);case 4:_.ya(e,3);break;case 2:d=_.Ba(e),b.reject(d);case 3:setTimeout(function(){return _.z(function(f){a.A=!0;return _.x(f,Pua(a),0)})},a.intervalMs),_.wa(e)}})};
LD=function(a,b){var c=this;a?this.j=Promise.resolve(a):b&&(this.j=b(),this.j.catch(function(){}));this.o=new KD(Qua,function(d){return Rua(c,d)})};_.Sua=function(a,b){a.A=b;a.o=new KD(Qua,function(c){return Rua(a,c)})};_.Tua=function(a,b){var c;return _.z(function(d){if(d.j==1)return _.x(d,a.o.call(b),2);c=d.o;return d.return([c,b])})};
Rua=function(a,b){var c,d,e,f,h,k,l;return _.z(function(m){switch(m.j){case 1:return _.x(m,a.j,2);case 2:return c=m.o,d=_.gB(Uua),e=Date.now(),f={externalPostId:a.A,userStatValue:{statKey:"high_score",timestamp:{seconds:""+Math.floor(e/1E3),nanos:Math.round(e%1E3*1E6)},intValue:""+b}},_.xa(m,3),_.x(m,c.yc(f,d),5);case 5:h=m.o;_.ya(m,4);break;case 3:throw k=_.Ba(m),k;case 4:if(h){if("error"in h&&h.error)throw h.error;if(h.errorMetadata)throw Error("dd`"+h.errorMetadata.status);if(l=h.userStatResult)return m.return(l);
throw Error("ed");}throw Error("fd");}})};_.MD=function(){this.callbacks={}};
Xua=function(a,b){if(b.data)try{var c=Vua(b.data);if(ef(c,1)!=null){var d=Wua(_.kf(c,2));switch(_.kf(c,1)){case "yt-mini-app-load-audio-state":var e,f;(f=(e=a.callbacks).wj)==null||f.call(e,ff(d,_.se(d,ND,1)));break;case "yt-playable-exit":var h,k;(k=(h=a.callbacks).onExit)==null||k.call(h);break;case "yt-post-play-nonce":var l,m;(m=(l=a.callbacks).Ky)==null||m.call(l,mf(d,2,ND));break;case "yt-confirm-exit-mini-app":var n,p;(p=(n=a.callbacks).cw)==null||p.call(n);break;case "yt-benchmarking-response":var q,
r;(r=(q=a.callbacks).io)==null||r.call(q,mf(d,2,ND));break;case "yt-mini-app-load-3p-consent-state":var t,w;(w=(t=a.callbacks).oy)==null||w.call(t,ff(d,_.se(d,ND,1)));break;case "yt-mini-app-on-navigate-to-new-mini-app":var y,B;(B=(y=a.callbacks).Iy)==null||B.call(y);break;case "yt-game-data-available":var A,E;(E=(A=a.callbacks).fo)==null||E.call(A,mf(d,2,ND))}}else _.bv(Error("gd"))}catch(I){_.av(Error("hd"))}else _.bv(Error("id"))};OD=function(){return Yua||!!_.Ua("yt.player.Application")};
PD=function(){return Zua||!!document.querySelector("link#player-css")};$ua=function(){function a(){Yua=!0;QD.resolve()}var b,c;return _.z(function(d){QD||(QD=new _.Uj,OD()?a():(b=document.createElement("script"),b.addEventListener("load",a),c=ft(_.L("PLAYER_JS_URL")),_.gi(b,c),document.head.appendChild(b)));return d.return(QD.promise)})};
ava=function(){function a(){Zua=!0;RD.resolve()}if(!RD)if(RD=new _.Uj,PD())a();else{var b=document.createElement("link");b.id="player-css";b.addEventListener("load",a);var c=ft(_.L("PLAYER_CSS_URL"));_.$h(b,c,"stylesheet");document.head.appendChild(b)}return RD.promise};SD=function(a,b,c){var d={args:{}};a&&(d.args.raw_player_response=a);b&&(d.args.raw_watch_next_response=b);c&&(d.args=Object.assign({},d.args,c));return d};
UD=function(a,b,c,d,e){_.xj.call(this);var f=this;this.H=b;this.webPlayerContextConfig=d;this.wc=e;this.Na=!1;this.api={};this.ta=this.B=null;this.O=new _.gs;this.j={};this.ha=this.xa=this.elementId=this.sb=this.config=null;this.ba=!1;this.A=this.W=null;this.Ba={};this.Ic=["onReady"];this.lastError=null;this.Gb=NaN;this.Z={};this.pa=0;this.o=this.targetElement=a;_.yj(this,this.O);TD(this);c?this.pa=setTimeout(function(){f.loadNewVideoConfig(c)},0):d&&(bva(this),cva(this))};
bva=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.H,a.webPlayerContextConfig?a.webPlayerContextConfig.rootElementId=a.H:a.config.attrs.id=a.H);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)};
dva=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)};eva=function(a){var b=!0,c=VD(a);c&&a.config&&(b=c.dataset.version===WD(a));return b&&!!_.Ua("yt.player.Application.create")};
cva=function(a){if(!a.isDisposed()&&!a.ba){var b=eva(a);if(b&&(VD(a)?"html5":null)==="html5")a.ha="html5",a.isReady()||XD(a);else if(fva(a),a.ha="html5",b&&a.A&&a.targetElement)a.targetElement.appendChild(a.A),XD(a);else{a.config&&(a.config.loaded=!0);var c=!1;a.W=function(){c=!0;var d=gva(a,"player_bootstrap_method")?_.Ua("yt.player.Application.createAlternate")||_.Ua("yt.player.Application.create"):_.Ua("yt.player.Application.create");var e=a.config?hva(a.config):void 0;d&&d(a.targetElement,e,a.webPlayerContextConfig,
a.wc);XD(a)};a.ba=!0;b?a.W():(_.Sz(WD(a),a.W),(b=iva(a))&&Mqa(b||""),jva(a)&&!c&&_.Ta("yt.player.Application.create",null))}}};VD=function(a){var b=Ti(a.elementId);!b&&a.o&&a.o.querySelector&&(b=a.o.querySelector("#"+a.elementId));return b};
XD=function(a){if(!a.isDisposed()){var b=VD(a),c=!1;b&&b.getApiInterface&&b.getApiInterface()&&(c=!0);if(c){a.ba=!1;if(!gva(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}kva(a)}else a.Gb=setTimeout(function(){XD(a)},50)}};
kva=function(a){TD(a);a.Na=!0;var b=VD(a);if(b){a.B=YD(a,b,"addEventListener");a.ta=YD(a,b,"removeEventListener");var c=b.getApiInterface();c=c.concat(b.getInternalApiInterface());for(var d=a.api,e=0;e<c.length;e++){var f=c[e];d[f]||(d[f]=YD(a,b,f))}}for(var h in a.j)a.j.hasOwnProperty(h)&&a.B&&a.B(h,a.j[h]);dva(a);a.xa&&a.xa(a.api);a.O.lb("onReady",a.api)};
YD=function(a,b,c){var d=b[c];return function(){var e=_.Ka.apply(0,arguments);try{return a.lastError=null,d.apply(b,e)}catch(f){if(c!=="sendAbandonmentPing")throw f.params=c,a.lastError=f,e=new _.oq("PlayerProxy error in method call",{error:f,method:c,playerId:a.H}),e.level="WARNING",e;}}};
TD=function(a){a.Na=!1;if(a.ta)for(var b in a.j)a.j.hasOwnProperty(b)&&a.ta(b,a.j[b]);for(var c in a.Z)a.Z.hasOwnProperty(c)&&clearTimeout(Number(c));a.Z={};a.B=null;a.ta=null;b=a.api;for(var d in b)b.hasOwnProperty(d)&&(b[d]=null);b.addEventListener=function(e,f){a.addEventListener(e,f)};b.removeEventListener=function(e,f){a.removeEventListener(e,f)};b.destroy=function(){a.dispose()};b.getLastError=function(){return a.getLastError()};b.getPlayerType=function(){return a.getPlayerType()};b.getCurrentVideoConfig=
function(){return a.sb};b.loadNewVideoConfig=function(e){a.loadNewVideoConfig(e)};b.isReady=function(){return a.isReady()}};ZD=function(a,b){var c=b;if(typeof b==="string"){if(a.Ba[b])return a.Ba[b];c=function(){var d=_.Ka.apply(0,arguments),e=_.Ua(b);if(e)try{e.apply(_.Sa,d)}catch(f){throw d=new _.oq("PlayerProxy error when executing callback",{error:f}),d.level="ERROR",d;}};a.Ba[b]=c}return c?c:null};
lva=function(a,b){function c(d){var e=setTimeout(function(){a.isDisposed();if(!a.isDisposed()){try{a.O.lb(b,d!=null?d:void 0)}catch(k){var f=new _.oq("PlayerProxy error when creating global callback",{error:k.message,event:b,playerId:a.H,data:d,originalStack:k.stack});f.level="WARNING";throw f;}f=a.Z;var h=String(e);h in f&&delete f[h]}},0);Oba(a.Z,String(e))}return a.j[b]=c};
fva=function(a){a.cancel();TD(a);a.ha=null;a.config&&(a.config.loaded=!1);var b=VD(a);b&&(eva(a)||!jva(a)?a.A=b:(b&&b.destroy&&b.destroy(),a.A=null));if(a.targetElement)for(a=a.targetElement;b=a.firstChild;)a.removeChild(b)};jva=function(a){var b,c;a=(b=a.config)==null?void 0:(c=b.args)==null?void 0:c.fflags;return!!a&&a.indexOf("player_destroy_old_version=true")!==-1};WD=function(a){return a.webPlayerContextConfig?a.webPlayerContextConfig.jsUrl:(a=a.config.assets)?a.js:""};
iva=function(a){return a.webPlayerContextConfig?a.webPlayerContextConfig.cssUrl:(a=a.config.assets)?a.css:""};gva=function(a,b){if(a.webPlayerContextConfig)var c=a.webPlayerContextConfig.serializedExperimentFlags;else{var d;if((d=a.config)==null?0:d.args)c=a.config.args.fflags}return(c||"").split("&").includes(b+"=true")};hva=function(a){for(var b={},c=_.u(Object.keys(a)),d=c.next();!d.done;d=c.next()){d=d.value;var e=a[d];b[d]=typeof e==="object"?_.Rh(e):e}return b};
nva=function(a,b,c,d,e){d=d===void 0?!0:d;a=typeof a==="string"?Ti(a):a;var f=$D+"_"+eb(a),h=aE[f];if(h&&d)return mva(b,c)?h.api.loadVideoByPlayerVars(b.args||null):h.loadNewVideoConfig(b),h.api;h=new UD(a,f,b,c,e);aE[f]=h;h.addOnDisposeCallback(function(){delete aE[h.getId()]});return h.api};bE=function(a){if(!a)return null;var b=$D+"_"+eb(a),c=aE[b];c||(c=new UD(a,b),aE[b]=c);return c.api};
mva=function(a,b){return b&&b.serializedExperimentFlags?b.serializedExperimentFlags.includes("web_player_remove_playerproxy=true"):a&&a.args&&a.args.fflags?a.args.fflags.includes("web_player_remove_playerproxy=true"):!1};dE=function(a,b,c,d,e,f){b=b===void 0?document.createElement("div"):b;this.webPlayerContextConfig=a;this.container=b;this.J=c;this.G=new _.Uj;this.H=!1;this.O=new _.Uj;d||f?cE(this):ova(this);this.j=d;this.o=e;this.A=f;pva(this)};
eE=function(a,b){var c;_.z(function(d){if(d.j==1)return a.o=b,a.B?(c=a.B,d.L(2)):_.x(d,a.api,3);d.j!=2&&(c=d.o);a.o&&(c.updateVideoData({raw_watch_next_response:a.o}),a.o=void 0);_.wa(d)})};qva=function(a,b){if(typeof a[b]==="function")return a[b]()};
rva=function(a){var b=window,c,d=(c=b.ytplayer)==null?void 0:c.bootstrapPlayerContainer;if((c=d==null?void 0:d.firstElementChild)&&ct(c,"html5-video-player")){var e,f,h=(e=b.ytplayer)==null?void 0:(f=e.bootstrapWebPlayerContextConfig)==null?void 0:f.contextId;e=a.webPlayerContextConfig.contextId;if(h&&h===e){d!==a.container&&(d=!1,qva(c,"getPlayerState")===2&&(d=!0),a.container.appendChild(c),d||qva(c,"playVideo"));var k;if((k=b.ytplayer)==null?0:k.bootstrapPlayerResponse)a.bootstrapPlayerResponse=
b.ytplayer.bootstrapPlayerResponse}}};
pva=function(a){var b,c,d,e,f;_.z(function(h){if(h.j==1)return a.H?h.L(2):_.x(h,a.O.promise,2);if(h.j!=4)return!_.M("kevlar_player_unified_player_loading")||OD()&&PD()?h.L(4):_.x(h,OD()&&PD()?Promise.resolve([]):Promise.all([$ua(),ava()]),4);rva(a);if(a.j||a.A)b=SD(a.j,a.o,a.A),a.j&&a.j===a.bootstrapPlayerResponse&&(b.loaded=!0),a.bootstrapPlayerResponse=void 0;c=(0,_.fE.FD)(a.container,a.webPlayerContextConfig,b);((d=b)==null?0:d.loaded)&&a.o?(eE(a,a.o),a.j=void 0,a.A=void 0):sva(a);e=function(k){c.removeEventListener("onReady",
e);a.B=k;a.G.resolve(k)};c.addEventListener("onReady",e);a.J!==void 0&&(f=a.J,c.addEventListener("innertubeCommand",function(k){f(k)}));_.wa(h)})};
tva=function(a,b){var c,d,e,f,h,k,l,m,n;return _.z(function(p){if(p.j==1)return a.j=void 0,a.o=void 0,a.A=b,cE(a),a.B?(c=a.B,p.L(2)):_.x(p,a.api,3);p.j!=2&&(c=p.o);e=new Promise(function(q){d=q});f=function(){var q=c.getPlayerResponse();q&&(c.removeEventListener("onVideoDataChange",f),d(q))};c.addEventListener("onVideoDataChange",f);if(a.j||a.A)a.j&&a.j===a.bootstrapPlayerResponse?(d(a.j),a.o&&eE(a,a.o)):(h=SD(a.j,a.o,a.A),(n=(k=a.j)==null?void 0:(l=k.playerConfig)==null?void 0:(m=l.playbackStartConfig)==
null?void 0:m.startPaused)?c.cueVideoByPlayerVars(h.args):c.loadVideoByPlayerVars(h.args)),sva(a),a.bootstrapPlayerResponse=void 0;return p.return(e)})};ova=function(a){if(document.readyState==="complete"||document.readyState==="interactive")cE(a);else{var b=function(){document.removeEventListener("DOMContentLoaded",b);cE(a)};document.addEventListener("DOMContentLoaded",b)}};cE=function(a){a.H=!0;a.O.resolve()};sva=function(a){a.j=void 0;a.o=void 0;a.A=void 0};
gE=function(a,b,c){a.dispatchEvent(new CustomEvent(b,{bubbles:!0,detail:c}))};jE=function(a,b,c){hE||(hE=new dE(a,_.iE.player,function(){return!0},b,c));hE.api.then(function(d){uva(d)})};vva=function(a,b,c){var d,e=(d=kE(a))!=null?d:void 0;lE?jE(b,e,c):(_.iE.player.firstElementChild?jE(b,e,c):_.oB(function(){jE(b,e,c)}),lE=!0)};
uva=function(a){var b=_.iE.player.firstElementChild;mE=a!=null?a:b;window.pis="initialized";_.hB("player-initialized");mE?(mE.addEventListener("onStateChange",function(c){gE(b,"player-state-change",{state:c})}),mE.addEventListener("onAdStateChange",function(c){gE(b,"player-ad-state-change",{state:c})}),mE.addEventListener("onDetailedError",function(c){gE(b,"player-detailed-error",{OP:c})}),mE.addEventListener("onError",function(c){gE(b,"player-error",{errorCode:c})}),mE.addEventListener("onPlayVideo",
function(c){gE(b,"on-play-autonav-video",{videoData:c})}),mE.addEventListener("onPlaylistPrevious",function(){gE(b,"on-play-previous-autonav-video",{})}),mE.addEventListener("onFullscreenChange",function(c){gE(b,"player-fullscreen-change",c)}),mE.addEventListener("onFullscreenToggled",function(c){gE(b,"player-fullscreen-toggled",{isCurrentlyFullscreen:c})}),mE.addEventListener("onAutoplayBlocked",function(){gE(b,"player-dom-paused")}),mE.addEventListener("onYtShowToast",function(c){gE(b,"yt-show-toast",
c)}),mE.addEventListener("innertubeCommand",function(c){gE(b,"yt-innertube-command",c)}),mE.addEventListener("updateKevlarOrC3Companion",function(c){gE(b,"yt-update-c3-companion",c)}),mE.addEventListener("onVideoDataChange",function(c){gE(b,"video-data-change",c)}),mE.addEventListener("onVideoProgress",function(c){gE(b,"video-progress",c)}),mE.addEventListener("localmediachange",function(c){gE(b,"local-media-change",c)})):_.Fp(Error("jd"))};
kE=function(a){return a&&a.args&&a.args.raw_player_response?a.args.raw_player_response:null};wva=function(a){if(_.M("mweb_dont_play_unplayable_short_killswitch"))return!1;var b,c,d;return!!((b=kE(a))==null?0:(c=b.playabilityStatus)==null?0:(d=c.errorScreen)==null?0:d.playerInterstitialRenderer)};
oE=function(a,b,c,d){var e=!!mE;c&&!e?vva(a,b):a?lE&&a&&a.args?wva(a)||(_.iE.player.offsetHeight?(xva(a.args),nE(e,kE(a))):function(){return new Promise(function(f){function h(){_.iE.player.offsetHeight?f(!0):Date.now()-k>1E4?f(!1):setTimeout(h,10)}var k=Date.now();h()})}().then(function(f){f||_.Fp(Error("kd"));xva(a.args);nE(e,kE(a))})):(vva(a,b,d!=null?d:void 0),nE(e,kE(a))):mE&&(mE.stopVideo(),mE.isMutedByMutedAutoplay()&&mE.unMute())};xva=function(a){hE&&a&&tva(hE,a)};
nE=function(a,b){var c=window;(a||b!==c.ytInitialPlayerResponse)&&mE&&(mE.playVideo(),mE.addEventListener("onStateChange",yva))};yva=function(a){mE&&(a===-1&&mE.playVideo(),mE.removeEventListener("onStateChange",yva))};zva=function(){return mE};Bva=function(a,b,c,d,e){Ava=a;e&&!mE?oE(Ava,c,!0,b):(d?kE(pE)!==kE(a)&&(pE=a,oE(pE,c,!1,b)):pE!==a&&(pE=a,oE(pE,c,!1,b)),mE&&hE&&b&&eE(hE,b))};Cva=function(a){mE?a():_.Tz(window,"player-initialized",function(){a()})};
_.rE=function(){return _.M("web_shorts_scrubber_bar")||_.M("web_shorts_sound_metadata")?_.K().resolve(qE)():Dva()};Dva=function(){return zva?mE:null};_.sE=function(){return _.rE()?Promise.resolve(_.rE()):new Promise(function(a){Cva(function(){a(_.rE())})})};_.tE=function(){var a=_.rE();a&&a.getPlayerState()!==1&&a.playVideo()};_.uE=function(){var a=_.rE();a&&a.getPlayerState()!==2&&a.pauseVideo()};_.vE=function(){return!!_.L("MWEB_FIREFOX_YT_LAUNCHER")};Eva=function(){};
_.xE=function(){return _.vE()?_.wE():_.xi(Fva,"next",location.pathname+location.search)};_.wE=function(){return _.xi(Fva,"next","/signin?action_close_tab=true")};_.yE=function(){return!!_.L("ID_TOKEN")};Hva=function(a){return a instanceof Error&&a.cause instanceof JD&&a.cause.rpcErrorCode!==void 0?!Gva.includes(a.cause.rpcErrorCode):!0};Jva=function(){return wi(Iva,{authuser:""+(_.L("SESSION_INDEX")||0)})};
_.AE=function(a){var b=this;this.o=a;this.O=0;this.j=zE;this.B=!1;this.J=new _.Uj;this.G=new KD(this.j,function(c,d){return Kva(b,c,d)});this.A=Lva(this);this.A.then(function(){b.B=!0}).catch(function(){})};_.Mva=function(a,b){b.then(function(c){return a.J.resolve(c)})};_.Nva=function(a){return _.z(function(b){return a.H===void 0?b.return(a.A):b.return(a.H)})};_.Ova=function(a,b){return _.z(function(c){a.H=b;if(!a.B)throw Error("ld");return _.x(c,a.G.call(b),0)})};
Pva=function(){return new Promise(function(a){setTimeout(a,1E3,"")})};Qva=function(a,b){var c,d;return _.z(function(e){if(e.j==1)return c=a.o,_.x(e,Promise.race([a.J.promise,Pva()]),2);d={"X-YouTube-MiniAppId":c,"X-YouTube-PostPlayNonce":e.o};"DELEGATED_SESSION_ID"in rp&&sia(b,d);return e.return(d)})};
Kva=function(a,b,c){c=c===void 0?!1:c;return _.z(function(d){return _.yE()?_.M("enable_cloud_save_error_popup_after_retry")?d.return(new Promise(function(e,f){var h,k,l,m,n;return _.z(function(p){switch(p.j){case 1:h=0,k=!0,m=l=null;case 2:if(!(k&&h++<2)){p.L(4);break}_.xa(p,5);return _.x(p,Rva(a,b,c),7);case 7:l=p.o;k=l.ok?!1:!Gva.includes(l.status);_.ya(p,2);break;case 5:m=n=_.Ba(p);k=Hva(m);p.L(2);break;case 4:l?l.ok?(BE(a,zE),e()):(BE(a,a.j*2),f(Error("md`"+String(l.status),{cause:{rpcErrorCode:l.status}}))):
(BE(a,a.j*2),f(m||Error("nd"))),_.wa(p)}})})):d.return(new Promise(function(e,f){var h,k;return _.z(function(l){if(l.j==1){if(a.o==="")return f(Error("od")),l.return();_.xa(l,2);return _.x(l,Rva(a,b,c),4)}if(l.j!=2)return h=l.o,h.ok?(BE(a,zE),e()):(BE(a,a.j*2),f(Error("md`"+String(h.status),{cause:{rpcErrorCode:h.status}}))),_.ya(l,0);k=_.Ba(l);BE(a,a.j*2);f(k);_.wa(l)})})):d.return()})};
Rva=function(a,b,c){c=c===void 0?!1:c;var d,e,f;return _.z(function(h){if(h.j==1)return d=_.dc((new TextEncoder).encode(b)),e=Jva(),_.x(h,Qva(a,e),2);f=h.o;return h.return(fetch(e,{method:"POST",body:new Blob([d]),headers:f,keepalive:c}))})};
Lva=function(a){var b,c;return _.z(function(d){if(d.j==1){if(!_.yE())return d.return("");if(a.o==="")throw Error("od");if(a.O>2)return d.return(a.A);_.xa(d,2);return _.x(d,Sva(a),4)}if(d.j!=2)return b=d.o,d.return(b);c=_.Ba(d);if(Hva(c)&&++a.O<2)return d.return(Lva(a));throw c;})};
Sva=function(a){var b,c,d,e,f;return _.z(function(h){switch(h.j){case 1:return _.xa(h,2),b=Jva(),_.x(h,Qva(a,b),4);case 4:return c=h.o,_.x(h,fetch(b,{method:"GET",headers:c}),5);case 5:return d=h.o,d.ok?_.x(h,d.text(),6):h.return(Promise.reject(Error("pd`"+String(d.status),{cause:new JD(d.status)})));case 6:return e=h.o,h.return((new TextDecoder).decode(_.gc(e)));case 2:return f=_.Ba(h),h.return(Promise.reject(f))}})};BE=function(a,b){a.j=b;a.G.intervalMs=a.j};
_.CE=function(a,b){(a=_.N(a,_.mC))&&(b?_.vC(a,{},!1):_.K().resolve(_.IC).resolveCommand(a))};_.DE=function(){var a=window.performance.timeOrigin+window.performance.now(),b=(new _.Ci).setSeconds(a/1E9);return Ge(b,2,jd(a%1E9),0)};_.EE=function(a,b){var c=_.N(_.N(a,_.mC),_.Tva);c&&(b&&(c.serializedAdditionalMetadata=_.dc(b)),_.CE(a,!0))};
_.Uva=function(a){var b=_.DE(),c=_.hf(b,1)-_.hf(a,1);a=_.gf(b,2)-_.gf(a,2);c<0&&a>0?(c+=1,a-=1E9):c>0&&a<0&&(--c,a+=1E9);c=(new Di).setSeconds(c);return Ge(c,2,jd(a),0)};_.FE=function(a){a=new URLSearchParams(a);var b=void 0;a.has("invite_code")&&(b=new wx,a=a.get("invite_code"),b=_.rf(b,1,a));return b};GE=function(a){this.callbacks=a};
IE=function(a,b,c){this.callbacks=a;var d=this;this.sdkVersion=new _.Uj;this.channel=new lh(_.jh({destination:window,iframe:b,origin:(new URL(c.toString())).origin,channelName:"playableIframe",onMessage:this.onMessage(),Mg:function(){var e=HE;var f=Cx(5);var h=new Upa;h=pf(h,1,1E4);f=_.Ze(f,4,Dx,h);e(d,f);d.Ed(d.callbacks.Ac())}}));this.j=setTimeout(function(){d.sdkVersion.resolve("")},1E4)};
JE=function(a,b,c){var d,e,f;return _.z(function(h){if(h.j==1)return d=a.callbacks,e=d.lo,f=b,_.x(h,a.sdkVersion.promise,2);e.call(d,f,h.o,c);_.wa(h)})};HE=function(a,b){_.z(function(c){a.channel.send(b);_.wa(c)})};
LE=function(a,b,c){this.callbacks=a;var d=this;this.encoder=new TextEncoder;this.o=new TextDecoder;a=sba(b,(new URL(c.toString())).origin);this.j=new zba(a);this.j.page.onReady(function(){d.callbacks.onFirstFrameReady()});this.j.userActivity.onUserActivity(function(){d.callbacks.onClick()},1E4);this.j.game.onReady(function(){var e,f;(f=(e=d.callbacks).ql)==null||f.call(e)});this.j.audio.update(this.callbacks.Ac());this.j.score.onChange(function(e,f){try{d.callbacks.vl(f)}catch(h){KE(h,d.callbacks,
"MINI_APP_SDK_API_SEND_SCORE","GS")}});this.j.storage.onSave(function(e,f){var h;return _.z(function(k){if(k.j==1)return _.xa(k,2),_.x(k,d.callbacks.onSave(d.o.decode(f)),4);if(k.j!=2)return _.ya(k,0);h=_.Ba(k);KE(h,d.callbacks,"MINI_APP_SDK_API_SAVE_DATA","GS");return k.return()})});this.j.storage.onLoad(function(){var e,f;return _.z(function(h){if(h.j==1)return _.xa(h,2),_.x(h,d.callbacks.onLoad(),4);if(h.j!=2)return e=h.o,h.return(d.encoder.encode(e));f=_.Ba(h);KE(f,d.callbacks,"MINI_APP_SDK_API_LOAD_DATA",
"GS");return h.return(d.encoder.encode(""))})});this.j.init()};KE=function(a,b,c,d){c=c===void 0?"MINI_APP_SDK_API_UNSPECIFIED":c;d=d===void 0?"":d;var e=new _.oq;c={source:"MINI_APP_ERROR_SOURCE_PLAYABLE_CONTAINER",sdkVersion:d,sdkApi:c};a instanceof Error&&(e.message=a.message,e.name=a.name,a.cause instanceof JD&&a.cause.rpcErrorCode!==void 0&&(c.rpcErrorCode=a.cause.rpcErrorCode));var f;(f=b.onError)==null||f.call(b,{Pn:e,metadata:c})};
_.Vva=function(a,b,c,d){switch(a){case "MINI_APP_SOURCE_GAMESNACKS":return new LE(b,c,d);default:return new IE(b,c,d)}};Wva=function(a){switch(a){case 1:return"MINI_APP_ERROR_SOURCE_CONSOLE";case 2:return"MINI_APP_ERROR_SOURCE_UNCAUGHT";case 3:return"MINI_APP_ERROR_SOURCE_SDK";case 4:return"MINI_APP_ERROR_SOURCE_SDK_INTERNAL";case 5:return"MINI_APP_ERROR_SOURCE_SDK_SERVER";default:return"MINI_APP_ERROR_SOURCE_UNSPECIFIED"}};
Xva=function(a){switch(a){case 1:return"MINI_APP_SDK_ERROR_TYPE_API_UNAVAILABLE";case 2:return"MINI_APP_SDK_ERROR_TYPE_INVALID_PARAMS";case 3:return"MINI_APP_SDK_ERROR_TYPE_SIZE_LIMIT_EXCEEDED";default:return"MINI_APP_SDK_ERROR_TYPE_UNSPECIFIED"}};
Yva=function(a){switch(a){case 1:return"MINI_APP_SDK_API_FIRST_FRAME_READY";case 9:return"MINI_APP_SDK_API_GAME_READY";case 2:return"MINI_APP_SDK_API_LOAD_DATA";case 3:return"MINI_APP_SDK_API_SAVE_DATA";case 4:return"MINI_APP_SDK_API_SEND_SCORE";case 5:return"MINI_APP_SDK_API_ON_AUDIO_ENABLED_CHANGE";case 6:return"MINI_APP_SDK_API_ON_PAUSE";case 7:return"MINI_APP_SDK_API_ON_RESUME";case 8:return"MINI_APP_SDK_API_GET_LANGUAGE";case 10:return"MINI_APP_SDK_API_IS_AUDIO_ENABLED";case 12:return"MINI_APP_SDK_API_SHARE_INVITE_CODE";
case 13:return"MINI_APP_SDK_API_ON_GAME_DATA_AVAILABLE";default:return"MINI_APP_SDK_API_UNSPECIFIED"}};_.ME=function(){for(var a=[],b=_.u(_.Ka.apply(0,arguments)),c=b.next();!c.done;c=b.next())if(c=c.value)if(typeof c==="string")a.push(c);else{c=_.u(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=_.u(d.value);d=e.next().value;(e=e.next().value)&&a.push(d)}}return a.join(" ")};_.NE=function(a,b){b||(b={});b.className=(b.className?b.className+" ":"")+a;return b};
_.PE=function(){return _.OE?_.OE:window.lottie?_.OE=Promise.resolve(window.lottie):_.OE=new Promise(function(a,b){var c=document.createElement("script");c.addEventListener("load",function(){a(lottie)});c.addEventListener("error",function(d){var e="Lottie library failed to load.";d?d.message&&(e+=" Original description: "+d.message,ev(d,e)):d=Error(e);_.bv(d);b(d)});c.setAttribute("async","");_.gi(c,Zva);document.head.appendChild(c)})};
$va=function(a,b,c){var d=c.animationRef,e=c.listeners;a=a.loadAnimation(Object.assign({},{container:b},c.animationConfig));d&&(d.lottieEl=a);if(e)for(d=_.u(Object.entries(e)),e=d.next();!e.done;e=d.next())b=_.u(e.value),e=b.next().value,(b=b.next().value)&&a.addEventListener(e,b);return a};
_.QE=function(a){var b;var c=a.className;var d=a.animationName;var e=a.lottiePlayerProps;var f=a.animationRef;var h=(b=a.cE)||_.Ow(),k;_.Mn(function(){var n;return void((n=k)==null?void 0:n.destroy())});var l;_.Xo(function(){if(d()!==l){l=d();var n=Object.assign({},{animationName:d(),animationRef:_.Yo(f)},_.Yo(e));try{(_.OE?_.OE:_.PE()).then(function(t){var w;(w=k)==null||w.destroy();k=$va(t,h.value,n)})}catch(t){var p=t,q="LottieComponent error.";p.message&&(q+=" Original description: "+p.message);
ev(p,q);_.bv(p);var r;((r=n.listeners)==null?0:r.error)&&n.listeners.error(p)}}});var m=_.BD("YtLottieComponentHost",c);return _.H(_.O,{C:function(){return!_.Yo(b)}},function(){return _.H("lottie-component",{class:m,el:h})})};
_.RE=function(a){var b=_.Ow(),c=_.u(_.Nw(a.lottiePlayerProps.animationConfig.name||"",a.className)),d=c.next().value;c=c.next().value;var e=_.Lw(function(){return a.lottiePlayerProps.animationRef});_.Iw(function(){a.lottiePlayerProps.animationRef&&(a.lottiePlayerProps.animationRef.lottieEl=e==null?void 0:e.lottieEl)},[a.lottiePlayerProps.animationRef]);return _.H("lottie-component",{skip:!0,class:_.BD(c,"YtLottieComponentHost"),el:b},_.H(_.QE,{lottiePlayerProps:a.lottiePlayerProps,animationRef:e,
animationName:d,cE:b}))};
_.SE=function(a){if(!_.M("mweb_wiz_migration_event_killswitch")&&!_.M("kevlar_wiz_migration_event_killswitch")&&a&&!awa){(a=_.wp("web_generic_client_event_wait_period ",0))||(a=3E5);var b=bwa.get("GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WIZ_NEXT_MIGRATED_COMPONENT");!_.M("enable_web_client_experiment_event_timeout_killswitch")&&b&&(0,_.Uq)()-b<a||(bwa.set("GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WIZ_NEXT_MIGRATED_COMPONENT",(0,_.Uq)()),_.uu("genericClientExperimentEvent",{eventType:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WIZ_NEXT_MIGRATED_COMPONENT"}));awa=
!0}};_.UE=function(a,b){var c=this;this.sa=a;this.events=new _.gs;this.props=b;this.events.subscribe("UPDATE",function(){(0,_.TE)(c.sa,c.ta.bind(c));var d;c.sa.data=(d=c.props)==null?void 0:d.data});this.events.subscribe("CONNECTED",function(){cwa(c);var d;c.sa.data=(d=c.props)==null?void 0:d.data});this.events.subscribe("DISCONNECTED",function(){var d;(d=c.Uc)==null||d.call(c);var e;(e=c.wc)==null||e.call(c)});this.events.subscribe("UPDATED",function(){var d;(d=c.hn)==null||d.call(c)})};
cwa=function(a){a.wc=qo(function(b){a.owner=b;_.Zm(null,function(){var c;(c=a.Fd)==null||c.call(a)})},!!_.Ln)};dwa=function(a){Wn(a.owner,function(){eo(function(){a.render()})})};VE=function(a){if(a){var b=a.component;if(b){var c;b==null||(c=b.events)==null||c.lb("DISCONNECTED");var d;b==null||(d=b.Uc)==null||d.call(b)}var e,f;(e=a.mm)==null||(f=e.Te)==null||f.call(e);for(b=0;b<a.childNodes.length;b++)VE(a.childNodes[b])}};
ewa=function(a,b){var c,d=(c=b.px)!=null?c:b.config;a.lr&&(d=a.lr(b));_.lB(a.tagName,d,function(e){var f=!1;b.va&&(b.va.value=e);if(!e.component){var h=new a(e,b);f=!0;e.component=h;h.events.lb("CONNECTED")}e.component.ge&&b!==e.component.props&&e.component.ge(b);e.component.props=b;if(e.data!==b.data||b)e.data=b.data||b;f?dwa(e.component):e.component.ta();e.component.events.lb("UPDATED");if(f){var k,l;(l=(k=e.component).Qi)==null||l.call(k)}})};
_.WE=function(a,b){var c;(a==null?0:(c=a.prototype)==null?0:c.render)?ewa(a,b):typeof a==="function"&&a(b)};XE=function(){_.UE.apply(this,arguments);this.name="";this.animation=void 0};_.YE=function(a){_.M("mweb_enable_keto_batch_17_7")?_.U(_.RE)(a):_.WE(XE,a);_.SE(_.M("mweb_enable_keto_batch_17_7_log"))};_.ZE=function(){return _.z(function(a){return a.j==1?_.x(a,_.K().resolve(sA),2):a.return(_.K().resolve(qE)())})};_.$E=function(){return _.Lw(function(){return{lottieEl:void 0}})};
fwa=function(a){var b,c;_.z(function(d){if(d.j==1)return _.x(d,_.ZE(),2);b=d.o;if((c=b)==null||!c.addEventListener)return aF(),d.return();b.addEventListener("onCueRangeEnter",a);_.wa(d)})};gwa=function(a){var b,c;_.z(function(d){if(d.j==1)return _.x(d,_.ZE(),2);b=d.o;if((c=b)==null||!c.removeEventListener)return aF(),d.return();b.removeEventListener("onCueRangeEnter",a);_.wa(d)})};
hwa=function(a){var b,c,d,e,f;_.z(function(h){if(h.j==1)return _.x(h,_.ZE(),2);b=h.o;if((c=b)==null||!c.addCueRange)return aF(),h.return();d=_.u(a.Pl);for(e=d.next();!e.done;e=d.next())f=e.value,b.addCueRange(a.uniqueId+"-"+f,f/1E3,(f+100)/1E3);_.wa(h)})};iwa=function(a){var b,c,d,e,f;_.z(function(h){if(h.j==1)return _.x(h,_.ZE(),2);b=h.o;if((c=b)==null||!c.removeCueRange)return aF(),h.return();d=_.u(a.Pl);for(e=d.next();!e.done;e=d.next())f=e.value,b.removeCueRange(a.uniqueId+"-"+f);_.wa(h)})};
jwa=function(){var a,b,c;return _.z(function(d){if(d.j==1)return _.x(d,_.ZE(),2);a=d.o;if((b=a)==null||!b.getPlayerState)return aF(),d.return();c=a.getPlayerState();return d.return(c===2)})};aF=function(){_.bv(new _.oq("Smartimation player does not exist or is corrupted"))};lwa=function(a){var b=kwa;bF.push(a);cF||(b(function(){for(var c=_.u(bF),d=c.next();!d.done;d=c.next())d=d.value,d();bF.length=0;cF=!1}),cF=!0)};kwa=function(a){Promise.resolve().then(a)};
_.dF=function(a){a=_.u(_.Rw(a));var b=a.next().value,c=a.next().value;return[b,function(d){lwa(function(){c(d)})}]};_.mwa=function(){return Math.floor(Math.random()*4)+1};_.nwa=function(a){a="loading_animation_"+a;return{name:a,path:"https://www.gstatic.com/youtube/img/lottie/playables_loading_animation/"+a+".json",loop:!0,autoplay:!0}};_.owa=function(a){for(var b=_.u(a),c=b.next();!c.done;c=b.next())clearTimeout(c.value);a.length=0};
_.pwa=function(a,b,c,d){a=_.u(Object.entries(a));for(var e=a.next(),f={};!e.done;f={Un:void 0},e=a.next()){var h=_.u(e.value);e=h.next().value;h=h.next().value;f.Un=h;b.push(setTimeout(function(k){return function(){d(!1);c(k.Un.text)}}(f),f.Un.delayMs));Number(e)>0&&b.push(setTimeout(function(){d(!0)},f.Un.delayMs-400))}};
eF=function(a,b){this.j=new Animation(new KeyframeEffect(a,[{offset:0,opacity:.1,easing:"cubic-bezier(0.05, 0.00, 0.00, 1.00)"},{offset:1,opacity:0}],{duration:400}),document.timeline);this.o=new Animation(new KeyframeEffect(b,[{offset:0,opacity:.2,easing:"cubic-bezier(0.20, 0.00, 0.60, 1.00)"},{offset:1,opacity:0}],{duration:400}),document.timeline)};
_.fF=function(a){var b,c=_.Wo(function(){_.Yo(!0);return _.M("wiz_diff_overwritable")&&b&&a()===b[0]()?b:b=_.$o(a())});return[function(){return c()[0]()},function(d){return void c()[1](d)}]};_.gF=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?_.Yo(b.slice(2)):_.Yo()}};
qwa=function(a){switch(a){case 2:return"yt-spec-touch-feedback-shape--touch-response-inverse";case 3:return"yt-spec-touch-feedback-shape--overlay-touch-response";case 4:return"yt-spec-touch-feedback-shape--overlay-touch-response-inverse";default:return"yt-spec-touch-feedback-shape--touch-response"}};
rwa=function(a){switch(a){case 2:return"yt-spec-touch-feedback-shape--touch-response-inverse";case 3:return"yt-spec-touch-feedback-shape--overlay-touch-response";case 4:return"yt-spec-touch-feedback-shape--overlay-touch-response-inverse";default:return"yt-spec-touch-feedback-shape--touch-response"}};
hF=function(){_.UE.apply(this,arguments);var a=this;this.state={Vm:!1};this.B=function(){!a.j&&a.o&&a.G&&typeof Animation==="function"&&(a.j=new eF(a.o,a.G));a.M({Vm:!1});var b;(b=a.j)==null||b.play()};this.A=function(){var b;(b=a.j)==null||b.cancel();a.M({Vm:!0})};this.J=function(){var b;(b=a.j)==null||b.cancel();a.M({Vm:!1})}};_.jF=function(a){_.M("mweb_enable_keto_batch_17_8")?_.U(_.iF)({model:a}):_.WE(hF,{model:a});_.SE(_.M("mweb_enable_keto_batch_17_8_log"))};
_.kF=function(a,b){function c(d){var e={},f;for(f in d){var h=void 0,k=void 0;((h=b)==null?0:(k=h.callbacks)==null?0:k[f])||(e[f]=d[f])}return _.H(_.Vo,null,function(){for(var l in e)d[l]=_.Yo(e[l]);d.WD=!0;return _.H(a,Object.assign({},d))})}_.co(c);return c};swa=function(a){return a.style==="overlay-dark"?4:a.style==="overlay"?a.type==="filled"?4:3:a.type==="filled"||a.style==="call-to-action-inverse"||a.style==="mono-inverse"?2:1};
twa=function(a){switch(a){case "filled":return"yt-spec-button-shape-next--filled";case "outline":return"yt-spec-button-shape-next--outline";case "tonal":return"yt-spec-button-shape-next--tonal";default:return"yt-spec-button-shape-next--text"}};
uwa=function(a){switch(a){case "call-to-action":return"yt-spec-button-shape-next--call-to-action";case "call-to-action-overlay":return"yt-spec-button-shape-next--call-to-action-overlay";case "mono":return"yt-spec-button-shape-next--mono";case "overlay":return"yt-spec-button-shape-next--overlay";case "overlay-dark":return"yt-spec-button-shape-next--overlay-dark";case "call-to-action-inverse":return"yt-spec-button-shape-next--call-to-action-inverse";case "mono-inverse":return"yt-spec-button-shape-next--mono-inverse";
case "brand-gradient":return"yt-spec-button-shape-next--brand-gradient";case "gen-ai-gradient":return"yt-spec-button-shape-next--gen-ai-gradient";default:return"yt-spec-button-shape-next--mono"}};vwa=function(a){switch(a){case "XS":return"yt-spec-button-shape-next--size-xs";case "S":return"yt-spec-button-shape-next--size-s";case "L":return"yt-spec-button-shape-next--size-l";case "XL":return"yt-spec-button-shape-next--size-xl";default:return"yt-spec-button-shape-next--size-m"}};
lF=function(a,b){b=(a.iconPosition==="icon-only"||a.iconPosition==="icon-only-40"||a.iconPosition==="icon-with-label")&&b;return!a.segmentedPosition&&b&&a.size==="S"};mF=function(a){if(!a)return{};var b=a.color,c=a.backgroundColor;a=a.borderColor;var d="";b&&(d+="color: "+b+";");c&&(d+="background-color: "+c+";");a&&(d+="border-color: "+a+";");return{style:d}};
_.oF=function(a){function b(){return n?_.H(_.nF,{vb:n,disabled:k,className:oa,title:I!=null?I:"",style:mF(p).style,ariaPressed:t&&r},_.H(_.F,null,_.H(_.F,null,wwa(c,ca,qa,pa,za,d,e)))):_.H("button",Object.assign({},{"on:click":Aa},Ra),_.H(_.F,null,_.H(_.F,null,wwa(c,ca,qa,pa,za,d,e))))}var c=a.model;var d=a.icon;var e=a.secondaryIcon;var f=c.size;a=c.style;var h=c.focused,k=c.disabled,l=c.onTap,m=c.alignByText,n=c.vb,p=c.customColors,q=c.segmentedPosition,r=c.toggled,t=c.toggleable,w=c.accessibilityLabel,
y=c.onToggle,B=c.iconPosition,A=c.oneOffCustomTextWrap,E=c.Ck,I=c.tooltipText,G=c.state,X=c.type;a==="call-to-action-inverse"&&(X="text");a==="overlay-dark"&&X!=="filled"&&X!=="tonal"&&(X="tonal");var ca=!!d&&B==="leading",pa=!!d&&B==="trailing",qa=!!d&&!!e&&B==="leading-trailing",ja=!!d&&B==="icon-only",Fa=!!d&&B==="icon-only-40";B=!!d&&B==="icon-with-label";var za=ja||Fa||B;k&&(G="disabled");G=G==="disabled"||k;var wb=lF(c,!!d),ka={},oa=_.ME((ka["yt-spec-button-shape-next"]=!0,ka[twa(X)]=!0,ka[uwa(a)]=
!G,ka["yt-spec-button-shape-next--disabled"]=!!G,ka[vwa(f)]=!0,ka["yt-spec-button-shape-next--focused"]=!!h&&!k,ka["yt-spec-button-shape-next--icon-trailing"]=pa,ka["yt-spec-button-shape-next--icon-leading"]=ca,ka["yt-spec-button-shape-next--icon-leading-trailing"]=qa,ka["yt-spec-button-shape-next--icon-button"]=ja||B,ka["yt-spec-button-shape-next--icon-only-default"]=Fa,ka["yt-spec-button-shape-next--align-by-text"]=!!m,ka["yt-spec-button-shape-next--segmented-start"]=q==="start",ka["yt-spec-button-shape-next--segmented-end"]=
q==="end",ka["yt-spec-button-shape-next--override-small-size-icon"]=wb,ka["yt-spec-button-shape-next--one-off-custom-text-wrap-container"]=!!A,ka["yt-spec-button-shape-next--disable-text-ellipsis"]=!!E,ka["yt-spec-button-shape-next--enable-backdrop-filter-experiment"]=_.M("wil_enable_backdrop_filter_experiment"),ka)),Aa=_.P(function(la){l==null||l(la);t&&(y==null||y(la));return!0}),Ra=_.no(function(la){la.append("class",oa);la.append("title",I!=null?I:"");var $a=mF(p);$a.style&&la.append("style",
$a.style);k&&la.append("disabled",k);k&&n&&la.append("style","pointer-events:none");t&&la.append("aria-pressed",!!r);w&&la.append("aria-label",w)});f={};a=(f["yt-spec-button-shape-with-label"]=!0,f["yt-spec-button-shape-with-label--is-overlay"]=a==="overlay"||a==="overlay-dark",f);return _.H("yt-button-shape",{class:"yt-spec-button-shape-next__button-shape-class"},B?_.H("label",{class:_.ME(a)},b(),_.H("div",{class:"yt-spec-button-shape-with-label__label","aria-hidden":!0},xwa(c))):b())};
xwa=function(a){var b=a.rg,c=a.buttonText,d=a.oneOffCustomTextWrap,e=a.iconPosition==="icon-with-label"||d,f={lineBreakMode:"LINE_BREAK_MODE_BY_WORD_WRAPPING",textAlignment:"TEXT_ALIGNMENT_CENTER"};return _.H(_.F,null,_.Km(b,function(){return _.H(_.Oo,null,function(){b==null||b(e?f:{})})}),_.Km(c,function(){return _.H(_.F,null,c)}))};
wwa=function(a,b,c,d,e,f,h){return _.H(_.F,null,_.Km(f&&(b||c||e),function(){return _.H(_.F,null,_.H("div",{class:"yt-spec-button-shape-next__icon","aria-hidden":"true"},f==null?void 0:f()))}),_.Km((a.buttonText||a.rg)&&!e,function(){return _.H(_.F,null,_.H("div",{class:"yt-spec-button-shape-next__button-text-content"},xwa(a)))}),_.Km(d,function(){return _.H(_.F,null,_.H("div",{class:"yt-spec-button-shape-next__icon"},f==null?void 0:f()))}),_.Km(c,function(){return _.H(_.F,null,_.H("div",{class:"yt-spec-button-shape-next__secondary-icon"},
h==null?void 0:h()))}),_.Km(!a.disabled&&!0,function(){return _.H(_.Oo,null,function(){_.jF({color:swa(a)})})}))};_.pF=function(a,b){switch(a.size){case "XS":return 16;case "S":return lF(a,b)?24:16;default:return 24}};
ywa=function(a,b,c){function d(){Hc(Object.assign({},{className:_.ME(lb),onclick:t?void 0:f,disabled:n,style:n&&t?"pointer-events:none":void 0,"aria-pressed$":E?!!A:void 0,"aria-label$":I,title$:qa!=null?qa:""},t,mF(w)),function(){e()})}function e(){b&&(za||ka||la)&&function(){(0,_.S)({className:"yt-spec-button-shape-next__icon","aria-hidden$":!0},function(){b()})}();!p&&!y||la||function(){(0,_.S)({className:"yt-spec-button-shape-next__button-text-content"},function(){h()})}();wb&&function(){(0,_.S)({className:"yt-spec-button-shape-next__icon"},
function(){b()})}();ka&&function(){(0,_.S)({className:"yt-spec-button-shape-next__secondary-icon"},function(){c()})}();n||_.jF({color:swa(a)})}function f(Zc){q==null||q(Zc);E&&(G==null||G(Zc))}function h(){if(y){var Zc={lineBreakMode:"LINE_BREAK_MODE_BY_WORD_WRAPPING",textAlignment:"TEXT_ALIGNMENT_CENTER"};y(X==="icon-with-label"||ca?Zc:{})}else p&&_.En(p)}var k=a.style,l=a.size,m=a.focused,n=a.disabled,p=a.buttonText,q=a.onTap,r=a.alignByText,t=a.vb,w=a.customColors,y=a.rg,B=a.segmentedPosition,
A=a.toggled,E=a.toggleable,I=a.accessibilityLabel,G=a.onToggle,X=a.iconPosition,ca=a.oneOffCustomTextWrap,pa=a.Ck,qa=a.tooltipText,ja=a.state,Fa=a.type;k==="call-to-action-inverse"&&(Fa="text");k==="overlay-dark"&&Fa!=="filled"&&Fa!=="tonal"&&(Fa="tonal");var za=!!b&&X==="leading",wb=!!b&&X==="trailing",ka=!!b&&!!c&&X==="leading-trailing",oa=!!b&&X==="icon-only",Aa=!!b&&X==="icon-only-40",Ra=!!b&&X==="icon-with-label",la=oa||Aa||Ra;n&&(ja="disabled");ja=ja==="disabled"||n;var $a=lF(a,!!b),jb={},lb=
(jb["yt-spec-button-shape-next"]=!0,jb[twa(Fa)]=!0,jb[uwa(k)]=!ja,jb["yt-spec-button-shape-next--disabled"]=!!ja,jb[vwa(l)]=!0,jb["yt-spec-button-shape-next--focused"]=!!m&&!n,jb["yt-spec-button-shape-next--icon-trailing"]=wb,jb["yt-spec-button-shape-next--icon-leading"]=za,jb["yt-spec-button-shape-next--icon-leading-trailing"]=ka,jb["yt-spec-button-shape-next--icon-button"]=oa||Ra,jb["yt-spec-button-shape-next--icon-only-default"]=Aa,jb["yt-spec-button-shape-next--align-by-text"]=!!r,jb["yt-spec-button-shape-next--segmented-start"]=
B==="start",jb["yt-spec-button-shape-next--segmented-end"]=B==="end",jb["yt-spec-button-shape-next--override-small-size-icon"]=$a,jb["yt-spec-button-shape-next--one-off-custom-text-wrap-container"]=!!ca,jb["yt-spec-button-shape-next--disable-text-ellipsis"]=!!pa,jb["yt-spec-button-shape-next--enable-backdrop-filter-experiment"]=_.M("wil_enable_backdrop_filter_experiment"),jb),Hc=t?_.qF:_.rF;Ra?(l={},k=(l["yt-spec-button-shape-with-label"]=!0,l["yt-spec-button-shape-with-label--is-overlay"]=k==="overlay"||
k==="overlay-dark",l),sF({className:_.ME(k)},function(){d();(0,_.S)({"aria-hidden$":!0,className:"yt-spec-button-shape-with-label__label"},h)})):d()};_.tF=function(a,b,c){_.M("mweb_enable_keto_batch_b1")?_.U(_.oF)({model:a,icon:b?function(){return _.dC(b)}:void 0,secondaryIcon:c?function(){return _.dC(c)}:void 0}):ywa(a,b,c);_.SE(_.M("mweb_enable_keto_batch_b1_log"))};uF=function(a){return!isNaN(Number(a))&&!_.xb(a)};
Cwa=function(a){var b=_.Ow(),c=_.Pw(),d=uF(a.Pe)||uF(a.Cj);_.Iw(function(){if(a.qj){var e;(e=c.value)==null||e.cancel();d?(e=a.Cj?Number(a.Cj)+10:a.Xf?0:30,a.eb||(e-=zwa(a,e))):(e=a.Xf?0:2,a.eb||(e-=a.Xf?-1:1));b.value.style.marginTop="-"+e*a.qj+"px";a.eb?c.value=Awa(b.value,a,e,d):b.value.style.display=a.Pe?"":"none"}},[a.Pe,a.qj]);return _.H("animated-rolling-character",{el:b,class:"animated-rolling-character-wiz"},_.Km(d,function(){for(var e=[],f=1;f<30;f++)e.push(_.H("div",null,f%10));return _.H(_.F,
null,_.H("div",null,"\u00a0"),e,_.H("div",null,"\u00a0"))},function(){return Bwa(a.Pe)}))};Bwa=function(a){return _.H(_.F,null,_.H("div",null,"\u00a0"),_.H(_.F,null,_.Km(!a||_.xb(a),function(){return _.H("div",null,"\u00a0")},function(){return _.H("div",null,a)})),_.H("div",null,"\u00a0"))};
Awa=function(a,b,c,d){c=new Animation(new KeyframeEffect(a,[{transform:"translateY(0px)"},{transform:"translateY("+(d?zwa(b,c):b.Xf?-1:1)*b.qj+"px)"}],Dwa),document.timeline);b.Pe?(a.style.display="",c.onfinish=null):c.onfinish=function(){a.style.display="none"};c.play();return c};zwa=function(a,b){var c=Number(a.Pe)+10;if(a.Cj)if(a.Pe){var d=Number(a.Pe),e=Number(a.Cj);a=a.Xf?e<d?c:c+10:e<d?c-10:c}else a=a.Xf?30:0;else a=a.Pe==="0"?c:a.Xf?c-10:c+10;return b-a};
Fwa=function(a){var b=_.Pw(),c=_.Pw();_.Iw(function(){b.value=a.Dd;c.value=a.numberValue},[a.Dd]);var d=a.er?a.heightPx*a.er:a.heightPx,e=_.Kw(function(){if(a.Dd){var h=a.Dd;var k=a.VP||!c.value||!a.numberValue||c.value<a.numberValue;var l=!!a.eb,m=b.value,n=[],p=0,q=0,r=(m?m.replace(/\D/g,"").length:0)-(h?h.replace(/\D/g,"").length:0);m=m?Ewa(m):[];for(h=Ewa(h);r<0;){var t=h[q];n.push({Pe:t,Xf:k,qj:d,eb:l});q++;uF(t)&&r++}for(;p<r;)t=m[p],n.push({Cj:t,Xf:k,qj:d,eb:l}),p++,uF(t)||r++;for(;q<h.length;)r=
h[q],t=m[p],uF(r)===uF(t)?(q++,p++):uF(r)?(p++,r=void 0):uF(t)&&(q++,t=void 0),n.push({Pe:r,Cj:t,Xf:k,qj:d,eb:l});k=n}else k=[];return k},[a.Dd]),f=["height: "+d+"px;","line-height: "+a.heightPx+"px;"].join(" ");return _.H("yt-animated-rolling-number",{class:"animated-rolling-number-wiz",style:f,dir:"ltr","aria-hidden":"true"},e.map(function(h){return _.H(Cwa,Object.assign({},h))}))};Ewa=function(a){return _.M("web_fix_dynamic_metadata_diacritic")?a.split(/(\d)/).filter(Boolean):[].concat(_.ma(a))};
_.vF=function(a,b){BC(a,Object.assign({},b,{fn:!0}))};
wF=function(a,b,c,d,e){var f=Gwa(a.type);var h=!!a.title||!!a.titleFormatted;var k=!(!a.iconName&&!a.iconImage);h=k&&!h?"icon-only":k?a.iconTrailing?"trailing":"leading":void 0;h==="icon-only-40"&&(f="text");var l,m=(l=c==null?void 0:c.disabled)!=null?l:a.state==="BUTTON_VIEW_MODEL_STATE_DISABLED"||a.state==="BUTTON_VIEW_MODEL_STATE_INACTIVE";l=Object;k=l.assign;var n=a.title;d=Hwa(a,d);var p=a.accessibilityText,q=Iwa(a.style),r=Jwa(a.state),t=Kwa(a.buttonSize);b=Lwa(a,b,e,m);e=m&&!a.onDisabledTap;
m=_.CC({elementsCommand:a.onTap,ib:!0});m=EC(m)?m:void 0;var w=a.customFontColor;var y=a.customBackgroundColor,B=a.customBorderColor;w={color:w?_.eA(w):void 0,backgroundColor:y?_.eA(y):void 0,borderColor:B?_.eA(B):void 0};return k.call(l,{},{buttonText:n,rg:d,accessibilityLabel:p,style:q,type:f,state:r,size:t,iconPosition:h,onTap:b,disabled:e,vb:m,customColors:w,tooltipText:a.tooltip},c)};Hwa=function(a,b){if(b&&(b=Mwa(b)))return b;var c=a.titleFormatted;if(c)return function(){_.xD(c,{pb:!0,noWrap:!0})}};
Mwa=function(a){if(a.Dd&&!isNaN(Number(a.numberValue)))return function(){_.U(Fwa)(a)}};Lwa=function(a,b,c,d){return function(){var e=_.oC(d?a==null?void 0:a.onDisabledTap:a==null?void 0:a.onTap);if(e){var f;b=(f=b)!=null?f:c==null?void 0:c.value;e&&(f={YK:a},_.vF(e,{form:{currentData:f,sourceData:f}}))}}};
Iwa=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";default:return"mono"}};
Gwa=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"}};Jwa=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"}};
Kwa=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"}};_.xF=function(a,b){var c={rq:void 0};a.events.subscribe("CONNECTED",function(){var d;c.rq=(d=b())!=null?d:void 0});a.events.subscribe("DISCONNECTED",function(){var d;(d=c.rq)==null||d.call(c)})};
Nwa=function(a){(0,_.TE)(a,function(){a.mm.render(a.sv,a.IC)})};Owa=function(a,b,c,d){var e=a.sv;b=a.mm||b(a,function(){Nwa(a)},c);var f=b.render,h=b.ge===void 0?function(){}:b.ge,k=b.Bf===void 0?function(){}:b.Bf;e&&h(e,c);f(c,d);k(e,c);a.mm=b;a.sv=c;a.IC=d};_.yF=function(a,b){var c=mB(a);return function(d,e){c(e,function(f){Owa(f,b,d,e)})}};
_.AF=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?_.pB:d;c&&(c=Pwa(c));if(_.M("enable_inline_veids")&&a.hasOwnProperty("trackingParams")){c||(c={});var e=Xu(Vu(a.trackingParams));e&&(c["ve-id$"]=e)}(e=a._replacingContent)?e(c):_.lB(b,c,function(f){f.data=a;d(f);_.zF(f,a)})};_.zF=function(a,b){var c=c===void 0?_.pB:c;_.M("mweb_fix_monitor_visibility_after_render")?a&&_.oB(function(){_.uD(a,b,c)}):_.oB(function(){_.uD(a,b,c)})};_.BF=function(a){return a&&(a.data||_.BF(a.parentNode))};
Pwa=function(a){a["aria-hidden$"]!==!1&&a["aria-hidden$"]!=="false"||delete a["aria-hidden$"];return a};_.CF=function(a,b){a._replacingContent=b};_.DF=function(a,b){_.xF(a,function(){_.zF(a.sa,b)})};FF=function(){_.UE.apply(this,arguments);var a=this;_.DF(this,this.props.data);this.state={focused:!1};this.j=function(){var b=_.K().resolve(_.mp(_.EF));b&&a.M({focused:b.Kh()})};this.o=function(){a.M({focused:!1})};_.xF(this,function(){var b=_.N(a.props.data.onVisible,_.mC);b&&BC(b,{Eq:!0})})};
_.HF=function(a,b){_.M("mweb_enable_keto_batch_button_view_model")?_.U(_.GF)({data:a,className:b==null?void 0:b.className,style:b==null?void 0:b.style,useOutlinedIcon:b==null?void 0:b.useOutlinedIcon,buttonOverrides:b==null?void 0:b.buttonOverrides,oh:b==null?void 0:b.oh,onClick:b==null?void 0:b.onclick}):_.WE(FF,{data:a,config:b});_.SE(_.M("mweb_enable_keto_batch_button_view_model_log"))};IF=function(){return _.K().resolve(_.mp(Qwa))||{}};
JF=function(a){var b=_.u(_.$o(!0)),c=b.next().value;b=b.next().value;return Rwa(b,function(){var d=a.children();return _.H(_.O,{C:c,ia:a.fallback},function(){return d})})};Rwa=function(a,b){var c=KF,d=0;KF={VC:function(){d++;a(!1)},nI:function(){--d===0&&a(!0)}};try{return b()}finally{KF=c}};
Swa=function(a,b){function c(l){if(k)return _.H(k,Object.assign({},l));if(!h){h=!0;var m=KF;m==null||m.VC();a().then(function(n){k=(b==null?0:b.ih)?_.kF(n,b.options):n;f(!0);m==null||m.nI()})}return _.H(_.O,{C:e},function(){return _.H(k,Object.assign({},l))})}var d=_.u(_.$o(!1)),e=d.next().value,f=d.next().value,h=!1,k;_.co(c);return c};
LF=function(a,b){var c=Twa.get(a);c||(c=Swa(function(){return _.K().resolve(Uwa)(a)},b==null?void 0:b.gh),Twa.set(a,c));if(b==null?0:b.fallback){var d=function(e){return _.H(JF,{fallback:b.fallback},function(){return c(e)})};_.co(d);return d}return c};MF=function(a){return typeof a==="function"};Vwa=function(a,b){var c,d=(c=IF().iz)==null?void 0:c.bI;return d?d(a,b):b};Wwa=function(a){return a?Array.isArray(a)?a:[a]:[]};Xwa=function(a){return a};
_.NF=function(a){function b(){var e=Vwa(a.mapping,Wwa(_.Yo(a.data))),f=[];e=_.u(e);for(var h=e.next();!h.done;h=e.next()){var k=void 0;h=h.value;var l=void 0;for(k in h)if(h.hasOwnProperty(k)){l=k;break}(k=l)&&f.push(k)}return f}var c=a.wrapper||Xwa,d=_.M("wiz_memoize_stamper_items")?_.Wo:Xwa;return _.H(JF,{fallback:a.JR},function(){return _.H(_.zw,{each:b},function(e,f){var h=d(function(){return Vwa(a.mapping,Wwa(_.Yo(a.data)))[f()][e]}),k=a.mapping[e];if(!k)return document.createComment("");var l,
m=(l=a.Y)==null?void 0:l[e];typeof m==="function"&&(m=m(h,f));return c(_.H(k,Object.assign({},{data:h},m)),h,f)})})};
$wa=function(a){function b(){var ja={};return _.ME("mini-app-score-button-view-model-wiz",(ja["mini-app-score-button-view-model-wiz--is-visible"]=I!==0,ja))}function c(){E(!1)}function d(){var ja=_.K().resolve(_.mp(_.EF));ja&&E(ja.Kh())}var e=a.data;var f=a.score;var h=a.eb;var k=a.Ff;var l=a.yk;var m=a.Uh;var n=a.isEmbeddedInWebview;var p=_.Ow();a=Number(e==null?void 0:e.lastScore)||0;var q=a.toString();if(e&&e.buttonViewModel){var r=_.N(e.buttonViewModel,_.OF);q=r.title}if(_.M("enable_mini_app_wiz_migration")){if(h=
(new URLSearchParams(_.sB().search)).get("deviceTextZoomSetting"))l=Number(h),l=isNaN(l)?1:l/100;h=!!f}var t,w=PF()?Ywa(_.oC((t=r)==null?void 0:t.onTap)):void 0,y=_.Pw(a),B=_.Pw(q);t=_.u(_.Rw(!1));var A=t.next().value,E=t.next().value,I=a,G=q;f&&k&&(I=Math.max(f,y.value),G=B.value,f===I&&(G=k));m==null||m(I);w&&(w.score=G);var X=_.P(function(){var ja;(e==null?0:(ja=e.loggingDirectives)==null?0:ja.trackingParams)&&sw(_.K().resolve(QF),e.loggingDirectives.trackingParams)});_.Jw(function(){if(p.value){p.value.addEventListener("focusin",
d);p.value.addEventListener("focusout",c);var ja=p.value.querySelector("button");ja&&r&&_.zF(ja,r);var Fa=function(){Zwa({highScore:y.value.toString(),command:e==null?void 0:e.onShareHighScoreCommand,Zy:e==null?void 0:e.highScoreShareClientParamIdentifier,isEmbeddedInWebview:n})};PF()&&window.addEventListener("yt-share-playable-with-high-score",Fa);return function(){p.value&&(window.removeEventListener("yt-share-playable-with-high-score",Fa),p.value.removeEventListener("focusin",d),p.value.removeEventListener("focusout",
c))}}});_.Iw(function(){y.value=I;B.value=G},[I,G]);var ca=wF(r,p.value,{iconPosition:"leading"},{numberValue:I,Dd:G,heightPx:36,er:l,eb:h});ca.focused=A;var pa;ca.accessibilityLabel=(pa=ca.accessibilityLabel)==null?void 0:pa.replace(B.value,G);var qa=_.K().resolve(_.fC);return _.H("div",null,_.Km(r,function(){return _.H("yt-mini-app-score-button-view-model",{class:b(),el:p,"on:click":X},_.Km(!1,function(){return _.H("span",{style:"display:none;"},I)}),_.H(_.Oo,null,function(){_.tF(ca,function(){qa(r.iconName||
null)})}))}))};Ywa=function(a){if(a){a=_.N(a,_.RF);var b,c,d;return _.N(a==null?void 0:(b=a.panelLoadingStrategy)==null?void 0:(c=b.inlineContent)==null?void 0:(d=c.sheetViewModel)==null?void 0:d.content,axa)}};Zwa=function(a){var b=a.highScore;var c=a.command;var d=a.Zy;c&&(a.isEmbeddedInWebview?(a=new _.kz,b=_.rf(a,2,b),_.EE(c,b.j())):d&&(_.K().resolve(_.SF).clientParams.set(d,{miniAppClientParams:{highScore:b}}),_.CE(c,!1)))};PF=function(){return _.M("enable_score_challenge")};
bxa=function(a,b){var c=_.TF().getState();return b?a.apply(null,[c].concat(_.ma(b))):a(c)};cxa=function(){if(UF)return UF;var a=_.u(_.$o(0)),b=a.next().value,c=a.next().value;_.TF().subscribe(function(){c(Rha(function(d){return d+1}))});return UF=b};_.TF=function(){return VF.DE()};WF=function(a,b){return VF.KE()(a,b)};_.XF=function(a){VF.GE()(a)};_.YF=function(a){var b=cxa();return _.Wo(function(){b();return WF(a)})};
dxa=function(){if(!ZF){var a=_.TF(),b=_.u(_.$o(a.getState())),c=b.next().value,d=b.next().value;a.subscribe(function(){return void d(a.getState())});ZF=c}return ZF()};exa=function(a){return _.Wo(function(){return a(dxa())})};
$F=function(){_.UE.apply(this,arguments);var a=this;_.DF(this,this.props.data);var b,c;this.state={isToggled:(c=(b=this.props.qh)==null?void 0:b.toggled)!=null?c:this.props.data.isToggled,eb:!1,focused:!1,Lr:!1};this.j=function(d){return _.N(d,_.OF)};this.onToggle=function(){var d=a.props.data.isTogglingDisabled||a.state.Lr?a.state.isToggled:!a.state.isToggled;a.M({isToggled:d,eb:!1});a.props.data.isToggled=d;if(!a.props.data.isTogglingDisabled){var e,f;(e=a.props.config)==null||(f=e.onToggle)==null||
f.call(e,!!a.state.isToggled)}a.props.Bk||sw(_.K().resolve(QF),a.props.data.trackingParams);a.state.isToggled&&a.props.data.defaultButtonViewModel?(d=a.j(a.props.data.defaultButtonViewModel))&&!a.props.Bk&&sw(_.K().resolve(QF),d.trackingParams):a.props.data.toggledButtonViewModel&&(d=a.j(a.props.data.toggledButtonViewModel))&&!a.props.Bk&&sw(_.K().resolve(QF),d.trackingParams)};this.o=function(){var d=_.K().resolve(_.mp(_.EF));d&&a.M({focused:d.Kh()})};this.A=function(){a.M({focused:!1})}};
fxa=function(a){var b=a.props.data,c=b.entityKey,d=b.toggledStateEntitySelectorType,e=exa(function(f){a:{if(d&&c)switch(d){case "TOGGLE_BUTTON_ENTITY_SELECTOR_TYPE_SFV_AUDIO_ITEM":var h,k;var l=(k=_.GA(f.entities,"sfvAudioItemCurrentlyPlayingEntity",c))!=null?k:void 0;l=(h=l==null?void 0:l.sfvAudioItemPlaybackState)!=null?h:void 0;if(l==="SFV_AUDIO_ITEM_PLAYBACK_STATE_PLAYING"){f={isToggled:!0};break a}if(l){f={isToggled:!1};break a}_.av(new _.oq("Error: entityKey defined but not found in entity store.",
f,c,d));break;default:_.av(new _.oq("Error: entitySelectorType defined but not matched in selector.",f,d))}f=void 0}return f});_.Xo(function(){function f(){var h;return(h=e())==null?void 0:h.isToggled}f()!==void 0&&a.state.Lr===!1&&a.M({Lr:!0});f()!==void 0&&f()!==a.state.isToggled&&a.M({isToggled:f()})})};_.aG=function(a,b,c,d,e,f){_.WE($F,{data:a,config:b,qh:c,Bi:d,bq:e,Bk:f})};gxa=function(a,b){return a.reduceRight(function(c,d){return c||b(d)},null)||null};
bG=function(a,b){if(b(a))return[a];if(a===null||typeof a!=="object")return null;for(var c=_.u(Mh(a)),d=c.next();!d.done;d=c.next())if(d=d.value)if(d=bG(d,b))return[a].concat(_.ma(d));return null};hxa=function(a,b){return bG(a,function(c){return c===b})};ixa=function(a,b,c){return bG(a,function(d){return d[b]===c})};_.cG=function(a,b,c){a=hxa(a,b)||[];return gxa(a,c)};_.dG=function(a,b,c){a=ixa(a,b,c)||[];return a[a.length-1]};
_.eG=function(a,b){a=bG(a,function(c){return!!c[b]})||[{}];return a[a.length-1][b]};hG=function(a){return _.fG.includes(a)||_.gG.includes(a)||_.jxa.includes(a)};_.iG=function(){this.G=0;this.A=new _.gs;this.o=new Map;this.j=new Map};kxa=function(){_.iG.apply(this,arguments);this.B=new Map};lxa=function(a){var b=_.jG.B.get(a);if(!b)return a;if(!b.hide){var c,d;return(d=(c=b.replacement)==null?void 0:c.data)!=null?d:b.cf}};
nxa=function(a,b,c,d){a=a[b];b=_.u(Object.keys(a));for(var e=b.next();!e.done;e=b.next())hG(e.value)&&!d.has(a)&&(_.jG.subscribe(a,function(f){if(f.replacement){var h;f=_.u(Object.entries((h=f.replacement)==null?void 0:h.qI));for(h=f.next();!h.done;h=f.next()){var k=_.u(h.value);h=k.next().value;k=k.next().value;c[h]||(c[h]=k)}}_.iB()}),d.add(a),mxa(d,a));return lxa(a)};mxa=function(a,b){if(a.has(b)){var c=ln;c&&(oxa(),pxa(c,a,b))}};
oxa=function(){var a=window.MutationObserver;a&&!kG&&(kG=new a(function(b){b=_.u(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.type==="childList"&&c.removedNodes.length){for(var d=0;d<c.removedNodes.length;d++)qxa(c.removedNodes[d]);rxa()}}),kG.observe(document.body,{childList:!0,subtree:!0}))};qxa=function(a){if(a.childNodes)for(var b=0;b<a.childNodes.length;b++)qxa(a.childNodes[b]);(b=lG.get(a))&&!hxa(_.zB,b[0])&&(mG.push.apply(mG,_.ma(b[1])),lG.delete(a))};
rxa=function(){nG!==void 0&&(_.xr.Ma(nG),nG=void 0);nG=_.tq(0,function(){if(mG.length)for(;mG.length;){var a=mG.pop();a&&a()}},100)};pxa=function(a,b,c){function d(){var f=_.jG,h=f.j.get(c);if(h&&h.length>0){for(var k=0,l=0;l<h.length;l++)f.unsubscribe(h[l])&&k++;f.o.delete(c);f.j.delete(c)}b.delete(c)}var e=lG.get(a);e&&e[1]?e[1].push(d):lG.set(a,[c,[d]])};
_.oG=function(a){var b=new Set;return function(c,d){if(c){c=Array.isArray(c)?c:[c];for(var e=0;e<c.length;e++){var f=c[e];_.M("mweb_enable_replaceable_actions")&&f&&(f=nxa(c,e,a,b));if(f)for(var h=d,k=_.u(Object.keys(f)),l=k.next();!l.done;l=k.next()){var m=l.value;l=a[m]||_.pB;(m=f[m])&&l(m,h)}}}}};
_.pG=function(a){function b(l,m){var n=a(l,m);if(a.xl){var p=c(a.xl,a);p!=null&&p.then?d=p:n=p(l,m);delete a.xl}return n}var c=IF().dD,d;b.mapping=a.mapping;var e=_.u(_.dF(!1)),f=e.next().value,h=e.next().value,k=!1;_.Gw(function(){d&&d!=null&&d.then&&d.then(function(){k||h(!f)});return function(){k=!0}});return b};
_.V=function(a){function b(c,d){var e=b.mapping||a;if(!c)return _.H(_.F,null);if(Array.isArray(c)&&(c=sxa(e,b,c),Array.isArray(c))){if(!c.length)return _.H(_.F,null);if(c.length>1){for(var f=!1,h=!1,k=[],l={},m=0;m<c.length;l={Om:void 0},m++)if(l.Om=c[m],l.Om){var n=txa(l.Om,e),p=n.ns;n=n.rendererName;p&&n&&(p&&(!MF(p)&&(p.iA||IF().tw)&&(h=!0),!MF(p)&&p.Mb||(f=!0)),k.push(uxa(l.Om,p,n,b,d)))}return h&&!f?_.H(_.F,null,vxa()):_.H(_.F,null,k)}c=c[0]}if(!c)return _.H(_.F,null);c=sxa(e,b,[c])[0];if(!c)return _.H(_.F,
null);f=txa(c,e);e=f.ns;f=f.rendererName;return e&&f?_.H(_.F,null,uxa(c,e,f,b,d)):_.H(_.F,null)}Object.keys(a);b.mapping=a;return b};_.qG=function(a){var b=void 0,c;for(c in a)if(a.hasOwnProperty(c)){b=c;break}return b};sxa=function(a,b,c){var d,e=(d=IF().iz)==null?void 0:d.rF;if(!e)return c;IF();return e.cI(a,c,b.XJ)};txa=function(a,b){return(a=_.qG(a))?{ns:b[a],rendererName:a}:{ns:void 0,rendererName:void 0}};
uxa=function(a,b,c,d,e){if(!b)return _.H(_.F,null);var f={};e&&e[c]&&(f=Object.assign({},e[c]));a[c]!==void 0&&(f.data=a[c]);if(MF(b))return _.H(b,f);b.Mb&&(d.xl=d.xl||{},d.xl[c]=b.Mb);return b.Lj?b.Lj(f):b.iA||IF().tw?vxa():_.H(_.F,null)};vxa=function(){var a=IF().placeholder;return a()};wxa=function(a){return a&&a.length<150};
xxa=function(a){if(a)return _.H(_.F,null,_.H("div",{class:"mini-app-game-info-dialog-view-model-wiz__primary-game-info-details"},_.H("div",{class:"mini-app-game-info-dialog-view-model-wiz__game-image-wrapper"},_.Km(a.image&&a.title,function(){return _.H(_.Oo,null,function(){_.rD(a.image,{contentMode:"CONTENT_MODE_SCALE_ASPECT_FILL",alt:a.title})})})),_.H("div",{class:"mini-app-game-info-dialog-view-model-wiz__primary-game-info"},a.title&&_.H("h3",{class:"mini-app-game-info-dialog-view-model-wiz__title"},
a.title),a.primaryGenre&&_.H("span",{class:"mini-app-game-info-dialog-view-model-wiz__genre"},a.primaryGenre))),_.Km(wxa(a.description),function(){return _.H("div",{class:"mini-app-game-info-dialog-view-model-wiz__game-description-wrapper"},_.H("span",{class:"mini-app-game-info-dialog-view-model-wiz__game-description"},a.description))}))};
yxa=function(a){if(a&&a.infoRow)return _.H("div",{class:"mini-app-game-info-dialog-view-model-wiz__game-info-rows-wrapper"},a.infoRow.map(function(b){return _.H("div",{class:"mini-app-game-info-dialog-view-model-wiz__game-info-row"},b.label&&_.H("span",{class:"mini-app-game-info-dialog-view-model-wiz__info-label"},b.label),b.attributedLabel&&_.H("span",{class:"mini-app-game-info-dialog-view-model-wiz__info-label"},_.zD(b.attributedLabel,{Sb:!0})),b.value&&_.H("span",{class:"mini-app-game-info-dialog-view-model-wiz__info-value"},
b.value),b.attributedValue&&_.H("span",{class:"mini-app-game-info-dialog-view-model-wiz__info-value"},_.zD(b.attributedValue,{Sb:!0})))}))};
Axa=function(a){a=a.data;if(a){var b=a.dialogTitle;b=_.H("div",{class:"mini-app-game-info-dialog-view-model-wiz__game-info-dialog-header"},a.dialogTitle&&_.H("h2",{class:"mini-app-game-info-dialog-view-model-wiz__header-title"},b))}else b=void 0;var c=xxa(a),d=yxa(a);if(a){var e=a.closeButton;a=_.H("div",{class:"mini-app-game-info-dialog-view-model-wiz__game-info-dialog-footer"},a.closeButton&&_.H("div",null,zxa(e)))}else a=void 0;return _.H("yt-mini-app-game-info-dialog-view-model",{class:"mini-app-game-info-dialog-view-model-wiz"},
b,c,d,a)};Bxa=function(){var a,b;return(b=(a=_.K().resolve(_.mp(_.LC)))==null?void 0:a())!=null?b:!1};_.rG=function(a,b){return _.GA(a.entities,"markersEngagementPanelSyncEntity",b)};sG=function(a){this.ic=!1;this.o=this.j=null;this.history=a;this.j=a.pushState.bind(a);this.o=a.replaceState.bind(a)};Dxa=function(){if(!_.M("mweb_localized_cc_icon")&&!_.M("web_localized_cc_icon"))return"CLOSED_CAPTION";var a=_.iq().get("hl");return Cxa.includes(a)?"CLOSED_CAPTION":"SUBTITLES"};
Exa=function(a,b){return{Ge:a,Ey:function(){var c=document.querySelector(".video-preview");c&&c.dispatchEvent(new CustomEvent("yt-load-video-preview",{detail:b}))},Dy:function(){var c=document.querySelector(".video-preview");c&&c.dispatchEvent(new CustomEvent("yt-end-video-preview"))}}};
_.vG=function(a,b){function c(){var e=b();return d&&e?Exa(a.value,e):null}var d=_.K().resolve(_.mp(tG));_.Xo(function(){var e=c();d&&e&&Promise.resolve().then(function(){d.registerElement(e)});_.Mn(function(){d&&e&&Promise.resolve().then(function(){uG(d,e)})})})};Fxa=function(a){var b=a.enabled;var c=a.vG;var d=a.Zt;var e=a.AD;a=a.options;var f=c(),h=a();b&&f&&e&&h&&_.vG(e,function(){var k,l=(k=d())==null?void 0:k.value;return l?{Wk:{data:f,Va:l,options:h,me:!0}}:null})};
_.wG=function(){_.iq();return _.jq(0,192)?_.jq(0,190):!(_.M("web_watch_cinematics_disabled_by_default")||_.M("web_watch_cinematics_preferred_reduced_motion_default_disabled")&&Gxa())};
_.xG=function(a,b,c){var d={};d.currentUrl=b;d.vis=a.vis!==void 0?a.vis:0;d.splay=!1;_.iq();d.autoCaptionsDefaultOn=_.jq(0,66);d.autonavState=_.jq(0,141)?_.jq(0,140)?"STATE_OFF":"STATE_ON":"STATE_NONE";d.html5Preference="HTML5_PREF_WANTS";isNaN(_.L("STS"))||(d.signatureTimestamp=_.L("STS"));a.autonav&&(d.autoplay=!0,d.autonav=!0);a.mutedAutoplay&&(d.autoplay=!0,d.mutedAutoplay=!0);a.inlinePlayback&&(d.autoplay=!0,d.autonav=!1,d.isInlineUnmutedPlayback=!!a.inlineUnmuted);d.referer=c;d.lactMilliseconds=
a.lact!==void 0?a.lact.toString():"-1";_.M("enable_unknown_lact_fix_on_html5")&&d.lactMilliseconds==="-1"&&_.bv(new _.oq("Unknown LACT is set in playbackContext.",{"lact in tempData":a.lact||"undefined",autonav:a.autonav||"undefined"}));a={};_.jq(0,194)&&(a.hasShownAmbientMode=!0);_.jq(0,192)&&(a.hasToggledOffAmbientMode=!0);_.wG()&&(a.watchAmbientModeEnabled=!0);d.watchAmbientModeContext=a;return d};
Kxa=function(a,b,c){c=c===void 0?{}:c;var d,e;return _.z(function(f){if(d=Hxa(b))return f.return(d);(e=Ixa(a,b,c))&&Jxa(b,e);return f.return(e)})};Jxa=function(a,b){var c=Lxa(a);c&&b.then(function(d){_.K().resolve(_.yG).put(c,new _.ZA({innertubeResponse:d}))})};Hxa=function(a){if(a=Lxa(a)){var b=_.K().resolve(_.yG);if(b.has(a))return b.get(a).then(function(c){return c==null?void 0:_.$A(c)})}return null};
Lxa=function(a){var b=_.N(a.endpoint,_.fw);if(b!=null&&b.videoId)return b={videoId:b.videoId},_.M("web_imp_player_mute_params")&&(b.mutedAtStart=a.Tt),_.Zz("inline_playback",b)};Ixa=function(a,b,c){a=a.yd(b.endpoint,Mxa(b,c)).then(function(d){return d});return Promise.resolve(a)};
Mxa=function(a,b){b=_.M("web_imp_player_mute_params")?Object.assign({},{vis:5,inlinePlayback:!0,inlineUnmuted:!a.Tt},b):Object.assign({},{vis:5,autonav:"1"},b);var c;b={contentPlaybackContext:_.xG(b,(c=_.N(a.endpoint.commandMetadata,_.ew))==null?void 0:c.url,window.location.href)};_.M("web_imp_player_mute_params")&&(b.overrideMutedAtStart=!a.Tt);return b};
Nxa=function(a,b){b=_.N(b.inlinePlaybackEndpoint,_.fw);(b==null?void 0:b.startTimeSeconds)!==void 0&&(a.playerConfig||(a.playerConfig={}),a.playerConfig.playbackStartConfig||(a.playerConfig.playbackStartConfig={}),a.playerConfig.playbackStartConfig.startPosition||(a.playerConfig.playbackStartConfig.startPosition={}),a.playerConfig.playbackStartConfig.startPosition.streamTimeMillis=String(b.startTimeSeconds*1E3))};_.zG=function(a,b){var c=_.K().resolve(_.mp(tG));if(c)return new Oxa(a,c,b)};
Oxa=function(a,b,c){this.o=b;this.j=Exa(a,c);this.o.registerElement(this.j)};_.AG=function(a){uG(a.o,a.j)};BG=function(){};_.CG=function(){};
_.DG=function(a,b,c,d,e,f){function h(){var m=a.value;if(m){var n=_.CC({innertubeCommand:b,elementsCommand:c,ib:d,stopPropagation:f!=null?f:_.M("mweb_endpoint_use_atagconfig_stop_prop")?!1:void 0});if(n)return m._data=n._data,n["aria-haspopup$"]&&m.setAttribute("aria-haspopup",n["aria-haspopup$"].toString()),n["force-new-state$"]&&m.setAttribute("force-new-state",n["force-new-state$"].toString()),n.href$&&Ih(m,n.href$),n.rel$&&(m.rel=n.rel$),n.role$&&m.setAttribute("role",n.role$),n.target$&&(m.target=
n.target$),m.params=n.params,n.onclick&&m.addEventListener("click",n.onclick),n.onpointerdown&&m.addEventListener("onpointerdown",n.onpointerdown),function(){n.onclick&&m.removeEventListener("click",n.onclick);n.onpointerdown&&m.removeEventListener("onpointerdown",n.onpointerdown)}}}function k(){var m=a.value;if(m)return(m._data=b)?(m.addEventListener("touchstart",FC,{passive:!0}),m.addEventListener("click",AC),b.clickTrackingParams&&(m.params={itct:b.clickTrackingParams}),Eta(m,b),Ih(m,Fta(b)||"")):
m.addEventListener("click",l),function(){b?(m.removeEventListener("touchstart",FC,{passive:!0}),m.removeEventListener("click",AC)):m.removeEventListener("click",l)}}function l(m){m.preventDefault()}_.Iw(e||_.M("mweb_endpoint_use_atagconfig")?h:k,[b,c])};
_.EG=function(a){var b=a.children;var c=a.className;var d=a.dir;var e=a.style;var f=a.role;var h=a.ariaSelected;var k=a.ariaLabel;var l=a.ariaHidden;var m=a.eq;var n=a.cD;var p=a.command;var q=a.elementsCommand;var r=a.ib;var t=a.isPlaceholder;var w=a.tabIdentifier;var y=a.target;var B=a.onClick;var A=a.tabIndex;var E=a.eh;var I=a.stopPropagation;a=_.Ow();_.DG(a,p,q,r,E,I);q=_.P(function(G){B==null||B(G);return _.M("mweb_endpoint_wiz_with_propagation")||I===!1});E=_.no(function(G){c&&G.append("class",
c);e&&G.append("style",e);d&&G.append("dir",d);f?G.append("role",f):p||G.append("role","group");l&&G.append("aria-hidden",!0);k&&G.append("aria-label",k);m&&G.append("aria-labelledby",m);n&&G.append("aria-describedby",n);h&&G.append("aria-selected",h);A!==void 0&&G.append("tabindex",A);y&&G.append("target",y);r?G.append("force-new-state",!0):G.append("force-new-state",void 0);t?G.append("is-placeholder",!0):G.append("is-placeholder",void 0);w?G.append("tab-identifier",w):G.append("tab-identifier",
void 0)});return _.H("a",Object.assign({},{el:a,"on:click":q},E),b!=null?b:null)};
Pxa=function(a){var b=a.content;var c=a.header;a=a.footer;return _.H("navigation-layout-component",null,_.H("div",{role:"navigation",class:"yt-spec-navigation-layout"},_.H("div",{class:"yt-spec-navigation-layout__navigation-layout-header-wrapper"},_.H("div",{class:"yt-spec-navigation-layout__navigation-layout-header-icon-wrapper"},c==null?void 0:c())),_.H("div",{class:"yt-spec-navigation-layout__navigation-layout-content-wrapper"},_.H("div",{class:"yt-spec-navigation-layout__navigation-layout-content"},
b==null?void 0:b())),_.H("div",{class:"yt-spec-navigation-layout__navigation-layout-footer-wrapper"},a==null?void 0:a())))};
Qxa=function(a){switch(a){case "DIVIDER_STYLE_FULL_BLEED_4_PX":return"divider-view-model-wiz__base-divider--full-bleed-4px";case "DIVIDER_STYLE_FULL_BLEED_THICK":return"divider-view-model-wiz__base-divider--full-bleed-thick";case "DIVIDER_STYLE_FULL_BLEED_8_PX":return"divider-view-model-wiz__base-divider--full-bleed-8px";case "DIVIDER_STYLE_FULL_BLEED_12_PX":return"divider-view-model-wiz__base-divider--full-bleed-12px";default:return""}};
Rxa=function(a){var b=["divider-view-model-wiz__base-divider"];a.data.dividerStyle&&b.push(Qxa(a.data.dividerStyle));var c=a.data.dividerStyle==="DIVIDER_STYLE_INSET_THIN"?"divider-view-model-wiz__inset-thin-padding":"",d="";a.data.backgroundColor&&(d="background-color: "+_.dA(a.data.backgroundColor)+";");return _.H("divider-view-model",{class:"divider-view-model-wiz "+c},_.H("div",{class:_.ME(b.join(" ")),style:d}))};
Vxa=function(a){return{content:function(){var b;return(b=a.content)==null?void 0:b.map(function(c){var d=_.N(c,Sxa);return(c=_.N(c,Txa))?_.H(Rxa,{data:c}):d?_.H(Uxa,{data:d}):null})}}};
Yxa=function(a){var b=a.data;return _.H("more-drawer-view-model",null,_.H(Pxa,{content:Vxa(b).content,header:function(){if(!b.header)return null;var c=_.N(b.header,Wxa),d=_.K().resolve(_.mp(_.LC)),e=d&&d()?c==null?void 0:c.darkThemeLogo:c==null?void 0:c.lightThemeLogo;if(!e)return null;var f,h,k,l,m,n,p,q,r,t,w,y;c=!!((f=e.sources)==null?0:(h=f[0].clientResource)==null?0:(k=h.imageName)==null?0:k.match("yt_premium_wordmark_header_light"))||!!((l=e.sources)==null?0:(m=l[0].clientResource)==null?0:
(n=m.imageName)==null?0:n.match("yt_ringo2_premium_wordmark_header_light"))||!!((p=e.sources)==null?0:(q=p[0].clientResource)==null?0:(r=q.imageName)==null?0:r.match("yt_premium_wordmark_header_dark"))||!!((t=e.sources)==null?0:(w=t[0].clientResource)==null?0:(y=w.imageName)==null?0:y.match("yt_ringo2_premium_wordmark_header_dark"));f={};var B=(f["yt-spec-more-drawer-view-model"]=!0,f["yt-spec-more-drawer-view-model__more-drawer-header-logo"]=!0,f["yt-spec-more-drawer-view-model__more-drawer-header-logo--premium"]=
c,f["yt-spec-more-drawer-view-model__more-drawer-header-logo--ringo2"]=_.M("enable_cairo_refresh_ringo2_web"),f["yt-spec-more-drawer-view-model__more-drawer-header-logo--ringo2-red"]=_.M("enable_cairo_refresh_ringo2_web")&&c,f);return _.H(_.Oo,null,function(){_.rD(e,{alt:"logo",className:_.ME(B)})})},footer:function(){return Xxa(b.privacyTos)}}))};_.FG=function(a){this.panelLoadingStrategy=a};_.GG=function(a){this.store=a};_.HG=function(){};_.IG=function(){};Zxa=function(){this.Jq=new Map};
_.JG=function(a){this.controller=a};_.KG=function(a){this.controller=a};_.LG=function(a){this.controller=a};_.MG=function(a,b){this.controller=a;this.panelLoadingStrategy=b};_.NG=function(a,b){this.controller=a;this.panelLoadingStrategy=b};_.OG=function(a){this.store=a};
$xa=function(a){var b,c,d,e;return _.z(function(f){if(f.j==1)return b=_.L("WEB_PLAYER_CONTEXT_CONFIGS").WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_SFV_AUDIO_ITEM,c=_.L("WEB_PLAYER_CONTEXT_CONFIGS").WEB_PLAYER_CONTEXT_CONFIG_ID_MWEB_SFV_AUDIO_ITEM,d=b||c,a.j=new dE(d),_.x(f,a.j.api,2);e=f.o;e.addEventListener("onStateChange",a.ZH.bind(a));document.addEventListener("yt-page-data-updated",a.bz.bind(a));window.addEventListener("state-navigatestart",a.bz.bind(a));_.wa(f)})};
bya=function(a){a.store.dispatch(_.tA("sfvAudioItemCurrentlyPlayingEntity",aya,{key:aya,externalVideoId:a.externalVideoId,sfvAudioItemPlaybackState:a.playbackState,nowPlayingEntityValue:a.nowPlayingEntityValue}))};_.PG=function(){};
cya=function(a){return new Promise(function(b,c){if(a===void 0)_.av(Error("rd"),"ERROR"),c(Error("rd"));else{c=new _.nA;var d=_.dra();c=c.init();var e=_.bra(_.L("YPC_MB_URL"));Promise.all([c,e]).then(function(){var f=payments.business.integration.ClientTokenFactory.createClientToken(a,d);b(f)})}})};QG=function(){this.j={};if(this.o=_.Jia()){var a=_.fq.get("CONSISTENCY",void 0);a&&dya(this,{encryptedTokenJarContents:a})}};_.RG=function(){QG.j||(QG.j=new QG);return QG.j};
dya=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&&_.gq("CONSISTENCY",b.encryptedTokenJarContents,c,void 0,!0)}};
_.TG=function(){this.o=-1;var a=_.L("LOCATION_PLAYABILITY_TOKEN");_.L("INNERTUBE_CLIENT_NAME")==="TVHTML5"&&(this.localStorage=SG(this))&&(a=this.localStorage.get("yt-location-playability-token"));a&&(this.locationPlayabilityToken=a,this.j=void 0)};SG=function(a){return a.localStorage===void 0?new zq("yt-client-location"):a.localStorage};
_.UG=function(a,b,c,d,e){b=b===void 0?!1:b;c=c===void 0?!1:c;var f=_.L("INNERTUBE_CONTEXT");if(!f)return _.av(Error("ud")),{};f=Th(f);_.M("web_no_tracking_params_in_shell_killswitch")||delete f.clickTracking;f.client||(f.client={});var h=f.client;h.clientName==="MWEB"&&h.clientFormFactor!=="AUTOMOTIVE_FORM_FACTOR"&&(h.clientFormFactor=_.L("IS_TABLET")?"LARGE_FORM_FACTOR":"SMALL_FORM_FACTOR");h.screenWidthPoints=window.innerWidth;h.screenHeightPoints=window.innerHeight;h.screenPixelDensity=Math.round(window.devicePixelRatio||
1);h.screenDensityFloat=window.devicePixelRatio||1;h.utcOffsetMinutes=-Math.floor((new Date).getTimezoneOffset());var k=k===void 0?!1:k;_.iq();var l="USER_INTERFACE_THEME_LIGHT";_.jq(0,165)?l="USER_INTERFACE_THEME_DARK":_.jq(0,174)?l="USER_INTERFACE_THEME_LIGHT":!_.M("kevlar_legacy_browsers")&&window.matchMedia&&window.matchMedia("(prefers-color-scheme)").matches&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(l="USER_INTERFACE_THEME_DARK");k=k?l:fsa()||l;h.userInterfaceTheme=k;if(!b){if(k=
Pia())h.connectionType=k;_.M("web_log_effective_connection_type")&&(k=Ria())&&(f.client.effectiveConnectionType=k)}var m;if(_.M("web_log_memory_total_kbytes")&&((m=_.Sa.navigator)==null?0:m.deviceMemory)){var n;m=(n=_.Sa.navigator)==null?void 0:n.deviceMemory;f.client.memoryTotalKbytes=""+m*1E6}b&&d&&!_.M("web_it_context_set_original_url_ks")&&(h.originalUrl=_.Aea(_.Sa.location.href,d).toString());_.M("web_gcf_hashes_innertube")&&(k=Wja())&&(n=k.coldConfigData,m=k.coldHashData,k=k.hotHashData,f.client.configInfo=
f.client.configInfo||{},n&&(f.client.configInfo.coldConfigData=n),m&&(f.client.configInfo.coldHashData=m),k&&(f.client.configInfo.hotHashData=k));n=_.Jp(_.Sa.location.href);!_.M("web_populate_internal_geo_killswitch")&&n.internalcountrycode&&(h.internalGeo=n.internalcountrycode);!_.M("web_populate_client_screen_killswitch")&&e&&(h.clientScreen=e);h.clientName==="MWEB"||h.clientName==="WEB"?(h.mainAppWebInfo={graftUrl:d||_.Sa.location.href},_.M("kevlar_woffle")&&Fia.j&&(d=Fia.j,h.mainAppWebInfo.pwaInstallabilityStatus=
!d.j&&d.o?"PWA_INSTALLABILITY_STATUS_CAN_BE_INSTALLED":"PWA_INSTALLABILITY_STATUS_UNKNOWN"),h.mainAppWebInfo.webDisplayMode=cq(),h.mainAppWebInfo.isWebNativeShareAvailable=navigator&&navigator.share!==void 0):h.clientName==="TVHTML5"&&(!_.M("web_lr_app_quality_killswitch")&&(d=_.L("LIVING_ROOM_APP_QUALITY"))&&(h.tvAppInfo=Object.assign(h.tvAppInfo||{},{appQuality:d})),d=_.L("LIVING_ROOM_CERTIFICATION_SCOPE"))&&(h.tvAppInfo=Object.assign(h.tvAppInfo||{},{certificationScope:d}));!_.M("web_populate_time_zone_itc_killswitch")&&
(d=Nia())&&(h.timeZone=d);(d=zp())?h.experimentsToken=d:delete h.experimentsToken;h=Ap();d=Mh(_.RG().j);f.request=Object.assign({},f.request,{internalExperimentFlags:h,consistencyTokenJars:d});!_.M("web_prequest_context_killswitch")&&(h=_.L("INNERTUBE_CONTEXT_PREQUEST_CONTEXT"))&&(f.request.externalPrequestContext=h);d=_.iq();h=_.jq(0,58);d=d.get("gsml","");f.user=Object.assign({},f.user);h&&(f.user.enableSafetyMode=h);d&&(f.user.lockedSafetyMode=!0);_.M("warm_op_csn_cleanup")?c&&(b=_.Du())&&(f.clientScreenNonce=
b):!b&&(b=_.Du())&&(f.clientScreenNonce=b);a&&(f.clickTracking={clickTrackingParams:a});if(a=_.Ua("yt.mdx.remote.remoteClient_"))f.remoteClient=a;_.TG.Qd().setLocationOnInnerTubeContext(f);try{var p=Np(),q=p.bid;delete p.bid;f.adSignalsInfo={params:[],bid:q};for(var r=_.u(Object.entries(p)),t=r.next();!t.done;t=r.next()){var w=_.u(t.value),y=w.next().value,B=w.next().value;p=y;q=B;a=void 0;(a=f.adSignalsInfo.params)==null||a.push({key:p,value:""+q})}var A;if(((A=f.client)==null?void 0:A.clientName)===
"TVHTML5"){var E=_.L("INNERTUBE_CONTEXT");E.adSignalsInfo&&(f.adSignalsInfo.advertisingId=E.adSignalsInfo.advertisingId,f.adSignalsInfo.advertisingIdSignalType="DEVICE_ID_TYPE_CONNECTED_TV_IFA",f.adSignalsInfo.limitAdTracking=E.adSignalsInfo.limitAdTracking)}}catch(I){_.av(I)}return f};VG=function(){};_.WG=function(){};_.XG=function(a){this.o=a};_.YG=function(a){this.o=a};_.ZG=function(){};_.$G=function(a){this.o=a};_.aH=function(){};_.bH=function(a){this.o=a};_.cH=function(a){this.o=a};
dH=function(a,b){this.clientName=a;this.rw=b};eH=function(){dH.apply(this,arguments);this.j=new Map};eya=function(a,b,c){var d,e,f;return _.z(function(h){d=a.rw;c.expireTimestampMs&&(d=Number(c.expireTimestampMs)-Math.round((0,_.Uq)()),e=_.wp("mweb_override_response_store_expiration_ms"),e>0&&e<d&&(d=e));f=setTimeout(function(){a.remove(b)},d);a.j.set(b,{entryData:c,timer:f});_.wa(h)})};_.fH=function(a,b){if(a=a.j.get(b))return new _.ZA(a.entryData)};
fya=function(a,b){var c=a.j.get(b);c&&(clearTimeout(c.timer),a.j.delete(b))};gya=function(a){var b;this.j=(b=a.responseContext)==null?void 0:b.stateTags};hya=function(a){var b;return((b=a.j)==null?void 0:b.stateTagsModified)||[]};_.gH=function(a){this.j=a};
hH=function(a,b,c){if(!_.M("state_tags_killswitch")){var d=new gya(b);if(hya(d).length>0){var e=a.j.zh();e=_.u(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=_.fH(a.j,f);if(h){var k=_.$A(h);a:{var l=void 0;h=hya(d);k=((l=(new gya(k)).j)==null?void 0:l.relevantStateTags)||[];l=_.u(k);for(k=l.next();!k.done;k=l.next())if(k=k.value,k.stateTag!=null&&h.includes(k.stateTag)&&k.onStateTagModified==="STATE_TAG_CACHE_INSTRUCTION_EVICT_RESPONSE"){h=!0;break a}h=!1}h&&fya(a.j,f)}}}}var m;d=(m=b.responseContext)==
null?void 0:m.maxAgeSeconds;_.M("web_prefetch_riw_for_next_video")&&!d&&b.status==="REEL_ITEM_WATCH_STATUS_SUCCEEDED"&&(d=3600);c&&d&&Number(d)>0&&(b=_.YA(b,d),a.j.put(c,new _.ZA(b)))};iya=function(){};jya=function(){var a=_.Ua("meta_logger_impl");a||(a=new iya,_.Ta("meta_logger_impl",a));return a};
kya=function(){jya().j=Jka("meta_logging_csi_event",function(a){var b=a.timerName;if(a=a.EJ){_.yv(b,{startTime:a.startTime},b);a.infos&&vv(a.infos,b);for(var c=_.u(Object.keys(a.ticks)),d=c.next();!d.done;d=c.next())d=d.value,_.Av(d,a.ticks[d],b)}})};mya=function(){lya||(Object.assign(Kn,{handleError:function(a,b,c){c.rh=c.rh.map(function(d){return d.name});ev(b,[a,c]);_.av(b)},Dw:!1}),lya=!0)};
nya=function(a,b){_.Ta("yt.logging.errors.log",_.av);gna();cna(Uu(),b);window.onerror=a;_.M("wiz_next_error_handler_killswitch")||mya();vj=hna;window.addEventListener("unhandledrejection",function(c){if(c.reason instanceof Error){var d=c.reason;ev(d,{source:"unhandledrejection"});d.name==="AbortError"&&(d.level="WARNING")}hna(c.reason);c.preventDefault()})};
oya=function(a,b,c){c=c===void 0?{}:c;var d,e,f=(e=_.N((d=b.endpoint)==null?void 0:d.commandMetadata,_.ew))==null?void 0:e.rootVe;if(f){var h,k;if(d=b.previousCsn||((k=_.N((h=b.endpoint)==null?void 0:h.commandMetadata,aoa))==null?void 0:k.parentCsn)){var l=l===void 0?{}:l;if(d!==_.Du(l.layer)||f!==Bu(l.layer))Qma(d,l.cttAuthInfo,l.layer||0),Lma(d,l.layer||0),h=l.layer||0,sp(Au(h===void 0?0:h),f);c.parentCsn=d}b.endpoint&&d?_.iw(a,b.endpoint,c):_.hw(a,f,void 0,c);var m;((m=b.response)==null?0:m.trackingParams)&&
_.mw(a,b.response.trackingParams);var n;((n=b.playerResponse)==null?0:n.trackingParams)&&_.mw(a,b.playerResponse.trackingParams);var p;((p=b.reelWatchSequenceResponse)==null?0:p.trackingParams)&&_.mw(a,b.reelWatchSequenceResponse.trackingParams)}};pya=function(a){var b;return(b=a.Jt)==null?void 0:b.Cv};iH=function(a,b){this.j=a;this.o=b};jH=function(a){a&&(this.container=a)};kH=function(){this.Xs=new Map;this.j=new Map};
qya=function(a,b){var c,d;return _.z(function(e){if(c=a.j.get(b))return e.return(c.promise);d=new _.Uj;a.j.set(b,d);return e.return(d.promise)})};lH=function(a,b){this.af=a;this.j=b};rya=function(a){var b;return!((b=a.panelLoadingStrategy)==null||!b.requestTemplate)};_.mH=function(a){if(a.composedPath)return a.composedPath();if(!a.qv){for(var b=[],c=a.target;c;)b.push(c),c=c.parentNode;b.push(window);a.qv=b}return a.qv};
_.sya=function(a,b,c){a=_.u(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(d===b)break;for(var e=_.u(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};_.nH=function(a,b){_.Iw(function(){var c=a.value;if(c)return _.tya(c,b)},[b])};
_.tya=function(a,b,c){var d=new Map;if(b=_.oH(b))c=uya(b,a,c),a.addEventListener("click",c),d.set("click",c);return function(){for(var e=_.u(d),f=e.next();!f.done;f=e.next()){var h=_.u(f.value);f=h.next().value;h=h.next().value;a.removeEventListener(f,h)}}};_.oH=function(a){var b;return(a=(b=_.N(a,_.vya))==null?void 0:b.onTap)&&_.oC(a)};uya=function(a,b,c){return function(d){c&&_.sya(_.mH(d),b,c)||(d=d.target?{form:{element:d.target,sourceData:a}}:void 0,_.K().resolve(_.IC).resolveCommand(a,d))}};
_.qH=function(a){var b=a.data;var c=a.className;a=a.alwaysShow;var d=_.Ow();_.nH(d,b.rendererContext);a:switch(b.style){case "THUMBNAIL_HOVER_OVERLAY_STYLE_BUTTON":var e="YtThumbnailHoverOverlayViewModelStyleButton";break a;default:e="YtThumbnailHoverOverlayViewModelStyleCover"}e=_.ME("YtThumbnailHoverOverlayViewModelScrim",e);var f,h=(f=_.N(b==null?void 0:b.rendererContext,_.pH))==null?void 0:f.label,k={alt:"",className:"YtThumbnailHoverOverlayViewModelIcon"};f={};return _.H("thumbnail-hover-overlay-view-model",
{el:d,class:_.ME("YtThumbnailHoverOverlayViewModelHost",c,(f.YtThumbnailHoverOverlayViewModelHostForceHover=a,f)),"aria-label":h,role:"button",tabindex:0},_.H("div",{class:e},_.H(_.Oo,null,function(){b.icon&&_.rD(b.icon,k)}),b.text?_.zD(b.text,{className:"YtThumbnailHoverOverlayViewModelText"}):null))};_.xya=function(a){if(a!=null&&a.overlays)return function(){if(a!=null&&a.overlays)for(var b=_.u(a.overlays),c=b.next();!c.done;c=b.next())(c=_.N(c.value,wya))&&_.U(_.qH)({data:c})}};
yya=function(a){switch(a){case "tiny":return 16;case "extra-small":return 24;case "small":return 32;case "medium":return 36;case "large":return 56;case "extra-large":return 72;case "extra-extra-large":return 72;case "giant":return 72;default:return 0}};_.zya=function(a,b,c){var d=a.map(function(e){return e.toString()});return _.P(function(e){if(d.includes(e.key)){c&&e.preventDefault();var f;(f=e.currentTarget)==null||f.click();b==null||b(e)}return!0})};_.rH=function(){return _.zya(["Enter"])};
Aya=function(a){switch(a){case "tiny":return"yt-spec-avatar-shape--avatar-size-tiny";case "extra-small":return"yt-spec-avatar-shape--avatar-size-extra-small";case "small":return"yt-spec-avatar-shape--avatar-size-small";case "medium":return"yt-spec-avatar-shape--avatar-size-medium";case "large":return"yt-spec-avatar-shape--avatar-size-large";case "extra-large":return"yt-spec-avatar-shape--avatar-size-extra-large";case "extra-extra-large":return"yt-spec-avatar-shape--avatar-size-extra-extra-large";
case "giant":return"yt-spec-avatar-shape--avatar-size-giant";case "responsive":return"yt-spec-avatar-shape--avatar-size-responsive";default:return""}};
Bya=function(a){switch(a){case "tiny":return"yt-spec-avatar-shape__button--button-tiny";case "extra-small":return"yt-spec-avatar-shape__button--button-extra-small";case "small":return"yt-spec-avatar-shape__button--button-small";case "medium":return"yt-spec-avatar-shape__button--button-medium";case "large":return"yt-spec-avatar-shape__button--button-large";case "extra-large":return"yt-spec-avatar-shape__button--button-extra-large";case "extra-extra-large":return"yt-spec-avatar-shape__button--button-extra-extra-large";
case "giant":return"yt-spec-avatar-shape__button--button-giant";case "responsive":return"yt-spec-avatar-shape__button--button-responsive";default:return""}};Cya=function(a){switch(a){case "tiny":return 16;case "extra-small":return 24;case "small":return 32;case "medium":return 36;case "large":return 56;case "extra-large":return 72;case "extra-extra-large":return 120;case "giant":return 160;default:return 0}};
sH=function(a){return a==="medium"||a==="large"||a==="extra-large"||a==="extra-extra-large"||a==="giant"};tH=function(a){return!!((a==null?0:a.includes(3))||(a==null?0:a.includes(5)))};Dya=function(a){var b,c,d={};return d["yt-spec-avatar-shape__live-dot"]=!((b=a.nb)==null||!b.includes(0)||sH(a.size)),d["yt-spec-avatar-shape__new-content"]=!((c=a.nb)==null||!c.includes(1)),d};
Eya=function(a,b,c){var d,e=!((d=a.nb)==null||!d.includes(2)||a.size!=="medium"&&a.size!=="large");d=a.size==="tiny"||a.size==="extra-small";var f,h,k,l,m={};return m["yt-spec-avatar-shape--live-ring"]=!!(((f=a.nb)==null?0:f.includes(0))&&sH(a.size)),m["yt-spec-avatar-shape--stories-watched"]=e&&!(b==null||!b.kJ),m["yt-spec-avatar-shape--stories-unwatched"]=e&&!(b==null?0:b.kJ),m["yt-spec-avatar-shape--background-border"]=tH(a.nb)&&!d,m["yt-spec-avatar-shape--background-border-thin"]=tH(a.nb)&&d,
m["yt-spec-avatar-shape__on-select-border"]=!((h=a.nb)==null||!h.includes(4)),m["yt-spec-avatar-shape__white-border"]=!((k=a.nb)==null||!k.includes(5)),m["yt-spec-avatar-shape__white-border--white-border-thin"]=!!(((l=a.nb)==null?0:l.includes(5))&&d),m["yt-spec-avatar-shape--is-overlay"]=!!c,m["yt-spec-avatar-shape--cairo-refresh"]=_.M("enable_cairo_refresh_web"),m};
_.vH=function(a){var b=a.data;var c=a.image;var d=a.state;var e=a.iconType===void 0?"LIVE":a.iconType;var f=a.overlays;var h=a.ja;var k=_.Ow();a=_.u(_.Mw(!0));var l=a.next().value,m=a.next().value;_.Jw(function(){if(k.value===null)var ca=!0;else{var pa=k.value;ca=b.badgeText;var qa=yya(b.size);ca in uH?pa=uH[ca]:(pa=pa.clientWidth,uH[ca]=pa);(ca=pa>qa)?k.value.style.display="none":k.value.style.visibility="visible"}m(ca)});a={};a=(a["yt-spec-avatar-shape"]=!0,a["yt-spec-avatar-shape__button"]=!0,
a[Bya(b.size)]=!0,a);b.Ne&&(a[b.Ne]=!0);d=Eya(b,d,h);var n=Dya(b);h={};h=(h[Aya(b.size)]=!0,h["yt-spec-avatar-shape--no-margin"]=tH(b.nb),h);var p={},q=(p["yt-spec-avatar-shape__image"]=!0,p["yt-spec-avatar-shape__image--ads-app"]=b.type===1,p);p={};var r=Object.assign((p["yt-spec-avatar-shape__image-overlays"]=!0,p),q);p={};var t=(p["yt-spec-avatar-shape__live-badge"]=!0,p["yt-spec-avatar-shape__live-badge--badge-small"]=b.size==="small",p["yt-spec-avatar-shape__live-badge--badge-medium"]=b.size===
"medium",p["yt-spec-avatar-shape__live-badge--badge-large"]=b.size==="large",p["yt-spec-avatar-shape__live-badge--badge-extra-large"]=b.size==="extra-large"||b.size==="extra-extra-large"||b.size==="giant",p);p=!!b.onTap;a["yt-spec-avatar-shape__button--tappable"]=p;var w=_.P(function(ca){var pa;(pa=b.onTap)==null||pa.call(b,ca);return!0}),y=p?"button":void 0,B=p?0:void 0,A=p?b.accessibilityText:"",E=!p&&b.accessibilityText?b.accessibilityText:"",I,G,X;return _.H("yt-avatar-shape",null,_.H("div",{class:_.ME(a),
"on:click":w,"on:keydown":_.rH(),"aria-label":A,role:y,tabindex:B},_.H("div",{class:_.ME(d)},_.H("div",{class:_.ME(h)},_.H(_.Oo,null,function(){_.rD(c,{alt:E,targetWidth:Cya(b.size),targetHeight:Cya(b.size),className:_.ME(q)})}),_.Km(((I=b.nb)==null?void 0:I.includes(0))&&sH(b.size),function(){return _.H("div",{class:_.ME(t)},_.Km(b.badgeText,function(){return _.H("div",{class:"yt-spec-avatar-shape__badge-text",el:k},b.badgeText)}),_.H(_.O,{bk:_.Uo,C:l},function(){a:switch(b.size){case "extra-large":var ca=
16;break a;default:ca=13}return _.H("div",{class:"yt-spec-avatar-shape__badge-icon"},_.gC(e,{iconSize:""+ca}))}))}),_.Km(((G=b.nb)==null?void 0:G.includes(1))||((X=b.nb)==null?void 0:X.includes(0))&&!sH(b.size),function(){return _.H("div",{class:_.ME(n)})}),_.Km(f,function(){return _.H("div",{class:_.ME(r)},_.H(_.Oo,null,function(){f==null||f()}))})))))};
_.Gya=function(a){return{size:Fya(a.data.avatarImageSize),onTap:a.onTap,nb:a.nb||[],badgeText:a.badgeText,accessibilityText:a.accessibilityText,Ne:a.Ne}};
Fya=function(a){switch(a){case "AVATAR_SIZE_XXS":return"tiny";case "AVATAR_SIZE_XS":return"extra-small";case "AVATAR_SIZE_S":return"small";case "AVATAR_SIZE_M":return"medium";case "AVATAR_SIZE_L":return"large";case "AVATAR_SIZE_XL":return"extra-large";case "AVATAR_SIZE_XXL":return"extra-extra-large";case "AVATAR_SIZE_XXXL":return"giant";case "AVATAR_SIZE_RESPONSIVE":return"responsive";default:return"medium"}};
_.wH=function(a){function b(){c.endpoint&&_.HC(c.endpoint)}var c=a.data;var d=a.nb;var e=a.Ne;a=a.ja;return _.H("avatar-view-model",null,c.image?_.H(_.vH,{data:_.Gya({data:c,onTap:c.endpoint?b:void 0,nb:d,badgeText:void 0,accessibilityText:c.accessibilityText,Ne:e}),image:c.image,iconType:"RADAR_LIVE",overlays:_.xya(c),ja:a}):null)};Hya=function(a,b,c){var d,e;(d=_.CC({elementsCommand:b?a.switchOffCommand:a.switchOnCommand}))==null||(e=d.onclick)==null||e.call(d,c)};
Jya=function(a){if(a)return _.N(a,Iya)};_.xH=function(a){var b=":"+(Kya.j++).toString(36);return a+b};Lya=function(a){a=a.Yg;var b={};a=_.ME("checkbox-shape-wiz__checkbox",a,(b["checkbox-shape-wiz__checkbox--checkbox-default-style"]=!a,b));return _.H("div",{class:a},_.gC("BOX_EMPTY"),_.gC("BOX_CHECK"))};
Mya=function(a){var b=a.name;var c=a.onChange;var d=a.onClick;var e=a.checked;var f=a.Ln;var h=a.kx;var k=a.Zx;var l=a.Fh;var m=a.Yg;a=_.xH("checkbox");var n=_.P(function(r){d==null||d(r)}),p=_.P(function(r){c==null||c(r)}),q={};k=_.ME("checkbox-shape-wiz",k,(q["checkbox-shape-wiz--compact"]=!!l,q));return _.H("checkbox-shape",null,_.H("label",{class:k},_.H("input",{class:"checkbox-shape-wiz__input",id:a,checked:e,name:b,type:"checkbox","on:change":p,"on:click":n}),_.Km(!h,function(){return Lya({kj:!0,
Yg:m})}),_.Km(f,function(){return _.H("div",{class:"checkbox-shape-wiz__label"},f==null?void 0:f())}),_.Km(h,function(){return Lya({kj:!1,Yg:m})})))};Nya=function(a){var b=a.Wl===void 0?!1:a.Wl;var c=a.Yg;a=b?"CHECK":"CIRCLE";var d=b?"CHECK":"CIRCLE_FILLED",e={};b=_.ME("radio-shape-wiz__radio",c,(e["radio-shape-wiz__radio--check-icon"]=!!b,e["radio-shape-wiz__radio--radio-default-style"]=!c,e));return _.H("div",{class:b,"aria-hidden":"true"},_.gC(a),_.gC(d))};
yH=function(a){function b(){var I;((I=_.K().resolve(_.mp(_.EF)))==null?0:I.Kh())&&y.value.classList.add("radio-shape-wiz__label-container--keyboard-focused")}function c(){y.value.classList.remove("radio-shape-wiz__label-container--keyboard-focused")}var d=a.name;var e=a.onChange;var f=a.onClick;var h=a.checked===void 0?!1:a.checked;var k=a.Ln;var l=a.Wl;var m=a.kx;var n=a.Zx;var p=a.Fh;var q=a.Yg;var r=a.ariaLabel;var t=a.className;a=_.Lw(function(){return _.xH("radio")});var w=_.Ow(),y=_.Ow(),B=
_.P(function(I){w.value.checked=h;e==null||e(I)}),A=_.P(function(I){f==null||f(I)}),E=["radio-shape-wiz"];t&&E.push(t);t={};n=_.ME("radio-shape-wiz__label-container",n,(t["radio-shape-wiz--compact"]=!!p,t));_.Gw(function(){document.activeElement===w.value&&b()});_.Jw(function(){var I=w.value;I.addEventListener("focusin",b);I.addEventListener("focusout",c);return function(){I.removeEventListener("focusin",b);I.removeEventListener("focusout",c)}});return _.H("radio-shape",{class:E.join(" ")},_.H("input",
{el:w,class:"radio-shape-wiz__input",id:a,"prop:checked":h,name:d,type:"radio","on:change":B,"on:click":A,"aria-label":r}),_.H("label",{class:n,for:a,el:y},_.Km(!m,function(){return Nya({checked:h,Wl:l,kj:!0,Yg:q})}),_.Km(k,function(){return _.H("div",{class:"radio-shape-wiz__label","aria-hidden":r?"true":"false"},k==null?void 0:k())}),_.Km(m,function(){return Nya({checked:h,Wl:l,kj:!1,Yg:q})})))};
Oya=function(a){var b=a.data;var c=a.kj;var d=a.Vi;if(c&&(b.leadingImage||b.leadingAccessory)||!c&&(b.trailingImage||b.trailingButton||b.trailingButtons||b.selectionText)){var e=_.ME("yt-list-item-view-model-wiz__button-container");a={};var f=_.ME("yt-list-item-view-model-wiz__image-container",(a["yt-list-item-view-model-wiz__leading"]=c,a["yt-list-item-view-model-wiz__trailing"]=!c,a)),h=c?b.leadingImage:b.trailingImage,k=_.ME("yt-list-item-view-model-wiz__accessory","yt-list-item-view-model-wiz__image");
a={};var l=_.ME("yt-list-item-view-model-wiz__accessory",(a["yt-list-item-view-model-wiz__leading"]=c,a["yt-list-item-view-model-wiz__trailing"]=!c,a)),m=!!b.selectionText;return function(){var n;return _.H(_.F,null,_.Km(h,function(){return _.H("div",{class:f},_.H(_.Oo,null,function(){_.rD(h,{alt:"",oc:!0,Yb:!0,className:k})}))}),_.Km(c&&b.leadingAccessory,function(){return _.H("div",{class:f},zH(b.leadingAccessory,{avatarViewModel:{Ne:k}}))}),_.Km(!c&&b.trailingButton,function(){return _.H("div",
{class:e},zH(b.trailingButton,{buttonViewModel:{config:{className:l}}}))}),_.Km(!c&&((n=b.trailingButtons)==null?void 0:n.buttons),function(){var p;return _.H("div",{class:e},zH((p=b.trailingButtons)==null?void 0:p.buttons,{buttonViewModel:{config:{className:l}},switchButtonViewModel:{className:l}}))}),_.Km(!c&&m,function(){return _.H(_.F,null,_.zD(b.selectionText,{className:_.ME("yt-list-item-view-model-wiz__selection-text","yt-list-item-view-model-wiz__selection-text--trailing-selection-text")}),
_.Km(!d,function(){return _.H(_.F,null,_.gC("chevron_right",{className:"yt-list-item-view-model-wiz__chevron-icon"}))}))}))}}};
Pya=function(a){return a.title||a.subtitle?function(){return _.H("div",{class:"yt-list-item-view-model-wiz__text-wrapper"},_.H("div",{class:"yt-list-item-view-model-wiz__title-wrapper"},_.Km(a.title,function(){return _.zD(a.title,{className:"yt-list-item-view-model-wiz__title"})})),_.Km(a.subtitle,function(){return _.zD(a.subtitle,{className:"yt-list-item-view-model-wiz__subtitle"})}))}:function(){return _.H(_.F,null)}};
AH=function(a){function b(){var I,G,X;return _.H("div",{class:t},(I=Oya({data:e,kj:!0,Vi:!!m}))==null?void 0:I(),(G=Pya(e))==null?void 0:G(),l?_.H("div",{class:"yt-list-item-view-model-wiz__trailing"},l):(X=Oya({data:e,kj:!1,Vi:!!m}))==null?void 0:X())}function c(){var I;((I=_.K().resolve(_.mp(_.EF)))==null?0:I.Kh())&&w.value.classList.add("yt-list-item-view-model-wiz--keyboard-focused")}function d(){w.value.classList.remove("yt-list-item-view-model-wiz--keyboard-focused")}var e=a.data;var f=a.ze;
var h=a.Fh;var k=a.onTap;var l=a.QJ;var m=a.Vi;var n=a.disabled;a=!(e.isSelected===void 0||!e.selectionStyle||e.selectionStyle==="LIST_ITEM_SELECTION_STYLE_UNSPECIFIED");var p=(!!_.oH(e.rendererContext)||k)&&!a,q=!!_.oH(e.rendererContext)||a;n=!!e.isDisabled||!!n;var r={},t=_.ME("yt-list-item-view-model-wiz__label",(r["yt-list-item-view-model-wiz__container"]=!a,r["yt-list-item-view-model-wiz__container--disabled"]=n,r["yt-list-item-view-model-wiz__container--has-subtitle"]=!!e.subtitle,r["yt-list-item-view-model-wiz__container--compact"]=
!!h,r["yt-list-item-view-model-wiz__container--tappable"]=p,r));n={};q=_.ME("yt-list-item-view-model-wiz__container",(n["yt-list-item-view-model-wiz__container--tappable"]=q,n["yt-list-item-view-model-wiz__container--compact"]=!!h,n));n=e.leadingImage||e.leadingAccessory;r=_.ME("yt-list-item-view-model-wiz__image-container",n?"yt-list-item-view-model-wiz__trailing":"yt-list-item-view-model-wiz__leading");var w=_.Ow(),y=_.u(_.dF(e.isSelected)),B=y.next().value,A=y.next().value,E={Ln:b,Fh:h,checked:B,
kx:!!n,Zx:q,Yg:r};_.nH(w,e.rendererContext);h=_.P(function(I){k==null||k(I);return!0});q=_.rH();_.Jw(function(){var I=w.value;p&&(I.addEventListener("focusin",c),I.addEventListener("focusout",d));return function(){p&&(I.removeEventListener("focusin",c),I.removeEventListener("focusout",d))}});_.Iw(function(){A(e.isSelected)},[e.isSelected]);return _.H("yt-list-item-view-model",{el:w,class:"yt-list-item-view-model-wiz",role:f?"menuitem":"listitem",tabindex:k||p?0:void 0,"on:keydown":q,"on:click":h},
_.Km(a,function(){return _.Jm(e.selectionStyle,[["LIST_ITEM_SELECTION_STYLE_CHECKBOX",function(){return _.H(Mya,Object.assign({},E))}],["LIST_ITEM_SELECTION_STYLE_RADIO",function(){return _.H(yH,Object.assign({},E))}],["LIST_ITEM_SELECTION_STYLE_DEFAULT",function(){return _.H(yH,Object.assign({},E,{Wl:!0}))}]],function(){return b()})},function(){return b()}))};Qya=function(a){var b;return(b=a.listItems)==null?void 0:b.some(function(c){var d;return!!_.oH((d=_.N(c,_.BH))==null?void 0:d.rendererContext)})};
Sya=function(a){var b=a.data;var c=a.Fh;a=a.Vi;var d=Qya(b);return _.H("yt-list-view-model",{class:"yt-list-view-model-wiz",role:d?"menu":"list"},Rya(b.listItems,{listItemViewModel:{ze:!!d,Fh:!!c,Vi:!!a}}))};CH=function(a){var b=21;if(!a)return b;b+=a.title?27:0;b+=a.title&&a.yi?4:0;return b+=a.title&&a.subtitle?16:0};
DH=function(a){var b=0;if(!a)return b;b+=a.primaryButton||a.secondaryButton?48:0;b+=a.trailingLabel||a.leadingLabel?30:0;return b+=a.primaryButton||a.secondaryButton||!a.trailingLabel&&!a.leadingLabel?0:12};
Tya=function(a){var b=new _.gs,c=a;return{subscribe:function(d){b.subscribe("changed",d)},dispatch:function(d,e){var f=c;d==="Touch Start"?c=Object.assign({},f,{zb:!1,dj:e.event.touches[0].clientY}):d==="Touch Move"?(d=Math.min(e.yh,e.Ii[e.zf]+CH(e.header)-DH(e.footer)),c=Object.assign({},f,{Nd:Math.max(e.yf?-1*(f.dj-24):0,e.event.touches[0].clientY-f.dj),Ig:Math.min(d,Math.max(0,(f.hj?d:e.fd)-f.Nd))})):c=d==="Snap To Full Screen"?Object.assign({},f,{zb:!1,Nd:0,hj:!0,Ig:e.maxHeight}):d==="Snap To Neutral Position"?
Object.assign({},f,{zb:!1,Nd:0,hj:!1,Ig:e.maxHeight}):d==="Close Sheet"?Object.assign({},f,{zb:!0,Nd:e.clientHeight,hj:!1,Ig:e.maxHeight}):f;b.lb("changed",c)}}};Uya=function(a,b){return.6*b-CH(a.header)-DH(a.footer)};Vya=function(a,b){return b-CH(a.header)-DH(a.footer)-24-24};EH=function(a){return function(b){return function(){return String(b())+a}}};FH=function(a){return _.P(function(b){return void a(b)})};
GH=function(){_.UE.apply(this,arguments);var a=this;this.Ah="header-wrapper";this.zf="content-wrapper";this.yf=!1;this.clientHeight=window.innerHeight;this.o=0;this.fd=Uya(this.props.data,this.clientHeight);this.yh=Vya(this.props.data,this.clientHeight);this.ub=null;this.Ii={};this.Sf=function(){var b=a.zf.toString(),c=document.getElementById(a.Ah.toString());b=document.getElementById(b);if(c&&b){var d={};d=(d["yt-spec-bottom-sheet-layout__bottom-sheet-layout-header-wrapper"]=!0,d["yt-spec-bottom-sheet-layout__bottom-sheet-layout-header-wrapper--bottom-border"]=
!0,d);c.className=b.scrollTop>1?_.ME(d):"yt-spec-bottom-sheet-layout__bottom-sheet-layout-header-wrapper"}};this.state={dj:0,Nd:0,zb:!1,hj:!1,Ig:this.fd};this.j=Tya(this.state);this.B=function(b){document.body.style.overscrollBehavior="none";b.preventDefault();a.j.dispatch("Touch Start",{event:b})};this.G=function(b){b.preventDefault();a.j.dispatch("Touch Move",{event:b,yf:a.yf,yh:a.yh,fd:a.fd,Ii:a.Ii,zf:a.zf.toString(),header:a.props.data.header,footer:a.props.data.footer})};this.A=function(){document.body.style.overscrollBehavior=
"";a.state.hj?a.state.Nd>=60?a.j.dispatch("Snap To Neutral Position",{maxHeight:a.fd}):a.j.dispatch("Snap To Full Screen",{maxHeight:a.yh}):a.state.Nd>=60?a.Qe():a.state.Nd<=-60&&a.yf?a.j.dispatch("Snap To Full Screen",{maxHeight:a.yh}):a.j.dispatch("Snap To Neutral Position",{maxHeight:a.fd})};this.J=function(){a.clientHeight=window.innerHeight;a.fd=Uya(a.props.data,a.clientHeight);a.yf=a.o>a.fd;a.fd=a.yf?a.fd:a.o;a.yh=Vya(a.props.data,a.clientHeight);a.state.hj&&a.yf?a.j.dispatch("Snap To Full Screen",
{maxHeight:a.yh}):a.j.dispatch("Snap To Neutral Position",{maxHeight:a.fd})}};
Yya=function(a){if(_.M("bottom_sheet_layout_header_wiz"))_.U(Wya)(Xya(a));else{var b=a.props.data,c=b.header,d=b.wn;b={};var e=(b["yt-spec-bottom-sheet-layout__bottom-sheet-layout-header"]=!0,b["yt-spec-bottom-sheet-layout__bottom-sheet-layout-header--with-title"]=!(c==null||!c.title),b);(0,_.S)({className:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-header-wrapper",id:a.Ah,ontouchstart:a.B,ontouchmove:a.G,ontouchend:a.A},function(){(0,_.S)({className:"yt-spec-bottom-sheet-layout__bottom-sheet-drag-line"},
function(){return null});d?d():(0,_.S)({className:_.ME(e)},function(){(0,_.S)({className:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-header-title-wrapper"},function(){if(c==null?0:c.title)(0,_.S)({className:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-title"},function(){_.En(c==null?void 0:c.title)}),(c==null?0:c.subtitle)&&(0,_.S)({className:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-subtitle"},function(){_.En(c==null?void 0:c.subtitle)})});(c==null?0:c.title)&&(c==null?0:c.yi)&&
(0,_.S)({className:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-action-header"},function(){_.WE(c==null?void 0:c.yi,{})})})})}};
$ya=function(a){if(a.props.data.en)a.props.data.en();else if(_.M("bottom_sheet_layout_footer_wiz"))_.U(HH)(Zya(a));else{var b=a.props.data.footer;a={};var c=(a["yt-spec-bottom-sheet-layout__footer-button-wrapper"]=!0,a["yt-spec-bottom-sheet-layout__footer-button-wrapper--landscape-button-wrapper"]=_.hD(),a);a={};var d=(a["yt-spec-bottom-sheet-layout__footer-label-wrapper"]=!0,a["yt-spec-bottom-sheet-layout__footer-label-wrapper--without-buttons"]=!(b==null?0:b.primaryButton),a);a={};var e=(a["yt-spec-bottom-sheet-layout__primary-button"]=
!0,a["yt-spec-bottom-sheet-layout__primary-button--default"]=(b==null?void 0:b.Ye)===0&&!(b==null||!b.primaryButton),a["yt-spec-bottom-sheet-layout__primary-button--trailing-pair"]=(b==null?void 0:b.Ye)===1&&!(b==null||!b.primaryButton),a["yt-spec-bottom-sheet-layout__primary-button--split-pair"]=(b==null?void 0:b.Ye)===2&&!(b==null||!b.primaryButton),a["yt-spec-bottom-sheet-layout__primary-button--primary-split-pair"]=(b==null?void 0:b.Ye)===3&&!(b==null||!b.primaryButton),a);a={};var f=(a["yt-spec-bottom-sheet-layout__secondary-button"]=
!0,a["yt-spec-bottom-sheet-layout__secondary-button--secondary-button-trailing-pair"]=(b==null?void 0:b.Ye)===1&&!(b==null||!b.secondaryButton),a["yt-spec-bottom-sheet-layout__secondary-button--secondary-button-split-pair"]=(b==null?void 0:b.Ye)===2&&!(b==null||!b.secondaryButton),a["yt-spec-bottom-sheet-layout__secondary-button--secondary-button-primary-split-pair"]=(b==null?void 0:b.Ye)===3&&!(b==null||!b.primaryButton),a);b&&(0,_.S)({className:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-footer-wrapper"},
function(){((b==null?0:b.leadingLabel)||(b==null?0:b.trailingLabel))&&(0,_.S)({className:_.ME(d)},function(){(b==null?0:b.leadingLabel)&&(0,_.S)({className:"yt-spec-bottom-sheet-layout__leading-label"},function(){_.En(b==null?void 0:b.leadingLabel)});(b==null?0:b.trailingLabel)&&(0,_.S)({className:"yt-spec-bottom-sheet-layout__trailing-label"},function(){_.En(b==null?void 0:b.trailingLabel)})});(b.primaryButton||b.secondaryButton)&&(0,_.S)({className:_.ME(c)},function(){b.secondaryButton&&(b==null?
void 0:b.Ye)!==0&&(0,_.S)({className:_.ME(f)},function(){_.WE(b==null?void 0:b.secondaryButton,{})});b.primaryButton&&(0,_.S)({className:_.ME(e)},function(){_.WE(b==null?void 0:b.primaryButton,{})})})})}};
Zya=function(a){var b=a.props.data.footer||{},c=b.primaryButton,d=b.secondaryButton,e,f,h;return{Ye:(e=a.props.data.footer)==null?void 0:e.Ye,leadingLabel:(f=a.props.data.footer)==null?void 0:f.leadingLabel,trailingLabel:(h=a.props.data.footer)==null?void 0:h.trailingLabel,children:{primaryButton:c&&_.H(_.Oo,null,function(){_.WE(c,{})}),secondaryButton:d&&_.H(_.Oo,null,function(){_.WE(d,{})})}}};
Xya=function(a){var b=a.props.data.wn,c,d=(c=a.props.data.header)==null?void 0:c.yi,e,f;return{PJ:a.B,OJ:a.G,NJ:a.A,title:(e=a.props.data.header)==null?void 0:e.title,subtitle:(f=a.props.data.header)==null?void 0:f.subtitle,Ah:a.Ah,children:{dF:b&&_.H(_.Oo,null,function(){b()}),yi:d&&_.H(_.Oo,null,function(){_.WE(d,{})})}}};
aza=function(a,b){if(!a.ub&&typeof MutationObserver!=="undefined"){var c={childList:!0};"MutationObserver"in window&&(a.ub=new MutationObserver(function(){if(typeof a.ub!=="undefined"){var d=a.zf.toString();a.Ii[d]===void 0&&(a.Ii[d]=b.children[0].clientHeight);a.o=a.Ii[d];a.yf=a.o>a.fd;a.fd=a.yf?a.fd:a.o}}),a.ub.observe(b,c))}};bza=function(){_.K().resolve(_.IH).Qe()};
cza=function(a){var b=_.K().resolve(_.IH),c=_.P(function(){b.Qe();return!0});return _.H("yt-contextual-sheet-layout",{class:"yt-contextual-sheet-layout-wiz","on:click":c},_.Km(a.header,function(){return _.H("div",{class:"yt-contextual-sheet-layout-wiz__header-container"},a.header())}),_.Km(a.content,function(){return _.H("div",{class:"yt-contextual-sheet-layout-wiz__content-container"},a.content())}),_.Km(a.footer,function(){return _.H("div",{class:"yt-contextual-sheet-layout-wiz__footer-container"},
a.footer())}))};
dza=function(a){function b(){return So(JH(e==null?void 0:e.footer))}function c(){return So(JH(e==null?void 0:e.content))}function d(){return So(JH(e==null?void 0:e.header))}var e=a.data;a={};a=_.ME("yt-sheet-view-model-wiz",(a["yt-sheet-view-model-wiz--contextual"]=!1,a));return _.H("yt-sheet-view-model",{class:a},_.Km(e,function(){return _.Km(!0,function(){return _.H(_.Oo,null,function(){_.WE(GH,{data:{wn:d,Jm:c,en:b,shouldShowIcons:!0}})})},function(){return _.H(cza,{header:function(){return _.H(_.F,null,
JH(e==null?void 0:e.header))},content:function(){return _.H(_.F,null,JH(e==null?void 0:e.content,{listViewModel:{Fh:!0}}))},footer:function(){return _.H(_.F,null,JH(e==null?void 0:e.footer))}})})}))};KH=function(){};eza=function(a,b,c){(c===void 0?0:c)?a.A=b:a.container=b};LH=function(a){return Nz()&&a.A?a.A:a.container};MH=function(a){return!!a.getOptions("captions")};NH=function(a){return(a=a.getOption("captions","track"))?!!a.displayName:!1};
fza=function(a){return a.getOption("captions","tracklist",{includeAsr:!0})};gza=function(a){return _.Ob(a,function(b){return b.languageCode==="en"})};hza=function(a,b){if(!b){if(MH(a))if(b=fza(a),b.length){var c=gza(b);b=c?c.displayName:b[0].displayName}else b="";else b="";return b}a=a.getOption("captions","track");return(c=a?a.displayName:null)!=null?c:b};
OH=function(a,b){if(NH(a))a.setOption("captions","stickyLoading",{}),a.setOption("captions","track",{});else{var c=_.Ob(fza(a),function(d){return d.displayName===b});a.setOption("captions","track",c)}};jza=function(a,b,c,d){d=d===void 0?!1:d;b=new iza(b||a,c||a);return{x:a.x+((d===void 0?0:d)?b.j*-1:b.j)*.2,y:a.y+((d===void 0?0:d)?b.o*-1:b.o)*.2}};iza=function(a,b){this.o=this.j=0;this.j=b.x-a.x;this.o=b.y-a.y};
lza=function(a){var b=kza(),c;return _.z(function(d){switch(d.j){case 1:return _.xa(d,2),_.x(d,a.match(b,{cacheName:"yt-appshell-assets"}),4);case 4:c=d.o;_.ya(d,3);break;case 2:_.Ba(d);case 3:return d.return(c)}})};PH=function(a){this.token=a};nza=function(a){var b,c;return _.z(function(d){if(d.j==1){var e=a.token;e=dr(mza(),e);return _.x(d,e,2)}if(d.j!=3)return b=d.o,_.x(d,b.get("auth","shell_identifier_key"),3);c=d.o;return d.return(c||"")})};
kza=function(){var a=typeof ServiceWorkerGlobalScope!=="undefined"&&self instanceof ServiceWorkerGlobalScope?oza.registration.scope:pza;a.endsWith("/")&&(a=a.slice(0,-1));return a+"/app_shell_home"};qza=function(a){a.map(function(b){return b.source}).join("|")};
rza=function(){var a,b,c,d;return _.z(function(e){switch(e.j){case 1:return _.x(e,PH.Qd(),2);case 2:b=e.o;if(!b)return e.return(!0);_.xa(e,3);return _.x(e,nza(b),5);case 5:a=e.o;_.ya(e,4);break;case 3:return c=_.Ba(e),_.bv(c),e.return(!0);case 4:return(d=_.L("DATASYNC_ID"))?d===a?e.return(!1):e.return(!0):e.return(!0)}})};_.sza=function(a){return _.z(function(b){return b.return(lza(a))})};
tza=function(a){var b,c;return _.z(function(d){if(d.j==1)return _.x(d,_.sza(a),2);if(b=d.o){var e;a:{if(b.headers&&(e=b.headers.get("date"))&&(e=Date.parse(e),!isNaN(e))){e=Math.round((0,_.Uq)()-e);break a}e=-1}c=e;if(c>-1)return d.return(c)}return d.return(-1)})};
uza=function(){var a=window.caches,b=_.QH()&&!!_.L("IS_SHELL_LOAD",!1),c,d;_.z(function(e){if(e.j==1)return c=-1,b?_.x(e,tza(a),3):(d=lv(),c=Math.round((0,_.Uq)()-d),e.L(2));e.j!=2&&(c=e.o);c>=0&&c<Math.pow(2,31)&&vv({appInstallDataAgeMs:c});_.wa(e)})};vza=function(){this.clientParams=new Map};_.wza=function(a){for(var b=_.u(a.clientParams.keys()),c=b.next();!c.done;c=b.next())c=c.value,c.startsWith("yt-mini-app-share")&&a.clientParams.delete(c)};xza=function(a){return a.shorts.isFullscreen};
yza=function(){var a=_.u(_.dF(!1)),b=a.next().value,c=a.next().value;return function(){c(!b)}};zza=function(a){return _.Lw(function(){return{value:a}})};
_.RH=function(a,b){var c=zza(a),d=zza(b);_.Iw(function(){c.value=a},[a]);_.Iw(function(){d.value=b},b&&b.length>=1?b:[void 0]);var e=_.Lw(function(){return{value:void 0}});if(a!==c.value||d.value!==b||e.value===void 0)e.value=WF(a,b);var f=yza();_.Jw(function(){function h(){var l=WF(c.value,b);l!==e.value&&(e.value=l,f())}var k=_.TF().subscribe(h);h();return k});return e.value};
_.SH=function(a,b,c){var d;b=c||((d=b==null?void 0:b.getBoundingClientRect().width)!=null?d:0)*Aza;a=a.thumbnails;if(!a)return"";d=0;c=Number.MAX_SAFE_INTEGER;for(var e=0,f=-Number.MAX_SAFE_INTEGER,h=0;h<a.length;h++){var k=a[h].width-b;k>=0&&k<=c?(d=h,c=k):k<0&&k>f&&(e=h,f=k)}var l=[];a.forEach(function(m){l.push(m.url)});return c<100||c<-f?a[d].url:a[e].url};
TH=function(a,b,c,d){this.wh=b;this.af=c;this.Cx=d;this.activeIndex=0;this.ZD=[];_.YF(xza);this.Zn=_.zu(56921);this.Go=_.zu(56922);this.backButtonVe=_.zu(22156)};
_.Cza=function(a,b){var c,d,e,f,h,k;return _.z(function(l){switch(l.j){case 1:return c=new _.ZG,(d=c.yb(b))&&a.wh.has(d)?_.x(l,a.wh.get(d),7):_.x(l,_.Bza(a,b),4);case 4:e=l.o;if(!d){l.L(3);break}f=_.YA(e,3600);return _.x(l,a.wh.put(d,new _.ZA(f)),3);case 7:e=(h=l.o)==null?void 0:_.$A(h);case 3:return e.replacementEndpoint&&(k=_.N(e.replacementEndpoint,_.eD))&&e.sequenceContinuation&&(k.sequenceParams=e.sequenceContinuation),l.return(e)}})};
_.Bza=function(a,b){var c,d,e;return _.z(function(f){switch(f.j){case 1:if(a.af){c=a.af;f.L(2);break}if(!a.Cx){_.Dp(Error("xd"));f.L(2);break}return _.x(f,a.Cx(),4);case 4:c=f.o;case 2:return _.x(f,(d=c)==null?void 0:d.yd(b),5);case 5:return e=f.o,f.return(e)}})};UH=function(){try{return!(!window.AudioContext&&!window.webkitAudioContext)}catch(a){return!1}};
VH=function(a,b,c){this.apiKey=a;this.endpoint=b;this.ba=c===void 0?.5:c;this.stream=null;this.state=0;this.O=this.A=!1;this.G=-1;this.languageCode="en-us";this.youtubeAssistantRequest=null;this.listeningHandler=function(){};this.audioDetectedHandler=function(){};this.completeHandler=function(){};this.errorHandler=function(){};this.stopHandler=function(){};this.transcriptionUpdateHandler=function(){};this.transcriptionCompleteHandler=function(){};this.Z=this.B=-1;this.W=[];this.J=!1;this.startCustomCsiTimeline=
!0;this.supportsCrossDomainXhr=!1;this.supportsHttpHeadersOverwriteParam=!0;this.prefetchResponseTimeoutMs=-1;this.o=b==="https://embeddedassistant-webchannel.googleapis.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel"||b==="https://embeddedassistant-clients6.youtube.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel"||b==="https://embeddedassistant-frontend-webchannel.googleapis.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel"||b==="https://embeddedassistant-frontend-clients6.youtube.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel";
new Sea};Dza=function(a,b){a.A&&(a.state!==2&&(a.state=2,WH("voz_ss"),a.listeningHandler()),b=new Uint8Array(b),b='{ "audioIn": "'+_.dc(b)+'" }',a.channel.send(b))};YH=function(a,b){var c=b===void 0?{}:b;b=c.kl===void 0?!0:c.kl;c=c.Pk===void 0?!0:c.Pk;a.Z>-1&&(clearTimeout(a.Z),a.Z=-1);XH(a);a.Ut(b);a.channel&&(a.A=!1,a.O=!0,a.channel.close(),a.channel=void 0);a.W=[];a.state=0;c&&a.stopHandler()};
Gza=function(a){var b={nF:a.supportsHttpHeadersOverwriteParam?"$httpHeaders":void 0,oF:"gsessionid",EI:!0,xF:Object.assign({},a.additionalHeaders,a.accessToken&&a.o?{Authorization:"Bearer "+a.accessToken}:{"x-goog-api-key":a.apiKey}),supportsCrossDomainXhr:a.supportsCrossDomainXhr};a.channel=new Wl(a.endpoint,b);a.channel.open();_.Hj(a.channel,"la",function(){var c=a.channel,d=c.send,e=a.o?"PLACEHOLDER":"example";e={config:{dialogStateIn:{languageCode:a.languageCode},deviceConfig:{deviceId:e,deviceModelId:e},
audioInConfig:{encoding:"LINEAR16",sampleRateHertz:16E3},audioOutConfig:{encoding:"MP3",sampleRateHertz:22050,volumePercentage:0}}};if(!a.o)e.config.requestType=4;else if(a.o&&a.youtubeAssistantRequest){var f=JSON.stringify(a.youtubeAssistantRequest);e.config.internalIn={youtubeAssistantS3InputJson:f}}d.call(c,e);a.A=!0;a.O=!1});_.Hj(a.channel,"ma",function(){a.O||(a.A=!1,a.channel=void 0,YH(a))});_.Hj(a.channel,"oa",function(c){if(c.data){XH(a);for(var d=0;d<c.data.length;d++){var e=a,f=c.data[d],
h=f.speechResults;if(h)a:{var k=[];f=[];var l=!1;h=_.u(h);for(var m=h.next();!m.done;m=h.next()){m=m.value;if(m.noSpeech){YH(e);e.errorHandler("NO_SPEECH");break a}m.transcript!==void 0&&m.stability!==void 0&&(m.stability<e.ba&&(l=!0),l?f.push(m.transcript):k.push(m.transcript))}if(k.length!==0||f.length!==0)k=k.join(" "),f=f.join(" "),e.J&&!e.o?e.o||e.completeHandler([k,f]):(l=e,h=k,m=f,WH("voz_sf"),l.transcriptionUpdateHandler(h,m),l.W=[h,m]),e.J&&(WH("voz_eou"),e.transcriptionCompleteHandler([k,
f]),e.o&&e.prefetchResponseTimeoutMs>=0&&Eza(e))}else e.o&&f.internalOut?(Fza(e),f.internalOut&&(f=f.internalOut.youtubeAssistantS3OutputJson,k=e.W,f&&(WH("voz_rqf"),e.completeHandler(k,JSON.parse(f))))):f.eventType==="END_OF_UTTERANCE"?e.J=!0:(WH("voz_err"),e.errorHandler("UNEXPECTED_ASSISTANT_RESPONSE"),_.bv(Error("yd")))}}});_.Hj(a.channel,"na",function(c){YH(a);switch(c.status){case 1:c="WEBCHANNEL_NETWORK_ERROR";break;case 2:c="WEBCHANNEL_SERVER_ERROR";break;default:c="WEBCHANNEL_UNKNOWN_ERROR"}a.errorHandler(c);
a.Cd(Error(c))})};Eza=function(a){Fza(a);a.G=setTimeout(function(){YH(a,{kl:!1,Pk:!0})},a.prefetchResponseTimeoutMs)};Fza=function(a){a.G>-1&&(clearTimeout(a.G),a.G=-1)};Hza=function(a){XH(a);a.B=window.setTimeout(function(){YH(a);a.errorHandler("NO_SPEECH")},11E3)};XH=function(a){a.B>-1&&(window.clearTimeout(a.B),a.B=-1)};WH=function(a){_.Av(a,void 0,"voice_assistant")};ZH=function(){VH.apply(this,arguments);this.j=this.processor=null;this.H=!1};
Jza=function(a,b){if(a.j)if(window.OfflineAudioContext){var c=a.j.sampleRate,d=b.inputBuffer.getChannelData(0);b=new window.OfflineAudioContext(1,d.length,16E3);for(var e=b.createBuffer(1,d.length,c),f=e.getChannelData(0),h=0,k=0;k<d.length;k++)f[k]=d[k],h+=f[k]*f[k];!a.H&&Math.sqrt(h/d.length)>.01&&(a.H=!0,a.audioDetectedHandler());d=b.createBufferSource();d.buffer=e;d.connect(b.destination);d.start(0);b.oncomplete=function(l){l=l.renderedBuffer.getChannelData(0);for(var m=Math.floor(16384E3/c),
n=new Int16Array(m),p=0;p<m;++p)n[p]=Math.max(-1,Math.min(1,l[p]))*32767;Dza(a,n.buffer)};b.startRendering()}else Iza(a,b)};Iza=function(a,b){var c=a.j.sampleRate,d=b.inputBuffer.getChannelData(0),e=Math.floor((c+8E3)/16E3);c=d.length/e;b=new Float32Array(c);for(var f=0;f<c;++f)b[f]=d[f*e];d=new Int16Array(c);for(e=0;e<c;++e)d[e]=Math.max(-1,Math.min(1,b[e]))*32767;Dza(a,d.buffer)};Kza=function(){this.o=!0;this.j={}};
Mza=function(a){for(var b=_.u(Object.values(Lza)),c=b.next();!c.done;c=b.next())c=c.value,a.j[c]=new Audio,a.j[c].src="/s/search/audio/"+c+".mp3",a.j[c].load()};$H=function(a,b){if(a.o!==!1&&b in a.j){for(var c=_.u(Object.values(a.j)),d=c.next();!d.done;d=c.next())d=d.value,a.isPlaying(d)&&d.pause();a.j[b].currentTime=0;a.j[b].play().catch(function(){})}};
Nza=function(a,b,c){var d={};switch(a){case "listening":d={headerText:b.placeholderHeader,Qf:"listening",Pf:b.microphoneButtonAriaLabel};break;case "timeout":d={headerText:b.promptHeader,Qf:"try-again",ys:b.promptMicrophoneLabel,Pf:b.promptMicrophoneLabel};break;case "microphone-off":d={headerText:b.microphoneOffPromptHeader,Qf:"try-again",ys:b.promptMicrophoneLabel,Pf:b.promptMicrophoneLabel};break;case "transcribing":(c==null?0:c.low)||(c==null?0:c.high)?d={IA:c==null?void 0:c.low,HA:c==null?void 0:
c.high,Qf:"speaking",Pf:b.microphoneButtonAriaLabel}:d={headerText:b.placeholderHeader,Qf:"speaking",Pf:b.microphoneButtonAriaLabel};break;case "processing":d={headerText:b.loadingHeader,Qf:"processing",Pf:b.microphoneButtonAriaLabel};break;case "offline":d={headerText:b.connectionErrorHeader,Qf:"try-again",ys:b.connectionErrorMicrophoneLabel,Pf:b.connectionErrorMicrophoneLabel};break;case "permission":d={headerText:b.permissionsHeader,hq:b.permissionsSubtext,Qf:"try-again",Pf:b.permissionsSubtext};
break;case "permission-denied":d={headerText:b.disabledHeader,hq:b.disabledSubtext,Qf:"try-again",Pf:b.disabledSubtext}}d.className=a;return d};aI=function(a,b){var c=this;this.store=a;this.service=b;this.stream=null;this.A=!0;this.o=this.G=!1;this.j=null;this.B=!1;this.J=function(){c.M("offline");c.stop()};this.j=new Kza;var d;(d=this.j)==null||Mza(d)};
Oza=function(a){var b,c;return _.z(function(d){switch(d.j){case 1:return _.x(d,navigator.permissions.query({name:"microphone"}),2);case 2:b=d.o;if(b.state==="granted")return d.return(!0);if(b.state==="denied")return a.M("permission-denied"),d.return(!1);a.M("permission");c={audio:{sampleSize:16,channelCount:1},video:!1};_.xa(d,3);return _.x(d,navigator.mediaDevices.getUserMedia(c),5);case 5:return a.stream=d.o,d.return(!0);case 3:return _.Ba(d),a.M("permission-denied"),d.return(!1)}})};
Pza=function(){var a=_.L("INNERTUBE_CONTEXT_HL"),b=_.L("INNERTUBE_CONTEXT_GL");return a.indexOf("-")>-1?a:a+"-"+b};Qza=function(a){this.A=a;this.o=[];this.j=!1};Tza=function(a,b){a.j||(a.j=!0,Rza(a),Sza(a,b,0))};Rza=function(a){_.wq(0,function(){a.A(0)},1)};Sza=function(a,b,c){a.o.push(_.wq(0,function(){var d=c<b-1?c+1:0;a.A(d);Sza(a,b,d)},1800))};
Vza=function(a,b,c,d){function e(h,k){if(b.value===k&&a!=null&&a.value){for(;a.value.firstChild;)a.value.removeChild(a.value.firstChild);a.value.classList.add("yt-spec-icon-shape");h(a.value,d)}}c=Uza(_.K().resolve(bI),c);if(typeof c==="function")b.value=null,e(c,null);else{var f=new _.nj(c.then,c);b.value=f;f.then(function(h){e(h,f)})}};
Wza=function(a){var b=a.data;var c=a.options;var d=_.Ow(),e=_.Lw(function(){return{value:null}});_.Jw(function(){return function(){var f;(f=e.value)==null||f.cancel()}});_.Iw(function(){Vza(d,e,b,c)},[b.iconName,b.iconStyle,b.iconSize,b.sx]);return _.H("span",{class:"yt-icon-shape",el:d,skip:!0})};
Xza=function(a){switch(a){case 1:return"badge-shape-wiz--ad";case 4:return"badge-shape-wiz--live";case 3:return"badge-shape-wiz--commerce";case 6:return _.M("enable_cairo_refresh_web")?"badge-shape-wiz--status-new-cairo":"badge-shape-wiz--status-new";default:return"badge-shape-wiz--default"}};
Zza=function(a){var b={};return _.H("yt-thumbnail-bottom-overlay-view-model",{class:_.ME("YtThumbnailBottomOverlayViewModelHost",(b.YtThumbnailBottomOverlayViewModelHostBackground=a.data.enableGradientBackground,b))},_.H("div",{class:_.ME("YtThumbnailBottomOverlayViewModelHostContainer")},Yza(a.data.progressBar),Yza(a.data.badge,{thumbnailBadgeViewModel:{class:"YtThumbnailBottomOverlayViewModelHostBadge"}})))};
_.cI=function(a){var b=a.data;return _.H("yt-thumbnail-overlay-title-view-model",{class:"yt-thumbnail-overlay-title-view-model",hidden:a.hidden===void 0?!1:a.hidden},_.zD(b.title,{className:"yt-thumbnail-overlay-title-view-model__title"}),b.subtitle?_.zD(b.subtitle,{className:"yt-thumbnail-overlay-title-view-model__subtitle"}):null)};$za=function(a,b){if(!a&&!b)return"medium";a=Math.max(a||0,b||0);return a>=256?"large":a>=96?"medium":"small"};
aAa=function(a){switch(a){case "small":return"yt-thumbnail-overlay-badge-view-model-wiz--small";case "medium":return"yt-thumbnail-overlay-badge-view-model-wiz--medium";case "large":return"yt-thumbnail-overlay-badge-view-model-wiz--large";default:return"yt-thumbnail-overlay-badge-view-model-wiz--medium"}};
bAa=function(a){switch(a){case 1:return"yt-thumbnail-view-model--aspect-ratio-2-by-3";case 3:return"yt-thumbnail-view-model--shorts-aspect-ratio-9-by-16";case 2:return"yt-thumbnail-view-model--aspect-ratio-1-by-1";default:return"yt-thumbnail-view-model--aspect-ratio-16-by-9"}};
dI=function(a){var b=a.data,c=$za(a.width,a.height),d=_.Ow();a.Og&&(a.Og.Zt=d,a.Og.thumbnail=b.image,a.Og.thumbnailOverlays=b.overlays,a.Og.thumbnailSize=c);var e=_.YF(pya),f,h=(f=a.aspectRatio)!=null?f:0;f=(b.image?_.Yta(b.image):h)<=1&&h===0;var k={alt:"",contentMode:f?"CONTENT_MODE_SCALE_ASPECT_FIT":"CONTENT_MODE_SCALE_ASPECT_FILL",targetWidth:a.width},l={};a:{if(!a.Ue&&!a.isClip)switch(c){case "large":var m="yt-thumbnail-view-model--large";break a;case "small":m="yt-thumbnail-view-model--small";
break a;default:m="yt-thumbnail-view-model--medium";break a}m=void 0}h=_.ME("yt-thumbnail-view-model",a.className,bAa(h),m,(l["yt-thumbnail-view-model--cinematic"]=f,l));l=void 0;var n,p;(m=f?(n=a.data)==null?void 0:(p=n.backgroundColor)==null?void 0:p.lightTheme:void 0)&&(l="background-color:"+_.fA(m,"1")+";");return _.H("yt-thumbnail-view-model",{class:h,style:l,el:d},_.Km(f,function(){return _.H("div",{class:"yt-thumbnail-view-model__blurred-image"},_.H(_.Oo,null,function(){_.rD(b.image,k)}))}),
_.H("div",{class:"yt-thumbnail-view-model__image"},_.H(_.Oo,null,function(){_.rD(b.image,k)}),_.H("div",{class:"video-preview-shim"})),cAa(b.overlays,{thumbnailOverlayBadgeViewModel:{thumbnailSize:c,isClip:a.isClip}}),_.Km(a.Rk,function(){return dAa(b.overlays,{thumbnailHoverOverlayViewModel:{alwaysShow:!0}})}),_.Km(a.Rk&&e,function(){return eAa(b.overlays)}),_.Km(a.isClip,function(){return _.H("div",{class:"yt-pinking"},_.H("svg",{class:"yt-pinking__pinking-left"},_.H("defs",null,_.H("pattern",{id:"left-pattern",
width:"4",height:"8",patternUnits:"userSpaceOnUse"},_.H("polygon",{class:"yt-pinking__pinking",points:"0,0 4,4 0,8"}))),_.H("rect",{fill:"url(#left-pattern)",width:"4",height:"100%"})),_.H("svg",{class:"yt-pinking__pinking-right"},_.H("defs",null,_.H("pattern",{id:"right-pattern",width:"4",height:"8",patternUnits:"userSpaceOnUse"},_.H("polygon",{class:"yt-pinking__pinking",points:"4,0 0,4 4,8"}))),_.H("rect",{fill:"url(#right-pattern)",width:"4",height:"100%"})))}))};
gAa=function(a){var b=_.u(_.dF(-1)),c=b.next().value,d=b.next().value,e=_.Lw(function(){return new Qza(d)});_.Jw(function(){Tza(e,a.data.thumbnails.length);return function(){if(e.j){e.j=!1;for(var h=e.o,k=0,l=h.length;k<l;k++)_.xr.Ma(h[k]);e.o.length=0}}});var f;return _.H("yt-collection-thumbnail-slideshow",{class:"yt-collection-thumbnail-slideshow"},(f=a.data.thumbnails)==null?void 0:f.map(function(h,k){var l=["yt-collection-thumbnail-slideshow__slideshow-thumbnail"];!a.data.primaryThumbnail&&k===
0&&l.push("yt-collection-thumbnail-slideshow--first-slide");k<=c&&l.push("yt-collection-thumbnail-slideshow--show-slide");k=l.join(" ");return _.H("div",{class:k},fAa(h,{thumbnailViewModel:{Ue:a.Ue}}))}))};hAa=function(a){switch(a){case "small":return"collections-stack-wiz__collection-stack1--small";case "medium":return"collections-stack-wiz__collection-stack1--medium";case "large":return"collections-stack-wiz__collection-stack1--large";default:return""}};
iAa=function(a){if(!a)return"";var b,c=(b=_.K().resolve(_.mp(_.LC)))==null?void 0:b(),d;if(!c&&((d=a.vibrantColorPalette)==null?0:d.iconInactiveColor))return"background-color:"+_.fA(a.vibrantColorPalette.iconInactiveColor,"1")+";";var e;return c&&((e=a.darkColorPalette)==null?0:e.iconInactiveColor)?"background-color:"+_.fA(a.darkColorPalette.iconInactiveColor,"1")+";":a.color?"background-color:"+_.fA(a.color,"1")+";":a.sampledThumbnailColor?(a=a.sampledThumbnailColor,"background-color:rgba("+a.red+
","+a.green+","+a.blue+");"):""};
_.eI=function(a){var b=a.data;var c=a.children;var d=iAa(b),e=(b==null?0:b.thumbnailSize)?b.thumbnailSize:"medium";a=!(b==null||!b.Cf);var f=!(b==null||!b.Oc),h={},k=(h["collections-stack-wiz__collection-stack1"]=!0,h[hAa(e)]=!0,h);if(b==null?0:b.MD)k[b.MD]=!0;e={};var l=(e["collections-stack-wiz__collection-stack2"]=a,e["collections-stack-wiz__collection-stack2--responsive-mode"]=b==null?void 0:b.an,e);if(b==null?0:b.ND)l[b.ND]=!0;return _.H("yt-collections-stack",{class:"collections-stack-wiz",
hidden:!f},_.Km(b,function(){return _.H("div",null,_.Km(b.Cf,function(){return _.H("div",{class:_.ME(l),style:d})}),_.H("div",{class:_.ME(k),style:d}),c)}))};jAa=function(a){var b=_.u(_.dF(!1)),c=b.next().value,d=b.next().value;_.Jw(function(){if(a){var e=_.K().resolve(_.mp(tG));if(e){var f={Ge:a,Ey:function(){d(!0)},Dy:function(){d(!1)}};e.registerElement(f);return function(){uG(e,f)}}}});return c};kAa=function(a,b,c,d){a.style.setProperty("--yt-slider-shape-gradient-percent",(b-c)/d*100+"%")};
lAa=function(a,b){return function(c){a&&_.HC(a);b&&b(c)}};_.mAa=function(a,b){return _.GA(a.entities,"pageHeaderEntity",b)};
nAa=function(a,b,c,d,e){var f=f===void 0?!0:f;var h={};a=(h["yt-spec-dialog-layout__dialog-header-container"]=!0,h["yt-spec-dialog-layout__dialog-header"]=!0,h["yt-spec-dialog-layout__dialog-header--dialog-header-above-asset"]=e===void 0?!1:e,h["yt-spec-dialog-layout--dialog-layout-center-align"]=a===1&&f,h);return _.H("div",{class:_.ME(a)},b&&f?_.H("div",{class:"yt-spec-dialog-layout__dialog-leading-action-header"},_.H(b,null)):null,d?_.H("div",{class:"yt-spec-dialog-layout__dialog-layout-title"},
_.H(d,null)):null,c?_.H("div",null,_.H(c,null)):null)};
_.hI=function(a){var b=a.Fk;var c=a.icon;var d=a.qF;var e=a.asset;var f=a.Di;var h=a.assetType;var k=a.title;var l=a.vc;var m=a.DG;var n=a.EG;var p=a.RJ;var q=a.SJ;var r=a.wg===void 0?0:a.wg;var t=a.content;var w=a.Hb;var y=a.ym===void 0?0:a.ym;var B=a.buttonStyle===void 0?0:a.buttonStyle;var A=a.primaryButton;var E=a.pc;var I=a.secondaryButton;var G=a.Xc;var X=a.contentAlignment===void 0?0:a.contentAlignment;var ca=a.isFullscreen===void 0?!1:a.isFullscreen;var pa=a.width;var qa=a.maxHeight===void 0?
0:a.maxHeight;var ja=a.wn;var Fa=a.Mx===void 0?!1:a.Mx;var za=a.ox;var wb=a.en;var ka=a.Kx===void 0?!1:a.Kx;var oa=a.Nw;a="";pa!==void 0&&(a="width: "+pa+"px;");pa=_.Ow(function(Ra){b==null||b(Ra)});var Aa={};h=(Aa["yt-spec-dialog-layout"]=!0,Aa["yt-spec-dialog-layout--dialog-layout-fullscreen"]=ca,Aa["yt-spec-dialog-layout--dialog-layout-responsive"]=!ca,Aa["yt-spec-dialog-layout--dialog-layout-extended-max-height"]=qa===1,Aa["yt-spec-dialog-layout--dialog-layout-asset-inset"]=h===1,Aa);ca={};ca=
(ca["yt-spec-dialog-layout__dialog-layout-footer-container"]=!0,ca["yt-spec-dialog-layout__dialog-layout-footer"]=!0,ca["yt-spec-dialog-layout--dialog-buttons-stacked"]=y===2,ca["yt-spec-dialog-layout__dialog-layout-footer--dialog-buttons-inline-end"]=y===1,ca);qa={};qa=(qa["yt-spec-dialog-layout__dialog-layout-button"]=!0,qa["yt-spec-dialog-layout__dialog-layout-button--dialog-buttons-inline-stretched"]=y===0||y===2,qa);B={style:B===1?"call-to-action":"mono",type:"filled",state:"active",size:"M"};
Aa={};Aa=(Aa["yt-spec-dialog-layout__dialog-layout-button"]=!0,Aa["yt-spec-dialog-layout__dialog-layout-button--dialog-buttons-inline-stretched"]=y===0||y===2,Aa);y={};y=(y["yt-spec-dialog-layout__dialog-layout-icon"]=!0,y["yt-spec-dialog-layout__dialog-layout-icon--dialog-layout-icon-above-media"]=(!!e||!!f)&&r===1,y["yt-spec-dialog-layout__dialog-layout-icon--dialog-layout-icon-center-align"]=X===1,y);c=fI(c,d);e=fI(e,f,{className:"yt-spec-dialog-layout__dialog-layout-asset-item"});k=gI(k,l);m=
gI(m,n);p=gI(p,q);t=gI(t,w);za=gI(ja,za);oa=gI(wb,oa);ja=Fa||ja;wb=ka||wb;A=fI(A,E,{buttonOverrides:B,className:_.ME(qa)});I=fI(I,G,{buttonOverrides:{style:"mono",type:"outline",state:"active",size:"M"},className:_.ME(Aa)});G=(!!k||!!m||!!p)&&r===0;E={};E=(E["yt-spec-dialog-layout__dialog-layout-container"]=!0,E["yt-spec-dialog-layout--dialog-layout-center-align"]=X===1,E["yt-spec-dialog-layout__dialog-layout-container--dialog-layout-container-top-padding"]=!k&&!za||!!e&&r===0,E);return _.H("dialog-layout",
{el:pa,class:_.ME(h),style:a},c?_.H("div",{class:_.ME(y)},_.H(c,null)):null,ja&&za?_.H("div",{class:"yt-spec-dialog-layout__dialog-header-container"},_.H(za,null)):_.H(_.F,null,G?nAa(X,m,p,k,!!e):null,e?_.H("div",{class:"yt-spec-dialog-layout__dialog-layout-asset"},_.H(e,null)):null),_.H("div",{class:_.ME(E)},k&&!za&&r===1?nAa(X,m,p,k,!1):null,t?_.H("div",{class:"yt-spec-dialog-layout__dialog-layout-content"},_.H("div",{class:"yt-spec-dialog-layout__dialog-layout-content-inner"},_.H(t,null))):null,
wb&&oa?_.H("div",{class:"yt-spec-dialog-layout__dialog-layout-footer-container"},_.H(oa,null)):null,A||I?_.H("div",{class:_.ME(ca)},I?_.H(I,null):null,A?_.H(A,null):null):null))};gI=function(a,b){if(a)return function(){return _.H(_.Oo,null,function(){a()})};if(b)return b};fI=function(a,b,c){c=c===void 0?{}:c;if(a)return function(){return _.H(_.Oo,null,function(){a(c)})};if(b)return function(){return _.H(b,Object.assign({},c))}};
_.pAa=function(a){var b=a.Gv;var c=a.Pw;var d=a.children;var e=a.zu;a=a.UD;a=(_.M("web_animated_actions")||_.M("mweb_animated_actions")||_.M("web_animated_actions_v2"))&&!a;return _.H("yt-animated-action",{class:"animated-action__container "+e},_.H("div",{class:"animated-action__content-with-background"},_.Km(a,function(){return _.H(oAa,{zu:"animated-action__background-container",MG:"animated-action__background",lottiePlayerProps:{animationRef:b,animationConfig:{name:"animated-actions-background",
autoplay:!1,loop:!1,path:"https://www.gstatic.com/youtube/img/lottie/subscribe_action/subscribe_action_container_"+(iI()?"dark":"light")+(_.M("enable_cairo_refresh_signature_moments_web")?"_v5":"")+".json"}}})}),d),_.Km(a,function(){return _.H(oAa,{lottiePlayerProps:{animationRef:c,animationConfig:{name:"animated-actions-foreground",autoplay:!1,loop:!1,path:_.M("enable_cairo_refresh_signature_moments_web")?"https://www.gstatic.com/youtube/img/lottie/subscribe_action/subscribe_action_sparkles_"+(iI()?
"dark":"light")+"_v4.json":"https://www.gstatic.com/youtube/img/lottie/subscribe_action/subscribe_action_sparkle_"+(iI()?"dark":"light")+".json"}}})}))};oAa=function(a){return _.H("div",{class:"animated-action__lottie "+a.zu},_.H(_.RE,{className:a.MG,lottiePlayerProps:a.lottiePlayerProps}))};iI=function(){var a,b;return(b=(a=_.K().resolve(_.mp(_.LC)))==null?void 0:a())!=null?b:!1};
_.kI=function(a){function b(){var y=e(),B,A,E;return(E=y==null?void 0:(B=y.lottiePlayerProps.animationConfig)==null?void 0:(A=B.rendererSettings)==null?void 0:A.className)!=null?E:""}function c(){if(e()){var y=e().lottiePlayerProps.animationConfig.path;return jI.get(y)||n()}}function d(){var y,B;return(B=(y=e())==null?void 0:y.lottiePlayerProps.animationConfig.name)!=null?B:""}function e(){a:{var y=f();var B=k==null?void 0:k(),A;B=(B==null?void 0:B.useDarkTheme)||((A=_.K().resolve(_.mp(_.LC)))==null?
void 0:A());A=_.M("enable_cairo_refresh_signature_moments_web");switch(y){case "LIKE":y="animated_like_icon_";y=A?y+(B?"dark_v4":"light_v4"):y+(B?"v2_dark":"v2_light");y={lottiePlayerProps:{animationConfig:{name:y,path:"https://www.gstatic.com/youtube/img/lottie/animated_like_icon/"+y+".json",loop:!1,autoplay:!1,rendererSettings:{viewBoxOnly:!0,className:"animated-like-icon"}}},totalFrames:A?60:119,Mn:!0};break a;case "NOTIFICATION_BELL":y={lottiePlayerProps:{animationConfig:{name:B?"notification_bell_dark":
"notification_bell_light",path:"https://www.gstatic.com/youtube/img/lottie/subscribe_action/subscribe_action_bell_icon_"+(B?"dark":"light")+".json",loop:!1,autoplay:!1,rendererSettings:{className:"animated-subscribe-icon"}}},totalFrames:79,Mn:!1};break a}y=void 0}return y}var f=a.ek;var h=a.active;var k=a.themeOverride;var l=a.animationRef===void 0?{}:a.animationRef;var m=a.gp;a=_.u(_.$o());var n=a.next().value,p=a.next().value;a=_.u(_.$o(!1));var q=a.next().value;a=a.next().value;var r=qAa(a),t=
void 0,w=void 0;_.Xo(function(){var y=e(),B=d(),A=c(),E=q(),I=h();if(y&&(w!==B&&(w=B,t=I,r.animationConfig=y.lottiePlayerProps.animationConfig,r.animationRef=l,A&&(r.animationConfig.animationData=A,r.animationConfig.path=void 0),B=y.lottiePlayerProps.animationConfig.path,!jI.get(B)&&y.Mn&&B&&rAa(B,p)),!(E||y.Mn&&!A))){if(A=!l.lottieEl)I?(E=y.totalFrames,r.animationConfig.initialSegment=[E-1,E]):r.animationConfig.initialSegment=void 0;if(t!==I&&!A)if(I){var G;(G=l.lottieEl)==null||G.playSegments([0,
y.totalFrames],!0)}else{var X;(X=l.lottieEl)==null||X.playSegments([0,1],!0)}t=I}});return _.H("animated-icon",{class:"YtAnimatedIconHost"},_.H(_.O,{C:function(){var y,B;return!((y=e())==null||!y.lottiePlayerProps.animationConfig.path||((B=e())==null?0:B.Mn)&&!c()||q())},ia:function(){return _.H(_.Vo,null,function(){return _.H("div",null,_.H(_.Oo,null,function(){m==null||m()}))})}},function(){return _.H(_.QE,{lottiePlayerProps:r,animationName:d,className:b,animationRef:l})}))};
rAa=function(a,b){_.xr.wb(function(){var c,d,e;return _.z(function(f){switch(f.j){case 1:return _.xa(f,2),_.x(f,_.PE(),4);case 4:return _.x(f,fetch(a),5);case 5:return c=f.o,_.x(f,c.json(),6);case 6:d=f.o;jI.set(a,d);requestAnimationFrame(function(){b(d)});_.ya(f,0);break;case 2:e=_.Ba(f),_.bv(e),_.wa(f)}})})};qAa=function(a){function b(){a(!0)}var c={animationConfig:{},listeners:{}};c.listeners.CP=b;c.listeners.error=b;c.listeners.DP=function(){a(!1)};return c};
sAa=function(a){var b=_.u(_.Nw(a.ek,a.active)),c=b.next().value;b=b.next().value;var d=_.u(a.themeOverride?_.Nw(a.themeOverride):[void 0]).next().value;return _.H("div",null,_.H(_.kI,{ek:c,active:b,themeOverride:d,animationRef:a.animationRef,gp:a.gp}))};tAa=function(){var a,b;return(b=(a=_.K().resolve(_.mp(_.LC)))==null?void 0:a())!=null?b:!1};
_.lI=function(a){function b(q){var r;return _.z(function(t){if(t.j==1)return(r=!q.startsWith(e.uniqueId)||!e.enabled)?t.L(2):_.x(t,jwa(),3);t.j!=2&&(r=t.o);if(r)return t.return();c();setTimeout(function(){d()},1500);_.wa(t)})}function c(){p(!_.M("enable_cairo_refresh_signature_moments_web"));setTimeout(function(){m(!0);var q;(q=f.lottieEl)==null||q.goToAndPlay(0);var r;(r=h.lottieEl)==null||r.goToAndPlay(0)},150)}function d(){m(!1);setTimeout(function(){p(!1)},450)}var e=a.settings;a=a.children;var f=
_.$E(),h=_.$E(),k=_.u(_.dF(!1)),l=k.next().value,m=k.next().value;k=_.u(_.dF(!1));var n=k.next().value,p=k.next().value;e||(e={uniqueId:"this is not intended behavior",enabled:!1,Oc:!1,Pl:[]},_.bv(new _.oq("Smartimation Settings is undefined")));_.Iw(function(){if(e.Oc)return e.enabled?fwa(b):(d(),gwa(b)),function(){gwa(b)}},[e.enabled,e.Oc]);_.Iw(function(){if(e.Oc)return hwa(e),function(){iwa(e)}},[e.Pl.join("")]);return _.H("yt-smartimation",{class:uAa(l,n,e)},_.Km(e.Oc,function(){return _.H("div",
{class:"smartimation__border"},_.H(_.RE,{className:"smartimation__border-gradient",lottiePlayerProps:{animationRef:f,animationConfig:{name:e.uniqueId+"-border",autoplay:!1,loop:!1,path:"https://www.gstatic.com/youtube/img/lottie/smartimations/smartimation_border_"+(tAa()?"dark":"light")+(_.M("enable_cairo_refresh_signature_moments_web")?"_v2":"")+".json"}}}))}),_.Km(e.Oc&&n,function(){return _.H("div",{class:"smartimation__overlay"},_.H(_.RE,{className:"smartimation__background-lottie",lottiePlayerProps:{animationRef:h,
animationConfig:{name:e.uniqueId+"-background",autoplay:!1,loop:!1,path:"https://www.gstatic.com/youtube/img/lottie/smartimations/smartimation_container_"+(tAa()?"dark":"light")+".json",rendererSettings:{viewBoxOnly:!0}}}}))}),_.H("div",{class:"smartimation__content"},a))};
uAa=function(a,b,c){var d=["smartimation"];c.Oc&&d.push("smartimation--experiment-enabled");a&&d.push("smartimation--active-border");b&&d.push("smartimation--active-background");try{var e;var f=(e=window.CSS)!=null&&e.supports?window.CSS.supports("-webkit-mask","linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)")&&(window.CSS.supports("-webkit-mask-composite","xor")||window.CSS.supports("mask-composite","exclude")):!1}catch(h){_.bv(new _.oq("Smartimation CSS.supports threw an error")),
f=!1}f&&d.push("smartimation--enable-masking");return d.join(" ")};vAa=function(a){if(!a)return{};var b=a.foregroundTitleColor,c=a.backgroundColor;a=a.borderColor;var d="text";a?d="outline":c&&(d="filled");return{type:d,customColors:{color:b?_.eA(b):void 0,backgroundColor:c?_.eA(c):void 0,borderColor:a?_.eA(a):void 0}}};_.mI=function(a){return{runs:[{text:a}]}};
_.nI=function(a){if(a&&a.simpleText)return a.simpleText;var b="";if(a&&a.runs)for(var c=0;c<a.runs.length;c++)a.runs[c].text&&(b+=a.runs[c].text);return b};
BAa=function(a){var b=a.renderer;var c=a.ro;var d=a.pA;var e=a.vo;var f=a.uE;var h=a.forceModernIconButton;var k=a.gn;var l=a.isSubscribe===void 0?!1:a.isSubscribe;var m=a.dG===void 0?!1:a.dG;var n=a.gK===void 0?!1:a.gK;a=wAa(b);l&&(a.style="mono",a.type="filled");f=!b.icon||!f&&b.text?b.icon?b.iconPosition==="BUTTON_ICON_POSITION_TYPE_RIGHT_OF_TEXT"?"trailing":"leading":void 0:h?"icon-only":"icon-only-40";f==="icon-only-40"&&(a.type="text");var p;h=Object;l=h.assign;n=xAa(b,n);m=!!b.isSelected||
!_.M("web_propagate_is_pressed_killswitch")&&!!m;k=k===void 0?b.isDisabled:k;var q=yAa(b),r,t,w,y=((r=b.accessibilityData)==null?void 0:(t=r.accessibilityData)==null?void 0:t.label)||((w=b.accessibility)==null?void 0:w.label);r=y?y:_.nI(b.text);c=_.zAa(b,c,d);d=AAa(b);d!=null&&d.length?(d=_.CC({innertubeCommand:Cta(d),ib:!0}),d=EC(d)?d:void 0):d=void 0;return l.call(h,{},a,n,{iconPosition:f},e,{focused:!1,toggled:m,disabled:k,rg:q,accessibilityLabel:r,onTap:c,vb:d},vAa((p=b.colorData)==null?void 0:
p.basicColorPaletteData),{oneOffCustomTextWrap:b.oneOffCustomTextWrap})};_.zAa=function(a,b,c){return function(d){var e=AAa(a);b(e,d);if(!c)for(d=_.u(e),e=d.next();!e.done;e=d.next())_.vF(e.value)}};AAa=function(a){var b=[];a.command&&b.push(a.command);a.serviceEndpoint&&b.push(a.serviceEndpoint);a.navigationEndpoint&&b.push(a.navigationEndpoint);return b};
yAa=function(a){if(a.text){var b=_.jC(a.text);return function(c){var d=c.lineBreakMode;c=c.textAlignment;d&&(b.lineBreakMode=d);c&&(b.alignment=c);_.xD(b,{pb:!0,noWrap:!d})}}};xAa=function(a,b){if(b)switch(a.size){case "SIZE_SMALL":return{size:"S"};case "SIZE_LARGE":return{size:"L"};case "SIZE_XLARGE":return{size:"XL"};case "SIZE_XSMALL":return{size:"XS"};default:return{size:"M"}}switch(a.style){case "STYLE_COMPACT_GRAY":return{size:"S"};default:return{size:"M"}}};
wAa=function(a){switch(a.style){case "STYLE_VISIBLY_DISABLED":return{style:"call-to-action",type:"text",state:"disabled"};case "STYLE_PRIMARY":case "STYLE_PAYMENT":case "STYLE_CALL_TO_ACTION_FILLED":return{style:"call-to-action",type:"filled",state:"active"};case "STYLE_SUGGESTIVE":case "STYLE_SUGGESTED_ACTION":return{style:"call-to-action",type:"outline",state:"active"};case "STYLE_BLUE_TEXT":case "STYLE_ALERT_INFO":return{style:"call-to-action",type:"text",state:"active"};case "STYLE_OVERLAY":return{style:"overlay",
type:"filled",state:"active"};case "STYLE_WHITE_WITH_BORDER":return{style:"overlay",type:"outline",state:"active"};case "STYLE_LIGHT_TEXT":return{style:"overlay",type:"text",state:"active"};case "STYLE_MONO_FILLED_OVERLAY":return{style:"overlay",type:"filled",state:"active"};case "STYLE_MONO_TONAL_OVERLAY":return{style:"overlay",type:"tonal",state:"active"};case "STYLE_MONO_FILLED":case "STYLE_DESTRUCTIVE":return{style:"mono",type:"filled",state:"active"};case "STYLE_DEFAULT":case "STYLE_COMPACT_GRAY":case "STYLE_MONO_TONAL":return{style:"mono",
type:"tonal",state:"active"};case "STYLE_INACTIVE_OUTLINE":case "STYLE_MONO_OUTLINE":return{style:"mono",type:"outline",state:"active"};case "STYLE_BLUE_TEXT_WITH_INVERSE_THEME":return{style:"call-to-action-inverse",type:"text",state:"active"};case "STYLE_DARK_ON_BLACK":return{style:"overlay",type:"tonal",state:"active"};case "STYLE_BRAND_GRADIENT":return{style:"brand-gradient",type:"filled",state:"active"};default:return{style:"mono",type:"text",state:"active"}}};
DAa=function(a,b,c){if(a){var d=a.likeStatus;return b?{style:{styleType:"STYLE_TEXT"},toggledStyle:{styleType:"STYLE_DEFAULT_ACTIVE"},isToggled:d==="LIKE",isDisabled:!a.likesAllowed,defaultIcon:{iconType:c},defaultText:d==="LIKE"?a.likeCountWithUnlikeText:a.likeCountText,toggledText:d==="LIKE"?a.likeCountText:a.likeCountWithLikeText,defaultNavigationEndpoint:CAa(a,"LIKE"),defaultServiceEndpoint:oI(a,"LIKE"),toggledServiceEndpoint:oI(a,"INDIFFERENT"),defaultTooltip:_.nI(a.likeCountTooltipText),toggledTooltip:_.nI(a.likeCountTooltipText),
targetId:a.targetId}:{style:{styleType:"STYLE_TEXT"},toggledStyle:{styleType:"STYLE_DEFAULT_ACTIVE"},isToggled:d==="DISLIKE",isDisabled:!a.likesAllowed,defaultIcon:{iconType:c},defaultText:d==="DISLIKE"?a.dislikeCountWithUndislikeText:a.dislikeCountText,toggledText:d==="DISLIKE"?a.dislikeCountText:a.dislikeCountWithDislikeText,defaultNavigationEndpoint:CAa(a,"DISLIKE"),defaultServiceEndpoint:oI(a,"DISLIKE"),toggledServiceEndpoint:oI(a,"INDIFFERENT"),defaultTooltip:_.nI(a.dislikeCountTooltipText),
toggledTooltip:_.nI(a.dislikeCountTooltipText)}}};CAa=function(a,b){if(b==="LIKE")return a.likeCommand;if(b==="DISLIKE")return a.dislikeNavigationEndpoint};oI=function(a,b){var c;return(c=a.serviceEndpoints)==null?void 0:c.find(function(d){var e;return((e=_.N(d,_.pI))==null?void 0:e.status)===b})};
HAa=function(a){var b=a.renderer;var c=a.subscribed;var d=a.ja;a=a.config;var e=EAa(b,c);d&&(e.style="overlay");var f,h,k,l;d=c&&((f=b.unsubscribeAccessibility)==null?void 0:(h=f.accessibilityData)==null?void 0:h.label)||((k=b.subscribeAccessibility)==null?void 0:(l=k.accessibilityData)==null?void 0:l.label);f=b.longSubscriberCountText?d+" "+_.nI(b.longSubscriberCountText):d;var m;a:switch((m=b.style)==null?void 0:m.styleType){case "COMPACT_GRAY":case "COMPACT_RED":m={size:"S"};break a;default:m=
{size:"M"}}return Object.assign({},e,m,{focused:!1,toggled:c,accessibilityLabel:f,rg:FAa(b,c),onTap:GAa(b,a,c)})};GAa=function(a,b,c){return function(d){var e=IAa(a,c);if(e){var f={subscribeButtonRenderer:a};_.vF(e,{form:{currentData:f,sourceData:f,event:d}})}b&&b.stopPropagation&&d.stopPropagation()}};
IAa=function(a,b){if(a.signInEndpoint&&!_.M("web_subscribe_sign_in_endpoint_killswitch"))return a.signInEndpoint;if(b){if(a.serviceEndpoints)return a.serviceEndpoints[1];if(a.onUnsubscribeEndpoints)return a.onUnsubscribeEndpoints[0]}else{if(a.serviceEndpoints)return a.serviceEndpoints[0];if(a.onSubscribeEndpoints)return a.onSubscribeEndpoints[0]}};FAa=function(a,b){if(a=b?a.subscribedButtonText:a.unsubscribedButtonText){var c=_.jC(a);return function(){_.xD(c,{pb:!0,noWrap:!0})}}};
qI=function(a,b){return b||(a==null?0:a.isChannelDelegate)?"disabled":"active"};
EAa=function(a,b){var c;switch((c=a.style)==null?void 0:c.styleType){case "COMPACT_GRAY":return{style:"mono",type:"tonal",state:qI(a)};case "MEDIUM_GRAY":return{style:"mono",type:"tonal",state:qI(a)};case "VISIBLY_DISABLED":return{style:"mono",type:"text",state:qI(a,!0)};case "OVERLAY":return b?{style:"overlay",type:"tonal",state:qI(a)}:{style:"overlay",type:"filled",state:qI(a)};default:return b?{style:"mono",type:"tonal",state:qI(a)}:{style:"mono",type:"filled",state:qI(a)}}};
NAa=function(a){var b=a.renderer;var c=a.element;var d=a.toggled;var e=a.ro;var f=a.yD;var h=a.vo;var k=a.uE;var l=a.forceModernIconButton;var m=a.gn;var n=a.vS;var p=a.oh;a=JAa(b,d);k=!b.defaultIcon||!k&&b.defaultText?b.defaultIcon?"leading":void 0:l?"icon-only":"icon-only-40";k==="icon-only-40"&&(a.type="text");var q;l=Object;var r=l.assign,t;a:switch((t=b.style)==null?void 0:t.styleType){case "STYLE_COMPACT_GRAY":t={size:"S"};break a;default:t={size:"M"}}var w=!!d;n=KAa(b,d,n,p);var y,B,A,E;var I=
(p=((B=d?b.toggledAccessibilityData||((I=b.toggledText)==null?void 0:I.accessibility):b.accessibilityData||((y=b.defaultText)==null?void 0:y.accessibility))==null?void 0:(A=B.accessibilityData)==null?void 0:A.label)||((E=b.accessibility)==null?void 0:E.label))?p:_.nI(d&&b.toggledText||b.defaultText);m=m===void 0?b.isDisabled:m;c=LAa(b,d,e,c,f);d=MAa(b,d);d!=null&&d.length?(d=_.CC({innertubeCommand:Cta(d),ib:!0}),d=EC(d)?d:void 0):d=void 0;return r.call(l,{},a,t,{iconPosition:k},h,{focused:!1,toggled:w,
toggleable:!0,rg:n,accessibilityLabel:I,disabled:m,onTap:c,vb:d},vAa((q=b.colorData)==null?void 0:q.basicColorPaletteData))};
LAa=function(a,b,c,d,e){e=e===void 0?{}:e;return function(f){var h,k;var l=((h=a.loggingDirectives)==null?0:(k=h.clientVeSpec)==null?0:k.uiType)?_.zu(a.loggingDirectives.clientVeSpec.uiType):void 0;e.clickedVisualElement||(e.clickedVisualElement=l);l=MAa(a,b);c(l,f);l=_.u(l);for(h=l.next();!h.done;h=l.next()){h=h.value;k=d;var m=f,n=e;n.form?n.form.event=m:n.form={element:k,event:m};_.vF(h,n)}}};
MAa=function(a,b){var c=[];b?(a.toggledCommand&&c.push(a.toggledCommand),a.toggledServiceEndpoint&&c.push(a.toggledServiceEndpoint)):(a.defaultCommand&&c.push(a.defaultCommand),a.defaultServiceEndpoint&&c.push(a.defaultServiceEndpoint),a.defaultNavigationEndpoint&&c.push(a.defaultNavigationEndpoint));return c};
KAa=function(a,b,c,d){if(c&&(c=OAa(a,b,d)))return c;if(a=b&&a.toggledText||a.defaultText){var e=_.jC(a);return function(f){var h=f.lineBreakMode;f=f.textAlignment;h&&(e.lineBreakMode=h);f&&(e.alignment=f);_.xD(e,{pb:!0,noWrap:!h})}}};OAa=function(a,b,c){if((a=_.nI(b&&a.toggledText||a.defaultText))&&c&&!isNaN(Number(c.numberValue)))return c.Dd=a,b&&(c.numberValue+=1),function(){_.U(Fwa)(c)}};
JAa=function(a,b){var c=a.toggledStyle||a.style,d;switch((d=b?c:a.style)==null?void 0:d.styleType){case "STYLE_VISIBLY_DISABLED":return{style:"call-to-action",type:"text",state:"disabled"};case "STYLE_PRIMARY":case "STYLE_PAYMENT":return{style:"call-to-action",type:"filled",state:"active"};case "STYLE_SUGGESTIVE":return{style:"call-to-action",type:"outline",state:"active"};case "STYLE_BLUE_TEXT":return{style:"call-to-action",type:"text",state:"active"};case "STYLE_DESTRUCTIVE":return{style:"mono",
type:"filled",state:"active"};case "STYLE_OVERLAY":return{style:"overlay",type:"filled",state:"active"};case "STYLE_LIGHT_TEXT":return{style:"overlay",type:"text",state:"active"};case "STYLE_MONO_TONAL_OVERLAY":return{style:"overlay",type:"tonal",state:"active"};case "STYLE_DEFAULT":case "STYLE_COMPACT_GRAY":return{style:"mono",type:"tonal",state:"active"};case "STYLE_INACTIVE_OUTLINE":return{style:"mono",type:"outline",state:"active"};default:return{style:"mono",type:"text",state:"active"}}};
PAa=function(a,b){_.U(_.eI)(Object.assign({},a,{children:_.dC(b)}))};
rI=function(a,b){function c(){d.A&&(d.W=_.Sa.caches.open("yt-icons").then(function(e){return d.Z=e}).catch(function(){d.A=!1}))}var d=this;this.ta=a;this.rm=b;this.J={};this.H={};this.j={};this.G=this.counter=0;this.A=!!_.Sa.caches;this.W=Promise.resolve(void 0);this.Z=void 0;this.o=null;this.O=_.M("wil_icon_use_mask_rendering")?1:0;this.pa=_.M("wil_icon_network_first");this.xa=_.M("wil_icon_render_when_idle");this.Ba=!_.M("wil_icon_load_immediately");this.B=!1;this.B=QAa(this);this.B instanceof Promise?
this.B.then(c):c()};SAa=function(a,b){var c,d,e,f,h;_.z(function(k){if(!b.length)return k.return([]);c=[];d=_.u(b);for(e=d.next();!e.done;e=d.next())f=e.value,(h=a.Wf(f))&&!a.H[h.url]&&c.push(RAa(a,h).then(function(){}).catch(function(){}));return k.return(Promise.all(c))})};Uza=function(a,b){var c=a.Wf(b);if(!c)throw Error("zd`"+b.iconName);return a.O===1?sI(a,c,a.O):(b=a.H[c.url])?(b=b.cloneNode(!0),TAa(a,b),sI(a,c,a.O,b)):RAa(a,c).then(function(d){var e=d?0:1;TAa(a,d);return sI(a,c,e,d)})};
TAa=function(a,b){if(b){a.counter+=1;a="_yt"+a.counter;b=[b].concat(_.ma(b.getElementsByTagName("*")));b=_.u(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.tagName==="style"&&c.textContent)c.textContent=tI(c.textContent,a,!0);else for(var d=_.u(c.attributes),e=d.next();!e.done;e=d.next()){e=e.value;e.name==="id"&&(e.value+=a);["mask","fill","clip-path"].includes(e.name)&&(e.value=tI(e.value,a));if(e.name==="style"){var f=c.style;try{f.cssText=tI(f.cssText,a,!0)}catch(n){var h=void 0,k=void 0,
l=void 0,m=void 0;uI({error:((h=n)==null?void 0:(l=(k=h).toString)==null?void 0:l.call(k))||"",el:c.outerHTML,style:!!f,cssText:(m=f)==null?void 0:m.cssText})}}e.name==="xlink:href"&&(e.value=e.value.replace(/#(.*)/,"#$1"+a))}}};tI=function(a,b,c){var d=/url\(["']?#(.*?)["']?\)/;(c===void 0?0:c)&&(d=/url\(["']?#(.*?)["']?\)/g);return a.replace(d,"url(#$1"+b+")")};
sI=function(a,b,c,d){return function(e,f){var h=Object.assign({},{iconColor:"currentcolor",iconWidth:b.size+"px",iconHeight:b.size+"px",pF:"block"},f);f=_.Yi("DIV");var k=h.iconColor,l=h.jQ;h="width: "+h.iconWidth+"; height: "+h.iconHeight+"; display: "+h.pF+";";l&&(h+=" filter: "+l+";");c===0&&(h+=" fill: "+k+";");c===1&&(l=b.url,h+=" -webkit-mask: url("+l+") no-repeat center / cover; mask: url("+(l+") no-repeat center / cover; background-color: ")+k);b.cd&&a.rm==="rtl"&&(h+=" transform: scale(-1, 1); transform-origin: center center;");
f.setAttribute("style",h);d==null||d.setAttribute("aria-hidden","true");c===0&&d&&f.appendChild(d);e.appendChild(f)}};
RAa=function(a,b){var c,d,e;return _.z(function(f){c=function(h){return Yh(h)};d=b.url;if(!UAa(d))throw Error("Ad");e=VAa(a,d);return f.return(e.then(function(h){return h.clone().text()}).then(function(h){var k=c(h);h=b.size;var l=_.Yi("DIV");if(l.nodeType===1){var m=l.tagName;if(m==="SCRIPT"||m==="STYLE")throw Error("$");}l.innerHTML=Xh(k);if(l.firstElementChild!==void 0)k=l.firstElementChild;else for(k=l.firstChild;k&&k.nodeType!=1;)k=k.nextSibling;k=_.Zi(k);h===void 0||k.getAttribute("viewBox")||
k.setAttribute("viewBox","0 0 "+h+" "+h);k.setAttribute("focusable","false");try{k.style.pointerEvents="none",k.style.display="inherit",k.style.width="100%",k.style.height="100%"}catch(q){var n;uI({error:((n=q)==null?0:n.toString)?q.toString():""});try{k.style.cssText="pointer-events: none; display: inherit; width: 100%; height: 100%;"}catch(r){var p;uI({error:((p=r)==null?0:p.toString)?r.toString():""})}}a.H[d]=k.cloneNode(!0);delete a.J[d];return k}).catch(function(){}))})};
WAa=function(a){var b,c=(b=a.o)==null?void 0:b.promise;c||(a.o=new _.Uj,c=a.o.promise,_.Sa.requestAnimationFrame(function(){var d;(d=a.o)==null||d.resolve();a.o=null}));return c};
VAa=function(a,b){var c,d;return _.z(function(e){if(e.j==1)return a.Ba?_.x(e,WAa(a),2):e.L(2);c=a.J[b];c||(d=function(){var f,h,k;return _.z(function(l){switch(l.j){case 1:if(!a.A){f=void 0;l.L(2);break}if(h=a.Z){l.L(3);break}return _.x(l,a.W,4);case 4:h=l.o;case 3:f=h;case 2:return k=f,a.pa?l.return(a.ba(b,k).catch(a.ha.bind(a,b,k))):l.return(a.ha(b,k).catch(a.ba.bind(a,b,k)))}})},c=a.xa?new Promise(function(f,h){_.tq(0,function(){d().then(f).catch(h)},10)}):d(),a.J[b]=c);return e.return(c.catch(function(f){delete a.J[b];
uI({error:(f==null?0:f.toString)?f.toString():"",url:b});throw f;}))})};ZAa=function(a,b){var c;return _.z(function(d){if(a.G<XAa)return a.G+=1,d.return(YAa(a,b).finally(function(){--a.G;if(Object.keys(a.j).length){var e=Object.keys(a.j)[0],f=a.j[e];delete a.j[e];f.resolve(ZAa(a,e))}}));c=new _.Uj;a.j[b]=c;return d.return(c.promise)})};
YAa=function(a,b,c){c=c===void 0?2:c;var d;return _.z(function(e){d={credentials:"same-origin",priority:"low"};return e.return(_.Sa.fetch(b,d).then(function(f){return f.ok?f:Promise.reject(Error("Bd`"+f.status+"`"+f.statusText))}).catch(function(f){if(c>0)return YAa(a,b,c-1);throw f;}))})};
$Aa=function(a,b,c,d){_.z(function(e){return d?e.return(new Promise(function(f){_.tq(0,function(){var h,k;return _.z(function(l){switch(l.j){case 1:if(!a.pa){h=void 0;l.L(2);break}return _.x(l,d.match(b).catch(function(){}),3);case 3:h=l.o;case 2:if(k=h){l.L(4);break}return _.x(l,d.put(b,c.clone()).catch(function(m){uI({error:(m==null?0:m.toString)?m.toString():"",url:b})}),4);case 4:f(),_.wa(l)}})},50)})):e.return()})};
UAa=function(a){for(var b=_.u(aBa),c=b.next();!c.done;c=b.next())if(a.startsWith(c.value)&&a.endsWith(".svg"))return!0;return!1};uI=function(a){_.bv(new _.oq("Error in IconManager",a))};
QAa=function(a){function b(f){try{var h;(h=c)==null||h.setItem("yt-icons-last-purged",f.toString())}catch(l){var k;uI({error:((k=l)==null?0:k.toString)?l.toString():""})}}if(_.M("wil_icons_cache_purge_killswitch"))return!1;try{var c=_.Sa.localStorage}catch(f){return!1}if(!c||!a.A)return!1;var d=Number(c.getItem("yt-icons-last-purged"));if(!d)return d=new Date,d=d.setDate(d.getDate()-Math.floor(Math.random()*90+1)),b(d),!1;if(function(f,h){f=new Date(f);h=new Date(h);return h.getMonth()-f.getMonth()+
12*(h.getFullYear()-f.getFullYear())}(d,Date.now())<3)return!1;try{return _.Sa.caches.delete("yt-icons").then(function(f){f&&b(Date.now());return f}).catch(function(){return!1}).finally(function(){a.B=!1})}catch(f){var e;uI({error:((e=f)==null?0:e.toString)?f.toString():""});return!1}};vI=function(){_.UE.apply(this,arguments);this.o=_.K().resolve(bI);this.j=null};cBa=function(a,b){var c=Uza(a.o,b);typeof c==="function"?(a.j=null,bBa(a,c,null)):(a.j=c,c.then(function(d){bBa(a,d,c)}))};
bBa=function(a,b,c){if(a.j===c){for(;a.sa.firstChild;)a.sa.removeChild(a.sa.firstChild);a.sa.className="yt-spec-icon-shape";b(a.sa,a.props.options)}};wI=function(a){return _.M("web_bookmark_playlist_save_icon")?"bookmark":a};
dBa=function(a,b,c,d){var e=void 0;a=_.u(a[b.iconName]||[]);for(var f=a.next();!f.done;f=a.next()){f=f.value;var h=b.iconSize;var k=b.iconStyle;h=!h||h===f.size;k=!k||k===f.style;d&&d!==f.version||!h||!k?k=!1:e?(k=!!b.iconStyle||f.style==="youtube_outline",h=e.version<=f.version,k=(!!b.iconSize||f.size===24)&&k&&h):k=!0;k&&(e={name:b.iconName,style:f.style,size:f.size,version:f.version,cd:!!f.cd,url:c(b.iconName,f)})}return e};xI=function(a){this.j=a};
eBa=function(a,b){switch(b){case 1:return a<=587?0:16;case 2:return(a>528?16:8)/2;case 3:return(a<=587?0:16)+(a>528?16:8)/2;default:return 0}};fBa=function(a){var b=a.TH;var c=a.containerWidth;var d=a.sizing;var e=a.fi;if(a.Kr&&b<528)return 1;switch(d){case 0:return e;case 1:return e+1;case 2:return _.M("web_responsive_extra_compact_2x")?e*2:_.M("web_responsive_current")?e===1?2:e%2===0?e/2*3:e+2:e<4?e*2:Math.ceil(e*3/2);case 3:return c>528?e*2:3;default:return e}};
hBa=function(a){var b=a.containerWidth;var c=a.cz;var d=a.gutter;var e=a.lc;a=a.tx;b=c?Math.max((b-c-d*e)/e,0):Math.max((b-d*(e-1))/e,0);return a?b:Math.min(b,gBa)};
_.yI=function(a){var b=a.containerWidth;var c=a.eQ;var d=a.sizing;var e=a.md;var f=a.Kr;var h=a.jd;c=!!c;a=b>528?16:8;var k=c?b>528?48:24:0;e=eBa(b,e);var l=Math.max(b-e*2,0);var m=Math.min(Math.max(Math.floor((l-k+a)/(270+a)),1),6);m=b>587?Math.max(m,2):1;m>4&&(m=4);h=!!h&&m===1;var n=m===4;c=c||h||n?l:Math.min(l,(gBa+a)*m-a);d=fBa({TH:b,containerWidth:c,sizing:d||0,fi:m,Kr:f});return{itemWidth:hBa({containerWidth:c,cz:k,gutter:a,lc:d,tx:d===1&&h||n}),gutter:a,Hg:c,lc:d,margin:h?0:e,Sl:hBa({containerWidth:c,
cz:k,gutter:a,lc:m,tx:d===1&&h||n})>400&&!(f&&b<528),fi:m}};
zI=function(a){Mt.call(this,a===void 0?"document_active":a);var b=this;this.G=10;this.Ad=new Map;this.transitions=[{from:"document_active",to:"document_disposed_preventable",action:this.H},{from:"document_active",to:"document_disposed",action:this.B},{from:"document_disposed_preventable",to:"document_disposed",action:this.B},{from:"document_disposed_preventable",to:"flush_logs",action:this.J},{from:"document_disposed_preventable",to:"document_active",action:this.A},{from:"document_disposed",to:"flush_logs",
action:this.J},{from:"document_disposed",to:"document_active",action:this.A},{from:"document_disposed",to:"document_disposed",action:function(){}},{from:"flush_logs",to:"document_active",action:this.A}];window.addEventListener("pagehide",function(c){b.transition("document_disposed",{event:c})});window.addEventListener("beforeunload",function(c){b.transition("document_disposed_preventable",{event:c})});window.addEventListener("unload",function(c){b.transition("document_disposed",{event:c});b.Ad=new Map})};
AI=function(a){Mt.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.A},{from:"document_visibility_unknown",to:"document_foregrounded",action:this.H},{from:"document_visibility_unknown",to:"document_backgrounded",action:this.J},{from:"document_visible",to:"document_hidden",action:this.A},{from:"document_visible",to:"document_foregrounded",
action:this.H},{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.A},{from:"document_foregrounded",to:"document_foregrounded",action:this.H},{from:"document_hidden",to:"document_visible",action:this.B},{from:"document_hidden",to:"document_backgrounded",action:this.J},{from:"document_hidden",to:"document_hidden",action:this.A},{from:"document_backgrounded",to:"document_hidden",
action:this.A},{from:"document_backgrounded",to:"document_backgrounded",action:this.J},{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})});_.M("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})}))};BI=function(){this.B=new zI;this.G=new AI};CI=function(){BI.call(this);var a={};this.install((a.document_disposed={callback:this.j},a));_.M("combine_ve_grafts")&&(a={},this.install((a.document_disposed={callback:this.o},a)));a={};this.install((a.flush_logs={callback:this.A},a));_.M("web_log_cfg_cee_ks")||_.tq(0,iBa)};jBa=function(){CI.o||(CI.o=new CI);return CI.o};
iBa=function(){var a=_.L("CLIENT_EXPERIMENT_EVENTS");if(a){var b=Zoa();a=_.u(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b(c)&&_.uu("genericClientExperimentEvent",{eventType:c});delete rp.CLIENT_EXPERIMENT_EVENTS}};_.kBa=function(a){var b={};jBa().install((b.document_disposed={callback:a},b))};DI=function(){this.signals=[];this.j=new Map;this.B=new Set;this.o=new Map;this.A=new Map};EI=function(){DI.j||(DI.j=new DI);return DI.j};
FI=function(a,b){return lBa.has(b)||_.L("IS_HOMEPAGE_COLD")||_.L("IS_RESULTS_PAGE_COLD")||_.L("IS_WATCH_PAGE_COLD")?a.signals.indexOf(b)>=0:!0};mBa=function(a){var b=!1;return function(){b||(b=!0,a())}};oBa=function(a,b,c,d,e){if(nBa.has(d))sq(_.yq(),b,c,e);else{var f=a.j.get(d);f&&sq(_.yq(),function(){FI(a,d)||(f.lj?sq(_.yq(),b,c):f.au.push(function(){sq(_.yq(),b,c)}))},c,e)}};
qBa=function(a,b,c,d){function e(){a.Al(b)}d=_.u(d);for(var f=d.next();!f.done;f=d.next())a.addListener(f.value,e);a.j.set(b,{signals:c,XF:!0,isInitialized:!1,lj:!1,au:[]});pBa(a,b)};
pBa=function(a,b){if(!FI(a,b)){var c=a.j.get(b);if(c&&!c.lj){for(var d=!1,e=0,f=0,h=_.u(c.signals),k=h.next();!k.done;k=h.next()){var l=k.value;k=!FI(a,l);nBa.has(l)?d=!0:(l=a.j.get(l))?k&&!l.lj&&(f++,c.isInitialized||l.au.push(function(){pBa(a,b)})):k&&e++}c.isInitialized=!0;c.XF?d&&(c.lj=!0):e===0&&f===0&&(c.lj=!0);if(c.lj)for(c=_.u(c.au),d=c.next();!d.done;d=c.next())d=d.value,d()}}};
MI=function(a,b,c){b=b===void 0?{}:b;Mt.call(this,c===void 0?"uninitialized":c);this.env=a;this.transitions=[{from:"uninitialized",to:"initialized",action:this.init},{from:"initialized",to:"rendering",action:this.J},{from:"rendering",to:"rendered",action:this.B},{from:"rendered",to:"after-render-deferred",action:this.A}];b.Gj!==void 0&&(this.o.Gj=b.Gj)};
sBa=function(){if(!rBa){pt();NI("FOREGROUND_HEARTBEAT_TRIGGER_ON_FOREGROUND");_.Pp(_.gb(NI,"FOREGROUND_HEARTBEAT_TRIGGER_ON_INTERVAL"),3E4);if(_.M("log_heartbeat_with_lifecycles")){var a={};BI.j||(BI.j=new BI);BI.j.install((a.document_visible={callback:OI,priority:10},a.document_hidden={callback:OI,priority:10},a))}else lt(document,"visibilitychange",OI);rBa=!0}(a=_.Du())&&a!=="UNDEFINED_CSN"&&Ima(a)};
OI=function(){if(gt()==="hidden")var a="FOREGROUND_HEARTBEAT_TRIGGER_ON_BACKGROUND";else gt()==="visible"&&(a="FOREGROUND_HEARTBEAT_TRIGGER_ON_FOREGROUND",PI=null);a&&NI(a)};
NI=function(a){if(a==="FOREGROUND_HEARTBEAT_TRIGGER_ON_BACKGROUND"||a==="FOREGROUND_HEARTBEAT_TRIGGER_ON_FOREGROUND"){if(tBa===a)return;tBa=a}var b=9E4+Math.random()*2E3;if(a!=="FOREGROUND_HEARTBEAT_TRIGGER_ON_INTERVAL"||!(_.rt()>b)&&gt()==="visible"){b=-1;PI&&(b=Math.round((0,_.Uq)()-PI));var c=String;var d=_.Ua("_fact",window);d=d==null||d==-1?-1:Math.max(Date.now()-d,0);_.uu("foregroundHeartbeat",{firstActivityMs:c(d),clientDocumentNonce:wu,index:String(uBa),lastEventDeltaMs:String(b),trigger:a});
_.Ta("_fact",-1,window);uBa++;PI=(0,_.Uq)()}};SI=function(a,b){var c=QI,d=RI;b=b===void 0?null:b;c=c===void 0?null:c;d=d===void 0?null:d;var e=e===void 0?null:e;a={youThereEventType:a};c&&(a.lactThresholdMs=c.lactThresholdMs,a.mediaPosSec=c.promptDelaySec,a.lactServerRequestMs=c.lactServerRequestMs,a.triggerReason=c.triggerReason);e!=null&&(a.renderingMediaPosSec=Math.round(e));b||(b=_.Du());b&&(a.clientScreenNonce=b);d&&(a.clientPlaybackNonce=d);_.uu("youThere",a)};
TI=function(){if(this.constructor===TI)throw new TypeError("Cd");};UI=function(a,b){b=b===void 0?0:b;TI.call(this);this.B=a;this.G=b;this.isConnected=!0;this.A=!1;this.ub=new IntersectionObserver(this.WE.bind(this),a?{root:a,rootMargin:"-0.1px"}:{rootMargin:"-0.1px"});this.o=new Map;this.j=new Map};_.VI=function(a,b){return _.RH(a,[b])};_.WI=function(a,b){var c=cxa();return _.Wo(function(){c();return WF(a,[_.Yo(b)||""])})};
vBa=function(){var a=a===void 0?vv:a;if(!XI){var b=Object.assign({},Vn);XI=!0;Lka(Hna,function(){for(var c=Object.assign({},b),d=_.u(Object.entries(b)),e=d.next();!e.done;e=d.next()){var f=_.u(e.value);e=f.next().value;f=f.next().value;c[e]=Vn[e]-f}a({renderCounters:{signalSets:c.oA,signalReads:c.nA,signalCreates:c.mA,signalComputedCreates:c.lA,signalComputedReads:c.kA,signalReactionCreates:c.Qt,signalReactionRuns:c.Rt}});XI=!1})}};
xBa=function(a,b){if(Nz())Oz(b||document.body);else if(Mz()){if(_.hB("fullscreenrequest"),b=Lz(b||document.body,{navigationUI:"hide"}),a==null?0:a.Wt)b==null||b.catch(function(){return null})}else wBa()};
wBa=function(){var a=document.querySelector("video");a&&(_.hB("fullscreenrequest"),Lz(a).catch(function(b){var c,d,e;if((b==null?0:(c=b.message)==null?0:c.includes("Fullscreen is not supported"))||(b==null?0:(d=b.message)==null?0:d.includes("Fullscreen error"))||(b==null?0:(e=b.message)==null?0:e.includes("fullscreen error")))_.Fp(b);else throw b;}))};yBa=function(a,b){if(b==null?0:b.hasOwnProperty("trackingParams"))if(b=Xu(Vu(b.trackingParams))){a.setAttribute("ve-id",b.toString());return}a.removeAttribute("ve-id")};
ABa=function(){if(!zBa){var a={Mi:function(d){d.props.data&&(d.el.data=d.props.data)},Bf:function(d,e,f){if(d.el)e.data!==f.data&&(d.el.data=f.data);else{var h;_.bv(new _.oq("IDOM component el is null",(h=d.j)==null?void 0:h.jf))}}};if(_.M("enable_inline_veids")){var b=a.Mi,c=a.Bf;a.Mi=function(d){b(d);yBa(d.el,d.props.data)};a.Bf=function(d,e,f){c(d,e,f);e.data!==f.data&&yBa(d.el,f.data)}}Io(a);zBa=!0}};
_.YI=function(a){var b=a.thumbnail;var c=a.ariaHidden;var d=a.ariaLabel;a=a.className;var e,f,h=b==null?void 0:(e=b.thumbnails)==null?void 0:(f=e[0])==null?void 0:f.url;return _.H("ytm-profile-icon",{class:[a,"YtProfileIconHost"].join(" "),"aria-hidden":!!c},h?_.H(_.Oo,null,function(){_.qD(h,{alt:d||"",className:"YtProfileIconImage"})}):null)};
_.aJ=function(){ZI=new _.nj(function(a){function b(){window.removeEventListener("popstate",b);window.removeEventListener("hashchange",b);a()}window.addEventListener("popstate",b);window.addEventListener("hashchange",b)});_.Tz(window,"popstate",function(){setTimeout(function(){$I=!1})});$I=!0;history.back();return ZI};BBa=function(){return ZI};bJ=function(a,b){_.sB().hash=a;(b===void 0?0:b)||_.iB()};cJ=function(){var a=_.sB().href;return _.yi(a,"search_query")||_.yi(a,"q")||""};
dJ=function(){return _.yi(location.href,"sv")==="1"};eJ=function(){return _.sB().hash==="#searching"};fJ=function(){return _.sB().hash==="#voice_searching"};_.gJ=function(){bJ("searching")};hJ=function(){return _.sB().hash==="#filters"};CBa=function(){hJ()?_.aJ():bJ("filters")};
_.jJ=function(){function a(){d(eJ());f(fJ());k(dJ());m(hJ())}if(iJ)return iJ;var b=_.u(_.$o(eJ())),c=b.next().value,d=b.next().value,e=_.u(_.$o(fJ()));b=e.next().value;var f=e.next().value,h=_.u(_.$o(dJ()));e=h.next().value;var k=h.next().value;h=_.u(_.$o(hJ()));var l=h.next().value,m=h.next().value;window.addEventListener("state-navigateend",function(){a()});window.addEventListener("hashchange",function(){a()});return iJ={Tr:c,Vr:b,Rx:e,bD:l}};
DBa=function(a){var b=a.children;var c=a.Sr;a=a.isFullscreen;var d=_.Ow();_.Jw(function(){function f(){}var h=d.value;h.addEventListener("focus",f,!0);return function(){h.removeEventListener("focus",f,!0)}});var e=["dialog modern-dialog-layout"];c&&e.push("scrollable");a?e.push("dialog-fullscreen"):e.push("rounded-container");_.M("mweb_modern_dialogs")&&e.push("modern-dialog");return _.H("dialog",{el:d,class:e.join(" "),role:"dialog","aria-modal":!0},b)};
_.lJ=function(a){var b=a.ym;var c=a.stayOpenOnClick;var d=a.isPersistent;a=a.children;b=b!==1?"dialog-flex-button":"";var e=_.no({}),f=_.P(function(){c||d||_.K().resolve(_.kJ).ab();return!0});return _.H("div",Object.assign({},{class:b,"on:click":f},e),a)};_.mJ=function(a){a=a.children;var b=_.no({}),c;if((c=_.K().resolve(_.mp(EBa)))==null?0:c.qE)b=_.no({tabindex:"0"});return _.H("div",Object.assign({},{"aria-live":"polite"},b),a)};
_.FBa=function(){return{isFullscreen:function(){throw Error("Dd");},toggleFullscreen:function(){throw Error("Ed");},exitFullscreen:function(){throw Error("Fd");},zg:function(){throw Error("Gd");},Ft:function(){throw Error("Hd");},Fx:function(){throw Error("Id");}}};nJ=function(a){return a.playerState===0};
_.pJ=function(a,b){if(!a.videoDuration)return 0;if(oJ(a))return _.Mi(a.Ha/a.videoDuration,0,1);var c;b=(b===void 0?0:b)?(c=a.Co)==null?void 0:c.call(a):0;return _.Mi((a.playedTime||b||0)/a.videoDuration,0,1)};_.qJ=function(a){return a.videoDuration?_.Mi(a.xn/a.videoDuration,0,1):0};_.rJ=function(a){return a.videoDuration?a.isDragging||oJ(a)?_.Mi(a.Ha/a.videoDuration,0,1):_.Mi((a.playedTime||0)/a.videoDuration,0,1):0};oJ=function(a){return a.Sc>1&&a.Eb!==0};
sJ=function(a){return _.N(a==null?void 0:a.autonavToggle,GBa)};tJ=function(a){var b,c,d;return a==null?void 0:(b=a.contents)==null?void 0:(c=b.singleColumnWatchNextResults)==null?void 0:(d=c.autoplay)==null?void 0:d.autoplay};uJ=function(a){var b;return a==null?void 0:(b=a.sets)==null?void 0:b[0].autoplayVideo};vJ=function(a){var b,c,d;return a==null?void 0:(b=a.playerOverlays)==null?void 0:(c=b.playerOverlayRenderer)==null?void 0:(d=c.autoplay)==null?void 0:d.playerOverlayAutoplayRenderer};
xJ=function(a){var b;return _.N((b=_.N(a==null?void 0:a.decoratedPlayerBarRenderer,HBa))==null?void 0:b.playerBar,wJ)};yJ=function(a){var b,c,d;return _.N(a==null?void 0:(b=a.markersMap)==null?void 0:(c=b.find(function(e){return e.key==="HEATSEEKER"}))==null?void 0:(d=c.value)==null?void 0:d.heatmap,IBa)};zJ=function(a){var b,c;return(c=(b=yJ(a))==null?void 0:b.heatMarkersDecorations)!=null?c:[]};
AJ=function(a){if(_.M("mweb_supported_chapters_killswitch"))return!0;var b;return!!(a==null?0:(b=a.markersMap)==null?0:b.find(function(c){return["DESCRIPTION_CHAPTERS","AUTO_CHAPTERS"].includes(c.key)}))};JBa=function(a){var b;return a==null?void 0:(b=a.paidContentOverlay)==null?void 0:b.paidContentOverlayRenderer};LBa=function(a,b){if(BJ(a,b))return!1;var c;return((c=a.Fb)==null?0:c.Nt)?!1:a.isLive||KBa(a)};KBa=function(a,b){return BJ(a,b)||CJ(a)?!1:!a.isDragging&&!oJ(a)&&!a.jc&&a.Ob!=="on"};
BJ=function(a,b){return!a.autonavEnabled||a.vm||!b||a.Je||a.isPlaylist&&uJ(b)?!1:nJ(a)};OBa=function(a,b){var c,d,e,f;a=(f=_.N((e=_.N(a==null?void 0:(c=a.playerOverlays)==null?void 0:(d=c.playerOverlayRenderer)==null?void 0:d.fullscreenEngagement,MBa))==null?void 0:e.actionBar,NBa))==null?void 0:f.actionBarButtons;b=b==null?void 0:b.actionBarButtons;return a||b||[]};
PBa=function(a,b,c){var d;b=(d=_.N(b==null?void 0:b.quickActionsBar,DJ))==null?void 0:d.quickActionsBarButtons;var e,f,h;a=(h=_.N(a==null?void 0:(e=a.playerOverlays)==null?void 0:(f=e.playerOverlayRenderer)==null?void 0:f.fullscreenQuickActionsBar,DJ))==null?void 0:h.quickActionsBarButtons;return c?b||a||[]:a||b||[]};
RBa=function(a){var b,c,d;return _.N((d=_.N(a==null?void 0:(b=a.playerOverlays)==null?void 0:(c=b.playerOverlayRenderer)==null?void 0:c.fullscreenQuickActionsBar,DJ))==null?void 0:d.fullscreenRelatedVideosEntryPoint,QBa)};SBa=function(a){var b,c,d;a=a==null?void 0:(b=a.playerOverlays)==null?void 0:(c=b.playerOverlayRenderer)==null?void 0:(d=c.endScreen)==null?void 0:d.watchNextEndScreenRenderer;return(a==null?void 0:a.results)||[]};
TBa=function(a){var b,c,d;return a==null?void 0:(b=a.playerOverlays)==null?void 0:(c=b.playerOverlayRenderer)==null?void 0:(d=c.videoDetails)==null?void 0:d.playerOverlayVideoDetailsRenderer};VBa=function(a,b){var c;return a?(c=a.videoDetails)==null?void 0:c.embeddedPlayerOverlayVideoDetailsRenderer:_.N(b==null?void 0:b.videoDetails,UBa)};WBa=function(a){var b;return((b=a.Fb)==null?0:b.Nt)?!1:!CJ(a)};CJ=function(a){return a.gb?!0:a.pg!==0};
_.GJ=function(a,b){_.EJ&&(b==null||!b.ke)||a.playerState===2||a.playerState===-1||nJ(a)||((b==null?0:b.ke)&&_.FJ(),_.EJ=setTimeout(function(){a.M({ra:!1})},2E3))};_.FJ=function(){_.EJ&&(clearTimeout(_.EJ),_.EJ=void 0)};HJ=function(a){return a?a.width/a.columns:0};IJ=function(a){return a?a.height/a.rows:0};JJ=function(a){return a.Bd?a.xn:a.Ha};
KJ=function(a,b,c){if(!c||c.getNumberOfStoryboardLevels()===0)return null;var d=c.getStoryboardFrameIndex(a,1);if(d!==-1)return c.getStoryboardFrame(d,1);a=c.getStoryboardFrameIndex(a,0);c=c.getStoryboardFrame(a,0);b&&c&&(c.height*=3,c.width*=3);return c};LJ=function(a){a.width=90*a.columns;a.height=160*a.rows};
XBa=function(a,b,c){var d;if((b==null?0:b.nh)&&((d=_.N(b==null?void 0:b.nh,MJ))==null?0:d.title))return!0;b=_.u(zJ(c));for(b=b.next();!b.done;b=b.next())return(b=_.N(b.value,NJ))&&OJ(a,b);return!1};OJ=function(a,b){a=a.Ha*1E3;return a>=b.visibleTimeRangeStartMillis&&a<=b.visibleTimeRangeEndMillis};YBa=function(a,b,c){a=JJ(a)/a.videoDuration;var d=c*a,e=b/2+6;b=c-(b/2+6);return d<=e?e/c*100:d>=b?b/c*100:a*100};
PJ=function(a){if(a===void 0||Number.isNaN(a))return"--:--";var b=Math.abs(Math.floor(a)),c=Math.floor(b/86400),d=Math.floor(b%86400/3600),e=Math.floor(b%3600/60);b=Math.floor(b%60);var f="";c>0&&(f+=c+":",d<10&&(f+="0"));if(c>0||d>0)f+=d+":",e<10&&(f+="0");f+=e+":";b<10&&(f+="0");f+=b;return a>=0?f:"-"+f};ZBa=function(a,b){return function(){var c=KJ(JJ(a()),b(),a().N);if(!c)return _.Yo(null);b()&&LJ(c);return c}};
aCa=function(a){var b=a.element;var c=a.veType;var d=a.Vt===void 0?null:a.Vt;var e=a.elementIndex===void 0?0:a.elementIndex;a=a.clientYouTubeData;var f=_.Du();f!==$Ba&&(QJ.clear(),$Ba=f);if(b.visualElement&&QJ.has(b.visualElement))return null;if(d&&QJ.has(d))return b.visualElement=d,null;c=_.nw(_.dw(),{veType:c,elementIndex:e,clientYouTubeData:a});if(!c)return null;b.visualElement=c;QJ.add(c);return c};
_.RJ=function(a,b,c,d,e){c=c===void 0?null:c;d=d===void 0?_.pB:d;e=e===void 0?null:e;_.oB(function(){if(b){c instanceof Function&&(c=c());var f=aCa({element:b,veType:a,Vt:c,clientYouTubeData:void 0});f&&(_.uD(b,e),d(f))}})};_.TJ=function(a,b){_.RJ(b,a,function(){return SJ},function(c){SJ=c})};
_.UJ=function(a,b,c){c=c===void 0?SJ:c;var d=_.Du(0);d&&c&&_.Ep(_.Ov)(void 0,d,c,"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK",{seekData:{startMediaTimeMs:Math.round(a.playedTime*1E3),endMediaTimeMs:Math.round(a.Ha*1E3),seekSource:b===void 0?"SEEK_SOURCE_SLIDE_ON_SCRUBBER_BAR":b}},void 0)};WJ=function(a,b){_.RJ(b,a,function(){return VJ[b]},function(c){VJ[b]=c;_.M("mweb_player_ve_show_ks")||_.tta(c)})};XJ=function(a){(a=VJ[a])&&_.rw(_.dw(),a)};
YJ=function(a){var b=a.kq;var c=a.onClick;var d=a.ariaLabel;var e=a.ariaPressed;var f=a.ja===void 0?!1:a.ja;a=a.qx===void 0?{}:a.qx;var h=["YtmClosedCaptioningButtonHost"];b===-1&&h.push(f?"YtmClosedCaptioningButtonIconDisabledOverlay":"YtmClosedCaptioningButtonIconDisabled");f=h.join(" ");h="";var k=Dxa();switch(b){case -1:case 0:h=k;break;case 1:h=k+"_FILLED";break;default:Zh(b)}b=_.Ow(function(l){WJ(l,127299)});k=_.P(function(l){XJ(127299);c==null||c(l)});return _.H("ytm-closed-captioning-button",
{class:f},_.H("button",{el:b,class:"YtmClosedCaptioningButtonButton",title:d,"aria-label":d,"aria-pressed":e,"on:click":k},_.gC(h,a)))};bCa=function(a){var b="",c="";switch(a){case -1:case 0:b="VOLUME_OFF_FILLED";c=_.Rz("UNMUTE_VOLUME");break;case 1:b="VOLUME_UP_FILLED";c=_.Rz("MUTE_VOLUME");break;default:Zh(a)}return{iconName:b,ariaLabel:c}};
_.bK=function(a,b){b=b===void 0?{}:b;_.M("mweb_enable_keto_batch_icons")?_.U(_.ZJ)({name:a,Sp:b.activeState,className:b.className,style:b.style$,Cq:b["data-selected$"],Ki:b["data-disabled$"],role:b.role$,Cr:b["icon-state-outline$"],Br:b["icon-state-filled$"],Uq:b["fill-icon$"],aq:b.animateIcon,themeOverride:b.themeOverride}):(b=b===void 0?{}:b,a&&($J[a]&&(a=$J[a]),b.animateIcon==="true"&&b.activeState!==void 0&&Object.values(cCa).includes(a)?_.U(sAa)({ek:a,active:b.activeState,gp:aK.bind(void 0,a,
{activeState:b.activeState}),themeOverride:b.themeOverride}):aK(a,b)));_.SE(_.M("mweb_enable_keto_batch_icons_log"))};aK=function(a,b){b=b===void 0?{}:b;var c=dCa(a,!!b.activeState);c&&_.lB("c3-icon",b,function(){var d={iconWidth:"100%",iconHeight:"100%"};_.M("mweb_enable_keto_batch_19")?_.U(Wza)({data:c,options:d}):_.WE(vI,{data:c,options:d});_.SE(_.M("mweb_enable_keto_batch_19_log"))})};
dCa=function(a,b){if(a){var c=_.K().resolve(bI);eCa(c);var d=a.toLowerCase();a={iconName:d,iconStyle:d.endsWith("_filled")||a.endsWith("_on")||b?"youtube_fill":void 0};b=!!c.Wf(a);!b&&d.endsWith("_filled")&&(a.iconName=d.substring(0,d.length-7),b=!!c.Wf(a));b||(a.iconStyle=void 0,b=!!c.Wf(a));if(b)return a;_.bv(new _.oq("Icon not supported",{iconName:a.iconName}))}};_.eK=function(a){_.M("mweb_enable_keto_batch_icon_button")?_.U(_.cK)(a):dK(a);_.SE(_.M("mweb_enable_keto_batch_icon_button_log"))};
dK=function(a){var b={className:["icon-button",a.className].join(" "),"aria-label$":a.ariaLabel,"aria-labelledby$":a.pf,"aria-pressed$":a.ariaPressed,"aria-expanded$":a.ariaExpanded,"aria-haspopup$":!!a.tn,"aria-disabled$":a.ariaDisabled,onclick:a.onclick,ontouchstart:a.ontouchstart,ontouchmove:a.ontouchmove,ontouchend:a.ontouchend};a.id&&(b.id=a.id);(0,_.rF)(b,a.content?a.content:function(){_.bK(a.name)})};
eCa=function(a){if(!fCa){fCa=!0;for(var b=[],c=_.u(gCa),d=c.next();!d.done;d=c.next()){d=d.value;for(var e=_.u(Object.values(hCa)),f=e.next();!f.done;f=e.next())b.push({iconName:d,iconStyle:f.value})}SAa(a,b)}};fK=function(a){if(a.uf){var b=a.N;b&&(OH(b,iCa(a)),_.M("mweb_disable_set_state_captions_killswitch")&&a.M({Oe:!a.Oe}))}var c,d;(d=(c=a.Ea).cp)==null||d.call(c,a)};iCa=function(a){(a=a.N)&&(gK=hza(a,gK));return gK};hK=function(a){var b=-1;a.uf&&(b=a.Oe?1:0);return b};iK=function(a){if(a.uf)return a.Oe};
jK=function(a){return a.uf?_.Rz(a.Oe?"CLOSED_CAPTIONS_ON":"CLOSED_CAPTIONS_OFF"):_.Rz("CLOSED_CAPTIONS_DISABLED")};jCa=function(a){var b=a.df,c=a.bo;return _.H("yt-closed-captions-toggle-button",null,_.H(YJ,{kq:hK(b),ariaLabel:jK(b),ariaPressed:iK(b),onClick:function(d){fK(b);c==null||c(d)},ja:!0}))};_.kK=function(a){return a?a.simpleText?a.simpleText:a.runs?a.runs.map(function(b){return b.text}).join(""):"":""};_.lK=function(a){return{runs:[{text:a}]}};
_.nK=function(a){var b=a.data;var c=a.thumbnailSize;var d=a.className;var e=a.ariaHidden;a=[];d&&a.push(d);d=_.no(function(k){c&&k.append("thumbnail-size",c);b.style&&k.append("data-style",b.style);e&&k.append("aria-hidden",!0);b.type&&k.append("data-type",b.type.replace("THUMBNAIL_OVERLAY_TIME_STATUS_TYPE_",""))});var f,h={type:b.style==="LIVE"?4:0,text:_.kK(b.text),icon:(f=b.icon)==null?void 0:f.iconType,nu:b.style==="SHORTS",ja:!0,Dg:!0};return _.H("ytm-thumbnail-overlay-time-status-renderer",
Object.assign({},{class:a.join(" ")},d),_.H(_.mK,{data:h}))};_.oK=function(a,b,c){_.U(_.nK)({data:a,thumbnailSize:c,className:b==null?void 0:b.className,ariaHidden:b==null?void 0:b["aria-hidden$"]})};pK=function(a,b){b=b===void 0?(0,_.Uq)():b;_.Av(a,b,void 0)};qK=function(a){vv(a,void 0)};mCa=function(a){var b=_.CB(a);b=kCa[b];a=_.GB({href:a})||_.NB()?["pbs","pbu","pbp"]:["cpt"];Lna(b,a);(a=lCa())&&vv({playerInfo:{playerInitializedState:a}})};
lCa=function(){switch(window.pis){case "initialized":return 3;case "uninitialized":return 2;case "downloading":return 1;default:return 0}};nCa=function(a){return(a&&a.responseContext&&a.responseContext.serviceTrackingParams?a.responseContext.serviceTrackingParams:[]).filter(function(b){return b.service==="CSI"}).map(function(b){return b.params}).reduce(function(b,c){return b.concat(c)},[]).reduce(function(b,c){b[c.key]=c.value;return b},Object.create(null))};
rK=function(){var a=_.Aca(document);return a&&typeof a.scrollTop==="number"?a.scrollTop:typeof window.pageYOffset==="number"?window.pageYOffset:0};oCa=function(a){return new _.nj(function(b){_.oB(function(){b(a)})})};qCa=function(a){a=a.map(pCa);return _.rj(a).then(oCa)};pCa=function(a){return a.complete?_.pj("load"):new _.nj(function(b){function c(d){a.removeEventListener("load",c);a.removeEventListener("error",c);b(d.type)}a.addEventListener("load",c);a.addEventListener("error",c)})};
sCa=function(a){a=a.detail.href;qK({loadType:"cold"});rCa();mCa(a)};tCa=function(){pK("pbp");qK({playbackRequiresTap:!0})};uCa=function(){pK("pbu")};
vCa=function(a){var b=a.detail,c=b.href,d=b.cg;a=b.endpoint;b=b.Dj;var e=(0,_.Uq)(),f=_.CB(c);f=kCa[f];var h,k=(h=_.N(b==null?void 0:b.commandMetadata,_.ew))==null?void 0:h.webPageType;f==="reel_watch"&&k==="WEB_PAGE_TYPE_SHORTS"&&_.M("reels_enable_new_latency_logging")||_.wv({startTime:e});mCa(c);_.M("enable_cow_info_csi")&&vBa();h=d&&d.autonav==="1";c=_.yi(_.sB().href,"list");h&&qK({webInfo:{navigationReason:"an"}});c&&qK({watchInfo:{isPlaylist:!0}});rCa(a,b);sK++};
wCa=function(a){if(a.timingInfo){var b=a.timingInfo.contentLength,c=a.timingInfo.BD;pK("srt",a.timingInfo.chunks[0]);qK({mwebInfo:{responseContentLength:Number(b),responseContentEncoding:c}})}};xCa=function(a){a.timing&&a.timing.info&&(a=_.Ep(pv)(a.timing.info),qK(a))};yCa=function(){var a=window.innerHeight-rK();return[].filter.call(document.querySelectorAll("img"),function(b){b=b.getBoundingClientRect();return b.height>0&&b.top<a})};
zCa=function(a){a=a.getBoundingClientRect();return a.height>50&&a.width>50};ACa=function(){var a=yCa().filter(zCa),b=sK;qCa(a).then(function(){b===sK&&pK("vpl")})};BCa=function(a){_.M("mweb_tick_cpt_after_render")&&requestAnimationFrame(function(){pK("cpt")});var b=_.lC(function(){return a.detail.data});b&&(wCa(b),xCa(b.response),pK("pdr"),_.oB(ACa))};CCa=function(a){a=nCa(a);a=_.Ep(pv)(a);qK(a)};
DCa=function(a){_.M("mweb_tick_cpt_after_render")||pK("cpt");var b=_.lC(function(){return a.detail.data.response});b&&b.response&&CCa(b.response);b&&b.playerResponse&&CCa(b.playerResponse)};
rCa=function(a,b){var c;a=(c=_.N(a==null?void 0:a.commandMetadata,_.ew))==null?void 0:c.webPageType;if(_.NB()||a==="WEB_PAGE_TYPE_SHORTS"){var d;b={reelInfo:{transitionType:((d=_.N(b==null?void 0:b.commandMetadata,_.ew))==null?void 0:d.webPageType)==="WEB_PAGE_TYPE_SHORTS"?"LATENCY_REEL_TRANSITION_TYPE_REEL_TO_REEL":"LATENCY_REEL_TRANSITION_TYPE_START",videoType:"REEL_VIDEO_TYPE_VIDEO",reelToReelBaseline:_.M("reels_enable_new_latency_logging")?"REEL_TO_REEL_BASELINE_VIEW_TRANSITION_START":"REEL_TO_REEL_BASELINE_VIEW_TRANSITION_COMPLETE"}};
qK(b)}};uK=function(a){tK||qCa([a]).then(function(){tK||(pK("ftl"),tK=!0)})};_.vK=function(a,b){var c=_.rB(function(){return a.thumbnails[0].url});b&&a&&(c=_.SH(a,b));return c?Bh(_.Gh(c)):null};_.xK=function(a,b,c,d){_.U(_.wK)({thumbnailDetails:a,className:b==null?void 0:b.className,alt:b==null?void 0:b.alt,ariaLabel:b==null?void 0:b["aria-label$"],vd:c,od:d===void 0?!0:d,Ki:b==null?void 0:b["data-disabled$"],ariaHidden:b==null?void 0:b["aria-hidden$"]})};
_.yK=function(a,b,c,d){c=c===void 0?!0:c;d=d===void 0?!1:d;var e="cover video-thumbnail-img"+(d?" custom-thumbnail":"");var f=_.H("div",{class:"cover video-thumbnail-img video-thumbnail-bg"});_.M("mweb_modern_collections")&&d?(d="",_.M("mweb_modern_collections_v2")&&(a==null?0:a.sampledThumbnailColor)&&(d=a.sampledThumbnailColor,d="background-color:rgba("+d.red+","+d.green+","+d.blue+",1);"),d=_.H("div",{class:"custom-thumbnail-background-container",style:d},_.H(_.wK,{thumbnailDetails:a,className:e,
alt:""}))):d=null;return _.H(_.F,null,f,d,_.H(_.wK,{thumbnailDetails:a,className:e,od:c,alt:""}),_.H("div",{class:"video-preview-shim"}),b&&b())};
_.zK=function(a){var b=a.thumbnailDetails;var c=a.overlay;var d=a.className;var e=a.od===void 0?!0:a.od;var f=a.Bc===void 0?!1:a.Bc;a=_.ME("video-thumbnail-container-compact center video-thumbnail-container-compact-rounded",d,{"original-aspect-ratio":b==null?void 0:b.isOriginalAspectRatio,stacked:a.Vb});return _.H("ytm-compact-thumbnail",{class:a},_.yK(b,c,e,f))};
ECa=function(a,b,c,d,e){_.U(_.zK)({thumbnailDetails:a,overlay:b?function(){return _.dC(b)}:void 0,vd:c,className:d,od:e===void 0?!0:e,Bc:!1,Vb:void 0})};_.AK=function(a){if(a)return a.label?a.label:_.AK(a.accessibilityData)};BK=function(a){return _.pA({type:"SET_IS_BOTTOM_SHEET_OPEN_STATE",payload:a})};FCa=function(a){return _.pA({type:"SET_IS_DRAWER_LAYOUT_OPEN_STATE",payload:a})};GCa=function(a){return _.pA({type:"SET_TOP_PANEL_ID_STATE",payload:a})};DK=function(){return _.CK};
EK=function(a,b){(b=_.Rz(a,{},b))||_.Fp(Error("Jd`"+a));return b};FK=function(){var a;return(a=_.CK.getState().wm)==null?void 0:a.Nr};_.GK=function(a){_.K().resolve(_.IH).Vh({Lc:a})};_.HK=function(){_.K().resolve(_.IH).Qe()};HCa=function(a){return(a.wrapper===void 0?0:a.wrapper)?_.H("ytw-spinner",{class:"YtWebSpinnerWrapper"},_.H("div",{class:"YtWebSpinnerSpinner"})):_.H("ytw-spinner",{class:"YtWebSpinnerSpinner"})};
_.JK=function(a,b,c){var d,e=(d=a.parentElement)==null?void 0:d.children;if(e){for(d=0;d<e.length;d++){var f=e[d];e[d]!==a&&(c?IK(f,b):b?f.setAttribute("hidden","true"):f.removeAttribute("hidden"))}if(_.M("mweb_force_a11y_repaint"))for(a=0;a<e.length;a++)ICa(e[a])}};
IK=function(a,b){b?(a.hasAttribute("aria-hidden")&&a.setAttribute("data-old-aria-hidden",a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true")):(a.hasAttribute("data-old-aria-hidden")&&(a.setAttribute("aria-hidden",a.getAttribute("data-old-aria-hidden")),a.removeAttribute("data-old-aria-hidden")),a.removeAttribute("aria-hidden"))};KK=function(a){var b=document.querySelector("#player-container-id");b&&IK(b,a)};
ICa=function(a){var b=a.style.display;a.style.display=b?"unset":"none";setTimeout(function(){a.style.display=b},0)};
_.QK=function(a,b,c){b=b===void 0?document.activeElement:b;c=c===void 0?!1:c;a!==LK[LK.length-1]&&LK.push(a);LK.length>1||(MK=rK(),b!==document.body&&(_.NK=b),_.JK(a,!0,!0),c&&_.oB(function(){JCa(a)}),OK&&KCa&&cancelAnimationFrame(OK),PK=requestAnimationFrame(function(){FK()||(document.body.setAttribute("modal-open-body",""),document.body.style.top="-"+MK+"px",window.scrollTo(0,-MK),PK=null)}))};
JCa=function(a){var b=Array.from(a.querySelectorAll('a,input:not([disabled]),select:not([disabled]),button:not([disabled]):not(.hidden-button),[tabindex="0"]')).filter(function(f){if(f.textContent)return!0;if(f instanceof HTMLInputElement){if(!f.labels)return!1;f=_.u(f.labels);for(var h=f.next();!h.done;h=f.next())if(h.value.textContent)return!0}return!1}),c=b[0],d=b[b.length-1];if(c){c.focus();var e=function(f){f.keyCode===27&&(a.removeEventListener("keydown",e),_.RK(a));f.keyCode!==38&&f.keyCode!==
40&&f.keyCode!==9||LCa(c,d)};a.addEventListener("keydown",e)}};LCa=function(a,b){if(!MCa){MCa=!0;var c=NCa();a.parentNode.insertBefore(c,a);c.addEventListener("focusin",function(){b.focus()});c=NCa();b.parentNode.insertBefore(c,b.nextSibling);c.addEventListener("focusin",function(){a.focus()})}};NCa=function(){var a=document.createElement("a");a.className="hidden-button";a.setAttribute("tabindex","-1");a.setAttribute("aria-hidden","true");return a};
_.RK=function(a){if(OCa){if(_.JK(a,!1,!0),_.NB()&&document.querySelector("ytm-engagement-panel")&&KK(!0),_.Sb(LK,a),LK.length!==0)return}else{_.Sb(LK,a);if(LK.length!==0)return;_.JK(a,!1,!0);_.NB()&&document.querySelector("ytm-engagement-panel")&&KK(!0)}PK&&KCa&&cancelAnimationFrame(PK);OK=requestAnimationFrame(function(){document.body.removeAttribute("modal-open-body");document.body.style.top="";_.NK&&Ifa(_.NK);_.SK?_.oB(function(){window.scrollTo(0,MK)}):window.scrollTo(0,MK);OK=null})};
PCa=function(a){function b(A){A=A.detail;if((a.Hh&&document.fullscreenElement||!a.Hh&&!document.fullscreenElement)&&A){var E=A.Lc,I=A.Zb;f.value&&!_.M("delay_sheet_open_killswitch")?r({detail:A}):(E==null?0:E.isDisabled)&&(E==null?0:E.disabledCommand)?(KK(!0),_.vC(E.disabledCommand,e.value,!1)):(_.sB().hash!=="#bottom-sheet"&&bJ("bottom-sheet",!0),f.value=!0,document.body.setAttribute("bottom-sheet-open",""),_.CK.dispatch(BK(!0)),m(E),p(I),KK(!0),_.QK(e.value,E==null?void 0:E.focusOnClose,!0))}}function c(){if(f.value&&
_.sB().hash!=="#bottom-sheet"){f.value=!1;document.body.removeAttribute("bottom-sheet-open");var A,E;(A=l)==null||(E=A.tH)==null||E.call(A);m(void 0);p(void 0);KK(!1);_.RK(e.value);_.CK.dispatch(BK(!1))}}function d(){return _.z(function(A){switch(A.j){case 1:return _.x(A,ZI,2);case 2:if(_.sB().hash!=="#bottom-sheet"){A.L(3);break}if(document.fullscreenElement){bJ("",!0);A.L(4);break}return _.x(A,_.aJ(),4);case 4:c();case 3:q&&!_.M("delay_sheet_open_killswitch")&&(b(q),r(void 0)),_.wa(A)}})}var e=
_.Ow(),f=_.Pw(!1),h=_.u(_.dF()),k=h.next().value;h=h.next().value;var l=k,m=h;k=_.u(_.dF());var n=k.next().value,p=k.next().value;h=_.u(_.dF());k=h.next().value;h=h.next().value;var q=k,r=h;_.Jw(function(){window.addEventListener("hashchange",c);window.addEventListener("state-navigatestart",c);eza(_.K().resolve(_.IH),{Vh:function(A){A&&b({detail:{Zb:A.Zb,Lc:A.Lc}})},Qe:function(){return _.z(function(A){return _.x(A,d(),0)})},In:function(){return _.z(function(A){return A.return(!!FK())})},ME:function(){return e.value}},
a.Hh);return function(){window.removeEventListener("hashchange",c);window.removeEventListener("state-navigatestart",c)}});k=_.P(function(){_.HK()});var t,w,y,B;return _.H("bottom-sheet-container",{el:e,role:((t=l)==null?0:(w=t.header)==null?0:w.title)?"dialog":void 0,"aria-label":((y=l)==null?0:(B=y.header)==null?0:B.title)?l.header.title:void 0},l||n?_.H(_.F,null,_.H(_.TK,{label:"close",onclick:_.HK,wm:!0}),_.H(_.Oo,null,function(){n?n():l&&_.WE(GH,{data:l})}),_.H("button",{class:"hidden-button",
"aria-label":_.W.Lb,"on:click":k})):null)};VK=function(a,b,c){b=b===void 0?{}:b;var d=b.fb;var e=b.Zf;var f=b.hk;var h=b.className;var k=c?_.W[c]:_.W.Lb;try{UK(k,a,{fb:d,Zf:e})}catch(l){c=document.createElement("div"),document.body.insertBefore(c,document.body.firstChild),QCa(c,function(){UK(k,a,{fb:d,Zf:e,hk:f,className:h})})}};UK=function(a,b,c){c=c===void 0?{}:c;_.U(RCa)({wD:a,onclick:b,fb:c.fb,Zf:c.Zf,hk:c.hk,className:c.className,style:c.style})};
WK=function(){_.UE.apply(this,arguments);var a=this;this.nc=!1;this.state={Lc:void 0,Zb:void 0};this.zo=void 0;this.isEnabled=function(){return a.props.Hh&&document.fullscreenElement||!a.props.Hh&&!document.fullscreenElement};this.so=function(b){b=b.detail;if(a.isEnabled()&&b){var c=b.Lc,d=b.Zb;a.nc&&!_.M("delay_sheet_open_killswitch")?a.zo=b:(c==null?0:c.isDisabled)&&(c==null?0:c.disabledCommand)?(KK(!0),_.vC(c.disabledCommand,a.sa,!1)):(_.sB().hash!=="#bottom-sheet"&&bJ("bottom-sheet",!0),a.nc=
!0,document.body.setAttribute("bottom-sheet-open",""),_.CK.dispatch(BK(!0)),a.M({Lc:c,Zb:d}),KK(!0),_.QK(a.sa,c==null?void 0:c.focusOnClose,!0))}};this.vD=function(){return _.z(function(b){switch(b.j){case 1:return a.isEnabled()?_.x(b,ZI,2):b.return();case 2:if(_.sB().hash!=="#bottom-sheet"){b.L(3);break}if(document.fullscreenElement){bJ("",!0);b.L(4);break}return _.x(b,_.aJ(),4);case 4:a.lk();case 3:a.zo&&!_.M("delay_sheet_open_killswitch")&&(a.so({detail:a.zo}),a.zo=void 0),_.wa(b)}})};this.lk=
function(){if(a.isEnabled()&&a.nc&&_.sB().hash!=="#bottom-sheet"){a.nc=!1;document.body.removeAttribute("bottom-sheet-open");var b,c;(b=a.state.Lc)==null||(c=b.tH)==null||c.call(b);a.M({Lc:void 0,Zb:void 0});KK(!1);_.RK(a.sa);_.CK.dispatch(BK(!1))}}};XK=function(a){a=a===void 0?!1:a;_.M("mweb_enable_keto_batch_16_3")?_.U(PCa)({Hh:a}):_.WE(WK,{Hh:a===void 0?!1:a});_.SE(_.M("mweb_enable_keto_batch_16_3_log"))};
UCa=function(a){if(a){var b={};for(f in a)if(a.hasOwnProperty(f)){var c=a[f],d=f.includes("foreground")?"color":String(f).replace(/([A-Z])/g,"-$1").toLowerCase();c&&(b[d]=_.eA(c))}a="";for(var e in b)if(Object.prototype.hasOwnProperty.call(b,e)){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("ca`"+e);var f=b[e];f!=null&&(f=Array.isArray(f)?f.map(Yba).join(" "):Yba(f),a+=e+":"+f+";")}return a?new Vh(a,SCa):TCa}};
_.YK=function(a){var b=a.className;var c=a.onClick;var d=a.style;var e=a.options;var f=a.children;var h=a.stopPropagation===void 0?!0:a.stopPropagation;var k=a.RD;var l=a.ow;var m=a.gj;var n=a.ariaBusy;var p=a.PD;a=a.ariaHidden;var q="c3-material-button-button";if(e==null?0:e.className)q+=" "+e.className;q+=" sentence-case";var r=_.no(function(y){(e==null?void 0:e.disabled)!==void 0&&y.append("disabled",!(e==null||!e.disabled));(e==null?void 0:e.ariaLabel)!==void 0&&y.append("aria-label",e.ariaLabel);
(e==null?void 0:e.pf)!==void 0&&y.append("aria-labelledby",e.pf.toString());(e==null?void 0:e.ariaExpanded)!==void 0&&y.append("aria-expanded",e.ariaExpanded);(e==null?void 0:e.ariaPressed)!==void 0&&(e==null?void 0:e.ariaPressed)!==null&&y.append("aria-pressed",e.ariaPressed);(e==null?void 0:e.id)!==void 0&&y.append("id",e.id);(e==null?void 0:e.tabIndex)!==void 0&&y.append("tabindex",e.tabIndex)}),t=_.P(function(y){c==null||c(y);return!h}),w=_.P(function(y){var B;e==null||(B=e.onclick)==null||B.call(e,
y);return!(e==null?0:e.onclick)});return _.H("c3-material-button",{class:b,style:d,"data-style":k,"data-icon-only":l,"is-busy":m,"aria-busy":n,"data-button-id":p,"aria-hidden":a,"on:click":t},_.H("button",Object.assign({},{class:q,"on:click":w},r),_.H("div",{class:"cbox"},f)))};VCa=function(a){a.preventDefault()};
_.ZK=function(a,b,c){c=c===void 0?_.pB:c;(0,_.qF)(b,function(d){_.qB(d,"_data",a,function(){a?(d.addEventListener("touchstart",FC,{passive:!0}),d.addEventListener("click",AC),d.removeEventListener("click",VCa)):(d.removeEventListener("touchstart",FC,{passive:!0}),d.removeEventListener("click",AC),d.addEventListener("click",VCa));a&&(a.clickTrackingParams&&(d.params={itct:a.clickTrackingParams}),Eta(d,a),Ih(d,_.sC(a)||""))});c()})};
WCa=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?_.pB:c;var d=Object.assign({},b,{onclick:function(e){_.vC(a,a,!1);e.preventDefault();var f;((f=b)==null?0:f.stopPropagation)&&e.stopPropagation()},role$:"button"});(0,_.qF)(d,function(){c()})};XCa=function(a){if(!a.runs)return!0;a=_.u(a.runs);for(var b=a.next();!b.done;b=a.next())if(b.value.navigationEndpoint)return!1;return!0};
YCa=function(a){a.bold&&kB("strong");a.deemphasize&&kB("span",{className:"formatted-string-deemphasize"});a.italics&&kB("em");if(a.textColor){var b=_.dA(a.textColor);kB("span",{style:"color: "+b})}a.strikethrough&&kB("s")};ZCa=function(a){a.strikethrough&&vn();a.textColor&&vn();a.italics&&vn();a.deemphasize&&vn();a.bold&&vn()};
$Ca=function(a,b){var c=b.noEndpoints;b=b.stopPropagation;var d=a.text;if(d){YCa(a);var e=a==null?void 0:a.navigationEndpoint;!e||c?_.En(d):_.N(e,_.DC)||_.N(e,_.zC)||_.xC(e)||_.N(e,_.$K)||_.yC(e)||_.N(e,_.aL)?(c={tabindex$:"0"},_.N(e,_.zC)&&(c["aria-haspopup$"]="true"),b&&(c.stopPropagation=!0),WCa(e,c,function(){_.En(d)})):_.ZK(e,{tabindex$:"0","force-new-state$":!0},function(){_.En(d)});ZCa(a)}};
_.cL=function(a,b){if(_.M("mweb_enable_keto_batch_formatted_string"))_.U(_.bL)({data:a,Da:b==null?void 0:b.Da,ka:b==null?void 0:b.ka,pb:b==null?void 0:b.pb,uc:b==null?void 0:b.uc,stopPropagation:b==null?void 0:b.stopPropagation,userInput:b==null?void 0:b.userInput,Sb:b==null?void 0:b.Sb});else if(a&&Object.keys(a).length!==0){var c=b||{},d=c.Da;b=c.ka;var e=c.pb,f=c.stopPropagation,h=c.uc,k=c.userInput;c=c.Sb;if(_.M("web_replace_formatted_with_attributed_string")&&eta(a))_.xD(a,{ariaLabel:_.AK(a.accessibility),
Da:d,ka:b,pb:e,Sb:c!=null?c:!0,uc:h,userInput:k});else{(d=(a.accessibility||XCa(a))&&a.runs&&a.runs.length>1)&&kB("span",{"aria-label$":_.AK(a.accessibility),className:"formatted-string-text",role$:"text"});if(a.simpleText)_.En(a.simpleText);else if(a.runs)for(e=0;e<a.runs.length;e++)$Ca(a.runs[e],{noEndpoints:!!b,stopPropagation:!!f});d&&vn()}}_.SE(_.M("mweb_enable_keto_batch_formatted_string_log"))};_.Y=function(a,b){return _.H(_.Oo,null,function(){_.cL(a,b)})};
_.eL=function(a){var b=a.iconType;var c=a.lottiePlayerProps;var d=a.label;var e=a.ariaLabel;var f=a.ariaPressed;var h=a.disabled;var k=a.onclick;var l=a.style===void 0?"":a.style;var m=a.gj===void 0?!1:a.gj;var n=a.uo===void 0?"":a.uo;var p=a.Ox===void 0?!1:a.Ox;var q=a.ariaExpanded;var r=a.pf;var t=a.lD===void 0?"":a.lD;var w=a.id;var y=a.QH===void 0?"":a.QH;var B=a.basicColorPaletteData;var A=a.data;var E=a.ariaHidden===void 0?!1:a.ariaHidden;a={ariaLabel:e||"",pf:r,ariaPressed:f,ariaExpanded:q,
className:y,disabled:!!h,id:w,onclick:k,tabIndex:Number(a.tabIndex)||void 0};var I;B=(I=UCa(B))==null?void 0:I.toString();return _.H(_.dL,{className:["button-renderer compact",c?"button-renderer-with-animation":"",n].join(" "),RD:typeof l==="string"?l:l.styleType,ow:!d,gj:!!m,ariaBusy:!!m,PD:t,style:B,options:a,ariaHidden:E,mF:function(G){A&&_.M("c3_enable_button_impression_logging")&&_.zF(G,A)}},c?_.H(_.Oo,null,function(){_.YE({lottiePlayerProps:c})}):!p&&b?_.gC(b,{className:"button-renderer-icon"}):
null,_.H("div",{class:"button-renderer-text"},d?_.Y(d):null),p&&b?_.gC(b,{className:"button-renderer-icon"}):null,m?_.H("div",{class:"button-with-icon-spinner spinner"}):null)};fL=function(a){var b=a.children;var c=a.onclick;var d=a.role;var e=a.ly;var f=_.Ow();a=_.P(function(h){c==null||c(h);return!0});d=_.no(d?{role:d}:{});_.Jw(function(){e==null||e(f.value)});return _.H("ytm-menu-item",null,_.H("button",Object.assign({},{class:"menu-item-button",el:f,"on:click":a},d),b))};
_.aDa=function(a){var b=a.command;return _.H("ytm-menu-item",null,_.H(_.EG,{command:b!=null?b:void 0,className:"menu-item-button",stopPropagation:!1},a.children))};gL=function(a,b,c,d){_.U(fL)({onclick:a,children:_.dC(b),role:c,ly:d})};_.hL=function(){_.hB("menu-closed");return ZI.then(function(){_.sB().hash==="#menu"&&_.aJ();return ZI})};bDa=function(){iL&&_.sB().hash!=="#menu"&&(window.removeEventListener("updateui",jL),_.RK(iL),document.body.removeChild(iL),VE(iL),iL=null,jL=_.pB)};
cDa=function(a){gL(void 0,function(){(0,_.S)({className:"menu-cancel-button"},function(){a.cancelButtonIcon&&_.bK(a.cancelButtonIcon,{className:"menu-cancel-icon"});var b;_.En((b=a.cancelButtonLabel)!=null?b:"")})})};
dDa=function(a){var b=_.ME("menu-content",{"menu-bottom":a.isBottomMenu,"menu-show-icons":a.shouldShowIcons||a.isBottomMenu||a.isFullWidth,"rounded-container":!a.isFullWidth});(0,_.TE)(iL,function(){var c=!!a.isFullWidth;(0,_.S)({role$:c?null:"dialog","aria-modal$":!c,"aria-labelledby$":a.Dv,className:b,onclick:a.Ui||a.xw?null:_.hL},function(){a.content();a.Ui||(a.isBottomMenu?(0,_.S)({className:"bottom-menu-cancel"},function(){cDa(a)}):cDa(a))});c||VK(_.hL)})};
_.kL=function(a){if(a.isDisabled&&a.disabledCommand)_.vC(a.disabledCommand,a,!1);else{iL=document.getElementById("menu");iL||(iL=document.createElement("div"),iL.id="menu",document.body.appendChild(iL));_.sB().hash!=="#menu"&&bJ("menu");iL.className=a.isFullWidth?"menu-container menu-full-width":"menu-container";a.className&&(iL.className+=" "+a.className);"scrollTo"in iL&&iL.scrollTo(0,0);window.removeEventListener("updateui",jL);jL=function(){_.M("mweb_enable_keto_batch_30")?(_.Po(iL,null),_.Po(iL,
_.H(_.F,null,_.H(eDa,{Tn:a},_.H(_.Oo,null,function(){a.content()})),_.H(_.TK,{label:"dialog",onclick:_.hL})))):dDa(a);_.SE(_.M("mweb_enable_keto_batch_30_log"))};jL();a.Kd===void 0&&(a.Kd=!0);if(a.Kd){var b;(b=iL.querySelector("button"))==null||b.focus()}_.QK(iL,a.focusOnClose,a.Kd);window.addEventListener("updateui",jL);_.hB("menu-opened")}};
_.lL=function(a){function b(y){n&&y.stopPropagation();p&&y.preventDefault();_.kL({content:e,cancelButtonLabel:f,cancelButtonIcon:h,className:l,focusOnClose:y.currentTarget,shouldShowIcons:m,isDisabled:t,disabledCommand:w})}var c=a.iconType;var d=a.label;var e=a.content;var f=a.cancelButtonLabel;var h=a.cancelButtonIcon;var k=a.menuIconClassName===void 0?"":a.menuIconClassName;var l=a.menuClass;var m=a.shouldShowIcons;var n=a.stopPropagation;var p=a.preventDefault;var q=a.isSmallLockup===void 0?!1:
a.isSmallLockup;var r=a.buttonOverrides;var t=a.isDisabled;var w=a.disabledCommand;q&&(k+=" small ");return _.H("ytm-menu",null,r?_.H(_.Oo,null,function(){var y=Object.assign({},{onTap:b,iconPosition:"icon-only",style:"mono",type:"text",size:"M",state:"active",accessibilityLabel:d},r);_.tF(y,function(){_.bK(c)})}):_.H(_.Oo,null,function(){_.eK({name:c,ariaLabel:d,className:k,onclick:b,tn:!0})}))};
_.mL=function(a){function b(A){r&&A.stopPropagation();t&&A.preventDefault();_.kL({content:e,cancelButtonLabel:h,cancelButtonIcon:k,className:p,focusOnClose:A.currentTarget,shouldShowIcons:q,isDisabled:y,disabledCommand:B})}var c=a.iconType;var d=a.label;var e=a.content;var f=a.ariaLabel;var h=a.cancelButtonLabel;var k=a.cancelButtonIcon;var l=a.style;var m=a.gj;var n=a.kP;var p=a.menuClass;var q=a.shouldShowIcons;var r=a.stopPropagation;var t=a.preventDefault;var w=a.buttonOverrides;var y=a.isDisabled;
var B=a.disabledCommand;return _.H("ytm-menu",null,w?_.H(_.Oo,null,function(){var A=Object.assign({},{onTap:b,rg:function(){if(d){var E=_.jC(d);_.xD(E,{pb:!0,noWrap:!0})}},iconPosition:"icon-with-label",style:"mono",type:"text",size:"M",state:"active",accessibilityLabel:f},w);_.tF(A,function(){_.bK(c)})}):_.H(_.eL,{iconType:c,label:d,ariaLabel:f,ariaPressed:!1,onclick:b,style:l,gj:m,uo:n}))};_.oL=function(){return _.sB().hash==="#dialog"||!(!_.nL||!_.nL.isPersistent)};
_.qL=function(){return _.z(function(a){return a.j==1?_.x(a,ZI,2):a.return(new Promise(function(b){var c=_.K().resolve(_.mp(_.kJ));(c==null?0:c.Gh())&&c.ab();if(_.sB().hash==="#dialog"){var d;((d=_.nL)==null?0:d.mu)?setTimeout(function(){pL();bJ("");b()},100):_.aJ().then(function(){pL();b()})}else pL(),b()}))})};
pL=function(){window.removeEventListener("updateui",rL);if(_.nL){_.nL.isPersistent&&window.removeEventListener("hashchange",sL);_.tL&&(_.RK(_.tL),VE(_.tL),_.tL.parentElement.removeChild(_.tL),_.tL=null);var a;((a=_.nL)==null?0:a.Zv)&&_.nL.Zv();_.nL=null;_.hB("dialog-closed")}};sL=function(){_.tL&&_.sB().hash!=="#dialog"&&pL()};fDa=function(a){(a=_.aj(a.target,"button"))&&!a.disabled&&_.qL()};
rL=function(){(0,_.TE)(_.tL,function(){var a=["dialog"],b;((b=_.nL)==null?0:b.Av)&&a.push(_.nL.Av);var c;((c=_.nL)==null?0:c.He)&&a.push("modern-dialog-layout");var d;((d=_.nL)==null?0:d.Sr)&&a.push("scrollable");var e;((e=_.nL)==null?0:e.isFullscreen)&&a.push("dialog-fullscreen");var f;((f=_.nL)==null?0:f.isFullscreen)||a.push("rounded-container");_.M("mweb_modern_dialogs")&&a.push("modern-dialog");a={role$:"dialog","aria-modal$":!0,className:a.join(" ")};_.lB("dialog",a,function(m){var n;((n=_.nL)==
null?0:n.Aw)&&_.nL.Aw(m);var p;((p=_.nL)==null?0:p.He)?gDa():hDa();var q,r=(q=_.nL)==null?void 0:q.data;_.oB(function(){_.uD(m,r)})});var h,k;VK(((h=_.nL)==null?0:h.yn)||((k=_.nL)==null?0:k.isPersistent)?void 0:iDa);var l;((l=_.nL)==null?0:l.Jy)&&_.nL.Jy()})};
hDa=function(){if(_.nL){var a=_.xH("dialog-header"),b=_.xH("dialog-body"),c;((c=_.nL)==null?0:c.header)&&(0,_.S)({id:a,className:"dialog-header","aria-live$":"polite",tabindex$:"0"},function(){_.nL.header()});var d;if((d=_.nL)==null?0:d.showLoadingSpinner)(0,_.S)({className:"spinner"});else{var e;((e=_.nL)==null?0:e.content)&&(0,_.S)({id:b,className:"dialog-body user-text"},function(){var l;((l=_.nL)==null?0:l.content)&&_.nL.content()});a={className:"dialog-buttons"};var f,h;((f=_.nL)==null?0:f.stayOpenOnClick)||
((h=_.nL)==null?0:h.isPersistent)||(a.onclick=fDa);var k;((k=_.nL)==null?0:k.buttons)&&(0,_.S)(a,function(){var l;((l=_.nL)==null?0:l.buttons)&&_.nL.buttons()})}}};
gDa=function(){if(_.nL){var a=function(){var e;(0,_.S)({className:"user-text"},(e=_.nL)==null?void 0:e.content)},b=jDa(_.nL.primaryButton),c=jDa(_.nL.secondaryButton),d;if((d=_.nL)==null?0:d.showLoadingSpinner)a=function(){(0,_.S)({className:"spinner"})},c=b=void 0;_.U(_.hI)(Object.assign({},_.nL,{title:kDa(),content:a,primaryButton:b,secondaryButton:c}))}};
jDa=function(a){if(a)return function(b){var c="";_.nL&&_.nL.ym!==1&&(c="dialog-flex-button");c={className:c};var d,e;((d=_.nL)==null?0:d.stayOpenOnClick)||((e=_.nL)==null?0:e.isPersistent)||(c.onclick=fDa);(0,_.S)(c,function(){a(b)})}};kDa=function(){var a=_.nL.title;if(a)return function(){var b={id:_.xH("dialog-header"),"aria-live$":"polite",tabindex$:"0"};(0,_.S)(b,function(){a()})}};
_.uL=function(a){_.sB().hash==="#menu"&&_.hL();FK()&&_.HK();var b=_.K().resolve(_.mp(_.kJ));(b==null?0:b.Gh())&&b.ab();oCa().then(BBa).then(function(){a.On&&a.On();_.tL&&pL();_.nL=a;_.nL.isPersistent||(bJ("dialog"),window.addEventListener("hashchange",sL));window.addEventListener("state-change",sL);_.tL=document.createElement("div");_.tL.className=_.nL.isFullscreen?"dialog-container dialog-fullscreen":"dialog-container";(Nz()||document.body).appendChild(_.tL);rL();_.QK(_.tL,_.nL.focusOnClose,_.nL.Kd);
window.addEventListener("updateui",rL);_.hB("dialog-opened")})};iDa=function(){var a;if((a=_.nL)==null?0:a.onDismissCallback)_.nL.onDismissCallback();_.qL()};vL=function(){this.j=new Set};
mDa=function(a){this.query=a;this.previousQuery=null;this.id=lDa++;if(!wL){var b=_.L("SBOX_SETTINGS");a="https://"+((b==null?void 0:b.SEARCHBOX_HOST_OVERRIDE)||"suggestqueries-clients6.youtube.com")+"/complete/search?ds=yt";var c=b==null?void 0:b.REQUEST_LANGUAGE;c&&(a+="&hl="+c);(c=b==null?void 0:b.REQUEST_DOMAIN)&&(a+="&gl="+c);a+="&client=youtube-reduced&gs_ri=youtube-reduced";(c=b==null?void 0:b.SUGG_EXP_ID)&&(a+="&sugexp="+encodeURIComponent(c));(b=b==null?void 0:b.PSUGGEST_TOKEN)&&(a+="&tok="+
b);wL=a}};nDa=function(a){var b="q="+encodeURIComponent(a.query);a.previousQuery&&(b+="&pq="+encodeURIComponent(a.previousQuery));return b};oDa=function(){var a=_.L("SBOX_SETTINGS"),b={};if(a==null?0:a.SEND_VISITOR_DATA)b["X-Goog-Visitor-Id"]=a==null?void 0:a.VISITOR_DATA;return b};pDa=function(a){var b=wL;b+="&gs_id="+a.id.toString(36);b+="&q="+encodeURIComponent(a.query);b+="&cp="+a.query.length;a.previousQuery&&(b+="&pq="+encodeURIComponent(a.previousQuery));return b};
qDa=function(){this.sessionNumber=this.startTime=-1;this.outOfSyncResponseCount=0;this.W=-1;this.availableSuggestions=[];this.previousSuggestions={};this.B=-1;this.j=new vL;this.Z=this.H=this.o=0;this.O=Array.from({length:9}).fill(0);this.G=this.A=this.J=-1};rDa=function(){xL||(xL=new qDa);return xL};
sDa=function(a,b){a.availableSuggestions.forEach(function(c){a.previousSuggestions[c]=!0});a.availableSuggestions=b.map(function(c){var d=c.type.toString();c.subtypes.length>0&&(d+="i"+c.subtypes.join("i"),d+="k"+c.suggestionSources.wB.toString());return d})};uDa=function(a,b,c){b=Date.now()-b;c?a.Z=b:(a.o+=b,a.H=Math.max(a.H,b),c=Math.floor(b/100),c>=tDa.length?++a.O[8]:++a.O[tDa[c]])};yL=function(a,b){var c=Date.now();a.A<0&&(a.A=c);b&&(a.J=c);a.G=c};
vDa=function(a){var b="";a.availableSuggestions.forEach(function(e){delete a.previousSuggestions[e]});for(var c=_.u(Object.keys(a.previousSuggestions)),d=c.next();!d.done;d=c.next())d=d.value,a.previousSuggestions[d]&&(b+=(b?"j":"")+d);return b};
zL=function(a,b){var c=[];b&&(c[1]=b.toString());c[0]="youtube-reduced";c[7]=Date.now()-a.startTime;c[6]=a.sessionNumber;a.W>=0&&(c[33]=a.W);c[13]=a.outOfSyncResponseCount;if(a.availableSuggestions.length>0){for(var d=b="",e=0,f=_.u(a.availableSuggestions),h=f.next();!h.done;h=f.next())h=h.value,h!==d&&(e>1&&(b+="l"+e),b+=(d?"j":"")+h,e=0,d=h),e+=1;e>1&&(b+="l"+e);c[3]=b}c[35]=vDa(a);a.B>=0&&(c[2]=a.B);c[26]=Array.from(a.j.j).join("j");if(a.o>0){c[15]=a.o;c[14]=a.H;b=[];for(f=d=0;f<9;f++)e=a.O[f],
e===0?d++:(d>1?b.push(f+"-"+e):d===1?b.push("0j"+e):b.push(e.toString()),d=0);b=b.join("j");c[16]=b}a.Z>0&&(c[36]=a.Z);a.J>0&&(c[18]=a.J-a.startTime);a.A>0&&(c[4]=a.A-a.startTime);a.G>0&&(c[5]=a.G-a.startTime);return c.join(".")};
wDa=function(){var a=AL;if(_.Kq()||_.$z&&Jq("version/")){var b=a.match(new RegExp(atob(atob("WGlndWV6aDlLU0FvZDNKOFpYaHdLUT09")))),c=void 0;a.endsWith(" wr")&&b&&(c="/intacc/"+b[1]);a=new Promise(function(d){_.Tz(window,"state-navigateend",function(){d("done")})});c&&b&&a.then(function(){return fetch("/intacc/"+b[1],{credentials:"include"})}).then(function(d){d.status===200&&c&&_.ii(window.location,Eh(c))}).catch(function(d){_.av(d)})}};_.BL=function(a){_.hB("navigate",a)};
xDa=function(a){var b={};b.oq=a.oq;b.gs_l=a.gs_l;return b};_.CL=function(a){return a.foregroundTitleColor==="THEME_ATTRIBUTE_TEXT_DISABLED"||a.foregroundIconColor==="THEME_ATTRIBUTE_ICON_DISABLED"};
_.EL=function(a){var b=a.data;var c=a.onButtonClickCallback;var d=a.shouldShowIcons;var e=a.icon;var f=a.processAllEndpoints;var h=a.preventDefault;var k=a.stopPropagation;var l=a.disableButtonRendererClickHandling;var m=a.className;var n=a.buttonOverrides;var p=a.forceModernIconButton;var q=a.isSubscribe;var r=a.alignByText;a=a.gn;var t,w=d!==!1?e||((t=b.icon)==null?void 0:t.iconType):null;d=b.text;e=_.AK(b.accessibilityData||b.accessibility);t=[];m&&t.push(m);b.themedBasicColorPalette&&_.CL(b.themedBasicColorPalette)&&
t.push("disabled");w&&t.push("icon-"+w.toLowerCase());var y=BAa({renderer:b,ro:function(B,A){h&&A.preventDefault();k&&A.stopPropagation();l||_.DL(b,A,c,!!f)},pA:!0,vo:n,uy:!0,forceModernIconButton:p,isSubscribe:q||!1,gn:a});r&&(y.alignByText=!0);return _.H("ytm-button-renderer",{hidden:!d&&!e,class:t.join(" ")},_.H(_.Oo,null,function(){_.tF(y,function(){_.bK(w)})}))};FL=function(a){if(a&&_.wta(a))return a};
_.DL=function(a,b,c,d){a._isBusy||(c&&c(),c=!a.navigationEndpoint||!!_.N(a.navigationEndpoint,_.GL)||!!_.N(a.navigationEndpoint,_.HL),d?(a.trackingParams&&c&&_.qC(a.trackingParams),a.serviceEndpoint&&_.vC(a.serviceEndpoint,a,!1,{event:b}),a.navigationEndpoint&&_.vC(a.navigationEndpoint,a,!1,{event:b}),a.command&&_.vC(a.command,a,!1,{event:b})):(d=FL(a.serviceEndpoint)||FL(a.navigationEndpoint)||FL(a.command))&&_.vC(d,a,c,{event:b}))};yDa=function(a,b){a&&_.IL(a,b)};
_.IL=function(a,b){_.M("mweb_enable_keto_batch_20_3")?_.U(_.EL)({data:a,onButtonClickCallback:b==null?void 0:b.onButtonClickCallback,shouldShowIcons:b==null?void 0:b.shouldShowIcons,icon:b==null?void 0:b.icon,processAllEndpoints:b==null?void 0:b.processAllEndpoints,preventDefault:b==null?void 0:b.preventDefault,stopPropagation:b==null?void 0:b.stopPropagation,disableButtonRendererClickHandling:b==null?void 0:b.disableButtonRendererClickHandling,className:b==null?void 0:b.className,buttonOverrides:b==
null?void 0:b.buttonOverrides,forceModernIconButton:b==null?void 0:b.forceModernIconButton,isSubscribe:b==null?void 0:b.isSubscribe,alignByText:b==null?void 0:b.alignByText}):zDa(a,b);_.SE(_.M("mweb_enable_keto_batch_20_3_log"))};
zDa=function(a,b){function c(n,p){b&&b.preventDefault&&p.preventDefault();b&&b.stopPropagation&&p.stopPropagation();b&&b.disableButtonRendererClickHandling||_.DL(a,p,d,k)}var d=b==null?void 0:b.onButtonClickCallback,e,f=(b==null?void 0:b.shouldShowIcons)!==!1?(b==null?void 0:b.icon)||((e=a.icon)==null?void 0:e.iconType):null;e=a.text;var h=_.AK(a.accessibilityData||a.accessibility),k=b&&b.processAllEndpoints,l=[];b&&b.className&&l.push(b.className);a.themedBasicColorPalette&&_.CL(a.themedBasicColorPalette)&&
l.push("disabled");f&&l.push("icon-"+f.toLowerCase());if(e||h){var m=BAa({renderer:a,ro:c,pA:!0,vo:b==null?void 0:b.buttonOverrides,uy:!0,forceModernIconButton:b==null?void 0:b.forceModernIconButton,isSubscribe:(b==null?void 0:b.isSubscribe)||!1});if(b==null?0:b.alignByText)m.alignByText=!0;_.AF(a,"ytm-button-renderer",{className:l.join(" ")},function(){_.tF(m,function(){_.bK(f)})})}};ADa=function(a){var b;return(b=a.wu)==null?void 0:b.TJ};BDa=function(a){var b;return(b=a.wu)==null?void 0:b.overlay};
CDa=function(){aI.apply(this,arguments);this.G=!1;this.B=this.o=!0};KL=function(){if(!JL){var a=new ZH(_.L("VOZ_API_KEY"),"https://embeddedassistant-frontend-clients6.youtube.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel",.5);JL=new CDa(_.CK,a)}return JL};
EDa=function(a){a=a.data;var b=_.Ow();_.Jw(function(){b.value.layer=5});var c=_.RH(BDa),d=_.RH(ADa);d=c&&Nza(c,a,d);var e=_.P(function(){if(c){var f=KL();if(c==="listening"||c==="transcribing"){var h;(h=f.j)==null||$H(h,"failure");f.M("microphone-off");f.stop()}else f.start()}});return _.H("ytm-voice-search-dialog-renderer",{el:b,role:"dialog"},c?_.H(_.F,null,_.H("div",{class:"voice-search-body"},_.H("div",{class:"voice-search-body-text"},d.headerText?_.H("h1",{class:"voice-search-prompt"},_.Y(d.headerText)):
null,d.HA?_.H("h1",{class:"voice-search-transcription-high"},d.HA||""):null,d.IA?_.H("h1",{class:"voice-search-transcription-low"},d.IA||""):null,d.hq?_.H("h3",{class:"voice-search-body-line"},_.Y(d.hq)):null,d.jD?_.H("h3",{class:"voice-search-body-line"},_.Y(d.jD)):null),_.H("div",{class:"voice-search-mic-section"},_.H("div",{class:"voice-search-mic-container voice-search-mic-state-"+d.Qf,"on:click":e,role:"button","aria-label":_.nI(d.Pf),tabindex:0},_.H("div",{class:"voice-search-mic-pulse"}),_.H("div",
{class:"voice-search-mic-levels"}),_.H("div",{class:"voice-search-mic-circle"},_.gC("MICROPHONE_ON",{className:"voice-search-mic-icon"}))),_.H("div",{class:"voice-search-mic-label"},_.H("h3",null,_.Y(d.ys))))),_.H("div",{class:"voice-search-header"},DDa(a.exitButton,{buttonRenderer:{className:"voice-search-exit",onButtonClickCallback:function(){_.aJ()}}}))):null)};
GDa=function(a){a=a===void 0?!0:a;var b=KL();b.reset();a||(a=b.j)==null||(a.o=!1);b.stop();(b=b.j)!=null&&(b.o=!0);if(b=FDa())_.RK(b),b.remove()};FDa=function(){return document.querySelector(".voice-search-dialog-container")};IDa=function(a){if(a.trackingParams){var b=_.dw();_.hw(b,22678,void 0,{layer:5,parentLayer:0});HDa=_.mw(b,a.trackingParams,void 0,5)}};JDa=function(){_.sB().hash!=="#voice-search"&&GDa()};
LDa=function(a,b){if(a==="search")return cJ()||"";if(a==="watch"&&b){var c=_.eG(b,"slimVideoMetadataRenderer");if(c&&c.title)return _.kK(c.title);c=_.eG(b,"slimVideoInformationRenderer");if(c==null?0:c.title)return _.kK(c==null?void 0:c.title)}if(a==="shorts"&&b&&(c=_.eG(b,"reelPlayerHeaderRenderer"))&&c.reelTitleText)return _.kK(c.reelTitleText);if(a==="hashtag"){if(_.M("enable_removing_navbar_title_on_hashtag_page_mweb"))return"";if(b){var d,e;return(a=(d=b.header)==null?void 0:(e=d.hashtagHeaderRenderer)==
null?void 0:e.hashtag)?_.kK(a):"YouTube"}d=_.wB(_.sB().href).split("/");if(d.length>2)return"#"+d[2]}if(a==="select_site"||a==="settings")return _.kK(b.title)||"YouTube";if(b&&b.channelCreation)return KDa;if(a==="browse"&&b){d=_.eG(b,"profilePageHeaderTitleViewModel");var f;if(d==null?0:(f=d.title)==null?0:f.content)return d.title.content}b=b&&b.header;if(!b)return"";if((f=b.feedTabbedHeaderRenderer)&&f.title)return _.kK(f.title);if((f=b.c4TabbedHeaderRenderer)&&f.title&&a!=="trending")return f.title;
if((a=b.playlistHeaderRenderer)&&a.title)return _.kK(a.title);a=b.pageHeaderRenderer;return(a==null?0:a.pageTitle)?a==null?void 0:a.pageTitle:""};MDa=function(a){document.title=a+(a==="YouTube"?"":" - YouTube")};NDa=function(a){var b,c;return a==null?void 0:(b=a.header)==null?void 0:(c=b.pageHeaderRenderer)==null?void 0:c.pageHeaderEntityKey};_.LL=function(){_.sm('[aria-label="YouTube"]',5,{bn:!0})};NL=function(a){var b=ML;b&&_.Po(b,a?_.H(ODa,null,_.H(_.Oo,null,function(){a()})):null)};
PDa=function(){ML&&(VE(ML),ML.parentElement.removeChild(ML),ML=null)};RL=function(){OL.length&&(PL="out",NL(OL[0].content),setTimeout(function(){OL.shift();OL.length>0?(PDa(),QDa(),QL()):(NL(),PDa())},195))};RDa=function(){_.Tz(window,"state-navigateend",function(){setTimeout(_.LL,1E3)})};SDa=function(a){var b=document.querySelector("c3-toast");if(b){var c=b.querySelector("button");c&&_.Tz(c,"focus",function(){clearTimeout(SL);SL=setTimeout(RL,a);_.Tz(c,"blur",function(){_.oB(_.TL)})})}};
QL=function(){PL="in";var a=OL[0],b=a.durationMs;NL(a.content);SL=setTimeout(function(){RL()},225+b);_.KB()?RDa():SDa(b)};QDa=function(){ML||(ML=document.createElement("div"),ML.id="toasts",(Nz()||document.body).appendChild(ML),NL())};_.UL=function(a,b,c){b=b===void 0?5E3:b;c=c===void 0?!1:c;QDa();b=b||5E3;c&&OL.length>0?(clearTimeout(SL),_.oB(function(){OL[0]={content:a,durationMs:b};QL()})):(OL.push({content:a,durationMs:b}),OL.length===1&&_.oB(QL))};
_.TL=function(){OL.length>0&&(clearTimeout(SL),RL())};VL=function(a){return _.$B(a,{fb:!1})};
_.XL=function(a,b){var c=a.openPopupAction||a;a=c.popupType;var d=c.popup;_.zB.response.popup=d;switch(a){case "FULLSCREEN_OVERLAY":TDa(d,b);break;case "TOAST":for(var e in d)d.hasOwnProperty(e)&&Usa(e).then(function(){_.UL(function(){WL(d)},c.durationHintMs,c.reusePopup)});break;case "BOTTOM_SHEET":case "DIALOG":case "MODAL":case "SURVEY":if(d==null?0:d.flowRootRenderer){TDa(d,b);break}WL(d,b);break;default:throw Error("Kd`"+a);}};
TDa=function(a,b){_.uL({content:function(){WL(a,b)},data:a,stayOpenOnClick:!0,isFullscreen:!0,Kd:!0,mu:!0,He:_.M("mweb_modern_dialog_layout")})};
UDa=function(a,b){var c=Object.assign({},a(),{playerState:0}),d,e=tJ((d=b())==null?void 0:d.Ka),f;d=vJ((f=b())==null?void 0:f.Ka);BJ(c,e)&&(YL(),c.M({Me:d==null||!d.countDownSecs||d.countDownSecs<=0?10:d.countDownSecs}),ZL=setInterval(function(){var h=a();if(h.Me!==1)h.M({Me:h.Me-1});else{YL();var k;h=(k=b())==null?void 0:k.Ka;k=tJ(h);(h=uJ(k))&&_.vC(h,k,!1,{autonav:"1"})}},1E3))};YL=function(){ZL&&(clearInterval(ZL),ZL=void 0)};VDa=function(a){YL();a.props().M({vm:!0})};
$L=function(a,b){if(!b)return!1;var c;if((c=a.Fb)==null||!c.cA)return!1;b=b.getPlayerStateObject().isError;return(a.playerState===-1||a.playerState===5)&&!b};WDa=function(a,b){if(a=a.Eb||b)return a===-1?"back":"forward"};aM=function(){return _.L("MWEB_SUPPORTS_DOUBLE_TAP_TO_SEEK")};XDa=function(a){if(!(a<2))return Fqa(10*(a-1))};YDa=function(a,b){return a<b/3?-1:a>2*b/3?1:0};
ZDa=function(a){aM()&&(clearTimeout(bM),bM=setTimeout(function(){var b={Sc:0,Eb:0};if(oJ(a)){var c=nJ(a)||a.Ha>=a.videoDuration;b.ra=a.playerState===2||a.playerState===3||c;b.playedTime=a.Ha;b.Db=!1;var d;(d=a.N)==null||d.seekTo(a.Ha);c=Object.assign({},a,b);if((c.isLive||c.playedTime<c.videoDuration)&&c.XA){var e;(e=c.N)==null||e.playVideo()}}a.M(b);clearTimeout(bM)},350))};
cM=function(a){if(!a)return 0;var b=a.getPresentingPlayerType(),c=a.getVideoData();return c&&c.isLive?(a=a.getProgressState(b),a.seekableEnd-a.seekableStart):a.getDuration(b)};_.dM=function(a,b){a.Je&&(b==null||b.unMute())};eM=function(a,b){a||_.oB(function(){b==null||b.previousVideo()})};$Da=function(a){var b=a.getPlayerState();b===1?a.pauseVideo():b===-1||b===2?a.playVideo():!_.M("mweb_pause_quality_ks")&&fM(a)&&a.playVideo()};
fM=function(a){var b=a.getPlayerState();if(b===2)return!0;if(b!==3)return!1;a=a.getPlayerStateObject();return!a.isBuffering&&!a.isUnstarted&&!a.isPlaying&&a.isPaused};gM=function(){return!!_.yi(_.sB().href,"list")};cEa=function(a,b){if(b)if(_.M("mweb_macro_markers_sync_entity"))a=hM(a,b),aEa(a);else if(b=bEa(a,b),b!==-1){var c,d;(d=(c=a.Ea).wz)==null||d.call(c,b)}};
iM=function(a,b){if(!a)return[];var c,d,e;a=((c=a.markersMap)==null?void 0:(d=c.find(function(f){return["DESCRIPTION_CHAPTERS","AUTO_CHAPTERS"].includes(f.key)}))==null?void 0:(e=d.value)==null?void 0:e.chapters)||[];!dEa(a)||(b==null?0:b.ux)||(a=[eEa()].concat(_.ma(a)));return a};eEa=function(){return{chapterRenderer:{timeRangeStartMillis:0}}};dEa=function(a){if(a.length===0)return!1;var b;return((b=_.N(a[0],MJ))==null?void 0:b.timeRangeStartMillis)!==0};
jM=function(a){return a?a.timeRangeStartMillis||0:0};kM=function(a,b){return iM(b).find(function(c,d,e){return fEa(a,e,d)})};lM=function(a,b){return iM(b,{ux:!0}).findIndex(function(c,d,e){return fEa(a,e,d)})};fEa=function(a,b,c){a=mM(a);return nM(a,b,c).Ie==="active"};hM=function(a,b){if(a.isDragging&&b)return a=bEa(a,b),a===-1?eEa():iM(b)[a]};bEa=function(a,b){return a.isDragging&&b?iM(b,{ux:!0}).findIndex(function(c,d,e){c=mM(a);return nM(c,e,d).Yf}):-1};
aEa=function(a){a=_.N(a,MJ);(a==null?0:a.onActiveCommand)&&BC(a.onActiveCommand)};mM=function(a){return Object.assign({},a,{videoDuration:a.videoDuration*1E3,playedTime:a.playedTime*1E3,Ha:a.Ha*1E3})};nM=function(a,b,c){var d=jM(_.N(b[c],MJ));b=jM(_.N(b[c+1],MJ))||a.videoDuration;c=a.isDragging;var e;if(e=a.isDragging)e=a.Ha,e=e!==null&&e>=d&&e<b;var f=a.playedTime;return f!==null&&f>=d&&f<b?{Ie:"active",Hn:c,Yf:e}:a.playedTime<d?{Ie:"pending",Hn:c,Yf:e}:{Ie:"seen",Hn:c,Yf:e}};
gEa=function(a,b,c){b=a/b.Fc;var d=iM(c);if(!d.length)return-b*72;c=0;d=_.u(d);for(var e=d.next();!e.done;e=d.next())if(jM(_.N(e.value,MJ))/1E3<a)c++;else break;return-(b*72)-c*56};oM=function(a,b,c,d,e,f){this.O=a;this.J=b;this.H=c;this.ba=d;this.ha=e;this.Z=f;this.startPosition=null;this.o=this.A=this.B=this.j=!1;this.G=new _.Vj(this.W,100,this)};
hEa=function(a,b,c){return function(d){var e=b(),f=c();a.J();d.stopPropagation();d=pM(a,e,d.clientX)*e.videoDuration;e.M({playedTime:d});if(e.playerState!==2){var h;(h=f.cu)==null||h.call(f)}a.G.gg(d,e,7)}};kEa=function(a,b){return function(c){iEa(a,c,jEa(c),b())}};lEa=function(a,b){return function(c){iEa(a,c,{x:c.clientX,y:c.clientY},b())}};nEa=function(a,b,c){return function(d){var e=b(),f=c();mEa(a,d,jEa(d),e,f,!0);if(f.onTouchMove)f.onTouchMove(e)}};
pEa=function(a,b,c){return function(d){oEa(a,d,b(),c())}};rEa=function(a){return function(){var b=a();qEa(b)}};rM=function(a,b,c){return function(){var d=b(),e=c();qM(a,d,e);if(e.onTouchEnd)e.onTouchEnd(d)}};sEa=function(a,b,c){return function(){var d=b(),e=c();qM(a,d,e);if(e.onTouchEnd)e.onTouchEnd(d)}};tEa=function(a,b,c){return function(){qM(a,b(),c())}};uEa=function(a,b,c){return function(d){!c().Fq&&a.startPosition&&oEa(a,d,b(),c())}};
vEa=function(a,b,c){return function(){if(!c().Fq)if(a.startPosition){var d=b(),e=c();qM(a,b(),c());if(e.onTouchEnd)e.onTouchEnd(d)}else b().M({isDragging:!1})}};jEa=function(a){a=a.touches[0];return{x:a.clientX,y:a.clientY}};oEa=function(a,b,c,d){if(b.buttons!==1){if(b.movementX||b.movementY)b.preventDefault(),b.stopPropagation(),a=pM(a,c,b.clientX),c.M({Bd:!0,xn:a*c.videoDuration})}else qEa(c),mEa(a,b,{x:b.clientX,y:b.clientY},c,d,!1)};qEa=function(a){a.Bd&&a.M({Bd:!1,xn:0})};
iEa=function(a,b,c,d){a.startPosition||(a.startPosition=c,a.J(),a.o=d.ra,b.stopPropagation(),_.M("medium_progress_bar_modification")||b.preventDefault())};
mEa=function(a,b,c,d,e,f){if(a.startPosition)if(f&&e.Jh&&a.startPosition&&!a.j&&Math.abs(c.y-a.startPosition.y)>Math.abs(c.x-a.startPosition.x))qM(a,d,e);else if(b.preventDefault(),b.stopPropagation(),d.videoDuration&&(a.startPosition&&!a.j&&(a.j=Math.abs(c.x-a.startPosition.x)>=1),e.Oi&&(a.startPosition&&(a.B=-(c.y-a.startPosition.y)>=60),a.startPosition&&(a.A=-(c.y-a.startPosition.y)>5),!a.startPosition||c.y>=a.startPosition.y||(d.M({Ob:"dragging",zd:gEa(d.Ha,d,e.Za)}),a.ba(d.Ha),a.ha(a.startPosition.y,
c.y,d))),a.j)){b=pM(a,d,c.x);if(a.B){var h;(h=d.N)==null||h.pauseVideo();d.M({Ob:"on",Lw:d.Ha,zd:gEa(b*d.videoDuration,d,e.Za)})}e.Oi&&(!e.Oi||a.H(d)<68)||d.M({Ha:b*d.videoDuration,ra:!0,isDragging:!0,Db:a.o});var k;(k=e.Ov)==null||k.call(e)}};
qM=function(a,b,c){var d=c.Oi&&b.Ob!=="off";if(b.isDragging||d)d={isDragging:!1,playedTime:b.Ha,ra:a.o},c.Oi&&b.Ob!=="on"&&(a.Z(),d.Ob="off"),_.UJ(b),b.M(d),a.G.gg(b.Ha,b,7),_.M("mweb_new_progress_bar_play_on_seek")&&a.resumeVideo(b),c.dh&&_.dM(b,b.N);else{b.M({ra:!b.ra});var e;(e=c.cu)==null||e.call(c)}a.startPosition=null;a.j=!1;a.B=!1;a.A=!1;a.o=!1};pM=function(a,b,c){a=a.O(b);return _.Mi(0,(c-a.left)/a.width,1)};
xEa=function(a,b,c){var d=iM(b),e=c*a.playedTime/a.videoDuration,f=mM(a);(0,_.S)({className:"YtmChapteredProgressBarHost"},function(){for(var h=0;h<d.length;h++){var k=_.N(d[h],MJ);var l=_.N(d[h+1],MJ);k=(l?jM(l)-jM(k):f.videoDuration-jM(k))/f.videoDuration;nM(f,d,h).Ie!=="active"?l=0:(l=jM(_.N(d[h],MJ)),l=(f.playedTime-l)/((jM(_.N(d[h+1],MJ))||f.videoDuration)-l));if(nM(f,d,h).Ie==="seen")var m=0;else{m=jM(_.N(d[h],MJ));var n=jM(_.N(d[h+1],MJ))||f.videoDuration,p=f.videoDuration*f.Aj;m=n<=p?1:m>=
p?0:(p-m)/(n-m)}wEa(k,nM(f,d,h),l,m,e,_.M("enable_cairo_refresh_signature_moments_web")?(f.playedTime-jM(_.N(d[h],MJ)))/f.playedTime*e:0)}})};
wEa=function(a,b,c,d,e,f){var h=yEa(b);a:switch(b.Ie){case "pending":var k=b.Yf?"white":"rgba(255, 255, 255, 0.35)";break a;case "active":k=b.Yf?"white":"rgba(255, 255, 255, 0.35)";break a;default:k=_.M("enable_cairo_refresh_signature_moments_web")?"":"red"}(0,_.S)({className:h,style:{width:a*100+"%",backgroundColor:k,backgroundSize:sM(b)?e+"px":"",backgroundPositionX:sM(b)?f+"px":""}},function(){(0,_.S)({className:"YtmChapteredProgressBarChapteredPlayerBarLoaded",style:{width:d*100+"%"}});var l=
["YtmChapteredProgressBarChapteredPlayerBarFill"];_.M("enable_cairo_refresh_signature_moments_web")&&l.push("YtmChapteredProgressBarChapteredPlayerBarFillRefresh");l=l.join(" ");(0,_.S)({className:l,style:{width:c*100+"%",backgroundSize:sM(b,c)?e+"px":"",backgroundPositionX:sM(b,c)?f+"px":""}})})};
yEa=function(a){var b=["YtmChapteredProgressBarChapteredPlayerBarChapter"];a.Hn&&b.push("YtmChapteredProgressBarChapteredPlayerBarChapterIsScrubbing");a.Yf&&b.push("YtmChapteredProgressBarHoveredMacroMarker");a.Ie==="seen"&&_.M("enable_cairo_refresh_signature_moments_web")&&b.push("YtmChapteredProgressBarChapteredPlayerBarChapterRefresh");return b.join(" ")};sM=function(a,b){return _.M("enable_cairo_refresh_signature_moments_web")&&(a.Ie==="seen"||(b===void 0?0:b)>0)};
_.DEa=function(a,b,c){if(a.isDragging||a.Bd){var d=KJ(JJ(a),b.Ga,a.N);d&&(b.Ga&&LJ(d),b.Ga||a.Bd?zEa(a,d,b,function(){b.Ga&&a.videoDuration<15||AEa(d,a,!1);BEa(a,b,!1,c)}):(0,_.S)({className:CEa(b,!0),"aria-hidden$":!0},function(){BEa(a,b,!0,c)}))}};zEa=function(a,b,c,d){b=HJ(b);(0,_.S)({className:CEa(c,!1),"aria-hidden$":!0,style:{left:YBa(a,b,c.pr())+"%"}},function(){d()})};
CEa=function(a,b){var c=["YtPlayerStoryboardHost"];b&&c.push("YtPlayerStoryboardHostBigboard");a.Ga&&c.push("YtPlayerStoryboardHostMwebShorts");a.Gn&&c.push("YtPlayerStoryboardHostInlinePlayer");return c.join(" ")};AEa=function(a,b,c){if(b=b.N){var d=HJ(a),e=IJ(a);b=b.getVideoContentRect();var f=c?b.width:d,h=f/d;(0,_.S)({className:c?"YtPlayerStoryboardBigboardImageWrapper":"YtPlayerStoryboardStoryboardImageWrapper",style:{width:f+"px",height:(c?b.height:e)+"px"}},function(){tM(a,d,e,h)})}};
tM=function(a,b,c,d,e,f){var h=-a.column*b*d,k=-a.row*c*d,l={x:0,y:0};e&&(e={x:0,y:0},b>=c?e.x=(b*d-72)/2:e.y=(c*d-72)/2,l=e);f?_.qD(a.url,{className:"YtPlayerStoryboardStoryboardImage",alt:"preview-image",style:{left:h-l.x+"px",top:k-l.y+"px",width:a.width*d+"px",height:a.height*d+"px"}}):yua({src$:a.url,className:"YtPlayerStoryboardStoryboardImage",alt:"preview-image",style:{left:h-l.x+"px",top:k-l.y+"px",width:a.width*d+"px",height:a.height*d+"px"}})};
BEa=function(a,b,c,d){var e=["YtPlayerStoryboardMetadata"];c&&e.push("YtPlayerStoryboardMetadataBigboard");(0,_.S)({className:e.join(" ")},function(){c?(EEa(a,b),XBa(a,b,d)&&FEa(a,b,c,d)):(FEa(a,b,c,d),EEa(a,b))})};EEa=function(a,b){var c=["YtPlayerStoryboardTimestamp"];b.Ga&&c.push("YtPlayerStoryboardTimestampShorts");(0,_.S)({className:c.join(" ")},function(){_.En(PJ(JJ(a)))})};
FEa=function(a,b,c,d){var e=["YtPlayerStoryboardTitle"];c&&e.push("YtPlayerStoryboardTitleBigboard");(0,_.S)({className:e.join(" ")},function(){if(!b.Ga)a:{for(var f=b.nh,h=_.u(zJ(d)),k=h.next();!k.done;k=h.next())if((k=_.N(k.value,NJ))&&OJ(a,k)){_.bK(k.icon,{className:"YtPlayerStoryboardTimedMarkerIcon"});_.xD(k.label,{Sb:!0});break a}if(f){var l;_.xD((l=_.N(f,MJ))==null?void 0:l.title,{Sb:!0})}}})};GEa=function(a,b,c){c=b+c.Fc;return b<=jM(a)/1E3&&c>jM(a)/1E3};
uM=function(a,b){return Math.abs(b-a.playedTime)>30*a.Fc};HEa=function(a,b){if(!vM.size)return-b/(a.videoDuration/a.Fc*72)*a.videoDuration;for(var c=0,d=_.u(vM.values()),e=d.next();!e.done;e=d.next())e.value<-b&&c++;return(-b-c*56)/72*a.Fc};JEa=function(){return _.M("mweb_enable_keto_batch_player_1")?wM.Jk():IEa()};yM=function(a){_.M("mweb_enable_keto_batch_player_1")?xM({Jk:a}):KEa(a)};NEa=function(a,b,c){_.M("mweb_enable_keto_batch_player_1")?_.U(LEa)({Sg:b,Za:c}):MEa(a,c);_.SE(_.M("mweb_enable_keto_batch_player_1_log"))};
MEa=function(a,b){a.N&&(0,_.S)(OEa(a),function(c){_.RJ(152789,c,zM,function(d){zM=d});(0,_.S)({className:"YtmFineScrubbingCenterLine"});(0,_.S)({className:"YtmFineScrubbingFilmstrip",style:{transform:"translate("+a.zd+"px)"}},function(d){_.Xoa(d,"YtmFineScrubbingFilmstrip",function(){d.style.transform="translate("+PEa()+"px)"});QEa(a,b)})})};
OEa=function(a){var b=a.Ob==="on",c={};return{className:_.ME((c.YtmFineScrubbingHost=!0,c.YtmFineScrubbingWithShadow=b,c.YtmFineScrubbingWithShadowRefresh=b&&_.M("enable_cairo_refresh_web"),c)),style:{transform:"translateY("+REa(a)+"px)",transition:b?"transform 0.2s ease, top 0.2s ease":""},ontouchstart:function(d){AM=0;SEa=d.touches[0].clientX;yM(a.Ha);d.stopPropagation();d.preventDefault()},ontouchmove:function(d){d.stopPropagation();d.preventDefault();AM=d.touches[0].clientX-SEa;d=_.Mi(-(a.videoDuration/
a.Fc*72),a.zd+AM,0);var e=TEa(a,d);UEa(d);yM(e)},reactiveontouchend:function(){var d=_.Mi(-(a.videoDuration/a.Fc*72),a.zd+AM,0);a.M({zd:d,Ha:JEa()});d=TEa(a,d);var e;(e=a.N)==null||e.seekTo(d,void 0,void 0,void 0,25);_.UJ(a,"SEEK_SOURCE_FINE_SCRUBBER_SLIDE_ON_FILMSTRIP",zM)}}};
QEa=function(a,b){if(b&&AJ(b)){b=iM(b);BM.clear();for(var c=0,d=_.N(b[c],MJ),e=0,f=0;f<a.videoDuration;f+=a.Fc)d&&GEa(d,f,a)?(BM.set(c,e),VEa(a,f,b[c]),c++,e+=128,d=_.N(b[c],MJ)):(e+=72,WEa(a,f))}else for(b=0;b<a.videoDuration;b+=a.Fc)WEa(a,b)};REa=function(a){return _.M("mweb_enable_keto_batch_player_1")?a.Ob==="off"?72:wM.Ik():a.Ob==="off"?72:CM};
WEa=function(a,b){var c=KJ(b,!1,a.N);if(c){var d=HJ(c),e=IJ(c),f=d>e?72/e:72/d;(0,_.S)({className:"YtmFineScrubbingFilmstripThumbnail"},function(){tM(c,d,e,f,!0,uM(a,b))})}};VEa=function(a,b,c){var d=KJ(b,!1,a.N);if(d){var e=_.N(c,MJ),f=HJ(d),h=IJ(d),k=f>h?72/h:72/f;(0,_.S)({className:"YtmFineScrubbingFilmstripChapteredThumbnail"},function(){tM(d,f,h,k,!1,uM(a,b));(0,_.S)({className:"YtmFineScrubbingFilmstripChapteredThumbnailOverlay"},function(){_.cL(e==null?void 0:e.title)})})}};
TEa=function(a,b){if(!BM.size)return-b/(a.videoDuration/a.Fc*72)*a.videoDuration;for(var c=0,d=_.u(BM.values()),e=d.next();!e.done;e=d.next())e.value<-b&&c++;return(-b-c*56)/72*a.Fc};DM=function(){_.M("mweb_enable_keto_batch_player_1")?xM({Ik:72}):CM=72};$Ea=function(a){XEa({width$:"100%",height$:"320px",viewBox$:"0 0 1000 100",preserveAspectRatio$:"none"},function(){YEa({d$:ZEa(a)})})};
aFa=function(a,b){var c=yJ(b==null?void 0:b.Za);c!=null&&c.heatMarkers&&(0,_.S)({className:"YtmHeatSeekerHost",style:{display:a.isDragging?"initial":"none"}},function(){$Ea(c)})};bFa=function(a,b,c,d){b={nh:hM(a,d),pr:b,Ga:_.NB(),Gn:c};_.DEa(a,b,d)};
gFa=function(a,b){(0,_.S)(cFa(a,b),function(c){_.TJ(c,112394);(0,_.S)({className:"YtmProgressBarProgressBar",role:"slider","aria-valuenow$":Math.floor(_.pJ(a)*100),"aria-label$":_.W.AC},function(){aFa(a,b);dFa(a,b.Za);eFa(a)});EM.A||bFa(a,function(){return fFa(a).width},!!b.Jh,b.Za)})};
cFa=function(a,b){var c={};c={className:_.ME(b==null?void 0:b.className,"YtmProgressBarHost",(c.YtmProgressBarHostFeaturePhone=!1,c.YtmProgressBarBottomEdge=(b==null?void 0:b.position)===1,c)),key:"controls-pb"};return hFa(a,b,c)};
hFa=function(a,b,c){function d(){return b}function e(){return a}c.className=c.className;c.ontouchstart=kEa(EM,e);c.onmousedown=lEa(EM,e);c.ontouchmove=nEa(EM,e,d);c.onmousemove=pEa(EM,e,d);c.onmouseleave=rEa(e);c.ontouchend=rM(EM,e,d);c.onmouseup=sEa(EM,e,d);c.ontouchcancel=tEa(EM,e,d);return c};
dFa=function(a,b){(0,_.S)({className:"YtmProgressBarProgressBarLine"},function(c){iFa=c;b&&AJ(b)?xEa(a,b,c.clientWidth):((0,_.S)({className:"YtmProgressBarProgressBarBackground"}),(0,_.S)({className:"YtmProgressBarProgressBarLoaded",style:{width:a.Aj*100+"%"}}),(0,_.S)({className:"YtmProgressBarProgressBarHovered",style:{width:_.qJ(a)*100+"%"}}),c=["YtmProgressBarProgressBarPlayed"],_.M("enable_cairo_refresh_signature_moments_web")&&c.push("YtmProgressBarProgressBarPlayedRefresh"),c=c.join(" "),(0,_.S)({className:c,
style:{width:_.pJ(a)*100+"%"}}))})};jFa=function(a){var b={dh:!1};rM(EM,function(){return a},function(){return b})()};eFa=function(a){var b={},c=_.ME("YtmProgressBarProgressBarPlayheadDot",(b.YtmProgressBarProgressBarPlayheadDotInDragging=a.isDragging,b.YtmProgressBarProgressBarPlayheadDotFeaturePhone=!1,b));(0,_.S)(kFa(a),function(){(0,_.S)({className:c})})};
kFa=function(a){var b={};b=_.ME((b.YtmProgressBarPlayheadWrapperFeaturePhone=!1,b.YtmProgressBarPlayheadWrapperFeaturePhoneControlsVisible=a.ra,b));a=_.rJ(a);return{className:b,style:{marginLeft:a*100+"%",transform:"translateX(-"+12*a+"px)"}}};fFa=function(){FM||lFa();var a;return(a=FM)!=null?a:{width:0,left:0}};lFa=function(){FM=iFa.getBoundingClientRect()};
mFa=function(a,b){if(b.isDragging)jFa(b);else if(!b.gb&&b.playerState!==-1&&b.playerState!==5){var c=YDa(a.clientX,b.Aa.offsetWidth);a=aM()&&c!==0?b.Eb!==c?1:b.Sc+1:0;var d=a<2?b.playedTime:_.Mi(b.Ha+(c===-1?-1:1)*10,0,b.videoDuration);if(aM()&&oJ(Object.assign({},b,{Eb:c,Sc:a}))){var e=b.N;e&&e.seekBy(Math.sign(c)*10,void 0,void 0,4);if(b.playerState!==2){var f;(f=b.N)==null||f.pauseVideo()}c===-1?XJ(28239):XJ(28240)}!b.ra&&a<=1?_.GJ(b,{ke:!0}):_.FJ();ZDa(Object.assign({},b,{Sc:a,Ha:d}));f=Object.assign({},
b,{Sc:a});c={ra:nJ(f)||f.playerState===3||f.Sc>1?!0:!f.ra,ei:!1,Eb:c,Ha:d,Sc:a,Db:!0};a===1&&(c.XA=b.playerState===1||b.playerState===3);b.M(c)}};oFa=function(){clearTimeout(nFa);nFa=setTimeout(function(){GM=0},200)};
qFa=function(a){a.jc&&_.wp("speedmaster_playback_rate",2)!==1&&(0,_.S)({className:"player-controls-top-tooltip center"},function(b){(0,_.S)({className:"player-controls-top-tooltip-label typography-narrow-default-action-m"},function(){_.En(_.W.Yu)});_.bK("FAST_FORWARD",{className:"player-controls-top-tooltip-icon"});_.RJ(173040,b,pFa,function(c){pFa=c})})};
rFa=function(a,b){a.gb||a.isLive||(b>1&&HM(a),document.body.classList.add("prevent-highlights"),IM=setTimeout(function(){var c;(c=a.N)==null||c.playVideo();_.FJ();a.M({jc:!0,ra:!0});c=_.wp("speedmaster_playback_rate",2);var d,e;(d=a.N)==null||(e=d.setPlaybackRate)==null||e.call(d,c)},_.wp("speedmaster_touch_activation_ms",500)))};
HM=function(a){document.body.classList.remove("prevent-highlights");IM&&clearTimeout(IM);a.jc&&(a.M({jc:!1,ra:nJ(a)}),a=a.N,typeof(a==null?void 0:a.setPlaybackRate)==="function"?a.setPlaybackRate(1):_.Fp(Error("Ld")))};sFa=function(a,b){if(JM(a)){a.stopPropagation();var c=a.touches[0];KM=c.pageX;LM=c.pageY;_.M("mweb_two_finger_tap")&&a.touches.length===2&&GM++;rFa(b,a.touches.length);b.gb||b.Ef||b.jc||_.mD()||(MM=document.getElementById("movie_player"))&&Object.assign(MM.style,{transition:"",transformOrigin:""})}};
tFa=function(a,b){if(JM(a)){a.stopPropagation();var c=a.touches[0];NM=!0;OM=c.pageX;PM=c.pageY;var d=OM-KM;c=PM-LM;c===0&&d===0||_.hD()&&!b.isFullscreen||a.preventDefault();b.jc&&a.preventDefault();Math.sqrt(d*d+c*c)>_.wp("speedmaster_cancellation_movement_dp",10)&&!b.jc&&HM(b);b.gb||b.Ef||b.jc||_.mD()||_.hD()&&!b.isFullscreen||(b.M({ra:!1}),a=c,b.isFullscreen&&(a*=-1),a>0&&(a=0),a<-100&&(a=-100),b.isFullscreen?MM&&Object.assign(MM.style,{transform:"scale("+(1-.05*Math.min(4*Math.abs(a/-100),1))+
") translateY("+-a+"px)"}):MM&&Object.assign(MM.style,{transform:"scale("+(1+.25*Math.abs(a/-100))+")",transformOrigin:"bottom center"}));if(!b.isFullscreen||b.isDragging||b.jc||!_.hD()&&!_.mD()?0:b.Ef||(b.gb?_.Mi(c,0,215):_.Mi(c,-215,0))!==0)_.FJ(),b.M({Ef:!0,ra:!0,pg:b.gb?_.Mi(c,0,215):_.Mi(c,-215,0)})}};
QM=function(a,b,c){if(JM(a)){a.stopPropagation();var d=OM-KM,e=PM-LM;NM||(e=d=0);if(e===0&&d===0&&_.M("mweb_two_finger_tap")&&a.touches.length&&(oFa(),GM===2)){a=YDa(a.touches[0].clientX,b.Aa.offsetWidth);var f=xJ(c==null?void 0:c.playerOverlayRenderer);f?(d=lM(b,f),f=iM(f),d=a===1?d<f.length-1:a===-1?d>=1:!1):d=!1;if(d){if(a===0)c=0;else if(c=xJ(c==null?void 0:c.playerOverlayRenderer)){d=lM(b,c);a=a===1?1:-1;var h;c=(((h=_.N(iM(c)[d+a],MJ))==null?void 0:h.timeRangeStartMillis)||0)/1E3}else c=0;h=
c;var k;(k=b.N)==null||k.seekTo(h,void 0,void 0,void 0,5);b.M({Ha:h,playedTime:h})}}HM(b);b.gb||b.Ef||b.jc||_.mD()||_.hD()&&!b.isFullscreen||(b.isFullscreen&&(e*=-1),e<-100&&b.Ea.toggleFullscreen({Wt:!0}),MM&&Object.assign(MM.style,{transform:"scale(1)",transition:"0.2s ease"}));b.Ef&&((e=Math.abs(b.pg)>50?!b.gb:b.gb)||_.GJ(b),b.M({Ef:!1,gb:e,pg:0}));PM=OM=LM=KM=0;NM=!1}};
JM=function(a){var b=[uFa(a)].concat(_.ma(vFa(a)));return!!"player-control-overlay player-controls-middle player-controls-bottom player-controls-double-tap-to-seek-content fullscreen-controls player-controls-background top-full-screen-controls".split(" ").find(function(c){return b.find(function(d){return d===c})})};uFa=function(a){var b;return(b=a.target)==null?void 0:b.getAttribute("id")};vFa=function(a){var b;return((b=a.target)==null?void 0:b.classList)||[]};
RM=function(a,b){if(a.playerType!==1||a.playerState===-1||a.playerState===5)var c=!1;else c=_.L("INNERTUBE_CLIENT_NAME")==="WEB_EMBEDDED_PLAYER",c=a.Je&&!c?!1:nJ(a)?!0:a.playerState===1||a.playerState===3||a.playerState===2;return c||a.Je&&nJ(a)||b};wFa=function(a){var b=0;return function(){var c=a(b);return b=c}};
xFa=function(a){var b=a.jJ;var c=a.data;a=a.children;var d=_.u(_.dF(!1)),e=d.next().value,f=d.next().value,h=_.Ow(),k=_.Ow(),l=_.$E(),m=_.$E();_.Jw(function(){f(!!c.subscribed)});_.Iw(function(){b||(k.value.style.width=h.value.offsetWidth+"px");if(!e&&c.subscribed){var n;(n=l.lottieEl)==null||n.goToAndPlay(0);var p;(p=m.lottieEl)==null||p.goToAndPlay(0)}f(!!c.subscribed)},[c.subscribed]);d=_.ME("animated-subscribe-content-container",{"static-width":b},{"can-animate":c.subscribed});return _.H("div",
{class:"animated-subscribe-container"},_.H(_.pAa,{Gv:l,Pw:m},_.H("div",{el:k,class:d},_.H("div",{el:h,class:"animated-subscribe-flex-container"},a))))};
_.SM=function(a){var b=a.data;var c=a.forceModernIconButton;var d=a.style;var e=a.buttonOverrides;var f=a.className;var h=a.lottiePlayerProps;var k=a.stopPropagation;var l=a.buttonTapOverride;var m=a.themeOverride;a=(d==null?void 0:d.animateIcon)==="true";var n=yFa(zFa(b,a),b,a);f=f||"";var p=NAa({renderer:b,ro:function(q,r){l?l(q,r):(q=!0,q=q===void 0?!1:q,k&&r.stopPropagation(),q||(r=b.isToggled?b.toggledServiceEndpoint:b.defaultServiceEndpoint,q=b.defaultNavigationEndpoint,r?_.vC(r,b,!0):q&&_.vC(q,
{},!1),b.isToggled=!b.isToggled,_.iB()))},yD:AFa(b),vo:e,uy:!0,toggled:!!b.isToggled,forceModernIconButton:c});return _.H("ytm-toggle-button-renderer",{class:f},_.H(_.Oo,null,function(){_.tF(p,function(){h?_.YE({lottiePlayerProps:h}):_.bK(n,{animateIcon:d==null?void 0:d.animateIcon,activeState:b.isToggled,themeOverride:m})})}))};yFa=function(a,b,c){return c?a:a==="LIKE"&&b.isToggled?"LIKE_FILLED":a==="DISLIKE"&&b.isToggled?"DISLIKE_FILLED":a};
zFa=function(a,b){var c=a.toggledIcon&&a.toggledIcon.iconType,d=a.defaultIcon&&a.defaultIcon.iconType;return b?d||null:a.isToggled&&c||d||null};AFa=function(a){var b=!(a.isToggled?!a.toggledServiceEndpoint:!a.defaultServiceEndpoint),c=a;a.defaultNavigationEndpoint&&(c={});return _.uC(c,{},b)};
_.TM=function(a){var b=a.data;var c=a.isSubscribe;a=a.Zp;var d,e=((d=b.timedAnimationData)==null?void 0:d.animationTiming)||[];d={uniqueId:"subscribe",Pl:e,Oc:e.length>0,enabled:!b.subscribed&&e.length>0};e=_.u(_.dF(b));var f=e.next().value,h=e.next().value;_.Iw(function(){h(b)},[b.subscribed,b.channelId]);e=_.Ow();_.Qw(e,"wizUpdateAction",function(k){if(_.M("mweb_enable_embeds_video_details")){var l,m=(l=k.detail)==null?void 0:l.QD,n;l=(n=k.detail)==null?void 0:n.Vw();n=!1;if(m==="subscribeButtonRenderer"){var p=
l;n=l.channelId===b.channelId}else if(m==="toggleButtonRenderer"){p=Object.assign({},f,{notificationPreferenceToggleButton:{toggleButtonRenderer:l}});m=_.N(l.defaultServiceEndpoint,BFa).params;var q,r;n=_.N((q=b.notificationPreferenceToggleButton)==null?void 0:(r=q.toggleButtonRenderer)==null?void 0:r.defaultServiceEndpoint,BFa).params;n=m===n}n&&p&&(h(p),k.stopPropagation())}});return _.H("ytm-subscribe-button-renderer",{class:_.ME({"is-subscribed":f.subscribed},{"is-not-subscribed":!f.subscribed},
{disabled:!!f.theme&&CFa(!!f.subscribed,f.theme)}),el:e},_.H(_.lI,{settings:d},_.H(DFa,{data:f,isSubscribe:!!c,Zp:!!a})))};
DFa=function(a){var b=a.data;var c=a.isSubscribe;var d=a.Zp;a=_.M("mweb_animated_actions")&&(!_.NB()||_.M("mweb_animated_actions_include_shorts"));var e=!!(b.subscribed&&d&&b.notificationPreferenceToggleButton);d=_.ME("modern-subscribe-button",{"with-notification-bell":e});var f=_.ME("notification-bell-container",{hidden:!e});e=_.ME("notification-bell",{hidden:!e});return _.H("div",{class:"cbox modern-subscribe-button-container"},_.H("div",{class:f},EFa(b.notificationPreferenceToggleButton,{toggleButtonRenderer:{buttonOverrides:{style:"overlay"},
className:e}})),_.H("div",{class:d},a?_.H(xFa,{data:b,jJ:FB()==="channel"},FFa(b,c)):_.H(_.F,null,FFa(b,c)),_.H("div",{class:"subscribe-button-count secondary-text"},_.Y(b.subscriberCountText))))};FFa=function(a,b){return _.H(_.Oo,null,function(){var c=HAa({renderer:a,subscribed:!!a.subscribed,ja:_.NB()?!0:!1,config:{isSubscribe:b,stopPropagation:!0}});c.disabled=!a.enabled;_.tF(c,function(){})})};
CFa=function(a,b){return a?!!b.subscribedColorPalette&&_.CL(b.subscribedColorPalette):!!b.unsubscribedColorPalette&&_.CL(b.unsubscribedColorPalette)};GFa=function(a){var b,c;return{listItemViewModel:{title:{content:a==null?void 0:(b=a.bodyText)==null?void 0:b.content},leadingImage:{sources:[{clientResource:{imageName:a==null?void 0:(c=a.icon)==null?void 0:c.iconType}}]}}}};HFa=function(a){return function(){var b=a(),c,d={Je:!((c=b.N)==null||!c.isMuted())};b.M(d)}};
IFa=function(a){return function(){var b=a(),c=b.N;if(c){var d={uf:MH(c)};d.uf&&(d.Oe=NH(c));b.M(d)}}};JFa=function(a){return function(){var b=a();if(b.N&&!(b.Je||b.ra&&b.Qr)){b.M({ra:!0,Qr:!0});var c;(c=document.querySelector(".player-control-play-pause-icon"))==null||c.focus()}}};_.KFa=function(){return{Ef:!1,gb:!1,isFullscreen:!1,Sc:0,Eb:0}};_.LFa=function(){return{vm:!1,autonavEnabled:!1,ph:!1,Me:0,ei:!1}};
_.MFa=function(a){var b;return{isDragging:!1,Ha:0,Bd:!1,xn:0,Aj:0,playerState:(b=a==null?void 0:a.getPlayerState())!=null?b:-1,videoDuration:0,playedTime:0,XA:!1}};_.NFa=function(){return{ra:!1,Db:!1,Ab:!1}};_.OFa=function(){return{Ob:"off",Fc:0,zd:0,Lw:0}};_.UM=function(a){return Object.assign({},{isLive:!1,isPlaylist:!1,playerType:1,Qr:!1,videoId:void 0,Oe:!1,uf:!1,Je:!0,pg:0,UF:!1,jc:!1},_.KFa(),_.LFa(),_.MFa(a),_.NFa(),_.OFa())};
PFa=function(a,b){if(b===1){var c;(c=a.N)==null||c.loadModule("captions")}if(b===0){var d;(d=a.N)==null||d.unloadModule("captions")}};
QFa=function(a,b){var c=a.N,d=c==null?void 0:c.getVideoData(),e=(d==null?void 0:d.isLive)||!1;d=d==null?void 0:d.video_id;e={videoDuration:cM(c||void 0),isLive:e,videoId:d};e.videoId!==a.videoId&&(e=Object.assign({},_.UM(c),e));if(b==null?0:b.playertype)e.playerType=b.playertype;if(c){e.uf=MH(c);a=e;var f;b=(f=c.getStoryboardLevel(c.getNumberOfStoryboardLevels()-1))==null?void 0:f.intervalMs;a.Fc=b?b/1E3:void 0;e.uf&&(e.Oe=NH(c))}e.Je=!(c==null||!c.isMuted());return e};
RFa=function(a,b,c){var d=b.getPresentingPlayerType();c={playedTime:c||0,Aj:b.getVideoLoadedFraction(),playerType:d};nJ(a)&&(c.playedTime=a.videoDuration);a.isLive&&(d=b.getProgressState(d),c.playedTime-=d.seekableStart,c.videoDuration=cM(b));a.playerType!==1&&delete c.playedTime;return c};SFa=function(a){return function(b){var c=a(),d={playerState:b};PFa(c,b);(b!==-1||_.M("web_imp_controls_set_player_state_killswitch"))&&c.M(d)}};TFa=function(a){return function(b){var c=a();b=QFa(c,b);c.M(b)}};
UFa=function(a){return function(b){var c=a(),d=c.N;d&&(b=RFa(c,d,b),c.M(b))}};VFa=function(a,b){a.stopPropagation();b.M({gb:!0});_.sm(".fullscreen-recommendation .media-item-info a")};
_.XM=function(a){var b=a.data;var c=a.tabIndex;var d=a.role;var e=a.onClick;var f=b.style&&b.style.styleType||"STYLE_DEFAULT";a=_.P(function(m){e==null||e(m,b)});var h,k=_.ME({selected:b.isSelected,"more-drawer":WFa(f)&&!_.VM,"all-chip-renderer":!b.navigationEndpoint||((h=_.N(b.navigationEndpoint,_.WM))==null?void 0:h.loadCached)});h=_.no(function(m){c&&m.append("tabindex",c);d&&m.append("role",d)});var l=_.no(function(m){f&&!_.VM&&m.append("tabindex",1,"aria-label",_.kK(b.text))});return _.H("ytm-chip-cloud-chip-renderer",
Object.assign({},{class:k,"aria-selected":!!b.isSelected,"chip-style":f,"on:click":a},h),_.H("div",Object.assign({},{class:"chip-container"},l),b.icon?_.gC(b.icon.iconType):null,_.VM||!WFa(f)?_.H("span",{class:_.M("mweb_modern_typography")?"chip-text modern":"typography-title-1 chip-text"},_.Y(b.text)):null))};WFa=function(a){return _.M("mweb_enable_more_drawer")&&a==="STYLE_EXPLORE_LAUNCHER_CHIP"};
XFa=function(a){a=_.u(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=_.N(b,_.YM);b&&c&&(c.selected=!1)}};ZFa=function(a){var b=a.data;var c=a.onClick;a=a.role;var d={isSelected:b.selected,loggingDirectives:b.loggingDirectives,navigationEndpoint:_.oC(b.tapCommand)};b.displayType!=null&&(d.style={styleType:YFa.get(b.displayType)});b.text!=null&&(d.text=_.mI(b.text));return _.H("div",{class:"ytm-chips-shelf-view-model__chips-shelf-item"},_.H(_.XM,{data:d,onClick:c,role:a}))};
aGa=function(a){var b=a.data;var c=a.itemMargin;var d=a.onChipClick;var e=a.isInnerChipsShelf;var f=a.enableSingleChipSelection;var h=a.enableAnimation;a=_.u(_.dF(b.contents||[]));var k=a.next().value,l=a.next().value;a=_.u(_.dF(null));var m=a.next().value,n=a.next().value,p=_.Ow();a=b.isHorizontallyScrollable;_.M("mweb_single_row_in_feed_chip")&&(a=!0);_.M("mweb_two_rows_in_feed_chip")&&(a=!1);c=["--chips-shelf-side-margin: "+c+"px"];h&&m!=null&&c.push("--chips-shelf-height: "+m+"px");var q={};m=
_.ME((q["ytm-chips-shelf-view-model"]=!0,q["ytm-chips-shelf-view-model--is-inner-chips-shelf"]=e,q["ytm-chips-shelf-view-model--enable-animation"]=h,q.expanded=h&&m!=null,q));q={};e=_.ME((q["ytm-chips-shelf-view-model__chips-shelf-content"]=!0,q["ytm-chips-shelf-view-model--is-inner-chips-shelf-content"]=e,q["ytm-chips-shelf-view-model--is-horizontally-scrollable"]=a,q));_.Jw(function(){h&&p.value&&n(p.value.clientHeight)});return _.H("ytm-chips-shelf-view-model",{class:m,style:c.join(";")},_.H("div",
{el:p},_.H("div",{class:"ytm-chips-shelf-view-model__chips-shelf-header"},_.H("h3",{class:"ytm-chips-shelf-view-model__chips-shelf-title"},_.H("span",null,b.title)),_.H("div",null,$Fa(b.overflowButton,{buttonViewModel:{config:{className:"ytm-chips-shelf-view-model__menu-button"}}}))),_.H("div",{class:e},$Fa(k,{chipViewModel:{onClick:function(r,t){var w=r.currentTarget,y=t!=null?t:w.data;hoa(w);f&&(t=k.find(function(B){var A;return((A=_.N(B,_.YM))==null?void 0:A.text)===_.kK(y==null?void 0:y.text)}),
t=_.N(t,_.YM))&&(XFa(k),t.selected=!0,l(k));(t=y==null?void 0:y.navigationEndpoint)&&_.vC(t,t,!1);d==null||d(r)},role:"tab"}}))))};_.bGa=function(a,b,c,d){_.U(aGa)({data:a,itemMargin:b==null?void 0:b.itemMargin,isInnerChipsShelf:c,enableAnimation:b==null?void 0:b.enableAnimation,enableSingleChipSelection:d})};
_.ZM=function(a){var b=a.children;var c=a.dataType;var d=a.ariaLabel;var e=a.className;var f=a.inline;a=_.no(function(h){c&&h.append("data-type",c);d&&h.append("aria-label",d);f&&h.append("inline",f)});return _.H("ytm-badge",Object.assign({},{class:e},a),b)};
_.$M=function(a){var b=a.data;a=a.className;var c=b.style==="BADGE_STYLE_TYPE_AD"?{"aria-label":_.W.eB}:{},d=b.style==="BADGE_STYLE_TYPE_AD"?"":"typography-body-1b",e=_.P(function(h){b.onTapCommand&&_.vC(b.onTapCommand,b,!1,{event:h})}),f;return _.H("ytm-metadata-badge-renderer",{class:a,"on:click":e},_.H(_.ZM,Object.assign({},{className:"metadata-badge soft-background "+d,dataType:b.style},c),_.gC((f=b.icon)==null?void 0:f.iconType),b.label||""))};
_.aN=function(a){var b=a.data;var c=["standalone-collection-badge"];a.inline&&c.push("standalone-collection-badge-inline");var d=b.icon;a=b.iconText;return _.H("ytm-standalone-collection-badge-renderer",null,_.H(_.ZM,{className:c.join(" "),dataType:_.lC(function(){return b.style.badgeStyle})},d?_.gC(_.lC(function(){return d.iconType})):null,a?_.H(_.ZM,{className:"icon-text soft-background"},a):null,_.Y(b.label)))};
_.cGa=function(a){a=a.data;var b="BADGE_STYLE_TYPE_SIMPLE";_.nI(a.label)==="Premium"&&(b="BADGE_STYLE_TYPE_RED");return _.H("ytm-text-badge-renderer",null,_.H(_.ZM,{className:"text-badge soft-background",dataType:b},_.Y(a.label)))};_.bN=function(a){var b=a.badges;var c=a.className===void 0?"":a.className;var d=a.onClick;a=_.P(function(e){d==null||d(e);return!0});return _.H("ytm-badge-supported-renderer",{class:c,"on:click":a},dGa(b))};
_.cN=function(a,b){a&&_.U(_.bN)({badges:a,className:(b==null?void 0:b.className)||"",onClick:b==null?void 0:b.onclick})};eGa=function(a,b,c){_.U(dN)({gq:a,wr:b,isSmallLockup:c})};
_.eN=function(a){function b(m,n){n.stopPropagation();m=_.u(m);for(n=m.next();!n.done;n=m.next())(n=_.N(n.value,_.pI))&&c&&(c.likeStatus=n.status,f(c.likeStatus))}var c=a.data;a=a.buttonOverrides===void 0?{}:a.buttonOverrides;var d=_.u(_.dF(c.likeStatus)),e=d.next().value,f=d.next().value;d=e==="LIKE";var h=e==="DISLIKE",k=DAa(c,!0,"SHORTS_LIKE"),l=DAa(c,!1,"SHORTS_DISLIKE");return _.H("ytm-like-button-renderer",null,e?_.H(_.F,null,fGa({toggleButtonRenderer:k},{toggleButtonRenderer:{buttonOverrides:Object.assign({},
a,{type:d?"filled":"tonal"}),buttonTapOverride:b}}),fGa({toggleButtonRenderer:l},{toggleButtonRenderer:{buttonOverrides:Object.assign({},a,{type:h?"filled":"tonal"}),buttonTapOverride:b}})):null)};fN=function(a){var b=a.data;var c;return _.H("ytm-menu-navigation-item-renderer",null,_.H(fL,{onclick:function(d){gGa(d,b)},role:b.navigationEndpoint&&_.N(b.navigationEndpoint,_.EB)?"link":void 0},((c=b.icon)==null?0:c.iconType)?_.gC(b.icon.iconType):null,_.Y(b.text)))};
gGa=function(a,b){FK()&&_.HK();_.vC(b.navigationEndpoint,b,!1);_.lC(function(){return _.N(b.navigationEndpoint.commandMetadata,_.ew).ignoreNavigation})||a.stopPropagation()};_.hGa=function(a){_.U(fN)({data:a})};gN=function(a){var b=a.data;var c;return _.H("ytm-menu-service-item-renderer",null,_.H(fL,{onclick:function(){var d=b.serviceEndpoint,e=b.command;d&&_.vC(d,b,!0);e&&_.vC(e,b,!0)}},((c=b.icon)==null?0:c.iconType)?_.gC(b.icon.iconType):null,_.Y(b.text,{ka:!0})))};_.iGa=function(a){_.U(gN)({data:a})};
hN=function(a){var b=a.data;_.K().resolve(_.fC);a=b.isToggled?b.toggledText:b.defaultText;var c,d,e,f,h=b.isToggled?(c=b.toggledIcon)==null?void 0:(d=c.iconType)==null?void 0:d.toString():(e=b.defaultIcon)==null?void 0:(f=e.iconType)==null?void 0:f.toString();return _.H("ytm-toggle-menu-service-item-renderer",null,_.H(fL,{onclick:function(){var k=b.isToggled?b.toggledServiceEndpoint:b.defaultServiceEndpoint;k&&(_.vC(k,b,!0),b.isToggled=!b.isToggled)}},_.gC(h||null,{activeState:b.isToggled}),_.Y(a)))};
_.jGa=function(a){_.U(hN)({data:a})};_.iN=function(a,b){_.U(_.SM)({data:a,forceModernIconButton:b==null?void 0:b.forceModernIconButton,style:b==null?void 0:b.style,buttonOverrides:b==null?void 0:b.buttonOverrides,className:b==null?void 0:b.className,lottiePlayerProps:b==null?void 0:b.lottiePlayerProps,stopPropagation:b==null?void 0:b.stopPropagation,buttonTapOverride:b==null?void 0:b.buttonTapOverride,themeOverride:b==null?void 0:b.themeOverride})};
_.jN=function(a){var b=a.data;a=a.config===void 0?{}:a.config;return _.H("ytm-menu-renderer",{class:a.className},kGa(b.topLevelButtons),lGa(b,{cancelButtonIcon:a.cancelButtonIcon,isBottomMenu:!!a.isBottomMenu,menuIcon:a.menuIcon,menuIconClassName:a.menuIconClassName,menuClass:a.menuClass,shouldShowIcons:!!a.shouldShowIcons,shouldShowMenuLabel:!!a.shouldShowMenuLabel,stopPropagation:!!a.stopPropagation,preventDefault:!!a.preventDefault,isSmallLockup:!!a.isSmallLockup,buttonOverrides:a.buttonOverrides}))};
lGa=function(a,b){if(!(a.items&&a.items.length||a.isDisabled&&a.disabledCommand))return null;if(b.shouldShowMenuLabel){var c,d;return _.H(_.mL,{iconType:(c=b.menuIcon)!=null?c:"MORE_VERT",label:_.mI((d=_.AK(a.accessibility))!=null?d:""),content:function(){(0,_.kN)(a.items)},ariaLabel:_.AK(a.accessibility)||"",cancelButtonLabel:_.W.Kb,cancelButtonIcon:b.cancelButtonIcon,menuClass:b.menuClass,shouldShowIcons:b.shouldShowIcons,stopPropagation:b.stopPropagation,preventDefault:b.preventDefault,buttonOverrides:b.buttonOverrides,
isDisabled:a.isDisabled,disabledCommand:a.disabledCommand})}var e;return _.H(_.lL,{iconType:(e=b.menuIcon)!=null?e:"MORE_VERT",label:_.AK(a.accessibility)||"",content:function(){(0,_.kN)(a.items)},cancelButtonLabel:_.W.Kb,cancelButtonIcon:b.cancelButtonIcon,isBottomMenu:b.isBottomMenu,menuIconClassName:b.menuIconClassName,menuClass:b.menuClass,shouldShowIcons:b.shouldShowIcons,stopPropagation:b.stopPropagation,preventDefault:b.preventDefault,isSmallLockup:b.isSmallLockup,buttonOverrides:b.buttonOverrides,
isDisabled:a.isDisabled,disabledCommand:a.disabledCommand})};_.lN=function(a,b){b=b===void 0?{}:b;_.U(_.jN)({data:a,config:b})};_.mN=function(a,b,c,d){b=b===void 0?{}:b;_.M("mweb_enable_keto_batch_31")?_.U(mGa)({data:a,className:b.className,menuIcon:b.menuIcon,buttonSize:b.buttonSize,showIcon:c,buttonOverrides:d}):nGa(a,b,c,d);_.SE(_.M("mweb_enable_keto_batch_31_log"))};
nGa=function(a,b,c,d){b=b===void 0?{}:b;var e;if(((e=a.items)==null?0:e.length)||a.isDisabled&&a.disabledCommand){var f,h=_.NB()?"MORE_HORIZ":(f=b.menuIcon)!=null?f:"MORE_VERT";_.AF(a,"ytm-bottom-sheet-renderer",b,function(){var k={content:function(){(0,_.S)({className:"bottom-sheet-media-menu-item"},function(){(0,_.kN)(a.items)})},shouldShowIcons:c,isDisabled:a==null?void 0:a.isDisabled,disabledCommand:a==null?void 0:a.disabledCommand};_.tF(Object.assign({},{style:"mono",type:"text",state:"active",
size:b.buttonSize?b.buttonSize:"L",iconPosition:"icon-only",accessibilityLabel:_.AK(a.accessibility)||"",onTap:function(l){k.focusOnClose=l.currentTarget;_.NB()&&l.stopPropagation();_.GK(k)}},d),function(){_.bK(h)})})}};_.nN=function(a,b){_.kL({content:function(){(0,_.kN)(a.items)},cancelButtonLabel:_.W.Kb,focusOnClose:b&&b.currentTarget,isDisabled:a.isDisabled,disabledCommand:a.disabledCommand})};
_.oN=function(a){var b=a.thumbnailDetails;var c=a.overlay;a=_.ME("video-thumbnail-container-large","center","rounded-thumbnail",{"original-aspect-ratio":b==null?void 0:b.isOriginalAspectRatio,stacked:a.Vb,"video-thumbnail-fill-parent":a.fillParent});return _.H("ytm-thumbnail-cover",{class:a},_.yK(b,c))};oGa=function(a,b,c){_.U(_.oN)({thumbnailDetails:a,overlay:b?function(){return _.dC(b)}:void 0,Vb:c,fillParent:void 0})};
pGa=function(a,b,c,d){(!d||a&&b)&&_.ZK(b,{"aria-label$":c},function(){_.U(_.YI)({thumbnail:a,className:"media-icon",ariaHidden:!!c})})};_.qN=function(a){_.M("mweb_enable_keto_batch_12_2")?_.U(pN)(a):qGa(a);_.SE(_.M("mweb_enable_keto_batch_12_2_log"))};
qGa=function(a){var b=a.thumbnail;var c=a.Tg;var d=a.channelThumbnail;var e=a.channelEndpoint;var f=a.kk;var h=a.navigationEndpoint;var k=a.headline;var l=a.secondaryHeadline;var m=a.La===void 0?[]:a.La;var n=a.topBadges;var p=a.Mc;var q=a.overlay;var r=a.menu;var t=a.extraContent===void 0?_.pB:a.extraContent;var w=a.Sq===void 0?_.pB:a.Sq;var y=a.alwaysUseVerticalLayout;var B=a.isSmallLockup;var A=a.Cz;var E=a.Vb;var I=!(!k||!k.accessibility);a={};a.className=_.ME({"small-lockup":!!B,"big-shorts-singleton":_.M("mweb_show_big_shorts_singleton")&&
!_.VM&&!_.mD()&&A});var G=_.ME("media-item-endorsement-container","typography-body-1a");_.lB("ytm-media-item",a,function(X){y&&X.setAttribute("use-vertical-layout","true");var ca=!!k&&!c&&(!d||!e);_.ZK(h,_.NE(_.ME("media-item-thumbnail-container",{stacked:E}),{"aria-hidden$":!0}),function(){E?PAa({data:{Oc:_.M("mweb_modern_collections_v2"),thumbnailSize:"large",Cf:!0,sampledThumbnailColor:b==null?void 0:b.sampledThumbnailColor,vibrantColorPalette:b==null?void 0:b.vibrantColorPalette,darkColorPalette:b==
null?void 0:b.darkColorPalette,an:!0}},function(){oGa(b,q,E)}):B?ECa(b,q):oGa(b,q)});l&&(0,_.S)({className:G},function(){rGa(l)});X={className:_.ME("details",{"small-lockup":!!B,"feature-phone-minimal-lockups":!1,stacked:E})};(0,_.S)(X,function(){sGa(c,d,e,f,k,h);(0,_.S)({className:"media-item-info cbox","no-channel-avatar$":ca,"use-modern-collections$":E},function(){var pa={};(0,_.S)({className:"media-item-metadata"},function(){_.ZK(h,pa,function(){var qa=!!_.zB.loading;tGa(k,qa);_.cN(n,{className:"media-item-top-badges"});
uGa(I,m,p,qa,B);t()});w()});vGa(r,!!B)})})})};vGa=function(a,b){b={className:"media-item-menu",isSmallLockup:!!b,menuIconClassName:""};!_.M("mweb_sheets_ui_refresh")||_.VM||_.mD()?wGa(a,b):(a=a==null?void 0:a.menuRenderer)&&_.mN(a,b,!0)};sGa=function(a,b,c,d,e,f){(0,_.S)({className:"media-channel"},function(){a?a():pGa(b,c,d,e);_.ZK(f,{className:"media-item-extra-endpoint","aria-hidden$":!0})})};
tGa=function(a,b){var c="media-item-headline";b&&!a&&(c+=" media-item-headline-placeholder");(0,_.rN)({className:c},function(){_.cL(a)})};rGa=function(a){(0,_.S)({className:"media-item-secondary-headline"},function(){_.cL(a)})};uGa=function(a,b,c,d,e){var f="";!d||b.length||(c==null?0:c.length)||(f="media-item-headline-placeholder");(0,_.S)({className:f},function(){eGa(b,a,e);c&&eGa(c,a,e)})};
_.xGa=function(a){a=a.data;return _.H("ytm-channel-thumbnail-with-link-renderer",null,_.H(_.EG,{command:a.navigationEndpoint,stopPropagation:!1},_.H(_.YI,{thumbnail:a.thumbnail,className:"channel-thumbnail-icon",ariaLabel:_.AK(a==null?void 0:a.accessibility)})))};_.sN=function(a){_.U(_.xGa)({data:a})};_.uN=function(a){_.U(_.tN)({data:a})};_.yGa=function(a){a=a.data;return _.H("ytm-thumbnail-overlay-icon-renderer",{"icon-position":a.iconPosition||"","icon-style":a.iconStyle||""},_.gC(a.icon.iconType))};
zGa=function(a){return!a.thumbnailOverlayResumePlaybackRenderer};AGa=function(a){return a.thumbnailOverlayResumePlaybackRenderer};_.BGa=function(a){(0,_.S)({className:"video-thumbnail-overlay-side center vbox",dir$:"auto"},a)};_.vN=function(a){(0,_.S)({className:"video-thumbnail-overlay-bottom-group"},a)};_.wN=function(a){if(a){var b;return((b=a.darkColorPalette)==null?0:b.section2Color)?a.darkColorPalette.section2Color:a.sampledThumbnailColor}};
_.xN=function(a){_.U(CGa)({Ce:a.Ce,overlayText:a.overlayText,iconType:a.iconType,Zr:a.Zr})};EGa=function(a,b){return a.channelThumbnail&&!b?function(){DGa(a.channelThumbnail)}:void 0};FGa=function(a,b){return function(){if(a.thumbnailOverlays&&a.thumbnailOverlays.length>0){var c=a.thumbnailOverlays;var d=b.isSmallLockup||b.minimalLockup||!(b&&b.alwaysUseVerticalLayout||_.mD()&&_.GB())&&_.hD()?void 0:"large";_.U(_.yN)({data:c,thumbnailSize:d})}else _.vN(function(){DGa(a.thumbnailOverlays)})}};
GGa=function(a){return!!a&&a.length===1&&!_.PB()};_.AN=function(a,b){b=b===void 0?{}:b;b=b===void 0?{}:b;var c=a._replacingContent;c?c():(c=b&&b.alwaysUseVerticalLayout||_.mD()&&_.GB()?"feed-item":"adaptive-feed-item",b=_.NE(c,b),_.WE(zN,{data:a,config:b}))};zN=function(){_.UE.apply(this,arguments);_.DF(this,this.props.data);this.state={Ot:!1,aA:!0}};IGa=function(a,b,c){a.j==null&&(a.j=_.N(b==null?void 0:b.attachedChipsShelf,_.HGa),a.j&&a.M({Ot:!a.j.isInitiallyCollapsed,aA:c}))};
JGa=function(a){var b=a.props.data;if(b.inlinePlaybackEndpoint&&!b.shouldDisplayAsBigShortsSingleton){var c=a.sa.querySelector(".media-item-thumbnail-container");c&&(c={qd:{data:b,Va:c,me:!1}},a.j&&(c.qd.callbacks={Os:function(){a.M({Ot:!0});a.j&&(a.j.isInitiallyCollapsed=!1)},AH:b.attachedChipsShelfDelayTimeMs!=null?Number(b.attachedChipsShelfDelayTimeMs):1E4}),a.o=_.zG(a.sa,c))}};
KGa=function(a){var b=a.data;var c={alwaysUseVerticalLayout:a.alwaysUseVerticalLayout};return _.H("ytm-endscreen-video-renderer",null,_.H(_.Oo,null,function(){var d=Object.assign({},b),e=b.thumbnail,f=b.thumbnailOverlays,h=b.videoId,k=b.publishedTimeText,l=b.lengthText,m=b.navigationEndpoint;d=(delete d.thumbnail,delete d.thumbnailOverlays,delete d.videoId,delete d.publishedTimeText,delete d.lengthText,delete d.navigationEndpoint,d);_.AN({thumbnail:e,thumbnailOverlays:f,videoId:h,lengthText:l,publishedTimeText:k,
navigationEndpoint:m,headline:d.title},c)}))};MGa=function(a){return _.H("ytm-slim-metadata-button-renderer",null,LGa(a.data.button,{buttonRenderer:{className:a.className,buttonOverrides:a.buttonOverrides}}))};NGa=function(a,b){_.U(MGa)({data:a,className:b==null?void 0:b.className,buttonOverrides:b==null?void 0:b.buttonOverrides})};OGa=function(a,b){return _.GA(a.entities,"logoEntity",b)};_.BN=function(a,b){return _.GA(a.entities,"likeStatusEntity",b)};
_.PGa=function(a,b){_.U(_.CN)({data:a,className:b==null?void 0:b.className,buttonOverrides:b==null?void 0:b.buttonOverrides})};QGa=function(a){return a==null?void 0:a.filter(function(b){return b.premiereTrailerBadgeRenderer})};
RGa=function(a,b,c){function d(){return nM(a(),b(),c())}var e={};e=_.BD("YtChapteredProgressBarChapteredPlayerBarChapter",(e.YtChapteredProgressBarChapteredPlayerBarChapterIsScrubbing=function(){return d().Hn},e.YtChapteredProgressBarHoveredMacroMarker=function(){return d().Yf},e));return _.H("div",{class:e,style:function(){var f=a(),h=b(),k=c(),l=_.N(h[k],MJ);h=_.N(h[k+1],MJ);f="width: "+(h?jM(h)-jM(l):f.videoDuration-jM(l))/f.videoDuration*100+"%; background-color: ";a:switch(l=d(),l.Ie){case "pending":l=
l.Yf?"white":"rgba(255, 255, 255, 0.35)";break a;case "active":l=l.Yf?"white":"rgba(255, 255, 255, 0.35)";break a;default:l="red"}return f+l}},_.H("div",{class:"YtChapteredProgressBarChapteredPlayerBarLoaded",style:function(){var f=a(),h=b(),k=c();if(nM(f,h,k).Ie==="seen")var l=0;else l=jM(_.N(h[k],MJ)),h=jM(_.N(h[k+1],MJ))||f.videoDuration,f=f.videoDuration*f.Aj,l=h<=f?1:l>=f?0:(f-l)/(h-l);return"width: "+l*100+"%"}}),_.H("div",{class:"YtChapteredProgressBarChapteredPlayerBarFill",style:function(){var f=
a();var h=b(),k=c();if(nM(f,h,k).Ie!=="active")f=0;else{var l=jM(_.N(h[k],MJ));f=(f.playedTime-l)/((jM(_.N(h[k+1],MJ))||f.videoDuration)-l)}return"width: "+f*100+"%"}}))};
_.FN=function(a,b,c,d,e){var f=this;this.Zb=a;this.listeners=b;this.context=c;this.G=d===void 0?!1:d;this.o=[];this.B=!1;var h;this.J=DN((h=this.A)==null?void 0:h.N);this.O=this.M.bind(this);this.state=Object.assign({},_.UM(),e);this.G&&(a=_.u(_.$o(_.EN(this))),this.W=a.next().value,this.j=a.next().value);_.M("player_controls_render_optimization")&&window.addEventListener("state-navigatestart",function(){_.EN(f).M({playerState:-1});f.H&&_.xr.Ma(f.H);f.B=!0;f.H=sq(0,function(){f.B=!1},8,1E4)})};
_.GN=function(a,b){a.A=b;a.J=DN(b.N);b=a.J===b.N&&_.M("player_controls_skip_double_signal_update");a.G&&!b&&a.j&&a.j(_.EN(a))};_.EN=function(a){var b;return Object.assign({},a.state,{M:a.O,Um:{Rg:a.Rg},N:DN((b=a.A)==null?void 0:b.N),Ea:a.context.Ea,Aa:a.context.Aa,Gd:a.context.Gd,Fb:a.context.Fb})};_.HN=function(a){a.listeners.forEach(function(b){a.o.push(b.register(function(){return _.EN(a)},function(){return a.A}))})};_.IN=function(a){a.o.forEach(function(b){b()});a.o.length=0};SGa=function(){return document.getElementById("player-control-overlay")};
TGa=function(a){a!==-1&&!_.M("player_controls_log_creation_killswitch")&&SGa()&&(_.Av("pcu_cs",a),_.Av("pcu_ce"))};DN=function(a){if(!a||a.getVideoData)return a};UGa=function(a,b){for(var c=_.u(Object.keys(a)),d=c.next();!d.done;d=c.next())if(d=d.value,a[d]!==b[d])return!1;return!0};
WGa=function(a,b){var c=VGa,d=_.u(_.$o(_.EN(new _.FN(function(){},c,b)))),e=d.next().value,f=d.next().value,h=new _.FN(function(k){f(k)},c,b);_.Xo(function(){Promise.resolve().then(function(){var k;_.GN(h,(k=a())!=null?k:{});_.HN(h)});_.Mn(function(){_.IN(h)})});_.Mn(function(){_.IN(h)});return function(){return e()}};XGa=function(a){return{Ea:Object.assign({},_.FBa(),{cp:function(b){var c,d;(d=(c=a()).cp)==null||d.call(c,b)},Uy:function(){var b,c;(c=(b=a()).Uy)==null||c.call(b)}})}};
YGa=function(a){var b=a.enabled;var c=a.ariaLabel;var d=a.onClick;a=_.P(function(e){d==null||d(e)});return _.H("button",{"aria-label":c!=null?c:"","aria-pressed":b,"on:click":a,class:"ytm-autonav-toggle-button-container"},b?_.H(_.F,null,_.gC("AUTONAV_ON_TOGGLE_SPANNER",{className:"spanner-icon-on"}),_.gC("PLAY_CIRCLE_FILLED",{className:"play-icon"})):_.H(_.F,null,_.gC("AUTONAV_OFF_TOGGLE_SPANNER",{className:"spanner-icon-off"}),_.gC("PAUSE_CIRCLE_FILLED",{className:"pause-icon"})))};
ZGa=function(a,b){clearTimeout(JN);JN=setTimeout(function(){a.M({ei:!1});JN=void 0},b)};KN=function(a){var b,c,d;return((b=a.N)==null?void 0:(c=b.isReady)==null?void 0:c.call(b))&&((d=a.N)==null?void 0:d.isAtLiveHead())};$Ga=function(a){var b,c=_.K().resolve(YC);_.M("mweb_use_new_history_manager")&&c()?b=c().sg():_.M("mweb_use_new_browser_history")?b=_.K().resolve($C).sg():b=UC();b&&(LN=_.GB({href:b}),(b=_.rB(function(){return a.player.args}))&&(b.external_list=LN))};
aHa=function(a){if(gM())return!0;a=a.N;var b;if(!(a==null?0:(b=a.isReady)==null?0:b.call(a)))return!1;if(_.L("INNERTUBE_CLIENT_NAME")==="WEB_EMBEDDED_PLAYER"&&!_.M("mweb_enable_embeds_ux_killswitch"))return!0;b=a.getVideoData();return!b.isListed||b.ypcPreview||b.isLive||typeof a.getLoopRange==="function"&&a.getLoopRange()?!0:!1};cHa=function(a,b){return _.H(bHa,{df:a,bo:b})};MN=function(a,b){this.text=a;this.bold=b};
dHa=function(a,b,c){this.input=b;this.index=c;this.text="";this.suggestionSources={wB:1};this.text=a[0];this.type=a[1];this.subtypes=a[2]};eHa=function(a){var b=[];if(a.text.length>=a.input.length&&a.text.substring(0,a.input.length)===a.input)b.push(new MN(a.input,!1)),b.push(new MN(a.text.substring(a.input.length),!0));else{var c=new Set(a.input.split(/\s/)),d=a.text.split(/\s/);b=d.map(function(e,f){return new MN(e.trim()+(f===d.length-1?"":" "),!c.has(e))})}return b};
fHa=function(){this.cache=new Map};hHa=function(a){this.j=["",[],[]];this.suggestions=[];try{var b=JSON.parse(gHa(a));if(typeof b==="object"&&b!==null)this.j=b;else{console.log("Suggest: Unexpected type from JSON.parse!");return}}catch(d){console.log("Suggest: Failed to parse SuggestResponse!");return}var c=this.j[0];this.suggestions=this.j[1].map(function(d,e){return new dHa(d,c,e)})};gHa=function(a){var b=a.indexOf("(");return b!==-1?a.substring(b+1,a.length-1):a};
ON=function(a,b,c,d){var e=Th(a);_.N(e,_.NN)&&(_.N(e,_.NN).query=b);var f;((f=_.N(e.commandMetadata,_.ew))==null?0:f.url)?(a=_.Ai(_.N(e.commandMetadata,_.ew).url,"search_query",b),_.yi(location.href,"sv")==="1"&&(_.N(e,_.NN).params="EgOAAgE%3D",a=_.Ai(a,"sv","1")),a=a.replace(/%20/g,"+"),_.N(e.commandMetadata,_.ew).url=a,_.M("mweb_searchbox_legacy_navigation")?_.BL({href:a,params:{gs_l:c,oq:d!=null?d:b},rb:4724,endpoint:e}):_.K().resolve(_.IC).resolveCommand(e)):_.av(Error("Md`"+JSON.stringify(a)))};
iHa=function(){this.B=document.createElement("div");this.B.id="global-loader";document.body.insertBefore(this.B,document.body.firstChild)};_.QN=function(a){_.PN(a);_.Po(a.B,_.H(_.TK,{label:"loading",fb:!0}))};_.PN=function(a){a.B.firstChild&&a.B.removeChild(a.B.firstChild)};
_.TN=function(a){var b=_.K().resolve(_.kJ);a=a.Ta;window.addEventListener("state-navigatestart",b.mg);b.o||(b.o=document.createElement("fullscreen-overlay"),b.o.id="global-fullscreen-overlay",document.body.appendChild(b.o));_.K().resolve(_.mp(_.RN))==null||_.SN();_.Po(b.o,_.H(a,null))};UN=function(a){this.cq=a;this.ff=new Map};_.VN=function(a){var b;return(b=a.engagementPanel)==null?void 0:b.FA};WN=function(a){var b;return!((b=a.engagementPanel)==null||!b.FA)};
_.jHa=function(a){return(a==null?void 0:a.startsWith("EL"))||(a==null?void 0:a.startsWith("SC"))};_.kHa=function(){return gM()&&!_.GB()&&!_.jHa(_.yi(_.sB().href,"list"))};lHa=function(a){var b;return(a=a==null?void 0:(b=a.header)==null?void 0:b.playlistHeaderRenderer)?!_.XN(a):!1};_.XN=function(a){var b,c,d;a=(b=_.N(a.cinematicContainer,_.YN))==null?void 0:(c=b.backgroundImageConfig)==null?void 0:(d=c.thumbnail)==null?void 0:d.thumbnails;if(a!=null&&a.length)return a[a.length-1].url};
$N=function(){if(ZN)return ZN;var a=_.u(_.$o(_.CB())),b=a.next().value,c=a.next().value;window.addEventListener("state-navigateend",function(){c(_.CB())});window.addEventListener("updateui",function(){c(_.CB())});return ZN={Rd:function(){return _.GB({pageType:b()})},KQ:function(){return HB({pageType:b()})},kG:function(){return FB({pageType:b()})==="settings"},Qx:function(){return IB({pageType:b()})},aG:function(){return _.JB({pageType:b()})},hG:function(){return FB({pageType:b()})==="redeem"},cG:function(){return FB({pageType:b()})===
"premium"},TQ:function(){return FB({pageType:b()})==="trending"},HQ:function(){return FB({pageType:b()})==="news"},EQ:function(){return _.KB({pageType:b()})},NF:function(){return _.LB({pageType:b()})},uQ:function(){return MB({pageType:b()})},Ga:function(){return _.NB({pageType:b()})},tQ:function(){return FB({pageType:b()})==="channel"},lG:function(){return FB({pageType:b()})==="sfv_audio_pivot"},Nx:function(){return _.OB({pageType:b()})},WF:function(){return FB({pageType:b()})==="minor_moment"},YF:function(){return FB({pageType:b()})===
"open_in_app"},Ux:function(){return _.PB({pageType:b()})},VF:function(){return _.QB({pageType:b()})},JQ:function(){return FB({pageType:b()})==="playables"},zQ:function(){return FB({pageType:b()})==="explore"},MQ:function(){return Gsa({pageType:b()})},Pr:function(){return FB({pageType:b()})==="playlist"},mG:function(){return FB({pageType:b()})==="subscriptions"},CQ:function(){return RB({pageType:b()})}}};aO=function(){return!!_.LB()&&_.M("mweb_c3_library_page_enable_recent_shelf")};
mHa=function(a){var b,c;a=a||((b=_.zB)==null?void 0:(c=b.response)==null?void 0:c.response);var d,e;return(d=a)==null?void 0:(e=d.header)==null?void 0:e.pageHeaderRenderer};bO=function(){var a,b,c=(a=_.zB)==null?void 0:(b=a.response)==null?void 0:b.response,d;return!((d=mHa())==null||!d.titleAnimation)||lHa(c)};cO=function(){var a,b,c=(a=_.zB)==null?void 0:(b=a.response)==null?void 0:b.response;return(a=mHa(c))?a.topBarAnimation?!0:!1:_.kHa()&&!lHa(c)};
_.dO=function(){return!_.M("mweb_frosted_glass")||_.GB()||_.NB()?"":"frosted-glass"};nHa=function(){var a={};a=_.ME((a["sticky-player"]=_.L("MWEB_STICKY_PLAYER",!1),a));return a=_.NB()?_.ME(a,"topbar-transparent-background","shorts-topbar"):cO()?_.ME(a,"topbar-transparent-background"):bO()?_.ME(a,"topbar-transparent-title"):_.ME(a,_.dO())};
oHa=function(){var a=$N().Ga,b=[];_.L("MWEB_STICKY_PLAYER",!1)&&b.push("sticky-player");if(a())b.push("topbar-transparent-background","shorts-topbar");else if(cO())b.push("topbar-transparent-background");else if(bO())b.push("topbar-transparent-title");else{a=b.push;if(_.M("mweb_frosted_glass")){var c=$N();var d=c.Ga;c=c.Rd;d=c()||d()?"":"frosted-glass"}else d=_.Yo("");a.call(b,d)}return b.join(" ")};
pHa=function(){pt({jz:!0,Fw:!0});_.Ta("ytglobal.ytUtilActivityCallback_",function(){_.hB("user-activity")});window.addEventListener("popstate",function(){$I||_.nt()})};rHa=function(){_.L("MWEB_STICKY_PLAYER",!1)&&(_.GB()||MB())&&qHa()};qHa=function(){!_.mD()&&!nD()||(_.iE.player.offsetHeight>window.innerHeight*.6?_.et(_.iE.Aa,"sticky-player"):_.dt(_.iE.Aa,"sticky-player"))};tHa=function(){sHa.gg()};
uHa=function(){if(_.L("MWEB_STICKY_PLAYER",!1)&&!(!eO()||_.M("mweb_allow_modern_search_suggest_behavior")&&eJ()||_.PB()&&_.M("mweb_disable_searchbar_scroll"))){var a=window.scrollY;if(_.GB()||MB())qHa(),_.fO("in"),gO=a;else{var b=gO>a,c=a>=48,d=a<126;gO=a;b?(c?_.fO("filled"):_.fO("in"),hO()?iO("filter-chip-bar-in-bottom"):RB()&&d?iO("filter-chip-bar-static"):iO("filter-chip-bar-in")):c?cO()||bO()?_.fO("filled"):(_.fO("out"),hO()?iO("filter-chip-bar-in-bottom"):RB()&&d?iO("filter-chip-bar-static"):
_.OB()&&_.M("mweb_sticky_chips_bar_home")?iO("filter-chip-bar-in-no-header"):iO("filter-chip-bar-out")):(_.fO("in"),hO()?iO("filter-chip-bar-in-bottom"):RB()?iO("filter-chip-bar-static"):iO("filter-chip-bar-in"))}}if(_.GB()){var e;(e=eO())==null||e.setAttribute("ambient-topbar",jO().toString())}};eO=function(){return document.getElementById("header-bar".toString())};
iO=function(a){var b=_.OB()||RB()?document.getElementById("filter-chip-bar".toString()):null;b&&(_.et(b,"filter-chip-bar-static"),_.et(b,"filter-chip-bar-in-bottom"),_.et(b,"filter-chip-bar-in"),_.et(b,"filter-chip-bar-in-no-header"),_.et(b,"filter-chip-bar-out"),_.dt(b,a))};hO=function(){return _.OB()&&_.M("mweb_sticky_bottom_chips_bar_home")};_.fO=function(a){var b=eO();b&&(b.className=_.ME(a,nHa()))};
jO=function(){var a=_.hD()?1:24;if(LK.length>0){var b=Number(document.body.style.top.replace(/(px)|-/g,""));return!isNaN(b)&&b<a}return gO<a};vHa=function(a){a&&a.detail&&a.detail.Wp&&!a.detail.Wp.playnext&&(kO=1)};wHa=function(){return _.lO};_.oO=function(a,b){b&&(mO=!0);a=_.lO=a;b=qsa();a!==b&&(b=_.iq(),!_.M("web_autonav_allow_off_by_default")&&a||_.lq(b,141,!0),_.lq(b,140,!a),b.save());nO()};
_.xHa=function(a){var b,c;a=_.N(a==null?void 0:(b=a.playerOverlays)==null?void 0:(c=b.playerOverlayRenderer)==null?void 0:c.autonavToggle,GBa);(a==null?void 0:a.enabled)!==void 0&&_.oO(a.enabled,!1)};nO=function(){setTimeout(function(){_.hB("player-autonav-pause",{paused:yHa})})};rO=function(){window.scrollY!==0&&(pO=!0);yHa=zHa||qO||pO||AHa;nO()};BHa=function(){qO=!0;rO()};DHa=function(){qO=!1;clearTimeout(CHa);CHa=setTimeout(BHa,18E5);rO()};
EHa=function(a){var b=a.detail.videoData;(a=b.sessionData.itct)||(a=_.rE().getVideoData().itct||null);a={itct:a};var c=b.sessionData;c.autonav==="1"&&(c.playnext=String(kO++));c={autonav:c.autonav,playnext:c.playnext,lact:String(_.rt())};var d=_.xi("/watch","v",b.videoId),e=b.videoId;b=b.listId;var f=a.itct,h={url:"/watch?v="+e,webPageType:"WEB_PAGE_TYPE_WATCH",rootVe:3832};b&&(h.url+="&list="+b);e={watchEndpoint:{videoId:e},commandMetadata:{webCommandMetadata:h}};b&&(_.N(e,_.fw).playlistId=b);f&&
(e.clickTrackingParams=f);_.BL({href:d,params:a,cg:c,rb:3832,endpoint:e})};FHa=function(){_.aJ()};GHa=function(){var a=_.sB().hash;zHa=a.startsWith("#")&&!a.startsWith("#fauxfullscreen");rO()};HHa=function(){pO=window.scrollY!==0};
IHa=function(){window.addEventListener("on-play-autonav-video",EHa);window.addEventListener("on-play-previous-autonav-video",FHa);window.addEventListener("hashchange",GHa);window.addEventListener("state-navigatestart",GHa);window.addEventListener("user-activity",DHa);window.addEventListener("scroll",HHa);_.rA(_.CK,WN,function(a){AHa=!!a;rO()});nO()};JHa=function(){return mO};
_.MHa=function(a){var b=_.iE.Aa;if(_.M("mweb_new_fullscreen"))xBa(a,b);else{var c=_.sO(),d;_.SK&&_.M("mweb_force_ios_fallback_to_native_control")?d=KHa():Mz()?c?tO():d=LHa(b):_.M("mweb_native_control_in_faux_fullscreen_shared")?d=KHa():_.hB("player-fullscreen-toggled",{isCurrentlyFullscreen:c});if(a==null?0:a.Wt){var e;(e=d)==null||e.catch(function(){return null})}}};
KHa=function(){var a=document.querySelector("video");a&&(_.hB("fullscreenrequest"),Lz(a).catch(function(b){var c,d,e;if((b==null?0:(c=b.message)==null?0:c.includes("Fullscreen is not supported"))||(b==null?0:(d=b.message)==null?0:d.includes("Fullscreen error"))||(b==null?0:(e=b.message)==null?0:e.includes("fullscreen error")))_.Fp(b);else throw b;}))};tO=function(){_.M("mweb_new_fullscreen")?Oz(_.iE.Aa||document.body):_.iE.Aa&&(Oz(_.iE.Aa),_.M("mweb_new_fullscreen_resize")||_.hB("resize"))};
LHa=function(a){_.hB("fullscreenrequest");a=Lz(a,{navigationUI:"hide"});_.M("mweb_new_fullscreen_resize")||_.hB("resize");return a};_.sO=function(){return _.M("mweb_new_fullscreen")?!!Nz():!!Nz()||_.sB().hash==="#fauxfullscreen"};
NHa=function(){return _.H("div",{class:"compact-channel-renderer-ghost-card"},_.H("div",{class:"compact-channel-renderer-ghost-card__thumbnail-container"},_.H("div",{class:"compact-channel-renderer-ghost-card__thumbnail"})),_.H("div",{class:"compact-channel-renderer-ghost-card__metadata"},_.H("div",{class:"compact-channel-renderer-ghost-card__title"})," ",_.H("div",{class:"compact-channel-renderer-ghost-card__author"})))};
OHa=function(){return _.H("div",{class:"compact-video-renderer-ghost-card"},_.H("div",{class:"compact-video-renderer-ghost-card__thumbnail compact-video-renderer-ghost-card--rounding"}),_.H("div",{class:"compact-video-renderer-ghost-card__metadata"},_.H("div",{class:"compact-video-renderer-ghost-card__title"}),_.H("div",{class:"compact-video-renderer-ghost-card__author"})))};uO=function(a){return _.$B(a,{fb:!1,Dl:PHa[a.toString()]})};
QHa=function(a){a=a===void 0?{items:[],Ug:_.pB,bj:0,chunkSize:0}:a;var b=a.items;var c=a.Ug;var d=a.bj;var e=a.chunkSize;var f=a.rl===void 0?_.pB:a.rl;a=a.jG;var h=ln,k=h.hs=h.hs||{};if(b!==k.items&&a)wn();else if(b!==k.items||a||!k.xm||k.Vq){b!==k.items&&(k.count=d-e);k.items=b;k.count=Math.min(k.count+e,b.length);k.Vq&&(k.count=b.length,k.Vq=!1);for(a=0;a<k.count;a++)c(b[a]);k.count<b.length?(k.xm=!0,_.oB(function(){requestAnimationFrame(function(){h.isConnected?(0,_.TE)(h,QHa,{items:b,Ug:c,bj:d,
chunkSize:e,rl:f,jG:!0}):k.xm=!1})})):(k.xm=!1,f())}else wn()};_.vO=function(a){_.lB("lazy-list",null,function(){QHa(a)})};SHa=function(a){RHa(a)&&a.contents&&!a.contents.length&&(0,_.S)({className:"related-items-spinner"},function(){(0,_.S)({className:"spinner"})})};RHa=function(a){return a&&(a.sectionIdentifier==="related-items"||!!_.eG(a,"chipCloudRenderer"))};THa=function(a){a._cachedContents=a.contents;a._cachedContinuations=a.continuations};
UHa=function(a){a.contents=a._cachedContents;a.continuations=a._cachedContinuations;a._cachedContents=void 0;a._cachedContinuations=void 0};VHa=function(a,b,c,d){(a=a.detail)?(b._cachedContents||THa(b),a.continuationCommand||(b.continuations=[a]),b.contents=[]):b._cachedContents&&UHa(b);QCa(d,function(e){e&&_.wO(e,c)},b)};
_.wO=function(a,b){b=b===void 0?{}:b;if(a.sectionIdentifier!=="library-recent"||!_.KB({href:_.sB().href})||_.M("mweb_c3_library_page_enable_recent_shelf")){var c=a.contents||[],d=a.sectionIdentifier==="related-items";_.eG(a,"reelShelfRenderer");var e=_.lC(function(){return a.separatorDetails&&a.separatorDetails.hasBottomSeparator})===!1;b=_.NE(_.ME({"feature-phone-minimal-lockups":!1,"no-bottom-separator":e}),b);_.AF(a,"ytm-item-section-renderer",b,function(f){var h;RHa(a)&&(h={Tc:function(k){VHa(k,
a,b,f)}});f.setAttribute("section-identifier",a.sectionIdentifier||"");WHa(a.header,h);_.vO({items:c,Ug:function(k){WHa(k,{className:"item",force16By9ThumbnailAspectRatio:!0,thumbnailFixedWidth:"50%",containerType:d?1:2,sizing:d?0:1})},bj:10,chunkSize:10,rl:function(){SHa(a)}})})}};
$Ha=function(){XHa=!0;var a=_.YHa();xO=a?a:"USER_INTERFACE_THEME_LIGHT";if(!_.L("MWEB_DISABLE_SYSTEM_DARK_THEME")){var b=void 0;window.matchMedia&&window.matchMedia("(prefers-color-scheme)").matches&&(b=window.matchMedia("(prefers-color-scheme: dark)").matches?"USER_INTERFACE_THEME_DARK":"USER_INTERFACE_THEME_LIGHT");var c=b==="USER_INTERFACE_THEME_DARK",d=_.iq();_.M("web_theme_update")&&_.jq(0,185)!==c&&(_.lq(d,185,c),d.save());!a&&b&&(xO&&xO!==b&&b==="USER_INTERFACE_THEME_DARK"&&ZHa(),_.M("web_theme_update")||
(xO=b))}};_.YHa=function(){_.iq();var a=_.yi(_.sB().href,"theme");if(a==="dark")return"USER_INTERFACE_THEME_DARK";if(a==="light")return"USER_INTERFACE_THEME_LIGHT";if(_.jq(0,165)&&!_.jq(0,174))return"USER_INTERFACE_THEME_DARK";if(_.jq(0,174))return"USER_INTERFACE_THEME_LIGHT";if(_.M("web_theme_update")&&_.jq(0,185))return"USER_INTERFACE_THEME_DARK"};
ZHa=function(){var a=_.os(_.L("DARK_THEME_CSS_URL")),b=document.createElement("link");b.media="print";b.id="preload-css";b.onload=_.M("web_theme_update")?function(){var c;return _.z(function(d){if(d.j==1)return _.x(d,aIa().then(function(e){return e}).catch(function(){xO="USER_INTERFACE_THEME_LIGHT"}),2);(c=d.o)&&a&&(_.$h(c,a,"stylesheet"),xO="USER_INTERFACE_THEME_DARK");document.head.removeChild(b);_.wa(d)})}:function(){var c=document.getElementById("c3-css");c&&a?_.$h(c,a,"stylesheet"):_.M("mweb_dark_css_swap_killswitch")||
(xO="USER_INTERFACE_THEME_LIGHT");document.head.removeChild(b)};a&&(_.$h(b,a,"stylesheet"),document.head.appendChild(b))};aIa=function(){var a;return _.z(function(b){b.j==1&&(a=0);return b.j!=4?a<10&&!document.getElementById("c3-css")?_.x(b,new Promise(function(c){a++;setTimeout(c,100)}),2):b.L(4):b.return(new Promise(function(c,d){var e=document.getElementById("c3-css");e?c(e):d()}))})};_.yO=function(){if(!XHa)throw Error("Nd");return xO==="USER_INTERFACE_THEME_DARK"};
dIa=function(a){var b=a.data;var c=a.uF;var d=a.isActive;var e=a.onSelected;var f=a.va;var h=_.Ow();_.Iw(function(){d&&f&&(f.value=h.value)},[d]);a=["ytm-macro-markers-list-item-endpoint"];c&&a.push("inside-list");d&&a.push("selected");b.layout==="MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL"&&a.push("modern-sd-macro-marker");var k=_.yO(),l=k?b.darkColorPalette:b.lightColorPalette;l&&a.push("color-sampling-enabled");var m=_.P(function(){b.onTap&&(e==null||e())}),n=_.no(function(q){if(b.onTap){var r=
zO(k,!!d,l,"ytm-macro-markers-list-item-endpoint","background-color");r&&q.append("style",r)}}),p;return _.H("ytm-macro-markers-list-item-renderer",{el:h},_.H("div",Object.assign({},{class:a.join(" "),"on:click":m},n),_.H("div",{class:"ytm-macro-markers-list-item-thumbnail","aria-hidden":!0},_.H(_.zK,{thumbnailDetails:b.thumbnail})),_.H("div",{class:"ytm-macro-markers-list-item-info-wrapper"},_.H("div",{class:"ytm-macro-markers-list-item-info",role:"button"},_.H("div",{class:"ytm-macro-markers-list-item-title",
style:zO(k,!!d,l,"ytm-macro-markers-list-item-title","color")},_.H("h4",null,_.Y(b.title))),_.H("div",{class:"ytm-macro-markers-list-item-time-wrapper",style:zO(k,!!d,l,"ytm-macro-markers-list-item-time-wrapper","background-color")},_.H("p",{class:"ytm-macro-markers-list-item-time",style:zO(k,!!d,l,"ytm-macro-markers-list-item-time","color")},_.Y(b.timeDescription)))),((p=b.shareButton)==null?0:p.buttonRenderer)&&c?bIa(b.shareButton,{buttonRenderer:{className:"ytm-macro-markers-list-item-share-button",
processAllEndpoints:!0,stopPropagation:!0,buttonOverrides:{customColors:cIa(k,!!d,l,"ytm-macro-markers-list-item-share-button","color")}}}):null)))};
cIa=function(a,b,c,d,e){if(b&&c){switch(d){case "ytm-macro-markers-list-item-endpoint":a=a?c.section2Color:c.section3Color;break;case "ytm-macro-markers-list-item-title":case "ytm-macro-markers-list-item-share-button":a=c.primaryTitleColor;break;case "ytm-macro-markers-list-item-time-wrapper":a=c.section1Color;break;case "ytm-macro-markers-list-item-time":a=c.secondaryTitleColor;break;default:return}if(a)return b={},b[e]=_.dA(a),b}};
zO=function(a,b,c,d,e){if(a=cIa(a,b,c,d,e))return Object.entries(a).map(function(f){var h=_.u(f);f=h.next().value;h=h.next().value;return f+":"+h}).join(";")};AO=function(){this.value=void 0;this.j=new _.gs};eIa=function(a){_.TL();a.uf?a.Oe?BO(_.W.qB):(a=iCa(a),BO(a?_.W.sB.replace("language_placeholder",a):_.W.rB)):BO(_.W.pB)};BO=function(a){_.UL(function(){_.En(a)})};gIa=function(){return{productId:"77522",locale:_.L("HTML_LANG","en"),allowNonLoggedInFeedback:!0,bucket:"C3",callback:fIa,onLoadCallback:function(){CO(!0)}}};
_.kIa=function(a){var b=gIa(),c={clientAppVersion:_.L("CLIENT_APP_VERSION",""),experiments:hIa(),logged_in:_.yE(),Device:_.Ab(),premium_membership:iIa()};if(_.GB()||_.NB()){var d=_.rE();d&&d.getFeedbackProductData&&Object.assign(c,d.getFeedbackProductData())}a&&a.forEach(function(e){(e=e.userFeedbackEndpointProductSpecificValueData)&&e.key&&(c[e.key]=e.value)});_.hL().then(function(){bJ("feedback");window.addEventListener("hashchange",jIa);nqa(b,c)})};
hIa=function(){var a,b,c,d,e,f=(a=_.zB.response)==null?void 0:(b=a.response)==null?void 0:(c=b.responseContext)==null?void 0:(d=c.serviceTrackingParams)==null?void 0:(e=d.filter(function(l){return l.service==="GFEEDBACK"})[0].params)==null?void 0:e.filter(function(l){return l.key==="e"})[0],h=new Set(_.L("FEXP_EXPERIMENTS",[])),k;((f==null?void 0:(k=f.value)==null?void 0:k.split(","))||[]).forEach(function(l){h.add(Number(l))});return Array.from(h).join(",")};
fIa=function(a){window.removeEventListener("hashchange",jIa);lIa();CO(!1);a&&_.M("web_log_feedback_on_submitted")&&_.uu("userFeedbackEvent",{})};lIa=function(){ZI.then(function(){_.sB().hash==="#feedback"&&_.aJ();return ZI})};jIa=function(a){(new _.Al(a.oldURL)).B==="#feedback"&&_.sB().hash!=="#feedback"&&(CO(!1),(a=window.GOOGLE_FEEDBACK_DESTROY_FUNCTION)&&a())};
iIa=function(){return _.lC(function(){var a,b,c,d,e,f=(a=_.zB.response)==null?void 0:(b=a.response)==null?void 0:(c=b.responseContext)==null?void 0:(d=c.serviceTrackingParams)==null?void 0:(e=d.filter(function(p){return p.service==="GFEEDBACK"})[0].params)==null?void 0:e.filter(function(p){return p.key==="premium_membership"})[0],h,k,l,m,n;a=(h=_.zB.response)==null?void 0:(k=h.playerResponse)==null?void 0:(l=k.responseContext)==null?void 0:(m=l.serviceTrackingParams)==null?void 0:(n=m.filter(function(p){return p.service===
"GFEEDBACK"})[0].params)==null?void 0:n.filter(function(p){return p.key==="premium_membership"})[0];return f?f.value:a?a.value:null})};CO=function(a){if(!_.M("mweb_feedback_a11y_bugfix_killswitch")){var b=document.querySelector("#google-feedback");b&&(_.JK(b,a,!0),a&&_.sm(function(){var c,d;return(c=b.querySelector("iframe"))==null?void 0:(d=c.contentDocument)==null?void 0:d.querySelector(".uvFeedbackFormform-initial-focus-element")},5,{bn:!0}))}};
mIa=function(a){var b=a.data;return _.H(_.hI,{Fk:function(c){_.M("wiz_use_generic_loggiing_infra")||_.uD(c,b)},vc:function(){return _.H(_.mJ,null,_.Y(b.connectedDialogTitle))},Hb:function(){return _.H("div",null,_.Y(b.connectedDialogMessage))},pc:function(){return _.H(_.lJ,null,_.H(_.oF,{model:{buttonText:_.nI(b.confirmButtonText),style:"mono",type:"tonal",state:"active",size:"M",onTap:function(){_.K().resolve(_.kJ).ab()}}}))}})};
DO=function(a){return{listItemViewModel:{title:a.title,selectionText:a.selectionText,leadingImage:{sources:[{clientResource:{imageName:a.iconType}}]},isDisabled:a.isDisabled,isSelected:a.isSelected,selectionStyle:a.selectionStyle}}};nIa=function(){var a=EO(_.W.vp),b=_.wG();return{switchListItemViewModel:{title:a,switchedOnByDefault:b,a11yLabelSwitchedOn:_.W.iB,a11yLabelSwitchedOff:_.W.hB}}};EO=function(a){return{content:a}};
qIa=function(a){var b=FO(a);if(b){var c=b==null?void 0:b.menuData;if(b.linked&&c){var d=function(e){_.RJ(107868,e,null,function(f){oIa=f},c)};gL(function(){pIa(a)},function(e){_.cL(c.connectedMenuLabel);e instanceof Element&&_.oB(function(){d(e)})},void 0,d)}}};rIa=function(a){var b,c,d=(b=FO(a))==null?void 0:(c=b.menuData)==null?void 0:c.connectedMenuLabel;d&&(b=DO({title:_.jC(d),iconType:"ACCOUNT_LINKED"}),(b=_.N(b,_.BH))&&_.U(AH)({data:b,ze:!0,onTap:function(){pIa(a)}}))};
pIa=function(a){var b,c=(b=FO(a))==null?void 0:b.menuData;c&&(_.K().resolve(_.kJ).openDialog({Ta:function(){return _.H(mIa,{data:c})}}),_.sta(oIa))};FO=function(a){var b=_.lC(function(){return a.getPresentingPlayerType()}),c,d,e;return b===1||b===8?(c=_.zB)==null?void 0:(d=c.response)==null?void 0:(e=d.playerResponse)==null?void 0:e.accountLinkingConfig:null};sIa=function(){var a;return(a=_.CK.getState().rD)==null?void 0:a.isAllowed};
tIa=function(a,b,c){c?(_.rw(_.dw(),a.visualElement),_.aw(b),a&&_.bw(a)):(_.rw(_.dw(),b.visualElement),_.aw(a),b&&_.bw(b))};uIa=function(a){var b=_.wG();a!==b&&(b=_.iq(),_.lq(b,190,a),_.lq(b,192,!0),b.save(),_.hB("cinematic-setting-toggle-change",{value:a}))};vIa=function(a){a==null||a.classList.add("highlight-cinematic-setting");setTimeout(function(){a==null||a.classList.remove("highlight-cinematic-setting")},1E3)};
_.GO=function(a){a=document.getElementById(a.toString());a.focus();a.setSelectionRange(0,a.value.length);try{var b=document.execCommand("copy")}catch(c){}_.UL(function(){b?_.En(wIa):_.En(xIa)})};AIa=function(a){gL(function(){yIa(a)},function(){_.En(zIa)})};BIa=function(a){var b=_.N(DO({title:EO(zIa),iconType:"BUG_REPORT"}),_.BH);b&&_.U(AH)({data:b,ze:!0,onTap:function(){yIa(a)}})};
yIa=function(a){var b=_.lC(function(){return a.getDebugText(!0)});b&&_.K().resolve(_.kJ).openDialog({Ta:function(){return _.H(CIa,{SD:b})}})};
_.HO=function(a,b,c){c=c===void 0?_.pB:c;_.lB("c3-material-button",a,function(){var d="c3-material-button-button";b&&b.className&&(d+=" "+b.className);_.lB("button",Object.assign({},{className:d+" sentence-case",disabled:b&&b.disabled,onclick:b&&b.onclick,"aria-label$":b&&b.ariaLabel,"aria-labelledby$":b&&b.pf,"aria-expanded$":b&&b.ariaExpanded,"aria-pressed$":b&&b.ariaPressed},b&&b.id&&{id:b.id},a&&a.tabIndex!==void 0&&{tabindex$:a.tabIndex}),function(){(0,_.S)({className:"cbox"},c)})})};
FIa=function(a,b){_.uL({header:function(){(0,_.IO)({className:"player-settings-header"},function(){_.En(DIa)})},buttons:function(){_.HO({className:"compact"},null,function(){_.En(EIa)})},content:b,Kd:!0,focusOnClose:a.currentTarget,Aw:function(c){c instanceof Element&&aCa({element:c,veType:108341,Vt:null})}});a.stopPropagation()};GIa=function(a,b){_.GK({content:b,shouldShowIcons:!0});a.stopPropagation()};
HIa=function(a){if(a=a.target instanceof HTMLSelectElement?a.target:null){var b=a.options.length;b<=1||(a.selectedIndex=(a.selectedIndex+1)%b,a.dispatchEvent(new Event("change",{bubbles:!0})))}};IIa=function(a){if(Jq("tesla")){var b=(b=/Chrome\/(\d+)/.exec(_.Ab()))?parseFloat(b[1]):NaN;b=Number.isNaN(b)?!1:b>=100}else b=!1;b&&!_.M("mweb_tesla_select_killswitch")&&a.addEventListener("click",HIa)};
JO=function(a,b,c){var d={className:"select"};b&&b.id&&(d.id=b.id);b&&b.required&&(d["aria-required$"]="true");_.lB("ytm-select",a,function(e){IIa(e);JIa(d,c);_.bK("ARROW_DROP_DOWN",{className:"select-icon"})})};KIa=function(){KO||(KO=_.jA("yt-maw-player"))};
MO=function(a,b){b=a===100?LIa:a===b?MIa:void 0;return{variableSpeedControllerSpeedButtonViewModel:{playbackSpeedButton:{buttonViewModel:{title:a/100+"x",style:"BUTTON_VIEW_MODEL_STYLE_MONO",type:"BUTTON_VIEW_MODEL_TYPE_TONAL",buttonSize:"BUTTON_VIEW_MODEL_SIZE_COMPACT",iconTrailing:!0}},buttonLabel:{content:b},playbackSpeedButtonCentiValue:a}}};
OIa=function(){KIa();var a;if((a=KO)==null||!a.get("recent-custom-speed"))return NO.map(function(c){return MO(c)});var b=Number(KO.get("recent-custom-speed"));if(NO.includes(b))return NO.map(function(c){return MO(c,b)});a=NIa.slice();a.push(b);a.sort(function(c,d){return c-d});return a.map(function(c){return MO(c,b)})};
PIa=function(a){var b;if(a==null?0:(b=a.isReady)==null?0:b.call(a))if(a=a.getPlaybackRate())return{variableSpeedControllerViewModel:{slider:{horizontalSliderViewModel:{maxValue:200,minValue:25,initialValue:a*100,stepCount:35,valueDenominator:100}},playbackSpeedButtons:OIa()}}};
SIa=function(a){var b=PIa(a),c=_.N(b,QIa);c&&_.GK({shouldShowIcons:!0,content:function(){_.U(RIa)({data:c,GH:function(d){a.setPlaybackRate(d.target.valueAsNumber)},FH:function(d){d=d.target.valueAsNumber;KIa();KO&&KO.set("recent-custom-speed",String(d*100))},IH:function(d){a.setPlaybackRate(d)}})}})};
UIa=function(a){var b=_.lC(function(){return a.getAvailablePlaybackRates()})||[];if(!(b.length<2)){var c=_.lC(function(){return a.getPlaybackRate()}),d=_.xH("player-speed-dropdown");sF({htmlFor:d.toString()},function(){_.En(TIa)});JO({className:"player-speed-settings",onchange:function(e){return _.lC(function(){a.setPlaybackRate(Number(e.target.value))})}},{id:d},function(){b.forEach(function(e){OO({className:"option",selected:e===c,value$:e},function(){_.En(e===1?PO:e.toLocaleString())})})})}};
WIa=function(a){var b=_.lC(function(){return a.getPlaybackRate()});b&&(b=_.N(DO({title:EO(TIa),selectionText:EO(b===1?PO:b.toLocaleString()),iconType:"PLAY_ARROW_HALF_CIRCLE"}),_.BH))&&_.U(AH)({data:b,ze:!0,onTap:function(){_.M("mweb_enable_varispeed_controller")?SIa(a):VIa(a)}})};
VIa=function(a){var b=_.lC(function(){return a.getAvailablePlaybackRates()})||[];if(!(b.length<2)){var c=_.lC(function(){return a.getPlaybackRate()});_.GK({content:function(){for(var d=_.u(b),e=d.next();!e.done;e=d.next())e=e.value,XIa(a,e,e===c)},shouldShowIcons:!0})}};XIa=function(a,b,c){(c=_.N(DO({title:EO(b===1?PO:b.toLocaleString()),iconType:c?"CHECK":void 0}),_.BH))&&_.U(AH)({data:c,ze:!0,onTap:function(){a.setPlaybackRate(b)}})};
$Ia=function(a){if(_.lC(function(){return a.getOptions("captions")})&&a){var b=QO(a),c=a.getOption("captions","track"),d=c&&!!c.displayName,e=_.xH("player-captions-dropdown");sF({htmlFor:e.toString()},function(){_.En(YIa)});JO({className:"player-caption-settings",onchange:function(f){ZIa(f,b,a,!0)}},{id:e},function(){OO({className:"option",selected:!d,value$:RO},function(){_.En(RO)});b.forEach(function(f){OO({className:"option",selected:c&&c.displayName===f.displayName,value$:f.displayName},function(){_.En(f.displayName)})})})}};
ZIa=function(a,b,c,d,e){if(c.getVideoData){if(d){var f=a.target.value;e=_.Ob(b,function(h){return h.displayName===f})}e?c.setOption("captions","track",e):(c.setOption("captions","stickyLoading",{}),c.setOption("captions","track",{}))}};cJa=function(a){var b=QO(a),c=a.getOption("captions","track"),d=aJa(b,c);b=DO({title:EO(YIa),selectionText:d?EO(d.displayName):EO(RO),iconType:"CAPTIONS",isDisabled:b.length===0});_.N(b,_.BH)&&_.U(AH)({data:_.N(b,_.BH),ze:!0,onTap:function(){bJa(a,c)}})};
QO=function(a){var b;return(b=a.getOption("captions","tracklist",{includeAsr:!0}))!=null?b:[]};aJa=function(a,b){return _.Ob(a,function(c){return!!b&&c.displayName===b.displayName})};bJa=function(a,b){var c=QO(a),d=aJa(c,b),e=b&&!!b.displayName;_.GK({content:function(){dJa(null,!e,c,a);for(var f=_.u(c),h=f.next();!h.done;h=f.next())h=h.value,dJa(h,!!d&&d.displayName===h.displayName,c,a)},shouldShowIcons:!0})};
dJa=function(a,b,c,d){(b=_.N(DO({title:EO(a?a.displayName:RO),iconType:b?"CHECK":void 0}),_.BH))&&_.U(AH)({data:b,ze:!0,onTap:function(e){ZIa(e,c,d,!1,a)}})};gJa=function(a){return(a=eJa[a])?a+"p":fJa};SO=function(a,b){var c=_.lC(function(){return a.getPlaybackQuality()}),d=_.lC(function(){return a.getPreferredQuality()}),e=gJa(b);b==="auto"&&d==="auto"&&(e+=" ("+gJa(c)+")");return e};
iJa=function(a){var b=_.lC(function(){return a.getAvailableQualityLevels()})||[];if(!(b.length<1)){var c=_.lC(function(){return a.getPreferredQuality()}),d=_.xH("player-quality-dropdown");sF({className:"player-quality-label",htmlFor:d.toString()},function(){_.En(hJa)});JO({className:"player-quality-settings",onchange:function(e){return _.lC(function(){a.setPlaybackQualityRange(e.target.value,e.target.value)})}},{id:d},function(){for(var e=_.u(b),f=e.next(),h={};!f.done;h={Jo:void 0},f=e.next())h.Jo=
f.value,OO({className:"option",selected:h.Jo===c,value$:h.Jo},function(k){return function(){_.En(SO(a,k.Jo))}}(h))})}};kJa=function(a){var b=_.lC(function(){return a.getPlaybackQuality()});b=DO({title:EO(hJa),selectionText:EO(SO(a,b)),iconType:"OUTLINE_ADJUST"});(b=_.N(b,_.BH))&&_.U(AH)({data:b,ze:!0,onTap:function(){jJa(a)}})};
jJa=function(a){var b=_.lC(function(){return a.getAvailableQualityLevels()})||[];b.length&&_.GK({content:function(){for(var c=_.u(b),d=c.next();!d.done;d=c.next())lJa(a,d.value)},shouldShowIcons:!0})};lJa=function(a,b){var c=_.lC(function(){return a.getPreferredQuality()});c=DO({title:EO(SO(a,b)),iconType:b===c?"CHECK":void 0});(c=_.N(c,_.BH))&&_.U(AH)({data:c,ze:!0,onTap:function(){a.setPlaybackQualityRange(b,b)}})};oJa=function(a){gL(function(){mJa(a)},function(){_.En(nJa)})};
pJa=function(a){if(a.getVideoData){var b=_.N(DO({title:EO(nJa),iconType:"INFO"}),_.BH);b&&_.U(AH)({data:b,ze:!0,onTap:function(){mJa(a)}})}};mJa=function(a){!a.getVideoData||(a.isVideoInfoVisible()?a.hideVideoInfo():a.showVideoInfo())};qJa=function(a,b){FIa(a,function(){!_.M("kevlar_watch_cinematics_invisible")&&_.M("mweb_cinematic_watch")&&_.U(TO)({});iJa(b);UIa(b);$Ia(b);AIa(b);oJa(b);qIa(b)})};sJa=function(a,b){GIa(a,function(){rJa(b)})};
rJa=function(a){(0,_.S)({role:"menu"},function(){!_.M("kevlar_watch_cinematics_invisible")&&_.M("mweb_cinematic_watch")&&_.U(TO)({});kJa(a);WIa(a);cJa(a);BIa(a);pJa(a);rIa(a)})};tJa=function(a,b){_.oB(function(){Ih(a,b)})};uJa=function(a,b){return{commandMetadata:{webCommandMetadata:{url:a,rootVe:(b===void 0?0:b)&&_.M("mweb_logo_use_home_page_ve")?3854:6827,webPageType:"WEB_PAGE_TYPE_BROWSE"}}}};_.UO=function(){return{signInEndpoint:{},commandMetadata:{webCommandMetadata:{url:_.xE()}}}};
_.VO=function(a){a=a===void 0?"mweb_c3_open_app":a;var b=_.xh(vJa(_.sB().href,"mweb_to_native_app_fallback_redirect","url")).toString();b={urlEndpoint:{url:b},commandMetadata:{webCommandMetadata:{url:b}}};var c=_.wp("mweb_deep_link_fallback_timeout_ms",1E4);if(_.$z||_.SK&&!_.Kq())c=b=void 0;return{commandMetadata:{webCommandMetadata:{url:_.xh(wJa()).toString(),rootVe:83769}},nativeAppDeeplinkEndpoint:{url:_.xh(wJa(a)).toString(),fallbackEndpoint:b,timeoutMs:c}}};
wJa=function(a){var b=_.sB().href;a=a===void 0?"mweb_c3_open_app":a;var c,d=(c=_.yi(b,"openAppBase"))!=null?c:"url";_.SK?d="vnd":_.$z&&(d="intent");return vJa(b,a,d)};
vJa=function(a,b,c){b=b===void 0?"mweb_c3_open_app":b;c=c===void 0?"url":c;var d=_.Fi(xJa),e=_.xp("mweb_deep_link_feature_tag_suffix").trim();b=e?b.trim()?b+"_"+e:e:b;var f=_.wB(a).split("/");if((e=f.length>=3&&f[1]==="live")&&_.M("mweb_live_url_deeplink_fix"))return a=_.wB(a).split("/")[2],d=_.Fi(yJa),c==="vnd"?(d=_.Fi(zJa),d=Hi(d,a)):c==="intent"?(d=_.Fi(AJa),d=Hi(d,a),d=_.yh(BJa.exec(_.xh(d).toString())[0]+"#Intent;package=com.google.android.youtube;scheme=vnd.youtube;launchFlags=268435456;end")):
d=Hi(d,a),_.Gi(d,new Map([["feature",b],["itc_campaign",b],["redirect_app_store_ios","1"],["app","desktop"]]));var h;a=e?f[2]:(h=_.yi(a,"v"))!=null?h:"";if(c==="vnd")d=_.Fi(CJa);else if(c==="intent")d=_.Fi(DJa);else if(e)return Gba(_.Fi(EJa,a),{feature:b,itc_campaign:b,redirect_app_store_ios:"1",app:"desktop"});return Gba(d,{v:a,feature:b,itc_campaign:b,redirect_app_store_ios:"1",app:"desktop"})};
QJa=function(a,b){b=b===void 0?!1:b;Jb();a=_.LB()&&_.M("enable_history_settings_page_deprecation");return[WO(FJa,b&&!a,"/select_site",null,"SETTINGS",GJa),WO(HJa,!1,null,function(c){c.stopPropagation();_.XO(c)},"INFO_OUTLINE"),WO(IJa,b&&!a,"//myaccount.google.com/yourdata/youtube",null,"SHIELD_WITH_AVATAR"),WO(JJa,!nD(),null,function(){var c=_.VO("mweb_3_dot");_.vC(c,c,!0)},"EXIT_TO_APP",null),WO(KJa,b,null,function(){_.kIa()},"FEEDBACK"),WO(LJa,b,wi("//support.google.com/youtube/",{src:"web",p:MJa(),
hl:_.L("HTML_LANG","en")}),null,"HELP"),WO(NJa,_.M("mweb_include_open_desktop_menu"),_.Bi("//www.youtube.com"+_.yB(),{app:"desktop",persist_app:"1"}),null,"DESKTOP"),WO(OJa,b&&!!_.L("SHOW_IMPRESSUM"),"https://www.youtube.com/t/impressum?hl=de&gl=DE",null,"OPEN_IN_NEW"),WO("NetzDG Transparenzbericht",b&&!!_.L("SHOW_NETZDG_TRANSPARENZBERICHT"),"https://transparencyreport.google.com/netzdg/youtube",null,"OPEN_IN_NEW"),WO("NetzDG Beschwerden",b&&!!_.L("SHOW_NETZDG_LOGGED_OUT_REPORT_FORM_LINK"),"https://support.google.com/youtube/contact/netzdg",
null,"OPEN_IN_NEW"),WO(PJa,_.vE(),null,Eva,"EXIT_TO_APP")].filter(function(c){return c})};_.XO=function(a){var b=_.rE();b&&(_.M("mweb_player_settings_use_bottom_sheet")?sJa(a,b):qJa(a,b))};WO=function(a,b,c,d,e,f){return b?{text:a,href:c,onclick:d,iconType:e,endpoint:f}:null};MJa=function(){switch(_.sB().pathname){case "/feed/trending":return"yt_trending_web";case "/feed/subscriptions":return"yt_subscriptions_mweb";case "/feed/account":return"yt_account_mweb";case "/":return"yt_home_mweb";default:return"yt_mobile_mweb"}};
YO=function(){_.U(RJa)({RH:!1,MF:!0})};SJa=function(){return Object.assign({},{Zo:_.XO,cp:eIa,wz:function(a){_.ZO.lb(a)}},_.$O())};_.$O=function(){return{isFullscreen:_.sO,toggleFullscreen:_.MHa,exitFullscreen:tO,zg:wHa,Ft:_.oO,Fx:JHa}};aP=function(){return _.M("mweb_enable_keto_batch_player_endscreen")};VJa=function(a,b,c){aP()?_.U(TJa)({X:b,Ka:c}):UJa(a,c);_.SE(_.M("mweb_enable_keto_batch_player_endscreen"))};
UJa=function(a,b){if(BJ(a,tJ(b))){var c={props:a,playerOverlayAutoplayRenderer:vJ(b)};WJa(function(){XJa(c);YJa(c);ZJa(c)})}};WJa=function(a){(0,_.S)({className:"ytm-player-endscreen"},function(){(0,_.S)({id:"player-endscreen",className:"endscreen-v2","data-has-timer-countdown$":!0},function(){a()})})};XJa=function(a){(0,_.S)({className:"autonav-top-panel"},function(){$Ja(a);aKa(a)})};
$Ja=function(a){(0,_.S)({className:"autonav-endscreen-header",role$:"text"},function(){if(a.props.ph){var b;_.cL((b=a.playerOverlayAutoplayRenderer)==null?void 0:b.pauseText)}else(0,_.bP)({id:"upnext-in-message"},function(){var c=_.u(_.W.wp.split("seconds_placeholder")),d=c.next().value;c=c.next().value;d&&_.En(d);bKa(a);c&&_.En(c)})})};bKa=function(a){(0,_.bP)({className:"autonav-endscreen-countdown-number","aria-hidden$":!0},function(){_.En(a.props.Me)})};
aKa=function(a){var b;cP((b=a.playerOverlayAutoplayRenderer)==null?void 0:b.closeButton,{onButtonClickCallback:function(){cKa(a)}})};
YJa=function(a){(0,_.S)({className:"autonav-endscreen-countdown-container"},function(){var b,c,d,e,f;_.ZK((b=a.playerOverlayAutoplayRenderer)==null?void 0:(c=b.nextButton)==null?void 0:(d=c.buttonRenderer)==null?void 0:d.navigationEndpoint,{className:"autonav-endscreen-cued-video-container",ariaLabel:_.AK((e=a.playerOverlayAutoplayRenderer)==null?void 0:(f=e.videoTitle)==null?void 0:f.accessibility)},function(){dKa(a);eKa(a)})})};
dKa=function(a){(0,_.S)({className:"cued-thumbnail-overlay-v2"},function(){var b;ECa((b=a.playerOverlayAutoplayRenderer)==null?void 0:b.background,null,void 0,void 0,!1);var c;cP((c=a.playerOverlayAutoplayRenderer)==null?void 0:c.thumbnailOverlays,{className:"thumbnail-overlays","aria-hidden$":!0})})};
eKa=function(a){(0,_.S)({className:"autonav-endscreen-video-info","aria-hidden$":"true"},function(){(0,_.S)({className:"autonav-endscreen-video-title"},function(){var b;_.cL((b=a.playerOverlayAutoplayRenderer)==null?void 0:b.videoTitle)});(0,_.S)({className:"autonav-endscreen-video-author"},function(){var b;_.cL((b=a.playerOverlayAutoplayRenderer)==null?void 0:b.byline,{ka:!0})})})};
ZJa=function(a){(0,_.S)({className:"autonav-endscreen-button-container"},function(){var b={style:"overlay"},c;cP((c=a.playerOverlayAutoplayRenderer)==null?void 0:c.cancelButton,{className:"cancel-autoplay",onButtonClickCallback:function(){cKa(a)},buttonOverrides:b});var d;cP((d=a.playerOverlayAutoplayRenderer)==null?void 0:d.nextButton,{className:"playnext-button",id:"playnext-button","aria-labelledby$":"upnext-in-message playnext-button",buttonOverrides:b})})};
fKa=function(a,b){var c=Object.assign({},a(),{playerState:0}),d,e=tJ((d=b())==null?void 0:d.Ka),f;d=vJ((f=b())==null?void 0:f.Ka);BJ(c,e)&&(dP(),c.M({Me:d==null||!d.countDownSecs||d.countDownSecs<=0?10:d.countDownSecs}),eP=setInterval(function(){var h=a();if(h.Me!==1)h.M({Me:h.Me-1});else{dP();var k;h=(k=b())==null?void 0:k.Ka;k=tJ(h);(h=uJ(k))&&_.vC(h,k,!1,{autonav:"1"})}},1E3))};dP=function(){aP()?YL():eP&&(clearInterval(eP),eP=void 0)};cKa=function(a){dP();a.props.M({vm:!0})};
hKa=function(a,b){return function(c){var d=a(),e={vm:!1};e.playerState=c;!_.M("mweb_pause_quality_ks")&&d.N&&fM(d.N)&&(e.playerState=2);PFa(d,c);if(e.playerState===-1)e.ra=!0;else if(e.playerState===3)e.ra=!0,_.FJ();else if(e.playerState===1)d.jc||d.Qr||(d.Db?_.GJ(Object.assign({},d,e)):e.ra=!1);else if(e.playerState===2)_.FJ();else if(e.playerState===0){e.ra=!0;_.FJ();c=a();var f,h=(f=b())==null?void 0:f.Ka,k,l,m,n;f=_.N(h==null?void 0:(k=h.contents)==null?void 0:(l=k.singleColumnWatchNextResults)==
null?void 0:(m=l.autoplay)==null?void 0:(n=m.autoplay)==null?void 0:n.autoplayExplicitChoiceDialogRenderer,gKa);c.autonavEnabled&&!c.Ea.Fx()&&f&&(c.Ea.exitFullscreen(),_.XL({popup:{confirmDialogRenderer:f},popupType:"DIALOG"},{currentData:{},sourceData:{}}));d.autonavEnabled&&(k=!0,_.M("mweb_autonav_countdown_fix")&&(k=!d.ph),k&&(aP()?UDa(a,b):fKa(a,b)),_.sm("#player-endscreen .autonav-top-panel button",5,{bn:!0}))}d.M(e)}};jKa=function(a){iKa(function(){return a})()};
kKa=function(a){return function(){var b=a(),c=b.N;c&&fM(c)&&b.M({playerState:2})}};iKa=function(a){return function(b){var c=a();b=QFa(c,b);b.autonavEnabled=c.Ea.zg();b.isPlaylist=gM();b.isFullscreen=c.isFullscreen;b.playerState===3&&(b.ra=!0);var d=c.Gd;Object.assign({},c,b).playerType!==1?d&&(d.style.display="none"):d&&(d.style.display="");dP();c.M(b)}};
lKa=function(a,b){return function(c){var d=a(),e=b(),f=d.N;if(f){d.videoId===void 0&&jKa(d);if(e&&c!==void 0){var h=Object.assign({},d,{playedTime:c});if((e=xJ(e.playerOverlayRenderer))&&!h.isDragging)if(_.M("mweb_macro_markers_sync_entity"))h=kM(h,e),aEa(h);else if(e=lM(h,e),e!==-1){var k,l;(l=(k=h.Ea).wz)==null||l.call(k,e)}}c=RFa(d,f,c);d.M(c)}}};mKa=function(a){return function(){a().M({ra:!1,Je:!1})}};nKa=function(a){return function(b){a().M({isFullscreen:b.fullscreen,gb:!1})}};
oKa=function(a){return function(){var b=a(),c=b.N;b.M({isFullscreen:b.Ea.isFullscreen(),Oe:c?NH(c):b.Oe})}};pKa=function(a){return function(){var b=a();_.GB({href:window.location.href})||b.M({isFullscreen:!1})}};
qKa=function(a){return function(){var b=a();if(window.orientation)var c=window.orientation;else{var d,e;c=((d=window.screen)==null?0:(e=d.orientation)==null?0:e.angle)?window.screen.orientation.angle:0}(c=[90,270].includes(Math.abs(c)))?document.body.setAttribute("landscape","true"):document.body.removeAttribute("landscape");!_.M("mweb_enable_custom_control_landscape_to_fullscreen")||b.Je||b.playerType!==1||b.playerState!==1&&b.playerState!==3&&b.playerState!==2||_.mD()||b.Ea&&b.Ea.toggleFullscreen&&
(c&&!b.isFullscreen?b.Ea.toggleFullscreen({Wt:!0}):!c&&b.isFullscreen&&b.Ea.toggleFullscreen());b.gb&&b.M({gb:!1})}};rKa=function(a){return function(){var b=a();b.Ea.exitFullscreen();b.M({isFullscreen:!1})}};sKa=function(a,b){return function(c){var d=a(),e;((e=c.detail)==null?0:e.paused)?(dP(),d.ph&&_.M("player_controls_autonav_fix")||d.M({ph:!0})):(nJ(d)&&(aP()?UDa(a,b):fKa(a,b)),!d.ph&&_.M("player_controls_autonav_fix")||d.M({ph:!1}))}};
tKa=function(a){return function(){var b=a(),c=b.Ea.zg();_.M("mweb_cancel_autonav_on_external_update_killswitch")||c||dP();b.M({autonavEnabled:c})}};uKa=function(a){return function(b){a().M({UF:!!b})}};wKa=function(a,b){_.M("mweb_enable_keto_batch_player_progress_bar")||_.M("mweb_enable_keto_batch_player_all")?_.U(fP)({df:b,Ga:_.NB()}):vKa(a);_.SE(_.M("mweb_enable_keto_batch_player_progress_bar"))};
vKa=function(a){a.isDragging&&(0,_.S)({className:"YtmBigboardHost"},function(){var b=_.NB();if(a.isDragging||a.Bd){var c=KJ(JJ(a),b,a.N);c&&(b&&LJ(c),AEa(c,a,!0))}})};BKa=function(a,b){(0,_.S)({className:"ytm-time-display"},function(){(0,_.S)(xKa(a),function(){yKa(a);zKa(a);AKa(a,b==null?void 0:b.zl)})})};
xKa=function(a){var b=["time-display-content","cbox"];if(a.isLive){b.push("time-display-with-live-dot");var c;((c=a.N)==null?0:c.isAtLiveHead())&&b.push("live-at-head")}return{className:b.join(" "),onclick:function(){if(a.isLive){var d=a.N||void 0;d!=null&&d.isAtLiveHead()||(d==null||d.seekTo(Infinity),(d=cM(d))&&a.M({videoDuration:d}))}}}};
yKa=function(a){var b=PJ(a.playedTime);(0,_.bP)({className:"time-first","aria-label$":a.isLive?"":_.W.km+" "+b,role$:"text"},function(){a.isLive?_.En(_.W.Hp):_.En(b)})};
zKa=function(a){var b;if((b=a.N)==null||!b.isAtLiveHead()){var c=PJ(a.videoDuration);(0,_.bP)({className:"time-delimiter","aria-hidden$":!0},function(){_.En("/")});(0,_.bP)({className:"time-second","aria-label$":a.isLive?"":_.W.nC+" "+c,role$:"text"},function(){if(a.isLive){var d=a.N||void 0;d=(d==null?0:d.isAtLiveHead())?0:Math.round(a.isDragging?a.Ha:a.playedTime)-Math.round(cM(d));_.En(PJ(d))}else _.En(c)})}};
AKa=function(a,b){if(b){var c=_.N(b.playerBar,wJ),d=_.N(b.playerBarActionButton,_.gP);if(c&&d){var e,f=(e=_.N(kM(a,c),MJ))==null?void 0:e.title;f&&_.HO({className:"playbar-action-button-container"},{className:"playbar-action-button",ariaLabel:_.nI(d.text),onclick:function(h){d.command&&(_.vC(d.command,{},!1),h.stopPropagation())}},function(){(0,_.bP)({className:"middot","aria-hidden$":!0},function(){_.En("\u00b7")});(0,_.bP)({className:"time-macro"},function(){_.cL(f)});_.bK("CHEVRON_RIGHT",{className:"playbar-action-button-chevron",
"flip-for-rtl$":"false"})})}}};DKa=function(a,b){(0,_.S)({className:"player-controls-bottom cbox",key:"controls-bottom"},function(){BKa(a,{zl:b});CKa(a)})};CKa=function(a){(0,_.S)({},function(b){WJ(b,139117);_.eK({name:a.isFullscreen?"FULLSCREEN_EXIT":"FULLSCREEN",ariaLabel:a.isFullscreen?_.W.av:_.W.cv,className:"fullscreen-icon",onclick:function(c){XJ(139117);a.Ea.toggleFullscreen();c.stopPropagation()}})})};
iP=function(a,b){_.M("mweb_enable_keto_batch_player_dtts")||_.M("mweb_enable_keto_batch_player_all")?_.U(hP)({direction:a,size:b}):EKa(a,b)};
EKa=function(a,b){var c=[a===1?"player-controls-arrow-forward-fade-out":"player-controls-arrow-backward-fade-out",a===1?"player-controls-forward-arrow":"player-controls-backward-arrow",b==="small"?"player-controls-arrow-small":"player-controls-arrow-large"].join(" ");(0,_.S)({className:"player-controls-arrows-container"},function(){(0,_.bP)({className:c});(0,_.bP)({className:c});(0,_.bP)({className:c})})};
GKa=function(a){var b=jP,c=FKa;if(_.M("mweb_enable_keto_batch_player_dtts")||_.M("mweb_enable_keto_batch_player_all"))_.U(kP)({N:a.N,Eb:a.Eb,es:b,gy:c});else{var d="player-controls-double-tap-to-seek-static-circle";c>1&&(d+=a.Eb?" circle-show":" circle-hide");c=d;d=WDa(a,b);var e=(e=a.N)?2.4*e.getSize().height+"px":void 0;var f;(f=a.N)?(f=f.getSize(),f=f.width/2-2.4*f.height+"px"):f=void 0;e="width: "+e+"; height: "+e+";";a=[a.Eb,b];a.includes(1)?e+="right: "+f+";":a.includes(-1)&&(e+="left: "+f+
";");(0,_.S)({className:c,side$:d,style$:e})}};JKa=function(a,b){_.M("mweb_enable_keto_batch_player_dtts")||_.M("mweb_enable_keto_batch_player_all")?_.U(HKa)({X:b}):IKa(a)};IKa=function(a){aM()&&(KKa(a),jP&&LKa(function(){MKa(a,function(b){a.Eb&&a.Sc>1&&(NKa(b,a.Eb),b=XDa(a.Sc),iP(a.Eb,"large"),b&&_.En(b))});GKa(a)}))};LKa=function(a){(0,_.S)({className:"player-controls-double-tap-to-seek-content cbox always-visible"},function(){a()})};
MKa=function(a,b){(0,_.S)({className:"player-controls-double-tap-to-seek-info vbox",side$:WDa(a,jP)},function(c){b(c)})};KKa=function(a){a.Sc>0&&(FKa=a.Sc);a.Eb&&(jP=a.Eb)};NKa=function(a,b){b===1?_.RJ(28240,a,OKa,function(c){OKa=c}):b===-1&&_.RJ(28239,a,PKa,function(c){PKa=c})};SKa=function(a,b){var c=RBa(b);c&&(0,_.S)({className:"fullscreen-more-videos-endpoint",role$:"button",tabindex$:"0",onclick:function(d){VFa(d,a);_.FJ()}},function(){QKa(c);RKa(c)})};
QKa=function(a){(0,_.S)({className:"more-videos-message","aria-hidden$":!0},function(){(0,_.S)({className:"more-videos-message-title"},function(){_.xD(a.title)});(0,_.S)({className:"more-videos-message-subtitle"},function(){_.xD(a.subtitle)})})};RKa=function(a){(0,_.S)({className:"stacked-videos-wrapper"},function(){lP(a.imageFront);lP(a.imageMiddle);lP(a.imageBack)})};
lP=function(a){a&&(0,_.S)({className:"stacked-video-preview"},function(){_.rD(a,{className:"stacked-video-preview-image",alt:"this is hidden","aria-hidden$":!0})})};mP=function(a,b,c){(0,_.S)({className:b?"":"player-controls-hide",key:a},function(){c()})};UKa=function(a,b,c,d){_.M("mweb_enable_keto_batch_player_fullscreen")?_.U(nP)({X:b,Ka:c,thumbnailPreviewRenderer:d}):TKa(a,b,c,d);_.SE(_.M("mweb_enable_keto_batch_player_fullscreen"))};
TKa=function(a,b,c,d){var e=OBa(c,d),f=PBa(c,d,$L(a,a.N)),h;d=!CJ(a)||((h=a.Fb)==null?void 0:h.dk);mP("fs-action-menu",!!d,function(){(0,_.S)({className:"fullscreen-action-menu",onclick:function(k){_.GJ(a,{ke:!0});k.stopPropagation()}},function(){(0,_.S)({className:"action-menu-engagement-buttons-wrapper no-label-exp",onclick:function(){_.yE()||(_.M("mweb_player_controls_fullscreen_toggle_ks")||a.isFullscreen)&&a.Ea.toggleFullscreen()}},function(){e.forEach(function(k){var l=_.N(k,VKa);l&&l.isLike?
oP(k,{className:"circle-buttons like-button-no-label-exp",themeOverride:{useDarkTheme:!0}}):oP(k,{className:"circle-buttons",buttonOverrides:{style:$L(a,a.N)?"overlay-dark":"overlay"}})})});(0,_.S)({className:"fullscreen-watch-next-entrypoint-wrapper"},function(){_.M("mweb_enable_keto_batch_player_fullscreen")||_.M("mweb_enable_keto_batch_player_all")?_.U(pP)({X:b,Ka:c}):SKa(a,c);_.SE(_.M("mweb_enable_keto_batch_player_fullscreen_log"))});(0,_.S)({className:"quick-actions-menu-button-wrapper"},function(){f.forEach(function(k){oP(k)})})})})};
XKa=function(a,b,c){_.M("mweb_enable_keto_batch_player_fullscreen")||_.M("mweb_enable_keto_batch_player_all")?_.U(qP)({X:b,Ka:c}):WKa(a,c)};WKa=function(a,b){(0,_.S)({className:"top-fullscreen-controls",style:{visibility:a.gb?"visible":"hidden"}},function(){(0,_.IO)({className:"fullscreen-controls-video-title"},function(){var c;_.cL((c=TBa(b))==null?void 0:c.title)});YKa(a)})};
YKa=function(a){(0,_.S)({className:"fullscreen-close-button-wrapper"},function(){_.IL({style:"STYLE_LIGHT_TEXT",size:"SIZE_DEFAULT",icon:{iconType:"CLOSE"},accessibility:{label:"Close"},accessibilityData:{accessibilityData:{label:"Close"}}},{preventDefault:!0,stopPropagation:!0,onButtonClickCallback:function(){a.M({gb:!1});_.sm(".fullscreen-more-videos-endpoint");_.GJ(a)}})})};
$Ka=function(a){var b=SBa(a);(0,_.S)({className:"fullscreen-recommendations-wrapper",key:"fullscreen-recommendations-wrapper"},function(){for(var c=_.u(b),d=c.next();!d.done;d=c.next())ZKa(d.value)})};ZKa=function(a){(0,_.S)({className:"fullscreen-recommendation"},function(){aLa(a,{alwaysUseVerticalLayout:!0})})};dLa=function(a,b,c,d){_.M("mweb_enable_keto_batch_player_fullscreen")||_.M("mweb_enable_keto_batch_player_all")?_.U(bLa)({X:b,Ka:c,thumbnailPreviewRenderer:d}):cLa(a,b,c,d);_.SE(_.M("mweb_enable_keto_batch_player_fullscreen"))};
cLa=function(a,b,c,d){var e;if(a.isFullscreen||((e=a.Fb)==null?0:e.dk))XKa(a,b,c),UKa(a,b,c,d),(0,_.S)(eLa(a),function(){_.M("mweb_enable_keto_batch_player_fullscreen")||_.M("mweb_enable_keto_batch_player_all")?_.U(rP)({Ka:c}):$Ka(c);_.SE(_.M("mweb_enable_keto_batch_player_fullscreen_log"))})};
eLa=function(a){var b=["fullscreen-controls"];a.gb&&b.push("expanded");return{className:b.join(" "),key:"fullscreen-controls",style:{transform:"translateY("+a.pg+"px)",transition:a.Ef?"none":"transform 0.2s ease, top 0.2s ease",visibility:a.pg||a.gb?"visible":"inherit","pointer-events":a.gb?"all":"none"}}};
mLa=function(a){var b=!aHa(a);(0,_.S)({className:"player-controls-middle center",key:"player-controls-middle"},function(){var c=a.playerState===3||a.playerState===-1;c&&fLa();(0,_.S)({className:_.ME("player-controls-middle-core-buttons center",{"screenreader-safe-hide-middle-buttons":c,"modern-tap-target-ui":_.M("mweb_modern_player_controls_tap_target_ui")}),key:"player-controls-middle-core-buttons"},function(){b&&gLa(a);hLa(a);nJ(a)?iLa(a):jLa(a);kLa(a);b&&lLa(a)})})};
fLa=function(){(0,_.S)({className:"player-controls-spinner",key:"player-controls-spinner"},function(){(0,_.S)({key:"spinner",className:"spinner"})})};gLa=function(a){var b=!LN;(0,_.S)({},function(c){WJ(c,36840);dK({name:"PLAYER_PREVIOUS",className:b?"icon-disable":"",ariaLabel:_.W.Uj,ariaDisabled:b,ariaPressed:void 0,onclick:function(){XJ(36840);var d=a.N;_.dM(a,d);eM(b,d)}})})};
hLa=function(a){(0,_.rF)({"aria-label$":_.W.dv.replace("seconds_placeholder","10"),className:"player-control-seek-icon-a11y hidden-button",onclick:function(b){XJ(141902);var c;(c=a.N)==null||c.seekBy(-10,void 0,void 0,83);b.stopPropagation()}},function(b){WJ(b,141902)})};
jLa=function(a){(0,_.S)({},function(b){WJ(b,36842);dK({name:a.playerState===1?"PLAYER_PAUSE":"PLAYER_PLAY",className:"player-control-play-pause-icon",ariaLabel:a.playerState===1?_.W.jm:_.W.kh,ariaDisabled:void 0,ariaPressed:a.playerState===1,onclick:function(c){XJ(36842);var d=a.N;d&&$Da(d);c.stopPropagation()}})})};
iLa=function(a){(0,_.S)({},function(b){WJ(b,56386);dK({name:"PLAYER_REPLAY",className:"endscreen-replay-button",ariaLabel:_.W.Ip,ariaDisabled:void 0,ariaPressed:void 0,onclick:function(c){XJ(56386);var d=a.N;_.dM(a,d);d==null||d.playVideo();c.stopPropagation()}})})};
kLa=function(a){(0,_.rF)({"aria-label$":_.W.bv.replace("seconds_placeholder","10"),className:"player-control-seek-icon-a11y hidden-button",onclick:function(b){XJ(141903);var c;(c=a.N)==null||c.seekBy(10,void 0,void 0,82);b.stopPropagation()}},function(b){WJ(b,141903)})};lLa=function(a){(0,_.S)({},function(b){WJ(b,36841);dK({name:"PLAYER_NEXT",ariaLabel:_.W.Tj,className:void 0,ariaDisabled:void 0,ariaPressed:void 0,onclick:function(){XJ(36841);var c=a.N;_.dM(a,c);c==null||c.nextVideo()}})})};
qLa=function(a,b,c){var d=nLa;_.M("mweb_enable_keto_batch_player_wrappers")||_.M("mweb_enable_keto_batch_player_all")?_.U(oLa)({X:b,data:c,content:d}):pLa(a,c,function(){d(a,b,c)})};pLa=function(a,b,c){(0,_.S)(rLa(a,b),function(){(0,_.S)({className:_.ME("player-controls-content",{"pointer-events-off":a.Sc>0&&a.Eb!==0})},function(){c()})})};
vLa=function(a,b,c){(0,_.S)({className:"player-controls-background-container"},function(){(0,_.S)(sLa({className:"player-controls-background"},b,c));_.M("mweb_enable_keto_batch_player_wrappers")||_.M("mweb_enable_keto_batch_player_all")?_.U(tLa)({children:_.dC(a)}):uLa(a)})};uLa=function(a){(0,_.S)({className:"player-controls-background-action-items",onclick:function(b){b.stopPropagation()}},function(){a()})};
rLa=function(a,b){var c=$L(a,b==null?void 0:b.N);c={className:wLa(a,c),id:"player-control-overlay",onclick:function(d){mFa(d,a)}};return c=sLa(c,a,b)};sLa=function(a,b,c){a.ontouchstart=function(d){sFa(d,b)};a.ontouchmove=function(d){tFa(d,b)};a.ontouchend=function(d){QM(d,b,c)};a.ontouchcancel=function(d){QM(d,b,c)};return a};
wLa=function(a,b){var c;return _.ME("new-controls","bigbar","medium-modification",Object.assign({},{"animation-enabled":!0,"enable-fullscreen-controls":!0,"fs-watch-system":!0},{fadein:a.ra,"background-hidden":a.jc,"fullscreen-controls-always-on":(c=a.Fb)==null?void 0:c.dk,hidden:!RM(a,b)&&_.M("mweb_keep_player_controls_alive"),"intercept-element-clicks":RM(a,b)&&!a.ra&&_.M("mweb_accessible_player_controls"),"use-opacity":_.M("mweb_accessible_player_controls")}))};
BLa=function(a,b,c){_.M("mweb_fine_scrubbing")&&a.Ob!=="off"&&(0,_.S)({className:"fine-scrubbing-overlay"},function(d){_.RJ(153154,d,xLa,function(e){xLa=e});yLa(a);zLa(a);ALa(a);NEa(a,b,c)})};yLa=function(a){a.Ob==="on"&&_.eK({name:"PLAY_ARROW_FILLED",className:"fine-scrubbing-play-button",onclick:function(){DM();var b;(b=a.N)==null||b.playVideo();a.M({Ob:"off"})}})};
zLa=function(a){a.Ob==="on"&&_.eK({name:"DISMISSAL",className:"fine-scrubbing-dismiss-button",onclick:function(){DM();var b;(b=a.N)==null||b.seekTo(a.Lw);var c;(c=a.N)==null||c.playVideo();a.M({Ob:"off"})}})};ALa=function(a){a.Ob==="on"&&(0,_.S)({className:"fine-scrubbing-timestamp-container"},function(){(0,_.S)({className:"fine-scrubbing-timestamp-display"},function(){var b=_.En(PJ(a.Ha));Woa(b,function(){return PJ(JEa())})})})};
DLa=function(a,b){if(_.M("mweb_enable_autoplay_toggle_on_player")){var c=sJ(b);c&&_.U(YGa)({enabled:a.autonavEnabled,ariaLabel:a.autonavEnabled?_.AK(c.enabledAccessibilityData):_.AK(c.disabledAccessibilityData),onClick:function(d){a.M({autonavEnabled:!a.autonavEnabled,ei:!0});a.Ea.Ft(!a.autonavEnabled,!0);_.M("web_player_autonav_use_server_provided_state")&&(!a.autonavEnabled&&c.onEnabledCommand?_.vC(c.onEnabledCommand,c,!0):a.autonavEnabled&&c.onDisabledCommand&&_.vC(c.onDisabledCommand,c,!0));var e;
var f=((e=_.N(c.enabledEduCommand,sP))==null?void 0:e.durationMs)||4E3;CLa(a,f);nJ(a)||_.GJ(a,{ke:!0});d.stopPropagation()}})}};CLa=function(a,b){clearTimeout(tP);tP=setTimeout(function(){a.M({ei:!1});tP=void 0},b)};FLa=function(a,b,c){_.M("mweb_enable_keto_batch_player_tooltips")||_.M("mweb_enable_keto_batch_player_all")?_.U(uP)({fq:b,playerOverlayRenderer:c}):ELa(a,c)};
ELa=function(a,b){if(a.ei){var c=sJ(b);c&&(0,_.S)({className:"autonav-user-education-container center",role$:"alert"},function(){var d=GLa(c,a.autonavEnabled);(0,_.bP)({"aria-label$":d,role$:"text"},function(){_.En(d)})})}else clearTimeout(tP)};GLa=function(a,b){var c,d;return _.nI(b?(c=_.N(a.enabledEduCommand,sP))==null?void 0:c.text:(d=_.N(a.disabledEduCommand,sP))==null?void 0:d.text)};
HLa=function(a){a.Ea.Zo&&(0,_.S)({},function(b){WJ(b,28663);_.eK({name:"GEAR",ariaLabel:_.W.im,className:"player-settings-icon",onclick:function(c){XJ(28663);var d,e;(e=(d=a.Ea).Zo)==null||e.call(d,c)}})})};ILa=function(a){var b=jK(a);_.U(YJ)({kq:hK(a),onClick:function(){fK(a);_.GJ(a,{ke:!0})},ariaLabel:b,ariaPressed:iK(a),qx:void 0,ja:!0})};
JLa=function(a,b,c,d){var e="player-controls-top",f=VBa(c,d),h,k=_.M("mweb_enable_embeds_video_details")&&((h=a.Fb)==null?void 0:h.eA)&&f;k&&(e+=" with-video-details");(0,_.S)({className:e,onclick:function(l){l.stopPropagation()}},function(){function l(){var m;if(!(((m=a.Fb)==null?0:m.Nt)||$L(a,a.N))){var n;((n=a.Fb)==null?0:n.SI)&&_.U(vP)({xu:a});_.M("mweb_enable_keto_batch_player_primary_controls")||_.M("mweb_enable_keto_batch_player_all")?_.U(wP)({X:b,playerOverlayRenderer:c}):DLa(a,c);_.SE(_.M("mweb_enable_keto_batch_player_primary_controls"));
ILa(a);HLa(a)}}k&&_.U(xP)({videoDetails:f,X:b});k?(0,_.S)({className:"player-controls-top-right"},function(){l()}):l()})};KLa=function(){var a=["player-controls-top-tooltip-label","typography-narrow-default-action-m","player-controls-top-tooltip-contains-icon"];(0,_.S)({className:"player-controls-top-tooltip center"},function(){iP(-1,"small");(0,_.S)({className:a.join(" ")},function(){_.En(_.W.Zu)});iP(1,"small")})};
NLa=function(a,b,c){_.M("mweb_enable_keto_batch_player_tooltips")||_.M("mweb_enable_keto_batch_player_all")?_.U(LLa)({X:b,playerOverlayRenderer:c}):MLa(a,b,c)};
MLa=function(a,b,c){var d=["tooltip-wrapper"];d.push("modern-wrapper");(0,_.S)({key:"tooltip-wrapper"},function(){FLa(a,b,c);(0,_.S)({className:"tooltip-container"},function(){(0,_.S)({className:d.join(" ")},function(){a.isDragging&&!a.jc&&(_.M("mweb_enable_keto_batch_player_dtts")||_.M("mweb_enable_keto_batch_player_tooltips")||_.M("mweb_enable_keto_batch_player_all")?_.U(yP)({}):KLa());_.M("mweb_enable_keto_batch_player_tooltips")||_.M("mweb_enable_keto_batch_player_all")?_.U(zP)({X:b}):qFa(a)})})})};
nLa=function(a,b,c){var d=c==null?void 0:c.Ka,e=c==null?void 0:c.playerOverlayRenderer,f=tJ(d),h=$L(a,c==null?void 0:c.N),k,l,m=c==null?void 0:(k=c.Bw)==null?void 0:(l=k.embedPreview)==null?void 0:l.thumbnailPreviewRenderer;vLa(function(){if(!h){var n=JBa(c==null?void 0:c.playerResponse);n&&_.U(AP)({data:n})}},a,c);h||((!_.M("mweb_enable_keto_batch_player_dtts")&&!_.M("mweb_enable_keto_batch_player_all")||aM())&&JKa(a,b),NLa(a,b,e),wKa(a,b));mP("top-middle",KBa(a,f),function(){_.M("mweb_enable_keto_batch_player_primary_controls")||
_.M("mweb_enable_keto_batch_player_all")?_.U(OLa)({X:b,playerOverlayRenderer:e,thumbnailPreviewRenderer:m}):JLa(a,b,e,m);h||(_.M("mweb_enable_keto_batch_player_primary_controls")||_.M("mweb_enable_keto_batch_player_all")?_.U(PLa)({X:b}):mLa(a))});h||(mP("bottom",LBa(a,f),function(){var n=_.N(e==null?void 0:e.decoratedPlayerBarRenderer,HBa);_.M("mweb_enable_keto_batch_player_primary_controls")||_.M("mweb_enable_keto_batch_player_all")?_.U(QLa)({X:b,zl:n}):DKa(a,n)}),mP("pb",WBa(a),function(){var n=
xJ(e);if((_.M("mweb_enable_keto_batch_player_progress_bar")||_.M("mweb_enable_keto_batch_player_all"))&&b){var p;_.U(_.BP)({Jd:b,config:{className:"watch-page-progress-bar",position:0,dh:!((p=a.Fb)==null?0:p.eI),Za:n,Oi:_.M("mweb_fine_scrubbing"),onTouchMove:function(){cEa(a,n)},Ov:function(){_.FJ()},cu:function(){_.GJ(a,{ke:!0})}}})}else{var q;gFa(a,{className:"watch-page-progress-bar",dh:!((q=a.Fb)==null?0:q.eI),Za:n,Oi:_.M("mweb_fine_scrubbing"),onTouchMove:function(){cEa(a,n)},Ov:function(){_.FJ()},
cu:function(){_.GJ(a,{ke:!0})}})}BLa(a,b,n)}),VJa(a,b,d));dLa(a,b,d,m)};CP=function(){_.UE.apply(this,arguments);this.o=void 0};SLa=function(a){if(!a.j){var b=a.M.bind(a,{}),c=a.props,d=a.props.Ea.zg(),e,f,h=a.o?a.o.getPlayerStateObject():(e=a.props.data)==null?void 0:(f=e.N)==null?void 0:f.getPlayerStateObject();a.j=new _.FN(b,RLa,c,!0,{autonavEnabled:d,ra:((h==null?void 0:h.isCued)||(h==null?void 0:h.isUnstarted))&&!(h==null?0:h.isError)})}};TLa=function(a){a&&_.WE(CP,a)};
ULa=function(){_.iE.Gd&&(0,_.TE)(_.iE.Gd,function(){})};VLa=function(a){if(!_.GB())return!1;var b=_.rE(),c;(c=!b)||(c=_.yi(_.sB().href,"list")?!!a&&!!DP(a):!1);if(c)return!1;a=b.getPlayerState();b=b.getPresentingPlayerType();return a===0&&b===1};EP=function(a){var b,c,d;return a==null?void 0:(b=a.contents)==null?void 0:(c=b.singleColumnWatchNextResults)==null?void 0:(d=c.autoplay)==null?void 0:d.autoplay};
WLa=function(a){var b,c,d,e;return _.N(a==null?void 0:(b=a.contents)==null?void 0:(c=b.singleColumnWatchNextResults)==null?void 0:(d=c.autoplay)==null?void 0:(e=d.autoplay)==null?void 0:e.autoplayExplicitChoiceDialogRenderer,gKa)};DP=function(a){var b;return(b=a.sets)==null?void 0:b[0].autoplayVideo};XLa=function(){var a=_.rE();a&&a.getPlayerState()===0&&(FP()&&a.unMute(),a.playVideo())};FP=function(){var a=_.rE();return a&&typeof a.isMutedByMutedAutoplay==="function"?a.isMutedByMutedAutoplay():!1};
GP=function(){return{}};ZLa=function(a){YLa(HP());IP=new _.lx(function(){JP(a)},25);JP(a);_.sm("ytm-player-endscreen .autonav-top-panel button",5,{bn:!0})};$La=function(a){YLa(HP());var b;(b=IP)==null||b.dispose();JP(a)};bMa=function(){return function(){var a=HP()-aMa();return Math.min(1E4,1E4-a)}};JP=function(a){if(bMa()()<=0){var b;a=(b=a())!=null?b:{};(a=(b=EP(a))&&DP(b))&&_.vC(a,b,!1,{autonav:"1"})}else{var c;(c=IP)==null||c.start()}};
NP=function(a){var b;cMa((b=a.zg)!=null?b:KP());var c;dMa((c=a.isMutedAutoplay)!=null?c:eMa());var d;fMa((d=a.Jr)!=null?d:LP());var e;gMa((e=a.LQ)!=null?e:hMa());MP()};MP=function(){OP()&&(!KP()||LP()||iMa())&&(PP(!1),$La(GP))};jMa=function(){!KP()&&VLa()&&QP(!0)};RP=function(){return KP()&&!iMa()&&!eMa()};
nMa=function(a){if(_.M("mweb_enable_keto_batch_33"))NP(a);else{var b;SP=(b=a.zg)!=null?b:SP;var c;kMa=(c=a.isMutedAutoplay)!=null?c:kMa;var d;TP=(d=a.Jr)!=null?d:TP;if(lMa&&(!SP||TP)){lMa=!1;mMa=(0,_.Uq)();a=1E4-((0,_.Uq)()-mMa);var e;UP||(UP=((e=_.iE.ct)==null?void 0:e.querySelector(".autonav-endscreen-countdown-number"))||null);if(e=UP)e.innerText=String(Math.ceil(a/1E3));a<=0&&(a=(e=EP((void 0).data))&&DP(e))&&_.vC(a,e,!1,{autonav:"1"});UP=null}}};
oMa=function(a){if(VP()){if(_.CB()==="watch"){var b={zg:_.lO,isMutedAutoplay:FP()},c;((c=a.detail)==null?void 0:c.state)===0&&(NP(b),a=GP(),a=WLa(a),KP()&&!mO&&a&&(tO(),_.XL({popup:{confirmDialogRenderer:a},popupType:"DIALOG"},{currentData:{},sourceData:{}})))}}else _.CB()==="watch"&&(c={zg:_.lO,isMutedAutoplay:FP()},((b=a.detail)==null?void 0:b.state)===0&&(nMa(c),a=WLa(),SP&&!mO&&a&&(tO(),_.XL({popup:{confirmDialogRenderer:a},popupType:"DIALOG"},{currentData:{},sourceData:{}}))))};
pMa=function(a){var b=a.detail;if(VP()){var c;a={Jr:(c=a.detail)==null?void 0:c.paused};NP(a)}else nMa({Jr:b==null?void 0:b.paused})};qMa=function(a){if(VP()){var b;((b=a.detail)==null?void 0:b.playertype)===2&&NP({})}};VP=function(){return _.M("mweb_enable_keto_batch_33")};
_.WP=function(a){if(!a)return!0;if(a=a.playabilityStatus){if(a.status==="OK")return!0;a.status==="UNPLAYABLE"&&_.hB("playback-unplayable");if((a=a.errorScreen)&&(a.ypcTrailerRenderer||a.playerLegacyDesktopYpcTrailerRenderer))return!0;_.hB("could-not-play-video")}return!1};XP=function(a,b){_.iE.player.setAttribute("playable",b.toString());_.iE.Aa&&_.iE.Aa.setAttribute("playable",b.toString());_.iE.player.hidden=!a};ZP=function(){YP||(YP=new rMa);return YP};rMa=function(){this.A=!1;this.o=this.j=null};
$P=function(a,b){(b=b.querySelector(".video-preview-shim"))&&_.iE.player&&(sMa(a,b),tMa(a))};sMa=function(a,b){_.iE.player&&(XP(!0,!0),_.iE.player.style.paddingBottom="",_.iE.player.setAttribute("loading","false"),a.j||(a.j=document.createElement("div"),_.iE.player.replaceWith(a.j)),b.appendChild(_.iE.player),_.iE.player.classList.add("inline-on-thumbnail"))};aQ=function(){var a=ZP();a.o&&a.o()};
uMa=function(a){XP(!1,!0);_.iE.player&&(a.j&&(a.j.replaceWith(_.iE.player),a.j=null),_.iE.player.classList.remove("inline-on-thumbnail"),_.iE.player.classList.remove("inline-player-hidden"));_.iE.Aa&&(a.A&&(_.iE.Aa.classList.add("sticky-player"),a.A=!1),_.iE.Aa.style.top="",_.iE.Aa.classList.remove("inline-player-hidden"));var b;(b=_.iE.player)==null||b.setAttribute("loading","true");_.iE.Gd&&_.iE.Gd.setAttribute("hidden","true")};
tMa=function(a){var b=_.iE.player;b.classList.add("inline-player-hidden");a.o=function(){b.classList.remove("inline-player-hidden")}};cQ=function(){bQ||(bQ=new vMa);return bQ};
vMa=function(){var a=this;this.Na=ZP();this.H=this.A=this.W=this.player=this.data=null;this.O=!1;this.B=this.j=null;this.J=this.Z=!1;this.o=0;this.G=!1;this.Ba=function(){if(a.player){var b=document.visibilityState==="visible",c=a.player.getPlayerState()===2;b&&c&&a.player.playVideo()}};this.pa=function(b){a.player&&a.player.getPlayerState()!==0&&(b=!!b.languageCode,a.O&&(a.G=!b),b&&a.player.updateSubtitlesUserSettings({fontSizeIncrement:2},!1))};this.ta=function(){if(wMa(a)&&a.Z){var b;(b=a.player)==
null||b.unMute(!1)}else if(!_.M("web_imp_player_mute_params")){var c;(c=a.player)==null||c.mute(!1)}if(a.player&&MH(a.player))if(NH(a.player)){a.o=2;var d;(((d=a.data)==null?0:d.fr)||a.G)&&xMa(a)}else{a.o=3;var e;((e=a.data)==null?0:e.fr)||a.G||yMa(a)}else a.o=1;a.A&&a.A()};this.onPlaybackStart=function(){var b;(b=a.ba)==null||b.call(a);a.O=!0;var c;(c=a.H)==null||c.resolve(2);zMa(a);AMa(a);a.j=_.wq(0,function(){a.j=null},1E4)};this.xa=function(){AMa(a)};this.bf=function(b){b===0&&(dQ(a),eQ(a,!0))}};
fQ=function(a){a.W=null;eQ(a);document.removeEventListener("visibilitychange",a.Ba);a.player&&(a.player.removeEventListener("captionschanged",a.pa),a.player.removeEventListener("onPlaybackStartExternal",a.onPlaybackStart),a.player.removeEventListener("onReady",a.ta),a.player.removeEventListener("SEEK_TO",a.xa),a.player.removeEventListener("onStateChange",a.bf));a.player&&wMa(a)&&(a.Z=!a.player.isMuted());var b=a.o;a.o=0;a.player&&MH(a.player)&&(b===3&&xMa(a),b===2&&yMa(a));dQ(a);var c;(c=a.player)==
null||c.cancelPlayback();uMa(a.Na);a.data=null;a.ha=void 0;a.ba=void 0;a.A=null;a.player=null;a.O=!1;a.J=!1};
hQ=function(a,b,c,d){var e,f,h,k,l,m,n,p;return _.z(function(q){switch(q.j){case 1:return fQ(a),a.data=b,a.ha=c,a.ba=d,e=_.K().resolve(_.gQ),_.x(q,e(),2);case 2:return f=q.o,h={},_.M("enable_unknown_lact_fix_on_html5")&&(h.lact=_.rt()),a.W=Kxa(f,{endpoint:b.inlinePlaybackEndpoint,Tt:_.M("web_imp_player_mute_params")?b.Ow||!a.Z:!0},h),_.xa(q,3),_.x(q,a.W,5);case 5:k=q.o;if(((l=k)==null?void 0:(m=l.playabilityStatus)==null?void 0:m.status)!=="OK"){q.L(6);break}a.H=_.sj();return _.x(q,BMa(a,k),7);case 7:if(n=
q.o)return q.return(a.H.promise);case 6:_.ya(q,4);break;case 3:p=_.Ba(q),_.Dp(p);case 4:return q.return(1)}})};
BMa=function(a,b){var c,d,e;return _.z(function(f){if(f.j==1){if(!(b&&_.iE.Aa&&a.data&&iQ(a,b)))return f.return(!1);b.trackingParams=a.data.trackingParams;Nxa(b,a.data);c=SD(b);if(!c.args)return f.return(!1);a.J=!!((d=b.playerConfig)==null?0:(e=d.inlinePlaybackConfig)==null?0:e.showAudioControls);a.A=function(){var h,k;return _.z(function(l){if(!iQ(a,b))return l.return();(k=(h=a).ha)==null||k.call(h,b);_.wa(l)})};return _.x(f,_.sE(),2)}a.player=f.o;if(!a.data||!iQ(a,b))return f.return(!1);CMa(a,a.player);
a.player.setInlinePreview(!0);a.player.setGlobalCrop(a.data.Tq?"fullwidth":null);a.player.loadVideoByPlayerVars(c.args);return f.return(!0)})};iQ=function(a,b){var c,d,e;return((d=_.N((c=a.data)==null?void 0:c.inlinePlaybackEndpoint,_.fw))==null?void 0:d.videoId)===(b==null?void 0:(e=b.videoDetails)==null?void 0:e.videoId)};
CMa=function(a,b){document.addEventListener("visibilitychange",a.Ba);b.addEventListener("captionschanged",a.pa);b.addEventListener("onPlaybackStartExternal",a.onPlaybackStart);b.addEventListener("onReady",a.ta);b.addEventListener("SEEK_TO",a.xa);b.addEventListener("onStateChange",a.bf)};wMa=function(a){var b;return a.J&&!((b=a.data)==null?0:b.Ow)};yMa=function(a){if(a.player&&!NH(a.player)){var b=hza(a.player,"");OH(a.player,b)}};xMa=function(a){a.player&&NH(a.player)&&OH(a.player,"")};
zMa=function(a){var b;a=(b=a.player)==null?void 0:b.getVideoData();tw(a)};DMa=function(a){dQ(a);a.B=_.Pp(function(){eQ(a)},1E3)};dQ=function(a){a.B!==null&&window.clearInterval(a.B);a.B=null};AMa=function(a){a.j!==null&&_.xr.Ma(a.j);a.j=null;DMa(a)};eQ=function(a,b){if(a.player&&a.data&&!a.j){b=b?0:Math.floor(a.player.getCurrentTime());a=a.data;var c=_.N(a.navigationEndpoint,_.fw);c&&(c.startTimeSeconds=b);if(a=_.N(a.inlinePlaybackEndpoint,_.fw))a.startTimeSeconds=b}};
jQ=function(a,b){this.Wk=a;this.A=function(c){if(a.me)$P(ZP(),a.Va);else{b.Vp(a.Va);b.As();var d;b.It(_.oC((d=a.data.inlinePlayerData)==null?void 0:d.onSelect));b.Yz({playerResponse:c,Jh:!0,thumbnailOverlays:a.options.thumbnailOverlays,N:_.rE()||void 0})}};this.j=function(){a.me?aQ():b.Ht(!0)}};
kQ=function(a,b){var c=this;this.Xd=a;this.j=b;this.B=0;this.A=null;this.j.Vp(this.Xd.Va);this.J=function(){c.j.As()};this.G=function(){c.j.Ht(!0)};var d;if(a=(d=a.data[0])==null?void 0:d.thumbnailOverlays)d=a.filter(function(e){return e.thumbnailOverlayTimeStatusRenderer}),this.j.HI(d)};EMa=function(a,b){if(b=b.thumbnailOverlays)b=b.filter(function(c){return c.thumbnailOverlayTitleViewModel}),a.j.LI(b)};
GMa=function(a,b,c){var d,e;_.z(function(f){if(f.j==1){if(!b.inlinePlaybackEndpoint||!b.navigationEndpoint)return f.return();d={inlinePlaybackEndpoint:b.inlinePlaybackEndpoint,navigationEndpoint:b.navigationEndpoint,trackingParams:c};return _.x(f,hQ(cQ(),d,a.J,a.G),2)}e=f.o;e===2&&(FMa(a),a.j.It(b.navigationEndpoint));_.wa(f)})};FMa=function(a){a.j.Vz(!1);a.A=_.wq(0,function(){a.A=null;HMa(a)},_.wp("multiple_preview_news_duration_time"))};
HMa=function(a){a.j.Vz(!0);_.wq(0,function(){IMa(a);a.B=(a.B+1)%a.Xd.data.length;var b=a.Xd.data[a.B];EMa(a,b);GMa(a,b,a.Xd.trackingParams)},150)};IMa=function(a){fQ(cQ());a.A!==null&&_.xr.Ma(a.A)};
lQ=function(a,b){var c=this;this.qd=a;this.j=null;this.qd=a;this.B=function(d){a.me?$P(ZP(),a.Va):(b.Vp(c.qd.Va),b.As(),b.It(a.data.navigationEndpoint),b.Yz({playerResponse:d,Jh:!0,thumbnailOverlays:a.data.thumbnailOverlays,hH:a.data.inlinePlaybackMultiMarkersPlayerBar,N:_.rE()||void 0}))};this.A=function(){a.me?aQ():b.Ht(!0)}};
JMa=function(a){var b,c;var d=(c=a==null?void 0:a.inlinePlaybackEndpoint)!=null?c:_.N(a==null?void 0:(b=a.inlinePlayerData)==null?void 0:b.onVisible,_.mC);var e;b=(e=a==null?void 0:a.navigationEndpoint)!=null?e:_.N(a==null?void 0:a.onTap,_.mC);var f,h;e=(h=a==null?void 0:a.trackingParams)!=null?h:a==null?void 0:(f=a.loggingDirectives)==null?void 0:f.trackingParams;return d&&b&&e?{inlinePlaybackEndpoint:d,navigationEndpoint:b,trackingParams:e,Ow:!0,fr:!0,Tq:!0}:null};
KMa=function(a,b){return hQ(cQ(),a,function(){$P(ZP(),b)},function(){aQ()})};mQ=function(a){this.data=a;this.j=this.Pc=null};MMa=function(a){var b,c=(b=a.data.ex[0])==null?void 0:b.Va;c&&(a.Pc=new IntersectionObserver(function(d){var e;d=((e=d[0])==null?void 0:e.intersectionRatio)<1?1:0;nQ(a);e=a.data.ex[d];if(d=e==null?void 0:e.videoData)d=JMa(d),e=e.Va,d&&e&&LMa(a,d,e)},{rootMargin:"-"+(48+c.offsetHeight*.3)+"px 0px 0px",threshold:[1]}),a.Pc.observe(c))};
LMa=function(a,b,c){var d;_.z(function(e){if(e.j==1)return _.x(e,KMa(b,c),2);d=e.o;d===2&&(a.j=_.wq(0,function(){nQ(a)},5E3));_.wa(e)})};nQ=function(a){a.j!==null&&_.xr.Ma(a.j);fQ(cQ())};NMa=function(a){oQ();pQ=_.wq(0,function(){a()},500)};oQ=function(){pQ&&(_.xr.Ma(pQ),pQ=null)};qQ=function(a){this.data=a;this.A=this.j=this.Pc=null;this.B=!1};
PMa=function(a){var b=new Set;return new IntersectionObserver(function(c){c=_.u(c);for(var d=c.next();!d.done;d=c.next())d=d.value,d.isIntersecting?b.add(d.target):b.delete(d.target);c=a.data.ap.findIndex(function(e){return b.has(e.Va)});c>-1&&c!==a.j&&(!a.B||a.j===null||a.j-c!==1)&&OMa(a,c,!1)},{root:a.data.Xg,threshold:1})};
OMa=function(a,b,c){var d=a.j===null;a.j=b;QMa(a);b=a.data.ap[a.j];var e=b==null?void 0:b.videoData;if(e){var f=JMa(e),h=b.Va;f&&h&&(c&&RMa(a,h),d?SMa(a,f,h):NMa(function(){SMa(a,f,h)}))}};SMa=function(a,b,c){var d;_.z(function(e){if(e.j==1)return a.B=!1,_.x(e,KMa(b,c),2);d=e.o;d===2&&(a.A=_.wq(0,function(){a.A=null;OMa(a,a.j===null?0:a.j+1,!0)},5E3));_.wa(e)})};QMa=function(a){a.B=!1;a.A!==null&&_.xr.Ma(a.A);oQ();fQ(cQ())};
RMa=function(a,b){a.B=!0;var c=document.documentElement.clientWidth;b=b.getBoundingClientRect();a.data.Xg.scrollTo({left:a.data.Xg.scrollLeft+b.left-(c/2-b.width/2),behavior:"smooth"})};_.rQ=function(a){return _.H("div",{class:"video-thumbnail-overlay-bottom-group"},a.children)};UMa=function(){var a;if(a=TMa){var b;a=((b=_.Sa.navigator)==null?void 0:b.deviceMemory)>=8}return a};
zQ=function(){var a=_.CB(),b=_.K().resolve(_.mp(_.RN)),c=b&&sQ.includes(a)&&(_.K().resolve(tQ).Rd()?!1:VMa&&WMa>=14||UMa()?!_.jq(_.iq(),186):!1);_.Iw(function(){c?b.zj||(uQ=!1,b.Qp=!0,vQ()):b!=null&&(b.zj=!1,b.Qp=!1,_.wQ(),_.xQ(b))},[a]);_.Jw(function(){function d(){b==null||_.yQ(b)}function e(){b==null||_.SN()}window.addEventListener("state-navigatestart",e);window.addEventListener("state-navigateend",d);return function(){window.removeEventListener("state-navigatestart",e);window.removeEventListener("state-navigateend",
d)}});return _.H("ytm-pages-dwell-detection",null,c?_.H(XMa,null):null)};AQ=function(a){return _.$B(a,{fb:_.M("mweb_c3_show_spinner_in_page_module")})};BQ=function(a){return{Mb:a,iA:_.M("mweb_c3_show_spinner_in_page_module")}};CQ=function(){return _.M("mweb_watch_background_colors")&&_.GB()&&!0};ZMa=function(a){a=a.yo;var b=a.page||"browse",c=_.ME("page-container",{"page-black-background":CQ()}),d=_.pG(YMa),e={};return _.H("div",{class:c},_.H(zQ,null),d((e[b]=a.response,e)))};
_.EQ=function(a){a=a.data;var b=_.u(_.dF(0)),c=b.next().value,d=b.next().value;b=_.u(_.dF(0));var e=b.next().value,f=b.next().value,h=_.u(_.dF(!1));b=h.next().value;var k=h.next().value;h=_.P(function(p){document.body.style.overscrollBehavior="none";d(p.touches[0].clientY)});var l=_.P(function(p){f(p.touches[0].clientY)}),m=_.P(function(){document.body.style.overscrollBehavior="";window.screen.availHeight-e<=300?(k(!0),f(window.screen.availHeight),setTimeout(function(){_.DQ()},250)):(k(!0),f(0))}),
n;return _.H("ytm-bottom-sheet-overlay-renderer",null,_.H("div",{class:"ytm-bottom-sheet-overlay-renderer-container",style:$Ma(c,e,b),"on:touchstart":h,"on:touchmove":l,"on:touchend":m},_.H("div",{class:"ytm-bottom-sheet-overlay-renderer-header",style:a.backgroundImage?"background-image: url("+a.backgroundImage+");":void 0},_.H("div",{class:"ytm-bottom-sheet-overlay-drag-handle"}),a.centralIcon?_.gC((n=a.centralIcon)==null?void 0:n.iconType,{className:"ytm-bottom-sheet-overlay-central-icon"}):null,
a.closeButton?aNa(a.closeButton,{buttonRenderer:{className:"ytm-bottom-sheet-overlay-renderer-close",preventDefault:!0,forceModernIconButton:!0}}):null),_.H("div",{class:"ytm-bottom-sheet-overlay-renderer-contents"},_.H("div",{class:"typography-display-1"},_.Y(a.title)),_.H("div",{class:"typography-title-1"},_.Y(a.subtitle)),aNa(a.buttons))))};$Ma=function(a,b,c){a="transform: translateY("+Math.max(0,Math.round(b-a))+"px);";c&&(a+="transition: 0.2s;");return a};
_.HQ=function(a){var b=_.iq();nD()||a.YD||a.suppressAfterClosing&&Number(b.get("suppress_app_upsell"))&&!_.M("mweb_app_upsell_button")||(FQ=a,_.GQ||(_.GQ=document.createElement("div"),_.GQ.className="ytm-bottom-sheet-overlay-container",document.body.insertBefore(_.GQ,document.body.firstChild),_.uE(),_.QN(_.K().resolve(_.kJ))),_.QK(_.GQ,null,!0),_.GQ&&(0,_.TE)(_.GQ,function(){_.U(_.EQ)({data:a});_.sm("ytm-bottom-sheet-overlay-renderer .ytm-bottom-sheet-overlay-renderer-contents")}))};
_.DQ=function(){if(_.GQ!=null){var a=_.iq();a.set("suppress_app_upsell",1);a.save();FQ&&(FQ.YD=!0,FQ=void 0);_.RK(_.GQ);document.body.removeChild(_.GQ);_.GQ=void 0;_.PN(_.K().resolve(_.kJ));_.tE()}};
_.IQ=function(a){var b=a.onChange;var c=a.className;var d=a.children;var e=a.id;var f=a.required;var h=a.DI;var k=_.Ow();a=_.Ow(function(n){h==null||h(n)});_.Jw(function(){IIa(k.value)});var l=_.P(function(n){b(n);return!0}),m=_.no(function(n){n.append("class","select");e&&n.append("id",e);f&&n.append("aria-required",f)});return _.H("ytm-select",{el:k,"on:change":l,class:c},_.H("select",Object.assign({},{el:a},m),d),_.gC("ARROW_DROP_DOWN",{className:"select-icon"}))};
bNa=function(a){a=a.data;return _.H("option",{class:"option",selected:a.isSelected,value:a.int32Value},_.Y(a.label))};cNa=function(a){a=a.data;return _.H("option",{class:"option",selected:a.isSelected},_.Y(a.label))};
_.JQ=function(a){function b(n){n=n.target;(n=n.options[n.selectedIndex].endpoint)&&_.vC(n,{},!1)}var c=a.data;var d=a.className;var e=a.onchange;var f=a.dropdownId;var h=a.required;a=a.includeEmptyOption;var k=c&&c.entries.length>0&&c.entries[0].navigationDropdownItemRenderer,l=c&&c.entries.length>0&&c.entries[0].privacyDropdownItemRenderer;d=d||"";k&&(d+=" navigational");f=f?f:_.xH("dropdown");var m=c.label&&h?c.label.replace("*",dNa):void 0;k=k||l?b:_.pB;l=_.P(function(n){e==null||e(n)});return _.H("ytm-dropdown-renderer",
{class:d,"on:change":l},c.label?_.H("label",{class:"dropdown-label",for:f.toString(),"aria-label":m},c.label):null,_.H(_.IQ,{id:f,required:h,onChange:k},a?_.H("option",{class:"option",disabled:!0,selected:!0,value:"test_value"}):null,eNa(c.entries)))};fNa=function(){window.addEventListener("state-navigatestart",function(a){a=a.detail;a.Dj&&!_.N(a.Dj,_.eD)&&_.N(a.endpoint,_.eD)&&(_.KQ=a.Dj)})};gNa=function(a){return a?"overlay":"mono"};
iNa=function(a){var b=a.data;return _.H("ytm-topbar-menu-button-renderer",null,_.H(_.Oo,null,function(){_.eK({onclick:function(){b.menuRenderer&&hNa(b.menuRenderer,{})},ariaLabel:_.W.up,className:"topbar-menu-button-avatar-button",content:function(){b.avatar?_.U(_.YI)({thumbnail:b.avatar,className:"topbar-menu-button-avatar"}):_.bK(_.lC(function(){return b.icon.iconType}))}})}))};
MQ=function(a,b){a=a===void 0?"ACCOUNT_CIRCLE":a;if(!_.M("mweb_sheets_ui_refresh")||_.VM||_.mD())_.U(_.lL)({iconType:a,label:jNa,content:function(){(b==null?0:b.menuRenderer)&&(0,_.kN)(b.menuRenderer.items);_.yE()||_.U(LQ)({});YO()},cancelButtonLabel:kNa});else{var c={content:function(){(0,_.S)({className:"bottom-sheet-menu-item"},function(){(b==null?0:b.menuRenderer)&&(0,_.kN)(b.menuRenderer.items);_.yE()||_.U(LQ)({});YO()})}};_.tF({style:gNa(_.GB()),type:"text",state:"active",size:"L",iconPosition:"icon-only",
accessibilityLabel:jNa,onTap:function(d){c.focusOnClose=d.currentTarget;_.GK(c)}},function(){_.bK(a)})}};pNa=function(a,b,c,d){(0,_.rF)({className:"mobile-topbar-back-arrow","aria-label$":a?lNa:c||_.NB()?mNa:nNa,onclick:function(e){a||c||aO()||d==="settings"||_.NB()?(_.aJ(),e.stopPropagation()):_.BL({href:"/",rb:_.M("mweb_logo_use_home_page_ve")?3854:6827,endpoint:(b==null?void 0:b.endpoint)||_.NQ})}},function(){_.bK(oNa)})};rNa=function(){return _.H(_.OQ,{data:qNa()})};
qNa=function(){return PQ?PQ:PQ={style:"STYLE_WHITE_WITH_BORDER",isDisabled:!1,text:_.lK(sNa),serviceEndpoint:_.VO()}};wNa=function(a){(0,_.S)({className:"search-bar"},function(){var b="";a.trim()===""&&(b=dJ()?tNa:uNa);(0,_.rF)({className:"title search-bar-text","aria-label$":a,onclick:_.gJ,"data-is-placeholder$":b?"true":"false",dir:"auto"},function(){_.En(b?b:a)});_.eK({name:"TUNE",ariaLabel:vNa,ariaExpanded:hJ(),onclick:CBa,className:"search-filter-icon topbar-menu-button-avatar-button"})})};
zNa=function(){var a={style:"STYLE_WHITE_WITH_BORDER",isDisabled:!1,icon:{iconType:"AVATAR_LOGGED_OUT"},text:_.lK(xNa)};_.M("mweb_app_upsell_button")?(a.serviceEndpoint=_.M("mweb_app_upsell_button_direct_to_app")?_.VO("mweb_to_native_app"):{signalAction:{signal:"SHOW_BOTTOM_SHEET_OVERLAY"}},a.text=_.lK(yNa)):a.navigationEndpoint=_.UO();return a};BNa=function(a){(a==="watch"&&!_.yE()&&ANa||_.M("mweb_app_upsell_button_testing"))&&(0,_.S)({className:"mobile-topbar-header-sign-in-button"},function(){_.IL(zNa())})};
FNa=function(a){var b=a.data;var c=a.kF;var d=a.lF;var e=a.iK;var f=a.pI;var h=a.cn;_.Jw(function(){var r=CNa.bind(void 0,b);window.addEventListener("state-navigateend",r);return function(){window.removeEventListener("state-navigateend",r)}});var k=DNa(b,e),l=[c,"entity-logo"].join(" "),m,n;a=((m=b.accessibilityData)==null?void 0:(n=m.accessibilityData)==null?void 0:n.label)||_.nI(b.tooltipText)||"";var p=e?"logo-entity-lottie-animation-dark":"logo-entity-lottie-animation-light",q={};m=_.P(function(){q.lottieEl&&
q.lottieEl.isPaused&&q.lottieEl.goToAndPlay(0)});return _.H("ytm-logo-entity",null,f?_.H(_.Oo,null,function(){f()}):null,f||c===void 0||d===void 0||e===void 0?null:_.H(_.F,null,k?_.H("div",{id:d,class:"entity-logo-container","on:click":m},_.H(_.Oo,null,function(){_.YE({className:l,lottiePlayerProps:{animationRef:q,animationConfig:{name:p,path:k,autoplay:!0,loop:!1,rendererSettings:{viewBoxOnly:!0}},listeners:{data_failed:h,error:h}}})})):_.H(ENa,{Hm:"entity-logo-container",KG:l,id:d,gJ:function(r){var t;
if(e&&((t=b.darkThemeLogo)==null?0:t.thumbnail))t=_.SH(b.darkThemeLogo.thumbnail,r||void 0);else{var w;t=!e&&((w=b.lightThemeLogo)==null?0:w.thumbnail)?_.SH(b.lightThemeLogo.thumbnail,r||void 0):""}return t},altText:a,cn:h})))};DNa=function(a,b){var c,d,e,f;return b?(c=a.darkThemeLogo)==null?void 0:(d=c.lottieAnimation)==null?void 0:d.url:(e=a.lightThemeLogo)==null?void 0:(f=e.lottieAnimation)==null?void 0:f.url};
CNa=function(a){var b;(a==null?0:(b=a.loggingDirectives)==null?0:b.trackingParams)&&_.mw(_.dw(),a.loggingDirectives.trackingParams)};
JNa=function(a){function b(){l(!0)}var c=a.ep;var d=a.gA;var e=a.endpoint;var f=a.logoEntity;var h=a.ny;a=_.u(_.dF(!1));var k=a.next().value,l=a.next().value;a=_.GB()||_.yO();var m=GNa(a,f);k=!k&&f&&(c||_.GB()||_.OB());var n=null,p=_.Ow(),q=d?"logo-in-player-endpoint":"mobile-topbar-header-endpoint",r=f?"yoodle":"logo",t=_.P(function(y){if(_.M("mweb_use_fallback_topbar_home_command")){var B;e=(B=e)!=null?B:_.NQ}B="/";if(f){e=f.onTapCommand||e;var A,E;B=((E=_.N((A=f.onTapCommand)==null?void 0:A.commandMetadata,
_.ew))==null?void 0:E.url)||B}A=e;y=y.currentTarget;f&&(y.data=f);QQ="FEwhat_to_watch";_.BL({href:B,rb:_.M("mweb_logo_use_home_page_ve")?3854:6827,element:y,pushState:!0,endpoint:A})});_.Jw(function(){f||_.RJ(12081,p.value,n,function(y){n=y},null)});var w=HNa();return _.H("ytm-home-logo",null,_.H("button",{el:p,"aria-label":"YouTube",role:"link",class:q,key:r,"on:click":t},k&&m?_.H(FNa,{data:f,pI:function(){INa(c,d,h,m)},cn:b}):null,k&&!m?_.H(FNa,{data:f,kF:"mobile-topbar-logo",lF:"home-icon",iK:a,
cn:b}):null,k?null:_.H(_.Oo,null,function(){INa(c,d,h,w)})))};INa=function(a,b,c,d){d=a?d||"LOGO_WITH_TEXT":"LOGO";var e=_.M("enable_cairo_refresh_ringo2_web")&&a;b=b?"logo-in-player":"mobile-topbar-logo";a&&(b+=" ringo-logo");e&&(b+=" ringo2-logo");e&&d==="YOUTUBE_PREMIUM_LOGO_SHORT"&&(b+=" ringo2-logo-red");c&&(b+=" monochromatic");_.bK(d,{className:b,id$:"home-icon"})};
HNa=function(){var a=RQ,b=a&&a.items?_.lC(function(){return a.items.filter(function(c){return c.mobileTopbarRenderer})[0].mobileTopbarRenderer}):void 0;return b&&b.logo&&b.logo.iconType};GNa=function(a,b){if(b){var c,d;if(a&&((c=b.darkThemeLogo)==null?0:(d=c.icon)==null?0:d.iconType))return b.darkThemeLogo.icon.iconType;var e,f;if((e=b.lightThemeLogo)==null?0:(f=e.icon)==null?0:f.iconType)return b.lightThemeLogo.icon.iconType}};
KNa=function(a,b,c,d){var e=_.NB();_.U(JNa)({ep:a,gA:b,endpoint:c,logoEntity:d,ny:e})};
UNa=function(a,b){var c=b.page,d=b.sf,e=b.toolbarMenu,f=eJ(),h=fJ(),k=f||h?"searching":c,l=k==="searching",m=!(!b.di&&!QQ)||IB(),n=m||c==="watch"||_.NB()||FB()==="sfv_audio_pivot"||_.OB()||IB()||FB()==="minor_moment"||FB()==="open_in_app",p=FB()==="playlist",q=l||k==="select_site"||k==="settings"||p||aO()||_.NB()&&_.KQ,r=p||!q||aO(),t=(LNa||_.yi(window.location.href,"force_open_app_button")==="1")&&!p&&(_.GB()||_.wB(_.sB().href).startsWith("/live/")),w=a==null?void 0:a.voiceSearchButton;MNa(NNa(k,
l),function(){if(q){var y;pNa(l,a==null?void 0:(y=a.topbarLogo)==null?void 0:y.topbarLogoRenderer,p,b.page)}else{var B,A;KNa(n,_.NB(),a==null?void 0:(B=a.topbarLogo)==null?void 0:(A=B.topbarLogoRenderer)==null?void 0:A.endpoint,b.logoEntity)}_.M("mweb_yt_searchbox")?(_.U(ONa)({searchEndpoint:a.searchCommand,placeholderText:dJ()?PNa:QNa,labels:SQ}),w&&UH()&&_.M("mweb_voice_search")&&(0,_.S)({className:"searchbox-voice-search-wrapper"},function(){RNa(w,{onButtonClickCallback:function(){var E;(E=_.rE())==
null||E.pauseVideo()}})})):SNa({Ct:f,VA:h,command:a==null?void 0:a.searchCommand,voiceSearchButton:w},{className:"mobile-topbar-header-content search-mode"});(0,_.S)({className:"mobile-topbar-header-content non-search-mode cbox"},function(){var E=b.pageHeaderEntityKey;MDa(d);n||(_.PB()?wNa(d):_.U(TQ)({GA:d,pageHeaderEntityKey:E}));r&&(t&&_.IL(qNa()),(_.M("mweb_hide_search_in_top_bar")||_.NB()?0:!_.PB())&&_.eK({name:"SEARCH",ariaLabel:QNa,className:"topbar-menu-button-avatar-button",onclick:_.gJ}),
c==="search"&&UH()&&_.M("mweb_voice_search")&&w&&_.N(w,_.gP)&&_.IL(_.N(w,_.gP),{className:"mobile-topbar-header-voice-search-button",buttonOverrides:{size:"S",iconPosition:"icon-only"}}),_.NB()||(_.OB()||FB()==="subscriptions")&&_.M("mweb_enable_youtab")||(_.GB()?MQ("MORE_VERT_WHITE"):FB()==="redeem"||_.JB()||FB()==="premium"?a.buttons?TNa(a.buttons):MQ(UQ,e):m?a.buttons?TNa(a.buttons):MQ():MQ(UQ,e)),BNa(c))})})};
NNa=function(a,b){a={className:_.ME("mobile-topbar-header","cbox",{"cairo-settings-topbar":_.M("mweb_enable_cairo_settings")}),key:"header","data-mode$":a,ontouchmove:b&&!_.M("mweb_allow_modern_search_suggest_behavior")?bda:null};b&&(a["aria-modal$"]="true",a.role$="dialog");return a};VNa=function(){return _.H("div",{class:"mobile-topbar-header-sign-in-button"},_.H(_.OQ,{data:zNa()}))};VQ=function(){var a;return(a=_.CK.getState().Wm)==null?void 0:a.Nr};
WNa=function(a){_.oB(function(){_.iE.meta&&(_.iE.meta.content=getComputedStyle(a).backgroundColor)})};XNa=function(a){return _.H("div",{class:"mobile-topbar-header-background",hidden:function(){return!a()}})};YNa=function(a){_.oB(function(){_.iE.meta&&(_.iE.meta.content=getComputedStyle(a).backgroundColor)})};
aOa=function(a,b){_.M("mweb_enable_keto_batch_tb")?_.U(ZNa)({data:a,page:b.page,sf:b.sf,di:b.di,toolbarMenu:b.toolbarMenu,pageHeaderEntityKey:b.pageHeaderEntityKey}):(b.id="header-bar",b.className=nHa(),_.GB()&&(0,_.S)({className:"mobile-topbar-header-background"}),$Na(a,b))};bOa=function(a,b){_.U(_.WQ)({data:a,selectedTabIdentifier:b})};cOa=function(){return!_.GB()&&FB()!=="settings"&&!IB()&&!_.QB()&&!_.NB()};
dOa=function(a){if(_.NB()&&_.M("mweb_shorts_nav_bar"))return"FEshorts";if(_.M("mweb_search_in_bottom_bar")&&_.PB())return"search";var b,c;if(a=a==null?void 0:(b=a.contents)==null?void 0:(c=b.singleColumnBrowseResultsRenderer)==null?void 0:c.tabs)if(b=(b=_.dG(a,"selected",!0))&&b.tabIdentifier){var d=RQ;if(d&&(c=_.rB(function(){return d.items.filter(function(e){return e.pivotBarRenderer})[0].pivotBarRenderer})))return c.items.map(function(e){return _.rB(function(){return e.pivotBarItemRenderer.pivotIdentifier})}).includes(b)?
b:void 0}};eOa=function(a){var b;if(!(a==null?0:(b=a.engagementPanelSectionListRenderer)==null?0:b.allowedSnapStates))return!1;a=_.u(a.engagementPanelSectionListRenderer.allowedSnapStates);for(b=a.next();!b.done;b=a.next())if(b.value==="ENGAGEMENT_PANEL_SNAP_STATE_FULL_BLEED")return!0;return!1};
gOa=function(a){a=a.data;var b=eOa(a),c=_.ME({"is-shorts-style":_.NB()},{"engagement-panel-use-visibility":!_.M("mweb_ep_style_killswitch")},{"force-fullscreen":b}),d=_.Ow(),e=_.P(function(){});return _.H("ytm-engagement-panel",{class:c,el:d,"on:keydown":e},a?fOa(a,{engagementPanelSectionListRenderer:{config:{className:_.ME({"is-shorts-style":_.NB()}),forceFullScreen:b}}}):null)};_.XQ=function(a){var b;return a.targetId||a.panelIdentifier||((b=a.identifier)==null?void 0:b.tag)};
YQ=function(a){if(a=a.engagementPanelSectionListRenderer)return _.XQ(a)};
$Q=function(){_.UE.apply(this,arguments);var a=this;this.j=new Map;this.nc=!1;this.G=0;this.state={Xb:[]};this.B=function(b){var c;if(c=b.detail){b=c.identifier;var d=c.yG;c=c.Ws;a.state.Xb.push(c);a.M({Xb:a.state.Xb});var e,f=_.u(((e=c.engagementPanelSectionListRenderer)==null?void 0:e.onShowCommands)||[]);for(e=f.next();!e.done;e=f.next())_.vC(e.value,c,!0);a.nc||(a.nc=!0,a.G=rK(),document.body.setAttribute("engagement-panel-open",""),_.hB("engagement-panel-opened"),ZQ(a,!0),_.NB()&&KK(!0));if(!_.M("mweb_multi_panel_a11y_killswitch")){var h,
k;e=(k=Array.from((h=a.sa)==null?void 0:h.children))==null?void 0:k.slice(0,-1);h=_.u(e);for(k=h.next();!k.done;k=h.next())IK(k.value,!0)}_.sm($Q.tagName+" > ytm-engagement-panel:last-child .engagement-panel-section-list-header-button button,.flow-top-bar-renderer-trailing-button button",_.M("mweb_timeline_view")?10:5);if(h=_.NK)_.NK=null,d=h;d&&a.j.set(b,d)}};this.A=function(b){if(b=b.detail)a:if(b=b.identifier,a.state.Xb.length){var c=a.state.Xb[a.state.Xb.length-1];if(YQ(c)===b||!_.M("mweb_panel_utils_id_killswitch")){if(!_.M("mweb_panel_utils_id_killswitch")){var d=
c.engagementPanelSectionListRenderer,e;if((d==null?void 0:d.targetId)!==b&&(d==null?void 0:(e=d.identifier)==null?void 0:e.tag)!==b&&(d==null?void 0:d.panelIdentifier)!==b)break a}a.state.Xb.pop();a.M({Xb:a.state.Xb});var f;e=_.u(((f=c.engagementPanelSectionListRenderer)==null?void 0:f.onHideCommands)||[]);for(f=e.next();!f.done;f=e.next())_.vC(f.value,c,!0);if(!_.M("mweb_multi_panel_a11y_killswitch")){var h;(f=(h=a.sa)==null?void 0:h.lastChild)&&IK(f,!1)}if(h=a.j.get(b))h.focus(),a.j.delete(b);a.state.Xb.length===
0&&(a.nc=!1,document.body.removeAttribute("engagement-panel-open"),_.hB("engagement-panel-closed"),window.scrollTo(0,a.G),ZQ(a,!1),_.NB()&&KK(!1),_.CK.dispatch(GCa()))}}};this.Ts=function(b){(b=b.detail)&&a.mi(b.identifier,b.Ws,b.WH)};this.o=function(b){_.K().resolve(_.aR);var c=_.VN(_.CK.getState());if(c){var d,e,f=(d=a.state.Xb[a.state.Xb.length-1])==null?void 0:(e=d.engagementPanelSectionListRenderer)==null?void 0:e.isPersistent,h,k,l;b=b==null?void 0:(h=b.detail)==null?void 0:(k=h.endpoint)==
null?void 0:(l=k.watchEndpoint)==null?void 0:l.playlistId;if(_.M("mweb_playlist_engagement_panel")&&f&&b)return;_.bR(0,c)}a.M({Xb:[]});a.nc=!1;ZQ(a,!0)}};ZQ=function(a,b){var c,d,e=(c=a.sa)==null?void 0:(d=c.parentElement)==null?void 0:d.querySelector(".page-container");e&&IK(e,b);var f,h;(a=(f=a.sa)==null?void 0:(h=f.parentElement)==null?void 0:h.querySelector("ytm-pivot-bar-renderer"))&&IK(a,b)};
hOa=function(a){var b=a.response;if(b==null?0:b.overlay){var c,d;if((c=b.overlay)==null?0:(d=c.bottomSheetOverlayRenderer)==null?0:d.displayImmediately){vq(_.yq(),function(){var e;if((e=b.overlay)==null?0:e.bottomSheetOverlayRenderer){var f;_.HQ((f=b.overlay)==null?void 0:f.bottomSheetOverlayRenderer)}});return}return b.overlay}if(a.playerResponse&&a.playerResponse.auxiliaryUi&&a.playerResponse.auxiliaryUi.messageRenderers)return a.playerResponse.auxiliaryUi.messageRenderers;if(a.playerResponse&&
a.playerResponse.messages&&a.playerResponse.messages.length)return a.playerResponse.messages[0]};
kOa=function(a){a=a.yo;var b=a.page||"browse",c=a.response,d=a.endpoint;a=_.K().resolve(tQ);_.M("mweb_cache_wn_data")&&(b&&(a.Rd(b)?a.Rd(a.pageType)||(a.o=a.pageType):a.o=b,a.pageType=b),c&&d&&(a.Rd()?(a.j.delete(a.A),a.A=d):(a.j.delete(a.B),a.B=d),a.j.set(d,c)),a.pageType!=="watch"&&a.j.delete(a.A));var e=_.pG(iOa);b=_.pG(jOa);var f=_.ME("watch-page-container",{"page-black-background":CQ()});c=_.ME("background-page-container",{"page-black-background":CQ()});var h=a.j.get(a.A);d=a.j.get(a.B);var k=
{},l={},m=_.H(zQ,null);e=_.H("div",{hidden:!a.Rd(),class:f},h&&e((k[a.pageType]=h,k)));var n;n!=null||(n=a.pageType);return _.H("ytm-watch-modal-pages",{class:"page-container"},m,e,_.H("div",{hidden:n==="watch",class:c},d&&b((l[a.o]=d,l))))};mOa=function(a){var b=a.page;var c=a.response;(0,_.S)({className:_.ME("page-container",{"page-black-background":CQ()})},function(){b||(b="browse");_.U(zQ)({});var d={};lOa((d[b]=c,d))})};cR=function(a){return _.$B(a,{fb:!1})};
qOa=function(a){var b=a.response,c,d,e=(d=(c=b==null?void 0:b.responseContext)==null?void 0:c.errors)!=null?d:[];c=(b==null?void 0:b.alerts)||[];d=_.CB(_.sC(a.endpoint)||void 0);nOa(b,a.page,d);dR(c);a.page&&a.response&&(_.M("mweb_enable_keto_batch_pages")?_.U(ZMa)({yo:a}):_.M("mweb_watch_page_modal")?_.U(kOa)({yo:a}):mOa(a));oOa(e);dR(b==null?void 0:b.survey);dR(hOa(a));_.WE($Q,{px:{key:"panel-container-component"}});XK(!1);_.M("mweb_enable_more_drawer")&&_.U(pOa)({})};rOa=function(){XK(!0)};
nOa=function(a,b,c){var d=RQ,e=d&&d.items&&_.lC(function(){return d.items.filter(function(p){return p.pivotBarRenderer})[0].pivotBarRenderer}),f=d&&d.items&&_.lC(function(){return d.items.filter(function(p){return p.mobileTopbarRenderer})[0].mobileTopbarRenderer})||{};(d==null?0:d.trackingParams)&&_.Du()!==sOa&&(_.mw(_.dw(),d.trackingParams),sOa=_.Du());var h;if(a&&((h=_.N(a==null?void 0:a.topbar,eR))==null?0:h.searchCommand)){var k;f.searchCommand=(k=_.N(a==null?void 0:a.topbar,eR))==null?void 0:
k.searchCommand;var l;f.topbarLogo=(l=_.N(a==null?void 0:a.topbar,eR))==null?void 0:l.topbarLogo;var m;f.voiceSearchButton=(m=_.N(a==null?void 0:a.topbar,eR))==null?void 0:m.voiceSearchButton;if(_.M("mweb_enable_youtab")){var n;f.buttons=(n=_.N(a==null?void 0:a.topbar,eR))==null?void 0:n.buttons}}else f.searchCommand=void 0;h=dOa(a);c=LDa(c,a);k=a==null?void 0:a.toolbarMenu;!_.QB()&&aOa(f||{},{page:b!=null?b:"unknown",sf:c,di:h,toolbarMenu:k,pageHeaderEntityKey:NDa(a)});cOa()&&(_.M("mweb_enable_keto_reactive_pivot_bar")?
_.Po(_.iE.container,_.H(_.WQ,{data:e||{},selectedTabIdentifier:h})):bOa(e||{},h),_.SE(_.M("mweb_enable_keto_reactive_pivot_bar_log")))};oOa=function(a){a instanceof Array||(a=[tOa]);if(!(a instanceof Array)||a.length){var b=a;(0,_.S)({className:"error-container"},function(){b.forEach(function(c){(0,_.S)({className:"content-error"},function(){_.En(c)})})})}};
uOa=function(){function a(d){var e=Object.assign({},b);Object.assign(b,d);if(!Pba(e,b)){b.Yl=b.Qg/b.jg<=1.125;b.Lf=b.Yl?b.Qg/b.videoAspectRatio:b.Qg*.5625;b.Wh=Math.min(b.Qg*.5625,b.jg);b.Yl?(d=b.Lf,e=b.jg*.65,e<d&&(d=e),e=b.jg-(screen.height-b.Lq),e<d&&(d=e),e=b.jg-b.Wn,e<d&&(d=e),e=b.Wh,d<e&&(d=e),b.Xh=d):b.Xh=Math.min(b.jg,b.Qg*.5625);b.Yl?(d=b.scrollY-b.scrollTop,b.scrollTop!==0&&b.scrollTop>b.scrollY&&(d=0),b.Pg=Math.max(b.Wh,b.Xh-d)):b.Pg=b.Xh;b.Pg===b.Wh?b.scrollTop=0:b.scrollY<=b.scrollTop&&
b.scrollY>=0&&(b.scrollTop=b.scrollY);b.jw=b.Lf<b.Wh?(b.Wh-b.Lf)/2:Math.min(b.Pg/2-b.Lf/3,0);b.Wq=b.Pg<b.Xh*2/3?1:0;b.active=!0;if(b.Wn<=0||b.jg<=0||b.Qg<=0||b.Lf<=0||b.Wh<=0||b.Xh<=0||b.Pg<=0||Math.abs(b.videoAspectRatio-1/.5625)<=.01||b.SA)b.active=!1;c(b)}}var b={active:!0,Wn:0,scrollY:0,jg:0,videoAspectRatio:0,Qg:0,Lq:screen.height,Yl:!0,Lf:0,Wh:0,Xh:0,Pg:0,jw:0,SA:!1,scrollTop:0,Wq:0},c;return{onChange:function(d){c=d},M:a,Sf:function(){!document.body.hasAttribute("modal-open-body")&&b.active&&
a({scrollY:window.scrollY})}}};
vOa=function(){function a(d){d?(_.dt(_.iE.Aa,"sticky-player"),document.documentElement.classList.add("sticky-player")):(_.et(_.iE.Aa,"sticky-player"),document.documentElement.classList.remove("sticky-player"))}function b(){var d=fR();d.ee&&(d.ee.style.position="",d.ee.style.height="",d.ee.style.top="");d.Eo&&(d.Eo.style.paddingBottom="");d.Do&&(d.Do.style.paddingBottom="");d.tp&&(d.tp.style.paddingBottom="");a(_.iE.player.offsetHeight<window.innerHeight*.6);_.sE().then(function(e){typeof e.setInternalSize==="function"&&
e.setInternalSize(NaN,NaN)})}var c=uOa();c.onChange(function(d){if(d.active){var e=fR();if(!e.ee){var f=document.querySelector(".html5-video-container");f&&(f.style.position="absolute",e.ee=f)}e.Eo&&(e.Eo.style.paddingBottom=d.Xh+"px");e.tp&&(e.tp.style.paddingBottom=d.Pg+"px");e.Do&&(e.Do.style.paddingBottom=d.Pg+"px");_.M("mweb_flexy_fit_vertical_videos")&&d.Wq===1?e.ee&&(e.ee.style.height=d.Lf+"px",e.ee.style.top="0px"):e.ee&&(e.ee.style.height=d.Lf+"px",e.ee.style.top=d.jw+"px");a(d.Yl);_.sE().then(function(h){typeof h.setInternalSize===
"function"&&(_.M("mweb_flexy_fit_vertical_videos")&&d.Wq===1?h.setInternalSize(NaN,NaN):h.setInternalSize(d.Qg,d.Lf))})}else b()});c.M({scrollY:window.scrollY});return{onVideoDataChange:function(d){if(_.M("mweb_playlist_engagement_panel")&&document.body.hasAttribute("engagement-panel-open")){var e=document.querySelector("ytm-engagement-panel");if(e){c.M({videoAspectRatio:d,Lq:e.offsetTop});return}}c.M({videoAspectRatio:d})},Sf:c.Sf,sl:function(){var d=fR(),e=0;d.Vn&&d.ownerElement&&(e=d.Vn.offsetHeight-
d.ownerElement.offsetHeight);var f=0;d.nx&&(f=window.innerHeight-d.nx.offsetHeight);c.M({Qg:_.iE.Aa.offsetWidth,Wn:e,jg:f})},Fy:function(d){c.M({Lq:d})},Ty:function(){var d=fR(),e=0;d.Vn&&d.ownerElement&&(e=d.Vn.offsetHeight-d.ownerElement.offsetHeight);c.M({Wn:e})},bf:function(d){var e;c.M({SA:((e=d.detail)==null?void 0:e.state)===0})},onTap:function(){c.M({scrollTop:window.scrollY})}}};
fR=function(){return{Vn:document.querySelector("ytm-slim-video-metadata-renderer")||document.querySelector("ytm-slim-video-metadata-section-renderer"),ownerElement:document.querySelector("ytm-slim-owner-renderer"),nx:document.getElementById("header-bar"),Do:document.querySelector(".player-api"),Eo:document.querySelector(".player-placeholder"),tp:document.querySelector("ytm-cinematic-container-renderer"),ee:document.querySelector(".html5-video-container")}};
wOa=function(){function a(f){f=f.detail.type;if((f==="dataloaded"||f==="dataupdated")&&e&&d&&d.getVideoAspectRatio)e.onVideoDataChange(d.getVideoAspectRatio())}function b(){var f=document.querySelector("ytm-engagement-panel");e&&f&&e.Fy(f.offsetTop)}function c(){e&&e.Fy(screen.height)}var d,e;return{QG:function(f){return _.GB({href:f})},xH:function(){_.mD()||nD()||_.sE().then(function(f){d=f;e=vOa();window.addEventListener("video-data-change",a);document.addEventListener("scroll",e.Sf);window.addEventListener("engagement-panel-opened",
b);window.addEventListener("engagement-panel-closed",c);window.addEventListener("resize",e.sl);window.addEventListener("updateui",e.Ty);window.addEventListener("player-state-change",e.bf);_.iE.Aa&&_.iE.Aa.addEventListener("click",e.onTap);e.sl();if(d.getVideoData())e.onVideoDataChange(d.getVideoAspectRatio())})},yH:function(){e&&(window.removeEventListener("video-data-change",a),document.removeEventListener("scroll",e.Sf),window.removeEventListener("resize",e.sl),window.removeEventListener("engagement-panel-opened",
b),window.removeEventListener("engagement-panel-closed",c),window.removeEventListener("updateui",e.Ty),window.removeEventListener("player-state-change",e.bf),_.iE.Aa&&_.iE.Aa.removeEventListener("click",e.onTap),e=void 0)}}};yOa=function(){return(Jq("iemobile")||Jq("windows phone")&&Jq("edge"))&&Jq("; virtual")||Jq("windows nt")||xOa};Ez=function(a){a=_.CB(a);a="MWEB_PAGE_TYPE_"+(zOa.includes(a)?"browse":a).toUpperCase();return{pageType:Object.values(AOa).includes(a)?a:"MWEB_PAGE_TYPE_UNKNOWN",navType:BOa}};
COa=function(){window.addEventListener("fullscreenerror",function(){yz(Jz(),"FAILURE")});window.addEventListener("fullscreenchange",function(){yz(Jz(),"SUCCESS")});window.addEventListener("fullscreenrequest",function(){Hz(Jz(),{mweb:Ez()})})};
EOa=function(){window.addEventListener("state-navigatestart",function(a){gR=!1;var b;a=(b=a.detail)==null?void 0:b.href;Hz(Iz(),{mweb:Ez(a)})});window.addEventListener("state-navigateend",function(){gR?Gz(DOa):Fz(DOa);yz(Iz(),"SUCCESS")});window.addEventListener("filtered-window-error",function(){gR=!0;yz(Iz(),"FAILURE")});window.addEventListener("initialdata",function(){Hz(Iz(),{mweb:Ez()})})};
IOa=function(){window.addEventListener("player-state-change",function(a){var b=_.rE();if(b&&(b=b.getVideoData().video_id,b!==FOa)){var c;((c=a.detail)==null?void 0:c.state)===1&&(FOa=b,Fz(GOa),Fz(HOa))}});window.addEventListener("player-error",function(){Gz(GOa)});window.addEventListener("playback-unplayable",function(){Gz(HOa)})};KOa=function(){window.addEventListener("renderer-module-load-end",function(){Fz(JOa)});window.addEventListener("renderer-module-load-error",function(){Gz(JOa)})};
MOa=function(){var a=_.zB,b,c,d;if(a=(d=_.N(a==null?void 0:(b=a.response)==null?void 0:(c=b.endpoint)==null?void 0:c.commandMetadata,_.ew))==null?void 0:d.url)if(b=_.Gh("https://www.youtube.com"+a))LOa()||(hR=document.createElement("link"),document.head.appendChild(hR)),(c=LOa())&&_.$h(c,b,"canonical")};LOa=function(){hR===void 0&&(hR=document.head.querySelector('link[rel="canonical"]')||null);return hR};
NOa=function(a,b,c,d,e){_.hB("filtered-window-error");b=b===void 0?"Unknown file":b;c=c===void 0?0:c;var f=!1,h=tp("log_window_onerror_fraction");if(h&&Math.random()<h)f=!0;else{h=document.getElementsByTagName("script");for(var k=0,l=h.length;k<l;k++)if(h[k].src.indexOf("/debug-")>0){f=!0;break}}f&&(f=!1,e?f=!0:(typeof a==="string"?h=a:ErrorEvent&&a instanceof ErrorEvent?(f=!0,h=a.message,b=a.filename,c=a.lineno,d=a.colno):(h="Unknown error",b="Unknown file",c=0),e=new _.oq(h),e.name="UnhandledWindowError",
e.message=h,e.fileName=b,e.lineNumber=c,isNaN(d)?delete e.columnNumber:e.columnNumber=d),f?_.av(e):_.bv(e))};POa=function(){navigator.onLine===!1&&_.UL(function(){_.En(OOa)})};SOa=function(){var a=a===void 0?!1:a;var b=_.iR();Object.keys(b).forEach(function(c){QOa.indexOf(c)===-1&&delete b[c]});_.ROa(b,a)};_.iR=function(){var a=_.sB().hash.substring(1).split("&").filter(Boolean),b={};if(!a.length)return b;a.forEach(function(c){c=c.split(/=(.+)/);b[c[0]]=c.length>1?c[1]:""});return b};
_.ROa=function(a,b){var c=Object.keys(a).map(function(d){return a[d]?d+"="+a[d]:d}).join("&");c=c?"#"+c:"";b?_.ji(_.sB(),_.Gh(c)):_.sB().hash=c};VOa=function(){var a,b,c,d;return _.z(function(e){if(e.j==1)return a=_.K(),b=a.resolve(_.gQ),_.x(e,b(),2);if(e.j!=3)return c=e.o,_.x(e,c.yd(TOa),3);if(d=e.o)RQ=d,UOa(d);_.wa(e)})};WOa=function(a){var b;return a==null?void 0:(b=a.response)==null?void 0:b.preconnect};
XOa=function(a){a=WOa(a.detail.data);if(!WOa(_.zB)&&a){a=_.u(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value)(new Image).src=b}};_.jR=function(a){_.QH()&&_.ii(_.sB(),_.Gh(wi(a||_.sB().href,{purge_shell:1})))};_.QH=function(){return _.M("mweb_appshell")&&_.M("web_appshell_purge_trigger")&&_.M("web_enable_shell_fetch")};
YOa=function(){var a;_.z(function(b){if(b.j==1){if(!_.QH()||!_.L("IS_SHELL_LOAD",!1))return b.return();_.xa(b,2);return _.x(b,rza(),4)}if(b.j!=2)return(a=b.o)&&_.jR(),_.ya(b,0);_.Ba(b);_.jR();_.wa(b)})};ZOa=function(a){var b=_.rB(function(){return a.player.assets});b&&(b.js=_.L("PLAYER_JS_URL")||b.js,b.css=_.L("PLAYER_CSS_URL")||b.css)};$Oa=function(a){return a&&a.args&&a.args.raw_player_response?a.args.raw_player_response:null};
aPa=function(a){if(!kR)for(b in kR=_.L("WEB_PLAYER_CONTEXT_CONFIGS"),kR)kR.hasOwnProperty(b)&&(kR[b].externalFullscreen=Mz());var b=kR;return b?_.NB({href:a})&&b.WEB_PLAYER_CONTEXT_CONFIG_ID_MWEB_SHORTS?b.WEB_PLAYER_CONTEXT_CONFIG_ID_MWEB_SHORTS:sQ.includes(_.CB(a))&&b.WEB_PLAYER_CONTEXT_CONFIG_ID_MWEB_INLINE_PREVIEW?b.WEB_PLAYER_CONTEXT_CONFIG_ID_MWEB_INLINE_PREVIEW:b.WEB_PLAYER_CONTEXT_CONFIG_ID_MWEB_WATCH:(Math.random()<.01&&_.bv(Error("Pd")),null)};
bPa=function(){var a=aPa(window.location.href);a&&Bva(null,null,a,!1,!0)};cPa=function(){HB({href:window.location.href})||window.addEventListener("load",function(){window.removeEventListener("load",bPa);bPa()})};
ePa=function(a){var b,c,d,e=(b=a.detail)==null?void 0:(c=b.data)==null?void 0:(d=c.response)==null?void 0:d.response,f,h,k,l=(f=a.detail)==null?void 0:(h=f.data)==null?void 0:(k=h.response)==null?void 0:k.playerResponse;(e||l)&&dPa(function(){e&&(e.onResponseReceivedEndpoints&&_.wC(e.onResponseReceivedEndpoints,e,!1),e.onResponseReceivedActions&&_.wC(e.onResponseReceivedActions,e,!1),e.onResponseReceivedCommands&&_.wC(e.onResponseReceivedCommands,e,!1));(l==null?0:l.onResponseReceivedActions)&&_.wC(l.onResponseReceivedActions,
l,!1)})};dPa=function(a){var b=_.wp("mweb_delay_response_received_actions");b?setTimeout(a,b):a()};
fPa=function(){function a(A){b("/client_streamz/youtube/mobile_web/"+A+f.Eu,w);b("/client_streamz/youtube/mobile_web/"+A+f.Du,q);b("/client_streamz/youtube/mobile_web/"+A+f.Cu,y);gA&&gA.dm()}function b(A,E){var I=_.CB(),G;d.jh(A,r,c((G=p.get(I))!=null?G:I,k,"UNKNOWN"),t,E)}function c(A,E,I){return A&&E.indexOf(A.toUpperCase())>-1?A.toUpperCase():I}var d=_.Yqa(),e={cC:"page_errors",Ru:"navigate_start",YB:"navigate_end",fC:"playback_start",eC:"playback_error",gC:"playback_unplayable"},f={Eu:"_by_os",
Du:"_by_navigation_type",Cu:"_by_content_language"},h="ANDROID KAIOS MACINTOSH WINDOWS IPAD IPHONE".split(" "),k="BROWSE SEARCH WATCH HOME CHANNEL CREATE_CHANNEL EXPERIMENTS SPONSORSHIP SETTINGS OOPS 404".split(" "),l={za:3,ya:"major_os_version"},m={za:3,ya:"navigation_type"},n={za:3,ya:"content_language"},p=new Map([["history","browse"],["library","browse"],["playlist","browse"],["trending","browse"],["subscriptions","browse"]]),q="COLD",r="NONE",t="OTHER",w="0",y="OTHER",B=[{za:3,ya:"canary_state"},
{za:3,ya:"page_type"},{za:3,ya:"os"}];Object.keys(e).forEach(function(A){A=e[A];d.Ld.apply(d,["/client_streamz/youtube/mobile_web/"+A+f.Eu].concat(_.ma(B),[l]));d.Ld.apply(d,["/client_streamz/youtube/mobile_web/"+A+f.Du].concat(_.ma(B),[m]));d.Ld.apply(d,["/client_streamz/youtube/mobile_web/"+A+f.Cu].concat(_.ma(B),[n]))});q="COLD";r="NONE";t="OTHER";w="0";y="OTHER";(function(){r=_.L("CLIENT_CANARY_STATE","NONE").toUpperCase();var A=_.L("INNERTUBE_CONTEXT",{client:{hl:y,osName:t,osVersion:"0.0"}}),
E;if((E=A.client)==null?0:E.osName)t=c(A.client.osName,h,"OTHER");var I;((I=A.client)==null?0:I.hl)&&A.client.hl==="en"&&(y="EN");var G;if((G=A.client)==null?0:G.osVersion)A=A.client.osVersion,E=A.split("."),E.length<=1&&(E=A.split("_")),A=Number(E[0]),isNaN(A)||(w=String(Math.min(A,30)))})();window.addEventListener("initialdata",function(){a(e.Ru)});window.addEventListener("state-navigatestart",function(){q="WARM";a(e.Ru)});window.addEventListener("state-navigateend",function(){a(e.YB)});window.addEventListener("filtered-window-error",
function(){a(e.cC)});window.addEventListener("player-state-change",function(A){A.detail&&A.detail.state===1&&a(e.fC)});window.addEventListener("player-error",function(){a(e.eC)});window.addEventListener("playback-unplayable",function(){a(e.gC)})};lR=function(a){var b=Error.call(this,a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.message=a};mR=function(){this.listeners=[];this.j=[];this.data=[]};nR=function(a,b){a.data.push(b);a.listeners.forEach(function(c){c(b)})};
oR=function(a,b){a.j.length||_.qj(b);a.data.push(b);a.j.forEach(function(c){c(b)})};gPa=function(a){throw a;};hPa=function(a){return a};pR=function(a){this.j=a;this.done=!1;this.o=_.pj()};iPa=function(a,b,c){a.o=a.o.then(function(){if(!a.done)return b(c)}).then(function(d){d&&(a.done=d.done,nR(a.j,d))},function(d){oR(a.j,d)})};XC=function(a,b,c){var d=b?b:hPa,e=c?c:gPa,f=new pR(new mR);a.j.listen(function(h){iPa(f,d,h)},function(h){iPa(f,e,h)});return f};
kPa=function(){var a=new mR;return{vA:function(b){b.then(function(c){nR(a,{done:!0,value:jPa(c,!0)})},function(c){oR(a,c)});return new pR(a)},Zs:function(b,c){nR(a,{done:!1,value:jPa(c,!1)})}}};jPa=function(a,b){return{response:{page:a.page,response:a.response,reload:a.reload,url:a.url,endpoint:a.endpoint,loading:!b,playerResponse:a.playerResponse,preconnect:a.preconnect,reelWatchSequenceResponse:a.reelWatchSequenceResponse},loading:!b}};
lPa=function(a,b){a.pyv_billable_url=_.rB(function(){return b.pyvBillingUrl});a.pyv_conv_url=_.rB(function(){return b.pyvConversionUrl})};
mPa=function(a,b){var c=_.rB(function(){return a.player.args}),d=_.rB(function(){return b.c3PlaybackTracking});c&&d&&(c.adformat||(c.adformat=b._adformat),c.el=b._el,c.video_masthead_ad_quartile_urls={quartile_0_urls:d.startUrls,quartile_25_urls:d.firstQuartileUrls,quartile_50_urls:d.secondQuartileUrls,quartile_75_urls:d.thirdQuartileUrls,quartile_100_urls:d.completeUrls},lPa(c,d))};nPa=function(){var a=new mR;oR(a,new lR("XHR failed to initialize."));return new pR(a)};
oPa=function(a){function b(){var f=c.readyState===4,h=c.responseText;f&&c.status!==200?e(h,c.status):d(h,f);f&&c.removeEventListener("readystatechange",b)}var c=a.am,d=a.eo,e=a.onError;c.readyState===4?b():c.addEventListener("readystatechange",b)};qR=function(a){var b=new mR;oPa({am:a,eo:function(c,d){nR(b,{done:d,value:c})},onError:function(c,d){d=new lR("Failed xhr: "+d);d.responseText=c;oR(b,d)}});return new pR(b)};
pPa=function(a){var b=new mR;XC(qR(a),function(c){c.done&&nR(b,c)},function(c){oR(b,c)});return new pR(b)};
qPa=function(){var a=0,b={};return function(c){var d=c.done;var e=c.value;c=e.timingInfo;e=e.response;var f=e.startsWith("[");if(f||d)if(!f&&e.startsWith(")]}'\n")&&(e=e.substr(5)),e=e.split("\r\n").filter(function(h){return h.length>1}).slice(a).map(function(h){return _.vb(h,",")||_.vb(h,"]")?h.slice(0,-1):h}).map(function(h){try{return JSON.parse(h)}catch(k){}}),f=e[e.length-1]?e.length:e.length-1,!(f<=0)||d)return a+=f,b=Object.assign.apply(Object,[{},b].concat(_.ma(e))),{done:d,value:{timingInfo:c,
response:b}}}};rPa=function(a){var b=[];return function(c){var d=c.done;c=c.value;var e=d?a.getResponseHeader("content-length"):"",f=d?a.getResponseHeader("content-encoding"):"";b.push((0,_.Uq)());return{done:d,value:{timingInfo:{chunks:b,contentLength:e,BD:f},response:c}}}};
sPa=function(a,b,c,d){b=b===void 0?_.rR:b;if(_.M("mweb_enable_networking_lib_rewrite")){d={headers:{"x-spf-referer":c},urlParams:{pbjcold:b.pbjcold}};var e;_.aA(a,(e=d.urlParams)!=null?e:{},8,!0);d.headers||(d.headers={});d.urlParams||(d.urlParams={});d.headers["x-youtube-sts"]=""+_.L("STS");d.urlParams.pbj=1;d.withCredentials=!0;d.format="RAW";d=(d=_.Rp(a,d))?XC(XC(qR(d),rPa(d)),qPa()):nPa()}else b=b===void 0?_.rR:b,e={pbj:1},b.pbjcold&&(e.pbjcold=b.pbjcold),e=wi(a,e),_.aA(a,b||{},8,!0),a=qPa(),
c={withCredentials:!0,headers:{"x-youtube-sts":""+_.L("STS"),"x-spf-referer":c},format:"RAW"},_.M("web_forward_command_on_pbj")&&d&&(c.method="POST",c.postParams={command:JSON.stringify(d)}),d=(d=_.Rp(e,c))?XC(XC(_.M("mweb_enable_xhr_chunking")?qR(d):pPa(d),rPa(d)),a):nPa();return d};
uPa=function(a,b){_.M("mweb_op_infra_watchui")&&_.M("mweb_op_page_service_watch")&&_.N(a,_.fw)&&(a=tPa(a,b||{},Esa(a)),_.kw(_.dw(),_.pj(a)),a.then(function(c){var d=_.zB;d.response.response=c.response;BB(d);_.iB()},function(c){throw c;}))};
tPa=function(a,b,c){var d=window.location.href,e,f,h,k,l,m,n,p,q,r,t,w;return _.z(function(y){if(y.j==1)return e=_.N(a.commandMetadata,_.ew),k={rootVe:(f=e)==null?void 0:f.rootVe,url:(h=e)==null?void 0:h.url,endpoint:a,page:c},m=_.K(),n=m.resolve(_.gQ),_.x(y,n(),2);l=y.o;q={contentPlaybackContext:_.xG(b,(p=e)==null?void 0:p.url,d),racyCheckOk:vPa(a)};r=_.pj();t=new _.aH;(w=t.bd(a,q))&&(r=l.yc(w.Sa,w.input,void 0,w.config));return y.return(r.then(function(B){k.response=B;return k}))})};
vPa=function(a){var b;return!((b=_.N(a,_.fw))==null||!b.racyCheckOk)};xPa=function(){var a=_.K();a.resolve(sR)().then(function(b){a.da({aa:_.wPa,Xa:b});tR=b})};
yPa=function(a,b){var c={csn:_.Du(),endpoint:JSON.stringify(a),gs_l:b==null?void 0:b.gs_l,oq:b==null?void 0:b.oq,autonav:b==null?void 0:b.autonav};if(b==null?0:b.playnext)c.playnext=Number(b.tempData);(b==null?0:b.lact)?c.lact=Number(b.lact):_.M("enable_unknown_lact_fix_on_html5")&&(c.lact=_.rt());a.clickTrackingParams&&(c.itct=a.clickTrackingParams);return c};zPa=function(a){var b=a.endpoint,c=a.referer;a=yPa(b,a.params);tR.G(b,a,c||window.location.href)};
APa=function(a){var b=a.endpoint,c=a.referer,d=a.Zs;a=yPa(b,a.params);return tR.A(b,a,c!=null?c:window.location.href,Esa(b),d!=null?d:function(){return!1},function(){return!1})};
CPa=function(a,b,c,d,e){var f=c==null?void 0:c._data;d={href:a,endpoint:f,params:b!=null?b:void 0,referer:d!=null?d:void 0,isPrefetch:e!=null?e:void 0};if(_.M("force_one_platform")){e=d.isPrefetch;if(!tR)throw Error("Qd");if(!tR.o(d.endpoint))throw Error("Rd");e?(zPa(d),d=new pR(new mR)):d=kPa().vA(APa(d))}else a:{e=d.href;var h=d.endpoint,k=d.params,l=d.referer,m=d.isPrefetch,n=h&&!_.N(h,_.fw)&&!_.N(h,_.gw),p=h&&(_.N(h,_.fw)||_.N(h,_.gw)),q=_.N(h,_.eD)&&_.M("mweb_enable_shorts_with_op"),r=!!_.N(h,
_.uR);if(h&&(n||p||q)&&(tR||xPa(),tR&&tR.o(h))){if(m){zPa(d);d=new pR(new mR);break a}e=kPa();h=e.vA;d.Zs=e.Zs;d=h(APa(d));break a}if(m&&!r)throw Error("Sd");d=sPa(e,k||{},l,h)}_.GB({href:a})||MB()||RQ||VOa();return BPa(d,c instanceof Element?_.BF(c)||{}:{},b,f)};
BPa=function(a,b,c,d){return XC(a,function(e){var f=e.done,h=e.value.timingInfo,k=e.value.response;if(k&&k.reload)_.sB().reload();else if(k&&k.redirect)_.ii(window.location,k.redirect);else{var l,m;if((e==null?void 0:(l=e.value)==null?void 0:(m=l.response)==null?void 0:m.response)===void 0&&f)return{done:!0,value:vR({name:"",message:""})};$Ga(k);ZOa(k);k&&_.M("kill_swf_config_mweb")&&_.M("fix_ads_tracking_for_swf_config_deprecation_mweb")?(e=k.playerResponse&&k.playerResponse.playbackTracking,l=b.c3PlaybackTracking,
e&&l&&(e.promotedPlaybackTracking={startUrls:l.startUrls,firstQuartileUrls:l.firstQuartileUrls,secondQuartileUrls:l.secondQuartileUrls,thirdQuartileUrls:l.thirdQuartileUrls,completeUrls:l.completeUrls},l=b._adformat,e=e.videostatsPlaybackUrl,l&&e&&e.baseUrl&&(l=Kp(e.baseUrl,{adformat:l},!1),e.baseUrl=l))):mPa(k,b);e=f?k:Object.assign({},_.zB.response,k);k&&!_.M("webfe_return_endpoint_enabled")&&(k.endpoint=d);f&&!_.M("mweb_fp_fetch_wn_after_playback")&&uPa(d,c);return{done:f,value:{timingInfo:h,response:e,
loading:!f}}}},function(e){Math.random()<.01&&_.av(e);return{done:!0,value:vR(e)}})};vR=function(a){return{page:_.zB.response&&_.zB.response.page?_.zB.response.page:Fsa(_.sB().href),response:{response:{responseContext:{errors:a}}}}};DPa=function(a){var b=wOa(),c=!1,d;window.addEventListener((d=b.event)!=null?d:"state-navigateend",function(){b.QG(a())?(b.xH(),c=!0):c&&(b.yH(),c=!1)})};EPa=function(){DPa(function(){return window.location.href})};
FPa=function(a){a.detail.isCurrentlyFullscreen?_.aJ():bJ("fauxfullscreen")};JPa=function(){var a=_.sB().hash;!wR&&a!=="#fauxfullscreen"||wR&&a==="#fauxfullscreen"||a==="#menu"||a==="#dialog"||(GPa&&HPa(),setTimeout(function(){IPa()},200))};
IPa=function(){var a=!wR;_.sE().then(function(b){document.body.setAttribute("faux-fullscreen",a.toString());b.setSize(NaN,NaN);b.setFauxFullscreen(a);a?window.addEventListener("touchmove",KPa,{passive:!1}):(window.removeEventListener("touchmove",KPa),clearTimeout(null));wR=a})};HPa=function(){var a=!wR;a&&window.scrollY<100?(LPa=window.scrollY,window.scrollTo(0,100)):!a&&window.scrollY>100&&window.scrollTo(0,LPa)};
NPa=function(){var a=Mz();return _.L("MWEB_CUSTOM_CONTROL")?_.M("mweb_native_control_in_faux_fullscreen_shared")||a?!1:!0:MPa&&!a?!0:!1};KPa=function(a){a.preventDefault()};PPa=function(){if(_.L("MWEB_CUSTOM_CONTROL")){var a=_.Eqa();a&&window.addEventListener(a,OPa)}};
OPa=function(){var a=_.sO(),b=_.rE()||void 0;b==null||b.setFauxFullscreen(a);a?(document.body.setAttribute("faux-fullscreen","true"),_.M("mweb_new_fullscreen_resize")&&_.hB("resize"),QPa(b)):(a=_.iE.Aa,document.body.removeAttribute("faux-fullscreen"),Oz(a),_.hB("resize"))};QPa=function(a){var b;if((b=window.screen.orientation)!=null&&b.lock&&!(a&&a.getVideoAspectRatio()<1||_.hD()||_.mD()))try{window.screen.orientation.lock("landscape").catch(function(){})}catch(c){}};
SPa=function(){var a=_.zB;if(_.M("mweb_no_index_meta_in_c3"))if(a.response&&a.response.playerResponse&&a.response.playerResponse.videoDetails&&a.response.playerResponse.videoDetails.isCrawlable===!1)RPa()||(xR=document.createElement("meta"),xR.name="robots",xR.content="noindex",document.head.appendChild(xR));else if(a=RPa())document.head.removeChild(a),xR=null};RPa=function(){xR===void 0&&(xR=document.head.querySelector('meta[content="noindex"][name="robots"]')||null);return xR};
VPa=function(){TPa()&&_.sE().then(function(a){a==null||a.addEventListener("onHeartbeat",UPa)})};UPa=function(a){var b=_.zB,c;a&&(b==null?0:(c=b.response)==null?0:c.playerResponse)&&(b.response.playerResponse.playabilityStatus=a,_.iB())};TPa=function(){var a,b,c,d;return!!((a=_.zB)==null?0:(b=a.response)==null?0:(c=b.playerResponse)==null?0:(d=c.playabilityStatus)==null?0:d.liveStreamability)};
XPa=function(a){var b=null,c=a.response,d=a.playerResponse,e=aPa();if(d&&e){WPa=!0;var f=a.endpoint;b={args:{raw_player_response:d,external_list:LN}};var h=_.N(f,_.eD);f=_.N(f,_.fw);if(h){if(b.args.watch_endpoint=h,h=h.playerParams)b.args.player_params=h}else f&&(b.args.watch_endpoint=f)}if(!_.OB()){f=HB();h=_.WP(d);XP(f,h);_.M("web_player_autonav_use_server_provided_state")&&!_.M("c3_watch_page_component")&&c&&_.xHa(c);if(_.L("MWEB_CUSTOM_CONTROL")){var k,l=c==null?void 0:(k=c.playerOverlays)==null?
void 0:k.playerOverlayRenderer;_.iE.Gd.setAttribute("playable",h.toString());if(f&&!_.NB()){k={playerOverlayRenderer:l,playerResponse:d,Ka:c,N:_.rE()||void 0};f=SJa();l=_.iE.Gd;var m=l==null?void 0:l.parentElement,n,p,q=(n=k.N)==null?void 0:(p=n.getWebPlayerContextConfig)==null?void 0:p.call(n);(0,_.TE)(l,TLa,{data:k,Ea:f,Fb:{cA:q==null?void 0:q.disableOrganicUi},Aa:m,Gd:l});_.iE.Gd.removeAttribute("hidden")}else ULa(),_.iE.Gd.setAttribute("hidden","true")}if(_.NB()){if(ULa(),_.iE.Uf.removeAttribute("hidden"),
_.iE.Uf.setAttribute("playable",h.toString()),n=_.rE())typeof n.setLoopVideo==="function"&&n.setLoopVideo(!0),_.M("enable_shorts_captions_menu_item")||typeof n.unloadModule!=="function"||n.unloadModule("captions")}else _.iE.Uf.setAttribute("hidden","true")}if($Oa(b)!==$Oa(yR)||c!==zR){yR=b;zR=c;if(_.M("mweb_consistency_tokens")){c=zR;var r;d=d==null?void 0:(r=d.responseContext)==null?void 0:r.consistencyTokenJar;var t;r=c==null?void 0:(t=c.responseContext)==null?void 0:t.consistencyTokenJar;if(d||
r)t=_.RG(),c=Mh(t.j),d&&t.replace(c,d),r&&t.replace(c,r)}_.iE.player.setAttribute("loading",String(!yR));t=!1;if(AR&&AR!==e){fQ(cQ());if(_.M("mweb_stop_video_in_destroy_player")){var w;(w=mE)==null||w.stopVideo()}mE=null;hE&&hE.destroy(_.iE.player);hE=null;t=!0}AR=e;Bva(yR,a.response,e,WPa,t)}};YPa=function(){var a=_.rE();a&&a.sendAbandonmentPing&&a.sendAbandonmentPing()};ZPa=function(){if(!_.NB()){var a=document.querySelector("video");a&&a.focus()}};
bQa=function(){_.kBa(YPa);window.addEventListener("state-navigatestart",YPa);window.addEventListener("state-navigateend",ZPa);_.M("mweb_client_log_screen_associated")&&window.addEventListener("state-navigateend",$Pa);var a=_.lC(function(){return _.iE.player});a&&a.addEventListener("click",function(b){_.aj(b.target,"a")&&b.stopPropagation()});_.xp("mweb_preload_video_by_player_vars")==="preload_near_end"&&window.addEventListener("video-progress",_.uca(aQa,1E3))};
aQa=function(){if(_.xp("mweb_preload_video_by_player_vars")==="preload_near_end"){var a=_.rE(),b,c;((b=a==null?void 0:a.getCurrentTime())!=null?b:0)/((c=a==null?void 0:a.getDuration())!=null?c:-1)>.9&&cQa()}};cQa=function(){var a=dQa();a!==BR&&(BR=a)&&_.oB(function(){var b;(b=_.rE())==null||b.preloadVideoByPlayerVars({videoId:BR})})};
dQa=function(){var a,b,c,d,e,f,h,k,l;return(a=zR)==null?void 0:(b=a.contents)==null?void 0:(c=b.singleColumnWatchNextResults)==null?void 0:(d=c.autoplay)==null?void 0:(e=d.autoplay)==null?void 0:(f=e.sets)==null?void 0:(h=f[0])==null?void 0:(k=h.autoplayVideoRenderer)==null?void 0:(l=k.compactVideoRenderer)==null?void 0:l.videoId};
$Pa=function(){var a;(a=_.rE())==null||a.removeEventListener("onPlaybackStartExternal",eQa);var b;(b=_.rE())==null||b.removeEventListener("onHeartbeat",UPa);if(Bu()===3832||Bu()===37414)a=_.rE(),(b=a==null?void 0:a.getVideoData())&&b.cpn&&(VPa(),tw(b)||a==null||a.addEventListener("onPlaybackStartExternal",eQa))};eQa=function(){if(Bu()===3832||Bu()===37414){var a,b=(a=_.rE())==null?void 0:a.getVideoData();tw(b)}};
fQa=function(){return CR&&CR.contents&&CR.contents.singleColumnWatchNextResults&&CR.contents.singleColumnWatchNextResults.autoplay?_.lC(function(){return CR.contents.singleColumnWatchNextResults.autoplay.autoplay}):null};gQa=function(){var a=fQa();return a&&a.sets?_.lC(function(){return a.sets[0].autoplayVideo}):null};hQa=function(){var a=fQa();return a&&a.sets?_.lC(function(){return String(a.sets[0].mode)}):null};
iQa=function(a){if(a.detail&&a.detail.state===0){a=a.target;var b;if(((b=_.rE())==null||!b.isMutedByMutedAutoplay())&&_.yi(_.sB().href,"list")&&(b=gQa())){var c=kO++,d;(d=_.sC(b))||(d=_.N(b,_.fw),d=b&&d?wi("/watch",{v:d.videoId,list:d.playlistId,index:d.index+1}):null);if(d){var e=b.clickTrackingParams;var f=_.N(b,_.fw).params,h=hQa();e={itct:e,mode:h,params:f};c={autonav:!0,playnext:c,lact:_.rt()};_.BL({href:d,params:e,cg:c,rb:3832,element:a!=null?a:void 0,pushState:!0,endpoint:b})}}}};
FR=function(){var a=DR,b=jQa;clearTimeout(kQa);ER=!0;setTimeout(function(){uPa(a,b)},0)};lQa=function(a){var b;((b=a.detail)==null?void 0:b.state)!==1||ER||FR()};
mQa=function(a){a=a.detail;var b,c;if(_.GB()||((b=a.data)==null?void 0:(c=b.response)==null?void 0:c.page)==="watch"){ER=!1;b=a.Wp;c=a.data;DR=a.endpoint;var d;(c==null?0:(d=c.response)==null?0:d.endpoint)&&_.M("webfe_return_endpoint_enabled")&&(DR=c.response.endpoint);jQa=b;kQa=setTimeout(function(){ER||FR()},1E4);_.oB(function(){var e=DR;if(e&&!_.N(e,_.fw)&&Math.random()<.01){var f=[],h;for(h in e)e.hasOwnProperty(h)&&(h.endsWith("Endpoint")||h.endsWith("Command"))&&f.push(h);_.bv(new _.oq("navigated to the watch page without a WatchEndpoint",
JSON.stringify(f)))}})}};nQa=function(a){var b;((b=a.detail)==null?void 0:b.playertype)!==2||ER||FR()};oQa=function(){ER||FR()};GR=function(a,b){b=b===void 0?{}:b;b={contents:b,responseContext:{}};return{loading:!0,response:{page:Fsa(a)||"",response:b,loading:!0}}};
qQa=function(a){var b=_.OB({href:a});if(b||FB({href:a})==="trending"){var c=!!_.L("IS_TABLET",!1);if(b){b=c?8:4;_.hD()&&c&&(HR===void 0&&(b=_.iD(pQa),HR=b!==void 0?b:_.kD>=1280&&lD>=550||_.kD>=550&&lD>=1280),b=HR?16:9);c=[];for(var d=0;d<b;d++)c.push({richItemRenderer:{content:{videoWithContextRenderer:{}}}});b={richGridRenderer:{contents:c}}}else{b=c?6:4;c=[];for(d=0;d<b;d++)c.push({itemSectionRenderer:{contents:[{videoWithContextRenderer:{}}]}});b={sectionListRenderer:{contents:c}}}return{replace:!0,
data:GR(a,{singleColumnBrowseResultsRenderer:{tabs:[{tabRenderer:{selected:!0,content:b}}]}})}}};sQa=function(a,b,c){b=_.CB(b);a=_.CB(a);if(b===a&&c&&rQa.includes(a))return{replace:!1,data:c}};tQa=function(a){return{replace:!1,data:GR(a)}};uQa=function(a,b,c){if(c&&xsa(b)===xsa(a))return{data:c,replace:!0,qA:!0}};
vQa=function(a,b,c){var d=_.CB(b),e=_.CB(a);b=_.yi(b,"list");a=_.yi(a,"list");if(b&&b===a&&d===e)return d=Object.assign({},(c==null?void 0:c.response)||{},{player:null,playerResponse:null}),{replace:!1,data:Object.assign({},c,{response:d})}};wQa=function(a){if(_.CB(a)==="search"){var b=_.L("IS_TABLET",!1)?10:7;for(var c=[],d=0;d<b;d++)c.push({videoWithContextRenderer:{}});return{replace:!0,data:GR(a,{sectionListRenderer:{contents:[{itemSectionRenderer:{contents:c}}]}})}}};
xQa=function(a,b){if(_.NB({href:a})&&_.NB({href:b}))return{replace:!0,data:GR(a)}};yQa=function(a){if(a){var b=_.BF(a);if(b&&(b.title||b.headline)){var c=b.title||b.headline;if(!c||c.runs||c.simpleText)return c;_.tq(_.yq(),function(){_.Fp(Error("Ud`"+((a==null?void 0:a.tagName)||"unknown")+"`"+JSON.stringify(b)))})}}};
zQa=function(a,b,c,d){if(!Gsa({href:a})&&_.GB({href:a})&&d&&(b=yQa(d)))return{replace:!1,data:GR(a,{singleColumnWatchNextResults:{results:{results:{contents:[{slimVideoMetadataSectionRenderer:{isPlaceholderData:!0,contents:[{slimVideoInformationRenderer:{title:b}}]}}]}}}})}};AQa=function(a,b,c,d){for(var e={data:{},replace:!1,qA:!1},f=_.u([uQa,sQa,vQa,zQa,xQa,wQa,qQa,tQa]),h=f.next();!h.done;h=f.next())if(h=h.value,h=h(a,b,c,d)){e=h;break}return e};
CQa=function(a){a=_.wB(a).split("/")[1];return _.M("mweb_c3_disable_carve_out")?_.M("mweb_c3_disable_carve_out_keep_external_links")?BQa.includes(a):!1:!(a[0]==="@"||{"":!0,c:!0,channel:!0,create_channel:!0,experiments:!0,feed:!0,gaming:!0,musicpremium:!0,oops:!0,paid_memberships:!0,playlist:!0,premium:!0,red:!0,results:!0,select_site:!0,shorts:!0,show:!0,source:!0,sponsorship:!0,terms:!0,user:!0,watch:!0}[a])};DQa=function(a,b){b&&(a=wi(a,b));_.ii(_.sB(),_.Gh(a))};
EQa=function(a){var b;return!((b=a.response)==null?0:b.loading)};IR=function(a){var b;return!((b=a.response)==null||!b.response)};
LQa=function(a){if(a.response){BB(a);XPa(a.response);Nsa(a.response);IR(a)&&(CR=a.response.response);EQa(a)&&IR(a)&&pK("ips");try{if(IR(a))if(_.M("mweb_enable_keto_content")){if(FQa(a.response),GQa){for(var b=_.iE.container;b.lastChild;)b.removeChild(b.lastChild);Roa(b,function(){return _.H(HQa,{data:IQa})});GQa=!1}}else(0,_.TE)(_.iE.container,qOa,a.response),_.iE.Aa&&_.M("bottom_sheet_fullscreen_content")&&(0,_.TE)(_.iE.zE,rOa,a.response)}catch(e){throw Gz(JQa),e;}EQa(a)&&IR(a)&&(Fz(JQa),pK("ipc"));
IR(a)&&(a=a.response.response,b=_.N(a.frameworkUpdates,_.JR))&&(_.hC(a.frameworkUpdates,_.JR),_.WA(b,_.CK));document.body.setAttribute("has-pivot-bar",cOa().toString());document.body.setAttribute("has-safe-area-in-max",_.SK.toString());document.body.setAttribute("has-player-custom-control",(!!_.L("MWEB_CUSTOM_CONTROL",!1)).toString());var c,d;a=window.orientation?window.orientation:((c=window.screen)==null?0:(d=c.orientation)==null?0:d.angle)?window.screen.orientation.angle:0;[90,270].includes(a)&&
document.body.setAttribute("landscape","true");KQa();_.M("config_age_report_killswitch")||uza()}};KQa=function(){var a=_.NB();document.body.setAttribute("shorts-player",a.toString())};MQa=function(a){if(a&&a.response)return a.response.url};
OQa=function(){function a(e){setTimeout(function(){ZI.then(function(){KR.navigate(e);NQa=!0})})}function b(e,f,h,k){f=f===void 0?{}:f;k=k===void 0?0:k;f.itct&&(_.qC(f.itct,k),delete f.itct);_.vu();var l=wi(e,f);h!=="_blank"&&!d.tE||d.tJ===!1?setTimeout(function(){ZI.then(function(){_.ii(_.sB(),_.Gh(l))})}):_.yi(l,"ase")==="2"?$qa(l):_.ai(window,l)}function c(e){var f=e.href,h=e.target,k=e.layer,l=e.params,m;(m=e.target)||(LR[f]||(LR[f]=(f?uB(f).hostname||_.sB().hostname:"")!==_.sB().hostname),m=LR[f]);
m?b(f,l,h,k):a(e)}var d={LF:CQa,TE:DQa,Qn:CPa,IE:AQa,iu:LQa,RR:!0,mn:ysa,bS:BB,LE:MQa,tJ:!_.Zj,tE:_.vE()};KR=mua(d);window.addEventListener("click",function(e){var f=_.aj(e.target,"A"),h=f&&f.href;if(h&&h!=="javascript:void(0);"){e.preventDefault();var k;e=(k=f.params)!=null?k:{};k=f.getAttribute("force-new-state");c({href:h,params:e,cg:{},context:f,target:f.target,ib:!!k,layer:f.layer})}});window.addEventListener("navigate",function(e){var f=e.detail;f.params||(f.params={});e=f.href;var h=f.params,
k=f.cg,l=f.target,m=f.rb,n=f.clickedVisualElement,p=f.implicitGestureType,q=f.element,r=f.pushState,t=f.endpoint;f=f.parentLayer;var w;(w=h?h.itct:null)?w=_.yu(w):q?($v(),w=_.Ep(Uv().Pu).bind(Uv())(q)):w=null;m={rb:m,parentVe:w,clickedVisualElement:n,implicitGestureType:p};q=_.M("web_replace_formatted_with_attributed_string")&&q&&q instanceof Node?_.aj(q,"A"):void 0;n=null;q?n=q:t&&(n={_data:t});c({href:e,params:h,cg:k!=null?k:{},context:n,target:l||(q==null?void 0:q.target),ib:r||!(q==null||!q.getAttribute("force-new-state")),
su:m,parentLayer:f})});window.addEventListener("prefetch",function(e){KR.dI(e.detail.command)});window.addEventListener("updateui",function(){_.M("mweb_enable_keto_content")?d.iu(Object.assign({},d.mn())):d.iu(d.mn())})};_.PQa=function(){if(!KR)throw Error("Vd");return KR};QQa=function(a,b){if(!NQa){var c=_.PQa();_.hB("initialdata",{href:a});c.handleResponse(a,b,void 0)}};
TQa=function(a,b){if((_.QH()&&_.L("IS_SHELL_LOAD",!1)||!_.M("mweb_make_cold_load_request_killswitch"))&&b&&b.response&&!b.response.contents&&!b.response.onResponseReceivedEndpoints&&b.response.responseContext&&!b.response.responseContext.errors&&_.CB(a)==="home")_.M("mweb_appshell_initial_data_in_head")&&b.initialDataResponsePromise?b.initialDataResponsePromise.then(function(m){RQa(a,m)}).catch(function(){SQa(a)}):SQa(a);else{if((b==null?0:b.response)&&b.response.replacementEndpoint){var c=b.response;
_.N(c.replacementEndpoint,_.eD)&&c.sequenceContinuation&&(_.N(c.replacementEndpoint,_.eD).sequenceParams=c.sequenceContinuation);_.vC(c.replacementEndpoint,b.response,!1)}Nsa(b);QQa(a,{response:b,yF:!0});var d=_.dw(),e,f,h;c=((f=_.N(b==null?void 0:(e=b.response)==null?void 0:e.responseContext,Lsa))==null?void 0:(h=f.ytConfigData)==null?void 0:h.rootVisualElementType)||parseInt(_.L("ROOT_VE_TYPE"),10);e=b.endpoint;d.ta=!0;f={wk:[_.pj(b)],key:location.href};oya(d,b,f);var k,l;d=(l=_.N(b==null?void 0:
(k=b.endpoint)==null?void 0:k.commandMetadata,_.ew))==null?void 0:l.url;_.CB(a)==="clip"?_.N(b==null?void 0:b.endpoint,_.DB)&&(a=sca(a,d||"")):_.M("mweb_use_server_url_on_startup")&&d&&!qia()&&(a=d);_.M("mweb_use_new_history_manager")?(k=_.K().resolve(YC),k()?k().Qz(a,b,0,{params:{rootVe:c.toString(),endpoint:JSON.stringify(e)}}):WC({replace:!0,href:a,params:{rootVe:c.toString(),endpoint:JSON.stringify(e)}})):_.M("mweb_use_new_browser_history")?_.K().resolve($C).replaceState({params:{rootVe:c.toString(),
endpoint:JSON.stringify(e)}},a):WC({replace:!0,href:a,params:{rootVe:c.toString(),endpoint:JSON.stringify(e)}})}};MR=function(a){_.AB||(_.AB=a,_.iB())};SQa=function(a){_.M("mweb_make_cold_load_request_killswitch")||XC(XC(sPa(a,{pbjcold:"1"}),function(b){var c=b.done;b=b.value;b.response&&b.response.reload&&(_.av(Error("Wd")),b=vR(Error(UQa)));return{done:c,value:b}},function(b){Math.random()<.01&&_.av(b);return{done:!0,value:vR(b)}}),function(b){var c=b.done;b=b.value;c&&b.response&&RQa(a,b.response)})};
RQa=function(a,b){if(b.guideResponse&&!RQ){var c=b.guideResponse;RQ=c;UOa(c);_.iB()}b.reelWatchSequenceResponse&&MR(b.reelWatchSequenceResponse);TQa(a,b)};VQa=function(){this.j=new Map;this.o=this.pageType=""};XQa=function(){return Promise.resolve(_.bB(_.cB,_.WQa))};ZQa=function(){return Promise.resolve(_.bB(_.cB,_.YQa))};
aRa=function(a,b,c){var d=_.$Qa;if(b)return b=d.j.get(a),b?b[0]:(b=_.$o({cf:a}),d.j.set(a,b),b[0]);b=d.j.get(a);if(!b){var e={cf:a};d.j.set(a,[e,function(f){e=f;c==null||c()}]);return e}return b[0]};bRa=function(){return _.H(_.F,null,_.H("div",{class:"spinnerWrapper"},_.H("div",{class:"spinner"})))};cRa=function(a){return a.filter(function(b){return hG(b)})};
dRa=function(a,b,c){for(var d=0;d<b.length;d++)for(var e=_.u(Object.keys(b[d])),f=e.next();!f.done;f=e.next())if(hG(f.value)){f=aRa(b[d],!1,c);f=typeof f!=="function"?f:_.Yo(f);var h=void 0,k=void 0;if((h=f)==null?0:(k=h.replacement)==null?0:k.data)k=h=void 0,b[d]=(h=f)==null?void 0:(k=h.replacement)==null?void 0:k.data;h=Object.keys(b[d])[0];var l=k=void 0;!a[h]&&((k=f)==null?0:(l=k.replacement)==null?0:l.Po[h])&&(l=k=void 0,a[h]=(k=f)==null?void 0:(l=k.replacement)==null?void 0:l.Po[h]);h=void 0;
((h=f)==null?void 0:h.hide)===!0&&delete b[d]}return b};
eRa=function(a,b){for(var c=0;c<b.length;c++)for(var d=_.u(Object.keys(b[c])),e=d.next();!e.done;e=d.next())if(hG(e.value)){e=aRa(b[c],!0);e=typeof e!=="function"?e:_.Yo(e);var f=void 0,h=void 0;if((f=e)==null?0:(h=f.replacement)==null?0:h.data)h=f=void 0,b[c]=(f=e)==null?void 0:(h=f.replacement)==null?void 0:h.data;f=Object.keys(b[c])[0];var k=h=void 0;!a[f]&&((h=e)==null?0:(k=h.replacement)==null?0:k.Po[f])&&(k=h=void 0,a[f]=(h=e)==null?void 0:(k=h.replacement)==null?void 0:k.Po[f]);f=void 0;((f=
e)==null?void 0:f.hide)===!0&&delete b[c]}return b};gRa=function(a,b){if(fRa(a,b))return b;Psa(Object.values(a));return new Promise(function(c){TB(!0).then(function(){fRa(a,b);c(b)},function(){c(b)})})};fRa=function(a,b){var c=0,d=0,e;for(e in a){d++;var f=a[e].toString();UB[f]||VB(f,0);(f=UB[f])&&f.qc&&(f.qc.V?(b.mapping[e]=f.qc.V,c++,delete a[e]):f.qc.K&&(b.mapping[e]=_.sD(f.qc.K),c++,delete a[e]))}return c===d};
hRa=function(){NR.clear();return new IntersectionObserver(function(a){a=_.u(a);for(var b=a.next();!b.done;b=a.next())b=b.value,b.isIntersecting?NR.add(b.target):NR.delete(b.target);a=null;b=_.u(NR);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!a||c.offsetTop<a.offsetTop)a=c;a!==OR&&(_.wQ(),a&&(OR=a,vQ()))},PR)};vQ=function(){if(OR&&!uQ){var a=QR.get(OR);if(a){var b;(b=a.AR)==null||b.call(a);NMa(function(){a.Ey()})}}};_.wQ=function(){iRa();OR=void 0};
iRa=function(){if(OR){oQ();var a;(a=QR.get(OR))==null||a.Dy()}};kRa=function(){this.zj=this.Qp=!1;this.Pc=hRa();jRa(this)};jRa=function(a){window.addEventListener("hashchange",function(){lRa(a,!!_.sB().hash)});window.addEventListener("navigate",function(b){var c,d,e;b=(e=b==null?void 0:(c=b.detail)==null?void 0:(d=c.href)==null?void 0:d.includes("#"))!=null?e:!1;lRa(a,b)})};lRa=function(a,b){b?(a.zj=!0,_.SN()):a.zj&&(a.zj=!1,uQ&&_.yQ(a))};
uG=function(a,b){a.Pc.unobserve(b.Ge);NR.delete(b.Ge);b.Ge===OR&&_.wQ();QR.delete(b.Ge)};_.SN=function(){uQ=!0;iRa()};_.yQ=function(a){uQ&&!a.zj&&(uQ=!1,vQ())};_.xQ=function(a){oQ();QR.clear();a.Pc.disconnect();a.Pc=hRa()};_.mRa=function(){return null};nRa=function(){return _.mRa()};
pRa=function(){function a(){var b=sG.apply(this,arguments)||this;b.xz=0;b.Dz=0;return b}_.v(a,sG);a.prototype.lp=function(b,c,d){b?this.Dz++:this.xz++;if(_.M("mweb_history_state_limit")&&oRa&&this.xz+this.Dz>=90)this.kp(d);else try{sG.prototype.lp.call(this,b,c,d)}catch(e){this.kp(d,e)}};a.prototype.kp=function(b,c){setTimeout(function(){_.ii(_.sB(),_.Gh(b))});c&&_.av(c)};a.prototype.ln=function(){return null};a.prototype.sg=function(){var b=this.ln();if(b)return _.lC(function(){return b.previousUrl})};
a.prototype.pn=function(){var b=this.getParams();return b?Number(b.rootVe):void 0};a.prototype.Ri=function(){var b=this.getParams();try{return b&&b.endpoint?JSON.parse(b.endpoint):void 0}catch(c){}};a.prototype.getParams=function(){var b=this.ln();if(b)return _.lC(function(){return b.params})};return a};RR=function(){return qRa.call(this,window.history)||this};rRa=function(){};_.SR=function(a,b){this.j=a;this.af=b};sRa=function(){};TR=function(a){this.A=this.j=a};UR=function(){kH.apply(this,arguments)};
_.VR=function(a,b,c,d){var e;return _.z(function(f){switch(f.j){case 1:if(!c){f.L(2);break}return _.x(f,a.mi(b,c),2);case 2:return _.x(f,a.isVisible(b),4);case 4:return f.o?f.return():_.x(f,a.nn(b),5);case 5:e=f.o,_.hB("engagement-panel-push",{identifier:b,Ws:e,yG:d}),_.wa(f)}})};_.bR=function(a,b){return _.z(function(c){_.hB("engagement-panel-pop",{identifier:b});_.wa(c)})};WR=function(){TI.call(this);var a=this;this.ub=new _.gD(0,function(b){a.logVisibility(b)})};
uRa=function(a){var b=_.K(),c=b.resolve(tRa);b.resolve(sR)().then(function(d){a.endpoint&&(d=d.Uw(a.endpoint),d.content&&a.response&&hH(c,a.response,d.content),d.player&&a.playerResponse&&hH(c,a.playerResponse,d.player),d.ai&&a.reelWatchSequenceResponse&&hH(c,a.reelWatchSequenceResponse,d.ai))})};
ZR=function(a,b){if(!_.M("mweb_startup_entities_processing_killswitch")){a=a.fa.resolve(YR);var c,d=_.N((c=b.response)==null?void 0:c.frameworkUpdates,_.JR),e;c=_.N((e=b.playerResponse)==null?void 0:e.frameworkUpdates,_.JR);var f;e=_.N((f=b.reelWatchSequenceResponse)==null?void 0:f.frameworkUpdates,_.JR);d&&_.WA(d,a);c&&_.WA(c,a);e&&_.WA(e,a)}f=window.location.href;b.url?window.location.hash&&(b.url+=window.location.hash):b.url=f;TQa(b.url||window.location.href,b);uRa(b)};
vRa=function(a){var b,c,d;return _.z(function(e){if(e.j==1)return b=window,b.getDataPromise?_.x(e,b.getDataPromise(),3):e.L(2);if(e.j!=2)return c=e.o,ZR(a,c),e.return();b.getInitialData?(d=b.getInitialData(),b.getInitialData=void 0,ZR(a,d)):b.loadInitialData=function(f){ZR(a,f)};_.wa(e)})};wRa=function(){window.addEventListener("yt-innertube-command",function(a){var b=a.detail;b&&_.vC(b,{},!1,{event:a})})};yRa=function(){window.addEventListener("yt-show-toast",function(a){var b=a.detail;b&&_.UL(function(){xRa(b)})})};
_.$R=function(a,b){_.zRa.push({action:a,context:b})};ARa=function(){var a=_.lC(function(){var b;return(b=_.rE())==null?void 0:b.getPlayerState()});return a===-1||a===1||a===3};
BRa=function(a){if(ARa()){for(var b=_.u(QI.showWarningActions||[]),c=b.next();!c.done;c=b.next())_.$R(c.value,{currentData:{},sourceData:{}});SI("YOU_THERE_EVENT_TYPE_PROMPT_SHOWN",a);SI("YOU_THERE_EVENT_TYPE_WARNING_PROMPT_SHOWN",a);aS=setTimeout(function(){if(ARa()){for(var d=_.u(QI.showPausedActions||[]),e=d.next();!e.done;e=d.next())_.$R(e.value,{currentData:{},sourceData:{}});SI("YOU_THERE_EVENT_TYPE_PLAYBACK_PAUSED",a)}},QI.playbackPauseDelayMs)}};
cS=function(){bS&&(clearTimeout(bS),bS=0);aS&&(clearTimeout(aS),aS=0)};
CRa=function(){var a=_.zB;if(a&&a.response&&a.response.playerResponse&&a.response.playerResponse.messages&&(a=a.response.playerResponse.messages.filter(function(h){return h.youThereRenderer}))&&a.length)var b=a[0].youThereRenderer;if(b){cS();var c,d;if((c=b)==null?0:(d=c.configData)==null?0:d.youThereData){var e=_.Du()||void 0;_.rE()&&_.rE().getVideoData&&_.rE().getVideoData()&&_.rE().getVideoData().cpn?RI=_.rE().getVideoData().cpn:RI=void 0;if(QI=b.configData.youThereData){var f;bS=setTimeout(function(){BRa(e)},
Math.max(1,((f=QI)==null?void 0:f.promptDelaySec)||0)*1E3)}}}};DRa=function(){if(bS||aS)cS(),SI("YOU_THERE_EVENT_TYPE_LACT_RESET",_.Du()),_.vu()};
ERa=function(){function a(b,c){var d=!(!c||!c.bubbles),e=!(!c||!c.cancelable);c=c?c.detail:void 0;try{var f=document.createEvent("HTMLEvents");f.initEvent(b,d,e);f.detail=c}catch(k){f=document.createEvent("Event");for(var h in Object.keys(c))f[h]=c[h];f.initEvent(b,d,e)}return f}typeof window.CustomEvent!=="function"&&(a.prototype=window.Event.prototype,window.CustomEvent=a)};
FRa=function(){"hidden"in HTMLElement.prototype||Object.defineProperty(HTMLElement.prototype,"hidden",{get:function(){return this.hasAttribute("hidden")},set:function(a){a?this.setAttribute("hidden",""):this.removeAttribute("hidden")}})};
GRa=function(){"isConnected"in Node.prototype||Object.defineProperty(Node.prototype,"isConnected",{get:function(){var a;if(typeof((a=this.ownerDocument)==null?void 0:a.contains)==="function"){var b;return(b=this.ownerDocument)==null?void 0:b.contains(this)}a:{for(a=this;a;){a=a.parentNode;if(a==null)break;if(a===(this.ownerDocument?this.ownerDocument:document)){a=!0;break a}}a=!1}return a}})};IRa=function(){typeof window.queueMicrotask!=="function"&&(window.queueMicrotask=function(a){return HRa.then(a)})};
JRa=function(a){var b,c,d,e;(a==null?0:(b=a.detail)==null?0:(c=b.data)==null?0:(d=c.response)==null?0:(e=d.response)==null?0:e.responseContext)&&Zna()};LRa=function(){EI().Al("cr");if(_.M("web_worker_availability_check")&&!KRa.has("Worker")){KRa.set("Worker",!0);var a={api:"BROWSER_API_WEB_WORKER"};a.available="Worker"in window?!0:!1;_.uu("apiTest",a)}};
XRa=function(){_.et(document.body,"loading");_.M("enable_cairo_refresh_web")&&document.documentElement.setAttribute("refresh","");_.M("enable_cairo_refresh_signature_moments_web")&&document.documentElement.setAttribute("refresh-signature-moments","");MRa();pHa();OQa();sp("CSI_SERVICE_NAME","youtube_mobile");window.addEventListener("initialdata",sCa);window.addEventListener("player-dom-paused",tCa);window.addEventListener("playback-unplayable",uCa);window.addEventListener("state-navigatestart",vCa);
window.addEventListener("state-responsereceived",BCa);window.addEventListener("state-navigateend",DCa);NPa()&&(window.addEventListener("player-fullscreen-toggled",FPa),window.addEventListener("hashchange",JPa));PPa();fPa();yOa({message:"",name:"",lineNumber:"",fileName:"",stack:"",sampleWeight:0,params:{}})||(EOa(),IOa(),KOa(),COa());window.addEventListener("state-navigatestart",_.DQ);var a=_.iE.container;if(!a)throw Error("Zd");a=new MI({root:a,fa:_.K()});a.install(NRa);po=Uha;eha=yoa;fha=Boa;gha=
Doa;a.install(ORa);a.install(PRa);a.install(QRa);_.M("start_client_gcf_mweb")&&a.install(RRa);_.M("mweb_delay_watch_initial_data")&&HB({href:window.location.href})?a.install(SRa):a.install(TRa);_.M("mweb_c3_enable_adaptive_signals")&&a.install(URa);a.install(VRa);_.M("enable_chrome_related_websites_storage_access")&&a.install(WRa);a.transition("initialized");xPa();cPa();window.addEventListener("state-navigateend",POa);$Ha();window.addEventListener("state-progress",XOa);window.addEventListener("state-responsereceived",
JRa);window.addEventListener("state-navigateend",ePa);bQa();window.addEventListener("state-navigateend",vHa);window.addEventListener("player-state-change",iQa);yRa();wRa();window.addEventListener("state-navigateend",SPa);window.addEventListener("scroll",tHa);window.addEventListener("resize",rHa);window.addEventListener("state-navigateend",MOa);_.M("youthere_supported")&&(window.addEventListener("state-navigatestart",cS),window.addEventListener("state-navigateend",CRa),window.addEventListener("user-activity",
DRa));IHa();_.M("mweb_fp_fetch_wn_after_playback")&&(window.addEventListener("state-change",lQa),window.addEventListener("player-error",oQa),window.addEventListener("playback-unplayable",oQa),window.addEventListener("state-navigateend",mQa),window.addEventListener("video-data-change",nQa));EPa();fNa();_.sB().hash&&SOa();$N();_.jJ();YOa();EI().Al("ci");a=window;_.GB({href:window.location.href})||MB()||_.oB(function(){VOa().then(function(){_.iB()})});a.ytInitialReelWatchSequenceResponse?MR(JSON.parse(a.ytInitialReelWatchSequenceResponse)):
a.loadReelWatchSequenceResponse=MR};
$Ra=function(){sBa();Gpa();ERa();FRa();GRa();IRa();pK("ai");XRa();pK("apr");_.Tz(window,"state-navigateend",function(){_.oB(LRa)});window.addEventListener("state-navigateend",function(a){_.oB(function(){var b=window.location.pathname,c=_.CB();if(YRa.includes(c)||c==="browse"&&ZRa.includes(b))_.LL();else if(c==="channel")if(a.detail){var d=a.detail;b=d.data;c=d.endpoint;d=d.Dj;var e;if(e=b&&!b.yF&&c&&d){var f,h;e=((f=_.N(c,_.DB))==null?void 0:f.browseId)&&_.N(c,_.DB).browseId===((h=_.N(d,_.DB))==null?
void 0:h.browseId)}if(f=e){var k,l,m,n,p,q;f=((q=(k=b.response)==null?void 0:(l=k.response)==null?void 0:(m=l.contents)==null?void 0:(n=m.singleColumnBrowseResultsRenderer)==null?void 0:(p=n.tabs)==null?void 0:p.length)!=null?q:0)>1}f?_.sm("ytm-single-column-browse-results-renderer *[role=tablist] [aria-selected=true]"):_.LL()}else _.LL()})})};
MRa=function(){var a={};jBa().install((a.document_disposed={callback:aSa},a.flush_logs={callback:function(){_.vu()}},a.document_hidden={callback:_.vu,priority:1},a))};aSa=function(){_.M("finalize_all_timelines")?Mna():uv();zz(xz);Bz!=null&&Bz.flush()};cSa=function(){_.Tz(window,"state-navigateend",function(){_.Tz(window,"updateui",function(){_.oB(function(){_.bB(_.cB,_.bSa).then(function(a){a();_.iB()})})})})};
da=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};_.ba=aaa(this);ea("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("b");return new c(d+(f||"")+"_"+e++,f)}function c(f,h){this.j=f;da(this,"description",{configurable:!0,writable:!0,value:h})}if(a)return a;c.prototype.toString=function(){return this.j};var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});
ea("Symbol.iterator",function(a){if(a)return a;a=Symbol("c");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=_.ba[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&da(d.prototype,a,{configurable:!0,writable:!0,value:function(){return fa(aa(this))}})}return a});ea("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var dSa=typeof Object.assign=="function"?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)na(d,e)&&(a[e]=d[e])}return a};ea("Object.assign",function(a){return a||dSa});
var ra=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},dS=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if(typeof Reflect!="undefined"&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){e===void 0&&(e=c);e=ra(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),eS;if(typeof Object.setPrototypeOf=="function")eS=Object.setPrototypeOf;else{var fS;a:{var eSa={a:!0},fSa={};try{fSa.__proto__=eSa;fS=fSa.a;break a}catch(a){}fS=!1}eS=fS?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}_.sa=eS;ta.prototype.O=function(a){this.o=a};ta.prototype.return=function(a){this.A={return:a};this.j=this.B};ta.prototype.L=function(a){this.j=a};ea("Reflect",function(a){return a?a:{}});ea("Reflect.construct",function(){return dS});
ea("Reflect.setPrototypeOf",function(a){return a?a:_.sa?function(b,c){try{return(0,_.sa)(b,c),!0}catch(d){return!1}}:null});
ea("Promise",function(a){function b(h){this.j=0;this.A=void 0;this.o=[];this.H=!1;var k=this.B();try{h(k.resolve,k.reject)}catch(l){k.reject(l)}}function c(){this.j=null}function d(h){return h instanceof b?h:new b(function(k){k(h)})}if(a&&(typeof _.ba.PromiseRejectionEvent!=="undefined"||!_.ba.Promise||_.ba.Promise.toString().indexOf("[native code]")===-1))return a;c.prototype.o=function(h){if(this.j==null){this.j=[];var k=this;this.A(function(){k.G()})}this.j.push(h)};var e=_.ba.setTimeout;c.prototype.A=
function(h){e(h,0)};c.prototype.G=function(){for(;this.j&&this.j.length;){var h=this.j;this.j=[];for(var k=0;k<h.length;++k){var l=h[k];h[k]=null;try{l()}catch(m){this.B(m)}}}this.j=null};c.prototype.B=function(h){this.A(function(){throw h;})};b.prototype.B=function(){function h(m){return function(n){l||(l=!0,m.call(k,n))}}var k=this,l=!1;return{resolve:h(this.ha),reject:h(this.G)}};b.prototype.ha=function(h){if(h===this)this.G(new TypeError("j"));else if(h instanceof b)this.ta(h);else{a:switch(typeof h){case "object":var k=
h!=null;break a;case "function":k=!0;break a;default:k=!1}k?this.ba(h):this.J(h)}};b.prototype.ba=function(h){var k=void 0;try{k=h.then}catch(l){this.G(l);return}typeof k=="function"?this.xa(k,h):this.J(h)};b.prototype.G=function(h){this.O(2,h)};b.prototype.J=function(h){this.O(1,h)};b.prototype.O=function(h,k){if(this.j!=0)throw Error("k`"+h+"`"+k+"`"+this.j);this.j=h;this.A=k;this.j===2&&this.pa();this.W()};b.prototype.pa=function(){var h=this;e(function(){if(h.Z()){var k=_.ba.console;typeof k!==
"undefined"&&k.error(h.A)}},1)};b.prototype.Z=function(){if(this.H)return!1;var h=_.ba.CustomEvent,k=_.ba.Event,l=_.ba.dispatchEvent;if(typeof l==="undefined")return!0;typeof h==="function"?h=new h("unhandledrejection",{cancelable:!0}):typeof k==="function"?h=new k("unhandledrejection",{cancelable:!0}):(h=_.ba.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.A;return l(h)};b.prototype.W=function(){if(this.o!=null){for(var h=0;h<this.o.length;++h)f.o(this.o[h]);
this.o=null}};var f=new c;b.prototype.ta=function(h){var k=this.B();h.Bm(k.resolve,k.reject)};b.prototype.xa=function(h,k){var l=this.B();try{h.call(k,l.resolve,l.reject)}catch(m){l.reject(m)}};b.prototype.then=function(h,k){function l(q,r){return typeof q=="function"?function(t){try{m(q(t))}catch(w){n(w)}}:r}var m,n,p=new b(function(q,r){m=q;n=r});this.Bm(l(h,m),l(k,n));return p};b.prototype.catch=function(h){return this.then(void 0,h)};b.prototype.Bm=function(h,k){function l(){switch(m.j){case 1:h(m.A);
break;case 2:k(m.A);break;default:throw Error("l`"+m.j);}}var m=this;this.o==null?f.o(l):this.o.push(l);this.H=!0};b.resolve=d;b.reject=function(h){return new b(function(k,l){l(h)})};b.race=function(h){return new b(function(k,l){for(var m=_.u(h),n=m.next();!n.done;n=m.next())d(n.value).Bm(k,l)})};b.all=function(h){var k=_.u(h),l=k.next();return l.done?d([]):new b(function(m,n){function p(t){return function(w){q[t]=w;r--;r==0&&m(q)}}var q=[],r=0;do q.push(void 0),r++,d(l.value).Bm(p(q.length-1),n),
l=k.next();while(!l.done)})};return b});ea("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=La(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<f&&c<e;)if(d[c++]!=b[h++])return!1;return h>=f}});ea("Object.setPrototypeOf",function(a){return a||_.sa});ea("Symbol.dispose",function(a){return a?a:Symbol("o")});ea("Array.prototype.find",function(a){return a?a:function(b,c){return Ma(this,b,c).PA}});
ea("WeakMap",function(a){function b(l){this.j=(k+=Math.random()+1).toString();if(l){l=_.u(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(!na(l,h)){var m=new c;da(l,h,{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 h="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var k=0;b.prototype.set=function(l,m){if(!d(l))throw Error("p");e(l);if(!na(l,h))throw Error("q`"+l);l[h][this.j]=m;return this};b.prototype.get=function(l){return d(l)&&na(l,h)?l[h][this.j]:void 0};b.prototype.has=function(l){return d(l)&&na(l,h)&&na(l[h],this.j)};b.prototype.delete=
function(l){return d(l)&&na(l,h)&&na(l[h],this.j)?delete l[h][this.j]:!1};return b});
ea("Map",function(a){function b(){var k={};return k.Vf=k.next=k.head=k}function c(k,l){var m=k[1];return fa(function(){if(m){for(;m.head!=k[1];)m=m.Vf;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})}function d(k,l){var m=l&&typeof l;m=="object"||m=="function"?f.has(l)?m=f.get(l):(m=""+ ++h,f.set(l,m)):m="p_"+l;var n=k[0][m];if(n&&na(k[0],m))for(k=0;k<n.length;k++){var p=n[k];if(l!==l&&p.key!==p.key||l===p.key)return{id:m,list:n,index:k,entry:p}}return{id:m,
list:n,index:-1,entry:void 0}}function e(k){this[0]={};this[1]=b();this.size=0;if(k){k=_.u(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var k=Object.seal({x:4}),l=new a(_.u([[k,"s"]]));if(l.get(k)!="s"||l.size!=1||l.get({x:4})||l.set({x:4},"t")!=l||l.size!=2)return!1;var m=l.entries(),n=m.next();if(n.done||n.value[0]!=k||n.value[1]!="s")return!1;n=m.next();return n.done||
n.value[0].x!=4||n.value[1]!="t"||!m.next().done?!1:!0}catch(p){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(k,l){k=k===0?0:k;var m=d(this,k);m.list||(m.list=this[0][m.id]=[]);m.entry?m.entry.value=l:(m.entry={next:this[1],Vf:this[1].Vf,head:this[1],key:k,value:l},m.list.push(m.entry),this[1].Vf.next=m.entry,this[1].Vf=m.entry,this.size++);return this};e.prototype.delete=function(k){k=d(this,k);return k.entry&&k.list?(k.list.splice(k.index,1),k.list.length||delete this[0][k.id],
k.entry.Vf.next=k.entry.next,k.entry.next.Vf=k.entry.Vf,k.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].Vf=b();this.size=0};e.prototype.has=function(k){return!!d(this,k).entry};e.prototype.get=function(k){return(k=d(this,k).entry)&&k.value};e.prototype.entries=function(){return c(this,function(k){return[k.key,k.value]})};e.prototype.keys=function(){return c(this,function(k){return k.key})};e.prototype.values=function(){return c(this,function(k){return k.value})};
e.prototype.forEach=function(k,l){for(var m=this.entries(),n;!(n=m.next()).done;)n=n.value,k.call(l,n[1],n[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var h=0;return e});ea("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)na(b,d)&&c.push(b[d]);return c}});ea("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
ea("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});ea("String.prototype.includes",function(a){return a?a:function(b,c){return La(this,b,"includes").indexOf(b,c||0)!==-1}});ea("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
ea("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});ea("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});ea("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});
ea("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});ea("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});ea("Array.prototype.entries",function(a){return a?a:function(){return Na(this,function(b,c){return[b,c]})}});ea("Array.prototype.keys",function(a){return a?a:function(){return Na(this,function(b){return b})}});
ea("Array.prototype.values",function(a){return a?a:function(){return Na(this,function(b,c){return c})}});ea("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(k){return k};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});
ea("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;c<0&&(c=Math.max(0,e+c));if(d==null||d>e)d=e;d=Number(d);d<0&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});ea("Int8Array.prototype.fill",Oa);ea("Uint8Array.prototype.fill",Oa);ea("Uint8ClampedArray.prototype.fill",Oa);ea("Int16Array.prototype.fill",Oa);ea("Uint16Array.prototype.fill",Oa);ea("Int32Array.prototype.fill",Oa);ea("Uint32Array.prototype.fill",Oa);
ea("Float32Array.prototype.fill",Oa);ea("Float64Array.prototype.fill",Oa);
ea("Set",function(a){function b(c){this.j=new Map;if(c){c=_.u(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.j.size}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(_.u([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=
4||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.j.set(c,c);this.size=this.j.size;return this};b.prototype.delete=function(c){c=this.j.delete(c);this.size=this.j.size;return c};b.prototype.clear=function(){this.j.clear();this.size=0};b.prototype.has=function(c){return this.j.has(c)};b.prototype.entries=function(){return this.j.entries()};b.prototype.values=function(){return this.j.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.j.forEach(function(f){return c.call(d,f,f,e)})};return b});ea("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)na(b,d)&&c.push([d,b[d]]);return c}});ea("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=La(this,b,"endsWith");c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});
ea("String.prototype.repeat",function(a){return a?a:function(b){var c=La(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("r");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});ea("Array.prototype.at",function(a){return a?a:Pa});ea("Int8Array.prototype.at",Qa);ea("Uint8Array.prototype.at",Qa);ea("Uint8ClampedArray.prototype.at",Qa);ea("Int16Array.prototype.at",Qa);ea("Uint16Array.prototype.at",Qa);ea("Int32Array.prototype.at",Qa);ea("Uint32Array.prototype.at",Qa);
ea("Float32Array.prototype.at",Qa);ea("Float64Array.prototype.at",Qa);ea("String.prototype.at",function(a){return a?a:Pa});ea("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError("s`"+b);b=b[Symbol.iterator].call(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;if(Object(d)!==d)throw new TypeError("t");c[d[0]]=d[1]}return c}});ea("Array.prototype.findIndex",function(a){return a?a:function(b,c){return Ma(this,b,c).i}});
ea("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});ea("globalThis",function(a){return a||_.ba});ea("Math.sign",function(a){return a?a:function(b){b=Number(b);return b===0||isNaN(b)?b:b>0?1:-1}});
ea("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});
ea("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("u");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});ea("String.raw",function(a){return a?a:function(b,c){if(b==null)throw new TypeError("v");for(var d=b.raw,e=d.length,f="",h=0;h<e;++h)f+=d[h],h+1<e&&h+1<arguments.length&&(f+=String(arguments[h+1]));return f}});
ea("Object.hasOwn",function(a){return a?a:function(b,c){return Object.prototype.hasOwnProperty.call(b,c)}});ea("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});
ea("String.prototype.padStart",function(a){return a?a:function(b,c){var d=La(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";return(b>0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});_._DumpException=window._DumpException||function(a){throw a;};window._DumpException=_._DumpException;window.ytcsi&&window.ytcsi.tick&&window.ytcsi.tick("rses_dpj");var Bk,gS,daa;Bk=Bk||{};_.Sa=this||self;gS=_.Sa._F_toggles||[];daa=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;Ya.get=function(){return null};var Wa=null,db="closure_uid_"+(Math.random()*1E9>>>0),eaa=0;_.ib(_.nb,Error);_.nb.prototype.name="CustomError";var xca;_.ib(ob,_.nb);ob.prototype.name="AssertionError";var Mf=void 0,Lf,Gaa=typeof TextDecoder!=="undefined",rb,iaa=typeof String.prototype.uG==="function",haa=typeof TextEncoder!=="undefined";var tda=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},gSa=/&/g,hSa=/</g,iSa=/>/g,jSa=/"/g,kSa=/'/g,lSa=/\x00/g,mSa=/[\x00&<>"']/;var hS=!!(gS[0]&4096),iS=!!(gS[0]&128),nSa=!!(gS[0]&8192),oSa=!!(gS[0]&64),pSa=!!(gS[0]&2),qSa=!!(gS[0]&4),rSa=!!(gS[0]&8),sSa=!!(gS[0]&16),tSa=!!(gS[0]&32);var jS,Haa,uSa,vSa,wSa,Caa;jS=Va(1,!0);_.Bb=hS?nSa:Va(610401301,!1);Haa=hS?iS||!oSa:Va(188588736,!0);uSa=hS?iS||!pSa:Va(641353869,jS);vSa=hS?qSa:Va(644029907,!1);wSa=hS?iS||!rSa:Va(1822726157,jS);Caa=hS?iS||!sSa:Va(645172343,jS);_.We=hS?iS||!tSa:Va(653718497,jS);var xSa;xSa=_.Sa.navigator;_.Cb=xSa?xSa.userAgentData||null:null;var Pb,Ana,Bna,ht,Wqa;Pb=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<a.length;c++)if(c in a&&a[c]===b)return c;return-1};_.Xi=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)};
Ana=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f=typeof a==="string"?a.split(""):a,h=0;h<c;h++)if(h in f){var k=f[h];b.call(void 0,k,h,a)&&(d[e++]=k)}return d};_.yp=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e=typeof a==="string"?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d};
Bna=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;(0,_.Xi)(a,function(e,f){d=b.call(void 0,d,e,f,a)});return d};ht=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};
Wqa=Array.prototype.every?function(a,b){return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};Yb[" "]=function(){};var ySa,uja,Yj,Ui,mqa,xOa,zSa,MPa;ySa=Hb();_.Zj=Gb()?!1:_.Eb("Trident")||_.Eb("MSIE");uja=_.Eb("Edge");Yj=_.Eb("Gecko")&&!(_.zb(_.Ab().toLowerCase(),"webkit")&&!_.Eb("Edge"))&&!(_.Eb("Trident")||_.Eb("MSIE"))&&!_.Eb("Edge");Ui=_.zb(_.Ab().toLowerCase(),"webkit")&&!_.Eb("Edge");mqa=Ui&&_.Eb("Mobile");xOa=Lb()?_.Cb.platform==="macOS":_.Eb("Macintosh");Lb()||_.Eb("Windows");(Lb()?_.Cb.platform==="Linux":_.Eb("Linux"))||Lb()||_.Eb("CrOS");_.$z=Lb()?_.Cb.platform==="Android":_.Eb("Android");zSa=Mb();
MPa=_.Eb("iPad");_.Eb("iPod");_.SK=Mb()||_.Eb("iPad")||_.Eb("iPod");_.VM=_.zb(_.Ab().toLowerCase(),"kaios");var Tia,Uia;_.ASa=Ib();Tia=Mb()||_.Eb("iPod");Uia=_.Eb("iPad");!_.Eb("Android")||Jb()||Ib()||Hb()||_.Eb("Silk");Jb();var Yia=_.Kb()&&!(Mb()||_.Eb("iPad")||_.Eb("iPod"));var bc,hc;bc={};hc=null;_.BSa=Yj||Ui||typeof _.Sa.btoa=="function";var mc=typeof Uint8Array!=="undefined",ic=!_.Zj&&typeof btoa==="function",kc=/[-_.]/g,maa={"-":"+",_:"/",".":"="},oc={};var qc;pc.prototype.isEmpty=function(){return this.j==null};pc.prototype.sizeBytes=function(){var a=sc(this);return a?a.length:0};var wc;var Pe=typeof Symbol==="function"&&typeof Symbol()==="symbol",kS=Ac(),zd=Ac("0di"),Baa=Ac("2ex"),Qe=Ac("1oa"),he=Ac("0dg"),lS=Ac("64big");var Bc,ve;Bc=Pe?function(a,b){a[kS]|=b}:function(a,b){a.xe!==void 0?a.xe|=b:Object.defineProperties(a,{xe:{value:b,configurable:!0,writable:!0,enumerable:!1}})};ve=Pe?function(a,b){a[kS]&=~b}:function(a,b){a.xe!==void 0&&(a.xe&=~b)};_.Lc=Pe?function(a){return a[kS]|0}:function(a){return a.xe|0};_.fe=Pe?function(a){return a[kS]}:function(a){return a.xe};_.Ec=Pe?function(a,b){a[kS]=b}:function(a,b){a.xe!==void 0?a.xe=b:Object.defineProperties(a,{xe:{value:b,configurable:!0,writable:!0,enumerable:!1}})};var wd={},Gc={},ue,CSa=[],Pc,sg;(0,_.Ec)(CSa,55);ue=Object.freeze(CSa);Oc.prototype.next=function(){if(this.A<this.j.length){var a=this.j[this.A++];return{done:!1,value:this.o?this.o.call(this.B,a):a}}return{done:!0,value:void 0}};Oc.prototype[Symbol.iterator]=function(){return new Oc(this.j,this.o,this.B)};_.Ve=Object.freeze({});Object.freeze({});var De=Object.freeze({});var Faa=typeof Uint8Array.prototype.slice==="function",Rc=0,Sc=0,Ig;var paa=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var Fd=void 0,Gd=void 0;var Id,Kd,Ld;var waa={},DSa=function(){try{var a=function(){return dS(Map,[],this.constructor)};_.v(a,Map);Yb(new a);return!1}catch(b){return!0}}();_.g=Od.prototype;_.g.get=function(a){return this.j.get(a)};_.g.set=function(a,b){this.j.set(a,b);this.size=this.j.size;return this};_.g.delete=function(a){a=this.j.delete(a);this.size=this.j.size;return a};_.g.clear=function(){this.j.clear();this.size=this.j.size};_.g.has=function(a){return this.j.has(a)};_.g.entries=function(){return this.j.entries()};_.g.keys=function(){return this.j.keys()};
_.g.values=function(){return this.j.values()};_.g.forEach=function(a,b){return this.j.forEach(a,b)};Od.prototype[Symbol.iterator]=function(){return this.entries()};var Qd=function(){function a(){return dS(Map,[],this.constructor)}if(DSa)return Object.setPrototypeOf(Od.prototype,Map.prototype),Object.defineProperties(Od.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),Od;_.v(a,Map);return a}();_.v(Rd,Qd);_.g=Rd.prototype;_.g.clear=function(){Sd(this);Qd.prototype.clear.call(this)};
_.g.delete=function(a){Sd(this);return Qd.prototype.delete.call(this,this.Zk(a,!0,!1))};_.g.entries=function(){var a=Array.from(Qd.prototype.keys.call(this));return new Oc(a,vaa,this)};_.g.keys=function(){return Qd.prototype.keys.call(this)};_.g.values=function(){var a=Array.from(Qd.prototype.keys.call(this));return new Oc(a,Rd.prototype.get,this)};_.g.forEach=function(a,b){var c=this;Qd.prototype.forEach.call(this,function(d,e){a.call(b,c.get(e),e,c)})};
_.g.set=function(a,b){Sd(this);a=this.Zk(a,!0,!1);return a==null?this:b==null?(Qd.prototype.delete.call(this,a),this):Qd.prototype.set.call(this,a,this.ru(b,!0,!0,this.mp,!1,this.fk))};_.g.has=function(a){return Qd.prototype.has.call(this,this.Zk(a,!1,!1))};_.g.get=function(a){a=this.Zk(a,!1,!1);var b=Qd.prototype.get.call(this,a);if(b!==void 0){var c=this.mp;return c?(c=this.ru(b,!1,!0,c,this.nP,this.fk),c!==b&&Qd.prototype.set.call(this,a,c),c):b}};Rd.prototype[Symbol.iterator]=function(){return this.entries()};
Rd.prototype.toJSON=void 0;Rd.prototype.OG=Gc;var Yd;uf.prototype.init=function(a,b,c,d){d=d===void 0?{}:d;this.qm=d.qm===void 0?!1:d.qm;a&&(a=tf(a),this.o=a.buffer,this.G=a.Ih,this.B=b||0,this.A=c!==void 0?this.B+c:this.o.length,this.j=this.B)};uf.prototype.free=function(){this.clear();Ef.length<100&&Ef.push(this)};uf.prototype.clear=function(){this.o=null;this.G=!1;this.j=this.A=this.B=0;this.qm=!1};uf.prototype.reset=function(){this.j=this.B};var Ef=[];Gf.prototype.free=function(){this.j.clear();this.o=this.B=-1;Sg.length<100&&Sg.push(this)};Gf.prototype.reset=function(){this.j.reset();this.A=this.j.j;this.o=this.B=-1};var Sg=[];var Qf,Uf;_.Pf.prototype.toJSON=function(){return Rf(this)};_.Pf.prototype.clone=function(){var a=this.T;return Jd(this.constructor,ge(a,(0,_.fe)(a),!1))};_.Pf.prototype.Ih=function(){return!!((0,_.Lc)(this.T)&2)};_.Pf.prototype.ll=wd;var Wf,$f;bg.prototype.length=function(){return this.j.length};bg.prototype.end=function(){var a=this.j;this.j=[];return a};var ng,qg,rg,vg,yg,Cg,Eg,ESa,FSa,GSa,HSa,ISa,JSa,KSa,LSa,MSa,NSa,OSa,Jaa,Naa,PSa,QSa;ng=Symbol();vg=Symbol();yg=Symbol();Cg=Symbol();Eg=Symbol();ESa=_.Gg(function(a,b,c){if(a.o!==1)return!1;_.Hg(b,c,Af(a.j));return!0},Jg);FSa=_.Gg(function(a,b,c,d){if(a.o!==1)return!1;_.Ne(b,c,d,Af(a.j));return!0},Jg);_.mS=_.Gg(function(a,b,c){if(a.o!==0)return!1;_.Hg(b,c,_.wf(a.j,Wc));return!0},_.Kg);GSa=_.Gg(function(a,b,c){if(a.o!==0)return!1;a=_.wf(a.j,Wc);_.Hg(b,c,a===0?void 0:a);return!0},_.Kg);
HSa=_.Gg(function(a,b,c,d){if(a.o!==0)return!1;_.Ne(b,c,d,_.wf(a.j,Wc));return!0},_.Kg);_.nS=_.Gg(function(a,b,c){if(a.o!==0)return!1;_.Hg(b,c,_.xf(a.j));return!0},Lg);ISa=_.Gg(function(a,b,c){if(a.o!==0)return!1;a=_.xf(a.j);_.Hg(b,c,a===0?void 0:a);return!0},Lg);JSa=_.Gg(function(a,b,c,d){if(a.o!==0)return!1;_.Ne(b,c,d,_.xf(a.j));return!0},Lg);KSa=_.Gg(function(a,b,c){if(a.o!==1)return!1;_.Hg(b,c,zf(a.j));return!0},_.Mg);
LSa=new kg(function(a,b,c){if(a.o!==1&&a.o!==2)return!1;b=we(b,(0,_.fe)(b),c,2,!1);if(a.o==2)for(c=_.xf(a.j)>>>0,c=a.j.j+c;a.j.j<c;)b.push(zf(a.j));else b.push(zf(a.j));return!0},function(a,b,c){b=mg(td,b,!1);if(b!=null)for(var d=0;d<b.length;d++)ig(a,c,b[d])},!0,!1);_.oS=_.Gg(function(a,b,c){if(a.o!==0)return!1;_.Hg(b,c,Bf(a.j));return!0},Ng);MSa=_.Gg(function(a,b,c,d){if(a.o!==0)return!1;_.Ne(b,c,d,Bf(a.j));return!0},Ng);_.pS=_.Gg(function(a,b,c){if(a.o!==2)return!1;_.Hg(b,c,Nf(a));return!0},Og);
NSa=new kg(function(a,b,c){if(a.o!==2)return!1;a=Nf(a);He(b,c,Daa,a);return!0},function(a,b,c){b=mg(vd,b,!0);if(b!=null)for(var d=0;d<b.length;d++){var e=a,f=c,h=b[d];h!=null&&jg(e,f,sb(h))}},!0,!1);OSa=_.Gg(function(a,b,c,d){if(a.o!==2)return!1;_.Ne(b,c,d,Nf(a));return!0},Og);Jaa=new kg(function(a,b,c,d,e){if(a.o!==2)return!1;Kf(a,Se(b,d,c,!0),e);return!0},Pg,!1,!0);Naa=new kg(function(a,b,c,d,e){if(a.o!==2)return!1;Kf(a,Se(b,d,c),e);return!0},Pg,!1,!0);
_.qS=new kg(function(a,b,c,d,e){if(a.o!==2)return!1;d=_.Nd(void 0,d[0],d[1]);var f=(0,_.fe)(b);Nc(f);var h=we(b,f,c,3);f=(0,_.fe)(b);(0,_.Lc)(h)&4&&(h=_.zc(h),(0,_.Ec)(h,((0,_.Lc)(h)|1)&-2079),_.oe(b,f,c,h));h.push(d);Kf(a,d,e);return!0},function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Pg(a,b[f],c,d,e)},!0,!0);_.rS=new kg(function(a,b,c,d,e,f){if(a.o!==2)return!1;Ke(b,(0,_.fe)(b),f,c);b=Se(b,d,c);Kf(a,b,e);return!0},Pg,!1,!0);
PSa=_.Gg(function(a,b,c,d){if(a.o!==2)return!1;_.Ne(b,c,d,_.Of(a));return!0},_.Qg);QSa=_.Gg(function(a,b,c,d){if(a.o!==0)return!1;_.Ne(b,c,d,_.xf(a.j)>>>0);return!0},function(a,b,c){b=_.ld(b);b!=null&&b!=null&&(_.hg(a,c,0),dg(a.j,b))});_.RSa=Rg(function(a){return a!==null&&a!==void 0});_.v(Wg,_.Pf);_.v(Xg,_.Pf);Xg.mb=[1];_.v(Yg,_.Pf);_.v(Zg,_.Pf);_.v($g,_.Pf);_.v(Saa,_.Pf);_.v(Taa,_.Pf);_.v(Uaa,_.Pf);_.v(ah,_.Pf);ah.prototype.getStyle=function(){return _.Te(this,Wg,1)};_.v(bh,_.Pf);bh.prototype.Nk=function(){return _.Oe(this,ch)};bh.prototype.getStyle=function(){return _.nf(this,ah,6,ch)};var ch=[1,2,3,4,5,6,7,8];_.v(Xaa,_.Pf);_.v(Yaa,_.Pf);_.v(Zaa,_.Pf);_.v($aa,_.Pf);_.v(aba,_.Pf);_.v(bba,_.Pf);_.v(cba,_.Pf);_.v(dba,_.Pf);_.v(eba,_.Pf);_.v(dh,_.Pf);dh.prototype.Nk=function(){return _.Oe(this,sS)};var sS=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15];_.v(eh,Error);var kba=Promise;fba.prototype.send=function(a,b,c){this.j.then(function(d){d.send(a,b,c)})};gba.prototype.send=function(a,b,c){c=c===void 0?[]:c;var d=new MessageChannel;hba(d.port1,b);this.j.postMessage(a,[d.port2].concat(c))};var hda=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}();mba.prototype.register=function(a,b){this.j.set(a,b);return this};lh.prototype.send=function(a,b,c){var d=this.j,e=d.send;try{Uf=!0;var f=Rf(a)}finally{Uf=!1}e.call(d,f,b,c)};nh.prototype.send=function(a){if(!this.j)throw new eh("Attempted to send a message before initialisation.");this.D.send(a)};nh.prototype.init=function(){var a=this;return _.z(function(b){if(a.j)throw new eh("Attempted to initialise twice. The SDK can only be initialised once.");if(a.uk!==void 0){var c=a.D,d=c.send,e=a.uk;var f=new Xg;var h=[].concat(_.ma(a.features));f=Fe(f,1,h,gd);d.call(c,e.call(a,f))}a.j=!0;_.wa(b)})};
_.ba.Object.defineProperties(nh.prototype,{o:{configurable:!0,enumerable:!0,get:function(){return this.j}}});ph.prototype.update=function(a){if(this.channel.o){if(!this.j)throw new eh("Using unregistered Audio Feature. Please call audio.update() before init() to indicate usage of the Audio Api.");var b=new bh;var c=new Zg;c=_.pe(c,1,_.dd(a));b=_.Ze(b,2,ch,c);this.channel.send(b)}else this.register();this.o=a};ph.prototype.register=function(){oh(this.channel,1);this.j=!0};ph.prototype.Ac=function(){return this.o};_.g=tba.prototype;_.g.onFirstFrameReady=function(a){oh(this.channel,2).register(11,function(b){b=_.nf(b.data,Xaa,11,sS);if(!b)throw new eh("Unexpectedly nonexistent GameFirstFrameReadyEvent");a(_.kf(b,1))})};_.g.onReady=function(a){oh(this.channel,2).register(4,function(b){b=_.nf(b.data,Zaa,4,sS);if(!b)throw new eh("Unexpectedly nonexistent GameReadyEvent");a(_.kf(b,1))})};
_.g.onLevelComplete=function(a){oh(this.channel,2).register(5,function(b){b=_.nf(b.data,$aa,5,sS);if(!b)throw new eh("Unexpectedly nonexistent LevelCompleteEvent");a(_.kf(b,1),_.gf(b,2))})};_.g.onGameOver=function(a){oh(this.channel,2).register(6,function(b){b=_.nf(b.data,Yaa,6,sS);if(!b)throw new eh("Unexpectedly nonexistent GameOverEvent");a(_.kf(b,1))})};
_.g.pause=function(){var a=this;if(!this.channel.o)return oh(this.channel,2),Promise.resolve();if(!this.channel.features.has(2))throw new eh("Using unregistered Game Feature: pause.");var b=Vaa();return new Promise(function(c){return _.z(function(d){if(d.j==1)return _.x(d,rba(a.channel,b),2);c();_.wa(d)})})};
_.g.resume=function(){var a=this;if(!this.channel.o)return oh(this.channel,2),Promise.resolve();if(!this.channel.features.has(2))throw new eh("Using unregistered Game Feature: resume.");var b=Waa();return new Promise(function(c){return _.z(function(d){if(d.j==1)return _.x(d,rba(a.channel,b),2);c();_.wa(d)})})};uba.prototype.onReady=function(a){oh(this.channel,5).register(8,function(b){if(!_.nf(b.data,aba,8,sS))throw new eh("Unexpectedly nonexistent PageReadyEvent");a()})};vba.prototype.onChange=function(a){oh(this.channel,3).register(7,function(b){b=_.nf(b.data,bba,7,sS);if(!b)throw new eh("Unexpectedly nonexistent ScoreEvent");a(_.kf(b,1),_.gf(b,2))})};var wba={load:function(){throw new eh("Storage used, but storage.onLoad() listener not set!");},save:function(){throw new eh("Storage used, but storage.onSave() listener not set!");}};
qh.prototype.onLoad=function(a){this.j||xba(this);this.o||(this.o=!0,oh(this.channel,4).register(2,function(b){var c,d,e;return _.z(function(f){if(f.j==1){c=_.nf(b.data,cba,2,sS);if(!c)throw new eh("Unexpectedly nonexistent StorageLoad");d=_.kf(c,1);return _.x(f,a(d),2)}e=f.o;var h=new bh;var k=new Taa;k=_.rf(k,1,d);k=_.pe(k,2,Kc(e,!1,!1));h=_.Ze(h,3,ch,k);gh(b,h);_.wa(f)})}))};
qh.prototype.onSave=function(a){this.j||xba(this);this.A||(this.A=!0,oh(this.channel,4).register(3,function(b){var c,d,e;return _.z(function(f){if(f.j==1){c=_.nf(b.data,dba,3,sS);if(!c)throw new eh("Unexpectedly nonexistent StorageSave");d=_.kf(c,1);var h=Be(c,2);e=new Uint8Array(sc(h)||0);return _.x(f,a(d,e),2)}h=new bh;var k=new Uaa;k=_.rf(k,1,d);h=_.Ze(h,4,ch,k);gh(b,h);_.wa(f)})}))};rh.prototype.update=function(a){if(!this.channel.features.has(6))throw new eh("Using unregistered Style Feature. Please call style.register() before init() to indicate usage of the Style Api.");var b=new bh,c=new ah;a=_.Ye(c,1,a);b=_.Ze(b,6,ch,a);this.channel.send(b)};rh.prototype.register=function(){oh(this.channel,6)};yba.prototype.onUserActivity=function(a,b){this.j=b;oh(this.channel,7).register(9,function(c){if(!_.nf(c.data,eba,9,sS))throw new eh("Unexpectedly nonexistent ClickEvent");a()})};var sh;uh.prototype.toString=function(){return this.j};var Cba={},Bba={};_.vh("");wh.prototype.toString=function(){return this.qz+""};var Eba=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,Hba={};var SSa=_.ha([""]),TSa=ia(["\x00"],["\\0"]),USa=ia(["\n"],["\\n"]),VSa=ia(["\x00"],["\\u0000"]);zh(function(a){return a(SSa)})||zh(function(a){return a(TSa)})||zh(function(a){return a(USa)})||zh(function(a){return a(VSa)});_.Ah.prototype.toString=function(){return this.sz};var Fh=new _.Ah("about:invalid#zClosurez");var WSa,YSa,ZSa,$Sa,aTa,bTa,cTa,eTa,Iba,Jba;WSa=new Ch(function(a){return/^[^:]*([/?#]|$)/.test(a)});_.XSa=Dh("tel");YSa=Dh("data");ZSa=Dh("http");$Sa=Dh("https");aTa=Dh("ftp");bTa=Dh("mailto");cTa=Dh("intent");_.dTa=Dh("sms");eTa=Dh("vnd.youtube");Iba=[YSa,ZSa,$Sa,bTa,aTa,WSa];Jba=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;Jh.prototype.toString=function(){return this.j};var Qba="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var SCa={};Vh.prototype.toString=function(){return this.pz.toString()};var TCa=new Vh("",SCa),Uba=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),Tba=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Sba=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)","g"),Vba=/\/\*/;var Zba={};Wh.prototype.toString=function(){return this.oz.toString()};var aca="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");_.ci.prototype.toString=function(){return this.rz.toString()};var hi={};var pi=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),qca=/#|$/,rca=/[?&]($|#)/;_.v(_.Ci,_.Pf);_.Ci.prototype.getSeconds=function(){xc(this,lS);return _.hf(this,1)};_.Ci.prototype.setSeconds=function(a){return Ge(this,1,qd(a),"0")};var fTa=[0,GSa,ISa];_.v(Di,_.Pf);Di.prototype.getSeconds=function(){xc(this,lS);return _.hf(this,1)};Di.prototype.setSeconds=function(a){return Ge(this,1,qd(a),"0")};var gTa=[0,GSa,ISa];_.v(Ei,_.Pf);Ei.mb=[2];var BJa=/[^#]*/;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){};var vca=/^[\w+/_-]+[=]{0,2}$/;_.g=_.Oi.prototype;_.g.clone=function(){return new _.Oi(this.x,this.y)};_.g.equals=function(a){return a instanceof _.Oi&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};_.g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};_.g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.g.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};_.g=_.Pi.prototype;_.g.clone=function(){return new _.Pi(this.width,this.height)};_.g.area=function(){return this.width*this.height};_.g.aspectRatio=function(){return this.width/this.height};_.g.isEmpty=function(){return!this.area()};_.g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
_.g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.g.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};var yca={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};_.g=_.Qi.prototype;_.g.getElementsByTagName=function(a,b){return(b||this.j).getElementsByTagName(String(a))};_.g.createElement=function(a){return Wi(this.j,a)};_.g.createTextNode=function(a){return this.j.createTextNode(String(a))};
_.g.appendChild=function(a,b){a.appendChild(b)};_.g.append=function(a,b){Bca(_.Ri(a),a,arguments,1)};_.g.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};
_.g.removeNode=_.Zi;_.g.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};_.v(bj,_.Pf);bj.prototype.getValue=function(){return _.kf(this,2)};bj.prototype.sc=function(a){return _.rf(this,2,a)};_.v(Eca,_.Pf);_.v(Fca,_.Pf);_.v(Gca,_.Pf);_.v(cj,_.Pf);cj.prototype.sc=function(a,b){_.af(this,3,bj,b,a,!1,1);return this};cj.mb=[3,20,27];dj.prototype.get=function(){if(this.o>0){this.o--;var a=this.j;this.j=a.next;a.next=null}else a=this.A();return a};dj.prototype.put=function(a){this.B(a);this.o<100&&(this.o++,a.next=this.j,this.j=a)};var ej;gj.prototype.add=function(a,b){var c=Lca.get();c.set(a,b);this.o?this.o.next=c:this.j=c;this.o=c};gj.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 Lca=new dj(function(){return new hj},function(a){return a.reset()});hj.prototype.set=function(a,b){this.Pd=a;this.scope=b;this.next=null};hj.prototype.reset=function(){this.next=this.scope=this.Pd=null};var ij,jj=!1,Jca=new gj;Nca.prototype.reset=function(){this.context=this.j=this.o=this.vf=null;this.A=!1};var Oca=new dj(function(){return new Nca},function(a){a.reset()});_.nj.prototype.then=function(a,b,c){return Xca(this,typeof a==="function"?a:null,typeof b==="function"?b:null,c)};_.lj(_.nj);_.g=_.nj.prototype;_.g.ii=function(a,b){return Xca(this,null,a,b)};_.g.catch=_.nj.prototype.ii;_.g.cancel=function(a){if(this.j==0){var b=new _.uj(a);kj(function(){Tca(this,b)},this)}};_.g.YJ=function(a){this.j=0;mj(this,2,a)};
_.g.ZJ=function(a){this.j=0;mj(this,3,a)};_.g.GB=function(){for(var a;a=Uca(this);)Vca(this,a,this.j,this.H);this.J=!1};var vj=tb;_.ib(_.uj,_.nb);_.uj.prototype.name="cancel";_.xj.prototype.J=!1;_.xj.prototype.isDisposed=function(){return this.J};_.xj.prototype.dispose=function(){this.J||(this.J=!0,this.Fa())};_.xj.prototype[Symbol.dispose]=function(){this.dispose()};_.xj.prototype.addOnDisposeCallback=function(a,b){this.J?b!==void 0?a.call(b):a():(this.G||(this.G=[]),this.G.push(b!==void 0?(0,_.fb)(a,b):a))};_.xj.prototype.Fa=function(){if(this.G)for(;this.G.length;)this.G.shift()()};zj.prototype.stopPropagation=function(){this.A=!0};zj.prototype.preventDefault=function(){this.defaultPrevented=!0};_.ib(Aj,zj);var hTa={2:"touch",3:"pen",4:"mouse"};
Aj.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.j=b;(b=a.relatedTarget)?Yj&&(_.Zb(b,"nodeName")||(b=null)):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=Ui||a.offsetX!==void 0?a.offsetX:
a.layerX,this.offsetY=Ui||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=typeof a.pointerType==="string"?
a.pointerType:hTa[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.o=a;a.defaultPrevented&&Aj.ac.preventDefault.call(this)};Aj.prototype.stopPropagation=function(){Aj.ac.stopPropagation.call(this);this.o.stopPropagation?this.o.stopPropagation():this.o.cancelBubble=!0};Aj.prototype.preventDefault=function(){Aj.ac.preventDefault.call(this);var a=this.o;a.preventDefault?a.preventDefault():a.returnValue=!1};var cda="closure_listenable_"+(Math.random()*1E6|0);var dda=0;_.g=Dj.prototype;_.g.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.j++);var h=Fj(a,b,d,e);h>-1?(b=a[h],c||(b.Am=!1)):(b=new eda(b,this.src,f,!!d,e),b.Am=c,a.push(b));return b};_.g.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Fj(e,b,c,d);return b>-1?(Cj(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.listeners[a],this.j--),!0):!1};
_.g.Bl=function(){var a=0,b;for(b in this.listeners){for(var c=this.listeners[b],d=0;d<c.length;d++)++a,Cj(c[d]);delete this.listeners[b];this.j--}};_.g.Mk=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=Fj(a,b,c,d));return e>-1?a[e]:null};_.g.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return Mba(this.listeners,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var Mj="closure_lm_"+(Math.random()*1E6|0),Oj={},jda=0,Pj="__closure_events_fn_"+(Math.random()*1E9>>>0);_.ib(_.Qj,_.xj);_.Qj.prototype[cda]=!0;_.g=_.Qj.prototype;_.g.addEventListener=function(a,b,c,d){_.Hj(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){lda(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.Ys;if(c)for(b=[];c;c=c.Ys)b.push(c);c=this.TC;var d=a.type||a;if(typeof a==="string")a=new zj(a,c);else if(a instanceof zj)a.target=a.target||c;else{var e=a;a=new zj(d,c);_.Uh(a,e)}e=!0;if(b)for(var f=b.length-1;!a.A&&f>=0;f--){var h=a.j=b[f];e=Rj(h,d,!0,a)&&e}a.A||(h=a.j=c,e=Rj(h,d,!0,a)&&e,a.A||(e=Rj(h,d,!1,a)&&e));if(b)for(f=0;!a.A&&f<b.length;f++)h=a.j=b[f],e=Rj(h,d,!1,a)&&e;return e};
_.g.Fa=function(){_.Qj.ac.Fa.call(this);this.Ve&&this.Ve.Bl();this.Ys=null};_.g.listen=function(a,b,c,d){return this.Ve.add(String(a),b,!1,c,d)};_.g.bl=function(a,b,c,d){return this.Ve.add(String(a),b,!0,c,d)};_.g.jp=function(a,b,c,d){this.Ve.remove(String(a),b,c,d)};_.g.Mk=function(a,b,c,d){return this.Ve.Mk(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.Ve.hasListener(a!==void 0?String(a):void 0,b)};_.ib(Sj,_.Qj);_.g=Sj.prototype;_.g.enabled=!1;_.g.he=null;_.g.setInterval=function(a){this.o=a;this.he&&this.enabled?(this.stop(),this.start()):this.he&&this.stop()};_.g.zJ=function(){if(this.enabled){var a=_.hb()-this.B;a>0&&a<this.o*.8?this.he=this.j.setTimeout(this.A,this.o-a):(this.he&&(this.j.clearTimeout(this.he),this.he=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
_.g.start=function(){this.enabled=!0;this.he||(this.he=this.j.setTimeout(this.A,this.o),this.B=_.hb())};_.g.stop=function(){this.enabled=!1;this.he&&(this.j.clearTimeout(this.he),this.he=null)};_.g.Fa=function(){Sj.ac.Fa.call(this);this.stop();delete this.j};(function(){for(var a=["ms","moz","webkit","o"],b=0;b<a.length&&!window.requestAnimationFrame;++b)window.requestAnimationFrame=window[a[b]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[a[b]+"CancelAnimationFrame"]||window[a[b]+"CancelRequestAnimationFrame"];if(!window.requestAnimationFrame){var c=0;window.requestAnimationFrame=function(d){var e=(new Date).getTime(),f=Math.max(0,16-(e-c));c=e+f;return window.setTimeout(function(){d(e+f)},f)};window.cancelAnimationFrame||(window.cancelAnimationFrame=
function(d){clearTimeout(d)})}})();_.v(_.Vj,_.xj);_.g=_.Vj.prototype;_.g.gg=function(a){this.B=arguments;this.j||this.A?this.o=!0:Wj(this)};_.g.stop=function(){this.j&&(_.Sa.clearTimeout(this.j),this.j=null,this.o=!1,this.B=null)};_.g.pause=function(){this.A++};_.g.resume=function(){this.A--;this.A||!this.o||this.j||(this.o=!1,Wj(this))};_.g.Fa=function(){_.xj.prototype.Fa.call(this);this.stop()};_.ib(Xj,_.xj);var iTa=[];_.g=Xj.prototype;_.g.listen=function(a,b,c,d){Array.isArray(b)||(b&&(iTa[0]=b.toString()),b=iTa);for(var e=0;e<b.length;e++){var f=_.Hj(a,b[e],c||this.handleEvent,d||!1,this.o||this);if(!f)break;this.j[f.key]=f}return this};_.g.bl=function(a,b,c,d){return mda(this,a,b,c,d)};
_.g.jp=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.jp(a,b[f],c,d,e);else c=c||this.handleEvent,d=cb(d)?!!d.capture:!!d,e=e||this.o||this,c=Ij(c),d=!!d,b=Bj(a)?a.Mk(b,c,d,e):a?(a=Jj(a))?a.Mk(b,c,d,e):null:null,b&&(_.Nj(b),delete this.j[b.key])};_.g.Bl=function(){Kh(this.j,function(a,b){this.j.hasOwnProperty(b)&&_.Nj(a)},this);this.j={}};_.g.Fa=function(){Xj.ac.Fa.call(this);this.Bl()};_.g.handleEvent=function(){throw Error("ja");};eb(function(){var a=this.isSupported(),b=this.o();if(a){var c;b?c=((ak()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});eb(function(){return nda("hidden",this.j.j)});eb(function(){return nda("visibilityState",this.j.j)});var uda={};_.g=bk.prototype;_.g.isEnabled=function(){if(!_.Sa.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{Qh:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.g.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.Pz;d=c.Sz||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.Qh}if(/[;=\s]/.test(a))throw Error("ma`"+a);if(/[;\r\n]/.test(b))throw Error("na`"+b);k===void 0&&(k=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";k=k<0?"":k==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+k*1E3)).toUTCString();this.j.cookie=a+"="+b+c+h+k+d+(e!=null?";samesite="+e:"")};
_.g.get=function(a,b){for(var c=a+"=",d=(this.j.cookie||"").split(";"),e=0,f;e<d.length;e++){f=tda(d[e]);if(f.lastIndexOf(c,0)==0)return f.slice(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.get(a)!==void 0;this.set(a,"",{Qh:0,path:b,domain:c});return d};_.g.zh=function(){return ck(this).keys};_.g.ug=function(){return ck(this).values};_.g.isEmpty=function(){return!this.j.cookie};_.g.clear=function(){for(var a=ck(this).keys,b=a.length-1;b>=0;b--)this.remove(a[b])};
_.fq=new bk(typeof document=="undefined"?null:document);ek.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};ek.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.o=this.j())};ek.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};
ek.prototype.tick=function(){var a=this;if(this.enabled){var b=Math.max(this.j()-this.o,0);b<this.intervalMs*.8?this.timer=setTimeout(function(){a.tick()},this.intervalMs-b):(this.timer&&(clearTimeout(this.timer),this.timer=void 0),this.callback(),this.enabled&&(this.stop(),this.start()))}else this.timer=void 0};fk.prototype.reset=function(){this.j=this.o=this.A};fk.prototype.getValue=function(){return this.o};_.v(gk,_.Pf);gk.prototype.rn=function(){return _.lf(this,1)};_.v(yda,_.Pf);_.v(hk,_.Pf);hk.mb=[1];_.v(ik,_.Pf);var Ada=["platform","platformVersion","architecture","model","uaFullVersion"],kk=new hk,jk=null;_.v(lk,_.Pf);_.v(mk,_.Pf);mk.prototype.Jl=function(a){return _.sf(this,2,a)};mk.prototype.setScheduler=function(a){return _.sf(this,10,a)};mk.mb=[3,5];_.v(nk,_.Pf);var jTa=function(a){return function(b){return _.Tf(a,b)}}(nk);nk.mb=[5,6,7];_.v(Cda,_.Pf);var tS;tS=new function(a,b){this.o=a;this.j=b;this.isRepeated=0;this.A=_.Te;this.defaultValue=void 0}(175237375,Cda);_.v(qk,_.xj);_.g=qk.prototype;_.g.Fa=function(){this.Xq();this.j.stop();this.ha.stop();_.xj.prototype.Fa.call(this)};_.g.dispatch=function(a){if(this.W)if(a instanceof cj)this.log(a);else{var b=new cj;a=_.Sf(a);b=_.rf(b,8,a);this.log(b)}};
_.g.log=function(a){if(this.W){a=a.clone();var b=this.xa++;a=_.qf(a,21,b);this.componentId&&_.rf(a,26,this.componentId);if(cf(a)==null){var c=Date.now();b=a;c=Number.isFinite(c)?c.toString():"0";_.pe(b,1,qd(c))}_.bf(a,15)!=null||_.qf(a,15,(new Date).getTimezoneOffset()*60);this.experimentIds&&(b=a,c=this.experimentIds.clone(),_.Ye(b,16,c));b=this.A.length-1E3+1;b>0&&(this.A.splice(0,b),this.H+=b);this.A.push(a);this.Ak||this.j.enabled||this.j.start()}};
_.g.flush=function(a,b){var c=this;if(this.A.length===0)a&&a();else{var d=Date.now();if(this.ta>d&&this.ba<d)b&&b("throttled");else{this.network&&(typeof this.network.rn==="function"?Fda(this.o,this.network.rn()):Fda(this.o,0));var e=this.o.build(this.A,this.H,this.Z,this.Ej,0,0);d={};var f=this.Kk();f&&(d.Authorization=f);this.O||(this.O=pk());try{var h=(new URL(this.O)).toString()}catch(l){h=(new URL(this.O,_.Vi().location.origin)).toString()}h=new URL(h);this.sessionIndex&&(d["X-Goog-AuthUser"]=
this.sessionIndex,h.searchParams.set("authuser",this.sessionIndex));this.pageId&&(Object.defineProperty(d,"X-Goog-PageId",{value:this.pageId}),h.searchParams.set("pageId",this.pageId));if(f&&this.pa===f)b&&b("stale-auth-token");else{this.A=[];this.j.enabled&&this.j.stop();this.H=0;var k=_.Sf(e);d={url:h.toString(),body:k,jP:1,Gz:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis};h=function(l){c.B.reset();c.j.setInterval(c.B.getValue());if(l){var m=null;try{var n=
JSON.stringify(JSON.parse(l.replace(")]}'\n","")));m=jTa(n)}catch(p){}m&&(l=Number,n="-1",n=n===void 0?"0":n,n=df(cf(m),n),l=l(n),l>0&&(c.ba=Date.now(),c.ta=c.ba+l),m=tS.j?tS.A(m,tS.j,tS.o,!0):tS.A(m,tS.o,null,!0),m=m===null?void 0:m)&&(m=_.gf(m,1,-1),m!==-1&&(c.B=new fk(m<1?1:m),c.j.setInterval(c.B.getValue())))}a&&a();c.Z=0};k=function(l,m){var n=_.Xe(e,cj,3);var p=_.bf(e,14),q=c.B;q.j=Math.min(3E5,q.j*2);q.o=Math.min(3E5,q.j+Math.round((Math.random()-.5)*.2*q.j));c.j.setInterval(c.B.getValue());
l===401&&f&&(c.pa=f);p&&(c.H+=p);m===void 0&&(m=c.isRetryable(l));m&&(c.A=n.concat(c.A),c.Ak||c.j.enabled||c.j.start());b&&b("net-send-failed",l);++c.Z};c.network&&c.network.send(d,h,k)}}}};_.g.Xq=function(){Gda(this.o,!0);this.flush();Gda(this.o,!1)};_.g.isRetryable=function(a){return 500<=a&&a<600||a===401||a===0};ok.prototype.Jl=function(a){this.logRequest.Jl(a);return this};
ok.prototype.build=function(a,b,c,d,e,f){b=b===void 0?0:b;e=e===void 0?0:e;f=f===void 0?0:f;c=c===void 0?0:c;if(_.re(sk(this),ik,11)){var h=tk(this);pf(h,3,c)}_.re(sk(this),ik,11)&&(c=tk(this),pf(c,4,e));_.re(sk(this),ik,11)&&(e=tk(this),pf(e,5,f));f=this.logRequest.clone();e=Date.now().toString();f=_.pe(f,4,qd(e));a=a.slice();a=_.$e(f,3,a);d&&(f=new Eca,d=pf(f,13,d),f=new Fca,d=_.Ye(f,2,d),f=new Gca,d=_.Ye(f,1,d),d=_.sf(d,2,9),_.Ye(a,18,d));b&&_.qf(a,14,b);return a};uk.prototype.send=function(a,b,c){var d=this,e,f,h,k,l,m,n,p,q,r;return _.z(function(t){switch(t.j){case 1:return f=(e=d.PC?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,_.xa(t,2,3),h=Object.assign({},{method:a.requestType,headers:Object.assign({},a.Gz)},a.body&&{body:a.body},a.withCredentials&&{credentials:"include"},{signal:a.timeoutMillis&&e?e.signal:null}),_.x(t,fetch(a.url,h),5);case 5:k=t.o;if(k.status!==200){(l=c)==null||l(k.status);t.L(3);break}if((m=
b)==null){t.L(7);break}return _.x(t,k.text(),8);case 8:m(t.o);case 7:case 3:_.Da(t);clearTimeout(f);_.Ea(t,0);break;case 2:n=_.Ba(t);switch((p=n)==null?void 0:p.name){case "AbortError":(q=c)==null||q(408);break;default:(r=c)==null||r(400)}t.L(3)}})};uk.prototype.rn=function(){return 4};_.v(vk,_.xj);vk.prototype.vw=function(){this.H=!0;return this};
vk.prototype.build=function(){this.network||(this.network=new uk);var a=new qk({logSource:this.logSource,Kk:this.Kk?this.Kk:xda,sessionIndex:this.sessionIndex,fK:this.A,Mh:this.B,Ak:!1,vw:this.H,Fv:this.Fv,network:this.network});_.yj(this,a);if(this.j){var b=this.j,c=rk(a.o);_.rf(c,7,b)}this.componentId&&(a.componentId=this.componentId);this.Ej&&(a.Ej=this.Ej);this.pageId&&(a.pageId=this.pageId);this.o&&((c=this.o)?(a.experimentIds||(a.experimentIds=new Ei),b=a.experimentIds,c=_.Sf(c),_.rf(b,4,c)):
a.experimentIds&&_.pe(a.experimentIds,4));Hda(a.o);this.network.Jl&&this.network.Jl(this.logSource);this.network.JI&&this.network.JI(a);return a};_.v(wk,_.Pf);wk.mb=[1,2,3,4];var Ml=_.Sa.JSON.stringify;var jqa=_.Sa.JSON.parse;xk.prototype.A=null;xk.prototype.getOptions=function(){return this.A||(this.A=this.B())};var Sk;_.ib(yk,xk);yk.prototype.j=function(){return new XMLHttpRequest};yk.prototype.B=function(){return{}};Sk=new yk;_.ib(_.zk,_.Qj);var Qda=/^https?$/i,kTa=["POST","PUT"],Jda=[];_.g=_.zk.prototype;_.g.tD=function(){this.dispose();_.Sb(Jda,this)};
_.g.send=function(a,b,c,d){if(this.j)throw Error("pa`"+this.ba+"`"+a);b=b?b.toUpperCase():"GET";this.ba=a;this.A="";this.H=0;this.xa=!1;this.o=!0;this.j=this.W?this.W.j():Sk.j();this.ta=this.W?this.W.getOptions():Sk.getOptions();this.j.onreadystatechange=(0,_.fb)(this.Ly,this);try{this.zc(),this.Ba=!0,this.j.open(b,String(a),!0),this.Ba=!1}catch(h){this.zc();Mda(this,h);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=_.u(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("qa`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=_.Sa.FormData&&a instanceof _.Sa.FormData;!Qb(kTa,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=_.u(c);for(d=b.next();!d.done;d=b.next())c=_.u(d.value),d=c.next().value,c=c.next().value,this.j.setRequestHeader(d,c);this.Na&&(this.j.responseType=
this.Na);"withCredentials"in this.j&&this.j.withCredentials!==this.pa&&(this.j.withCredentials=this.pa);try{Pda(this),this.O>0&&(this.zc(),this.ha=Tj(this.bh,this.O,this)),this.zc(),this.Z=!0,this.j.send(a),this.Z=!1}catch(h){this.zc(),Mda(this,h)}};_.g.bh=function(){typeof Bk!="undefined"&&this.j&&(this.A="Timed out after "+this.O+"ms, aborting",this.H=8,this.zc(),this.dispatchEvent("timeout"),this.abort(8))};
_.g.abort=function(a){this.j&&this.o&&(this.zc(),this.o=!1,this.B=!0,this.j.abort(),this.B=!1,this.H=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ak(this))};_.g.Fa=function(){this.j&&(this.o&&(this.o=!1,this.B=!0,this.j.abort(),this.B=!1),Ak(this,!0));_.zk.ac.Fa.call(this)};_.g.Ly=function(){this.isDisposed()||(this.Ba||this.Z||this.B?Oda(this):this.DH())};_.g.DH=function(){Oda(this)};_.g.isActive=function(){return!!this.j};_.g.isComplete=function(){return Ck(this)==4};
_.g.zc=function(){try{return Ck(this)>2?this.j.status:-1}catch(a){return-1}};_.g.getLastError=function(){return typeof this.A==="string"?this.A:String(this.A)};Ek.prototype.next=function(){return lTa};var lTa={done:!0,value:void 0};Ek.prototype.ui=function(){return this};Fk.prototype.set=function(a,b){b===void 0?this.j.remove(a):this.j.set(a,Ml(b))};Fk.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";}};Fk.prototype.remove=function(a){this.j.remove(a)};_.ib(Gk,Fk);Gk.prototype.set=function(a,b){Gk.ac.set.call(this,a,Uda(b))};Gk.prototype.o=function(a){a=Gk.ac.get.call(this,a);if(a===void 0||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};Gk.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};_.ib(Hk,Gk);Hk.prototype.set=function(a,b,c){if(b=Uda(b)){if(c){if(c<_.hb()){Hk.prototype.remove.call(this,a);return}b.expiration=c}b.creation=_.hb()}Hk.ac.set.call(this,a,b)};Hk.prototype.o=function(a){var b=Hk.ac.o.call(this,a);if(b){var c=b.creation,d=b.expiration;if(d&&d<_.hb()||c&&c>_.hb())Hk.prototype.remove.call(this,a);else return b}};_.ib(Ik,Hk);Jk.prototype.ui=function(){return new Kk(this.j())};Jk.prototype[Symbol.iterator]=function(){return new Lk(this.j())};Jk.prototype.o=function(){return new Lk(this.j())};_.v(Kk,Ek);Kk.prototype.next=function(){return this.j.next()};Kk.prototype[Symbol.iterator]=function(){return new Lk(this.j)};Kk.prototype.o=function(){return new Lk(this.j)};_.v(Lk,Jk);Lk.prototype.next=function(){return this.A.next()};_.ib(Mk,Wda);Mk.prototype[Symbol.iterator]=function(){return Vda(this.ui(!0)).o()};Mk.prototype.clear=function(){var a=Array.from(this);a=_.u(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};_.ib(Nk,Mk);_.g=Nk.prototype;_.g.isAvailable=function(){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;return this.o=b};_.g.set=function(a,b){Ok(this);try{this.j.setItem(a,b)}catch(c){if(this.j.length==0)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
_.g.get=function(a){Ok(this);a=this.j.getItem(a);if(typeof a!=="string"&&a!==null)throw"Storage mechanism: Invalid value was encountered";return a};_.g.remove=function(a){Ok(this);this.j.removeItem(a)};_.g.ui=function(a){Ok(this);var b=0,c=this.j,d=new Ek;d.next=function(){if(b>=c.length)return lTa;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};
_.g.clear=function(){Ok(this);this.j.clear()};_.g.key=function(a){Ok(this);return this.j.key(a)};_.ib(Pk,Nk);_.ib(Xda,Nk);_.ib(Qk,Mk);Qk.prototype.set=function(a,b){this.o.set(this.j+a,b)};Qk.prototype.get=function(a){return this.o.get(this.j+a)};Qk.prototype.remove=function(a){this.o.remove(this.j+a)};Qk.prototype.ui=function(a){var b=this.o[Symbol.iterator](),c=this,d=new Ek;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};_.v(Rk,_.Pf);_.ib(Tk,_.nb);Tk.prototype.name="XhrError";_.ib(Uk,Tk);Uk.prototype.name="XhrHttpError";_.ib(Vk,Tk);Vk.prototype.name="XhrTimeoutError";_.ib(Wk,zj);_.ib(Xk,zj);var aea=null;_.ib(bea,zj);_.ib(cea,zj);_.ib(dea,zj);bl.prototype.debug=function(){};bl.prototype.info=function(){};bl.prototype.warning=function(){};var kea={},ol={};_.g=cl.prototype;_.g.setTimeout=function(a){this.bh=a};_.g.kI=function(a){a=a.target;var b=this.Na;b&&Ck(a)==3?b.gg():this.bB(a)};
_.g.bB=function(a){try{if(a==this.j)a:{var b=Ck(this.j),c=this.j.H,d=this.j.zc();if(!(b<3)&&(b!=3||this.j&&(this.o.o||_.Dk(this.j)||Rda(this.j)))){this.ta||b!=4||c==7||(c==8||d<=0?Zk(3):Zk(2));pl(this);var e=this.j.zc();this.Af=e;var f=jea(this);if(this.G=e==200){if(this.mf&&!this.xa){b:{if(this.j){var h,k=this.j;if((h=k.j?k.j.getResponseHeader("X-HTTP-Initial-Response"):null)&&!_.xb(h)){var l=h;break b}}l=null}if(a=l)this.xa=!0,yl(this,a);else{this.G=!1;this.B=3;$k(12);ml(this);nl(this);break a}}if(this.wc){a=
!0;for(var m;!this.ta&&this.J<f.length;)if(m=lea(this,f),m==ol){b==4&&(this.B=4,$k(14),a=!1);break}else if(m==kea){this.B=4;$k(15);a=!1;break}else yl(this,m);iea(this)&&this.J!=0&&(this.o.j=this.o.j.slice(this.J),this.J=0);b!=4||f.length!=0||this.o.o||(this.B=1,$k(16),a=!1);this.G=this.G&&a;if(!a)ml(this),nl(this);else if(f.length>0&&!this.qf){this.qf=!0;var n=this.A;n.j==this&&n.sr&&!n.wc&&(Tl(n),n.wc=!0,$k(11))}}else yl(this,f);b==4&&ml(this);this.G&&!this.ta&&(b==4?nea(this.A,this):(this.G=!1,
ll(this)))}else Sda(this.j),e==400&&f.indexOf("Unknown SID")>0?(this.B=3,$k(12)):(this.B=0,$k(13)),ml(this),nl(this)}}}catch(p){}finally{}};_.g.cancel=function(){this.ta=!0;ml(this)};_.g.NH=function(){this.W=null;var a=Date.now();a-this.Ic>=0?(this.Ba!=2&&(Zk(3),$k(17)),ml(this),this.B=2,nl(this)):mea(this,this.Ic-a)};_.g.getLastError=function(){return this.B};tea.prototype.cancel=function(){this.A=vea(this);if(this.o)this.o.cancel(),this.o=null;else if(this.j&&this.j.size!==0){for(var a=_.u(this.j.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.j.clear()}};_.Al.prototype.toString=function(){var a=[],b=this.G;b&&a.push(Gl(b,mTa,!0),":");var c=this.j;if(c||b=="file")a.push("//"),(b=this.O)&&a.push(Gl(b,mTa,!0),"@"),a.push(ki(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.H,c!=null&&a.push(":",String(c));if(c=this.o)this.j&&c.charAt(0)!="/"&&a.push("/"),a.push(Gl(c,c.charAt(0)=="/"?nTa:oTa,!0));(c=this.A.toString())&&a.push("?",c);(c=this.B)&&a.push("#",Gl(c,pTa));return a.join("")};
_.Al.prototype.resolve=function(a){var b=this.clone(),c=!!a.G;c?Bl(b,a.G):c=!!a.O;c?b.O=a.O:c=!!a.j;c?b.j=a.j:c=a.H!=null;var d=a.o;if(c)Cl(b,a.H);else if(c=!!a.o){if(d.charAt(0)!="/")if(this.j&&!this.o)d="/"+d;else{var e=b.o.lastIndexOf("/");e!=-1&&(d=b.o.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(_.zb(e,"./")||_.zb(e,"/.")){d=_.ub(e,"/");e=e.split("/");for(var f=[],h=0;h<e.length;){var k=e[h++];k=="."?d&&h==e.length&&f.push(""):k==".."?((f.length>1||f.length==1&&f[0]!="")&&f.pop(),d&&h==
e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.o=d:c=a.A.toString()!=="";c?Dl(b,a.A.clone()):c=!!a.B;c&&(b.B=a.B);return b};_.Al.prototype.clone=function(){return new _.Al(this)};var mTa=/[#\/\?@]/g,oTa=/[#\?:]/g,nTa=/[#\?]/g,zea=/[#\?@]/g,pTa=/#/g;_.g=Fl.prototype;_.g.add=function(a,b){Il(this);this.A=null;a=Jl(this,a);var c=this.j.get(a);c||this.j.set(a,c=[]);c.push(b);this.o+=1;return this};
_.g.remove=function(a){Il(this);a=Jl(this,a);return this.j.has(a)?(this.A=null,this.o-=this.j.get(a).length,this.j.delete(a)):!1};_.g.clear=function(){this.j=this.A=null;this.o=0};_.g.isEmpty=function(){Il(this);return this.o==0};_.g.forEach=function(a,b){Il(this);this.j.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};
_.g.zh=function(){Il(this);for(var a=Array.from(this.j.values()),b=Array.from(this.j.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};_.g.ug=function(a){Il(this);var b=[];if(typeof a==="string")Cea(this,a)&&(b=b.concat(this.j.get(Jl(this,a))));else{a=Array.from(this.j.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};
_.g.set=function(a,b){Il(this);this.A=null;a=Jl(this,a);Cea(this,a)&&(this.o-=this.j.get(a).length);this.j.set(a,[b]);this.o+=1;return this};_.g.get=function(a,b){if(!a)return b;a=this.ug(a);return a.length>0?String(a[0]):b};_.g.toString=function(){if(this.A)return this.A;if(!this.j)return"";for(var a=[],b=Array.from(this.j.keys()),c=0;c<b.length;c++){var d=b[c],e=ki(d);d=this.ug(d);for(var f=0;f<d.length;f++){var h=e;d[f]!==""&&(h+="="+ki(d[f]));a.push(h)}}return this.A=a.join("&")};
_.g.clone=function(){var a=new Fl;a.A=this.A;this.j&&(a.j=new Map(this.j),a.o=this.o);return a};_.g.extend=function(a){for(var b=0;b<arguments.length;b++)zl(arguments[b],function(c,d){this.add(d,c)},this)};Ll.prototype.stringify=function(a){return _.Sa.JSON.stringify(a,void 0)};Ll.prototype.parse=function(a){return _.Sa.JSON.parse(a,void 0)};_.ib(Nl,xk);Nl.prototype.j=function(){var a=new Ol(this.J,this.G);this.o&&a.setCredentialsMode(this.o);return a};Nl.prototype.B=function(a){return function(){return a}}({});Nl.prototype.setCredentialsMode=function(a){this.o=a};_.ib(Ol,_.Qj);_.g=Ol.prototype;_.g.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("ya");this.ha=a;this.ba=b;this.readyState=1;Pl(this)};
_.g.send=function(a){if(this.readyState!=1)throw this.abort(),Error("za");this.j=!0;var b={headers:this.W,method:this.ha,credentials:this.H,cache:void 0};a&&(b.body=a);(this.pa||_.Sa).fetch(new Request(this.ba,b)).then(this.aF.bind(this),this.sn.bind(this))};_.g.abort=function(){this.response=this.responseText="";this.W=new Headers;this.status=0;this.A&&this.A.cancel("Request was aborted.").catch(function(){});this.readyState>=1&&this.j&&this.readyState!=4&&(this.j=!1,Ql(this));this.readyState=0};
_.g.aF=function(a){if(this.j&&(this.B=a,this.o||(this.status=this.B.status,this.statusText=this.B.statusText,this.o=a.headers,this.readyState=2,Pl(this)),this.j&&(this.readyState=3,Pl(this),this.j)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.YE.bind(this),this.sn.bind(this));else if(typeof _.Sa.ReadableStream!=="undefined"&&"body"in a){this.A=a.body.getReader();if(this.O){if(this.responseType)throw Error("Ba");this.response=[]}else this.response=this.responseText="",this.Z=new TextDecoder;
Hea(this)}else a.text().then(this.ZE.bind(this),this.sn.bind(this))};_.g.SE=function(a){if(this.j){if(this.O&&a.value)this.response.push(a.value);else if(!this.O){var b=a.value?a.value:new Uint8Array(0);if(b=this.Z.decode(b,{stream:!a.done}))this.response=this.responseText+=b}a.done?Ql(this):Pl(this);this.readyState==3&&Hea(this)}};_.g.ZE=function(a){this.j&&(this.response=this.responseText=a,Ql(this))};_.g.YE=function(a){this.j&&(this.response=a,Ql(this))};_.g.sn=function(){this.j&&Ql(this)};
_.g.setRequestHeader=function(a,b){this.W.append(a,b)};_.g.getResponseHeader=function(a){return this.o?this.o.get(a.toLowerCase())||"":""};_.g.getAllResponseHeaders=function(){if(!this.o)return"";for(var a=[],b=this.o.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};_.g.setCredentialsMode=function(a){this.H=a};
Object.defineProperty(Ol.prototype,"withCredentials",{get:function(){return this.H==="include"},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});_.g=Jea.prototype;_.g.Wv=8;_.g.cc=1;_.g.connect=function(a,b,c,d){$k(0);this.vh=a;this.xa=b||{};c&&d!==void 0&&(this.xa.OSID=c,this.xa.OAID=d);this.ta=this.Qi;this.Ba=pea(this,null,this.vh);xl(this)};
_.g.disconnect=function(){Kea(this);if(this.cc==3){var a=this.Af++,b=this.Ba.clone();wl(b,"SID",this.sb);wl(b,"RID",a);wl(b,"TYPE","terminate");Ul(this,b);a=new cl(this,a);a.Ba=2;a.H=dl(b.clone());b=!1;if(_.Sa.navigator&&_.Sa.navigator.sendBeacon)try{b=_.Sa.navigator.sendBeacon(a.H.toString(),"")}catch(c){}!b&&_.Sa.Image&&((new Image).src=a.H,b=!0);b||(a.j=hea(a.A,null),a.j.send(a.H));a.ba=Date.now();ll(a)}Qea(this)};_.g.getState=function(){return this.cc};
_.g.Ny=function(a){if(this.G)if(this.G=null,this.cc==1){if(!a){this.Af=Math.floor(Math.random()*1E5);a=this.Af++;var b=new cl(this,a),c=this.H;this.mf&&(c?(c=_.Rh(c),_.Uh(c,this.mf)):c=this.mf);this.J!==null||this.Ic||(b.pa=c,c=null);var d;if(this.ie)a:{for(var e=d=0;e<this.A.length;e++){b:{var f=this.A[e];if("__data__"in f.map&&(f=f.map.__data__,typeof f==="string")){f=f.length;break b}f=void 0}if(f===void 0)break;d+=f;if(d>4096){d=e;break a}if(d===4096||e===this.A.length-1){d=e+1;break a}}d=1E3}else d=
1E3;d=Nea(this,b,d);e=this.Ba.clone();wl(e,"RID",a);wl(e,"CVER",22);this.pa&&wl(e,"X-HTTP-Session-Id",this.pa);Ul(this,e);c&&(this.Ic?d="headers="+ki(Iea(c))+"&"+d:this.J&&Rl(e,this.J,c));vl(this.o,b);this.zK&&wl(e,"TYPE","init");this.ie?(wl(e,"$req",d),wl(e,"SID","null"),b.mf=!0,el(b,e,null)):el(b,e,d);this.cc=2}}else this.cc==3&&(a?Oea(this,a):this.A.length==0||uea(this.o)||Oea(this))};
_.g.My=function(){this.O=null;Pea(this);if(this.sr&&!(this.wc||this.j==null||this.Yr<=0)){var a=2*this.Yr;this.ba=al((0,_.fb)(this.pH,this),a)}};_.g.pH=function(){this.ba&&(this.ba=null,this.ta=!1,this.wc=!0,$k(10),sl(this),Pea(this))};_.g.nH=function(){this.W!=null&&(this.W=null,sl(this),tl(this),$k(19))};_.g.wJ=function(a){a?$k(2):$k(1)};_.g.isActive=function(){return!!this.B&&this.B.isActive(this)};_.g=Rea.prototype;_.g.Vv=function(){};_.g.Uv=function(){};_.g.Tv=function(){};_.g.Sv=function(){};
_.g.isActive=function(){return!0};_.g.fD=function(){};_.ib(Wl,_.Qj);Wl.prototype.open=function(){this.j.B=this.A;this.O&&(this.j.Na=!0);this.j.connect(this.B,this.o||void 0)};Wl.prototype.close=function(){this.j.disconnect()};Wl.prototype.send=function(a){var b=this.j;if(typeof a==="string"){var c={};c.__data__=a;a=c}else this.H&&(c={},c.__data__=Ml(a),a=c);b.A.push(new sea(b.AB++,a));b.cc==3&&xl(b)};Wl.prototype.Fa=function(){this.j.B=null;delete this.A;this.j.disconnect();delete this.j;Wl.ac.Fa.call(this)};_.ib(Tea,Wk);_.ib(Uea,Xk);_.ib(Vl,Rea);
Vl.prototype.Vv=function(){this.j.dispatchEvent("la")};Vl.prototype.Uv=function(a){this.j.dispatchEvent(new Tea(a))};Vl.prototype.Tv=function(a){this.j.dispatchEvent(new Uea(a))};Vl.prototype.Sv=function(){this.j.dispatchEvent("ma")};_.Sa.PlatformConfigs={APP_VERSION:"3.14.0",DEVICE_MODEL:"YouTube",WEB_SEARCH_CLIENT_ID:"",DEFAULT_LOCALE:"en-IN",PROD_API_KEY:"AIzaSyBfZufNuuDQ68tr0y5NvCPsBtQrvM8wpcA",PROD_SPEECH_SYNTHESIS_API_KEY:"",REQUIRE_LOCATION_CONSENT:!1,LANGUAGES_NEED_REGION_NAME:[],PROMPTS_FOR_MICROPHONE_PERMISSION:!0,YOUTUBE_APP_NAME:""};_.g=Xl.prototype;_.g.UC=function(a){var b=_.Ka.apply(1,arguments),c=this.kr(b);c?c.push(new Vea(a)):this.Uz(a,b)};_.g.Uz=function(a){var b=this.Nu(_.Ka.apply(1,arguments));this.j.set(b,[new Vea(a)])};_.g.kr=function(){var a=this.Nu(_.Ka.apply(0,arguments));return this.j.has(a)?this.j.get(a):void 0};_.g.EE=function(){var a=this.kr(_.Ka.apply(0,arguments));return a&&a.length?a[0]:void 0};_.g.clear=function(){this.j.clear()};_.g.Nu=function(){var a=_.Ka.apply(0,arguments);return a?a.join(","):"key"};_.v(Yl,Xl);Yl.prototype.o=function(a){var b=_.Ka.apply(1,arguments),c=0,d=this.EE(b);d&&(c=d.j);this.Uz(c+a,b)};_.v(Zl,Xl);Zl.prototype.o=function(a){this.UC(a,_.Ka.apply(1,arguments))};_.v($l,_.xj);_.g=$l.prototype;_.g.sendIsolatedPayload=function(a){this.H=a;this.A=1};_.g.dm=function(){var a=this.o.values();a=[].concat(_.ma(a)).filter(function(b){return b.j.size});a.length&&this.W.flush(a,this.H);Yea(a);this.B=0;this.j.enabled&&this.j.stop()};_.g.Ld=function(a){var b=_.Ka.apply(1,arguments);this.o.has(a)||this.o.set(a,new Yl(a,b))};_.g.ak=function(a){var b=_.Ka.apply(1,arguments);this.o.has(a)||this.o.set(a,new Zl(a,b))};_.g.jh=function(a){this.HB(a,1,_.Ka.apply(1,arguments))};
_.g.HB=function(a,b){var c=_.Ka.apply(2,arguments),d=Xea(this,a);d&&d instanceof Yl&&(d.o(b,c),Wea(this))};_.g.bm=function(a,b){var c=_.Ka.apply(2,arguments),d=Xea(this,a);d&&d instanceof Zl&&(d.o(b,c),Wea(this))};_.v(lfa,_.Pf);var em=[1,2,3];var qTa=[0,em,OSa,JSa,MSa];var rTa=[0,_.qS,[0,ESa,_.mS]];_.v(mfa,_.Pf);var dm=[1,2,3];var sTa=[0,dm,HSa,FSa,_.rS,rTa];_.v(am,_.Pf);am.mb=[1];var tTa=[0,_.qS,qTa,sTa];var uTa=[0,[1,2,3],_.rS,[0,_.pS,-1,_.oS],_.rS,[0,_.pS,-1,_.nS,_.oS],_.rS,[0,_.pS]];_.v(bm,_.Pf);bm.mb=[3,6,4];bm.prototype.j=_.Ug([0,_.pS,uTa,NSa,_.qS,tTa,KSa,LSa]);_.v(cm,_.Pf);cm.mb=[1];_.v(fm,_.xj);fm.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new cm,c=[],d=0;d<a.length;d++){var e=a[d],f=nfa(e);c.push(f);e.clear()}_.$e(b,1,c);this.j.dispatch(b);this.j.flush()}};gm.prototype.send=function(a,b,c){b=b===void 0?function(){}:b;c=c===void 0?function(){}:c;Kda(a.url,function(d){d=d.target;Nda(d)?b(_.Dk(d)):c(d.zc())},a.requestType,a.body,a.Gz,a.timeoutMillis,a.withCredentials)};gm.prototype.rn=function(){return 1};im.prototype.start=function(){this.startMillis=_.hm()};im.prototype.done=function(){this.startMillis!=null&&this.j.B(this.event,_.hm()-this.startMillis)};_.v(jm,_.xj);_.v(km,jm);km.prototype.O=function(){};km.prototype.B=function(){};km.prototype.Cd=function(){};km.prototype.o=function(){};_.v(lm,jm);lm.prototype.O=function(){this.Ba.j.jh("/client_streamz/bg/fsc","",this.Wd)};
lm.prototype.B=function(a,b){if(a==="t")this.xa.j.bm("/client_streamz/bg/fil",b,"",this.Wd);else if(a==="n")this.Na.j.bm("/client_streamz/bg/fsl",b,"",this.Wd);else if(a==="h"||a==="u"||a==="k"){if(a=this.H.get(a))this.ba.j.jh("/client_streamz/bg/fcc",a,this.Wd),this.ha.j.bm("/client_streamz/bg/fcd",b,a,this.Wd)}else this.pa.j.bm("/client_streamz/bg/el",b,a,"",this.Z,this.Wd)};
lm.prototype.Cd=function(a){var b=this.A.get(a);b?this.ta.j.jh("/client_streamz/bg/fiec","",this.Wd,b):this.errorCount.j.jh("/client_streamz/bg/cec",a,"",this.Z,this.Wd)};lm.prototype.o=function(){this.j.dm()};_.v(mm,_.Pf);_.v(nm,_.Pf);var ofa=_.Vg(nm);_.v(_.om,_.xj);_.om.prototype.snapshot=function(a){var b=this;if(this.isDisposed())throw Error("Ga");this.xb.O();return this.o.then(function(c){var d=c.eD;return new Promise(function(e){var f=new im(b.xb,"n");d(function(h){f.done();b.xb.o();e(h)},[a.Im,a.XI,a.xK,a.bJ])})})};var Mp=window;_.vh("csi.gstatic.com");_.vh("googleads.g.doubleclick.net");_.vh("partner.googleadservices.com");_.vh("pubads.g.doubleclick.net");_.vh("securepubads.g.doubleclick.net");_.vh("tpc.googlesyndication.com");var wfa={FK:"allow-forms",GK:"allow-modals",HK:"allow-orientation-lock",IK:"allow-pointer-lock",JK:"allow-popups",KK:"allow-popups-to-escape-sandbox",LK:"allow-presentation",MK:"allow-same-origin",NK:"allow-scripts",OK:"allow-top-navigation",PK:"allow-top-navigation-by-user-activation"},Afa=_.Ki(function(){return yfa()});var Dfa={};var lia=(new Date).getTime();var Hfa={BM:"https://www.google.com",mO:"https://support.google.com",dC:"https://play.google.com"};_.rm.prototype.reset=function(){document.removeEventListener("click",this.A)};Lfa.prototype.toString=function(){return this.segments.join(".")};Mfa.prototype.toString=function(){return this.segments.join(".")};tm.prototype.toString=function(){if(this.o.endsWith("_/wa/"))var a=this.o+um(this,"wk")+this.A;else if(this.o.endsWith("_/r/"))a=this.o+um(this,"sc");else{a=this.o+Qfa(this);var b=vi(this.B),c="";b!=""&&(c="?"+b);a+=c}return a};tm.prototype.clone=function(){return xm(this.toString())};
var Xfa={MN:"k",gL:"ck",AO:"wk",QM:"m",xL:"exm",vL:"excm",EK:"am",KM:"mm",KN:"rt",EM:"d",wL:"ed",iO:"sv",jL:"deob",ZK:"cb",VN:"rs",ON:"sdch",FM:"im",kL:"dg",tL:"br",sL:"br-d",KO:"wt",yL:"ee",hO:"sm",MM:"md",CM:"gssmodulesetproto",xO:"ujg",wO:"sp",pO:"tpc",kO:"sc"},bpa=RegExp("^loaded_(g|h)?[_\\d]+$"),Zfa={zO:".wasm",gO:".map",nO:".symbols",IM:".loader.js",JM:".loader.sourcemap",IO:".worker.js",JO:".worker.sourcemap"};Ya=Ya||{};_.ib(ym,_.xj);ym.prototype.initialize=function(){};zm.prototype.execute=function(a){this.j&&(this.j.call(this.o||null,a),this.j=this.o=null)};zm.prototype.abort=function(){this.o=this.j=null};_.ib(Am,_.xj);_.g=Am.prototype;_.g.fH=ym;_.g.ml=null;_.g.getId=function(){return this.H};_.g.isLoaded=function(){return!!this.ml};_.g.onLoad=function(a){var b=new this.fH;b.initialize(a());this.ml=b;b=(b=!!Cm(this.o,a()))||!!Cm(this.B,a());b||(this.A.length=0);return b};_.g.onError=function(a){(a=Cm(this.A,a))&&tb(Error("La`"+a));this.o.length=0;this.B.length=0};_.g.Fa=function(){Am.ac.Fa.call(this);_.wj(this.ml)};_.g=Dm.prototype;_.g.Tz=function(){};_.g.Hl=function(){};_.g.Oo=function(){throw Error("Na");};_.g.Sw=function(){return null};_.g.isActive=function(){return!1};_.g.Yx=function(){return!1};_.g.qt=function(){};_.g.Ou=function(){};var cga;_.Em=null;_.Fm=null;cga=[];Im.prototype.toString=function(){return this.o};Im.prototype.mr=function(){return this.j};_.Uo=Symbol("Pa");var Vn={mA:0,nA:0,oA:0,lA:0,kA:0,Qt:0,Rt:0};var Lm=null,Nm=!1,Rm=1,Wm=Symbol("Ra"),Ym={version:0,ey:0,ng:!1,kb:void 0,Zh:void 0,be:void 0,Yn:0,Dc:void 0,Fg:void 0,xf:!1,uq:!1,uz:function(){return!1},vz:function(){},Hi:function(){},zP:function(){}};var uS=Symbol("Sa"),vS=Symbol("Ta"),Vm=Symbol("Ua"),mga=Object.assign({},Ym,{value:uS,ng:!0,error:null,Oq:dga,uz:function(a){return a.value===uS||a.value===vS},vz:function(a){if(a.value===vS)throw Error("Va");var b=a.value;a.value=vS;var c=Tm(a);try{var d=a.zD()}catch(e){d=Vm,a.error=e}finally{Um(a,c)}b!==uS&&b!==Vm&&d!==Vm&&a.Oq(b,d)?a.value=b:(a.value=d,a.version++)}});var qga=null,oga=Object.assign({},Ym,{Oq:dga,value:void 0});var sga=Object.assign({},Ym,{uq:!0,xf:!1,Hi:function(a){a.schedule!==null&&a.schedule(a.va)},Ad:!1,Fi:Xm});var Jga=uga(!1);var fn={default:"__default"};var wga=Object.prototype.hasOwnProperty;$m.prototype=Object.create(null);var To=gn();var zn=null;var Dga=typeof Node!=="undefined"&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};var nn=null,pn=null,ln=null,sn=null,tn=[],rn=Bga,xn=[],yn=[],Ro=function(a){return Ega(function(b,c,d){ln=pn=b;pn=null;c(d);on(null);pn=ln;ln=ln.parentNode;return b},a)}(),Qo=function(a){return Ega(function(b,c,d){var e={nextSibling:b};pn=e;c(d);ln&&on(b.nextSibling);return e===pn?null:pn},a)}();var An=[],Dn=0;var Cn=new $m;var jB=new $m;var Kn={attributes:gn(),handleError:function(a,b){throw b;},eE:!0,Dw:!0,lu:uSa,NA:vSa,Nj:wSa};var Fn=[];var Iga=Symbol("Xa");var wS={},Hga=(wS.Sx=!0,wS[Symbol.dispose]=function(){var a;(a=Kn.handleError)==null||a.call.apply(a,[Kn].concat(_.ma(Gn(Error("Ya")))))},wS.isDisposed=!1,wS);_.Ln=null;var Tn=new Set,Sn=new Set,xS={},yS=Object.assign({},{Sx:!0},Ym,(xS.kb=void 0,xS.Ad=!1,xS.ot=null,xS.uq=!0,xS.xf=!1,xS[Symbol.dispose]=Lga,xS.rh=void 0,xS));var Zn=new Set,Yn=new Set;qga=function(){if(Kn.NA){var a=Tn;Tn=new Set;Rn(a)}else Rn(Tn);Kn.NA?(a=Zn,Zn=new Set,Xn(a)):Xn(Zn);Kn.Nj&&(Kga(),Nga())};var Rga=Object.assign({},yS,{Hi:Mga,xf:!0});var Tga=uga(!0);var go=Symbol("$a");var Bo,io=ho;var $ga=new Set("allowfullscreen async autofocus autoplay checked controls default defer disabled formnovalidate hidden ismap itemscope jsshadow jsslot loop multiple muted novalidate open playsinline readonly required reversed scoped seamless selected spellcheck sortable typemustmatch".split(" "));var Vga={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:3,"class":1,color:1,cols:1,colspan:1,contenteditable:1,controls: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,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,poster:3,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,valign:1,value:1,width:1,wrap:1},Uga={a:{href:[{Ca:3}]},area:{href:[{Ca:3}]},audio:{src:[{Ca:3}]},button:{formaction:[{Ca:3}],
formmethod:[{Ca:1}]},form:{action:[{Ca:3}],method:[{Ca:1}]},iframe:{srcdoc:[{Ca:2}]},img:{src:[{Ca:3}],srcset:[{Ca:11}]},input:{accept:[{Ca:1}],formaction:[{Ca:3}],formmethod:[{Ca:1}],pattern:[{Ca:1}],readonly:[{Ca:1}],src:[{Ca:3}]},link:{href:[{Ca:3,fc:"rel",rc:"alternate"},{Ca:3,fc:"rel",rc:"author"},{Ca:3,fc:"rel",rc:"bookmark"},{Ca:3,fc:"rel",rc:"canonical"},{Ca:3,fc:"rel",rc:"cite"},{Ca:3,fc:"rel",rc:"help"},{Ca:3,fc:"rel",rc:"icon"},{Ca:3,fc:"rel",rc:"license"},{Ca:3,fc:"rel",rc:"next"},{Ca:3,
fc:"rel",rc:"prefetch"},{Ca:3,fc:"rel",rc:"dns-prefetch"},{Ca:3,fc:"rel",rc:"prerender"},{Ca:3,fc:"rel",rc:"preconnect"},{Ca:3,fc:"rel",rc:"preload"},{Ca:3,fc:"rel",rc:"prev"},{Ca:3,fc:"rel",rc:"search"},{Ca:3,fc:"rel",rc:"subresource"}]},script:{defer:[{Ca:1}]},source:{src:[{Ca:3}],srcset:[{Ca:11}]},textarea:{readonly:[{Ca:1}]},video:{src:[{Ca:3}]}},vTa=[{auto:!0,ltr:!0,rtl:!0},{async:!0},{eager:!0,lazy:!0},{_self:!0,_blank:!0}],wTa={"*":{async:1,dir:0,loading:2,target:3}};var xTa=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,zS={},Xga=(zS[1]={Nb:null,kc:null,Ub:null},zS[2]={Nb:function(){return Fh.toString()},kc:function(a){return a instanceof Wh},Ub:function(a){return Xh(a)}},zS[3]={Nb:function(a,b,c){return xTa.test(c)?c:Fh.toString()},kc:function(a){return a instanceof _.Ah},Ub:function(a){return Bh(a)}},zS[4]={Nb:function(){return Fh.toString()},kc:function(a){return a instanceof wh},Ub:function(a){return _.xh(a)}},zS[5]={Nb:null,kc:function(a){return a instanceof
Vh},Ub:function(a){return a.toString()}},zS[7]={Nb:null,kc:null,Ub:null},zS[8]={Nb:null,kc:null,Ub:null},zS[10]={Nb:null,kc:null,Ub:null},zS);var lo=Symbol("cb"),mo=Symbol("db");RegExp.prototype.hasOwnProperty("sticky");ko.prototype.append=function(a,b,c,d,e,f){if(typeof a==="string")this.j.set(a,b),c!==void 0&&(this.j.set(c,d),e!==void 0&&this.j.set(e,f));else for(var h in a)typeof h==="string"&&a[h]!==void 0&&this.j.set(h,a[h])};ko.prototype.build=function(){var a=Object.fromEntries(this.j.entries());this.j.clear();return _.no(a)};var yTa=gn(),bha=yTa[fn.default],cha=yTa.style,aha=["focusin","focusout"];_.Co=Symbol("hb");var hha=Object.assign({},yS,{Hi:Mga,xf:!1});var Dha=zha;var Ho={ZO:function(){},BR:function(){},gP:function(){},Iv:function(){},aP:function(){},Mi:function(){},Ni:function(){},Te:function(){},Bf:function(){}};Jo.prototype.Ni=function(){};Jo.prototype.Mi=function(){};Jo.prototype.Te=function(){};Jo.prototype.Bf=function(){};var Ko=null;_.v(Mo,Jo);Mo.prototype.render=function(a){var b=this,c=Ko;Ko=this;this.B=0;try{return Jn(function(){return eo(function(){return Wn(b.Xm,function(){return b.o(a)})})})}finally{Ko=c}};Bo=Eha;var Mha=new Set(["For","If","Match","Watch"]),AS={},zTa=(AS[fn.default]=function(){return oo},AS.style=function(){return oo},AS),BS;for(BS in zTa)Kn.attributes[BS]=zTa[BS](Kn.attributes[BS]);fo(_.Vo,function(a){return a.children()});var Qha=Object.assign({},yS,{Hi:Un,xf:!1});_.ATa=Object.assign({},yS,{Hi:Un,xf:!0});var Zo=Symbol("qb");var ap=Symbol("rb");var dp=Array.isArray;var ip=[];(function(){var a=zn;zn=function(b){a==null||a(b);Tha(b)}})();var poa=new _.J("loggingContext");_.op=Symbol("vb");_.jp.prototype.toString=function(){return"InjectionToken("+this.name+")"};np.prototype.da=function(a){this.A.set(a.aa,a);var b=this.j.get(a.aa);if(b)try{b.Ro(this.resolve(a.aa))}catch(c){b.lI(c)}};np.prototype.resolve=function(a){return a instanceof _.lp?Vha(this,a):a instanceof kp?pp(this,a.key,[],!0):pp(this,a,[])};var qp;_.xw=new _.jp("VISIBILITY_OBSERVER");var CS=_.Sa.window,BTa,CTa,rp=(CS==null?void 0:(BTa=CS.yt)==null?void 0:BTa.config_)||(CS==null?void 0:(CTa=CS.ytcfg)==null?void 0:CTa.data_)||{};_.Ta("yt.config_",rp);var Bp=Date.now().toString();var $ha=[];Gp.prototype.set=function(a,b){b=b===void 0?!0:b;0<=a&&a<52&&Number.isInteger(a)&&this.data[a]!==b&&(this.data[a]=b,this.j=-1)};Gp.prototype.get=function(a){return!!this.data[a]};var jia=/^[\w.]*$/,gia={q:!0,search_query:!0},fia=String(Hp);var kia=new function(){var a=window.document;this.j=window;this.o=a};_.Ta("yt.ads_.signals_.getAdSignalsString",function(a){return hia(Np(a))});_.hb();navigator.userAgent.indexOf(" (CrKey ");var mia="XMLHttpRequest"in _.Sa?function(){return new XMLHttpRequest}:null;var DTa="client_dev_domain client_dev_expflag client_dev_regex_map client_dev_root_url client_rollout_override expflag forcedCapability jsfeat jsmode mods".split(" "),ETa=[].concat(_.ma(DTa),["client_dev_set_cookie"]);var tia={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-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM","X-Goog-AuthUser":"SESSION_INDEX","X-Goog-PageId":"DELEGATED_SESSION_ID"},pia="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(_.ma(DTa)),Aia=!1,ria=uia,xia=Qp;_.v(Tp,_.Pf);_.v(Up,_.Pf);_.v(Vp,_.Pf);Vp.prototype.getPlayerType=function(){return _.lf(this,36)};Vp.prototype.setHomeGroupInfo=function(a){return _.Ye(this,81,a)};Vp.prototype.clearLocationPlayabilityToken=function(){return _.pe(this,89)};Vp.mb=[9,66,32,86,100,101];_.v(Re,_.Pf);_.v(Wp,_.Pf);Wp.prototype.setTrackingParams=function(a){return _.pe(this,1,Kc(a,!1,!1))};Wp.mb=[6];_.v(Xp,_.Pf);Xp.prototype.getValue=function(){return mf(this,2,FTa)};Xp.prototype.sc=function(a){return Me(this,2,FTa,ud(a))};var FTa=[2,3,4,5,6];_.v(Yp,_.Pf);Yp.mb=[15,26,28];_.v(Zp,_.Pf);Zp.mb=[5];_.v($p,_.Pf);$p.prototype.getToken=function(){return ef(this,2)};$p.prototype.setToken=function(a){return _.rf(this,2,a)};_.v(aq,_.Pf);aq.prototype.setSafetyMode=function(a){return _.sf(this,5,a)};aq.mb=[12];_.v(bq,_.Pf);bq.prototype.Il=function(a){return _.Ye(this,1,a)};bq.mb=[12];var eka={GO:"WEB_DISPLAY_MODE_UNKNOWN",CO:"WEB_DISPLAY_MODE_BROWSER",EO:"WEB_DISPLAY_MODE_MINIMAL_UI",FO:"WEB_DISPLAY_MODE_STANDALONE",DO:"WEB_DISPLAY_MODE_FULLSCREEN"};_.DS={identityType:"UNAUTHENTICATED_IDENTITY_TYPE_UNKNOWN"};var kq=_.Ua("ytglobal.prefsUserPrefsPrefs_")||{};_.Ta("ytglobal.prefsUserPrefsPrefs_",kq);var hq;_.g=Kia.prototype;_.g.get=function(a,b){nq(a);mq(a);a=kq[a]!==void 0?kq[a].toString():null;return a!=null?a:b?b:""};_.g.set=function(a,b){nq(a);mq(a);if(b==null)throw Error("Bb");this.sc(a,b)};_.g.remove=function(a){nq(a);mq(a);delete kq[a]};_.g.save=function(){var a=!0;_.M("web_secure_pref_cookie_killswitch")&&(a=!1);_.gq(this.j,this.dump(),63072E3,this.o,a)};_.g.clear=function(){for(var a in kq)delete kq[a]};
_.g.dump=function(){var a=[],b;for(b in kq)kq.hasOwnProperty(b)&&a.push(b+"="+encodeURIComponent(String(kq[b])));return a.join("&")};_.g.sc=function(a,b){kq[a]=b.toString()};_.g.parse=function(a){a=decodeURIComponent(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&this.sc(d,c)}};var Oia={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"},fka={CONN_DEFAULT:0,CONN_UNKNOWN:1,CONN_NONE:2,CONN_WIFI:3,CONN_CELLULAR_2G:4,CONN_CELLULAR_3G:5,CONN_CELLULAR_4G:6,CONN_CELLULAR_UNKNOWN:7,CONN_DISCO:8,CONN_CELLULAR_5G:9,CONN_WIFI_METERED:10,CONN_CELLULAR_5G_SA:11,
CONN_CELLULAR_5G_NSA:12,CONN_WIRED:30,CONN_INVALID:31},gka={EFFECTIVE_CONNECTION_TYPE_UNKNOWN:0,EFFECTIVE_CONNECTION_TYPE_OFFLINE:1,EFFECTIVE_CONNECTION_TYPE_SLOW_2G:2,EFFECTIVE_CONNECTION_TYPE_2G:3,EFFECTIVE_CONNECTION_TYPE_3G:4,EFFECTIVE_CONNECTION_TYPE_4G:5},Qia={"slow-2g":"EFFECTIVE_CONNECTION_TYPE_SLOW_2G","2g":"EFFECTIVE_CONNECTION_TYPE_2G","3g":"EFFECTIVE_CONNECTION_TYPE_3G","4g":"EFFECTIVE_CONNECTION_TYPE_4G"};_.v(_.oq,Error);rq.prototype.wb=function(a,b){return sq(0,a,1,b)};_.v(xq,rq);xq.prototype.Ma=function(a){if(a===void 0||!Number.isNaN(Number(a))){var b=_.Ua("yt.scheduler.instance.cancelJob");b?b(a):window.clearTimeout(a)}};xq.prototype.start=function(){var a=_.Ua("yt.scheduler.instance.start");a&&a()};xq.prototype.pause=function(){var a=_.Ua("yt.scheduler.instance.pause");a&&a()};_.xr=_.yq();zq.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(Ml(b))}catch(f){return}else e=escape(b);_.gq(a,e,c,this.o)};zq.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=_.fq.get(a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};zq.prototype.remove=function(a){this.j&&this.j.remove(a);Iia(a,"/",this.o)};var Aq=function(){var a;return function(){a||(a=new zq("ytidb"));return a}}();var Cq;_.Eq=[];Cq=!1;var tja=Tia||Uia;var ES={},Via=(ES.AUTH_INVALID="No user identifier specified.",ES.EXPLICIT_ABORT="Transaction was explicitly aborted.",ES.IDB_NOT_SUPPORTED="IndexedDB is not supported.",ES.MISSING_INDEX="Index not created.",ES.MISSING_OBJECT_STORES="Object stores not created.",ES.DB_DELETED_BY_MISSING_OBJECT_STORES="Database is deleted because expected object stores were not created.",ES.DB_REOPENED_BY_MISSING_OBJECT_STORES="Database is reopened because expected object stores were not created.",ES.UNKNOWN_ABORT=
"Transaction was aborted for unknown reasons.",ES.QUOTA_EXCEEDED="The current transaction exceeded its quota limitations.",ES.QUOTA_MAYBE_EXCEEDED="The current transaction may have failed because of exceeding quota limitations.",ES.EXECUTE_TRANSACTION_ON_CLOSED_DB="Can't start a transaction on a closed database",ES.INCOMPATIBLE_DB_VERSION="The binary is incompatible with the database version",ES),FS={},Wia=(FS.AUTH_INVALID="ERROR",FS.EXECUTE_TRANSACTION_ON_CLOSED_DB="WARNING",FS.EXPLICIT_ABORT="IGNORED",
FS.IDB_NOT_SUPPORTED="ERROR",FS.MISSING_INDEX="WARNING",FS.MISSING_OBJECT_STORES="ERROR",FS.DB_DELETED_BY_MISSING_OBJECT_STORES="WARNING",FS.DB_REOPENED_BY_MISSING_OBJECT_STORES="WARNING",FS.QUOTA_EXCEEDED="WARNING",FS.QUOTA_MAYBE_EXCEEDED="WARNING",FS.UNKNOWN_ABORT="WARNING",FS.INCOMPATIBLE_DB_VERSION="WARNING",FS),GS={},Xia=(GS.AUTH_INVALID=!1,GS.EXECUTE_TRANSACTION_ON_CLOSED_DB=!1,GS.EXPLICIT_ABORT=!1,GS.IDB_NOT_SUPPORTED=!1,GS.MISSING_INDEX=!1,GS.MISSING_OBJECT_STORES=!1,GS.DB_DELETED_BY_MISSING_OBJECT_STORES=
!1,GS.DB_REOPENED_BY_MISSING_OBJECT_STORES=!1,GS.QUOTA_EXCEEDED=!1,GS.QUOTA_MAYBE_EXCEEDED=!0,GS.UNKNOWN_ABORT=!0,GS.INCOMPATIBLE_DB_VERSION=!1,GS);_.v(Lq,_.oq);_.v(Mq,Lq);_.v(Nq,Error);var Zia=["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"];Rq.all=function(a){return new Rq(new Qq(function(b,c){var d=[],e=a.length;e===0&&b(d);for(var f={Yi:0};f.Yi<a.length;f={Yi:f.Yi},++f.Yi)Rq.resolve(a[f.Yi]).then(function(h){return function(k){d[h.Yi]=k;e--;e===0&&b(d)}}(f)).catch(function(h){c(h)})}))};Rq.resolve=function(a){return new Rq(new Qq(function(b,c){a instanceof Rq?a.then(b,c):b(a)}))};Rq.reject=function(a){return new Rq(new Qq(function(b,c){c(a)}))};
Rq.prototype.then=function(a,b){var c=this,d=a!=null?a:aja,e=b!=null?b:$ia;return new Rq(new Qq(function(f,h){c.state.status==="PENDING"?(c.j.push(function(){bja(c,c,d,f,h)}),c.o.push(function(){cja(c,c,e,f,h)})):c.state.status==="FULFILLED"?bja(c,c,d,f,h):c.state.status==="REJECTED"&&cja(c,c,e,f,h)}))};Rq.prototype.catch=function(a){return this.then(void 0,a)};var HS;HS=window;_.Uq=HS.ytcsi&&HS.ytcsi.now?HS.ytcsi.now:HS.performance&&HS.performance.timing&&HS.performance.now&&HS.performance.timing.navigationStart?function(){return HS.performance.timing.navigationStart+HS.performance.now()}:function(){return(new Date).getTime()};_.g=gja.prototype;_.g.add=function(a,b,c){return Wq(this,[a],{mode:"readwrite",hc:!0},function(d){return d.objectStore(a).add(b,c)})};_.g.clear=function(a){return Wq(this,[a],{mode:"readwrite",hc:!0},function(b){return b.objectStore(a).clear()})};_.g.close=function(){this.j.close();var a;((a=this.options)==null?0:a.closed)&&this.options.closed()};_.g.count=function(a,b){return Wq(this,[a],{mode:"readonly",hc:!0},function(c){return c.objectStore(a).count(b)})};
_.g.createObjectStore=function(a,b){a=this.j.createObjectStore(a,b);return new Xq(a)};_.g.delete=function(a,b){return Wq(this,[a],{mode:"readwrite",hc:!0},function(c){return c.objectStore(a).delete(b)})};_.g.deleteObjectStore=function(a){this.j.deleteObjectStore(a)};_.g.get=function(a,b){return Wq(this,[a],{mode:"readonly",hc:!0},function(c){return c.objectStore(a).get(b)})};_.g.getAll=function(a,b,c){return Wq(this,[a],{mode:"readonly",hc:!0},function(d){return d.objectStore(a).getAll(b,c)})};
_.g.put=function(a,b,c){return Wq(this,[a],{mode:"readwrite",hc:!0},function(d){return d.objectStore(a).put(b,c)})};_.g.objectStoreNames=function(){return Array.from(this.j.objectStoreNames)};_.g.getName=function(){return this.j.name};_.g=Xq.prototype;_.g.add=function(a,b){return Tq(this.j.add(a,b))};_.g.autoIncrement=function(){return this.j.autoIncrement};_.g.clear=function(){return Tq(this.j.clear()).then(function(){})};_.g.createIndex=function(a,b,c){this.j.createIndex(a,b,c)};_.g.count=function(a){return Tq(this.j.count(a))};
_.g.delete=function(a){return a instanceof IDBKeyRange?kja(this,a):Tq(this.j.delete(a))};_.g.get=function(a){return Tq(this.j.get(a))};_.g.getAll=function(a,b){return"getAll"in IDBObjectStore.prototype?Tq(this.j.getAll(a,b)):lja(this,a,b)};_.g.index=function(a){try{return new mja(this.j.index(a))}catch(b){if(b instanceof Error&&b.name==="NotFoundError")throw new Nq(a,this.j.name);throw b;}};_.g.getName=function(){return this.j.name};_.g.keyPath=function(){return this.j.keyPath};
_.g.put=function(a,b){return Tq(this.j.put(a,b))};Vq.prototype.abort=function(){this.j.abort();this.o=!0;throw new Lq("EXPLICIT_ABORT");};Vq.prototype.objectStore=function(a){a=this.j.objectStore(a);var b=this.A.get(a);b||(b=new Xq(a),this.A.set(a,b));return b};_.g=mja.prototype;_.g.count=function(a){return Tq(this.j.count(a))};_.g.delete=function(a){return $q(this,{query:a},function(b){return b.delete().then(function(){return b.continue()})})};_.g.get=function(a){return Tq(this.j.get(a))};
_.g.getAll=function(a,b){return"getAll"in IDBIndex.prototype?Tq(this.j.getAll(a,b)):nja(this,a,b)};_.g.keyPath=function(){return this.j.keyPath};_.g.unique=function(){return this.j.unique};ar.prototype.continue=function(a){this.cursor.continue(a);return Zq(this.request)};ar.prototype.delete=function(){return Tq(this.cursor.delete()).then(function(){})};ar.prototype.getValue=function(){return this.cursor.value};ar.prototype.update=function(a){return Tq(this.cursor.update(a))};cr.prototype.o=function(a,b,c){c=c===void 0?{}:c;return pja(a,b,c)};cr.prototype.delete=function(a){a=a===void 0?{}:a;return _.br(this.name,a)};
cr.prototype.open=function(){function a(){var f,h,k,l,m,n,p,q,r,t;return _.z(function(w){switch(w.j){case 1:return h=(f=Error().stack)!=null?f:"",_.xa(w,2),_.x(w,c.o(c.name,c.options.version,e),4);case 4:for(var y=k=w.o,B=c.options,A=[],E=_.u(Object.keys(B.Lg)),I=E.next();!I.done;I=E.next()){I=I.value;var G=B.Lg[I],X=G.oI===void 0?Number.MAX_VALUE:G.oI;!(y.j.version>=G.nf)||y.j.version>=X||y.j.objectStoreNames.contains(I)||A.push(I)}l=A;if(l.length===0){w.L(5);break}m=Object.keys(c.options.Lg);n=
k.objectStoreNames();if(c.G<_.wp("ytidb_reopen_db_retries",0))return c.G++,k.close(),_.Fq(new Lq("DB_REOPENED_BY_MISSING_OBJECT_STORES",{dbName:c.name,expectedObjectStores:m,foundObjectStores:n})),w.return(a());if(!(c.B<_.wp("ytidb_remake_db_retries",1))){w.L(6);break}c.B++;return _.x(w,c.delete(),7);case 7:return _.Fq(new Lq("DB_DELETED_BY_MISSING_OBJECT_STORES",{dbName:c.name,expectedObjectStores:m,foundObjectStores:n})),w.return(a());case 6:throw new Mq(n,m);case 5:return w.return(k);case 2:p=
_.Ba(w);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."){w.L(8);break}return _.x(w,c.o(c.name,void 0,Object.assign({},e,{upgrade:void 0})),9);case 9:q=w.o;r=q.j.version;if(c.options.version!==void 0&&r>c.options.version+1)throw q.close(),c.A=!1,qja(c,r);return w.return(q);case 8:throw b(),
p instanceof Error&&!_.M("ytidb_async_stack_killswitch")&&(p.stack=p.stack+"\n"+h.substring(h.indexOf("\n")+1)),Oq(p,c.name,"",(t=c.options.version)!=null?t:-1);}})}function b(){c.j===d&&(c.j=void 0)}var c=this;if(!this.A)throw qja(this);if(this.j)return this.j;var d,e={blocking:function(f){f.close()},closed:b,vJ:b,upgrade:this.options.upgrade};return this.j=d=a()};var er=new cr("YtIdbMeta",{Lg:{databases:{nf:1}},upgrade:function(a,b){b(1)&&a.createObjectStore("databases",{keyPath:"actualName"})}});var ir,hr=new function(){}(new function(){});new _.Uj;_.v(mr,cr);mr.prototype.o=function(a,b,c){c=c===void 0?{}:c;return(this.options.shared?zja:yja)(a,b,Object.assign({},c))};mr.prototype.delete=function(a){a=a===void 0?{}:a;return(this.options.shared?Dja:Aja)(this.name,a)};var IS={},Fja=nr("ytGcfConfig",{Lg:(IS.coldConfigStore={nf:1},IS.hotConfigStore={nf:1},IS),shared:!1,upgrade:function(a,b){b(1)&&(a.createObjectStore("hotConfigStore",{keyPath:"key",autoIncrement:!0}).createIndex("hotTimestampIndex","timestamp",{unique:!1}),a.createObjectStore("coldConfigStore",{keyPath:"key",autoIncrement:!0}).createIndex("coldTimestampIndex","timestamp",{unique:!1}))},version:1});_.v(pr,_.xj);pr.prototype.Fa=function(){for(var a=_.u(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;_.xj.prototype.Fa.call(this)};var zr={},GTa=typeof Uint8Array!=="undefined"&&typeof Uint16Array!=="undefined"&&typeof Int32Array!=="undefined";zr.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("Mb`"+c);for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}return a};zr.Pt=function(a,b){if(a.length===b)return a;if(a.subarray)return a.subarray(0,b);a.length=b;return a};
var HTa={Ci: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<d;f++)a[e+f]=b[c+f]},Mw:function(a){var b,c;var d=c=0;for(b=a.length;d<b;d++)c+=a[d].length;var e=new Uint8Array(c);d=c=0;for(b=a.length;d<b;d++){var f=a[d];e.set(f,c);c+=f.length}return e}},ITa={Ci:function(a,b,c,d,e){for(var f=0;f<d;f++)a[e+f]=b[c+f]},Mw:function(a){return[].concat.apply([],a)}};
zr.KI=function(){GTa?(zr.si=Uint8Array,zr.hf=Uint16Array,zr.nB=Int32Array,zr.assign(zr,HTa)):(zr.si=Array,zr.hf=Array,zr.nB=Array,zr.assign(zr,ITa))};zr.KI();var JTa=!0;try{new Uint8Array(1)}catch(a){JTa=!1};var Yr={};Yr=function(a,b,c,d){var e=a&65535|0;a=a>>>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 Zr={},JS,KTa=[],KS=0;KS<256;KS++){JS=KS;for(var LTa=0;LTa<8;LTa++)JS=JS&1?3988292384^JS>>>1:JS>>>1;KTa[KS]=JS}Zr=function(a,b,c,d){c=d+c;for(a^=-1;d<c;d++)a=a>>>8^KTa[(a^b[d])&255];return a^-1};var Pr={};Pr={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 Ir=[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],Lr=[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],Eka=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],tka=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Tr=Array(576);Ar(Tr);var Ur=Array(60);Ar(Ur);var Kr=Array(512);Ar(Kr);var Hr=Array(256);Ar(Hr);var Jr=Array(29);Ar(Jr);var Mr=Array(30);Ar(Mr);var Bka,Cka,Dka,Aka=!1;var ds;
ds=[new cs(0,0,0,0,function(a,b){var c=65535;for(c>a.ae-5&&(c=a.ae-5);;){if(a.qa<=1){$r(a);if(a.qa===0&&b===0)return 1;if(a.qa===0)break}a.ea+=a.qa;a.qa=0;var d=a.xd+c;if(a.ea===0||a.ea>=d)if(a.qa=a.ea-d,a.ea=d,Vr(a,!1),a.Oa.Ra===0)return 1;if(a.ea-a.xd>=a.Gc-262&&(Vr(a,!1),a.Oa.Ra===0))return 1}a.insert=0;if(b===4)return Vr(a,!0),a.Oa.Ra===0?3:4;a.ea>a.xd&&Vr(a,!1);return 1}),new cs(4,4,8,4,as),new cs(4,5,16,8,as),new cs(4,6,32,32,as),new cs(4,4,16,16,bs),new cs(8,16,32,32,bs),new cs(8,16,128,128,
bs),new cs(8,32,128,256,bs),new cs(32,128,258,1024,bs),new cs(32,258,258,4096,bs)];var zka={};zka=function(){this.input=null;this.ki=this.Jc=this.Sh=0;this.output=null;this.bu=this.Ra=this.uj=0;this.msg="";this.state=null;this.Dq=2;this.Ja=0};var Fka=Object.prototype.toString;
es.prototype.push=function(a,b){var c=this.Oa,d=this.options.chunkSize;if(this.ended)return!1;var e=b===~~b?b:b===!0?4:0;typeof a==="string"?c.input=ika(a):Fka.call(a)==="[object ArrayBuffer]"?c.input=new Uint8Array(a):c.input=a;c.Sh=0;c.Jc=c.input.length;do{c.Ra===0&&(c.output=new zr.si(d),c.uj=0,c.Ra=d);a=yka(c,e);if(a!==1&&a!==0)return fs(this,a),this.ended=!0,!1;if(c.Ra===0||c.Jc===0&&(e===4||e===2))if(this.options.to==="string"){b=this.eo;var f=zr.Pt(c.output,c.uj);var h=f;f=f.length;if(f<65537&&
(h.subarray&&JTa||!h.subarray))h=String.fromCharCode.apply(null,zr.Pt(h,f));else{for(var k="",l=0;l<f;l++)k+=String.fromCharCode(h[l]);h=k}b.call(this,h)}else this.eo(zr.Pt(c.output,c.uj))}while((c.Jc>0||c.Ra===0)&&a!==1);if(e===4)return(c=this.Oa)&&c.state?(d=c.state.status,d!==42&&d!==69&&d!==73&&d!==91&&d!==103&&d!==113&&d!==666?a=Qr(c,-2):(c.state=null,a=d===113?Qr(c,-3):0)):a=-2,fs(this,a),this.ended=!0,a===0;e===2&&(fs(this,0),c.Ra=0);return!0};es.prototype.eo=function(a){this.chunks.push(a)};var MTa;MTa=typeof TextEncoder!=="undefined"?new TextEncoder:null;_.Uka=MTa?function(a){return MTa.encode(a)}:function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);e<128?b[c++]=e:(e<2048?b[c++]=e>>6|192:((e&64512)==55296&&d+1<a.length&&(a.charCodeAt(d+1)&64512)==56320?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}a=new Uint8Array(b.length);for(c=0;c<a.length;c++)a[c]=b[c];return a};_.ib(_.gs,_.xj);_.g=_.gs.prototype;_.g.subscribe=function(a,b,c){var d=this.o[a];d||(d=this.o[a]=[]);var e=this.H;this.j[e]=a;this.j[e+1]=b;this.j[e+2]=c;this.H=e+3;d.push(e);return e};_.g.unsubscribe=function(a,b,c){if(a=this.o[a]){var d=this.j;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.hg(a)}return!1};
_.g.hg=function(a){var b=this.j[a];if(b){var c=this.o[b];this.B!=0?(this.A.push(a),this.j[a+1]=function(){}):(c&&_.Sb(c,a),delete this.j[a],delete this.j[a+1],delete this.j[a+2])}return!!b};
_.g.lb=function(a,b){var c=this.o[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.O)for(e=0;e<c.length;e++){var h=c[e];Hka(this.j[h+1],this.j[h+2],d)}else{this.B++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.j[h+1].apply(this.j[h+2],d)}finally{if(this.B--,this.A.length>0&&this.B==0)for(;c=this.A.pop();)this.hg(c)}}return e!=0}return!1};
_.g.clear=function(a){if(a){var b=this.o[a];b&&(b.forEach(this.hg,this),delete this.o[a])}else this.j.length=0,this.o={}};_.g.Fa=function(){_.gs.ac.Fa.call(this);this.clear();this.A.length=0};is.prototype.toString=function(){return this.topic};var NTa=_.Ua("ytPubsub2Pubsub2Instance")||new _.gs;_.gs.prototype.subscribe=_.gs.prototype.subscribe;_.gs.prototype.unsubscribeByKey=_.gs.prototype.hg;_.gs.prototype.publish=_.gs.prototype.lb;_.gs.prototype.clear=_.gs.prototype.clear;_.Ta("ytPubsub2Pubsub2Instance",NTa);var ls=_.Ua("ytPubsub2Pubsub2SubscribedKeys")||{};_.Ta("ytPubsub2Pubsub2SubscribedKeys",ls);var ms=_.Ua("ytPubsub2Pubsub2TopicToKeys")||{};_.Ta("ytPubsub2Pubsub2TopicToKeys",ms);var Ika=_.Ua("ytPubsub2Pubsub2IsAsync")||{};
_.Ta("ytPubsub2Pubsub2IsAsync",Ika);_.Ta("ytPubsub2Pubsub2SkipSubKey",null);var qs=void 0,ps=void 0;var ss,ts,vs,Tka;_.Rka=_.wp("max_body_size_to_compress",5E5);_.Ska=_.wp("min_body_size_to_compress",500);_.us=!0;_.ys=0;_.xs=0;_.Vka=_.wp("compression_performance_threshold_lr",250);_.Wka=_.wp("slow_compressions_before_abandon_count",4);ss=!1;ts=new Map;vs=1;Tka=!0;_.g=As.prototype;_.g.writeThenSend=function(a,b){var c=this;b=b===void 0?{}:b;if(zs(this)&&this.ic){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.Rb.set(d,this.hb).then(function(e){d.id=e;c.Bb.ld()&&Bs(c,d)}).catch(function(e){Bs(c,d);Cs(c,e)})}else this.sendFn(a,b)};
_.g.sendThenWrite=function(a,b,c){var d=this;b=b===void 0?{}:b;if(zs(this)&&this.ic){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.jb&&this.jb("nwl_skip_retry")&&(e.skipRetry=c);if(this.Bb.ld()||this.jb&&this.jb("nwl_aggressive_send_then_write")&&!e.skipRetry){if(!e.skipRetry){var f=b.onError?b.onError:function(){};b.onError=function(h,k){return _.z(function(l){if(l.j==1)return _.x(l,d.Rb.set(e,d.hb).catch(function(m){Cs(d,m)}),2);f(h,k);_.wa(l)})}}this.sendFn(a,b,e.skipRetry)}else this.Rb.set(e,
this.hb).catch(function(h){d.sendFn(a,b,e.skipRetry);Cs(d,h)})}else this.sendFn(a,b,this.jb&&this.jb("nwl_skip_retry")&&c)};
_.g.sendAndWrite=function(a,b){var c=this;b=b===void 0?{}:b;if(zs(this)&&this.ic){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0},e=!1,f=b.onSuccess?b.onSuccess:function(){};d.options.onSuccess=function(h,k){d.id!==void 0?c.Rb.Li(d.id,c.hb):e=!0;c.Bb.Rh&&c.jb&&c.jb("vss_network_hint")&&c.Bb.Rh(!0);f(h,k)};this.sendFn(d.url,d.options,void 0,!0);this.Rb.set(d,this.hb).then(function(h){d.id=h;e&&c.Rb.Li(d.id,c.hb)}).catch(function(h){Cs(c,h)})}else this.sendFn(a,b,void 0,!0)};
_.g.Nl=function(){var a=this;if(!zs(this))throw Error("Pb");this.j||(this.j=this.Be.wb(function(){var b;return _.z(function(c){if(c.j==1)return _.x(c,a.Rb.Tw("NEW",a.hb),2);if(c.j!=3)return b=c.o,b?_.x(c,Bs(a,b),3):(a.Qv(),c.return());a.j&&(a.j=0,a.Nl());_.wa(c)})},this.BA))};_.g.Qv=function(){this.Be.Ma(this.j);this.j=0};var Ds;var Ema={accountStateChangeSignedIn:23,accountStateChangeSignedOut:24,delayedEventMetricCaptured:11,latencyActionBaselined:6,latencyActionInfo:7,latencyActionTicked:5,offlineTransferStatusChanged:2,offlineImageDownload:335,playbackStartStateChanged:9,systemHealthCaptured:3,mangoOnboardingCompleted:10,mangoPushNotificationReceived:230,mangoUnforkDbMigrationError:121,mangoUnforkDbMigrationSummary:122,mangoUnforkDbMigrationPreunforkDbVersionNumber:133,mangoUnforkDbMigrationPhoneMetadata:134,mangoUnforkDbMigrationPhoneStorage:135,
mangoUnforkDbMigrationStep:142,mangoAsyncApiMigrationEvent:223,mangoDownloadVideoResult:224,mangoHomepageVideoCount:279,mangoHomeV3State:295,mangoImageClientCacheHitEvent:273,sdCardStatusChanged:98,framesDropped:12,thumbnailHovered:13,deviceRetentionInfoCaptured:14,thumbnailLoaded:15,backToAppEvent:318,streamingStatsCaptured:17,offlineVideoShared:19,appCrashed:20,youThere:21,offlineStateSnapshot:22,mdxSessionStarted:25,mdxSessionConnected:26,mdxSessionDisconnected:27,bedrockResourceConsumptionSnapshot:28,
nextGenWatchWatchSwiped:29,kidsAccountsSnapshot:30,zeroStepChannelCreated:31,tvhtml5SearchCompleted:32,offlineSharePairing:34,offlineShareUnlock:35,mdxRouteDistributionSnapshot:36,bedrockRepetitiveActionTimed:37,unpluggedDegradationInfo:229,uploadMp4HeaderMoved:38,uploadVideoTranscoded:39,uploadProcessorStarted:46,uploadProcessorEnded:47,uploadProcessorReady:94,uploadProcessorRequirementPending:95,uploadProcessorInterrupted:96,uploadFrontendEvent:241,assetPackDownloadStarted:41,assetPackDownloaded:42,
assetPackApplied:43,assetPackDeleted:44,appInstallAttributionEvent:459,playbackSessionStopped:45,adBlockerMessagingShown:48,distributionChannelCaptured:49,dataPlanCpidRequested:51,detailedNetworkTypeCaptured:52,sendStateUpdated:53,receiveStateUpdated:54,sendDebugStateUpdated:55,receiveDebugStateUpdated:56,kidsErrored:57,mdxMsnSessionStatsFinished:58,appSettingsCaptured:59,mdxWebSocketServerHttpError:60,mdxWebSocketServer:61,startupCrashesDetected:62,coldStartInfo:435,offlinePlaybackStarted:63,liveChatMessageSent:225,
liveChatUserPresent:434,liveChatBeingModerated:457,liveCreationCameraUpdated:64,liveCreationEncodingCaptured:65,liveCreationError:66,liveCreationHealthUpdated:67,liveCreationVideoEffectsCaptured:68,liveCreationStageOccured:75,liveCreationBroadcastScheduled:123,liveCreationArchiveReplacement:149,liveCreationCostreamingConnection:421,liveCreationStreamWebrtcStats:288,mdxSessionRecoveryStarted:69,mdxSessionRecoveryCompleted:70,mdxSessionRecoveryStopped:71,visualElementShown:72,visualElementHidden:73,
visualElementGestured:78,visualElementStateChanged:208,screenCreated:156,playbackAssociated:202,visualElementAttached:215,playbackContextEvent:214,cloudCastingPlaybackStarted:74,webPlayerApiCalled:76,tvhtml5AccountDialogOpened:79,foregroundHeartbeat:80,foregroundHeartbeatScreenAssociated:111,kidsOfflineSnapshot:81,mdxEncryptionSessionStatsFinished:82,playerRequestCompleted:83,liteSchedulerStatistics:84,mdxSignIn:85,spacecastMetadataLookupRequested:86,spacecastBatchLookupRequested:87,spacecastSummaryRequested:88,
spacecastPlayback:89,spacecastDiscovery:90,tvhtml5LaunchUrlComponentChanged:91,mdxBackgroundPlaybackRequestCompleted:92,mdxBrokenAdditionalDataDeviceDetected:93,tvhtml5LocalStorage:97,tvhtml5DeviceStorageStatus:147,autoCaptionsAvailable:99,playbackScrubbingEvent:339,flexyState:100,interfaceOrientationCaptured:101,mainAppBrowseFragmentCache:102,offlineCacheVerificationFailure:103,offlinePlaybackExceptionDigest:217,vrCopresenceStats:104,vrCopresenceSyncStats:130,vrCopresenceCommsStats:137,vrCopresencePartyStats:153,
vrCopresenceEmojiStats:213,vrCopresenceEvent:141,vrCopresenceFlowTransitEvent:160,vrCowatchPartyEvent:492,vrPlaybackEvent:345,kidsAgeGateTracking:105,offlineDelayAllowedTracking:106,mainAppAutoOfflineState:107,videoAsThumbnailDownload:108,videoAsThumbnailPlayback:109,liteShowMore:110,renderingError:118,kidsProfilePinGateTracking:119,abrTrajectory:124,scrollEvent:125,streamzIncremented:126,kidsProfileSwitcherTracking:127,kidsProfileCreationTracking:129,buyFlowStarted:136,mbsConnectionInitiated:138,
mbsPlaybackInitiated:139,mbsLoadChildren:140,liteProfileFetcher:144,mdxRemoteTransaction:146,reelPlaybackError:148,reachabilityDetectionEvent:150,mobilePlaybackEvent:151,courtsidePlayerStateChanged:152,musicPersistentCacheChecked:154,musicPersistentCacheCleared:155,playbackInterrupted:157,playbackInterruptionResolved:158,fixFopFlow:159,anrDetection:161,backstagePostCreationFlowEnded:162,clientError:163,gamingAccountLinkStatusChanged:164,liteHousewarming:165,buyFlowEvent:167,kidsParentalGateTracking:168,
kidsSignedOutSettingsStatus:437,kidsSignedOutPauseHistoryFixStatus:438,tvhtml5WatchdogViolation:444,ypcUpgradeFlow:169,yongleStudy:170,ypcUpdateFlowStarted:171,ypcUpdateFlowCancelled:172,ypcUpdateFlowSucceeded:173,ypcUpdateFlowFailed:174,liteGrowthkitPromo:175,paymentFlowStarted:341,transactionFlowShowPaymentDialog:405,transactionFlowStarted:176,transactionFlowSecondaryDeviceStarted:222,transactionFlowSecondaryDeviceSignedOutStarted:383,transactionFlowCancelled:177,transactionFlowPaymentCallBackReceived:387,
transactionFlowPaymentSubmitted:460,transactionFlowPaymentSucceeded:329,transactionFlowSucceeded:178,transactionFlowFailed:179,transactionFlowPlayBillingConnectionStartEvent:428,transactionFlowSecondaryDeviceSuccess:458,transactionFlowErrorEvent:411,liteVideoQualityChanged:180,watchBreakEnablementSettingEvent:181,watchBreakFrequencySettingEvent:182,videoEffectsCameraPerformanceMetrics:183,adNotify:184,startupTelemetry:185,playbackOfflineFallbackUsed:186,outOfMemory:187,ypcPauseFlowStarted:188,ypcPauseFlowCancelled:189,
ypcPauseFlowSucceeded:190,ypcPauseFlowFailed:191,uploadFileSelected:192,ypcResumeFlowStarted:193,ypcResumeFlowCancelled:194,ypcResumeFlowSucceeded:195,ypcResumeFlowFailed:196,adsClientStateChange:197,ypcCancelFlowStarted:198,ypcCancelFlowCancelled:199,ypcCancelFlowSucceeded:200,ypcCancelFlowFailed:201,ypcCancelFlowGoToPaymentProcessor:402,ypcDeactivateFlowStarted:320,ypcRedeemFlowStarted:203,ypcRedeemFlowCancelled:204,ypcRedeemFlowSucceeded:205,ypcRedeemFlowFailed:206,ypcFamilyCreateFlowStarted:258,
ypcFamilyCreateFlowCancelled:259,ypcFamilyCreateFlowSucceeded:260,ypcFamilyCreateFlowFailed:261,ypcFamilyManageFlowStarted:262,ypcFamilyManageFlowCancelled:263,ypcFamilyManageFlowSucceeded:264,ypcFamilyManageFlowFailed:265,restoreContextEvent:207,embedsAdEvent:327,autoplayTriggered:209,clientDataErrorEvent:210,experimentalVssValidation:211,tvhtml5TriggeredEvent:212,tvhtml5FrameworksFieldTrialResult:216,tvhtml5FrameworksFieldTrialStart:220,musicOfflinePreferences:218,watchTimeSegment:219,appWidthLayoutError:221,
accountRegistryChange:226,userMentionAutoCompleteBoxEvent:227,downloadRecommendationEnablementSettingEvent:228,musicPlaybackContentModeChangeEvent:231,offlineDbOpenCompleted:232,kidsFlowEvent:233,kidsFlowCorpusSelectedEvent:234,videoEffectsEvent:235,unpluggedOpsEogAnalyticsEvent:236,playbackAudioRouteEvent:237,interactionLoggingDebugModeError:238,offlineYtbRefreshed:239,kidsFlowError:240,musicAutoplayOnLaunchAttempted:242,deviceContextActivityEvent:243,deviceContextEvent:244,templateResolutionException:245,
musicSideloadedPlaylistServiceCalled:246,embedsStorageAccessNotChecked:247,embedsHasStorageAccessResult:248,embedsItpPlayedOnReload:249,embedsRequestStorageAccessResult:250,embedsShouldRequestStorageAccessResult:251,embedsRequestStorageAccessState:256,embedsRequestStorageAccessFailedState:257,embedsItpWatchLaterResult:266,searchSuggestDecodingPayloadFailure:252,siriShortcutActivated:253,tvhtml5KeyboardPerformance:254,latencyActionSpan:255,elementsLog:267,ytbFileOpened:268,tfliteModelError:269,apiTest:270,
yongleUsbSetup:271,touStrikeInterstitialEvent:272,liteStreamToSave:274,appBundleClientEvent:275,ytbFileCreationFailed:276,adNotifyFailure:278,ytbTransferFailed:280,blockingRequestFailed:281,liteAccountSelector:282,liteAccountUiCallbacks:283,dummyPayload:284,browseResponseValidationEvent:285,entitiesError:286,musicIosBackgroundFetch:287,mdxNotificationEvent:289,layersValidationError:290,musicPwaInstalled:291,liteAccountCleanup:292,html5PlayerHealthEvent:293,watchRestoreAttempt:294,liteAccountSignIn:296,
notaireEvent:298,kidsVoiceSearchEvent:299,adNotifyFilled:300,delayedEventDropped:301,analyticsSearchEvent:302,systemDarkThemeOptOutEvent:303,flowEvent:304,networkConnectivityBaselineEvent:305,ytbFileImported:306,downloadStreamUrlExpired:307,directSignInEvent:308,lyricImpressionEvent:309,accessibilityStateEvent:310,tokenRefreshEvent:311,genericAttestationExecution:312,tvhtml5VideoSeek:313,unpluggedAutoPause:314,scrubbingEvent:315,bedtimeReminderEvent:317,tvhtml5UnexpectedRestart:319,tvhtml5StabilityTraceEvent:478,
tvhtml5OperationHealth:467,tvhtml5WatchKeyEvent:321,voiceLanguageChanged:322,tvhtml5LiveChatStatus:323,parentToolsCorpusSelectedEvent:324,offerAdsEnrollmentInitiated:325,networkQualityIntervalEvent:326,deviceStartupMetrics:328,heartbeatActionPlayerTransitioned:330,tvhtml5Lifecycle:331,heartbeatActionPlayerHalted:332,adaptiveInlineMutedSettingEvent:333,mainAppLibraryLoadingState:334,thirdPartyLogMonitoringEvent:336,appShellAssetLoadReport:337,tvhtml5AndroidAttestation:338,tvhtml5StartupSoundEvent:340,
iosBackgroundRefreshTask:342,iosBackgroundProcessingTask:343,sliEventBatch:344,postImpressionEvent:346,musicSideloadedPlaylistExport:347,idbUnexpectedlyClosed:348,voiceSearchEvent:349,mdxSessionCastEvent:350,idbQuotaExceeded:351,idbTransactionEnded:352,idbTransactionAborted:353,tvhtml5KeyboardLogging:354,idbIsSupportedCompleted:355,creatorStudioMobileEvent:356,idbDataCorrupted:357,parentToolsAppChosenEvent:358,webViewBottomSheetResized:359,activeStateControllerScrollPerformanceSummary:360,navigatorValidation:361,
mdxSessionHeartbeat:362,clientHintsPolyfillDiagnostics:363,clientHintsPolyfillEvent:364,proofOfOriginTokenError:365,kidsAddedAccountSummary:366,musicWearableDevice:367,ypcRefundFlowEvent:368,tvhtml5PlaybackMeasurementEvent:369,tvhtml5WatermarkMeasurementEvent:370,clientExpGcfPropagationEvent:371,mainAppReferrerIntent:372,leaderLockEnded:373,leaderLockAcquired:374,googleHatsEvent:375,persistentLensLaunchEvent:376,parentToolsChildWelcomeChosenEvent:378,browseThumbnailPreloadEvent:379,finalPayload:380,
mdxDialAdditionalDataUpdateEvent:381,webOrchestrationTaskLifecycleRecord:382,startupSignalEvent:384,accountError:385,gmsDeviceCheckEvent:386,accountSelectorEvent:388,accountUiCallbacks:389,mdxDialAdditionalDataProbeEvent:390,downloadsSearchIcingApiStats:391,downloadsSearchIndexUpdatedEvent:397,downloadsSearchIndexSnapshot:398,dataPushClientEvent:392,kidsCategorySelectedEvent:393,mdxDeviceManagementSnapshotEvent:394,prefetchRequested:395,prefetchableCommandExecuted:396,gelDebuggingEvent:399,webLinkTtsPlayEnd:400,
clipViewInvalid:401,persistentStorageStateChecked:403,cacheWipeoutEvent:404,playerEvent:410,sfvEffectPipelineStartedEvent:412,sfvEffectPipelinePausedEvent:429,sfvEffectPipelineEndedEvent:413,sfvEffectChosenEvent:414,sfvEffectLoadedEvent:415,sfvEffectUserInteractionEvent:465,sfvEffectFirstFrameProcessedLatencyEvent:416,sfvEffectAggregatedFramesProcessedLatencyEvent:417,sfvEffectAggregatedFramesDroppedEvent:418,sfvEffectPipelineErrorEvent:430,sfvEffectGraphFrozenEvent:419,sfvEffectGlThreadBlockedEvent:420,
mdeVideoChangedEvent:442,mdePlayerPerformanceMetrics:472,mdeExporterEvent:497,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,externalVideoShareToYoutubeAttempt:501,parentCodeEvent:502,offlineTransferStarted:4,musicOfflineMixtapePreferencesChanged:16,
mangoDailyNewVideosNotificationAttempt:40,mangoDailyNewVideosNotificationError:77,dtwsPlaybackStarted:112,dtwsTileFetchStarted:113,dtwsTileFetchCompleted:114,dtwsTileFetchStatusChanged:145,dtwsKeyframeDecoderBufferSent:115,dtwsTileUnderflowedOnNonkeyframe:116,dtwsBackfillFetchStatusChanged:143,dtwsBackfillUnderflowed:117,dtwsAdaptiveLevelChanged:128,blockingVisitorIdTimeout:277,liteSocial:18,mobileJsInvocation:297,biscottiBasedDetection:439,coWatchStateChange:440,embedsVideoDataDidChange:441,shortsFirst:443,
cruiseControlEvent:445,qoeClientLoggingContext:446,atvRecommendationJobExecuted:447,tvhtml5UserFeedback:448,producerProjectCreated:449,producerProjectOpened:450,producerProjectDeleted:451,producerProjectElementAdded:453,producerProjectElementRemoved:454,tvhtml5ShowClockEvent:455,deviceCapabilityCheckMetrics:456,youtubeClearcutEvent:461,offlineBrowseFallbackEvent:463,getCtvTokenEvent:464,startupDroppedFramesSummary:466,screenshotEvent:468,miniAppPlayEvent:469,elementsDebugCounters:470,fontLoadEvent:471,
webKillswitchReceived:473,webKillswitchExecuted:474,cameraOpenEvent:475,manualSmoothnessMeasurement:476,tvhtml5AppQualityEvent:477,polymerPropertyAccessEvent:479,miniAppSdkUsage:480,cobaltTelemetryEvent:481,crossDevicePlayback:482,channelCreatedWithObakeImage:484,channelEditedWithObakeImage:485,offlineDeleteEvent:486,crossDeviceNotificationTransfer:487,androidIntentEvent:488,unpluggedAmbientInterludesCounterfactualEvent:489,keyPlaysPlayback:490,shortsCreationFallbackEvent:493,vssData:491,castMatch:494,
miniAppPerformanceMetrics:495,userFeedbackEvent:496,kidsGuestSessionMismatch:498,musicSideloadedPlaylistMigrationEvent:499,sleepTimerSessionFinishEvent:500,watchEpPromoConflict:503};var OTa={},mla=nr("ServiceWorkerLogsDatabase",{Lg:(OTa.SWHealthLog={nf:1},OTa),shared:!0,upgrade:function(a,b){b(1)&&a.createObjectStore("SWHealthLog",{keyPath:"id",autoIncrement:!0}).createIndex("swHealthNewRequest",["interface","timestamp"],{unique:!1})},version:1});var Gs={},rla=0;var Hs;Js.prototype.requestComplete=function(a,b){b&&(this.o=!0);a=this.removeParams(a);this.j.get(a)||this.j.set(a,b)};Js.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.j.get(a))?!1:a===!1&&this.o?!0:null};Js.prototype.removeParams=function(a){return a.split("?")[0]};Js.prototype.removeParams=Js.prototype.removeParams;Js.prototype.isEndpointCFR=Js.prototype.isEndpointCFR;Js.prototype.requestComplete=Js.prototype.requestComplete;Js.getInstance=Ks;_.v(Ms,_.Qj);Ms.prototype.dispose=function(){window.removeEventListener("offline",this.o);window.removeEventListener("online",this.o);this.Be.Ma(this.B);delete Ms.j};Ms.prototype.ld=function(){return this.Ae};_.v(Ns,_.Qj);_.g=Ns.prototype;_.g.ld=function(){return this.j.ld()};_.g.Rh=function(a){this.j.Ae=a};_.g.NE=function(){var a=window.navigator.onLine;return a===void 0?!0:a};_.g.fE=function(){this.o=!0};_.g.listen=function(a,b){return this.j.listen(a,b)};_.g.Yo=function(a){a=Ls(this.j,a);a.then(function(b){_.M("use_cfr_monitor")&&Ks().requestComplete("generate_204",b)});return a};Ns.prototype.sendNetworkCheckRequest=Ns.prototype.Yo;Ns.prototype.listen=Ns.prototype.listen;
Ns.prototype.enableErrorFlushing=Ns.prototype.fE;Ns.prototype.getWindowStatus=Ns.prototype.NE;Ns.prototype.networkStatusHint=Ns.prototype.Rh;Ns.prototype.isNetworkAvailable=Ns.prototype.ld;Ns.getInstance=wla;_.v(_.Os,_.Qj);_.Os.prototype.ld=function(){var a=_.Ua("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.o)():!0};_.Os.prototype.Rh=function(a){var b=_.Ua("yt.networkStatusManager.instance.networkStatusHint").bind(this.o);b&&b(a)};
_.Os.prototype.Yo=function(a){var b=this,c;return _.z(function(d){c=_.Ua("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.o);return _.M("skip_network_check_if_cfr")&&Ks().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.Rh(((f=window.navigator)==null?void 0:f.onLine)||!0);e(b.ld())})):c?d.return(c(a)):d.return(!0)})};var Ps;_.v(Qs,As);Qs.prototype.writeThenSend=function(a,b){b||(b={});b=Ss(a,b);_.qq()||(this.ic=!1);As.prototype.writeThenSend.call(this,a,b)};Qs.prototype.sendThenWrite=function(a,b,c){b||(b={});b=Ss(a,b);_.qq()||(this.ic=!1);As.prototype.sendThenWrite.call(this,a,b,c)};Qs.prototype.sendAndWrite=function(a,b){b||(b={});b=Ss(a,b);_.qq()||(this.ic=!1);As.prototype.sendAndWrite.call(this,a,b)};Qs.prototype.awaitInitialization=function(){return this.o.promise};_.Vs=!1;_.Us=_.Sa.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:_.Vs};_.Ta("ytNetworklessLoggingInitializationOptions",_.Us);Ts.prototype.isReady=function(){!this.config_&&Xja()&&(this.config_=yr());return!!this.config_};_.v(at,_.Pf);at.prototype.Gt=function(a){return _.qf(this,2,a)};var PTa=0,Ela=Ui?"webkit":Yj?"moz":_.Zj?"ms":ySa?"o":"";_.Ta("ytDomDomGetNextId",_.Ua("ytDomDomGetNextId")||function(){return++PTa});var Gla={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};kt.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};kt.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
kt.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Oh=_.Sa.ytEventsEventsListeners||{};_.Ta("ytEventsEventsListeners",Oh);var Jla=_.Sa.ytEventsEventsCounter||{count:0};_.Ta("ytEventsEventsCounter",Jla);var Kla=_.Ki(function(){var a=!1;try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});window.addEventListener("test",null,b)}catch(c){}return a});_.ib(mt,_.xj);mt.prototype.ha=function(a){a.j===void 0&&Hla(a);var b=a.j;a.o===void 0&&Hla(a);this.j=new _.Oi(b,a.o)};mt.prototype.Z=function(){if(this.j){var a=(0,_.Uq)();if(this.B!=0){var b=this.O,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.A]=Math.abs((d-this.H)/this.H)>.5?1:0;for(c=b=0;c<4;c++)b+=this.o[c]||0;b>=3&&this.W();this.H=d}this.B=a;this.O=this.j;this.A=(this.A+1)%4}};mt.prototype.Fa=function(){window.clearInterval(this.pa);Lla(this.ba)};var qt={};var Bma=new _.J("rawColdConfigGroup");var Ama=new _.J("rawHotConfigGroup");_.v(st,_.Pf);st.prototype.getValue=function(){return _.kf(this,2)};st.prototype.sc=function(a){return _.rf(this,2,a)};_.v(tt,_.Pf);tt.mb=[4,5];_.v(Mla,_.Pf);_.v(Nla,_.Pf);var qna=[2,3,4,5];_.v(ut,_.Pf);ut.prototype.getMessage=function(){return _.kf(this,1)};_.v(vt,_.Pf);_.v(Ola,_.Pf);_.v(wt,_.Pf);wt.mb=[10,17];_.v(Pla,_.Pf);_.v(Qla,_.Pf);_.v(xt,_.Pf);xt.prototype.setTrackingParams=function(a){return _.pe(this,1,Kc(a,!1,!1))};_.v(zt,_.Pf);_.v(At,_.Pf);At.prototype.Nk=function(){return _.Oe(this,dv)};At.prototype.getContext=function(){return _.Te(this,zt,33)};
var dv=[2,3,5,6,7,11,13,20,21,22,23,24,28,32,37,45,59,72,73,74,76,78,79,80,85,91,97,100,102,105,111,117,119,126,127,136,146,148,151,156,157,158,159,163,164,168,176,177,178,179,184,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,208,209,215,219,222,225,226,227,229,232,233,234,240,241,244,247,248,249,251,254,255,256,257,258,259,260,261,266,270,272,278,288,291,293,300,304,308,309,310,311,313,314,319,320,321,323,324,327,328,330,331,332,334,337,338,340,344,348,350,351,352,353,354,
355,356,357,358,361,363,364,368,369,370,373,374,375,378,380,381,383,388,389,399,402,403,410,411,412,413,414,415,416,417,418,423,424,425,426,427,429,430,431,439,441,444,448,458,469,471,473,474,480,481,482,484,485,486,491,495,496];_.v(Rla,_.Pf);_.v(Bt,_.Pf);Bt.prototype.setVideoId=function(a){return Me(this,1,ju,ud(a))};Bt.prototype.getPlaylistId=function(){return ef(this,_.se(this,ju,2))};var ju=[1,2];_.v(Ct,_.Pf);Ct.prototype.getContext=function(){return _.Te(this,bq,1)};Ct.mb=[3];var QTa=_.Sa.ytPubsubPubsubInstance||new _.gs,Et=_.Sa.ytPubsubPubsubSubscribedKeys||{},Ft=_.Sa.ytPubsubPubsubTopicToKeys||{},Sla=_.Sa.ytPubsubPubsubIsSynchronous||{};_.gs.prototype.subscribe=_.gs.prototype.subscribe;_.gs.prototype.unsubscribeByKey=_.gs.prototype.hg;_.gs.prototype.publish=_.gs.prototype.lb;_.gs.prototype.clear=_.gs.prototype.clear;_.Ta("ytPubsubPubsubInstance",QTa);_.Ta("ytPubsubPubsubTopicToKeys",Ft);_.Ta("ytPubsubPubsubIsSynchronous",Sla);_.Ta("ytPubsubPubsubSubscribedKeys",Et);var Ht=window;var Lt=_.M("web_enable_lifecycle_monitoring")&&It()!==0,ama=_.M("web_enable_lifecycle_monitoring");Yla.prototype.cancel=function(){for(var a=_.u(this.j),b=a.next();!b.done;b=a.next())b=b.value,b.jobId===void 0||b.Io||this.scheduler.Ma(b.jobId),b.Io=!0;this.o.resolve()};_.g=Mt.prototype;_.g.install=function(a){this.plugins.push(a);return this};_.g.uninstall=function(){var a=this;_.Ka.apply(0,arguments).forEach(function(b){b=a.plugins.indexOf(b);b>-1&&a.plugins.splice(b,1)})};
_.g.transition=function(a,b){var c=this;Lt&&Xla(this.state);var d=this.transitions.find(function(f){return Array.isArray(f.from)?f.from.find(function(h){return h===c.state&&f.to===a}):f.from===c.state&&f.to===a});if(d){this.j&&(Zla(this.j),this.j=void 0);bma(this,a,b);this.state=a;Lt&&Jt(this.state);d=d.action.bind(this);var e=this.plugins.filter(function(f){return f[a]}).map(function(f){return f[a]});d($la(this,e),b)}else throw Error("Xb`"+this.state+"`"+a);};
_.g.xI=function(a){var b=_.Ka.apply(1,arguments);_.yq();for(var c=_.u(a),d=c.next(),e={};!d.done;e={al:void 0},d=c.next())e.al=d.value,Sia(function(f){return function(){Ot(f.al.name);f.al.callback.apply(f.al,_.ma(b));Pt(f.al.name)}}(e))};
_.g.wI=function(a){var b=_.Ka.apply(1,arguments),c,d,e,f;return _.z(function(h){h.j==1&&(_.yq(),c=_.u(a),d=c.next(),e={});if(h.j!=3){if(d.done)return h.L(0);e.oj=d.value;e.sm=void 0;f=function(k){return function(){Ot(k.oj.name);var l=k.oj.callback.apply(k.oj,_.ma(b));typeof(l==null?void 0:l.then)==="function"?k.sm=l.then(function(){Pt(k.oj.name)}):Pt(k.oj.name)}}(e);Sia(f);return e.sm?_.x(h,e.sm,3):h.L(3)}e={oj:void 0,sm:void 0};d=c.next();return h.L(2)})};
_.g.Wz=function(a){var b=_.Ka.apply(1,arguments),c=this,d=a.map(function(e){return{Xk:function(){Ot(e.name);e.callback.apply(e,_.ma(b));Pt(e.name)},priority:Nt(c,e)}});d.length&&(this.j=new Yla(d))};_.ba.Object.defineProperties(Mt.prototype,{currentState:{configurable:!0,enumerable:!0,get:function(){return this.state}}});var Rt;_.v(Qt,Mt);Qt.prototype.B=function(a,b){var c=this;this.A=_.tq(0,function(){c.currentState==="application_navigating"&&c.transition("none")},5E3);a(b==null?void 0:b.event)};Qt.prototype.J=function(a,b){this.A&&(_.xr.Ma(this.A),this.A=null);a(b==null?void 0:b.event)};var ru=[];_.Ta("yt.logging.transport.getScrapedGelPayloads",function(){return ru});Tt.prototype.storePayload=function(a,b){a=Ut(a);this.store[a]?this.store[a].push(b):(this.j={},this.store[a]=[b]);return a};
Tt.prototype.smartExtractMatchingEntries=function(a){if(!a.keys.length)return[];for(var b=Wt(this,a.keys.splice(0,1)[0]),c=[],d=0;d<b.length;d++)this.store[b[d]]&&a.sizeLimit&&(this.store[b[d]].length<=a.sizeLimit?(c.push.apply(c,_.ma(this.store[b[d]])),delete this.store[b[d]]):c.push.apply(c,_.ma(this.store[b[d]].splice(0,a.sizeLimit))));(a==null?0:a.sizeLimit)&&c.length<(a==null?void 0:a.sizeLimit)&&(a.sizeLimit-=c.length,c.push.apply(c,_.ma(this.smartExtractMatchingEntries(a))));return c};
Tt.prototype.extractMatchingEntries=function(a){a=Wt(this,a);for(var b=[],c=0;c<a.length;c++)this.store[a[c]]&&(b.push.apply(b,_.ma(this.store[a[c]])),delete this.store[a[c]]);return b};Tt.prototype.getSequenceCount=function(a){a=Wt(this,a);for(var b=0,c=0;c<a.length;c++){var d=void 0;b+=((d=this.store[a[c]])==null?void 0:d.length)||0}return b};Tt.prototype.getSequenceCount=Tt.prototype.getSequenceCount;Tt.prototype.extractMatchingEntries=Tt.prototype.extractMatchingEntries;
Tt.prototype.smartExtractMatchingEntries=Tt.prototype.smartExtractMatchingEntries;Tt.prototype.storePayload=Tt.prototype.storePayload;var pma=_.wp("initial_gel_batch_timeout",2E3),oma=_.wp("gel_queue_timeout_max_ms",6E4),zma=Math.pow(2,16)-1,qma=_.wp("gel_min_batch_size",5),du=void 0,Dma=new Xt,Cma=new Xt,nma=new Xt,mma=new Xt,fu,nu=!0,qu=1,xma=new Map,lu=_.Sa.ytLoggingTransportTokensToCttTargetIds_||{};_.Ta("ytLoggingTransportTokensToCttTargetIds_",lu);var ku=_.Sa.ytLoggingTransportTokensToJspbCttTargetIds_||{};_.Ta("ytLoggingTransportTokensToJspbCttTargetIds_",ku);var au={};var su=_.Sa.ytLoggingGelSequenceIdObj_||{};_.Ta("ytLoggingGelSequenceIdObj_",su);var Hma=[];var wu,LS=_.Sa.ytLoggingDocDocumentNonce_;LS||(LS=_.Cp(16),_.Ta("ytLoggingDocDocumentNonce_",LS));wu=LS;var Oma={hL:0,cL:1,eL:2,NM:3,lL:4,yO:5,RM:6,SN:7,HN:8,LN:9,0:"DEFAULT",1:"CHAT",2:"CONVERSATIONS",3:"MINIPLAYER",4:"DIALOG",5:"VOZ",6:"MUSIC_WATCH_TABS",7:"SHARE",8:"PUSH_NOTIFICATIONS",9:"RICH_GRID_WATCH"};var Jma=1;_.g=xu.prototype;_.g.getAsJson=function(){var a={};this.j.trackingParams!==void 0?a.trackingParams=this.j.trackingParams:(a.veType=this.j.veType,this.j.veCounter!==void 0&&(a.veCounter=this.j.veCounter),this.j.elementIndex!==void 0&&(a.elementIndex=this.j.elementIndex));this.j.dataElement!==void 0&&(a.dataElement=this.j.dataElement.getAsJson());this.j.youtubeData!==void 0&&(a.youtubeData=this.j.youtubeData);this.j.isCounterfactual&&(a.isCounterfactual=!0);return a};
_.g.getAsJspb=function(){var a=new xt;this.j.trackingParams!==void 0?a.setTrackingParams(this.j.trackingParams):(this.j.veType!==void 0&&pf(a,2,this.j.veType),this.j.veCounter!==void 0&&pf(a,6,this.j.veCounter),this.j.elementIndex!==void 0&&pf(a,3,this.j.elementIndex),this.j.isCounterfactual&&_.pe(a,5,_.dd(!0)));if(this.j.dataElement!==void 0){var b=this.j.dataElement.getAsJspb();_.Ye(a,7,b)}this.j.youtubeData!==void 0&&_.Ye(a,8,this.j.jspbYoutubeData);return a};_.g.toString=function(){return JSON.stringify(this.getAsJson())};
_.g.isClientVe=function(){return!this.j.trackingParams&&!!this.j.veType};_.g.getLoggingDirectives=function(){return this.j.loggingDirectives};_.Ta("yt_logging_screen.getRootVeType",Bu);_.Ta("yt_logging_screen.getCurrentCsn",_.Du);_.Ta("yt_logging_screen.getCttAuthInfo",Eu);_.Ta("yt_logging_screen.setCurrentScreen",Rma);_.ew=new _.J("webCommandMetadata");var $na=new _.J("interactionLoggingCommandMetadata");var aoa=new _.J("resolveUrlCommandMetadata");_.fw=new _.J("watchEndpoint");_.gw=new _.J("watchPlaylistEndpoint");var MS={},$ma=(MS.auto_search="LATENCY_ACTION_AUTO_SEARCH",MS.ad_to_ad="LATENCY_ACTION_AD_TO_AD",MS.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",MS["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",MS.app_startup="LATENCY_ACTION_APP_STARTUP",MS["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",MS["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",MS["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",MS["asset.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS",
MS["asset.composition"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION",MS["asset.composition_ownership"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP",MS["asset.composition_policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY",MS["asset.embeds"]="LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS",MS["asset.history"]="LATENCY_ACTION_CREATOR_CMS_ASSET_HISTORY",MS["asset.issues"]="LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES",MS["asset.licenses"]="LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES",MS["asset.metadata"]=
"LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA",MS["asset.ownership"]="LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP",MS["asset.policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY",MS["asset.references"]="LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES",MS["asset.shares"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES",MS["asset.sound_recordings"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS",MS["asset_group.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS",MS["asset_group.campaigns"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS",
MS["asset_group.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS",MS["asset_group.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA",MS["song.analytics"]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS",MS.browse="LATENCY_ACTION_BROWSE",MS.cast_splash="LATENCY_ACTION_CAST_SPLASH",MS.channel_activity="LATENCY_ACTION_KIDS_CHANNEL_ACTIVITY",MS.channels="LATENCY_ACTION_CHANNELS",MS.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",MS["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",
MS["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",MS["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",MS["channel.content.promotions"]="LATENCY_ACTION_CREATOR_PROMOTION_LIST",MS["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",MS["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",MS["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",MS["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",MS["channel.music_storefront"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT",
MS["channel.playlists"]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS",MS["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",MS["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",MS["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",MS.chips="LATENCY_ACTION_CHIPS",MS.commerce_transaction="LATENCY_ACTION_COMMERCE_TRANSACTION",MS["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",MS["dialog.video_copyright"]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT",
MS["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",MS.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK",MS.embed="LATENCY_ACTION_EMBED",MS.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",MS.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",MS.explore="LATENCY_ACTION_EXPLORE",MS.favorites="LATENCY_ACTION_FAVORITES",MS.home="LATENCY_ACTION_HOME",MS.inboarding="LATENCY_ACTION_INBOARDING",MS.library="LATENCY_ACTION_LIBRARY",MS.live=
"LATENCY_ACTION_LIVE",MS.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",MS.mini_app="LATENCY_ACTION_MINI_APP_PLAY",MS.notification_settings="LATENCY_ACTION_KIDS_NOTIFICATION_SETTINGS",MS.onboarding="LATENCY_ACTION_ONBOARDING",MS.owner="LATENCY_ACTION_CREATOR_CMS_DASHBOARD",MS["owner.allowlist"]="LATENCY_ACTION_CREATOR_CMS_ALLOWLIST",MS["owner.analytics"]="LATENCY_ACTION_CREATOR_CMS_ANALYTICS",MS["owner.art_tracks"]="LATENCY_ACTION_CREATOR_CMS_ART_TRACKS",MS["owner.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSETS",
MS["owner.asset_groups"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS",MS["owner.bulk"]="LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY",MS["owner.campaigns"]="LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS",MS["owner.channel_invites"]="LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES",MS["owner.channels"]="LATENCY_ACTION_CREATOR_CMS_CHANNELS",MS["owner.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS",MS["owner.claims"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",MS["owner.claims.manual"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",
MS["owner.delivery"]="LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY",MS["owner.delivery_templates"]="LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES",MS["owner.issues"]="LATENCY_ACTION_CREATOR_CMS_ISSUES",MS["owner.licenses"]="LATENCY_ACTION_CREATOR_CMS_LICENSES",MS["owner.pitch_music"]="LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC",MS["owner.policies"]="LATENCY_ACTION_CREATOR_CMS_POLICIES",MS["owner.releases"]="LATENCY_ACTION_CREATOR_CMS_RELEASES",MS["owner.reports"]="LATENCY_ACTION_CREATOR_CMS_REPORTS",MS["owner.videos"]=
"LATENCY_ACTION_CREATOR_CMS_VIDEOS",MS.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",MS.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",MS.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",MS.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",MS["playlist.videos"]="LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST",MS["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",MS["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",MS.prebuffer="LATENCY_ACTION_PREBUFFER",
MS.prefetch="LATENCY_ACTION_PREFETCH",MS.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",MS.profile_switcher="LATENCY_ACTION_LOGIN",MS.reel_watch="LATENCY_ACTION_REEL_WATCH",MS.results="LATENCY_ACTION_RESULTS",MS["promotion.edit"]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT",MS.red="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE",MS.premium="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE",MS.privacy_policy="LATENCY_ACTION_KIDS_PRIVACY_POLICY",MS.search_overview_answer="LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER",MS.search_ui=
"LATENCY_ACTION_SEARCH_UI",MS.search_suggest="LATENCY_ACTION_SUGGEST",MS.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",MS.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",MS.seek="LATENCY_ACTION_PLAYER_SEEK",MS.settings="LATENCY_ACTION_SETTINGS",MS.store="LATENCY_ACTION_STORE",MS.supervision_dashboard="LATENCY_ACTION_KIDS_SUPERVISION_DASHBOARD",MS.tenx="LATENCY_ACTION_TENX",MS.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",MS.watch="LATENCY_ACTION_WATCH",MS.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",
MS["watch,watch7"]="LATENCY_ACTION_WATCH",MS["watch,watch7_html5"]="LATENCY_ACTION_WATCH",MS["watch,watch7ad"]="LATENCY_ACTION_WATCH",MS["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",MS.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",MS.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",MS["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",MS["video.claims"]="LATENCY_ACTION_CREATOR_VIDEO_CLAIMS",MS["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",MS["video.copyright"]="LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT",
MS["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",MS["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",MS["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",MS["video.live_settings"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",MS["video.live_streaming"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",MS["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",MS["video.policy"]="LATENCY_ACTION_CREATOR_VIDEO_POLICY",MS["video.rights_management"]="LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT",
MS["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",MS.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",MS.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",MS.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",MS.gel_compression="LATENCY_ACTION_GEL_COMPRESSION",MS.gel_jspb_serialize="LATENCY_ACTION_GEL_JSPB_SERIALIZE",MS),Dna=0;_.v(Su,hs);var Hna=new is("aft-recorded",Su);var jna=[{ws:function(a){return"Cannot read property '"+a.key+"'"},wo:{Error:[{Vc:/(Permission denied) to access property "([^']+)"/,groups:["reason","key"]}],TypeError:[{Vc:/Cannot read property '([^']+)' of (null|undefined)/,groups:["key","value"]},{Vc:/\u65e0\u6cd5\u83b7\u53d6\u672a\u5b9a\u4e49\u6216 (null|undefined) \u5f15\u7528\u7684\u5c5e\u6027\u201c([^\u201d]+)\u201d/,groups:["value","key"]},{Vc:/\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"]},{Vc:/No se puede obtener la propiedad '([^']+)' de referencia nula o sin definir/,groups:["key"]},{Vc:/Unable to get property '([^']+)' of (undefined or null) reference/,groups:["key","value"]},{Vc:/(null) is not an object \(evaluating '(?:([^.]+)\.)?([^']+)'\)/,groups:["value","base","key"]}]}},{ws:function(a){return"Cannot call '"+a.key+"'"},wo:{TypeError:[{Vc:/(?:([^ ]+)?\.)?([^ ]+) is not a function/,groups:["base","key"]},{Vc:/([^ ]+) called on (null or undefined)/,groups:["key",
"value"]},{Vc:/Object (.*) has no method '([^ ]+)'/,groups:["base","key"]},{Vc:/Object doesn't support property or method '([^ ]+)'/,groups:["key"]},{Vc:/\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"]},{Vc:/\uac1c\uccb4\uac00 '([^']+)' \uc18d\uc131\uc774\ub098 \uba54\uc11c\ub4dc\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4./,groups:["key"]}]}},
{ws:function(a){return a.key+" is not defined"},wo:{ReferenceError:[{Vc:/(.*) is not defined/,groups:["key"]},{Vc:/Can't find variable: (.*)/,groups:["key"]}]}}];var dna={Of:[],tf:[{callback:ana,weight:500}]};var Tu;var mna=new _.gs;var fna=_.Sa.ytLoggingGelSequenceIdObj_||{};_.Ta("ytLoggingGelSequenceIdObj_",fna);var kna=new Set,ina=0,ona=0,nna=0,cv=[],rna=["PhantomJS","Googlebot","TO STOP THIS SECURITY SCAN go/scan"];var hv=_.Sa.ytLoggingLatencyUsageStats_||{};_.Ta("ytLoggingLatencyUsageStats_",hv);fv.prototype.tick=function(a,b,c,d){iv(this,"tick_"+a+"_"+b)||_.uu("latencyActionTicked",{tickName:a,clientActionNonce:b},{timestamp:c,cttAuthInfo:d})};fv.prototype.info=function(a,b,c){var d=Object.keys(a).join("");iv(this,"info_"+d+"_"+b)||(a=Object.assign({},a),a.clientActionNonce=b,_.uu("latencyActionInfo",a,{cttAuthInfo:c}))};
fv.prototype.jspbInfo=function(a,b,c){for(var d="",e=0;e<Rf(a).length;e++)Rf(a)[e]!==void 0&&(d=e===0?d.concat(""+e):d.concat("_"+e));iv(this,"info_"+d+"_"+b)||(_.rf(a,2,b),b={cttAuthInfo:c},c=_.M("jspb_sparse_encoded_pivot")?new At([{}]):new At,_.Ze(c,7,dv,a),$u("latencyActionInfo",c,b))};fv.prototype.span=function(a,b,c){var d=Object.keys(a).join("");iv(this,"span_"+d+"_"+b)||(a.clientActionNonce=b,_.uu("latencyActionSpan",a,{cttAuthInfo:c}))};var NS=window,jv=NS.performance||NS.mozPerformance||NS.msPerformance||NS.webkitPerformance||new sna;var Gna=!1,vna=!1,sv={'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"},Jna=(0,_.fb)(jv.clearResourceTimings||jv.webkitClearResourceTimings||jv.mozClearResourceTimings||jv.msClearResourceTimings||jv.oClearResourceTimings||_.Ji,jv);var OS=window;OS.ytcsi&&(OS.ytcsi.infoGel=vv,OS.ytcsi.tick=_.Av);_.v(Cv,hs);var Pna=new is("screen-created",Cv),Qv=[],Ona=Una,Rv=0,Ev=new Map,Fv=new Map,Gv=new Map;var boa=[3611,27686,221058,85013,23462,157557,42016,26926,51236,79148,50160,77504,153587,87907,18630,177018,177023,54445,80935,152172,184553,105675,150723,37521,147285,47786,98349,168271,168954,168277,168273,168270,123695,6827,29434,171388,7282,124448,196088,198104,32276,195115,195114,76278,200635,147868,147869,93911,106531,225031,177843,27259,27262,27263,21759,160866,204249,222900,204250,180626,177959,177957,180628,205716,197878,171243,160789,171244,171241,171245,171242,225560,180627,177960,177958,
180629,205717,197879,177565,212573,210709,197337,209010,197336,197338,198618,175492,198052,198051,197852,197976,175493,175494,175495,189254,175496,175497,38408,175498,175503,175504,175505,175506,175507,175508,80637,68727,206933,207944,206934,206929,221575,68728,221576,80353,80356,180635,74610,45707,83962,83970,46713,166591,89711,74612,213809,179607,155792,93265,74611,131380,128979,139311,128978,131391,105350,139312,134800,131392,113533,93252,99357,94521,114252,113532,94522,94583,202371,88E3,139580,
93253,93254,94387,94388,93255,97424,72502,219868,212991,110111,76019,117092,117093,89431,191831,110466,77240,60508,186091,148123,148124,137401,137402,137046,73393,113534,92098,131381,84517,83759,162711,162712,80357,86113,72598,168413,72733,107349,124275,118203,200410,133275,160157,152569,156651,133274,160159,160158,133272,133273,133276,144507,143247,175994,156652,143248,143249,143250,143251,189892,189894,189893,156653,214236,144401,117431,133797,225137,222612,222613,153964,201133,201134,201135,201136,
201137,128572,200411,200412,190337,133405,117429,117430,177950,174734,177951,201138,201139,201140,201141,201142,117432,173996,173995,174953,173994,173997,120080,117259,178546,197891,156655,156654,121692,211414,211411,211412,211413,211403,184846,185993,145656,156656,145655,145653,145654,145657,132972,133051,133658,132971,97615,181262,190762,143359,143356,143361,143358,143360,143357,142303,143353,172859,143354,144479,143355,31402,181590,133624,146477,133623,133622,133621,192418,84774,197993,160801,
197995,95117,172721,150497,98930,98931,98932,153320,153321,43347,210016,210017,211851,211852,211853,129889,197888,197889,149123,221959,221627,221958,45474,100352,98443,117985,74613,155911,74614,64502,136032,74615,74616,122224,74617,77820,74618,93278,93274,93275,93276,200688,200686,200687,199841,22110,29433,133798,132295,120541,222112,82047,113550,75836,75837,192409,203221,42352,84512,76065,75989,205911,205912,205913,51879,16623,32594,27240,32633,74858,222932,213915,225216,218674,156999,3945,16989,
45520,25488,25492,25494,55760,14057,18451,57204,57203,17897,18198,17898,17909,43980,221053,195529,189660,46220,11721,147994,49954,96369,3854,217640,151633,56251,205192,216797,159108,181568,25624,152036,16906,99999,68172,47973,72773,26970,26971,96805,17752,73233,205923,109512,22256,14115,22696,89278,89277,195745,109513,43278,43459,43464,89279,43717,55764,22255,147912,89281,40963,43277,43442,91824,120137,186350,186351,211026,96367,36850,72694,37414,36851,124863,121343,73491,54473,166861,43375,46674,
143815,139095,144402,149968,149969,32473,72901,72906,50612,50613,50942,84938,84943,84939,84941,84944,84940,84942,35585,51926,79983,18921,57893,41182,135732,33424,22207,36229,22206,22205,44763,33427,67793,22182,37091,34650,50617,22287,25144,97917,220122,62397,150871,150874,125598,137935,36961,108035,27426,27857,27846,27854,69692,61411,39299,38696,62520,36382,108701,192682,50663,36387,14908,37533,105443,61635,62274,161670,133818,182119,65702,65703,65701,76256,196075,194768,194769,191885,194770,195350,
195349,194771,166382,37671,49953,220669,213774,204572,191389,204574,187917,191390,179556,191402,212661,191392,197826,191393,204573,36216,28237,173718,39553,192547,29222,26107,38050,26108,120745,26109,26110,66881,28236,14586,160598,57929,74723,44098,173689,44099,23528,61699,134104,134103,198313,59149,181013,173191,173192,173193,101951,171502,196043,198305,97346,118051,95102,64882,119505,63595,63349,95101,75240,27039,68823,21537,83464,75707,170215,223033,83113,101952,101953,79610,125755,24402,24400,
32925,193406,57173,183351,156421,122502,145268,138480,64423,64424,33986,100828,129089,21409,185612,222825,135155,135156,135157,135158,158225,135159,135160,167651,135161,135162,135163,158226,158227,135164,135165,135166,11070,11074,17880,30709,30707,30711,30710,30708,185213,185273,146143,63648,63649,221056,211189,111059,211188,5754,20445,151308,151152,130975,130976,210815,191925,167637,197196,214295,110386,221054,113746,66557,183215,17310,28631,201935,21589,164817,168011,154946,68012,162617,60480,184431,
138664,194E3,141121,164502,31571,195002,206793,141978,150105,150106,150107,150108,76980,41577,45469,38669,13768,13777,141842,62985,213190,4724,223052,59369,43927,43928,12924,197853,100355,56219,27669,209928,10337,203648,203649,47896,122629,186204,222824,139723,139722,121258,107598,127991,96639,107536,130169,216522,96661,145188,213904,96658,116646,159428,168611,168612,121122,219862,96660,127738,127083,155281,162959,220886,163566,186641,147842,217932,104443,96659,147595,106442,182423,162776,134840,
63667,63668,63669,130686,147036,189810,78314,147799,174049,148649,55761,127098,134841,96368,67374,48992,146176,176105,49956,190190,225739,31961,26388,23811,5E4,126250,96370,210549,47355,47356,37935,45521,21760,83769,49977,49974,93497,93498,34325,140759,115803,123707,100081,35309,68314,25602,100339,170873,143516,178921,59018,18248,50625,9729,37168,37169,21667,16749,18635,39305,18046,221057,53969,8213,93926,221055,210542,212552,102852,110099,22678,69076,137575,139224,100856,154430,209757,223051,17736,
3832,147111,55759,64031,93044,93045,170701,170702,194796,34388,167841,170419,17657,17655,39579,39578,170412,77448,8196,11357,69877,8197,168501,156512,161613,156509,208274,161612,161614,82039];var Wv=Symbol("bc"),Vv=new WeakMap;_.g=Tv.prototype;_.g.Il=function(a){this.client=a};_.g.IB=function(){this.clear();this.csn=_.Du()};_.g.clear=function(){this.A.clear();this.o.clear();this.j.clear();this.csn=null};
_.g.KB=function(a,b,c){var d=this.fm(a),e=a.visualElement?a.visualElement:d;b=this.A.has(e);var f=this.j.get(e);this.A.add(e);this.j.set(e,!0);a.impressionLog&&!b&&a.impressionLog();if(d||a.visualElement)if(c=Xna(this,a,c))if(e=Yna(a),Yv(a)||e){d=a.visualElement?a.visualElement:_.yu(d);var h=a.interactionLoggingClientData;e||b?Yv(a)&4?f||_.Sna(this.client,c,d,h):Yv(a)&1&&!b&&Lv(this.client,c,d,h):Lv(this.client,c,d,h)}};
_.g.JB=function(a,b,c){var d=this.fm(a),e=a.visualElement?a.visualElement:d;b=this.o.has(e);var f=this.j.get(e);this.o.add(e);this.j.set(e,!1);if(f===!1)return!0;if(!d&&!a.visualElement)return!1;c=Xna(this,a,c);if(!c||!Yv(a)&&Yna(a))return!1;d=a.visualElement?a.visualElement:_.yu(d);Yv(a)&8?Tna(this.client,c,d):Yv(a)&2&&!b&&(a=this.client,b=Dv({cttAuthInfo:Eu(c)||void 0},c),d={csn:c,ve:d.getAsJson(),eventType:2},c==="UNDEFINED_CSN"?Kv("visualElementHidden",b,d):a?tu("visualElementHidden",d,a,b):_.uu("visualElementHidden",
d,b));return!0};
_.g.fm=function(a){var b=Xv(a),c,d;if(_.M("il_use_view_model_logging_context")&&(b==null?0:(c=b.context)==null?0:(d=c.loggingContext)==null?0:d.loggingDirectives))return b.context.loggingContext.loggingDirectives.trackingParams||"";var e,f;if(b==null?0:(e=b.rendererContext)==null?0:(f=e.loggingContext)==null?0:f.loggingDirectives)return b.rendererContext.loggingContext.loggingDirectives.trackingParams||"";if(b==null?0:b.loggingDirectives)return b.loggingDirectives.trackingParams||"";var h;return((h=
a.veContainer)==null?0:h.trackingParams)?a.veContainer.trackingParams:(b==null?void 0:b.trackingParams)||""};_.g.Pu=function(a){var b=this.fm(a);return a.visualElement?a.visualElement:b?_.yu(b):a.parentElement?this.Pu(a.parentElement):null};Zv.prototype.Il=function(a){_.Ep(Uv().Il).bind(Uv())(a)};Zv.prototype.clear=function(){_.Ep(Uv().clear).bind(Uv())()};cw.prototype.Il=function(a){this.client=a};cw.prototype.clickCommand=function(a,b,c){return sw(this,a.clickTrackingParams,b,c===void 0?0:c)};cw.prototype.stateChanged=function(a,b,c){this.visualElementStateChanged(_.yu(a),b,c===void 0?0:c)};cw.prototype.visualElementStateChanged=function(a,b,c){c=c===void 0?0:c;c===0&&this.A.has(c)?this.Z.push([a,b]):ioa(this,a,b,c)};var woa=0;var zoa=new Set;var Aoa=new Set;yw.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)};yw.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};var Hoa=Symbol("dc");fo(_.zw,function(a,b,c){b=[];var d=_.gp(c,a.each);for(c={Kf:0};c.Kf<d.length;c={Kf:c.Kf,Xr:void 0,Er:void 0},c.Kf++)c.Xr=d[c.Kf],c.Er=c.Kf,a.ob&&a.ob!=="REFERENCE"&&(c.Xr=function(e){return function(){return d[e.Kf]}}(c)),a.ob!=="INDEX"&&(c.Er=function(e){return function(){return e.Kf}}(c)),b[c.Kf]=eo(function(e){return function(){return a.children(e.Xr,e.Er)}}(c));return d.length===0&&a.fallback?eo(a.fallback):b});fo(_.O,function(a,b,c,d){if(d)throw Error("ec");return b.Nv?eo(function(){return a.children(function(){return b.Nv})}):a.ia&&eo(a.ia)});fo(_.Dw,function(a,b,c,d){if(d)throw Error("ec");var e=b.pD;return eo(function(){return Koa(Ioa(a),e)()})});var Ooa={key:Symbol("ic")};Bo=Eha;var Qoa=Symbol("jc");Io({Iv:function(a){Wn(a.Xm,function(){var b;((b=a.vi)==null?0:b.length)&&Toa(a.vi)})},Ni:function(a){Wn(a.Xm,function(){var b;((b=a.vi)==null?0:b.length)&&Toa(a.vi)})},Te:function(a){var b;((b=a.Xi)==null?0:b.length)&&a.Xi.forEach(Soa)}});var apa=!0;_.Uw.prototype.Na=function(a,b,c){var d=c===void 0?{}:c;c=d.re;var e=d.onError;var f=d.onSuccess;d=d.onTimeout;this.ba=b;if(!a)throw Error("oc");if(this.Ic){b=_.u(document.getElementsByTagName("style"));for(var h=b.next();!h.done;h=b.next())dpa(this,h.value);b=_.u(document.getElementsByTagName("link"));for(h=b.next();!h.done;h=b.next())dpa(this,h.value)}this.sb(ipa(this,a),c,e,f,d)};
_.Uw.prototype.sb=function(a,b,c,d){var e=this;c=c===void 0?function(){}:c;d=d===void 0?function(){}:d;_.Ww(this,a,function(f,h,k){e.load(f,h,c,d,k===void 0?h:k,b)},b)||c(-1)};_.Uw.prototype.W=function(){};
_.Uw.prototype.load=function(a,b,c,d,e){var f=this;e=e===void 0?b:e;var h=lpa(a,this.Xl,this.tk,this.fetchPriority);_.Tw(this,b);this.J=h;this.ha.insertBefore(h,this.ha.firstChild);_.hpa(h,b,function(){h.parentElement.removeChild(h);f.J==h&&(f.J=null);var k=new Set;b.map(function(m){return k.add(m)});for(var l in f.ba)f.ba[l].isLoaded()&&k.add(l);Array.from(k);d()},function(k){h.parentElement.removeChild(h);f.J==h&&(f.J=null);_.gpa(f,k);f.A?f.A.then(function(){c(-1)}):c(-1)},e)};_.g=_.Yw.prototype;_.g.cancel=function(a){if(this.j)this.A instanceof _.Yw&&this.A.cancel();else{if(this.o){var b=this.o;delete this.o;a?b.cancel(a):(b.G--,b.G<=0&&b.cancel())}this.ba?this.ba.call(this.Z,this):this.W=!0;this.j||this.Hk(new cx(this))}};_.g.gw=function(a,b){this.O=!1;Zw(this,a,b)};_.g.callback=function(a){npa(this);Zw(this,!0,a)};_.g.Hk=function(a){npa(this);Zw(this,!1,a)};
_.g.then=function(a,b,c){var d,e,f=new _.nj(function(h,k){e=h;d=k});_.ax(this,e,function(h){h instanceof cx?f.cancel():d(h);return qpa},this);return f.then(a,b,c)};_.lj(_.Yw);_.Yw.prototype.pa=function(a){var b=new _.Yw;_.ax(this,b.callback,b.Hk,b);a&&(b.o=this,this.G++);return b};_.Yw.prototype.isError=function(a){return a instanceof Error};var qpa={};_.ib($w,_.nb);$w.prototype.message="Deferred has already fired";$w.prototype.name="AlreadyCalledError";_.ib(cx,_.nb);cx.prototype.message="Deferred was canceled";
cx.prototype.name="CanceledError";rpa.prototype.throwError=function(){delete bx[this.j];throw this.o;};var bx={};dx.prototype.toString=function(){return spa(this)+" ("+(this.status!=void 0?this.status:"?")+")"};Ya.Hc=dx;Ya.Hc.j={nv:0,xp:1,TIMEOUT:2,Wu:3,zp:4};_.ib(ex,Dm);_.ib(tpa,_.nb);_.g=ex.prototype;_.g.Tz=function(a){this.ta=a};
_.g.Hl=function(a,b){if(!(this instanceof ex))this.Hl(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,h=!1,k=0;;){var l=h?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[k-1]);else{f=l.substring(0,m);l=l.substring(m+1).split(",");m=k;for(var n=0;n<l.length;n++)m-=l[n].length===0?1:Number(l[n]),l[n]=c[m]}m=0;if(f.length===
0)m=1;else if(f.charAt(0)==="+"||f.charAt(0)==="-")m=Number(f);m!==0&&(d+=m,f="sy"+d.toString(36))}c.push(f);vpa(this,f,l);if(h)break;f=e+1;e=a.indexOf("/",f);e===-1&&(h=!0);k++}this.Ba=c}else{a=a.split("/");c=[];for(d=0;d<a.length;d++){k=a[d].split(":");e=k[0];h=[];if(k[1])for(h=k[1].split(","),k=0;k<h.length;k++)h[k]=c[parseInt(h[k],36)];c.push(e);vpa(this,e,h)}this.Ba=c}b&&b.length?(Ub(this.B,b),this.xa=b[b.length-1]):this.ha.j||this.ha.callback();Object.freeze(this.Ba);this.A==this.W&&(this.A=
null,this.W.onLoad((0,_.fb)(this.Sw,this))&&gx(this,new Ya.Hc(Ya.Hc.j.zp)),fx(this))}};_.g.Pb=function(a){return this.j[a]};_.g.Oo=function(a,b){if(this.H[a]){delete this.H[a][b];for(var c in this.H[a])return;delete this.H[a]}};_.g.isActive=function(){return this.B.length>0};_.g.Yx=function(){return this.O.length>0};
_.g.ls=function(a,b,c){var d=this;b||(this.ba=0);var e=Apa(this,a);this.B=e;this.J=this.ta?a:_.Tb(e);fx(this);if(e.length!==0){this.pa.push.apply(this.pa,e);if(Object.keys(this.H).length>0&&!this.G.wc)throw Error("qc");a=(0,_.fb)(this.G.Na,this.G,_.Tb(e),this.j,{re:this.H,forceReload:!!c,onError:function(f){var h=d.J;f=f!=null?f:void 0;d.ba++;d.J=h;e.forEach(_.gb(_.Sb,d.pa),d);f==401?(gx(d,new Ya.Hc(Ya.Hc.j.nv,f)),d.o.length=0):f==410?(hx(d,new Ya.Hc(Ya.Hc.j.Wu,f)),ix(d)):d.ba>=3?(hx(d,new Ya.Hc(Ya.Hc.j.xp,
f)),ix(d)):d.ls(d.J,!0,f==8001)},onTimeout:(0,_.fb)(this.VE,this)});(b=Math.pow(this.ba,2)*5E3)?_.Sa.setTimeout(a,b):a()}};
_.g.Qj=function(){if(this.A){var a=this.A.getId(),b=[];if(this.H[a]){for(var c=_.u(Object.keys(this.H[a])),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.Pb(d);e&&!e.isLoaded()&&(this.Oo(a,d),b.push(d))}this.Nn(b)}this.isDisposed()||(this.j[a].onLoad((0,_.fb)(this.Sw,this))&&gx(this,new Ya.Hc(Ya.Hc.j.zp)),_.Sb(this.O,a),_.Sb(this.B,a),this.B.length===0&&ix(this),this.xa&&a==this.xa&&(this.ha.j||this.ha.callback()),fx(this),this.A=null)}};
_.g.Vk=function(a){if(Qb(this.B,a))return!0;for(var b=0;b<this.o.length;b++)if(Qb(this.o[b],a))return!0;return!1};_.g.load=function(a,b){return xpa(this,[a],b)[a]};_.g.Nn=function(a){return xpa(this,a)};_.g.Hv=function(a){var b=this;this.A&&this.A.getId()==="synthetic_module_overhead"?(this.Qj(),delete this.j.synthetic_module_overhead):this.A&&this.A.getId();this.j[a]&&Bpa(this,this.j[a].j||[],function(c){c.ml=new ym;_.Sb(b.B,c.getId())},function(c){return!c.isLoaded()});this.A=this.Pb(a)};
_.g.qt=function(a){this.A||(this.j.synthetic_module_overhead=new Am([],"synthetic_module_overhead"),this.A=this.j.synthetic_module_overhead);this.A.o.push(new zm(a))};_.g.VE=function(){hx(this,new Ya.Hc(Ya.Hc.j.TIMEOUT));ix(this)};_.g.Ou=function(a,b){Array.isArray(a)||(a=[a]);for(var c=0;c<a.length;c++){var d=a[c],e=b,f=this.Z;f[d]||(f[d]=[]);f[d].push(e)}};_.g.dispose=function(){ada(Mh(this.j),this.W);this.j={};this.B=[];this.J=[];this.O=[];this.o=[];this.Z={};this.Na=!0};_.g.isDisposed=function(){return this.Na};
_.Fm=function(){return new ex};var Epa=[5E3,2E4];_.v(jx,Dm);_.g=jx.prototype;_.g.Hl=function(){this.j&&this.j.getId()=="{base}"&&this.Qj()};_.g.Pb=function(a){var b=this.A[a];b||(b=new Am([],a),this.A[a]=b);return b};_.g.Oo=function(a,b){if(this.o[a]){delete this.o[a][b];for(var c in this.o[a])return;delete this.o[a]}};_.g.Vk=function(a){return!!this.J[a]};_.g.load=function(a){Dpa(this,[a]);return kx(this,a)};
_.g.Nn=function(a){var b=this,c=Object.create(null),d=[];a.forEach(function(e){c[e]||(c[e]=kx(b,e),d.push(e))});Dpa(this,d);return c};_.g.Hv=function(a){var b;((b=this.j)==null?void 0:b.getId())==="synthetic_module_overhead"&&this.Qj();var c,d;Fpa(this,(d=(c=this.A[a])==null?void 0:c.j)!=null?d:[],function(e){e.ml=new ym},function(e){return!e.isLoaded()});this.j=this.Pb(a)};
_.g.Qj=function(){if(this.j){var a=this.j.getId(),b=[];if(this.o[a]){for(var c=_.u(Object.keys(this.o[a])),d=c.next();!d.done;d=c.next())d=d.value,this.Pb(d).isLoaded()||(this.Oo(a,d),b.push(d));this.Nn(b)}this.j.onLoad(function(){return null});this.j=null;(!this.Vk(a)&&/^sy[0-9a-z]{0,4}$/.test(a)||a==="synthetic_module_overhead")&&delete this.A[a];this.LA(a)}};
_.g.qt=function(a){this.j||(this.A.synthetic_module_overhead=new Am([],"synthetic_module_overhead"),this.j=this.A.synthetic_module_overhead);this.j.o.push(new zm(a))};_.g.GI=function(){var a=this;_.Ka.apply(0,arguments).forEach(function(b){a.J[b]=!0})};_.g.LA=function(){var a=this;_.Ka.apply(0,arguments).forEach(function(b){delete a.J[b]})};var oza=self;_.ib(_.lx,_.xj);_.g=_.lx.prototype;_.g.Rj=0;_.g.Fa=function(){_.lx.ac.Fa.call(this);this.stop();delete this.j;delete this.o};_.g.start=function(a){this.stop();this.Rj=Tj(this.A,a!==void 0?a:this.B)};_.g.stop=function(){this.isActive()&&_.Sa.clearTimeout(this.Rj);this.Rj=0};_.g.isActive=function(){return this.Rj!=0};_.g.MB=function(){this.Rj=0;this.j&&this.j.call(this.o)};var gta=/#(.)(.)(.)/,fta=/^#(?:[0-9a-f]{3}){1,2}$/i;var QS;QS=_.Si().j.documentElement;_.PS=QS.requestFullscreen?"fullscreenchange":QS.webkitRequestFullscreen?"webkitfullscreenchange":QS.mozRequestFullScreen?"mozfullscreenchange":QS.msRequestFullscreen?"MSFullscreenChange":"fullscreenchange";_.ib(ox,_.nb);_.Za(px);px.prototype.j=0;var Lpa="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");var rx="@@redux/INIT"+qx(),Rpa="@@redux/REPLACE"+qx();var Spa=typeof Symbol==="function"&&Symbol.observable||"@@observable";var RS;_.v(tx,_.Pf);tx.prototype.Vw=function(){return Be(this,_.se(this,RS,5))};_.SS=[3,4];RS=[5,6];var RTa=[0,_.SS,RS,gTa,-1,_.rS,fTa,-1,PSa,QSa];tx.prototype.j=_.Ug(RTa);_.STa=_.Tg(tx,RTa);_.v(Tpa,_.Pf);_.v(ux,_.Pf);_.v(Upa,_.Pf);_.v(vx,_.Pf);vx.prototype.rr=function(){return _.lf(this,1)};vx.prototype.getMessage=function(){return _.kf(this,4)};_.v(wx,_.Pf);_.v(xx,_.Pf);_.v(yx,_.Pf);yx.prototype.getUrl=function(){return _.kf(this,1)};yx.prototype.hasUrl=function(){return ef(this,1)!=null};_.v(Vpa,_.Pf);var TTa=[3];_.v(zx,_.Pf);zx.prototype.getType=function(){return _.lf(this,2)};zx.prototype.Lk=function(){return mf(this,4,TS)};var TS=[3,4,5,6];_.v(Bx,_.Pf);Bx.prototype.getType=function(){return _.lf(this,1)};var Dx=[2,3,4,5];_.v(Fx,_.Pf);Fx.mb=[1];_.v(Gx,_.Pf);_.v(Hx,_.Pf);_.v(Ix,_.Pf);Ix.prototype.getValue=function(){xc(this,lS);return _.hf(this,1)};Ix.prototype.sc=function(a){return _.qf(this,1,a)};_.v(Jx,_.Pf);_.v(Kx,_.Pf);Kx.prototype.getType=function(){return _.lf(this,1)};Kx.prototype.hasMetadata=function(){return _.te(this,Gx,7,US)};var UTa=_.Vg(Kx),US=[2,3,4,5,6,7,8,9,10,11,12];_.v(Lx,_.Pf);_.g=Lx.prototype;_.g.getEnableSsEngine=function(){return ff(this,2)};_.g.getEnableAwr=function(){return ff(this,3)};_.g.getAlohaAutoGaRollout=function(){return ff(this,5)};_.g.getEnableConfigurator=function(){return ff(this,6)};_.g.getEnableMweb=function(){return ff(this,7)};_.g.getEnableCtlConsentCheckbox=function(){return ff(this,8)};_.g.getEnableIframe=function(){return ff(this,9)};_.g.getEnableScreenshotNudge=function(){return ff(this,10)};
_.g.getEnableWebStartupConfigEndpoint=function(){return ff(this,11)};_.g.getEnableJunkNudge=function(){return ff(this,12)};_.g.getEnableConfiguratorLocale=function(){return ff(this,13)};_.g.getEnableTinyNoPointer=function(){return ff(this,14)};_.g.getEnableSupportSessionLogging=function(){return ff(this,15)};_.g.getEnableFileUploadForScreenshot=function(){return ff(this,16)};_.g.getEnableDirectDeflectionForSingleCategory=function(){return ff(this,17)};
_.g.getEnableImageSanitization=function(){return ff(this,18)};_.g.getEnableAlohaBinarySplit=function(){return ff(this,19)};_.g.getEnableDbFeedbackIntents=function(){return ff(this,20)};_.g.getEnableMarkMandatoryFieldsWithRequired=function(){return ff(this,21)};_.g.getEnableFeedbackCategoryCustomUi=function(){return ff(this,22)};_.g.getEnableRealtimeCtl=function(){return ff(this,23)};_.v(Mx,_.Pf);var Ypa=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/https:\/\/.*\.googleusercontent\.com\/inapp/];var $pa="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur uz vi zh zh-CN zh-HK zh-TW zu".split(" ");var aqa=_.ha(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),bqa=_.ha(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var Nx,Ox;_.Ta("userfeedback.api.startFeedback",nqa);_.pH=new _.J("accessibilityContext");_.VTa=new _.J("signInEndpoint");_.DB=new _.J("browseEndpoint");_.WTa=new _.J("confirmDialogEndpoint");_.v(Rx,Qx);_.ba.Object.defineProperties(Rx.prototype,{entityMetadata:{configurable:!0,enumerable:!0,get:function(){return this.D.entityMetadata},set:function(a){this.D.entityMetadata=a}}});_.v(Sx,Rx);Sx.prototype.j=function(){return[]};var Lsa=new _.J("webResponseContextExtensionData");var xua=new _.J("webThumbnailDetailsExtensionData");_.vya=new _.J("commandContext");_.DC=new _.J("commandExecutorCommand");var cta=new _.J("emoji");_.VS=new _.J("continuationCommand");_.XTa=new _.J("selectLanguageCommand");_.YTa=new _.J("signalAction");var vta=new _.J("webNavigationEndpointData");_.ZTa=new _.J("metadataBadgeRenderer");_.$K=new _.J("signalServiceEndpoint");_.mC=new _.J("innertubeCommand");var iC=new _.J("loggingDirectives");var UBa=new _.J("embeddedPlayerOverlayVideoDetailsRenderer"),$Ta=new _.J("embeddedPlayerOverlayVideoDetailsCollapsedRenderer"),aUa=new _.J("embeddedPlayerOverlayVideoDetailsExpandedRenderer");var bUa=new _.J("embedsInfoPanelRenderer");_.JR=new _.J("entityBatchUpdate");_.cUa=new _.J("entityUpdateCommand");_.v(Tx,Rx);Tx.prototype.j=function(){var a=[];this.D.alternateChannel&&a.push(this.D.alternateChannel);this.D.alternateChannelList&&a.push.apply(a,_.ma(this.D.alternateChannelList));this.D.oneofChannelEntity&&a.push(this.D.oneofChannelEntity);return[].concat(_.ma(new Set(a)))};_.v(Ux,Rx);Ux.prototype.j=function(){var a=[];this.D.entryCollection&&a.push(this.D.entryCollection);return[].concat(_.ma(new Set(a)))};_.v(Vx,Rx);Vx.prototype.j=function(){var a=[];this.D.parentPlaylist&&a.push(this.D.parentPlaylist);if(this.D.entries)for(var b=_.u(this.D.entries),c=b.next();!c.done;c=b.next())a.push.apply(a,_.ma((new Wx(c.value)).j()));return[].concat(_.ma(new Set(a)))};_.v(Wx,Qx);Wx.prototype.j=function(){var a=[];this.D.video&&a.push(this.D.video);return[].concat(_.ma(new Set(a)))};_.v(Xx,Rx);Xx.prototype.j=function(){var a=[];this.D.descriptionEntity&&a.push(this.D.descriptionEntity);this.D.creators&&a.push.apply(a,_.ma(this.D.creators));this.D.theBiggestFan&&a.push(this.D.theBiggestFan);return[].concat(_.ma(new Set(a)))};_.v(Yx,Rx);Yx.prototype.j=function(){return[]};var dUa=new _.J("getFlowCommand");_.v(Zx,Rx);Zx.prototype.j=function(){return[]};var eUa=new _.J("changeMiniAppPlayStateCommand");_.v(oqa,_.Pf);var ND=[1,2];var Wua=_.Tg(oqa,[0,ND,MSa,OSa]);var axa=new _.J("miniAppScoreChallengeViewModel");_.v($x,Rx);$x.prototype.j=function(){return[]};var Wxa=new _.J("logoViewModel");var eR=new _.J("mobileTopbarRenderer");var Sxa=new _.J("navigationItemViewModel");var fUa=new _.J("callToActionButtonViewModel");_.v(ay,Rx);ay.prototype.j=function(){return[]};_.WS=new _.J("playerInterstitialRenderer");_.pI=new _.J("likeEndpoint");_.v(by,Rx);by.prototype.j=function(){return[]};var wqa={fO:"SLI_STATUS_UNKNOWN",dO:"SLI_STATUS_SUCCESS",bO:"SLI_STATUS_FAILURE",eO:"SLI_STATUS_TIMEOUT",ZN:"SLI_STATUS_ABORTED",aO:"SLI_STATUS_CANCELLED",cO:"SLI_STATUS_REJECTED"};var AOa={iN:"MWEB_PAGE_TYPE_UNKNOWN",VM:"MWEB_PAGE_TYPE_CLIP",eN:"MWEB_PAGE_TYPE_SEARCH",jN:"MWEB_PAGE_TYPE_WATCH",gN:"MWEB_PAGE_TYPE_SHORTS",YM:"MWEB_PAGE_TYPE_HOME",UM:"MWEB_PAGE_TYPE_CHANNEL",WM:"MWEB_PAGE_TYPE_CREATE_CHANNEL",XM:"MWEB_PAGE_TYPE_EXPERIMENTS",hN:"MWEB_PAGE_TYPE_SPONSORSHIP",fN:"MWEB_PAGE_TYPE_SETTINGS",ZM:"MWEB_PAGE_TYPE_LOCATE",cN:"MWEB_PAGE_TYPE_PAID_MEMBERSHIPS",dN:"MWEB_PAGE_TYPE_PREMIUM",bN:"MWEB_PAGE_TYPE_OOPS",aN:"MWEB_PAGE_TYPE_NOT_FOUND",TM:"MWEB_PAGE_TYPE_BROWSE"};var Yoa={rM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_UNKNOWN",RL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_FOR_TESTING",gM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_RESUME_TO_HOME_TTL",kM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_START_TO_SHORTS_ANALYSIS_SLICE",OL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_DEVICE_LAYER_SLICE",qM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_UNIFIED_LAYER_SLICE",sM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_VISITOR_LAYER_SLICE",jM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_SHOW_SHEET_COMMAND_HANDLER_BLOCK",
uM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WIZ_NEXT_MIGRATED_COMPONENT",tM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WIZ_NEXT_CHANNEL_NAME_TOOLTIP",hM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ROTATION_LOCK_SUPPORTED",mM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_THEATER_MODE_ENABLED",yM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_SHOW_PIN_SUGGESTION",xM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_SHOW_LONG_PRESS_EDU_TOAST",wM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_SHOW_AMBIENT",nM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_TIME_WATCHED_PANEL",
iM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_SEARCH_FROM_SEARCH_BAR_OVERLAY",zM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_SHOW_VOICE_SEARCH_EDU_TOAST",lM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_SUGGESTED_LANGUAGE_SELECTED",AM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_TRIGGER_SHORTS_PIP",WL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IN_ZP_VOICE_CRASHY_SET",cM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_FAST_SWIPE_SUPPRESSED",bM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_FAST_SWIPE_ALLOWED",eM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_PULL_TO_REFRESH_ATTEMPT",
vM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_WOULD_BLOCK_KABUKI",fM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_TALL_SCREEN",dM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_REEL_NORMAL_SCREEN",HL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ACCESSIBILITY_MODE_ENABLED",GL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ACCESSIBILITY_MODE_DISABLED",IL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_AUTOPLAY_ENABLED",JL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_CAST_MATCH_OCCURRED",PL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_EMC3DS_ELIGIBLE",QL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ENDSCREEN_TRIGGERED",
aM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_POSTPLAY_TRIGGERED",ZL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_POSTPLAY_LACT_THRESHOLD_EXCEEDED",SL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_STATE_MATCHED_ON_REMOTE_CONNECTION",UL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_STATE_SWITCHABLE_ON_REMOTE_CONNECTION",TL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_STATE_MISATTRIBUTED_ON_REMOTE_CONNECTION",VL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_IDENTITIES_TV_IS_SIGNED_IN_ON_REMOTE_CONNECTION",oM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_TV_START_TYPE_COLD_ON_REMOTE_CONNECTION",
pM:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_TV_START_TYPE_NON_COLD_ON_REMOTE_CONNECTION",YL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_ON_REMOTE_CONNECTION",NL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_COBALT_PERSISTENT_SETTINGS_TEST_VALID",LL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_COBALT_PERSISTENT_SETTINGS_TEST_INVALID",ML:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_COBALT_PERSISTENT_SETTINGS_TEST_UNDEFINED",KL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_COBALT_PERSISTENT_SETTINGS_TEST_DEFINED",XL:"GENERIC_CLIENT_EXPERIMENT_EVENT_TYPE_LACT_THRESHOLD_EXCEEDED"};var gUa=new _.J("dismissDialogEndpoint");_.v(cy,Rx);cy.prototype.j=function(){return[]};_.v(dy,Rx);dy.prototype.j=function(){return[]};_.v(ey,Rx);ey.prototype.j=function(){return[]};_.v(fy,Rx);fy.prototype.j=function(){var a=[];this.D.downloadsList&&a.push(this.D.downloadsList);this.D.smartDownloadsList&&a.push(this.D.smartDownloadsList);this.D.recommendedDownloadsList&&a.push(this.D.recommendedDownloadsList);this.D.refresh&&a.push(this.D.refresh);return[].concat(_.ma(new Set(a)))};_.v(gy,Rx);gy.prototype.j=function(){var a=[];this.D.refresh&&a.push(this.D.refresh);if(this.D.downloads)for(var b=_.u(this.D.downloads),c=b.next();!c.done;c=b.next())a.push.apply(a,_.ma((new hy(c.value)).j()));return[].concat(_.ma(new Set(a)))};_.v(hy,Qx);hy.prototype.j=function(){var a=[];this.D.video&&a.push(this.D.video);this.D.playlist&&a.push(this.D.playlist);this.D.videoItem&&a.push(this.D.videoItem);this.D.playlistItem&&a.push(this.D.playlistItem);return[].concat(_.ma(new Set(a)))};_.v(iy,Rx);iy.prototype.j=function(){var a=[];this.D.localImageEntities&&a.push.apply(a,_.ma(this.D.localImageEntities));return[].concat(_.ma(new Set(a)))};_.v(jy,Rx);jy.prototype.j=function(){var a=[];this.D.playbackData&&a.push(this.D.playbackData);this.D.localImageEntities&&a.push.apply(a,_.ma(this.D.localImageEntities));this.D.videoDownloadContextEntity&&a.push(this.D.videoDownloadContextEntity);return[].concat(_.ma(new Set(a)))};_.v(ky,Rx);ky.prototype.j=function(){return[]};_.v(ly,Rx);ly.prototype.j=function(){var a=[];this.D.fakeChildren&&a.push.apply(a,_.ma(this.D.fakeChildren));return[].concat(_.ma(new Set(a)))};_.v(my,Rx);my.prototype.j=function(){var a=[];this.D.video&&a.push(this.D.video);this.D.playbackData&&a.push(this.D.playbackData);this.D.offlineVideoPolicy&&a.push(this.D.offlineVideoPolicy);return[].concat(_.ma(new Set(a)))};_.v(ny,Rx);ny.prototype.j=function(){return[]};_.v(oy,Rx);oy.prototype.j=function(){var a=[];this.D.channelOwner&&a.push(this.D.channelOwner);this.D.videos&&a.push.apply(a,_.ma(this.D.videos));this.D.collaboratorChannels&&a.push.apply(a,_.ma(this.D.collaboratorChannels));this.D.downloadState&&a.push(this.D.downloadState);this.D.refresh&&a.push(this.D.refresh);return[].concat(_.ma(new Set(a)))};_.v(py,Rx);py.prototype.j=function(){var a=[];this.D.video&&a.push(this.D.video);this.D.channelContributor&&a.push(this.D.channelContributor);return[].concat(_.ma(new Set(a)))};_.v(qy,Qx);qy.prototype.j=function(){var a=[];this.D.recommendedVideoMetadata&&a.push.apply(a,_.ma((new ry(this.D.recommendedVideoMetadata)).j()));return[].concat(_.ma(new Set(a)))};_.v(ry,Qx);ry.prototype.j=function(){var a=[];this.D.localImageEntities&&a.push.apply(a,_.ma(this.D.localImageEntities));this.D.videoDownloadContextEntity&&a.push(this.D.videoDownloadContextEntity);return[].concat(_.ma(new Set(a)))};_.v(sy,Qx);sy.prototype.j=function(){var a=[];this.D.playbackPosition&&a.push(this.D.playbackPosition);return[].concat(_.ma(new Set(a)))};_.v(ty,Rx);ty.prototype.j=function(){var a=[];this.D.owner&&a.push(this.D.owner);this.D.downloadState&&a.push(this.D.downloadState);this.D.userState&&a.push.apply(a,_.ma((new sy(this.D.userState)).j()));this.D.additionalMetadata&&a.push.apply(a,_.ma((new qy(this.D.additionalMetadata)).j()));return[].concat(_.ma(new Set(a)))};_.v(uy,Rx);uy.prototype.j=function(){var a=[];this.D.userChannelDetails&&a.push(this.D.userChannelDetails);return[].concat(_.ma(new Set(a)))};_.v(vy,Rx);vy.prototype.j=function(){var a=[];this.D.channelOwner&&a.push(this.D.channelOwner);this.D.playbackPosition&&a.push(this.D.playbackPosition);this.D.localImageEntities&&a.push.apply(a,_.ma(this.D.localImageEntities));this.D.downloadStatus&&a.push(this.D.downloadStatus);return[].concat(_.ma(new Set(a)))};_.v(wy,Rx);wy.prototype.j=function(){return[]};_.v(xy,Rx);xy.prototype.j=function(){return[]};_.v(yy,Rx);yy.prototype.j=function(){return[]};_.v(zy,Rx);zy.prototype.j=function(){return[]};_.v(Ay,Rx);Ay.prototype.j=function(){return[]};_.HGa=new _.J("chipsShelfViewModel");_.YN=new _.J("cinematicContainerRenderer");var hUa=new _.J("scrollToSectionEndpoint");var iUa=new _.J("horizontalSliderViewModel");var QIa=new _.J("variableSpeedControllerViewModel");_.v(By,Rx);By.prototype.j=function(){return[]};_.v(Cy,Rx);Cy.prototype.j=function(){return[]};_.v(Dy,Rx);Dy.prototype.j=function(){return[]};_.v(Ey,Rx);Ey.prototype.j=function(){var a=[];this.D.trackDownloadMetadatas&&a.push.apply(a,_.ma(this.D.trackDownloadMetadatas));return[].concat(_.ma(new Set(a)))};_.v(Fy,Rx);
Fy.prototype.j=function(){var a=[];this.D.downloadedTracks&&a.push.apply(a,_.ma(this.D.downloadedTracks));this.D.smartDownloadedTracks&&a.push.apply(a,_.ma(this.D.smartDownloadedTracks));this.D.downloadedEpisodes&&a.push.apply(a,_.ma(this.D.downloadedEpisodes));this.D.downloadedAlbumReleases&&a.push.apply(a,_.ma(this.D.downloadedAlbumReleases));this.D.smartDownloadedAlbumReleases&&a.push.apply(a,_.ma(this.D.smartDownloadedAlbumReleases));this.D.downloadedPlaylists&&a.push.apply(a,_.ma(this.D.downloadedPlaylists));this.D.smartDownloadedPlaylists&&
a.push.apply(a,_.ma(this.D.smartDownloadedPlaylists));this.D.metadataOnlyTracks&&a.push.apply(a,_.ma(this.D.metadataOnlyTracks));return[].concat(_.ma(new Set(a)))};_.v(Gy,Rx);Gy.prototype.j=function(){var a=[];this.D.trackDownloadMetadatas&&a.push.apply(a,_.ma(this.D.trackDownloadMetadatas));return[].concat(_.ma(new Set(a)))};_.v(Hy,Rx);Hy.prototype.j=function(){var a=[];this.D.playbackData&&a.push(this.D.playbackData);this.D.localImageEntities&&a.push.apply(a,_.ma(this.D.localImageEntities));this.D.videoDownloadContextEntity&&a.push(this.D.videoDownloadContextEntity);return[].concat(_.ma(new Set(a)))};_.v(Iy,Rx);Iy.prototype.j=function(){var a=[];this.D.musicLibraryStatusEntity&&a.push(this.D.musicLibraryStatusEntity);this.D.primaryArtists&&a.push.apply(a,_.ma(this.D.primaryArtists));this.D.details&&a.push(this.D.details);this.D.userDetails&&a.push(this.D.userDetails);this.D.tracks&&a.push.apply(a,_.ma(this.D.tracks));this.D.share&&a.push(this.D.share);this.D.downloadMetadata&&a.push(this.D.downloadMetadata);this.D.refresh&&a.push(this.D.refresh);return[].concat(_.ma(new Set(a)))};_.v(Jy,Rx);
Jy.prototype.j=function(){var a=[];this.D.albumRelease&&a.push(this.D.albumRelease);this.D.tracks&&a.push.apply(a,_.ma(this.D.tracks));return[].concat(_.ma(new Set(a)))};_.v(Ky,Rx);Ky.prototype.j=function(){var a=[];this.D.albumRelease&&a.push(this.D.albumRelease);return[].concat(_.ma(new Set(a)))};_.v(Ly,Rx);Ly.prototype.j=function(){var a=[];this.D.details&&a.push(this.D.details);this.D.userDetails&&a.push(this.D.userDetails);return[].concat(_.ma(new Set(a)))};_.v(My,Rx);My.prototype.j=function(){var a=[];this.D.parentArtist&&a.push(this.D.parentArtist);return[].concat(_.ma(new Set(a)))};_.v(Ny,Rx);Ny.prototype.j=function(){var a=[];this.D.parentArtist&&a.push(this.D.parentArtist);return[].concat(_.ma(new Set(a)))};_.v(Oy,Rx);Oy.prototype.j=function(){return[]};_.v(Py,Rx);Py.prototype.j=function(){return[]};_.v(Qy,Rx);
Qy.prototype.j=function(){var a=[];this.D.tracks&&a.push.apply(a,_.ma(this.D.tracks));this.D.refresh&&a.push(this.D.refresh);this.D.musicLibraryStatusEntity&&a.push(this.D.musicLibraryStatusEntity);this.D.details&&a.push(this.D.details);this.D.downloadMetadata&&a.push(this.D.downloadMetadata);this.D.sideloadMetadata&&a.push(this.D.sideloadMetadata);this.D.userDetails&&a.push(this.D.userDetails);this.D.entryCollection&&a.push(this.D.entryCollection);this.D.share&&a.push(this.D.share);this.D.podcastShowAdditionalMetadata&&a.push.apply(a,
_.ma((new Ry(this.D.podcastShowAdditionalMetadata)).j()));return[].concat(_.ma(new Set(a)))};_.v(Ry,Qx);Ry.prototype.j=function(){var a=[];this.D.creatorEntity&&a.push(this.D.creatorEntity);return[].concat(_.ma(new Set(a)))};_.v(Sy,Rx);Sy.prototype.j=function(){return[]};_.v(Ty,Rx);
Ty.prototype.j=function(){var a=[];this.D.musicLibraryStatusEntity&&a.push(this.D.musicLibraryStatusEntity);this.D.artists&&a.push.apply(a,_.ma(this.D.artists));this.D.audioModeVersion&&a.push(this.D.audioModeVersion);this.D.videoModeVersion&&a.push(this.D.videoModeVersion);this.D.userDetails&&a.push(this.D.userDetails);this.D.details&&a.push(this.D.details);this.D.albumRelease&&a.push(this.D.albumRelease);this.D.share&&a.push(this.D.share);this.D.libraryEdit&&a.push(this.D.libraryEdit);this.D.downloadMetadata&&
a.push(this.D.downloadMetadata);this.D.playbackPosition&&a.push(this.D.playbackPosition);return[].concat(_.ma(new Set(a)))};_.v(Vy,Rx);Vy.prototype.j=function(){var a=[];this.D.parentTrack&&a.push(this.D.parentTrack);return[].concat(_.ma(new Set(a)))};_.v(Zy,Rx);Zy.prototype.j=function(){var a=[];this.D.parentTrack&&a.push(this.D.parentTrack);return[].concat(_.ma(new Set(a)))};_.zC=new _.J("modalEndpoint");_.jUa=new _.J("nativeAppDeeplinkEndpoint");var kUa;_.GL=new _.J("shareEndpoint");_.HL=new _.J("shareEntityEndpoint");kUa=new _.J("shareEntityServiceEndpoint");_.EB=new _.J("urlEndpoint");_.aL=new _.J("userFeedbackEndpoint");_.v($y,Rx);$y.prototype.j=function(){return[]};_.v(az,Rx);az.prototype.j=function(){return[]};_.v(bz,Rx);bz.prototype.j=function(){return[]};_.v(cz,Rx);cz.prototype.j=function(){return[]};_.v(dz,Rx);dz.prototype.j=function(){var a=[];this.D.transfer&&a.push(this.D.transfer);this.D.adsPlaybackData&&a.push.apply(a,_.ma(this.D.adsPlaybackData));this.D.drmLicense&&a.push(this.D.drmLicense);this.D.offlineVideoPolicy&&a.push(this.D.offlineVideoPolicy);this.D.videoDownloadContextEntity&&a.push(this.D.videoDownloadContextEntity);return[].concat(_.ma(new Set(a)))};_.v(ez,Rx);ez.prototype.j=function(){return[]};_.v(fz,Rx);fz.prototype.j=function(){var a=[];this.D.offlineVideoStreams&&a.push.apply(a,_.ma(this.D.offlineVideoStreams));this.D.captionTrack&&a.push.apply(a,_.ma(this.D.captionTrack));return[].concat(_.ma(new Set(a)))};_.v(gz,Rx);gz.prototype.j=function(){return[]};var lUa=new _.J("hideMoreDrawerCommand");_.mUa=new _.J("showMoreDrawerCommand");_.nUa=new _.J("prefetchWatchCommand");var QBa=new _.J("fullscreenRelatedVideosEntryPointViewModel");var DJ=new _.J("quickActionsViewModel");_.rC=new _.J("playlistEditEndpoint");var oUa=new _.J("sfvAudioItemPlaybackCommand");_.v(hz,Rx);hz.prototype.j=function(){return[]};_.uR=new _.J("reelNonVideoContentEndpoint");_.eD=new _.J("reelWatchEndpoint");_.pUa=new _.J("reelPlayerOverlayRenderer");_.gP=new _.J("buttonRenderer");var Iya=new _.J("switchButtonViewModel");var gKa=new _.J("confirmDialogRenderer");_.XS=new _.J("chipCloudChipRenderer");_.qUa=new _.J("itemSectionRenderer");_.v(iz,Rx);iz.prototype.j=function(){return[]};_.NN=new _.J("searchEndpoint");var BFa=new _.J("modifyChannelNotificationPreferenceEndpoint");_.v(jz,Rx);jz.prototype.j=function(){return[]};_.v(_.kz,_.Pf);_.kz.prototype.j=_.Ug([0,_.pS,-1]);var rUa=new _.J("hideSheetCommand");var sUa=new _.J("showDialogCommand");_.RF=new _.J("showSheetCommand");_.YS=new _.J("avatarViewModel");_.OF=new _.J("buttonViewModel");_.YM=new _.J("chipViewModel");var Txa=new _.J("dividerViewModel");_.v(lz,Rx);lz.prototype.j=function(){return[]};var wya=new _.J("thumbnailHoverOverlayViewModel");_.ZS=new _.J("toggleButtonViewModel");var tUa=new _.J("switchListItemViewModel");var uUa=new _.J("notifyDropdownOptionSelectedCommand");_.BH=new _.J("listItemViewModel");_.vUa=new _.J("thumbnailOverlaySidePanelRenderer");_.v(mz,Rx);mz.prototype.j=function(){return[]};_.v(nz,Rx);nz.prototype.j=function(){return[]};_.v(oz,Rx);oz.prototype.j=function(){return[]};_.v(pz,Rx);pz.prototype.j=function(){return[]};var dta=new _.J("unpluggedStringRunImage");_.v(qz,Rx);qz.prototype.j=function(){return[]};var sP=new _.J("playerToastCommand");_.WM=new _.J("relatedChipCommand");var GBa=new _.J("autoplaySwitchButtonRenderer");var HBa=new _.J("decoratedPlayerBarRenderer"),wJ=new _.J("multiMarkersPlayerBarRenderer"),MJ=new _.J("chapterRenderer");var MBa=new _.J("fullscreenEngagementOverlayRenderer"),NBa=new _.J("fullscreenEngagementActionBarRenderer");var wUa=new _.J("heatMarkerRenderer");var IBa=new _.J("heatmapRenderer");_.xUa=new _.J("macroMarkersListItemRenderer");var VKa=new _.J("slimMetadataToggleButtonRenderer");var NJ=new _.J("timedMarkerDecorationRenderer");_.Tva=new _.J("postWebToNativeMessageCommand");_.v(_.rz,_.Pf);var yUa=[0,_.pS,-1];_.rz.prototype.j=_.Ug(yUa);var Vua=_.Tg(_.rz,yUa);_.$S=new _.J("commerceActionCommand");var zUa=new _.J("getPaymentsClientTokenCommand");var AUa=new _.J("logGtmCommand");_.v(sz,Rx);sz.prototype.j=function(){return[]};_.v(tz,Rx);tz.prototype.j=function(){return[]};_.v(uz,Rx);uz.prototype.j=function(){return[]};_.v(vz,Rx);vz.prototype.j=function(){return[]};_.v(wz,Rx);wz.prototype.j=function(){return[]};_.Dsa=new _.J("ypcGetOffersEndpoint");_.BUa=new _.J("ypcHandleTransactionEndpoint");Ex(Cx(1),Ax(4));hh((new MessageChannel).port2);qqa.prototype.clear=function(){zz(this);this.register.clear()};var xz=new qqa;Az.prototype.clear=function(){this.events.clear()};vqa.prototype.flush=function(){if(this.o){var a={loggedEvents:tqa(this.A),unloggedEvents:tqa(this.B)};if(_.M("export_player_version_to_ytconfig")){var b;(b=_.L("PLAYER_CLIENT_VERSION"))?(b=b.split("-")[0].replace(/\./g,""),b=isNaN(Number(b))?"0":b):b="";var c=_.L("PLAYER_CLIENT_VERSION");if(c){c=c.split("-");var d="";c.length>1&&(d=c[c.length-1]);c=pqa(d.startsWith("canary_experiment")?"canary":d.startsWith("canary_control")?"control":"none")}else c="CLIENT_CANARY_STATE_UNKNOWN";a.dimensions={playerClientVersion:b,
playerCanaryState:c}}this.G.flush(a);this.A.clear();this.B.clear();this.o=0;this.j.enabled&&this.j.stop()}};uqa.prototype.flush=function(a,b){_.M("enable_client_sli_logging")&&_.uu("sliEventBatch",a,{sendIsolatedPayload:!!b})};var Bz;zqa.prototype.getId=function(){return this.sliId};var DOa=new Dz("SLI_NAME_YOUTUBE_MWEB_PAGE_ERROR_SLI"),GOa=new Dz("SLI_NAME_YOUTUBE_MWEB_PLAYER_ERROR_SLI"),HOa=new Dz("SLI_NAME_YOUTUBE_MWEB_PLAYER_UNPLAYABLE_SLI"),JOa=new Dz("SLI_NAME_YOUTUBE_MWEB_RENDERER_MODULE_LOAD_ERROR_SLI"),JQa=new Dz("SLI_NAME_YOUTUBE_MWEB_PATCH_SLI");var Ota=new _.J("highlightTextDecoratorColorMapExtension");var Nta=new _.J("styleRunColorMapExtension");var Kba=_.ha(["data-"]),Dqa={};Pz.prototype.clone=function(){var a=new Pz,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];a[b]=ab(c)=="object"?_.Rh(c):c}return a};var CUa,DUa,EUa,HUa,Uua;_.aT=["att/get"];_.bT=["browse","music/browse","unplugged/browse"];CUa=["ypc/commerce_action"];DUa=["flow"];EUa=["share/get_share_panel"];_.FUa=["feedback"];_.cT=["get_panel","get_posts_by_host_panel"];_.GUa=["player"];HUa=["reel/reel_item_watch"];_.IUa=["reel/reel_watch_sequence"];Uua=["miniapp/report_value"];_.JUa=["next","unplugged/watch_next"];_.KUa=["ypc/get_cart"];_.LUa=["ypc/get_offers"];_.MUa=["ypc/handle_transaction"];var Qz=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};_.Ta("yt.msgs_",Qz);var Iqa={};var Tqa="absolute_experiments app conditional_experiments debugcss debugjs expflag forced_experiments pbj pbjreload sbb spf spfreload sr_bns_address sttick".split(" ");var Uqa=_.Ki(function(){var a=new Pk;return a.isAvailable()?new Ik(a):null}),Vqa=_.Ki(function(){var a=new Xda;return a.isAvailable()?new Ik(a):null});Xqa.prototype.flush=function(a,b){a=a===void 0?[]:a;b=b===void 0?!1:b;if(_.M("enable_client_streamz_web")){a=_.u(a);for(var c=a.next();!c.done;c=a.next())c=nfa(c.value),c={serializedIncrementBatch:_.dc(c.j())},_.uu("streamzIncremented",c,{sendIsolatedPayload:b})}};var gA;iA.prototype.set=function(a,b,c){c=c!==void 0?Date.now()+c:void 0;this.j.set(a,b,c)};iA.prototype.get=function(a){return this.j.get(a)};iA.prototype.remove=function(a){this.j.remove(a)};var ara=/^(?:https:)?\/\/[0-9a-z-.]+\.(google|youtube)\.com\//;var cra=_.ha(["//www.googletagmanager.com/gtm.js?id=",""]);var NUa=_.ha(["https://clients2.google.com/gr/gr_sync.js"]);_.nA.prototype.init=function(){if(oA()){var a=_.sj();a.resolve();return a.promise}return Jpa(_.Fi(NUa)).then(function(){if(!oA())throw Error("Rc");},function(){throw Error("Sc");})};qA.prototype.getState=function(){return this.store.getState()};qA.prototype.dispatch=function(a){return this.store.dispatch(a)};qA.prototype.subscribe=function(a){return this.store.subscribe(a)};qA.prototype.replaceReducer=function(a){return this.store.replaceReducer(a)};qA.prototype[Symbol.observable]=function(){return this.store[Symbol.observable]()};var OUa=sx({pm:function(a,b){switch(b.type){case "CHANNEL_REPORT_RESET":return"";case "ADDITIONAL_CONTEXT_UPDATED":var c;return(c=b.payload)!=null?c:"";default:return a===void 0?"":a}},impersonatedChannelUrl:function(a,b){switch(b.type){case "CHANNEL_REPORT_RESET":return"";case "IMPERSONATED_CHANNEL_URL_UPDATED":var c;return(c=b.payload)!=null?c:"";default:return a===void 0?"":a}},selectedVideoIds:function(a,b){a=a===void 0?{}:a;switch(b.type){case "CHANNEL_REPORT_RESET":return{};case "VIDEO_SELECTED":var c=
{};return Object.assign({},a,(c[b.payload]=!0,c));case "VIDEO_UNSELECTED":return b=b.payload,a=Object.assign({},a),delete a[b],a;default:return a}}});var PUa={zq:"",tq:{}};new _.Uj;var sA=new _.jp("WATCH_PLAYER_PROMISE_TOKEN"),QUa=new _.Uj,RUa=new _.jp("SHORTS_PLAYER_PROMISE_TOKEN"),qE=new _.jp("");var SUa=sx({XH:function(a,b){switch(b.type){case "SET_PARENT_CLICK_TRACKING_PARAMS":return b.payload.XH;case "CLEAR_PARENT_CLICK_TRACKING_PARAMS":return"";default:return a===void 0?"":a}}});var TUa=sx({kS:function(a,b){a=a===void 0?{}:a;switch(b.type){case "TALK_TO_RECS_UPDATE_SELECTION":var c=a,d=b.payload,e,f,h;a={};b={Et:Object.assign({},(h=(e=c[d.stepId])==null?void 0:e.Et)!=null?h:{},(a[d.token]={isSelected:d.isSelected},a)),userQuery:(f=c[d.stepId])==null?void 0:f.userQuery};e={};return Object.assign({},c,(e[d.stepId]=b,e));case "TALK_TO_RECS_UPDATE_USER_QUERY":return e=a,f=b.payload,h={Et:Object.assign({},(d=(c=e[f.stepId])==null?void 0:c.Et)!=null?d:{}),userQuery:{userQuery:f.userQuery,
token:f.userQueryToken}},c={},Object.assign({},e,(c[f.stepId]=h,c));default:return a}}});var UUa={AI:!0,PE:!1,QE:!1,dH:!1,YI:!1,dJ:-1,eH:-1,uI:!1,tI:4,vI:8,sI:void 0,At:"RICH_GRID_STYLE_UNKNOWN",Aq:"WEB_PAGE_TYPE_UNKNOWN",ej:!1,Gr:!0,OD:!1,uJ:!1,Ae:!0};var VUa={width:0,height:0};var WUa=sx({nG:function(a,b){a=a===void 0?!!_.L("START_IN_THEATER_MODE"):a;switch(b.type){case "SET_IS_THEATER_MODE":return b.payload.nG;default:return a}},qG:function(a,b){switch(b.type){case "SET_IS_WATCH_ACTIVE":return b.payload.qG;default:return a===void 0?!1:a}},rG:function(a,b){switch(b.type){case "SET_IS_WATCH_FULLSCREEN":return b.payload.rG;default:return a===void 0?!1:a}},sG:function(a,b){switch(b.type){case "SET_IS_WATCH_NARROW_WIDTH":return b.payload.sG;default:return a===void 0?!1:a}},
playerState:function(a,b){switch(b.type){case "SET_PLAYER_STATE":return b.payload.playerState;default:return a===void 0?-1:a}},vK:function(a,b){switch(b.type){case "SET_WATCH_SCROLL_TOP":return b.payload.vK;default:return a===void 0?0:a}},wK:function(a,b){a=a===void 0?VUa:a;switch(b.type){case "SET_WATCH_WINDOW_SIZE":return b.payload.wK;default:return a}}});var XUa=sx({surveyFeedbackData:function(a,b){a=a===void 0?{feedbackTokens:[]}:a;switch(b.type){case "YPC_UPDATE_SURVEY_FEEDBACK_DATA":return b.payload;case "YPC_UPDATE_PARTIAL_SURVEY_FEEDBACK_DATA":return Object.assign({},a,b.payload);default:return a}}});var YUa={Cv:!1,yx:!1,Aq:"",kw:""};wA.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.A=this.o=0):this.j.push(a);this.totalLength+=a.length};
wA.prototype.split=function(a){for(var b=new wA,c=new wA,d=_.u(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{fQ:b,pS:c}};wA.prototype.isFocused=function(a){return a>=this.A&&a<this.A+this.j[this.o].length};
wA.prototype.focus=function(a){if(!this.isFocused(a))for(a<this.A&&(this.A=this.o=0);this.A+this.j[this.o].length<=a&&this.o<this.j.length;)this.A+=this.j[this.o].length,this.o+=1};(function(){function a(d){for(var e=new Uint8Array(d.length),f=0;f<d.length;f++)e[f]=d[f];return e}function b(d){return new Uint8Array(d)}var c=new Uint8Array([1]);return c.length===1&&c[0]===1?b:a})();var xA=Array(1024),kra=window.TextDecoder?new TextDecoder:void 0,yA=window.TextEncoder?new TextEncoder:void 0;for(var sra={buttonEntity:358,captionTrack:225,channelHandle:275,commerceAcquisitionClientPayloadEntity:276,commerceCartListEntity:236,continuationTokenEntity:406,downloadQualityPickerEntity:202,downloadsPageRefreshTokenEntity:299,downloadsPageViewConfigurationEntity:264,downloadStatusEntity:141,sfvAudioItemCurrentlyPlayingEntity:186,emojiFountainDataEntity:393,emojiCustomizationSetEntity:496,fakeChannel:2,fakePlaylist:279,fakePlaylistEntryCollection:280,fakeVideo:182,fakeVideoDescription:278,featuredProductsEntity:392,
flowStateEntity:252,iconBadgeEntity:229,interstitialInteractionStateEntity:443,liveChatPollStateEntity:217,liveReactionsDataEntity:503,logoEntity:245,macroMarkerEntity:329,mainDownloadsLibraryEntity:158,mainDownloadsListEntity:164,mainPlaylistDownloadStateEntity:373,mainPlaylistEntity:306,mainPlaylistVideoEntity:368,mainVideoDownloadStateEntity:262,mainVideoEntity:261,markersEngagementPanelSyncEntity:196,markersVisibilityOverrideEntity:312,musicAlbumReleaseDetail:18,musicAlbumReleaseDownloadMetadataEntity:259,
musicAlbumRelease:17,musicAlbumReleaseUserDetail:19,musicArtistDetail:21,musicArtist:20,musicArtistUserDetail:22,musicDownloadsLibraryEntity:257,musicLibraryEdit:121,musicLibraryStatusEntity:318,musicPlaylist:24,musicPlaylistDownloadMetadataEntity:248,musicShare:100,musicTrackDetail:29,musicTrackDownloadMetadataEntity:234,musicTrack:28,musicTrackUserDetail:30,offlineOrchestrationActionWrapperEntity:169,offlineVideoPolicy:130,offlineVideoStreams:198,offlineabilityEntity:246,orchestrationWebSamplingEntity:242,
pageHeaderEntity:495,pdpStateEntity:524,pinnedProductEntity:273,playbackData:119,quantityIncrementerEntity:356,playerStateEntity:323,refresh:148,saveToPlaylistListEntity:231,settingEntity:297,transfer:120,trendingOfferEntity:469,videoDownloadContextEntity:461,videoPlaybackPositionEntity:76,ytMainChannelEntity:152,ytMainDownloadedVideoEntity:155,ytMainVideoEntity:151},rra={},ZUa=_.u(Object.entries(sra)),dT=ZUa.next();!dT.done;dT=ZUa.next()){var $Ua=_.u(dT.value),aVa=$Ua.next().value,bVa=$Ua.next().value,
cVa=aVa,dVa=bVa;dVa&&(rra[dVa]=cVa)};var HA;var yra=!1,JA,KA,LA,MA,NA;_.v(OA,_.xj);
OA.prototype.encrypt=function(a){var b=a.length;a=new Uint8Array(a.buffer.slice(a.byteOffset,a.byteOffset+b));for(var c=this.o,d=0;d<b&&this.j<16;)a[d++]^=c[this.j++];for(var e=b-(b-d)%16;d<e;)Ara(this),a[d++]^=c[0],a[d++]^=c[1],a[d++]^=c[2],a[d++]^=c[3],a[d++]^=c[4],a[d++]^=c[5],a[d++]^=c[6],a[d++]^=c[7],a[d++]^=c[8],a[d++]^=c[9],a[d++]^=c[10],a[d++]^=c[11],a[d++]^=c[12],a[d++]^=c[13],a[d++]^=c[14],a[d++]^=c[15];if(d<b)for(Ara(this),this.j=0;d<b;)a[d++]^=c[this.j++];return a};var eVa=!1;(function(){function a(d){for(var e=new Uint8Array(d.length),f=0;f<d.length;f++)e[f]=d[f];return e}function b(d){return new Uint8Array(d)}var c=new Uint8Array([1]);return c.length===1&&c[0]===1?b:a})();var eT;Bra.prototype.encrypt=function(a,b){var c=this,d,e;return _.z(function(f){if(f.j==1){a:{if(!eVa&&!uja){if(eT){var h=eT;break a}eT=(h=window.crypto)==null?void 0:h.subtle;var k,l,m;if(((k=eT)==null?0:k.importKey)&&((l=eT)==null?0:l.sign)&&((m=eT)==null?0:m.encrypt)){h=eT;break a}eT=void 0}h=void 0}d=h;if(!d)return f.return(Dra(c,a,b));_.xa(f,3);return _.x(f,Cra(c,a,b,d),5)}if(f.j!=3)return f.return(f.o);e=_.Ba(f);_.bv(e);eVa=!0;return f.return(Dra(c,a,b))})};
Era.prototype.encrypt=function(a,b){this.j||(this.j=new OA(this.o));zra(this.j,b);return this.j.encrypt(a)};var fT={},Fra=(fT.INVALID_ENCODER_VERSION="Invalid encoder version",fT.KEY_CREATION_FAILED="Failed to create encoder key",fT.UNKNOWN_DECODE_ERROR="Failed to decode PES data",fT.UNKNOWN_ENCODE_ERROR="Failed to encode PES data",fT.WRONG_DATA_TYPE="Encoder cannot process the data type",fT);_.v(PA,_.oq);_.v(RA,Kra);RA.prototype.A=function(a,b){b=QA(b);a=(new TextEncoder).encode(JSON.stringify(a));return this.j.encrypt(a,b)};RA.prototype.o=function(a,b){if(!(a instanceof Uint8Array))throw Gra(1);var c=new TextDecoder;b=QA(b);a=this.j.encrypt(a,b);return JSON.parse(c.decode(a))};var Mra={buttonEntity:pz,captionTrack:$y,channelHandle:Sx,commerceAcquisitionClientPayloadEntity:sz,commerceCartListEntity:tz,continuationTokenEntity:ny,downloadQualityPickerEntity:cy,downloadsPageRefreshTokenEntity:ey,downloadsPageViewConfigurationEntity:wy,downloadStatusEntity:dy,sfvAudioItemCurrentlyPlayingEntity:hz,emojiFountainDataEntity:nz,emojiCustomizationSetEntity:mz,fakeChannel:Tx,fakePlaylist:Ux,fakePlaylistEntryCollection:Vx,fakeVideo:Xx,fakeVideoDescription:Yx,featuredProductsEntity:By,
flowStateEntity:Zx,iconBadgeEntity:uz,interstitialInteractionStateEntity:ay,liveChatPollStateEntity:by,liveReactionsDataEntity:oz,logoEntity:$x,macroMarkerEntity:xy,mainDownloadsLibraryEntity:fy,mainDownloadsListEntity:gy,mainPlaylistDownloadStateEntity:iy,mainPlaylistEntity:oy,mainPlaylistVideoEntity:py,mainVideoDownloadStateEntity:jy,mainVideoEntity:ty,markersEngagementPanelSyncEntity:yy,markersVisibilityOverrideEntity:zy,musicAlbumReleaseDetail:Jy,musicAlbumReleaseDownloadMetadataEntity:Ey,musicAlbumRelease:Iy,
musicAlbumReleaseUserDetail:Ky,musicArtistDetail:My,musicArtist:Ly,musicArtistUserDetail:Ny,musicDownloadsLibraryEntity:Fy,musicLibraryEdit:Oy,musicLibraryStatusEntity:Py,musicPlaylist:Qy,musicPlaylistDownloadMetadataEntity:Gy,musicShare:Sy,musicTrackDetail:Vy,musicTrackDownloadMetadataEntity:Hy,musicTrack:Ty,musicTrackUserDetail:Zy,offlineOrchestrationActionWrapperEntity:az,offlineVideoPolicy:bz,offlineVideoStreams:cz,offlineabilityEntity:ky,orchestrationWebSamplingEntity:ly,pageHeaderEntity:lz,
pdpStateEntity:vz,pinnedProductEntity:Cy,playbackData:dz,playerStateEntity:Ay,quantityIncrementerEntity:wz,refresh:ez,saveToPlaylistListEntity:iz,settingEntity:jz,transfer:fz,trendingOfferEntity:Dy,videoDownloadContextEntity:gz,videoPlaybackPositionEntity:qz,ytMainChannelEntity:uy,ytMainDownloadedVideoEntity:my,ytMainVideoEntity:vy};_.v(UA,Kra);UA.prototype.A=function(a){return a};UA.prototype.o=function(a){if(a instanceof Uint8Array)throw Gra(0);return a};_.v(VA,_.xj);VA.prototype.observe=function(a){var b=this;this.observers.push(a);return function(){var c=b.observers.indexOf(a);c>=0&&b.observers.splice(c,1)}};VA.prototype.o=function(a){Yra(this,a.data)};VA.prototype.Fa=function(){this.channel.close()};var XA;var fVa=sx({SF:function(a,b){a=a===void 0?!0:a;switch(b.type){case "SET_IS_LEADER_TAB":var c,d;return(d=b==null?void 0:(c=b.payload)==null?void 0:c.SF)!=null?d:a;default:return a}}});var gVa=sx({KF:function(a,b){switch(b.type){case "SET_IS_DESKTOP_SMALL_WIDTH":return b.payload.KF;default:return a===void 0?!1:a}},Vx:function(a,b){switch(b.type){case "SET_IS_SHORTS_ACTIVE":return b.payload.Vx;default:return a===void 0?!1:a}},tG:function(a,b){switch(b.type){case "SET_IS_WATCH_WHILE_MODE":return b.payload.tG;default:return a===void 0?!1:a}},playerState:function(a,b){switch(b.type){case "SET_PLAYER_STATE":return b.payload.playerState;default:return a===void 0?-1:a}},isFullscreen:function(a,
b){switch(b.type){case "SET_IS_FULLSCREEN":return b.payload.isFullscreen;default:return a===void 0?!1:a}},IF:function(a,b){switch(b.type){case "SET_IS_CLEAR_SCREEN":return b.payload.IF;default:return a===void 0?!1:a}}});var hVa={};var iVa=sx({continuationCommand:function(a,b){a=a===void 0?hVa:a;switch(b.type){case "SET_CONTINUATION_COMMAND":return b.payload.continuationCommand;default:return a}}});var jVa;
jVa=sx(Object.assign({},{continuation:iVa,entities:ura,download:fVa,PR:OUa,share:SUa,qS:TUa,fu:function(a,b){a=a===void 0?UUa:a;switch(b.type){case "SET_GUIDE_IS_EXPANDED":return Object.assign({},a,{PE:b.payload});case "SET_SCROLL_AT_TOP":return Object.assign({},a,{AI:b.payload});case "SET_GUIDE_IS_VISIBLE_BUT_NOT_PERSISTENT":return Object.assign({},a,{QE:b.payload});case "SET_MINIPLAYER_IS_ACTIVE":return Object.assign({},a,{dH:b.payload});case "SET_SINGLE_OPTION_SURVEY_IS_ACTIVE":return Object.assign({},a,
{YI:b.payload});case "SET_SLIMLINE_SURVEY_RATING_SELECTED_INDEX":return Object.assign({},a,{dJ:b.payload});case "SET_RICH_GRID_MINI_MODE":return Object.assign({},a,{uI:b.payload});case "SET_RICH_GRID_ITEMS_PER_ROW":return Object.assign({},a,{tI:b.payload});case "SET_RICH_GRID_SLIM_ITEMS_PER_ROW":return Object.assign({},a,{vI:b.payload});case "SET_RICH_GRID_CONTAINER_WIDTH":return Object.assign({},a,{sI:b.payload});case "SET_RICH_GRID_STYLE":return Object.assign({},a,{At:b.payload});case "SET_CURRENT_PAGE_TYPE":return Object.assign({},
a,{Aq:b.payload});case "SET_INLINE_PREVIEW_IS_ACTIVE":return Object.assign({},a,{ej:b.payload});case "SET_INLINE_PREVIEW_IS_ENABLED":return Object.assign({},a,{Gr:b.payload});case "SET_DARK_MODE_IS_ENABLED":return Object.assign({},a,{OD:b.payload});case "SET_MINIPLAYER_PLAYBACK_STATE":return Object.assign({},a,{eH:b.payload});case "SET_TAB_GESTURES_IS_ACTIVE":return Object.assign({},a,{uJ:b.payload});case "SET_ONLINE_STATUS":return Object.assign({},a,{Ae:b.payload});default:return a}},wu:ira,watch:WUa,
DS:XUa,shorts:gVa,radioButtonGroup:function(a,b){a=a===void 0?PUa:a;switch(b.type){case "SET_CURRENT_FORM_ID":return b=b.payload.formId,a.zq===b?a:{zq:b,tq:{}};case "SET_COMMAND_FOR_GROUP_ID":var c=b.payload;b=c.groupId;c=c.command;if(a.zq){var d=Object.assign({},a.tq);d[b]=c;a=Object.assign({},a,{tq:d})}return a;default:return a}}},{Jt:function(a,b){a=a===void 0?YUa:a;switch(b.type){case "SET_SHARED_ANIMATED_THUMBNAIL_ENABLED":return Object.assign({},a,{Cv:b.payload});case "SET_SHARED_INLINE_PREVIEW_ENABLED":return Object.assign({},
a,{yx:b.payload});case "SET_SHARED_CURRENT_PAGE_TYPE":return Object.assign({},a,{Aq:b.payload});case "SET_SHARED_CURRENT_PAGE_SUB_TYPE":return Object.assign({},a,{kw:b.payload});default:return a}}}));_.gT=_.M("web_player_entities_middleware")?new qA(jVa,[era,fra]):new qA(jVa,[era]);var sR;sR=new _.jp("ASYNC_PAGE_REQUEST_TOKEN");_.wPa=new _.jp("PAGE_REQUEST_TOKEN");_.yG=new _.jp("EPHEMERAL_STORE_TOKEN");_.ZA.prototype.isExpired=function(){return Number(this.data.expireTimestampMs||0)<(0,_.Uq)()};var ota=new _.J("parallelCommand");var rta=new _.J("performOnceCommand");var qta=new _.J("serialCommand");var Pta=new _.J("layoutProperties");var NC=new _.J("bracketTextDecorator");_.MC=new _.J("highlightTextDecorator");var Qta=new _.J("imageType");csa.prototype.toString=function(){return this.serviceId.toString()};_.g=dsa.prototype;_.g.contains=function(a){return Object.prototype.hasOwnProperty.call(this.j,a)};_.g.get=function(a){if(this.contains(a))return this.j[a]};_.g.set=function(a,b){this.j[a]=b};_.g.zh=function(){return Object.keys(this.j)};_.g.remove=function(a){delete this.j[a]};aB.prototype.mr=function(a){return a.serviceId.mr()};aB.prototype.get=function(a){var b=this.mappings.get(a.toString());return dB(this,b,a)};
aB.prototype.j=function(){var a=_.Ka.apply(0,arguments),b=this,c=a.map(function(l){return b.mr(l)}),d=a.map(function(l){return b.mappings.get(l.toString())}).filter(function(l){return l});if(d.length===a.length)return _.pj(d.map(function(l,m){return dB(b,l,a[m])}));var e=_.Hm().Nn(c);d=_.rj(c.map(function(l){return e[l]}));var f=document.hidden,h=-1,k=_.wp("get_async_timeout_ms",-1);k>-1&&(h=setTimeout(function(){_.bv(new _.oq("Module timeout.",c,f,document.hidden))},k));return Sca(d.then(function(){return a.map(function(l){return dB(b,
b.mappings.get(l.toString()),l)})}).ii(function(l){for(var m=_.u(b.o),n=m.next();!n.done;n=m.next())n=n.value,n(l);throw l;}),function(){clearTimeout(h)})};_.cB=new aB;var kVa=new _.jp("APP_CONTEXT_TOKEN");var esa=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]);_.fB.prototype.A=function(){var a=this;return _.z(function(b){return b.j==1?_.x(b,Promise.race([a.j,null]),2):b.return(!!b.o)})};
_.fB.prototype.o=function(a,b,c){var d=this,e,f,h;return _.z(function(k){d.j===null&&isa(d,eB(d));e=!1;f={};h=function(){var l,m,n;return _.z(function(p){switch(p.j){case 1:return _.x(p,d.j,2);case 2:l=p.o;f.challenge=l.challenge;if(!l.ud){"c1a"in l.Dm&&(f.error="ATTESTATION_ERROR_VM_NOT_INITIALIZED");p.L(3);break}m=Object.assign({},{c:l.challenge,e:a},b);_.xa(p,4);e=!0;return _.x(p,l.ud.snapshot({Im:m}),6);case 6:(n=p.o)?f.webResponse=n:f.error="ATTESTATION_ERROR_VM_NO_RESPONSE";_.ya(p,3);break;
case 4:_.Ba(p),f.error="ATTESTATION_ERROR_VM_INTERNAL_ERROR";case 3:if(a==="ENGAGEMENT_TYPE_PLAYBACK"){var q=l.Dm,r={};if(q.c6a){var t=Number(_.L("DCLKSTAT",0));r.reportingStatus=String(Number(q.c)^(isNaN(t)?0:t))}q.c6b&&(r.broadSpectrumDetectionResult=String(Number(q.c)^Number(_.L("CATSTAT",0))));f.adblockReporting=r}return p.return(f)}})};return k.return(Promise.race([h(),lsa(c,function(){var l=Object.assign({},f);e&&(l.error="ATTESTATION_ERROR_VM_TIMEOUT");return l})]))})};
_.fB.prototype.kn=function(a){var b=this,c;return _.z(function(d){c=b.B;return!c||c.ld()?d.return(b.network.kn(a)):d.return(new Promise(function(e){c.bl("publicytnetworkstatus-online",function(){b.network.kn(a).then(e)})}))})};var hT={},nsa=(hT.WEB_UNPLUGGED="^unplugged/",hT.WEB_UNPLUGGED_ONBOARDING="^unplugged/",hT.WEB_UNPLUGGED_OPS="^unplugged/",hT.WEB_UNPLUGGED_PUBLIC="^unplugged/",hT.WEB_CREATOR="^creator/",hT.WEB_KIDS="^kids/",hT.WEB_EXPERIMENTS="^experiments/",hT.WEB_MUSIC="^music/",hT.WEB_REMIX="^music/",hT.WEB_MUSIC_EMBEDDED_PLAYER="^music/",hT.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",hT);_.gQ=new _.jp("ASYNC_INNERTUBE_TRANSPORT_TOKEN");_.iT=new _.jp("INNERTUBE_TRANSPORT_TOKEN");psa.prototype.kn=function(a){var b,c;return _.z(function(d){if(d.j==1)return b=_.K().resolve(_.gQ),_.x(d,b(),2);c=d.o;return d.return(c.yc(a,_.gB(_.aT)).then(function(e){return e}))})};_.IC=new _.jp("COMMAND_HANDLER_TOKEN");var lVa=new _.jp("PURCHASE_MANAGER_TOKEN");var UB={};var mVa=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,jT={},tsa=(jT[1]={Nb:null,kc:null,Ub:null},jT[2]={Nb:function(a,b,c){a=c;mSa.test(a)&&(a.indexOf("&")!=-1&&(a=a.replace(gSa,"&amp;")),a.indexOf("<")!=-1&&(a=a.replace(hSa,"&lt;")),a.indexOf(">")!=-1&&(a=a.replace(iSa,"&gt;")),a.indexOf('"')!=-1&&(a=a.replace(jSa,"&quot;")),a.indexOf("'")!=-1&&(a=a.replace(kSa,"&#39;")),a.indexOf("\x00")!=-1&&(a=a.replace(lSa,"&#0;")));return a},kc:function(a){return a instanceof Wh},Ub:function(a){return Xh(a)}},
jT[3]={Nb:function(a,b,c){return mVa.test(c)?c:Fh.toString()},kc:function(a){return a instanceof _.Ah},Ub:function(a){return Bh(a)}},jT[4]={Nb:function(){return Fh.toString()},kc:function(a){return a instanceof wh},Ub:function(a){return _.xh(a).toString()}},jT[5]={Nb:function(){return"zClosurez"},kc:function(a){return a instanceof Vh},Ub:function(a){return a instanceof Vh&&a.constructor===Vh?a.pz:"type_error:SafeStyle"}},jT[7]={Nb:function(){return" /*zClosurez*/ "},kc:function(a){return a instanceof
_.ci},Ub:function(a){return ei(a)}},jT[8]={Nb:function(a,b,c){c=String(c).toLowerCase();a:{var d=null;(a=wTa[a])&&(d=a[b]);if(typeof d!=="number"&&((a=wTa["*"])&&(d=a[b]),typeof d!=="number")){b=!1;break a}b=!0===vTa[d][String(c).toLowerCase()]}return b?c:"zClosurez"},kc:null,Ub:null},jT[10]={Nb:null,kc:null,Ub:null},jT);var nVa,oVa,QCa;To[fn["default"]]=vsa;nVa=ssa(Ro);oVa=ssa(Qo);_.TE=_.M("measure_framework_render")?nVa:Ro;QCa=_.M("measure_framework_render")?oVa:Qo;var pVa,MNa,yua,sF,OO,JIa,XEa,YEa;_.qF=mB("A");_.rF=mB("BUTTON");_.S=mB("DIV");pVa=mB("FORM");_.qVa=mB("H1");_.IO=mB("H2");_.rN=mB("H3");MNa=mB("HEADER");_.rVa=mB("IFRAME");yua=mB("IMG");_.kT=mB("INPUT");sF=mB("LABEL");OO=mB("OPTION");_.lT=mB("P");_.sVa=mB("SECTION");JIa=mB("SELECT");_.bP=mB("SPAN");_.tVa=mB("TEXTAREA");XEa=mB("SVG");YEa=mB("path");var nB=[];var uVa;_.rR=Object.freeze?Object.freeze(Object.create(null)):{};_.vVa=((uVa=window.requestIdleCallback)==null?void 0:uVa.bind(window))||function(a){_.oB(function(){setTimeout(a,500)})};var tB=null,vB={},xB={},LR={};var RQ,wVa,xVa,UOa,QQ;_.zB={};RQ=null;wVa=_.u(_.$o(null));xVa=wVa.next().value;UOa=wVa.next().value;_.AB=null;QQ="";var Bsa="WEB_PAGE_TYPE_ACCOUNTS WEB_PAGE_TYPE_WELCOME WEB_PAGE_TYPE_ACCOUNT_SELECTOR WEB_PAGE_TYPE_SIGN_IN_IDENTIFIER_ENTRY WEB_PAGE_TYPE_SIGN_IN_PASSWORD_ENTRY WEB_PAGE_TYPE_SIGN_IN_DEVICE_PROMPT_CHALLENGE WEB_PAGE_TYPE_UNKNOWN".split(" "),mT={},Csa=(mT.FEwhat_to_watch="home",mT.FEhashtag="hashtag",mT.FEtrending="trending",mT.FEhistory="history",mT.SPunlimited="premium",mT.FEmemberships_and_purchases="paid_memberships",mT.SPredeem_code="redeem",mT.SPverify_location="locate",mT.SPminor_moment="minor_moment",
mT.FEmini_app_container="mini_app",mT.FEnews_destination="news",mT.SPopen_in_app="open_in_app",mT.FEexplore="explore",mT.FEsubscriptions="subscriptions",mT.FEsfv_audio_pivot="sfv_audio_pivot",mT);var Hsa=Math.random()<.01,Msa=null,WB=[];_.nT=_.R("sectionGroupViewModel","F34d4d");_.ZB(_.nT);var eC,tG;_.oT=new _.jp("APP_DIRECTION_TOKEN");_.fC=new _.jp("ICON_RENDERER_TOKEN");eC=new _.jp("ICON_WIZ_COMPONENT_TOKEN");_.LC=new _.jp("DARK_THEME_TOKEN");_.pT=new _.jp("BUTTON_RENDERER_TOKEN");tG=new _.jp("DWELL_DETECTOR_REGISTRY_TOKEN");_.EF=new _.jp("KEY_MANAGER_TOKEN");_.qT=_.T(function(a){a=_.bC(a,{name:"",config:{}});var b=a.name,c=a.config,d=_.K().resolve(_.fC),e=_.K().resolve(_.mp(eC));return _.H(_.O,{C:b},function(){return _.M("mweb_enable_keto_batch_icons")&&e?_.H(e,{name:b,Sp:function(){return c().activeState},className:function(){return c().className},style:function(){return c().style},Cq:function(){return c()["data-selected$"]},Ki:function(){return c()["data-disabled$"]},role:function(){return c().role$},Cr:function(){return c()["icon-state-outline$"]},
Br:function(){return c()["icon-state-filled$"]},Uq:function(){return c()["fill-icon$"]},aq:function(){return c().animateIcon},themeOverride:function(){return c().themeOverride}}):_.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){d(b(),c())})})})});_.qT.U=!0;var hta={};jta("ytAttributedStringLinkHoverColor",{value:"unset !stv-no-inline",unit:"str"});_.v(mta,lta);var nC=void 0;pC.prototype.push=function(a){this.j?this.j(a):this.data.push(a)};_.xta=new pC;var Dta=[YSa,ZSa,$Sa,bTa,aTa,WSa,cTa,eTa];var aua=window.devicePixelRatio||1;var dua=new Map([["yt_outline_bag_black_24","bag"]]);_.dD=new _.jp("SCHEDULER_TOKEN");var TC=window.history,jua=0,kua=0,iua=_.Kb()&&_.SK;var YC=new _.jp("GET_HISTORY_MANAGER_TOKEN");var $C=new _.jp("MWEB_NATIVE_BROWSER_HISTORY_TOKEN");var fD=_.M("mweb_use_new_history_manager"),bD=_.M("mweb_use_new_browser_history"),cD=0;_.gD.prototype.observe=function(a){this.j.includes(a)||this.j.push(a)};_.gD.prototype.unobserve=function(a){this.j=this.j.filter(function(b){return b!==a})};_.gD.prototype.o=function(){var a=this;this.A||(_.oB(function(){nua(a)}),this.A=!0)};_.gD.prototype.disconnect=function(){this.j=[]};var yVa=_.u(_.$o(_.hD())),zVa=yVa.next().value,AVa=yVa.next().value;window.addEventListener("resize",function(){AVa(_.hD())});var pQa,oua,HR,jD,lD;pQa={landscape:"(min-width: 1280px) and (orientation: landscape)",portrait:"(min-width: 550px) and (orientation: portrait)"};oua={landscape:"(min-width: 931px) and (orientation: landscape)",portrait:"(min-width: 550px) and (orientation: portrait)"};HR=void 0;jD=void 0;_.rT=void 0;_.kD=window.innerWidth;lD=window.innerHeight;window.addEventListener("resize",function(){_.rT=jD=HR=void 0});var pua="IntersectionObserver"in window?rua():_.mD()?{observe:function(a){_.oB(function(){var b;(b=a.Us)==null||b.call(a)})},unobserve:function(){}}:new _.gD(.1,function(a){_.oB(function(){var b;(b=a.Us)==null||b.call(a)})});var oD=_.T(function(a){var b=_.Ow();_.Xo(function(){var c,d=(c=a.data)==null?void 0:c.call(a),e;c=(e=a.qn)==null?void 0:e.call(a).jk;var f;e=(f=a.config)==null?void 0:f.call(a);if(f=b.value){for(var h in e)(To[h]||To[fn.default])(f,h,e[h]);var k;uua(f,d||null,c||vua,e,(k=a.lazy)==null?void 0:k.call(a))}});return _.H("img",{el:b})});oD.U=!0;_.yD=_.T(function(a){function b(){var c,d,e,f,h,k,l,m,n,p,q,r,t,w,y,B,A,E,I,G,X,ca,pa,qa;return{contentMode:(c=a.contentMode)==null?void 0:c.call(a),hy:(d=a.hy)==null?void 0:d.call(a),isPreloaded:(e=a.isPreloaded)==null?void 0:e.call(a),xy:(f=a.xy)==null?void 0:f.call(a),Fs:(h=a.Fs)==null?void 0:h.call(a),jt:(k=a.jt)==null?void 0:k.call(a),oc:(l=a.oc)==null?void 0:l.call(a),Yb:(m=a.Yb)==null?void 0:m.call(a),objectPosition:(n=a.objectPosition)==null?void 0:n.call(a),targetWidth:(p=a.targetWidth)==
null?void 0:p.call(a),targetHeight:(q=a.targetHeight)==null?void 0:q.call(a),dA:(r=a.dA)==null?void 0:r.call(a),oi:(t=a.oi)==null?void 0:t.call(a),alt:(w=a.alt)==null?void 0:w.call(a),className:(y=a.className)==null?void 0:y.call(a),onerror:a.onerror,onload:a.onload,style$:((B=a.style$)==null?void 0:B.call(a))||((A=a.style)==null?void 0:A.call(a)),color:(E=a.color)==null?void 0:E.call(a),width:(I=a.width)==null?void 0:I.call(a),height:(G=a.height)==null?void 0:G.call(a),"aria-hidden$":(qa=(X=a["aria-hidden$"])==
null?void 0:X.call(a))!=null?qa:(ca=a.ariaHidden)==null?void 0:ca.call(a),draggable:(pa=a.draggable)==null?void 0:pa.call(a)}}return _.H(_.O,{C:function(){var c=a.data();return c.sources!==void 0?c:_.QC(c)}},function(c){return _.H(_.Vo,null,function(){var d=b(),e;for(e in d)d[e]===void 0&&delete d[e];return _.H(_.Oo,null,function(){var f;_.rD(c(),d,a.callback,(f=a.od)==null?void 0:f.call(a))})})})});var Aua={je:!1,state:"visible"},zua={je:!1,state:"hidden"};var BVa,CVa;BVa=_.tD(_.xD);
CVa=_.T(function(a){var b=_.Wo(function(){var c,d=(c=a.text)==null?void 0:c.call(a);return d?PC(d):void 0});return _.H(_.O,{C:function(){var c;return _.Yo(!0)&&((c=b())==null?void 0:c.content)}},function(){function c(){var e;return((e=a.ariaLabel)==null?void 0:e.call(a))||!b().commandRuns||b().commandRuns.length===0}var d=_.Wo(Eua(a));return _.H("span",{class:function(){return Lta(b(),d())},dir:function(){var e;return((e=a.userInput)==null?0:e.call(a))?"auto":void 0},"aria-label":function(){var e;return c()?
(e=a.ariaLabel)==null?void 0:e.call(a):void 0},role:function(){return c()?"text":void 0}},_.H(_.zw,{each:function(){var e=Rta(b(),d());Tta(e,d());return Xta(b().content,e).Yd}},Dua))})});
_.wD=_.T(function(a){var b=_.aC(a.text),c=Eua(a);return _.H(_.O,{C:function(){var d;return _.Yo(!0)&&b()&&((d=PC(b()))==null?void 0:d.content)}},function(){if(_.M("attr_string_reactive")){var d=Object.assign({},a),e=a.text;d=(delete d.text,d);return _.H(CVa,Object.assign({},{text:e},d))}return _.H(BVa,{data:a.text,config:c})})});_.wD.U=!0;_.DVa=_.T(function(a){function b(){return _.AD(a.data().logo)}var c=_.aC(a.pl,!1),d={};return _.H("upsell-view-model",{class:_.BD("YtUpsellViewModelHost",(d.YtUpsellViewModelHostNoPadding=function(){return c()},d))},_.H("div",{class:"YtUpsellViewModelHostUpsellLogo"},_.H(_.O,{C:b},function(){return _.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){var e=b(),f,h;var k=(h=(f=a.data().logo.accessibilityData)==null?void 0:f.label)!=null?h:"";_.rD(e,{contentMode:"CONTENT_MODE_SCALE_ASPECT_FIT",
alt:k})})})})),_.H("div",{class:"YtUpsellViewModelHostUpsellTitle"},_.H(_.wD,{text:function(){return a.data().title}})),_.H("div",{class:"YtUpsellViewModelHostUpsellSubtitleSection"},_.H(_.zw,{each:function(){var e;return(e=a.data().subtitles)!=null?e:[]},ob:"INDEX"},function(e){return _.H("div",{class:"YtUpsellViewModelHostUpsellSubtitleSectionSubtitle"},_.H(_.wD,{text:e}))})),_.H("div",{class:"YtUpsellViewModelHostUpsellBenefitInfoSection"},_.H(_.zw,{each:function(){var e;return(e=a.data().benefitInfos)!=
null?e:[]},ob:"INDEX"},function(e){return _.H(_.O,{C:function(){return e().info}},function(f){return _.H("div",{class:"YtUpsellViewModelHostUpsellBenefitInfoSectionBenefitInfo"},_.gC("CHECK_CIRCLE_FILLED",{className:"YtUpsellViewModelHostUpsellBenefitInfoSectionIcon"}),_.H(_.wD,{text:f}))})})),_.H("div",{class:"YtUpsellViewModelHostUpsellLegalInfoSection"},_.H(_.zw,{each:function(){var e;return(e=a.data().legalInfos)!=null?e:[]},ob:"INDEX"},function(e){return _.H("div",{class:"YtUpsellViewModelHostUpsellLegalInfoSectionLegalInfo"},
_.H(_.wD,{text:e}))})))});var FD={INIT:0,jO:1,IN:2,uL:3,0:"INIT",1:"START",2:"READY",3:"END"};_.v(_.CD,_.xj);_.CD.prototype.Cd=function(a){var b=this,c;_.z(function(d){if(d.j==1)return a.metadata.externalPostId=b.o,c=a.metadata,_.x(d,Promise.race([b.j.promise,new Promise(function(e){setTimeout(function(){e("")},3E4)})]),2);c.postPlayNonce=d.o;a.metadata.localReleaseId=b.localReleaseId;a.Pn.level="WARNING";_.av(a.Pn,a.Pn.level,void 0,void 0,void 0,void 0,void 0,{miniAppMetadata:a.metadata});_.wa(d)})};
_.CD.prototype.Fa=function(){_.xj.prototype.Fa.call(this);window.clearInterval(this.A);this.A=NaN};KD.prototype.call=function(a){var b=this,c;return _.z(function(d){if(d.j==1){if(a===b.j)return d.return();b.o||(b.o=new _.Uj);c=b.o.promise;b.j=a;return _.x(d,Pua(b),2)}return d.return(c)})};KD.prototype.flush=function(a){a=a===void 0?!1:a;var b=this;return _.z(function(c){return b.j===void 0?c.return():_.x(c,b.B(b.j,a),0)})};var Qua=_.wp("innertube_request_limit_ms",3E3);LD.prototype.flush=function(){var a=this;return _.z(function(b){return _.x(b,a.o.flush(),0)})};LD[_.op]=[_.mp(_.iT),_.mp(_.gQ)];_.sT=new _.jp("INNERTUBE_MANAGER_TOKEN");_.MD.prototype.initialize=function(a){var b=this;this.callbacks=a;window.youtubewebview?window.youtubewebview.onmessage=function(c){Xua(b,c)}:(window.nativeMessageListener={},window.nativeMessageListener.onmessage=function(c){Xua(b,c)})};var Yua=!1,QD,Zua=!1,RD;_.v(UD,_.xj);_.g=UD.prototype;_.g.getId=function(){return this.H};_.g.loadNewVideoConfig=function(a){if(!this.isDisposed()){this.pa&&(clearTimeout(this.pa),this.pa=0);var b=a||{};b instanceof Pz||(b=new Pz(b));this.config=b;this.setConfig(a);cva(this);this.isReady()&&dva(this)}};
_.g.setConfig=function(a){this.sb=a;this.config=hva(a);bva(this);if(!this.xa){var b;this.xa=ZD(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=Efa(Number(b)||b)),(a=a.height)&&this.o&&(this.o.style.height=Efa(Number(a)||a))};_.g.isReady=function(){return this.Na};
_.g.addEventListener=function(a,b){var c=this;this.isDisposed();var d=ZD(this,b);d&&(Qb(this.Ic,a)||this.j[a]||(b=lva(this,a),this.B&&this.B(a,b)),this.O.subscribe(a,d),a==="onReady"&&this.isReady()&&setTimeout(function(){d(c.api)},0))};_.g.removeEventListener=function(a,b){this.isDisposed()||(b=ZD(this,b))&&this.O.unsubscribe(a,b)};_.g.getPlayerType=function(){return this.ha||(VD(this)?"html5":null)};_.g.getLastError=function(){return this.lastError};
_.g.cancel=function(){if(this.W){var a=this.W;WD(this)&&a&&(a=""+eb(a),(a=Iqa[a])&&Ula(a))}clearTimeout(this.Gb);this.ba=!1};_.g.Fa=function(){fva(this);if(this.A&&this.config&&this.A.destroy)try{this.A.destroy()}catch(b){var a=new _.oq("PlayerProxy error during disposal",{error:b});a.level="ERROR";throw a;}this.Ba=null;for(a in this.j)this.j.hasOwnProperty(a)&&delete this.j[a];this.sb=this.config=this.api=null;delete this.targetElement;delete this.o;_.xj.prototype.Fa.call(this)};var aE,$D;_.fE={};aE={};$D="player_uid_"+(Math.random()*1E9>>>0);_.fE.create=function(a,b,c){return nva(a,b,void 0,!0,c)};_.fE.FD=function(a,b,c){return nva(a,c,b,!1)};_.fE.pP=function(){for(var a=_.u(Object.keys(aE)),b=a.next();!b.done;b=a.next())(b=aE[b.value])&&b.cancel()};_.fE.destroy=function(a){if(a=Ti(a))a=$D+"_"+eb(a),(a=aE[a])&&a.dispose()};_.fE.XP=bE;_.fE.YP=function(a){return bE(Ti(a))};_.fE.ZP=function(a){return bE(document.getElementById(a))};dE.prototype.destroy=function(a){(0,_.fE.destroy)(a)};_.ba.Object.defineProperties(dE.prototype,{api:{configurable:!0,enumerable:!0,get:function(){return this.G.promise}}});_.iE={meta:document.getElementById("theme-meta"),container:document.getElementById("app"),player:document.getElementById("player"),Aa:document.getElementById("player-container-id"),Gd:document.getElementById("player-control-container"),ct:document.getElementById("player-endscreen-container"),Uf:document.getElementById("player-shorts-container"),fz:document.getElementById("player-cinematics-container"),zE:document.getElementById("full-screen-content-id")};var mE=null,hE=null,lE=!1,pE=null,Ava=null;var Fva=_.M("mweb_c3_disable_fqdn_client_sign_in_link")?"/signin":"//youtube.com/signin";var Iva=window.location.origin+"/miniapp_cloudsaves",Gva=[400,401],zE=_.wp("cloud_save_game_data_rate_limit_ms",3E3);_.AE.prototype.flush=function(){var a=this;return _.z(function(b){return a.B?_.x(b,a.G.flush(!0),0):b.return()})};new CustomEvent("iframeLoadedForTesting");var EVa=Ex(Cx(1),Ax(1)),tT=Ex(Cx(1),Ax(3));_.g=GE.prototype;_.g.Ed=function(a,b){(b===void 0||b)&&_.bA("yt-mini-app-is-audio-enabled",a)};_.g.gm=function(){this.Ed(!1,!1)};_.g.hm=function(){this.Ed(this.callbacks.Ac(),!1)};_.g.zt=function(){};_.g.Fl=function(){};_.v(IE,GE);_.g=IE.prototype;_.g.Ed=function(a,b){GE.prototype.Ed.call(this,a,b===void 0?!0:b);b=HE;var c=Cx(2),d=new Tpa;a=_.pe(d,1,_.dd(a));a=_.Ze(c,3,Dx,a);b(this,a)};_.g.gm=function(){GE.prototype.gm.call(this);HE(this,Cx(3))};
_.g.hm=function(){GE.prototype.hm.call(this);HE(this,Cx(4))};_.g.zt=function(a){var b=HE,c=Cx(6);var d=Ax(_.re(a,Di,1)?1:2);a=_.re(a,Di,1)?a:null;d=_.Ze(d,5,TS,a);b(this,Ex(c,d))};_.g.Fl=function(a){var b=HE,c=Cx(7);a=_.Ze(c,5,Dx,a);b(this,a)};
_.g.onMessage=function(){var a=this;return mh(Kx,function(b){var c,d,e,f,h,k,l,m,n,p,q,r,t,w,y,B,A,E,I,G,X,ca,pa,qa,ja,Fa,za,wb,ka,oa,Aa,Ra;return _.z(function(la){switch(la.j){case 1:if(!UTa(b.data))return _.bv(Error("qd")),la.return();switch(b.data.getType()){case 8:b.data.hasMetadata()&&(a.sdkVersion.resolve(_.kf(_.nf(b.data,Gx,7,US),1)),clearTimeout(a.j));break;case 6:return la.L(2);case 1:var $a=_.nf(b.data,Vpa,2,US);if($a)switch(_.lf($a,1)){case 1:a.callbacks.onFirstFrameReady();if(_.M("enable_network_request_logging_on_game_events")&&
_.re($a,xx,4)){JE(a,"MINI_APP_SDK_API_FIRST_FRAME_READY",_.Te($a,xx,4));break}JE(a,"MINI_APP_SDK_API_FIRST_FRAME_READY");break;case 2:var jb,lb;(lb=(jb=a.callbacks).ql)==null||lb.call(jb);if(_.M("enable_network_request_logging_on_game_events")&&_.re($a,xx,4)){JE(a,"MINI_APP_SDK_API_GAME_READY",_.Te($a,xx,4));break}JE(a,"MINI_APP_SDK_API_GAME_READY");break;case 3:_.xp("loading_bar_progress_calculation")&&_.te($a,yx,3,TTa)&&a.callbacks.jo(_.nf($a,yx,3,TTa))}return la.return();case 3:return la.L(3);
case 4:return la.L(4);case 2:return la.L(5);case 9:return la.L(6);case 10:return a.callbacks.onClick(),la.return();case 5:return la.L(7);case 11:if(!_.te(b.data,tx,9,US))return la.return();c=_.nf(b.data,tx,9,US);(e=(d=a.callbacks).ao)==null||e.call(d,c);$a=Cx(1);jb=Ax(1);lb=new tx;var Hc=Uint8Array;var Zc=c;var Le=_.se(c,RS,6),Dd=void 0;Dd=Dd===void 0?0:Dd;Zc=df(_.ld(me(Zc,Le)),Dd);Hc=new Hc(Zc|0);lb=Me(lb,5,RS,Kc(Hc,!1,!1));jb=_.Ze(jb,5,TS,lb);gh(b,Ex($a,jb));return la.return();case 12:return la.L(8);
case 13:return la.L(9);default:return la.return()}la.L(0);break;case 2:if(!_.te(b.data,Fx,5,US))return la.return();$a=b.data;jb=_.se($a,US,5);f=($a=qe($a,Fx,jb,!1))?$a:xd(Fx);$a=_.Xe(f,vx,1);h=_.u($a);k=h.next();case 11:if(k.done){la.L(13);break}l=k.value;m=new _.oq;m.level=_.lf(l,2)===1?"WARNING":"ERROR";n=Wva(l.rr());return _.x(la,a.sdkVersion.promise,14);case 14:p={source:n,sdkVersion:la.o};_.hd(me(l,6))!=null?(m.message=l.getMessage(),m.stack=_.kf(l,5),p.sdkErrorType=Xva(_.lf(l,6)),_.hd(me(l,
7))!=null&&(p.sdkApi=Yva(_.lf(l,7)))):m.stack=void 0;r=q=void 0;(r=(q=a.callbacks).onError)==null||r.call(q,{Pn:m,metadata:p});k=h.next();la.L(11);break;case 13:return la.return();case 3:return _.xa(la,15),_.x(la,a.callbacks.onSave(_.kf(_.nf(b.data,ux,4,US),1)),17);case 17:gh(b,EVa);_.ya(la,16);break;case 15:return t=_.Ba(la),w=KE,y=t,B=a.callbacks,A="MINI_APP_SDK_API_SAVE_DATA",_.x(la,a.sdkVersion.promise,18);case 18:w(y,B,A,la.o),gh(b,tT);case 16:return _.x(la,JE(a,"MINI_APP_SDK_API_SAVE_DATA"),
19);case 19:return la.return();case 4:return _.xa(la,20),_.x(la,a.callbacks.onLoad(),22);case 22:E=la.o;$a=Cx(1);jb=Ax(1);lb=new ux;lb=_.rf(lb,1,E);jb=_.Ze(jb,3,TS,lb);gh(b,Ex($a,jb));_.ya(la,21);break;case 20:return I=_.Ba(la),G=KE,X=I,ca=a.callbacks,pa="MINI_APP_SDK_API_LOAD_DATA",_.x(la,a.sdkVersion.promise,23);case 23:G(X,ca,pa,la.o),gh(b,tT);case 21:return _.x(la,JE(a,"MINI_APP_SDK_API_LOAD_DATA"),24);case 24:return la.return();case 5:_.xa(la,25);a.callbacks.vl(_.hf(_.nf(b.data,Ix,3,US),1));
gh(b,Ex(Cx(1),Ax(1)));_.ya(la,26);break;case 25:return qa=_.Ba(la),ja=KE,Fa=qa,za=a.callbacks,wb="MINI_APP_SDK_API_SEND_SCORE",_.x(la,a.sdkVersion.promise,27);case 27:ja(Fa,za,wb,la.o),gh(b,tT);case 26:return _.x(la,JE(a,"MINI_APP_SDK_API_SEND_SCORE"),28);case 28:return la.return();case 6:if(!_.te(b.data,Jx,8,US)){la.L(29);break}return _.x(la,JE(a,Yva(_.lf(_.nf(b.data,Jx,8,US),1))),29);case 29:return la.return();case 7:return $a=Cx(1),jb=Ax(1),lb=a.callbacks.Lk(),jb=Me(jb,4,TS,ud(lb)),gh(b,Ex($a,
jb)),_.x(la,JE(a,"MINI_APP_SDK_API_GET_LANGUAGE"),31);case 31:return la.return();case 8:if(!_.te(b.data,Hx,10,US))return la.return();ka=_.nf(b.data,Hx,10,US);oa=a.callbacks;Aa=oa.mo;return _.x(la,a.sdkVersion.promise,32);case 32:return Aa.call(oa,ka,la.o),la.return();case 9:if(!_.M("enable_multiplayer_sharing_apis"))return gh(b,tT),la.return();$a=b.data;if(ef($a,_.se($a,US,11))==null)return gh(b,Ex(Cx(1),Ax(2))),la.return();Ra=mf(b.data,11,US);a.callbacks.no(Ra);gh(b,EVa);return _.x(la,JE(a,"MINI_APP_SDK_API_SHARE_INVITE_CODE"),
33);case 33:return la.return()}})})};_.v(LE,GE);LE.prototype.Ed=function(a,b){GE.prototype.Ed.call(this,a,b===void 0?!0:b);var c;(c=this.j)==null||c.audio.update(a)};var FVa,Zva;FVa=_.ha(["https://www.gstatic.com/external_hosted/lottie/lottie_light.js"]);Zva=_.Fi(FVa);_.co(_.QE);var bwa=new Map;var awa=!1;_.UE.prototype.M=function(a){this.state||(this.state=a);Object.assign(this.state,a);(0,_.TE)(this.sa,this.ta.bind(this))};_.UE.prototype.ta=function(){var a=this;this.owner.isDisposed?this.wc=qo(function(b){a.owner=b;_.Zm(null,function(){a.render()})},!!_.Ln):Wn(this.owner,function(){_.Zm(null,function(){a.render()})})};(function(){var a=zn;zn=function(b){a==null||a(b);_.oB(function(){for(var c=0;c<b.length;c++)VE(b[c])})}})();_.v(XE,_.UE);XE.lr=function(a){a=a.className;return{className:a?a+" YtLottieComponentHost":"YtLottieComponentHost"}};XE.prototype.Uc=function(){this.name=void 0;var a;(a=this.animation)==null||a.destroy()};
XE.prototype.render=function(){var a=this,b,c,d,e,f,h,k,l,m;return _.z(function(n){if(n.j==1)return b=a.props,c=b.lottiePlayerProps,_.xa(n,2),a.name===c.animationConfig.name?(c.animationRef&&(c.animationRef.lottieEl=a.animation),qn(),n.return()):_.x(n,_.OE?_.OE:_.PE(),4);if(n.j!=2)return d=n.o,a.name=c.animationConfig.name,(e=a.animation)==null||e.destroy(),a.animation=$va(d,a.sa,c),_.ya(n,0);h=f=_.Ba(n);k="LottieComponent error.";h.message&&(k+=" Original description: "+h.message);ev(h,k);_.bv(h);
if((l=c.listeners)==null?0:l.error)(m=c.listeners)==null||m.error(h);_.wa(n)})};XE.tagName="lottie-component";var bF=[],cF=!1;var GVa=_.mwa,HVa=_.T(function(a){function b(){return h().title}function c(){return _.Yo(!!_.xp("loading_bar_progress_calculation"))&&k!==void 0}function d(){return!!h().persistentErrorMessageTitle}function e(){var w;return(w=h()&&t)!=null?w:t=GVa()}function f(){return"transform: scaleX("+(_.Yo(k)||0)+")"}var h=a.data;var k=a.Gg;a=_.u(_.$o(""));var l=a.next().value,m=a.next().value;a=_.u(_.$o(!1));var n=a.next().value,p=a.next().value,q=[],r="mini-app-splash-screen-view-model-wiz__loading-bar-segment "+
(_.xp("loading_bar_progress_calculation")==="latency-motion"?"mini-app-splash-screen-view-model-wiz__loading-bar-segment-latency-motion-animation":_.xp("loading_bar_progress_calculation")==="latency-mood"?"mini-app-splash-screen-view-model-wiz__loading-bar-segment-latency-mood-animation":"mini-app-splash-screen-view-model-wiz__loading-bar-segment-resource-animation"),t=null;_.Xo(function(){var w;h().timeOutMessages&&((w=h().timeOutMessages)==null?0:w.length)&&(t=null,_.owa(q),_.pwa(h().timeOutMessages,
q,m,p))});return _.H("yt-mini-splash-screen-view-model",{class:"mini-app-splash-screen-view-model-wiz"},_.H("div",{class:"mini-app-splash-screen-view-model-wiz__loading-screen",role:"region",tabindex:0},_.H("div",{class:"mini-app-splash-screen-view-model-wiz__background-base"}),_.H("div",{class:"mini-app-splash-screen-view-model-wiz__background-blur",style:function(){var w,y=(w=h().backgroundImage)==null?void 0:w.sources,B;return(y==null?0:y.length)?"background-image: url("+((B=y[0])==null?void 0:
B.url)+")":""}}),_.H("div",{class:"mini-app-splash-screen-view-model-wiz__background-scrim"}),_.H(_.O,{C:function(){return!d()}},function(){var w={};return _.H("div",{class:"mini-app-splash-screen-view-model-wiz__loading-screen-content"},_.H("div",{class:"mini-app-splash-screen-view-model-wiz__loading-icon"},_.H(_.QE,{className:"mini-app-splash-screen-view-model-wiz__loading-icon-animation",animationName:function(){return"loading_animation_"+e()},lottiePlayerProps:function(){return{animationConfig:_.nwa(e())}}})),
_.H("div",{class:"mini-app-splash-screen-view-model-wiz__timeout-message-container"},_.H(_.O,{C:b},function(){return _.H("h3",{class:"mini-app-splash-screen-view-model-wiz__timeout-heading"},b)}),_.H("p",{class:_.BD("mini-app-splash-screen-view-model-wiz__timeout-message",(w["mini-app-splash-screen-view-model-wiz__timeout-message-fade-out"]=function(){return n()},w)),"aria-live":"polite"},l),_.H(_.O,{C:c},function(){return _.H("div",{class:"mini-app-splash-screen-view-model-wiz__loading-bar-track"},
_.H("div",{class:r,style:f}))})))}),_.H(_.O,{C:d},function(){return _.H("div",{class:"mini-app-splash-screen-view-model-wiz__persistent-error-content"},_.H("h3",{class:"mini-app-splash-screen-view-model-wiz__persistent-error-message-title"},function(){return h().persistentErrorMessageTitle}),_.H(_.O,{C:function(){return!!h().persistentErrorMessageDescription}},function(){return _.H("p",{class:"mini-app-splash-screen-view-model-wiz__persistent-error-message-description"},function(){return h().persistentErrorMessageDescription})}))})))});var QF=new _.jp("SCREEN_MANAGER_TOKEN");_.SF=new _.jp("SHARE_CLIENT_PARAMS_PROVIDER_TOKEN");_.nF=_.T(function(a){function b(){var y;return(y=f().title$)!=null?y:q==null?void 0:q()}function c(){var y;return(y=f()["aria-label$"])!=null?y:n==null?void 0:n()}function d(){return(p==null?0:p())?p():(l==null?0:l())?"pointer-events:none":""}function e(){var y;return(y=f().className)!=null?y:k==null?void 0:k()}var f=a.vb;var h=a.children;var k=a.className;var l=a.disabled;var m=a.ariaPressed;var n=a.ariaLabel;var p=a.style;var q=a.title;var r=_.Ow();_.Xo(function(){r.value._data=f()._data;r.value.params=
f().params});a=_.P(function(y){var B,A;(A=(B=f()).onpointerdown)==null||A.call(B,y);return!0});var t=_.P(function(y){var B,A;(A=(B=f()).onclick)==null||A.call(B,y);return!0}),w=_.no(function(y){y.append("class",_.cC(function(){return!!e()},e));y.append("style",_.cC(function(){return!!d()},d));y.append("aria-haspopup",_.cC(function(){return!!f()["aria-haspopup$"]},function(){return f()["aria-haspopup$"]}));y.append("force-new-state",_.cC(function(){return!!f()["force-new-state$"]},function(){return f()["force-new-state$"]}));
y.append("role",_.cC(function(){return!!f().role$},function(){return f().role$}));y.append("target",_.cC(function(){return!!f().target$},function(){return f().target$}));y.append("title",_.cC(function(){return!!b()},b));y.append("aria-hidden",_.cC(function(){return!!f()["aria-hidden$"]},function(){return f()["aria-hidden$"]}));y.append("aria-label",_.cC(function(){return!!c()},c));y.append("aria-pressed",_.cC(function(){return!(m==null||!m())},m));y.append("dir",_.cC(function(){return!!f().dir},function(){return f().dir}));
y.append("tabindex",_.cC(function(){return!!f().tabindex$},function(){return f().tabindex$}))});return _.H("a",Object.assign({},{el:r,href:function(){return f().href$},rel:function(){return f().rel$},"on:pointerdown":a,"on:click":t},w),h)});_.nF.U=!0;eF.prototype.play=function(){var a,b;(b=(a=this.j).play)==null||b.call(a);var c,d;(d=(c=this.o).play)==null||d.call(c)};eF.prototype.cancel=function(){var a,b;(b=(a=this.j).cancel)==null||b.call(a);var c,d;(d=(c=this.o).cancel)==null||d.call(c)};_.iF=_.T(function(a){function b(){var B;(B=t)==null||B.cancel()}function c(){var B;(B=t)==null||B.cancel()}function d(){t||typeof Animation!=="function"||(t=new eF(n.value,m.value));var B;(B=t)==null||B.play()}var e=a.model;var f=a.ft;var h=a.ht;var k=a.gt;a=_.Ow();var l=_.gF({"border-radius":function(){return e().borderRadius}}),m=_.Ow(),n=_.Ow(),p=_.u(_.fF(function(){return(h==null?0:h())||(k==null?0:k())?_.Yo(!1):!(f==null||!f())||_.Yo(!1)})),q=p.next().value,r=p.next().value,t=void 0;_.Xo(function(){(h==
null?0:h())&&d()});_.Xo(function(){(f==null?0:f())&&c()});_.Xo(function(){(k==null?0:k())&&b()});p=_.P(function(){d();r(!1)});var w=_.P(function(){c();r(!0)});_.Qw(a,"pointerleave",function(){b();r(!1)});var y={};q=_.BD("yt-spec-touch-feedback-shape",function(){return qwa(e().color)},(y["yt-spec-touch-feedback-shape--focused"]=function(){return!!e().focused&&!e().disabled},y["yt-spec-touch-feedback-shape--circular"]=function(){return!!e().qq},y["yt-spec-touch-feedback-shape--is-extended"]=function(){return!!e().isExtended},
y["yt-spec-touch-feedback-shape--down"]=q,y["yt-spec-touch-feedback-shape--trigger-events"]=function(){return!!e().VJ},y));return _.H("yt-touch-feedback-shape",{el:a,class:q,style:_.gF({"margin-top":function(){return e().mw?"-"+e().mw+"px":void 0}}),"on:mousedown":w,"on:mouseup":p,"on:touchstart":w,"on:touchend":p,"aria-hidden":!0},_.H("div",{class:"yt-spec-touch-feedback-shape__stroke",style:l,el:m}),_.H("div",{class:"yt-spec-touch-feedback-shape__fill",style:l,el:n}))});_.iF.U=!0;_.v(hF,_.UE);hF.prototype.Fd=function(){this.sa.style.borderRadius="inherit"};
hF.prototype.render=function(){var a=this,b=this.props.model,c=b.disabled,d=b.focused,e=b.borderRadius,f=b.qq,h=b.isExtended;b=b.color;var k={};c=(k["yt-spec-touch-feedback-shape"]=!0,k["yt-spec-touch-feedback-shape--focused"]=!!d&&!c,k["yt-spec-touch-feedback-shape--circular"]=!!f,k["yt-spec-touch-feedback-shape--is-extended"]=!!h,k["yt-spec-touch-feedback-shape--down"]=!!this.state.Vm,k[rwa(b)]=!0,k);(0,_.S)({className:_.ME(c),onmousedown:this.A,onmouseup:this.B,ontouchstart:this.A,ontouchend:this.B,
onpointerleave:this.J,"aria-hidden$":!0},function(){var l=e?{borderRadius:e}:void 0;(0,_.S)({className:"yt-spec-touch-feedback-shape__stroke",style:l},function(m){a.G=m});(0,_.S)({className:"yt-spec-touch-feedback-shape__fill",style:l},function(m){a.o=m})})};hF.tagName="yt-touch-feedback-shape";_.kF(_.oF,{callbacks:{icon:!0,secondaryIcon:!0}});var Dwa={duration:1E3,easing:"ease",fill:"forwards"};_.GF=_.T(function(a){function b(){if(e().iconName){var y,B={activeState:(k==null?0:k())?!1:d().toggled,animateIcon:h==null?void 0:(y=h())==null?void 0:y.animateIcon};B.style$="height:"+c()+"px; width:"+c()+"px;";_.K().resolve(_.fC)(e().iconName||null,B)}else(y=e().iconImage)&&_.rD({sources:[y]},{alt:"",targetWidth:c(),targetHeight:c(),Yb:!0,oc:!0})}function c(){return _.pF(d(),!!e().iconName)}function d(){var y=wF(e(),void 0,l==null?void 0:l(),m==null?void 0:m(),p);y.focused=t();return y}var e=a.data;
var f=a.className;var h=a.style;var k=a.useOutlinedIcon;var l=a.buttonOverrides;var m=a.oh;var n=a.onClick;var p=_.Ow();a=_.u(_.$o(!1));var q=a.next().value,r=a.next().value,t=q;a=_.P(function(){var y=_.K().resolve(_.mp(_.EF));y&&r(y.Kh())});q=_.P(function(y){n==null||n(y);return!0});var w=_.P(function(){r(!1)});_.Xo(function(){var y=_.N(e().onVisible,_.mC);y&&BC(y,{Eq:!0})});_.Jw(function(){_.SE(_.M("kevlar_enable_keto_batch_button_view_model_log"));_.M("web_update_flexible_buttons_after_renderidom")&&
p.value.dispatchEvent(new CustomEvent("yt-renderidom-finished",{bubbles:!0,cancelable:!1,composed:!0}))});return _.H("button-view-model",{el:p,class:function(){var y={};return _.ME(f==null?void 0:f(),(y["yt-spec-button-view-model"]=!_.M("mweb_enable_keto_batch_b1")||!(f==null?0:f()),y))},"on:focusin":a,"on:focusout":w,"on:click":q},_.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){_.tF(d(),b)})}))});_.GF.U={callbacks:{onClick:!0}};var IVa=zn;zn=function(a){function b(c){if(c){var d,e;(d=c.mm)==null||(e=d.Te)==null||e.call(d);for(d=0;d<c.childNodes.length;d++)b(c.childNodes[d])}}IVa==null||IVa(a);_.oB(function(){for(var c=0;c<a.length;c++)b(a[c])})};_.v(FF,_.UE);FF.prototype.Fd=function(){this.sa.addEventListener("focusin",this.j);this.sa.addEventListener("focusout",this.o)};FF.prototype.Uc=function(){this.sa.removeEventListener("focusin",this.j);this.sa.removeEventListener("focusout",this.o)};
FF.prototype.render=function(){var a=this,b=this.props,c=b.data,d=b.config,e=c.iconName,f=_.K().resolve(_.fC),h=wF(c,this.sa,d==null?void 0:d.buttonOverrides,d==null?void 0:d.oh);h.focused=this.state.focused;var k=_.pF(h,!!c.iconName);_.tF(h,function(){if(e){var l,m,n={activeState:((l=a.props.config)==null?0:l.useOutlinedIcon)?!1:h.toggled,animateIcon:d==null?void 0:(m=d.style)==null?void 0:m.animateIcon,style$:"height:"+k+"px; width:"+k+"px;"};f(e,n)}else(l=c.iconImage)&&_.rD({sources:[l]},{alt:"",
targetWidth:k,targetHeight:k,Yb:!0,oc:!0})})};FF.lr=function(a){var b={};b=(b["yt-spec-button-view-model"]=!_.M("mweb_enable_keto_batch_b1"),b);a=a||{};a=a.config===void 0?{}:a.config;a.className=a.className?a.className+" "+_.ME(b):"yt-spec-button-view-model";return a};FF.tagName="button-view-model";_.uT=_.T(function(a){a=_.bC(a,{config:void 0});var b=a.data,c=a.config;return _.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){return void _.HF(b(),c())})})});var Qwa=new _.jp("RENDERER_STAMPER_OPTIONS_TOKEN");var KF=null;_.co(JF);var Uwa=new _.jp("ASYNC_COMPONENT_RESOLVER"),Twa=new Map;_.co(_.NF);var JVa={buttonViewModel:_.uT},KVa=_.T(function(a){function b(){var q;return(h==null?void 0:h())||((q=d())==null?void 0:q.title)||""}function c(){var q;return(f==null?void 0:f())||Number(e==null?void 0:(q=e())==null?void 0:q.lastScore)||0}function d(){var q;return _.N(e==null?void 0:(q=e())==null?void 0:q.buttonViewModel,_.OF)}var e=a.data;var f=a.score;var h=a.Ff;var k=a.Uh;var l=a.isEmbeddedInWebview;var m=_.Ow(),n,p=1;if(a=(new URLSearchParams(_.sB().search)).get("deviceTextZoomSetting"))a=Number(a),
p=isNaN(a)?1:a/100;_.Xo(function(){k==null||k(c());var q,r=_.M("enable_score_challenge")?Ywa(_.oC((q=d())==null?void 0:q.onTap)):void 0;r&&(r.score=b())});a=_.P(function(){var q,r,t=e==null?void 0:(q=e())==null?void 0:(r=q.loggingDirectives)==null?void 0:r.trackingParams;t&&sw(_.K().resolve(QF),t)});_.Jw(function(){if(m.value){var q=m.value.querySelector("button"),r=d();q&&r&&_.zF(q,r);PF()&&_.Sw("yt-share-playable-with-high-score",function(){Zwa({highScore:c().toString(),command:e==null?void 0:e().onShareHighScoreCommand,
Zy:e==null?void 0:e().highScoreShareClientParamIdentifier,isEmbeddedInWebview:l==null?void 0:l()})})}});return _.H("yt-mini-app-score-button-view-model",{class:function(){var q={};return _.ME("mini-app-score-button-view-model-wiz",(q["mini-app-score-button-view-model-wiz--is-visible"]=c()!==0,q))},el:m,"on:click":a},_.Km(!1,function(){return _.H("span",{style:"display:none;"},c)}),_.H(_.NF,{data:function(){var q;return e==null?void 0:(q=e())==null?void 0:q.buttonViewModel},mapping:JVa,Y:{buttonViewModel:{config:function(){var q=
d();q&&(f==null?0:f())&&q.accessibilityText&&(q.accessibilityText=q.accessibilityText.replace(n,b()));n=b();return{oh:{numberValue:c(),Dd:b(),heightPx:36,er:p,eb:!(f==null||!f())&&!0}}}}}}))});var LVa,MVa;_.vT=new _.jp("STATE_STORE_TOKEN");LVa=new _.jp("SELECT_TOKEN");MVa=new _.jp("DISPATCH_TOKEN");var VF={KE:function(){var a;return(a=_.K().resolve(_.mp(LVa)))!=null?a:bxa},GE:function(){var a;return(a=_.K().resolve(_.mp(MVa)))!=null?a:_.TF().dispatch.bind(_.TF())},DE:function(){return _.K().resolve(_.vT)}},UF;var ZF;_.v($F,_.UE);$F.prototype.ge=function(a){var b,c,d,e;if(this.state.isToggled!==a.data.isToggled||this.props.data.isToggled!==a.data.isToggled||((b=a.qh)==null?void 0:b.toggled)!==void 0&&this.state.isToggled!==((c=a.qh)==null?void 0:c.toggled)||((d=this.props.Bi)==null?void 0:d.eb)!==((e=a.Bi)==null?void 0:e.eb)){var f,h,k;this.M({isToggled:(k=(f=a.qh)==null?void 0:f.toggled)!=null?k:a.data.isToggled,eb:(h=a.Bi)==null?void 0:h.eb})}};
$F.prototype.Fd=function(){fxa(this);this.sa.addEventListener("focusin",this.o);this.sa.addEventListener("focusout",this.A)};$F.prototype.Uc=function(){this.sa.removeEventListener("focusin",this.o);this.sa.removeEventListener("focusout",this.A)};
$F.prototype.render=function(){var a=this.props,b=a.data;a=a.config;var c=Object.assign({},a==null?void 0:a.buttonOverrides,this.props.qh,{onToggle:this.onToggle,toggleable:!0,toggled:this.state.isToggled,focused:this.state.focused});a=Object.assign({},a,{buttonOverrides:c});if(this.state.isToggled&&b.toggledButtonViewModel){if(b=this.j(b.toggledButtonViewModel))this.props.bq&&(this.props.bq.eb=this.state.eb),a.oh=this.props.bq,_.HF(b,a)}else b.defaultButtonViewModel&&(b=this.j(b.defaultButtonViewModel))&&
(this.props.Bi&&(this.props.Bi.eb=this.state.eb),a.oh=this.props.Bi,_.HF(b,a))};$F.tagName="toggle-button-view-model";var NVa=_.T(function(a){a=_.bC(a,{config:void 0,qh:void 0,Bk:!1});var b=a.data,c=a.config,d=a.qh,e=a.Bk;return _.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){return void _.aG(b(),c(),d(),void 0,void 0,e())})})});var wT;wT={toggleButtonViewModel:NVa,buttonViewModel:_.uT,miniAppScoreButtonViewModel:KVa};
_.xT=_.T(function(a){var b=_.M("enable_playable_container_save_button"),c=_.M("enable_play_next_destination_page_in_toolbar"),d={};d=_.BD("yt-mini-app-top-bar-view-model",(d["yt-mini-app-top-bar-view-model--mobile"]=!0,d["yt-mini-app-top-bar-view-model--desktop"]=!1,d));return _.H("ytm-mini-app-top-bar-view-model",null,_.H("div",{class:d},_.H("div",{class:"yt-mini-app-top-bar-view-model__start-buttons"},_.H(_.NF,{data:function(){return a.data().backButton},mapping:wT}),_.H(_.O,{C:function(){return a.data().viewAllButton&&
!1}},function(){return _.H(_.NF,{data:function(){return a.data().viewAllButton},mapping:wT})})),_.H(_.O,{C:function(){return a.data().highScoreButton}},function(){return _.H("div",{class:"yt-mini-app-top-bar-view-model__high-score-button"},_.H(_.NF,{data:function(){return a.data().highScoreButton},mapping:wT,Y:{miniAppScoreButtonViewModel:{score:a.score,Ff:a.Ff,Uh:a.Uh,isEmbeddedInWebview:a.isEmbeddedInWebview}}}))}),_.H("div",{class:"yt-mini-app-top-bar-view-model__end-buttons"},_.H(_.NF,{data:function(){var e=
_.N(a.data().muteButton,_.ZS),f,h;return{toggleButtonViewModel:Object.assign({},e,{isToggled:(h=(f=a.Ac)==null?void 0:f.call(a))!=null?h:!0})}},mapping:wT,Y:{toggleButtonViewModel:{config:{onToggle:a.Ed,useOutlinedIcon:!0}}}}),_.H(_.O,{C:function(){return _.Yo(!navigator.userAgent.includes("CriOS"))}},function(){return _.H(_.NF,{data:function(){return a.data().fullscreenButton},mapping:wT})}),_.H(_.O,{C:function(){return _.Yo(c)&&a.data().viewAllButton&&!0}},function(){return _.H(_.NF,{data:function(){return a.data().viewAllButton},
mapping:wT})}),_.H(_.O,{C:function(){return _.Yo(b)&&a.data().saveButton}},function(){return _.H(_.NF,{data:function(){var e=_.N(a.data().saveButton,_.ZS),f,h;return{toggleButtonViewModel:Object.assign({},e,{isToggled:(h=(f=a.isSaved)==null?void 0:f.call(a))!=null?h:e==null?void 0:e.isToggled})}},mapping:wT,Y:{toggleButtonViewModel:{config:{onToggle:a.ko}}}})}),_.H(_.NF,{data:function(){return a.data().menuButton},mapping:wT}))))});_.xT.U=!0;_.OVa=window.LO||"en-US";var PVa;PVa={miniAppTopBarViewModel:_.xT,miniAppSplashScreenViewModel:HVa};
_.QVa=_.T(function(a){function b(Ca){Ca&&_.CE(Ca,ka().isEmbeddedInWebview||!1)}function c(){Ed.forEach(function(Ca){_.Nj(Ca)});window.removeEventListener("beforeunload",wb,{capture:!0})}function d(){Ed=[];Ed.push(_.Hj(window,"visibilitychange",function(){_.M("disable_visibility_resume_during_dialogs")&&fl||(document.visibilityState==="visible"?pa():qa())}));Ed.push(_.Hj(window,"pagehide",function(){ja()}));Ed.push(_.Hj(window,"blur",function(){setTimeout(function(){document.activeElement instanceof
HTMLIFrameElement&&Hf.value.dispatchEvent(new Event("tap"))},0)}));Ed.push(_.Hj(Hf.value,"pointerdown",function(){_.ID(lb,!1)},!0));Ed.push(_.Hj(Hf.value,"pause",function(){fl=!0;qa()}));Ed.push(_.Hj(Hf.value,"play",function(){fl=!1;pa()}));Ed.push(_.Hj(Hf.value,"exit",function(){ja()}));var Ca=navigator.keyboard,yb=Ca&&Ca.lock;la?Ed.push(_.Hj(window,_.PS,function(){if(_.mx()){for(var Fb=_.u(Hf.value.getElementsByClassName("yt-mini-app-container-view-model__content")),cc=Fb.next();!cc.done;cc=Fb.next())cc.value.classList.add("yt-mini-app-container-view-model__content--fullscreen");
yb&&Ca.lock(["Escape"])}else{Fb=_.u(Hf.value.getElementsByClassName("yt-mini-app-container-view-model__content"));for(cc=Fb.next();!cc.done;cc=Fb.next())cc.value.classList.remove("yt-mini-app-container-view-model__content--fullscreen");yb&&Ca.unlock()}})):yb&&Ed.push(_.Hj(window,_.PS,function(){_.mx()?Ca.lock(["Escape"]):Ca.unlock()}));ka().showMultiplayer3pConsentDialogCommand&&Ed.push(_.Hj(window,"yt-playables-ack-3p-data-usage",function(){Uy.set("multiplayer-3p-ack-state","true",15552E3)}))}function e(){var Ca=
{};Ca=_.BD("yt-mini-app-container-view-model__loading-screen",(Ca["yt-mini-app-container-view-model__loading-screen--fade-out"]=Zs,Ca));return _.H("div",{class:Ca},_.H(_.NF,{data:function(){return ka().splashScreen},mapping:PVa,Y:{miniAppSplashScreenViewModel:{Gg:function(){return $a?Zs()?1:il():void 0}}}}))}function f(){var Ca=ka().url;if(Ca&&(Ca=_.os(Ca),Ca!==null))return ka().source&&ka().source==="MINI_APP_SOURCE_GAMESNACKS"&&(Ca=_.Gi(Ca,new Map([["origin",window.location.origin],["cloudSave",
"true"]]))),Ca}function h(Ca,yb){yb=yb===void 0?!1:yb;var Fb=f();Fb&&(yb||Fb.toString()!==Ca.getAttribute("src"))&&(Dd=_.Vva(ka().source,{Ac:GI,onFirstFrameReady:G,ql:I,onSave:E,onLoad:A,onError:B,lo:y,mo:w,onClick:t,vl:r,ao:q,Lk:p,no:n,jo:m},Ca,Fb),_.Gj(Ca,"load",function(){_.GD(lb,"ma_il");_.Gj(Ca,"load",function(){h(Ca,!0)})}),Ca.src=_.xh(Fb).toString())}function k(){return _.H("iframe",{class:"yt-mini-app-container-view-model__iframe",sandbox:"allow-scripts allow-same-origin allow-pointer-lock",
allow:"autoplay",tabindex:function(){return Zs()?0:-1},el:$s})}function l(){var Ca,yb;((Ca=_.$b())==null?void 0:(yb=Ca.wakeLock)==null?void 0:yb.request)!=null&&_.$b().wakeLock.request("screen").then(function(Fb){Xa=Fb}).catch(function(){})}function m(Ca){Ys+=_.gf(Ca,3);$a==="logarithmic"?bn(Math.min(Math.log(1+Ys/15E6*9)/Math.log(10),.99)):$a==="linear"?bn(Math.min(Ys/15E6,.99)):($a==="latency-mood"||$a==="latency-motion")&&bn(1)}function n(Ca){var yb=ka().onShareInviteCodeCommand;if(yb)if(ka().isEmbeddedInWebview){var Fb=
new _.kz;Ca=_.rf(Fb,1,Ca);_.EE(yb,Ca.j())}else Fb=ka().inviteCodeShareClientParamIdentifier,Lj.clientParams.set(Fb,{miniAppClientParams:{inviteCode:Ca}}),b(yb)}function p(){var Ca=new URLSearchParams(_.sB().search);if(ka().isEmbeddedInWebview&&Ca&&Ca.get("override_hl")==="true"&&Ca.get("hl"))return Ca.get("hl");Ca=document.documentElement.lang;return Ca!==""?Ca:_.OVa}function q(Ca){var yb=ka().onBenchmarkingMessageReceivedCommand;if(yb){var Fb=_.DE();_.Ze(Ca,3,_.SS,Fb);_.EE(yb,Ca.j())}}function r(Ca){var yb,
Fb,cc,ke,Xf,up,Xy;return _.z(function(jl){if(jl.j==1)return Zc&&(!Le||Le<Ca)?_.x(jl,_.Tua(Zc,Ca),3):jl.L(0);yb=jl.o;Fb=_.u(yb);cc=Fb.next().value;ke=Fb.next().value;Xf=cc;up=ke;((Xy=Xf)==null?0:Xy.displayString)&&up&&(II(up),Wy(Xf.displayString));_.wa(jl)})}function t(){!oa&&ka().isEmbeddedInWebview||_.nt();_.ID(lb,!0)}function w(Ca,yb){_.Oua(lb,Ca,yb)}function y(Ca,yb,Fb){_.Mua(lb,Ca,yb,Fb)}function B(Ca){lb.Cd(Ca)}function A(){var Ca,yb;return _.z(function(Fb){if(Fb.j==1)return _.xa(Fb,2),_.x(Fb,
_.Nva(Hc),4);if(Fb.j!=2)return Ca=Fb.o,Fb.return(Ca);yb=_.Ba(Fb);b(ka().showLoadingErrorDialogCommand);throw yb;})}function E(Ca){var yb;return _.z(function(Fb){if(Fb.j==1)return _.xa(Fb,2),_.x(Fb,_.Ova(Hc,Ca),4);if(Fb.j!=2)return _.ya(Fb,0);yb=_.Ba(Fb);b(ka().showSavingErrorPopupCommand);throw yb;})}function I(){var Ca=lb;Ca.B=!0;_.GD(Ca,"ma_gr")}function G(){var Ca,yb,Fb;return _.z(function(cc){if(cc.j==1){if(Aa&&!je)return cc.return();if(Ra&&(Ca=(new URL(_.sB().href)).searchParams,Ca.has("invite_code"))){var ke=
new wx,Xf=Ca.get("invite_code");yb=_.rf(ke,1,Xf);(Fb=Dd)==null||Fb.Fl(yb)}Zs()||(HI(!0),_.Iua(lb));return _.x(cc,gl.promise,2)}b(ka().onMiniAppReadyCommand);document.activeElement instanceof HTMLIFrameElement&&document.activeElement.blur();ka().isEmbeddedInWebview||X();_.wa(cc)})}function X(Ca){if(ka().showMultiplayer3pConsentDialogCommand){if(ka().isEmbeddedInWebview||Ca!==void 0)ka().isEmbeddedInWebview&&gl.resolve(Ca);else{var yb;Ca=!((yb=Uy.get("multiplayer-3p-ack-state"))==null||!yb)}!Ca&&_.QB()&&
b(ka().showMultiplayer3pConsentDialogCommand)}}function ca(Ca){var yb;(yb=Dd)==null||yb.Ed(Ca);RV(Ca)}function pa(){var Ca;(Ca=Dd)==null||Ca.hm();l();_.Kua(lb)}function qa(){var Ca;(Ca=Dd)==null||Ca.gm();Xa&&Xa.release();Hc.flush().catch(function(yb){_.bv(yb)});Zc.flush().catch(function(yb){_.bv(yb)});_.Jua(lb)}function ja(){if(!Aa||je)Rb&&_.qm(document.body,"background-color",Rb),Xa&&Xa.release(),Hc.flush().catch(function(Ca){_.bv(Ca)}),Zc.flush().catch(function(Ca){_.bv(Ca)}),_.Lua(lb),c(),Dd=void 0,
Aa&&(je=!1),_.wza(Lj)}function Fa(){var Ca=ka().playableId,yb=ka().localReleaseId,Fb=ka().derivedDeviceInterface;je?_.bv(new _.oq("[MiniAppContainerViewModel] onEnter was called more than once")):(je=!0,lb=new _.CD(Ca,yb,Fb,document.visibilityState==="visible"),_.Hua(lb),Hc=new _.AE(Ca),_.Sua(Zc,Ca),_.Kq()&&(Rb=document.body.style.backgroundColor,_.qm(document.body,"background-color","black")),d(),l(),ka().title&&(document.title=ka().title),gl=new _.Uj,ka().isEmbeddedInWebview?(_.M("enable_ppn_query_param")&&
(Ca=(new URLSearchParams(_.sB().search)).get("postPlayNonce"))&&(_.DD(lb,Ca),Xs=!0),jb.initialize({wj:function(cc){ca(cc)},onExit:function(){},Ky:function(cc){Xs||(_.DD(lb,cc),Xs=!0)},cw:function(){var cc;return _.z(function(ke){if(ke.j==1)return ka().confirmExitMiniAppCommand?_.x(ke,Promise.race([gl.promise,Promise.resolve(!1)]),2):ke.return();(cc=ke.o)?b(ka().confirmExitMiniAppCommand):b(ka().closeMiniAppCommand);_.wa(ke)})},io:function(cc){cc=(0,_.STa)(_.fc(cc));if(_.te(cc,_.Ci,3,_.SS)){var ke=
_.Uva(_.nf(cc,_.Ci,3,_.SS));_.Ye(cc,1,ke)}var Xf;(Xf=Dd)==null||Xf.zt(cc)},oy:function(cc){X(cc)},Iy:function(){b(ka().onNavigateToNewMiniAppCommand)},fo:function(cc){if(cc=_.FE(cc)){var ke;(ke=Dd)==null||ke.Fl(cc)}}}),ka().showMultiplayer3pConsentDialogCommand||gl.resolve(!0),b(ka().onContainerReadyCommand)):(_.DD(lb),Uy=_.jA("yt-mini-app-"+Ca),gl.resolve(!0)),_.Mva(Hc,_.ED(lb)),_.ED(lb).then(function(cc){cc={miniAppPlayData:{postPlayNonce:cc}};var ke,Xf=(ke=ka().loggingDirectives)==null?void 0:
ke.trackingParams;Xf&&_.dw().stateChanged(Xf,cc)}),Ca=ka().showSignInDialogCommand,!_.yE()&&Ca&&(_.bA("yt-mini-app-has-shown-sign-in-dialog",!0),b(Ca)))}function za(){return ka().isEmbeddedInWebview}function wb(Ca){Ca.preventDefault();return Ca.returnValue=""}var ka=a.data;var oa=_.M("force_active_time_logging_webview"),Aa=_.M("skip_logs_after_end_event"),Ra=_.M("enable_multiplayer_sharing_apis"),la=_.M("enable_playables_fullscreen_refactor"),$a=_.xp("loading_bar_progress_calculation"),jb=new _.MD,
lb=void 0,Hc=void 0,Zc=_.K().resolve(_.sT),Le=void 0,Dd=void 0,Ed=[],Xa=void 0,Rb=void 0,je=!1,fl=!1,Kj=!1,gl=new _.Uj,Lj=_.K().resolve(_.SF),Uy=void 0,Xs=!1,Ys=0,Xd;a=_.u(_.$o(!((Xd=_.cA("yt-mini-app-is-audio-enabled"))!=null&&!Xd)));var GI=a.next().value,RV=a.next().value;Xd=_.u(_.$o(!1));var Zs=Xd.next().value,HI=Xd.next().value;Xd=_.u(_.$o());var SV=Xd.next().value,II=Xd.next().value;Xd=_.u(_.$o());var JI=Xd.next().value,Wy=Xd.next().value;Xd=_.u(_.$o(!0));var hl=Xd.next().value,KI=Xd.next().value;
Xd=_.u(_.$o());var an=Xd.next().value,Sh=Xd.next().value;Xd=_.u(_.$o(0));var il=Xd.next().value,bn=Xd.next().value,Hf=_.Ow();_.Sw("yt-page-type-changed",function(){var Ca=_.QB();if(Ca!==hl())if(KI(Ca),Ca){var yb;Ca=(yb=ka().playableId)==null?void 0:yb.toString();Ca!==void 0&&_.sB().href.includes(Ca)&&!je&&(Kj=!0,Fa(),h($s.value))}else Ca||(ja(),HI(!1),Sh(void 0),II(void 0),Wy(void 0),$a&&(Ys=0,bn(0)),Aa||(je=!1))});_.Sw("yt-action",function(Ca){hl()&&Ca.detail.actionName==="yt-history-load"&&(Kj?
Kj=!1:ka().isEmbeddedInWebview||X())});_.Mn(function(){ja()});_.Xo(function(){Fa()});var $s=_.Ow();_.Xo(function(){ka().isSupportedCountry&&(_.yE()||_.M("enable_sign_in_promo")||!ka().showSignInDialogCommand?h($s.value):b(ka().onMiniAppReadyCommand))});return function(){var Ca={};Ca=_.BD("yt-mini-app-container-view-model",(Ca["yt-mini-app-container-view-model--desktop"]=!1,Ca["yt-mini-app-container-view-model--ios-web-view"]=_.Kq(),Ca["yt-mini-app-container-view-model--no-top-bar"]=function(){return!1},
Ca));var yb={};yb=_.BD("yt-mini-app-container-view-model__content",(yb["yt-mini-app-container-view-model__content--desktop-content"]=!1,yb));return _.H("mini-app-container-view-model",{el:Hf},_.H("div",{class:Ca},_.H(_.O,{C:function(){return ka().topBar}},function(){return _.H(_.NF,{data:function(){return ka().topBar},mapping:PVa,Y:{miniAppTopBarViewModel:{Ac:GI,Ed:function(Fb){ca(Fb)},score:SV,Ff:JI,Uh:function(Fb){Le=Fb},isEmbeddedInWebview:za,isSaved:an,ko:function(Fb){Sh(Fb)}}}})}),_.H("div",
{class:yb},_.H(_.O,{C:hl},function(){return k()}),_.H(_.O,{C:function(){return!ka().isEmbeddedInWebview}},function(){return e()}))))}()});_.QVa.U=!0;_.fG="compactRadioRenderer compactPlaylistRenderer compactVideoRenderer feedNudgeRenderer gridVideoRenderer primetimePromoRenderer radioRenderer primetimePromoRenderer reelItemRenderer reelShelfRenderer richShelfRenderer searchHistoryQueryRenderer shelfRenderer videoWithContextRenderer videoCardRenderer statementBannerRenderer miniGameCardViewModel shortsLockupViewModel lockupViewModel".split(" ");_.jxa=["notificationTextRenderer","notificationMultiActionRenderer"];
_.gG=["primetimePromoRenderer","statementBannerRenderer","brandVideoShelfRenderer","brandVideoSingletonRenderer","feedNudgeRenderer"];_.iG.prototype.lb=function(a,b){return(a=this.o.get(a))?this.A.lb(a,b):!1};_.iG.prototype.subscribe=function(a,b){var c=this.A,d=c.subscribe,e=this.o.get(a);e||(this.G++,e="topic_"+this.G.toString(),this.o.set(a,e));b=d.call(c,e,b);c=this.j.get(a)||[];c.push(b);this.j.has(a)||this.j.set(a,c)};_.iG.prototype.unsubscribe=function(a){return this.A.hg(a)};_.v(kxa,_.iG);_.jG=new kxa;var lG=new Map,mG=[],nG=void 0,kG=null;_.yT=_.oG({toggleButtonViewModel:_.aG,buttonViewModel:_.HF,miniAppScoreButtonViewModel:function(a){_.U($wa)(a)}});var zxa=_.V({buttonViewModel:_.sD(_.HF)});_.RVa=_.T(function(a){var b=a.data;a={};a=(a.YtMiniAppScoreChallengeViewModelScoreRadial=!0,a.YtMiniAppScoreChallengeViewModelDarkScoreRadial=Bxa(),a);return _.H("yt-mini-app-score-challenge-view-model",{class:"YtMiniAppScoreChallengeViewModelHost"},_.H("div",{class:"YtMiniAppScoreChallengeViewModelTitle"},function(){return b().title}),_.H("div",{class:"YtMiniAppScoreChallengeViewModelSubtitle"},function(){return b().subtitle}),_.H("div",{class:_.ME(a)},_.H("div",{class:"YtMiniAppScoreChallengeViewModelScore"},
function(){return b().score})),_.H("div",{class:"YtMiniAppScoreChallengeViewModelPrompt"},function(){return b().prompt}))});_.zT=_.R("miniGameCardViewModel","hVZZLc");_.ZB(_.zT);var YR=new _.jp("ENTITY_STATE_TOKEN");_.g=sG.prototype;_.g.init=function(){this.ic=!0};_.g.pushState=function(a,b){this.ic||this.init();this.lp(!1,a,b)};_.g.replaceState=function(a,b){this.ic||this.init();this.lp(!0,a,b)};_.g.getState=function(){return this.history&&this.history.state};_.g.lp=function(a,b,c){var d=!1;a?this.o?this.o(b,"",c):d=!0:this.j?this.j(b,"",c):d=!0;d&&this.kp(c)};_.g.kp=function(){};var Cxa=["en-CA","en","es-MX","fr-CA"];_.SVa=new _.jp("INLINE_PLAYBACK_HOOK_TOKEN");var Gxa=_.Ki(function(){var a,b;return(b=(a=window).matchMedia)==null?void 0:b.call(a,"(prefers-reduced-motion: reduce)").matches});var TVa=_.Ki(function(){if(window.MediaSource&&typeof window.MediaSource.isTypeSupported==="function")return window.MediaSource.isTypeSupported('video/webm; codecs="vp09.00.51.08.01.01.01.01.00"');if(window.ManagedMediaSource&&typeof window.ManagedMediaSource.isTypeSupported==="function")return window.ManagedMediaSource.isTypeSupported('video/webm; codecs="vp09.00.51.08.01.01.01.01.00"');var a=_.Ua("yt.web.contrib.innertube.requests.watch_ui.utils.videoElement_");a||(a=_.Yi("VIDEO"),_.Ta("yt.web.contrib.innertube.requests.watch_ui.utils.videoElement_",
a));return!!(a&&a.canPlayType&&a.canPlayType('video/webm; codecs="vp09.00.51.08.01.01.01.01.00"'))});BG.prototype.resolve=function(a,b){var c=this;return _.z(function(d){return _.x(d,c.resolveCommand(a,b),0)})};var AT=new _.jp("DRAWER_LAYOUT_CONTROLLER_TOKEN");_.v(_.CG,BG);_.CG.prototype.resolveCommand=function(a){var b;return _.z(function(c){b=_.N(a,lUa);if(!b)return c.return();_.hB("drawer-close");_.wa(c)})};_.CG[_.op]=[AT];var BT=new _.jp("PANEL_LOADING_STRATEGY_TOKEN");_.CT=_.kF(_.EG,{callbacks:{onClick:!0}});_.UVa=_.kF(Rxa);var VVa=_.T(function(a){function b(){return c().text}var c=a.data;var d=a.icon;return _.H(_.O,{C:function(){return!!b()&&!!c().vb}},function(){return _.H("navigation-item-shape-component",null,_.H(_.nF,{vb:function(){return c().vb},className:"yt-spec-navigation-item-shape__navigation-item-endpoint"},_.H("div",{class:"yt-spec-navigation-item-shape__navigation-item-icon-wrapper"},_.H(_.Vo,null,function(){return _.H(_.Oo,null,d)})),_.H("div",{class:"yt-spec-navigation-item-shape__navigation-item-label"},
_.H(_.wD,{text:b}))))})});VVa.U={callbacks:{icon:!0}};var Uxa=_.T(function(a){var b=a.data;return _.H("navigation-item-view-model",null,_.H(VVa,{data:function(){var c=b();return{text:c.text,vb:_.CC({elementsCommand:c.onTap,ib:!0})}},icon:function(){b().icon&&_.rD(b().icon,{alt:"icon"})}}))});Uxa.U=!0;var Xxa=_.V({privacyTosViewModel:function(a){a=a.data;return _.H("privacy-tos-view-model",null,_.H("div",{class:"YtStandardsPrivacyTosViewModelPrivacyTosContainer"},_.H(_.EG,{command:_.oC(a.privacyLink),className:"YtStandardsPrivacyTosViewModelPrivacyText",eh:!0},_.zD(a==null?void 0:a.privacyText)),_.H("span",{class:"YtStandardsPrivacyTosViewModelPrivacyTosSeparator","aria-hidden":"true"},"  \u2022  "),_.H(_.EG,{command:_.oC(a.privacyLink),className:"YtStandardsPrivacyTosViewModelTosText",eh:!0},
_.zD(a==null?void 0:a.tosText))))}});_.v(_.FG,BG);_.FG.prototype.resolveCommand=function(a){var b=this,c,d;return _.z(function(e){c=_.N(a,_.mUa);if(!c||!c.loadingStrategy)return e.return();d=function(f){var h;return _.z(function(k){h=function(){f.moreDrawerViewModel&&_.U(Yxa)({data:f.moreDrawerViewModel})};VQ()||_.hB("drawer-open");_.hB("drawer-update",{bE:h});_.wa(k)})};return _.x(e,b.panelLoadingStrategy.execute({command:a,data:c.loadingStrategy,Zb:d,pE:160598,yq:{layer:0}}),0)})};_.FG[_.op]=[BT,AT];_.v(_.GG,BG);_.GG.prototype.resolveCommand=function(a){var b=this,c,d,e;return _.z(function(f){d=(c=_.N(a,_.cUa))==null?void 0:c.entityBatchUpdate;if(!d)return f.L(0);e=Object.assign({},d,{mutations:[].concat(_.ma(d.mutations||[]))});return _.x(f,_.WA(e,b.store),0)})};_.v(_.HG,BG);_.HG.prototype.resolveCommand=function(a){var b,c,d,e;return _.z(function(f){if(b=_.N(a,AUa)){if(c=b.gtmId)d=_.L("GL",""),_.lA(c,d);(e=b.gtmData)&&_.mA(e)}_.wa(f)})};_.v(_.IG,BG);_.IG.prototype.resolveCommand=function(a){var b,c;return _.z(function(d){b=_.N(a,eUa);c=document.querySelector("mini-app-container-view-model-c3");if(!b||!c)return d.return();b.isPlaying?c.dispatchEvent(new Event("play")):c.dispatchEvent(new Event("pause"));_.wa(d)})};_.DT=new _.jp("DROPDOWN_CONTROLLER_TOKEN");_.v(_.JG,BG);_.JG.prototype.resolveCommand=function(a){var b=this,c,d,e,f;return _.z(function(h){c=_.N(a,uUa);if(!c)return h.return();d=c;e=d.dropdownId;f=d.selectedOptionIndex;if(e===void 0||f===void 0)return h.return();var k=b.controller.Jq.get(e);k&&k(f);_.wa(h)})};_.JG[_.op]=[_.DT];var ET,FT;_.aR=new _.jp("PANEL_CONTROLLER_TOKEN");_.IH=new _.jp("SHEET_CONTROLLER_TOKEN");ET=new _.jp("DIALOG_CONTROLLER_TOKEN");FT=new _.jp("DIALOG_CONTAINER_TOKEN");_.v(_.KG,BG);_.KG.prototype.resolveCommand=function(a){var b=this,c;return _.z(function(d){return(c=_.N(a,gUa))?_.x(d,b.controller.ab(),0):d.return()})};_.KG[_.op]=[ET];_.v(_.LG,BG);_.LG.prototype.resolveCommand=function(a){var b=this,c;return _.z(function(d){return(c=_.N(a,rUa))?_.x(d,b.controller.Qe(),0):d.return()})};_.LG[_.op]=[_.IH];_.v(_.MG,BG);_.MG.prototype.resolveCommand=function(a,b){var c=this,d,e,f;return _.z(function(h){d=_.N(a,sUa);if((e=d)==null||!e.panelLoadingStrategy)return h.return();f=function(k){var l,m;return _.z(function(n){return k.dialogViewModel?_.x(n,c.controller.openDialog({viewModel:k.dialogViewModel},(l=b)==null?void 0:(m=l.form)==null?void 0:m.element),0):n.return()})};return _.x(h,c.panelLoadingStrategy.execute({command:a,data:d.panelLoadingStrategy,Zb:f,yq:{layer:4}}),0)})};_.MG[_.op]=[ET,BT];_.v(_.NG,BG);_.NG.prototype.resolveCommand=function(a,b){var c=this,d,e,f;return _.z(function(h){d=_.N(a,_.RF);if((e=d)==null||!e.panelLoadingStrategy)return h.return();f=function(k){var l,m;return _.z(function(n){return k.sheetViewModel?_.x(n,c.controller.Vh({viewModel:k.sheetViewModel},(l=b)==null?void 0:(m=l.form)==null?void 0:m.element),0):n.return()})};return _.x(h,c.panelLoadingStrategy.execute({command:a,data:d.panelLoadingStrategy,Zb:f,yq:{layer:0}}),0)})};_.NG[_.op]=[_.IH,BT];var aya=_.DA("sfv_currently_playing_audio_item_key","sfvAudioItemCurrentlyPlayingEntity");_.v(_.OG,BG);_.g=_.OG.prototype;_.g.ZH=function(a){switch(a){case 0:this.playbackState="SFV_AUDIO_ITEM_PLAYBACK_STATE_STOPPED";break;case 1:this.playbackState="SFV_AUDIO_ITEM_PLAYBACK_STATE_PLAYING";break;case 2:this.playbackState="SFV_AUDIO_ITEM_PLAYBACK_STATE_PAUSED";break;case 3:this.playbackState="SFV_AUDIO_ITEM_PLAYBACK_STATE_BUFFERING";break;default:this.playbackState="SFV_AUDIO_ITEM_PLAYBACK_STATE_UNKNOWN"}bya(this)};
_.g.bz=function(){var a=this,b,c,d,e;return _.z(function(f){if(f.j==1)return a.j?_.x(f,a.j.api,2):(_.av(new _.oq("Error: mainAppPlayer is unavailable",a.j)),f.return());b=f.o;d=(c=b)==null?void 0:c.getPlayerState();d!==1||(e=b)!=null&&e.pauseVideo();_.wa(f)})};
_.g.playVideo=function(a,b,c){var d=this;return _.z(function(e){if(!d.j)return _.av(new _.oq("Error: mainAppPlayer is unavailable",d.j)),e.return();var f=tva(d.j,{videoId:d.externalVideoId,audio_only:"1",start:a/1E3,end:a/1E3+b,player_params:c});return _.x(e,f,0)})};_.g.pauseVideo=function(){var a=this,b,c;return _.z(function(d){if(d.j==1)return a.j?_.x(d,a.j.api,2):(_.av(new _.oq("Error: mainAppPlayer is unavailable",a.j)),d.return());b=d.o;(c=b)==null||c.pauseVideo();_.wa(d)})};
_.g.resolveCommand=function(a){var b=this,c,d,e,f,h,k,l,m,n,p,q,r,t,w,y,B,A,E,I;return _.z(function(G){if(G.j==1)return c=_.N(a,oUa),e=(d=c)==null?void 0:d.nowPlayingEntityValue,h=(f=c)==null?void 0:f.externalVideoId,p=Number((n=(k=c)==null?void 0:(l=k.defaultStartPoints)==null?void 0:(m=l[0])==null?void 0:m.offsetMs)!=null?n:"0"),B=Number((y=(q=c)==null?void 0:(r=q.defaultStartPoints)==null?void 0:(t=r[0])==null?void 0:(w=t.duration)==null?void 0:w.seconds)!=null?y:"15"),I=(E=(A=c)==null?void 0:
A.playerParams)!=null?E:"",e&&h?b.j?G.L(2):_.x(G,$xa(b),2):G.return();if(G.j!=6){if(b.nowPlayingEntityValue&&e===b.nowPlayingEntityValue)return b.playbackState==="SFV_AUDIO_ITEM_PLAYBACK_STATE_PLAYING"?_.x(G,b.pauseVideo(),0):_.x(G,b.playVideo(p,B,I),0);b.externalVideoId=h;b.nowPlayingEntityValue=e;b.playbackState="SFV_AUDIO_ITEM_PLAYBACK_STATE_BUFFERING";return _.x(G,b.playVideo(p,B,I),6)}bya(b);return G.L(0)})};_.OG[_.op]=[YR];_.v(_.PG,BG);
_.PG.prototype.resolveCommand=function(a){var b,c,d,e,f,h,k,l;return _.z(function(m){b=_.N(a,hUa);if((c=b)==null?0:c.sectionIdentifier){if(b.scrollBehaviorType==="SCROLL_BEHAVIOR_TYPE_SCROLL_INTO_VIEW")return(d=document.getElementsByTagName(b.sectionIdentifier))==null||(e=d.item(0))==null||e.scrollIntoView({behavior:"smooth"}),m.return();f=document.querySelector("[section-identifier="+b.sectionIdentifier+"]");h=document.querySelector("[section-identifier="+b.referenceSectionIdentifier+"]");if(!f)return m.return();
k=b.verticalScrollOffsetDp?b.verticalScrollOffsetDp:0;h&&(k-=h.offsetTop);window.scrollTo({top:f.offsetTop+k,behavior:"smooth"});(l=_.Fla(f))&&l.focus({preventScroll:!0})}_.wa(m)})};_.NQ={browseEndpoint:{browseId:"FEwhat_to_watch"},commandMetadata:{webCommandMetadata:{url:"/",rootVe:3854,webPageType:"WEB_PAGE_TYPE_BROWSE"}}};var TOa={signalServiceEndpoint:{signal:"LOAD_GUIDE"}};QG.prototype.handleResponse=function(a,b){if(!b)throw Error("sd");var c,d;b=((c=b.Sa.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)};QG.prototype.replace=function(a,b){a=_.u(a);for(var c=a.next();!c.done;c=a.next())delete this.j[c.value.encryptedTokenJarContents];dya(this,b)};var WVa=window.location.hostname.split(".").slice(-2).join("."),GT;_.TG.Qd=function(){GT=_.Ua("yt.clientLocationService.instance");GT||(GT=new _.TG,_.Ta("yt.clientLocationService.instance",GT));return GT};_.g=_.TG.prototype;
_.g.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.A||this.locationPlayabilityToken)a.client.locationPlayabilityToken=this.A||
this.locationPlayabilityToken};_.g.handleResponse=function(a){var b;a=(b=a.responseContext)==null?void 0:b.locationPlayabilityToken;a!==void 0&&(this.locationPlayabilityToken=a,this.j=void 0,_.L("INNERTUBE_CLIENT_NAME")==="TVHTML5"?(this.localStorage=SG(this))&&this.localStorage.set("yt-location-playability-token",a,15552E3):_.gq("YT_CL",JSON.stringify({loctok:a}),15552E3,WVa,!0))};
_.g.clearLocationPlayabilityToken=function(a){a==="TVHTML5"?(this.localStorage=SG(this))&&this.localStorage.remove("yt-location-playability-token"):Iia("YT_CL");this.A=void 0;this.o!==-1&&(clearTimeout(this.o),this.o=-1)};
_.g.getCurrentPositionFromGeolocation=function(){var a=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition))return Promise.reject(Error("td"));var b=!1,c=1E4;_.L("INNERTUBE_CLIENT_NAME")==="MWEB"&&(b=!0,c=15E3);return new Promise(function(d,e){navigator.geolocation.getCurrentPosition(function(f){a.j=f;d(f)},function(f){e(f)},{enableHighAccuracy:b,maximumAge:0,timeout:c})})};
_.g.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};_.g.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};_.g=VG.prototype;
_.g.bd=function(a,b,c){b=b===void 0?{}:b;c=c===void 0?_.DS:c;var d;if(this.Lh()){var e=(d=_.N(a==null?void 0:a.commandMetadata,_.ew))==null?void 0:d.url;d=_.UG(a.clickTrackingParams,!0,!1,e,this.Ap(b))}else d=_.UG(a.clickTrackingParams,!1,this.j);d={context:d};if(e=this.ga(a)){this.na(d,e,b);var f;e=_.gB(this.oa(a));var h=(f=_.N(a.commandMetadata,_.ew))==null?void 0:f.apiUrl;h&&(e=h);f=_.Pqa(_.Vz(e));e=Object.assign({},{command:a},this.tg(a,b));f={input:f,Wc:_.Yz(f),Sa:d,config:e};f.config.gk?f.config.gk.identity=
c:f.config.gk={identity:c};(a=this.Ww(a,b))&&!f.config.Hz&&(f.config.Hz=a);return f}_.av(new _.oq("Error: Failed to create Request from Command.",a))};_.g.Lh=function(){return!1};_.g.Ap=function(){};_.g.Ww=function(){};_.g.tg=function(){};_.ba.Object.defineProperties(VG.prototype,{j:{configurable:!0,enumerable:!0,get:function(){return!1}}});_.v(_.WG,VG);_.WG.prototype.yb=function(){};_.WG.prototype.Ww=function(a,b){b=b===void 0?{}:b;return this.yb(a,b)};_.v(_.XG,_.WG);_.XG.prototype.oa=function(){return EUa};_.XG.prototype.ga=function(a){return _.N(a,_.HL)||_.N(a,kUa)||_.N(a,_.GL)};_.XG.prototype.na=function(a,b){b.serializedShareEntity&&(a.serializedSharedEntity=b.serializedShareEntity);if(b.clientParamIdentifier){var c;if((c=this.o)==null?0:c.clientParams.has(b.clientParamIdentifier)){c=this.o;b=b.clientParamIdentifier;var d=c.clientParams.get(b);d&&c.clientParams.delete(b);a.clientParams=d}}};_.XG[_.op]=[_.SF];_.v(_.YG,_.WG);_.YG.prototype.oa=function(){return DUa};_.YG.prototype.ga=function(a){return _.N(a,dUa)};_.YG.prototype.na=function(a,b){b.flowId&&(a.flowId=b.flowId);b.targetId&&(a.targetId=b.targetId);b.continuation&&(a.continuation=b.continuation);var c=b.flowStateEntityKey;if(b.flowStatePassingSpec==="FLOW_STATE_PASSING_SPEC_FULL_STATE"&&c&&this.o){var d;if(b=(d=this.o.getState())==null?void 0:d.entities)if(d=CA(c).entityType,d=_.GA(b,d,c))a.flowState=d,a.flowStateEntityKey=c}};_.YG[_.op]=[YR];_.v(_.ZG,_.WG);_.g=_.ZG.prototype;_.g.oa=function(){return HUa};_.g.ga=function(a){return _.N(a,_.eD)};_.g.na=function(a,b){b.videoId&&(a.playerRequest={videoId:b.videoId},b.playerParams&&(a.playerRequest.params=b.playerParams),b.racyCheckOk&&(a.playerRequest.racyCheckOk=!!b.racyCheckOk),b.contentCheckOk&&(a.playerRequest.contentCheckOk=!!b.contentCheckOk));b.params&&(a.params=b.params);b.inputType&&(a.inputType=b.inputType);a.disablePlayerResponse=!0};
_.g.tg=function(a){var b;(a=this.yb(a))&&(b={ah:{gi:a}});_.M("web_log_reels_ticks")&&(b=b||{},b.Fj="r_wrs",b.Wg="r_wrr");return b};
_.g.yb=function(a){a=this.ga(a);if(_.M("shorts_controller_retrieve_seedless_sequence_v2")){if((a==null?void 0:a.inputType)==="REEL_WATCH_INPUT_TYPE_SEEDLESS")return _.Zz("reel_item_watch",{inputType:"REEL_WATCH_INPUT_TYPE_SEEDLESS"})}else if(_.M("web_prefetch_riw_for_next_video")&&a!=null&&a.videoId){var b={videoId:a.videoId};a.params&&(b.params=a.params);return _.Zz("reel_item_watch",b)}};_.v(_.$G,_.WG);_.g=_.$G.prototype;_.g.oa=function(){return _.GUa};_.g.ga=function(a){return _.N(a,_.fw)||_.N(a,_.eD)||_.N(a,_.nUa)};_.g.Lh=function(){return!0};_.g.yb=function(a){if((_.M("kevlar_cache_on_ttl_player")||_.M("mweb_enable_shorts_innertube_player_prefetch")||_.M("mweb_use_new_history_manager"))&&(a=this.ga(a))&&a.videoId){var b={videoId:a.videoId};a.playlistId&&(b.playlistId=a.playlistId);a.playerParams&&(b.params=a.playerParams);return _.Zz("player",b)}};
_.g.Ap=function(a){var b;return((b=a.contentPlaybackContext)==null?void 0:b.vis)===2?"WATCH_FULL_SCREEN":"WATCH"};
_.g.na=function(a,b,c){if(_.M("enable_interstitial_entity_check")){var d=this.o;if(b.videoId)for(var e=_.u(["CONTENT_CHECK_REQUIRED","AGE_CHECK_REQUIRED"]),f=e.next();!f.done;f=e.next()){f=f.value;var h;var k=void 0,l=void 0,m=b.videoId,n=f;(h=d)?(m=_.DA(m+n,"interstitialInteractionStateEntity"),h=(k=(l=_.GA(h.getState().entities,"interstitialInteractionStateEntity",m))==null?void 0:l.primaryButtonClicked)!=null?k:!1):h=!1;if(h)switch(f){case "CONTENT_CHECK_REQUIRED":b.contentCheckOk=!0;break;case "AGE_CHECK_REQUIRED":b.racyCheckOk=
!0}}}b.videoId&&(a.videoId=b.videoId);b.playlistId&&(a.playlistId=b.playlistId);b.index!==void 0&&(a.playlistIndex=b.index+1);b.playerParams&&(a.params=b.playerParams);"startTimeSeconds"in b&&b.startTimeSeconds&&(a.startTimeSecs=b.startTimeSeconds);c.contentPlaybackContext&&(a.playbackContext={contentPlaybackContext:c.contentPlaybackContext});c.prefetchPlaybackContext&&(a.playbackContext=Object.assign({},a.playbackContext,{prefetchPlaybackContext:c.prefetchPlaybackContext}),a.context.request||(a.context.request=
{}),a.context.request.isPrefetch=!0);_.M("html5_report_supports_vp9_encoding")&&(a.playbackContext||(a.playbackContext={}),d=TVa(),a.playbackContext.devicePlaybackCapabilities={supportsVp9Encoding:d});c.overrideMutedAtStart&&(a.overrideMutedAtStart=c.overrideMutedAtStart);a.racyCheckOk=!!b.racyCheckOk;a.contentCheckOk=!!b.contentCheckOk;!_.M("captions_prefs_killswitch")&&(c=(c=_.cA("yt-player-caption-language-preferences"))?c:[],c==null?0:c.length)&&(a.captionParams={viewerSelectedCaptionLangs:c})};
_.g.tg=function(a){a=this.yb(a);var b;a&&(b={ah:{gi:a}});_.M("web_log_player_watch_next_ticks")&&(b=b||{},b.Fj="ps_s",b.Wg="ps_r");return b};_.$G[_.op]=[YR];_.v(_.aH,_.WG);_.g=_.aH.prototype;_.g.oa=function(){return _.JUa};_.g.ga=function(a){return _.N(a,_.fw)};_.g.Lh=function(){return!0};_.g.yb=function(a){if((a=this.ga(a))&&a.videoId){var b={videoId:a.videoId};a.playlistId&&(b.playlistId=a.playlistId);a.index&&(b.index=a.index);a.params&&(b.params=a.params);return _.Zz("next",b)}};_.g.Ap=function(a){var b;return((b=a.contentPlaybackContext)==null?void 0:b.vis)===2?"WATCH_FULL_SCREEN":"WATCH"};
_.g.na=function(a,b,c){b.videoId&&(a.videoId=b.videoId);b.playlistId&&(a.playlistId=b.playlistId);b.params&&(a.params=b.params);b.index!==void 0&&(a.playlistIndex=b.index);a.racyCheckOk=!(!c.racyCheckOk&&!b.racyCheckOk);a.contentCheckOk=!!b.contentCheckOk;c.contentPlaybackContext&&(a.autonavState=c.contentPlaybackContext.autonavState,a.playbackContext={vis:c.contentPlaybackContext.vis,lactMilliseconds:c.contentPlaybackContext.lactMilliseconds});c.prefetchPlaybackContext&&(a.context.request||(a.context.request=
{}),a.context.request.isPrefetch=!0);_.M("captions_hats_killswitch")||(b=_.jq(_.iq(),65),b=b!=null?!b:!1,c=!!_.cA("yt-player-sticky-caption"),a.captionsRequested=b&&c)};_.g.tg=function(a){a=this.yb(a);var b;a&&(b={ah:{gi:a}});_.M("web_log_player_watch_next_ticks")&&(b=b||{},b.Fj="wn_s",b.Wg="wn_r");return b};_.v(_.bH,_.WG);_.bH.prototype.oa=function(){return CUa};_.bH.prototype.ga=function(a){return _.N(a,_.$S)||_.N(a,zUa)};
_.bH.prototype.na=function(a,b,c){c.client_data&&(a.clientData=c.client_data);if(b.commerceActionConfig){var d=b.commerceActionConfig;b=d.actionId;d=d.commerceActionParams;b&&(a.actionId=b);d&&(a.commerceActionParams=d)}else{var e=b.actionId,f=b.commerceActionParams;c=b.entityKeys;e&&(a.actionId=e);f&&(a.commerceActionParams=f);var h;b=(d=this.o)==null?void 0:(h=d.getState())==null?void 0:h.entities;if(c&&b){d=[];h=_.u(c);for(c=h.next();!c.done;c=h.next())if(e=c.value,c=CA(e).entityType,e=_.GA(b,
c,e))f={},d.push((f[c]=e,f));a.entityMutationPayloads=d}}};_.bH.prototype.tg=function(a){var b,c=(b=_.N(a,_.$S))==null?void 0:b.requestSequenceType;if(c&&a.clickTrackingParams&&c!=="REQUEST_SEQUENCE_TYPE_UNKNOWN")return{ZR:{YR:a.clickTrackingParams,aS:c}}};_.bH[_.op]=[YR];_.v(_.cH,_.WG);_.cH.prototype.oa=function(){return _.MUa};_.cH.prototype.ga=function(a){return _.N(a,_.BUa)};
_.cH.prototype.na=function(a,b,c){c.purchase_price_micros&&(a.productData={pdgData:{purchasePriceMicros:c.purchase_price_micros.toString()}},c.rich_chat_message&&(a.productData.pdgData.richChatMessage=c.rich_chat_message),c.currency_code&&(a.productData.pdgData.currencyCode=c.currency_code));b.transactionParams&&(a.transactionParams=b.transactionParams);b.clientLocationContext&&(a.clientLocationContext=b.clientLocationContext);c.payments_payload&&(a.paymentsPayload=c.payments_payload);c.funds_guarantee_callback_client_data&&
(a.fundsGuaranteeCallbackClientData=c.funds_guarantee_callback_client_data);var d,e;c=(d=this.o)==null?void 0:(e=d.getState())==null?void 0:e.entities;if(b.entityKeys&&c){d=[];b=_.u(b.entityKeys);for(e=b.next();!e.done;e=b.next()){var f=e.value;e=CA(f).entityType;if(f=_.GA(c,e,f)){var h={};d.push((h[e]=f,h))}}a.entityMutationPayloads=d}};_.cH[_.op]=[YR];var HT=new _.jp("CLIENT_NAME_TOKEN");var IT=new _.jp("DEFAULT_STORE_EXPIRATION_TOKEN");dH.prototype.put=function(a,b){var c=this,d;return _.z(function(e){d=Object.assign({},b.data);d.key=a;d.clientName=c.clientName;d.expireTimestampMs===void 0&&(d.expireTimestampMs=(Math.round((0,_.Uq)())+c.rw).toString());return e.return(eya(c,a,d))})};dH[_.op]=[HT,IT];_.v(eH,dH);_.g=eH.prototype;_.g.get=function(a){var b=this;return _.z(function(c){return c.return(_.fH(b,a))})};_.g.remove=function(a){var b=this;return _.z(function(c){fya(b,a);_.wa(c)})};_.g.Bl=function(){var a=this;_.z(function(b){a.j.forEach(function(c){clearTimeout(c.timer)});a.j.clear();_.wa(b)})};_.g.has=function(a){return!!this.j.get(a)};_.g.zh=function(){return this.j.keys()};_.gH.prototype.handleResponse=function(a,b){if(!b)throw Error("vd");var c,d;b=(c=b.config)==null?void 0:(d=c.ah)==null?void 0:d.gi;hH(this,a,b)};_.gH[_.op]=[_.yG];var tRa=new _.jp("STORE_RESPONSE_PROCESSOR_TOKEN");var XVa={},URa=(XVa.rendered={priority:0,callback:function(){var a=navigator.hardwareConcurrency;var b=_.Sa.navigator.deviceMemory;var c={staticContext:{}};b&&!isNaN(b)&&b>0&&(c.staticContext.memoryTotalKbytes=(b*1048576).toString());a&&!isNaN(a)&&a>0&&(c.staticContext.cpuCores=a);if(_.M("web_enable_adaptive_appl_signal")){var d;a=_.Ep(qv)("rses_dpj",void 0);b=_.Ep(qv)("rsef_dpj",void 0);a&&a>0&&b&&b>0&&(a=Math.ceil(b-a),a>0&&(d=a));d&&!isNaN(d)&&d>0&&(c.appL=d.toString())}_.uu("applicationStarted",
c)}},XVa);var YVa=new _.jp("WINDOW_ON_ERROR"),ZVa=new _.jp("ERROR_WEIGHT_MAPS"),$Va=new _.jp("INIT_ERROR");var aWa={},PRa=(aWa.initialized={priority:10,callback:function(a){a.fa.resolve($Va)()}},aWa);iya.prototype.jp=function(){this.j!==void 0&&Kka(this.j)};var bWa={},QRa=(bWa.initialized={priority:10,callback:function(){kya()}},bWa);var lya=!1;var jI=new Map;var JT=new _.jp("DIALOG_VIEW_MODEL_TOKEN");_.kJ=new _.jp("LAYER_TOKEN");iH.prototype.openDialog=function(a){var b=this;if(a!=null&&a.viewModel){var c=a.viewModel;this.j.openDialog({Ta:function(){return _.H(_.NF,{mapping:{dialogViewModel:b.o},data:function(){return{dialogViewModel:c}}})}})}};iH.prototype.ab=function(){this.j.ab()};iH.prototype.Gh=function(){return Promise.resolve(this.j.Gh())};iH[_.op]=[_.kJ,JT];jH.prototype.openDialog=function(a,b){var c=this,d;return _.z(function(e){(d=c.container)==null||d.openDialog(a,b);_.wa(e)})};jH.prototype.ab=function(){var a=this,b;return _.z(function(c){(b=a.container)==null||b.ab();_.wa(c)})};jH.prototype.Gh=function(){var a=this,b,c;return _.z(function(d){return d.return((c=(b=a.container)==null?void 0:b.Gh())!=null?c:!1)})};jH[_.op]=[_.mp(FT)];kH.prototype.nn=function(a){var b=this,c;return _.z(function(d){return(c=b.Xs.get(a))?d.return(c):d.return(qya(b,a))})};lH.prototype.Qn=function(a){var b=this,c,d;return _.z(function(e){switch(e.j){case 1:if(!rya(b)){e.L(2);break}_.xa(e,3);return _.x(e,b.af.yd(a),5);case 5:return c=e.o,c?e.return(c.content):(_.av(Error("wd")),e.return(void 0));case 3:d=_.Ba(e),_.av(d);case 2:return e.return(void 0)}})};
lH.prototype.execute=function(a){var b=this,c,d,e,f,h,k,l,m,n,p;return _.z(function(q){if(q.j==1){c=a;d=c.data;e=c.pE;f=c.parentVe;h=c.yq;k=c.Zb;l=c.command;b.panelLoadingStrategy=d;var r,t,w=((r=b.panelLoadingStrategy)==null?0:r.screenVe)?(t=b.panelLoadingStrategy)==null?void 0:t.screenVe:e;w&&_.hw(b.j,w,f,h);r=b.panelLoadingStrategy&&b.panelLoadingStrategy.inlineContent?b.panelLoadingStrategy.inlineContent:void 0;return(m=r)?_.x(q,k(m),2):q.L(2)}return q.j!=4?rya(b)?_.x(q,b.Qn(l),4):q.return():
(p=n=q.o)?_.x(q,k(p),0):q.return()})};lH[_.op]=[_.iT,QF];var uH={};_.kF(_.vH,{callbacks:{overlays:!0}});_.KT=_.kF(_.wH);var cWa=_.T(function(a){a=_.bC(a,{disabled:!1});var b=a.active,c=a.disabled;a={};a=_.BD("YtSwitchShapeTrack",(a.YtSwitchShapeTrackActive=function(){return b()},a.YtSwitchShapeTrackDisabled=function(){return c()},a));var d={};d=_.BD("YtSwitchShapeKnob",(d.YtSwitchShapeKnobActive=function(){return b()},d));return _.H("switch-shape",{class:"YtSwitchShapeHost"},_.H("div",{class:a}),_.H("div",{class:d}))});var dWa=_.T(function(a){function b(){return d().isDisabled}var c=_.bC(a,{className:void 0,az:void 0,handleOnTapEventInParent:!1}),d=c.data;a=c.className;var e=c.handleOnTapEventInParent,f=c.az;c=_.u(_.fF(function(){var m;return(m=f())!=null?m:d().switchedOnByDefault||!1}));var h=c.next().value,k=c.next().value;c=_.P(function(m){if(d().handleOnTapEventInParent||e())return!0;b()||(Hya(d(),h(),m),k(!h()))});var l={};l=_.BD("YtSwitchButtonViewModelButton",(l.YtSwitchButtonViewModelTappable=function(){return!b()},
l));return _.H("switch-button-view-model",{class:_.BD("YtSwitchButtonViewModelHost",a)},_.H("button",{class:l,"on:click":c,"aria-label":function(){return h()?d().a11yLabelSwitchedOn:d().a11yLabelSwitchedOff},"aria-pressed":h,"aria-disabled":b},_.H(cWa,{active:h,disabled:b})))});var Kya=px.Qd();_.LT=_.kF(yH,{callbacks:{onChange:!0,onClick:!0,Ln:!0}});var zH;zH=_.V({buttonViewModel:_.sD(_.HF),switchButtonViewModel:dWa,avatarViewModel:_.wH});_.eWa=_.kF(AH,{callbacks:{onTap:!0}});var Rya=_.V({listItemViewModel:AH});_.kF(Sya);_.MT=_.T(function(a){function b(){return f().leadingLabel||f().trailingLabel}function c(){var m={},n=f();return _.ME("yt-panel-footer-view-model-wiz__text-row",(m["yt-panel-footer-view-model-wiz--row-bottom-padding"]=!(!n.leadingLabel&&!n.trailingLabel||!n.primaryButton&&!n.secondaryButton),m))}function d(){return f().stacking==="PANEL_FOOTER_STACKING_VERTICAL"}var e=_.bC(a,{type:1,Sm:!1,Tm:!1}),f=e.data,h=e.type,k=e.Sm,l=e.Tm;e=_.P(function(m){var n;if((n=a.Tm)==null||!n.call(a)){var p;(p=a.sH)==
null||p.call(a,m)}});return _.H("yt-panel-footer-view-model",{class:function(){var m={};return _.ME("yt-panel-footer-view-model-wiz",(m["yt-panel-footer-view-model-wiz--hide-divider"]=!!f().shouldHideDivider,m["yt-panel-footer-view-model-wiz--disable-padding"]=k(),m))}},_.H(_.O,{C:b},function(){var m={};return _.H("div",{class:c},_.H(_.wD,{text:function(){return f().leadingLabel},className:_.ME((m["yt-panel-footer-view-model-wiz--text-padding"]=!!b,m))}),_.H(_.wD,{text:function(){return f().trailingLabel}}))}),
_.H("div",{class:function(){var m={};a:switch(f().stacking){case "PANEL_FOOTER_STACKING_VERTICAL":var n="yt-panel-footer-view-model-wiz__button-wrapper--vertical-stacking";break a;default:n="yt-panel-footer-view-model-wiz__button-wrapper--horizontal-stacking"}return _.ME("yt-panel-footer-view-model-wiz__button-wrapper",n,(m["yt-panel-footer-view-model-wiz__button-wrapper--trailing"]=h()===3,m))}},_.H("div",{class:function(){var m={};return _.ME("yt-panel-footer-view-model-wiz__primary-button",d()?
"yt-panel-footer-view-model-wiz__button-wrapper--first":"yt-panel-footer-view-model-wiz__button-wrapper--second",(m["yt-panel-footer-view-model-wiz--full-button"]=h()===0||h()===1||d(),m["yt-panel-footer-view-model-wiz__primary-button--primary-split-primary"]=h()===2,m["yt-panel-footer-view-model-wiz__primary-button--stacked-primary"]=d(),m))},"on:click":e},_.H(_.NF,{data:function(){return f().primaryButton},mapping:{buttonViewModel:_.uT},Y:{buttonViewModel:{config:function(){return{buttonOverrides:{disabled:l(),
state:l()?"disabled":"active"}}}}}})),_.H(_.NF,{data:function(){return f().secondaryButton},mapping:{buttonViewModel:_.uT},Y:{buttonViewModel:{config:function(){var m={};return{className:_.ME("yt-panel-footer-view-model-wiz__secondary-button",d()?"yt-panel-footer-view-model-wiz__button-wrapper--second":"yt-panel-footer-view-model-wiz__button-wrapper--first",(m["yt-panel-footer-view-model-wiz--full-button"]=h()===1||d(),m["yt-panel-footer-view-model-wiz__secondary-button--hidden-button"]=h()===0,m["yt-panel-footer-view-model-wiz__secondary-button--primary-split-secondary"]=
h()===2,m))}}}}})))});_.MT.U=!0;var fWa=_.V({buttonViewModel:_.sD(_.HF)});jta("ytBottomSheetLayoutZIndex",{value:"2",unit:"str"});var gWa;_.NT=EH("px");gWa=EH("%");_.hWa=EH("s");var iWa=_.T(function(a){var b,c,d,e,f={};return _.H("div",{class:_.BD("yt-spec-bottom-sheet-layout","yt-spec-bottom-sheet-layout__bottom-sheet-renderer-container",(f["yt-spec-bottom-sheet-layout--modern"]=_.M("mweb_modern_typography"),f)),style:function(){return a.zb()?"":"transform: translateY("+a.Nd()+"px);transition: 0.2s"}},(b=a.children)==null?void 0:b.header(),_.H("div",{id:a.zf,class:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-content-wrapper",style:_.gF({maxHeight:(0,_.NT)(a.Ig)}),"on:scroll":FH(a.Sf),
"on:touchmove":FH(function(h){return void h.stopPropagation()})},_.H("div",{el:{Ps:a.ew}},_.H("div",{class:"yt-spec-bottom-sheet-layout__bottom-sheet-content","on:click":FH(a.By)},_.H("div",{class:_.BD({"bottom-sheet-content-without-icon":!a.shouldShowIcons})},(c=a.children)==null?void 0:(d=c.body)==null?void 0:d.call(c))))),(e=a.children)==null?void 0:e.footer())});var HH=_.T(function(a){var b=a.children,c=b.primaryButton,d=b.secondaryButton,e=_.aC(a.leadingLabel),f=_.aC(a.trailingLabel),h=_.aC(a.Ye);return _.H("div",{class:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-footer-wrapper"},_.H(_.O,{C:function(){return e()||f()}},function(){var k={};return _.H("div",{class:_.BD("yt-spec-bottom-sheet-layout__footer-label-wrapper",(k["yt-spec-bottom-sheet-layout__footer-label-wrapper--without-buttons"]=!c,k))},_.H(_.O,{C:e},function(){return _.H("div",{class:"yt-spec-bottom-sheet-layout__leading-label"},
e)}),_.H(_.O,{C:f},function(){return _.H("div",{class:"yt-spec-bottom-sheet-layout__trailing-label"},f)}))}),_.H(_.O,{C:function(){return _.Yo(!0)&&c||d}},function(){var k={};return _.H("div",{class:_.BD("yt-spec-bottom-sheet-layout__footer-button-wrapper",(k["yt-spec-bottom-sheet-layout__footer-button-wrapper--landscape-button-wrapper"]=zVa,k))},_.H(_.O,{C:function(){return _.Yo(!0)&&d&&h()!==0}},function(){var l={};return _.H("div",{class:_.BD("yt-spec-bottom-sheet-layout__secondary-button",(l["yt-spec-bottom-sheet-layout__secondary-button--secondary-button-trailing-pair"]=
function(){return h()===1&&!!d},l["yt-spec-bottom-sheet-layout__secondary-button--secondary-button-split-pair"]=function(){return h()===2&&!!d},l["yt-spec-bottom-sheet-layout__secondary-button--secondary-button-primary-split-pair"]=function(){return h()===3&&!!c},l))},d)}),_.H(_.O,{C:function(){return _.Yo(!0)&&c}},function(){var l={};return _.H("div",{class:_.BD("yt-spec-bottom-sheet-layout__primary-button",(l["yt-spec-bottom-sheet-layout__primary-button--default"]=function(){return h()===0&&!!c},
l["yt-spec-bottom-sheet-layout__primary-button--trailing-pair"]=function(){return h()===1&&!!c},l["yt-spec-bottom-sheet-layout__primary-button--split-pair"]=function(){return h()===2&&!!c},l["yt-spec-bottom-sheet-layout__primary-button--primary-split-pair"]=function(){return h()===3&&!!c},l))},c)}))}))});HH.U=!0;var Wya=_.T(function(a){function b(){}var c=_.aC(a.title),d=_.aC(a.subtitle),e=_.P(a.PJ||b),f=_.P(a.OJ||b),h=_.P(a.NJ||b),k,l={};return _.H("div",{class:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-header-wrapper",id:a.Ah,"on:touchstart":e,"on:touchmove":f,"on:touchend":h},_.H("div",{class:"yt-spec-bottom-sheet-layout__bottom-sheet-drag-line"}),((k=a.children)==null?void 0:k.dF)||_.H("div",{class:_.BD((l["yt-spec-bottom-sheet-layout__bottom-sheet-layout-header"]=!0,l["yt-spec-bottom-sheet-layout__bottom-sheet-layout-header--with-title"]=
c,l))},_.H("div",{class:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-header-title-wrapper"},_.H(_.O,{C:c},function(){return _.H(_.F,null,_.H("div",{class:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-title"},c),_.H(_.O,{C:d},function(){return _.H("div",{class:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-subtitle"},d)}))})),_.H(_.O,{C:function(){var m;return c()&&((m=a.children)==null?void 0:m.yi)}},function(){return _.H("div",{class:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-action-header"},
a.children.yi)})))});_.v(GH,_.UE);GH.prototype.Fd=function(){var a=this;window.addEventListener("resize",this.J);this.j.subscribe(function(b){a.M(b)})};GH.prototype.Uc=function(){window.removeEventListener("resize",this.J);this.ub&&(this.ub.disconnect(),this.ub=null)};
GH.prototype.render=function(){function a(){b.props.data.Jm?b.props.data.Jm():b.props.data.content&&_.WE(b.props.data.content,{})}var b=this,c={zf:this.zf,zb:this.state.zb,Nd:this.state.Nd,Ig:this.state.Ig,shouldShowIcons:this.props.data.shouldShowIcons,Sf:this.Sf,By:bza,ew:function(e){aza(b,e)}};if(_.M("bottom_sheet_layout_content_wiz"))c.children={header:function(){return _.H(Wya,Object.assign({},Xya(b)))},footer:function(){return _.H(HH,Object.assign({},Zya(b)))},body:function(){return _.H(_.Oo,
null,a)}},_.U(iWa)(c);else{var d={};(0,_.S)({className:_.ME((d["yt-spec-bottom-sheet-layout"]=!0,d["yt-spec-bottom-sheet-layout__bottom-sheet-renderer-container"]=!0,d["yt-spec-bottom-sheet-layout--modern"]=_.M("mweb_modern_typography"),d)),style:this.state.zb?"transform: translateY("+this.state.Nd+"px); transition: 0.2s;":""},function(){Yya(b);(0,_.S)({className:"yt-spec-bottom-sheet-layout__bottom-sheet-layout-content-wrapper",id:c.zf,onscroll:c.Sf,ontouchmove:function(e){e.stopPropagation()}},
function(e){c.ew(e);(0,_.S)({className:"yt-spec-bottom-sheet-layout__bottom-sheet-content",onclick:c.By},function(){(0,_.S)({className:_.ME({"bottom-sheet-content-without-icon":!c.shouldShowIcons})},a)});e.style.maxHeight=b.state.Ig+"px"});$ya(b)})}};GH.prototype.Qe=function(){this.j.dispatch("Close Sheet",{clientHeight:this.clientHeight,maxHeight:0});setTimeout(function(){bza()},250)};GH.tagName="bottom-sheet-layout";var JH=_.V({panelHeaderViewModel:function(a){var b=a.data;a={};a=_.ME("yt-panel-header-view-model-wiz",(a["yt-panel-header-view-model-wiz--hide-divider"]=!!b.shouldHideDivider,a["yt-panel-header-view-model-wiz--compact"]=!!b.subtitle,a));return _.H("yt-panel-header-view-model",{class:a},_.H("div",{class:"yt-panel-header-view-model-wiz__title-wrapper"},_.Km(b.title,function(){return _.zD(b.title,{className:"yt-panel-header-view-model-wiz__title"})}),_.Km(b.subtitle,function(){return _.zD(b.subtitle,
{className:"yt-panel-header-view-model-wiz__subtitle"})})),_.Km(b.trailingButtons,function(){return _.H("div",{class:"yt-panel-header-view-model-wiz__trailing-buttons"},fWa(b.trailingButtons,{buttonViewModel:{config:{className:"yt-panel-header-view-model-wiz__button"}}}))}))},listViewModel:Sya,upsellViewModel:_.DVa,panelFooterViewModel:_.MT,miniAppScoreChallengeViewModel:_.RVa});KH.prototype.Vh=function(a,b){var c=this,d,e,f;return _.z(function(h){if(h.j==1)return _.x(h,c.In(),2);if((d=h.o)&&!_.M("delay_sheet_open_killswitch")){if(b&&c.o===b)return(e=LH(c))==null||e.Qe(),h.return();c.j={data:a,target:b};return h.return()}a.viewModel&&(a={viewModel:a.viewModel,Zb:function(){_.U(dza)({data:a.viewModel})}});(f=LH(c))==null||f.Vh(a,b);c.o=b;_.wa(h)})};
KH.prototype.Qe=function(){var a=this,b;return _.z(function(c){if(c.j==1)return _.x(c,(b=LH(a))==null?void 0:b.Qe(),2);if(c.j!=4)return a.o=void 0,!a.j||_.M("delay_sheet_open_killswitch")?c.L(0):_.x(c,a.Vh(a.j.data,a.j.target),4);a.j=void 0;_.wa(c)})};KH.prototype.In=function(){var a=this,b,c;return _.z(function(d){return d.return((c=(b=LH(a))==null?void 0:b.In())!=null?c:!1)})};var OT={},mza=nr("yt-serviceworker-metadata",{Lg:(OT.auth={nf:1},OT["resource-manifest-assets"]={nf:2},OT),shared:!0,upgrade:function(a,b){b(1)&&a.createObjectStore("resource-manifest-assets");b(2)&&a.createObjectStore("auth")},version:2});PH.Qd=function(){var a;return _.z(function(b){if(b.j==1)return _.x(b,_.lr(),2);a=b.o;if(!a)return b.return();PH.j||(PH.j=new PH(a));return b.return(PH.j)})};var pza=self.location.origin+"/";qza([/\.css$/,/\.js$/,/\.ico$/,/\/ytmweb\/_\/js\//,/\/ytmweb\/_\/ss\//,/\/kabuki\/_\/js\//,/\/kabuki\/_\/ss\//,/\/ytmainappweb\/_\/ss\//]);qza([/purge_shell=1/]);var PT=void 0;PT=PT===void 0?[]:PT;for(var jWa=[],kWa=_.u(ETa),QT=kWa.next();!QT.done;QT=kWa.next())jWa.push({key:QT.value});for(var lWa=_.u(PT),RT=lWa.next();!RT.done;RT=lWa.next())jWa.push(RT.value);var mWa;_.ST=new _.jp("SHORTS_CONTROLLER_TOKEN");mWa=new _.jp("SHORTS_STATE_STORE_TOKEN");var Aza=_.Sa.devicePixelRatio||2;_.ba.Object.defineProperties(TH.prototype,{N:{configurable:!0,enumerable:!0,get:function(){return this.rootElement?this.rootElement.getPlayer().aQ():Promise.resolve(void 0)}}});TH[_.op]=[mWa,_.yG,_.mp(_.iT),_.mp(_.gQ)];_.g=VH.prototype;
_.g.start=function(a){if(this.state===0)if(this.Ae()){a.supportsHttpHeadersOverwriteParam!==void 0&&(this.supportsHttpHeadersOverwriteParam=a.supportsHttpHeadersOverwriteParam);a.startCustomCsiTimeline!==void 0&&(this.startCustomCsiTimeline=a.startCustomCsiTimeline);this.startCustomCsiTimeline&&_.yv("voice_assistant");_.Bv("voz_ms","voice_assistant");this.state=1;this.J=!1;this.languageCode=a.languageCode||"en-US";this.supportsCrossDomainXhr=a.supportsCrossDomainXhr||this.supportsCrossDomainXhr;this.youtubeAssistantRequest=
a.youtubeAssistantRequest||null;this.listeningHandler=a.listeningHandler||this.listeningHandler;this.audioDetectedHandler=a.audioDetectedHandler||this.audioDetectedHandler;this.stopHandler=a.stopHandler||this.stopHandler;this.completeHandler=a.completeHandler||this.completeHandler;this.transcriptionCompleteHandler=a.transcriptionCompleteHandler||this.transcriptionCompleteHandler;this.errorHandler=a.errorHandler||this.errorHandler;this.transcriptionUpdateHandler=a.transcriptionUpdateHandler||this.transcriptionUpdateHandler;
this.accessToken=a.accessToken;this.additionalHeaders=a.additionalHeaders||{};var b;this.prefetchResponseTimeoutMs=(b=a.prefetchResponseTimeoutMs)!=null?b:this.prefetchResponseTimeoutMs;Gza(this);this.St();Hza(this)}else this.errorHandler("OFFLINE")};_.g.stop=function(a){var b=a===void 0?{}:a;a=b.JG===void 0?!0:b.JG;var c=b.kl===void 0?!0:b.kl;var d=b.handleError===void 0?!0:b.handleError;b=b.Pk===void 0?!0:b.Pk;this.state!==0&&(a&&WH("voz_cx"),YH(this,{kl:c,Pk:b}),d&&this.errorHandler("ABORTED"))};
_.g.getState=function(){return this.state};_.g.isSupported=function(){return!0};_.g.Ut=function(a){(a===void 0||a)&&WH("voz_mf")};_.g.St=function(){WH("voz_vp");return _.pj(null)};_.g.Cd=function(a){_.av(a)};_.g.Ae=function(){return!0};_.v(ZH,VH);ZH.prototype.isSupported=function(){return UH()};
ZH.prototype.St=function(){function a(d){b.stream=d;if(!b.j)return _.pj(null);d=b.j.createMediaStreamSource(d);b.processor&&d.connect(b.processor);return _.pj(null)}var b=this;if(!navigator||!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia)return _.qj(null);this.j=new (window.AudioContext||window.webkitAudioContext)({latencyHint:"interactive"});this.processor=this.j.createScriptProcessor(1024,1,1);this.processor.onaudioprocess=function(d){Jza(b,d)};this.processor.connect(this.j.destination);
var c={audio:{sampleSize:16,channelCount:1},video:!1};this.stream?a(this.stream):navigator.mediaDevices.getUserMedia(c).then(a).catch(function(d){YH(b);d.name&&d.name==="NotAllowedError"?b.errorHandler("NO_MICROPHONE_PERMISSION"):(b.errorHandler("AUDIO_ERROR"),b.Cd(d));return _.qj(null)});return VH.prototype.St.call(this)};
ZH.prototype.Ut=function(a){a=a===void 0?!0:a;this.j&&(this.j.state==="running"&&this.processor&&(this.processor.onaudioprocess=function(){}),this.j.close(),this.j=null,this.stream&&(this.stream.getAudioTracks().forEach(function(b){b.stop()}),this.stream=null));this.processor=null;this.H=!1;VH.prototype.Ut.call(this,a)};ZH.prototype.Ae=function(){return navigator.onLine};var Lza={zL:"failure",pN:"no_input",OPEN:"open",lO:"success"};Kza.prototype.isPlaying=function(a){return a.currentTime>0&&!a.paused&&!a.ended&&a.readyState>2};_.g=aI.prototype;_.g.isEnabled=function(){return!!this.service};_.g.isSupported=function(){var a;return(a=this.service)==null?void 0:a.isSupported()};
_.g.start=function(){var a=this,b,c,d,e,f,h,k,l,m,n,p,q;return _.z(function(r){switch(r.j){case 1:a.store.dispatch(gra("",""));if(!navigator.onLine)return a.M("offline"),r.return();window.addEventListener("offline",a.J);a.stream=null;if(!a.A){r.L(2);break}_.xa(r,3);return _.x(r,Oza(a),5);case 5:b=r.o;if(!b)return(c=a.j)==null||$H(c,"failure"),r.return();a.service.stream=a.stream;a.M("listening");_.ya(r,2);break;case 3:_.Ba(r),a.A=!1;case 2:d={context:dka(yr())},d.youtubeAssistantParams={searchParams:{inlineSearchResponse:a.G}},
e=function(t,w){a.store.dispatch(hra("transcribing"));a.store.dispatch(gra(t,w))},f=function(){var t;(t=a.j)==null||$H(t,"open");a.M("listening")},h=function(){a.M("transcribing")},k=function(t){switch(t){case "OFFLINE":case "WEBCHANNEL_NETWORK_ERROR":case "WEBCHANNEL_SERVER_ERROR":case "WEBCHANNEL_UNKNOWN_ERROR":var w;(w=a.j)==null||$H(w,"failure");a.M("offline");break;case "NO_MICROPHONE_PERMISSION":if(a.A)Oza(a);else{var y;(y=a.j)==null||$H(y,"failure");a.M("permission-denied")}break;case "ABORTED":var B;
(B=a.j)==null||$H(B,"no_input");break;default:var A;(A=a.j)==null||$H(A,"no_input");a.M("timeout")}},l=function(t,w){var y;(y=a.j)==null||$H(y,"success");w&&_.hB("voice-search-complete",{AK:w})},m=function(){window.removeEventListener("offline",a.J)},n=hka(!1),p=a.o?n:{"X-Goog-Visitor-Id":n["X-Goog-Visitor-Id"]},q={completeHandler:l,errorHandler:k,listeningHandler:f,audioDetectedHandler:h,stopHandler:m,transcriptionUpdateHandler:e,youtubeAssistantRequest:d,languageCode:Pza(),additionalHeaders:p,supportsCrossDomainXhr:a.o||
!1,supportsHttpHeadersOverwriteParam:!a.B},a.service.start(q),_.wa(r)}})};_.g.stop=function(){this.service.getState()!==0&&this.service.stop()};_.g.reset=function(){this.store.dispatch(_.pA({type:"RESET_VOICE_SEARCH_STATE"}))};_.g.M=function(a){this.store.dispatch(hra(a))};var EBa=new _.jp("STATIC_APP_PROPS_TOKEN");var nWa=_.T(function(a){var b={alt:"",contentMode:"CONTENT_MODE_SCALE_ASPECT_FILL"};return _.H("animated-thumbnail-overlay-view-model",{class:"YtAnimatedThumbnailOverlayViewModelHost"},_.H(_.O,{C:function(){var c;return(c=a.data())==null?void 0:c.thumbnail}},function(){return _.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){_.rD(a.data().thumbnail,b)})})}))});var oWa=_.T(function(a){function b(){return c().enableSegmentView}var c=a.data;return _.H("yt-thumbnail-overlay-progress-bar-view-model",{class:"YtThumbnailOverlayProgressBarHost"},_.H(_.O,{C:b},function(){return _.H("div",{class:"YtThumbnailOverlayProgressBarHostProgressBar"},_.H("div",{class:_.ME("YtThumbnailOverlayProgressBarHostProgressBarLeftSegment","YtThumbnailOverlayProgressBarHostProgressBarSegment","YtThumbnailOverlayProgressBarHostProgressBarInactiveSegment"),style:function(){return"width:"+
c().startPercent+"%"}}),_.H("div",{class:_.ME("YtThumbnailOverlayProgressBarHostProgressBarContainer"),style:function(){return"width:"+c().segmentDurationPercent+"%"}},_.H("div",{class:_.ME("YtThumbnailOverlayProgressBarHostProgressBarActiveSegment","YtThumbnailOverlayProgressBarHostProgressBarSegment")}),_.H("div",{class:"YtThumbnailOverlayProgressBarHostLabel"},_.H("div",null," ",function(){return c().segmentLabel})),_.H("div",{class:"YtThumbnailOverlayProgressBarHostLabelTriangle"})),_.H("div",
{class:_.ME("YtThumbnailOverlayProgressBarHostProgressBarRightSegment","YtThumbnailOverlayProgressBarHostProgressBarSegment","YtThumbnailOverlayProgressBarHostProgressBarInactiveSegment")}))}),_.H(_.O,{C:function(){return!b()&&c().startPercent}},function(){var d={};return _.H("div",{class:_.ME("YtThumbnailOverlayProgressBarHostWatchedProgressBar",(d.YtThumbnailOverlayProgressBarHostUseLegacyBar=!_.M("web_enable_modern_progress_bar_overlay"),d))},_.H("div",{class:_.M("enable_cairo_refresh_signature_moments_web")?
"YtThumbnailOverlayProgressBarHostWatchedProgressBarSegmentModern":"YtThumbnailOverlayProgressBarHostWatchedProgressBarSegment",style:function(){return"width:"+c().startPercent+"%"}}))}))});oWa.U=!0;var pWa=new _.jp("MINIPLAYER_SERVICE");var bI=new _.jp("ICON_MANAGER_TOKEN");var TT=_.T(function(a){var b=_.Ow(),c=_.Lw(function(){return{value:null}});_.Mn(function(){var k;(k=c.value)==null||k.cancel()});var d=_.Wo(function(){return a.data().iconName}),e=_.Wo(function(){return a.data().iconStyle}),f=_.Wo(function(){return a.data().iconSize}),h=_.Wo(function(){return a.data().Ar});_.Xo(function(){var k={iconName:d(),iconStyle:e(),iconSize:f(),Ar:h()},l,m=(l=a.options)==null?void 0:l.call(a);Vza(b,c,k,m)});return _.H("span",{class:"yt-icon-shape",el:b})});
_.M("mweb_enable_keto_batch_icons")||(TT.U=!0);var hCa={AL:"youtube_fill",tN:"youtube_outline"};_.mK=_.T(function(a){var b=a.data;a={};return _.H("badge-shape",{class:_.BD("badge-shape-wiz",function(){return Xza(b().type)},(a["badge-shape-wiz--overlay"]=function(){return b().ja},a["badge-shape-wiz--ads-include-dot"]=function(){return b().YO},a["badge-shape-wiz--thumbnail-badge"]=function(){return b().Dg},a["badge-shape-wiz--no-text"]=function(){return!b().text},a)),style:_.gF({"background-color":function(){var c;return(c=b().customColors)==null?void 0:c.backgroundColor}}),role:function(){return b().accessibilityText?
"img":void 0},"aria-label":function(){return b().accessibilityText}},_.H(_.O,{C:function(){return b().animation}},function(c){return _.H(_.QE,{className:"badge-shape-wiz__icon",lottiePlayerProps:c,animationName:function(){return c().animationConfig.name||""}})}),_.H(_.O,{C:function(){var c;return b().icon&&!((c=b())==null?0:c.animation)}},function(){return _.H("div",{class:"badge-shape-wiz__icon"},_.H(TT,{data:function(){return{iconName:b().icon,iconSize:24,iconStyle:b().nu?"youtube_fill":"youtube_outline"}}}))}),
_.H("div",{class:"badge-shape-wiz__text"},function(){var c;return(c=b())==null?void 0:c.text}))});_.mK.U=!0;var qWa=_.T(function(a){function b(){var e,f=!((e=d())==null||!e.activated);if(a.data()){e=a.data();var h=void 0;e.icon&&(h=Zta(e.icon),h=eua(h));var k=void 0,l;if((l=e.backgroundColor)==null?0:l.lightTheme){var m;k={backgroundColor:_.fA((m=e.backgroundColor)==null?void 0:m.lightTheme,"1")}}if(f&&e.lottieData&&c){m=e.lottieData;var n,p,q;l={animationConfig:{name:m.url,path:m.url,autoplay:(n=m.settings)==null?void 0:n.autoplay,loop:(q=(p=m.settings)==null?void 0:p.loop)!=null?q:!0},animationRef:c}}else l=
void 0;a:switch(h){case "CHECK_CIRCLE_THICK":case "CONTENT_CUT":case "MUSIC":case "OFFICIAL_ARTIST_BADGE":case "YOUTUBE_SHORTS_FILL_NO_TRIANGLE_RED_16":case "COURSE":n=!0;break a;default:n=!1}a:switch(e.badgeStyle){case "THUMBNAIL_OVERLAY_BADGE_STYLE_LIVE":p=4;break a;default:p=0}f={type:p,text:f&&e.animatedText?e.animatedText:e.text,icon:h,ja:!0,Dg:!0,nu:n,customColors:k,animation:l}}else f=void 0;return f}var c=_.$E(),d=exa(function(e){var f,h,k;a:{var l=(f=a.data())==null?void 0:f.animationActivationTargetId;
f=((h=a.data())==null?void 0:h.animationActivationEntityKey)||"";h=(k=a.data())==null?void 0:k.animationActivationEntitySelectorType;if(f&&l)switch(h){case "THUMBNAIL_BADGE_ANIMATION_ENTITY_SELECTOR_TYPE_PLAYER_STATE":e=_.GA(e.entities,"playerStateEntity",f);k=_.K().resolve(_.mp(pWa));l=!!(e&&e.videoId===l&&(k==null?0:k.GQ()));l={activated:l,YH:l&&e.playerState==="PLAYER_STATE_PLAYING"};break a}l=void 0}return l});_.Xo(function(){var e;if((e=d())==null?0:e.activated){var f;if((f=d())==null?0:f.YH){var h;
(h=c.lottieEl)==null||h.goToAndPlay(0)}else{var k;(k=c.lottieEl)==null||k.goToAndStop(0)}}});return _.H("yt-thumbnail-badge-view-model",{class:_.BD("yt-thumbnail-badge-view-model-wiz",a.class)},_.H(_.O,{C:b},function(){return _.H(_.mK,{data:function(){return b()}})}))});var Yza=_.V({thumbnailBadgeViewModel:qWa,thumbnailOverlayProgressBarViewModel:oWa});_.co(Zza);var rWa=_.T(function(a){return _.H("yt-thumbnail-hover-overlay-toggle-actions-view-model",{class:"YtThumbnailHoverOverlayToggleActionsViewModelHost"},_.H(_.NF,{data:function(){return a.data().buttons||[]},wrapper:function(b){return _.H("div",{class:"YtThumbnailHoverOverlayToggleActionsViewModelButton"},b)},mapping:{toggleButtonViewModel:NVa}}))});var sWa=_.V({thumbnailBadgeViewModel:qWa});var cAa,dAa,eAa;
cAa=_.V({thumbnailOverlayTitleViewModel:_.cI,thumbnailOverlayBadgeViewModel:function(a){var b={};a:switch(a.data.position){case "THUMBNAIL_OVERLAY_BADGE_POSITION_TOP_START":var c="yt-thumbnail-overlay-badge-view-model-wiz--top-start";break a;default:c="yt-thumbnail-overlay-badge-view-model-wiz--bottom-end"}return _.H("yt-thumbnail-overlay-badge-view-model",{class:_.ME("yt-thumbnail-overlay-badge-view-model-wiz",c,aAa(a.thumbnailSize),(b["yt-thumbnail-overlay-badge-view-model-wiz--clip"]=a.isClip,
b))},sWa(a.data.thumbnailBadges,{thumbnailBadgeViewModel:{class:"yt-thumbnail-overlay-badge-view-model-wiz__badge"}}))},thumbnailBottomOverlayViewModel:Zza});dAa=_.V({thumbnailHoverOverlayViewModel:_.qH,thumbnailHoverOverlayToggleActionsViewModel:rWa});eAa=_.V({animatedThumbnailOverlayViewModel:nWa});_.tWa=_.kF(dI);var fAa=_.V({thumbnailViewModel:dI});var uWa=_.kF(_.eI);var vWa;vWa=_.V({thumbnailViewModel:dI});
_.wWa=_.kF(function(a){function b(){var k;return _.H("div",null,vWa(a.data.primaryThumbnail,{thumbnailViewModel:{width:a.width,height:a.height,aspectRatio:a.aspectRatio,Ue:a.Ue,className:f?"yt-collection-thumbnail-view-model--has-stacks":void 0,Rk:a.Rk,Og:a.Og}}),_.Km(e&&((k=a.data.thumbnails)==null?void 0:k.length),function(){return _.H("div",{class:"yt-collection-thumbnail-view-model__slideshow"},_.H(gAa,{data:a.data,Ue:!f}))}))}var c,d=(c=_.K().resolve(_.mp(_.LC)))==null?void 0:c(),e=jAa(a.Ge),
f=!(!a.data.primaryThumbnail||!_.M("mweb_modern_collections_v2")&&!_.M("web_modern_collections_v2"));c=a.data.stackColor;var h={Oc:f,thumbnailSize:$za(a.width,a.height),Cf:a.Cf,color:d?c==null?void 0:c.darkTheme:c==null?void 0:c.lightTheme,an:!1};return _.H("yt-collection-thumbnail-view-model",{class:"yt-collection-thumbnail-view-model","aria-hidden":"true"},_.Km(f,function(){return _.H(_.eI,{data:h},b())}),_.Km(!f,b))});var xWa=_.T(function(a){var b=_.Ow(),c=_.u(_.$o(0)),d=c.next().value,e=c.next().value;_.Jw(function(){var l=b.value;e(a.value());kAa(l,d(),a.minValue(),a.Dn())});c=_.P(function(l){var m;(m=a.Ng)==null||m.call(a,l);l=b.value;var n;l=(n=l==null?void 0:l.value)!=null?n:0;e(Number(l));kAa(b.value,d(),a.minValue(),a.Dn())});var f=_.P(function(l){var m;(m=a.onChange)==null||m.call(a,l)}),h=_.P(function(){var l=d()-a.Ll();b.value.valueAsNumber=l;b.value.dispatchEvent(new Event("input"))}),k=_.P(function(){var l=
d()+a.Ll();b.value.valueAsNumber=l;b.value.dispatchEvent(new Event("input"))});return _.H("slider-shape",{class:"YtSliderShapeHost"},_.H("button",{class:"YtSliderShapeHostIncrementButton",disabled:function(){return d()===a.minValue()},"on:click":h},_.H(_.Oo,null,function(){_.jF({qq:!0})}),_.H("div",{class:"YtSliderShapeHostIncrementButtonIconWrapper"},_.H(_.qT,{name:"BAR_HORIZONTAL",config:{className:"YtSliderShapeHostIncrementButtonIcon"}}))),_.H("input",{class:"YtSliderShapeHostSlider",type:"range",
id:"slider",el:b,min:a.minValue,max:a.maxValue,value:d,step:a.Ll,"on:input":c,"on:change":f}),_.H("button",{class:"YtSliderShapeHostIncrementButton",disabled:function(){return d()===a.maxValue()},"on:click":k},_.H(_.Oo,null,function(){_.jF({qq:!0})}),_.H("div",{class:"YtSliderShapeHostIncrementButtonIconWrapper"},_.H(_.qT,{name:"ADD",config:{className:"YtSliderShapeHostIncrementButtonIcon"}}))))});var yWa=_.T(function(a){function b(){var c;var d=a.data();if(d.maxValue!=null&&d.minValue!=null&&d.stepCount!=null&&d.stepCount>0){var e=(c=d.valueDenominator)!=null?c:1,f=(d.maxValue-d.minValue)/e,h=f/d.stepCount,k;c={value:((k=d.initialValue)!=null?k:d.minValue)/e,minValue:d.minValue/e,maxValue:d.maxValue/e,Dn:f,Ll:h,onChange:lAa(d.onSliderValueSetCommand,a.onChangeCallback),Ng:lAa(d.onSliderTouchCommand,a.uH),gS:!0}}else c={};return c}return _.H("div",{class:"YtHorizontalSliderViewModelHost"},
_.H(xWa,{value:function(){return b().value},minValue:function(){return b().minValue},maxValue:function(){return b().maxValue},Ll:function(){return b().Ll},Dn:function(){return b().Dn},onChange:function(c){b().onChange(c)},Ng:function(c){b().Ng(c)}}))});_.zWa=_.T(function(a){function b(){var l;if(!(l=c().switchButton)){var m=c();l=f==null?void 0:f();m={switchOnCommand:m.switchOnCommand,switchOffCommand:m.switchOffCommand,switchedOnByDefault:m.switchedOnByDefault,isDisabled:m.isDisabled,handleOnTapEventInParent:!0,a11yLabelSwitchedOn:m.a11yLabelSwitchedOn,a11yLabelSwitchedOff:m.a11yLabelSwitchedOff};l!==void 0&&(m.isDisabled=l);l={switchButtonViewModel:m}}return l}var c=a.data;var d=a.onTap;var e=a.ER;var f=a.GR;a=_.u(_.fF(function(){var l;return((l=
Jya(b()))==null?void 0:l.switchedOnByDefault)||!1}));var h=a.next().value,k=a.next().value;return _.H("switch-list-item-view-model",{class:"YtSwitchListItemViewModelHost"},_.H(_.eWa,{data:function(){return{title:c().title,subtitle:c().attributedSubtitle}},onTap:function(l){var m=Jya(b());m&&!m.isDisabled&&(d==null||d(l),Hya(m,h(),l),k(!h()),e==null||e(h()))},QJ:_.H(_.NF,{mapping:{switchButtonViewModel:dWa},data:b,Y:{switchButtonViewModel:{az:h,handleOnTapEventInParent:!!d}}})}))});_.UT=_.R("lockupViewModel","Za0Xqd");_.ZB(_.UT);_.VT=_.R("dialogViewModel","a731S");_.ZB(_.VT);_.WT=_.kF(_.hI,{callbacks:{Fk:!0,icon:!0,qF:!0,asset:!0,Di:!0,DG:!0,EG:!0,title:!0,vc:!0,RJ:!0,SJ:!0,content:!0,Hb:!0,primaryButton:!0,pc:!0,secondaryButton:!0,Xc:!0,wn:!0,ox:!0,en:!0,Nw:!0}});var cCa={GM:"LIKE",kN:"NOTIFICATION_BELL"};_.co(_.kI);var AWa=new _.jp("ICON_SET_TOKEN"),BWa=new _.jp("ICON_URL_PROVIDER_TOKEN");var aBa=["https://fonts.gstatic.com","https://tv.youtube.com","https://www.gstatic.com","https://www.youtube.com"],XAa=_.wp("wil_icon_max_concurrent_fetches",Infinity);rI.prototype.ba=function(a,b){var c=this;return _.z(function(d){return d.return(ZAa(c,a).then(function(e){$Aa(c,a,e,b);return e}))})};rI.prototype.ha=function(a,b){return _.z(function(c){return b?c.return(b.match(a).then(function(d){return d&&d.ok?d:Promise.reject()})):c.return(Promise.reject())})};rI.prototype.Wf=function(a){return this.ta.Wf(a)};
rI[_.op]=[AWa,_.oT];_.v(vI,_.UE);vI.prototype.Fd=function(){cBa(this,this.props.data)};vI.prototype.ge=function(a){var b=this.props.data,c=a.data;b.iconName===c.iconName&&b.iconStyle===c.iconStyle&&b.iconSize===c.iconSize&&b.sx===c.sx&&b.Ar===c.Ar||cBa(this,a.data)};vI.prototype.render=function(){wn()};vI.tagName="icon-shape";var Z={},CWa=(Z.ACCESS_TIME="clock",Z.ACCOUNT_BOX="person_account",Z.ACCOUNT_BOX_CAIRO="person_account_cairo",Z.ACCOUNT_CIRCLE="person_circle",Z.ACCOUNT_CIRCLE_CAIRO="person_circle_cairo",Z.ACCOUNT_LINKED="account_link_success",Z.ACCOUNT_UNLINKED="account_link",Z.ADD_FRIEND="people",Z.ADD_TO_LIBRARY=wI("add"),Z.ADD_TO_PLAYLIST=_.xp("mweb_save_to_button_client_icon")?_.xp("mweb_save_to_button_client_icon"):"add",Z.ADD_TO_QUEUE_TAIL="list_queue",Z.ADD_TO_REMOTE_QUEUE="list_music",Z.ADD_TO_WATCH_LATER=
"clock",Z.ADD_VIDEO_LINK="film_strip_add",Z.ALERT_WARN_RED="alert_triangle",Z.ARROW_BACK="arrow_left",Z.ARROW_DROP_DOWN="chevron_down",Z.ARROW_DROP_UP="chevron_up",Z.ARROW_FORWARD="arrow_right",Z.AUDIOTRACK="audio",Z.AUTO_AWESOME="sparkle",Z.AVATAR_ANONYMOUS="person_circle",Z.AVATAR_LOGGED_OUT="person_circle",Z.BACK="arrow_left",Z.BAR_CHART="bar_graph",Z.BLOCK="slash_circle_left",Z.BLOCK_USER="slash_circle_left",Z.BOOKMARK_BORDER="bookmark",Z.BREAKING_NEWS_ALT_1="article_alert",Z.BROADCAST_CAIRO=
"podcast_cairo",Z.BUG_REPORT="bug",Z.CAMERA_ALT="camera",Z.CANCEL="x_circle",Z.CAPTIONS="closed_caption",Z.CAST_OUTLINE="chromecast",Z.CHANNEL_NOTIFICATION_PREFERENCE_OFF="bell",Z.CHANNEL_NOTIFICATION_PREFERENCE_ON="bell_on",Z.CHAT="message_bubble_left",Z.CHECK_CIRCLE_OUTLINE="check_circle",Z.CHECK_CIRCLE_THICK="check_circle",Z.CLARIFY="article_clarify",Z.CLOSED_CAPTION_SELECTED="closed_caption",Z.CLOSE="x_mark",Z.CLOUD_UPLOAD="cloud_arrow_up",Z.COLLAPSE="chevron_up",Z.COLLAPSE_CAIRO="chevron_up_cairo",
Z.COLLECTION="layers",Z.COMMENT="message_bubble_right",Z.CONSENT_SHIELD="person_shield",Z.CONTENT_CUT="scissors",Z.CONTENT_CUT_CAIRO="scissors_cairo",Z.COURSE=_.M("web_enable_course_icon_update")?"creator_academy":"lightbulb",Z.COURSE_CAIRO=_.M("web_enable_course_icon_update")?"creator_academy_cairo":"lightbulb_cairo",Z.CREATION_LIVE="radar_live",Z.CREATION_UPLOAD="my_videos",Z.CREATION_UPLOAD_RED="upload",Z.CREATOR_STUDIO="youtube_studio",Z.DELETE="trash_can",Z.DELETE_SWEEP="trash_can",Z.DESKTOP=
"laptop",Z.DISLIKE="thumb_down",Z.DISLIKE_SELECTED="thumb_down",Z.DISMISSAL="x_mark",Z.DOWN_ARROW="arrow_down",Z.DO_NOT_DISTURB="slash_circle_left",Z.DRAFT="paper_corner_folded",Z.DRAG_HANDLE="bars_2",Z.EDIT="pencil",Z.EMOJI="face_very_happy",Z.EMOJI_FLAGS="flag",Z.EMOJI_OBJECTS="lightbulb",Z.EMOJI_PEOPLE="face_very_happy",Z.EMOJI_RECENT="clock",Z.EMPTY_HEART="heart",Z.EMPTY_LIKE="thumb_up",Z.ERROR_BLACK="alert_circle",Z.ERROR_OUTLINE="alert_circle",Z.EXIT_APP="arrow_in",Z.EXIT_TO_APP="arrow_in",
Z.EXPAND="chevron_down",Z.EXPAND_ALL="chevron_expand",Z.EXPAND_CAIRO="chevron_down_cairo",Z.EXPAND_LESS="chevron_up",Z.EXPAND_MORE="chevron_down",Z.EXPLORE="compass",Z.EXPLORE_DESTINATION="compass",Z.EXTERNAL_LINK="open_new",Z.FAB_UPLOAD="upload",Z.FACT_CHECK="article_check",Z.FASHION_LOGO="fashion",Z.FASHION_LOGO_CAIRO="fashion_cairo",Z.FEEDBACK="message_bubble_alert",Z.FEEDBACK_CAIRO="message_bubble_alert_cairo",Z.FILL_ARROW_SOLID_DOWN_16="arrow_solid_down",Z.FILL_ARROW_SOLID_UP_16="arrow_solid_up",
Z.FILL_DOLLAR_SIGN_HEART_12="dollar_sign_heart",Z.FLAG="flag",Z.FULL_HEART="heart",Z.GAMING_LOGO="gaming",Z.GAMING_LOGO_CAIRO="gaming_cairo",Z.GO_TO_PAGE="arrow_right",Z.HAPPY="face_happy",Z.HEALTH_AND_SAFETY="shield_plus",Z.HELP="question_circle",Z.HELP_CAIRO="question_circle_cairo",Z.HELP_OUTLINE="question_circle",Z.HIDE="slash_circle_left",Z.IMAGE="image",Z.INFINITY_ICON="infinity",Z.INFO="info_circle",Z.INFO_OUTLINE="info_circle",Z.INSERT_PHOTO="image",Z.KEEP="pin",Z.KEEP_OFF="pin_off",Z.KEYBOARD=
"keyboard",Z.KEYBOARD_ARROW_DOWN="chevron_down",Z.KEYBOARD_ARROW_UP="chevron_up",Z.KIDS_BLOCK="slash_circle_left",Z.LANGUAGE="globe",Z.LAUNCH="open_new",Z.LIBRARY_ADD=wI("library_add"),Z.LIBRARY_OUTLINE="library",Z.LIBRARY_REMOVE=wI(),Z.LIKES_PLAYLIST="thumb_up",Z.LIKES_PLAYLIST_CAIRO="thumb_up_cairo",Z.LIKE="thumb_up",Z.LIKE_SELECTED="thumb_up",Z.LIVE="radar_live",Z.LIVE_CAIRO="radar_live_cairo",Z.LIVE_UNLISTED="link",Z.LOCATION_ON="location_point",Z.LOCATION_PIN="location_point",Z.LOOP="arrow_repeat",
Z.LOOP_ACTIVE="arrow_repeat",Z.LOOP_ONE="arrow_repeat_1",Z.LOOP_ONE_ACTIVE="arrow_repeat_1",Z.MEH="face_meh",Z.MEMBERS_ONLY_MODE_OFF="message_bubble_left",Z.MESSAGE="message_bubble_left",Z.MICROPHONE_ON="mic",Z.MIX="youtube_mix",Z.MONETIZATION_ON="dollar_sign_circle",Z.MONEY_FILL="dollar_sign_container",Z.MONEY_FILL_JPY="yen_sign_container",Z.MONEY_HEART="dollar_sign_heart",Z.MORE_HORIZ="overflow_horizontal",Z.MORE_VERT="overflow_vertical",Z.MUSIC="audio",Z.MUSIC_CAIRO="audio_cairo",Z.MUSIC_NOTE_SYMBOL=
"music",Z.MUSIC_SHUFFLE="arrow_shuffle",Z.MY_CHANNEL="person_circle",Z.MY_LOCATION="location_point",Z.NEWS_STORY="news",Z.NEXT="chevron_right",Z.NOTIFICATIONS="bell",Z.NOTIFICATIONS_ACTIVE="bell_on",Z.NOTIFICATIONS_CAIRO="bell_cairo",Z.NOTIFICATIONS_DONE_CHECKMARK="check",Z.NOTIFICATIONS_INBOX="bell",Z.NOTIFICATIONS_NONE="bell",Z.NOTIFICATIONS_OFF="bell_off",Z.NOT_INTERESTED="slash_circle_left",Z.OFFICIAL_ARTIST_BADGE="audio",Z.OFFLINE_CLOUD="cloud_off",Z.OFFLINE_DOWNLOAD="download",Z.OFFLINE_DOWNLOAD_CAIRO=
"download_cairo",Z.OPEN_IN_NEW="open_new",Z.OUTLINE_ADJUST="adjust",Z.OUTLINE_ARROW_SOLID_DOWN_16="arrow_solid_down",Z.OUTLINE_ARROW_SOLID_UP_16="arrow_solid_up",Z.OUTLINE_BAG="bag",Z.OUTLINE_OVERFLOW_HORIZONTAL_32="overflow_horizontal",Z.OUTLINE_YOUTUBE_IMPROVE_TV="youtube_improve_tv",Z.PAID="dollar_sign",Z.PAUSE_OUTLINED="pause",Z.PAYMENT="credit_card",Z.PHONE_DOWNLOAD="mobile_download",Z.PLAYABLES_LOGO="tic_tac_toe",Z.PLAYABLES_LOGO_CAIRO="tic_tac_toe_cairo",Z.PLAYLISTS="list_play_arrow",Z.PLAYLISTS_CAIRO=
"list_play_arrow_cairo",Z.PLAYLIST_ADD=wI("list_add"),Z.PLAYLIST_ADD_CHECK=wI("list_check"),Z.PLAY_ALL="play_arrow",Z.PLAY_CIRCLE="play_arrow_circle",Z.PLAY_OUTLINED="play_arrow_circle",Z.PRIVACY_PRIVATE="lock",Z.PRIVACY_PUBLIC="earth",Z.PRIVACY_UNLISTED="link",Z.PROMOTE="megaphone",Z.PURCHASES="price_tag",Z.PURCHASE_SUPER_CHAT="super_chat",Z.PURCHASE_SUPER_STICKER="super_sticker",Z.QUESTION_ANSWER="message_bubble_question",Z.QUEUE_PLAY_LAST="list_queue_last",Z.REMOVE="bar_circle",Z.REMOVE_CIRCLE=
"bar_circle",Z.REMOVE_CIRCLE_OUTLINE="bar_circle",Z.REMOVE_FROM_HISTORY="bar_circle",Z.REMOVE_FROM_PLAYLIST="bar_circle",Z.REPLAY="arrow_circle",Z.REPORT_PROBLEM="alert_triangle",Z.SAD="face_sad",Z.SAVE_PLAYLIST=wI("library_add"),Z.SCHEDULE="clock",Z.SCHOOL="creator_academy",Z.SCREEN_FULLSCREEN="screen_full",Z.SEARCH_HISTORY="arrow_time",Z.SELL="price_tag",Z.SETTINGS="gear",Z.SETTINGS_CAIRO="gear_cairo",Z.SETTINGS_LIGHT="gear",Z.SETTINGS_MATERIAL="gear",Z.SHARE_ARROW="share",Z.SHIELD_WITH_AVATAR=
"person_shield",Z.SHOPPING_BAG="bag",Z.SHOPPING_BAG_CAIRO="bag_cairo",Z.SHOPPING_CART="cart",Z.SHORTS_COMMENT="youtube_shorts_message_bubble_right",Z.SHORTS_DISLIKE="youtube_shorts_thumb_down",Z.SHORTS_LIKE="youtube_shorts_thumb_up",Z.SHORTS_SHARE="youtube_shorts_share",Z.SHUFFLE="arrow_shuffle",Z.SLOW_MODE_OFF="message_bubble_left",Z.SOCIAL="people",Z.SORT="menu_sort",Z.SPEED_1X="1x",Z.SPEED_1_POINT_2X="1_point_2x",Z.SPEED_1_POINT_5X="1_point_5x",Z.SPEED_1_POINT_8X="1_point_8x",Z.SPEED_2X="2x",Z.SPEED_POINT_2X=
"point_2x",Z.SPEED_POINT_8X="point_8x",Z.SPONSORSHIP_STAR="memberships",Z.STAFF_PICK="spotlight",Z.START_DVR="add",Z.STAR_BORDER="star",Z.STICKER_EMOTICON="face_happy",Z.STOP_DVR="stop",Z.SUBSCRIBE="youtube_logo_icon",Z.SUBSCRIPTION_MANAGER="gear",Z.SUPERVISOR_ACCOUNT="people",Z.SWAP_HORIZ="arrow_swap_horizontal",Z.SWITCH_ACCOUNTS="person_account",Z.TAB_ACCOUNT="person",Z.TAB_ACTIVITY="bell",Z.TAB_EXPLORE="compass",Z.TAB_HOME="home",Z.TAB_HOME_CAIRO="home_cairo",Z.TAB_INBOX="mail",Z.TAB_LIKED="thumb_up",
Z.TAB_SHORTS="youtube_shorts",Z.TAB_SHORTS_CAIRO="youtube_shorts_cairo",Z.TAB_SUBSCRIPTIONS="subscriptions",Z.TAB_SUBSCRIPTIONS_CAIRO="subscriptions_cairo",Z.TAB_TRENDING="fire",Z.TIMER="stopwatch",Z.TRENDING="fire",Z.TRENDING_CAIRO="fire_cairo",Z.TRENDING_UP="rating_up",Z.TROPHY="trophy",Z.TUNE="adjust",Z.UNBLOCK_USER="bar_circle",Z.UNLIMITED="youtube_logo_icon",Z.UNPLUGGED_LIVE_GUIDE="radar_live",Z.UNPLUGGED_SPORTS="eye_off",Z.UPLOADS="library",Z.UP_ARROW="arrow_up",Z.VERTICAL_ALIGN_BOTTOM="download",
Z.VERY_HAPPY="face_very_happy",Z.VERY_SAD="face_very_sad",Z.VIDEOS="play_arrow_circle",Z.VIDEO_CALL="video_camera_add",Z.VIDEO_LIBRARY_WHITE="library",Z.VIDEO_YOUTUBE="youtube_logo_icon",Z.VIEW_LIST="list_view",Z.VIEW_LIST_CAIRO="list_view_cairo",Z.VISIBILITY="eye",Z.VISIBILITY_OFF="eye_off",Z.VOLUME_MUTE="volume_off",Z.VOLUME_UP="volume_on",Z.WALLPAPER="image",Z.WARNING="alert_triangle",Z.WATCH_HISTORY="arrow_time",Z.WATCH_HISTORY_CAIRO="arrow_time_cairo",Z.WATCH_LATER="clock",Z.WATCH_LATER_CAIRO=
"clock_cairo",Z.WATCH_RELATED_MIX="youtube_mix",Z.WHAT_TO_WATCH="home",Z.YOUTUBE_MUSIC_MONOCHROME="youtube_music",Z.YOUTUBE_MUSIC_MONOCHROME_CAIRO="youtube_music_cairo",Z.YOUTUBE_SHORTS_FILL_NO_TRIANGLE_RED_16="youtube_shorts_no_triangle",Z.YOUTUBE_SHORTS_FILL_NO_TRIANGLE_WHITE_16="youtube_shorts_no_triangle",Z);var DWa={15:[{style:"youtube_outline",version:3,size:24}],"1_point_2x":[{style:"youtube_outline",version:1,size:24}],"1_point_5x":[{style:"youtube_outline",version:1,size:24}],"1_point_8x":[{style:"youtube_outline",version:1,size:24}],"1x":[{style:"youtube_outline",version:1,size:24}],"2_point_5x":[{style:"youtube_outline",version:1,size:24}],"2x":[{style:"youtube_outline",version:3,size:24}],"3x":[{style:"youtube_outline",version:3,size:24}],"4k":[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",
version:2,size:24}],60:[{style:"youtube_outline",version:3,size:24}],"8k":[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],accessibility:[{style:"youtube_outline",version:2,size:24}],account_link:[{style:"youtube_outline",version:6,size:24}],account_link_error:[{style:"youtube_outline",version:5,size:24}],account_link_some:[{style:"youtube_fill",version:5,size:24}],account_link_success:[{style:"youtube_fill",version:5,size:24}],add:[{style:"youtube_outline",version:7,
size:16},{style:"youtube_outline",version:7,size:24}],add_cairo:[{style:"youtube_outline",version:2,size:24}],add_circle:[{style:"youtube_outline",version:3,size:24},{style:"youtube_outline",version:3,size:36}],add_half_circle:[{style:"youtube_outline",version:2,size:24}],adjust:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],airplay:[{style:"youtube_outline",version:4,size:24}],airplay_off:[{style:"youtube_outline",version:1,size:24}],album:[{style:"youtube_fill",
version:4,size:24},{style:"youtube_outline",version:4,size:24}],alert_circle:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",version:7,size:16},{style:"youtube_outline",version:7,size:24}],alert_triangle:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],align_center:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],align_left:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],
align_right:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],arrow_caps:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],arrow_circle:[{style:"youtube_outline",version:6,size:24},{style:"youtube_outline",version:6,size:48}],arrow_circle_dash:[{style:"youtube_outline",version:1,size:24}],arrow_circle_play:[{style:"youtube_outline",version:1,size:24},{style:"youtube_outline",version:1,size:36},{style:"youtube_outline",version:1,
size:48}],arrow_circle_right:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:12},{style:"youtube_outline",version:3,size:16},{style:"youtube_outline",version:3,size:18},{style:"youtube_outline",version:3,size:24}],arrow_diagonal:[{style:"youtube_outline",version:5,size:24}],arrow_diagonal_down_right:[{style:"youtube_fill",version:1,size:12},{style:"youtube_fill",version:1,size:16},{style:"youtube_fill",version:1,size:18},{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",
version:1,size:12},{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:18},{style:"youtube_outline",version:1,size:24}],arrow_diagonal_up_right:[{style:"youtube_fill",version:1,size:12},{style:"youtube_fill",version:1,size:16},{style:"youtube_fill",version:1,size:18},{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:12},{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:18},{style:"youtube_outline",version:1,
size:24}],arrow_down:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],arrow_down_circle:[{style:"youtube_fill",version:1,size:24}],arrow_flip:[{style:"youtube_outline",version:8,size:16},{style:"youtube_outline",version:8,size:24}],arrow_in:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],arrow_left:[{style:"youtube_outline",version:6,size:24,cd:!0}],arrow_left_cairo:[{style:"youtube_outline",version:2,size:24}],arrow_out:[{style:"youtube_fill",
version:1,size:24}],arrow_pause:[{style:"youtube_outline",version:1,size:24}],arrow_redo:[{style:"youtube_outline",version:1,size:24}],arrow_remix:[{style:"youtube_outline",version:1,size:24}],arrow_repeat:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],arrow_repeat_1:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],arrow_right:[{style:"youtube_outline",version:2,size:24,cd:!0}],arrow_shuffle:[{style:"youtube_fill",version:5,
size:24},{style:"youtube_outline",version:5,size:24}],arrow_skip_forward:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],arrow_solid_down:[{style:"youtube_fill",version:1,size:16},{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],arrow_solid_up:[{style:"youtube_fill",version:1,size:16},{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",
version:1,size:24}],arrow_split:[{style:"youtube_outline",version:1,size:24}],arrow_swap_horizontal:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],arrow_time:[{style:"youtube_fill",version:8,size:24},{style:"youtube_outline",version:8,size:24}],arrow_time_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],arrow_time_forward:[{style:"youtube_outline",version:1,size:24}],arrow_undo:[{style:"youtube_outline",version:1,
size:24}],arrow_up:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],arrow_up_circle:[{style:"youtube_fill",version:1,size:24}],arrows_alert:[{style:"youtube_outline",version:1,size:24}],article:[{style:"youtube_outline",version:2,size:24}],article_alert:[{style:"youtube_outline",version:2,size:24}],article_check:[{style:"youtube_outline",version:2,size:24}],article_clarify:[{style:"youtube_outline",version:2,size:24}],audio:[{style:"youtube_fill",version:5,size:24},
{style:"youtube_outline",version:5,size:24}],audio_badge:[{style:"youtube_fill",version:1,size:12},{style:"youtube_fill",version:1,size:16},{style:"youtube_fill",version:1,size:24}],audio_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],audio_off:[{style:"youtube_outline",version:2,size:24}],audio_surround:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],background:[{style:"youtube_outline",version:1,size:24}],backspace:[{style:"youtube_fill",
version:2,size:24},{style:"youtube_outline",version:2,size:24}],bag:[{style:"youtube_fill",version:4,size:18},{style:"youtube_fill",version:4,size:24},{style:"youtube_outline",version:4,size:18},{style:"youtube_outline",version:4,size:24}],bag_bookmark:[{style:"youtube_outline",version:1,size:24}],bag_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],bar_circle:[{style:"youtube_outline",version:4,size:24}],bar_graph:[{style:"youtube_fill",version:2,size:24},
{style:"youtube_outline",version:2,size:24}],bar_graph_box_vertical:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],bar_horizontal:[{style:"youtube_outline",version:2,size:16},{style:"youtube_outline",version:2,size:24}],bars_2:[{style:"youtube_outline",version:9,size:16},{style:"youtube_outline",version:9,size:24}],bars_3:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],beaker:[{style:"youtube_outline",version:1,size:24}],
bell:[{style:"youtube_fill",version:8,size:24},{style:"youtube_outline",version:8,size:24}],bell_cairo:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],bell_off:[{style:"youtube_outline",version:5,size:24}],bell_off_cairo:[{style:"youtube_outline",version:2,size:24}],bell_on:[{style:"youtube_fill",version:6,size:24}],bell_on_cairo:[{style:"youtube_fill",version:2,size:24}],blur:[{style:"youtube_outline",version:1,size:24}],book:[{style:"youtube_outline",version:1,
size:24}],bookmark:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],bookmark_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],box_bar:[{style:"youtube_fill",version:3,size:24}],box_check:[{style:"youtube_fill",version:5,size:18},{style:"youtube_fill",version:5,size:24},{style:"youtube_fill",version:5,size:36}],box_chevron_right:[{style:"youtube_outline",version:3,size:24}],box_dashed_triangle:[{style:"youtube_outline",
version:3,size:24}],box_empty:[{style:"youtube_outline",version:5,size:24}],box_open_check:[{style:"youtube_outline",version:3,size:16},{style:"youtube_outline",version:3,size:24}],box_pencil:[{style:"youtube_outline",version:3,size:16},{style:"youtube_outline",version:3,size:24}],box_placeholder_left:[{style:"youtube_outline",version:1,size:24}],box_search:[{style:"youtube_outline",version:1,size:24}],boxes_2:[{style:"youtube_outline",version:3,size:24}],briefcase:[{style:"youtube_outline",version:1,
size:24}],brightness:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],broadcast:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:16},{style:"youtube_outline",version:2,size:18},{style:"youtube_outline",version:2,size:24},{style:"youtube_outline",version:2,size:48}],bug:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],business:[{style:"youtube_outline",version:2,size:24}],calendar:[{style:"youtube_fill",
version:2,size:24},{style:"youtube_outline",version:2,size:24}],camera:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",version:7,size:24}],camera_audio:[{style:"youtube_outline",version:4,size:24}],camera_effects:[{style:"youtube_outline",version:4,size:24}],camera_flip:[{style:"youtube_outline",version:3,size:24}],camera_hashtag:[{style:"youtube_outline",version:4,size:24}],camera_switch:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],cart:[{style:"youtube_fill",
version:2,size:24},{style:"youtube_outline",version:2,size:24}],celebration:[{style:"youtube_outline",version:1,size:24}],check:[{style:"youtube_fill",version:8,size:16},{style:"youtube_fill",version:8,size:24},{style:"youtube_outline",version:8,size:16},{style:"youtube_outline",version:8,size:24}],check_circle:[{style:"youtube_fill",version:8,size:18},{style:"youtube_fill",version:8,size:24},{style:"youtube_outline",version:8,size:24}],check_double:[{style:"youtube_outline",version:1,size:24}],check_double_off:[{style:"youtube_outline",
version:1,size:24}],chevron_collapse:[{style:"youtube_outline",version:2,size:24}],chevron_down:[{style:"youtube_outline",version:7,size:18},{style:"youtube_outline",version:7,size:24}],chevron_down_cairo:[{style:"youtube_outline",version:2,size:24}],chevron_down_circle:[{style:"youtube_fill",version:1,size:24}],chevron_expand:[{style:"youtube_outline",version:4,size:24}],chevron_left:[{style:"youtube_outline",version:8,size:16,cd:!0},{style:"youtube_outline",version:8,size:18,cd:!0},{style:"youtube_outline",
version:8,size:24,cd:!0}],chevron_left_circle:[{style:"youtube_fill",version:1,size:24}],chevron_left_ios:[{style:"youtube_outline",version:1,size:24}],chevron_left_ios_cairo:[{style:"youtube_outline",version:2,size:24}],chevron_right:[{style:"youtube_outline",version:4,size:16,cd:!0},{style:"youtube_outline",version:4,size:18,cd:!0},{style:"youtube_outline",version:4,size:24,cd:!0}],chevron_right_cairo:[{style:"youtube_outline",version:2,size:24}],chevron_right_circle:[{style:"youtube_fill",version:1,
size:24}],chevron_right_ios:[{style:"youtube_outline",version:1,size:24}],chevron_up:[{style:"youtube_outline",version:7,size:16},{style:"youtube_outline",version:7,size:18},{style:"youtube_outline",version:7,size:24}],chevron_up_cairo:[{style:"youtube_outline",version:2,size:24}],chevron_up_circle:[{style:"youtube_fill",version:1,size:24}],chromecast:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],chromecast_animate_frame_1:[{style:"youtube_outline",version:5,
size:24}],chromecast_animate_frame_2:[{style:"youtube_outline",version:5,size:24}],chromecast_animate_frame_3:[{style:"youtube_outline",version:5,size:24}],chromecast_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],chromecast_mobile:[{style:"youtube_outline",version:2,size:24},{style:"youtube_outline",version:2,size:36}],circle:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],circle_full:[{style:"youtube_fill",version:2,
size:24}],circle_half_full:[{style:"youtube_outline",version:1,size:24}],circles_6:[{style:"youtube_fill",version:1,size:24}],circles_overlap:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],clapperboard:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],clapperboard_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],clock:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",
version:7,size:16},{style:"youtube_outline",version:7,size:24}],clock_arrows:[{style:"youtube_outline",version:1,size:24}],clock_arrows_alert:[{style:"youtube_outline",version:1,size:24}],clock_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],clock_half_circle:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],closed_caption:[{style:"youtube_fill",version:10,size:24},{style:"youtube_outline",version:10,size:24}],cloud:[{style:"youtube_outline",
version:1,size:24}],cloud_arrow_down:[{style:"youtube_outline",version:2,size:24}],cloud_arrow_up:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],cloud_check:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],cloud_ellipsis:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],cloud_off:[{style:"youtube_outline",version:2,size:24}],code:[{style:"youtube_outline",version:1,size:24}],compass:[{style:"youtube_fill",
version:6,size:24},{style:"youtube_outline",version:6,size:24}],compass_cairo:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],controller:[{style:"youtube_outline",version:1,size:24}],copy:[{style:"youtube_outline",version:2,size:24}],copyright:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],creator_academy:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],creator_academy_cairo:[{style:"youtube_fill",
version:2,size:24},{style:"youtube_outline",version:2,size:24}],credit_card:[{style:"youtube_outline",version:2,size:24}],crop:[{style:"youtube_outline",version:2,size:16},{style:"youtube_outline",version:2,size:24}],crop_rotate:[{style:"youtube_outline",version:1,size:24}],crown:[{style:"youtube_outline",version:1,size:12},{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],curve_s:[{style:"youtube_fill",version:1,size:24}],dashboard_plus:[{style:"youtube_outline",
version:1,size:16},{style:"youtube_outline",version:1,size:18},{style:"youtube_outline",version:1,size:20},{style:"youtube_outline",version:1,size:24}],die_3:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],directions:[{style:"youtube_outline",version:2,size:24}],dogfood:[{style:"youtube_outline",version:1,size:24}],dollar_sign:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",version:7,size:24}],dollar_sign_circle:[{style:"youtube_fill",version:8,
size:16},{style:"youtube_fill",version:8,size:24},{style:"youtube_outline",version:8,size:16},{style:"youtube_outline",version:8,size:24}],dollar_sign_circle_pause:[{style:"youtube_outline",version:1,size:24}],dollar_sign_circle_plus:[{style:"youtube_outline",version:1,size:24}],dollar_sign_container:[{style:"youtube_outline",version:7,size:24}],dollar_sign_heart:[{style:"youtube_fill",version:20,size:12},{style:"youtube_fill",version:20,size:24},{style:"youtube_outline",version:20,size:16},{style:"youtube_outline",
version:20,size:24}],dollar_sign_off:[{style:"youtube_outline",version:3,size:24}],download:[{style:"youtube_fill",version:9,size:24},{style:"youtube_outline",version:9,size:16},{style:"youtube_outline",version:9,size:24}],download_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],downloaded:[{style:"youtube_fill",version:7,size:24}],downloading:[{style:"youtube_outline",version:5,size:24}],downloading_0:[{style:"youtube_outline",version:5,size:24}],downloading_1:[{style:"youtube_outline",
version:6,size:24}],downloading_2:[{style:"youtube_outline",version:6,size:24}],downloading_3:[{style:"youtube_outline",version:6,size:24}],downloading_4:[{style:"youtube_outline",version:6,size:24}],downloading_5:[{style:"youtube_outline",version:7,size:24}],downloading_6:[{style:"youtube_outline",version:6,size:24}],drive_add:[{style:"youtube_outline",version:2,size:24}],earth:[{style:"youtube_fill",version:12,size:24},{style:"youtube_outline",version:12,size:16},{style:"youtube_outline",version:12,
size:18},{style:"youtube_outline",version:12,size:24}],explicit:[{style:"youtube_fill",version:5,size:18},{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],eye:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],eye_off:[{style:"youtube_outline",version:4,size:24}],eyedropper:[{style:"youtube_outline",version:1,size:24}],face_arrows_diagonal:[{style:"youtube_outline",version:1,size:24}],face_happy:[{style:"youtube_fill",version:7,
size:24},{style:"youtube_fill",version:7,size:36},{style:"youtube_outline",version:7,size:24},{style:"youtube_outline",version:7,size:36}],face_image:[{style:"youtube_outline",version:1,size:24}],face_meh:[{style:"youtube_fill",version:7,size:24},{style:"youtube_fill",version:7,size:36},{style:"youtube_outline",version:7,size:24},{style:"youtube_outline",version:7,size:36}],face_meh_2:[{style:"youtube_fill",version:6,size:24},{style:"youtube_fill",version:6,size:36},{style:"youtube_outline",version:6,
size:24},{style:"youtube_outline",version:6,size:36}],face_paintbrush:[{style:"youtube_outline",version:1,size:24}],face_sad:[{style:"youtube_fill",version:7,size:24},{style:"youtube_fill",version:7,size:36},{style:"youtube_outline",version:7,size:24},{style:"youtube_outline",version:7,size:36}],face_unhappy:[{style:"youtube_fill",version:6,size:24},{style:"youtube_fill",version:6,size:36},{style:"youtube_outline",version:6,size:24},{style:"youtube_outline",version:6,size:36}],face_upset:[{style:"youtube_fill",
version:7,size:24},{style:"youtube_fill",version:7,size:36},{style:"youtube_outline",version:7,size:24},{style:"youtube_outline",version:7,size:36}],face_very_happy:[{style:"youtube_fill",version:7,size:24},{style:"youtube_fill",version:7,size:36},{style:"youtube_outline",version:7,size:24},{style:"youtube_outline",version:7,size:36}],face_very_sad:[{style:"youtube_fill",version:7,size:24},{style:"youtube_fill",version:7,size:36},{style:"youtube_outline",version:7,size:24},{style:"youtube_outline",
version:7,size:36}],fashion:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],fashion_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],fast_back:[{style:"youtube_outline",version:2,size:24}],fast_forward:[{style:"youtube_fill",version:3,size:24}],film_strip:[{style:"youtube_fill",version:4,size:24},{style:"youtube_outline",version:4,size:24}],film_strip_add:[{style:"youtube_outline",version:1,size:24}],filter_face:[{style:"youtube_fill",
version:5,size:24},{style:"youtube_outline",version:5,size:24}],filter_photo:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],fire:[{style:"youtube_fill",version:8,size:24},{style:"youtube_outline",version:8,size:16},{style:"youtube_outline",version:8,size:24}],fire_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],fireworks:[{style:"youtube_outline",version:2,size:24}],flag:[{style:"youtube_fill",version:6,size:24},
{style:"youtube_outline",version:6,size:24}],flag_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],flash_auto:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],flash_circle:[{style:"youtube_fill",version:3,size:18},{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],flash_off:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],flash_on:[{style:"youtube_fill",
version:5,size:24},{style:"youtube_outline",version:5,size:24}],flip_horizontal:[{style:"youtube_outline",version:3,size:24}],flip_horizontal_dash:[{style:"youtube_outline",version:1,size:24}],flip_vertical_dash:[{style:"youtube_outline",version:1,size:24}],folder:[{style:"youtube_outline",version:1,size:24}],football:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],gaming:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],
gaming_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],gear:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],gear_cairo:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],ghost:[{style:"youtube_outline",version:3,size:24}],gif:[{style:"youtube_outline",version:1,size:24}],gift:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],globe:[{style:"youtube_outline",
version:2,size:24}],glow:[{style:"youtube_outline",version:1,size:24}],google_lens:[{style:"youtube_outline",version:3,size:24}],greater_than_20:[{style:"youtube_outline",version:2,size:24}],grid_2x2:[{style:"youtube_outline",version:1,size:24}],grid_3_by_3:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],grid_asymmetrical:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],hand:[{style:"youtube_outline",version:1,size:24}],
hand_long_press:[{style:"youtube_outline",version:2,size:24}],hand_pinch_in:[{style:"youtube_outline",version:2,size:24}],hand_swipe_left:[{style:"youtube_outline",version:1,size:24}],hand_tap:[{style:"youtube_fill",version:1,size:24}],hands_heart:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],hashtag:[{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:18},{style:"youtube_outline",version:1,size:20},{style:"youtube_outline",
version:1,size:24}],hd:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],headset:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],heart:[{style:"youtube_fill",version:15,size:13},{style:"youtube_fill",version:15,size:24},{style:"youtube_outline",version:15,size:16},{style:"youtube_outline",version:15,size:24}],heart_box:[{style:"youtube_outline",version:1,size:24}],heart_circle:[{style:"youtube_outline",version:1,size:16},
{style:"youtube_outline",version:1,size:18},{style:"youtube_outline",version:1,size:20},{style:"youtube_outline",version:1,size:24}],heart_off:[{style:"youtube_outline",version:2,size:24}],hierarchy:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],highlights:[{style:"youtube_outline",version:1,size:24}],home:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",version:7,size:24}],home_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",
version:2,size:24}],hourglass:[{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],image:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],image_add:[{style:"youtube_outline",version:1,size:24}],image_wallpaper:[{style:"youtube_outline",version:1,size:24}],incognito:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",version:7,size:24}],incognito_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",
version:2,size:24}],infinite:[{style:"youtube_fill",version:2,size:24}],infinity:[{style:"youtube_outline",version:1,size:24}],info_circle:[{style:"youtube_outline",version:8,size:16},{style:"youtube_outline",version:8,size:18},{style:"youtube_outline",version:8,size:20},{style:"youtube_outline",version:8,size:24}],key:[{style:"youtube_outline",version:4,size:24}],keyboard:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],label:[{style:"youtube_fill",version:2,
size:24},{style:"youtube_outline",version:2,size:24}],laptop:[{style:"youtube_outline",version:2,size:24}],laptop_mobile:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],layers:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],leaf:[{style:"youtube_outline",version:1,size:24}],lens:[{style:"youtube_outline",version:1,size:24}],less_than_4:[{style:"youtube_outline",version:2,size:24}],library:[{style:"youtube_fill",version:6,
size:24},{style:"youtube_outline",version:6,size:24}],library_add:[{style:"youtube_outline",version:7,size:16},{style:"youtube_outline",version:7,size:24}],library_image:[{style:"youtube_outline",version:1,size:24}],library_music:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],library_saved:[{style:"youtube_fill",version:6,size:24}],lightbulb:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],lightbulb_cairo:[{style:"youtube_fill",
version:2,size:24},{style:"youtube_outline",version:2,size:24}],link:[{style:"youtube_outline",version:5,size:18},{style:"youtube_outline",version:5,size:24}],link_off:[{style:"youtube_outline",version:1,size:24}],list_add:[{style:"youtube_outline",version:5,size:24}],list_check:[{style:"youtube_fill",version:2,size:24}],list_music:[{style:"youtube_outline",version:3,size:24}],list_pencil:[{style:"youtube_outline",version:5,size:24}],list_play_arrow:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",
version:7,size:24}],list_play_arrow_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],list_queue:[{style:"youtube_outline",version:1,size:24}],list_queue_last:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],list_queue_next:[{style:"youtube_outline",version:1,size:24}],list_remove:[{style:"youtube_outline",version:1,size:24}],list_view:[{style:"youtube_outline",version:1,size:24}],list_view_cairo:[{style:"youtube_outline",
version:2,size:24}],live_mobile_landscape_orientation:[{style:"youtube_outline",version:1,size:24}],live_photo:[{style:"youtube_outline",version:1,size:24}],location_point:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],location_point_off:[{style:"youtube_outline",version:1,size:24}],lock:[{style:"youtube_fill",version:9,size:12},{style:"youtube_fill",version:9,size:24},{style:"youtube_outline",version:9,size:12},{style:"youtube_outline",version:9,size:16},{style:"youtube_outline",
version:9,size:18},{style:"youtube_outline",version:9,size:24}],lock_open:[{style:"youtube_outline",version:2,size:24}],magic_wand:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],mail:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],map:[{style:"youtube_outline",version:2,size:24}],math_add:[{style:"youtube_fill",version:3,size:24}],math_and:[{style:"youtube_fill",version:3,size:24}],math_divide:[{style:"youtube_fill",version:3,
size:24}],math_equals:[{style:"youtube_fill",version:3,size:24}],math_greater_than:[{style:"youtube_fill",version:3,size:24}],math_less_than:[{style:"youtube_fill",version:3,size:24}],math_multiply:[{style:"youtube_fill",version:3,size:24}],math_or:[{style:"youtube_fill",version:3,size:24}],math_percent:[{style:"youtube_fill",version:3,size:24}],math_subtract:[{style:"youtube_fill",version:3,size:24}],maximize_cairo:[{style:"youtube_outline",version:1,size:24}],medal:[{style:"youtube_outline",version:1,
size:24}],medal_star:[{style:"youtube_outline",version:1,size:24}],meet:[{style:"youtube_outline",version:1,size:24}],megaphone:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],memberships:[{style:"youtube_fill",version:5,size:16},{style:"youtube_fill",version:5,size:18},{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],mention:[{style:"youtube_outline",version:3,size:16},{style:"youtube_outline",version:3,size:24}],menu_filter:[{style:"youtube_fill",
version:1,size:24},{style:"youtube_outline",version:1,size:24}],menu_sort:[{style:"youtube_outline",version:4,size:24}],message_bubble_alert:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],message_bubble_alert_cairo:[{style:"youtube_outline",version:2,size:24}],message_bubble_empty:[{style:"youtube_outline",version:1,size:24}],message_bubble_gear:[{style:"youtube_outline",version:1,size:24}],message_bubble_left:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",
version:1,size:24}],message_bubble_left_boost:[{style:"youtube_outline",version:1,size:24}],message_bubble_overlap:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",version:7,size:24}],message_bubble_question:[{style:"youtube_fill",version:2,size:16},{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:16},{style:"youtube_outline",version:2,size:24}],message_bubble_right:[{style:"youtube_fill",version:14,size:24},{style:"youtube_fill",version:14,size:32},
{style:"youtube_outline",version:14,size:16},{style:"youtube_outline",version:14,size:24}],message_bubble_right_caption:[{style:"youtube_outline",version:1,size:24}],mic:[{style:"youtube_fill",version:8,size:24},{style:"youtube_outline",version:8,size:24}],mic_off:[{style:"youtube_outline",version:2,size:24}],miniplayer_exit:[{style:"youtube_outline",version:1,size:24}],mobile:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],mobile_check:[{style:"youtube_outline",
version:1,size:24}],mobile_download:[{style:"youtube_outline",version:3,size:24}],mobile_screen_horizontal:[{style:"youtube_outline",version:1,size:24}],mobile_screen_vertical:[{style:"youtube_outline",version:1,size:24}],money_hand:[{style:"youtube_outline",version:2,size:24}],monitor_display:[{style:"youtube_outline",version:2,size:24}],monitor_display_off:[{style:"youtube_outline",version:1,size:24}],moon_z:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],
motion:[{style:"youtube_outline",version:1,size:24}],move:[{style:"youtube_outline",version:1,size:24}],music:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:18},{style:"youtube_outline",version:5,size:24}],music_off:[{style:"youtube_outline",version:3,size:24}],music_scissors:[{style:"youtube_outline",version:3,size:24}],music_shape:[{style:"youtube_outline",version:3,size:24}],music_video:[{style:"youtube_outline",version:3,size:24}],music_video_off:[{style:"youtube_outline",
version:1,size:24}],my_videos:[{style:"youtube_outline",version:6,size:24}],my_videos_cairo:[{style:"youtube_outline",version:2,size:24}],news:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:12},{style:"youtube_outline",version:2,size:24}],news_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],node_left:[{style:"youtube_outline",version:1,size:24}],node_right:[{style:"youtube_outline",version:1,size:24}],note_add:[{style:"youtube_outline",
version:1,size:16},{style:"youtube_outline",version:1,size:24}],odometer:[{style:"youtube_fill",version:4,size:24},{style:"youtube_outline",version:4,size:24}],open_new:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],overflow_horizontal:[{style:"youtube_outline",version:4,size:24},{style:"youtube_outline",version:4,size:32}],overflow_vertical:[{style:"youtube_outline",version:10,size:24}],overflow_vertical_cairo:[{style:"youtube_outline",version:1,size:24}],
paint_bucket:[{style:"youtube_outline",version:2,size:24}],palette:[{style:"youtube_outline",version:1,size:24}],panels:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],paper_corner_folded:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],pause:[{style:"youtube_fill",version:6,size:24}],pdf:[{style:"youtube_outline",version:1,size:24}],pencil:[{style:"youtube_outline",version:5,size:24}],people:[{style:"youtube_fill",version:6,
size:12},{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],people_2:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],people_group:[{style:"youtube_outline",version:3,size:16},{style:"youtube_outline",version:3,size:24}],people_note:[{style:"youtube_fill",version:1,size:18},{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],person:[{style:"youtube_fill",version:3,size:13},{style:"youtube_fill",
version:3,size:16},{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:13},{style:"youtube_outline",version:3,size:16},{style:"youtube_outline",version:3,size:24}],person_2:[{style:"youtube_outline",version:1,size:24}],person_account:[{style:"youtube_outline",version:6,size:24}],person_account_cairo:[{style:"youtube_outline",version:1,size:24}],person_add:[{style:"youtube_outline",version:5,size:24}],person_box:[{style:"youtube_outline",version:5,size:24}],person_circle:[{style:"youtube_fill",
version:8,size:24},{style:"youtube_outline",version:8,size:24}],person_circle_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],person_circle_slash:[{style:"youtube_outline",version:1,size:24}],person_minus:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],person_music:[{style:"youtube_fill",version:4,size:24},{style:"youtube_outline",version:4,size:24}],person_radar:[{style:"youtube_outline",version:3,size:24}],person_setting:[{style:"youtube_outline",
version:6,size:24}],person_shield:[{style:"youtube_outline",version:6,size:24}],phone:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],picture_in_picture:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],picture_in_picture_combine:[{style:"youtube_outline",version:1,size:24}],pin:[{style:"youtube_fill",version:4,size:24},{style:"youtube_outline",version:4,size:16},{style:"youtube_outline",version:4,size:24}],pin_off:[{style:"youtube_outline",
version:1,size:24}],play_arrow:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",version:7,size:24}],play_arrow_circle:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],play_arrow_half_circle:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],podcast:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:18},{style:"youtube_outline",version:1,
size:24}],podcast_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],point_2x:[{style:"youtube_outline",version:1,size:24}],point_3x:[{style:"youtube_outline",version:3,size:24}],point_5x:[{style:"youtube_outline",version:3,size:24}],point_8x:[{style:"youtube_outline",version:1,size:24}],poll:[{style:"youtube_outline",version:7,size:16},{style:"youtube_outline",version:7,size:24},{style:"youtube_outline",version:7,size:40}],pound:[{style:"youtube_outline",
version:3,size:24}],presentation:[{style:"youtube_outline",version:1,size:24}],presentation_remove:[{style:"youtube_outline",version:1,size:24}],price_tag:[{style:"youtube_fill",version:6,size:12},{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],price_tag_heart:[{style:"youtube_outline",version:1,size:24}],qr_code:[{style:"youtube_outline",version:2,size:24}],question_circle:[{style:"youtube_outline",version:5,size:24}],question_circle_cairo:[{style:"youtube_outline",
version:2,size:24}],quotation_mark:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],quotation_mark_off:[{style:"youtube_outline",version:1,size:24}],radar_live:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:16},{style:"youtube_outline",version:6,size:24}],radar_live_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],rating_down:[{style:"youtube_outline",version:1,size:24}],rating_up:[{style:"youtube_outline",
version:7,size:12},{style:"youtube_outline",version:7,size:16},{style:"youtube_outline",version:7,size:24}],record:[{style:"youtube_fill",version:1,size:24}],replay_arrow:[{style:"youtube_outline",version:1,size:24}],rotate_90:[{style:"youtube_outline",version:1,size:24}],rotate_90_clockwise:[{style:"youtube_outline",version:2,size:24}],rss:[{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],rss_off:[{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",
version:1,size:24}],samples:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],saturation:[{style:"youtube_outline",version:1,size:24}],scale:[{style:"youtube_outline",version:1,size:24}],scissors:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],scissors_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],scissors_cut:[{style:"youtube_outline",version:1,size:24}],screen_default:[{style:"youtube_fill",
version:1,size:24},{style:"youtube_fill",version:1,size:48},{style:"youtube_outline",version:1,size:24},{style:"youtube_outline",version:1,size:48}],screen_full:[{style:"youtube_outline",version:7,size:24}],screen_full_exit:[{style:"youtube_outline",version:6,size:24}],screen_fullscreen:[{style:"youtube_fill",version:1,size:24},{style:"youtube_fill",version:1,size:48},{style:"youtube_outline",version:1,size:24},{style:"youtube_outline",version:1,size:48}],screen_light:[{style:"youtube_outline",version:1,
size:24}],screen_mini_player:[{style:"youtube_fill",version:1,size:24},{style:"youtube_fill",version:1,size:48},{style:"youtube_outline",version:1,size:24},{style:"youtube_outline",version:1,size:48}],screen_multi_view:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],screen_rotation:[{style:"youtube_outline",version:2,size:18},{style:"youtube_outline",version:2,size:24}],screen_switch:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,
size:24}],screen_theatre:[{style:"youtube_fill",version:1,size:24},{style:"youtube_fill",version:1,size:48},{style:"youtube_outline",version:1,size:24},{style:"youtube_outline",version:1,size:48}],screen_vertical:[{style:"youtube_outline",version:1,size:24}],sd:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],search:[{style:"youtube_fill",version:9,size:24},{style:"youtube_outline",version:9,size:24}],search_cairo:[{style:"youtube_outline",version:2,size:24}],
send:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],settings_remote:[{style:"youtube_outline",version:1,size:24}],shadow_hard:[{style:"youtube_fill",version:1,size:24}],shadow_soft:[{style:"youtube_fill",version:1,size:24}],shapes:[{style:"youtube_outline",version:1,size:24}],share:[{style:"youtube_fill",version:9,size:24,cd:!0},{style:"youtube_fill",version:9,size:32,cd:!0},{style:"youtube_outline",version:9,size:16,cd:!0},{style:"youtube_outline",version:9,
size:24,cd:!0}],share_cairo:[{style:"youtube_outline",version:2,size:24}],share_ios:[{style:"youtube_outline",version:1,size:24}],share_link:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],shield:[{style:"youtube_outline",version:4,size:24}],shield_add:[{style:"youtube_outline",version:1,size:24}],shield_empty:[{style:"youtube_fill",version:1,size:16},{style:"youtube_fill",version:1,size:18},{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,
size:16},{style:"youtube_outline",version:1,size:18},{style:"youtube_outline",version:1,size:24}],shield_off:[{style:"youtube_outline",version:1,size:24}],shield_overflow:[{style:"youtube_outline",version:1,size:24}],shield_plus:[{style:"youtube_outline",version:1,size:24}],shield_search:[{style:"youtube_outline",version:2,size:24}],shorts_layout_bottom:[{style:"youtube_outline",version:1,size:24}],shorts_layout_centered_square:[{style:"youtube_outline",version:1,size:24}],shorts_layout_foreground:[{style:"youtube_outline",
version:1,size:24}],shorts_layout_landscape_bottom:[{style:"youtube_outline",version:1,size:24}],shorts_layout_landscape_top:[{style:"youtube_outline",version:1,size:24}],shorts_layout_left:[{style:"youtube_outline",version:1,size:24}],shorts_layout_pip:[{style:"youtube_outline",version:1,size:24}],shorts_layout_right:[{style:"youtube_outline",version:1,size:24}],shorts_layout_single:[{style:"youtube_outline",version:1,size:24}],shorts_layout_top:[{style:"youtube_outline",version:1,size:24}],skip_back_10:[{style:"youtube_fill",
version:1,size:24}],skip_back_15:[{style:"youtube_fill",version:1,size:24}],skip_back_20:[{style:"youtube_fill",version:1,size:24}],skip_back_30:[{style:"youtube_fill",version:1,size:24}],skip_back_5:[{style:"youtube_fill",version:1,size:24}],skip_back_60:[{style:"youtube_fill",version:1,size:24}],skip_down:[{style:"youtube_fill",version:3,size:24}],skip_forward_10:[{style:"youtube_fill",version:1,size:24}],skip_forward_15:[{style:"youtube_fill",version:1,size:24}],skip_forward_20:[{style:"youtube_fill",
version:1,size:24}],skip_forward_30:[{style:"youtube_fill",version:1,size:24}],skip_forward_5:[{style:"youtube_fill",version:1,size:24}],skip_forward_60:[{style:"youtube_fill",version:1,size:24}],skip_next:[{style:"youtube_fill",version:3,size:24}],skip_previous:[{style:"youtube_fill",version:3,size:24}],skip_up:[{style:"youtube_fill",version:3,size:24}],slash_circle_left:[{style:"youtube_outline",version:7,size:24}],slash_circle_right:[{style:"youtube_outline",version:2,size:24}],soccer_ball:[{style:"youtube_outline",
version:1,size:24}],spark:[{style:"youtube_fill",version:6,size:12},{style:"youtube_fill",version:6,size:16},{style:"youtube_fill",version:6,size:24}],spark_chat:[{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],spark_image:[{style:"youtube_outline",version:2,size:24}],spark_message_bubble:[{style:"youtube_outline",version:4,size:16},{style:"youtube_outline",version:4,size:24}],spark_music:[{style:"youtube_outline",version:2,size:24}],spark_pencil:[{style:"youtube_outline",
version:2,size:24}],spark_radar:[{style:"youtube_fill",version:1,size:12},{style:"youtube_fill",version:1,size:16},{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:12},{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],spark_video:[{style:"youtube_outline",version:2,size:24}],sparkle:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],speaker:[{style:"youtube_outline",version:1,size:24}],speaker_group:[{style:"youtube_outline",
version:1,size:24}],speaker_group_off:[{style:"youtube_outline",version:1,size:24}],speaker_off:[{style:"youtube_outline",version:1,size:24}],split:[{style:"youtube_outline",version:3,size:24}],sports:[{style:"youtube_fill",version:1,size:24}],spotlight:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],star:[{style:"youtube_fill",version:3,size:16},{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:16},{style:"youtube_outline",version:3,
size:24}],star_half:[{style:"youtube_fill",version:2,size:16},{style:"youtube_fill",version:2,size:24}],star_shooting:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],statistics_graph:[{style:"youtube_outline",version:2,size:24}],sticker:[{style:"youtube_outline",version:1,size:24}],stop:[{style:"youtube_fill",version:1,size:24}],stopwatch:[{style:"youtube_fill",version:3,size:16},{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:16},
{style:"youtube_outline",version:3,size:24}],subscriptions:[{style:"youtube_fill",version:7,size:24},{style:"youtube_outline",version:7,size:18},{style:"youtube_outline",version:7,size:24}],subscriptions_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],subtitles:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],super_chat:[{style:"youtube_outline",version:6,size:18},{style:"youtube_outline",version:6,size:24}],super_sticker:[{style:"youtube_fill",
version:6,size:16},{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:16},{style:"youtube_outline",version:6,size:24}],super_store:[{style:"youtube_outline",version:1,size:24}],superstar:[{style:"youtube_outline",version:1,size:24}],tablet:[{style:"youtube_outline",version:1,size:24}],target:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],target_add:[{style:"youtube_fill",version:1,size:24},
{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],template_add:[{style:"youtube_outline",version:1,size:24}],text:[{style:"youtube_outline",version:6,size:24}],text_bold:[{style:"youtube_outline",version:1,size:24}],text_box:[{style:"youtube_outline",version:5,size:24}],text_italic:[{style:"youtube_outline",version:1,size:24}],text_outline:[{style:"youtube_outline",version:2,size:24}],text_preset:[{style:"youtube_outline",version:1,size:24}],text_serif:[{style:"youtube_outline",
version:1,size:24}],text_shadow:[{style:"youtube_outline",version:2,size:24}],text_strikethrough:[{style:"youtube_outline",version:1,size:24}],text_underline:[{style:"youtube_outline",version:1,size:24}],theme_switch:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],thermometer:[{style:"youtube_outline",version:1,size:24}],thumb_down:[{style:"youtube_fill",version:19,size:16},{style:"youtube_fill",version:19,size:24},{style:"youtube_fill",version:19,size:36},{style:"youtube_outline",
version:19,size:16},{style:"youtube_outline",version:19,size:24},{style:"youtube_outline",version:19,size:36}],thumb_up:[{style:"youtube_fill",version:17,size:16},{style:"youtube_fill",version:17,size:24},{style:"youtube_fill",version:17,size:36},{style:"youtube_outline",version:17,size:16},{style:"youtube_outline",version:17,size:24},{style:"youtube_outline",version:17,size:36}],thumb_up_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],thumb_up_down:[{style:"youtube_fill",
version:1,size:24},{style:"youtube_outline",version:1,size:24}],tic_tac_toe:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:16},{style:"youtube_outline",version:3,size:24}],tic_tac_toe_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],tilt:[{style:"youtube_outline",version:3,size:24}],time_stamp_plus:[{style:"youtube_outline",version:1,size:24}],timeline:[{style:"youtube_outline",version:2,size:24}],toolbox:[{style:"youtube_outline",
version:2,size:24}],transcript:[{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],transcript_search:[{style:"youtube_outline",version:1,size:16},{style:"youtube_outline",version:1,size:24}],transition:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],translate:[{style:"youtube_outline",version:1,size:24}],trash_can:[{style:"youtube_outline",version:5,size:24}],triangle_down:[{style:"youtube_outline",version:5,size:24}],triangle_three_left:[{style:"youtube_fill",
version:1,size:24}],triangle_three_right:[{style:"youtube_fill",version:1,size:24}],trophy:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],trophy_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],trophy_star:[{style:"youtube_outline",version:1,size:24}],truck:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],tv:[{style:"youtube_outline",version:2,size:24}],tv_arrow_left:[{style:"youtube_outline",
version:1,size:24}],tv_circle:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],tv_off:[{style:"youtube_outline",version:2,size:24}],tv_queue:[{style:"youtube_outline",version:4,size:24}],tv_queue_chevron:[{style:"youtube_outline",version:2,size:24}],upload:[{style:"youtube_outline",version:4,size:24}],uploading:[{style:"youtube_outline",version:1,size:24}],verified_circle:[{style:"youtube_outline",version:4,size:24}],video_camera:[{style:"youtube_fill",version:7,
size:24},{style:"youtube_outline",version:7,size:24}],video_camera_add:[{style:"youtube_outline",version:1,size:24}],video_camera_off:[{style:"youtube_outline",version:1,size:24}],video_link:[{style:"youtube_outline",version:3,size:16},{style:"youtube_outline",version:3,size:24}],video_stitch:[{style:"youtube_outline",version:1,size:24}],volume_down:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],volume_fade:[{style:"youtube_outline",version:1,size:24}],volume_off:[{style:"youtube_fill",
version:4,size:24},{style:"youtube_outline",version:4,size:24}],volume_on:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],volume_stable:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],vr:[{style:"youtube_fill",version:5,size:24},{style:"youtube_outline",version:5,size:24}],waveform:[{style:"youtube_outline",version:1,size:24}],waveform_music:[{style:"youtube_fill",version:2,size:18},{style:"youtube_fill",version:2,size:24},
{style:"youtube_fill",version:2,size:48}],wrench:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],x:[{style:"youtube_outline",version:7,size:18},{style:"youtube_outline",version:7,size:24}],x_cairo:[{style:"youtube_outline",version:1,size:24}],x_circle:[{style:"youtube_outline",version:5,size:24}],x_mark:[{style:"youtube_outline",version:4,size:20},{style:"youtube_outline",version:4,size:24}],x_octagon:[{style:"youtube_outline",version:1,size:24}],yen_sign_container:[{style:"youtube_fill",
version:2,size:24},{style:"youtube_outline",version:2,size:24}],youtube_improve_tv:[{style:"youtube_outline",version:1,size:24}],youtube_kids:[{style:"youtube_fill",version:3,size:24},{style:"youtube_outline",version:3,size:24}],youtube_linked_tv:[{style:"youtube_outline",version:4,size:24}],youtube_logo_icon:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],youtube_mix:[{style:"youtube_outline",version:4,size:24}],youtube_music:[{style:"youtube_fill",version:5,
size:24},{style:"youtube_outline",version:5,size:24}],youtube_music_cairo:[{style:"youtube_outline",version:2,size:24}],youtube_originals:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,size:24}],youtube_shorts:[{style:"youtube_fill",version:8,size:20},{style:"youtube_fill",version:8,size:24},{style:"youtube_outline",version:8,size:20},{style:"youtube_outline",version:8,size:24}],youtube_shorts_arrow_down:[{style:"youtube_outline",version:1,size:24}],youtube_shorts_arrow_left:[{style:"youtube_outline",
version:2,size:24}],youtube_shorts_arrow_up:[{style:"youtube_outline",version:1,size:24}],youtube_shorts_cairo:[{style:"youtube_fill",version:2,size:24},{style:"youtube_outline",version:2,size:24}],youtube_shorts_camera:[{style:"youtube_outline",version:3,size:24}],youtube_shorts_chevron_left_ios:[{style:"youtube_outline",version:2,size:24}],youtube_shorts_green_screen:[{style:"youtube_fill",version:1,size:24},{style:"youtube_outline",version:1,size:24}],youtube_shorts_heart:[{style:"youtube_fill",
version:2,size:24},{style:"youtube_fill",version:2,size:32}],youtube_shorts_message_bubble_right:[{style:"youtube_fill",version:2,size:24},{style:"youtube_fill",version:2,size:32}],youtube_shorts_no_triangle:[{style:"youtube_fill",version:4,size:16},{style:"youtube_fill",version:4,size:24},{style:"youtube_fill",version:4,size:32},{style:"youtube_outline",version:4,size:16},{style:"youtube_outline",version:4,size:24},{style:"youtube_outline",version:4,size:32}],youtube_shorts_overflow_vertical:[{style:"youtube_outline",
version:2,size:24}],youtube_shorts_plus:[{style:"youtube_outline",version:5,size:16},{style:"youtube_outline",version:5,size:24}],youtube_shorts_remix:[{style:"youtube_fill",version:2,size:24},{style:"youtube_fill",version:2,size:32}],youtube_shorts_search:[{style:"youtube_outline",version:3,size:24}],youtube_shorts_share:[{style:"youtube_fill",version:2,size:24},{style:"youtube_fill",version:2,size:32}],youtube_shorts_sticker:[{style:"youtube_outline",version:1,size:18},{style:"youtube_outline",
version:1,size:24}],youtube_shorts_thumb_down:[{style:"youtube_fill",version:2,size:24},{style:"youtube_fill",version:2,size:32}],youtube_shorts_thumb_up:[{style:"youtube_fill",version:2,size:24},{style:"youtube_fill",version:2,size:32}],youtube_shorts_waveform:[{style:"youtube_outline",version:2,size:18},{style:"youtube_outline",version:2,size:24}],youtube_studio:[{style:"youtube_outline",version:5,size:24}],youtube_tv:[{style:"youtube_fill",version:6,size:24},{style:"youtube_outline",version:6,
size:24}]};xI.prototype.Wf=function(a,b){var c=a.iconName;c=c.replace(/-/g,"_");a=Object.assign({},a,{iconName:this.o(c)||c.toLowerCase()});var d;return dBa(DWa,a,((d=this.j)==null?void 0:d.ax)||this.ax,b)};xI.prototype.o=function(a){return CWa[a.toUpperCase()]};xI.prototype.ax=function(a,b){return"https://fonts.gstatic.com/s/i/"+b.style+"/"+a+"/v"+b.version+"/"+b.size+"px.svg"};xI[_.op]=[_.mp(BWa)];var gBa=_.wp("rich_grid_max_item_width",500);var EWa={},WRa=(EWa.rendered={priority:0,callback:function(){(new _.rm).initialize()}},EWa);_.v(zI,Mt);zI.prototype.H=function(a,b){if(!this.Ad.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.Ad=new Map;this.transition("document_active");return}}this.Ad.set("document_disposed_preventable",!0);this.Ad.get("document_disposed")?this.transition("flush_logs"):this.transition("document_disposed")};
zI.prototype.B=function(a,b){this.Ad.get("document_disposed")?this.transition("document_active"):(a(b==null?void 0:b.event),this.Ad.set("document_disposed",!0),this.transition("flush_logs"))};zI.prototype.J=function(a,b){a(b==null?void 0:b.event);this.transition("document_active")};zI.prototype.A=function(){};_.v(AI,Mt);AI.prototype.B=function(a,b){a(b==null?void 0:b.event);_.M("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_foregrounded")};AI.prototype.A=function(a,b){a(b==null?void 0:b.event);_.M("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_backgrounded")};AI.prototype.J=function(a,b){a(b==null?void 0:b.event)};AI.prototype.H=function(a,b){a(b==null?void 0:b.event)};BI.prototype.install=function(){var a=_.Ka.apply(0,arguments),b=this;a.forEach(function(c){b.B.install(c)});a.forEach(function(c){b.G.install(c)})};_.v(CI,BI);CI.prototype.A=function(){if(_.M("web_fp_via_jspb")){var a=new Qla,b=_.Du();b&&_.rf(a,1,b);b=_.M("jspb_sparse_encoded_pivot")?new At([{}]):new At;_.Ze(b,380,dv,a);$u("finalPayload",b);_.M("web_fp_via_jspb_and_json")&&_.uu("finalPayload",{csn:_.Du()})}else _.uu("finalPayload",{csn:_.Du()})};CI.prototype.j=function(){zz(xz);Bz!=null&&Bz.flush()};CI.prototype.o=function(){ow(_.dw())};var lBa=new Set(["ci","cr","carml"]);DI.prototype.Ay=function(a){if(a.length>1){var b=[],c=Object.create(null);a=_.u(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c[d]||(b.push(d),c[d]=!0);a=b}if(a.length===1)a=a[0];else{c=a;b="";c.sort();c=_.u(c);for(d=c.next();!d.done;d=c.next())b+=d.value+"|";if(!this.j.get(b)){c=0;d=[];for(var e=_.u(a),f=e.next();!f.done;f=e.next())f=f.value,c++,FI(this,f)||d.push(f);c>d.length?this.signals.push(b):qBa(this,b,a,d)}a=b}return a};
DI.prototype.wl=function(a,b,c,d,e){FI(this,c)?sq(_.yq(),a,b,d):(e&&(a=mBa(a),oBa(this,a,b,c,e)),e=this.o.get(c),e||(this.o.set(c,[]),e=this.o.get(c)),e.push({Xk:a,priority:b,delay:d}))};DI.prototype.addListener=function(a,b,c){c&&(b=mBa(b),oBa(this,b,0,a,c));c=this.A.get(a);c||(this.A.set(a,[]),c=this.A.get(a));c.push(b)};
DI.prototype.Al=function(a){if(!FI(this,a)){this.B.add(a);var b=this.o.get(a);if(b){b=_.u(b);for(var c=b.next();!c.done;c=b.next())c=c.value,sq(_.yq(),c.Xk,c.priority,c.delay);this.o.delete(a)}if(b=this.A.get(a)){b=_.u(b);for(c=b.next();!c.done;c=b.next())c=c.value,c();this.A.delete(a)}this.signals.push(a);this.B.delete(a)}};DI.prototype.processSignal=DI.prototype.Al;DI.prototype.parkOrScheduleJob=DI.prototype.wl;DI.prototype.onAny=DI.prototype.Ay;_.Ta("ytsignals.getInstance",EI);
DI.prototype.onAny=DI.prototype.Ay;DI.prototype.parkOrScheduleJob=DI.prototype.wl;DI.prototype.processSignal=DI.prototype.Al;var nBa=new Set(["eop","eocs","dl","pcl"]);_.v(MI,Mt);MI.prototype.init=function(a){var b=this,c;return _.z(function(d){if(d.j==1)return b.o.Gj?_.x(d,a(b.env),2):(a(b.env),d.L(2));if(d.j!=4)return b.j?_.x(d,b.j.o.promise,4):d.L(4);c=EI();c.wl(function(){b.transition("rendering")},10,"ci");_.wa(d)})};MI.prototype.J=function(a){var b=this,c;return _.z(function(d){if(d.j==1)return b.o.Gj?_.x(d,a(b.env),2):(a(b.env),d.L(2));if(d.j!=4)return b.j?_.x(d,b.j.o.promise,4):d.L(4);c=EI();c.wl(function(){b.transition("rendered")},10,"cr");_.wa(d)})};
MI.prototype.B=function(a){var b=this,c;return _.z(function(d){if(d.j==1)return b.o.Gj?_.x(d,a(b.env),2):(a(b.env),d.L(2));if(d.j!=4)return b.j?_.x(d,b.j.o.promise,4):d.L(4);c=EI();c.wl(function(){b.transition("after-render-deferred")},10,"carml");_.wa(d)})};MI.prototype.A=function(a){var b=this;return _.z(function(c){a(b.env);_.wa(c)})};var KRa=new Map;var FWa={},RRa=(FWa.rendered={priority:0,callback:function(a){Pja(a.fa.resolve(qr))}},FWa);var rBa=!1,uBa=0,PI=null,tBa=null;var GWa={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},XT;a:{var ZT=_.Ab();ZT=ZT.toLowerCase();if(_.zb(ZT,"android")){var HWa=ZT.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(HWa){var IWa=parseFloat(HWa[1]);if(IWa<100){XT=IWa;break a}}var JWa=ZT.match("("+Object.keys(GWa).join("|")+")");XT=JWa?GWa[JWa[0]]:0}else XT=void 0}var TMa=XT>=0;var $T;var KWa=_.Ab(),LWa=KWa.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!LWa||LWa.length<2)$T=void 0;else{var aU=KWa.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);$T=aU&&aU.length===6?Number(aU[5].replace("_",".")):0}var WMa=$T,VMa=WMa>=0;_.g=TI.prototype;_.g.dispose=function(){};_.g.disconnect=function(){};_.g.observe=function(a,b,c){return{element:a,option:c}};_.g.KA=function(){};_.g.Tl=function(){};_.v(UI,TI);_.g=UI.prototype;_.g.dispose=function(){this.disconnect();this.j.clear()};_.g.disconnect=function(a){this.isConnected=!1;this.A=a===void 0?!1:a;this.ub.disconnect();a=_.u(this.o.values());for(var b=a.next();!b.done;b=a.next())b.value.disconnect()};_.g.KA=function(){this.ub.disconnect();for(var a=_.u(this.o.values()),b=a.next();!b.done;b=a.next())b.value.disconnect();this.j.clear()};
_.g.WE=function(a){a=_.u(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=this.j.get(b.target);if(c){var d=b.isIntersecting;c=_.u(c);for(var e=c.next();!e.done;e=c.next()){var f=_.u(e.value);e=f.next().value;f=f.next().value;e&&(e.state==="visible"&&d||e.state==="hidden"&&!d)&&(f(b.target,e.state),e.je&&this.Tl({element:b.target,option:e}))}}}};
_.g.XE=function(a){a=_.u(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=this.j.get(b.target);if(c&&b.isIntersecting){c=_.u(c);for(var d=c.next();!d.done;d=c.next()){var e=_.u(d.value);d=e.next().value;e=e.next().value;d&&d.state==="prescan"&&(e(b.target,d.state),d.je&&this.Tl({element:b.target,option:d}))}}}};
_.g.observe=function(a,b,c){var d=(d=this.j.get(a))&&d.has(c)?{element:a,option:c}:void 0;if(d)return d;d={element:a,option:c};this.j.has(a)||this.j.set(a,new Map);var e=this.j.get(a);e&&!e.has(c)&&e.set(c,b);this.A||(c.state==="prescan"&&(b=this.G,a.hasAttribute("prescan-height")&&(c=Number(a.getAttribute("prescan-height")),isNaN(c)||(b=c)),this.o.has(b)?b=this.o.get(b):(c="-0.1px -0.1px "+b+"px -0.1px",c=new IntersectionObserver(this.XE.bind(this),this.B?{root:this.B,rootMargin:c}:{rootMargin:c}),
this.o.set(b,c),b=c),b.observe(a)),this.ub.observe(a));return d};_.g.Tl=function(a){var b=this.j.get(a.element);if(b&&b.has(a.option)){b.delete(a.option);if(a&&a.option.state==="prescan")for(var c=_.u(this.o.values()),d=c.next();!d.done;d=c.next())d.value.unobserve(a.element);b.size===0&&(this.j.delete(a.element),this.ub.unobserve(a.element))}};var XI=!1;var MWa={},VRa=(MWa.initialized={priority:3,callback:function(){var a;if(a=Nia()){a=a.replace("/",".");var b=_.iq();b.set("tz",a);b.save();a=!0}else a=!1;a||(a=_.iq(),a.set("utco",-Math.floor((new Date).getTimezoneOffset())),a.save())}},MWa);var NWa=!1,OWa={},NRa=(OWa.initialized={priority:10,callback:function(){NWa||(Io({Ni:function(a){a.el&&voa(a.el,a.props)},Te:function(a){toa(a.el)}}),NWa=!0)}},OWa);var zBa=!1;_.bU=_.kF(_.YI);var ZI=_.pj("init"),$I=!1;var iJ;_.cU=_.kF(_.lJ);_.PWa=_.kF(_.mJ);var hP=_.T(function(a){var b=_.BD("YtPlayerControlsAnimatedSeekArrowsArrow",function(){return a.direction()===1?"YtPlayerControlsAnimatedSeekArrowsForwardArrow":"YtPlayerControlsAnimatedSeekArrowsBackwardArrow"},function(){return a.size()==="small"?"YtPlayerControlsAnimatedSeekArrowsArrowSmall":"YtPlayerControlsAnimatedSeekArrowsArrowLarge"},function(){return a.size()==="small"?a.direction()===1?"YtPlayerControlsAnimatedSeekArrowsArrowSmallForward":"YtPlayerControlsAnimatedSeekArrowsArrowSmallBackward":
a.direction()===1?"YtPlayerControlsAnimatedSeekArrowsArrowLargeForward":"YtPlayerControlsAnimatedSeekArrowsArrowLargeBackward"});return _.H("animated-seek-arrows",{class:_.BD("YtPlayerControlsAnimatedSeekArrowsHost")},_.H("span",{class:b}),_.H("span",{class:b}),_.H("span",{class:b}))});hP.U=!0;var uP=_.T(function(a){function b(){var d=c();if(d){var e=a.fq().autonavEnabled,f,h;return _.nI(e?(f=_.N(d.enabledEduCommand,sP))==null?void 0:f.text:(h=_.N(d.disabledEduCommand,sP))==null?void 0:h.text)}}function c(){var d,e=(d=a.playerOverlayRenderer)==null?void 0:d.call(a);if(e)return sJ(e)}return _.H(_.O,{C:function(){return a.fq().ei&&!!c()}},function(){return _.H("autonav-tooltip",{class:_.BD("YtwAutonavTooltipHost","autonav-user-education-container","center"),role:"alert"},_.H("span",{"aria-label":b,
role:"text"},b))})});uP.U=!0;var SWa=_.T(function(a){function b(){return!c().Bd&&!d().Ga}var c=a.Jd;var d=a.config;var e=a.nt;var f=a.Za;var h=ZBa(c,function(){return d().Ga});a={};var k=_.BD("YtPlayerStoryboardHost","YtPlayerStoryboardHostBigboard",(a.YtPlayerStoryboardHostMwebShorts=function(){return d().Ga&&!0},a));return _.H("yt-player-storyboard",null,_.H(_.O,{C:function(){return c().isDragging||c().Bd}},function(){return _.H(_.O,{C:h},function(l){return _.H(_.O,{C:b,ia:function(){return _.H(QWa,{props:c,frame:l,config:d,
nt:e,Za:f})}},function(){return _.H("div",{class:k,"aria-hidden":"true"},_.H(RWa,{props:c,config:d,Ag:!0,Za:f}))})})}))}),UWa=_.T(function(a){var b=a.Jd;var c=ZBa(b,a.Ga);return _.H("yt-player-big-storyboard",{class:"YtPlayerStoryboardBigboardWrapper"},_.H(_.O,{C:function(){return b().isDragging||b().Bd}},function(){return _.H(_.O,{C:c},function(d){return _.H(TWa,{frame:d,props:b,Ag:!0})})}))}),QWa=_.T(function(a){var b=a.props;var c=a.frame;var d=a.config;var e=a.nt;a=a.Za;var f={};f=_.BD("YtPlayerStoryboardHost",
(f.YtPlayerStoryboardHostMwebShorts=function(){return d().Ga&&!0},f.YtPlayerStoryboardHostInlinePlayer=function(){return d().Gn},f));return _.H("div",{class:f,"aria-hidden":"true",style:function(){return"left: "+YBa(b(),HJ(c()),e())+"%"}},_.H(_.O,{C:function(){var h=b();return!(d().Ga&&h.videoDuration<15)}},function(){return _.H(TWa,{frame:c,props:b,Ag:!1})}),_.H(RWa,{props:b,config:d,Ag:!1,Za:a}))}),TWa=_.T(function(a){function b(){return IJ(e())}function c(){return HJ(e())}function d(){var k,l;
return(l=(k=f().N)==null?void 0:k.getVideoContentRect())!=null?l:{width:0,height:0}}var e=a.frame;var f=a.props;var h=a.Ag;a={};a=_.BD((a.YtPlayerStoryboardBigboardImageWrapper=h,a.YtPlayerStoryboardStoryboardImageWrapper=function(){return!h()},a));return _.H("div",{class:a,style:function(){return"width: "+(h()?d().width:c())+"px; height: "+(h()?d().height:b())+"px;"}},_.H(VWa,{frame:e,nJ:c,lJ:b,mJ:function(){return(h()?d().width:c())/c()}}))}),VWa=_.T(function(a){function b(){var h=c().row,k=c().column,
l=d(),m=e(),n=f();return{left:-k*l*n,top:-h*m*n}}var c=a.frame;var d=a.nJ;var e=a.lJ;var f=a.mJ;return _.H("img",{src:function(){return c().url},class:"YtPlayerStoryboardStoryboardImage",alt:"preview-image",style:function(){return"left: "+b().left+"px; top: "+b().top+"px; width: "+c().width*f()+"px; height: "+c().height*f()+"px;"}})}),RWa=_.T(function(a){var b=a.props;var c=a.config;var d=a.Ag;var e=a.Za;a={};a=_.BD("YtPlayerStoryboardMetadata",(a.YtPlayerStoryboardMetadataBigboard=d,a));return _.H("div",
{class:a},_.H(_.O,{C:d,ia:function(){return _.H(_.F,null,_.H(WWa,{props:b,config:c,Ag:!0,Za:e}),_.H(XWa,{props:b,config:c}))}},function(){return _.H(_.F,null,_.H(XWa,{props:b,config:c}),_.H(_.O,{C:function(){return XBa(b(),c(),e())}},function(){return _.H(WWa,{props:b,config:c,Ag:!0,Za:e})}))}))}),XWa=_.T(function(a){var b=a.props;var c=a.config;a={};a=_.BD("YtPlayerStoryboardTimestamp",(a.YtPlayerStoryboardTimestampShorts=function(){return c().Ga},a.YtPlayerStoryboardTimestampIsHovering=function(){return b().Bd||
c().Ga&&!1},a));return _.H("div",{class:a},_.H(_.F,null,function(){return PJ(JJ(b()))}))}),WWa=_.T(function(a){var b=a.props;var c=a.config;var d=a.Ag;var e=a.Za;a={};d=_.BD("YtPlayerStoryboardTitle",(a.YtPlayerStoryboardTitleBigboard=d,a));return _.H("div",{class:d},_.H(_.O,{C:function(){return!c().Ga}},function(){return _.H(YWa,{props:b,nh:function(){return c().nh},Za:e})}))}),YWa=_.T(function(a){var b=a.props;var c=a.nh;var d=a.Za;return _.H(_.F,null,_.H(_.zw,{each:function(){return zJ(d())}},
function(e){var f=_.N(e,NJ);return _.H(_.F,null,_.H(_.O,{C:function(){return f&&OJ(b(),f)}},function(){return _.H(ZWa,{DJ:function(){return f}})}))}),_.H(_.O,{C:c},function(e){return _.H(_.wD,{text:function(){var f;return(f=_.N(e(),MJ))==null?void 0:f.title},Sb:!0})}))}),ZWa=_.T(function(a){var b=a.DJ;return _.H(_.F,null,_.H(_.Vo,null,function(){return _.H("div",{class:"YtPlayerStoryboardTimedMarkerIconWrapper"},_.gC(b().icon,{className:"YtPlayerStoryboardTimedMarkerIcon"}))}),_.H(_.wD,{text:function(){return b().label},
Sb:!0}))});var fP=_.T(function(a){var b=a.df;var c=a.Ga;return _.H("yt-bigboard",null,_.H(_.O,{C:function(){return b().isDragging}},function(){return _.H("div",{class:"YtBigboardStoryboardHost"},_.H(UWa,{Jd:b,Ga:c}))}))});fP.U=!0;var QJ=new Set,$Ba=null;var SJ=null,VJ={};var $Wa=_.kF(YJ,{callbacks:{onClick:!0}});var aXa=_.T(function(a){var b=a.N;a=_.Ow(function(e){WJ(e,36843)});var c=_.Rz("PLAYER_FASTFORWARD_SECONDS",{seconds_placeholder:"30"}),d=_.P(function(){XJ(36843);b&&b().seekBy(30);window.dispatchEvent(new CustomEvent("jump-forward-clicked"))});return _.H("jump-forward-button",{class:"YtPlayerControlsJumpForwardButtonHost"},_.H("button",{el:a,class:"YtPlayerControlsJumpForwardButtonButton",title:c,"aria-label":c,"on:click":d},_.H("span",null,_.gC("FAST_FORWARD"))))});var bXa=_.T(function(a){var b=a.Ea;a=_.Ow(function(e){WJ(e,62946)});var c=_.Rz("OPEN_IN_MINIPLAYER"),d=_.P(function(){XJ(62946);var e,f;(f=(e=b()).Uy)==null||f.call(e)});return _.H("miniplayer-button",{class:"YtMiniplayerButtonHost"},_.H("button",{el:a,class:"YtMiniplayerButtonButton",title:c,"aria-label":c,"on:click":d},_.H(_.qT,{name:"PICTURE_IN_PICTURE",config:{"icon-state-filled$":!1}})))});var cXa=_.T(function(a){function b(){return bCa(c()).ariaLabel}var c=a.iH;var d=a.onClick;a=_.Ow(function(f){WJ(f,28662)});var e=_.P(function(f){XJ(28662);d==null||d(f)});return _.H("ytm-mute-button",{class:"YtmMuteButtonHost"},_.H("button",{el:a,class:"YtmMuteButtonButton",title:b,"aria-label":b,"on:click":e},_.H(_.Vo,null,function(){return _.H("span",null,_.gC(bCa(c()).iconName))})))});var fCa,$J;fCa=!1;
$J={AVATAR_CIRCLE_BLUE:"AVATAR_LOGGED_OUT",BACK:"ARROW_BACK",BLOCK_USER:"BLOCK",BROADCAST:"podcast",CAPTIONS:"CLOSED_CAPTION",CHECK_BLUE:"CHECK",CHECK_CIRCLE_FILLED:"CHECK_CIRCLE_FILLED",CHECK_CIRCLE_THICK:"CHECK_CIRCLE_OUTLINE",COURSE:"lightbulb",DISLIKE_COMMENT:"DISLIKE",DISLIKE_COMMENT_FILLED:"DISLIKE_FILLED",DISLIKE_SELECTED:"DISLIKE_FILLED",DISMISSAL_BLACK:"DISMISSAL",EXPAND_MORE:"EXPAND",FASHION_LOGO:"fashion",GAMING:"gaming",GAMING_LOGO:"gaming",GEAR:"SETTINGS",HELP:"HELP_OUTLINE",LIKE_COMMENT:"LIKE",
LIKE_COMMENT_FILLED:"LIKE_FILLED",LIKE_SELECTED:"LIKE_FILLED",LIVE:"RADAR_LIVE",LOGO:"YOUTUBE",MORE_CHEVRON:"EXPAND",MORE_VERT_WHITE:"MORE_VERT",MUSIC:"audio",MUSIC_FILLED:"audio_filled",NEWS:"news",OFFICIAL_ARTIST_BADGE:"audio",PLAYABLES_LOGO:"tic_tac_toe",PLAYER_NEXT:"SKIP_NEXT",PLAYER_PAUSE:"PAUSE",PLAYER_PLAY:"PLAY_ARROW_FILLED",PLAYER_PREVIOUS:"SKIP_PREVIOUS",PLAYER_REPLAY:"REPLAY",PLAY_ALL:"PLAY_ARROW_FILLED",REMOVE:"DISMISSAL",SHORTS_DISLIKE:"shorts_thumbs_down",SHORTS_LIKE:"shorts_thumbs_up",
SPONSORSHIP_STAR:"SPONSORSHIP_STAR_FILLED",TAB_ACCOUNT:"AVATAR_LOGGED_OUT",TAB_TRENDING:"fire",TAB_TRENDING_FILLED:"fire_filled",TRENDING:"fire",TROPHY:"trophy",VOLUME_UP:"VOLUME_UP_FILLED",YOUTUBE_LOGO:"LOGO_WITH_TEXT",YOUTUBE_PREMIUM_LOGO:"YOUTUBE_PREMIUM_LOGO_SHORT",YOUTUBE_SHORTS_FILL_NO_TRIANGLE_RED_16:"youtube_shorts_no_triangle_filled",YOUTUBE_SHORTS_FILL_NO_TRIANGLE_WHITE_16:"youtube_shorts_no_triangle_filled"};
_.ZJ=_.T(function(a){function b(){return aK.bind(void 0,c==null?void 0:c(),{activeState:e==null?void 0:e()})}function c(){var A=d==null?void 0:d();return A&&$J[A]?$J[A]:A}var d=a.name;var e=a.Sp;var f=a.className;var h=a.style;var k=a.Cq;var l=a.Ki;var m=a.role;var n=a.Cr;var p=a.Br;var q=a.Uq;var r=a.aq;var t=a.themeOverride;a=_.K().resolve(bI);eCa(a);var w=_.Wo(function(){return dCa(c==null?void 0:c(),e==null?void 0:e())}),y={iconWidth:"100%",iconHeight:"100%"},B=_.no(function(A){A.append("icon-state-outline",
_.cC(function(){return(n==null?void 0:n())===""},""));A.append("icon-state-filled",_.cC(function(){return(p==null?void 0:p())===""},""))});return _.H(_.Dw,null,_.H(_.Fw,{Pa:function(){return(c==null?void 0:c())&&(r==null?void 0:r())&&(e==null?void 0:e())!==void 0&&Object.values(cCa).includes(c()||"")}},function(){return _.H(_.kI,{ek:c,active:function(){return!(e==null||!e())},themeOverride:t,gp:b})}),_.H(_.Fw,{Pa:function(){return(c==null?void 0:c())&&w()}},function(){return _.H("c3-icon",Object.assign({},
{class:f,style:h,role:m,"data-selected":k,"data-disabled":l,"fill-icon":q},B),_.H(TT,{data:function(){return w()},options:y}))}))});_.ZJ.U=!0;
_.cK=_.T(function(a){var b=a.ariaLabel;var c=a.pf;var d=a.ariaPressed;var e=a.ariaExpanded;var f=a.ariaDisabled;var h=a.className;var k=a.content;var l=a.tn;var m=a.id;var n=a.name;var p=a.onclick;var q=a.ontouchstart;var r=a.ontouchmove;var t=a.ontouchend;a=_.P(function(A){p==null||p(A);return!0});var w=_.P(function(A){q==null||q(A)}),y=_.P(function(A){r==null||r(A)}),B=_.P(function(A){t==null||t(A)});return _.H("button",{id:m,class:function(){return _.ME("icon-button",h==null?void 0:h())},"aria-label":b,
"aria-labelledby":c,"aria-pressed":d,"aria-expanded":e,"aria-haspopup":l,"aria-disabled":f,"on:click":a,"on:touchstart":w,"on:touchmove":y,"on:touchend":B},_.H(_.O,{C:function(){return _.Yo(!!k)},ia:function(){return _.H(_.ZJ,{name:n})}},function(){return _.H(_.Oo,null,function(){k==null||k()})}))});_.cK.U={callbacks:{content:!0,onclick:!0,ontouchstart:!0,ontouchmove:!0,ontouchend:!0}};
_.dU=_.T(function(a){var b=a.name;var c=a.label;var d=a.onclick;a=a.tn;var e=_.P(function(f){d==null||d(f);return!0});return _.H("div",{class:"icon-button",role:"button","aria-label":c,"aria-haspopup":a,"on:click":e},_.H(_.ZJ,{name:b}))});_.dU.U={callbacks:{onclick:!0}};var gCa="align_left arrow_left flag home logo_with_text message_bubble_alert mic open_new overflow_horizontal overflow_vertical play_circle_shorts search shorts_comment shorts_share shorts_thumbs_down shorts_thumbs_up waveform x_mark youtube_shorts youtube_shorts_brand_24".split(" ");var eU=_.T(function(a){var b=Object.assign({},a),c=a.wf,d=a.onclick;a=(delete b.wf,delete b.onclick,b);b=_.Ow(function(e){WJ(e,c())});return _.H("div",{el:b},_.H(_.cK,Object.assign({},a,{onclick:function(e){XJ(c());d==null||d(e)}})))});var gK="";var dXa=_.T(function(a){var b=a.df,c=a.bo;a=_.Wo(function(){return hK(b())});var d=_.Wo(function(){return jK(b())}),e=_.Wo(function(){return iK(b())});return _.H("yt-closed-captions-toggle-button",null,_.H($Wa,{kq:a,ariaLabel:d,ariaPressed:e,onClick:function(f){fK(b());c==null||c(f)},ja:!0}))}),bHa=_.M("player_controls_optimize_caption_toggle_button")?dXa:_.kF(jCa,{callbacks:{bo:!0}});var fU=_.kF(_.nK);var gU={},kCa=(gU.browse="browse",gU.premium="premium",gU.search="results",gU.watch="watch",gU.home="home",gU.channel="channels",gU.shorts="reel_watch",gU.mini_app="mini_app",gU);var sK=0;var tK=!1;window.addEventListener("state-navigateend",function(){tK=!1});
_.wK=_.T(function(a){var b=a.thumbnailDetails;var c=a.className;var d=a.alt;var e=a.ariaLabel;var f=a.vd;var h=a.od===void 0?function(){return _.Yo(!0)}:a.od;var k=a.Ki;var l=a.ariaHidden;var m=_.Ow();a=_.u(_.fF(function(){return _.Yo(b)}));var n=a.next().value,p=a.next().value;_.Jw(function(){var q=Object.assign({},_.Yo(b));p(q)});_.Xo(function(){if(m.value){var q=m.value;uK(q);var r=_.Yo(b);r&&(q.src=_.SH(r,q,_.Yo(f)))}});return _.H(_.O,{C:function(){return _.Yo(b)&&(_.Yo(d)||_.Yo(e)||_.Yo(c)||
_.Yo(k)||_.Yo(l))},ia:function(){return _.H(_.O,{C:function(){return _.Yo(h)},ia:function(){return _.H("img",{el:m,alt:d,"aria-label":e,class:c,"data-disabled":k,"aria-hidden":l})}},function(){function q(r,t){uK(t);return r?_.SH(r,t,_.Yo(f)):""}return _.M("mweb_enable_keto_batch_25")?_.H(oD,{data:b,config:function(){return{className:c==null?void 0:c(),alt:d==null?void 0:d(),"aria-label$":e==null?void 0:e(),"data-disabled$":k==null?void 0:k(),"aria-hidden$":l==null?void 0:l()}},qn:{jk:q},lazy:!0}):
_.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){pD(_.Yo(b),q,{className:_.Yo(c),alt:_.Yo(d),"aria-label$":_.Yo(e),"data-disabled$":_.Yo(k),"aria-hidden$":_.Yo(l)})})})})}},function(){return _.H(_.Vo,null,function(){var q=n(),r={className:_.Yo(c),alt:_.Yo(d)||_.Yo(e)||"",contentMode:"CONTENT_MODE_SCALE_ASPECT_FILL","data-disabled$":_.Yo(k),"aria-hidden$":_.Yo(l)},t=h==null?void 0:h();return _.H("span",{style:"display: contents;"},_.H(_.Oo,null,function(){_.rD(q,r,uK,t)}))})})});_.wK.U=!0;var hU=_.kF(_.zK,{callbacks:{overlay:!0}});_.iU=_.R("aboutThisAdRenderer","xuNg9e");_.ZB(_.iU);_.jU=_.R("addToPlaylistRenderer","doJq3d");_.ZB(_.jU);_.kU=_.R("donationAmountPickerRenderer","iJxTsd");_.ZB(_.kU);_.lU=_.R("donationPostTransactionRenderer","qP1Hme");_.ZB(_.lU);_.mU=_.R("fancyDismissibleDialogRenderer","G0rK6");_.ZB(_.mU);_.nU=_.R("flowRootRenderer","aOo9Md");_.ZB(_.nU);_.oU=_.R("gamingAccountLinkConfirmDialogRenderer","rD0sWe");_.ZB(_.oU);_.pU=_.R("menuPopupRenderer","bnxKnb");_.ZB(_.pU);var eXa={response:void 0};var fXa={nextCommand:null,Ds:!1};var gXa,hXa;
gXa=sx({entities:ura,wu:ira,engagementPanel:function(a,b){a=a===void 0?{}:a;switch(b.type){case "SET_IS_FULLSCREEN_STATE":return Object.assign({},a,{isFullscreen:b.payload});case "SET_NAVIGATION_BUTTON":var c=b.payload.targetId,d=Object.assign({},a.navigationButtons);d[c]=b.payload.button;return Object.assign({},a,{navigationButtons:d});case "SET_TOP_PANEL_ID_STATE":return Object.assign({},a,{FA:b.payload});case "SET_SECONDARY_HEADER":return c=b.payload.panelId,d=Object.assign({},a.secondaryHeader),d[c]=
b.payload.secondaryHeader,Object.assign({},a,{secondaryHeader:d});default:return a}},wm:function(a,b){a=a===void 0?{}:a;switch(b.type){case "SET_IS_BOTTOM_SHEET_OPEN_STATE":return Object.assign({},a,{Nr:b.payload});default:return a}},rD:function(a,b){a=a===void 0?{}:a;switch(b.type){case "SET_CINEMATIC_SETTING_STATE":return Object.assign({},a,{isAllowed:b.payload});default:return a}},shorts:gVa,Wm:function(a,b){a=a===void 0?{}:a;switch(b.type){case "SET_IS_DRAWER_LAYOUT_OPEN_STATE":return Object.assign({},
a,{Nr:b.payload});default:return a}},Lm:function(a,b){a=a===void 0?{isDisabled:!0,privacy:"",title:"",errorMessage:""}:a;switch(b.type){case "SET_ERROR_MESSAGE_CREATE_PLAYLIST_STATE":return Object.assign({},a,{errorMessage:b.payload});case "SET_TITLE_CREATE_PLAYLIST_STATE":return Object.assign({},a,{title:b.payload});case "SET_PRIVACY_CREATE_PLAYLIST_STATE":return Object.assign({},a,{privacy:b.payload});case "SET_IS_DISABLED_CREATE_PLAYLIST_STATE":return Object.assign({},a,{isDisabled:b.payload});
default:return a}},GG:function(a,b){a=a===void 0?eXa:a;switch(b.type){case "LOCATION_COLLECTION_RESPONSE_CHANGE":return Object.assign({},a,{response:b.payload});default:return a}},Ez:function(a,b){a=a===void 0?fXa:a;switch(b.type){case "REPORT_CHANNEL_NEXT_DISABLED_CHANGE":return Object.assign({},a,{Ds:b.payload});case "REPORT_CHANNEL_NEXT_COMMAND_CHANGE":return{Ds:!1,nextCommand:b.payload};default:return a}}});_.CK=new qA(gXa);
hXa=function(a){return function(b){return function(c,d,e){function f(m,n){var p=h[k];p||(p={},h[k]=p);k++;var q=a();p.hu||(p.hu=q.subscribe(function(){m(q.getState(),n)!==p.fI&&d()}));var r=m(q.getState(),n);return p.fI=r}var h=[],k=0,l=b(c,d,e);return Object.assign({},l,{Te:function(){for(var m=_.u(h),n=m.next();!n.done;n=m.next())n=n.value,n.hu&&n.hu();l.Te&&l.Te()},render:function(m,n){k=0;l.render(m,f,n)}})}}}(DK);_.W={up:EK("ACCOUNT_LABEL"),Au:EK("ACT_ON_THIS_COMMENT"),Bu:EK("ADD_TO_DROPDOWN_LABEL"),eB:EK("AD_BADGE_HINT"),fB:EK("AD_BADGE_TEXT"),gB:EK("ALL_CHANNELS_LABEL"),vp:EK("AMBIENT_MODE"),hB:EK("AMBIENT_MODE_OFF"),iB:EK("AMBIENT_MODE_ON"),RK:EK("ANDROID_DEPRECATION_MESSAGE_BODY"),SK:EK("ANDROID_DEPRECATION_MESSAGE_HEADER"),jB:EK("APP_UPSELL_SUBTITLE"),kB:EK("APP_UPSELL_TITLE"),TK:EK("AUTONAV_TOGGLE"),UK:EK("AUTOPLAY_IN_TEN_SECONDS"),VK:EK("AUTOPLAY_PAUSED"),WK:EK("AUTOPLAY_PLAY_NOW"),wp:EK("AUTOPLAY_UP_NEXT_IN"),
BACK:EK("BACK"),Kb:EK("CANCEL"),oB:EK("CHANNEL_SWITCHER_LABEL"),Lb:EK("CLOSE","close"),pB:EK("CLOSED_CAPTIONS_DISABLED"),qB:EK("CLOSED_CAPTIONS_OFF"),rB:EK("CLOSED_CAPTIONS_ON"),sB:EK("CLOSED_CAPTIONS_ON_LANGUAGE"),tB:EK("CLOSE_SEARCH_LABEL"),uB:EK("CLOSE_SETTINGS_LABEL"),vB:EK("COMMENT_MODAL_CONTENT"),Fu:EK("CONFIRM_OK"),dL:EK("CONNECT_TO_THE_INTERNET"),xB:EK("COPIED_TO_CLIPBOARD"),yB:EK("COPY"),Gu:EK("COPY_DEBUG_INFO"),fL:EK("COPY_LINK_LABEL"),zB:EK("CREATE_CHANNEL_TITLE"),iL:EK("DELETE_FROM_DOWNLOADS"),
DONE:EK("DONE"),mL:EK("DOWNLOAD"),DB:EK("FAILED_COPY_ERROR_MESSAGE"),BL:EK("FLAG_CONFIRM"),CL:EK("FLAG_CONTENT"),DL:EK("FLAG_LABEL"),EL:EK("FLAG_TITLE"),FL:EK("FULLSCREEN_GENERIC_ERROR"),EB:EK("GOOGLE_COMPANY"),Lu:EK("HIDE_PLAYLIST_VIDEOS"),DM:EK("HIDE_SEARCH_FILTERS_LABEL"),FB:EK("HOME","Home"),Mu:EK("INVALID_RESPONSE_RECEIVED"),NB:EK("LIBRARY","Library"),HM:EK("LISTENING"),LOADING:EK("LOADING"),OB:EK("LONG_PRESS_MIC_TO_SPEAK","Long press mic_icon_placeholder to speak"),PB:EK("MENU_DESKTOP"),QB:EK("MENU_EXIT"),
RB:EK("MENU_FEEDBACK"),SB:EK("MENU_HELP"),TB:EK("MENU_IMPRESSUM"),im:EK("MENU_PLAYER_SETTINGS"),UB:EK("MENU_SETTINGS"),VB:EK("MENU_SIGN_IN"),LM:EK("MENU_TITLE"),WB:EK("MENU_YOUR_DATA"),XB:EK("MORE_INFO"),Cp:EK("MORE_OPTIONS"),SM:EK("MUTE_VOLUME"),Su:EK("NEW_PLAYLIST"),Dp:EK("NEXT_VIDEO"),Sj:EK("NOTIFICATION_ERROR_MESSAGE"),lN:EK("NOT_FOUND_CTA"),mN:EK("NOT_FOUND_MESSAGE"),nN:EK("NOT_FOUND_TITLE"),oN:EK("NO_DOWNLOADS"),qN:EK("NO_MIC_INPUT"),aC:EK("OFFLINE_CHECK_CONNECTION"),Xu:EK("OOPS_MESSAGE"),Gp:EK("OPEN_APP"),
bC:EK("OPEN_YOUTUBE"),uN:EK("PAUSE"),dC:EK("PLAY"),hC:EK("PLAYER_CAPTION"),iC:EK("PLAYER_CAPTION_OFF"),vN:EK("PLAYER_CAPTION_ON"),Yu:EK("PLAYER_DOUBLE_SPEED_USER_EDU"),Zu:EK("PLAYER_DOUBLE_TAP_TO_SEEK"),wN:EK("PLAYER_DOUBLE_TAP_TO_SHOW_OR_HIDE_PLAYER_CONTROLS"),av:EK("PLAYER_EXIT_FULLSCREEN"),bv:EK("PLAYER_FASTFORWARD_SECONDS"),cv:EK("PLAYER_FULLSCREEN"),Hp:EK("PLAYER_LIVE_LABEL"),xN:EK("PLAYER_LIVE_NOW"),yN:EK("PLAYER_MINIMIZE"),Tj:EK("PLAYER_NEXT"),jm:EK("PLAYER_PAUSE"),kh:EK("PLAYER_PLAY"),Uj:EK("PLAYER_PREVIOUS"),
zN:EK("PLAYER_PROGRESS_BAR"),jC:EK("PLAYER_QUALITY"),kC:EK("PLAYER_QUALITY_AUTO"),Ip:EK("PLAYER_REPLAY"),dv:EK("PLAYER_REWIND_SECONDS"),lC:EK("PLAYER_SPEED"),AN:EK("PLAYER_SPEEDUP_USER_EDU"),ev:EK("PLAYER_SPEED_NORMAL"),mC:EK("PLAYER_SPEED_RECENT"),nC:EK("PLAYER_TIME_DURATION"),km:EK("PLAYER_TIME_ELAPSED"),fv:EK("PLAYLIST_DESCRIPTION_INVALID_CHARACTERS"),oC:EK("PLAYLIST_MIX_DETAILED_LONG_BYLINE"),pC:EK("PLAYLIST_NAME_INVALID_CHARACTERS"),qC:EK("PLAYLIST_NAME_MISSING"),CN:EK("PLAYLIST_NAME_TOO_LONG"),
rC:EK("PLAYLIST_PANEL_END_OF_PLAYLIST"),sC:EK("PLAYLIST_PANEL_NEXT"),DN:EK("PLAYLIST_PANEL_UNLISTED_PLAYLIST"),tC:EK("PLAYLIST_TEXT_INPUT_CHAR_COUNT"),uC:EK("PLAY_ALL"),vC:EK("PLEASE_FIX_ERRORS"),Jp:EK("PREVIOUS_VIDEO"),FN:EK("PRIVACY_POLICY"),JN:EK("RELOAD"),wC:EK("REQUIRED_LABEL"),xC:EK("SAVE_PLAYLIST"),NN:EK("SCRUB_SLIDE_USER_EDU"),Kp:EK("SEARCH","Search"),yC:EK("SEARCH_APPEND_LABEL"),zC:EK("SEARCH_CHANNEL"),Lp:EK("SEARCH_CLEAR_LABEL"),gv:EK("SEARCH_FILTERS_LABEL"),Vj:EK("SEARCH_LABEL"),Wj:EK("SEARCH_PPP_PLACEHOLDER_TEXT"),
AC:EK("SEEK_SLIDER"),QN:EK("SETTINGS_LABEL"),RN:EK("SETTINGS_MIC_PERMISSION"),BC:EK("SHORTS_TAB_LABEL","Shorts"),lm:EK("SHOW_LESS"),lh:EK("SHOW_MORE"),hv:EK("SHOW_PLAYLIST_VIDEOS"),UN:EK("SHOW_SEARCH_FILTERS_LABEL"),Xj:EK("SIGN_IN_LABEL"),CC:EK("SIGN_IN_ON_WEB"),DC:EK("STATS_FOR_NERDS"),EC:EK("SUGGESTION_DISMISSED_LABEL"),FC:EK("SUGGESTION_DISMISS_LABEL"),oO:EK("TERMS_OF_SERVICE"),GC:EK("TIMESTAMP_MINUTES"),HC:EK("TIMESTAMP_SECONDS"),qO:EK("TRENDING"),mv:EK("TRY_AGAIN_LATER"),rO:EK("TRY_AGAIN_MIC_PERMISSION"),
sO:EK("TURN_OFF_AUTOPLAY_CONFIRM_BUTTON_TITLE"),tO:EK("TURN_OFF_AUTOPLAY_DIALOG_DESCRIPTION"),uO:EK("TURN_OFF_AUTOPLAY_DIALOG_TITLE"),vO:EK("UNMUTE_VOLUME"),ov:EK("VIDEO_LINK_LABEL")};_.TK=_.T(function(a){var b=_.bC(a,{fb:!1,Zf:!1,wm:!1,engagementPanel:!1,Wm:!1,mI:!1,Hx:!1,opacity:void 0});a=b.label;var c=b.onclick,d=b.fb,e=b.wm,f=b.engagementPanel,h=b.Hx,k=b.Wm,l=b.mI,m=b.opacity;b=_.P(function(){return void(c==null?void 0:c())});var n=_.P(function(q){q.preventDefault()}),p={};return _.H("ytw-scrim",{class:_.BD("YtWebScrimHost",(p.YtWebScrimHostBottomSheet=e,p.YtWebScrimHostEngagementPanel=function(){return!e()&&f()},p.YtWebScrimHostDraggableEngagementPanel=function(){return!e()&&
f()&&h()},p.YtWebScrimHostDrawerLayout=function(){return!e()&&!f()&&k()},p.YtWebScrimHostModernOverlay=_.M("mweb_modern_dialogs"),p.YtWebScrimHostRelative=l,p)),"on:click":b,"on:touchmove":n,style:function(){return m()!==void 0?"background:rgba(0, 0, 0, "+m()+");":""}},_.H(_.O,{C:d},function(){return _.H("div",{class:"YtWebScrimDialogContainer"},_.H(HCa,null))}),_.H("button",{class:"YtWebScrimHiddenButton","aria-label":a}))});var MK,PK,OK,MCa,LK,KCa,OCa;MK=0;_.NK=null;PK=null;OK=null;MCa=!1;LK=[];KCa=!_.M("cancel_modal_pending_animations_killswitch");OCa=!_.M("reshow_nested_modal_siblings_killswitch");var iXa=_.W.OB,jXa=_.u(_.$o({})),qU=jXa.next().value;jXa.next();
var kXa=["blue","red","yellow","green"],lXa=null,mXa=_.T(function(){return _.H(_.O,{C:function(){return _.Yo(!1)}},function(){return _.H("img",{class:"speech-logo",hidden:function(){return!qU().gG},src:"https://m.youtube.com/static/lockup_assistant_icon_horizontal_color_152.png"})})}),nXa=_.T(function(){return _.H("div",{class:"speech-query"},function(){return qU().iI})}),oXa=_.T(function(){return _.H("div",{class:"speech-voz-query-container speech-query"},_.H("div",{class:"speech-voz-high-query"},
function(){return qU().iI}),_.H(_.O,{C:function(){return qU().NG}},function(){return _.H("div",{class:"speech-voz-low-query"},function(){return qU().NG})}))}),rXa=_.T(function(){return _.H(_.O,{C:function(){return _.Yo(!1)},ia:function(){return _.H(pXa,null)}},function(){return _.H(qXa,null)})}),qXa=_.T(function(){return _.H("div",{class:function(){return"speech-"+qU().fJ}},kXa.map(function(a){return _.H("div",{class:"speech-dot_"+a},_.H("div",{class:"speech-dot"}))}))}),pXa=_.T(function(){return _.H("div",
{class:function(){return"speech-voz-mic-container speech-voz-"+qU().fJ}},_.H("div",{class:"speech-voz-listening-pulse"}),_.H("div",{class:"speech-voz-userinput-pulse"}),_.H(_.qT,{name:"MICROPHONE_ON",config:{className:"speech-mic-icon speech-voz-mic-icon"}}))}),sXa=_.T(function(){return _.H(_.F,null,_.H(_.O,{C:function(){return _.Yo(!1)},ia:function(){return _.H(oXa,null)}},function(){return _.H(nXa,null)}),_.H(rXa,null))}),tXa=_.T(function(){return _.H(_.O,{C:function(){return _.Yo(!0)}},function(){return _.H(_.F,
null,_.H(oXa,null),_.H("div",{class:"speech-voz-mic-container"},_.H("div",{class:"spinner speech-voz-spinner"})))})}),uXa=_.T(function(){var a=iXa.split("mic_icon_placeholder"),b=a[0],c=a[1],d=_.Ow();_.Hw(function(){if(d.value){var e=d.value;e instanceof Element&&_.RJ(88168,e,lXa,function(f){lXa=f})}});return _.H(_.F,null,_.H(_.O,{C:function(){return _.Yo(b)}},function(){return b}),_.H("idle-state-mic",{el:d},_.H(_.qT,{name:"MICROPHONE_ON",config:{className:"speech-mic-icon"}})),_.H(_.O,{C:function(){return _.Yo(c)}},
function(){return c}))});_.T(function(){return _.H(_.O,{C:function(){return _.Yo(!1)}},function(){return _.H("ytm-speech-overlay",null,_.H("div",{class:"speech-content"},_.H(mXa,null),_.H(_.Dw,null,_.H(_.Fw,{Pa:function(){return qU().gG}},function(){return _.H(sXa,null)}),_.H(_.Fw,{Pa:function(){return qU().FQ}},function(){return _.H(tXa,null)}),_.H(_.Ew,null,function(){return _.H(uXa,null)}))))})}).U=!0;var RCa=_.T(function(a){var b=_.bC(a,{fb:void 0,Zf:void 0,hk:void 0,className:void 0,style:void 0});a=b.wD;var c=b.onclick,d=b.fb,e=b.Zf,f=b.hk,h=b.className;b=b.style;var k=_.P(function(){c==null||c();return!0}),l=_.P(function(n){n.preventDefault()}),m=_.no({});return _.H("c3-overlay",{class:function(){return _.ME(h(),{"modern-overlay":_.M("mweb_modern_dialogs"),"bottom-sheet-overlay-scrim":f()})},style:b,"on:click":k,"on:touchmove":l},_.H(_.O,{C:d,children:function(){return _.H("div",{class:"dialog-container"},
_.H("div",{class:"spinner"}))},ia:function(){return _.H(_.O,{C:e},function(){return _.H(_.Oo,null,function(){})})}}),_.H("button",Object.assign({},{class:"hidden-button","aria-label":a},m)))});RCa.U={callbacks:{onclick:!0}};_.v(WK,_.UE);_.g=WK.prototype;_.g.Fd=function(){window.addEventListener("hashchange",this.lk);window.addEventListener("state-navigatestart",this.lk);eza(_.K().resolve(_.IH),this,this.props.Hh)};_.g.Uc=function(){window.removeEventListener("hashchange",this.lk);window.removeEventListener("state-navigatestart",this.lk)};_.g.Vh=function(a){var b=this;return _.z(function(c){if(!a)return c.return();b.so({detail:{Zb:a.Zb,Lc:a.Lc}});_.wa(c)})};
_.g.Qe=function(){var a=this;return _.z(function(b){return _.x(b,a.vD(),0)})};_.g.In=function(){return _.z(function(a){return a.return(!!FK())})};_.g.ME=function(){return this.sa};
_.g.render=function(){if(this.state.Lc||this.state.Zb){UK("close",_.HK,{className:"bottom-sheet-overlay"});this.state.Zb?this.state.Zb():this.state.Lc&&_.WE(GH,{data:this.state.Lc});(0,_.rF)({className:"hidden-button","aria-label$":_.W.Lb,onclick:function(){_.HK()}});var a,b,c;((a=this.state)==null?0:(b=a.Lc)==null?0:(c=b.header)==null?0:c.title)?(this.sa.setAttribute("role","dialog"),this.sa.setAttribute("aria-label",this.state.Lc.header.title)):(this.sa.removeAttribute("role"),this.sa.removeAttribute("aria-label"))}};
WK.tagName="bottom-sheet-container";_.dL=_.kF(_.YK,{callbacks:{onClick:!0,mF:!0}});_.rU=_.T(function(a){var b=a.command;var c=a.className;var d=a.tabIndex;var e=a.ariaHasPopup;var f=a.ariaHidden;var h=a.stopPropagation;var k=a.style;a=a.children;var l=_.no(function(n){n.append("class",_.cC(function(){return c==null?void 0:c()},c));n.append("tabindex",_.cC(function(){return d==null?void 0:d()},d));n.append("aria-haspopup",_.cC(function(){return e==null?void 0:e()},e));n.append("aria-hidden",_.cC(function(){return f==null?void 0:f()},f));n.append("style",_.cC(function(){return k==
null?void 0:k()},k))}),m=_.P(function(n){_.vC(b(),b(),!1);n.preventDefault();return!(h==null?0:h())});return _.H("a",Object.assign({},{role:"button","on:click":m},l),a)});_.rU.U=!0;var sU;
sU=_.T(function(a){function b(){return c().navigationEndpoint}var c=a.run;var d=a.ka;var e=a.stopPropagation;return _.H(_.Dw,null,_.H(_.Fw,{Pa:function(){return c().bold}},function(){var f=_.Wo(function(){return Object.assign({},c(),{bold:void 0})});return _.H("strong",null,_.H(sU,{run:f,ka:d,stopPropagation:e}))}),_.H(_.Fw,{Pa:function(){return c().deemphasize}},function(){var f=_.Wo(function(){return Object.assign({},c(),{deemphasize:void 0})});return _.H("span",{class:"formatted-string-deemphasize"},_.H(sU,
{run:f,ka:d,stopPropagation:e}))}),_.H(_.Fw,{Pa:function(){return c().italics}},function(){var f=_.Wo(function(){return Object.assign({},c(),{italics:void 0})});return _.H("em",null,_.H(sU,{run:f,ka:d,stopPropagation:e}))}),_.H(_.Fw,{Pa:function(){return c().textColor}},function(){var f=_.Wo(function(){return Object.assign({},c(),{textColor:void 0})});return _.H("span",{style:function(){return"color: "+_.dA(c().textColor)}},_.H(sU,{run:f,ka:d,stopPropagation:e}))}),_.H(_.Fw,{Pa:function(){return c().strikethrough}},
function(){var f=_.Wo(function(){return Object.assign({},c(),{strikethrough:void 0})});return _.H("s",null,_.H(sU,{run:f,ka:d,stopPropagation:e}))}),_.H(_.Fw,{Pa:function(){return!b()||d()}},function(){return _.H(_.F,null,function(){return c().text})}),_.H(_.Fw,{Pa:function(){return b()&&(!!_.N(b(),_.DC)||!!_.N(b(),_.zC)||_.xC(b())||!!_.N(b(),_.$K)||_.yC(b())||!!_.N(b(),_.aL))}},function(){return _.H(_.rU,{command:b,tabIndex:0,ariaHasPopup:function(){return!!_.N(b(),_.zC)},stopPropagation:e},_.H(_.F,
null,function(){return c().text}))}),_.H(_.Ew,null,function(){return _.H(_.CT,{command:b,tabIndex:0,ib:!0,stopPropagation:!1},_.H(_.F,null,function(){return c().text}))}))});
_.bL=_.T(function(a){function b(){return c()&&(e().accessibility||XCa(e()))&&e().runs&&e().runs.length>1}function c(){return(e==null?void 0:e())&&Object.keys(e()).length}var d=Object.assign({},a);var e=a.data;a=(delete d.data,d);var f=_.aC(a.ka),h=_.aC(a.pb),k=_.aC(a.stopPropagation),l=_.aC(a.uc),m=_.aC(a.userInput),n=_.aC(a.Da),p=_.aC(a.Sb,!0);return _.H(_.O,{C:c},function(){return _.H(_.O,{C:function(){return _.Yo(_.M("web_replace_formatted_with_attributed_string"))&&eta(e())},ia:function(){return _.H(_.O,
{C:b,ia:function(){return _.H(vXa,{simpleText:function(){return e().simpleText},runs:function(){return e().runs},ka:f,stopPropagation:k})}},function(){return _.H("span",{"aria-label":function(){return _.AK(e().accessibility)},class:"formatted-string-text",role:"text"},_.H(vXa,{simpleText:function(){return e().simpleText},runs:function(){return e().runs},ka:f,stopPropagation:k}))})}},function(){return _.H(_.wD,{text:e,ariaLabel:function(){return _.AK(e().accessibility)},Da:n,ka:f,pb:h,Sb:p,uc:l,userInput:m})})})});
_.bL.U=!0;var vXa=_.T(function(a){var b=a.simpleText;var c=a.runs;var d=a.ka;var e=a.stopPropagation;return _.H(_.O,{C:function(){return b&&b()},ia:function(){return _.H(_.O,{C:function(){return c&&c()}},function(f){return _.H(_.zw,{each:f,ob:"INDEX"},function(h){return _.H(sU,{run:h,ka:function(){return!(d==null||!d())},stopPropagation:function(){return!(e==null||!e())}})})})}},function(f){return f})});_.tU=_.kF(function(a){var b=Object.assign({},a);a=a.data;b=(delete b.data,b);return _.H("span",null,_.Y(a,b))});_.co(_.eL);var wXa=_.kF(fL,{callbacks:{onclick:!0,ly:!0}}),xXa=_.kF(function(a){var b=a.url;var c=a.OH;a=a.children;_.no(c?{target:"_blank"}:{});return _.H("ytm-menu-item",null,_.H("a",{href:b,class:"menu-item-button",target:c?"_blank":void 0},a))}),yXa=_.kF(_.aDa);var iL,jL=_.pB,zXa=_.T(function(a){var b=a.Tn;return _.H(fL,null,_.H("div",{class:"menu-cancel-button"},_.H(_.qT,{name:function(){return b().cancelButtonIcon},config:{className:"menu-cancel-icon"}}),function(){var c;return(c=b().cancelButtonLabel)!=null?c:""}))}),eDa=_.T(function(a){var b=a.Tn;a=a.children;var c=_.BD("menu-content",{"menu-bottom":function(){return b().isBottomMenu},"menu-show-icons":function(){return b().shouldShowIcons||b().isBottomMenu||b().isFullWidth},"rounded-container":function(){return!b().isFullWidth}}),
d=_.P(function(){b().Ui||b().xw||_.hL();return!0}),e=_.Ow(function(){}),f=_.no(function(h){h.append("role",_.cC(function(){return!b().isFullWidth},"dialog"));h.append("aria-modal",_.cC(function(){return!b().isFullWidth},!0));h.append("aria-labelledby",_.cC(function(){return b().Dv},!0))});return _.H("div",Object.assign({},{el:e,class:c,"on:click":d},f),a,_.H(_.O,{C:function(){return!b().Ui}},function(){return _.H(_.O,{C:function(){return!!b().isBottomMenu},ia:function(){return _.H(zXa,{Tn:b})}},function(){return _.H("div",
{class:"bottom-menu-cancel"},_.H(zXa,{Tn:b}))})}))}),AXa=_.kF(_.lL,{callbacks:{content:!0}});window.addEventListener("state-change",bDa);window.addEventListener("hashchange",bDa);_.uU=_.R("multiPageMenuRenderer","jSDiFe");_.ZB(_.uU);_.vU=_.R("reportDetailsFormRenderer","ci8qAe");_.ZB(_.vU);_.wU=_.R("reportFormModalRenderer","hQzbM");_.ZB(_.wU);_.xU=_.R("membershipPostCancelRenderer","ar9Laf");_.ZB(_.xU);_.yU=_.R("sponsorshipsCelebrationRenderer","p4bMC");_.ZB(_.yU);_.zU=_.R("surveyFollowUpRenderer","yBLgec");_.ZB(_.zU);_.AU=_.R("unlimitedFamilyMessageInterstitialRenderer","r8Gunc");_.ZB(_.AU);_.BU=_.R("unlimitedFamilyProfileInterstitialRenderer","rPqHob");_.ZB(_.BU);_.CU=_.R("upsellDialogRenderer","AuGfDe");_.ZB(_.CU);vL.prototype.add=function(a){this.j.add(a)};vL.prototype.reset=function(){this.j.clear()};var lDa=0,wL="";var xL;qDa.prototype.reset=function(){this.startTime=Date.now();++this.sessionNumber;this.j.reset();this.B=-1;this.H=this.o=this.outOfSyncResponseCount=0;this.O.fill(0);this.W=this.J=this.G=this.A=-1};var tDa=[0,1,2,3,4,5,5,6,6,6,7,7,7,7,7,8];var BXa=_.L("SBOX_JS_URL"),CXa=_.L("SBOX_SETTINGS"),LNa=_.L("SHOW_OPEN_APP_BUTTON"),ANa=_.L("SHOW_SIGN_IN_BUTTON_FROM_HEADER");var SQ={SUGGESTION_DISMISS_LABEL:_.W.FC,SUGGESTION_DISMISSED_LABEL:_.W.EC};var DU;_.OQ=_.kF(_.EL,{callbacks:{onButtonClickCallback:!0}});var DXa=_.W.Vj,EXa=_.W.Lp,FXa=_.W.Wj,EU=null,AL="",FU,GXa=_.oG({buttonRenderer:_.IL}),GU,SNa=_.yF("ytm-searchbox",function(a,b,c){function d(){_.Sz(BXa,function(){var n=a.querySelector(".searchbox-dropdown");(0,window.ytsboxinstall)(a.querySelector("form"),EU,a.querySelector('input[type="submit"]'),CXa,SQ,f,n);EU&&(EU.blur(),EU.focus(),EU.focus());_.M("mweb_allow_modern_search_suggest_behavior")&&n&&n.addEventListener("touchmove",function(){EU&&EU.blur()})})}function e(n){AL=n.target.value;b()}function f(n,
p){AL=EU.value;if(!AL.trim())return!1;wDa();if(n=_.N(FU,_.NN))n.query=AL,dJ()&&(n.params="EgOAAgE%3D");p=p?xDa(p):{};var q;n=_.N((q=FU)==null?void 0:q.commandMetadata,_.ew);q=AL;q=_.M("mweb_innertube_search_command")?_.Ai((n==null?void 0:n.url)||"/results?search_query=","search_query",q).replace(/%20/g,"+"):"/results?search_query="+encodeURIComponent(q).replace(/%20/g,"+");dJ()&&(q=_.Ai(q,"sv","1"));n&&(n.url=q);_.BL({href:q,params:p,rb:4724,element:GU,endpoint:FU});EU.blur();return!1}function h(n){n.preventDefault();
var p;(p=EU)==null||p.focus();AL="";b()}var k=!1,l="",m=c.voiceSearchButton;FU=c.command;return{ge:function(){var n=_.sB();n=n.pathname+n.search;l!==n&&(l=n,AL=cJ(),FU=void 0)},render:function(){DU||(DU=_.zu(10349,void 0,0),pw(_.dw(),DU));pVa({action:"/results",className:"searchbox-form cbox",onsubmit:f},function(n){GU=n;GU.visualElement=DU;_.uD(GU,null);(0,_.S)({className:"searchbox-input-wrapper"},function(){var p={className:"searchbox-input title",name:_.vh("search"),placeholder:dJ()?FXa:DXa,autocomplete:"off",
autocorrect$:"off",spellcheck:"false",oninput:e,type:"text",onclick:function(q){q.stopPropagation()}};_.M("search_ui_mweb_keyboard_search_icon")&&(p.type="search");(0,_.kT)(p,function(q){EU=q;EU.value!==AL&&(EU.value=AL)});(0,_.kT)({type:"submit",hidden:!0});AL&&(0,_.S)({className:"searchbox-clear-search-wrapper"},function(){_.eK({name:"DISMISSAL",ariaLabel:EXa,onclick:h})});_.eK({name:"SEARCH",ariaLabel:DXa,onclick:function(){return f()}})});!AL&&m&&UH()&&_.M("mweb_voice_search")&&(0,_.S)({className:"searchbox-voice-search-wrapper"},
function(){GXa(m,{onButtonClickCallback:function(){var p;(p=_.rE())==null||p.pauseVideo()}})})});(0,_.S)({className:"searchbox-dropdown","data-has-modern-search-suggest-behavior$":_.M("mweb_allow_modern_search_suggest_behavior")?"true":""},function(){wn()})},Bf:function(n,p){p.command&&p.command!==FU&&(FU=p.command);p.voiceSearchButton&&p.voiceSearchButton!==m&&(m=p.voiceSearchButton);if(p.Ct)_.oB(function(){var r;(r=EU)==null||r.focus()});else{var q;(q=EU)==null||q.blur()}k||!p.Ct&&!p.VA||(k=!0,
d())}}});var JL;_.v(CDa,aI);var DDa=_.V({buttonRenderer:_.EL});var HDa,HU;window.addEventListener("voice-search-complete",function(a){a=a.detail;GDa(!1);a=a==null?void 0:a.AK;if(a==null?0:a.navigationAction){(a==null?0:a.trackingParams)&&_.mw(_.dw(),a.trackingParams,HDa,5);a=a.navigationAction;var b={};if(_.M("mweb_yt_searchbox")){var c=rDa();c.j.add(6);c=zL(c,15);b.gs_l=c;var d;b.oq=((d=_.N(a,_.NN))==null?void 0:d.query)||""}else(d=window.ytvoicesearchloggingparams)&&(d=d())&&(b=xDa(d));(d=_.sC(a))&&_.BL({href:d,params:b,endpoint:a,parentLayer:5})}});
window.addEventListener("state-change",JDa);window.addEventListener("hashchange",JDa);_.IU=_.R("ypcUpgradeDialogRenderer","d837Ef");_.ZB(_.IU);_.JU=_.R("confirmDialogRenderer","JAgkc");_.ZB(_.JU);_.KU=_.R("modalWithTitleAndButtonRenderer","BoMjYe");_.ZB(_.KU);_.LU=_.R("notificationActionRenderer","kYnf1c");_.ZB(_.LU);var KDa=_.W.zB;var YRa=["home","search","paid_memberships","subscriptions"],ZRa=["/playlist","/feed/history","/feed/library"];var HXa=new _.jp("TOAST_OPTIONS");var ML,PL="out",OL=[],SL,ODa=_.T(function(a){var b=_.K().resolve(_.mp(HXa));return _.H("c3-toast",{dir:PL,role:PL==="in"?"alert":"",class:_.BD({"hug-toast":!(b==null||!b.yP),"inverse-theme":!(b==null||!b.qQ)})},a.children)});ODa.U=!0;var IXa={aboutThisAdRenderer:VL(_.iU),addToPlaylistRenderer:VL(_.jU),confirmDialogRenderer:VL(_.JU),donationAmountPickerRenderer:VL(_.kU),donationPostTransactionRenderer:VL(_.lU),fancyDismissibleDialogRenderer:VL(_.mU),flowRootRenderer:VL(_.nU),gamingAccountLinkConfirmDialogRenderer:VL(_.oU),gamingAccountLinkSettingRenderer:VL(_.oU),membershipPostCancelRenderer:VL(_.xU),menuPopupRenderer:VL(_.pU),miniAppGameInfoDialogViewModel:function(a){_.uL({content:function(){_.U(Axa)({data:a})},data:a,mu:!0,
He:!0})},modalWithTitleAndButtonRenderer:VL(_.KU),multiPageMenuRenderer:VL(_.uU),notificationActionRenderer:VL(_.LU),reportDetailsFormRenderer:VL(_.vU),reportFormModalRenderer:VL(_.wU),sponsorshipsCelebrationRenderer:VL(_.yU),surveyFollowUpRenderer:VL(_.zU),unlimitedFamilyMessageInterstitialRenderer:VL(_.AU),unlimitedFamilyProfileInterstitialRenderer:VL(_.BU),upsellDialogRenderer:VL(_.CU),ypcUpgradeDialogRenderer:VL(_.IU),voiceSearchDialogRenderer:function(a){FDa()||(_.sB().hash!=="#voice-search"&&
(bJ("voice-search"),_.sm(".voice-search-mic-container")),IDa(a),HU=document.createElement("div"),HU.className="voice-search-dialog-container",document.body.appendChild(HU),_.QK(HU),KL().start(),(0,_.TE)(HU,function(){_.U(EDa)({data:a})}))}},WL=_.oG(IXa);var ZL,TJa=_.T(function(a){return _.H(_.O,{C:function(){var b=a.X(),c;var d=tJ((c=a.Ka)==null?void 0:c.call(a));return BJ(b,d)}},function(){return _.H("player-endscreen",{class:"YtwPlayerEndscreenHost"},_.H("div",{class:"ytm-player-endscreen"},_.H("div",{id:"player-endscreen",class:"endscreen-v2","data-has-timer-countdown":!0},_.H(JXa,{props:a.X,playerOverlayAutoplayRenderer:function(){var b;return vJ((b=a.Ka)==null?void 0:b.call(a))}}),_.H(KXa,{props:a.X,playerOverlayAutoplayRenderer:function(){var b;
return vJ((b=a.Ka)==null?void 0:b.call(a))}}),_.H(LXa,{props:a.X,playerOverlayAutoplayRenderer:function(){var b;return vJ((b=a.Ka)==null?void 0:b.call(a))}}))))})});TJa.U=!0;
var MU={thumbnailOverlayTimeStatusRenderer:fU,buttonRenderer:_.OQ},JXa=_.T(function(a){return _.H("div",{class:"autonav-top-panel"},_.H(MXa,Object.assign({},a)),_.H(NXa,Object.assign({},a)))}),MXa=_.T(function(a){var b=_.u(_.W.wp.split("seconds_placeholder")),c=b.next().value,d=b.next().value;return _.H("div",{class:"autonav-endscreen-header",role:"text"},_.H(_.Dw,null,_.H(_.Fw,{Pa:function(){var e;return a.props().ph&&((e=a.playerOverlayAutoplayRenderer)==null?void 0:e.call(a))}},function(){return _.H(_.tU,
{data:function(){var e;return(e=a.playerOverlayAutoplayRenderer)==null?void 0:e.call(a).pauseText}})}),_.H(_.Ew,null,function(){return _.H("span",{id:"upnext-in-message"},c,_.H(OXa,Object.assign({},a)),d)})))}),OXa=_.T(function(a){return _.H("span",{class:"autonav-endscreen-countdown-number","aria-hidden":!0},function(){return a.props().Me})}),NXa=_.T(function(a){return _.H(_.O,{C:function(){var b,c;return(b=a.playerOverlayAutoplayRenderer)==null?void 0:(c=b.call(a))==null?void 0:c.closeButton}},
function(b){return _.H(_.NF,{data:b,mapping:MU,Y:{buttonRenderer:{onButtonClickCallback:function(){VDa(a)}}}})})}),KXa=_.T(function(a){return _.H("div",{class:"autonav-endscreen-countdown-container"},_.H(_.CT,{stopPropagation:!1,command:function(){var b,c,d;return(b=a.playerOverlayAutoplayRenderer)==null?void 0:(c=b.call(a).nextButton)==null?void 0:(d=c.buttonRenderer)==null?void 0:d.navigationEndpoint},className:"autonav-endscreen-cued-video-container",ariaLabel:function(){var b,c;return _.AK((b=
a.playerOverlayAutoplayRenderer)==null?void 0:(c=b.call(a).videoTitle)==null?void 0:c.accessibility)}},_.H(PXa,Object.assign({},a)),_.H(QXa,Object.assign({},a))))}),PXa=_.T(function(a){return _.H("div",{class:"cued-thumbnail-overlay-v2"},_.H(hU,{thumbnailDetails:function(){var b;return(b=a.playerOverlayAutoplayRenderer)==null?void 0:b.call(a).background},overlay:null,vd:void 0,od:!1,className:void 0}),_.H(_.NF,{mapping:MU,data:function(){var b;return(b=a.playerOverlayAutoplayRenderer)==null?void 0:
b.call(a).thumbnailOverlays},Y:{thumbnailOverlayTimeStatusRenderer:{className:"thumbnail-overlays",ariaHidden:!0}}}))}),QXa=_.T(function(a){return _.H("div",{class:"autonav-endscreen-video-info","aria-hidden":!0},_.H("div",{class:"autonav-endscreen-video-title"},_.H(_.tU,{data:function(){var b;return(b=a.playerOverlayAutoplayRenderer)==null?void 0:b.call(a).videoTitle}})),_.H("div",{class:"autonav-endscreen-video-author"},_.H(_.tU,{data:function(){var b;return(b=a.playerOverlayAutoplayRenderer)==
null?void 0:b.call(a).byline},ka:!0})))}),LXa=_.T(function(a){var b={style:"overlay"};return _.H("div",{class:"autonav-endscreen-button-container"},_.H(_.NF,{data:function(){var c;return(c=a.playerOverlayAutoplayRenderer)==null?void 0:c.call(a).cancelButton},mapping:MU,Y:{buttonRenderer:{className:"cancel-autoplay",onButtonClickCallback:function(){VDa(a)},buttonOverrides:b}}}),_.H(_.NF,{data:function(){var c;return(c=a.playerOverlayAutoplayRenderer)==null?void 0:c.call(a).nextButton},mapping:MU,Y:{buttonRenderer:{className:"playnext-button",
buttonOverrides:b}}}))});var RXa=_.T(function(a){var b=_.Ow(),c=_.Ow(function(e){e&&WJ(e,28572)}),d=_.P(function(){if(c.value){XJ(28572);var e;(e=a.N)==null||e.call(a).playVideo()}});_.Xo(function(){var e;if((e=a.thumbnailDetails)!=null&&e.call(a)){e=b.value;var f=e.getBoundingClientRect(),h,k;a:if((k=((h=a.thumbnailDetails)==null?void 0:h.call(a)).thumbnails)&&k.length!==0){var l=window.devicePixelRatio>1?window.devicePixelRatio:1;h=f.width*l;f=f.height*l;if(h>640||f>480)k=k.at(-1).url;else{if(h>320||f>180){l=h=f=void 0;
for(var m=_.u(k),n=m.next();!n.done;n=m.next())n=n.value,!l&&n.width>=320?l=n.url:!h&&n.width>=480?h=n.url:!f&&n.width>=640&&(f=n.url);if(f=f||h||l){k=f;break a}}k=k[0].url}}else k=void 0;k&&(e.style.backgroundImage="url("+k+")")}});return _.H("cued-overlay",{class:_.BD("YtmCuedOverlayHost",{ended:function(){return nJ(a.X())},hidden:function(){var e=a.X(),f=a.X().N;return!($L(e,f)||nJ(e))}}),"on:click":d},_.H(_.O,{C:function(){var e;return((e=a.X().Fb)==null?void 0:e.eA)&&!nJ(a.X())}},function(){return _.H("div",
{class:"YtmCuedOverlayGradient"})}),_.H("div",{class:"YtmCuedOverlayThumbnail",el:b}),_.H(_.O,{C:function(){return!nJ(a.X())}},function(){return _.H("button",{class:"YtmCuedOverlayPlayButton",el:c,"aria-label":_.W.kh,title:_.W.kh},_.gC("YOUTUBE",{className:"YtmCuedOverlayPlayButtonIcon"}))}))});RXa.U=!0;var bM;oM.prototype.resumeVideo=function(a){if(a.Ha<a.videoDuration){var b;(b=a.N)==null||b.playVideo()}};oM.prototype.W=function(a,b,c){if(b=b.N){var d;if((d=b.getVideoData())==null?0:d.isLive)d=this.getProgressState(b),a+=(d==null?void 0:d.seekableStart)||0;b.seekTo(a,void 0,void 0,void 0,c)}};oM.prototype.getProgressState=function(a){var b=a==null?void 0:a.getPresentingPlayerType();return a==null?void 0:a.getProgressState(b)};var vM=new Map,SXa=_.u(Sha({Ik:72,Qm:0,startPosition:0,Jk:0,zd:0})),wM=SXa.next().value,xM=SXa.next().value,NU=null,LEa=_.T(function(a){function b(){return e().Ob==="on"}function c(){for(var p=[],q=0;q<e().videoDuration;q+=e().Fc)p.push(q);return p}function d(){return!(f==null?0:f())||!AJ(f==null?void 0:f())}var e=a.Sg;var f=a.Za;var h=_.Ow(),k=_.Ow();_.Jw(function(){h.value&&_.RJ(152789,h.value,NU,function(p){NU=p})});_.Xo(function(){k.value&&(k.value.style.transform="translate("+wM.zd()+"px)")});
var l=_.P(function(p){var q=e();xM({Qm:0,startPosition:p.touches[0].clientX,Jk:q.Ha});p.stopPropagation();p.preventDefault()}),m=_.P(function(p){var q=e();p.stopPropagation();p.preventDefault();xM({Qm:p.touches[0].clientX-wM.startPosition()});p=_.Mi(-(q.videoDuration/q.Fc*72),q.zd+wM.Qm(),0);q=HEa(q,p);xM({zd:p,Jk:q})}),n=_.P(function(){var p=e(),q=_.Mi(-(p.videoDuration/p.Fc*72),p.zd+wM.Qm(),0);p.M({zd:q,Ha:wM.Jk()});q=HEa(p,q);var r;(r=p.N)==null||r.seekTo(q,void 0,void 0,void 0,25);_.UJ(p,"SEEK_SOURCE_FINE_SCRUBBER_SLIDE_ON_FILMSTRIP",
NU)});return _.H(_.O,{C:function(){return _.Yo(e().N)}},function(){var p={};return _.H("div",{class:_.BD("YtFineScrubbingHost",(p.YtFineScrubbingWithShadow=b,p.YtFineScrubbingWithShadowRefresh=function(){return b()&&_.M("enable_cairo_refresh_web")},p)),style:_.gF({transform:function(){return"translateY("+(e().Ob==="off"?72:wM.Ik())+"px)"},transition:function(){return b()?"transform 0.2s ease, top 0.2s ease":""}}),"on:touchstart":l,"on:touchmove":m,"on:touchend":n,el:h},_.H("div",{class:"YtFineScrubbingCenterLine"}),
_.H("div",{class:"YtFineScrubbingFilmstrip",style:function(){return"transform: translate("+e().zd+"px);"},el:k},_.H(_.O,{C:d,ia:function(){return _.H(TXa,{Sg:e,chapters:function(){return iM(f())}})}},function(){return _.H(_.zw,{each:c},function(q){return _.H(OU,{Sg:e,time:q})})})))})});LEa.U=!0;
var TXa=_.T(function(a){var b=a.Sg;var c=a.chapters;return _.H(_.zw,{each:function(){vM.clear();for(var d=[],e=0,f=_.N(c()[e],MJ),h=0,k=0;k<b().videoDuration;k+=b().Fc)f&&GEa(f,k,b())?(vM.set(e,h),d.push({time:k,mq:c()[e]}),e++,h+=128,f=_.N(c()[e],MJ)):(h+=72,d.push({time:k}));return d}},function(d){return _.H(_.O,{C:function(){return _.Yo(d.mq)},ia:function(){return _.H(OU,{Sg:b,time:d.time})}},function(e){return _.H(UXa,{Sg:b,time:d.time,mq:e})})})});TXa.U=!0;
var OU=_.T(function(a){function b(){return KJ(d(),!1,c().N)}var c=a.Sg;var d=a.time;return _.H(_.O,{C:b},function(e){return _.H("div",{class:"YtFineScrubbingFilmstripThumbnail"},_.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){tM(e(),HJ(b()),IJ(b()),HJ(b())>IJ(b())?72/IJ(b()):72/HJ(b()),!0,uM(c(),d()))})}))})});OU.U=!0;
var UXa=_.T(function(a){function b(){return KJ(d(),!1,c().N)}var c=a.Sg;var d=a.time;var e=a.mq;return _.H(_.O,{C:b},function(f){return _.H("div",{class:"YtFineScrubbingFilmstripChapteredThumbnail"},_.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){tM(f(),HJ(b()),IJ(b()),HJ(b())>IJ(b())?72/IJ(b()):72/HJ(b()),!1,uM(c(),d()))})}),_.H(_.Vo,null,function(){var h;return _.H("div",{class:"YtFineScrubbingFilmstripChapteredThumbnailOverlay"},_.Y((h=_.N(e(),MJ))==null?void 0:h.title))}))})});
UXa.U=!0;var VXa=_.u(_.$o(0)),IEa=VXa.next().value,KEa=VXa.next().value,WXa=_.u(_.$o(0)),PEa=WXa.next().value,UEa=WXa.next().value,BM=new Map,CM=72,AM=0,SEa=0,zM=null;var ZEa=function(a,b){b=b===void 0?Kpa:b;var c,d=[],e,f=!1;return function(){var h=_.Ka.apply(0,arguments);if(f&&c===this&&b(h,d))return e;e=a.apply(this,h);f=!0;c=this;d=h;return e}}(function(a){var b=a.heatMarkers,c=a.minHeightDp===void 0?0:a.minHeightDp,d=a.maxHeightDp===void 0?60:a.maxHeightDp;var e=e===void 0?!1:e;var f=1E3/b.length;a=[];a.push({x:0,y:100});for(var h=0;h<b.length;h++){var k=void 0,l=((k=_.N(b[h],wUa))==null?void 0:k.heatMarkerIntensityScoreNormalized)||0;k=(h+.5)*f;l=100-_.Mi(l*
100,c/321*100,d/321*100);h!==0||e||a.push({x:0,y:l});a.push({x:k,y:l});h===b.length-1&&a.push({x:1E3,y:l})}a.push({x:1E3,y:100});b="";for(c=0;c<a.length;c++)e=a[c],c===0?e="M "+e.x.toFixed(1)+","+e.y.toFixed(1):(d=jza(a[c-1],a[c-2],e),f=jza(e,a[c-1],a[c+1],!0),e=" C "+(d.x.toFixed(1)+","+d.y.toFixed(1)+" "+f.x.toFixed(1)+","+f.y.toFixed(1)+" "+e.x.toFixed(1)+","+e.y.toFixed(1))),b+=e;return b});var FM=null,iFa,EM=new oM(fFa,lFa,REa,yM,function(a,b,c){_.M("mweb_enable_keto_batch_player_1")?c.Ob==="on"?xM({Ik:0}):xM({Ik:_.Mi(0,72-(a-b),72)}):CM=c.Ob==="on"?0:_.Mi(0,72-(a-b),72)},DM);var nFa,GM=0;var MM=void 0;var zP=_.T(function(a){var b=_.Ow(),c=_.BD("YtwSpeedmasterTooltipHost","player-controls-top-tooltip","center"),d=_.Wo(function(){return a.X().jc});_.Xo(function(){if(d()&&b.value){var e=null;_.RJ(173040,b.value,e,function(f){e=f})}});return _.H(_.O,{C:d},function(){return _.H("speedmaster-tooltip",{el:b,class:c},_.H("div",{class:"player-controls-top-tooltip-label typography-narrow-default-action-m"},_.W.Yu),_.gC("FAST_FORWARD",{className:"player-controls-top-tooltip-icon"}))})});zP.U=!0;var pFa=null,IM=void 0;var LM=0,KM=0,OM=0,PM=0,NM=!1;var oLa=_.T(function(a){var b=a.X;var c=a.data;var d=a.content;var e=_.Wo(function(){return b().ra});a=_.Wo(function(){return b().jc});var f=_.Wo(function(){var w;return(w=b().Fb)==null?void 0:w.dk}),h=_.Wo(function(){var w;return $L(b(),c==null?void 0:(w=c())==null?void 0:w.N)}),k=_.Wo(function(){return RM(b(),h())});a=_.BD("new-controls","bigbar","medium-modification",{"animation-enabled":!0,"enable-fullscreen-controls":!0,"fs-watch-system":!0},{fadein:e,"background-hidden":a,"fullscreen-controls-always-on":f,
hidden:_.Wo(function(){return!k()&&_.M("mweb_keep_player_controls_alive")}),"intercept-element-clicks":_.Wo(function(){return k()&&!e&&_.M("mweb_accessible_player_controls")}),"use-opacity":function(){return _.M("mweb_accessible_player_controls")}});f=_.P(function(w){mFa(w,b())});var l=_.P(function(w){sFa(w,b())}),m=_.P(function(w){tFa(w,b())}),n=_.P(function(w){QM(w,b())}),p=_.P(function(w){QM(w,b())}),q=_.Wo(function(){return b().Sc>8}),r=_.Wo(function(){return b().Eb!==0}),t=_.Wo(function(){return q()&&
r()});return _.H("yt-controls-overlay",{id:"player-control-overlay",class:a,"on:click":f,"on:touchstart":l,"on:touchmove":m,"on:touchend":n,"on:touchcancel":p},_.H(_.Vo,null,function(){return _.H("div",{class:_.BD("player-controls-content",{"pointer-events-off":t})},_.H(_.Oo,null,function(){d(b(),b,c==null?void 0:c())}))}))});oLa.U={callbacks:{X:!1,content:!0}};var kP=_.T(function(a){return _.H("double-tap-to-seek-circle",{class:function(){var b;if((b=a.N)==null?0:b.call(a)){b=a.Eb();a.es();var c=a.gy()>1;return _.BD("YtwDoubleTapToSeekCircleHost","player-controls-double-tap-to-seek-static-circle",{"circle-show":c&&!!b,"circle-hide":c&&!b})()}},style:function(){var b,c=(b=a.N)==null?void 0:b.call(a),d;if(c==null?0:(d=c.isReady)==null?0:d.call(c)){b=a.Eb();d=a.es();var e=2.4*c.getSize().height;c=c.getSize();c=c.width/2-2.4*c.height;e="width: "+e+"px; height: "+
e+"px;";b=[b,d];b.includes(1)?e+="right: "+c+"px;":b.includes(-1)&&(e+="left: "+c+"px;");b=e}else b="display: none";return b}})});kP.U=!0;var HKa=_.T(function(a){function b(){return XDa(d())}var c=_.Wo(function(){return a.X().Eb}),d=_.Wo(function(){return a.X().Sc}),e=_.Wo(function(){return a.X().N}),f=wFa(function(p){var q=c();return q?q:p}),h=wFa(function(p){return d()>0?d():p}),k=_.BD("YtwDoubleTapToSeekHost","player-controls-double-tap-to-seek-content","cbox","always-visible"),l=_.BD("player-controls-double-tap-to-seek-info","vbox",{"player-controls-double-tap-to-seek-info-back":function(){return c()===-1},"player-controls-double-tap-to-seek-info-forward":function(){return c()===
1}}),m=_.Ow(function(p){WJ(p,28239)}),n=_.Ow(function(p){WJ(p,28240)});return _.H("double-tap-to-seek",{class:k},_.H("div",{class:l},_.H(_.O,{C:function(){return c()&&d()>1}},function(){return _.H(_.F,null,_.H(hP,{direction:c,size:"large"}),_.H("span",null,b))})),_.H(kP,{N:e,Eb:c,es:f,gy:h}),_.H("div",{el:m}),_.H("div",{el:n}))});HKa.U=!0;var yP=_.T(function(){return _.H("double-tap-to-seek-tooltip",{class:_.BD("YtwDoubleTapToSeekTooltipHost","player-controls-top-tooltip","center")},_.H(hP,{direction:-1,size:"small"}),_.H("div",{class:_.BD("player-controls-top-tooltip-label","typography-narrow-default-action-m","player-controls-top-tooltip-contains-icon")},_.W.Zu),_.H(hP,{direction:1,size:"small"}))});yP.U=!0;var XXa=_.kF(_.SM,{callbacks:{buttonTapOverride:!0}});var EFa;EFa=_.V({toggleButtonRenderer:_.SM});_.YXa=_.kF(_.TM);var xP=_.T(function(a){function b(){h()&&p&&_.vC(h(),p(),!0)}function c(){var oa;return(oa=l())==null?void 0:oa.subscribeButton}function d(){var oa;return(oa=l())==null?void 0:oa.subtitle}function e(){var oa;return(oa=l())==null?void 0:oa.title}function f(){return p==null?void 0:p().channelThumbnail}function h(){return p==null?void 0:p().channelThumbnailEndpoint}function k(){var oa;return(oa=_.N(p==null?void 0:p().collapsedRenderer,$Ta))==null?void 0:oa.title}function l(){return _.N(p==null?void 0:
p().expandedRenderer,aUa)}function m(oa){oa=oa===void 0?500:oa;t(!1);A=setTimeout(function(){!r()&&w()&&y(!1)},oa)}function n(){t(!0);A&&clearTimeout(A);w()||y(!0)}var p=a.videoDetails;var q=a.X;a=_.u(_.$o(!1));var r=a.next().value,t=a.next().value;a=_.u(_.$o(!1));var w=a.next().value,y=a.next().value,B=_.Ow(),A,E=_.P(n),I=_.P(function(){m()}),G=_.P(n),X=_.P(function(oa){var Aa;(B==null?0:(Aa=B.value)==null?0:Aa.contains(oa.target))||m()}),ca=_.P(function(){var oa,Aa,Ra=(oa=k())==null?void 0:(Aa=
oa.runs)==null?void 0:Aa[0].navigationEndpoint;if(Ra){var la,$a;oa=(la=q())==null?void 0:($a=la.N)==null?void 0:$a.getCurrentTime();_.vC(Ra,{params:{timestamp:oa?Math.floor(oa).toString():void 0}},!0)}}),pa=_.P(b),qa=_.P(function(oa){oa.preventDefault();w()?b():n()}),ja=_.P(function(oa){oa.preventDefault();m(2500)}),Fa=_.P(function(){n();return!0}),za=_.P(function(){m(2500)});a={};a=_.BD("YtmVideoInfoVideoTitleContainer",(a.YtmVideoInfoLogoEnabled=function(){return!!f()},a));var wb={},ka=_.BD("YtmVideoInfoOverlay",
(wb.YtmVideoInfoExpanded=function(){return w()},wb));return _.H("embedded-player-video-details",{class:"YtmVideoInfoHost"},_.H("div",{class:"YtmVideoInfoVideoDetailsContainer"},_.H("div",{class:a},_.H(_.O,{C:k},function(){return _.H("div",{"on:click":ca,class:"YtmVideoInfoLinkContainer"},_.H(_.wD,{text:k,className:_.BD("YtmVideoInfoVideoTitle","YtmVideoInfoLink"),pb:!0,noWrap:!0,ka:!0}))}),_.H(_.O,{C:h},function(){return _.H("div",{"on:click":pa,class:"YtmVideoInfoLinkContainer"},_.H(_.wD,{text:e,
className:_.BD("YtmVideoInfoChannelTitle","YtmVideoInfoLink"),pb:!0,noWrap:!0,ka:!0}))})),_.H(_.O,{C:f},function(){return _.H("div",{class:"YtmVideoInfoChannelContainer",el:B,"on:focusin":G,"on:focusout":X,"on:mouseover":E,"on:mouseout":I},_.H("div",{"on:touchstart":qa,"on:touchend":ja,"on:click":pa,class:"YtmVideoInfoLink"},_.H(_.wK,{thumbnailDetails:f,className:"YtmVideoInfoChannelLogo",alt:"thumbnail-image"})),_.H("div",{class:ka,"on:touchstart":Fa,"on:touchend":za},_.H("div",{class:"YtmVideoInfoChannelInfo"},
_.H(_.wD,{text:e,className:"YtmVideoInfoFlyoutChannelTitle",qe:!0,pb:!0,noWrap:!0,ka:!0}),_.H(_.wD,{text:d,className:"YtmVideoInfoFlyoutChannelSubtitle",qe:!0,pb:!0,noWrap:!0,ka:!0})),_.H(_.O,{C:c},function(){return _.H("div",{class:"YtmVideoInfoSubscribeButton"},_.H(_.NF,{data:c,mapping:{subscribeButtonRenderer:_.YXa},Y:{subscribeButtonRenderer:{Zp:!0}}}))})))})))});xP.U=!0;var ZXa=_.T(function(a){var b=a.data;var c=a.props;a=_.P(function(){var e=b().infoPanelDetailsViewModel;if(e){var f={},h;if((h=e.title)==null?0:h.content)f.title=e.title.content;var k;if((k=e.bodyText)==null?0:k.content)f.subtitle=e.bodyText.content;var l=e.ctaButtons||[];_.GK({header:f,content:function(){l.forEach(function(m){var n=_.N(m,fUa);if(n){var p=_.N(GFa(n),_.BH);p&&_.U(AH)({data:p,ze:!0,onTap:function(){var q=n.onTap;q&&(q=_.N(q,_.mC))&&_.vC(q,p,!0)}})}})},shouldShowIcons:!0})}});var d=
{};return _.H("ytm-embeds-info-panel-renderer",{class:_.BD("YtmEmbedsInfoPanelRendererHost",(d.YtmEmbedsInfoPanelRendererHostAutohide=function(){return c().playerState===1},d)),style:function(){var e=b(),f="10000";e&&e.durationMs&&(f=e.durationMs);return"animation-delay:"+f+"ms"}},_.H("a",{"on:click":a,class:"YtmEmbedsInfoPanelRendererLink"},_.H(_.O,{C:function(){var e,f;return(e=b().infoPanelOverviewViewModel)==null?void 0:(f=e.headerIcon)==null?void 0:f.iconType}},function(){return _.H(_.Vo,null,
function(){var e,f;return _.H("span",null,_.gC((e=b().infoPanelOverviewViewModel)==null?void 0:(f=e.headerIcon)==null?void 0:f.iconType))})}),_.H("div",{class:"YtmEmbedsInfoPanelRendererText"},_.H(_.wD,{text:function(){var e;return(e=b().infoPanelOverviewViewModel)==null?void 0:e.title}}),_.H(_.wD,{text:function(){var e,f;return{content:((e=b().infoPanelOverviewViewModel)==null?0:e.title)&&((f=b().infoPanelOverviewViewModel)==null?0:f.bodyText)?" \u2022 ":""}}}),_.H(_.wD,{text:function(){var e;return(e=
b().infoPanelOverviewViewModel)==null?void 0:e.bodyText}}))))});ZXa.U=!0;var pP=_.T(function(a){var b=a.X;var c=a.Ka;var d=_.P(function(e){VFa(e,b());_.FJ()});return _.H(_.O,{C:function(){return RBa(c==null?void 0:c())}},function(e){return _.H("div",{class:"fullscreen-more-videos-endpoint",role:"button",tabindex:0,"on:click":d},_.H(aYa,{Nq:e}),_.H(bYa,{Nq:e}))})});pP.U=!0;
var aYa=_.T(function(a){var b=a.Nq;return _.H("div",{class:"more-videos-message","aria-hidden":"true"},_.H("div",{class:"more-videos-message-title"},_.H(_.wD,{text:function(){return b().title}})),_.H("div",{class:"more-videos-message-subtitle"},_.H(_.wD,{text:function(){return b().subtitle}})))});aYa.U=!0;
var bYa=_.T(function(a){var b=a.Nq;return _.H("div",{class:"stacked-videos-wrapper"},_.H(_.O,{C:function(){return b().imageFront}},function(c){return _.H(PU,{img:c})}),_.H(_.O,{C:function(){return b().imageMiddle}},function(c){return _.H(PU,{img:c})}),_.H(_.O,{C:function(){return b().imageBack}},function(c){return _.H(PU,{img:c})}))});bYa.U=!0;
var PU=_.T(function(a){var b=a.img;return _.H(_.Vo,null,function(){return _.H("div",{class:"stacked-video-preview"},_.H(_.Oo,null,function(){_.rD(b(),{className:"stacked-video-preview-image",alt:"this is hidden","aria-hidden$":!0})}))})});PU.U=!0;var YFa,$Fa;YFa=new Map([["CHIP_VIEW_MODEL_DISPLAY_TYPE_NO_ICON","STYLE_HOME_FILTER"]]);$Fa=_.V({chipViewModel:ZFa,buttonViewModel:_.sD(_.HF)});_.cYa=_.kF(aGa,{callbacks:{onChipClick:!0}});var dGa=_.V({metadataBadgeRenderer:_.$M,standaloneCollectionBadgeRenderer:_.aN,standaloneYpcBadgeRenderer:function(a){var b=a.data;return _.H("ytm-standalone-ypc-badge-renderer",null,b.discountText?_.H(_.ZM,{className:"standalone-ypc-badge",dataType:"STYLE_DISCOUNT"},_.Y(b.discountText)):null,_.H(_.ZM,{className:"standalone-ypc-badge",dataType:_.lC(function(){return b.style.badgeStyle})},_.Y(b.badgeText)))},textBadge:_.cGa,privacyBadgeRenderer:function(a){return _.H("ytm-privacy-badge-renderer",null,
_.gC("PRIVACY_"+a.data.privacyStatus))}}),dYa=_.kF(_.bN,{callbacks:{onClick:!0}});var dN=_.T(function(a){function b(){var l;return((l=h)==null?0:l())?"small-lockup":""}function c(){var l;return(l=e())==null?void 0:l.some(function(m){return!(m==null||!m.runs)})}function d(l){return function(){var m=e()?e()[l()]:void 0;m=m&&m.runs;var n;return m&&l()===0&&((n=h)==null?0:n())?!1:m}}var e=a.gq;var f=a.wr;var h=a.isSmallLockup;var k=_.no(function(l){l.append("aria-hidden",_.cC(f,!0))});return _.H(_.O,{C:function(){var l;return!((l=e())==null||!l.length)}},function(){return _.H("ytm-badge-and-byline-renderer",
{class:b,"data-is-all-badges":function(){return c()?"":"true"}},_.H(_.zw,{each:e},function(l,m){return _.H(_.O,{C:function(){return _.Yo(l)&&_.Yo(l).runs},ia:function(){return _.H("span",{class:"ytm-badge-and-byline-item-badge"},_.H(dYa,{badges:l}))}},function(){return _.H(_.O,{C:function(){var n;return m()===0&&((n=h)==null?void 0:n())},ia:function(){return _.H(_.F,null,_.H(_.O,{C:d(function(){return m()-1})},function(){return _.H("span",{class:"ytm-badge-and-byline-separator","aria-hidden":"true"},
"\u2022")}),_.H("span",Object.assign({},{class:"ytm-badge-and-byline-item-byline small-text",dir:"auto"},k),_.H(_.bL,{data:l,ka:!0})))}},function(){return _.H("div",{class:"small-lockup"},_.H("span",Object.assign({},{class:"ytm-badge-and-byline-item-byline small-text small-lockup",dir:"auto"},k),_.H(_.bL,{data:function(){return e()[0]},ka:!0})))})})}))})});dN.U=!0;var fGa=_.V({toggleButtonRenderer:_.SM});_.kF(fN);_.kF(gN);_.kF(hN);var kGa,mGa;_.kN=_.oG({buttonRenderer:_.IL,menuServiceItemRenderer:_.iGa,toggleButtonRenderer:_.iN,toggleMenuServiceItemRenderer:_.jGa,menuNavigationItemRenderer:_.hGa,likeButtonRenderer:function(a,b){_.U(_.eN)({data:a,buttonOverrides:b==null?void 0:b.buttonOverrides})}});kGa=_.V({buttonRenderer:_.EL,menuServiceItemRenderer:gN,toggleButtonRenderer:_.SM,toggleMenuServiceItemRenderer:hN,menuNavigationItemRenderer:fN,likeButtonRenderer:_.eN});_.QU=_.kF(_.jN);
mGa=_.T(function(a){a=_.bC(a,{showIcon:!1,buttonOverrides:{},buttonSize:"L",menuIcon:"MORE_VERT"});var b=a.data,c=a.className,d=a.menuIcon,e=a.showIcon,f=a.buttonSize,h=a.buttonOverrides;return _.H(_.O,{C:function(){var k;return((k=b().items)==null?void 0:k.length)||b().isDisabled&&b().disabledCommand}},function(){return _.H("ytm-bottom-sheet-renderer",{class:c},_.H(_.Vo,null,function(){var k=_.NB()?"MORE_HORIZ":d();return _.H(_.Oo,null,function(){var l,m=(l=b())==null?void 0:l.items,n,p,q={content:function(){(0,_.S)({className:"bottom-sheet-media-menu-item"},
function(){(0,_.kN)(m)})},shouldShowIcons:e(),isDisabled:(n=b())==null?void 0:n.isDisabled,disabledCommand:(p=b())==null?void 0:p.disabledCommand},r;_.tF(Object.assign({},{style:"mono",type:"text",state:"active",size:f(),iconPosition:"icon-only",accessibilityLabel:_.AK((r=b())==null?void 0:r.accessibility)||"",onTap:function(t){q.focusOnClose=t.currentTarget;_.NB()&&t.stopPropagation();_.GK(q)}},h()),function(){_.bK(k)})})}))})});mGa.U=!0;var eYa=_.kF(_.oN,{callbacks:{overlay:!0}});var pN=_.T(function(a){function b(){return{Oc:_.M("mweb_modern_collections_v2"),thumbnailSize:"large",Cf:!0,sampledThumbnailColor:d==null?void 0:d().sampledThumbnailColor,vibrantColorPalette:d==null?void 0:d().vibrantColorPalette,darkColorPalette:d==null?void 0:d().darkColorPalette,an:!0}}function c(){return e?_.H(fYa,{collectionThumbnail:e,Ge:qa.value,overlay:X}):_.H(_.Oo,null,function(){X==null||X()})}var d=a.thumbnail;var e=a.collectionThumbnail;var f=a.Tg;var h=a.Cl;var k=a.channelThumbnail;var l=
a.channelEndpoint;var m=a.kk;var n=a.navigationEndpoint;var p=a.headline;var q=a.secondaryHeadline;var r=a.La;var t=a.topBadges;var w=a.Mc;var y=a.menu;var B=a.alwaysUseVerticalLayout;var A=a.isSmallLockup;var E=a.minimalLockup;var I=a.Cz;var G=a.Vb;var X=a.overlay;var ca=a.extraContent;var pa=a.Sq;var qa=_.Ow(),ja=_.BD("media-item-endorsement-container","typography-body-1a"),Fa=_.BD("media-item-thumbnail-container",{stacked:G});a=_.BD("details",{"small-lockup":A,"feature-phone-minimal-lockups":function(){return(E==
null?void 0:E())&&!1},stacked:G});return _.H("ytm-media-item",{el:qa,class:_.BD({"small-lockup":A,"big-shorts-singleton":function(){return(I==null?void 0:I())&&_.M("mweb_show_big_shorts_singleton")&&!_.VM&&!_.mD()}}),"use-vertical-layout":function(){return _.Yo(B)?"true":void 0}},_.H(_.CT,{command:n,ariaHidden:!0,stopPropagation:!0,className:function(){return Fa()},style:function(){return{className:Fa()}.style}},_.H(_.O,{C:function(){return _.Yo(!0)&&(G==null?void 0:G())},ia:function(){return _.H(_.O,
{C:function(){return _.Yo(!0)&&(A==null?void 0:A())},ia:function(){return _.H(eYa,{thumbnailDetails:d,overlay:c})}},function(){return _.H(hU,{thumbnailDetails:d,overlay:c})})}},function(){return _.H(uWa,{data:b},_.H(eYa,{thumbnailDetails:d,overlay:c,Vb:G}))})),_.H(_.O,{C:function(){return _.Yo(!0)&&(q==null?void 0:q())}},function(){return _.H("div",{class:ja},_.H(gYa,{secondaryHeadline:q}))}),_.H("div",{class:a},_.H(hYa,{Tg:f,channelThumbnail:k,channelEndpoint:l,kk:m,headline:p,navigationEndpoint:n}),
_.H("div",{class:"media-item-info cbox","no-channel-avatar":function(){return!(p==null||!p())&&!(h==null?0:h())&&(!(k==null?0:k())||!(l==null?0:l()))},"use-modern-collections":G},_.H("div",{class:"media-item-metadata"},_.H(_.CT,{command:n,stopPropagation:!0,tabIndex:void 0},_.H(iYa,{headline:p,Vg:!!_.zB.loading,disableNavigationEndpoint:!1}),_.H(_.O,{C:function(){return _.Yo(!0)&&(t==null?void 0:t())}},function(za){return _.H(dYa,{badges:za,className:"media-item-top-badges"})}),_.H(jYa,{accessibility:function(){var za;
return _.Yo(!0)&&!!(p==null?0:(za=p())==null?0:za.accessibility)},La:r,Mc:w,Vg:!!_.zB.loading,isSmallLockup:A}),_.H(_.O,{C:function(){return _.Yo(!0)&&!!ca}},function(){return _.H(_.Oo,null,function(){ca==null||ca()})})),_.H(_.Oo,null,function(){pa==null||pa()})),_.H(kYa,{menu:y,isSmallLockup:A}))))});pN.U=!0;
var fYa=_.T(function(a){var b=a.collectionThumbnail;var c=a.Ge;var d=a.overlay;return _.H("div",null,_.H("div",{class:"media-item-thumbnail-slideshow"},_.H(_.wWa,{data:b,Ge:c})),_.H(_.Oo,null,function(){d==null||d()}))}),kYa=_.T(function(a){function b(){return{className:"media-item-menu",isSmallLockup:!(d==null||!d()),menuIconClassName:""}}var c=a.menu;var d=a.isSmallLockup;var e=_.u(_.$o(_.M("mweb_sheets_ui_refresh")&&!_.VM&&!_.mD())).next().value;return _.H(_.O,{C:function(){var f;return((f=c())==
null?void 0:f.menuRenderer)&&e()},ia:function(){return _.H(_.NF,{data:c,mapping:{menuRenderer:_.QU},Y:{menuRenderer:{config:b}}})}},function(){return _.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){_.mN(c().menuRenderer,b(),!0)})})})});pN.U=!0;
var hYa=_.T(function(a){var b=a.Tg;var c=a.channelThumbnail;var d=a.channelEndpoint;var e=a.kk;var f=a.headline;a=a.navigationEndpoint;return _.H("div",{class:"media-channel"},_.H(_.O,{C:function(){return _.Yo(!0)&&!!b},ia:function(){return _.H(lYa,{channelThumbnail:c,channelEndpoint:d,kk:e,headline:f})}},function(){return _.H(_.Vo,null,function(){return _.H("span",null,_.H(_.Oo,null,function(){b()}))})}),_.H(_.CT,{command:a,stopPropagation:!1,className:"media-item-extra-endpoint"}))}),lYa=_.T(function(a){var b=
a.channelThumbnail;var c=a.channelEndpoint;var d=a.kk;var e=a.headline;return _.H(_.O,{C:function(){return!(_.Yo(!0)&&(e==null?0:e())&&!((b==null?0:b())&&(c==null?0:c())))}},function(){return _.H(_.CT,{command:c,stopPropagation:!0,ariaLabel:d},_.H(_.bU,{thumbnail:b,className:"media-icon",ariaHidden:function(){return!(d==null||!d())}}))})}),iYa=_.T(function(a){var b=a.headline;var c=a.Vg;return _.H("h3",{class:_.BD("media-item-headline",{"media-item-headline-placeholder":function(){return c()&&!b()}})},
_.H(_.bL,{data:b,ka:a.disableNavigationEndpoint}))}),gYa=_.T(function(a){return _.H("div",{class:"media-item-secondary-headline"},_.H(_.bL,{data:a.secondaryHeadline}))}),jYa=_.T(function(a){var b=a.accessibility;var c=a.La;var d=a.Mc;var e=a.Vg;var f=a.isSmallLockup;return _.H("div",{class:function(){return!e()||c().length||(d==null?0:d().length)?"":"media-item-headline-placeholder"}},_.H(dN,{gq:c,wr:b,isSmallLockup:f}),_.H(_.O,{C:function(){return _.Yo(!0)&&(d==null?void 0:d())}},function(h){return _.H(dN,
{gq:h,wr:b,isSmallLockup:f})}))});var wGa=_.oG({menuRenderer:_.lN});_.tN=_.T(function(a){var b=a.data;return _.H("ytm-thumbnail-overlay-resume-playback-renderer",null,_.H("div",{class:"thumbnail-overlay-resume-playback-progress",style:_.gF({width:gWa(function(){return b().percentDurationWatched||0})})}))});var mYa=_.kF(_.yGa);_.RU=_.T(function(a){function b(){return!(c==null?0:c())||(f==null?void 0:f())}var c=a.overlayText;var d=a.Xy;var e=a.Ce;var f=a.Rv;var h=_.BD("video-thumbnail-overlay-bottom-text",{"collections-v2":_.M("mweb_modern_collections_v2")});return _.H("div",{class:_.BD({"video-thumbnail-overlay-bottom-icon-text":function(){return!b()},"video-thumbnail-overlay-bottom-icon":function(){return b()},"collections-v2":_.M("mweb_modern_collections_v2")}),style:function(){var k=e==null?void 0:e();return k?typeof k===
"number"?"background-color:"+_.fA(k,"0.8"):"background-color:rgba("+k.red+","+k.green+","+k.blue+",0.8);":""}},_.H(_.ZJ,{name:d}),_.H(_.O,{C:function(){return c==null?void 0:c()}},function(){return _.H("div",{class:h},_.H(_.bL,{data:c}))}))});_.RU.U=!0;var CGa=_.T(function(a){return _.H(_.RU,{overlayText:a.overlayText,Xy:a.iconType,Ce:function(){var b;return((b=a.Ce)==null?void 0:b.call(a))||{red:0,green:0,blue:0}},Rv:function(){var b;return!((b=a.Zr)==null?0:b.call(a))}})});CGa.U=!0;var SU;SU={thumbnailOverlayResumePlaybackRenderer:_.tN,thumbnailOverlayTimeStatusRenderer:fU,thumbnailOverlayIconRenderer:mYa};
_.yN=_.T(function(a){var b=a.data;var c=a.thumbnailSize;return _.H(_.O,{C:function(){var d,e,f,h,k,l,m,n;return!!((d=b())==null?0:(e=d[0])==null?0:e.thumbnailOverlayIconRenderer)&&!((f=b())==null?0:(h=f[0])==null?0:(k=h.thumbnailOverlayIconRenderer)==null?0:k.iconPosition)&&!((l=b())==null?0:(m=l[0])==null?0:(n=m.thumbnailOverlayIconRenderer)==null?0:n.iconStyle)},ia:function(){return _.H("div",{class:"video-thumbnail-overlay-bottom-left-right-group"},_.H(_.NF,{mapping:SU,data:function(){return b().filter(AGa)}}),
_.H("div",{class:"video-thumbnail-overlay-left-right-group"},_.H(_.NF,{mapping:SU,data:function(){return b().filter(zGa)},Y:{thumbnailOverlayTimeStatusRenderer:{thumbnailSize:c}}})))}},function(){return _.H("div",{class:"video-thumbnail-overlay-center"},_.H(_.NF,{mapping:SU,data:function(){var d;return(d=b())==null?void 0:d[0]}}))})});_.yN.U=!0;var DGa=_.oG({channelThumbnailWithLinkRenderer:_.sN,thumbnailOverlayResumePlaybackRenderer:_.uN,thumbnailOverlayTimeStatusRenderer:_.oK});var nYa=_.oG({chipsShelfViewModel:_.bGa});_.v(zN,_.UE);zN.prototype.Fd=function(){IGa(this,this.props.data,!0)};zN.prototype.ge=function(a){var b;((b=a.data)==null?void 0:b.attachedChipsShelf)!=null&&IGa(this,a.data,!1)};
zN.prototype.render=function(){var a=this.props,b=a.data,c=a.config;a=!(c==null||!c.isSmallLockup);var d=EGa(b,a),e=b.videoId,f=b.trackingParams,h=b.thumbnail,k=b.navigationEndpoint,l=b.headline,m=b.secondaryHeadline;var n=[];b.shortBylineText&&n.push(b.shortBylineText);GGa(b.badges)||(b.shortViewCountText&&n.push(b.shortViewCountText),b.publishedTimeText&&n.push(b.publishedTimeText),b.upcomingEventData&&b.upcomingEventData.upcomingEventText&&n.push(b.upcomingEventData.upcomingEventText));var p=b.topStandaloneBadge;
if(b.badges)if(GGa(b.badges)){var q=[b.badges[0],b.shortViewCountText];q.push(b.publishedTimeText)}else q=b.badges;else q=[];c={videoId:e,trackingParams:f,thumbnail:h,Tg:d,Cl:!!d,navigationEndpoint:k,headline:l,secondaryHeadline:m,La:n,topBadges:p,Mc:q,menu:b.menu,overlay:FGa(b,c),alwaysUseVerticalLayout:c&&c.alwaysUseVerticalLayout||_.mD()&&_.GB(),isSmallLockup:a,minimalLockup:c&&c.minimalLockup,Cz:b.shouldDisplayAsBigShortsSingleton};_.qN(c);a||JGa(this);this.state.Ot&&nYa(b==null?void 0:b.attachedChipsShelf,
{enableAnimation:this.state.aA})};zN.prototype.Uc=function(){var a;(a=this.o)==null||_.AG(a)};zN.tagName="ytm-video-with-context-renderer";var oYa=_.kF(KGa);var rP=_.T(function(a){var b=a.Ka;return _.H("div",{class:"fullscreen-recommendations-wrapper",idomKey:"fullscreen-recommendations-wrapper"},_.H(_.zw,{each:function(){return SBa(b==null?void 0:b())}},function(c){return _.H(pYa,{video:c})}))});rP.U=!0;var pYa=_.T(function(a){return _.H("div",{class:"fullscreen-recommendation"},_.H(_.NF,{data:a.video,mapping:{endScreenVideoRenderer:oYa},Y:{endScreenVideoRenderer:{alwaysUseVerticalLayout:!0}}}))});pYa.U=!0;var LGa=_.V({buttonRenderer:_.EL}),qYa=_.kF(MGa);_.CN=_.T(function(a){function b(){return d()?{animateIcon:"true"}:void 0}function c(){return d()?{style:"mono"}:h==null?void 0:h()}function d(){var m;return _.yE()&&e().isLike&&((m=e().button)==null?void 0:m.toggleButtonRenderer)}var e=a.data;var f=a.className;var h=a.buttonOverrides;var k=a.themeOverride;var l=_.WI(_.BN,function(){return e().likeStatusEntityKey||""});return _.H("ytm-slim-metadata-toggle-button-renderer",{class:f},_.H(_.O,{C:function(){var m,n=(m=e().button)==null?void 0:m.toggleButtonRenderer;
if(n&&e().likeStatusEntityKey){var p,q;m=e().isLike?((p=l())==null?void 0:p.likeStatus)==="LIKE":((q=l())==null?void 0:q.likeStatus)==="DISLIKE";return Object.assign({},n,{isToggled:m})}return n}},function(m){return _.H(XXa,{data:m,style:b,className:f,buttonOverrides:c,themeOverride:k})}))});_.CN.U=!0;var TU={buttonRenderer:_.OQ,buttonViewModel:_.GF,toggleButtonRenderer:XXa,slimMetadataToggleButtonRenderer:_.CN,slimMetadataButtonRenderer:qYa,fullscreenEngagementActionBarSaveButtonRenderer:qYa},nP=_.T(function(a){var b=a.X,c=_.BD({"player-controls-hide":function(){var m;return!(!CJ(a.X())||((m=a.X().Fb)==null?0:m.dk))}}),d=a.Ka,e=a.thumbnailPreviewRenderer,f=_.P(function(m){var n=b();_.GJ(n,{ke:!0});m.stopPropagation()}),h=_.P(function(){var m=b();_.yE()||(_.M("mweb_player_controls_fullscreen_toggle_ks")||
m.isFullscreen)&&m.Ea.toggleFullscreen()}),k={className:"circle-buttons like-button-no-label-exp",themeOverride:{useDarkTheme:!0}},l={className:"circle-buttons",buttonOverrides:function(){return{style:$L(b(),b().N)?"overlay-dark":"overlay"}}};return _.H("player-fullscreen-action-menu",{class:"YtwPlayerFullscreenActionMenuHost"},_.H("div",{class:c,idomKey:"fs-action-menu"},_.H("div",{class:"fullscreen-action-menu","on:click":f},_.H("div",{class:"action-menu-engagement-buttons-wrapper no-label-exp",
"on:click":h},_.H(_.zw,{each:function(){return OBa(d==null?void 0:d(),e==null?void 0:e())},ob:"INDEX"},function(m){return _.H(_.Dw,null,_.H(_.Fw,{Pa:function(){var n;return(n=_.N(m(),VKa))==null?void 0:n.isLike}},function(){return _.H(_.NF,{data:m,mapping:TU,Y:{toggleButtonRenderer:k,slimMetadataToggleButtonRenderer:k,slimMetadataButtonRenderer:k,fullscreenEngagementActionBarSaveButtonRenderer:k}})}),_.H(_.Ew,null,function(){return _.H(_.NF,{data:m,mapping:TU,Y:{buttonRenderer:l,buttonViewModel:l,
toggleButtonRenderer:l,slimMetadataToggleButtonRenderer:l,slimMetadataButtonRenderer:l,fullscreenEngagementActionBarSaveButtonRenderer:l}})}))})),_.H("div",{class:"fullscreen-watch-next-entrypoint-wrapper"},_.H(pP,{X:b,Ka:d})),_.H("div",{class:"quick-actions-menu-button-wrapper"},_.H(_.zw,{each:function(){return PBa(d==null?void 0:d(),e==null?void 0:e(),$L(a.X(),a.X().N))},ob:"INDEX"},function(m){return _.H(_.NF,{data:m,mapping:TU,Y:{buttonViewModel:{className:"quick-actions-button"}}})})))))});
nP.U=!0;var qP=_.T(function(a){return _.H("player-fullscreen-top-controls",{class:_.BD("YtwPlayerFullscreenTopControlsHost","top-fullscreen-controls"),style:_.gF({visibility:function(){return a.X().gb?"visible":"hidden"}})},_.H("h2",{class:"fullscreen-controls-video-title"},_.H(_.wD,{text:function(){var b,c;return(c=TBa((b=a.Ka)==null?void 0:b.call(a)))==null?void 0:c.title}})),_.H(rYa,{X:a.X}))});qP.U=!0;
var rYa=_.T(function(a){var b=a.X;return _.H("div",{class:"fullscreen-close-button-wrapper"},_.H(_.EL,{data:{style:"STYLE_LIGHT_TEXT",size:"SIZE_DEFAULT",icon:{iconType:"CLOSE"},accessibility:{label:"Close"},accessibilityData:{accessibilityData:{label:"Close"}}},preventDefault:!0,stopPropagation:!0,onButtonClickCallback:function(){b().M({gb:!1});_.sm(".fullscreen-more-videos-endpoint");_.GJ(b())}}))});rYa.U=!0;var bLa=_.T(function(a){function b(){var e=a.X();return"\n      transform: translateY("+e.pg+"px);\n      transition: "+(e.Ef?"none":"transform 0.2s ease, top 0.2s ease")+";\n      visibility: "+(e.pg||e.gb?"visible":"inherit")+";\n      pointer-events:  "+(e.gb?"all":"none")+";\n    "}function c(){var e=a.X();return _.ME("fullscreen-controls",{expanded:e.gb})}function d(){var e;return a.X().isFullscreen||((e=a.X().Fb)==null?void 0:e.dk)}return _.H("player-fullscreen-controls",{hidden:!d,class:"YtwPlayerFullscreenControlsHost"},
_.H(_.O,{C:d},function(){return _.H(_.F,null,_.H(qP,{X:a.X,Ka:a.Ka}),_.H(nP,{X:a.X,Ka:a.Ka,thumbnailPreviewRenderer:a.thumbnailPreviewRenderer}),_.H("div",{class:c,style:b},_.H(rP,{Ka:a.Ka})))}))});bLa.U=!0;var sYa={premiereTrailerBadgeRenderer:_.T(function(a){var b=a.data;return _.H("yt-premiere-trailer-badge",{class:"yt-premiere-trailer-badge"},_.H(_.mK,{data:function(){return{type:0,text:_.kK(b().label),ja:!0,Dg:!0}}}))})};var tYa=_.T(function(){var a=_.Rz("PLAYER_SECONDS",{seconds_placeholder:"30"}),b=_.u(_.$o(!1)),c=b.next().value,d=b.next().value,e=_.u(_.$o(!1));b=e.next().value;var f=e.next().value;e={};var h=_.BD("JumpForwardOverlayOverlay",(e.JumpForwardOverlayOverlayHidden=b,e));_.Jw(function(){function k(){l!==null&&_.yq().Ma(l);m!==null&&_.yq().Ma(m);f(!0);d(!0);_.wq(_.yq(),function(){f(!1)});l=_.wq(_.yq(),function(){f(!0);m=_.wq(_.yq(),function(){d(!1)},200)},600)}var l=null,m=null;window.addEventListener("jump-forward-clicked",
k);_.Mn(function(){window.removeEventListener("jump-forward-clicked",k)})});return _.H("jump-forward-overlay",{class:"JumpForwardOverlayHost"},_.H(_.O,{C:c},function(){return _.H("div",{class:h},_.H(hP,{direction:1,size:"large"}),_.H("div",null,a))}))});var vP=_.T(function(a){var b=a.xu;var c=a.bo;return _.H("yt-mute-toggle-button",null,_.H(cXa,{iH:function(){return b().Je?0:1},onClick:function(d){var e=b().N;e&&(e.isMuted()?e.unMute():e.mute(!1));c==null||c(d)}}))});vP.U=!0;var AP=_.T(function(a){var b=a.data;var c=_.Ow();a=_.Ow();var d=_.P(function(){c.value.classList.add("YtmPaidContentOverlayHidden")}),e=_.P(function(f){b().navigationEndpoint&&_.vC(b().navigationEndpoint,b(),!0,{event:f})});return _.H("ytm-paid-content-overlay-renderer",{class:"YtmPaidContentOverlayHost",el:c,"on:animationend":d},_.H("a",{el:a,href:function(){var f,h,k;return(k=(h=_.N((f=b().navigationEndpoint)==null?void 0:f.commandMetadata,_.ew))==null?void 0:h.url)!=null?k:void 0},"on:click":e,
class:"YtmPaidContentOverlayLink"},_.H(_.O,{C:function(){var f;return(f=b().icon)==null?void 0:f.iconType}},function(){return _.H(_.Vo,null,function(){var f;return _.H("span",null,_.gC((f=b().icon)==null?void 0:f.iconType))})}),_.H("div",{class:"YtmPaidContentOverlayText"},_.H(_.wD,{text:function(){return b().text}})),_.H(_.O,{C:function(){return b().navigationEndpoint}},function(){return _.gC("CHEVRON_RIGHT",{})})))});AP.U=!0;var uYa=_.T(function(a){function b(){return mM(d())}function c(){return iM(e())}var d=a.gI;var e=a.multiMarkersPlayerBarRenderer;return _.H("yt-chaptered-progress-bar-line",{class:"YtChapteredProgressBarHost"},_.H(_.zw,{each:c},function(f,h){return RGa(b,c,h)}))});var vYa=_.T(function(a){function b(){return yJ(d().Za)}var c=a.Jd;var d=a.config;var e={};a=_.BD("YtHeatSeekerHost",(e.YtHeatSeekerHighContrast=a.hF,e));return _.H("yt-progress-bar-heatseeker",{class:a,style:function(){var f;return"height: 320px; display: "+(c().isDragging&&((f=b())==null?0:f.heatMarkers)?"block":"none")}},_.H(_.O,{C:b},function(f){return _.H(_.O,{C:function(){return f().heatMarkers}},function(){return ata(function(){return _.H("svg",{width:"100%",height:"320px",viewBox:"0 0 1000 100",
preserveAspectRatio:"none"},_.H("path",{d:function(){return ZEa(f())}}))})})}))});var wYa=_.T(function(a){var b=a.Jd;var c=a.config;a={};a=_.BD("YtProgressBarLineProgressBarLine",(a.YtProgressBarLineProgressBarLineRounded=function(){return c().TR},a.YtProgressBarLineProgressBarLineBottomInset=function(){return c().position===2},a));var d={};d=_.BD("YtProgressBarLineProgressBarPlayed",(d.YtProgressBarLineProgressBarPlayedRefresh=_.M("enable_cairo_refresh_signature_moments_web"),d));return _.H("yt-progress-bar-line",{class:"YtProgressBarLineHost"},_.H("div",{class:a},_.H("div",{class:"YtProgressBarLineProgressBarBackground"}),
_.H("div",{class:"YtProgressBarLineProgressBarLoaded",style:function(){return"width: "+b().Aj*100+"%"}}),_.H("div",{class:"YtProgressBarLineProgressBarHovered",style:function(){return"width: "+_.qJ(b())*100+"%"}}),_.H("div",{class:d,style:function(){return"width: "+_.pJ(b())*100+"%"}})))});wYa.U=!0;var xYa=_.T(function(a){var b=a.Jd;var c=a.FF;var d=a.gF;a={};a=_.BD("YtProgressBarPlayheadProgressBarPlayheadDot",(a.YtProgressBarPlayheadProgressBarPlayheadDotLarge=function(){return b().isDragging},a.YtProgressBarPlayheadProgressBarPlayheadDotHide=function(){return!b().isDragging&&d()},a));return _.H("yt-progress-bar-playhead",{class:"YtProgressBarPlayheadHost",style:_.gF({"margin-left":function(){return _.rJ(b())*100+"%"},transform:function(){return"translateX(-"+(c()?_.rJ(b())*12:6)+"px)"}})},
_.H("div",{class:a,style:_.gF({"transform-origin":function(){return(c()?_.rJ(b())*12:6)+"px center"}})}))});xYa.U=!0;_.BP=_.T(function(a){function b(){return e()}function c(){m().width<=0&&d();return m()}function d(){k.value&&n(k.value.getBoundingClientRect())}var e=a.Jd;var f=a.config;a=_.Ow();var h=_.Ow(),k=_.Ow(),l=_.u(_.$o({width:0,left:0})),m=l.next().value,n=l.next().value;_.Sw("resize",d);var p=new oM(c,function(){},function(){return 0},function(){},function(){},function(){});l=_.u(_.$o(!1));var q=l.next().value,r=l.next().value;_.Qw(h,"mouseenter",function(){r(!0);f().position===2&&setTimeout(function(){d()},
100)});_.Qw(h,"mouseleave",function(){r(!1);rEa(b)()});l=_.P(function(qa){f().aE&&hEa(p,b,f)(qa)});var t=_.P(kEa(p,b)),w=_.P(lEa(p,b)),y=_.P(nEa(p,b,f)),B=_.P(pEa(p,b,f)),A=_.P(rM(p,b,f)),E=_.P(sEa(p,b,f)),I=_.P(tEa(p,b,f));_.Sw("mousemove",uEa(p,b,f));_.Sw("mouseup",vEa(p,b,f));_.Jw(function(){_.TJ(h.value,112394);r(!1);d();vEa(p,b,f)()});var G={};G=_.BD("YtPlayerProgressBarHost",function(){return f().className},(G.YtPlayerProgressBarHostReadOnly=function(){return f().Fq},G.YtPlayerProgressBarHostHidden=
function(){return f().iQ&&!q()},G.YtPlayerProgressBarHostLowerPlayer=function(){return f().position===0},G.YtPlayerProgressBarHostBottomEdge=function(){return f().position===1},G.YtPlayerProgressBarHostBottomInset=function(){return f().position===2},G.YtPlayerProgressBarHostCustom=function(){return f().position===3},G));var X={},ca=_.BD("YtPlayerProgressBarBackground",(X.YtPlayerProgressBarBackgroundHide=function(){return f().position===2&&!q()&&!e().isDragging},X));X={};X=_.BD("YtPlayerProgressBarDragContainer",
(X.YtPlayerProgressBarDragContainerBottomEdge=function(){return f().position===1},X));var pa={};pa=_.BD("YtPlayerProgressBarProgressBar",(pa.YtPlayerProgressBarProgressBarInset=function(){return f().position===2},pa.YtPlayerProgressBarProgressBarInsetMinimized=function(){return f().position===2&&!q()&&!e().isDragging},pa));return _.H("yt-progress-bar",{el:a,class:G},_.H(_.O,{C:function(){return f().position===2}},function(){return _.H("div",{class:ca})}),_.H("div",{el:h,"on:click":l,"on:touchstart":t,
"on:mousedown":w,"on:touchmove":y,"on:mousemove":B,"on:touchend":A,"on:mouseup":E,"on:touchcancel":I,class:X,role:"slider","aria-valuenow":function(){return Math.floor(_.pJ(e())*100)},"aria-label":_.Rz("SEEK_SLIDER")},_.H("div",{el:k,class:pa},_.H(vYa,{Jd:e,config:f,hF:function(){return!!f().Jh}}),_.H(_.O,{C:function(){return f().Za&&AJ(f().Za)},ia:function(){return _.H(wYa,{Jd:e,config:f})}},function(){return _.H(uYa,{gI:e,multiMarkersPlayerBarRenderer:function(){return f().Za}})}),_.H(xYa,{Jd:e,
FF:function(){return f().position!==2},gF:function(){return f().gz===1&&!q()}}))),_.H(SWa,{Jd:e,config:function(){return{nh:hM(e(),f().Za),pr:function(){return c().width},Ga:!!f().Ga,Gn:!!f().Jh}},nt:function(){return m().width},Za:function(){return f().Za}}))});_.BP.U=!0;_.FN.prototype.M=function(a){if(!_.M("mweb_player_skip_no_op_state_changes")||!UGa(a,this.state))if(this.state=Object.assign({},this.state,a),!_.M("player_controls_render_optimization")||this.state.playerState!==-1&&this.state.playerState!==5||!this.B)a=-1,_.M("player_controls_log_creation_killswitch")||SGa()||(a=(0,_.Uq)()),_.Av("pcu_s"),this.G&&this.j&&this.j(_.EN(this)),_.Av("pcu_se"),_.Av("pcu_rs"),this.Zb(_.EN(this)),_.Av("pcu_re"),TGa(a),sq(0,function(){_.Av("pcu_ap")},8)};var yYa=[{register:function(a){var b=HFa(a),c;(c=a().N)==null||c.addEventListener("onVolumeChange",b);return function(){}}},{register:function(a){var b=IFa(a);a=a().N;a==null||a.addEventListener("captionschanged",b);a==null||a.addEventListener("captionssettingschanged",b);a==null||a.addEventListener("onCaptionsTrackListChanged",b);return function(){}}},{register:function(a){if(!_.M("mweb_screenreader_accessible_player"))return function(){};var b=JFa(a),c=document.querySelector("video");c==null||c.addEventListener("touchend",
b);return function(){c==null||c.removeEventListener("touchend",b)}}},{register:function(a){if(!_.M("mweb_screenreader_detect_screenreader_user_focus"))return function(){};var b=JFa(a),c=document.querySelector("video");c==null||c.addEventListener("focus",b);return function(){c==null||c.removeEventListener("focus",b)}}}];var VGa=[].concat(_.ma(yYa),[{register:function(a){var b=SFa(a),c;(c=a().N)==null||c.addEventListener("onStateChange",b);return function(){}}},{register:function(a){var b=TFa(a),c;(c=a().N)==null||c.addEventListener("onVideoDataChange",b);return function(){}}},{register:function(a){var b=UFa(a),c,d;(c=a())==null||(d=c.N)==null||d.addEventListener("onVideoProgress",b);return function(){}}}]);var DYa=_.T(function(a){var b=a.data;var c=a.Ea;var d=a.options;var e=WGa(b!=null?b:{},XGa(c));a={};a=_.BD("YtInlinePlayerControlsDarkenedOverlay",(a.YtInlinePlayerControlsDarkenedOverlayShow=function(){return e().Bd},a));c={};c=_.BD((c.YtInlinePlayerControlsControlsHidden=function(){return e().isDragging},c));return _.H("yt-inline-player-controls",{class:"YtInlinePlayerControlsHost"},_.H("div",{class:a}),_.H(tYa,null),_.H(zYa,{data:b}),_.H(fP,{df:e,Ga:!1}),_.H("div",{class:c},_.H(AYa,{props:e,data:b,
options:d}),_.H(BYa,{props:e,data:b,options:d})),_.H(_.O,{C:function(){var f=b(),h,k,l;return!!(f==null?0:(h=f.playerResponse)==null?0:(k=h.playerConfig)==null?0:(l=k.inlinePlaybackConfig)==null?0:l.showScrubbingControls)}},function(){return _.H(CYa,{props:e,data:b,options:d})}))}),zYa=_.T(function(a){var b=a.data;return _.H("div",{class:"YtInlinePlayerControlsTopLeftControls"},_.H(_.O,{C:function(){var c;return JBa((c=b())==null?void 0:c.playerResponse)}},function(c){return _.H(AP,{data:c})}))}),
AYa=_.T(function(a){function b(){var k=[_.H(vP,{xu:e}),_.H(bHa,{df:e})];c()===1&&k.push(_.H(aXa,{N:function(){return e().N}}));c()===2&&k.push(_.H(bXa,{Ea:function(){return e().Ea}}));return k}function c(){var k;if(d()&&((k=h())==null?void 0:k.WC)!==void 0){var l,m,n;k=(l=f())==null?void 0:(m=l.N)==null?void 0:(n=m.getSize())==null?void 0:n.height;if(!(k===void 0||k<184)){var p;return(p=h())==null?void 0:p.WC}}}function d(){var k,l,m,n;return(k=f())==null?void 0:(l=k.playerResponse)==null?void 0:
(m=l.playerConfig)==null?void 0:(n=m.inlinePlaybackConfig)==null?void 0:n.showAudioControls}var e=a.props;var f=a.data;var h=a.options;return _.H(_.O,{C:d},function(){return _.H("div",{class:"YtInlinePlayerControlsTopRightControls"},_.H(_.zw,{each:b},function(k){return _.H("div",{class:"YtInlinePlayerControlsTopRightControlsCircleButton"},_.H("div",{class:"YtInlinePlayerControlsButtonIcon"},k))}))})}),BYa=_.T(function(a){var b=a.props;return _.H("div",{class:_.BD("YtInlinePlayerControlsBottomRightControls")},
_.H(EYa,{data:a.data}),_.H(FYa,{props:b}))}),EYa=_.T(function(a){var b=a.data;return _.H(_.NF,{mapping:sYa,data:function(){var c;return QGa((c=b())==null?void 0:c.thumbnailOverlays)}})}),FYa=_.T(function(a){var b=a.props;return _.H(_.O,{C:function(){return b().isLive},ia:function(){return _.H(GYa,{props:b})}},function(){return _.H(HYa,null)})}),GYa=_.T(function(a){var b=a.props;return _.H("div",{class:_.BD("YtInlinePlayerControlsTimeDisplay"),"aria-label":function(){return _.W.km+" "+PJ(b().playedTime)}},
_.H(_.mK,{data:function(){return{type:0,text:PJ(b().videoDuration-b().playedTime),ja:!0,Dg:!0}}}))}),HYa=_.T(function(){return _.H("div",{class:_.BD("YtInlinePlayerControlsTimeDisplay","YtInlinePlayerControlsLiveBadge")},_.H(_.mK,{data:{type:4,text:_.W.Hp,ja:!0,Dg:!0}}))}),CYa=_.T(function(a){var b=a.props;var c=a.data;var d=a.options;return _.H(_.BP,{Jd:b,config:function(){var e,f=_.N((e=c())==null?void 0:e.hH,wJ),h;e=((h=d())==null?0:h.nQ)?2:1;var k;h=(k=d())==null?void 0:k.xS;return{dh:!1,position:e,
Za:f,Jh:!0,aE:h,gz:h?1:0}}})});var tLa=_.T(function(a){var b=_.P(function(){});return _.H("div",{class:"player-controls-background-action-items","on:click":b},a.children)});tLa.U=!0;var IYa=_.kF(YGa,{callbacks:{onClick:!0}});var JN,wP=_.T(function(a){function b(){var e;return sJ((e=a.playerOverlayRenderer)==null?void 0:e.call(a))}var c=_.Wo(function(){var e,f;return a.X().autonavEnabled?_.AK((e=b())==null?void 0:e.enabledAccessibilityData):_.AK((f=b())==null?void 0:f.disabledAccessibilityData)}),d=_.Wo(function(){return a.X().autonavEnabled});return _.H(_.O,{C:function(){var e,f=sJ((e=a.playerOverlayRenderer)==null?void 0:e.call(a));return _.M("mweb_enable_autoplay_toggle_on_player")&&f?!0:!1}},function(){return _.H("player-autonav-toggle",
{class:"YtwPlayerAutonavToggleHost"},_.H(IYa,{enabled:d,ariaLabel:c,onClick:function(e){var f=a.X();f.M({autonavEnabled:!f.autonavEnabled,ei:!0});f.Ea.Ft(!f.autonavEnabled,!0);if(_.M("web_player_autonav_use_server_provided_state")){var h=b();!f.autonavEnabled&&h.onEnabledCommand?_.vC(h.onEnabledCommand,h,!0):f.autonavEnabled&&h.onDisabledCommand&&_.vC(h.onDisabledCommand,h,!0)}h=b();var k;h=((k=_.N(h.enabledEduCommand,sP))==null?void 0:k.durationMs)||4E3;ZGa(f,h);nJ(f)||_.GJ(f,{ke:!0});e.stopPropagation()}}))})});
wP.U=!0;var MYa=_.T(function(a){function b(){return KN(f())}function c(){var l;return e()?(l=_.N(kM(f(),e()),MJ))==null?void 0:l.title:void 0}function d(){var l;return((l=_.Yo(h))==null?0:l.playerBarActionButton)?_.N(h==null?void 0:h().playerBarActionButton,_.gP):void 0}function e(){var l;return((l=_.Yo(h))==null?0:l.playerBar)?_.N(h==null?void 0:h().playerBar,wJ):void 0}var f=a.X;var h=a.zl;a=_.P(function(){if(!f().isLive&&!KN(f())){var l;(l=f().N)==null||l.seekTo(Infinity);(l=cM(f().N))&&f().M({videoDuration:l})}});
var k={};return _.H("player-time-display",{class:"YtwPlayerTimeDisplayHost"},_.H("div",{class:_.BD("YtwPlayerTimeDisplayContent",(k.YtwPlayerTimeDisplayContentLiveDot=function(){return f().isLive},k.YtwPlayerTimeDisplayContentLiveDotHead=b,k)),"on:click":a},_.H(JYa,{X:f}),_.H(_.O,{C:function(){return!b()}},function(){return _.H(KYa,{X:f})}),_.H(_.O,{C:function(){return!!c()&&!!d()&&!0}},function(){return _.H(LYa,{title:function(){return c()},button:function(){return d()}})})))}),JYa=_.T(function(a){var b=
a.X;return _.H("span",{class:"YtwPlayerTimeDisplayTime","aria-label":function(){return b().isLive?"":_.W.km+" "+PJ(b().playedTime)},role:"text"},function(){return b().isLive?_.W.Hp:PJ(b().playedTime)})}),KYa=_.T(function(a){var b=a.X;return _.H(_.F,null,_.H("span",{class:_.BD("YtwPlayerTimeDisplayTime","YtwPlayerTimeDisplayTimeSecond","YtwPlayerTimeDisplayTimeDelimiter")},"/"),_.H("span",{class:_.BD("YtwPlayerTimeDisplayTime","YtwPlayerTimeDisplayTimeSecond"),"aria-label":function(){return b().isLive?
"":_.W.km+" "+PJ(b().videoDuration)},role:"text"},function(){if(b().isLive){if(KN(b()))var c=0;else{c=Math;var d=c.round,e=b();c=d.call(c,e.isDragging?e.Ha:e.playedTime)-Math.round(cM(b().N))}c=PJ(c)}else c=PJ(b().videoDuration);return c}))}),LYa=_.T(function(a){function b(e){d().command&&(_.vC(d().command,{},!1),e.stopPropagation())}var c=a.title;var d=a.button;return _.H(_.dL,{className:"YtwPlayerTimeDisplayPlaybarActionContainer",options:function(){return{className:"YtwPlayerTimeDisplayPlaybarButton",
onclick:b,ariaLabel:_.nI(d().text)}}},_.H("span",{class:_.BD("YtwPlayerTimeDisplayTime","YtwPlayerTimeDisplayTimeDelimiter"),"aria-hidden":"true"},"\u00b7"),_.H("span",{class:_.BD("YtwPlayerTimeDisplayTime","YtwPlayerTimeDisplayTimeMacro")},_.H(_.bL,{data:c})),_.H(_.ZJ,{name:"CHEVRON_RIGHT",className:"YtwPlayerTimeDisplayChevron"}))});var QLa=_.T(function(a){return _.H("player-bottom-controls",{class:"YtwPlayerBottomControlsHost"},_.H("div",{class:"player-controls-bottom cbox"},_.H(MYa,{X:a.X,zl:a.zl}),_.H(NYa,{X:a.X})))});QLa.U=!0;var NYa=_.T(function(a){return _.H(eU,{name:function(){return a.X().isFullscreen?"FULLSCREEN_EXIT":"FULLSCREEN"},ariaLabel:function(){return a.X().isFullscreen?_.W.av:_.W.cv},className:"fullscreen-icon",wf:139117,onclick:function(b){a.X().Ea.toggleFullscreen();b.stopPropagation()}})});var LN=!1;var PLa=_.T(function(a){function b(){var e=a.X();return!aHa(e)}function c(){var e=a.X();return e.playerState===3||e.playerState===-1}var d=_.BD("player-controls-middle-core-buttons","center",{"screenreader-safe-hide-middle-buttons":c,"modern-tap-target-ui":_.M("mweb_modern_player_controls_tap_target_ui")});return _.H("player-middle-controls",{class:_.BD("YtwPlayerMiddleControlsHost","player-controls-middle","center")},_.H(_.O,{C:c},function(){return _.H(OYa,null)}),_.H("div",{class:d},_.H(_.O,{C:b},
function(){return _.H(PYa,{X:a.X})}),_.H(QYa,{X:a.X}),_.H(_.O,{C:function(){var e=a.X();return!nJ(e)},ia:function(){return _.H(RYa,{X:a.X})}},function(){return _.H(SYa,{X:a.X})}),_.H(TYa,{X:a.X}),_.H(_.O,{C:b},function(){return _.H(UYa,{X:a.X})})))});PLa.U=!0;
var OYa=_.T(function(){return _.H("div",{class:"player-controls-spinner"},_.H("div",{class:"spinner"}))}),PYa=_.T(function(a){var b=!LN;return _.H(eU,{name:"PLAYER_PREVIOUS",ariaLabel:_.W.Uj,ariaDisabled:b,className:b?"icon-disable":"",wf:36840,onclick:function(){var c=a.X(),d=c.N;_.dM(c,d);eM(b,d)}})}),UYa=_.T(function(a){return _.H(eU,{name:"PLAYER_NEXT",ariaLabel:_.W.Tj,wf:36841,onclick:function(){var b=a.X(),c=b.N;_.dM(b,c);c==null||c.nextVideo()}})}),QYa=_.T(function(a){var b=_.Ow(function(d){WJ(d,
141903)}),c=_.P(function(d){XJ(141903);var e;(e=a.X().N)==null||e.seekBy(10,void 0,void 0,82);d.stopPropagation()});return _.H("button",{"aria-label":_.W.bv.replace("seconds_placeholder","10"),class:"player-control-seek-icon-a11y hidden-button",el:b,"on:click":c})}),TYa=_.T(function(a){var b=_.Ow(function(d){WJ(d,141902)}),c=_.P(function(d){XJ(141902);var e;(e=a.X().N)==null||e.seekBy(-10,void 0,void 0,83);d.stopPropagation()});return _.H("button",{"aria-label":_.W.dv.replace("seconds_placeholder",
"10"),class:"player-control-seek-icon-a11y hidden-button",el:b,"on:click":c})}),SYa=_.T(function(a){return _.H(eU,{name:function(){return a.X().playerState===1?"PLAYER_PAUSE":"PLAYER_PLAY"},ariaLabel:function(){return a.X().playerState===1?_.W.jm:_.W.kh},ariaPressed:function(){return a.X().playerState===1},className:"player-control-play-pause-icon",wf:36842,onclick:function(b){var c=a.X().N;c&&$Da(c);b.stopPropagation()}})}),RYa=_.T(function(a){return _.H(eU,{name:"PLAYER_REPLAY",ariaLabel:_.W.Ip,
className:"endscreen-replay-button",wf:56386,onclick:function(b){var c=a.X(),d=c.N;_.dM(c,d);d==null||d.playVideo();b.stopPropagation()}})});var UU=_.T(function(a){var b=a.X;a=a.playerOverlayRenderer;return _.H(_.F,null,_.H(_.O,{C:function(){var c;return(c=b().Fb)==null?void 0:c.SI}},function(){return _.H(vP,{xu:b})}),_.H(wP,{X:b,playerOverlayRenderer:a}),cHa(b,function(){_.GJ(b(),{ke:!0})}),_.H(VYa,{X:b}))});UU.U=!0;
var OLa=_.T(function(a){function b(){var e;return c()&&_.M("mweb_enable_embeds_video_details")&&((e=a.X().Fb)==null?void 0:e.eA)}function c(){var e,f;return VBa((e=a.playerOverlayRenderer)==null?void 0:e.call(a),(f=a.thumbnailPreviewRenderer)==null?void 0:f.call(a))}var d=_.P(function(e){e.stopPropagation()});return _.H("player-top-controls",{class:"YtwPlayerTopControlsHost"},_.H("div",{class:_.BD("player-controls-top",{"with-video-details":_.M("mweb_enable_embeds_video_details")}),"on:click":d},
_.H(_.O,{C:b},function(){return _.H(xP,{videoDetails:c,X:a.X})}),_.H(_.O,{C:function(){var e,f;return!((e=a.X().Fb)==null?0:e.Nt)&&!$L(a.X(),(f=a.X())==null?void 0:f.N)}},function(){return _.H(_.O,{C:b,ia:function(){return _.H(UU,{X:a.X,playerOverlayRenderer:a.playerOverlayRenderer})}},function(){return _.H("div",{class:"player-controls-top-right"},_.H(UU,{X:a.X,playerOverlayRenderer:a.playerOverlayRenderer}))})})))});OLa.U=!0;
var VYa=_.T(function(a){function b(c){a.X().Ea.Zo(c)}return _.H(_.O,{C:function(){return a.X().Ea.Zo}},function(){return _.H(eU,{name:"GEAR",ariaLabel:_.W.im,className:"player-settings-icon",wf:28663,onclick:b})})});var LLa=_.T(function(a){function b(){var d=a.X();return d.isDragging&&!d.jc}var c=_.u(_.$o(!0)).next().value;return _.H(_.O,{C:c,ia:function(){return _.H("player-user-edu-tooltip",{hidden:!0})}},function(){return _.H("player-user-edu-tooltip",{class:"YtwPlayerUserEduTooltipHost"},_.H(uP,{fq:a.X,playerOverlayRenderer:a.playerOverlayRenderer}),_.H("div",{class:"tooltip-container"},_.H("div",{class:"tooltip-wrapper modern-wrapper"},_.H(_.O,{C:b},function(){return _.H(yP,null)}),_.H(zP,{X:a.X}))))})});
LLa.U=!0;_.VU=_.R("backstagePostThreadRenderer","rnoPmf");_.ZB(_.VU);var WYa=_.W.yC,XYa=_.T(function(a){function b(){return n==null?void 0:n().SUGGESTION_DISMISSED_LABEL}function c(){return n==null?void 0:n().SUGGESTION_DISMISS_LABEL}function d(){return h()?"ARROW_TIME":"SEARCH"}function e(){return eHa(l())}function f(){var I=_.L("SBOX_SETTINGS");return h()&&!(I==null?0:I.HIDE_REMOVE_LINK)}function h(){return l().type===35}function k(I){var G;return _.z(function(X){if(X.j==1)return G=new Request(I),_.x(X,fetch(G,{credentials:"include"}),2);y(!0);_.wa(X)})}var l=a.suggestion;
var m=a.rH;var n=a.labels;var p=a.hI;var q=_.Ow(),r=_.P(function(I){m(I,l().text,l().index)}),t,w=!((t=_.K().resolve(_.mp(_.LC)))==null||!t());a=_.u(_.$o(!1));t=a.next().value;var y=a.next().value,B=_.P(function(){p(q.value.innerText)}),A=_.P(function(I){I.preventDefault()}),E=_.P(function(){var I=l().text,G=_.L("SBOX_SETTINGS"),X="https://"+(G.SEARCHBOX_HOST_OVERRIDE||"suggestqueries-clients6.youtube.com")+"/complete/deleteitems?client=youtube";X+="&delq="+encodeURIComponent(I);(I=G.PSUGGEST_TOKEN)&&
(X+="&tok="+I);k(X)});return _.H(_.O,{C:t,ia:function(){var I={};return _.H("div",{class:_.BD("YtSuggestionComponentSuggestion",(I.YtSuggestionComponentSelected=!1,I.YtSuggestionComponentPersonalizedSuggestion=h,I.YtSuggestionComponentMweb=!0,I)),tabindex:0,role:"button","on:click":r},_.H("div",{class:"YtSuggestionComponentText","aria-label":function(){return l().text}},_.H(_.O,{C:function(){return!_.Yo(!0)}},function(){return _.H(_.qT,{name:d,config:{className:"YtSuggestionComponentIcon"}})}),_.H("span",
{el:q},_.H(_.zw,{each:e},function(G){return G.bold?_.H("span",{class:"YtSuggestionComponentBold"},G.text):_.H("span",null,G.text)}))),_.H(_.O,{C:f},function(){var G={};return _.H("a",{class:_.BD("YtSuggestionComponentRemoveLink",(G.YtSuggestionComponentRemoveLinkDark=w,G)),"on:click":E,"aria-label":c,tabindex:0},c)}),_.H(_.O,{C:function(){return _.Yo(!0)&&!h()}},function(){return _.H("button",{class:"YtSuggestionComponentQueryBuilderButton","on:click":B,"on:mousedown":A,dir:"auto","aria-label":WYa},
_.H(_.qT,{name:"ARROW_DIAGONAL",config:{className:"YtSuggestionComponentQueryBuilderButtonIcon"}}))}))}},function(){return _.H("div",{class:_.BD("YtSuggestionComponentRemovedText")},b)})});var YYa=_.W.Kp,ZYa=_.W.Lp,$Ya=new _.jp("FAKE_SUGGEST_RESPONSE"),ONa=_.T(function(a){function b(ka){t.value.value=ka;t.value.dispatchEvent(new Event("input"));B.j.add(5);yL(B,!0)}function c(ka,oa,Aa){ka=a.searchEndpoint;B.B=Aa;ka&&(ON(ka(),oa,zL(B,1),t.value.value),t.value.value=oa,d())}function d(){m([]);w.value&&(w.value.hidden=!0)}function e(ka){var oa,Aa,Ra,la,$a,jb;return _.z(function(lb){switch(lb.j){case 1:if(oa=_.K().resolve(_.mp($Ya)))return lb.return(oa);Ra=Date.now();la={credentials:"include",
headers:oDa()};window.AbortController&&($a=new AbortController,setTimeout(function(){$a.abort()},5E3),la.signal=$a.signal);_.xa(lb,2);return _.x(lb,fetch(pDa(ka),la),4);case 4:Aa=lb.o;_.ya(lb,3);break;case 2:return jb=_.Ba(lb),_.bv(jb),lb.return(null);case 3:return uDa(B,Ra,ka.query.length===0),_.x(lb,Aa.text(),5);case 5:return lb.return(lb.o)}})}function f(ka){var oa,Aa,Ra;return _.z(function(la){if(la.j==1)return(oa=y.cache.get(nDa(ka)))?la.return(oa):_.x(la,e(ka),2);Aa=la.o;if(Aa===null)return la.return(null);
Ra=new hHa(Aa);ka.query.length===0&&Ra.suggestions.length===0||y.cache.set(nDa(ka),Ra);return la.return(Ra)})}function h(ka){var oa,Aa;return _.z(function(Ra){if(Ra.j==1)return oa=new mDa(ka),_.x(Ra,f(oa),2);Aa=Ra.o;if(Aa===null)return Ra.return();oa.query.length===0&&(B.W=Aa.suggestions.length);if(oa.id<=I)return B.outOfSyncResponseCount++,Ra.return();I=oa.id;sDa(B,Aa.suggestions);m(Aa.suggestions);w.value&&(w.value.hidden=Aa.suggestions.length===0);_.wa(Ra)})}var k=_.u(_.$o([])),l=k.next().value,
m=k.next().value;k=_.u(_.$o(-1));var n=k.next().value,p=k.next().value;k=_.u(_.$o(!1));var q=k.next().value,r=k.next().value,t=_.Ow();k=_.Ow();var w=_.Ow(),y=new fHa,B=rDa(),A,E=!((A=_.K().resolve(_.mp(_.LC)))==null||!A()),I=-1;A=_.P(function(ka){h(ka.target.value)});var G=_.P(function(ka){w.value&&w.value.contains(ka.relatedTarget)}),X=_.P(function(ka){var oa=ka.target;switch(ka.keyCode){case 13:var Aa=a.searchEndpoint;Aa&&oa.value&&(ON(Aa(),oa.value,zL(B,ka.shiftKey?4:3)),d());break;case 27:w.value&&
(w.value.hidden=!0);break;case 40:w.value&&(w.value.hidden=!1);ka=n()+1;p(ka>=l().length?-1:ka);n()>=0&&(t.value.value=l()[n()].text);break;case 38:w.value&&(w.value.hidden=!1);ka=n()-1;p(ka<-1?l().length-1:ka);n()>=0&&(t.value.value=l()[n()].text);break;case 229:B.j.add(4);break;default:B.j.add(1),yL(B)}}),ca=_.P(function(ka){h(ka.target.value);var oa;r((t==null?void 0:(oa=t.value)==null?void 0:oa.value)!=="")}),pa=_.P(function(){B.j.add(2);yL(B)});_.Hw(function(){if(_.PB()){var ka=cJ();ka&&(t.value.value=
ka,r(!0))}w.value.addEventListener("touchmove",function(){t&&t.value.blur()});t.value.blur();t.value.focus();t.value.focus();B.reset()});var qa=_.P(function(ka){ka.preventDefault();var oa,Aa;ka=!!(t==null?0:(oa=t.value)==null?0:(Aa=oa.value)==null?0:Aa.trim());(oa=a.searchEndpoint)&&ka&&(ON(oa(),t.value.value,zL(B,12)),d(),t.value.blur());return!1}),ja=_.P(function(ka){ka.preventDefault();var oa;t==null||(oa=t.value)==null||oa.focus();var Aa;(t==null?void 0:(Aa=t.value)==null?void 0:Aa.value)!==""&&
(t.value.value="",t.value.dispatchEvent(new Event("input")))}),Fa={},za={},wb={};return _.H("yt-searchbox",{class:_.BD("YtSearchboxComponentHost",(Fa.YtSearchboxComponentMweb=!0,Fa["yt-searchbox-filled-query"]=function(){return q()},Fa)),role:"search"},_.H("div",{el:k,class:"YtSearchboxComponentInputBox"},_.H("form",{action:"/results",class:"YtSearchboxComponentSearchForm","on:submit":qa},_.H("input",{el:t,class:_.BD("YtSearchboxComponentInput","yt-searchbox-input","title"),name:"search",type:"text",
autocomplete:"off",autocorrect:"off",spellcheck:!1,"on:focusin":A,"on:focusout":G,"on:input":ca,"on:keydown":X,"on:paste":pa,placeholder:a.placeholderText}))),_.H(_.O,{C:function(){return _.Yo(!0)&&q()}},function(){return _.H("button",{class:"YtSearchboxComponentClearButton","on:click":ja,"aria-label":ZYa},_.H(_.qT,{name:"DISMISSAL",config:{className:"YtSearchboxComponentClearButtonIcon"}}))}),_.H("button",{class:_.BD("YtSearchboxComponentSearchButton",(za.YtSearchboxComponentSearchButtonDark=E,za)),
"on:click":qa,"aria-label":YYa},_.H(_.qT,{name:"SEARCH"})),_.H("div",{el:w,class:_.BD("YtSearchboxComponentSuggestionsContainer",(wb["yt-searchbox-suggestions-container"]=!0,wb)),dir:"auto",hidden:!0},_.H(_.zw,{each:l},function(ka,oa){return _.H(XYa,{suggestion:ka,isSelected:function(){return oa()===n()},rH:c,labels:a.labels,hI:b})})))});_.WU=_.R("macroMarkersPanelItemViewModel","fkmyPd");_.ZB(_.WU);var aZa=_.T(function(a){var b=a.data;var c=a.className;var d=a.onClick;return _.H("ytw-variable-speed-controller-speed-button-view-model",{class:_.BD("YtwVariableSpeedControllerSpeedButtonViewModelHost",c)},_.H(_.NF,{data:function(){return b().playbackSpeedButton},mapping:{buttonViewModel:_.uT},Y:{buttonViewModel:{config:function(){return{onclick:d}}}}}),_.H(_.wD,{className:"YtwVariableSpeedControllerSpeedButtonViewModelSpeedLabel",text:function(){return b().buttonLabel}}))});var RIa=_.T(function(a){var b=a.data;var c=a.GH;var d=a.FH;var e=a.IH;a=_.u(_.$o(0));var f=a.next().value,h=a.next().value;_.Jw(function(){if(b().slider){var k=_.N(b().slider,iUa);k&&(k.initialValue&&k.valueDenominator?h(k.initialValue/k.valueDenominator):h(0))}});return _.H("variable-speed-controller-view-model",{class:"YtwVariableSpeedControllerViewModelHost"},_.H("div",{class:"YtwVariableSpeedControllerViewModelPlaybackSpeedDisplay"},function(){return f()+"x"}),_.H("div",{class:"YtwVariableSpeedControllerViewModelSliderContainer"},
_.H(_.NF,{data:function(){return b().slider},Y:{horizontalSliderViewModel:{uH:function(k){h(k.target.valueAsNumber);c==null||c(k)},onChangeCallback:d}},mapping:{horizontalSliderViewModel:yWa}})),_.H("div",{class:"YtwVariableSpeedControllerViewModelButtonContainer"},_.H(_.NF,{data:function(){return b().playbackSpeedButtons},Y:{variableSpeedControllerSpeedButtonViewModel:function(k){return{className:"YtwVariableSpeedControllerViewModelPlaybackSpeedButton",onClick:function(){var l,m=(l=k())==null?void 0:
l.playbackSpeedButtonCentiValue;m&&(e==null||e(m/100))}}}},mapping:{variableSpeedControllerSpeedButtonViewModel:aZa}})))});_.XU=_.R("videoAttributeViewModel","YL8Zve");_.ZB(_.XU);_.RN=new _.jp("DWELL_DETECTOR_TOKEN");_.g=iHa.prototype;_.g.Gh=function(){return!!this.j};
_.g.openDialog=function(a){var b=a.Ta;var c=a.Sr;var d=a.isFullscreen;var e=a.yn;var f=a.isPersistent;var h=a.focusOnClose;var k=a.Kd;var l=this,m,n;return _.z(function(p){if(p.j==1)return _.oL()?_.x(p,_.qL(),2):p.L(2);l.Gh()&&l.ab();l.j=document.createElement("div");l.j.id="dialog-container";l.j.className="dialog-container";m=Nz()||document.body;m.appendChild(l.j);n=function(){e||f||l.ab()};_.QK(l.j,h,k);_.Po(l.j,_.H(_.F,null,_.H(DBa,{Sr:c,isFullscreen:d},_.H(b,null)),_.H(_.TK,{label:"dialog",onclick:n})));
_.wa(p)})};_.g.ab=function(){this.j&&(_.RK(this.j),_.hp(this.j),this.j.remove(),this.j=void 0)};_.g.mg=function(){if(this.o){window.removeEventListener("state-navigatestart",this.mg);_.hp(this.o);this.o.remove();this.o=void 0;var a;(a=_.K().resolve(_.mp(_.RN)))==null||_.yQ(a)}};_.g.mk=function(){if(this.A){var a=document.getElementById("home-icon");a&&a.focus();_.hp(this.A);this.A.remove();this.A=void 0;a=_.zB;a.response&&(delete a.response.response.survey,BB(a))}};_.g.so=function(a){_.GK(a)};UN.prototype.j=function(a){var b=this,c,d,e,f,h;return _.z(function(k){if(k.j==1){c=a.toString();d=b.ff.get(c);if((e=d)==null?0:(f=e.qc)==null?0:f.V)return k.return(d.qc.V);if(typeof a==="number"||typeof a==="string")throw new _.oq("Lazy renderable loader only supports Id AsyncId",a);_.xa(k,2);return _.x(k,_.bB(b.cq,a),4)}if(k.j!=2)return h=k.o,b.ff.set(c,{il:4,Mb:a,qc:Object.assign({},{K:function(){throw new _.oq("Invoking C3 render function for Wiz component",c);}},h)}),k.return(h.V);_.Ba(k);throw new _.oq("Wiz renderable component not defined",
a.serviceId.toString());})};UN[_.op]=[kVa];var sQ=["home"];_.M("mweb_enable_search_imp")&&sQ.push("search");_.M("mweb_enable_news_channel_imp_dwell_detection")&&(sQ.push("channel"),sQ.push("news"));var ZN;var sHa=new _.Vj(uHa,200),gO=0;var kO=1;var qO,zHa,pO,AHa,CHa,yHa,mO;qO=!1;zHa=!1;pO=!1;AHa=!1;CHa=0;_.lO=qsa();yHa=!1;mO=!1;_.YU=_.R("playlistVideoListRenderer","isp5vc");_.ZB(_.YU);_.ZU=_.R("playlistPanelRenderer","OgMq0d");_.ZB(_.ZU);_.$U=_.R("aboutChannelRenderer","BifmPe");_.ZB(_.$U);_.aV=_.R("accountLinkSettingItemRenderer","q9TwV");_.ZB(_.aV);_.bV=_.R("activityItemRenderer","VRVREc");_.ZB(_.bV);_.cV=_.R("adSlotRenderer","M3HCOb");_.ZB(_.cV);_.dV=_.R("backgroundPromoRenderer","QGBk9c");_.ZB(_.dV);_.eV=_.R("cardItemRenderer","REMkDf");_.ZB(_.eV);_.fV=_.R("channelAboutMetadataRenderer","JRdLTc");_.ZB(_.fV);_.gV=_.R("channelFeaturedVideoRenderer","aprLTe");_.ZB(_.gV);_.hV=_.R("channelListItemRenderer","KkMrB");_.ZB(_.hV);_.iV=_.R("channelSearchBoxRenderer","xuFNZc");_.ZB(_.iV);_.jV=_.R("chipCloudRenderer","Zl1ase");_.ZB(_.jV);_.kV=_.R("clarificationRenderer","YehyC");_.ZB(_.kV);_.lV=_.R("clipAttributionRenderer","IWlkFd");_.ZB(_.lV);_.mV=_.R("commentThreadRenderer","PuSvwb");_.ZB(_.mV);_.nV=_.R("commentsHeaderRenderer","lvWwcd");_.ZB(_.nV);_.oV=_.R("commentsEntryPointHeaderRenderer","wVnPCf");_.ZB(_.oV);_.pV=_.R("commentsEntryPointUserEduRenderer","VcTbQb");_.ZB(_.pV);_.qV=_.R("compactAutoplayRenderer","n4PgOb");_.ZB(_.qV);_.rV=_.R("compactChannelRenderer","LbRpec");_.ZB(_.rV);_.sV=_.R("compactLinkRenderer","g2ZVqd");_.ZB(_.sV);_.tV=_.R("compactMovieRenderer","QlP0Ib");_.ZB(_.tV);_.uV=_.R("compactMultiOfferRenderer","mItLFd");_.ZB(_.uV);_.vV=_.R("compactOfferModuleRenderer","dgCOeb");_.ZB(_.vV);_.wV=_.R("compactPlaylistRenderer","JT7bJ");_.ZB(_.wV);_.xV=_.R("compactPromotedVideoRenderer","nmIVPc");_.ZB(_.xV);_.yV=_.R("compactRadioRenderer","WinNlb");_.ZB(_.yV);_.zV=_.R("compactShowRenderer","sm2UTc");_.ZB(_.zV);_.AV=_.R("compactVideoRenderer","r9Wevc");_.ZB(_.AV);_.BV=_.R("continuationItemRenderer","oKKiDe");_.ZB(_.BV);_.CV=_.R("counterfactualRenderer","W4YdM");_.ZB(_.CV);_.DV=_.R("destinationShelfRenderer","dkvREb");_.ZB(_.DV);_.EV=_.R("donationShelfRenderer","de8ytf");_.ZB(_.EV);_.FV=_.R("expandableMetadataRenderer","GTbjHe");_.ZB(_.FV);_.GV=_.R("expandableVideoDescriptionBodyRenderer","HsSrXe");_.ZB(_.GV);_.HV=_.R("factCheckRenderer","jQimRc");_.ZB(_.HV);_.IV=_.R("feedEntryRenderer","KrI8fe");_.ZB(_.IV);_.JV=_.R("feedFilterChipBarRenderer","W8Xq9b");_.ZB(_.JV);_.KV=_.R("feedNudgeRenderer","qzRFhd");_.ZB(_.KV);_.LV=_.R("horizontalCardListRenderer","KPegqf");_.ZB(_.LV);_.MV=_.R("infoPanelContainerRenderer","FHfUwb");_.ZB(_.MV);_.NV=_.R("infoPanelContentRenderer","B0uP2");_.ZB(_.NV);_.OV=_.R("itemSectionHeaderRenderer","Rsnthb");_.ZB(_.OV);_.PV=_.R("limitedStateMessageRenderer","U6pKHc");_.ZB(_.PV);_.QV=_.R("messageRenderer","kcJnK");_.ZB(_.QV);_.aW=_.R("musicPassFeatureInfoRenderer","nOFXRb");_.ZB(_.aW);_.bW=_.R("musicPassSmallFeatureInfoRenderer","RMcMRc");_.ZB(_.bW);_.cW=_.R("offerItemRenderer","afXR6d");_.ZB(_.cW);_.dW=_.R("offerItemUpsellRenderer","wuljUe");_.ZB(_.dW);_.eW=_.R("playlistNotificationRenderer","zSMbX");_.ZB(_.eW);_.fW=_.R("productCardRenderer","h9Moae");_.ZB(_.fW);_.gW=_.R("promotedSparklesTextSearchRenderer","fQ1iJc");_.ZB(_.gW);_.hW=_.R("promotedSparklesWebRenderer","vTy6jd");_.ZB(_.hW);_.iW=_.R("promotedVideoRenderer","O0uVld");_.ZB(_.iW);_.jW=_.R("purchaseItemRenderer","noeeMd");_.ZB(_.jW);_.kW=_.R("radioRenderer","GL59Oc");_.ZB(_.kW);_.lW=_.R("redeemCodeRenderer","dpfXlb");_.ZB(_.lW);_.mW=_.R("reelShelfRenderer","SomnJf");_.ZB(_.mW);_.nW=_.R("relatedChipCloudRenderer","sYeXo");_.ZB(_.nW);_.oW=_.R("richGridRenderer","xKfhhd");_.ZB(_.oW);_.pW=_.R("settingBooleanRenderer","XxaLZc");_.ZB(_.pW);_.qW=_.R("shelfRenderer","k1NBKb");_.ZB(_.qW);_.rW=_.R("simpleTextSectionRenderer","SpORDc");_.ZB(_.rW);_.sW=_.R("slimOwnerRenderer","qrjOPd");_.ZB(_.sW);_.tW=_.R("slimVideoMetadataRenderer","pKPYdb");_.ZB(_.tW);_.uW=_.R("sponsorshipsAlertRenderer","pILfl");_.ZB(_.uW);_.vW=_.R("sponsorshipsExpandableMessageRenderer","MAY4be");_.ZB(_.vW);_.wW=_.R("sponsorshipsHeaderRenderer","P2Vt2");_.ZB(_.wW);_.xW=_.R("sponsorshipsHeadingRenderer","uMp1Wb");_.ZB(_.xW);_.yW=_.R("sponsorshipsLinksRenderer","QGYemf");_.ZB(_.yW);_.zW=_.R("sponsorshipsListTileRenderer","tO6Cwe");_.ZB(_.zW);_.AW=_.R("sponsorshipsTierRenderer","x5xqce");_.ZB(_.AW);_.BW=_.R("statementBannerRenderer","tgm3Ob");_.ZB(_.BW);_.CW=_.R("subscriptionProductRenderer","iBW6G");_.ZB(_.CW);_.DW=_.R("subscriptionProductUpsellOfferRenderer","k3aboe");_.ZB(_.DW);_.EW=_.R("unlimitedPageHeaderRenderer","TRKT2");_.ZB(_.EW);_.FW=_.R("videoWithContextRenderer","tLUXsc");_.ZB(_.FW);_.GW=_.R("watchMetadataAppPromoRenderer","dgiJyf");_.ZB(_.GW);_.HW=_.R("webAnswerRenderer","F5BYt");_.ZB(_.HW);_.IW=_.R("ypcOffersListRenderer","hijjEf");_.ZB(_.IW);_.JW=_.R("didYouMeanRenderer","dZdYW");_.ZB(_.JW);_.KW=_.R("includingResultsForRenderer","SNizh");_.ZB(_.KW);_.LW=_.R("noResultsFoundShowingResultsForRenderer","PeI8Xc");_.ZB(_.LW);_.MW=_.R("resultsWithoutQuotesRenderer","TaLwWb");_.ZB(_.MW);_.NW=_.R("showingResultsForRenderer","nXR8Cb");_.ZB(_.NW);var OW={},PHa=(OW[_.AV.toString()]=function(){_.U(OHa)({})},OW[_.rV.toString()]=function(){_.U(NHa)({})},OW),PW={},bZa=(PW[_.$U.toString()]=uO(_.$U),PW[_.aV.toString()]=uO(_.aV),PW[_.bV.toString()]=uO(_.bV),PW[_.cV.toString()]=uO(_.cV),PW[_.dV.toString()]=uO(_.dV),PW[_.VU.toString()]=uO(_.VU),PW[_.eV.toString()]=uO(_.eV),PW[_.fV.toString()]=uO(_.fV),PW[_.gV.toString()]=uO(_.gV),PW[_.hV.toString()]=uO(_.hV),PW[_.iV.toString()]=uO(_.iV),PW[_.jV.toString()]=uO(_.jV),PW[_.kV.toString()]=uO(_.kV),PW[_.lV.toString()]=
uO(_.lV),PW[_.oV.toString()]=uO(_.oV),PW[_.pV.toString()]=uO(_.pV),PW[_.nV.toString()]=uO(_.nV),PW[_.mV.toString()]=uO(_.mV),PW[_.qV.toString()]=uO(_.qV),PW[_.rV.toString()]=uO(_.rV),PW[_.sV.toString()]=uO(_.sV),PW[_.tV.toString()]=uO(_.tV),PW[_.uV.toString()]=uO(_.uV),PW[_.vV.toString()]=uO(_.vV),PW[_.wV.toString()]=uO(_.wV),PW[_.xV.toString()]=uO(_.xV),PW[_.yV.toString()]=uO(_.yV),PW[_.zV.toString()]=uO(_.zV),PW[_.AV.toString()]=uO(_.AV),PW[_.BV.toString()]=uO(_.BV),PW[_.CV.toString()]=uO(_.CV),
PW[_.DV.toString()]=uO(_.DV),PW[_.JW.toString()]=uO(_.JW),PW[_.EV.toString()]=uO(_.EV),PW[_.FV.toString()]=uO(_.FV),PW[_.GV.toString()]=uO(_.GV),PW[_.HV.toString()]=uO(_.HV),PW[_.IV.toString()]=uO(_.IV),PW[_.JV.toString()]=uO(_.JV),PW[_.KV.toString()]=uO(_.KV),PW[_.LV.toString()]=uO(_.LV),PW[_.KW.toString()]=uO(_.KW),PW[_.MV.toString()]=uO(_.MV),PW[_.NV.toString()]=uO(_.NV),PW[_.OV.toString()]=uO(_.OV),PW[_.PV.toString()]=uO(_.PV),PW[_.UT.toString()]=uO(_.UT),PW[_.WU.toString()]=uO(_.WU),PW[_.QV.toString()]=
uO(_.QV),PW[_.zT.toString()]=uO(_.zT),PW[_.aW.toString()]=uO(_.aW),PW[_.bW.toString()]=uO(_.bW),PW[_.LW.toString()]=uO(_.LW),PW[_.cW.toString()]=uO(_.cW),PW[_.dW.toString()]=uO(_.dW),PW[_.eW.toString()]=uO(_.eW),PW[_.ZU.toString()]=uO(_.ZU),PW[_.YU.toString()]=uO(_.YU),PW[_.fW.toString()]=uO(_.fW),PW[_.gW.toString()]=uO(_.gW),PW[_.hW.toString()]=uO(_.hW),PW[_.iW.toString()]=uO(_.iW),PW[_.jW.toString()]=uO(_.jW),PW[_.kW.toString()]=uO(_.kW),PW[_.lW.toString()]=uO(_.lW),PW[_.mW.toString()]=uO(_.mW),
PW[_.nW.toString()]=uO(_.nW),PW[_.MW.toString()]=uO(_.MW),PW[_.oW.toString()]=uO(_.oW),PW[_.nT.toString()]=uO(_.nT),PW[_.pW.toString()]=uO(_.pW),PW[_.qW.toString()]=uO(_.qW),PW[_.NW.toString()]=uO(_.NW),PW[_.rW.toString()]=uO(_.rW),PW[_.sW.toString()]=uO(_.sW),PW[_.tW.toString()]=uO(_.tW),PW[_.uW.toString()]=uO(_.uW),PW[_.vW.toString()]=uO(_.vW),PW[_.wW.toString()]=uO(_.wW),PW[_.xW.toString()]=uO(_.xW),PW[_.yW.toString()]=uO(_.yW),PW[_.zW.toString()]=uO(_.zW),PW[_.AW.toString()]=uO(_.AW),PW[_.BW.toString()]=
uO(_.BW),PW[_.CW.toString()]=uO(_.CW),PW[_.DW.toString()]=uO(_.DW),PW[_.EW.toString()]=uO(_.EW),PW[_.XU.toString()]=uO(_.XU),PW[_.FW.toString()]=uO(_.FW),PW[_.GW.toString()]=uO(_.GW),PW[_.HW.toString()]=uO(_.HW),PW[_.IW.toString()]=uO(_.IW),PW);var WHa=_.oG(bZa);var xO="USER_INTERFACE_THEME_LIGHT",XHa=!1;var bIa;bIa=_.V({buttonRenderer:_.EL});_.cZa=_.kF(dIa,{callbacks:{onSelected:!0}});AO.prototype.lb=function(a){this.value=a;this.j.lb("default",a)};AO.prototype.subscribe=function(a){this.j.subscribe("default",a);a(this.value)};AO.prototype.unsubscribe=function(a){this.j.unsubscribe("default",a)};_.ZO=new AO;_.dZa=_.V({macroMarkersListItemRenderer:dIa,itemSectionRenderer:_.sD(_.wO)});var eZa=_.W.VB,LQ=_.T(function(){var a=_.u(_.$o(_.vE())).next().value;return _.H(xXa,{url:function(){return a()?_.wE():_.xE()},OH:a},eZa)});LQ.U=!0;_.co(mIa);var oIa=null;_.QW=_.T(function(a){var b=a.ariaLabel;var c=a.checked;var d=a.disabled;var e=a.onClick;a=a.className;var f=_.no(function(k){k.append("aria-label",b,"aria-pressed",c,"disabled",d)}),h=_.P(function(k){e==null||e(k)});return _.H("c3-material-toggle-button",{class:a},_.H("button",Object.assign({},{class:"c3-material-toggle-button","on:click":h},f),_.H("div",{class:"c3-material-toggle-button-track"}),_.H("div",{class:"c3-material-toggle-button-circle"})))});_.QW.U=!0;var TO=_.T(function(){function a(){f.value&&vIa(f.value)}function b(p){p.detail&&k(p.detail.isAllowed)}var c=_.u(_.$o(!1)),d=c.next().value,e=c.next().value,f=_.Ow();c=_.u(_.$o(!!sIa()));var h=c.next().value,k=c.next().value,l=_.Pw({visualElement:_.zu(159229),veType:159229}),m=_.Pw({visualElement:_.zu(159228),veType:159228}),n=nIa();_.Jw(function(){window.addEventListener("cinematic-allowed-changed",b);window.addEventListener("highlight-cinematic-setting",a);e(_.wG());var p=_.dw();_.nw(p,l.value);
_.nw(p,m.value);d()?_.aw(l.value):_.aw(m.value);_.Mn(function(){window.removeEventListener("cinematic-allowed-changed",b)})});return _.H("cinematic-setting-component",null,_.H(_.O,{C:h},function(){return _.H(_.F,null,_.M("playback_settings_use_switch_menu")?_.H(_.zWa,{data:_.N(n,tUa),onTap:function(){tIa(l.value,m.value,d());var p=!d();uIa(p);e(p)}}):_.H("div",{class:"cinematic-setting",el:f},_.H("div",{class:"cinematic-setting-content"},_.W.vp),_.H(_.QW,{ariaLabel:_.W.vp,checked:d,onClick:function(){tIa(l.value,
m.value,d());var p=!d();uIa(p);e(p)}})))}))});TO.U=!0;var wIa=_.W.xB,xIa=_.W.DB;var fZa=_.W.Fu,gZa=_.W.yB,hZa=_.W.Gu,CIa=_.T(function(a){var b=a.SD;var c=_.xH("copy-debug-info-textarea");return _.H(_.hI,{vc:function(){return _.H(_.mJ,null,hZa)},Hb:function(){return _.H("textarea",{class:"player-debug-info",id:c},b)},pc:function(){return _.H(_.lJ,null,_.H(_.oF,{model:{buttonText:fZa,style:"mono",type:"text",state:"active",size:"M",onTap:function(){_.K().resolve(_.kJ).ab()}}}))},Xc:function(){return _.H(_.lJ,null,_.H(_.oF,{model:{buttonText:gZa,style:"mono",type:"text",state:"active",
size:"M",onTap:function(){_.GO(c);_.K().resolve(_.kJ).ab()}}}))}})});var zIa=_.W.Gu;var EIa=_.W.Fu,DIa=_.W.im;var LIa=_.W.ev,MIa=_.W.mC,NO=[25,50,100,150,175,200],NIa=[25,50,100,150,200],KO;var TIa=_.W.lC,PO=_.W.ev;var YIa=_.W.hC,RO=_.W.iC;var RW={},eJa=(RW.auto=0,RW.tiny=144,RW.light=144,RW.small=240,RW.medium=360,RW.large=480,RW.hd720=720,RW.hd1080=1080,RW.hd1440=1440,RW.hd2160=2160,RW.hd2880=2880,RW.highres=4320,RW);var hJa=_.W.jC,fJa=_.W.kC;var nJa=_.W.DC;var iZa=_.T(function(a){var b=a.href;var c=a.className;var d=a.target;var e=a.onclick;var f=a.content;a=a.children;var h=_.Ow(),k=_.P(function(l){e==null||e(l);return!0});_.Xo(function(){tJa(h.value,b())});return _.H("a",{el:h,class:c,target:d,"on:click":k},a?a:_.H(_.Oo,null,function(){f==null||f()}))});var yJa,zJa,AJa,xJa,CJa,DJa,EJa;yJa=_.ha(["https://www.youtube.com/live/"]);zJa=_.ha(["vnd.youtube://m.youtube.com/live/"]);AJa=_.ha(["intent://m.youtube.com/live/"]);xJa=_.ha(["https://www.youtube.com/watch"]);CJa=_.ha(["vnd.youtube://m.youtube.com/watch"]);DJa=_.ha(["intent://m.youtube.com/watch#Intent;package=com.google.android.youtube;scheme=vnd.youtube;launchFlags=268435456;end"]);EJa=_.ha(["https://www.youtube.com/live/",""]);_.jZa=_.W.kB;_.kZa=_.W.jB;_.lZa=_.W.Lb;_.mZa=_.W.bC;_.nZa=_.W.CC;var NJa,HJa,FJa,KJa,LJa,OJa,PJa,IJa,JJa,GJa,RJa,oZa;NJa=_.W.PB;HJa=_.W.im;FJa=_.W.UB;KJa=_.W.RB;LJa=_.W.SB;OJa=_.W.TB;PJa=_.W.QB;IJa=_.W.WB;JJa=_.W.Gp;GJa={applicationSettingsEndpoint:{hack:!0},commandMetadata:{webCommandMetadata:{rootVe:12924,url:"/select_site",webPageType:"WEB_PAGE_TYPE_SETTINGS"}}};
RJa=_.T(function(a){var b=_.aC(a.RH,!1),c=_.aC(a.MF,!1);return _.H(_.zw,{each:function(){return QJa(b(),c())},ob:"INDEX"},function(d){return _.H(_.Dw,null,_.H(_.Fw,{Pa:function(){return d().endpoint}},function(){return _.H(yXa,{command:function(){return d().endpoint}},function(){return d().text})}),_.H(_.Fw,{Pa:function(){return d().href}},function(){return _.H(xXa,{url:function(){return d().href}},function(){return d().text})}),_.H(_.Fw,{Pa:function(){return d().onclick}},function(){return _.H(wXa,
{onclick:function(e){d().onclick(e)}},function(){return d().text})}))})});
_.pZa=_.T(function(){return _.H(_.zw,{each:function(){return QJa()},ob:"INDEX"},function(a){return _.H(_.Dw,null,_.H(_.Fw,{Pa:function(){return a().href}},function(){return _.H(iZa,{href:function(){return a().href}},_.H(_.ZJ,{name:function(){return a().iconType}}),function(){return a().text})}),_.H(_.Fw,{Pa:function(){return a().onclick}},function(){return _.H(oZa,{onclick:function(b){return void a().onclick(b)}},_.H(_.ZJ,{name:function(){return a().iconType}}),function(){return a().text})}))})});
oZa=_.T(function(a){var b=a.onclick;a=a.children;var c=_.P(function(d){b(d)});return _.H("button",{class:"multi-page-menu-system-link","on:click":c},a)});var eP,cP=_.oG({thumbnailOverlayTimeStatusRenderer:_.oK,buttonRenderer:_.IL});var RLa=[].concat(_.ma(yYa),[{register:function(a,b){b=hKa(a,b);var c;(c=a().N)==null||c.addEventListener("onStateChange",b);return function(){}}},{register:function(a){var b=kKa(a),c;(c=a().N)==null||c.addEventListener("SEEK_COMPLETE",b);return function(){}}},{register:function(a){var b=iKa(a),c;(c=a().N)==null||c.addEventListener("onVideoDataChange",b);return function(){}}},{register:function(a,b){b=lKa(a,b);var c,d;(c=a())==null||(d=c.N)==null||d.addEventListener("onVideoProgress",b);return function(){}}},
{register:function(a){var b=mKa(a),c;(c=a().N)==null||c.addEventListener("onMutedAutoplayChange",b);return function(){}}},{register:function(a){var b=oKa(a);window.addEventListener("hashchange",b);return function(){window.removeEventListener("hashchange",b)}}},{register:function(a){var b=pKa(a);window.addEventListener("popstate",b);return function(){window.removeEventListener("popstate",b)}}},{register:function(a){var b=nKa(a),c;(c=a().N)==null||c.addEventListener("onFullscreenChange",b);return function(){}}},
{register:function(a){var b=qKa(a);window.addEventListener("orientationchange",b);return function(){window.removeEventListener("orientationchange",b)}}},{register:function(a){var b=rKa(a);window.addEventListener("fullscreenerror",b);return function(){window.removeEventListener("fullscreenerror",b)}}},{register:function(a,b){var c=sKa(a,b);window.addEventListener("player-autonav-pause",c);return function(){window.removeEventListener("player-autonav-pause",c)}}},{register:function(a){var b=tKa(a);window.addEventListener("autonav-toggle-click",
b);return function(){window.removeEventListener("autonav-toggle-click",b)}}},{register:function(a){var b=uKa(a),c;(c=a().N)==null||c.addEventListener("onLoopRangeChange",b);return function(){}}}]);var OKa=null,PKa=null,jP=null,FKa=0;var oP=_.oG({buttonRenderer:_.IL,buttonViewModel:_.HF,toggleButtonRenderer:_.iN,slimMetadataToggleButtonRenderer:_.PGa,slimMetadataButtonRenderer:NGa,fullscreenEngagementActionBarSaveButtonRenderer:NGa});var aLa=_.oG({endScreenVideoRenderer:function(a,b){_.U(KGa)({data:a,alwaysUseVerticalLayout:b==null?void 0:b.alwaysUseVerticalLayout})}});var xLa=null;var tP;_.v(CP,_.UE);
CP.prototype.render=function(){SLa(this);this.props.data&&(_.GN(this.j,this.props.data),this.o!==this.props.data.N&&(_.IN(this.j),_.HN(this.j),this.o=this.props.data.N));var a=_.EN(this.j),b=this.j.W,c=this.props.data,d=$L(a,c==null?void 0:c.N);if(RM(a,d)||_.M("mweb_keep_player_controls_alive")){var e;if((e=a.Fb)==null?0:e.cA){var f,h,k,l,m;d=((k=c==null?void 0:(f=c.Bw)==null?void 0:(h=f.embedPreview)==null?void 0:h.thumbnailPreviewRenderer)==null?void 0:k.defaultThumbnail)||(c==null?void 0:(l=c.playerResponse)==
null?void 0:(m=l.videoDetails)==null?void 0:m.thumbnail);_.U(RXa)({X:b,thumbnailDetails:d,N:a.N})}var n;if((f=c==null?void 0:c.N)&&f.getPlayerStateObject&&f.getPlayerSize){if(h=(n=f.getPlayerStateObject())==null?void 0:n.isError,n=!nJ(a)&&!h)f=f.getPlayerSize(),n=f.width<360,f=f.height<320,n=!((a.playerState===-1||a.playerState===5)&&n&&f)}else n=!1;if(n){var p;f=c==null?void 0:c.playerOverlayRenderer;n=c==null?void 0:c.Bw;f=_.N(f==null?void 0:f.infoPanel,bUa);var q;n=_.N(n==null?void 0:(p=n.embedPreview)==
null?void 0:(q=p.thumbnailPreviewRenderer)==null?void 0:q.infoPanel,bUa);(p=f||n)&&_.U(ZXa)({data:p,props:a})}qLa(a,b,c)}};CP.prototype.Fd=function(){SLa(this);_.HN(this.j)};CP.prototype.Uc=function(){dP();_.FJ();var a,b;(b=(a=this.props.Ea).exitFullscreen)==null||b.call(a);var c;(c=this.j)==null||_.IN(c);this.j=void 0};CP.tagName="ytm-custom-control";var qZa=_.W.wp,rZa=_.W.Tj,sZa=_.W.kh,tZa=_.W.Uj,uZa=_.W.Ip,SW={thumbnailOverlayTimeStatusRenderer:fU,buttonRenderer:_.OQ},vZa=_.u(_.$o(!1)),KP=vZa.next().value,cMa=vZa.next().value,wZa=_.u(_.$o(!1)),eMa=wZa.next().value,dMa=wZa.next().value,xZa=_.u(_.$o(!1)),LP=xZa.next().value,fMa=xZa.next().value,yZa=_.u(_.$o(!1)),hMa=yZa.next().value,gMa=yZa.next().value,zZa=_.u(_.$o((0,_.Uq)())),HP=zZa.next().value,AZa=zZa.next().value,BZa=_.u(_.$o(!1)),OP=BZa.next().value,PP=BZa.next().value,IP=null,CZa=_.u(_.$o(0)),
aMa=CZa.next().value,YLa=CZa.next().value,DZa=_.u(_.$o(!1)),iMa=DZa.next().value,QP=DZa.next().value,EZa=_.T(function(){return _.H(_.cK,{className:"endscreen-logo-play-button",name:"YOUTUBE",ariaLabel:sZa,onclick:XLa})});EZa.U=!0;
var FZa=_.T(function(){var a=!LN;return _.H("div",{class:"autonav-off-controls center"},_.H(_.cK,{className:"endscreen-previous-button "+(a?"icon-disable":""),name:"PLAYER_PREVIOUS",ariaLabel:tZa,ariaDisabled:a,onclick:function(){eM(a,_.rE())}}),_.H(_.cK,{className:"endscreen-replay-button",name:"PLAYER_REPLAY",ariaLabel:uZa,onclick:function(){QP(!1);XLa()}}),_.H(_.cK,{className:"endscreen-next-button",name:"PLAYER_NEXT",ariaLabel:rZa,onclick:function(){var b;(b=_.rE())==null||b.nextVideo()}}))});
FZa.U=!0;
var GZa=_.T(function(a){function b(){return String(Math.max(0,Math.ceil((OP()?k():1E4)/1E3)))}var c=a.playerOverlayAutoplayRenderer;a=qZa.split("seconds_placeholder");var d,e=((d=a[0])==null?0:d.length)?a[0]:null,f,h=((f=a[1])==null?0:f.length)?a[1]:null,k=bMa();d={style:"overlay"};return _.H(_.F,null,_.H("div",{class:"autonav-top-panel"},_.H("div",{class:"autonav-endscreen-header",role:"text"},_.H(_.O,{C:LP,ia:function(){return _.H("span",{id:"upnext-in-message"},e,_.H("span",{class:"autonav-endscreen-countdown-number","aria-hidden":!0},
b),h)}},function(){return _.H(_.tU,{data:function(){return c().pauseText}})})),_.H(_.NF,{mapping:SW,data:function(){return c().closeButton},Y:{buttonRenderer:{onButtonClickCallback:function(){QP(!0);MP()}}}})),_.H("div",{class:"autonav-endscreen-countdown-container"},_.H(_.CT,{stopPropagation:!1,command:function(){var l,m;return(l=c().nextButton)==null?void 0:(m=l.buttonRenderer)==null?void 0:m.navigationEndpoint},className:"autonav-endscreen-cued-video-container",ariaLabel:function(){var l;return _.AK((l=
c().videoTitle)==null?void 0:l.accessibility)}},_.H("div",{class:"cued-thumbnail-overlay-v2"},_.H(hU,{thumbnailDetails:function(){return c().background},overlay:null,vd:void 0,className:void 0,od:!1}),_.H(_.NF,{mapping:SW,data:function(){return c().thumbnailOverlays},Y:{thumbnailOverlayTimeStatusRenderer:{className:"thumbnail-overlays",ariaHidden:!0}}})),_.H("div",{class:"autonav-endscreen-video-info","aria-hidden":!0},_.H("div",{class:"autonav-endscreen-video-title"},_.H(_.tU,{data:function(){return c().videoTitle}})),
_.H("div",{class:"autonav-endscreen-video-author"},_.H(_.tU,{data:function(){return c().byline},ka:!0}))))),_.H("div",{class:"autonav-endscreen-button-container"},_.H(_.NF,{mapping:SW,data:function(){return c().cancelButton},Y:{buttonRenderer:{className:"cancel-autoplay",onButtonClickCallback:function(){QP(!0);MP()},buttonOverrides:d}}}),_.H(_.NF,{mapping:SW,data:function(){return c().nextButton},Y:{buttonRenderer:{className:"playnext-button",buttonOverrides:d}}})))});GZa.U=!0;
_.T(function(a){function b(l){var m;gMa(_.CB()==="watch"&&((m=l.detail)==null?void 0:m.state)===0)}function c(){return RP()}function d(){return!!EP(h())&&!(!EP(h())||!DP(EP(h())))&&!!e()}function e(){var l=h(),m,n,p;return l==null?void 0:(m=l.playerOverlays)==null?void 0:(n=m.playerOverlayRenderer)==null?void 0:(p=n.autoplay)==null?void 0:p.playerOverlayAutoplayRenderer}function f(){return hMa()&&VLa(EP(h()))}var h=_.aC(a.data,{});GP=h;_.Xo(function(){f()||OP()&&queueMicrotask(function(){PP(!1);$La(h)})});
_.Xo(function(){if(f()){var l;(l=_.iE.ct)==null||l.removeAttribute("hidden")}else{var m;(m=_.iE.ct)==null||m.setAttribute("hidden","")}});_.Xo(function(){f()&&!OP()&&d()&&RP()&&!LP()&&queueMicrotask(function(){PP(!0);ZLa(h)})});_.Xo(function(){queueMicrotask(jMa)});var k;_.Hw(function(){k=setInterval(function(){AZa((0,_.Uq)())},500);window.addEventListener("player-state-change",b)});_.Mn(function(){k&&window.clearInterval(k);window.removeEventListener("player-state-change",b)});return _.H("ytm-player-endscreen",
{hidden:function(){return!f()}},_.H(_.O,{C:f},function(){return _.H("div",{class:"ytm-player-endscreen"},_.H("div",{id:"player-endscreen","data-has-timer-countdown":function(){return d()&&RP()},class:"endscreen-v2"},_.H(_.O,{C:d,ia:function(){return _.H(EZa,null)}},function(){return _.H(_.O,{C:c,ia:function(){return _.H(FZa,null)}},function(){return _.H(GZa,{playerOverlayAutoplayRenderer:_.aC(e,{})})})})))}))}).U=!0;var UP,SP=!1,kMa=!1,TP=!1,lMa=!1,mMa=0;window.addEventListener("player-state-change",oMa);window.addEventListener("player-autonav-pause",pMa);window.addEventListener("video-data-change",qMa);window.addEventListener("state-navigatestart",function(a){var b;_.CB((b=a.detail)==null?void 0:b.href)!=="watch"&&tO()});var YP=null;var bQ=null;jQ.prototype.o=function(){var a=this.Wk.data,b,c=_.oC((b=a.inlinePlayerData)==null?void 0:b.onVisible),d;a=_.oC((d=a.inlinePlayerData)==null?void 0:d.onSelect);c&&a&&(c={inlinePlaybackEndpoint:c,navigationEndpoint:a,Tq:this.Wk.me,trackingParams:""},hQ(cQ(),c,this.A,this.j))};jQ.prototype.Rl=function(){fQ(cQ())};kQ.prototype.o=function(){if(this.Xd.data.length!==0){var a=this.Xd.data[this.B];EMa(this,a);GMa(this,a,this.Xd.trackingParams)}};kQ.prototype.Rl=function(){IMa(this)};lQ.prototype.o=function(){var a=this,b=this.qd.data;if(b.inlinePlaybackEndpoint&&b.navigationEndpoint&&b.trackingParams){b={inlinePlaybackEndpoint:b.inlinePlaybackEndpoint,navigationEndpoint:b.navigationEndpoint,trackingParams:b.trackingParams,Tq:this.qd.me};var c,d;this.j=_.tq(0,function(){var e,f,h=(e=a.qd)==null?void 0:(f=e.callbacks)==null?void 0:f.Os;h&&h()},(c=this.qd)==null?void 0:(d=c.callbacks)==null?void 0:d.AH);hQ(cQ(),b,this.B,this.A)}};lQ.prototype.Rl=function(){fQ(cQ());_.xr.Ma(this.j)};mQ.prototype.o=function(){MMa(this)};mQ.prototype.Rl=function(){var a;(a=this.Pc)==null||a.disconnect();this.Pc=null;nQ(this)};var pQ=null;qQ.prototype.o=function(){this.Pc=PMa(this);for(var a=_.u(this.data.ap),b=a.next();!b.done;b=a.next())this.Pc.observe(b.value.Va)};qQ.prototype.Rl=function(){this.j=null;var a;(a=this.Pc)==null||a.disconnect();QMa(this)};var HZa=_.kF(function(a){var b=a.data;a=b.filter(function(e){return e.thumbnailOverlayTitleViewModel});b=b.filter(function(e){return e.thumbnailOverlayTimeStatusRenderer});var c,d;return _.H("div",null,((c=a[0])==null?0:c.thumbnailOverlayTitleViewModel)?_.H(_.cI,{data:a[0].thumbnailOverlayTitleViewModel,hidden:!a}):null,((d=b[0])==null?0:d.thumbnailOverlayTimeStatusRenderer)?_.H(_.rQ,null,_.H(_.nK,{data:b[0].thumbnailOverlayTimeStatusRenderer})):null)});var XMa=_.T(function(){function a(qa){uMa(ZP());var ja;(ja=d.value)==null||ja.Rl();if(qa)try{h(null),l({top:0,left:0,height:0,width:0}),n(!1),q(!1),t([]),y([]),A(!1),I(!1)}catch(Fa){_.bv(Fa)}}var b=_.Ow(),c=_.Ow(),d=_.Pw(null),e=_.u(_.$o(null)),f=e.next().value,h=e.next().value;e=_.u(_.$o({top:0,left:0,height:0,width:0}));var k=e.next().value,l=e.next().value,m=_.u(_.$o(!1));e=m.next().value;var n=m.next().value;m=_.u(_.$o(!1));var p=m.next().value,q=m.next().value,r=_.u(_.$o([]));m=r.next().value;
var t=r.next().value,w=_.u(_.$o([]));r=w.next().value;var y=w.next().value,B=_.u(_.$o(!1));w=B.next().value;var A=B.next().value,E=_.u(_.$o(!1));B=E.next().value;var I=E.next().value,G=_.u(_.$o());E=G.next().value;var X={Vp:function(qa){var ja=qa.getBoundingClientRect();qa=window.getComputedStyle(qa).getPropertyValue("border-top-width").split("px");qa=qa.length>0?(qa=Number(qa[0]))?qa:0:0;l({top:ja.top+window.scrollY+qa,left:ja.left+window.scrollX,height:ja.height-qa,width:ja.width})},As:function(){sMa(ZP(),
c.value)},It:G.next().value,Yz:h,Ht:n,Vz:I,LI:t,HI:y};_.Qw(b,"yt-load-video-preview",function(qa){a:{qa=qa.detail;a(!0);if(qa.qd)qa=new lQ(qa.qd,X);else if(qa.Wk)qa=new jQ(qa.Wk,X);else if(qa.Xd)A(!0),q(!0),qa=new kQ(qa.Xd,X);else if(qa.gx)qa=new mQ(qa.gx);else if(qa.Kt)qa=new qQ(qa.Kt);else{_.av(Error("Od"));break a}var ja;(ja=qa)==null||ja.o();d.value=qa}});_.Qw(b,"yt-end-video-preview",function(){a(!0)});_.Mn(function(){a(!1)});G={};e=_.BD("YtmVideoPreviewHost",(G.YtmVideoPreviewHostShow=e,G.YtmVideoPreviewHostRounded=
p,G),"video-preview");p={};var ca=_.BD("YtmVideoPreviewBlackScreen",(p.YtmVideoPreviewBlackScreenShow=B,p)),pa={cp:eIa};return _.H("ytm-video-preview",{class:e,el:b,style:_.gF({top:(0,_.NT)(function(){return k().top}),left:(0,_.NT)(function(){return k().left}),width:(0,_.NT)(function(){return k().width}),height:(0,_.NT)(function(){return k().height})})},_.H("div",{class:"YtmVideoPreviewPlayer",el:c}),_.H(IZa,{thumbnailOverlays:m}),_.H(_.O,{C:w},function(){return _.H("div",{class:ca})}),_.H(IZa,{thumbnailOverlays:r}),
_.H(_.O,{C:E},function(qa){return _.H(_.CT,{className:"YtmVideoPreviewNavigationEndpoint",command:qa,stopPropagation:!1})}),_.H(_.O,{C:f},function(qa){return _.H(DYa,{data:qa,Ea:pa,options:{}})}))}),IZa=_.T(function(a){return _.H("ytm-video-preview-overlays",{class:"YtmVideoPreviewOverlays"},_.H(HZa,{data:a.thumbnailOverlays}))});var tQ=new _.jp("MINIPLAYER_MANAGER_TOKEN");_.TW=_.R("browse","aDST8c");_.ZB(_.TW);_.UW=_.R("experiments","tSmD1b");_.ZB(_.UW);_.VW=_.R("search","HVzIQc");_.ZB(_.VW);_.WW=_.R("settings","QSDTCc");_.ZB(_.WW);_.XW=_.R("shorts","BVqNwc");_.ZB(_.XW);_.YW=_.R("sponsorship","hhhf3b");_.ZB(_.YW);_.ZW=_.R("watch","ieWmpc");_.ZB(_.ZW);var $W={},JZa=($W.browse=BQ(_.TW),$W.channel=BQ(_.TW),$W.playlist=BQ(_.TW),$W.shorts=BQ(_.XW),$W.search=BQ(_.VW),$W.experiments=BQ(_.UW),$W.select_site=BQ(_.WW),$W.settings=BQ(_.WW),$W.sponsorship=BQ(_.YW),$W.trending=BQ(_.TW),$W.library=BQ(_.TW),$W.history=BQ(_.TW),$W),KZa={},LZa=(KZa.watch=BQ(_.ZW),KZa),MZa=Object.assign({},JZa,LZa),aX={},NZa=(aX.watch=AQ(_.ZW),aX.browse=AQ(_.TW),aX.channel=AQ(_.TW),aX.playlist=AQ(_.TW),aX.shorts=AQ(_.XW),aX.search=AQ(_.VW),aX.experiments=AQ(_.UW),aX.select_site=
AQ(_.WW),aX.settings=AQ(_.WW),aX.sponsorship=AQ(_.YW),aX.trending=AQ(_.TW),aX.library=AQ(_.TW),aX.history=AQ(_.TW),aX.open_in_app=AQ(_.TW),aX.mini_app=AQ(_.TW),aX);var YMa=_.V(MZa),OZa=_.kF(ZMa);_.bX=_.R("alertRenderer","vk5oOd");_.ZB(_.bX);_.cX=_.R("alertWithActionsRenderer","RQmkw");_.ZB(_.cX);var FQ,aNa;_.GQ=void 0;FQ=void 0;aNa=_.V({buttonRenderer:_.EL});_.dX=_.R("bottomSheetOverlayRenderer","qHZM4");_.ZB(_.dX);_.eX=_.R("commandWrapperPromoRenderer","sIqszf");_.ZB(_.eX);var dNa=_.W.wC,eNa=_.V({navigationDropdownItemRenderer:cNa,privacyDropdownItemRenderer:bNa,dropdownItemRenderer:bNa}),PZa=_.kF(_.JQ,{callbacks:{onchange:!0}});var fX;
_.QZa=_.T(function(a){function b(m){e(m.detail.isLoading);h(m.detail.hasError)}var c=a.data;var d=_.u(_.$o(!1));a=d.next().value;var e=d.next().value;d=_.u(_.$o(!1));var f=d.next().value,h=d.next().value,k=["SHIELD","WARNING","BAR_CHART"],l=["TRENDING_UP","BAR_CHART","AUTO_AWESOME","PURCHASES"];_.Hw(function(){window.addEventListener("update-consent-bump",b)});_.Mn(function(){window.removeEventListener("update-consent-bump",b)});return _.H("ytm-consent-bump-v2-renderer",{class:"eom-dialog-container"},_.H("div",
{class:"eom-dialog mandatory-consent-v2-kickin brand-background"},_.H("div",{class:"dialog-topbar"},_.H("div",{class:"dialog-topbar-logo-two-lines"},_.gC("LOGO_WITH_TEXT",{className:_.M("enable_cairo_refresh_ringo2_web")?"dialog-topbar-ringo2-logo":"dialog-topbar-ringo-logo"}),_.H(_.Vo,null,function(){return _.H("div",{class:"dialog-topbar-logo-aside","aria-label":_.W.EB},_.Y(c().interstitialLogoAside))})),_.H("div",{class:"topbar-buttons"},_.H("div",{class:"custom-language-select","aria-label":function(){return c().languageList.dropdownRenderer.accessibility.label}},
_.H(_.NF,{data:function(){return c().languagePickerButton},mapping:{buttonRenderer:fX},Y:{buttonRenderer:{className:"lang-picker-button",ariaHidden:!0,tabIndex:"-1"}}}),_.H(PZa,{data:function(){return c().languageList.dropdownRenderer},className:"language-picker-dropdown",onchange:function(m){(m=c().languageList.dropdownRenderer.entries[m.target.selectedIndex].dropdownItemRenderer.stringValue)&&_.vC({signalServiceEndpoint:{signal:"CLIENT_SIGNAL",actions:[{selectLanguageCommand:{hl:m}}]}},{},!1)}})),
_.H(_.NF,{data:function(){var m=Object.assign({},c().signInButton.buttonRenderer,{icon:void 0});return Object.assign({},c().signInButton,{buttonRenderer:m})},mapping:{buttonRenderer:fX},Y:{buttonRenderer:{className:"sign-in-text-button"}}}))),_.H("div",{class:"dialog-scrollable-content"},_.H(_.Vo,null,function(){return _.H("h2",{class:"consent-bump-v2-lightbox-header-eom",tabindex:-1},_.Y(c().interstitialTitle))}),_.H(_.O,{C:function(){return c().icaClaimer}},function(){return _.H(_.Vo,null,function(){return _.H("div",
{class:"claimer-header"},_.Y(c().icaClaimer))})}),_.H("div",{class:"dialog-body-eom"},_.H(_.Vo,null,function(){return _.H("div",{class:"legal-text"},_.Y(c().eomV1Text.essentialCookieMsg.begin),_.H("ul",null,_.H(_.zw,{each:function(){return k}},function(m,n){return _.H("li",{class:"list-item"},_.H("div",{class:"list-icon"},_.gC(m)),_.H(_.Vo,null,function(){return _.H("div",null,_.Y(c().eomV1Text.essentialCookieMsg.items[n()]))}))})))}),_.H(_.Vo,null,function(){return _.H("div",{class:"legal-text"},
_.Y(c().eomV1Text.nonEssentialCookieMsg.begin),_.H("ul",null,_.H(_.zw,{each:function(){return l}},function(m,n){return _.H("li",{class:"list-item"},_.H("div",{class:"list-icon"},_.gC(m)),_.H(_.Vo,null,function(){return _.H("div",null,_.Y(c().eomV1Text.nonEssentialCookieMsg.items[n()]))}))})))}),_.H(_.Vo,null,function(){return _.H("div",{class:"legal-text"},_.Y(c().eomV1Text.ifReject))}),_.H(_.Vo,null,function(){return _.H("div",{class:"legal-text"},_.Y(c().eomV1Text.personalization))}),_.H(_.Vo,null,
function(){return _.H("div",{class:"legal-text"},_.Y(c().eomV1Text.moreOptions))})),_.H(_.Vo,null,function(){return _.H("div",{class:"privacy-terms"},_.Y(c().privacyLink,{Da:!0}),_.H("span",{class:"term-separator","aria-hidden":"true"},"\u2022"),_.Y(c().termsLink,{Da:!0}))}),_.H("div",{class:"one-col-dialog-buttons"},_.H(_.NF,{data:function(){return c().agreeButton},mapping:{buttonRenderer:fX},Y:{buttonRenderer:{className:"eom-accept"}}}),_.H(_.NF,{data:function(){return c().disableP13nButton},mapping:{buttonRenderer:fX},
Y:{buttonRenderer:{className:"eom-reject"}}}),_.H(_.NF,{data:function(){return c().customizeButton},mapping:{buttonRenderer:fX},Y:{buttonRenderer:{className:"eom-customize"}}}))),_.H("div",{class:"show-more-container","aria-hidden":"true"},_.H(_.NF,{data:function(){return c().readMoreButton},mapping:{buttonRenderer:fX},Y:{buttonRenderer:{className:"show-more-button",onButtonClickCallback:function(){var m=document.querySelector(".consent-bump-v2-lightbox div.dialog-scrollable-content");if(m){var n=
m.clientHeight;m.scrollTop=Math.min(m.scrollHeight-n,m.scrollTop+n-50)}}}}})),_.H(_.O,{C:a},function(){return _.H("div",{class:"spinner-overlay"},_.H(_.Vo,null,function(){return _.H("div",null,_.H("div",{class:"spinner consent-bump-spinner"}),_.Y(c().loadingMessage))}))}),_.H(_.O,{C:f},function(){return _.H("div",{class:"error-overlay"},_.H(_.Vo,null,function(){return _.H("div",{class:"retry-error-message"},_.Y(c().errorMessage))}))})))});
fX=_.T(function(a){var b=a.data;var c=a.className;var d=a.onButtonClickCallback;var e=a.tabIndex;var f=a.ariaHidden;return _.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){_.IL(b(),{className:c==null?void 0:c(),onButtonClickCallback:d,tabIndex:e==null?void 0:e(),"aria-hidden$":f==null?void 0:f()})})})});_.gX=_.R("mealbarPromoRenderer","N5w9gf");_.ZB(_.gX);var RZa=_.W.up,SZa=_.W.Kb,hX=_.T(function(a){a=_.bC(a,{iconType:"ACCOUNT_CIRCLE",toolbarMenu:void 0});var b=a.toolbarMenu,c=a.iconType,d=$N().Rd;return!_.M("mweb_sheets_ui_refresh")||_.VM||_.mD()?_.H(AXa,{iconType:c,label:RZa,content:function(){var e=_.Yo(b);(e==null?0:e.menuRenderer)&&(0,_.kN)(e.menuRenderer.items);_.yE()||_.U(LQ)({});YO()},cancelButtonLabel:SZa}):_.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){var e=b(),f=c(),h=d(),k={content:function(){(0,_.S)({className:"bottom-sheet-menu-item"},
function(){(e==null?0:e.menuRenderer)&&(0,_.kN)(e.menuRenderer.items);_.yE()||_.U(LQ)({});YO()})}};_.tF({style:gNa(h),type:"text",state:"active",size:"L",iconPosition:"icon-only",accessibilityLabel:RZa,onTap:function(l){k.focusOnClose=l.currentTarget;_.GK(k)}},function(){_.bK(f)})})})});var hNa=_.oG({multiPageMenuRenderer:_.$B(_.uU)}),TZa=_.kF(iNa);var UQ=_.M("enable_modern_ia_client_icons")?"overflow_vertical_cairo":"MORE_VERT",UZa={topbarMenuButtonRenderer:TZa,buttonRenderer:_.OQ,multiPageMenuRenderer:_.tD(_.$B(_.uU))},VZa=_.T(function(a){var b=a.response;var c=a.bG;var d=a.toolbarMenu;a=$N();var e=a.Rd,f=a.hG,h=a.aG,k=a.cG,l=a.Nx,m=a.mG;return _.H(_.Dw,null,_.H(_.Fw,{Pa:a.Ga},function(){return null}),_.H(_.Fw,{Pa:function(){return(l()||m())&&_.M("mweb_enable_youtab")&&!0}},function(){return null}),_.H(_.Fw,{Pa:e},function(){return _.H(hX,
{iconType:UQ})}),_.H(_.Fw,{Pa:function(){return f()||h()||k()}},function(){return _.H(_.O,{C:function(){return b().buttons},ia:function(){return _.H(hX,{iconType:UQ,toolbarMenu:d})}},function(){return _.H(_.NF,{mapping:UZa,data:function(){return b().buttons}})})}),_.H(_.Ew,null,function(){return _.H(_.O,{C:function(){return!c()},ia:function(){return _.H(_.O,{C:function(){return b().buttons},ia:function(){return _.H(hX,null)}},function(){return _.H(_.NF,{mapping:UZa,data:function(){return b().buttons}})})}},
function(){return _.H(hX,{iconType:UQ,toolbarMenu:d})})}))});var jNa=_.W.up,kNa=_.W.Kb;var TNa=_.oG({topbarMenuButtonRenderer:function(a){_.U(iNa)({data:a})},buttonRenderer:_.IL,multiPageMenuRenderer:_.$B(_.uU)});var lNa=_.W.tB,nNa=_.W.uB,mNa=_.W.BACK,oNa=_.M("enable_modern_ia_client_icons")?"arrow_left_cairo":"ARROW_BACK",WZa=_.T(function(a){var b=a.vF;var c=a.topbarLogoRenderer;var d=a.Pr;var e=a.page;a=_.P(function(f){if((b==null?0:b())||(d==null?0:d())||aO()||(e==null?void 0:e())==="settings"||_.NB())_.aJ(),f.stopPropagation();else{var h;_.BL({href:"/",rb:_.M("mweb_logo_use_home_page_ve")?3854:6827,endpoint:(c==null?void 0:(h=c())==null?void 0:h.endpoint)||_.NQ})}});return _.H("button",{class:"mobile-topbar-back-arrow",
"aria-label":function(){var f=b==null?void 0:b(),h=d==null?void 0:d();return f?lNa:h||_.NB()?mNa:nNa},"on:click":a},_.gC(oNa))});var TQ=_.T(function(a){function b(){var e,f=(e=d())==null?void 0:e.topBarTitle;return f?f:c()}var c=a.GA;var d=_.WI(_.mAa,a.pageHeaderEntityKey);return _.H("h1",{class:_.BD("title mobile-topbar-title",{"cairo-settings-topbar-title":_.M("mweb_enable_cairo_settings")}),"aria-label":b},b)});TQ.U=!0;var sNa=_.W.Gp,PQ;var uNa=_.W.Vj,vNa=_.W.gv,tNa=_.W.Wj;var yNa=_.W.Gp,xNa=_.W.Xj;var ENa=_.T(function(a){var b=a.Hm;var c=a.KG;var d=a.id;var e=a.gJ;var f=a.altText;var h=a.cn;a=_.Ow();var k=_.Ow();_.Qw(k,"error",function(){h==null||h()});return _.H("div",{class:b,el:a},_.H("img",{el:k,id:d,src:e(a.value),class:c,alt:f}))});var XZa=_.kF(JNa);var QNa=_.W.Vj,PNa=_.W.Wj,RNa=_.oG({buttonRenderer:_.IL});var YZa=_.W.Vj,ZZa=_.W.gv,$Za=_.W.Wj,a_a=_.T(function(a){function b(){return c().trim()===""?e()?$Za:YZa:""}var c=a.searchQuery;var d=_.jJ();a=d.bD;var e=d.Rx;d=_.P(function(){_.gJ()});return _.H("div",{class:"search-bar"},_.H("button",{class:"title search-bar-text","aria-label":c,"on:click":d,dir:"auto","data-is-placeholder":function(){return b()?"true":"false"}},function(){return b()?b():c()}),_.H(_.cK,{name:"TUNE",ariaLabel:ZZa,ariaExpanded:a,onclick:CBa,className:"search-filter-icon topbar-menu-button-avatar-button"}))});var b_a=_.T(function(a){return _.H(_.O,{C:function(){return a.page()==="watch"&&!_.yE()&&ANa||_.M("mweb_app_upsell_button_testing")}},VNa)});var c_a=_.W.Vj,d_a=_.W.Wj,f_a=_.T(function(a){function b(){return UH()&&_.M("mweb_voice_search")&&n().voiceSearchButton?_.N(n().voiceSearchButton,_.gP):_.Yo()}function c(){return _.M("mweb_hide_search_in_top_bar")?_.Yo(!1):Fa()?!1:!qa()}function d(){return(_.Yo(LNa)||_.yi(window.location.href,"force_open_app_button")==="1")&&!pa()&&(za()||_.wB(_.sB().href).startsWith("/live/"))}function e(){return l()||m()==="select_site"||m()==="settings"||pa()||f()||Fa()&&_.KQ}function f(){return E()&&_.M("mweb_c3_library_page_enable_recent_shelf")}
function h(){return k()||p()==="watch"||Fa()||ja()||I()||G()||X()||ca()}function k(){return!!((r==null?0:r())||QQ)||G()}function l(){return m()==="searching"}function m(){return y()||B()?"searching":p()}var n=a.data;var p=a.page;var q=a.sf;var r=a.di;var t=a.toolbarMenu;a=a.pageHeaderEntityKey;var w=_.jJ(),y=w.Tr,B=w.Vr,A=w.Rx;w=$N();var E=w.NF,I=w.Nx,G=w.Qx,X=w.WF,ca=w.YF,pa=w.Pr,qa=w.Ux,ja=w.lG,Fa=w.Ga,za=w.Rd,wb=_.WI(OGa,function(){var Aa,Ra;return((Aa=n().topbarLogo)==null?0:(Ra=Aa.topbarLogoRenderer)==
null?0:Ra.overrideEntityKey)||za()?"EgZ0b3BiYXIg9QEoAQ%3D%3D":""});w=_.BD("mobile-topbar-header","cbox",{"cairo-settings-topbar":_.M("mweb_enable_cairo_settings")});var ka=_.no(function(Aa){Aa.append("key","header");Aa.append("data-mode",m);Aa.append("aria-modal",_.cC(l,"true"));Aa.append("role",_.cC(l,"dialog"))}),oa=_.P(function(Aa){l()&&!_.M("mweb_allow_modern_search_suggest_behavior")&&Aa.preventDefault();return!0});return _.H("header",Object.assign({},{class:w,"on:touchmove":oa},ka),_.H(_.O,
{C:e,ia:function(){return _.H(XZa,{ep:h,gA:Fa,endpoint:function(){var Aa,Ra;return(Aa=n().topbarLogo)==null?void 0:(Ra=Aa.topbarLogoRenderer)==null?void 0:Ra.endpoint},logoEntity:function(){var Aa;return(Aa=wb==null?void 0:wb())!=null?Aa:void 0},ny:Fa})}},function(){return _.H(WZa,{vF:l,topbarLogoRenderer:function(){var Aa;return(Aa=n().topbarLogo)==null?void 0:Aa.topbarLogoRenderer},Pr:pa,page:p})}),_.M("mweb_yt_searchbox")?_.H(_.F,null,_.H(ONa,{searchEndpoint:function(){return n().searchCommand},
placeholderText:function(){return A()?d_a:c_a},labels:SQ}),_.H(_.O,{C:b},function(Aa){return _.H("div",{class:"searchbox-voice-search-wrapper"},_.H(_.OQ,{data:Aa,onButtonClickCallback:function(){var Ra;(Ra=_.rE())==null||Ra.pauseVideo()}}))})):_.H(_.Vo,null,function(){var Aa=y(),Ra=B(),la=n().searchCommand,$a=n().voiceSearchButton;return _.H(_.Oo,null,function(){SNa({Ct:Aa,VA:Ra,command:la,voiceSearchButton:$a},{className:"mobile-topbar-header-content search-mode"})})}),_.H("div",{class:"mobile-topbar-header-content non-search-mode cbox"},
_.H(e_a,{sf:q,ep:h,pageHeaderEntityKey:a}),_.H(_.O,{C:function(){return pa()||!e()||f()}},function(){return _.H(_.F,null,_.H(_.O,{C:d},rNa),_.H(_.O,{C:c},function(){return _.H(_.cK,{name:"SEARCH",ariaLabel:c_a,className:"topbar-menu-button-avatar-button",onclick:_.gJ})}),_.H(_.O,{C:function(){return p()==="search"&&!!b()}},function(){return _.H(_.OQ,{data:function(){return b()},className:"mobile-topbar-header-voice-search-button",buttonOverrides:{size:"S",iconPosition:"icon-only"}})}),_.H(VZa,{response:n,
bG:k,toolbarMenu:t}),_.H(b_a,{page:p}))})))}),e_a=_.T(function(a){var b=a.sf;var c=a.ep;var d=a.pageHeaderEntityKey;_.Xo(function(){MDa(b())});var e=$N().Ux;return _.H(_.O,{C:function(){return!c()}},function(){return _.H(_.O,{C:e,ia:function(){return _.H(TQ,{GA:b,pageHeaderEntityKey:d})}},function(){return _.H(a_a,{searchQuery:b})})})});var pOa=_.T(function(){function a(){m.nc()&&(n({sh:-c,zb:!0,isScrolling:!1,Cg:!1}),setTimeout(function(){document.body.removeAttribute("drawer-open");k(void 0);n({zb:!0,fb:!1,Dh:0,sh:c,isScrolling:!1,Cg:!1})},300),n({nc:!1}),KK(!1),_.RK(e.value),_.CK.dispatch(FCa(!1)))}function b(){n({sh:m.Dh(),zb:!0,isScrolling:!1,Cg:!1});setTimeout(function(){n({zb:!1})},300)}var c=.6*window.innerWidth,d=Math.min(c/2,100),e=_.Ow(),f=_.u(_.$o()),h=f.next().value,k=f.next().value,l=_.u(Sha({nc:!1,fb:!1,Dh:0,dj:0,
sh:c,zb:!0,isScrolling:!1,Cg:!1}));f=l.next().value;l=l.next().value;var m=f,n=l;_.Sw("drawer-open",function(){if(!m.nc()){n({nc:!0});var r=document.activeElement;KK(!0);_.QK(e.value,r,!0);_.CK.dispatch(FCa(!0));document.body.setAttribute("drawer-open","")}});_.Sw("drawer-close",a);_.Sw("drawer-update",function(r){(r=r.detail)?(k(r.bE),n({fb:!1})):n({fb:!0})});f=_.P(function(r){document.body.style.overscrollBehavior="none";var t=r.touches[0].clientX;n({sh:t,Dh:t,dj:r.touches[0].clientY,isScrolling:!1,
zb:!1,Cg:!1})});l=_.P(function(r){var t=r.touches[0].clientX,w=r.touches[0].clientY,y=Math.abs(t-m.Dh());w=Math.abs(w-m.dj());w>y&&!m.isScrolling()&&!m.Cg()?n({isScrolling:!0}):y>w&&!m.isScrolling()&&!m.Cg()&&n({Cg:!0});m.Cg()&&(r.preventDefault(),n({sh:t}))});var p=_.P(function(){document.body.style.overscrollBehavior="";m.Dh()-m.sh()>d?a():b()}),q=_.P(function(){a()});return _.H("drawer-layout-container",{el:e},_.H(_.O,{C:m.nc},function(){return _.H(_.TK,{label:"close",onclick:a,Wm:!0})}),_.H("div",
{class:function(){var r=["drawer-layout"];m.nc()&&r.push("opened");return r.join(" ")},style:function(){var r=m.Dh()!==0?m.Dh():c;r="transform: translateX("+Math.min(m.sh()-r,0)+"px);";m.zb()&&(r+="transition: 0.25s linear;");return r},"on:touchstart":f,"on:touchmove":l,"on:touchend":p},_.H(_.O,{C:m.nc},function(){return _.H(_.F,null,_.H(_.O,{C:h},function(){return _.H(_.Vo,null,function(){return _.H("div",{class:"drawer-layout-data"},_.H(_.Oo,null,function(){var r;(r=h())==null||r()}))})}),_.H(_.O,
{C:function(){return!h()&&m.fb()}},function(){return _.H("div",{class:"spinner"})}),_.H("button",{class:"hidden-button","aria-label":_.W.Lb,"on:click":q}))})))});var ZNa=_.T(function(a){function b(){return c()==="searching"}function c(){return n()||p()?"searching":e()}var d=a.data;var e=a.page;var f=a.sf;var h=a.di;var k=a.toolbarMenu;a=a.pageHeaderEntityKey;var l=$N().Rd,m=_.jJ(),n=m.Tr,p=m.Vr,q=_.Ow();_.Xo(function(){_.Yo(c);WNa(q.value)});_.Xo(function(){b()?_.JK(q.value,!0,!0):FK()||VQ()||WN(_.CK.getState())||_.JK(q.value,!1,!0)});m=_.no(function(t){t.append("ambient-topbar",_.cC(l,jO().toString()))});var r=_.P(function(){});return _.H(_.F,null,XNa(l),
_.H("ytm-mobile-topbar-renderer",Object.assign({},{el:q,id:"header-bar",class:oHa,"on:keydown":r},m),_.H(_.O,{C:b},function(){return _.H(_.Oo,null,function(){VK(_.aJ,{Zf:!0},"CLOSE_SEARCH_LABEL")})}),_.H(f_a,{data:d,page:e,sf:f,di:h,toolbarMenu:k,pageHeaderEntityKey:a})))});ZNa.U=!0;var $Na=function(a,b,c){var d=_.yF(a,function(e,f,h){var k=b(e,f,h);return Object.assign({},k,{render:function(l,m){c&&(e.layer=c);k.render(l,m);_.zF(e,l)}})});return function(e,f){f&&(f=Pwa(f));var h=e==null?void 0:e._replacingContent;h?h(f):d(e,f)}}("ytm-mobile-topbar-renderer",hXa(function(a){return{render:function(b,c,d){var e=eJ()||fJ()?"searching":d.page,f=e==="searching",h,k,l=(b==null?0:(h=b.topbarLogo)==null?0:(k=h.topbarLogoRenderer)==null?0:k.overrideEntityKey)||_.GB()?"EgZ0b3BiYXIg9QEoAQ%3D%3D":
"";if(c=c(OGa,l))d.logoEntity=c;_.GB()&&a.setAttribute("ambient-topbar",jO().toString());_.qB(a,"mode",e,function(){YNa(a)});f?(_.JK(a,!0,!0),VK(_.aJ,{Zf:!0},"CLOSE_SEARCH_LABEL")):FK()||VQ()||WN(_.CK.getState())||_.JK(a,!1,!0);UNa(b,d)}}}));var iX={pivotBarItemRenderer:{icon:{iconType:"SEARCH"},title:{simpleText:_.W.Kp},pivotIdentifier:"search",targetId:"search"}};var g_a,h_a,i_a;g_a={pivotBarItemRenderer:{navigationEndpoint:uJa("/",!0),icon:{iconType:"TAB_HOME"},title:{simpleText:_.W.FB},pivotIdentifier:"FEwhat_to_watch",targetId:"w2w"}};
h_a={pivotBarItemRenderer:{navigationEndpoint:{commandMetadata:{webCommandMetadata:{url:"/shorts/",rootVe:37414,webPageType:"WEB_PAGE_TYPE_SHORTS"}},reelWatchEndpoint:{overlay:{reelPlayerOverlayRenderer:{style:"REEL_PLAYER_OVERLAY_STYLE_SHORTS",reelPlayerNavigationModel:"REEL_PLAYER_NAVIGATION_MODEL_UNSPECIFIED"}},sequenceProvider:"REEL_WATCH_SEQUENCE_PROVIDER_RPC",inputType:"REEL_WATCH_INPUT_TYPE_SEEDLESS"}},icon:{iconType:"TAB_SHORTS"},title:{simpleText:_.W.BC},pivotIdentifier:"FEshorts",targetId:"shorts"}};
i_a={pivotBarItemRenderer:{navigationEndpoint:uJa("/feed/library"),icon:{iconType:"VIDEO_LIBRARY_WHITE"},title:{simpleText:_.W.NB},pivotIdentifier:"FElibrary",targetId:"library",avatar:function(){}}};
_.WQ=_.T(function(a){var b=a.data;var c=a.selectedTabIdentifier;return _.H("ytm-pivot-bar-renderer",{role:"tablist",class:_.dO()},_.H(_.NF,{data:function(){var d=b().items;return _.M("mweb_search_in_bottom_bar")?d?d.length===3?[d[0],d[1],iX,d[2]]:[d[0],d[1],iX,d[2],d[3]]:[g_a,h_a,iX,i_a]:d||[g_a,h_a,i_a]},mapping:{pivotBarItemRenderer:j_a},Y:{pivotBarItemRenderer:{selectedTabIdentifier:function(){var d=b().items,e=c==null?void 0:c();return _.M("mweb_search_in_bottom_bar")&&_.PB()?"search":d?e:e||
(_.KB()?"FElibrary":FB()==="explore"?"FEexplore":"FEwhat_to_watch")},isFallback:function(){return!b().items}}}}))});_.WQ.U=!0;
var j_a=_.T(function(a){function b(){var h;if(h=!!c().pivotIdentifier){h=c().pivotIdentifier;var k=d==null?void 0:d();h=h===(k||QQ)}return h&&(_.OB()||!_.yi(_.sB().href,"bp"))}var c=a.data;var d=a.selectedTabIdentifier;var e=a.isFallback;a=_.P(function(){if(b())_.NB()&&_.M("mweb_shorts_nav_bar")||("scrollBehavior"in document.documentElement.style?window.scrollTo({top:0,left:0,behavior:"smooth"}):window.scrollTo(0,0));else if(_.M("mweb_search_in_bottom_bar")&&c().pivotIdentifier==="search")_.fO("in"),
_.gJ();else{var h,k={itct:(h=c().navigationEndpoint)==null?void 0:h.clickTrackingParams};h=6827;if(_.M("mweb_logo_use_home_page_ve")){var l,m;h=((m=_.N((l=c().navigationEndpoint)==null?void 0:l.commandMetadata,_.ew))==null?void 0:m.rootVe)||6827}QQ=c().pivotIdentifier;c().navigationEndpoint&&_.N(c().navigationEndpoint,_.eD)?_.vC(c().navigationEndpoint,c(),!0):(l=_.sC(c().navigationEndpoint))&&_.BL({href:l,params:k,rb:h,pushState:!0,endpoint:c().navigationEndpoint})}});var f=_.BD("pivot-bar-item-title",
function(){return c().targetId});return _.H("ytm-pivot-bar-item-renderer",null,_.H("div",{class:_.BD("pivot-bar-item-tab",function(){return c().targetId},{"pivot-bar-fallback-item":e}),role:"tab","aria-selected":function(){var h;(h=b())||(h=e(),h=c().pivotIdentifier==="FEwhat_to_watch"&&FB()==="explore"&&!h);return h},"on:click":a},_.H(k_a,{data:c,isSelected:b}),_.H("div",{class:f,"aria-hidden":function(){return c().avatar&&_.M("mweb_enable_youtab")?!0:!1}},_.H(_.tU,{data:function(){return c().title}}))))}),
k_a=_.T(function(a){function b(){return _.lC(function(){return d().icon.iconType})}function c(){return e()?[4]:[]}var d=a.data;var e=a.isSelected;return _.H(_.O,{C:function(){return d().avatar&&_.M("mweb_enable_youtab")},ia:function(){return _.H(_.Vo,null,function(){return _.H("span",null,_.gC(b(),{"icon-state-outline$":""}),_.gC(b()+"_FILLED",{"icon-state-filled$":""}))})}},function(){return _.H(_.NF,{data:function(){return d().avatar},mapping:{avatarViewModel:_.KT},Y:{avatarViewModel:{nb:c}}})})});
window.addEventListener("state-navigateend",function(){_.NB()&&_.M("mweb_shorts_nav_bar")||(QQ="")});_.jX=_.R("surveyTriggerRenderer","j0WwDf");_.ZB(_.jX);_.kX=_.R("unlimitedUserNotificationRenderer","sP5SFe");_.ZB(_.kX);_.lX=_.R("engagementPanelSectionListRenderer","cNxj4d");_.ZB(_.lX);var fOa=_.V({engagementPanelSectionListRenderer:_.sD(_.$B(_.lX,{Dl:function(){(0,_.S)({className:"engagement-panel-section-list-background draggable"},function(){(0,_.S)({className:"engagement-panel-container"},function(){(0,_.S)({className:"engagement-panel-section-list-header-wrapper"},function(){(0,_.S)({className:"engagement-panel-drag-line"},function(){});(0,_.S)({className:"engagement-panel-section-list-header"},function(){(0,_.IO)({className:"engagement-panel-section-list-header-title-ghost-card"},
function(){_.En("\u00a0")})})});(0,_.S)({className:"engagement-panel-content-wrapper"},function(){(0,_.S)({className:"spinner"})})})})}}))});_.v($Q,_.UE);$Q.prototype.Fd=function(){window.addEventListener("engagement-panel-push",this.B);window.addEventListener("engagement-panel-update",this.Ts);window.addEventListener("engagement-panel-pop",this.A);window.addEventListener("state-navigatestart",this.o)};
$Q.prototype.Uc=function(){window.removeEventListener("engagement-panel-push",this.B);window.removeEventListener("engagement-panel-update",this.Ts);window.removeEventListener("engagement-panel-pop",this.A);window.removeEventListener("state-navigatestart",this.o)};
$Q.prototype.mi=function(a,b,c){for(var d=[],e=!1,f=_.u(this.state.Xb),h=f.next();!h.done;h=f.next())if(h=h.value,YQ(h)===a){if(c&&(b=h,e=a,b.engagementPanelSectionListRenderer)){h=c.content;var k=c.CI,l=c.targetId;h&&(b.engagementPanelSectionListRenderer.content=h);k&&_.CK.dispatch(_.pA({type:"SET_SECONDARY_HEADER",payload:{panelId:e,secondaryHeader:k}}));l&&(b.engagementPanelSectionListRenderer.targetId=l)}d.push(b);e=!0}else d.push(h);e&&this.M({Xb:d})};
$Q.prototype.render=function(){for(var a=_.u(this.state.Xb),b=a.next();!b.done;b=a.next())(b=b.value)&&_.U(gOa)({data:b});(a=this.state.Xb[this.state.Xb.length-1])&&_.CK.dispatch(GCa(YQ(a)))};$Q.tagName="panel-container";var mX={alertRenderer:LF(_.bX,{gh:{ih:!0}}),alertWithActionsRenderer:LF(_.cX,{gh:{ih:!0}}),consentBumpV2Renderer:_.QZa,mealbarPromoRenderer:LF(_.gX,{gh:{ih:!0,options:{callbacks:{onConfirmCallback:!0}}}}),surveyTriggerRenderer:LF(_.jX,{gh:{ih:!0}}),unlimitedUserNotificationRenderer:LF(_.kX,{gh:{ih:!0}}),upsellDialogRenderer:LF(_.CU),bottomSheetOverlayRenderer:LF(_.dX,{gh:{ih:!0}}),commandWrapperPromoRenderer:LF(_.eX,{gh:{ih:!0}})},HQa=_.T(function(a){function b(){return dOa(c())}function c(){return d().response}
var d=a.data;a=$N();var e=a.Rd,f=a.VF,h=a.kG,k=a.Qx,l=a.Ga;a=_.u(_.$o(_.M("mweb_enable_more_drawer"))).next().value;return _.H(_.F,null,_.H(_.O,{C:function(){return!f()}},function(){return _.H(_.Vo,null,function(){return _.H(_.Oo,null,function(){var m,n=xVa();var p={};if(n==null?0:n.items){n=_.u(n.items);for(var q=n.next();!q.done;q=n.next())q=q.value,q.mobileTopbarRenderer&&(p=q.mobileTopbarRenderer)}var r,t;if(c()&&((t=_.N((r=c())==null?void 0:r.topbar,eR))==null?0:t.searchCommand)){var w,y;p.searchCommand=
(y=_.N((w=c())==null?void 0:w.topbar,eR))==null?void 0:y.searchCommand;var B,A;p.topbarLogo=(A=_.N((B=c())==null?void 0:B.topbar,eR))==null?void 0:A.topbarLogo;var E,I;p.voiceSearchButton=(I=_.N((E=c())==null?void 0:E.topbar,eR))==null?void 0:I.voiceSearchButton;if(_.M("mweb_enable_youtab")){var G,X;p.buttons=(X=_.N((G=c())==null?void 0:G.topbar,eR))==null?void 0:X.buttons}}else p.searchCommand=void 0;r=(m=d().page)!=null?m:"unknown";m=LDa(_.CB(_.sC(d().endpoint)||void 0),c());t=b();var ca;w=(ca=
c())==null?void 0:ca.toolbarMenu;aOa(p,{page:r,sf:m,di:t,toolbarMenu:w,pageHeaderEntityKey:NDa(c())})})})}),_.H(_.O,{C:function(){return!e()&&!h()&&!k()&&!f()&&!l()&&!0}},function(){return _.H(_.WQ,{data:function(){a:{var m=xVa();if(m==null?0:m.items){m=_.u(m.items);for(var n=m.next();!n.done;n=m.next())if(n=n.value,n.pivotBarRenderer){m=n.pivotBarRenderer;break a}}m={}}return m},selectedTabIdentifier:b})}),_.H(_.NF,{data:function(){var m;return((m=c())==null?void 0:m.alerts)||[]},mapping:mX}),_.H(_.O,
{C:function(){return!!d().page&&!!c()}},function(){return _.H(OZa,{yo:d})}),_.H(_.O,{C:function(){var m;return(m=c())==null?void 0:m.survey}},function(m){return _.H(_.NF,{data:m,mapping:mX})}),_.H(_.O,{C:function(){return hOa(d())}},function(m){return _.H(_.NF,{data:m,mapping:mX})}),_.H(_.Oo,null,function(){_.WE($Q,{px:{key:"panel-container-component"}})}),_.H(_.Oo,null,function(){XK(!1)}),_.H(_.O,{C:a},function(){return _.H(pOa,null)}))});var iOa=_.V(LZa),jOa=_.V(JZa);var lOa=_.oG(NZa);_.nX=_.R("consentBumpV2Renderer","R3u7e");_.ZB(_.nX);var tOa=_.W.Mu,sOa,l_a={alertRenderer:cR(_.bX),alertWithActionsRenderer:cR(_.cX),consentBumpV2Renderer:cR(_.nX),mealbarPromoRenderer:cR(_.gX),surveyTriggerRenderer:cR(_.jX),unlimitedUserNotificationRenderer:cR(_.kX),upsellDialogRenderer:cR(_.CU),bottomSheetOverlayRenderer:cR(_.dX),commandWrapperPromoRenderer:cR(_.eX)},dR=_.oG(Object.assign({},l_a,NZa,bZa));var BOa="MWEB_NAV_TYPE_COLD";window.addEventListener("state-navigatestart",function(){BOa="MWEB_NAV_TYPE_WARM"});var zOa=["library","playlist","history","trending"];var gR=!1;var FOa;var hR=void 0;var OOa=_.W.aC;var QOa=["redirect_state","service","channel_switcher"];var kR;_.v(lR,Error);mR.prototype.listen=function(a,b){this.listeners.push(a);this.j.push(b);this.data.forEach(function(c){c instanceof Error||c instanceof lR?b(c):a(c)})};var tR=null;var wR=!1,LPa=0,GPa=zSa&&Ui;var xR=void 0;var yR=void 0,zR=null,WPa=!1,AR=null,BR;var CR;var ER=!1,DR,jQa,kQa;var rQa=["trending","channel","news","experiments"];var BQa=["logout"];_.M("mweb_c3_carveout_disable_signin_as_external_link")||BQa.push("signin");var GQa=!0,m_a=_.u(_.$o({})),IQa=m_a.next().value,FQa=m_a.next().value;var KR,NQa=!1;var UQa=_.W.Mu;var n_a={Of:[{Jb:/Failed to read the 'buffered' property from 'SourceBuffer'/,weight:1E3},{Jb:/.*images.uc.cn.*/,weight:1E3},{Jb:/.*API fetch failed.*/,weight:1E3},{Jb:/Failed openWebChannelResolver_.*/,weight:0},{Jb:/Unknown label logged with GEL CSI/,weight:100},{Jb:/window.vbrowser.setResultDate/,weight:500},{Jb:/vid_mate_check is not defined/i,weight:0},{Jb:/ResizeObserver loop limit exceeded/i,weight:500},{Jb:/NOT_SUPPORTED_ERR: DOM Exception 9/i,weight:500},{Jb:/Uint8Array is not defined/i,
weight:500},{Jb:/Tried to retrieve object during dispose/,weight:0},{Jb:/A network error occurred./,weight:1E3},{Jb:/Stop called/,weight:0},{Jb:/JSBridge is not defined/,weight:0},{Jb:/webkit is not defined/,weight:0},{Jb:/Unknown action type:feedbackEndpoint/,weight:100},{Jb:/.*Consecutive load failures.*/,weight:100},{Jb:/.*Cannot call 'getStoryboardFrame'.*/,weight:1E3},{Jb:/.*Failed to execute 'createContextualFragment' on 'Range'*/,weight:100},{Jb:/.*The implementation did not support the requested type of object or operation.*/,
weight:100}],tf:[{callback:function(a){return a.stack.includes("user-script:")||a.stack.includes("eval code (eval (code:1:1)")||a.stack.includes("Object.my_load [as load] ")},weight:0},{callback:function(a){if(!a.stack)return!1;var b=a.stack.trim().split("\n");b.length&&b[0].endsWith("Error: "+a.message)&&b.shift();b.length&&b[b.length-1].includes("at window.onerror (")&&b.pop();if(!b.length)return!0;if(a.message==="Script error.")return b[0].includes("www.youtube.com")||b.length>=2&&b[0].startsWith("at new")&&
b[1].startsWith("at window.onerror");if(a.message==="Unexpected token")return!0;a=_.u(b);for(b=a.next();!b.done;b=a.next())if(b=b.value,!(b.includes("<anonymous>")||b.startsWith("load@")||b.startsWith("global code@")||b.startsWith("@https://")))return!1;return!0},weight:500},{callback:yOa,weight:500},{callback:function(a){var b;return((b=a.stack)==null?void 0:b.includes("history.onpushstate"))&&(a.message.includes("Failed to update history state")||a.message.includes("Cannot read property 'state' of undefined")||
a.message.includes("Cannot read properties of undefined (reading 'state')"))},weight:500}]};VQa.prototype.Rd=function(a){a!=null||(a=this.pageType);return a==="watch"};_.WQa=_.R("InnerTubeTransport","Rv3e3d");_.YQa=_.R("PageRequest","Rv3e3d");_.$Qa=new function(){this.j=new WeakMap};var o_a={cI:dRa,bQ:cRa},p_a={placeholder:bRa,dD:gRa,tw:!0,iz:{bI:eRa,rF:_.M("mweb_enable_replaceable_idom_stamper")?o_a:void 0}};var PR={rootMargin:"-48px 0px -49px",threshold:.8};_.M("mweb_enable_set_io_root_to_null_safari")?PR.root=null:_.M("mweb_enable_set_io_root_to_body_safari")&&(PR.root=document.body);var uQ=!1,NR=new Set,QR=new Map,OR;kRa.prototype.registerElement=function(a){this.Qp&&(QR.set(a.Ge,a),this.Pc.observe(a.Ge))};var q_a="IntersectionObserver"in window?new kRa:void 0;var oRa,qRa;oRa=_.Kb()&&_.SK;qRa=pRa();_.r_a=pRa();_.v(RR,qRa);RR.prototype.ln=function(){return this.getState()};rRa.prototype.handleResponse=function(a,b){var c,d,e,f;((c=b.Sa)==null?0:(d=c.context)==null?0:(e=d.request)==null?0:e.isPrefetch)&&((f=a.playabilityStatus)==null?void 0:f.status)==="OK"&&_.sE().then(function(h){h==null||h.preloadVideoByPlayerVars({raw_player_response:a})})};_.s_a=new _.jp("PLAYER_PRELOAD_RESPONSE_PROCESSOR_TOKEN");_.v(_.SR,BG);
_.SR.prototype.resolveCommand=function(a){var b=this,c,d,e,f,h,k,l,m,n,p,q,r;return _.z(function(t){switch(t.j){case 1:return c=_.iq().get("hl"),d="",_.xa(t,2),_.x(t,cya(c),4);case 4:d=t.o;_.ya(t,3);break;case 2:return _.Ba(t),_.av(Error("Xd"),"ERROR"),t.return();case 3:e=_.N(a,zUa);if(!e)return t.return();(k=(f=e.commerceActionConfig)==null?void 0:(h=f.commandLifeCycleConfig)==null?void 0:h.onStartCommand)&&b.j.resolveCommand(k);_.xa(t,5);return _.x(t,b.af.yd(a,{client_data:{paymentsClientToken:{token:d}}}),7);
case 7:_.ya(t,6);break;case 5:return _.Ba(t),(n=(l=e.commerceActionConfig)==null?void 0:(m=l.commandLifeCycleConfig)==null?void 0:m.onFailureCommand)&&b.j.resolveCommand(n),t.return();case 6:(r=(p=e.commerceActionConfig)==null?void 0:(q=p.commandLifeCycleConfig)==null?void 0:q.onSuccessCommand)&&b.j.resolveCommand(r),_.wa(t)}})};_.SR[_.op]=[_.IC,_.iT];var t_a={autonav_off_toggle_spanner:[{style:"youtube_fill",version:1,size:36}],autonav_on_toggle_spanner:[{style:"youtube_fill",version:1,size:36}],autonav_play_circle:[{style:"youtube_fill",version:1,size:20}],creator_studio_red_logo:[{style:"youtube_fill",version:1,size:24}],creator_studio_red_logo_updated:[{style:"youtube_fill",version:1,size:24}],fullscreen:[{style:"youtube_outline",version:1,size:24}],fullscreen_exit:[{style:"youtube_outline",version:1,size:24}],fullscreen_fp:[{style:"youtube_outline",
version:2,size:24}],google:[{style:"youtube_fill",version:1,size:24}],google_logo:[{style:"youtube_fill",version:2,size:24}],incognito_circle:[{style:"youtube_fill",version:1,size:24}],kids_red_logo:[{style:"youtube_fill",version:1,size:24}],kids_red_logo_updated:[{style:"youtube_fill",version:1,size:24}],logo:[{style:"youtube_fill",version:2,size:67}],logo_with_text:[{style:"youtube_fill",version:2,size:24}],music_red_logo:[{style:"youtube_fill",version:1,size:24}],music_red_logo_updated:[{style:"youtube_fill",
version:1,size:24}],pause_circle:[{style:"youtube_fill",version:1,size:24}],pause_outlined:[{style:"youtube_fill",version:1,size:24}],pivot_library:[{style:"youtube_fill",version:1,size:24}],play_circle_shorts:[{style:"youtube_fill",version:2,size:24}],player_autoplay_next:[{style:"youtube_fill",version:2,size:24}],premium:[{style:"youtube_fill",version:2,size:24}],premium_standalone:[{style:"youtube_fill",version:1,size:24}],premium_standalone_cairo:[{style:"youtube_fill",version:1,size:24}],ringo2:[{style:"youtube_fill",
version:3,size:20}],ringo2_premium:[{style:"youtube_fill",version:3,size:20}],ringo_logo:[{style:"youtube_fill",version:2,size:24}],screen_light:[{style:"youtube_outline",version:1,size:24}],shorts_comment:[{style:"youtube_fill",version:1,size:32}],shorts_share:[{style:"youtube_fill",version:1,size:32}],shorts_thumbs_down:[{style:"youtube_fill",version:1,size:32}],shorts_thumbs_up:[{style:"youtube_fill",version:1,size:32}],subdirectory_arrow_right:[{style:"youtube_outline",version:1,size:24}],unplugged_red_logo:[{style:"youtube_fill",
version:1,size:24}],unplugged_red_logo_updated:[{style:"youtube_fill",version:1,size:24}],video_youtube:[{style:"youtube_fill",version:1,size:24}],watermark:[{style:"youtube_fill",version:2,size:110}],waveform:[{style:"youtube_fill",version:1,size:24}],youtube:[{style:"youtube_fill",version:2,size:24}],youtube_premium_logo_short:[{style:"youtube_fill",version:1,size:24}],youtube_shorts_brand_24:[{style:"youtube_fill",version:1,size:24}],youtube_shorts_brand_24_updated:[{style:"youtube_fill",version:1,
size:24}],youtube_shorts_fill_no_triangle_red_16:[{style:"youtube_fill",version:1,size:16}]};_.v(TR,xI);
TR.prototype.Wf=function(a,b){var c=Object.assign({},a);a.iconName==="play_circle_filled"&&(c.iconName="autonav_play_circle");a.iconName==="play_arrow"&&(c.iconStyle="youtube_fill");_.M("enable_cairo_refresh_ringo2_web")&&a.iconName==="logo_with_text"&&(c.iconName="ringo2");_.M("enable_cairo_refresh_ringo2_web")&&a.iconName==="youtube_premium_logo_short"&&(c.iconName="ringo2_premium");_.M("enable_cairo_refresh_ringo2_web")&&a.iconName==="creator_studio_red_logo"&&(c.iconName="creator_studio_red_logo_updated");_.M("enable_cairo_refresh_ringo2_web")&&
a.iconName==="unplugged_red_logo"&&(c.iconName="unplugged_red_logo_updated");_.M("enable_cairo_refresh_ringo2_web")&&a.iconName==="kids_red_logo"&&(c.iconName="kids_red_logo_updated");_.M("enable_cairo_refresh_ringo2_web")&&a.iconName==="music_red_logo"&&(c.iconName="music_red_logo_updated");_.M("enable_cairo_refresh_ringo2_web")&&a.iconName==="youtube_shorts_brand_24"&&(c.iconName="youtube_shorts_brand_24_updated");_.M("enable_modern_ia_client_icons")&&(a.iconName==="search"&&(c.iconName="search_cairo"),
a.iconName==="tab_home"&&(c.iconName="home_cairo"),a.iconName==="tab_shorts"&&(c.iconName="youtube_shorts_cairo"),a.iconName==="account_circle"&&(c.iconName="person_circle_cairo"));_.M("enable_cairo_refresh_signature_moments_web")&&a.iconName==="premium_standalone"&&(c.iconName="premium_standalone_cairo");a:{if(!_.M("mweb_icons_custom_map_killswitch")&&(a=xI.prototype.o.call(this,c.iconName))){a=Object.assign({},c,{iconName:a});break a}a=c}var d;return(a=dBa(t_a,a,((d=this.A)==null?void 0:d.getUrl)||
this.getUrl,b))?a:xI.prototype.Wf.call(this,c,b)};TR.prototype.getUrl=function(a,b){return"https://www.gstatic.com/youtube/img/icons/mweb/"+b.style+"/"+a+"/v"+b.version+"/"+b.size+"px.svg"};TR[_.op]=[_.mp(BWa)];_.v(UR,kH);UR.prototype.mi=function(a,b,c,d){var e=this;return _.z(function(f){if(!a)return f.return();b&&e.Xs.set(a,b);_.hB("engagement-panel-update",{identifier:a,Ws:b,WH:d});_.wa(f)})};UR.prototype.isVisible=function(a){return Promise.resolve(a===_.VN(_.CK.getState()))};_.v(WR,TI);WR.prototype.observe=function(a,b,c){c.je||c.state!=="visible"||(c.je=!0);var d={element:a,option:c};if(!c.je||c.state!=="visible")return d;if(typeof b!=="function")return _.Fp(Error("Yd`"+typeof b)),d;a.__visibilityCallback=b;this.ub.observe(a);return d};WR.prototype.logVisibility=function(a){a.__visibilityCallback&&typeof a.__visibilityCallback==="function"&&a.__visibilityCallback(a,"visible")};WR.prototype.Tl=function(a){delete a.element.__visibilityCallback;this.ub.unobserve(a.element)};
WR.prototype.dispose=function(){this.ub.disconnect()};var oX="IntersectionObserver"in window?new UI:new WR;window.addEventListener("state-navigateend",function(){oX.KA()});window.addEventListener("state-responsestart",function(){oX.dispose()});var u_a={},ORa=(u_a.initialized={priority:10,callback:function(a){a.fa.da({aa:YVa,Xa:NOa});a.fa.da({aa:ZVa,Xa:n_a});var b={};a.fa.da((b.aa=$Va,b.eg=function(c,d){return function(){nya(c,d)}},b[_.op]=[YVa,ZVa],b));_.M("mweb_enable_innertube_tokens_killswitch")||a.fa.da({aa:_.dD,Xa:_.yq()});a.fa.da({aa:_.gQ,Xa:XQa});a.fa.da({aa:sR,Xa:ZQa});a.fa.da({aa:$C,wa:RR});a.fa.da({aa:AT,wa:sRa});"IntersectionObserver"in window&&(a.fa.da({aa:_.RN,Xa:q_a}),a.fa.da({aa:tG,Xa:q_a}));a.fa.da({aa:YC,Xa:nRa});a.fa.da({aa:_.OG,
wa:_.OG});a.fa.da({aa:HT,Xa:_.L("INNERTUBE_CONTEXT_CLIENT_NAME","MWEB")});a.fa.da({aa:IT,Xa:5184E6});b={};a.fa.da((b.aa=_.yG,b.wa=eH,b[_.op]=[HT,IT],b));a.fa.da({aa:BT,wa:lH});a.fa.da({aa:QF,eg:_.dw});b={};a.fa.da((b.aa=_.FG,b.wa=_.FG,b[_.op]=[AT,BT],b));a.fa.da({aa:_.aR,wa:UR});a.fa.da({aa:_.IH,wa:KH});a.fa.da({aa:JT,Xa:LF(_.VT,{gh:{ih:!0}})});b={};a.fa.da((b.aa=FT,b.wa=iH,b[_.op]=[_.kJ,JT],b));b={};a.fa.da((b.aa=ET,b.wa=jH,b[_.op]=[FT],b));b={};a.fa.da((b.aa=_.CG,b.wa=_.CG,b[_.op]=[AT],b));b={};
a.fa.da((b.aa=_.NG,b.wa=_.NG,b[_.op]=[_.IH,BT],b));b={};a.fa.da((b.aa=_.LG,b.wa=_.LG,b[_.op]=[_.IH],b));b={};a.fa.da((b.aa=_.MG,b.wa=_.MG,b[_.op]=[ET,BT],b));b={};a.fa.da((b.aa=_.KG,b.wa=_.KG,b[_.op]=[ET],b));a.fa.da({aa:_.GG,eg:function(){return new _.GG(_.CK)}});a.fa.da({aa:_.PG,wa:_.PG});a.fa.da({aa:_.SR,wa:_.SR});a.fa.da({aa:_.IG,wa:_.IG});a.fa.da({aa:_.HG,wa:_.HG});_.M("mweb_enable_shorts_video_preload")&&a.fa.da({aa:_.s_a,wa:rRa});a.fa.da({aa:_.xw,Xa:oX});a.fa.da({aa:_.vT,eg:DK});a.fa.da({aa:YR,
eg:DK});a.fa.da({aa:mWa,eg:DK});a.fa.da({aa:_.ST,wa:TH});_.M("web_shorts_scrubber_bar")&&(a.fa.da({aa:qE,Xa:Dva}),a.fa.da({aa:RUa,Xa:QUa.promise}));a.fa.da({aa:sA,eg:_.sE});a.fa.da({aa:AWa,wa:TR});a.fa.da({aa:bI,wa:rI});a.fa.da({aa:_.fC,Xa:_.bK});a.fa.da({aa:eC,Xa:_.ZJ});a.fa.da({aa:_.pT,Xa:yDa});a.fa.da({aa:_.LC,Xa:_.yO});a.fa.da({aa:Qwa,Xa:p_a});a.fa.da({aa:_.bH,wa:_.bH});a.fa.da({aa:_.$G,wa:_.$G});a.fa.da({aa:_.cH,wa:_.cH});a.fa.da({aa:_.YG,wa:_.YG});b={};a.fa.da((b.aa=tRa,b.wa=_.gH,b[_.op]=[_.yG],
b));a.fa.da({aa:tQ,wa:VQa});_.M("enable_rta_nsm")&&a.fa.da({aa:_.Os,wa:_.Os});_.M("enable_rta_manager")&&(b=_.M("enable_rta_nsm")?a.fa.resolve(_.Os):void 0,_.fB.j=new _.fB(new psa,!1,b),msa());_.M("start_client_gcf_mweb")&&a.fa.da({aa:qr,Xa:Lja()});a.fa.da({aa:_.oT,Xa:_.L("HTML_DIR")==="rtl"?"rtl":"ltr"});a.fa.da({aa:EBa,Xa:{qE:!1}});a.fa.da({aa:_.kJ,wa:iHa});a.fa.da({aa:_.sT,wa:LD});a.fa.da({aa:_.SF,wa:vza});a.fa.da({aa:_.XG,wa:_.XG});a.fa.da({aa:kVa,Xa:_.cB});a.fa.da({aa:UN,wa:UN});a.fa.da({aa:_.DT,
wa:Zxa});b={};a.fa.da((b.aa=_.JG,b.wa=_.JG,b[_.op]=[_.DT],b));b={};a.fa.da((b.aa=Uwa,b.eg=function(c){return c.j.bind(c)},b[_.op]=[UN],b));_.M("enable_payments_purchase_manager")&&a.fa.da({aa:lVa,wa:rsa});_.M("web_enable_one_lockup_inline_playback")&&a.fa.da({aa:_.SVa,Xa:Fxa})}},u_a);var v_a={},TRa=(v_a.rendering={priority:10,callback:vRa},v_a),w_a={},SRa=(w_a.rendering={callback:vRa},w_a);var xRa=_.oG({notificationActionRenderer:_.$B(_.LU)});_.zRa=new pC;var bS,aS,QI,RI;var HRa=Promise.resolve();_.bSa=_.R("late","ERsVff");(function(a){var b=new jx;_.Gm(b);b.qt(function(){var c=!0;c=c===void 0?!1:c;var d=d===void 0?!1:d;var e=e===void 0?{}:e;var f=e.cssRowKey||"",h=e.Re||"";!f&&window&&window._F_cssRowKey&&(f=window._F_cssRowKey,!h&&window._F_combinedSignature&&(h=window._F_combinedSignature));if(f&&typeof window._F_installCss!=="function")throw Error("sc");var k=e.ZQ||_.Uw;var l="";var m=_.Sa._F_jsUrl;if(typeof document!=="undefined"&&document&&document.getElementById){var n=document.getElementById("base-js");if(n){var p=
n.tagName.toUpperCase();if(p=="SCRIPT"||p=="LINK")l=n.src?n.src:n.getAttribute("href")}}if(m&&l){if(m!=l)throw Error("mc`"+m+"`"+l);l=m}else l=m||l;if(!aga(l))throw Error("nc");c=new k(_.yh(l),f,h,c,d);e.hK&&(c.Xl=e.hK);e.DD&&(c.tk=e.DD);e.Ul&&(c.Ul=e.Ul);e.fetchPriority&&(c.fetchPriority=e.fetchPriority);e=_.Hm();e.G=c;e.Tz(!0);a()});b.Ou("error",function(c,d,e){_.Dp(Error("$d`"+d+"`"+e))})})(function(){ABa();cSa();$Ra()});
_._ModuleManager_initialize=function(a,b){if(!_.Em){if(!_.Fm)return;_.Gm((0,_.Fm)())}_.Em.Hl(a,b)};
_._ModuleManager_initialize('c3_base/iuT5Oc/OmCylb/Fwe6kf/QfUZTd/Id7ape/xT5PUd/jlfTrb/iRSxWe/kp6zT/sy6/sy5:a/F34d4d:b/sy7/sPxILc:d/sy8/hVZZLc:f/sy9/sya:h/syb/oXipJ:i,j/syc/syd:l/sye/JoarQb:m,n/syf/syg/V9wNIf:p,q/syh/syi/QcBBx:s,t/syj/syk/azadW:v,w/syl/sym/dEEUQc:y,z/syn/syo:11/syp/rJvTs:12,13/syq/syr/vUM5Lb:15,16/sys/syt/XJ2Thc:18,19/syu/me4tZc:1b/syv/syw:1d/syx/GyB2le:1e,1f/syy/syz/TR7O4:1h,1i/sy10/sy11/qT6YN:1k,1l/sy12/sy13:1n/sy14/ngLsrb:1o,1p/sy15/sy16:1r/sy17/kFo7Zb:1s,1t/sy18/sy19/MKhwCb:1v,1w/sy1a/sy1b/FAddac:1y,1z/sy1c/ZA3Zfc:21/sy1d/sy1e/vngzjc:23,24/sy1f/sy1g/MPC0Bf:26,27/sy1h/sy1i:29/sy1j/SxXL0b:2a,2b/sy1k/sy1l/pG2jxc:2d,2e/sy1m/sy1n/EYcMqf:2g,2h/sy1o/sy1p/As1mMb:2j,2k/sy1q/sy1r:2m/sy1s/j08SLe:2n,2o/sy1t/sy1u:2q/sy1v/uOkubf:2r,2s/sy1w/sy1x:2u/sy1y/uoeoxb:2v,2w/sy1z/sy20:2y/sy21/yeMlib:2z,30/sy22/sy23/JZ0pnf:32,33/sy24/sy25:35/sy26/P74p5e:36,37/sy27/sy28/k8kl4b:39,3a/sy29/sy2a/C385Te:3c,3d/sy2b/sy2c/WKaXIb:3f,3g/sy2d/sy2e:3i/sy2f/hr2Wzf:3j,3k/sy2g/sy2h/kWkUBc:3m,3n/sy2i/gdrMSc:3p/sy2j/VfUtzb:3r/sy2k/sy2l:3t/sy2m/M4tRFb:3u,3v/sy2n/sy2o:3x/sy2p/rzkuGe:3y,3z/sy2q/sy2r:41/sy2s/XczfOe:42,43/sy2t/F2jVnf:45/sy2u/ca1uIe:47/sy2v/sy2w/E5BKKc:49,4a/sy2x/sy2y:4c/sy2z/JxVpe:4d,4e/sy30/sy31:4g/sy32/rHsoHd:4h,4i/sy33/sy34:4k/sy35/GxcCIe:4l,4m/sy36/sy37:4o/sy38/xAaQD:4p,4q/sy3e/sy3g/sy39:4s,4t/sy3b/sy3h/sy3a:4u,4v,4w/sy3c/sy3d/sy3i:4t,4y,4z/sy3f:a,4x,50/Za0Xqd:51/sy3j:a,4x/sy3k/a731S:35,53,54/sy3l/sy3n/sy3m:56,57/sy3o:56/rnoPmf:l,58,59/sy3p/sy3q:5b/fkmyPd:5c/YL8Zve:5b/sy3r/sy3s:5f/xuNg9e:5g/sy3t/sy3u:4t/sy3v/Rv3e3d:i,m,p,s,v,y,12,15,18,1e,1h,1k,1o,1s,1v,1y,23,26,2a,2d,2g,2j,2n,2r,2v,2z,32,36,39,3c,3f,3j,3m,3p,3u,3y,42,45,49,4d,4h,4l,4p,5i,5j,5k/sy3x/sy3y/sy3w:5m,5n/sy3z/sy40/sy41/sy42/sy43/sy44/sy45/sy46/sy47/sy48/sy49/sy4a/sy4b/sy4c/sy4d/sy4e/sy4f/sy4g/sy4h/sy4i/sy4j/sy4k/sy4l/sy4m/sy4n/sy4o/sy4p/sy4q/sy4r/sy4s/sy4t/sy4u/sy4v/sy4w/sy4x/sy4y/sy4z/sy50/sy51/sy52/sy53/sy54/sy55/sy56/sy57/sy58/sy59/sy5a/sy5b/sy5c/sy5d/sy5e/sy5f/sy5g/sy5h/sy5i/sy5j/sy5k/sy5l/sy5m/sy5n/sy5o/sy5p/sy5q/sy5r/sy5s/sy5t/sy5u/sy5v/sy5w/sy5x/sy5y/sy5z/sy60/sy61/sy62/sy63/sy64/sy65/sy66/sy67/sy68/sy69/sy6a/sy6b/sy6c/sy6d/sy6e/sy6f/sy6g/sy6h/sy6i/sy6j/sy6k/sy6l/sy6m/sy6n/sy6o/sy6p/sy6q/sy6r/sy6s/sy6t/sy6u/sy6v/sy6w/sy6x/sy6y/sy6z/sy70/sy71/sy72/sy73/sy74/sy75/sy76/sy77/sy78/sy79/sy7a/sy7b/ERsVff:29,5i,5o,5p,5q,5r,5s,5t,5u,5v,5w,5x,5y,5z,60,61,62,63,64,65,66,67,68,69,6a,6b,6c,6d,6e,6f,6g,6h,6i,6j,6k,6l,6m,6n,6o,6p,6q,6r,6s,6t,6u,6v,6w,6x,6y,6z,70,71,72,73,74,75,76,77,78,79,7a,7b,7c,7d,7e,7f,7g,7h,7i,7j,7k,7l,7m,7n,7o,7p,7q,7r,7s,7t,7u,7v,7w,7x,7y,7z,80,81,82,83,84,85,86,87,88,89,8a,8b,8c,8d,8e,8f,8g,8h,8i,8j,8k,8l,8m,8n,8o,8p,8q,8r,8s,8t,8u,8v,8w,8x,8y,8z,90,91/sy7c/sy7m/sy7d:94/sy7e/sy7z/sy7f:97/sy87/sy7i:96,99/sy7g:9a/sy7q:a,4w,50,93,94/sy7r:9c/sy84/sy7o:93/sy7u/sy7t:9g/sy89/sy7k/sy88/sy7s:9k/sy8a/sy8b/sy7x/sy7w:9o/sy7l/sy85:9q/sy86:9r/sy7h:f,51,53,58,59,95,9b,9d,9e,9f,9h,9i,9j,9l,9m,9n,9p,9s/sy8c/sy7p/sy8d/sy8e/sy8f/sy7n/sy8h:56/sy8i:56,94/sy8k/sy8j:56,a2/sy8g:2u,51,58,59,9z,a0,a1,a3/sy8l/sy8m/sy7j:d,9i,9s,9u,9v,9w,9x,9y,a4,a5,a6/sy7v/sy7y/sy80/sy81/sy82/sy83/sy8o/sy8n:a7,ae/aDST8c:98,9t,a8,a9,aa,ab,ac,ad,af/tSmD1b:1n/HVzIQc:a7/sy8p/sy8q/sy8r:4v/QSDTCc:aj,ak,al/sy8s/sy8t/sy8u/sy8v/sy8w/sy8x/sy90/sy8z:at/sy8y:au/sy91/BVqNwc:a,4u,a8,an,ao,ap,aq,ar,as,av,aw/sy95/sy92:ay/sy93/sy94:az/sy97:ay/sy98:b2/sy96:b3/sy99/sy9a/sy9b/sy9c:b3/hhhf3b:98,af,b0,b1,b4,b5,b6,b7,b8/sy9d:at/sy9e/sy9f/sy9g/sy9h/sy9i:56/sy9k/sy9j:bg/sy9l:9a/sy9m:bi/sy9n:at/sy9o/sy9p/sy9q/sy9r/ieWmpc:5g,9u,9w,aq,as,av,aw,ba,bb,bc,bd,be,bf,bh,bj,bk,bl,bm,bn,bo/ZCr5B/isp5vc:56,9r/OgMq0d:bf/sy9s/BifmPe:bt/sy9t/GUxODf:bl,bv/q9TwV:bl/sy9v/sy9u:by/VRVREc:bz/sy9w:56,ar/sy9x:5f/sy9y/M3HCOb:9h,c1,c2,c3/sy9z/sya1/sya0:c6/sya2:at/doJq3d:c5,c7,c8/vk5oOd/RQmkw/TuRwq:bd/QGBk9c:9l/qHZM4/sya3/sya5:by/sya4:cf,cg/REMkDf:ch/JRdLTc:97,bt/r0PsQc:aa/aprLTe/KkMrB/xuFNZc/Zl1ase:bi/YehyC:ba/sya6:at/IWlkFd:cq/sIqszf/sya7:9s/kp7Wbd:9u,9v,ct/PuSvwb:ct/sya8/lvWwcd:9v,cw/wVnPCf/VcTbQb/n4PgOb:59/LbRpec:a0/g2ZVqd:c8/syaa/sya9:56,d3/QlP0Ib:d4/mItLFd/dgCOeb/JT7bJ:58/nmIVPc:56,9g/WinNlb:a1/sm2UTc:a3/r9Wevc:59/syab/R3u7e:dd/oKKiDe:9s/W4YdM:9m/dkvREb:9n/syac/iJxTsd:41,di/qP1Hme/de8ytf/syah/syad:b,53,54,5n,9o,a7,a8,ch,dm/syae:bb/syaf/syag:f,57,5b,99,9c,9z,a2,bg,d3/syai:a9/cNxj4d:5c,9d,9p,aq,bh,bm,cq,dn,do,dp,dq,dr/GTbjHe:do/HsSrXe:dr/jQimRc/G0rK6/KrI8fe:58,59,93,9m,a0,a1,a3,d4/W8Xq9b:9b/qzRFhd:9f/aOo9Md:dn/syaj/rD0sWe:e1/syak/gV9j2:e3/KPegqf:dq/FHfUwb:av/B0uP2:au/Rsnthb/TQ6z4:9w/U6pKHc/AWp1Lc:be/syal:9k/dID5oc:ac,ec/N5w9gf/bnxKnb/kcJnK:cw/pkSfwd:9x/syam/syan/syao:di/syap/syaq/syar/syas/syat/syau:1r,5k,ei,en,eo,ep/jSDiFe:59,ad,bz,c6,c8,cg,dm,ej,ek,el,em,eq/nOFXRb/RMcMRc/afXR6d:by,cf/wuljUe:by,cf/YgVTX:9y/kBkohb/EX7Qhf:as/zSMbX/h9Moae/fQ1iJc:c3/vTy6jd:c1/O0uVld:9h/noeeMd:56/GL59Oc:95/dpfXlb:ab/SomnJf:9d/sYeXo:bj/ci8qAe/hQzbM:ek,em/xKfhhd:9t/XxaLZc:al/k1NBKb:a4/SpORDc/qrjOPd:bk/pKPYdb:bk,bl,bm,bn/ar9Laf/pILfl:b0/p4bMC:b1/MAY4be:b4/UnEFz:a5,b2/P2Vt2:b5/uMp1Wb:b6/QGYemf:b7/tO6Cwe:az/x5xqce:b8/tgm3Ob:9e/iBW6G/k3aboe/syav/yBLgec:fu/j0WwDf:em,fu/cx61j:56,a6,dq/syaw/r8Gunc:fy/rPqHob:41,fy/TRKT2/sP5SFe/AuGfDe/tLUXsc/dgiJyf:bo/F5BYt:at/hijjEf/d837Ef/uSOacb:5q/syax/v18DLb:5r,ga/SzZtsb:5s,ga/YReRF:5t,ga/syay:ga/syaz/TF0QDe:5u,ge,gf/UBrhLb:5v,ga/yFkGL:5w,ge/dvFoNb:5x,ga/mhX60e:5y,ga/CEif7d:5z,dd/syb0/zKuv7b:60,gm/RmJrIc:61,gm/BiAVTb:62/syb1/tMFdjb:4y,63,gq/syb2/akk34c:64,gs/i30ine:65/Tfx3Af:66/syb3/syb4/syb5:4z,gq,gw,gx/FMkQUb:67,gy/O2Tboe:68/Vfn8Dd:69,dd/fhLBfc:6a,gy/ZBNQdc:6b/YtfIr:6c/wdiWV:6d/xYF3qe:4s,6e/syb6:bv/kHmDqb:6f,h7/L5rZeb:6g,h7/obtTyc:6h/oml8Jb:1d,6i,eo/VF4nGe:6j,gs/CKJY4d:6k,c2/lx2CVd:6l,9q/W35ZTc:6m,ei/syb7/XiO35c:6n,eq,hg/WkxUlb:6o/WfJnQc:6p,eo,hg/fWL6Hf:6q/hef2uc:6r/fj8Qxe:6s/nxWGNe/CvjMOe:6t,en,eo/Uy4Lff:6u,gf/J8qaJd:6v,en,eo,gf/RrBse:6w,c5,eq/Lri4eb:6x/evJ2c:6y/ppMiPc:6z/zCReoc:70/o0SFzf:71/MvkKuf:72,eq/ssZ5ac:73,eq/J9srwd:74,96/VR8use:75/vzLjF:76,el,eq/SLeKRc:77,dn/Z47Rr:78,dn/zX8Gdf:79,e1/QGfALb:7a/MwRRTe:7b,e3/TTvnde:7c,el,eq/FEHtjb:7d,dp/L4vqUc:7e,eq/WnGzY:7f,hg/fUChKe:7g/wmtP2b:7h,ak/eLHDuc:7i/RmHN7c:7j/cdv6vc:5n,7k/WPjv7b:7l/Z84lAe:7m/FpyY5c:7n/syb8/dpBpte:7o,ij/vT8yTc:7p,ej/qck7F:7q/ZLOvOd:7r,hg/GiTThc/dMRcIe:7s,hg/vQqfYd:7t,en,eo,ep/QOEdY:7u,bg,c7,eq/syb9:eq/x1FHOc:7v,is/KNvsBb:7w/vtfj9e:7x,an/n5QLbd:7y,ao/iSPmW:7z,ap/sBahNc:80,hg/cY2txb:2q,81/cEu7Yc:82,9j/gx4mj:h,83/syba/Iokor:84,j2/SIwfLe/dfXAxf:85,eq/tuwcDf:86,aj,j2/ItJCfb:11,87,eq/sybb/YO9U2:88,eq,j8/nsP64d:89,eq,j8/T0gfmf:5p/ZtAeH:2u,8a/axUbnc:8b,hg/GuQ1Ic:3i,8c/hAv7cd:8d,eq/BQDqdf:8e,eq/sybc/YErl6d:5o,8f,ae,eq,jh/VWJsfe:8g/fveiFf:8h,is/mhgL5d:2y,8i/zFpIJd:8j,dn/ar31dd:8k,bc/WVwNs:2m,8l,ec,eo/PyqJP:8m/U57U9:8n/Jnj5Wd:8o/G6jVjd:5m,8p,en,eo/sybd:5o,jh/sybe:eo,jt/PiVeWe:8q,ju/wMAvEf:3t,8r,dn/ev54Gf:3t,5o,8s,eq/D5h9Ee:3x,41,5o,8t,ae,eq/GSqHVc:8u,jt/sybf:5o,ae,eq/U6Kpnf:3x,41,8v,ju,k0/ZozsGb:4c,5m,8w,af,eq/ikFwPe:8x,k0/JjA5Vc:8y/Bk8W6e:4g,5o,8z,eq/BiDO9c:4k,5o,90,eq/D6Iyxe:4o,5o,91,eq/JAgkc/sybg/dZdYW:k9/SNizh:k9/BoMjYe:ij/PeI8Xc:k9/kYnf1c/cs8ME:gw/q4IGEc:gx/TaLwWb:k9/nXR8Cb:k9',[]);
}catch(e){_._DumpException(e)}
}).call(this,this.default_c3_base);
// Google Inc.
