var _yt_player={};(function(g){var window=this;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var ba,da,aaa,ma,na,pa,qa,ra,sa,ua,va,wa,baa,xa,ya,za,Aa,caa,Ca,Da,Ea,Fa,Ha,Ja,Ka,faa,gaa,haa,Ta,Ua,iaa,jaa,kaa,laa,bb,maa,ib,jb,naa,qb,lb,oaa,ob,paa,qaa,raa,wb,saa,yb,taa,uaa,Bb,Cb,Db,Eb,Ib,Kb,Lb,Tb,Wb,Xb,ac,bc,xaa,cc,dc,mc,nc,pc,zc,Ac,Bc,Fc,Dc,Baa,Eaa,Faa,Gaa,Jc,Kc,Mc,Lc,Pc,Tc,Haa,Iaa,Sc,Vc,Jaa,$c,ad,bd,cd,gd,id,Maa,kd,ld,pd,qd,rd,sd,td,ud,vd,xd,zd,Ad,Cd,Dd,Oaa,Ed,Fd,Gd,Hd,Qaa,Id,Pd,Rd,Ud,Zd,$d,ee,fe,ie,ge,ke,me,le,ve,Wd,Be,ze,Ae,Taa,Ce,Vd,Waa,Ee,Fe,Xaa,Le,Ne,Zaa,Oe,Pe,Qe,Re,Te,Ve,$aa,Se,af,bf, Ye,ef,df,bba,We,Ue,hf,jf,kf,lf,nf,dba,of,pf,eba,vf,xf,zf,Af,Cf,Df,Ef,Gf,Hf,fba,Jf,Lf,Mf,If,Kf,yf,Ff,hba,Pf,Nf,Of,Rf,gba,Qf,Vf,Xf,iba,jba,kba,lba,mba,nba,oba,pba,qba,dg,Zf,hg,jg,gg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug,vg,wg,xg,yg,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Ng,Lg,Og,rba,Pg,Qg,Rg,Sg,Mg,Tg,Vg,Ug,Wg,Xg,Yg,Zg,$g,ah,bh,ch,dh,gh,ih,hh,jh,kh,uba,wba,xba,zba,mh,nh,oh,qh,rh,xh,yh,Bh,Ch,Dh,Gh,Fh,Hh,zh,Aba,Sh,Th,Uh,Bba,Vh,Wh,Xh,Yh,Zh,$h,ai,Cba,bi,ci,di,Dba,Eba,ei,gi,fi,ii,ji,mi,ki,Gba,li,ni,oi,qi,pi,ri,Hba,si,Jba,Iba, Kba,vi,Lba,xi,yi,zi,wi,Ai,Mba,Bi,Nba,Di,Rba,Ei,Fi,Gi,Hi,Sba,Ji,Li,Oi,Ri,Ti,Qi,Pi,Ui,Tba,Vi,Wi,Xi,Yi,Zi,Vba,dj,ej,Xba,fj,gj,hj,ij,jj,Yba,lj,mj,nj,oj,qj,pj,Zba,$ba,aca,rj,sj,tj,uj,wj,xj,yj,zj,Aj,vj,Bj,Cj,Dj,bca,cca,Ej,Fj,dca,Gj,Hj,eca,Jj,fca,Kj,Lj,Mj,gca,Nj,Oj,Qj,Sj,Tj,Uj,Vj,Wj,Pj,Rj,ica,Xj,Yj,ak,bk,ck,dk,mca,nca,oca,ek,gk,pca,qca,rca,ik,jk,sca,kk,tca,lk,uca,mk,nk,ok,vca,pk,rk,sk,tk,uk,vk,wk,xk,yk,wca,xca,zk,yca,Bk,Ak,Ek,Fk,Dk,zca,Dca,Cca,Hk,Eca,Fca,Gca,Ica,Hca,Jca,Ik,Kk,Mk,Nk,Ok,Lca,Sk,Tk,Mca,Nca, Uk,Vk,Wk,Xk,Oca,Yk,Zk,Pca,$k,al,Rca,bl,cl,Sca,el,fl,hl,il,jl,ll,ml,ol,pl,dl,ql,sl,rl,tl,ul,wl,Uca,xl,Tca,yl,zl,Vca,Wca,Bl,Dl,El,Fl,Gl,Cl,Jl,Kl,Hl,Xca,Zca,$ca,Ml,Nl,Ol,Pl,ada,Ql,Rl,Sl,Tl,Ul,Vl,Wl,Xl,$l,Zl,cda,dda,am,cm,Yl,bm,bda,dm,em,fda,gda,hda,ida,im,jm,km,fm,lm,mm,eda,jda,kda,lda,pm,nm,qm,sm,qda,mda,rda,wm,xm,ym,zm,Am,qk,sda,Bm,Cm,tda,uda,vda,wda,xda,Em,Fm,Gm,Hm,Im,Jm,Ada,Bda,Km,Om,Nm,Tm,Um,Wm,Eda,Vm,Ym,$m,Zm,Cda,cn,en,fn,Jda,Ida,gn,hn,jn,kn,ln,nn,pn,Pda,Nda,Oda,Sda,Qda,Rda,qn,Tda,sn,tn,Wda,Vda, yn,zn,An,Xda,Gn,Hn,Zda,In,Jn,dea,$da,Qn,Rn,Sn,jea,Vn,Wn,Xn,Yn,kea,ao,bo,co,eo,go,ho,io,jo,lo,mo,po,qo,ro,nea,oea,to,uo,vo,yo,wo,zo,Bo,Co,Ao,pea,Fo,Io,qea,So,Ro,tea,uea,Uo,cp,bp,Zo,xea,wea,vp,up,op,Aea,xp,yp,zp,Ap,Dea,Eea,Hp,Ip,Jp,Pp,Qp,Fea,Sp,Up,Rp,Xp,$p,Zp,Yp,bq,gq,hq,iq,jq,pq,nq,qq,rq,sq,vq,uq,Gea,Iea,xq,Jea,Bq,Aq,Lea,Cq,Dq,Mea,Hq,Nea,Oea,Fq,Pea,Jq,Kq,Qea,Nq,Pq,Sq,Rea,Wq,Sea,Yq,Zq,Tea,br,Vea,er,dr,Wea,gr,jr,kr,lr,nr,mr,Yea,qr,rr,sr,tr,ur,wr,yr,zr,Ar,xr,bfa,$ea,Br,Er,Fr,efa,Cr,Dr,Hr,Jr,Kr,Nr,Lr, Pr,Or,Qr,ffa,Sr,Tr,Wf,Vr,Xr,Zr,$r,as,cs,hfa,gs,hs,is,ks,ifa,ps,os,js,qs,vs,kfa,Yf,Is,Hs,Ks,Gs,Js,lfa,Ms,mfa,nfa,ofa,qfa,Ns,pfa,Os,Ps,Qs,Rs,Us,Vs,rfa,Ys,Zs,$s,Ws,dt,ct,et,ft,ht,it,jt,bt,kt,mt,tfa,ot,ufa,qt,rt,vfa,tt,ut,wfa,wt,xfa,yfa,zfa,Afa,Bfa,xt,zt,Cfa,vt,nt,Dfa,Bt,Ct,Et,Efa,Ft,Gt,Ht,It,Ffa,Jt,Kt,Lt,Mt,Nt,Ot,Pt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt,Gfa,Zt,$t,Yt,au,bu,cu,du,eu,Hfa,tu,fu,Ifa,ru,Jfa,xu,yu,zu,Au,Bu,Cu,Eu,Fu,Gu,Iu,Hu,Ju,Lu,Ou,Lfa,Pu,Vu,Wu,Yu,Zu,$u,av,bv,cv,dv,ev,Mfa,fv,gv,iv,jv,hv,Nfa,kv,lv,nv,pv, Ofa,qv,vv,tv,ov,wv,rv,uv,xv,yv,zv,Pfa,Av,Bv,Cv,Dv,Jv,Qfa,Fv,Lv,Nv,Qv,Pv,Hv,Mv,Kv,Rfa,Rv,Tv,Uv,Sfa,Vv,Wv,Ev,Gv,Iv,Ov,Xv,Yv,Zv,aw,$v,Tfa,bw,cw,dw,ew,fw,Ufa,hw,gw,iw,jw,kw,lw,mw,nw,ow,pw,qw,rw,tw,uw,vw,ww,xw,yw,zw,Aw,Cw,Bw,Dw,Ew,Fw,Gw,Hw,Vfa,Wfa,Jw,Lw,Mw,Ow,Qw,Rw,Tw,Uw,Vw,Ww,Xw,Zw,$w,ax,bx,Yw,aga,cx,dx,ex,fx,cga,dga,gx,ega,ix,fga,hx,jx,lx,mx,nx,px,gga,qx,rx,sx,tx,ux,vx,xx,wx,yx,hga,zx,Ax,Bx,Cx,Dx,iga,jga,nga,oga,kga,lga,mga,Ex,Fx,pga,Hx,Ix,Jx,qga,Mx,Nx,rga,sga,Ox,Px,tga,uga,vga,Qx,wga,Vx,Rx,Yx,xga,yga, Zx,zga,Aga,$x,ay,Bga,by,cy,Cga,Dga,Wx,Ega,dy,Fga,Gga,ey,Hga,Iga,fy,gy,hy,iy,jy,ky,ly,my,ny,py,oy,qy,Jga,sy,ty,uy,vy,wy,yy,zy,Ay,Kga,S,By,Cy,Dy,Ey,Fy,cz,dz,gz,hz,Qy,Vy,Zy,Yy,bz,kz,mz,qz,Ny,My,sz,Xy,Rga,Sga,Tga,uz,vz,xz,yz,zz,Az,Bz,wz,Cz,Uga,Ez,Fz,Xga,Zga,Yga,Hz,Wga,Vga,Gz,Iz,$ga,Jz,aha,cha,bha,dha,Kz,Lz,eha,fha,gha,Mz,Nz,iha,Oz,hha,Pz,Qz,jha,kha,Rz,Tz,Uz,Xz,Wz,lha,Zz,$z,nha,oha,pha,qha,rha,sha,tha,bA,uha,vha,wha,xha,yha,zha,Gha,Hha,Iha,Kha,fA,gA,Lha,iA,jA,kA,mA,nA,hA,oA,lA,qA,rA,tA,sA,uA,vA,xA,yA, zA,AA,FA,CA,GA,KA,HA,NA,LA,OA,EA,Qha,PA,BA,Rha,RA,UA,TA,WA,XA,SA,YA,ZA,cB,$A,dB,Vha,jB,Xha,lB,mB,pB,Wha,Yha,qB,sB,tB,rB,eB,Zha,uB,oB,xB,$ha,zB,AB,BB,DB,EB,nB,Uha,gB,Tha,fB,HB,wB,aia,MB,NB,OB,PB,hB,QB,RB,kB,FB,SB,iB,bB,eA,dA,aA,WB,VB,XB,U,YB,$B,aC,bC,fC,eC,jC,cia,oC,pC,qC,rC,dia,eia,sC,tC,uC,wC,xC,yC,fia,zC,AC,BC,CC,DC,gia,EC,FC,IC,JC,KC,LC,MC,PC,iia,RC,SC,VC,WC,jia,YC,$C,ZC,kia,XC,lia,mia,nia,oia,pia,qia,aD,ria,sia,tia,bD,cD,gD,fD,iD,dD,jD,kD,lD,eD,mD,hD,nD,oD,qD,pD,rD,sD,xia,tD,uD,vD,yia,BD,CD,AD, ED,yD,DD,wD,zia,GD,FD,HD,Aia,ID,xD,Bia,JD,KD,LD,MD,ND,OD,PD,QD,XD,TD,Cia,ZD,$D,UD,VD,SD,WD,RD,YD,dE,cE,bE,fE,gE,hE,iE,kE,jE,lE,mE,nE,rE,tE,uE,vE,wE,yE,zE,sE,pE,oE,qE,AE,BE,CE,DE,xE,EE,FE,GE,HE,JE,IE,Eia,KE,LE,ME,NE,OE,Hia,Gia,QE,RE,PE,SE,TE,UE,Iia,Lia,Mia,Nia,$E,aF,Oia,bF,Pia,WE,VE,Jia,cF,XE,YE,Kia,ZE,Qia,Ria,dF,eF,Sia,fF,Tia,jF,gF,iF,hF,Uia,Via,lF,Wia,kF,mF,nF,oF,pF,qF,rF,sF,tF,Zia,Yia,Xia,$ia,uF,aja,uia,via,bja,yF,dja,zF,AF,BF,DF,FF,HF,IF,KF,fja,hja,ija,jja,JF,MF,NF,kja,OF,SF,lja,RF,UF,VF,QF,TF, vF,cja,PF,GF,eja,mja,wF,WF,EF,CF,XF,nja,YF,oja,ZF,$F,pja,aG,bG,cG,qja,dG,eG,fG,gG,hG,rja,sja,iG,tja,uja,jG,lG,xja,wja,vja,zja,nG,Aja,oG,pG,mG,Cja,qG,rG,sG,Dja,tG,uG,vG,kG,wG,Eja,xG,yG,BG,EG,FG,Gja,Fja,CG,HG,DG,GG,AG,IG,Hja,Ija,JG,LG,KG,NG,Jja,Kja,PG,QG,SG,OG,Lja,RG,TG,UG,VG,YG,ZG,aH,cH,dH,eH,fH,Mja,hH,jH,lH,kH,mH,nH,oH,Oja,pH,iH,qH,rH,sH,tH,uH,vH,wH,xH,yH,Qja,AH,zH,EH,FH,GH,HH,IH,LH,MH,NH,KH,Sja,JH,OH,Tja,Uja,QH,RH,SH,Vja,UH,WH,YH,XH,ZH,$H,VH,TH,Wja,aI,cI,dI,bI,eI,Xja,fI,iI,hI,kI,jI,gI,Yja,pI,$ja, rI,tI,uI,vI,mI,sI,wI,nI,bka,xI,yI,oI,zI,qI,aka,cka,lI,Zja,AI,BI,CI,DI,FI,GI,HI,EI,dka,II,JI,eka,KI,LI,MI,NI,OI,PI,QI,RI,SI,TI,UI,VI,WI,XI,fka,gka,YI,ZI,hka,$I,aJ,bJ,cJ,ika,dJ,eJ,fJ,jka,lka,kka,mka,rka,nka,oka,pka,gJ,ska,qka,tka,kJ,uJ,iJ,mJ,vJ,wJ,zJ,xJ,vka,wka,yka,AJ,DJ,CJ,hJ,rJ,IJ,GJ,MJ,EJ,PJ,OJ,TJ,JJ,SJ,WJ,VJ,YJ,$J,uka,nJ,QJ,fK,Aka,hK,eK,Bka,iK,jK,lK,mK,Cka,gK,dK,kK,aK,cK,oK,sJ,NJ,qK,pK,sK,rK,nK,Dka,tJ,uK,BJ,lJ,Eka,vK,bK,xK,yK,zK,AK,tK,FJ,BK,XJ,RJ,ZJ,xka,DK,CK,EK,FK,GK,IK,Fka,Gka,JK,MK,bL,cL,Kka, tL,uL,yL,Nka,DL,Mka,EL,Oka,AL,FL,GL,HL,IL,cC,JL,aL,LL,NL,PL,OL,Qka,Rka,Ska,SL,Tka,YL,WL,UL,VL,RL,TL,XL,ZL,Vka,Uka,$L,eM,cM,fM,dM,kM,Wka,nM,Xka,oM,qM,rM,pM,tM,uM,vM,wM,Ika,Jka,xM,yM,AM,DM,EM,FM,HM,IM,KM,MM,NM,OM,QM,RM,SM,TM,WM,XM,YM,ZM,$M,aN,bN,Hka,cN,dN,eN,fN,gN,hN,iN,Yka,jN,kN,mN,oN,qN,pN,rN,sN,tN,xN,yN,zN,CN,DN,HN,KN,LN,PN,QN,RN,NN,TN,UN,VN,Zka,bO,eO,cO,aO,fO,hO,jO,lO,mO,nO,oO,pO,rO,qO,sO,tO,uO,vO,xO,zO,yO,wO,AO,CO,BO,EO,FO,GO,$ka,IO,HO,JO,KO,ala,LO,MO,QO,OO,NO,PO,RO,SO,TO,UO,WO,XO,YO,$O,aP,bP, cP,dP,gP,eP,hP,iP,jP,kP,lP,mP,nP,oP,qP,rP,sP,xP,yP,vP,zP,uP,DP,GP,HP,FP,CP,EP,BP,wP,AP,JP,KP,MP,NP,RP,QP,PP,TP,UP,WP,VP,ZP,gla,hla,aQ,$P,cQ,dQ,bQ,fQ,hQ,iQ,jQ,jla,kQ,lQ,ila,mQ,nQ,rQ,sQ,pQ,uQ,tQ,vQ,lla,wQ,zQ,CQ,DQ,EQ,mla,IQ,FQ,GQ,JQ,KQ,LQ,MQ,PQ,QQ,OQ,NQ,SQ,UQ,WQ,XQ,YQ,ZQ,$Q,aR,dR,cR,gR,AN,kR,nR,mR,oR,jR,SN,iR,pR,qR,nla,rR,sR,tR,uR,vR,xR,yR,zR,BR,ola,pla,CR,FR,DR,GR,HR,IR,JR,KR,NR,sla,OR,rla,PR,MR,QR,SR,RR,gja,UR,ula,WR,vla,aS,YR,cS,dS,eS,TR,gS,ZR,hS,fS,bS,kS,jS,VR,xla,lS,nS,yla,mS,oS,Ala,qS,rS,sS,zS, Hla,BS,Cla,xQ,Bla,ES,GS,HS,qL,KS,Ila,IS,rL,yS,OS,PS,RS,SS,US,Fla,Gla,ZS,YS,XS,DS,cT,dT,CS,eT,fT,Jla,OK,gT,iT,WS,VS,lT,mT,MS,nT,$R,bT,aM,iS,pT,qT,kT,jT,tT,dL,vT,ZB,wT,aT,xT,zT,NS,JS,oT,AT,BT,CT,DT,Ela,hT,tS,ET,Dla,FT,GT,mM,HT,IT,Nla,JT,Ola,Pla,KT,LT,Qla,MT,NT,OT,PT,Tla,QT,ST,RT,TT,VT,Vla,UT,Ula,WT,XT,ZT,$T,aU,bU,cU,dU,eU,fU,gU,hU,Wla,iU,Xla,Yla,jU,nU,mU,kU,lU,Zla,oU,pU,$la,ama,qU,bma,dma,cma,rU,sU,ema,tU,uU,vU,wU,xU,yU,zU,AU,BU,CU,fma,DU,EU,FU,GU,IU,JU,KU,LU,ima,MU,HU,NU,OU,kma,gma,PU,hma,lma,QU,SU, mma,TU,UU,VU,XU,WU,YU,ZU,$U,nma,aV,gV,kV,lV,oma,cV,fV,hV,eV,jV,iV,oV,mV,nV,pV,dV,bV,qV,pma,Y,rV,tV,uV,sV,vV,wV,xV,yV,zV,AV,qma,BV,CV,DV,EV,FV,GV,HV,IV,rma,JV,KV,LV,MV,NV,OV,PV,QV,RV,SV,TV,UV,VV,WV,XV,YV,ZV,$V,aW,bW,cW,sma,dW,eW,gW,hW,fW,tma,uma,vma,iW,jW,wma,xma,kW,lW,mW,nW,zma,Bma,Ama,yma,qW,pW,rW,Cma,sW,tW,uW,vW,wW,xW,yW,zW,AW,BW,CW,DW,EW,FW,GW,JW,HW,OW,IW,PW,SW,QW,RW,TW,Ema,UW,VW,WW,Fma,XW,Gma,Ima,Jma,$W,Kma,ZW,YW,Hma,aX,bX,cX,Lma,dX,eX,gX,hX,iX,jX,kX,mX,Mma,oX,nX,Nma,Oma,pX,rX,sX,uX,qX,tX,vX, Qma,Pma,wX,xX,Rma,yX,zX,AX,BX,CX,Z,DX,EX,Sma,FX,GX,HX,IX,KX,MX,Tma,LX,NX,OX,QX,PX,RX,SX,TX,UX,VX,Wma,WX,XX,Yma,YX,ZX,$X,bY,cY,aY,$ma,dY,ana,eY,fY,gY,hY,bna,iY,cna,jY,kY,dna,lY,ena,mY,nY,oY,fna,pY,qY,rY,sY,uY,wY,yY,AY,BY,CY,FY,gna,GY,HY,hna,JY,jna,ina,lna,IY,KY,NY,LY,MY,PY,OY,nna,ona,lX,kna,fX,EY,QY,RY,oW,mna,SY,TY,UY,VY,pna,WY,XY,YY,ZY,$Y,aZ,bZ,cZ,dZ,rna,sna,una,tna,wna,eZ,xna,fZ,gZ,yna,hZ,zna,Ana,Cna,Bna,Dna,Ena,Fna,iZ,Gna,jZ,kZ,Kna,Hna,Jna,Ina,lZ,mZ,Lna,nZ,oZ,Mna,Nna,Ona,Pna,pZ,Qna,Rna,qZ,Una,Tna, Vna,Wna,rZ,sZ,Xna,Yna,Zna,vZ,$na,aoa,boa,coa,wZ,uZ,doa,yZ,eoa,zZ,AZ,BZ,CZ,DZ,EZ,FZ,GZ,foa,HZ,goa,IZ,JZ,KZ,hoa,LZ,MZ,NZ,OZ,PZ,ioa,koa,joa,loa,QZ,moa,noa,RZ,ooa,SZ,TZ,UZ,poa,qoa,roa,VZ,WZ,YZ,XZ,ZZ,$Z,soa,a_,b_,uoa,c_,xoa,yoa,zoa,woa,d_,Aoa,f_,Boa,Coa,g_,h_,i_,Doa,j_,Eoa,k_,m_,Goa,Hoa,n_,o_,Ioa,p_,q_,Joa,r_,s_,t_,Koa,u_,v_,w_,x_,Moa,z_,A_,Noa,C_,y_,B_,Poa,Soa,D_,Xoa,F_,Yoa,I_,$oa,K_,M_,L_,apa,bpa,cpa,dpa,fpa,epa,J_,Zoa,S_,P_,T_,O_,U_,Q_,E_,gpa,N_,H_,V_,W_,X_,R_,G_,ipa,Y_,kpa,jpa,Z_,$_,a0,b0,c0,d0,e0, f0,g0,h0,i0,j0,k0,l0,m0,n0,o0,p0,q0,r0,lpa,mpa,npa,s0,t0,u0,v0,w0,x0,qpa,y0,rpa,spa,tpa,upa,vpa,z0,wpa,xpa,ypa,zpa,Apa,Bpa,A0,Cpa,Dpa,B0,Epa,Fpa,C0,Gpa,Hpa,Ipa,Jpa,D0,Kpa,Lpa,E0,F0,G0,Npa,Qpa,H0,Ppa,Rpa,Opa,Spa,Tpa,Wpa,Vpa,I0,Zpa,Ypa,Xpa,$pa,J0,K0,L0,M0,Mpa,aqa,N0,O0,P0,Q0,R0,S0,T0,U0,bqa,V0,cqa,W0,dqa,X0,Y0,Z0,$0,a1,eqa,fqa,gqa,b1,hqa,c1,d1,e1,iqa,f1,g1,h1,i1,jqa,kqa,j1,k1,Upa,lqa,nqa,pqa,qqa,rqa,sqa,mqa,oqa,tqa,l1,uqa,vqa,wqa,m1,xqa,n1,o1,yqa,p1,zqa,Aqa,LW,MW,NW,q1,KW,Ooa,DY,r1,s1,Bqa,Dma,t1,Cqa, opa,u1,Dqa,Eqa,ppa,w1,v1,x1,Iqa,y1,Hqa,z1,Jqa,Lqa,Kqa,Oqa,Qqa,D1,E1,aa,ha,F1,daa,Zc,Oa,eaa;ba=function(a){return function(){return aa[a].apply(this,arguments)}}; g.ca=function(a,b){return aa[a]=b}; da=function(a){var b=0;return function(){return bb?null:"string"===typeof a?a.charAt(b):a[b]}; g.Wa=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}; naa=function(a){for(var b={},c=0,d=0;d>>1),n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0b?1:ac&&g.kb(a,-(c+1),0,b)}; g.vb=function(a,b,c){var d={};(0,g.y)(a,function(e,f){d[b.call(c,e,f,a)]=e}); return d}; qaa=function(a){for(var b=[],c=0;c")&&(a=a.replace(hc,">"));-1!=a.indexOf('"')&&(a=a.replace(ic,"""));-1!=a.indexOf("'")&&(a=a.replace(jc,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(lc,"�"))}return a}; nc=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())}; g.qc=function(a,b){for(var c=0,d=oc(String(a)).split("."),e=oc(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&kb?1:0}; g.tc=function(a,b){this.u=a===rc&&b||"";this.w=sc}; g.uc=function(a){if(a instanceof g.tc&&a.constructor===g.tc&&a.w===sc)return a.u;Ka(a);return"type_error:SafeUrl"}; g.wc=function(a){if(a instanceof g.tc)return a;a="object"==typeof a&&a.ug?a.xe():String(a);vc.test(a)||(a="about:invalid#zClosurez");return new g.tc(rc,a)}; g.xc=function(a,b){if(a instanceof g.tc)return a;a="object"==typeof a&&a.ug?a.xe():String(a);if(b&&/^data:/i.test(a)){var c=a.replace(/(%0A|%0D)/g,"");var d=c.match(zaa);d=d&&Aaa.test(d[1]);c=new g.tc(rc,d?c:"about:invalid#zClosurez");if(c.xe()==a)return c}vc.test(a)||(a="about:invalid#zClosurez");return new g.tc(rc,a)}; zc=function(){this.o="";this.u=yc}; Ac=function(a){if(a instanceof zc&&a.constructor===zc&&a.u===yc)return a.o;Ka(a);return"type_error:SafeStyle"}; Bc=function(a){var b=new zc;b.o=a;return b}; Fc=function(a){var b="",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Array.isArray(d)?(0,g.Cc)(d,Dc).join(" "):Dc(d),b+=c+":"+d+";")}return b?Bc(b):Ec}; Dc=function(a){if(a instanceof g.tc)return'url("'+g.uc(a).replace(/>>0;return b}; g.hd=function(a){var b=Number(a);return 0==b&&g.ec(a)?NaN:b}; id=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; g.jd=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()}; Maa=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})}; kd=function(a,b,c,d,e,f,k){var l="";a&&(l+=a+":");c&&(l+="//",b&&(l+=b+"@"),l+=c,d&&(l+=":"+d));e&&(l+=e);f&&(l+="?"+f);k&&(l+="#"+k);return l}; ld=function(a){return a?decodeURI(a):a}; g.nd=function(a,b){return b.match(md)[a]||null}; g.od=function(a){return ld(g.nd(3,a))}; pd=function(a){a=a.match(md);return kd(null,null,null,null,a[5],a[6],a[7])}; qd=function(a,b){if(a)for(var c=a.split("&"),d=0;db&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]}; sd=function(a,b){return b?a?a+"&"+b:b:a}; td=function(a,b){if(!b)return a;var c=rd(a);c[1]=sd(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; ud=function(a,b,c){if(Array.isArray(b))for(var d=0;dd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return cd(a.substr(d,e-d))}; Dd=function(a,b){for(var c=a.search(Bd),d=0,e,f=[];0<=(e=Ad(a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.substr(d));return f.join("").replace(Naa,"$1")}; Oaa=function(a,b){var c=rd(a),d=c[1],e=[];d&&(0,g.y)(d.split("&"),function(f){var k=f.indexOf("=");b.hasOwnProperty(0<=k?f.substr(0,k):f)||e.push(f)}); c[1]=sd(e.join("&"),g.wd(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; Ed=function(){return Jc("iPhone")&&!Jc("iPod")&&!Jc("iPad")}; Fd=function(){return Ed()||Jc("iPad")||Jc("iPod")}; Gd=function(a){Gd[" "](a);return a}; Hd=function(a,b){try{return Gd(a[b]),!0}catch(c){}return!1}; Qaa=function(a,b){var c=Paa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}; Id=function(){var a=g.v.document;return a?a.documentMode:void 0}; g.Kd=function(a){return Qaa(a,function(){return 0<=g.qc(Jd,a)})}; g.Ld=function(a){return Number(Raa)>=a}; g.Md=function(a,b,c){return Math.min(Math.max(a,b),c)}; g.Nd=function(a,b){var c=a%b;return 0>c*b?c+b:c}; g.Od=function(a,b,c){return a+c*(b-a)}; Pd=function(a,b){return 1E-6>=Math.abs(a-b)}; g.Qd=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}; Rd=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}; g.Sd=function(a,b){this.width=a;this.height=b}; g.Td=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}; Ud=function(a){return a.width*a.height}; Zd=function(a){return a?new Vd(Wd(a)):Xd||(Xd=new Vd)}; $d=function(a,b){return"string"===typeof b?a.getElementById(b):b}; g.be=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.ae(document,"*",a,b)}; g.ce=function(a,b){var c=b||document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):g.ae(c,"*",a,b)[0]||null}return c||null}; g.ae=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,k;k=a[f];f++)b==k.nodeName&&(d[e++]=k);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;k=a[f];f++)b=k.className,"function"==typeof b.split&&g.$a(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a}; ee=function(a,b){g.zb(b,function(c,d){c&&"object"==typeof c&&c.ug&&(c=c.xe());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:de.hasOwnProperty(d)?a.setAttribute(de[d],c):cc(d,"aria-")||cc(d,"data-")?a.setAttribute(d,c):a[d]=c})}; fe=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new g.Sd(a.clientWidth,a.clientHeight)}; ie=function(a){var b=ge(a);a=a.parentWindow||a.defaultView;return g.he&&g.Kd("10")&&a.pageYOffset!=b.scrollTop?new g.Qd(b.scrollLeft,b.scrollTop):new g.Qd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}; ge=function(a){return a.scrollingElement?a.scrollingElement:g.je||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement}; ke=function(a){return a?a.parentWindow||a.defaultView:window}; g.ne=function(a,b,c){var d=arguments,e=document,f=String(d[0]),k=d[1];if(!Saa&&k&&(k.name||k.type)){f=["<",f];k.name&&f.push(' name="',g.dd(k.name),'"');if(k.type){f.push(' type="',g.dd(k.type),'"');var l={};g.Sb(l,k);delete l.type;k=l}f.push(">");f=f.join("")}f=le(e,f);k&&("string"===typeof k?f.className=k:Array.isArray(k)?f.className=k.join(" "):ee(f,k));2a}; Taa=function(a){if(a&&"number"==typeof a.length){if(g.Na(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Ma(a))return"function"==typeof a.item}return!1}; g.De=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return Ce(a,function(f){return(!e||f.nodeName==e)&&(!c||"string"===typeof f.className&&g.$a(f.className.split(/\s+/),c))},!0,d)}; Ce=function(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null}; Vd=function(a){this.o=a||g.v.document||document}; Waa=function(a){this.ww=a}; Ee=function(a,b,c){this.A=a;this.u=b;this.o=c||[];this.sj=new Map}; Fe=function(a,b){Ee.call(this,a,3,b)}; g.A=function(){this.ub=this.ub;this.Wi=this.Wi}; g.B=function(a,b){g.Ge(a,g.Qa(g.He,b))}; g.Ge=function(a,b){a.ub?b():(a.Wi||(a.Wi=[]),a.Wi.push(b))}; g.He=function(a){a&&"function"==typeof a.dispose&&a.dispose()}; g.Ie=function(a){for(var b=0,c=arguments.length;bc.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var k=c.length-1;!d.o&&0<=k;k--){d.currentTarget=c[k];var l=ef(c[k],f,!0,d);e=e&&l}for(k=0;!d.o&&ka.u&&(a.u++,b.next=a.o,a.o=b)}; lf=function(a){g.v.setTimeout(function(){throw a;},0)}; nf=function(a,b){var c=a;b&&(c=(0,g.x)(a,b));c=cba(c);!g.Ma(g.v.setImmediate)||g.v.Window&&g.v.Window.prototype&&!Jc("Edge")&&g.v.Window.prototype.setImmediate==g.v.setImmediate?(mf||(mf=dba()),mf(c)):g.v.setImmediate(c)}; dba=function(){var a=g.v.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Jc("Presto")&&(a=function(){var e=g.oe("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var k="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,g.x)(function(m){if(("*"==l||m.origin==l)&&m.data==k)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(k,l)}}}); if("undefined"!==typeof a&&!Jc("Trident")&&!Jc("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.rw;c.rw=null;e()}}; return function(e){d.next={rw:e};d=d.next;b.port2.postMessage(0)}}return function(e){g.v.setTimeout(e,0)}}; of=function(){this.u=this.o=null}; pf=function(){this.next=this.scope=this.ng=null}; g.uf=function(a,b){rf||eba();sf||(rf(),sf=!0);tf.add(a,b)}; eba=function(){if(g.v.Promise&&g.v.Promise.resolve){var a=g.v.Promise.resolve(void 0);rf=function(){a.then(vf)}}else rf=function(){nf(vf)}}; vf=function(){for(var a;a=tf.remove();){try{a.ng.call(a.scope)}catch(b){lf(b)}kf(wf,a)}sf=!1}; xf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}}; zf=function(a){this.o=0;this.F=void 0;this.A=this.u=this.w=null;this.B=this.C=!1;if(a!=g.Ia)try{var b=this;a.call(void 0,function(c){yf(b,2,c)},function(c){yf(b,3,c)})}catch(c){yf(this,3,c)}}; Af=function(){this.next=this.context=this.onRejected=this.w=this.o=null;this.u=!1}; Cf=function(a,b,c){var d=Bf.get();d.w=a;d.onRejected=b;d.context=c;return d}; Df=function(a){if(a instanceof zf)return a;var b=new zf(g.Ia);yf(b,2,a);return b}; Ef=function(a){return new zf(function(b,c){c(a)})}; Gf=function(a,b,c){Ff(a,b,c,null)||g.uf(g.Qa(b,a))}; Hf=function(a){return new zf(function(b,c){a.length||b(void 0);for(var d=0,e;d>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,k||(l=64));d.push(c[p],c[f],c[l]||"",c[n]||"")}return d.join("")}; g.cg=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}return g.bg(b,3)}; qba=function(a){var b=[];dg(a,function(c){b.push(c)}); return b}; g.eg=function(a){!g.he||g.Kd("10");var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;dg(a,function(f){d[e++]=f}); return d.subarray(0,e)}; dg=function(a,b){function c(m){for(;d>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}}; Zf=function(){if(!fg){fg={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));$f[c]=d;for(var e=0;ee&&128<=b;e++)b=a.u[a.o++],c|=(b&127)<<7*e;128<=b&&(b=a.u[a.o++],c|=(b&127)<<28,d|=(b&127)>>4);if(128<=b)for(e=0;5>e&&128<=b;e++)b=a.u[a.o++],d|=(b&127)<<7*e+3;if(128>b){a=c>>>0;b=d>>>0;if(d=b&2147483648)a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0);a=4294967296*b+(a>>>0);return d?-a:a}a.B=!0}; lg=function(a){var b=a.u;var c=b[a.o+0];var d=c&127;if(128>c)return a.o+=1,d;c=b[a.o+1];d|=(c&127)<<7;if(128>c)return a.o+=2,d;c=b[a.o+2];d|=(c&127)<<14;if(128>c)return a.o+=3,d;c=b[a.o+3];d|=(c&127)<<21;if(128>c)return a.o+=4,d;c=b[a.o+4];d|=(c&15)<<28;if(128>c)return a.o+=5,d>>>0;a.o+=5;128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&a.o++;return d}; mg=function(a){this.o=jg(a,void 0,void 0);this.B=this.o.o;this.u=this.w=-1;this.A=!1}; ng=function(a){var b=a.o;(b=b.o==b.w)||(b=a.A)||(b=a.o,b=b.B||0>b.o||b.o>b.w);if(b)return!1;a.B=a.o.o;b=lg(a.o);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.A=!0,!1;a.w=b>>>3;a.u=c;return!0}; og=function(a){switch(a.u){case 0:if(0!=a.u)og(a);else{for(a=a.o;a.u[a.o]&128;)a.o++;a.o++}break;case 1:1!=a.u?og(a):(a=a.o,a.o+=8);break;case 2:if(2!=a.u)og(a);else{var b=lg(a.o);a=a.o;a.o+=b}break;case 5:5!=a.u?og(a):(a=a.o,a.o+=4);break;case 3:b=a.w;do{if(!ng(a)){a.A=!0;break}if(4==a.u){a.w!=b&&(a.A=!0);break}og(a)}while(1);break;default:a.A=!0}}; pg=function(a){var b=lg(a.o);a=a.o;var c=a.u,d=a.o,e=d+b;b=[];for(var f="";dk)b.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];b.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];b.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;k-=65536;b.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=b.length&&(f+=String.fromCharCode.apply(null,b),b.length=0)}c=f;if(8192>=b.length)b=String.fromCharCode.apply(null, b);else{e="";for(f=0;fb||a.o+b>a.u.length)a.B=!0,b=new Uint8Array(0);else{var c=a.u.subarray(a.o,a.o+b);a.o+=b;b=c}return b}; rg=function(){this.o=[]}; sg=function(a,b){for(;127>>=7;a.o.push(b)}; tg=function(a,b){a.o.push(b>>>0&255);a.o.push(b>>>8&255);a.o.push(b>>>16&255);a.o.push(b>>>24&255)}; ug=function(){this.w=[];this.u=0;this.o=new rg}; vg=function(a,b){sg(a.o,8*b+2);var c=a.o.end();a.w.push(c);a.u+=c.length;c.push(a.u);return c}; wg=function(a,b){var c=b.pop();for(c=a.u+a.o.length()-c;127>>=7,a.u++;b.push(c);a.u++}; xg=function(a){for(var b=new Uint8Array(a.u+a.o.length()),c=a.w,d=c.length,e=0,f=0;fb;b++)a.o.push(c&127|128),c>>=7;a.o.push(1)}}; Bg=function(a,b,c){if(null!=c&&null!=c){sg(a.o,8*b);a=a.o;var d=c;c=0>d;d=Math.abs(d);b=d>>>0;d=Math.floor((d-b)/4294967296);d>>>=0;c&&(d=~d>>>0,b=(~b>>>0)+1,4294967295>>7|b<<25)>>>0,b>>>=7;a.o.push(c)}}; Cg=function(a,b,c){null!=c&&(sg(a.o,8*b+1),a=a.o,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,zg=b,Ag=c,tg(a,zg),tg(a,Ag))}; Dg=function(a,b,c){if(null!=c){sg(a.o,8*b+1);a=a.o;var d=c;d=(c=0>d?1:0)?-d:d;if(0===d)Ag=0<1/d?0:2147483648,zg=0;else if(isNaN(d))Ag=2147483647,zg=4294967295;else if(1.7976931348623157E308>>0,zg=0;else if(2.2250738585072014E-308>d)d/=Math.pow(2,-1074),Ag=(c<<31|d/4294967296)>>>0,zg=d>>>0;else{var e=d;b=0;if(2<=e)for(;2<=e&&1023>b;)b++,e/=2;else for(;1>e&&-1022>>0;zg=4503599627370496*d>>>0}tg(a,zg);tg(a, Ag)}}; Eg=function(a,b,c){null!=c&&(sg(a.o,8*b),a.o.o.push(c?1:0))}; Fg=function(a,b,c){if(null!=c){b=vg(a,b);for(var d=a.o,e=0;ef)d.o.push(f);else if(2048>f)d.o.push(f>>6|192),d.o.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&e+1=k&&(f=1024*(f-55296)+k-56320+65536,d.o.push(f>>18|240),d.o.push(f>>12&63|128),d.o.push(f>>6&63|128),d.o.push(f&63|128),e++)}else d.o.push(f>>12|224),d.o.push(f>>6&63|128),d.o.push(f&63|128)}wg(a,b)}}; Gg=function(a,b,c,d){null!=c&&(b=vg(a,b),d(c,a),wg(a,b))}; Hg=function(a,b,c,d){if(null!=c)for(var e=0;ea&&b.setFullYear(b.getFullYear()-1900);return b}; dh=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}; g.Eh=function(a){var b=Wd(a),c=new g.Qd(0,0);var d=b?Wd(b):document;d=!g.he||g.Ld(9)||"CSS1Compat"==Zd(d).o.compatMode?d.documentElement:d.body;if(a==d)return c;a=Ch(a);b=ie(Zd(b).o);c.x=a.left+b.x;c.y=a.top+b.y;return c}; Gh=function(a,b){var c=new g.Qd(0,0),d=ke(Wd(a));if(!Hd(d,"parent"))return c;var e=a;do{var f=d==b?g.Eh(e):Fh(e);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(e=d.frameElement)&&(d=d.parent));return c}; g.Ih=function(a,b){var c=Hh(a),d=Hh(b);return new g.Qd(c.x-d.x,c.y-d.y)}; Fh=function(a){a=Ch(a);return new g.Qd(a.left,a.top)}; Hh=function(a){if(1==a.nodeType)return Fh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.Qd(a.clientX,a.clientY)}; g.Mh=function(a,b,c){if(b instanceof g.Sd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Jh(a,b);a.style.height=zh(c,!0)}; zh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; g.Jh=function(a,b){a.style.width=zh(b,!0)}; g.Nh=function(a){var b=Aba;if("none"!=yh(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}; Aba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.je&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Ch(a),new g.Sd(a.right-a.left,a.bottom-a.top)):new g.Sd(b,c)}; g.Oh=function(a,b){a.style.display=b?"":"none"}; Sh=function(){if(Ph&&!jh(Qh)){var a="."+Rh.domain;try{for(;2e?encodeURIComponent(qi(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}; ri=function(a,b,c,d){a.o.push(b);a.u[b]=oi(c,d)}; Hba=function(a){var b=1,c;for(c in a.u)b=c.length>b?c.length:b;return 3997-b-a.w.length-1}; si=function(a,b){this.o=a;this.depth=b}; Jba=function(){function a(l,m){return null==l?m:l} var b=ki(),c=Math.max(b.length-1,0),d=mi(b);b=d.o;var e=d.u,f=d.w,k=[];f&&k.push(new si([f.url,f.Es?2:0],a(f.depth,1)));e&&e!=f&&k.push(new si([e.url,2],0));b.url&&b!=f&&k.push(new si([b.url,0],a(b.depth,c)));d=(0,g.Cc)(k,function(l,m){return k.slice(0,k.length-m)}); !b.url||(f||e)&&b!=f||(e=wba(b.url))&&d.push([new si([e,1],a(b.depth,c))]);d.push([]);return(0,g.Cc)(d,function(l){return Iba(c,l)})}; Iba=function(a,b){(0,g.ti)(b,function(e){return 0<=e.depth}); var c=(0,g.ui)(b,function(e,f){return Math.max(e,f.depth)},-1),d=qaa(c+2); d[0]=a;(0,g.y)(b,function(e){return d[e.depth+1]=e.o}); return d}; Kba=function(){var a=Jba();return(0,g.Cc)(a,function(b){return pi(b)})}; vi=function(){this.u=new ji;this.o=fi()?new gi:new ei}; Lba=function(){wi();var a=hi.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&g.Ma(hi.setInterval)&&g.Ma(hi.clearInterval)&&g.Ma(hi.setTimeout)&&g.Ma(hi.clearTimeout))}; xi=function(a){wi();var b=Sh()||hi;b.google_image_requests||(b.google_image_requests=[]);var c=b.document.createElement("img");c.src=a;b.google_image_requests.push(c)}; yi=function(){wi();return Kba()}; zi=function(){}; wi=function(){return zi.getInstance().getContext()}; Ai=function(a){Ng(this,a,null,null)}; Mba=function(a){this.A=a;this.o=-1;this.u=this.w=0}; Bi=function(a,b){return function(c){for(var d=[],e=0;eMath.random())}; Li=function(a){a&&Ki&&Ii()&&(Ki.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Ki.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; Oi=function(){var a=Mi;this.B=Ni;this.A="jserror";this.w=!0;this.o=null;this.C=this.u;this.Ga=void 0===a?null:a}; Ri=function(a,b,c,d){return Bi(Di.getInstance().u.o,function(){try{if(a.Ga&&a.Ga.o){var e=a.Ga.start(b.toString(),3);var f=c();a.Ga.end(e)}else f=c()}catch(m){var k=a.w;try{Li(e);var l=new Pi(Qi(m));k=a.C(b,l,void 0,d)}catch(n){a.u(217,n)}if(!k)throw m;}return f})()}; Ti=function(a,b,c){var d=Si;return Bi(Di.getInstance().u.o,function(e){for(var f=[],k=0;kd?500:k}; dj=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,jh(a)&&(c=a,b=d);return{Bd:c,level:b}}; ej=function(a){var b=a!==a.top,c=a.top===dj(a).Bd,d=-1,e=0;if(b&&c&&a.top.mraid){d=3;var f=a.top.mraid}else d=(f=a.mraid)?b?c?2:1:0:-1;f&&(f.IS_GMA_SDK||(e=2),Db(Wba,function(k){return g.Ma(f[k])})||(e=1)); return{af:f,compatibility:e,GO:d}}; Xba=function(a){return(a=a.document)&&g.Ma(a.elementFromPoint)}; fj=function(a,b,c,d){var e=void 0===e?!1:e;c=Ti(d,c,void 0);ah(a,b,c,{capture:e})}; gj=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c}; hj=function(a){return new nh(a.top,a.right,a.bottom,a.left)}; ij=function(a){var b=a.top||0,c=a.left||0;return new nh(b,c+(a.width||0),b+(a.height||0),c)}; jj=function(a){return null!=a&&0<=a&&1>=a}; Yba=function(){var a=g.Ic;return a?kj("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;MiBOX".split(";"),function(b){return nc(a,b)})||nc(a,"OMI/")&&!nc(a,"XiaoMi/")?!0:nc(a,"Presto")&&nc(a,"Linux")&&!nc(a,"X11")&&!nc(a,"Android")&&!nc(a,"Mobi"):!1}; lj=function(){this.w=!jh(hi.top);this.isMobileDevice=hh()||ih();var a=ki();this.domain=0c.height?n>t?(e=n,f=p):(e=t,f=u):nc++;){if(a===b)return!0;try{if(a=g.we(a)||a){var d=Wd(a),e=d&&ke(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1}; $ba=function(a,b,c){if(!a||!b)return!1;b=oh(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Sh();jh(d.top)&&d.top&&d.top.document&&(d=d.top);if(!Xba(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Wd(c))&&b.defaultView&&b.defaultView.frameElement)&&Zba(b,a);d=a===c;a=!d&&a&&Ce(a,function(e){return e===c}); return!(b||d||a)}; aca=function(a,b,c,d){return lj.getInstance().w?!1:0>=a.Yc()||0>=a.getHeight()?!0:c&&d?Vi(208,function(){return $ba(a,b,c)}):!1}; rj=function(a,b,c){var d=new nh(0,0,0,0);this.time=a;this.volume=null;this.w=b;this.o=d;this.u=c}; sj=function(a,b,c,d,e,f,k,l){this.F=a;this.G=b;this.C=c;this.B=d;this.o=e;this.A=f;this.u=k;this.w=l}; tj=function(a){this.w=a;this.u=0;this.o=null}; uj=function(a,b,c){this.Bd=a;this.aa=void 0===c?"na":c;this.A=[];this.I=!1;this.w=new rj(-1,!0,this);this.o=this;this.F=b;this.P=this.Z=this.G=!1;this.U="uk";this.ub=!1;this.B=!0}; wj=function(a,b,c){if(!a.P||(void 0===c?0:c))a.P=!0,a.U=b,a.F=0,a.o!=a||vj(a)}; xj=function(a,b){g.$a(a.A,b)||(a.A.push(b),b.Hj(a.o),b.oh(a.w),b.Mf()&&(a.G=!0))}; yj=function(a){a=a.o;a.az();a.Zy();var b=lj.getInstance();b.F=Uh(!1,a.Bd,b.isMobileDevice);a.jH();a.w.o=a.Ex()}; zj=function(a){a.G=a.A.length?kj(a.A,function(b){return b.Mf()}):!1}; Aj=function(a){var b=g.gb(a.A);(0,g.y)(b,function(c){c.oh(a.w)})}; vj=function(a){var b=g.gb(a.A);(0,g.y)(b,function(c){c.Hj(a.o)}); a.o!=a||Aj(a)}; Bj=function(a,b,c,d){this.element=a;this.o=new nh(0,0,0,0);this.B=new nh(0,0,0,0);this.u=b;this.Ya=c;this.P=d;this.ub=!1;this.timestamp=-1;this.A=new sj(b.w,this.element,this.o,new nh(0,0,0,0),0,0,Zi(),0)}; Cj=function(a){this.ub=!1;this.o=a;this.A=g.Ia}; Dj=function(a,b,c){this.w=void 0===c?0:c;this.u=a;this.o=null==b?"":b}; bca=function(a){switch(Math.trunc(a.w)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}}; cca=function(a,b){return new Dj(a.u,a.o,a.w+b)}; Ej=function(a,b){return a.wb.w?!1:a.ub.u?!1:typeof a.otypeof b.o?!1:a.oc?0:a}; mca=function(a,b,c){if(a.Ib){a.Ib.dg();var d=a.Ib.A,e=d.F,f=e.o;if(null!=d.B){var k=d.C;a.lp=new g.Qd(k.left-f.left,k.top-f.top)}f=a.Np()?Math.max(d.o,d.A):d.o;k={};null!==e.volume&&(k.volume=e.volume);e=1===ci(a.Ya,"osddt");var l=a.Ib.getName();switch(l){case "aio":case "iem":case "exc":case "geo":case "gsv":case "mraid":case "nis":case "nio":case "omid":e=!0;break;case "a100":case "na":e=!0;break;default:e||-1!=a.Nl||Xi("av-js",{strategy_name:l,bin:Di.getInstance().o})}e?(e=a.zx(d),a.Bo=d,a.sa(f, b,c,!1,k,e,d.w)):a.sa(f,b,c,!1,k,a.Vr(b),d.w)}}; nca=function(a){if(a.In&&a.Km){var b=1==ci(a.Ya,"od"),c=lj.getInstance().o,d=a.Km,e=a.Ib?a.Ib.getName():"ns",f=new g.Sd(c.Yc(),c.getHeight());c=a.Np();a={KO:e,lp:a.lp,gP:f,Np:c,vb:a.ie.vb,dP:b};if(b=d.u){b.dg();e=b.A;f=e.F.o;var k=null,l=null;null!=e.B&&f&&(k=e.C,k=new g.Qd(k.left-f.left,k.top-f.top),l=new g.Sd(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.o,e.A):e.o;c={KO:b.getName(),lp:k,gP:l,Np:c,dP:!1,vb:e}}else c=null;c&&gca(d,a,c)}}; oca=function(a,b,c){b&&(a.Rs=b);c&&(a.EC=c)}; ek=function(){}; gk=function(a){if(a instanceof ek)return a;if("function"==typeof a.Zf)return a.Zf(!1);if(g.La(a)){var b=0,c=new ek;c.next=function(){for(;;){if(b>=a.length)throw fk;if(b in a)return a[b++];b++}}; return c}throw Error("Not implemented");}; g.hk=function(a,b,c){if(g.La(a))try{(0,g.y)(a,b,c)}catch(d){if(d!==fk)throw d;}else{a=gk(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==fk)throw d;}}}; pca=function(a){if(g.La(a))return g.gb(a);a=gk(a);var b=[];g.hk(a,function(c){b.push(c)}); return b}; qca=function(){this.A=this.o=this.w=this.u=this.B=0}; rca=function(a){var b={};var c=(0,g.H)()-a.B;b=(b.ptlt=c,b);(c=a.u)&&(b.pnk=c);(c=a.w)&&(b.pnc=c);(c=a.A)&&(b.pnmm=c);(a=a.o)&&(b.pns=a);return b}; ik=function(){Vh.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.w=-1}; jk=function(a){return jj(a.volume)&&.1<=a.volume}; sca=function(){var a={};this.u=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.avs=[64,0],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.o={};for(var b in this.u)0=a.w/2:0=a.V:!1:!1}; yca=function(a){var b=gj(a.ie.vb,2),c=a.yc.w,d=a.ie,e=xk(a),f=wk(e.A),k=wk(e.C),l=wk(d.volume),m=gj(e.F,2),n=gj(e.M,2),p=gj(d.vb,2),t=gj(e.R,2),u=gj(e.V,2);d=gj(d.Wd,2);a=a.ih().clone();a.round();e=Yj(e,!1);return{fP:b,Il:c,Lo:f,Ho:k,Uk:l,Mo:m,Io:n,vb:p,No:t,Jo:u,Wd:d,position:a,kp:e}}; Bk=function(a,b){Ak(a.o,b,function(){return{fP:0,Il:void 0,Lo:-1,Ho:-1,Uk:-1,Mo:-1,Io:-1,vb:-1,No:-1,Jo:-1,Wd:-1,position:void 0,kp:[]}}); a.o[b]=yca(a)}; Ak=function(a,b,c){for(var d=a.length;dc.time?b:c},a[0])}; $k=function(a,b,c,d){Yk.call(this,a,b,c,d);this.C=this.F=this.w=null}; al=function(a){return a.w&&a.w.takeRecords?a.w.takeRecords():[]}; Rca=function(a){if(!a.element)return!1;var b=a.element,c=a.u.o.Bd,d=Di.getInstance().u.o;a.w=new c.IntersectionObserver(Bi(d,function(e){return Zk(a,e)}),Qca); d=Bi(d,function(){a.w.unobserve(b);a.w.observe(b);Zk(a,al(a))}); c.ResizeObserver?(a.F=new c.ResizeObserver(d),a.F.observe(b)):c.MutationObserver&&(a.C=new g.v.MutationObserver(d),a.C.observe(b,{attributes:!0,childList:!0,characterData:!0,subtree:!0}));a.w.observe(b);Zk(a,al(a));return!0}; bl=function(){var a=/Chrome\/(\d+)/.exec(g.Ic);return a?parseFloat(a[1]):NaN}; cl=function(){var a=/\sCobalt\/(\S+)\s/.exec(g.Ic);if(!a)return NaN;var b=[];a=g.q(a[1].split("."));for(var c=a.next();!c.done;c=a.next())c=parseInt(c.value,10),0<=c&&b.push(c);return parseFloat(b.join("."))}; Sca=function(){var a=/_(TV|STB|GAME|OTT|ATV|BDP)_/.exec(g.Ic);return a?a[1]:""}; el=function(){return dl("android")&&dl("chrome")&&!(dl("trident/")||dl("edge/"))}; fl=function(){return dl("armv7")||dl("aarch64")||dl("android")}; g.gl=function(){return dl("cobalt")}; hl=function(){return dl("cobalt")&&dl("appletv")}; il=function(){return dl("(ps3; leanback shell)")||dl("ps3")&&g.gl()}; jl=function(){return dl("(ps4; leanback shell)")||dl("ps4")&&g.gl()}; g.kl=function(){return g.gl()&&(dl("ps4 vr")||dl("ps4 pro vr"))}; ll=function(){var a=/WebKit\/([0-9]+)/.exec(g.Ic);return!!(a&&600<=parseInt(a[1],10))}; ml=function(){return dl("iemobile")||dl("windows phone")&&dl("edge")}; ol=function(){return nl&&dl("applewebkit")&&!dl("version")&&(!dl("safari")||dl("gsa/"))}; pl=function(){return dl("smart-tv")&&dl("samsung")}; dl=function(a){var b=g.Ic;return b?0<=b.toLowerCase().indexOf(a):!1}; ql=function(a){a=void 0===a?hi:a;Cj.call(this,new uj(a,2))}; sl=function(){var a=rl();uj.call(this,hi.top,a,"geo")}; rl=function(){Di.getInstance();var a=lj.getInstance();return a.w||a.u?0:2}; tl=function(){}; ul=function(){this.done=!1;this.o={QD:0,Vv:0,TT:0,Pw:0,xs:-1,pE:0,oE:0,qE:0};this.B=null;this.C=!1;this.u=null;this.F=0;this.w=new tj(this)}; wl=function(){var a=vl;a.C||(a.C=!0,Tca(a,function(b){for(var c=[],d=0;dg.Gb(Yca).length?null:(0,g.ui)(b,function(c,d){var e=d.toLowerCase().split("=");if(2!=e.length||void 0===Ll[e[0]]||!Ll[e[0]](e[1]))throw Error("Entry ("+e[0]+", "+e[1]+") is invalid.");c[e[0]]=e[1];return c},{})}catch(c){return null}}; $ca=function(a,b){if(void 0==a.o)return 0;switch(a.B){case "mtos":return a.u?Uj(b.o,a.o):Uj(b.u,a.o);case "tos":return a.u?Sj(b.o,a.o):Sj(b.u,a.o)}return 0}; Ml=function(a,b,c,d){pk.call(this,b,d);this.F=a;this.C=c}; Nl=function(a){pk.call(this,"fully_viewable_audible_half_duration_impression",a)}; Ol=function(a,b){pk.call(this,a,b)}; Pl=function(){this.u=this.A=this.C=this.B=this.w=this.o=""}; ada=function(){}; Ql=function(a,b,c,d,e){var f={};if(void 0!==a)if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.Ma(l)?f[k]=l(a):f[k]=a[l])}else g.Sb(f,a);void 0!==c&&g.Sb(f,c);a=Hj(Gj(new Fj,f));0String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1}; sm=function(a){return!!(1<>>0]|=f<>>0).toString(16)+"&"}); c=105;(0,g.y)(oda,function(d){var e="false";try{e=d(hi)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"}); (0,g.y)(pda,function(d){var e="";try{e=g.cg(d(hi))}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"}); return a.slice(0,-1)}; mda=function(){if(!tm){var a=function(){um=!0;hi.document.removeEventListener("webdriver-evaluate",a,!0)}; hi.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){vm=!0;hi.document.removeEventListener("webdriver-evaluate-response",b,!0)}; hi.document.addEventListener("webdriver-evaluate-response",b,!0);tm=!0}}; rda=function(){this.u=-1}; wm=function(){this.u=64;this.o=Array(4);this.B=Array(this.u);this.A=this.w=0;this.reset()}; xm=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.o[0];c=a.o[1];e=a.o[2];var f=a.o[3];var k=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(k<<17&4294967295|k>>>15); k=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(k<<12&4294967295| k>>>20);k=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(k<< 5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c= e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[7]+1735328473&4294967295; e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(k<<11&4294967295| k>>>21);k=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[12]+ 3873151461&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[12]+1700485571& 4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[13]+1309151649& 4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.o[0]=a.o[0]+b&4294967295;a.o[1]=a.o[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.o[2]=a.o[2]+e&4294967295;a.o[3]=a.o[3]+f&4294967295}; ym=function(){this.u=null}; zm=function(a){return function(b){var c=new wm;c.update(b+a);return pba(c.digest()).slice(-8)}}; Am=function(a,b){this.u=a;this.w=b}; qk=function(a,b,c){var d=a.o(c);if(g.Ma(d)){var e={};e=(e.sv="862",e.cb="j",e.e=sda(b),e);var f=Ek(c,b,oj());g.Sb(e,f);c.RC[b]=f;a=2==c.xf()?fca(e).join("&"):a.w.o(e).o;try{return d(c.jd,a,b),0}catch(k){return 2}}else return 1}; sda=function(a){var b=Kl(a)?"custom_metric_viewable":a;a=Kb(Ck,function(c){return c==b}); return Il[a]}; Bm=function(a,b,c){Am.call(this,a,b);this.A=c}; Cm=function(){dm.call(this);this.C=null;this.B=!1;this.G={};this.w=new ym}; tda=function(a,b,c){c=c.opt_configurable_tracking_events;null!=a.u&&Array.isArray(c)&&fda(a,c,b)}; uda=function(a,b,c){var d=Nk(Rk,b);d||(d=c.opt_nativeTime||-1,d=em(a,b,jm(a),d),c.opt_osdId&&(d.pk=c.opt_osdId));return d}; vda=function(a,b,c){var d=Nk(Rk,b);d||(d=em(a,b,"n",c.opt_nativeTime||-1));return d}; wda=function(a,b){var c=Nk(Rk,b);c||(c=em(a,b,"h",-1));return c}; xda=function(a){Di.getInstance();switch(jm(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null}; Em=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.Sb(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.w.o(Jl("ol",d));if(void 0!==d)if(void 0!==Hl(d))if(gm)b=Jl("ue",d);else if(ida(a),"i"==hm)b=Jl("i",d),b["if"]=0;else if(b=a.co(b,e))if(a.A&&3==b.Cc)b="stopped";else{b:{"i"==hm&&(b.Rj=!0,a.Bu());c=e.opt_fullscreen;void 0!==c&&bk(b,!!c);var f;if(c=!lj.getInstance().u)(c=nc(g.Ic,"CrKey")||nc(g.Ic,"PlayStation")||nc(g.Ic,"Roku")||Yba()||nc(g.Ic,"Xbox"))||(c=g.Ic,c=nc(c,"AppleTV")|| nc(c,"Apple TV")||nc(c,"CFNetwork")||nc(c,"tvOS")),c||(c=g.Ic,c=nc(c,"sdk_google_atv_x86")||nc(c,"Android TV")),c=!c;c&&(wi(),c=0===ii(Rh));if(f=c){switch(b.xf()){case 1:lm(a,b,"pv");break;case 2:a.uu(b)}im("pv")}c=d.toLowerCase();if(!f&&g.$a(yda,c)&&0==b.Cc){"i"!=hm&&(vl.done=!1);f=void 0!==e?e.opt_nativeTime:void 0;cj=f="number"===typeof f?f:Zi();b.In=!0;var k=oj();b.Cc=1;b.Nf={};b.Nf.firstquartile=!1;b.Nf.midpoint=!1;b.Nf.thirdquartile=!1;b.Nf.complete=!1;b.Nf.pause=!1;b.Nf.skip=!1;b.Nf.viewable_impression= !1;b.tr=0;k||(b.Pd().G=f);xl(vl,[b],!k)}0!=b.Cc&&g.$a(zda,c)&&!b.Rj&&b.Gi&&(f=b.Gi,f.o||(f.o=rk(f,b)));(f=b.mj[c])&&kk(b.yc,f);switch(b.xf()){case 1:var l=Kl(c)?a.F.custom_metric_viewable:a.F[c];break;case 2:l=a.P[c]}if(l&&(d=l.call(a,b,e,d),void 0!==d)){e=Jl(void 0,c);g.Sb(e,d);d=e;break b}d=void 0}3==b.Cc&&(a.A?b.Ib&&b.Ib.Zl():a.il(b));b=d}else b=Jl("nf",d);else b=void 0;else gm?b=Jl("ue"):(b=a.co(b,e))?(d=Jl(),g.Sb(d,Dk(b,!0,!1,!1)),b=d):b=Jl("nf");return"string"===typeof b?a.A&&"stopped"===b? Dm:a.w.o(void 0):a.w.o(b)}; Fm=function(a){return Di.getInstance(),"h"!=jm(a)&&jm(a),!1}; Gm=function(a){var b={};return b.viewability=a.o,b.googleViewability=a.w,b.moatInit=a.B,b.moatViewability=a.C,b.integralAdsViewability=a.A,b.doubleVerifyViewability=a.u,b}; Hm=function(a,b,c){c=void 0===c?{}:c;a=Em(Cm.getInstance(),b,c,a);return Gm(a)}; Im=function(a,b){b=void 0===b?!1:b;var c=Cm.getInstance().co(a,{});c?vk(c):b&&(c=Cm.getInstance().zm(null,Zi(),!1,a),c.Cc=3,Uk([c]))}; Jm=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"chrome-untrusted"!==a&&"chrome"!==a&&"app"!==a)throw Error("Invalid URI scheme in origin: "+a);c=""; var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c}; Ada=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0} function b(t){for(var u=k,z=0;64>z;z+=4)u[z/4]=t[z]<<24|t[z+1]<<16|t[z+2]<<8|t[z+3];for(z=16;80>z;z++)t=u[z-3]^u[z-8]^u[z-14]^u[z-16],u[z]=(t<<1|t>>>31)&4294967295;t=e[0];var C=e[1],D=e[2],E=e[3],F=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var G=E^C&(D^E);var fa=1518500249}else G=C^D^E,fa=1859775393;else 60>z?(G=C&D|E&(C|D),fa=2400959708):(G=C^D^E,fa=3395469782);G=((t<<5|t>>>27)&4294967295)+G+F+fa+u[z]&4294967295;F=E;E=D;D=(C<<30|C>>>2)&4294967295;C=t;t=G}e[0]=e[0]+t&4294967295;e[1]=e[1]+C&4294967295; e[2]=e[2]+D&4294967295;e[3]=e[3]+E&4294967295;e[4]=e[4]+F&4294967295} function c(t,u){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var z=[],C=0,D=t.length;Cn?c(l,56-n):c(l,64-(n-56));for(var z=63;56<=z;z--)f[z]=u&255,u>>>=8;b(f);for(z=u=0;5>z;z++)for(var C=24;0<=C;C-=8)t[u++]=e[z]>>C&255;return t} for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,p;a();return{reset:a,update:c,digest:d,wE:function(){for(var t=d(),u="",z=0;zb)throw Error("Bad port number "+b);a.A=b}else a.A=null}; Tm=function(a,b,c){b instanceof Vm?(a.w=b,Cda(a.w,a.F)):(c||(b=Wm(b,Dda)),a.w=new Vm(b,a.F))}; g.Xm=function(a){return a instanceof g.Pm?a.clone():new g.Pm(a,void 0)}; Um=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; Wm=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Eda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; Eda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; Vm=function(a,b){this.u=this.o=null;this.w=a||null;this.A=!!b}; Ym=function(a){a.o||(a.o=new g.Mm,a.u=0,a.w&&qd(a.w,function(b,c){a.add(cd(b),c)}))}; $m=function(a,b){Ym(a);b=Zm(a,b);return Nm(a.o.u,b)}; g.an=function(a,b,c){a.remove(b);0document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}; dea=function(a){if(!a)return Ec;var b=document.createElement("div").style,c=$da(a);(0,g.y)(c,function(d){var e=g.je&&d in aea?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");cc(e,"--")||cc(e,"var")||(d=Jn(bea,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[d])||"",d=Zda(d),null!=d&&Jn(cea,b,b.setProperty?"setProperty":"setAttribute",[e,d]))}); return Jaa(b.cssText||"")}; $da=function(a){g.La(a)?a=g.gb(a):(a=g.Gb(a),g.db(a,"cssText"));return a}; g.Ln=function(a){var b,c=b=0,d=!1;a=a.split(eea);for(var e=0;e(0,g.H)()}; g.$n=function(a){this.o=a}; kea=function(){}; ao=function(){}; bo=function(a){this.o=a}; co=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.o=a}; eo=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.o=a}; go=function(a,b){this.u=a;this.o=null;if(g.he&&!g.Ld(9)){fo||(fo=new g.Mm);this.o=fo.get(a);this.o||(b?this.o=document.getElementById(b):(this.o=document.createElement("userdata"),this.o.addBehavior("#default#userData"),document.body.appendChild(this.o)),fo.set(a,this.o));try{this.o.load(this.u)}catch(c){this.o=null}}}; ho=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return lea[b]})}; io=function(a){try{a.o.save(a.u)}catch(b){throw"Storage mechanism: Quota exceeded";}}; jo=function(a,b){this.u=a;this.o=b+"::"}; g.ko=function(a){var b=new co;return b.isAvailable()?a?new jo(b,a):b:null}; lo=function(a,b){this.o=a;this.u=b}; mo=function(a){this.o=[];if(a)a:{if(a instanceof mo){var b=a.te();a=a.Ed();if(0>=this.o.length){for(var c=this.o,d=0;d>1,a[d].o>c.o)a[b]=a[d],b=d;else break;a[b]=c}; g.oo=function(){mo.call(this)}; po=function(){}; qo=function(a){Ng(this,a,mea,null)}; ro=function(a){Ng(this,a,null,null)}; nea=function(a,b){for(;ng(b)&&4!=b.u;)switch(b.w){case 1:var c=qg(b);Qg(a,1,c);break;case 2:c=qg(b);Qg(a,2,c);break;case 3:c=qg(b);Qg(a,3,c);break;case 4:c=qg(b);Qg(a,4,c);break;case 5:c=lg(b.o);Qg(a,5,c);break;default:og(b)}return a}; oea=function(a){a=a.split("");var b=[null,-1713709306,function(c){for(var d=c.length;d;)c.push(c.splice(--d,1)[0])}, 1537509927,-1085997285,-2004441746,null,1514390249,a,-1727948138,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(0,1,c.splice(d,1,c[0])[0])}, 268602481,-412932477,function(c,d){for(var e=64,f=[];++e-f.length-32;)switch(e){case 94:case 95:case 96:break;case 123:e-=76;case 92:case 93:continue;case 58:e=44;case 91:break;case 46:e=95;default:f.push(String.fromCharCode(e))}c.forEach(function(k,l,m){this.push(m[l]=f[(f.indexOf(k)-f.indexOf(this[l])+l-32+e--)%f.length])},d.split(""))}, -1490306595,-1564815556,-412932477,-1052598320,1831551597,-1052598320,1173560505,1277646858,1078922486,"now",643470030,function(c,d){for(var e=64,f=[];++e-f.length-32;){switch(e){case 58:e-=14;case 91:case 92:case 93:continue;case 123:e=47;case 94:case 95:case 96:continue;case 46:e=95}f.push(String.fromCharCode(e))}c.forEach(function(k,l,m){this.push(m[l]=f[(f.indexOf(k)-f.indexOf(this[l])+l-32+e--)%f.length])},d.split(""))}, -1211212009,-2052899271,-1754024156,"uJlWOl",function(c,d){c.push(d)}, 1605412962,function(c,d){for(var e=64,f=[];++e-f.length-32;){switch(e){case 58:e-=14;case 91:case 92:case 93:continue;case 123:e=47;case 94:case 95:case 96:continue;case 46:e=95}f.push(String.fromCharCode(e))}c.forEach(function(k,l,m){this.push(m[l]=f[(f.indexOf(k)-f.indexOf(this[l])+l-32+e--)%f.length])},d.split(""))}, null,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(d,1)}, 1507781321,function(c){c.reverse()}, 1381807086,function(c,d){d=(d%c.length+c.length)%c.length;var e=c[0];c[0]=c[d];c[d]=e}, a,-447989605,"now",a,-444958683,-70039377,-1411955588,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(-d).reverse().forEach(function(e){c.unshift(e)})}, -2122552473,-410857127,-1194794,756895321,function(c,d){for(d=(d%c.length+c.length)%c.length;d--;)c.unshift(c.pop())}, -1742591411,1078922486];b[0]=b;b[6]=b;b[33]=b;b[32](b[42],b[41]);b[51](b[8],b[45]);b[38](b[6],b[48]);b[51](b[39],b[19]);b[36](b[37]);b[51](b[16]);b[38](b[37],b[50]);b[34](b[8],b[40]);b[2](b[42]);b[38](b[33],b[0]);b[2](b[33]);b[17](b[47]);b[10](b[6],b[3]);b[51](b[42],b[24]);b[51](b[37],b[11]);b[11](b[34],b[53]);b[39](b[7],b[32]);b[11](b[9],b[16]);b[11](b[34],b[19]);b[31](b[38],b[26]);b[35](b[0],b[2]);b[47](b[43],b[45]);b[39](b[38],b[13]);b[31](b[34],b[28]);b[52](b[34],b[10]);b[53](b[1],b[20]);b[53](b[21], b[35]);b[5](b[48],b[2]);b[38](b[27],b[42]);b[2](b[34],b[28]);b[23](b[5],b[36]);b[11](b[2],b[25]);b[6](b[7],b[53]);b[19](b[10],b[51]);b[6](b[10],b[45]);b[34](b[10],b[31]);b[37](b[23],b[54]);b[19](b[10],b[15]);b[19](b[7],b[27]);b[19](b[10],b[17]);b[2](b[23],b[4]);return a.join("")}; to=function(a){var b=arguments,c=so;1f&&(c=a.substring(f,e),c=c.replace(rea,""),c=c.replace(sea,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else tea(a,b,c)}; tea=function(a,b,c){c=void 0===c?null:c;var d=Uo(a),e=document.getElementById(d),f=e&&Co(e),k=e&&!f;f?b&&b():(b&&(f=g.Oo(d,b),b=""+g.Pa(b),Vo[b]=f),k||(e=uea(a,d,function(){Co(e)||(Bo(e,"loaded","true"),g.Qo(d),g.Ho(g.Qa(So,d),0))},c)))}; uea=function(a,b,c,d){d=void 0===d?null:d;var e=g.oe("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);$c(e,gh(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; Uo=function(a){var b=document.createElement("a");g.Yc(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+gd(a)}; cp=function(){g.Jo(Wo);g.Jo(Xo);Xo=0;Yo&&Yo.isReady()?(Zo($o),"log_event"in ap&&Zo(Object.entries(ap.log_event)),$o.clear(),delete ap.log_event):bp()}; bp=function(){g.xo("web_gel_timeout_cap")&&!Xo&&(Xo=g.Ho(cp,6E4));g.Jo(Wo);var a=g.L("LOGGING_BATCH_TIMEOUT",yo("web_gel_debounce_ms",1E4));g.xo("shorten_initial_gel_batch_timeout")&&dp&&(a=vea);Wo=g.Ho(cp,a)}; Zo=function(a){var b=Yo,c=Math.round((0,g.N)());a=g.q(a);for(var d=a.next();!d.done;d=a.next()){var e=g.q(d.value);d=e.next().value;var f=e.next().value;e=g.Qb(g.ep(b));e.events=f;(f=fp[d])&&wea(e,d,f);delete fp[d];xea(e,c);g.gp(b,"log_event",e,{retry:!0,onSuccess:function(){hp=Math.round((0,g.N)()-c)}}); dp=!1}}; xea=function(a,b){a.requestTimeMs=String(b);g.xo("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);var c=g.L("EVENT_ID",void 0);if(c){var d=g.L("BATCH_CLIENT_COUNTER",void 0)||0;!d&&g.xo("web_client_counter_random_seed")&&(d=Math.floor(Math.random()*ip/2));d++;d>ip&&(d=1);to("BATCH_CLIENT_COUNTER",d);c={serializedEventId:c,clientCounter:String(d)};a.serializedClientEventId=c;jp&&hp&&g.xo("log_gel_rtt_web")&&(a.previousBatchInfo={serializedClientEventId:jp,roundtripMs:String(hp)});jp= c;hp=0}}; wea=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}]}; vp=function(){if(g.xo("use_typescript_transport"))cp();else if(g.Jo(kp),g.Jo(lp),lp=0,!g.Mb(mp)){for(var a in mp){var b=np[a];if(b&&b.isReady()){var c=void 0,d=a,e=yea[d],f=Math.round((0,g.N)());for(c in mp[d]){var k=g.Qb(g.ep(b));k[e]=op(d,c);var l=pp[c];if(l)a:{var m=k,n=c;if(l.videoId)var p="VIDEO";else if(l.playlistId)p="PLAYLIST";else break a;m.credentialTransferTokenTargetId=l;m.context=m.context||{};m.context.user=m.context.user||{};m.context.user.credentialTransferTokens=[{token:n,scope:p}]}delete pp[c]; l=k;l.requestTimeMs=f;g.xo("unsplit_gel_payloads_in_logs")&&(l.unsplitGelPayloadsInLogs=!0);if(p=g.L("EVENT_ID",void 0))m=g.L("BATCH_CLIENT_COUNTER",void 0)||0,!m&&g.xo("web_client_counter_random_seed")&&(m=Math.floor(Math.random()*qp/2)),m++,m>qp&&(m=1),to("BATCH_CLIENT_COUNTER",m),p={serializedEventId:p,clientCounter:m},l.serializedClientEventId=p,rp&&sp&&g.xo("log_gel_rtt_web")&&(l.previousBatchInfo={serializedClientEventId:rp,roundtripMs:sp}),rp=p,sp=0;g.gp(b,d,k,{retry:zea.has(d),onSuccess:g.Qa(Aea, (0,g.N)())})}delete mp[a];tp=!1}}g.Mb(mp)||up()}}; up=function(){g.xo("web_gel_timeout_cap")&&!lp&&(lp=g.Ho(vp,6E4));g.Jo(kp);var a=g.L("LOGGING_BATCH_TIMEOUT",yo("web_gel_debounce_ms",1E4));g.xo("shorten_initial_gel_batch_timeout")&&tp&&(a=Bea);kp=g.Ho(vp,a)}; op=function(a,b){b=void 0===b?"":b;mp[a]=mp[a]||{};mp[a][b]=mp[a][b]||[];return mp[a][b]}; Aea=function(a){sp=Math.round((0,g.N)()-a)}; xp=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=wp+"VisibilityState";if(b in a)return a[b]}; yp=function(a,b){var c;kj(a,function(d){c=b[d];return!!c}); return c}; zp=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.changedTouches=this.touches=null;try{if(a=a||window.event){this.event=a;for(var b in a)b in Cea||(this[b]=a[b]);this.rotation=a.rotation;var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget;if(d)try{d=d.nodeName? d:null}catch(e){d=null}else"mouseover"==this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.o=a.pageX;this.u=a.pageY}}catch(e){}}; Ap=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.o=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.u=a.clientY+b}}; Dea=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Kb(Bp,function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,k=g.Na(e[4])&&g.Na(d)&&g.Ob(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})}; g.Ep=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Dea(a,b,c,d);if(e)return e;e=++Cp.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var k=f?function(l){l=new zp(l);if(!Ce(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new zp(l); l.currentTarget=a;return c.call(a,l)}; k=Fo(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Dp()||"boolean"===typeof d?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);Bp[e]=[a,b,c,k,d];return e}; Eea=function(a,b,c,d){var e=a||document;return g.Ep(e,b,function(f){var k=Ce(f.target,function(l){return l===e||d(l)},!0); k&&k!==e&&!k.disabled&&(f.currentTarget=k,c.call(k,f))})}; g.Fp=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.y)(a,function(b){if(b in Bp){var c=Bp[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Dp()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete Bp[b]}}))}; g.Gp=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}; Hp=function(a){a=a||window.event;var b;a.composedPath&&g.Ma(a.composedPath)?b=a.composedPath():b=a.path;return b&&b.length?b[0]:g.Gp(a)}; Ip=function(a){a=a||window.event;var b=a.relatedTarget;b||("mouseover"==a.type?b=a.fromElement:"mouseout"==a.type&&(b=a.toElement));return b}; Jp=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;document.body&&document.documentElement&&("number"!==typeof b&&(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),"number"!==typeof c&&(c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop));return new g.Qd(b,c)}; g.Kp=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()}; g.Lp=function(a){a=a||window.event;return!1===a.returnValue||a.iy&&a.iy()}; g.Mp=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which}; g.Np=function(a,b,c,d){return Eea(a,b,c,function(e){return g.Bn(e,d)})}; g.Op=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.Ep(a,b,function(){g.Fp(e);c.apply(a,arguments)},d)}; Pp=function(a){for(var b in Bp)Bp[b][0]==a&&g.Fp(b)}; Qp=function(a){this.I=a;this.o=null;this.B=0;this.C=null;this.A=0;this.u=[];for(a=0;4>a;a++)this.u.push(0);this.w=0;this.G=g.Ep(window,"mousemove",(0,g.x)(this.M,this));this.P=Io((0,g.x)(this.F,this),25)}; Fea=function(){}; Sp=function(a,b){return Rp(a,0,b)}; g.Tp=function(a,b){return Rp(a,1,b)}; Up=function(){}; g.Vp=function(){return!!g.w("yt.scheduler.instance")}; Rp=function(a,b,c){isNaN(c)&&(c=void 0);var d=g.w("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):g.Ho(a,c||0)}; g.Wp=function(a){if(!isNaN(a)){var b=g.w("yt.scheduler.instance.cancelJob");b?b(a):g.Jo(a)}}; Xp=function(a){var b=g.w("yt.scheduler.instance.setPriorityThreshold");b&&b(a)}; $p=function(){var a={},b=void 0===a.VF?!0:a.VF;a=void 0===a.VN?!1:a.VN;if(null==g.w("_lact",window)){var c=parseInt(g.L("LACT"),10);c=isFinite(c)?(0,g.H)()-Math.max(c,0):-1;g.Ga("_lact",c,window);g.Ga("_fact",c,window);-1==c&&Yp();g.Ep(document,"keydown",Yp);g.Ep(document,"keyup",Yp);g.Ep(document,"mousedown",Yp);g.Ep(document,"mouseup",Yp);b&&(a?g.Ep(window,"touchmove",function(){Zp("touchmove",200)},{passive:!0}):(g.Ep(window,"resize",function(){Zp("resize",200)}),g.Ep(window,"scroll",function(){Zp("scroll", 200)}))); new Qp(function(){Zp("mouse",100)}); g.Ep(document,"touchstart",Yp,{passive:!0});g.Ep(document,"touchend",Yp,{passive:!0})}}; Zp=function(a,b){aq[a]||(aq[a]=!0,g.Tp(function(){Yp();aq[a]=!1},b))}; Yp=function(){null==g.w("_lact",window)&&($p(),g.w("_lact",window));var a=(0,g.H)();g.Ga("_lact",a,window);-1==g.w("_fact",window)&&g.Ga("_fact",a,window);(a=g.w("ytglobal.ytUtilActivityCallback_"))&&a()}; bq=function(){var a=g.w("_lact",window),b;null==a?b=-1:b=Math.max((0,g.H)()-a,0);return b}; g.fq=function(a,b,c,d){d=void 0===d?{}:d;var e={};e.eventTimeMs=Math.round(d.timestamp||(0,g.N)());e[a]=b;e.context={lastActivityMs:String(d.timestamp?-1:bq())};g.xo("log_sequence_info_on_gel_web")&&d.bj&&(a=e.context,b=d.bj,cq[b]=b in cq?cq[b]+1:0,a.sequence={index:cq[b],groupKey:b},d.CE&&delete cq[d.bj]);d=d.al;g.xo("use_typescript_transport")?(a="",d&&(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),fp[d.token]=a,a=d.token),d=$o.get(a)||[],$o.set(a,d),d.push(e),c&& (Yo=new c),c=yo("web_logging_max_batch")||100,e=(0,g.N)(),d.length>=c?cp():10<=e-dq&&(bp(),dq=e)):(d?(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),pp[d.token]=a,d=op("log_event",d.token)):d=op("log_event"),d.push(e),c&&(np.log_event=new c),c=yo("web_logging_max_batch")||100,e=(0,g.N)(),d.length>=c?vp():10<=e-eq&&(up(),eq=e))}; gq=function(){return g.w("yt.ads.biscotti.lastId_")||""}; hq=function(a){g.Ga("yt.ads.biscotti.lastId_",a,void 0)}; iq=function(a){a=a.split("&");for(var b={},c=0,d=a.length;ck.status)?k.json().then(m,function(){m(null)}):m(null)}}); b.AA&&0l.status,t=500<=l.status&&600>l.status;if(m||p||t)n=Mea(c,l,b.tT);if(m)a:if(l&&204==l.status)m=!0;else{switch(c){case "XML":m=0==parseInt(n&&n.return_code,10);break a;case "RAW":m=!0;break a}m=!!n}n=n||{};p=b.context||g.v;m?b.onSuccess&&b.onSuccess.call(p,l,n):b.onError&&b.onError.call(p,l,n);b.Fc&&b.Fc.call(p,l,n)}},b.method,d,b.headers,b.responseType, b.withCredentials); b.Ud&&0Math.random()&&g.Go(Error("Missing VISITOR_DATA when sending innertube request."));c={headers:{"Content-Type":"application/json"},method:"POST",sb:c,tB:"JSON",Ud:function(){d.Ud()}, AA:d.Ud,onSuccess:function(k,l){if(d.onSuccess)d.onSuccess(l)}, JT:function(k){if(d.onSuccess)d.onSuccess(k)}, onError:function(k,l){if(d.onError)d.onError(l)}, IT:function(k){if(d.onError)d.onError(k)}, timeout:d.timeout,withCredentials:!0};var e="",f=a.o.qo;f&&(e=f);f=Qea(a.o.ey||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=g.oq(""+e+("/youtubei/"+a.o.innertubeApiVersion+"/"+b),{alt:"json",key:a.o.innertubeApiKey});try{g.xo("use_fetch_for_op_xhr")?Lea(a,c):g.Iq(a,c)}catch(k){if("InvalidAccessError"==k)g.Go(Error("An extension is blocking network request."));else throw k;}}; g.Rq=function(a,b,c){c=void 0===c?{}:c;var d=g.Qq;g.L("ytLoggingEventsDefaultDisabled",!1)&&g.Qq==g.Qq&&(d=null);g.fq(a,b,d,c)}; Sq=function(a,b){for(var c=[],d=1;d"',style:"display:none"}),Wd(a).body.appendChild(a))):e?Fq(a,b,"POST",e,d):g.L("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?Fq(a,b,"GET","",d):Vea(a,b)||Wea(a,b))}; Vea=function(a,b){if(!vo("web_use_beacon_api_for_ad_click_server_pings"))return!1;if(vo("use_sonic_js_library_for_v4_support")){a:{try{var c=new kaa({url:a,cP:!0});if(c.B?c.w&&c.o&&c.o[1]||c.A:c.u){var d=ld(g.nd(5,a));var e=!(!d||!d.endsWith("/aclk")||"1"!==Cd(a,"ri"));break a}}catch(f){}e=!1}if(!e)return!1}else if(e=ld(g.nd(5,a)),!e||-1==e.indexOf("/aclk")||"1"!==Cd(a,"ae")||"1"!==Cd(a,"act"))return!1;return dr(a)?(b&&b(),!0):!1}; er=function(a,b,c){c=void 0===c?"":c;dr(a,c)?b&&b():g.cr(a,b,void 0,void 0,c)}; dr=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1}; Wea=function(a,b){var c=new Image,d=""+Xea++;fr[d]=c;c.onload=c.onerror=function(){b&&fr[d]&&b();delete fr[d]}; c.src=a}; g.hr=function(a,b){var c=g.Pb(b),d;return Lf(new zf(function(e,f){c.onSuccess=function(k){g.yq(k)?e(k):f(new gr("Request failed, status="+xq(k),"net.badstatus",k))}; c.onError=function(k){f(new gr("Unknown request error","net.unknown",k))}; c.Ud=function(k){f(new gr("Request timed out","net.timeout",k))}; d=g.Eq(a,c)}),function(e){e instanceof Qf&&d.abort(); return Ef(e)})}; g.ir=function(a,b,c,d){function e(k,l,m){return Lf(k,function(n){return 0>=l||403===xq(n.Ji)?Ef(new gr("Request retried too many times","net.retryexhausted",n.Ji)):f(m).then(function(){return e(g.hr(a,b),l-1,Math.pow(2,c-l+1)*m)})})} function f(k){return new zf(function(l){setTimeout(l,k)})} return e(g.hr(a,b),c-1,d)}; gr=function(a,b,c){Ta.call(this,a+", errorCode="+b);this.errorCode=b;this.Ji=c;this.name="PromiseAjaxError"}; jr=function(){this.u=0;this.o=null}; kr=function(a){var b=new jr;a=void 0===a?null:a;b.u=2;b.o=void 0===a?null:a;return b}; lr=function(a){var b=new jr;a=void 0===a?null:a;b.u=1;b.o=void 0===a?null:a;return b}; nr=function(a){Ta.call(this,a.message||a.description||a.name);this.isMissing=a instanceof mr;this.isTimeout=a instanceof gr&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof Qf}; mr=function(){Ta.call(this,"Biscotti ID is missing from server")}; Yea=function(){if("1"===g.Hb(g.L("PLAYER_CONFIG",{}),"args","privembed"))return Ef(Error("Biscotti ID is not available in private embed mode"));or||(or=Lf(g.hr("//googleads.g.doubleclick.net/pagead/id",pr).then(qr),function(a){return rr(2,a)})); return or}; qr=function(a){a=a.responseText;if(!cc(a,")]}'"))throw new mr;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new mr;a=a.id;hq(a);or=lr(a);sr(18E5,2);return a}; rr=function(a,b){var c=new nr(b);hq("");or=kr(c);0b;b++){c=(0,g.H)();for(var d=0;d> "+a.translationLanguage.languageName);return c.join("")}; Us=function(a,b){this.id=a;this.tb=b;this.captionTracks=[];this.Pn=this.sr=this.o=null;this.dr="UNKNOWN"}; Vs=function(a,b,c){this.sampleRate=a||0;this.o=b||0;this.spatialAudioType=c||0}; rfa=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d}; Ys=function(a,b,c,d,e,f,k,l,m,n){this.width=a;this.height=b;this.quality=f||Ws(a,b);this.fc=g.Xs[this.quality];this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=k)||(a=g.Xs[this.quality],0==a?a="Auto":(b=this.fps,c=this.projectionType,a=a+(2==c||3==c||4==c?"s":"p")+(55=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"}; dt=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=bt(b);this.mimeType=b;this.o=k||0;this.w=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.tb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.zc=void 0===f?null:f;this.u=sfa[ct(this)]||"";this.A=!0}; ct=function(a){return a.id.split(";",1)[0]}; et=function(a){return"9"==a.u||"("==a.u||"9h"==a.u||"(h"==a.u}; ft=function(a){return"9h"==a.u||"(h"==a.u}; g.gt=function(a){return 1==a.containerType}; ht=function(a){return"application/x-mpegURL"==a.mimeType}; it=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)}; jt=function(a){return a.includes("vtt")||a.includes("text/mp4")}; bt=function(a){return 0<=a.indexOf("/mp4")?1:0<=a.indexOf("/webm")?2:0<=a.indexOf("/x-flv")?3:0<=a.indexOf("/vtt")?4:0}; kt=function(a,b,c,d,e){var f=new Vs;b in g.Xs||(b="small");d&&e?(e=parseInt(e,10),d=parseInt(d,10)):(e=g.Xs[b],d=Math.round(16*e/9));b=new Ys(d,e,0,null,void 0,b,void 0,void 0,void 0);a=unescape(a.replace(/"/g,'"'));return new dt(c,a,f,b)}; mt=function(){return g.Ba(function(a){lt||(lt=new Promise(function(b,c){var d=indexedDB.open("yt-player-local-media",3);d.onerror=function(e){"VersionError"==e.target.error.name?(e=indexedDB.open("yt-player-local-media"),e.onsuccess=function(f){return void b(f.target.result)},e.onerror=c):c()}; d.onsuccess=function(e){var f=e.target.result;f.onversionchange=function(){f.close();lt=null}; b(f)}; d.onupgradeneeded=function(e){var f=e.target.result;2>e.oldVersion&&(f.createObjectStore("index"),f.createObjectStore("media"));3>e.oldVersion&&f.createObjectStore("metadata")}})); return a["return"](lt)})}; tfa=function(a){var b;return g.Ba(function(c){if(1==c.o)return g.ta(c,mt(),2);b=c.u;return c["return"](nt(b.transaction("media").objectStore("media").get(a)))})}; ot=function(a,b){var c,d;return g.Ba(function(e){c=IDBKeyRange.bound(b+"|",b+"~");d=a.objectStore("index").getAll(c);return e["return"](new Promise(function(f,k){d.onsuccess=function(l){return void f(l.target.result.join(","))}; d.onerror=k}))})}; ufa=function(){var a;return g.Ba(function(b){if(1==b.o)return lt?b=g.ta(b,lt,3):(b.o=2,b=void 0),b;2!=b.o&&(a=b.u,a.close(),lt=null);return b["return"](new Promise(function(c,d){var e=indexedDB.deleteDatabase("yt-player-local-media");e.onsuccess=function(){return void c()}; e.onerror=function(){return void d()}}))})}; qt=function(a){if(!pt||(void 0===a?0:a)){a=window.localStorage["yt-player-lv"]||"{}";try{pt=JSON.parse(a)}catch(b){pt={}}}return pt}; rt=function(a){return qt()[a]||0}; vfa=function(){var a=qt();return Object.keys(a)}; tt=function(a){var b=qt();return Object.keys(b).filter(function(c){return b[c]===a})}; ut=function(a,b){var c=qt(!0);0!==b?c[a]=b:delete c[a];c=JSON.stringify(pt);window.localStorage["yt-player-lv"]=c}; wfa=function(a,b){var c,d;g.Ba(function(e){if(1==e.o)return g.ta(e,mt(),2);c=e.u;d=c.transaction(["metadata"],"readwrite");d.objectStore("metadata").put(b,a);return e["return"](new Promise(function(f,k){d.oncomplete=function(){return void f()}; d.onabort=k}))})}; wt=function(a,b,c,d,e){var f,k,l,m,n,p,t;return g.Ba(function(u){if(1==u.o)return f=""+a+"|"+b.id+"|"+c,k=vt(a,b.isVideo()),l=vt(a,!b.isVideo()),g.ta(u,mt(),2);m=u.u;n=m.transaction(["index","media"],"readwrite");n.objectStore("media").put(d,f);n.objectStore("index").put(e,k);t=(p=!!e&&-1==e.indexOf("dlt"))?n.objectStore("index").get(l):null;return u["return"](new Promise(function(z,C){n.oncomplete=function(){var D=2,E;if(E=p&&t)E=t.result,E=!!E&&-1==E.indexOf("dlt");E&&(D=1,ut(a,D));z(D)}; n.onabort=C}))})}; xfa=function(a,b,c){var d,e,f;g.Ba(function(k){if(1==k.o)return d=vt(a,b),g.ta(k,mt(),2);e=k.u;f=e.transaction("index","readwrite");f.objectStore("index").put(c,d);return k["return"](new Promise(function(l,m){f.oncomplete=function(){return void l()}; f.onabort=m}))})}; yfa=function(a){var b,c;return g.Ba(function(d){if(1==d.o)return g.ta(d,mt(),2);b=d.u;c=b.transaction("index");return d["return"](ot(c,a))})}; zfa=function(a,b,c){return g.Ba(function(d){return d["return"](tfa(""+a+"|"+b+"|"+c))})}; Afa=function(a){var b,c;return g.Ba(function(d){if(1==d.o)return g.ta(d,mt(),2);b=d.u;c=b.transaction(["index","metadata"]);return d["return"](xt(c,a))})}; Bfa=function(){var a,b;return g.Ba(function(c){if(1==c.o)return g.ta(c,mt(),2);a=c.u;b=a.transaction(["index","metadata"]);return c["return"](Promise.all(vfa().map(function(d){return xt(b,d)})))})}; xt=function(a,b){var c,d,e,f,k,l,m,n;return g.Ba(function(p){if(1==p.o)return c=nt(a.objectStore("metadata").get(b)),g.ta(p,ot(a,b),2);if(3!=p.o){d=p.u;e={videoId:b,totalSize:0,downloadedSize:0,status:rt(b),details:null};if(!d.length)return p["return"](e);f=g.lq(d);k=g.q(f);for(l=k.next();!l.done;l=k.next())m=l.value,e.totalSize+=parseInt(m.mket,10)*parseInt(m.avbr,10),e.downloadedSize+=m.hasOwnProperty("dlt")?(parseInt(m.dlt,10)||0)*parseInt(m.avbr,10):parseInt(m.mket,10)*parseInt(m.avbr,10);n=e; return g.ta(p,c,3)}n.details=p.u||null;return p["return"](e)})}; zt=function(a){var b,c,d;return g.Ba(function(e){if(1==e.o)return ut(a,0),g.ta(e,mt(),2);b=e.u;c=b.transaction(["index","media"],"readwrite");d=IDBKeyRange.bound(a+"|",a+"~");return e["return"](new Promise(function(f,k){c.objectStore("index")["delete"](d);c.objectStore("media")["delete"](d);c.oncomplete=function(){return void f()}; c.onabort=k}))})}; Cfa=function(){return g.Ba(function(a){delete window.localStorage["yt-player-lv"];pt=null;return a["return"](ufa())})}; vt=function(a,b){return""+a+"|"+(b?"v":"a")}; nt=function(a){return new Promise(function(b,c){a.onsuccess=function(){return void b(a.result)}; a.onerror=c})}; Dfa=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=iq(b||"");var c={};(0,g.y)(this.experimentIds,function(d){c[d]=!0}); this.experiments=c}; g.P=function(a,b){return"true"==a.flags[b]}; g.Q=function(a,b){return parseFloat(a.flags[b])||0}; g.At=function(a,b){var c=a.flags[b];return c?c.toString():""}; Bt=function(){var a=g.w("yt.player.utils.videoElement_");a||(a=g.oe("VIDEO"),g.Ga("yt.player.utils.videoElement_",a,void 0));return a}; Ct=function(a){var b=Bt();return!!(b&&b.canPlayType&&b.canPlayType(a))}; Et=function(a){if(/opus/.test(a)&&(g.Dt&&!Sn("38")||g.Dt&&dl("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!jl())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!Ct(a)}; Efa=function(a){try{var b=Et('video/mp4; codecs="avc1.42001E"')||Et('video/webm; codecs="vp9"');return(Et('audio/mp4; codecs="mp4a.40.2"')||Et('audio/webm; codecs="opus"'))&&(b||!a)||Ct('video/mp4; codecs="avc1.42001E, mp4a.40.2"')?null:"fmt.noneavailable"}catch(c){return"html5.missingapi"}}; Ft=function(){var a=Bt();return!!a.webkitSupportsPresentationMode&&g.Ma(a.webkitSetPresentationMode)}; Gt=function(){return"pictureInPictureEnabled"in window.document&&!!window.document.pictureInPictureEnabled}; Ht=function(){var a=Bt();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1}; It=function(a,b){this.o=a;this.u=b;this.w=0;Object.defineProperty(this,"timestampOffset",{get:this.kP,set:this.oP});Object.defineProperty(this,"buffered",{get:this.iP})}; Ffa=function(){this.length=0}; Jt=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.o=a;this.u=NaN;this.w=0;Object.defineProperty(this,"duration",{get:this.jP,set:this.nP});Object.defineProperty(this,"readyState",{get:this.lP});this.o.addEventListener("webkitsourceclose",(0,g.x)(this.mP,this),!0)}; Kt=function(){this.length=1}; Lt=function(){this.buffered=new Kt}; Mt=function(a,b){return{start:function(c){return a[c]}, end:function(c){return b[c]}, length:a.length}}; Nt=function(a,b,c){b=void 0===b?",":b;c=void 0===c?0:c;var d=[];if(a)for(c=c&&c=b)return c}catch(d){}return-1}; Pt=function(a,b){return 0<=Ot(a,b)}; Qt=function(a,b){if(!a)return NaN;var c=Ot(a,b);return 0<=c?a.end(c):NaN}; Rt=function(a){return a&&a.length?a.end(a.length-1):NaN}; St=function(a,b){var c=Qt(a,b);return 0<=c?c-b:0}; Tt=function(a,b,c){for(var d=[],e=[],f=0;fc||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return Mt(d,e)}; Ut=function(a,b,c){g.O.call(this);var d=this;this.o=a;this.I=b;this.G=c;this.P=this.w=this.B=null;this.C=0;this.A=function(e){return d.S(e.type,d)}; this.supports(3)&&(this.o.addEventListener("updateend",this.A),this.o.addEventListener("error",this.A));this.M=0;this.F=Mt([],[]);this.u=!1}; Vt=function(a,b,c,d){g.O.call(this);var e=this;this.o=a;this.I={error:function(){!e.ea()&&e.isActive()&&e.S("error",e)}, updateend:function(){!e.ea()&&e.isActive()&&e.S("updateend",e)}}; Jr(this.o,this.I);this.u=b;this.G=c;this.C=0;this.B=Infinity;this.A=0;this.F=this.w=d}; Wt=function(a,b){this.o=a;this.u=void 0===b?!1:b;this.w=!1}; Xt=function(a,b){b=void 0===b?!1:b;g.A.call(this);this.B=new g.Gr(this);g.B(this,this.B);this.u=this.o=null;this.w=a;var c=this.w;c=c.NI?c.o.webkitMediaSourceURL:window.URL.createObjectURL(c);this.Sl=new Wt(c,!0);this.C=b;this.A=null;Hr(this.B,this.w,["sourceopen","webkitsourceopen"],this.kN);Hr(this.B,this.w,["sourceclose","webkitsourceclose"],this.jN)}; Gfa=function(a,b){Yt(a)?g.uf(function(){return b(a)}):a.A=b}; Zt=function(a,b){try{a.w.duration=b}catch(c){}}; $t=function(a){return!!a.o||!!a.u}; Yt=function(a){try{return"open"==a.w.readyState}catch(b){return!1}}; au=function(a){try{return"closed"==a.w.readyState}catch(b){return!0}}; bu=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)}; cu=function(a){return a.o?!!a.o.supports(0):bu()}; du=function(a,b,c,d){if(!a.o||!a.u)return null;var e=a.o.isView()?a.o.o:a.o,f=a.u.isView()?a.u.o:a.u,k=new Xt(a.w,!0);k.Sl=a.Sl;e=new Vt(e,b,c,d);b=new Vt(f,b,c,d);k.o=e;k.u=b;g.B(k,e);g.B(k,b);Yt(a)||a.o.Mp(a.o.Bb());return k}; eu=function(a,b,c){this.o=a;this.M=b;this.R=void 0===c?!1:c;this.C=!!g.w("cast.receiver.platform.canDisplayType");b=g.w("cast.receiver.platform.getValue");this.u=!this.C&&b&&b("max-video-resolution-vpx")||null;this.B={};this.G=!1;this.I=new Set;this.F=!0;this.w=!g.P(a,"html5_disable_protected_hdr");this.A=!1;this.P=g.P(a,"html5_disable_vp9_encrypted")}; Hfa=function(a,b){var c=ct(b);if("0"===c)return!0;var d=b.mimeType;if(g.P(a.o,"html5_disable_codec_on_platform_errors")){if(a.I.has(b.u))return!1}else if("1"==b.u&&a.G)return!1;var e;if(e=b.video&&($s(b.video)||"bt2020"==b.video.primaries))e=!(fu(a,gu)||(g.P(a.o,"html5_hdr_matchmedia_killswitch")?24=c)}; Iu=function(a,b,c){"string"===typeof a&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});a:{if((b=a.mediaContentUrl)&&(b=/\/([ve]|embed)\/([^#?]+)/.exec(b))&&b[2]){b=b[2];break a}b=null}a.videoId=b;return Hu(a)}; Hu=function(a,b,c){if("string"===typeof a)return{videoId:a,startSeconds:b,suggestedQuality:c};b=["endSeconds","startSeconds","mediaContentUrl","suggestedQuality","videoId"];c={};for(var d=0;da.jb())a.segments=[];else{var c=g.Wa(a.segments,function(d){return d.La>=b},a); 0a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-bc;c++){var d=a.getInt8(b+c);if(97>d||122=a.u.byteLength}; Jv=function(a,b,c){var d=new Cv(c);if(!Ev(d,a))return!1;d=Fv(d);if(!Gv(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=d.w+d.o;var e=Hv(d,!0);d=a+(d.w+d.o-b)+e;d=9d;d++)c=256*c+Pv(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+Pv(a),d*=128;return b?c-d:c}; Mv=function(a){var b=Hv(a,!0);a.o+=b}; Kv=function(a){var b=a.o;a.o=0;var c=!1;try{Gv(a,440786851)&&(a.o=0,Gv(a,408125543)&&(c=!0))}catch(d){if(d instanceof RangeError)a.o=0,c=!1,g.Go(d);else throw d;}a.o=b;return c}; Rfa=function(a){if(!Gv(a,440786851,!0))return null;var b=a.o;Hv(a,!1);var c=Hv(a,!0)+a.o-b;a.o=b+c;if(!Gv(a,408125543,!1))return null;Hv(a,!0);if(!Gv(a,357149030,!0))return null;var d=a.o;Hv(a,!1);var e=Hv(a,!0)+a.o-d;a.o=d+e;if(!Gv(a,374648427,!0))return null;var f=a.o;Hv(a,!1);var k=Hv(a,!0)+a.o-f,l=new Uint8Array(c+12+e+k),m=new DataView(l.buffer);l.set(new Uint8Array(a.u.buffer,a.u.byteOffset+b,c));m.setUint32(c,408125543);m.setUint32(c+4,33554431);m.setUint32(c+8,4294967295);l.set(new Uint8Array(a.u.buffer, a.u.byteOffset+d,e),c+12);l.set(new Uint8Array(a.u.buffer,a.u.byteOffset+f,k),c+12+e);return l}; Rv=function(a){var b=a.o,c={Ou:1E6,Pu:1E9,duration:0,yu:0,Bm:0};if(!Gv(a,408125543))return a.o=b,null;c.yu=Hv(a,!0);c.Bm=a.w+a.o;if(Gv(a,357149030))for(var d=Fv(a);!Dv(d);){var e=Hv(d,!1);2807729==e?c.Ou=Lv(d):2807730==e?c.Pu=Lv(d):17545==e?c.duration=Nv(d):Mv(d)}else return a.o=b,null;a.o=b;return c}; Tv=function(a,b,c){var d=a.o,e=[];if(!Gv(a,475249515))return a.o=d,null;for(var f=Fv(a);Gv(f,187);){var k=Fv(f);if(Gv(k,179)){var l=Lv(k);if(Gv(k,183)){k=Fv(k);for(var m=b;Gv(k,241);)m=Lv(k)+b;e.push({ki:m,Gn:l})}}}if(0c&&(c=a.totalLength-b);a.focus(b);if(!ow(a,b,c)){var d=a.u,e=a.w;a.focus(b+c-1);e=new Uint8Array(a.w+a.o[a.u].length-e);for(var f=0,k=d;k<=a.u;k++)e.set(a.o[k],f),f+=a.o[k].length;a.o.splice(d,a.u-d+1,e);nw(a);a.focus(b)}d=a.o[a.u];return new DataView(d.buffer,d.byteOffset+b-a.w,c)}; rw=function(a,b,c){a=qw(a,void 0===b?0:b,void 0===c?-1:c);return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}; tw=function(a){a=rw(a,0,-1);var b=new Uint8Array(a.length);b.set(a);return b}; uw=function(a,b){a.focus(b);return a.o[a.u][b-a.w]}; vw=function(a,b){a.focus(b);return ow(a,b,4)?pw(a).getUint32(b-a.w):256*(256*(256*uw(a,b)+uw(a,b+1))+uw(a,b+2))+uw(a,b+3)}; ww=function(a,b,c){this.info=a;this.o=b instanceof kw?b:new kw([b]);this.o.getLength();this.w=c;this.u=null;this.A=-1;this.B=0}; xw=function(a){return qw(a.o)}; yw=function(a,b){if(1!=a.info.o.info.containerType||0!=a.info.w||!a.info.A)return!0;for(var c=xw(a),d=0,e=0;d+4k)c=!1;else{for(f=k-1;0<=f;f--)c.u.setUint8(c.o+f,d&255),d>>>=8;c.o=e;c=!0}else c=!1;return c}; Dw=function(a){g.gt(a.info.o.info)||a.info.o.info.Bc();if(a.u&&6==a.info.type)return a.u.Ee;if(g.gt(a.info.o.info)){var b=xw(a);var c=0;b=zv(b,1936286840);b=g.q(b);for(var d=b.next();!d.done;d=b.next())d=wv(d.value),c+=d.Sp[0]/d.Wp;c=c||NaN;if(!(0<=c))a:{c=xw(a);b=a.info.o.o;d=0;for(var e,f=0;rv(c,d);){var k=tv(c,d);if(1836476516==k.type)e=ov(k);else if(1836019558==k.type){!e&&b&&(e=pv(b));if(!e){c=NaN;break a}var l=qv(k.data,k.dataOffset,1953653094),m=e,n=qv(l.data,l.dataOffset,1952868452);l=qv(l.data, l.dataOffset,1953658222);var p=bv(n);bv(n);p&2&&bv(n);n=p&8?bv(n):0;var t=bv(l),u=t&1;p=t&4;var z=t&256,C=t&512,D=t&1024;t&=2048;var E=cv(l);u&&bv(l);p&&bv(l);for(var F=u=0;F=b.Gv||1<=d.o)if(a=hx(a),c=Jw(c,Zw(a)),c.u+c.o<=d.u+d.o)return!0;return!1}; fga=function(a,b){var c=b?hx(a):a.o;return new fx(c)}; hx=function(a){a.w||(a.w=bx(a.A));return a.w}; jx=function(a){return 1=l)if(l=e.shift(),k=(k=m.exec(l))?+k[1]/1E3:0)l=(l=n.exec(l))?+l[1]:0,l+=1; else return;c.push(new Wu(p,f,k,NaN,"sq/"+(p+1)));f+=k;l--}a.index.append(c)}}; g.Gx=function(){this.o=0;this.u=new Float64Array(128);this.w=new Float64Array(128);this.B=1;this.A=!1}; Hx=function(a){if(a.u.length=c+d)break}return new lx(e)}; qga=function(a,b){return g.Kx(function(c,d){return g.ir(c,d,4,1E3)},a,b)}; g.Lx=function(a){var b;a.responseType&&"text"!==a.responseType?"arraybuffer"===a.responseType&&(b=Bv(new Uint8Array(a.response))):b=a.responseText;return!b||2048=a.F}; ay=function(a){var b=a.F;isFinite(b)&&($x(a)?a.refresh():(b=Math.max(0,a.P+b-(0,g.N)()),a.A||(a.A=new g.I(a.refresh,b,a),g.B(a,a.A)),a.A.start(b)))}; Bga=function(a){a=a.o;for(var b in a){var c=a[b].index;if(c.Hb())return c.jb()+1}return 0}; by=function(a){if(!isNaN(a.I))return a.I;var b=a.o,c;for(c in b){var d=b[c].index;if(d.Hb()){b=0;for(c=d.Qe();c<=d.jb();c++)b+=d.getDuration(c);b/=d.Cj();b=.5*Math.round(b/.5);d.Cj()>a.ha&&(a.I=b);return b}if(a.isLive&&(d=b[c],d.Ee))return d.Ee}return NaN}; cy=function(a,b){for(var c in a.o){var d=a.o[c].index;if(d.Hb()){var e=d.Re(b),f=d.qt(e);if(f)return f+b-d.gd(e)}}return NaN}; Cga=function(a,b){var c=Lb(a.o,function(e){return e.index.Hb()}); if(!c)return NaN;c=c.index;var d=c.Re(b);return c.gd(d)==b?b:d1E3*a)return"auto"}catch(c){}return g.Es("yt-player-quality")||"auto"}; hy=function(a,b){var c="";49parseInt(c.get("dhmu",d.toString()),10));this.gn=d;this.wa="3"==this.controlsType||this.o||S(!1,a.use_media_volume);this.R=Ht();this.Nn=g.Ky;this.qe=S(!1,a.opt_out_deprecation);var f;b?void 0!=b.hideInfo&&(f=!b.hideInfo):f=a.showinfo;this.Qg=g.Ly(this)&&!this.qe||S(!My(this)&&!Ny(this)&&!this.B,f);this.Vf=b?!!b.mobileIphoneSupportsInlinePlayback:S(!1,a.playsinline);f=this.o&&Oy&&0=Py;d=b?b.useNativeControls:a.use_native_controls;c=this.o;d=Qy(this)||!f&&S(c,d)?"3":"1";this.controlsType= "0"!=(b?b.controlsType:a.controls)?d:"0";this.Wa=this.o;this.color=By("red",a.color,Pga);this.nn="3"==this.controlsType||S(!1,a.modestbranding)&&"red"==this.color;this.ma=!this.u;this.Rg=(d=!this.ma&&!Ny(this)&&!this.P&&!this.B&&!My(this))&&!this.nn&&"1"==this.controlsType;this.Ca=g.Ry(this)&&d&&"0"==this.controlsType&&!this.Rg;this.zo=this.Hn=f;this.Yh=Sy&&!g.Kd(601)?!1:!0;this.fn=this.u||!1;this.Qa=Ny(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=Dy("", a.widget_referrer);this.ac=(!this.w||S(!0,a.enablecastapi))&&"1"==this.controlsType&&!this.o&&(Ny(this)||g.Ry(this)||g.Ty(this))&&!g.Uy(this)&&!Vy(this);this.po=Gt()||Ft();f=b?!!b.supportsAutoplayOverride:S(!1,a.autoplayoverride);this.Tc=!this.o&&!dl("nintendo wiiu")&&!dl("nintendo 3ds")||f;f=b?!!b.enableMutedAutoplay:S(!1,a.mutedautoplay);d=this.fa("embeds_enable_muted_autoplay")&&g.Ly(this);this.Uc=f&&d&&this.R&&!Qy(this);f=(Ny(this)||My(this))&&"blazer"==this.playerStyle;this.pc=b?!!b.disableFullscreen: !S(!0,a.fs);this.da=!this.pc&&(f||Cr());this.bn=this.fa("uniplayer_block_pip")&&el()&&Sn(58)&&!(g.Iy&&dl("version/"));f=g.Ly(this)&&!this.qe;var k;b?void 0!=b.disableRelatedVideos&&(k=!b.disableRelatedVideos):k=a.rel;this.Aa=f||S(!this.B,k);this.Yf=S(!1,a.co_rel);this.C=g.Iy&&dl("version/")&&0=Py?"_top":"_blank";this.Ta=g.Ty(this);this.Kc="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":k="bl";break;case "gmail":k="gm";break;case "books":k="gb";break;case "docs":k="gd"; break;case "duo":k="gu";break;case "google-live":k="gl";break;case "google-one":k="go";break;case "play":k="gp";break;case "chat":k="hc";break;case "hangouts-meet":k="hm";break;case "photos-edu":case "picasaweb":k="pw";break;default:k="yt"}this.V=k;this.Nc=Dy("",a.authuser);var l;b?void 0!=b.disableWatchLater&&(l=!b.disableWatchLater):l=a.showwatchlater;this.Th=(this.u&&!this.aa||!!this.Nc)&&S(!this.P,this.w?l:void 0);this.Xb=b?!!b.disableKeyboardControls:S(!1,a.disablekb);this.loop=S(!1,a.loop); this.pageId=Dy("",a.pageid);this.Tn=S(!0,a.canplaylive);this.wg=S(!1,a.livemonitor);this.disableSharing=S(this.B,b?b.disableSharing:a.ss);(l=a.video_container_override)?(k=l.split("x"),2!==k.length?l=null:(l=Number(k[0]),k=Number(k[1]),l=isNaN(l)||isNaN(k)||0>=l*k?null:new g.Sd(l,k))):l=null;this.Pk=l;this.mute=b?!!b.startMuted:S(!1,a.mute);this.Mc=!this.mute&&S("0"!=this.controlsType,a.store_user_volume);l=b?b.annotationsLoadPolicy:a.iv_load_policy;this.annotationsLoadPolicy="3"==this.controlsType? 3:By(void 0,l,Wy);this.captionsLanguagePreference=b?b.captionsLanguagePreference||"":Dy("",a.cc_lang_pref);l=By(2,a.cc_load_policy,Wy);"3"==this.controlsType&&2==l&&(l=3);this.Xg=l;this.Ic=b?b.hl||"en_US":Dy("en_US",a.hl);this.region=b?b.contentRegion||"US":Dy("US",a.cr);this.hostLanguage=b?b.hostLanguage||"en":Dy("en",a.host_language);this.an=!this.aa&&Math.random()Math.random();this.Jc=a.onesie_hot_config?new Hga(a.onesie_hot_config): void 0;this.isTectonic=!!a.isTectonic}; dz=function(a,b){return!a.B&&el()&&Sn(55)&&"3"==a.controlsType&&!b}; g.ez=function(a){a=Xy(a.G);return"www.youtube-nocookie.com"==a?"www.youtube.com":a}; g.fz=function(a){return g.Uy(a)?"music.youtube.com":g.ez(a)}; gz=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")}; hz=function(a){return Ny(a)&&!g.az(a)}; Qy=function(a){return Sy&&!a.Vf||dl("nintendo wiiu")||dl("nintendo 3ds")?!0:!1}; Vy=function(a){return"area120-boutique"==a.playerStyle}; g.Uy=function(a){return"music-embed"==a.playerStyle}; g.$y=function(a){return/^TVHTML5/.test(a.deviceParams.c)?!0:"TV"==a.deviceParams.cplatform}; Zy=function(a){return"CHROMECAST ULTRA/STEAK"==a.deviceParams.cmodel||"CHROMECAST/STEAK"==a.deviceParams.cmodel}; g.iz=function(){return 1=navigator.hardwareConcurrency&&(b=c);(c=g.Q(a.experiments,"html5_av1_thresh_hcc"))&&4m},p=f["1"].filter(function(t){return n(t.ya().fc)}); p=f[k].filter(function(t){return!n(t.ya().fc)}).concat(p); p.length&&(f["19"]=p)}Nx(c)&&(f=Xga(b,f,d));b=Sga(a);d=Tga(a);b=g.Xa(b,e);d=g.Xa(d,e);if(!b||!d)return kr();a.Z&&"1"==b&&f[k]&&(p=Gz(f["1"]),Gz(f[k])>p&&(b=k));"9"==b&&f.h&&(k=Gz(f["9"]),Gz(f.h)>1.5*k&&(b="h"),c.Ef&&!Jfa(a.G)&&(b="h"));a=f[b];c=f[d];if(!a.length)return kr();Hz(a,c);return lr(new Ez(a,c,Yga(f,b,d)))}; Yga=function(a,b,c){var d=a.h;"f"==b&&(d=a[b]);var e=a.a;b=a[b]!=d;a=a[c]!=e;return d&&e&&(b||a)?(Hz(d,e),new Ez(d,e)):null}; Hz=function(a,b){g.rb(a,function(c,d){return d.ya().height*d.ya().width-c.ya().height*c.ya().width||d.o-c.o}); g.rb(b,function(c,d){return d.o-c.o})}; Wga=function(a,b){var c=(0,g.ui)(b,function(d,e){return 32c&&(b=a.F&&(a.M||fu(a,ku))?(0,g.ue)(b,function(d){return 32E.width*E.height*E.fps))var E=C}}else n.push(C)}}m=p.reduce(function(F,G){return G.og.uo()&&F},!0)?l:null; d=Math.max(d,g.Q(a.experiments,"html5_hls_initial_bitrate"));E=E||{};p.push(Oz(n,c,e,"93",void 0===E.width?0:E.width,void 0===E.height?0:E.height,void 0===E.fps?0:E.fps,f,"auto",d,m));return yu(a.A,p,dz(a,b))}; Oz=function(a,b,c,d,e,f,k,l,m,n,p){d=new dt(d,"application/x-mpegURL",new Vs,new Ys(e,f,k,null,void 0,m),void 0,p);a=new dha(a,b,c);a.A=n?n:1369843;return new Nz(d,a,l)}; hha=function(a){a=g.q(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.url&&(b=b.url.split("expire/"),!(1>=b.length)))return+b[1].split("/")[0];return NaN}; Pz=function(a,b){this.og=a;this.o=b}; Qz=function(a,b){this.og=a;this.o=b}; jha=function(a){var b=[];(0,g.y)(a,function(c){if(c.url){var d=kt(c.type,"medium","0");b.push(new Qz(d,c.url))}}); return b}; kha=function(a){return navigator.mediaCapabilities?Rz(a.videoInfos).then(function(){return a},function(){return a}):lr(a)}; Rz=function(a){var b=navigator.mediaCapabilities;if(!b)return lr(a);var c=a.map(function(d){return b&&b.decodingInfo({type:"media-source",video:d.video?{contentType:d.mimeType,width:d.video.width||640,height:d.video.height||360,bitrate:8*d.o||1E6,framerate:d.video.fps||30}:null})}); return fba(c).then(function(d){for(var e=0;e=e){e=Wz(k.url);g.Sw(e)&&(b[d]=e);break}}(a=a.pop())&&1280<=a.width&&(a=Wz(a.url),g.Sw(a)&&(b["maxresdefault.jpg"]=a));return b}; Wz=function(a){return a.startsWith("//")?"https:"+a:a}; g.T=function(a){if(a.simpleText)return a.simpleText;if(a.runs){var b=[];a=g.q(a.runs);for(var c=a.next();!c.done;c=a.next())c=c.value,c.text&&b.push(c.text);return b.join("")}return""}; g.Yz=function(a){if(a.simpleText)return a=document.createTextNode(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c1E5*Math.random()&&(c=new Sq("CSI data exceeded logging limit with key",b),0===b.indexOf("info")?g.Uq(c):g.Tq(c)),!0):!1}; yA=function(a){return!!g.L("FORCE_CSI_ON_GEL",!1)||g.xo("csi_on_gel")||!!mA(a).useGel}; zA=function(a){a=mA(a);if(!("gel"in a))a.gel={gelTicks:{},gelInfos:{}};else if(a.gel){var b=a.gel;b.gelInfos||(b.gelInfos={});b.gelTicks||(b.gelTicks={})}return a.gel}; AA=function(a){lA(a);Nha();kA(!1,a);a||(g.L("TIMING_ACTION")&&to("PREVIOUS_ACTION",g.L("TIMING_ACTION")),to("TIMING_ACTION",""))}; FA=function(a,b,c){var d=(c=c?c:a)||"",e=sA();e[d]&&delete e[d];var f=rA(),k={timerName:d,info:{},tick:{},span:{}};f.push(k);e[d]=k;tA(c||"").info.actionType=a;BA(c);AA(c);mA(c).useGel=!0;to(c+"TIMING_AFT_KEYS",b);to(c+"TIMING_ACTION",a);CA("c",c);yA(c)&&(a={actionType:DA[uo((c||"")+"TIMING_ACTION")]||"LATENCY_ACTION_UNKNOWN",previousAction:DA[uo("PREVIOUS_ACTION")]||"LATENCY_ACTION_UNKNOWN"},b=oA(c),vA().info(a,b));g.Ga("ytglobal.timing"+(c||"")+"ready_",!0,void 0);EA(c)}; CA=function(a,b){GA("yt_sts",a,b);HA("_start",void 0,b)}; GA=function(a,b,c){if(null!==b)if(nA(c)[a]=b,yA(c)){var d=b;b=zA(c);if(b.gelInfos)b.gelInfos["info_"+a]=!0;else{var e={};b.gelInfos=(e["info_"+a]=!0,e)}if(a in IA){if(a.match("_rid")){var f=a.split("_rid")[0];a="REQUEST_ID"}b=IA[a];g.$a(Oha,b)&&(d=!!d);a in JA&&"string"===typeof d&&(d=JA[a]+d.toUpperCase());a=d;d=b.split(".");for(var k=e={},l=0;l=b)return a.A.set(b,d),d;a.A.set(b,c-1);return c-1}; YA=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.VA.call(this,a,b,c,0);this.u=null;this.C=d?3:0}; ZA=function(a,b,c,d){WA.call(this,a,0,void 0,b,!(void 0===d||!d));for(a=0;a=Py&&(n.o=!0);if(f=c)f=d.fa("disable_html5_ambisonic_audio")||!(g.pz(d)||d.fa("html5_enable_spherical")||d.fa("html5_enable_spherical3d"))?!1:qz(d);f&&(n.I=!0);b&&(n.o=!0,n.ba=!0);l&&!g.P(d.experiments,"html5_otf_prefer_vp9")&&(n.o=!0);fu(d.A,ou)&&(g.P(d.experiments, "html5_enable_aac51")&&(n.B=!0),g.P(d.experiments,"html5_enable_ac3")&&(n.u=!0),g.P(d.experiments,"html5_enable_eac3")&&(n.A=!0));!g.P(d.experiments,"html5_kaios_hd_killswitch")&&Jy&&(n.U=480);if(e||c)n.M=!1;n.R=!1;b=uz(d);0b&&window.SourceBuffer&&SourceBuffer.prototype.changeType&&(n.w=b);2160<=b&&(n.V=!0);my()&&(n.Z=!1);n.G=m;hl()&&a.Da&&a.Da.playerConfig&&a.Da.playerConfig.webPlayerConfig&&a.Da.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(n.u=!0,n.A=!0);a.va&&(m=a.Mb&&a.Pa.fa("html5_enable_audio_51_for_live_dai"), a=!a.Mb&&a.Pa.fa("html5_enable_audio_51_for_live_non_dai"),n.F=m||a);return n}; Xha=function(a){kB(a)?a.di=!0:!lB(a,a.adaptiveFormats)&&a.fe&&(a.di=!0)}; lB=function(a,b){var c;(c=!b)||(c=!(!mB(a)&&a.adaptiveFormats));if(c)return!1;c=nB(b);var d=a.zc;var e=a.lengthSeconds,f=a.va,k=a.ze,l=a.Pa.experiments,m=wga(c);d=f||k?vga(c,k,d,l):3==m?uga(c,d,e,l):tga(c,d,e,l);0b)return!1}return!qB(a)||"ULTRALOW"!=a.latencyClass&&21530001!=rB(a)?window.AbortController?a.fa("html5_streaming_xhr")||a.fa("html5_streaming_xhr_manifestless")&&qB(a)?!0:!1:!1:!0}; tB=function(a){var b=qB(a),c=sB(a);return(a.hasSubfragmentedFmp4||a.Jj)&&b?c&&sx()?3:2:a.defraggedFromSubfragments&&b?-1:1}; rB=function(a){return a.isLowLatencyLiveStream&&void 0!=a.ia&&5<=by(a.ia)?21530001:a.liveExperimentalContentId}; eB=function(a){return hl()&&pB(a)?!1:!tu()||a.Mw?!0:!1}; Zha=function(a){a.wc=!0;a.di=!1;if(!a.fe&&kB(a))yfa(a.videoId).then(function(d){return lB(a,d)},function(){return lB(a,a.adaptiveFormats)}).then(function(){return uB(a)}); else{Rw(a.fe)||g.Uq(new Sq("DASH MPD Origin invalid: ",a.fe));var b=a.fe,c=g.Q(a.Pa.experiments,"dash_manifest_version")||4;b=g.yd(b,{mpd_version:c});a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||(b=g.yd(b,{pacing:0}));zga(b,a.Pa.experiments,a.va).then(a.MK,a.LK,a);HA("mrs")}}; g.vB=function(a){if(!a.Sc)return null;var b=null!=a.Sc.latitudeE7&&null!=a.Sc.longitudeE7?a.Sc.latitudeE7+","+a.Sc.longitudeE7:",";return b+=","+(a.Sc.clientPermissionState||0)+","+(a.Sc.locationRadiusMeters||"")+","+(a.Sc.locationOverrideToken||"")}; uB=function(a){a.ea()||(a.wc=!1,a.S("dataloaded"))}; oB=function(a,b){a.ia=b;g.B(a,b);wB(a)&&a.Rc.push("webgl");a.ia.isLive||(a.va=!1);var c=b.sourceUrl.split("/");-1!=c.indexOf("manifest_duration")&&(a.Ql=parseInt(c[c.indexOf("manifest_duration")+1],10))}; xB=function(a){return a.zc?!0:a.fa("web_player_content_protection_manifest_killswitch")?!1:!!a.ia&&Nx(a.ia)}; $ha=function(a,b){var c=b||eB(a);if(a.ia&&!c){if(hB(a)){c=a.ia;var d=a.va;if(!c.o["0"]){var e=new dt("0","fakesb",void 0,new Ys(0,0,0,void 0,void 0,"auto"),null,null,1);c.o["0"]=d?new rx(new Xw("http://www.youtube.com/videoplayback"),e,"fake"):new Ix(new Xw("http://www.youtube.com/videoplayback"),e,new Xv(0,0),new Xv(0,0),0,NaN)}}iB(a,"html5_enable_cobalt_experimental_vp9_decoder")&&(a.Pa.A.A=!0);return Zga(jB(a),a.Pa.A,a.ia,a.uc).then(a.Hu,void 0,a)}return kr()}; g.yB=function(a){return mB(a)&&a.Oe?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ba&&a.Ba.zc||null}; zB=function(a){var b=a.Da&&a.Da.paidContentOverlay&&a.Da.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.T(b.text):a.PN}; AB=function(a){var b=a.Da&&a.Da.paidContentOverlay&&a.Da.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?g.hd(b.durationMs):a.mB}; BB=function(a){var b="";if(a.Os)return a.Os;a.va&&(b=a.allowLiveDvr?"dvr":"live");return b}; g.CB=function(a,b){return"string"!==typeof a.keywords[b]?null:a.keywords[b]}; DB=function(a){return!!(a.fe||a.adaptiveFormats||a.Gk||a.Ak||a.hlsvp)}; EB=function(a){var b=g.$a(a.Rc,"ypc");a.ypcPreview&&(b=!1);return a.isValid()&&!a.wc&&(DB(a)||g.$a(a.Rc,"fresca")||g.$a(a.Rc,"heartbeat")||b)}; nB=function(a,b){var c=g.lq(a),d={};if(b)for(var e=g.q(b.split(",")),f=e.next();!f.done;f=e.next())(f=f.value.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(d[f[1]]={width:f[2],height:f[3]});e=g.q(c);for(f=e.next();!f.done;f=e.next()){f=f.value;var k=d[f.itag];k&&(f.width=k.width,f.height=k.height)}return c}; Uha=function(a){if(FB(a)&&(a.errorDetail="0",a.kl)){var b=a.kl.embeddedPlayerErrorMessageRenderer;b&&(a.Qw=b)}}; gB=function(a,b){a.showShareButton=!!b;if(b){var c=b.buttonRenderer&&b.buttonRenderer.navigationEndpoint;c&&(a.Jm=!!c.copyTextEndpoint)}}; Tha=function(a,b,c){c=c.thumbnailPreviewRenderer;var d=c.controlBgHtml;null!=d?(a.hg=d,a.lc=!0):(a.hg="",a.lc=!1);if(d=c.defaultThumbnail)a.gf=Xz(d);a.fa("web_player_embedded_details_parsing_killswitch")||(d=c.videoDetails&&c.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer)&&fB(a,b,d);if(b=c.videoDetails&&c.videoDetails.musicEmbeddedPlayerOverlayVideoDetailsRenderer)a.Er=b.title,a.Dr=b.byline,b.musicVideoType&&(a.musicVideoType=b.musicVideoType);a.Th=!!c.addToWatchLaterButton;gB(a,c.shareButton); c.playButton&&c.playButton.buttonRenderer&&c.playButton.buttonRenderer.navigationEndpoint&&(b=c.playButton.buttonRenderer.navigationEndpoint,b.watchEndpoint&&(b=b.watchEndpoint,b.watchEndpointSupportedOnesieConfig&&b.watchEndpointSupportedOnesieConfig.html5PlaybackOnesieConfig&&(a.tp=new Rha(b.watchEndpointSupportedOnesieConfig.html5PlaybackOnesieConfig))));a.fa("web_player_include_innertube_commands")&&c.webPlayerActionsPorting&&bA(a,c.webPlayerActionsPorting)}; fB=function(a,b,c){var d=c.channelThumbnail;d&&(d=d.thumbnails)&&(d=d[0])&&(b.profile_picture=d.url);if(d=c.channelThumbnailEndpoint&&c.channelThumbnailEndpoint.channelThumbnailEndpoint)if(d=d.urlEndpoint&&d.urlEndpoint.urlEndpoint)b.channel_path=d.url;if(d=c.collapsedRenderer)if(d=d.embeddedPlayerOverlayVideoDetailsCollapsedRenderer){var e=d.title;e&&(b.title=g.T(e));if(d=d.subtitle)b.subtitle=g.T(d)}if(c=c.expandedRenderer)if(c=c.embeddedPlayerOverlayVideoDetailsExpandedRenderer){if(d=c.title)b.expanded_title= g.T(d);if(d=c.subtitle)b.expanded_subtitle=g.T(d);if(c=c.subscribeButton)if(c=c.subscribeButtonRenderer)b.ucid=c.channelId,b.subscribed=c.subscribed,a.zk=!!c.notificationPreferenceToggleButton}}; g.GB=function(a){return a.va&&!a.allowLiveDvr}; HB=function(a){return a.va&&a.allowLiveDvr}; wB=function(a){return a.zg()||a.yg()||a.Oj()||a.tg()}; aia=function(a){a.xa=a.xa.u}; g.IB=function(a){if(a.Lu)return null;var b=a.ry;b||(b=a.Da&&a.Da.endscreen&&a.Da.endscreen.endscreenUrlRenderer&&a.Da.endscreen.endscreenUrlRenderer.url);return b||null}; g.JB=function(a){return a.Lu?null:a.Da&&a.Da.endscreen&&a.Da.endscreen.endscreenRenderer||null}; g.KB=function(a){return a.Da&&a.Da.cards&&a.Da.cards.cardCollectionRenderer||null}; g.LB=function(a){if(!a.Da||!a.Da.annotations)return null;a=g.q(a.Da.annotations);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.playerAnnotationsExpandedRenderer&&b.playerAnnotationsExpandedRenderer.featuredChannel)return b.playerAnnotationsExpandedRenderer;return null}; MB=function(a){return a.adFormat&&"1_5"!=a.adFormat?"adunit":a.Pa.ba}; NB=function(a){return a.Lh||"detailpage"==MB(a)||a.mutedAutoplay}; OB=function(a){if(NB(a)){if("detailpage"==MB(a))return a.Pj||0(b?parseInt(b[1],10):NaN);if(c=!a.nj)c=a.Pa,c="TVHTML5_CAST"==c.deviceParams.c||"TVHTML5"==c.deviceParams.c&&c.deviceParams.cver.startsWith("6.20130725");c&&"MUSIC"==a.Pa.deviceParams.ctheme&&!b&&(b="MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK"=== a.musicVideoType,c=a.fa("cast_prefer_audio_only_for_atv_and_uploads")&&"MUSIC_VIDEO_TYPE_ATV"===a.musicVideoType,b||c)&&(a.nj=!0);return!a.Pa.deviceHasDisplay||a.nj&&a.Pa.w}; QB=function(a){return!!(a.fa("mweb_hoffline")&&a.adaptiveFormats&&a.xj&&a.Pa.w)}; RB=function(a,b){if(a.xj!=b&&(a.xj=b)&&a.ia){var c=a.ia,d;for(d in c.o){var e=c.o[d];e.B=!1;e.o=null}}}; kB=function(a){var b;if(b=a.fa("mweb_hoffline")&&a.adaptiveFormats)b=a.videoId,b=!!b&&1===rt(b);return!(!b||a.xj)}; FB=function(a){return(a=a.kl)&&a.showError?a.showError:!1}; SB=function(a){return a.fa("disable_rqs")?!1:iB(a,"html5_high_res_logging")}; iB=function(a,b){return a.fa(b)?!0:(a.Ww||"").includes(b+"=true")}; bB=function(a,b){var c=b.video_masthead_ad_quartile_urls;c&&(a.yp=c.quartile_0_url,a.lu=c.quartile_25_url,a.nu=c.quartile_50_url,a.pu=c.quartile_75_url,a.ju=c.quartile_100_url,a.zp=c.quartile_0_urls,a.mu=c.quartile_25_urls,a.ou=c.quartile_50_urls,a.qu=c.quartile_75_urls,a.ku=c.quartile_100_urls)}; eA=function(a){return a?tu()?!0:TB&&5>UB?!1:!0:!1}; dA=function(a){var b={};(0,g.y)(a,function(c){var d=c.split("=");2==d.length?b[d[0]]=d[1]:b[c]=!0}); return b}; aA=function(a){if(a){if(Uw(a))return a;a=Vw(a);if(Uw(a,!0))return a}return""}; WB=function(a,b){g.A.call(this);var c=this;this.app=a;this.o=!0;this.A=null;this.C={};this.G={};this.w={};this.I=[];this.F={};this.B={};this.u=null;this.M=new Set;this.playerType=b;VB(this,"cueVideoById",this.cueVideoById);VB(this,"loadVideoById",this.loadVideoById);VB(this,"cueVideoByUrl",this.cueVideoByUrl);VB(this,"loadVideoByUrl",this.loadVideoByUrl);VB(this,"playVideo",this.playVideo);VB(this,"pauseVideo",this.pauseVideo);VB(this,"stopVideo",this.stopVideo);VB(this,"clearVideo",this.clearVideo); VB(this,"getVideoBytesLoaded",this.getVideoBytesLoaded);VB(this,"getVideoBytesTotal",this.getVideoBytesTotal);VB(this,"getVideoLoadedFraction",this.getVideoLoadedFraction);VB(this,"getVideoStartBytes",this.getVideoStartBytes);VB(this,"cuePlaylist",this.cuePlaylist);VB(this,"loadPlaylist",this.loadPlaylist);VB(this,"nextVideo",this.nextVideo);VB(this,"previousVideo",this.previousVideo);VB(this,"playVideoAt",this.playVideoAt);VB(this,"setShuffle",this.setShuffle);VB(this,"setLoop",this.setLoop);VB(this, "getPlaylist",this.getPlaylist);VB(this,"getPlaylistIndex",this.getPlaylistIndex);VB(this,"getPlaylistId",this.getPlaylistId);VB(this,"loadModule",this.loadModule);VB(this,"unloadModule",this.unloadModule);VB(this,"setOption",this.setOption);VB(this,"getOption",this.getOption);VB(this,"getOptions",this.getOptions);VB(this,"mute",this.mute);VB(this,"unMute",this.unMute);VB(this,"isMuted",this.isMuted);VB(this,"setVolume",this.setVolume);VB(this,"getVolume",this.getVolume);VB(this,"seekTo",this.seekTo); VB(this,"getPlayerState",this.getPlayerState);VB(this,"getPlaybackRate",this.getPlaybackRate);VB(this,"setPlaybackRate",this.setPlaybackRate);VB(this,"getAvailablePlaybackRates",this.getAvailablePlaybackRates);VB(this,"getPlaybackQuality",function(){return c.getPlaybackQuality(1)}); VB(this,"setPlaybackQuality",this.setPlaybackQuality);VB(this,"getAvailableQualityLevels",this.getAvailableQualityLevels);VB(this,"getCurrentTime",this.getCurrentTime);VB(this,"getDuration",this.getDuration);VB(this,"addEventListener",this.addEventListener);VB(this,"removeEventListener",this.removeEventListener);VB(this,"getDebugText",this.getDebugText);VB(this,"getVideoData",function(){return c.getVideoData()}); VB(this,"addCueRange",this.addCueRange);VB(this,"removeCueRange",this.removeCueRange);VB(this,"setSize",this.setSize);VB(this,"getApiInterface",this.getApiInterface);VB(this,"destroy",this.destroy);VB(this,"showVideoInfo",this.showVideoInfo);VB(this,"hideVideoInfo",this.hideVideoInfo);VB(this,"isVideoInfoVisible",this.isVideoInfoVisible);VB(this,"getSphericalProperties",this.getSphericalProperties);VB(this,"setSphericalProperties",this.setSphericalProperties);this.app.N().B||(VB(this,"getVideoEmbedCode", this.getVideoEmbedCode),VB(this,"getVideoUrl",this.getVideoUrl));VB(this,"getMediaReferenceTime",this.getMediaReferenceTime);U(this,"getInternalApiInterface",this.getInternalApiInterface);U(this,"cueVideoByPlayerVars",this.cueVideoByPlayerVars);U(this,"loadVideoByPlayerVars",this.loadVideoByPlayerVars);U(this,"preloadVideoByPlayerVars",this.preloadVideoByPlayerVars);U(this,"getAdState",this.getAdState);U(this,"sendAbandonmentPing",this.sendAbandonmentPing);U(this,"setLoopRange",this.setLoopRange); U(this,"getLoopRange",this.getLoopRange);U(this,"setAutonavState",this.setAutonavState);U(this,"seekToLiveHead",this.seekToLiveHead);U(this,"seekToStreamTime",this.seekToStreamTime);U(this,"getStreamTimeOffset",this.getStreamTimeOffset);U(this,"getVideoData",this.getVideoData);U(this,"setIsExternalPlaylist",this.setIsExternalPlaylist);U(this,"deleteLocalMediaById",this.deleteLocalMediaById);U(this,"deleteAllLocalMedia",this.deleteAllLocalMedia);U(this,"cancelPendingLocalMediaById",this.cancelPendingLocalMediaById); U(this,"fetchLocalMedia",this.fetchLocalMedia);U(this,"fetchLocalMediaById",this.fetchLocalMediaById);U(this,"getLocalMediaInfoById",this.getLocalMediaInfoById);U(this,"getAllLocalMediaInfo",this.getAllLocalMediaInfo);U(this,"getAppState",this.getAppState);U(this,"addInfoCardXml",this.addInfoCardXml);U(this,"updateLastActiveTime",this.updateLastActiveTime);U(this,"setBlackout",this.setBlackout);U(this,"setAccountLinkState",this.setAccountLinkState);U(this,"setUserEngagement",this.setUserEngagement); U(this,"updateSubtitlesUserSettings",this.updateSubtitlesUserSettings);U(this,"setFauxFullscreen",this.setFauxFullscreen);U(this,"setUseFastSizingOnWatch",this.setUseFastSizingOnWatch);U(this,"getPresentingPlayerType",this.getPresentingPlayerType);U(this,"canPlayType",this.canPlayType);U(this,"updatePlaylist",this.updatePlaylist);U(this,"updateVideoData",this.updateVideoData);U(this,"updateEnvironmentData",this.updateEnvironmentData);U(this,"sendVideoStatsEngageEvent",this.sendVideoStatsEngageEvent); U(this,"setCardsVisible",this.setCardsVisible);U(this,"setSafetyMode",this.setSafetyMode);U(this,"isInline",this.isInline);U(this,"setInline",this.setInline);U(this,"isAtLiveHead",this.isAtLiveHead);U(this,"getVideoAspectRatio",this.getVideoAspectRatio);U(this,"getPreferredQuality",this.getPreferredQuality);U(this,"setPlaybackQualityRange",this.setPlaybackQualityRange);U(this,"onAdUxClicked",this.onAdUxClicked);U(this,"setAutonav",this.setAutonav);U(this,"isNotServable",this.isNotServable);U(this, "channelSubscribed",this.channelSubscribed);U(this,"channelUnsubscribed",this.channelUnsubscribed);U(this,"isPictureInPictureAllowed",this.isPictureInPictureAllowed);U(this,"togglePictureInPicture",this.togglePictureInPicture);U(this,"supportsGaplessAudio",this.supportsGaplessAudio);U(this,"enqueueVideoByPlayerVars",function(d){return c.enqueueVideoByPlayerVars(d)}); U(this,"clearQueue",this.clearQueue);U(this,"isFastLoad",function(){return!1}); U(this,"getPlayerResponse",this.getPlayerResponse);U(this,"getStoryboardFrame",this.getStoryboardFrame);U(this,"getStoryboardFrameIndex",this.getStoryboardFrameIndex);U(this,"getStoryboardLevel",this.getStoryboardLevel);U(this,"getNumberOfStoryboardLevels",this.getNumberOfStoryboardLevels);U(this,"getAudioTrack",this.EE);U(this,"setAudioTrack",this.setAudioTrack);U(this,"getAvailableAudioTracks",this.FE);U(this,"getMaxPlaybackQuality",this.getMaxPlaybackQuality);U(this,"getUserPlaybackQualityPreference", this.getUserPlaybackQualityPreference);U(this,"getSubtitlesUserSettings",this.getSubtitlesUserSettings);U(this,"resetSubtitlesUserSettings",this.resetSubtitlesUserSettings);U(this,"setMinimized",this.setMinimized);U(this,"handleExternalCall",this.handleExternalCall);U(this,"isExternalMethodAvailable",this.isExternalMethodAvailable);U(this,"getStatsForNerds",this.getStatsForNerds);U(this,"setScreenLayer",this.setScreenLayer);U(this,"getCurrentPlaylistSequence",this.getCurrentPlaylistSequence);U(this, "getPlaylistSequenceForTime",this.getPlaylistSequenceForTime);U(this,"forceFrescaUpdate",this.forceFrescaUpdate);U(this,"shouldSendVisibilityState",this.shouldSendVisibilityState);U(this,"updateFullerscreenEduButtonVisibility",this.updateFullerscreenEduButtonVisibility);U(this,"updateFullerscreenEduButtonSubtleModeState",this.updateFullerscreenEduButtonSubtleModeState);U(this,"setGlobalCrop",this.setGlobalCrop);U(this,"getVisibilityState",this.getVisibilityState);U(this,"isMutedByMutedAutoplay",this.isMutedByMutedAutoplay); U(this,"setInternalSize",this.setInternalSize)}; VB=function(a,b,c){a.C[b]=function(d){for(var e=[],f=0;f=a.length?0:b}; qC=function(a){var b=a.index-1;return 0>b?a.length-1:b}; rC=function(a,b){a.index=g.Md(b,0,a.length-1);a.startSeconds=0}; dia=function(a,b){if(!a.wc){a.listId=new g.mC("SR",b);var c={search_query:b};a.C&&(c.mob="1");a.loadPlaylist("/search_ajax?style=json&embeddable=1",c)}}; eia=function(a){if(!a.wc){var b=b||a.listId;b={list:b};var c=a.ya();c&&c.videoId&&(b.v=c.videoId);a.loadPlaylist("/list_ajax?style=json&action_get_list=1",b)}}; sC=function(a,b){if(b.video&&b.video.length){a.title=b.title||"";a.description=b.description;a.views=b.views;a.author=b.author;var c=b.loop;c&&(a.loop=c);c=a.ya();a.items=[];for(var d=g.q(b.video),e=d.next();!e.done;e=d.next())if(e=e.value)e.video_id=e.encrypted_id,a.items.push(e);a.length=a.items.length;(d=b.index)?a.index=d:a.findIndex(c);a.setShuffle(!1);a.wc=!1;a.loaded=!0;a.w++;a.o&&a.o()}}; tC=function(a,b){a.o=b;a.loaded&&g.Ho(a.o,0)}; uC=function(){}; g.vC=function(){g.A.call(this);this.w=null;this.F=this.C=!1;this.B=new g.gf;g.B(this,this.B)}; wC=function(a){a=a.yl();return 1>a.length?NaN:a.end(a.length-1)}; xC=function(a,b){a.w&&null!==b&&b.o===a.w.o||(a.w&&a.w.dispose(),a.w=b)}; yC=function(a){return St(a.Dd(),a.getCurrentTime())}; fia=function(a,b){if(0==a.je()||0a.o+.001&&b(d||!a.w?1500:400);a.o=b;a.A=c;return!1}; g.GC=function(a){return(a=hia[a.toString()])?a:"LICENSE"}; g.HC=function(a,b){this.o=a||64;this.u=void 0===b?null:b}; IC=function(a,b){return FC(a,b.getCurrentTime(),(0,g.N)(),yC(b))}; JC=function(a,b,c){return b==a.o&&c==a.u||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.HC(b,c)}; KC=function(a,b){return JC(a,a.o|b)}; LC=function(a,b){return JC(a,a.o&~b)}; MC=function(a,b,c){return JC(a,(a.o|b)&~c)}; g.V=function(a,b){return!!(a.o&b)}; g.NC=function(a,b){return b.o==a.o&&b.u==a.u}; g.OC=function(a){return g.V(a,8)&&!g.V(a,2)&&!g.V(a,1024)}; PC=function(a){return a.eb()&&!g.V(a,16)&&!g.V(a,32)}; iia=function(a){return g.V(a,8)&&g.V(a,16)}; g.QC=function(a){return g.V(a,1)&&!g.V(a,2)}; RC=function(a){return g.V(a,128)?-1:g.V(a,2)?0:g.V(a,64)?-1:g.V(a,1)&&!g.V(a,32)?3:g.V(a,8)?1:g.V(a,4)?2:-1}; SC=function(a,b){this.o=a;this.w=b;this.u=null;this.A=[];this.B=!1}; g.TC=function(a){a.u||(a.u=a.o.createMediaElementSource(a.w.ua()));return a.u}; g.UC=function(a){for(var b;0=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var k=new Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b}; nia=function(a){a=zv(a,1886614376);(0,g.y)(a,function(b){return!b.u}); return(0,g.Cc)(a,function(b){return new Uint8Array(b.data.buffer,b.offset+b.data.byteOffset,b.size)})}; oia=function(a){var b=(0,g.ui)(a,function(e,f){return e+f.length},0),c=new Uint8Array(b),d=0; (0,g.y)(a,function(e){c.set(e,d);d+=e.length}); return c}; pia=function(a,b){this.w=a;this.F=this.C=!1;this.length=b?b:0;this.u=0;this.A=null;this.o=[];this.B=null;this.length?1!=this.w.length||this.w[0].Oa||(this.w[0].Oa=this.length):1==this.w.length||(0,g.ti)(this.w,function(c){return!!c.range})}; qia=function(a){return a.length-a.u+a.o.reduce(function(b,c){return b+c.o.getLength()},0)}; aD=function(a,b,c,d){var e=this;this.yh=a;this.u=c;this.loaded=this.status=0;this.error="";a=Yv(this.yh.get("range")||"");if(!a)throw Error("bad range");this.range=a;this.o=new kw;ria(this).then(d,function(f){e.error=""+f||"unknown_err";d()}); b()}; ria=function(a){return mh(a,function c(){var d=this,e,f,k,l,m,n,p,t,u,z,C,D,E;return Aa(c,function(F){if(1==F.o){d.status=200;e=d.yh.get("docid");f=d.yh.get("fmtid");k=+(d.yh.get("csz")||0);if(!e||!f||!k)throw Error("Invalid local URL");l=d.range;m=Math.floor(l.start/k);n=Math.floor(l.end/k);p=m}if(5!=F.o)return p<=n?F=g.ta(F,zfa(e,f,p),5):(F.o=0,F=void 0),F;t=F.u;u=p*k;z=(p+1)*k;C=Math.max(0,l.start-u);D=Math.min(l.end+1,z)-(C+u);E=new Uint8Array(t.buffer,C,D);d.o.append(E);d.loaded+=D;d.loaded< l.length&&d.u((0,g.H)(),d.loaded);p++;F.o=2})})}; sia=function(a){this.schedule=a;this.o=NaN;this.u=[];this.totalBytes=0}; tia=function(a,b,c,d){var e=void 0===d?{}:d;d=void 0===e.ee?!1:e.ee;var f=void 0===e.Cf?!1:e.Cf,k=void 0===e.Bi?!1:e.Bi,l=e.Gf,m=e.La;e=e.xd;this.V=null;this.U=this.o=NaN;this.ga=0;this.M=this.ba=this.u=this.A=NaN;this.ha=this.Z=this.isActive=!1;this.w=0;this.R=NaN;this.G=this.C=Infinity;this.P=NaN;this.da=!1;this.F=this.I=NaN;this.B=this.aa=void 0;this.ee=d;this.Cf=f;this.Bi=k;this.Gf=l;this.La=m;this.xd=e;this.schedule=a;this.ma=b;this.oa=c;this.snapshot=yy(this.schedule)}; bD=function(a){return{rt:((0,g.H)()-a.o).toFixed(),lb:a.u.toFixed(),pt:(1E3*a.R).toFixed(),pb:a.ma.toFixed(),stall:(1E3*a.w).toFixed(),elbowTime:(a.U-a.o).toFixed(),elbowBytes:a.ga.toFixed()}}; cD=function(a){!a.F&&a.V&&(a.F=a.V(),3===a.F&&(a.aa=new sia(a.schedule)));return a.F}; gD=function(a,b,c,d){var e=(b-a.A)/1E3,f=c-a.u,k=cD(a);if(3===k&&f){var l=a.aa;l.u.push({CT:f,XT:isNaN(l.o)?NaN:d-l.o,LT:d});l.o=d}a.isActive?1===k&&0f?(a.w+=e,.2d&&(d=0);d=1E3*(d*a.snapshot.stall+d/a.snapshot.byterate);d=jD(a)?d+b:d+Math.max(b,c);a.I=d}; hD=function(a,b){for(var c="";4095>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))}; nD=function(a,b,c,d,e,f,k){var l=void 0===k?{}:k;k=void 0===l.method?"GET":l.method;var m=l.headers,n=l.body;l=void 0===l.credentials?"include":l.credentials;this.R=c;this.M=d;this.U=e;this.policy=f;this.status=0;this.response=void 0;this.P=!1;this.u=0;this.G=NaN;this.aborted=this.C=this.I=!1;this.errorMessage="";this.method=k;this.headers=m;this.body=n;this.credentials=l;this.o=new kw;this.id=wia++;this.A=window.AbortController?new AbortController:void 0;this.start(a);this.startTime=Date.now();b()}; oD=function(a){a.w.read().then(a.BK.bind(a),a.onError.bind(a)).then(void 0,g.M)}; qD=function(a){if(!a.ea()){a.I=!0;if(pD(a)&&!a.o.getLength()&&!a.C&&a.u){tx(a);var b=new Uint8Array(8),c=new DataView(b.buffer);c.setUint32(0,8);c.setUint32(4,1936419184);a.o.append(b);a.u+=b.length}a.M()}}; pD=function(a){var b=a.dd("content-type");b="audio/mp4"===b||"video/mp4"===b;return a.policy.o&&a.policy.nd&&tx(a)&&b}; rD=function(a,b,c,d,e){var f=this;this.status=0;this.ea=this.w=!1;this.u=NaN;this.o=new XMLHttpRequest;this.o.open("GET",a);this.o.responseType="arraybuffer";this.o.withCredentials=!0;this.o.onreadystatechange=function(){2===f.o.readyState&&f.C()}; this.A=d;this.B=c;this.C=e;a=Fo(function(){if(!f.ea){f.status=f.o.status;try{f.response=f.o.response,f.u=f.response.byteLength}catch(k){}f.w=!0;f.A()}}); this.o.addEventListener("load",a,!1);this.o.addEventListener("error",a,!1);this.o.send();b();this.o.addEventListener("progress",Fo(function(k){f.ea||(f.status=f.o.status,f.B(k.timeStamp,k.loaded))}),!1)}; sD=function(a,b,c,d){this.u=a;this.info=b;this.timing=c;this.Z=d;this.state=1;this.o=this.aa=null;this.F=this.R=0;this.V=new g.I(this.kO,a.P,this);this.B=this.A=this.G=null;this.C=0;this.M=this.w=null;this.U=0;this.da=this.P=!1;this.I=this.u.Ka&&(nx(this.info)||this.info.ee());this.ha=!1;this.ba=null}; xia=function(a,b){a.ea();a.G=b}; tD=function(a){return a.A?Zw(a.A.Ie):""}; uD=function(a){var b=bD(a.timing);b.shost=tD(a);b.rn=a.R.toString();a.C&&(b.rc=a.C.toString());b.itag=""+ct(a.info.o[0].o.info);b.ml=""+ +a.info.o[0].o.cd();b.sq=""+a.info.o[0].u;if(a.A){var c=a.A.Ie;Yw(c);var d=decodeURIComponent(c.get("mn")||"").split(",");b.ifi=""+ +("/videoplayback"===c.path&&1=d.getLength()&&(c=rw(d),c=Bv(c),c=Rw(c)?c:"")}if(c){d=vD(a);(0,g.N)();d.started=0;d.u=0;d.o=0;d=a.info;var e=a.A;g.kx(d.u,e,c);d.requestId=e.get("req_id");return 5}c=b.Qo();if((d=!!a.M&&a.M.length)&&d!=c||b.ru())return a.B="net.closed",7;xD(a,!0);if(a.u.Iv&&!d&&a.w&&(d=a.w.o,d.length&&!yw(d[0])))return a.B="net.closed",7;var f=yD(a)? b.dd("X-Bandwidth-Est"):0;if(d=yD(a)?b.dd("X-Bandwidth-Est3"):0)a.da=!0,a.u.pC&&(f=d);d=a.timing;e=(0,g.H)();f=f?parseInt(f,10):0;if(!d.Z){d.Z=!0;if(!d.Cf){e=e>d.o&&4E12>e?e:(0,g.H)();iD(d,e,c);gD(d,e,c);var k=cD(d);if(2===k&&f)fD(d,d.u/f,d.u);else if(2===k||1===k)f=(e-d.o)/1E3,(f<=d.schedule.P.o||!d.schedule.P.o)&&!d.ha&&jD(d)&&fD(d,f,c),jD(d)&&(f=d.schedule,c=Math.max(c,2048),f.o.w(1,d.w/c),zy(f));sy(d.schedule,(e-d.o)/1E3,d.u,d.R,d.ee,d.Bi)}d.isActive&&(d.isActive=!1)}c=vD(a);(0,g.N)();c.started= 0;c.u=0;c.o=0;a.info.u.u=0;(0,g.N)()c.indexOf("googlevideo.com")||(g.Ds("yt-player-bandaid-host",{WN:c},432E3),zD=(0,g.N)());return 6}; BD=function(a){if("net.timeout"==a.B){var b=a.timing,c=(0,g.H)();if(!b.Cf){c=c>b.o&&4E12>c?c:(0,g.H)();iD(b,c,1024*b.M);var d=(c-b.o)/1E3;if(2!==cD(b))if(jD(b)){b.w+=(c-b.A)/1E3;var e=b.schedule,f=b.u;f=Math.max(f,2048);e.o.w(1,b.w/f);zy(e)}else eD(b)||b.Cf||(e=b.schedule,e.B.w(1,d),zy(e)),b.U=c;sy(b.schedule,d,b.u,b.R,b.ee,b.Bi);uy(b.schedule,(c-b.A)/1E3,0)}}else(0,g.H)();"net.nocontent"!=a.B&&("net.timeout"==a.B||"net.connect"==a.B?(b=vD(a),b.u+=1):(b=vD(a),b.o+=1),a.info.u.u++);AD(a,7)}; CD=function(a){a.ea();if(1==a.state)return!0;a=vD(a);return 100>a.u&&6>a.o}; AD=function(a,b){a.state=b;if(5<=a.state)if(a.u.pc)DD(a);else{var c=a.timing;c.isActive&&(c.isActive=!1)}a.G&&a.G(a)}; ED=function(a,b){if(b){var c=vD(a);c.w+=1}DD(a);a.B="net.timeout";BD(a)}; yD=function(a){return(0,g.ti)(a.info.o,function(b){return 3==b.type})}; DD=function(a){if(a.o){var b=a.o;a.o=null;b.abort()}a=a.timing;a.isActive&&(a.isActive=!1)}; wD=function(a){var b=a.o.dd("content-type"),c=a.o.tl();return(!FD(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c)}; zia=function(a,b){var c=(0,g.x)(a.eI,a),d=(0,g.x)(a.LN,a),e=(0,g.x)(a.fI,a),f=(0,g.x)(a.KN,a);return $w(a.A.Ie)?new aD(a.A,d,e,c):GD(a)?new nD(b,d,e,c,f,a.u.A):new rD(b,d,e,c,f)}; GD=function(a){return a.u.aa?a.u.ov&&!isNaN(a.info.xd)&&a.info.xd>a.u.Hn?!1:sx():!1}; FD=function(a){return a.o?a.o.Up():!1}; HD=function(a){return 2>a.state||!a.w?!1:a.w.o.length||a.u.ga&&a.o&&a.o.Te()?!0:!1}; Aia=function(a){ID(a);return a.w.o}; ID=function(a){a.u.ga&&a.o&&a.o.Te()&&xD(a,!1)}; xD=function(a,b){if(b||FD(a)&&!wD(a)){if(!a.w){if(FD(a))a.info.range&&(c=a.info.range.length);else var c=a.o.Qo();a.w=new pia(a.info.o,c)}for(;a.o.Te();)a:{c=a.w;var d=a.o.Ro(),e=b&&!a.o.Te();c.A&&(mw(c.A,d),d=c.A,c.A=null);for(var f=0,k=0,l=g.q(c.w),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Oa<=c.u)f+=m.Oa;else{d.getLength();if(bw(m)&&!e&&c.u+d.getLength()-ka.info.o[0].u)return!1}return!0}; JD=function(a,b,c){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.isPrefetch=void 0===c?!1:c;this.o=this.cryptoPeriodIndex=NaN;this.u=[];this.Bc=!1}; KD=function(a){a:{var b=a.initData;try{for(var c=0,d=new DataView(b.buffer);c=e)break;if(1886614376==d.getUint32(c+4)){var f=32;if(0=a.o.getLength())throw Error();return uw(a.o,a.offset++)}; ND=function(a,b){var c=MD(a);if(1===c){c=-1;for(var d=0;7>d;d++){var e=MD(a);-1===c&&255!==e&&(c=0);-1e&&d>c;e++)c=256*c+MD(a),d*=128;return b?c:c-d}; OD=function(a,b,c){g.O.call(this);var d=this;this.A=a;this.u=[];this.o=null;this.M=-1;this.G=0;this.U=NaN;this.I=0;this.w=b;this.ga=c;this.B=NaN;this.ba=0;this.aa=-1;this.C=this.P=this.ha=this.Z=this.F=this.R=null;this.A.w&&(this.C=new jia(this.A,this.w),this.C.I.o.then(function(e){1==e&&d.S("localmediacomplete",e)})); this.da=!1;this.V=0}; PD=function(a){return a.u.length?a.u[0]:null}; QD=function(a){return a.u.length?a.u[a.u.length-1]:null}; XD=function(a,b,c){a.Z&&!ew(a.Z,c.info)&&(a.B=NaN,a.ba=0,a.aa=-1);a.Z=c.info;a.w=c.info.o;0==c.info.w?RD(a):!a.w.ce()&&a.F&&iw(c.info,a.F);a.o?(c=zw(a.o,c),a.o=c):a.o=c;a:{c=g.gt(a.o.info.o.info);if(3!=a.o.info.type){if(!a.o.info.A)break a;6==a.o.info.type?SD(a,b,a.o):TD(a,a.o);a.o=null}for(;a.o;){var d=a.o.o.getLength();if(0>=a.M&&0==a.G){var e=a.o.o,f=-1,k=-1;if(c){for(var l=0;l+8k&&(f= -1)}else{e=new LD(e);for(m=l=!1;;){n=e.offset;var p=e;try{var t=ND(p,!0),u=ND(p,!1);var z=t;var C=u}catch(E){C=z=-1}p=z;var D=C;if(0>p)break;if(408125543!==p)if(524531317===p)l=!0,0<=D&&(k=e.offset+D,m=!0);else{if(l&&(160===p||163===p)&&(0>f&&(f=n),m))break;163===p&&(f=Math.max(0,f),k=e.offset+D);if(160===p){0>f&&(k=f=e.offset+D);break}e.skip(D)}}0>f&&(k=-1)}if(0>f)break;a.M=f;a.G=k-f}if(a.M>d)break;a.M?(d=UD(a,a.M),d.w&&!a.w.ce()&&VD(a,d),SD(a,b,d),WD(a,d),a.M=0):a.G&&(d=UD(a,0>a.G?Infinity:a.G), a.G-=d.o.getLength(),WD(a,d))}}a.o&&a.o.info.A&&(WD(a,a.o),a.o=null)}; TD=function(a,b){!a.w.ce()&&0==b.info.w&&(g.gt(b.info.o.info)||b.info.o.info.Bc())&&Fw(b);if(1==b.info.type)try{VD(a,b),YD(a,b)}catch(d){g.M(d);var c=gw(b.info);c.hms="1";a.S("error",c||{})}b.info.o.ho(b);a.C&&$C(a.C,b)}; Cia=function(a){var b=a.u.reduce(function(c,d){return c+d.o.getLength()},0); a.o&&(b+=a.o.o.getLength());return b}; ZD=function(a){return(0,g.Cc)(a.u,function(b){return b.info})}; $D=function(a){a.P&&!a.A.Tc&&a.S("placeholderrollback",a.P);a.P=null;a.F=null;a.Z=a.ha;a.B-=a.I;RD(a)}; UD=function(a,b){var c=a.o,d=Math.min(b,c.o.getLength());if(d==c.o.getLength())return a.o=null,c;c.o.getLength();d=Math.min(d,c.info.Oa);var e=c.o.split(d),f=e.mo;e=e.ij;var k=new aw(c.info.type,c.info.o,c.info.range,c.info.F,c.info.u,c.info.startTime,c.info.duration,c.info.w,d,!1,!1);f=new ww(k,f,c.w);c=new aw(c.info.type,c.info.o,c.info.range,c.info.F,c.info.u,c.info.startTime,c.info.duration,c.info.w+d,c.info.Oa-d,c.info.C,c.info.A);c=new ww(c,e,!1);c=[f,c];a.o=c[1];return c[0]}; VD=function(a,b){b.o.getLength();var c=xw(b);if(!a.A.QC&&ft(b.info.o.info)&&"bt2020"==b.info.o.info.ya().primaries){var d=new Cv(c);Ev(d,[408125543,374648427,174,224,21936,21937])&&(d=d.w+d.o,129==c.getUint8(d)&&1==c.getUint8(d+1)&&c.setUint8(d+1,9))}d=b.info.o.info;et(d)&&!ft(d)&&(d=xw(b),Kv(new Cv(d)),Jv([408125543,374648427,174,224],21936,d));b.info.o.info.isVideo()&&(d=b.info.o,d.info&&d.info.video&&4==d.info.video.projectionType&&!d.A&&(g.gt(d.info)?d.A=Ofa(c):d.info.Bc()&&(d.A=Qfa(c))));b.info.o.info.Bc()&& b.info.isVideo()&&(c=xw(b),Kv(new Cv(c)),Jv([408125543,374648427,174,224],30320,c)&&Jv([408125543,374648427,174,224],21432,c));if(a.w.info.audio&&g.gt(b.info.o.info)){d=xw(b);c=g.mv(d,0,1701606260);var e=g.mv(d,0,1836476516);if(c&&e){c.skip(2);var f=av(c),k=cv(c);d=[];var l=[],m=[],n=[];if(f)for(f=0;fm||(e&&b.skip(4),f&&b.skip(4),e=cv(b),b.skip((m-1)*(4+(k?4:0)+(l?4:0)+(d?4:0))-4),b.data.setUint32(b.offset+b.o,e))}}if(b=a.R&&!!a.R.w.w)if(b=c.info.isVideo())b=Ew(c),k=a.R,aE?(l=1/b,b=bE(a,b)>=bE(k)+l):b=a.getDuration()>=k.getDuration(),b=!b;b&&a.w.ce()&&c.info.u==c.info.o.index.jb()&&(b= a.R,aE?(l=Ew(c),k=1/l,l=bE(a,l),b=bE(b)+k-l):b=b.getDuration()-a.getDuration(),b=1+b/c.info.duration,nv(xw(c),b))}else{k=!1;a.F||(Fw(c),c.u&&(a.F=c.u,k=!0,iw(c.info,c.u),e=c.info.o.info,d=xw(c),g.gt(e)?yv(d,1701671783):e.Bc()&&Jv([408125543],307544935,d)));if(d=e=Dw(c))d=c.info.o.info.Bc()&&160==uw(c.o,0);if(d)a.I+=e,a.B=l+e;else{if(a.A.zv){if(l=f=a.ga(Aw(c),1),0<=a.B&&6!=c.info.type){f-=a.B;m=f-a.ba;d=c.info.u;1E-4a.A.Hc||(l=a.B),a.A.xv&&a.R&&!a.w.info.audio&&g.gt(c.info.o.info))){var n=a.R;var p=n.aa;n=n.ba;var t=.02p&&d>a.aa)&&t&&(d=Math.max(.95,Math.min(1.05,(e-(n-f))/e)),nv(xw(c),d),d=Dw(c),m=e-d,e=d)}a.ba=f+m}}else isNaN(a.B)?f=c.info.startTime:f=a.B,l=f;Bw(c,l)?(isNaN(a.U)&&(a.U=l),a.I+=e,a.B=l+e):(l=gw(c.info),l.smst="1",a.S("error",l||{}))}if(k&&a.F){k=cE(a,!0);jw(c.info,k);a.o&&jw(a.o.info, k);b=g.q(b.info.o);for(l=b.next();!l.done;l=b.next())jw(l.value,k);(c.info.A||a.o&&a.o.info.A)&&6!=c.info.type||(a.P=k,a.S("placeholderinfo",k),dE(a))}}YD(a,c);a.V&&Cw(c,a.V)}; WD=function(a,b){if(b.info.A){a.ha=b.info;if(a.F){var c=cE(a,!1);a.S("segmentinfo",c);a.P||dE(a);a.P=null}RD(a)}a.C&&$C(a.C,b);if(c=QD(a))if(c=zw(c,b,a.A.Pk)){a.u.pop();a.u.push(c);return}a.u.push(b)}; RD=function(a){a.o=null;a.M=-1;a.G=0;a.F=null;a.U=NaN;a.I=0;a.P=null}; YD=function(a,b){if(a.w.info.zc){if(b.info.o.info.Bc()){var c=new Cv(xw(b));if(Ev(c,[408125543,374648427,174,28032,25152,20533,18402])){var d=Hv(c,!0);c=16!=d?null:Ov(c,d)}else c=null;d="webm"}else b.info.P=nia(xw(b)),c=oia(b.info.P),d="cenc";c&&c.length&&(c=new JD(c,d),c.Bc=b.info.o.info.Bc(),b.u&&b.u.cryptoPeriodIndex&&(c.cryptoPeriodIndex=b.u.cryptoPeriodIndex),a.A.an&&b.u&&b.u.B&&(c.o=b.u.B),a.S("needkeyinfo",c))}}; dE=function(a){var b=a.F,c;b.o["Cuepoint-Type"]?c=new gv(eE?parseFloat(b.o["Cuepoint-Playhead-Time-Sec"])||0:-(parseFloat(b.o["Cuepoint-Playhead-Time-Sec"])||0),parseFloat(b.o["Cuepoint-Total-Duration-Sec"])||0,b.o["Cuepoint-Context"],b.o["Cuepoint-Identifier"]||"",Dia[b.o["Cuepoint-Event"]||""]||"unknown",1E3*(parseFloat(b.o["Cuepoint-Playhead-Time-Sec"])||0)):c=null;c&&(c.startSecs+=a.U,a.S("cuepoint",c,b.u))}; cE=function(a,b){var c=a.F;if(c.o["Stitched-Video-Id"]||c.o["Stitched-Video-Duration-Us"]||c.o["Stitched-Video-Start-Frame-Index"]){c.o["Stitched-Video-Id"]&&c.o["Stitched-Video-Id"].split(",");var d=[];if(c.o["Stitched-Video-Duration-Us"])for(var e=g.q(c.o["Stitched-Video-Duration-Us"].split(",").slice(0,-1)),f=e.next();!f.done;f=e.next())d.push((parseInt(f.value,10)||0)/1E6);d=[];if(c.o["Stitched-Video-Start-Frame-Index"])for(e=g.q(c.o["Stitched-Video-Start-Frame-Index"].split(",").slice(0,-1)), f=e.next();!f.done;f=e.next())d.push(parseInt(f.value,10)||0)}return new Wu(c.u,a.U,b?c.Ee:a.I,c.ingestionTime,"sq/"+c.u,void 0,void 0,b)}; bE=function(a,b){b=void 0===b?0:b;var c=b?Math.round(a.V*b)/b:a.V;a.w.w&&c&&(c+=a.w.w.o);return c+a.getDuration()}; fE=function(a,b){0>b||(a.u.forEach(function(c){return Cw(c,b)}),a.V=b)}; gE=function(a,b,c){this.U=a;this.o=b;this.A=[];this.w=new OD(a,b,c);this.u=this.F=null;this.R=0;this.P=b.info.o;this.M=0;this.G=b.Ll();this.C=-1;this.B=this.G;this.I=!1}; hE=function(a,b){b&&aE&&fE(a.w,b.Sr());a.F=b}; iE=function(a){return a.F&&a.F.Or()}; kE=function(a){for(;a.A.length&&6==a.A[0].state;){var b=a.A.shift();jE(a,b);b=b.timing;a.R=(b.A-b.o)/1E3}a.A.length&&HD(a.A[0])&&!a.A[0].info.ee()&&jE(a,a.A[0])}; jE=function(a,b){if(HD(b)){b.P=!0;ID(b);var c=b.w,d=c.o;c.o=[];c.B=g.Va(d).info;c=g.q(d);for(d=c.next();!d.done;d=c.next())lE(a,b,d.value)}}; lE=function(a,b,c){switch(c.info.type){case 1:case 2:TD(a.w,c);break;case 4:var d=c.info.o.Wy(c);c=c.info;var e=a.u;e&&e.o==c.o&&e.type==c.type&&(c.range&&e.range?e.range.start==c.range.start&&e.range.end==c.range.end:e.range==c.range)&&e.u==c.u&&e.w==c.w&&e.Oa==c.Oa&&(a.u=g.Va(d).info);d=g.q(d);for(c=d.next();!c.done;c=d.next())lE(a,b,c.value);break;case 3:XD(a.w,b,c);break;case 6:XD(a.w,b,c),a.u=c.info}}; mE=function(a){return PD(a.w)}; nE=function(a,b){var c=b.info;c.o.info.o>=a.P&&(a.P=c.o.info.o)}; rE=function(a,b,c){c=void 0===c?!1:c;if(a.F){var d=a.F.ud(),e=Qt(d,b),f=NaN,k=iE(a);k&&(f=Qt(d,k.o.index.gd(k.u)));if(e==f&&a.u&&a.u.Oa&&oE(pE(a),0))return b}a=qE(a,b,c);return 0<=a?a:NaN}; tE=function(a,b){a.o.cd();var c=qE(a,b);if(0<=c)return c;c=a.w;c.C?(c=c.C,c=c.o&&3==c.o.type?c.o.startTime:0):c=Infinity;b=Math.min(b,c);a.u=a.o.pg(b).o[0];sE(a)&&a.F&&a.F.abort();a.M=0;return a.u.startTime}; uE=function(a){a.G=!0;a.B=!0;a.C=-1;tE(a,Infinity)}; vE=function(a){var b=0;(0,g.y)(a.A,function(c){var d=b;c=c.w&&c.w.length?qia(c.w):px(c.info);b=d+c},a); return b+=Cia(a.w)}; wE=function(a,b){if(!a.F)return 0;var c=iE(a);if(c&&c.C)return c.B;c=a.F.ud(!0);return St(c,b)}; yE=function(a){xE(a);a=a.w;a.u=[];RD(a)}; zE=function(a,b){var c;for(c=0;c=e.range.start+e.w&&f.range.start+f.w+f.Oa<=e.range.start+e.w+e.Oa:f.u==e.u&&f.w>=e.w&&(f.w+f.Oa<=e.w+e.Oa||e.A))})); (cw(e)||4==e.type)&&b.push(e)})}); a.u&&!Tfa(a.u,g.Va(b),a.u.o.ce())&&b.push(a.u);return b}; oE=function(a,b){if(!a.length)return!1;for(var c=b+1;c=b){b=f;break a}}b=e}return 0>b?NaN:oE(a,c?b:0)?a[b].startTime:NaN}; AE=function(a){return kj(a.A,function(b){return 4<=b.state})}; BE=function(a){return!(!a.u||a.u.o==a.o)}; CE=function(a){return BE(a)&&a.o.cd()&&a.u.o.info.ob&&a.B=f&&a.Aa.C?(a.C++,PE(a,"iterativeSeeking","inprogress;count."+a.C+";target."+ a.A+";actual."+f+";duration."+k+";isVideo."+c,!1),a.seek(a.A)):(PE(a,"iterativeSeeking","incomplete;count."+a.C+";target."+a.A+";actual."+f,!1),a.C=0,a.u.B=!1,a.o.B=!1,a.S("seekplayerrequired",f+.1,!0)))}})}; Gia=function(a,b,c){if(!a.w)return-1;c=(c?a.u:a.o).o.index;var d=c.Re(a.A);return(xx(c,a.B.Hd)||b.La==a.B.Hd)&&d=c||(c=new gv(a.o.td.startSecs-(a.B.yb&&!isNaN(a.w)?a.w:0),c,a.o.td.context,a.o.td.identifier,"stop",a.o.td.o+1E3*b.duration),a.S("ctmp","cuepointdiscontinuity","segNum."+b.La,!1),a.G(c,b.La))}}; Iia=function(a,b,c,d){this.V=a;this.F=b;this.C=c;this.G=d;this.A=Du;this.B=this.P=null;this.R=-1;this.u=this.w=null;this.o=[];this.U={};this.I=0;this.M=this.Z=!1;this.ba=0}; Lia=function(a,b,c){VE(a,b);Jia(a,c);a.P=a.w;Kia(a);a.B=a.u;return WE(a)}; Mia=function(a,b){if(Au(a.A,b))return null;if("m"==b.reason&&b.isLocked())return VE(a,b),a.I=a.o.length-1,XE(a),YE(a),a.M=a.M||a.B!=a.u,a.B=a.u,new VC(a.w,a.B,b.reason);"r"==b.reason&&(a.R=-1);VE(a,b);YE(a);if("r"==b.reason&&a.u==a.B)return new VC(a.w,a.u,b.reason);if(a.B&&a.u&&ZE(a,a.B.info)b)return!0;return!1}; Oia=function(a){return new VC(a.P,a.B,a.A.reason)}; bF=function(a){return a.A.isLocked()}; Pia=function(a){return 0this.F.I)return!1;l=this.C.o[l.id];return l.P>d?!1:4k.video.width?(g.cb(e,c),c--):ZE(a,f)*a.F.o>ZE(a,k)&&(g.cb(e,c-1),c--)}c=e[e.length-1];a.o=e;Vfa(a.F,c)}; Jia=function(a,b){if(b)a.w=a.C.o[b];else{var c=g.Xa(a.G.o,function(d){return!!d.tb&&d.tb.isDefault}); c=c||a.G.o[0];a.w=a.C.o[c.id]}XE(a)}; cF=function(a,b){for(var c=0;c+1d}; XE=function(a){if(!a.w||!a.F.w)if(!a.w||!a.w.info.tb)if(a.w=a.C.o[a.G.o[0].id],1a.A.o:cF(a,a.w);b&&(a.w=a.C.o[g.Va(a.G.o).id])}}; YE=function(a){if(!a.u||!a.F.w)if(bF(a))a.u=360>=a.A.o?a.C.o[a.o[0].id]:a.C.o[g.Va(a.o).id];else{for(var b=Math.min(a.I,a.o.length-1),c=LE(a.V),d=ZE(a,a.w.info),e=c/a.F.u-d;0=c);b++);a.u=a.C.o[a.o[b].id];a.I=b}}; Kia=function(a){var b=a.F.u,c=LE(a.V)/b-ZE(a,a.w.info);b=g.Ya(a.o,function(d){return ZE(this,d)b&&(b=0);a.I=b;a.u=a.C.o[a.o[b].id]}; ZE=function(a,b){if(!a.U[b.id]){var c=a.C.o[b.id].index.yx(a.ba,15);c=b.w&&a.B&&a.B.index.Hb()?c||b.w:c||b.o;a.U[b.id]=c}c=a.U[b.id];a.F.qe&&b.video&&b.video.fc>a.F.qe&&(c*=1.5);return c}; Qia=function(a,b){var c=Lb(a.C.o,function(d){return ct(d.info)==b}); if(!c)throw Error("Itag "+b+" from server not known.");return c}; Ria=function(a){var b=[];if("m"==a.A.reason||"s"==a.A.reason)return b;var c=!1;if(sga(a.C)){for(var d=Math.max(0,a.I-2);d=c)a.P=NaN;else{var d=wy(a.V),e=b.index.o;c=Math.max(1,d/c);a.P=Math.round(1E3*Math.max(((c-1)*e+a.o.M)/c,e-a.o.rb))}}}; Tia=function(a,b){var c=(0,g.H)()/1E3,d=c-a.C,e=c-a.G,f=e>=a.o.Vf,k=!1;if(f){var l=0;!isNaN(b)&&b>a.F&&(l=b-a.F,a.F=b);l/e=a.o.rb&&!a.A;if(!f&&!c&&gF(a,b))return NaN;c&&(a.A=!0);a:{d=k;c=(0,g.H)()/1E3-(a.U.o()||0)-a.I.w-a.o.M;f=a.w.startTime;c=f+c;if(d){if(isNaN(b)){hF(a,NaN,"n",b);f=NaN;break a}d=b-a.o.nb;dc)break}return d}; lF=function(a,b){for(var c=[],d=g.q(a.o),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c}; Wia=function(a){return a.o.slice(kF(a,0x7ffffffffffff),a.o.length)}; kF=function(a,b){var c=qb(a.o,function(d){return b-d.start||1}); return 0>c?-(c+1):c}; mF=function(a,b){for(var c=NaN,d=g.q(a.o),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&(isNaN(c)||e.endb&&(isNaN(c)||e.starta.o.length)a.o=a.o.concat(b),a.o.sort(a.u);else for(var c=g.q(b),d=c.next();!d.done;d=c.next())d=d.value,!a.o.length||0l.end:!l.contains(c))&&f.push(l);e=e.concat(tF(a,f));k=f=null;d?(b=lF(a.o,0x7ffffffffffff),f=b.filter(function(m){return 0x8000000000000>m.end}),k=Wia(a.o)):b=a.A<=c&&PC(b)?Via(a.o,a.A,c):lF(a.o,c); e=e.concat(sF(a,b));f&&(e=e.concat(tF(a,f)));k&&(e=e.concat(sF(a,k)));a.A=c;Yia(a,e)}}; Yia=function(a,b){for(var c=g.q(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=d[1];1===d[0]?a.I(g.lC(e.namespace),e):a.I("crx_"+e.namespace,e)}}; Xia=function(a){return g.V(a.G(),2)?0x8000000000000:1E3*a.M()}; $ia=function(a){a=void 0===a?{}:a;var b=a.nd,c=a.Mm,d=a.jb,e=a.Aj;this.gg=a.gg;this.nd=b;this.Mm=c;this.jb=d;this.Aj=e}; uF=function(a,b){if(0>b)return!0;var c=a.jb();return bb)return 1;c=a.jb();return b(0,g.N)()-d.R;var f=d.u&&3*ZE(d,d.u.info)=a.o.nn&&!a.o.Wa||!a.o.fA&&0=a.o.Nn)return!1;d=b.u;if(!d)return!0;if(!jx(d.o.u))return!1;4==d.type&&d.o.cd()&&(b.u=g.Va(d.o.Ip(d)),d= b.u);if(!d.C&&!d.o.Cg(d)||d.o.info.audio&&4==d.type)return!1;if(CE(b)&&!a.o.da)return!0;if(d.C||vE(b)&&vE(b)+vE(c)>a.o.za)return!1;var e=!b.B&&!c.B,f=b==a.u&&a.U;!(c=!!(c.u&&!c.u.C&&c.u.Bc);return c||a.o.zo&&(a=b.F)&&a.isLocked()?!1:!0}; IF=function(a,b,c){if((!a.w||Yt(a.w)||cu(a.w))&&!a.I.w&&a.F.Z){var d=a.C;a=a.P;c=JE(a,b.o.info.o,c.o.info.o,0);var e=ty(a.u)+c/wy(a.u);d+=Math.max(e,e+a.o.Mc-c/b.o.info.o);a:{if(b.A.length){if(b.A[0].info.o[0].startTime<=d)break a;xE(b)}a=b.w;for(c=a.u.length-1;0<=c;c--)a.u[c].info.startTime>d&&a.u.pop();b.A.length?b.u=g.Va(g.Va(b.A).info.o):b.w.u.length?b.u=QD(b.w).info:b.u=iE(b);b.u&&dc.o[0].u)a.Dc("invalidsq",hw(c.o[0]));else{if(a.Ma){var d=gja(a.Ma.o,c.o[0].G,c.o[0].o.info.id);d&&(c.B=d)}a.o.Qk&&-1!=c.o[0].u&&c.o[0].ud.u&&(c=gw(d),c.pr=""+b.A.length,a.I.w&&(c.sk="1"),a.Dc("nosq",d.F+";"+Ps(c))),d=k.hh(d));a.U&&d.o.forEach(function(l){l.type=6}); return d}; hja=function(a,b,c){if(!BE(b)||!b.o.cd())return!1;a=Math.min(15,.5*GF(a,b,!0));return CE(b)||c<=a}; ija=function(a,b,c){b=a.o.Li(a,b);if(b.range&&1d&&(b=a.o.Li(a,b.range.length-c.Oa))}return b}; jja=function(a,b){var c=px(b),d=a.P;var e=Math.min(2.5,ty(d.u));d=KE(d);e=c-e*d;d=bw(b.o[0]);var f=$w(b.u.o),k=a.o.F,l;a.Ka?l={ee:d,Cf:f,Bi:k,Gf:a.Ka,La:b.o[0].u,xd:b.xd}:l={ee:d,Cf:f,Bi:k};return new tia(a.R,c,e,l)}; JF=function(a,b){cw(b.o[b.o.length-1])&&MF(a,Nia(a.F,b.o[0].o));var c=jja(a,b);a.o.hn&&(c.B=[]);var d=new sD(a.o,b,c,a.ga);c.V=function(){var e;if(Bia(d)){if(e=d.u.cn&&!(!window.performance||!window.performance.now)&&d.o&&d.o.Ij()&&FD(d))e=d.o,e=e.policy.nd&&tx(e);e=e?d.info.o[0].o.info.video?3:4:2}else e=1;return e}; xia(d,(0,g.x)(a.IM,a));3==b.o.length&&1==b.o[0].type&&2==b.o[1].type&&4==b.o[2].type&&b.o[0].o.info.video&&(d.aa=Ria(a.F));a.U&&(d.ha=!0);d.start(Math.max(0,b.o[0].G-a.C));return d}; MF=function(a,b){b&&a.S("videoformatchange",b)}; NF=function(a,b){var c=b.info.o[0].o,d=c.info.video?a.u:a.A;kja(a,d,b);b.info.ee()&&!mx(b.info)&&((0,g.y)(Aia(b),function(e){TD(d.w,e)}),a.S("metadata",c)); kE(d);return!!mE(d)}; kja=function(a,b,c){if(a.B.u&&b&&(b.G&&(c.ea(),5<=c.state||FD(c)||HD(c),b.G=!1),c.U&&a.oa.w(1,c.U),c.o&&(c.ba=parseInt(c.o.dd("X-Head-Seqnum"),10)),b=c.ba)){a=a.B;for(var d in a.o)c=a.o[d].index,c.u&&(c.w=Math.max(c.w,b))}}; OF=function(a,b,c){a:{b=b.info;var d=a.o.BC,e=null,f=b.o[0];if(b.range)e=Zv(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.w&&0<=b.w.indexOf("/range/")||"1"==b.u.A.get("defrag")||"1"==b.u.A.get("otf")){c=null;break a}e=Zv(0,4096)}else if(f.o.info.video){c=null;break a}d=new aw(5,f.o,e,"createProbeRequestInfo_"+f.F,f.u);b=new lx([d],b.w);b.C=c;c=b}c&&JF(a,c)}; SF=function(a){var b=a.w.o,c=a.w.u;a.A.o.w&&PF(a,b,a.A.o.w);if(lja(a)){if(a.o.Qg){if(!b.vi()){var d=mE(a.A);d&&QF(a,b,d)}c.vi()||(b=mE(a.u))&&QF(a,c,b)}}else{if(a.G){d=a.G;var e=a.A,f=Rt(a.w.u.ud());if(d.B)d=Tia(d,f);else{if(f=mE(e)){var k=f.u;k&&k.A&&k.w&&(e=e.A.length?e.A[0]:null)&&3<=e.state&&7!=e.state&&0==e.info.xd&&FD(e)&&(d.B=e,d.I=k,d.w=f.info,d.C=(0,g.H)()/1E3,d.G=d.C,d.F=d.w.startTime)}d=NaN}d&&a.S("seekplayerrequired",d,!0)}d=!1;RF(a,a.u,c)&&(d=!0,c=a.da,c.w||(c.w=(0,g.H)(),c.md("vda"), OA("vda"),c.u&&Xp(4)));c=mE(a.u);a.o.wa&&!d&&c&&(a.yb||a.Dc("sbp",a.w.u.Za({ns:hw(c.info)})),a.yb=!0);a.w&&!au(a.w)&&(RF(a,a.A,b)&&(b=a.da,b.u||(b.u=(0,g.H)(),b.md("ada"),OA("ada"),b.w&&Xp(4)),d=!0),!a.ea()&&a.w&&(!a.o.Z&&sE(a.u)&&sE(a.A)&&Yt(a.w)&&!a.w.Sd()&&(b=iE(a.A).o,b==a.B.o[b.info.id]&&(b=a.w,Yt(b)&&b.w.endOfStream(),b=a.R,fy(yy(b)),b.A=ry())),d&&!cu(a.w)&&a.aa.Ua()))}}; lja=function(a){if(a.o.Ia)return!1;var b;if(!(b=GE(a.u))&&(b=a.I.w)){b=a.P;var c=a.u,d=a.A;if(0==c.A.length&&0==d.A.length)b=!0;else{var e=0,f=ZD(c.w).concat(ZD(d.w));f=g.q(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.Oa;c=c.o.info.o+d.o.info.o;e/=c;b=10c*(10-e)/LE(b)}(b=!b)||(b=a.u,b=0a.C||360e)){a:if(a.o.wa&&a.Dc("sba",c.Za({as:hw(d.info)})),e=d.w?d.info.o.o:null,f=rw(d.o),d.w&&(f=new Uint8Array(f.buffer,0,f.byteOffset+f.length)),e=TF(a,c,f,d.info,e),"s"==e){a.Ca=0;var l=!0}else{a.o.jv||(c.abort(),yE(b)); if("i"==e||"x"==e)UF(a,"checked",e,d.info);else{if("q"==e&&(d.info.isVideo()?(e=a.o,e.C=Math.floor(.8*e.C),e.V=Math.floor(.8*e.V),e.B=Math.floor(.8*e.B)):(e=a.o,e.G=Math.floor(.8*e.G),e.Aa=Math.floor(.8*e.Aa),e.B=Math.floor(.8*e.B)),c.supports(2)&&!c.Sd()&&!a.w.isView())){e=!1;f=c.ud();try{for(k=0;!e&&kd.info.B&&(c.remove(f.start(k),f.end(f.length-1)),e=!0);var m=Math.max(0,Math.min(a.C,d.info.startTime)-5);!e&&m&&c.remove(0,m);l=!1;break a}catch(n){}}a.S("reattachrequired")}l= !1}e=!l}if(e)return!1;b.w.u.shift();nE(b,d);return!0}; UF=function(a,b,c,d){var e="fmt.unplayable",f=!0;"x"==c||"m"==c?(e="fmt.unparseable",d.o.C=e,d.o.info.video&&!aF(a.F)&&$E(a.F,d.o)):"i"==c&&(15>a.Ca?(a.Ca++,e="html5.invalidstate",f=!1):e="fmt.unplayable");d=gw(d);d.mrs=a.w.w.readyState;d.origin=b;d.reason=c;EF(a,f,e,d)}; VF=function(a,b,c){if(c){var d=a.V;if(d.B.Qa){var e=d.o&&d.u&&d.o.La==d.u.La-1;e=d.o&&e&&"stop"!=d.o.td.event&&"predictStart"!=d.o.td.event;d.u&&d.u.Lac&&a.Dc("bwcapped","1",!0),c= Math.max(c,15),d=Math.min(d,c));return d}; eja=function(a){if(!a.Ta)return Infinity;var b=(0,g.ue)(qF(a.Ta),function(d){return"ad"==d.namespace}); b=g.q(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.C)return c.start/1E3;return Infinity}; mja=function(a,b){var c=pE(a.u).find(function(d){return d.startTime>=b&&wF(a,d.startTime,!1)}); return c&&c.startTimed;d++)c[2*d]=''.charCodeAt(d);c=a.w.createSession("video/mp4",b,c);return new eG(null,null,null,null,c)}; jG=function(a,b){var c=a.F[b.sessionId];!c&&a.A&&(c=a.A,a.A=null,c.sessionId=b.sessionId,a.F[b.sessionId]=c);return c}; lG=function(a,b,c,d){g.O.call(this);this.T=a;this.u=a.uc;this.w=b;this.aa=c;this.cryptoPeriodIndex=c.cryptoPeriodIndex||NaN;this.da=d;this.B=vja(this);this.B.session_id=d;this.I=!0;"widevine"==this.u.flavor&&(this.B.hdr="1");"playready"==this.u.flavor&&(a=parseInt(g.At(b.experiments,"playready_first_play_expiration"),10),!isNaN(a)&&0<=a&&(this.B.mfpe=""+a),g.P(b.experiments,"html5_playready_keystatuses_killswitch")||(this.I=!1),g.P(b.experiments,"html5_playready_enable_non_persist_license")&&(this.B.pst= "0"));a=Bz(this.u)?aG(c.initData).replace("skd://","https://"):this.u.u;g.P(this.w.experiments,"enable_shadow_yttv_channels")&&(a=new g.Pm(a),document.location.origin&&document.location.origin.includes("green")?g.Rm(a,"web-green-qa.youtube.com"):g.Rm(a,"www.youtube.com"),a=a.toString());this.G=a;this.ba=Cd(this.G,"ek")||"";this.V=g.P(b.experiments,"html5_use_drm_retry");this.U=0;this.F=this.P=!1;this.A=null;this.ha=c.u;this.C=[];this.M=!1;this.o={};this.R=NaN;kG(this,"sessioninit"+c.cryptoPeriodIndex)}; xja=function(a,b){kG(a,"createkeysession");HA("drm_gk_s");a.Z=wja(a);try{a.A=b.createSession(a.aa,function(d){return kG(a,d)})}catch(d){var c="t.g"; d instanceof DOMException&&(c+=";c."+d.code);a.S("licenseerror","drm.unavailable",!0,c,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK");return}a.A&&(fG(a.A,a.iI,a.hI,a.gI,a.jI,a),g.B(a,a.A))}; wja=function(a){var b=a.G,c=b;var d=void 0===d?!1:d;Mw(Ow(c,yja,null),c,d,"Drm Licensor URL")||mG(a,"drm.net",!0,"t.x");for(var e in a.B)c=e,d=a.B[e],b=zd(Dd(b,c),c,d);return b}; vja=function(a){var b={};g.Sb(b,a.w.deviceParams);b.cpn=a.T.clientPlaybackNonce;var c=["23883098"].filter(function(d){return a.w.experiments.experiments[d]}); 0=b&&(a=.75*b),c=.5*(b-a),a=new $F(c,b,b-c-a,this)):a=null;break a;case "widevine":a=new yG(g.P(b,"disable_license_delay"),c,this);break a}a=null}if(this.F=a)g.B(this,this.F),this.F.subscribe("rotated_need_key_info_ready",this.Zv,this);AG(this,"cks"+this.o.ge());a=this.o;"com.youtube.widevine.forcehdcp"===a.o&&a.A&&(this.za=new wG(this.T.Oe,this.u.experiments),g.B(this,this.za))}; EG=function(a,b,c){a.oa=!0;c=new JD(b,c);g.P(a.u.experiments,"html5_eme_loader_sync")?(a.C.get(b)||a.C.set(b,c),CG(a,c)):0!=a.A.length&&a.T.xa&&a.T.xa.o?DG(a):CG(a,c)}; FG=function(a,b){AG(a,"onneedkeyinfo");g.P(a.u.experiments,"html5_eme_loader_sync")&&(a.I.get(b.initData)||a.I.set(b.initData,b));CG(a,b)}; Gja=function(a,b){if(xz(a.o)&&!a.Z){var c=mia(b);if(0!=c.length){var d=new JD(c);a.Z=!0;navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(e){e.createMediaKeys().then(function(f){Fja(a,f,d)})},null)}}}; Fja=function(a,b,c){var d=b.createSession(),e=a.w.values[0],f=zja(e);d.addEventListener("message",function(k){k=new Uint8Array(k.message);tG(k,d,a.o.u,f,"playready")}); d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(k,l){"usable"==l&&(a.aa=!0,GG(a,rG(e,a.aa)))})}); d.generateRequest("cenc",c.initData)}; CG=function(a,b){if(!a.ea()){AG(a,"onInitData_");if(g.P(a.u.experiments,"html5_eme_loader_sync")&&a.T.xa&&a.T.xa.o){var c=a.I.get(b.initData),d=a.C.get(b.initData);if(!c||!d)return;b=c;c=b.initData;a.C.remove(c);a.I.remove(c)}AG(a,"initd"+b.initData.length+"ct"+b.contentType);"widevine"==a.o.flavor?a.da&&!a.T.va||g.P(a.u.experiments,"vp9_drm_live")&&a.T.va&&b.Bc||(a.da=!0,c=b.o,KD(b),c&&!b.Bc&&b.o!=c&&a.S("ctmp","cpsmm","emsg."+c+";pssh."+b.o),a.S("widevine_set_need_key_info",b)):a.Zv(b)}}; HG=function(a){a.ea()||(a.V=!0,AG(a,"onmdkrdy"),DG(a))}; DG=function(a){if(a.oa&&a.V&&!a.R){for(;a.A.length;){var b=a.A[0];if(a.w.get(b.initData))if("fairplay"==a.o.flavor)a.w.remove(b.initData);else{a.A.shift();continue}KD(b);break}if(a.A.length){b=a.A[0];a.w.get(b.initData);a.R=!0;var c=new lG(a.T,a.u,b,a.wa);a.w.set(b.initData,c);c.subscribe("ctmp",a.pA,a);c.subscribe("hdentitled",a.CA,a);c.subscribe("keystatuseschange",a.rz,a);c.subscribe("licenseerror",a.sz,a);c.subscribe("newlicense",a.MA,a);c.subscribe("newsession",a.OA,a);c.subscribe("sessionready", a.dB,a);c.subscribe("fairplay_next_need_key_info",a.zA,a);xja(c,a.M)}}}; GG=function(a,b){var c=Bu("auto",b,!1,"l");if(g.P(a.u.experiments,"html5_drm_initial_constraint_from_config")?a.T.jl:g.P(a.u.experiments,"html5_drm_start_from_null_constraint")){if(Au(a.G,c))return}else if(Gu(a.G,b))return;a.G=c;a.S("qualitychange");AG(a,"updtlq"+b)}; AG=function(a,b){SB(a.T)&&a.Oh.S("ctmp","drmlog",b)}; IG=function(a,b,c,d){this.videoData=a;this.o=b;this.reason=c;this.u=d}; Hja=function(a,b){this.videoData=a;this.xa=b}; Ija=function(a,b,c){return b.on(c).then(function(){return(a.fa("disable_index_range_auth")||!b.lo||!b.xa.o||b.Ef()||b.Ml()?0:/(&|,|^)init=0-0(&|,|$)/.test(b.adaptiveFormats))?kr(new Os("auth",!0,{init:"1"})):lr(new Hja(b,b.xa))},function(d){d instanceof Error&&g.Go(d); d=b.va&&!g.uu(a.A,!0)?"html5.unsupportedlive":"fmt.noneavailable";var e={buildRej:"1",a:""+ +!!b.adaptiveFormats,d:""+ +!!b.fe,f18:""+ +(0<=b.Gk.indexOf("itag=18")),c18:""+ +Ct('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f43:""+ +(0<=b.Gk.indexOf("itag=43")),c43:""+ +Ct('video/webm; codecs="vp8.0, vorbis"')};b.ia&&(e.f133=""+ +!!b.ia.o["133"],e.c133=""+ +Et('video/mp4; codecs="avc1.42001E"'),e.f140=""+ +!!b.ia.o["140"],e.c140=""+ +Et('audio/mp4; codecs="mp4a.40.2"'),e.f242=""+ +!!b.ia.o["242"], e.c242=""+ +Et('video/webm; codecs="vp9"'));return new Os(d,!0,e)})}; JG=function(a,b){g.O.call(this);this.o=a;this.M=b;this.P=this.C=this.F=this.w=this.u=this.B=this.I=this.A=0;this.G=1}; LG=function(a,b,c){!g.P(a.o.experiments,"html5_tv_ignore_capable_constraint")&&g.$y(a.o)&&(c=Eu(c,KG(a,b)));return c}; KG=function(a,b){if(g.$y(a.o)&&fu(a.o.A,ju))var c=b.xa.videoInfos[0].ya().fc;else{var d=!!b.xa.o;Qy(a.o)&&(c=window.screen&&window.screen.width?new g.Sd(window.screen.width,window.screen.height):null);c||(c=a.o.Pk?a.o.Pk.clone():a.M.getPlayerSize());if(Sy||MG||d){d=c;var e=g.iz();d.width*=e;d.height*=e}hB(b.videoData)||QB(b.videoData);var f=b.xa.videoInfos;if(f.length){d=.85;e=f[0].ya();4!=e.projectionType&&2!=e.projectionType&&3!=e.projectionType||Oy||(d=.45);e=f[0];var k=e.ya();f=g.q(f);for(var l= f.next();!l.done&&!(e=k=l.value,k=k.ya(),null===c||k.width*d(0,g.N)()-a.B?0:f||0k?a.w+1:0;if(!e||g.$y(a.o)||!PG(a,b))return!1;a.u=d>e?a.u+1:0;if(3!=a.u)return!1;QG(a,b.videoData.Ba);a.S("ctmp","dfd",RG());return!0}; PG=function(a,b){if(OG(a,"html5_restore_perf_cap_redux"))return!0;if(!b.videoData.Ba)return!1;if("1"==b.videoData.Ba.u)return!0;var c=a.o.o?240:360;return b.videoData.Ba.ya().fc>c}; QG=function(a,b){var c=b.ya().fc-1,d=b.u,e=b.ya().fps,f=c,k=iy();d=hy(d,e);0<+k[d]&&(f=Math.min(+k[d],f));k[d]!=f&&(k[d]=f,g.Ds("yt-player-performance-cap",k,604800));a.o.Wf=new zu(0,c,!1,"b")}; SG=function(a,b){if(OG(a,"html5_restore_perf_cap_redux")){if(!b.xa.o)return Du;for(var c=0,d=a.o.o?240:360,e=g.q(b.xa.videoInfos),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.u,l=f.ya().fps;k=+iy()[hy(k,l)]||0;f=f.ya().fc;if(!k||Math.max(k,d)>=f){c=f;break}}return new zu(0,c,!1,"b")}return a.o.Wf}; OG=function(a,b){return g.P(a.o.experiments,b)}; Lja=function(a,b){OG(a,"html5_log_media_perf_info")&&(a.S("ctmp","perfdb",RG()),a.S("ctmp","hwc",""+navigator.hardwareConcurrency,!0),b&&a.S("ctmp","mcdb",b.xa.videoInfos.filter(function(c){return!1===c.A}).map(function(c){return ct(c)}).join("-")))}; RG=function(){var a=Bb(iy(),function(b){return""+b}); return Ps(a)}; TG=function(){this.endTime=this.startTime=-1;this.ar="-";this.playbackRate=1;this.visibilityState=0;this.Uq="";this.volume=this.connectionType=this.Wg=0;this.muted=!1;this.clipId="-"}; UG=function(a,b,c,d,e,f,k,l,m,n,p,t,u){this.videoData=a;this.o=b;this.Wc=c;this.B=d;this.u=e;this.A=f;this.G=k;this.getAudioTrack=l;this.getPlaybackRate=m;this.C=n;this.getVisibilityState=p;this.F=t||function(){}; this.w=null;this.I=u||function(){}}; g.WG=function(a){return VG(a)()}; VG=function(a){if(!a.w){var b=g.Qa(function(c){var d=(0,g.N)();c&&631152E6>=d&&(g.M(Error("invalid coreTime.now value: "+d)),d=(new Date).getTime()+2);return d},g.P(a.o.experiments,"html5_validate_yt_now")); a.w=g.Qa(function(c){return Math.round(b()-c)/1E3},b()); a.I()}return a.w}; YG=function(a){if(navigator.connection&&navigator.connection.type)return XG[navigator.connection.type]||XG.other;if(g.$y(a.o)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0}; ZG=function(a){var b=new TG;b.ar=a.Wc().cc||"-";b.playbackRate=a.getPlaybackRate();var c=a.getVisibilityState();0!=c&&(b.visibilityState=c);a.o.Wg&&(b.Wg=1);c=a.getAudioTrack();c.tb&&c.tb.id&&"und"!=c.tb.id&&(b.Uq=c.tb.id);b.connectionType=YG(a);b.volume=a.Wc().volume;b.muted=a.Wc().muted;b.clipId=a.Wc().clipid||"-";return b}; g.$G=function(a,b){this.state=a;this.Jh=b}; aH=function(a,b){return g.V(a.state,b)&&!g.V(a.Jh,b)?1:!g.V(a.state,b)&&g.V(a.Jh,b)?-1:0}; g.bH=function(a,b){return 0a.A)){var b=g.WG(a.u),c=b-a.P;a.P=b;8==a.o.o?a.F+=c:g.QC(a.o)&&!g.V(a.o,16)&&(a.G+=c)}}; fH=function(a){var b=g.At(a.o.experiments,"web_player_ipp_canary_type_for_logging");if("control"==b)return"HTML5_PLAYER_CANARY_TYPE_CONTROL";if("experiment"==b)return"HTML5_PLAYER_CANARY_TYPE_EXPERIMENT";a=a.o.experiments.experimentIds;return a.includes("21561000")?"HTML5_PLAYER_CANARY_TYPE_SMALL_EXPERIMENT":a.includes("21561001")?"HTML5_PLAYER_CANARY_TYPE_SMALL_CONTROL":"HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"}; Mja=function(a){return(!a.fa("html5_health_to_gel")||a.o.oa+36E5<(0,g.N)())&&(a.fa("html5_health_to_gel_canary_killswitch")||a.o.oa+36E5<(0,g.N)()||"HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"==fH(a))?a.fa("html5_health_to_qoe"):!0}; hH=function(a){g.A.call(this);var b=this;this.o=a;this.u={};this.V=1;this.ma=NaN;this.w="N";this.F=this.Ca=this.wa=this.da=this.C=0;this.ba=this.Ea="";this.oa=0;this.Ia=-1;this.Aa=1;this.R=this.U=0;this.aa=this.M=!1;this.Ma=[];this.G=null;this.I=this.Z=this.A=!1;this.B=-1;this.ga=!1;this.Ka=new g.I(this.DF,750,this);g.B(this,this.Ka);(a=navigator.getBattery?navigator.getBattery():null)&&a.then&&a.then(function(c){b.G=c}); g.gH(this,0,"vps",["N"])}; g.gH=function(a,b,c,d){var e=a.u[c];e||(e=[],a.u[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))}; jH=function(a,b){var c=a.o.u();g.gH(a,b,"cmt",[c.toFixed(3)]);if(a.P&&1E3*c>a.P.eA+100){var d=a.P;a.ha=1E3*b-d.pO-(1E3*c-d.eA)-d.fO;iH(a,"gllat","l."+a.ha.toFixed());delete a.P}}; lH=function(a,b){b=0<=b?b:g.WG(a.o);var c=a.o.A();if(!isNaN(a.za)&&!isNaN(c.w)){var d=c.w-a.za;0=c-d}; XH=function(a){return Math.max(a.I()-WH(a,!0),a.T.Ab())}; ZH=function(a,b,c){b=YH(a,b);c||b?b&&(a.A=!0):a.A=!1;a.C=2==a.o.u||3==a.o.u&&a.A}; $H=function(a,b){var c=YH(a,b);a.F!=c&&a.S("livestatusshift",c);a.F=c}; VH=function(a){return a.T.ia?by(a.T.ia)||5:5}; TH=function(a,b){b=Math.max(Math.max(a.o.P,Math.ceil(a.o.w/VH(a))),b);return Math.min(Math.min(8,Math.floor(a.o.G/VH(a))),b)}; Wja=function(){this.P=1;this.w=0;this.G=Infinity;this.I=0;this.A=!0;this.o=2;this.u=1;this.B=!1;this.F=NaN;this.M=this.C=!1}; aI=function(){var a=xp();return!(!a||"visible"===a)}; cI=function(a){var b=bI();b&&document.addEventListener(b,a,!1)}; dI=function(a){var b=bI();b&&document.removeEventListener(b,a,!1)}; bI=function(){if(document.visibilityState)var a="visibilitychange";else{if(!document[wp+"VisibilityState"])return"";a=wp+"visibilitychange"}return a}; eI=function(){g.O.call(this);this.w=0;this.A=this.B=this.u=this.o=this.C=!1;this.F=(0,g.x)(this.Qi,this);cI(this.F);this.G=this.getVisibilityState(this.u,this.isFullscreen(),this.o,this.isInline(),this.B,this.A)}; Xja=function(a,b){a.u!=b&&(a.u=b,a.Qi())}; fI=function(a,b){a.B!=b&&(a.B=b,a.Qi())}; iI=function(a,b,c){g.A.call(this);this.B=a;this.G=b;this.U=c;this.A=new g.HC;this.u=this.w=null;this.I=this.P=this.o=0;this.F=new g.I(this.V,1001,this);g.B(this,this.F);this.ha=new gI({delayMs:g.Q(this.B.experiments,"html5_seek_timeout_delay_ms")});this.R=new gI({delayMs:g.Q(this.B.experiments,"html5_long_rebuffer_threshold_ms")});this.da=hI(this,"html5_seek_set_cmt");this.Z=hI(this,"html5_seek_jiggle_cmt");this.aa=hI(this,"html5_seek_new_elem");this.M=hI(this,"html5_decoder_freeze_timeout");this.ba= hI(this,"html5_reload_element_long_rebuffer");this.C={}}; hI=function(a,b){var c=g.Q(a.B.experiments,b+"_delay_ms"),d=g.P(a.B.experiments,b+"_cfl");return new gI({delayMs:c,Ew:d})}; kI=function(a,b,c,d,e,f,k){Yja(b,c)?(d=jI(a,b),d.wn=k,d.wdup=a.C[e]?"1":"0",a.G("qoeerror",e,d),a.C[e]=!0,b.F||f()):(b.B&&b.u&&!b.C?(f=(0,g.N)(),d?b.o||(b.o=f):b.o=0,c=!d&&f-b.u>b.B,f=b.o&&f-b.o>b.G||c?b.C=!0:!1):f=!1,f&&(f=jI(a,b),f.wn=k,f.we=e,f.wsuc=""+ +d,k=Ps(f),a.G("ctmp","workaroundReport",k),d&&(b.reset(),a.C[e]=!1)))}; jI=function(a,b){var c=b.Za();a.o&&(c.stt=a.o.toFixed(3));a.u&&Object.assign(c,a.u.Za());a.w&&Object.assign(c,a.w.Za());return c}; gI=function(a){a=void 0===a?{}:a;var b=void 0===a.iO?1E3:a.iO,c=void 0===a.jO?3E4:a.jO,d=void 0===a.Ew?!1:a.Ew;this.A=void 0===a.delayMs?0:a.delayMs;this.G=b;this.B=c;this.F=d;this.reset()}; Yja=function(a,b){if(!a.A||a.u)return!1;if(!b)return a.reset(),!1;var c=(0,g.N)();if(!a.w)a.w=c;else if(c-a.w>a.A)return a.u=c,!0;return!1}; pI=function(a,b,c){g.O.call(this);var d=this;this.U=b;this.T=a;this.V=new Zja(b);this.Ca=c;this.P=new iI(this.U,(0,g.x)(this.S,this),this.Ca);a={};this.Z=(a.seekplayerrequired=this.tO,a.videoformatchange=this.OI,a);lI(this,"html5_unrewrite_timestamps")?this.Z.timestamp=this.BO:this.Z.timestamp=this.AO;this.wa=null;this.ma=new g.Gr;g.B(this,this.ma);this.I=this.u=this.B=this.o=null;this.w=NaN;this.F=0;this.C=null;this.aa=NaN;this.G=this.M=null;this.ga=this.R=!1;this.ba=new g.I(function(){return mI(d, !1)},this.V.o); g.B(this,this.ba);this.da=new g.I(function(){d.R=!0;nI(d)}); g.B(this,this.da);this.Ea=new g.I(function(){return oI(d)}); g.B(this,this.Ea);this.oa=this.A=0;this.ha=!0;this.za=0;this.Aa=NaN}; $ja=function(a,b){a.wa=b;a.T.va&&(a.I=new Vja(function(){a:{if(a.wa&&a.wa.xa.o){if(qB(a.T)&&a.B){var c=a.B.oa.o()||0;break a}if(a.T.ia){c=a.T.ia.G;break a}}c=0}return c}),a.u=new UH(a.T,a.U.experiments,function(){return a.sc(!0)})); a.T.startSeconds&&isFinite(a.T.startSeconds)&&1E9=a.sc()-.1)a.w=a.sc(),a.C.resolve(a.sc()),a.S("ended");else try{var c=a.w-a.A;a.o.seekTo(c);a.P.o=c;a.aa=c;a.F=a.w}catch(d){}}}; zI=function(a){if(!a.o||0==a.o.je()||0=c)){for(var d=2*a.u.length;dd;d++)a.view.setUint8(a.o,c&127|128),c>>=7,a.o+=1;b=Math.floor(b/268435456)}for(LI(a,4);127>=7,a.o+=1;a.view.setUint8(a.o,b);a.o+=1}; NI=function(a,b,c){MI(a,b<<3|2);b=c.length;MI(a,b);LI(a,b);a.u.set(c,a.o);a.o+=b}; OI=function(a,b,c){a.w||(a.w=new TextEncoder);c=a.w.encode(c);NI(a,b,c)}; PI=function(a){return new Uint8Array(a.u.buffer,0,a.o)}; QI=function(a){var b=a.gl,c=a.deviceId,d=a.userAgent,e=a.clientName,f=a.clientVersion;this.u=a.hl;this.C=b;this.B=c;this.F=d;this.w=e;this.A=f}; RI=function(a){var b=a.encryptedClientKey,c=a.iv,d=a.hmac;this.w=a.encryptedOnesiePlayerRequest;this.u=b;this.B=c;this.A=d}; SI=function(){}; TI=function(a){this.u=a.client}; UI=function(a){this.u=a;this.A=this.o=0;this.w=-1}; VI=function(a){var b=uw(a.u,a.o);++a.o;if(128>b)return b;for(var c=b&127,d=1;128<=b;)b=uw(a.u,a.o),++a.o,d*=128,c+=(b&127)*d;return c}; WI=function(a,b){for(a.A=b;a.o+1<=a.u.totalLength;){var c=a.w;0>c&&(c=VI(a));var d=c>>3,e=c&7;if(d===b)return!0;if(d>b){a.w=c;break}switch(e){case 0:VI(a);break;case 1:a.o+=8;break;case 2:c=VI(a);a.o+=c;break;case 5:a.o+=4}}return!1}; XI=function(a,b){var c=void 0===c?null:c;if(!WI(a,b))return c;c=VI(a);var d=rw(a.u,a.o,c);a.o+=c;return d}; fka=function(a){this.iv=XI(new UI(a),5)}; gka=function(a){a=new UI(a);var b=-1;b=void 0===b?0:b;this.o=WI(a,1)?VI(a):b;0===this.o&&(a=XI(a,4),this.u=new fka(new kw([a])))}; YI=function(a){var b=a.videoId;this.u=a.YF;this.w=b}; ZI=function(a){var b=a.httpHeaders,c=a.postBody;this.w=a.url;this.u=b;this.A=c}; hka=function(a){this.body=XI(new UI(a),4)}; $I=function(a){this.u=a.BE}; aJ=function(a,b){if(b+1<=a.totalLength){var c=uw(a,b);c=128>c?1:192>c?2:224>c?3:240>c?4:5}else c=0;if(1>c||!(b+c<=a.totalLength))return[-1,b];if(1===c)c=uw(a,b++);else if(2===c){c=uw(a,b++);var d=uw(a,b++);c=(c&63)+64*d}else if(3===c){c=uw(a,b++);d=uw(a,b++);var e=uw(a,b++);c=(c&31)+32*(d+256*e)}else if(4===c){c=uw(a,b++);d=uw(a,b++);e=uw(a,b++);var f=uw(a,b++);c=(c&15)+16*(d+256*(e+256*f))}else c=b+1,a.focus(c),ow(a,c,4)?c=pw(a).getUint32(c-a.w,!0):(d=uw(a,c+2)+256*uw(a,c+3),c=uw(a,c)+256*(uw(a, c+1)+256*d)),b+=5;return[c,b]}; bJ=function(a){this.o=new kw;this.u=a}; cJ=function(a){var b=g.q(aJ(a.o,0));var c=b.next().value;var d=b.next().value;d=g.q(aJ(a.o,d));b=d.next().value;d=d.next().value;!(0>c||0>b)&&d+b<=a.o.totalLength&&(d=a.o.split(d).ij.split(b),b=d.mo,d=d.ij,a.u(c,b),a.o=d,cJ(a))}; ika=function(a){var b,c;a:{var d,e=a.N().Jc;if(e){var f=null===(c=g.Es("yt-player-bandaid-host"))||void 0===c?void 0:c.WN;if(f&&e.baseUrl){c=new Xw("https://"+f+e.baseUrl);if(e=null===(d=a.tp)||void 0===d?void 0:d.urlQueryOverride)for(d=dx(e),d=g.q(Object.entries(d)),e=d.next();!e.done;e=d.next())f=g.q(e.value),e=f.next().value,f=f.next().value,c.set(e,f);if(!c.get("id")){e=ey(a.videoId);d=[];if(e)for(e=g.q(e),f=e.next();!f.done;f=e.next())d.push(f.value.toString(16).padStart(2,"0"));d=d.join(""); if(!d){c=void 0;break a}c.set("id",d)}break a}}c=void 0}!c&&(null===(b=a.tp)||void 0===b?0:b.url)&&(c=new Xw(a.tp.url));if(!c)return"";c.set("ack","1");c.set("cpn",a.clientPlaybackNonce);c.set("opr","1");c.set("pvi","135");c.set("pai","140");c.set("oad","0");c.set("ovd","0");c.set("oaad","0");c.set("oavd","0");return c.jc()}; dJ=function(a,b){var c=this;this.T=a;this.u=b;this.A=new JI(a.N().Jc.o);this.P=new bJ(function(d,e){switch(d){case 10:var f=new gka(e);switch(f.o){case 5:c.u.tick("orfb");break;case 0:c.G=f.u.iv}c.F=f.o;break;case 11:switch(c.F){case 0:jka(c,e)}c.F=null}}); this.w=new WC;this.C=!1;this.B=new g.I(this.I,3E4,this)}; eJ=function(a,b){a.w.reject(b);a.B.stop();a.u.tick("ore");a.o&&a.o.abort()}; fJ=function(a){for(;a.o.Te();){var b=a.o.Ro();a.P.feed(b)}}; jka=function(a,b){var c,d,e,f;g.Ba(function(k){if(1==k.o)return a.u.tick("orpr"),a.C=!0,c=rw(b),g.ta(k,a.A.decrypt(c,a.G),2);d=k.u;e=new hka(new kw([d]));f=e.body;a.Da=(new TextDecoder).decode(f);a.u.tick("oprr");a.w.resolve(a.Da);a.B.stop();k.o=0})}; lka=function(a){var b,c;return g.Ba(function(d){if(1==d.o)return g.ta(d,kka(a),2);b=d.u;c={BE:b};return d["return"](new $I(c))})}; kka=function(a){var b,c,d,e,f;return g.Ba(function(k){if(1==k.o)return g.ta(k,mka(a),2);if(3!=k.o)return b=k.u,c=a.A.o.encryptedClientKey,d=a.A.u,g.ta(k,eka(a.A,b),3);e=k.u;f={encryptedOnesiePlayerRequest:b,encryptedClientKey:c,iv:d,hmac:e};return k["return"](new RI(f))})}; mka=function(a){var b,c,d;return g.Ba(function(e){switch(e.o){case 1:var f=a.T.N().vg;f="https://youtubei.googleapis.com/youtubei/"+f.innertubeApiVersion+"/player?key="+f.innertubeApiKey;var k=[];k.push(new SI);var l=a.T.N().vg,m=l.Hl,n=l.Gl,p=g.Ic;switch(l.Mj){case "TVHTML5":var t=7;break;default:t=56}b=new ZI({url:f,httpHeaders:k,postBody:new YI({YF:new TI({client:new QI({hl:m,gl:n,deviceId:"Rory",userAgent:p,clientName:t,clientVersion:l.innertubeContextClientVersion})}),videoId:a.T.videoId})}); e.B=2;return g.ta(e,a.A.encrypt(b.o()),4);case 4:c=e.u;ua(e,3);break;case 2:return va(e),d=new Os("onesie.request.encrypt",!1),e["return"](Promise.reject(d));case 3:return e["return"](c)}})}; rka=function(a,b,c,d){a.ea();a.wc=!0;return nka(a.N())?oka(a).then(function(){return pka(a,d)}).then(function(){qka(a)})["catch"](function(e){e=Qs(e); if(e.o)return Promise.reject(e);c(e);return gJ(a,b,c)}):gJ(a,b,c)}; nka=function(a){return g.P(a.experiments,"html5_onesie")&&g.P(a.experiments,"html5_onesie_player_config")&&"yt"===a.V?!0:!1}; oka=function(a){a=a.N().Jc;if(!a||!a.o)return Promise.reject(new Os("onesie.unavailable.hotconfig",!1,{key:"0"}));a={};window.fetch||(a.fetch="0");window.TextEncoder&&window.TextDecoder||(a.text="0");window.crypto&&window.crypto.subtle&&window.crypto.subtle.importKey||(a.crypto="0");window.Uint8Array||(a.uint8="0");return 0Math.random())try{g.Uq(new Sq("b/152131571",btoa(b)))}catch(D){}return C["return"](Promise.reject(new Os(z,!0,{backend:"gvi"})))}})})}; ska=function(a,b){return mh(this,function d(){var e,f,k,l,m,n,p,t,u,z,C,D;return Aa(d,function(E){if(1==E.o)return e=a.N(),f={format:"RAW",method:"GET",withCredentials:!0,timeout:3E4},k={},e.sendVisitorIdHeader&&a.visitorData&&(k["X-Goog-Visitor-Id"]=a.visitorData),(l=g.At(e.experiments,"debug_dapper_trace_id"))&&(k["X-Google-DapperTraceInfo"]=l),(m=g.At(e.experiments,"debug_sherlog_username"))&&(k["X-Youtube-Sherlog-Username"]=m),0b.startSeconds){var c=b.endSeconds;a.ba&&(a.removeCueRange(a.ba),a.ba=null);a.ba=new g.iC(1E3*c,0x7ffffffffffff);a.ba.namespace="endcr";a.addCueRange(a.ba)}}; IJ=function(a,b,c,d){a.T.Ba=c;d&&GJ(a,b,d);var e=(d=g.HJ(a))?ct(d):"";d=a.B;e=new IG(a.T,c,b,e);if(d.o){c=d.o;d=g.WG(c.o);g.gH(c,d,"vfs",[e.o.id,e.u,c.Ea,e.reason]);c.Ea=e.o.id;e=c.o.G();if(0=a.start);return b}; PJ=function(a,b){if(a.o&&b.ua()==a.o.ua()&&(b.isView()||a.o.isView())){if(b.isView()||!a.o.isView())g.Ir(a.Ca),a.o=b,NJ(a),rI(a.C,a.o)}else{a.o&&OJ(a);if(!a.u.isError()){var c=LC(a.u,512);g.V(c,8)&&!g.V(c,2)&&(c=KC(c,1));b.isView()&&(c=LC(c,64));tJ(a,c)}a.o=b;a.o.setLoop(a.Kc);a.o.setPlaybackRate(a.yb);NJ(a);rI(a.C,a.o)}}; OJ=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;if(a.o){var d=a.getCurrentTime();01E3*m);l&&(f=f?Math.min(f,k):k)}(k=g.Q(b.o.experiments,"html5_autoplay_default_quality_cap"))&&OB(c.videoData)&&(f=f?Math.min(f,k):k);k=g.Q(b.o.experiments,"html5_random_playback_cap");m=/[a-h]$/;k&&m.test(c.videoData.clientPlaybackNonce)&&(f=f?Math.min(f,k):k);if(m=k=g.Q(b.o.experiments,"html5_hfr_quality_cap"))a:{m= c.xa;if(m.o)for(m=g.q(m.videoInfos),l=m.next();!l.done;l=m.next())if(32b.o;c||d||b?a.S("reattachrequired"):(CE(a.u)&&IF(a,a.u,a.A),a.aa.Ua())}}}; YJ=function(a){XJ(a,"html5_nonblocking_media_capabilities")?VJ(a):WJ(a)}; $J=function(a){Dga(a.T.ia,{cpn:a.T.clientPlaybackNonce,c:a.A.deviceParams.c,cver:a.A.deviceParams.cver});var b=a.A,c=a.T,d=new g.Iw,e=Hw(b,{hasSubfragmentedFmp4:c.hasSubfragmentedFmp4,Jj:c.Jj});d.A=e;d.Wf=b.fa("html5_unify_sqless_flow");d.R=b.fa("html5_accurate_seeking_redux");d.yb=b.fa("html5_unrewrite_timestamps");d.Wa=b.fa("html5_stop_overlapping_requests");d.Ea=g.Q(b.experiments,"html5_min_readbehind_secs");d.Tn=g.Q(b.experiments,"html5_min_readbehind_cap_secs");g.$y(b)&&(d.Ea=g.Q(b.experiments, "tvhtml5_min_readbehind_secs"));d.Qg=b.fa("html5_append_init_while_paused");d.Kc=g.Q(b.experiments,"html5_max_readahead_bandwidth_cap");d.od=g.Q(b.experiments,"html5_post_interrupt_readahead");d.M=g.Q(b.experiments,"html5_subsegment_readahead_target_buffer_health_secs");d.rb=g.Q(b.experiments,"html5_subsegment_readahead_timeout_secs");d.Dv=g.Q(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs");d.nb=g.Q(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.Ev= g.Q(b.experiments,"html5_subsegment_readahead_min_load_speed");d.Vf=g.Q(b.experiments,"html5_subsegment_readahead_load_speed_check_interval");d.Fv=g.Q(b.experiments,"html5_subsegment_readahead_seek_latency_fudge");d.Ka=b.fa("html5_peak_shave");d.aA=b.fa("html5_peak_shave_always_include_sd");d.ov=b.fa("html5_restrict_streaming_xhr_on_sqless_requests");d.Hn=g.Q(b.experiments,"html5_max_headm_for_streaming_xhr");d.fA=b.fa("html5_pipeline_manifestless_allow_nonstreaming");d.pC=b.fa("html5_prefer_server_bwe3"); d.Yf=1024*g.Q(b.experiments,"html5_video_tbd_min_kb");d.BC=b.fa("html5_probe_live_using_range");d.gn=b.fa("html5_last_slice_transition");d.Bv=b.fa("html5_store_xhr_headers_readable");d.cn=b.fa("html5_enable_packet_train_response_rate");if(e=g.Q(b.experiments,"html5_probe_secondary_during_timeout_miss_count"))d.qd=e,d.Gv=1;d.Ma=g.Q(b.experiments,"html5_probe_primary_delay_base_ms")||d.Ma;d.Tc=b.fa("html5_no_placeholder_rollbacks");d.Cv=b.fa("html5_subsegment_readahead_enable_mffa");b.fa("html5_allow_video_keyframe_without_audio")&& (d.ha=!0);d.rd=b.fa("html5_reattach_on_stuck");d.Kv=b.fa("html5_webm_init_skipping");d.Md=g.Q(b.experiments,"html5_request_size_padding_secs")||d.Md;d.kn=b.fa("html5_log_timestamp_offset");d.Rb=b.fa("html5_abs_buffer_health");d.fn=b.fa("html5_interruption_resets_seeked_time");d.Jc=g.Q(b.experiments,"html5_max_live_dvr_window_plus_margin_secs")||d.Jc;d.pc=b.fa("html5_explicitly_dispose_xhr");d.zo=b.fa("html5_gapless_no_requests_after_lock");d.pd=g.Q(b.experiments,"html5_probe_primary_failure_factor"); d.Av=b.fa("html5_skip_invalid_sq");d.kv=b.fa("html5_restart_on_unexpected_detach");d.jn=b.fa("html5_log_live_discontinuity");d.tv=b.fa("html5_rewrite_manifestless_for_continuity");d.Hc=g.Q(b.experiments,"html5_max_drift_per_track_secs");d.xv=b.fa("html5_rewrite_manifestless_for_sync");d.qe=g.Q(b.experiments,"html5_static_abr_resolution_shelf");d.Pk=!b.fa("html5_encourage_array_coalescing");d.an=b.fa("html5_crypto_period_secs_from_emsg");d.ga=b.fa("html5_defer_slicing");d.Xb=g.Q(b.experiments,"html5_buffer_health_to_defer_slice_processing"); b.fa("html5_media_common_config_killswitch")||(d.B=c.maxReadAheadMediaTimeMs/1E3||d.B,e=b.schedule,e.u.o()===e.policy.w?d.U=10:d.U=c.minReadAheadMediaTimeMs/1E3||d.U,d.ac=c.readAheadGrowthRateMs/1E3||d.ac);uh&&(d.V=41943040);d.da=!bu();g.$y(b)||!bu()?(e=b.experiments,d.C=8388608,d.G=524288,d.Yh=5,d.za=2097152,d.ba=1048576,d.WC=1.5,d.sy=!1,d.I=4587520,il()&&(d.I=786432),d.o*=1.1,d.u*=1.1,d.Ta=!0,d.V=d.C,d.Aa=d.G,d.Uc=g.P(e,"persist_disable_player_preload_on_tv")||g.P(e,"persist_disable_player_preload_on_tv_for_living_room")|| !1):b.o&&(d.o*=1.3,d.u*=1.3);g.Dt&&dl("crkey")&&(e="CHROMECAST/ANCHOVY"==b.deviceParams.cmodel,d.C=20971520,d.G=1572864,e&&(d.I=812500,d.P=1E3,d.Jv=5,d.ba=2097152));!b.fa("html5_disable_firefox_init_skipping")&&g.hu&&(d.Ta=!0);b.supportsGaplessAudio()||(d.bn=!1);Jy&&(d.Mh=!0);if(qB(c)){d.en=!0;d.zv=!0;if("ULTRALOW"==c.latencyClass||"LOW"==c.latencyClass&&!b.fa("html5_disable_low_pipeline"))d.nn=2,d.Nn=4;d.gg=c.defraggedFromSubfragments;c.Mb&&(d.Qa=!0);g.GB(c)&&(d.R=!1);d.Qk=g.lz(b)}c.isAd()&&(d.Ca= 0,d.qc=0);sB(c)&&(d.aa=!0);d.ma=b.fa("html5_enable_subsegment_readahead_v3")||b.fa("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==c.latencyClass;d.oa=c.xg;d.hn=d.oa&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||SB(c));pl()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.deviceParams.cmodel)&&!b.fa("html5_disable_move_pssh_to_moov")&&Nx(c.ia)&&(d.Ta=!1);Nx(c.ia)&&(d.rd=!1);if(c.va){e=by(c.ia);var f=g.Q(b.experiments,"html5_live_abr_head_miss_fraction"),k=g.Q(b.experiments,"html5_live_abr_repredict_fraction"); f&&e&&(d.Ic=Math.min(e*f,d.Ic));k&&e&&(d.P=Math.min(1E3*e*k,d.P))}f=0;b.fa("html5_live_use_alternate_bandwidth_window_sizes")&&(f=b.schedule.policy.o,c.va&&(f=g.Q(b.experiments,"ULTRALOW"==c.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":c.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":"html5_live_normal_latency_bandwidth_window")||f));e=b.schedule;e.P.o=qB(c)?.5:0;if(!e.policy.u&&f&&(e=e.u,f=Math.round(f*e.resolution),f!==e.u)){k=Array(f);var l=Math.min(f,e.A?e.u: e.valueIndex),m=e.valueIndex-l;0>m&&(m+=e.u);for(var n=0;na.T.endSeconds&&isFinite(b)&&(a.removeCueRange(a.ba),a.ba=null);ba.G.getDuration()&&Zt(a.G,c)):Zt(a.G,d);var e=a.w,f=a.G;e.U&&(CF(e),e.U=!1);BF(e);if(!$t(f)){var k=e.u.o.info.mimeType+e.o.dn,l=e.A.o.info.mimeType,m=new Ut("fakesb"==l?new Lt:f.w.addSourceBuffer(l),bt(l),!1),n=new Ut("fakesb"==k?new Lt:f.w.addSourceBuffer(k), bt(k),!0);f.o=m;f.u=n;g.B(f,m);g.B(f,n)}hE(e.u,f.u);hE(e.A,f.o);e.w=f;e.resume();Jr(f.o,e.wa,e);Jr(f.u,e.wa,e);e.o.kn&&1E-4>=Math.random()&&e.Dc("toff",""+f.o.supports(1),!0);e.Hf();a.S("mediasourceattached");a.qd.stop()}}catch(p){g.Uq(p),a.Ki(new Os("fmt.unplayable",!0,{msi:"1",ename:p.name}))}})}; eK=function(a){a.w?Lf(a.w.seek(a.getCurrentTime()-a.Bb()),function(){}):$J(a)}; Bka=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1}; iK=function(a){return a.Ta||"yt"!=a.A.V?!1:a.T.se?25>a.T.Jf:!a.T.Jf}; jK=function(a){a.Ta||(a.Ta=!0,a.S("signatureexpired"))}; lK=function(a,b){try{window.location.reload(!0);a.B.onError("qoe.restart",Ps({detail:"pr."+b}));return}catch(c){}XJ(a,"tvhtml5_retire_old_players")&&g.$y(a.A)&&kK(a)}; mK=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav}; Cka=function(a,b){if(a.o&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.o.Ye();b.details.merr=c?c.toString():"0";b.details.msg=a.o.bk()}}; gK=function(a,b,c){var d=g.Q(a.A.experiments,"html5_error_cooldown_in_ms")||3E4;if(a.nb+d>(0,g.H)())return!a.T.se&&(a.A.ga+=1,10a-.3)}; sK=function(a){window.clearInterval(a.Xb);a.oa.stop();a.T.se=!0;a.A.se=!0;a.A.ga=0;rK(a);g.V(a.u,8)&&tJ(a,LC(a.u,65));var b=a.B;if(b.u){var c=b.u;if(!c.w){g.P(c.o.o.experiments,"disable_embedpage_playback_logging")||16623!=c.o.videoData.Jp||g.Go(Error("Playback for EmbedPage"));var d=GH(c,"playback");c.I=[10+c.o.videoData.Lj,10,10,40+c.o.videoData.Rl-c.o.videoData.Lj,40];var e=c.u;window.clearInterval(e.G);e.G=NaN;e.G=Io((0,g.x)(e.update,e),100);e.F=g.WG(e.u);e.B=ZG(e.u);d.u=FH(c,!0);d.send();c.o.videoData.wp&& (d=c.o.o,e=c.o.videoData,e={html5:"1",video_id:e.videoId,cpn:e.clientPlaybackNonce,ei:e.eventId,ptk:e.wp,oid:e.oB,ptchn:e.nB,pltype:e.pB,content_v:e.ri()},d=g.yd(d.G+"ptracking",e),JH(c,d));c.o.videoData.ll&&(c.F("playback"),c.A||MH(c));c.o.videoData.Me||LH(c);c.w=!0;c=c.u;c.o=c.u.u();c.F=g.WG(c.u);!(0==c.w&&5>c.o)&&2b.w&&(b.w=c,b.B.start()),b.A=c,b.P=c);a.pc.Ua();a.S("playbackstarted");g.Vp()&&((a=g.w("yt.scheduler.instance.clearPriorityThreshold"))? a():Xp(0))}; rK=function(a){var b=a.getCurrentTime(),c=a.T;!LA("pbs",a.I.timerName)&&MA.measure&&MA.getEntriesByName&&(MA.getEntriesByName("mark_nr")[0]?NA("mark_nr"):NA());c.videoId&&a.I.info("docid",c.videoId);c.eventId&&a.I.info("ei",c.eventId);c.clientPlaybackNonce&&a.I.info("cpn",c.clientPlaybackNonce);0=k.u&&ef.B||(0,g.H)()-f.G=c.o.videoData.Me&&(c.w&&c.o.videoData.Me&& (d=GH(c,"delayplay"),d.Ea=!0,d.send(),c.R=!0),LH(c))),a.T.va&&(0,g.H)()>a.Xf+6283&&(!a.isAtLiveHead()||a.T.ia&&$x(a.T.ia)||(c=a.B,c.o&&(c=c.o,e=c.o.A(),d=g.WG(c.o),kH(c,d,e),e=e.C,isNaN(e)||g.gH(c,d,"e2el",[e.toFixed(3)]))),g.lz(a.A)&&a.Ra("rawlat","l."+HI(a.ha,"rawlivelatency").toFixed(3)),a.Xf=(0,g.H)()),a.T.Ba&&ht(a.T.Ba)&&(c=vJ(a))&&c.videoHeight!=a.Jc&&(a.Jc=c.videoHeight,XJ(a,"html5_log_hls_video_height_change_as_format_change")&&a.T.me&&"auto"==a.T.me.og.ya().quality&&a.T.Gg)))for(c=g.q(a.T.Gg), d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()==a.Jc&&"auto"!=d.og.ya().quality){IJ(a,"a",d.ge());break}Kja(a.U,a.P,a.o,a.M.isBackground())&&YJ(a);c=a.U;d=a.T.Ba;0>=g.Q(c.o.experiments,"hfr_dropped_framerate_fallback_threshold")||!(d&&d.ya()&&32aH(c,8)||g.bH(c,1024))&& a.oa.stop();!g.bH(c,8)||a.T.se||g.V(c.state,1024)||a.oa.start();g.V(c.state,8)&&0>aH(c,16)&&!g.V(c.state,32)&&!g.V(c.state,2)&&a.playVideo();g.V(c.state,2)&&HB(a.T)&&(e=a.getCurrentTime(),a.T.lengthSeconds!=e&&(a.T.lengthSeconds=e,sJ(a)),nK(a,!0));g.bH(c,2)&&(a.Au(!0),tK(a));g.bH(c,128)&&tK(a);a.T.ia&&a.T.va&&!a.Rg&&(0>aH(c,8)?(e=a.T.ia,e.A&&e.A.stop()):g.bH(c,8)&&a.T.ia.resume());e=a.C;e.P.A=c.state;if(f=e.o)f=8==c.Jh.o&&PC(c.state)&&g.QC(c.state)&&e.V.A;if(f){f=e.o.getCurrentTime();var k=e.o.Dd(); var l=lI(e,"manifestless_post_live_ufph")||lI(e,"manifestless_post_live")?Ot(k,Math.max(f-3.5,0)):Ot(k,f-3.5);0<=l&&f>k.end(l)-1.1&&l+1k.start(l+1)-k.end(l)&&(l=k.start(l+1)+.2,.2>Math.abs(e.Aa-l)||(e.S("ctmp","seekover","b."+Nt(k,"_")+";cmt."+f),e.Aa=l,e.seekTo(l,{Fl:!0})))}e=a.B;if(g.bH(c,1024)||g.bH(c,2048)||g.bH(c,512)||g.bH(c,4))e.w&&(f=e.w,0<=f.A||(f.w=-1,f.B.stop())),e.o&&(f=e.o,f.o.fa("html5_qoe_user_intent_match_health")&&!f.A&&(f.B=-1));e.u&&(f=e.u,f.ea()||(g.V(c.state,2)? (f.B="paused",g.bH(c,2)&&f.w&&IH(f).send()):g.V(c.state,8)?(f.B="playing",f.w&&isNaN(f.C)&&FH(f,!1)):f.B="paused",f.A&&g.V(c.state,128)&&(f.F("error-100"),g.Jo(f.A))));if(e.o){f=e.o;k=c.state;l=g.WG(f.o);var m=Oja(f,c.state);if(m!=f.w){if(!(l=f.R&&(f.o.F(),f.u.qoealert=["1"],f.aa=!0)}"B"!=m||"PL"!=f.w&&"PB"!=f.w||(f.M=!0);f.C=l}"B"==m&&"PL"== f.w||f.o.videoData.xg?lH(f,l):jH(f,l);"PL"===m&&f.Ka.Ua();g.gH(f,l,"vps",[m]);f.w=m;f.da=l;f.C=l;f.I=!0}m=k.u;g.V(k,128)&&m&&nH(f,l,m.errorCode,m.LB);(g.V(k,2)||g.V(k,128))&&f.uk(l);f.o.fa("html5_qoe_user_intent_match_health")?k.eb()&&!f.A&&(0<=f.B&&(f.u.user_intent=[f.B.toString()]),f.A=!0):g.V(k,8)&&f.o.videoData.Zi&&!f.A&&(f.u.user_intent=[l.toString()],f.A=!0);mH(f)}e.w&&(e=e.w,eH(e),e.o=c.state,0<=e.A&&g.bH(c,16)&&e.M++,c.state.isError()&&e.C());if(d&&!a.ea())try{for(var p=g.q(a.Yb),t=p.next();!t.done;t= p.next()){var u=t.value,z=a.R;c=u;if(z.started&&(z.u(),g.V(c.Jh,16))){c=z;var C=mF(c.o,Math.max(c.A-2E3,0));!isNaN(C)&&0x7ffffffffffff>C&&c.B.start()}a.S("statechange",u)}}finally{a.Yb.length=0}}}; uK=function(a,b){g.V(a.u,128)||(tJ(a,MC(a.u,1028,9)),a.Ra("dompaused",b),a.S("onDompaused"))}; BJ=function(a){if(!a.o||!a.T.xa)return!1;var b=null;a.T.xa.o?(b=fK(a),a.w.resume()):(nJ(a),a.T.me&&(b=a.T.me.em()));var c=b;var d=a.o.Uo();b=!1;d&&null!==c&&c.o===d.o||(a.I.tick("vta"),OA("vta"),0d&&(d=-(d+1));g.se(a,b,d);b.setAttribute("data-layer",c)}; g.jL=function(a){var b=a.N();if(!b.nb)return!1;var c=a.getVideoData();if(!c||3==a.getPresentingPlayerType())return!1;var d=!c.isLiveDefaultBroadcast||g.P(b.experiments,"allow_poltergust_autoplay");d=c.va&&(!g.P(b.experiments,"allow_live_autoplay")||!d);var e=c.va&&g.P(b.experiments,"allow_live_autoplay_on_mweb"),f=!!a.getPlaylist();g.P(b.experiments,"player_allow_autonav_after_playlist")&&(f=(a=a.getPlaylist())&&a.hasNext());return!c.ypcPreview&&(!d||e)&&!g.$a(c.Rc,"ypc")&&!f}; g.kL=function(a,b,c,d){a.N().Z&&Ika(a.app.oa,b,c,d)}; g.lL=function(a,b,c){a.N().Z&&Jka(a.app.oa,b,c)}; g.mL=function(a,b,c){a.N().Z&&(a.app.oa.o.has(b),c&&(b.visualElement=g.Wr(c)))}; g.nL=function(a,b){a.N().Z&&a.app.oa.click(b)}; g.oL=function(a,b,c){if(a.N().Z&&(a=a.app.oa,a.o.has(b),c?a.u.add(b):a.u["delete"](b),c&&!a.A.has(b))){c=g.ds();var d=b.visualElement;c&&d&&g.us(c,d);a.A.add(b)}}; g.pL=function(a,b){return a.N().Z?a.app.oa.o.has(b):!1}; g.sL=function(a,b){if(a.app.getPresentingPlayerType()==b){var c=a.app,d=g.W(c,b);d&&(d!=c.w?qL(c,c.w):rL(c))}}; Kka=function(a){if(!a.fa("html5_inline_video_quality_survey"))return!1;var b=g.W(a.app);if(!b)return!1;var c=b.getVideoData();if(!c.Ba||!c.Ba.video||1080>c.Ba.video.fc||c.ay)return!1;var d=/^qsa/.test(c.clientPlaybackNonce),e="r";0<=c.Ba.id.indexOf(";")&&(d=/^[a-p]/.test(c.clientPlaybackNonce),e="x");a.fa("html5_inline_video_quality_survey_always")&&(d=!0,e="a");return d?(b.Ra("iqss",e,!0),!0):!1}; tL=function(a,b){document.requestStorageAccess().then(a,b)}; uL=function(a){if(a){var b=[],c;for(c in a)Lka.has(c)||b.push(c);b.length&&(b.sort(),g.Uq(new Sq("Unknown house brand player vars:",b)))}}; g.vL=function(a){g.O.call(this);this.loaded=!1;this.player=a}; g.wL=function(a,b){return jt(a.info.mimeType)?b?ct(a.info)===b:!0:!1}; g.xL=function(a,b){if(null!=a.ia&&g.lz(b.N())&&!a.ia.u&&null!=a.ia.o.rawcc)return!0;if(!a.Ef())return!1;var c=!!a.ia&&a.ia.u&&Object.values(a.ia.o).some(function(e){return g.wL(e,"386")}),d=!!a.ia&&!a.ia.u&&rga(a.ia); return c||d}; yL=function(a,b){g.A.call(this);this.F=b;this.u=new Map;this.w={};this.A={};this.C=null;this.o=a;this.B=g.P(a.N().experiments,"web_player_defer_modules")}; g.zL=function(a){return a.u.get("captions")}; Nka=function(a,b){switch(b){case "ad":return AL(a);case "annotations_module":var c=a.o.N();if(Vy(c))c=!1;else{var d=a.o.getVideoData();c=d.ny||"3"==c.controlsType?!1:c.I.isEmpty()&&"annotation-editor"!=c.playerStyle&&"live-dashboard"!=c.playerStyle?!!d.be||!!g.KB(d)||!!g.LB(d):!0}return c;case "attribution":return c=a.o.N(),g.P(c.experiments,"web_player_show_music_in_this_video")&&"desktop-polymer"==c.playerStyle;case "creatorendscreen":return c=a.o.N(),"3"==c.controlsType?c=!1:"creator-endscreen-editor"== c.playerStyle?c=!0:(c=a.o.getVideoData(),c=!!c&&(!!g.IB(c)||!!g.JB(c))),c;case "embed":return g.Ly(a.o.N());case "endscreen":return g.BL(a);case "fresca":return a.o.getVideoData().Sn;case "heartbeat":return a.o.getVideoData().Vm;case "kids":return bz(a.o.N());case "remote":return a.o.N().ac;case "miniplayer":return a.o.N().showMiniplayerUiWhenMinimized;case "music":return g.Uy(a.o.N());case "captions":return"lb3"==a.o.N().playerStyle?c=!1:(c=a.o.getVideoData(),c=!!c.Wk||!!c.captionTracks.length|| g.xL(c,a.o)),c;case "unplugged":return g.az(a.o.N());case "ux":return a.o.N().za;case "visualizer":return g.CL(a);case "webgl":return Mka(a);case "ypc":return a.Fm();case "ypc_clickwrap":return c=a.o.getVideoData(),c.Kk&&!c.Cs;case "yto":return!!a.o.getVideoData().Rc.includes("yto");default:return g.Tq(Error("Module descriptor "+b+" does not match")),!1}}; DL=function(a){a.B&&(a.sd("endscreen"),a.qr(),a.sd("creatorendscreen",void 0,!0))}; g.BL=function(a){var b=a.o.N();if(g.rz(b)||b.B||!b.Aa&&!b.Ta)return!1;var c=a.o.getPresentingPlayerType();if(2==c)return!1;if(3==c)return g.P(b.experiments,"desktop_enable_autoplay");a=a.o.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||g.P(b.experiments,"allow_poltergust_autoplay");c=a.va&&(!g.P(b.experiments,"allow_live_autoplay")||!c);b=a.va&&g.P(b.experiments,"allow_live_autoplay_on_mweb");return!c||b}; g.VK=function(a){return a.u.get("webgl")}; Mka=function(a){var b=a.o.getVideoData(),c=a.o.N().experiments,d=g.kl(),e=g.P(c,"enable_spherical_kabuki");a=g.pz(a.o.N());if(b.tg())return d||e||a||g.P(c,"html5_enable_spherical");if(b.yg())return a||d||e||g.P(c,"html5_enable_spherical");if(b.zg())return a||d||g.P(c,"html5_enable_spherical3d");if(b.Oj())return a||g.P(c,"html5_enable_anaglyph3d")||!1;d=b.Ba&&b.Ba.video&&$s(b.Ba.video);return a&&!g.yB(b)&&!b.isVisualizerEligible&&!d&&(g.P(c,"enable_webgl_noop")||g.P(c,"html5_enable_bicubicsharp")|| g.P(c,"html5_enable_smartsharp"))}; EL=function(a){g.P(a.o.N().experiments,"web_player_ux_module_wait")&&a.u.get("ux")&&g.fL(a.o,"ux")}; Oka=function(a){EL(a);a.sd("ux",void 0,!0)}; AL=function(a){if(a=a.o.getVideoData(1).getPlayerResponse())if(a=a.adPlacements)for(var b=0;bMath.random()){var u=new Sq("Unable to load player module",b+".js from "+d+" on "+(document.location&&document.location.origin)+".");g.Tq(u)}nf(p);t&&t()},k.onerror); k.onreadystatechange=g.Qa(function(t){switch(k.readyState){case "loaded":case "complete":nf(n,this)}t&&t()},k.onreadystatechange); f&&((e=a.o.N().qd)&&k.setAttribute("nonce",e),$c(k,gh(d)),e=document.getElementsByTagName("HEAD")[0]||document.body,e.insertBefore(k,e.firstChild),g.Ge(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.KL[b]=null;"annotations_module"==b&&(g.KL.creatorendscreen=null)}))}}; g.ML=function(a){g.vC.call(this);this.o=a;this.u={}}; NL=function(){this.o=[];this.u=[];this.w=[]}; PL=function(a,b,c){c=g.oe(c?"AUDIO":"VIDEO");g.Ra(c,Pka);g.Ep(c,"loadeddata",(0,g.x)(c.u,c));Sy&&6<=UB&&g.Ep(c,"webkitbeginfullscreen",(0,g.x)(c.play,c));a.u.push(c);b?a.w.push(c):OL(a,c);return c}; OL=function(a,b){g.$a(a.u,b)&&!g.$a(a.o,b)&&(b.src||b.load(),g.db(a.w,b)||a.o.push(b))}; Qka=function(){this.u=200;this.o=12}; Rka=function(a){var b=new Qka;b.u=g.Q(a.experiments,"html5_gapless_ended_transition_buffer_ms");b.o=g.Q(a.experiments,"html5_gapless_max_played_ranges");return b}; g.QL=function(a,b,c,d){d=void 0===d?!1:d;g.vC.call(this);this.o=a;this.u=b;this.A=c;this.G=d}; Ska=function(a,b,c,d){var e=c.getVideoData(),f=b.getVideoData();if(c.getPlayerState().isError())return"player-error";if(uI(b.C)>d/1E3+1)return"in-the-past";if(f.va&&!isFinite(d))return"live-infinite";if(a.o&&((b=b.o)&&b.isView()&&(b=b.o),b&&b.Dj().length>a.o&&g.yB(e)))return"played-ranges";if(!e.xa)return null;if(!e.xa.o||!f.xa.o)return"non-dash";if(e.xa.videoInfos[0].containerType!=f.xa.videoInfos[0].containerType)return"container";if(g.yB(f)&&g.yB(e))return"content-protection";a=f.xa.o[0].audio; e=e.xa.o[0].audio;return a.sampleRate==e.sampleRate||g.Dt?(a.o||2)!=(e.o||2)?"channel-count":null:"sample-rate"}; SL=function(a,b,c,d){g.A.call(this);var e=this;this.R=a;this.o=b;this.u=c;this.B=this.A=null;this.F=d-1E3*b.Bb();this.G=-1;this.I=!1;this.C=new WC;this.C.then(void 0,function(){}); this.P=new g.I(function(){return RL(e,"timeout")},1E4); g.B(this,this.P);this.M=isFinite(d);this.w={status:0,error:null}}; Tka=function(a){var b,c,d,e,f,k;return g.Ba(function(l){if(1==l.o){if(a.ea())return l["return"](Promise.reject(Error(a.w.error||"disposed")));a.P.start();return g.ta(l,a.C,2)}b=a.o.o;if(b.Bf())return RL(a,"ended_in_finishTransition"),l["return"](Promise.reject(Error(a.w.error)));if(!a.B||!Yt(a.B))return RL(a,"next_mse_closed"),l["return"](Promise.reject(Error(a.w.error)));if(a.u.G!=a.B)return RL(a,"next_mse_mismatch"),l["return"](Promise.reject(Error(a.w.error)));c=TL(a);d=c.dA;e=c.cA;OJ(a.o,!1,!0); f=UL(b,d,e,!a.u.getVideoData().isAd());PJ(a.u,f);a.M&&(a.u.seekTo(a.u.getCurrentTime()+.001,{Fl:!0,Qu:3}),f.play());k=b.Za();k.cpn=a.o.getVideoData().clientPlaybackNonce;k.st=""+d;k.et=""+e;a.u.Ra("gapless",Ps(k));a.o.Ra("gaplessTo",a.u.getVideoData().clientPlaybackNonce);g.uf(function(){!a.u.getVideoData().se&&g.OC(a.u.getPlayerState())&&sK(a.u)}); VL(a,6);a.dispose();return l["return"](Promise.resolve())})}; YL=function(a){if(a.u.getVideoData().xa){hK(a.u,a.B);VL(a,3);WL(a);var b=XL(a),c=b.fC;b=b.CO;c.subscribe("updateend",a.hk,a);b.subscribe("updateend",a.hk,a);a.hk(c);a.hk(b)}}; WL=function(a){a.o.unsubscribe("internalvideodatachange",a.ci,a);a.u.unsubscribe("internalvideodatachange",a.ci,a);a.o.unsubscribe("mediasourceattached",a.ci,a);a.u.unsubscribe("statechange",a.Ez,a)}; UL=function(a,b,c,d){return new g.QL(a.isView()?a.o:a,b,c,d)}; VL=function(a,b){b<=a.w.status||(a.w={status:b,error:null},5==b&&a.C.resolve(void 0))}; RL=function(a,b){if(!a.ea()&&!a.isFinished()){var c=4<=a.w.status&&"player-reload-after-handoff"!==b;a.w={status:Infinity,error:b};if(a.o&&a.u){var d=a.u.getVideoData().clientPlaybackNonce;a.o.Ra("gaplessError","cpn."+d+";msg."+b);d=a.o;d.T.Df=!1;c&&dK(d);d.w&&(c=d.w,c.o.Z=!1,c.w&&SF(c))}a.C.reject(void 0);a.dispose()}}; TL=function(a){var b=a.o.o;b=b.isView()?b.u:0;var c=a.o.getVideoData().va?Infinity:vK(a.o,!0);c=Math.min(a.F/1E3,c)+b;var d=a.M?100:0;a=c-uI(a.u.C)+d;return{vE:b,dA:a,uE:c,cA:Infinity}}; XL=function(a){return{fC:a.A.o.o,CO:a.A.u.o}}; ZL=function(a){g.A.call(this);var b=this;this.w=a;this.C=this.u=this.o=null;this.G=!1;this.B=null;this.I=Rka(this.w.N());this.A=null;this.F=function(){return g.uf(function(){return Uka(b)})}}; Vka=function(a,b,c,d){d=void 0===d?0:d;a.o&&$L(a);a.B=new WC;a.o=b;var e=c,f=a.w.kb(),k=f.getVideoData().va?Infinity:1E3*vK(f,!0);e>k&&(e=k-a.I.u,a.G=!0);f.getCurrentTime()>=e/1E3?a.F():(a.u=f,a.w.addEventListener(g.lC("vqueued"),a.F),e=isFinite(e)||e/1E3>a.u.getDuration()?e:0x8000000000000,a.C=new g.iC(e,0x8000000000000,{namespace:"vqueued"}),a.u.addCueRange(a.C));f=d/=1E3;e=b.getVideoData().ia;if(d&&e&&a.u){k=d;var l=0;b.getVideoData().va&&(f=Math.min(c/1E3,vK(a.u,!0)),l=Math.max(0,f-a.u.getCurrentTime()), k=Math.min(d,vK(b)+l));f=Cga(e,k)||d;f!=d&&a.o.Ra("qvaln","st."+d+";at."+f+";rm."+(l+";ct."+k))}b=f;a.o.getVideoData().Zi=!0;a.o.getVideoData().Df=!0;zJ(a.o,!0);d="";a.u&&(d=g.WG(a.u.B.A),e=a.u.getVideoData().clientPlaybackNonce,d="crt."+(1E3*d).toFixed()+";cpn."+e);a.o.Ra("queued",d);0!=b&&a.o.seekTo(b+.01,{Fl:!0,Qu:3});a.A=new SL(a.I,a.w.kb(),a.o,c);c=a.A;Infinity!=c.w.status&&(VL(c,1),c.o.subscribe("internalvideodatachange",c.ci,c),c.u.subscribe("internalvideodatachange",c.ci,c),c.o.subscribe("mediasourceattached", c.ci,c),c.u.subscribe("statechange",c.Ez,c),c.o.subscribe("newelementrequired",c.LA,c),c.ci());return a.B}; Uka=function(a){var b,c,d;return g.Ba(function(e){switch(e.o){case 1:if(a.ea()||!a.B||!a.o)return e["return"]();a.G&&hJ(a.w.kb(),!0,!1);b=null;if(!a.A){e.o=2;break}e.B=3;return g.ta(e,Tka(a.A),5);case 5:ua(e,2);break;case 3:b=c=va(e);case 2:aM(a.w.app,a.o);var f=a.o.getPlayerType();g.bM(a.w.app,f);a.w.playVideo();b&&(f=a.o,f.Ra("newelem",b.message),dK(f));d=a.B;$L(a);return e["return"](d.resolve(void 0))}})}; $L=function(a){a.u&&(a.w.removeEventListener(g.lC("vqueued"),a.F),a.u.removeCueRange(a.C),a.u=null,a.C=null);if(a.A){if(!a.A.isFinished()){var b=a.A;Infinity!=b.w.status&&RL(b,"Canceled")}a.A=null}a.B=null;a.o=null;a.G=!1}; eM=function(a,b){g.A.call(this);var c=this;this.data=[];this.w=a||NaN;this.u=b||null;this.o=new g.I(function(){cM(c);dM(c)}); g.B(this,this.o)}; cM=function(a){var b=(0,g.N)();a.data.forEach(function(c){c.expiree&&(k+="0"));if(0f&&(k+="0");k+=f+":";10>c&&(k+="0");d=k+c}return 0<=a?d:"-"+d}; g.iM=function(a){return(!("button"in a)||"number"!==typeof a.button||0===a.button)&&!("shiftKey"in a&&a.shiftKey)&&!("altKey"in a&&a.altKey)&&!("metaKey"in a&&a.metaKey)&&!("ctrlKey"in a&&a.ctrlKey)}; g.jM=function(a,b){return oC(b)?(b.fetch=0,new g.nC(a,b)):new g.aB(a,b)}; kM=function(a){g.A.call(this);this.u=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.o=window.IntersectionObserver?new IntersectionObserver((0,g.x)(this.w,this),b):null)&&this.o.observe(a)}; Wka=function(a,b){Bo(a,"version",b)}; nM=function(a){var b=a.N();g.R.call(this,{D:"div",Y:["html5-video-player"],O:{tabindex:"-1",id:a.Rb?a.Rb.rootElementId:a.za.attrs.id},J:[{D:"div",H:g.lM.VIDEO_CONTAINER,O:{"data-layer":"0"}}]});b.transparentBackground&&this.km("ytp-transparent");"0"==b.controlsType&&this.km("ytp-hide-controls");b.fa("web_wn_macro_markers")&&g.J(this.element,"ytp-exp-marker-tooltip");b.fa("html5_player_bottom_linear_gradient")&&g.J(this.element,"ytp-linear-gradient-bottom-experiment");Wka(this.element,mM(a));this.app= a;this.A=this.o[g.lM.VIDEO_CONTAINER];this.w=new g.ph(0,0,0,0);this.u=null;this.G=new g.ph(0,0,0,0);this.M=this.V=this.U=NaN;this.C=this.da=!1;this.I=NaN;this.R=!1;this.F=null;this.addEventListener=(0,g.x)(this.element.addEventListener,this.element);this.removeEventListener=(0,g.x)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){}; this.ba=(0,g.x)(function(){this.element.focus()},this); hz(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.aa="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.Sd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.Sd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.Sd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Sd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Sd(854,480)},{query:window.matchMedia("(min-width: 1000px)"), size:new g.Sd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.Sd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Sd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Sd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.Sd(640,360)}]);this.Z=b.useFastSizingOnWatchDefault;this.B=new g.Sd(NaN,NaN);Xka(this);this.L(a.u,"onMutedAutoplayChange",this.dJ)}; Xka=function(a){var b=a.app.u,c=(0,g.x)(a.PF,a),d=(0,g.x)(a.QF,a),e=(0,g.x)(a.cJ,a),f=(0,g.x)(a.AF,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Ge(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})}; oM=function(a){a.u&&(a.u.removeEventListener("focus",a.ba),g.te(a.u),a.u=null)}; qM=function(a){var b=g.P(a.app.N().experiments,"html5_aspect_from_adaptive_format"),c=g.W(a.app);if(c=c?c.getVideoData():null){if(c.yg()||c.zg()||c.tg())return 16/9;if(b&&c.lo()&&c.xa.o)return b=c.xa.videoInfos[0].video,pM(b.width,b.height)}return(a=a.u)?pM(a.videoWidth,a.videoHeight):b?16/9:NaN}; rM=function(a,b,c,d){var e=c,f=pM(b.width,b.height);a.da?e=cf?k={width:b.width,height:b.width/e,aspectRatio:e}:ee?k.width=k.height*c:cMath.abs(sM*b-a)||1>Math.abs(sM/a-b)?sM:a/b}; tM=function(a){if(1==a.app.getAppState())return!1;if(6==a.app.getAppState())return!0;var b=g.W(a.app);if(!b||EJ(b))return!1;var c=g.PK(a.app.u);a=!g.V(c,2)||!g.P(a.app.N().experiments,"html5_leanback_gapless_elem_display_killswitch")&&b&&b.getVideoData().Df;b=g.V(c,1024);return c&&a&&!b&&!c.isCued()}; uM=function(a){var b="3"==a.app.N().controlsType&&!a.C&&tM(a)&&!a.app.Qa||!1;a.u.controls=b;a.u.tabIndex=b?0:-1;b?a.u.removeEventListener("focus",a.ba):g.P(a.app.N().experiments,"disable_focus_redirect")||a.u.addEventListener("focus",a.ba)}; vM=function(a){var b=a.getPlayerSize(),c=1,d=!1,e=rM(a,b,a.getVideoAspectRatio()),f=ml();if(tM(a)){var k=qM(a);var l=isNaN(k)||g.wu||MG&&g.oz;nl&&!g.Kd(601)?k=e.aspectRatio:l=l||"3"==a.app.N().controlsType;l?l=new g.ph(0,0,b.width,b.height):(c=e.aspectRatio/k,l=new g.ph((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1==c&&g.oz&&(k=l.width-b.height*k,0c):c&&d&&(a.u=new g.I(a.R,d,a),g.B(a,a.u),g.ye(g.ce("ytp-paid-content-overlay-text",a.element),c))}; tN=function(a,b){a.u&&g.V(b,8)&&a.F&&(a.F=!1,a.Qb(),a.u.start())}; g.vN=function(a){g.R.call(this,{D:"div",H:"ytp-gradient-bottom"});this.w=g.oe("CANVAS");this.w.width=1;this.u=this.w.getContext("2d");this.A=NaN;this.B=g.Uy(a.N());g.uN(this,g.QK(a).getPlayerSize().height)}; g.uN=function(a,b){if(a.u){var c=Math.floor(b*(a.B?1:.4));c=Math.max(c,47);var d=c+2;if(a.A!=d){a.A=d;a.w.height=d;a.u.clearRect(0,0,1,d);var e=a.u.createLinearGradient(0,2,0,2+c);if(a.B)e.addColorStop(.133,"rgba(0, 0, 0, 0.2)"),e.addColorStop(.44,"rgba(0, 0, 0, 0.243867)"),e.addColorStop(1,"rgba(0, 0, 0, 0.8)");else{var f=c-42;e.addColorStop(0,"rgba(0, 0, 0, 0)");e.addColorStop(f/c,"rgba(0, 0, 0, 0.3)");e.addColorStop(1,"rgba(0, 0, 0, 0.68)")}a.u.fillStyle=e;a.u.fillRect(0,2,1,c);a.element.style.height= d+"px";a.element.style.backgroundImage="url("+a.w.toDataURL()+")"}}}; g.wN=function(a,b,c,d){d=void 0===d?!1:d;g.Ru.call(this,b);this.Z=a;this.da=d;this.I=null;this.G=new g.Gr(this);g.B(this,this.G);this.U=new g.lN(this,c,!0,void 0,void 0,(0,g.x)(this.OE,this));g.B(this,this.U);this.u=null}; xN=function(a){a.u&&(document.activeElement&&g.xe(a.element,document.activeElement)&&(Be(a.u),a.u.focus()),a.u.removeAttribute("aria-expanded"),a.u=null);g.Ir(a.G);a.I=null}; yN=function(a){return a.Ha()&&4!==a.U.state}; zN=function(a){var b={D:"div",H:"ytp-multicam-menu",O:{role:"dialog"},J:[{D:"div",H:"ytp-multicam-menu-header",J:[{D:"div",H:"ytp-multicam-menu-title",J:["Changer l'angle de la cam\u00e9ra",{D:"button",Y:["ytp-multicam-menu-close","ytp-button"],O:{"aria-label":"Fermer"},J:[g.GM()]}]}]},{D:"div",H:"ytp-multicam-menu-items"}]};g.wN.call(this,a,b,250);this.B=new g.Gr(this);g.B(this,this.B);this.L(this.o["ytp-multicam-menu-close"],"click",this.gb);this.w=a;this.C=this.o["ytp-multicam-menu-items"];this.A= [];this.hide()}; CN=function(a,b,c){g.R.call(this,{D:"button",Y:["ytp-multicam-button","ytp-button"],O:{title:"Changer l'angle de la cam\u00e9ra","aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},J:[g.X?{D:"div",Y:["ytp-icon","ytp-icon-switch-camera"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,O:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z", fill:"#fff"}}]}]});this.C=a;this.A=!1;this.u=b.fb();AN(this.u);this.B=new g.I(this.G,400,this);g.B(this,this.B);this.ka("click",(0,g.x)(c.hf,c,this.element,!1));this.L(a,"presentingplayerstatechange",g.Qa(this.w,!1));this.L(a,"videodatachange",this.F);this.w(!0);g.Ge(this,g.BN(this.u,this.element))}; DN=function(a,b){var c=void 0===c?!0:c;var d=g.L("VALID_SESSION_TEMPDATA_DOMAINS",[]),e=g.od(window.location.href);e&&d.push(e);e=g.od(a);if(g.$a(d,e)||!e&&cc(a,"/"))if(g.xo("autoescape_tempdata_url")&&(d=document.createElement("a"),g.Yc(d,a),a=d.href),a&&(d=pd(a),e=d.indexOf("#"),d=0>e?d:d.substr(0,e)))if(c&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:g.ds()},b)),f){var f=parseInt(f,10);isFinite(f)&&0=f&&(p-=1/k);n-=2/k;a=a.style;a.width=n+"px";a.height=p+"px";e||(d=(d-p)/2,c=(c-n)/2,a.marginTop=Math.floor(d)+"px",a.marginBottom=Math.ceil(d)+"px",a.marginLeft=Math.floor(c)+"px",a.marginRight=Math.ceil(c)+"px");a.background="url("+b.url+") "+t+"px "+u+"px/"+l+"px "+m+"px"}; g.VO=function(a){g.R.call(this,{D:"div",H:"ytp-storyboard-framepreview",J:[{D:"div",H:"ytp-storyboard-framepreview-img"}]});this.api=a;this.C=this.o["ytp-storyboard-framepreview-img"];this.w=null;this.A=NaN;this.events=new g.Gr(this);this.u=new g.lN(this,100);g.B(this,this.events);g.B(this,this.u);this.L(this.api,"presentingplayerstatechange",this.F)}; WO=function(a,b){var c=!!a.w;a.w=b;a.w?(c||(a.events.L(a.api,"videodatachange",function(){WO(a,a.api.ue())}),a.events.L(a.api,"progresssync",a.G),a.events.L(a.api,"appresize",a.B)),a.A=NaN,XO(a),a.u.show(200)):(c&&g.Ir(a.events),a.u.hide(),a.u.stop())}; XO=function(a){var b=a.w,c=a.api.getCurrentTime(),d=g.QK(a.api).getPlayerSize(),e=SA(b,d.width);c=XA(b,e,c);c!==a.A&&(a.A=c,UA(b,c,d.width),b=b.ti(c,d.width),UO(a.C,b,d.width,d.height))}; YO=function(a,b){g.R.call(this,{D:"button",Y:["ytp-fullerscreen-edu-button","ytp-button"],J:[{D:"div",Y:["ytp-fullerscreen-edu-text"],W:"Faites d\u00e9filer la page pour afficher plus de d\u00e9tails"},{D:"div",Y:["ytp-fullerscreen-edu-chevron"],J:[g.X?{D:"div",Y:["ytp-icon","ytp-icon-chevron-down"]}:{D:"svg",O:{height:"100%",viewBox:"0 0 24 24",width:"100%"},J:[{D:"path",O:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});this.u=a;this.C=b;this.A=new g.lN(this,250, void 0,100);this.B=this.w=!1;g.kL(a,this.element,this,61214);this.C=b;g.B(this,this.A);this.L(a,"fullscreentoggled",this.sa);this.L(a,"presentingplayerstatechange",this.sa);this.ka("click",this.onClick);this.sa()}; g.ZO=function(a,b){g.R.call(this,{D:"button",Y:["ytp-fullscreen-button","ytp-button"],O:{title:"{{title}}"},W:"{{icon}}"});this.K=a;this.u=b;this.message=null;this.w=g.BN(this.u.fb(),this.element);this.A=new g.I(this.fE,2E3,this);g.B(this,this.A);this.L(a,"fullscreentoggled",this.jz);this.L(a,"presentingplayerstatechange",this.sa);this.ka("click",this.onClick);if(Cr()){var c=g.QK(this.K);this.L(c,efa(),this.Zt);this.L(c,Fr(document),this.OH)}a.N().da||this.disable();this.sa();this.jz(a.isFullscreen())}; $O=function(a,b){g.R.call(this,{D:"button",Y:["ytp-miniplayer-button","ytp-button"],O:{title:"{{title}}","data-tooltip-target-id":"ytp-miniplayer-button"},J:[RM()]});this.K=a;this.visible=!1;this.ka("click",this.onClick);this.L(a,"fullscreentoggled",this.sa);this.la("title",g.MN(a,"Lecteur r\u00e9duit","i"));g.Ge(this,g.BN(b.fb(),this.element));g.kL(a,this.element,this,62946);this.sa()}; aP=function(a,b){g.R.call(this,{D:"button",Y:["ytp-mute-button","ytp-button"],O:a.N().R?{title:"{{title}}","aria-label":"{{label}}"}:{"aria-disabled":"true","aria-haspopup":"true"},W:"{{icon}}"});this.K=a;this.u=null;this.C=this.I=this.F=this.R=NaN;this.U=this.G=null;this.B=[];this.A=[];this.visible=!1;this.w=null;var c=this.K.N();this.la("icon",$M());this.tooltip=b.fb();c.F||(this.u=new g.Mu({D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"defs",J:[{D:"clipPath",O:{id:"ytp-svg-volume-animation-mask"}, J:[{D:"path",O:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},{D:"path",O:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{D:"path",H:"ytp-svg-volume-animation-mover",O:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{D:"clipPath",O:{id:"ytp-svg-volume-animation-slash-mask"},J:[{D:"path",H:"ytp-svg-volume-animation-mover",O:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{D:"path",Na:!0,Y:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],O:{"clip-path":"url(#ytp-svg-volume-animation-mask)", d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}},{D:"path",Na:!0,Y:["ytp-svg-fill","ytp-svg-volume-animation-hider"],O:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z",fill:"#fff"}}]}),g.B(this,this.u),this.G=this.u.o["ytp-svg-volume-animation-speaker"],this.U=this.G.getAttribute("d"),this.B=g.be("ytp-svg-volume-animation-mover",this.u.element),this.A= g.be("ytp-svg-volume-animation-hider",this.u.element));this.V=new LO;g.B(this,this.V);this.M=new LO;g.B(this,this.M);this.ka("click",this.PL);this.L(a,"appresize",this.kz);this.L(a,"onVolumeChange",this.PH);var d=null;c.R?g.Ge(this,g.BN(b.fb(),this.element)):(d="Votre navigateur ne prend pas en charge les changements de volume. $BEGIN_LINKEn savoir plus$END_LINK".split(/\$(BEGIN|END)_LINK/),d=new g.wN(a,{D:"span",Y:["ytp-popup","ytp-generic-popup"],O:{tabindex:"0"},J:[d[0],{D:"a",O:{href:"https://support.google.com/youtube/?p=noaudio", target:c.C},W:d[2]},d[4]]},100,!0),g.B(this,d),d.hide(),d.subscribe("show",(0,g.x)(b.nl,b,d)),g.iL(a,d.element,4));this.message=d;g.kL(a,this.element,this,28662);this.kz(g.QK(a).getPlayerSize());this.setVolume(a.getVolume(),a.isMuted())}; bP=function(a,b){a.R=b;var c=a.U;b&&(c+=PO(dla,ela,b));a.G.setAttribute("d",c)}; cP=function(a,b){a.I=b;for(var c=20*b,d=0;dl)a.u[c].width=n;else{a.u[c].width=0;var p= a,t=c,u=p.u[t-1];void 0!==u&&0a.ga&&(a.ga=m/f),d=!0)}c++}}return d}; g.tP=function(a){sP(a);var b=a.api.getCurrentTime();(ba.clipEnd)&&a.Dp()}; sP=function(a){if(a.B){var b=a.api.getProgressState(),c=new hP(b.seekableStart,b.seekableEnd),d=jP(c,b.loaded,0);b=jP(c,b.current,0);var e=a.w.u!==c.u||a.w.o!==c.o;a.w=c;uP(a,b,d);e&&vP(a);wP(a)}}; xP=function(a,b,c){return c>=a.u.length?!1:Math.abs(b-a.u[c].startTime/1E3)/a.w.o*(a.B-(a.A?3:2)*a.R).2*(a.A?60:40)){var k=c*(a.w.getLength()/60),l=d*(a.w.getLength()/60);for(k=Math.ceil(k);k=f;c--)g.te(e[c]);a.element.style.height=a.M+(a.A?8:5)+"px";a.S("height-change",a.M);a.ac.style.height=a.M+(a.A?20:13)+"px";e=g.q(Object.keys(a.V));for(f=e.next();!f.done;f=e.next())AP(a,f.value);BP(a);uP(a,a.F,a.da)}; zP=function(a){var b=a.za.x,c=a.B*a.Z;b=g.Md(b,0,a.B);a.rb.update(b,a.B,-a.U,-(c-a.U-a.B));return a.rb}; uP=function(a,b,c){a.F=b;a.da=c;var d=zP(a),e=a.w.o,f=iP(a.w,a.F),k=g.gM("$PLAY_PROGRESS sur $DURATION",{PLAY_PROGRESS:g.hM(f,!0),DURATION:g.hM(e,!0)});if(a.api.N().fa("web_wn_macro_markers")){var l=CP(a,1E3*f);k=(l=a.u[l].title)?l+" "+k:k}a.update({ariamin:Math.floor(a.w.u),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:k});e=a.clipStart;f=a.clipEnd;a.I&&2!==a.api.getPresentingPlayerType()&&(e=a.I.startTimeMs/1E3,f=a.I.endTimeMs/1E3);e=jP(a.w,e,0);k=jP(a.w,f,1);f=g.Md(b,e,k);c=g.Md(c,e, k);k=b*d.o+d.w;if(a.api.N().fa("web_wn_macro_markers")){k=b*a.w.o*1E3;l=-1;for(var m=g.q(a.u),n=m.next();!n.done;n=m.next())n=n.value,k>n.startTime&&0l?0:l)+d.w}g.sh(a.qc,"transform","translateX("+k+"px)");a.api.N().fa("web_wn_macro_markers")?(DP(a,d,e,f,"PLAY_PROGRESS"),DP(a,d,e,c,"LOAD_PROGRESS")):(EP(a,a.u[0].B,d,e,f),EP(a,a.u[0].A,d,e,c))}; DP=function(a,b,c,d,e){var f=a.u.length;b=b.o-a.R*(a.A?3:2);var k=c*b;b*=d;d=FP(a,k);c=FP(a,b);k=Math.max(k-GP(a,d),0);for(var l=d;l=a.u.length)return a.B;for(var c=0,d=0;dl.width)b-=l.width,b-=a.A?3:2,f++;else break;b=c-(f===e?e-1:f)*(a.A?3:2)}c=g.q(a.u);for(e=c.next();!e.done;e=c.next()){e=e.value;if(b>e.width)b-=e.width;else break;d++}return d===a.u.length?d-1:d}; CP=function(a,b){for(var c=0,d=g.q(a.u),e=d.next();!(e.done||e.value.startTime>b);e=d.next())c++;return 0===c?c:c-1}; EP=function(a,b,c,d,e,f){b.style.left=Math.max(d*c.o+c.w,0)+"px";HP(a,b,g.Md((e-d)*c.o+c.w,0,c.width),c.width,void 0===f?!1:f)}; g.IP=function(a,b,c,d){a.Xb=b;a.B=c;a.A=d;vP(a);a.api.N().fa("web_wn_macro_markers")&&1===a.u.length&&(a.u[0].width=c||0)}; BP=function(a){var b=!!a.I&&2!==a.api.getPresentingPlayerType(),c=a.clipStart,d=a.clipEnd,e=!0,f=!0;b&&a.I?(c=a.I.startTimeMs/1E3,d=a.I.endTimeMs/1E3):(e=c>a.w.u,f=0a.F),e++;g.K(a.ac,"ytp-scrubber-button-hover",d===c&&1a.F)}; AP=function(a,b){var c=a.V[b],d=a.Aa[b],e=zP(a),f=jP(a.w,c.start/1E3,0),k=cia(c,a.A)/e.width;var l=jP(a.w,c.end/1E3,1);k!==Number.POSITIVE_INFINITY&&(f=g.Md(f,0,l-k));l=Math.min(l,f+k);c.color&&(d.style.background=c.color);EP(a,d,e,f,l,!0)}; JP=function(a,b){var c=b.getId();a.V[c]===b&&(g.te(a.Aa[c]),delete a.V[c],delete a.Aa[c])}; KP=function(a,b){b?a.G||(a.element.removeAttribute("aria-disabled"),a.G=new g.Mr(a.Rb,!0),a.G.subscribe("hovermove",a.rM,a),a.G.subscribe("hoverend",a.qM,a),a.G.subscribe("dragstart",a.pM,a),a.G.subscribe("dragmove",a.tM,a),a.G.subscribe("dragend",a.sM,a),a.yb=a.ka("keydown",a.SH)):a.G&&(a.element.setAttribute("aria-disabled","true"),a.bb(a.yb),a.G.cancel(),a.G.dispose(),a.G=null)}; g.LP=function(a){var b=2*a.B*g.iz();return 1E3*a.w.getLength()/a.api.getPlaybackRate()/b}; MP=function(a,b,c){g.R.call(this,{D:"button",H:"ytp-button",O:{title:"Regarder sur un t\u00e9l\u00e9viseur","aria-haspopup":"true"},W:"{{icon}}"});this.K=a;this.w=c;this.u=null;this.L(a,"onMdxReceiversChange",this.sa);this.L(a,"presentingplayerstatechange",this.sa);this.L(a,"appresize",this.sa);this.sa();this.ka("click",this.A,this);g.Ge(this,g.BN(b.fb(),this.element))}; NP=function(a,b){g.R.call(this,{D:"button",Y:["ytp-subtitles-button","ytp-button"],O:{"aria-pressed":"{{pressed}}",title:g.MN(a,"Sous-titres","c")},J:[XM()]});this.K=a;this.L(a,"videodatachange",this.sa);this.L(a,"appresize",this.sa);this.L(a,"onApiChange",this.sa);this.L(a,"onCaptionsTrackListChanged",this.sa);this.L(a,"captionschanged",this.sa);this.sa();this.ka("click",this.onClick);g.Ge(this,g.BN(b.fb(),this.element))}; g.OP=function(a,b,c){c=void 0===c?350:c;g.R.call(this,{D:"div",Y:["ytp-time-display","notranslate"],J:[{D:"span",H:"ytp-time-current",W:"{{currenttime}}"},{D:"span",H:"ytp-time-separator",W:" / "},{D:"span",H:"ytp-time-duration",W:"{{duration}}"}]});this.api=a;this.F=c;this.liveBadge=new g.R({D:"button",Y:["ytp-live-badge","ytp-button"],O:{disabled:"true"},W:"{{content}}"});this.u=null;this.w=!1;this.C=null;this.isPremiere=!1;this.B=this.A=null;this.liveBadge.qb("En direct");g.B(this,this.liveBadge); this.liveBadge.ca(this.element);this.tooltip=b.fb();this.ka("click",this.onClick);this.L(a,"presentingplayerstatechange",this.Fh);this.L(a,"appresize",this.Fh);this.L(a,"videodatachange",this.XH);(a=a.getVideoData())&&this.updateVideoData(a);this.Fh()}; RP=function(a,b,c){g.R.call(this,{D:"div",H:"ytp-volume-panel",O:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},J:[{D:"div",H:"ytp-volume-slider",J:[{D:"div",H:"ytp-volume-slider-handle"}]}]});var d=this;this.api=a;this.w=b;this.G=c;this.I=!1;this.U=this.volume=0;this.M=null;this.B=this.u=this.A=!1;this.w=b;this.G=c;this.C=b.kc();this.R=this.o["ytp-volume-slider"];this.V=this.o["ytp-volume-slider-handle"];this.F= new g.Mr(this.R,!0);g.B(this,this.F);this.F.subscribe("dragstart",this.hN,this);this.F.subscribe("dragmove",this.aI,this);this.F.subscribe("dragend",this.gN,this);this.L(a,"onVolumeChange",this.cI);this.L(a,"appresize",this.nz);this.L(a,"fullscreentoggled",this.YH);this.L(a,"onShowControls",this.Bw);this.L(a,"onHideControls",this.Bw);this.L(this.element,"keydown",this.bI);this.L(this.element,"focus",function(){PP(d,d.u,d.A,!0,d.w.Oi())}); this.L(this.element,"blur",function(){PP(d,d.u,d.A,!1,d.w.Oi())}); this.nz(g.QK(a).getPlayerSize());QP(this,a.getVolume(),a.isMuted())}; QP=function(a,b,c){var d=Math.floor(b),e=d+"% volume"+(c?" son d\u00e9sactiv\u00e9":"");c=c?0:b/100;a.la("valuenow",d);a.la("valuetext",e);a.V.style.left=(a.C?60:40)*c+"px";a.volume=b}; PP=function(a,b,c,d,e){var f=a.u||a.A||a.B||a.I;a.u=b;a.A=c;a.B=d;a.I=e;b=a.u||a.A||a.B||a.I;f!==b&&(b?a.M=a.L(a.element,"wheel",a.ZH):(a.bb(a.M),a.M=null),g.K(a.G,"ytp-volume-slider-active",b))}; g.SP=function(a,b){var c=a.N(),d=g.fz(c);0===d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"],f=g.Uy(c);f&&e.push("ytp-youtube-music-button");g.R.call(this,{D:"a",Y:e,O:{href:"{{url}}",target:c.C,title:g.gM("Regarder sur $WEBSITE",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},J:[f?g.X?{D:"div",Y:["ytp-icon","ytp-icon-youtube-music-logo"]}:{D:"svg",O:{viewBox:"0 0 77 20"},J:[{D:"g",O:{fill:"none"},J:[{D:"path",O:{d:"M27.71 3.30a3.53 3.53 0 0 0-2.49-2.49c-2.19-.59-11.00-.59-11.00-.59s-8.81 0-11.00.59A3.53 3.53 0 0 0 .71 3.30c-.59 2.20-.59 6.8-.59 6.8s0 4.59.59 6.8a3.53 3.53 0 0 0 2.49 2.49c2.19.59 11.00.59 11.00.59s8.81 0 11.00-.59a3.53 3.53 0 0 0 2.49-2.49c.59-2.20.59-6.8.59-6.8s-.00-4.59-.59-6.8z", fill:"red"}},{D:"path",O:{d:"M11.39 14.34l7.32-4.23-7.32-4.24zM40.69 7.88c-.50 2.56-.88 5.69-1.08 6.98h-.14c-.16-1.33-.54-4.44-1.06-6.97l-1.29-6.28h-3.92v16.95h2.43V4.60l.24 1.30 2.47 12.66h2.43L43.21 5.91l.26-1.31v13.97h2.43V1.62h-3.96L40.7 7.88zm11.80 8.14c-.22.46-.70.78-1.19.78-.56 0-.78-.44-.78-1.53V6.19h-2.78v9.25c0 2.28.74 3.33 2.39 3.33 1.12 0 2.03-.50 2.66-1.71h.06l.24 1.51h2.17V6.19h-2.78v9.84h.00zm8.15-4.94c-.90-.66-1.47-1.11-1.47-2.08 0-.68.32-1.07 1.08-1.07.78 0 1.04.54 1.06 2.40l2.33-.1c.18-3.01-.80-4.26-3.36-4.26-2.37 0-3.54 1.07-3.54 3.27 0 2 .96 2.91 2.53 4.1 1.35 1.05 2.13 1.63 2.13 2.48 0 .64-.40 1.09-1.10 1.09-.82 0-1.31-.78-1.18-2.16l-2.35.04c-.36 2.56.66 4.06 3.40 4.06 2.39 0 3.64-1.11 3.64-3.33.00-2.02-1.00-2.82-3.18-4.44zm4.71-4.88h2.66v12.38h-2.66zm1.35-4.88c-1.02 0-1.51.38-1.51 1.71 0 1.37.48 1.71 1.51 1.71 1.04 0 1.51-.34 1.51-1.71 0-1.27-.46-1.71-1.51-1.71zm10.25 12.80l-2.43-.12c0 2.18-.24 2.88-1.06 2.88s-.96-.78-.96-3.35V11.12c0-2.48.16-3.27.98-3.27.76 0 .96.74.96 3.05l2.41-.16c.16-1.92-.08-3.23-.82-3.98-.54-.54-1.37-.80-2.51-.80-2.7 0-3.80 1.45-3.80 5.53v1.73c0 4.20.94 5.55 3.70 5.55 1.17 0 1.97-.24 2.51-.76.78-.73 1.08-1.98 1.02-3.90z", fill:"#fff"}}]}]}:g.X?{D:"div",Y:["ytp-icon","ytp-icon-logo"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}]}); this.api=a;this.visible=!1;g.kL(a,this.element,this,28666);this.ka("click",this.onClick);this.L(a,"videodatachange",this.u);this.L(a,"onLoopRangeChange",this.u);this.u();g.Ge(this,g.BN(b.fb(),this.element))}; TP=function(a,b,c){g.Gr.call(this);var d=this,e=a.N();this.u=a;this.A=b;this.oa=NaN;this.ma=null;this.ba=c;this.ba.subscribe("autohideupdate",this.Qz,this);c=!g.PK(a).isCued();if(this.u.N().fa("html5_player_bottom_linear_gradient")||!g.Uy(e)&&!g.P(a.N().experiments,"html5_player_dynamic_bottom_gradient"))var f=new g.R({D:"div",H:"ytp-gradient-bottom"});else this.wa=f=new g.vN(a);g.B(this,f);g.iL(a,f.element,8);this.ha=new g.lN(f,250,c,100);g.B(this,this.ha);this.w=new g.R({D:"div",H:"ytp-chrome-bottom", J:[{D:"div",H:"ytp-chrome-controls"}]});g.B(this,this.w);g.iL(a,this.w.element,8);this.aa=new g.lN(this.w,250,c,100);g.B(this,this.aa);this.R=this.w.element.children[0];this.o=new JO(a);g.Ge(this.o,function(){a.P==d.o&&(a.P=null)}); g.B(this,this.o);a.P=this.o;g.iL(a,this.o.element,6);this.o.subscribe("show",this.YO,this);this.o.subscribe("show",(0,g.x)(b.Iu,b,this.o));this.B=new g.pP(a,b);g.B(this,this.B);this.B.ca(this.w.element,0);c=new g.VO(a);g.B(this,c);g.iL(a,c.element,4);c=new g.Mu({D:"div",H:"ytp-left-controls"});g.B(this,c);c.ca(this.R);f=new g.ON(a,b,!1);g.B(this,f);f.ca(c.element);e.M||(f=new g.fP(a,b),g.B(this,f),f.ca(c.element));f=new g.ON(a,b,!0);g.B(this,f);f.ca(c.element);var k=new g.R({D:"span"});g.B(this,k); k.ca(c.element);if(!e.wa&&(this.F=new aP(a,b),g.B(this,this.F),this.F.ca(k.element),e.R)){f=new RP(a,b,this.w.element);g.B(this,f);f.ca(k.element);k=new g.Mr(k.element);g.B(this,k);var l=(0,g.x)(f.dC,f,!0);k.subscribe("hoverstart",l);k=new g.Mr(c.element);g.B(this,k);f=(0,g.x)(f.dC,f,!1);k.subscribe("hoverend",f)}this.da=new g.OP(a,b);g.B(this,this.da);this.da.ca(c.element);c=new g.Mu({D:"div",H:"ytp-right-controls"});g.B(this,c);c.ca(this.R);g.P(a.N().experiments,"web_wn_macro_markers")&&(this.V= new TO(a,b,this.B),g.B(this,this.V),this.V.ca(this.R));this.M=null;g.P(e.experiments,"external_fullscreen_with_edu")&&e.externalFullscreen&&hz(e)&&(this.M=new YO(a,b),g.B(this,this.M),this.M.ca(c.element));f=new NP(a,b);g.B(this,f);f.ca(c.element);f=new TN(a,b,this.o);g.B(this,f);ala(this.o,f);f.ca(c.element);f=new zN(a);g.B(this,f);g.iL(a,f.element,5);f.subscribe("show",(0,g.x)(b.oi,b,f));f=new CN(a,b,f);g.B(this,f);f.ca(c.element);f=a.getVideoData();if(e.Rg||f.lc&&"1"==e.controlsType)this.G=new g.SP(a, b),g.B(this,this.G),this.G.ca(c.element);e.showMiniplayerButton&&!g.P(a.N().experiments,"web_player_pip")&&(this.C=new $O(a,b),g.B(this,this.C),this.C.ca(c.element));this.U=new dP(a,b);g.B(this,this.U);this.U.ca(c.element);f.Ju||this.U.hide();e.qc||(f=new RO(a,b),g.B(this,f),f.ca(c.element));e.ac&&(f=new MP(a,b,this.o),g.B(this,f),f.ca(c.element));e.Xf&&(e=new SO(a,b),g.B(this,e),e.ca(c.element));this.ga=new g.ZO(a,b);g.B(this,this.ga);this.ga.ca(c.element);this.I=new g.rn(this.qJ,null,this);g.B(this, this.I);this.P=null;this.L(a,"appresize",this.Pt);this.L(a,"fullscreentoggled",this.Pt);this.L(a,"presentingplayerstatechange",this.Qt);this.L(a,"videodatachange",this.rJ);this.Pt()}; UP=function(a,b){g.PK(a.u).isCued()||b?b&&(a.aa.hide(),a.ha.hide(),a.F&&a.F.Xa(!1),a.G&&a.G.Xa(!1),a.C&&a.C.Xa(!1),a.A.fb().rf(a.ua())):b||(a.aa.show(),a.ha.show(),a.F&&a.F.Xa(!0),a.G&&a.G.Xa(!0),a.C&&a.C.Xa(!0),a.Qz())}; WP=function(a){var b=g.QK(a.u).getPlayerSize().width;return Math.max(b-2*VP(a),100)}; VP=function(a){var b=a.A.kc();return 12*(a.u.getVideoData().lc?0:b?2:1)}; g.XP=function(a){g.R.call(this,{D:"div",Y:["ytp-error"],O:{role:"alert"},J:[{D:"div",H:"ytp-error-content",J:[{D:"div",H:"ytp-error-icon-container",J:[g.JM()]},{D:"div",H:"ytp-error-content-wrap",J:[{D:"div",H:"ytp-error-content-wrap-reason",W:"{{content}}"},{D:"div",H:"ytp-error-content-wrap-subreason",W:"{{subreason}}"}]}]}]});this.api=a;this.keys=[]}; g.YP=function(a){a=a.split(fla);for(var b=[],c=0;c1+b&&a.api.toggleFullscreen()}; ila=function(){var a=el()&&67<=bl();return!dl("tizen")&&!Jy&&!a&&!0}; mQ=function(a,b){g.Ru.call(this,{D:"div",H:"ytp-ad-persistent-progress-bar-container",J:[{D:"div",H:"ytp-ad-persistent-progress-bar"}]});this.A=a;this.w=b;g.B(this,this.w);this.F=this.o["ytp-ad-persistent-progress-bar"];this.u=-1;this.L(a,"presentingplayerstatechange",this.C);this.hide();this.C()}; nQ=function(a,b){b=void 0===b?2:b;g.O.call(this);this.o=a;this.u=new g.Gr(this);g.B(this,this.u);this.B=kla;this.A=null;this.u.L(this.o,"presentingplayerstatechange",this.tJ);this.A=this.u.L(this.o,"progresssync",this.Sz);this.w=b;1===this.w&&this.Sz()}; g.oQ=function(a){g.R.call(this,{D:"div",J:[{D:"div",H:"ytp-bezel-text-wrapper",J:[{D:"div",H:"ytp-bezel-text",W:"{{title}}"}]},{D:"div",H:"ytp-bezel",O:{role:"status","aria-label":"{{label}}"},J:[{D:"div",H:"ytp-bezel-icon",W:"{{icon}}"}]}]});this.A=new g.I(this.show,10,this);g.B(this,this.A);this.u=new g.I(this.hide,500,this);g.B(this,this.u);this.w=a;this.hide()}; g.qQ=function(a,b){if(b)g.V(g.PK(a.w),64)||pQ(a,SM(),"Lire");else{var c=a.w.getVideoData();c.va&&!c.allowLiveDvr?pQ(a,WM(),"Arr\u00eater la lecture en direct"):pQ(a,QM(),"Pause")}}; rQ=function(a,b,c){if(0>=b){c=$M();b="son d\u00e9sactiv\u00e9";var d=0}else c=c?ZM():YM(),d=Math.floor(b),b=d+"volume";pQ(a,c,b,d+"%")}; sQ=function(a,b){var c=b?g.X?{D:"div",Y:["ytp-icon","ytp-icon-fast-rewind"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z"}}]}:g.X?{D:"div",Y:["ytp-icon","ytp-icon-fast-forward"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]},d=a.w.getPlaybackRate(), e=g.gM("Vitesse\u00a0: $RATE",{RATE:String(d)});pQ(a,c,e,d+"x")}; pQ=function(a,b,c,d){d=void 0===d?"":d;a.la("label",void 0===c?"":c);a.la("icon",b);a.u.Pe();a.A.start();a.la("title",d);g.K(a.element,"ytp-bezel-text-hide",!d)}; uQ=function(a,b,c){g.R.call(this,{D:"button",Y:["ytp-button","ytp-cards-button"],O:{"aria-label":"Afficher les fiches","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.Ly(a.N()))},J:[{D:"span",H:"ytp-cards-button-icon-default",J:[{D:"div",H:"ytp-cards-button-icon",J:[g.X?{D:"div",Y:["ytp-icon","ytp-icon-info-card"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]}, {D:"div",H:"ytp-cards-button-title",W:"Informations"}]},{D:"span",H:"ytp-cards-button-icon-shopping",J:[{D:"div",H:"ytp-cards-button-icon",J:[g.X?{D:"div",Y:["ytp-icon","ytp-icon-shopping-card"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",H:"ytp-svg-shadow",O:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{D:"path",H:"ytp-svg-fill",O:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z", "fill-opacity":"1"}},{D:"path",H:"ytp-svg-shadow-fill",O:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{D:"div", H:"ytp-cards-button-title",W:"Shopping"}]}]});this.K=a;this.B=b;this.A=c;this.u=null;this.w=new g.lN(this,250,!0,100);g.B(this,this.w);g.K(this.A,"ytp-show-cards-title",g.Ly(a.N()));this.hide();this.ka("click",this.onClicked);this.ka("mouseover",this.C);tQ(this,!0)}; tQ=function(a,b){b?a.u=g.BN(a.B.fb(),a.element):(a.u=a.u,a.u(),a.u=null)}; vQ=function(a,b,c){g.R.call(this,{D:"div",H:"ytp-cards-teaser",J:[{D:"div",H:"ytp-cards-teaser-box"},{D:"div",H:"ytp-cards-teaser-text",J:[{D:"span",H:"ytp-cards-teaser-label",W:"{{text}}"}]}]});var d=this;this.w=a;this.U=b;this.F=new g.lN(this,250,!1,250);g.B(this,this.F);this.C=c;this.u=null;this.M=new g.I(this.NL,300,this);g.B(this,this.M);this.I=new g.I(this.KL,2E3,this);g.B(this,this.I);this.G=[];this.A=null;this.R=new g.I(function(){d.element.style.margin=0},250); g.B(this,this.R);this.B=null;this.L(c.element,"mouseover",this.HA);this.L(c.element,"mouseout",this.GA);this.L(a,"cardsteasershow",this.nN);this.L(a,"cardsteaserhide",this.jm);this.L(a,"cardstatechange",this.HC);this.L(a,"presentingplayerstatechange",this.HC);this.L(a,"appresize",this.Kt);this.L(a,"onShowControls",this.Kt);this.L(a,"onHideControls",this.hE);this.ka("click",this.MO);this.ka("mouseenter",this.aJ)}; lla=function(a,b){a.la("text",b.teaserText);a.element.setAttribute("dir",g.Ln(b.teaserText));a.F.show();a.A=new g.I(function(){g.J(this.w.getRootNode(),"ytp-cards-teaser-shown");this.Kt()},0,a); a.A.start();tQ(a.C,!1);a.u=new g.I(a.jm,580+b.durationMs,a);a.u.start();a.G.push(a.ka("mouseover",a.HA,a));a.G.push(a.ka("mouseout",a.GA,a))}; wQ=function(a,b,c){return b?a.G+"subscription_ajax":c?"/subscription_service":""}; g.yQ=function(a,b,c,d,e,f,k,l,m,n,p,t,u){u=void 0===u?null:u;f&&(a=a.charAt(0)+a.substring(1).toLowerCase(),c=c.charAt(0)+c.substring(1).toLowerCase());if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;var z=t.N();if(p){c={href:p,"aria-label":"S'abonner \u00e0 la cha\u00eene"};if(g.Ry(z)||g.Ty(z))c.target=z.C;g.R.call(this,{D:"div",Y:["ytp-button","ytp-sb"],J:[{D:"a",H:"ytp-sb-subscribe",O:c,J:[{D:"div",H:"ytp-sb-text",J:[{D:"div",H:"ytp-sb-icon"},a]},b?{D:"div",H:"ytp-sb-count",W:b}:""]}]}); f&&g.J(this.element,"ytp-sb-classic")}else{p=z.ha&&g.Ry(z)&&!g.P(z.experiments,"subscribe_tooltip_killswitch");g.R.call(this,{D:"div",Y:["ytp-button","ytp-sb"],J:[{D:"div",H:"ytp-sb-subscribe",O:p?{title:g.gM("S'abonner en tant que\u00a0$USER_NAME",{USER_NAME:z.ha}),"aria-label":"S'abonner \u00e0 la cha\u00eene","data-tooltip-image":sz(z),"data-tooltip-opaque":String(g.Ly(z)),tabindex:"0",role:"button"}:{"aria-label":"S'abonner \u00e0 la cha\u00eene"},J:[{D:"div",H:"ytp-sb-text",J:[{D:"div",H:"ytp-sb-icon"}, a]},b?{D:"div",H:"ytp-sb-count",W:b}:""]},{D:"div",H:"ytp-sb-unsubscribe",O:p?{title:g.gM("Abonn\u00e9 en tant que $USER_NAME",{USER_NAME:z.ha}),"aria-label":"Se d\u00e9sabonner de la cha\u00eene","data-tooltip-image":sz(z),"data-tooltip-opaque":String(g.Ly(z)),tabindex:"0",role:"button"}:{"aria-label":"Se d\u00e9sabonner de la cha\u00eene"},J:[{D:"div",H:"ytp-sb-text",J:[{D:"div",H:"ytp-sb-icon"},c]},d?{D:"div",H:"ytp-sb-count",W:d}:""]}]});var C=this;this.u=k;this.A=u;var D=this.o["ytp-sb-subscribe"], E=this.o["ytp-sb-unsubscribe"];f&&g.J(this.element,"ytp-sb-classic");if(e){l&&g.J(this.element,"ytp-sb-subscribed");var F=function(){var fa=C.u;if(m||n){var oa=t.N();var kc={c:fa};if(g.P(oa.experiments,"embeds_botguard_with_subscribe_killswitch"))kc="";else{var Rc;$q.o&&(Rc=Ms(kc));kc=Rc||""}g.P(oa.experiments,"web_player_innertube_subscription_update")?(oa=t.getVideoData(),IK(xQ(t.app),oa.subscribeCommand)):g.Eq(wQ(oa,!!m,!!n),m?{method:"POST",Zd:{action_create_subscription_to_channel:1,c:fa},sb:{feature:m, silo_name:null,r2b:kc},withCredentials:!0}:n?{method:"POST",Zd:{action_subscribe:1},sb:{channel_ids:fa,itct:n}}:{});t.na("SUBSCRIBE",fa)}E.focus();E.removeAttribute("aria-hidden");D.setAttribute("aria-hidden",!0)},G=function(){var fa=C.u; if(m||n){var oa=t.N();g.P(oa.experiments,"web_player_innertube_subscription_update")?(oa=t.getVideoData(),IK(xQ(t.app),oa.unsubscribeCommand)):g.Eq(wQ(oa,!!m,!!n),m?{method:"POST",Zd:{action_remove_subscriptions:1},sb:{c:fa,silo_name:null,feature:m},withCredentials:!0}:n?{method:"POST",Zd:{action_unsubscribe:1},sb:{channel_ids:fa,itct:n}}:{});t.na("UNSUBSCRIBE",fa)}D.focus();D.removeAttribute("aria-hidden");E.setAttribute("aria-hidden",!0)}; this.L(D,"click",F);this.L(E,"click",G);this.L(D,"keypress",function(fa){13==fa.keyCode&&F(fa)}); this.L(E,"keypress",function(fa){13==fa.keyCode&&G(fa)}); this.L(t,"SUBSCRIBE",this.B);this.L(t,"UNSUBSCRIBE",this.C);this.A&&p&&(this.w=this.A.fb(),AN(this.w),g.Ge(this,g.BN(this.w,D)),g.Ge(this,g.BN(this.w,E)))}else g.J(D,"ytp-sb-disabled"),g.J(E,"ytp-sb-disabled")}}; g.AQ=function(a,b,c){b=zQ(null,b,c);if(b=window.open(b,"loginPopup","width=800,height=600,resizable=yes,scrollbars=yes",!0))c=g.Oo("LOGGED_IN",function(d){g.Po(g.L("LOGGED_IN_PUBSUB_KEY",void 0));to("LOGGED_IN",!0);a(d)}),to("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((screen.width-800)/2,(screen.height-600)/2)}; zQ=function(a,b,c){var d="/signin?context=popup";c&&(d=document.location.protocol+"//"+c+d);c=document.location.protocol+"//"+document.domain+"/post_login";a&&(c=xd(c,"mode",a));a=xd(d,"next",c);b&&(a=xd(a,"feature",b));return a}; CQ=function(a,b){g.R.call(this,{D:"button",Y:[BQ.BUTTON,BQ.TITLE_NOTIFICATIONS],O:{"aria-pressed":"{{pressed}}","aria-label":"{{label}}"},J:[{D:"div",H:BQ.TITLE_NOTIFICATIONS_ON,O:{title:"Ne plus recevoir de notifications pour chaque vid\u00e9o mise en ligne","aria-label":"Envoi de notifications aux abonn\u00e9s"},J:[g.PM()]},{D:"div",H:BQ.TITLE_NOTIFICATIONS_OFF,O:{title:"Recevoir une notification pour chaque vid\u00e9o mise en ligne","aria-label":"Envoi de notifications aux abonn\u00e9s"},J:[g.X? {D:"div",Y:["ytp-icon","ytp-icon-notifications-inactive"]}:{D:"svg",O:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},J:[{D:"path",O:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});this.api=a;this.channelId=b;this.u=!1;g.kL(a,this.element,this,36927);this.ka("click",this.onClick,this);this.la("pressed",!1); this.la("label","Recevoir une notification pour chaque vid\u00e9o mise en ligne")}; DQ=function(a,b){a.u=b;a.element.classList.toggle(BQ.NOTIFICATIONS_ENABLED,a.u);g.Eq("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",sb:{channel_id:a.channelId,receive_all_updates:!a.u}})}; EQ=function(a,b){var c=a.N();g.R.call(this,{D:"div",H:"ytp-title-channel",J:[{D:"div",H:"ytp-title-beacon"},{D:"a",H:"ytp-title-channel-logo",O:{href:"{{channelLink}}",target:c.C,"aria-label":"{{channelLogoLabel}}"}},{D:"div",H:"ytp-title-expanded-overlay",J:[{D:"div",H:"ytp-title-expanded-heading",J:[{D:"h2",H:"ytp-title-expanded-title",J:[{D:"a",W:"{{expandedTitle}}",O:{href:"{{channelTitleLink}}",target:c.C,tabIndex:"{{channelTitleFocusable}}"}}]},{D:"h3",H:"ytp-title-expanded-subtitle",W:"{{expandedSubtitle}}"}]}]}]}); this.u=a;this.ba=b;this.w=this.o["ytp-title-channel"];this.B=this.o["ytp-title-channel-logo"];this.U=this.o["ytp-title-expanded-overlay"];this.F=this.C=this.A=null;this.V=g.Ly(c);g.kL(a,this.B,this,36925);this.V&&mla(this);this.L(a,"videodatachange",this.M);this.L(a,"videoplayerreset",this.M);this.M()}; mla=function(a){var b=a.u.N(),c=a.u.getVideoData();if(!b.aa){var d=b.Nc?null:zQ(),e=new g.yQ("S'abonner",null,"Abonn\u00e9",null,!0,!1,c.Ng,c.subscribed,"channel_avatar",null,d,a.u,a.ba);a.A=e;g.B(a,e);e.ca(a.U);g.kL(a.u,e.element,a,36926);e.hide();a.L(e.element,"click",function(){g.nL(a.u,e.element)}); var f=new CQ(a.u,c.Ng);a.C=f;g.B(a,f);f.ca(a.U);f.hide();a.L(a.u,"SUBSCRIBE",function(){c.zk&&f.show()}); a.L(a.u,"UNSUBSCRIBE",function(){c.zk&&(f.hide(),DQ(f,!1))})}a.la("channelTitleFocusable","-1"); b.o?a.L(a.B,"click",function(k){FQ(a)&&(k.preventDefault(),GQ(a)?a.G():a.I());g.nL(a.u,a.B)}):(a.L(a.w,"mouseenter",a.I),a.L(a.w,"mouseleave",a.G),a.L(a.w,"focusin",a.I),a.L(a.w,"focusout",function(k){a.w.contains(k.relatedTarget)||a.G()}),a.L(a.B,"click",function(){g.nL(a.u,a.B)})); a.F=new g.I(function(){GQ(a)&&(a.A&&(a.A.hide(),g.oL(a.u,a.A.element,!1)),a.C&&(a.C.hide(),g.oL(a.u,a.C.element,!1)),a.w.classList.remove("ytp-title-expanded"),a.w.classList.add("ytp-title-show-collapsed"))},500); g.B(a,a.F);a.L(a.w,HQ,function(){IQ(a)}); a.L(a.u,"onHideControls",a.R);a.L(a.u,"appresize",a.R);a.L(a.u,"fullscreentoggled",a.R)}; IQ=function(a){a.w.classList.remove("ytp-title-show-collapsed");a.w.classList.remove("ytp-title-show-expanded")}; FQ=function(a){var b=a.u.getPlayerSize();return a.V&&524<=b.width}; GQ=function(a){return a.w.classList.contains("ytp-title-expanded")}; JQ=function(a){g.R.call(this,{D:"div",H:"ytp-doubletap-ui",J:[{D:"div",H:"ytp-doubletap-static-circle",J:[{D:"div",H:"ytp-doubletap-ripple"}]},{D:"div",H:"ytp-doubletap-overlay-a11y"},{D:"div",H:"ytp-doubletap-seek-info-container",J:[{D:"div",H:"ytp-doubletap-arrows-container",J:[{D:"span",H:"ytp-doubletap-base-arrow"},{D:"span",H:"ytp-doubletap-base-arrow"},{D:"span",H:"ytp-doubletap-base-arrow"}]},{D:"div",H:"ytp-doubletap-tooltip",J:[{D:"div",H:"ytp-doubletap-tooltip-label",W:"{{seekTime}}"}]}]}]}); this.w=a;this.A=new g.I(this.show,10,this);g.B(this,this.A);this.u=new g.I(this.hide,700,this);g.B(this,this.u);this.hide()}; KQ=function(a,b,c){var d={};b&&(d.v=b);c&&(d.list=c);a={name:a,locale:void 0,feature:void 0};for(var e in d)a[e]=d[e];d=g.yd("/sharing_services",a);g.cr(d)}; LQ=function(a){var b=g.Uu({"aria-haspopup":"true"});g.Tu.call(this,b,a);this.ka("keydown",this.u)}; MQ=function(a,b){a.element.setAttribute("aria-haspopup",String(b))}; PQ=function(a,b,c,d){g.WN.call(this,a);this.u=a;this.U=c;this.Z=d;this.F=new g.gO("Lire en boucle",7);g.B(this,this.F);g.XN(this,this.F,!0);this.F.ka("click",this.vL,this);g.kL(a,this.F.element,this.F,28661);this.C=new LQ(6);g.B(this,this.C);g.XN(this,this.C,!0);this.C.ka("click",this.fL,this);g.kL(a,this.C.element,this.C,28659);this.B=new LQ(5);g.B(this,this.B);g.XN(this,this.B,!0);this.B.ka("click",this.eL,this);g.kL(a,this.B.element,this.B,28660);this.A=new LQ(4);g.B(this,this.A);g.XN(this,this.A, !0);this.A.ka("click",this.dL,this);g.kL(a,this.A.element,this.A,28658);this.R=new LQ(3);g.B(this,this.R);g.XN(this,this.R,!0);this.R.ka("click",this.cL,this);this.V=new g.Tu(g.Uu({href:"{{href}}",target:a.N().C},void 0,!0),2,"R\u00e9soudre les probl\u00e8mes de lecture");g.B(this,this.V);g.XN(this,this.V,!0);this.V.ka("click",this.GM,this);b=new g.Tu(g.Uu(),1,"Statistiques avanc\u00e9es");g.B(this,b);g.XN(this,b,!0);b.ka("click",this.eN,this);this.M=new g.Ru({D:"div",Y:["ytp-copytext","ytp-no-contextmenu"], O:{draggable:"false",tabindex:"1"},W:"{{text}}"});g.B(this,this.M);this.M.ka("click",this.KK,this);this.ga=new VN(a,this.M);g.B(this,this.ga);this.I=null;c=document.queryCommandSupported&&document.queryCommandSupported("copy");g.Dt&&g.Kd(43)&&(c=!0);g.hu&&!g.Kd(41)&&(c=!1);c&&(this.I=new g.R({D:"textarea",H:"ytp-html5-clipboard",O:{readonly:""}}),g.B(this,this.I),this.I.ca(this.element));Vu(this.F,g.X?{D:"div",Y:["ytp-icon","ytp-icon-repeat"]}:{D:"svg",O:{fill:"none",height:"24",viewBox:"0 0 24 24", width:"24"},J:[{D:"path",O:{d:"M7 7H17V10L21 6L17 2V5H5V11H7V7ZM17 17H7V14L3 18L7 22V19H19V13H17V17Z",fill:"white"}}]});Vu(this.R,g.X?{D:"div",Y:["ytp-icon","ytp-icon-bug-report"]}:{D:"svg",O:{height:"24",viewBox:"0 0 24 24",width:"24"},J:[{D:"path",O:{"clip-rule":"evenodd",d:"M20 10V8H17.19C16.74 7.22 16.12 6.54 15.37 6.04L17 4.41L15.59 3L13.42 5.17C13.39 5.16 13.37 5.16 13.34 5.16C13.18 5.12 13.02 5.1 12.85 5.07C12.79 5.06 12.74 5.05 12.68 5.04C12.46 5.02 12.23 5 12 5C11.51 5 11.03 5.07 10.58 5.18L10.6 5.17L8.41 3L7 4.41L8.62 6.04H8.63C7.88 6.54 7.26 7.22 6.81 8H4V10H6.09C6.03 10.33 6 10.66 6 11V12H4V14H6V15C6 15.34 6.04 15.67 6.09 16H4V18H6.81C7.85 19.79 9.78 21 12 21C14.22 21 16.15 19.79 17.19 18H20V16H17.91C17.96 15.67 18 15.34 18 15V14H20V12H18V11C18 10.66 17.96 10.33 17.91 10H20ZM16 15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V11C8 8.79 9.79 7 12 7C14.21 7 16 8.79 16 11V15ZM10 14H14V16H10V14ZM10 10H14V12H10V10Z", fill:"white","fill-rule":"evenodd"}}]});Vu(this.V,g.X?{D:"div",Y:["ytp-icon","ytp-icon-help-outline"]}:{D:"svg",O:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},J:[{D:"path",O:{"clip-rule":"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM13 16V18H11V16H13ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM8 10C8 7.79 9.79 6 12 6C14.21 6 16 7.79 16 10C16 11.28 15.21 11.97 14.44 12.64C13.71 13.28 13 13.90 13 15H11C11 13.17 11.94 12.45 12.77 11.82C13.42 11.32 14 10.87 14 10C14 8.9 13.1 8 12 8C10.9 8 10 8.9 10 10H8Z", fill:"white","fill-rule":"evenodd"}}]});Vu(b,KM());this.L(a,"loopchange",this.EA);this.L(a,"videodatachange",this.eJ);NQ(this);OQ(this,this.u.getVideoData())}; QQ=function(a,b){if(a.I){var c=a.I.element;c.value=b;c.select();try{var d=document.execCommand("copy")}catch(e){}}d?a.U.gb():(a.M.qb(b,"text"),g.dO(a.U,a.ga),LN(a.M.element),a.I&&(a.I=null,NQ(a)));return d}; OQ=function(a,b){var c=a.u.N(),d=2==a.u.getPresentingPlayerType(),e=!d||b.isListed;e=!c.P&&!!b.videoId&&e;"play"!==c.playerStyle?c="https://support.google.com/youtube/?p=report_playback":(c={contact_type:"playbackissue",html5:1,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.Ba&&(c.fmt=ct(b.Ba)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.De&&(c.partnerid=b.De),c=g.yd("//support.google.com/googleplay/",c));g.Qu(a.A,e&&b.allowEmbed);g.Qu(a.C,e);g.Qu(a.B,e&&!b.va);a.V.qb(c,"href");g.Qu(a.F, !b.va&&!d)}; NQ=function(a){var b=!!a.I;g.Su(a.R,b?"Copier les informations de d\u00e9bogage":"Obtenir les informations de d\u00e9bogage");MQ(a.R,!b);g.Su(a.A,b?"Copier le code d'int\u00e9gration":"Obtenir le code d'int\u00e9gration");MQ(a.A,!b);g.Su(a.C,b?"Copier l'URL de la vid\u00e9o":"Obtenir l'URL de la vid\u00e9o");MQ(a.C,!b);g.Su(a.B,b?"Copier l'URL de la vid\u00e9o \u00e0 partir de cette s\u00e9quence":"Obtenir l'URL de la vid\u00e9o au minutage actuel");MQ(a.B,!b);Vu(a.A,b?HM():null);Vu(a.C,b?MM():null); Vu(a.B,b?MM():null)}; g.RQ=function(){g.Gr.apply(this,arguments)}; g.TQ=function(a,b,c){g.$N.call(this,a);this.K=a;this.aa=b;this.V=c;this.B=new g.RQ(this);this.A=null;g.B(this,this.B);g.kL(a,this.element,this,28656);g.J(this.element,"ytp-contextmenu");SQ(this);this.hide()}; SQ=function(a){g.Ir(a.B);"gvn"!==a.K.N().playerStyle&&a.B.L(g.QK(a.K),"contextmenu",a.JK)}; UQ=function(a){a.K.isFullscreen()?g.iL(a.K,a.element,9):a.ca(document.body)}; g.VQ=function(a,b,c,d,e,f){g.Gr.call(this);this.o=a;this.F=c;this.B=d;this.u=e;this.C=f;this.A=new g.I(g.Qa(this.kC,!1),1E3,this);g.B(this,this.A);this.w="";a=g.Qa(this.Fu,!1);this.L(b,"mousedown",a);this.L(c.element,"mousedown",a);this.L(b,"keydown",this.Qx);this.L(c.element,"keydown",this.Qx);this.L(b,"keyup",this.Rx);this.L(c.element,"keyup",this.Rx)}; WQ=function(a,b,c,d){var e=g.zL(g.KK(a.o));if(e&&e.loaded){e=a.o.getSubtitlesUserSettings();for(var f,k=0;kd;e++){var f=c[e];a:switch(f.img||f.iconId){case "facebook":var k=g.X?{D:"div",Y:["ytp-icon","ytp-icon-share-facebook"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{D:"rect",O:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",O:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z", fill:"#39579b"}}]};break a;case "twitter":k=g.X?{D:"div",Y:["ytp-icon","ytp-icon-share-twitter"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{D:"rect",O:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",O:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z", fill:"#01abf0"}}]};break a;default:k=null}k&&(k=new g.R({D:"a",Y:["ytp-share-panel-service-button","ytp-button"],O:{href:f.url,target:"_blank",title:f.sname||f.serviceName},J:[k]}),k.ka("click",g.Qa(a.bN,f.url)),g.Ge(k,g.BN(a.A,k.element)),a.B.push(k),d++)}c=b.more||b.moreLink;d=new g.R({D:"a",Y:["ytp-share-panel-service-button","ytp-button"],J:[{D:"span",H:"ytp-share-panel-service-button-more",J:[g.X?{D:"div",Y:["ytp-icon","ytp-icon-share-more"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 38 38", width:"100%"},J:[{D:"rect",O:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",O:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z", fill:"#4e4e4f","fill-rule":"evenodd"}}]}]}],O:{href:c,target:"_blank",title:"Plus"}});d.ka("click",(0,g.x)(a.HL,a,c));g.Ge(d,g.BN(a.A,d.element));a.B.push(d);a.la("buttons",a.B)}}; cR=function(a){for(var b=g.q(a.B),c=b.next();!c.done;c=b.next())c=c.value,g.Nu(c),g.He(c);a.B=[]}; g.eR=function(a,b,c,d){d=void 0===d?240:d;var e=a.N();g.R.call(this,{D:"button",Y:["ytp-button","ytp-share-button"],O:{title:"Partager","aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.Ly(e))},J:[{D:"div",H:"ytp-share-icon",W:"{{icon}}"},{D:"div",H:"ytp-share-title",W:"Partager"}]});this.u=a;this.B=b;this.I=c;this.F=d;this.w=!1;this.C=b.fb();g.kL(a,this.element,this,28664);this.ka("click",this.G);this.L(a,"videodatachange",this.A);this.L(a,"videoplayerreset",this.A); this.L(a,"appresize",this.A);this.L(a,"presentingplayerstatechange",this.A);this.A();g.K(this.element,"ytp-show-share-title",g.Ly(e)&&!g.Uy(e));g.Ge(this,g.BN(this.C,this.element))}; gR=function(a){g.wN.call(this,a,{D:"button",Y:["ytp-skip-intro-button","ytp-popup","ytp-button"],J:[{D:"div",H:"ytp-skip-intro-button-text",W:"Passer l'intro"}]},100);var b=this;this.w=a;this.F=!1;this.C=new g.I(function(){return b.hide()},5E3); g.B(this,this.C);this.A=this.B=NaN;this.V=function(){return b.show()}; this.R=function(){return b.hide()}; this.M=this.aa.bind(this);this.L(this.w,"videodatachange",function(c,d){if("dataloaded"==c)if(b.B=d.gy,b.A=d.fy,isNaN(b.B)||isNaN(b.A))b.F&&(g.fR(b.w.app,"intro",void 0),b.w.removeEventListener(g.lC("intro"),b.V),b.w.removeEventListener("crx_intro",b.R),b.w.removeEventListener("onShowControls",b.M),b.hide(),b.F=!1);else{b.w.addEventListener(g.lC("intro"),b.V);b.w.addEventListener("crx_intro",b.R);b.w.addEventListener("onShowControls",b.M);var e=new g.iC(b.B,b.A,{priority:7,namespace:"intro"});g.eL(b.w, [e]);b.F=!0}}); this.L(this.element,"click",function(){b.w.seekTo(b.A/1E3)}); this.hide()}; g.hR=function(a,b){var c=g.QK(a).getPlayerSize();g.R.call(this,{D:"div",J:[{D:"div",H:"ytp-tooltip-text-wrapper",J:[{D:"div",H:"ytp-tooltip-image"},{D:"div",H:"ytp-tooltip-title",W:"{{title}}"},{D:"span",H:"ytp-tooltip-text",W:"{{text}}"}]},{D:"div",H:"ytp-tooltip-bg",J:[{D:"div",H:"ytp-tooltip-duration",W:"{{duration}}"}]}]});this.U=a;this.wa=b;this.R=a.N();this.oa=this.R.o;this.I=this.o["ytp-tooltip-bg"];this.za=this.o["ytp-tooltip-image"];this.Aa=this.o["ytp-tooltip-text"];this.title=this.o["ytp-tooltip-title"]; this.Z=(0,g.x)(this.JL,this);this.F=(0,g.x)(this.ML,this);this.aa=(0,g.x)(this.zf,this);this.u=null;this.M=new g.lN(this,100);g.B(this,this.M);this.w=null;this.ba=!1;this.A=null;this.C=NaN;this.G="";this.ga=c.width;this.V=!0;this.B=1;this.da=new g.I(this.mG,250,this);g.B(this,this.da);this.ma=new g.I(this.zf,5E3,this);g.B(this,this.ma);Hy&&(c=this.o["ytp-tooltip-text"],c.setAttribute("role","text"),c.setAttribute("aria-live","polite"))}; AN=function(a){a.element.setAttribute("aria-live","polite")}; kR=function(a,b,c,d,e,f,k,l){if(!a.oa){3==a.w&&a.zf();1!=a.w&&(An(a.element,"ytp-tooltip ytp-bottom"),a.w=1,a.V&&a.M.show(),a.A&&a.A.dispose(),a.A=a.U.ue(),a.A&&a.A.subscribe("l",a.BA,a));a.update({text:d,title:k?k:""});g.P(a.U.N().experiments,"web_wn_macro_markers")&&g.K(a.Aa,"ytp-tooltip-text-no-title",1===a.w&&!k);g.K(a.element,"ytp-text-detail",!!e);d=-1;a.A&&(d=SA(a.A,160*a.B),g.P(a.R.experiments,"web_l3_storyboard")&&4==a.A.levels.length&&(d=a.A.levels.length-1),d=XA(a.A,d,c));iR(a,d);if(l)switch(c= g.Nh(a.element).width,l){case 1:a.title.style.right="0";a.title.style.textAlign="left";break;case 2:a.title.style.right=c+"px";a.title.style.textAlign="right";break;case 3:a.title.style.right=c/2+"px",a.title.style.textAlign="center"}jR(a,!!e,b,f)}}; g.lR=function(a){1==a.w&&a.zf()}; g.BN=function(a,b){if(a.oa)return g.Ia;b.addEventListener("mouseover",a.F);g.P(a.R.experiments,"show_tooltip_on_tab_killswitch")||b.addEventListener("focus",a.F);var c=b.getAttribute("title");c&&!b.hasAttribute("aria-label")&&b.setAttribute("aria-label",c);return(0,g.x)(function(){this.u==b&&this.zf();b.removeEventListener("mouseover",this.F);g.P(this.R.experiments,"show_tooltip_on_tab_killswitch")||b.removeEventListener("focus",this.F)},a)}; nR=function(a,b,c){if(a.w)if(3==a.w)a.zf();else return;mR(a,b,3,c)}; mR=function(a,b,c,d){if(b&&!b.hasAttribute)a=new Sq("showElementTooltip_ called with non-element.",b.toString()),g.Tq(a);else{isNaN(a.C)||(a.C=NaN,a.I.style.background="");a.u=b;a.ba=!!d;d?a.G=d:(a.G=b.getAttribute("title"),b.removeAttribute("title"));An(a.element,"ytp-tooltip");if(d=b.getAttribute("data-tooltip-image"))a.za.style.backgroundImage="url("+d+")";g.K(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.K(a.element,"ytp-tooltip-opaque",!!b);a.w=c;a.U.addEventListener("appresize", a.aa);a.V&&(oR(a),a.M.show(0))}}; oR=function(a){var b;a.u&&(b=a.u.getAttribute("data-tooltip-text"));if(b&&!a.ba){a.la("text",b);var c=a.u.getAttribute("data-duration");a.update({title:a.G,duration:c});var d=a.u.getAttribute("data-preview"),e=160*a.B,f=90*a.B,k=160*a.B,l=90*a.B;a.I.style.width=e+"px";a.I.style.height=f+"px";a.I.style.backgroundImage=d?"url("+d+")":"";a.I.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.I.style.backgroundSize=k+"px "+l+"px";g.Cn(a.element,["ytp-text-detail","ytp-preview"]);g.K(a.element,"ytp-has-duration", !!c)}else a.la("text",a.G),g.En(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);jR(a,!!b)}; jR=function(a,b,c,d){a.element.style.maxWidth=b?"":Math.min(a.ga,300*a.B)+"px";a.wa.qk(a.element,a.u,c,1==a.w,d);a.element.style.top?g.J(a.element,"ytp-bottom"):a.element.style.bottom&&g.J(a.element,"ytp-top");3==a.w&&a.ma.start()}; SN=function(a){a.u&&!a.ba&&a.u.hasAttribute("title")&&(a.G=a.u.getAttribute("title"),a.u.removeAttribute("title"),a.V&&oR(a))}; iR=function(a,b){g.K(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.C)){a.C=b;var c=160*a.B,d=160*a.B,e=a.A.ti(a.C,c);UO(a.I,e,c,d,!0);a.da.start()}}; pR=function(a){g.R.call(this,{D:"button",Y:["ytp-button","ytp-back-button"],J:[{D:"div",H:"ytp-arrow-back-icon",J:[g.X?{D:"div",Y:["ytp-icon","ytp-icon-arrow-back"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 -12 36 36",width:"100%"},J:[{D:"path",O:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",Na:!0,O:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",fill:"#fff"}}]}]}]});this.K=a;g.Qu(this,a.N().showBackButton);this.ka("click",this.onClick)}; qR=function(a,b){g.R.call(this,{D:"button",Y:["ytp-button","ytp-copylink-button"],O:{title:"{{title-attr}}","data-tooltip-opaque":String(g.Ly(a.N()))},J:[{D:"div",H:"ytp-copylink-icon",W:"{{icon}}"},{D:"div",H:"ytp-copylink-title",W:"Copier le lien",O:{"aria-hidden":"true"}}]});var c=this;this.api=a;this.u=b;this.visible=!1;this.tooltip=this.u.fb();var d=a.N();AN(this.tooltip);g.K(this.element,"ytp-show-copylink-title",g.Ly(d)&&!g.Uy(d));g.kL(a,this.element,this,86570);this.ka("click",this.onClick); this.L(a,"videodatachange",this.sa);this.L(a,"videoplayerreset",this.sa);this.L(a,"appresize",this.sa);this.sa();g.Ge(this,function(){return g.BN(c.tooltip,c.element)})}; nla=function(a){a.la("icon",AM());nR(a.tooltip,a.element,"Lien copi\u00e9 dans le presse-papiers");var b=a.ka("mouseleave",function(){a.bb(b);a.sa();a.tooltip.rf()})}; rR=function(a,b,c){g.R.call(this,{D:"button",Y:["ytp-button","ytp-overflow-button"],O:{title:"Plus","aria-haspopup":"true","aria-owns":c.element.id},J:[{D:"div",H:"ytp-overflow-icon",J:[g.X?{D:"div",Y:["ytp-icon","ytp-icon-more-vert"]}:{D:"svg",O:{height:"100%",viewBox:"-5 -5 36 36",width:"100%"},J:[{D:"path",O:{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"#fff"}}]}]}]});var d=this;this.K= a;this.u=b;this.visible=!1;this.tooltip=this.u.fb();g.kL(a,this.element,this,16499);this.L(a,"appresize",this.sa);this.L(a,"fullscreentoggled",this.sa);this.L(a,"presentingplayerstatechange",this.sa);this.sa();g.Ge(this,g.BN(this.tooltip,this.element));this.ka("click",function(){g.nL(a,d.element);c.hf(d.element,!1)})}; sR=function(a,b){g.wN.call(this,a,{D:"div",H:"ytp-overflow-panel",O:{id:Lu(),role:"dialog"},J:[{D:"div",H:"ytp-overflow-panel-content",J:[{D:"div",H:"ytp-overflow-panel-action-buttons",W:"{{buttons}}"}]},{D:"button",Y:["ytp-overflow-panel-close","ytp-button"],O:{title:"Fermer"},J:[g.GM()]}]},250);var c=this;this.K=a;this.actionButtons=[];this.tooltip=b.fb();this.w=this.o["ytp-overflow-panel-content"];this.closeButton=this.o["ytp-overflow-panel-close"];this.L(this.closeButton,"click",this.gb);g.Ge(this, function(){return g.BN(c.tooltip,c.closeButton)}); this.ka("click",this.dM);this.L(a,"videoplayerreset",this.hide);this.L(a,"fullscreentoggled",this.QH);this.hide()}; tR=function(a,b){a.actionButtons.includes(b)||(a.actionButtons.push(b),a.la("buttons",a.actionButtons))}; uR=function(a,b){for(var c=g.q(a.actionButtons),d=c.next();!d.done;d=c.next())d.value.Xa(b)}; vR=function(a,b){g.R.call(this,{D:"button",Y:["ytp-replay-button","ytp-button"],O:{title:"Revoir"},J:[g.UM()]});this.K=a;this.L(a,"presentingplayerstatechange",this.u);this.ka("click",this.onClick,this);var c=g.PK(a);g.Qu(this,g.V(c,2));g.BN(b.fb(),this.element)}; xR=function(a){g.R.call(this,{D:"div",H:wR.TITLE,J:[{D:"div",H:wR.TEXT,J:[{D:"a",Y:[wR.LINK,wR.SESSIONLINK],O:{target:a.N().C,href:"{{url}}","data-sessionlink":"feature=player-title"},W:"{{title}}"},{D:"div",H:wR.SUBTEXT,J:[{D:"a",H:wR.CHANNEL_NAME,O:{href:"{{channelLink}}",target:"_blank"},W:"{{channelName}}"}]}]}]});this.api=a;this.u=null;this.link=this.o[wR.LINK];g.kL(a,this.element,this,23851);this.L(a,"videodatachange",this.sa);this.L(a,"videoplayerreset",this.sa);this.sa()}; yR=function(a){a.la("channelLink","");a.la("channelName","")}; zR=function(){}; BR=function(a,b){var c={commandMetadata:{webCommandMetadata:{apiUrl:"/youtubei/v1/browse/edit_playlist",url:"/service_ajax",sendPost:!0}},playlistEditEndpoint:{playlistId:"WL",actions:b}},d={list_id:"WL"};AR||(GK({lr:{playlistEditEndpoint:fN,subscribeEndpoint:dN,unsubscribeEndpoint:eN,modifyChannelNotificationPreferenceEndpoint:zR}},iN(),bN(),Rea),AR=FK.o);c=IK(AR,c);Jf(c.then(function(e){if(e&&"STATUS_SUCCEEDED"===e.status){if(a.onSuccess)a.onSuccess({},d)}else if(a.onError)a.onError({},d)}),function(){a.Fc&& a.Fc({},d)})}; ola=function(a,b,c){g.xo("web_classic_playlist_one_platform_update")?BR(a,[{addedVideoId:a.videoIds,action:"ACTION_ADD_VIDEO"}]):CR("add_to_watch_later_list",a,b,c)}; pla=function(a,b,c){g.xo("web_classic_playlist_one_platform_update")?BR(a,[{removedVideoId:a.videoIds,action:"ACTION_REMOVE_VIDEO_BY_VIDEO_ID"}]):CR("delete_from_watch_later_list",a,b,c)}; CR=function(a,b,c,d){g.Eq(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",Zd:{feature:b.feature||null,authuser:b.Nc||null,pageid:b.pageId||null},sb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.PT||null,add_to_playlists:b.sT||null,plid:g.L("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(e,f){b.onSuccess.call(this,e,f)}, Fc:b.Fc,withCredentials:!!d})}; g.ER=function(a,b){g.R.call(this,{D:"button",Y:["ytp-watch-later-button","ytp-button"],O:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.Ly(a.N()))},J:[{D:"div",H:"ytp-watch-later-icon",W:"{{icon}}"},{D:"div",H:"ytp-watch-later-title",W:"\u00c0 regarder plus tard"}]});this.K=a;this.A=b;this.icon=null;this.visible=this.w=this.u=!1;this.tooltip=b.fb();AN(this.tooltip);g.kL(a,this.element,this,28665);this.ka("click",this.onClick,this);this.L(a,"videoplayerreset",this.JM); this.L(a,"appresize",this.Zo);this.L(a,"videodatachange",this.Zo);this.L(a,"presentingplayerstatechange",this.Zo);this.Zo();var c=this.K.N(),d=g.Es("yt-player-watch-later-pending");c.u&&d?(jy(),DR(this,d.videoId)):this.sa(2);g.K(this.element,"ytp-show-watch-later-title",g.Ly(c));g.Ge(this,g.BN(b.fb(),this.element))}; FR=function(a,b){g.AQ(function(){jy({videoId:b});window.location.reload()},"wl_button",g.ez(a.K.N()))}; DR=function(a,b){if(!a.w)if(a.w=!0,a.sa(4),g.P(a.K.N().experiments,"web_player_innertube_playlist_update")){var c=a.K.getVideoData();c=a.u?c.removeFromWatchLaterCommand:c.addToWatchLaterCommand;var d=xQ(a.K.app),e=a.u?a.lB.bind(a):a.kB.bind(a);IK(d,c).then(e,a.GN.bind(a))}else c=a.K.N(),(a.u?pla:ola)({videoIds:b,Nc:c.Nc,pageId:c.pageId,onError:a.FN,onSuccess:a.u?a.lB:a.kB,context:a},c.G,!0)}; GR=function(a,b){a.sa(5,b);a.K.N().w&&a.K.na("WATCH_LATER_ERROR",b)}; HR=function(a,b){var c=a.K.N(),d=a.A.Rd()&&g.Ly(c);!c.F||2!==b&&3!==b||(b=d?3:2);if(b!==a.icon){switch(b){case 4:var e=KN();break;case 1:e=AM();break;case 2:e=g.X?{D:"div",Y:["ytp-icon","ytp-icon-watch-later"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]}; break;case 3:e={D:"div",Y:["ytp-icon","ytp-icon-watch-later-large"]};break;case 5:e=g.P(c.experiments,"watch_later_iconchange_killswitch")?g.X?{D:"div",Y:["ytp-icon","ytp-icon-alert"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}: g.X?{D:"div",Y:["ytp-icon","ytp-icon-warning"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,O:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}a.la("icon",e);a.icon=b}}; IR=function(a){g.eQ.call(this,a);var b=this,c=g.QK(a),d=a.N(),e=a.getVideoData();this.ga=g.Ly(d);this.Rb=48;this.yb=69;this.ga&&(g.J(a.getRootNode(),"ytp-embed"),g.J(a.getRootNode(),"ytp-embed-playlist"),this.Rb=60,this.yb=89);this.wf=e&&e.wf;this.oa=null;this.U=[];this.V=new g.oQ(a);g.B(this,this.V);g.iL(a,this.V.element,4);this.Yb=new JQ(a);g.B(this,this.Yb);g.iL(a,this.Yb.element,4);e=new g.R({D:"div",H:"ytp-gradient-top"});g.B(this,e);g.iL(a,e.element,1);this.Ic=new g.lN(e,250,!0,100);g.B(this, this.Ic);this.A=new g.R({D:"div",H:"ytp-chrome-top"});g.B(this,this.A);g.iL(a,this.A.element,1);this.Hc=new g.lN(this.A,250,!0,100);g.B(this,this.Hc);this.Ca=[];this.M=new g.hR(a,this);g.B(this,this.M);g.iL(a,this.M.element,4);e=new ZQ(a);g.B(this,e);g.iL(a,e.element,5);e.subscribe("show",(0,g.x)(this.oi,this,e));this.Ca.push(e);this.za=new $Q(a,this,e);g.B(this,this.za);d.showBackButton&&(this.od=new pR(a),g.B(this,this.od),this.od.ca(this.A.element));this.ga||this.za.ca(this.A.element);this.rb= new EQ(a,this);this.rb.ca(this.A.element);g.B(this,this.rb);this.qc=new xR(a,this);g.B(this,this.qc);this.qc.ca(this.A.element);e=new g.Mu({D:"div",H:"ytp-chrome-top-buttons"});g.B(this,e);e.ca(this.A.element);this.ha=e;this.I=new g.ER(a,this);g.B(this,this.I);this.I.ca(e.element);var f=new g.bR(a,this);g.B(this,f);g.iL(a,f.element,5);f.subscribe("show",(0,g.x)(this.oi,this,f));this.Ca.push(f);this.G=new g.eR(a,this,f);g.B(this,this.G);this.G.ca(e.element);this.F=new qR(a,this);g.B(this,this.F);this.F.ca(e.element); d.en&&(f=new gR(a),g.B(this,f),g.iL(a,f.element,4));this.ga&&this.za.ca(e.element);this.ma=new uQ(a,this,this.A.element);g.B(this,this.ma);this.ma.ca(e.element);f=new vQ(a,this,this.ma);g.B(this,f);f.ca(e.element);this.w=new sR(a,this);g.B(this,this.w);g.iL(a,this.w.element,5);this.w.subscribe("show",function(){b.oi(b.w,yN(b.w))}); this.Ca.push(this.w);this.Ma=new rR(a,this,this.w);g.B(this,this.Ma);this.Ma.ca(e.element);(this.o="1"==d.controlsType?new TP(a,this,this.u):null)&&g.B(this,this.o);"3"==d.controlsType&&(e=new vR(a,this),g.B(this,e),g.iL(a,e.element,8));this.P=new g.TQ(a,this,this.V);g.B(this,this.P);this.P.subscribe("show",this.FC,this);this.nb=!1;e=new mQ(a,new nQ(a));g.B(this,e);g.iL(a,e.element,4);this.Ka=new g.R({D:"div",O:{tabindex:"0"}});this.Ka.ka("focus",this.ME,this);g.B(this,this.Ka);this.Ia=new g.R({D:"div", O:{tabindex:"0"}});this.Ia.ka("focus",this.NE,this);g.B(this,this.Ia);(this.aa=d.Wa?null:new g.VQ(a,c,this.P,this.u,this.V,(0,g.x)(this.jg,this)))&&g.B(this,this.aa);this.R.push(this.V.element);this.Aa=null;this.L(a,"fullscreentoggled",this.bJ);this.L(a,"offlineslatestatechange",this.XL,this);this.L(a,"cardstatechange",this.oe,this)}; JR=function(a){var b=a.api.N(),c=g.V(g.PK(a.api),128);return b.u&&c&&!a.api.isFullscreen()}; KR=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=xh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=KR(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndexe)return"";var k=1E3*f.Ab();if(dk)return"";k=null;for(var l=g.q(a.o),m=l.next();!m.done;m=l.next()){m=m.value;if(d>=m.Jb&&dm.Jb||e===m.Jb)return"";d===m.Nb&&(k=m)}l="childplayback_"+qla++;m={Pb:OR(c,!0),Fe:Infinity,target:null};var n=b.raw_player_response;if(!n&&!g.P(a.G.experiments,"web_player_parse_ad_response_killswitch")){var p=b.player_response;p&&(n=JSON.parse(p))}b={Eb:l,playerVars:b, playerType:2,durationMs:c,Jb:d,Nb:e,Ne:m,playerResponse:n};a.o=a.o.concat(b).sort(function(t,u){return t.Jb-u.Jb}); k?rla(k,{Pb:OR(k.durationMs,!0),Fe:Infinity,target:b}):(d={Pb:OR(d,!1),Fe:d,target:b},a.C.set(d.Pb,d),f.addCueRange(d.Pb));return l}; OR=function(a,b){return new g.iC(Math.max(0,a-5E3),b?0x8000000000000:a-1,{namespace:"childplayback",priority:7})}; rla=function(a,b){a.Ne=b}; PR=function(a,b){for(var c=0,d=g.q(a.o),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.Jb/1E3+c,k=f+e.durationMs/1E3;if(f>b)break;if(k>b)return{ji:e,Ui:b-f};c=k-e.Nb/1E3}return{ji:null,Ui:b-c}}; MR=function(a,b){var c=a.A||a.api.kb().getPlayerState();QR(a,!0);var d=PR(a,b).Ui;a.u.seekTo(d);d=a.api.kb();var e=d.getPlayerState();g.OC(c)&&!g.OC(e)?d.playVideo():g.V(c,4)&&!g.V(e,4)&&d.pauseVideo()}; QR=function(a,b){a.F=NaN;a.B.stop();a.w&&b&&cK(a.w);a.A=null;a.w=null}; SR=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.q(a.C),k=f.next();!k.done;k=f.next()){var l=g.q(k.value);k=l.next().value;l=l.next().value;l.Fe>=d&&l.target&&l.target.Nb<=e&&(a.u.removeCueRange(k),a.C["delete"](k))}d=b;e=c;f=[];k=g.q(a.o);for(l=k.next();!l.done;l=k.next())l=l.value,(l.Jbe)&&f.push(l);a.o=f;d=PR(a,b/1E3);b=d.ji;d=d.Ui;b&&(d*=1E3,RR(b,d,b.Jb+d));PR(a,c/1E3)}; RR=function(a,b,c){a.durationMs=b;a.Nb=c;b={Pb:OR(b,!0),Fe:b,target:null};a.Ne=b}; gja=function(a,b,c){a=PR(a,b).ji;var d=Number(c.split(";")[0]);return a&&a.playerResponse&&a.playerResponse.streamingData&&(c=a.playerResponse.streamingData.adaptiveFormats)&&(c=c.find(function(e){return e.itag===d}))&&c.url?c.url:null}; UR=function(a,b,c){g.A.call(this);var d=this;this.api=a;this.B=b;this.u=c;this.C=new Map;this.o=[];this.w=this.G=null;this.M=NaN;this.F=this.A=null;this.P=new g.I(function(){TR(d,d.M)}); this.I=[];this.R=new g.I(function(){var e=d.I.pop();if(e){var f=e.Eb,k=e.playerVars;e=e.playerType;k.prefer_gapless=!0;d.api.preloadVideoByPlayerVars(k,e,NaN,"",f);d.I.length&&d.R.Ua(4500)}}); this.events=new g.Gr(this);c.getPlayerType();g.B(this,this.P);g.B(this,this.R);g.B(this,this.events);this.events.L(this.api,g.lC("childplayback"),this.LH);this.events.L(this.api,"onQueuedVideoLoaded",this.xM);this.events.L(this.api,"presentingplayerstatechange",this.MH)}; ula=function(a,b,c,d,e){var f=a.u;e=void 0===e?d+c:e;if(d>e)return VR(a,"e.enterAfterReturn enterTimeMs="+d+" is greater than parentReturnTimeMs="+e),"";var k=1E3*f.Ab();if(dk)return VR(a,"e.returnAfterDuration parentReturnTimeMs="+e+" is greater than parentDurationMs="+k),"";k=null;for(var l=g.q(a.o),m=l.next();!m.done;m=l.next()){m=m.value;if(d>=m.Jb&&dm.Jb)return VR(a,"e.overlappingReturn"),"";if(e===m.Jb)return VR(a,"e.outOfOrder"),"";d===m.Nb&&(k=m)}l="childplayback_"+tla++;m={Pb:WR(c,!0),Fe:Infinity,target:null};var n={Eb:l,playerVars:b,playerType:2,durationMs:c,Jb:d,Nb:e,Ne:m};a.o=a.o.concat(n).sort(function(u,z){return u.Jb-z.Jb}); k?YR(a,k,{Pb:WR(k.durationMs,!0),Fe:a.B.fa("timeline_manager_transition_killswitch")?Infinity:k.Ne.Fe,target:n}):(b={Pb:WR(d,!1),Fe:d,target:n},a.C.set(b.Pb,b),f.addCueRange(b.Pb));b=g.P(a.B.experiments,"html5_gapless_preloading");if(a.u===a.api.kb()&&(f=1E3*f.getCurrentTime(),f>=n.Jb&&fb)break;if(k>b)return{ji:e,Ui:b-f};c=k-e.Nb/1E3}return{ji:null,Ui:b-c}}; TR=function(a,b){var c=a.F||a.api.kb().getPlayerState();fS(a,!0);if(g.P(a.B.experiments,"html5_playbacktimeline_seektoinf_killswitch")||isFinite(b))var d=b;else d=a.u.C,d=d.u?XH(d.u):Infinity;var e=eS(a,d);d=e.ji;e=e.Ui;var f=d&&!bS(a,d)||!d&&a.u!==a.api.kb(),k=1E3*e;k=a.w&&a.w.start<=k&&k<=a.w.end;!f&&k||cS(a);d?ZR(a,d,e,c):gS(a,e,c)}; gS=function(a,b,c){var d=a.u;if(d!==a.api.kb()){var e=d.getPlayerType();g.bM(a.api.app,e)}d.seekTo(b);hS(a,c)}; ZR=function(a,b,c,d){var e=bS(a,b);if(!e){g.bM(a.api.app,b.playerType);b.playerVars.prefer_gapless=!0;var f=new g.aB(a.B,b.playerVars);f.Eb=b.Eb;iS(a.api.app,f,b.playerType,void 0)}f=a.api.kb();e||f.addCueRange(b.Ne.Pb);f.seekTo(c);hS(a,d)}; hS=function(a,b){var c=a.api.kb(),d=c.getPlayerState();g.OC(b)&&!g.OC(d)?c.playVideo():g.V(b,4)&&!g.V(d,4)&&c.pauseVideo()}; fS=function(a,b){a.M=NaN;a.P.stop();a.A&&b&&cK(a.A);a.F=null;a.A=null}; bS=function(a,b){var c=a.api.kb();return!!c&&c.getVideoData().Eb===b.Eb}; kS=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.q(a.C),k=f.next();!k.done;k=f.next()){var l=g.q(k.value);k=l.next().value;l=l.next().value;l.Fe>=d&&l.target&&l.target.Nb<=e&&(a.u.removeCueRange(k),a.C["delete"](k))}d=b;e=c;f=[];k=g.q(a.o);for(l=k.next();!l.done;l=k.next())if(l=l.value,l.Jb>=d&&l.Nb<=e){var m=a;m.G===l&&cS(m);bS(m,l)&&g.sL(m.api,l.playerType)}else f.push(l);a.o=f;d=eS(a,b/1E3);b=d.ji;d=d.Ui;b&&(d*=1E3,jS(a,b,d,b.Nb===b.Jb+b.durationMs?b.Jb+d:b.Nb)); eS(a,c/1E3)}; jS=function(a,b,c,d){b.durationMs=c;b.Nb=d;d={Pb:WR(c,!0),Fe:c,target:null};YR(a,b,d);bS(a,b)&&1E3*a.api.kb().getCurrentTime()>c&&(b=dS(a,b)/1E3,c=a.api.kb().getPlayerState(),gS(a,b,c))}; VR=function(a,b){a.u.Ra("timelineerror",b)}; xla=function(a){a&&"web"!==a&&wla.includes(a)}; lS=function(a,b,c){this.api=a;this.player=b;this.player.subscribe("localmediacomplete",this.o,this);this.u=c}; nS=function(a,b){ut(b,2);var c=yla(a,{videoId:b,download_media:!0,download_media_in_bg:!0,start:Infinity});c.subscribe("dataloaded",function(){return void mS(c)}); uJ(a.player,c,a.u);zJ(a.player,!1)}; yla=function(a,b){return new g.aB(a.player.N(),b)}; mS=function(a){if((a=a.getPlayerResponse())&&a.videoDetails&&a.videoDetails.videoId){var b=a.videoDetails;a={videoId:a.videoDetails.videoId,title:b.title,lengthSeconds:b.lengthSeconds,thumbnail:b.thumbnail,viewCount:b.viewCount,author:b.author};wfa(a.videoId,a)}}; oS=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return b&&b[1]?b[1]+" ("+ct(a)+")":ct(a)}; Ala=function(a,b){if(g.gl())return null;var c=zla();if(!c)return g.TK(a,"html5.webaudio",{name:"null context"}),null;if("string"===typeof c)return g.TK(a,"html5.webaudio",{name:c}),null;if(!c.createMediaElementSource)return g.TK(a,"html5.webaudio",{name:"missing createMediaElementSource"}),null;if("suspended"===c.state){var d=function(e){"suspended"===c.state&&g.OC(e.state)&&c.resume().then(function(){a.removeEventListener("presentingplayerstatechange",d);pS=!1},null)}; pS||(a.addEventListener("presentingplayerstatechange",d),pS=!0)}return new SC(c,b)}; qS=function(a,b,c,d,e){g.R.call(this,{D:"div",H:"ytp-horizonchart"});this.F=b;this.sampleCount=c;this.B=d;this.C=e;this.index=0;this.heightPx=-1;this.A=this.w=null;this.u=Math.round(a/c);this.element.style.width=this.u*this.sampleCount+"px";this.element.style.height=this.F+"em"}; rS=function(a,b){if(-1===a.heightPx){var c=null;try{c=g.oe("CANVAS"),a.w=c.getContext("2d")}catch(e){}if(a.w){var d=a.u*a.sampleCount;a.A=c;a.A.width=d;a.A.style.width=d+"px";a.element.appendChild(a.A)}else for(a.sampleCount=Math.floor(a.sampleCount/4),a.u*=4,c=0;c=c&&b<=d}; CS=function(a,b){var c=a.u.getAvailablePlaybackRates();b=parseFloat(b.toFixed(2));var d=c[0];c=c[c.length-1];b<=d||(b>=c?d=c:(d=Math.floor(100*b+.001)%5,d=0==d?b:Math.floor(100*(b-.01*d)+.001)/100));return d}; eT=function(a,b){var c=g.W(a,b);return c?a.Mb(c)?(c=OS(a,c),oK(c)-c.getCurrentTime()+a.getCurrentTime(b)):oK(c):0}; fT=function(a,b,c){if(a.Mb(c)){c=c.getVideoData();if(a.U){a=a.U;for(var d=g.q(a.o),e=d.next();!e.done;e=d.next())if(e=e.value,c.Eb===e.Eb){b+=e.Jb/1E3;break}d=b;a=g.q(a.o);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Eb===e.Eb)break;var f=e.Jb/1E3;if(fe?f=!0:1=k||g.P(a.o.N().experiments,"stop_use_time_since_last_ad_service")?0:Math.ceil(k);var n=a.u,p=g.QK(a.o).getPlayerSize().height,t=g.QK(a.o).getPlayerSize().width,u=e&&e.context||"",z=nT(a.o.app)?1E3*nT(a.o.app):0,C=a.o.N().od;C=C?C.join(","):"";e=e?a.w:1;var D=a.o.getVideoData(1).clientPlaybackNonce,E=b.match(/[&\?]token=(\w*)/);E=null!=E&&2<= E.length?E[1]:"";var F=b.match(/[&\?]video_id=(\w*)/);F=null!=F&&2<=F.length?F[1]:"";var G=b.match(/[&\?]mt=(\d*)/);G=null!=G&&2<=G.length?Number(G[1]):0;G=isNaN(G)?0:G;var fa=g.ez(a.o.N()),oa=new Nla;oa.clientName=a.o.N().vg.Mj.toString();oa.host=fa;oa.o=void 0;var kc=Rla.includes(fa)?void 0:Nq("PREF"),Rc=EK(),tb=qq(b);b=Sla(b,"X-YouTube-Ad-Signals");c=tb||b?jq(vq(c)):void 0;return{adBreakRequest:{videoId:F,adBlock:n,params:E,breakIndex:e,breakLengthMs:m.toString(),breakPositionMs:f.toString(),clientPlaybackNonce:D, driftFromHeadMs:z.toString(),liveTargetingParams:u,topLevelDomain:fa,isProxyAdTagRequest:!1,context:Rc,adSignalsInfo:c},adsCookie:l,clientInfo:oa,lact:d,mediaTimeMs:G,timeSinceLastAdSeconds:k,vis:a.o.getVisibilityState(),playerHeightPixels:p,playerWidthPixels:t,ytRemote:C,prefCookie:kc}}; MT=function(a,b,c){this.w=a;this.td=null;this.u=b;this.o=0;this.daiEnabled=void 0===c?!1:c;this.visible=!0}; NT=function(a,b,c,d,e){g.iC.call(this,b.start,b.end,{id:d,namespace:"ad",priority:e,visible:c});this.u=a.kind||"AD_PLACEMENT_KIND_UNKNOWN";this.o=!1;this.w=null}; OT=function(a){return"AD_PLACEMENT_KIND_START"==a.u}; PT=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.u}; Tla=function(a){return a.end-a.start}; QT=function(a,b,c){c=void 0===c?!1:c;switch(a.kind){case "AD_PLACEMENT_KIND_START":return new Qn(-0x8000000000000,-0x8000000000000);case "AD_PLACEMENT_KIND_END":return c?new Qn(Math.max(0,b.w-b.o),0x7ffffffffffff):new Qn(0x7ffffffffffff,0x8000000000000);case "AD_PLACEMENT_KIND_MILLISECONDS":var d=a.adTimeOffset;a=parseInt(d.offsetStartMilliseconds,10);d=parseInt(d.offsetEndMilliseconds,10);-1===d&&(d=b.w);if(c&&(d=a,a=Math.max(0,a-b.o),a==d))break;return new Qn(a,d);case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return a= b.td,d=1E3*a.startSecs,c?d=d)throw Error("Timed out while waiting for GPT services");return Vf(200).then(function(){return c(d-1)})}}; a.o=Df().then(function(){return c(b)})}return a.o}; nU=function(a,b,c){var d=Vf(5E3).then(function(){throw Error("Timed out while waiting for GPT set companion");}),e=new zf(function(f,k){var l=kU(); if(l){var m=lU(l);if(m&&0!=m.length){var n={};n.slotId=m[0].slotId;n.adContent="
";n.adWidth=b;n.adHeight=c;n.friendlyIframeRendering=!1;n.onAdContentSet=function(p){if(void 0!==p.firstElementChild)var t=p.firstElementChild;else for(t=p.firstChild;t&&1!=t.nodeType;)t=t.nextSibling;t||(t=g.oe("div"),p.appendChild(t));a&&t.appendChild(a);f()}; (l=l.googleSetCompanionAdContents)?l([n]):k(Error("Missing googleSetCompanionAdContents API"))}else k(Error("No slots registered with GPT services"))}else k(Error("Failed to find GPT services"))}); return Hf([e,d])}; mU=function(){var a=kU();if(!a)return!1;a=lU(a);return Array.isArray(a)&&0!=a.length?null!=$d(document,"google_companion_ad_div"):!1}; kU=function(){var a=ke();return g.w("googletag.cmd",a)?a:null}; lU=function(a){a=void 0!==a.googleGetCompanionAdSlots?Fo(a.googleGetCompanionAdSlots)():void 0;return void 0!==a&&0a.o||ka.o||(!c||f>c.maxBitrate?c=e:c&&f==c.maxBitrate&&kc.maxBitrate&&(c=e));return c}; rU=function(a,b){this.o=a;this.u=b.length;this.adBreakLengthSeconds=b.reduce(function(e,f){return e+f},0); for(var c=0,d=a+1;d=a.u}; wU=function(){qU.apply(this,arguments)}; xU=function(){this.o=[];this.w=null;this.u=0}; yU=function(a,b){b&&a.o.push(b)}; zU=function(a){if(!a)return[];var b=[];a=g.q(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.loggingUrls){c=g.q(c.loggingUrls);for(var d=c.next();!d.done;d=c.next())b.push({baseUrl:d.value.baseUrl})}return b}; AU=function(a){if(!a)return[];var b=[];a.forEach(function(c){c.command.loggingUrls.forEach(function(d){b.push({baseUrl:d.baseUrl,offsetMilliseconds:c.adVideoOffset.milliseconds})})}); return b}; BU=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0}; CU=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind}; fma=function(a){a=a.playbackCommands;if(!a)return{};var b={};b.impression=zU(a.impressionCommands)||[];b.error=zU(a.errorCommands)||[];b.mute=zU(a.muteCommands)||[];b.unmute=zU(a.unmuteCommands)||[];b.pause=zU(a.pauseCommands)||[];b.rewind=zU(a.rewindCommands)||[];b.resume=zU(a.resumeCommands)||[];b.skip=zU(a.skipCommands)||[];b.close=zU(a.closeCommands)||[];b.clickthrough=zU(a.clickthroughCommands)||[];b.fullscreen=zU(a.fullscreenCommands)||[];b.active_view_viewable=zU(a.activeViewViewableCommands)|| [];b.active_view_measurable=zU(a.activeViewMeasurableCommands)||[];b.active_view_fully_viewable_audible_half_duration=zU(a.activeViewFullyViewableAudibleHalfDurationCommands)||[];b.end_fullscreen=zU(a.endFullscreenCommands)||[];b.channel_clickthrough=zU(a.channelClickthroughCommands)||[];b.abandon=zU(a.abandonCommands)||[];b.progress=AU(a.progressCommands.filter(function(c){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==c.adVideoOffset.kind})); b.start=AU(a.progressCommands.filter(function(c){return CU(c)&&Pd(BU(c),0)})); b.first_quartile=AU(a.progressCommands.filter(function(c){return CU(c)&&Pd(BU(c),.25)})); b.midpoint=AU(a.progressCommands.filter(function(c){return CU(c)&&Pd(BU(c),.5)})); b.third_quartile=AU(a.progressCommands.filter(function(c){return CU(c)&&Pd(BU(c),.75)})); b.complete=AU(a.progressCommands.filter(function(c){return CU(c)&&Pd(BU(c),1)})); return b}; DU=function(a){qU.call(this,a,fma(a));this.u=a.questions?a.questions.reduce(function(b,c){var d=c.instreamSurveyAdSingleSelectQuestionRenderer||c.instreamSurveyAdMultiSelectQuestionRenderer;return d?b+(d.surveyAdQuestionCommon.durationMilliseconds||0)/1E3:b},0):0}; EU=function(a,b,c,d){this.id=b;this.P=a.placementStartPings||[];this.I=a.placementEndPings||[];this.u=d.td;b=a.config&&a.config.adPlacementConfig;if(!b)throw Error("Malformed AdPlacementRenderer: missing AdPlacementConfig");var e=a.renderer&&a.renderer.adBreakServiceRenderer&&a.renderer.adBreakServiceRenderer||{};this.w=(this.C=e.getAdBreakUrl||"")?0:2;d.o=parseInt(e.prefetchMilliseconds,10)||0;d.visible=!b.hideCueRangeMarker;var f=QT(b,d);if(null==f)d=new NT(b,new Qn(-1,-1),!1,"adcuerange:invalid", 2),d.o=!0,d=[null,d];else{e=":"+(po.getInstance().o++).toString(36);var k=d.daiEnabled||d.td;f=new NT(b,f,d.visible&&!k,"adcuerange:"+e,2);k=null;if(d.td||0=c*a.A.yv||d)&&iV(a,"first_quartile");(b>=c*a.A.Mv||d)&&iV(a,"midpoint");(b>=c*a.A.Rv||d)&&iV(a,"third_quartile")}; hV=function(a,b,c,d){if(null==a.B){if(cd||d>c)return;iV(a,b)}; eV=function(a,b,c){if(0f.A&&f.Zc()}}; UV=function(a,b){ST.call(this,"ads-engagement-panel",a,b)}; VV=function(a,b,c,d,e){Y.call(this,a,b,c,d,e)}; WV=function(a,b,c,d,e){Y.call(this,a,b,c,d,e)}; XV=function(a,b){ST.call(this,"invideo-overlay",a,b)}; YV=function(a,b){ST.call(this,"invideo-overlay-as-cta",a,b)}; ZV=function(a,b,c,d,e){Y.call(this,a,b,c,d,e);this.u=b}; $V=function(a,b){ST.call(this,"persisting-overlay",a,b)}; aW=function(a,b,c,d,e){Y.call(this,a,b,c,d,e);this.u=b}; bW=function(a){return a?g.T(a):null}; cW=function(a){if(!a)return[];a=a.loggingUrls;if(!a)return[];a=a.map(function(b){return b.baseUrl}); return 0===a.length?[]:a}; sma=function(a){return a.cancelRenderer&&a.cancelRenderer.buttonRenderer?(a=a.cancelRenderer.buttonRenderer.serviceEndpoint)&&a.muteAdEndpoint?a:null:null}; dW=function(a){var b={};b.baseUrl=a;return{loggingUrls:[b],pingingEndpoint:{hack:!0}}}; eW=function(a,b,c,d,e,f){this.u=a;this.w=b;this.o=IU(d);if(f)for(a=g.q(Object.keys(f)),b=a.next();!b.done;b=a.next())b=b.value,this.o[b]=f[b];this.A=c;this.C=d;this.B=e}; gW=function(a,b,c){b.isSkippable=!0;b.skipTime=c.skipOffsetMilliseconds?Math.floor(c.skipOffsetMilliseconds/1E3):0;if(c.skippableRenderer)switch(Object.keys(c.skippableRenderer)[0]){case "skipButtonRenderer":var d=c.skippableRenderer.skipButtonRenderer;b.skip=function(){var e=d.adRendererCommands&&d.adRendererCommands.clickCommand;e?fW(a,e):a.A.nh()}; b.skipShown=function(){fW(a,d.adRendererCommands&&d.adRendererCommands.impressionCommand)}}}; hW=function(a,b,c){if(c.button&&c.button.buttonRenderer&&(!c.button.buttonRenderer.command||!c.button.buttonRenderer.command.adInfoDialogChoiceEndpoint)&&c.button.buttonRenderer.serviceEndpoint&&c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint){var d=c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint.dialog;d&&d.adInfoDialogRenderer&&(tma(a,b,d.adInfoDialogRenderer),b.whyThisAdInfo.menuTitle=bW(c.hoverText)||"",d.adInfoDialogRenderer.muteAdRenderer&&(c=d.adInfoDialogRenderer.muteAdRenderer.buttonRenderer)&& uma(a,b,c))}}; fW=function(a,b){if(b){var c=iW(a);Array.isArray(b)?b.forEach(function(d){return a.u.executeCommand(d,c)}):a.u.executeCommand(b,c)}}; tma=function(a,b,c){var d=bW(c.confirmLabel)||"",e=bW(c.title)||"",f=c.adReasons?c.adReasons.map(function(k){return bW(k)||""}):[]; b.whyThisAdInfo={closeButton:d,menuTitle:"",targetingReasonHeader:e,targetingReasons:f,adSettingsLink:null,cancelButton:null,continueButton:null,controlText:null};b.whyThisAdClicked=function(){fW(a,c.impressionEndpoints)}; b.whyThisAdClosed=function(){fW(a,c.confirmServiceEndpoint)}}; uma=function(a,b,c){if(c.navigationEndpoint&&c.navigationEndpoint.adFeedbackEndpoint&&c.navigationEndpoint.adFeedbackEndpoint.content){var d=c.navigationEndpoint.adFeedbackEndpoint.content.adFeedbackRenderer;if(d){var e={goneText:"",questionText:"",undoText:"",hoverText:bW(c.text)||"",surveyOptions:[]};b.muteAdInfo=e;c=cW(c.navigationEndpoint);var f=dW(c[1]),k=[dW(c[0])];(c=sma(d))&&k.push(c);var l=!1;b.muteAdClicked=function(){l=!0;fW(a,f)}; b.muteAd=function(){l||fW(a,f);l=!1;fW(a,k)}; vma(b,d)}}}; vma=function(a,b){a.muteAdInfo.goneText=bW(b.title)||"";a.muteAdInfo.questionText=bW(b.reasonsTitle)||"";b.undoRenderer&&(a.muteAdInfo.undoText=bW(b.undoRenderer.buttonRenderer.text)||"");for(var c=a.muteAdInfo.surveyOptions,d=g.q(b.reasons||[]),e=d.next();!e.done;e=d.next()){var f=e.value;e=bW(f.reason)||"";f=cW(f.endpoint);c.push({label:e,url:f[0]})}}; iW=function(a){if(g.P(a.C.N().experiments,"dynamic_command_macro_resolution_on_tvhtml5_killswitch"))return a.w;for(var b={},c=g.q(Object.keys(a.o)),d=c.next();!d.done;d=c.next())d=d.value,b[d]=a.o[d].toString();return Object.assign(b,a.w)}; jW=function(){return{adNextParams:"",adSystem:0,attributionInfo:null,clickThroughUrl:"",executeCommand:function(){}, instreamAdPlayerOverlayRenderer:null,instreamSurveyAdRenderer:null,isBumper:!1,isPostroll:!1,isSkippable:!1,muteAdInfo:null,skipTime:0,videoId:"",videoUrl:"",whyThisAdInfo:null,muteAd:function(){}, muteAdClicked:function(){}, sendAdsPing:function(){}, skip:function(){}, skipShown:function(){}, whyThisAdClicked:function(){}, whyThisAdClosed:function(){}, daiEnabled:!1}}; wma=function(a,b,c,d,e,f,k){this.o=c;this.u=new eW(a,b,d,e,f);this.w=k}; xma=function(a,b,c){var d=jW();d.instreamAdPlayerOverlayRenderer=b;c&&(d.adNextParams=c);d.executeCommand=function(e){fW(a.u,e)}; if(b.skipOrPreviewRenderer)switch(Object.keys(b.skipOrPreviewRenderer)[0]){case "skipAdRenderer":gW(a.u,d,b.skipOrPreviewRenderer.skipAdRenderer)}if(b.adInfoRenderer)switch(Object.keys(b.adInfoRenderer)[0]){case "adHoverTextButtonRenderer":hW(a.u,d,b.adInfoRenderer.adHoverTextButtonRenderer)}d.isBumper=vU(a.o)&&!d.isSkippable;d.isPostroll=a.o.isPostroll;a.o.isSkippable();b=a.o.B;c=a.o.getVideoUrl();b?d.videoId=b:c&&(d.videoUrl=c);if(b=(b=a.o.C)&&b.urlEndpoint)d.clickThroughUrl=b.url||"";d.sendAdsPing= function(e){a.u.sendAdsPing(e)}; d.daiEnabled=a.w;return d}; kW=function(a,b){ST.call(this,"pla-shelf",a,b)}; lW=function(a,b,c,d,e){Y.call(this,a,b,OU(c,{TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"}),d,e);this.u=b}; mW=function(a,b){ST.call(this,"shopping-companion",a,b)}; nW=function(a,b,c,d,e){Y.call(this,a,b,c,d,e)}; zma=function(a,b,c,d,e,f){this.o=new eW(a,b,c,d,e,yma(f))}; Bma=function(a,b){var c=jW();c.instreamSurveyAdRenderer=b;c.executeCommand=function(e){fW(a.o,e)}; var d=Ama(b);if(d.skipOrPreviewRenderer)switch(Object.keys(d.skipOrPreviewRenderer)[0]){case "skipAdRenderer":gW(a.o,c,d.skipOrPreviewRenderer.skipAdRenderer)}if(d.adInfoRenderer)switch(Object.keys(d.adInfoRenderer)[0]){case "adHoverTextButtonRenderer":hW(a.o,c,d.adInfoRenderer.adHoverTextButtonRenderer)}c.sendAdsPing=function(e){a.o.sendAdsPing(e)}; return c}; Ama=function(a){var b={};if(!a.questions||0===a.questions.length)return b;a=(a.questions[0].instreamSurveyAdSingleSelectQuestionRenderer||a.questions[0].instreamSurveyAdMultiSelectQuestionRenderer).surveyAdQuestionCommon;return(a=a.instreamAdPlayerOverlay&&a.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)?a:b}; yma=function(a){var b={};b.SURVEY_LOCAL_TIME_EPOCH_S=HU(function(){var c=new Date;return""+(Math.round(c.valueOf()/1E3)+-60*c.getTimezoneOffset())}); b.SURVEY_ELAPSED_MS=HU(a);return b}; qW=function(a,b,c){g.O.call(this,!0);var d=this;this.C=b;this.B=c;this.u=a;this.Ga=new g.Tf(200);this.Ga.ka("tick",function(){var e=Date.now(),f=e-d.A;d.A=e;d.o+=f;d.o>=d.u&&(d.o=d.u,d.Ga.stop());e=d.o/1E3;d.B&&oW(d.B,e);pW(d,{current:e,duration:d.u/1E3})}); g.B(this,this.Ga);this.o=0;this.w=null;g.Ge(this,function(){d.w=null}); this.A=0}; pW=function(a,b){a.C.na("onAdPlaybackProgress",b);a.w=b}; rW=function(a){ST.call(this,"survey",a)}; Cma=function(a,b,c){var d=b.N();return g.P(b.N().experiments,"enable_external_player_ad_playback_progress_html5")&&g.$y(d)?new qW(1E3*a.u,b,c):null}; sW=function(a,b,c,d,e,f,k){Y.call(this,a,b,c,d,e,1);var l=this;this.B=b;this.A=new g.Gr;g.B(this,this.A);this.A.L(this.K,"resize",function(){450>g.QK(l.K).getPlayerSize().width&&(g.Ir(l.A),l.Ac())}); this.P=f;this.C=0;this.I=k(this,function(){return""+(Date.now()-l.C)}); if(this.u=Cma(b,a,f))g.B(this,this.u),this.A.L(a,"onAdPlaybackProgress",function(m){m.current===m.duration&&(m=l.B.o,(m=m.questions&&m.questions[0])?(m=(m=m.instreamSurveyAdMultiSelectQuestionRenderer||m.instreamSurveyAdSingleSelectQuestionRenderer)&&m.surveyAdQuestionCommon,fW(l.I.o,m&&m.timeoutCommands)):g.Tq(Error("Expected a survey question in InstreamSurveyAdRenderer.")))})}; tW=function(a,b){ST.call(this,"survey-interstitial",a,b)}; uW=function(a,b,c,d,e){Y.call(this,a,b,c,d,e,1);this.u=b}; vW=function(a){ST.call(this,"ad-text-interstitial",a)}; wW=function(a,b,c,d,e,f){Y.call(this,a,b,c,d,e);this.A=b;this.u=b.o.durationMilliseconds||0;this.Ga=null;this.B=f}; xW=function(a,b){g.A.call(this);this.A=Math.max(0,a);this.w=this.u=0;this.B=b;this.o=null}; yW=function(a){a.o&&(a.o.stop(),a.o.dispose(),a.o=null)}; zW=function(){ST.call(this,"ad-attribution-bar");this.adPodPositionInfoString=null;this.adPodPosition=0;this.adPodLength=1;this.adBreakLengthSeconds=0;this.adBadgeText=null;this.adBreakRemainingLengthSeconds=0;this.adVideoId=this.adBreakEndSeconds=null}; AW=function(a){a=void 0===a?null:a;ST.call(this,"ad-channel-thumbnail");this.channelIconThumbnailUrl=a}; BW=function(a){a=void 0===a?null:a;ST.call(this,"ad-title");this.videoTitle=a}; CW=function(a){a=void 0===a?null:a;ST.call(this,"advertiser-name");this.channelName=a}; DW=function(a){ST.call(this,"player-overlay",a)}; EW=function(a){ST.call(this,"skip-button",a)}; FW=function(a){ST.call(this,"visit-advertiser",a);var b={};var c=a.text;a=a.navigationEndpoint;null!=c&&null!=c.runs&&null!=a?(b.runs=[g.Pb(c.runs[0])],b.runs[0].navigationEndpoint=a):(b={text:"Consulter le site de l'annonceur"},a&&(b.navigationEndpoint=a),b={runs:[b]});this.visitAdvertiserLabel=b}; GW=function(a,b,c,d,e,f,k,l,m,n,p){Y.call(this,a,b,c,d,e,1);var t=this;this.R=n;this.u=b;this.B=k;this.Z=new g.Gr(this);g.B(this,this.Z);this.I=new g.I(function(){t.Wb("load_timeout")},g.P(a.N().experiments,"use_variable_load_timeout")?g.Q(a.N().experiments,"variable_load_timeout_ms"):1E4); g.B(this,this.I);this.A=null;g.P(a.N().experiments,"enable_bulleit_buffer_timer")&&(this.A=new xW(g.P(a.N().experiments,"use_variable_buffer_timeout")?g.Q(a.N().experiments,"variable_buffer_timeout_ms"):15E3,function(){t.Wb("buffer_timeout")}),g.B(this,this.A)); this.ga=!g.P(a.N().experiments,"bulleit_unstarted_event_killswitch");this.M=!1;this.da=m(this);this.ha=f;this.P=l;this.C=p;this.U=this.aa=!1}; JW=function(a,b){HW(a)&&a.U&&(a.U=!1,Dma(a.R,IW(a),b))}; HW=function(a){return null!==a.R&&(KW(a.C)||LW(a.C)||MW(a.C)||NW(a.C))}; OW=function(a){return(a=a.K.getVideoData(2))?a.clientPlaybackNonce:""}; IW=function(a){if(a=a.u.o.elementId)return a;g.Tq(Error("No elementId on VideoAd InstreamVideoAdRenderer"));return""}; PW=function(a){var b=new zW;b.adBadgeText="Annonce";var c=a.u.A;1=a.o.length||a.o[b]>c?null:a.o[b]}; Fma=function(a){this.u=new VW;this.o=new UW(a.tE)}; XW=function(){qU.apply(this,arguments)}; Gma=function(a,b,c){this.w=a;this.o=b;this.u=c;this.A=a.getCurrentTime()}; Ima=function(a,b){var c=void 0===c?Date.now():c;if(a.u)for(var d=g.q(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=c,k=a.o;YW({cuepointTrigger:{type:"CUEPOINT_TYPE_AD",event:Hma(e.event),cuepointId:e.identifier,totalCueDurationMs:1E3*e.durationSecs,playheadTimeMs:e.o,cueStartTimeMs:1E3*e.startSecs,cuepointReceivedTimeMs:f,contentCpn:k}});"unknown"===e.event&&ZW("DAI_ERROR_TYPE_CUEPOINT_WITH_INVALID_EVENT",a.o);e=e.startSecs+e.o/1E3;e>a.A&&a.w.getCurrentTime()>e&&ZW("DAI_ERROR_TYPE_LATE_CUEPOINT", a.o)}}; Jma=function(a,b,c){a.u&&YW({daiStateTrigger:{totalCueDurationMs:b,filledAdsDurationMs:c,contentCpn:a.o}})}; $W=function(a,b){a.u&&YW({driftRecoveryInfo:{contentCpn:a.o,cueIdentifier:b.cueIdentifier||void 0,driftRecoveryMs:b.driftRecoveryMs.toString(),breakDurationMs:Math.round(b.Ay-b.qB).toString(),driftFromHeadMs:Math.round(1E3*nT(a.w.app)).toString()}})}; Kma=function(a,b){a.u&&YW({adTrimmingInfo:{contentCpn:a.o,cueIdentifier:b.cueIdentifier||void 0,adMediaInfo:b.aE}})}; ZW=function(a,b){YW({daiStateTrigger:{errorType:a,contentCpn:b}})}; YW=function(a){g.Rq("adsClientStateChange",a)}; Hma=function(a){switch(a){case "unknown":return"CUEPOINT_EVENT_UNKNOWN";case "start":return"CUEPOINT_EVENT_START";case "continue":return"CUEPOINT_EVENT_CONTINUE";case "stop":return"CUEPOINT_EVENT_STOP";case "predictStart":return"CUEPOINT_EVENT_PREDICT_START"}}; aX=function(a){this.u=a;this.Z=(a=!g.P(this.u.N().experiments,"html5_ad_csi_tracker_initialization_killswitch"))?this.u.N().deviceParams.c:g.L("INNERTUBE_CLIENT_NAME",void 0);this.aa=a?this.u.N().deviceParams.cver:g.L("INNERTUBE_CLIENT_VERSION",void 0);this.V=a?this.u.N().deviceParams.cbrand:"";this.ba=a?this.u.N().deviceParams.cmodel:"";this.P="AD_PLACEMENT_KIND_UNKNOWN";this.B=this.I=this.C=this.F=null;this.o="unknown_type";this.M=!0;this.R=this.w=this.G=!1;this.U="vod";this.A=null}; bX=function(a){a.F=null;a.C=null;a.I=null;a.B=null;a.A=null;a.P="AD_PLACEMENT_KIND_UNKNOWN";a.o="unknown_type";a.G=!1;a.w=!1}; cX=function(a){a.w=!1;FA("ad_to_video",["pbresume"],void 0)}; Lma=function(a){switch(a){case "AD_PLACEMENT_KIND_START":return"1";case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return"2";case "AD_PLACEMENT_KIND_END":return"3";default:return"unknown"}}; dX=function(a){this.o=a}; eX=function(a){a=[a,a.w].filter(function(d){return!!d}); for(var b=g.q(a),c=b.next();!c.done;c=b.next())c.value.o=!0;return a}; gX=function(a,b){var c=a.o;g.uf(function(){return fX(c,b,1)})}; hX=function(a,b,c,d,e,f,k,l){g.O.call(this);this.xc=a;this.K=b;this.o=d;this.B=this.o.o instanceof qU?this.o.o:null;this.u=null;this.M=!1;this.F=c;this.P=(a=b.getVideoData(1))&&a.va||!1;this.U=0;this.V=!1;this.ba=g.P(b.N().experiments,"abort_ad_on_browser_autoplay_blocked");this.Le=e;this.vj=f;this.Sg=k;this.R=!1;this.daiEnabled=l}; iX=function(a){if(WU(a.K)){var b=a.K.getVideoData(2);(b=a.o.G[b.Eb]||null)?(!a.u||a.u&&a.u.F!==b)&&a.dc(b):a.hp()}else 1===a.K.getPresentingPlayerType()&&a.u&&a.hp()}; jX=function(a){(a=a.baseUrl)&&g.cr(a,void 0,cn(a))}; kX=function(a,b){var c=a.F,d=a.o.xb().u,e=a.fx(),f=a.hx();var k=a.isLiveStream()?"live":"vod";bX(c);var l=c.u.getVideoData(1),m=c.u.getVideoData(2);l&&(c.F=l.clientPlaybackNonce,c.I=l.videoId);m&&(c.C=m.clientPlaybackNonce,c.B=m.videoId,c.A=m.adFormat);c.P=d;0>=f?bX(c):(c.o=c.M?b?"unknown_type":"video_to_ad":b?"ad_to_video":"ad_to_ad",c.U=k,c.R=e+1==f,c.G=!0,c.G&&(GA("c",c.Z,c.o),GA("cver",c.aa,c.o),g.P(c.u.N().experiments,"html5_ad_csi_tracker_initialization_killswitch")||(GA("cbrand",c.V,c.o),GA("cmodel", c.ba,c.o)),GA("yt_pt","html5",c.o),GA("yt_pre","2",c.o),GA("yt_abt",Lma(c.P),c.o),c.F&&GA("cpn",c.F,c.o),c.I&&GA("docid",c.I,c.o),c.C&&GA("ad_cpn",c.C,c.o),c.B&&GA("ad_docid",c.B,c.o),GA("yt_vst",c.U,c.o),c.A&&GA("ad_at",c.A,c.o)))}; mX=function(a,b){b=void 0===b?!1:b;lX(a.xc,a.o.xb(),a);b||ur("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED");a.daiEnabled&&!a.o.F&&(Mma(a,a.ix()),a.o.F=!0)}; Mma=function(a,b){for(var c=nX(a),d=a.o.xb().start,e=[],f=g.q(b),k=f.next();!k.done;k=f.next()){k=k.value;if(c<=d)break;var l=oX(k);e.push({externalVideoId:k.B,originalMediaDurationMs:(1E3*k.u).toString(),trimmedMediaDurationMs:(parseInt(k.o.trimmedMaxNonSkippableAdDurationMs,10)||0).toString()});l=d+l;var m=Math.min(l,c);k.A.w=c;if(!Nma(a,k,d,m)||l!==m)break;d=l}c=b.reduce(function(n,p){return n+oX(p)},0); Jma(a.Le,Tla(a.o.xb()),c);Kma(a.Le,{cueIdentifier:a.o.u&&a.o.u.identifier,aE:e})}; oX=function(a){var b=1E3*a.u;return 0c.width||b.height>c.height}; uZ=function(a,b,c){var d=g.Pb(a.macros),e=g.Nh(b);d.AW={toString:function(){return e.width.toString()}}; d.AH={toString:function(){return e.height.toString()}}; var f=g.Ih(c,b).floor();d.I_X={toString:function(){return f.x.toString()}}; d.NX={toString:function(){return f.x.toString()}}; d.I_Y={toString:function(){return f.y.toString()}}; d.NY={toString:function(){return f.y.toString()}}; d.NM={toString:function(){return a.M.toString()}}; a.I.forEach(function(k){return a.ra.executeCommand(k,d)}); a.api.pauseVideo()}; doa=function(a,b){var c=a.api.getRootNode();g.K(c,"ytp-ad-overlay-open",b);g.K(c,"ytp-ad-overlay-closed",!b)}; yZ=function(a,b,c){WY.call(this,a,b,{D:"div",H:"ytp-ad-message-overlay",J:[{D:"div",H:"ytp-ad-message-slot"}]},"ad-message",c);var d=this;this.V=-1;this.aa=this.o["ytp-ad-message-slot"];this.A=new g.Ru({D:"span",H:"ytp-ad-message-container"});this.A.ca(this.aa);g.B(this,this.A);this.w=new $Y(this.api,this.ra,"ytp-ad-message-text");g.B(this,this.w);this.w.ca(this.A.element);this.I=new g.lN(this.A,400,!1,100,function(){return d.hide()}); g.B(this,this.I);this.C=0;this.M=!1;this.hide()}; eoa=function(a,b){var c=a.api.getRootNode();g.K(c,"ytp-ad-overlay-open",b);g.K(c,"ytp-ad-overlay-closed",!b)}; zZ=function(a,b,c){WY.call(this,a,b,{D:"div",H:"ytp-ad-skip-ad-slot"},"skip-ad",c);this.I=!1;this.C=0;this.A=this.w=null;this.hide()}; AZ=function(a,b){if(!a.I)if(a.I=!0,a.w&&(b?a.w.M.hide():a.w.hide()),b){var c=a.A;c.ma.show();c.show()}else a.A.show()}; BZ=function(a,b,c){Z.call(this,a,b,{D:"div",H:"ytp-ad-persisting-overlay",J:[{D:"div",H:"ytp-ad-persisting-overlay-skip"}]},"persisting-overlay");this.w=this.o["ytp-ad-persisting-overlay-skip"];this.u=c;g.B(this,this.u);this.hide()}; CZ=function(a,b,c){WY.call(this,a,b,{D:"span",H:"ytp-ad-duration-remaining"},"ad-duration-remaining",c);this.w=null;this.hide()}; DZ=function(a,b){$Y.call(this,a,b,"ytp-video-ad-top-bar-title","ad-title")}; EZ=function(a,b,c){WY.call(this,a,b,{D:"div",Y:["ytp-flyout-cta","ytp-flyout-cta-inactive"],J:[{D:"div",H:"ytp-flyout-cta-icon-container"},{D:"div",H:"ytp-flyout-cta-body",J:[{D:"div",H:"ytp-flyout-cta-text-container",J:[{D:"div",H:"ytp-flyout-cta-headline-container"},{D:"div",H:"ytp-flyout-cta-description-container"}]},{D:"div",H:"ytp-flyout-cta-action-button-container"}]}]},"flyout-cta",c);this.I=new TY(this.api,this.ra,"ytp-flyout-cta-icon");g.B(this,this.I);this.I.ca(this.o["ytp-flyout-cta-icon-container"]); this.C=new $Y(this.api,this.ra,"ytp-flyout-cta-headline");g.B(this,this.C);this.C.ca(this.o["ytp-flyout-cta-headline-container"]);this.A=new $Y(this.api,this.ra,"ytp-flyout-cta-description");g.B(this,this.A);this.A.ca(this.o["ytp-flyout-cta-description-container"]);this.w=new VY(this.api,this.ra,["ytp-flyout-cta-action-button"]);g.B(this,this.w);this.w.ca(this.o["ytp-flyout-cta-action-button-container"]);this.M=null;this.V=0;this.hide()}; FZ=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"toggle-button":d;var e=RT("ytp-ad-toggle-button-input");Z.call(this,a,b,{D:"div",Y:["ytp-ad-toggle-button"].concat(c),J:[{D:"label",H:"ytp-ad-toggle-button-label",O:{"for":e},J:[{D:"span",H:"ytp-ad-toggle-button-icon",O:{role:"button","aria-label":"{{tooltipText}}"},J:[{D:"span",H:"ytp-ad-toggle-button-untoggled-icon",W:"{{untoggledIconTemplateSpec}}"},{D:"span",H:"ytp-ad-toggle-button-toggled-icon",W:"{{toggledIconTemplateSpec}}"}]},{D:"input", H:"ytp-ad-toggle-button-input",O:{id:e,type:"checkbox"}},{D:"span",H:"ytp-ad-toggle-button-text",W:"{{buttonText}}"},{D:"span",H:"ytp-ad-toggle-button-tooltip",W:"{{tooltipText}}"}]}]},d);this.A=this.o["ytp-ad-toggle-button"];this.u=this.o["ytp-ad-toggle-button-input"];this.M=this.o["ytp-ad-toggle-button-icon"];this.C=this.o["ytp-ad-toggle-button-untoggled-icon"];this.B=this.o["ytp-ad-toggle-button-toggled-icon"];this.Z=this.o["ytp-ad-toggle-button-text"];this.w=null;this.I=!1;this.V=null;this.hide()}; GZ=function(a){a.I&&(a.isToggled()?(g.Oh(a.C,!1),g.Oh(a.B,!0)):(g.Oh(a.C,!0),g.Oh(a.B,!1)))}; foa=function(a,b){var c=null;a.w&&(c=(b?[a.w.defaultServiceEndpoint,a.w.defaultNavigationEndpoint]:[a.w.toggledServiceEndpoint]).filter(function(d){return null!=d})); return c||[]}; HZ=function(a,b,c){Z.call(this,a,b,{D:"div",H:"ytp-ad-instream-user-sentiment-container"},"instream-user-sentiment",void 0===c?null:c);var d=this;this.u=null;this.A=new FZ(this.api,this.ra,["ytp-ad-instream-user-sentiment-like-button"]);g.B(this,this.A);this.A.ca(this.element);this.w=new FZ(this.api,this.ra,["ytp-ad-instream-user-sentiment-dislike-button"]);g.B(this,this.w);this.w.ca(this.element);this.B=new g.lN(this,400,!1,500,function(){return d.hide()}); g.B(this,this.B);this.C=null;this.hide()}; goa=function(a,b){a.A.init(RT("toggle-button"),a.u.likeButton.toggleButtonRenderer,b);a.w.init(RT("toggle-button"),a.u.dislikeButton.toggleButtonRenderer,b);a.C=a.L(a.element,"change",a.Uz)}; IZ=function(a,b){VY.call(this,a,b,["ytp-ad-visit-advertiser-button"],"visit-advertiser");this.A=null}; JZ=function(a,b,c){c=void 0===c?!1:c;Z.call(this,a,b,{D:"span",H:"ytp-ad-simple-ad-badge"},"simple-ad-badge");this.u=c;this.hide()}; KZ=function(a,b,c){Z.call(this,a,b,{D:"div",H:"ytp-ad-player-overlay",J:[{D:"div",H:"ytp-ad-player-overlay-flyout-cta"},{D:"div",H:"ytp-ad-player-overlay-instream-info"},{D:"div",H:"ytp-ad-player-overlay-skip-or-preview"},{D:"div",H:"ytp-ad-player-overlay-progress-bar"},{D:"div",H:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay");this.C=this.o["ytp-ad-player-overlay-flyout-cta"];this.w=this.o["ytp-ad-player-overlay-instream-info"];this.A=null;if(hoa(this)){a=g.ne("div");g.J(a,"ytp-ad-player-overlay-top-bar-gradients"); b=this.w;b.parentNode&&b.parentNode.insertBefore(a,b);if((b=this.api.getVideoData(2))&&b.isListed&&b.title){var d=new DZ(this.api,this.ra);d.ca(a);d.init(RT("ad-title"),{text:b.title},this.macros);g.B(this,d)}this.A=a}this.B=this.o["ytp-ad-player-overlay-skip-or-preview"];this.M=this.o["ytp-ad-player-overlay-progress-bar"];this.I=this.o["ytp-ad-player-overlay-instream-user-sentiment"];this.u=c;g.B(this,this.u);this.hide()}; hoa=function(a){a=a.api.N();return mz(a)&&a.o}; LZ=function(a,b){Z.call(this,a,b,{D:"div",H:"ytp-ad-survey-answer"},"survey-answer");this.w=this.o["ytp-ad-survey-answer"];this.u=null;this.A="";this.hide()}; MZ=function(a,b){Z.call(this,a,b,{D:"div",H:"ytp-ad-survey-none-of-the-above"},"survey-none-of-the-above");this.w=this.o["ytp-ad-survey-none-of-the-above"];this.u=null;this.hide()}; NZ=function(a,b){VY.call(this,a,b,["ytp-ad-survey-submit-button"],"survey-submit")}; OZ=function(a,b,c){Z.call(this,a,b,{D:"div",H:"ytp-ad-survey-player-overlay",J:[{D:"div",H:"ytp-ad-survey-player-overlay-instream-info"},{D:"div",H:"ytp-ad-survey-player-overlay-skip-preview-submit",J:[{D:"div",H:"ytp-ad-survey-player-overlay-skip-or-preview"},{D:"div",H:"ytp-ad-survey-player-overlay-submit"}]},{D:"div",H:"ytp-ad-survey-player-overlay-instream-user-sentiment"}]},"survey-player-overlay");this.C=this.o["ytp-ad-survey-player-overlay-instream-info"];this.w={};this.I=this.o["ytp-ad-survey-player-overlay-skip-or-preview"]; this.u=null;this.M=this.o["ytp-ad-survey-player-overlay-submit"];this.A=null;this.B=c;g.B(this,this.B);this.hide()}; PZ=function(a,b,c){Z.call(this,a,b,{D:"div",H:"ytp-ad-survey-question",J:[{D:"div",Y:["ytp-ad-survey-question-text","ytp-ad-survey-question-foreground"]},{D:"div",Y:["ytp-ad-survey-answers","ytp-ad-survey-question-foreground"]},{D:"div",Y:["ytp-ad-survey-question-player-overlay","ytp-ad-survey-question-foreground"]},{D:"div",H:"ytp-ad-survey-question-background"}]},c);this.question=this.o["ytp-ad-survey-question"];this.aa=this.o["ytp-ad-survey-question-background"];this.V=this.o["ytp-ad-survey-question-text"]; this.answers=this.o["ytp-ad-survey-answers"];this.M=this.o["ytp-ad-survey-question-player-overlay"];this.C=null;this.A=[];this.u=null;this.B=(0,g.H)()}; ioa=function(a,b,c){var d=new LZ(a.api,a.ra);d.ca(a.answers);d.init(RT("survey-answer"),b,c);a.A.push(d)}; koa=function(a,b){if(b){var c=b.background;c&&c.instreamSurveyAdBackgroundImageRenderer&&(c=(c=c.instreamSurveyAdBackgroundImageRenderer.image)&&SY(c)||"",g.ec(c)?g.Go(Error("Found ThumbnailDetails without valid image URL")):g.sh(a.aa,"backgroundImage","url("+c+")"));joa(a,b)}else g.M(Error("addCommonComponents() needs to be called before starting countdown."))}; joa=function(a,b){if(null==b.durationMilliseconds||void 0==b.durationMilliseconds||0==b.durationMilliseconds)g.M(Error("durationMilliseconds unset or 0 for SurveyAdQuestionCommon: "+JSON.stringify(b)));else{a.B=(0,g.H)();a.u=new fZ(b.durationMilliseconds,a.ra);g.B(a,a.u);if(b.timeoutCommands){var c=b.timeoutCommands;a.u.subscribe("a",function(){c.forEach(function(e){return a.ra.executeCommand(e,a.macros)})})}if(a.u&&b.instreamAdPlayerOverlay&&b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)try{var d= new OZ(a.api,a.ra,a.u); d.ca(a.M);d.init(RT("survey-player-overlay"),b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer,a.macros);a.C=d;g.B(a,d);a.PB()}catch(e){g.M(Error("ISAPOR had an error when initializing. Error: "+(e+" SurveyAdQuestionCommon: "+JSON.stringify(b))))}else g.M(Error("ISAPOR was not present in renderer. SurveyAdQuestionCommon: "+JSON.stringify(b)));a.u&&b.durationMilliseconds&&0document.documentMode)d=new zc;else{var e=document;"function"===typeof HTMLTemplateElement&&(e=g.oe("TEMPLATE").content.ownerDocument);e=e.implementation.createHTMLDocument("").createElement("DIV");e.style.cssText=d;d=dea(e.style)}c=Gaa(d,Fc({"background-image":'url("'+c+'")'}));a.style.cssText=Ac(c)}}; roa=function(a){var b=g.ce("html5-video-player");b&&g.K(b,"ytp-ad-display-override",a)}; VZ=function(a,b){Z.call(this,a,b,{D:"div",H:"iv-website-companion",J:[{D:"div",H:"iv-website-companion-block",J:[{D:"div",H:"iv-website-companion-icon"},{D:"div",H:"iv-website-companion-text",J:[{D:"div",H:"iv-website-companion-desc",J:[{D:"span",Y:["yt-badge","yt-badge-ad"],W:"{{adBadgeText}}"}]}]}]}]},"action-companion");this.Z=this.o["iv-website-companion"];this.A=new TY(this.api,this.ra,"iv-website-companion-banner");g.B(this,this.A);this.A.ca(this.Z,0);this.ga=new TY(this.api,this.ra);g.B(this, this.A);this.ga.ca(this.o["iv-website-companion-icon"]);this.M=new $Y(this.api,this.ra,"iv-website-companion-header");g.B(this,this.M);this.M.ca(this.o["iv-website-companion-text"],0);this.C=new $Y(this.api,this.ra,"iv-website-companion-domain");g.B(this,this.C);this.C.ca(this.o["iv-website-companion-desc"]);this.w=new VY(this.api,this.ra,["iv-website-companion-action","yt-uix-button-size-default","yt-uix-button-primary"]);g.B(this,this.w);this.w.ca(this.o["iv-website-companion-block"]);this.B=new WX(this.api, this.ra);g.B(this,this.B);this.B.ca(this.Z,0);this.V=null;this.aa=[];this.I=new g.Gr;g.B(this,this.I);this.ma=new iU(3E4);this.u=null;this.hide()}; WZ=function(){g.R.call(this,{D:"div",H:"ad-carousel",J:[{D:"div",H:"ad-carousel-clip",J:[{D:"ul",Y:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.o["ad-carousel"];this.B=new g.R({D:"button",Y:["ad-carousel-nav-button","ad-carousel-nav-prev"],O:{type:"button",onclick:"return false;"},J:[{D:"span",Y:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],O:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.B(this,this.B);this.B.ka("click",this.G,this);this.B.ca(a);this.A=new g.R({D:"button", Y:["ad-carousel-nav-button","ad-carousel-nav-next"],O:{type:"button",onclick:"return false;"},J:[{D:"span",Y:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],O:{"data-tooltip-text":"Next",title:"Next"}}]});g.B(this,this.A);this.A.ka("click",this.F,this);this.A.ca(a);this.C=this.o["ad-carousel-list"];this.w=0;this.u=[]}; YZ=function(a){a.C&&g.sh(a.C,"left",(2>a.u.length?0:-a.w*a.u[1].element.clientWidth)+"px");g.Qu(a.B,0a.u.length?1:Math.round((a.element.clientWidth-a.u[0].element.clientWidth)/a.u[1].element.clientWidth)+1}; ZZ=function(){NX.call(this,!0);this.o=new WZ}; $Z=function(){NX.call(this,!1);this.u=new g.R({D:"div",H:"iv-btp-card",J:[{D:"a",H:"iv-btp-card-content",J:[{D:"div",W:"{{cards}}"}]}]});g.B(this,this.u);var a={D:"div",H:"iv-btp-card-merchant",J:[{D:"span",H:"iv-btp-card-merchant-text",W:"{{merchant}}"}]};this.A=new g.Mu({D:"div",Y:["iv-btp-small-card","yt-uix-hovercard-target"],O:{"data-position":"bottomright","data-orientation":"vertical"},J:[{D:"div",Y:["iv-btp-card-image","yt-uix-hovercard-anchor"],W:"{{image}}"},{D:"div",H:"iv-btp-card-info", J:[{D:"span",H:"iv-btp-card-action",W:"{{price}}"},a]},{D:"div",Y:["yt-uix-hovercard-content","iv-btp-hovercard"],W:"{{hovercard}}"}]});g.B(this,this.A);this.o=new g.Mu({D:"div",H:"iv-btp-large-card",J:[{D:"div",H:"iv-btp-card-image",J:[{D:"span"},{D:"div",H:"iv-btp-card-image-aligned",W:"{{image}}"}]},{D:"div",H:"iv-btp-card-info",J:[{D:"div",H:"iv-btp-card-text-box",J:[{D:"div",H:"iv-btp-card-text-valign",J:[{D:"div",Y:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],W:"{{headline}}"}]}]}, {D:"span",H:"iv-btp-card-action",W:"{{price}}"},a,{D:"div",W:"{{review}}"}]}]});g.B(this,this.o);this.w=new g.Mu({D:"div",H:"iv-btp-hovercard-text-box",J:[{D:"a",J:[{D:"div",Y:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],W:"{{headline}}"}]},{D:"div",H:"iv-btp-hovercard-info",J:[{D:"span",H:"iv-btp-hovercard-action",W:"{{price}}"},a]},{D:"div",W:"{{review}}"}]});g.B(this,this.w);this.B=new g.Mu({D:"div",H:"iv-btp-card-review",J:[{D:"div",H:"iv-btp-card-rating",J:[{D:"span",H:"iv-btp-card-rating-bg", J:[{D:"span",H:"iv-btp-card-rating-fg"}]}]},{D:"span",H:"iv-btp-card-reviews",W:"{{reviewText}}"}]});g.B(this,this.B);this.A.la("hovercard",this.w);this.u.la("cards",[this.A,this.o]);soa(this)}; soa=function(a){a.u.ka("click",function(){a.dispatchEvent({type:"offerclick"})}); for(var b=g.q((a.u.element||document).getElementsByTagName("A")),c=b.next();!c.done;c=b.next())a.u.L(c.value,"click",function(){a.dispatchEvent({type:"offernavclick"})})}; a_=function(a,b,c){c=c?MX(c):null;a.la(b,c)}; b_=function(a,b){OX.call(this,a,b,function(){return new toa.Cq}); this.u=null;uoa(this)}; uoa=function(a){for(var b=g.q(Object.values(voa)),c=b.next();!c.done;c=b.next())a.view.addEventListener(c.value,function(d){return a.onClick(d)})}; c_=function(){g.A.call(this);this.w=this.A=this.u=this.B=this.o=null}; xoa=function(a,b){return woa(a).then(function(c){c&&g.Ma(c.promotionShelfShow)&&c.promotionShelfShow(b)})}; yoa=function(a){woa(a).then(function(b){b&&g.Ma(b.promotionShelfClear)&&b.promotionShelfClear()})}; zoa=function(){return g.w("yt.www.watch.ads")}; woa=function(a){if(a.ea())throw Error("Object is disposed");if(!a.o){var b=zoa();a.o=b?Df(b):(new zf(function(c){a.B=qea(c)})).then(zoa)}return a.o}; d_=function(){NX.call(this,!0);this.o=new g.R({D:"div",H:"iv-btp-companion",J:[{D:"div",H:"iv-btp-block-clicks"},{D:"div",H:"iv-btp-attribution",J:[{D:"span",H:"iv-btp-title",W:"{{shopText}}"},{D:"div",H:"ad-info-container",J:[{D:"span",H:"iv-btp-sponsored",W:"{{sponsoredText}}"},{D:"button",H:"ad-info-icon"}]}]}]});g.B(this,this.o);this.w=this.o.o["iv-btp-block-clicks"];this.u=new c_;g.B(this,this.u);this.A=xoa(this.u,this.o.element);Aoa(this)}; Aoa=function(a){a.o.ka("click",function(b){g.xe(a.o.o["ad-info-icon"],b.target)&&a.dispatchEvent({type:"adinfoclick"})})}; f_=function(a,b){OX.call(this,a,b,function(){return new e_.HD}); this.M=new g.Gr(this);g.B(this,this.M);this.F=[];this.u=null;this.w=new e_.yq;g.B(this,this.w);this.view.append(this.w);this.C=new e_.gD(a,b,new zX(this.view.o.o["ad-info-icon"]));g.B(this,this.C);this.view.append(this.C.view);Boa(this)}; Boa=function(a){a.M.L(a.o,"appresize",a.U);a.M.L(a.view,"adinfoclick",function(b){return a.onClick(b)})}; Coa=function(a){var b=a.view;g.Oh(b.w,!0);Hf([a.u,Vf(1E3)]).then(function(){g.Oh(b.w,!1)})}; g_=function(){NX.call(this,!0);var a=this;this.A=this.u=0;this.o=new g.R({D:"div",H:"iv-cards-slider",J:[{D:"div",H:"iv-cards-slider-body",J:[{D:"ul",H:"iv-cards-slider-list"}]},{D:"button",Y:["iv-cards-slider-button","iv-cards-slider-prev"],O:{type:"button",onclick:";return false;"},J:[{D:"span",Y:["iv-cards-slider-prev-icon","yt-sprite"]}]},{D:"button",Y:["iv-cards-slider-button","iv-cards-slider-next"],O:{type:"button",onclick:";return false;"},J:[{D:"span",Y:["iv-cards-slider-next-icon","yt-sprite"]}]}]}); this.F=g.ce("iv-cards-slider-list",this.o.element);if(this.w=g.ce("iv-cards-slider-prev",this.o.element))this.o.L(this.w,"click",function(){a.dispatchEvent({type:"prevbuttonclick"})}),g.Oh(this.w,!1); (this.B=g.ce("iv-cards-slider-next",this.o.element))&&this.o.L(this.B,"click",function(){a.dispatchEvent({type:"nextbuttonclick"})}); g.B(this,this.o)}; h_=function(a){a.F.style.left=125*-a.u+"px";a.w&&g.Oh(a.w,0Math.random();this.eventCount=0}; Moa=function(a){var b;return(null===(b=Loa.get(a))||void 0===b?void 0:b.Tp)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"}; z_=function(a,b,c){y_(a,b,void 0,void 0,c)}; A_=function(a,b,c,d){y_(a,b,void 0,void 0,c,d?d:void 0)}; Noa=function(a,b,c,d){g.P(a.Kb.K.N().experiments,"html5_control_flow_include_trigger_logging_in_tmp_logs")&&y_(a,"ADS_CLIENT_EVENT_TYPE_TRIGGER_ACTIVATED",void 0,void 0,b,d?d:void 0,c)}; C_=function(a,b,c,d,e,f,k,l){a=a.o||Ooa(a.Kb);return{adClientDataEntry:{slotData:B_(a,{slotId:b,ab:c,wb:d,ld:e,Jg:[],Ig:[],Ja:new u_([])}),layoutData:Poa(a,{layoutId:f,layoutType:k,wb:l,Ae:[],We:[],Ve:[],jf:new Map,Ja:new u_([]),rh:{}})}}}; y_=function(a,b,c,d,e,f,k){if(g.P(a.Kb.K.N().experiments,"html5_enable_ads_client_monitoring_log")&&!g.P(a.Kb.K.N().experiments,"html5_disable_client_tmp_logs")&&"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"!==b){var l=a.o||Ooa(a.Kb);b={eventType:b,eventOrder:++a.eventCount};var m=g.Q(a.Kb.K.N().experiments,"html5_experiment_id_label");m=0=e||0>=c||g.V(b,16)||g.V(b,32)||(C0(c,.25*e,d)&&w0(a.o,"first_quartile"),C0(c,.5*e,d)&&w0(a.o,"midpoint"),C0(c,.75*e,d)&&w0(a.o,"third_quartile"))}; C0=function(a,b,c){return a=a?null:a}; I0=function(a,b,c,d,e,f,k,l){E0.call(this,a,b,"opportunity_type_live_stream_break_signal",c);var m=this;this.hd=d;this.u=e;this.vf=f;this.ob=k;this.w=l;this.o=null;d.addListener(this);g.Ge(this,function(){d.removeListener(m)}); f.addListener(this);g.Ge(this,function(){f.removeListener(m)})}; Zpa=function(a,b,c){var d=a.ob.K.getCurrentTime(1,!1);d=Xpa(c,d);a.w.schedule({contentCpn:b.contentCpn,JE:new Qn(1E3*d.start,1E3*d.end),aO:null,execute:function(){return Ypa(a,b,c)}})}; Ypa=function(a,b,c){var d=b.contentCpn,e=b.adPlacementRenderer.renderer.adBreakServiceRenderer.getAdBreakUrl,f=b.Yk;return mh(a,function l(){var m=this,n,p;return Aa(l,function(t){if(1==t.o)return g.ta(t,m.u.fetch({bP:e,mi:c,rE:$pa(c)}),2);n=t.u;2<=n.length&&r_("Unexpected "+n.length+" ad placement renderers");n.length||r_("Expected ad placement renderer");p={Tg:n,Pq:n,contentCpn:d,Yk:f,so:!0,daiEnabled:!0};F0(m,p);t.o=0})})}; Xpa=function(a,b){var c=a.startSecs+a.durationSecs;return a.startSecs<=b?new Qn(a.startSecs-4,c):new Qn(Math.floor(b+Math.random()*Math.max(0,a.startSecs-b-10)),c)}; $pa=function(a){var b=1E3*a.startSecs;return new g.iC(b,b+1E3*a.durationSecs)}; J0=function(a,b){g.A.call(this);var c=this;this.Ke=a;this.o=new Map;b.addListener(this);g.Ge(this,function(){b.removeListener(c)})}; K0=function(a,b,c,d,e){E0.call(this,a,c,"opportunity_type_player_bytes_media_layout_entered",e);this.o=b;this.Kb=d;this.Nj=!0}; L0=function(a,b){this.Sa=a;this.Zk=b}; M0=function(){g.A.apply(this,arguments);this.Nj=!0;this.o=new Map}; Mpa=function(a,b){this.Fb=a;this.slot=b}; aqa=function(){}; N0=function(a,b){this.o=a;this.u=b;this.triggerType="trigger_type_layout_id_entered"}; O0=function(a,b){this.o=a;this.B=b;this.triggerType="trigger_type_layout_id_exited"}; P0=function(a,b){this.o=a;this.B=b;this.ab="slot_type_player_bytes";this.layoutType="layout_type_media";this.triggerType="trigger_type_on_different_layout_id_entered"}; Q0=function(a){this.o=Tr();this.w=a;this.triggerType="trigger_type_slot_id_entered"}; R0=function(a){this.o=Tr();this.B=a;this.triggerType="trigger_type_slot_id_exited"}; S0=function(a){this.o=Tr();this.A=a;this.triggerType="trigger_type_slot_id_scheduled"}; T0=function(a,b,c,d){this.category=a;this.trigger=b;this.slot=c;this.layout=d}; U0=function(a){g.A.call(this);this.o=a;this.Nj=!0;this.u=new Map;this.B=new Set;this.A=new Set;this.C=new Set;this.w=new Set}; bqa=function(a,b){this.o=a;this.layoutId=b;this.triggerType="trigger_type_close_requested"}; V0=function(){g.A.call(this);this.o=new Map}; cqa=function(a,b){this.o=a;this.u=b;this.triggerType="trigger_type_before_content_video_id_started"}; W0=function(a,b){g.A.call(this);var c=this;this.w=a;this.o=new Map;b.addListener(this);g.Ge(this,function(){b.removeListener(c)})}; dqa=function(a,b){for(var c=[],d=g.q(a.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger.u===b&&c.push(e);return c}; X0=function(a){this.o=Tr();this.visible=a;this.triggerType="trigger_type_after_content_video_id_ended"}; Y0=function(a,b,c){this.o=a;this.u=b;this.visible=c;this.triggerType="trigger_type_media_time_range"}; Z0=function(a,b){this.o=a;this.u=b;this.triggerType="trigger_type_not_in_media_time_range"}; $0=function(a,b){g.A.call(this);this.u=a;this.Ke=b;this.o=new Map}; a1=function(a,b,c,d,e,f,k,l,m){a.o.set(c.o,{bundle:new T0(b,c,d,e),Kw:f});a.Ke.addCueRange(f,k,l,m,a)}; eqa=function(a,b){for(var c=g.q(a.o.entries()),d=c.next();!d.done;d=c.next()){var e=g.q(d.value);d=e.next().value;e=e.next().value;if(b===e.Kw)return d}return""}; fqa=function(){this.o=Tr();this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED"}; gqa=function(){this.o=Tr();this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED"}; b1=function(a,b){var c;g.A.call(this);var d=this;this.A=a;this.u=new Map;this.w=new Map;this.o=null;b.addListener(this);g.Ge(this,function(){b.removeListener(d)}); this.o=(null===(c=b.bl)||void 0===c?void 0:c.slotId)||null}; hqa=function(a,b){for(var c=[],d=g.q(a.values()),e=d.next();!e.done;e=d.next())e=e.value,e.slot.slotId===b&&c.push(e);return c}; c1=function(a){this.o=Tr();this.layoutId=a;this.triggerType="trigger_type_on_layout_self_exit_requested"}; d1=function(a,b){this.o=a;this.slotId=b;this.triggerType="trigger_type_on_element_self_enter_requested"}; e1=function(a){g.A.call(this);this.A=a;this.Nj=!0;this.w=new Map;this.u=this.o=null}; iqa=function(a,b){for(var c=[],d=g.q(a.w.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger instanceof c1&&e.trigger.layoutId===b&&Koa(e.category)&&c.push(e);c.length&&L_(a.A(),c)}; f1=function(a,b){this.o=a;this.contentVideoId=b;this.triggerType="trigger_type_on_new_playback_after_content_video_id"}; g1=function(a,b){g.A.call(this);var c=this;this.u=a;this.hd=b;this.o=new Map;b.addListener(this);g.Ge(this,function(){b.removeListener(c)})}; h1=function(a){this.o=Tr();this.durationMs=45E3;this.layoutId=a;this.triggerType="trigger_type_time_relative_to_layout_enter"}; i1=function(a){g.A.call(this);this.A=a;this.Nj=!0;this.u=new Map;this.o=new Map;this.w=new Map}; jqa=function(a){g.A.call(this);this.A=new U0(a.Uh);g.B(this,this.A);this.o=new e1(a.Uh);g.B(this,this.o);this.w=new b1(a.Uh,a.hd);g.B(this,this.w);this.F=new g1(a.Uh,a.hd);g.B(this,this.F);this.C=new W0(a.Uh,a.lE);g.B(this,this.C);this.u=new $0(a.Uh,a.Ke);g.B(this,this.u);this.G=new i1(a.Uh);g.B(this,this.G);this.B=new V0(a.Uh);g.B(this,this.B)}; kqa=function(){}; j1=function(a,b,c,d,e,f,k){var l=Tr(),m={layoutId:l,layoutType:a,wb:"core"},n=new Map;f?(0===f.length&&r_("Companion Ad Renderer with no impression Pings"),n.set("impression",f)):r_("Companion Ad Renderer without impression Pings field");return{layoutId:l,layoutType:a,jf:n,Ae:[new c1(l),new P0(Tr(),d)],We:[],Ve:[],wb:"core",Ja:new u_([b,new f0(c),new e0(e)]),rh:k(m)}}; k1=function(a,b,c,d,e,f){var k={layoutId:a,layoutType:b,wb:"core"};return{layoutId:a,layoutType:b,jf:new Map,Ae:f?[f]:[],We:[new bqa(Tr(),a)],Ve:[],wb:"core",Ja:new u_([new b0(c),new e0(d)]),rh:e(k)}}; Upa=function(a,b,c,d,e,f){b.every(function(m){return t_(m,[],["layout_type_media"])})||r_("Unexpect subLayout type for DAI composite layout"); var k=Tr(),l={layoutId:k,layoutType:"layout_type_composite_player_bytes",wb:"core"};return{layoutId:k,layoutType:"layout_type_composite_player_bytes",jf:d,Ae:[new fqa],We:[],Ve:[],wb:"core",Ja:new u_([new n0(a),new k0(b),new e0(c),new q0(e)]),rh:f(l)}}; lqa=function(a,b,c){var d=Tr();b=[new N0(Tr(),b)];var e={slotId:d,ab:"slot_type_in_player",wb:"core",ld:b};return{slotId:d,ab:"slot_type_in_player",ld:b,Jg:[new Q0(d)],Ig:[new f1(Tr(),a),new R0(d)],wb:"core",Ja:new u_([new r0(c(e))])}}; nqa=function(a,b,c){var d=mqa(a,b);if(d){var e=d instanceof Y0?new Z0(Tr(),d.u):null;a=Tr();d=[d];if(c=c({slotId:a,ab:"slot_type_in_player",wb:"core",ld:d},e))return{slotId:a,ab:"slot_type_in_player",ld:d,Jg:[new Q0(a)],Ig:[new f1(Tr(),b),new R0(a)],wb:"core",Ja:new u_([new r0(c)])}}}; pqa=function(a,b,c,d){var e=Tr();return oqa(e,a,new N0(Tr(),c),b,d)}; qqa=function(a,b,c,d){return oqa(b,a,new d1(Tr(),b),c,d)}; rqa=function(a,b){var c=Tr(),d=[new gqa],e={slotId:c,ab:"slot_type_player_bytes",wb:"core",ld:d};return{slotId:c,ab:"slot_type_player_bytes",ld:d,Jg:[new S0(c)],Ig:[new f1(Tr(),a)],wb:"core",Ja:new u_([new r0(b(e))])}}; sqa=function(a,b,c){var d=Tr();if(a=mqa(a,b)){a=[a];var e={slotId:d,ab:"slot_type_forecasting",wb:"core",ld:a};return{slotId:d,ab:"slot_type_forecasting",ld:a,Jg:[new Q0(d)],Ig:[new R0(d),new f1(Tr(),b)],wb:"core",Ja:new u_([new r0(c(e))])}}}; mqa=function(a,b){var c,d,e=!a.hideCueRangeMarker;switch(a.kind){case "AD_PLACEMENT_KIND_START":return new cqa(Tr(),b);case "AD_PLACEMENT_KIND_MILLISECONDS":if(null===(c=a.adTimeOffset)||void 0===c||!c.offsetStartMilliseconds){r_("AD_PLACEMENT_KIND_MILLISECONDS missing start milliseconds.");break}if(null===(d=a.adTimeOffset)||void 0===d||!d.offsetEndMilliseconds){r_("AD_PLACEMENT_KIND_MILLISECONDS missing end milliseconds.");break}var f=Number(a.adTimeOffset.offsetStartMilliseconds),k=Number(a.adTimeOffset.offsetEndMilliseconds); if(isNaN(f)||isNaN(k)||f>=k){r_("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be > startMs.");break}return new Y0(Tr(),new Qn(f,k),e);case "AD_PLACEMENT_KIND_END":return new X0(e);default:r_("Cannot construct entry trigger from AdPlacementKind: "+(a.kind+"."))}}; oqa=function(a,b,c,d,e){c=[c];var f={slotId:a,ab:b,wb:"core",ld:c};return{slotId:a,ab:b,ld:c,Jg:[new Q0(a)],Ig:[new f1(Tr(),d),new R0(a)],wb:"core",Ja:new u_([new r0(e(f))])}}; tqa=function(){this.o=new Map}; l1=function(a,b,c){g.A.call(this);this.w=a;this.Ag=b;this.Sa=c;this.o=this.u=null;this.Ag.addListener(this)}; uqa=function(a){g.A.call(this);this.o=new l1(a.IE,a.kG,a.Sa);g.B(this,this.o)}; vqa=function(a,b,c){this.Mq=a;this.o=b;this.Kb=c}; wqa=function(a,b,c){var d=null;try{d=JSON.parse(a.response)}catch(f){return a.response&&(b=a.response,b.startsWith("GIF89")||(f.params=b.substr(0,256),g.Uq(f))),[]}if(!d)return[];a=d;g.P(c.K.N().experiments,"html5_enable_visual_element_logging_for_deferred_ads")&&a&&a.trackingParams&&uX(sX(),a.trackingParams);if(a.adThrottled)return[];c=a.playerAds;if(!c||!c.length)return[];c=c.map(function(f){return f.adPlacementRenderer}).filter(function(f){return!(!f||!f.renderer)}); if(!c.length)return[];if(0>16,a>>8&255,a&255]}; Oqa=function(){if(!g.he)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}; g.B1=function(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;fh();a=Vc(a,null);return b.parseFromString(g.Qc(a),"application/xml")}if(Pqa){b=new ActiveXObject("MSXML2.DOMDocument");b.resolveExternals=!1;b.validateOnParse=!1;try{b.setProperty("ProhibitDTD",!0),b.setProperty("MaxXMLSize",2048),b.setProperty("MaxElementDepth",256)}catch(c){}b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");}; g.C1=function(a){g.A.call(this);this.u=a;this.o={}}; Qqa=function(a,b,c,d,e,f){if(Array.isArray(c))for(var k=0;k=f}}); ma("Array.prototype.find",function(a){return a?a:function(b,c){return Ca(this,b,c).PC}}); ma("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Da(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,k=Math.max(0,Math.min(c|0,d.length)),l=0;l=f}}); ma("String.prototype.repeat",function(a){return a?a:function(b){var c=Da(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); ma("WeakMap",function(a){function b(m){this.o=(l+=Math.random()+1).toString();if(m){m=g.q(m);for(var n;!(n=m.next()).done;)n=n.value,this.set(n[0],n[1])}} function c(){} function d(m){var n=typeof m;return"object"===n&&null!==m||"function"===n} function e(m){if(!Ea(m,k)){var n=new c;la(m,k,{value:n})}} function f(m){var n=Object[m];n&&(Object[m]=function(p){if(p instanceof c)return p;e(p);return n(p)})} if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),n=Object.seal({}),p=new a([[m,2],[n,3]]);if(2!=p.get(m)||3!=p.get(n))return!1;p["delete"](m);p.set(n,4);return!p.has(m)&&4==p.get(n)}catch(t){return!1}}())return a; var k="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var l=0;b.prototype.set=function(m,n){if(!d(m))throw Error("Invalid WeakMap key");e(m);if(!Ea(m,k))throw Error("WeakMap key fail: "+m);m[k][this.o]=n;return this}; b.prototype.get=function(m){return d(m)&&Ea(m,k)?m[k][this.o]:void 0}; b.prototype.has=function(m){return d(m)&&Ea(m,k)&&Ea(m[k],this.o)}; b.prototype["delete"]=function(m){return d(m)&&Ea(m,k)&&Ea(m[k],this.o)?delete m[k][this.o]:!1}; return b}); ma("Map",function(a){function b(){var l={};return l.previous=l.next=l.head=l} function c(l,m){var n=l.o;return pa(function(){if(n){for(;n.head!=l.o;)n=n.previous;for(;n.next!=n.head;)return n=n.next,{done:!1,value:m(n)};n=null}return{done:!0,value:void 0}})} function d(l,m){var n=m&&typeof m;"object"==n||"function"==n?f.has(m)?n=f.get(m):(n=""+ ++k,f.set(m,n)):n="p_"+m;var p=l.u[n];if(p&&Ea(l.u,n))for(var t=0;tb?-c:c}}); ma("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);cf&&(f=Math.max(f+e,0));f>>0);eaa=0;g.H=Date.now||function(){return+new Date};g.Sa(Ta,Error);Ta.prototype.name="CustomError";var Xd;g.Sa(Ua,Ta);Ua.prototype.name="AssertionError";var Za,kj;Za=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0); for(var c=0;cc&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1}; g.y=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f/g,ic=/"/g,jc=/'/g,lc=/\x00/g,yaa=/[\x00&<>"']/;g.tc.prototype.ug=!0;g.tc.prototype.xe=function(){return this.u.toString()}; g.tc.prototype.ts=!0;g.tc.prototype.o=function(){return 1}; var Aaa=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,zaa=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,vc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,sc={},rc={};zc.prototype.ug=!0;var yc={};zc.prototype.xe=function(){return this.o}; var Ec=Bc(""),Caa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Hc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Gc=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),Daa=/\/\*/;a:{var $qa=g.v.navigator;if($qa){var ara=$qa.userAgent;if(ara){g.Ic=ara;break a}}g.Ic=""};Pc.prototype.ts=!0;Pc.prototype.o=function(){return this.w}; Pc.prototype.ug=!0;Pc.prototype.xe=function(){return this.u.toString()}; var bra=/^[a-zA-Z0-9-]+$/,cra={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},dra={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Oc={},I1=new Pc;I1.u=g.v.trustedTypes&&g.v.trustedTypes.emptyHTML?g.v.trustedTypes.emptyHTML:"";I1.w=0;var Uc=I1;var Kaa=yb(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=g.Qc(Uc);return!b.parentElement});var Laa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};var md=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Bd=/#|$/,Naa=/[?&]($|#)/;Gd[" "]=g.Ia;var uh,MG,yT,era,fra,gra,Hy,Jy,J1;g.vh=Jc("Opera");g.he=Jc("Trident")||Jc("MSIE");g.wu=Jc("Edge");g.nz=g.wu||g.he;uh=Jc("Gecko")&&!(nc(g.Ic,"WebKit")&&!Jc("Edge"))&&!(Jc("Trident")||Jc("MSIE"))&&!Jc("Edge");g.je=nc(g.Ic,"WebKit")&&!Jc("Edge");MG=Jc("Macintosh");yT=Jc("Windows");g.Iy=Jc("Android");era=Ed();fra=Jc("iPad");gra=Jc("iPod");Hy=Fd();Jy=nc(g.Ic,"KaiOS"); a:{var K1="",L1=function(){var a=g.Ic;if(uh)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.wu)return/Edge\/([\d\.]+)/.exec(a);if(g.he)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.je)return/WebKit\/(\S+)/.exec(a);if(g.vh)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); L1&&(K1=L1?L1[1]:"");if(g.he){var M1=Id();if(null!=M1&&M1>parseFloat(K1)){J1=String(M1);break a}}J1=K1}var Jd=J1,Paa={},N1;if(g.v.document&&g.he){var hra=Id();N1=hra?hra:parseInt(Jd,10)||void 0}else N1=void 0;var Raa=N1;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var Saa=!g.he||g.Ld(9),Uaa=!uh&&!g.he||g.he&&g.Ld(9)||uh&&g.Kd("1.9.1");g.he&&g.Kd("9");var Vaa=g.he||g.vh||g.je;g.Qd.prototype.clone=function(){return new g.Qd(this.x,this.y)}; g.Qd.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}; g.Qd.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; g.Qd.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.h=g.Sd.prototype;g.h.clone=function(){return new g.Sd(this.width,this.height)}; g.h.aspectRatio=function(){return this.width/this.height}; g.h.isEmpty=function(){return!Ud(this)}; g.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; g.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; g.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var de={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.h=Vd.prototype;g.h.ua=function(a){return $d(this.o,a)}; g.h.getElementsByTagName=function(a,b){return(b||this.o).getElementsByTagName(String(a))}; g.h.createElement=function(a){return le(this.o,a)}; g.h.appendChild=g.qe;g.h.append=function(a,b){me(Wd(a),a,arguments,1)}; g.h.canHaveChildren=function(a){if(1!=a.nodeType)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.h.removeNode=g.te;g.h.contains=g.xe;g.h=Ee.prototype;g.h.wO=function(a,b){for(var c=[],d=1;d=a.keyCode)a.keyCode=-1}catch(b){}};var Me="closure_listenable_"+(1E6*Math.random()|0),Yaa=0;Pe.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.o++);var k=Re(a,b,d,e);-1>>0);g.Sa(g.gf,g.A);g.gf.prototype[Me]=!0;g.h=g.gf.prototype;g.h.addEventListener=function(a,b,c,d){Te(this,a,b,c,d)}; g.h.removeEventListener=function(a,b,c,d){af(this,a,b,c,d)}; g.h.dispatchEvent=function(a){var b=this.aa;if(b){var c=[];for(var d=1;b;b=b.aa)c.push(b),++d}b=this.ga;d=a.type||a;if("string"===typeof a)a=new g.Je(a,b);else if(a instanceof g.Je)a.target=a.target||b;else{var e=a;a=new g.Je(d,b);g.Sb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.o&&0<=f;f--){var k=a.currentTarget=c[f];e=hf(k,d,!0,a)&&e}a.o||(k=a.currentTarget=b,e=hf(k,d,!0,a)&&e,a.o||(e=hf(k,d,!1,a)&&e));if(c)for(f=0;!a.o&&f=this.C&&this.F())};var Sy,TB;g.hu=Kc();Sy=Ed()||Jc("iPod");TB=Jc("iPad");g.Ky=g.Nc();g.Dt=Lc();g.oz=Mc()&&!Fd();var $f={},fg=null;var zg=0,Ag=0;var ig=[];hg.prototype.clone=function(){return jg(this.u,this.A,this.w-this.A)}; hg.prototype.clear=function(){this.u=null;this.o=this.w=this.A=0;this.B=!1}; hg.prototype.reset=function(){this.o=this.A};mg.prototype.reset=function(){this.o.reset();this.u=this.w=-1};rg.prototype.length=function(){return this.o.length}; rg.prototype.end=function(){var a=this.o;this.o=[];return a};ug.prototype.reset=function(){this.w=[];this.o.end();this.u=0};var Jg="function"==typeof Uint8Array,Kg=[];Ig.prototype.toString=function(){return this.Fd.toString()}; Ig.prototype.clone=function(){return new this.constructor(Xg(this.Fd))};var Ij;Ij=["av.key","js","unreleased"].slice(-1)[0];var Rh=document,hi=window;g.h=Yg.prototype;g.h.isEnabled=function(){return navigator.cookieEnabled}; g.h.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.ST;d=c.sO||!1;var f=c.domain||void 0;var k=c.path||void 0;var l=c.Dy}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===l&&(l=-1);c=f?";domain="+f:"";k=k?";path="+k:"";d=d?";secure":"";l=0>l?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.H)()+1E3*l)).toUTCString();this.o.cookie=a+"="+b+c+k+l+d+(null!=e?";samesite="+ e:"")}; g.h.get=function(a,b){for(var c=a+"=",d=(this.o.cookie||"").split(";"),e=0,f;eb&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.date.setDate(1);this.date.setFullYear(c);this.date.setMonth(b);this.date.setDate(d)}a.days&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.date.setDate(1),this.date.setFullYear(a.getFullYear()), this.date.setMonth(a.getMonth()),this.date.setDate(a.getDate()),dh(this,a.getDate()))}; g.h.toString=function(){return[this.getFullYear(),g.ed(this.getMonth()+1,2),g.ed(this.getDate(),2)].join("")+""}; g.h.valueOf=function(){return this.date.valueOf()};var fh=g.Ia;var vba=/https?:\/\/[^\/]+/,tba={FP:"allow-forms",GP:"allow-modals",HP:"allow-orientation-lock",IP:"allow-pointer-lock",JP:"allow-popups",KP:"allow-popups-to-escape-sandbox",LP:"allow-presentation",MP:"allow-same-origin",NP:"allow-scripts",OP:"allow-top-navigation",PP:"allow-top-navigation-by-user-activation"},yba=yb(function(){return uba()});var Pba={oS:1,hT:2,OR:3};g.h=nh.prototype;g.h.Yc=function(){return this.right-this.left}; g.h.getHeight=function(){return this.bottom-this.top}; g.h.clone=function(){return new nh(this.top,this.right,this.bottom,this.left)}; g.h.contains=function(a){return this&&a?a instanceof nh?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; g.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; g.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this}; g.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};g.h=g.ph.prototype;g.h.clone=function(){return new g.ph(this.left,this.top,this.width,this.height)}; g.h.contains=function(a){return a instanceof g.Qd?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height}; g.h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; g.h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; g.h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var th={};var Ph=!!window.google_async_iframe_id,Qh=Ph&&window.parent||window;Xb(g.Yb("//fonts.googleapis.com/css"));var kca={NONE:0,DQ:1};Vh.prototype.isVisible=function(){return this.Ci?.3<=this.vb:.5<=this.vb};var Ci={lv:0,NQ:1},Qba={lv:0,nR:1,oR:2},lca={lv:0,AQ:1,HQ:2,wS:3},Oba={NONE:0,xR:1,UQ:2};Wh.prototype.getValue=function(){return this.u}; g.r(Xh,Wh);Xh.prototype.setValue=function(a){if(null!==this.u||!g.Jb(this.w,a))return!1;this.u=a;return!0}; g.r(Yh,Wh);Yh.prototype.setValue=function(a){if(null!==this.u||"number"!==typeof a)return!1;this.u=a;return!0}; g.r(Zh,Wh);Zh.prototype.setValue=function(a){if(null!==this.u||"string"!==typeof a)return!1;this.u=a;return!0};$h.prototype.disable=function(){this.u=!1}; $h.prototype.enable=function(){this.u=!0}; $h.prototype.isEnabled=function(){return this.u}; $h.prototype.reset=function(){this.o={};this.u=!0;this.w={}};g.Zj=!g.he&&!Mc();ei.prototype.now=function(){return 0}; ei.prototype.u=function(){return 0}; ei.prototype.w=function(){return 0}; ei.prototype.o=function(){return 0};g.r(gi,ei);gi.prototype.now=function(){return fi()&&hi.performance.now?hi.performance.now():ei.prototype.now.call(this)}; gi.prototype.u=function(){return fi()&&hi.performance.memory?hi.performance.memory.totalJSHeapSize||0:ei.prototype.u.call(this)}; gi.prototype.w=function(){return fi()&&hi.performance.memory?hi.performance.memory.usedJSHeapSize||0:ei.prototype.w.call(this)}; gi.prototype.o=function(){return fi()&&hi.performance.memory?hi.performance.memory.jsHeapSizeLimit||0:ei.prototype.o.call(this)};ji.prototype.isVisible=function(){return 1===ii(Rh)};var Fba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;ni.prototype.jc=function(a,b,c,d){a=a+"//"+b+c;var e=Hba(this)-c.length-d.length;if(0>e)return"";this.o.sort(function(p,t){return p-t}); c=null;b="";for(var f=0;f=n.length){e-=n.length;a+=n;b=this.w;break}this.A&&(b=e,n[b-1]==this.w&&--b,a+=n.substr(0,b),b=this.w,e=0);c=null==c?k:c}}f="";null!=c&&(f=b+"trn="+c);return a+f+d};vi.prototype.setInterval=function(a,b){return hi.setInterval(a,b)}; vi.prototype.clearInterval=function(a){hi.clearInterval(a)}; vi.prototype.setTimeout=function(a,b){return hi.setTimeout(a,b)}; vi.prototype.clearTimeout=function(a){hi.clearTimeout(a)}; Ja(vi);zi.prototype.getContext=function(){if(!this.o){if(!hi)throw Error("Context has not been set and window is undefined.");this.o=vi.getInstance()}return this.o}; Ja(zi);g.Sa(Ai,Ig);Di.prototype.iu=function(a){if("string"===typeof a&&0!=a.length){var b=this.Ya;if(b.u){a=a.split("&");for(var c=a.length-1;0<=c;c--){var d=a[c].split("="),e=d[0];d=1=this.F?a:this;b!==this.o?(this.B=this.o.B,vj(this)):this.B!==this.o.B&&(this.B=this.o.B,vj(this))}; g.h.oh=function(a){if(a.u===this.o){var b;if(!(b=this.Z)){b=this.w;var c=this.G;if(c=a&&(void 0===c||!c||b.volume==a.volume)&&b.w==a.w)b=b.o,c=a.o,c=b==c?!0:b&&c?b.top==c.top&&b.right==c.right&&b.bottom==c.bottom&&b.left==c.left:!1;b=!c}this.w=a;b&&Aj(this)}}; g.h.Mf=function(){return this.G}; g.h.dispose=function(){this.ub=!0}; g.h.ea=function(){return this.ub};g.h=Bj.prototype;g.h.Zs=function(){return!0}; g.h.Zl=function(){}; g.h.tn=function(){if(this.element){var a=this.element,b=this.u.o.Bd;try{try{var c=hj(a.getBoundingClientRect())}catch(n){c=new nh(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Gh(a,b),k=f.x,l=f.y;var m=new nh(Math.round(l),Math.round(k+d),Math.round(l+e),Math.round(k))}catch(n){m=mra.clone()}this.o=m}}; g.h.nw=function(){this.B=this.u.w.o}; g.h.dg=function(){this.tn();this.A=new sj(this.u.w,this.element,this.o,this.A.B,this.A.o,this.A.A,Zi(),this.A.w)}; g.h.dispose=function(){if(!this.ea()){var a=this.u;g.db(a.A,this);a.G&&this.Mf()&&zj(a);this.Zl();this.ub=!0}}; g.h.ea=function(){return this.ub}; g.h.fh=function(){return this.u.fh()}; g.h.qg=function(){return this.u.qg()}; g.h.zj=function(){return this.u.zj()}; g.h.El=function(){return this.u.El()}; g.h.Hj=function(){}; g.h.oh=function(){this.dg()}; g.h.Mf=function(){return this.P};g.h=Cj.prototype;g.h.qg=function(){return this.o.qg()}; g.h.zj=function(){return this.o.zj()}; g.h.El=function(){return this.o.El()}; g.h.create=function(a,b,c){var d=null;this.o&&(d=this.Oo(a,b,c),xj(this.o,d));return d}; g.h.Hy=function(){return this.Tl()}; g.h.Tl=function(){return!1}; g.h.init=function(a){return this.o.initialize()?(xj(this.o,this),this.A=a,!0):!1}; g.h.Hj=function(a){0==a.qg()&&this.A(a.zj(),this)}; g.h.oh=function(){}; g.h.Mf=function(){return!1}; g.h.dispose=function(){this.ub=!0}; g.h.ea=function(){return this.ub}; g.h.fh=function(){return{}};Fj.prototype.add=function(a,b,c){++this.w;var d=this.w/4096;this.o.push(cca(new Dj(a,b,c),d));this.u=!0;return this};Jj.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Hj(this.o);0=k;k=!(0=k)||c;this.o[e].update(f&&l,d,!f||k)}};Xj.prototype.update=function(a,b,c,d){this.F=-1!=this.F?Math.min(this.F,b.vb):b.vb;this.M=Math.max(this.M,b.vb);this.R=-1!=this.R?Math.min(this.R,b.Wd):b.Wd;this.V=Math.max(this.V,b.Wd);this.ma.update(b.Wd,c.Wd,b.o,a,d);this.u.update(b.vb,c.vb,b.o,a,d);c=d||c.Ci!=b.Ci?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.o;this.aa.update(c,a,b)}; Xj.prototype.Ei=function(){return this.aa.w>=this.ga};var jca=new nh(0,0,0,0);g.r(ak,g.A);g.h=ak.prototype;g.h.X=function(){this.Nd.o&&(this.li.Tt&&(bh(this.Nd.o,"mouseover",this.li.Tt),this.li.Tt=null),this.li.St&&(bh(this.Nd.o,"mouseout",this.li.St),this.li.St=null));this.Km&&this.Km.dispose();this.Ib&&this.Ib.dispose();delete this.Ko;delete this.Rs;delete this.EC;delete this.Nd.Ah;delete this.Nd.o;delete this.li;delete this.Km;delete this.Ib;delete this.Ya;g.A.prototype.X.call(this)}; g.h.ih=function(){return this.Ib?this.Ib.o:this.position}; g.h.iu=function(a){Di.getInstance().iu(a)}; g.h.Mf=function(){return!1}; g.h.Zn=function(){return new Xj}; g.h.Pd=function(){return this.Ko}; g.h.zx=function(a){return dk(this,a,1E4)}; g.h.sa=function(a,b,c,d,e,f,k){this.Rj||(this.In&&(a=this.Vq(a,c,e,k),d=d&&this.ie.vb>=(this.Ci()?.3:.5),this.Zu(f,a,d),this.Nl=b,0b?0:c}; g.h.Vr=function(a){return this.Gx(a,1E4)}; g.h.mr=function(a){return 0===this.opacity&&1===ci(this.Ya,"opac")?0:a}; g.h.Ci=function(){return!1}; g.h.Np=function(){return!1}; g.h.xf=function(){return 0}; g.h.Ei=function(){return this.Ko.Ei()};var fk="StopIteration"in g.v?g.v.StopIteration:{message:"StopIteration",stack:""};ek.prototype.next=function(){throw fk;}; ek.prototype.Zf=function(){return this};g.r(ik,Vh);mk.prototype.getValue=function(){return this.u}; mk.prototype.update=function(a,b){32<=a||(this.o&1<=a.bottom||a.left>=a.right?new nh(0,0,0,0):a;a=this.u.w;var c=0,d=0,e=0;0<(this.o.bottom-this.o.top)*(this.o.right-this.o.left)&&(this.jy(b)?b=new nh(0,0,0,0):(c=lj.getInstance().A,e=new nh(0,c.height,c.width,0),c=qj(b, this.o),d=qj(b,lj.getInstance().o),e=qj(b,e)));b=b.top>=b.bottom||b.left>=b.right?new nh(0,0,0,0):oh(b,-this.o.left,-this.o.top);oj()||(d=c=0);this.A=new sj(a,this.element,this.o,b,c,d,this.timestamp,e)}; sk.prototype.getName=function(){return this.u.getName()};var nra=new nh(0,0,0,0);g.r(tk,sk);g.h=tk.prototype;g.h.Zs=function(){this.w();return!0}; g.h.oh=function(){sk.prototype.dg.call(this)}; g.h.ow=function(){}; g.h.tn=function(){}; g.h.dg=function(){this.w();sk.prototype.dg.call(this)}; g.h.Hj=function(a){a=a.isActive();a!==this.F&&(a?this.w():(lj.getInstance().o=new nh(0,0,0,0),this.o=new nh(0,0,0,0),this.B=new nh(0,0,0,0),this.timestamp=-1));this.F=a};var Q1={},Aca=(Q1.firstquartile=0,Q1.midpoint=1,Q1.thirdquartile=2,Q1.complete=3,Q1);g.r(uk,ak);g.h=uk.prototype;g.h.Mf=function(){return!0}; g.h.zx=function(a){return dk(this,a,Math.max(1E4,this.w/3))}; g.h.Vr=function(a){return 2==this.Cc?0:ak.prototype.Gx.call(this,a,Math.max(1E4,this.w/3))}; g.h.sa=function(a,b,c,d,e,f,k){var l=this,m=this.P(this)||{};g.Sb(m,e);this.w=m.duration||this.w;this.G=m.isVpaid||this.G;this.Z=m.isYouTube||this.Z;e=wca(this,b);1===yk(this)&&(f=e);ak.prototype.sa.call(this,a,b,c,d,m,f,k);this.Gi&&this.Gi.o&&(0,g.y)(this.C,function(n){n.o||(n.o=rk(n,l))})}; g.h.Zu=function(a,b,c){ak.prototype.Zu.call(this,a,b,c);xk(this).update(a,b,this.ie,c);this.ga=jk(this.ie)&&jk(b);-1==this.V&&this.da&&(this.V=this.Pd().w.o);this.yc.w=0;a=this.Ei();b.isVisible()&&kk(this.yc,"vs");a&&kk(this.yc,"vw");jj(b.volume)&&kk(this.yc,"am");jk(b)&&kk(this.yc,"a");this.Kj&&kk(this.yc,"f");-1!=b.u&&(kk(this.yc,"bm"),1==b.u&&kk(this.yc,"b"));jk(b)&&b.isVisible()&&kk(this.yc,"avs");this.ga&&a&&kk(this.yc,"avw");0this.o.F&&(this.o=this,vj(this)),this.F=a);return 2==a}; Ja(sl);Ja(tl);ul.prototype.Gy=function(){xl(this,Sk(),!1)}; ul.prototype.A=function(){var a=oj(),b=Zi();a?(aj||(bj=b,(0,g.y)(Rk.o,function(c){var d=c.Pd();d.Z=ok(d,b,1!=c.Cc)})),aj=!0):(this.F=zl(this,b),aj=!1,Gk=b,(0,g.y)(Rk.o,function(c){c.In&&(c.Pd().G=b)})); xl(this,Sk(),!a)}; Ja(ul);var vl=ul.getInstance();var Al=null,hm="",gm=!1;var R1=Gl([void 0,1,2,3,4,8,16]),S1=Gl([void 0,4,8,16]),pra={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:Fl("p0",S1),p1:Fl("p1",S1),p2:Fl("p2",S1),p3:Fl("p3",S1),tos:"tos",mtos:"mtos",mtos1:El("mtos1",[0,2,4],!1,S1),mtos2:El("mtos2",[0,2,4],!1,S1),mtos3:El("mtos3",[0,2,4],!1,S1),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:Fl("a0",S1),a1:Fl("a1",S1),a2:Fl("a2",S1),a3:Fl("a3",S1),ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std", efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",c0:Fl("c0",S1),c1:Fl("c1",S1),c2:Fl("c2",S1),c3:Fl("c3",S1),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Fl("qmtos",R1),qnc:Fl("qnc",R1),qmv:Fl("qmv",R1),qnv:Fl("qnv",R1),raf:"raf",rafc:"rafc",lte:"lte", ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",pngs:"pings",veid:"veid",ssb:"ssb",ss0:Fl("ss0",S1),ss1:Fl("ss1",S1),ss2:Fl("ss2",S1),ss3:Fl("ss3",S1),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids",omidpv:"omidpv",omidam:"omidam",omidct:"omidct",omidia:"omidia"},qra={c:Bl("c"),at:"at",atos:El("atos", [0,2,4]),ta:function(a,b){return function(c){if(void 0===c[a])return b}}("tth","1"), a:"a",dur:"dur",p:"p",tos:Dl(),j:"dom",mtos:El("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Bl("ss"),vsv:wb("w2"),t:"t"},rra={atos:"atos",amtos:"amtos",avt:El("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Bl("ss"),t:"t"},sra={a:"a",tos:Dl(),at:"at",c:Bl("c"),mtos:El("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:wb("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},tra={tos:Dl(),at:"at",c:Bl("c"),mtos:El("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:wb("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv", qmpt:El("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if("number"===typeof d)return(0,g.Cc)(b,function(e){return 0=e?1:0})}}("qnc",[1, .5,0]),qmv:"qmv",qa:"qas",a:"a"};var Yca={PQ:"visible",UP:"audible",US:"time",VS:"timetype"},Ll={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)}, audible:function(a){return"0"==a||"1"==a}, timetype:function(a){return"mtos"==a||"tos"==a}, time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}};g.r(Ml,pk);Ml.prototype.getId=function(){return this.F}; Ml.prototype.B=function(){return!0}; Ml.prototype.w=function(a){var b=a.Pd(),c=a.getDuration();return kj(this.C,function(d){if(void 0!=d.o)var e=$ca(d,b);else b:{switch(d.B){case "mtos":e=d.u?b.B.w:b.w.o;break b;case "tos":e=d.u?b.B.o:b.w.o;break b}e=0}0==e?d=!1:(d=-1!=d.w?d.w:void 0!==c&&0=d);return d})};g.r(Nl,pk);Nl.prototype.w=function(a){var b=Sj(a.Pd().o,1);return zk(a,b)};g.r(Ol,pk);Ol.prototype.w=function(a){return a.Pd().Ei()};g.r(Rl,ada);Rl.prototype.o=function(a){var b=new Pl;b.o=Ql(a,pra);b.w=Ql(a,rra);return b};g.r(Sl,tk);Sl.prototype.w=function(){var a=g.w("ima.admob.getViewability"),b=ci(this.Ya,"queryid");g.Ma(a)&&b&&a(b)}; Sl.prototype.getName=function(){return"gsv"};g.r(Tl,Cj);Tl.prototype.getName=function(){return"gsv"}; Tl.prototype.Tl=function(){var a=lj.getInstance();Di.getInstance();return a.u&&!1}; Tl.prototype.Oo=function(a,b,c){return new Sl(this.o,b,c)};g.r(Ul,tk);Ul.prototype.w=function(){var a=this,b=g.w("ima.bridge.getNativeViewability"),c=ci(this.Ya,"queryid");g.Ma(b)&&c&&b(c,function(d){g.Mb(d)&&a.C++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.o=ij(d.opt_nativeViewBounds||{});var k=a.u.w;k.o=f?nra.clone():ij(e);a.timestamp=d.opt_nativeTime||-1;lj.getInstance().o=k.o;d=d.opt_nativeVolume;void 0!==d&&(k.volume=d)})}; Ul.prototype.getName=function(){return"nis"};g.r(Vl,Cj);Vl.prototype.getName=function(){return"nis"}; Vl.prototype.Tl=function(){var a=lj.getInstance();Di.getInstance();return a.u&&!1}; Vl.prototype.Oo=function(a,b,c){return new Ul(this.o,b,c)};g.r(Wl,uj);g.h=Wl.prototype;g.h.Wo=function(){return null!=this.u.af}; g.h.sx=function(){var a={};this.V&&(a.mraid=this.V);this.R&&(a.mlc=1);a.mtop=this.u.GO;this.C&&(a.mse=this.C);this.ba&&(a.msc=1);a.mcp=this.u.compatibility;return a}; g.h.Qh=function(a,b){for(var c=[],d=1;dthis.w?this.u:2*this.u)-this.w);a[0]=128;for(var b=1;bb;++b)for(var d=0;32>d;d+=8)a[c++]=this.o[b]>>>d&255;return a};g.r(ym,Rl);ym.prototype.o=function(a){var b=Rl.prototype.o.call(this,a);var c=rm=(0,g.H)();var d=sm(5);c=(um?!d:d)?c|2:c&-3;d=sm(2);c=(vm?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.u||(this.u=qda());b.B=this.u;b.C=Ql(a,qra,c,"h",zm("kArwaWEsTs"));b.A=Ql(a,sra,{},"h",zm("b96YPMzfnx"));b.u=Ql(a,tra,{},"h",zm("yb8Wev6QDg"));return b};Am.prototype.o=function(){return g.w(this.u)};g.r(Bm,Am);Bm.prototype.o=function(a){if(!a.pk)return Am.prototype.o.call(this,a);var b=this.A[a.pk];if(b)return function(c,d,e){b.u(c,d,e)}; Yi(393,Error());return null};g.r(Cm,dm);g.h=Cm.prototype;g.h.co=function(a,b){var c=this,d=Vk.getInstance();if(null!=d.o)switch(d.o.getName()){case "nis":var e=vda(this,a,b);break;case "gsv":e=uda(this,a,b);break;case "exc":e=wda(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=jda(this,a,b.opt_adElement,b.opt_osdId)));e&&1==e.xf()&&(e.P==g.Ia&&(e.P=function(f){return c.Yy(f)}),tda(this,e,b)); return e}; g.h.Yy=function(a){a.u=0;a.U=0;if("h"==a.A||"n"==a.A){var b;Di.getInstance();if(a.pk&&Fm(this)){var c=this.G[a.pk];c?b=function(e){return c.o(e)}:null!==c&&Yi(379,Error())}else b=g.w("ima.common.getVideoMetadata"); if(g.Ma(b))try{var d=b(a.jd)}catch(e){a.u|=4}else a.u|=2}else if("b"==a.A)if(b=g.w("ytads.bulleit.getVideoMetadata"),g.Ma(b))try{d=b(a.jd)}catch(e){a.u|=4}else a.u|=2;else if("ml"==a.A)if(b=g.w("ima.common.getVideoMetadata"),g.Ma(b))try{d=b(a.jd)}catch(e){a.u|=4}else a.u|=2;else a.u|=1;a.u||(void 0===d?a.u|=8:null===d?a.u|=16:g.Mb(d)?a.u|=32:null!=d.errorCode&&(a.U=d.errorCode,a.u|=64));null==d&&(d={});kda(d,a);jj(d.volume)&&jj(void 0)&&(d.volume*=NaN);return d}; g.h.Iw=function(){if(Fm(this))return new Bm("ima.common.triggerExternalActivityEvent",this.w,this.G);var a=xda(this);return null!=a?new Am(a,this.w):null}; g.h.uu=function(a){!a.o&&a.Rj&&km(this,a,"overlay_unmeasurable_impression")&&(a.o=!0)}; g.h.SB=function(a){a.gC&&(a.Ei()?km(this,a,"overlay_viewable_end_of_session_impression"):km(this,a,"overlay_unviewable_impression"),a.gC=!1)}; g.h.Px=function(){}; g.h.Bu=function(){}; g.h.zm=function(a,b,c,d){a=dm.prototype.zm.call(this,a,b,c,d);this.B&&(b=this.C,null==a.B&&(a.B=new qca),b.o[a.jd]=a.B,a.B.B=ora);return a}; g.h.il=function(a){a&&1==a.xf()&&this.B&&delete this.C.o[a.jd];return dm.prototype.il.call(this,a)}; Ja(Cm);var Dm=new Pl;Dm.B="stopped";Dm.o="stopped";Dm.w="stopped";Dm.C="stopped";Dm.A="stopped";Dm.u="stopped";Object.freeze(Dm);var ura=Ti(193,Hm,nm);g.Ga("Goog_AdSense_Lidar_sendVastEvent",ura,void 0);var vra=Wi(194,function(a,b){b=void 0===b?{}:b;var c=Em(Cm.getInstance(),a,b);return Gm(c)}); g.Ga("Goog_AdSense_Lidar_getViewability",vra,void 0);var wra=Ti(195,function(){return yi()},void 0); g.Ga("Goog_AdSense_Lidar_getUrlSignalsArray",wra,void 0);var xra=Wi(196,function(){return g.Jk(yi())}); g.Ga("Goog_AdSense_Lidar_getUrlSignalsList",xra,void 0);var Hea=(new Date).getTime();g.h=g.Mm.prototype;g.h.Ed=function(){Om(this);for(var a=[],b=0;b2*this.w&&Om(this),!0):!1}; g.h.get=function(a,b){return Nm(this.u,a)?this.u[a]:b}; g.h.set=function(a,b){Nm(this.u,a)||(this.w++,this.o.push(a),this.Vh++);this.u[a]=b}; g.h.forEach=function(a,b){for(var c=this.te(),d=0;d=d.o.length)throw fk;var f=d.o[b++];return a?f:d.u[f]}; return e};g.Pm.prototype.toString=function(){var a=[],b=this.B;b&&a.push(Wm(b,yra,!0),":");var c=this.o;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(Wm(b,yra,!0),"@"),a.push(bd(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.A,null!=c&&a.push(":",String(c));if(c=this.u)this.o&&"/"!=c.charAt(0)&&a.push("/"),a.push(Wm(c,"/"==c.charAt(0)?zra:Ara,!0));(c=this.w.toString())&&a.push("?",c);(c=this.C)&&a.push("#",Wm(c,Bra));return a.join("")}; g.Pm.prototype.resolve=function(a){var b=this.clone(),c=!!a.B;c?g.Qm(b,a.B):c=!!a.G;c?b.G=a.G:c=!!a.o;c?g.Rm(b,a.o):c=null!=a.A;var d=a.u;if(c)g.Sm(b,a.A);else if(c=!!a.u){if("/"!=d.charAt(0))if(this.o&&!this.u)d="/"+d;else{var e=b.u.lastIndexOf("/");-1!=e&&(d=b.u.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=cc(e,"/");e=e.split("/");for(var f=[],k=0;ka&&0===a%1&&this.u[a]!=b&&(this.u[a]=b,this.o=-1)}; qn.prototype.get=function(a){return!!this.u[a]};g.Sa(g.rn,g.A);g.h=g.rn.prototype;g.h.start=function(){this.stop();this.A=!1;var a=sn(this),b=tn(this);a&&!b&&this.u.mozRequestAnimationFrame?(this.o=Te(this.u,"MozBeforePaint",this.w),this.u.mozRequestAnimationFrame(null),this.A=!0):this.o=a&&b?a.call(this.u,this.w):this.u.setTimeout(saa(this.w),20)}; g.h.Ua=function(){this.isActive()||this.start()}; g.h.stop=function(){if(this.isActive()){var a=sn(this),b=tn(this);a&&!b&&this.u.mozRequestAnimationFrame?bf(this.o):a&&b?b.call(this.u,this.o):this.u.clearTimeout(this.o)}this.o=null}; g.h.Pe=function(){this.isActive()&&(this.stop(),this.Hx())}; g.h.isActive=function(){return null!=this.o}; g.h.Hx=function(){this.A&&this.o&&bf(this.o);this.o=null;this.C.call(this.B,(0,g.H)())}; g.h.X=function(){this.stop();g.rn.Gb.X.call(this)};g.Sa(g.I,g.A);g.h=g.I.prototype;g.h.Al=0;g.h.X=function(){g.I.Gb.X.call(this);this.stop();delete this.o;delete this.u}; g.h.start=function(a){this.stop();this.Al=g.Uf(this.w,void 0!==a?a:this.Ad)}; g.h.Ua=function(a){this.isActive()||this.start(a)}; g.h.stop=function(){this.isActive()&&g.v.clearTimeout(this.Al);this.Al=0}; g.h.Pe=function(){this.isActive()&&g.un(this)}; g.h.isActive=function(){return 0!=this.Al}; g.h.Ix=function(){this.Al=0;this.o&&this.o.call(this.u)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!g.v.requestAnimationFrame;++c)g.v.requestAnimationFrame=g.v[b+"RequestAnimationFrame"],g.v.cancelAnimationFrame=g.v[b+"CancelAnimationFrame"]||g.v[b+"CancelRequestAnimationFrame"];if(!g.v.requestAnimationFrame){var d=0;g.v.requestAnimationFrame=function(e){var f=(new Date).getTime(),k=Math.max(0,16-(f-d));d=f+k;return g.v.setTimeout(function(){e(f+k)},k)}; g.v.cancelAnimationFrame||(g.v.cancelAnimationFrame=function(e){clearTimeout(e)})}})(); var vn=[[],[]],wn=0,xn=!1,Uda=0;g.Sa(g.Fn,g.gf);g.h=g.Fn.prototype;g.h.eb=function(){return 1==this.o}; g.h.mp=function(){this.re("begin")}; g.h.pm=function(){this.re("end")}; g.h.Fc=function(){this.re("finish")}; g.h.re=function(a){this.dispatchEvent(a)};var Cra=yb(function(){if(g.he)return g.Kd("10.0");var a=g.oe("DIV"),b=g.je?"-webkit":uh?"-moz":g.he?"-ms":g.vh?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!bra.test("div"))throw Error("");if("DIV"in dra)throw Error("");c=null;var d="";if(b)for(k in b){if(!bra.test(k))throw Error("");var e=b[k];if(null!=e){var f=k;if(e instanceof Wb)e=Xb(e);else if("style"==f.toLowerCase()){if(!g.Na(e))throw Error("");e instanceof zc||(e=Fc(e));e=Ac(e)}else{if(/^on/i.test(f))throw Error(""); if(f.toLowerCase()in cra)if(e instanceof ac)e=bc(e).toString();else if(e instanceof g.tc)e=g.uc(e);else if("string"===typeof e)e=g.wc(e).xe();else throw Error("");}e.ug&&(e=e.xe());f=f+'="'+mc(String(e))+'"';d+=" "+f}}var k="":(c=Iaa(d),k+=">"+g.Qc(c).toString()+"",c=c.o());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=Vc(k,c);g.Xc(a,b);return""!=g.wh(a.firstChild,"transition")});g.Sa(Gn,g.Fn);g.h=Gn.prototype;g.h.play=function(){if(this.eb())return!1;this.mp();this.re("play");this.startTime=(0,g.H)();this.o=1;if(Cra())return g.sh(this.w,this.G),this.B=g.Uf(this.RN,void 0,this),!0;this.Wr(!1);return!1}; g.h.RN=function(){g.Nh(this.w);Xda(this.w,this.F);g.sh(this.w,this.A);this.B=g.Uf((0,g.x)(this.Wr,this,!1),1E3*this.C)}; g.h.stop=function(){this.eb()&&this.Wr(!0)}; g.h.Wr=function(a){g.sh(this.w,"transition","");g.v.clearTimeout(this.B);g.sh(this.w,this.A);this.endTime=(0,g.H)();this.o=0;a?this.re("stop"):this.Fc();this.pm()}; g.h.X=function(){this.stop();Gn.Gb.X.call(this)}; g.h.pause=function(){};var Yda={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0};var bea=In("getPropertyValue"),cea=In("setProperty");var aea={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};g.Mn.prototype.clone=function(){return new g.Mn(this.o,this.B,this.w,this.C,this.A,this.F,this.u,this.G)};g.On.prototype.u=0;g.On.prototype.reset=function(){this.o=this.w=this.A;this.u=0}; g.On.prototype.getValue=function(){return this.w};Qn.prototype.clone=function(){return new Qn(this.start,this.end)}; Qn.prototype.getLength=function(){return this.end-this.start};(function(){if(yT){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Ic))?a[1]:"0"}return MG?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Ic))?a[0].replace(/_/g,"."):"10"):g.Iy?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Ic))?a[1]:""):era||fra||gra?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Ic))?a[1].replace(/_/g,"."):""):""})();var iea=function(){if(g.hu)return Rn(/Firefox\/([0-9.]+)/);if(g.he||g.wu||g.vh)return Jd;if(g.Dt)return Fd()?Rn(/CriOS\/([0-9.]+)/):Rn(/Chrome\/([0-9.]+)/);if(g.oz&&!Fd())return Rn(/Version\/([0-9.]+)/);if(Sy||TB){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Ic);if(a)return a[1]+"."+a[2]}else if(g.Ky)return(a=Rn(/Android\s+([0-9.]+)/))?a:Rn(/Version\/([0-9.]+)/);return""}();g.Sa(g.Tn,g.A);g.h=g.Tn.prototype;g.h.subscribe=function(a,b,c){var d=this.u[a];d||(d=this.u[a]=[]);var e=this.B;this.o[e]=a;this.o[e+1]=b;this.o[e+2]=c;this.B=e+3;d.push(e);return e}; g.h.unsubscribe=function(a,b,c){if(a=this.u[a]){var d=this.o;if(a=g.Xa(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Ai(a)}return!1}; g.h.Ai=function(a){var b=this.o[a];if(b){var c=this.u[b];0!=this.A?(this.w.push(a),this.o[a+1]=g.Ia):(c&&g.db(c,a),delete this.o[a],delete this.o[a+1],delete this.o[a+2])}return!!b}; g.h.S=function(a,b){var c=this.u[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e=c.length)throw fk;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; g.h.clear=function(){this.o.clear()}; g.h.key=function(a){return this.o.key(a)};g.Sa(co,bo);g.Sa(eo,bo);g.Sa(go,ao);var lea={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},fo=null;g.h=go.prototype;g.h.isAvailable=function(){return!!this.o}; g.h.set=function(a,b){this.o.setAttribute(ho(a),b);io(this)}; g.h.get=function(a){a=this.o.getAttribute(ho(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; g.h.remove=function(a){this.o.removeAttribute(ho(a));io(this)}; g.h.Zf=function(a){var b=0,c=this.o.XMLDocument.documentElement.attributes,d=new ek;d.next=function(){if(b>=c.length)throw fk;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; g.h.clear=function(){for(var a=this.o.XMLDocument.documentElement,b=a.attributes.length;0=b)){if(1==b)bb(a);else{a[0]=a.pop();a=0;b=this.o;for(var d=b.length,e=b[a];a>1;){var f=2*a+1,k=2*a+2;f=ke.o)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}}; g.h.Ed=function(){for(var a=this.o,b=[],c=a.length,d=0;dc;c++)b+=this.u[c]||0;3<=b&&this.I();this.A=d}this.B=a;this.C=this.o;this.w=(this.w+1)%4}}; Qp.prototype.X=function(){window.clearInterval(this.P);g.Fp(this.G)};g.r(Up,Fea);Up.prototype.start=function(){var a=g.w("yt.scheduler.instance.start");a&&a()}; Up.prototype.pause=function(){var a=g.w("yt.scheduler.instance.pause");a&&a()}; Ja(Up);Up.getInstance();var aq={};var cq=g.w("ytLoggingGelSequenceIdObj_")||{};g.Ga("ytLoggingGelSequenceIdObj_",cq,void 0);var tq=new function(){var a=window.document;this.o=window;this.u=a}; g.Ga("yt.ads_.signals_.getAdSignalsString",function(a){return jq(vq(a))},void 0);(0,g.H)();var wq=void 0!==XMLHttpRequest?function(){return new XMLHttpRequest}:void 0!==ActiveXObject?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;var zq={Authorization:"AUTHORIZATION","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","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"},Kea="app debugcss debugjs expflag force_ad_params force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" "), Gq=!1,Sla=Aq;Pq.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.o)try{this.o.set(a,b,(0,g.H)()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(g.Jk(b))}catch(f){return}else e=escape(b);g.Mq(a,e,c,this.u)}; Pq.prototype.get=function(a,b){var c=void 0,d=!this.o;if(!d)try{c=this.o.get(a)}catch(e){d=!0}if(d&&(c=Nq(a))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; Pq.prototype.remove=function(a){this.o&&this.o.remove(a);g.Oq(a,"/",this.u)};new Pq;g.Qq.prototype.isReady=function(){!this.o&&Jq()&&(this.o=Kq());return!!this.o};g.r(Sq,Error);var Xq=new Set,Vq=0;Yq.prototype.initialize=function(a,b,c,d,e,f){var k=this;f=void 0===f?!1:f;b?(this.wc=!0,g.To(b,function(){k.wc=!1;if(window.botguard)Zq(k,c,d,f);else{var l=Uo(b),m=document.getElementById(l);m&&(So(l),m.parentNode.removeChild(m));g.Uq(new Sq("Unable to load Botguard","from "+b))}},e)):a&&(eval(a),window.botguard?Zq(this,c,d,f):g.Uq(Error("Unable to load Botguard from JS")))}; Yq.prototype.dispose=function(){this.o=null};var Uea=[],ar=!1;var fr={},Xea=0;g.r(gr,Ta);jr.prototype.then=function(a,b,c){return 1===this.u&&a?(a=a.call(c,this.o),xf(a)?a:lr(a)):2===this.u&&b?(a=b.call(c,this.o),xf(a)?a:kr(a)):this}; jr.prototype.getValue=function(){return this.o}; jr.prototype.$goog_Thenable=!0;g.r(nr,Ta);nr.prototype.name="BiscottiError";g.r(mr,Ta);mr.prototype.name="BiscottiMissingError";var pr={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},or=null;var Zea=g.xo("html5_disable_client_tmp_logs");var vr=g.w("ytglobal.prefsUserPrefsPrefs_")||{};g.Ga("ytglobal.prefsUserPrefsPrefs_",vr,void 0);g.h=wr.prototype;g.h.get=function(a,b){Ar(a);zr(a);var c=void 0!==vr[a]?vr[a].toString():null;return null!=c?c:b?b:""}; g.h.set=function(a,b){Ar(a);zr(a);if(null==b)throw Error("ExpectedNotNull");vr[a]=b.toString()}; g.h.remove=function(a){Ar(a);zr(a);delete vr[a]}; g.h.save=function(){g.Mq(this.o,this.dump(),63072E3)}; g.h.clear=function(){g.Nb(vr)}; g.h.dump=function(){var a=[],b;for(b in vr)a.push(b+"="+encodeURIComponent(String(vr[b])));return a.join("&")}; Ja(wr);var afa=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]),dfa={"/youtuberedoriginals":!0,"/originals":!0},cfa=["/fashion","/channel/UCrpQ4p1Ql_hG8rKXIKM1MOQ","/channel/UCTApTkbpcqiLL39WUlne4ig","/channel/UCW5PCzG3KQvbOX4zc3KY0lQ"];g.r(g.Gr,g.A);g.Gr.prototype.L=function(a,b,c,d,e){c=Fo((0,g.x)(c,d||this.Md));c={target:a,name:b,Fb:c};var f;e&&Hra()&&(f={passive:!0});a.addEventListener(b,c.Fb,f);this.Z.push(c);return c}; g.Gr.prototype.bb=function(a){for(var b=0;bthis.Un()?(this.o.appendWindowEnd=b,this.o.appendWindowStart=a):(this.o.appendWindowStart=a,this.o.appendWindowEnd=b)}; g.h.Sr=function(){return this.C}; g.h.Mp=function(a){aE?this.C=a:this.supports(1)&&(this.o.timestampOffset=a)}; g.h.Bb=function(){return aE?this.C:this.supports(1)?this.o.timestampOffset:0}; g.h.ud=function(a){if(void 0===a?0:a)return this.u||this.Sd()||(this.F=this.ud(!1),this.u=!0),this.F;try{return this.o.buffered}catch(b){return Mt([],[])}}; g.h.Sd=function(){return this.o.updating}; g.h.vi=function(){return this.w}; g.h.Vn=function(){return this.P}; g.h.Xu=function(a,b){this.I!=a&&(this.supports(4),this.o.changeType(b));this.I=a}; g.h.Or=function(){return this.B}; g.h.isView=function(){return!1}; g.h.supports=function(a){switch(a){case 1:return void 0!=this.o.timestampOffset;case 0:return!!this.o.appendBuffer;case 2:return!!this.o.remove;case 3:return!(!this.o.addEventListener||!this.o.removeEventListener);case 4:return!!this.o.changeType;default:return!1}}; g.h.Xq=function(){return!this.Sd()}; g.h.isLocked=function(){return!1}; g.h.Za=function(a){a.to=""+this.o.timestampOffset;a.up=""+ +this.Sd();a.aw=(this.o.appendWindowStart||0).toFixed(3)+"-"+(this.o.appendWindowEnd||Infinity).toFixed(3);try{a.bu=Nt(this.o.buffered)}catch(b){}return Ps(a)}; g.h.X=function(){this.supports(3)&&(this.o.removeEventListener("updateend",this.A),this.o.removeEventListener("error",this.A));g.O.prototype.X.call(this)};g.r(Vt,g.O);g.h=Vt.prototype;g.h.appendBuffer=function(a,b,c){if(this.o.Un()!=this.C+this.u||this.o.Jr()!=this.B+this.u||this.o.Bb()!=this.A+this.u)this.o.supports(1),this.o.Cu(this.C+this.u,this.B+this.u),this.o.Mp(this.A+this.u);this.o.appendBuffer(a,b,c)}; g.h.abort=function(){this.o.abort()}; g.h.remove=function(a,b){this.o.remove(a+this.u,b+this.u)}; g.h.Cu=function(a,b){this.C=a;this.B=b}; g.h.Sr=function(){return this.A+this.u}; g.h.Un=function(){return this.C}; g.h.Jr=function(){return this.B}; g.h.Mp=function(a){this.A=a}; g.h.Bb=function(){return this.A}; g.h.ud=function(a){a=this.o.ud(void 0===a?!1:a);return Tt(a,this.u,this.G)}; g.h.Sd=function(){return this.o.Sd()}; g.h.vi=function(){return this.o.vi()}; g.h.Vn=function(){return this.o.Vn()}; g.h.Xu=function(a,b){return this.o.Xu(a,b)}; g.h.supports=function(a){return this.o.supports(a)}; g.h.Or=function(){return this.o.Or()}; g.h.isView=function(){return!0}; g.h.Xq=function(){return this.o.Xq()?this.w:!1}; g.h.isLocked=function(){return this.F&&!this.w}; g.h.Za=function(a){return this.o.Za(a)+(";vw."+this.u+"-"+this.G)}; g.h.X=function(){Kr(this.o,this.I);g.O.prototype.X.call(this)}; g.h.isActive=function(){return this.w}; g.h.setActive=function(a){this.w=a;this.F=this.F||this.w};Wt.prototype.dispose=function(){if(!this.ea){if(this.u)try{URL.revokeObjectURL(this.o)}catch(a){}this.w=!0}}; Wt.prototype.ea=function(){return this.w}; Wt.prototype.toString=function(){return"MediaResource {"+this.o+"}"};g.r(Xt,g.A);g.h=Xt.prototype;g.h.getDuration=function(){return this.w.duration}; g.h.isView=function(){return this.C}; g.h.Sd=function(){return!!(this.o&&this.o.Sd()||this.u&&this.u.Sd())}; g.h.kN=function(){!this.ea()&&Yt(this)&&this.A&&(this.A(this),this.A=null)}; g.h.jN=function(){this.dispose()};var Jra={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},V1;a:{var W1=g.Ic;W1=W1.toLowerCase();if(-1!=W1.indexOf("android")){var Kra=W1.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(Kra){var Lra=parseFloat(Kra[1]);if(100>Lra){V1=Lra;break a}}var Mra=W1.match("("+g.Gb(Jra).join("|")+")");V1=Mra?Jra[Mra[0]]:0}else V1=void 0}var Py=V1,Oy=0<=Py;eu.prototype.canPlayType=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;nl?c=c||Nra[b]:2.2==Py?c=c||Ora[b]:el()&&(c=c||Pra[b]);return!!c}; eu.prototype.disableAv1=function(){this.G=!0}; var Ora={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Pra={"application/x-mpegURL":"maybe"},Nra={"application/x-mpegURL":"maybe"};g.h=xu.prototype;g.h.ge=function(){return this.og}; g.h.em=function(){return null}; g.h.nx=function(){var a=this.em();return a?+g.mq(a.o).expire:NaN}; g.h.zu=function(){}; g.h.getHeight=function(){return this.og.ya().height};zu.prototype.isLocked=function(){return this.w&&!!this.u&&this.u==this.o}; zu.prototype.A=function(a){return a.video?Gu(this,a.video.quality):!1}; var UJ=Bu("auto","hd1080",!1,"l"),zG=Bu("auto","large",!1,"l"),Du=Bu("auto","auto",!1,"p");Bu("small","auto",!1,"p");var QS={BP:"ad",SP:"annotations_module",TP:"attribution",rQ:"creatorendscreen",EQ:"embed",IQ:"endscreen",TQ:"fresca",gR:"heartbeat",BR:"kids",KR:"remote",MR:"miniplayer",QR:"music",SUBTITLES:"captions",KD:"unplugged",eT:"ux",iT:"visualizer",jT:"webgl",oT:"ypc",pT:"ypc_clickwrap",qT:"yto",cT:""};var X1={},Qra=(X1["api.invalidparam"]=2,X1.auth=150,X1["drm.auth"]=150,X1["heartbeat.net"]=150,X1["heartbeat.servererror"]=150,X1["heartbeat.stop"]=150,X1["html5.unsupportedads"]=5,X1["fmt.noneavailable"]=5,X1["fmt.decode"]=5,X1["fmt.unplayable"]=5,X1["html5.missingapi"]=5,X1["html5.unsupportedlive"]=5,X1["drm.unavailable"]=5,X1);var sM=16/9,Rra=[.25,.5,.75,1,1.25,1.5,1.75,2],Sra=Rra.concat([3,4,5,6,7,8,9,10,15]);var Ku=1;g.r(g.Mu,g.A);g.h=g.Mu.prototype; g.h.createElement=function(a,b){b=b||"svg"===a.D;var c=a.H,d=a.Y;if(b){var e=document.createElementNS("http://www.w3.org/2000/svg",a.D);g.nz&&(a.O||(a.O={}),a.O.focusable="false")}else e=g.oe(a.D);if(c){if(c=Ou(this,e,"class",c))Pu(this,e,"class",c),this.o[c]=e}else if(d){c=g.q(d);for(var f=c.next();!f.done;f=c.next())this.o[f.value]=e;Pu(this,e,"class",d.join(" "))}d=a.W;c=a.J;if(d)d=Ou(this,e,"child",d),void 0!==d&&e.appendChild(g.pe(d));else if(c)for(d=0,c=g.q(c),f=c.next();!f.done;f=c.next())if(f= f.value)if("string"===typeof f)f=Ou(this,e,"child",f),null!=f&&e.appendChild(g.pe(f));else if(f.element)e.appendChild(f.element);else{var k=f;f=this.createElement(k,b);e.appendChild(f);k.Na&&(k=Lu(),f.id=k,f=document.createElementNS("http://www.w3.org/2000/svg","use"),f.setAttribute("class","ytp-svg-shadow"),f.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+k),g.se(e,f,d++))}if(d=a.O)for(c=e,f=g.q(Object.keys(d)),k=f.next();!k.done;k=f.next()){k=k.value;var l=d[k];Pu(this,c,k,"string"=== typeof l?Ou(this,c,k,l):l)}return e}; g.h.ca=function(a,b){"number"===typeof b?g.se(a,this.element,b):a.appendChild(this.element)}; g.h.update=function(a){for(var b=g.q(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,this.la(c,a[c])}; g.h.la=function(a,b){var c=this.Qa["{{"+a+"}}"];c&&Pu(this,c[0],c[1],b)}; g.h.X=function(){this.o={};this.Qa={};g.Nu(this);g.A.prototype.X.call(this)};g.r(g.R,g.Mu);g.h=g.R.prototype;g.h.qb=function(a,b){this.la(b||"content",a)}; g.h.show=function(){this.ha||(g.sh(this.element,"display",""),this.ha=!0)}; g.h.hide=function(){this.ha&&(g.sh(this.element,"display","none"),this.ha=!1)}; g.h.Xa=function(a){this.P=a}; g.h.Ha=function(){return this.ha}; g.h.ka=function(a,b,c){return this.L(this.element,a,b,c)}; g.h.L=function(a,b,c,d){c=(0,g.x)(c,d||this);d={target:a,type:b,listener:c};this.listeners.push(d);a.addEventListener(b,c);return d}; g.h.bb=function(a){var b=this;this.listeners.forEach(function(c,d){if(c===a){var e=b.listeners.splice(d,1)[0];e.target.removeEventListener(e.type,e.listener)}})}; g.h.focus=function(){Be(this.element);this.element.focus()}; g.h.X=function(){for(;this.listeners.length;){var a=this.listeners.pop();a&&a.target.removeEventListener(a.type,a.listener)}g.Mu.prototype.X.call(this)};g.r(g.Ru,g.R);g.Ru.prototype.subscribe=function(a,b,c){return this.ba.subscribe(a,b,c)}; g.Ru.prototype.unsubscribe=function(a,b,c){return this.ba.unsubscribe(a,b,c)}; g.Ru.prototype.Eh=function(a){return this.ba.Eh(a)}; g.Ru.prototype.S=function(a,b){for(var c=[],d=1;d=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{mo:b,ij:c}}; g.h.isFocused=function(a){return a>=this.w&&athis.info.Oa||4==this.info.type)return!0;var b=xw(this),c=b.getUint32(0,!1);b=b.getUint32(4,!1);a.infotype=this.info.type.toString();a.slicesize=c.toString();a.boxtype=b.toString();if(2==this.info.type)return c==this.info.Oa&&1936286840==b;if(3==this.info.type&&0==this.info.w)return 1836019558==b||1936286840== b||1937013104==b||1718909296==b||1701671783==b||1936419184==b}else if(2==this.info.o.info.containerType){if(4>this.info.Oa||4==this.info.type)return!0;c=xw(this).getUint32(0,!1);a.ebm=c.toString();if(3==this.info.type&&0==this.info.w)return 524531317==c||440786851==c}return!0};var Kw={Ru:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}, qz:function(a){a.reverse()}, OM:function(a,b){a.splice(0,b)}};var Kla=/^https?:\/\/([^.]*\.moatads\.com\/|e[0-9]+\.yt\.srs\.doubleverify\.com|pagead2\.googlesyndication\.com\/pagead\/gen_204\?id=yt3p&sr=1&|pm\.adsafeprotected\.com\/youtube|pm\.test-adsafeprotected\.com\/youtube|youtube[0-9]+\.moatpixel\.com\/)/,Pw=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https:\/\/([a-z]+\.)?[0-9a-f]{1,63}\.sslproxy\.corp\.google\.com\/|^https:\/\/([a-z]+\.)?[a-z0-9\-]{1,63}\.demos\.corp\.google\.com\/|^https:\/\/[0-9a-f]{1,63}\.proxy\.googleprod\.com\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(-nocookie|kids)?\.com\/|([A-Za-z0-9-]{1,63}\.)*(youtube\.googleapis\.com)(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.([a-z]{3}|i)\.corp\.google\.com(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.c\.googlers\.com(:[0-9]+)?\/|(docs|drive)\.google\.com\/(a\/[^/\\%]+\/|)|(tv|tv-green-qa|tv-release-qa)\.youtube\.com\/|[A-Za-z0-9-]+\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/, Lla=/^https?:\/\/(www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/slav)/,$fa=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|currents\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubekids\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?(\/(?!url\b)|$))/, yja=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|youtube\.com|youtubekids\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?(\/(?!url\b)|$))/,Yfa=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|(ccp-lh\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(play-(ti-)?lh\.googleusercontent)|(gz0\.googleusercontent)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|currents\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|ytimg\.sandbox\.google\.com|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?(\/(?!url\b)|$)|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/, Mla=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,Zfa=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion))|www\.youtube\.com\/pagead\/conversion)/,Xfa=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|(ccp-lh\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(play-(ti-)?lh\.googleusercontent)|(gz0\.googleusercontent)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|play\.google\.com|prod\.google\.com|lh3\.photos\.google\.com|plus\.google\.com|currents\.google\.com|mail\.google\.com|youtube\.com|xfx7\.com|yt\.akamaized\.net|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?(\/(?!url\b)|$)|([A-Za-z0-9-]{1,63}\.)*c\.lh3(-d[a-gz]|-testonly)?\.(googleusercontent|photos\.google)\.com\/.*$)/, Nga=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|borg\.google\.com|googleads\.g\.doubleclick\.net|prod\.google\.com|static\.doubleclick\.net|static\.googleadsserving\.cn|studioapi\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|ytimg\.com|ytimg\.sandbox\.google\.com)(:[0-9]+)?\/|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/, Mga=/^https:\/\/([A-Za-z0-9-]{1,63}\.)*(crowdsource|datacompute)\.google\.com\/|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com(\/(?!url\b)|$)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com(\/|$)|^https:\/\/canvastester-3fd0b\.appspot\.com(\/|$)|^https:\/\/narrative-news-cast-receiver-d\.appspot\.com(\/|$)|^https:\/\/narrative-news-cast-receiver-f\.appspot\.com(\/|$)|^https:\/\/one\.google\.com\/storage\/management|^https:\/\/www\.gstatic\.com\/aog_howto|^https:\/\/www\.gstatic\.com\/narrative_cast_receiver\/news|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|proxy\.googleprod\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|photos\.google\.com|get\.google\.com|class\.photos\.google\.com|plus\.google\.com|currents\.google\.com|books\.googleusercontent\.com|play\-books\-autopush\-sandbox\.googleusercontent\.com|play\-books\-canary\-sandbox\.googleusercontent\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|play\-books\-staging\-sandbox\.googleusercontent\.com|blogger\.com|mail\.google\.com|talkgadget\.google\.com|survey\.g\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|vevo\.com|jamboard\.google\.com|chat\.google\.com|meet\.google\.com|stadia\.google\.com)(:[0-9]+)?(\/|$)|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?(\/(?!url\b)|$)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/, Ura=/^(https\:\/\/play\.google\.com|https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/class\.photos\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/currents\.google\.com|https\:\/\/mail\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com|https\:\/\/chat\.google\.com|https\:\/\/stadia\.google\.com|https\:\/\/one\.google\.com)$|^http:\/\/[0-9]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^https:\/\/((staging|stream|today)\.)?meet\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*(crowdsource|datacompute)\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sandbox\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com$|^https:\/\/(books|play-books-(autopush|canary|internal|staging)-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|(www\.)?daily\.alpha|(www\.)?weekly\.alpha|(www\.)?dev\.sandbox|(www\.)?autopush\.sandbox|(www\.)?restore\.sandbox)\.blogger\.com$|^https:\/\/[0-9a-f]{1,63}\.proxy\.googleprod\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*c\.googlers\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*corp\.google\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*googleplex\.com(:[0-9]+)?$|(www\.|encrypted\.)google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))$|[A-Za-z0-9-]+\.prod\.google\.com(:[0-9]+)?$|docs\.google\.com$)/, Vra=/^(https\:\/\/googleads\.g\.doubleclick\.net)$/;var Nw=!1;Xw.prototype.set=function(a,b){this.o[a]!==b&&(this.o[a]=b,this.url="")}; Xw.prototype.get=function(a){Yw(this);return this.o[a]||null}; Xw.prototype.jc=function(){this.url||(this.url=aga(this));return this.url}; Xw.prototype.clone=function(){var a=new Xw(this.u);a.w=this.w;a.path=this.path;a.A=this.A;a.o=g.Pb(this.o);a.url=this.url;return a};fx.prototype.set=function(a,b){this.Ie.get(a);this.o[a]=b;this.url=""}; fx.prototype.get=function(a){return this.o[a]||this.Ie.get(a)}; fx.prototype.jc=function(){this.url||(this.url=dga(this));return this.url};lx.prototype.ee=function(){return bw(this.o[0])};g.h=qx.prototype;g.h.ce=function(){}; g.h.Ll=function(){}; g.h.cd=function(){return!!this.o&&this.index.Hb()}; g.h.Cg=function(){}; g.h.Vy=function(){return!1}; g.h.Bj=function(){}; g.h.Li=function(){}; g.h.hh=function(){}; g.h.pg=function(){}; g.h.ho=function(){}; g.h.Wy=function(a){return[a]}; g.h.Ip=function(a){return[a]}; g.h.xp=function(){}; g.h.Wn=function(){};g.r(rx,qx);g.h=rx.prototype;g.h.ce=function(){return!1}; g.h.Ll=function(){return!1}; g.h.Vy=function(){return this.F}; g.h.Bj=function(){if(this.F)return[];var a=new aw(1,this,this.initRange,"getMetadataRequestInfos");return[new lx([a],this.R)]}; g.h.Li=function(){return null}; g.h.hh=function(a){this.Cg(a);return this.Ni(a.A?a.u+1:a.u,!1)}; g.h.pg=function(a,b){b=void 0===b?!1:b;var c=this.index.Re(a);b&&(c=Math.min(this.index.jb(),c+1));return this.Ni(c,!0)}; g.h.ho=function(a){this.o=new Uint8Array(xw(a).buffer)}; g.h.Cg=function(a){return 0==a.Oa?!0:this.index.jb()>a.u&&this.index.Qe()<=a.u+1}; g.h.update=function(a,b,c){this.index.append(a);Yu(this.index,c);this.G=b}; g.h.cd=function(){return this.F?!0:qx.prototype.cd.call(this)}; g.h.Ni=function(a,b){var c=this.index.Rr(a),d=this.index.gd(a),e=this.index.getDuration(a),f;b?e=f=0:f=0c&&(this.segments=this.segments.slice(b))}}; g.h.rl=function(a){if(!this.u)return g.Xu.prototype.rl.call(this,a);if(!this.segments.length)return null;var b=this.segments[this.segments.length-1];if(a=b.endTime)b=b.La+Math.floor((a-b.endTime)/this.o+1);else{b=qb(this.segments,function(d){return a=d.endTime?1:0}); if(0<=b)return this.segments[b];var c=-(b+1);b=this.segments[c-1];c=this.segments[c];b=Math.floor((a-b.endTime)/((c.startTime-b.endTime)/(c.La-b.La-1))+1)+b.La}return this.mg(b)}; g.h.mg=function(a){if(!this.u)return g.Xu.prototype.mg.call(this,a);if(!this.segments.length)return null;var b=wx(this,a);if(0<=b)return this.segments[b];var c=-(b+1);b=this.o;if(0==c)var d=Math.max(0,this.segments[0].startTime-(this.segments[0].La-a)*b);else c==this.segments.length?(d=this.segments[this.segments.length-1],d=d.endTime+(a-d.La-1)*b):(d=this.segments[c-1],c=this.segments[c],d=d.endTime+(c.startTime-d.endTime)/(c.La-d.La-1)*(a-d.La-1));return new Wu(a,d,b,0,"sq/"+a,void 0,void 0,!0)};g.r(yx,rx);g.h=yx.prototype;g.h.Ll=function(){return!0}; g.h.cd=function(){return!0}; g.h.Cg=function(a){if(a.C)return!1;if(this.U&&-1a.B;return!a.M||b&&c}return!0}; g.h.Bj=function(){return[]}; g.h.pg=function(a,b){if("number"===typeof a&&!isFinite(a)){var c=new aw(3,this,null,"mlLiveGetReqInfoStubForTime",-1,void 0,this.Ee,void 0,this.Ee*this.info.o);return new lx([c],"")}return rx.prototype.pg.call(this,a,b)}; g.h.Ni=function(a,b){var c=void 0===c?!1:c;if(xx(this.index,a))return rx.prototype.Ni.call(this,a,b);var d=this.index.gd(a),e=b?0:this.Ee*this.info.o,f=!b;c=new aw(c?6:3,this,null,"mlLiveCreateReqInfoForSeg",a,d,void 0,void 0,e,a==this.index.jb()&&!this.G&&0a.u&&this.index.Qe()<=a.u+1}; g.h.Wn=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0}; g.h.xp=function(){return!1};g.h=g.Gx.prototype;g.h.bp=function(a){return this.u[a]}; g.h.gd=function(a){return this.w[a]/this.B}; g.h.bo=ba(0);g.h.qt=function(){return NaN}; g.h.getDuration=function(a){a=this.mx(a);return 0<=a?a/this.B:-1}; g.h.mx=function(a){return a+1=this.jb())return 0;for(var c=0,d=this.gd(a)+b,e=a;ethis.gd(e);e++)c=Math.max(c,(e+1=this.index.bp(c+1);)c++;return Jx(this,c,b,a.Oa).o}; g.h.Cg=function(a){return this.cd()?!0:isNaN(this.F)?!1:a.range.end+1this.F&&(c=new Xv(c.start,this.F-1));c=[new aw(4,a.o,c,"getNextRequestInfoByLength")];return new lx(c)}4==a.type&&(c=this.Ip(a),a=c[c.length-1]);c=0;var d=a.range.start+a.w+a.Oa;3==a.type&&(c=a.u,d==a.range.end+1&&(c+=1));return Jx(this,c,d,b)}; g.h.hh=function(){return null}; g.h.pg=function(a,b){var c=this.index.Re(a);b&&(c=Math.min(this.index.jb(),c+1));return Jx(this,c,this.index.bp(c),0)}; g.h.ce=function(){return!0}; g.h.Ll=function(){return!1}; g.h.Wn=function(){return this.indexRange.length+this.initRange.length}; g.h.xp=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};g.r(Mx,g.O);g.h=Mx.prototype;g.h.yg=function(){return Cb(this.o,function(a){return a.info.video?2==a.info.video.projectionType:!1})}; g.h.zg=function(){return Cb(this.o,function(a){return a.info.video?3==a.info.video.projectionType:!1})}; g.h.tg=function(){return Cb(this.o,function(a){return a.info.video?4==a.info.video.projectionType:!1})}; g.h.Oj=function(){return Cb(this.o,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})}; g.h.QN=function(a){var b=a.getElementsByTagName("Representation");if(0this.F&&this.oa;this.ba=parseInt(zx(a,Wx(this,"earliestMediaSequence")),10)|| 0;if(b=Date.parse(Cx(zx(a,Wx(this,"mpdResponseTime")))))this.G=((0,g.H)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.ti)(a.getElementsByTagName("Period"),this.QN,this);this.C=2;this.S("loaded");ay(this);return this}; g.h.tF=function(a){this.R=a.Ji.status;this.C=3;this.S("loaderror");return Ef(a.Ji)}; g.h.refresh=function(){if(1!=this.C&&!this.ea()){var a=g.yd(this.sourceUrl,{start_seq:Bga(this).toString()});Lf(Zx(this,a),function(){})}}; g.h.resume=function(){ay(this)}; g.h.sc=function(){var a=this.o,b=!1,c=NaN,d=NaN,e;for(e in a){var f=a[e],k=f.index;k.Hb()&&(f.w&&(b=!0),k=k.gh(),f.info.audio&&(isNaN(c)||k=this.u&&(this.A=!0);for(;c--;)this.values[this.valueIndex]=b,this.valueIndex=(this.valueIndex+1)%this.u;this.C=!0}; py.prototype.o=function(){return this.F?(qy(this,this.B-this.F)+qy(this,this.B)+qy(this,this.B+this.F))/3:qy(this,this.B)};var Lga=/^([0-9\.]+):([0-9\.]+)$/;var Gy="area120-boutique blogger books docs duo google-live google-one play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.r(cz,g.A);g.h=cz.prototype;g.h.fa=function(a){return g.P(this.experiments,a)}; g.h.Kd=function(a,b){b=void 0===b?!1:b;this.Ea=Dy(this.Ea,a.video_id);this.rb=Dy(this.rb,a.eventid);var c=[],d;for(d in Wra){var e=Wra[d],f=a[e];void 0!=f&&(f!=this.deviceParams[e]&&c.push(e),this.deviceParams[e]=f)}!b&&0'}; g.h.supportsGaplessAudio=function(){return g.Dt&&!nl&&74<=bl()||g.hu&&g.Kd(68)?!0:!1}; var Wra={cQ:"cbrand",dQ:"cbr",eQ:"cbrver",tR:"c",wR:"cver",vR:"ctheme",uR:"cplayer",NR:"cmodel",RR:"cnetwork",WR:"cos",XR:"cosver",dS:"cplatform"},Qga=["www.youtube-nocookie.com","youtube.googleapis.com"];vz.prototype.clone=function(a){return new vz(this.flavor,a,this.u,this.B)}; vz.prototype.Za=function(){return{flavor:this.flavor,keySystem:this.o}}; vz.prototype.ge=function(){switch(this.o){case "com.youtube.playready":return"PRY";case "com.microsoft.playready":return"PRM";case "com.widevine.alpha":return"WVA";case "com.youtube.widevine.l3":return"WVY";case "com.youtube.widevine.forcehdcp":return"WVYF";case "com.youtube.fairplay":return"FPY";case "com.apple.fps.1_0":return"FPA";default:return this.o}}; var Z1={},Dz=(Z1.playready=["com.youtube.playready","com.microsoft.playready"],Z1.widevine=["com.youtube.widevine.forcehdcp","com.youtube.widevine.l3","com.widevine.alpha"],Z1);Ez.prototype.getAvailableAudioTracks=function(){return this.audioTracks};g.r(Iz,g.A);Iz.prototype.I=function(){(this.F=!this.F&&"widevine"==this.u[this.o[0]].flavor)||this.o.shift();Jz(this)}; Iz.prototype.P=function(a,b){this.ea()||(a.keySystemAccess=b,aha(this,a),this.w.push(a),g.P(this.B,"html5_drm_fallback_to_playready_on_retry")||this.G?(this.o.shift(),Jz(this)):this.C(this.w))};g.r(Nz,xu);Nz.prototype.nx=function(){return this.w}; Nz.prototype.em=function(){if(!this.o||this.o.ea()){var a=this.u;fha(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.o)var d=a.o;else{d="";for(var e=g.q(a.w),f=e.next();!f.done;f=e.next())if(f=f.value,f.tb){if(f.tb.getIsDefault()){d=f.tb.getId();break a}d||(d=f.tb.getId())}}e=g.q(a.w);for(f=e.next();!f.done;f=e.next())f=f.value,f.tb&&f.tb.getId()!==d||(c[f.itag]=f);d=g.q(a.u);for(e=d.next();!e.done;e=d.next())e=e.value,e.audioItag&&b.push(eha(a,c[e.audioItag],e));d=g.q(a.u);for(e=d.next();!e.done;e= d.next())if(e=e.value,e.audioItag){f=a;var k=c[e.audioItag];b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(e.bitrate+k.bitrate)+',CODECS="'+(e.codecs+","+k.codecs+'",RESOLUTION=')+(e.width+"x"+e.height+',AUDIO="')+(Lz(k,e)+'",CLOSED-CAPTIONS=NONE'));b.push(Kz(f,e.url,""))}a="data:application/x-mpegurl;charset=utf-8,"+encodeURIComponent(b.join("\n"));this.o=new Wt(a)}return this.o};g.r(Pz,xu);Pz.prototype.em=function(){return new Wt(this.o.jc())}; Pz.prototype.zu=function(){this.o=bx(this.o)};g.r(Qz,xu);Qz.prototype.em=function(){return new Wt(this.o)};var Sz={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},Vz={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};var $1={},hC=($1.AD_MARKER="ytp-ad-progress",$1.CHAPTER_MARKER="ytp-chapter-marker",$1.TIME_MARKER="ytp-time-marker",$1);var a2={},mha=(a2.ALWAYS=1,a2.BY_REQUEST=3,a2),b2={},Eha=(b2.COLOR_PRIMARIES_BT709="bt709",b2.COLOR_PRIMARIES_BT2020="bt2020",b2),c2={},Fha=(c2.COLOR_TRANSFER_CHARACTERISTICS_BT709="bt709",c2.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10="bt2020",c2.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084="smpte2084",c2.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67="arib-std-b67",c2),d2={},cA=(d2.FAIRPLAY="fairplay",d2.PLAYREADY="playready",d2.WIDEVINE="widevine",d2),e2={},Jha=(e2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN= "UNKNOWN",e2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL="NORMAL",e2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW="LOW",e2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW="ULTRALOW",e2),f2={},Bha=(f2.UNKNOWN=0,f2.RECTANGULAR=1,f2.EQUIRECTANGULAR=2,f2.EQUIRECTANGULAR_THREED_TOP_BOTTOM=3,f2.MESH=4,f2),g2={},Dha=(g2.SPATIAL_AUDIO_TYPE_NONE=0,g2.SPATIAL_AUDIO_TYPE_AMBISONICS_5_1=1,g2.SPATIAL_AUDIO_TYPE_AMBISONICS_QUAD=2,g2.SPATIAL_AUDIO_TYPE_FOA_WITH_NON_DIEGETIC=3,g2),h2={},Cha=(h2.STEREO_LAYOUT_UNKNOWN= 0,h2.STEREO_LAYOUT_LEFT_RIGHT=1,h2.STEREO_LAYOUT_TOP_BOTTOM=2,h2),i2={},Aha=(i2.FORMAT_STREAM_TYPE_UNKNOWN=0,i2.FORMAT_STREAM_TYPE_OTF=3,i2);var j2;var Xra=g.Ic,Yra=Xra.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!Yra||2>Yra.length)j2=void 0;else{var k2=Xra.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);j2=k2&&6==k2.length?Number(k2[5].replace("_",".")):0}var UB=j2,gQ=0<=UB;gQ&&0<=g.Ic.search("Safari")&&g.Ic.search("Version");g.r(fA,hs);g.r(gA,hs);var Mha=new is("aft-recorded",fA),QA=new is("timing-sent",gA);var l2=window,MA=l2.performance||l2.mozPerformance||l2.msPerformance||l2.webkitPerformance||new Lha;var pA=!1,Nha=(0,g.x)(MA.clearResourceTimings||MA.webkitClearResourceTimings||MA.mozClearResourceTimings||MA.msClearResourceTimings||MA.oClearResourceTimings||g.Ia,MA);var wA=g.w("ytLoggingLatencyUsageStats_")||{};g.Ga("ytLoggingLatencyUsageStats_",wA,void 0);uA.prototype.tick=function(a,b,c){xA(this,"tick_"+a+"_"+b)||g.Rq("latencyActionTicked",{tickName:a,clientActionNonce:b},{timestamp:c})}; uA.prototype.info=function(a,b){var c=Object.keys(a).join("");xA(this,"info_"+c+"_"+b)||(a.clientActionNonce=b,g.Rq("latencyActionInfo",a))}; uA.prototype.span=function(a,b){var c=Object.keys(a).join("");xA(this,"span_"+c+"_"+b)||(a.clientActionNonce=b,g.Rq("latencyActionSpan",a))};var m2={},DA=(m2.ad_to_ad="LATENCY_ACTION_AD_TO_AD",m2.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",m2.app_startup="LATENCY_ACTION_APP_STARTUP",m2["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",m2["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",m2["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",m2.browse="LATENCY_ACTION_BROWSE",m2.channels="LATENCY_ACTION_CHANNELS",m2.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",m2["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS", m2["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",m2["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",m2["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",m2["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",m2["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",m2["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",m2["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",m2.chips="LATENCY_ACTION_CHIPS",m2["dialog.copyright_strikes"]= "LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",m2["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",m2.embed="LATENCY_ACTION_EMBED",m2.home="LATENCY_ACTION_HOME",m2.library="LATENCY_ACTION_LIBRARY",m2.live="LATENCY_ACTION_LIVE",m2.onboarding="LATENCY_ACTION_KIDS_ONBOARDING",m2.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",m2.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",m2.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",m2.prebuffer= "LATENCY_ACTION_PREBUFFER",m2.prefetch="LATENCY_ACTION_PREFETCH",m2.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",m2.profile_switcher="LATENCY_ACTION_KIDS_PROFILE_SWITCHER",m2.results="LATENCY_ACTION_RESULTS",m2.search_ui="LATENCY_ACTION_SEARCH_UI",m2.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",m2.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",m2.settings="LATENCY_ACTION_SETTINGS",m2.tenx="LATENCY_ACTION_TENX",m2.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",m2.watch="LATENCY_ACTION_WATCH", m2.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",m2["watch,watch7"]="LATENCY_ACTION_WATCH",m2["watch,watch7_html5"]="LATENCY_ACTION_WATCH",m2["watch,watch7ad"]="LATENCY_ACTION_WATCH",m2["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",m2.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",m2.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",m2["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",m2["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",m2["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT", m2["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",m2["video.video_editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",m2["video.video_editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",m2["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",m2.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",m2.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",m2),n2={},IA=(n2.ad_allowed="adTypesAllowed",n2.yt_abt="adBreakType",n2.ad_cpn="adClientPlaybackNonce", n2.ad_docid="adVideoId",n2.yt_ad_an="adNetworks",n2.ad_at="adType",n2.browse_id="browseId",n2.p="httpProtocol",n2.t="transportProtocol",n2.cpn="clientPlaybackNonce",n2.ccs="creatorInfo.creatorCanaryState",n2.cseg="creatorInfo.creatorSegment",n2.csn="clientScreenNonce",n2.docid="videoId",n2.GetHome_rid="requestIds",n2.GetSearch_rid="requestIds",n2.GetPlayer_rid="requestIds",n2.GetWatchNext_rid="requestIds",n2.GetBrowse_rid="requestIds",n2.GetLibrary_rid="requestIds",n2.is_continuation="isContinuation", n2.is_nav="isNavigation",n2.b_p="kabukiInfo.browseParams",n2.is_prefetch="kabukiInfo.isPrefetch",n2.is_secondary_nav="kabukiInfo.isSecondaryNav",n2.prev_browse_id="kabukiInfo.prevBrowseId",n2.query_source="kabukiInfo.querySource",n2.voz_type="kabukiInfo.vozType",n2.yt_lt="loadType",n2.mver="creatorInfo.measurementVersion",n2.yt_ad="isMonetized",n2.nr="webInfo.navigationReason",n2.nrsu="navigationRequestedSameUrl",n2.ncnp="webInfo.nonPreloadedNodeCount",n2.pnt="performanceNavigationTiming",n2.prt= "playbackRequiresTap",n2.plt="playerInfo.playbackType",n2.pis="playerInfo.playerInitializedState",n2.paused="playerInfo.isPausedOnLoad",n2.yt_pt="playerType",n2.fmt="playerInfo.itag",n2.yt_pl="watchInfo.isPlaylist",n2.yt_pre="playerInfo.preloadType",n2.yt_ad_pr="prerollAllowed",n2.pa="previousAction",n2.yt_red="isRedSubscriber",n2.rce="mwebInfo.responseContentEncoding",n2.scrh="screenHeight",n2.scrw="screenWidth",n2.st="serverTimeMs",n2.aq="tvInfo.appQuality",n2.br_trs="tvInfo.bedrockTriggerState", n2.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",n2.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",n2.label="tvInfo.label",n2.is_mdx="tvInfo.isMdx",n2.preloaded="tvInfo.isPreloaded",n2.upg_player_vis="playerInfo.visibilityState",n2.query="unpluggedInfo.query",n2.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",n2.yt_vst="videoStreamType",n2.vph="viewportHeight",n2.vpw="viewportWidth",n2.yt_vis="isVisible",n2.rcl="mwebInfo.responseContentLength",n2.GetSettings_rid="requestIds", n2.GetTrending_rid="requestIds",n2.GetMusicSearchSuggestions_rid="requestIds",n2.REQUEST_ID="requestIds",n2),Oha="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized navigationRequestedSameUrl performanceNavigationTiming playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "),o2={},JA=(o2.ccs="CANARY_STATE_",o2.mver="MEASUREMENT_VERSION_", o2.pis="PLAYER_INITIALIZED_STATE_",o2.yt_pt="LATENCY_PLAYER_",o2.pa="LATENCY_ACTION_",o2.yt_vst="VIDEO_STREAM_TYPE_",o2),Pha="all_vc ap c cver cbrand cmodel cplatform ctheme ei l_an l_mm plid srt yt_fss yt_li vpst vpni2 vpil2 icrc icrt pa GetAccountOverview_rid GetHistory_rid cmt d_vpct d_vpnfi d_vpni nsru pc pfa pfeh pftr pnc prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis ytu_pvis yt_ref yt_sts tds".split(" ");if(g.xo("overwrite_polyfill_on_logging_lib_loaded")){var p2=window;p2.ytcsi&&(p2.ytcsi.info=GA,p2.ytcsi.tick=HA)};g.r(RA,g.O);RA.prototype.ti=function(a,b){for(var c=SA(this,b);0<=c;){var d=this.levels[c];if(d.Hb(Math.floor(a/(d.columns*d.rows)))&&(d=d.ti(a)))return d;c--}return this.levels[0].ti(a)}; RA.prototype.I=function(a,b){null!==this.o&&(this.o=this.o.onload=null);var c=this.levels[a];c.loaded.add(b);TA(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.Lr()-1);e=[e,c];this.S("l",e[0],e[1])}; RA.prototype.X=function(){this.o&&(this.o=this.o.onload=null);g.O.prototype.X.call(this)};g.h=g.VA.prototype;g.h.Yc=function(){return this.width}; g.h.getHeight=function(){return this.height}; g.h.tx=ba(2);g.h.Lr=function(){return this.w}; g.h.isDefault=function(){return-1!==this.A.indexOf("default")}; g.h.Hb=function(a){return this.loaded.has(a)}; g.h.jc=function(a){var b=this.B;b=b.replace("$N",this.A);b=b.replace("$L",this.level.toString());b=b.replace("$M",a.toString());this.signature&&(b=g.yd(b,{sigh:this.signature}));return Ww(b)}; g.h.ti=function(a){a>=this.nt()&&this.cm();var b=Math.floor(a/(this.columns*this.rows)),c=this.columns*this.rows,d=a%c;a=d%this.columns;d=Math.floor(d/this.columns);var e=this.cm()+1-c*b;if(ek.getHeight())&&c.push(k)}return c}; WA.prototype.B=function(a,b,c,d){return new g.VA(a,b,c,d)};g.r(YA,g.VA);g.h=YA.prototype;g.h.Lr=function(){return this.u.Cj()}; g.h.Yo=function(a){var b=this.rows*this.columns*this.C,c=this.u,d=c.jb();a=c.Re(a);return a>d-b?-1:a}; g.h.cm=function(){return this.u.jb()}; g.h.nt=function(){return this.u.Qe()}; g.h.iz=function(a){this.u=a};g.r(ZA,WA);ZA.prototype.u=function(a,b){return WA.prototype.u.call(this,"$N|"+a,b)}; ZA.prototype.B=function(a,b,c){return new YA(a,b,c,this.isLive)};g.r(g.aB,g.O);g.h=g.aB.prototype;g.h.Kd=function(a,b){b?($A(this,a),EB(this)&&uB(this)):(a=a||{},dB(this,a),cB(this,a),this.S("dataupdated"))}; g.h.N=function(){return this.Pa}; g.h.fa=function(a){return g.P(this.Pa.experiments,a)}; g.h.Qc=function(){return!this.va||this.allowLiveDvr}; g.h.lo=function(){return!!(this.xa&&this.xa.videoInfos&&this.xa.videoInfos.length)}; g.h.jG=function(a){for(var b=g.q(a),c=b.next();!c.done;c=b.next())switch(c=c.value,c.flavor){case "fairplay":c.Oe=this.Oe;c.Mn=this.Mn;c.Ln=this.Ln;break;case "widevine":c.Rm=this.Rm}this.rk=a;0=this.xa.videoInfos.length)&&(a=ht(this.xa.videoInfos[0]),a!=("fairplay"==this.uc.flavor)))for(b=g.q(this.rk),c=b.next();!c.done;c=b.next())if(c=c.value,a==("fairplay"==c.flavor)){this.uc=c;break}}; g.h.Gu=function(a){this.Gg=a;this.Hu(new Ez((0,g.Cc)(this.Gg,function(b){return b.ge()})))}; g.h.Wc=function(){var a={};this.Ba&&(a.fmt=ct(this.Ba),this.Vb&&ct(this.Vb)!=ct(this.Ba)&&(a.afmt=ct(this.Vb)));a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.fi&&(a.infringe=1);this.sh&&(a.splay=1);var b=BB(this);b&&(a.live=b);this.Lh&&(a.autoplay=1);this.Cp&&(a.sdetail=this.Cp);this.De&&(a.partnerid=this.De);this.osid&&(a.osid=this.osid);this.Zh&&(a.als=this.Zh);return a}; g.h.ue=function(){var a=g.lz(this.Pa)||this.fa("web_l3_storyboard");if(!this.Ik)if(this.Da&&this.Da.storyboards){var b=this.Da.storyboards,c=b.playerStoryboardSpecRenderer;c&&c.spec?this.Ik=new WA(c.spec,this.lengthSeconds,void 0,!1,a):(b=b.playerLiveStoryboardSpecRenderer)&&b.spec&&this.ia&&(c=Eb(this.ia.o).index)&&(this.Ik=new ZA(b.spec,this.ia.isLive,c,a))}else this.Qp?this.Ik=new WA(this.Qp,this.lengthSeconds,void 0,!1,a):this.Do&&this.ia&&(b=Eb(this.ia.o).index)&&(this.Ik=new ZA(this.Do,this.ia.isLive, b,a));return this.Ik}; g.h.getStoryboardFormat=function(){if(this.Da&&this.Da.storyboards){var a=this.Da.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.Qp||this.Do}; g.h.sc=function(){return this.ia&&!isNaN(this.ia.sc())?this.ia.sc():qB(this)?0:this.lengthSeconds}; g.h.Ab=function(){return this.ia&&!isNaN(this.ia.Ab())?this.ia.Ab():0}; g.h.getPlaylistSequenceForTime=function(a){if(this.ia&&this.Ba){var b=this.ia.o[this.Ba.id];if(!b)return null;var c=b.index.Re(a);b=b.index.gd(c);return{sequence:c,elapsed:Math.floor(1E3*(a-b))}}return null}; g.h.isValid=function(){return!this.ea()&&!(!this.videoId&&!this.Ak)}; g.h.Hb=function(){return EB(this)&&!this.di&&!this.Sj}; g.h.tc=function(a){if(30==this.De)return(a=this.gf["default.jpg"])?a:this.videoId?g.yd("//docs.google.com/vt",{id:this.videoId,authuser:this.Nc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif";a||(a="hqdefault.jpg");var b=this.gf[a];return b||this.Pa.P||"pop1.jpg"==a||"pop2.jpg"==a||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a?b:gz(this.Pa,this.videoId,a)}; g.h.Ef=function(){return this.va||this.ze||this.yo||!(!this.liveUtcStartSeconds||!this.Ql)}; g.h.Ml=function(){return!!this.ia&&(this.ia.Ml||!this.ze&&!this.va&&this.ia.w)}; g.h.getAvailableAudioTracks=function(){return this.xa?0=c.Gg.length)c=!1;else{for(var d=g.q(c.Gg),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof Nz)){c=!1;break a}var f=a.tb.getId();e.u&&(e.u.o=f,e.o=null)}c.Cm=a;c=!0}}c&&(b.S("internalaudioformatchange",b.T,!0),BJ(b)&&b.Ra("hlsaudio", a.id))}}; g.h.FE=function(){return this.getAvailableAudioTracks()}; g.h.getAvailableAudioTracks=function(){return g.W(this.app,this.playerType).getAvailableAudioTracks()}; g.h.getMaxPlaybackQuality=function(){var a=g.W(this.app,this.playerType);return a&&a.getVideoData().Ba?Fu(a.P?LG(a.U,a.P,SJ(a)):Du):"unknown"}; g.h.getUserPlaybackQualityPreference=function(){var a=g.W(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"}; g.h.getSubtitlesUserSettings=function(){var a=g.zL(this.app.A);return a?a.hF():null}; g.h.resetSubtitlesUserSettings=function(){g.zL(this.app.A).oO()}; g.h.setMinimized=function(a){this.app.setMinimized(a)}; g.h.setGlobalCrop=function(a){this.app.G.setGlobalCrop(a)}; g.h.getVisibilityState=function(){var a=this.app.N();a=this.app.I.o&&!g.P(a.experiments,"kevlar_miniplayer_disable_vis");return this.app.getVisibilityState(this.Mi(),this.isFullscreen()||Qy(this.app.N()),a,this.isInline(),this.app.I.B,this.app.I.A)}; g.h.isMutedByMutedAutoplay=function(){return this.app.Qa}; g.h.isInline=function(){return this.app.isInline()}; g.h.setInternalSize=function(a,b){this.app.G.setInternalSize(new g.Sd(a,b))}; g.h.Bb=function(){var a=g.W(this.app,void 0);return a?a.Bb():0}; g.h.Mi=function(){var a=g.W(this.app,this.playerType);return!!a&&a.M.u}; g.h.isFullscreen=function(){return this.app.isFullscreen()}; g.h.setSafetyMode=function(a){this.app.N().enableSafetyMode=a}; g.h.canPlayType=function(a){return this.app.canPlayType(a)}; g.h.updatePlaylist=function(a){if(a){var b=this.getPlaylistId(),c=!1;if(b&&b!=a.list)if(this.fa("player_enable_playback_playlist_change"))c=!0;else return;void 0!==a.external_list&&this.app.setIsExternalPlaylist(a.external_list);var d=a.video;(b=this.app.getPlaylist())&&!c?this.isFullscreen()&&((c=d[b.index])&&c.encrypted_id!=b.ya().videoId||(a.index=b.index)):VS(this.app,{list:a.list,index:a.index,playlist_length:d.length});sC(this.app.getPlaylist(),a);this.na("onPlaylistUpdate")}else this.app.updatePlaylist()}; g.h.updateVideoData=function(a,b){var c=g.W(this.app,this.playerType||1);c&&c.getVideoData().Kd(a,b)}; g.h.updateEnvironmentData=function(a){this.app.N().Kd(a,!1)}; g.h.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)}; g.h.setCardsVisible=function(a,b,c){var d=g.XK(this.app.A);d&&d.Vl()&&d.setCardsVisible(a,b,c)}; g.h.setInline=function(a){this.app.setInline(a)}; g.h.isAtLiveHead=function(a){return this.app.isAtLiveHead(void 0,void 0===a?!0:a)}; g.h.getVideoAspectRatio=function(){return this.app.G.getVideoAspectRatio()}; g.h.getPreferredQuality=function(){var a=g.W(this.app);return a?a.getPreferredQuality():"unknown"}; g.h.setPlaybackQualityRange=function(a,b){var c=g.W(this.app,this.playerType);if(c){var d=Bu(a,b||a,!0,"m");c.T.gq=d;if(c.P){var e=c.P;if(e.xa.o){var f=g.Xs[gy()];e=e.xa.videoInfos[0].ya().fc;f>e&&0!=e&&d.o==e||g.Ds("yt-player-quality",Fu(d),2592E3)}}WJ(c)}}; g.h.onAdUxClicked=function(a){this.S("aduxclicked",a)}; g.h.S=function(a,b){for(var c=1;c=this.start&&(aUB?.1:0,Pka=new uC;uC.prototype.o=null;uC.prototype.getDuration=function(){return this.duration||0}; uC.prototype.getCurrentTime=function(){return this.currentTime||0}; uC.prototype.u=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.r(g.vC,g.A);g.h=g.vC.prototype;g.h.Gp=function(){}; g.h.gj=ba(5);g.h.Uo=function(){return this.w}; g.h.ak=function(a){var b="";a&&(xC(this,a),b=a.o);this.Xc()&&""==b||(b&&this.Xc()!=b&&this.Lp(b),uS||a&&a.u||this.load(),this.F||(this.addEventListener("volumechange",this.Cw),this.F=!0))}; g.h.To=function(){var a=this.ua();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new Jt(a);a=new Xt(a);this.ak(a.Sl);return a}; g.h.playVideo=function(){this.Bf()&&this.seekTo(0);!this.Xc()&&this.w&&(g.M(Error("playVideo without src")),this.Lp(this.w.o),this.w.u||this.load());var a=this.play();!a&&wS&&gQ&&7<=UB&&g.Op(this,"playing",(0,g.x)(function(){g.Ho((0,g.x)(this.dx,this,this.getCurrentTime(),0),500)},this)); return a}; g.h.dx=function(a,b){this.Dh()||this.getCurrentTime()>a||10UB&&(a=Math.max(.1,a)),this.Kp(a))}; g.h.stopVideo=function(){this.Xc()&&(vS&&nl&&0this.status&&!!this.u}; g.h.Te=function(){if(this.I)return!!this.o.getLength();var a=this.policy.u;if(a&&this.G+a>Date.now())return!1;a=this.tl()||0;a=Math.max(16384,.125*a);this.P||(a=Math.max(a,16384));this.policy.nd&&tx(this)&&(a=1);return this.o.getLength()>=a}; g.h.Ro=function(){this.Te();this.G=Date.now();this.P=!0;var a=this.o;this.o=new kw;return a}; g.h.Ss=function(){this.Te();return this.o}; g.h.ea=function(){return this.aborted}; g.h.abort=function(){this.w&&this.w.cancel("Cancelling");this.A&&this.A.abort();this.aborted=!0}; g.h.Up=function(){return!0}; g.h.ru=function(){return this.C}; g.h.Zj=function(){return this.errorMessage};g.h=rD.prototype;g.h.Ij=function(){return 2<=this.o.readyState}; g.h.dd=function(a){try{return this.o.getResponseHeader(a)}catch(b){return g.M(b),""}}; g.h.tl=function(){return+this.dd("content-length")}; g.h.Qo=function(){return this.u}; g.h.ko=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength}; g.h.Te=function(){return this.w&&!!this.response&&!!this.response.byteLength}; g.h.Ro=function(){this.Te();var a=this.response;this.response=void 0;return new kw([new Uint8Array(a)])}; g.h.Ss=function(){this.Te();return new kw([new Uint8Array(this.response)])}; g.h.abort=function(){this.ea=!0;this.o.abort()}; g.h.Up=function(){return!1}; g.h.ru=function(){return!1}; g.h.Zj=function(){return""};g.h=sD.prototype;g.h.jc=function(){return this.A?this.A.jc():""}; g.h.start=function(a){AD(this,2);this.R=++sD.o;this.w?(this.M=gga(this.info,this.w.u,this.w.length),this.A=g.ox(this.info,this.u,this.Z,this.M)):(this.M=this.info.range,this.A=g.ox(this.info,this.u,this.Z));var b=!1;if(this.u.Ka&&2>this.info.u.u&&this.I){var c=this.A.get("aitags");if(c&&(nx(this.info)||this.info.ee())&&this.aa&&"auto"==gy()&&ky()){var d=cd(c).split(","),e=[];(0,g.y)(this.aa,function(f){g.$a(d,f)&&e.push(f)}); 0d.o&&4E12>a?a:(0,g.H)();iD(d,a,b);50>a-d.A&&jD(d)&&3!==cD(d)||gD(d,a,b,c);b=this.timing;b.u>b.oa&&dD(b,b.u)&&4>this.state?AD(this,4):FD(this)&&HD(this)&&AD(this,Math.max(3,this.state))}}; g.h.KN=function(){if(!this.ea()&&this.o){if(!this.U&&this.o.Ij()&&this.o.dd("X-Walltime-Ms")){var a=parseInt(this.o.dd("X-Walltime-Ms"),10);this.U=((0,g.H)()-a)/1E3}this.o.Ij()&&this.o.dd("X-Restrict-Formats-Hint")&&this.u.Bv&&!ky()&&g.Ds("yt-player-headers-readable",!0,2592E3);if(a=parseInt(this.o.dd("X-Head-Seqnum"),10))this.ba=a}}; g.h.eI=function(){var a=this.o;!this.ea()&&a&&(this.V.stop(),this.C=a.status,a=yia(this,a),7==a?BD(this):AD(this,a))}; g.h.kO=function(){if(!this.ea()){var a=(0,g.H)(),b=!1;jD(this.timing)?(a=this.timing.I,mD(this.timing),this.timing.I-a>=.8*this.u.P?(this.F++,b=5<=this.F):this.F=0):(b=this.timing,b.Gf&&lD(b,(0,g.H)()),a-=b.P,this.u.qd&&01E3*this.u.Ic);this.F&&this.G&&this.G(this);b?ED(this,!1):this.V.start()}}; g.h.ea=function(){return-1==this.state}; g.h.dispose=function(){this.info.ee()&&6!=this.state&&(this.info.o[0].o.B=!1);AD(this,-1);this.G=null;this.V.dispose();this.u.pc||DD(this)}; sD.DEBUG=!1;sD.o=0;var zD=-1;LD.prototype.skip=function(a){this.offset+=a};g.r(OD,g.O);OD.prototype.getDuration=function(){return this.w.index.gh()};gE.prototype.getDuration=function(){return this.o.index.gh()};HE.prototype.setPlaybackRate=function(a){this.w=Math.max(1,a)}; HE.prototype.getPlaybackRate=function(){return this.w};g.r(ME,g.O);ME.prototype.seek=function(a){a!=this.A&&(this.C=0);this.A=a;var b=this.u.u,c=this.o.u,d=this.o.F,e=OE(this.u,a,this.u.F);d=OE(this.o,this.I.ha?a:e,d);a=Math.max(a,e,d);this.w=!0;this.B.u&&(NE(this.u,b),NE(this.o,c));return a}; var Fia=2/24;SE.prototype.ya=function(){this.md("gv")}; SE.prototype.md=function(a,b){this.B[a]=b?window.performance.timing.navigationStart+b:(0,g.N)()};g.r(TE,g.O);TE.prototype.G=function(a,b){var c=this.C.o.index.jb()<=b,d=this.F.u&&this.B.Qa;this.o={td:a,La:b};this.B.Qa&&this.A&&this.u&&(this.A=!1,"continue"!=a.event&&"stop"!=a.event||UE(this,this.u));this.u&&this.u.La==b&&(this.u=null);if(c||d)this.B.yb&&(a.startSecs+=isNaN(this.w)?0:this.w),c=this.F,c.M.push(a),c.S("cuepointsadded")};dF.prototype.send=function(){g.Eq(this.o,{format:"RAW",responseType:"arraybuffer",timeout:1E4,Fc:this.u,Ud:this.u,context:this});this.w=(0,g.N)()}; dF.prototype.u=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:(((0,g.N)()-this.w)/1E3).toFixed(3),shost:g.od(this.o),trigger:this.C};204==a.status||a.response?this.A&&this.A(Ps(b)):this.B(new Os("pathprobe.net",!1,b))};g.r(eF,g.O);g.r(oF,g.A);oF.prototype.reset=function(){this.started=!1;this.B.stop();this.o.o=[];this.w=[];this.u()}; oF.prototype.u=function(){this.C=!0;if(!this.F){for(var a=3;this.C&&a;)this.C=!1,this.F=!0,Zia(this),this.F=!1,a--;this.G().eb()&&(a=mF(this.o,this.A),!isNaN(a)&&0x7ffffffffffff>a&&(a=(a-this.A)/this.R(),this.B.start(a)))}}; oF.prototype.X=function(){this.w=[];this.o.o=[];g.A.prototype.X.call(this)};g.r(yF,g.O);g.h=yF.prototype; g.h.initialize=function(a,b,c){a=a||0;this.S("videoformatchange",Oia(this.F));if(this.B.u){if(this.o.po){b=ux(this.o);for(var d in this.B.o)this.B.o[d].index.A=b}dja(this)}this.G&&fF(this.G,this.u.o);this.o.aa&&sx()&&this.Dc("streaming","ac."+!!window.AbortController,!0);d=isNaN(this.C)?0:this.C;this.C=this.B.u?d:a;c?(this.o.Uc?(this.nb=c,AF(this,c)):AF(this,!1),this.Ia.Ua()):(a=0==this.C,WF(this,this.u,this.u.o,a),WF(this,this.A,this.A.o,a),Lf(this.seek(this.C),function(){}),this.da.ya()); (this.B.Hd||this.B.Bg)&&this.Dc("minMaxSq","minSq."+this.B.Hd+";maxSq"+this.B.Bg)}; g.h.resume=function(){if(this.ba||this.ha)this.za=this.ha=this.ba=!1,this.Hf()}; g.h.setAudioTrack=function(a){if(!this.ea()){var b=this.F;b.w=b.C.o[a.id];b.P=b.w;this.S("audioformatchange",new VC(b.P,b.B,"m"));this.S("reattachrequired")}}; g.h.setPlaybackRate=function(a){a!=this.P.getPlaybackRate()&&this.P.setPlaybackRate(a)}; g.h.IM=function(a){if(3!=a.state||!this.o.Xb||!(!this.w||this.ba||wE(a.info.o[0].o.info.video?this.u:this.A,this.C)>this.o.Xb)){var b=this.o.qd;if(!(!(b&&2<=a.state)||5<=a.state||a.F(0,g.N)()||OF(this,a,!1)}}}}}; g.h.Hf=function(){FF(this);if(this.w&&Yt(this.w)&&!this.w.Sd()){var a=iE(this.u);a=this.o.gn&&a&&a.C;this.B.isLive&&!a?isNaN(this.M)?(this.M=this.C+3600,Zt(this.w,this.M)):this.M<=this.C+1800&&(this.M=Math.max(this.M+1800,this.C+3600),Zt(this.w,this.M)):this.w.isView()||(a=Math.max(this.A.getDuration(),this.u.getDuration()),(!isFinite(this.M)||this.M!=a)&&0=c||cthis.w&&(this.w=c,g.Mb(this.o)||(this.o={},this.A.stop(),this.u.stop())),this.o[b]=a,this.u.Ua())}}; $F.prototype.B=function(){for(var a in this.o)this.S("rotated_need_key_info_ready",new JD(pja(this.o[a],this.w,a),"fairplay",!0));this.o={}};var t2={},$ra=(t2.DRM_TRACK_TYPE_AUDIO="AUDIO",t2.DRM_TRACK_TYPE_SD="SD",t2.DRM_TRACK_TYPE_HD="HD",t2.DRM_TRACK_TYPE_UHD1="UHD1",t2);g.r(dG,g.A);dG.prototype.B=function(a){this.ea()||(0!=a.status&&a.response?(HA("drm_net_r"),a=new Uint8Array(a.response),(a=cG(a))?this.w(a):this.o(this,"drm.net","t.p")):this.A(a))}; dG.prototype.A=function(a){this.ea()||this.o(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)}; dG.prototype.F=function(a){if(!this.ea()){HA("drm_net_r");var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;if(a.license)try{c=g.eg(a.license)}catch(n){}if(0!=b||c){c=new bG(b,c);0!=b&&a.reason&&(c.errorMessage=a.reason);if(a.authorizedFormats){b={};for(var d=[],e={},f=g.q(a.authorizedFormats),k=f.next();!k.done;k=f.next())if(k=k.value,k.trackType&&k.keyId){var l=$ra[k.trackType];if(l){"HD"==l&&a.isHd720&&(l="HD720");b[l]||(d.push(l),b[l]=!0);var m=null;try{m=g.eg(k.keyId)}catch(n){}m&&(e[g.bg(m, 4)]=l)}}c.o=d;c.u=e}a.nextFairplayKeyId&&(c.nextFairplayKeyId=a.nextFairplayKeyId);a=c}else a=null;a?this.w(a):this.o(this,"drm.net","t.p;p.i")}}; dG.prototype.C=function(a){this.ea()||(a=a.error,this.o(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.r(eG,g.A);g.h=eG.prototype;g.h.kI=function(a){if(this.C){var b=a.messageType||"license-request";this.C.call(this.w,new Uint8Array(a.message),b)}}; g.h.lI=function(){this.I&&this.I.call(this.w,this.o.keyStatuses)}; g.h.lA=function(a,b){g.M(b);if(this.A){var c=a;b instanceof DOMException&&(c+=";n."+b.name+";m."+b.message);this.A.call(this.w,c)}}; g.h.GK=function(){this.ea()||dl("xboxone")&&this.A&&this.A.call(this.w,"closed")}; g.h.SA=function(a){this.C&&this.C.call(this.w,a.message,"license-request")}; g.h.RA=function(a){if(this.A){if(this.u){var b=this.u.error.code;a=this.u.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.A.call(this.w,"t.prefixedKeyError;c."+b+";sc."+a)}}; g.h.QA=function(){this.G&&this.G.call(this.w)}; g.h.update=function(a){if(this.o)return this.o.update(a).then(null,Fo((0,g.x)(this.lA,this,"t.update")));this.u?this.u.update(a):this.F.addKey?this.F.addKey(this.M.o,a,this.P,this.sessionId):this.F.webkitAddKey(this.M.o,a,this.P,this.sessionId);return lr()}; g.h.X=function(){this.o&&this.o.close();this.F=null;g.A.prototype.X.call(this)};g.r(gG,g.A);g.h=gG.prototype;g.h.createSession=function(a,b){var c=a.initData;if(this.o.keySystemAccess){b&&b("createsession");var d=this.C.createSession();"com.youtube.fairplay"==this.o.o&&(c=iG(c,this.o.Oe));b&&b("genreq");c=d.generateRequest(a.contentType,c);d=new eG(null,null,null,d,null);c.then(function(){b&&b("genreqsuccess")},Fo((0,g.x)(d.lA,d,"t.generateRequest"))); return d}if(xz(this.o))return uja(this,c);if(Az(this.o))return tja(this,c);this.u.generateKeyRequest?this.u.generateKeyRequest(this.o.o,c):this.u.webkitGenerateKeyRequest(this.o.o,c);return this.A=new eG(this.u,this.o,c,null,null)}; g.h.oI=function(a){var b=jG(this,a);b&&b.SA(a)}; g.h.nI=function(a){var b=jG(this,a);b&&b.RA(a)}; g.h.mI=function(a){var b=jG(this,a);b&&b.QA(a)}; g.h.X=function(){g.A.prototype.X.call(this);delete this.u};var u2={},Bja=(u2.widevine="DRM_SYSTEM_WIDEVINE",u2.fairplay="DRM_SYSTEM_FAIRPLAY",u2.playready="DRM_SYSTEM_PLAYREADY",u2);g.r(lG,g.O);g.h=lG.prototype; g.h.iI=function(a,b){if(!this.ea()){kG(this,"onkmtyp"+b);if(!g.P(this.w.experiments,"html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":Aja(this,a);return;default:this.S("ctmp","message_type","t."+b+";l."+a.byteLength)}this.P||(HA("drm_gk_f"),this.P=!0,this.S("newsession",this));if(yz(this.u)){var c=nG(a);if(!c)return;a=c}Bz(this.u)&&!this.T.useInnertubeDrmService()&&(a=Av(g.bg(a)));c=new dG(a,++this.U, (0,g.x)(this.mL,this),(0,g.x)(this.lL,this));g.B(this,c);pG(this,c)}}; g.h.gI=function(){this.ea()||(kG(this,"onkyadd"),this.F||(this.S("sessionready"),this.F=!0))}; g.h.jI=function(a){var b=this;this.ea()||0>=a.size||(a.forEach(function(c,d){var e=yz(b.u)?d:c,f=new Uint8Array(yz(b.u)?c:d);yz(b.u)&&sG(f);var k=g.bg(f,4);sG(f);f=g.bg(f,4);b.o[k]?b.o[k].status=e:b.o[f]?b.o[f].status=e:b.o[k]={type:"",status:e}}),kG(this,"onkeystatuschange"),this.S("keystatuseschange",this))}; g.h.hI=function(a){this.ea()||mG(this,"drm.keyerror",!0,a)}; g.h.mL=function(a){var b=this;if(!this.ea())if(kG(this,"onlcsrsp"),0!=a.statusCode)mG(this,"drm.auth",!0,"t.f;c."+a.statusCode,a.errorMessage||void 0);else{HA("drm_kr_s");if(g.P(this.w.experiments,"outertube_streaming_data_always_use_staging_license_service")&&a.heartbeatParams&&a.heartbeatParams.url){var c=this.u.u.match(/(.*)youtube.com/g);c&&(a.heartbeatParams.url=c[0]+a.heartbeatParams.url)}a.heartbeatParams&&this.S("newlicense",a.heartbeatParams);a.o&&(this.C=a.o,this.M=kj(this.C,function(d){return d.includes("HDR")})); a.u&&(this.o=Bb(a.u,function(d){return{type:d,status:"unknown"}})); Az(this.u)&&(a.message=g.eg(Bv(a.message)));this.A&&(kG(this,"updtks"),this.A.update(a.message).then(function(){HA("drm_kr_f");if(!oG(b))if(kG(b,"ksApiUnsup"),zz(b.u)){var d=qG(b.C);480=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}c=!1}c=!c}c?c=0:(c=a.o,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.o.push({time:b+c,info:a});this.u.Ua(c)};g.r(BG,g.O);g.h=BG.prototype;g.h.ua=function(){return this.P}; g.h.pI=function(a){AG(this,"onecpt");EG(this,new Uint8Array(a.initData),a.initDataType)}; g.h.TL=function(a){AG(this,"onndky");EG(this,a.initData,a.contentType)}; g.h.yL=function(){var a=this;if(!this.ea())if(!g.P(this.u.experiments,"html5_drm_set_server_cert")||g.$y(this.u)&&!g.gl())HG(this);else{var b=sja(this.M);b?b.then(Fo(function(c){SB(a.T)&&a.S("ctmp","ssc",c)}),Fo(function(c){a.S("ctmp","ssce","n."+c.name+";m."+c.message)})).then(Fo(function(){return HG(a)})):HG(this)}}; g.h.mK=function(a){if(!this.ea()){g.M(a);var b="t.a";a instanceof DOMException&&(b+=";n."+a.name+";m."+a.message);this.S("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}}; g.h.Zv=function(a){this.A.push(a);DG(this)}; g.h.MA=function(a){this.ea()||(AG(this,"onnelcswhb"),a&&!this.ga&&(this.ga=a,this.S("heartbeatparams",a)))}; g.h.OA=function(){this.ea()||(AG(this,"newlcssn"),this.A.shift(),this.R=!1,DG(this))}; g.h.dB=function(){if(xz(this.o)&&(AG(this,"onsnrdy"),this.ma--,0==this.ma)){var a=this.B;a.u.msSetMediaKeys(a.w)}}; g.h.rz=function(a){this.ea()||(AG(this,"onksch"),GG(this,rG(a,this.aa)),this.S("keystatuseschange",a))}; g.h.CA=function(){this.ea()||this.Z||!zz(this.o)||(AG(this,"onhdet"),this.U=UJ,this.S("hdproberequired"),this.S("qualitychange"))}; g.h.pA=function(a,b){this.ea()||this.S("ctmp",a,b)}; g.h.zA=function(a,b){this.ea()||this.S("fairplay_next_need_key_info",a,b)}; g.h.sz=function(a,b,c,d){this.ea()||this.S("licenseerror",a,b,c,d)}; g.h.X=function(){this.o.keySystemAccess&&this.P.setMediaKeys(null);this.P=null;this.A=[];for(var a=g.q(this.w.values),b=a.next();!b.done;b=a.next())b=b.value,b.unsubscribe("ctmp",this.pA,this),b.unsubscribe("hdentitled",this.CA,this),b.unsubscribe("keystatuseschange",this.rz,this),b.unsubscribe("licenseerror",this.sz,this),b.unsubscribe("newlicense",this.MA,this),b.unsubscribe("newsession",this.OA,this),b.unsubscribe("sessionready",this.dB,this),b.unsubscribe("fairplay_next_need_key_info",this.zA, this),b.dispose();a=this.w;a.keys=[];a.values=[];this.ha&&(this.ha.dispose(),this.ha=null);g.O.prototype.X.call(this)}; g.h.Za=function(){for(var a={systemInfo:this.o.Za(),sessions:[]},b=g.q(this.w.values),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.Za());return a}; g.h.ge=function(){return 0>=this.w.values.length?"no session":this.w.values[0].ge()+(this.F?"/KR":"")};g.r(JG,g.O);JG.prototype.setPlaybackRate=function(a){this.G=a};TG.prototype.isEmpty=function(){return this.endTime===this.startTime};UG.prototype.fa=function(a){return g.P(this.o.experiments,a)}; var XG={other:1,none:2,wifi:3,cellular:7};g.r(cH,g.A);cH.prototype.onError=function(a){"player.fatalexception"!==a&&(a.match(asa)?this.U++:this.V++)}; cH.prototype.C=function(){if(!(this.I||0>this.w)){eH(this);var a=g.WG(this.u)-this.w,b="PLAYER_PLAYBACK_STATE_UNKNOWN",c=this.o.u;this.o.isError()?b=c&&"auth"==c.errorCode?"PLAYER_PLAYBACK_STATE_UNKNOWN":"PLAYER_PLAYBACK_STATE_ERROR":g.V(this.o,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.V(this.o,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.V(this.o,16)||g.V(this.o,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.V(this.o,1)&&g.V(this.o,4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.V(this.o,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING": g.V(this.o,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.V(this.o,8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");var d=BB(this.u.videoData);c="LIVE_STREAM_MODE_UNKNOWN";"live"==d?c="LIVE_STREAM_MODE_LIVE":"dvr"==d&&(c="LIVE_STREAM_MODE_DVR");d=fH(this.u);var e=0>this.A?a:this.A-this.w;a=this.u.o.oa+36E5<(0,g.N)();b={started:0<=this.A,stateAtSend:b,joinLatencySecs:e,playTimeSecs:this.F,rebufferTimeSecs:this.G,seekCount:this.M,networkErrorCount:this.U,nonNetworkErrorCount:this.V,playerCanaryType:d,isAd:this.u.videoData.isAd(), liveMode:c,hasDrm:!!g.yB(this.u.videoData),isGapless:this.u.videoData.Df};!a&&this.u.fa("html5_health_to_gel")&&g.Rq("html5PlayerHealthEvent",b);this.u.fa("html5_health_to_qoe")&&(b.muted=a,this.ba(Ps(b)));this.I=!0;this.dispose()}}; cH.prototype.X=function(){this.I||this.C();g.A.prototype.X.call(this)}; var asa=/\bnet\b/;g.yJ=yb(function(){var a="";try{var b=g.oe("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});g.r(hH,g.A);g.h=hH.prototype;g.h.DF=function(){var a=g.WG(this.o);jH(this,a)}; g.h.uk=function(a){if(!this.ea()&&(a=0<=a?a:g.WG(this.o),-1<["PL","B","S"].indexOf(this.w)&&(!g.Mb(this.u)||a>=this.C+30)&&(g.gH(this,a,"vps",[this.w]),this.C=a),!g.Mb(this.u)))if(7E3==this.V&&g.Uq(Error("Sent over 7000 pings")),7E3<=this.V)this.u={};else{lH(this,a);var b=a,c=this.o.C(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.wa,k=e&&!this.Ca;if(d>c.totalVideoFrames||5E3b-this.F+2||uH(this,a,b))){var d=this.u.Wc();c=d.volume;var e=c!=this.R;d=d.muted;d!=this.M?(this.M=d,c=!0):(!e||0<=this.C||(this.R=c,this.C=b),c=b-this.C,0<=this.C&&2e;!(1this.o,e=iia(this.A);kI(this,this.ha,e,d,"qoe.slowseek",function(){},"timeout"); e=e&&isFinite(this.o)&&0this.P&&f,!f,"qoe.longrebuffer",e,"decoder_freeze"),this.I=d);this.P=c;d=PC(this.A);f=g.QC(this.A);c=d&&f&&Pt(b.Dd(),c+5);kI(this,this.ba,c,d&&!f,"qoe.longrebuffer",e,"new_elem_nnr");kI(this,this.R,d&&f,d&&!f,"qoe.longrebuffer",function(){},"timeout"); this.F.start()}}; gI.prototype.reset=function(){this.o=this.u=this.w=0;this.C=!1}; gI.prototype.Za=function(){var a={},b=(0,g.N)();this.w&&(a.wsd=(b-this.w).toFixed());this.u&&(a.wtd=(b-this.u).toFixed());this.o&&(a.wssd=(b-this.o).toFixed());return a};g.r(pI,g.O);g.h=pI.prototype;g.h.getCurrentTime=function(){return!isNaN(this.w)&&isFinite(this.w)?this.w:this.o&&zI(this)?this.o.getCurrentTime()+this.A:this.F||0}; g.h.isAtLiveHead=function(a){if(!this.u)return!1;void 0==a&&(a=this.getCurrentTime());return YH(this.u,a)}; g.h.seekTo=function(a,b){var c=void 0===b?{}:b,d=void 0===c.CC?!1:c.CC,e=void 0===c.DC?0:c.DC,f=void 0===c.Fl?!1:c.Fl;c=void 0===c.Qu?0:c.Qu;var k=a,l=!isFinite(k)||(this.u?YH(this.u,k):k>=this.sc())||!g.GB(this.T);l||this.S("ctmp","seeknotallowed",k+";"+this.sc());if(!l)return this.C&&(this.C=null,xI(this)),Df(this.getCurrentTime());if(a==this.w&&this.R)return this.G;this.R&&qI(this);this.G||(this.G=new WC);a&&!isFinite(a)&&sI(this,!1);k=a;(wI(this)&&!(this.o&&0b.w&&3!=b.u.getVisibilityState()&&dH(b)}a.o&&(a=a.o,a.o.fa("html5_qoe_user_intent_match_health")&&a.ga&&0>a.B&&a.o.o.Ma&&oH(a));g.Q(this.A.experiments,"html5_background_quality_cap")&&this.w&&YJ(this);this.A.gn&&!this.T.backgroundable&&this.o&&!this.M.u&&(this.M.isBackground()&&this.o.Uo()?(this.Ra("bgmobile","suspend"),g.LJ(this,!0)):this.M.isBackground()||BJ(this)&&this.Ra("bgmobile", "resume"))}; g.h.UL=function(a,b){this.NA(new JD(b,a))}; g.h.NA=function(a){this.Aa.set(a.initData,a);this.F&&(FG(this.F,a),XJ(this,"html5_eme_loader_sync")||this.Aa.remove(a.initData))}; g.h.FA=function(){g.wu&&this.da&&this.da.o&&this.F&&(Gja(this.F,this.da.o),this.da=null)}; g.h.yN=function(a){this.T.OC=Bu("auto",a,!1,"u");YJ(this)}; g.h.PG=function(a){IJ(this,a.reason,a.video.info,a.audio.info)}; g.h.sL=function(a){GJ(this,a.reason,a.audio.info)}; g.h.tL=function(a){this.S("localmediacomplete",a)}; g.h.Ki=function(a){var b=this;Cka(this,a);if("fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!gK(this,a.errorCode,a.details)){var c=/^pp/.test(this.T.clientPlaybackNonce);if(Bka(a)){var d=18400;this.A.fa("ipp_signature_cipher_killswitch")||(d=g.L("STS",void 0)?g.L("STS",void 0):d);a.details.sts=""+d;if(iK(this)){g.V(this.u,4)||g.V(this.u,512)?(this.pd=!0,nJ(this)):(a.o&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.o=!1),this.B.onError(a.errorCode,Ps(a.details)),jK(this));return}6048E5< (0,g.N)()-this.A.oa&&lK(this,"signature")}if(XJ(this,"html5_disable_codec_on_platform_errors")){if(d=this.T.Ba,(mK(a)||"fmt.decode"===a.errorCode||"fmt.unplayable"===a.errorCode)&&d&&("1"==d.u||et(d))){a.details.e=a.errorCode;a.details.cfall=d.u;this.B.onError("qoe.restart",Ps(a.details));this.A.A.I.add(d.u);dK(this,!0);return}}else if(mK(a)&&this.T.xa&&this.T.xa.u){this.B.onError(a.errorCode,Ps(a.details));this.Ra("highrepfallback","1",!0);!XJ(this,"html5_hr_logging_killswitch")&&/^hr/.test(this.T.clientPlaybackNonce)&& btoa&&this.Ra("afmts",btoa(this.T.adaptiveFormats),!0);aia(this.T);lJ(this);nJ(this);fK(this);this.playVideo();return}if(a.o){c=this.w?this.w.F.A:null;if(mK(a)&&c&&c.isLocked())var e="FORMAT_UNAVAILABLE";else if(!this.A.B&&"auth"==a.errorCode&&429==a.details.rc){e="TOO_MANY_REQUESTS";var f="6"}g.jJ(this,a.errorCode,e,Ps(a.details),f)}else this.B.onError(a.errorCode,Ps(a.details)),c&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.T.clientPlaybackNonce+"&t="+ (0,g.N)(),(new dF(a,"manifest",function(k){b.Yh=!0;b.Ra("pathprobe",k)},function(k){return b.B.onError(k.errorCode,Ps(k.details))})).send())}}; g.h.pauseVideo=function(a){a=void 0===a?!1:a;if((g.V(this.u,64)||g.V(this.u,2))&&!a)if(g.V(this.u,8))tJ(this,MC(this.u,4,8));else return;g.V(this.u,128)||(a?tJ(this,KC(this.u,256)):tJ(this,MC(this.u,4,8)));this.o&&this.o.pause();g.GB(this.T)&&this.w&&RJ(this,!1)}; g.h.stopVideo=function(){this.pauseVideo();this.w&&(RJ(this,!1),CF(this.w))}; g.h.seekTo=function(a,b){b=void 0===b?{}:b;g.V(this.u,2)&&BJ(this);this.C.seekTo(a,b)}; g.h.getCurrentTime=function(){return this.C.getCurrentTime()}; g.h.getPlaylistSequenceForTime=function(a){return this.T.getPlaylistSequenceForTime(a-this.Bb())}; g.h.getDuration=function(){return this.T.lengthSeconds?this.T.lengthSeconds+this.Bb():bK(this)?bK(this):0}; g.h.eF=function(){var a=new bja;if(this.w){var b=this.A.schedule;a.w=b.G;a.B=b.M;a.bandwidthEstimate=wy(b);a.o="d."+ty(b).toFixed(2)+";st."+(1E9*(b.o.o()||0)).toFixed(2)+";bw."+b.u.o().toFixed(0)+";abw."+b.I.o().toFixed(0)+";v50."+qy(b.w,.5).toFixed(2)+";v92."+qy(b.w,.92).toFixed(2)+";v96."+qy(b.w,.96).toFixed(2)+";v98."+qy(b.w,.98).toFixed(2);b=this.w;if(b.w&&!au(b.w)&&(a.u=wE(b.u,b.C),a.A=wE(b.A,b.C),b.o.oa)){var c=vE(b.u),d=vE(b.A),e=Nt(b.w.u.ud(),"_"),f=Nt(b.w.o.ud(),"_");a.o=(a.o||"")+(";lvq."+ c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=KE(b.P)}else this.o&&(a.u=yC(this.o));a.C=this.xx();return a}; g.h.Za=function(a){var b={};if(void 0===a?0:a){g.Ra(b,this.B.Za());this.o&&(g.Ra(b,this.o.Za()),g.Ra(b,this.Ur()));this.w&&g.Ra(b,this.w.Za());this.F&&(b.drm=this.F.Za());b.state=this.u.o.toString(16);g.V(this.u,128)&&(b.debug_error=this.u.u);EJ(this)&&(b.prerolls=this.V.join(","));this.T.qh&&(b.ismb=this.T.qh);"UNKNOWN"!=this.T.latencyClass&&(b.latency_class=this.T.latencyClass);this.T.isLowLatencyLiveStream&&(b.lowlatency="1");this.T.va&&(this.T.ia&&by(this.T.ia)&&(b.segduration=by(this.T.ia)), a=this.C,b.lat=a.I?SH(a.I.A):0,b.liveutcstart=this.T.liveUtcStartSeconds);b.relative_loudness=this.T.Am.toFixed(3);if(a=g.HJ(this))b.optimal_format=a.ya().qualityLabel;b.user_qual=gy()}b.debug_videoId=this.T.videoId;return b}; g.h.addCueRange=function(a){var b=this.R;a=[a];b.u();nF(b.o,a);b.A=NaN;b.u()}; g.h.removeCueRange=function(a){pF(this.R,[a])}; g.h.AN=function(){sJ(this)}; g.h.togglePictureInPicture=function(){this.o&&this.o.togglePictureInPicture()}; g.h.QG=function(a){this.rd.stop();var b=a.target.Xc();if(this.o&&this.o.Xc()&&this.o.Xc()==b){AK(this,a.type);switch(a.type){case "error":var c=CC(this.o)||"";if("capability.changed"==c){AJ(this);return}if(0this.o.getCurrentTime()&&this.w)return;break;case "resize":BK(this);this.T.Ba&&"auto"==this.T.Ba.ya().quality&&this.S("internalvideoformatchange",this.T,!1);break;case "pause":if(this.Md&&g.V(this.u,8)&&!g.V(this.u,1024)&&0==this.getCurrentTime()&&g.oz){uK(this,"safari_autoplay_disabled");return}}if(this.o&&this.o.Xc()==b){this.S("videoelementevent",a);b=this.u;if(!g.V(b,128)){c=this.Ia;e=this.o;var f=this.A.experiments;d=b.o;e=e?e:a.target;var k=e.getCurrentTime();if(!g.V(b, 64)||"ended"!=a.type&&"pause"!=a.type){var l=e.Bf()||1Math.abs(k-e.getDuration());k="ended"==a.type||"waiting"==a.type||"timeupdate"==a.type&&!g.V(b,4)&&!EC(c,k);if("pause"==a.type&&e.Bf()||l&&k)0b-this.Wa)){var c=this.o.Mi();this.Wa=b;c!=this.M.u&&(Xja(this.M,c),AJ(this).then(function(){return BJ(a)})); this.S("airplayactivechange")}}; g.h.ir=function(){var a=this.o;a&&this.Ma&&!this.T.se&&!LA("vfp",this.I.timerName)&&2<=a.je()&&!a.Bf()&&0Math.abs(c-a)?(this.Ra("setended","ct."+a+";bh."+b+";dur."+c+";live."+ +d),d&&XJ(this,"html5_set_ended_in_pfx_live_cfl")||(this.o.So()?this.seekTo(0):hJ(this))): (g.QC(this.u)||zK(this,"progress_fix"),tJ(this,KC(this.u,1)))):(c&&!d&&!e&&0d-1&&this.Ra("misspg","t:"+a.toFixed(2)+";d:"+d+";r:"+c.toFixed(2)+";bh:"+b.toFixed(2))),g.V(this.u,4)&&g.QC(this.u)&&5this.pe)a="drm.sessionlimitexhausted",b=!1;else if(XJ(this,"html5_drm_fallback_to_playready_on_retry")&&"drm.keyerror"==a&&2>this.qe&&(this.qe++,lJ(this),1Math.random()&&g.Uq(Error("Botguard not available after 2 attempts")),!a&&5>this.Ea)){this.pc.Ua();this.Ea++;return}if("c1b"in c.o){var d=Uja(this.B);d&&qfa(c).then(function(e){e&&!b.wa&&d&&(d(e),b.wa=!0)})}else if(a=ofa(c))Tja(this.B,a),this.wa=!0}}; g.h.Ab=function(){return this.C.Ab()}; g.h.Bb=function(){return this.C?this.C.Bb():0}; g.h.getStreamTimeOffset=function(){return this.C?this.C.getStreamTimeOffset():0}; g.h.setPlaybackRate=function(a){var b=this.T.xa&&this.T.xa.videoInfos&&32=a)){a-=this.o.length;for(var b=0;b=(a||1)}; g.h.PD=function(){for(var a=this.w.length-1;0<=a;a--)OL(this,this.w[a]);this.o.length==this.u.length&&4<=this.o.length||(4>this.u.length?this.Yw(4):(this.o=[],(0,g.y)(this.u,function(b){OL(this,b)},this)))}; NL.prototype.fillPool=NL.prototype.Yw;NL.prototype.getTag=NL.prototype.gF;NL.prototype.releaseTag=NL.prototype.eO;NL.prototype.hasTags=NL.prototype.RF;NL.prototype.activateTags=NL.prototype.PD;g.r(g.QL,g.vC);g.h=g.QL.prototype;g.h.isView=function(){return!0}; g.h.Gp=function(){var a=this.o.getCurrentTime();if(ae?RL(this,"next_player_future"):(this.G=d,this.A=du(a,c,d,!0),this.B=du(a,e,f,!1),a=this.u.getVideoData().clientPlaybackNonce,this.o.Ra("gaplessPrep", "cpn."+a),hK(this.o,this.A),PJ(this.o,UL(b,c,d,!this.o.getVideoData().isAd())),VL(this,2),YL(this))))}else RL(this,"no-elem")}; g.h.hk=function(a){var b=XL(this),c=a==b.fC;b=c?this.A.o:this.A.u;c=c?this.B.o:this.B.u;if(b.isActive()&&!c.isActive()){var d=this.G;Pt(a.ud(),d-.01)&&(VL(this,4),b.setActive(!1),this.u.Ra("sbh","1"),c.setActive(!0));a=this.B.u;this.B.o.isActive()&&a.isActive()&&VL(this,5)}}; g.h.LA=function(){4<=this.w.status&&6>this.w.status&&RL(this,"player-reload-after-handoff")}; g.h.X=function(){WL(this);this.o.unsubscribe("newelementrequired",this.LA,this);if(this.A){var a=this.A.u;this.A.o.o.unsubscribe("updateend",this.hk,this);a.o.unsubscribe("updateend",this.hk,this)}g.A.prototype.X.call(this)}; g.h.Ez=function(a){g.bH(a,128)&&RL(this,"player-error-event")};g.r(ZL,g.A);ZL.prototype.clearQueue=function(){this.B&&this.B.reject("Queue cleared");$L(this)}; ZL.prototype.X=function(){$L(this);g.A.prototype.X.call(this)};g.r(eM,g.A);eM.prototype.get=function(a){cM(this);var b=this.data.find(function(c){return c.key===a}); return b?b.value:null}; eM.prototype.set=function(a,b,c){this.remove(a,!0);cM(this);a={key:a,value:b,expire:Infinity};c&&isFinite(c)&&(c*=1E3,a.expire=(0,g.N)()+c);for(this.data.push(a);this.data.length>this.w;)(c=this.data.shift())&&fM(this,c,!0);dM(this)}; eM.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.data.find(function(d){return d.key===a}); c&&(fM(this,c,b),g.eb(this.data,function(d){return d.key===a}),dM(this))}; eM.prototype.X=function(){var a=this;g.A.prototype.X.call(this);this.data.forEach(function(b){fM(a,b,!0)}); this.data=[]};g.r(kM,g.A);kM.prototype.w=function(a){this.u=a[a.length-1].intersectionRatio}; kM.prototype.X=function(){g.A.prototype.X.call(this);this.u=null;this.o&&this.o.disconnect()};var w2;w2={};g.lM=(w2.STOP_EVENT_PROPAGATION="html5-stop-propagation",w2.IV_DRAWER_ENABLED="ytp-iv-drawer-enabled",w2.IV_DRAWER_OPEN="ytp-iv-drawer-open",w2.MAIN_VIDEO="html5-main-video",w2.VIDEO_CONTAINER="html5-video-container",w2.HOUSE_BRAND="house-brand",w2);g.r(nM,g.R);g.h=nM.prototype;g.h.PF=function(){this.G=new g.ph(0,0,0,0);this.w=new g.ph(0,0,0,0)}; g.h.km=function(a){g.Cn(this.element,arguments)}; g.h.ke=function(){if(this.u){var a=this.getPlayerSize();if(!a.isEmpty()){var b=this.w;b=!g.Td(a,new g.Sd(b.width,b.height));var c=vM(this);b&&(this.w.width=a.width,this.w.height=a.height);a=this.app.N();(c||b||a.ma)&&this.app.u.S("resize",this.getPlayerSize())}}}; g.h.cJ=function(a,b){this.updateVideoData(b)}; g.h.QF=function(a){a.getVideoData()&&this.updateVideoData(a.getVideoData())}; g.h.updateVideoData=function(a){if(this.u){var b=this.app.N();nl&&(this.u.setAttribute("x-webkit-airplay","allow"),a.title?this.u.setAttribute("title",a.title):this.u.removeAttribute("title"));wB(a)?this.u.setAttribute("disableremoteplayback",""):this.u.removeAttribute("disableremoteplayback");this.u.setAttribute("controlslist","nodownload");b.zo&&a.videoId&&(this.u.poster=a.tc("default.jpg"));g.P(b.experiments,"html5_send_origin_for_progressive")&&a.xa&&!a.xa.o&&this.u.setAttribute("crossorigin", "anonymous")}b=g.CB(a,"yt:bgcolor");this.A.style.backgroundColor=b?b:"";this.U=Ey(g.CB(a,"yt:stretch"));this.V=Ey(g.CB(a,"yt:crop"),!0);g.K(this.element,"ytp-dni",a.lc);this.ke()}; g.h.setGlobalCrop=function(a){this.M=Ey(a,!0);this.ke()}; g.h.setCenterCrop=function(a){this.da=a;this.ke()}; g.h.getPlayerSize=function(){var a=this.app.N(),b=this.app.u.isFullscreen();if(b&&el())return new g.Sd(window.outerWidth,window.outerHeight);if(b||a.fn){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.F&&this.F.media==a||(this.F=window.matchMedia(a));var c=this.F&&this.F.matches}if(c)return new g.Sd(window.innerWidth,window.innerHeight)}else{if(!isNaN(this.B.width)&&!isNaN(this.B.height))return this.B.clone();if(this.aa&&this.Z&&!this.app.isWidescreen())for(a= 0;a(a.deltaX||-a.deltaY)?-this.G:this.G;this.cj(b);g.Kp(a)}; g.h.mJ=function(a){a=(a-g.Eh(this.w).x)/this.M*this.C+this.minimumValue;this.cj(a)}; g.h.cj=function(a,b){b=void 0===b?"":b;var c=g.Md(a,this.minimumValue,this.maximumValue);""==b&&(b=c.toString());this.la("valuenow",c);this.la("valuetext",b);this.U.style.left=(c-this.minimumValue)/this.C*(this.M-this.R)+"px";this.u=c}; g.h.focus=function(){this.V.focus()};g.r(rO,pO);rO.prototype.Z=function(){this.B.setPlaybackRate(this.u,!0)}; rO.prototype.cj=function(a){pO.prototype.cj.call(this,a,sO(this,a).toString());this.A&&(qO(this),this.ba())}; rO.prototype.aa=function(){var a=this.B.getPlaybackRate();sO(this,this.u)!=a&&(this.cj(a),qO(this))};g.r(tO,g.Ru);tO.prototype.focus=function(){this.u.focus()};g.r(uO,VN);g.r(vO,g.iO);g.h=vO.prototype;g.h.Ze=function(a){return"1"===a?"Normale":a.toLocaleString()}; g.h.sa=function(){var a=this.K.getPresentingPlayerType();this.enable(2!==a&&3!==a);zO(this)}; g.h.fk=function(a){g.iO.prototype.fk.call(this,a);a?(this.I=this.L(this.K,"onPlaybackRateChange",this.UH),zO(this),xO(this,this.K.getPlaybackRate())):(this.bb(this.I),this.I=null)}; g.h.UH=function(a){var b=this.K.getPlaybackRate();this.G.includes(b)||yO(this,b);xO(this,a)}; g.h.fd=function(a){g.iO.prototype.fd.call(this,a);a===this.w?this.K.setPlaybackRate(this.C,!0):this.K.setPlaybackRate(Number(a),!0);this.u.Ih()};var bsa={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(bsa).reduce(function(a,b){a[bsa[b]]=b;return a},{}); var csa={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(csa).reduce(function(a,b){a[csa[b]]=b;return a},{}); var dsa={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(dsa).reduce(function(a,b){a[dsa[b]]=b;return a},{});var x2,esa;x2=[{option:"#fff",text:"Blanc"},{option:"#ff0",text:"Jaune"},{option:"#0f0",text:"Vert"},{option:"#0ff",text:"Cyan"},{option:"#00f",text:"Bleu"},{option:"#f0f",text:"Magenta"},{option:"#f00",text:"Rouge"},{option:"#080808",text:"Noir"}];esa=[{option:0,text:AO(0)},{option:.25,text:AO(.25)},{option:.5,text:AO(.5)},{option:.75,text:AO(.75)},{option:1,text:AO(1)}]; g.DO=[{option:"fontFamily",text:"Famille de polices",options:[{option:1,text:"Serif monospace"},{option:2,text:"Serif proportionnelle"},{option:3,text:"Sans Serif monospace"},{option:4,text:"Sans Serif proportionnelle"},{option:5,text:"Casual"},{option:6,text:"Cursive"},{option:7,text:"Petites majuscules"}]},{option:"color",text:"Couleur de la police",options:x2},{option:"fontSizeIncrement",text:"Taille de police",options:[{option:-2,text:AO(.5)},{option:-1,text:AO(.75)},{option:0,text:AO(1)},{option:1, text:AO(1.5)},{option:2,text:AO(2)},{option:3,text:AO(3)},{option:4,text:AO(4)}]},{option:"background",text:"Couleur de l'arri\u00e8re-plan",options:x2},{option:"backgroundOpacity",text:"Opacit\u00e9 de l'arri\u00e8re-plan",options:esa},{option:"windowColor",text:"Couleur de la fen\u00eatre",options:x2},{option:"windowOpacity",text:"Opacit\u00e9 de la fen\u00eatre",options:esa},{option:"charEdgeStyle",text:"Style de bordure des caract\u00e8res",options:[{option:0,text:"Aucun"},{option:4,text:"Ombre projet\u00e9e"}, {option:1,text:"Sur\u00e9lev\u00e9"},{option:2,text:"Surbaiss\u00e9"},{option:3,text:"Soulign\u00e9"}]},{option:"textOpacity",text:"Opacit\u00e9 de la police",options:[{option:.25,text:AO(.25)},{option:.5,text:AO(.5)},{option:.75,text:AO(.75)},{option:1,text:AO(1)}]}];g.r(CO,g.iO);g.h=CO.prototype;g.h.Db=function(a){g.iO.prototype.Db.call(this,a)}; g.h.mz=function(a){return a.option.toString()}; g.h.getOption=function(a){return this.settings[a]}; g.h.Ze=function(a){return this.getOption(a).text||""}; g.h.fd=function(a){g.iO.prototype.fd.call(this,a);this.S("settingChange",this.setting,this.settings[a].option)};g.r(EO,g.WN);EO.prototype.A=function(a,b){this.S("settingChange",a,b)};g.r(GO,g.iO);GO.prototype.w=function(a){return a.languageCode}; GO.prototype.Ze=function(a){return this.languages[a].languageName||""}; GO.prototype.fd=function(a){this.S("select",a);eO(this.u)};g.r(IO,g.iO);g.h=IO.prototype;g.h.ot=function(a){return g.Mb(a)?"__off__":a.displayName}; g.h.Ze=function(a){return"__off__"===a?"D\u00e9sactiv\u00e9s":"__translate__"===a?"Traduire automatiquement":"__contribute__"===a?"Ajouter des sous-titres":("__off__"===a?{}:this.tracks[a]).displayName}; g.h.fd=function(a){"__translate__"===a?this.w.open():"__contribute__"===a?(this.K.pauseVideo(),this.K.isFullscreen()&&this.K.toggleFullscreen(),a=g.CH(this.K.N(),this.K.getVideoData()),g.GN(a)):(this.K.setOption("captions","track","__off__"===a?{}:this.tracks[a]),g.iO.prototype.fd.call(this,a),this.u.Ih())}; g.h.sa=function(){var a=this.K.getOptions();a=a&&-1!==a.indexOf("captions");var b=this.K.getVideoData();b=b&&b.yn;var c={};if(a||b){if(a){var d=this.K.getOption("captions","track");c=this.K.getOption("captions","tracklist",{includeAsr:!0});var e=this.K.getOption("captions","translationLanguages");this.tracks=g.vb(c,this.ot,this);var f=(0,g.Cc)(c,this.ot);if(e.length&&!g.Mb(d)){var k=d.translationLanguage;if(k&&k.languageName){var l=k.languageName;k=e.findIndex(function(m){return m.languageName=== l}); raa(e,k)}$ka(this.w,e);f.push("__translate__")}e=this.ot(d)}else this.tracks={},f=[],e="__off__";f.unshift("__off__");this.tracks.__off__={};b&&f.unshift("__contribute__");this.tracks[e]||(this.tracks[e]=d,f.push(e));g.kO(this,f);this.Db(e);d&&d.translationLanguage?this.w.Db(this.w.w(d.translationLanguage)):jO(this.w);a&&FO(this.C,this.K.getSubtitlesUserSettings());this.I.qb(c&&c.length?" ("+c.length+")":"");this.S("size-change");this.enable(!0)}else this.enable(!1)}; g.h.WH=function(a){var b=this.K.getOption("captions","track");b=g.Pb(b);b.translationLanguage=this.w.languages[a];this.K.setOption("captions","track",b)}; g.h.VH=function(a,b){if("reset"===a)this.K.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.K.updateSubtitlesUserSettings(c)}HO(this,!0);this.G.start();FO(this.C,this.K.getSubtitlesUserSettings())}; g.h.dN=function(a){a||this.G.Pe()}; g.h.X=function(){this.G.Pe();g.iO.prototype.X.call(this)};g.r(JO,g.$N);g.h=JO.prototype;g.h.Bh=function(a){KO(this);g.XN(this.A,a);UN(this.V,this.A.w.length)}; g.h.Td=function(a){this.Ha()&&1>=this.A.w.length&&this.hide();g.YN(this.A,a);UN(this.V,this.A.w.length)}; g.h.Qb=function(a){KO(this);0a&&this.delay.start()}; var fsa=new g.Mn(0,0,.4,0,.2,1,1,1),bla=/[0-9.-]+|[^0-9.-]+/g;g.r(RO,g.R);RO.prototype.F=function(){var a=this.u.app;a.u.na("SIZE_CLICKED",!a.Ic)}; RO.prototype.w=function(){g.Qu(this,this.u.app.pe&&!this.u.isFullscreen()&&3!=this.u.getPresentingPlayerType());if(this.Ha()){var a=this.u.isWidescreen();if(this.A!=a){var b=a?g.X?{D:"div",Y:["ytp-icon","ytp-icon-default-view"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,O:{d:"m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z",fill:"#fff","fill-rule":"evenodd"}}]}:g.X?{D:"div",Y:["ytp-icon","ytp-icon-theater-mode"]}:{D:"svg",O:{height:"100%", version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,O:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z",fill:"#fff","fill-rule":"evenodd"}}]};this.u.N().F||null==this.A?this.la("icon",b):QO(this.C,this.element,b);this.A=a;b=g.MN(this.u,"Affichage par d\u00e9faut","t");var c=g.MN(this.u,"Mode cin\u00e9ma","t");this.la("title",a?b:c);SN(this.B)}}};g.r(SO,g.R);SO.prototype.onClick=function(){var a=g.W(this.K.app);a&&a.o&&a.o.Ys()}; SO.prototype.sa=function(){var a=g.W(this.K.app);g.Qu(this,!!a&&a.Ic);this.la("icon",this.K.Mi()?g.X?{D:"div",Y:["ytp-icon","ytp-icon-airplay-on"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,O:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]}: g.X?{D:"div",Y:["ytp-icon","ytp-icon-airplay-off"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]})};g.r(TO,g.R);g.r(g.VO,g.R);g.VO.prototype.F=function(a){g.V(a.state,32)?WO(this,this.api.ue()):this.Ha()&&(g.V(a.state,16)||g.V(a.state,1))||this.u.hide()}; g.VO.prototype.G=function(){var a=g.PK(this.api);(g.V(a,32)||g.V(a,16))&&XO(this)}; g.VO.prototype.B=function(){this.A=NaN;XO(this)}; g.VO.prototype.hide=function(){this.w&&WO(this,null);g.R.prototype.hide.call(this)};g.r(YO,g.R);YO.prototype.onClick=function(){g.nL(this.u,this.element);this.u.na("onFullerscreenEduClicked")}; YO.prototype.sa=function(){this.u.isFullscreen()?this.w?this.A.hide():this.A.show():this.hide();g.oL(this.u,this.element,this.u.isFullscreen()&&!this.w)};g.r(g.ZO,g.R);g.h=g.ZO.prototype;g.h.onClick=function(){if(this.K.N().da)try{this.K.toggleFullscreen()}catch(a){"fullscreen error"===a.message?g.Uq(a):g.Tq(a),this.Zt()}else this.message.hf(this.element,!0)}; g.h.Zt=function(){this.disable();this.message.Qb(this.element,!0)}; g.h.OH=function(){Dr()===this.K.getRootNode()?this.A.start():(this.A.stop(),this.message&&this.message.hide())}; g.h.fE=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var a=.9*window.screen.width,b=.9*window.screen.height,c=Math.max(window.outerWidth,window.innerWidth),d=Math.max(window.outerHeight,window.innerHeight);if(c>d!==a>b){var e=c;c=d;d=e}a>c&&b>d&&this.Zt()}}; g.h.disable=function(){if(!this.message){var a=(null!=yp(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"Le mode plein \u00e9cran n'est pas disponible. $BEGIN_LINKEn savoir plus$END_LINK":"Votre navigateur n'est pas compatible avec le mode plein \u00e9cran. $BEGIN_LINKEn savoir plus$END_LINK").split(/\$(BEGIN|END)_LINK/);this.message=new g.wN(this.K,{D:"div",Y:["ytp-popup","ytp-generic-popup"],O:{role:"alert",tabindex:"0"},J:[a[0],{D:"a", O:{href:"https://support.google.com/youtube/answer/6276924",target:this.K.N().C},W:a[2]},a[4]]},100,!0);this.message.hide();g.B(this,this.message);this.message.subscribe("show",(0,g.x)(this.u.nl,this.u,this.message));g.iL(this.K,this.message.element,4);this.element.setAttribute("aria-disabled","true");this.element.setAttribute("aria-haspopup","true");(0,this.w)();this.w=null}}; g.h.sa=function(){g.Qu(this,HN(this.K))}; g.h.jz=function(a){if(a){var b=g.X?{D:"div",Y:["ytp-icon","ytp-icon-full-screen-close"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"g",H:"ytp-fullscreen-button-corner-2",J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-3",J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-0",J:[{D:"path",Na:!0,H:"ytp-svg-fill", O:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-1",J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.MN(this.K,"Quitter le mode plein \u00e9cran","f");document.activeElement===this.element&&this.K.getRootNode().focus()}else b=g.X?{D:"div",Y:["ytp-icon","ytp-icon-full-screen"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"g",H:"ytp-fullscreen-button-corner-0",J:[{D:"path",Na:!0, H:"ytp-svg-fill",O:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-1",J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-2",J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",H:"ytp-fullscreen-button-corner-3",J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.MN(this.K,"Plein \u00e9cran", "f");this.la("icon",b);this.la("title",this.message?null:a);SN(this.u.fb())}; g.h.X=function(){this.message||((0,this.w)(),this.w=null);g.R.prototype.X.call(this)};g.r($O,g.R);$O.prototype.onClick=function(){this.K.na("onCollapseMiniplayer");g.nL(this.K,this.element)}; $O.prototype.sa=function(){this.visible=!this.K.isFullscreen();g.Qu(this,this.visible);g.oL(this.K,this.element,this.visible&&this.P)}; $O.prototype.Xa=function(a){g.R.prototype.Xa.call(this,a);g.oL(this.K,this.element,this.visible&&a)};g.r(aP,g.R);g.h=aP.prototype;g.h.kz=function(a){this.visible=300<=a.width;g.Qu(this,this.visible);g.oL(this.K,this.element,this.visible&&this.P)}; g.h.PL=function(){this.K.N().R?this.K.isMuted()?this.K.unMute():this.K.mute():this.message.hf(this.element,!0);g.nL(this.K,this.element)}; g.h.PH=function(a){this.setVolume(a.volume,a.muted)}; g.h.setVolume=function(a,b){var c=this,d=b?0:a/100,e=this.K.N();if(e.F)d=0===d?$M():0d?ZM():YM(),d!==this.w&&(this.la("icon",d),this.w=d);else{var f=0===d?1:50a.position&& (n=1);!m&&k/2>this.B-a.position&&(n=2);kR(this.tooltip,c,d,b,!!f,l,e,n)}else kR(this.tooltip,c,d,b,!!f,l);g.K(this.api.getRootNode(),"ytp-progress-bar-hover",!g.V(g.PK(this.api),64));wP(this)}; g.h.qM=function(){g.lR(this.tooltip);g.Dn(this.api.getRootNode(),"ytp-progress-bar-hover")}; g.h.pM=function(a,b){this.C&&(this.C.dispose(),this.C=null);this.Yb=b;this.api.N().fa("web_wn_macro_markers")&&1b||1b&&a.C.start()}),this.C.start()); if(g.V(g.PK(this.api),32)||3===this.api.getPresentingPlayerType())this.api.N().fa("web_wn_macro_markers")&&1.1*(this.A?60:40),f=zP(this));g.K(this.element,"ytp-pull-ui",e);d&&g.J(this.element,"ytp-pulling");d=0;f.w&&0>=f.position?d=-1:f.B&&f.position>=f.width&&(d=1);this.Ca!==d&&(this.Ca=d,this.C&&(this.C.dispose(),this.C=null),d&&(this.C=new g.rn(function(){var k=(0,g.N)(),l=c.B*(c.Z-1);c.U=g.Md(c.U+c.Ca*((0,g.N)()-k)*.3,0,l);vP(c);c.api.seekTo(iP(c.w,zP(c).u),!1);0=this.F&&(!this.w||!g.V(g.PK(this.api),64));g.Qu(this,b);g.K(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.api.getProgressState();if(b){b=this.api.getPresentingPlayerType();var c=g.hM(g.P(this.api.N().experiments,"halftime_ux_killswitch")?a.current:this.api.getCurrentTime(b,!1));this.A!==c&&(this.la("currenttime",c),this.A=c);b=g.hM(g.P(this.api.N().experiments,"halftime_ux_killswitch")?a.duration:this.api.getDuration(b, !1));this.B!==b&&(this.la("duration",b),this.B=b)}this.w&&(a=a.isAtLiveHead,this.C!==a&&(this.C=a,this.Fh(),b=this.liveBadge.element,b.disabled=a,this.liveBadge.qb(this.isPremiere?"Premi\u00e8re":"En direct"),a?this.u&&(this.u(),this.u=null,b.removeAttribute("title")):(b.title="Acc\u00e9der directement \u00e0 la diffusion en direct",this.u=g.BN(this.tooltip,this.liveBadge.element))))}; g.h.XH=function(a,b){this.updateVideoData(b);this.Fh()}; g.h.updateVideoData=function(a){this.w=a.va&&!a.wg;this.isPremiere=a.isPremiere;g.K(this.element,"ytp-live",this.w)}; g.h.onClick=function(a){a.target===this.liveBadge.element&&(this.api.seekTo(Infinity),this.api.playVideo())}; g.h.X=function(){this.u&&this.u();g.R.prototype.X.call(this)};g.r(RP,g.R);g.h=RP.prototype;g.h.YH=function(){var a=this.w.kc();this.C!==a&&(this.C=a,QP(this,this.api.getVolume(),this.api.isMuted()))}; g.h.nz=function(a){g.Qu(this,350<=a.width)}; g.h.bI=function(a){if(!g.Lp(a)){var b=g.Mp(a),c=null;37===b?c=this.volume-5:39===b?c=this.volume+5:36===b?c=0:35===b&&(c=100);null!==c&&(c=g.Md(c,0,100),0===c?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(c)),g.Kp(a))}}; g.h.ZH=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.api.setVolume(this.volume+(0>b?-10:10)):this.api.setVolume(this.volume+g.Md(b/10,-10,10));g.Kp(a)}; g.h.hN=function(){PP(this,this.u,!0,this.B,this.w.Oi());this.U=this.volume;this.api.isMuted()&&this.api.unMute()}; g.h.aI=function(a){var b=this.C?78:52,c=this.C?18:12;a-=g.Eh(this.R).x;this.api.setVolume(100*g.Md((a-c/2)/(b-c),0,1))}; g.h.gN=function(){PP(this,this.u,!1,this.B,this.w.Oi());0===this.volume&&(this.api.mute(),this.api.setVolume(this.U))}; g.h.cI=function(a){QP(this,a.volume,a.muted)}; g.h.Bw=function(){PP(this,this.u,this.A,this.B,this.w.Oi())}; g.h.dC=function(a){g.K(this.element,"ytp-volume-control-hover",a);PP(this,a,this.A,this.B,this.w.Oi())}; g.h.X=function(){g.R.prototype.X.call(this);g.Dn(this.G,"ytp-volume-slider-active")};g.r(g.SP,g.R);g.SP.prototype.u=function(){this.visible=!!this.api.getVideoData().videoId;g.Qu(this,this.visible);g.oL(this.api,this.element,this.visible&&this.P);if(this.visible){var a=this.api.getVideoUrl(!0,!1,!1,!0);this.la("url",a)}}; g.SP.prototype.onClick=function(a){var b=this.api.getVideoUrl(!g.iM(a),!1,!0,!0);g.Ly(this.api.N())&&(b=g.yd(b,g.DH({},"emb_logo")));g.JN(b,this.api,a);g.nL(this.api,this.element)}; g.SP.prototype.Xa=function(a){g.R.prototype.Xa.call(this,a);g.oL(this.api,this.element,this.visible&&a)};g.r(TP,g.Gr);g.h=TP.prototype;g.h.Ot=function(){g.tP(this.B);this.da.Fh();if(g.P(this.u.N().experiments,"web_wn_macro_markers")){var a=this.V,b="",c=a.w.u;1g.LP(this.B)&&g.PK(this.u).eb()&&!!window.requestAnimationFrame,b=!a;this.ba.u||(a=b=!1);b?this.P||(this.P=this.L(this.u,"progresssync",this.Ot)):this.P&&(this.bb(this.P),this.P=null);a?this.I.isActive()||this.I.start():this.I.stop()}; g.h.YO=function(a){var b=this.A.fb();a=!a;if(null!=b.w)if(a)switch(b.w){case 3:case 2:oR(b);b.M.show();break;default:b.M.show()}else b.M.hide();b.V=a}; g.h.Pt=function(){var a=this.A.kc(),b=g.QK(this.u).getPlayerSize(),c=VP(this),d=Math.max(b.width-2*c,100);if(this.oa!=b.width||this.ma!=a){this.oa=b.width;this.ma=a;var e=WP(this);this.w.element.style.width=e+"px";this.w.element.style.left=c+"px";g.IP(this.B,c,e,a);this.A.fb().ga=e}c=this.o;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.A.kc()?72:50))));c.R=Math.min(570*(a?1.5:1),d);c.M=e;c.Ek();this.Qt();!this.u.N().fa("html5_player_bottom_linear_gradient")&&g.P(this.u.N().experiments,"html5_player_dynamic_bottom_gradient")&& g.uN(this.wa,b.height)}; g.h.rJ=function(){var a=this.u.getVideoData();this.R.style.background=a.lc?a.hg:"";g.Qu(this.U,a.Ju)}; g.h.ua=function(){return this.w.element};g.r(g.XP,g.R);g.XP.prototype.u=function(){}; g.XP.prototype.A=function(a){var b=this;hla(this);var c=a.Ar,d=this.api.N();"GENERIC_WITHOUT_LINK"!==c||d.B?"TOO_MANY_REQUESTS"===c?(d=this.api.getVideoData(),this.qb(ZP(this,"TOO_MANY_REQUESTS_WITH_LINK",d.kh(),void 0,void 0,void 0,!1))):"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!==c||d.B?this.qb(g.YP(a.errorMessage)):this.qb(ZP(this,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//www.youtube.com/supported_browsers")):(a=d.hostLanguage,c="//support.google.com/youtube/?p=player_error1",a&&(c=g.yd(c, {hl:a})),this.qb(ZP(this,"GENERIC_WITH_LINK_AND_CPN",c,!0)),d.ma&&!d.u&&gla(this,function(e){if(g.IN(e,b.api,!hz(b.api.N()))){e={as3:!1,html5:!0,player:!0,cpn:b.api.getVideoData().clientPlaybackNonce};var f=b.api;f.na("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:e});f.isFullscreen()&&f.toggleFullscreen()}}))}; var fla=/([^<>]+)<\/a>/;g.r(aQ,g.R);aQ.prototype.hide=function(){this.u.stop();this.message.style.display="none";g.R.prototype.hide.call(this)}; aQ.prototype.w=function(a){$P(this,a.state)}; aQ.prototype.A=function(){$P(this,g.PK(this.api))}; aQ.prototype.B=function(){this.message.style.display="block"};g.r(cQ,g.wN);cQ.prototype.C=function(a){if(this.api.N().F||this.A)a?(bQ(this),this.Qb()):(this.seen&&dQ(this),this.gb())}; cQ.prototype.B=function(a){this.api.isMutedByMutedAutoplay()&&g.bH(a,2)&&this.gb()}; cQ.prototype.onClick=function(){this.api.unMute();dQ(this)};g.r(g.eQ,g.Gr);g.h=g.eQ.prototype;g.h.init=function(){var a=g.PK(this.api);this.xk(a);this.Mg();this.Ti()}; g.h.Oz=function(a,b){if(this.pc!=b.videoId){this.pc=b.videoId;var c=this.u;c.ba=b&&0=b){this.da=!0;b=this.api.getPlayerSize().width/3;var c=this.api.getRootNode().getBoundingClientRect(),d=a.targetTouches[0].clientX-c.left;c=a.targetTouches[0].clientY-c.top;var e=10*(this.wa-1);02*b&&d<3*b&&(this.It(1,d,c,e),this.api.seekBy(10*this.api.getPlaybackRate()));g.Kp(a)}this.pd=Date.now(); this.qd.start()}}; g.h.QM=function(a){kQ(this,a)||(hQ(this)||!iQ(this,a)||this.Ea.isActive()||(jQ(this),g.Kp(a)),this.da&&(this.da=!1))}; g.h.no=function(){}; g.h.Jt=function(){}; g.h.It=function(){}; g.h.jC=function(){}; g.h.Xp=function(){var a=g.PK(this.api);g.V(a,2)&&MK(this.api)||(g.OC(a)?this.api.pauseVideo():(this.api.app.Uc=!0,this.api.playVideo(),this.ba&&document.activeElement==this.ba.C&&this.api.getRootNode().focus()))}; g.h.RM=function(a){var b=this.api.getPresentingPlayerType();fQ(this,Hp(a))||(a=this.api.N(),g.P(a.experiments,"player_doubletap_to_seek")&&this.da?this.da=!1:(a.da||g.P(a.experiments,"player_fullscreen_disabled_killswitch"))&&3!=b&&this.api.toggleFullscreen())}; g.h.SM=function(a){lQ(this,.3,a.scale);g.Kp(a)}; g.h.TM=function(a){lQ(this,.1,a.scale)}; g.h.Ti=function(){var a=g.QK(this.api).getPlayerSize(),b=this.api.getRootNode(),c=650<=a.width;g.Dt&&kN(this.u);g.K(b,"ytp-fullscreen",this.api.isFullscreen());g.K(b,"ytp-large-width-mode",c);g.K(b,"ytp-small-mode",this.Rd());g.K(b,"ytp-big-mode",this.kc());this.B&&this.B.u(a)}; g.h.ZI=function(a){this.xk(a.state);this.Mg()}; g.h.Mr=function(){var a=!!this.pc&&!g.LK(this.api),b=2==this.api.getPresentingPlayerType(),c=this.api.N();if(b){if(fra&&g.P(c.experiments,"enable_visit_advertiser_support_on_ipad_mweb"))return!1;b=GL(g.KK(this.api));a&&(null===b.o?a=!1:(a=b.o,a=(b=a.o.getVideoData(2))?b.isListed&&!a.V:!1));return a}return a&&(c.Qg||this.api.isFullscreen()||c.qc)}; g.h.Mg=function(){var a=this.Mr();this.C!=a&&(this.C=a,g.K(this.api.getRootNode(),"ytp-hide-info-bar",!a))}; g.h.xk=function(a){var b;(b=a.isCued())||(b=((b=g.W(this.api.app,void 0))?EJ(b):!0)&&3!=this.api.getPresentingPlayerType());b!=this.isCued&&(this.isCued=b,this.Tc&&this.bb(this.Tc),this.Tc=this.L(g.QK(this.api),"touchstart",this.VM,void 0,b));var c=a.eb()&&!g.V(a,32)||cL(this.api);this.u.Tb(128,!c);c=3==this.api.getPresentingPlayerType();this.u.Tb(256,c);c=this.api.getRootNode();if(g.V(a,2))var d=[s2.ENDED];else d=[],g.V(a,8)?d.push(s2.PLAYING):g.V(a,4)&&d.push(s2.PAUSED),g.V(a,1)&&!g.V(a,32)&&d.push(s2.BUFFERING), g.V(a,32)&&d.push(s2.SEEKING),g.V(a,64)&&d.push(s2.UNSTARTED);g.sb(this.Wa,d)||(g.En(c,this.Wa),this.Wa=d,g.Cn(c,d));d=this.api.N();var e=g.V(a,2);g.K(c,"ytp-hide-controls",("3"==d.controlsType?!e:"1"!=d.controlsType)||b);g.K(c,"ytp-native-controls","3"==d.controlsType&&!b&&!e&&!this.ac);g.V(a,128)&&!g.Ly(d)?(this.B||(this.B=new g.XP(this.api),g.B(this,this.B),g.iL(this.api,this.B.element,4)),this.B.A(a.u),this.B.show()):this.B&&(this.B.dispose(),this.B=null)}; g.h.jg=function(){return g.YK(this.api)&&g.ZK(this.api)?(this.api.setCardsVisible(!1,!1),!0):g.LK(this.api)?(g.NK(this.api,!0),!0):!1}; g.h.YI=function(a){this.ac=a;this.oe()}; g.h.kc=function(){return!1}; g.h.Rd=function(){return!this.kc()&&(480>this.api.getPlayerSize().width||290>this.api.getPlayerSize().height)}; g.h.Oi=function(){return this.Kc}; g.h.fm=function(){return null}; g.h.xt=function(){var a=g.QK(this.api).getPlayerSize();return new g.ph(0,0,a.width,a.height)}; g.h.handleGlobalKeyDown=function(){return!1}; g.h.handleGlobalKeyUp=function(){return!1}; g.h.qk=function(){}; g.h.showControls=function(a){if(void 0!=a){var b=g.QK(this.api);Qy(b.app.N());b.C=!a;uM(b)}}; g.h.At=function(){}; g.h.Dx=function(){return null};var kla={seekableStart:0,seekableEnd:1,current:0};g.r(mQ,g.Ru);mQ.prototype.B=function(){var a=this.w.getProgressState();a=jP(new hP(a.seekableStart,a.seekableEnd),a.current,0);this.F.style.width=100*a+"%"}; mQ.prototype.C=function(){g.az(this.A.N())||(2==this.A.getPresentingPlayerType()?-1===this.u&&(this.show(),this.u=this.w.subscribe("b",this.B,this),this.B()):-1!==this.u&&(this.hide(),this.w.Eh(this.u),this.u=-1))};g.r(nQ,g.O);g.h=nQ.prototype;g.h.Rz=function(){return 1E3*this.o.getDuration(this.w)}; g.h.stop=function(){this.A&&this.u.bb(this.A)}; g.h.Sz=function(){var a=this.o.getProgressState(this.w);this.B={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:g.P(this.o.N().experiments,"halftime_ux_killswitch")?a.current:this.o.getCurrentTime(this.w,!1)};this.S("b")}; g.h.getProgressState=function(){return this.B}; g.h.tJ=function(a){g.bH(a,2)&&this.S("a")};g.r(g.oQ,g.R);g.oQ.prototype.show=function(){g.R.prototype.show.call(this);this.u.Ua()}; g.oQ.prototype.hide=function(){this.A.stop();g.R.prototype.hide.call(this)};g.r(uQ,g.R);uQ.prototype.Qb=function(){this.w.show();g.Qo("iv-button-shown")}; uQ.prototype.X=function(){this.u&&this.u();g.R.prototype.X.call(this)}; uQ.prototype.C=function(){g.Qo("iv-button-mouseover")}; uQ.prototype.onClicked=function(a){g.YK(this.K);var b=g.Bn(this.K.getRootNode(),"ytp-cards-teaser-shown");g.Qo("iv-teaser-clicked",b);a=0===a.screenX&&0===a.screenY;this.K.setCardsVisible(!g.ZK(this.K),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.r(vQ,g.R);g.h=vQ.prototype;g.h.HC=function(){g.YK(this.w)&&g.ZK(this.w)&&this.Ha()&&4!==this.F.state&&this.jm()}; g.h.MO=function(){this.jm();g.Qo("iv-teaser-clicked",!!this.u);this.w.setCardsVisible(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")}; g.h.aJ=function(){g.Qo("iv-teaser-mouseover");this.u&&this.u.stop()}; g.h.nN=function(a){this.u||!a||g.ZK(this.w)||this.A&&this.A.isActive()||(lla(this,a),g.Qo("iv-teaser-shown"))}; g.h.Kt=function(){if(g.Ly(this.w.N())&&this.Ha()){var a=this.C.element.offsetLeft,b=g.ce("ytp-cards-button-icon"),c=this.w.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.C.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}}; g.h.hE=function(){g.Ly(this.w.N())&&this.U.Rd()&&this.Ha()&&this.R.start()}; g.h.HA=function(){this.I.stop();this.u&&this.u.isActive()&&this.M.start()}; g.h.GA=function(){this.M.stop();this.u&&!this.u.isActive()&&this.I.start()}; g.h.NL=function(){this.u&&this.u.stop()}; g.h.KL=function(){this.jm()}; g.h.jm=function(){!this.u||this.B&&this.B.isActive()||(g.Qo("iv-teaser-hidden"),this.F.hide(),g.Dn(this.w.getRootNode(),"ytp-cards-teaser-shown"),this.B=new g.I(function(){for(var a=g.q(this.G),b=a.next();!b.done;b=a.next())this.bb(b.value);this.G=[];this.u&&(this.u.dispose(),this.u=null);tQ(this.C,!0)},330,this),this.B.start())}; g.h.X=function(){var a=this.w.getRootNode();a&&g.Dn(a,"ytp-cards-teaser-shown");g.Ie(this.A,this.B,this.u);g.R.prototype.X.call(this)};g.r(g.yQ,g.R);g.yQ.prototype.B=function(){g.J(this.element,"ytp-sb-subscribed")}; g.yQ.prototype.C=function(){g.Dn(this.element,"ytp-sb-subscribed")};g.Ga("yt.pubsub.publish",g.Qo,void 0);var y2={},BQ=(y2.BUTTON="ytp-button",y2.TITLE_NOTIFICATIONS="ytp-title-notifications",y2.TITLE_NOTIFICATIONS_ON="ytp-title-notifications-on",y2.TITLE_NOTIFICATIONS_OFF="ytp-title-notifications-off",y2.NOTIFICATIONS_ENABLED="ytp-notifications-enabled",y2);g.r(CQ,g.R); CQ.prototype.onClick=function(){g.nL(this.api,this.element);var a=!this.u;this.la("label",a?"Ne plus recevoir de notifications pour chaque vid\u00e9o mise en ligne":"Recevoir une notification pour chaque vid\u00e9o mise en ligne");this.la("pressed",a);DQ(this,a)};g.r(EQ,g.R);EQ.prototype.R=function(){IQ(this);this.w.classList.remove("ytp-title-expanded")}; EQ.prototype.I=function(){if(FQ(this)&&!GQ(this)){this.la("channelTitleFocusable","0");this.F&&this.F.stop();this.A&&(this.A.show(),g.oL(this.u,this.A.element,!0));var a=this.u.getVideoData();this.C&&a.zk&&a.subscribed&&(this.C.show(),g.oL(this.u,this.C.element,!0));this.w.classList.add("ytp-title-expanded");this.w.classList.add("ytp-title-show-expanded")}}; EQ.prototype.G=function(){this.la("channelTitleFocusable","-1");this.F&&this.F.start()}; EQ.prototype.M=function(){var a=this.u.getVideoData(),b=this.u.N(),c=!1;2===this.u.getPresentingPlayerType()?c=!!a.videoId&&!!a.isListed&&!!a.author&&!!a.sf&&!!a.Id:g.Ly(b)&&(c=!!a.videoId&&!!a.sf&&!!a.Id);b=g.tz(this.u.N())+a.sf;g.Ly(this.u.N())&&(b=g.yd(b,g.DH({},"emb_ch_name_ex")));var d=a.sf,e=a.Id,f=a.author;d=void 0===d?"":d;e=void 0===e?"":e;f=void 0===f?"":f;c?(d=g.tz(this.u.N())+d,this.B.style.backgroundImage="url("+e+")",this.la("channelLink",d),this.la("channelLogoLabel",g.gM("Photo de $CHANNEL_NAME", {CHANNEL_NAME:f})),g.J(this.u.getRootNode(),"ytp-title-enable-channel-logo")):g.Dn(this.u.getRootNode(),"ytp-title-enable-channel-logo");g.oL(this.u,this.B,c&&this.P);this.A&&(this.A.u=a.Ng);this.la("expandedTitle",a.pl);this.la("channelTitleLink",b);this.la("expandedSubtitle",a.expandedSubtitle)};g.r(JQ,g.R);JQ.prototype.show=function(){g.R.prototype.show.call(this);this.u.Ua()}; JQ.prototype.hide=function(){this.A.stop();g.R.prototype.hide.call(this)};g.r(LQ,g.Tu);LQ.prototype.u=function(a){g.Lp(a)||39!==g.Mp(a)||(this.element.click(),g.Kp(a))};g.r(PQ,g.WN);g.h=PQ.prototype;g.h.KK=function(){LN(this.M.element)}; g.h.cL=function(){QQ(this,this.u.getDebugText(!0))&&pQ(this.Z,AM())}; g.h.dL=function(){QQ(this,this.u.getVideoEmbedCode())&&pQ(this.Z,HM());g.nL(this.u,this.A.element);KQ("EMBED",this.u.getVideoData().videoId,this.u.getPlaylistId()||void 0)}; g.h.fL=function(){QQ(this,this.u.getVideoUrl(!0,!0))&&pQ(this.Z,MM());g.nL(this.u,this.C.element);KQ("COPY_PASTE",this.u.getVideoData().videoId,this.u.getPlaylistId()||void 0)}; g.h.eL=function(){QQ(this,this.u.getVideoUrl(!1,!0))&&pQ(this.Z,MM());g.nL(this.u,this.B.element);KQ("COPY_PASTE",this.u.getVideoData().videoId,this.u.getPlaylistId()||void 0)}; g.h.EA=function(a){this.F.setValue(a)}; g.h.vL=function(){var a=this.F.getValue();cT(this.u.app,a);this.U.gb();g.nL(this.u,this.F.element)}; g.h.GM=function(a){this.u.reportPlaybackIssue();if(g.IN(a,this.u,!hz(this.u.N()))){a=this.u;var b={as3:!1,html5:!0,player:!0};b=b||{};var c=a.getVideoStats().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.getDebugText(!0);a.na("onFeedbackStartRequest",b);a.isFullscreen()&&a.toggleFullscreen()}this.U.gb()}; g.h.eN=function(){this.u.showVideoInfo();this.U.gb()}; g.h.eJ=function(a,b){OQ(this,b)}; g.h.Xa=function(a){g.WN.prototype.Xa.call(this,a);g.oL(this.u,this.A.element,a);g.oL(this.u,this.C.element,a);g.oL(this.u,this.B.element,a);g.oL(this.u,this.F.element,a)};g.r(g.RQ,g.Gr);g.RQ.prototype.L=function(a,b,c){return g.Gr.prototype.L.call(this,a,b,c)};g.r(g.TQ,g.$N);g.h=g.TQ.prototype;g.h.show=function(){this.A||(this.A=new PQ(this.K,this.aa,this,this.V),g.B(this,this.A),g.dO(this,this.A));this.A.EA(xK(this.K.app.C));g.$N.prototype.show.call(this);g.oL(this.K,this.element,!0);this.A.Xa(!0)}; g.h.hide=function(){SQ(this);g.$N.prototype.hide.call(this);g.oL(this.K,this.element,!1);this.A&&this.A.Xa(!1)}; g.h.JK=function(a){var b=Hp(a);if(!(this.Ha()||b&&(g.De(b,"a")||g.De(b,null,"ytp-no-contextmenu",void 0)))){g.Kp(a);UQ(this);b=this.K.getVideoData();g.K(this.element,"ytp-dni",b.lc);this.element.style.left="";this.element.style.top="";a=Jp(a);a.x++;a.y++;this.Qb();var c=document.body;b=new nh(0,Infinity,Infinity,0);var d=Zd(c);for(var e=d.o.body,f=d.o.documentElement,k=ge(d.o);c=Dh(c);)if(!(g.he&&0==c.clientWidth||g.je&&0==c.clientHeight&&c==e)&&c!=e&&c!=f&&"visible"!=yh(c,"overflow")){var l=g.Eh(c), m=new g.Qd(c.clientLeft,c.clientTop);l.x+=m.x;l.y+=m.y;b.top=Math.max(b.top,l.y);b.right=Math.min(b.right,l.x+c.clientWidth);b.bottom=Math.min(b.bottom,l.y+c.clientHeight);b.left=Math.max(b.left,l.x)}e=k.scrollLeft;k=k.scrollTop;b.left=Math.max(b.left,e);b.top=Math.max(b.top,k);d=d.o;d=fe(d.parentWindow||d.defaultView||window);b.right=Math.min(b.right,e+d.width);b.bottom=Math.min(b.bottom,k+d.height);d=0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null;b=this.size;a=a.clone();b=b.clone(); d&&(k=a,e=b,f=5,65==(f&65)&&(k.x=d.right)&&(f&=-2),132==(f&132)&&(k.y=d.bottom)&&(f&=-5),k.xd.right&&(e.width=Math.min(d.right-k.x,c+e.width-d.left),e.width=Math.max(e.width,0))),k.x+e.width>d.right&&f&1&&(k.x=Math.max(d.right-e.width,d.left)),k.yd.bottom&&(e.height=Math.min(d.bottom-k.y,c+e.height-d.top),e.height=Math.max(e.height, 0))),k.y+e.height>d.bottom&&f&4&&(k.y=Math.max(d.bottom-e.height,d.top)));d=new g.ph(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.Ah(this.element,new g.Qd(d.left,d.top));g.Ir(this.B);this.B.L(document,"contextmenu",this.PK);this.B.L(this.K,"fullscreentoggled",this.NH);this.B.L(this.K,"pageTransition",this.aM)}}; g.h.PK=function(a){if(!g.Lp(a)){var b=Hp(a);g.xe(this.element,b)||this.gb();this.K.N().cn&&g.Kp(a)}}; g.h.NH=function(){this.gb();UQ(this)}; g.h.aM=function(){this.gb()};g.r(g.VQ,g.Gr);g.h=g.VQ.prototype; g.h.Qx=function(a){var b=!1,c=g.Mp(a),d=Hp(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=this.o.N();g.Lp(a)?(e=!1,k=!0):l.Xb&&(e=!1);if(9==c)b=!0;else{if(d)switch(c){case 32:case 13:if("BUTTON"==d.tagName||"A"==d.tagName||"INPUT"==d.tagName)b=!0,e=!1;else if(e){var m=d.getAttribute("role");!m||"option"!=m&&"button"!=m&&0!=m.indexOf("menuitem")||(b=!0,d.click(),f=!0)}break;case 37:case 39:case 36:case 35:b="slider"==d.getAttribute("role");break;case 38:case 40:m=d.getAttribute("role"),d=38==c? d.previousSibling:d.nextSibling,"slider"==m?b=!0:e&&("option"==m?(d&&"option"==d.getAttribute("role")&&d.focus(),f=b=!0):m&&0==m.indexOf("menuitem")&&(d&&d.hasAttribute("role")&&0==d.getAttribute("role").indexOf("menuitem")&&d.focus(),f=b=!0))}if(e&&!f)switch(c){case 38:f=Math.min(this.o.getVolume()+5,100);rQ(this.u,f,!1);this.o.setVolume(f);k=f=!0;break;case 40:f=Math.max(this.o.getVolume()-5,0);rQ(this.u,f,!0);this.o.setVolume(f);k=f=!0;break;case 36:this.o.Qc()&&(this.o.seekTo(0),k=f=!0);break; case 35:this.o.Qc()&&(this.o.seekTo(Infinity),k=f=!0)}}b&&this.Fu(!0);(b||k)&&this.B.Tb(2,!0);(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code))&&g.Kp(a);l.w&&(a={keyCode:g.Mp(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.Lp(a),fullscreen:this.o.isFullscreen()},this.o.na("onKeyPress",a))}; g.h.Rx=function(a){this.handleGlobalKeyUp(g.Mp(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)}; g.h.handleGlobalKeyUp=function(a){var b=!1,c=g.VK(g.KK(this.o));c&&(c=c.u)&&c.Ha()&&(c.Ox(a),b=!0);9==a&&(this.Fu(!0),b=!0);return b}; g.h.handleGlobalKeyDown=function(a,b,c,d,e,f){d=!1;c=this.o.N();if(c.Xb)return d;if((e=g.VK(g.KK(this.o)))&&(e=e.u)&&e.Ha())switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:d=e.Nx(a)}c.B||d||(f=f||String.fromCharCode(a).toLowerCase(),this.w+=f,0=="awesome".indexOf(this.w)?(d=!0,7==this.w.length&&(f=this.o.getRootNode(),e=!g.Bn(f,"ytp-color-party"),g.K(f,"ytp-color-party",e))):(this.w=f,d=0=="awesome".indexOf(this.w)));if(!d){switch(a){case 80:b&&!c.M&&(pQ(this.u,TM(), "Pr\u00e9c\u00e9dente"),this.o.previousVideo(),d=!0);break;case 78:b&&!c.M&&(pQ(this.u,OM(),"Suivante"),this.o.nextVideo(),d=!0);break;case 74:this.o.Qc()&&(pQ(this.u,g.X?{D:"div",Y:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), this.o.seekBy(-10*this.o.getPlaybackRate()),d=!0);break;case 76:this.o.Qc()&&(pQ(this.u,g.X?{D:"div",Y:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), this.o.seekBy(10*this.o.getPlaybackRate()),d=!0);break;case 37:this.o.Qc()&&(pQ(this.u,g.X?{D:"div",Y:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}), this.o.seekBy(-5*this.o.getPlaybackRate()),d=!0);break;case 39:this.o.Qc()&&(pQ(this.u,g.X?{D:"div",Y:["ytp-icon","ytp-icon-forward-five-seconds"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}), this.o.seekBy(5*this.o.getPlaybackRate()),d=!0);break;case 77:this.o.isMuted()?(this.o.unMute(),rQ(this.u,this.o.getVolume(),!1)):(this.o.mute(),rQ(this.u,0,!0));d=!0;break;case 32:case 75:c.M||(b=!g.OC(g.PK(this.o)),g.qQ(this.u,b),b?this.o.playVideo():this.o.pauseVideo(),d=!0);break;case 190:b?c.Ia&&(b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b+.25,!0),sQ(this.u,!1),d=!0):this.o.Qc()&&(XQ(this,1),d=!0);break;case 188:b?c.Ia&&(b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b-.25,!0),sQ(this.u, !0),d=!0):this.o.Qc()&&(XQ(this,-1),d=!0);break;case 70:HN(this.o)&&(this.o.toggleFullscreen(),d=!0);break;case 27:this.C()&&(d=!0)}if("3"!=c.controlsType)switch(a){case 67:g.zL(g.KK(this.o))&&(b=this.o.getOption("captions","track"),this.o.toggleSubtitles(),b=!b||b&&!b.displayName?"Sous-titres activ\u00e9s":"Sous-titres d\u00e9sactiv\u00e9s",pQ(this.u,XM(),b),d=!0);break;case 79:WQ(this,"textOpacity");break;case 87:WQ(this,"windowOpacity");break;case 187:case 61:WQ(this,"fontSizeIncrement",!1,!0); break;case 189:case 173:WQ(this,"fontSizeIncrement",!0,!0)}var k;48<=a&&57>=a?k=a-48:96<=a&&105>=a&&(k=a-96);null!=k&&this.o.Qc()&&(a=this.o.getProgressState(),this.o.seekTo(k/10*(a.seekableEnd-a.seekableStart)+a.seekableStart),d=!0);d&&this.B.Tb(2,!0)}return d}; g.h.Fu=function(a){g.K(this.o.getRootNode(),"ytp-probably-keyboard-focus",a);g.K(this.F.element,"ytp-probably-keyboard-focus",a)}; g.h.kC=function(a){g.zL(g.KK(this.o))&&this.o.setOption("captions","sampleSubtitles",a)}; g.h.X=function(){this.A.Pe();g.Gr.prototype.X.call(this)};g.r(YQ,g.R);YQ.prototype.Db=function(a){this.element.setAttribute("aria-checked",String(a))}; YQ.prototype.onClick=function(a){g.IN(a,this.api)&&this.api.playVideoAt(this.index)};g.r(ZQ,g.wN);g.h=ZQ.prototype;g.h.show=function(){g.wN.prototype.show.call(this);this.w.L(this.api,"videodatachange",this.cu);this.w.L(this.api,"onPlaylistUpdate",this.cu);this.cu()}; g.h.hide=function(){g.wN.prototype.hide.call(this);g.Ir(this.w);this.updatePlaylist(null)}; g.h.cu=function(){this.updatePlaylist(this.api.getPlaylist())}; g.h.Hp=function(){var a=this.playlist,b=a.w;if(b===this.A)this.selected.Db(!1),this.selected=this.playlistData[a.index];else{for(var c=g.q(this.playlistData),d=c.next();!d.done;d=c.next())d.value.dispose();c=a.getLength();this.playlistData=[];for(d=0;dg.QK(this.w).getPlayerSize().width&&!a);this.u&&2!=this.w.getPresentingPlayerType()?(this.update({text:g.gM("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.u.index+1),PLAYLIST_LENGTH:String(this.u.getLength())}),title:g.gM("Playlist\u00a0: $PLAYLIST_NAME",{PLAYLIST_NAME:this.u.title})}),this.Ha()||(this.show(),SN(this.B)),this.F=!0):this.Ha()&&(this.hide(),SN(this.B))}; $Q.prototype.Xa=function(a){g.R.prototype.Xa.call(this,a);g.oL(this.w,this.element,this.F&&a)}; $Q.prototype.C=function(){this.u&&this.u.unsubscribe("shuffle",this.A,this);(this.u=this.w.getPlaylist())&&this.u.subscribe("shuffle",this.A,this);this.A()};g.r(aR,g.R); aR.prototype.C=function(a){if(a){this.u=a;a=this.u.text;var b=!1;a&&(this.update({title:a}),b=!0);g.Oh(this.U,b);a=this.u.detailsText;b=!1;a&&(this.update({details:a}),b=!0);g.Oh(this.I,b);a=this.u.acceptButton;b=!1;a&&a.buttonRenderer&&(this.update({acceptButtonText:a.buttonRenderer.text}),b=!0);g.Oh(this.G,b);a=this.u.dismissButton;b=!1;a&&a.buttonRenderer&&(this.update({dismissButtonText:a.buttonRenderer.text}),b=!0);g.Oh(this.M,b)}a=document.querySelectorAll('[data-tooltip-target-id="'+this.u.targetId+ '"]');this.A=0'),e=d.document))e.write(g.Qc(c)), e.close()}else(d=ad(e,d,f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.Kp(b)}}; g.h.HL=function(a,b){g.JN(a,this.w,b)&&this.w.na("SHARE_CLICKED")}; g.h.kJ=function(a){!a&&yN(this)&&this.hf()}; g.h.focus=function(){this.F.focus()}; g.h.X=function(){g.wN.prototype.X.call(this);cR(this)};g.r(g.eR,g.R);g.eR.prototype.G=function(){var a=this.u.N(),b=this.u.getVideoData(),c=this.u.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);navigator.share?navigator.share({title:b.title,url:a}):(this.B.jg(),this.I.hf(this.element,!1));g.nL(this.u,this.element)}; g.eR.prototype.A=function(){var a=this.u.N(),b=this.u.getVideoData(),c=this.B.Rd()&&g.Ly(a),d=g.Ly(a)&&g.SK(this.u)&&g.V(g.PK(this.u),128);this.la("icon",c&&a.F?{D:"div",Y:["ytp-icon","ytp-icon-sharrow-large"]}:g.X?{D:"div",Y:["ytp-icon","ytp-icon-sharrow"]}:{D:"svg",O:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{D:"path",Na:!0,H:"ytp-svg-fill",O:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}); a=a.disableSharing&&2!=this.u.getPresentingPlayerType()||!b.showShareButton||b.Jm||d;c=g.QK(this.u).getPlayerSize().width;this.w=!!b.videoId&&c>=this.F&&!a;g.K(this.element,"ytp-share-button-visible",this.w);g.Qu(this,this.w);SN(this.C);g.oL(this.u,this.element,this.w&&this.P)}; g.eR.prototype.Xa=function(a){g.R.prototype.Xa.call(this,a);g.oL(this.u,this.element,this.w&&a)}; g.eR.prototype.X=function(){g.R.prototype.X.call(this);g.Dn(this.element,"ytp-share-button-visible")};g.r(gR,g.wN);gR.prototype.show=function(){g.wN.prototype.show.call(this);this.C.start()}; gR.prototype.hide=function(){g.wN.prototype.hide.call(this);this.C.stop()}; gR.prototype.aa=function(){var a=this.w.getCurrentTime();a>this.B/1E3&&a(b.height-k.height)/2?l.y-f.height-12:l.y+k.height+12);a.style.top=f+(e||0)+"px";a.style.left=c+"px"}; g.h.mm=function(a){a&&(this.M.rf(this.A.element),this.o&&this.M.rf(this.o.ua()));g.eQ.prototype.mm.call(this,a)}; g.h.xt=function(a,b){var c=g.QK(this.api).getPlayerSize();c=new g.ph(0,0,c.width,c.height);if(a||this.u.u&&!this.Sh()){if(this.api.N().Qg||b){var d=this.kc()?this.yb:this.Rb;c.top+=d;c.height-=d}this.o&&(c.height-=this.o.A.kc()?72:50)}return c}; g.h.bJ=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","Lecteur vid\u00e9o YouTube en plein \u00e9cran"),this.api.N().externalFullscreen||(b.parentElement.insertBefore(this.Ka.element,b),b.parentElement.insertBefore(this.Ia.element,b.nextSibling))):g.M(Error("Player not in DOM.")):(b.setAttribute("aria-label","Lecteur vid\u00e9o YouTube"),g.Nu(this.Ka),g.Nu(this.Ia));this.Ti();this.Mg()}; g.h.kc=function(){return this.api.isFullscreen()||!1}; g.h.showControls=function(a){this.Xb=!a;this.oe()}; g.h.Ti=function(){var a=this.kc();this.M.B=a?1.5:1;this.P&&g.K(this.P.element,"ytp-big-mode",a);this.oe();if(this.Rd()&&this.w)this.I&&tR(this.w,this.I),this.G&&tR(this.w,this.G),this.F&&tR(this.w,this.F);else{if(this.w){a=this.w;for(var b=g.q(a.actionButtons),c=b.next();!c.done;c=b.next())g.Nu(c.value);a.actionButtons=[]}this.I&&!g.xe(this.ha.element,this.I.element)&&this.I.ca(this.ha.element);this.G&&!g.xe(this.ha.element,this.G.element)&&this.G.ca(this.ha.element);this.F&&!g.xe(this.ha.element, this.F.element)&&this.F.ca(this.ha.element)}this.Mg();g.eQ.prototype.Ti.call(this)}; g.h.Mr=function(){if(JR(this)&&!g.SK(this.api))return!1;var a=this.api.getVideoData();return!g.Ly(this.api.N())||2==this.api.getPresentingPlayerType()||!this.wf||((a=this.wf||a.wf)?(a=a.embedPreview)?(a=a.thumbnailPreviewRenderer,a=a.videoDetails&&a.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer||null):a=null:a=null,a&&a.collapsedRenderer&&a.expandedRenderer)?g.eQ.prototype.Mr.call(this):!1}; g.h.Mg=function(){g.eQ.prototype.Mg.call(this);g.oL(this.api,this.qc.element,!!this.C);this.za&&this.za.Xa(!!this.C);this.rb.Xa(!!this.C);this.Ma&&this.Ma.Xa(this.Rd()&&!!this.C);this.G&&this.G.Xa(!this.Rd()&&!!this.C);this.I&&this.I.Xa(!this.Rd()&&!!this.C);this.F&&this.F.Xa(!this.Rd()&&!!this.C);if(!this.C){this.M.rf(this.A.element);for(var a=0;a=c,b.dis=this.B.zl("display"));(a=a?(0,g.yJ)():null)&&(b.gpu=a);b.cgr=!0;b.debug_playbackQuality=this.u.getPlaybackQuality(1);b.debug_date=(new Date).toString();delete b.uga;delete b.q;(a=aL(this.A))&&(b=IT(b,a.Za(),"fresca_"));return JSON.stringify(b,null,2)}; g.h.getPresentingPlayerType=function(){return 1==this.Z?1:DS(this)?3:g.W(this).getPlayerType()}; g.h.getAppState=function(){return this.Z}; g.h.KG=function(a){switch(a.type){case "loadedmetadata":LA("fvb",this.P.timerName)||this.P.tick("fvb");OA("fvb");this.yb.start();break;case "loadstart":LA("gv",this.P.timerName)||this.P.tick("gv");OA("gv");break;case "progress":case "timeupdate":!LA("l2s",this.P.timerName)&&2<=Rt(a.target.Dd())&&this.P.tick("l2s");break;case "playing":g.nz&&this.yb.start();if(g.$y(this.o))a=!1;else{var b=g.VK(this.A);a="none"==this.B.zl("display")||0==Ud(this.B.ck());var c=tM(this.G),d=this.C.getVideoData(),e=mz(this.o)|| g.Uy(this.o);d=hB(d);b=!c||b||e||d||this.o.Wg;a=a&&!b}a&&(this.C.Ra("hidden","1",!0),this.getVideoData().Jf||(tS(this,"html5_new_elem_on_hidden")?(this.getVideoData().Jf=1,this.KA(null),this.C.playVideo()):BT(this,"hidden",!0)))}}; g.h.pL=function(a,b){this.u.na("onLoadProgress",b)}; g.h.lN=function(){this.u.S("playbackstalledatstart")}; g.h.LG=function(a,b){var c=PS(this,a);b=fT(this,c.getCurrentTime(),c);this.u.na("onVideoProgress",b)}; g.h.QK=function(){this.u.na("onDompaused")}; g.h.uM=function(){this.u.S("progresssync")}; g.h.HG=function(a){if(1==this.getPresentingPlayerType()){g.bH(a,1)&&!g.V(a.state,64)&&SS(this).va&&this.w.isAtLiveHead()&&1Math.random()&&g.Rq("autoplayTriggered",{intentional:this.Uc});this.pd=!1;var b=g.ds(this.Md||(this.I.o?3:0));if(b){var c={cpn:this.getVideoData().clientPlaybackNonce,csn:b};if(g.P(this.o.experiments,"web_playback_associated_ve")&&null!=this.getVideoData().Af){var d=g.Wr(this.getVideoData().Af);g.us(b, d);c.playbackVe=g.Yr(d)}g.P(this.o.experiments,"kevlar_playback_associated_queue")&&this.getVideoData().queueInfo&&(c.queueInfo=this.getVideoData().queueInfo);g.Rq("playbackAssociated",c)}tS(this,"web_player_inline_botguard")&&(b=this.getVideoData().botguardData)&&(to("BG_I",b.interpreterScript),to("BG_IU",b.interpreterUrl),to("BG_P",b.program),g.jz(this.o)?Sp(function(){ZS(a)}):ZS(this))}; g.h.hL=function(){this.u.S("internalAbandon");tS(this,"html5_ad_module_cleanup_killswitch")||hT(this)}; g.h.tA=function(a){a=a.o;if(!isNaN(a)&&0window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.B.ol()}; g.h.oL=function(a){3!=this.getPresentingPlayerType()&&this.u.S("liveviewshift",a)}; g.h.playVideo=function(a){if(a=g.W(this,a))2==this.Z?XS(this):(null!=this.ba&&this.ba.Ha()&&this.ba.start(),g.V(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())}; g.h.pauseVideo=function(a){(a=g.W(this,a))&&a.pauseVideo()}; g.h.stopVideo=function(){var a=this.w.getVideoData(),b=new g.aB(this.o,{video_id:a.gv||a.videoId,oauth_token:a.oauthToken});b.gf=g.Pb(a.gf);oT(this,6);qT(this,b,1);null!=this.ba&&this.ba.stop()}; g.h.sendVideoStatsEngageEvent=function(a,b,c){(b=g.W(this,b))&&this.o.rd.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()}; g.h.updatePlaylist=function(){WS(this);this.u.na("onPlaylistUpdate")}; g.h.setSizeStyle=function(a,b){this.pe=a;this.Ic=b;this.u.S("sizestylechange",a,b);this.G.ke()}; g.h.isWidescreen=function(){return this.Ic}; g.h.isInline=function(){return this.I.isInline()}; g.h.getAdState=function(){if(3==this.getPresentingPlayerType())return g.RK(this.A).getAdState();if(!this.Mb()){var a=GL(this.A);if(a)return a.getAdState()}return-1}; g.h.LM=function(a){var b=this.G.getVideoContentRect();qh(this.od,b)||(this.od=b,this.C&&WJ(this.C),this.w&&this.w!=this.C&&WJ(this.w),1==this.I.w&&this.Ta&&zT(this,!0));this.Hc&&g.Td(this.Hc,a)||(this.u.S("appresize",a),this.Hc=a)}; g.h.Qc=function(){return this.u.Qc()}; g.h.fN=function(){this.getPresentingPlayerType();BT(this,"signature",void 0,!0)}; g.h.KA=function(){HS(this);GS(this)}; g.h.HM=function(a){hK(a,this.B.To())}; g.h.IK=function(){this.u.na("CONNECTION_ISSUE")}; g.h.IG=function(a){this.u.S("heartbeatparams",a)}; g.h.setBlackout=function(a){this.o.Wg=a;this.C&&(g.PH(this.C.B),this.o.R&&DT(this))}; g.h.setAccountLinkState=function(a){var b=g.W(this);b&&(b.getVideoData().Zh=a)}; g.h.WL=function(){var a=g.W(this);if(a){var b=!cL(this.u);g.wK(a,b)}}; g.h.rL=function(){this.u.na("onLoadedMetadata")}; g.h.WK=function(){this.u.na("onDrmOutputRestricted")}; g.h.X=function(){this.A.dispose();this.Aa.dispose();this.U&&this.U.dispose();this.w.dispose();HS(this);g.Ie(g.Fb(this.Kc),this.F);os(this.Ca);this.Ca=0;g.A.prototype.X.call(this)}; g.h.setScreenLayer=function(a){this.Md=a}; g.h.cancelPendingLocalMediaById=function(a){if(this.ha){var b=this.ha,c=b.api.kb(),d=c?c.getVideoData():null;c&&(null===d||void 0===d?0:QB(d))&&(null===d||void 0===d?void 0:d.videoId)===a?(c.w&&XF(c.w),RB(d,!1)):b.player.getVideoData().videoId===a&&(b.player.stopVideo(),b=b.player,b.w&&XF(b.w));a=zt(a)}else a=Promise.reject();return a}; g.h.fetchLocalMedia=function(){if(this.ha){var a=this.ha,b=a.api.kb();if(b){var c=b.getVideoData();QB(c)||(ut(c.videoId,2),b.unsubscribe("localmediacomplete",a.o,a),b.subscribe("localmediacomplete",a.o,a),g.LJ(g.W(a.api.app,void 0)),RB(c,!0),mS(c),a.api.playVideo())}}}; g.h.fetchLocalMediaById=function(a){if(this.ha){var b=this.ha;rt(a)||(0===tt(2).length?nS(b,a):ut(a,3))}}; g.h.getLocalMediaInfoById=function(a){return this.ha?this.ha.getLocalMediaInfoById(a):Promise.reject()}; g.h.getAllLocalMediaInfo=function(){return this.ha?this.ha.getAllLocalMediaInfo():Promise.reject()}; g.h.getStatsForNerds=function(){var a=this.u,b=g.W(this),c=a.getVideoData(),d=a.app.B,e=d.ua(),f=b.Ur(),k=b.ha,l=8*HI(k,"bandwidth")/1024,m=HI(k,"networkactivity")/1024,n=HI(k,"bufferhealth");if(b.F){var p=b.T.useInnertubeDrmService()?"IT/":"";p+=b.F.o.ge()+"/"+Fu(SJ(b));p+="/"+b.F.ge()}else p="";var t=c.hy()?"DAI, ":"",u=b.getPlayerState().o.toString(16),z=d.getCurrentTime().toFixed(2),C=Nt(d.Dd(),",",3);u="s:"+u+" t:"+z+" b:"+C+" ";d.Yl()&&(u+="S");d.Dh()&&(u+="P");d.Bf()&&(u+="E");d=b.B;d=d.o? d.o.ha:void 0;d&&(u+=" l:"+d.toFixed());t+=u;d=g.iz();u=g.WK(a).WF;z=c.xa&&!c.xa.o?"display:none":"";if((C=c.clientPlaybackNonce)&&16==C.length){for(var D=0,E="",F=0;10>F;F++)if(D=(D<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(C.charAt(F)),4==F%5){for(var G="",fa=0;6>fa;fa++)G="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(D&31)+G,D>>=5;E+=G}C=E.substr(0,4)+" "+E.substr(4,4)+" "+E.substr(8,4)}else C="";l={video_id_and_cpn:c.videoId+" / "+C,codecs:"",dims_and_frames:"", bandwidth_kbps:l.toFixed(0)+" Kbps",buffer_health_seconds:n.toFixed(2)+" s",drm_style:p?"":"display:none",drm:p,debug_info:t,bandwidth_style:z,network_activity_style:z,network_activity_bytes:m.toFixed(0)+" KB",shader_info:u,shader_info_style:u?"":"display:none",playback_categories:""};m=e.clientWidth+"x"+e.clientHeight+(1a)if(c.latencyClass&&"UNKNOWN"!==c.latencyClass)switch(c.latencyClass){case "NORMAL":f="Optimized for Normal Latency"; break;case "LOW":f="Optimized for Low Latency";break;case "ULTRALOW":f="Optimized for Ultra Low Latency";break;default:f="Unknown Latency Setting"}else f=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";e+=f;(a=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(e+=", seq "+a.sequence);l.live_mode=e}b.isGapless()&&(l.playback_categories+="Gapless ");l.playback_categories_style=l.playback_categories?"":"display:none";l.bandwidth_samples=GI(k,"bandwidth");l.network_activity_samples= GI(k,"networkactivity");l.live_latency_samples=GI(k,"livelatency");l.buffer_health_samples=GI(k,"bufferhealth");iB(c,"web_player_release_debug")?(l.release_name="youtube.player.web_20200517_0_RC0",l.release_style=""):l.release_style="display:none";return l}; g.h.getVideoUrl=function(a,b,c,d,e){return this.M&&this.M.postId?(a=this.o.getVideoUrl(a),a=Dd(a,"v"),a.replace("/watch","/clip/"+this.M.postId)):this.o.getVideoUrl(a,b,c,d,e)}; var AS={};var Rla="www.youtube-nocookie.com youtube-nocookie.com www.youtube-nocookie.com:443 youtube.googleapis.com www.youtubeedu.com www.youtubeeducation.com video.google.com redirector.gvt1.com".split(" ");KT.prototype.fetch=function(a,b){var c=this;if(!a.match(/\[BISCOTTI_ID\]/g))return LT(this,a,b);var d=1===this.u;d&&this.o.app.P.tick("a_bid_s");var e=Ola();if(null!==e)return d&&this.o.app.P.tick("a_bid_f"),LT(this,a,b,e);e=Pla();d&&Jf(e,function(){c.o.app.P.tick("a_bid_f")}); return e.then(function(f){return LT(c,a,b,f)})}; KT.prototype.reset=function(){this.w=this.u=1};var gsa={zS:"replaceUrlMacros",zR:"isExternalShelfAllowedFor"};g.r(NT,g.iC);var hsa={commandMetadata:!0,loggingUrls:!0};g.r(VT,g.A);VT.prototype.X=function(){this.o={};g.A.prototype.X.call(this)}; VT.prototype.executeCommand=function(a,b,c){var d=this;c=void 0===c?{}:c;this.ea();a.loggingUrls&&WT(this,"loggingUrls",a,b,c);Object.keys(a).filter(function(e){return!hsa.hasOwnProperty(e)}).forEach(function(e){return WT(d,e,a,b,c)})};XT.prototype.o=function(){return"adLifecycleCommand"}; XT.prototype.Fa=function(a){var b=this;switch(a.action){case "START_LINEAR_AD":g.uf(function(){b.u.dz()}); break;case "END_LINEAR_AD":g.uf(function(){b.u.cz()}); break;case "END_LINEAR_AD_PLACEMENT":g.uf(function(){b.u.ct()}); break;case "FILL_INSTREAM_SLOT":g.uf(function(){a.elementId&&b.u.Xw(a.elementId)}); break;case "FILL_ABOVE_FEED_SLOT":g.uf(function(){a.elementId&&(null!==b.A&&(LW(b.w)||MW(b.w)||NW(b.w))&&b.A.Fr(a.elementId),b.u.Fr(a.elementId))}); break;case "CLEAR_ABOVE_FEED_SLOT":g.uf(function(){null!==b.A&&(LW(b.w)||MW(b.w)||NW(b.w))&&b.A.kr();b.u.kr()})}};ZT.prototype.o=function(){return"adPingingEndpoint"}; ZT.prototype.Fa=function(a,b,c){c=void 0===c?{}:c;this.u.send(a,b,c)};$T.prototype.o=function(){return"adPlayerControlsCommand"}; $T.prototype.Fa=function(a){switch(a.action){case "AD_PLAYER_CONTROLS_ACTION_SEEK_TO_END":var b=this.u;b=WU(b.o)&&b.u.uh()?b.o.getDuration(2):0;if(0>=b)break;this.u.seekTo(g.Md(b-(Number(a.seekOffsetMilliseconds)||0)/1E3,0,b));break;case "AD_PLAYER_CONTROLS_ACTION_RESUME":this.u.resume()}};aU.prototype.o=function(){return"changeEngagementPanelVisibilityAction"}; aU.prototype.Fa=function(a){this.K.na("changeEngagementPanelVisibility",{changeEngagementPanelVisibilityAction:a})};bU.prototype.o=function(){return"clearCueRangesCommand"}; bU.prototype.Fa=function(){var a=this;g.uf(function(){var b=a.u;fX(b,Array.from(b.G))})};cU.prototype.send=function(a,b,c){try{var d=a.match(md);if("https"===d[1])var e=a;else d[1]="https",e=kd("https",d[2],d[3],d[4],d[5],d[6],d[7]);var f=cn(e);a=[];sq(e)&&a.push({headerType:"USER_AUTH"});this.o.send({baseUrl:e,scrubReferrer:f,headers:a},b,c)}catch(k){}};dU.prototype.o=function(){return"loggingUrls"}; dU.prototype.Fa=function(a,b,c){c=void 0===c?{}:c;a=g.q(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.baseUrl&&this.u.send(d.baseUrl,b,c)};eU.prototype.o=function(){return"muteAdEndpoint"}; eU.prototype.Fa=function(a){var b=this;switch(a.type){case "SKIP":g.uf(function(){b.u.ct()})}};fU.prototype.o=function(){return"pingingEndpoint"}; fU.prototype.Fa=function(){};gU.prototype.o=function(){return"urlEndpoint"}; gU.prototype.Fa=function(a,b){if(a.url){var c=g.dn(a.url,b);g.GN(c)}};g.r(hU,g.A);iU.prototype.showCompanion=function(a,b,c){return jU(this).then(function(){return nU(a,b,c)})};pU.prototype.showCompanion=function(a,b){b.contentVideoId||(b.contentVideoId=a);this.u.na("updateKevlarOrC3Companion",b)};qU.prototype.Kl=function(){return!1}; qU.prototype.R=function(){return function(){return null}};g.r(tU,qU);g.h=tU.prototype;g.h.bd=function(){return!0}; g.h.Ec=function(){return!1}; g.h.isSkippable=function(){return null!=this.ba}; g.h.getVideoUrl=function(){return this.P}; g.h.Kl=function(){return!0};g.r(wU,qU);wU.prototype.bd=function(){return!0}; wU.prototype.Ec=function(){return!0};g.r(DU,qU);DU.prototype.bd=function(){return!0}; DU.prototype.Ec=function(){return!1}; DU.prototype.Kl=function(){return!0}; DU.prototype.R=function(){return function(){return g.ce("video-ads")}};EU.prototype.xb=function(){return this.M}; EU.prototype.isPostroll=function(){return"AD_PLACEMENT_KIND_END"==this.xb().u};var jma=["FINAL","CPN","MIDROLL_POS","SDKV","SLOT_POS"];var RU=null;g.r(QU,g.O);QU.prototype.ul=function(a){return this.o.hasOwnProperty(a)?this.o[a].ul():{}}; g.Ga("ytads.bulleit.getVideoMetadata",function(a){return SU().ul(a)},void 0); g.Ga("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=SU();c=lma(c);null!==c&&d.S(c,{queryId:a,viewabilityString:b})},void 0);TU.prototype.send=function(a,b,c){try{var d=!!a.scrubReferrer,e=g.dn(a.baseUrl,kma(b,c,d)),f;if(a.headers)for(var k=g.q(a.headers),l=k.next();!l.done;l=k.next())switch(l.value.headerType){case "USER_AUTH":var m=this.Qd();m&&(f||(f={}),f.Authorization="Bearer "+m)}g.cr(e,void 0,d,f)}catch(n){}};g.r(UU,TU);UU.prototype.Qd=function(){return this.o?this.o.Qd():""};g.r(VU,g.A);g.r(aV,g.A);g.r(Y,g.O);g.h=Y.prototype;g.h.ul=function(){return{}}; g.h.wu=function(){}; g.h.ib=function(a){this.Je();this.S(a)}; g.h.Iz=function(){}; g.h.Je=function(){sV(this,this.V,3);this.V=[]}; g.h.getDuration=function(){return this.K.getDuration(2,!1)}; g.h.mh=function(){var a=this.o;bV(a)||!oV(a,"impression")&&!oV(a,"start")||oV(a,"abandon")||oV(a,"complete")||oV(a,"skip")||(dV(a)?jV(a,"pause"):iV(a,"pause"))}; g.h.sg=function(){this.ba||this.G||this.Lb()}; g.h.Zc=function(){lV(this.o,this.getDuration())}; g.h.Ac=function(){var a=this.o;!oV(a,"impression")||oV(a,"skip")||oV(a,"complete")||jV(a,"abandon")}; g.h.nh=function(){var a=this.o;dV(a)?iV(a,"skip"):!oV(a,"impression")||oV(a,"abandon")||oV(a,"complete")||iV(a,"skip")}; g.h.Lb=function(){if(!this.G){var a=vV(this);this.o.w.AD_CPN=a;kV(this.o);this.G=!0}}; g.h.Wb=function(a){a=a||"";var b="",c="",d="";WU(this.K)&&(b=g.PK(this.K,2).o,this.K.app.B&&(c=this.K.app.B.je(),null!=this.K.app.B.Ye()&&(d=this.K.app.B.Ye())));var e=this.o;e.w=OU(e.w,MU(3,"There was an error playing the video ad. Error code: "+(a+"; s:"+b+"; rs:")+(c+"; ec:"+d)));iV(e,"error")}; g.h.Ri=function(){}; g.h.DB=function(){this.S("e")}; g.h.EB=function(){this.S("j")}; g.h.FB=function(){this.S("k")}; g.h.GB=function(){this.S("l")}; g.h.HB=function(){this.S("m")}; g.h.IB=function(){this.S("n")}; g.h.JB=function(){this.S("s")}; g.h.dispose=function(){this.ea()||(this.Je(),this.w.unsubscribe("e",this.DB,this),this.w.unsubscribe("j",this.EB,this),this.w.unsubscribe("k",this.FB,this),this.w.unsubscribe("l",this.GB,this),this.w.unsubscribe("m",this.HB,this),this.w.unsubscribe("n",this.IB,this),this.w.unsubscribe("s",this.JB,this),delete this.w.o[this.F.F],g.O.prototype.dispose.call(this))}; g.h.Uw=function(){return""};g.r(wV,qU);wV.prototype.bd=function(){return!1}; wV.prototype.Ec=function(){return!0};g.r(xV,ST);g.r(yV,Y);yV.prototype.dc=function(){var a=this,b=new xV(this.F.o,this.macros),c=this.K.getVideoData(2),d=b.renderer;g.P(this.K.N().experiments,"ignore_video_data_current_ad_check")&&c&&d&&d.adVideoId?AV(this,c,b):c&&c.Id&&zV(c,b)?AV(this,c,b):(this.u=function(e,f,k){f&&2==k&&zV(f,b)&&f.Id&&(a.u&&(a.K.removeEventListener("videodatachange",a.u),a.u=null),AV(a,f,b))},this.K.addEventListener("videodatachange",this.u))}; yV.prototype.Ri=function(a){pV(this.o,a)}; yV.prototype.X=function(){this.u&&(this.K.removeEventListener("videodatachange",this.u),this.u=null);Y.prototype.X.call(this)};g.r(BV,qU);BV.prototype.bd=function(){return!0}; BV.prototype.Ec=function(){return!1};g.r(CV,ST);g.r(DV,Y);g.h=DV.prototype;g.h.dc=function(){0=this.C&&(g.M(Error("durationMs was specified incorrectly with a value of: "+this.C)),this.Zc());this.Lb();this.K.addEventListener("progresssync",this.I)}; g.h.Ac=function(){Y.prototype.Ac.call(this);this.ib("d")}; g.h.Lb=function(){var a=this.K.N();Y.prototype.Lb.call(this);this.u=Math.floor(this.K.getCurrentTime());this.A=this.u+this.C/1E3;g.$y(a)?this.K.na("onAdMessageChange",{renderer:this.B.o,startTimeSecs:this.u}):tV(this,[new SV(this.B.o)]);a=(a=this.K.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.ds();b&&g.Rq("adNotify",{clientScreenNonce:b,adMediaTimeSec:this.A,timeToAdBreakSec:Math.ceil(this.A-this.u),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.B.o.videoAdBreakOffsetMs/1E3)}); g.V(g.PK(this.K,1),512)&&(a=(a=this.K.getVideoData(1))&&a.clientPlaybackNonce||"",(b=g.ds())&&g.Rq("adNotifyFailure",{clientScreenNonce:b,adMediaTimeSec:this.A,timeToAdBreakSec:Math.ceil(this.A-this.u),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.B.o.videoAdBreakOffsetMs/1E3)}),this.Zc())}; g.h.Zc=function(){Y.prototype.Zc.call(this);this.ib("h")}; g.h.Wb=function(a){Y.prototype.Wb.call(this,a);this.ib("i")}; g.h.ib=function(a){this.K.removeEventListener("progresssync",this.I);this.Je();this.S(a)}; g.h.dispose=function(){this.K.removeEventListener("progresssync",this.I);Y.prototype.dispose.call(this)}; g.h.Je=function(){g.$y(this.K.N())?this.K.na("onAdMessageChange",{renderer:null,startTimeSecs:this.u}):Y.prototype.Je.call(this)};g.r(UV,ST);g.r(VV,Y);VV.prototype.dc=function(){tV(this,[new UV(this.F.o,this.macros)])}; VV.prototype.Ri=function(a){pV(this.o,a)};g.r(WV,Y);WV.prototype.dc=function(){var a=vV(this);this.o.w.AD_CPN=a;kV(this.o)};g.r(XV,ST);g.r(YV,ST);g.r(ZV,Y);ZV.prototype.dc=function(){var a;if(a=g.P(this.K.N().experiments,"render_enhanced_overlays_as_ctas_for_desktop"))a=this.u.o,a=a.contentSupportedRenderer?!!a.contentSupportedRenderer.enhancedTextOverlayAdContentRenderer:!1;a?(a=new YV(this.u.o,this.macros),tV(this,[a])):(a=new XV(this.u.o,this.macros),tV(this,[a]))};g.r($V,ST);g.r(aW,Y);aW.prototype.dc=function(){this.Lb()}; aW.prototype.Lb=function(){tV(this,[new $V(this.u.o,this.macros)]);Y.prototype.Lb.call(this)}; aW.prototype.Wb=function(a){Y.prototype.Wb.call(this,a);this.ib("i")};eW.prototype.sendAdsPing=function(a){this.B.send(a,iW(this),{})};g.r(kW,ST);g.r(lW,Y);lW.prototype.dc=function(){var a=new kW(this.u.o,this.macros);tV(this,[a])};g.r(mW,ST);g.r(nW,Y);nW.prototype.dc=function(){var a=new mW(this.F.o,this.macros);tV(this,[a])}; nW.prototype.Ri=function(a){pV(this.o,a)};g.r(qW,g.O);qW.prototype.getProgressState=function(){return this.w}; qW.prototype.start=function(){this.A=Date.now();pW(this,{current:this.o/1E3,duration:this.u/1E3});this.Ga.start()}; qW.prototype.stop=function(){this.Ga.stop()};g.r(rW,ST);g.r(sW,Y);g.h=sW.prototype;g.h.dc=function(){this.Lb()}; g.h.Lb=function(){var a=this.B.o;g.$y(this.K.N())?(a=Bma(this.I,a),this.K.na("onAdInfoChange",a),this.u&&(this.C=Date.now(),this.u.start())):tV(this,[new rW(a)]);Y.prototype.Lb.call(this)}; g.h.getDuration=function(){return this.B.u}; g.h.mh=function(){Y.prototype.mh.call(this);this.u&&this.u.stop()}; g.h.sg=function(){Y.prototype.sg.call(this);this.u&&this.u.start()}; g.h.Ac=function(){Y.prototype.Ac.call(this);this.ib("c")}; g.h.nh=function(){Y.prototype.nh.call(this);this.ib("h")}; g.h.Wb=function(a){Y.prototype.Wb.call(this,a);this.ib("i")}; g.h.ib=function(a){this.Je();"c"!=a&&rY(this.P.aa);this.S(a)}; g.h.Ri=function(a){switch(a){case "skip-button":this.nh();break;case "survey-submit":this.ib("h")}}; g.h.Je=function(){g.$y(this.K.N())?(this.u&&this.u.stop(),this.K.na("onAdInfoChange",null)):Y.prototype.Je.call(this)};g.r(tW,ST);g.r(uW,Y);uW.prototype.dc=function(){this.Lb()}; uW.prototype.Lb=function(){tV(this,[new tW(this.u.o,this.macros)]);Y.prototype.Lb.call(this)}; uW.prototype.Ac=function(){Y.prototype.Ac.call(this);this.ib("c")}; uW.prototype.Wb=function(a){Y.prototype.Wb.call(this,a);this.ib("i")};g.r(vW,ST);g.r(wW,Y);g.h=wW.prototype;g.h.dc=function(){0b){var f=this.K.app;c=b-a;if(f.U){e=void 0;var k=null;f=g.q(f.U.o);for(var l=f.next();!l.done;l=f.next())if(l=l.value,l.Eb===d){k=l;break}k&&(void 0=== e&&(e=k.Nb),RR(k,c,e))}else{e=f.Aa;k=void 0;f=null;l=g.q(e.o);for(var m=l.next();!m.done;m=l.next())if(m=m.value,m.Eb===d){f=m;break}f?(void 0===k&&(k=f.Nb),jS(e,f,c,k)):VR(e,"e.InvalidTimelinePlaybackId timelinePlaybackId="+d)}}return d}; g.h.dispose=function(){XU(this.K)&&!this.P&&this.K.stopVideo(2);JW(this,"c");Y.prototype.dispose.call(this)};UW.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.identifier;var c=this.o[b];c?b=c:(c={uj:null,vy:-Infinity},b=this.o[b]=c);c=a.startSecs+a.o/1E3;if(!(c=c?null:c,null===c)a=null;else{switch(a.event){case "start":case "continue":case "stop":break;default:a=null;break a}var d=Math.max(a.startSecs,0);a={sE:new Qn(d,c),ZF:new gv(d,c-d,a.context,a.identifier,a.event,a.o)}}a&&(c=a.ZF,b.uj=a.sE,this.u.JA(c))}}; UW.prototype.updateTime=function(){};g.r(XW,qU);aX.prototype.reset=function(){return new aX(this.u)};g.r(hX,g.O);g.h=hX.prototype;g.h.Si=function(){var a=this.o;return a.o instanceof tU||a.o instanceof DU||a.o instanceof xU||a.o instanceof wU}; g.h.hm=function(){return this.o.o.Ec()}; g.h.xb=function(){return this.o.xb()}; g.h.gp=function(){return GU(this.o)}; g.h.Et=function(){return FU(this.o)}; g.h.gs=function(a){if(!OT(a)){this.P&&(this.V=this.K.isAtLiveHead(),this.U=Math.ceil((0,g.H)()/1E3));var b=new dX(this.xc);a=eX(a);gX(b,a)}this.ik()}; g.h.Qj=function(){return this.B instanceof NV||this.B instanceof wV||this.B instanceof XW||this.B instanceof IV}; g.h.ly=function(){return!(this.B instanceof MV)&&!this.Qj()}; g.h.im=function(){return this.B instanceof DU}; g.h.uh=function(){return this.B instanceof tU}; g.h.ik=function(){NY(this.xc,this);if(!this.o.B.hasOwnProperty("ad_placement_start")){for(var a=g.q(this.o.P),b=a.next();!b.done;b=a.next())jX(b.value);this.o.B.ad_placement_start=!0}this.F.w=!1;FA("video_to_ad",["apbs"],void 0);this.rB()}; g.h.rB=function(){this.B?this.dc(this.B):this.bh()}; g.h.Vi=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;RY(this.xc,0);this.bh(a,b)}; g.h.gA=function(){this.Vi()}; g.h.SJ=function(){iV(this.u.o,"active_view_measurable")}; g.h.TJ=function(){var a=this.u.o;bV(a)||qV(a)||iV(a,"active_view_fully_viewable_audible_half_duration")}; g.h.UJ=function(){}; g.h.VJ=function(){}; g.h.WJ=function(){}; g.h.XJ=function(){}; g.h.ZJ=function(){var a=this.u.o;bV(a)||qV(a)||iV(a,"active_view_viewable")}; g.h.ix=function(){return this.uh()?[this.ao()]:[]}; g.h.Gt=function(a){if(null!==this.u){this.R||(a=new g.$G(a.state,new g.HC),this.R=!0);this.u.Iz(a);var b=a.state;if(this.ba&&g.V(b,1024))this.u.Wb("dom_paused");else if(g.bH(a,2))b=this.F,b.R?cX(b):(b.w=!1,FA("ad_to_ad",["apbs"],void 0)),this.u.Zc();else{var c=a;(g.P(this.K.N().experiments,"html5_bulleit_handle_gained_playing_state")?c.state.eb()&&!c.Jh.eb():c.state.eb())?(b=this.F,b.G&&!b.w&&(b.M=!1,b.w=!0,"ad_to_video"!=b.o&&HA("apbs",void 0,b.o)),this.u.sg()):b.isError()?this.u.Wb(b.u.errorCode): g.bH(a,4)&&(this.M||this.u.mh())}if(null!==this.u){if(g.bH(a,16)&&(b=this.u.o,!(bV(b)||.5>b.o.getCurrentTime(2,!1)&&!g.P(b.o.N().experiments,"html5_dai_pseudogapless_seek_killswitch")))){c=b.u;if(c.Kl()){var d=g.P(b.I.o.N().experiments,"html5_dai_enable_active_view_creating_completed_adblock");Im(c.F,d)}b.u.G.seek=!0}0>aH(a,4)&&!(0>aH(a,2))&&(b=this.u.o,bV(b)||(dV(b)?jV(b,"resume"):iV(b,"resume")));!g.P(this.K.N().experiments,"html5_dai_handle_suspended_state_killswitch")&&this.daiEnabled&&g.bH(a, 512)&&!g.QC(a.state)&&cX(this.F)}}}; g.h.Kz=function(){}; g.h.resume=function(){this.u&&this.u.wu()}; g.h.Ft=function(){this.u&&this.u.ib("h")}; g.h.hp=function(){this.Ft()}; g.h.Jz=function(a){var b=this.xc;b.w&&g.P(b.o.N().experiments,"html5_bulleit_dai_publish_ad_ux_killswitch")||b.o.na("onAdUxUpdate",a)}; g.h.onAdUxClicked=function(a){this.u.Ri(a)}; g.h.fx=function(){return 0}; g.h.hx=function(){return 1}; g.h.Yp=function(a){if(this.daiEnabled&&this.o.F&&this.o.xb().start<=a&&a=Math.abs(c-this.o.xb().end/1E3)):c=!0;if(c&&!this.o.B.hasOwnProperty("ad_placement_end")){c=g.q(this.o.I);for(var d=c.next();!d.done;d=c.next())jX(d.value);this.o.B.ad_placement_end=!0}c=this.o.A;null!==c&&($W(this.Le,{cueIdentifier:this.o.u&&this.o.u.identifier,driftRecoveryMs:c,qB:this.o.xb().start,Ay:nX(this)}),this.o.A=null);b||this.daiEnabled? OY(this.xc,!0):this.P&&this.Et()&&this.uh()?OY(this.xc,!1,Oma(this)):OY(this.xc,!1);kX(this,!0)}; g.h.ks=function(a){RY(this.xc,a)}; g.h.ao=function(){return this.B}; g.h.isLiveStream=function(){return this.P}; g.h.reset=function(){return new hX(this.xc,this.K,this.F.reset(),this.o,this.Le,this.vj,this.Sg,this.daiEnabled)}; g.h.X=function(){g.He(this.u);this.u=null;g.O.prototype.X.call(this)};pX.prototype.create=function(a){return(a.o instanceof xU?this.A:a.o instanceof XW?this.w:""===a.C?this.o:this.u)(a)};rX.prototype.clickCommand=function(a){var b=g.ds();if(!a.clickTrackingParams||!b)return!1;vs(this.client,b,g.Wr(a.clickTrackingParams));return!0};g.r(vX,g.O);g.h=vX.prototype;g.h.xb=function(){return this.o.xb()}; g.h.gp=function(){return GU(this.o)}; g.h.Et=function(){return FU(this.o)}; g.h.Qj=function(){return!1}; g.h.hm=function(){return!1}; g.h.onAdUxClicked=function(){}; g.h.gs=function(a){var b=this;if(1!==this.o.w&&2!==this.o.w){var c=[];this.gp()||(c=eX(a));this.o.w=1;Jf(this.B.fetch(this.o.C,{mi:this.o.u||void 0,Pb:this.o.xb(),Bk:sY(this.u.aa)}).then(function(d){if(!b.ea()){var e=c;g.P(b.w.N().experiments,"enable_client_deferred_full_screen_filtering_for_mweb_phones")&&b.w.isFullscreen();d=Qma(b,d);var f=b.A;f.u&&d.isEmpty&&ZW("DAI_ERROR_TYPE_NO_AD_BREAK_RENDERER",f.o);d.my||(b.o.w=2,gX(new dX(b.u),e),d.isEmpty||(e=b.u,f=d=d.Tg,0!=f.length&&null!==e.oa&&(LW(e.F)|| MW(e.F)||NW(e.F)||r1(e.F)||q1(e.F))&&(f={Tg:f,Pq:f,contentCpn:null!==EY(e)?EY(e).clientPlaybackNonce:"",Yk:1E3*e.o.getDuration(1),so:!0,daiEnabled:!1},F0(e.oa,f)),d=HY(e,d),KY(e,d)))}},function(){gX(new dX(b.u),c); var d=b.A;d.u&&ZW("DAI_ERROR_TYPE_AD_REQUEST_FAIL",d.o)}),function(){2!==b.o.w&&(b.o.w=0); b.gp()&&JY(b.u)})}}; g.h.ik=function(){}; g.h.Yp=function(){};g.r(wX,g.R);wX.prototype.executeCommand=function(a){a=void 0===a?null:a;this.ea();a&&this.A.executeCommand(a,this.B)};g.r(yX,g.A);yX.prototype.append=function(a){if(!this.G)throw Error("This does not support the append operation");this.mn(a.ua())}; yX.prototype.mn=function(a){this.ua().appendChild(a)}; g.r(zX,yX);zX.prototype.ua=function(){return this.o};g.r(BX,g.A);var isa=new WeakSet;g.r(Z,g.Ru);g.h=Z.prototype;g.h.bind=function(a){if(!this.da&&a.renderer){var b=Object.assign({},AX(this.api,this.ra),a.macros);this.init(a.id,a.renderer,b,a)}return Promise.resolve()}; g.h.init=function(a,b,c){this.da=a;this.element.setAttribute("id",this.da);this.za&&g.J(this.element,this.za);this.G=b&&b.adRendererCommands;this.macros=c;this.F=b.trackingParams||null;null!=this.F&&FX(this,this.element,this.F)}; g.h.clear=function(){}; g.h.hide=function(){g.Ru.prototype.hide.call(this);null!=this.F&&GX(this,this.element,!1)}; g.h.show=function(){g.Ru.prototype.show.call(this);if(!this.Ia){this.Ia=!0;var a=this.G&&this.G.impressionCommand;a&&this.ra.executeCommand(a,this.macros,null)}null!=this.F&&GX(this,this.element,!0)}; g.h.onClick=function(a){if(this.F&&!isa.has(a)){var b=this.element;g.pL(this.api,b)&&this.Ha()&&g.nL(this.api,b);isa.add(a)}(a=this.G&&this.G.clickCommand)&&this.ra.executeCommand(a,this.macros,this.lx())}; g.h.lx=function(){return null}; g.h.wJ=function(a){var b=this.R;b.F=!0;b.u=a.touches.length;b.o.isActive()&&(b.o.stop(),b.B=!0);a=a.touches;b.C=CX(b,a)||1!=a.length;var c=a.item(0);b.C||!c?(b.G=Infinity,b.I=Infinity):(b.G=c.clientX,b.I=c.clientY);for(c=b.w.length=0;cMath.pow(5,2))b.A=!0}; g.h.uJ=function(a){if(this.R){var b=this.R,c=a.changedTouches;c&&b.F&&1==b.u&&!b.A&&!b.B&&!b.C&&CX(b,c)&&(b.P=a,b.o.start());b.u=a.touches.length;0===b.u&&(b.F=!1,b.A=!1,b.w.length=0);b.B=!1}}; g.h.X=function(){this.clear(null);this.bb(this.wa);for(var a=g.q(this.U),b=a.next();!b.done;b=a.next())this.bb(b.value);g.Ru.prototype.X.call(this)};g.r(IX,g.A);IX.prototype.X=function(){this.u&&g.Fp(this.u);this.o.clear();JX=null;g.A.prototype.X.call(this)}; IX.prototype.register=function(a,b){b&&this.o.set(a,b)}; var JX=null;g.r(NX,yX);NX.prototype.addEventListener=function(a,b){this.C.subscribe(a,b)}; NX.prototype.removeEventListener=function(a,b){this.C.unsubscribe(a,b)}; NX.prototype.dispatchEvent=function(a){this.C.S(a.type,a)};g.r(OX,g.A);g.h=OX.prototype;g.h.bind=function(a){var b=a.renderer,c=b.trackingParams;if(this.P&&this.P!=c)throw Error("Cannot re-bind presenter with new tracking params");if(c){this.P=c;var d=this.view,e=this.o,f=d.ua();g.lL(e,f,d);g.mL(e,f,c)}this.I=b.impressionEndpoints||[];this.macros=Object.assign({},a.macros);return this.B(a)}; g.h.Ha=function(){return this.R}; g.h.show=function(){this.view.show();this.R=!0;var a=this.o,b=this.view.ua();g.pL(a,b)&&g.oL(a,b,!0);QX(this,this.I);this.I=[]}; g.h.hide=function(){this.rs();this.R=!1;var a=this.o,b=this.view.ua();g.pL(a,b)&&g.oL(a,b,!1)}; g.h.rs=function(){this.view.hide()}; g.h.onClick=function(a){a=void 0===a?{}:a;this.G(a);if(this.Ha()){a=this.o;var b=this.view.ua();g.pL(a,b)&&g.nL(a,b)}}; g.h.executeCommand=function(a){this.A.executeCommand(a,PX(this))};g.r(RX,g.O);g.h=RX.prototype;g.h.ua=function(){return this.o.element}; g.h.show=function(){if(!this.Ha()){this.B.L(document,"click",this.gH);this.o.show();var a=this.ua(),b=g.Nh(Dh(this.A)).width,c=g.Nh(this.A),d=Bh(this.A);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}}; g.h.hide=function(){this.Ha()&&(this.o.hide(),g.Ir(this.B))}; g.h.Ha=function(){return this.o.Ha()}; g.h.setTitle=function(a){a?this.w.show():this.w.hide();this.w.qb(TX(a))}; g.h.gH=function(a){this.Ha()&&(a=a.target,g.xe(this.A,a)||(g.xe(this.u.o["ytp-ad-info-dialog-confirm-button"],a)?this.S("confirmClick"):g.xe(this.o.element,a)||this.S("externalClick")))}; var Uma={qQ:"confirmClick",QQ:"externalClick"};g.r(UX,NX);UX.prototype.setTitle=function(a){this.o.setTitle(a)}; UX.prototype.show=function(){this.o.show()}; UX.prototype.hide=function(){this.o.hide()}; UX.prototype.ua=function(){return this.o.ua()};var Vma={hD:UX},Xma=["confirmClick","externalClick"];g.r(VX,OX);VX.prototype.B=function(a){var b=this.view;a=a.renderer;var c=b.o,d=a.confirmLabel||null;d?c.u.show():c.u.hide();c.u.qb(TX(d));b.setTitle(a.title||null);b.o.o.qb(TX(a.dialogMessage||null));g.re(SX(b.o));c=g.q(a.adReasons||[]);for(d=c.next();!d.done;d=c.next())d=d.value,SX(b.o).appendChild(g.ne("li",null,TX(d)));this.u=a.confirmServiceEndpoint||null;return Promise.resolve()}; VX.prototype.rs=function(){OX.prototype.rs.call(this);this.u&&(this.executeCommand(this.u),this.u=null)}; VX.prototype.G=function(a){switch(a.type){case "confirmClick":case "externalClick":this.hide()}};g.r(WX,Z);g.h=WX.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);(a=(a=b.button&&b.button.buttonRenderer&&b.button.buttonRenderer.navigationEndpoint&&b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint)&&a.dialog&&a.dialog.adInfoDialogRenderer)?(b.hoverText?(b=MX(b.hoverText),g.se(this.u,b,0)):this.u=null,this.w.bind({renderer:a,macros:c}),this.show()):g.M(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))}; g.h.qs=function(){this.u&&g.Oh(this.u,!1)}; g.h.iH=function(){this.w.Ha()||this.u&&g.Oh(this.u,!0)}; g.h.hH=function(){this.w.show();this.qs()}; g.h.clear=function(){this.hide()};g.r(XX,wX);g.r(YX,XW);g.h=YX.prototype;g.h.bd=function(){return!1}; g.h.Ec=function(){return!0}; g.h.vx=function(){var a=this.o,b=new Zla;b.url=a.iframeUrl||null;b.width=a.iframeWidth||0;b.height=a.iframeHeight||0;b.impressionTrackingUrls=ZX(a.impressionCommands||[]);b.clickTrackingUrls=ZX(a.onClickCommands||[]);b.adInfoRenderer=a.adInfoRenderer||null;a=new oU;a.iframeCompanionRenderer=b;return a}; g.h.rx=function(){return[new g.Sd(300,60)]}; g.h.Gw=function(a,b){return new XX(a,b,this.o)};g.r($X,Y);g.h=$X.prototype;g.h.gs=function(a){if(!OT(a)){var b=new dX(this.I);a=eX(a);gX(b,a)}this.ik()}; g.h.ik=function(){var a=this;if(this.u instanceof YX){var b=this.K.getVideoData(2);if(!b||b.wc||(null==this.u.o||this.u.o.adVideoId!=b.videoId)&&!g.P(this.K.N().experiments,"ignore_video_data_current_ad_check")){this.A=function(c,d,e){if(d&&2==e&&null!=a.u.o&&a.u.o.adVideoId==d.videoId||g.P(a.K.N().experiments,"ignore_video_data_current_ad_check"))a.A&&(a.K.removeEventListener("videodatachange",a.A),a.A=null),g.P(a.K.N().experiments,"populate_companion_metadata_from_vms_html5")?rV(a):d.isListed&& rV(a)}; this.K.addEventListener("videodatachange",this.A);return}if(!b.isListed&&!g.P(this.K.N().experiments,"populate_companion_metadata_from_vms_html5"))return}rV(this)}; g.h.dc=function(){var a=this;NY(this.I,this);if(YU(this.K)){var b=this.K.getVideoData(1),c=this.u.vx();null!=c&&(c.macros=Object.assign({},this.macros),this.P.showCompanion(b.videoId,c))}else{var d=this.u.rx();$la(this.P).then(function(e){a:{if(d&&e){e=g.q(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;for(var k=g.q(d),l=k.next();!l.done;l=k.next())if(l=l.value,l.width==f.width&&l.height==f.height){e=l;break a}}}e=null}e&&(f=a.u.Gw(a.K,a.I,e),null!=f&&(g.B(a,f),k=a.P,k.o&&k.o.showCompanion(f.element, e.width,e.height)))})}if(this.u instanceof YX){this.C=function(e){var f; if(f=e.data)try{f=sq(e.source.document.location.origin)}catch(l){f=!1}if(f)if(f=a.u.o,"companion-setup-complete"==e.data)try{e.source.postMessage(JSON.stringify(f),"*");var k=e.source.frameElement;k.parentNode.style.cssText="";k.width=String(f.iframeWidth);k.height=String(f.iframeHeight)}catch(l){g.Go(l)}else"pause-video"==e.data&&a.K.pauseVideo()}; try{window.addEventListener("message",this.C)}catch(e){g.M(e)}}}; g.h.onAdUxClicked=function(a){pV(this.o,a)}; g.h.xb=function(){return this.B.xb()}; g.h.gp=function(){return GU(this.B)}; g.h.Et=function(){return FU(this.B)}; g.h.Qj=function(){return!0}; g.h.hm=function(){return this.B.o.Ec()}; g.h.Yp=function(){}; g.h.X=function(){if(this.C)try{window.removeEventListener("message",this.C),this.C=null}catch(a){g.M(a)}this.A&&(this.K.removeEventListener("videodatachange",this.A),this.A=null);Y.prototype.X.call(this)};var Zma=Object.freeze([BV,GV,DU,OV,PV,tU]);g.r(bY,hX);g.h=bY.prototype;g.h.ix=function(){for(var a=this.A.o,b=g.q(a),c=b.next();!c.done;c=b.next());return a}; g.h.ly=function(){return(0>=this.C?this.A.o:this.A.o.slice(this.C)).some(function(a){return a.bd()})}; g.h.im=function(){return this.G instanceof DU||this.G instanceof OV}; g.h.uh=function(){return this.G instanceof tU||this.G instanceof GV}; g.h.rB=function(){this.daiEnabled?WU(this.K)&&iX(this):cY(this)}; g.h.dc=function(a){var b=aY(a);this.G&&b&&this.I!==b&&(b?PY(this.xc):nna(this.xc),this.I=b);this.G=a;this.daiEnabled&&(this.C=this.A.o.findIndex(function(c){return c===a})); hX.prototype.dc.call(this,a)}; g.h.bh=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.w&&(g.He(this.w),this.w=null);hX.prototype.bh.call(this,a,b)}; g.h.hp=function(){this.C=this.A.o.length;this.w&&this.w.ib("h");this.u&&this.u.ib("h");this.bh()}; g.h.Kz=function(){cY(this)}; g.h.Ft=function(){this.Vi()}; g.h.Gt=function(a){hX.prototype.Gt.call(this,a);a=a.state;g.V(a,2)&&this.w?this.w.Zc():a.eb()?(null==this.w&&(a=this.A.w)&&(this.w=this.Sg.create(a,NU(JU(this.o))),this.w.subscribe("onAdUxUpdate",this.Jz,this),rV(this.w)),this.w&&this.w.sg()):a.isError()&&this.w&&this.w.Wb(a.u.errorCode)}; g.h.Vi=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.daiEnabled||(RY(this.xc,0),a?this.bh(a,b):cY(this))}; g.h.gA=function(){1==this.A.u?this.bh():this.Vi()}; g.h.onAdUxClicked=function(a){hX.prototype.onAdUxClicked.call(this,a);this.w&&this.w.Ri(a)}; g.h.ao=function(){var a=0>=this.C?this.A.o:this.A.o.slice(this.C);return 0aH(a,16)&&(this.U.forEach(this.gm,this),this.U.clear())}; g.h.Hz=function(){if(this.u){var a=this.u;a.daiEnabled&&iX(a)}if(this.w){a=1E3*this.o.getCurrentTime(1);for(var b=g.q(this.C.keys()),c=b.next();!c.done;c=b.next())if(c=c.value,c.start<=a&&aMath.random())&&g.Go(Error("Found AdImage without valid image URL")):(this.u?g.sh(this.element,"backgroundImage","url("+b+")"):ee(this.element,{src:b}),ee(this.element,{alt:a&&a.accessibility&&a.accessibility.label||""}),this.show())}; TY.prototype.clear=function(){this.hide()};g.r(VY,Z); VY.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.u=b;if(null==b.text&&null==b.icon)g.Go(Error("ButtonRenderer did not have text or an icon set."));else{switch(b.style||null){case "STYLE_UNKNOWN":a="ytp-ad-button-link";break;default:a=null}null!=a&&g.J(this.element,a);null!=b.text&&(a=g.T(b.text),g.ec(a)||(this.element.setAttribute("aria-label",a),this.B=new g.Ru({D:"span",H:"ytp-ad-button-text",W:a}),g.B(this,this.B),this.B.ca(this.element)));null!=b.icon&&(b=UY(b.icon),null!= b&&(this.w=new g.Ru({D:"span",H:"ytp-ad-button-icon",J:[b]}),g.B(this,this.w)),this.C?g.se(this.element,this.w.element,0):this.w.ca(this.element))}}; VY.prototype.clear=function(){this.hide()}; VY.prototype.onClick=function(a){var b=this;Z.prototype.onClick.call(this,a);pna(this).forEach(function(c){return b.ra.executeCommand(c,b.macros)}); this.api.onAdUxClicked(this.componentType)};g.r(WY,Z);WY.prototype.clear=function(){this.dispose()};g.r(ZY,WY);g.h=ZY.prototype;g.h.init=function(a,b,c){WY.prototype.init.call(this,a,b,c);g.sh(this.A,"stroke-dasharray","0 "+this.w);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){YY(this);WY.prototype.hide.call(this)}; g.h.show=function(){XY(this);WY.prototype.show.call(this)}; g.h.aj=function(){this.hide()}; g.h.Nh=function(){if(this.u){var a=this.u.getProgressState();null!=a&&null!=a.current&&(a=a.current/a.seekableEnd*this.w,this.C&&(a=this.w-a),g.sh(this.A,"stroke-dasharray",a+" "+this.w))}};g.r($Y,Z);$Y.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.u=b;this.isTemplated()||g.ye(this.element,DX(this.u));if(b.backgroundImage&&(a=(a=b.backgroundImage.thumbnail)?SY(a):"",c=(c=this.api.getVideoData(1))&&c.Hm,a&&c&&(this.element.style.backgroundImage="url("+a+")",this.element.style.backgroundSize="100%"),b.style&&b.style.adTextStyle))switch(b.style.adTextStyle.fontSize){case "AD_FONT_SIZE_MEDIUM":this.element.style.fontSize="26px"}this.show()}; $Y.prototype.isTemplated=function(){return this.u.isTemplated||!1}; $Y.prototype.clear=function(){this.hide()};g.r(bZ,WY);g.h=bZ.prototype; g.h.init=function(a,b,c){WY.prototype.init.call(this,a,b,c);a=b.durationMilliseconds;"number"===typeof a&&0>a&&g.M(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.ma&&g.J(this.w.element,"countdown-next-to-thumbnail");a=b.durationMilliseconds;this.V=null==a||0===a?this.u.Rz():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview);this.A.init(RT("ad-text"),d,c);(d=this.api.getVideoData(1))&& d.Hm&&b.thumbnail?this.C.init(RT("ad-image"),b.thumbnail,c):this.I.hide()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){this.w.hide();this.A.hide();this.C.hide();YY(this);WY.prototype.hide.call(this)}; g.h.show=function(){XY(this);this.w.show();this.A.show();this.C.show();WY.prototype.show.call(this)}; g.h.aj=function(){this.hide()}; g.h.Nh=function(){if(null!=this.u){var a=this.u.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.aa&&a>=this.V?(g.P(this.api.N().experiments,"enable_pubsub_for_skip_transition_bulleit")||this.M.hide(),this.aa=!0,this.S("t")):this.A&&this.A.isTemplated()&&(a=Math.max(0,Math.ceil((this.V-a)/1E3)),a!=this.ga&&(aZ(this.A,{TIME_REMAINING:String(a)}),this.ga=a)))}};g.r(dZ,g.A);g.h=dZ.prototype;g.h.X=function(){this.reset();g.A.prototype.X.call(this)}; g.h.reset=function(){g.Ir(this.B);this.C=!1;this.o&&this.o.stop();this.A.stop();this.u&&(this.u=!1,this.F.play())}; g.h.start=function(){this.reset();this.B.L(this.w,"mouseover",this.LL,this);this.B.L(this.w,"mouseout",this.IL,this);this.o?this.o.start():(this.C=this.u=!0,g.sh(this.w,{opacity:this.I}))}; g.h.LL=function(){this.u&&(this.u=!1,this.F.play());this.A.stop();this.o&&this.o.stop()}; g.h.IL=function(){this.C?this.A.start():this.o&&this.o.start()}; g.h.hw=function(){this.u||(this.u=!0,this.G.play(),this.C=!0)};var qna=yb(function(){return new oba}),vna=yb(function(){return new sna});g.r(eZ,WY);g.h=eZ.prototype; g.h.init=function(a,b,c){WY.prototype.init.call(this,a,b,c);this.I=b;this.ga=xna(this);!b||g.Mb(b)?g.M(Error("SkipButtonRenderer was not specified or empty.")):!b.message||g.Mb(b.message)?g.M(Error("SkipButtonRenderer.message was not specified or empty.")):(a={iconType:"SKIP_NEXT"},b=UY(a),null==b?g.M(Error("Icon for SkipButton was unable to be retrieved. yt.innertube.Icon.IconType: "+a.iconType+".")):(this.C=new g.Ru({D:"button",Y:["ytp-ad-skip-button","ytp-button"],J:[{D:"span",H:"ytp-ad-skip-button-icon", J:[b]}]}),g.B(this,this.C),this.C.ca(this.A.element),this.w=new $Y(this.api,this.ra,"ytp-ad-skip-button-text"),this.w.init(RT("ad-text"),this.I.message,c),g.B(this,this.w),g.se(this.C.element,this.w.element,0)),g.P(this.api.N().experiments,"bulleit_use_touch_events_for_skip")&&HX(this))}; g.h.clear=function(){this.V.reset();this.hide()}; g.h.hide=function(){this.A.hide();this.w&&this.w.hide();YY(this);WY.prototype.hide.call(this);this.aa.stop();this.M&&(this.M(),this.M=null)}; g.h.onClick=function(a){if(null!=this.C&&(a&&g.Kp(a),WY.prototype.onClick.call(this,a),this.S("u"),!this.ga))this.api.onAdUxClicked(this.componentType)}; g.h.lx=function(){return"skip"}; g.h.show=function(){this.V.start();this.A.show();this.w&&this.w.show();XY(this);WY.prototype.show.call(this);this.aa.Ua()}; g.h.aj=function(){this.S("v")}; g.h.Nh=function(){};g.r(fZ,g.O);g.h=fZ.prototype;g.h.Rz=function(){return this.u}; g.h.start=function(){this.w||(this.w=!0,this.Ga.start())}; g.h.stop=function(){this.w&&(this.w=!1,this.Ga.stop())}; g.h.sJ=function(){this.o+=100;var a=!1;this.o>this.u&&(this.o=this.u,this.Ga.stop(),a=!0);this.A={seekableStart:0,seekableEnd:this.u/1E3,current:this.o/1E3};this.B&&oW(this.B,this.A.current);this.S("b");a&&this.S("a")}; g.h.getProgressState=function(){return this.A};g.r(gZ,Z);g.h=gZ.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.backgroundImage&&b.backgroundImage.thumbnail)if(b.actionButton&&b.actionButton.buttonRenderer)if(a=b.durationMilliseconds||0,"number"!==typeof a||0>=a)g.M(Error("durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: "+a));else if(b.navigationEndpoint){var d=this.api.getVideoData(2);if(null!=d){var e=b.image.thumbnail.thumbnails;null!= e&&0f)g.M(Error("timeoutSeconds was specified incorrectly in AdChoiceInterstitialRenderer with a value of: "+f));else if(b.completeCommands)if(b.adDurationRemaining&&b.adDurationRemaining.timedPieCountdownRenderer){g.ye(this.o["ytp-ad-choice-interstitial-head-title"],g.T(b.text));var m=Ana(b.defaultButtonChoiceIndex);Cna(this,e,a,m)?(Ena(this,b.completeCommands,c,f),b&&b.adDurationRemaining&&b.adDurationRemaining.timedPieCountdownRenderer&& Fna(this,b.adDurationRemaining.timedPieCountdownRenderer,c),b&&b.background&&zna(this.o["ytp-ad-choice-interstitial"],b.background),Dna(this,a),this.show(),g.P(this.api.N().experiments,"self_podding_default_button_focused")&&g.uf(function(){0===m?d.u&&d.u.focus():d.A&&d.A.focus()})):g.M(Error("AdChoiceInterstitialRenderer failed to initialize buttons."))}else g.M(Error("AdChoiceInterstitialRenderer requires a timed_pie_countdown_renderer.")); else g.M(Error("timeoutSeconds was specified yet no completeCommands were specified"))}else g.M(Error("AdChoiceInterstitialRenderer should have two choices."));else g.M(Error("AdChoiceInterstitialRenderer has no title."))}; hZ.prototype.clear=function(){this.hide()};g.r(iZ,Z);g.h=iZ.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.text?(a=b.durationMilliseconds||0,"number"!==typeof a||0>=a?g.M(Error("durationMilliseconds was specified incorrectly in AdTextInterstitialRenderer with a value of: "+a)):(this.u.init(RT("ad-text"),b.text,c),this.show())):g.M(Error("AdTextInterstitialRenderer has no message AdText."))}; g.h.clear=function(){this.hide()}; g.h.show=function(){Gna(!0);Z.prototype.show.call(this)}; g.h.hide=function(){Gna(!1);Z.prototype.hide.call(this)}; g.h.onClick=function(){};g.r(jZ,Z); jZ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);a=b.hoverText||null;b=b.button&&b.button.buttonRenderer||null;null==b?g.M(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new VY(this.api,this.ra),g.B(this,this.button),this.button.init(RT("button"),b,this.macros),a&&this.button.element.setAttribute("aria-label",g.T(a)),this.button.ca(this.element),this.C&&!g.Bn(this.button.element,"ytp-ad-clickable")&&g.J(this.button.element,"ytp-ad-clickable"),a&& (this.w=new g.Ru({D:"div",H:"ytp-ad-hover-text-container"}),this.B&&(b=new g.Ru({D:"div",H:"ytp-ad-hover-text-callout"}),b.ca(this.w.element),g.B(this,b)),g.B(this,this.w),this.w.ca(this.element),b=MX(a),g.se(this.w.element,b,0)),this.show())}; jZ.prototype.hide=function(){this.button&&this.button.hide();this.w&&this.w.hide();Z.prototype.hide.call(this)}; jZ.prototype.show=function(){this.button&&this.button.show();Z.prototype.show.call(this)};g.r(kZ,Z);g.h=kZ.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.reasons?null==b.confirmLabel?g.M(Error("AdFeedbackRenderer.confirmLabel was not set.")):(null==b.cancelLabel&&g.Go(Error("AdFeedbackRenderer.cancelLabel was not set.")),null==b.title&&g.Go(Error("AdFeedbackRenderer.title was not set.")),Kna(this,b)):g.M(Error("AdFeedbackRenderer.reasons were not set."))}; g.h.clear=function(){Pp(this.B);Pp(this.I);this.A.length=0;this.hide()}; g.h.hide=function(){this.u&&this.u.hide();this.w&&this.w.hide();Z.prototype.hide.call(this);this.C&&this.C.focus()}; g.h.show=function(){this.u&&this.u.show();this.w&&this.w.show();this.C=document.activeElement;Z.prototype.show.call(this);this.B.focus()}; g.h.Vz=function(){this.api.onAdUxClicked("ad-feedback-dialog-close-button");this.S("w");this.hide()}; g.h.xN=function(){this.hide()}; lZ.prototype.ua=function(){return this.o.element}; lZ.prototype.isChecked=function(){return this.w.checked};g.r(mZ,Z);g.h=mZ.prototype;g.h.hide=function(){Z.prototype.hide.call(this);this.A&&this.A.focus()}; g.h.show=function(){this.A=document.activeElement;Z.prototype.show.call(this);this.B.focus()}; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.w=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.M(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.M(Error("ConfirmDialogRenderer.cancelLabel was not set.")):Lna(this,b):g.M(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; g.h.clear=function(){g.Ir(this.u);this.hide()}; g.h.Wt=function(){this.hide()}; g.h.Vt=function(){var a=this.w.cancelEndpoint;a&&this.ra.executeCommand(a,this.macros);this.hide()}; g.h.Xt=function(){var a=this.w.confirmNavigationEndpoint||this.w.confirmEndpoint;a&&this.ra.executeCommand(a,this.macros);this.hide()};g.r(nZ,mZ);nZ.prototype.Wt=function(a){mZ.prototype.Wt.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; nZ.prototype.Vt=function(a){mZ.prototype.Vt.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; nZ.prototype.Xt=function(a){mZ.prototype.Xt.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-confirm-button");this.S("x")};g.r(oZ,Z);g.h=oZ.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.C=b;if(null==b.dialogMessage&&null==b.title)g.M(Error("Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set."));else{null==b.confirmLabel&&g.Go(Error("AdInfoDialogRenderer.confirmLabel was not set."));if(a=b.closeOverlayRenderer&&b.closeOverlayRenderer.buttonRenderer||null)this.u=new VY(this.api,this.ra,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"),g.B(this,this.u),this.u.init(RT("button"), a,this.macros),this.u.ca(this.element);b.title&&(a=g.T(b.title),this.la("title",a));if(b.adReasons)for(a=b.adReasons,c=0;c=a&&g.M(Error("durationMs was specified incorrectly in AdMessageRenderer with a value of: "+a));a=b.durationMs;this.C=null==a||0===a?0:a+1E3*this.u.getProgressState().current;if(b.text)var d=b.text.templatedAdText;else b.staticMessage&&(d=b.staticMessage);this.w.init(RT("ad-text"),d,c);this.w.ca(this.A.element);this.I.show(100);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){eoa(this,!1);WY.prototype.hide.call(this);this.A.hide();this.w.hide();YY(this)}; g.h.show=function(){eoa(this,!0);WY.prototype.show.call(this);XY(this);this.A.show();this.w.show()}; g.h.aj=function(){this.hide()}; g.h.Nh=function(){if(null!=this.u){var a=this.u.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.M&&a>=this.C?(this.I.hide(),this.M=!0):this.w&&this.w.isTemplated()&&(a=Math.max(0,Math.ceil((this.C-a)/1E3)),a!=this.V&&(aZ(this.w,{TIME_REMAINING:String(a)}),this.V=a)))}};g.r(zZ,WY);g.h=zZ.prototype; g.h.init=function(a,b,c){WY.prototype.init.call(this,a,b,c);a=b&&b.preskipRenderer&&b.preskipRenderer.adPreviewRenderer||{};if(a=g.Mb(a)?null:a){this.C=null!=a.durationMilliseconds&&void 0!==a.durationMilliseconds?a.durationMilliseconds:5E3;var d="countdown_next_to_thumbnail"==g.At(this.api.N().experiments,"preskip_button_style_ads_backend")&&Yy(this.api.N());this.w=new bZ(this.api,this.ra,this.u,d);this.w.init(RT("preskip-component"),a,c);cZ(this.w);g.B(this,this.w);this.w.ca(this.element);g.P(this.api.N().experiments, "enable_pubsub_for_skip_transition_bulleit")&&this.w.subscribe("t",this.oM,this)}else b.skipOffsetMilliseconds&&(this.C=b.skipOffsetMilliseconds);b=b&&b.skippableRenderer&&b.skippableRenderer.skipButtonRenderer||{};b=g.Mb(b)?null:b;null==b?g.M(Error("SkipButtonRenderer was not set in player response.")):(this.A=new eZ(this.api,this.ra,this.u),this.A.init(RT("skip-button"),b,c),g.B(this,this.A),this.A.ca(this.element),this.show())}; g.h.show=function(){this.I&&this.A?this.A.show():this.w&&this.w.show();XY(this);WY.prototype.show.call(this)}; g.h.aj=function(){}; g.h.clear=function(){this.w&&this.w.clear();this.A&&this.A.clear();YY(this);WY.prototype.hide.call(this)}; g.h.hide=function(){this.w&&this.w.hide();this.A&&this.A.hide();YY(this);WY.prototype.hide.call(this)}; g.h.oM=function(){AZ(this,!0)}; g.h.Nh=function(){g.P(this.api.N().experiments,"enable_pubsub_for_skip_transition_bulleit")?this.w||1E3*this.u.getProgressState().current>=this.C&&AZ(this,!0):1E3*this.u.getProgressState().current>=this.C&&AZ(this,!0)};g.r(BZ,Z);BZ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.skipAd&&(a=b.skipAd,a.skipAdRenderer&&(b=new zZ(this.api,this.ra,this.u),b.ca(this.w),b.init(RT("skip-button"),a.skipAdRenderer,this.macros),g.B(this,b)));this.show()};g.r(CZ,WY);g.h=CZ.prototype;g.h.init=function(a,b,c){WY.prototype.init.call(this,a,b,c);if(b.templatedCountdown){a=b.templatedCountdown.templatedAdText;if(!a.isTemplated){g.Go(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.w=new $Y(this.api,this.ra);this.w.init(RT("ad-text"),a,{});this.w.ca(this.element);g.B(this,this.w)}this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){YY(this);WY.prototype.hide.call(this)}; g.h.aj=function(){this.hide()}; g.h.Nh=function(){if(null!=this.u){var a=this.u.getProgressState();if(null!=a&&null!=a.current&&this.w){a=(this.u instanceof fZ?a.seekableEnd:this.api.getDuration(2,g.P(this.api.N().experiments,"halftime_ux_killswitch")?void 0:!1))-a.current;var b=g.hM(a);aZ(this.w,{FORMATTED_AD_DURATION_REMAINING:String(b),TIME_REMAINING:String(Math.ceil(a))})}}}; g.h.show=function(){XY(this);WY.prototype.show.call(this)};g.r(DZ,$Y);DZ.prototype.onClick=function(a){$Y.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};g.r(EZ,WY);g.h=EZ.prototype; g.h.init=function(a,b,c){WY.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.actionButton&&b.actionButton.buttonRenderer&&b.actionButton.buttonRenderer.navigationEndpoint){a=this.api.getVideoData(2);if(null!=a)if(b.image&&b.image.thumbnail){var d=b.image.thumbnail.thumbnails;null!=d&&0=this.V&&(YY(this),g.Dn(this.element,"ytp-flyout-cta-inactive"))}}; g.h.aj=function(){this.clear()}; g.h.clear=function(){this.hide()}; g.h.show=function(){this.w&&this.w.show();WY.prototype.show.call(this)}; g.h.hide=function(){this.w&&this.w.hide();WY.prototype.hide.call(this)};g.r(FZ,Z);g.h=FZ.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.w=b;if(null==b.defaultText&&null==b.defaultIcon)g.M(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.M(Error("ToggleButtonRenderer cannot have toggled icon set without a default icon."));else{if(b.style){switch(b.style.styleType){case "STYLE_UNKNOWN":case "STYLE_DEFAULT":a="ytp-ad-toggle-button-default-style";break;default:a=null}null!=a&&g.J(this.A,a)}a={};b.defaultText? (c=g.T(b.defaultText),g.ec(c)||(a.buttonText=c,this.u.setAttribute("aria-label",c))):g.Oh(this.Z,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip,this.u.hasAttribute("aria-label")||this.M.setAttribute("aria-label",b.defaultTooltip));b.defaultIcon?(c=UY(b.defaultIcon),this.la("untoggledIconTemplateSpec",c),b.toggledIcon?(this.I=!0,c=UY(b.toggledIcon),this.la("toggledIconTemplateSpec",c)):(g.Oh(this.C,!0),g.Oh(this.B,!1)),g.Oh(this.u,!1)):g.Oh(this.M,!1);g.Mb(a)||this.update(a);b.isToggled&&(g.J(this.A, "ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));GZ(this);this.V=this.L(this.element,"change",this.Tz);g.P(this.api.N().experiments,"bulleit_use_touch_events_for_magpie")&&HX(this,this.V);this.show()}}; g.h.onClick=function(a){0a)g.M(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+a));else if(b.timeoutCommands)if(b.text)if(b.ctaButton&&b.ctaButton.buttonRenderer)if(b.brandImage)if(b.backgroundImage&&b.backgroundImage.thumbnailLandscapePortraitRenderer&&b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape){qoa(this.B,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape);qoa(this.I, b.brandImage);g.ye(this.M,g.T(b.text));this.u=new VY(this.api,this.ra,["ytp-ad-survey-interstitial-action-button"]);g.B(this,this.u);this.u.ca(this.C);this.u.init(RT("button"),b.ctaButton.buttonRenderer,c);this.u.show();var e=b.timeoutCommands;this.A=new fZ(1E3*a);this.A.subscribe("a",function(){d.w.hide();e.forEach(function(f){return d.ra.executeCommand(f,c)}); d.ra.executeCommand({adLifecycleCommand:{action:"END_LINEAR_AD"}},c)}); g.B(this,this.A);this.L(this.element,"click",function(f){return poa(d,f,b)}); this.w.show(100);b.impressionCommands&&b.impressionCommands.forEach(function(f){return d.ra.executeCommand(f,c)})}else g.M(Error("SurveyTextInterstitialRenderer has no landscape background image.")); else g.M(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.M(Error("SurveyTextInterstitialRenderer has no button."));else g.M(Error("SurveyTextInterstitialRenderer has no text."));else g.M(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; UZ.prototype.clear=function(){this.hide()}; UZ.prototype.show=function(){roa(!0);Z.prototype.show.call(this)}; UZ.prototype.hide=function(){roa(!1);Z.prototype.hide.call(this)};g.r(VZ,Z);g.h=VZ.prototype; g.h.init=function(a,b,c){var d=this;Z.prototype.init.call(this,a,b,c);this.u&&(this.u.cancel(),this.u=null);this.u=new zf(g.Ia);b.bannerImage?b.iconImage?b.headline?b.description?b.actionButton&&b.actionButton.buttonRenderer?b.navigationEndpoint?(b.adInfoRenderer&&b.adInfoRenderer.adHoverTextButtonRenderer?this.B.init(RT("watch-ad-info-hover-button"),b.adInfoRenderer.adHoverTextButtonRenderer,c):g.M(Error("ActionCompanionAdRenderer has no ad info renderer.")),this.A.init(RT("ad-image"),b.bannerImage, c),this.ga.init(RT("ad-image"),b.iconImage,c),this.M.init(RT("ad-text"),b.headline,c),this.C.init(RT("ad-text"),b.description,c),this.w.init(RT("button"),b.actionButton.buttonRenderer,c),g.ye(this.o["yt-badge-ad"],"Annonce"),this.aa=b.impressionCommands||[],this.V=b.navigationEndpoint,this.I.L(this.element,"click",this.SL,this),Promise.race([this.u,this.ma.showCompanion(this.element,300,250)]).then(function(){return d.show()})):g.M(Error("ActionCompanionAdRenderer has no navigation endpoint.")):g.M(Error("ActionCompanionAdRenderer has no button.")): g.M(Error("ActionCompanionAdRenderer has no description string.")):g.M(Error("ActionCompanionAdRenderer has no headline string.")):g.M(Error("ActionCompanionAdRenderer has no icon image.")):g.M(Error("ActionCompanionAdRenderer has no banner image."))}; g.h.clear=function(){g.Ir(this.I);this.hide()}; g.h.show=function(){var a=this;this.w.show();Z.prototype.show.call(this);this.aa.forEach(function(b){return a.ra.executeCommand(b,a.macros)})}; g.h.hide=function(){this.w.hide();Z.prototype.hide.call(this)}; g.h.SL=function(a){a=a.target;g.xe(this.B.element,a)||(this.V&&!g.xe(this.w.element,a)&&this.ra.executeCommand(this.V,this.macros),this.api.onAdUxClicked("action-companion"),this.api.pauseVideo())}; g.h.X=function(){this.u&&(this.u.cancel(),this.u=null);Z.prototype.X.call(this)};g.r(WZ,g.R);WZ.prototype.clear=function(){for(var a=g.q(this.u),b=a.next();!b.done;b=a.next())g.He(b.value);this.u=[]}; WZ.prototype.G=function(a){g.Kp(a);this.w=Math.max(0,this.w-XZ(this));YZ(this)}; WZ.prototype.F=function(a){g.Kp(a);this.w=Math.min(this.u.length-1,this.w+XZ(this));YZ(this)}; WZ.prototype.X=function(){this.clear();g.R.prototype.X.call(this)};g.r(ZZ,NX);g.h=ZZ.prototype;g.h.ua=function(){return this.o.element}; g.h.mn=function(a){var b=this.o,c=new g.R({D:"li",H:"ad-carousel-listitem",J:[{D:"div",H:"ad-carousel-item"}]});c.o["ad-carousel-item"].appendChild(a);b.u.push(c);b.C.appendChild(c.element)}; g.h.show=function(){this.o.show()}; g.h.hide=function(){this.o.hide()}; g.h.clear=function(){this.o.clear()};var voa={DP:"adinfoclick",TR:"offerclick",UR:"offernavclick"};g.r($Z,NX);$Z.prototype.show=function(){this.u.show()}; $Z.prototype.hide=function(){this.u.hide()}; $Z.prototype.ua=function(){return this.u.element};var toa={Cq:$Z};g.r(b_,OX); b_.prototype.B=function(a){var b=this.view;a=a.renderer;this.u=a.clickthroughEndpoint||null;var c=a.headline||null;a_(b.w,"headline",c);a_(b.o,"headline",c);c=a.merchant||null;a_(b.A,"merchant",c);a_(b.w,"merchant",c);a_(b.o,"merchant",c);c=a.priceText||null;a_(b.A,"price",c);a_(b.w,"price",c);a_(b.o,"price",c);c=(c=a.image&&0=Math.abs(e-f)}e&&w0(this.w,"ad_placement_end")}; g.h.mk=function(a){a=a.layoutId;var b,c,d;this.o&&(null===(b=this.o.pj)||void 0===b?void 0:b.layout.layoutId)!==a&&(null===(c=this.o.pj)||void 0===c?void 0:c.fj("normal"),this.o={pj:Dpa(this,a)},null===(d=this.o.pj)||void 0===d?void 0:d.startRendering())}; g.h.kk=function(){}; g.h.IA=function(){}; g.h.uA=function(a){var b=v_(this.layout.Ja,"metadata_type_layout_enter_ms"),c=A0(this);a*=1E3;b<=a&&aaH(a,4)&&!(0>aH(a,2))&&v0(this.o,"resume"),g.bH(a,16)&&.5<=this.ob.K.getCurrentTime(2,!1)&&v0(this.o,"seek"),g.bH(a,2))){var c=v_(this.layout.Ja,"metadata_type_video_length_seconds"),d=1>=Math.abs(c-b);Fpa(this,a.state,d?c:b,this.u.Ls);d&& w0(this.o,"complete")}}}; g.h.Ky=function(a){this.o.o.has("impression")&&v0(this.o,a?"fullscreen":"end_fullscreen")}; g.h.skip=function(){}; g.h.RB=function(){this.o.o.has("impression")&&v0(this.o,"clickthrough")};Gpa.prototype.o=function(a,b,c,d){a:{var e=v_(d.Ja,"metadata_type_sub_layouts"),f=v_(d.Ja,"metadata_type_ad_placement_config");if(z0(d,{tf:["metadata_type_layout_enter_ms","metadata_type_drift_recovery_ms"],xh:["layout_type_composite_player_bytes"]})&&void 0!==e&&void 0!==f){var k=[];e=g.q(e);for(var l=e.next();!l.done;l=e.next()){l=l.value;var m=v_(l.Ja,"metadata_type_sub_layout_index");if(!z0(l,{tf:["metadata_type_video_length_seconds","metadata_type_player_vars","metadata_type_layout_enter_ms"], xh:["layout_type_media"]})||void 0===m){a=null;break a}k.push(new Epa(b,c,l,this.Fg,new t0(l.jf,this.Cb,f,this.oc,l.layoutId,m),this.ob,this.kj,this.oc,this.hd))}a=new Bpa(a,c,d,this.hd,this.Fg,this.vf,this.ob,new t0(d.jf,this.Cb,f,this.oc,d.layoutId),this.Cb,k)}else a=null}if(a)return a;throw new T_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+w_(d.Ja)+" in PlayerBytesLayoutRenderingAdapterFactory.");};g.h=Hpa.prototype;g.h.Ul=function(){return this.slot}; g.h.vl=function(){return this.layout}; g.h.init=function(){}; g.h.Po=function(){}; g.h.startRendering=function(){}; g.h.fj=function(){};Jpa.prototype.o=function(a,b,c,d){if(z0(d,Ipa()))return new Hpa(c,d);throw new T_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+w_(d.Ja)+" in TvInPlayerLayoutRenderingAdapterFactory.");};g.r(D0,s0);D0.prototype.init=function(){s0.prototype.init.call(this);var a=v_(this.layout.Ja,"metadata_type_instream_ad_player_overlay_renderer");this.u.push(new DW(a))}; D0.prototype.Ly=function(a){a:{var b=this.A;for(var c=g.q(this.Gd.o.values()),d=c.next();!d.done;d=c.next())if(d.value.layoutId===b){b=!0;break a}b=!1}if(b)switch(a){case "visit-advertiser":this.Cb.K.sendVideoStatsEngageEvent(3,void 0,2)}switch(a){case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.w||(a=this.ob,2===a.K.getPlayerState(2)&&a.K.playVideo());break;case "ad-info-icon-button":(this.w=2===this.ob.K.getPlayerState(2))||this.ob.pauseVideo(); break;case "visit-advertiser":this.ob.pauseVideo();v_(this.layout.Ja,"metadata_type_player_bytes_callback").RB();break;case "skip-button":v_(this.layout.Ja,"metadata_type_player_bytes_callback").skip()}}; D0.prototype.X=function(){s0.prototype.X.call(this)};Kpa.prototype.o=function(a,b,c,d){if(z0(d,{tf:["metadata_type_instream_ad_player_overlay_renderer","metadata_type_player_bytes_callback","metadata_type_linked_player_bytes_layout_id"],xh:["layout_type_media_layout_player_overlay"]}))return new D0(a,c,d,this.Ge,this.ob,this.Cb,this.Gd);throw new T_("Unsupported layout with type: "+d.layoutType+" and client metadata: "+w_(d.Ja)+" in WebInPlayerLayoutRenderingAdapterFactory.");};g.r(E0,g.A);g.r(G0,E0);G0.prototype.u=function(a,b,c,d){0!==c.length&&F0(this,{Tg:c,Pq:d,contentCpn:a,Yk:b,so:!1,daiEnabled:!1})};Npa.prototype.A=function(a){var b=this,c=[];this.u=new Map;var d=a.Tg.filter(Spa),e={};d=g.q(d);for(var f=d.next();!f.done;e={Zb:e.Zb,nf:e.nf,qf:e.qf},f=d.next())if(e.qf=f.value,e.Zb=e.qf.renderer,e.nf=e.qf.config.adPlacementConfig,f=e.nf.kind,null!=e.Zb.actionCompanionAdRenderer)LW(this.Kb)&&(e.Zb.actionCompanionAdRenderer.adVideoId?H0(this,e.qf.elementId,f,e.Zb.actionCompanionAdRenderer.adVideoId,e.nf,function(k){return function(l,m,n,p){var t=k.Zb.actionCompanionAdRenderer;return j1("layout_type_companion_with_action_button", new $_(t),m,n,p,t.impressionPings,b.o(l))}}(e)):r_("ActionCompanionAdRenderer without adVideoId",void 0,void 0,{kind:f, "actionButton undefined":void 0===e.Zb.actionCompanionAdRenderer.actionButton,"APR count":a.Tg.length,isAdBreakResponse:a.so}));else if(e.Zb.imageCompanionAdRenderer)MW(this.Kb)&&(e.Zb.imageCompanionAdRenderer.adVideoId?H0(this,e.qf.elementId,f,e.Zb.imageCompanionAdRenderer.adVideoId,e.nf,function(k){return function(l,m,n,p){var t=k.Zb.imageCompanionAdRenderer;return j1("layout_type_companion_with_image",new c0(t),m,n,p,t.impressionPings,b.o(l))}}(e)):r_("ImageCompanionAdRenderer without adVideoId")); else if(e.Zb.shoppingCompanionCarouselRenderer)NW(this.Kb)&&(e.Zb.shoppingCompanionCarouselRenderer.adVideoId?H0(this,e.qf.elementId,f,e.Zb.shoppingCompanionCarouselRenderer.adVideoId,e.nf,function(k){return function(l,m,n,p){var t=k.Zb.shoppingCompanionCarouselRenderer;return j1("layout_type_companion_with_shopping",new d0(t),m,n,p,t.impressionPings,b.o(l))}}(e)):r_("ShoppingCompanionCarouselRenderer without adVideoId")); else if(e.Zb.adBreakServiceRenderer)DY(this.Kb)&&Tpa(e.qf)&&this.Fb.Yt({adPlacementRenderer:e.qf,contentCpn:a.contentCpn,Yk:a.Yk});else if(e.Zb.clientForecastingAdRenderer)r1(this.Kb)&&(f=sqa(e.nf,a.contentCpn,function(k){return function(l){var m=k.Zb.clientForecastingAdRenderer,n=k.nf;l=b.o(l);var p=Tr(),t={layoutId:p,layoutType:"layout_type_forecasting",wb:"core"},u=new Map,z=m.impressionUrls;z&&u.set("impression",z);return{layoutId:p,layoutType:"layout_type_forecasting",jf:u,Ae:[new c1(p)],We:[], Ve:[],wb:"core",Ja:new u_([new p0(m),new e0(n)]),rh:l(t)}}}(e)))&&c.push(f); else if(e.Zb.invideoOverlayAdRenderer)q1(this.Kb)&&(f=nqa(e.nf,a.contentCpn,function(k){return function(l,m){a:{var n=k.Zb.invideoOverlayAdRenderer;var p=k.nf,t=b.o(l),u=n.contentSupportedRenderer;if(u){if(u.textOverlayAdContentRenderer){u=Tr();n=k1(u,"layout_type_in_video_text_overlay",n,p,t,m);break a}if(u.enhancedTextOverlayAdContentRenderer){u=Tr();n=k1(u,"layout_type_in_video_enhanced_text_overlay",n,p,t,m);break a}if(u.imageOverlayAdContentRenderer){u=Tr();var z=[new h1(u)];m&&z.push(m);n=Object.assign(Object.assign({}, k1(u,"layout_type_in_video_image_overlay",n,p,t,m)),{Ae:z});break a}r_("InvideoOverlayAdRenderer without appropriate sub renderer")}else r_("InvideoOverlayAdRenderer without contentSupportedRenderer");n=void 0}return n}}(e)))&&c.push(f); else if(e.Zb.linearAdSequenceRenderer&&a.daiEnabled){f=void 0;try{f=rqa(a.contentCpn,function(k){return function(l){return Wpa(k.qf,b.o(l))}}(e))}catch(k){r_("Failed to parse AdPlacementRenderer for DAI AdPlacementRenderersSlotExtractor: "+k.message); continue}c.push(f)}else Qpa(this,e.Zb,f);if(null===this.w||a.daiEnabled)return c;e=a.Pq.filter(Spa);e=g.q(e);for(f=e.next();!f.done;f=e.next())d=f.value,Qpa(this,d.renderer,d.config.adPlacementConfig.kind);d=Array.from(this.u.values()).filter(function(k){return Rpa(k,a)}); e={};d=g.q(d);for(f=d.next();!f.done;e={Sf:e.Sf},f=d.next())e.Sf=f.value,f=function(k){return function(l){return k.Sf.Zk(l,k.Sf.adVideoId,k.Sf.instreamVideoAdRenderer.elementId,k.Sf.Nq)}}(e),"AD_PLACEMENT_KIND_COMMAND_TRIGGERED"===e.Sf.ai?c.push(qqa(this.w,e.Sf.Oq,a.contentCpn,f)):c.push(pqa(this.w,a.contentCpn,e.Sf.instreamVideoAdRenderer.elementId,f)); return c};g.r(I0,E0);g.h=I0.prototype;g.h.Yt=function(a){if(v1(this.hd,1).daiEnabled&&"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===a.adPlacementRenderer.config.adPlacementConfig.kind)if(this.o)r_("Unexpected multiple fetch instructions for the current content");else{this.o=a;a=g.q(this.vf.w);for(var b=a.next();!b.done;b=a.next())Zpa(this,this.o,b.value)}}; g.h.IA=function(a){this.o&&Zpa(this,this.o,a)}; g.h.uA=function(){}; g.h.mk=function(){}; g.h.kk=function(a){a=a.clientPlaybackNonce;var b;(null===(b=this.o)||void 0===b?void 0:b.contentCpn)!==a&&(this.o=null)}; g.h.X=function(){E0.prototype.X.call(this);this.o=null};g.r(J0,g.A);g.h=J0.prototype;g.h.schedule=function(a){var b=a.contentCpn,c=a.execute,d=a.JE;a=a.aO;var e="adfetchcuerange:"+Tr(),f=a?"deferredadvisiblecuerange:"+Tr():null;this.o.set(e,{contentCpn:b,Lw:f,execute:c});this.Ke.addCueRange(e,d.start,d.end,!1,this);f&&a&&this.Ke.addCueRange(f,a.start,a.end,!0,this)}; g.h.Iy=function(a){var b=this.o.get(a);if(b){var c=b.execute;b=b.Lw;this.o["delete"](a);this.Ke.removeCueRange(a);b&&this.Ke.removeCueRange(b);c()}}; g.h.Jy=function(){}; g.h.mk=function(){}; g.h.kk=function(a){a=a.clientPlaybackNonce;for(var b=g.q(this.o.entries()),c=b.next();!c.done;c=b.next()){var d=g.q(c.value);c=d.next().value;d=d.next().value;var e=d.Lw;d.contentCpn!==a&&(this.o["delete"](c),this.Ke.removeCueRange(c),e&&this.Ke.removeCueRange(e))}};var Gqa=["metadata_type_content_cpn","metadata_type_player_bytes_callback","metadata_type_instream_ad_player_overlay_renderer","metadata_type_ad_placement_config"],Fqa=["metadata_type_content_cpn","metadata_type_player_bytes_callback","metadata_type_instream_ad_player_overlay_renderer","metadata_type_ad_placement_config","metadata_type_ad_next_params"];g.r(K0,E0);g.h=K0.prototype; g.h.Hi=function(a,b){if(KW(this.Kb)&&"layout_type_media"===b.layoutType)if(t_(b,this.o)){var c={Su:b.layoutId,contentCpn:v_(b.Ja,"metadata_type_content_cpn"),SN:v_(b.Ja,"metadata_type_player_bytes_callback"),instreamAdPlayerOverlayRenderer:v_(b.Ja,"metadata_type_instream_ad_player_overlay_renderer"),adPlacementConfig:v_(b.Ja,"metadata_type_ad_placement_config"),adNextParams:v_(b.Ja,"metadata_type_ad_next_params")};F0(this,c)}else r_("Received MediaLayout entered, missing metadata for opportunity", a,b,{Actual:w_(b.Ja),Expected:this.o})}; g.h.Yj=function(){}; g.h.nk=function(){}; g.h.Wj=function(){}; g.h.Xj=function(){}; g.h.Xi=function(){}; g.h.lk=function(){}; g.h.Ii=function(){}; L0.prototype.A=function(a){var b=this,c=[];c.push(lqa(a.contentCpn,a.Su,function(d){return b.Zk("core",a,function(e){return C_(b.Sa,d.slotId,d.ab,d.wb,d.ld,e.layoutId,e.layoutType,e.wb)})})); return c};g.r(M0,g.A);g.h=M0.prototype;g.h.Yj=function(){}; g.h.nk=function(){}; g.h.Wj=function(){}; g.h.Xj=function(){}; g.h.Xi=function(){}; g.h.lk=function(a,b){this.o.has(a)&&this.o.get(a)===b&&r_("Unscheduled a Layout that is currently entered.",a,b)}; g.h.Hi=function(a,b){this.o.set(a,b)}; g.h.Ii=function(a){this.o["delete"](a)};g.r(U0,g.A);g.h=U0.prototype; g.h.cf=function(a,b,c,d){if(this.u.has(b.o))throw new O_("Tried to register duplicate trigger for slot.");if(!(b instanceof Q0||b instanceof R0||b instanceof S0||b instanceof N0||b instanceof O0||b instanceof P0))throw new O_("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdsControlFlowEventTriggerAdapter");a=new T0(a,b,c,d);this.u.set(b.o,a);b instanceof S0&&this.B.has(b.A)&&L_(this.o(),[a]);b instanceof Q0&&this.A.has(b.w)&&L_(this.o(),[a]);b instanceof N0&&this.w.has(b.u)&& L_(this.o(),[a])}; g.h.lf=function(a){this.u["delete"](a.o)}; g.h.Yj=function(a){this.B.add(a.slotId);for(var b=[],c=g.q(this.u.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof S0&&a.slotId===d.trigger.A&&b.push(d);0