var _yt_player={};(function(g){var window=this;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var ba,da,aaa,ea,ia,ma,la,ra,sa,ta,ua,va,wa,xa,caa,ya,za,Aa,Ba,Ca,daa,Da,Ea,Fa,Ga,Ha,Ka,La,faa,gaa,haa,Va,Wa,iaa,jaa,kaa,eb,laa,lb,nb,maa,sb,pb,naa,qb,oaa,paa,qaa,yb,raa,Ab,saa,taa,Db,Eb,Fb,Gb,Kb,Mb,Nb,Vb,Yb,Zb,dc,ec,waa,fc,gc,oc,pc,rc,Cc,Dc,Ec,Ic,Gc,Aaa,Daa,Eaa,Faa,Nc,Oc,Qc,Pc,Tc,Wc,Gaa,Haa,Vc,Yc,Iaa,Laa,cd,dd,ed,id,kd,Oaa,md,nd,rd,sd,td,ud,vd,wd,yd,Bd,Cd,Ed,Fd,Qaa,Raa,Gd,Hd,Id,Jd,Taa,Kd,Rd,Td,Wd,$d,ae,fe,ge,je,he,le,ne,me,Yaa,Yd,Be,ze,Ae,Waa,Ce,Xd,$aa,Ee,Fe,aba,Le,Ne,cba,Oe,Pe,Qe,Re,Te,Ve,dba,Se, af,bf,Ye,ef,df,fba,We,Ue,hf,mf,nf,of,qf,hba,rf,sf,iba,xf,zf,Bf,Cf,Ef,Ff,Gf,If,Jf,jba,Lf,Nf,Of,Kf,Mf,Af,Hf,lba,Rf,Pf,Qf,Tf,kba,Sf,Xf,Zf,mba,nba,oba,pba,eg,bg,ig,kg,hg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug,vg,wg,xg,yg,zg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Og,Mg,Pg,qba,Qg,Rg,Sg,Tg,Ng,Ug,Wg,Vg,Yg,Zg,Xg,$g,ah,bh,ch,dh,eh,fh,gh,jh,lh,kh,mh,nh,tba,vba,wba,yba,ph,qh,rh,th,uh,Ah,Bh,Fh,Gh,Hh,Kh,Jh,Lh,Dh,zba,Uh,Vh,Wh,Aba,Xh,Yh,Zh,$h,ai,bi,Bba,ci,di,ei,Cba,Dba,fi,hi,gi,ji,ki,ni,li,Fba,mi,oi,pi,ri,qi,si,Hba,Gba,ti,Jba,Iba,Kba,wi, Lba,yi,zi,Ai,xi,Bi,Mba,Ci,Nba,Ei,Rba,Fi,Gi,Hi,Ii,Ji,Sba,Li,Ni,Qi,Ti,Vi,Si,Ri,Wi,Tba,Xi,Yi,Zi,$i,Vba,ej,fj,Xba,gj,hj,ij,jj,kj,Yba,mj,nj,oj,pj,rj,qj,Zba,$ba,aca,sj,tj,uj,vj,xj,yj,zj,Aj,Bj,wj,Cj,Dj,Ej,bca,cca,Fj,Gj,dca,Hj,Ij,eca,Kj,fca,Lj,Mj,Nj,gca,Oj,Pj,Rj,Uj,Vj,Wj,Xj,Yj,Qj,Sj,ica,Zj,ak,ck,dk,lca,ek,fk,gk,mca,nca,oca,hk,jk,pca,qca,rca,lk,mk,sca,nk,tca,ok,uca,pk,qk,rk,vca,sk,uk,vk,wk,xk,yk,zk,Ak,Bk,wca,xca,Ck,yca,Ek,Dk,Hk,Ik,Gk,zca,Dca,Cca,Kk,Eca,Fca,Gca,Ica,Hca,Jca,Lk,Nk,Pk,Qk,Rk,Lca,Tk,Uk,Mca,Nca, Vk,Wk,Xk,Yk,Oca,Zk,$k,Pca,al,bl,Rca,cl,dl,Sca,fl,gl,il,jl,kl,ml,nl,pl,ql,el,rl,tl,sl,ul,vl,xl,Uca,yl,Tca,zl,Al,Vca,Wca,Cl,El,Fl,Gl,Hl,Dl,Kl,Ll,Il,Xca,Zca,$ca,Ol,Pl,Ql,Rl,ada,Sl,Tl,Ul,Vl,Wl,Xl,Yl,Zl,bm,am,cda,dda,cm,em,$l,dm,bda,fm,gm,fda,gda,hda,ida,km,lm,mm,hm,nm,om,eda,jda,kda,lda,rm,pm,sm,um,qda,mda,rda,ym,zm,Am,Bm,Cm,tk,sda,Dm,Em,tda,uda,Fm,Gm,vda,Im,Jm,Km,Lm,Mm,yda,zda,Nm,Rm,Qm,Wm,Xm,Zm,Cda,Ym,an,cn,bn,Ada,fn,kn,ln,mn,Lda,Kda,nn,on,pn,qn,rn,tn,vn,Rda,Pda,Qda,Uda,Sda,Tda,wn,Vda,zn,An,Yda,Xda, Hn,In,Jn,Zda,Pn,Qn,aea,Rn,Sn,fea,bea,Xn,Yn,hea,ao,bo,co,eo,iea,ho,io,jo,ko,mo,no,oo,po,so,to,wo,xo,yo,lea,mea,Ao,Bo,zo,Eo,Fo,Go,nea,Io,Lo,oea,Vo,Uo,rea,sea,Xo,ag,Zo,ap,pp,op,hp,vea,rp,sp,tp,up,yea,zea,Bp,Cp,Dp,Jp,Kp,Aea,Mp,Op,Lp,Rp,Up,Tp,Sp,Wp,$p,aq,bq,cq,dq,eq,iq,gq,jq,kq,lq,oq,nq,Bea,Dea,qq,Eea,uq,tq,Gea,vq,wq,Hea,Aq,Iea,Jea,yq,Cq,Kea,Dq,Lea,Gq,Iq,Kq,Lq,Mq,Nq,Oq,Pq,Qq,Mea,Tq,Oea,Wq,Vq,Pea,Zq,Yq,ar,br,cr,er,dr,Rea,hr,ir,jr,kr,lr,nr,pr,qr,rr,or,Vea,Tea,sr,vr,wr,Yea,tr,ur,xr,zr,Ar,Dr,Br,Fr,Er,Gr,Zea, $ea,Yf,Jr,bfa,Nr,Or,Qr,Rr,Sr,Ur,cfa,Yr,Zr,$r,bs,dfa,gs,fs,as,hs,ffa,ws,vs,ys,us,xs,gfa,As,Bs,hfa,Cs,Ds,Es,Fs,Gs,Hs,Is,Js,Ks,Ms,Ns,Os,Ps,Rs,Ss,Us,Ws,Xs,Zs,$s,at,bt,ct,dt,ft,gt,ht,jt,et,mfa,kt,lt,mt,nt,pt,qt,rt,tt,ut,vt,wt,xt,zt,At,Bt,Ct,Et,Gt,Ht,Dt,It,Jt,Kt,Lt,ofa,Mt,Nt,qfa,Qt,Rt,St,Ut,rfa,Ot,Yt,Zt,Wt,Tt,$t,au,Vt,Xt,bu,cu,du,eu,pfa,fu,sfa,gu,hu,iu,ju,qu,tu,uu,vu,tfa,lu,wu,yu,Bu,Au,ou,xu,nu,ru,ufa,Cu,Du,Fu,Gu,vfa,Hu,Iu,ku,mu,pu,zu,Ju,Ku,Lu,Nu,Mu,wfa,Ou,Pu,Qu,Ru,Su,xfa,Uu,Tu,Wu,Xu,Yu,Zu,$u,av,bv,cv, ev,fv,gv,hv,iv,jv,kv,yfa,zfa,mv,Bfa,Cfa,ov,Dfa,pv,tv,uv,vv,wv,qv,zv,Vu,Av,Bv,Cv,Dv,Ev,yv,Fv,Gv,Hv,Jv,Ffa,Kv,Lv,Mv,Nv,Gfa,Ov,Pv,Qv,Rv,Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,aw,bw,cw,dw,ew,Hfa,gw,hw,fw,iw,jw,kw,lw,mw,Ifa,Aw,nw,Jfa,zw,Kfa,Ew,Fw,Gw,Hw,Iw,Jw,Lw,Mw,Nw,Ow,Mfa,Pw,Qw,Rw,Tw,Sw,Uw,Vw,Ww,Xw,Nfa,Ofa,Yw,$w,Zw,ax,Pfa,cx,dx,fx,gx,hx,ix,jx,kx,ex,lx,S,mx,nx,ox,px,Mx,Nx,Qx,Rx,Ax,Ix,Hx,Lx,Ux,Wx,ay,xx,wx,cy,Gx,ey,fy,Wfa,Xfa,hy,Yfa,jy,Zfa,iy,ky,my,ny,oy,qy,$fa,ry,sy,ty,uy,vy,yy,aga,wy,zy,Ay,cga,By,Cy,Dy,Ey,Fy,dga, ega,iga,jga,fga,gga,hga,Gy,Hy,kga,Jy,Ky,Ly,lga,My,Oy,Py,mga,nga,Qy,Ry,oga,pga,qga,Sy,rga,Xy,Ty,$y,sga,tga,az,uga,vga,bz,cz,wga,dz,ez,xga,yga,fz,Yy,zga,Aga,Bga,Cga,gz,hz,jz,kz,lz,mz,iz,nz,Dga,rz,sz,tz,Gga,Iga,Hga,vz,Fga,Ega,uz,wz,Jga,xz,Kga,Mga,Lga,Nga,yz,zz,Az,Bz,Oga,Pga,Cz,Rga,Dz,Qga,Fz,Hz,Iz,Sga,Jz,Kz,Lz,Tga,Uga,Vga,Wga,Xga,Nz,Yga,Zga,Mz,Gz,Oz,Pz,$ga,aha,Rz,Tz,Vz,Xz,Wz,Yz,Zz,Uz,$z,aA,bA,bha,cA,eA,fA,iA,hA,cha,kA,lA,eha,fha,gha,hha,iha,jha,kha,lha,mha,nha,oha,pha,qha,xha,yha,zha,Bha,qA,rA,Cha,tA, uA,vA,xA,yA,sA,zA,wA,BA,CA,EA,DA,FA,GA,IA,JA,NA,KA,PA,OA,QA,RA,WA,ZA,$A,TA,XA,aB,bB,VA,Hha,cB,SA,gB,jB,Jha,mB,qB,nB,rB,Kha,sB,uB,vB,wB,tB,xB,Lha,zB,pB,CB,Mha,EB,FB,GB,IB,JB,oB,iB,Nha,hB,LB,BB,Oha,QB,RB,SB,TB,kB,UB,yB,VB,WB,lB,fB,pA,oA,mA,ZB,Pha,Qha,$B,bC,aC,cC,dC,fC,gC,hC,Rha,iC,jC,kC,lC,mC,oC,pC,qC,sC,tC,uC,rC,zC,yC,BC,EC,Sha,FC,LC,OC,MC,PC,NC,QC,SC,TC,UC,WC,YC,$C,aD,bD,cD,dD,eD,fD,Tha,hD,gD,iD,jD,mD,ZC,Vha,oD,pD,rD,sD,tD,uD,vD,zD,Wha,BD,DD,Yha,HD,ID,JD,KD,LD,OD,PD,QD,ND,Zha,MD,RD,SD,TD,VD,aia,aE, bE,cE,dE,bia,cia,ZD,eE,dia,fE,gE,jE,eia,kE,fia,gia,hia,iia,jia,lE,mE,qE,pE,sE,nE,tE,uE,vE,oE,wE,rE,xE,kia,yE,zE,BE,CE,AE,DE,mia,nia,EE,oia,FE,GE,HE,pia,NE,OE,ME,QE,KE,PE,IE,qia,RE,SE,JE,ria,TE,UE,VE,XE,WE,sia,tia,YE,ZE,$E,aF,bF,cF,dF,eF,fF,gF,kF,mF,lF,jF,iF,hF,nF,oF,pF,qF,rF,sF,uF,vF,wF,xF,tF,zF,yF,AF,BF,CF,uia,LF,GF,HF,FF,DF,EF,IF,KF,JF,MF,OF,PF,RF,QF,SF,TF,UF,YF,$F,aG,bG,cG,eG,fG,ZF,WF,VF,XF,gG,hG,iG,jG,dG,kG,lG,mG,nG,pG,oG,via,qG,rG,sG,tG,uG,vG,yia,xia,xG,yG,zia,wG,zG,Aia,Dia,Eia,Fia,FG,GG,Gia, HG,Hia,BG,AG,Bia,CG,DG,Cia,EG,Iia,Jia,IG,JG,Kia,KG,Lia,OG,LG,NG,MG,Mia,Nia,QG,Oia,PG,RG,SG,TG,UG,VG,WG,XG,YG,Ria,Qia,Pia,aH,Tia,bH,cH,dH,fH,hH,jH,kH,mH,Via,Xia,Yia,Zia,lH,oH,pH,$ia,qH,uH,aja,tH,wH,yH,sH,vH,ZG,Sia,rH,xH,iH,Uia,bja,$G,zH,gH,eH,cja,AH,dja,BH,CH,eja,DH,EH,FH,fja,GH,HH,IH,JH,KH,gja,hja,LH,MH,PH,ija,kja,QH,lja,RH,SH,NH,nja,TH,UH,VH,oja,WH,XH,YH,OH,ZH,pja,$H,aI,dI,gI,hI,iI,rja,qja,eI,kI,fI,jI,cI,lI,sja,tja,mI,oI,nI,qI,uja,vja,rI,sI,uI,vI,tI,wI,xI,yI,zI,wja,BI,DI,FI,EI,GI,HI,II,yja,JI,CI, KI,Aja,Bja,MI,Cja,OI,QI,SI,RI,TI,UI,PI,NI,Dja,XI,WI,ZI,YI,VI,Eja,dJ,Gja,hJ,jJ,kJ,lJ,aJ,iJ,mJ,bJ,Ija,nJ,oJ,cJ,pJ,gJ,Hja,Jja,$I,Fja,qJ,sJ,tJ,rJ,uJ,Kja,vJ,wJ,Lja,xJ,yJ,Mja,zJ,AJ,BJ,CJ,DJ,EJ,FJ,GJ,HJ,IJ,JJ,KJ,LJ,MJ,Nja,Oja,NJ,OJ,Pja,PJ,QJ,RJ,SJ,TJ,UJ,Qja,Rja,Tja,Sja,Uja,Zja,Vja,Wja,Xja,VJ,$ja,Yja,aka,$J,jK,XJ,bK,kK,lK,oK,mK,cka,dka,fka,pK,sK,rK,WJ,gK,wK,vK,AK,tK,DK,CK,GK,xK,vC,JK,IK,KK,MK,bka,cK,EK,SK,hka,UK,RK,ika,VK,WK,YK,ZK,jka,TK,QK,XK,NK,PK,aL,hK,BK,cL,bL,eL,dL,$K,kka,iK,gL,qK,aK,lka,hL,OK,jL,kL, lL,mL,fL,uK,nL,YJ,FK,LK,eka,oL,qL,mka,nka,rL,uL,KL,LL,YL,dM,rka,eM,fM,jM,uka,oM,tka,pM,vka,lM,qM,rM,sM,tM,VC,uM,JL,wM,zM,AM,CM,EM,HM,IM,JM,LM,MM,OM,QM,RM,SM,UM,VM,WM,XM,$M,aN,bN,cN,dN,fN,hN,lN,oN,pN,tN,vN,uN,wN,xN,yN,AN,zN,CN,FN,GN,HN,IN,JN,KN,LN,MN,PN,QN,RN,NN,ZN,$N,TN,cO,fO,gO,eO,bO,dO,XN,VN,aO,hO,WN,jO,kO,mO,nO,oO,pO,qO,rO,sO,uO,vO,wO,xO,yO,CO,AO,zO,BO,EO,DO,FO,GO,IO,LO,JO,PO,QO,RO,NO,TO,UO,VO,Aka,aP,cP,dP,gP,hP,fP,kP,lP,mP,nP,oP,pP,rP,qP,sP,tP,uP,vP,xP,zP,yP,wP,AP,BP,DP,EP,FP,Bka,GP,HP,IP,Cka, LP,MP,NP,OP,RP,QP,SP,UP,VP,XP,WP,ZP,$P,YP,bQ,cQ,eQ,fQ,gQ,Eka,hQ,iQ,Dka,jQ,kQ,lQ,pQ,qQ,nQ,sQ,rQ,tQ,Gka,uQ,vQ,wQ,AQ,CQ,Hka,GQ,DQ,EQ,HQ,IQ,JQ,MQ,NQ,LQ,KQ,OQ,QQ,RQ,Ika,TQ,VQ,WQ,XQ,YQ,ZQ,$Q,aR,bR,cR,dR,eR,fR,hR,kR,lR,mR,yQ,qR,SQ,rR,sR,pR,HO,oR,Jka,Kka,tR,xR,uR,yR,zR,vR,AR,BR,CR,ER,GR,FR,Mka,Nka,Oka,JR,Pka,PR,NR,LR,MR,IR,KR,OR,QR,Rka,Qka,RR,VR,Tka,WR,YR,ZR,UR,$R,bM,aS,Wia,cS,Vka,eS,Wka,iS,fS,kS,lS,mS,bS,oS,gS,pS,nS,jS,cM,rS,dS,uS,sS,vS,tS,wS,Yka,Zka,zS,$ka,AS,CS,DS,BS,FS,GS,HS,IS,pka,qka,JS,KS,LS,MS,NS, OS,oka,pL,PS,QS,RS,SS,TS,US,VS,bT,hla,dT,bla,xQ,ala,gT,iT,jT,ZL,mT,ila,kT,$L,aT,qT,rT,tT,uT,wT,fla,gla,AT,zT,fT,ET,FT,eT,GT,HT,jla,yL,IT,KT,yT,xT,NT,OT,oT,PT,hS,DT,SR,qS,RT,ST,MT,LT,VT,ML,XT,RC,ZT,CT,$T,bU,pT,lT,QT,cU,dU,eU,fU,ela,JT,WS,gU,dla,hU,yS,iU,jU,nla,ola,kU,lU,mU,nU,oU,pU,pla,qU,sU,rU,tU,vU,rla,uU,qla,wU,xU,yU,zU,AU,BU,CU,DU,EU,FU,GU,HU,sla,IU,tla,ula,JU,NU,MU,KU,LU,vla,OU,PU,wla,xla,QU,yla,Ala,zla,RU,SU,Bla,TU,UU,VU,WU,XU,YU,ZU,$U,aV,bV,Cla,cV,dV,eV,fV,hV,iV,jV,Fla,kV,gV,lV,mV,Hla,Dla,nV, Ela,Ila,oV,qV,Jla,rV,sV,tV,vV,uV,wV,xV,Kla,Lla,yV,EV,IV,JV,Mla,AV,DV,FV,CV,HV,GV,MV,KV,LV,NV,BV,zV,OV,Nla,Y,PV,RV,SV,QV,TV,UV,VV,WV,XV,YV,Ola,ZV,$V,aW,bW,cW,dW,eW,fW,Pla,gW,hW,iW,jW,kW,lW,mW,nW,oW,pW,qW,rW,sW,tW,uW,vW,wW,xW,yW,zW,AW,Qla,BW,CW,EW,FW,DW,Rla,Sla,Tla,GW,HW,Ula,Vla,IW,JW,KW,LW,Wla,Yla,Xla,OW,NW,PW,Zla,QW,RW,SW,TW,UW,VW,WW,XW,YW,ZW,$W,aX,bX,cX,dX,gX,eX,lX,fX,mX,pX,nX,oX,ama,qX,rX,tX,sX,uX,vX,wX,bma,dma,ema,zX,fma,yX,xX,cma,AX,BX,CX,gma,DX,EX,GX,HX,IX,JX,KX,MX,hma,OX,NX,ima,jma,PX,QX,mma, lma,RX,SX,nma,TX,UX,VX,WX,XX,Z,YX,ZX,oma,$X,aY,bY,cY,eY,gY,pma,fY,hY,iY,kY,jY,lY,mY,nY,oY,pY,sma,qY,rY,uma,sY,tY,uY,wY,xY,vY,wma,yY,xma,zY,AY,BY,CY,yma,DY,zma,EY,FY,Ama,GY,Bma,HY,IY,JY,Cma,KY,LY,MY,NY,PY,RY,TY,VY,WY,XY,ZY,$Y,aZ,bZ,Dma,dZ,Fma,Ema,gZ,Hma,cZ,hZ,kZ,iZ,jZ,mZ,lZ,oZ,pZ,LX,Gma,qZ,FX,YY,nZ,rZ,MW,Ima,sZ,tZ,uZ,vZ,Jma,wZ,xZ,yZ,zZ,AZ,BZ,CZ,DZ,EZ,Lma,Mma,Oma,Nma,FZ,GZ,Qma,HZ,IZ,JZ,KZ,Rma,Sma,LZ,Tma,MZ,NZ,Xma,Uma,Wma,Vma,Yma,OZ,Zma,PZ,QZ,$ma,ana,bna,cna,RZ,dna,ena,SZ,hna,gna,ina,jna,TZ,kna,lna, mna,WZ,nna,ona,pna,qna,XZ,VZ,rna,ZZ,sna,$Z,a_,b_,c_,d_,e_,f_,g_,tna,h_,una,i_,j_,k_,vna,l_,m_,n_,o_,p_,wna,yna,xna,zna,q_,Ana,Bna,r_,Cna,s_,t_,u_,Dna,Ena,Fna,v_,w_,y_,x_,z_,A_,Gna,B_,C_,Ina,D_,Lna,Mna,Nna,Kna,E_,Ona,G_,Pna,Qna,H_,I_,J_,Rna,K_,Sna,L_,N_,Una,Vna,O_,P_,Wna,Q_,R_,Xna,S_,Yna,T_,$na,V_,W_,U_,aoa,foa,Y_,Z_,ioa,h0,koa,i0,loa,l0,noa,e0,g0,m0,joa,ooa,b0,moa,s0,p0,c0,o0,t0,q0,a0,poa,$_,n0,k0,u0,d0,f0,r0,j0,v0,w0,x0,y0,z0,A0,B0,C0,D0,E0,F0,G0,H0,I0,J0,K0,L0,M0,N0,O0,P0,Q0,R0,S0,T0,U0,qoa,soa, W0,toa,uoa,woa,voa,X0,xoa,Y0,Z0,zoa,Aoa,a1,Boa,b1,Coa,Doa,Eoa,Foa,Goa,c1,Hoa,Ioa,Joa,Koa,Loa,Moa,Noa,d1,Ooa,Poa,Qoa,e1,Roa,Soa,f1,fZ,g1,Uoa,Toa,h1,i1,Voa,Woa,Xoa,j1,Yoa,Zoa,$oa,k1,apa,l1,m1,n1,o1,p1,q1,r1,s1,t1,bpa,cpa,u1,dpa,v1,w1,x1,epa,y1,z1,fpa,V0,$0,A1,gpa,B1,hpa,roa,C1,ipa,D1,jpa,kpa,mpa,npa,opa,lpa,ppa,E1,qpa,rpa,spa,F1,tpa,G1,upa,iX,jX,kX,hX,vpa,eZ,H1,wpa,$la,I1,xpa,yoa,ypa,K1,J1,L1,M1,N1,zpa,Apa,O1,Bpa,Cpa,Fpa,Hpa,S1,T1,aa,ha,fa,Maa,bd,Qa,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.Ya=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)}; maa=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.ob(a,-(c+1),0,b)}; g.xb=function(a,b,c){var d={};(0,g.y)(a,function(e,f){d[b.call(c,e,f,a)]=e}); return d}; paa=function(a){for(var b=[],c=0;c")&&(a=a.replace(kc,">"));-1!=a.indexOf('"')&&(a=a.replace(lc,"""));-1!=a.indexOf("'")&&(a=a.replace(mc,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(nc,"�"))}return a}; pc=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())}; g.sc=function(a,b){for(var c=0,d=qc(String(a)).split("."),e=qc(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&kb?1:0}; g.vc=function(a,b){this.u=a===tc&&b||"";this.w=uc}; g.wc=function(a){if(a instanceof g.vc&&a.constructor===g.vc&&a.w===uc)return a.u;La(a);return"type_error:SafeUrl"}; g.zc=function(a){if(a instanceof g.vc)return a;a="object"==typeof a&&a.Zf?a.ue():String(a);yc.test(a)||(a="about:invalid#zClosurez");return new g.vc(tc,a)}; g.Ac=function(a,b){if(a instanceof g.vc)return a;a="object"==typeof a&&a.Zf?a.ue():String(a);if(b&&/^data:/i.test(a)){var c=a.replace(/(%0A|%0D)/g,"");var d=c.match(yaa);d=d&&zaa.test(d[1]);c=new g.vc(tc,d?c:"about:invalid#zClosurez");if(c.ue()==a)return c}yc.test(a)||(a="about:invalid#zClosurez");return new g.vc(tc,a)}; Cc=function(){this.o="";this.u=Bc}; Dc=function(a){if(a instanceof Cc&&a.constructor===Cc&&a.u===Bc)return a.o;La(a);return"type_error:SafeStyle"}; Ec=function(a){var b=new Cc;b.o=a;return b}; Ic=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.Fc)(d,Gc).join(" "):Gc(d),b+=c+":"+d+";")}return b?Ec(b):Hc}; Gc=function(a){if(a instanceof g.vc)return'url("'+g.wc(a).replace(/>>0;return b}; g.jd=function(a){var b=Number(a);return 0==b&&g.hc(a)?NaN:b}; kd=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; g.ld=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()}; Oaa=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})}; md=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}; nd=function(a){return a?decodeURI(a):a}; g.pd=function(a,b){return b.match(od)[a]||null}; g.qd=function(a){return nd(g.pd(3,a))}; rd=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)]}; td=function(a,b){return b?a?a+"&"+b:b:a}; ud=function(a,b){if(!b)return a;var c=sd(a);c[1]=td(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; vd=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 ed(a.substr(d,e-d))}; Fd=function(a,b){for(var c=a.search(Dd),d=0,e,f=[];0<=(e=Cd(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(Paa,"$1")}; Qaa=function(a,b){var c=sd(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]=td(e.join("&"),g.xd(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; Raa=function(a){this.o=haa(a.url,a.xT)}; Gd=function(){return Nc("iPhone")&&!Nc("iPod")&&!Nc("iPad")}; Hd=function(){return Gd()||Nc("iPad")||Nc("iPod")}; Id=function(a){Id[" "](a);return a}; Jd=function(a,b){try{return Id(a[b]),!0}catch(c){}return!1}; Taa=function(a,b){var c=Saa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}; Kd=function(){var a=g.v.document;return a?a.documentMode:void 0}; g.Md=function(a){return Taa(a,function(){return 0<=g.sc(Ld,a)})}; g.Nd=function(a){return Number(Uaa)>=a}; g.Od=function(a,b,c){return Math.min(Math.max(a,b),c)}; g.Pd=function(a,b){var c=a%b;return 0>c*b?c+b:c}; g.Qd=function(a,b,c){return a+c*(b-a)}; Rd=function(a,b){return 1E-6>=Math.abs(a-b)}; g.Sd=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}; Td=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}; g.Ud=function(a,b){this.width=a;this.height=b}; g.Vd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}; Wd=function(a){return a.width*a.height}; $d=function(a){return a?new Xd(Yd(a)):Zd||(Zd=new Xd)}; ae=function(a){var b=document;return"string"===typeof a?b.getElementById(a):a}; g.ce=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.be(document,"*",a,b)}; g.de=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.be(c,"*",a,b)[0]||null}return c||null}; g.be=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.cb(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a}; fe=function(a,b){g.Bb(b,function(c,d){c&&"object"==typeof c&&c.Zf&&(c=c.ue());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:ee.hasOwnProperty(d)?a.setAttribute(ee[d],c):fc(d,"aria-")||fc(d,"data-")?a.setAttribute(d,c):a[d]=c})}; ge=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new g.Ud(a.clientWidth,a.clientHeight)}; je=function(a){var b=he(a);a=a.parentWindow||a.defaultView;return g.ie&&g.Md("10")&&a.pageYOffset!=b.scrollTop?new g.Sd(b.scrollLeft,b.scrollTop):new g.Sd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}; he=function(a){return a.scrollingElement?a.scrollingElement:g.ke||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement}; le=function(a){return a?a.parentWindow||a.defaultView:window}; g.oe=function(a,b,c){var d=arguments,e=document,f=String(d[0]),k=d[1];if(!Vaa&&k&&(k.name||k.type)){f=["<",f];k.name&&f.push(' name="',g.fd(k.name),'"');if(k.type){f.push(' type="',g.fd(k.type),'"');var l={};g.Ub(l,k);delete l.type;k=l}f.push(">");f=f.join("")}f=me(e,f);k&&("string"===typeof k?f.className=k:Array.isArray(k)?f.className=k.join(" "):fe(f,k));2a}; Waa=function(a){if(a&&"number"==typeof a.length){if(g.Pa(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Oa(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.cb(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}; Xd=function(a){this.o=a||g.v.document||document}; $aa=function(a){this.kw=a}; Ee=function(a,b,c){this.A=a;this.u=b;this.o=c||[];this.Ni=new Map}; Fe=function(a,b){Ee.call(this,a,3,b)}; g.A=function(){this.ub=this.ub;this.oi=this.oi}; g.C=function(a,b){g.Ge(a,g.Sa(g.He,b))}; g.Ge=function(a,b){a.ub?b():(a.oi||(a.oi=[]),a.oi.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)}; of=function(a){g.v.setTimeout(function(){throw a;},0)}; qf=function(a,b){var c=a;b&&(c=(0,g.x)(a,b));c=gba(c);!g.Oa(g.v.setImmediate)||g.v.Window&&g.v.Window.prototype&&!Nc("Edge")&&g.v.Window.prototype.setImmediate==g.v.setImmediate?(pf||(pf=hba()),pf(c)):g.v.setImmediate(c)}; hba=function(){var a=g.v.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Nc("Presto")&&(a=function(){var e=g.pe("IFRAME");e.style.display="none";Laa(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(g.Uc(Xc));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&&!Nc("Trident")&&!Nc("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.hw;c.hw=null;e()}}; return function(e){d.next={hw:e};d=d.next;b.port2.postMessage(0)}}return function(e){g.v.setTimeout(e,0)}}; rf=function(){this.u=this.o=null}; sf=function(){this.next=this.scope=this.Sf=null}; g.wf=function(a,b){tf||iba();uf||(tf(),uf=!0);vf.add(a,b)}; iba=function(){if(g.v.Promise&&g.v.Promise.resolve){var a=g.v.Promise.resolve(void 0);tf=function(){a.then(xf)}}else tf=function(){qf(xf)}}; xf=function(){for(var a;a=vf.remove();){try{a.Sf.call(a.scope)}catch(b){of(b)}nf(yf,a)}uf=!1}; zf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}}; Bf=function(a){this.o=0;this.F=void 0;this.A=this.u=this.w=null;this.B=this.C=!1;if(a!=g.Ja)try{var b=this;a.call(void 0,function(c){Af(b,2,c)},function(c){Af(b,3,c)})}catch(c){Af(this,3,c)}}; Cf=function(){this.next=this.context=this.onRejected=this.w=this.o=null;this.u=!1}; Ef=function(a,b,c){var d=Df.get();d.w=a;d.onRejected=b;d.context=c;return d}; Ff=function(a){if(a instanceof Bf)return a;var b=new Bf(g.Ja);Af(b,2,a);return b}; Gf=function(a){return new Bf(function(b,c){c(a)})}; If=function(a,b,c){Hf(a,b,c,null)||g.wf(g.Sa(b,a))}; Jf=function(a){return new Bf(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("")}; pba=function(a){var b=[];eg(a,function(c){b.push(c)}); return b}; g.fg=function(a){!g.ie||g.Md("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;eg(a,function(f){d[e++]=f}); return d.subarray(0,e)}; eg=function(a,b){function c(m){for(;d>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}}; bg=function(){if(!gg){gg={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));cg[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}; mg=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}; ng=function(a){this.o=kg(a,void 0,void 0);this.B=this.o.o;this.u=this.w=-1;this.A=!1}; og=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=mg(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}; pg=function(a){switch(a.u){case 0:if(0!=a.u)pg(a);else{for(a=a.o;a.u[a.o]&128;)a.o++;a.o++}break;case 1:1!=a.u?pg(a):(a=a.o,a.o+=8);break;case 2:if(2!=a.u)pg(a);else{var b=mg(a.o);a=a.o;a.o+=b}break;case 5:5!=a.u?pg(a):(a=a.o,a.o+=4);break;case 3:b=a.w;do{if(!og(a)){a.A=!0;break}if(4==a.u){a.w!=b&&(a.A=!0);break}pg(a)}while(1);break;default:a.A=!0}}; qg=function(a){var b=mg(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}; sg=function(){this.o=[]}; tg=function(a,b){for(;127>>=7;a.o.push(b)}; ug=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)}; vg=function(){this.w=[];this.u=0;this.o=new sg}; wg=function(a,b){tg(a.o,8*b+2);var c=a.o.end();a.w.push(c);a.u+=c.length;c.push(a.u);return c}; xg=function(a,b){var c=b.pop();for(c=a.u+a.o.length()-c;127>>=7,a.u++;b.push(c);a.u++}; yg=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)}}; Cg=function(a,b,c){if(null!=c&&null!=c){tg(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)}}; Dg=function(a,b,c){null!=c&&(tg(a.o,8*b+1),a=a.o,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,Ag=b,Bg=c,ug(a,Ag),ug(a,Bg))}; Eg=function(a,b,c){if(null!=c){tg(a.o,8*b+1);a=a.o;var d=c;d=(c=0>d?1:0)?-d:d;if(0===d)Bg=0<1/d?0:2147483648,Ag=0;else if(isNaN(d))Bg=2147483647,Ag=4294967295;else if(1.7976931348623157E308>>0,Ag=0;else if(2.2250738585072014E-308>d)d/=Math.pow(2,-1074),Bg=(c<<31|d/4294967296)>>>0,Ag=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;Ag=4503599627370496*d>>>0}ug(a,Ag);ug(a, Bg)}}; Fg=function(a,b,c){null!=c&&(tg(a.o,8*b),a.o.o.push(c?1:0))}; Gg=function(a,b,c){if(null!=c){b=wg(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)}xg(a,b)}}; Hg=function(a,b,c,d){null!=c&&(b=wg(a,b),d(c,a),xg(a,b))}; Ig=function(a,b,c,d){if(null!=c)for(var e=0;ea&&b.setFullYear(b.getFullYear()-1900);return b}; gh=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.Ih=function(a){var b=Yd(a),c=new g.Sd(0,0);var d=b?Yd(b):document;d=!g.ie||g.Nd(9)||"CSS1Compat"==$d(d).o.compatMode?d.documentElement:d.body;if(a==d)return c;a=Gh(a);b=je($d(b).o);c.x=a.left+b.x;c.y=a.top+b.y;return c}; Kh=function(a,b){var c=new g.Sd(0,0),d=le(Yd(a));if(!Jd(d,"parent"))return c;var e=a;do{var f=d==b?g.Ih(e):Jh(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.Mh=function(a,b){var c=Lh(a),d=Lh(b);return new g.Sd(c.x-d.x,c.y-d.y)}; Jh=function(a){a=Gh(a);return new g.Sd(a.left,a.top)}; Lh=function(a){if(1==a.nodeType)return Jh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.Sd(a.clientX,a.clientY)}; g.Oh=function(a,b,c){if(b instanceof g.Ud)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Nh(a,b);a.style.height=Dh(c,!0)}; Dh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; g.Nh=function(a,b){a.style.width=Dh(b,!0)}; g.Ph=function(a){var b=zba;if("none"!=Bh(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}; zba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.ke&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Gh(a),new g.Ud(a.right-a.left,a.bottom-a.top)):new g.Ud(b,c)}; g.Qh=function(a,b){a.style.display=b?"":"none"}; Uh=function(){if(Rh&&!mh(Sh)){var a="."+Th.domain;try{for(;2e?encodeURIComponent(ri(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}; si=function(a,b,c,d){a.o.push(b);a.u[b]=pi(c,d)}; Hba=function(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;var d=Gba(a)-c.length;if(0>d)return"";a.o.sort(function(p,t){return p-t}); c=null;for(var e="",f=0;f=n.length){d-=n.length;b+=n;e=a.w;break}a.A&&(e=d,n[e-1]==a.w&&--e,b+=n.substr(0,e),e=a.w,d=0);c=null==c?k:c}}a="";null!=c&&(a=e+"trn="+c);return b+a+""}; Gba=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}; ti=function(a,b){this.o=a;this.depth=b}; Jba=function(){function a(l,m){return null==l?m:l} var b=li(),c=Math.max(b.length-1,0),d=ni(b);b=d.o;var e=d.u,f=d.w,k=[];f&&k.push(new ti([f.url,f.Tr?2:0],a(f.depth,1)));e&&e!=f&&k.push(new ti([e.url,2],0));b.url&&b!=f&&k.push(new ti([b.url,0],a(b.depth,c)));d=(0,g.Fc)(k,function(l,m){return k.slice(0,k.length-m)}); !b.url||(f||e)&&b!=f||(e=vba(b.url))&&d.push([new ti([e,1],a(b.depth,c))]);d.push([]);return(0,g.Fc)(d,function(l){return Iba(c,l)})}; Iba=function(a,b){(0,g.ui)(b,function(e){return 0<=e.depth}); var c=(0,g.vi)(b,function(e,f){return Math.max(e,f.depth)},-1),d=paa(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.Fc)(a,function(b){return qi(b)})}; wi=function(){this.u=new ki;this.o=gi()?new hi:new fi}; Lba=function(){xi();var a=ii.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&g.Oa(ii.setInterval)&&g.Oa(ii.clearInterval)&&g.Oa(ii.setTimeout)&&g.Oa(ii.clearTimeout))}; yi=function(a){xi();var b=Uh()||ii;b.google_image_requests||(b.google_image_requests=[]);var c=b.document.createElement("img");c.src=a;b.google_image_requests.push(c)}; zi=function(){xi();return Kba()}; Ai=function(){}; xi=function(){return Ai.getInstance().getContext()}; Bi=function(a){Og(this,a,null,null)}; Mba=function(a){this.A=a;this.o=-1;this.u=this.w=0}; Ci=function(a,b){return function(c){for(var d=[],e=0;eMath.random())}; Ni=function(a){a&&Mi&&Ki()&&(Mi.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Mi.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; Qi=function(){var a=Oi;this.B=Pi;this.A="jserror";this.w=!0;this.o=null;this.C=this.u;this.Da=void 0===a?null:a}; Ti=function(a,b,c,d){return Ci(Ei.getInstance().o.o,function(){try{if(a.Da&&a.Da.o){var e=a.Da.start(b.toString(),3);var f=c();a.Da.end(e)}else f=c()}catch(m){var k=a.w;try{Ni(e);var l=new Ri(Si(m));k=a.C(b,l,void 0,d)}catch(n){a.u(217,n)}if(!k)throw m;}return f})()}; Vi=function(a,b,c){var d=Ui;return Ci(Ei.getInstance().o.o,function(e){for(var f=[],k=0;kd?500:k}; ej=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,mh(a)&&(c=a,b=d);return{xd:c,level:b}}; fj=function(a){var b=a!==a.top,c=a.top===ej(a).xd,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),Fb(Wba,function(k){return g.Oa(f[k])})||(e=1)); return{Ue:f,compatibility:e,fC:d}}; Xba=function(a){return(a=a.document)&&g.Oa(a.elementFromPoint)}; gj=function(a,b,c,d){var e=void 0===e?!1:e;c=Vi(d,c,void 0);dh(a,b,c,{capture:e})}; hj=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c}; ij=function(a){return new ph(a.top,a.right,a.bottom,a.left)}; jj=function(a){var b=a.top||0,c=a.left||0;return new ph(b,c+(a.width||0),b+(a.height||0),c)}; kj=function(a){return null!=a&&0<=a&&1>=a}; Yba=function(){var a=g.Mc;return a?lj("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;MiBOX".split(";"),function(b){return pc(a,b)})||pc(a,"OMI/")&&!pc(a,"XiaoMi/")?!0:pc(a,"Presto")&&pc(a,"Linux")&&!pc(a,"X11")&&!pc(a,"Android")&&!pc(a,"Mobi"):!1}; mj=function(){this.w=!mh(ii.top);this.F=kh()||lh();var a=li();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=Yd(a),e=d&&le(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1}; $ba=function(a,b,c){if(!a||!b)return!1;b=rh(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Uh();mh(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=Yd(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 mj.getInstance().w?!1:0>=qh(a)||0>=a.getHeight()?!0:c&&d?Xi(208,function(){return $ba(a,b,c)}):!1}; sj=function(a,b,c){var d=new ph(0,0,0,0);this.time=a;this.volume=null;this.w=b;this.o=d;this.u=c}; tj=function(a,b,c,d,e,f,k){this.F=a;this.C=b;this.B=c;this.o=d;this.A=e;this.u=f;this.w=k}; uj=function(a){this.w=a;this.u=0;this.o=null}; vj=function(a,b,c){this.xd=a;this.ca=void 0===c?"na":c;this.A=[];this.H=!1;this.w=new sj(-1,!0,this);this.o=this;this.F=b;this.J=this.Z=this.G=!1;this.S="uk";this.ub=!1;this.C=!0}; xj=function(a,b,c){if(!a.J||(void 0===c?0:c))a.J=!0,a.S=b,a.F=0,a.o!=a||wj(a)}; yj=function(a,b){g.cb(a.A,b)||(a.A.push(b),b.Zi(a.o),b.Ug(a.w),b.yf()&&(a.G=!0))}; zj=function(a){a=a.o;a.Uy();a.Ty();var b=mj.getInstance();b.G=Wh(!1,a.xd,b.F);a.kH();a.w.o=a.yx()}; Aj=function(a){a.G=a.A.length?lj(a.A,function(b){return b.yf()}):!1}; Bj=function(a){var b=g.kb(a.A);(0,g.y)(b,function(c){c.Ug(a.w)})}; wj=function(a){var b=g.kb(a.A);(0,g.y)(b,function(c){c.Zi(a.o)}); a.o!=a||Bj(a)}; Cj=function(a,b,c,d){this.element=a;this.o=new ph(0,0,0,0);this.B=new ph(0,0,0,0);this.u=b;this.Pa=c;this.J=d;this.ub=!1;this.timestamp=-1;this.A=new tj(b.w,this.o,new ph(0,0,0,0),0,0,$i(),0)}; Dj=function(a){this.ub=!1;this.o=a;this.A=g.Ja}; Ej=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 Ej(a.u,a.o,a.w+b)}; Fj=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.sb){a.sb.Lf();var d=a.sb.A,e=d.F,f=e.o;if(null!=d.B){var k=d.C;a.Lo=new g.Sd(k.left-f.left,k.top-f.top)}f=a.np()?Math.max(d.o,d.A):d.o;f=.99<=f?1:f;k={};null!==e.volume&&(k.volume=e.volume);e=1===di(a.Pa,"osddt");"nis"==a.sb.getName()&&(e=!0);"gsv"==a.sb.getName()&&(e=!0);e?(e=a.qx(d),a.Vn=d,a.lm(f,b,c,!1,k,e,d.w)):a.lm(f,b,c,!1,k,a.Gn(b),d.w)}}; nca=function(a){if(a.hn&&a.fm){var b=1==di(a.Pa,"od"),c=mj.getInstance().o,d=a.fm,e=ek(a),f=new g.Ud(qh(c),c.getHeight());c=a.np();a={PO:e,Lo:a.Lo,nP:f,np:c,ob:a.td.ob,kP:b};if(b=d.u){b.Lf();e=b.A;f=e.F.o;var k=null,l=null;null!=e.B&&f&&(k=e.C,k=new g.Sd(k.left-f.left,k.top-f.top),l=new g.Ud(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.o,e.A):e.o;c={PO:b.getName(),Lo:k,nP:l,np:c,kP:!1,ob:e}}else c=null;c&&gca(d,a,c)}}; oca=function(a,b,c){b&&(a.ws=b);c&&(a.zC=c)}; hk=function(){}; jk=function(a){if(a instanceof hk)return a;if("function"==typeof a.If)return a.If(!1);if(g.Na(a)){var b=0,c=new hk;c.next=function(){for(;;){if(b>=a.length)throw ik;if(b in a)return a[b++];b++}}; return c}throw Error("Not implemented");}; g.kk=function(a,b,c){if(g.Na(a))try{(0,g.y)(a,b,c)}catch(d){if(d!==ik)throw d;}else{a=jk(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==ik)throw d;}}}; pca=function(a){if(g.Na(a))return g.kb(a);a=jk(a);var b=[];g.kk(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}; lk=function(){Xh.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.w=-1}; mk=function(a){return kj(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.U:!1:!1}; yca=function(a){var b=hj(a.td.ob,2),c=a.xc.w,d=a.td,e=Ak(a),f=zk(e.A),k=zk(e.C),l=zk(d.volume),m=hj(e.F,2),n=hj(e.P,2),p=hj(d.ob,2),t=hj(e.O,2),u=hj(e.U,2);d=hj(d.Gd,2);a=a.Pg().clone();a.round();e=ak(e,!1);return{mP:b,Pk:c,fo:f,ao:k,gk:l,ho:m,bo:n,ob:p,jo:t,co:u,Gd:d,position:a,Ko:e}}; Ek=function(a,b){Dk(a.o,b,function(){return{mP:0,Pk:void 0,fo:-1,ao:-1,gk:-1,ho:-1,bo:-1,ob:-1,jo:-1,co:-1,Gd:-1,position:void 0,Ko:[]}}); a.o[b]=yca(a)}; Dk=function(a,b,c){for(var d=a.length;dc.time?b:c},a[0])}; al=function(a,b,c,d){Zk.call(this,a,b,c,d);this.C=this.F=this.w=null}; bl=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.xd,d=Ei.getInstance().o.o;a.w=new c.IntersectionObserver(Ci(d,function(e){return $k(a,e)}),Qca); d=Ci(d,function(){a.w.unobserve(b);a.w.observe(b);$k(a,bl(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);$k(a,bl(a));return!0}; cl=function(){var a=/Chrome\/(\d+)/.exec(g.Mc);return a?parseFloat(a[1]):NaN}; dl=function(){var a=/\sCobalt\/(\S+)\s/.exec(g.Mc);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.Mc);return a?a[1]:""}; fl=function(){return el("android")&&el("chrome")&&!(el("trident/")||el("edge/"))}; gl=function(){return el("armv7")||el("aarch64")||el("android")}; g.hl=function(){return el("cobalt")}; il=function(){return el("cobalt")&&el("appletv")}; jl=function(){return el("(ps3; leanback shell)")||el("ps3")&&g.hl()}; kl=function(){return el("(ps4; leanback shell)")||el("ps4")&&g.hl()}; g.ll=function(){return g.hl()&&(el("ps4 vr")||el("ps4 pro vr"))}; ml=function(){var a=/WebKit\/([0-9]+)/.exec(g.Mc);return!!(a&&600<=parseInt(a[1],10))}; nl=function(){return el("iemobile")||el("windows phone")&&el("edge")}; pl=function(){return ol&&el("applewebkit")&&!el("version")&&(!el("safari")||el("gsa/"))}; ql=function(){return el("smart-tv")&&el("samsung")}; el=function(a){var b=g.Mc;return b?0<=b.toLowerCase().indexOf(a):!1}; rl=function(a){a=void 0===a?ii:a;Dj.call(this,new vj(a,2))}; tl=function(){var a=sl();vj.call(this,ii.top,a,"geo")}; sl=function(){Ei.getInstance();var a=mj.getInstance();return a.w||a.u?0:2}; ul=function(){}; vl=function(){this.done=!1;this.o={MD:0,Mv:0,LT:0,Fw:0,Ir:-1,lE:0,kE:0,mE:0};this.B=null;this.C=!1;this.u=null;this.F=0;this.w=new uj(this)}; xl=function(){var a=wl;a.C||(a.C=!0,Tca(a,function(b){for(var c=[],d=0;dg.Ib(Yca).length?null:(0,g.vi)(b,function(c,d){var e=d.toLowerCase().split("=");if(2!=e.length||void 0===Ml[e[0]]||!Ml[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?Wj(b.o,a.o):Wj(b.u,a.o);case "tos":return a.u?Uj(b.o,a.o):Uj(b.u,a.o)}return 0}; Ol=function(a,b,c,d){sk.call(this,b,d);this.F=a;this.C=c}; Pl=function(a){sk.call(this,"fully_viewable_audible_half_duration_impression",a)}; Ql=function(a,b){sk.call(this,a,b)}; Rl=function(){this.u=this.A=this.C=this.B=this.w=this.o=""}; ada=function(){}; Sl=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.Oa(l)?f[k]=l(a):f[k]=a[l])}else g.Ub(f,a);void 0!==c&&g.Ub(f,c);a=Ij(Hj(new Gj,f));0String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1}; um=function(a){return!!(1<>>0]|=f<>>0).toString(16)+"&"}); c=105;(0,g.y)(oda,function(d){var e="false";try{e=d(ii)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"}); (0,g.y)(pda,function(d){var e="";try{var f=d(ii);d=[];for(var k=0,l=0;l>=8);d[k++]=m}e=g.dg(d,3)}catch(n){}a+=String.fromCharCode(c++)+"="+e+"&"}); return a.slice(0,-1)}; mda=function(){if(!vm){var a=function(){wm=!0;ii.document.removeEventListener("webdriver-evaluate",a,!0)}; ii.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){xm=!0;ii.document.removeEventListener("webdriver-evaluate-response",b,!0)}; ii.document.addEventListener("webdriver-evaluate-response",b,!0);vm=!0}}; rda=function(){this.u=-1}; ym=function(){this.u=64;this.o=Array(4);this.B=Array(this.u);this.A=this.w=0;this.reset()}; zm=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}; Am=function(){this.u=null}; Bm=function(a){return function(b){var c=new ym;c.update(b+a);return oba(c.digest()).slice(-8)}}; Cm=function(a,b){this.u=a;this.w=b}; tk=function(a,b,c){var d=a.o(c);if(g.Oa(d)){var e={};e=(e.sv="842",e.cb="j",e.e=sda(b),e);var f=Hk(c,b,pj());g.Ub(e,f);c.MC[b]=f;a=2==c.jf()?fca(e).join("&"):a.w.o(e).o;try{return d(c.Zc,a,b),0}catch(k){return 2}}else return 1}; sda=function(a){var b=Ll(a)?"custom_metric_viewable":a;a=Mb(Fk,function(c){return c==b}); return Jl[a]}; Dm=function(a,b,c){Cm.call(this,a,b);this.A=c}; Em=function(){fm.call(this);this.C=null;this.B=!1;this.G={};this.w=new Am}; tda=function(a,b,c){c=c.opt_configurable_tracking_events;null!=a.u&&g.Ma(c)&&fda(a,c,b)}; uda=function(a,b,c){var d=Qk(Sk,b);d||(d=c.opt_nativeTime||-1,d=gm(a,b,lm(a),d),c.opt_osdId&&(d.Bj=c.opt_osdId));return d}; Fm=function(a,b,c){var d=Qk(Sk,b);d||(d=gm(a,b,"n",c.opt_nativeTime||-1));return d}; Gm=function(a,b){var c=Qk(Sk,b);c||(c=gm(a,b,"h",-1));return c}; vda=function(a){Ei.getInstance();switch(lm(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}; Im=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.Ub(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.w.o(Kl("ol",d));if(void 0!==d)if(void 0!==Il(d))if(im)b=Kl("ue",d);else if(ida(a),"i"==jm)b=Kl("i",d),b["if"]=0;else if(b=a.Fn(b,e))if(a.A&&3==b.Dc)b="stopped";else{b:{"i"==jm&&(b.ij=!0,a.fu());c=e.opt_fullscreen;void 0!==c&&dk(b,!!c);var f;if(c=!mj.getInstance().u)(c=pc(g.Mc,"CrKey")||pc(g.Mc,"PlayStation")||pc(g.Mc,"Roku")||Yba()||pc(g.Mc,"Xbox"))||(c=g.Mc,c=pc(c,"AppleTV")|| pc(c,"Apple TV")||pc(c,"CFNetwork")||pc(c,"tvOS")),c||(c=g.Mc,c=pc(c,"sdk_google_atv_x86")||pc(c,"Android TV")),c=!c;c&&(xi(),c=0===ji(Th));if(f=c){switch(b.jf()){case 1:nm(a,b,"pv");break;case 2:a.Xt(b)}km("pv")}c=d.toLowerCase();if(!f&&g.cb(wda,c)&&0==b.Dc){"i"!=jm&&(wl.done=!1);f=void 0!==e?e.opt_nativeTime:void 0;dj=f="number"===typeof f?f:$i();b.hn=!0;var k=pj();b.Dc=1;b.zf={};b.zf.firstquartile=!1;b.zf.midpoint=!1;b.zf.thirdquartile=!1;b.zf.complete=!1;b.zf.pause=!1;b.zf.skip=!1;b.zf.viewable_impression= !1;b.Nq=0;k||(b.Ld().G=f);yl(wl,[b],!k)}0!=b.Dc&&g.cb(xda,c)&&!b.ij&&b.ai&&(f=b.ai,f.o||(f.o=uk(f,b)));(f=b.Gi[c])&&nk(b.xc,f);switch(b.jf()){case 1:var l=Ll(c)?a.F.custom_metric_viewable:a.F[c];break;case 2:l=a.J[c]}if(l&&(d=l.call(a,b,e,d),void 0!==d)){e=Kl(void 0,c);g.Ub(e,d);d=e;break b}d=void 0}3==b.Dc&&(a.A?b.sb&&b.sb.dl():a.pk(b));b=d}else b=Kl("nf",d);else b=void 0;else im?b=Kl("ue"):(b=a.Fn(b,e))?(d=Kl(),g.Ub(d,Gk(b,!0,!1,!1)),b=d):b=Kl("nf");return"string"===typeof b?a.A&&"stopped"===b? Hm:a.w.o(void 0):a.w.o(b)}; Jm=function(a){return Ei.getInstance(),"h"!=lm(a)&&lm(a),!1}; Km=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}; Lm=function(a,b,c){c=void 0===c?{}:c;a=Im(Em.getInstance(),b,c,a);return Km(a)}; Mm=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&&"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}; yda=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 B=e[1],D=e[2],E=e[3],G=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var F=E^B&(D^E);var ka=1518500249}else F=B^D^E,ka=1859775393;else 60>z?(F=B&D|E&(B|D),ka=2400959708):(F=B^D^E,ka=3395469782);F=((t<<5|t>>>27)&4294967295)+F+G+ka+u[z]&4294967295;G=E;E=D;D=(B<<30|B>>>2)&4294967295;B=t;t=F}e[0]=e[0]+t&4294967295;e[1]=e[1]+B&4294967295; e[2]=e[2]+D&4294967295;e[3]=e[3]+E&4294967295;e[4]=e[4]+G&4294967295} function c(t,u){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var z=[],B=0,D=t.length;Bn?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 B=24;0<=B;B-=8)t[u++]=e[z]>>B&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,sE:function(){for(var t=d(),u="",z=0;zb)throw Error("Bad port number "+b);a.B=b}else a.B=null}; Wm=function(a,b,c){b instanceof Ym?(a.w=b,Ada(a.w,a.F)):(c||(b=Zm(b,Bda)),a.w=new Ym(b,a.F))}; g.$m=function(a){return a instanceof g.Sm?a.clone():new g.Sm(a,void 0)}; Xm=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; Zm=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Cda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; Cda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; Ym=function(a,b){this.u=this.o=null;this.w=a||null;this.A=!!b}; an=function(a){a.o||(a.o=new g.Pm,a.u=0,a.w&&rd(a.w,function(b,c){a.add(ed(b),c)}))}; cn=function(a,b){an(a);b=bn(a,b);return Qm(a.o.u,b)}; g.dn=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)}; fea=function(a){if(!a)return Hc;var b=document.createElement("div").style,c=bea(a);(0,g.y)(c,function(d){var e=g.ke&&d in cea?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");fc(e,"--")||fc(e,"var")||(d=Sn(dea,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[d])||"",d=aea(d),null!=d&&Sn(eea,b,b.setProperty?"setProperty":"setAttribute",[e,d]))}); return Iaa(b.cssText||"")}; bea=function(a){g.Na(a)?a=g.kb(a):(a=g.Ib(a),g.gb(a,"cssText"));return a}; g.Tn=function(a,b,c,d,e,f,k,l){this.o=a;this.B=b;this.w=c;this.C=d;this.A=e;this.F=f;this.u=k;this.G=l}; g.Un=function(a,b){if(0==b)return a.o;if(1==b)return a.u;var c=g.Qd(a.o,a.w,b),d=g.Qd(a.w,a.A,b),e=g.Qd(a.A,a.u,b);c=g.Qd(c,d,b);d=g.Qd(d,e,b);return g.Qd(c,d,b)}; g.Vn=function(a,b,c){this.A=a;this.B=b;this.o=this.w=a;this.C=c||0}; g.Wn=function(a){a.o=Math.min(a.B,2*a.o);a.w=Math.min(a.B,a.o+(a.C?Math.round(a.C*(Math.random()-.5)*2*a.o):0));a.u++}; Xn=function(a){return(a=a.exec(g.Mc))?a[1]:""}; Yn=function(a){return 0<=g.sc(gea,a)}; g.Zn=function(a){g.A.call(this);this.B=1;this.w=[];this.A=0;this.o=[];this.u={};this.C=!!a}; hea=function(a,b,c){g.wf(function(){a.apply(b,c)})}; g.$n=function(a){this.o=a}; ao=function(a){this.o=a}; bo=function(a){this.data=a}; co=function(a){return void 0===a||a instanceof bo?a:new bo(a)}; eo=function(a){this.o=a}; g.fo=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.H)()||!!b&&b>(0,g.H)()}; g.go=function(a){this.o=a}; iea=function(){}; ho=function(){}; io=function(a){this.o=a}; jo=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.o=a}; ko=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.o=a}; mo=function(a,b){this.u=a;this.o=null;if(g.ie&&!g.Nd(9)){lo||(lo=new g.Pm);this.o=lo.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)),lo.set(a,this.o));try{this.o.load(this.u)}catch(c){this.o=null}}}; no=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return jea[b]})}; oo=function(a){try{a.o.save(a.u)}catch(b){throw"Storage mechanism: Quota exceeded";}}; po=function(a,b){this.u=a;this.o=b+"::"}; g.ro=function(a){var b=new jo;return b.isAvailable()?a?new po(b,a):b:null}; so=function(a,b){this.o=a;this.u=b}; to=function(a){this.o=[];if(a)a:{if(a instanceof to){var b=a.se();a=a.Bd();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.vo=function(){to.call(this)}; wo=function(a,b){var c=void 0,d=void 0,e;if(!(e=d)){if("undefined"!==typeof Promise)e=Promise;else throw Error("Promise or polyfill not available.");e=d=e}return new e(function(f,k){function l(p){try{n(b.next(p))}catch(t){k(t)}} function m(p){try{n(b["throw"](p))}catch(t){k(t)}} function n(p){p.done?f(p.value):(new d(function(t){t(p.value)})).then(l,m)} n((b=b.apply(a,c)).next())})}; xo=function(a){Og(this,a,kea,null)}; yo=function(a){Og(this,a,null,null)}; lea=function(a,b){for(;og(b)&&4!=b.u;)switch(b.w){case 1:var c=rg(b);Rg(a,1,c);break;case 2:c=rg(b);Rg(a,2,c);break;case 3:c=rg(b);Rg(a,3,c);break;case 4:c=rg(b);Rg(a,4,c);break;case 5:c=mg(b.o);Rg(a,5,c);break;default:pg(b)}return a}; mea=function(a){a=a.split("");var b=[function(c,d){d=(d%c.length+c.length)%c.length;c.splice(0,1,c.splice(d,1,c[0])[0])}, -1283442544,-1839244393,1389065675,null,382153655,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(-d).reverse().forEach(function(e){c.unshift(e)})}, a,-1850141272,-756262367,-532321209,1441459244,597638911,498298709,function(c){for(var d=c.length;d;)c.push(c.splice(--d,1)[0])}, -1051041485,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(""))}, a,null,172920864,-1051041485,767090552,null,-2129498785,608926225,615711040,function(c){c.reverse()}, function(c,d){d=(d%c.length+c.length)%c.length;c.splice(d,1)}, 222221713,"unshift",1960621114,131928824,1067756721,-1735465582,-631601469,1188382192,163076587,a,-716566483,-465365893,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(""))}, function(c,d){for(d=(d%c.length+c.length)%c.length;d--;)c.unshift(c.pop())}, 495635237,-1264209598,function(c,d){d=(d%c.length+c.length)%c.length;var e=c[0];c[0]=c[d];c[d]=e}, -2054823073,"length",1250515137,-1369029494,389366250,-2126930037];b[4]=b;b[18]=b;b[22]=b;b[0](b[18],b[31]);b[35](b[7],b[9]);b[26](b[22]);b[44](b[33],b[16]);b[44](b[32],b[49]);b[30](b[29],b[0]);b[11](b[24],b[18]);b[40](b[24],b[48]);b[20](b[27],b[18]);b[29](b[46],b[16]);b[7](b[9],b[10]);b[13](b[35],b[44]);b[13](b[39],b[47]);b[16](b[35],b[32]);b[38](b[14],b[35]);b[17](b[37]);b[47](b[27],b[7]);b[4](b[37],b[49]);b[47](b[14],b[26]);b[17](b[9]);b[26](b[37],b[7]);b[4](b[19],b[20]);b[4](b[27]);b[25](b[45], b[22]);b[34](b[12],b[28]);b[34](b[7],b[0]);b[31](b[35],b[9]);b[48](b[7],b[20]);b[34](b[45],b[40]);b[34](b[8],b[2]);b[25](b[27],b[10]);b[34](b[45],b[47]);b[48](b[12],b[32]);b[30](b[3],b[29]);b[0](b[8]);b[24](b[47],b[35]);b[20](b[47],b[5]);b[6](b[27],b[28]);b[37](b[27],b[11]);b[37](b[19],b[33]);return a.join("")}; Ao=function(a,b,c){a&&(a.dataset?a.dataset[zo(b)]=String(c):a.setAttribute("data-"+b,c))}; Bo=function(a){return a?a.dataset?a.dataset[zo("loaded")]:a.getAttribute("data-loaded"):null}; zo=function(a){return Co[a]||(Co[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))}; Eo=function(a){var b=arguments,c=Do;1f&&(c=a.substring(f,e),c=c.replace(pea,""),c=c.replace(qea,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else rea(a,b,c)}; rea=function(a,b,c){c=void 0===c?null:c;var d=Xo(a),e=document.getElementById(d),f=e&&Bo(e),k=e&&!f;f?b&&b():(b&&(f=g.Ro(d,b),b=""+g.Ra(b),Yo[b]=f),k||(e=sea(a,d,function(){Bo(e)||(Ao(e,"loaded","true"),g.To(d),g.Ko(g.Sa(Vo,d),0))},c)))}; sea=function(a,b,c,d){d=void 0===d?null:d;var e=g.pe("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);cd(e,jh(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; Xo=function(a){var b=document.createElement("a");g.ad(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+id(a)}; g.$o=function(a){a=Zo(a);return"string"===typeof a&&"false"===a?!1:!!a}; ag=function(a,b){var c=Zo(a);return void 0===c&&void 0!==b?b:Number(c||0)}; Zo=function(a){var b=g.L("EXPERIMENTS_FORCED_FLAGS",{});return void 0!==b[a]?b[a]:g.L("EXPERIMENT_FLAGS",{})[a]}; ap=function(){var a=[],b=g.L("EXPERIMENTS_FORCED_FLAGS",{});for(c in b)a.push({key:c,value:String(b[c])});var c=g.L("EXPERIMENT_FLAGS",{});for(var d in c)d.startsWith("force_")&&void 0===b[d]&&a.push({key:d,value:String(c[d])});return a}; pp=function(){g.Mo(bp);g.Mo(cp);cp=0;if(!g.Ob(dp)){for(var a in dp){var b=ep[a];if(b&&b.isReady()){var c=void 0,d=a,e=b,f=tea[d],k=fp[d]||{};fp[d]=k;b=Math.round((0,g.N)());for(c in dp[d]){var l=g.Sb(g.gp(e));l[f]=hp(d,c);k.dispatchedEventCount=k.dispatchedEventCount||0;k.dispatchedEventCount+=l[f].length;var m=ip[c];if(m)a:{var n=l,p=c;if(m.videoId)var t="VIDEO";else if(m.playlistId)t="PLAYLIST";else break a;n.credentialTransferTokenTargetId=m;n.context=n.context||{};n.context.user=n.context.user|| {};n.context.user.credentialTransferTokens=[{token:p,scope:t}]}delete ip[c];m=l;m.requestTimeMs=b;g.$o("unsplit_gel_payloads_in_logs")&&(m.unsplitGelPayloadsInLogs=!0);if(t=g.L("EVENT_ID",void 0))n=g.L("BATCH_CLIENT_COUNTER",void 0)||0,!n&&g.$o("web_client_counter_random_seed")&&(n=Math.floor(Math.random()*jp/2)),n++,n>jp&&(n=1),Eo("BATCH_CLIENT_COUNTER",n),t={serializedEventId:t,clientCounter:n},m.serializedClientEventId=t,kp&&lp&&g.$o("log_gel_rtt_web")&&(m.previousBatchInfo={serializedClientEventId:kp, roundtripMs:lp}),kp=t,lp=0;g.mp(e,d,l,{retry:uea.has(d),onSuccess:g.Sa(vea,(0,g.N)())})}c=k;d=b;c.previousDispatchMs&&(b=d-c.previousDispatchMs,e=c.diffCount||0,c.averageTimeBetweenDispatchesMs=e?((c.averageTimeBetweenDispatchesMs||0)*e+b)/(e+1):b,c.diffCount=e+1);c.previousDispatchMs=d;delete dp[a];np=!1}}g.Ob(dp)||op()}}; op=function(){g.$o("web_gel_timeout_cap")&&!cp&&(cp=g.Ko(pp,6E4));g.Mo(bp);var a=g.L("LOGGING_BATCH_TIMEOUT",ag("web_gel_debounce_ms",1E4));g.$o("shorten_initial_gel_batch_timeout")&&np&&(a=wea);bp=g.Ko(pp,a)}; hp=function(a,b){b=void 0===b?"":b;dp[a]=dp[a]||{};dp[a][b]=dp[a][b]||[];return dp[a][b]}; vea=function(a){lp=Math.round((0,g.N)()-a)}; rp=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=qp+"VisibilityState";if(b in a)return a[b]}; sp=function(a,b){var c;lj(a,function(d){c=b[d];return!!c}); return c}; tp=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 xea||(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){}}; up=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}}; yea=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 Mb(vp,function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,k=g.Pa(e[4])&&g.Pa(d)&&g.Qb(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})}; g.yp=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=yea(a,b,c,d);if(e)return e;e=++wp.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var k=f?function(l){l=new tp(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 tp(l); l.currentTarget=a;return c.call(a,l)}; k=Io(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),xp()||"boolean"===typeof d?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);vp[e]=[a,b,c,k,d];return e}; zea=function(a,b,c,d){var e=a||document;return g.yp(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.zp=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.y)(a,function(b){if(b in vp){var c=vp[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?xp()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete vp[b]}}))}; g.Ap=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}; Bp=function(a){a=a||window.event;var b;a.composedPath&&g.Oa(a.composedPath)?b=a.composedPath():b=a.path;return b&&b.length?b[0]:g.Ap(a)}; Cp=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}; Dp=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.Sd(b,c)}; g.Ep=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()}; g.Fp=function(a){a=a||window.event;return!1===a.returnValue||a.by&&a.by()}; g.Gp=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which}; g.Hp=function(a,b,c,d){return zea(a,b,c,function(e){return g.Kn(e,d)})}; g.Ip=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.yp(a,b,function(){g.zp(e);c.apply(a,arguments)},d)}; Jp=function(a){for(var b in vp)vp[b][0]==a&&g.zp(b)}; Kp=function(a){this.H=a;this.o=null;this.B=0;this.C=null;this.w=0;this.u=[];for(a=0;4>a;a++)this.u.push(0);this.A=0;this.G=g.yp(window,"mousemove",(0,g.x)(this.P,this));this.J=Lo((0,g.x)(this.F,this),25)}; Aea=function(){}; Mp=function(a,b){return Lp(a,0,b)}; g.Np=function(a,b){return Lp(a,1,b)}; Op=function(){}; g.Pp=function(){return!!g.w("yt.scheduler.instance")}; Lp=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.Ko(a,c||0)}; g.Qp=function(a){if(!isNaN(a)){var b=g.w("yt.scheduler.instance.cancelJob");b?b(a):g.Mo(a)}}; Rp=function(a){var b=g.w("yt.scheduler.instance.setPriorityThreshold");b&&b(a)}; Up=function(){var a={},b=void 0===a.RF?!0:a.RF;a=void 0===a.aO?!1:a.aO;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.Ia("_lact",c,window);g.Ia("_fact",c,window);-1==c&&Sp();g.yp(document,"keydown",Sp);g.yp(document,"keyup",Sp);g.yp(document,"mousedown",Sp);g.yp(document,"mouseup",Sp);b&&(a?g.yp(window,"touchmove",function(){Tp("touchmove",200)},{passive:!0}):(g.yp(window,"resize",function(){Tp("resize",200)}),g.yp(window,"scroll",function(){Tp("scroll", 200)}))); new Kp(function(){Tp("mouse",100)}); g.yp(document,"touchstart",Sp,{passive:!0});g.yp(document,"touchend",Sp,{passive:!0})}}; Tp=function(a,b){Vp[a]||(Vp[a]=!0,g.Np(function(){Sp();Vp[a]=!1},b))}; Sp=function(){null==g.w("_lact",window)&&(Up(),g.w("_lact",window));var a=(0,g.H)();g.Ia("_lact",a,window);-1==g.w("_fact",window)&&g.Ia("_fact",a,window);(a=g.w("ytglobal.ytUtilActivityCallback_"))&&a()}; Wp=function(){var a=g.w("_lact",window),b;null==a?b=-1:b=Math.max((0,g.H)()-a,0);return b}; g.Zp=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:Wp())};g.$o("log_sequence_info_on_gel_web")&&d.vi&&(a=e.context,b=d.vi,Xp[b]=b in Xp?Xp[b]+1:0,a.sequence={index:Xp[b],groupKey:b},d.yE&&delete Xp[d.vi]);(d=d.kk)?(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),ip[d.token]=a,d=hp("log_event",d.token)):d=hp("log_event");d.push(e);c&&(ep.log_event=new c);c=ag("web_logging_max_batch")|| 100;e=(0,g.N)();d.length>=c?pp():10<=e-Yp&&(op(),Yp=e)}; $p=function(){return g.w("yt.ads.biscotti.lastId_")||""}; aq=function(a){g.Ia("yt.ads.biscotti.lastId_",a,void 0)}; bq=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=Hea(c,l,b.sT);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.ud&&b.ud.call(p,l,n)}},b.method,d,b.headers,b.responseType, b.withCredentials); b.Md&&0Math.random()&&g.Jo(Error("Missing VISITOR_DATA when sending innertube request."));c={headers:{"Content-Type":"application/json"},method:"POST",yb:c,mB:"JSON",Md:function(){d.Md()}, AA:d.Md,onSuccess:function(k,l){if(d.onSuccess)d.onSuccess(l)}, ET:function(k){if(d.onSuccess)d.onSuccess(k)}, onError:function(k,l){if(d.onError)d.onError(l)}, DT:function(k){if(d.onError)d.onError(k)}, timeout:d.timeout,withCredentials:!0};var e="",f=a.o.On;f&&(e=f);f=Lea(a.o.WF||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=g.hq(""+e+("/youtubei/"+a.o.innertubeApiVersion+"/"+b),{alt:"json",key:a.o.innertubeApiKey});try{g.$o("use_fetch_for_op_xhr")?Gea(a,c):g.Bq(a,c)}catch(k){if("InvalidAccessError"==k)g.Jo(Error("An extension is blocking network request."));else throw k;}}; Kq=function(a,b,c){c=void 0===c?{}:c;var d=g.Jq;g.L("ytLoggingEventsDefaultDisabled",!1)&&g.Jq==g.Jq&&(d=null);g.Zp(a,b,d,c)}; Lq=function(a,b){for(var c=[],d=1;d"',style:"display:none"}),Yd(a).body.appendChild(a))):e?yq(a,b,"POST",e,d):g.L("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?yq(a,b,"GET","",d):Oea(a,b)||Pea(a,b))}; Oea=function(a,b){if(!Go("web_use_beacon_api_for_ad_click_server_pings"))return!1;if(Go("use_sonic_library_for_v4_support"))try{var c=nd(g.pd(5,a));if(!c||!c.endsWith("/aclk")||!(new Raa({url:a})).o)return!1}catch(d){return g.Jo(Error("ClickUrl library throws error, url = "+a)),!1}else if(c=nd(g.pd(5,a)),!c||-1==c.indexOf("/aclk")||"1"!==Ed(a,"ae")||"1"!==Ed(a,"act"))return!1;return Vq(a)?(b&&b(),!0):!1}; Wq=function(a,b,c){c=void 0===c?"":c;Vq(a,c)?b&&b():g.Uq(a,b,void 0,void 0,c)}; Vq=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1}; Pea=function(a,b){var c=new Image,d=""+Qea++;Xq[d]=c;c.onload=c.onerror=function(){b&&Xq[d]&&b();delete Xq[d]}; c.src=a}; Zq=function(a,b){var c=g.Rb(b),d;return Nf(new Bf(function(e,f){c.onSuccess=function(k){g.rq(k)?e(k):f(new Yq("Request failed, status="+qq(k),"net.badstatus",k))}; c.onError=function(k){f(new Yq("Unknown request error","net.unknown",k))}; c.Md=function(k){f(new Yq("Request timed out","net.timeout",k))}; d=g.xq(a,c)}),function(e){e instanceof Sf&&d.abort(); return Gf(e)})}; g.$q=function(a,b,c,d){function e(k,l,m){return Nf(k,function(n){return 0>=l||403===qq(n.bi)?Gf(new Yq("Request retried too many times","net.retryexhausted",n.bi)):f(m).then(function(){return e(Zq(a,b),l-1,Math.pow(2,c-l+1)*m)})})} function f(k){return new Bf(function(l){setTimeout(l,k)})} return e(Zq(a,b),c-1,d)}; Yq=function(a,b,c){Va.call(this,a+", errorCode="+b);this.errorCode=b;this.bi=c;this.name="PromiseAjaxError"}; ar=function(){this.u=0;this.o=null}; br=function(a){var b=new ar;a=void 0===a?null:a;b.u=2;b.o=void 0===a?null:a;return b}; cr=function(a){var b=new ar;a=void 0===a?null:a;b.u=1;b.o=void 0===a?null:a;return b}; er=function(a){Va.call(this,a.message||a.description||a.name);this.isMissing=a instanceof dr;this.isTimeout=a instanceof Yq&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof Sf}; dr=function(){Va.call(this,"Biscotti ID is missing from server")}; Rea=function(){if("1"===g.Jb(g.L("PLAYER_CONFIG",{}),"args","privembed"))return Gf(Error("Biscotti ID is not available in private embed mode"));fr||(fr=Nf(Zq("//googleads.g.doubleclick.net/pagead/id",gr).then(hr),function(a){return ir(2,a)})); return fr}; hr=function(a){a=a.responseText;if(!fc(a,")]}'"))throw new dr;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new dr;a=a.id;aq(a);fr=cr(a);jr(18E5,2);return a}; ir=function(a,b){var c=new er(b);aq("");fr=br(c);0b;b++){c=(0,g.H)();for(var d=0;d=a.A&&bc&&(c=a.o-b);Gs(a,b);if(!(b-a.A+c<=a.u[a.w].length)){var d=a.w,e=a.A;Gs(a,b+c-1);e=new Uint8Array(a.A+a.u[a.w].length-e);for(var f=0,k=d;k<=a.w;k++)e.set(a.u[k],f),f+=a.u[k].length;a.u.splice(d,a.w-d+1,e);Fs(a);Gs(a,b)}d=a.u[a.w];return new DataView(d.buffer,d.byteOffset+b-a.A,c)}; Js=function(a,b,c){a=Is(a,void 0===b?0:b,void 0===c?-1:c);return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}; Ks=function(a,b,c){a=Js(a,void 0===b?0:b,void 0===c?-1:c);b=new Uint8Array(a.length);b.set(a);return b}; Ms=function(a,b){Gs(a,b);return a.u[a.w][b-a.A]}; Ns=function(a,b){Gs(a,b);return b-a.A+4<=a.u[a.w].length?Hs(a).getUint32(b-a.A):256*(256*(256*Ms(a,b)+Ms(a,b+1))+Ms(a,b+2))+Ms(a,b+3)}; Os=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)}; Ps=function(a){if(a.zk())return!1;a=a.Wc("content-type");return"audio/mp4"===a||"video/mp4"===a||"video/webm"===a}; Rs=function(a){a=a.split("");Qs.RA(a,2);Qs.Vg(a,30);Qs.CO(a,2);Qs.Vg(a,30);Qs.Vg(a,46);Qs.RA(a,70);Qs.Vg(a,35);return a.join("")}; Ss=function(a,b,c,d){!a&&(void 0===c?0:c)&&g.Jo(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a}; Us=function(a,b,c){return b&&b.test(a)||Ts&&c&&c.test(a)?!0:!1}; Ws=function(a){return(a=Vs&&Vs.exec(a))?a[0]:""}; Xs=function(a){var b=void 0===b?!1:b;return Ss(Us(a,ifa,null),a,b,"Trusted Stream URL")}; g.Ys=function(a){var b=void 0===b?!1:b;return Ss(Us(a,jfa,null),a,b,"Trusted Image URL")}; Zs=function(a){var b=void 0===b?!1:b;return Ss(Us(a,kfa,null),a,b,"Trusted Promoted Video Domain URL")}; $s=function(a,b){b=void 0===b?!1:b;return Ss(Us(a,lfa,null),a,b,"Captions URL")}; at=function(a){a=new g.Sm(a);g.Tm(a,document.location.protocol);g.Um(a,document.location.hostname);document.location.port&&g.Vm(a,document.location.port);return a.toString()}; bt=function(a){a=new g.Sm(a);g.Tm(a,document.location.protocol);return a.toString()}; ct=function(a){this.A=a;this.C=this.u=this.B="";this.o={};this.w=""}; dt=function(a){a.w||(a.w=mfa(a));return a.w}; ft=function(a){et(a);return a.C}; gt=function(a){et(a);return"local"==a.B}; ht=function(a){et(a);return Eb(a.o,function(b){return null!==b})}; jt=function(a){et(a);if("/videoplayback"!=a.u){var b=a.clone();b.set("playerfallback","1");return b}var c=dt(a);b=new g.Sm(c);var d=a.get("fvip");a=decodeURIComponent(a.get("mn")||"").split(",");if(d&&a&&1a.jb())a.segments=[];else{var c=g.Ya(a.segments,function(d){return d.Ma>=b},a); 0k||(c&&a.skip(4),d&&a.skip(4),c=vt(a),a.skip((k-1)*(4+(e?4:0)+(f?4:0)+(b?4:0))-4),a.data.setUint32(a.offset+a.o,c))}}}; Rt=function(a,b){var c=g.Pt(a,0,1952868452),d=g.Pt(a,0,1953658222);if(c&&d){c.skip(1);var e=rt(c)<<16|tt(c);c.skip(4);e&1&&c.skip(8);e&2&&c.skip(4);if(e&8){e=c.o;var f=vt(c);c.data.setUint32(c.offset+e,1a.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}; qu=function(a,b,c){var d=new iu(c);if(!ku(d,a))return!1;d=lu(d);if(!mu(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=nu(d);var e=ou(d,!0);d=a+(nu(d)-b)+e;d=9d;d++)c=256*c+Au(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+Au(a),d*=128;return b?c-d:c}; xu=function(a){var b=ou(a,!0);a.o+=b}; nu=function(a){return a.w+a.o}; ru=function(a){var b=a.o;a.o=0;var c=!1;try{mu(a,440786851)&&(a.o=0,mu(a,408125543)&&(c=!0))}catch(d){if(d instanceof RangeError)a.o=0,c=!1,g.Jo(d);else throw d;}a.o=b;return c}; ufa=function(a){if(!mu(a,440786851,!0))return null;var b=a.o;ou(a,!1);var c=ou(a,!0)+a.o-b;a.o=b+c;if(!mu(a,408125543,!1))return null;ou(a,!0);if(!mu(a,357149030,!0))return null;var d=a.o;ou(a,!1);var e=ou(a,!0)+a.o-d;a.o=d+e;if(!mu(a,374648427,!0))return null;var f=a.o;ou(a,!1);var k=ou(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}; Cu=function(a){if(!ku(a,[408125543,374648427,174,28032,25152,20533,18402]))return null;var b=ou(a,!0);return 16!=b?null:zu(a,b)}; Du=function(a){var b=a.o,c={xu:1E6,yu:1E9,duration:0,cu:0,Tl:0};if(!mu(a,408125543))return a.o=b,null;c.cu=ou(a,!0);c.Tl=nu(a);if(mu(a,357149030))for(var d=lu(a);!ju(d);){var e=ou(d,!1);2807729==e?c.xu=wu(d):2807730==e?c.yu=wu(d):17545==e?c.duration=yu(d):xu(d)}else return a.o=b,null;a.o=b;return c}; Fu=function(a,b,c){var d=a.o,e=[];if(!mu(a,475249515))return a.o=d,null;for(var f=lu(a);mu(f,187);){var k=lu(f);if(mu(k,179)){var l=wu(k);if(mu(k,183)){k=lu(k);for(var m=b;mu(k,241);)m=wu(k)+b;e.push({Jh:m,fn:l})}}}if(0k)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}; gv=function(a){if(a.u&&6==a.info.type)return a.u.je;if(g.dv(a.info.o.info)){var b=$u(a);var c=0;b=fu(b,1936286840);b=g.q(b);for(var d=b.next();!d.done;d=b.next())d=$t(d.value),c+=d.gm[0]/d.yp;c=c||NaN;if(!(0<=c))a:{c=$u(a);b=a.info.o.o;d=0;for(var e,f=0;Vt(c,d);){var k=Wt(c,d);if(1836476516==k.type)e=Tt(k);else if(1836019558==k.type){!e&&b&&(e=Ut(b));if(!e){c=NaN;break a}var l=Ot(k.data,k.dataOffset,1953653094);f+=St(l,e)}d=Xt(k.type)?d+8:d+k.size}c=f||NaN}}else e=new iu($u(a)),c=a.w?e:new iu(new DataView(a.info.o.o.buffer)), c=vfa(e,Gu(c));return c||a.info.H}; hv=function(a){if(!a.u){if(g.dv(a.info.o.info)){var b=$u(a),c=Ot(b,0,1701671783);if(c){var d=bu(c);var e=d.vO,f=Nt(d.Dy);if(b=Ot(b,c.offset+c.size,1701671783)){b=bu(b);for(var k in b)if(c=Nt(b.Dy),f&&c)for(var l in c)f[l]=c[l]}d=f?new Et(f,e,d.offset):null}else d=null}else{d=new iu($u(a));e=d.o;d.o=0;k=f=null;if(ku(d,[408125543,307544935,29555,26568]))for(l=lu(d);!ju(l);)b=ou(l,!1),17543==b?k=Nt(Bu(l)):17827==b?f=Bu(l):xu(l);d.o=e;d=k?new Et(k,f):null}a.u=d}}; iv=function(a){var b=$u(a);a=g.Pt(b,0,1701606260);var c=g.Pt(b,0,1836476516);if(a&&c){a.skip(2);var d=tt(a),e=vt(a);b=[];var f=[],k=[],l=[];if(d)for(d=0;d=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"}; zv=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=yv(b);this.mimeType=b;this.o=k||0;this.A=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.rb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.zc=void 0===f?null:f;this.u=Efa[Vu(this)]||"";this.w=!0}; Vu=function(a){return a.id.split(";",1)[0]}; Av=function(a){return"9"==a.u||"("==a.u||"9h"==a.u||"(h"==a.u}; Bv=function(a){return"9h"==a.u||"(h"==a.u}; g.dv=function(a){return 1==a.containerType}; Cv=function(a){return"application/x-mpegURL"==a.mimeType}; Dv=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)}; Ev=function(a){return a.includes("vtt")||a.includes("text/mp4")}; yv=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}; Fv=function(a,b,c,d,e){var f=new ov;b in g.rv||(b="small");d&&e?(e=parseInt(e,10),d=parseInt(d,10)):(e=g.rv[b],d=Math.round(16*e/9));b=new tv(d,e,0,null,void 0,b,void 0,void 0,void 0);a=unescape(a.replace(/"/g,'"'));return new zv(c,a,f,b)}; Gv=function(){var a=g.w("yt.player.utils.videoElement_");a||(a=g.pe("VIDEO"),g.Ia("yt.player.utils.videoElement_",a,void 0));return a}; Hv=function(a){var b=Gv();return!!(b&&b.canPlayType&&b.canPlayType(a))}; Jv=function(a){if(/opus/.test(a)&&(g.Iv&&!Yn("38")||g.Iv&&el("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!kl())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!Hv(a)}; Ffa=function(a){try{var b=Jv('video/mp4; codecs="avc1.42001E"')||Jv('video/webm; codecs="vp9"');return(Jv('audio/mp4; codecs="mp4a.40.2"')||Jv('audio/webm; codecs="opus"'))&&(b||!a)||Hv('video/mp4; codecs="avc1.42001E, mp4a.40.2"')?null:"fmt.noneavailable"}catch(c){return"html5.missingapi"}}; Kv=function(){var a=Gv();return!!a.webkitSupportsPresentationMode&&g.Oa(a.webkitSetPresentationMode)}; Lv=function(){return"pictureInPictureEnabled"in window.document&&!!window.document.pictureInPictureEnabled}; Mv=function(){var a=Gv();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1}; Nv=function(a,b){this.o=a;this.u=b;this.w=0;Object.defineProperty(this,"timestampOffset",{get:this.rP,set:this.vP});Object.defineProperty(this,"buffered",{get:this.pP})}; Gfa=function(){this.length=0}; Ov=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.o=a;this.u=NaN;this.w=0;Object.defineProperty(this,"duration",{get:this.qP,set:this.uP});Object.defineProperty(this,"readyState",{get:this.sP});this.o.addEventListener("webkitsourceclose",(0,g.x)(this.tP,this),!0)}; Pv=function(){this.length=1}; Qv=function(){this.buffered=new Pv}; Rv=function(a,b,c){this.errorCode=a;this.o=b;this.details=c||{}}; Sv=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,=]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""}; Tv=function(a){var b=void 0===b?!1:b;if(a instanceof Rv)return a;a=a&&a instanceof Error?a:Error(""+a);b?Mq(a):Nq(a);return new Rv(b?"player.fatalexception":"player.exception",b,{name:""+a.name,message:""+a.message})}; Uv=function(a,b){return{start:function(c){return a[c]}, end:function(c){return b[c]}, length:a.length}}; Vv=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}; Xv=function(a,b){return 0<=Wv(a,b)}; Yv=function(a,b){if(!a)return NaN;var c=Wv(a,b);return 0<=c?a.end(c):NaN}; Zv=function(a){return a&&a.length?a.end(a.length-1):NaN}; $v=function(a,b){var c=Yv(a,b);return 0<=c?c-b:0}; aw=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 Uv(d,e)}; bw=function(a,b){g.P.call(this);var c=this;this.o=a;this.C=b;this.F=this.u=this.A=null;this.B=0;this.w=function(d){return c.R(d.type,c)}; this.supports(3)&&(this.o.addEventListener("updateend",this.w),this.o.addEventListener("error",this.w))}; cw=function(a,b,c,d){g.P.call(this);var e=this;this.o=a;this.H={error:function(){!e.la()&&e.isActive()&&e.R("error",e)}, updateend:function(){!e.la()&&e.isActive()&&e.R("updateend",e)}}; zr(this.o,this.H);this.u=b;this.G=c;this.C=0;this.B=Infinity;this.A=0;this.F=this.w=d}; dw=function(a,b){this.o=a;this.u=void 0===b?!1:b;this.w=!1}; ew=function(a,b){b=void 0===b?!1:b;g.A.call(this);this.B=new g.O(this);g.C(this,this.B);this.u=this.o=null;this.w=a;var c=this.w;c=c.sI?c.o.webkitMediaSourceURL:window.URL.createObjectURL(c);this.al=new dw(c,!0);this.C=b;this.A=null;xr(this.B,this.w,["sourceopen","webkitsourceopen"],this.jN);xr(this.B,this.w,["sourceclose","webkitsourceclose"],this.iN)}; Hfa=function(a,b){fw(a)?g.wf(function(){return b(a)}):a.A=b}; gw=function(a,b){try{a.w.duration=b}catch(c){}}; hw=function(a){return!!a.o||!!a.u}; fw=function(a){try{return"open"==a.w.readyState}catch(b){return!1}}; iw=function(a){try{return"closed"==a.w.readyState}catch(b){return!0}}; jw=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)}; kw=function(a){return a.o?!!a.o.supports(0):jw()}; lw=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 ew(a.w,!0);k.al=a.al;e=new cw(e,b,c,d);b=new cw(f,b,c,d);k.o=e;k.u=b;g.C(k,e);g.C(k,b);fw(a)||a.o.mp(a.o.Ab());return k}; mw=function(a,b,c){this.o=a;this.G=b;this.H=void 0===c?!1:c;this.B=!!g.w("cast.receiver.platform.canDisplayType");b=g.w("cast.receiver.platform.getValue");this.u=!this.B&&b&&b("max-video-resolution-vpx")||null;this.A={};this.F=!1;this.C=!0;this.w=!g.Q(a,"html5_disable_protected_hdr")}; Ifa=function(a,b){var c=Vu(b);if("0"===c)return!0;var d=b.mimeType,e;!(e="1"==b.u&&a.F)&&(e=b.video&&(vv(b.video)||wv(b.video)))&&(e=!(nw(a,ow)||(g.Q(a.o,"html5_hdr_matchmedia_killswitch")?24=c)}; Ow=function(){g.P.call(this);this.Ga={}}; Mfa=function(){var a=g.rs("yt-player-volume")||{},b=a.volume;return{volume:isNaN(b)?100:g.Od(Math.floor(b),0,100),muted:!!a.muted}}; Pw=function(a){g.qs("yt-player-bandwidth",a,2592E3)}; Qw=function(a){if(a=void 0===a?0:a)try{var b=JSON.parse(window.localStorage["yt-player-quality"]);if((0,g.N)()-b.creation>1E3*a)return"auto"}catch(c){}return g.rs("yt-player-quality")||"auto"}; Rw=function(a,b){var c="";49parseInt(c.get("dhmu", d.toString()),10));this.Bm=d;this.na="3"==this.controlsType||this.o||S(!1,a.use_media_volume);this.J=Mv();this.Hm=g.ux;this.kd=S(!1,a.opt_out_deprecation);var f;b?void 0!=b.hideInfo&&(f=!b.hideInfo):f=a.showinfo;this.Df=g.vx(this)&&!this.kd||S(!wx(this)&&!xx(this)&&!this.Yb,f);this.yd=b?!!b.mobileIphoneSupportsInlinePlayback:S(!1,a.playsinline);f=this.o&&yx&&0=zx;d=b?b.useNativeControls:a.use_native_controls;c=this.o;d=Ax(this)||!f&&S(c,d)?"3":"1";this.controlsType="0"!=(b?b.controlsType: a.controls)?d:"0";this.Ra=this.o;this.color=mx("red",a.color,Ufa);this.Fm="3"==this.controlsType||S(!1,a.modestbranding)&&"red"==this.color;this.ga=!this.u;this.Ef=(d=!this.ga&&!xx(this)&&!this.G&&!this.Yb&&!wx(this))&&!this.Fm&&"1"==this.controlsType;this.Na=g.Bx(this)&&d&&"0"==this.controlsType&&!this.Ef;this.un=this.Gm=f;this.Ff=Cx&&!g.Md(601)?!1:!0;this.Am=this.u||!1;this.Fa=xx(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=ox("",a.widget_referrer);this.Rb= (!this.Db||S(!0,a.enablecastapi))&&"1"==this.controlsType&&!this.o&&(xx(this)||g.Bx(this)||g.Dx(this))&&!g.Ex(this);this.nn=Lv()||Kv();f=b?!!b.supportsAutoplayOverride:S(!1,a.autoplayoverride);this.Hc=!this.o&&!el("nintendo wiiu")&&!el("nintendo 3ds")||f;f=b?!!b.enableMutedAutoplay:S(!1,a.mutedautoplay);d=this.fa("embeds_enable_muted_autoplay")&&g.vx(this);this.Jc=f&&d&&this.J&&!Ax(this);f=(xx(this)||wx(this))&&"blazer"==this.playerStyle;this.Wb=b?!!b.disableFullscreen:!S(!0,a.fs);this.ca=!this.Wb&& (f||tr());this.Bg=this.fa("uniplayer_block_pip")&&fl()&&Yn(58)&&!(g.sx&&el("version/"));f=g.vx(this)&&!this.kd;var k;b?void 0!=b.disableRelatedVideos&&(k=!b.disableRelatedVideos):k=a.rel;this.Ha=f||S(!this.Yb,k);this.gn=S(!1,a.co_rel);this.A=g.sx&&el("version/")&&0=zx?"_top":"_blank";this.Ja=g.Dx(this);this.pc="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 "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.O=k;this.Kc=ox("",a.authuser);var l;b?void 0!=b.disableWatchLater&&(l=!b.disableWatchLater):l=a.showwatchlater;this.yi=(this.u&&!this.V||!!this.Kc)&&S(!this.G,this.Db?l:void 0);this.Eb=b?!!b.disableKeyboardControls:S(!1,a.disablekb);this.fd=ox("",a.ecver);this.loop=S(!1,a.loop);this.pageId=ox("",a.pageid);this.Nm=S(!0, a.canplaylive);this.cg=S(!1,a.livemonitor);this.disableSharing=S(this.Yb,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.Ud(l,k))):l=null;this.Gf=l;this.mute=b?!!b.startMuted:S(!1,a.mute);this.Gc=!this.mute&&S("0"!=this.controlsType,a.store_user_volume);l=b?b.annotationsLoadPolicy:a.iv_load_policy;this.annotationsLoadPolicy="3"==this.controlsType?3:mx(void 0,l,Fx);this.captionsLanguagePreference= b?b.captionsLanguagePreference||"":ox("",a.cc_lang_pref);l=mx(2,a.cc_load_policy,Fx);"3"==this.controlsType&&2==l&&(l=3);this.Fg=l;this.lc=b?b.hl||"en_US":ox("en_US",a.hl);this.region=b?b.contentRegion||"US":ox("US",a.cr);this.hostLanguage=b?b.hostLanguage||"en":ox("en",a.host_language);this.Ag=!this.V&&Math.random()Math.random()}; Nx=function(a,b){return!a.Yb&&fl()&&Yn(55)&&"3"==a.controlsType&&!b}; g.Ox=function(a){a=Gx(a.C);return"www.youtube-nocookie.com"==a?"www.youtube.com":a}; g.Px=function(a){return g.Ex(a)?"music.youtube.com":g.Ox(a)}; Qx=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")}; Rx=function(a){return xx(a)&&!g.Kx(a)}; Ax=function(a){return Cx&&!a.yd||el("nintendo wiiu")||el("nintendo 3ds")?!0:!1}; g.Ex=function(a){return"music-embed"==a.playerStyle}; g.Jx=function(a){return/^TVHTML5/.test(a.deviceParams.c)?!0:"TV"==a.deviceParams.cplatform}; Ix=function(a){return"CHROMECAST ULTRA/STEAK"==a.deviceParams.cmodel||"CHROMECAST/STEAK"==a.deviceParams.cmodel}; g.Sx=function(){return 1=b.Hv||1<=d.o)if(a=iy(a),c=hy(c,ft(a)),c.u+c.o<=d.u+d.o)return!0;return!1}; Zfa=function(a,b){var c=b?iy(a):a.o;return new kv(c)}; iy=function(a){a.w||(a.w=jt(a.A));return a.w}; ky=function(a){return 1b&&d.startTime<=b?d:-1==c?zy(a,Math.max(d.Ma-Math.ceil((d.startTime-b)/a.o),0),d):zy(a,d.Ma+Math.ceil((b-d.endTime)/a.o),d)}; wy=function(a,b){return sb(a.segments,function(c){return b-c.Ma})}; zy=function(a,b,c){return new nt(b,Math.max(0,c.startTime-(c.Ma-b)*a.o),a.o,0,"sq/"+b,void 0,void 0,!0)}; Ay=function(a,b,c){c=void 0===c?{}:c;ty.call(this,a,b,"",void 0,void 0,c.je||0);this.index=new vy(c);this.O=c.Qq||-1;this.U=c.ye||!1}; cga=function(a,b,c,d,e){this.Ma=a;this.startSecs=b;this.durationSecs=c;this.o=d||NaN;this.u=e||NaN}; By=function(a,b,c){for(;a;a=a.parentNode)if(a.attributes&&(!c||a.nodeName===c)){var d=a.getAttribute(b);if(d)return d}return""}; Cy=function(a,b){for(var c=a;c;c=c.parentNode){var d=c.getElementsByTagName(b);if(0=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 nt(p,f,k,NaN,"sq/"+(p+1)));f+=k;l--}a.index.append(c)}}; g.Iy=function(){this.o=0;this.u=new Float64Array(128);this.w=new Float64Array(128);this.B=1;this.A=!1}; Jy=function(a){if(a.u.length=c+d)break}return new my(e)}; lga=function(a,b){return My(function(c,d){return g.$q(c,d,4,1E3)},a,b)}; g.Ny=function(a){var b;a.responseType&&"text"!==a.responseType?"arraybuffer"===a.responseType&&(b=hu(new Uint8Array(a.response))):b=a.responseText;return!b||2048=a.F}; cz=function(a){var b=a.F;isFinite(b)&&(bz(a)?a.refresh():(b=Math.max(0,a.J+b-(0,g.N)()),a.A||(a.A=new g.I(a.refresh,b,a),g.C(a,a.A)),a.A.start(b)))}; wga=function(a){a=a.o;for(var b in a){var c=a[b].index;if(c.Pb())return c.jb()+1}return 0}; dz=function(a){if(!isNaN(a.H))return a.H;var b=a.o,c;for(c in b){var d=b[c].index;if(d.Pb()){b=0;for(c=d.Me();c<=d.jb();c++)b+=d.getDuration(c);b/=d.Vi();b=.5*Math.round(b/.5);d.Vi()>a.da&&(a.H=b);return b}if(a.isLive&&(d=b[c],d.je))return d.je}return NaN}; ez=function(a,b){for(var c in a.o){var d=a.o[c].index;if(d.Pb()){var e=d.Oe(b),f=d.Ls(e);if(f)return f+b-d.Xc(e)}}return NaN}; xga=function(a,b){var c=Nb(a.o,function(e){return e.index.Pb()}); if(!c)return NaN;c=c.index;var d=c.Oe(b);return c.Xc(d)==b?b:d=navigator.hardwareConcurrency&&(b=c);(c=g.R(a.experiments,"html5_av1_thresh_hcc"))&&4> "+a.o.languageName);return c.join("")}; rz=function(a,b){this.id=a;this.rb=b;this.captionTracks=[];this.pn=this.Mq=this.o=null;this.Bq="UNKNOWN"}; sz=function(a,b,c){this.videoInfos=a;this.o=b||null;this.audioTracks=[];this.u=c||null;if(this.o)for(a=new Set,b=g.q(this.o),c=b.next();!c.done;c=b.next())if(c=c.value,c.rb&&!a.has(c.rb.id)){var d=new rz(c.id,c.rb);a.add(c.rb.id);this.audioTracks.push(d)}}; tz=function(a,b,c){var d={},e;for(e in c.o){var f=c.o[e],k=Vu(f.info);""==f.info.u||("304"==k||"266"==k)&&a.J||a.P&&"h"==f.info.u&&f.info.video&&1080m},p=f["1"].filter(function(t){return n(t.wa().ac)}); k=f[k].filter(function(t){return!n(t.wa().ac)}).concat(p); k.length&&(f["19"]=k)}Py(c)&&(f=Gga(b,f,d));b=Bga(a);d=Cga(a);b=g.$a(b,e);d=g.$a(d,e);if(!b||!d)return br();a.V&&"1"==b&&f["9"]&&(k=uz(f["1"]),uz(f["9"])>k&&(b="9"));"9"==b&&f.h&&(k=uz(f["9"]),uz(f.h)>1.5*k&&(b="h"),c.Pe&&!Kfa(a.F)&&(b="h"));a=f[b];c=f[d];if(!a.length)return br();vz(a,c);return cr(new sz(a,c,Hga(f,b,d)))}; Hga=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)?(vz(d,e),new sz(d,e)):null}; vz=function(a,b){g.tb(a,function(c,d){return d.wa().height*d.wa().width-c.wa().height*c.wa().width||d.o-c.o}); g.tb(b,function(c,d){return d.o-c.o})}; Fga=function(a,b){var c=(0,g.vi)(b,function(d,e){return 32c&&(b=a.C&&(a.G||nw(a,tw))?(0,g.ve)(b,function(d){return 32E.width*E.height*E.fps))var E=B}}else n.push(B)}}m=p.reduce(function(G,F){return F.Tf.Qn()&&G},!0)?l:null; d=Math.max(d,g.R(a.experiments,"html5_hls_initial_bitrate"));E=E||{};p.push(Dz(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 Fw(a.w,p,Nx(a,b))}; Dz=function(a,b,c,d,e,f,k,l,m,n,p){d=new zv(d,"application/x-mpegURL",new ov,new tv(e,f,k,null,void 0,m),void 0,p);a=new zz(a,b,c);a.B=n?n:1369843;return new Cz(d,a,l)}; Qga=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}; Fz=function(){return Da(function(a){Ez||(Ez=new Promise(function(b,c){var d=indexedDB.open("yt-player-local-media",2);d.onerror=function(e){"VersionError"==e.target.error.name?(e=indexedDB.open("yt-player-local-media"),e.onsuccess=function(f){return b(f.target.result)},e.onerror=c):c()}; d.onsuccess=function(e){var f=e.target.result;f.onversionchange=function(){f.close();Ez=null}; b(f)}; d.onupgradeneeded=function(e){e=e.target.result;e.createObjectStore("index");e.createObjectStore("media")}})); return a["return"](Ez)})}; Hz=function(a,b,c){var d;return Da(function(e){if(1==e.o)return ua(e,Fz(),2);d=e.u;return e["return"](Gz(d.transaction(a,"readwrite").objectStore(a).put(c,b)))})}; Iz=function(a,b){var c;return Da(function(d){if(1==d.o)return ua(d,Fz(),2);c=d.u;return d["return"](Gz(c.transaction(a).objectStore(a).get(b)))})}; Sga=function(){var a;return Da(function(b){if(1==b.o)return Ez?b=ua(b,Ez,3):(b.o=2,b=void 0),b;2!=b.o&&(a=b.u,a.close(),Ez=null);return b["return"](new Promise(function(c,d){var e=indexedDB.deleteDatabase("yt-player-local-media");e.onsuccess=function(){return c()}; e.onerror=function(){return d()}}))})}; Jz=function(a){window.localStorage["yt-player-lv"]=a.join(",")}; Kz=function(){var a=window.localStorage&&window.localStorage["yt-player-lv"];return a?a.split(","):[]}; Lz=function(a,b,c,d){var e;Da(function(f){e=""+a+"|"+b.id+"|"+c;return f["return"](Hz("media",e,d))})}; Tga=function(a,b,c){var d,e;Da(function(f){d=Mz(a,b);e=Hz("index",d,c);b&&(e=e.then(function(){var k=Kz();k.includes(a)||(k.push(a),Jz(k))})); return f["return"](e)})}; Uga=function(a){return Da(function(b){return b["return"](Promise.all([Iz("index",Mz(a,!1)),Iz("index",Mz(a,!0))]).then(function(c){return c.filter(function(d){return d}).join(",")}))})}; Vga=function(a,b,c){return Da(function(d){return d["return"](Iz("media",""+a+"|"+b+"|"+c))})}; Wga=function(a){var b,c;return Da(function(d){if(1==d.o)return ua(d,Fz(),2);b=d.u;c=b.transaction(["index"]);return d["return"](Nz(c,a))})}; Xga=function(){var a,b;return Da(function(c){if(1==c.o)return ua(c,Fz(),2);a=c.u;b=a.transaction(["index"]);return c["return"](Promise.all(Kz().map(function(d){return Nz(b,d)})))})}; Nz=function(a,b){return Da(function(c){return c["return"](Promise.all([Gz(a.objectStore("index").get(Mz(b,!1))),Gz(a.objectStore("index").get(Mz(b,!0)))]).then(function(d){var e={videoId:b,totalSize:0,status:0};d=d.filter(function(k){return k}); if(!d.length)return e;d=eq(d.join(","));d=g.q(d);for(var f=d.next();!f.done;f=d.next())e.totalSize+=parseInt(f.value.clen,10);e.status=1;return e}))})}; Yga=function(a){var b,c,d,e,f;return Da(function(k){if(1==k.o)return b=Kz(),b.includes(a)&&(c=b.filter(function(l){return l!=a}),Jz(c)),ua(k,Fz(),2); d=k.u;e=d.transaction(["index","media"],"readwrite");f=IDBKeyRange.bound(a+"|",a+"~");return k["return"](new Promise(function(l,m){e.objectStore("index")["delete"](f);e.objectStore("media")["delete"](f);e.oncomplete=function(){return l()}; e.onerror=m}))})}; Zga=function(){return Da(function(a){delete window.localStorage["yt-player-lv"];return a["return"](Sga())})}; Mz=function(a,b){return""+a+"|"+(b?"v":"a")}; Gz=function(a){return new Promise(function(b,c){a.onsuccess=function(){return b(a.result)}; a.onerror=function(){return c()}})}; Oz=function(a,b){this.Tf=a;this.o=b}; Pz=function(a,b){this.Tf=a;this.o=b}; $ga=function(a){var b=[];(0,g.y)(a,function(c){if(c.url){var d=Fv(c.type,"medium","0");b.push(new Pz(d,c.url))}}); return b}; aha=function(a,b){this.o=new Uint8Array(a.buffer,0,16);this.u=new Uint8Array(a.buffer,16);this.encryptedClientKey=b}; g.Qz=function(a,b,c,d){this.C=new Set;this.J=a;this.P=b;a=c.split("#");this.F=parseInt(a[0],10);this.B=parseInt(a[1],10);this.w=parseInt(a[2],10);this.columns=parseInt(a[3],10);this.rows=parseInt(a[4],10);this.o=parseInt(a[5],10);this.A=a[6];this.G=a[7];this.O=d}; Rz=function(a,b){var c=a.P;c=c.replace("$N",a.A);c=c.replace("$L",a.J.toString());c=c.replace("$M",b.toString());a.G&&(c=g.Ad(c,{sigh:a.G}));return bt(c)}; g.Sz=function(a,b){b>=a.ct()&&a.zl();var c=Math.floor(b/(a.columns*a.rows)),d=a.columns*a.rows,e=b%d,f=e%a.columns;e=Math.floor(e/a.columns);var k=a.zl()+1-d*c;if(k=b)return a.A.set(b,d),d;a.A.set(b,c-1);return c-1}; $z=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.Qz.call(this,a,b,c,0);this.u=null;this.H=d?3:0}; aA=function(a,b,c,d){Yz.call(this,a,0,void 0,b,!(void 0===d||!d));for(a=0;a=e){e=hA(k.url);g.Ys(e)&&(b[d]=e);break}}(a=a.pop())&&1280<=a.width&&(a=hA(a.url),g.Ys(a)&&(b["maxresdefault.jpg"]=a));return b}; hA=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.jA=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 Lq("CSI data exceeded logging limit with key",b),0===b.indexOf("info")?Nq(c):Mq(c)),!0):!1}; JA=function(a){return!!g.L("FORCE_CSI_ON_GEL",!1)||g.$o("csi_on_gel")||!!xA(a).useGel}; NA=function(a,b,c){c=KA(c);if(c.gelInfos)c.gelInfos["info_"+a]=!0;else{var d={};c.gelInfos=(d["info_"+a]=!0,d)}if(a in LA){c=LA[a];g.cb(Eha,c)&&(b=!!b);a in MA&&"string"===typeof b&&(b=MA[a]+b.toUpperCase());a=b;b=c.split(".");d=c={};for(var e=0;e=zx&&(n.o=!0);if(f=c)f=d.fa("disable_html5_ambisonic_audio")||!(g.$x(d)||d.fa("html5_enable_spherical")||d.fa("html5_enable_spherical3d"))?!1:ay(d);f&&(n.G=!0);b&&(n.o=!0,n.U=!0);l&&!g.Q(d.experiments,"html5_otf_prefer_vp9")&&(n.o=!0);nw(d.w,xw)&&(g.Q(d.experiments, "html5_enable_aac51")&&(n.B=!0),g.Q(d.experiments,"html5_enable_ac3")&&(n.u=!0),g.Q(d.experiments,"html5_enable_eac3")&&(n.A=!0));!g.Q(d.experiments,"html5_kaios_hd_killswitch")&&tx&&(n.O=480);if(e||c)n.J=!1;n.P=!1;b=gz(d);0b&&window.SourceBuffer&&SourceBuffer.prototype.changeType&&(n.w=b);2160<=b&&(n.S=!0);Xw()&&(n.V=!1);n.F=m;il()&&a.Ia&&a.Ia.playerConfig&&a.Ia.playerConfig.webPlayerConfig&&a.Ia.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(n.u=!0,n.A=!0);return n}; qB=function(a,b){var c;(c=!b)||(c=!(!nB(a)&&a.adaptiveFormats));if(c)return!1;c=oB(b);var d=a.zc;var e=a.lengthSeconds,f=a.ua,k=a.ye,l=a.La.experiments,m=rga(c);d=f||k?qga(c,k,d,l):3==m?pga(c,d,e,l):oga(c,d,e,l);0a)?!1:window.AbortController||b?!0:!1}; wB=function(a){var b=sB(a),c=vB(a);return(a.hasSubfragmentedFmp4||a.bj)&&b?c&&Os()?3:2:a.defraggedFromSubfragments&&b?-1:1}; tB=function(a){return a.isLowLatencyLiveStream&&void 0!=a.ka&&5<=dz(a.ka)?21530001:a.liveExperimentalContentId}; xB=function(a){return il()&&rB(a)?!1:!Aw()||a.Cw?!0:!1}; Lha=function(a){a.Dd=!0;a.Eh=!1;if(!a.Xd&&yB(a))Uga(a.videoId).then(function(d){return qB(a,d)},function(){return qB(a,a.adaptiveFormats)}).then(function(){return zB(a)}); else{Xs(a.Xd)||Nq(new Lq("DASH MPD Origin invalid: ",a.Xd));var b=a.Xd,c=g.R(a.La.experiments,"dash_manifest_version")||4;b=g.Ad(b,{mpd_version:c});a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||(b=g.Ad(b,{pacing:0}));uga(b,a.La.experiments,a.ua).then(a.OK,a.NK,a);ZA("mrs")}}; g.AB=function(a){if(!a.Pc)return null;var b=null!=a.Pc.latitudeE7&&null!=a.Pc.longitudeE7?a.Pc.latitudeE7+","+a.Pc.longitudeE7:",";return b+=","+(a.Pc.clientPermissionState||0)+","+(a.Pc.locationRadiusMeters||"")+","+(a.Pc.locationOverrideToken||"")}; zB=function(a){a.la()||(a.Dd=!1,a.R("dataloaded"))}; pB=function(a,b){a.ka=b;g.C(a,b);BB(a)&&a.Oc.push("webgl");a.ka.isLive||(a.ua=!1);var c=b.sourceUrl.split("/");-1!=c.indexOf("manifest_duration")&&(a.Yk=parseInt(c[c.indexOf("manifest_duration")+1],10))}; CB=function(a){return a.zc?!0:a.fa("web_player_content_protection_manifest_killswitch")?!1:!!a.ka&&Py(a.ka)}; Mha=function(a,b){var c=b||xB(a);if(a.ka&&!c){if(kB(a)){c=a.ka;var d=a.ua;if(!c.o["0"]){var e=new zv("0","fakesb",void 0,new tv(0,0,0,void 0,void 0,"auto"),null,null,1);c.o["0"]=d?new ty(new ct("http://www.youtube.com/videoplayback"),e,"fake"):new Ky(new ct("http://www.youtube.com/videoplayback"),e,new Ju(0,0),new Ju(0,0),0,NaN)}}return Iga(mB(a),a.La.w,a.ka,a.sd).then(a.mu,void 0,a)}return br()}; g.DB=function(a){return nB(a)&&a.Le?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Aa&&a.Aa.zc||null}; EB=function(a){var b=a.Ia&&a.Ia.paidContentOverlay&&a.Ia.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.T(b.text):a.RN}; FB=function(a){var b=a.Ia&&a.Ia.paidContentOverlay&&a.Ia.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?g.jd(b.durationMs):a.fB}; GB=function(a){var b="";if(a.ls)return a.ls;a.ua&&(b=a.allowLiveDvr?"dvr":"live");return b}; g.HB=function(a,b){return"string"!==typeof a.keywords[b]?null:a.keywords[b]}; IB=function(a){return!!(a.Xd||a.adaptiveFormats||a.Tj||a.Lj||a.hlsvp)}; JB=function(a){var b=g.cb(a.Oc,"ypc");a.ypcPreview&&(b=!1);return a.isValid()&&!a.Dd&&(IB(a)||g.cb(a.Oc,"fresca")||g.cb(a.Oc,"heartbeat")||b)}; oB=function(a,b){var c=eq(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}; iB=function(a,b){a.showShareButton=!!b;if(b){var c=b.buttonRenderer&&b.buttonRenderer.navigationEndpoint;c&&(a.dm=!!c.copyTextEndpoint)}}; Nha=function(a,b,c){c=c.thumbnailPreviewRenderer;var d=c.controlBgHtml;null!=d?(a.Pf=d,a.tc=!0):(a.Pf="",a.tc=!1);if(d=c.defaultThumbnail)a.Ye=iA(d);a.fa("web_player_embedded_details_parsing_killswitch")||(d=c.videoDetails&&c.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer)&&hB(a,b,d);if(b=c.videoDetails&&c.videoDetails.musicEmbeddedPlayerOverlayVideoDetailsRenderer)a.Zq=b.title,a.Yq=b.byline,b.musicVideoType&&(a.musicVideoType=b.musicVideoType);a.yi=!!c.addToWatchLaterButton;iB(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&&(b=b.watchEndpointSupportedOnesieConfig.html5PlaybackOnesieConfig,b.commonConfig&&b.commonConfig.url&&(a.It=b.commonConfig.url))))}; hB=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.Kj=!!c.notificationPreferenceToggleButton}}; g.KB=function(a){return a.ua&&!a.allowLiveDvr}; LB=function(a){return a.ua&&a.allowLiveDvr}; BB=function(a){return a.gg()||a.fg()||a.ej()||a.Yf()}; Oha=function(a){a.va=a.va.u}; g.MB=function(a){if(a.qu)return null;var b=a.my;b||(b=a.Ia&&a.Ia.endscreen&&a.Ia.endscreen.endscreenUrlRenderer&&a.Ia.endscreen.endscreenUrlRenderer.url);return b||null}; g.NB=function(a){return a.qu?null:a.Ia&&a.Ia.endscreen&&a.Ia.endscreen.endscreenRenderer||null}; g.OB=function(a){return a.Ia&&a.Ia.cards&&a.Ia.cards.cardCollectionRenderer||null}; g.PB=function(a){if(!a.Ia||!a.Ia.annotations)return null;a=g.q(a.Ia.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}; QB=function(a){return a.adFormat&&"1_5"!=a.adFormat?"adunit":a.La.S}; RB=function(a){return a.lh||"detailpage"==QB(a)||a.mutedAutoplay}; SB=function(a){if(RB(a)){if("detailpage"==QB(a))return a.fj||0(b?parseInt(b[1],10):NaN);if(c=!a.Ji)c=a.La,c="TVHTML5_CAST"==c.deviceParams.c||"TVHTML5"==c.deviceParams.c&&c.deviceParams.cver.startsWith("6.20130725");c&&"MUSIC"==a.La.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.Ji=!0);return!a.La.deviceHasDisplay||a.Ji&&a.La.Db}; UB=function(a){return!!(a.fa("mweb_hoffline")&&a.adaptiveFormats&&a.Ri&&a.La.Db)}; yB=function(a){var b;if(b=a.fa("mweb_hoffline")&&a.adaptiveFormats)b=a.videoId,b=!!b&&Kz().includes(b);return!(!b||a.Ri)}; VB=function(a){return(a=a.Rq)&&a.showError?a.showError:!1}; WB=function(a){return a.fa("disable_rqs")?!1:lB(a,"html5_high_res_logging")}; lB=function(a,b){return a.fa(b)?!0:(a.Mw||"").includes(b+"=true")}; fB=function(a,b){var c=b.video_masthead_ad_quartile_urls;c&&(a.Wo=c.quartile_0_url,a.Rt=c.quartile_25_url,a.St=c.quartile_50_url,a.Tt=c.quartile_75_url,a.Qt=c.quartile_100_url)}; pA=function(a){return a?Aw()?!0:XB&&5>YB?!1:!0:!1}; oA=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}; mA=function(a){if(a){if($s(a))return a;a=at(a);if($s(a,!0))return a}return""}; ZB=function(a,b){var c={};this.u=(c.c1a=(0,g.x)(this.C,this),c.c3a=(0,g.x)(this.F,this),c.c6a=(0,g.x)(this.A,this),c);this.T=a;this.w=!!b;this.T&&this.T.cf?this.o=dq(this.T.cf):this.o=[]}; Pha=function(a){if(a.T&&a.T.cf){var b=[a.T.cf],c;for(c in a.u)if(a.o[c]&&a.u[c]){var d=a.u[c](a.o);d&&b.push(d)}return b.join("&")}return null}; Qha=function(a){var b={};Object.assign(b,a.u);"c1b"in a.o&&(b.c1a=(0,g.x)(a.B,a));if(a.T&&a.T.cf){var c=[a.T.cf],d;for(d in b)if(a.o[d]&&b[d]){var e=b[d](a.o);e&&c.push(e)}return new Promise(function(f){Promise.all(c).then(function(k){return f(k.filter(function(l){return!!l}).join("&"))})})}return Promise.resolve(null)}; $B=function(a){return a.w?!!Rq.o:(a=g.w("yt.abuse.player.botguardInitialized"))&&a()}; bC=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 aC(a)}; aC=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.length?NaN:a.end(a.length-1)}; gC=function(a,b){a.w&&null!==b&&b.o===a.w.o||(a.w&&a.w.dispose(),a.w=b)}; hC=function(a){return $v(a.md(),a.getCurrentTime())}; Rha=function(a,b){if(0==a.fe()||0G;G++)if(D=(D<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(B.charAt(G)),4==G%5){for(var F="",ka=0;6>ka;ka++)F="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(D&31)+F,D>>=5;E+=F}B=E.substr(0,4)+" "+E.substr(4,4)+" "+E.substr(8,4)}else B="";m={video_id_and_cpn:c.videoId+" / "+B,codecs:"",dims_and_frames:"",bandwidth_kbps:m.toFixed(0)+" Kbps",buffer_health_seconds:p.toFixed(2)+ " s",drm_style:t?"":"display:none",drm:t,debug_info:u,bandwidth_style:z,network_activity_style:z,network_activity_bytes:n.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none",playback_categories:""};n=f.clientWidth+"x"+f.clientHeight+(1a)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":k="Optimized for Normal Latency";break;case "LOW":k="Optimized for Low Latency";break;case "ULTRALOW":k="Optimized for Ultra Low Latency";break;default:k= "Unknown Latency Setting"}else k=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";f+=k;(a=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(f+=", seq "+a.sequence);m.live_mode=f}b.isGapless()&&(m.playback_categories+="Gapless ");m.playback_categories_style=m.playback_categories?"":"display:none";m.bandwidth_samples=tC(l,"bandwidth");m.network_activity_samples=tC(l,"networkactivity");m.live_latency_samples=tC(l,"livelatency");m.buffer_health_samples=tC(l,"bufferhealth"); lB(c,"web_player_release_debug")?(m.release_name="youtube.player.web_20200316_0_RC8",m.release_style=""):m.release_style="display:none";return m}; yC=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return b&&b[1]?b[1]+" ("+Vu(a)+")":Vu(a)}; BC=function(){var a="ytp-id-"+AC.toString();AC++;return a}; g.CC=function(a){g.A.call(this);this.o={};this.Wa={};this.element=this.createElement(a)}; g.DC=function(a){g.ue(a.element)}; EC=function(a,b,c,d){if("{{"===d.substr(0,2))a.Wa[d]=[b,c];else return d}; Sha=function(a,b){var c=[];if(!b)return c;for(var d=g.q(b),e=d.next();!e.done;e=d.next())if(e=e.value,null!=e){var f=e.nodeType;1===f||3===f?c.push(e):e&&"string"===typeof e.D?c.push(a.createElement(e)):e.element?c.push(e.element):"string"===typeof e&&-1!==e.indexOf("\n")?e.split("\n").forEach(function(k,l){0=d&&(g.M(Error("invalid coreTime.now value: "+d)),d=(new Date).getTime()+2);return d},g.Q(a.eb.experiments,"html5_validate_yt_now")); a.u=g.Sa(function(c){return Math.round(b()-c)/1E3},b()); a.G()}return a.u}; mD=function(a){if(navigator.connection&&navigator.connection.type)return lD[navigator.connection.type]||lD.other;if(g.Jx(a.eb)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0}; ZC=function(a){var b=new YC;b.Aq=a.Sc().cc||"-";b.playbackRate=a.getPlaybackRate();var c=a.getVisibilityState();0!=c&&(b.visibilityState=c);a.eb.Eg&&(b.Eg=1);c=a.getAudioTrack();c.rb&&c.rb.id&&"und"!=c.rb.id&&(b.tq=c.rb.id);b.connectionType=mD(a);b.volume=a.Sc().volume;b.muted=a.Sc().muted;b.clipId=a.Sc().clipid||"-";return b}; g.nD=function(a){return(a=Uha[a.toString()])?a:"LICENSE"}; Vha=function(){this.A=this.o=NaN;this.w=this.u=!1}; oD=function(a,b){return b>a.o+.001&&b(d||!a.w?1500:400);a.o=b;a.A=c;return!1}; g.qD=function(a,b){this.o=a||64;this.u=void 0===b?null:b}; rD=function(a,b){return pD(a,b.getCurrentTime(),(0,g.N)(),hC(b))}; sD=function(a,b,c){return b==a.o&&c==a.u||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.qD(b,c)}; tD=function(a,b){return sD(a,a.o|b)}; uD=function(a,b){return sD(a,a.o&~b)}; vD=function(a,b,c){return sD(a,(a.o|b)&~c)}; g.W=function(a,b){return!!(a.o&b)}; g.wD=function(a,b){return b.o==a.o&&b.u==a.u}; g.xD=function(a){return g.W(a,8)&&!g.W(a,512)&&!g.W(a,64)&&!g.W(a,2)}; g.yD=function(a){return g.W(a,8)&&!g.W(a,2)&&!g.W(a,1024)}; zD=function(a){return g.xD(a)&&!g.W(a,16)&&!g.W(a,32)}; Wha=function(a){return g.W(a,8)&&g.W(a,16)}; g.AD=function(a){return g.W(a,1)&&!g.W(a,2)}; BD=function(a){return g.W(a,128)?-1:g.W(a,2)?0:g.W(a,64)?-1:g.W(a,1)&&!g.W(a,32)?3:g.W(a,8)?1:g.W(a,4)?2:-1}; g.CD=function(a,b){this.state=a;this.o=b}; DD=function(a,b){return g.W(a.state,b)&&!g.W(a.o,b)?1:!g.W(a.state,b)&&g.W(a.o,b)?-1:0}; g.ED=function(a,b){return 0=a.w?0:b}; cE=function(a){var b=a.o-1;return 0>b?a.w-1:b}; dE=function(a,b){a.o=g.Od(b,0,a.w-1);a.startSeconds=0}; bia=function(a,b){if(!a.B){a.listId=new g.YD("SR",b);var c={search_query:b};a.P&&(c.mob="1");ZD(a,"/search_ajax?style=json&embeddable=1",c)}}; cia=function(a){if(!a.B){var b=b||a.listId;b={list:b};var c=a.wa();c&&c.videoId&&(b.v=c.videoId);ZD(a,"/list_ajax?style=json&action_get_list=1",b)}}; ZD=function(a,b,c){a.J&&g.xq(g.Ad(b,c),{format:"JSON",onSuccess:(0,g.x)(function(d,e){eE(this,e)},a), onError:(0,g.x)(function(){this.R("error")},a)})}; eE=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.wa();a.Ga=[];b.video.forEach(function(e){e&&(e.video_id=e.encrypted_id,this.Ga.push(e))},a); a.w=a.Ga.length;var d=b.index;d?a.o=d:dia(a,c);a.setShuffle(!1);a.B=!1;a.A=!0;a.F++;a.C&&a.C()}}; dia=function(a,b){if(b){var c=b.videoId;if(!a.Ga[a.o]||a.Ga[a.o].video_id!=c)for(var d=0;db)return!0;var c=a.A();return bb)return 1;c=a.A();return bf?(a.B+=e,.2=a.u.o.o:!1}; tE=function(a){return nE(a,a.w)}; uE=function(a){a.S=a.o+1E3*a.da.delay;a.xa=!1}; vE=function(a,b){a.H=Math.min(a.H,gia(a.F,a.Fa,a.o,b));a.O=Math.min(a.O,hia(a.F,a.Fa,a.o,b,a.Ja));a.H<=a.o?uE(a):(a.S=a.H,a.xa=!0)}; oE=function(a){a.F&&vE(a,(0,g.H)());return a.xa}; wE=function(a,b){b=void 0===b?(0,g.H)():b;if(a.F){vE(a,b);var c=a.J?a.F?1!=mE(a):!1:a.H!=a.O;if(c){if(c=a.O,bd&&(d=0);d=1E3*(d*a.da.stall+d/a.da.byterate);d=tE(a)?d+b:d+Math.max(b,c);a.U=d}; rE=function(a,b){for(var c="";4095>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))}; xE=function(a,b,c,d){var e=this;this.w=a;a=Ku(this.w.get("range")||"");if(!a)throw Error("bad range");this.B=a;this.C=c;this.status=0;this.response=null;this.o=new Cs;this.u=0;this.A="";kia(this).then(d,function(f){e.A=""+f||"unknown_err";d()}); b()}; kia=function(a){var b,c,d,e,f,k,l,m,n,p,t,u,z;return Da(function(B){if(1==B.o){a.status=200;b=a.w.get("docid");c=a.w.get("fmtid");d=+a.w.get("csz");if(!b||!c||!d)throw Error("Invalid local URL");e=a.B;f=Math.floor(e.start/d);k=Math.floor(e.end/d);l=f}if(5!=B.o)return l<=k?B=ua(B,Vga(b,c,l),5):(B.o=0,B=void 0),B;m=B.u;n=l*d;p=(l+1)*d;t=Math.max(0,e.start-n);u=Math.min(e.end+1,p)-(t+n);z=new Uint8Array(m.buffer,t,u);a.o.append(z);a.u+=u;a.u=d.o&&(c=Js(d),c=hu(c),c=Xs(c)?c:"")}if(c){d=HE(a);(0,g.N)();d.started=0;d.u=0;d.o=0;d=a.info;var e=a.w;g.ly(d.u,e,c);d.requestId=e.get("req_id");return 5}c=b.ro();if((d=!!a.P&&a.P.length)&&d!=c||b.Vt())return a.B="net.closed",7;JE(a,!0);if(a.A.Iv&&!d&&a.u&&(d=a.u.o,d.length&&!av(d[0])))return a.B="net.closed",7;var f=KE(a)?b.Wc("X-Bandwidth-Est"): 0;if(d=KE(a)?b.Wc("X-Bandwidth-Est3"):0)a.ea=!0,a.A.Yu&&(f=d);d=a.timing;e=(0,g.H)();f=f?parseInt(f,10):0;if(!d.na){d.na=!0;if(!d.P){e=e>d.o&&4E12>e?e:(0,g.H)();sE(d,e,c);qE(d,e,c);var k=mE(d);if(2==k&&f)pE(d,d.w/f,d.w);else if(2==k||1==k)f=(e-d.o)/1E3,(f<=d.u.o.u||!d.u.o.u)&&!d.sa&&tE(d)&&pE(d,f,c),tE(d)&&fx(d.u,c,d.B);dx(d.u,(e-d.o)/1E3,d.w,d.ca,d.ya,d.ga)}d.A&&(d.A=!1)}c=HE(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.qs("yt-player-bandaid-host",{HT:c},432E3),LE=(0,g.N)());return 6}; NE=function(a){if("net.timeout"==a.B){var b=a.timing,c=(0,g.H)();if(!b.P){c=c>b.o&&4E12>c?c:(0,g.H)();sE(b,c,1024*b.V);var d=(c-b.o)/1E3;if(2!=mE(b))if(tE(b))b.B+=(c-b.C)/1E3,fx(b.u,b.w,b.B);else{if(!oE(b)&&!b.P){var e=b.u;e.C.w(1,d);ex(e)}b.ea=c}dx(b.u,d,b.w,b.ca,b.ya,b.ga);hx(b.u,(c-b.C)/1E3,0)}}else(0,g.H)();"net.nocontent"!=a.B&&("net.timeout"==a.B||"net.connect"==a.B?(b=HE(a),b.u+=1):(b=HE(a),b.o+=1),a.info.u.u++);ME(a,7)}; OE=function(a){if(1==a.state)return!0;a=HE(a);return 100>a.u&&6>a.o}; ME=function(a,b){a.state=b;if(5<=a.state)if(a.A.Hc)PE(a);else{var c=a.timing;c.A&&(c.A=!1)}a.G&&a.G(a)}; QE=function(a,b){if(b){var c=HE(a);c.w+=1}PE(a);a.B="net.timeout";NE(a)}; KE=function(a){return(0,g.ui)(a.info.o,function(b){return 3==b.type})}; PE=function(a){if(a.o){var b=a.o;a.o=null;b.abort()}a=a.timing;a.A&&(a.A=!1)}; IE=function(a){var b=a.o.Wc("content-type"),c=a.o.zk();(b=(!RE(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&RE(a)&&CE(a.o);return b}; qia=function(a,b){var c=(0,g.x)(a.vH,a),d=(0,g.x)(a.NN,a),e=(0,g.x)(a.wH,a),f=(0,g.x)(a.MN,a);return gt(a.w.o)?new xE(a.w,d,e,c):a.A.H&&(a.A.jv&&!isNaN(a.info.be)&&a.info.be>a.A.LC?0:Os()&&KE(a))?new yE(b,d,e,c,f,a.A.u):new DE(b,d,e,c,f)}; RE=function(a){return a.o?a.o.pu():!1}; SE=function(a){return 2<=a.state&&!!a.u&&!!a.u.o.length}; JE=function(a,b){if(b||RE(a)&&!IE(a)){if(!a.u){if(RE(a))a.info.range&&(c=a.info.range.length);else var c=a.o.ro();a.u=new mia(a.info.o,c)}for(;a.o.eg();){c=a.u;var d=a.o.so(),e=b&&!a.o.eg();d=Js(d);for(var f=0,k=0,l=g.q(c.u),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Oa<=c.w)f+=m.Oa;else{var n=c,p=m;if(1==p.type){n.B=!0;var t=!1}else 3==p.type||4==p.type?(p=n.B&&!n.C,n.C=!0,t=p):t=!1;n=c;var u=c.w-f;p=k;var z=d;t=t||m.o.Py();var B=z.length-p;m.range&&(B=Math.min(m.Oa-u,B));u=Wu(m,m.w+ u,B,m.range?m.w+u+B==m.range.length:!!e);p=new Uint8Array(z.buffer,z.byteOffset+p,B);n.o.push(new Zu(u,p,t));n=B;c.w+=n;k+=n;f+=m.Oa;if(k==d.length)break}}}}; ria=function(a){if(!a.A.u.le||!isNaN(a.info.be)&&0a.info.o[0].u)return!1}return!0}; TE=function(a,b){this.F=a;this.B=b;this.C=a.EE;this.A=new Uint8Array(this.C);this.w=this.u=0;this.o=null;this.G=[];this.H=this.J=null}; UE=function(a){return a.o&&3==a.o.type?a.o.startTime:0}; VE=function(a){return!!a.o&&a.o.C}; XE=function(a,b){if(1==b.info.type)a.J=Lu(0,b.o.o);else if(2==b.info.type){if(!a.o||1!=a.o.type)return;a.H=Lu(a.w*a.C+a.u,b.o.o)}else if(3==b.info.type){if(3==a.o.type&&!Qu(a.o,b.info)&&(a.G=[],b.info.u!=Su(a.o)||0!=b.info.w))return;if(b.info.A)a.G.map(function(c){return WE(a,c)}),a.G=[]; else{a.G.push(b);a.o=b.info;return}}WE(a,b);a.o=b.info;sia(a)}; WE=function(a,b){for(var c=0,d=Js(b.o);c=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}; YE=function(a){a=fu(a,1886614376);(0,g.y)(a,function(b){return!b.u}); return(0,g.Fc)(a,function(b){return new Uint8Array(b.data.buffer,b.offset+b.data.byteOffset,b.size)})}; ZE=function(a){var b=(0,g.vi)(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}; $E=function(a,b,c){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.isPrefetch=void 0===c?!1:c;this.w=this.cryptoPeriodIndex=NaN;this.A=[];this.u=this.o=!1}; aF=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.u.o)throw Error();return Ms(a.u,a.o++)}; dF=function(a,b){var c=cF(a);if(1==c){for(c=0;7>c;c++)cF(a);return-1}for(var d=128,e=0;6>e&&d>c;e++)c=256*c+cF(a),d*=128;return b?c:c-d}; eF=function(a,b,c){g.P.call(this);this.H=a;this.u=[];this.o=null;this.F=-1;this.C=0;this.S=NaN;this.O=0;this.w=b;this.ea=c;this.P=this.J=NaN;this.B=this.G=this.ca=this.V=this.A=this.U=null;this.H.A&&(this.B=new TE(this.H,this.w));this.da=!1;this.Z=0}; fF=function(a,b){var c=a.o,d=Math.min(b,c.o.o);if(d==c.o.o)return a.o=null,c;c=bv(c,d);a.o=c[1];return c[0]}; gF=function(a,b){var c=$u(b);!a.H.Gf&&Bv(b.info.o.info)&&wv(b.info.o.info.wa())&&vu(c);var d=b.info.o.info;Av(d)&&!Bv(d)&&(d=$u(b),tu(d));b.info.o.info.isVideo()&&sy(b.info.o,c);2==b.info.o.info.containerType&&b.info.isVideo()&&(c=$u(b),uu(c));a.w.info.audio&&g.dv(b.info.o.info)&&(c=iv(b))&&(g.dv(b.info.o.info)&&eu($u(b)),a.da=!0,a.H.Gc&&a.R("gaplessinfo",c));if(!a.w.yc()&&!b.info.o.o&&!b.info.o.indexRange){if(g.dv(b.info.o.info))if(c=$u(b),d=Ot(c,0,1836019574)){d=d.offset+d.size;var e=new Uint8Array(d); e.set(new Uint8Array(c.buffer,c.byteOffset,d));c=e}else c=null;else c=ufa(new iu($u(b)));c&&(b.info.o.o=c)}}; kF=function(a,b,c){if(a.w.yc())a.da&&a.w.yc()&&c.info.u==c.info.o.index.jb()&&Qt($u(c)),a.U&&a.U.Cr()&&c.info.isVideo()&&!(a.getDuration()>=a.U.getDuration())&&a.w.yc()&&c.info.u==c.info.o.index.jb()&&(b=1+(a.U.getDuration()-a.getDuration())/c.info.duration,Rt($u(c),b));else{var d=!1;a.A||(hv(c),c.u&&(a.A=c.u,d=!0,Xu(c.info,c.u),jv(c)));var e;a.H.G?e=a.ea(ev(c),1):e=isNaN(a.P)?isNaN(a.J)?c.info.startTime:a.J:a.P;isNaN(a.S)&&(a.S=e);var f=gv(c);a.O+=f;a.P=NaN;fv(c,e)?a.J=e+gv(c):(e=Tu(c.info),e.smst= "1",a.R("error",e||{}));if(d&&a.A){d=hF(a,!0);Yu(c.info,d);a.o&&Yu(a.o.info,d);b=g.q(b.info.o);for(e=b.next();!e.done;e=b.next())Yu(e.value,d);(c.info.A||a.o&&a.o.info.A)&&6!=c.info.type||(a.G=d,a.R("placeholderinfo",d),iF(a))}}jF(a,c);a.Z&&(a=a.Z,a=ev(c)+a,fv(c,a))}; mF=function(a,b){if(b.info.A){a.ca=b.info;if(a.A){var c=hF(a,!1);a.R("segmentinfo",c);a.G||iF(a);a.G=null}lF(a)}a.B&&XE(a.B,b);(c=a.rl())&&cv(c,b,!0)||a.u.push(b)}; lF=function(a){a.o=null;a.F=-1;a.C=0;a.A=null;a.S=NaN;a.O=0;a.G=null}; jF=function(a,b){if(a.w.info.zc){if(2==b.info.o.info.containerType){var c=Cu(new iu($u(b)));var d="webm"}else b.info.J=YE($u(b)),c=ZE(b.info.J),d="cenc";c&&c.length&&(a.H.Ra?(c=new $E(c,d),b.u&&b.u.cryptoPeriodIndex&&(c.cryptoPeriodIndex=b.u.cryptoPeriodIndex,c.o=!0,c.u=!!a.w.info.audio),a.R("needkeyinfo",c)):b.info.o.H={key:c,type:d})}}; iF=function(a){var b=a.A,c=Gt(b);c&&(c.startSecs+=a.S,a.R("cuepoint",c,b.u))}; hF=function(a,b){var c=a.A;Lt(c)&&(It(c),Jt(c),Kt(c));return new nt(c.u,a.S,b?c.je:a.O,c.ingestionTime,"sq/"+c.u,void 0,void 0,b)}; nF=function(a,b){this.policy=a;this.V=b;this.w=NaN;this.B=[];this.F=[];this.u=this.H=NaN;this.S=this.A=this.J=0;this.C=NaN;this.Z=0;this.O=!1;this.G=null;this.U=0}; oF=function(a){return{startTime:a.C/a.A,duration:a.S/a.A}}; pF=function(a){return!isNaN(a.u)&&a.A?a.u/a.A:a.Z}; qF=function(a){a.A&&!isNaN(a.H)&&(a.u=Math.floor(a.H*a.A),a.H=NaN)}; rF=function(a,b){var c=a.B.length,d=new Uint8Array(c+b.byteLength);d.set(a.B,0);d.set(new Uint8Array(b.buffer,b.byteOffset,b.byteLength),c);a.B=[];return new DataView(d.buffer)}; sF=function(a,b,c){for(var d=c;d=k.o||cx(k.C,k.o/1E3,k.u,k.w/1E3),k.o=0,k.u=0,k.w=0)}}if(a.w.Bv&&a.w.u.le){if(!a.o.O&&!d.info.A){d=null;break b}}else if(isNaN(a.o.C)){d=null;break b}e=a.o;l=d.info.o.info;if(e.F.length){e.O= !1;f=0;m=g.q(e.F);for(k=m.next();!k.done;k=m.next())f+=k.value.byteLength;if(!e.G||e.G.length-e.U=a.w.wC))return b=(a.J.F-a.F)/1E3,d=gv(c)+b,e=$u(c),f=(f=g.Pt(e,0,1936286840))?au(f):NaN,isNaN(f)&&(f=c.info.o.o,f=(e=g.Pt(e,0,1836476516))?Tt(e):f?Ut(f):NaN),e=d*f,(f=JF(a,c))?(e=qfa(f,e))?(f=cu(f),a.u&&(f-=a.u.o.o,a.u=null),f=bv(c,f),f[0].o=new Cs([new Uint8Array(e)]),f[0].w=!!Ot($u(f[0]),0,1836019574),e=f):e=null:e=null,e&&e.length&&(f=Tu(c.info),f.fds=d.toFixed(3),f.com=a.F.toFixed(3),a.R("timestamprewrite",f),a.G+=b,a.F+=1E3*b),e?e:KF(a,c);b=c;a.ca&&a.B.yc()&&b.info.u==b.info.o.index.jb()&& IF(a,b)?((b=JF(a,c))?(Qt(b),b=[],a.u&&a.u!=c&&(b.push(a.u),a.u=null),b.push(c)):b=null,a=b?b:KF(a,c)):(b=c,a.J&&a.J.Cr()&&b.info.isVideo()&&!(a.getDuration()>=a.J.getDuration())&&a.B.yc()&&b.info.u==b.info.o.index.jb()&&IF(a,b)?(b=a.J.getDuration()-a.getDuration(),(d=JF(a,c))?(Rt(d,1+b/c.info.duration),b=[],a.u&&a.u!=c&&(b.push(a.u),a.u=null),b.push(c)):b=null,a=b?b:KF(a,c)):a=[c]);return a}; LF=function(a){var b=null;2==a.info.o.info.containerType?(a=Cu(new iu($u(a))))&&(b={type:"webm",key:a}):(a.info.J=YE($u(a)),a=ZE(a.info.J),0=a.P&&(a.P=c.o.info.o)}; YF=function(a,b,c){c=void 0===c?!1:c;if(a.F){var d=a.F.Ad(),e=Yv(d,b),f=NaN,k=PF(a);k&&(f=Yv(d,k.o.index.Xc(k.u)));if(e==f&&a.u&&a.u.Oa&&VF(WF(a),0))return b}a=XF(a,b,c);return 0<=a?a:NaN}; $F=function(a,b){a.o.Cc();var c=XF(a,b);if(0<=c)return c;b=Math.min(b,a.w.dz());a.u=a.o.Uf(b).o[0];ZF(a)&&a.F&&a.F.abort();a.O=0;return a.u.startTime}; aG=function(a,b){a.G=!0;a.B=!0;a.C=-1;$F(a,Infinity);a.w.Ks(b);a.J=b}; bG=function(a){var b=0;(0,g.y)(a.A,function(c){var d=b;c=c.u&&c.u.length?nia(c.u):qy(c.info);b=d+c},a); return b+=a.w.cz()}; cG=function(a,b){if(!a.F)return 0;var c=PF(a);return c&&c.C?c.B:$v(a.F.Ad(),b)}; eG=function(a){dG(a);a.w.bz()}; fG=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))})); (Pu(e)||4==e.type)&&b.push(e)})}); a.u&&!wfa(a.u,g.Xa(b),a.u.o.yc())&&b.push(a.u);return b}; VF=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:VF(a,c?b:0)?a[b].startTime:NaN}; gG=function(a){return lj(a.A,function(b){return 4<=b.state})}; hG=function(a){return!(!a.u||a.u.o==a.o)}; iG=function(a){return hG(a)&&a.o.Cc()&&a.u.o.info.ob&&a.B=f&&a.Aa.F?(a.F++,wG(a,"iterativeSeeking","inprogress;count."+a.F+";target."+a.A+";actual."+f+";duration."+k+";isVideo."+ c,!1),a.seek(a.A)):(wG(a,"iterativeSeeking","incomplete;count."+a.F+";target."+a.A+";actual."+f,!1),a.F=0,a.o.B=!1,a.u.B=!1,a.R("seekplayerrequired",f+.1,!0)))}})}; xia=function(a,b,c){if(!a.w)return-1;c=(c?a.o:a.u).o.index;var d=c.Oe(a.A);return(yy(c,a.C.Ed)||b.Ma==a.C.Ed)&&db)return!0;return!1}; Gia=function(a){return new jE(a.J,a.B,a.w.reason)}; HG=function(a){return a.w.isLocked()}; Hia=function(a){return 0this.F.J)return!1;l=this.C.o[l.id];return l.P>d?!1:4k.video.width?(g.fb(e,c),c--):EG(a,f)*a.F.o>EG(a,k)&&(g.fb(e,c-1),c--)}c=e[e.length-1];a.o=e;Wfa(a.F,c)}; Bia=function(a,b){if(b)a.A=a.C.o[b];else{var c=g.$a(a.G.o,function(d){return!!d.rb&&d.rb.isDefault}); c=c||a.G.o[0];a.A=a.C.o[c.id]}CG(a)}; CG=function(a){if(!a.A||!a.F.A)if(!a.A||!a.A.info.rb)if(a.A=a.C.o[a.G.o[0].id],1a.w.o;else{for(b=0;b+1c}b&&(a.A=a.C.o[g.Xa(a.G.o).id])}}; DG=function(a){if(!a.u||!a.F.A)if(HG(a))a.u=240>a.w.o?a.C.o[a.o[0].id]:a.C.o[g.Xa(a.o).id];else{for(var b=Math.min(a.H,a.o.length-1),c=rG(a.U),d=EG(a,a.A.info),e=c/a.F.w-d;0=c);b++);a.u=a.C.o[a.o[b].id];a.H=b}}; Cia=function(a){var b=a.F.w,c=rG(a.U)/b-EG(a,a.A.info);b=g.ab(a.o,function(d){return EG(this,d)b&&(b=0);a.H=b;a.u=a.C.o[a.o[b].id]}; EG=function(a,b){if(!a.S[b.id]){var c=a.C.o[b.id].index.ox(a.V,15);c=b.A&&a.B&&a.B.index.Pb()?c||b.A:c||b.o;a.S[b.id]=c}return a.S[b.id]}; Iia=function(a,b){var c=Nb(a.C.o,function(d){return Vu(d.info)==b}); if(!c)throw Error("Itag "+b+" from server not known.");return c}; Jia=function(a){var b=[];if("m"==a.w.reason||"s"==a.w.reason)return b;var c=!1;if(nga(a.C)){for(var d=Math.max(0,a.H-2);d=c)a.J=NaN;else{var d=jx(a.U),e=b.index.o;c=Math.max(1,d/c);a.J=Math.round(1E3*Math.max(((c-1)*e+a.o.O)/c,e-a.o.Wb))}}}; Lia=function(a,b){var c=(0,g.H)()/1E3,d=c-a.C,e=c-a.G,f=e>=a.o.Ag,k=!1;if(f){var l=0;!isNaN(b)&&b>a.F&&(l=b-a.F,a.F=b);l/e=a.o.Wb&&!a.A;if(!f&&!c&&LG(a,b))return NaN;c&&(a.A=!0);a:{d=k;c=(0,g.H)()/1E3-(a.S.o()||0)-a.H.w-a.o.O;f=a.w.startTime;c=f+c;if(d){if(isNaN(b)){MG(a,NaN,"n",b);f=NaN;break a}d=b-a.o.Rb;dc)break}return d}; QG=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}; Oia=function(a){return a.o.slice(PG(a,0x7ffffffffffff),a.o.length)}; PG=function(a,b){var c=sb(a.o,function(d){return b-d.start||1}); return 0>c?-(c+1):c}; RG=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(YG(a,f));if(d){b=QG(a.o,0x7ffffffffffff);var m=b.filter(function(p){return 0x8000000000000>p.end}); var n=Oia(a.o)}else b=a.A<=c&&zD(b)?Nia(a.o,a.A,c):QG(a.o,c);e=e.concat(XG(a,b));m&&(e=e.concat(YG(a,m)));n&&(e=e.concat(XG(a,n)));a.A=c;Qia(a,e)}}; Qia=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]?(e.u&&e.u.R("onEnter",e),a.H(g.XD(e.namespace),e)):(e.u&&e.u.R("onExit",e),a.H("crx_"+e.namespace,e))}}; Pia=function(a){return g.W(a.G(),2)?0x8000000000000:1E3*a.O()}; aH=function(a,b,c,d,e,f,k){g.P.call(this);var l=this;this.V=a;this.o=b;this.B=c;this.ga=new zG;this.fb=k||null;this.O=new nG(a,b);this.F=new Aia(this.O,b,this.B,d);a=Dia(this.F,e,f&&f.id);this.A=new MF(this.o,a.audio,(0,g.x)(this.Uv,this));this.u=new MF(this.o,a.video,(0,g.x)(this.Uv,this));ZG(this,this.A);ZG(this,this.u);this.u.w.ez(this.A.w);this.w=null;this.za={updateend:this.uH,error:this.kK};this.ca=new g.I(this.sf,0,this);g.C(this,this.ca);this.xa=new g.I(this.sf,1E3,this);g.C(this,this.xa); this.Eb=new g.I(this.sf,void 0,this);g.C(this,this.Eb);this.Ra=new g.I(this.sf,1E4,this);g.C(this,this.Ra);this.U=this.C=NaN;this.Fa=0;this.da=this.Ba=this.ea=!1;this.sa="";this.ya=new Yw(5);this.na={};this.Ha=NaN;(this.G=Kia(this.o,this.V,this.ya,function(m,n){return $G(l,m,n)}))&&this.G.subscribe("ctmp",this.uc,this); this.P=new tG(this.B,this.u,this.A,this.o);Sia(this,this.P);this.nb=NaN;this.Ja=null;this.S=NaN;this.Gb=this.xb=!1;this.Wa=0;this.Z=!1;this.J=this.H=null;this.ra=!1}; Tia=function(a){var b=a.u.o.index;a.Ja=new eia({Mh:a.o.Mh,le:a.o.u.le,QO:b.o,jb:function(){return b.jb()}, kr:function(){return b.kr()}})}; bH=function(a,b){b=b||a.u&&a.u.u&&a.u.u.startTime||a.C;var c=a.u;var d=a.F;var e=d.u&&d.u.index.Oe(b)||0;d.V!=e&&(d.S={},d.V=e,AG(d,d.w));e=!HG(d)&&-1(0,g.N)()-d.O;var f=d.u&&3*EG(d,d.u.info)=a.o.lC&&!a.o.Gb||!a.o.Ru&&0=a.o.OC)return!1;d=b.u;if(!d)return!0;if(!ky(d.o.u))return!1;4==d.type&&d.o.Cc()&&(b.u=g.Xa(d.o.hp(d)),d= b.u);if(!d.C&&!d.o.og(d)||d.o.info.audio&&4==d.type)return!1;if(iG(b)&&!a.o.na)return!0;if(d.C||bG(b)&&bG(b)+bG(c)>a.o.za)return!1;var e=!b.B&&!c.B,f=b==a.u&&a.Z;!(c=!!(c.u&&!c.u.C&&c.u.Bc);return c||a.o.ZC&&(a=b.F)&&a.isLocked()?!1:!0}; kH=function(a,b,c){if((!a.w||fw(a.w)||kw(a.w))&&!a.P.w&&a.F.Z){var d=a.C;a=a.O;c=pG(a,b.o.info.o,c.o.info.o,0);var e=gx(a.u)+c/jx(a.u);d+=Math.max(e,e+a.o.jd-c/b.o.info.o);a:{if(b.A.length){if(b.A[0].info.o[0].startTime<=d)break a;dG(b)}b.w.az(d);b.A.length?b.u=g.Xa(g.Xa(b.A).info.o):b.w.Nx()?b.u=b.w.rl().info:b.u=PF(b);b.u&&dc.o[0].u)a.uc("invalidsq",Uu(c.o[0]));else{if(a.Na){var d=Wia(a.Na.o,c.o[0].F,c.o[0].o.info.id);d&&(c.B=d)}a.o.Dm&&-1!=c.o[0].u&&c.o[0].ud.u&&(c=Tu(d),c.pr=""+b.A.length,a.P.w&&(c.sk="1"),a.uc("nosq",d.G+";"+Sv(c))),d=k.pj(d));a.Z&&d.o.forEach(function(l){l.type=6}); return d}; Xia=function(a,b,c){if(!hG(b)||!b.o.Cc())return!1;a=Math.min(15,.5*iH(a,b,!0));return iG(b)||c<=a}; Yia=function(a,b,c){b=a.o.di(a,b);if(b.range&&1d&&(b=a.o.di(a,b.range.length-c.Oa))}return b}; Zia=function(a,b){var c=qy(b),d=a.O;var e=Math.min(2.5,gx(d.u));d=qG(d);e=c-e*d;d=Ou(b.o[0]);var f=gt(b.u.o),k=a.o.V,l;a.Ja?l={gf:d,Sr:f,Mr:k,qG:a.Ja,Ma:b.o[0].u,be:b.be}:l={gf:d,Sr:f,Mr:k};return new jia(a.V,c,e,l)}; lH=function(a,b){Pu(b.o[b.o.length-1])&&oH(a,Fia(a.F,b.o[0].o));var c=Zia(a,b);a.o.DB&&(c.G=[]);var d=new EE(a.o,b,c,a.na);c.Ba=function(){return ria(d)?d.A.un&&window.performance&&window.performance.now&&d.o&&d.o.aj()&&RE(d)&&CE(d.o)?d.info.o[0].o.info.video?3:4:2:1}; oia(d,(0,g.x)(a.GM,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.ca=Jia(a.F));a.Z&&(d.da=!0);d.start(Math.max(0,b.o[0].F-a.C));return d}; oH=function(a,b){b&&a.R("videoformatchange",b)}; pH=function(a,b){var c=b.info.o[0].o,d=c.info.video?a.u:a.A;$ia(a,d,b);b.info.gf()&&!ny(b.info)&&((0,g.y)(b.u.o,function(e){d.w.uo(e)}),a.o.gn||a.R("metadata",c)); a.o.yd&&RF(d);return!!TF(d)}; $ia=function(a,b,c){if(a.B.u&&b&&(b.G&&(5<=c.state||RE(c),b.G=!1),c.S&&a.ya.w(1,c.S),c.o&&(c.V=parseInt(c.o.Wc("X-Head-Seqnum"),10)),b=c.V)){a=a.B;for(var d in a.o)c=a.o[d].index,c.u&&(c.w=Math.max(c.w,b))}}; qH=function(a,b,c){a:{b=b.info;var d=a.o.Zu,e=null,f=b.o[0];if(b.range)e=Lu(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=Lu(0,4096)}else if(f.o.info.video){c=null;break a}b=new Nu(5,f.o,e,"createProbeRequestInfo_"+f.G,f.u);b=new my([b]);b.C=c;c=b}c&&lH(a,c)}; uH=function(a){var b=a.w.o,c=a.w.u;a.A.o.F&&rH(b,a.A.o.F);if(aja(a)){if(a.o.zm){if(!b.Ph()){var d=TF(a.A);d&&sH(a,b,d)}c.Ph()||(b=TF(a.u))&&sH(a,c,b)}}else{if(a.G){d=a.G;var e=a.A,f=Zv(a.w.u.Ad());if(d.B)d=Lia(d,f);else{if(f=TF(e)){var k=f.u;k&&k.B&&k.w&&(e=e.A.length?e.A[0]:null)&&3<=e.state&&7!=e.state&&0==e.info.be&&RE(e)&&(d.B=e,d.H=k,d.w=f.info,d.C=(0,g.H)()/1E3,d.G=d.C,d.F=d.w.startTime)}d=NaN}d&&a.R("seekplayerrequired",d,!0)}d=!1;tH(a,a.u,c)&&(d=!0,c=a.ga,c.w||(c.w=(0,g.H)(),c.cd("vda"),aB("vda"), c.u&&Rp(4)));c=TF(a.u);a.o.ya&&!d&&c&&(a.Gb||a.uc("sbp",a.w.u.Ya({ns:Uu(c.info)})),a.Gb=!0);a.w&&!iw(a.w)&&(tH(a,a.A,b)&&(b=a.ga,b.u||(b.u=(0,g.H)(),b.cd("ada"),aB("ada"),b.w&&Rp(4)),d=!0),!a.la()&&a.w&&(!a.o.ea&&ZF(a.u)&&ZF(a.A)&&fw(a.w)&&!a.w.de()&&(b=PF(a.A).o,b==a.B.o[b.info.id]&&(b=a.w,fw(b)&&b.w.endOfStream(),b=a.V,Pw(kx(b)),b.B=bx()),a.o.Cm&&(b=(0,g.N)(),c=new Uint8Array(524288),e=new Uint8Array((new Uint8Array(524288)).buffer,1),(new Uint8Array(c.buffer,1)).set(e),a.uc("arrayBench","dur."+ ((0,g.N)()-b)))),d&&!kw(a.w)&&g.Bn(a.ca)))}}; aja=function(a){if(a.o.Ja)return!1;var b;if(!(b=mG(a.u))&&(b=a.P.w)){b=a.O;var c=a.u,d=a.A;if(0==c.A.length&&0==d.A.length)b=!0;else{var e=0,f=c.w.Dn().concat(d.w.Dn());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)/rG(b)}(b=!b)||(b=a.u,b=0a.C||360f)){a:if(a.o.ya&&a.uc("sba",c.Ya({as:Uu(d.info)})),f=d.w?d.info.o.o:null,k=Js(d.o),d.w&&(k=new Uint8Array(k.buffer,0,k.byteOffset+k.length)),f=vH(a,c,k,d.info,f),"s"==f)c=!0;else{a.o.fv||(c.abort(),eG(b));if("i"==f||"x"== f)wH(a,"checked",f,d.info);else{if("q"==f&&(d.info.isVideo()?(f=a.o,f.C=Math.floor(.8*f.C),f.ca=Math.floor(.8*f.ca),f.B=Math.floor(.8*f.B)):(f=a.o,f.F=Math.floor(.8*f.F),f.Ba=Math.floor(.8*f.Ba),f.B=Math.floor(.8*f.B)),c.supports(2)&&!c.de()&&!a.w.isView())){f=!1;k=c.Ad();for(var l=0;!f&&ld.info.B&&(c.remove(k.start(l),k.end(k.length-1)),f=!0);k=Math.max(0,Math.min(a.C,d.info.startTime)-5);!f&&k&&c.remove(0,k);c=!1;break a}a.R("reattachrequired")}c=!1}f=!c}if(f)return!1;b.w.wo(); UF(b,d);e&&(b=d.info.o.H)&&a.R("newDrmInfo",b.type,b.key);return!0}; wH=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&&!GG(a.F)&&FG(a.F,d.o)):"i"==c&&(15>a.Wa?(a.Wa++,e="html5.invalidstate",f=!1):e="fmt.unplayable");d=Tu(d);d.mrs=a.w.w.readyState;d.origin=b;d.reason=c;gH(a,f,e,d)}; yH=function(a,b,c){if(c&&a.o.nb){var d=a.H&&a.J&&a.H.Ma==a.J.Ma-1;d=a.H&&d&&"stop"!=a.H.Qc.event&&"predictStart"!=a.H.Qc.event;a.J&&a.J.Ma=c||(c=new Ct(a.H.Qc.startSecs-(a.o.Xb&&!isNaN(a.S)?a.S:0),c,a.H.Qc.context,a.H.Qc.identifier,"stop",a.H.Qc.o+1E3*b.duration),a.uc("cuepointdiscontinuity","segNum."+b.Ma),a.FA(c,b.Ma))}}; iH=function(a,b,c){if(a.ea)return 1;var d=b.o.info.audio?a.o.F:a.o.C;!a.o.na&&HG(a.F)&&(d=Math.max(d,b.o.info.audio?a.o.Ba:a.o.ca));c&&(d+=a.o.za);var e=HG(a.F)?b.u?b.u.o.info.o:b.o.info.o:b.P;d/=e;0c&&a.uc("bwcapped","1",!0),c= Math.max(c,15),d=Math.min(d,c));return d}; Uia=function(a){if(!a.fb)return Infinity;var b=(0,g.ve)(VG(a.fb),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}; bja=function(a,b){var c=WF(a.u).find(function(d){return d.startTime>=b&&$G(a,d.startTime,!1)}); return c&&c.startTime=b&&(a=.75*b),c=.5*(b-a),a=new CH(c,b,b-c-a,this)):a=null;break a;case "widevine":a=new aI(g.Q(b,"disable_license_delay"),c,this);break a}a=null}if(this.G=a)g.C(this,this.G),this.G.subscribe("rotated_need_key_info_ready",this.Qv,this);cI(this,"cks"+this.o.Zd());a=this.o;"com.youtube.widevine.forcehdcp"=== a.o&&a.A&&(this.xa=new ZH(this.T.Le,this.u.experiments),g.C(this,this.xa))}; gI=function(a,b,c){a.na=!0;c=new $E(b,c);g.Q(a.u.experiments,"html5_eme_loader_sync")?(a.F.get(b)||a.F.set(b,c),eI(a,c)):0!=a.A.length&&a.T.va&&a.T.va.o?fI(a):eI(a,c)}; hI=function(a,b,c){cI(a,"onndrminf");b=new $E(c,b);g.Q(a.u.experiments,"html5_eme_loader_sync")&&(a.B.get(c)||a.B.set(c,b));eI(a,b)}; iI=function(a,b){g.Q(a.u.experiments,"html5_eme_loader_sync")&&(a.B.get(b.initData)||a.B.set(b.initData,b));eI(a,b)}; rja=function(a,b){if(jz(a.o)&&!a.Z){var c=tia(b);if(0!=c.length){var d=new $E(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){qja(a,f,d)})},null)}}}; qja=function(a,b,c){var d=b.createSession(),e=a.w.values[0],f=kja(e);d.addEventListener("message",function(k){k=new Uint8Array(k.message);WH(k,d,a.o.w,f,"playready")}); d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(k,l){"usable"==l&&(a.ca=!0,jI(a,UH(e,a.ca)))})}); d.generateRequest("cenc",c.initData)}; eI=function(a,b){if(!a.la()){if(g.Q(a.u.experiments,"html5_eme_loader_sync")&&a.T.va&&a.T.va.o){var c=a.B.get(b.initData),d=a.F.get(b.initData);if(!c||!d)return;b=c;c=b.initData;a.F.remove(c);a.B.remove(c)}cI(a,"initd"+b.initData.length+"ct"+b.contentType);"widevine"==a.o.flavor?a.ea&&!a.T.ua||g.Q(a.u.experiments,"vp9_drm_live")&&a.T.ua&&!b.u||(a.ea=!0,aF(b),a.R("widevine_set_need_key_info",b)):a.Qv(b)}}; kI=function(a){a.la()||(a.U=!0,cI(a,"onmdkrdy"),fI(a))}; fI=function(a){if(a.na&&a.U&&!a.O){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}aF(b);break}if(a.A.length){b=a.A[0];a.w.get(b.initData);a.O=!0;var c=new PH(a.T,a.u,a.P,b,a,a.sa);a.w.set(b.initData,c)}}}; jI=function(a,b){var c=Iw("auto",b,!1,"l");if(g.Q(a.u.experiments,"html5_drm_initial_constraint_from_config")?a.T.qk:g.Q(a.u.experiments,"html5_drm_start_from_null_constraint")){if(Hw(a.H,c))return}else if(Nw(a.H,b))return;a.H=c;a.R("qualitychange");cI(a,"updtlq"+b)}; cI=function(a,b){WB(a.T)&&a.kc.R("ctmp","drmlog",b)}; lI=function(a,b,c,d){this.videoData=a;this.o=b;this.reason=c;this.u=d}; sja=function(a,b){this.videoData=a;this.va=b}; tja=function(a,b,c){return b.Om(c).then(function(){return(a.fa("disable_index_range_auth")||!b.Kn||!b.va.o||b.Pe()||b.Tk()?0:/(&|,|^)init=0-0(&|,|$)/.test(b.adaptiveFormats))?br(new Rv("auth",!0,{init:"1"})):cr(new sja(b,b.va))},function(d){d instanceof Error&&g.Jo(d); d=b.ua&&!g.Bw(a.w)?"html5.unsupportedlive":"fmt.noneavailable";var e={buildRej:"1",a:""+ +!!b.adaptiveFormats,d:""+ +!!b.Xd,f18:""+ +(0<=b.Tj.indexOf("itag=18")),c18:""+ +Hv('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f43:""+ +(0<=b.Tj.indexOf("itag=43")),c43:""+ +Hv('video/webm; codecs="vp8.0, vorbis"')};b.ka&&(e.f133=""+ +!!b.ka.o["133"],e.f140=""+ +!!b.ka.o["140"],e.c140=""+ +Jv('audio/mp4; codecs="mp4a.40.2"'),e.f242=""+ +!!b.ka.o["242"],e.c242=""+ +Jv('video/webm; codecs="vp9"'));return new Rv(d, !0,e)})}; mI=function(a,b){g.P.call(this);this.o=a;this.P=b;this.J=this.C=this.F=this.w=this.u=this.B=this.H=this.A=0;this.G=1}; oI=function(a,b,c){!g.Q(a.o.experiments,"html5_tv_ignore_capable_constraint")&&g.Jx(a.o)&&(c=Lw(c,nI(a,b)));return c}; nI=function(a,b){if(g.Jx(a.o)&&nw(a.o.w,rw))var c=b.va.videoInfos[0].wa().ac;else{var d=!!b.va.o;Ax(a.o)&&(c=window.screen&&window.screen.width?new g.Ud(window.screen.width,window.screen.height):null);c||(c=a.o.Gf?a.o.Gf.clone():a.P.getPlayerSize());if(Cx||pI||d){d=c;var e=g.Sx();d.width*=e;d.height*=e}kB(b.videoData)||UB(b.videoData);var f=b.va.videoInfos;if(f.length){d=.85;e=f[0].wa();4!=e.projectionType&&2!=e.projectionType&&3!=e.projectionType||yx||(d=.45);e=f[0];var k=e.wa();f=g.q(f);for(var l= f.next();!l.done&&!(e=k=l.value,k=k.wa(),null===c||k.width*d(0,g.N)()-a.B?0:f||0k?a.w+1:0;if(!e||g.Jx(a.o)||!rI(a,b))return!1;a.u=d>e?a.u+1:0;if(3!=a.u)return!1;sI(a,b.videoData.Aa);a.R("ctmp","dfd",tI());return!0}; rI=function(a,b){if(g.Q(a.o.experiments,"html5_restore_perf_cap"))return!0;if(!b.videoData.Aa)return!1;if("1"==b.videoData.Aa.u)return!0;var c=a.o.o?240:360;return b.videoData.Aa.wa().ac>c}; sI=function(a,b){var c=b.wa().ac-1;Tw(b.u,b.wa().fps,c);a.o.ne=new Gw(0,c,!1,"b")}; uI=function(a,b){if(g.Q(a.o.experiments,"html5_restore_perf_cap")){for(var c=0,d=a.o.o?240:360,e=g.q(b.va.videoInfos),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.u,l=f.wa().fps;k=+Sw()[Rw(k,l)]||0;f=f.wa().ac;if(!k||Math.max(k,d)>=f){c=f;break}}return new Gw(0,c,!1,"b")}return a.o.ne}; vI=function(a,b){g.Q(a.o.experiments,"html5_log_media_perf_info")&&(a.R("ctmp","perfdb",tI()),a.R("ctmp","hwc",""+navigator.hardwareConcurrency,!0),b&&a.R("ctmp","mcdb",b.va.videoInfos.filter(function(c){return!1===c.w}).map(function(c){return Vu(c)}).join("-")))}; tI=function(){var a=Db(Sw(),function(b){return""+b}); return Sv(a)}; wI=function(a,b){g.A.call(this);this.o=a;this.V=b;this.w=-1;this.O=!1;this.A=-1;this.u=new g.qD;this.P=this.U=this.S=this.G=this.F=this.J=0;this.B=new g.I(this.C,6E4,this);g.C(this,this.B);this.H=!1}; xI=function(a){0<=a.w||(3==a.o.getVisibilityState()?a.O=!0:(a.w=g.kD(a.o),a.B.start()))}; yI=function(a){if(!(0>a.A)){var b=g.kD(a.o),c=b-a.J;a.J=b;8==a.u.o?a.F+=c:g.AD(a.u)&&!g.W(a.u,16)&&(a.G+=c)}}; zI=function(a){var b=g.nv(a.eb.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.eb.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"}; wja=function(a){return(!a.fa("html5_health_to_gel")||a.eb.ra+36E5<(0,g.N)())&&(a.fa("html5_health_to_gel_canary_killswitch")||a.eb.ra+36E5<(0,g.N)()||"HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"==zI(a))?a.fa("html5_health_to_qoe"):!0}; BI=function(a){g.A.call(this);var b=this;this.o=a;this.u={};this.U=1;this.ra=NaN;this.w="N";this.F=this.za=this.sa=this.ea=this.C=0;this.V=this.Ba="";this.na=0;this.Fa=-1;this.ya=1;this.O=this.S=0;this.ca=this.P=!1;this.Ja=[];this.G=null;this.H=this.Z=this.A=!1;this.B=-1;this.ga=!1;this.Ha=new g.I(this.yF,750,this);g.C(this,this.Ha);(a=navigator.getBattery?navigator.getBattery():null)&&a.then&&a.then(function(c){b.G=c}); g.AI(this,0,"vps",["N"]);this.Na=g.R(this.o.eb.experiments,"html5_qoe_length")||1E3}; g.AI=function(a,b,c,d){var e=a.u[c];e||(e=[],a.u[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))}; DI=function(a,b){var c=a.o.o();g.AI(a,b,"cmt",[c.toFixed(3)]);if(a.o.fa("html5_gllat")&&a.J&&1E3*c>a.J.kA+100){var d=a.J;a.da=1E3*b-d.tO-(1E3*c-d.kA)-d.jO;CI(a,"gllat","l."+a.da.toFixed());delete a.J}}; FI=function(a,b){b=0<=b?b:g.kD(a.o);var c=a.o.w();if(!isNaN(a.xa)&&!isNaN(c.w)){var d=c.w-a.xa;0a.Na&&(new g.I(a.Fj,0,a)).start()}; HI=function(a,b,c,d){var e=a.o.o();c=[c,e.toFixed(3)];d&&c.push(d);g.AI(a,b,"error",c);a.H=!0}; II=function(a){!a.o.fa("html5_qoe_user_intent_match_health")||0<=a.B||(a.o.eb.Ba||3!=a.o.getVisibilityState()?a.B=g.kD(a.o):a.ga=!0)}; yja=function(a,b){if(g.W(b,128))return"ER";if(g.W(b,512))return"SU";if(g.W(b,16)||g.W(b,32))return"S";var c=xja[BD(b)];g.Jx(a.o.eb)&&"B"==c&&3==a.o.getVisibilityState()&&(c="SU");"B"==c&&g.W(b,4)&&(c="PB");return c}; JI=function(a,b){var c=a.u.cat||[];c.push(b);a.u.cat=c}; CI=function(a,b,c,d){var e=a.u.ctmp||[],f=-1!=a.Ja.indexOf(b);f||a.Ja.push(b);if(!d||!f){!a.o.fa("html5_censor_ctmp_killswitch")&&/[^a-zA-Z0-9;.!_-]/.test(c)&&(c=c.replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_"));if(!d){var k=1E3*g.kD(a.o);c="t."+k.toFixed()+";"+c}zja(b,c);e.push(b+":"+c);a.u.ctmp=e;GI(a);return k}}; KI=function(a){g.A.call(this);var b=this;this.A=a;this.w=this.o=this.u=null;this.A.videoData.isValid()&&!this.A.videoData.Lj&&(this.u=new HD(a),g.C(this,this.u),this.o=new BI(a),g.C(this,this.o));wja(a)&&(this.w=new wI(a,function(c){b.o&&CI(b.o,"h5h",c,void 0)}),g.C(this,this.w))}; g.LI=function(a){a.u&&aD(a.u.u)}; Aja=function(a,b){a.u&&QD(a.u,b)}; Bja=function(a){if(!a.u)return null;var b=JD(a.u,"atr");return function(c){a.u&&QD(a.u,c,b)}}; MI=function(a){return a.u?Zha(a.u):function(){}}; Cja=function(a){this.A=new oC(50);this.o=null;this.w=this.u=0;this.B=a}; OI=function(a,b,c){g.P.call(this);var d=new Dja;"ULTRALOW"==a.latencyClass&&(d.A=!1);a.cg?d.u=3:g.KB(a)&&(d.u=2);g.Q(b,"html5_adaptive_seek_to_head_killswitch")||"NORMAL"!=a.latencyClass||(d.C=!0);var e=wB(a);d.B=2==e||-1==e;d.B&&(d.J++,21530001==tB(a)&&(d.F=g.R(b,"html5_jumbo_ull_nonstreaming_mffa_ms")||NaN));if(el("trident/")||el("edge/"))e=g.R(b,"html5_platform_minimum_readahead_seconds")||3,d.w=Math.max(d.w,e);g.R(b,"html5_minimum_readahead_seconds")&&(d.w=g.R(b,"html5_minimum_readahead_seconds")); g.R(b,"html5_maximum_readahead_seconds")&&(d.G=g.R(b,"html5_maximum_readahead_seconds"));g.Q(b,"html5_force_adaptive_readahead")&&(d.A=!0);g.R(b,"html5_allowable_liveness_drift_chunks")&&(d.o=g.R(b,"html5_allowable_liveness_drift_chunks"));g.R(b,"html5_readahead_ratelimit")&&(d.H=g.R(b,"html5_readahead_ratelimit"));switch(tB(a)){case 21530001:d.o=(d.o+1)/5,"LOW"==a.latencyClass&&(d.o*=2),d.P=g.Q(b,"html5_live_smoothly_extend_max_seekable_time")}this.o=d;this.T=a;this.H=c;this.w=[];this.B=0;this.A= !0;this.C=1!=this.o.u;this.F=!1;this.G=0;b=isNaN(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.cg&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(tB(a)){case 21530001:b=1;break;case 2153E4:b=2}this.o.B&&b++;this.u=NI(this,b)}; QI=function(a,b){var c=a.u;(void 0===b?0:b)&&a.o.P&&3==wB(a.T)&&--c;return PI(a)*c}; SI=function(a,b){var c=RI(a);var d=a.o.o;a.F||(d=Math.max(d-1,0));d*=PI(a);return b>=c-d}; RI=function(a){return Math.max(a.H()-QI(a,!0),a.T.zb())}; TI=function(a,b,c){b=SI(a,b);c||b?b&&(a.A=!0):a.A=!1;a.C=2==a.o.u||3==a.o.u&&a.A}; UI=function(a,b){var c=SI(a,b);a.F!=c&&a.R("livestatusshift",c);a.F=c}; PI=function(a){return a.T.ka?dz(a.T.ka)||5:5}; NI=function(a,b){b=Math.max(Math.max(a.o.J,Math.ceil(a.o.w/PI(a))),b);return Math.min(Math.min(8,Math.floor(a.o.G/PI(a))),b)}; Dja=function(){this.J=1;this.w=0;this.G=Infinity;this.H=0;this.A=!0;this.o=2;this.u=1;this.B=!1;this.F=NaN;this.P=this.C=!1}; XI=function(a,b){g.A.call(this);this.u=a;this.F=b;this.B=new g.qD;this.w=this.A=null;this.H=this.J=this.o=0;this.G=new g.I(this.S,1001,this);g.C(this,this.G);this.ca=new VI({delayMs:g.R(this.u.experiments,"html5_seek_timeout_delay_ms")});this.O=new VI({delayMs:g.R(this.u.experiments,"html5_long_rebuffer_threshold_ms")});this.da=WI(this,"html5_seek_set_cmt");this.V=WI(this,"html5_seek_jiggle_cmt");this.Z=WI(this,"html5_seek_new_elem");this.P=WI(this,"html5_decoder_freeze_timeout");this.U=WI(this,"html5_reload_element_long_rebuffer"); this.C={}}; WI=function(a,b){var c=g.R(a.u.experiments,b+"_delay_ms"),d=g.Q(a.u.experiments,b+"_cfl");return new VI({delayMs:c,uw:d})}; ZI=function(a,b,c,d,e,f,k){Eja(b,c)?(d=YI(a,b),d.wn=k,d.wdup=a.C[e]?"1":"0",a.F("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=YI(a,b),f.wn=k,f.we=e,f.wsuc=""+ +d,k=Sv(f),a.F("ctmp","workaroundReport",k),d&&(b.reset(),a.C[e]=!1)))}; YI=function(a,b){var c=b.Ya();a.o&&(c.stt=a.o.toFixed(3));a.w&&Object.assign(c,a.w.Ya());a.A&&Object.assign(c,a.A.Ya());return c}; VI=function(a){a=void 0===a?{}:a;var b=void 0===a.mO?1E3:a.mO,c=void 0===a.nO?3E4:a.nO,d=void 0===a.uw?!1:a.uw;this.A=void 0===a.delayMs?0:a.delayMs;this.G=b;this.B=c;this.F=d;this.reset()}; Eja=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}; dJ=function(a,b){g.P.call(this);var c=this;this.S=b;this.T=a;this.U=new Fja(b);this.J=new XI(this.S,this.R.bind(this));var d={};this.Z=(d.seekplayerrequired=this.yO,d.videoformatchange=this.tI,d);$I(this,"html5_unrewrite_timestamps")?this.Z.timestamp=this.HO:this.Z.timestamp=this.GO;this.sa=null;this.ra=new g.O;g.C(this,this.ra);this.H=this.w=this.B=this.o=null;this.u=NaN;this.F=0;this.C=null;this.ca=NaN;this.G=this.P=null;this.ga=this.O=!1;this.V=new g.I(function(){return aJ(c,!1)},this.U.o); g.C(this,this.V);this.ea=new g.I(function(){c.O=!0;bJ(c)}); g.C(this,this.ea);this.za=new g.I(function(){return cJ(c)}); g.C(this,this.za);this.na=this.A=0;this.da=!0;this.xa=0;this.ya=NaN}; Gja=function(a,b){a.sa=b;a.T.ua&&(a.H=new Cja(function(){a:{if(a.sa&&a.sa.va.o){if(sB(a.T)&&a.B){var c=a.B.ya.o()||0;break a}if(a.T.ka){c=a.T.ka.G;break a}}c=0}return c}),a.w=new OI(a.T,a.S.experiments,function(){return a.sc(!0)})); a.T.startSeconds&&isFinite(a.T.startSeconds)&&1E9=a.sc()-.1)a.u=a.sc(),a.C.resolve(a.sc()),a.R("ended");else try{var c=a.u-a.A;a.o.seekTo(c);a.J.o=c;a.ca=c;a.F=a.u}catch(d){}}}; pJ=function(a){if(!a.o||0==a.o.fe()||0=c)){for(var d=2*a.u.length;dd;d++)a.w.setUint8(a.o,c&127|128),c>>=7,a.o+=1;b=Math.floor(b/268435456)}for(AJ(a,4);127>=7,a.o+=1;a.w.setUint8(a.o,b);a.o+=1}; CJ=function(a,b,c){BJ(a,b<<3|2);b=c.length;BJ(a,b);AJ(a,b);a.u.set(c,a.o);a.o+=b}; DJ=function(a,b,c){a.A||(a.A=new TextEncoder);c=a.A.encode(c);CJ(a,b,c)}; EJ=function(a){return new Uint8Array(a.u.buffer,0,a.o)}; FJ=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}; GJ=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}; HJ=function(){}; IJ=function(a){this.u=a.client}; JJ=function(a){this.u=a;this.A=this.o=0;this.w=-1}; KJ=function(a){var b=Ms(a.u,a.o);++a.o;if(128>b)return b;for(var c=b&127,d=1;128<=b;)b=Ms(a.u,a.o),++a.o,d*=128,c+=(b&127)*d;return c}; LJ=function(a,b){for(a.A=b;a.o+1<=a.u.o;){var c=a.w;0>c&&(c=KJ(a));var d=c>>3,e=c&7;if(d==b)return!0;if(d>b){a.w=c;break}switch(e){case 0:KJ(a);break;case 1:a.o+=8;break;case 2:c=KJ(a);a.o+=c;break;case 5:a.o+=4}}return!1}; MJ=function(a,b){var c=void 0===c?null:c;if(!LJ(a,b))return c;c=KJ(a);var d=Js(a.u,a.o,c);a.o+=c;return d}; Nja=function(a){this.iv=MJ(new JJ(a),5)}; Oja=function(a){a=new JJ(a);var b=-1;b=void 0===b?0:b;this.o=LJ(a,1)?KJ(a):b;0===this.o&&(a=MJ(a,4),this.u=new Nja(new Cs([a])))}; NJ=function(a){var b=a.videoId;this.u=a.UF;this.w=b}; OJ=function(a){var b=a.httpHeaders,c=a.postBody;this.w=a.url;this.u=b;this.A=c}; Pja=function(a){this.body=MJ(new JJ(a),4)}; PJ=function(a){this.u=a.xE}; QJ=function(a,b){if(b+1<=a.o){var c=Ms(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.o))return[-1,b];if(1===c)c=Ms(a,b++);else if(2===c){c=Ms(a,b++);var d=Ms(a,b++);c=(c&63)+64*d}else if(3===c){c=Ms(a,b++);d=Ms(a,b++);var e=Ms(a,b++);c=(c&31)+32*(d+256*e)}else if(4===c){c=Ms(a,b++);d=Ms(a,b++);e=Ms(a,b++);var f=Ms(a,b++);c=(c&15)+16*(d+256*(e+256*f))}else c=b+1,Gs(a,c),c-a.A+4<=a.u[a.w].length?c=Hs(a).getUint32(c-a.A,!0):(d=Ms(a,c+2)+256*Ms(a,c+3),c=Ms(a,c)+256*(Ms(a,c+1)+256* d)),b+=5;return[c,b]}; RJ=function(a){this.o=new Cs;this.u=a}; SJ=function(a){var b=g.q(QJ(a.o,0));var c=b.next().value;var d=b.next().value;d=g.q(QJ(a.o,d));b=d.next().value;d=d.next().value;!(0>c||0>b)&&d+b<=a.o.o&&(d=a.o.split(d).wp.split(b),b=d.Ox,d=d.wp,a.u(c,b),a.o=d,SJ(a))}; TJ=function(a){var b=this;this.T=a;this.w=new yJ(this.T.Ht);this.G=new RJ(function(c,d){switch(c){case 10:var e=new Oja(d);switch(e.o){case 0:b.F=e.u.iv}b.C=e.o;break;case 11:switch(b.C){case 0:Qja(b,d)}b.C=null}}); this.A=new sG;this.B=!1}; UJ=function(a){for(;a.o.eg();){var b=a.o.so();a.G.feed(b)}}; Qja=function(a,b){var c,d,e,f;Da(function(k){if(1==k.o)return a.B=!0,c=Js(b),ua(k,a.w.decrypt(c,a.F),2);d=k.u;e=new Pja(new Cs([d]));f=e.body;a.Ia=(new TextDecoder).decode(f);a.A.resolve(a.Ia);k.o=0})}; Rja=function(a){if(!a.T.It.length)return"";var b=new ct(a.T.It);b.set("ack","1");b.set("cpn",a.T.clientPlaybackNonce);b.set("opr","1");b.set("pvi","135");b.set("pai","140");return dt(b)}; Tja=function(a){var b,c;return Da(function(d){if(1==d.o)return ua(d,Sja(a),2);b=d.u;c={xE:b};return d["return"](new PJ(c))})}; Sja=function(a){var b,c,d,e,f;return Da(function(k){if(1==k.o)return ua(k,Uja(a),2);if(3!=k.o)return b=k.u,c=a.w.o.encryptedClientKey,d=a.w.u,ua(k,Mja(a.w,b),3);e=k.u;f={encryptedOnesiePlayerRequest:b,encryptedClientKey:c,iv:d,hmac:e};return k["return"](new GJ(f))})}; Uja=function(a){var b,c,d;return Da(function(e){switch(e.o){case 1:var f=a.T.N().Xg;f="https://youtubei.googleapis.com/youtubei/"+f.innertubeApiVersion+"/player?key="+f.innertubeApiKey;var k=[];k.push(new HJ);var l=a.T.N().Xg;b=new OJ({url:f,httpHeaders:k,postBody:new NJ({UF:new IJ({client:new FJ({hl:l.Ok,gl:l.Nk,deviceId:"Rory",userAgent:g.Mc,clientName:56,clientVersion:l.innertubeContextClientVersion})}),videoId:a.T.videoId})});e.B=2;return ua(e,a.w.encrypt(b.o()),4);case 4:c=e.u;va(e,3);break; case 2:return wa(e),d=new Rv("onesie.request.encrypt",!1),e["return"](Promise.reject(d));case 3:return e["return"](c)}})}; Zja=function(a,b,c){a.Dd=!0;return Vja(a.N())?Wja(a).then(function(){return Xja(a)}).then(function(){return Yja(a)})["catch"](function(d){d=Tv(d); if(d.o)return Promise.reject(d);c(d);return VJ(a,b,c)}):VJ(a,b,c)}; Vja=function(a){return g.Q(a.experiments,"html5_onesie")&&g.Q(a.experiments,"html5_onesie_player_config")&&g.Xx(a)&&"yt"==a.O?!0:!1}; Wja=function(a){if(!a.Ht)return Promise.reject(new Rv("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{Nq(new Lq("b/152131571",btoa(b)))}catch(z){}return u["return"](Promise.reject(new Rv(t,!0,{backend:"gvi"})))}})}; $ja=function(a,b){var c,d,e,f,k,l,m,n,p,t,u,z;return Da(function(B){if(1==B.o)return c=a.N(),d={format:"RAW",method:"GET",withCredentials:!0,timeout:3E4},e={},c.sendVisitorIdHeader&&a.visitorData&&(e["X-Goog-Visitor-Id"]=a.visitorData),(f=g.nv(c.experiments,"debug_dapper_trace_id"))&&(e["X-Google-DapperTraceInfo"]=f),(k=g.nv(c.experiments,"debug_sherlog_username"))&&(e["X-Youtube-Sherlog-Username"]=k),0b.startSeconds){var c=b.endSeconds;a.V&&(a.removeCueRange(a.V),a.V=null);a.V=new g.UD(1E3*c,0x7ffffffffffff);a.V.namespace="endcr";a.addCueRange(a.V)}}; wK=function(a,b,c,d){a.T.Aa=c;d&&vK(a,b,d);var e=(d=g.xC(a))?Vu(d):"";d=a.B;e=new lI(a.T,c,b,e);if(d.o){c=d.o;d=g.kD(c.o);g.AI(c,d,"vfs",[e.o.id,e.u,c.Ba,e.reason]);c.Ba=e.o.id;e=c.o.F();if(0=a.start);return b}; DK=function(a,b){if(a.o&&b.gb()==a.o.gb()&&(b.isView()||a.o.isView())){if(b.isView()||!a.o.isView())g.yr(a.ya),a.o=b,BK(a),hJ(a.C,a.o)}else{a.o&&CK(a);if(!a.u.isError()){var c=uD(a.u,512);g.W(c,8)&&!g.W(c,2)&&(c=tD(c,1));b.isView()&&(c=uD(c,64));iK(a,c)}a.o=b;a.o.setLoop(a.Jc);a.o.setPlaybackRate(a.Wa);BK(a);hJ(a.C,a.o)}}; CK=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)}if(m=k=g.R(b.o.experiments,"html5_hfr_quality_cap"))a:{m=c.va;if(m.o)for(m=g.q(m.videoInfos),l=m.next();!l.done;l=m.next())if(32b.o;c||d||b?a.R("reattachrequired"):(iG(a.u)&&kH(a,a.u,a.A),g.Bn(a.ca))}}}; KK=function(a){YJ(a,"html5_nonblocking_media_capabilities")?IK(a):JK(a)}; MK=function(a){yga(a.T.ka,{cpn:a.T.clientPlaybackNonce,c:a.A.deviceParams.c,cver:a.A.deviceParams.cver});var b=a.A,c=a.T,d=new g.gy,e=fy(b,{hasSubfragmentedFmp4:c.hasSubfragmentedFmp4,bj:c.bj});d.u=e;d.Bg=b.fa("html5_unify_sqless_flow");d.U=b.fa("html5_accurate_seeking_redux");d.Ra=b.fa("html5_emsg_crypto_period_index");d.ov=b.fa("html5_seek_accuracy_allowance_killswitch");d.Xb=b.fa("html5_unrewrite_timestamps");b.fa("html5_streaming_xhr")&&(d.H=!0);b.fa("html5_streaming_debug")&&(d.H=!0,d.S=!0); g.R(b.experiments,"html5_max_av_sync_drift")&&(d.wC=g.R(b.experiments,"html5_max_av_sync_drift"));d.Gb=b.fa("html5_stop_overlapping_requests");d.Ha=g.R(b.experiments,"html5_min_readbehind_secs");d.PC=g.R(b.experiments,"html5_min_readbehind_cap_secs");g.Jx(b)&&(d.Ha=g.R(b.experiments,"tvhtml5_min_readbehind_secs"));d.zm=b.fa("html5_append_init_while_paused");d.hd=g.R(b.experiments,"html5_max_readahead_bandwidth_cap");d.Fm=b.fa("html5_disable_non_contiguous");d.oe=g.R(b.experiments,"html5_post_interrupt_readahead"); d.dd=b.fa("html5_log_quota_exceeded");d.O=g.R(b.experiments,"html5_subsegment_readahead_target_buffer_health_secs");d.Wb=g.R(b.experiments,"html5_subsegment_readahead_timeout_secs");d.Dv=g.R(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs");d.Rb=g.R(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.Fv=g.R(b.experiments,"html5_subsegment_readahead_min_load_speed");d.Ag=g.R(b.experiments,"html5_subsegment_readahead_load_speed_check_interval");d.Gv=g.R(b.experiments, "html5_subsegment_readahead_seek_latency_fudge");d.Wa=b.fa("html5_peak_shave");d.Qu=b.fa("html5_peak_shave_always_include_sd");d.jv=b.fa("html5_restrict_streaming_xhr_on_sqless_requests");d.LC=g.R(b.experiments,"html5_max_headm_for_streaming_xhr");d.Ru=b.fa("html5_pipeline_manifestless_allow_nonstreaming");d.Yu=b.fa("html5_prefer_server_bwe3");d.ak=1024*g.R(b.experiments,"html5_video_tbd_min_kb");d.Zu=b.fa("html5_probe_live_using_range");d.Bv=b.fa("html5_streaming_xhr_buffer_mdat");d.lA=b.fa("html5_last_slice_transition"); d.Gm=b.fa("html5_disable_incomplete_incremental_parse_error");d.zv=b.fa("html5_store_xhr_headers_readable");d.ny=g.R(b.experiments,"html5_incremental_parser_buffer_duration_secs");d.oy=g.R(b.experiments,"html5_incremental_parser_buffer_extra_bytes");d.un=b.fa("html5_enable_packet_train_response_rate");if(e=g.R(b.experiments,"html5_probe_secondary_during_timeout_miss_count"))d.Ef=e,d.Hv=1;d.fb=g.R(b.experiments,"html5_probe_primary_delay_base_ms")||d.fb;d.Na=b.fa("html5_no_placeholder_rollbacks"); d.Cv=b.fa("html5_subsegment_readahead_enable_mffa");b.fa("html5_allow_video_keyframe_without_audio")&&(d.ra=!0);d.Ff=b.fa("html5_reattach_on_stuck");d.Bw=b.fa("html5_webm_init_skipping");d.ym=b.fa("html5_adaptation_fix");d.Eb=g.R(b.experiments,"html5_request_size_padding_secs")||d.Eb;d.Em=b.fa("html5_clamp_with_padding");d.GB=b.fa("html5_log_timestamp_offset");d.nn=b.fa("html5_disable_new_live_flags");d.Hm=b.fa("html5_disable_incremental_traf_timescale");d.Nm=b.fa("html5_disable_manifestless_sqless_sync"); d.dc=b.fa("html5_abs_buffer_health");d.fA=b.fa("html5_interruption_resets_seeked_time");d.gd=g.R(b.experiments,"html5_max_live_dvr_window_plus_margin_secs")||d.gd;d.Hc=b.fa("html5_explicitly_dispose_xhr");d.ZC=b.fa("html5_gapless_no_requests_after_lock");d.Df=g.R(b.experiments,"html5_probe_primary_failure_factor");d.qv=b.fa("html5_skip_invalid_sq");d.yd=b.fa("html5_optimized_polling");d.kd=b.fa("html5_new_mediastream");d.hv=b.fa("html5_restart_on_unexpected_detach");d.Cm=b.fa("html5_benchmark_array_copies"); b.fa("html5_media_common_config_killswitch")||(d.B=c.maxReadAheadMediaTimeMs/1E3||d.B,e=b.schedule,e.u.o()==e.policy.w?d.Z=10:d.Z=c.minReadAheadMediaTimeMs/1E3||d.Z,d.pc=c.readAheadGrowthRateMs/1E3||d.pc);xh&&(d.ca=41943040);d.na=!jw();g.Jx(b)||!jw()?(e=b.experiments,d.C=8388608,d.F=524288,d.Bm=5,d.za=2097152,d.da=1048576,d.dv=1.5,d.Pu=!1,d.J=4587520,jl()&&(d.J=786432),d.o*=1.1,d.w*=1.1,d.xb=!0,d.ca=d.C,d.Ba=d.F,d.ne=g.Q(e,"persist_disable_player_preload_on_tv")||g.Q(e,"persist_disable_player_preload_on_tv_for_living_room")|| !1):b.o&&(d.o*=1.3,d.w*=1.3);g.Iv&&el("crkey")&&(e="CHROMECAST/ANCHOVY"==b.deviceParams.cmodel,d.C=20971520,d.F=1572864,e&&(d.J=812500,d.P=1E3,d.Lv=5,d.da=2097152));!b.fa("html5_disable_firefox_init_skipping")&&g.pw&&(d.xb=!0);b.supportsGaplessAudio()||(d.Gc=!1);tx&&(d.mh=!0);if(sB(c)){d.Ux=!0;d.kv=!1;d.G=b.fa("html5_shrink_live_timestamps");d.ga=d.G||b.fa("html5_manifestless_synchronized");if("ULTRALOW"==c.latencyClass||"LOW"==c.latencyClass&&!b.fa("html5_disable_low_pipeline"))d.lC=2,d.OC=4;d.Mh= c.defraggedFromSubfragments;c.Ob&&(d.nb=!0);g.KB(c)&&(d.U=!1);d.Dm=g.Vx(b)}c.isAd()&&(d.Fa=0,d.Jc=0);uB(c)&&(d.S=!0);vB(c)&&(d.S=!0,d.H=!0);d.sa=b.fa("html5_enable_subsegment_readahead_v3")||b.fa("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==c.latencyClass;d.QB=sB(c);b.fa("html5_new_mediastream_for_live")&&c.Pe()&&(d.kd=!0);d.xa=c.dg;d.DB=d.xa&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||WB(c));/^pp/.test(c.clientPlaybackNonce)&&(d.NF=!0,d.bv=!0);ql()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.deviceParams.cmodel)&& !b.fa("html5_disable_move_pssh_to_moov")&&Py(c.ka)&&(d.xb=!1);Py(c.ka)&&(d.Ff=!1);if(c.ua){e=dz(c.ka);var f=g.R(b.experiments,"html5_live_abr_head_miss_fraction"),k=g.R(b.experiments,"html5_live_abr_repredict_fraction");f&&e&&(d.fd=Math.min(e*f,d.fd));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.ua&&(f=g.R(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.o.u=sB(c)?.5:0;if(!e.policy.u&&f&&(e=e.u,f=Math.round(f*e.P),f!=e.u)){k=Array(f);var l=Math.min(f,e.C?e.u:e.A),m=e.A-l;0>m&&(m+=e.u);for(var n=0;na.T.endSeconds&&isFinite(b)&&(a.removeCueRange(a.V),a.V=null);ba.G.getDuration()&&gw(a.G,c)):gw(a.G,d);var e=a.w,f=a.G;e.Z&&(eH(e),e.Z=!1);dH(e);if(!hw(f)){var k=e.u.o.info.mimeType,l=e.A.o.info.mimeType,m=new bw("fakesb"==l?new Qv:f.w.addSourceBuffer(l),yv(l)),n=new bw("fakesb"==k?new Qv:f.w.addSourceBuffer(k),yv(k));f.o= m;f.u=n;g.C(f,m);g.C(f,n)}OF(e.u,f.u);OF(e.A,f.o);e.w=f;e.resume();zr(f.o,e.za,e);zr(f.u,e.za,e);e.o.GB&&e.uc("toff",""+f.o.supports(1),!0);e.sf();a.R("mediasourceattached");a.kd.stop()}}catch(p){Nq(p),a.ci(new Rv("fmt.unplayable",!0,{msi:"1",ename:p.name}))}})}; RK=function(a){a.w?Nf(a.w.seek(a.getCurrentTime()-a.Ab()),function(){}):MK(a)}; ika=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1}; VK=function(a){return a.Ja||"yt"!=a.A.O?!1:a.T.re?25>a.T.vf:!a.T.vf}; WK=function(a){a.Ja||(a.Ja=!0,a.R("signatureexpired"))}; YK=function(a,b){try{window.location.reload(!0);a.B.onError("qoe.restart",Sv({detail:"pr."+b}));return}catch(c){}YJ(a,"tvhtml5_retire_old_players")&&g.Jx(a.A)&&XK(a)}; ZK=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav}; jka=function(a,b){if(a.o&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.o.Se();b.details.merr=c?c.toString():"0";b.details.msg=a.o.ol()}}; TK=function(a,b,c){var d=g.R(a.A.experiments,"html5_error_cooldown_in_ms")||3E4;if(a.Hc+d>(0,g.H)())return!a.T.re&&(a.A.da+=1,10a-.3)}; eL=function(a){window.clearInterval(a.Gb);a.na.stop();a.T.re=!0;a.A.re=!0;a.A.da=0;dL(a);g.W(a.u,8)&&iK(a,uD(a.u,65));var b=a.B;if(b.u){var c=b.u;if(!c.w){g.Q(c.o.eb.experiments,"disable_embedpage_playback_logging")||16623!=c.o.videoData.ip||g.Jo(Error("Playback for EmbedPage"));var d=JD(c,"playback");c.H=[10+c.o.videoData.dj,10,10,40+c.o.videoData.Zk-c.o.videoData.dj,40];var e=c.u;window.clearInterval(e.G);e.G=NaN;e.G=Lo((0,g.x)(e.update,e),100);e.F=g.kD(e.u);e.B=ZC(e.u);d.u=ID(c,!0);d.send();c.o.videoData.To&& (d=c.o.eb,e=c.o.videoData,e={html5:"1",video_id:e.videoId,cpn:e.clientPlaybackNonce,ei:e.eventId,ptk:e.To,oid:e.hB,ptchn:e.gB,pltype:e.iB,content_v:e.Ng()},d=g.Ad(d.C+"ptracking",e),MD(c,d));c.o.videoData.rk&&(c.F("playback"),c.A||PD(c));c.o.videoData.Ke||OD(c);c.w=!0;c=c.u;c.o=c.u.o();c.F=g.kD(c.u);!(0==c.w&&5>c.o)&&2b.w&&(b.w=c,b.B.start()),b.A=c,b.J=c);g.Bn(a.Xb);a.R("playbackstarted");g.Pp()&&((a=g.w("yt.scheduler.instance.clearPriorityThreshold"))? a():Rp(0))}; dL=function(a){var b=a.getCurrentTime(),c=a.T;!QA("pbs","")&&YA.measure&&YA.getEntriesByName&&(YA.getEntriesByName("mark_nr")[0]?$A("mark_nr"):$A());c.videoId&&a.O.info("docid",c.videoId);c.eventId&&a.O.info("ei",c.eventId);c.clientPlaybackNonce&&a.O.info("cpn",c.clientPlaybackNonce);0=k.u&&ef.B||(0,g.H)()-f.G=c.o.videoData.Ke&&(c.w&&c.o.videoData.Ke&& (d=JD(c,"delayplay"),d.Ba=!0,d.send(),c.O=!0),OD(c))),a.T.ua&&(0,g.H)()>a.Gf+6283&&(!a.isAtLiveHead()||a.T.ka&&bz(a.T.ka)||(c=a.B,c.o&&(c=c.o,e=c.o.w(),d=g.kD(c.o),EI(c,d,e),e=e.C,isNaN(e)||g.AI(c,d,"e2el",[e.toFixed(3)]))),g.Vx(a.A)&&a.Sa("rawlat","l."+uC(a.da,"rawlivelatency").toFixed(3)),a.Gf=(0,g.H)()),a.T.Aa&&Cv(a.T.Aa)&&(c=kK(a))&&c.videoHeight!=a.Gc&&(a.Gc=c.videoHeight,YJ(a,"html5_log_hls_video_height_change_as_format_change")&&a.T.ie&&"auto"==a.T.ie.Tf.wa().quality&&a.T.sg)))for(c=g.q(a.T.sg), d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()==a.Gc&&"auto"!=d.Tf.wa().quality){wK(a,"a",d.Zd());break}vja(a.S,a.H,a.o,a.J.isBackground())&&KK(a);c=a.S;d=a.T.Aa;0>=g.R(c.o.experiments,"hfr_dropped_framerate_fallback_threshold")||!(d&&d.wa()&&32DD(c,8)||g.ED(c,1024))&&a.na.stop(); !g.ED(c,8)||a.T.re||g.W(c.state,1024)||a.na.start();g.W(c.state,8)&&0>DD(c,16)&&!g.W(c.state,32)&&!g.W(c.state,2)&&a.playVideo();g.W(c.state,2)&&LB(a.T)&&(e=a.getCurrentTime(),a.T.lengthSeconds!=e&&(a.T.lengthSeconds=e,hK(a)),$K(a,!0));g.ED(c,2)&&(a.eu(!YJ(a,"web_player_botguard_no_fallback_on_ended")),fL(a));a.T.ka&&a.T.ua&&!a.Bg&&(0>DD(c,8)?(e=a.T.ka,e.A&&e.A.stop()):g.ED(c,8)&&a.T.ka.resume());e=a.C;e.J.B=c.state;if(e.o&&8==c.o.o&&zD(c.state)&&g.AD(c.state)&&e.U.A){f=e.o.getCurrentTime();var k= e.o.md();var l=$I(e,"manifestless_post_live_ufph")||$I(e,"manifestless_post_live")?Wv(k,Math.max(f-3.5,0)):Wv(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.ya-l)||(e.R("ctmp","seekover","b."+Vv(k,"_")+";cmt."+f),e.ya=l,e.seekTo(l,{Mk:!0})))}e=a.B;if(g.ED(c,1024)||g.ED(c,2048)||g.ED(c,512)||g.ED(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.la()||(g.W(c.state, 2)?(f.B="paused",g.ED(c,2)&&f.w&&LD(f).send()):g.W(c.state,8)?(f.B="playing",f.w&&isNaN(f.C)&&ID(f,!1)):f.B="paused",f.A&&g.W(c.state,128)&&(f.F("error-100"),g.Mo(f.A))));if(e.o){f=e.o;k=c.state;l=g.kD(f.o);var m=yja(f,c.state);if(m!=f.w){if(!(l=f.O&&(f.o.C(),f.u.qoealert=["1"],f.ca=!0)}"B"!=m||"PL"!=f.w&&"PB"!=f.w||(f.P=!0);f.C=l}"B"== m&&"PL"==f.w||f.o.videoData.dg?FI(f,l):DI(f,l);f.o.fa("html5_gllat")&&"PL"===m&&g.Bn(f.Ha);g.AI(f,l,"vps",[m]);f.w=m;f.ea=l;f.C=l;f.H=!0}m=k.u;g.W(k,128)&&m&&HI(f,l,m.errorCode,m.EB);(g.W(k,2)||g.W(k,128))&&f.Fj(l);f.o.fa("html5_qoe_user_intent_match_health")?g.xD(k)&&!f.A&&(0<=f.B&&(f.u.user_intent=[f.B.toString()]),f.A=!0):g.W(k,8)&&f.o.videoData.si&&!f.A&&(f.u.user_intent=[l.toString()],f.A=!0);GI(f)}e.w&&(e=e.w,yI(e),e.u=c.state,0<=e.A&&g.ED(c,16)&&e.P++,c.state.isError()&&e.C());if(d&&!a.la())try{for(var p= g.q(a.Rb),t=p.next();!t.done;t=p.next()){var u=t.value,z=a.P;c=u;if(z.started&&(z.u(),g.W(c.o,16))){c=z;var B=RG(c.o,Math.max(c.A-2E3,0));!isNaN(B)&&0x7ffffffffffff>B&&c.B.start()}a.R("statechange",u)}}finally{a.Rb.length=0}}}; gL=function(a,b){g.W(a.u,128)||(iK(a,vD(a.u,1028,9)),a.Sa("dompaused",b),a.R("onDompaused"))}; qK=function(a){if(!a.o||!a.T.va)return!1;var b=null;a.T.va.o?(b=SK(a),a.w.resume()):(cK(a),a.T.ie&&(b=a.T.ie.sl()));var c=b;var d=a.o.oo();b=!1;d&&null!==c&&c.o===d.o||(a.O.tick("vta"),aB("vta"),0d&&(d=-(d+1));g.te(a,b,d);b.setAttribute("data-layer",c)}; g.SL=function(a){var b=a.N();if(!b.Wa)return!1;var c=a.getVideoData();if(!c||3==a.getPresentingPlayerType())return!1;var d=!c.isLiveDefaultBroadcast||g.Q(b.experiments,"allow_poltergust_autoplay");d=c.ua&&(!g.Q(b.experiments,"allow_live_autoplay")||!d);var e=!!a.getPlaylist();g.Q(b.experiments,"player_allow_autonav_after_playlist")&&(e=(a=a.getPlaylist())&&a.hasNext());return!c.ypcPreview&&!d&&!g.cb(c.Oc,"ypc")&&!e}; g.TL=function(a,b,c,d){a.N().U&&pka(a.app.na,b,c,d)}; g.UL=function(a,b,c){a.N().U&&qka(a.app.na,b,c)}; g.VL=function(a,b,c){a.N().U&&(a.app.na.o.has(b),c&&(b.visualElement=g.Kr(c)))}; g.WL=function(a,b){a.N().U&&a.app.na.click(b)}; g.XL=function(a,b,c){if(a.N().U&&(a=a.app.na,a.o.has(b),c?a.u.add(b):a.u["delete"](b),c&&!a.A.has(b))){c=g.Vr();var d=b.visualElement;c&&d&&g.ks(c,d);a.A.add(b)}}; YL=function(a,b){return a.N().U?a.app.na.o.has(b):!1}; g.aM=function(a,b){if(a.app.getPresentingPlayerType()==b){var c=a.app,d=g.U(c,b);d&&(d!=c.w?ZL(c,c.w):$L(c))}}; dM=function(a,b,c){c=void 0===c?Infinity:c;a=a.app;b=void 0===b?-1:b;b=void 0===b?-1:b;c=void 0===c?Infinity:c;a.S?bM(a.S,b,c):cM(a.ya,b,c)}; rka=function(a){if(!a.fa("html5_inline_video_quality_survey"))return!1;var b=g.U(a.app);if(!b)return!1;var c=b.getVideoData();if(!c.Aa||!c.Aa.video||1080>c.Aa.video.ac||c.Wx)return!1;var d=/^qsa/.test(c.clientPlaybackNonce),e="r";0<=c.Aa.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.Sa("iqss",e,!0),!0):!1}; eM=function(a,b){document.requestStorageAccess().then(a,b)}; fM=function(a){if(a){var b=[],c;for(c in a)ska.has(c)||b.push(c);b.length&&(b.sort(),Nq(new Lq("Unknown house brand player vars:",b)))}}; g.gM=function(a){g.P.call(this);this.player=a;this.loaded=!1}; g.hM=function(a,b){return Ev(a.info.mimeType)?b?Vu(a.info)==b:!0:!1}; g.iM=function(a,b){if(null!=a.ka&&g.Vx(b.N())&&!a.ka.u&&null!=a.ka.o.rawcc)return!0;if(!a.Pe())return!1;var c=!!a.ka&&a.ka.u&&Object.values(a.ka.o).some(function(e){return g.hM(e,"386")}),d=!!a.ka&&!a.ka.u&&mga(a.ka); return c||d}; jM=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.Q(a.N().experiments,"web_player_defer_modules")}; g.kM=function(a){return a.u.get("captions")}; uka=function(a,b){switch(b){case "ad":return lM(a);case "annotations_module":var c=a.o.N(),d=a.o.getVideoData();return d.iy||"3"==c.controlsType?!1:c.F.isEmpty()&&"annotation-editor"!=c.playerStyle&&"live-dashboard"!=c.playerStyle?!!d.Vd||!!g.OB(d)||!!g.PB(d):!0;case "attribution":return c=a.o.N(),g.Q(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.MB(c)||!!g.NB(c))),c;case "embed":return g.vx(a.o.N());case "endscreen":return g.mM(a);case "fresca":return a.o.getVideoData().tn;case "heartbeat":return a.o.getVideoData().rm;case "kids":return Lx(a.o.N());case "remote":return a.o.N().Rb;case "miniplayer":return a.o.N().showMiniplayerUiWhenMinimized;case "music":return g.Ex(a.o.N());case "captions":return"lb3"==a.o.N().playerStyle?c=!1:(c=a.o.getVideoData(),c=!!c.ik||!!c.captionTracks.length||g.iM(c,a.o)),c;case "unplugged":return g.Kx(a.o.N()); case "ux":return a.o.N().sa;case "visualizer":return g.nM(a);case "webgl":return tka(a);case "ypc":return a.Xl();case "ypc_clickwrap":return c=a.o.getVideoData(),c.Wj&&!c.Pr;case "yto":return!!a.o.getVideoData().Oc.includes("yto");default:return g.M(Error("Module descriptor "+b+" does not match")),!1}}; oM=function(a){a.B&&(a.ld("endscreen"),a.Kq(),a.ld("creatorendscreen",void 0,!0))}; g.mM=function(a){var b=a.o.N();if(g.by(b)||b.Yb||!b.Ha&&!b.Ja)return!1;var c=a.o.getPresentingPlayerType();if(2==c)return!1;if(3==c)return g.Q(b.experiments,"desktop_enable_autoplay");a=a.o.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||g.Q(b.experiments,"allow_poltergust_autoplay");return!(a.ua&&(!g.Q(b.experiments,"allow_live_autoplay")||!c))}; g.EL=function(a){return a.u.get("webgl")}; tka=function(a){var b=a.o.getVideoData(),c=a.o.N().experiments,d=g.ll(),e=g.Q(c,"enable_spherical_kabuki");a=g.$x(a.o.N());if(b.Yf())return d||e||a||g.Q(c,"html5_enable_spherical");if(b.fg())return a||d||e||g.Q(c,"html5_enable_spherical");if(b.gg())return a||d||g.Q(c,"html5_enable_spherical3d");if(b.ej())return a||g.Q(c,"html5_enable_anaglyph3d")||!1;d=b.Aa&&b.Aa.video&&vv(b.Aa.video);return a&&!g.DB(b)&&!b.isVisualizerEligible&&!d&&(g.Q(c,"enable_webgl_noop")||g.Q(c,"html5_enable_bicubicsharp")|| g.Q(c,"html5_enable_smartsharp"))}; pM=function(a){g.Q(a.o.N().experiments,"web_player_ux_module_wait")&&a.u.get("ux")&&g.OL(a.o,"ux")}; vka=function(a){pM(a);a.ld("ux",void 0,!0)}; lM=function(a){if(a=a.o.getVideoData(1).getPlayerResponse())if(a=a.adPlacements)for(var b=0;bMath.random()){var u=Error("Unable to load player module");u.params=b+".js from "+d+" on "+(document.location&&document.location.origin)+".";g.M(u)}qf(p);t&&t()},k.onerror); k.onreadystatechange=g.Sa(function(t){switch(k.readyState){case "loaded":case "complete":qf(n,this)}t&&t()},k.onreadystatechange); f&&((e=a.o.N().ea)&&k.setAttribute("nonce",e),cd(k,jh(d)),e=document.getElementsByTagName("HEAD")[0]||document.body,e.insertBefore(k,e.firstChild),g.Ge(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.vM[b]=null;"annotations_module"==b&&(g.vM.creatorendscreen=null)}))}}; g.xM=function(a,b){var c=Math.abs(Math.floor(a)),d=Math.floor(c/86400),e=Math.floor(c%86400/3600),f=Math.floor(c%3600/60);c=Math.floor(c%60);if(b){var k="";0e&&(k+="0"));if(0f&&(k+="0");k+=f+":";10>c&&(k+="0");d=k+c}return 0<=a?d:"-"+d}; g.yM=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)}; zM=function(a,b,c,d){g.P.call(this);this.w=a;this.S=(0,g.x)(b,null);this.u=0;this.F=!1;this.B=new g.Sd(NaN,NaN);this.o=new g.O(this);g.C(this,this.o);b=d?4E3:3E3;this.H=new g.I(g.Sa(this.Qb,1,!1),b,this);g.C(this,this.H);this.J=new g.I(g.Sa(this.Qb,2,!1),b,this);g.C(this,this.J);this.O=new g.I(g.Sa(this.Qb,512,!1),0,this);g.C(this,this.O);this.V=c&&0e?d:d.substr(0,e)))if(c&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:g.Vr()},b)),f){var f=parseInt(f,10);isFinite(f)&&0c):c&&d&&(a.u=new g.I(a.O,d,a),g.C(a,a.u),g.ye(g.de("ytp-paid-content-overlay-text",a.element),c))}; yN=function(a,b){a.u&&g.W(b,8)&&a.F&&(a.F=!1,a.B.show(),a.G=(0,g.H)(),a.u.start())}; AN=function(a){g.V.call(this,{D:"div",I:"ytp-spinner",K:[oN(),{D:"div",I:"ytp-spinner-message",W:"Si la lecture ne commence pas dans quelques secondes, essayez de red\u00e9marrer votre appareil."}]});this.A=this.o["ytp-spinner-message"];this.w=a;this.u=new g.I(this.show,500,this);g.C(this,this.u);this.L(a,"presentingplayerstatechange",this.B);this.L(a,"onFrescaStateChange",this.C);this.L(a,"playbackstalledatstart",this.F);zN(this,g.zL(a))}; zN=function(a,b){if(g.W(b,128))var c=0;else!(c=g.W(b,16))&&(c=g.W(b,1))&&(c=JL(g.sL(a.w)),c=!(c&&c.loaded));c?a.u.start():a.hide()}; CN=function(a,b){g.V.call(this,{D:"button",X:["ytp-airplay-button","ytp-button"],M:{title:"AirPlay"},W:"{{icon}}"});this.u=a;this.ia("click",this.A);this.L(a,"airplayactivechange",this.w);this.L(a,"airplayavailabilitychange",this.w);this.w();g.Ge(this,g.BN(b.Za(),this.element))}; g.EN=function(a){g.V.call(this,{D:"div",I:"ytp-gradient-bottom"});this.w=g.pe("CANVAS");this.w.width=1;this.u=this.w.getContext("2d");this.A=NaN;this.B=g.Ex(a.N());g.DN(this,g.wL(a).getPlayerSize().height)}; g.DN=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()+")"}}}; FN=function(a,b){this.u=a;this.o=b}; GN=function(a){return a.o-a.u}; HN=function(a,b){return a.u+b*GN(a)}; IN=function(a,b,c){return GN(a)?g.Od((b-a.u)/GN(a),0,1):null!=c?c:Infinity}; JN=function(){g.V.call(this,{D:"div",I:"ytp-chapter-hover-container",K:[{D:"div",I:"ytp-progress-bar-padding"},{D:"div",I:"ytp-progress-list",K:[{D:"div",X:["ytp-play-progress","ytp-swatch-background-color"]},{D:"div",I:"ytp-load-progress"},{D:"div",I:"ytp-hover-progress"},{D:"div",I:"ytp-ad-progress-list"}]}]});this.startTime=NaN;this.title="";this.width=0;this.C=this.o["ytp-ad-progress-list"];this.A=this.o["ytp-load-progress"];this.B=this.o["ytp-play-progress"];this.w=this.o["ytp-hover-progress"]; this.u=this.o["ytp-chapter-hover-container"]}; KN=function(a,b){return"PLAY_PROGRESS"===b?a.B:"LOAD_PROGRESS"===b?a.A:a.w}; LN=function(){this.u=this.position=this.A=this.o=this.B=this.w=this.width=NaN}; g.ON=function(a,b){g.HC.call(this,{D:"div",I:"ytp-progress-bar-container",M:{"aria-disabled":"true"},K:[{D:"div",X:["ytp-progress-bar",a.N().o?"ytp-mobile":""],M:{tabindex:"0",role:"slider","aria-label":"Barre de recherche","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},K:[{D:"div",I:"ytp-chapters-container"},{D:"div",I:"ytp-marker-crenellation-list"},{D:"div",I:"ytp-clip-start-exclude"},{D:"div",I:"ytp-clip-end-exclude"}, {D:"div",I:"ytp-scrubber-container",K:[{D:"div",X:["ytp-scrubber-button","ytp-swatch-background-color"],K:[{D:"div",I:"ytp-scrubber-pull-indicator"}]}]}]},{D:"div",I:"ytp-bound-time-left",W:"{{boundTimeLeft}}"},{D:"div",I:"ytp-bound-time-right",W:"{{boundTimeRight}}"},{D:"div",I:"ytp-clip-start",M:{title:"{{clipstarttitle}}"},W:"{{clipstarticon}}"},{D:"div",I:"ytp-clip-end",M:{title:"{{clipendtitle}}"},W:"{{clipendicon}}"}]});this.w=a;this.O=b.Za();this.nb=!1;this.C=this.Fa=0;this.da=1;this.Xb=this.S= 0;this.F=null;this.U=this.Ha=0;this.Eb=this.o["ytp-marker-crenellation-list"];this.Z={};this.Ba={};this.ea=Infinity;var c=b.Za();this.xa=this.o["ytp-clip-end"];g.Ge(this,g.BN(c,this.xa));this.Na=new g.Cr(this.xa,!0);g.C(this,this.Na);this.Na.subscribe("hoverstart",this.vA,this);this.Na.subscribe("hoverend",this.uA,this);this.L(this.xa,"click",this.bp);this.xb=this.o["ytp-clip-end-exclude"];this.lc=this.o["ytp-clip-start-exclude"];this.ga=0;this.ya=this.o["ytp-clip-start"];g.Ge(this,g.BN(c,this.ya)); this.Ra=new g.Cr(this.ya,!0);g.C(this,this.Ra);this.Ra.subscribe("hoverstart",this.vA,this);this.Ra.subscribe("hoverend",this.uA,this);this.L(this.ya,"click",this.bp);this.G=this.na=0;this.Wb=this.o["ytp-progress-bar"];this.Ja=this.o["ytp-chapters-container"];this.u=[];MN(this);this.sa=this.V=0;this.H=null;this.dc=this.o["ytp-scrubber-button"];this.pc=this.o["ytp-scrubber-container"];this.za=new g.Sd;this.Gb=new LN;this.A=new FN(0,0);this.J=null;this.B=this.fb=!1;this.Rb=null;this.w.N().fa("web_wn_macro_markers")&& this.L(a,"resize",this.Du);this.L(a,"presentingplayerstatechange",this.ZI);this.L(a,"videodatachange",this.Mz);this.L(a,"videoplayerreset",this.uF);this.L(a,"cuerangesadded",this.FC);this.L(a,"cuerangesremoved",this.kO);this.L(a,"cuerangemarkersupdated",this.FC);this.L(a,"onLoopRangeChange",this.EC);NN(this,a.getVideoData(),!0);this.EC(a.getLoopRange())}; MN=function(a){if(0===a.u.length){var b=new JN;a.u.push(b);g.C(a,b);b.ba(a.Ja,0)}for(;1l)a.u[c].width= n,g.vh(a.u[c].u,"width",n+"px");else{a.u[c].width=0;g.vh(a.u[c].u,"width","0");var p=a,t=c,u=p.u[t-1];void 0!==u&&0a.sa&&(a.sa=m/f),d=!0)}c++}}return d}; g.SN=function(a){RN(a);var b=a.w.getCurrentTime();(ba.ea)&&a.bp()}; RN=function(a){if(a.C){var b=a.w.getProgressState(),c=new FN(b.seekableStart,b.seekableEnd),d=IN(c,b.loaded,0);b=IN(c,b.current,0);var e=a.A.u!=c.u||a.A.o!=c.o;a.A=c;TN(a,b,d);e&&g.UN(a);VN(a)}}; NN=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.isValid();a.fb=d&&b.allowLiveDvr;WN(a,a.w.Nc());c&&(d?(c=b.clipEnd,a.ga=b.clipStart,a.ea=c,XN(a),TN(a,a.G,a.na)):a.bp(),g.YN(a.O));if(a.w.N().fa("web_wn_macro_markers")&&b)if((c=b.yg)&&0.2*(a.B?60:40))for(var k=GN(a.A)/60*d,l=Math.ceil(GN(a.A)/60*c);l=f;c--)g.ue(e[c]); a.element.style.height=a.S+(a.B?8:5)+"px";a.R("height-change",a.S);a.dc.style.height=a.S+(a.B?20:13)+"px";for(var n in a.Z)aO(a,n);XN(a);TN(a,a.G,a.na)}; $N=function(a){var b=a.za.x,c=a.C*a.da;b=g.Od(b,0,a.C);a.Gb.update(b,a.C,-a.U,-(c-a.U-a.C));return a.Gb}; TN=function(a,b,c){a.G=b;a.na=c;var d=$N(a),e=a.A.o,f=HN(a.A,a.G),k=g.gN("$PLAY_PROGRESS sur $DURATION",{PLAY_PROGRESS:g.xM(f,!0),DURATION:g.xM(e,!0)});if(a.w.N().fa("web_wn_macro_markers")){var l=bO(a,1E3*f);k=(l=a.u[l].title)?l+" "+k:k}a.update({ariamin:Math.floor(a.A.u),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:k});e=a.ga;f=a.ea;a.J&&2!=a.w.getPresentingPlayerType()&&(e=a.J.startTimeMs/1E3,f=a.J.endTimeMs/1E3);e=IN(a.A,e,0);k=IN(a.A,f,1);f=g.Od(b,e,k);c=g.Od(c,e,k);k=b*d.o+d.w;if(a.w.N().fa("web_wn_macro_markers")){k= b*a.A.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.vh(a.pc,"transform","translateX("+k+"px)");a.w.N().fa("web_wn_macro_markers")?(cO(a,d,e,f,"PLAY_PROGRESS"),cO(a,d,e,c,"LOAD_PROGRESS")):(dO(a,a.u[0].B,d,e,f),dO(a,a.u[0].A,d,e,c))}; cO=function(a,b,c,d,e){var f=a.u.length;b=b.o-a.V*(a.B?3:2);var k=c*b;b*=d;d=eO(a,k);c=eO(a,b);k=Math.max(k-fO(a,d),0);for(var l=d;l=a.u.length)return a.C;for(var c=0,d=0;de.width)b-=e.width;else break;c++}return c===a.u.length?c-1:c}; bO=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 c-1}; dO=function(a,b,c,d,e,f){b.style.left=Math.max(d*c.o+c.w,0)+"px";gO(a,b,g.Od((e-d)*c.o+c.w,0,c.width),c.width,void 0===f?!1:f)}; XN=function(a){var b=!!a.J&&2!=a.w.getPresentingPlayerType(),c=a.ga,d=a.ea,e=!0,f=!0;b&&a.J?(c=a.J.startTimeMs/1E3,d=a.J.endTimeMs/1E3):(e=c>a.A.u,f=0a.G),e++;g.K(a.dc,"ytp-scrubber-button-hover",d==c&&1a.G)}; aO=function(a,b){var c=a.Z[b],d=a.Ba[b],e=$N(a),f=IN(a.A,c.start/1E3,0),k=aia(c,a.B)/e.width;var l=IN(a.A,c.end/1E3,1);k!=Number.POSITIVE_INFINITY&&(f=g.Od(f,0,l-k));l=Math.min(l,f+k);c.color&&(d.style.background=c.color);dO(a,d,e,f,l,!0)}; hO=function(a,b){var c=b.getId();a.Z[c]==b&&(g.ue(a.Ba[c]),delete a.Z[c],delete a.Ba[c])}; WN=function(a,b){b?a.H||(a.element.removeAttribute("aria-disabled"),a.H=new g.Cr(a.Wb,!0),a.H.subscribe("hovermove",a.pM,a),a.H.subscribe("hoverend",a.oM,a),a.H.subscribe("dragstart",a.nM,a),a.H.subscribe("dragmove",a.rM,a),a.H.subscribe("dragend",a.qM,a),a.Rb=a.ia("keydown",a.aJ)):a.H&&(a.element.setAttribute("aria-disabled",!0),a.Xa(a.Rb),a.H.cancel(),a.H.dispose(),a.H=null)}; g.iO=function(a){var b=2*a.C*g.Sx();return 1E3*GN(a.A)/a.w.getPlaybackRate()/b}; jO=function(a,b,c){g.V.call(this,{D:"div",X:["ytp-chapter-container"],K:[{D:"div",I:"ytp-chapter-title",K:[{D:"span",M:{"aria-hidden":"true"},I:"ytp-chapter-title-prefix",W:"\u2022"},{D:"span",W:"{{title}}"}]}]});this.A=a;this.w=c;this.u=""}; kO=function(a,b,c,d,e){var f=b.Io/b.rows,k=Math.min(c/(b.Jo/b.columns),d/f),l=b.Jo*k,m=b.Io*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,p=m/b.rows,t=-b.column*n,u=-b.row*p;e&&45>=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.lO=function(a){g.V.call(this,{D:"div",I:"ytp-storyboard-framepreview",K:[{D:"div",I:"ytp-storyboard-framepreview-img"}]});this.F=this.o["ytp-storyboard-framepreview-img"];this.u=a;this.Id=null;this.B=NaN;this.w=new g.O(this);g.C(this,this.w);this.A=new g.BM(this,100);g.C(this,this.A);this.L(this.u,"presentingplayerstatechange",this.G)}; mO=function(a,b){var c=!!a.Id;a.Id=b;a.Id?(c||(a.w.L(a.u,"videodatachange",function(){mO(a,a.u.te())}),a.w.L(a.u,"progresssync",a.H),a.w.L(a.u,"appresize",a.C)),a.B=NaN,nO(a),a.A.show(200)):(c&&g.yr(a.w),a.A.hide(),a.A.stop())}; nO=function(a){var b=a.u.getCurrentTime(),c=g.wL(a.u).getPlayerSize(),d=Uz(a.Id,c.width);b=Zz(a.Id,d,b);b!=a.B&&(a.B=b,Xz(a.Id,b,c.width),b=Vz(a.Id,b,c.width),kO(a.F,b,c.width,c.height))}; oO=function(a,b){g.V.call(this,{D:"button",X:["ytp-fullerscreen-edu-button","ytp-button"],K:[{D:"div",X:["ytp-fullerscreen-edu-text"],W:"Faites d\u00e9filer la page pour afficher plus de d\u00e9tails"},{D:"div",X:["ytp-fullerscreen-edu-chevron"],K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-chevron-down"]}:{D:"svg",M:{height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",M:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});g.TL(a,this.element,this,61214);this.u=a; this.F=b;this.B=new g.BM(this,250,void 0,100);g.C(this,this.B);this.C=this.A=!1;this.L(a,"fullscreentoggled",this.w);this.L(a,"presentingplayerstatechange",this.w);this.ia("click",this.G);this.w()}; pO=function(a,b,c,d){d=void 0===d?!1:d;g.HC.call(this,b);this.V=a;this.da=d;this.J=null;this.H=new g.O(this);g.C(this,this.H);this.U=new g.BM(this,c,!0,void 0,void 0,(0,g.x)(this.JE,this));g.C(this,this.U);this.u=null}; qO=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.yr(a.H);a.J=null}; rO=function(a){return a.Ea()&&4!==a.U.state}; g.tO=function(a,b){g.V.call(this,{D:"button",X:["ytp-fullscreen-button","ytp-button"],M:{title:"{{title}}"},W:"{{icon}}"});this.w=a;this.C=b;this.u=null;this.A=g.BN(b.Za(),this.element);this.B=new g.I(this.dE,2E3,this);g.C(this,this.B);this.L(a,"fullscreentoggled",this.VB);this.L(a,"presentingplayerstatechange",this.Kz);this.ia("click",this.RI);if(tr()){var c=g.wL(this.w);this.L(c,Yea(),this.CA);this.L(c,wr(document),this.SI)}a.N().ca||sO(this);this.Kz();this.VB(a.isFullscreen())}; sO=function(a){if(!a.u){var b=(null!=sp(["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/);a.u=new pO(a.w,{D:"div",X:["ytp-popup","ytp-generic-popup"],M:{role:"alert",tabindex:"0"},K:[b[0],{D:"a",M:{href:"https://support.google.com/youtube/answer/6276924", target:a.w.N().A},W:b[2]},b[4]]},100,!0);a.u.hide();g.C(a,a.u);a.u.subscribe("show",(0,g.x)(a.C.tk,a.C,a.u));g.RL(a.w,a.u.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);(0,a.A)();a.A=null}}; uO=function(a,b){g.V.call(this,{D:"button",X:["ytp-miniplayer-button","ytp-button"],M:{title:"{{title}}","data-tooltip-target-id":"ytp-miniplayer-button"},K:[VM()]});this.u=a;this.w=!1;this.ia("click",this.B);this.L(a,"fullscreentoggled",this.A);this.ha("title",g.qN(a,"Lecteur r\u00e9duit","i"));g.Ge(this,g.BN(b.Za(),this.element));g.TL(a,this.element,this,62946);this.A()}; vO=function(a){var b={D:"div",I:"ytp-multicam-menu",M:{role:"dialog"},K:[{D:"div",I:"ytp-multicam-menu-header",K:[{D:"div",I:"ytp-multicam-menu-title",K:["Changer l'angle de la cam\u00e9ra",{D:"button",X:["ytp-multicam-menu-close","ytp-button"],M:{"aria-label":"Fermer"},K:[g.KM()]}]}]},{D:"div",I:"ytp-multicam-menu-items"}]};pO.call(this,a,b,250);this.B=new g.O(this);g.C(this,this.B);this.L(this.o["ytp-multicam-menu-close"],"click",this.kb);this.w=a;this.Ga=this.o["ytp-multicam-menu-items"];this.A= [];this.hide()}; wO=function(a,b,c){g.V.call(this,{D:"button",X:["ytp-multicam-button","ytp-button"],M:{title:"Changer l'angle de la cam\u00e9ra","aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-switch-camera"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{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.Za();this.B=new g.I(this.G,400,this);g.C(this,this.B);this.ia("click",(0,g.x)(c.Ze,c,this.element,!1));this.L(a,"presentingplayerstatechange",g.Sa(this.w,!1));this.L(a,"videodatachange",this.F);this.w(!0);g.Ge(this,g.BN(this.u,this.element))}; xO=function(){g.A.call(this);this.u=null;this.startTime=this.duration=0;this.delay=new g.xn(this.o,null,this);g.C(this,this.delay)}; yO=function(a,b){if("path"===b.D)return b.M.d;if(b.K)for(var c=0;cd?cN():bN(),d!=a.A&&(a.ha("icon",d),a.A=d);else{b=0==d?1:50=a.B.Ga.length&&a.hide();g.YO(a.B,b);oP(a.G,a.B.Ga.length)}; Cka=function(a,b){a.G=b;a.element.id=b.element.getAttribute("aria-owns")}; LP=function(a,b,c){g.V.call(this,{D:"button",I:"ytp-button",M:{title:"Regarder sur un t\u00e9l\u00e9viseur","aria-haspopup":"true"},W:"{{icon}}"});this.u=a;this.B=c;this.A=null;this.L(a,"onMdxReceiversChange",this.w);this.L(a,"presentingplayerstatechange",this.w);this.L(a,"appresize",this.w);this.w();this.ia("click",this.C,this);g.Ge(this,g.BN(b.Za(),this.element))}; MP=function(a,b){g.V.call(this,{D:"button",X:["ytp-size-button","ytp-button"],M:{title:"{{title}}"},W:"{{icon}}"});this.u=a;this.B=b.Za();this.A=null;this.C=new xO;g.C(this,this.C);this.L(a,"sizestylechange",this.w);this.L(a,"fullscreentoggled",this.w);this.L(a,"presentingplayerstatechange",this.w);this.w();this.ia("click",this.F);g.Ge(this,g.BN(this.B,this.element))}; NP=function(a,b){g.V.call(this,{D:"button",X:["ytp-subtitles-button","ytp-button"],M:{"aria-pressed":"{{pressed}}",title:g.qN(a,"Sous-titres","c")},K:[aN()]});this.w=a;this.L(a,"videodatachange",this.u);this.L(a,"appresize",this.u);this.L(a,"onApiChange",this.u);this.L(a,"onCaptionsTrackListChanged",this.u);this.L(a,"captionschanged",this.u);this.u();this.ia("click",this.A);g.Ge(this,g.BN(b.Za(),this.element))}; g.PP=function(a,b,c){c=void 0===c?350:c;g.V.call(this,{D:"div",X:["ytp-time-display","notranslate"],K:[{D:"span",I:"ytp-time-current",W:"{{currenttime}}"},{D:"span",I:"ytp-time-separator",W:" / "},{D:"span",I:"ytp-time-duration",W:"{{duration}}"}]});this.A=new g.V({D:"button",X:["ytp-live-badge","ytp-button"],M:{disabled:"true"},W:"{{content}}"});this.A.tb("En direct");g.C(this,this.A);this.A.ba(this.element);this.u=a;this.O=c;this.S=b.Za();this.B=null;this.C=!1;this.H=null;this.J=!1;this.G=this.F= null;this.ia("click",this.U);this.L(a,"presentingplayerstatechange",this.w);this.L(a,"appresize",this.w);this.L(a,"videodatachange",this.V);(a=a.getVideoData())&&OP(this,a);this.w()}; OP=function(a,b){a.C=b.ua&&!b.cg;a.J=b.isPremiere;g.K(a.element,"ytp-live",a.C)}; RP=function(a,b,c){g.V.call(this,{D:"div",I:"ytp-volume-panel",M:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},K:[{D:"div",I:"ytp-volume-slider",K:[{D:"div",I:"ytp-volume-slider-handle"}]}]});this.u=a;this.F=b;this.S=c;this.J=!1;this.G=b.jc();this.V=this.B=0;this.U=this.o["ytp-volume-slider"];this.Z=this.o["ytp-volume-slider-handle"];this.H=new g.Cr(this.U,!0);g.C(this,this.H);this.H.subscribe("dragstart",this.eN, this);this.H.subscribe("dragmove",this.dN,this);this.H.subscribe("dragend",this.bN,this);this.O=null;this.w=this.A=this.C=!1;this.L(a,"onVolumeChange",this.qJ);this.L(a,"appresize",this.oc);this.L(a,"fullscreentoggled",this.oJ);this.L(a,"onShowControls",this.pw);this.L(a,"onHideControls",this.pw);this.L(this.element,"keydown",this.gN);this.L(this.element,"focus",g.Sa(this.Uz,!0));this.L(this.element,"blur",g.Sa(this.Uz,!1));this.oc(g.wL(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.ha("valuenow",d);a.ha("valuetext",e);a.Z.style.left=(a.G?60:40)*c+"px";a.B=b}; SP=function(a,b,c,d,e){var f=a.A||a.C||a.w||a.J;a.A=b;a.C=c;a.w=d;a.J=e;b=a.A||a.C||a.w||a.J;f!=b&&(b?a.O=a.L(a.element,"wheel",a.pJ):(a.Xa(a.O),a.O=null),g.K(a.S,"ytp-volume-slider-active",b))}; g.TP=function(a,b){var c=a.N(),d=g.Px(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"],f=g.Ex(c);f&&e.push("ytp-youtube-music-button");g.V.call(this,{D:"a",X:e,M:{href:"{{url}}",target:c.A,title:g.gN("Regarder sur $WEBSITE",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},K:[f?g.X?{D:"div",X:["ytp-icon","ytp-icon-youtube-music-logo"]}:{D:"svg",M:{viewBox:"0 0 77 20"},K:[{D:"g",M:{fill:"none"},K:[{D:"path",M:{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",M:{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",X:["ytp-icon","ytp-icon-logo"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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.u=a;this.w=!1;g.TL(a,this.element,this,28666);this.ia("click",this.B);this.L(a,"videodatachange",this.A);this.L(a,"onLoopRangeChange",this.A);this.A();g.Ge(this,g.BN(b.Za(),this.element))}; UP=function(a,b,c){g.O.call(this);var d=this,e=a.N();this.w=a;this.A=b;this.na=NaN;this.ra=null;this.V=c;this.V.subscribe("autohideupdate",this.Qz,this);c=!g.zL(a).isCued();var f;g.Ex(e)||g.Q(a.N().experiments,"html5_player_dynamic_bottom_gradient")?this.sa=f=new g.EN(a):f=new g.V({D:"div",I:"ytp-gradient-bottom"});g.C(this,f);g.RL(a,f.element,8);this.da=new g.BM(f,250,c,100);g.C(this,this.da);this.u=new g.V({D:"div",I:"ytp-chrome-bottom",K:[{D:"div",I:"ytp-chrome-controls"}]});g.C(this,this.u);g.RL(a, this.u.element,8);this.ca=new g.BM(this.u,250,c,100);g.C(this,this.ca);this.O=this.u.element.children[0];this.o=new HP(a);g.Ge(this.o,function(){a.J==d.o&&(a.J=null)}); g.C(this,this.o);a.J=this.o;g.RL(a,this.o.element,6);this.o.subscribe("show",this.gP,this);this.o.subscribe("show",(0,g.x)(b.nu,b,this.o));this.B=new g.ON(a,b);g.C(this,this.B);this.B.ba(this.u.element,0);c=new g.lO(a);g.C(this,c);g.RL(a,c.element,4);c=new g.CC({D:"div",I:"ytp-left-controls"});g.C(this,c);c.ba(this.O);f=new g.OO(a,b,!1);g.C(this,f);f.ba(c.element);e.H||(f=new g.KO(a,b),g.C(this,f),f.ba(c.element));f=new g.OO(a,b,!0);g.C(this,f);f.ba(c.element);var k=new g.V({D:"span"});g.C(this,k); k.ba(c.element);if(!e.na&&(this.F=new EO(a,b),g.C(this,this.F),this.F.ba(k.element),e.J)){f=new RP(a,b,this.u.element);g.C(this,f);f.ba(k.element);k=new g.Cr(k.element);g.C(this,k);var l=(0,g.x)(f.WB,f,!0);k.subscribe("hoverstart",l);k=new g.Cr(c.element);g.C(this,k);f=(0,g.x)(f.WB,f,!1);k.subscribe("hoverend",f)}this.ea=new g.PP(a,b);g.C(this,this.ea);this.ea.ba(c.element);c=new g.CC({D:"div",I:"ytp-right-controls"});g.C(this,c);c.ba(this.O);g.Q(a.N().experiments,"web_wn_macro_markers")&&(this.U= new jO(a,b,this.B),g.C(this,this.U),this.U.ba(this.O));this.P=null;g.Q(e.experiments,"external_fullscreen_with_edu")&&e.externalFullscreen&&Rx(e)&&(this.P=new oO(a,b),g.C(this,this.P),this.P.ba(c.element));f=new NP(a,b);g.C(this,f);f.ba(c.element);f=new nP(a,b,this.o);g.C(this,f);Cka(this.o,f);f.ba(c.element);f=new vO(a);g.C(this,f);g.RL(a,f.element,5);f.subscribe("show",(0,g.x)(b.Nh,b,f));f=new wO(a,b,f);g.C(this,f);f.ba(c.element);f=a.getVideoData();if(e.Ef||f.tc&&"1"==e.controlsType)this.G=new g.TP(a, b),g.C(this,this.G),this.G.ba(c.element);e.showMiniplayerButton&&!g.Q(a.N().experiments,"web_player_pip")&&(this.C=new uO(a,b),g.C(this,this.C),this.C.ba(c.element));this.S=new IO(a,b);g.C(this,this.S);this.S.ba(c.element);f.ou||this.S.hide();e.Xb||(f=new MP(a,b),g.C(this,f),f.ba(c.element));e.Rb&&(f=new LP(a,b,this.o),g.C(this,f),f.ba(c.element));e.oe&&(e=new CN(a,b),g.C(this,e),e.ba(c.element));this.ga=new g.tO(a,b);g.C(this,this.ga);this.ga.ba(c.element);this.H=new g.xn(this.kJ,null,this);g.C(this, this.H);this.J=null;this.L(a,"appresize",this.qt);this.L(a,"fullscreentoggled",this.qt);this.L(a,"presentingplayerstatechange",this.vt);this.L(a,"videodatachange",this.lJ);this.qt()}; VP=function(a,b){g.zL(a.w).isCued()||b?b&&(a.ca.hide(),a.da.hide(),a.F&&a.F.Ua(!1),a.G&&a.G.Ua(!1),a.C&&a.C.Ua(!1),a.A.Za().df(a.u.element)):b||(a.ca.show(),a.da.show(),a.F&&a.F.Ua(!0),a.G&&a.G.Ua(!0),a.C&&a.C.Ua(!0),a.Qz())}; XP=function(a){var b=g.wL(a.w).getPlayerSize().width;return Math.max(b-2*WP(a),100)}; WP=function(a){var b=a.A.jc();return 12*(a.w.getVideoData().tc?0:b?2:1)}; ZP=function(a){var b=g.nv(a.N().experiments,"mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({D:"div",X:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));pO.call(this,a,{D:"button",X:["ytp-unmute","ytp-popup","ytp-button"].concat(c),K:[{D:"div",I:"ytp-unmute-inner",K:[{D:"div",X:["ytp-unmute-icon"],K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-volume-muted-dark"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36", width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]}, {D:"div",X:["ytp-unmute-text"],W:"R\u00e9activer le son"}].concat(d)}]},100);this.w=a;this.A=this.B=!1;g.TL(this.w,this.element,this,51663);this.L(a,"onMutedAutoplayChange",this.F,this);this.L(a,"presentingplayerstatechange",this.G);this.ia("click",this.onClick,this);a=a.isMutedByMutedAutoplay()&&!g.vx(this.w.N());g.GC(this,a);a&&YP(this);this.C=a}; $P=function(a){a.B||(a.B=!0,g.WL(a.w,a.element))}; YP=function(a){a.A||(a.A=!0,g.XL(a.w,a.element,!0))}; g.aQ=function(a){g.O.call(this);var b=this,c=a.N(),d=g.wL(a);this.api=a;this.kd=!1;this.F=null;this.Gb=!1;this.fd=new g.I(this.qK,0,this);g.C(this,this.fd);g.Ex(c)||(this.V=new fN(a),g.C(this,this.V),g.RL(a,this.V.element,4));if(Dka()){var e=new AN(a);g.C(this,e);e=e.element;g.RL(a,e,4)}var f=a.getVideoData();this.u=new zM(d,(0,g.x)(this.FI,this),f,c.Ra);g.C(this,this.u);this.u.subscribe("autohideupdate",this.El,this);var k=new wN(a);g.C(this,k);g.RL(a,k.element,4);this.Ra=new ZP(a);g.C(this,this.Ra); g.RL(this.api,this.Ra.element,2);this.Wb=this.api.isMutedByMutedAutoplay();this.L(a,"onMutedAutoplayChange",this.GI);this.Na=new g.I(this.Go,200,this);g.C(this,this.Na);this.Xb=f.videoId;this.B=null;this.Hc=!1;this.Jc=this.dd=null;this.hd=NaN;this.Gc=this.ea=!1;this.sa=0;this.jd=new g.I(function(){b.sa=0},350); g.C(this,this.jd);this.Ba=new g.I(this.oF.bind(this),350,this);g.C(this,this.Ba);this.Wa=[];f=g.xL(a);f.setAttribute("aria-label","Lecteur vid\u00e9o YouTube");switch(c.color){case "white":g.J(f,"ytp-color-white")}g.Ex(c)&&g.J(f,"ytp-music-player");!g.Q(a.N().experiments,"disable_mediasession2")&&navigator.mediaSession&&!navigator.mediaSession.metadata&&navigator.mediaSession.setActionHandler&&(f=new vN(a),g.C(this,f));this.L(a,"appresize",this.li);this.L(a,"presentingplayerstatechange",this.kM); this.L(a,"videodatachange",this.Iz);this.L(a,"videoplayerreset",this.iM);this.L(a,"autonavvisibility",this.wg,this);this.L(a,"sizestylechange",this.wg,this);g.Q(a.N().experiments,"player_minimized_controls_killswitch")&&this.L(a,"minimized",this.Sd,this);this.L(a,"onFrescaStateChange",this.Sd,this);this.L(d,"click",this.KM,this);this.L(d,"dblclick",this.LM,this);c.ca&&(this.L(d,"gesturechange",this.MM,this),this.L(d,"gestureend",this.OM,this));this.P=[d.A];this.V&&this.P.push(this.V.element);e&&this.P.push(e)}; bQ=function(a){return g.Q(a.api.N().experiments,"player_minimized_controls_killswitch")?a.api.app.G.o:!1}; cQ=function(a,b){if(!b)return!1;var c=a.api.app.B;if(c.fh()&&(c=c.gb())&&g.xe(c,b))return c.controls;for(c=0;c1+b&&a.api.toggleFullscreen()}; Dka=function(){var a=fl()&&67<=cl();return!el("tizen")&&!tx&&!a&&!0}; jQ=function(a,b){g.HC.call(this,{D:"div",I:"ytp-ad-persistent-progress-bar-container",K:[{D:"div",I:"ytp-ad-persistent-progress-bar"}]});this.A=a;this.w=b;g.C(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()}; kQ=function(a,b){b=void 0===b?2:b;g.P.call(this);this.o=a;this.u=new g.O(this);g.C(this,this.u);this.B=Fka;this.A=null;this.u.L(this.o,"presentingplayerstatechange",this.uJ);this.A=this.u.L(this.o,"progresssync",this.Xz);this.w=b;1===this.w&&this.Xz()}; lQ=function(a){g.V.call(this,{D:"button",X:["ytp-button","ytp-back-button"],K:[{D:"div",I:"ytp-arrow-back-icon",K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-arrow-back"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 -12 36 36",width:"100%"},K:[{D:"path",M:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",Ka:!0,M:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",fill:"#fff"}}]}]}]});this.u=a;g.GC(this,a.N().showBackButton);this.ia("click",this.w)}; g.mQ=function(a){g.V.call(this,{D:"div",K:[{D:"div",I:"ytp-bezel-text-wrapper",K:[{D:"div",I:"ytp-bezel-text",W:"{{title}}"}]},{D:"div",I:"ytp-bezel",M:{role:"status","aria-label":"{{label}}"},K:[{D:"div",I:"ytp-bezel-icon",W:"{{icon}}"}]}]});this.A=new g.I(this.show,10,this);g.C(this,this.A);this.u=new g.I(this.hide,500,this);g.C(this,this.u);this.w=a;this.hide()}; g.oQ=function(a,b){if(b)g.W(g.zL(a.w),64)||nQ(a,WM(),"Lire");else{var c=a.w.getVideoData();c.ua&&!c.allowLiveDvr?nQ(a,$M(),"Arr\u00eater la lecture en direct"):nQ(a,UM(),"Pause")}}; pQ=function(a,b,c){if(0>=b){c=dN();b="son d\u00e9sactiv\u00e9";var d=0}else c=c?cN():bN(),d=Math.floor(b),b=d+"volume";nQ(a,c,b,d+"%")}; qQ=function(a,b){var c=b?g.X?{D:"div",X:["ytp-icon","ytp-icon-fast-rewind"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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",X:["ytp-icon","ytp-icon-fast-forward"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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.gN("Vitesse\u00a0: $RATE",{RATE:String(d)});nQ(a,c,e,d+"x")}; nQ=function(a,b,c,d){d=void 0===d?"":d;a.ha("label",void 0===c?"":c);a.ha("icon",b);g.Dn(a.u);a.A.start();a.ha("title",d);g.K(a.element,"ytp-bezel-text-hide",!d)}; sQ=function(a,b,c){g.V.call(this,{D:"button",X:["ytp-button","ytp-cards-button"],M:{"aria-label":"Afficher les fiches","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.vx(a.N()))},K:[{D:"span",I:"ytp-cards-button-icon-default",K:[{D:"div",I:"ytp-cards-button-icon",K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-info-card"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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",I:"ytp-cards-button-title",W:"Informations"}]},{D:"span",I:"ytp-cards-button-icon-shopping",K:[{D:"div",I:"ytp-cards-button-icon",K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-shopping-card"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",I:"ytp-svg-shadow",M:{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",I:"ytp-svg-fill",M:{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",I:"ytp-svg-shadow-fill",M:{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", I:"ytp-cards-button-title",W:"Shopping"}]}]});this.w=a;this.B=b;this.u=null;this.A=new g.BM(this,250,!0,100);g.C(this,this.A);g.K(c,"ytp-show-cards-title",g.vx(a.N()));this.hide();this.ia("click",this.C);this.ia("mouseover",this.F);rQ(this,!0)}; rQ=function(a,b){b?a.u=g.BN(a.B.Za(),a.element):(a.u(),a.u=null)}; tQ=function(a,b,c){g.V.call(this,{D:"div",I:"ytp-cards-teaser",K:[{D:"div",I:"ytp-cards-teaser-box"},{D:"div",I:"ytp-cards-teaser-text",K:[{D:"span",I:"ytp-cards-teaser-label",W:"{{text}}"}]}]});var d=this;this.w=a;this.S=b;this.F=new g.BM(this,250,!1,250);g.C(this,this.F);this.C=c;this.u=null;this.J=new g.I(this.ML,300,this);g.C(this,this.J);this.H=new g.I(this.JL,2E3,this);g.C(this,this.H);this.G=[];this.A=null;this.O=new g.I(function(){d.element.style.margin=0},250); g.C(this,this.O);this.B=null;this.L(c.element,"mouseover",this.IA);this.L(c.element,"mouseout",this.HA);this.L(a,"cardsteasershow",this.nN);this.L(a,"cardsteaserhide",this.Al);this.L(a,"cardstatechange",this.CC);this.L(a,"presentingplayerstatechange",this.CC);this.L(a,"appresize",this.jt);this.L(a,"onShowControls",this.jt);this.L(a,"onHideControls",this.fE);this.ia("click",this.SO);this.ia("mouseenter",this.HI)}; Gka=function(a,b){a.ha("text",b.teaserText);a.element.setAttribute("dir",g.jn(b.teaserText));a.F.show();a.A=new g.I(function(){g.J(g.xL(this.w),"ytp-cards-teaser-shown");this.jt()},0,a); a.A.start();rQ(a.C,!1);a.u=new g.I(a.Al,580+b.durationMs,a);a.u.start();a.G.push(a.ia("mouseover",a.IA,a));a.G.push(a.ia("mouseout",a.HA,a))}; uQ=function(a,b){g.V.call(this,{D:"button",X:["ytp-button","ytp-title-notifications"],M:{"aria-pressed":"{{pressed}}","aria-label":"{{label}}"},K:[{D:"div",I:"ytp-title-notifications-on",M:{title:"Ne plus recevoir de notifications pour chaque vid\u00e9o mise en ligne","aria-label":"Envoi de notifications aux abonn\u00e9s"},K:[g.TM()]},{D:"div",I:"ytp-title-notifications-off",M:{title:"Recevoir une notification pour chaque vid\u00e9o mise en ligne","aria-label":"Envoi de notifications aux abonn\u00e9s"}, K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-notifications-inactive"]}:{D:"svg",M:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},K:[{D:"path",M:{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.w=a;g.TL(a,this.element,this,36927);this.A=b;this.u=!1;this.ia("click",this.B,this);this.ha("pressed",!1);this.ha("label", "Recevoir une notification pour chaque vid\u00e9o mise en ligne")}; vQ=function(a,b){a.u=b;a.element.classList.toggle("ytp-notifications-enabled",a.u);g.xq("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",yb:{channel_id:a.A,receive_all_updates:!a.u}})}; wQ=function(a,b,c){return b?a.C+"subscription_ajax":c?"/subscription_service":""}; g.zQ=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.Bx(z)||g.Dx(z))c.target=z.A;g.V.call(this,{D:"div",X:["ytp-button","ytp-sb"],K:[{D:"a",I:"ytp-sb-subscribe",M:c,K:[{D:"div",I:"ytp-sb-text",K:[{D:"div",I:"ytp-sb-icon"},a]},b?{D:"div",I:"ytp-sb-count",W:b}:""]}]}); f&&g.J(this.element,"ytp-sb-classic")}else{p=z.Z&&g.Bx(z)&&!g.Q(z.experiments,"subscribe_tooltip_killswitch");g.V.call(this,{D:"div",X:["ytp-button","ytp-sb"],K:[{D:"div",I:"ytp-sb-subscribe",M:p?{title:g.gN("S'abonner en tant que\u00a0$USER_NAME",{USER_NAME:z.Z}),"aria-label":"S'abonner \u00e0 la cha\u00eene","data-tooltip-image":cy(z),"data-tooltip-opaque":String(g.vx(z)),tabindex:"0",role:"button"}:{"aria-label":"S'abonner \u00e0 la cha\u00eene"},K:[{D:"div",I:"ytp-sb-text",K:[{D:"div",I:"ytp-sb-icon"}, a]},b?{D:"div",I:"ytp-sb-count",W:b}:""]},{D:"div",I:"ytp-sb-unsubscribe",M:p?{title:g.gN("Abonn\u00e9 en tant que $USER_NAME",{USER_NAME:z.Z}),"aria-label":"Se d\u00e9sabonner de la cha\u00eene","data-tooltip-image":cy(z),"data-tooltip-opaque":String(g.vx(z)),tabindex:"0",role:"button"}:{"aria-label":"Se d\u00e9sabonner de la cha\u00eene"},K:[{D:"div",I:"ytp-sb-text",K:[{D:"div",I:"ytp-sb-icon"},c]},d?{D:"div",I:"ytp-sb-count",W:d}:""]}]});var B=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 G=function(){var ka=B.u;if(m||n){var pa=t.N();var bc={c:ka};if(g.Q(pa.experiments,"embeds_botguard_with_subscribe_killswitch"))bc="";else{var Jc="",vb=null;if(g.Q(pa.experiments,"web_player_inline_botguard"))Rq.o&&(vb=Bs);else{var Za=g.w("yt.abuse.player.botguardInitialized");Za&&Za()&&(vb=g.w("yt.abuse.player.invokeBotguard"))}vb&&(Jc=vb(bc));bc=Jc}g.Q(pa.experiments,"web_player_innertube_subscription_update")? (pa=t.getVideoData(),qL(xQ(t.app),pa.subscribeCommand)):g.xq(wQ(pa,!!m,!!n),m?{method:"POST",Ud:{action_create_subscription_to_channel:1,c:ka},yb:{feature:m,silo_name:null,r2b:bc},withCredentials:!0}:n?{method:"POST",Ud:{action_subscribe:1},yb:{channel_ids:ka,itct:n}}:{});t.ma("SUBSCRIBE",ka)}E.focus();E.removeAttribute("aria-hidden");D.setAttribute("aria-hidden",!0)},F=function(){var ka=B.u; if(m||n){var pa=t.N();g.Q(pa.experiments,"web_player_innertube_subscription_update")?(pa=t.getVideoData(),qL(xQ(t.app),pa.unsubscribeCommand)):g.xq(wQ(pa,!!m,!!n),m?{method:"POST",Ud:{action_remove_subscriptions:1},yb:{c:ka,silo_name:null,feature:m},withCredentials:!0}:n?{method:"POST",Ud:{action_unsubscribe:1},yb:{channel_ids:ka,itct:n}}:{});t.ma("UNSUBSCRIBE",ka)}D.focus();D.removeAttribute("aria-hidden");E.setAttribute("aria-hidden",!0)}; this.L(D,"click",G);this.L(E,"click",F);this.L(D,"keypress",function(ka){13==ka.keyCode&&G(ka)}); this.L(E,"keypress",function(ka){13==ka.keyCode&&F(ka)}); this.L(t,"SUBSCRIBE",this.B);this.L(t,"UNSUBSCRIBE",this.C);this.A&&p&&(this.w=this.A.Za(),yQ(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.BQ=function(a,b,c){b=AQ(null,b,c);if(b=window.open(b,"loginPopup","width=800,height=600,resizable=yes,scrollbars=yes",!0))c=g.Ro("LOGGED_IN",function(d){g.So(g.L("LOGGED_IN_PUBSUB_KEY",void 0));Eo("LOGGED_IN",!0);a(d)}),Eo("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((screen.width-800)/2,(screen.height-600)/2)}; AQ=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=yd(c,"mode",a));a=yd(d,"next",c);b&&(a=yd(a,"feature",b));return a}; CQ=function(a,b){var c=a.N();g.V.call(this,{D:"div",I:"ytp-title-channel",K:[{D:"div",I:"ytp-title-beacon"},{D:"a",I:"ytp-title-channel-logo",M:{href:"{{channelLink}}",target:c.A,"aria-label":"{{channelLogoLabel}}"}},{D:"div",I:"ytp-title-expanded-overlay",K:[{D:"div",I:"ytp-title-expanded-heading",K:[{D:"h2",I:"ytp-title-expanded-title",K:[{D:"a",W:"{{expandedTitle}}",M:{href:"{{channelTitleLink}}",target:c.A,tabIndex:"{{channelTitleFocusable}}"}}]},{D:"h3",I:"ytp-title-expanded-subtitle",W:"{{expandedSubtitle}}"}]}]}]}); this.u=a;this.V=b;this.w=this.o["ytp-title-channel"];this.B=this.o["ytp-title-channel-logo"];this.S=this.o["ytp-title-expanded-overlay"];this.F=this.C=this.A=null;this.U=g.vx(c);g.TL(a,this.B,this,36925);this.U&&Hka(this);this.L(a,"videodatachange",this.J);this.L(a,"videoplayerreset",this.J);this.J()}; Hka=function(a){var b=a.u.N(),c=a.u.getVideoData();if(!b.V){var d=b.Kc?null:AQ(),e=new g.zQ("S'abonner",null,"Abonn\u00e9",null,!0,!1,c.xg,c.subscribed,"channel_avatar",null,d,a.u,a.V);a.A=e;g.C(a,e);e.ba(a.S);g.TL(a.u,e.element,a,36926);e.hide();a.L(e.element,"click",function(){g.WL(a.u,e.element)}); var f=new uQ(a.u,c.xg);a.C=f;g.C(a,f);f.ba(a.S);f.hide();a.L(a.u,"SUBSCRIBE",function(){c.Kj&&f.show()}); a.L(a.u,"UNSUBSCRIBE",function(){c.Kj&&(f.hide(),vQ(f,!1))})}a.ha("channelTitleFocusable","-1"); b.o?a.L(a.B,"click",function(k){DQ(a)&&(k.preventDefault(),EQ(a)?a.G():a.H());g.WL(a.u,a.B)}):(a.L(a.w,"mouseenter",a.H),a.L(a.w,"mouseleave",a.G),a.L(a.w,"focusin",a.H),a.L(a.w,"focusout",function(k){a.w.contains(k.relatedTarget)||a.G()}),a.L(a.B,"click",function(){g.WL(a.u,a.B)})); a.F=new g.I(function(){EQ(a)&&(a.A&&(a.A.hide(),g.XL(a.u,a.A.element,!1)),a.C&&(a.C.hide(),g.XL(a.u,a.C.element,!1)),a.w.classList.remove("ytp-title-expanded"),a.w.classList.add("ytp-title-show-collapsed"))},500); g.C(a,a.F);a.L(a.w,FQ,function(){GQ(a)}); a.L(a.u,"onHideControls",a.O);a.L(a.u,"appresize",a.O);a.L(a.u,"fullscreentoggled",a.O)}; GQ=function(a){a.w.classList.remove("ytp-title-show-collapsed");a.w.classList.remove("ytp-title-show-expanded")}; DQ=function(a){var b=a.u.getPlayerSize();return a.U&&524<=b.width}; EQ=function(a){return a.w.classList.contains("ytp-title-expanded")}; HQ=function(a){var b=g.KC({"aria-haspopup":"true"});g.JC.call(this,b,a);this.ia("keydown",this.u)}; IQ=function(a,b){a.element.setAttribute("aria-haspopup",b)}; JQ=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.Ad("/sharing_services",a);g.Uq(d)}; MQ=function(a,b,c,d){g.WO.call(this,a);this.u=a;this.O=c;this.U=d;this.C=new g.SO("Lire en boucle",7);g.C(this,this.C);g.XO(this,this.C,!0);this.C.ia("click",this.vL,this);g.TL(a,this.C.element,this.C,28661);this.B=new HQ(6);g.C(this,this.B);g.XO(this,this.B,!0);this.B.ia("click",this.cL,this);g.TL(a,this.B.element,this.B,28659);this.A=new HQ(5);g.C(this,this.A);g.XO(this,this.A,!0);this.A.ia("click",this.bL,this);g.TL(a,this.A.element,this.A,28660);this.w=new HQ(4);g.C(this,this.w);g.XO(this,this.w, !0);this.w.ia("click",this.aL,this);g.TL(a,this.w.element,this.w,28658);this.J=new HQ(3);g.C(this,this.J);g.XO(this,this.J,!0);this.J.ia("click",this.ZK,this);this.S=new g.JC(g.KC({href:"{{href}}",target:a.N().A},void 0,!0),2,"R\u00e9soudre les probl\u00e8mes de lecture");g.C(this,this.S);g.XO(this,this.S,!0);this.S.ia("click",this.DM,this);b=new g.JC(g.KC(),1,"Statistiques avanc\u00e9es");g.C(this,b);g.XO(this,b,!0);b.ia("click",this.ZM,this);this.H=new g.HC({D:"div",X:["ytp-copytext","ytp-no-contextmenu"], M:{draggable:"false",tabindex:"1"},W:"{{text}}"});g.C(this,this.H);this.H.ia("click",this.LK,this);this.da=new VO(a,this.H);g.C(this,this.da);this.G=null;c=document.queryCommandSupported&&document.queryCommandSupported("copy");g.Iv&&g.Md(43)&&(c=!0);g.pw&&!g.Md(41)&&(c=!1);c&&(this.G=new g.V({D:"textarea",I:"ytp-html5-clipboard",M:{readonly:""}}),g.C(this,this.G),this.G.ba(this.element));if(this.na=g.Q(a.N().experiments,"web_player_icons"))LC(this.C,g.X?{D:"div",X:["ytp-icon","ytp-icon-repeat"]}: {D:"svg",M:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},K:[{D:"path",M:{d:"M7 7H17V10L21 6L17 2V5H5V11H7V7ZM17 17H7V14L3 18L7 22V19H19V13H17V17Z",fill:"white"}}]}),LC(this.J,g.X?{D:"div",X:["ytp-icon","ytp-icon-bug-report"]}:{D:"svg",M:{height:"24",viewBox:"0 0 24 24",width:"24"},K:[{D:"path",M:{"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"}}]}),LC(this.S,g.X?{D:"div",X:["ytp-icon","ytp-icon-help-outline"]}:{D:"svg",M:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},K:[{D:"path",M:{"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"}}]}),LC(b,OM());this.L(a,"loopchange",this.EA);this.L(a,"videodatachange",this.LI);KQ(this);LQ(this,this.u.getVideoData())}; NQ=function(a,b){if(a.G){var c=a.G.element;c.value=b;c.select();try{var d=document.execCommand("copy")}catch(e){}}d?a.O.kb():(a.H.tb(b,"text"),g.iP(a.O,a.da),pN(a.H.element),a.G&&(a.G=null,KQ(a)));return d}; LQ=function(a,b){var c=a.u.N(),d=2==a.u.getPresentingPlayerType(),e=!d||b.isListed;e=!c.G&&!!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.Aa&&(c.fmt=Vu(b.Aa)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.De&&(c.partnerid=b.De),c=g.Ad("//support.google.com/googleplay/",c));g.GC(a.w,e&&b.allowEmbed);g.GC(a.B,e);g.GC(a.A,e&&!b.ua);a.S.tb(c,"href");g.GC(a.C, !b.ua&&!d)}; KQ=function(a){var b=!!a.G;g.IC(a.J,b?"Copier les informations de d\u00e9bogage":"Obtenir les informations de d\u00e9bogage");IQ(a.J,!b);g.IC(a.w,b?"Copier le code d'int\u00e9gration":"Obtenir le code d'int\u00e9gration");IQ(a.w,!b);g.IC(a.B,b?"Copier l'URL de la vid\u00e9o":"Obtenir l'URL de la vid\u00e9o");IQ(a.B,!b);g.IC(a.A,b?"Copier l'URL de la vid\u00e9o \u00e0 partir de cette s\u00e9quence":"Obtenir l'URL de la vid\u00e9o au minutage actuel");IQ(a.A,!b);a.na&&(LC(a.w,b?LM():null),LC(a.B,b? QM():null),LC(a.A,b?QM():null))}; g.PQ=function(a,b,c){g.eP.call(this,a);this.w=a;this.ea=b;this.Z=c;this.G=new g.O(this);g.C(this,this.G);this.B=null;g.TL(a,this.element,this,28656);g.J(this.element,"ytp-contextmenu");a.fa("web_player_icons")&&g.J(this.element,"ytp-exp-contextmenu-icons");OQ(this);this.hide()}; OQ=function(a){g.yr(a.G);"gvn"!=a.w.N().playerStyle&&a.G.L(g.wL(a.w),"contextmenu",a.KK)}; QQ=function(a){a.w.isFullscreen()?g.RL(a.w,a.element,9):a.ba(document.body)}; RQ=function(a,b){var c=a.N();g.V.call(this,{D:"button",X:["ytp-button","ytp-copylink-button"],M:{title:"{{title-attr}}","data-tooltip-opaque":String(g.vx(c))},K:[{D:"div",I:"ytp-copylink-icon",W:"{{icon}}"},{D:"div",I:"ytp-copylink-title",W:"Copier le lien",M:{"aria-hidden":"true"}}]});this.u=a;this.C=b;this.w=!1;this.B=b.Za();g.K(this.element,"ytp-show-copylink-title",g.vx(c)&&!g.Ex(c));g.TL(a,this.element,this,86570);this.ia("click",this.F);this.L(a,"videodatachange",this.A);this.L(a,"videoplayerreset", this.A);this.L(a,"appresize",this.A);this.A();g.Ge(this,g.BN(this.B,this.element))}; Ika=function(a){a.ha("icon",EM());SQ(a.B,a.element,"Lien copi\u00e9 dans le presse-papiers");var b=a.ia("mouseleave",function(){a.Xa(b);a.A();a.B.df()})}; TQ=function(a){g.V.call(this,{D:"div",I:"ytp-doubletap-ui",K:[{D:"div",I:"ytp-doubletap-static-circle",K:[{D:"div",I:"ytp-doubletap-ripple"}]},{D:"div",I:"ytp-doubletap-overlay-a11y"},{D:"div",I:"ytp-doubletap-seek-info-container",K:[{D:"div",I:"ytp-doubletap-arrows-container",K:[{D:"span",I:"ytp-doubletap-base-arrow"},{D:"span",I:"ytp-doubletap-base-arrow"},{D:"span",I:"ytp-doubletap-base-arrow"}]},{D:"div",I:"ytp-doubletap-tooltip",K:[{D:"div",I:"ytp-doubletap-tooltip-label",W:"{{seekTime}}"}]}]}]}); this.w=a;this.A=new g.I(this.show,10,this);g.C(this,this.A);this.u=new g.I(this.hide,700,this);g.C(this,this.u);this.hide()}; g.UQ=function(a,b,c,d,e,f){g.O.call(this);this.o=a;this.F=c;this.B=d;this.u=e;this.C=f;this.A=new g.I(g.Sa(this.Lz,!1),1E3,this);g.C(this,this.A);this.w="";a=g.Sa(this.ju,!1);this.L(b,"mousedown",a);this.L(c.element,"mousedown",a);this.L(b,"keydown",this.Kx);this.L(c.element,"keydown",this.Kx);this.L(b,"keyup",this.Lx);this.L(c.element,"keyup",this.Lx)}; VQ=function(a,b,c,d){var e=g.kM(g.sL(a.o));if(e&&e.loaded){e=a.o.getSubtitlesUserSettings();for(var f,k=0;kb||b==a.C)){a.C=b;var c=160*a.B,d=160*a.B,e=Vz(a.A,a.C,c);kO(a.H,e,c,d,!0);a.da.start()}}; Jka=function(a,b,c){tR("add_to_watch_later_list",a,b,c)}; Kka=function(a,b,c){tR("delete_from_watch_later_list",a,b,c)}; tR=function(a,b,c,d){g.xq(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",Ud:{feature:b.feature||null,authuser:b.Kc||null,pageid:b.pageId||null},yb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.JT||null,add_to_playlists:b.rT||null,plid:g.L("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(e,f){b.onSuccess.call(this,e,f)}, ud:b.ud,withCredentials:!!d})}; g.wR=function(a,b){g.V.call(this,{D:"button",X:["ytp-watch-later-button","ytp-button"],M:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.vx(a.N()))},K:[{D:"div",I:"ytp-watch-later-icon",W:"{{icon}}"},{D:"div",I:"ytp-watch-later-title",W:"\u00c0 regarder plus tard"}]});this.u=a;this.H=b;this.F=b.Za();yQ(this.F);this.B=null;this.C=this.A=this.w=!1;g.TL(a,this.element,this,28665);this.ia("click",this.rJ,this);this.L(a,"videoplayerreset",this.sJ);this.L(a,"appresize", this.oc);this.L(a,"videodatachange",this.oc);this.L(a,"presentingplayerstatechange",this.oc);this.oc();var c=this.u.N(),d=g.rs("yt-player-watch-later-pending");c.u&&d?(Uw(),uR(this,d.videoId)):vR(this,2);g.K(this.element,"ytp-show-watch-later-title",g.vx(c));g.Ge(this,g.BN(b.Za(),this.element))}; xR=function(a,b){g.BQ(function(){Uw({videoId:b});window.location.reload()},"wl_button",g.Ox(a.u.N()))}; uR=function(a,b){if(!a.A)if(a.A=!0,vR(a,4),g.Q(a.u.N().experiments,"web_player_innertube_playlist_update")){var c=a.u.getVideoData();c=a.w?c.removeFromWatchLaterCommand:c.addToWatchLaterCommand;var d=xQ(a.u.app),e=a.w?a.eB.bind(a):a.dB.bind(a);qL(d,c).then(e,a.IN.bind(a))}else c=a.u.N(),(a.w?Kka:Jka)({videoIds:b,Kc:c.Kc,pageId:c.pageId,onError:a.HN,onSuccess:a.w?a.eB:a.dB,context:a},c.C,!0)}; yR=function(a,b){vR(a,5,b);a.u.N().Db&&a.u.ma("WATCH_LATER_ERROR",b)}; zR=function(a,b){var c=a.u.N(),d=a.H.ce()&&g.vx(c);!c.B||2!=b&&3!=b||(b=d?3:2);if(b!=a.B){switch(b){case 4:var e=oN();break;case 1:e=EM();break;case 2:e=g.X?{D:"div",X:["ytp-icon","ytp-icon-watch-later"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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",X:["ytp-icon","ytp-icon-watch-later-large"]};break;case 5:e=g.Q(c.experiments,"watch_later_icon_change_killswitch")?g.X?{D:"div",X:["ytp-icon","ytp-icon-alert"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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",X:["ytp-icon","ytp-icon-warning"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}a.ha("icon",e);a.B=b}}; vR=function(a,b,c){var d=a.u.N();zR(a,b);c?a.update({title:c,image:null}):d.Z?(b={USER_NAME:d.Z},a.update({title:a.w?g.gN("Ajout\u00e9e avec le compte $USER_NAME",b):g.gN("Regarder plus tard en tant que $USER_NAME",b),image:cy(d)})):a.update({title:"\u00c0 regarder plus tard",image:null});HO(a.F)}; AR=function(a){g.aQ.call(this,a);var b=this,c=g.wL(a),d=a.N(),e=a.getVideoData();this.ga=g.vx(d);this.Eb=48;this.xb=69;this.ga&&(g.J(g.xL(a),"ytp-embed"),g.J(g.xL(a),"ytp-embed-playlist"),this.Eb=60,this.xb=89);this.hf=e&&e.hf;this.na=null;this.O=[];this.S=new g.mQ(a);g.C(this,this.S);g.RL(a,this.S.element,4);this.Rb=new TQ(a);g.C(this,this.Rb);g.RL(a,this.Rb.element,4);e=new g.V({D:"div",I:"ytp-gradient-top"});g.C(this,e);g.RL(a,e.element,1);this.pc=new g.BM(e,250,!0,100);g.C(this,this.pc);this.A= new g.V({D:"div",I:"ytp-chrome-top"});g.C(this,this.A);g.RL(a,this.A.element,1);this.lc=new g.BM(this.A,250,!0,100);g.C(this,this.lc);this.za=[];this.J=new g.nR(a,this);g.C(this,this.J);g.RL(a,this.J.element,4);e=new bR(a);g.C(this,e);g.RL(a,e.element,5);e.subscribe("show",(0,g.x)(this.Nh,this,e));this.za.push(e);this.xa=new dR(a,this,e);g.C(this,this.xa);d.showBackButton&&(this.gd=new lQ(a),g.C(this,this.gd),this.gd.ba(this.A.element));this.ga||this.xa.ba(this.A.element);this.nb=new CQ(a,this);this.nb.ba(this.A.element); g.C(this,this.nb);this.dc=new lR(a,this);g.C(this,this.dc);this.dc.ba(this.A.element);e=new g.CC({D:"div",I:"ytp-chrome-top-buttons"});g.C(this,e);e.ba(this.A.element);this.da=e;this.H=new g.wR(a,this);g.C(this,this.H);this.H.ba(e.element);var f=new g.gR(a,this);g.C(this,f);g.RL(a,f.element,5);f.subscribe("show",(0,g.x)(this.Nh,this,f));this.za.push(f);this.G=new g.iR(a,this,f);g.C(this,this.G);this.G.ba(e.element);this.C=new RQ(a,this);g.C(this,this.C);this.C.ba(e.element);d.zm&&(f=new kR(a),g.C(this, f),g.RL(a,f.element,4));this.ga&&this.xa.ba(e.element);this.ra=new sQ(a,this,this.A.element);g.C(this,this.ra);this.ra.ba(e.element);f=new tQ(a,this,this.ra);g.C(this,f);f.ba(e.element);this.w=new XQ(a,this);g.C(this,this.w);g.RL(a,this.w.element,5);this.w.subscribe("show",function(){b.Nh(b.w,rO(b.w))}); this.za.push(this.w);this.Ja=new $Q(a,this,this.w);g.C(this,this.Ja);this.Ja.ba(e.element);(this.o="1"==d.controlsType?new UP(a,this,this.u):null)&&g.C(this,this.o);"3"==d.controlsType&&(e=new fR(a,this),g.C(this,e),g.RL(a,e.element,8));this.U=new g.PQ(a,this,this.S);g.C(this,this.U);this.U.subscribe("show",this.AC,this);this.fb=!1;e=new jQ(a,new kQ(a));g.C(this,e);g.RL(a,e.element,4);this.Ha=new g.V({D:"div",M:{tabindex:"0"}});this.Ha.ia("focus",this.HE,this);g.C(this,this.Ha);this.Fa=new g.V({D:"div", M:{tabindex:"0"}});this.Fa.ia("focus",this.IE,this);g.C(this,this.Fa);(this.ca=d.Ra?null:new g.UQ(a,c,this.U,this.u,this.S,(0,g.x)(this.Qf,this)))&&g.C(this,this.ca);this.P.push(this.S.element);this.ya=null;this.L(a,"fullscreentoggled",this.II);this.L(a,"offlineslatestatechange",this.XL,this);this.L(a,"cardstatechange",this.Sd,this)}; BR=function(a){var b=a.api.N(),c=g.W(g.zL(a.api),128);return b.u&&c&&!a.api.isFullscreen()}; CR=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=Ah(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=CR(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndexd/1E3+1)return"in-the-past";if(f.ua&&!isFinite(d))return"live-infinite";if(a.o&&((b=b.o)&&b.isView()&&(b=b.o),b&&b.Wi().length>a.o&&g.DB(e)))return"played-ranges";if(!e.va)return null;if(!e.va.o||!f.va.o)return"non-dash";if(e.va.videoInfos[0].containerType!=f.va.videoInfos[0].containerType)return"container";if(g.DB(f)&&g.DB(e))return"content-protection";a=f.va.o[0].audio; e=e.va.o[0].audio;return a.sampleRate==e.sampleRate||g.Iv?(a.o||2)!=(e.o||2)?"channel-count":null:"sample-rate"}; JR=function(a,b,c,d){g.A.call(this);var e=this;this.O=a;this.u=b;this.o=c;this.A=this.w=null;this.F=d-1E3*b.Ab();this.G=-1;this.H=!1;this.C=new sG;this.C.then(void 0,function(){}); this.J=new g.I(function(){return IR(e,"timeout")},1E4); g.C(this,this.J);this.P=isFinite(d);this.B={status:0,error:null}}; Pka=function(a){var b,c,d,e,f,k;return Da(function(l){if(1==l.o)return a.J.start(),ua(l,a.C,2);b=a.u.o;if(b.qf())return IR(a,"ended_in_finishTransition"),l["return"](Promise.reject());if(!a.A||!fw(a.A))return IR(a,"next_mse_closed"),l["return"](Promise.reject());if(a.o.G!=a.A)return IR(a,"next_mse_mismatch"),l["return"](Promise.reject());c=KR(a);d=c.jA;e=c.iA;CK(a.u,!1,!0);f=LR(b,d,e,!a.o.getVideoData().isAd());DK(a.o,f);a.P&&(a.o.seekTo(a.o.getCurrentTime()+.001,{Mk:!0,zu:3}),f.play());k=b.Ya(); k.cpn=a.u.getVideoData().clientPlaybackNonce;k.st=""+d;k.et=""+e;a.o.Sa("gapless",Sv(k));a.u.Sa("gaplessTo",a.o.getVideoData().clientPlaybackNonce);g.wf(function(){!a.o.getVideoData().re&&g.yD(a.o.getPlayerState())&&eL(a.o)}); MR(a,6);a.dispose();return l["return"](Promise.resolve())})}; PR=function(a){if(a.o.getVideoData().va){UK(a.o,a.A);MR(a,3);NR(a);var b=OR(a),c=b.aC;b=b.IO;c.subscribe("updateend",a.wj,a);b.subscribe("updateend",a.wj,a);a.wj(c);a.wj(b)}}; NR=function(a){a.u.unsubscribe("internalvideodatachange",a.Dh,a);a.o.unsubscribe("internalvideodatachange",a.Dh,a);a.u.unsubscribe("mediasourceattached",a.Dh,a);a.o.unsubscribe("statechange",a.yz,a)}; LR=function(a,b,c,d){return new g.HR(a.isView()?a.o:a,b,c,d)}; MR=function(a,b){b<=a.B.status||(a.B={status:b,error:null},5==b&&a.C.resolve(void 0))}; IR=function(a,b){if(!a.la()&&!a.isFinished()){var c=4<=a.B.status;a.B={status:Infinity,error:b};if(a.u&&a.o){var d=a.o.getVideoData().clientPlaybackNonce;a.u.Sa("gaplessError","cpn."+d+";msg."+b);d=a.u;d.T.rf=!1;c&&QK(d);d.w&&(c=d.w,c.o.ea=!1,c.w&&uH(c))}a.C.reject(void 0);a.dispose()}}; KR=function(a){var b=a.u.o;b=b.isView()?b.u:0;var c=a.u.getVideoData().ua?Infinity:hL(a.u,!0);c=Math.min(a.F/1E3,c)+b;var d=a.P?100:0;a=c-kJ(a.o.C)+d;return{rE:b,jA:a,qE:c,iA:Infinity}}; OR=function(a){return{aC:a.w.o.o,IO:a.w.u.o}}; QR=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.H=Nka(this.w.N());this.A=null;this.F=function(){return g.wf(function(){return Qka(b)})}}; Rka=function(a,b,c,d){d=void 0===d?0:d;a.o&&RR(a);a.B=new sG;a.o=b;var e=c,f=a.w.qb(),k=f.getVideoData().ua?Infinity:1E3*hL(f,!0);e>k&&(e=k-a.H.u,a.G=!0);f.getCurrentTime()>=e/1E3?a.F():(a.u=f,a.w.addEventListener(g.XD("vqueued"),a.F),e=isFinite(e)||e/1E3>a.u.getDuration()?e:0x8000000000000,a.C=new g.UD(e,0x8000000000000,{namespace:"vqueued"}),a.u.addCueRange(a.C));f=d/=1E3;e=b.getVideoData().ka;if(d&&e&&a.u){k=d;var l=0;b.getVideoData().ua&&(f=Math.min(c/1E3,hL(a.u,!0)),l=Math.max(0,f-a.u.getCurrentTime()), k=Math.min(d,hL(b)+l));f=xga(e,k)||d;f!=d&&a.o.Sa("qvaln","st."+d+";at."+f+";rm."+(l+";ct."+k))}b=f;a.o.getVideoData().si=!0;a.o.getVideoData().rf=!0;oK(a.o,!0);d="";a.u&&(d=g.kD(a.u.B.A),e=a.u.getVideoData().clientPlaybackNonce,d="crt."+(1E3*d).toFixed()+";cpn."+e);a.o.Sa("queued",d);0!=b&&a.o.seekTo(b+.01,{Mk:!0,zu:3});a.A=new JR(a.H,a.w.qb(),a.o,c);c=a.A;Infinity!=c.B.status&&(MR(c,1),c.u.subscribe("internalvideodatachange",c.Dh,c),c.o.subscribe("internalvideodatachange",c.Dh,c),c.u.subscribe("mediasourceattached", c.Dh,c),c.o.subscribe("statechange",c.yz,c),c.Dh());return a.B}; Qka=function(a){var b;return Da(function(c){switch(c.o){case 1:if(a.la()||!a.B||!a.o)return c["return"]();a.G&&WJ(a.w.qb(),!0,!1);if(!a.A){c.o=2;break}c.B=3;return ua(c,Pka(a.A),5);case 5:va(c,2);break;case 3:wa(c);case 2:SR(a.w.app,a.o);var d=a.o.getPlayerType();g.TR(a.w.app,d);a.w.playVideo();b=a.B;RR(a);return c["return"](b.resolve(void 0))}})}; RR=function(a){a.u&&(a.w.removeEventListener(g.XD("vqueued"),a.F),a.u.removeCueRange(a.C),a.C.dispose(),a.u=null,a.C=null);if(a.A){if(!a.A.isFinished()){var b=a.A;Infinity!=b.B.status&&IR(b,"Canceled")}a.A=null}a.B=null;a.o=null;a.G=!1}; VR=function(a,b,c){g.A.call(this);var d=this;this.A=a;this.J=b;c.getPlayerType();this.u=c;dka(this.u,this);this.F=new Map;this.o=[];this.G=NaN;this.B=this.w=null;this.C=new g.I(function(){UR(d,d.G)}); g.C(this,this.C);this.H=new g.O(this);g.C(this,this.H);this.H.L(this.A,g.XD("childplayback"),this.P)}; Tka=function(a,b,c,d,e){var f=a.u;e=void 0==e?d+c:e;if(d>e)return"";var k=1E3*f.zb();if(dk)return"";var l;k=g.q(a.o);for(var m=k.next();!m.done;m=k.next()){m=m.value;if(d>=m.Ib&&dm.Ib||e==m.Ib)return"";d==m.Lb&&(l=m)}k="childplayback_"+Ska++;m={Hb:WR(c,!0),Ee:Infinity,target:null};var n=b.raw_player_response;if(!n&&!g.Q(a.J.experiments,"web_player_parse_ad_response_killswitch")){var p=b.player_response;p&&(n=JSON.parse(p))}b={Bb:k,playerVars:b, playerType:2,durationMs:c,Ib:d,Lb:e,Yd:m,playerResponse:n};a.o=a.o.concat(b).sort(function(t,u){return t.Ib-u.Ib}); l?YR(l,{Hb:WR(l.durationMs,!0),Ee:Infinity,target:b}):(d={Hb:WR(d,!1),Ee:d,target:b},a.F.set(d.Hb,d),f.addCueRange(d.Hb));return k}; WR=function(a,b){return new g.UD(Math.max(0,a-5E3),b?0x8000000000000:a-1,{namespace:"childplayback",priority:7})}; YR=function(a,b){var c=a.Yd;a.Yd=b;c.Hb.dispose()}; ZR=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.Ib/1E3+c,k=f+e.durationMs/1E3;if(f>b)break;if(k>b)return{Ih:e,mi:b-f};c=k-e.Lb/1E3}return{Ih:null,mi:b-c}}; UR=function(a,b){var c=a.B||a.A.qb().getPlayerState();$R(a,!0);var d=ZR(a,b).mi;a.u.seekTo(d);d=a.A.qb();var e=d.getPlayerState();g.yD(c)&&!g.yD(e)?d.playVideo():g.W(c,4)&&!g.W(e,4)&&d.pauseVideo()}; $R=function(a,b){a.G=NaN;a.C.stop();a.w&&b&&PK(a.w);a.B=null;a.w=null}; bM=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.F),k=f.next();!k.done;k=f.next()){var l=g.q(k.value);k=l.next().value;l=l.next().value;l.Ee>=d&&l.target&&l.target.Lb<=e&&(a.u.removeCueRange(k),l.Hb.dispose(),a.F["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.Ib>=d&&l.Lb<=e?l.Yd.Hb.dispose():f.push(l);a.o=f;d=ZR(a,b/1E3);b=d.Ih;d=d.mi;b&&(d*=1E3,aS(b,d,b.Ib+d));ZR(a,c/1E3)}; aS=function(a,b,c){a.durationMs=b;a.Lb=c;b={Hb:WR(b,!0),Ee:b,target:null};YR(a,b)}; Wia=function(a,b,c){return(a=ZR(a,b).Ih)&&a.playerResponse&&a.playerResponse.streamingData&&(a=a.playerResponse.streamingData.adaptiveFormats)&&(a=a.find(function(d){return d.itag==c}))&&a.url?a.url:null}; cS=function(a,b,c){g.A.call(this);var d=this;this.o=a;this.P=b;c.getPlayerType();this.w=c;this.F=new Map;this.u=[];this.A=this.H=null;this.S=NaN;this.G=this.B=null;this.O=new g.I(function(){bS(d,d.S)}); g.C(this,this.O);this.J=[];this.U=new g.I(function(){var e=d.J.pop();if(e){var f=e.Bb,k=e.playerVars;e=e.playerType;k.prefer_gapless=!0;d.o.preloadVideoByPlayerVars(k,e,NaN,"",f);d.J.length&&g.Bn(d.U,4500)}}); g.C(this,this.U);this.C=new g.O(this);g.C(this,this.C);this.C.L(this.o,g.XD("childplayback"),this.zI);this.C.L(this.o,"onQueuedVideoLoaded",this.uM);this.C.L(this.o,"presentingplayerstatechange",this.AI)}; Vka=function(a,b,c,d,e){var f=a.w;e=void 0==e?d+c:e;if(d>e)return dS(a,"e.enterAfterReturn enterTimeMs="+d+" is greater than parentReturnTimeMs="+e),"";var k=1E3*f.zb();if(dk)return dS(a,"e.returnAfterDuration parentReturnTimeMs="+e+" is greater than parentDurationMs="+k),"";var l;k=g.q(a.u);for(var m=k.next();!m.done;m=k.next()){m=m.value;if(d>=m.Ib&&dm.Ib)return dS(a,"e.overlappingReturn"),"";if(e==m.Ib)return dS(a,"e.outOfOrder"),"";d==m.Lb&&(l=m)}k="childplayback_"+Uka++;m={Hb:eS(c,!0),Ee:Infinity,target:null};var n={Bb:k,playerVars:b,playerType:2,durationMs:c,Ib:d,Lb:e,Yd:m};a.u=a.u.concat(n).sort(function(u,z){return u.Ib-z.Ib}); l?fS(a,l,{Hb:eS(l.durationMs,!0),Ee:a.P.fa("timeline_manager_transition_killswitch")?Infinity:l.Yd.Ee,target:n}):(b={Hb:eS(d,!1),Ee:d,target:n},a.F.set(b.Hb,b),f.addCueRange(b.Hb));b=g.Q(a.P.experiments,"html5_gapless_preloading");if(a.w==a.o.qb()&&(f=1E3*f.getCurrentTime(),f>=n.Ib&&fb)break;if(k>b)return{Ih:e,mi:b-f};c=k-e.Lb/1E3}return{Ih:null,mi:b-c}}; bS=function(a,b){var c=a.G||a.o.qb().getPlayerState();nS(a,!0);var d=mS(a,b),e=d.Ih;d=d.mi;var f=e&&!jS(a,e)||!e&&a.w!=a.o.qb(),k=1E3*d;k=a.A&&a.A.start<=k&&k<=a.A.end;!f&&k||kS(a);e?gS(a,e,d,c):oS(a,d,c)}; oS=function(a,b,c){var d=a.w;if(d!=a.o.qb()){var e=d.getPlayerType();g.TR(a.o.app,e)}d.seekTo(b);pS(a,c)}; gS=function(a,b,c,d){var e=jS(a,b);if(!e){g.TR(a.o.app,b.playerType);b.playerVars.prefer_gapless=!0;var f=new g.eB(a.P,b.playerVars);f.Bb=b.Bb;qS(a.o.app,f,b.playerType,void 0)}f=a.o.qb();e||f.addCueRange(b.Yd.Hb);f.seekTo(c);pS(a,d)}; pS=function(a,b){var c=a.o.qb(),d=c.getPlayerState();g.yD(b)&&!g.yD(d)?c.playVideo():g.W(b,4)&&!g.W(d,4)&&c.pauseVideo()}; nS=function(a,b){a.S=NaN;a.O.stop();a.B&&b&&PK(a.B);a.G=null;a.B=null}; jS=function(a,b){var c=a.o.qb();return!!c&&c.getVideoData().Bb==b.Bb}; cM=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.F),k=f.next();!k.done;k=f.next()){var l=g.q(k.value);k=l.next().value;l=l.next().value;l.Ee>=d&&l.target&&l.target.Lb<=e&&(a.w.removeCueRange(k),l.Hb.dispose(),a.F["delete"](k))}d=b;e=c;f=[];k=g.q(a.u);for(l=k.next();!l.done;l=k.next())if(l=l.value,l.Ib>=d&&l.Lb<=e){var m=a;m.H==l&&kS(m);jS(m,l)&&g.aM(m.o,l.playerType);l.Yd.Hb.dispose()}else f.push(l);a.u=f;d=mS(a,b/1E3);b=d.Ih;d=d.mi;b&&(d*=1E3,rS(a,b,d,b.Lb==b.Ib+ b.durationMs?b.Ib+d:b.Lb));mS(a,c/1E3)}; rS=function(a,b,c,d){b.durationMs=c;b.Lb=d;d={Hb:eS(c,!0),Ee:c,target:null};fS(a,b,d);jS(a,b)&&1E3*a.o.qb().getCurrentTime()>c&&(b=lS(a,b)/1E3,c=a.o.qb().getPlayerState(),oS(a,b,c))}; dS=function(a,b){a.w.Sa("timelineerror",b)}; uS=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(){sS(c);tS(c)}); g.C(this,this.o)}; sS=function(a){var b=(0,g.N)();a.data.forEach(function(c){c.expire=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)}; Yka=function(a,b){if(g.hl())return null;var c=Xka();if(!c)return g.CL(a,"html5.webaudio",{name:"null context"}),null;if("string"===typeof c)return g.CL(a,"html5.webaudio",{name:c}),null;if(!c.createMediaElementSource)return g.CL(a,"html5.webaudio",{name:"missing createMediaElementSource"}),null;if("suspended"==c.state){var d=function(e){"suspended"==c.state&&g.yD(e.state)&&c.resume().then(function(){a.removeEventListener("presentingplayerstatechange",d);xS=!1},null)}; xS||(a.addEventListener("presentingplayerstatechange",d),xS=!0)}return new gE(c,b)}; Zka=function(a,b){Ao(a,"version",b)}; zS=function(a){var b=a.N();g.V.call(this,{D:"div",X:["html5-video-player"],M:{tabindex:"-1",id:a.Eb?a.Eb.rootElementId:a.xa.attrs.id},K:[{D:"div",I:"html5-video-container",M:{"data-layer":"0"}}]});b.transparentBackground&&this.Ho("ytp-transparent");b.fa("web_player_icons")&&g.J(this.element,"ytp-exp-contextmenu-icons");b.fa("web_wn_macro_markers")&&g.J(this.element,"ytp-exp-marker-tooltip");Zka(this.element,yS(a));this.app=a;this.A=this.o["html5-video-container"];this.w=new g.sh(0,0,0,0);this.u=null; this.G=new g.sh(0,0,0,0);this.J=this.U=this.S=NaN;this.C=!1;this.H=NaN;this.O=!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.V=(0,g.x)(function(){this.element.focus()},this); Rx(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.ca="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.Ud(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.Ud(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.Ud(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Ud(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Ud(854,480)},{query:window.matchMedia("(min-width: 1000px)"), size:new g.Ud(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.Ud(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Ud(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Ud(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.Ud(640,360)}]);this.Z=b.useFastSizingOnWatchDefault;this.B=new g.Ud(NaN,NaN);$ka(this);this.L(a.u,"onMutedAutoplayChange",this.KI)}; $ka=function(a){var b=a.app.u,c=(0,g.x)(a.KF,a),d=(0,g.x)(a.LF,a),e=(0,g.x)(a.JI,a),f=(0,g.x)(a.wF,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)})}; AS=function(a){a.u&&(a.u.removeEventListener("focus",a.V),g.ue(a.u),a.u=null)}; CS=function(a){var b=g.Q(a.app.N().experiments,"html5_aspect_from_adaptive_format"),c=g.U(a.app);if(c=c?c.getVideoData():null){if(c.fg()||c.gg()||c.Yf())return 16/9;if(b&&c.Kn()&&c.va.o)return b=c.va.videoInfos[0].video,BS(b.width,b.height)}return(a=a.u)?BS(a.videoWidth,a.videoHeight):b?16/9:NaN}; DS=function(a,b,c,d){var e=c;isNaN(a.J)?isNaN(a.U)||(e=a.U):e=a.J;a=BS(b.width,b.height);isFinite(e)||(e=Math.max(c,a));var f;e>a?f={width:b.width,height:b.width/e,aspectRatio:e}:ee?f.width=f.height*c:cMath.abs(ES*b-a)||1>Math.abs(ES/a-b)?ES:a/b}; FS=function(a){if(1==a.app.U)return!1;if(6==a.app.U)return!0;var b=g.U(a.app);if(!b||tK(b))return!1;var c=g.zL(a.app.u);a=!g.W(c,2)||!g.Q(a.app.N().experiments,"html5_leanback_gapless_elem_display_killswitch")&&b&&b.getVideoData().rf;b=g.W(c,1024);return c&&a&&!b&&!c.isCued()}; GS=function(a){var b="3"==a.app.N().controlsType&&!a.C&&FS(a)&&!a.app.Na||!1;a.u.controls=b;a.u.tabIndex=b?0:-1;b?a.u.removeEventListener("focus",a.V):g.Q(a.app.N().experiments,"disable_focus_redirect")||a.u.addEventListener("focus",a.V)}; HS=function(a){var b=a.getPlayerSize(),c=1,d=!1,e=DS(a,b,a.getVideoAspectRatio()),f=nl();if(FS(a)){var k=CS(a);var l=isNaN(k)||g.Dw||pI&&g.Zx;ol&&!g.Md(601)?k=e.aspectRatio:l=l||"3"==a.app.N().controlsType;l?l=new g.sh(0,0,b.width,b.height):(c=e.aspectRatio/k,l=new g.sh((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1==c&&g.Zx&&(k=l.width-b.height*k,0=c&&b<=d}; eT=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}; GT=function(a,b){var c=g.U(a,b);return c?a.Ob(c)?(c=qT(a,c),aL(c)-c.getCurrentTime()+a.getCurrentTime(b)):aL(c):0}; HT=function(a,b,c){if(a.Ob(c)){c=c.getVideoData();if(a.S){a=a.S;for(var d=g.q(a.o),e=d.next();!e.done;e=d.next())if(e=e.value,c.Bb==e.Bb){b+=e.Ib/1E3;break}d=b;a=g.q(a.o);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Bb==e.Bb)break;var f=e.Ib/1E3;if(fe?f=!0:1=d)throw Error("Timed out while waiting for GPT services");return Xf(200).then(function(){return c(d-1)})}}; a.o=Ff().then(function(){return c(b)})}return a.o}; NU=function(a,b,c){var d=Xf(5E3).then(function(){throw Error("Timed out while waiting for GPT set companion");}),e=new Bf(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.pe("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 Jf([e,d])}; MU=function(){var a=KU();if(!a)return!1;a=LU(a);return g.Ma(a)&&0!=a.length?null!=ae("google_companion_ad_div"):!1}; KU=function(){var a=le();return g.w("googletag.cmd",a)?a:null}; LU=function(a){a=void 0!==a.googleGetCompanionAdSlots?Io(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}; $U=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}; aV=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0}; bV=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind}; Cla=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=$U(a.progressCommands.filter(function(c){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==c.adVideoOffset.kind})); b.start=$U(a.progressCommands.filter(function(c){return bV(c)&&Rd(aV(c),0)})); b.first_quartile=$U(a.progressCommands.filter(function(c){return bV(c)&&Rd(aV(c),.25)})); b.midpoint=$U(a.progressCommands.filter(function(c){return bV(c)&&Rd(aV(c),.5)})); b.third_quartile=$U(a.progressCommands.filter(function(c){return bV(c)&&Rd(aV(c),.75)})); b.complete=$U(a.progressCommands.filter(function(c){return bV(c)&&Rd(aV(c),1)})); return b}; cV=function(a){QU.call(this,a,Cla(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}; dV=function(a,b,c,d){this.id=b;this.J=a.placementStartPings||[];this.H=a.placementEndPings||[];this.u=d.Qc;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=qU(b,d);if(null==f)d=new nU(b,new Hi(-1,-1),!1,"adcuerange:invalid", 2),d.o=!0,d=[null,d];else{e=":"+(kn.getInstance().o++).toString(36);var k=d.Ub||d.Qc;f=new nU(b,f,d.visible&&!k,"adcuerange:"+e,2);k=null;if(d.Qc||0=c*a.A.Xu||d)&&GV(a,"first_quartile");(b>=c*a.A.tv||d)&&GV(a,"midpoint");(b>=c*a.A.Av||d)&&GV(a,"third_quartile")}; FV=function(a,b,c,d){if(null==a.B){if(cd||d>c)return;GV(a,b)}; CV=function(a,b,c){if(0f.w&&f.Uc()}}; rW=function(a,b){sU.call(this,"ads-engagement-panel",a,b)}; sW=function(a,b,c,d,e){Y.call(this,a,b,c,d,e)}; tW=function(a,b,c,d,e){Y.call(this,a,b,c,d,e)}; uW=function(a,b){sU.call(this,"invideo-overlay",a,b)}; vW=function(a,b){sU.call(this,"invideo-overlay-as-cta",a,b)}; wW=function(a,b,c,d,e){Y.call(this,a,b,c,d,e);this.o=b}; xW=function(a,b){sU.call(this,"persisting-overlay",a,b)}; yW=function(a,b,c,d,e){Y.call(this,a,b,c,d,e);this.o=b}; zW=function(a){return a?g.T(a):null}; AW=function(a){if(!a)return[];a=a.loggingUrls;if(!a)return[];a=a.map(function(b){return b.baseUrl}); return 0===a.length?[]:a}; Qla=function(a){return a.cancelRenderer&&a.cancelRenderer.buttonRenderer?(a=a.cancelRenderer.buttonRenderer.serviceEndpoint)&&a.muteAdEndpoint?a:null:null}; BW=function(a){var b={};b.baseUrl=a;return{loggingUrls:[b],pingingEndpoint:{hack:!0}}}; CW=function(a,b,c,d,e){this.u=a;this.w=b;this.o=hV(d);this.A=c;this.C=d;this.B=e}; EW=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?DW(a,e):a.A.Tg()}; b.skipShown=function(){DW(a,d.adRendererCommands&&d.adRendererCommands.impressionCommand)}}}; FW=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&&(Rla(a,b,d.adInfoDialogRenderer),b.whyThisAdInfo.menuTitle=zW(c.hoverText)||"",d.adInfoDialogRenderer.muteAdRenderer&&(c=d.adInfoDialogRenderer.muteAdRenderer.buttonRenderer)&& Sla(a,b,c))}}; DW=function(a,b){if(b){var c=GW(a);g.Ma(b)?b.forEach(function(d){return a.u.executeCommand(d,c)}):a.u.executeCommand(b,c)}}; Rla=function(a,b,c){var d=zW(c.confirmLabel)||"",e=zW(c.title)||"",f=c.adReasons?c.adReasons.map(function(k){return zW(k)||""}):[]; b.whyThisAdInfo={closeButton:d,menuTitle:"",targetingReasonHeader:e,targetingReasons:f,adSettingsLink:null,cancelButton:null,continueButton:null,controlText:null};b.whyThisAdClicked=function(){DW(a,c.impressionEndpoints)}; b.whyThisAdClosed=function(){DW(a,c.confirmServiceEndpoint)}}; Sla=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:zW(c.text)||"",surveyOptions:[]};b.muteAdInfo=e;c=AW(c.navigationEndpoint);var f=BW(c[1]),k=[BW(c[0])];(c=Qla(d))&&k.push(c);var l=!1;b.muteAdClicked=function(){l=!0;DW(a,f)}; b.muteAd=function(){l||DW(a,f);l=!1;DW(a,k)}; Tla(b,d)}}}; Tla=function(a,b){a.muteAdInfo.goneText=zW(b.title)||"";a.muteAdInfo.questionText=zW(b.reasonsTitle)||"";b.undoRenderer&&(a.muteAdInfo.undoText=zW(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=zW(f.reason)||"";f=AW(f.endpoint);c.push({label:e,url:f[0]})}}; GW=function(a){if(g.Q(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)}; HW=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(){}}}; Ula=function(a,b,c,d,e,f){this.o=c;this.u=new CW(a,b,d,e,f)}; Vla=function(a,b,c){var d=HW();d.instreamAdPlayerOverlayRenderer=b;c&&(d.adNextParams=c);d.executeCommand=function(e){DW(a.u,e)}; if(b.skipOrPreviewRenderer)switch(Object.keys(b.skipOrPreviewRenderer)[0]){case "skipAdRenderer":EW(a.u,d,b.skipOrPreviewRenderer.skipAdRenderer)}if(b.adInfoRenderer)switch(Object.keys(b.adInfoRenderer)[0]){case "adHoverTextButtonRenderer":FW(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)}; return d}; IW=function(a,b){sU.call(this,"pla-shelf",a,b)}; JW=function(a,b,c,d,e){Y.call(this,a,b,mV(c,{TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"}),d,e);this.o=b}; KW=function(a,b){sU.call(this,"shopping-companion",a,b)}; LW=function(a,b,c,d,e){Y.call(this,a,b,c,d,e)}; Wla=function(a,b,c,d,e){this.o=new CW(a,b,c,d,e)}; Yla=function(a,b){var c=HW();c.instreamSurveyAdRenderer=b;c.executeCommand=function(e){DW(a.o,e)}; var d=Xla(b);if(d.skipOrPreviewRenderer)switch(Object.keys(d.skipOrPreviewRenderer)[0]){case "skipAdRenderer":EW(a.o,c,d.skipOrPreviewRenderer.skipAdRenderer)}if(d.adInfoRenderer)switch(Object.keys(d.adInfoRenderer)[0]){case "adHoverTextButtonRenderer":FW(a.o,c,d.adInfoRenderer.adHoverTextButtonRenderer)}c.sendAdsPing=function(e){a.o.sendAdsPing(e)}; return c}; Xla=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}; OW=function(a,b,c){g.P.call(this,!0);var d=this;this.C=b;this.B=c;this.u=a;this.Da=new g.Vf(200);this.Da.ia("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.Da.stop());e=d.o/1E3;d.B&&MW(d.B,e);NW(d,{current:e,duration:d.u/1E3})}); g.C(this,this.Da);this.o=0;this.w=null;g.Ge(this,function(){d.w=null}); this.A=0}; NW=function(a,b){a.C.ma("onAdPlaybackProgress",b);a.w=b}; PW=function(a){sU.call(this,"survey",a)}; Zla=function(a,b,c){return g.Q(b.N().experiments,"enable_external_player_ad_playback_progress_html5")?new OW(1E3*a.u,b,c):null}; QW=function(a,b,c,d,e,f,k){Y.call(this,a,b,c,d,e,1);var l=this;this.A=b;this.w=new g.O;g.C(this,this.w);this.w.L(this.aa,"resize",function(){450>g.wL(l.aa).getPlayerSize().width&&(g.yr(l.w),l.Bc())}); this.G=f;this.B=k(this);if(this.o=Zla(b,a,f))g.C(this,this.o),this.w.L(a,"onAdPlaybackProgress",function(m){m.current===m.duration&&(m=l.A.o,(m=m.questions&&m.questions[0])?(m=(m=m.instreamSurveyAdMultiSelectQuestionRenderer||m.instreamSurveyAdSingleSelectQuestionRenderer)&&m.surveyAdQuestionCommon,DW(l.B.o,m&&m.timeoutCommands)):Mq(Error("Expected a survey question in InstreamSurveyAdRenderer.")))})}; RW=function(a,b){sU.call(this,"survey-interstitial",a,b)}; SW=function(a,b,c,d,e){Y.call(this,a,b,c,d,e,1);this.o=b}; TW=function(a){sU.call(this,"ad-text-interstitial",a)}; UW=function(a,b,c,d,e,f){Y.call(this,a,b,c,d,e);this.w=b;this.o=b.o.durationMilliseconds||0;this.Da=null;this.A=f}; VW=function(a,b){g.A.call(this);this.A=Math.max(0,a);this.w=this.u=0;this.B=b;this.o=null}; WW=function(a){a.o&&(a.o.stop(),a.o.dispose(),a.o=null)}; XW=function(){sU.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.o=null}; YW=function(a){a=void 0===a?null:a;sU.call(this,"ad-channel-thumbnail");this.channelIconThumbnailUrl=a}; ZW=function(a){a=void 0===a?null:a;sU.call(this,"ad-title");this.videoTitle=a}; $W=function(a){a=void 0===a?null:a;sU.call(this,"advertiser-name");this.channelName=a}; aX=function(a){sU.call(this,"player-overlay",a)}; bX=function(a){sU.call(this,"skip-button",a)}; cX=function(a){sU.call(this,"visit-advertiser",a);var b={};var c=a.text;a=a.navigationEndpoint;null!=c&&null!=c.runs&&null!=a?(b.runs=[g.Rb(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}; dX=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.U=n;this.o=b;this.A=k;this.V=new g.O(this);g.C(this,this.V);this.G=new g.I(function(){t.Vb("load_timeout")},g.Q(a.N().experiments,"use_variable_load_timeout")?g.R(a.N().experiments,"variable_load_timeout_ms"):1E4); g.C(this,this.G);this.w=null;g.Q(a.N().experiments,"enable_bulleit_buffer_timer")&&(this.w=new VW(g.Q(a.N().experiments,"use_variable_buffer_timeout")?g.R(a.N().experiments,"variable_buffer_timeout_ms"):15E3,function(){t.Vb("buffer_timeout")}),g.C(this,this.w)); this.ea=!g.Q(a.N().experiments,"bulleit_unstarted_event_killswitch");this.J=!1;this.da=m(this);this.ca=f;this.H=l;this.B=p;this.P=this.Z=!1}; gX=function(a,b){eX(a)&&a.P&&(a.P=!1,$la(a.U,fX(a),b))}; eX=function(a){return hX(a.B)||iX(a.B)||jX(a.B)||kX(a.B)}; lX=function(a){return(a=a.aa.getVideoData(2))?a.clientPlaybackNonce:""}; fX=function(a){if(a=a.o.o.elementId)return a;Mq(Error("No elementId on VideoAd InstreamVideoAdRenderer"));return""}; mX=function(a){var b=new XW;b.adBadgeText="Annonce";var c=a.o.A;1=a.u.end||(a.u.end=b,a.R("Shortened the latest cuerange",b))}; uX=function(a){g.A.call(this);this.o=[];var b=a.subscribe("Shortened the latest cuerange",this.u,this);g.Ge(this,function(){a.pg(b)})}; vX=function(a){g.A.call(this);this.o=new uX(a.QN);g.C(this,this.o);this.u=new qX(a.pE)}; wX=function(){QU.apply(this,arguments)}; bma=function(a,b,c){this.w=a;this.o=b;this.u=c;this.A=a.getCurrentTime()}; dma=function(a,b){var c=void 0===c?Date.now():c;if(a.u)for(var d=a.o.clientPlaybackNonce,e=g.q(b),f=e.next();!f.done;f=e.next()){f=f.value;var k=c;xX({cuepointTrigger:{type:"CUEPOINT_TYPE_AD",event:cma(f.event),cuepointId:f.identifier,totalCueDurationMs:1E3*f.durationSecs,playheadTimeMs:f.o,cueStartTimeMs:1E3*f.startSecs,cuepointReceivedTimeMs:k,contentCpn:d}});"unknown"===f.event&&yX("DAI_ERROR_TYPE_CUEPOINT_WITH_INVALID_EVENT",d);f=f.startSecs+f.o/1E3;f>a.A&&a.w.getCurrentTime()>f&&yX("DAI_ERROR_TYPE_LATE_CUEPOINT", d)}}; ema=function(a,b,c){a.u&&xX({daiStateTrigger:{totalCueDurationMs:b,filledAdsDurationMs:c,contentCpn:a.o.clientPlaybackNonce}})}; zX=function(a,b){a.u&&xX({driftRecoveryInfo:{contentCpn:a.o.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,driftRecoveryMs:b.driftRecoveryMs.toString(),breakDurationMs:Math.round(b.wy-b.jB).toString(),driftFromHeadMs:Math.round(1E3*PT(a.w.app)).toString()}})}; fma=function(a,b){a.u&&xX({adTrimmingInfo:{contentCpn:a.o.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,adMediaInfo:b.WD}})}; yX=function(a,b){xX({daiStateTrigger:{errorType:a,contentCpn:b}})}; xX=function(a){Kq("adsClientStateChange",a)}; cma=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.Q(this.u.N().experiments,"html5_ad_csi_tracker_initialization_killswitch"))?this.u.N().deviceParams.c:g.L("INNERTUBE_CLIENT_NAME",void 0);this.ca=a?this.u.N().deviceParams.cver:g.L("INNERTUBE_CLIENT_VERSION",void 0);this.U=a?this.u.N().deviceParams.cbrand:"";this.V=a?this.u.N().deviceParams.cmodel:"";this.J="AD_PLACEMENT_KIND_UNKNOWN";this.B=this.H=this.F=this.C=null;this.o="unknown_type";this.P=!0;this.O=this.w=this.G=!1;this.S="vod";this.A=null}; BX=function(a){a.C=null;a.F=null;a.H=null;a.B=null;a.A=null;a.J="AD_PLACEMENT_KIND_UNKNOWN";a.o="unknown_type";a.G=!1;a.w=!1}; CX=function(a){a.w=!1;WA("ad_to_video",["pbresume"],void 0)}; gma=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.A].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.wf(function(){return FX(c,b,1)})}; HX=function(a,b,c,d,e,f,k,l){g.P.call(this);this.wc=a;this.aa=b;this.o=d;this.B=this.o.o instanceof QU?this.o.o:null;this.u=null;this.P=!1;this.F=c;this.J=(a=b.getVideoData(1))&&a.ua||!1;this.S=0;this.U=!1;this.V=g.Q(b.N().experiments,"abort_ad_on_browser_autoplay_blocked");this.Je=e;this.Pi=f;this.Cg=k;this.O=!1;this.Ub=l}; IX=function(a){if(uV(a.aa)){var b=a.aa.getVideoData(2);(b=a.o.G[b.Bb]||null)?(!a.u||a.u&&a.u.C!==b)&&a.Zb(b):a.Eo()}else 1===a.aa.getPresentingPlayerType()&&a.u&&a.Eo()}; JX=function(a){(a=a.baseUrl)&&g.Uq(a,void 0,fn(a))}; KX=function(a,b){var c=a.F,d=a.o.wb().w,e=a.Xw(),f=a.Zw();var k=a.isLiveStream()?"live":"vod";BX(c);var l=c.u.getVideoData(1),m=c.u.getVideoData(2);l&&(c.C=l.clientPlaybackNonce,c.H=l.videoId);m&&(c.F=m.clientPlaybackNonce,c.B=m.videoId,c.A=m.adFormat);c.J=d;0>=f?BX(c):(c.o=c.P?b?"unknown_type":"video_to_ad":b?"ad_to_video":"ad_to_ad",c.S=k,c.O=e+1==f,c.G=!0,c.G&&(bB("c",c.Z,c.o),bB("cver",c.ca,c.o),g.Q(c.u.N().experiments,"html5_ad_csi_tracker_initialization_killswitch")||(bB("cbrand",c.U,c.o),bB("cmodel", c.V,c.o)),bB("yt_pt","html5",c.o),bB("yt_pre","2",c.o),bB("yt_abt",gma(c.J),c.o),c.C&&bB("cpn",c.C,c.o),c.H&&bB("docid",c.H,c.o),c.F&&bB("ad_cpn",c.F,c.o),c.B&&bB("ad_docid",c.B,c.o),bB("yt_vst",c.S,c.o),c.A&&bB("ad_at",c.A,c.o)))}; MX=function(a,b){b=void 0===b?!1:b;LX(a.wc,a.o.wb(),a);b||lr("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED");a.Ub&&!a.o.F&&(hma(a,a.ax()),a.o.F=!0)}; hma=function(a,b){for(var c=NX(a),d=a.o.wb().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(!ima(a,k,d,m)||l!==m)break;d=l}c=b.reduce(function(n,p){return n+OX(p)},0); ema(a.Je,pla(a.o.wb()),c);fma(a.Je,{cueIdentifier:a.o.u&&a.o.u.identifier,WD:e})}; OX=function(a){var b=1E3*a.u;return 0=c.o.length||c.o[a]>b?null:c.o[a]);return Math.min(b,null===c?Infinity:c)}; ima=function(a,b,c,d){var e=a.Cg.create(b,lV(iV(a.o)));c=e.Jw(c,d);g.He(e);if(!c)return!1;a.o.G[c]=b;return!0}; jma=function(a){if(a.U)return function(c){c.seekTo(Infinity,!0,void 0,1)}; var b=Math.floor((0,g.H)()/1E3)-a.S;return function(c){c.seekTo(c.getCurrentTime()+b,!0,void 0,1)}}; PX=function(a,b,c,d){this.o=a;this.u=b;this.w=c;this.A=d}; QX=function(a,b,c,d,e){g.P.call(this);this.u=a;this.A=b;this.B=c;this.o=d;this.w=e;lma(this)}; mma=function(a,b){var c=null,d={isEmpty:!0,hy:!1,Ah:[]};try{c=JSON.parse(b.response)}catch(f){return b.response&&(c=b.response,c.startsWith("GIF89")||(f.params=c.substr(0,256),g.Jo(f))),d}if(!c)return d;if(c&&c.adThrottled)return d.hy=!0,d;c=c.playerAds;if(!c||!c.length)return d;c=c.map(function(f){return f.adPlacementRenderer}).filter(function(f){return f&&null!=f.renderer}); if(g.db(c))return d;if(0c.width||b.height>c.height}; VZ=function(a,b,c){var d=g.Rb(a.macros),e=g.Ph(b);d.AW={toString:function(){return e.width.toString()}}; d.AH={toString:function(){return e.height.toString()}}; var f=g.Mh(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.J.toString()}}; a.H.forEach(function(k){return a.oa.executeCommand(k,d)}); a.api.pauseVideo()}; rna=function(a,b){var c=g.xL(a.api);g.K(c,"ytp-ad-overlay-open",b);g.K(c,"ytp-ad-overlay-closed",!b)}; ZZ=function(a,b,c){wZ.call(this,a,b,{D:"div",I:"ytp-ad-message-overlay",K:[{D:"div",I:"ytp-ad-message-slot"}]},"ad-message",c);var d=this;this.U=-1;this.Z=this.o["ytp-ad-message-slot"];this.A=new g.HC({D:"span",I:"ytp-ad-message-container"});this.A.ba(this.Z);g.C(this,this.A);this.w=new AZ(this.api,this.oa,"ytp-ad-message-text");g.C(this,this.w);this.w.ba(this.A.element);this.H=new g.BM(this.A,400,!1,100,function(){return d.hide()}); g.C(this,this.H);this.C=0;this.J=!1;this.hide()}; sna=function(a,b){var c=g.xL(a.api);g.K(c,"ytp-ad-overlay-open",b);g.K(c,"ytp-ad-overlay-closed",!b)}; $Z=function(a,b,c){wZ.call(this,a,b,{D:"div",I:"ytp-ad-skip-ad-slot"},"skip-ad",c);this.H=!1;this.C=0;this.A=this.w=null;this.hide()}; a_=function(a,b){if(!a.H)if(a.H=!0,a.w&&(b?a.w.J.hide():a.w.hide()),b){var c=a.A;c.ga.show();c.show()}else a.A.show()}; b_=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-persisting-overlay",K:[{D:"div",I:"ytp-ad-persisting-overlay-skip"}]},"persisting-overlay");this.w=this.o["ytp-ad-persisting-overlay-skip"];this.u=c;g.C(this,this.u);this.hide()}; c_=function(a,b,c){wZ.call(this,a,b,{D:"span",I:"ytp-ad-duration-remaining"},"ad-duration-remaining",c);this.w=null;this.hide()}; d_=function(a,b){AZ.call(this,a,b,"ytp-video-ad-top-bar-title","ad-title")}; e_=function(a,b,c){wZ.call(this,a,b,{D:"div",X:["ytp-flyout-cta","ytp-flyout-cta-inactive"],K:[{D:"div",I:"ytp-flyout-cta-icon-container"},{D:"div",I:"ytp-flyout-cta-body",K:[{D:"div",I:"ytp-flyout-cta-text-container",K:[{D:"div",I:"ytp-flyout-cta-headline-container"},{D:"div",I:"ytp-flyout-cta-description-container"}]},{D:"div",I:"ytp-flyout-cta-action-button-container"}]}]},"flyout-cta",c);this.H=new tZ(this.api,this.oa,"ytp-flyout-cta-icon");g.C(this,this.H);this.H.ba(this.o["ytp-flyout-cta-icon-container"]); this.C=new AZ(this.api,this.oa,"ytp-flyout-cta-headline");g.C(this,this.C);this.C.ba(this.o["ytp-flyout-cta-headline-container"]);this.A=new AZ(this.api,this.oa,"ytp-flyout-cta-description");g.C(this,this.A);this.A.ba(this.o["ytp-flyout-cta-description-container"]);this.w=new vZ(this.api,this.oa,["ytp-flyout-cta-action-button"]);g.C(this,this.w);this.w.ba(this.o["ytp-flyout-cta-action-button-container"]);this.J=null;this.U=0;this.hide()}; f_=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"toggle-button":d;var e=rU("ytp-ad-toggle-button-input");Z.call(this,a,b,{D:"div",X:["ytp-ad-toggle-button"].concat(c),K:[{D:"label",I:"ytp-ad-toggle-button-label",M:{"for":e},K:[{D:"span",I:"ytp-ad-toggle-button-icon",M:{role:"button","aria-label":"{{tooltipText}}"},K:[{D:"span",I:"ytp-ad-toggle-button-untoggled-icon",W:"{{untoggledIconTemplateSpec}}"},{D:"span",I:"ytp-ad-toggle-button-toggled-icon",W:"{{toggledIconTemplateSpec}}"}]},{D:"input", I:"ytp-ad-toggle-button-input",M:{id:e,type:"checkbox"}},{D:"span",I:"ytp-ad-toggle-button-text",W:"{{buttonText}}"},{D:"span",I:"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.U=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.V=this.o["ytp-ad-toggle-button-text"];this.w=null;this.H=!1;this.J=null;this.hide()}; g_=function(a){a.H&&(a.isToggled()?(g.Qh(a.C,!1),g.Qh(a.B,!0)):(g.Qh(a.C,!0),g.Qh(a.B,!1)))}; tna=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||[]}; h_=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-instream-user-sentiment-container"},"instream-user-sentiment",void 0===c?null:c);var d=this;this.u=null;this.A=new f_(this.api,this.oa,["ytp-ad-instream-user-sentiment-like-button"]);g.C(this,this.A);this.A.ba(this.element);this.w=new f_(this.api,this.oa,["ytp-ad-instream-user-sentiment-dislike-button"]);g.C(this,this.w);this.w.ba(this.element);this.B=new g.BM(this,400,!1,500,function(){return d.hide()}); g.C(this,this.B);this.C=null;this.hide()}; una=function(a,b){a.A.init(rU("toggle-button"),a.u.likeButton.toggleButtonRenderer,b);a.w.init(rU("toggle-button"),a.u.dislikeButton.toggleButtonRenderer,b);a.C=a.L(a.element,"change",a.Zz)}; i_=function(a,b){vZ.call(this,a,b,["ytp-ad-visit-advertiser-button"],"visit-advertiser");this.A=null}; j_=function(a,b,c){c=void 0===c?!1:c;Z.call(this,a,b,{D:"span",I:"ytp-ad-simple-ad-badge"},"simple-ad-badge");this.u=c;this.hide()}; k_=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-player-overlay",K:[{D:"div",I:"ytp-ad-player-overlay-flyout-cta"},{D:"div",I:"ytp-ad-player-overlay-instream-info"},{D:"div",I:"ytp-ad-player-overlay-skip-or-preview"},{D:"div",I:"ytp-ad-player-overlay-progress-bar"},{D:"div",I:"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(vna(this)){a=g.oe("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 d_(this.api,this.oa);d.ba(a);d.init(rU("ad-title"),{text:b.title},this.macros);g.C(this,d)}this.A=a}this.B=this.o["ytp-ad-player-overlay-skip-or-preview"];this.J=this.o["ytp-ad-player-overlay-progress-bar"];this.H=this.o["ytp-ad-player-overlay-instream-user-sentiment"];this.u=c;g.C(this,this.u);this.hide()}; vna=function(a){a=a.api.N();return Wx(a)&&a.o}; l_=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-answer"},"survey-answer");this.w=this.o["ytp-ad-survey-answer"];this.u=null;this.A="";this.hide()}; m_=function(a,b){Z.call(this,a,b,{D:"div",I:"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()}; n_=function(a,b){vZ.call(this,a,b,["ytp-ad-survey-submit-button"],"survey-submit")}; o_=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-player-overlay",K:[{D:"div",I:"ytp-ad-survey-player-overlay-instream-info"},{D:"div",I:"ytp-ad-survey-player-overlay-skip-preview-submit",K:[{D:"div",I:"ytp-ad-survey-player-overlay-skip-or-preview"},{D:"div",I:"ytp-ad-survey-player-overlay-submit"}]},{D:"div",I:"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.H=this.o["ytp-ad-survey-player-overlay-skip-or-preview"]; this.u=null;this.J=this.o["ytp-ad-survey-player-overlay-submit"];this.A=null;this.B=c;g.C(this,this.B);this.hide()}; p_=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-question",K:[{D:"div",X:["ytp-ad-survey-question-text","ytp-ad-survey-question-foreground"]},{D:"div",X:["ytp-ad-survey-answers","ytp-ad-survey-question-foreground"]},{D:"div",X:["ytp-ad-survey-question-player-overlay","ytp-ad-survey-question-foreground"]},{D:"div",I:"ytp-ad-survey-question-background"}]},c);this.question=this.o["ytp-ad-survey-question"];this.Z=this.o["ytp-ad-survey-question-background"];this.U=this.o["ytp-ad-survey-question-text"]; this.answers=this.o["ytp-ad-survey-answers"];this.J=this.o["ytp-ad-survey-question-player-overlay"];this.C=null;this.A=[];this.u=null;this.B=(0,g.H)()}; wna=function(a,b,c){var d=new l_(a.api,a.oa);d.ba(a.answers);d.init(rU("survey-answer"),b,c);a.A.push(d)}; yna=function(a,b){if(b){var c=b.background;c&&c.instreamSurveyAdBackgroundImageRenderer&&(c=(c=c.instreamSurveyAdBackgroundImageRenderer.image)&&sZ(c)||"",g.hc(c)?g.Jo(Error("Found ThumbnailDetails without valid image URL")):g.vh(a.Z,"backgroundImage","url("+c+")"));xna(a,b)}else g.M(Error("addCommonComponents() needs to be called before starting countdown."))}; xna=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 HZ(b.durationMilliseconds,a.oa);g.C(a,a.u);if(b.timeoutCommands){var c=b.timeoutCommands;a.u.subscribe("a",function(){c.forEach(function(e){return a.oa.executeCommand(e,a.macros)})})}if(a.u&&b.instreamAdPlayerOverlay&&b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)try{var d= new o_(a.api,a.oa,a.u); d.ba(a.J);d.init(rU("survey-player-overlay"),b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer,a.macros);a.C=d;g.C(a,d);a.IB()}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 Cc;else{var e=document;"function"===typeof HTMLTemplateElement&&(e=g.pe("TEMPLATE").content.ownerDocument);e=e.implementation.createHTMLDocument("").createElement("DIV");e.style.cssText=d;d=fea(e.style)}c=Faa(d,Ic({"background-image":'url("'+c+'")'}));a.style.cssText=Dc(c)}}; Fna=function(a){var b=g.de("html5-video-player");b&&g.K(b,"ytp-ad-display-override",a)}; v_=function(a,b){Z.call(this,a,b,{D:"div",I:"iv-website-companion",K:[{D:"div",I:"iv-website-companion-block",K:[{D:"div",I:"iv-website-companion-icon"},{D:"div",I:"iv-website-companion-text",K:[{D:"div",I:"iv-website-companion-desc",K:[{D:"span",X:["yt-badge","yt-badge-ad"],W:"{{adBadgeText}}"}]}]}]}]},"action-companion");this.V=this.o["iv-website-companion"];this.A=new tZ(this.api,this.oa,"iv-website-companion-banner");g.C(this,this.A);this.A.ba(this.V,0);this.ea=new tZ(this.api,this.oa);g.C(this, this.A);this.ea.ba(this.o["iv-website-companion-icon"]);this.J=new AZ(this.api,this.oa,"iv-website-companion-header");g.C(this,this.J);this.J.ba(this.o["iv-website-companion-text"],0);this.C=new AZ(this.api,this.oa,"iv-website-companion-domain");g.C(this,this.C);this.C.ba(this.o["iv-website-companion-desc"]);this.w=new vZ(this.api,this.oa,["iv-website-companion-action","yt-uix-button-size-default","yt-uix-button-primary"]);g.C(this,this.w);this.w.ba(this.o["iv-website-companion-block"]);this.B=new qY(this.api, this.oa);g.C(this,this.B);this.B.ba(this.V,0);this.U=null;this.Z=[];this.H=new g.O;g.C(this,this.H);this.ga=new IU(3E4);this.u=null;this.hide()}; w_=function(){g.V.call(this,{D:"div",I:"ad-carousel",K:[{D:"div",I:"ad-carousel-clip",K:[{D:"ul",X:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.o["ad-carousel"];this.A=new g.V({D:"button",X:["ad-carousel-nav-button","ad-carousel-nav-prev"],M:{type:"button",onclick:"return false;"},K:[{D:"span",X:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],M:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.C(this,this.A);this.A.ia("click",this.F,this);this.A.ba(a);this.w=new g.V({D:"button", X:["ad-carousel-nav-button","ad-carousel-nav-next"],M:{type:"button",onclick:"return false;"},K:[{D:"span",X:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],M:{"data-tooltip-text":"Next",title:"Next"}}]});g.C(this,this.w);this.w.ia("click",this.C,this);this.w.ba(a);this.B=this.o["ad-carousel-list"];this.u=0;this.Ga=[]}; y_=function(a){a.B&&g.vh(a.B,"left",(2>a.Ga.length?0:-a.u*a.Ga[1].element.clientWidth)+"px");g.GC(a.A,0a.Ga.length?1:Math.round((a.element.clientWidth-a.Ga[0].element.clientWidth)/a.Ga[1].element.clientWidth)+1}; z_=function(){hY.call(this,!0);this.o=new w_}; A_=function(){hY.call(this,!1);this.u=new g.V({D:"div",I:"iv-btp-card",K:[{D:"a",I:"iv-btp-card-content",K:[{D:"div",W:"{{cards}}"}]}]});g.C(this,this.u);var a={D:"div",I:"iv-btp-card-merchant",K:[{D:"span",I:"iv-btp-card-merchant-text",W:"{{merchant}}"}]};this.A=new g.CC({D:"div",X:["iv-btp-small-card","yt-uix-hovercard-target"],M:{"data-position":"bottomright","data-orientation":"vertical"},K:[{D:"div",X:["iv-btp-card-image","yt-uix-hovercard-anchor"],W:"{{image}}"},{D:"div",I:"iv-btp-card-info", K:[{D:"span",I:"iv-btp-card-action",W:"{{price}}"},a]},{D:"div",X:["yt-uix-hovercard-content","iv-btp-hovercard"],W:"{{hovercard}}"}]});g.C(this,this.A);this.o=new g.CC({D:"div",I:"iv-btp-large-card",K:[{D:"div",I:"iv-btp-card-image",K:[{D:"span"},{D:"div",I:"iv-btp-card-image-aligned",W:"{{image}}"}]},{D:"div",I:"iv-btp-card-info",K:[{D:"div",I:"iv-btp-card-text-box",K:[{D:"div",I:"iv-btp-card-text-valign",K:[{D:"div",X:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],W:"{{headline}}"}]}]}, {D:"span",I:"iv-btp-card-action",W:"{{price}}"},a,{D:"div",W:"{{review}}"}]}]});g.C(this,this.o);this.w=new g.CC({D:"div",I:"iv-btp-hovercard-text-box",K:[{D:"a",K:[{D:"div",X:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],W:"{{headline}}"}]},{D:"div",I:"iv-btp-hovercard-info",K:[{D:"span",I:"iv-btp-hovercard-action",W:"{{price}}"},a]},{D:"div",W:"{{review}}"}]});g.C(this,this.w);this.B=new g.CC({D:"div",I:"iv-btp-card-review",K:[{D:"div",I:"iv-btp-card-rating",K:[{D:"span",I:"iv-btp-card-rating-bg", K:[{D:"span",I:"iv-btp-card-rating-fg"}]}]},{D:"span",I:"iv-btp-card-reviews",W:"{{reviewText}}"}]});g.C(this,this.B);this.A.ha("hovercard",this.w);this.u.ha("cards",[this.A,this.o]);Gna(this)}; Gna=function(a){a.u.ia("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"})})}; B_=function(a,b,c){c=c?gY(c):null;a.ha(b,c)}; C_=function(a,b){iY.call(this,a,b,function(){return new Hna.Zp}); this.u=null;Ina(this)}; Ina=function(a){for(var b=g.q(Object.values(Jna)),c=b.next();!c.done;c=b.next())a.view.addEventListener(c.value,function(d){return a.onClick(d)})}; D_=function(){g.A.call(this);this.w=this.A=this.u=this.B=this.o=null}; Lna=function(a,b){return Kna(a).then(function(c){c&&g.Oa(c.promotionShelfShow)&&c.promotionShelfShow(b)})}; Mna=function(a){Kna(a).then(function(b){b&&g.Oa(b.promotionShelfClear)&&b.promotionShelfClear()})}; Nna=function(){return g.w("yt.www.watch.ads")}; Kna=function(a){if(a.la())throw Error("Object is disposed");if(!a.o){var b=Nna();a.o=b?Ff(b):(new Bf(function(c){a.B=oea(c)})).then(Nna)}return a.o}; E_=function(){hY.call(this,!0);this.o=new g.V({D:"div",I:"iv-btp-companion",K:[{D:"div",I:"iv-btp-block-clicks"},{D:"div",I:"iv-btp-attribution",K:[{D:"span",I:"iv-btp-title",W:"{{shopText}}"},{D:"div",I:"ad-info-container",K:[{D:"span",I:"iv-btp-sponsored",W:"{{sponsoredText}}"},{D:"button",I:"ad-info-icon"}]}]}]});g.C(this,this.o);this.w=this.o.o["iv-btp-block-clicks"];this.u=new D_;g.C(this,this.u);this.A=Lna(this.u,this.o.element);Ona(this)}; Ona=function(a){a.o.ia("click",function(b){g.xe(a.o.o["ad-info-icon"],b.target)&&a.dispatchEvent({type:"adinfoclick"})})}; G_=function(a,b){iY.call(this,a,b,function(){return new F_.DD}); this.P=new g.O(this);g.C(this,this.P);this.F=[];this.u=null;this.w=new F_.Vp;g.C(this,this.w);this.view.append(this.w);this.C=new F_.bD(a,b,new UX(this.view.o.o["ad-info-icon"]));g.C(this,this.C);this.view.append(this.C.view);Pna(this)}; Pna=function(a){a.P.L(a.o,"appresize",a.S);a.P.L(a.view,"adinfoclick",function(b){return a.onClick(b)})}; Qna=function(a){var b=a.view;g.Qh(b.w,!0);Jf([a.u,Xf(1E3)]).then(function(){g.Qh(b.w,!1)})}; H_=function(){hY.call(this,!0);var a=this;this.A=this.u=0;this.o=new g.V({D:"div",I:"iv-cards-slider",K:[{D:"div",I:"iv-cards-slider-body",K:[{D:"ul",I:"iv-cards-slider-list"}]},{D:"button",X:["iv-cards-slider-button","iv-cards-slider-prev"],M:{type:"button",onclick:";return false;"},K:[{D:"span",X:["iv-cards-slider-prev-icon","yt-sprite"]}]},{D:"button",X:["iv-cards-slider-button","iv-cards-slider-next"],M:{type:"button",onclick:";return false;"},K:[{D:"span",X:["iv-cards-slider-next-icon","yt-sprite"]}]}]}); this.F=g.de("iv-cards-slider-list",this.o.element);if(this.w=g.de("iv-cards-slider-prev",this.o.element))this.o.L(this.w,"click",function(){a.dispatchEvent({type:"prevbuttonclick"})}),g.Qh(this.w,!1); (this.B=g.de("iv-cards-slider-next",this.o.element))&&this.o.L(this.B,"click",function(){a.dispatchEvent({type:"nextbuttonclick"})}); g.C(this,this.o)}; I_=function(a){a.F.style.left=125*-a.u+"px";a.w&&g.Qh(a.w,0Math.random();this.eventCount=0}; $na=function(a){var b;return(null===(b=Zna.get(a))||void 0===b?void 0:b.vp)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"}; V_=function(a,b,c){U_(a,b,void 0,void 0,c)}; W_=function(a,b,c,d){U_(a,b,void 0,void 0,c,d?d:void 0)}; U_=function(a,b,c,d,e,f,k){if(g.Q(a.hc.aa.N().experiments,"html5_enable_ads_client_monitoring_log")&&!g.Q(a.hc.aa.N().experiments,"html5_disable_client_tmp_logs")&&"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"!==b){var l=a.o||g.Q(a.hc.aa.N().experiments,"html5_force_debug_data_for_client_tmp_logs");b={eventType:b,eventOrder:++a.eventCount};var m=g.R(a.hc.aa.N().experiments,"html5_experiment_id_label");m=0=X_[hoa.debug.tD]?b.slotId+" |":"")+" "+b.ab:"",c?", layout: "+(X_.debug>=X_[hoa.debug.tD]?c.layoutId+" |":"")+" "+c.layoutType:"")))}; Z_=function(a,b,c){g.A.call(this);this.u=b;this.ib=c;this.o=a(this,this,this,this,this);g.C(this,this.o);a=g.q(b);for(b=a.next();!b.done;b=a.next())g.C(this,b.value)}; ioa=function(a,b){a.u=a.u.filter(function(c){return c!==b})}; h0=function(a,b,c){if($_(a.o,b))if(a0(a.o,b).A=c?"filled":"not_filled",null===c)W_(a.ib,"ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_EMPTY",b),b0(a,b,!1);else if(W_(a.ib,"ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_NON_EMPTY",b,c),a0(a.o,b).B)b0(a,b,!1);else{W_(a.ib,"ADS_CLIENT_EVENT_TYPE_SCHEDULE_LAYOUT_REQUESTED",b,c);try{var d=a.o;if(!a0(d,b))throw new c0("Unknown slotState for onLayout");if(!d.o.sy.get(b.ab))throw new c0("No LayoutRenderingAdapterFactory registered for slot of type: "+b.ab);if(g.db(c.jg)&& g.db(c.kg)&&g.db(c.hg))throw new c0("Layout has no exit triggers.");d0(d,"trigger_category_layout_exit_normal",c.jg);d0(d,"trigger_category_layout_exit_skip",c.kg);d0(d,"trigger_category_layout_exit_mute",c.hg)}catch(l){e0(a,b,c,l);b0(a,b,!0);return}a.o.Mi(b);try{var e=a.o,f=a0(e,b),k=e.o.sy.get(b.ab).He(e.A,e.Xq,b,c);k.init();f.layout=c;if(f.u)throw new c0("Already had LayoutRenderingAdapter registered for slot");f.u=k;f0(e,f,"trigger_category_layout_exit_normal",c.jg);f0(e,f,"trigger_category_layout_exit_skip", c.kg);f0(e,f,"trigger_category_layout_exit_mute",c.hg)}catch(l){g0(a,b);b0(a,b,!0);e0(a,b,c,l);return}W_(a.ib,"ADS_CLIENT_EVENT_TYPE_LAYOUT_SCHEDULED",b,c);d=g.q(a.u);for(e=d.next();!e.done;e=d.next())e.value.Aj(c);g0(a,b);joa(a,b)}}; koa=function(a,b,c){W_(a.ib,"ADS_CLIENT_EVENT_TYPE_LAYOUT_SCHEDULED",b,c);a=g.q(a.u);for(b=a.next();!b.done;b=a.next())b.value.Aj(c)}; i0=function(a,b,c){if($_(a.o,b)){W_(a.ib,"ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED",b,c);a=g.q(a.u);for(var d=a.next();!d.done;d=a.next())d.value.nj(b,c)}}; loa=function(a,b,c){W_(a.ib,"ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED",b,c);a=g.q(a.u);for(var d=a.next();!d.done;d=a.next())d.value.nj(b,c)}; l0=function(a,b,c,d){if($_(a.o,b)){W_(a.ib,$na(d),b,c);d=a0(a.o,b);null!=d.layout&&d.layout.layoutId===c.layoutId&&("rendering_stop_requested"!==d.o&&j0(d.slot,d.o,"onLayoutExited"),d.o="entered");d=g.q(a.u);for(var e=d.next();!e.done;e=d.next())e.value.oj(b,c);(d=k0(a.o,b))&&c.layoutId===d.layoutId&&moa(a,b,!1)}}; noa=function(a,b,c,d){W_(a.ib,$na(d),b,c);a=g.q(a.u);for(d=a.next();!d.done;d=a.next())d.value.oj(b,c)}; e0=function(a,b,c,d){Y_(d.toString(),b,c);b0(a,b,!0)}; g0=function(a,b){if($_(a.o,b)){a0(a.o,b).Mi=!1;var c=a0(a.o,b),d=[].concat(g.na(c.F));eb(c.F);m0(a,d)}}; m0=function(a,b){for(var c=new Map,d=g.q(b),e=d.next();!e.done;e=d.next())if(e=e.value,$_(a.o,e.slot))if(a0(a.o,e.slot).Mi)a0(a.o,e.slot).F.push(e);else{var f=a.ib,k=e.slot,l=e.layout;g.Q(f.hc.aa.N().experiments,"html5_control_flow_include_trigger_logging_in_tmp_logs")&&U_(f,"ADS_CLIENT_EVENT_TYPE_TRIGGER_ACTIVATED",void 0,void 0,k,l?l:void 0,e);(f=c.get(e.category))||(f=[]);f.push(e);c.set(e.category,f)}d=g.q((new Map([["trigger_category_layout_exit_normal","normal"],["trigger_category_layout_exit_skip", "skipped"],["trigger_category_layout_exit_mute","muted"]])).entries());for(e=d.next();!e.done;e=d.next())if(e=g.q(e.value),f=e.next().value,e=e.next().value,k=c.get(f))for(f=a,k=g.q(k),l=k.next();!l.done;l=k.next())l=l.value,l.layout&&n0(f.o,l.slot)&&ooa(f,l.slot,l.layout,e);if(d=c.get("trigger_category_slot_expiration"))for(d=g.q(d),e=d.next();!e.done;e=d.next())b0(a,e.value.slot,!1);if(d=c.get("trigger_category_slot_fulfillment"))for(d=g.q(d),e=d.next();!e.done;e=d.next()){e=e.value;a:switch(a0(a.o, e.slot).A){case "not_filled":f=!0;break a;default:f=!1}f&&(V_(a.ib,"ADS_CLIENT_EVENT_TYPE_FULFILL_SLOT_REQUESTED",e.slot),a.o.wk(e.slot))}if(c=c.get("trigger_category_slot_entry"))for(c=g.q(c),d=c.next();!d.done;d=c.next()){d=d.value;V_(a.ib,"ADS_CLIENT_EVENT_TYPE_ENTER_SLOT_REQUESTED",d.slot);try{var m=a.o,n=d.slot,p=a0(m,n);if(!p)throw new o0("Got enter request for unknown slot");if(!p.w)throw new o0("Tried to enter slot with no assigned slotAdapter");if("scheduled"!==p.o)throw new o0("Tried to enter a slot from stage: "+ p.o);if(p0(p))throw new o0("Got enter request for already active slot");for(var t=g.q(q0(m,n.ab).values()),u=t.next();!u.done;u=t.next()){var z=u.value;if(p!==z&&p0(z))throw new o0("Trying to enter a slot when a slot of same type is already active. Its status: "+z.o);}}catch(B){Y_(B.toString(),d.slot,d.layout);b0(a,d.slot,!0);continue}d=a0(a.o,d.slot);"scheduled"!==d.o&&j0(d.slot,d.o,"enterSlot");d.o="enter_requested";e=d.w;d=e.Va;e=e.slot;if($_(d.o,e)){V_(d.ib,"ADS_CLIENT_EVENT_TYPE_SLOT_ENTERED", e);f=a0(d.o,e);"enter_requested"!==f.o&&j0(f.slot,f.o,"onSlotEntered");f.o="entered";f=g.q(d.u);for(k=f.next();!k.done;k=f.next())k.value.il(e);joa(d,e)}}}; joa=function(a,b){var c;if($_(a.o,b)&&p0(a0(a.o,b))&&k0(a.o,b)&&!n0(a.o,b)){W_(a.ib,"ADS_CLIENT_EVENT_TYPE_ENTER_LAYOUT_REQUESTED",b,(c=k0(a.o,b),null!==c&&void 0!==c?c:void 0));var d=a0(a.o,b);"entered"!==d.o&&j0(d.slot,d.o,"enterLayoutForSlot");d.o="rendering";d.u.startRendering(d.layout)}}; ooa=function(a,b,c,d){if($_(a.o,b)){var e=a.ib,f;var k=(null===(f=Zna.get(d))||void 0===f?void 0:f.ep)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED";W_(e,k,b,c);a=a0(a.o,b);"rendering"!==a.o&&j0(a.slot,a.o,"exitLayout");a.o="rendering_stop_requested";a.u.Ci(c,d)}}; b0=function(a,b,c){if($_(a.o,b)){if(a.o.Ur(b)||a.o.Qr(b))if(a0(a.o,b).B=!0,!c)return;if(p0(a0(a.o,b)))a0(a.o,b).B=!0,moa(a,b,c);else{if(a.o.Vr(b)&&(a0(a.o,b).B=!0,$_(a.o,b)&&(V_(a.ib,"ADS_CLIENT_EVENT_TYPE_CANCEL_SLOT_FULFILLMENT_REQUESTED",b),a0(a.o,b).C.o()),!c))return;c=k0(a.o,b);V_(a.ib,"ADS_CLIENT_EVENT_TYPE_UNSCHEDULE_SLOT_REQUESTED",b);for(var d=a0(a.o,b),e=g.q(b.uh),f=e.next();!f.done;f=e.next()){f=f.value;var k=d.P.get(f.o);k&&(k.xh(f),d.P["delete"](f.o))}e=g.q(b.Bi);for(f=e.next();!f.done;f= e.next())if(f=f.value,k=d.H.get(f.o))k.xh(f),d.H["delete"](f.o);e=g.q(b.Ai);for(f=e.next();!f.done;f=e.next())if(f=f.value,k=d.G.get(f.o))k.xh(f),d.G["delete"](f.o);void 0!==d.layout&&(e=d.layout,r0(d,e.jg),r0(d,e.kg),r0(d,e.hg));d.C=void 0;d.w=void 0;void 0!==d.u&&(d.u.lo(),d.u=void 0);d=a.o;a0(d,b)&&(d=q0(d,b.ab))&&d["delete"](b.slotId);V_(a.ib,"ADS_CLIENT_EVENT_TYPE_SLOT_UNSCHEDULED",b);a=g.q(a.u);for(d=a.next();!d.done;d=a.next())d=d.value,d.Ll(b),c&&d.Jl(b,c)}}}; moa=function(a,b,c){if($_(a.o,b)&&p0(a0(a.o,b))){var d=k0(a.o,b);if(d&&n0(a.o,b))ooa(a,b,d,c?"error":"abandoned");else{V_(a.ib,"ADS_CLIENT_EVENT_TYPE_EXIT_SLOT_REQUESTED",b);try{var e=a0(a.o,b);if(!e)throw new o0("Cannot exit slot it is unregistered");"enter_requested"!==e.o&&"entered"!==e.o&&"rendering"!==e.o&&j0(e.slot,e.o,"exitSlot");e.o="exit_requested";if(void 0===e.w)throw e.o="scheduled",new o0("Cannot exit slot because adapter is not defined");var f=e.w,k=f.Va,l=f.slot;if($_(k.o,l)){V_(k.ib, "ADS_CLIENT_EVENT_TYPE_SLOT_EXITED",l);var m=a0(k.o,l);"exit_requested"!==m.o&&j0(m.slot,m.o,"onSlotExited");m.o="scheduled";for(var n=g.q(k.u),p=n.next();!p.done;p=n.next())p.value.jl(l);$_(k.o,l)&&a0(k.o,l).B&&b0(k,l,!1)}}catch(t){Y_(t.toString(),b)}}}}; s0=function(a){this.slot=a;this.P=new Map;this.H=new Map;this.G=new Map;this.J=new Map;this.u=this.layout=this.w=this.C=void 0;this.Mi=this.B=!1;this.F=[];this.o="not_scheduled";this.A="not_filled"}; p0=function(a){return"enter_requested"===a.o||a.isActive()}; c0=function(a){Va.call(this,"Layout error: "+a)}; o0=function(a){Va.call(this,"Slot error: "+a)}; t0=function(a,b,c,d,e){g.A.call(this);this.o=a;this.w=b;this.B=c;this.A=d;this.Xq=e;this.u=new Map}; q0=function(a,b){var c=a.u.get(b);return c?c:new Map}; a0=function(a,b){return q0(a,b.ab).get(b.slotId)}; poa=function(a){var b=[];a.u.forEach(function(c){c=g.q(c.values());for(var d=c.next();!d.done;d=c.next())b.push(d.value.slot)}); return b}; $_=function(a,b){return null!=a0(a,b)}; n0=function(a,b){var c=a0(a,b),d;if(d=void 0!==c.layout)a:switch(c.o){case "rendering":case "rendering_stop_requested":d=!0;break a;default:d=!1}return d}; k0=function(a,b){var c=a0(a,b);return void 0!==c.layout?c.layout:null}; u0=function(a,b,c){if(g.db(c))throw new o0("No "+b+" triggers found for slot.");c=g.q(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!a.o.Nj.get(d.triggerType))throw new o0("No trigger adapter registered for "+b+" trigger of type: "+d.triggerType);}; d0=function(a,b,c){c=g.q(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!a.o.Nj.get(d.triggerType))throw new c0("No trigger adapter registered for "+b+" trigger of type: "+d.triggerType);}; f0=function(a,b,c,d){d=g.q(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=a.o.Nj.get(e.triggerType);f.oh(c,e,b.slot,b.layout?b.layout:null);b.J.set(e.o,f)}}; r0=function(a,b){for(var c=g.q(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.J.get(d.o);e&&(e.xh(d),a.J["delete"](d.o))}}; j0=function(a,b,c){Y_("Slot stage was "+b+" when calling method "+c,a)}; v0=function(a){this.value=a}; w0=function(a){this.value=a}; x0=function(a){this.value=a}; y0=function(a){this.value=a}; z0=function(a){this.value=a}; A0=function(){v0.apply(this,arguments)}; B0=function(a){this.value=a}; C0=function(a){this.value=a}; D0=function(a){this.value=a}; E0=function(a){this.value=a}; F0=function(a){this.value=a}; G0=function(a){this.value=a}; H0=function(a){this.value=a}; I0=function(a){this.value=a}; J0=function(a){this.value=a}; K0=function(a){this.value=a}; L0=function(a){this.value=a}; M0=function(a){this.value=a}; N0=function(a){this.value=a}; O0=function(a,b){this.Va=a;this.slot=b}; P0=function(a,b){var c;a:if((c=b.ab)&&c!==a.ab)c=!1;else{c=g.q(b.pe);for(var d=c.next();!d.done;d=c.next())if(!a.Qa.o.has(d.value)){c=!1;break a}c=!0}return c?!0:!1}; Q0=function(){}; R0=function(){}; S0=function(a,b,c){this.Va=a;this.slot=b;this.lg=c}; T0=function(a){this.lg=a}; U0=function(a,b,c,d){this.Va=a;this.slot=b;this.lg=c;this.ck=d}; qoa=function(a){var b=1E3*a.startSecs;return new g.UD(b,b+1E3*a.durationSecs)}; soa=function(a){var b,c,d,e,f;if(!a.length)throw new TypeError("Expected ad placement renderer");var k=g.q(a).next().value;a=((null===(b=k)||void 0===b?void 0:b.config)||{}).adPlacementConfig;if("AD_PLACEMENT_KIND_MILLISECONDS"!==(null===(c=a)||void 0===c?void 0:c.kind))throw new TypeError("Expected ad placement renderer kind to be milliseconds");var l=(a.adTimeOffset||{}).offsetStartMilliseconds;if(void 0===l)throw new TypeError("Expected start offset");l=Number(l);if(isNaN(l))throw new TypeError("Expected valid start offset"); k=((null===(e=null===(d=k)||void 0===d?void 0:d.renderer)||void 0===e?void 0:e.linearAdSequenceRenderer)||{}).linearAds;if(null===(f=k)||void 0===f||!f.length)throw new TypeError("Expected linear ads");var m=l;k=k.map(function(n){var p=n.instreamVideoAdRenderer;if(!p)throw new TypeError("Expected instream video ad renderer");if(!p.playerVars)throw new TypeError("Expected player vars in url encoded string");n=dq(p.playerVars);var t=Number(n.length_seconds);if(isNaN(t))throw new TypeError("Expected valid length seconds in player vars"); var u=m;m+=1E3*t;var z=Number(p.trimmedMaxNonSkippableAdDurationMs);z=isNaN(z)?null:z;p=p.pings?SU(p.pings):new Map;return{layoutId:Or(),layoutType:"layout_type_media",Mj:p,jg:[],kg:[],hg:[],ee:"adapter",Qa:new V0([new I0(t),new J0(n),new K0(u),new L0(z)])}}); return roa(l,k,a)}; W0=function(a,b){this.lg=a;this.ck=b}; toa=function(a,b){this.Va=a;this.slot=b}; uoa=function(){}; woa=function(a){g.A.call(this);this.o=a;this.u=voa(this)}; voa=function(a){var b=a.o.Oj,c=b.w,d=new Z_(function(e,f,k,l,m){m=a.o.YN(m);var n=new uoa,p=new R0;return new t0({Vw:new Map([["slot_type_in_player",new T0(a.o.lg)],["slot_type_above_feed",p],["slot_type_below_player",p],["slot_type_forecasting",p],["slot_type_player_bytes",new W0(a.o.lg,a.o.ck)]]),Nj:new Map([["trigger_type_on_layout_self_exit_requested",b.o],["trigger_type_on_element_self_enter_requested",b.o],["trigger_type_on_new_playback_after_content_video_id",b.A],["trigger_type_slot_id_entered", c],["trigger_type_slot_id_exited",c],["trigger_type_slot_id_scheduled",c],["trigger_type_layout_id_entered",c],["trigger_type_layout_id_exited",c],["trigger_type_on_different_layout_id_entered",c],["trigger_type_media_time_range",m.o],["trigger_type_after_content_video_id_ended",m.o],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",b.u],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",b.u]]),gC:new Map([["slot_type_in_player",n],["slot_type_above_feed",n],["slot_type_below_player",n],["slot_type_forecasting",n]]), sy:new Map([["slot_type_in_player",a.o.Uk.A],["slot_type_above_feed",a.o.Uk.o],["slot_type_below_player",a.o.Uk.u],["slot_type_forecasting",a.o.Uk.w],["slot_type_player_bytes",a.o.Uk.B]])},e,f,k,l)},[c, b.o,a.o.Vo,a.o.Vk],a.o.ib);g.C(a,d);return d}; X0=function(a,b,c,d){g.P.call(this);this.Va=a;this.slot=b;this.layout=c;this.o=d;this.u=[]}; xoa=function(a){this.adPlacementConfig=a}; Y0=function(a,b,c){this.o=a;this.Kb=b;this.adPlacementConfig=c;this.u=new Set}; Z0=function(){return["metadata_type_ad_placement_config"]}; zoa=function(a){a.o.has("impression")&&a.o.get("impression")&&a.o.get("impression").forEach(function(b){if(b=b.baseUrl){var c=a.Kb;c.em=yoa((new xoa(a.adPlacementConfig)).adPlacementConfig,c.em);c.kh.send(b,c.em,{})}}); a.u.add("impression")}; Aoa=function(a){a.u.has("impression")||zoa(a)}; a1=function(a,b,c,d,e,f,k,l,m,n){X0.call(this,a,b,c,d);this.Kb=e;this.A=f;this.Cd=k;this.F=l;this.G=m;this.B=n;this.w=null;this.H=$0(this.layout.Qa,"metadata_type_ad_video_id");a=this.A;a.u.push(this);g.C(a,this);a=$0(this.layout.Qa,"metadata_type_ad_placement_config");this.C=new Y0(new Map,e,a)}; Boa=function(a,b){return S_(b,["metadata_type_ad_video_id"],"layout_type_media")&&a.H===$0(b.Qa,"metadata_type_ad_video_id")?!0:!1}; b1=function(a,b,c,d,e,f,k){a1.call(this,a,b,c,d,e,f,k,"metadata_type_action_companion_ad_renderer",function(l,m){return new VV(l,m)},"action-companion")}; Coa=function(){var a=["metadata_type_action_companion_ad_renderer","metadata_type_ad_video_id"];Z0().forEach(function(b){a.push(b)}); return{pe:a,layoutType:"layout_type_companion_with_action_button"}}; Doa=function(a,b,c,d,e,f,k){a1.call(this,a,b,c,d,e,f,k,"metadata_type_image_companion_ad_renderer",function(l,m){return new Wna(l,m)},"image-companion")}; Eoa=function(){var a=["metadata_type_image_companion_ad_renderer","metadata_type_ad_video_id"];Z0().forEach(function(b){a.push(b)}); return{pe:a,layoutType:"layout_type_companion_with_image"}}; Foa=function(a,b,c,d,e,f,k){a1.call(this,a,b,c,d,e,f,k,"metadata_type_shopping_companion_carousel_renderer",function(l,m){return new KW(l,m)},"shopping-companion")}; Goa=function(){var a=["metadata_type_shopping_companion_carousel_renderer","metadata_type_ad_video_id"];Z0().forEach(function(b){a.push(b)}); return{pe:a,layoutType:"layout_type_companion_with_shopping"}}; c1=function(a,b){return S_(a,b.pe,b.layoutType)?!0:!1}; Hoa=function(a,b,c,d){this.Ge=a;this.Kb=b;this.o=c;this.Cd=d}; Ioa=function(a,b,c,d){this.Ge=a;this.Kb=b;this.o=c;this.Cd=d}; Joa=function(a,b,c,d,e){this.Va=a;this.slot=b;this.layout=c;this.Kb=d;this.Il=e;a=$0(this.layout.Qa,"metadata_type_ad_placement_config");b=new Map;(c=$0(this.layout.Qa,"metadata_type_client_forecasting_ad_renderer").impressionUrls)&&b.set("impression",c);this.o=new Y0(b,this.Kb,a)}; Koa=function(){var a=["metadata_type_client_forecasting_ad_renderer"];Z0().forEach(function(b){a.push(b)}); return{pe:a,layoutType:"layout_type_forecasting"}}; Loa=function(a,b){this.Kb=a;this.Il=b}; Moa=function(a,b){this.slot=a;this.layout=b}; Noa=function(){var a=["metadata_type_instream_ad_player_overlay_renderer","metadata_type_player_bytes_callback"];Z0().forEach(function(b){a.push(b)}); return{pe:a,layoutType:"layout_type_media_layout_player_overlay"}}; d1=function(a,b,c,d,e,f,k){X0.call(this,a,b,c,d);this.he=e;this.Kb=f;this.Cd=k;this.w=!1;this.A=$0(this.layout.Qa,"metadata_type_linked_player_bytes_layout_id")}; Ooa=function(a,b,c,d,e){this.Wr=a;this.Ge=b;this.he=c;this.Kb=d;this.Cd=e}; Poa=function(a,b,c,d,e){this.Va=a;this.slot=b;this.layout=c;this.uf=d;this.u=e;this.o=null}; Qoa=function(a,b){return null==b?null:a.u.find(function(c){return c.layout.layoutId===b})||null}; e1=function(a,b,c,d,e,f){this.Va=a;this.slot=b;this.layout=c;this.Ml=d;this.o=e;this.he=f}; Roa=function(a,b,c,d){this.uf=a;this.Ml=b;this.he=c;this.Kb=d}; Soa=function(a){this.A=new Ooa(a.Wr,a.Ge,a.he,a.Kb,a.Cd);this.o=new Hoa(a.Ge,a.Kb,a.Rv,a.Cd);this.u=new Ioa(a.Ge,a.Kb,a.Rv,a.Cd);this.w=new Loa(a.Kb,a.Il);this.B=new Roa(a.uf,a.Ml,a.he,a.Kb)}; f1=function(a,b,c,d){g.A.call(this);this.w=a;this.u=b;this.opportunityType=c;this.ib=d}; fZ=function(a,b){U_(a.ib,"ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_RECEIVED",a.opportunityType,void 0);var c=a.w.u(b);U_(a.ib,"ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED",a.opportunityType,c);if(c.length){var d=a.u();c=g.q(c);for(var e=c.next();!e.done;e=c.next())a:{var f=d;e=e.value;V_(f.ib,"ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED",e);try{var k=f.o;if(g.hc(e.slotId))throw new o0("Slot ID was empty");if(a0(k,e))throw new o0("Duplicate registration for slot.");if(!k.o.Vw.has(e.ab))throw new o0("No fulfillment adapter factory registered for slot of type: "+ e.ab);if(!k.o.gC.has(e.ab))throw new o0("No SlotAdapterFactory registered for slot of type: "+e.ab);u0(k,"trigger_category_slot_entry",e.uh);u0(k,"trigger_category_slot_fulfillment",e.Bi);u0(k,"trigger_category_slot_expiration",e.Ai);var l=f.o,m=q0(l,e.ab);if(a0(l,e))throw new o0("Duplicate slots not supported");m.set(e.slotId,new s0(e));l.u.set(e.ab,m)}catch(kf){Y_(kf.toString(),e);break a}f.o.Mi(e);try{for(var n=f.o,p=a0(n,e),t=g.q(e.uh),u=t.next();!u.done;u=t.next()){var z=u.value,B=n.o.Nj.get(z.triggerType); B&&(B.oh("trigger_category_slot_entry",z,e,null),p.P.set(z.o,B))}for(var D=g.q(e.Bi),E=D.next();!E.done;E=D.next()){var G=E.value,F=n.o.Nj.get(G.triggerType);F&&(F.oh("trigger_category_slot_fulfillment",G,e,null),p.H.set(G.o,F))}for(var ka=g.q(e.Ai),pa=ka.next();!pa.done;pa=ka.next()){var bc=pa.value,Jc=n.o.Nj.get(bc.triggerType);Jc&&(Jc.oh("trigger_category_slot_expiration",bc,e,null),p.G.set(bc.o,Jc))}var vb=n.o.Vw.get(e.ab).He(n.w,e);p.C=vb;var Za=n.o.gC.get(e.ab).He(n.B,e);p.w=Za}catch(kf){Y_(kf.toString(), e);b0(f,e,!0);break a}V_(f.ib,"ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED",e);var xc=a0(f.o,e);"not_scheduled"!==xc.o&&j0(xc.slot,xc.o,"onSlotScheduled");xc.o="scheduled";xc=g.q(f.u);for(var jf=xc.next();!jf.done;jf=xc.next())jf.value.kl(e);g0(f,e)}}}; g1=function(a,b,c){f1.call(this,new Toa,a,"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",c);this.o=null}; Uoa=function(a,b){a.o?Y_("Unexpected multiple fetch instructions for the current content"):a.o=b}; Toa=function(){}; h1=function(a,b,c,d){this.Va=a;this.lg=b;this.hc=c;this.w=d;this.o=new Map}; i1=function(a,b,c,d,e,f){a=Voa(a,d);a.mq=b;a.Bh=c;a.Im=e;a.en=f}; Voa=function(a,b){a.o.has(b)||a.o.set(b,{instreamVideoAdRenderer:void 0,Pn:void 0,Bh:void 0,adVideoId:b,Im:void 0,mq:void 0,en:void 0});return a.o.get(b)}; Woa=function(a,b){return void 0===a.en?!1:void 0===a.instreamVideoAdRenderer?(Y_("AdPlacementSupportedRenderers without matching InstreamVideoAdRenderer"),!1):void 0===a.Im?(Y_("AdPlacementConfig for AdPlacementSupportedRenderers that matches an InstreamVideoAdRenderer is undefined"),!1):void 0===a.Pn||void 0===a.Bh||a.Pn!==a.Bh&&"AD_PLACEMENT_KIND_COMMAND_TRIGGERED"!==a.Bh?!1:void 0===a.instreamVideoAdRenderer.elementId?(Y_("InstreamVideoAdRenderer has no elementId, kind: "+(a.Pn+", matching APSR kind: "+ a.Bh+". APR count: "+b.Ah.length+". isAdBreakResponse: "+b.Kr)),!1):"AD_PLACEMENT_KIND_COMMAND_TRIGGERED"===a.Bh&&void 0===a.mq?(Y_("Command Triggered AdPlacementSupportedRenderer's AdPlacementRenderer does not have an element ID"),!1):!0}; Xoa=function(a){var b=[],c=a.sandwichedLinearAdRenderer&&a.sandwichedLinearAdRenderer.linearAd&&a.sandwichedLinearAdRenderer.linearAd.instreamVideoAdRenderer;return c?(b.push(c),b):a.instreamVideoAdRenderer?(b.push(a.instreamVideoAdRenderer),b):a.linearAdSequenceRenderer&&a.linearAdSequenceRenderer.linearAds?(a.linearAdSequenceRenderer.linearAds.forEach(function(d){d.instreamVideoAdRenderer&&b.push(d.instreamVideoAdRenderer)}),b):null}; j1=function(a,b,c,d){f1.call(this,a,b,c,d)}; Yoa=function(a,b,c){0!==c.length&&fZ(a,{Ah:c,contentCpn:b,Kr:!1})}; Zoa=function(a,b,c,d,e,f){f1.call(this,new h1(b,d,f,"slot_type_above_feed"),a,"OPPORTUNITY_TYPE_AD_PLACEMENT_RENDERERS_RESPONSE_RECEIVED",e)}; $oa=function(a,b,c,d,e,f){f1.call(this,new h1(b,d,f,"slot_type_below_player"),a,"OPPORTUNITY_TYPE_AD_PLACEMENT_RENDERERS_RESPONSE_RECEIVED",e)}; k1=function(a,b,c,d){f1.call(this,new apa,a,"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",d);this.hc=c}; apa=function(){}; l1=function(){g.A.apply(this,arguments);this.o=new Map}; m1=function(a,b){this.o=a;this.u=b;this.triggerType="trigger_type_layout_id_entered"}; n1=function(a,b){this.o=a;this.B=b;this.triggerType="trigger_type_layout_id_exited"}; o1=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"}; p1=function(a){this.o=Or();this.w=a;this.triggerType="trigger_type_slot_id_entered"}; q1=function(a){this.o=Or();this.B=a;this.triggerType="trigger_type_slot_id_exited"}; r1=function(a){this.o=Or();this.A=a;this.triggerType="trigger_type_slot_id_scheduled"}; s1=function(a,b,c,d){this.category=a;this.trigger=b;this.slot=c;this.layout=d}; t1=function(a){g.A.call(this);this.o=a;this.u=new Map;this.B=new Set;this.A=new Set;this.C=new Set;this.w=new Set}; bpa=function(){this.o=Or();this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED"}; cpa=function(){this.o=Or();this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED"}; u1=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.o)||void 0===c?void 0:c.slotId)||null}; dpa=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}; v1=function(a){this.o=Or();this.layoutId=a;this.triggerType="trigger_type_on_layout_self_exit_requested"}; w1=function(a,b){this.o=a;this.slotId=b;this.triggerType="trigger_type_on_element_self_enter_requested"}; x1=function(a){g.A.call(this);this.A=a;this.w=new Map;this.u=this.o=null}; epa=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 v1&&e.trigger.layoutId===b&&Yna(e.category)&&c.push(e);c.length&&m0(a.A(),c)}; y1=function(a,b){this.o=a;this.contentVideoId=b;this.triggerType="trigger_type_on_new_playback_after_content_video_id"}; z1=function(a,b){g.A.call(this);var c=this;this.w=a;this.u=new Map;this.o=null;b.addListener(this);g.Ge(this,function(){b.removeListener(c)})}; fpa=function(a){g.A.call(this);this.w=new t1(a.zp);g.C(this,this.w);this.o=new x1(a.zp);g.C(this,this.o);this.u=new u1(a.zp,a.uf);g.C(this,this.u);this.A=new z1(a.zp,a.uf);g.C(this,this.A)}; V0=function(a){var b=new Map;a.forEach(function(c){b.set(c.o(),c)}); this.o=b}; $0=function(a,b){var c=a.o.get(b);if(void 0!==c)return c.get()}; A1=function(a){return Array.from(a.o.keys())}; gpa=function(){}; B1=function(a,b,c,d,e){var f=Or();return{layoutId:f,layoutType:a,Mj:new Map,jg:[new v1(f),new o1(Or(),d)],kg:[],hg:[],ee:"core",Qa:new V0([b,new A0(c),new z0(e)])}}; hpa=function(a,b){var c=Or();return{layoutId:c,layoutType:"layout_type_forecasting",Mj:new Map,jg:[new v1(c)],kg:[],hg:[],ee:"core",Qa:new V0([new M0(a),new z0(b)])}}; roa=function(a,b,c){b.every(function(d){return S_(d,[],"layout_type_media")})||Y_("Unexpect subLayout type for DAI composite layout"); return{layoutId:Or(),layoutType:"layout_type_composite_player_bytes",Mj:new Map,jg:[new bpa],kg:[],hg:[],ee:"core",Qa:new V0([new K0(a),new G0(b),new z0(c)])}}; C1=function(){this.o=Or();this.triggerType="trigger_type_after_content_video_id_ended"}; ipa=function(){this.o=Or();this.triggerType="trigger_type_before_content_video_id_started"}; D1=function(a,b){this.o=a;this.u=b;this.triggerType="trigger_type_media_time_range"}; jpa=function(){}; kpa=function(a,b,c,d,e){var f=Or();return{slotId:f,ab:"slot_type_in_player",uh:[new m1(Or(),b)],Bi:[new p1(f)],Ai:[new y1(Or(),a),new q1(f)],ee:"core",Qa:new V0([new D0(b),new C0(c),new E0(d),new z0(e)])}}; mpa=function(a,b,c,d){var e=Or();return lpa(e,a,new m1(Or(),c),b,d)}; npa=function(a,b,c,d){return lpa(b,a,new w1(Or(),b),c,d)}; opa=function(a,b,c){var d=Or();a:{var e,f;switch(a.kind){case "AD_PLACEMENT_KIND_START":a=new ipa;break a;case "AD_PLACEMENT_KIND_MILLISECONDS":if(null===(e=a.adTimeOffset)||void 0===e||!e.offsetStartMilliseconds){Y_("AD_PLACEMENT_KIND_MILLISECONDS missing start milliseconds.");break}if(null===(f=a.adTimeOffset)||void 0===f||!f.offsetEndMilliseconds){Y_("AD_PLACEMENT_KIND_MILLISECONDS missing end milliseconds.");break}e=Number(a.adTimeOffset.offsetStartMilliseconds);a=Number(a.adTimeOffset.offsetEndMilliseconds); if(isNaN(e)||isNaN(a)||e>=a){Y_("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be > startMs.");break}a=new D1(Or(),new Hi(e,a));break a;case "AD_PLACEMENT_KIND_END":a=new C1;break a;default:Y_("Cannot construct entry trigger from AdPlacementKind: "+(a.kind+"."))}a=void 0}if(a)return{slotId:d,ab:"slot_type_forecasting",uh:[a],Bi:[new p1(d)],Ai:[new q1(d),new y1(Or(),b)],ee:"core",Qa:new V0([new N0(c)])}}; lpa=function(a,b,c,d,e){return{slotId:a,ab:b,uh:[c],Bi:[new p1(a)],Ai:[new y1(Or(),d),new q1(a)],ee:"core",Qa:new V0([new N0(e)])}}; ppa=function(){this.o=new Map}; E1=function(a,b){g.A.call(this);this.Va=a;this.mg=b;this.o=this.u=null;this.mg.addListener(this)}; qpa=function(a){g.A.call(this);this.o=new E1(a.Xq,a.hG);g.C(this,this.o)}; rpa=function(a,b){this.lq=a;this.o=b}; spa=function(a,b){var c=null;try{c=JSON.parse(a.response)}catch(e){return a.response&&(c=a.response,c.startsWith("GIF89")||(e.params=c.substr(0,256),g.Jo(e))),[]}if(!c||c.adThrottled)return[];c=c.playerAds;if(!c||!c.length)return[];c=c.map(function(e){return e.adPlacementRenderer}).filter(function(e){return!(!e||!e.renderer)}); if(!c.length)return[];if(0>16,a>>8&255,a&255]}; Fpa=function(){if(!g.ie)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}; g.Q1=function(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;ih();a=Yc(a,null);return b.parseFromString(g.Uc(a),"application/xml")}if(Gpa){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.R1=function(a){g.A.call(this);this.u=a;this.o={}}; Hpa=function(a,b,c,d,e,f){if(Array.isArray(c))for(var k=0;k=f}}); Ca("Array.prototype.find",function(a){return a?a:function(b,c){return Ea(this,b,c).KC}}); Ca("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Fa(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}}); Ca("String.prototype.repeat",function(a){return a?a:function(b){var c=Fa(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); Ca("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(!Ga(m,k)){var n=new c;ha(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(!Ga(m,k))throw Error("WeakMap key fail: "+m);m[k][this.o]=n;return this}; b.prototype.get=function(m){return d(m)&&Ga(m,k)?m[k][this.o]:void 0}; b.prototype.has=function(m){return d(m)&&Ga(m,k)&&Ga(m[k],this.o)}; b.prototype["delete"]=function(m){return d(m)&&Ga(m,k)&&Ga(m[k],this.o)?delete m[k][this.o]:!1}; return b}); Ca("Map",function(a){function b(){var l={};return l.previous=l.next=l.head=l} function c(l,m){var n=l.o;return la(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&&Ga(l.u,n))for(var t=0;tb?-c:c}}); Ca("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.Ua(Va,Error);Va.prototype.name="CustomError";var Zd;g.Ua(Wa,Va);Wa.prototype.name="AssertionError";var bb,lj;bb=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,lc=/"/g,mc=/'/g,nc=/\x00/g,xaa=/[\x00&<>"']/;g.vc.prototype.Zf=!0;g.vc.prototype.ue=function(){return this.u.toString()}; g.vc.prototype.Fr=!0;g.vc.prototype.o=function(){return 1}; var zaa=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,yaa=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,yc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,uc={},tc={};Cc.prototype.Zf=!0;var Bc={};Cc.prototype.ue=function(){return this.o}; var Hc=Ec(""),Baa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Lc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Kc=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"),Caa=/\/\*/;a:{var Rpa=g.v.navigator;if(Rpa){var Spa=Rpa.userAgent;if(Spa){g.Mc=Spa;break a}}g.Mc=""};Tc.prototype.Fr=!0;Tc.prototype.o=function(){return this.w}; Tc.prototype.Zf=!0;Tc.prototype.ue=function(){return this.u.toString()}; var Tpa=/^[a-zA-Z0-9-]+$/,Upa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Vpa={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Sc={};Yc("",0);var Xc=Yc("",0);Yc("
",0);var Jaa=Ab(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.Uc(Xc);return!b.parentElement});var Naa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};var od=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Dd=/#|$/,Paa=/[?&]($|#)/;Id[" "]=g.Ja;var xh,pI,aU,Wpa,Xpa,Ypa,rx,tx,X1;g.yh=Nc("Opera");g.ie=Nc("Trident")||Nc("MSIE");g.Dw=Nc("Edge");g.Yx=g.Dw||g.ie;xh=Nc("Gecko")&&!(pc(g.Mc,"WebKit")&&!Nc("Edge"))&&!(Nc("Trident")||Nc("MSIE"))&&!Nc("Edge");g.ke=pc(g.Mc,"WebKit")&&!Nc("Edge");pI=Nc("Macintosh");aU=Nc("Windows");g.sx=Nc("Android");Wpa=Gd();Xpa=Nc("iPad");Ypa=Nc("iPod");rx=Hd();tx=pc(g.Mc,"KaiOS"); a:{var Y1="",Z1=function(){var a=g.Mc;if(xh)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.Dw)return/Edge\/([\d\.]+)/.exec(a);if(g.ie)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.ke)return/WebKit\/(\S+)/.exec(a);if(g.yh)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); Z1&&(Y1=Z1?Z1[1]:"");if(g.ie){var $1=Kd();if(null!=$1&&$1>parseFloat(Y1)){X1=String($1);break a}}X1=Y1}var Ld=X1,Saa={},a2;if(g.v.document&&g.ie){var Zpa=Kd();a2=Zpa?Zpa:parseInt(Ld,10)||void 0}else a2=void 0;var Uaa=a2;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var Vaa=!g.ie||g.Nd(9),Xaa=!xh&&!g.ie||g.ie&&g.Nd(9)||xh&&g.Md("1.9.1");g.ie&&g.Md("9");var Zaa=g.ie||g.yh||g.ke;g.Sd.prototype.clone=function(){return new g.Sd(this.x,this.y)}; g.Sd.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}; g.Sd.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; g.Sd.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.h=g.Ud.prototype;g.h.clone=function(){return new g.Ud(this.width,this.height)}; g.h.aspectRatio=function(){return this.width/this.height}; g.h.isEmpty=function(){return!Wd(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 ee={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=Xd.prototype;g.h.getElementsByTagName=function(a,b){return(b||this.o).getElementsByTagName(String(a))}; g.h.createElement=function(a){return me(this.o,a)}; g.h.appendChild=g.re;g.h.append=function(a,b){ne(Yd(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.contains=g.xe;g.h=Ee.prototype;g.h.BO=function(a,b){for(var c=[],d=1;d=a.keyCode)a.keyCode=-1}catch(b){}};var Me="closure_listenable_"+(1E6*Math.random()|0),bba=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.Ua(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.ca;if(b){var c=[];for(var d=1;b;b=b.ca)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.Ub(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.A&&this.B())};var Cx,XB;g.pw=Oc();Cx=Gd()||Nc("iPod");XB=Nc("iPad");g.ux=g.Rc();g.Iv=Pc();g.Zx=Qc()&&!Hd();var cg={},gg=null;var Ag=0,Bg=0;var jg=[];ig.prototype.clone=function(){return kg(this.u,this.A,this.w-this.A)}; ig.prototype.clear=function(){this.u=null;this.o=this.w=this.A=0;this.B=!1}; ig.prototype.reset=function(){this.o=this.A};ng.prototype.reset=function(){this.o.reset();this.u=this.w=-1};sg.prototype.length=function(){return this.o.length}; sg.prototype.end=function(){var a=this.o;this.o=[];return a};vg.prototype.reset=function(){this.w=[];this.o.end();this.u=0};var Kg="function"==typeof Uint8Array,Lg=[];Jg.prototype.toString=function(){Zg(this);return this.u.toString()}; Jg.prototype.clone=function(){return new this.constructor($g(Xg(this)))};var Jj;Jj=["av.key","js","unreleased"].slice(-1)[0];var Th=document,ii=window;g.h=ah.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.KT;d=c.xO||!1;var f=c.domain||void 0;var k=c.path||void 0;var l=c.By}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()),gh(this,a.getDate()))}; g.h.toString=function(){return[this.getFullYear(),g.gd(this.getMonth()+1,2),g.gd(this.getDate(),2)].join("")+""}; g.h.valueOf=function(){return this.date.valueOf()};var ih=g.Ja;var uba=/https?:\/\/[^\/]+/,sba={MP:"allow-forms",NP:"allow-modals",OP:"allow-orientation-lock",PP:"allow-pointer-lock",QP:"allow-popups",RP:"allow-popups-to-escape-sandbox",SP:"allow-presentation",TP:"allow-same-origin",UP:"allow-scripts",VP:"allow-top-navigation",WP:"allow-top-navigation-by-user-activation"},xba=Ab(function(){return tba()});var Pba={rS:1,gT:2,RR:3};g.h=ph.prototype;g.h.getHeight=function(){return this.bottom-this.top}; g.h.clone=function(){return new ph(this.top,this.right,this.bottom,this.left)}; g.h.contains=function(a){return this&&a?a instanceof ph?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.sh.prototype;g.h.clone=function(){return new g.sh(this.left,this.top,this.width,this.height)}; g.h.contains=function(a){return a instanceof g.Sd?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 wh={};var Rh=!!window.google_async_iframe_id,Sh=Rh&&window.parent||window;Zb(g.$b("//fonts.googleapis.com/css"));var kca={NONE:0,JQ:1};Xh.prototype.isVisible=function(){return this.Wh?.3<=this.ob:.5<=this.ob};var Di={hD:0,SQ:1},Qba={hD:0,qR:1,rR:2},Oba={NONE:0,AR:1,YQ:2};Yh.prototype.getValue=function(){return this.u}; g.r(Zh,Yh);Zh.prototype.setValue=function(a){if(null!==this.u||!g.Lb(this.w,a))return!1;this.u=a;return!0}; g.r($h,Yh);$h.prototype.setValue=function(a){if(null!==this.u||"string"!==typeof a)return!1;this.u=a;return!0};ai.prototype.disable=function(){this.w=!1}; ai.prototype.enable=function(){this.w=!0}; ai.prototype.isEnabled=function(){return this.w}; ai.prototype.reset=function(){this.o={};this.w=!0;this.u={}};g.bk=!g.ie&&!Qc();fi.prototype.now=function(){return 0}; fi.prototype.u=function(){return 0}; fi.prototype.w=function(){return 0}; fi.prototype.o=function(){return 0};g.r(hi,fi);hi.prototype.now=function(){return gi()&&ii.performance.now?ii.performance.now():fi.prototype.now.call(this)}; hi.prototype.u=function(){return gi()&&ii.performance.memory?ii.performance.memory.totalJSHeapSize||0:fi.prototype.u.call(this)}; hi.prototype.w=function(){return gi()&&ii.performance.memory?ii.performance.memory.usedJSHeapSize||0:fi.prototype.w.call(this)}; hi.prototype.o=function(){return gi()&&ii.performance.memory?ii.performance.memory.jsHeapSizeLimit||0:fi.prototype.o.call(this)};ki.prototype.isVisible=function(){return 1===ji(Th)};var Eba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;wi.prototype.setInterval=function(a,b){return ii.setInterval(a,b)}; wi.prototype.clearInterval=function(a){ii.clearInterval(a)}; wi.prototype.setTimeout=function(a,b){return ii.setTimeout(a,b)}; wi.prototype.clearTimeout=function(a){ii.clearTimeout(a)}; Ka(wi);Ai.prototype.getContext=function(){if(!this.o){if(!ii)throw Error("Context has not been set and window is undefined.");this.o=wi.getInstance()}return this.o}; Ka(Ai);g.Ua(Bi,Jg);Ei.prototype.Pt=function(a){if("string"===typeof a&&0!=a.length){var b=this.Pa;if(b.w){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.C=this.o.C,wj(this)):this.C!==this.o.C&&(this.C=this.o.C,wj(this))}; g.h.Ug=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&&Bj(this)}}; g.h.yf=function(){return this.G}; g.h.dispose=function(){this.ub=!0}; g.h.la=function(){return this.ub};g.h=Cj.prototype;g.h.xs=function(){return!0}; g.h.dl=function(){}; g.h.Rm=function(){if(this.element){var a=this.element,b=this.u.o.xd;try{try{var c=ij(a.getBoundingClientRect())}catch(n){c=new ph(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Kh(a,b),k=f.x,l=f.y;var m=new ph(Math.round(l),Math.round(k+d),Math.round(l+e),Math.round(k))}catch(n){m=dqa.clone()}this.o=m}}; g.h.cw=function(){this.B=this.u.w.o}; g.h.Lf=function(){this.Rm();this.A=new tj(this.u.w,this.o,this.A.B,this.A.o,this.A.A,$i(),this.A.w)}; g.h.dispose=function(){if(!this.la()){var a=this.u;g.gb(a.A,this);a.G&&this.yf()&&Aj(a);this.dl();this.ub=!0}}; g.h.la=function(){return this.ub}; g.h.Og=function(){return this.u.Og()}; g.h.Vf=function(){return this.u.Vf()}; g.h.Ti=function(){return this.u.Ti()}; g.h.Lk=function(){return this.u.Lk()}; g.h.Zi=function(){}; g.h.Ug=function(){this.Lf()}; g.h.yf=function(){return this.J};g.h=Dj.prototype;g.h.Vf=function(){return this.o.Vf()}; g.h.Ti=function(){return this.o.Ti()}; g.h.Lk=function(){return this.o.Lk()}; g.h.create=function(a,b,c){var d=null;this.o&&(d=this.ko(a,b,c),yj(this.o,d));return d}; g.h.Fy=function(){return this.bl()}; g.h.bl=function(){return!1}; g.h.init=function(a){return this.o.initialize()?(yj(this.o,this),this.A=a,!0):!1}; g.h.Zi=function(a){0==a.Vf()&&this.A(a.Ti(),this)}; g.h.Ug=function(){}; g.h.yf=function(){return!1}; g.h.dispose=function(){this.ub=!0}; g.h.la=function(){return this.ub}; g.h.Og=function(){return{}};Gj.prototype.add=function(a,b,c){++this.w;var d=this.w/4096;this.o.push(cca(new Ej(a,b,c),d));this.u=!0;return this};Kj.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Ij(this.o);0=k;k=!(0=k)||c;this.o[e].update(f&&l,d,!f||k)}};Zj.prototype.update=function(a,b,c,d){this.F=-1!=this.F?Math.min(this.F,b.ob):b.ob;this.P=Math.max(this.P,b.ob);this.O=-1!=this.O?Math.min(this.O,b.Gd):b.Gd;this.U=Math.max(this.U,b.Gd);this.ra.update(b.Gd,c.Gd,b.o,a,d);this.u.update(b.ob,c.ob,b.o,a,d);c=d||c.Wh!=b.Wh?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.o;this.ca.update(c,a,b)}; Zj.prototype.Yh=function(){return this.ca.w>=this.ga};var jca=new ph(0,0,0,0);g.r(ck,g.A);g.h=ck.prototype;g.h.Y=function(){this.Jd.o&&(this.Kh.Bt&&(eh(this.Jd.o,"mouseover",this.Kh.Bt),this.Kh.Bt=null),this.Kh.At&&(eh(this.Jd.o,"mouseout",this.Kh.At),this.Kh.At=null));this.fm&&this.fm.dispose();this.sb&&this.sb.dispose();delete this.eo;delete this.ws;delete this.zC;delete this.Jd.eh;delete this.Jd.o;delete this.Kh;delete this.fm;delete this.sb;delete this.Pa;g.A.prototype.Y.call(this)}; g.h.Pg=function(){return this.sb?this.sb.o:this.position}; g.h.Pt=function(a){Ei.getInstance().Pt(a)}; g.h.yf=function(){return!1}; g.h.Bn=function(){return new Zj}; g.h.Ld=function(){return this.eo}; g.h.qx=function(a){return gk(this,a,1E4)}; g.h.lm=function(a,b,c,d,e,f,k){this.ij||(this.hn&&(a=this.uq(a,c,e,k),d=d&&this.td.ob>=(this.Wh()?.3:.5),this.Gu(f,a,d),this.hs=b,0b?1:c}; g.h.Gn=function(a){return this.Ax(a,1E4)}; g.h.Iq=function(a){return 0===this.opacity&&1===di(this.Pa,"opac")?0:a}; g.h.Wh=function(){return!1}; g.h.np=function(){return!1}; g.h.jf=function(){return 0}; g.h.Yh=function(){return this.eo.Yh()};var ik="StopIteration"in g.v?g.v.StopIteration:{message:"StopIteration",stack:""};hk.prototype.next=function(){throw ik;}; hk.prototype.If=function(){return this};g.r(lk,Xh);pk.prototype.getValue=function(){return this.u}; pk.prototype.update=function(a,b){32<=a||(this.o&1<=a.bottom||a.left>=a.right?new ph(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.dy(b)?b=new ph(0,0,0,0):(c=mj.getInstance().A,e=new ph(0,c.height,c.width,0),c=rj(b, this.o),d=rj(b,mj.getInstance().o),e=rj(b,e)));b=b.top>=b.bottom||b.left>=b.right?new ph(0,0,0,0):rh(b,-this.o.left,-this.o.top);this.A=new tj(a,this.o,b,c,d,this.timestamp,e)}; vk.prototype.getName=function(){return this.u.getName()};var eqa=new ph(0,0,0,0);g.r(wk,vk);g.h=wk.prototype;g.h.xs=function(){this.w();return!0}; g.h.Ug=function(){vk.prototype.Lf.call(this)}; g.h.dw=function(){}; g.h.Rm=function(){}; g.h.Lf=function(){this.w();vk.prototype.Lf.call(this)}; g.h.Zi=function(a){a=a.isActive();a!==this.F&&(a?this.w():(mj.getInstance().o=new ph(0,0,0,0),this.o=new ph(0,0,0,0),this.B=new ph(0,0,0,0),this.timestamp=-1));this.F=a};var d2={},Aca=(d2.firstquartile=0,d2.midpoint=1,d2.thirdquartile=2,d2.complete=3,d2);g.r(xk,ck);g.h=xk.prototype;g.h.yf=function(){return!0}; g.h.qx=function(a){return gk(this,a,Math.max(1E4,this.w/3))}; g.h.Gn=function(a){return 2==this.Dc?0:ck.prototype.Ax.call(this,a,Math.max(1E4,this.w/3))}; g.h.lm=function(a,b,c,d,e,f,k){var l=this,m=this.J(this)||{};g.Ub(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===Bk(this)&&(f=e);ck.prototype.lm.call(this,a,b,c,d,m,f,k);this.ai&&this.ai.o&&(0,g.y)(this.C,function(n){n.o||(n.o=uk(n,l))})}; g.h.Gu=function(a,b,c){ck.prototype.Gu.call(this,a,b,c);Ak(this).update(a,b,this.td,c);this.ga=mk(this.td)&&mk(b);-1==this.U&&this.ea&&(this.U=this.Ld().w.o);this.xc.w=0;a=this.Yh();b.isVisible()&&nk(this.xc,"vs");a&&nk(this.xc,"vw");kj(b.volume)&&nk(this.xc,"am");mk(b)&&nk(this.xc,"a");this.cj&&nk(this.xc,"f");-1!=b.u&&(nk(this.xc,"bm"),1==b.u&&nk(this.xc,"b"));mk(b)&&b.isVisible()&&nk(this.xc,"avs");this.ga&&a&&nk(this.xc,"avw");0this.o.F&&(this.o=this,wj(this)),this.F=a);return 2==a}; Ka(tl);Ka(ul);vl.prototype.PB=function(){yl(this,Tk(),!1)}; vl.prototype.A=function(){var a=pj(),b=$i();a?(bj||(cj=b,(0,g.y)(Sk.o,function(c){var d=c.Ld();d.Z=rk(d,b,1!=c.Dc)})),bj=!0):(this.F=Al(this,b),bj=!1,Jk=b,(0,g.y)(Sk.o,function(c){c.hn&&(c.Ld().G=b)})); yl(this,Tk(),!a)}; Ka(vl);var wl=vl.getInstance();var Bl=null,jm="",im=!1;var e2=Hl([void 0,1,2,3,4,8,16]),f2=Hl([void 0,4,8,16]),gqa={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:Gl("p0",f2),p1:Gl("p1",f2),p2:Gl("p2",f2),p3:Gl("p3",f2),tos:"tos",mtos:"mtos",mtos1:Fl("mtos1",[0,2,4],!1,f2),mtos2:Fl("mtos2",[0,2,4],!1,f2),mtos3:Fl("mtos3",[0,2,4],!1,f2),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:Gl("a0",f2),a1:Gl("a1",f2),a2:Gl("a2",f2),a3:Gl("a3",f2),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:Gl("c0",f2),c1:Gl("c1",f2),c2:Gl("c2",f2),c3:Gl("c3",f2),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Gl("qmtos",e2),qnc:Gl("qnc",e2),qmv:Gl("qmv",e2),qnv:Gl("qnv",e2),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:Gl("ss0",f2),ss1:Gl("ss1",f2),ss2:Gl("ss2",f2),ss3:Gl("ss3",f2),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids"},hqa={c:Cl("c"),at:"at",atos:Fl("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:El(),j:"dom",mtos:Fl("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Cl("ss"),vsv:yb("w2"),t:"t"},iqa={atos:"atos",amtos:"amtos",avt:Fl("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Cl("ss"),t:"t"},jqa={a:"a",tos:El(),at:"at",c:Cl("c"),mtos:Fl("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:yb("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},kqa={tos:El(),at:"at",c:Cl("c"),mtos:Fl("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:yb("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv", qmpt:Fl("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if("number"===typeof d)return(0,g.Fc)(b,function(e){return 0=e?1:0})}}("qnc",[1, .5,0]),qmv:"qmv",qa:"qas",a:"a"};var Yca={TQ:"visible",bQ:"audible",SS:"time",US:"timetype"},Ml={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(Ol,sk);Ol.prototype.getId=function(){return this.F}; Ol.prototype.B=function(){return!0}; Ol.prototype.w=function(a){var b=a.Ld(),c=a.getDuration();return lj(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(Pl,sk);Pl.prototype.w=function(a){var b=Uj(a.Ld().o,1);return Ck(a,b)};g.r(Ql,sk);Ql.prototype.w=function(a){return a.Ld().Yh()};g.r(Tl,ada);Tl.prototype.o=function(a){var b=new Rl;b.o=Sl(a,gqa);b.w=Sl(a,iqa);return b};g.r(Ul,wk);Ul.prototype.w=function(){var a=g.w("ima.admob.getViewability"),b=di(this.Pa,"queryid");g.Oa(a)&&b&&a(b)}; Ul.prototype.getName=function(){return"gsv"};g.r(Vl,Dj);Vl.prototype.getName=function(){return"gsv"}; Vl.prototype.bl=function(){var a=mj.getInstance();Ei.getInstance();return a.u&&!1}; Vl.prototype.ko=function(a,b,c){return new Ul(this.o,b,c)};g.r(Wl,wk);Wl.prototype.w=function(){var a=this,b=g.w("ima.bridge.getNativeViewability"),c=di(this.Pa,"queryid");g.Oa(b)&&c&&b(c,function(d){g.Ob(d)&&a.C++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.o=jj(d.opt_nativeViewBounds||{});var k=a.u.w;k.o=f?eqa.clone():jj(e);a.timestamp=d.opt_nativeTime||-1;mj.getInstance().o=k.o;d=d.opt_nativeVolume;void 0!==d&&(k.volume=d)})}; Wl.prototype.getName=function(){return"nis"};g.r(Xl,Dj);Xl.prototype.getName=function(){return"nis"}; Xl.prototype.bl=function(){var a=mj.getInstance();Ei.getInstance();return a.u&&!1}; Xl.prototype.ko=function(a,b,c){return new Wl(this.o,b,c)};g.r(Yl,vj);g.h=Yl.prototype;g.h.qo=function(){return null!=this.u.Ue}; g.h.kx=function(){var a={};this.U&&(a.mraid=this.U);this.O&&(a.mlc=1);a.mtop=this.u.fC;this.B&&(a.mse=this.B);this.V&&(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(Am,Tl);Am.prototype.o=function(a){var b=Tl.prototype.o.call(this,a);var c=tm=(0,g.H)();var d=um(5);c=(wm?!d:d)?c|2:c&-3;d=um(2);c=(xm?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.u||(this.u=qda());b.B=this.u;b.C=Sl(a,hqa,c,"h",Bm("kArwaWEsTs"));b.A=Sl(a,jqa,{},"h",Bm("b96YPMzfnx"));b.u=Sl(a,kqa,{},"h",Bm("yb8Wev6QDg"));return b};Cm.prototype.o=function(){return g.w(this.u)};g.r(Dm,Cm);Dm.prototype.o=function(a){if(!a.Bj)return Cm.prototype.o.call(this,a);var b=this.A[a.Bj];if(b)return function(c,d,e){b.u(c,d,e)}; Zi(393,Error());return null};g.r(Em,fm);g.h=Em.prototype;g.h.Fn=function(a,b){var c=this,d=Ei.getInstance(),e=Wk.getInstance();if(null!=e.o)switch(e.o.getName()){case "nis":var f=Fm(this,a,b);break;case "gsv":f=uda(this,a,b);break;case "exc":f=Gm(this,a)}else switch(d.sb){case "nis":f=Fm(this,a,b);break;case "exc":f=Gm(this,a)}f||(b.opt_overlayAdElement?f=void 0:b.opt_adElement&&(f=jda(this,a,b.opt_adElement,b.opt_osdId)));f&&1==f.jf()&&(f.J==g.Ja&&(f.J=function(k){return c.Ey(k)}),tda(this,f,b)); return f}; g.h.Ey=function(a){a.u=0;a.S=0;if("h"==a.A||"n"==a.A){var b;Ei.getInstance();if(a.Bj&&Jm(this)){var c=this.G[a.Bj];c?b=function(e){return c.o(e)}:null!==c&&Zi(379,Error())}else b=g.w("ima.common.getVideoMetadata"); if(g.Oa(b))try{var d=b(a.Zc)}catch(e){a.u|=4}else a.u|=2}else if("b"==a.A)if(b=g.w("ytads.bulleit.getVideoMetadata"),g.Oa(b))try{d=b(a.Zc)}catch(e){a.u|=4}else a.u|=2;else if("ml"==a.A)if(b=g.w("ima.common.getVideoMetadata"),g.Oa(b))try{d=b(a.Zc)}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.Ob(d)?a.u|=32:null!=d.errorCode&&(a.S=d.errorCode,a.u|=64));null==d&&(d={});kda(d,a);kj(d.volume)&&kj(void 0)&&(d.volume*=NaN);return d}; g.h.zw=function(){if(Jm(this))return new Dm("ima.common.triggerExternalActivityEvent",this.w,this.G);var a=vda(this);return null!=a?new Cm(a,this.w):null}; g.h.Xt=function(a){!a.o&&a.ij&&mm(this,a,"overlay_unmeasurable_impression")&&(a.o=!0)}; g.h.KB=function(a){a.bC&&(a.Yh()?mm(this,a,"overlay_viewable_end_of_session_impression"):mm(this,a,"overlay_unviewable_impression"),a.bC=!1)}; g.h.Jx=function(){}; g.h.fu=function(){}; g.h.Rl=function(a,b,c,d){a=fm.prototype.Rl.call(this,a,b,c,d);this.B&&(b=this.C,null==a.B&&(a.B=new qca),b.o[a.Zc]=a.B,a.B.B=fqa);return a}; g.h.pk=function(a){a&&1==a.jf()&&this.B&&delete this.C.o[a.Zc];return fm.prototype.pk.call(this,a)}; Ka(Em);var Hm=new Rl;Hm.B="stopped";Hm.o="stopped";Hm.w="stopped";Hm.C="stopped";Hm.A="stopped";Hm.u="stopped";Object.freeze(Hm);var lqa=Vi(193,Lm,pm);g.Ia("Goog_AdSense_Lidar_sendVastEvent",lqa,void 0);var mqa=Yi(194,function(a,b){b=void 0===b?{}:b;var c=Im(Em.getInstance(),a,b);return Km(c)}); g.Ia("Goog_AdSense_Lidar_getViewability",mqa,void 0);var nqa=Vi(195,function(){return zi()},void 0); g.Ia("Goog_AdSense_Lidar_getUrlSignalsArray",nqa,void 0);var oqa=Yi(196,function(){return g.Mk(zi())}); g.Ia("Goog_AdSense_Lidar_getUrlSignalsList",oqa,void 0);var Cea=(new Date).getTime();g.h=g.Pm.prototype;g.h.Bd=function(){Rm(this);for(var a=[],b=0;b2*this.w&&Rm(this),!0):!1}; g.h.get=function(a,b){return Qm(this.u,a)?this.u[a]:b}; g.h.set=function(a,b){Qm(this.u,a)||(this.w++,this.o.push(a),this.yh++);this.u[a]=b}; g.h.forEach=function(a,b){for(var c=this.se(),d=0;d=d.o.length)throw ik;var f=d.o[b++];return a?f:d.u[f]}; return e};g.Sm.prototype.toString=function(){var a=[],b=this.A;b&&a.push(Zm(b,pqa,!0),":");var c=this.o;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(Zm(b,pqa,!0),"@"),a.push(dd(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,null!=c&&a.push(":",String(c));if(c=this.u)this.o&&"/"!=c.charAt(0)&&a.push("/"),a.push(Zm(c,"/"==c.charAt(0)?qqa:rqa,!0));(c=this.w.toString())&&a.push("?",c);(c=this.C)&&a.push("#",Zm(c,sqa));return a.join("")}; g.Sm.prototype.resolve=function(a){var b=this.clone(),c=!!a.A;c?g.Tm(b,a.A):c=!!a.G;c?b.G=a.G:c=!!a.o;c?g.Um(b,a.o):c=null!=a.B;var d=a.u;if(c)g.Vm(b,a.B);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=fc(e,"/");e=e.split("/");for(var f=[],k=0;ka&&0===a%1&&this.u[a]!=b&&(this.u[a]=b,this.o=-1)}; wn.prototype.get=function(a){return!!this.u[a]};g.Ua(g.xn,g.A);g.h=g.xn.prototype;g.h.start=function(){this.stop();this.A=!1;var a=zn(this),b=An(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(raa(this.w),20)}; g.h.stop=function(){if(this.isActive()){var a=zn(this),b=An(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.isActive=function(){return null!=this.o}; g.h.eF=function(){this.A&&this.o&&bf(this.o);this.o=null;this.C.call(this.B,(0,g.H)())}; g.h.Y=function(){this.stop();g.xn.Fb.Y.call(this)};g.Ua(g.I,g.A);g.h=g.I.prototype;g.h.Gk=0;g.h.Y=function(){g.I.Fb.Y.call(this);this.stop();delete this.o;delete this.u}; g.h.start=function(a){this.stop();this.Gk=g.Wf(this.w,void 0!==a?a:this.rd)}; g.h.stop=function(){this.isActive()&&g.v.clearTimeout(this.Gk);this.Gk=0}; g.h.isActive=function(){return 0!=this.Gk}; g.h.Bx=function(){this.Gk=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 En=[[],[]],Fn=0,Gn=!1,Wda=0;g.Ua(g.On,g.gf);g.On.prototype.B=function(){this.qe("begin")}; g.On.prototype.A=function(){this.qe("end")}; g.On.prototype.ud=function(){this.qe("finish")}; g.On.prototype.qe=function(a){this.dispatchEvent(a)};var tqa=Ab(function(){if(g.ie)return g.Md("10.0");var a=g.pe("DIV"),b=g.ke?"-webkit":xh?"-moz":g.ie?"-ms":g.yh?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Tpa.test("div"))throw Error("");if("DIV"in Vpa)throw Error("");c=null;var d="";if(b)for(k in b){if(!Tpa.test(k))throw Error("");var e=b[k];if(null!=e){var f=k;if(e instanceof Yb)e=Zb(e);else if("style"==f.toLowerCase()){if(!g.Pa(e))throw Error("");e instanceof Cc||(e=Ic(e));e=Dc(e)}else{if(/^on/i.test(f))throw Error(""); if(f.toLowerCase()in Upa)if(e instanceof dc)e=ec(e).toString();else if(e instanceof g.vc)e=g.wc(e);else if("string"===typeof e)e=g.zc(e).ue();else throw Error("");}e.Zf&&(e=e.ue());f=f+'="'+oc(String(e))+'"';d+=" "+f}}var k="":(c=Haa(d),k+=">"+g.Uc(c).toString()+"",c=c.o());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=Yc(k,c);g.$c(a,b);return""!=g.zh(a.firstChild,"transition")});g.Ua(Pn,g.On);g.h=Pn.prototype;g.h.play=function(){if(1==this.o)return!1;this.B();this.qe("play");this.startTime=(0,g.H)();this.o=1;if(tqa())return g.vh(this.w,this.J),this.F=g.Wf(this.VN,void 0,this),!0;this.ur(!1);return!1}; g.h.VN=function(){g.Ph(this.w);Zda(this.w,this.H);g.vh(this.w,this.C);this.F=g.Wf((0,g.x)(this.ur,this,!1),1E3*this.G)}; g.h.stop=function(){1==this.o&&this.ur(!0)}; g.h.ur=function(a){g.vh(this.w,"transition","");g.v.clearTimeout(this.F);g.vh(this.w,this.C);this.endTime=(0,g.H)();this.o=0;a?this.qe("stop"):this.ud();this.A()}; g.h.Y=function(){this.stop();Pn.Fb.Y.call(this)}; g.h.pause=function(){};var $da={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 dea=Rn("getPropertyValue"),eea=Rn("setProperty");var cea={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};g.Tn.prototype.clone=function(){return new g.Tn(this.o,this.B,this.w,this.C,this.A,this.F,this.u,this.G)};g.Vn.prototype.u=0;g.Vn.prototype.reset=function(){this.o=this.w=this.A;this.u=0}; g.Vn.prototype.getValue=function(){return this.w};(function(){if(aU){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Mc))?a[1]:"0"}return pI?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Mc))?a[0].replace(/_/g,"."):"10"):g.sx?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Mc))?a[1]:""):Wpa||Xpa||Ypa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Mc))?a[1].replace(/_/g,"."):""):""})();var gea=function(){if(g.pw)return Xn(/Firefox\/([0-9.]+)/);if(g.ie||g.Dw||g.yh)return Ld;if(g.Iv)return Hd()?Xn(/CriOS\/([0-9.]+)/):Xn(/Chrome\/([0-9.]+)/);if(g.Zx&&!Hd())return Xn(/Version\/([0-9.]+)/);if(Cx||XB){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Mc);if(a)return a[1]+"."+a[2]}else if(g.ux)return(a=Xn(/Android\s+([0-9.]+)/))?a:Xn(/Version\/([0-9.]+)/);return""}();g.Ua(g.Zn,g.A);g.h=g.Zn.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.$a(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Vh(a)}return!1}; g.h.Vh=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.Ja):(c&&g.gb(c,a),delete this.o[a],delete this.o[a+1],delete this.o[a+2])}return!!b}; g.h.R=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 ik;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.Ua(jo,io);g.Ua(ko,io);g.Ua(mo,ho);var jea={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},lo=null;g.h=mo.prototype;g.h.isAvailable=function(){return!!this.o}; g.h.set=function(a,b){this.o.setAttribute(no(a),b);oo(this)}; g.h.get=function(a){a=this.o.getAttribute(no(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; g.h.remove=function(a){this.o.removeAttribute(no(a));oo(this)}; g.h.If=function(a){var b=0,c=this.o.XMLDocument.documentElement.attributes,d=new hk;d.next=function(){if(b>=c.length)throw ik;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)eb(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.Bd=function(){for(var a=this.o,b=[],c=a.length,d=0;dc;c++)b+=this.u[c]||0;3<=b&&this.H();this.w=d}this.B=a;this.C=this.o;this.A=(this.A+1)%4}}; Kp.prototype.Y=function(){window.clearInterval(this.J);g.zp(this.G)};g.r(Op,Aea);Op.prototype.start=function(){var a=g.w("yt.scheduler.instance.start");a&&a()}; Op.prototype.pause=function(){var a=g.w("yt.scheduler.instance.pause");a&&a()}; Ka(Op);Op.getInstance();var Vp={};var Xp=g.w("ytLoggingGelSequenceIdObj_")||{};g.Ia("ytLoggingGelSequenceIdObj_",Xp,void 0);var mq=new function(){var a=window.document;this.o=window;this.u=a}; g.Ia("yt.ads_.signals_.getAdSignalsString",function(a){return cq(oq(a))},void 0);(0,g.H)();var X_={debug:1,info:2,warn:3,error:4,off:5};var pq=void 0!==XMLHttpRequest?function(){return new XMLHttpRequest}:void 0!==ActiveXObject?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;var sq={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"},Fea="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(" "), zq=!1;Iq.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.Mk(b))}catch(f){return}else e=escape(b);g.Fq(a,e,c,this.u)}; Iq.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=Gq(a))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; Iq.prototype.remove=function(a){this.o&&this.o.remove(a);g.Hq(a,"/",this.u)};new Iq;g.Jq.prototype.isReady=function(){!this.o&&Cq()&&(this.o=Dq());return!!this.o};g.r(Lq,Error);var Ir=new Set,Hr=0;Pq.prototype.initialize=function(a,b,c,d,e,f){var k=this;f=void 0===f?!1:f;b?(this.Dd=!0,g.Wo(b,function(){k.Dd=!1;if(window.botguard)Qq(k,c,d,f);else{var l=Xo(b),m=document.getElementById(l);m&&(Vo(l),m.parentNode.removeChild(m));Nq(new Lq("Unable to load Botguard","from "+b))}},e)):a&&(eval(a),window.botguard?Qq(this,c,d,f):Nq(Error("Unable to load Botguard from JS")))}; Pq.prototype.dispose=function(){this.o=null};var Nea=[],Sq=!1;var Xq={},Qea=0;g.r(Yq,Va);ar.prototype.then=function(a,b,c){return 1===this.u&&a?(a=a.call(c,this.o),zf(a)?a:cr(a)):2===this.u&&b?(a=b.call(c,this.o),zf(a)?a:br(a)):this}; ar.prototype.getValue=function(){return this.o}; ar.prototype.$goog_Thenable=!0;g.r(er,Va);er.prototype.name="BiscottiError";g.r(dr,Va);dr.prototype.name="BiscottiMissingError";var gr={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},fr=null;var Sea=g.$o("html5_disable_client_tmp_logs");var mr=g.w("ytglobal.prefsUserPrefsPrefs_")||{};g.Ia("ytglobal.prefsUserPrefsPrefs_",mr,void 0);g.h=nr.prototype;g.h.get=function(a,b){rr(a);qr(a);var c=void 0!==mr[a]?mr[a].toString():null;return null!=c?c:b?b:""}; g.h.set=function(a,b){rr(a);qr(a);if(null==b)throw Error("ExpectedNotNull");mr[a]=b.toString()}; g.h.remove=function(a){rr(a);qr(a);delete mr[a]}; g.h.save=function(){g.Fq(this.o,this.dump(),63072E3)}; g.h.clear=function(){g.Pb(mr)}; g.h.dump=function(){var a=[],b;for(b in mr)a.push(b+"="+encodeURIComponent(String(mr[b])));return a.join("&")}; Ka(nr);var Uea=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]),Xea={"/youtuberedoriginals":!0,"/originals":!0},Wea=["/fashion","/channel/UCrpQ4p1Ql_hG8rKXIKM1MOQ","/channel/UCTApTkbpcqiLL39WUlne4ig","/channel/UCW5PCzG3KQvbOX4zc3KY0lQ"];g.r(g.O,g.A);g.O.prototype.L=function(a,b,c,d,e){c=Io((0,g.x)(c,d||this.yd));c={target:a,name:b,Va:c};var f;e&&Aqa()&&(f={passive:!0});a.addEventListener(b,c.Va,f);this.Z.push(c);return c}; g.O.prototype.Xa=function(a){for(var b=0;b=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{Ox:b,wp:c}};var Qs={RA:function(a){a.reverse()}, Vg:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}, CO: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\/)/,Vs=/^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)/,lfa=/^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))/, jja=/^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))/,jfa=/^((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)|(((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\/)/,kfa=/^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)/,ifa=/^((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)|(((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\/.*$)/, Sfa=/^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)/, Rfa=/^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:\/\/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)/, Cqa=/^(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)$|^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$|imasdk\.googleapis\.com$)/, Dqa=/^(https\:\/\/googleads\.g\.doubleclick\.net)$/;var Ts=!1;ct.prototype.set=function(a,b){this.o[a]!==b&&(this.o[a]=b,this.w="")}; ct.prototype.get=function(a){et(this);return this.o[a]||null}; ct.prototype.clone=function(){var a=new ct(this.A);a.B=this.B;a.u=this.u;a.C=this.C;a.o=g.Rb(this.o);a.w=this.w;return a}; var it=!1,Afa=/(r.+)\.c\.youtube/;g.h=g.ot.prototype;g.h.fz=function(a){this.segments.push(a)}; g.h.getDuration=function(a){return(a=this.Rf(a))?a.duration:0}; g.h.fx=function(a){return this.getDuration(a)}; g.h.Me=function(){return this.segments.length?this.segments[0].Ma:-1}; g.h.Ls=function(a){return(a=this.Rf(a))?a.ingestionTime:NaN}; g.h.jb=function(){return this.segments.length?this.segments[this.segments.length-1].Ma:-1}; g.h.Qh=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:NaN}; g.h.zb=function(){return this.segments[0].startTime}; g.h.Vi=function(){return this.segments.length}; g.h.xo=function(){return 0}; g.h.Oe=function(a){return(a=this.xk(a))?a.Ma:-1}; g.h.rr=function(a){return(a=this.Rf(a))?a.u:""}; g.h.Xc=function(a){return(a=this.Rf(a))?a.startTime:0}; g.h.En=ba(1);g.h.Pb=function(){return 0this.info.Oa||4==this.info.type)return!0;var b=$u(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=$u(this).getUint32(0,!1);a.ebm=c.toString();if(3==this.info.type&&0==this.info.w)return 524531317==c||440786851==c}return!0};kv.prototype.set=function(a,b){this.o.get(a);this.u[a]=b;this.w=""}; kv.prototype.get=function(a){return this.u[a]||this.o.get(a)};var Tfa={LP:"adunit",EQ:"detailpage",IQ:"editpage",LQ:"embedded",HR:"leanback",sS:"previewpage",tS:"profilepage",GD:"unplugged",pS:"playlistoverview",MS:"sponsorshipsoffer"};var qw={name:"width",video:!0,valid:640,nf:99999},rw={name:"height",video:!0,valid:360,nf:99999},tw={name:"framerate",video:!0,valid:30,nf:9999},uw={name:"bitrate",video:!0,valid:3E5,nf:2E9},ow={name:"eotf",video:!0,valid:"bt709",nf:"catavision"},xw={name:"channels",video:!1,valid:2,nf:99},vw={name:"cryptoblockformat",video:!0,valid:"subsample",nf:"invalidformat"},ww={name:"decode-to-texture",video:!0,valid:"false",nf:"nope"},Cw={name:"codecs",video:!0,valid:"av01.0.05M.08",nf:"av99.0.05M.08"},yw= {mT:qw,lR:rw,WQ:tw,iQ:uw,OQ:ow,uQ:xw,zQ:vw,DQ:ww,gQ:Cw};var Efa={0:"f",160:"h",133:"h",134:"h",135:"h",136:"h",137:"h",264:"h",266:"h",138:"h",298:"h",299:"h",304:"h",305:"h",214:"h",216:"h",374:"h",375:"h",140:"a",141:"ah",327:"sa",258:"m",380:"mac3",328:"meac3",161:"H",142:"H",143:"H",144:"H",222:"H",223:"H",145:"H",224:"H",225:"H",146:"H",226:"H",227:"H",147:"H",384:"H",376:"H",385:"H",377:"H",149:"A",261:"M",381:"MAC3",329:"MEAC3",598:"9",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",353:"9",355:"9",271:"9",313:"9",272:"9",302:"9",303:"9",407:"9", 408:"9",308:"9",315:"9",330:"9h",331:"9h",332:"9h",333:"9h",334:"9h",335:"9h",336:"9h",337:"9h",171:"v",338:"so",600:"o",250:"o",251:"o",194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",279:"(",280:"(",317:"(",318:"(",273:"(",274:"(",357:"(",358:"(",275:"(",359:"(",360:"(",276:"(",583:"(",584:"(",314:"(",585:"(",561:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",591:"(h",592:"(h",367:"(h",586:"(h",587:"(h",368:"(h",588:"(h",562:"(h",409:"(",410:"(",411:"(",412:"(",557:"(",558:"(", 394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",571:"1",402:"1",386:"3",387:"w",406:"6"};pv.prototype.getName=function(){return this.name}; pv.prototype.getId=function(){return this.id}; pv.prototype.getIsDefault=function(){return this.isDefault}; pv.prototype.toString=function(){return this.name}; pv.prototype.getName=pv.prototype.getName;pv.prototype.getId=pv.prototype.getId;pv.prototype.getIsDefault=pv.prototype.getIsDefault;var Lfa={eQ:"auto",VS:"tiny",IR:"light",KS:"small",OR:"medium",GR:"large",jR:"hd720",fR:"hd1080",gR:"hd1440",hR:"hd2160",iR:"hd2880",pR:"highres",UNKNOWN:"unknown"};var i2;i2={};g.rv=(i2.auto=0,i2.tiny=144,i2.light=144,i2.small=240,i2.medium=360,i2.large=480,i2.hd720=720,i2.hd1080=1080,i2.hd1440=1440,i2.hd2160=2160,i2.hd2880=2880,i2.highres=4320,i2);var xv="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");zv.prototype.wa=function(){return this.video}; zv.prototype.Qn=function(){return!!this.zc}; zv.prototype.isVideo=function(){return!!this.video};g.h=Nv.prototype;g.h.append=function(a){this.o.webkitSourceAppend(this.u,a)}; g.h.abort=function(){this.o.webkitSourceAbort(this.u)}; g.h.pP=function(){return this.o.webkitSourceState==this.o.SOURCE_CLOSED?new Gfa:this.o.webkitSourceBuffered(this.u)}; g.h.rP=function(){return this.w}; g.h.vP=function(a){this.w=a;this.o.webkitSourceTimestampOffset(this.u,a)};g.h=Ov.prototype;g.h.addEventListener=function(a,b,c){this.o.addEventListener(a,b,c)}; g.h.removeEventListener=function(a,b,c){this.o.removeEventListener(a,b,c)}; g.h.sI=function(){return this.o.webkitMediaSourceURL}; g.h.addSourceBuffer=function(a){var b=(this.w++).toString();this.o.webkitSourceAddId(b,a);a=new Nv(this.o,b);this.sourceBuffers.push(a);return a}; g.h.removeSourceBuffer=function(a){for(var b=0;bthis.vn()?(this.o.appendWindowEnd=b,this.o.appendWindowStart=a):(this.o.appendWindowStart=a,this.o.appendWindowEnd=b)}; g.h.xx=function(){return this.B}; g.h.mp=function(a){NF?this.B=a:this.supports(1)&&(this.o.timestampOffset=a)}; g.h.Ab=function(){return NF?this.B:this.supports(1)?this.o.timestampOffset:0}; g.h.Ad=function(){try{return this.o.buffered}catch(a){return Uv([],[])}}; g.h.de=function(){return this.o.updating}; g.h.Ph=function(){return this.u}; g.h.xn=function(){return this.F}; g.h.Eu=function(a,b){this.C!=a&&(this.supports(4),this.o.changeType(b));this.C=a}; g.h.lr=function(){return this.A}; 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.de()}; g.h.isLocked=function(){return!1}; g.h.Ya=function(a){a.to=""+this.o.timestampOffset;a.up=""+ +this.de();a.aw=(this.o.appendWindowStart||0).toFixed(3)+"-"+(this.o.appendWindowEnd||Infinity).toFixed(3);try{a.bu=Vv(this.o.buffered)}catch(b){}return Sv(a)}; g.h.Y=function(){this.supports(3)&&(this.o.removeEventListener("updateend",this.w),this.o.removeEventListener("error",this.w));g.P.prototype.Y.call(this)};g.r(cw,g.P);g.h=cw.prototype;g.h.appendBuffer=function(a,b,c){if(this.o.vn()!=this.C+this.u||this.o.er()!=this.B+this.u||this.o.Ab()!=this.A+this.u)this.o.supports(1),this.o.gu(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.gu=function(a,b){this.C=a;this.B=b}; g.h.xx=function(){return this.A+this.u}; g.h.vn=function(){return this.C}; g.h.er=function(){return this.B}; g.h.mp=function(a){this.A=a}; g.h.Ab=function(){return this.A}; g.h.Ad=function(){return aw(this.o.Ad(),this.u,this.G)}; g.h.de=function(){return this.o.de()}; g.h.Ph=function(){return this.o.Ph()}; g.h.xn=function(){return this.o.xn()}; g.h.Eu=function(a,b){return this.o.Eu(a,b)}; g.h.supports=function(a){return this.o.supports(a)}; g.h.lr=function(){return this.o.lr()}; 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.Ya=function(a){return this.o.Ya(a)+(";vw."+this.u+"-"+this.G)}; g.h.Y=function(){Ar(this.o,this.H);g.P.prototype.Y.call(this)}; g.h.isActive=function(){return this.w}; g.h.setActive=function(a){this.w=a;this.F=this.F||this.w};dw.prototype.dispose=function(){if(!this.la){if(this.u)try{URL.revokeObjectURL(this.o)}catch(a){}this.w=!0}}; dw.prototype.la=function(){return this.w}; dw.prototype.toString=function(){return"MediaResource {"+this.o+"}"};g.r(ew,g.A);g.h=ew.prototype;g.h.getDuration=function(){return this.w.duration}; g.h.isView=function(){return this.C}; g.h.de=function(){return!!(this.o&&this.o.de()||this.u&&this.u.de())}; g.h.jN=function(){!this.la()&&fw(this)&&this.A&&(this.A(this),this.A=null)}; g.h.iN=function(){this.dispose()};var Fqa={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},j2;a:{var k2=g.Mc;k2=k2.toLowerCase();if(-1!=k2.indexOf("android")){var Gqa=k2.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(Gqa){var Hqa=parseFloat(Gqa[1]);if(100>Hqa){j2=Hqa;break a}}var Iqa=k2.match("("+g.Ib(Fqa).join("|")+")");j2=Iqa?Fqa[Iqa[0]]:0}else j2=void 0}var zx=j2,yx=0<=zx;mw.prototype.canPlayType=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;ol?c=c||Jqa[b]:2.2==zx?c=c||Kqa[b]:fl()&&(c=c||Lqa[b]);return!!c}; var Kqa={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Lqa={"application/x-mpegURL":"maybe"},Jqa={"application/x-mpegURL":"maybe"};g.h=Ew.prototype;g.h.Zd=function(){return this.Tf}; g.h.sl=function(){return null}; g.h.gx=function(){var a=this.sl();return a?+g.fq(a.o).expire:NaN}; g.h.du=function(){}; g.h.getHeight=function(){return this.Tf.wa().height};Gw.prototype.isLocked=function(){return this.w&&!!this.u&&this.u==this.o}; Gw.prototype.A=function(a){return a.video?Nw(this,a.video.quality):!1}; var HK=Iw("auto","hd1080",!1,"l"),bI=Iw("auto","large",!1,"l"),Kw=Iw("auto","auto",!1,"p");Iw("small","auto",!1,"p");var Fx={JR:1,KR:2,LR:3};g.r(Ow,g.P);Ow.prototype.add=function(a,b){!this.Ga[a]&&(b.Wm||b.Xm||b.km)&&(this.Ga[a]=Vb(b),this.R("vast_info_card_add",a))}; Ow.prototype.remove=function(a){var b=this.get(a);delete this.Ga[a];return b}; Ow.prototype.get=function(a){return this.Ga[a]||null}; Ow.prototype.isEmpty=function(){return g.Ob(this.Ga)};Yw.prototype.w=function(a,b){var c=Math.pow(this.B,a);this.u=b*(1-c)+c*this.u;this.A+=a}; Yw.prototype.o=function(){return this.u/(1-Math.pow(this.B,this.A))};$w.prototype.w=function(a,b){var c=Math.min(this.u,Math.max(1,Math.round(a*this.P)));c+this.A>=this.u&&(this.C=!0);for(;c--;)this.B[this.A]=b,this.A=(this.A+1)%this.u;this.G=!0}; $w.prototype.o=function(){return this.H?(ax(this,this.F-this.H)+ax(this,this.F)+ax(this,this.F+this.H))/3:ax(this,this.F)};var Ufa={RED:"red",kT:"white"};var Qfa=/^([0-9\.]+):([0-9\.]+)$/;var qx="blogger books docs duo google-live play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.r(Mx,g.A);g.h=Mx.prototype;g.h.fa=function(a){return g.Q(this.experiments,a)}; g.h.Td=function(a,b){b=void 0===b?!1:b;this.xa=ox(this.xa,a.video_id);this.fb=ox(this.fb,a.eventid);var c=[],d;for(d in Mqa){var e=Mqa[d],f=a[e];void 0!=f&&(f!=this.deviceParams[e]&&c.push(e),this.deviceParams[e]=f)}!b&&0'):(a=Math.round(360*c/b),b='
');return b}; g.h.supportsGaplessAudio=function(){return g.Iv&&!ol&&74<=cl()||g.pw&&g.Md(68)?!0:!1}; var Mqa={jQ:"cbrand",kQ:"cbr",lQ:"cbrver",wR:"c",zR:"cver",yR:"ctheme",xR:"cplayer",QR:"cmodel",UR:"cnetwork",ZR:"cos",aS:"cosver",gS:"cplatform"},Vfa=["www.youtube-nocookie.com","youtube.googleapis.com"];my.prototype.gf=function(){return Ou(this.o[0])};g.h=ry.prototype;g.h.yc=function(){}; g.h.Sk=function(){}; g.h.Rr=function(){return!1}; g.h.Cc=function(){return!!this.o&&this.index.Pb()}; g.h.og=function(){}; g.h.Py=function(){return!1}; g.h.Ui=function(){}; g.h.di=function(){}; g.h.pj=function(){}; g.h.Uf=function(){}; g.h.Kk=function(){}; g.h.Qy=function(a){return[a]}; g.h.hp=function(a){return[a]}; g.h.Uo=function(){}; g.h.yn=function(){};g.r(ty,ry);g.h=ty.prototype;g.h.yc=function(){return!1}; g.h.Sk=function(){return!1}; g.h.Py=function(){return this.w}; g.h.Ui=function(){if(this.w)return[];var a=new Nu(1,this,this.initRange,"getMetadataRequestInfos");return[new my([a],this.S)]}; g.h.di=function(){return null}; g.h.pj=function(a){this.og(a);return this.gi(a.A?a.u+1:a.u,!1)}; g.h.Uf=function(a,b){b=void 0===b?!1:b;var c=this.index.Oe(a);b&&(c=Math.min(this.index.jb(),c+1));return this.gi(c,!0)}; g.h.Kk=function(a){this.o=new Uint8Array($u(a).buffer)}; g.h.Rr=function(){return!1}; g.h.og=function(a){return 0==a.Oa?!0:this.index.jb()>a.u&&this.index.Me()<=a.u+1}; g.h.update=function(a,b,c){this.index.append(a);pt(this.index,c);this.G=b}; g.h.Cc=function(){return this.w?!0:ry.prototype.Cc.call(this)}; g.h.gi=function(a,b){var c=this.index.rr(a),d=this.index.Xc(a),e=this.index.getDuration(a),f;b?e=f=0:f=0c&&(this.segments=this.segments.slice(b))}}; g.h.xk=function(a){if(!this.u)return g.ot.prototype.xk.call(this,a);if(!this.segments.length)return null;if(!this.H)return aga(this,a);var b=this.segments[this.segments.length-1];if(a=b.endTime)b=b.Ma+Math.floor((a-b.endTime)/this.o+1);else{b=sb(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.Ma-b.Ma-1))+1)+b.Ma}return this.Rf(b)}; g.h.Rf=function(a){if(!this.u)return g.ot.prototype.Rf.call(this,a);if(!this.segments.length)return null;var b=wy(this,a);if(0<=b)return this.segments[b];if(!this.H)return zy(this,a,this.segments[Math.max(-(b+2),0)]);var c=-(b+1);b=this.o;if(0==c)var d=Math.max(0,this.segments[0].startTime-(this.segments[0].Ma-a)*b);else c==this.segments.length?(d=this.segments[this.segments.length-1],d=d.endTime+(a-d.Ma-1)*b):(d=this.segments[c-1],c=this.segments[c],d=d.endTime+(c.startTime-d.endTime)/(c.Ma-d.Ma- 1)*(a-d.Ma-1));return new nt(a,d,b,0,"sq/"+a,void 0,void 0,!0)};g.r(Ay,ty);g.h=Ay.prototype;g.h.Sk=function(){return!0}; g.h.Cc=function(){return!0}; g.h.og=function(a){if(a.C)return!1;if(this.U&&-1a.B;return!a.P||b&&c}return!0}; g.h.Ui=function(){return[]}; g.h.Uf=function(a,b){if("number"===typeof a&&!isFinite(a)){var c=new Nu(3,this,null,"mlLiveGetReqInfoStubForTime",-1,void 0,this.je,void 0,this.je*this.info.o);return new my([c],"")}return ty.prototype.Uf.call(this,a,b)}; g.h.gi=function(a,b){var c=void 0===c?!1:c;if(yy(this.index,a))return ty.prototype.gi.call(this,a,b);var d=this.index.Xc(a),e=b?0:this.je*this.info.o,f=!b;c=new Nu(c?6:3,this,null,"mlLiveCreateReqInfoForSeg",a,d,void 0,void 0,e,a==this.index.jb()&&!this.G&&0a.u&&this.index.Me()<=a.u+1}; g.h.yn=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0}; g.h.Uo=function(){return!1};g.h=g.Iy.prototype;g.h.xo=function(a){return this.u[a]}; g.h.Xc=function(a){return this.w[a]/this.B}; g.h.En=ba(0);g.h.Ls=function(){return NaN}; g.h.getDuration=function(a){a=this.fx(a);return 0<=a?a/this.B:-1}; g.h.fx=function(a){return a+1=this.jb())return 0;for(var c=0,d=this.Xc(a)+b,e=a;ethis.Xc(e);e++)c=Math.max(c,(e+1=this.index.xo(b+1);)b++;return Ly(this,b,a.range.start,a.range.length).o}; g.h.og=function(a){return this.Cc()?!0:isNaN(this.w)?!1:a.range.end+1this.w&&(c=new Ju(c.start,this.w-1));c=[new Nu(4,a.o,c,"getNextRequestInfoByLength")];return new my(c)}4==a.type&&(c=this.hp(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 Ly(this,c,d,b)}; g.h.pj=function(){return null}; g.h.Uf=function(a,b){var c=this.index.Oe(a);b&&(c=Math.min(this.index.jb(),c+1));return Ly(this,c,this.index.xo(c),0)}; g.h.Rr=function(){var a;if(a=this.Cc()&&!isNaN(this.w))a=this.index,a=(a.A?a.u[a.o]:-1)!=this.w;return a}; g.h.yc=function(){return!0}; g.h.Sk=function(){return!1}; g.h.yn=function(){return this.indexRange.length+this.initRange.length}; g.h.Uo=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};g.r(Oy,g.P);g.h=Oy.prototype;g.h.fg=function(){return Eb(this.o,function(a){return a.info.video?2==a.info.video.projectionType:!1})}; g.h.gg=function(){return Eb(this.o,function(a){return a.info.video?3==a.info.video.projectionType:!1})}; g.h.Yf=function(){return Eb(this.o,function(a){return a.info.video?4==a.info.video.projectionType:!1})}; g.h.ej=function(){return Eb(this.o,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})}; g.h.SN=function(a){var b=a.getElementsByTagName("Representation");if(0this.F&&this.na;this.V=parseInt(By(a,Yy(this,"earliestMediaSequence")),10)||0; if(b=Date.parse(Ey(By(a,Yy(this,"mpdResponseTime")))))this.G=((0,g.H)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.ui)(a.getElementsByTagName("Period"),this.SN,this);this.C=2;this.R("loaded");cz(this);return this}; g.h.pF=function(a){this.O=a.bi.status;this.C=3;this.R("loaderror");return Gf(a.bi)}; g.h.refresh=function(){if(1!=this.C&&!this.la()){var a=g.Ad(this.sourceUrl,{start_seq:wga(this).toString()});Nf(az(this,a),function(){})}}; g.h.resume=function(){cz(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.Pb()&&(f.F&&(b=!0),k=k.Qh(),f.info.audio&&(isNaN(c)||kk.getHeight())&&c.push(k)}return c}; Yz.prototype.B=function(a,b,c,d){return new g.Qz(a,b,c,d)};g.r($z,g.Qz);g.h=$z.prototype;g.h.gr=function(){return this.u.Vi()}; g.h.Fo=function(a){var b=this.rows*this.columns*this.H,c=this.u,d=c.jb();a=c.Oe(a);return a>d-b?-1:a}; g.h.zl=function(){return this.u.jb()}; g.h.ct=function(){return this.u.Me()}; g.h.ZB=function(a){this.u=a};g.r(aA,Yz);aA.prototype.u=function(a,b){return Yz.prototype.u.call(this,"$N|"+a,b)}; aA.prototype.B=function(a,b,c){return new $z(a,b,c,this.isLive)};var dA={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},gA={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};var ES=16/9,Nqa=[.25,.5,.75,1,1.25,1.5,1.75,2],Oqa=Nqa.concat([3,4,5,6,7,8,9,10,15]);var m2={},dha=(m2.ALWAYS=1,m2.BY_REQUEST=3,m2),n2={},vha=(n2.COLOR_PRIMARIES_BT709="bt709",n2.COLOR_PRIMARIES_BT2020="bt2020",n2),o2={},wha=(o2.COLOR_TRANSFER_CHARACTERISTICS_BT709="bt709",o2.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10="bt2020",o2.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084="smpte2084",o2.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67="arib-std-b67",o2),p2={},nA=(p2.FAIRPLAY="fairplay",p2.PLAYREADY="playready",p2.WIDEVINE="widevine",p2),q2={},Aha=(q2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN= "UNKNOWN",q2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL="NORMAL",q2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW="LOW",q2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW="ULTRALOW",q2),r2={},sha=(r2.UNKNOWN=0,r2.RECTANGULAR=1,r2.EQUIRECTANGULAR=2,r2.EQUIRECTANGULAR_THREED_TOP_BOTTOM=3,r2.MESH=4,r2),s2={},uha=(s2.SPATIAL_AUDIO_TYPE_NONE=0,s2.SPATIAL_AUDIO_TYPE_AMBISONICS_5_1=1,s2.SPATIAL_AUDIO_TYPE_AMBISONICS_QUAD=2,s2.SPATIAL_AUDIO_TYPE_FOA_WITH_NON_DIEGETIC=3,s2),t2={},tha=(t2.STEREO_LAYOUT_UNKNOWN= 0,t2.STEREO_LAYOUT_LEFT_RIGHT=1,t2.STEREO_LAYOUT_TOP_BOTTOM=2,t2),u2={},rha=(u2.FORMAT_STREAM_TYPE_UNKNOWN=0,u2.FORMAT_STREAM_TYPE_OTF=3,u2);g.r(qA,Zr);g.r(rA,Zr);var Dha=new $r("aft-recorded",qA),dB=new $r("timing-sent",rA);var v2=window,YA=v2.performance||v2.mozPerformance||v2.msPerformance||v2.webkitPerformance||new Cha;var AA=!1;var HA=g.w("ytLoggingLatencyUsageStats_")||{};g.Ia("ytLoggingLatencyUsageStats_",HA,void 0);FA.prototype.tick=function(a,b,c){IA(this,"tick_"+a+"_"+b)||Kq("latencyActionTicked",{tickName:a,clientActionNonce:b},{timestamp:c})}; FA.prototype.info=function(a,b){var c=Object.keys(a).join("");IA(this,"info_"+c+"_"+b)||(a.clientActionNonce=b,Kq("latencyActionInfo",a))};var w2={},UA=(w2.ad_to_ad="LATENCY_ACTION_AD_TO_AD",w2.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",w2.app_startup="LATENCY_ACTION_APP_STARTUP",w2["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",w2["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",w2["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",w2.browse="LATENCY_ACTION_BROWSE",w2.channels="LATENCY_ACTION_CHANNELS",w2.channel="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",w2["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS", w2["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",w2["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",w2["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",w2["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",w2["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",w2.chips="LATENCY_ACTION_CHIPS",w2["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",w2["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS", w2.embed="LATENCY_ACTION_EMBED",w2.home="LATENCY_ACTION_HOME",w2.library="LATENCY_ACTION_LIBRARY",w2.live="LATENCY_ACTION_LIVE",w2.onboarding="LATENCY_ACTION_KIDS_ONBOARDING",w2.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",w2.prebuffer="LATENCY_ACTION_PREBUFFER",w2.prefetch="LATENCY_ACTION_PREFETCH",w2.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",w2.profile_switcher="LATENCY_ACTION_KIDS_PROFILE_SWITCHER",w2.results="LATENCY_ACTION_RESULTS",w2.search_ui="LATENCY_ACTION_SEARCH_UI", w2.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",w2.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",w2.settings="LATENCY_ACTION_SETTINGS",w2.tenx="LATENCY_ACTION_TENX",w2.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",w2.watch="LATENCY_ACTION_WATCH",w2.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",w2["watch,watch7"]="LATENCY_ACTION_WATCH",w2["watch,watch7_html5"]="LATENCY_ACTION_WATCH",w2["watch,watch7ad"]="LATENCY_ACTION_WATCH",w2["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",w2.wn_comments= "LATENCY_ACTION_LOAD_COMMENTS",w2.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",w2["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",w2["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",w2["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",w2["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",w2["video.video_editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",w2["video.video_editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",w2["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION", w2.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",w2.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",w2),x2={},LA=(x2.ad_allowed="adTypesAllowed",x2.yt_abt="adBreakType",x2.ad_cpn="adClientPlaybackNonce",x2.ad_docid="adVideoId",x2.yt_ad_an="adNetworks",x2.ad_at="adType",x2.browse_id="browseId",x2.p="httpProtocol",x2.t="transportProtocol",x2.cpn="clientPlaybackNonce",x2.cseg="creatorInfo.creatorSegment",x2.csn="clientScreenNonce",x2.docid="videoId",x2.GetHome_rid="getHomeRequestId", x2.GetSearch_rid="getSearchRequestId",x2.GetPlayer_rid="getPlayerRequestId",x2.GetWatchNext_rid="getWatchNextRequestId",x2.GetBrowse_rid="getBrowseRequestId",x2.GetLibrary_rid="getLibraryRequestId",x2.is_continuation="isContinuation",x2.is_nav="isNavigation",x2.b_p="kabukiInfo.browseParams",x2.is_prefetch="kabukiInfo.isPrefetch",x2.is_secondary_nav="kabukiInfo.isSecondaryNav",x2.prev_browse_id="kabukiInfo.prevBrowseId",x2.query_source="kabukiInfo.querySource",x2.voz_type="kabukiInfo.vozType",x2.yt_lt= "loadType",x2.mver="creatorInfo.measurementVersion",x2.yt_ad="isMonetized",x2.nr="webInfo.navigationReason",x2.nrsu="navigationRequestedSameUrl",x2.ncnp="webInfo.nonPreloadedNodeCount",x2.prt="playbackRequiresTap",x2.plt="playerInfo.playbackType",x2.pis="playerInfo.playerInitializedState",x2.paused="playerInfo.isPausedOnLoad",x2.yt_pt="playerType",x2.fmt="playerInfo.itag",x2.yt_pl="watchInfo.isPlaylist",x2.yt_pre="playerInfo.preloadType",x2.yt_ad_pr="prerollAllowed",x2.pa="previousAction",x2.yt_red= "isRedSubscriber",x2.rce="mwebInfo.responseContentEncoding",x2.scrh="screenHeight",x2.scrw="screenWidth",x2.st="serverTimeMs",x2.aq="tvInfo.appQuality",x2.br_trs="tvInfo.bedrockTriggerState",x2.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",x2.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",x2.label="tvInfo.label",x2.is_mdx="tvInfo.isMdx",x2.preloaded="tvInfo.isPreloaded",x2.upg_player_vis="playerInfo.visibilityState",x2.query="unpluggedInfo.query",x2.upg_chip_ids_string="unpluggedInfo.upgChipIdsString", x2.yt_vst="videoStreamType",x2.vph="viewportHeight",x2.vpw="viewportWidth",x2.yt_vis="isVisible",x2.rcl="mwebInfo.responseContentLength",x2.GetSettings_rid="mwebInfo.getSettingsRequestId",x2.GetTrending_rid="mwebInfo.getTrendingRequestId",x2.GetMusicSearchSuggestions_rid="musicInfo.getMusicSearchSuggestionsRequestId",x2),Eha="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "), y2={},MA=(y2.mver="MEASUREMENT_VERSION_",y2.pis="PLAYER_INITIALIZED_STATE_",y2.yt_pt="LATENCY_PLAYER_",y2.pa="LATENCY_ACTION_",y2.yt_vst="VIDEO_STREAM_TYPE_",y2),Fha="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 GetLibrary_rid".split(" ");if(g.$o("overwrite_polyfill_on_logging_lib_loaded")){var Pqa=window;Pqa.ytcsi&&(Pqa.ytcsi.info=PA)};var Gha=(0,g.x)(YA.clearResourceTimings||YA.webkitClearResourceTimings||YA.mozClearResourceTimings||YA.msClearResourceTimings||YA.oClearResourceTimings||g.Ja,YA),Qqa=window;g.$o("csi_on_gel")&&Qqa.ytcsi&&(Qqa.ytcsi.tick=ZA);var z2;var Rqa=g.Mc,Sqa=Rqa.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!Sqa||2>Sqa.length)z2=void 0;else{var A2=Rqa.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);z2=A2&&6==A2.length?Number(A2[5].replace("_",".")):0}var YB=z2,dQ=0<=YB;dQ&&0<=g.Mc.search("Safari")&&g.Mc.search("Version");g.r(g.eB,g.P);g.h=g.eB.prototype;g.h.Td=function(a,b){b?(this.kp(a),JB(this)&&zB(this)):(a=a||{},jB(this,a),gB(this,a),this.R("dataupdated"))}; g.h.kp=function(a){a=a||{};var b=a.errordetail;null!=b&&(this.errorDetail=b);b=a.errorcode;null!=b?this.errorCode=b:"fail"==a.status&&(this.errorCode="150");b=a.reason;null!=b&&(this.errorReason=b);b=a.subreason;null!=b&&(this.Lg=b);this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||Or());this.cg=S(this.fa("web_player_live_monitor_env")?this.La.cg:!1,a.livemonitor);b=a.raw_embedded_player_response;if(!b){var c=a.embedded_player_response;c&&(b=JSON.parse(c))}b&&(this.hf=b);this.hf&&((b=this.hf.embedPreview)&& Nha(this,a,b),this.hf.playabilityStatus&&(this.Rq=this.hf.playabilityStatus,VB(this)&&(this.errorDetail="0")));b=a.raw_player_response;b||(c=a.player_response)&&(b=JSON.parse(c));b&&(this.Ia=b);if(this.Ia){(b=this.Ia.annotations)&&eha(this,b);(b=this.Ia.attestation)&&fha(this,b);(b=this.Ia.heartbeatParams)&&iha(this,b);(b=this.Ia.messages)&&kha(this,b);(b=this.Ia.multicamera)&&lha(this,b);(b=this.Ia.overlay)&&mha(this,b);if(b=this.Ia.playabilityStatus)nha(this,b),(c=b.errorScreen)&&zha(this,c);(c= this.Ia.playbackTracking)&&oha(this,c,a);(c=this.Ia.playerAds)&&pha(this,c,a);(c=this.Ia.playerConfig)&&qha(this,c);var d=this.Ia.streamingData;d&&xha(this,d,c||null);if(d=this.Ia.trackingParams)this.mf=d;if(d=this.Ia.videoDetails)if(yha(this,d,a),Bha(this,d,c||null,a),c=d.isPrivate)this.isPrivate=S(this.isPrivate,c);b&&hha(this,b,d||null);(b=this.Ia.interstitialPods)&&jha(this,b);this.Vd&&this.eventId&&(this.Vd=iq(this.Vd,{ei:this.eventId}));(b=this.Ia.captions)&&b.playerCaptionsTracklistRenderer&& gha(this,b.playerCaptionsTracklistRenderer);this.Ia.clipConfig&&null!=this.Ia.clipConfig.startTimeMs&&(this.Ot=.001*parseInt(this.Ia.clipConfig.startTimeMs,10))}jB(this,a);a.queue_info&&(this.queueInfo=a.queue_info);b=a.hlsdvr;null!=b&&(this.allowLiveDvr=pA("1"==b));this.adQueryId=a.ad_query_id||null;this.adSafetyReason||(this.adSafetyReason=a.encoded_ad_safety_reason||null);this.UD=a.agcid||null;this.Nv=a.ad_id||null;this.Pv=a.ad_sys||null;this.Hw=a.encoded_ad_playback_context||null;this.Fh=S(this.Fh, a.infringe||a.muted);this.authKey=a.authkey;this.Kc=a.authuser;this.mutedAutoplay=S(this.mutedAutoplay,a&&a.playmuted)&&this.fa("embeds_enable_muted_autoplay");this.rk=S(this.rk,a.enable_cardio);this.jn=S(this.jn,a.enable_cardio_before_playback);this.endSeconds=nx(this.endSeconds,this.Jt||a.end||a.endSeconds);this.mf=ox(this.mf,a.itct);this.Or=S(this.Or,a.noiba);this.Rn=S(this.Rn,a.is_live_destination);this.ua=S(this.ua,a.live_playback);this.isMdxPlayback=S(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode= "number"===typeof b?b:g.jd(b);this.Nr=S(this.Nr,a.is_inline_playback_no_ad);this.vf=nx(this.vf,a.reload_count);this.reloadReason=ox(this.reloadReason,a.reload_reason);this.Zl=S(this.Zl,a.show_content_thumbnail);this.Xr=S(this.Xr,a.utpsa);this.vu=S(this.vu,a.third_party_remapped_ad);this.cycToken=a.cyc||null;this.pC=a.tkn||null;b=fA(a);0=this.va.videoInfos.length)&&(a=Cv(this.va.videoInfos[0]),a!=("fairplay"==this.sd.flavor)))for(b=g.q(this.Dj),c=b.next();!c.done;c=b.next())if(c=c.value,a==("fairplay"==c.flavor)){this.sd=c;break}}; g.h.lu=function(a){this.sg=a;this.mu(new sz((0,g.Fc)(this.sg,function(b){return b.Zd()})))}; g.h.Sc=function(){var a={};this.Aa&&(a.fmt=Vu(this.Aa),this.Tb&&Vu(this.Tb)!=Vu(this.Aa)&&(a.afmt=Vu(this.Tb)));a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Fh&&(a.infringe=1);this.Yg&&(a.splay=1);var b=GB(this);b&&(a.live=b);this.lh&&(a.autoplay=1);this.Zo&&(a.sdetail=this.Zo);this.De&&(a.partnerid=this.De);this.osid&&(a.osid=this.osid);return a}; g.h.te=function(){var a=g.Vx(this.La)||this.fa("web_l3_storyboard");if(!this.Id)if(this.Ia&&this.Ia.storyboards){var b=this.Ia.storyboards,c=b.playerStoryboardSpecRenderer;c&&c.spec?this.Id=new Yz(c.spec,this.lengthSeconds,void 0,!1,a):(b=b.playerLiveStoryboardSpecRenderer)&&b.spec&&this.ka&&(c=Gb(this.ka.o).index)&&(this.Id=new aA(b.spec,this.ka.isLive,c,a))}else this.rp?this.Id=new Yz(this.rp,this.lengthSeconds,void 0,!1,a):this.Xn&&this.ka&&(b=Gb(this.ka.o).index)&&(this.Id=new aA(this.Xn,this.ka.isLive, b,a));return this.Id}; g.h.getStoryboardFormat=function(){if(this.Ia&&this.Ia.storyboards){var a=this.Ia.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.rp||this.Xn}; g.h.sc=function(){return this.ka&&!isNaN(this.ka.sc())?this.ka.sc():sB(this)?0:this.lengthSeconds}; g.h.zb=function(){return this.ka&&!isNaN(this.ka.zb())?this.ka.zb():0}; g.h.getPlaylistSequenceForTime=function(a){if(this.ka&&this.Aa){var b=this.ka.o[this.Aa.id];if(!b)return null;var c=b.index.Oe(a);b=b.index.Xc(c);return{sequence:c,elapsed:Math.floor(1E3*(a-b))}}return null}; g.h.isValid=function(){return!this.la()&&!(!this.videoId&&!this.Lj)}; g.h.Pb=function(){return JB(this)&&!this.Eh&&!this.jj}; g.h.Ac=function(a){if(30==this.De)return(a=this.Ye["default.jpg"])?a:this.videoId?g.Ad("//docs.google.com/vt",{id:this.videoId,authuser:this.Kc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif";a||(a="hqdefault.jpg");var b=this.Ye[a];return b||this.La.G||"pop1.jpg"==a||"pop2.jpg"==a||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a?b:Qx(this.La,this.videoId,a)}; g.h.Pe=function(){return this.ua||this.ye||this.Yr||!(!this.liveUtcStartSeconds||!this.Yk)}; g.h.Tk=function(){return!!this.ka&&(this.ka.Tk||!this.ye&&!this.ua&&this.ka.w)}; g.h.getAvailableAudioTracks=function(){return this.va?0YB?.1:0,Lka=new dC;dC.prototype.o=null;dC.prototype.getDuration=function(){return this.duration||0}; dC.prototype.getCurrentTime=function(){return this.currentTime||0}; dC.prototype.u=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.r(g.eC,g.A);g.h=g.eC.prototype;g.h.fp=function(){}; g.h.Di=ba(6);g.h.oo=function(){return this.w}; g.h.qj=function(a){var b="";a&&(gC(this,a),b=a.o);this.Tc()&&""==b||(b&&this.Tc()!=b&&this.lp(b),XS||a&&a.u||this.load(),this.F||(this.addEventListener("volumechange",this.qw),this.F=!0))}; g.h.no=function(){var a=this.gb();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new Ov(a);a=new ew(a);this.qj(a.al);return a}; g.h.playVideo=function(){this.qf()&&this.seekTo(0);!this.Tc()&&this.w&&(g.M(Error("playVideo without src")),this.lp(this.w.o),this.w.u||this.load());var a=this.play();!a&&ZS&&dQ&&7<=YB&&g.Ip(this,"playing",(0,g.x)(function(){g.Ko((0,g.x)(this.Uw,this,this.getCurrentTime(),0),500)},this)); return a}; g.h.Uw=function(a,b){this.gh()||this.getCurrentTime()>a||10YB&&(a=Math.max(.1,a)),this.jp(a))}; g.h.stopVideo=function(){this.Tc()&&(YS&&ol&&0b-this.F+2||dD(this,a,b))){var d=this.u.Sc();c=d.volume;var e=c!=this.O;d=d.muted;d!=this.P?(this.P=d,c=!0):(!e||0<=this.C||(this.O=c,this.C=b),c=b-this.C,0<=this.C&&2e;!(1e&&0!=e&&d.o==e||g.qs("yt-player-quality",Mw(d),2592E3)}}JK(c)}}; g.h.getCurrentBroadcastId=function(){var a=JL(this.app.A);return a?a.bx():null}; g.h.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)}; g.h.setCardsVisible=function(a,b,c){var d=g.FL(this.app.A);d&&d.ll()&&d.setCardsVisible(a,b,c)}; g.h.handleGlobalKeyDown=function(a,b,c,d,e,f,k){b=void 0===b?!1:b;c=void 0===c?!1:c;d=void 0===d?!1:d;e=void 0===e?!1:e;var l=g.XC(this);l&&l.handleGlobalKeyDown(a,b,c,d,e,f,k)}; g.h.handleGlobalKeyUp=function(a,b,c,d,e,f,k){b=void 0===b?!1:b;c=void 0===c?!1:c;d=void 0===d?!1:d;e=void 0===e?!1:e;var l=g.XC(this);l&&l.handleGlobalKeyUp(a,b,c,d,e,f,k)}; g.h.AE=function(){return this.getAudioTrack()}; g.h.getAudioTrack=function(){var a=g.U(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().nk}; g.h.setAudioTrack=function(a){3==this.getPresentingPlayerType()&&g.AL(this.app.A).nl("control_set_audio_track",a);var b=g.U(this.app,this.playerType);if(b&&!b.la()&&!g.W(b.u,128))if(b.T.va.o)b.w.setAudioTrack(a);else{a:{var c=b.T;if(c.Tb&&!Cv(c.Tb)||a==c.Ul||!c.sg||0>=c.sg.length)c=!1;else{for(var d=g.q(c.sg),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof Cz)){c=!1;break a}var f=a.rb.getId();e.u&&(e.u.u=f,e.o=null)}c.Ul=a;c=!0}}c&&(b.R("internalaudioformatchange",b.T,!0),qK(b)&&b.Sa("hlsaudio", a.id))}}; g.h.BE=function(){return this.getAvailableAudioTracks()}; g.h.getAvailableAudioTracks=function(){return g.U(this.app,this.playerType).getAvailableAudioTracks()}; g.h.getMaxPlaybackQuality=function(){var a=g.U(this.app,this.playerType);return a&&a.getVideoData().Aa?Mw(a.H?oI(a.S,a.H,vC(a)):Kw):"unknown"}; g.h.getUserPlaybackQualityPreference=function(){var a=g.U(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"}; g.h.setSizeStyle=function(a,b){this.app.setSizeStyle(a,b)}; g.h.showControls=function(){var a=g.XC(this);a&&a.showControls(!0)}; g.h.hideControls=function(){var a=g.XC(this);a&&a.showControls(!1)}; g.h.getVisibilityState=function(){var a=this.app.N();a=this.app.G.o&&!g.Q(a.experiments,"kevlar_miniplayer_disable_vis");return this.app.getVisibilityState(this.fi(),this.isFullscreen()||Ax(this.app.N()),a,this.isInline(),this.app.G.B,this.app.G.A)}; g.h.isFullscreen=function(){return this.app.isFullscreen()}; g.h.isInline=function(){return this.app.isInline()}; g.h.fi=function(){var a=g.U(this.app,this.playerType);return!!a&&a.J.u}; g.h.getVideoContentRect=function(a){a=this.app.H.getVideoContentRect(a);return{left:a.left,top:a.top,width:a.width,height:a.height}}; g.h.setSafetyMode=function(a){this.app.N().enableSafetyMode=a}; g.h.setUserEngagement=function(a){this.app.N().hd!=a&&(this.app.N().hd=a,(a=g.U(this.app,this.playerType))&&JK(a))}; g.h.setFauxFullscreen=function(a){tr();pT(this.app,a?2:0)}; g.h.toggleFullscreen=function(){var a=this.app.N();a.externalFullscreen?this.isFullscreen()?vr(window.document.documentElement):sr(window.document.documentElement):tr()?this.isFullscreen()?vr(ur()):"3"==a.controlsType?(a=this.app.B.gb())&&sr(a):sr(this.app.H.element):this.ma("onFullscreenToggled",this.isFullscreen())}; g.h.cancelPlayback=function(){var a=rM(this.app.A);a&&a.created&&a.destroy();(a=g.U(this.app))&&a.stopVideo();(a=this.app.A.u.get("endscreen"))&&a.YF()&&g.vL(this.app.u,!0)}; g.h.stopVideo=function(){var a=this.app.N();!g.Q(a.experiments,"disable_new_pause_state3")&&Rx(a)&&"blazer"!=a.playerStyle?this.cancelPlayback():OC.prototype.stopVideo.call(this)}; g.h.getVideoStats=function(){return g.U(this.app,this.playerType).Ya(!0)}; g.h.toggleSubtitles=function(){var a=g.kM(this.app.A);a&&a.VO()}; g.h.updateSubtitlesUserSettings=function(a){g.kM(this.app.A).HC(a,!0)}; g.h.getSubtitlesUserSettings=function(){var a=g.kM(this.app.A);return a?a.cF():null}; g.h.resetSubtitlesUserSettings=function(){g.kM(this.app.A).sO()}; g.h.isAtLiveHead=function(a){return this.app.isAtLiveHead(void 0,void 0===a?!0:a)}; g.h.setMinimized=function(a){this.app.setMinimized(a)}; g.h.setInline=function(a){this.app.setInline(a)}; g.h.getDebugText=function(a){return this.app.getDebugText(a)}; g.h.setSphericalProperties=function(a){if(a){var b=g.EL(this.app.A);b&&b.setSphericalProperties(a,!0)}}; g.h.getSphericalProperties=function(){var a=g.EL(this.app.A);return a?a.getSphericalProperties():{}}; g.h.setBlackout=function(a){this.app.setBlackout(a)}; g.h.onAdUxClicked=function(a){this.R("aduxclicked",a)}; g.h.setVolume=function(a,b){SC(this,a,b)}; g.h.mute=function(a){TC(this,a)}; g.h.unMute=function(a){UC(this,a)}; g.h.isMutedByMutedAutoplay=function(){return this.app.Na}; g.h.mutedAutoplay=function(){this.fa("embeds_enable_muted_autoplay")&&this.app.mutedAutoplay()}; g.h.loadModule=function(a){if("annotations_module"==a){var b=g.FL(this.app.A);b&&!b.loaded&&b.load()}OC.prototype.loadModule.call(this,a)}; g.h.unloadModule=function(a){if("annotations_module"==a){var b=g.FL(this.app.A);b&&b.loaded&&b.unload()}OC.prototype.unloadModule.call(this,a)}; g.h.setOption=function(a,b,c){if(!b)return null;var d=this.app.A;switch(a){case "ad":return(a=rM(d))&&a.Lc&&a.Lc(b,c);case "kids":return(a=sM(d))&&a.Lc(b,c);case "remote":return(a=g.AL(d))&&a.Lc(b,c);case "unplugged":return(a=tM(d))&&a.Lc(b,c);case "annotations_module":return(a=g.FL(d))&&a.Lc(b,c);case "creatorendscreen":return(a=uM(d))&&a.Lc(b,c)}return OC.prototype.setOption.call(this,a,b,c)}; g.h.getOptions=function(a){var b=this.app.A;switch(a){case "ad":return(b=rM(b))&&b.getOptions&&b.getOptions();case "remote":return(b=g.AL(b))&&b.getOptions();case "annotations_module":return(b=g.FL(b))&&b.getOptions();case "creatorendscreen":return(b=uM(b))&&b.getOptions();case "unplugged":return(b=tM(b))&&b.getOptions();case "kids":return(b=sM(b))&&b.getOptions()}if(!a){a=OC.prototype.getOptions.call(this);if(!a)return a;rM(b)&&a.push("ad");g.AL(b)&&a.push("remote");g.FL(b)&&a.push("annotations_module"); uM(b)&&a.push("creatorendscreen");tM(b)&&a.push("unplugged");sM(b)&&a.push("kids");return a}return OC.prototype.getOptions.call(this,a)}; g.h.getPlayerSize=function(){var a=this.app.H.getPlayerSize();return{width:a.width,height:a.height}}; g.h.setGlobalCrop=function(a){this.app.H.setGlobalCrop(a)}; g.h.wakeUpControls=function(){var a=g.XC(this);a&&a.Rs()}; g.h.getVideoAspectRatio=function(){return this.app.H.getVideoAspectRatio()}; g.h.setUseFastSizingOnWatch=function(a){this.app.H.setUseFastSizingOnWatch(a)}; g.h.setInternalSize=function(a,b){this.app.H.setInternalSize(new g.Ud(a,b))};SD.prototype.reset=function(){RA("")}; SD.prototype.tick=function(a,b){ZA(a,b,"")}; SD.prototype.info=function(a,b){bB(a,b,"")};g.r(g.UD,g.A);g.UD.prototype.getId=function(){return this.C}; g.UD.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.C+"}["+VD(this.start)+", "+VD(this.end)+"]"}; g.UD.prototype.contains=function(a,b){return a>=this.start&&(athis.status&&!!this.u}; g.h.eg=function(){if(this.U)return!!this.o.o;var a=this.F.u;if(a&&this.S+a>Date.now())return!1;a=this.zk()||0;a=Math.max(16384,.125*a);this.V||(a=Math.max(a,16384));CE(this)&&(a=1);return this.o.o>=a}; g.h.so=function(){this.eg();this.S=Date.now();this.V=!0;var a=this.o;this.o=new Cs;return a}; g.h.Is=function(){this.eg();return this.o}; g.h.abort=function(){this.w&&this.w.cancel("Cancelling");this.A&&this.A.abort();this.B=!0}; g.h.pu=function(){return!0}; g.h.Vt=function(){return this.H}; g.h.sj=function(){return this.P};g.h=DE.prototype;g.h.rH=function(){if(!this.u){this.status=this.o.status;try{this.response=this.o.response,this.w=this.response.byteLength}catch(a){}this.A=!0;this.B()}}; g.h.tH=function(){2==this.o.readyState&&this.C()}; g.h.sH=function(a){this.u||(this.status=this.o.status,this.F(a.timeStamp,a.loaded))}; g.h.aj=function(){return 2<=this.o.readyState}; g.h.Wc=function(a){try{return this.o.getResponseHeader(a)}catch(b){return g.M(b),""}}; g.h.zk=function(){return+this.Wc("content-length")}; g.h.ro=function(){return this.w}; g.h.Jn=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength}; g.h.eg=function(){return this.A&&!!this.response&&!!this.response.byteLength}; g.h.so=function(){this.eg();var a=this.response;this.response=null;return new Cs([new Uint8Array(a)])}; g.h.Is=function(){this.eg();return new Cs([new Uint8Array(this.response)])}; g.h.abort=function(){this.u=!0;this.o.abort()}; g.h.pu=function(){return!1}; g.h.Vt=function(){return!1}; g.h.sj=function(){return""};g.h=EE.prototype;g.h.start=function(a){ME(this,2);this.O=++EE.o;this.u?(this.P=$fa(this.info,this.u.w,this.u.length),this.w=g.py(this.info,this.A,this.Z,this.P)):(this.P=this.info.range,this.w=g.py(this.info,this.A,this.Z));var b=!1;if(this.A.Wa&&2>this.info.u.u&&this.H){var c=this.w.get("aitags");if(c&&(oy(this.info)||this.info.gf())&&this.ca&&"auto"==Qw()&&Vw()){var d=ed(c).split(","),e=[];(0,g.y)(this.ca,function(f){g.cb(d,f)&&e.push(f)}); 0d.o&&4E12>a?a:(0,g.H)();sE(d,a,b);50>a-d.C&&tE(d)&&3!=mE(d)||qE(d,a,b,c);b=this.timing;b.w>b.Na&&nE(b,b.w)&&4>this.state?ME(this,4):RE(this)&&SE(this)&&ME(this,Math.max(3,this.state))}}; g.h.MN=function(){if(!this.la()&&this.o){if(!this.S&&this.o.aj()&&this.o.Wc("X-Walltime-Ms")){var a=parseInt(this.o.Wc("X-Walltime-Ms"),10);this.S=((0,g.H)()-a)/1E3}this.o.aj()&&this.o.Wc("X-Restrict-Formats-Hint")&&this.A.zv&&!Vw()&&g.qs("yt-player-headers-readable",!0,2592E3);if(a=parseInt(this.o.Wc("X-Head-Seqnum"),10))this.V=a}}; g.h.vH=function(){var a=this.o;!this.la()&&a&&(this.U.stop(),this.C=a.status,a=pia(this,a),7==a?NE(this):ME(this,a))}; g.h.oO=function(){if(!this.la()){var a=(0,g.H)(),b=!1;tE(this.timing)?(a=this.timing.U,wE(this.timing),this.timing.U-a>=.8*this.A.P?(this.F++,b=5<=this.F):this.F=0):(b=this.timing,b.F&&vE(b,(0,g.H)()),a-=b.S,this.A.Ef&&01E3*this.A.fd);this.F&&this.G&&this.G(this);b?QE(this,!1):this.U.start()}}; g.h.la=function(){return-1==this.state}; g.h.dispose=function(){this.info.gf()&&6!=this.state&&(this.info.o[0].o.B=!1);ME(this,-1);this.G=null;this.U.dispose();this.A.Hc||PE(this)}; EE.DEBUG=!1;EE.o=0;var LE=-1;bF.prototype.skip=function(a){this.o+=a};g.r(eF,g.P);g.h=eF.prototype;g.h.Mt=function(){return this.u.length?this.u[0]:null}; g.h.rl=function(){return this.u.length?this.u[this.u.length-1]:null}; g.h.Nx=function(){return!!this.u.length}; g.h.Ut=function(a,b){this.V&&!Ru(this.V,b.info)&&(this.J=NaN);this.V=b.info;this.w=b.info.o;0==b.info.w?lF(this):!this.w.yc()&&this.A&&Xu(b.info,this.A);this.o?cv(this.o,b):this.o=b;a:{var c=g.dv(this.o.info.o.info);if(3!=this.o.info.type){if(!this.o.info.A)break a;6==this.o.info.type?kF(this,a,this.o):this.uo(this.o);this.o=null}for(;this.o;){var d=this.o.o.o;if(0>=this.F&&0==this.C){var e=this.o.o,f=-1,k=-1;if(c){for(var l=0;l+8k&&(f=-1)}else{for(e=new bF(e);;){l=e.o;m=e;try{var p=dF(m,!0),t=dF(m,!1);var u=p;var z=t}catch(B){z=u=-1}m=u;n=z;if(0>m)break;if(408125543!=m)if(524531317==m)k=0>n?-1:e.o+n;else{if(160==m||163==m||175==m){f=l;break}e.skip(n)}}0>f&&(k=-1)}if(0>f)break;this.F=f;this.C=k-f}if(this.F>d)break;this.F?(d=fF(this,this.F),d.w&&!this.w.yc()&&gF(this,d),kF(this,a,d),mF(this,d),this.F=0):this.C&&(d=fF(this,0>this.C?Infinity:this.C),this.C-=d.o.o,mF(this,d))}}this.o&&this.o.info.A&&(mF(this,this.o), this.o=null)}; g.h.uo=function(a){this.w.yc()||0!=a.info.w||!g.dv(a.info.o.info)&&2!=a.info.o.info.containerType||hv(a);if(1==a.info.type)try{gF(this,a),jF(this,a)}catch(c){g.M(c);var b=Tu(a.info);b.hms="1";this.R("error",b||{})}a.info.o.Kk(a);this.B&&XE(this.B,a)}; g.h.vx=function(){return this.u.length}; g.h.bz=function(){this.u=[];lF(this)}; g.h.wo=function(){this.u.shift()}; g.h.cz=function(){var a=this.u.reduce(function(b,c){return b+c.o.o},0); this.o&&(a+=this.o.o.o);return a}; g.h.Dn=function(){return(0,g.Fc)(this.u,function(a){return a.info})}; g.h.az=function(a){for(var b=this.u.length-1;0<=b;b--)this.u[b].info.startTime>a&&this.u.pop()}; g.h.vo=function(){this.G&&!this.H.Na&&this.R("placeholderrollback",this.G);this.A=this.G=null;this.V=this.ca;0<=this.P||(this.P=this.J-this.O);lF(this)}; g.h.ez=function(a){this.U=a}; g.h.Js=function(){return this.J||0}; g.h.dz=function(){return this.B?UE(this.B):Infinity}; g.h.Ks=function(a){this.P=a}; g.h.getDuration=function(){return this.w.index.Qh()}; g.h.Cr=function(){return!!this.w.F}; g.h.gy=function(){return!!this.B&&VE(this.B)}; g.h.YB=function(a){this.u.forEach(function(b){var c=ev(b)+a;fv(b,c)}); this.Z=a};nF.prototype.ku=function(a){this.H=a;qF(this)}; nF.prototype.Zm=function(){this.C=NaN;this.S=0;this.G=null;this.U=0}; nF.prototype.reset=function(){this.Z=pF(this);this.Zm();this.B=[];this.F=[];this.u=this.H=NaN;this.A=this.J=0;this.O=!1};g.r(uF,nF);uF.prototype.reset=function(){nF.prototype.reset.call(this);this.w=8;this.o=new tF(0,0,null)}; uF.prototype.process=function(a){var b=!1;if(this.B.length){if(wF(this)&&this.B.length+a.byteLengtha&&this.A.pop()}; g.h.vo=function(a){this.U=!1;this.P&&!this.w.Na&&this.R("placeholderrollback",this.P);this.P=null;this.o&&(a=isNaN(this.C)?a.info.o[0].range?a.info.o[0].F:isNaN(this.o.C)?pF(this.o):oF(this.o).startTime:this.C,this.o.reset(),this.O=this.Z,this.C=a);this.S=null}; g.h.ez=function(a){this.J=a}; g.h.Js=function(){return this.o?pF(this.o):this.G||0}; g.h.dz=function(){return this.H?UE(this.H):Infinity}; g.h.Ks=function(a){this.C=a}; g.h.getDuration=function(){return this.B.index.Qh()}; g.h.Cr=function(){return!!this.B.F}; g.h.gy=function(){return!!this.H&&VE(this.H)}; g.h.YB=function(){};MF.prototype.getDuration=function(){return this.o.index.Qh()};nG.prototype.setPlaybackRate=function(a){this.w=Math.max(1,a)}; nG.prototype.getPlaybackRate=function(){return this.w};sG.prototype.then=function(a,b){return this.w.then(a,b)}; sG.prototype.resolve=function(a){this.u(a)}; sG.prototype.reject=function(a){this.o(a)};g.r(tG,g.P);tG.prototype.seek=function(a){a!=this.A&&(this.F=0);this.A=a;var b=this.o.u,c=this.u.u,d=this.u.F,e=vG(this.o,a,this.o.F);d=vG(this.u,this.B.ra?a:e,d);a=Math.max(a,e,d);this.w=!0;this.C.u&&this.B.ga&&(uG(this.o,b),uG(this.u,c));return a}; var wia=2/24;zG.prototype.wa=function(){this.cd("gv")}; zG.prototype.cd=function(a,b){this.B[a]=b?window.performance.timing.navigationStart+b:(0,g.N)()};IG.prototype.send=function(){g.xq(this.u,{format:"RAW",responseType:"arraybuffer",timeout:1E4,ud:this.w,Md:this.w,context:this});this.o=(0,g.N)()}; IG.prototype.w=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:(((0,g.N)()-this.o)/1E3).toFixed(3),shost:g.qd(this.u),trigger:this.C};204==a.status||a.response?this.A&&this.A(Sv(b)):this.B(new Rv("pathprobe.net",!1,b))};g.r(JG,g.P);g.r(TG,g.A);TG.prototype.reset=function(){this.started=!1;this.B.stop();this.o.o=[];this.w=[];this.u()}; TG.prototype.u=function(){this.C=!0;if(!this.F){for(var a=3;this.C&&a;)this.C=!1,this.F=!0,Ria(this),this.F=!1,a--;g.xD(this.G())&&(a=RG(this.o,this.A),!isNaN(a)&&0x7ffffffffffff>a&&(a=(a-this.A)/this.P(),this.B.start(a)))}}; TG.prototype.Y=function(){this.w=[];this.o.o=[];g.A.prototype.Y.call(this)};g.r(aH,g.P);g.h=aH.prototype; g.h.initialize=function(a,b,c){a=a||0;this.R("videoformatchange",Gia(this.F));if(this.B.u){if(this.o.RC){b=uy(this.o);for(var d in this.B.o)this.B.o[d].index.A=b}Tia(this)}this.G&&KG(this.G,this.u.o);this.o.H&&Os()&&this.uc("streaming","ac."+!!window.AbortController,!0);d=isNaN(this.C)?0:this.C;this.C=this.B.u?d:a;c?(this.o.ne?(this.xb=c,cH(this,c)):cH(this,!1),g.Bn(this.xa)):(a=0==this.C,zH(this,this.u,this.u.o,a),zH(this,this.A,this.A.o,a),Nf(this.seek(this.C),function(){}),this.ga.wa()); (this.B.Ed||this.B.ng)&&this.uc("minMaxSq","minSq."+this.B.Ed+";maxSq"+this.B.ng)}; g.h.resume=function(){if(this.ea||this.da)this.Ba=this.da=this.ea=!1,this.sf()}; g.h.setAudioTrack=function(a){if(!this.la()){var b=this.F;b.A=b.C.o[a.id];b.J=b.A;this.R("audioformatchange",new jE(b.J,b.B,"m"));this.R("reattachrequired")}}; g.h.setPlaybackRate=function(a){a!=this.O.getPlaybackRate()&&this.O.setPlaybackRate(a)}; g.h.GM=function(a){var b=this.o.Ef;if(!(!(b&&2<=a.state)||5<=a.state||a.F(0,g.N)()||qH(this,a,!1)}}}}; g.h.sf=function(){hH(this);if(this.w&&fw(this.w)&&!this.w.de()){var a=PF(this.u);a=this.o.lA&&a&&a.C;this.B.isLive&&!a?isNaN(this.U)?(this.U=this.C+3600,gw(this.w,this.U)):this.U<=this.C+1800&&(this.U=Math.max(this.U+1800,this.C+3600),gw(this.w,this.U)):this.w.isView()||(a=Math.max(this.A.getDuration(),this.u.getDuration()),(!isFinite(this.U)||this.U!=a)&&0=c||cthis.w&&(this.w=c,g.Ob(this.o)||(this.o={},this.A.stop(),this.u.stop())),this.o[b]=a,g.Bn(this.u))}}; CH.prototype.B=function(){for(var a in this.o)this.R("rotated_need_key_info_ready",new $E(eja(this.o[a],this.w,a),"fairplay",!0));this.o={}};var D2={},Yqa=(D2.DRM_TRACK_TYPE_AUDIO="AUDIO",D2.DRM_TRACK_TYPE_SD="SD",D2.DRM_TRACK_TYPE_HD="HD",D2.DRM_TRACK_TYPE_UHD1="UHD1",D2);g.r(GH,g.A);GH.prototype.B=function(a){this.la()||(0!=a.status&&a.response?(ZA("drm_net_r"),a=new Uint8Array(a.response),(a=FH(a))?this.w(a):this.o(this,"drm.net","t.p")):this.A(a))}; GH.prototype.A=function(a){this.la()||this.o(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)}; GH.prototype.F=function(a){if(!this.la()){ZA("drm_net_r");a:{var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;try{c=g.fg(a.license)}catch(n){}if(0!=b||c){c=new EH(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()){k=k.value;var l=Yqa[k.trackType];if(l){"HD"==l&&a.isHd720&&(l="HD720");b[l]||(d.push(l),b[l]=!0);var m=null;try{m=g.fg(k.keyId)}catch(n){}if(!m){a=null;break a}e[g.dg(m,4)]=l}}c.o=d;c.u= e}a=c}else a=null}a?this.w(a):this.o(this,"drm.net","t.p;p.i")}}; GH.prototype.C=function(a){this.la()||(a=a.error,this.o(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.r(HH,g.A);g.h=HH.prototype;g.h.CH=function(a){if(this.C){var b=a.messageType||"license-request";this.C.call(this.w,new Uint8Array(a.message),b)}}; g.h.DH=function(){this.H&&this.H.call(this.w,this.o.keyStatuses)}; g.h.qA=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.HK=function(){this.la()||el("xboxone")&&this.A&&this.A.call(this.w,"closed")}; g.h.OA=function(a){this.C&&this.C.call(this.w,a.message,"license-request")}; g.h.NA=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.MA=function(){this.G&&this.G.call(this.w)}; g.h.update=function(a){if(this.o)return this.o.update(a).then(null,Io((0,g.x)(this.qA,this,"t.update")));this.u?this.u.update(a):this.F.addKey?this.F.addKey(this.P.o,a,this.J,this.sessionId):this.F.webkitAddKey(this.P.o,a,this.J,this.sessionId);return cr()}; g.h.Y=function(){this.o&&this.o.close();this.F=null;g.A.prototype.Y.call(this)};g.r(JH,g.A);g.h=JH.prototype; g.h.createSession=function(a){var b=a.initData;if(this.o.keySystemAccess){var c=this.C.createSession();"com.youtube.fairplay"==this.o.o&&(b=LH(b,this.o.Le));b=c.generateRequest(a.contentType,b);c=new HH(null,null,null,c,null);b.then(null,Io((0,g.x)(c.qA,c,"t.generateRequest")));return c}if(jz(this.o)){c=new Uint8Array(270);for(a=0;135>a;a++)c[2*a]=''.charCodeAt(a);b= this.w.createSession("video/mp4",b,c);return new HH(null,null,null,null,b)}if(mz(this.o))return b=LH(b,this.o.Le),b=this.w.createSession("video/mp4",b),new HH(null,null,null,null,b);this.u.generateKeyRequest?this.u.generateKeyRequest(this.o.o,b):this.u.webkitGenerateKeyRequest(this.o.o,b);return this.A=new HH(this.u,this.o,b,null,null)}; g.h.GH=function(a){var b=MH(this,a);b&&b.OA(a)}; g.h.FH=function(a){var b=MH(this,a);b&&b.NA(a)}; g.h.EH=function(a){var b=MH(this,a);b&&b.MA(a)}; g.h.Y=function(){g.A.prototype.Y.call(this);delete this.u};var E2={},mja=(E2.widevine="DRM_SYSTEM_WIDEVINE",E2.fairplay="DRM_SYSTEM_FAIRPLAY",E2.playready="DRM_SYSTEM_PLAYREADY",E2);g.r(PH,g.A);g.h=PH.prototype; g.h.zH=function(a,b){if(!this.la()){OH(this,"onkmtyp"+b);if(!g.Q(this.w.experiments,"html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":lja(this,a);return;default:this.kc.R("ctmp","message_type","t."+b+";l."+a.byteLength)}this.J||(ZA("drm_gk_f"),this.J=!0,this.kc.R("newsession",this));if(kz(this.u)){var c=QH(a);if(!c)return;a=c}"fairplay"==this.u.flavor&&(a=gu(g.dg(a)));c=new GH(a,++this.S,(0,g.x)(this.mL, this),(0,g.x)(this.lL,this));g.C(this,c);SH(this,c)}}; g.h.xH=function(){this.la()||(OH(this,"onkyadd"),this.F||(this.kc.R("sessionready"),this.F=!0))}; g.h.BH=function(a){var b=this;this.la()||0>=a.size||(a.forEach(function(c,d){var e=kz(b.u)?d:c,f=new Uint8Array(kz(b.u)?c:d);kz(b.u)&&VH(f);var k=g.dg(f,4);VH(f);f=g.dg(f,4);b.o[k]?b.o[k].status=e:b.o[f]?b.o[f].status=e:b.o[k]={type:"",status:e}}),OH(this,"onksch"),this.kc.R("keystatuseschange",this))}; g.h.yH=function(a){this.la()||NH(this,"drm.keyerror",!0,a)}; g.h.mL=function(a){var b=this;this.la()||(OH(this,"onlcsrsp"),0!=a.statusCode?NH(this,"drm.auth",!0,"t.f;c."+a.statusCode,a.errorMessage||void 0):(ZA("drm_kr_s"),a.heartbeatParams&&this.kc.R("newlicense",a.heartbeatParams),a.o&&(this.C=a.o,this.P=lj(this.C,function(c){return c.includes("HDR")})),a.u&&(this.o=Db(a.u,function(c){return{type:c, status:"unknown"}})),mz(this.u)&&(a.message=g.fg(hu(a.message))),this.A&&(OH(this,"updtks"),this.A.update(a.message).then(function(){ZA("drm_kr_f"); if(!RH(b))if(OH(b,"ksApiUnsup"),lz(b.u)){var c=TH(b.C);480=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}c=!1}c=!c}c?c=0:(c=a.w,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.o.push({time:b+c,info:a});g.Bn(this.u,c)};g.r(dI,g.P);g.h=dI.prototype;g.h.HH=function(a){cI(this,"onecpt");gI(this,new Uint8Array(a.initData),a.initDataType)}; g.h.QL=function(a){cI(this,"onndky");gI(this,a.initData,a.contentType)}; g.h.yL=function(){var a=this;if(!this.la())if(!g.Q(this.u.experiments,"html5_drm_set_server_cert")||g.Jx(this.u)&&!g.hl())kI(this);else{var b=hja(this.P);b?b.then(Io(function(c){WB(a.T)&&a.R("ctmp","ssc",c)}),Io(function(c){a.R("ctmp","ssce","n."+c.name+";m."+c.message)})).then(Io(function(){return kI(a)})):kI(this)}}; g.h.nK=function(a){if(!this.la()){g.M(a);var b="t.a";a instanceof DOMException&&(b+=";n."+a.name+";m."+a.message);this.R("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}}; g.h.Qv=function(a){this.A.push(a);fI(this)}; g.h.SL=function(a){this.la()||(cI(this,"onnelcswhb"),a&&!this.ga&&(this.ga=a,this.R("heartbeatparams",a)))}; g.h.UL=function(){this.la()||(cI(this,"newlcssn"),this.A.shift(),this.O=!1,fI(this))}; g.h.WM=function(){if(jz(this.o)&&(cI(this,"onsnrdy"),this.ra--,0==this.ra)){var a=this.C;a.u.msSetMediaKeys(a.w)}}; g.h.IH=function(a){this.la()||(cI(this,"onksch"),jI(this,UH(a,this.ca)))}; g.h.eL=function(){this.la()||this.Z||!lz(this.o)||(cI(this,"onhdet"),this.S=HK,this.R("hdproberequired"),this.R("qualitychange"))}; g.h.Y=function(){this.o.keySystemAccess&&this.J.setMediaKeys(null);this.J=null;this.A=[];for(var a=g.q(this.w.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.w;a.keys=[];a.values=[];this.da&&(this.da.dispose(),this.da=null);g.P.prototype.Y.call(this)}; g.h.Ya=function(){for(var a={systemInfo:this.o.Ya(),sessions:[]},b=g.q(this.w.values),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.Ya());return a}; g.h.Zd=function(){return 0>=this.w.values.length?"no session":this.w.values[0].Zd()+(this.G?"/KR":"")};g.r(mI,g.P);mI.prototype.setPlaybackRate=function(a){this.G=a};g.r(wI,g.A);wI.prototype.onError=function(a){this.o.fa("html5_log_non_fatal")&&"player.fatalexception"!==a&&(a.match(Zqa)?this.S++:this.U++)}; wI.prototype.C=function(){if(!(this.H||0>this.w)){yI(this);var a=g.kD(this.o)-this.w,b="PLAYER_PLAYBACK_STATE_UNKNOWN",c=this.u.u;this.u.isError()?b=c&&"auth"==c.errorCode?"PLAYER_PLAYBACK_STATE_UNKNOWN":"PLAYER_PLAYBACK_STATE_ERROR":g.W(this.u,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.W(this.u,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.W(this.u,16)||g.W(this.u,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.W(this.u,1)&&g.W(this.u,4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.W(this.u,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING": g.W(this.u,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.W(this.u,8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");var d=GB(this.o.videoData);c="LIVE_STREAM_MODE_UNKNOWN";"live"==d?c="LIVE_STREAM_MODE_LIVE":"dvr"==d&&(c="LIVE_STREAM_MODE_DVR");d=zI(this.o);var e=0>this.A?a:this.A-this.w;a=this.o.eb.ra+36E5<(0,g.N)();b={started:0<=this.A,stateAtSend:b,joinLatencySecs:e,playTimeSecs:this.F,rebufferTimeSecs:this.G,seekCount:this.P,playerCanaryType:d,isAd:this.o.videoData.isAd(),liveMode:c,hasDrm:!!g.DB(this.o.videoData), isGapless:this.o.videoData.rf};this.o.fa("html5_log_non_fatal")&&(b.networkErrorCount=this.S,b.nonNetworkErrorCount=this.U);!a&&this.o.fa("html5_health_to_gel")&&Kq("html5PlayerHealthEvent",b);this.o.fa("html5_health_to_qoe")&&(b.muted=a,this.V(Sv(b)));this.H=!0;this.dispose()}}; wI.prototype.Y=function(){this.H||this.C();g.A.prototype.Y.call(this)}; var Zqa=/\bnet\b/;g.r(BI,g.A);g.h=BI.prototype;g.h.yF=function(){var a=g.kD(this.o);DI(this,a)}; g.h.Fj=function(a){if(!this.la()&&(a=0<=a?a:g.kD(this.o),-1<["PL","B","S"].indexOf(this.w)&&(!g.Ob(this.u)||a>=this.C+30)&&(g.AI(this,a,"vps",[this.w]),this.C=a),!g.Ob(this.u)))if(7E3==this.U&&Nq(Error("Sent over 7000 pings")),7E3<=this.U)this.u={};else{FI(this,a);var b=a,c=this.o.B(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.sa,k=e&&!this.za;if(d>c.totalVideoFrames||5E3this.o,e=Wha(this.B);ZI(this,this.ca,e,d,"qoe.slowseek",function(){},"timeout"); e=e&&isFinite(this.o)&&0this.J&&f,!f,"qoe.longrebuffer",e,"decoder_freeze"),d&&(this.H=d);this.J=c;d=zD(this.B);f=g.AD(this.B);c=d&&f&&Xv(b.md(),c+5);ZI(this,this.U,c,d&&!f,"qoe.longrebuffer",e,"new_elem_nnr");ZI(this,this.O,d&&f,d&&!f,"qoe.longrebuffer",function(){},"timeout"); this.G.start()}}; VI.prototype.reset=function(){this.o=this.u=this.w=0;this.C=!1}; VI.prototype.Ya=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(dJ,g.P);g.h=dJ.prototype;g.h.getCurrentTime=function(){return!isNaN(this.u)&&isFinite(this.u)?this.u:this.o&&pJ(this)?this.o.getCurrentTime()+this.A:this.F||0}; g.h.isAtLiveHead=function(a){if(!this.w)return!1;void 0==a&&(a=this.getCurrentTime());return SI(this.w,a)}; g.h.seekTo=function(a,b){var c=void 0===b?{}:b,d=void 0===c.xC?!1:c.xC,e=void 0===c.yC?0:c.yC,f=void 0===c.Mk?!1:c.Mk;c=void 0===c.zu?0:c.zu;var k=a,l=!isFinite(k)||(this.w?SI(this.w,k):k>=this.sc())||!g.KB(this.T);l||this.R("ctmp","seeknotallowed",k+";"+this.sc());if(!l)return this.C&&(this.C=null,nJ(this)),Ff(this.getCurrentTime());if(a==this.u&&this.O)return this.G;this.O&&gJ(this);this.G||(this.G=new sG);a&&!isFinite(a)&&iJ(this,!1);k=a;(mJ(this)&&!(this.o&&0b.w&&3!=b.o.getVisibilityState()&&xI(b)}a.o&&(a=a.o,a.o.fa("html5_qoe_user_intent_match_health")&&a.ga&&0>a.B&&a.o.eb.Ba&&II(a));g.R(this.A.experiments,"html5_background_quality_cap")&&this.w&&KK(this);this.A.Bm&&!this.T.backgroundable&&this.o&&!this.J.u&&(this.J.isBackground()&&this.o.oo()?(this.Sa("bgmobile","suspend"),g.zK(this,!0)):this.J.isBackground()||qK(this)&&this.Sa("bgmobile", "resume"))}; g.h.RL=function(a,b){this.F?hI(this.F,a,b):this.xb.push({type:a,info:b})}; g.h.TL=function(a){this.F?iI(this.F,a):this.Eb.push(a)}; g.h.GA=function(){g.Dw&&this.ea&&this.ea.o&&this.F&&(rja(this.F,this.ea.o),this.ea=null)}; g.h.AN=function(a){this.T.JC=Iw("auto",a,!1,"u");KK(this)}; g.h.LG=function(a){wK(this,a.reason,a.video.info,a.audio.info)}; g.h.sL=function(a){vK(this,a.reason,a.audio.info)}; g.h.tL=function(a){this.R("localmediafetchcomplete",a)}; g.h.ci=function(a){var b=this;jka(this,a);if("fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!TK(this,a.errorCode,a.details)){var c=/^pp/.test(this.T.clientPlaybackNonce);if(ika(a)){var d=18350;this.A.fa("ipp_signature_cipher_killswitch")||(d=g.L("STS",void 0)?g.L("STS",void 0):d);a.details.sts=""+d;if(VK(this)){g.W(this.u,4)||g.W(this.u,512)?(this.jd=!0,cK(this)):(a.o&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.o=!1),this.B.onError(a.errorCode,Sv(a.details)),WK(this));return}6048E5< (0,g.N)()-this.A.ra&&YK(this,"signature")}if(ZK(a)&&this.T.va&&this.T.va.u)this.B.onError(a.errorCode,Sv(a.details)),this.Sa("highrepfallback","1",!0),!YJ(this,"html5_hr_logging_killswitch")&&/^hr/.test(this.T.clientPlaybackNonce)&&btoa&&this.Sa("afmts",btoa(this.T.adaptiveFormats),!0),Oha(this.T),aK(this),cK(this),SK(this),this.playVideo();else if(a.o){c=this.w?this.w.F.w:null;if(ZK(a)&&c&&c.isLocked())var e="FORMAT_UNAVAILABLE";else if(!this.A.Yb&&"auth"==a.errorCode&&429==a.details.rc){e="TOO_MANY_REQUESTS"; var f="6"}g.ZJ(this,a.errorCode,e,Sv(a.details),f)}else this.B.onError(a.errorCode,Sv(a.details)),c&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.T.clientPlaybackNonce+"&t="+(0,g.N)(),(new IG(a,"manifest",function(k){b.zh=!0;b.Sa("pathprobe",k)},function(k){return b.B.onError(k.errorCode,Sv(k.details))})).send())}}; g.h.pauseVideo=function(a){a=void 0===a?!1:a;if((g.W(this.u,64)||g.W(this.u,2))&&!a)if(g.W(this.u,8))iK(this,vD(this.u,4,8));else return;g.W(this.u,128)||(a?iK(this,tD(this.u,256)):iK(this,vD(this.u,4,8)));this.o&&this.o.pause();g.KB(this.T)&&this.w&&FK(this,!1)}; g.h.stopVideo=function(){this.pauseVideo();this.w&&(FK(this,!1),eH(this.w))}; g.h.seekTo=function(a,b){b=void 0===b?{}:b;g.W(this.u,2)&&qK(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.Ab())}; g.h.getDuration=function(){return this.T.lengthSeconds?this.T.lengthSeconds+this.Ab():OK(this)?OK(this):0}; g.h.ZE=function(){var a=new Nfa;if(this.w){var b=this.A.schedule;a.w=b.H;a.B=b.P;a.bandwidthEstimate=jx(b);a.o="d."+gx(b).toFixed(2)+";st."+(1E9*(b.w.o()||0)).toFixed(2)+";bw."+b.u.o().toFixed(0)+";abw."+b.J.o().toFixed(0)+";v50."+ax(b.A,.5).toFixed(2)+";v92."+ax(b.A,.92).toFixed(2)+";v96."+ax(b.A,.96).toFixed(2)+";v98."+ax(b.A,.98).toFixed(2);b=this.w;if(b.w&&!iw(b.w)&&(a.u=cG(b.u,b.C),a.A=cG(b.A,b.C),b.o.xa)){var c=bG(b.u),d=bG(b.A),e=Vv(b.w.u.Ad(),"_"),f=Vv(b.w.o.Ad(),"_");a.o=(a.o||"")+(";lvq."+ c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=qG(b.O)}else this.o&&(a.u=hC(this.o));a.C=this.nx();return a}; g.h.Ya=function(a){var b={};if(void 0===a?0:a){g.Ta(b,this.B.Ya());this.o&&(g.Ta(b,this.o.Ya()),g.Ta(b,this.tr()));this.w&&g.Ta(b,this.w.Ya());this.F&&(b.drm=this.F.Ya());b.state=this.u.o.toString(16);g.W(this.u,128)&&(b.debug_error=this.u.u);tK(this)&&(b.prerolls=this.U.join(","));this.T.ag&&(b.ismb=this.T.ag);"UNKNOWN"!=this.T.latencyClass&&(b.latency_class=this.T.latencyClass);this.T.isLowLatencyLiveStream&&(b.lowlatency="1");this.T.ua&&(this.T.ka&&dz(this.T.ka)&&(b.segduration=dz(this.T.ka)), a=this.C,b.lat=a.H?pC(a.H.A):0,b.liveutcstart=this.T.liveUtcStartSeconds);b.relative_loudness=this.T.Sl.toFixed(3);if(a=g.xC(this))b.optimal_format=a.wa().qualityLabel;b.user_qual=Qw()}b.debug_videoId=this.T.videoId;return b}; g.h.addCueRange=function(a){var b=this.P;a=[a];b.u();SG(b.o,a);b.A=NaN;b.u()}; g.h.removeCueRange=function(a){UG(this.P,[a])}; g.h.CN=function(){hK(this)}; g.h.togglePictureInPicture=function(){this.o&&this.o.togglePictureInPicture()}; g.h.MG=function(a){this.yd.stop();var b=a.target.Tc();if(this.o&&this.o.Tc()&&this.o.Tc()==b){mL(this,a.type);switch(a.type){case "error":var c=lC(this.o)||"";if("capability.changed"==c){pK(this);return}if(0this.o.getCurrentTime()&&this.w)return;break;case "resize":nL(this);this.T.Aa&&"auto"==this.T.Aa.wa().quality&&this.R("internalvideoformatchange",this.T,!1);break;case "pause":if(this.ne&&g.W(this.u,8)&&!g.W(this.u,1024)&&0==this.getCurrentTime()&&g.Zx){gL(this,"safari_autoplay_disabled");return}}if(this.o&&this.o.Tc()==b){this.R("videoelementevent",a);b=this.u;if(!g.W(b,128)){c=this.Ba;e=this.o;var f=this.A.experiments;d=b.o;e=e?e:a.target;var k=e.getCurrentTime();if(!g.W(b, 64)||"ended"!=a.type&&"pause"!=a.type){var l=e.qf()||1Math.abs(k-e.getDuration());k="ended"==a.type||"waiting"==a.type||"timeupdate"==a.type&&!g.W(b,4)&&!oD(c,k);if("pause"==a.type&&e.qf()||l&&k)0Math.random()&&(f+=";gpu."+(0,g.nK)());d={errorCode:d,errorMessage:g.yK[e]|| "",Uq:e,EB:f}}else d=null;b=sD(b,c,d)}!g.W(this.u,1)&&g.W(b,1)&&lL(this,"evt_"+a.type);iK(this,b)}}}; g.h.qN=function(){this.Sa("misstimeupdate","");bL(this)&&!g.W(this.u,2)&&WJ(this,!0,!1)}; g.h.dK=function(a){a="available"==a.u.availability;a!=this.pc&&(this.pc=a,this.R("airplayavailabilitychange"))}; g.h.eK=function(){var a=this,b=(0,g.N)();if(isNaN(this.Na)||!(2E3>b-this.Na)){var c=this.o.fi();this.Na=b;c!=this.J.u&&(Kja(this.J,c),pK(this).then(function(){return qK(a)})); this.R("airplayactivechange")}}; g.h.Fq=function(){var a=this.o;a&&this.Fa&&!this.T.re&&!QA("vfp","")&&2<=a.fe()&&!a.qf()&&0Math.abs(c-a)?this.o.mo()?this.seekTo(0):WJ(this):d&&1.1this.oe)a="drm.sessionlimitexhausted",b=!1;else if(YJ(this,"html5_drm_fallback_to_playready_on_retry")&&"drm.keyerror"==a&&2>this.Df&&(this.Df++,aK(this),1Math.random()&&Nq(Error("Botguard not available after 2 attempts")),!a&&5>this.za)){g.Bn(this.Xb);this.za++;return}if("c1b"in c.o){var d=Bja(this.B);d&&Qha(c).then(function(e){e&&!b.sa&&d&&(d(e),b.sa=!0)})}else if(a=Pha(c))Aja(this.B,a),this.sa=!0}}; g.h.zb=function(){return this.C.zb()}; g.h.Ab=function(){return this.C?this.C.Ab():0}; g.h.getStreamTimeOffset=function(){return this.C?this.C.getStreamTimeOffset():0}; g.h.setPlaybackRate=function(a){var b=this.T.va&&this.T.va.videoInfos&&32([^<>]+)<\/a>/;g.r(vN,g.O);vN.prototype.B=function(){this.A();var a=this.o.getVideoData();if(a.isValid()){var b=[];this.o.N().G||b.push({src:a.Ac("mqdefault.jpg"),sizes:"320x180"});this.u.metadata=new MediaMetadata({title:a.title,artist:a.author,artwork:b});b=a=null;g.BL(this.o)&&(this.w["delete"]("nexttrack"),this.w["delete"]("previoustrack"),a=(0,g.x)(function(){this.o.nextVideo()},this),b=(0,g.x)(function(){this.o.previousVideo()},this)); uN(this,"nexttrack",a);uN(this,"previoustrack",b)}}; vN.prototype.A=function(){var a=g.zL(this.o);a=a.isError()?"none":g.yD(a)?"playing":"paused";this.u.playbackState=a}; vN.prototype.Y=function(){this.u.playbackState="none";this.u.metadata=null;for(var a=g.q(this.w),b=a.next();!b.done;b=a.next())uN(this,b.value,null);g.O.prototype.Y.call(this)};g.r(wN,g.V);wN.prototype.U=function(a,b){xN(this,b);this.C&&yN(this,this.C)}; wN.prototype.S=function(a){var b=this.J.getVideoData();this.w!=b.videoId&&xN(this,b);this.u&&yN(this,a.state);this.C=a.state}; wN.prototype.O=function(){this.B.hide();this.w&&(this.A[this.w]=(this.A[this.w]||0)+((0,g.H)()-this.G));this.G=0};g.r(AN,g.V);AN.prototype.hide=function(){this.u.stop();this.A.style.display="none";g.V.prototype.hide.call(this)}; AN.prototype.B=function(a){zN(this,a.state)}; AN.prototype.C=function(){zN(this,g.zL(this.w))}; AN.prototype.F=function(){this.A.style.display="block"};g.r(CN,g.V);CN.prototype.A=function(){var a=g.U(this.u.app);a&&a.o&&a.o.Es()}; CN.prototype.w=function(){var a=g.U(this.u.app);g.GC(this,!!a&&a.pc);this.ha("icon",this.u.fi()?g.X?{D:"div",X:["ytp-icon","ytp-icon-airplay-on"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{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",X:["ytp-icon","ytp-icon-airplay-off"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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(g.EN,g.V);g.EN.prototype.Y=function(){this.u=null;g.V.prototype.Y.call(this)};g.r(JN,g.V);LN.prototype.update=function(a,b,c,d){this.width=b;this.w=c;this.B=d;this.o=b-c-d;this.position=g.Od(a,c,c+this.o);this.A=this.position-c;this.u=this.A/this.o};g.r(g.ON,g.HC);g.h=g.ON.prototype;g.h.Du=function(){this.V=this.u.length-1;this.sa=0;QN(this,!0)&&QN(this,!1);RN(this)}; g.h.aJ=function(a){if(!g.Fp(a)){var b=!1;switch(g.Gp(a)){case 36:this.w.seekTo(0);b=!0;break;case 35:this.w.seekTo(Infinity);b=!0;break;case 34:this.w.seekBy(-60);b=!0;break;case 33:this.w.seekBy(60);b=!0;break;case 38:this.w.seekBy(5);b=!0;break;case 40:this.w.seekBy(-5),b=!0}b&&g.Ep(a)}}; g.h.Mz=function(a,b){NN(this,b,"newdata"==a)}; g.h.uF=function(){this.Mz("newdata",this.w.getVideoData())}; g.h.ZI=function(a){this.H&&!g.W(a.state,32)&&3!=this.w.getPresentingPlayerType()&&this.H.cancel()}; g.h.EC=function(a){(this.J=a)?(this.ha("clipstarticon",RM()),this.ha("clipendicon",RM()),this.ha("clipstarttitle",null),this.ha("clipendtitle",null)):(this.ha("clipstarticon",JM()),this.ha("clipendicon",IM()),this.ha("clipstarttitle","Regarder l'int\u00e9gralit\u00e9 de la vid\u00e9o"),this.ha("clipendtitle","Regarder l'int\u00e9gralit\u00e9 de la vid\u00e9o"));XN(this);TN(this,this.G,this.na)}; g.h.pM=function(a,b,c){var d=g.Ih(this.element),e=$N(this).o,f=c?c.getAttribute("data-tooltip"):void 0,k=c?c.getAttribute("data-position"):void 0,l=c?c.getAttribute("data-offset-y"):void 0;l=l?parseInt(l,10):0;k&&(a=IN(this.A,Number(c.getAttribute("data-position")),0)*e+g.Ih(this.Wb).x);this.za.x=a-d.x;this.za.y=b-d.y;b=$N(this);c=HN(this.A,b.u);a=f||g.xM(this.fb?c-this.A.o:c);b=b.position+this.Fa;c-=this.w.Ab();if(this.w.N().fa("web_wn_macro_markers")){if(1a||1a&&this.F.start()}; g.h.rM=function(a,b){var c=!1,d=!1,e=$N(this);3600<=GN(this.A)&&(ZN(this,this.Xb-b-10,e.position,e.u),d=!0,c=this.S>.1*(this.B?60:40),e=$N(this));g.K(this.element,"ytp-pull-ui",d);c&&g.J(this.element,"ytp-pulling");c=0;e.w&&0>=e.position?c=-1:e.B&&e.position>=e.width&&(c=1);this.Ha!=c&&(this.Ha=c,this.F&&(this.F.dispose(),this.F=null),c&&(this.F=new g.xn((0,g.x)(this.wO,this,(0,g.N)(),this.U)),this.F.start()));this.w.seekTo(HN(this.A,e.u),!1)}; g.h.wO=function(a,b){var c=this.C*(this.da-1);this.U=g.Od(b+this.Ha*((0,g.N)()-a)*.3,0,c);g.UN(this);this.w.seekTo(HN(this.A,$N(this).u),!1);0d!=a>b){var e=c;c=d;d=e}a>c&&b>d&&this.CA()}}; g.h.Kz=function(){g.GC(this,lN(this.w))}; g.h.VB=function(a){if(a){var b=g.X?{D:"div",X:["ytp-icon","ytp-icon-full-screen-close"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"g",I:"ytp-fullscreen-button-corner-2",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-3",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-0",K:[{D:"path",Ka:!0,I:"ytp-svg-fill", M:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-1",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.qN(this.w,"Quitter le mode plein \u00e9cran","f");document.activeElement==this.element&&g.xL(this.w).focus()}else b=g.X?{D:"div",X:["ytp-icon","ytp-icon-full-screen"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"g",I:"ytp-fullscreen-button-corner-0",K:[{D:"path",Ka:!0,I:"ytp-svg-fill", M:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-1",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-2",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-3",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.qN(this.w,"Plein \u00e9cran","f"); this.ha("icon",b);this.ha("title",this.u?null:a);HO(this.C.Za())}; g.h.Y=function(){this.u||(this.A(),this.A=null);g.V.prototype.Y.call(this)};g.r(uO,g.V);uO.prototype.B=function(){this.u.ma("onCollapseMiniplayer");g.WL(this.u,this.element)}; uO.prototype.A=function(){this.w=!this.u.isFullscreen();g.GC(this,this.w);g.XL(this.u,this.element,this.w&&this.P)}; uO.prototype.Ua=function(a){g.V.prototype.Ua.call(this,a);g.XL(this.u,this.element,this.w&&a)};g.r(vO,pO);g.h=vO.prototype;g.h.show=function(){var a=this.Ea();pO.prototype.show.call(this);a||(this.B.L(this.w,"presentingplayerstatechange",this.kt),this.B.L(this.w,"videodatachange",this.kt),this.kt())}; g.h.hide=function(){this.B&&(g.yr(this.B),pO.prototype.hide.call(this))}; g.h.kt=function(){var a=this.w.getVideoData(),b=a.Ch,c;for(c=0;ca&&this.delay.start()}; var $qa=new g.Tn(0,0,.4,0,.2,1,1,1),xka=/[0-9.-]+|[^0-9.-]+/g;g.r(EO,g.V);EO.prototype.oc=function(a){this.B=300<=a.width;g.GC(this,this.B);g.XL(this.u,this.element,this.B&&this.P)}; EO.prototype.da=function(){this.u.N().J?this.u.isMuted()?this.u.unMute():this.u.mute():this.Z.Ze(this.element,!0);g.WL(this.u,this.element)}; EO.prototype.ea=function(a){DO(this,a.volume,a.muted)}; EO.prototype.Ua=function(a){g.V.prototype.Ua.call(this,a);g.XL(this.u,this.element,this.B&&a)}; var yka=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",24.77," C",21.89,",",23.85," ",24,",",21.17," ",24,",",18," C",24,",",14.83," ",21.89,",",12.15," ",19,",",11.29," L",19,",",11.29," Z"],zka=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",26.77," C",23.01,",",25.86," ",26,",",22.28," ",26,",",18," C",26,",",13.72," ", 23.01,",",10.14," ",19,",",9.23," L",19,",",11.29," Z"];g.r(IO,g.V);IO.prototype.w=function(){this.u.togglePictureInPicture()};g.r(g.KO,g.V);g.KO.prototype.F=function(a){JO(this,a.state)}; g.KO.prototype.B=function(){g.K(this.element,"ytp-play-button-playlist",g.BL(this.u))}; g.KO.prototype.G=function(){g.yD(g.zL(this.u))?this.u.pauseVideo():this.u.playVideo()};g.r(g.OO,g.V);g.h=g.OO.prototype;g.h.yj=function(){PO(this);this.F&&(this.Xa(this.F),this.F=null);this.T=this.u.getVideoData(1);if(this.w=this.u.getPlaylist())this.w.subscribe("shuffle",this.yj,this),this.F=this.L(this.u,"progresssync",this.WI);this.C=QO(this);NO(this);this.oc(g.wL(this.u).getPlayerSize())}; g.h.oc=function(a){a=void 0===a?g.wL(this.u).getPlayerSize():a;var b=g.BL(this.u)||this.A&&g.SL(this.u)||RO(this);g.GC(this,b&&(this.A||400<=a.width))}; g.h.XI=function(a){var b=!0;this.H?b=g.mN(a,this.u):g.Ep(a);b&&(this.A&&5==this.u.getPresentingPlayerType()?this.u.R("ytoprerollinternstitialnext"):this.A?this.u.nextVideo(!0):this.C?this.u.seekTo(0):this.u.previousVideo(!0))}; g.h.WI=function(){var a=QO(this);a!=this.C&&(this.C=a,NO(this))}; g.h.Y=function(){this.B&&(this.B(),this.B=null);PO(this);g.V.prototype.Y.call(this)};g.r(g.SO,g.JC);g.SO.prototype.J=function(){this.setValue(!this.w);this.R("select",this.w)}; g.SO.prototype.getValue=function(){return this.w}; g.SO.prototype.setValue=function(a){this.w=a;this.element.setAttribute("aria-checked",this.w)};g.r(TO,g.SO);TO.prototype.C=function(){g.FL(g.sL(this.A))&&3!=this.A.getPresentingPlayerType()?this.u||(g.JP(this.B,this),this.u=!0):this.u&&(g.KP(this.B,this),this.u=!1);this.setValue(UO(this))}; TO.prototype.F=function(a){UO(this);a?this.A.loadModule("annotations_module"):this.A.unloadModule("annotations_module")}; TO.prototype.Y=function(){this.u&&g.KP(this.B,this);g.SO.prototype.Y.call(this)};g.r(VO,g.HC);VO.prototype.ga=function(){this.R("size-change")}; VO.prototype.focus=function(){this.V.focus()}; VO.prototype.sa=function(){this.R("back")};g.r(g.WO,VO);g.WO.prototype.Z=function(){this.F.R("size-change")}; g.WO.prototype.focus=function(){for(var a=0,b=0;b(a.deltaX||-a.deltaY)?-this.F:this.F;this.wi(b);g.Ep(a)}; g.h.cN=function(a){a=(a-g.Ih(this.w).x)/this.J*this.C+this.minimumValue;this.wi(a)}; g.h.wi=function(a,b){b=void 0===b?"":b;var c=g.Od(a,this.minimumValue,this.maximumValue);""==b&&(b=c.toString());this.ha("valuenow",c);this.ha("valuetext",b);this.U.style.left=(c-this.minimumValue)/this.C*(this.J-this.O)+"px";this.u=c}; g.h.focus=function(){this.S.focus()};g.r(rP,pP);rP.prototype.Z=function(){this.B.setPlaybackRate(this.u,!0)}; rP.prototype.wi=function(a){pP.prototype.wi.call(this,a,sP(this,a).toString());this.A&&(qP(this),this.V())}; rP.prototype.ca=function(){var a=this.B.getPlaybackRate();sP(this,this.u)!=a&&(this.wi(a),qP(this))};g.r(tP,g.HC);tP.prototype.focus=function(){this.u.focus()};g.r(uP,VO);g.r(vP,g.$O);g.h=vP.prototype;g.h.Te=function(a){return"1"==a?"Normale":a.toLocaleString()}; g.h.Oz=function(){var a=this.u.getPresentingPlayerType();this.enable(2!=a&&3!=a);zP(this)}; g.h.zj=function(a){g.$O.prototype.zj.call(this,a);a?(this.O=this.L(this.u,"onPlaybackRateChange",this.fJ),zP(this),xP(this,this.u.getPlaybackRate())):(this.Xa(this.O),this.O=null)}; g.h.fJ=function(a){var b=this.u.getPlaybackRate();this.J.includes(b)||yP(this,b);xP(this,a)}; g.h.Yc=function(a){g.$O.prototype.Yc.call(this,a);a==this.B?this.u.setPlaybackRate(this.C,!0):this.u.setPlaybackRate(parseFloat(a),!0);this.w.Nd()};var G2,ara;G2=[{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"}];ara=[{option:0,text:AP(0)},{option:.25,text:AP(.25)},{option:.5,text:AP(.5)},{option:.75,text:AP(.75)},{option:1,text:AP(1)}]; g.CP=[{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:G2},{option:"fontSizeIncrement",text:"Taille de police",options:[{option:-2,text:AP(.5)},{option:-1,text:AP(.75)},{option:0,text:AP(1)},{option:1, text:AP(1.5)},{option:2,text:AP(2)},{option:3,text:AP(3)},{option:4,text:AP(4)}]},{option:"background",text:"Couleur de l'arri\u00e8re-plan",options:G2},{option:"backgroundOpacity",text:"Opacit\u00e9 de l'arri\u00e8re-plan",options:ara},{option:"windowColor",text:"Couleur de la fen\u00eatre",options:G2},{option:"windowOpacity",text:"Opacit\u00e9 de la fen\u00eatre",options:ara},{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:AP(.25)},{option:.5,text:AP(.5)},{option:.75,text:AP(.75)},{option:1,text:AP(1)}]}];g.r(BP,g.$O);g.h=BP.prototype;g.h.Be=function(a){g.$O.prototype.Be.call(this,a)}; g.h.Sz=function(a){return a.option.toString()}; g.h.getOption=function(a){return this.O[a]}; g.h.Te=function(a){return this.getOption(a).text||""}; g.h.Yc=function(a){g.$O.prototype.Yc.call(this,a);this.R("settingChange",this.J,this.O[a].option)}; g.h.Tz=function(a){this.R("settingChange",this.J+"Override",!a);this.w.Nd()};g.r(DP,g.WO);DP.prototype.w=function(a,b){this.R("settingChange",a,b)};g.r(FP,g.$O);FP.prototype.B=function(a){return a.languageCode}; FP.prototype.Te=function(a){return this.u[a].languageName||""}; FP.prototype.Yc=function(a){this.R("select",a);g.jP(this.w)};g.r(GP,g.$O);g.h=GP.prototype;g.h.wt=function(a){return g.Ob(a)?"__off__":a.displayName}; g.h.Te=function(a){return"__off__"==a?"D\u00e9sactiv\u00e9s":"__translate__"==a?"Traduire automatiquement":"__contribute__"==a?"Ajouter des sous-titres":("__off__"==a?{}:this.C[a]).displayName}; g.h.Yc=function(a){"__translate__"==a?this.B.open():"__contribute__"==a?(this.u.pauseVideo(),this.u.isFullscreen()&&this.u.toggleFullscreen(),a=g.FD(this.u.N(),this.u.getVideoData()),g.kN(a)):(this.u.setOption("captions","track","__off__"==a?{}:this.C[a]),g.$O.prototype.Yc.call(this,a),this.w.Nd())}; g.h.Cl=function(){var a=this.u.getOptions();a=a&&-1!=a.indexOf("captions");var b=this.u.getVideoData();b=b&&b.Vm;if(a||b){if(a){var c=this.u.getOption("captions","track");var d=this.u.getOption("captions","tracklist",{includeAsr:!0});var e=this.u.getOption("captions","translationLanguages");this.C=g.xb(d,this.wt,this);var f=(0,g.Fc)(d,this.wt);if(e.length&&!g.Ob(c)){var k=c.translationLanguage;if(k&&k.languageName){var l=k.languageName;k=e.findIndex(function(m){return m.languageName==l}); qaa(e,k)}Bka(this.B,e);f.push("__translate__")}e=this.wt(c)}else this.C={},f=[],e="__off__";f.unshift("__off__");this.C.__off__={};b&&f.unshift("__contribute__");this.C[e]||(this.C[e]=c,f.push(e));g.bP(this,f);this.Be(e);c&&c.translationLanguage?this.B.Be(this.B.B(c.translationLanguage)):aP(this.B);a&&EP(this.J,this.u.getSubtitlesUserSettings());this.S.tb(d&&d.length?" ("+d.length+")":"");this.R("size-change");this.enable(!0)}else this.enable(!1)}; g.h.Rz=function(a){this.u.setOption("captions","sampleSubtitles",a)}; g.h.nJ=function(a){var b=this.u.getOption("captions","track");b=g.Rb(b);b.translationLanguage=this.B.u[a];this.u.setOption("captions","track",b)}; g.h.mJ=function(a,b){if("reset"==a)this.u.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.u.updateSubtitlesUserSettings(c)}this.Rz(!0);this.O.start();EP(this.J,this.u.getSubtitlesUserSettings())}; g.h.YM=function(a){a||g.Dn(this.O)}; g.h.Y=function(){g.Dn(this.O);g.$O.prototype.Y.call(this)};g.r(HP,g.eP);HP.prototype.Fd=function(a){IP(this);0=this.O&&(!this.C||!g.W(g.zL(this.u),64));g.GC(this,b);g.K(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.u.getProgressState();if(b){b=this.u.getPresentingPlayerType();var c=g.xM(g.Q(this.u.N().experiments,"halftime_ux_killswitch")?a.current:this.u.getCurrentTime(b,!1));this.F!=c&&(this.ha("currenttime",c),this.F=c);b=g.xM(g.Q(this.u.N().experiments,"halftime_ux_killswitch")?a.duration:this.u.getDuration(b,!1)); this.G!=b&&(this.ha("duration",b),this.G=b)}this.C&&(a=a.isAtLiveHead,this.H!=a&&(this.H=a,this.w(),b=this.A.element,b.disabled=a,this.A.tb(this.J?"Premi\u00e8re":"En direct"),a?this.B&&(this.B(),this.B=null,b.removeAttribute("title")):(b.title="Acc\u00e9der directement \u00e0 la diffusion en direct",this.B=g.BN(this.S,this.A.element))))}; g.PP.prototype.V=function(a,b){OP(this,b);this.w()}; g.PP.prototype.U=function(a){a.target==this.A.element&&(this.u.seekTo(Infinity),this.u.playVideo())}; g.PP.prototype.Y=function(){this.B&&this.B();g.V.prototype.Y.call(this)};g.r(RP,g.V);g.h=RP.prototype;g.h.oJ=function(){var a=this.F.jc();this.G!=a&&(this.G=a,QP(this,this.u.getVolume(),this.u.isMuted()))}; g.h.oc=function(a){g.GC(this,350<=a.width)}; g.h.gN=function(a){if(!g.Fp(a)){var b=g.Gp(a),c=null;37==b?c=this.B-5:39==b?c=this.B+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.Od(c,0,100),0==c?this.u.mute():(this.u.isMuted()&&this.u.unMute(),this.u.setVolume(c)),g.Ep(a))}}; g.h.pJ=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.u.setVolume(this.B+(0>b?-10:10)):this.u.setVolume(this.B+g.Od(b/10,-10,10));g.Ep(a)}; g.h.eN=function(){SP(this,this.A,!0,this.w,this.F.hj());this.V=this.B;this.u.isMuted()&&this.u.unMute()}; g.h.dN=function(a){var b=this.G?78:52,c=this.G?18:12;a-=g.Ih(this.U).x;this.u.setVolume(100*g.Od((a-c/2)/(b-c),0,1))}; g.h.bN=function(){SP(this,this.A,!1,this.w,this.F.hj());0==this.B&&(this.u.mute(),this.u.setVolume(this.V))}; g.h.qJ=function(a){QP(this,a.volume,a.muted)}; g.h.pw=function(){SP(this,this.A,this.C,this.w,this.F.hj())}; g.h.Uz=function(a){SP(this,this.A,this.C,a,this.F.hj())}; g.h.WB=function(a){g.K(this.element,"ytp-volume-control-hover",a);SP(this,a,this.C,this.w,this.F.hj())}; g.h.Y=function(){g.V.prototype.Y.call(this);g.Mn(this.S,"ytp-volume-slider-active")};g.r(g.TP,g.V);g.TP.prototype.A=function(){this.w=!!this.u.getVideoData().videoId;g.GC(this,this.w);g.XL(this.u,this.element,this.w&&this.P);if(this.w){var a=this.u.getVideoUrl(!0,!1,!1,!0);this.ha("url",a)}}; g.TP.prototype.B=function(a){var b=this.u.getVideoUrl(!g.yM(a),!1,!0,!0);g.vx(this.u.N())&&(b=g.Ad(b,g.GD({},"emb_logo")));g.nN(b,this.u,a);g.WL(this.u,this.element)}; g.TP.prototype.Ua=function(a){g.V.prototype.Ua.call(this,a);g.XL(this.u,this.element,this.w&&a)};g.r(UP,g.O);g.h=UP.prototype;g.h.ot=function(){g.SN(this.B);this.ea.w();if(g.Q(this.w.N().experiments,"web_wn_macro_markers")){var a=this.U,b="",c=a.w.u;1g.iO(this.B)&&g.xD(g.zL(this.w))&&!!window.requestAnimationFrame,b=!a;this.V.u||(a=b=!1);b?this.J||(this.J=this.L(this.w,"progresssync",this.ot)):this.J&&(this.Xa(this.J),this.J=null);a?this.H.isActive()||this.H.start():this.H.stop()}; g.h.gP=function(a){var b=this.A.Za();a=!a;if(null!=b.w)if(a)switch(b.w){case 3:case 2:sR(b);b.J.show();break;default:b.J.show()}else b.J.hide();b.U=a}; g.h.qt=function(){var a=this.A.jc(),b=g.wL(this.w).getPlayerSize(),c=WP(this),d=Math.max(b.width-2*c,100);if(this.na!=b.width||this.ra!=a){this.na=b.width;this.ra=a;var e=XP(this);this.u.element.style.width=e+"px";this.u.element.style.left=c+"px";var f=this.B;f.Fa=c;f.C=e;f.B=a;g.UN(f);this.A.Za().ea=e}c=this.o;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.A.jc()?72:50))));c.S=Math.min(570*(a?1.5:1),d);c.O=e;c.Rj();this.vt();g.Q(this.w.N().experiments,"html5_player_dynamic_bottom_gradient")&& g.DN(this.sa,b.height)}; g.h.lJ=function(){var a=this.w.getVideoData();this.O.style.background=a.tc?a.Pf:"";g.GC(this.S,a.ou)};g.r(ZP,pO);ZP.prototype.F=function(a){if(this.w.N().B||this.C)a?(YP(this),this.Fd()):(this.A&&$P(this),this.kb())}; ZP.prototype.G=function(a){this.w.isMutedByMutedAutoplay()&&g.ED(a,2)&&this.kb()}; ZP.prototype.onClick=function(){this.w.unMute();$P(this)};g.r(g.aQ,g.O);g.h=g.aQ.prototype;g.h.init=function(){var a=g.zL(this.api);this.Ij(a);this.wg();this.li()}; g.h.Iz=function(a,b){if(this.Xb!=b.videoId){this.Xb=b.videoId;var c=this.u;c.V=b&&0=b){this.ea=!0;b=this.api.getPlayerSize().width/3;var c=g.xL(this.api).getBoundingClientRect(),d=a.targetTouches[0].clientX-c.left;c=a.targetTouches[0].clientY-c.top;var e=10*(this.sa-1);02*b&&d<3*b&&(this.ht(1,d,c,e),this.api.seekBy(10*this.api.getPlaybackRate()));g.Ep(a)}this.hd=Date.now();this.jd.start()}}; g.h.KM=function(a){hQ(this,a)||(eQ(this)||!fQ(this,a)||this.Ba.isActive()||(gQ(this),g.Ep(a)),this.ea&&(this.ea=!1))}; g.h.Ln=function(){}; g.h.it=function(){}; g.h.ht=function(){}; g.h.eC=function(){}; g.h.Go=function(){var a=g.zL(this.api);g.W(a,2)&&uL(this.api)||(g.yD(a)?this.api.pauseVideo():(this.api.app.fd=!0,this.api.playVideo(),this.V&&document.activeElement==this.V.C&&g.xL(this.api).focus()))}; g.h.LM=function(a){var b=this.api.getPresentingPlayerType();cQ(this,Bp(a))||(a=this.api.N(),g.Q(a.experiments,"player_doubletap_to_seek")&&this.ea?this.ea=!1:(a.ca||g.Q(a.experiments,"player_fullscreen_disabled_killswitch"))&&3!=b&&this.api.toggleFullscreen())}; g.h.MM=function(a){iQ(this,.3,a.scale);g.Ep(a)}; g.h.OM=function(a){iQ(this,.1,a.scale)}; g.h.li=function(){var a=g.wL(this.api).getPlayerSize(),b=g.xL(this.api),c=650<=a.width;g.Iv&&AM(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.ce());g.K(b,"ytp-big-mode",this.jc());this.B&&this.B.u(a)}; g.h.kM=function(a){this.Ij(a.state);this.wg()}; g.h.ir=function(){var a=!!this.Xb&&!g.tL(this.api),b=2==this.api.getPresentingPlayerType(),c=this.api.N();if(b){if(Xpa&&g.Q(c.experiments,"enable_visit_advertiser_support_on_ipad_mweb"))return!1;b=rM(g.sL(this.api));a&&(null===b.o?a=!1:(a=b.o,a=(b=a.o.getVideoData(2))?b.isListed&&!a.U:!1));return a}return a&&(c.Df||this.api.isFullscreen()||c.Xb)}; g.h.wg=function(){var a=this.ir();this.F!=a&&(this.F=a,g.K(g.xL(this.api),"ytp-hide-info-bar",!a))}; g.h.Ij=function(a){var b;(b=a.isCued())||(b=((b=g.U(this.api.app,void 0))?tK(b):!0)&&3!=this.api.getPresentingPlayerType());b!=this.isCued&&(this.isCued=b,this.dd&&this.Xa(this.dd),this.dd=this.L(g.wL(this.api),"touchstart",this.QM,void 0,b));var c=g.xD(a)&&!g.W(a,32)||LL(this.api);this.u.Qb(128,!c);c=3==this.api.getPresentingPlayerType();this.u.Qb(256,c);c=g.xL(this.api);if(g.W(a,2))var d=["ended-mode"];else d=[],g.W(a,8)?d.push("playing-mode"):g.W(a,4)&&d.push("paused-mode"),g.W(a,1)&&!g.W(a,32)&& d.push("buffering-mode"),g.W(a,32)&&d.push("seeking-mode"),g.W(a,64)&&d.push("unstarted-mode");g.ub(this.Wa,d)||(g.Nn(c,this.Wa),this.Wa=d,g.Ln(c,d));d=this.api.N();var e=g.W(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.Wb);g.W(a,128)&&!g.vx(d)?(this.B||(this.B=new g.rN(this.api),g.C(this,this.B),g.RL(this.api,this.B.element,4)),this.B.B(a.u),this.B.show()):this.B&&(this.B.dispose(),this.B=null)}; g.h.Qf=function(){return g.GL(this.api)&&g.HL(this.api)?(this.api.setCardsVisible(!1,!1),!0):g.tL(this.api)?(g.vL(this.api,!0),!0):!1}; g.h.GI=function(a){this.Wb=a;this.Sd()}; g.h.jc=function(){return!1}; g.h.ce=function(){return!this.jc()&&(480>this.api.getPlayerSize().width||290>this.api.getPlayerSize().height)}; g.h.hj=function(){return this.Hc}; g.h.ul=function(){return null}; g.h.Ps=function(){var a=g.wL(this.api).getPlayerSize();return new g.sh(0,0,a.width,a.height)}; g.h.handleGlobalKeyDown=function(){return!1}; g.h.handleGlobalKeyUp=function(){return!1}; g.h.Cj=function(){}; g.h.showControls=function(a){if(void 0!=a){var b=g.wL(this.api);Ax(b.app.N());b.C=!a;GS(b)}}; g.h.Rs=function(){}; g.h.wx=function(){return null};var Fka={seekableStart:0,seekableEnd:1,current:0};g.r(jQ,g.HC);jQ.prototype.B=function(){var a=this.w.getProgressState();this.F.style.width=100*IN(new FN(a.seekableStart,a.seekableEnd),a.current,0)+"%"}; jQ.prototype.C=function(){g.Kx(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.pg(this.u),this.u=-1))};g.r(kQ,g.P);g.h=kQ.prototype;g.h.Wz=function(){return 1E3*this.o.getDuration(this.w)}; g.h.stop=function(){this.A&&this.u.Xa(this.A)}; g.h.Xz=function(){var a=this.o.getProgressState(this.w);this.B={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:g.Q(this.o.N().experiments,"halftime_ux_killswitch")?a.current:this.o.getCurrentTime(this.w,!1)};this.R("b")}; g.h.getProgressState=function(){return this.B}; g.h.uJ=function(a){g.ED(a,2)&&this.R("a")};g.r(lQ,g.V);lQ.prototype.w=function(){this.u.ma("BACK_CLICKED")};g.r(g.mQ,g.V);g.mQ.prototype.show=function(){g.V.prototype.show.call(this);g.Bn(this.u)}; g.mQ.prototype.hide=function(){this.A.stop();g.V.prototype.hide.call(this)};g.r(sQ,g.V);sQ.prototype.Y=function(){this.u&&this.u();g.V.prototype.Y.call(this)}; sQ.prototype.F=function(){g.To("iv-button-mouseover")}; sQ.prototype.C=function(a){g.GL(this.w);var b=g.Kn(g.xL(this.w),"ytp-cards-teaser-shown");g.To("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.w.setCardsVisible(!g.HL(this.w),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.r(tQ,g.V);g.h=tQ.prototype;g.h.CC=function(){g.GL(this.w)&&g.HL(this.w)&&this.Ea()&&4!==this.F.state&&this.Al()}; g.h.SO=function(){this.Al();g.To("iv-teaser-clicked",!!this.u);this.w.setCardsVisible(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")}; g.h.HI=function(){g.To("iv-teaser-mouseover");this.u&&this.u.stop()}; g.h.nN=function(a){this.u||!a||g.HL(this.w)||this.A&&this.A.isActive()||(Gka(this,a),g.To("iv-teaser-shown"))}; g.h.jt=function(){if(g.vx(this.w.N())&&this.Ea()){var a=this.C.element.offsetLeft,b=g.de("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.fE=function(){g.vx(this.w.N())&&this.S.ce()&&this.Ea()&&this.O.start()}; g.h.IA=function(){this.H.stop();this.u&&this.u.isActive()&&this.J.start()}; g.h.HA=function(){this.J.stop();this.u&&!this.u.isActive()&&this.H.start()}; g.h.ML=function(){this.u&&this.u.stop()}; g.h.JL=function(){this.Al()}; g.h.Al=function(){!this.u||this.B&&this.B.isActive()||(g.To("iv-teaser-hidden"),this.F.hide(),g.Mn(g.xL(this.w),"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.Xa(b.value);this.G=[];this.u&&(this.u.dispose(),this.u=null);rQ(this.C,!0)},330,this),this.B.start())}; g.h.Y=function(){var a=g.xL(this.w);a&&g.Mn(a,"ytp-cards-teaser-shown");g.Ie(this.A,this.B,this.u);g.V.prototype.Y.call(this)};g.r(uQ,g.V);uQ.prototype.B=function(){g.WL(this.w,this.element);var a=!this.u;this.ha("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.ha("pressed",a);vQ(this,a)};g.r(g.zQ,g.V);g.zQ.prototype.B=function(){g.J(this.element,"ytp-sb-subscribed")}; g.zQ.prototype.C=function(){g.Mn(this.element,"ytp-sb-subscribed")};g.Ia("yt.pubsub.publish",g.To,void 0);g.r(CQ,g.V);CQ.prototype.O=function(){GQ(this);this.w.classList.remove("ytp-title-expanded")}; CQ.prototype.H=function(){if(DQ(this)&&!EQ(this)){this.ha("channelTitleFocusable","0");this.F&&this.F.stop();this.A&&(this.A.show(),g.XL(this.u,this.A.element,!0));var a=this.u.getVideoData();this.C&&a.Kj&&a.subscribed&&(this.C.show(),g.XL(this.u,this.C.element,!0));this.w.classList.add("ytp-title-expanded");this.w.classList.add("ytp-title-show-expanded")}}; CQ.prototype.G=function(){this.ha("channelTitleFocusable","-1");this.F&&this.F.start()}; CQ.prototype.J=function(){var a=this.u.getVideoData(),b=this.u.N(),c=!1;2===this.u.getPresentingPlayerType()?c=!!a.videoId&&!!a.isListed&&!!a.author&&!!a.Mf&&!!a.Od:g.vx(b)&&(c=!!a.videoId&&!!a.Mf&&!!a.Od);b=g.dy(this.u.N())+a.Mf;g.vx(this.u.N())&&(b=g.Ad(b,g.GD({},"emb_subscribe_title")));var d=a.Mf,e=a.Od,f=a.author;d=void 0===d?"":d;e=void 0===e?"":e;f=void 0===f?"":f;c?(d=g.dy(this.u.N())+d,this.B.style.backgroundImage="url("+e+")",this.ha("channelLink",d),this.ha("channelLogoLabel",g.gN("Photo de $CHANNEL_NAME", {CHANNEL_NAME:f})),g.J(g.xL(this.u),"ytp-title-enable-channel-logo")):g.Mn(g.xL(this.u),"ytp-title-enable-channel-logo");g.XL(this.u,this.B,c&&this.P);this.A&&(this.A.u=a.xg);this.ha("expandedTitle",a.Wq);this.ha("channelTitleLink",b);this.ha("expandedSubtitle",a.expandedSubtitle)};g.r(HQ,g.JC);HQ.prototype.u=function(a){g.Fp(a)||39!=g.Gp(a)||(this.element.click(),g.Ep(a))};g.r(MQ,g.WO);g.h=MQ.prototype;g.h.LK=function(){pN(this.H.element)}; g.h.ZK=function(){NQ(this,this.u.getDebugText(!0))&&nQ(this.U,EM())}; g.h.aL=function(){NQ(this,this.u.getVideoEmbedCode())&&nQ(this.U,LM());g.WL(this.u,this.w.element);JQ("EMBED",this.u.getVideoData().videoId,this.u.getPlaylistId()||void 0)}; g.h.cL=function(){NQ(this,this.u.getVideoUrl(!0,!0))&&nQ(this.U,QM());g.WL(this.u,this.B.element);JQ("COPY_PASTE",this.u.getVideoData().videoId,this.u.getPlaylistId()||void 0)}; g.h.bL=function(){NQ(this,this.u.getVideoUrl(!1,!0))&&nQ(this.U,QM());g.WL(this.u,this.A.element);JQ("COPY_PASTE",this.u.getVideoData().videoId,this.u.getPlaylistId()||void 0)}; g.h.EA=function(a){this.C.setValue(a)}; g.h.vL=function(){var a=this.C.getValue();ET(this.u.app,a);this.O.kb();g.WL(this.u,this.C.element)}; g.h.DM=function(a){this.u.reportPlaybackIssue();if(g.mN(a,this.u,!Rx(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.ma("onFeedbackStartRequest",b);a.isFullscreen()&&a.toggleFullscreen()}this.O.kb()}; g.h.ZM=function(){this.u.showVideoInfo();this.O.kb()}; g.h.LI=function(a,b){LQ(this,b)}; g.h.Ua=function(a){g.WO.prototype.Ua.call(this,a);g.XL(this.u,this.w.element,a);g.XL(this.u,this.B.element,a);g.XL(this.u,this.A.element,a);g.XL(this.u,this.C.element,a)};g.r(g.PQ,g.eP);g.h=g.PQ.prototype;g.h.show=function(){this.B||(this.B=new MQ(this.w,this.ea,this,this.Z),g.C(this,this.B),g.iP(this,this.B));this.B.EA(jL(this.w.app.C));g.eP.prototype.show.call(this);g.XL(this.w,this.element,!0);this.B.Ua(!0)}; g.h.hide=function(){OQ(this);g.eP.prototype.hide.call(this);g.XL(this.w,this.element,!1);this.B&&this.B.Ua(!1)}; g.h.KK=function(a){var b=Bp(a);if(!(this.Ea()||b&&(g.De(b,"a")||g.De(b,null,"ytp-no-contextmenu",void 0)))){g.Ep(a);QQ(this);b=this.w.getVideoData();g.K(this.element,"ytp-dni",b.tc);this.element.style.left="";this.element.style.top="";a=Dp(a);a.x++;a.y++;this.Fd();var c=document.body;b=new ph(0,Infinity,Infinity,0);var d=$d(c);for(var e=d.o.body,f=d.o.documentElement,k=he(d.o);c=Hh(c);)if(!(g.ie&&0==c.clientWidth||g.ke&&0==c.clientHeight&&c==e)&&c!=e&&c!=f&&"visible"!=Bh(c,"overflow")){var l=g.Ih(c), m=new g.Sd(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=ge(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.sh(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.Eh(this.element,new g.Sd(d.left,d.top));g.yr(this.G);this.G.L(document,"contextmenu",this.RK);this.G.L(this.w,"fullscreentoggled",this.MI);this.G.L(this.w,"pageTransition",this.aM)}}; g.h.RK=function(a){if(!g.Fp(a)){var b=Bp(a);g.xe(this.element,b)||this.kb();this.w.N().ak&&g.Ep(a)}}; g.h.MI=function(){this.kb();QQ(this)}; g.h.aM=function(){this.kb()};g.r(RQ,g.V); RQ.prototype.F=function(){var a=this.u.N(),b=this.u.getVideoData(),c=this.u.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);b=!1;c=g.pe("TEXTAREA");c.value=a;c.setAttribute("readonly","");document.body.appendChild(c);if(ol){var d=window.getSelection();d.removeAllRanges();var e=document.createRange();e.selectNodeContents(c);d.addRange(e);c.setSelectionRange(0,a.length)}else c.select();try{b=document.execCommand("copy")}catch(f){}document.body.removeChild(c);b&&Ika(this);g.WL(this.u,this.element)}; RQ.prototype.A=function(){var a=this.u.N(),b=this.u.getVideoData();this.C.ce()&&g.vx(a)&&a.B?this.ha("icon",{D:"div",X:["ytp-icon","ytp-icon-share-copylink-large"]}):this.ha("icon",g.X?{D:"div",X:["ytp-icon","ytp-icon-share-copylink"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3 c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z"}}]}); this.ha("title-attr","Copier le lien");a=g.wL(this.u).getPlayerSize().width;this.w=!!b.videoId&&300<=a&&b.dm;g.K(this.element,"ytp-copylink-button-visible",this.w);g.GC(this,this.w);HO(this.B);g.XL(this.u,this.element,this.w&&this.P)}; RQ.prototype.Ua=function(a){g.V.prototype.Ua.call(this,a);g.XL(this.u,this.element,this.w&&a)}; RQ.prototype.Y=function(){g.V.prototype.Y.call(this);g.Mn(this.element,"ytp-copylink-button-visible")};g.r(TQ,g.V);TQ.prototype.show=function(){g.V.prototype.show.call(this);g.Bn(this.u)}; TQ.prototype.hide=function(){this.A.stop();g.V.prototype.hide.call(this)};g.r(g.UQ,g.O);g.h=g.UQ.prototype; g.h.Kx=function(a){var b=!1,c=g.Gp(a),d=Bp(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=this.o.N();g.Fp(a)?(e=!1,k=!0):l.Eb&&(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);pQ(this.u,f,!1);this.o.setVolume(f);k=f=!0;break;case 40:f=Math.max(this.o.getVolume()-5,0);pQ(this.u,f,!0);this.o.setVolume(f);k=f=!0;break;case 36:this.o.Nc()&&(this.o.seekTo(0),k=f=!0);break; case 35:this.o.Nc()&&(this.o.seekTo(Infinity),k=f=!0)}}b&&this.ju(!0);(b||k)&&this.B.Qb(2,!0);(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code))&&g.Ep(a);l.Db&&(a={keyCode:g.Gp(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.Fp(a),fullscreen:this.o.isFullscreen()},this.o.ma("onKeyPress",a))}; g.h.Lx=function(a){this.handleGlobalKeyUp(g.Gp(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)}; g.h.handleGlobalKeyUp=function(a){var b=!1,c=g.EL(g.sL(this.o));c&&(c=c.u)&&c.Ea()&&(c.Ix(a),b=!0);9==a&&(this.ju(!0),b=!0);return b}; g.h.handleGlobalKeyDown=function(a,b,c,d,e,f){d=!1;c=this.o.N();if(c.Eb)return d;if((e=g.EL(g.sL(this.o)))&&(e=e.u)&&e.Ea())switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:d=e.Hx(a)}c.Yb||d||(f=f||String.fromCharCode(a).toLowerCase(),this.w+=f,0=="awesome".indexOf(this.w)?(d=!0,7==this.w.length&&(f=g.xL(this.o),e=!g.Kn(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.H&&(nQ(this.u,XM(),"Pr\u00e9c\u00e9dente"), this.o.previousVideo(),d=!0);break;case 78:b&&!c.H&&(nQ(this.u,SM(),"Suivante"),this.o.nextVideo(),d=!0);break;case 74:this.o.Nc()&&(nQ(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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.Nc()&&(nQ(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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.Nc()&&(nQ(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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.Nc()&&(nQ(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-forward-five-seconds"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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(),pQ(this.u,this.o.getVolume(),!1)):(this.o.mute(),pQ(this.u,0,!0));d=!0;break;case 32:case 75:c.H||(b=!g.yD(g.zL(this.o)),g.oQ(this.u,b),b?this.o.playVideo():this.o.pauseVideo(),d=!0);break;case 190:b?c.ya&&(b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b+.25,!0),qQ(this.u,!1),d=!0):this.o.Nc()&&(WQ(this,1),d=!0);break;case 188:b?c.ya&&(b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b-.25,!0),qQ(this.u, !0),d=!0):this.o.Nc()&&(WQ(this,-1),d=!0);break;case 70:lN(this.o)&&(this.o.toggleFullscreen(),d=!0);break;case 27:this.C()&&(d=!0)}if("3"!=c.controlsType)switch(a){case 67:g.kM(g.sL(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",nQ(this.u,aN(),b),d=!0);break;case 79:VQ(this,"textOpacity");break;case 87:VQ(this,"windowOpacity");break;case 187:case 61:VQ(this,"fontSizeIncrement",!1,!0); break;case 189:case 173:VQ(this,"fontSizeIncrement",!0,!0)}var k;48<=a&&57>=a?k=a-48:96<=a&&105>=a&&(k=a-96);null!=k&&this.o.Nc()&&(a=this.o.getProgressState(),this.o.seekTo(k/10*(a.seekableEnd-a.seekableStart)+a.seekableStart),d=!0);d&&this.B.Qb(2,!0)}return d}; g.h.ju=function(a){g.K(g.xL(this.o),"ytp-probably-keyboard-focus",a);g.K(this.F.element,"ytp-probably-keyboard-focus",a)}; g.h.Lz=function(a){g.kM(g.sL(this.o))&&this.o.setOption("captions","sampleSubtitles",a)}; g.h.Y=function(){g.Dn(this.A);g.O.prototype.Y.call(this)};g.r(XQ,pO);g.h=XQ.prototype;g.h.UI=function(a){a=Bp(a);g.xe(this.element,a)&&(g.xe(this.F,a)||g.xe(this.A,a)||this.Ze())}; g.h.kb=function(){pO.prototype.kb.call(this);this.B.df(this.element)}; g.h.show=function(){this.Ea()&&this.C.R("OVERFLOW_PANEL_OPENED");pO.prototype.show.call(this);ZQ(this,!0)}; g.h.hide=function(){pO.prototype.hide.call(this);ZQ(this,!1)}; g.h.TI=function(a){!a&&rO(this)&&this.Ze()}; g.h.focus=function(){0g.wL(this.w).getPlayerSize().width&&!a);this.u&&2!=this.w.getPresentingPlayerType()?(this.update({text:g.gN("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.u.o+1),PLAYLIST_LENGTH:String(this.u.w)}),title:g.gN("Playlist\u00a0: $PLAYLIST_NAME",{PLAYLIST_NAME:this.u.title})}),this.Ea()||(this.show(),HO(this.B)),this.F=!0):this.Ea()&&(this.hide(),HO(this.B))}; dR.prototype.Ua=function(a){g.V.prototype.Ua.call(this,a);g.XL(this.w,this.element,this.F&&a)}; dR.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(eR,g.V); eR.prototype.C=function(a){if(a){this.u=a;a=this.u.text;var b=!1;a&&(this.update({title:a}),b=!0);g.Qh(this.S,b);a=this.u.detailsText;b=!1;a&&(this.update({details:a}),b=!0);g.Qh(this.H,b);a=this.u.acceptButton;b=!1;a&&a.buttonRenderer&&(this.update({acceptButtonText:a.buttonRenderer.text}),b=!0);g.Qh(this.G,b);a=this.u.dismissButton;b=!1;a&&a.buttonRenderer&&(this.update({dismissButtonText:a.buttonRenderer.text}),b=!0);g.Qh(this.J,b)}a=document.querySelectorAll('[data-tooltip-target-id="'+this.u.targetId+ '"]');this.A=0l;m++){var n=k[m];a:switch(n.img){case "facebook":var p=g.X?{D:"div",X:["ytp-icon","ytp-icon-share-facebook"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",M:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",M:{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":p=g.X?{D:"div",X:["ytp-icon","ytp-icon-share-twitter"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",M:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",M:{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:p=null}p&&(p=new g.V({D:"a",X:["ytp-share-panel-service-button","ytp-button"],M:{href:n.url,target:"_blank",title:n.sname},K:[p]}),p.ia("click",g.Sa(this.VM,n.url)),g.Ge(p,g.BN(this.A,p.element)),this.B.push(p),l++)}k=new g.V({D:"a",X:["ytp-share-panel-service-button","ytp-button"],K:[{D:"span",I:"ytp-share-panel-service-button-more",K:[g.X?{D:"div",X:["ytp-icon","ytp-icon-share-more"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect", M:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",M:{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"}}]}]}],M:{href:f.more,target:"_blank",title:"Plus"}});k.ia("click",(0,g.x)(this.GL,this,f.more));g.Ge(k,g.BN(this.A,k.element));this.B.push(k);this.ha("buttons",this.B)}}else this.dC(null,null)},this), Ud:a,withCredentials:!0});b=this.w.getVideoUrl(!0,!0,!1,!0);this.ha("link",b);this.ha("linkText",b);this.ha("shareLinkWithUrl",g.gN("Partager le lien $URL",{URL:b}));pN(this.C)}; g.h.dC=function(){g.Mn(this.element,"ytp-share-panel-loading");g.J(this.element,"ytp-share-panel-fail")}; g.h.VM=function(a,b){if(g.yM(b)){var c=void 0===c?{}:c;c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";c||(c={});var d=window;var e=a instanceof g.vc?a:g.zc("undefined"!=typeof a.href?a.href:String(a));var f=c.target||a.target,k=[];for(l in c)switch(l){case "width":case "height":case "top":case "left":k.push(l+"="+c[l]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(l+"="+(c[l]?1:0))}var l=k.join(",");if(Hd()&&d.navigator&&d.navigator.standalone&& f&&"_self"!=f)l=g.pe("A"),g.ad(l,e),l.setAttribute("target",f),c.noreferrer&&l.setAttribute("rel","noreferrer"),c=document.createEvent("MouseEvent"),c.initMouseEvent("click",!0,!0,d,1),l.dispatchEvent(c),d={};else if(c.noreferrer){if(d=d.open("",f,l),c=g.wc(e),d&&(g.Yx&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.Zc(g.$b("b/12014412, meta tag with sanitized URL"),''),e=d.document))e.write(g.Uc(c)), e.close()}else(d=d.open(g.wc(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.Ep(b)}}; g.h.GL=function(a,b){g.nN(a,this.w,b)&&this.w.ma("SHARE_CLICKED")}; g.h.dJ=function(a){!a&&rO(this)&&this.Ze()}; g.h.focus=function(){this.C.focus()}; g.h.Y=function(){pO.prototype.Y.call(this);hR(this)};g.r(g.iR,g.V);g.iR.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.Qf(),this.H.Ze(this.element,!1));g.WL(this.u,this.element)}; g.iR.prototype.A=function(){var a=this.u.N(),b=this.u.getVideoData(),c=this.B.ce()&&g.vx(a),d=g.vx(a)&&g.BL(this.u)&&g.W(g.zL(this.u),128);this.ha("icon",c&&a.B?{D:"div",X:["ytp-icon","ytp-icon-sharrow-large"]}:g.X?{D:"div",X:["ytp-icon","ytp-icon-sharrow"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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.dm||d;c=g.wL(this.u).getPlayerSize().width;this.w=!!b.videoId&&c>=this.F&&!a;g.K(this.element,"ytp-share-button-visible",this.w);g.GC(this,this.w);HO(this.C);g.XL(this.u,this.element,this.w&&this.P)}; g.iR.prototype.Ua=function(a){g.V.prototype.Ua.call(this,a);g.XL(this.u,this.element,this.w&&a)}; g.iR.prototype.Y=function(){g.V.prototype.Y.call(this);g.Mn(this.element,"ytp-share-button-visible")};g.r(kR,pO);kR.prototype.show=function(){pO.prototype.show.call(this);this.C.start()}; kR.prototype.hide=function(){pO.prototype.hide.call(this);this.C.stop()}; kR.prototype.Z=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.El=function(a){a&&(this.J.df(this.A.element),this.o&&this.J.df(this.o.u.element));g.aQ.prototype.El.call(this,a)}; g.h.Ps=function(a,b){var c=g.wL(this.api).getPlayerSize();c=new g.sh(0,0,c.width,c.height);if(a||this.u.u&&!this.sh()){if(this.api.N().Df||b){var d=this.jc()?this.xb:this.Eb;c.top+=d;c.height-=d}this.o&&(c.height-=this.o.A.jc()?72:50)}return c}; g.h.II=function(a){var b=g.xL(this.api);a?b.parentElement?(b.setAttribute("aria-label","Lecteur vid\u00e9o YouTube en plein \u00e9cran"),this.api.N().externalFullscreen||(b.parentElement.insertBefore(this.Ha.element,b),b.parentElement.insertBefore(this.Fa.element,b.nextSibling))):g.M(Error("Player not in DOM.")):(b.setAttribute("aria-label","Lecteur vid\u00e9o YouTube"),g.DC(this.Ha),g.DC(this.Fa));this.li();this.wg()}; g.h.jc=function(){return this.api.isFullscreen()||!1}; g.h.showControls=function(a){this.Gb=!a;this.Sd()}; g.h.li=function(){var a=this.jc();this.J.B=a?1.5:1;g.K(this.U.element,"ytp-big-mode",a);this.Sd();if(this.ce()&&this.w)this.H&&this.H.Ea()&&YQ(this.w,this.H),this.G&&this.G.Ea()&&YQ(this.w,this.G),this.C&&this.C.Ea()&&YQ(this.w,this.C);else{if(this.w){a=this.w;for(var b=g.q(a.w),c=b.next();!c.done;c=b.next())g.DC(c.value);a.w=[]}this.H&&!g.xe(this.da.element,this.H.element)&&this.H.ba(this.da.element);this.G&&!g.xe(this.da.element,this.G.element)&&this.G.ba(this.da.element);this.C&&!g.xe(this.da.element, this.C.element)&&this.C.ba(this.da.element)}this.wg();g.aQ.prototype.li.call(this)}; g.h.ir=function(){if(BR(this)&&!g.BL(this.api))return!1;var a=this.api.getVideoData();return!g.vx(this.api.N())||2==this.api.getPresentingPlayerType()||!this.hf||((a=this.hf||a.hf)?(a=a.embedPreview)?(a=a.thumbnailPreviewRenderer,a=a.videoDetails&&a.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer||null):a=null:a=null,a&&a.collapsedRenderer&&a.expandedRenderer)?g.aQ.prototype.ir.call(this):!1}; g.h.wg=function(){g.aQ.prototype.wg.call(this);g.XL(this.api,this.dc.element,!!this.F);this.xa&&this.xa.Ua(!!this.F);this.nb.Ua(!!this.F);this.Ja&&this.Ja.Ua(this.ce()&&!!this.F);this.G&&this.G.Ua(!this.ce()&&!!this.F);this.H&&this.H.Ua(!this.ce()&&!!this.F);this.C&&this.C.Ua(!this.ce()&&!!this.F);if(!this.F){this.J.df(this.A.element);for(var a=0;a=a)){a-=this.o.length;for(var b=0;b=(a||1)}; g.h.LD=function(){for(var a=this.w.length-1;0<=a;a--)FR(this,this.w[a]);this.o.length==this.u.length&&4<=this.o.length||(4>this.u.length?this.Qw(4):(this.o=[],(0,g.y)(this.u,function(b){FR(this,b)},this)))}; ER.prototype.fillPool=ER.prototype.Qw;ER.prototype.getTag=ER.prototype.bF;ER.prototype.releaseTag=ER.prototype.hO;ER.prototype.hasTags=ER.prototype.MF;ER.prototype.activateTags=ER.prototype.LD;g.r(g.HR,g.eC);g.h=g.HR.prototype;g.h.isView=function(){return!0}; g.h.fp=function(){var a=this.o.getCurrentTime();if(ae?IR(this,"next_player_future"):(this.G=d,this.w=lw(a,c,d,!0),this.A=lw(a,e,f,!1),a=this.o.getVideoData().clientPlaybackNonce,this.u.Sa("gaplessPrep", "cpn."+a),UK(this.u,this.w),DK(this.u,LR(b,c,d,!this.u.getVideoData().isAd())),MR(this,2),PR(this))))}else IR(this,"no-elem")}; g.h.wj=function(a){var b=OR(this),c=a==b.aC;b=c?this.w.o:this.w.u;c=c?this.A.o:this.A.u;if(b.isActive()&&!c.isActive()){var d=this.G;Xv(a.Ad(),d-.01)&&(MR(this,4),b.setActive(!1),this.o.Sa("sbh","1"),c.setActive(!0));a=this.A.u;this.A.o.isActive()&&a.isActive()&&MR(this,5)}}; g.h.Y=function(){NR(this);if(this.w){var a=this.w.u;this.w.o.o.unsubscribe("updateend",this.wj,this);a.o.unsubscribe("updateend",this.wj,this)}g.A.prototype.Y.call(this)}; g.h.yz=function(a){g.ED(a,128)&&IR(this,"player-error-event")};g.r(QR,g.A);QR.prototype.clearQueue=function(){this.B&&this.B.reject("Queue cleared");RR(this)}; QR.prototype.Y=function(){RR(this);g.A.prototype.Y.call(this)};g.r(VR,g.A);VR.prototype.P=function(){}; VR.prototype.seekTo=function(a,b,c){a=void 0===a?0:a;c=void 0===c?null:c;if(void 0===b?0:b)UR(this,a);else{b=this.A.qb();var d=b==this.w?this.B:null;$R(this,!1);this.G=a;null!=c&&this.C.start(c);b&&(this.B=d||b.getPlayerState(),NK(b),this.w=b)}}; VR.prototype.Y=function(){$R(this,!1);bM(this);g.A.prototype.Y.call(this)}; var Ska=0;g.r(cS,g.A);g.h=cS.prototype;g.h.zI=function(a){if(this.w==this.o.qb()){var b=this.F.get(a);b||dS(this,"e.unexpectedCueRangeTriggered");iS(this,b.target,b.Ee,a)}else{b=this.u.find(function(e){return e.Yd.Hb==a}); var c=b.Yd,d=c.target;c=c.Ee;d?iS(this,d,c,a):Wka(this,b.Lb,c,a)}}; g.h.uM=function(){var a=this.H;kS(this);a&&(jS(this,a)||dS(this,"e.unexpectedPresentingPlayer"),this.o.qb().addCueRange(a.Yd.Hb))}; g.h.seekTo=function(a,b,c){a=void 0===a?0:a;c=void 0===c?null:c;if(void 0===b?0:b)bS(this,a);else{b=this.o.qb();var d=b==this.B?this.G:null;nS(this,!1);this.S=a;null!=c&&this.O.start(c);b&&(this.G=d||b.getPlayerState(),NK(b),this.B=b)}}; g.h.AI=function(a){var b=this;if(g.ED(a,128)){var c=this.u.find(function(d){return jS(b,d)}); c&&(kS(this),a=new g.qD(8),c=lS(this,c)/1E3,oS(this,c,a))}}; g.h.Y=function(){nS(this,!1);cM(this);g.A.prototype.Y.call(this)}; var Uka=0;g.r(uS,g.A);uS.prototype.get=function(a){sS(this);var b=this.data.find(function(c){return c.key===a}); return b?b.value:null}; uS.prototype.set=function(a,b,c){this.remove(a,!0);sS(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())&&vS(this,c,!0);tS(this)}; uS.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.data.find(function(d){return d.key===a}); c&&(vS(this,c,b),g.ib(this.data,function(d){return d.key===a}),tS(this))}; uS.prototype.Y=function(){var a=this;g.A.prototype.Y.call(this);this.data.forEach(function(b){vS(a,b,!0)}); this.data=[]};g.r(wS,g.A);wS.prototype.w=function(a){this.u=a[a.length-1].intersectionRatio}; wS.prototype.Y=function(){g.A.prototype.Y.call(this);this.u=null;this.o&&this.o.disconnect()};var Xka=Ab(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}}),xS=!1;g.r(zS,g.V);g.h=zS.prototype;g.h.KF=function(){this.G=new g.sh(0,0,0,0);this.w=new g.sh(0,0,0,0)}; g.h.Ho=function(a){g.Ln(this.element,arguments)}; g.h.Ae=function(){if(this.u){var a=this.getPlayerSize();if(!a.isEmpty()){var b=this.w;b=!g.Vd(a,new g.Ud(b.width,b.height));var c=HS(this);b&&(this.w.width=a.width,this.w.height=a.height);a=this.app.N();(c||b||a.ga)&&this.app.u.R("resize",this.getPlayerSize())}}}; g.h.JI=function(a,b){this.updateVideoData(b)}; g.h.LF=function(a){a.getVideoData()&&this.updateVideoData(a.getVideoData())}; g.h.updateVideoData=function(a){if(this.u){var b=this.app.N();ol&&(this.u.setAttribute("x-webkit-airplay","allow"),a.title?this.u.setAttribute("title",a.title):this.u.removeAttribute("title"));BB(a)?this.u.setAttribute("disableremoteplayback",""):this.u.removeAttribute("disableremoteplayback");this.u.setAttribute("controlslist","nodownload");b.un&&a.videoId&&(this.u.poster=a.Ac("default.jpg"));g.Q(b.experiments,"html5_send_origin_for_progressive")&&a.va&&!a.va.o&&this.u.setAttribute("crossorigin", "anonymous")}b=g.HB(a,"yt:bgcolor");this.A.style.backgroundColor=b?b:"";this.S=px(g.HB(a,"yt:stretch"));this.U=px(g.HB(a,"yt:crop"),!0);g.K(this.element,"ytp-dni",a.tc);this.Ae()}; g.h.setGlobalCrop=function(a){this.J=px(a,!0);this.Ae()}; g.h.getPlayerSize=function(){var a=this.app.N(),b=this.app.u.isFullscreen();if(b&&fl())return new g.Ud(window.outerWidth,window.outerHeight);if(b||a.Am){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.Ud(window.innerWidth,window.innerHeight)}else{if(!isNaN(this.B.width)&&!isNaN(this.B.height))return this.B.clone();if(this.ca&&this.Z&&!this.app.isWidescreen())for(a= 0;a=c,b.dis=this.B.Ek("display"));(a=a?(0,g.nK)():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=JL(this.A))&&(b=iU(b,a.Ya(),"fresca_"));return JSON.stringify(b,null,2)}; g.h.getPresentingPlayerType=function(){return 1==this.U?1:fT(this)?3:g.U(this).getPlayerType()}; g.h.HG=function(a){switch(a.type){case "loadedmetadata":QA("fvb","")||this.O.tick("fvb");aB("fvb");this.xb.start();break;case "loadstart":QA("gv","")||this.O.tick("gv");aB("gv");break;case "progress":case "timeupdate":!QA("l2s","")&&2<=Zv(a.target.md())&&this.O.tick("l2s");break;case "playing":g.Yx&&this.xb.start();if(g.Jx(this.o))a=!1;else{var b=g.EL(this.A);a="none"==this.B.Ek("display")||0==Wd(this.B.rj());var c=FS(this.H),d=this.C.getVideoData(),e=Wx(this.o)||g.Ex(this.o);d=kB(d);b=!c||b||e|| d||this.o.Eg;a=a&&!b}a&&(this.C.Sa("hidden","1",!0),this.getVideoData().vf||(WS(this,"html5_new_elem_on_hidden")?(this.getVideoData().vf=1,this.KA(null),this.C.playVideo()):dU(this,"hidden",!0)))}}; g.h.pL=function(a,b){this.u.ma("onLoadProgress",b)}; g.h.kN=function(){this.u.R("playbackstalledatstart")}; g.h.IG=function(a,b){var c=rT(this,a);b=HT(this,c.getCurrentTime(),c);this.u.ma("onVideoProgress",b)}; g.h.SK=function(){this.u.ma("onDompaused")}; g.h.sM=function(){this.u.R("progresssync")}; g.h.DG=function(a){if(1==this.getPresentingPlayerType()){g.ED(a,1)&&!g.W(a.state,64)&&uT(this).ua&&this.w.isAtLiveHead()&&1Math.random()&&Kq("autoplayTriggered",{intentional:this.fd});this.hd=!1;var b=g.Vr(this.yd||(this.G.o?3:0));if(b){var c={cpn:this.getVideoData().clientPlaybackNonce,csn:b};if(g.Q(this.o.experiments,"web_playback_associated_ve")&&null!=this.getVideoData().mf){var d=g.Kr(this.getVideoData().mf);g.ks(b, d);c.playbackVe=g.Lr(d)}g.Q(this.o.experiments,"kevlar_playback_associated_queue")&&this.getVideoData().queueInfo&&(c.queueInfo=this.getVideoData().queueInfo);Kq("playbackAssociated",c)}WS(this,"web_player_inline_botguard")&&(b=this.getVideoData().botguardData)&&(Eo("BG_I",b.interpreterScript),Eo("BG_IU",b.interpreterUrl),Eo("BG_P",b.program),g.Tx(this.o)&&!WS(this,"web_player_botguard_scheduler_killswitch")||WS(this,"web_player_botguard_use_scheduler")?Mp(function(){As(a.o.ea)}):As(this.o.ea))}; g.h.fL=function(){this.u.R("internalAbandon");WS(this,"html5_ad_module_cleanup_killswitch")||JT(this)}; g.h.xA=function(a){a=a.o;if(!isNaN(a)&&0window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.B.uk()}; g.h.oL=function(a){3!=this.getPresentingPlayerType()&&this.u.R("liveviewshift",a)}; g.h.playVideo=function(a){if(a=g.U(this,a))2==this.U?zT(this):(null!=this.Z&&this.Z.Ea()&&this.Z.start(),g.W(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())}; g.h.pauseVideo=function(a){(a=g.U(this,a))&&a.pauseVideo()}; g.h.stopVideo=function(){var a=this.w.getVideoData(),b=new g.eB(this.o,{video_id:a.Nu||a.videoId,oauth_token:a.oauthToken});b.Ye=g.Rb(a.Ye);QT(this,6);ST(this,b,1);null!=this.Z&&this.Z.stop()}; g.h.sendVideoStatsEngageEvent=function(a,b,c){(b=g.U(this,b))&&this.o.gd.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()}; g.h.updatePlaylist=function(){yT(this);this.u.ma("onPlaylistUpdate")}; g.h.setSizeStyle=function(a,b){this.ne=a;this.pc=b;this.u.R("sizestylechange",a,b);this.H.Ae()}; g.h.isWidescreen=function(){return this.pc}; g.h.isInline=function(){return this.G.isInline()}; g.h.getAdState=function(){if(3==this.getPresentingPlayerType())return g.AL(this.A).getAdState();if(!this.Ob()){var a=rM(this.A);if(a)return a.getAdState()}return-1}; g.h.HM=function(a){var b=this.H.getVideoContentRect();th(this.gd,b)||(this.gd=b,this.C&&JK(this.C),this.w&&this.w!=this.C&&JK(this.w),1==this.G.w&&this.Ra&&bU(this,!0));this.lc&&g.Vd(this.lc,a)||(this.u.R("appresize",a),this.lc=a)}; g.h.Nc=function(){return this.u.Nc()}; g.h.aN=function(){this.getPresentingPlayerType();dU(this,"signature",void 0,!0)}; g.h.KA=function(){jT(this);iT(this)}; g.h.FM=function(a){UK(a,this.B.no())}; g.h.JK=function(){this.u.ma("CONNECTION_ISSUE")}; g.h.EG=function(a){this.u.R("heartbeatparams",a)}; g.h.setBlackout=function(a){this.o.Eg=a;this.C&&(g.LI(this.C.B),this.o.J&&fU(this))}; g.h.WL=function(){var a=g.U(this);if(a){var b=!LL(this.u);g.iL(a,b)}}; g.h.rL=function(){this.u.ma("onLoadedMetadata")}; g.h.TK=function(){this.u.ma("onDrmOutputRestricted")}; g.h.Y=function(){this.A.dispose();this.ya.dispose();this.S&&this.S.dispose();this.w.dispose();jT(this);g.Ie(g.Hb(this.Hc),this.F);fs(this.za);this.za=0;g.A.prototype.Y.call(this)}; g.h.setScreenLayer=function(a){this.yd=a}; g.h.fetchLocalMedia=function(){if(this.ra){var a=this.ra,b=a.api.getVideoData();if(b&&!UB(b)){g.zK(g.U(a.api.app,void 0));if(1!=b.Ri&&(b.Ri=!0,b.ka)){b=b.ka;for(var c in b.o){var d=b.o[c];d.B=!1;d.o=null}}a.api.playVideo()}}}; g.h.fetchLocalMediaById=function(a){if(this.ra){var b=this.ra;b.o.includes(a)||(b.o.push(a),1===b.o.length&&VS(b,a))}}; g.h.getLocalMediaInfoById=function(a){return this.ra?this.ra.getLocalMediaInfoById(a):Promise.reject()}; g.h.getAllLocalMediaInfo=function(){return this.ra?this.ra.getAllLocalMediaInfo():Promise.reject()}; g.h.getVideoUrl=function(a,b,c,d,e){return this.J&&this.J.postId?(a=this.o.getVideoUrl(a),a=Fd(a,"v"),a.replace("/watch","/clip/"+this.J.postId)):this.o.getVideoUrl(a,b,c,d,e)}; var cT={};kU.prototype.fetch=function(a,b){var c=this;if(!a.match(/\[BISCOTTI_ID\]/g))return lU(this,a,b);var d=1===this.u;d&&this.o.app.O.tick("a_bid_s");var e=nla();if(null!==e)return d&&this.o.app.O.tick("a_bid_f"),lU(this,a,b,e);e=ola();d&&Lf(e,function(){c.o.app.O.tick("a_bid_f")}); return e.then(function(f){return lU(c,a,b,f)})}; kU.prototype.reset=function(){this.w=this.u=1};var bra={BS:"replaceUrlMacros",CR:"isExternalShelfAllowedFor"};g.r(nU,g.UD);var cra={commandMetadata:!0,loggingUrls:!0};g.r(vU,g.A);vU.prototype.Y=function(){this.o={};g.A.prototype.Y.call(this)}; vU.prototype.executeCommand=function(a,b,c){var d=this;c=void 0===c?{}:c;a.loggingUrls&&wU(this,"loggingUrls",a,b,c);Object.keys(a).filter(function(e){return!cra.hasOwnProperty(e)}).forEach(function(e){return wU(d,e,a,b,c)})};xU.prototype.o=function(){return"adLifecycleCommand"}; xU.prototype.Ca=function(a){var b=this;switch(a.action){case "START_LINEAR_AD":g.wf(function(){b.u.Yy()}); break;case "END_LINEAR_AD":g.wf(function(){b.u.Xy()}); break;case "END_LINEAR_AD_PLACEMENT":g.wf(function(){b.u.Fs()}); break;case "FILL_INSTREAM_SLOT":g.wf(function(){a.elementId&&b.u.Pw(a.elementId)}); break;case "FILL_ABOVE_FEED_SLOT":g.wf(function(){a.elementId&&((iX(b.w)||jX(b.w)||kX(b.w))&&b.A.ar(a.elementId),b.u.ar(a.elementId))}); break;case "CLEAR_ABOVE_FEED_SLOT":g.wf(function(){(iX(b.w)||jX(b.w)||kX(b.w))&&b.A.Hq();b.u.Hq()})}};yU.prototype.o=function(){return"adPingingEndpoint"}; yU.prototype.Ca=function(a,b,c){c=void 0===c?{}:c;this.u.send(a,b,c)};zU.prototype.o=function(){return"adPlayerControlsCommand"}; zU.prototype.Ca=function(a){switch(a.action){case "AD_PLAYER_CONTROLS_ACTION_SEEK_TO_END":var b=this.u;b=uV(b.o)&&b.u.Zg()?b.o.getDuration(2):0;if(0>=b)break;this.u.seekTo(g.Od(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.Ca=function(a){this.aa.ma("changeEngagementPanelVisibility",{changeEngagementPanelVisibilityAction:a})};BU.prototype.o=function(){return"clearCueRangesCommand"}; BU.prototype.Ca=function(){var a=this;g.wf(function(){var b=a.u;FX(b,Array.from(b.F))})};CU.prototype.send=function(a,b,c){try{var d=a.match(od);if("https"===d[1])var e=a;else d[1]="https",e=md("https",d[2],d[3],d[4],d[5],d[6],d[7]);var f=fn(e);a=[];lq(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.Ca=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.Ca=function(a){var b=this;switch(a.type){case "SKIP":g.wf(function(){b.u.Fs()})}};FU.prototype.o=function(){return"pingingEndpoint"}; FU.prototype.Ca=function(){};GU.prototype.o=function(){return"urlEndpoint"}; GU.prototype.Ca=function(a,b){if(a.url){var c=g.gn(a.url,b);g.kN(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.ma("updateKevlarOrC3Companion",b)};QU.prototype.Rk=function(){return!1}; QU.prototype.O=function(){return function(){return null}};g.r(TU,QU);g.h=TU.prototype;g.h.Vc=function(){return!0}; g.h.Ec=function(){return!1}; g.h.isSkippable=function(){return null!=this.V}; g.h.getVideoUrl=function(){return this.J}; g.h.Rk=function(){return!0};g.r(WU,QU);WU.prototype.Vc=function(){return!0}; WU.prototype.Ec=function(){return!0};g.r(cV,QU);cV.prototype.Vc=function(){return!0}; cV.prototype.Ec=function(){return!1}; cV.prototype.Rk=function(){return!0}; cV.prototype.O=function(){return function(){return g.de("video-ads")}};dV.prototype.wb=function(){return this.P}; dV.prototype.isPostroll=function(){return"AD_PLACEMENT_KIND_END"==this.wb().w};var Gla=["FINAL","CPN","MIDROLL_POS","SDKV","SLOT_POS"];var pV=null;g.r(oV,g.P);g.Ia("ytads.bulleit.getVideoMetadata",function(a){var b=qV();return b.o.hasOwnProperty(a)?b.o[a].Cz():{}},void 0); g.Ia("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=qV();c=Ila(c);null!==c&&d.R(c,{queryId:a,viewabilityString:b})},void 0);rV.prototype.send=function(a,b,c){try{var d=!!a.scrubReferrer,e=g.gn(a.baseUrl,Hla(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.Ne();m&&(f||(f={}),f.Authorization="Bearer "+m)}g.Uq(e,void 0,d,f)}catch(n){}};g.r(sV,rV);sV.prototype.Ne=function(){return this.o?this.o.Ne():""};g.r(tV,g.A);g.r(yV,g.A);g.r(Y,g.P);g.h=Y.prototype;g.h.Cz=function(){return{}}; g.h.Zt=function(){}; g.h.bb=function(a){this.Ie();this.R(a)}; g.h.Mx=function(){}; g.h.Ie=function(){QV(this,this.O,3);this.O=[]}; g.h.getDuration=function(){return this.aa.getDuration(2,!1)}; g.h.Sg=function(){var a=this.vb;zV(a)||!MV(a,"impression")&&!MV(a,"start")||MV(a,"abandon")||MV(a,"complete")||MV(a,"skip")||(BV(a)?HV(a,"pause"):GV(a,"pause"))}; g.h.Xf=function(){this.S||this.F||this.Jb()}; g.h.Uc=function(){JV(this.vb,this.getDuration())}; g.h.Bc=function(){var a=this.vb;!MV(a,"impression")||MV(a,"skip")||MV(a,"complete")||HV(a,"abandon")}; g.h.Tg=function(){var a=this.vb;BV(a)?GV(a,"skip"):!MV(a,"impression")||MV(a,"abandon")||MV(a,"complete")||GV(a,"skip")}; g.h.Jb=function(){if(!this.F){var a=TV(this);this.vb.w.AD_CPN=a;IV(this.vb);this.F=!0}}; g.h.Vb=function(a){a=a||"";var b="",c="",d="";uV(this.aa)&&(b=g.zL(this.aa,2).o,this.aa.app.B&&(c=this.aa.app.B.fe(),null!=this.aa.app.B.Se()&&(d=this.aa.app.B.Se())));var e=this.vb;e.w=mV(e.w,kV(3,"There was an error playing the video ad. Error code: "+(a+"; s:"+b+"; rs:")+(c+"; ec:"+d)));GV(e,"error")}; g.h.ji=function(){}; g.h.wB=function(){this.R("e")}; g.h.xB=function(){this.R("j")}; g.h.yB=function(){this.R("k")}; g.h.zB=function(){this.R("l")}; g.h.AB=function(){this.R("m")}; g.h.BB=function(){this.R("n")}; g.h.CB=function(){this.R("s")}; g.h.dispose=function(){this.la()||(this.Ie(),this.u.unsubscribe("e",this.wB,this),this.u.unsubscribe("j",this.xB,this),this.u.unsubscribe("k",this.yB,this),this.u.unsubscribe("l",this.zB,this),this.u.unsubscribe("m",this.AB,this),this.u.unsubscribe("n",this.BB,this),this.u.unsubscribe("s",this.CB,this),Jla(this.u,this),g.P.prototype.dispose.call(this))}; g.h.Jw=function(){return""};g.r(UV,QU);UV.prototype.Vc=function(){return!1}; UV.prototype.Ec=function(){return!0};g.r(VV,sU);g.r(WV,Y);WV.prototype.Zb=function(){var a=this,b=new VV(this.C.o,this.macros),c=this.aa.getVideoData(2),d=b.renderer;g.Q(this.aa.N().experiments,"ignore_video_data_current_ad_check")&&c&&d&&d.adVideoId?YV(this,c,b):c&&c.Od&&XV(c,b)?YV(this,c,b):(this.o=function(e,f,k){f&&2==k&&XV(f,b)&&f.Od&&(a.o&&(a.aa.removeEventListener("videodatachange",a.o),a.o=null),YV(a,f,b))},this.aa.addEventListener("videodatachange",this.o))}; WV.prototype.ji=function(a){NV(this.vb,a)}; WV.prototype.Y=function(){this.o&&(this.aa.removeEventListener("videodatachange",this.o),this.o=null);Y.prototype.Y.call(this)};g.r(ZV,QU);ZV.prototype.Vc=function(){return!0}; ZV.prototype.Ec=function(){return!1};g.r($V,sU);g.r(aW,Y);g.h=aW.prototype;g.h.Zb=function(){0=this.B&&(g.M(Error("durationMs was specified incorrectly with a value of: "+this.B)),this.Uc());this.Jb();this.aa.addEventListener("progresssync",this.G)}; g.h.Bc=function(){Y.prototype.Bc.call(this);this.bb("d")}; g.h.Jb=function(){var a=this.aa.N();Y.prototype.Jb.call(this);this.o=Math.floor(this.aa.getCurrentTime());this.w=this.o+this.B/1E3;g.Jx(a)?this.aa.ma("onAdMessageChange",{renderer:this.A.o,startTimeSecs:this.o}):RV(this,[new pW(this.A.o)]);a=(a=this.aa.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.Vr();b&&Kq("adNotify",{clientScreenNonce:b,adMediaTimeSec:this.w,timeToAdBreakSec:Math.ceil(this.w-this.o),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.A.o.videoAdBreakOffsetMs/1E3)}); g.W(g.zL(this.aa,1),512)&&(a=(a=this.aa.getVideoData(1))&&a.clientPlaybackNonce||"",(b=g.Vr())&&Kq("adNotifyFailure",{clientScreenNonce:b,adMediaTimeSec:this.w,timeToAdBreakSec:Math.ceil(this.w-this.o),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.A.o.videoAdBreakOffsetMs/1E3)}),this.Uc())}; g.h.Uc=function(){Y.prototype.Uc.call(this);this.bb("h")}; g.h.Vb=function(a){Y.prototype.Vb.call(this,a);this.bb("i")}; g.h.bb=function(a){this.aa.removeEventListener("progresssync",this.G);this.Ie();this.R(a)}; g.h.dispose=function(){this.aa.removeEventListener("progresssync",this.G);Y.prototype.dispose.call(this)}; g.h.Ie=function(){g.Jx(this.aa.N())?this.aa.ma("onAdMessageChange",{renderer:null,startTimeSecs:this.o}):Y.prototype.Ie.call(this)};g.r(rW,sU);g.r(sW,Y);sW.prototype.Zb=function(){RV(this,[new rW(this.C.o,this.macros)])}; sW.prototype.ji=function(a){NV(this.vb,a)};g.r(tW,Y);tW.prototype.Zb=function(){var a=TV(this);this.vb.w.AD_CPN=a;IV(this.vb)};g.r(uW,sU);g.r(vW,sU);g.r(wW,Y);wW.prototype.Zb=function(){var a;if(a=g.Q(this.aa.N().experiments,"render_enhanced_overlays_as_ctas_for_desktop"))a=this.o.o,a=a.contentSupportedRenderer?!!a.contentSupportedRenderer.enhancedTextOverlayAdContentRenderer:!1;a?(a=new vW(this.o.o,this.macros),RV(this,[a])):(a=new uW(this.o.o,this.macros),RV(this,[a]))};g.r(xW,sU);g.r(yW,Y);yW.prototype.Zb=function(){this.Jb()}; yW.prototype.Jb=function(){RV(this,[new xW(this.o.o,this.macros)]);Y.prototype.Jb.call(this)}; yW.prototype.Vb=function(a){Y.prototype.Vb.call(this,a);this.bb("i")};CW.prototype.sendAdsPing=function(a){this.B.send(a,GW(this),{})};g.r(IW,sU);g.r(JW,Y);JW.prototype.Zb=function(){var a=new IW(this.o.o,this.macros);RV(this,[a])};g.r(KW,sU);g.r(LW,Y);LW.prototype.Zb=function(){var a=new KW(this.C.o,this.macros);RV(this,[a])}; LW.prototype.ji=function(a){NV(this.vb,a)};g.r(OW,g.P);OW.prototype.getProgressState=function(){return this.w}; OW.prototype.start=function(){this.A=Date.now();NW(this,{current:this.o/1E3,duration:this.u/1E3});this.Da.start()}; OW.prototype.stop=function(){this.Da.stop()};g.r(PW,sU);g.r(QW,Y);g.h=QW.prototype;g.h.Zb=function(){this.Jb()}; g.h.Jb=function(){var a=this.A.o;g.Jx(this.aa.N())?(a=Yla(this.B,a),this.aa.ma("onAdInfoChange",a),this.o&&this.o.start()):RV(this,[new PW(a)]);Y.prototype.Jb.call(this)}; g.h.getDuration=function(){return this.A.u}; g.h.Sg=function(){Y.prototype.Sg.call(this);this.o&&this.o.stop()}; g.h.Xf=function(){Y.prototype.Xf.call(this);this.o&&this.o.start()}; g.h.Bc=function(){Y.prototype.Bc.call(this);this.bb("c")}; g.h.Tg=function(){Y.prototype.Tg.call(this);this.bb("h")}; g.h.Vb=function(a){Y.prototype.Vb.call(this,a);this.bb("i")}; g.h.bb=function(a){this.Ie();"c"!=a&&MY(this.G.ca);this.R(a)}; g.h.ji=function(a){switch(a){case "skip-button":this.Tg();break;case "survey-submit":this.bb("h")}}; g.h.Ie=function(){g.Jx(this.aa.N())?(this.o&&this.o.stop(),this.aa.ma("onAdInfoChange",null)):Y.prototype.Ie.call(this)};g.r(RW,sU);g.r(SW,Y);SW.prototype.Zb=function(){this.Jb()}; SW.prototype.Jb=function(){RV(this,[new RW(this.o.o,this.macros)]);Y.prototype.Jb.call(this)}; SW.prototype.Bc=function(){Y.prototype.Bc.call(this);this.bb("c")}; SW.prototype.Vb=function(a){Y.prototype.Vb.call(this,a);this.bb("i")};g.r(TW,sU);g.r(UW,Y);g.h=UW.prototype;g.h.Zb=function(){0b)if(e=this.aa.app,c=b-a,e.S){var f=void 0;e=g.q(e.S.o);for(var k=e.next();!k.done;k=e.next())if(k=k.value,k.Bb==d){var l=k;break}l&&(void 0==f&&(f=l.Lb), aS(l,c,f))}else{l=e.ya;e=void 0;k=g.q(l.u);for(var m=k.next();!m.done;m=k.next())if(m=m.value,m.Bb==d){f=m;break}f?(void 0==e&&(e=f.Lb),rS(l,f,c,e)):dS(l,"e.InvalidTimelinePlaybackId timelinePlaybackId="+d)}return d}; g.h.dispose=function(){vV(this.aa)&&!this.H&&this.aa.stopVideo(2);gX(this,"c");Y.prototype.dispose.call(this)};qX.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={Oi:null,ry:-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}d=Math.max(a.startSecs,0);a={oE:new Hi(d,c),XF:new Ct(d,c-d,a.context,a.identifier,a.event,a.o)}}a&&(c=a.XF,b.Oi=a.oE,this.u.JA(c))}}; qX.prototype.updateTime=function(){};g.r(rX,g.P); rX.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.startSecs+a.o/1E3;if(!(b=b?null:b,null!==b){switch(a.event){case "start":case "continue":if(this.w.hasOwnProperty(a.identifier))break a;break;case "predictStart":case "stop":break a;default:break a}var c=Math.max(a.startSecs,0);this.u=new Hi(c,b);a=new Ct(c,b-c,a.context,a.identifier,a.event,a.o);this.w[a.identifier]=null;this.o=a.startSecs+a.o/1E3+5;this.R("Identified a new cuerange",a)}}}; rX.prototype.updateTime=function(a){this.u&&(this.u.end<=a||!(null===this.o||ab.o.getCurrentTime(2,!1)&&!g.Q(b.o.N().experiments,"html5_dai_pseudogapless_seek_killswitch")))){c=b.u;if(c.Rk()){var d=g.Q(b.H.o.N().experiments,"html5_dai_enable_active_view_creating_completed_adblock");c=c.G;d=void 0===d?!1:d;var e=Em.getInstance().Fn(c,{});e?yk(e):d&&(c=Em.getInstance().Rl(null,$i(),!1,c),c.Dc=3,Vk([c]))}b.u.F.seek=!0}0>DD(a,4)&&!(0>DD(a,2))&&(b=this.u.vb,zV(b)||(BV(b)?HV(b,"resume"):GV(b,"resume")));!g.Q(this.aa.N().experiments, "html5_dai_handle_suspended_state_killswitch")&&this.Ub&&g.ED(a,512)&&!g.AD(a.state)&&CX(this.F)}}; g.h.Ez=function(){}; g.h.resume=function(){this.u&&this.u.Zt()}; g.h.Xs=function(){this.u&&this.u.bb("h")}; g.h.Eo=function(){this.Xs()}; g.h.Dz=function(a){var b=this.wc;b.w&&g.Q(b.o.N().experiments,"html5_bulleit_dai_publish_ad_ux_killswitch")||b.o.ma("onAdUxUpdate",a)}; g.h.onAdUxClicked=function(a){this.u.ji(a)}; g.h.Xw=function(){return 0}; g.h.Zw=function(){return 1}; g.h.Ap=function(a){this.Ub&&this.o.F&&this.o.wb().start<=a&&a=Math.abs(c-this.o.wb().end/1E3)):c=!0;if(c&&!this.o.B.hasOwnProperty("ad_placement_end")){c=g.q(this.o.H);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&&(zX(this.Je,{cueIdentifier:this.o.u&&this.o.u.identifier,driftRecoveryMs:c,jB:this.o.wb().start,wy:NX(this)}),this.o.A=null);b||this.Ub?lZ(this.wc,!0): this.J&&this.Ws()&&this.Zg()?lZ(this.wc,!1,jma(this)):lZ(this.wc,!1);KX(this,!0)}; g.h.Ys=function(a){rZ(this.wc,a)}; g.h.Cn=function(){return this.B}; g.h.isLiveStream=function(){return this.J}; g.h.reset=function(){return new HX(this.wc,this.aa,this.F.reset(),this.o,this.Je,this.Pi,this.Cg,this.Ub)}; g.h.Y=function(){g.He(this.u);this.u=null;g.P.prototype.Y.call(this)};PX.prototype.create=function(a){return(a.o instanceof XU?this.A:a.o instanceof wX?this.w:""===a.C?this.o:this.u)(a)};g.r(QX,g.P);g.h=QX.prototype;g.h.wb=function(){return this.o.wb()}; g.h.Do=function(){return fV(this.o)}; g.h.Ws=function(){return eV(this.o)}; g.h.gj=function(){return!1}; g.h.xl=function(){return!1}; g.h.onAdUxClicked=function(){}; g.h.zr=function(a){var b=this;if(1!==this.o.w&&2!==this.o.w){var c=[];this.Do()||(c=EX(a));this.o.w=1;Lf(this.B.fetch(this.o.C,{lk:this.o.u||void 0,Hb:this.o.wb(),wu:NY(this.u.ca)}).then(function(d){if(!b.la()){var e=c;g.Q(b.A.N().experiments,"enable_client_deferred_full_screen_filtering_for_mweb_phones")&&b.A.isFullscreen();d=mma(b,d);var f=b.w;f.u&&d.isEmpty&&yX("DAI_ERROR_TYPE_NO_AD_BREAK_RENDERER",f.o.clientPlaybackNonce);d.hy||(b.o.w=2,GX(new DX(b.u),e),d.isEmpty||(e=b.u,d=d.Ah,gZ(e,d,!0),d= bZ(e,d),hZ(e,d)))}},function(){GX(new DX(b.u),c); var d=b.w;d.u&&yX("DAI_ERROR_TYPE_AD_REQUEST_FAIL",d.o.clientPlaybackNonce)}),function(){2!==b.o.w&&(b.o.w=0); b.Do()&&dZ(b.u)})}}; g.h.xj=function(){}; g.h.Ap=function(){};g.r(RX,g.V);RX.prototype.executeCommand=function(a){(a=void 0===a?null:a)&&this.A.executeCommand(a,this.B)};g.r(TX,g.A);TX.prototype.append=function(a){if(!this.G)throw Error("This does not support the append operation");this.Km(a.gb())}; TX.prototype.Km=function(a){this.gb().appendChild(a)}; g.r(UX,TX);UX.prototype.gb=function(){return this.o};g.r(WX,g.A);var dra=new WeakSet;g.r(Z,g.HC);g.h=Z.prototype;g.h.bind=function(a){if(!this.da&&a.renderer){var b=Object.assign({},VX(this.api,this.oa),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.xa&&g.J(this.element,this.xa);this.G=b&&b.adRendererCommands;this.macros=c;this.F=b.trackingParams||null;null!=this.F&&$X(this,this.element,this.F)}; g.h.clear=function(){}; g.h.hide=function(){g.HC.prototype.hide.call(this);null!=this.F&&aY(this,this.element,!1)}; g.h.show=function(){g.HC.prototype.show.call(this);if(!this.Fa){this.Fa=!0;var a=this.G&&this.G.impressionCommand;a&&this.oa.executeCommand(a,this.macros,null)}null!=this.F&&aY(this,this.element,!0)}; g.h.onClick=function(a){if(this.F&&!dra.has(a)){var b=this.element;YL(this.api,b)&&this.Ea()&&g.WL(this.api,b);dra.add(a)}(a=this.G&&this.G.clickCommand)&&this.oa.executeCommand(a,this.macros,this.ex())}; g.h.ex=function(){return null}; g.h.xJ=function(a){var b=this.O;b.F=!0;b.u=a.touches.length;b.o.isActive()&&(b.o.stop(),b.B=!0);a=a.touches;b.C=XX(b,a)||1!=a.length;var c=a.item(0);b.C||!c?(b.G=Infinity,b.H=Infinity):(b.G=c.clientX,b.H=c.clientY);for(c=b.w.length=0;cMath.pow(5,2))b.A=!0}; g.h.vJ=function(a){if(this.O){var b=this.O,c=a.changedTouches;c&&b.F&&1==b.u&&!b.A&&!b.B&&!b.C&&XX(b,c)&&(b.J=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.Y=function(){this.clear(null);this.Xa(this.sa);for(var a=g.q(this.S),b=a.next();!b.done;b=a.next())this.Xa(b.value);g.HC.prototype.Y.call(this)};g.r(cY,g.A);cY.prototype.Y=function(){this.u&&g.zp(this.u);this.o.clear();dY=null;g.A.prototype.Y.call(this)}; cY.prototype.register=function(a,b){b&&this.o.set(a,b)}; var dY=null;g.r(hY,TX);hY.prototype.addEventListener=function(a,b){this.C.subscribe(a,b)}; hY.prototype.removeEventListener=function(a,b){this.C.unsubscribe(a,b)}; hY.prototype.dispatchEvent=function(a){this.C.R(a.type,a)};g.r(iY,g.A);g.h=iY.prototype;g.h.bind=function(a){var b=a.renderer,c=b.trackingParams;if(this.J&&this.J!=c)throw Error("Cannot re-bind presenter with new tracking params");if(c){this.J=c;var d=this.view,e=this.o,f=d.gb();g.UL(e,f,d);g.VL(e,f,c)}this.H=b.impressionEndpoints||[];this.macros=Object.assign({},a.macros);return this.B(a)}; g.h.Ea=function(){return this.O}; g.h.show=function(){this.view.show();this.O=!0;var a=this.o,b=this.view.gb();YL(a,b)&&g.XL(a,b,!0);kY(this,this.H);this.H=[]}; g.h.hide=function(){this.Er();this.O=!1;var a=this.o,b=this.view.gb();YL(a,b)&&g.XL(a,b,!1)}; g.h.Er=function(){this.view.hide()}; g.h.onClick=function(a){a=void 0===a?{}:a;this.G(a);if(this.Ea()){a=this.o;var b=this.view.gb();YL(a,b)&&g.WL(a,b)}}; g.h.executeCommand=function(a){this.A.executeCommand(a,jY(this))};g.r(lY,g.P);g.h=lY.prototype;g.h.show=function(){if(!this.Ea()){this.B.L(document,"click",this.hH);this.o.show();var a=this.o.element,b=g.Ph(Hh(this.A)).width,c=g.Ph(this.A),d=Fh(this.A);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}}; g.h.hide=function(){this.Ea()&&(this.o.hide(),g.yr(this.B))}; g.h.Ea=function(){return this.o.Ea()}; g.h.setTitle=function(a){a?this.w.show():this.w.hide();this.w.tb(nY(a))}; g.h.hH=function(a){this.Ea()&&(a=a.target,g.xe(this.A,a)||(g.xe(this.u.o["ytp-ad-info-dialog-confirm-button"],a)?this.R("confirmClick"):g.xe(this.o.element,a)||this.R("externalClick")))}; var qma={xQ:"confirmClick",UQ:"externalClick"};g.r(oY,hY);oY.prototype.setTitle=function(a){this.o.setTitle(a)}; oY.prototype.show=function(){this.o.show()}; oY.prototype.hide=function(){this.o.hide()}; oY.prototype.gb=function(){return this.o.o.element};var rma={cD:oY},tma=["confirmClick","externalClick"];g.r(pY,iY);pY.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.tb(nY(d));b.setTitle(a.title||null);b.o.o.tb(nY(a.dialogMessage||null));g.se(mY(b.o));c=g.q(a.adReasons||[]);for(d=c.next();!d.done;d=c.next())d=d.value,mY(b.o).appendChild(g.oe("li",null,nY(d)));this.u=a.confirmServiceEndpoint||null;return Promise.resolve()}; pY.prototype.Er=function(){iY.prototype.Er.call(this);this.u&&(this.executeCommand(this.u),this.u=null)}; pY.prototype.G=function(a){switch(a.type){case "confirmClick":case "externalClick":this.hide()}};g.r(qY,Z);g.h=qY.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=gY(b.hoverText),g.te(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.Dr=function(){this.u&&g.Qh(this.u,!1)}; g.h.jH=function(){this.w.Ea()||this.u&&g.Qh(this.u,!0)}; g.h.iH=function(){this.w.show();this.Dr()}; g.h.clear=function(){this.hide()};g.r(rY,RX);g.r(sY,wX);g.h=sY.prototype;g.h.Vc=function(){return!1}; g.h.Ec=function(){return!0}; g.h.mx=function(){var a=this.o,b=new vla;b.url=a.iframeUrl||null;b.width=a.iframeWidth||0;b.height=a.iframeHeight||0;b.impressionTrackingUrls=tY(a.impressionCommands||[]);b.clickTrackingUrls=tY(a.onClickCommands||[]);b.adInfoRenderer=a.adInfoRenderer||null;a=new OU;a.iframeCompanionRenderer=b;return a}; g.h.jx=function(){return[new g.Ud(300,60)]}; g.h.xw=function(a,b){return new rY(a,b,this.o)};g.r(uY,Y);g.h=uY.prototype;g.h.zr=function(a){if(!oU(a)){var b=new DX(this.G);a=EX(a);GX(b,a)}this.xj()}; g.h.xj=function(){var a=this;if(this.o instanceof sY){var b=this.aa.getVideoData(2);if(!b||b.Dd||(null==this.o.o||this.o.o.adVideoId!=b.videoId)&&!g.Q(this.aa.N().experiments,"ignore_video_data_current_ad_check")){this.w=function(c,d,e){if(d&&2==e&&null!=a.o.o&&a.o.o.adVideoId==d.videoId||g.Q(a.aa.N().experiments,"ignore_video_data_current_ad_check"))a.w&&(a.aa.removeEventListener("videodatachange",a.w),a.w=null),g.Q(a.aa.N().experiments,"populate_companion_metadata_from_vms_html5")?PV(a):d.isListed&& PV(a)}; this.aa.addEventListener("videodatachange",this.w);return}if(!b.isListed&&!g.Q(this.aa.N().experiments,"populate_companion_metadata_from_vms_html5"))return}PV(this)}; g.h.Zb=function(){var a=this;kZ(this.G,this);if(wV(this.aa)){var b=this.aa.getVideoData(1),c=this.o.mx();null!=c&&(c.macros=Object.assign({},this.macros),this.H.showCompanion(b.videoId,c))}else{var d=this.o.jx();wla(this.H).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.o.xw(a.aa,a.G,e),null!=f&&(g.C(a,f),k=a.H,k.o&&k.o.showCompanion(f.element, e.width,e.height)))})}if(this.o instanceof sY){this.B=function(e){var f; if(f=e.data)try{f=lq(e.source.document.location.origin)}catch(l){f=!1}if(f)if(f=a.o.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.Jo(l)}else"pause-video"==e.data&&a.aa.pauseVideo()}; try{window.addEventListener("message",this.B)}catch(e){g.M(e)}}}; g.h.onAdUxClicked=function(a){NV(this.vb,a)}; g.h.wb=function(){return this.A.wb()}; g.h.Do=function(){return fV(this.A)}; g.h.Ws=function(){return eV(this.A)}; g.h.gj=function(){return!0}; g.h.xl=function(){return this.A.o.Ec()}; g.h.Ap=function(){}; g.h.Y=function(){if(this.B)try{window.removeEventListener("message",this.B),this.B=null}catch(a){g.M(a)}this.w&&(this.aa.removeEventListener("videodatachange",this.w),this.w=null);Y.prototype.Y.call(this)};var vma=Object.freeze([ZV,dW,cV,lW,mW,TU]);g.r(wY,HX);g.h=wY.prototype;g.h.ax=function(){for(var a=this.A.o,b=g.q(a),c=b.next();!c.done;c=b.next());return a}; g.h.fy=function(){return(0>=this.C?this.A.o:this.A.o.slice(this.C)).some(function(a){return a.Vc()})}; g.h.yl=function(){return this.G instanceof cV||this.G instanceof lW}; g.h.Zg=function(){return this.G instanceof TU||this.G instanceof dW}; g.h.kB=function(){this.Ub?uV(this.aa)&&IX(this):xY(this)}; g.h.Zb=function(a){var b=vY(a);this.G&&b&&this.H!==b&&(b?mZ(this.wc):oZ(this.wc),this.H=b);this.G=a;this.Ub&&(this.C=this.A.o.findIndex(function(c){return c===a})); HX.prototype.Zb.call(this,a)}; g.h.Kg=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.Kg.call(this,a,b)}; g.h.Eo=function(){this.C=this.A.o.length;this.w&&this.w.bb("h");this.u&&this.u.bb("h");this.Kg()}; g.h.Ez=function(){xY(this)}; g.h.Xs=function(){this.ni()}; g.h.Zs=function(a){HX.prototype.Zs.call(this,a);a=a.state;g.W(a,2)&&this.w?this.w.Uc():g.xD(a)?(null==this.w&&(a=this.A.w)&&(this.w=this.Cg.create(a,lV(iV(this.o))),this.w.subscribe("onAdUxUpdate",this.Dz,this),PV(this.w)),this.w&&this.w.Xf()):a.isError()&&this.w&&this.w.Vb(a.u.errorCode)}; g.h.ni=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.Ub||(rZ(this.wc,0),a?this.Kg(a,b):xY(this))}; g.h.mA=function(){1==this.A.u?this.Kg():this.ni()}; g.h.onAdUxClicked=function(a){HX.prototype.onAdUxClicked.call(this,a);this.w&&this.w.ji(a)}; g.h.Cn=function(){var a=0>=this.C?this.A.o:this.A.o.slice(this.C);return 0DD(a,16)&&(this.S.forEach(this.wl,this),this.S.clear())}; g.h.Bz=function(){if(this.u){var a=this.u;a.Ub&&IX(a)}if(this.w){a=1E3*this.o.getCurrentTime(g.Q(this.o.N().experiments,"bulleit_explicitly_use_content_video_ms_for_cue_range")?1:void 0);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.Jo(Error("Found AdImage without valid image URL")):(this.u?g.vh(this.element,"backgroundImage","url("+b+")"):fe(this.element,{src:b}),fe(this.element,{alt:a&&a.accessibility&&a.accessibility.label||""}),this.show())}; tZ.prototype.clear=function(){this.hide()};g.r(vZ,Z); vZ.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.Jo(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.hc(a)||(this.element.setAttribute("aria-label",a),this.B=new g.HC({D:"span",I:"ytp-ad-button-text",W:a}),g.C(this,this.B),this.B.ba(this.element)));null!=b.icon&&(b=uZ(b.icon),null!= b&&(this.w=new g.HC({D:"span",I:"ytp-ad-button-icon",K:[b]}),g.C(this,this.w)),this.C?g.te(this.element,this.w.element,0):this.w.ba(this.element))}}; vZ.prototype.clear=function(){this.hide()}; vZ.prototype.onClick=function(a){var b=this;Z.prototype.onClick.call(this,a);Jma(this).forEach(function(c){return b.oa.executeCommand(c,b.macros)}); this.api.onAdUxClicked(this.componentType)};g.r(wZ,Z);wZ.prototype.clear=function(){this.dispose()};g.r(zZ,wZ);g.h=zZ.prototype;g.h.init=function(a,b,c){wZ.prototype.init.call(this,a,b,c);g.vh(this.A,"stroke-dasharray","0 "+this.w);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){yZ(this);wZ.prototype.hide.call(this)}; g.h.show=function(){xZ(this);wZ.prototype.show.call(this)}; g.h.ti=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.vh(this.A,"stroke-dasharray",a+" "+this.w))}};g.r(AZ,Z);AZ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.u=b;this.isTemplated()||g.ye(this.element,YX(this.u));if(b.backgroundImage&&(a=(a=b.backgroundImage.thumbnail)?sZ(a):"",c=(c=this.api.getVideoData(1))&&c.Zl,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()}; AZ.prototype.isTemplated=function(){return this.u.isTemplated||!1}; AZ.prototype.clear=function(){this.hide()};g.r(CZ,wZ);g.h=CZ.prototype; g.h.init=function(a,b,c){wZ.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.ga&&g.J(this.w.element,"countdown-next-to-thumbnail");a=b.durationMilliseconds;this.U=null==a||0===a?this.u.Wz():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview);this.A.init(rU("ad-text"),d,c);(d=this.api.getVideoData(1))&& d.Zl&&b.thumbnail?this.C.init(rU("ad-image"),b.thumbnail,c):this.H.hide()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){this.w.hide();this.A.hide();this.C.hide();yZ(this);wZ.prototype.hide.call(this)}; g.h.show=function(){xZ(this);this.w.show();this.A.show();this.C.show();wZ.prototype.show.call(this)}; g.h.ti=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.Z&&a>=this.U?(g.Q(this.api.N().experiments,"enable_pubsub_for_skip_transition_bulleit")||this.J.hide(),this.Z=!0,this.R("t")):this.A&&this.A.isTemplated()&&(a=Math.max(0,Math.ceil((this.U-a)/1E3)),a!=this.ea&&(BZ(this.A,{TIME_REMAINING:String(a)}),this.ea=a)))}};g.r(EZ,g.A);g.h=EZ.prototype;g.h.Y=function(){this.reset();g.A.prototype.Y.call(this)}; g.h.reset=function(){g.yr(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.KL,this);this.B.L(this.w,"mouseout",this.HL,this);this.o?this.o.start():(this.C=this.u=!0,g.vh(this.w,{opacity:this.H}))}; g.h.KL=function(){this.u&&(this.u=!1,this.F.play());this.A.stop();this.o&&this.o.stop()}; g.h.HL=function(){this.C?this.A.start():this.o&&this.o.start()}; g.h.Vv=function(){this.u||(this.u=!0,this.G.play(),this.C=!0)};var Kma=Ab(function(){return new nba}),Pma=Ab(function(){return new Mma});g.r(GZ,wZ);g.h=GZ.prototype; g.h.init=function(a,b,c){wZ.prototype.init.call(this,a,b,c);this.H=b;this.ea=Qma(this);!b||g.Ob(b)?g.M(Error("SkipButtonRenderer was not specified or empty.")):!b.message||g.Ob(b.message)?g.M(Error("SkipButtonRenderer.message was not specified or empty.")):(a={iconType:"SKIP_NEXT"},b=uZ(a),null==b?g.M(Error("Icon for SkipButton was unable to be retrieved. yt.innertube.Icon.IconType: "+a.iconType+".")):(this.C=new g.HC({D:"button",X:["ytp-ad-skip-button","ytp-button"],K:[{D:"span",I:"ytp-ad-skip-button-icon", K:[b]}]}),g.C(this,this.C),this.C.ba(this.A.element),this.w=new AZ(this.api,this.oa,"ytp-ad-skip-button-text"),this.w.init(rU("ad-text"),this.H.message,c),g.C(this,this.w),g.te(this.C.element,this.w.element,0)),g.Q(this.api.N().experiments,"bulleit_use_touch_events_for_skip")&&bY(this))}; g.h.clear=function(){this.U.reset();this.hide()}; g.h.hide=function(){this.A.hide();this.w&&this.w.hide();yZ(this);wZ.prototype.hide.call(this);this.Z.stop();this.J&&(this.J(),this.J=null)}; g.h.onClick=function(a){if(null!=this.C&&(a&&g.Ep(a),wZ.prototype.onClick.call(this,a),this.R("u"),!this.ea))this.api.onAdUxClicked(this.componentType)}; g.h.ex=function(){return"skip"}; g.h.show=function(){this.U.start();this.A.show();this.w&&this.w.show();xZ(this);wZ.prototype.show.call(this);g.Bn(this.Z)}; g.h.ti=function(){this.R("v")}; g.h.nh=function(){};g.r(HZ,g.P);g.h=HZ.prototype;g.h.Wz=function(){return this.u}; g.h.start=function(){this.w||(this.w=!0,this.Da.start())}; g.h.stop=function(){this.w&&(this.w=!1,this.Da.stop())}; g.h.tJ=function(){this.o+=100;var a=!1;this.o>this.u&&(this.o=this.u,this.Da.stop(),a=!0);this.A={seekableStart:0,seekableEnd:this.u/1E3,current:this.o/1E3};this.B&&MW(this.B,this.A.current);this.R("b");a&&this.R("a")}; g.h.getProgressState=function(){return this.A};g.r(IZ,Z);g.h=IZ.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&&0e)g.M(Error("timeoutSeconds was specified incorrectly in AdChoiceInterstitialRenderer with a value of: "+e));else if(b.completeCommands)if(b.adDurationRemaining&&b.adDurationRemaining.timedPieCountdownRenderer){g.ye(this.o["ytp-ad-choice-interstitial-head-title"],g.T(b.text));a:switch(f=b.defaultButtonChoiceIndex,f){case 0:case 1:break a;default:g.M(Error("AdChoiceInterstitialRenderer received an invalid value for default button choice index (i.e., not 0 or 1): "+ f)),f=1}k=a;2!==d.length?d=!1:(this.A=Rma(this,d[0],k,0===f),this.A.show(),this.C=Rma(this,d[1],k,1===f),this.C.show(),d=!0);d?(Sma(this,b.completeCommands,c,e),b&&b.adDurationRemaining&&b.adDurationRemaining.timedPieCountdownRenderer&&(d=b.adDurationRemaining.timedPieCountdownRenderer,e=this.o["ytp-ad-choice-interstitial"],this.w=new zZ(this.api,this.oa,this.u,!0),g.C(this,this.w),this.w.init(rU("timed-pie-countdown"),d,c),this.w.ba(e)),b&&b.background&&(c=this.o["ytp-ad-choice-interstitial"],b= sZ(b.background)||"",g.hc(b)?g.Jo(Error("Found ThumbnailDetails without valid image URL")):g.vh(c,"backgroundImage","url("+b+")")),b=8*a+32,a=this.o["ytp-ad-choice-interstitial-button-container"],190=a?g.M(Error("durationMilliseconds was specified incorrectly in AdTextInterstitialRenderer with a value of: "+a)):(this.u.init(rU("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(){Tma(!0);Z.prototype.show.call(this)}; g.h.hide=function(){Tma(!1);Z.prototype.hide.call(this)}; g.h.onClick=function(){};g.r(MZ,Z); MZ.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 vZ(this.api,this.oa),g.C(this,this.button),this.button.init(rU("button"),b,this.macros),a&&this.button.element.setAttribute("aria-label",g.T(a)),this.button.ba(this.element),this.C&&!g.Kn(this.button.element,"ytp-ad-clickable")&&g.J(this.button.element,"ytp-ad-clickable"),a&& (this.w=new g.HC({D:"div",I:"ytp-ad-hover-text-container"}),this.B&&(b=new g.HC({D:"div",I:"ytp-ad-hover-text-callout"}),b.ba(this.w.element),g.C(this,b)),g.C(this,this.w),this.w.ba(this.element),b=gY(a),g.te(this.w.element,b,0)),this.show())}; MZ.prototype.hide=function(){this.button&&this.button.hide();this.w&&this.w.hide();Z.prototype.hide.call(this)}; MZ.prototype.show=function(){this.button&&this.button.show();Z.prototype.show.call(this)};g.r(NZ,Z);g.h=NZ.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.Jo(Error("AdFeedbackRenderer.cancelLabel was not set.")),null==b.title&&g.Jo(Error("AdFeedbackRenderer.title was not set.")),Xma(this,b)):g.M(Error("AdFeedbackRenderer.reasons were not set."))}; g.h.clear=function(){Jp(this.B);Jp(this.H);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.aA=function(){this.api.onAdUxClicked("ad-feedback-dialog-close-button");this.R("w");this.hide()}; g.h.zN=function(){this.hide()}; Yma.prototype.isChecked=function(){return this.w.checked};g.r(OZ,Z);g.h=OZ.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.")):Zma(this,b):g.M(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; g.h.clear=function(){g.yr(this.u);this.hide()}; g.h.Et=function(){this.hide()}; g.h.Dt=function(){var a=this.w.cancelEndpoint;a&&this.oa.executeCommand(a,this.macros);this.hide()}; g.h.Ft=function(){var a=this.w.confirmNavigationEndpoint||this.w.confirmEndpoint;a&&this.oa.executeCommand(a,this.macros);this.hide()};g.r(PZ,OZ);PZ.prototype.Et=function(a){OZ.prototype.Et.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; PZ.prototype.Dt=function(a){OZ.prototype.Dt.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; PZ.prototype.Ft=function(a){OZ.prototype.Ft.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-confirm-button");this.R("x")};g.r(QZ,Z);g.h=QZ.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.Jo(Error("AdInfoDialogRenderer.confirmLabel was not set."));if(a=b.closeOverlayRenderer&&b.closeOverlayRenderer.buttonRenderer||null)this.u=new vZ(this.api,this.oa,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"),g.C(this,this.u),this.u.init(rU("button"), a,this.macros),this.u.ba(this.element);b.title&&(a=g.T(b.title),this.ha("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(rU("ad-text"),d,c);this.w.ba(this.A.element);this.H.show(100);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){sna(this,!1);wZ.prototype.hide.call(this);this.A.hide();this.w.hide();yZ(this)}; g.h.show=function(){sna(this,!0);wZ.prototype.show.call(this);xZ(this);this.A.show();this.w.show()}; g.h.ti=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.J&&a>=this.C?(this.H.hide(),this.J=!0):this.w&&this.w.isTemplated()&&(a=Math.max(0,Math.ceil((this.C-a)/1E3)),a!=this.U&&(BZ(this.w,{TIME_REMAINING:String(a)}),this.U=a)))}};g.r($Z,wZ);g.h=$Z.prototype; g.h.init=function(a,b,c){wZ.prototype.init.call(this,a,b,c);a=b&&b.preskipRenderer&&b.preskipRenderer.adPreviewRenderer||{};if(a=g.Ob(a)?null:a){this.C=null!=a.durationMilliseconds&&void 0!==a.durationMilliseconds?a.durationMilliseconds:5E3;var d="countdown_next_to_thumbnail"==g.nv(this.api.N().experiments,"preskip_button_style_ads_backend")&&Hx(this.api.N());this.w=new CZ(this.api,this.oa,this.u,d);this.w.init(rU("preskip-component"),a,c);DZ(this.w);g.C(this,this.w);this.w.ba(this.element);g.Q(this.api.N().experiments, "enable_pubsub_for_skip_transition_bulleit")&&this.w.subscribe("t",this.mM,this)}else b.skipOffsetMilliseconds&&(this.C=b.skipOffsetMilliseconds);b=b&&b.skippableRenderer&&b.skippableRenderer.skipButtonRenderer||{};b=g.Ob(b)?null:b;null==b?g.M(Error("SkipButtonRenderer was not set in player response.")):(this.A=new GZ(this.api,this.oa,this.u),this.A.init(rU("skip-button"),b,c),g.C(this,this.A),this.A.ba(this.element),this.show())}; g.h.show=function(){this.H&&this.A?this.A.show():this.w&&this.w.show();xZ(this);wZ.prototype.show.call(this)}; g.h.ti=function(){}; g.h.clear=function(){this.w&&this.w.clear();this.A&&this.A.clear();yZ(this);wZ.prototype.hide.call(this)}; g.h.hide=function(){this.w&&this.w.hide();this.A&&this.A.hide();yZ(this);wZ.prototype.hide.call(this)}; g.h.mM=function(){a_(this,!0)}; g.h.nh=function(){g.Q(this.api.N().experiments,"enable_pubsub_for_skip_transition_bulleit")?this.w||1E3*this.u.getProgressState().current>=this.C&&a_(this,!0):1E3*this.u.getProgressState().current>=this.C&&a_(this,!0)};g.r(b_,Z);b_.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.skipAd&&(a=b.skipAd,a.skipAdRenderer&&(b=new $Z(this.api,this.oa,this.u),b.ba(this.w),b.init(rU("skip-button"),a.skipAdRenderer,this.macros),g.C(this,b)));this.show()};g.r(c_,wZ);g.h=c_.prototype;g.h.init=function(a,b,c){wZ.prototype.init.call(this,a,b,c);if(b.templatedCountdown){a=b.templatedCountdown.templatedAdText;if(!a.isTemplated){g.Jo(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.w=new AZ(this.api,this.oa);this.w.init(rU("ad-text"),a,{});this.w.ba(this.element);g.C(this,this.w)}this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){yZ(this);wZ.prototype.hide.call(this)}; g.h.ti=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 HZ?a.seekableEnd:this.api.getDuration(2,g.Q(this.api.N().experiments,"halftime_ux_killswitch")?void 0:!1))-a.current;var b=g.xM(a);BZ(this.w,{FORMATTED_AD_DURATION_REMAINING:String(b),TIME_REMAINING:String(Math.ceil(a))})}}}; g.h.show=function(){xZ(this);wZ.prototype.show.call(this)};g.r(d_,AZ);d_.prototype.onClick=function(a){AZ.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};g.r(e_,wZ);g.h=e_.prototype; g.h.init=function(a,b,c){wZ.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.U&&(yZ(this),g.Mn(this.element,"ytp-flyout-cta-inactive"))}}; g.h.ti=function(){this.clear()}; g.h.clear=function(){this.hide()}; g.h.show=function(){this.w&&this.w.show();wZ.prototype.show.call(this)}; g.h.hide=function(){this.w&&this.w.hide();wZ.prototype.hide.call(this)};g.r(f_,Z);g.h=f_.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.hc(c)||(a.buttonText=c,this.u.setAttribute("aria-label",c))):g.Qh(this.V,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip,this.u.hasAttribute("aria-label")||this.U.setAttribute("aria-label",b.defaultTooltip));b.defaultIcon?(c=uZ(b.defaultIcon),this.ha("untoggledIconTemplateSpec",c),b.toggledIcon?(this.H=!0,c=uZ(b.toggledIcon),this.ha("toggledIconTemplateSpec",c)):(g.Qh(this.C,!0),g.Qh(this.B,!1)),g.Qh(this.u,!1)):g.Qh(this.U,!1);g.Ob(a)||this.update(a);b.isToggled&&(g.J(this.A, "ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));g_(this);this.J=this.L(this.element,"change",this.Yz);g.Q(this.api.N().experiments,"bulleit_use_touch_events_for_magpie")&&bY(this,this.J);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){Ena(this.B,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape);Ena(this.H, b.brandImage);g.ye(this.J,g.T(b.text));this.u=new vZ(this.api,this.oa,["ytp-ad-survey-interstitial-action-button"]);g.C(this,this.u);this.u.ba(this.C);this.u.init(rU("button"),b.ctaButton.buttonRenderer,c);this.u.show();var e=b.timeoutCommands;this.A=new HZ(1E3*a);this.A.subscribe("a",function(){d.w.hide();e.forEach(function(f){return d.oa.executeCommand(f,c)}); d.oa.executeCommand({adLifecycleCommand:{action:"END_LINEAR_AD"}},c)}); g.C(this,this.A);this.L(this.element,"click",function(f){return Dna(d,f,b)}); this.w.show(100);b.impressionCommands&&b.impressionCommands.forEach(function(f){return d.oa.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"))}; u_.prototype.clear=function(){this.hide()}; u_.prototype.show=function(){Fna(!0);Z.prototype.show.call(this)}; u_.prototype.hide=function(){Fna(!1);Z.prototype.hide.call(this)};g.r(v_,Z);g.h=v_.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 Bf(g.Ja);b.bannerImage?b.iconImage?b.headline?b.description?b.actionButton&&b.actionButton.buttonRenderer?b.navigationEndpoint?(b.adInfoRenderer&&b.adInfoRenderer.adHoverTextButtonRenderer?this.B.init(rU("watch-ad-info-hover-button"),b.adInfoRenderer.adHoverTextButtonRenderer,c):g.M(Error("ActionCompanionAdRenderer has no ad info renderer.")),this.A.init(rU("ad-image"),b.bannerImage, c),this.ea.init(rU("ad-image"),b.iconImage,c),this.J.init(rU("ad-text"),b.headline,c),this.C.init(rU("ad-text"),b.description,c),this.w.init(rU("button"),b.actionButton.buttonRenderer,c),g.ye(this.o["yt-badge-ad"],"Annonce"),this.Z=b.impressionCommands||[],this.U=b.navigationEndpoint,this.H.L(this.element,"click",this.PL,this),Promise.race([this.u,this.ga.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.yr(this.H);this.hide()}; g.h.show=function(){var a=this;this.w.show();Z.prototype.show.call(this);this.Z.forEach(function(b){return a.oa.executeCommand(b,a.macros)})}; g.h.hide=function(){this.w.hide();Z.prototype.hide.call(this)}; g.h.PL=function(a){a=a.target;g.xe(this.B.element,a)||(this.U&&!g.xe(this.w.element,a)&&this.oa.executeCommand(this.U,this.macros),this.api.onAdUxClicked("action-companion"),this.api.pauseVideo())}; g.h.Y=function(){this.u&&(this.u.cancel(),this.u=null);Z.prototype.Y.call(this)};g.r(w_,g.V);w_.prototype.clear=function(){for(var a=g.q(this.Ga),b=a.next();!b.done;b=a.next())g.He(b.value);this.Ga=[]}; w_.prototype.F=function(a){g.Ep(a);this.u=Math.max(0,this.u-x_(this));y_(this)}; w_.prototype.C=function(a){g.Ep(a);this.u=Math.min(this.Ga.length-1,this.u+x_(this));y_(this)}; w_.prototype.Y=function(){this.clear();g.V.prototype.Y.call(this)};g.r(z_,hY);g.h=z_.prototype;g.h.gb=function(){return this.o.element}; g.h.Km=function(a){var b=this.o,c=new g.V({D:"li",I:"ad-carousel-listitem",K:[{D:"div",I:"ad-carousel-item"}]});c.o["ad-carousel-item"].appendChild(a);b.Ga.push(c);b.B.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 Jna={KP:"adinfoclick",WR:"offerclick",XR:"offernavclick"};g.r(A_,hY);A_.prototype.show=function(){this.u.show()}; A_.prototype.hide=function(){this.u.hide()}; A_.prototype.gb=function(){return this.u.element};var Hna={Zp:A_};g.r(C_,iY); C_.prototype.B=function(a){var b=this.view;a=a.renderer;this.u=a.clickthroughEndpoint||null;var c=a.headline||null;B_(b.w,"headline",c);B_(b.o,"headline",c);c=a.merchant||null;B_(b.A,"merchant",c);B_(b.w,"merchant",c);B_(b.o,"merchant",c);c=a.priceText||null;B_(b.A,"price",c);B_(b.w,"price",c);B_(b.o,"price",c);c=(c=a.image&&0=a&&Aoa(this.o)}; e1.prototype.Ci=function(a){noa(this.Va,this.slot,this.layout,a)};Roa.prototype.He=function(a,b,c,d){a:{var e=$0(d.Qa,"metadata_type_sub_layouts"),f=$0(d.Qa,"metadata_type_ad_placement_config");if(c1(d,{pe:[],layoutType:"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=$0(l.Qa,"metadata_type_video_length_seconds");if(!c1(l,{pe:["metadata_type_video_length_seconds","metadata_type_player_vars","metadata_type_layout_enter_ms","metadata_type_trimmed_max_non_skippable_ad_duration_ms"], layoutType:"layout_type_media"})||void 0===m){a=null;break a}k.push(new e1(b,c,l,this.Ml,new Y0(l.Mj,this.Kb,f),this.he))}a=new Poa(a,c,d,this.uf,k)}else a=null}if(a)return a;throw new c0("Unsupported layout with type: "+d.layoutType+" and client metadata: "+A1(d.Qa)+" in PlayerBytesLayoutRenderingAdapterFactory.");};g.r(f1,g.A);g.r(g1,f1);g1.prototype.No=function(){}; g1.prototype.Mo=function(a){a=a.clientPlaybackNonce;var b;(null===(b=this.o)||void 0===b?void 0:b.contentCpn)!==a&&(this.o=null)}; g1.prototype.Y=function(){f1.prototype.Y.call(this);this.o=null}; Toa.prototype.u=function(a){var b=a.contentCpn,c=a.getAdBreakUrl;a=a.o;var d=Or();return[{slotId:d,ab:"slot_type_player_bytes",uh:[new cpa],Bi:[new r1(d)],Ai:[new y1(Or(),b)],ee:"core",Qa:new V0([new F0(c),new H0(a)])}]};h1.prototype.u=function(a){var b=[];this.o=new Map;var c=a.Ah.filter(function(m){var n,p,t,u=null===(n=m.config)||void 0===n?void 0:n.adPlacementConfig;n=null===(t=null===(p=m.config)||void 0===p?void 0:p.adPlacementConfig)||void 0===t?void 0:t.kind;m=m.renderer;return u&&n&&m}),d={}; c=g.q(c);for(var e=c.next();!e.done;d={qc:d.qc},e=c.next()){var f=e.value;d.qc=f.renderer;var k=f.config.adPlacementConfig;e=k.kind;if(null!=d.qc.actionCompanionAdRenderer)iX(this.hc)&&(d.qc.actionCompanionAdRenderer.adVideoId?i1(this,f.elementId,e,d.qc.actionCompanionAdRenderer.adVideoId,k,function(m){return function(n,p,t){return B1("layout_type_companion_with_action_button",new w0(m.qc.actionCompanionAdRenderer),n,p,t)}}(d)):Y_("ActionCompanionAdRenderer without adVideoId, kind: "+(e+" + actionButton "+ (void 0===d.qc.actionCompanionAdRenderer.actionButton?"is":"is not")+" undefined. APR count: "+a.Ah.length+". isAdBreakResponse: "+a.Kr))); else if(d.qc.imageCompanionAdRenderer)jX(this.hc)&&(d.qc.imageCompanionAdRenderer.adVideoId?i1(this,f.elementId,e,d.qc.imageCompanionAdRenderer.adVideoId,k,function(m){return function(n,p,t){return B1("layout_type_companion_with_image",new x0(m.qc.imageCompanionAdRenderer),n,p,t)}}(d)):Y_("ImageCompanionAdRenderer without adVideoId")); else if(d.qc.shoppingCompanionCarouselRenderer)kX(this.hc)&&(d.qc.shoppingCompanionCarouselRenderer.adVideoId?i1(this,f.elementId,e,d.qc.shoppingCompanionCarouselRenderer.adVideoId,k,function(m){return function(n,p,t){return B1("layout_type_companion_with_shopping",new y0(m.qc.shoppingCompanionCarouselRenderer),n,p,t)}}(d)):Y_("ShoppingCompanionCarouselRenderer without adVideoId")); else if(d.qc.adBreakServiceRenderer)vpa(this.hc)&&"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===e&&(e=d.qc.adBreakServiceRenderer.getAdBreakUrl,void 0!==e&&Uoa(this.Va,{getAdBreakUrl:e,contentCpn:a.contentCpn}));else if(d.qc.clientForecastingAdRenderer)eZ(this.hc)&&(e=hpa(d.qc.clientForecastingAdRenderer,k),(e=opa(k,a.contentCpn,e))&&b.push(e));else if(k=Xoa(d.qc))for(k=g.q(k),f=k.next();!f.done;f=k.next())if((f=f.value)&&f.externalVideoId){var l=Voa(this,f.externalVideoId);l.instreamVideoAdRenderer= f;l.Pn=e}else Y_("InstreamVideoAdRenderer without externalVideoId")}d=Array.from(this.o.values()).filter(function(m){return Woa(m,a)}); d=g.q(d);for(c=d.next();!c.done;c=d.next())c=c.value,"AD_PLACEMENT_KIND_COMMAND_TRIGGERED"===c.Bh?b.push(npa(this.w,c.mq,a.contentCpn,c.en(c.adVideoId,c.instreamVideoAdRenderer.elementId,c.Im))):b.push(mpa(this.w,a.contentCpn,c.instreamVideoAdRenderer.elementId,c.en(c.adVideoId,c.instreamVideoAdRenderer.elementId,c.Im)));return b};g.r(j1,f1);g.r(Zoa,j1);g.r($oa,j1);g.r(k1,f1);g.h=k1.prototype; g.h.nj=function(a,b){if(hX(this.hc)&&"layout_type_media"===b.layoutType)if(S_(b,["metadata_type_content_cpn","metadata_type_player_bytes_callback","metadata_type_instream_ad_player_overlay_renderer","metadata_type_ad_placement_config"])){var c={YO:b.layoutId,contentCpn:$0(b.Qa,"metadata_type_content_cpn"),WN:$0(b.Qa,"metadata_type_player_bytes_callback"),instreamAdPlayerOverlayRenderer:$0(b.Qa,"metadata_type_instream_ad_player_overlay_renderer"),adPlacementConfig:$0(b.Qa,"metadata_type_ad_placement_config")}; fZ(this,c)}else Y_("Received MediaLayout entered, missing metadata for opportunity. Actual client metadata: "+A1(b.Qa))}; g.h.kl=function(){}; g.h.Ll=function(){}; g.h.il=function(){}; g.h.jl=function(){}; g.h.Aj=function(){}; g.h.Jl=function(){}; g.h.oj=function(){}; apa.prototype.u=function(a){var b=[];b.push(kpa(a.contentCpn,a.YO,a.instreamAdPlayerOverlayRenderer,a.WN,a.adPlacementConfig));return b};g.r(l1,g.A);g.h=l1.prototype;g.h.kl=function(){}; g.h.Ll=function(){}; g.h.il=function(){}; g.h.jl=function(){}; g.h.Aj=function(){}; g.h.Jl=function(a,b){this.o.has(a)&&this.o.get(a)===b&&Y_("Unscheduled a Layout that is currently entered.",a,b)}; g.h.nj=function(a,b){this.o.set(a,b)}; g.h.oj=function(a){this.o["delete"](a)};g.r(t1,g.A);g.h=t1.prototype; g.h.oh=function(a,b,c,d){if(this.u.has(b.o))throw new o0("Tried to register duplicate trigger for slot.");if(!(b instanceof p1||b instanceof q1||b instanceof r1||b instanceof m1||b instanceof n1||b instanceof o1))throw new o0("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdsControlFlowEventTriggerAdapter");a=new s1(a,b,c,d);this.u.set(b.o,a);b instanceof r1&&this.B.has(b.A)&&m0(this.o(),[a]);b instanceof p1&&this.A.has(b.w)&&m0(this.o(),[a]);b instanceof m1&&this.w.has(b.u)&& m0(this.o(),[a])}; g.h.xh=function(a){this.u["delete"](a.o)}; g.h.kl=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 r1&&a.slotId===d.trigger.A&&b.push(d);0