var _yt_player={};(function(g){var window=this;var ba,da,ma,na,oa,qa,pa,ra,sa,ta,ua,baa,caa,va,wa,daa,eaa,xa,ya,za,Aa,Ca,Da,Ea,Fa,Ia,Ja,gaa,haa,Ta,Ua,iaa,jaa,bb,kaa,ib,jb,laa,pb,lb,maa,nb,naa,oaa,paa,vb,wb,Eb,Fb,Hb,Kb,Nb,Ob,Pb,Qb,Vb,Xb,Yb,fc,gc,ic,hc,kc,raa,nc,saa,taa,qc,rc,xc,yc,waa,Ic,Jc,Kc,zaa,Caa,Daa,Oc,Rc,Eaa,Faa,Qc,Tc,Iaa,Yc,Zc,$c,dd,fd,Laa,hd,id,jd,kd,Naa,ld,rd,td,wd,Bd,Cd,Hd,Id,Ld,Jd,Nd,Pd,Od,Saa,$d,yd,fe,de,ee,Qaa,ge,xd,Uaa,Vaa,me,je,qe,se,pe,te,ue,ve,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ye,We,Ze,Waa,$e,af,cf,df, Xe,ef,gf,ff,jf,kf,hf,lf,mf,nf,Xaa,pf,qf,tf,vf,uf,wf,xf,Bf,Cf,Df,Ef,Ff,Gf,Kf,Mf,Nf,Rf,Sf,Zaa,Tf,Uf,aba,cba,dba,fba,Wf,Xf,Yf,Zf,$f,ag,cg,dg,jg,kg,ng,og,pg,sg,rg,tg,lg,hba,Dg,Eg,Fg,iba,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,jba,kba,Qg,Sg,Rg,Tg,Ug,Xg,Vg,mba,Wg,Yg,Zg,ah,$g,bh,oba,nba,ch,qba,pba,rba,fh,sba,hh,ih,jh,gh,kh,tba,lh,uba,nh,xba,oh,ph,qh,rh,sh,yba,uh,wh,zh,Ch,Eh,Bh,Ah,Fh,zba,Gh,Hh,Ih,Jh,Oh,Ph,Qh,Bba,Rh,Sh,Th,Uh,Cba,Wh,Xh,Yh,Zh,$h,ai,ci,bi,Eba,Fba,di,ei,fi,gi,hi,ii,ki,li,mi,ni,oi,ji,pi,qi,ri,Gba,Hba,si, ti,Iba,ui,vi,Jba,zi,Kba,Ai,Bi,Ci,Lba,Gi,Hi,Ji,Li,Mi,Ni,Oi,Pi,Ii,Ki,Nba,Qi,Ri,Ui,Vi,Pba,Wi,Qba,Rba,Xi,Sba,Yi,$i,Tba,Uba,Vba,bj,cj,Wba,dj,Xba,ej,Yba,fj,gj,hj,Zba,ij,kj,lj,$ba,mj,nj,oj,pj,aca,rj,qj,bca,tj,sj,wj,xj,vj,cca,gca,fca,zj,hca,ica,jca,lca,kca,mca,Aj,Cj,Ej,Fj,Gj,oca,Ij,Jj,pca,qca,rca,Mj,Nj,Oj,Pj,sca,Qj,Rj,tca,Sj,Tj,vca,Uj,Wj,Vj,Xj,Zj,bk,xca,ck,ek,fk,gk,ik,kk,yca,hk,qk,rk,nk,uk,tk,Aca,lk,jk,xk,yk,zk,Ak,Ck,Cca,Dk,Ek,Dca,Jk,Lk,Nk,Ok,Qk,Rk,Sk,Uk,Vk,Eca,Xk,Zk,$k,Wk,Yk,Mk,Tk,Gca,cl,al,bl,el,Fca,dl, il,kl,ll,ml,ol,Ica,pl,Hca,ql,rl,Jca,Kca,tl,wl,xl,yl,zl,vl,Cl,Dl,Al,El,Fl,Gl,Lca,Hl,Il,Jl,Kl,Ll,Ml,Nl,Ol,Pl,Sl,Nca,Rl,Oca,Pca,Tl,Vl,Ql,Ul,Wl,Xl,Rca,Sca,am,bm,cm,Yl,dm,em,Tca,Qca,Uca,Vca,Wca,hm,fm,Xca,Zca,$ca,jm,km,mm,eda,ada,fda,qm,rm,sm,tm,um,jj,gda,vm,wm,hda,ida,xm,ym,jda,kda,Am,Bm,Cm,Dm,Em,nda,oda,Fm,Jm,Im,Om,Pm,Rm,rda,Qm,Tm,Vm,Um,pda,Ym,an,bn,wda,vda,jn,xda,pn,qn,tn,un,Cda,xn,yn,Eda,Bn,Cn,Dn,En,Fda,Hn,In,Jn,Kn,Mn,Nn,On,Pn,Rn,Sn,Vn,Wn,Hda,Xn,Yn,Zn,Kda,Jda,$n,ao,bo,co,eo,go,io,Qda,Oda,Pda,Tda,Rda, Sda,jo,lo,Uda,mo,Vda,no,oo,Xda,qo,so,to,wo,xo,vo,Eo,Mo,Po,Oo,$da,aea,Ro,To,Uo,bea,Xo,Vo,$o,dea,bp,cp,dp,ep,fp,gp,kp,ip,lp,mp,np,qp,pp,eea,tp,rp,gea,hea,yp,xp,jea,zp,Ap,kea,Ep,lea,mea,Cp,Gp,nea,Ip,Jp,Lp,Mp,Np,Pp,Qp,Sp,Up,Vp,Hp,oea,Yp,Xp,pea,aq,$p,cq,dq,eq,gq,fq,rea,jq,kq,lq,mq,nq,oq,pq,qq,rq,sq,tq,uq,vq,wq,xq,yq,zq,Aq,Bq,Cq,Dq,Jq,Iq,Kq,sea,wea,Tq,Uq,Vq,Wq,yea,zea,cr,dr,er,kr,lr,or,nr,mr,Aea,qr,Bea,xr,zr,Cr,Er,Gr,Hr,Br,Dr,Ar,Ir,Mr,Kr,Nr,Lr,Or,Jr,Rr,Sr,Tr,Ur,Vr,Wr,Xr,Yr,Fea,Gea,Pr,Qr,Zr,$r,ds,es,Hea, as,bs,fs,gs,hs,js,is,ks,ls,Iea,ms,ps,qs,rs,ns,ws,vs,xs,ys,zs,Bs,Cs,Ds,us,Es,Fs,Gs,Is,Ms,Ns,Os,Ps,Kea,Qs,Ss,Us,Vs,Ws,Xs,Ys,Zs,$s,at,bt,ct,dt,et,ft,gt,ht,Lea,jt,it,kt,lt,mt,nt,ot,qt,rt,tt,ut,vt,wt,xt,zt,Nea,Oea,Dt,Et,Gt,Ht,It,Jt,Kt,Ot,Qt,Rt,St,Tt,Vt,Wt,Xt,Ut,Zt,$t,cu,lu,ju,mu,nu,ou,pu,qu,ru,uu,vu,wu,xu,yu,zu,Cu,Du,Ku,Lu,Mu,Nu,Pu,Qu,Ru,Su,Ou,Yea,Tu,Uu,Vu,Wu,Yu,Zu,$u,av,bv,cv,dv,ev,fv,gv,hv,iv,kv,lv,jv,Zea,mv,nv,afa,pv,tv,bfa,ov,xv,yv,vv,rv,zv,Av,uv,wv,Bv,Cv,Dv,$ea,Ev,cfa,Fv,Gv,Hv,Ov,dfa,Jv,Qv,Sv,Vv, Uv,Mv,Rv,Lv,Pv,Wv,Yv,Zv,efa,$v,aw,Iv,Kv,Nv,Tv,bw,cw,dw,fw,ew,ffa,gw,hw,iw,jw,kw,gfa,mw,lw,nw,ow,pw,qw,rw,tw,uw,vw,ww,xw,yw,hfa,ifa,Aw,jfa,kfa,Cw,lfa,Ew,mfa,Dw,Fw,Hw,Iw,Jw,Lw,nfa,Mw,Nw,Ow,Pw,Qw,Sw,Rw,Tw,Uw,ofa,Vw,Ww,Xw,Yw,Zw,pfa,qfa,ufa,vfa,rfa,sfa,tfa,$w,ax,wfa,cx,dx,ex,xfa,fx,hx,ix,yfa,zfa,jx,kx,Afa,Bfa,Cfa,lx,Dfa,px,mx,sx,Efa,Ffa,tx,Gfa,Hfa,ux,vx,Ifa,wx,xx,Jfa,Kfa,Lfa,yx,qx,Mfa,Nfa,zx,Ofa,Mx,Ax,Pfa,Lx,Qfa,Qx,Rx,Sx,Tx,Ux,Vx,Xx,du,Yx,Zx,Sfa,dy,ey,fy,hy,gy,iy,jy,ky,ly,Tfa,Ufa,my,oy,ny,py,Vfa,sy,ty, uy,vy,wy,yy,ry,zy,V,Ay,By,Cy,Dy,Fy,Xfa,Gy,Hy,cz,W,dz,ez,gz,hz,Ry,Zy,Yy,bz,qz,tz,Oy,Ny,My,vz,Xy,dga,ega,fga,xz,yz,Az,Bz,Cz,Dz,zz,Ez,gga,Iz,Jz,Kz,jga,lga,kga,Mz,iga,hga,Lz,Nz,mga,Oz,nga,pga,oga,qga,Pz,rga,Qz,Rz,sga,tga,Sz,vga,Tz,uga,Vz,Xz,Yz,Zz,$z,wga,aA,xga,yga,Wz,bA,cA,zga,eA,gA,iA,kA,jA,lA,mA,hA,nA,oA,Aga,pA,rA,sA,vA,uA,yA,zA,Cga,CA,DA,FA,Dga,KA,JA,EA,LA,Fga,SA,TA,UA,YA,ZA,Gga,$A,aB,Hga,Iga,eB,bB,gB,dB,cB,hB,fB,jB,iB,Jga,oB,nB,qB,mB,pB,rB,sB,tB,uB,vB,zB,CB,DB,xB,AB,FB,EB,IB,yB,Pga,KB,wB,Rga,TB,Tga, WB,$B,XB,aC,Uga,ku,cC,dC,eC,bC,fC,Vga,gC,ZB,jC,Xga,Wga,mC,nC,oC,qC,rC,YB,Zga,$ga,aha,bha,cha,dha,eha,fha,gha,hha,iha,jha,qha,rha,sha,uha,PB,vha,zC,iC,wha,CC,DC,EC,FC,hu,UB,GC,kC,VB,uC,SB,sC,tC,RB,QB,KC,HC,LC,IC,MC,OC,PC,QC,SC,JC,VC,XC,YC,ZC,$C,aD,bD,cD,xha,eD,dD,yha,fD,iD,WC,jD,lD,Aha,oD,pD,qD,rD,sD,vD,wD,uD,Bha,tD,xD,yD,zD,BD,Dha,HD,ID,JD,KD,Eha,Fha,FD,LD,MD,Gha,RD,SD,TD,UD,VD,WD,XD,YD,ZD,$D,aE,cE,dE,eE,fE,bE,hE,gE,Hha,jE,iE,Iha,Jha,Kha,Lha,kE,Mha,lE,qE,oE,pE,rE,tE,mE,sE,nE,uE,Oha,Pha,Qha,vE,Rha, Sha,Tha,Uha,Vha,wE,xE,BE,AE,DE,yE,EE,FE,GE,zE,HE,CE,IE,Wha,JE,KE,Xha,PE,QE,OE,SE,NE,RE,LE,Yha,TE,UE,ME,Zha,VE,WE,XE,YE,dF,aia,eF,fF,gF,ZE,$E,$ha,bF,iF,cF,aF,hF,kF,mF,lF,nF,oF,qF,pF,rF,vF,xF,yF,zF,BF,CF,wF,tF,sF,uF,DF,EF,FF,GF,AF,HF,IF,JF,KF,MF,LF,cia,NF,OF,PF,dia,gia,hia,iia,VF,WF,jia,XF,kia,RF,QF,eia,SF,TF,fia,UF,lia,mia,YF,ZF,nia,$F,oia,dG,aG,cG,bG,pia,qia,fG,ria,eG,gG,hG,iG,jG,kG,lG,mG,uia,tia,sia,nG,qG,via,rG,sG,tG,vG,wG,yG,zG,BG,xia,yia,zia,Aia,AG,DG,Cia,Bia,EG,Eia,Dia,KG,Fia,JG,MG,NG,GG,IG, LG,oG,HG,xG,wia,Gia,pG,OG,PG,FG,uG,Hia,QG,RG,Iia,SG,TG,UG,VG,Jia,WG,XG,Kia,YG,ZG,$G,aH,Lia,Mia,bH,cH,fH,Nia,Pia,gH,Qia,hH,iH,kH,dH,Sia,jH,lH,mH,Tia,Uia,nH,oH,eH,pH,qH,tH,wH,xH,Wia,Via,uH,zH,vH,yH,sH,AH,Xia,Yia,BH,DH,CH,FH,Zia,$ia,GH,HH,JH,KH,IH,LH,MH,NH,OH,aja,QH,TH,SH,UH,VH,WH,cja,XH,RH,YH,eja,fja,aI,cI,eI,dI,fI,gI,bI,$H,gja,kI,ija,mI,oI,pI,nI,qI,iI,kja,rI,sI,jI,hI,tI,lI,jja,lja,hja,uI,wI,xI,vI,yI,mja,zI,AI,oja,nja,pja,EI,OI,CI,GI,PI,QI,TI,RI,rja,sja,tja,UI,XI,WI,BI,LI,aJ,$I,eJ,YI,iJ,hJ,gJ,lJ,bJ, eu,oJ,nJ,pJ,sJ,qja,HI,jJ,xJ,vja,EJ,wJ,wja,IJ,LJ,VJ,WJ,xja,yJ,XJ,PJ,tJ,vJ,ZJ,MI,fJ,aK,$J,cK,bK,YJ,yja,NI,eK,VI,FI,zja,fK,uJ,hK,iK,jK,kK,dK,ZI,lK,kJ,rJ,mK,pK,vK,EK,FK,SK,YK,Cja,ZK,$K,aL,bL,cL,dL,eL,Dja,fL,gL,Eja,Fja,Gja,iL,hL,Hja,Jja,Ija,jL,kL,Kja,lL,mL,nL,pL,oL,sL,qL,uL,tL,vL,Lja,ko,xL,AL,BL,DL,FL,IL,JL,KL,ML,NL,OL,PL,RL,SL,TL,VL,WL,XL,YL,$L,bM,cM,dM,eM,fM,gM,hM,kM,lM,pM,rM,sM,tM,wM,vM,yM,xM,Nja,BM,CM,AM,EM,DM,GM,FM,HM,IM,KM,JM,LM,MM,NM,PM,OM,RM,UM,WM,XM,YM,ZM,$M,aN,bN,dN,eN,fN,gN,hN,lN,jN,iN,kN,nN, mN,oN,pN,rN,uN,sN,xN,yN,zN,vN,AN,BN,CN,DN,GN,EN,ON,PN,IN,TN,SN,MN,RN,KN,QN,UN,LN,YN,ZN,$N,Sja,fO,hO,iO,lO,mO,kO,pO,qO,rO,sO,tO,uO,wO,vO,xO,yO,zO,AO,CO,EO,DO,BO,FO,GO,IO,JO,KO,Tja,LO,MO,NO,Uja,QO,RO,SO,TO,WO,VO,XO,ZO,$O,bP,aP,dP,eP,cP,gP,hP,jP,kP,Vja,lP,mP,qP,Xja,vP,Wja,TC,wP,Yja,sP,xP,yP,zP,AP,RC,BP,DK,DP,EP,FP,GP,JP,KP,LP,IP,NP,MP,OP,$ja,PP,QP,RP,UP,VP,TP,SP,XP,WP,YP,ZP,$P,aQ,bQ,cQ,dQ,eQ,fQ,hQ,gQ,aka,jQ,kQ,lQ,mQ,nQ,oQ,qQ,bka,uQ,vQ,wQ,xQ,cka,AQ,BQ,dka,CQ,EQ,FQ,GQ,yQ,sQ,IQ,JQ,KQ,qN,LQ,eka,fka,MQ,QQ, NQ,RQ,OQ,TQ,SQ,VQ,WQ,YQ,$Q,ZQ,hka,ika,jka,cR,kka,iR,gR,eR,fR,bR,dR,hR,jR,mka,lka,kR,oR,oka,pR,qR,rR,nR,sR,WK,tR,vR,qka,wR,rka,AR,xR,CR,DR,ER,uR,GR,yR,HR,FR,BR,XK,JR,MR,KR,NR,LR,OR,tka,uka,RR,vka,SR,UR,VR,TR,YR,ZR,$R,aS,Aja,Bja,bS,cS,dS,eS,fS,gS,xka,wka,jS,lS,mS,TK,qS,bla,oS,UK,nS,vS,wS,yS,zS,BS,$ka,ala,FS,ES,iS,JS,hS,KS,LS,rK,MS,OS,DS,CS,RS,sS,SS,uS,zR,IS,lR,IR,US,VS,QS,PS,YS,GK,$S,NC,aT,HS,bT,dT,tS,pS,TS,eT,fT,gT,hT,Cka,NS,iT,yka,jT,QR,kT,lT,dla,ela,mT,nT,oT,pT,qT,rT,fla,sT,tT,Y,uT,wT,xT,vT,yT,zT, AT,BT,CT,DT,ET,FT,GT,HT,gla,IT,JT,KT,LT,NT,OT,jla,PT,MT,QT,RT,lla,hla,ST,ila,TT,UT,VT,WT,XT,ZT,mla,$T,nla,ola,aU,eU,dU,bU,cU,pla,fU,gU,qla,rla,sla,hU,jU,tla,kU,mU,lU,nU,oU,ula,vla,pU,vU,zU,AU,wla,rU,uU,wU,tU,yU,xU,DU,BU,CU,EU,sU,qU,FU,xla,GU,HU,JU,yla,KU,IU,LU,MU,NU,OU,PU,QU,zla,RU,SU,TU,UU,VU,WU,XU,Ala,YU,ZU,$U,aV,bV,cV,dV,eV,fV,gV,hV,iV,jV,kV,lV,mV,nV,oV,pV,qV,rV,sV,tV,Bla,uV,Cla,Gla,Ela,Fla,Hla,Ila,Jla,vV,Dla,wV,xV,yV,zV,AV,BV,CV,DV,EV,FV,GV,HV,IV,JV,KV,LV,MV,NV,OV,PV,QV,RV,UV,SV,TV,Kla,VV,WV, YV,XV,ZV,$V,aW,Lla,Nla,Ola,dW,Pla,cW,bW,Mla,eW,fW,gW,Qla,hW,iW,jW,kW,lW,mW,nW,pW,Rla,rW,qW,Sla,Tla,sW,Ula,tW,Vla,Wla,uW,Yla,Xla,vW,Zla,wW,xW,yW,zW,AW,Z,BW,CW,$la,DW,EW,FW,GW,IW,KW,ama,JW,LW,MW,NW,OW,PW,QW,RW,SW,TW,UW,dma,VW,WW,XW,ZW,$W,aX,YW,fma,bX,gma,cX,dX,eX,fX,hma,gX,ima,hX,iX,jma,jX,kma,kX,lX,mX,lma,nX,mma,oX,nma,qX,sX,uX,wX,xX,zX,oma,pma,qma,AX,rma,CX,tma,sma,DX,vma,BX,EX,IX,FX,HX,GX,KX,LX,oW,uma,yX,JX,MX,NX,wma,OX,PX,QX,RX,xma,SX,TX,UX,VX,WX,XX,YX,ZX,yma,Ama,Bma,Dma,Cma,aY,bY,cY,Fma,dY,eY, fY,gY,hY,iY,jY,Jma,Gma,Ima,Hma,kY,lY,Kma,mY,nY,Lma,Mma,Nma,Oma,oY,Pma,Qma,pY,Tma,Sma,Uma,qY,rY,Vma,Wma,Xma,uY,Yma,Zma,$ma,ana,vY,tY,xY,yY,zY,AY,BY,CY,DY,EY,FY,GY,HY,IY,bna,JY,cna,KY,LY,NY,MY,OY,PY,QY,RY,SY,TY,UY,dna,ena,VY,fna,gna,WY,hna,XY,YY,ZY,ina,$Y,aZ,bZ,cZ,jna,kna,mna,nna,fZ,gZ,dZ,lna,eZ,ona,hZ,iZ,pna,jZ,lZ,kZ,mZ,nZ,oZ,pZ,qZ,sZ,rna,tZ,uZ,vZ,wZ,xZ,zZ,AZ,BZ,CZ,DZ,EZ,FZ,GZ,HZ,IZ,vna,MZ,OZ,PZ,aa,ha,QZ,Jaa,Xc,Oa,faa;ba=function(a){return function(){return aa[a].apply(this,arguments)}}; g.ca=function(a,b){return aa[a]=b}; da=function(a){var b=0;return function(){return bb?null:"string"===typeof a?a.charAt(b):a[b]}; g.Wa=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}; laa=function(a){for(var b={},c=0,d=0;d>>1),n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0b?1:ac&&g.kb(a,-(c+1),0,b)}; g.ub=function(a,b,c){var d={};(0,g.z)(a,function(e,f){d[b.call(c,e,f,a)]=e}); return d}; oaa=function(a){for(var b=[],c=0;c")&&(a=a.replace(Ab,">"));-1!=a.indexOf('"')&&(a=a.replace(Bb,"""));-1!=a.indexOf("'")&&(a=a.replace(Cb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Db,"�"))}return a}; Fb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())}; g.Ib=function(a,b){for(var c=0,d=Gb(String(a)).split("."),e=Gb(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&kb?1:0}; Kb=function(a){return-1!=g.Jb.indexOf(a)}; g.Lb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)}; g.Mb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d}; Nb=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}; Ob=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}; Pb=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0}; Qb=function(a){for(var b in a)return a[b]}; g.Rb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}; g.Sb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}; g.Tb=function(a,b){var c=g.La(b),d=c?b:arguments;for(c=c?0:1;c>>0;return b}; g.ed=function(a){var b=Number(a);return 0==b&&g.xb(a)?NaN:b}; fd=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; g.gd=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()}; Laa=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})}; hd=function(){return Kb("iPhone")&&!Kb("iPod")&&!Kb("iPad")}; id=function(){return hd()||Kb("iPad")||Kb("iPod")}; jd=function(a){jd[" "](a);return a}; kd=function(a,b){try{return jd(a[b]),!0}catch(c){}return!1}; Naa=function(a,b){var c=Maa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}; ld=function(){var a=g.u.document;return a?a.documentMode:void 0}; g.nd=function(a){return Naa(a,function(){return 0<=g.Ib(md,a)})}; g.od=function(a){return Number(Oaa)>=a}; g.pd=function(a,b,c){return Math.min(Math.max(a,b),c)}; g.qd=function(a,b){var c=a%b;return 0>c*b?c+b:c}; rd=function(a,b,c){return a+c*(b-a)}; 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}; Bd=function(a){return a?new xd(yd(a)):Ad||(Ad=new xd)}; Cd=function(a){var b=document;return"string"===typeof a?b.getElementById(a):a}; g.Ed=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.Dd(document,"*",a,b)}; g.Fd=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.Dd(c,"*",a,b)[0]||null}return c||null}; g.Dd=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,k;k=a[f];f++)b==k.nodeName&&(d[e++]=k);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;k=a[f];f++)b=k.className,"function"==typeof b.split&&g.$a(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a}; Hd=function(a,b){g.Lb(b,function(c,d){c&&"object"==typeof c&&c.If&&(c=c.he());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Gd.hasOwnProperty(d)?a.setAttribute(Gd[d],c):vb(d,"aria-")||vb(d,"data-")?a.setAttribute(d,c):a[d]=c})}; Id=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new g.ud(a.clientWidth,a.clientHeight)}; Ld=function(a){var b=Jd(a);a=a.parentWindow||a.defaultView;return g.Kd&&g.nd("10")&&a.pageYOffset!=b.scrollTop?new g.sd(b.scrollLeft,b.scrollTop):new g.sd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}; Jd=function(a){return a.scrollingElement?a.scrollingElement:g.Md||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement}; Nd=function(a){return a?a.parentWindow||a.defaultView:window}; g.Qd=function(a,b,c){var d=arguments,e=document,f=String(d[0]),k=d[1];if(!Paa&&k&&(k.name||k.type)){f=["<",f];k.name&&f.push(' name="',g.ad(k.name),'"');if(k.type){f.push(' type="',g.ad(k.type),'"');var l={};g.ec(l,k);delete l.type;k=l}f.push(">");f=f.join("")}f=Od(e,f);k&&("string"===typeof k?f.className=k:g.Ka(k)?f.className=k.join(" "):Hd(f,k));2a}; Qaa=function(a){if(a&&"number"==typeof a.length){if(g.Na(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Ma(a))return"function"==typeof a.item}return!1}; g.he=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return ge(a,function(f){return(!e||f.nodeName==e)&&(!c||"string"===typeof f.className&&g.$a(f.className.split(/\s+/),c))},!0,d)}; ge=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.u.document||document}; Uaa=function(a){return(0,g.ie)(a,function(b){b=b.toString(16);return 1>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,k||(l=64));d.push(c[q],c[f],c[l]||"",c[n]||"")}return d.join("")}; Vaa=function(a){var b=[];me(a,function(c){b.push(c)}); return b}; g.ne=function(a){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;me(a,function(f){d[e++]=f}); return d.subarray(0,e)}; me=function(a,b){function c(m){for(;d>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}}; je=function(){if(!oe){oe={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ke[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}; ue=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}; ve=function(a){this.o=se(a,void 0,void 0);this.B=this.o.o;this.u=this.w=-1;this.A=!1}; ye=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=ue(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}; ze=function(a){switch(a.u){case 0:if(0!=a.u)ze(a);else{for(a=a.o;a.u[a.o]&128;)a.o++;a.o++}break;case 1:1!=a.u?ze(a):(a=a.o,a.o+=8);break;case 2:if(2!=a.u)ze(a);else{var b=ue(a.o);a=a.o;a.o+=b}break;case 5:5!=a.u?ze(a):(a=a.o,a.o+=4);break;case 3:b=a.w;do{if(!ye(a)){a.A=!0;break}if(4==a.u){a.w!=b&&(a.A=!0);break}ze(a)}while(1)}}; Ae=function(a){var b=ue(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}; Ce=function(){this.o=[]}; De=function(a,b){for(;127>>=7;a.o.push(b)}; Ee=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)}; Fe=function(){this.w=[];this.u=0;this.o=new Ce}; Ge=function(a,b){De(a.o,8*b+2);var c=a.o.end();a.w.push(c);a.u+=c.length;c.push(a.u);return c}; He=function(a,b){var c=b.pop();for(c=a.u+a.o.length()-c;127>>=7,a.u++;b.push(c);a.u++}; Ie=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)}}; Me=function(a,b,c){if(null!=c&&null!=c){De(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)}}; Ne=function(a,b,c){null!=c&&(De(a.o,8*b+1),a=a.o,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,Ke=b,Le=c,Ee(a,Ke),Ee(a,Le))}; Oe=function(a,b,c){if(null!=c){De(a.o,8*b+1);a=a.o;var d=c;d=(c=0>d?1:0)?-d:d;if(0===d)Le=0<1/d?0:2147483648,Ke=0;else if(isNaN(d))Le=2147483647,Ke=4294967295;else if(1.7976931348623157E308>>0,Ke=0;else if(2.2250738585072014E-308>d)d/=Math.pow(2,-1074),Le=(c<<31|d/4294967296)>>>0,Ke=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;Ke=4503599627370496*d>>>0}Ee(a,Ke);Ee(a, Le)}}; Pe=function(a,b,c){null!=c&&(De(a.o,8*b),a.o.o.push(c?1:0))}; Qe=function(a,b,c){if(null!=c){b=Ge(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)}He(a,b)}}; Re=function(a,b,c,d){null!=c&&(b=Ge(a,b),d(c,a),He(a,b))}; Se=function(a,b,c,d){if(null!=c)for(var e=0;ea&&b.setFullYear(b.getFullYear()-1900);return b}; qf=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()b&&(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)]}; Df=function(a,b){return b?a?a+"&"+b:b:a}; Ef=function(a,b){if(!b)return a;var c=Cf(a);c[1]=Df(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; Ff=function(a,b,c){if(g.Ka(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 $c(a.substr(d,e-d))}; Sf=function(a,b){for(var c=a.search(Qf),d=0,e,f=[];0<=(e=Nf(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(Yaa,"$1")}; Zaa=function(a,b){var c=Cf(a),d=c[1],e=[];d&&(0,g.z)(d.split("&"),function(f){var k=f.indexOf("=");b.hasOwnProperty(0<=k?f.substr(0,k):f)||e.push(f)}); c[1]=Df(e.join("&"),g.Hf(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; Tf=function(a){try{return!!a&&null!=a.location.href&&kd(a,"foo")}catch(b){return!1}}; Uf=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)}; aba=function(){var a=[];Uf($aa,function(b){a.push(b)}); return a}; cba=function(a){return(a=bba.exec(a))&&a[0]||""}; dba=function(){var a=Vf;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&1a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}; g.qg=function(a){var b=yd(a),c=new g.sd(0,0);var d=b?yd(b):document;d=!g.Kd||g.od(9)||"CSS1Compat"==Bd(d).o.compatMode?d.documentElement:d.body;if(a==d)return c;a=og(a);b=Ld(Bd(b).o);c.x=a.left+b.x;c.y=a.top+b.y;return c}; sg=function(a,b){var c=new g.sd(0,0),d=Nd(yd(a));if(!kd(d,"parent"))return c;var e=a;do{var f=d==b?g.qg(e):rg(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.ug=function(a,b){var c=tg(a),d=tg(b);return new g.sd(c.x-d.x,c.y-d.y)}; rg=function(a){a=og(a);return new g.sd(a.left,a.top)}; tg=function(a){if(1==a.nodeType)return rg(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.sd(a.clientX,a.clientY)}; g.wg=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.vg(a,b);a.style.height=lg(c,!0)}; lg=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; g.vg=function(a,b){a.style.width=lg(b,!0)}; g.xg=function(a){var b=hba;if("none"!=kg(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}; hba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.Md&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=og(a),new g.ud(a.right-a.left,a.bottom-a.top)):new g.ud(b,c)}; g.yg=function(a,b){a.style.display=b?"":"none"}; Dg=function(){if(Ag&&!Tf(Bg)){var a="."+Cg.domain;try{for(;2e?encodeURIComponent(ah(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}; bh=function(a,b,c,d){a.o.push(b);a.u[b]=Zg(c,d)}; oba=function(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;var d=nba(a)-c.length;if(0>d)return"";a.o.sort(function(q,t){return q-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+""}; nba=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}; ch=function(a,b){this.o=a;this.depth=b}; qba=function(){function a(l,m){return null==l?m:l} var b=Vg(),c=Math.max(b.length-1,0),d=Xg(b);b=d.o;var e=d.u,f=d.w,k=[];f&&k.push(new ch([f.url,f.tq?2:0],a(f.depth,1)));e&&e!=f&&k.push(new ch([e.url,2],0));b.url&&b!=f&&k.push(new ch([b.url,0],a(b.depth,c)));d=(0,g.ie)(k,function(l,m){return k.slice(0,k.length-m)}); !b.url||(f||e)&&b!=f||(e=cba(b.url))&&d.push([new ch([e,1],a(b.depth,c))]);d.push([]);return(0,g.ie)(d,function(l){return pba(c,l)})}; pba=function(a,b){(0,g.dh)(b,function(e){return 0<=e.depth}); var c=(0,g.eh)(b,function(e,f){return Math.max(e,f.depth)},-1),d=oaa(c+2); d[0]=a;(0,g.z)(b,function(e){return d[e.depth+1]=e.o}); return d}; rba=function(){var a=qba();return(0,g.ie)(a,function(b){return $g(b)})}; fh=function(){this.u=new Ug;this.o=Rg()?new Sg:new Qg}; sba=function(){gh();var a=D.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&g.Ma(D.setInterval)&&g.Ma(D.clearInterval)&&g.Ma(D.setTimeout)&&g.Ma(D.clearTimeout))}; hh=function(a){gh();var b=Dg()||D;b.google_image_requests||(b.google_image_requests=[]);var c=b.document.createElement("img");c.src=a;b.google_image_requests.push(c)}; ih=function(){gh();return rba()}; jh=function(){}; gh=function(){return jh.getInstance().getContext()}; kh=function(a){Ye(this,a,null,null)}; tba=function(a){this.A=a;this.o=-1;this.u=this.w=0}; lh=function(a,b){return function(c){for(var d=[],e=0;eMath.random())}; wh=function(a){a&&vh&&th()&&(vh.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),vh.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; zh=function(){var a=xh;this.B=yh;this.A="jserror";this.w=!0;this.o=null;this.C=this.u;this.Fa=void 0===a?null:a}; Ch=function(a,b,c,d){return lh(nh.getInstance().o.o,function(){try{if(a.Fa&&a.Fa.o){var e=a.Fa.start(b.toString(),3);var f=c();a.Fa.end(e)}else f=c()}catch(m){var k=a.w;try{wh(e);var l=new Ah(Bh(m));k=a.C(b,l,void 0,d)}catch(n){a.u(217,n)}if(!k)throw m;}return f})()}; Eh=function(a,b,c){var d=Dh;return lh(nh.getInstance().o.o,function(e){for(var f=[],k=0;kd?500:k}; Ph=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Tf(a)&&(c=a,b=d);return{hd:c,level:b}}; Qh=function(a){var b=a!==a.top,c=a.top===Ph(a).hd;if(b&&c&&null!=a.top.mraid)return{En:a.top.mraid,eo:3};a=a.mraid;return null!=a?b?c?{En:a,eo:2}:{En:a,eo:1}:{En:a,eo:0}:null}; Bba=function(a){return(a=a.document)&&g.Ma(a.elementFromPoint)}; Rh=function(a,b,c,d){var e=void 0===e?!1:e;c=Eh(d,c,void 0);Xf(a,b,c,{capture:e});return c}; Sh=function(a){return new Zf(a.top,a.right,a.bottom,a.left)}; Th=function(a){var b=a.top||0,c=a.left||0;return new Zf(b,c+(a.width||0),b+(a.height||0),c)}; Uh=function(a){return null!=a&&0<=a&&1>=a}; Cba=function(){var a=g.Jb;return a?Vh("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;OMI/".split(";"),function(b){return Fb(a,b)})?!0:Fb(a,"Presto")&&Fb(a,"Linux")&&!Fb(a,"X11")&&!Fb(a,"Android")&&!Fb(a,"Mobi"):!1}; Wh=function(){this.J=!1;this.w=!Tf(D.top);this.F=uf()||vf();var a=Vg();this.domain=0c.height?n>t?(e=n,f=q):(e=t,f=v):nc++;){if(a===b)return!0;try{if(a=g.ae(a)||a){var d=yd(a),e=d&&Nd(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1}; Fba=function(a,b,c){if(!a||!b)return!1;b=ag(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Dg();Tf(d.top)&&d.top&&d.top.document&&(d=d.top);if(!Bba(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=yd(c))&&b.defaultView&&b.defaultView.frameElement)&&Eba(b,a);d=a===c;a=!d&&a&&ge(a,function(e){return e===c}); return!(b||d||a)}; di=function(a,b,c,d){return Wh.getInstance().w?!1:0>=a.Ff()||0>=a.getHeight()?!0:c&&d?Gh(208,function(){return Fba(a,b,c)}):!1}; ei=function(a,b,c){var d=new Zf(0,0,0,0);this.time=a;this.volume=null;this.w=b;this.o=d;this.u=c}; fi=function(a,b,c,d,e,f,k){this.C=a;this.A=b;this.o=c;this.u=d;this.F=e;this.B=f;this.w=k}; gi=function(a,b){return b?Math.max(a.u,a.F):a.u}; hi=function(a){this.w=a;this.u=0;this.o=null}; ii=function(a,b,c){this.hd=a;this.Z=void 0===c?"na":c;this.A=[];this.K=!1;this.w=new ei(-1,!0,this);this.o=this;this.C=b;this.da=this.aa=this.G=!1;this.T="uk";this.ib=!1;this.B=!0}; ki=function(a,b){a.da||(a.da=!0,a.T=b,a.C=0,a.o!=a||ji(a))}; li=function(a,b){g.$a(a.A,b)||(a.A.push(b),b.ji(a.o),b.kh(a.w),b.cf()&&(a.G=!0))}; mi=function(a){a=a.o;a.Sw();a.Rw();var b=Wh.getInstance();b.G=Fg(!1,a.hd,b.F);a.SE();a.w.o=a.Fv()}; ni=function(a){a.G=a.A.length?Vh(a.A,function(b){return b.cf()}):!1}; oi=function(a){var b=g.gb(a.A);(0,g.z)(b,function(c){c.kh(a.w)})}; ji=function(a){var b=g.gb(a.A);(0,g.z)(b,function(c){c.ji(a.o)}); a.o!=a||oi(a)}; pi=function(a,b,c,d){this.element=a;this.u=new Zf(0,0,0,0);this.B=new Zf(0,0,0,0);this.o=b;this.Ga=c;this.J=d;this.ib=!1;this.timestamp=-1;this.A=new fi(b.w,this.u,new Zf(0,0,0,0),0,0,Jh(),0)}; qi=function(a){this.ib=!1;this.o=a}; ri=function(a,b,c){this.w=void 0===c?0:c;this.u=a;this.o=null==b?"":b}; Gba=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}}; Hba=function(a,b){return new ri(a.u,a.o,a.w+b)}; si=function(a,b){return a.wb.w?!1:a.ub.u?!1:typeof a.otypeof b.o?!1:a.o=a.length)throw Zi;if(b in a)return a[b++];b++}}; return c}throw Error("Not implemented");}; g.aj=function(a,b,c){if(g.La(a))try{(0,g.z)(a,b,c)}catch(d){if(d!==Zi)throw d;}else{a=$i(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==Zi)throw d;}}}; Tba=function(a){if(g.La(a))return g.gb(a);a=$i(a);var b=[];g.aj(a,function(c){b.push(c)}); return b}; Uba=function(){this.A=this.o=this.w=this.u=this.B=0}; Vba=function(a){var b={};var c=(0,g.A)()-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}; bj=function(){Gg.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.w=-1}; cj=function(a){return Uh(a.volume)&&.1<=a.volume}; Wba=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.B/2:qj(a.T)?b>=a.T:!1:!1}; qj=function(a){return 1==Og(nh.getInstance().Ga,"gmpd")?0c.time?b:c},a[0])}; Sj=function(a,b,c,d){Qj.call(this,a,b,c,d);this.C=this.F=this.w=null}; Tj=function(a){return a.w&&a.w.takeRecords?a.w.takeRecords():[]}; vca=function(a){if(!a.element)return!1;var b=a.element,c=a.o.o.hd,d=nh.getInstance().o.o;a.w=new c.IntersectionObserver(lh(d,function(e){return Rj(a,e)}),uca); d=lh(d,function(){a.w.unobserve(b);a.w.observe(b);Rj(a,Tj(a))}); c.ResizeObserver?(a.F=new c.ResizeObserver(d),a.F.observe(b)):c.MutationObserver&&(a.C=new g.u.MutationObserver(d),a.C.observe(b,{attributes:!0,childList:!0,characterData:!0,subtree:!0}));a.w.observe(b);Rj(a,Tj(a));return!0}; Uj=function(a){a=void 0===a?D:a;qi.call(this,new ii(a,2))}; Wj=function(){var a=Vj();ii.call(this,D.top,a,"geo")}; Vj=function(){nh.getInstance();var a=Wh.getInstance();return a.w||a.u?0:2}; Xj=function(){}; g.Yj=function(a,b){this.type=a;this.currentTarget=this.target=b;this.o=!1;this.Bz=!0}; Zj=function(a,b){g.Yj.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.u=null;a&&this.init(a,b)}; bk=function(a){return!(!a||!a[ak])}; xca=function(a,b,c,d,e){this.listener=a;this.o=null;this.src=b;this.type=c;this.capture=!!d;this.Fm=e;this.key=++wca;this.Mi=this.Rl=!1}; ck=function(a){a.Mi=!0;a.listener=null;a.o=null;a.src=null;a.Fm=null}; ek=function(a){this.src=a;this.listeners={};this.o=0}; fk=function(a,b){var c=b.type;c in a.listeners&&g.db(a.listeners[c],b)&&(ck(b),0==a.listeners[c].length&&(delete a.listeners[c],a.o--))}; gk=function(a,b,c,d){for(var e=0;ec.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=uk(c[k],f,!0,d);e=e&&l}for(k=0;!d.o&&ka.u&&(a.u++,b.next=a.o,a.o=b)}; Ak=function(a){g.u.setTimeout(function(){throw a;},0)}; Ck=function(a,b){var c=a;b&&(c=(0,g.x)(a,b));c=Bca(c);!g.Ma(g.u.setImmediate)||g.u.Window&&g.u.Window.prototype&&!Kb("Edge")&&g.u.Window.prototype.setImmediate==g.u.setImmediate?(Bk||(Bk=Cca()),Bk(c)):g.u.setImmediate(c)}; Cca=function(){var a=g.u.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Kb("Presto")&&(a=function(){var e=g.Rd("IFRAME");e.style.display="none";Iaa(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(g.Pc(Sc));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&&!Kb("Trident")&&!Kb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.lu;c.lu=null;e()}}; return function(e){d.next={lu:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in g.Rd("SCRIPT")?function(e){var f=g.Rd("SCRIPT"); f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null}; document.documentElement.appendChild(f)}:function(e){g.u.setTimeout(e,0)}}; Dk=function(){this.u=this.o=null}; Ek=function(){this.next=this.scope=this.Bf=null}; g.Ik=function(a,b){Fk||Dca();Gk||(Fk(),Gk=!0);Hk.add(a,b)}; Dca=function(){if(g.u.Promise&&g.u.Promise.resolve){var a=g.u.Promise.resolve(void 0);Fk=function(){a.then(Jk)}}else Fk=function(){Ck(Jk)}}; Jk=function(){for(var a;a=Hk.remove();){try{a.Bf.call(a.scope)}catch(b){Ak(b)}zk(Kk,a)}Gk=!1}; Lk=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}}; Nk=function(a){this.o=0;this.F=void 0;this.A=this.u=this.w=null;this.B=this.C=!1;if(a!=g.Ha)try{var b=this;a.call(void 0,function(c){Mk(b,2,c)},function(c){Mk(b,3,c)})}catch(c){Mk(this,3,c)}}; Ok=function(){this.next=this.context=this.onRejected=this.w=this.o=null;this.u=!1}; Qk=function(a,b,c){var d=Pk.get();d.w=a;d.onRejected=b;d.context=c;return d}; Rk=function(a){if(a instanceof Nk)return a;var b=new Nk(g.Ha);Mk(b,2,a);return b}; Sk=function(a){return new Nk(function(b,c){c(a)})}; Uk=function(a,b,c){Tk(a,b,c,null)||g.Ik(g.Qa(b,a))}; Vk=function(a){return new Nk(function(b,c){a.length||b(void 0);for(var d=0,e;dg.Sb(Yca).length?null:(0,g.eh)(b,function(c,d){var e=d.toLowerCase().split("=");if(2!=e.length||!Da(im[e[0]])||!im[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?Ni(b.o,a.o):Ni(b.u,a.o);case "tos":return a.u?Li(b.o,a.o):Li(b.u,a.o)}return 0}; jm=function(a,b,c,d){ij.call(this,b,d);this.F=a;this.C=c}; km=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1}; mm=function(a){return!!(1<>>0]|=f<>>0).toString(16)+"&"}); c=105;(0,g.z)(cda,function(d){var e="false";try{e=d(D)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"}); (0,g.z)(dda,function(d){var e="";try{var f=d(D);d=[];for(var k=0,l=0;l>=8);d[k++]=m}e=g.le(d,3)}catch(n){}a+=String.fromCharCode(c++)+"="+e+"&"}); return a.slice(0,-1)}; ada=function(){if(!nm){var a=function(){om=!0;D.document.removeEventListener("webdriver-evaluate",a,!0)}; D.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){pm=!0;D.document.removeEventListener("webdriver-evaluate-response",b,!0)}; D.document.addEventListener("webdriver-evaluate-response",b,!0);nm=!0}}; fda=function(){this.u=-1}; qm=function(){this.u=64;this.o=Array(4);this.B=Array(this.u);this.A=this.w=0;this.reset()}; rm=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}; sm=function(){this.u=null}; tm=function(a){return function(b){var c=new qm;c.update(b+a);return Uaa(c.digest()).slice(-8)}}; um=function(a,b){this.u=a;this.w=b}; jj=function(a,b,c){var d=a.o(c);if(g.Ma(d)){var e={};e=(e.sv="791",e.cb="j",e.e=gda(b),e);var f=wj(c,b,Zh());g.ec(e,f);c.xA[b]=f;a=2==c.Ke()?Kba(e).join("&"):a.w.o(e).o;try{return d(c.wc,a,b),0}catch(k){return 2}}else return 1}; gda=function(a){var b=Dl(a)?"custom_metric_viewable":a;a=Xb(uj,function(c){return c==b}); return Bl[a]}; vm=function(a,b,c){um.call(this,a,b);this.A=c}; wm=function(){Wl.call(this);this.C=null;this.B=!1;this.G={};this.w=new sm}; hda=function(a,b,c){c=c.opt_configurable_tracking_events;if(null!=a.u&&g.Ka(c)){var d=a.u;iba(c);(0,g.z)(c,function(e){var f=(0,g.ie)(e.KQ,function(k){var l=Zca(k);if(null==l)k=null;else if(k=new Xca,null!=l.visible&&(k.o=l.visible/100),null!=l.audible&&(k.u=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=wb(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);"ms"==n?(k.w=l,k.A=-1):(k.w=-1,k.A=l);k.B=void 0===m?"tos":m}return k}); Vh(f,function(k){return null==k})||aca(b,new jm(e.id,e.event,f,d))})}}; ida=function(){var a=Mj.getInstance().o,b="";a&&(b=a.getName());a=nh.getInstance();return"exc"===a.Va||"nis"===a.Va||"nis"===b}; xm=function(a,b,c){var d=Fj(Hj,b);d||(d=c.opt_nativeTime||-1,d=Xl(a,b,bm(a),d),c.opt_osdId&&(d.Ji=c.opt_osdId));return d}; ym=function(a,b,c){var d=Fj(Hj,b);d||(d=Xl(a,b,"n",c.opt_nativeTime||-1),d.xa=Wh.getInstance().J);return d}; jda=function(a,b){var c=Fj(Hj,b);c||(c=Xl(a,b,"h",-1));return c}; kda=function(a){var b=nh.getInstance();switch(bm(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.Va)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null}; Am=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.ec(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.w.o(Cl("ol",d));if(Da(d))if(c=Al(d),Da(c))if(Zl)b=Cl("ue",d);else if(b=a.Bm(b,e))if(a.A&&3==b.Ec)b="stopped";else{b:{Sca(a);"i"==$l&&(b.ti=!0,a.Xr());c=e.opt_fullscreen;Da(c)&&Vi(b,!!c);var f;if(c=!Wh.getInstance().u)(c=Fb(g.Jb,"CrKey")||Fb(g.Jb,"PlayStation")||Fb(g.Jb,"Roku")||Cba()||Fb(g.Jb,"Xbox"))||(c=g.Jb,c=Fb(c,"AppleTV")||Fb(c,"Apple TV")||Fb(c,"CFNetwork")||Fb(c, "tvOS")),c||(c=g.Jb,c=Fb(c,"sdk_google_atv_x86")||Fb(c,"Android TV")),c=!c;c&&(gh(),c=0===Tg(Cg));if(f=c){switch(b.Ke()){case 1:dm(a,b,"pv");break;case 2:a.Rr(b)}am("pv")}c=d.toLowerCase();!f&&g.$a(lda,c)&&Tca(a,b,e);0!=b.Ec&&g.$a(mda,c)&&!b.ti&&b.ph&&(f=b.ph,f.o||(f.o=kj(f,b)));(f=b.Nh[c])&&dj(b.oc,f);switch(b.Ke()){case 1:var k=Dl(c)?a.F.custom_metric_viewable:a.F[c];break;case 2:k=a.J[c]}if(k&&(d=k.call(a,b,e,d),Da(d))){e=Cl(void 0,c);g.ec(e,d);d=e;break b}d=void 0}3==b.Ec&&(a.A?b.Va&&b.Va.fn(): a.xj(b));b=d}else b=Cl("nf",d);else b=void 0;else Zl?b=Cl("ue"):(b=a.Bm(b,e))?(d=Cl(),g.ec(d,vj(b,!0,!1,!1)),b=d):b=Cl("nf");return Ea(b)?a.A&&"stopped"===b?zm:a.w.o(void 0):a.w.o(b)}; Bm=function(a){return"exc"==nh.getInstance().Va||"h"!=bm(a)&&bm(a),!1}; Cm=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}; Dm=function(a,b,c){c=void 0===c?{}:c;a=Am(wm.getInstance(),b,c,a);return Cm(a)}; Em=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}; nda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=n=0} function b(t){for(var v=k,y=0;64>y;y+=4)v[y/4]=t[y]<<24|t[y+1]<<16|t[y+2]<<8|t[y+3];for(y=16;80>y;y++)t=v[y-3]^v[y-8]^v[y-14]^v[y-16],v[y]=(t<<1|t>>>31)&4294967295;t=e[0];var B=e[1],C=e[2],G=e[3],I=e[4];for(y=0;80>y;y++){if(40>y)if(20>y){var F=G^B&(C^G);var M=1518500249}else F=B^C^G,M=1859775393;else 60>y?(F=B&C|G&(B|C),M=2400959708):(F=B^C^G,M=3395469782);F=((t<<5|t>>>27)&4294967295)+F+I+M+v[y]&4294967295;I=G;G=C;C=(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]+C&4294967295;e[3]=e[3]+G&4294967295;e[4]=e[4]+I&4294967295} function c(t,v){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var y=[],B=0,C=t.length;Bn?c(l,56-n):c(l,64-(n-56));for(var y=63;56<=y;y--)f[y]=v&255,v>>>=8;b(f);for(y=v=0;5>y;y++)for(var B=24;0<=B;B-=8)t[v++]=e[y]>>B&255;return t} for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,q;a();return{reset:a,update:c,digest:d,dC:function(){for(var t=d(),v="",y=0;yb)throw Error("Bad port number "+b);a.B=b}else a.B=null}; Om=function(a,b,c){b instanceof Qm?(a.w=b,pda(a.w,a.F)):(c||(b=Rm(b,qda)),a.w=new Qm(b,a.F))}; g.Sm=function(a){return a instanceof g.Km?a.clone():new g.Km(a,void 0)}; Pm=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; Rm=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,rda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; rda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; Qm=function(a,b){this.u=this.o=null;this.w=a||null;this.A=!!b}; Tm=function(a){a.o||(a.o=new g.Hm,a.u=0,a.w&&Bf(a.w,function(b,c){a.add($c(b),c)}))}; Vm=function(a,b){Tm(a);b=Um(a,b);return Im(a.o.u,b)}; g.Wm=function(a,b,c){a.remove(b);0=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=un(a,c);var l=(un(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else fk;k++)f(0,g.A)()}; g.Gn=function(a){this.o=a}; Fda=function(){}; Hn=function(){}; In=function(a){this.o=a}; Jn=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.o=a}; Kn=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.o=a}; Mn=function(a,b){this.u=a;this.o=null;if(g.Kd&&!g.od(9)){Ln||(Ln=new g.Hm);this.o=Ln.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)),Ln.set(a,this.o));try{this.o.load(this.u)}catch(c){this.o=null}}}; Nn=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Gda[b]})}; On=function(a){try{a.o.save(a.u)}catch(b){throw"Storage mechanism: Quota exceeded";}}; Pn=function(a,b){this.u=a;this.o=b+"::"}; g.Qn=function(a){var b=new Jn;return b.isAvailable()?a?new Pn(b,a):b:null}; Rn=function(a,b){this.o=a;this.u=b}; Sn=function(a){this.o=[];if(a)a:{if(a instanceof Sn){var b=a.fe();a=a.sd();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.Un=function(){Sn.call(this)}; Vn=function(){}; Wn=function(){return":"+(Vn.getInstance().o++).toString(36)}; Hda=function(a){this.ou=a}; Xn=function(a,b,c){this.A=a;this.u=b;this.o=c||[];this.Th=new Map}; Yn=function(a){Ye(this,a,Ida,null)}; Zn=function(a){Ye(this,a,null,null)}; Kda=function(a,b){var c=gf(a,Zn,1);0f&&(c=a.substring(f,e),c=c.replace(Yda,""),c=c.replace(Zda,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else $da(a,b,c)}; $da=function(a,b,c){c=void 0===c?null:c;var d=Ro(a),e=document.getElementById(d),f=e&&xo(e),k=e&&!f;f?b&&b():(b&&(f=g.Ko(d,b),b=""+g.Pa(b),So[b]=f),k||(e=aea(a,d,function(){xo(e)||(wo(e,"loaded","true"),g.No(d),g.zo(g.Qa(Po,d),0))},c)))}; aea=function(a,b,c,d){d=void 0===d?null:d;var e=g.Rd("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);Yc(e,tf(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; Ro=function(a){var b=document.createElement("a");g.Wc(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+dd(a)}; To=function(){this.Bd=!1;this.o=null}; Uo=function(a,b,c){try{a.o=new window.botguard.bg(b)}catch(d){g.uo(d)}c&&c(b)}; bea=function(){}; g.Wo=function(a,b){return Vo(a,1,b)}; Xo=function(){}; g.Yo=function(){return!!g.w("yt.scheduler.instance")}; Vo=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.zo(a,c||0)}; g.Zo=function(a){if(!isNaN(a)){var b=g.w("yt.scheduler.instance.cancelJob");b?b(a):g.Fo(a)}}; $o=function(a){var b=g.w("yt.scheduler.instance.setPriorityThreshold");b&&b(a)}; dea=function(){if("1"!=g.Tb(g.ro("PLAYER_CONFIG",{}),"args","privembed")){var a=function(){ap=!0;"google_ad_status"in window?qo("DCLKSTAT",1):qo("DCLKSTAT",2)}; g.Qo("//static.doubleclick.net/instream/ad_status.js",a);cea.push(g.Wo(function(){if(!(ap||"google_ad_status"in window)){if(a){var b=""+g.Pa(a);(b=So[b])&&g.Lo(b)}ap=!0;qo("DCLKSTAT",3)}},5E3))}}; bp=function(){return g.w("yt.ads.biscotti.lastId_")||""}; cp=function(a){g.Ga("yt.ads.biscotti.lastId_",a,void 0)}; dp=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.ny&&0l.status,t=500<=l.status&&600>l.status;if(m||q||t)n=kea(c,l,b.JQ);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||{};q=b.context||g.u;m?b.onSuccess&&b.onSuccess.call(q,l,n):b.onError&&b.onError.call(q,l,n);b.cd&&b.cd.call(q,l,n)}},b.method,d,b.headers,b.responseType, b.withCredentials); b.Sd&&0"',style:"display:none"}),yd(a).body.appendChild(a))):e?Cp(a,b,"POST",e,d):g.ro("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?Cp(a,b,"GET","",d):oea(a,b)||pea(a,b))}; oea=function(a,b){var c=po.EXPERIMENT_FLAGS;if(!c||!c.web_use_beacon_api_for_ad_click_server_pings)return!1;c=xf(g.zf(5,a));return c&&-1!=c.indexOf("/aclk")&&"1"===Rf(a,"ae")&&"1"===Rf(a,"act")?Xp(a)?(b&&b(),!0):!1:!1}; Yp=function(a,b,c){c=void 0===c?"":c;Xp(a,c)?b&&b():g.Wp(a,b,void 0,void 0,c)}; Xp=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++;Zp[d]=c;c.onload=c.onerror=function(){b&&Zp[d]&&b();delete Zp[d]}; c.src=a}; aq=function(a,b){var c=g.bc(b),d;return Zk(new Nk(function(e,f){c.onSuccess=function(k){g.vp(k)?e(k):f(new $p("Request failed, status="+k.status,"net.badstatus",k))}; c.onError=function(k){f(new $p("Unknown request error","net.unknown",k))}; c.Sd=function(k){f(new $p("Request timed out","net.timeout",k))}; d=g.Bp(a,c)}),function(e){e instanceof dl&&d.abort(); return Sk(e)})}; g.bq=function(a,b,c,d){function e(k,l,m){return Zk(k,function(n){return 0>=l||403===n.qh.status?Sk(new $p("Request retried too many times","net.retryexhausted",n.qh)):f(m).then(function(){return e(aq(a,b),l-1,Math.pow(2,c-l+1)*m)})})} function f(k){return new Nk(function(l){setTimeout(l,k)})} return e(aq(a,b),c-1,d)}; $p=function(a,b,c){Ta.call(this,a+", errorCode="+b);this.errorCode=b;this.qh=c;this.name="PromiseAjaxError"}; cq=function(){this.u=0;this.o=null}; dq=function(a){var b=new cq;a=void 0===a?null:a;b.u=2;b.o=void 0===a?null:a;return b}; eq=function(a){var b=new cq;a=void 0===a?null:a;b.u=1;b.o=void 0===a?null:a;return b}; gq=function(a){Ta.call(this,a.message||a.description||a.name);this.isMissing=a instanceof fq;this.isTimeout=a instanceof $p&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof dl}; fq=function(){Ta.call(this,"Biscotti ID is missing from server")}; rea=function(){if("1"===g.Tb(g.ro("PLAYER_CONFIG",{}),"args","privembed"))return Sk(Error("Biscotti ID is not available in private embed mode"));hq||(hq=Zk(aq("//googleads.g.doubleclick.net/pagead/id",iq).then(jq),function(a){return kq(2,a)})); return hq}; jq=function(a){a=a.responseText;if(!vb(a,")]}'"))throw new fq;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new fq;a=a.id;cp(a);hq=eq(a);lq(18E5,2);return a}; kq=function(a,b){var c=new gq(b);cp("");hq=dq(c);0uea&&(m=1),qo("BATCH_CLIENT_COUNTER",m),k={serializedEventId:k,clientCounter:m},f.serializedClientEventId=k,Pq&&Qq&&g.sp("log_gel_rtt_web")&&(f.previousBatchInfo={serializedClientEventId:Pq,roundtripMs:Qq}),Pq=k,Qq=0;g.Rq(b,a,f,{retry:vea.has(a),onSuccess:(0,g.x)(wea,this,(0,g.Mq)())})}if(d.previousDispatchMs){c=e-d.previousDispatchMs;var n=d.diffCount||0;d.averageTimeBetweenDispatchesMs=n?(d.averageTimeBetweenDispatchesMs*n+c)/ (n+1):c;d.diffCount=n+1}d.previousDispatchMs=e}; wea=function(a){Qq=Math.round((0,g.Mq)()-a)}; Tq=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=Sq+"VisibilityState";if(b in a)return a[b]}; Uq=function(a,b){var c;Vh(a,function(d){c=b[d];return!!c}); return c}; Vq=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{a=a||window.event;if(!a)return;this.event=a}catch(c){return}for(var b in a)b in xea||(this[b]=a[b]);this.rotation=a.rotation;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b= b.nodeName?b:null}catch(c){b=null}else"mouseover"==this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;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}; Wq=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 Xb(Xq,function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,k=g.Na(e[4])&&g.Na(d)&&g.ac(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})}; g.$q=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=++Yq.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var k=f?function(l){l=new Vq(l);if(!ge(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new Vq(l); l.currentTarget=a;return c.call(a,l)}; k=to(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Zq()||"boolean"===typeof d?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);Xq[e]=[a,b,c,k,d];return e}; zea=function(a,b,c,d){var e=a||document;return g.$q(e,b,function(f){var k=ge(f.target,function(l){return l===e||d(l)},!0); k&&k!==e&&!k.disabled&&(f.currentTarget=k,c.call(k,f))})}; g.ar=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.z)(a,function(b){if(b in Xq){var c=Xq[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Zq()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete Xq[b]}}))}; g.br=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}; cr=function(a){a=a||window.event;if(a.composedPath&&g.Ma(a.composedPath))var b=a.composedPath();else a.path&&(b=a.path);return b&&b.length?b[0]:g.br(a)}; dr=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}; er=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.fr=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()}; g.gr=function(a){a=a||window.event;return!1===a.returnValue||a.ew&&a.ew()}; g.hr=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which}; g.ir=function(a,b,c,d){return zea(a,b,c,function(e){return g.kn(e,d)})}; g.jr=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.$q(a,b,function(){g.ar(e);c.apply(a,arguments)},d)}; kr=function(a){for(var b in Xq)Xq[b][0]==a&&g.ar(b)}; lr=function(a){this.G=a;this.o=null;this.A=0;this.B=null;this.w=0;this.u=[];for(a=0;4>a;a++)this.u.push(0);this.Ua=0;this.F=g.$q(window,"mousemove",(0,g.x)(this.J,this));this.H=Eo((0,g.x)(this.C,this),25)}; or=function(){var a={},b=void 0===a.zD?!0:a.zD,c=void 0===a.GL?!1:a.GL,d=void 0===a.pM?!1:a.pM;null==g.w("_lact",window)&&(a=parseInt(g.ro("LACT"),10),a=isFinite(a)?(0,g.A)()-Math.max(a,0):-1,g.Ga("_lact",a,window),g.Ga("_fact",a,window),-1==a&&mr(),g.$q(document,"keydown",function(e){return mr(d,e)}),g.$q(document,"keyup",function(e){return mr(d,e)}),g.$q(document,"mousedown",function(e){return mr(d,e)}),g.$q(document,"mouseup",function(e){return mr(d,e)}),b&&(c?g.$q(window,"touchmove",function(e){nr("touchmove", 200,d,e)},{passive:!0}):(g.$q(window,"resize",function(e){nr("resize",200,d,e)}),g.$q(window,"scroll",function(e){nr("scroll",200,d,e)}))),new lr(function(){nr("mouse",100)}),g.$q(document,"touchstart",function(e){return mr(d,e)},{passive:!0}),g.$q(document,"touchend",function(e){return mr(d,e)},{passive:!0}))}; nr=function(a,b,c,d){pr[a]||(pr[a]=!0,g.Wo(function(){mr(c,d);pr[a]=!1},b))}; mr=function(a,b){if(!Aea(a,b)){null==g.w("_lact",window)&&or();var c=(0,g.A)();g.Ga("_lact",c,window);-1==g.w("_fact",window)&&g.Ga("_fact",c,window);(c=g.w("ytglobal.ytUtilActivityCallback_"))&&c()}}; Aea=function(a,b){return a&&b&&b.path?!!g.Xa(b.path,function(c){return"YTM-CUSTOM-CONTROL"==c.tagName}):!1}; qr=function(){var a=g.w("_lact",window),b;null==a?b=-1:b=Math.max((0,g.A)()-a,0);return b}; g.tr=function(a,b,c,d){d=void 0===d?{}:d;var e={};e.eventTimeMs=Math.round(d.timestamp||(0,g.Mq)());e[a]=b;e.context={lastActivityMs:String(d.timestamp?-1:qr())};g.sp("log_sequence_info_on_gel_web")&&d.Eh&&(a=e.context,b=d.Eh,rr[b]=b in rr?rr[b]+1:0,a.sequence={index:rr[b],groupKey:b},d.iC&&delete rr[d.Eh]);(d=d.uj)?(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),Oq[d.token]=a,d=Kq("log_event",d.token)):d=Kq("log_event");d.push(e);c&&(Hq.log_event=new c);c=tp("web_logging_max_batch")|| 100;e=(0,g.Mq)();d.length>=c?Jq():10<=e-sr&&(Iq(),sr=e)}; Bea=function(a,b,c){c=void 0===c?{}:c;var d={"X-Goog-Visitor-Id":c.visitorData||g.ro("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;(b=c.IQ||g.ro("AUTHORIZATION"))||(a?b="Bearer "+g.w("gapi.auth.getToken")().GQ:b=g.Gm());b&&(d.Authorization=b,d["X-Goog-AuthUser"]=g.ro("SESSION_INDEX",0),g.sp("pageid_as_header_web")&&(d["X-Goog-PageId"]=g.ro("DELEGATED_SESSION_ID")));return d}; g.Nq=function(a){a={client:{hl:a.kq,gl:a.jq,clientName:a.iq,clientVersion:a.innertubeContextClientVersion,configInfo:a.CD}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));b=g.ro("EXPERIMENTS_TOKEN","");""!==b&&(a.client.experimentsToken=b);b=[];var c=g.ro("EXPERIMENTS_FORCED_FLAGS",{});for(d in c)b.push({key:d,value:String(c[d])});var d=g.ro("EXPERIMENT_FLAGS",{});for(var e in d)e.startsWith("force_")&&void 0===c[e]&&b.push({key:e,value:String(d[e])});0Math.random()&&g.N(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",wb:c,Xy:"JSON",Sd:function(){d.Sd()}, ny:d.Sd,onSuccess:function(k,l){if(d.onSuccess)d.onSuccess(l)}, WQ:function(k){if(d.onSuccess)d.onSuccess(k)}, onError:function(k,l){if(d.onError)d.onError(l)}, VQ:function(k){if(d.onError)d.onError(k)}, timeout:d.timeout,withCredentials:!0};var e="",f=a.o.Jm;f&&(e=f);f=Bea(a.o.DD||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=g.jp(""+e+("/youtubei/"+a.o.innertubeApiVersion+"/"+b),{alt:"json",key:a.o.innertubeApiKey});try{g.sp("use_fetch_for_op_xhr")?jea(a,c):g.Fp(a,c)}catch(k){if("InvalidAccessError"==k)g.N(Error("An extension is blocking network request."),"WARNING");else throw k;}}; zr=function(a,b,c){c=void 0===c?{}:c;var d=g.yr;g.ro("ytLoggingEventsDefaultDisabled",!1)&&g.yr==g.yr&&(d=null);g.tr(a,b,d,c)}; Cr=function(a){Ar(function(){return Br(a)})}; Er=function(a,b){Ar(function(){var c=Br(a);c.adsClientEvent.adClientData={slotData:Dr(b)};return c})}; Gr=function(a,b,c){Ar(function(){var d=Br(a);d.adsClientEvent.adClientData={slotData:Dr(b)};if(c){var e={type:Cea[c.xv()]||"LAYOUT_TYPE_UNSPECIFIED"};Fr&&(e.debugData={layoutId:c.wk()});d.adsClientEvent.adClientData.layoutData=e}return d})}; Hr=function(a,b,c){Ar(function(){var d=Br(a),e=d.adsClientEvent,f={opportunityType:b};Fr&&c&&(f.debugData={slots:(0,g.ie)(c,Dr)});e.adClientData={opportunityData:f};return d})}; Br=function(a){return{adsClientEvent:{eventType:a}}}; Dr=function(a){var b={type:Dea[a.Yb]||"SLOT_TYPE_UNSPECIFIED"};Fr&&(b.debugData={slotId:a.oe});return b}; Ar=function(a){Eea||(a=a(),"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"!==a.adsClientEvent.eventType&&zr("adsClientStateChange",a))}; Ir=function(a,b){g.E.call(this);this.o=a(this,this,this,this);g.H(this,this.o);this.u=b;for(var c=g.p(this.u),d=c.next();!d.done;d=c.next())g.H(this,d.value)}; Mr=function(a,b,c){wq(a.o,b).A=c?"filled":"not_filled";if(null===c)Gr("ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_EMPTY",b,c),Jr(a,b,!1);else if(Gr("ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_NON_EMPTY",b,c),wq(a.o,b).w)Jr(a,b,!1);else{Gr("ADS_CLIENT_EVENT_TYPE_SCHEDULE_LAYOUT_REQUESTED",b,c);try{var d=a.o;if(!wq(d,b))throw new qq("Unknown slotState for onLayout");if(!d.o.ww[b.Yb])throw new qq("No LayoutRenderingAdapterFactory registered for slot of type: "+b.Yb);if(g.ab(c.Ij())&&g.ab(c.Jj())&&g.ab(c.Hj()))throw new qq("Layout has no exit triggers."); Aq(d,"trigger_category_layout_exit_normal",c.Ij());Aq(d,"trigger_category_layout_exit_skip",c.Jj());Aq(d,"trigger_category_layout_exit_mute",c.Hj())}catch(l){g.N(l);Jr(a,b,!0);Jr(a,b,!0);return}wq(a.o,b).B=!0;try{var e=a.o,f=wq(e,b),k=e.o.ww[b.Yb].o(e.w,b,c);k.init();f.layout=c;f.F=k;Bq(e,f,"trigger_category_layout_exit_normal",c.Ij());Bq(e,f,"trigger_category_layout_exit_skip",c.Jj());Bq(e,f,"trigger_category_layout_exit_mute",c.Hj())}catch(l){Kr(a,b);Jr(a,b,!0);g.N(l);Jr(a,b,!0);return}Gr("ADS_CLIENT_EVENT_TYPE_LAYOUT_SCHEDULED", b,c);d=g.p(a.u);for(e=d.next();!e.done;e=d.next())e.value.F.add(c.wk());Kr(a,b);Lr(a,b)}}; Kr=function(a,b){wq(a.o,b).B=!1;var c=wq(a.o,b),d=[].concat(g.ea(c.G));bb(c.G);Nr(a,d)}; Nr=function(a,b){for(var c={},d=g.p(b),e=d.next();!e.done;e=d.next())if(e=e.value,null!=wq(a.o,e.slot))if(wq(a.o,e.slot).B)wq(a.o,e.slot).G.push(e);else{Er("ADS_CLIENT_EVENT_TYPE_TRIGGER_ACTIVATED",e.slot);var f=c[e.category];f||(f=[]);f.push(e);c[e.category]=f}d=g.p([["trigger_category_layout_exit_normal","normal"],["trigger_category_layout_exit_skip","skipped"],["trigger_category_layout_exit_mute","muted"]]);for(e=d.next();!e.done;e=d.next()){e=g.p(e.value);var k=e.next().value;e=e.next().value; if(c.hasOwnProperty(k)){f=a;k=g.p(c[k]);for(var l=k.next();!l.done;l=k.next())l=l.value,l.layout&&yq(f.o,l.slot)&&Or(f,l.slot,l.layout,e)}}if(c.hasOwnProperty("trigger_category_slot_expiration"))for(d=g.p(c.trigger_category_slot_expiration),e=d.next();!e.done;e=d.next())Jr(a,e.value.slot,!1);if(c.hasOwnProperty("trigger_category_slot_fulfillment"))for(d=g.p(c.trigger_category_slot_fulfillment),e=d.next();!e.done;e=d.next()){e=e.value;a:switch(wq(a.o,e.slot).A){case "not_filled":f=!0;break a;default:f= !1}f&&(Er("ADS_CLIENT_EVENT_TYPE_FULFILL_SLOT_REQUESTED",e.slot),e=e.slot,f=wq(a.o,e),f.A="fill_requested",f.C.w(e))}if(c.hasOwnProperty("trigger_category_slot_entry"))for(c=g.p(c.trigger_category_slot_entry),d=c.next();!d.done;d=c.next()){d=d.value;Er("ADS_CLIENT_EVENT_TYPE_ENTER_SLOT_REQUESTED",d.slot);try{var m=a.o,n=d.slot,q=wq(m,n);if(!q)throw new nq("Got enter request for unknown slot");if(null===q.u)throw new nq("Tried to enter slot with no assigned slotAdapter");if("scheduled"!==q.o)throw new nq("Tried to enter a slot from stage: "+ q.o);if(tq(q))throw new nq("Got enter request for already active slot");for(var t=g.p(Object.values(vq(m,n.Yb))),v=t.next();!v.done;v=t.next()){var y=v.value;if(q!=y&&tq(y))throw new nq("Trying to enter a slot when a slot of same type is already active. Its status: "+y.o);}}catch(G){g.N(G);Jr(a,d.slot,!0);continue}d=wq(a.o,d.slot);"scheduled"!==d.o&&Dq(d.o,"enterSlot");d.o="enter_requested";e=d.u;d=e.o;e=e.u;Er("ADS_CLIENT_EVENT_TYPE_SLOT_ENTERED",e);f=wq(d.o,e);"enter_requested"!==f.o&&Dq(f.o,"onSlotEntered"); f.o="entered";f=g.p(d.u);for(k=f.next();!k.done;k=f.next()){k=k.value;k.A.add(e.oe);l=[];for(var B=g.p(Object.values(k.o)),C=B.next();!C.done;C=B.next())C=C.value,C.trigger instanceof Pr&&k.A.has(C.trigger.A)&&l.push(C);g.ab(l)||Nr(k.C(),l)}Lr(d,e)}}; Lr=function(a,b){if(wq(a.o,b).layout){Gr("ADS_CLIENT_EVENT_TYPE_START_LAYOUT_REQUESTED",b,wq(a.o,b).layout);var c=wq(a.o,b);null!=c.layout&&"entered"===c.o&&(c.o="rendering",c.F.o(c.layout))}}; Or=function(a,b,c,d){Gr("ADS_CLIENT_EVENT_TYPE_EXIT_LAYOUT_REQUESTED",b,c);a=wq(a.o,b);"rendering"!==a.o&&Dq(a.o,"exitLayout");a.o="rendering_stop_requested";a.F.u(c,d)}; Jr=function(a,b,c){a:switch(wq(a.o,b).o){case "exit_requested":var d=!0;break a;default:d=!1}if(!d)a:switch(wq(a.o,b).o){case "rendering_stop_requested":d=!0;break a;default:d=!1}if(d&&(wq(a.o,b).w=!0,!c))return;if(xq(a.o,b))if(wq(a.o,b).w=!0,xq(a.o,b),(d=wq(a.o,b).layout)&&yq(a.o,b))Or(a,b,d,c?"error":"abandoned");else{Er("ADS_CLIENT_EVENT_TYPE_EXIT_SLOT_REQUESTED",b);try{var e=wq(a.o,b);if(!e)throw new nq("Cannot exit slot it is unregistered");"enter_requested"!==e.o&&"entered"!==e.o&&"rendering"!== e.o&&Dq(e.o,"exitSlot");e.o="exit_requested";if(null===e.u)throw e.o="scheduled",new nq("Cannot exit slot because adapter is null");var f=e.u,k=f.o,l=f.u;Er("ADS_CLIENT_EVENT_TYPE_SLOT_EXITED",l);var m=wq(k.o,l);"exit_requested"!==m.o&&Dq(m.o,"onSlotExited");m.o="scheduled";for(var n=g.p(k.u),q=n.next();!q.done;q=n.next()){var t=q.value;b=l;t.A["delete"](b.oe);a=[];for(var v=g.p(Object.values(t.o)),y=v.next();!y.done;y=v.next()){var B=y.value;B.trigger instanceof Qr&&b.oe===B.trigger.B&&a.push(B)}g.ab(a)|| Nr(t.C(),a)}null!=wq(k.o,l)&&wq(k.o,l).w&&Jr(k,l,!1)}catch(C){g.N(C)}}else{a:switch(wq(a.o,b).A){case "fill_requested":k=!0;break a;default:k=!1}if(k&&(wq(a.o,b).w=!0,Er("ADS_CLIENT_EVENT_TYPE_CANCEL_SLOT_FULFILLMENT_REQUESTED",b),wq(a.o,b).C.u(b),!c))return;k=wq(a.o,b).layout;Er("ADS_CLIENT_EVENT_TYPE_UNSCHEDULE_SLOT_REQUESTED",b);l=wq(a.o,b);n=g.p(b.Zk);for(q=n.next();!q.done;q=n.next())if(q=q.value,t=l.U[q.o])t.w(q),delete l.U[q.o];n=g.p(b.ts);for(q=n.next();!q.done;q=n.next())if(q=q.value,t=l.J[q.o])t.w(q), delete l.J[q.o];n=g.p(b.rs);for(q=n.next();!q.done;q=n.next())if(q=q.value,t=l.H[q.o])t.w(q),delete l.H[q.o];null!=l.layout&&(n=l.layout,Cq(l,n.Ij()),Cq(l,n.Jj()),Cq(l,n.Hj()));l.C=null;l.u=null;l.F=null;l=a.o;wq(l,b)&&delete vq(l,b.Yb)[b.oe];Er("ADS_CLIENT_EVENT_TYPE_SLOT_UNSCHEDULED",b);a=g.p(a.u);for(l=a.next();!l.done;l=a.next())l=l.value,l.B["delete"](b.oe),k&&l.F["delete"](k.wk())}}; Rr=function(a,b,c,d,e){pq.call(this,a,"slot_type_above_feed",b,c,d);this.o=e}; Sr=function(a,b){this.u=a;this.o=b}; Tr=function(a,b,c,d,e){pq.call(this,a,"slot_type_in_player",b,c,d);this.o=e}; Ur=function(a,b){oq.call(this,a,"trigger_type_layout_id_exited");this.B=b}; Vr=function(a,b){oq.call(this,a,"trigger_type_on_layout_self_exit_requested");this.A=b}; Wr=function(a,b){this.u=a;this.o=b}; Xr=function(a){this.o=a}; Yr=function(a){this.o=a}; Fea=function(a,b){this.o=a;this.u=b}; Gea=function(){}; Pr=function(a,b){oq.call(this,a,"trigger_type_slot_id_entered");this.A=b}; Qr=function(a,b){oq.call(this,a,"trigger_type_slot_id_exited");this.B=b}; Zr=function(a){g.E.call(this);this.C=a;this.o={};this.B=new Set;this.A=new Set;this.F=new Set}; $r=function(a){a.requestFullscreen?a.requestFullscreen(void 0):a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.webkitEnterFullscreen&&a.webkitEnterFullscreen()}; ds=function(a){var b;as()?bs()==a&&(b=document):b=a;b&&(a=Uq(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)}; es=function(a){return g.Xa(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})}; Hea=function(){var a=document;return g.Xa(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})}; as=function(){return!!Uq(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)}; bs=function(){var a=Uq(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);return a?a:null}; fs=function(a,b,c){this.errorCode=a;this.o=b;this.details=c||{}}; gs=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,=]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""}; hs=function(a){var b=void 0===b?!1:b;if(a instanceof fs)return a;a=a&&a instanceof Error?a:Error(""+a);g.N(a,b?"WARNING":"ERROR");return new fs(b?"player.exception":"player.fatalexception",!b,{name:""+a.name,message:""+a.message})}; js=function(a,b,c){"string"===typeof a&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return is(a)}; is=function(a,b,c){if(g.Na(a)){b=["endSeconds","startSeconds","mediaContentUrl","suggestedQuality","videoId"];c={};for(var d=0;d=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"}; ws=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=us(b);this.mimeType=b;this.o=k||0;this.B=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.w=void 0===f?null:f;this.u=Jea[vs(this)]||"";this.A=!0}; vs=function(a){return a.id.split(";",1)[0]}; xs=function(a){return"9"==a.u||"("==a.u||"9h"==a.u||"(h"==a.u}; ys=function(a){return"9h"==a.u||"(h"==a.u}; zs=function(a){return"9h"==a.u||"(h"==a.u}; g.As=function(a){return 1==a.containerType}; Bs=function(a){return"application/x-mpegURL"==a.mimeType}; Cs=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)}; Ds=function(a){return a.includes("vtt")||a.includes("text/mp4")}; us=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}; Es=function(a,b,c,d,e){var f=new ls;b in g.os||(b="small");d&&e?(e=parseInt(e,10),d=parseInt(d,10)):(e=g.os[b],d=Math.round(16*e/9));b=new ps(d,e,0,null,void 0,b,void 0,void 0,void 0);a=unescape(a.replace(/"/g,'"'));return new ws(c,a,f,b)}; Fs=function(){var a=g.w("yt.player.utils.videoElement_");a||(a=g.Rd("VIDEO"),g.Ga("yt.player.utils.videoElement_",a,void 0));return a}; Gs=function(a){var b=Fs();return!!(b&&b.canPlayType&&b.canPlayType(a))}; Is=function(a){if(/opus/.test(a)&&(g.Hs&&!yn("38")||g.Hs&&Hp("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!Np())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!Gs(a)}; Ms=function(){var a=Fs();return!!a.webkitSupportsPresentationMode&&g.Ma(a.webkitSetPresentationMode)}; Ns=function(){return"pictureInPictureEnabled"in window.document&&!!window.document.pictureInPictureEnabled}; Os=function(){var a=Fs();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1}; Ps=function(a,b){this.o=a;this.u=b;this.w=0;Object.defineProperty(this,"timestampOffset",{get:this.QM,set:this.UM});Object.defineProperty(this,"buffered",{get:this.OM})}; Kea=function(){this.length=0}; Qs=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.o=a;this.u=NaN;this.w=0;Object.defineProperty(this,"duration",{get:this.PM,set:this.TM});Object.defineProperty(this,"readyState",{get:this.RM});this.o.addEventListener("webkitsourceclose",(0,g.x)(this.SM,this),!0)}; g.Rs=function(a){g.E.call(this);this.da=[];this.Gc=a||this}; Ss=function(a,b,c,d){for(var e=0;e=b)return c}catch(d){}return-1}; Zs=function(a,b){if(!a)return NaN;var c=Ys(a,b);return 0<=c?a.end(c):NaN}; $s=function(a){return a&&a.length?a.end(a.length-1):NaN}; at=function(a,b){var c=Zs(a,b);return 0<=c?c-b:0}; bt=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 Ws(d,e)}; g.O=function(a){a=void 0===a?!1:a;g.E.call(this);this.Vb=new g.zn(a);g.H(this,this.Vb)}; ct=function(a,b,c){for(var d in b)a.subscribe(d,b[d],c)}; dt=function(a,b,c){for(var d in b)a.unsubscribe(d,b[d],c)}; et=function(a,b){g.O.call(this);var c=this;this.o=a;this.B=b;this.C=this.u=this.A=null;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))}; ft=function(a,b,c,d){g.O.call(this);var e=this;this.o=a;this.H={error:function(){!e.ia()&&e.isActive()&&e.R("error",e)}, updateend:function(){!e.ia()&&e.isActive()&&e.R("updateend",e)}}; ct(this.o,this.H);this.u=b;this.G=c;this.B=0;this.A=Infinity;this.C=0;this.F=this.w=d}; gt=function(a,b){this.o=a;this.u=!!b;this.w=!1}; ht=function(a,b){b=void 0===b?!1:b;g.E.call(this);this.B=new g.Rs(this);g.H(this,this.B);this.u=this.o=null;this.w=a;var c=this.w;c=c.IF?c.o.webkitMediaSourceURL:window.URL.createObjectURL(c);this.ik=new gt(c,!0);this.C=b;this.A=null;Ss(this.B,this.w,["sourceopen","webkitsourceopen"],this.NK);Ss(this.B,this.w,["sourceclose","webkitsourceclose"],this.MK)}; Lea=function(a,b){it(a)?g.Ik(function(){return b(a)}):a.A=b}; jt=function(a,b){try{a.w.duration=b}catch(c){}}; it=function(a){try{return"open"==a.w.readyState}catch(b){return!1}}; kt=function(a){try{return"closed"==a.w.readyState}catch(b){return!0}}; lt=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)}; mt=function(a){return a.o?!!a.o.supports(0):lt()}; nt=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 ht(a.w,!0);k.ik=a.ik;e=new ft(e,b,c,d);b=new ft(f,b,c,d);k.o=e;k.u=b;g.H(k,e);g.H(k,b);it(a)||a.o.co(a.o.yb());return k}; ot=function(){}; g.pt=function(a){a=void 0===a?!1:a;g.E.call(this);this.B=this.w=this.A=null;this.K=a;this.H=this.G=!1;this.F=new g.wk;g.H(this,this.F)}; qt=function(a){a=a.zm();return 1>a.length?NaN:a.end(a.length-1)}; rt=function(a,b){a.A&&null!=b&&b.o==a.A.o||(a.A&&a.A.dispose(),a.A=b)}; tt=function(a){return at(a.Ld(),a.getCurrentTime())}; ut=function(a){var b=a.Ld();return 0<$s(b)&&a.getDuration()?Zs(b,a.getCurrentTime()):0}; vt=function(a){var b=a.Ld();return 0<$s(b)&&a.getDuration()?b.end(b.length-1):0}; wt=function(a){var b=a.getDuration();return Infinity==b?1:b?ut(a)/b:0}; xt=function(a){switch(a.Ve()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";case 1E3:return"capability.changed";default:return null}}; zt=function(a,b,c){g.Yj.call(this,b,a);this.u=c||null}; g.At=function(a){g.pt.call(this);this.o=a;this.u={}}; g.Bt=function(a){return(a=Mea[a.toString()])?a:"LICENSE"}; Nea=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=dp(b||"");var c={};(0,g.z)(this.experimentIds,function(d){c[d]=!0}); this.experiments=c}; g.P=function(a,b){return"true"==a.flags[b]}; g.Q=function(a,b){return parseFloat(a.flags[b])||0}; g.Ct=function(a,b){var c=a.flags[b];return c?c.toString():""}; Oea=function(a){this.A=this.o=NaN;this.w=this.u=!1;this.B=void 0===a?!1:a}; Dt=function(a,b){return b>a.o+(a.B?.001:0)&&b(d||!a.w?1500:400);a.o=b;a.A=c;return!1}; g.Ft=function(a,b){this.o=a||64;this.u=void 0===b?null:b}; Gt=function(a,b){return Et(a,b.getCurrentTime(),(0,g.Mq)(),tt(b))}; Ht=function(a,b,c){return b==a.o&&c==a.u||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.Ft(b,c)}; It=function(a,b){return Ht(a,a.o|b)}; Jt=function(a,b){return Ht(a,a.o&~b)}; Kt=function(a,b,c){return Ht(a,(a.o|b)&~c)}; g.R=function(a,b){return!!(a.o&b)}; g.Lt=function(a,b){return b.o==a.o&&b.u==a.u}; g.Mt=function(a){return g.R(a,8)&&!g.R(a,512)&&!g.R(a,64)&&!g.R(a,2)}; g.Nt=function(a){return g.R(a,8)&&!g.R(a,2)&&!g.R(a,1024)}; Ot=function(a){return g.Mt(a)&&!g.R(a,16)&&!g.R(a,32)}; g.Pt=function(a){return g.R(a,1)&&!g.R(a,2)}; Qt=function(a){return g.R(a,128)?-1:g.R(a,2)?0:g.R(a,64)?-1:g.R(a,1)&&!g.R(a,32)?3:g.R(a,8)?1:g.R(a,4)?2:-1}; Rt=function(a){this.u=window.Float32Array?new Float32Array(a):Array(a);this.w=this.o=a-1}; St=function(a){return a.u[a.o]||0}; Tt=function(){g.E.call(this);this.w={};this.o={};this.u=new g.J(this.A,250,this);g.H(this,this.u)}; Vt=function(a,b,c,d){a.w[b]=c;a.o[b]=new Ut(!!d)}; Wt=function(a,b){if(a.o[b]){var c=a.o[b].buffer;for(var d=[];c.w!=c.o;)c.w=(c.w+1)%c.u.length,d.push(c.u[c.w]);c=d}else c=[];return c}; Xt=function(a,b){return a.o[b]?St(a.o[b].buffer):0}; Ut=function(a){this.u=a;this.buffer=new Rt(100);this.o=NaN}; Zt=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;cb;b++){c=(0,g.A)();for(var d=0;dF;F++)if(G=(G<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(C.charAt(F)),4==F%5){for(var M="",U=0;6>U;U++)M="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(G&31)+M,G>>=5;I+=M}C=I.substr(0,4)+" "+I.substr(4,4)+" "+I.substr(8,4)}else C="";n={video_id_and_cpn:c.videoId+" / "+C,codecs:"",dims_and_frames:"",bandwidth_kbps:n.toFixed(0)+" Kbps",buffer_health_seconds:t.toFixed(2)+" s",drm_style:v? "":"display:none",drm:v,debug_info:y,bandwidth_style:B,network_activity_style:B,network_activity_bytes:q.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none",playback_categories:""};q=f.clientWidth+"x"+f.clientHeight+(1a)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":l="Optimized for Normal Latency";break;case "LOW":l="Optimized for Low Latency";break;case "ULTRALOW":l="Optimized for Ultra Low Latency";break;default:l= "Unknown Latency Setting"}else l=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";f+=l;(c=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(f+=", seq "+c.sequence);n.live_mode=f}b.isGapless()&&(n.playback_categories+="Gapless ");n.playback_categories_style=n.playback_categories?"":"display:none";n.bandwidth_samples=Wt(m,"bandwidth");n.network_activity_samples=Wt(m,"networkactivity");n.live_latency_samples=Wt(m,"livelatency");n.buffer_health_samples=Wt(m,"bufferhealth"); b="display:none";g.P(k,"web_player_release_debug")&&(n.release_name="",k=g.P(k,"player_web_canary"),n.canary=k?"yes":"no",b="");n.release_style=b;n.canary_style=b;return n}; ju=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return b&&b[1]?b[1]+" ("+vs(a)+")":vs(a)}; mu=function(a,b,c,d){!a&&(void 0===c?0:c)&&g.uo(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a}; nu=function(a){return(a=Pea.exec(a))?a[0]:""}; ou=function(a){var b=void 0===b?!1:b;return mu(Qea.test(a),a,b,"Nielsen OCR URL")}; pu=function(a){var b=void 0===b?!1:b;return mu(Rea.test(a),a,b,"Active View 3rd Party Integration URL")}; qu=function(a){var b=void 0===b?!1:b;return mu(Sea.test(a),a,b,"Google/YouTube Brand Lift URL")}; ru=function(a){var b=void 0===b?!1:b;return mu(Tea.test(a),a,b,"Trusted Stream URL")}; g.tu=function(a){var b=void 0===b?!1:b;return mu(Uea.test(a),a,b,"Trusted Image URL")}; uu=function(a){var b=void 0===b?!1:b;return mu(Vea.test(a),a,b,"Trusted Promoted Video Domain URL")}; vu=function(a,b){b=void 0===b?!1:b;return mu(Wea.test(a),a,b,"Captions URL")}; wu=function(a){a=new g.Km(a);g.Lm(a,document.location.protocol);g.Mm(a,document.location.hostname);document.location.port&&g.Nm(a,document.location.port);return a.toString()}; xu=function(a){a=new g.Km(a);g.Lm(a,document.location.protocol);return a.toString()}; yu=function(){return"ytp-id-"+Xea++}; g.Au=function(a){g.E.call(this);this.u={};this.Ta={};this.element=zu(this,a)}; zu=function(a,b,c){c=c||"svg"==b.D;if(c){var d=document.createElementNS("http://www.w3.org/2000/svg",b.D);g.Bu&&(b.N||(b.N={}),b.N.focusable="false")}else d=g.Rd(b.D);var e;if(e=b.I){if(e=Cu(a,d,"class",e))Du(a,d,"class",e),a.u[e]=d}else if(e=b.X){for(var f=0;fa.kb())a.segments=[];else{var c=g.Wa(a.segments,function(d){return d.ub>=b},a); 0a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-bc;c++){var d=a.getInt8(b+c);if(97>d||122=a.u.byteLength}; Ov=function(a,b,c){var d=new Gv(c);if(!Iv(d,a))return!1;d=Jv(d);if(!Kv(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=Lv(d);var e=Mv(d,!0);d=a+(Lv(d)-b)+e;d=9d;d++)c=256*c+Uv(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+Uv(a),d*=128;return b?c-d:c}; Rv=function(a){var b=Mv(a,!0);a.o+=b}; Lv=function(a){return a.w+a.o}; Pv=function(a){var b=a.o;a.o=0;var c=!1;try{Kv(a,440786851)&&(a.o=0,Kv(a,408125543)&&(c=!0))}catch(d){if(d instanceof RangeError)a.o=0,c=!1,g.uo(d);else throw d;}a.o=b;return c}; Wv=function(a){var b=a.o,c={As:1E6,Bs:1E9,duration:0,Ur:0,Pk:0};if(!Kv(a,408125543))return a.o=b,null;c.Ur=Mv(a,!0);c.Pk=Lv(a);if(Kv(a,357149030))for(var d=Jv(a);!Hv(d);){var e=Mv(d,!1);2807729==e?c.As=Qv(d):2807730==e?c.Bs=Qv(d):17545==e?c.duration=Sv(d):Rv(d)}else return a.o=b,null;a.o=b;return c}; Yv=function(a,b,c){var d=a.o,e=[];if(!Kv(a,475249515))return a.o=d,null;for(var f=Jv(a);Kv(f,187);){var k=Jv(f);if(Kv(k,179)){var l=Qv(k);if(Kv(k,183)){k=Jv(k);for(var m=b;Kv(k,241);)m=Qv(k)+b;e.push({Vg:m,dm:l})}}}if(0=Math.abs(a.B-b.F)||a.u+1==b.u&&0==b.w&&a.A?!0:!1}; kw=function(a){return a.u+(a.A?1:0)}; gfa=function(a){1==a.length||(0,g.dh)(a,function(c){return!!c.range}); for(var b=1;b=b.Mt||1<=d.o)if(a=Dw(a),c=Cw(c,Pu(a)),c.u+c.o<=d.u+d.o)return!0;return!1}; mfa=function(a,b){var c=b?Dw(a):a.u;return new yw(c)}; Dw=function(a){a.w||(a.w=Su(a.A));return a.w}; Fw=function(a){return 1=l)if(l=e.shift(),k=(k=m.exec(l))?+k[1]/1E3:0)l=(l=n.exec(l))?+l[1]:0,l+=1; else return;c.push(new Wu(q,f,k,NaN,"sq/"+(q+1)));f+=k;l--}a.index.append(c)}}; g.bx=function(){this.o=0;this.u=new Float64Array(128);this.w=new Float64Array(128);this.B=1;this.A=!1}; cx=function(a){if(a.u.length=c+d)break}return new Hw(e)}; xfa=function(a,b){return fx(function(c,d){return g.bq(c,d,4,1E3)},a,b)}; g.gx=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=Fv(new Uint8Array(a.response))):b=a.responseText;return!b||2048=a.H}; vx=function(a){var b=a.H;isFinite(b)&&(ux(a)?a.Ww():(b=Math.max(0,a.U+b-(0,g.Mq)()),a.A||(a.A=new g.J(a.Ww,b,a),g.H(a,a.A)),a.A.start(b)))}; Ifa=function(a){a=a.o;for(var b in a){var c=a[b].index;if(c.Kb())return c.kb()+1}return 0}; wx=function(a){if(!isNaN(a.K))return a.K;var b=a.o,c;for(c in b){var d=b[c].index;if(d.Kb()){b=0;for(c=d.se();c<=d.kb();c++)b+=d.getDuration(c);b/=d.bi();b=.5*Math.round(b/.5);d.bi()>a.ba&&(a.K=b);return b}if(a.isLive&&(d=b[c],d.G))return d.G}return NaN}; xx=function(a,b){for(var c in a.o){var d=a.o[c].index;if(d.Kb()){var e=d.Je(b),f=d.Qq(e);if(f)return f+b-d.Oc(e)}}return NaN}; Jfa=function(a,b){var c=Yb(a.o,function(e){return e.index.Kb()}); if(!c)return NaN;c=c.index;var d=c.Je(b);return c.Oc(d)==b?b:d=c)}; Zx=function(){g.O.call(this);this.Ea={}}; g.by=function(a,b,c){var d=c&&0parseInt(c.get("dhmu",d.toString()),10));this.El=d;this.oa="3"==this.controlsType||this.o||V(!1,a.use_media_volume);this.J=Os();this.Nl=g.Ly;this.kf=V(!1,a.opt_out_deprecation);this.qf=My(this)&&!this.kf||V(!Ny(this)&&!Oy(this)&&!this.Qb,a.showinfo);this.lf=V(!1,a.playsinline);d=this.o&&Py&&0=Qy;c=this.o;c=Ry(this)||!d&&V(c,a.use_native_controls)?"3":"1";this.controlsType="0"!=(b?b.controlsType:a.controls)?c:"0";this.kd=this.o; this.color=Ay("red",a.color,aga);this.Hl="3"==this.controlsType||V(!1,a.modestbranding)&&"red"==this.color;this.ba=!this.u;this.rf=(c=!this.ba&&!Oy(this)&&!this.F&&!this.Qb&&!Ny(this))&&!this.Hl&&"1"==this.controlsType;this.jc=g.Sy(this)&&c&&"0"==this.controlsType&&!this.rf;this.Im=this.Il=d;this.sf=Ty&&!g.nd(601)?!1:!0;this.Dl=this.u||!1;this.Ba=Oy(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=Cy("",a.widget_referrer);this.Fb=(!this.zb||V(!0,a.enablecastapi))&& "1"==this.controlsType&&!this.o&&(Oy(this)||g.Sy(this)||g.Uy(this))&&!g.Vy(this);this.pm=Ns()||Ms();this.Gc=!this.o&&!Hp("nintendo wiiu")&&!Hp("nintendo 3ds")||V(!1,a.autoplayoverride);this.jd=V(!1,a.mutedautoplay)&&W(this,"embeds_enable_muted_autoplay")&&My(this)&&this.J&&!Ry(this);d=(Oy(this)||Ny(this))&&"blazer"==this.playerStyle;this.Hb=!V(!0,a.fs);this.aa=!this.Hb&&(d||as());this.xl=W(this,"uniplayer_block_pip")&&Ip()&&yn(58)&&!Up();d=b?!!b.disableRelatedVideos:a.rel;this.Ca=My(this)&&!this.kf|| V(!this.Qb,d);this.km=V(!1,a.co_rel);this.A=g.P(this.experiments,"embeds_use_parent_target_for_anchor_tags")&&Up&&0=Qy?"_top":"_blank";this.Ha=g.Uy(this);this.Zb="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":d="bl";break;case "gmail":d="gm";break;case "books":d="gb";break;case "docs":d="gd";break;case "google-live":d="gl";break;case "play":d="gp";break;case "chat":d="hc";break;case "hangouts-meet":d="hm";break;case "photos-edu":case "picasaweb":d="pw";break;default:d= "yt"}this.U=d;this.Hc=Cy("",a.authuser);this.Ih=(this.u&&!this.V||!!this.Hc)&&V(!this.F,this.zb?a.showwatchlater:void 0);this.tb=b?!!b.disableKeyboardControls:V(!1,a.disablekb);this.md=Cy("",a.ecver);this.loop=V(!1,a.loop);this.pageId=Cy("",a.pageid);this.em=V(!0,a.canplaylive);this.Al=V(this.Qb,a.ss);(d=a.video_container_override)?(c=d.split("x"),2!=c.length?d=null:(d=parseInt(c[0],10),c=parseInt(c[1],10),d=isNaN(d)||isNaN(c)||0>=d*c?null:new g.ud(d,c))):d=null;this.Ng=d;this.mute=V(!1,a.mute);this.kc= !this.mute&&V("0"!=this.controlsType,a.store_user_volume);d=b?b.annotationsLoadPolicy:a.iv_load_policy;this.annotationsLoadPolicy="3"==this.controlsType?3:Ay(void 0,d,Wy);this.captionsLanguagePreference=b?b.captionsLanguagePreference||"":Cy("",a.cc_lang_pref);d=Ay(2,a.cc_load_policy,Wy);"3"==this.controlsType&&2==d&&(d=3);this.cg=d;this.Xb=b?b.hl||"en_US":Cy("en_US",a.hl);this.region=b?b.contentRegion||"US":Cy("US",a.cr);this.hostLanguage=b?b.hostLanguage||"en":Cy("en",a.host_language);this.wl=!this.V&& Math.random()=navigator.hardwareConcurrency&&(b=c);(c=g.Q(a.experiments,"html5_av1_thresh_hcc"))&&4> "+a.o.languageName);return c.join("")}; Iz=function(a,b){this.id=a;this.rb=b;this.captionTracks=[];this.mm=this.rp=this.o=null;this.hp="UNKNOWN"}; Jz=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.p(this.o),c=b.next();!c.done;c=b.next())if(c=c.value,c.rb&&!a.has(c.rb.id)){var d=new Iz(c.id,c.rb);a.add(c.rb.id);this.audioTracks.push(d)}}; Kz=function(a,b,c){var d={},e;for(e in c.o){var f=c.o[e],k=vs(f.info);""==f.info.u||("304"==k||"266"==k)&&a.H||a.J&&"h"==f.info.u&&f.info.video&&1080k}).concat(l); l.length&&(f["19"]=l)}ix(c)&&(f=jga(b,f,d));b=ega(a);d=fga(a);b=g.Xa(b,e);d=g.Xa(d,e);if(!b||!d)return dq();a.V&&"1"==b&&f["9"]&&(l=Lz(f["1"]),Lz(f["9"])>l&&(b="9"));"9"==b&&f.h&&(l=Lz(f["9"]),Lz(f.h)>1.5*l&&(b="h"),c.Se&&!Qfa(a.C)&&(b="h"));a=f[b];c=f[d];if(!a.length)return dq();Mz(a,c);return eq(new Jz(a,c,kga(f,b,d)))}; kga=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)?(Mz(d,e),new Jz(d,e)):null}; Mz=function(a,b){g.qb(a,function(c,d){return d.wa().height*d.wa().width-c.wa().height*c.wa().width||d.o-c.o}); g.qb(b,function(c,d){return d.o-c.o})}; iga=function(a,b){var c=(0,g.eh)(b,function(d,e){return 32c&&(b=a.C&&(a.G||Ax(a,Fx))?(0,g.Zd)(b,function(d){return 32G.width*G.height*G.fps))var G=B}}else n.push(B)}}m=q.reduce(function(I,F){return F.Cf.Km()&&I},!0)?l:null; d=Math.max(d,g.Q(a.experiments,"html5_hls_initial_bitrate"));G=G||{};q.push(Tz(n,c,e,"93",void 0===G.width?0:G.width,void 0===G.height?0:G.height,void 0===G.fps?0:G.fps,f,"auto",d,m));return Rx(a.w,q,dz(a,b))}; Tz=function(a,b,c,d,e,f,k,l,m,n,q){d=new ws(d,"application/x-mpegURL",new ls,new ps(e,f,k,null,void 0,m),void 0,q);a=new rga(a,b,c);a.B=n?n:1369843;return new Sz(d,a,l)}; uga=function(a){a=g.p(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}; Vz=function(){return xa(function(a){Uz||(Uz=new Promise(function(b,c){var d=indexedDB.open("yt-player-local-media",2);d.onerror=c;d.onsuccess=function(e){return b(e.target.result)}; d.onupgradeneeded=function(e){e=e.target.result;e.createObjectStore("index");e.createObjectStore("media")}})); return a["return"](Uz)})}; Xz=function(a,b,c){var d;return xa(function(e){if(1==e.o)return ua(e,Vz(),2);d=e.w;return e["return"](Wz(d.transaction(a,"readwrite").objectStore(a).put(c,b)))})}; Yz=function(a,b){var c;return xa(function(d){if(1==d.o)return ua(d,Vz(),2);c=d.w;return d["return"](Wz(c.transaction(a).objectStore(a).get(b)))})}; Zz=function(){var a=window.localStorage&&window.localStorage["yt-player-lv"];return a?a.split(","):[]}; $z=function(a,b,c,d){var e;xa(function(f){e=a+"-"+b.id+"-"+c;return f["return"](Xz("media",e,d))})}; wga=function(a,b,c){var d,e;xa(function(f){d=a+(b?":v":":a");e=Xz("index",d,c);b&&(e=e.then(function(){var k=Zz();k.includes(a)||(k.push(a),window.localStorage["yt-player-lv"]=k.join(","))})); return f["return"](e)})}; aA=function(a){return!!a&&Zz().includes(a)}; xga=function(a){return xa(function(b){return b["return"](Promise.all([Yz("index",a+":a"),Yz("index",a+":v")]).then(function(c){return c.join(",")}))})}; yga=function(a,b,c){return xa(function(d){return d["return"](Yz("media",a+"-"+b+"-"+c))})}; Wz=function(a){return new Promise(function(b,c){a.onsuccess=function(){return b(a.result)}; a.onerror=function(){return c()}})}; bA=function(a,b){this.Cf=a;this.o=b}; cA=function(a,b){this.Cf=a;this.o=b}; zga=function(a){var b=[];(0,g.z)(a,function(c){if(c.url){var d=Es(c.type,"medium","0");b.push(new cA(d,c.url))}}); return b}; g.dA=function(a,b,c,d){this.Zc=new Set;this.H=a;this.J=b;a=c.split("#");this.C=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.F=a[7];this.K=d}; eA=function(a,b){var c=a.J;c=c.replace("$N",a.A);c=c.replace("$L",a.H.toString());c=c.replace("$M",b.toString());a.F&&(c=g.Lf(c,{sigh:a.F}));return xu(c)}; g.fA=function(a,b){b>=a.gr()&&a.xk();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.xk()+1-d*c;if(k=b)return a.B.set(b,d),d;a.B.set(b,c-1);return c-1}; nA=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.dA.call(this,a,b,c,0);this.u=null;this.G=d?3:0}; oA=function(a,b,c){lA.call(this,a,0,void 0,b);for(a=0;a=d){d=uA(k.url);g.tu(d)&&(b[e]=d);break}(c=a.pop())&&1280<=c.width&&(c=uA(c.url),g.tu(c)&&(b["maxresdefault.jpg"]=c));return b}; uA=function(a){return a.startsWith("//")?"https:"+a:a}; yA=function(a,b){var c=c||{};c.name=g.ro("INNERTUBE_CONTEXT_CLIENT_NAME",1);c.version=g.ro("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);var d=a,e=void 0===b?"ERROR":b;e=void 0===e?"ERROR":e;var f=window&&window.yterr||!1;if(d&&f&&!(5<=wA)){if(g.sp("console_log_js_exceptions")){f=d;var k=[];k.push("Name: "+f.name);k.push("Message: "+f.message);f.hasOwnProperty("params")&&k.push("Error Params: "+JSON.stringify(f.params));k.push("File name: "+f.fileName);k.push("Stacktrace: "+f.stack);window.console.log(k.join("\n"), f)}f=d.stacktrace;k=d.columnNumber;if(d.hasOwnProperty("params")){var l=String(JSON.stringify(d.params));c.params=l.substr(0,500)}d=Xaa(d);f=f||d.stack;l=d.lineNumber.toString();isNaN(l)||isNaN(k)||(l=l+":"+k);window.yterr&&g.Ma(window.yterr)&&window.yterr(d);if(!(xA[d.message]||0<=f.indexOf("/YouTubeCenter.js")||0<=f.indexOf("/mytube.js"))){e={ud:{a:"logerror",t:"jserror",type:d.name,msg:d.message.substr(0,250),line:l,level:e,"client.name":c.name},wb:{url:g.ro("PAGE_NAME",window.location.href),file:d.fileName}, method:"POST"};c.version&&(e["client.version"]=c.version);f&&(e.wb.stack=f);for(var m in c)e.wb["client."+m]=c[m];if(c=g.ro("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var n in c)e.wb[n]=c[n];g.Bp(g.ro("ECATCHER_REPORT_HOST","")+"/error_204",e);xA[d.message]=!0;wA++}}}; zA=function(a){this.wd=a}; g.AA=function(a){return new zA({trackingParams:a})}; Cga=function(a){var b=Bga++;return new zA({veType:a,veCounter:b,elementIndex:void 0,dataElement:void 0,youtubeData:void 0})}; g.BA=function(a){var b={};void 0!==a.wd.trackingParams?b.trackingParams=a.wd.trackingParams:(b.veType=a.wd.veType,null!=a.wd.veCounter&&(b.veCounter=a.wd.veCounter),null!=a.wd.elementIndex&&(b.elementIndex=a.wd.elementIndex));void 0!==a.wd.dataElement&&(b.dataElement=g.BA(a.wd.dataElement));void 0!==a.wd.youtubeData&&(b.youtubeData=a.wd.youtubeData);return b}; CA=function(a,b){this.version=a;this.args=b}; DA=function(a,b){this.topic=a;this.o=b}; FA=function(a,b){var c=EA();c&&c.publish.call(c,a.toString(),a,b)}; Dga=function(a,b,c){var d=EA();if(!d)return 0;var e=d.subscribe(a.toString(),function(f,k){var l=g.w("ytPubsub2Pubsub2SkipSubKey");l&&l==e||(l=function(){if(GA[e])try{if(k&&a instanceof DA&&a!=f)try{var m=a.o,n=k;if(!n.args||!n.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!m.Mg){var q=new m;m.Mg=q.version}var t=m.Mg}catch(v){}if(!t||n.version!=t)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=Reflect.construct(m, g.gb(n.args))}catch(v){throw v.message="yt.pubsub2.Data.deserialize(): "+v.message,v;}}catch(v){throw v.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+v.message,v;}b.call(c||window,k)}catch(v){g.N(v)}},HA[a.toString()]?g.Yo()?g.Wo(l):g.zo(l,0):l())}); GA[e]=!0;IA[a.toString()]||(IA[a.toString()]=[]);IA[a.toString()].push(e);return e}; KA=function(a,b,c){var d=Dga(a,function(e){b.apply(c,arguments);JA(d)},c); return d}; JA=function(a){var b=EA();b&&("number"===typeof a&&(a=[a]),(0,g.z)(a,function(c){b.unsubscribeByKey(c);delete GA[c]}))}; EA=function(){return g.w("ytPubsub2Pubsub2Instance")}; LA=function(a){CA.call(this,1,arguments);this.csn=a}; g.NA=function(a,b,c,d){b={csn:a,parentVe:g.BA(b),childVes:(0,g.ie)(c,function(f){return g.BA(f)})}; c=g.p(c);for(var e=c.next();!e.done;e=c.next())e=g.BA(e.value),(g.Zb(e)||!e.trackingParams&&!e.veType)&&yA(Error("Child VE logged with no data"),"WARNING");d={uj:d,Eh:a};"UNDEFINED_CSN"==a?g.MA("visualElementAttached",b,d):g.tr("visualElementAttached",b,g.yr,d)}; g.OA=function(a,b){var c={csn:a,ve:g.BA(b),eventType:1},d={uj:void 0,Eh:a};"UNDEFINED_CSN"==a?g.MA("visualElementShown",c,d):g.tr("visualElementShown",c,g.yr,d)}; g.PA=function(a,b){var c={csn:a,ve:g.BA(b),gestureType:"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK"},d={uj:void 0,Eh:a};"UNDEFINED_CSN"==a?g.MA("visualElementGestured",c,d):g.tr("visualElementGestured",c,g.yr,d)}; g.MA=function(a,b,c){QA.push({AL:a,payload:b,options:c});RA||(RA=KA(Ega,Fga))}; Fga=function(a){if(QA){for(var b=g.p(QA),c=b.next();!c.done;c=b.next())c=c.value,c.payload&&(c.payload.csn=a.csn,g.tr(c.AL,c.payload,null,c.options));QA.length=0}RA=0}; SA=function(a){a=void 0===a?0:a;return 0==a?"client-screen-nonce":"client-screen-nonce."+a}; TA=function(a){a=void 0===a?0:a;return 0==a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a}; UA=function(a){return g.ro(TA(void 0===a?0:a),void 0)}; g.VA=function(){var a=UA(0),b;a?b=new zA({veType:a,youtubeData:void 0}):b=null;return b}; g.WA=function(a){a=void 0===a?0:a;var b=g.ro(SA(a));b||0!=a||(g.sp("kevlar_client_side_screens")?b="UNDEFINED_CSN":b=g.ro("EVENT_ID"));return b?b:null}; YA=function(a,b,c){c=void 0===c?0:c;if(a!==g.ro(SA(c))||b!==g.ro(TA(c)))qo(SA(c),a),qo(TA(c),b),0==c&&(b=function(){setTimeout(function(){a&&g.tr("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:XA,clientScreenNonce:a},g.yr)},0)},"requestAnimationFrame"in window?window.requestAnimationFrame(b):b())}; ZA=function(){var a=g.ro("TIMING_TICK_EXPIRATION");a||(a={},qo("TIMING_TICK_EXPIRATION",a));return a}; Gga=function(){var a=ZA(),b;for(b in a)g.Zo(a[b]);qo("TIMING_TICK_EXPIRATION",{})}; $A=function(a,b){CA.call(this,1,arguments)}; aB=function(a,b){CA.call(this,1,arguments);this.o=a}; Hga=function(a,b,c){if(g.sp("debug_csi_data")){var d=g.w("yt.timing.csiData");d||(d=[],g.Ga("yt.timing.csiData",d,void 0));d.push({page:location.href,time:new Date,args:a})}d="";for(var e in a)a.hasOwnProperty(e)&&(d+="&"+e+"="+a[e]);a="/csi_204?"+d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?Yp(a):g.Wp(a);bB(!0,c)}; Iga=function(a){var b=cB(a),c=b.pbr,d=b.vc;b=b.pbs;return!!(c&&d&&b&&c1E5*Math.random()){b=0==a.indexOf("info")?"WARNING":"ERROR";var c=Error("CSI data exceeded logging limit with key");c.params=a;yA(c,b)}return!0}return!1}; Jga=function(){var a=(0,g.Mq)(),b;for(b in kB)6E4=Qy&&(m.o=!0);if(f=c)f=W(d,"disable_html5_ambisonic_audio")||!(g.sz(d)||W(d,"html5_enable_spherical")||W(d,"html5_enable_spherical3d"))?!1:tz(d);f&&(m.F=!0);b&&(m.o=!0,m.T=!0);l&&!g.P(d.experiments,"html5_otf_prefer_vp9")&&(m.o=!0);Ax(d.w,Jx)&&(g.P(d.experiments, "html5_enable_aac51")&&(m.w=!0),g.P(d.experiments,"html5_enable_ac3")&&(m.B=!0),g.P(d.experiments,"html5_enable_eac3")&&(m.K=!0));!g.P(d.experiments,"html5_kaios_hd_killswitch")&&Ky&&(m.U=480);if(e||c)m.H=!1;m.J=!1;b=xz(d);0b&&window.SourceBuffer&&SourceBuffer.prototype.changeType&&(m.u=b);2160<=b&&(m.P=!0);ly()&&(m.V=!1);m.C=a;return m}; $B=function(a,b){var c;(c=!b)||(c=!(!XB(a)&&a.adaptiveFormats));if(c)return!1;c=YB(b);var d=a.mp;var e=a.lengthSeconds,f=a.sa,k=a.Zj,l=a.Qa.experiments,m=Dfa(c);d=f||k?Cfa(c,k,d,l):3==m?Bfa(c,d,e,l):Afa(c,d,e,l);0xC?!1:!0:!1;a.ne=27;b.isLowLatencyLiveStream&&(a.isLowLatencyLiveStream=!0);if(e=b.latencyClass)a.latencyClass=tha[e]||"UNKNOWN";a.yj=!0;if(b=b.liveChunkReadahead)a.liveChunkReadahead=b;if(c=c&&c.livePlayerConfig)if(c.hasSubfragmentedFmp4&&(a.hasSubfragmentedFmp4=!0),c.hasSubfragmentedWebm&&(a.Zp=!0),c.defraggedFromSubfragments&& (a.defraggedFromSubfragments=!0),c=c.liveExperimentalContentId)a.liveExperimentalContentId=parseInt(c,10);e=!0}else b.isUpcoming&&(e=!0);e&&(a.sa=!0,d.adformat&&"8"!=d.adformat.split("_")[1]||(a.va("live_fresca_v2")?a.Fc.push("heartbeat"):(a.om=!0,a.Fc.push("fresca"))),a.ql=!0,a.hm=!0)}}; PB=function(a,b){a.showShareButton=!!b;if(b){var c=b.buttonRenderer&&b.buttonRenderer.navigationEndpoint;c&&(a.Yk=!!c.copyTextEndpoint)}}; vha=function(a,b){var c=b.thumbnailPreviewRenderer,d=c.controlBgHtml;null!=d?(a.zf=d,a.gc=!0):(a.zf="",a.gc=!1);if(d=c.defaultThumbnail)a.Ae=vA(d);a.Ih=!!c.addToWatchLaterButton;PB(a,c.shareButton)}; g.yC=function(a){return a.sa&&!a.allowLiveDvr}; zC=function(a){return a.sa&&a.allowLiveDvr}; iC=function(a){return a.Mf()||a.Lf()||a.ni()||a.Hf()}; wha=function(a){a.ua=a.ua.u}; g.AC=function(a){if(a.ws)return null;var b=a.ow;b||(b=a.Ka&&a.Ka.endscreen&&a.Ka.endscreen.endscreenUrlRenderer&&a.Ka.endscreen.endscreenUrlRenderer.url);return b||null}; g.BC=function(a){return a.ws?null:a.Ka&&a.Ka.endscreen&&a.Ka.endscreen.endscreenRenderer||null}; CC=function(a){return a.adFormat&&"1_5"!=a.adFormat?"adunit":a.Qa.P}; DC=function(a){return a.Fg||"detailpage"==CC(a)||a.gm}; EC=function(a){if(DC(a)){if("detailpage"==CC(a))return a.oi||0=d&&(g.N(Error("invalid coreTime.now value: "+d)),d=(new Date).getTime()+2);return d},g.P(a.ab.experiments,"html5_validate_yt_now")); a.u=g.Qa(function(c){return Math.round(b()-c)/1E3},b()); a.G()}return a.u}; iD=function(a){if(navigator.connection&&navigator.connection.type)return hD[navigator.connection.type]||hD.other;if(g.$y(a.ab)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0}; WC=function(a){var b=new VC;b.gp=a.rd().cc||"-";b.playbackRate=a.getPlaybackRate();var c=a.getVisibilityState();0!=c&&(b.visibilityState=c);a.ab.ag&&(b.ag=1);c=a.getAudioTrack();c.rb&&c.rb.id&&"und"!=c.rb.id&&(b.Vo=c.rb.id);b.connectionType=iD(a);b.volume=a.rd().volume;b.muted=a.rd().muted;return b}; jD=function(a,b){return g.P(a.ab.experiments,b)}; g.kD=function(a,b){this.state=a;this.o=b}; lD=function(a,b){return g.R(a.state,b)&&!g.R(a.o,b)?1:!g.R(a.state,b)&&g.R(a.o,b)?-1:0}; g.mD=function(a,b){return 0=a.wg?0:b}; JD=function(a){var b=a.Ua-1;return 0>b?a.wg-1:b}; KD=function(a,b){a.Ua=g.pd(b,0,a.wg-1);a.startSeconds=0}; Eha=function(a,b){if(!a.gk){a.listId=new g.ED("SR",b);var c={search_query:b};a.nH&&(c.mob="1");FD(a,"/search_ajax?style=json&embeddable=1",c)}}; Fha=function(a){if(!a.gk){var b=b||a.listId;b={list:b};var c=a.wa();c&&c.videoId&&(b.v=c.videoId);FD(a,"/list_ajax?style=json&action_get_list=1",b)}}; FD=function(a,b,c){a.LB&&g.Bp(g.Lf(b,c),{format:"JSON",onSuccess:(0,g.x)(function(d,e){LD(this,e)},a), onError:(0,g.x)(function(){this.R("error")},a)})}; LD=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.Ea=[];b.video.forEach(function(e){e&&(e.video_id=e.encrypted_id,this.Ea.push(e))},a); a.wg=a.Ea.length;var d=b.index;d?a.Ua=d:a.Cj(c);a.setShuffle(!1);a.gk=!1;a.Zc=!0;a.Rm++;a.Lk&&a.Lk()}}; MD=function(a,b){this.o=a;this.u=null;this.A=[];this.ib=!1;this.w=b}; g.ND=function(a){a.u||(a.u=a.o.createMediaElementSource(a.w.fb()));return a.u}; g.OD=function(a){for(var b;0=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var k=new Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b}; Kha=function(a){a=Ev(a,1886614376);(0,g.z)(a,function(b){return!b.u}); return(0,g.ie)(a,function(b){return new Uint8Array(b.data.buffer,b.offset+b.data.byteOffset,b.size)})}; Lha=function(a){var b=(0,g.eh)(a,function(e,f){return e+f.length},0),c=new Uint8Array(b),d=0; (0,g.z)(a,function(e){c.set(e,d);d+=e.length}); return c}; kE=function(a,b,c,d){var e=this;this.u=a;a=cw(this.u.get("range")||"");if(!a)throw Error("bad range");this.A=a;this.B=c;this.status=0;this.response=null;this.o=[];this.Zc=0;this.w="";Mha(this).then(d,function(f){e.w=""+f||"unknown_err";d()}); b()}; Mha=function(a){var b,c,d,e,f,k,l,m,n,q,t,v,y;return xa(function(B){if(1==B.o){a.status=200;b=a.u.get("docid");c=a.u.get("fmtid");d=+a.u.get("csz");if(!b||!c||!d)throw Error("Invalid local URL");e=a.A;f=Math.floor(e.start/d);k=Math.floor(e.end/d);l=f}if(5!=B.o)return l<=k?B=ua(B,yga(b,c,l),5):(B.o=0,B=void 0),B;m=B.w;n=l*d;q=(l+1)*d;t=Math.max(0,e.start-n);v=Math.min(e.end+1,q)-(t+n);y=new Uint8Array(m.buffer,t,v);a.o.push(y);a.Zc+=v;a.Zc=d;d=b.length+a.o>nE(a);a.P?((c||d)&&0!==a.o&&oE(a),c?a.A.push(b):pE(a,b)):(pE(a,b),a.u>=(mE(a)?1:16384)&&oE(a))}; oE=function(a){a.P=!0;a.A.push(a.w.subarray(0,a.o));a.o=0;a.w=a.K?null:new Uint8Array(nE(a))}; pE=function(a,b){if(b.length+a.o>nE(a)){var c=new Uint8Array(a.o+b.length);c.set(a.w,0);a.w=c}a.w.set(b,a.o);a.o+=b.length}; rE=function(a){a.C.read().then(to((0,g.x)(a.fI,a)),to((0,g.x)(a.Uw,a)));(0,g.A)()}; tE=function(a){if(!a.G){a.K=!0;if(sE(a)&&!a.A.length&&!a.o&&!a.J&&a.u){Lu(a);if(!a.w||8>a.w.length)a.w=new Uint8Array(8);var b=new DataView(a.w.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.o=8;a.u+=8}a.V()}}; mE=function(a){return a.B.eb&&a.B.Wd&&Lu(a)}; sE=function(a){var b=a.bd("content-type");b="audio/mp4"===b||"video/mp4"===b;return a.B.lf&&a.B.Wd&&Lu(a)&&b}; nE=function(a){a=a.Fj()||0;return Math.max(16384,.125*a)}; uE=function(a,b,c,d,e){this.status=0;this.response=null;this.u=this.A=!1;this.w=NaN;this.o=new XMLHttpRequest;this.o.open("GET",a);this.o.responseType="arraybuffer";this.o.withCredentials=!0;this.o.onreadystatechange=(0,g.x)(this.VE,this);this.B=d;this.F=c;this.C=e;a=to((0,g.x)(this.TE,this));this.o.addEventListener("load",a,!1);this.o.addEventListener("error",a,!1);this.o.send();b();this.o.addEventListener("progress",to((0,g.x)(this.UE,this)),!1)}; Oha=function(a,b){this.u=a;this.C=this.B=!1;this.length=b?b:0;this.w=0;this.o=[];this.A=null;this.length?1!=this.u.length||this.u[0].Pa||(this.u[0].Pa=this.length):1==this.u.length||(0,g.dh)(this.u,function(c){return!!c.range})}; Pha=function(a){return a.length-a.w+a.o.reduce(function(b,c){return b+c.o.length},0)}; Qha=function(a){a=void 0===a?{}:a;var b=a.Wd,c=a.rM,d=a.kb,e=a.Ip;this.B=a.Yg;this.u=b;this.o=c;this.A=d;this.w=e}; vE=function(a,b){if(0>b)return!0;var c=a.A();return bb)return 1;c=a.A();return bf?(a.B+=e,.2=a.u.w.o:!1}; EE=function(a){return yE(a,a.w)}; FE=function(a){a.P=a.o+1E3*a.Z.delay;a.na=!1}; GE=function(a,b){a.H=Math.min(a.H,Sha(a.F,a.za,a.o,b));a.U=Math.min(a.U,Tha(a.F,a.za,a.o,b,a.Ca));a.H<=a.o?FE(a):(a.P=a.H,a.na=!0)}; zE=function(a){a.F&&GE(a,(0,g.A)());return a.na}; HE=function(a,b){b=void 0===b?(0,g.A)():b;if(a.F){GE(a,b);var c=a.J?a.F?1!=xE(a):!1:a.H!=a.U;if(c){if(c=a.U,bd&&(d=0);d=1E3*(d*a.Z.stall+d/a.Z.byterate);d=EE(a)?d+b:d+Math.max(b,c);a.T=d}; CE=function(a,b){for(var c="";4095>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))}; IE=function(a,b,c,d){this.A=a;this.info=b;this.timing=c;this.V=d;this.state=1;this.o=this.da=null;this.F=this.P=0;this.T=new g.J(this.QL,a.H,this);this.B=this.u=this.G=null;this.C=0;this.K=this.w=null;this.U=0;this.aa=this.J=!1;this.H=this.A.za&&(Jw(this.info)||this.info.He());this.Z=!1}; Wha=function(a,b){a.G=b}; JE=function(a){var b=wE(a.timing);b.shost=a.u?Pu(a.u.o):"";b.rn=a.P.toString();a.C&&(b.rc=a.C.toString());b.itag=""+vs(a.info.o[0].o.info);b.ml=""+ +a.info.o[0].o.qc();b.sq=""+a.info.o[0].u;if(a.u){var c=a.u.o;Ou(c);var d=decodeURIComponent(c.get("mn")||"").split(",");b.ifi=""+ +("/videoplayback"==c.u&&1d.o&&4E12>e?e:(0,g.A)();DE(d,e,c);BE(d,e,c);var k=xE(d);if(2==k&&f)AE(d,d.w/f,d.w);else if(2==k||1==k)f=(e-d.o)/1E3,(f<=d.u.w.u||!d.u.w.u)&&!d.ga&&EE(d)&&AE(d,f,c),EE(d)&&sy(d.u, c,d.B);c=d.u;e=(e-d.o)/1E3;f=d.aa;k=d.ra;c.F.u(e,d.w/e);c.A=qy();k||c.u.u(1,e-f)}d.A&&(d.A=!1)}c=KE(a);(0,g.Mq)();c.started=0;c.u=0;c.o=0;a.info.u.o=0;return 6}; PE=function(a){if("net.timeout"==a.B){var b=a.timing,c=(0,g.A)();if(!b.K){c=c>b.o&&4E12>c?c:(0,g.A)();DE(b,c,1024*b.V);var d=(c-b.o)/1E3;if(2!=xE(b))if(EE(b))b.B+=(c-b.C)/1E3,sy(b.u,b.w,b.B);else{if(!zE(b)&&!b.K){var e=b.u;e.G.u(1,d);ry(e)}b.ba=c}e=b.u;var f=b.aa,k=b.ra;e.F.u(d,b.w/d);e.A=qy();k||e.u.u(1,d-f);uy(b.u,(c-b.C)/1E3,0)}}else(0,g.A)();"net.nocontent"!=a.B&&("net.timeout"==a.B||"net.connect"==a.B?(b=KE(a),b.u+=1):(b=KE(a),b.o+=1),a.info.u.o++);OE(a,7)}; QE=function(a){if(1==a.state)return!0;a=KE(a);return 100>a.u&&6>a.o}; OE=function(a,b){a.state=b;if(5<=a.state)if(a.A.Wb)RE(a);else{var c=a.timing;c.A&&(c.A=!1)}a.G&&a.G(a)}; SE=function(a,b){if(b){var c=KE(a);c.w+=1}RE(a);a.B="net.timeout";PE(a)}; NE=function(a){return(0,g.dh)(a.info.o,function(b){return 3==b.type})}; RE=function(a){if(a.o){var b=a.o;a.o=null;b.abort()}a=a.timing;a.A&&(a.A=!1)}; LE=function(a){var b=a.o.bd("content-type"),c=a.o.Fj();(b=(!TE(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&TE(a)&&mE(a.o);return b}; Yha=function(a,b){var c=(0,g.x)(a.qL,a),d=(0,g.x)(a.tL,a),e=(0,g.x)(a.sL,a),f=(0,g.x)(a.rL,a);return Qu(a.u.o)?new kE(a.u,d,e,c):a.A.F&&(a.A.lt&&!isNaN(a.info.Pd)&&a.info.Pd>a.A.Dz?0:Ku()&&NE(a))?new lE(b,d,e,c,f,a.A):new uE(b,d,e,c,f)}; TE=function(a){return a.o?a.o.us():!1}; UE=function(a){return 2<=a.state&&!!a.w&&!!a.w.o.length}; ME=function(a,b){if(b||TE(a)&&!LE(a)){if(!a.w){if(TE(a))a.info.range&&(c=a.info.range.length);else var c=a.o.mn();a.w=new Oha(a.info.o,c)}for(;a.o.tg();){c=a.w;for(var d=a.o.Pq(),e=b&&!a.o.tg(),f=0,k=0,l=g.p(c.u),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Pa<=c.w)f+=m.Pa;else{var n=c,q=m;if(1==q.type){n.B=!0;var t=!1}else 3==q.type||4==q.type?(q=n.B&&!n.C,n.C=!0,t=q):t=!1;n=c;var v=c.w-f;q=k;var y=d;t=t||m.o.Lw();var B=y.length-q;m.range&&(B=Math.min(m.Pa-v,B));v=nw(m,m.w+v,B,m.range? m.w+v+B==m.range.length:!!e);q=new Uint8Array(y.buffer,y.byteOffset+q,B);n.o.push(new qw(v,q,t));n=B;c.w+=n;k+=n;f+=m.Pa;if(k==d.length)break}}}}; Zha=function(a){if(!a.A.Wd||!isNaN(a.info.Pd)&&0a.info.o[0].u)return!1}return!0}; VE=function(a,b,c){g.O.call(this);this.F=0;this.w=a;this.A=[];this.u=null;this.B=b;this.V=c;this.C=this.J=NaN;this.da=this.U=this.P=this.o=this.G=null;this.T=!1;this.K=this.H=null;this.w.B&&(this.K=new Hha(this.w,this.B));this.w.U&&(2==this.B.info.containerType?this.o=new hE(this.w,this.V):this.o=new cE(this.w,this.V));this.aa=!1}; WE=function(a){return a.A.length?a.A[0]:null}; XE=function(a){return a.A.length?a.A[a.A.length-1]:null}; YE=function(a,b,c){b=$ha(a,b,c);(0,g.z)(b,function(d){a.A.push(d);a.K&&jE(a.K,d)})}; dF=function(a,b){try{if(1==b.info.type){var c=rw(b);if(!a.w.Zs&&zs(b.info.o.info)&&"bt2020"==b.info.o.info.wa().primaries){var d=new Gv(c);if(Iv(d,[408125543,374648427,174,224,21936,21937])){var e=Lv(d);129==c.getUint8(e)&&1==c.getUint8(e+1)&&c.setUint8(e+1,9)}}ZE(b);b.info.o.info.isVideo()&&Nw(b.info.o,c);$E(b);aF(a,b)&&(ww(b),xw(b));if(a.B.info.audio&&g.As(b.info.o.info)){var f=rw(b),k=g.qv(f,0,1701606260),l=g.qv(f,0,1836476516);if(k&&l){k.skip(2);var m=av(k),n=cv(k);c=[];d=[];e=[];f=[];if(m)for(m= 0;m=C.o)){var F=C.C,M=C.o/1E3,U=C.w/1E3;U=void 0===U?M:U;F.o.u(U,C.u/M);F.A=qy()}C.o=0;C.u=0;C.w=0}}}}if(a.w.vt&&a.w.Wd){if(!a.o.U&&!k.info.A){var fa=null;break b}}else if(isNaN(a.o.C)){fa= null;break b}var Ba=a.o,vc=k.info.o.info;if(Ba.F.length){Ba.U=!1;for(var mc=0,Wd=g.p(Ba.F),wc=Wd.next();!wc.done;wc=Wd.next())mc+=wc.value.byteLength;if(!Ba.G||Ba.G.length-Ba.T$_)jz=!1;else{for(var BJ=$_-1;0<=BJ;BJ--)xi.u.setUint8(xi.o+BJ,Ks&255),Ks>>>=8;xi.o=Bka;jz=!0}}else jz=!1}if(jz)a.J=Lj+vw(k);else{var a0=lw(k.info);a0.smst="1";cF(a, a0)}fa=k}var b0=fa;if(!b0)return[];c.w&&c.info.isVideo()&&Nw(c.info.o,rw(c));c=b0;aF(a,c)&&(a.o&&ww(c),xw(c),c.u&&(a.P=c?c.u:null,a.T=!!a.o,ow(c.info,c.u),ow(a.U,c.u),!c.info.o.o&&c.w&&c.u.A&&(c.info.o.o=tw(c,c.u.A))));c.w&&(ZE(c),$E(c));var CJ=c,bf=a.P;if(bf){if(CJ.info.A){a.T=!1;a.H=null;if(a.o){var c0=XD(a.o);a.o.Xl();var DJ=c0.startTime;var d0=c0.duration}else DJ=uw(CJ),d0=vw(CJ);var f0=iF(bf,DJ,d0,!1);a.R("segmentinfo",f0);var kz;if(kz=bf.o["Cuepoint-Type"]?new iv(jF?parseFloat(bf.o["Cuepoint-Playhead-Time-Sec"])|| 0:-(parseFloat(bf.o["Cuepoint-Playhead-Time-Sec"])||0),parseFloat(bf.o["Cuepoint-Total-Duration-Sec"])||0,bf.o["Cuepoint-Context"],bf.o["Cuepoint-Identifier"]||"",bia[bf.o["Cuepoint-Event"]||""]||"unknown",1E3*(parseFloat(bf.o["Cuepoint-Playhead-Time-Sec"])||0)):null)kz.startSecs+=DJ,a.R("cuepoint",kz,bf.u);var g0=f0}else{if(a.T&&a.o&&!isNaN(a.o.C)){var FJ=iF(bf,XD(a.o).startTime,bf.F,!0);a.H=FJ;a.R("placeholderinfo",FJ);a.T=!1;var h0=FJ}else h0=null;g0=h0}var i0=g0}else i0=null;var GJ=i0;var j0= c;if(a.w.Yx)if(GJ){pw(j0.info,GJ);for(var k0=g.p(b.info.o),HJ=k0.next();!HJ.done;HJ=k0.next())pw(HJ.value,GJ)}else a.H&&pw(j0.info,a.H);c.info.A&&(a.P=null);bF(a,c)}if(a.w.mt&&!a.B.be()&&kF(a,c)&&hw(c.info)&&c.info.duration&&!a.w.U){var l0=c;a.F+=1E3*(vw(l0)-l0.info.duration);if(a.G&&Math.abs(a.F-a.G.F)>=a.w.rz){var tb=c,JJ=(a.G.F-a.F)/1E3,m0=vw(tb)+JJ,n0=rw(tb),o0=g.qv(n0,0,1936286840);var KJ=o0?Av(o0):NaN;if(isNaN(KJ)){var p0=tb.info.o.o,q0=g.qv(n0,0,1836476516);KJ=q0?rv(q0):p0?tv(p0):NaN}var Dka= m0*KJ;var MJ=lF(a,tb);if(MJ){var r0=afa(MJ,Dka);if(r0){var s0=Cv(MJ);a.u&&(s0-=a.u.o.length,a.u=null);var dk=s0;dk=Math.min(dk,tb.info.Pa);var Eka=new fw(tb.info.type,tb.info.o,tb.info.range,"splitSlice1_"+tb.info.G,tb.info.u,tb.info.startTime,tb.info.duration,tb.info.w,dk,!1,!1),Fka=new Uint8Array(tb.o.buffer,tb.o.byteOffset,dk),Gka=new qw(Eka,Fka,tb.w),Hka=new fw(tb.info.type,tb.info.o,tb.info.range,"splitSlice2_"+tb.info.G,tb.info.u,tb.info.startTime,tb.info.duration,tb.info.w+dk,tb.info.Pa-dk, tb.info.C,tb.info.A),Ika=new Uint8Array(tb.o.buffer,tb.o.byteOffset+dk,tb.o.length-dk),Jka=new qw(Hka,Ika,!1);var lz=[Gka,Jka];lz[0].o=new Uint8Array(r0);lz[0].w=!!ov(rw(lz[0]),0,1836019574);var NJ=lz}else NJ=null}else NJ=null;var mz=NJ;if(mz&&mz.length){var OJ=lw(tb.info);OJ.fds=m0.toFixed(3);OJ.com=a.F.toFixed(3);a.R("timestamprewrite",OJ);a.J+=JJ;a.F+=1E3*JJ}return mz?mz:mF(a,tb)}}var QJ=c;if(a.aa&&a.B.be()&&QJ.info.u==QJ.info.o.index.kb()&&kF(a,QJ)){var nz=c;var t0=lF(a,nz);if(t0){var Of=g.qv(t0, 0,1953658222);if(Of){Of.skip(1);var Bo=$u(Of)<<16|av(Of),Kka=Bo&1,Lka=Bo&4;if(Bo&256){var Mka=Bo&512,Nka=Bo&1024,Oka=Bo&2048,u0=cv(Of);if(!(2>u0)){Kka&&Of.skip(4);Lka&&Of.skip(4);var Pka=cv(Of);Of.skip((u0-1)*(4+(Mka?4:0)+(Nka?4:0)+(Oka?4:0))-4);Of.data.setUint32(Of.offset+Of.o,Pka)}}}var RJ=[];a.u&&a.u!=nz&&(RJ.push(a.u),a.u=null);RJ.push(nz);var v0=RJ}else v0=null;var w0=v0;var x0=w0?w0:mF(a,nz)}else{var oz=c;if(a.G&&a.G.B.F&&oz.info.isVideo()&&!(a.getDuration()>=a.G.getDuration())&&a.B.be()&&oz.info.u== oz.info.o.index.kb()&&kF(a,oz)){var Ls=c,Qka=a.G.getDuration()-a.getDuration();var SJ=lF(a,Ls);if(SJ){var Co=1+Qka/Ls.info.duration,zg=g.qv(SJ,0,1952868452),Pf=g.qv(SJ,0,1953658222);if(zg&&Pf){zg.skip(1);var TJ=$u(zg)<<16|av(zg);zg.skip(4);TJ&1&&zg.skip(8);TJ&2&&zg.skip(4);if(TJ&8){var Rka=zg.o,y0=cv(zg);zg.data.setUint32(zg.offset+Rka,1=e.range.start+e.w&&f.range.start+f.w+f.Pa<=e.range.start+e.w+e.Pa:f.u==e.u&&f.w>=e.w&&(f.w+f.Pa<=e.w+e.Pa||e.A))})); (hw(e)||4==e.type)&&b.push(e)})}); a.u&&!ffa(a.u,g.Va(b),a.u.o.be())&&b.push(a.u);return b}; sF=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:sF(a,c?b:0)?a[b].startTime:NaN}; DF=function(a){return Vh(a.A,function(b){return 4<=b.state})}; EF=function(a){return!(!a.u||a.u.o==a.o)}; FF=function(a){return EF(a)&&a.o.qc()&&a.u.o.info.ob&&a.Bb)return!0;return!1}; jia=function(a){return new VD(a.J,a.B,a.A.reason)}; XF=function(a){return a.A.isLocked()}; kia=function(a){return 0this.F.G)return!1;l=this.C.o[l.id];return l.U>d?!1:4k.video.width?(g.cb(e,c),c--):UF(a,f)*a.F.o>UF(a,k)&&(g.cb(e,c-1),c--)}c=e[e.length-1];a.o=e;jfa(a.F,c)}; eia=function(a,b){if(b)a.w=a.C.o[b];else{var c=g.Xa(a.G.o,function(d){return!!d.rb&&d.rb.isDefault}); c=c||a.G.o[0];a.w=a.C.o[c.id]}SF(a)}; SF=function(a){if(!a.w||!a.F.B)if(!a.w||!a.w.info.rb)if(a.w=a.C.o[a.G.o[0].id],1a.A.o;else{for(b=0;b+1c}b&&(a.w=a.C.o[a.G.o[1].id])}}; TF=function(a){if(!a.u||!a.F.B)if(XF(a))a.u=a.C.o[a.o[a.o.length-1].id];else{for(var b=Math.min(a.H,a.o.length-1),c=OF(a.T),d=UF(a,a.w.info),e=c/a.F.u-d;0=c);b++);a.u=a.C.o[a.o[b].id];a.H=b}}; fia=function(a){var b=a.F.u,c=OF(a.T)/b-UF(a,a.w.info);b=g.Ya(a.o,function(d){return UF(this,d)b&&(b=0);a.H=b;a.u=a.C.o[a.o[b].id]}; UF=function(a,b){if(!a.P[b.id]){var c=a.C.o[b.id].index.zv(a.V,15);c=b.B&&a.B&&a.B.index.Kb()?c||b.B:c||b.o;a.P[b.id]=c}return a.P[b.id]}; lia=function(a,b){var c=Yb(a.C.o,function(d){return vs(d.info)==b}); if(!c)throw Error("Itag "+b+" from server not known.");return c}; mia=function(a){var b=[];if("s"==a.A.reason||"m"==a.A.reason)return b;var c=!1;if(zfa(a.C)){for(var d=Math.max(0,a.H-2);d=c)a.J=NaN;else{var d=wy(a.T),e=b.index.u;c=Math.max(1,d/c);a.J=Math.round(1E3*Math.max(((c-1)*e+a.o.K)/c,e-a.o.Eb))}}}; oia=function(a,b){var c=(0,g.A)()/1E3,d=c-a.C,e=c-a.G,f=e>=a.o.mf,k=!1;if(f){var l=0;!isNaN(b)&&b>a.F&&(l=b-a.F,a.F=b);l/e=a.o.Eb&&!a.A;if(!f&&!c&&aG(a,b))return NaN;c&&(a.A=!0);a:{d=k;c=(0,g.A)()/1E3-(a.P.o()||0)-a.H.w-a.o.K;f=a.w.startTime;c=f+c;if(d){if(isNaN(b)){bG(a,NaN,"n",b);f=NaN;break a}d=b-a.o.tb;dc)break}return d}; fG=function(a,b){for(var c=[],d=g.p(a.o),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c}; ria=function(a){return a.o.slice(eG(a,0x7ffffffffffff),a.o.length)}; eG=function(a,b){var c=pb(a.o,function(d){return b-d.start||1}); return 0>c?-(c+1):c}; gG=function(a,b){for(var c=NaN,d=g.p(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.p(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(mG(a,f));if(d){b=fG(a.o,0x7ffffffffffff);var m=b.filter(function(q){return 0x8000000000000>q.end}); var n=ria(a.o)}else b=a.A<=c&&Ot(b)?qia(a.o,a.A,c):fG(a.o,c);e=e.concat(lG(a,b));m&&(e=e.concat(mG(a,m)));n&&(e=e.concat(lG(a,n)));a.A=c;tia(a,e)}}; tia=function(a,b){for(var c=g.p(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.DD(e.namespace),e)):(e.u&&e.u.R("onExit",e),a.H("crx_"+e.namespace,e))}}; sia=function(a){return g.R(a.G(),2)?0x8000000000000:1E3*a.U()}; nG=function(){var a=this;this.o=this.u=iaa;this.w=new Nk(function(b,c){a.u=b;a.o=c})}; qG=function(a,b,c,d,e,f,k){g.O.call(this);var l=this;this.P=a;this.o=b;this.B=c;this.fa=new PF;this.eb=k||null;this.H=new KF(a,b);this.F=new dia(this.H,b,this.B,d);a=gia(this.F,e,f&&f.id);this.A=new nF(this.o,a.audio,(0,g.x)(this.Zt,this));this.u=new nF(this.o,a.video,(0,g.x)(this.Zt,this));oG(this,this.A);oG(this,this.u);this.u.w.G=this.A.w;this.U=this.u.C;this.w=null;this.ya={updateend:this.WE,error:this.MH};this.ba=new g.J(this.We,0,this);g.H(this,this.ba);this.ra=new g.J(this.We,1E3,this);g.H(this, this.ra);this.Fb=new g.J(this.We,void 0,this);g.H(this,this.Fb);this.Ta=new g.J(this.We,1E4,this);g.H(this,this.Ta);this.C=NaN;this.K=!1;this.J=NaN;this.Ca=0;this.da=this.za=this.aa=!1;this.na="";this.xa=new my(5);this.oa={};this.Ma=NaN;this.Ba=this.U=!1;(this.G=nia(this.o,this.P,this.xa,function(m,n){return pG(l,m,n)}))&&this.G.subscribe("ctmp",this.tc,this); this.tb=NaN;this.ga=this.Na=null;this.T=NaN;this.Z=0;this.Mb=this.Eb=!1;this.Xa=0;this.V=!1;this.Ha=0}; via=function(a){var b=a.u.o.index;a.Na=new Qha({Yg:a.o.Yg,Wd:a.o.Wd,rM:b.u,kb:function(){return b.kb()}, Ip:function(){return b.Ip()}})}; rG=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.Je(b)||0;d.V!=e&&(d.P={},d.V=e,QF(d,d.A));e=!XF(d)&&-1=a.o.oz&&!a.o.Xa||!a.o.Ss&&0=a.o.Vz)return!1;d=b.u;if(!d)return!0;if(!Fw(d.o.A))return!1;4==d.type&&d.o.qc()&&(b.u=g.Va(d.o.Wn(d)),d=b.u);if(!d.C&&!d.o.Nf(d)|| d.o.info.audio&&4==d.type)return!1;if(FF(b)&&!a.o.Z)return!0;if(!(c=d.C||yF(b)&&yF(b)+yF(c)>a.o.ga||!!(c.u&&!c.u.C&&c.u.Bc}return c||a.o.AA&&(a=b.F)&&a.isLocked()?!1:!0}; zG=function(a,b,c){if((!a.w||it(a.w)||mt(a.w))&&!a.K&&a.F.da){var d=a.C;a=a.H;c=MF(a,b.o.info.o,c.o.info.o,0);var e=ty(a.u)+c/wy(a.u);d+=Math.max(e,e+a.o.jd-c/b.o.info.o);a:{if(b.A.length){if(b.A[0].info.o[0].startTime<=d)break a;AF(b)}a=b.w;for(c=a.A.length-1;0<=c;c--)a.A[c].info.startTime>d&&a.A.pop();b.A.length?b.u=g.Va(g.Va(b.A).info.o):b.w.A.length?b.u=XE(b.w).info:b.u=oF(b);b.u&&dc.o[0].u)a.tc("invalidsq",mw(c.o[0]));else{if(a.Hb){var d=a.Hb.getUrlParameters(c.o[0].F);d&&(c.C=d)}a=AG(a,c);b.A.push(a);b.u=g.Va(a.info.o)}}; xia=function(a,b,c){if(b.C){if(a.B.isLive){var d=a.B.C&&a.B.aa?b.o.Ai(a.B.C,!1):b.o.Df(Infinity);d.Pd=a.Ma}else d=b.o.Ai(0,!1);a.G?0==d.Pd&&(d.A=a.G.J):d.A=a.tb;return d}d=b.u;if(!d.o.qc())return d.o.be()?(a=MF(a.H,b.o.info.o,c.o.info.o,0),a=d.o.sh(d,a)):a=d.o.yi(d),a;!FF(b)||a.o.Z||a.B.u||(zG(a,b,c),b.u||xF(b,a.C));d=b.u;var e=d.B-a.C,f=!d.range||0==d.Pa&&0==d.w?0:d.range.length-(d.w+d.Pa),k=d.o;yia(a,b,e)&&0==f&&(a.B.u?k=b.o:(k=d.startTime+CG,d.Pa&&(k+=d.duration),xF(b,k),d=b.u,k=d.o));k.be()?(c= MF(a.H,k.info.o,c.o.info.o,e,kia(a.F)&&a.da),b=a.o.Ng?EF(b):EF(b)&&b.o.qc(),d=zia(a,d,c,b)):(0>d.u&&(c=lw(d),c.pr=""+b.A.length,a.K&&(c.sk="1"),a.tc("nosq",d.G+";"+gs(c))),d=k.yi(d));a.V&&d.o.forEach(function(l){l.type=6}); return d}; yia=function(a,b,c){if(!EF(b)||!b.o.qc())return!1;a=Math.min(15,.5*xG(a,b,!0));return FF(b)||c<=a}; zia=function(a,b,c,d){c=b.o.sh(b,c);c.range&&1d&&(c=b.o.sh(b,c.range.length-a.Pa))));return c}; Aia=function(a,b){var c=Lw(b),d=a.H;var e=Math.min(2.5,ty(d.u));d=NF(d);e=c-e*d;d=gw(b.o[0]);var f=Qu(b.u.u),k;a.Na?k={He:d,rq:f,ZD:a.Na,ub:b.o[0].u,Pd:b.Pd}:k={He:d,rq:f};return new Vha(a.P,c,e,k)}; AG=function(a,b){hw(b.o[b.o.length-1])&&DG(a,iia(a.F,b.o[0].o));var c=Aia(a,b);a.o.qw&&(c.G=[]);var d=new IE(a.o,b,c,a.oa);c.ya=function(){return Zha(d)?d.A.Hl&&window.performance&&window.performance.now&&d.o&&d.o.ki()&&TE(d)&&mE(d.o)?d.info.o[0].o.info.video?3:4:2:1}; Wha(d,(0,g.x)(a.lK,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.da=mia(a.F));a.V&&(d.Z=!0);d.start(Math.max(0,b.o[0].F-a.C));return d}; DG=function(a,b){b&&a.R("videoformatchange",b)}; Cia=function(a,b){var c=b.info.o[0].o,d=c.info.video?a.u:a.A;Bia(a,d,b);b.info.He()&&!Iw(b.info)&&((0,g.z)(b.w.o,function(e){dF(d.w,e)}),a.o.Fl||a.R("metadata",c))}; Bia=function(a,b,c){if(a.B.u&&b&&(b.C&&(5<=c.state||TE(c),b.C=!1),c.U&&a.xa.u(1,c.U),b=c.o?parseInt(c.o.bd("X-Head-Seqnum"),10):null)){a=a.B;for(var d in a.o)c=a.o[d].index,c.o&&(c.w=Math.max(c.w,b))}}; EG=function(a,b,c){a:{b=b.info;var d=a.o.Ws,e=null,f=b.o[0];if(b.range)e=dw(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=dw(0,4096)}else if(f.o.info.video){c=null;break a}b=new fw(5,f.o,e,"createProbeRequestInfo_"+f.G,f.u);b=new Hw([b]);b.B=c;c=b}c&&AG(a,c)}; Eia=function(a){var b=-1!=a.u.B,c=-1!=a.A.B;if(!b||!c)if(b=!b&&WE(a.u.w),c=!c&&WE(a.A.w),b||c){c=b?a.u:a.A;b=b?a.A:a.u;var d=WE(c.w).info.u;if(-1!=b.B&&b.B!=d&&(FG(a,!1,"qoe.avsync",{start:"1",target:String(b.B),actual:String(d)}),!a.o.El)){yx(a.B,d,c==a.u);Dia(c,b.B);return}c.B=d;c.G=NaN;if(-1!=b.B){var e=Math.max(b.o.index.Oc(b.B),c.o.index.Oc(c.B));a.ga&&(a.ga.resolve(e+.1),a.ga=null);g.Ik(function(){return GG(a,e)})}}}; Dia=function(a,b){BF(a);xF(a,Infinity);var c=a.G;a.w.C=c;a.G=c;c=a.u;c.G="correctTrack_";c.u=b-1}; KG=function(a){var b=a.w.o,c=a.w.u;a.A.o.F&&HG(b,a.A.o.F);if(Fia(a)){if(a.o.gj){if(!b.dh()){var d=WE(a.A.w);d&&IG(a,b,d)}c.dh()||(b=WE(a.u.w))&&IG(a,c,b)}}else{if(a.G){d=a.G;var e=a.A,f=$s(a.w.u.Cc());if(d.B)d=oia(d,f);else{if(f=WE(e.w)){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.Pd&&TE(e)&&(d.B=e,d.H=k,d.w=f.info,d.C=(0,g.A)()/1E3,d.G=d.C,d.F=d.w.startTime)}d=NaN}d&&a.R("seekplayerrequired",d,!0)}if(d=JG(a,a.u,c,null))e=a.fa,e.w||(e.w=(0,g.A)(),e.Rc("vda"), FB("vda"),e.u&&$o(4));e=WE(a.u.w);a.o.oa&&!d&&e&&(a.Mb||a.tc("sbp",a.w.u.bb({ns:mw(e.info)})),a.Mb=!0);if(a.w&&!kt(a.w)){c=Zs(c.Cc(),a.C+CG);if(!isNaN(c)||wF(a.u)||!b.Cc().length||a.o.V){if(wF(a.u)||a.o.V)c=NaN;if(b=JG(a,a.A,b,c))c=a.fa,c.u||(c.u=(0,g.A)(),c.Rc("ada"),FB("ada"),c.w&&$o(4));d=d||b}!a.ia()&&a.w&&(!a.o.Ta&&wF(a.u)&&wF(a.A)&&it(a.w)&&!a.w.Qd()&&(b=oF(a.A).o,b==a.B.o[b.info.id]&&(b=a.w,it(b)&&b.w.endOfStream(),b=a.P,dy(yy(b)),b.C=qy())),d&&!mt(a.w)&&g.cn(a.ba))}}}; Fia=function(a){if(a.o.ya)return!1;var b;if(!(b=JF(a.u))&&(b=a.K)){b=a.H;var c=a.u,d=a.A;if(0==c.A.length&&0==d.A.length)b=!0;else{var e=0,f=eF(c.w).concat(eF(d.w));f=g.p(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.Pa;c=c.o.info.o+d.o.info.o;e/=c;b=10c*(10-e)/OF(b)}(b=!b)||(b=a.u,b=0a.C||360k)){a:if(a.o.oa&&a.tc("sba",c.bb({as:mw(e.info)})),d=e.w?e.info.o.o:null,k=e.o,e.w&&(k=new Uint8Array(k.buffer, 0,k.byteOffset+k.length)),d=LG(a,c,k,e.info,d),"s"==d)c=!0;else{a.o.jt||(c.abort(),BF(b));if("i"==d||"x"==d)MG(a,"checked",d,e.info);else{if("q"==d&&(e.info.isVideo()?(d=a.o,d.A=Math.floor(.8*d.A),d.T=Math.floor(.8*d.T),d.w=Math.floor(.8*d.w)):(d=a.o,d.C=Math.floor(.8*d.C),d.na=Math.floor(.8*d.na),d.w=Math.floor(.8*d.w)),c.supports(2)&&!c.Qd()&&!a.w.isView())){d=!1;k=c.Cc();for(l=0;!d&&le.info.B&&(c.remove(k.start(l),k.end(k.length-1)),d=!0);k=Math.max(0,Math.min(a.C,e.info.startTime)- 5);!d&&k&&c.remove(0,k);c=!1;break a}a.R("reattachrequired")}c=!1}d=!c}if(d)return!1;b.w.A.shift();c=e.info;c.o.info.o>=b.H&&(b.H=c.o.info.o);f&&(b=e.info.o.H)&&a.R("newDrmInfo",b.type,b.key);return!0}; MG=function(a,b,c,d){var e="fmt.unplayable",f=!0;"x"==c||"m"==c?(e="fmt.unparseable",d.o.B=e,d.o.info.video&&!WF(a.F)&&VF(a.F,d.o)):"i"==c&&(15>a.Xa?(a.Xa++,e="html5.invalidstate",f=!1):e="fmt.unplayable");d=lw(d);d.mrs=a.w.w.readyState;d.origin=b;d.reason=c;FG(a,f,e,d)}; NG=function(a,b,c){Lfa(a.B,b,c)&&c&&g.Ik(function(){if(a.Ba)a.Ba=!1,GG(a,b.startTime);else{var d=b.startTime;if(!a.ia()&&a.o.aa&&a.U&&-1!=a.u.B&&-1!=a.A.B){var e=a.o.nt?0:.1;a.Cd+b.duration+e?3>a.Z?(a.Z++,a.seek(a.C)):(a.tc("iterativeSeeking","incomplete;count."+a.Z,!1),a.Z=0,a.U=!1,a.R("seekplayerrequired",d+.1,!0)):(a.tc("iterativeSeeking","done;count."+a.Z,!1),a.Z=0,a.U=!1)}}})}; GG=function(a,b){!a.ia()&&a.o.aa&&a.U&&-1!=a.u.B&&-1!=a.A.B&&(a.U=!1,a.V||a.R("seekplayerrequired",b+.1,!0))}; IG=function(a,b,c){c.info.o.qc();var d=c.info.o.o;if(null==d||b.dh()==d)return!1;var e=d,f=b.rm();if(a.o.kf&&f&&b.isView()&&g.As(c.info.o.info)){var k=new DataView(d.buffer,d.byteOffset,d.byteLength);(f=cfa(k,f))?e=new Uint8Array(f.buffer,f.byteOffset,f.byteLength):a.tc("fenc","1")}d=LG(a,b,e,null,d);if("s"!=d)return MG(a,"sepInit",d,c.info),!0;(c=c.info.o.H)&&a.R("newDrmInfo",c.type,c.key);return b.Qd()}; LG=function(a,b,c,d,e){if(a.o.Al){var f=new Uint8Array(c.length);f.set(c);c=f}try{b.appendBuffer(c,d,e)}catch(k){if(11==k.code)return"i";if(12==k.code)return"x";if(22!=k.code&&0!=k.message.indexOf("Not enough storage"))return g.N(k),"u";a.o.Zb&&(b=Xs(b.Cc()).replace(/,/g,"_"),a.tc("quex","br."+b+";e."+k));return"q"}return kt(a.w)?"m":"s"}; oG=function(a,b){b.w.subscribe("error",a.fJ,a);b.w.subscribe("timestamprewrite",a.kJ,a);var c=(0,g.x)(a.hJ,a,b);b.w.subscribe("placeholderinfo",c,void 0);c=(0,g.x)(a.iJ,a,b);b.w.subscribe("placeholderrollback",c,void 0);c=(0,g.x)(a.jJ,a,b);b.w.subscribe("segmentinfo",c,void 0);c=a.gJ.bind(a);b.w.subscribe("gaplessinfo",c,void 0);b==a.u&&b.w.subscribe("cuepoint",a.eJ,a)}; HG=function(a,b){var c=0+b.duration,d=-b.o;0==a.qm()&&c==a.Dp()||a.Yr(0,c);d!=a.yb()&&a.co(d)}; xG=function(a,b,c){if(a.aa)return 1;var d=b.o.info.audio?a.o.C:a.o.A;!a.o.Z&&XF(a.F)&&(d=Math.max(d,b.o.info.audio?a.o.na:a.o.T));c&&(d+=a.o.ga);var e=XF(a.F)?b.u?b.u.o.info.o:b.o.info.o:b.H;d/=e;if(0c&&a.tc("bwcapped","1",!0),c=Math.max(c,15),d=Math.min(d,c));return d}; wia=function(a){if(!a.eb)return Infinity;var b=(0,g.Zd)(jG(a.eb),function(d){return"ad"==d.namespace}); b=g.p(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}; Gia=function(a,b){var c=tF(a.u).find(function(d){return d.startTime>=b&&pG(a,d.startTime,!1)}); return c&&c.startTime=e)break;if(1886614376==d.getUint32(c+4)){var f=32;if(0=b&&(a=.75*b),c=.5*(b-a),a=new VG(c,b,b-c-a,this)):a=null;break a;case "widevine":a=new qH(g.P(b,"disable_license_delay"),c,this);break a}a= null}if(this.F=a)g.H(this,this.F),this.F.subscribe("rotated_need_key_info_ready",this.Xt,this);sH(this,"cks"+this.o.Md())}; wH=function(a,b,c){a.oa=!0;c=new TG(b,c);g.P(a.w.experiments,"html5_eme_loader_sync")?(a.C.get(b)||a.C.set(b,c),uH(a,c)):0!=a.A.length&&a.S.ua&&a.S.ua.o?vH(a):uH(a,c)}; xH=function(a,b,c){sH(a,"onndrminf");b=new TG(c,b);g.P(a.w.experiments,"html5_eme_loader_sync")&&(a.H.get(c)||a.H.set(c,b));uH(a,b)}; Wia=function(a,b){if(Az(a.o)&&!a.V){var c=Jha(b);if(0!=c.length){var d=new TG(c);a.V=!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){Via(a,f,d)})},null)}}}; Via=function(a,b,c){var d=b.createSession(),e=a.u.values[0],f=Pia(e);d.addEventListener("message",function(k){Uia(k.message,d,a.o.A,f)}); d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(k,l){"usable"==l&&(a.da=!0,yH(a,lH(e,a.da)))})}); d.generateRequest("cenc",c.initData)}; uH=function(a,b){if(!a.ia()){if(g.P(a.w.experiments,"html5_eme_loader_sync")&&a.S.ua&&a.S.ua.o){var c=a.H.get(b.initData),d=a.C.get(b.initData);if(!c||!d)return;b=c;c=b.initData;a.C.remove(c);a.H.remove(c)}sH(a,"initd"+b.initData.length+"ct"+b.contentType);a.Z&&a.na||(a.Z=!0,"widevine"==a.o.flavor?(UG(b),a.R("widevine_set_need_key_info",b)):a.Xt(b))}}; zH=function(a){a.ia()||(a.T=!0,sH(a,"onmdkrdy"),vH(a))}; vH=function(a){if(a.oa&&a.T&&!a.U){for(;a.A.length;){var b=a.A[0];if(a.u.get(b.initData))if("fairplay"==a.o.flavor)a.u.remove(b.initData);else{a.A.shift();continue}UG(b);break}if(a.A.length){b=a.A[0];a.u.get(b.initData);a.U=!0;var c=new fH(a.S,a.w,a.K,b,a,a.ga);a.u.set(b.initData,c)}}}; yH=function(a,b){var c=Ux("auto",b,!1,"l");if(g.P(a.w.experiments,"html5_drm_start_from_null_constraint")){if(Tx(a.G,c))return}else if(Yx(a.G,b))return;a.G=c;a.R("qualitychange");sH(a,"updtlq"+b)}; sH=function(a,b){kC(a.S)&&a.Vb.R("ctmp","drmlog",b)}; AH=function(a,b,c,d){this.videoData=a;this.o=b;this.reason=c;this.u=d}; Xia=function(a,b){this.videoData=a;this.ua=b}; Yia=function(a,b,c){return Xga(b,c).then(function(){return(W(a,"disable_index_range_auth")||!b.Gm||!b.ua.o||b.Se()||b.Yj()?0:/(&|,|^)init=0-0(&|,|$)/.test(b.adaptiveFormats))?dq(new fs("auth",!0,{init:"1"})):eq(new Xia(b,b.ua))},function(d){d instanceof Error&&g.uo(d); d=b.sa&&!g.Nx(a.w)?"html5.unsupportedlive":"fmt.noneavailable";var e={buildRej:"1",a:""+ +!!b.adaptiveFormats,d:""+ +!!b.Kd,f18:""+ +(0<=b.aj.indexOf("itag=18")),c18:""+ +Gs('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f43:""+ +(0<=b.aj.indexOf("itag=43")),c43:""+ +Gs('video/webm; codecs="vp8.0, vorbis"')};b.ka&&(e.f133=""+ +!!b.ka.o["133"],e.f140=""+ +!!b.ka.o["140"],e.c140=""+ +Is('audio/mp4; codecs="mp4a.40.2"'),e.f242=""+ +!!b.ka.o["242"],e.c242=""+ +Is('video/webm; codecs="vp9"'));return new fs(d, !0,e)})}; BH=function(a,b){g.O.call(this);this.o=a;this.K=b;this.J=this.C=this.F=this.w=this.u=this.B=this.H=this.A=0;this.G=1}; DH=function(a,b,c){g.$y(a.o)&&(c=Xx(c,CH(a,b)));return c}; CH=function(a,b){if(g.$y(a.o)&&Ax(a.o.w,Ex))var c=b.ua.videoInfos[0].wa().Sb;else{var d=!!b.ua.o;Ry(a.o)&&(c=window.screen&&window.screen.width?new g.ud(window.screen.width,window.screen.height):null);c||(c=a.o.Ng?a.o.Ng.clone():a.K.getPlayerSize());if(Ty||EH||d){d=c;var e=g.fu();d.width*=e;d.height*=e}UB(b.videoData);var f=b.ua.videoInfos;if(f.length){d=.85;e=f[0].wa();4!=e.projectionType&&2!=e.projectionType&&3!=e.projectionType||Py||(d=.45);e=f[0];var k=e.wa();f=g.p(f);for(var l=f.next();!l.done&& !(e=k=l.value,k=k.wa(),null===c||k.width*d(0,g.Mq)()-a.B?0:f||0k?a.w+1:0;if(!e||g.$y(a.o)||!GH(a,b))return!1;a.u=d>e?a.u+1:0;if(3!=a.u)return!1;HH(a,b.videoData.Aa);a.R("ctmp","dfd",IH());return!0}; GH=function(a,b){if(a.va("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().Sb>c}; HH=function(a,b){var c=b.wa().Sb-1;hy(b.u,b.wa().fps,c);a.o.mf=new Sx(0,c,!1,"b")}; JH=function(a,b){if(a.va("html5_restore_perf_cap")){for(var c=0,d=a.o.o?240:360,e=g.p(b.ua.videoInfos),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.u,l=f.wa().fps;k=+gy()[fy(k,l)]||0;f=f.wa().Sb;if(!k||Math.max(k,d)>=f){c=f;break}}return new Sx(0,c,!1,"b")}return a.o.mf}; KH=function(a,b){a.va("html5_log_media_perf_info")&&(a.R("ctmp","perfdb",IH()),a.R("ctmp","hwc",""+navigator.hardwareConcurrency,!0),b&&a.R("ctmp","mcdb",b.ua.videoInfos.filter(function(c){return!1===c.A}).map(function(c){return vs(c)}).join("-")))}; IH=function(){var a=Nb(gy(),function(b){return""+b}); return gs(a)}; LH=function(a,b){g.E.call(this);this.u=a;this.U=b;this.w=-1;this.K=!1;this.A=-1;this.o=new g.Ft;this.G=this.F=this.J=0;this.B=new g.J(this.C,6E4,this);g.H(this,this.B);this.H=!1}; MH=function(a){0<=a.w||(3==a.u.getVisibilityState()?a.K=!0:(a.w=g.gD(a.u),a.B.start()))}; NH=function(a){if(!(0>a.A)){var b=g.gD(a.u),c=b-a.J;a.J=b;8==a.o.o?a.F+=c:g.Pt(a.o)&&!g.R(a.o,16)&&(a.G+=c)}}; OH=function(a){var b=g.Ct(a.ab.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.ab.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"}; aja=function(a){return(!jD(a,"html5_health_to_gel")||a.ab.fa+36E5<(0,g.Mq)())&&(jD(a,"html5_health_to_gel_canary_killswitch")||a.ab.fa+36E5<(0,g.Mq)()||"HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"==OH(a))?jD(a,"html5_health_to_qoe"):!0}; QH=function(a){g.E.call(this);var b=this;this.o=a;this.u={};this.T=1;this.fa=NaN;this.w="N";this.G=this.xa=this.ga=this.Z=this.C=0;this.V=this.ya="";this.oa=0;this.za=-1;this.ra=1;this.U=this.P=0;this.aa=this.K=!1;this.Ba=[];this.H=null;this.J=this.da=this.A=!1;this.B=-1;this.ba=!1;(a=navigator.getBattery?navigator.getBattery():null)&&a.then&&a.then(function(c){b.H=c}); g.PH(this,0,"vps",["N"])}; g.PH=function(a,b,c,d){var e=a.u[c];e||(e=[],a.u[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))}; TH=function(a,b){b=0<=b?b:g.gD(a.o);var c=a.o.w();if(!isNaN(a.na)&&!isNaN(c.w)){var d=c.w-a.na;0=c-d}; dI=function(a){return Math.max(a.H()-cI(a,!0),a.S.Db())}; fI=function(a,b,c){b=eI(a,b);c||b?b&&(a.A=!0):a.A=!1;a.C=2==a.o.u||3==a.o.u&&a.A}; gI=function(a,b){var c=eI(a,b);a.F!=c&&a.R("livestatusshift",c);a.F=c}; bI=function(a){return a.S.ka?wx(a.S.ka)||5:5}; $H=function(a,b){b=Math.max(Math.max(a.o.J,Math.ceil(a.o.w/bI(a))),b);return Math.min(Math.min(8,Math.floor(a.o.G/bI(a))),b)}; gja=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.K=this.C=!1}; kI=function(a,b){g.O.call(this);var c=this;this.ba=b;var d={};this.aa=(d.seekplayerrequired=this.YL,d.videoformatchange=this.JF,d);this.va("html5_unrewrite_timestamps")&&(this.aa.timestamp=this.gM);this.S=a;this.fa=null;this.na=new hja(b);this.Z=new g.Rs;g.H(this,this.Z);this.H=this.w=this.B=this.o=null;this.u=NaN;this.F=0;this.C=null;this.U=NaN;this.G=this.J=null;this.da=this.K=!1;this.oa=new g.J(function(){var e={tgt:c.u};c.B&&g.Ra(e,c.B.bb());c.o&&g.Ra(e,c.o.bb());if(isFinite(c.u)&&0c.u+10);if(!f||l)c.o.seekTo(k),e.elem="1"}if(f=c.B)f=c.B,f=QG(f.u)||QG(f.A);f||c.R("ctmp","seektimeout",gs(e))},1E4); g.H(this,this.oa);this.T=new g.J(function(){c.K=!0;iI(c)}); g.H(this,this.T);this.ra=new g.J(function(){return jI(c)}); g.H(this,this.ra);this.A=0;this.P=!0;this.V=!1;this.ga=0}; ija=function(a,b){a.fa=b;a.S.sa&&(a.H=new fja(function(){a:{if(a.fa&&a.fa.ua.o){if(ku(a.S)&&a.B){var c=a.B.xa.o()||0;break a}if(a.S.ka){c=a.S.ka.J;break a}}c=0}return c}),a.w=new aI(a.S,a.ba.experiments,function(){return a.dc(!0)})); a.S.startSeconds&&isFinite(a.S.startSeconds)&&1E9=a.u)tI(a);else if(!a.S.sa&&a.u>=a.dc()-.1)a.u=a.dc(),a.C.resolve(a.dc()),a.R("ended");else try{a.o.seekTo(a.u-a.A),a.U=a.u-a.A,a.F=a.u}catch(c){}}}; hI=function(a){if(!a.o||0==a.o.je()||0b.startSeconds){var c=b.endSeconds;a.V&&(a.removeCueRange(a.V),a.V=null);a.V=new g.AD(1E3*c,0x7ffffffffffff);a.V.namespace="endcr";a.addCueRange(a.V)}}; aJ=function(a,b,c,d){a.S.Aa=c;d&&$I(a,b,d);var e=g.iu(a);d=a.B;e=new AH(a.S,c,b,e?vs(e):"");if(d.o){c=d.o;d=g.gD(c.o);g.PH(c,d,"vfs",[e.o.id,e.u,c.ya,e.reason]);c.ya=e.o.id;e=c.o.F();if(0=a.start);return b}; iJ=function(a,b){if(a.o&&b.fb()==a.o.fb()&&(b.isView()||a.o.isView())){if(b.isView()||!a.o.isView())g.Ts(a.ra),a.o=b,fJ(a),mI(a.C,a.o)}else{a.o&&gJ(a);if(!a.u.isError()){var c=Jt(a.u,512);g.R(c,8)&&!g.R(c,2)&&(c=It(c,1));NI(a,c)}a.o=b;a.o.setLoop(a.jd);a.o.setPlaybackRate(a.Ta);fJ(a);hJ(a);mI(a.C,a.o)}}; hJ=function(a){if(g.P(a.A.experiments,"html5_prewarm_mse")&&Mx()&<()&&a.o)try{a.o.Nn()}catch(b){}}; gJ=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.Q(b.o.experiments,"html5_hfr_quality_cap"))a:{m=c.ua;if(m.o)for(m=g.p(m.videoInfos),l=m.next();!l.done;l=m.next())if(32b.o;c||d||b?a.R("reattachrequired"):(FF(a.u)&&zG(a,a.u,a.A),g.cn(a.ba))}}}; pJ=function(a){a.va("html5_nonblocking_media_capabilities")?nJ(a):oJ(a)}; sJ=function(a){Kfa(a.S.ka,{cpn:a.S.clientPlaybackNonce,c:a.A.deviceParams.c,cver:a.A.deviceParams.cver});var b=a.A,c=a.S,d=new g.Bw;d.nt=W(b,"html5_seek_accuracy_allowance_killswitch");d.nf=W(b,"html5_unrewrite_timestamps");W(b,"html5_streaming_xhr")&&(d.F=!0);W(b,"html5_streaming_debug")&&(d.F=!0,d.U=!0);g.Q(b.experiments,"html5_max_av_sync_drift")&&(d.rz=g.Q(b.experiments,"html5_max_av_sync_drift"));g.Q(b.experiments,"html5_min_secs_between_format_selections")&&(d.wA=g.Q(b.experiments,"html5_min_secs_between_format_selections")); d.Xa=W(b,"html5_stop_overlapping_requests");d.xa=g.Q(b.experiments,"html5_min_readbehind_secs");d.kA=g.Q(b.experiments,"html5_min_readbehind_cap_secs");g.$y(b)&&(d.xa=g.Q(b.experiments,"tvhtml5_min_readbehind_secs"));d.Nt=W(b,"html5_uncensored_readbehind");d.gj=W(b,"html5_append_init_while_paused");d.Gc=g.Q(b.experiments,"html5_max_readahead_bandwidth_cap");d.V=W(b,"html5_disable_audio_append_cap");d.Bl=W(b,"html5_disable_non_contiguous");d.md=g.Q(b.experiments,"html5_post_interrupt_readahead");d.Zb= W(b,"html5_log_quota_exceeded");d.K=g.Q(b.experiments,"html5_subsegment_readahead_target_buffer_health_secs");d.Eb=g.Q(b.experiments,"html5_subsegment_readahead_timeout_secs");d.It=g.Q(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs");d.tb=g.Q(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.Jt=g.Q(b.experiments,"html5_subsegment_readahead_min_load_speed");d.mf=g.Q(b.experiments,"html5_subsegment_readahead_load_speed_check_interval");d.Kt=g.Q(b.experiments, "html5_subsegment_readahead_seek_latency_fudge");d.eb=W(b,"html5_streaming_xhr_optimize_lengthless_mp4");d.za=W(b,"html5_peak_shave");d.KA=W(b,"html5_peak_shave_always_include_sd");d.lt=W(b,"html5_restrict_streaming_xhr_on_sqless_requests");d.Dz=g.Q(b.experiments,"html5_max_headm_for_streaming_xhr");d.Ss=W(b,"html5_pipeline_manifestless_allow_nonstreaming");d.Vs=W(b,"html5_prefer_server_bwe3");d.sf=1024*g.Q(b.experiments,"html5_video_tbd_min_kb");d.Ws=W(b,"html5_probe_live_using_range");d.vt=W(b, "html5_streaming_xhr_buffer_mdat");d.lf=W(b,"html5_streaming_xhr_no_mp4_holdback_chunk");d.Im=W(b,"html5_last_slice_transition");d.Cl=W(b,"html5_disable_incomplete_incremental_parse_error");d.qt=W(b,"html5_store_xhr_headers_readable");d.Nl=g.Q(b.experiments,"html5_incremental_parser_buffer_duration_secs");d.em=g.Q(b.experiments,"html5_incremental_parser_buffer_extra_bytes");d.Hl=W(b,"html5_enable_packet_train_response_rate");var e=g.Q(b.experiments,"html5_probe_secondary_during_timeout_miss_count"); e&&(d.od=e,d.Mt=1);d.Ca=g.Q(b.experiments,"html5_probe_primary_delay_base_ms")||d.Ca;W(b,"html5_drm_start_from_null_constraint")&&(d.zl=!0);d.kd=W(b,"html5_no_placeholder_rollbacks");d.Ft=W(b,"html5_subsegment_readahead_enable_mffa");d.Ba=W(b,"html5_platform_whitelisted_for_frame_accurate_seeks");d.Yd=W(b,"html5_reattach_on_stuck");d.St=W(b,"html5_webm_init_skipping");d.Ng=W(b,"html5_adaptation_fix");d.Na=g.Q(b.experiments,"html5_request_size_padding_secs")||d.Na;d.yl=W(b,"html5_clamp_with_padding"); d.Ux=W(b,"html5_log_timestamp_offset");d.Gl=W(b,"html5_disable_new_live_flags");d.Dl=W(b,"html5_disable_incremental_traf_timescale");d.El=W(b,"html5_disable_manifestless_sqless_sync");d.Mb=W(b,"html5_gapless_audio");d.V=W(b,"html5_no_audio_append_cap");d.Fb=W(b,"html5_abs_buffer_health");d.pm=W(b,"html5_interruption_resets_seeked_time");d.kc=g.Q(b.experiments,"html5_max_live_dvr_window_plus_margin_secs")||d.kc;d.qf=W(b,"html5_use_streaming_xhr_abort_support");d.pw=W(b,"html5_limit_adaptation_requests"); d.Wb=W(b,"html5_explicitly_dispose_xhr");d.AA=W(b,"html5_gapless_no_requests_after_lock");d.Ys=W(b,"drm_manifestless_unplugged")&&g.pz(b);d.nd=g.Q(b.experiments,"html5_probe_primary_failure_factor");d.Al=W(b,"html5_copy_all_appends");d.km=W(b,"html5_initdata_deep_comparison");d.ot=W(b,"html5_skip_invalid_sq");W(b,"html5_media_common_config_killswitch")||(d.w=c.maxReadAheadMediaTimeMs/1E3||d.w,e=b.schedule,e.o.o()==e.policy.w?d.P=10:d.P=c.minReadAheadMediaTimeMs/1E3||d.P,d.Hb=c.readAheadGrowthRateMs/ 1E3||d.Hb);gg&&(d.T=41943040);d.Z=!lt();g.$y(b)||!lt()?(e=b.experiments,d.A=8388608,d.C=524288,d.xl=5,d.ga=2097152,d.da=1048576,d.ht=1.5,d.Ma=15,d.CA=!1,d.G=4587520,Mp()&&(d.G=786432),d.o*=1.1,d.u*=1.1,d.Ha=!0,d.T=d.A,d.na=d.C,d.ld=g.P(e,"persist_disable_player_preload_on_tv")||g.P(e,"persist_disable_player_preload_on_tv_for_living_room")||!1):b.o&&(d.o*=1.3,d.u*=1.3);g.Hs&&Hp("crkey")&&(e="CHROMECAST/ANCHOVY"==b.deviceParams.cmodel,d.A=20971520,d.C=1572864,e&&(d.G=812500,d.H=1E3,d.Pt=5,d.da=2097152)); !W(b,"html5_disable_firefox_init_skipping")&&g.Cx&&(d.Ha=!0);b.supportsGaplessAudio()||(d.Mb=!1);if(Ky||qJ)d.Bh=!0;if(ku(c)){d.Il=!0;d.mt=!1;d.J=W(b,"html5_shrink_live_timestamps");d.aa=d.J||W(b,"html5_manifestless_synchronized");if("ULTRALOW"==c.latencyClass||"LOW"==c.latencyClass&&!W(b,"html5_disable_low_pipeline"))d.oz=2,d.Vz=4;d.Wd=c.hasSubfragmentedFmp4||c.Zp;d.Yg=c.defraggedFromSubfragments}c.isAd()&&(d.ra=0,d.Xb=0);cC(c)&&(d.U=!0);dC(c)&&(d.U=!0,d.F=!0);d.ba=W(b,"html5_enable_subsegment_readahead_v3")|| W(b,"html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==c.latencyClass;d.Yx=ku(c);d.fa=c.Kf;d.qw=d.fa&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||kC(c));/^pp/.test(c.clientPlaybackNonce)&&(d.vC=!0,d.ct=!0);Vp()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.deviceParams.cmodel)&&!W(b,"html5_disable_move_pssh_to_moov")&&ix(c.ka)&&(d.Ha=!1);ix(c.ka)&&(d.Yd=!1);if(c.sa){e=wx(c.ka);var f=g.Q(b.experiments,"html5_live_abr_head_miss_fraction"),k=g.Q(b.experiments,"html5_live_abr_repredict_fraction");f&&e&&(d.jc= Math.min(e*f,d.jc));k&&e&&(d.H=Math.min(1E3*e*k,d.H))}f=0;W(b,"html5_live_use_alternate_bandwidth_window_sizes")&&(f=b.schedule.policy.o,c.sa&&(f=g.Q(b.experiments,"ULTRALOW"==c.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":c.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":"html5_live_normal_latency_bandwidth_window")||f));e=b.schedule;e.w.u=ku(c)?.5:0;if(!e.policy.u&&f&&(e=e.o,f=Math.round(f*e.K),f!=e.w)){k=Array(f);var l=Math.min(f,e.C?e.w:e.A),m=e.A-l;0>m&&(m+=e.w); for(var n=0;na.S.endSeconds&&isFinite(b)&&(a.removeCueRange(a.V),a.V=null);ba.G.getDuration()&&jt(a.G,c)):jt(a.G,d);var e=a.w,f=a.G;e.V&&(uG(e),e.V=!1);tG(e);if(!f.o&&!f.u){var k=e.u.o.info.mimeType,l=e.A.o.info.mimeType,m=new et("fakesb"==l?new Vs:f.w.addSourceBuffer(l),us(l)),n=new et("fakesb"==k?new Vs:f.w.addSourceBuffer(k),us(k));f.o=m;f.u=n;g.H(f,m);g.H(f,n)}e.u.F=f.u;e.A.F=f.o;e.w=f;e.resume(); ct(f.o,e.ya,e);ct(f.u,e.ya,e);e.o.Ux&&e.tc("toff",""+f.o.supports(1),!0);e.We();a.R("mediasourceattached")}}catch(q){g.N(q,"WARNING"),a.rh(new fs("fmt.unplayable",!0,{msi:"1",ename:q.name}))}})}; wJ=function(a){a.w?a.w.seek(a.getCurrentTime()-a.yb()):sJ(a)}; wja=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1}; IJ=function(a){return a.Ca||"yt"!=a.A.U?!1:a.S.de?10>a.S.Ze:!a.S.Ze}; LJ=function(a){a.Ca||(a.Ca=!0,a.R("signatureexpired"))}; VJ=function(a,b){try{window.location.reload(!0);a.B.onError("qoe.restart",gs({detail:"pr."+b}));return}catch(c){}a.va("tvhtml5_retire_old_players")&&g.$y(a.A)&&PJ(a)}; WJ=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav}; xja=function(a,b){if(a.o&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.o.Ve();b.details.merr=c?c.toString():"0";b.details.msg=a.o.kk()}}; yJ=function(a,b,c){var d=g.Q(a.A.experiments,"html5_error_cooldown_in_ms")||3E4;if(a.Gc+d>(0,g.A)())return!a.S.de&&(a.A.Z+=1,10a-.3)}; cK=function(a){window.clearInterval(a.Eb);a.ga.stop();a.S.de=!0;a.A.de=!0;a.A.Z=0;bK(a);g.R(a.u,8)&&NI(a,Jt(a.u,65));var b=a.B;if(b.u){var c=b.u;if(!c.w){g.P(c.o.ab.experiments,"disable_embedpage_playback_logging")||16623!=c.o.videoData.Yn||g.uo(Error("Playback for EmbedPage"));var d=qD(c,"playback");c.H=[10+c.o.videoData.mi,10,10,40+c.o.videoData.hk-c.o.videoData.mi,40];var e=c.u;window.clearInterval(e.G);e.G=NaN;e.G=Eo((0,g.x)(e.update,e),100);e.F=g.gD(e.u);e.B=WC(e.u);d.u=pD(c,!0);d.send();c.o.videoData.Ln&& (d=c.o.ab,e=c.o.videoData,e={html5:"1",video_id:e.videoId,cpn:e.clientPlaybackNonce,ei:e.eventId,ptk:e.Ln,oid:e.Sy,ptchn:e.Ry,pltype:e.Ty,content_v:e.ng()},d=g.Lf(d.B+"ptracking",e),tD(c,d));c.o.videoData.yj&&(c.F("playback"),c.A||wD(c));c.o.videoData.re||vD(c);c.w=!0;c=c.u;c.o=c.u.o();c.F=g.gD(c.u);!(0==c.A&&5>c.o)&&2b.w&&(b.w=c,b.B.start()),b.A=c,b.J=c);g.cn(a.Mb);a.R("playbackstarted");g.Yo()&&((a=g.w("yt.scheduler.instance.clearPriorityThreshold"))? a():$o(0))}; bK=function(a){var b=a.getCurrentTime(),c=a.S;!uB("pbs")&&BB.measure&&BB.getEntriesByName&&(BB.getEntriesByName("mark_nr")[0]?DB("mark_nr"):DB());c.videoId&&a.U.info("docid",c.videoId);c.eventId&&a.U.info("ei",c.eventId);c.clientPlaybackNonce&&a.U.info("cpn",c.clientPlaybackNonce);0=k.u&&ef.B||(0,g.A)()-f.G=c.o.videoData.re&&(c.w&&c.o.videoData.re&&(e=qD(c,"delayplay"),e.Ba=!0,e.send(),c.U=!0),vD(c))),a.S.sa&&(0,g.A)()>a.qf+ 6283&&(!a.isAtLiveHead()||a.S.ka&&ux(a.S.ka)||(c=a.B,c.o&&(c=c.o,d=c.o.w(),e=g.gD(c.o),SH(c,e,d),d=d.C,isNaN(d)||g.PH(c,e,"e2el",[d.toFixed(3)]))),g.pz(a.A)&&a.Oa("rawlat","l."+Xt(a.Z,"rawlivelatency").toFixed(3)),a.qf=(0,g.A)()),a.S.Aa&&Bs(a.S.Aa)&&(c=PI(a))&&c.videoHeight!=a.kc&&(a.kc=c.videoHeight,a.va("html5_log_hls_video_height_change_as_format_change")&&a.S.Ud&&"auto"==a.S.Ud.Cf.wa().quality&&a.S.Rf)))for(c=g.p(a.S.Rf),e=c.next();!e.done;e=c.next())if(e=e.value,e.getHeight()==a.kc&&"auto"!= e.Cf.wa().quality){aJ(a,"a",e.Md());break}$ia(a.P,a.H,a.o,a.K.isBackground())&&pJ(a);c=a.P;e=a.S.Aa;0>=g.Q(c.o.experiments,"hfr_dropped_framerate_fallback_threshold")||!(e&&e.wa()&&32lD(c,8)||g.mD(c,1024))&&a.ga.stop(); !g.mD(c,8)||a.S.de||g.R(c.state,1024)||a.ga.start();g.R(c.state,8)&&0>lD(c,16)&&!g.R(c.state,32)&&!g.R(c.state,2)&&a.playVideo();g.R(c.state,2)&&zC(a.S)&&(e=a.getCurrentTime(),a.S.lengthSeconds!=e&&(a.S.lengthSeconds=e,MI(a)),YJ(a,!0));g.mD(c,2)&&(a.Wr(!0),dK(a));a.S.ka&&a.S.sa&&!a.sf&&(0>lD(c,8)?(e=a.S.ka,e.A&&e.A.stop()):g.mD(c,8)&&a.S.ka.resume());e=a.C;if(e.o&&e.na.u&&8==c.o.o&&Ot(c.state)&&g.Pt(c.state)){f=e.o.getCurrentTime();var k=e.o.Ld(),l=Ys(k,f-3.5);0<=l&&f>k.end(l)-1.1&&l+1k.start(l+1)-k.end(l)&&(e.R("ctmp","seekover","b."+Xs(k,"_")+";cmt."+f),e.seekTo(k.start(l+1)+.2,!0,!0))}e=a.B;if(g.mD(c,1024)||g.mD(c,2048)||g.mD(c,512)||g.mD(c,4))e.w&&(f=e.w,0<=f.A||(f.w=-1,f.B.stop())),e.o&&(f=e.o,jD(f.o,"html5_qoe_user_intent_match_health")&&!f.A&&(f.B=-1));e.u&&(f=e.u,f.ia()||(g.R(c.state,2)?(f.B="paused",g.mD(c,2)&&f.w&&sD(f).send()):g.R(c.state,8)?(f.B="playing",f.w&&isNaN(f.C)&&pD(f,!1)):f.B="paused",f.A&&g.R(c.state,128)&&(f.F("error-100"),g.Fo(f.A))));if(e.o){f=e.o; k=c.state;l=g.gD(f.o);var m=cja(f,c.state);if(m!=f.w){if(!(l=f.U&&(f.o.C(),f.u.qoealert=["1"],f.aa=!0)}"B"!=m||"PL"!=f.w&&"PB"!=f.w||(f.K=!0);f.C=l}"B"==m&&"PL"==f.w||f.o.videoData.Kf?TH(f,l):g.PH(f,l,"cmt",[f.o.o().toFixed(3)]);g.PH(f,l,"vps",[m]);f.w=m;f.Z=l;f.C=l;f.J=!0}m=k.u;g.R(k,128)&&m&&VH(f,l,m.errorCode,m.pz);(g.R(k,2)||g.R(k,128))&& f.F(l);jD(f.o,"html5_qoe_user_intent_match_health")?g.R(k,8)&&!f.A&&(0<=f.B&&(f.u.user_intent=[f.B.toString()]),f.A=!0):g.R(k,8)&&f.o.videoData.Ch&&!f.A&&(f.u.user_intent=[l.toString()],f.A=!0);UH(f)}e.w&&(e=e.w,NH(e),e.o=c.state,c.state.isError()&&e.C());if(d&&!a.ia())try{for(var q=g.p(a.Fb),t=q.next();!t.done;t=q.next()){var v=t.value,y=a.J;c=v;if(y.started&&(y.u(),g.R(c.o,16))){c=y;var B=gG(c.o,Math.max(c.A-2E3,0));!isNaN(B)&&0x7ffffffffffff>B&&c.B.start()}a.R("statechange",v)}}finally{a.Fb.length= 0}}}; eK=function(a,b){g.R(a.u,128)||(NI(a,Kt(a.u,1028,9)),a.Oa("dompaused",b),a.R("onDompaused"))}; VI=function(a){if(!a.o||!a.S.ua)return!1;var b=null;a.S.ua.o?(b=xJ(a),a.w.resume()):(HI(a),a.S.Ud&&(b=a.S.Ud.mk()));var c=b;var d=a.o.jn();b=!1;d&&null!=c&&c.o==d.o||(a.U.tick("vta"),FB("vta"),0d&&(d=-(d+1));g.Vd(a,b,d);b.setAttribute("data-layer",c)}; g.MK=function(a){var b=a.O();if(!b.Ma)return!1;var c=a.getVideoData();if(!c||3==a.getPresentingPlayerType())return!1;var d=!c.isLiveDefaultBroadcast||g.P(b.experiments,"allow_poltergust_autoplay");d=c.sa&&(!g.P(b.experiments,"allow_live_autoplay")||!d);var e=!!a.getPlaylist();g.P(b.experiments,"player_allow_autonav_after_playlist")&&(e=(a=a.getPlaylist())&&a.hasNext());return!c.ypcPreview&&!d&&!g.$a(c.Fc,"ypc")&&!e}; g.NK=function(a,b,c,d){a.O().T&&Aja(a.app.oa,b,c,d)}; g.OK=function(a,b,c){a.O().T&&Bja(a.app.oa,b,c)}; g.PK=function(a,b,c){a.O().T&&(a.app.oa.o.has(b),c&&(b.visualElement=g.AA(c)))}; g.QK=function(a,b){a.O().T&&a.app.oa.click(b)}; g.RK=function(a,b,c){if(a.O().T&&(a=a.app.oa,a.o.has(b),c?a.u.add(b):a.u["delete"](b),c&&!a.w.has(b))){c=g.WA();var d=b.visualElement;c&&d&&g.OA(c,d);a.w.add(b)}}; SK=function(a,b){return a.O().T?a.app.oa.o.has(b):!1}; g.VK=function(a,b){if(a.app.getPresentingPlayerType()==b){var c=a.app,d=g.S(c,b);d&&(d!=c.w?TK(c,c.w):UK(c))}}; YK=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.U?WK(a.U,b,c):XK(a.ra,b,c)}; Cja=function(a){if(!JC(a,"html5_inline_video_quality_survey"))return!1;var b=g.S(a.app);if(!b)return!1;var c=b.getVideoData();if(!c.Aa||!c.Aa.video||1080>c.Aa.video.Sb||c.Yv)return!1;var d=/^qsa/.test(c.clientPlaybackNonce),e="r";0<=c.Aa.id.indexOf(";")&&(d=/^[a-p]/.test(c.clientPlaybackNonce),e="x");JC(a,"html5_inline_video_quality_survey_always")&&(d=!0,e="a");return d?(b.Oa("iqss",e,!0),!0):!1}; ZK=function(a,b){document.requestStorageAccess().then(a,b)}; $K=function(a,b){oq.call(this,a,"trigger_type_active_media_layout_id");this.A=b}; aL=function(a,b){g.E.call(this);this.B=a;this.A={};this.o=null;this.ea=new g.Rs(this);g.H(this,this.ea);this.ea.M(b,"onAdStart",this.F);this.ea.M(b,"onAdEnd",this.C)}; bL=function(a,b){oq.call(this,a,"trigger_type_on_new_playback_after_content_video_id");this.A=b}; cL=function(a,b){g.E.call(this);this.B=a;this.C=b;this.o={};this.A=null;this.ea=new g.Rs(this);g.H(this,this.ea);this.ea.M(this.C,"videodatachange",this.F)}; dL=function(a){g.E.call(this);this.o=new aL(a.fA,a.ca);g.H(this,this.o);this.u=new cL(a.fA,a.ca);g.H(this,this.u)}; eL=function(a){g.E.call(this);this.o=a;this.u=Dja(this)}; Dja=function(a){var b=null,c=new Zr(function(){return b}),d=new Ir(function(e,f,k,l){l=a.o.EL(l); var m=new Gea,n={},q={},t={};k={Zu:Object.freeze((n.slot_type_in_player=new Yr(k),n.slot_type_above_feed=new Xr(k),n)),Ui:Object.freeze((q.trigger_type_active_media_layout_id=l.o,q.trigger_type_on_new_playback_after_content_video_id=l.u,q.trigger_type_slot_id_entered=c,q.trigger_type_slot_id_exited=c,q.trigger_type_layout_id_exited=c,q)),lM:Object.freeze((t.slot_type_in_player=m,t.slot_type_above_feed=m,t)),ww:Object.freeze({})};return new uq(k,e,f)},[c]); b=d;g.H(a,d);return d}; fL=function(a,b,c){this.w=a;this.u=b;this.o=c}; gL=function(a,b){Hr("ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_RECEIVED",a.o);var c=a.w.o(b);Hr("ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED",a.o,c);if(c.length){var d=a.u;c=g.p(c);for(var e=c.next();!e.done;e=c.next())a:{var f=d;e=e.value;Er("ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED",e);try{var k=f.o;if(g.xb(e.oe))throw new nq("Slot ID was empty");if(wq(k,e))throw new nq("Duplicate registration for slot.");if(!k.o.Zu[e.Yb])throw new nq("No fulfillment adapter registered for slot of type: "+e.Yb);if(!k.o.lM[e.Yb])throw new nq("No SlotAdapterFactory registered for slot of type: "+ e.Yb);zq(k,"trigger_category_slot_entry",e.Zk);zq(k,"trigger_category_slot_fulfillment",e.ts);zq(k,"trigger_category_slot_expiration",e.rs);b:{for(var l=e,m=g.p(Object.values(vq(k,l.Yb))),n=m.next();!n.done;n=m.next())for(var q=n.value.slot,t=g.p(l.Zk),v=t.next();!v.done;v=t.next())for(var y=v.value,B=g.p(q.Zk),C=B.next();!C.done;C=B.next())if(C.value.w(y)){var G=!0;break b}G=!1}if(G)throw new nq("Already registered slot with equivalent entry trigger.");var I=f.o,F=vq(I,e.Yb);if(wq(I,e))throw new nq("Duplicate slots not supported"); F[e.oe]=new sq(e);I.u[e.Yb]=F}catch(ul){g.N(ul);break a}wq(f.o,e).B=!0;try{for(var M=f.o,U=wq(M,e),fa=g.p(e.Zk),Ba=fa.next();!Ba.done;Ba=fa.next()){var vc=Ba.value,mc=M.o.Ui[vc.u];mc.u("trigger_category_slot_entry",vc,e,null);U.U[vc.o]=mc}for(var Wd=g.p(e.ts),wc=Wd.next();!wc.done;wc=Wd.next()){var Xd=wc.value,If=M.o.Ui[Xd.u];If.u("trigger_category_slot_fulfillment",Xd,e,null);U.J[Xd.o]=If}for(var we=g.p(e.rs),zd=we.next();!zd.done;zd=we.next()){var xe=zd.value,Ub=M.o.Ui[xe.u];Ub.u("trigger_category_slot_expiration", xe,e,null);U.H[xe.o]=Ub}U.C=M.o.Zu[e.Yb];U.u=new Fea(M.A,e)}catch(ul){g.N(ul);Jr(f,e,!0);break a}Er("ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED",e);l=wq(f.o,e);"not_scheduled"!==l.o&&Dq(l.o,"onSlotScheduled");l.o="scheduled";l=g.p(f.u);for(var Jf=l.next();!Jf.done;Jf=l.next())Jf.value.B.add(e.oe);Kr(f,e)}}}; Eja=function(){}; Fja=function(a,b,c){var d=Wn();return new Tr(d,[new $K(Wn(),b)],[new Pr(Wn(),d)],[new bL(Wn(),a),new Qr(Wn(),d)],b,c)}; Gja=function(a,b){var c=Wn();return new Rr(c,[],[new Pr(Wn(),c)],[new bL(Wn(),a),new Qr(Wn(),c)],b)}; iL=function(a){fL.call(this,new hL,a,"OPPORTUNITY_TYPE_AD_PLACEMENT_RENDERERS_RESPONSE_RECEIVED")}; hL=function(){}; Hja=function(a){this.w=a;this.u={};this.o=vf()?500:g.$y(a.O())?1E3:2500}; Jja=function(a,b){if(!b.length)return null;var c=b.filter(function(d){if(!d.mimeType)return!1;d.mimeType in a.u||(a.u[d.mimeType]=a.w.canPlayType(d.mimeType));return a.u[d.mimeType]?!!d.mimeType&&"application/x-mpegurl"==d.mimeType.toLowerCase()||!!d.mimeType&&"application/dash+xml"==d.mimeType.toLowerCase()||"PROGRESSIVE"==d.delivery:!1}); return Ija(a,c)}; Ija=function(a,b){for(var c=null,d=g.p(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.minBitrate,k=e.maxBitrate;f>a.o||ka.o||(!c||f>c.maxBitrate?c=e:c&&f==c.maxBitrate&&kc.maxBitrate&&(c=e));return c}; jL=function(a,b){this.o=a;this.da=b||{};this.G=String(Math.floor(1E9*Math.random()));this.F={};this.K=0}; kL=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}; pL=function(a){fL.call(this,new oL,a,"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_STARTED")}; oL=function(){}; g.rL=function(a,b,c,d){g.O.call(this);this.w=!!b;this.C=a;this.H=c||a;this.G=!!d;this.o=new g.Rs(this);g.H(this,this.o);this.B=this.F=null;this.A=this.u=!1;b&&(g.Md&&a.setAttribute("draggable","true"),a.style.touchAction="none");qL(this)}; sL=function(a,b,c){a.o.M(a.H,b,c,void 0,!a.w)}; qL=function(a){a.B=null;a.F=null;sL(a,tL("over"),a.Jw);sL(a,"touchstart",a.Iq);a.w&&sL(a,tL("down"),a.lH)}; uL=function(a,b){for(var c=0;ce&&(k+="0"));if(0f&&(k+="0");k+=f+":";10>c&&(k+="0");d=k+c}return 0<=a?d:"-"+d}; g.zL=function(a){return("number"!==typeof a.button||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey}; AL=function(a,b,c,d){g.O.call(this);this.u=a;this.U=(0,g.x)(b,null);this.o=0;this.C=!1;this.A=new g.sd(NaN,NaN);this.ea=new g.Rs(this);g.H(this,this.ea);b=d?4E3:3E3;this.G=new g.J(g.Qa(this.Lb,1,!1),b,this);g.H(this,this.G);this.H=new g.J(g.Qa(this.Lb,2,!1),b,this);g.H(this,this.H);this.K=new g.J(g.Qa(this.Lb,512,!1),0,this);g.H(this,this.K);this.T=c&&0e?d:d.substr(0,e)))if(c&&(b.itct||b.ved)&&(b.csn=b.csn||g.WA()),f){var f=parseInt(f,10);isFinite(f)&&0b;b++){var c=new g.T({D:"a",I:"ytp-suggestion-link",N:{href:"{{link}}",target:a.A,"aria-label":"{{aria_label}}"},L:[{D:"div",I:"ytp-suggestion-image",L:[{D:"div",N:{"data-is-live":"{{is_live}}"},I:"ytp-suggestion-duration",W:"{{duration}}"}]},{D:"div",I:"ytp-suggestion-title",N:{title:"{{hover_title}}"},W:"{{title}}"},{D:"div",I:"ytp-suggestion-author", W:"{{views_or_author}}"}]});g.H(this,c);c.o(this.H.element);var d=c.u["ytp-suggestion-link"];g.eg(d,"transitionDelay",b/20+"s");this.aa.M(d,"click",g.Qa(this.zG,b));this.F.push(c)}this.J=new g.T({D:"button",X:["ytp-button","ytp-next"],N:{"aria-label":"Show more suggested videos"},L:[g.HL()]});g.H(this,this.J);this.J.o(this.element);this.J.ha("click",this.xG,this);this.aa.M(this.A,"videodatachange",this.Bx);vM(this,g.tK(this.A).getPlayerSize());this.Bx();this.show()}; vM=function(a,b,c){var d=a.A.O(),e=16/9,f=650<=b.width,k=480>b.width||290>b.height,l=Math.min(a.w.length,a.F.length);if(150>=Math.min(b.width,b.height)||0==l||!d.Ca)a.hide();else{var m;if(f){var n=m=28;a.B=16}else n=m=8,a.B=8;if(k){var q=6;f=14;var t=12;k=24;d=12}else q=8,f=18,t=16,k=36,d=16;b=b.width-(48+m+n);m=Math.ceil(b/150);m=Math.min(3,m);m=b/m-a.B;n=Math.floor(m/e);n+100>c&&50m?a.hide():a.show();for(c=0;c< l;c++){e=a.F[c];var v=e.u["ytp-suggestion-image"];v.style.width=m+"px";v.style.height=n+"px";e.u["ytp-suggestion-title"].style.width=m+"px";e.u["ytp-suggestion-author"].style.width=m+"px";e=e.u["ytp-suggestion-duration"];e.style.display=e&&100>m?"none":""}l=f+q+t+4;a.T=l+d+(n-k)/2;a.H.element.style.height=n+l+"px";a.Z=m;a.G=b;a.C=0;a.Cx(0);xM(a)}}; yM=function(a,b){var c=g.pd(b,a.G-a.w.length*(a.Z+a.B),0);a.fa.start(a.C,c,1E3);a.C=c;xM(a)}; xM=function(a){a.J.element.style.bottom=a.T+"px";a.K.element.style.bottom=a.T+"px";var b=a.C,c=a.G-a.w.length*(a.Z+a.B);g.L(a.element,"ytp-scroll-min",0<=b);g.L(a.element,"ytp-scroll-max",b<=c)}; Nja=function(a){for(var b=0;bb.width||290>b.height?(e={D:"div",X:["ytp-icon","ytp-icon-error-exclamation-small"]},f=gM(),k=0):650<=b.width&&(e={D:"div",X:["ytp-icon","ytp-icon-error-exclamation-large"]},f=g.X?{D:"div",X:["ytp-icon","ytp-icon-youtube-logo-redirect-extra-large"]}:{D:"svg",N:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},L:[{D:"path",N:{d:"M0 0h24v24H0V0z",fill:"none"}},{D:"path",N:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}, k=2);if(k!==a.G){e={"ytp-error-icon-container":e,"ytp-small-redirect":f};f=g.p(Object.keys(e));for(var l=f.next();!l.done;l=f.next()){l=l.value;var m=a.u[l];g.Ud(m);(new g.T(e[l])).o(m)}a.G=k}}c.style.paddingTop=(b.height-a.B.element.clientHeight)/2-d/2+"px"}; FM=function(a,b){if(a.A)try{b.call(a,a.A)}catch(c){a.A.dispose(),a.A=null}}; HM=function(a){a=a.split(Oja);for(var b=[],c=0;cc):c&&d&&(a.w=new g.J(a.P,d,a),g.H(a,a.w),g.ce(g.Fd("ytp-paid-content-overlay-text",a.element),c))}; NM=function(a,b){a.w&&g.R(b,8)&&a.G&&(a.G=!1,a.C.show(),a.H=(0,g.A)(),a.w.start())}; PM=function(a){g.T.call(this,{D:"div",I:"ytp-spinner",L:[sM(),{D:"div",I:"ytp-spinner-message",W:"If playback doesn't begin shortly, try restarting your device."}]});this.B=this.u["ytp-spinner-message"];this.A=a;this.w=new g.J(this.show,500,this);g.H(this,this.w);this.M(a,"presentingplayerstatechange",this.C);this.M(a,"onFrescaStateChange",this.F);this.M(a,"playbackstalledatstart",this.G);OM(this,g.sK(a))}; OM=function(a,b){if(g.R(b,128))var c=0;else!(c=g.R(b,16))&&(c=g.R(b,1))&&(c=DK(g.nK(a.A)),c=!(c&&c.loaded));c?a.w.start():a.hide()}; RM=function(a,b){g.T.call(this,{D:"button",X:["ytp-airplay-button","ytp-button"],N:{title:"AirPlay"},W:"{{icon}}"});this.w=a;this.ha("click",this.B);this.M(a,"airplayactivechange",this.A);this.M(a,"airplayavailabilitychange",this.A);this.A();g.Di(this,g.QM(b.Ya(),this.element))}; g.TM=function(a){g.Gu.call(this,{D:"div",I:"ytp-gradient-bottom"});this.A=g.Rd("CANVAS");this.A.width=1;this.w=this.A.getContext("2d");this.B=NaN;this.C=g.Vy(a.O());g.SM(this,g.tK(a).getPlayerSize().height)}; g.SM=function(a,b){if(a.w){var c=Math.floor(b*(a.C?1:.4));c=Math.max(c,47);var d=c+2;if(a.B!=d){a.B=d;a.A.height=d;a.w.clearRect(0,0,1,d);var e=a.w.createLinearGradient(0,2,0,2+c);if(a.C)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.w.fillStyle=e;a.w.fillRect(0,2,1,c);a.element.style.height= d+"px";a.element.style.backgroundImage="url("+a.A.toDataURL()+")"}}}; UM=function(a,b,c,d,e){var f=b.Cn/b.rows,k=Math.min(c/(b.Dn/b.columns),d/f),l=b.Dn*k,m=b.Cn*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,q=m/b.rows,t=-b.column*n,v=-b.row*q;e&&45>=f&&(q-=1/k);n-=2/k;a=a.style;a.width=n+"px";a.height=q+"px";e||(d=(d-q)/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 "+v+"px/"+l+"px "+m+"px"}; g.VM=function(a){g.T.call(this,{D:"div",I:"ytp-storyboard-framepreview",L:[{D:"div",I:"ytp-storyboard-framepreview-img"}]});this.G=this.u["ytp-storyboard-framepreview-img"];this.w=a;this.xd=null;this.C=NaN;this.A=new g.Rs(this);g.H(this,this.A);this.B=new g.CL(this,100);g.H(this,this.B);this.M(this.w,"presentingplayerstatechange",this.H)}; WM=function(a,b){var c=!!a.xd;a.xd=b;a.xd?(c||(a.A.M(a.w,"videodatachange",function(){WM(a,a.w.ge())}),a.A.M(a.w,"progresssync",a.J),a.A.M(a.w,"appresize",a.F)),a.C=NaN,XM(a),a.B.show(200)):(c&&g.Ts(a.A),a.B.hide(),a.B.stop())}; XM=function(a){var b=a.w.getCurrentTime(),c=g.tK(a.w).getPlayerSize(),d=hA(a.xd,c.width);b=mA(a.xd,d,b);b!=a.C&&(a.C=b,kA(a.xd,b,c.width),b=iA(a.xd,b,c.width),UM(a.G,b,c.width,c.height))}; YM=function(a,b){g.T.call(this,{D:"button",X:["ytp-fullerscreen-edu-button","ytp-button"],L:[{D:"div",X:["ytp-fullerscreen-edu-text"],W:"Scroll for details"},{D:"div",X:["ytp-fullerscreen-edu-chevron"],L:[g.X?{D:"div",X:["ytp-icon","ytp-icon-chevron-down"]}:{D:"svg",N:{height:"100%",viewBox:"0 0 24 24",width:"100%"},L:[{D:"path",N:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});g.NK(a,this.element,this,61214);this.w=a;this.G=b;this.C=new g.CL(this,250,void 0,100); g.H(this,this.C);this.F=this.B=!1;this.M(a,"fullscreentoggled",this.A);this.M(a,"presentingplayerstatechange",this.A);this.ha("click",this.H);this.A()}; ZM=function(a,b,c,d){d=void 0===d?!1:d;g.Gu.call(this,b);this.Z=a;this.fa=d;this.K=null;this.J=new g.Rs(this);g.H(this,this.J);this.V=new g.CL(this,c,!0,void 0,null,(0,g.x)(this.tC,this));g.H(this,this.V);this.w=null}; $M=function(a){a.w&&(document.activeElement&&g.be(a.element,document.activeElement)&&(fe(a.w),a.w.focus()),a.w.removeAttribute("aria-expanded"),a.w=null);g.Ts(a.J);a.K=null}; aN=function(a){return a.Ia()&&4!=a.V.o}; g.cN=function(a,b){g.T.call(this,{D:"button",X:["ytp-fullscreen-button","ytp-button"],N:{title:"{{title}}"},W:"{{icon}}"});this.A=a;this.F=b;this.w=null;this.B=g.QM(b.Ya(),this.element);this.C=new g.J(this.QB,2E3,this);g.H(this,this.C);this.M(a,"fullscreentoggled",this.Hz);this.M(a,"presentingplayerstatechange",this.wx);this.ha("click",this.hG);if(as()){var c=g.tK(this.A);this.M(c,Hea(),this.py);this.M(c,es(document),this.iG)}a.O().aa||bN(this);this.wx();this.Hz(a.isFullscreen())}; bN=function(a){if(!a.w){var b=(null!=Uq(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"Full screen is unavailable. $BEGIN_LINKLearn More$END_LINK":"Your browser doesn't support full screen. $BEGIN_LINKLearn More$END_LINK").split(/\$(BEGIN|END)_LINK/);a.w=new ZM(a.A,{D:"div",X:["ytp-popup","ytp-generic-popup"],N:{role:"alert",tabindex:"0"},L:[b[0],{D:"a",N:{href:"https://support.google.com/youtube/answer/6276924",target:a.A.O().A},W:b[2]}, b[4]]},100,!0);a.w.hide();g.H(a,a.w);a.w.subscribe("show",(0,g.x)(a.F.zj,a.F,a.w));g.LK(a.A,a.w.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);(0,a.B)();a.B=null}}; dN=function(a,b){g.T.call(this,{D:"button",X:["ytp-miniplayer-button","ytp-button"],N:{title:"{{title}}","data-tooltip-target-id":"ytp-miniplayer-button"},L:[WL()]});this.w=a;this.A=!1;this.ha("click",this.C);this.M(a,"fullscreentoggled",this.B);this.updateValue("title",g.uM(a,"Miniplayer","i"));g.Di(this,g.QM(b.Ya(),this.element));g.NK(a,this.element,this,62946);this.B()}; eN=function(a){var b={D:"div",I:"ytp-multicam-menu",N:{role:"dialog"},L:[{D:"div",I:"ytp-multicam-menu-header",L:[{D:"div",I:"ytp-multicam-menu-title",L:["Switch camera",{D:"button",X:["ytp-multicam-menu-close","ytp-button"],N:{"aria-label":"Close"},L:[g.LL()]}]}]},{D:"div",I:"ytp-multicam-menu-items"}]};ZM.call(this,a,b,250);this.C=new g.Rs(this);g.H(this,this.C);this.M(this.u["ytp-multicam-menu-close"],"click",this.nb);this.A=a;this.Ea=this.u["ytp-multicam-menu-items"];this.B=[];this.hide()}; fN=function(a,b,c){g.T.call(this,{D:"button",X:["ytp-multicam-button","ytp-button"],N:{title:"Switch camera","aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},L:[g.X?{D:"div",X:["ytp-icon","ytp-icon-switch-camera"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,N:{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.F=a;this.B=!1;this.w=b.Ya();this.C=new g.J(this.H,400,this);g.H(this,this.C);this.ha("click",(0,g.x)(c.Be,c,this.element,!1));this.M(a,"presentingplayerstatechange",g.Qa(this.A,!1));this.M(a,"videodatachange",this.G);this.A(!0);g.Di(this,g.QM(this.w,this.element))}; gN=function(){g.E.call(this);this.B=null;this.A=this.o=0;this.w=new g.$m(this.u,null,this);g.H(this,this.w)}; hN=function(a,b){if("path"==b.D)return b.N.d;if(b.L)for(var c=0;cd?dM():cM(),d!=a.B&&(a.updateValue("icon",d),a.B=d);else{b=0==d?1:50a.ba)&&a.Un()}; GN=function(a){if(a.C){var b=a.w.getProgressState(),c=new AN(b.seekableStart,b.seekableEnd),d=CN(c,b.loaded,0);b=CN(c,b.current,0);var e=a.A.u!=c.u||a.A.o!=c.o;a.A=c;IN(a,b,d);e&&g.JN(a);KN(a)}}; EN=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.isValid();a.Xa=d&&b.allowLiveDvr;LN(a,a.w.sc());c&&(d?(c=b.clipEnd,a.fa=b.clipStart,a.ba=c,MN(a),IN(a,a.J,a.ga)):a.Un(),g.NN(a.na));GN(a)}; ON=function(a,b,c,d){b=g.pd(b,0,a.G?60:40);a.K=b;var e=a.Z,f=Math.max(a.A.getLength()/a.C,1);a.Z=b/(a.G?60:40)*(f-1)+1;b=a.C*a.Z;a.P=g.pd(d*b-c,0,b-a.C);e!=a.Z&&g.JN(a)}; g.JN=function(a){var b=PN(a),c=-b.w/b.o,d=(-b.w+b.width)/b.o,e=Saa(a.Fb),f=0;if(a.K>.2*(a.G?60:40)){var k=c*(a.A.getLength()/60),l=d*(a.A.getLength()/60);for(k=Math.ceil(k);k=f;c--)g.Yd(e[c]);a.element.style.height=a.K+(a.G?8:5)+"px";a.R("height-change",a.K);a.nd.style.height=a.K+(a.G?20:13)+"px";for(var q in a.V)QN(a,q);RN(a);MN(a);IN(a,a.J,a.ga)}; PN=function(a){var b=a.Na.x,c=a.C*a.Z;b=g.pd(b,0,a.C);a.Hb.update(b,a.C,-a.P,-(c-a.P-a.C));return a.Hb}; IN=function(a,b,c){a.J=b;a.ga=c;var d=PN(a),e=a.A.o,f=BN(a.A,a.J);a.update({ariamin:Math.floor(a.A.u),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.iM("$PLAY_PROGRESS of $DURATION",{PLAY_PROGRESS:g.yL(f,!0),DURATION:g.yL(e,!0)})});e=a.fa;f=a.ba;a.H&&2!=a.w.getPresentingPlayerType()&&(e=a.H.startTimeMs/1E3,f=a.H.endTimeMs/1E3);e=CN(a.A,e,0);var k=CN(a.A,f,1);f=g.pd(b,e,k);c=g.pd(c,e,k);g.eg(a.od,"transform","translateX("+(b*d.o+d.w)+"px)");SN(a,a.md,d,e,f);SN(a,a.kd,d,e,c)}; TN=function(a,b,c){b=Math.max(c*b.o+b.w,0);a.style.left=b+"px";return b}; SN=function(a,b,c,d,e,f){f=void 0===f?!1:f;TN(b,c,d);d=g.pd((e-d)*c.o+c.w,0,c.width);f||a.w.O().o?b.style.width=d+"px":g.eg(b,"transform","scalex("+(c.width?d/c.width:0)+")")}; MN=function(a){var b=!!a.H&&2!=a.w.getPresentingPlayerType(),c=a.fa,d=a.ba;b&&a.H&&(c=a.H.startTimeMs/1E3,d=a.H.endTimeMs/1E3);var e=c>a.A.u,f=0d&&(e=!0);break}}c.style.display=e?"none":""}}; KN=function(a){var b=PN(a);SN(a,a.Mb,b,a.J,b.u);g.L(a.Mb,"ytp-hover-progress-light",b.u>a.J)}; QN=function(a,b){var c=a.V[b],d=a.za[b],e=PN(a),f=CN(a.A,c.start/1E3,0),k=Dha(c,a.G),l=k/e.width;switch(c.style){case "ytp-chapter-marker":var m=f+l/2;f-=l/2;d.style.borderRadius=k+"px";break;default:m=CN(a.A,c.end/1E3,1),l!=Number.POSITIVE_INFINITY&&(f=g.pd(f,0,m-l)),m=Math.min(m,f+l)}c.color&&(d.style.background=c.color);SN(a,d,e,f,m,!0);(c=a.T[b])&&c.setAttribute("data-left",TN(c,e,f))}; UN=function(a,b){var c=b.getId();if(a.V[c]==b){g.Yd(a.za[c]);delete a.V[c];delete a.za[c];var d=a.T[c];d&&(g.Yd(d),delete a.T[c],c=a.ra,d=g.ob(c,b,g.CD),0<=d&&g.cb(c,d))}}; LN=function(a,b){b?a.F||(a.element.removeAttribute("aria-disabled"),a.F=new g.rL(a.Xb,!0),a.F.subscribe("hovermove",a.UJ,a),a.F.subscribe("hoverend",a.TJ,a),a.F.subscribe("dragstart",a.SJ,a),a.F.subscribe("dragmove",a.WJ,a),a.F.subscribe("dragend",a.VJ,a),a.Wb=a.ha("keydown",a.wG)):a.F&&(a.element.setAttribute("aria-disabled",!0),a.Wa(a.Wb),a.F.cancel(),a.F.dispose(),a.F=null)}; g.VN=function(a){var b=2*a.C*g.fu();return 1E3*a.A.getLength()/a.w.getPlaybackRate()/b}; g.WN=function(a,b){var c=g.Ju({role:"menuitemcheckbox","aria-checked":"false"});g.Iu.call(this,c,b,a,{D:"div",I:"ytp-menuitem-toggle-checkbox"});this.A=!1;this.ha("click",this.K)}; g.XN=function(a,b){a.A=b;a.element.setAttribute("aria-checked",a.A)}; YN=function(a,b){g.WN.call(this,"Annotations",5);this.C=b;this.B=a;this.w=!1;this.M(a,"videodatachange",this.F);this.M(a,"onApiChange",this.F);this.subscribe("select",this.G,this);this.F()}; ZN=function(a){a=g.zK(g.nK(a.B));return!!a&&a.loaded}; $N=function(a,b,c,d,e){var f={D:"div",I:"ytp-panel"};if(c){var k="ytp-panel-title";var l={D:"div",I:"ytp-panel-header",L:[{D:"button",X:["ytp-button",k],L:[c]}]};if(e){var m="ytp-panel-options";l.L.unshift({D:"button",X:["ytp-button",m],L:[d]})}f.L=[l]}g.Gu.call(this,f);this.Z=b;b.o(this.element);this.ga=!1;c&&(this.M(this.u[k],"click",this.ra),this.ga=!0,e&&this.M(this.u[m],"click",e));b.subscribe("size-change",this.na,this);this.M(a,"fullscreentoggled",this.na)}; g.aO=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.Gu({D:"div",I:"ytp-panel-menu",N:f});$N.call(this,a,b,c,d,e);this.G=b;g.H(this,this.G);this.Ea=[]}; g.bO=function(a,b,c){if(void 0===c?0:c)a.Ea.push(b),a.G.element.appendChild(b.element);else{c=g.ob(a.Ea,b,Sja);if(0<=c)return;c=~c;g.kb(a.Ea,c,0,b);g.Vd(a.G.element,b.element,c)}b.subscribe("size-change",a.ba,a);a.G.R("size-change")}; g.cO=function(a,b){b.unsubscribe("size-change",a.ba,a);a.ia()||(g.db(a.Ea,b),a.G.element.removeChild(b.element),a.G.R("size-change"))}; g.dO=function(a){for(var b=g.p(a.Ea),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.ba,a);a.Ea=[];g.Ud(a.G.element);a.G.R("size-change")}; Sja=function(a,b){return b.priority-a.priority}; g.eO=function(a,b,c,d,e,f){var k=g.Ju({"aria-haspopup":"true"});g.Iu.call(this,k,b,a);this.A=d;this.J=!1;this.G=null;this.B={};this.H=new g.aO(c,void 0,a,e,f);g.H(this,this.H);this.ha("keydown",this.AG);this.ha("click",this.open)}; fO=function(a){if(a.G){var b=a.B[a.G];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked");a.G=null}}; g.gO=function(a,b){g.dO(a.H);for(var c={},d=!1,e=0;e=a.C.Ea.length&&a.hide();g.cO(a.C,b);tO(a.H,a.C.Ea.length)}; Uja=function(a,b){a.H=b;a.element.id=b.element.getAttribute("aria-owns")}; QO=function(a,b,c){g.T.call(this,{D:"button",I:"ytp-button",N:{title:"Play on TV","aria-haspopup":"true"},W:"{{icon}}"});this.w=a;this.C=c;this.B=null;this.M(a,"onMdxReceiversChange",this.A);this.M(a,"presentingplayerstatechange",this.A);this.M(a,"appresize",this.A);this.A();this.ha("click",this.F,this);g.Di(this,g.QM(b.Ya(),this.element))}; RO=function(a,b){g.T.call(this,{D:"button",X:["ytp-size-button","ytp-button"],N:{title:"{{title}}"},W:"{{icon}}"});this.w=a;this.C=b.Ya();this.B=null;this.F=new gN;g.H(this,this.F);this.M(a,"sizestylechange",this.A);this.M(a,"fullscreentoggled",this.A);this.M(a,"presentingplayerstatechange",this.A);this.A();this.ha("click",this.G);g.Di(this,g.QM(this.C,this.element))}; SO=function(a,b){g.T.call(this,{D:"button",X:["ytp-subtitles-button","ytp-button"],N:{"aria-pressed":"{{pressed}}",title:g.uM(a,"Subtitles/closed captions","c")},L:[ML()]});this.A=a;this.M(a,"videodatachange",this.w);this.M(a,"appresize",this.w);this.M(a,"onApiChange",this.w);this.M(a,"onCaptionsTrackListChanged",this.w);this.M(a,"captionschanged",this.w);this.w();this.ha("click",this.B);g.Di(this,g.QM(b.Ya(),this.element))}; g.UO=function(a,b){g.T.call(this,{D:"div",X:["ytp-time-display","notranslate"],L:[{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.T({D:"button",X:["ytp-live-badge","ytp-button"],N:{disabled:"true"},W:"{{content}}"});this.A.ob("Live");g.H(this,this.A);this.A.o(this.element);this.C=a;this.P=b.Ya();this.B=null;this.F=!1;this.J=null;this.K=!1;this.H=this.G=null;this.ha("click",this.T);this.M(a, "presentingplayerstatechange",this.w);this.M(a,"appresize",this.w);this.M(a,"videodatachange",this.V);var c=a.getVideoData();c&&TO(this,c);this.w()}; TO=function(a,b){a.F=b.sa;a.K=b.isPremiere;g.L(a.element,"ytp-live",a.F)}; WO=function(a,b,c){g.T.call(this,{D:"div",I:"ytp-volume-panel",N:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},L:[{D:"div",I:"ytp-volume-slider",L:[{D:"div",I:"ytp-volume-slider-handle"}]}]});this.w=a;this.G=b;this.T=c;this.K=!1;this.H=b.fc();this.aa=this.C=0;this.V=this.u["ytp-volume-slider"];this.Z=this.u["ytp-volume-slider-handle"];this.J=new g.rL(this.V,!0);g.H(this,this.J);this.J.subscribe("dragstart",this.JK, this);this.J.subscribe("dragmove",this.IK,this);this.J.subscribe("dragend",this.GK,this);this.P=null;this.A=this.B=this.F=!1;this.M(a,"onVolumeChange",this.PG);this.M(a,"appresize",this.hc);this.M(a,"fullscreentoggled",this.NG);this.M(a,"onShowControls",this.vu);this.M(a,"onHideControls",this.vu);this.M(this.element,"keydown",this.LK);this.M(this.element,"focus",g.Qa(this.Kx,!0));this.M(this.element,"blur",g.Qa(this.Kx,!1));this.hc(g.tK(a).getPlayerSize());VO(this,a.getVolume(),a.isMuted())}; VO=function(a,b,c){var d=Math.floor(b),e=d+"% volume"+(c?" muted":"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.Z.style.left=(a.H?60:40)*c+"px";a.C=b}; XO=function(a,b,c,d,e){var f=a.B||a.F||a.A||a.K;a.B=b;a.F=c;a.A=d;a.K=e;b=a.B||a.F||a.A||a.K;f!=b&&(b?a.P=a.M(a.element,"wheel",a.OG):(a.Wa(a.P),a.P=null),g.L(a.T,"ytp-volume-slider-active",b))}; g.YO=function(a,b){var c=a.O(),d=g.fz(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"],f=g.Vy(c);f&&e.push("ytp-youtube-music-button");g.T.call(this,{D:"a",X:e,N:{href:"{{url}}",target:c.A,title:g.iM("Watch on $WEBSITE",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},L:[f?g.X?{D:"div",X:["ytp-icon","ytp-icon-youtube-music-logo"]}:{D:"svg",N:{viewBox:"0 0 77 20"},L:[{D:"g",N:{fill:"none"},L:[{D:"path",N:{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",N:{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",N:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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.w=a;this.A=!1;g.NK(a,this.element,this,28666);this.ha("click",this.C);this.M(a,"videodatachange",this.B);this.B();g.Di(this,g.QM(b.Ya(),this.element))}; ZO=function(a,b,c){g.Rs.call(this);var d=this,e=a.O();this.w=a;this.A=b;this.oa=NaN;this.fa=null;this.P=c;this.P.subscribe("autohideupdate",this.Gx,this);c=!g.sK(a).isCued();var f;g.Vy(e)||g.P(a.O().experiments,"html5_player_dynamic_bottom_gradient")?this.ga=f=new g.TM(a):f=new g.T({D:"div",I:"ytp-gradient-bottom"});g.H(this,f);g.LK(a,f.element,8);this.V=new g.CL(f,250,c,100);g.H(this,this.V);this.u=new g.T({D:"div",I:"ytp-chrome-bottom",L:[{D:"div",I:"ytp-chrome-controls"}]});g.H(this,this.u);g.LK(a, this.u.element,8);this.T=new g.CL(this.u,250,c,100);g.H(this,this.T);this.aa=this.u.element.children[0];this.o=new MO(a);g.Di(this.o,function(){a.J==d.o&&(a.J=null)}); g.H(this,this.o);a.J=this.o;g.LK(a,this.o.element,6);this.o.subscribe("show",this.GM,this);this.o.subscribe("show",(0,g.x)(b.os,b,this.o));this.F=new g.FN(a,b);g.H(this,this.F);this.F.o(this.u.element,0);c=new g.VM(a);g.H(this,c);g.LK(a,c.element,4);c=new g.Au({D:"div",I:"ytp-left-controls"});g.H(this,c);c.o(this.aa);f=new g.wN(a,b,!1);g.H(this,f);f.o(c.element);e.H||(f=new g.tN(a,b),g.H(this,f),f.o(c.element));f=new g.wN(a,b,!0);g.H(this,f);f.o(c.element);var k=new g.T({D:"span"});g.H(this,k);k.o(c.element); if(!e.oa&&(this.C=new nN(a,b),g.H(this,this.C),this.C.o(k.element),e.J)){f=new WO(a,b,this.u.element);g.H(this,f);f.o(k.element);k=new g.rL(k.element);g.H(this,k);var l=(0,g.x)(f.Iz,f,!0);k.subscribe("hoverstart",l);k=new g.rL(c.element);g.H(this,k);f=(0,g.x)(f.Iz,f,!1);k.subscribe("hoverend",f)}this.Z=new g.UO(a,b);g.H(this,this.Z);this.Z.o(c.element);c=new g.Au({D:"div",I:"ytp-right-controls"});g.H(this,c);c.o(this.aa);this.K=null;g.P(e.experiments,"external_fullscreen_with_edu")&&e.externalFullscreen&& hz(e)&&(this.K=new YM(a,b),g.H(this,this.K),this.K.o(c.element));f=new SO(a,b);g.H(this,f);f.o(c.element);f=new sO(a,b,this.o);g.H(this,f);Uja(this.o,f);f.o(c.element);f=new eN(a);g.H(this,f);g.LK(a,f.element,5);f.subscribe("show",(0,g.x)(b.Zg,b,f));f=new fN(a,b,f);g.H(this,f);f.o(c.element);f=a.getVideoData();if(e.rf||f.gc&&"1"==e.controlsType)this.G=new g.YO(a,b),g.H(this,this.G),this.G.o(c.element);e.showMiniplayerButton&&!g.P(a.O().experiments,"web_player_pip")&&(this.B=new dN(a,b),g.H(this,this.B), this.B.o(c.element));this.U=new rN(a,b);g.H(this,this.U);this.U.o(c.element);f.qs||this.U.hide();e.Mb||(f=new RO(a,b),g.H(this,f),f.o(c.element));e.Fb&&(f=new QO(a,b,this.o),g.H(this,f),f.o(c.element));e.nf&&(e=new RM(a,b),g.H(this,e),e.o(c.element));this.ba=new g.cN(a,b);g.H(this,this.ba);this.ba.o(c.element);this.H=new g.$m(this.JG,null,this);g.H(this,this.H);this.J=null;this.M(a,"appresize",this.Ra);this.M(a,"fullscreentoggled",this.Ra);this.M(a,"presentingplayerstatechange",this.rr);this.M(a, "videodatachange",this.KG);this.Ra()}; $O=function(a,b){g.sK(a.w).isCued()||b?b&&(a.T.hide(),a.V.hide(),a.C&&a.C.Za(!1),a.G&&a.G.Za(!1),a.B&&a.B.Za(!1),a.A.Ya().Fe(a.u.element)):b||(a.T.show(),a.V.show(),a.C&&a.C.Za(!0),a.G&&a.G.Za(!0),a.B&&a.B.Za(!0),a.Gx())}; bP=function(a){var b=g.tK(a.w).getPlayerSize().width;return Math.max(b-2*aP(a),100)}; aP=function(a){var b=a.A.fc();return 12*(a.w.getVideoData().gc?0:b?2:1)}; dP=function(a){var b=g.Ct(a.O().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"));ZM.call(this,a,{D:"button",X:["ytp-unmute","ytp-popup","ytp-button"].concat(c),L:[{D:"div",I:"ytp-unmute-inner",L:[{D:"div",X:["ytp-unmute-icon"],L:[g.X?{D:"div",X:["ytp-icon","ytp-icon-volume-muted-dark"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36", width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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:"Tap to unmute"}].concat(d)}]},100);this.A=a;this.B=this.C=!1;g.NK(this.A,this.element,this,51663);this.M(a,"onMutedAutoplayChange",this.F,this);this.M(a,"presentingplayerstatechange",this.G);this.ha("click",this.onClick,this);a=a.isMutedByMutedAutoplay();g.Fu(this,a);a&&cP(this)}; eP=function(a){a.C||(a.C=!0,g.QK(a.A,a.element))}; cP=function(a){a.B||(a.B=!0,g.RK(a.A,a.element,!0))}; g.fP=function(a){g.Rs.call(this);var b=a.O(),c=g.tK(a);this.api=a;this.kc=!1;this.G=null;this.Xb=!1;this.Mb=new g.J(this.SH,0,this);g.H(this,this.Mb);g.Vy(b)||(this.T=new hM(a),g.H(this,this.T),g.LK(a,this.T.element,4));var d=Ip()&&67<=Gp(),e=Hp("tizen"),f=g.P(this.api.O().experiments,"mweb_enable_custom_control");if(!(e||Ky||d||f)){var k=new PM(a);g.H(this,k);k=k.element;g.LK(a,k,4)}d=a.getVideoData();this.u=new AL(c,(0,g.x)(this.XF,this),d,b.kd);g.H(this,this.u);this.u.subscribe("autohideupdate", this.Dk,this);e=new LM(a);g.H(this,e);g.LK(a,e.element,4);this.Ca=new dP(a);g.H(this,this.Ca);g.LK(this.api,this.Ca.element,2);this.Zb=this.api.isMutedByMutedAutoplay();this.M(a,"onMutedAutoplayChange",this.YF);this.za=new g.J(this.zn,200,this);g.H(this,this.za);this.Xa=d.videoId;this.A=null;this.Fb=!1;this.Hb=null;this.Ha=[];d=a.getRootNode();d.setAttribute("aria-label","YouTube Video Player");switch(b.color){case "white":g.K(d,"ytp-color-white")}g.Vy(b)&&g.K(d,"ytp-music-player");!g.P(a.O().experiments, "disable_mediasession2")&&navigator.mediaSession&&!navigator.mediaSession.metadata&&navigator.mediaSession.setActionHandler&&(d=new KM(a),g.H(this,d));this.M(a,"appresize",this.Gi);this.M(a,"presentingplayerstatechange",this.PJ);this.M(a,"videodatachange",this.sx);this.M(a,"videoplayerreset",this.MJ);this.M(a,"autonavvisibility",this.Tf,this);this.M(a,"sizestylechange",this.Tf,this);g.P(a.O().experiments,"player_minimized_controls_killswitch")&&this.M(a,"minimized",this.Hd,this);this.M(a,"onFrescaStateChange", this.Hd,this);this.M(c,"click",this.pK,this);this.M(c,"dblclick",this.qK,this);b.aa&&(this.M(c,"gesturechange",this.rK,this),this.M(c,"gestureend",this.sK,this));this.P=[c.B];this.T&&this.P.push(this.T.element);k&&this.P.push(k)}; gP=function(a){return g.P(a.api.O().experiments,"player_minimized_controls_killswitch")?a.api.app.H.o:!1}; hP=function(a,b){if(!b)return!1;var c=a.api.app.B;if(c.zg()&&(c=c.fb())&&g.be(c,b))return c.controls;for(c=0;c1+b&&a.api.toggleFullscreen()}; g.nP=function(a){g.O.call(this);this.player=a;this.loaded=!1}; g.oP=function(a,b){return Ds(a.info.mimeType)?b?vs(a.info)==b:!0:!1}; g.pP=function(a,b){if(null!=a.ka&&g.pz(b.O())&&!a.ka.u&&null!=a.ka.o.rawcc)return!0;if(!a.Se())return!1;var c=!!a.ka&&a.ka.u&&Object.values(a.ka.o).some(function(e){return g.oP(e,"386")}),d=!!a.ka&&!a.ka.u&&yfa(a.ka); return c||d}; qP=function(a,b){g.E.call(this);this.F=b;this.u=new Map;this.w={};this.A={};this.C=null;this.o=a;this.B=g.P(a.O().experiments,"web_player_defer_modules")}; g.rP=function(a){return a.u.get("captions")}; Xja=function(a,b){switch(b){case "ad":return sP(a);case "annotations_module":var c=a.o.O(),d=a.o.getVideoData();return d.lw||"3"==c.controlsType?!1:c.G.isEmpty()&&"annotation-editor"!=c.playerStyle&&"live-dashboard"!=c.playerStyle?g.P(c.experiments,"disable_new_iv_module_create_logic")?d.Om:!!d.Id:!0;case "attribution":return c=a.o.O(),g.P(c.experiments,"web_player_show_music_in_this_video")&&"desktop-polymer"==c.playerStyle;case "creatorendscreen":return c=a.o.O(),"3"==c.controlsType?c=!1:"creator-endscreen-editor"== c.playerStyle?c=!0:(c=a.o.getVideoData(),c=!!c&&(!!g.AC(c)||!!g.BC(c))),c;case "embed":return TC(a);case "endscreen":return g.tP(a);case "fresca":return a.o.getVideoData().om;case "heartbeat":return a.o.getVideoData().ql;case "kids":return bz(a.o.O());case "remote":return a.o.O().Fb;case "miniplayer":return a.o.O().showMiniplayerUiWhenMinimized;case "music":return g.Vy(a.o.O());case "captions":return"lb3"==a.o.O().playerStyle?c=!1:(c=a.o.getVideoData(),c=!!c.qj||!!c.captionTracks.length||g.pP(c,a.o)), c;case "unplugged":return g.az(a.o.O());case "ux":return a.o.O().ga;case "visualizer":return g.uP(a);case "webgl":return Wja(a);case "ypc":return a.Tk();case "ypc_clickwrap":return c=a.o.getVideoData(),c.ej&&!c.oq;case "yto":return!!a.o.getVideoData().Fc.includes("yto");default:return g.N(Error("Module descriptor "+b+" does not match")),!1}}; vP=function(a){a.B&&(a.Sc("endscreen"),a.pp(),a.Sc("creatorendscreen",void 0,!0))}; g.tP=function(a){var b=a.o.O();if(g.uz(b)||b.Qb||!b.Ca&&!b.Ha)return!1;var c=a.o.getPresentingPlayerType();if(2==c)return!1;if(3==c)return g.P(b.experiments,"desktop_enable_autoplay");a=a.o.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||g.P(b.experiments,"allow_poltergust_autoplay");return!(a.sa&&(!g.P(b.experiments,"allow_live_autoplay")||!c))}; g.yK=function(a){return a.u.get("webgl")}; Wja=function(a){var b=a.o.getVideoData(),c=a.o.O().experiments,d=g.Op(),e=g.P(c,"enable_spherical_kabuki");a=g.sz(a.o.O());if(b.Hf())return d||e||a||g.P(c,"html5_enable_spherical");if(b.Lf())return a||d||e||g.P(c,"html5_enable_spherical");if(b.Mf())return a||d||g.P(c,"html5_enable_spherical3d");if(b.ni())return a||g.P(c,"html5_enable_anaglyph3d")||!1;d=b.Aa&&b.Aa.video&&rs(b.Aa.video);return a&&!g.lC(b)&&!b.isVisualizerEligible&&!d&&(g.P(c,"enable_webgl_noop")||g.P(c,"html5_enable_bicubicsharp")|| g.P(c,"html5_enable_smartsharp"))}; TC=function(a){return g.P(a.o.O().experiments,"embeds_enable_embed_module")?My(a.o.O()):!1}; wP=function(a){g.P(a.o.O().experiments,"web_player_ux_module_wait")&&a.u.get("ux")&&g.IK(a.o,"ux")}; Yja=function(a){wP(a);a.Sc("ux",void 0,!0)}; sP=function(a){if(a=a.o.getVideoData(1).getPlayerResponse())if(a=a.adPlacements)for(var b=0;bMath.random()){var v=Error("Unable to load player module");v.params=b+".js from "+d+" on "+(document.location&&document.location.origin)+".";g.N(v)}Ck(q);t&&t()},k.onerror); k.onreadystatechange=g.Qa(function(t){switch(k.readyState){case "loaded":case "complete":Ck(n,this)}t&&t()},k.onreadystatechange); f&&((e=a.o.O().eb)&&k.setAttribute("nonce",e),Yc(k,tf(d)),e=document.getElementsByTagName("HEAD")[0]||document.body,e.insertBefore(k,e.firstChild),g.Di(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.CP[b]=null;"annotations_module"==b&&(g.CP.creatorendscreen=null)}))}}; EP=function(a,b){g.Gu.call(this,{D:"div",I:"ytp-ad-persistent-progress-bar-container",L:[{D:"div",I:"ytp-ad-persistent-progress-bar"}]});this.B=a;this.A=b;g.H(this,this.A);this.G=this.u["ytp-ad-persistent-progress-bar"];this.w=-1;this.M(a,"presentingplayerstatechange",this.F);this.hide();this.F()}; FP=function(a,b){b=void 0===b?2:b;g.O.call(this);this.o=a;this.u=new g.Rs(this);g.H(this,this.u);this.B=Zja;this.w=null;this.u.M(this.o,"presentingplayerstatechange",this.UG);this.w=this.u.M(this.o,"progresssync",this.Nx);this.A=b;1===this.A&&this.Nx()}; GP=function(a){g.T.call(this,{D:"button",X:["ytp-button","ytp-back-button"],L:[{D:"div",I:"ytp-arrow-back-icon",L:[g.X?{D:"div",X:["ytp-icon","ytp-icon-arrow-back"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 -12 36 36",width:"100%"},L:[{D:"path",N:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",Ja:!0,N:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",fill:"#fff"}}]}]}]});this.w=a;g.Fu(this,a.O().showBackButton);this.ha("click",this.A)}; g.HP=function(a){g.T.call(this,{D:"div",L:[{D:"div",I:"ytp-bezel-text-wrapper",L:[{D:"div",I:"ytp-bezel-text",W:"{{title}}"}]},{D:"div",I:"ytp-bezel",N:{role:"status","aria-label":"{{label}}"},L:[{D:"div",I:"ytp-bezel-icon",W:"{{icon}}"}]}]});this.B=new g.J(this.show,10,this);g.H(this,this.B);this.w=new g.J(this.hide,500,this);g.H(this,this.w);this.A=a;this.hide()}; JP=function(a,b){if(b)g.R(g.sK(a.A),64)||IP(a,XL(),"Play");else{var c=a.A.getVideoData();c.sa&&!c.allowLiveDvr?IP(a,bM(),"Stop live playback"):IP(a,VL(),"Pause")}}; KP=function(a,b,c){if(0>=b){c=eM();b="muted";var d=0}else c=c?dM():cM(),d=Math.floor(b),b=d+"volume";IP(a,c,b,d+"%")}; LP=function(a,b){var c=b?g.X?{D:"div",X:["ytp-icon","ytp-icon-fast-rewind"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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.A.getPlaybackRate(), e=g.iM("Speed is $RATE",{RATE:String(d)});IP(a,c,e,d+"x")}; IP=function(a,b,c,d){d=void 0===d?"":d;a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.en(a.w);a.B.start();a.updateValue("title",d);g.L(a.element,"ytp-bezel-text-hide",!d)}; NP=function(a,b,c){g.T.call(this,{D:"button",X:["ytp-button","ytp-cards-button"],N:{"aria-label":"Show cards","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(My(a.O()))},L:[{D:"span",I:"ytp-cards-button-icon-default",L:[{D:"div",I:"ytp-cards-button-icon",L:[g.X?{D:"div",X:["ytp-icon","ytp-icon-info-card"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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:"Info"}]},{D:"span",I:"ytp-cards-button-icon-shopping",L:[{D:"div",I:"ytp-cards-button-icon",L:[g.X?{D:"div",X:["ytp-icon","ytp-icon-shopping-card"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",I:"ytp-svg-shadow",N:{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",N:{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",N:{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.A=a;this.C=b;this.w=null;this.B=new g.CL(this,250,!0,100);g.H(this,this.B);g.L(c,"ytp-show-cards-title",My(a.O()));this.hide();this.ha("click",this.F);this.ha("mouseover",this.G);MP(this,!0)}; MP=function(a,b){b?a.w=g.QM(a.C.Ya(),a.element):(a.w(),a.w=null)}; OP=function(a,b,c){g.T.call(this,{D:"div",I:"ytp-cards-teaser",L:[{D:"div",I:"ytp-cards-teaser-box"},{D:"div",I:"ytp-cards-teaser-text",L:[{D:"span",I:"ytp-cards-teaser-label",W:"{{text}}"}]}]});var d=this;this.A=a;this.T=b;this.G=new g.CL(this,250,!1,250);g.H(this,this.G);this.F=c;this.w=null;this.K=new g.J(this.sJ,300,this);g.H(this,this.K);this.J=new g.J(this.pJ,2E3,this);g.H(this,this.J);this.H=[];this.B=null;this.P=new g.J(function(){d.element.style.margin=0},250); g.H(this,this.P);this.C=null;this.M(c.element,"mouseover",this.uy);this.M(c.element,"mouseout",this.ty);this.M(a,"cardsteasershow",this.QK);this.M(a,"cardsteaserhide",this.yk);this.M(a,"cardstatechange",this.oA);this.M(a,"presentingplayerstatechange",this.oA);this.M(a,"appresize",this.jr);this.M(a,"onShowControls",this.jr);this.M(a,"onHideControls",this.RB);this.ha("click",this.tM);this.ha("mouseenter",this.ZF)}; $ja=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.sn(b.teaserText));a.G.show();a.B=new g.J(function(){g.K(this.A.getRootNode(),"ytp-cards-teaser-shown");this.jr()},0,a); a.B.start();MP(a.F,!1);a.w=new g.J(a.yk,580+b.durationMs,a);a.w.start();a.H.push(a.ha("mouseover",a.uy,a));a.H.push(a.ha("mouseout",a.ty,a))}; PP=function(a){var b=g.Ju({"aria-haspopup":"true"});g.Iu.call(this,b,a);this.ha("keydown",this.w)}; QP=function(a,b){a.element.setAttribute("aria-haspopup",b)}; RP=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.Lf("/sharing_services",a);g.Wp(d)}; UP=function(a,b,c,d){g.aO.call(this,a);this.w=a;this.P=c;this.T=d;this.C=new PP(8);g.H(this,this.C);g.bO(this,this.C,!0);this.C.ha("click",this.GI,this);g.NK(a,this.C.element,this.C,28659);this.B=new PP(7);g.H(this,this.B);g.bO(this,this.B,!0);this.B.ha("click",this.FI,this);g.NK(a,this.B.element,this.B,28660);this.A=new PP(6);g.H(this,this.A);g.bO(this,this.A,!0);this.A.ha("click",this.DI,this);g.NK(a,this.A.element,this.A,28658);this.F=new g.WN("Loop",5);g.H(this,this.F);g.bO(this,this.F,!0);this.F.ha("click", this.aJ,this);g.NK(a,this.F.element,this.F,28661);this.V=new g.Iu(g.Ju({href:"{{href}}",target:a.O().A},void 0,!0),4,"Troubleshoot playback issue");g.H(this,this.V);g.bO(this,this.V,!0);this.V.ha("click",this.iK,this);this.K=new PP(3);g.H(this,this.K);g.bO(this,this.K,!0);this.K.ha("click",this.CI,this);b=new g.Iu(g.Ju(),2,"Stats for nerds");g.H(this,b);g.bO(this,b,!0);b.ha("click",this.EK,this);this.J=new g.Gu({D:"div",X:["ytp-copytext","ytp-no-contextmenu"],N:{draggable:"false",tabindex:"1"},W:"{{text}}"}); g.H(this,this.J);this.J.ha("click",this.oI,this);this.fa=new $N(a,this.J);g.H(this,this.fa);this.H=null;b=document.queryCommandSupported&&document.queryCommandSupported("copy");g.Hs&&g.nd(43)&&(b=!0);g.Cx&&!g.nd(41)&&(b=!1);b&&(this.H=new g.T({D:"textarea",I:"ytp-html5-clipboard",N:{readonly:""}}),g.H(this,this.H),this.H.o(this.element));this.M(a,"loopchange",this.ry);this.M(a,"videodatachange",this.dG);SP(this);TP(this,this.w.getVideoData())}; VP=function(a,b){if(a.H){var c=a.H.element;c.value=b;c.select();try{var d=document.execCommand("copy")}catch(e){}}d?a.P.nb():(a.J.ob(b,"text"),g.nO(a.P,a.fa),tM(a.J.element),a.H&&(a.H=null,SP(a)));return d}; TP=function(a,b){var c=a.w.O(),d=2==a.w.getPresentingPlayerType(),e=!d||b.isListed;e=!c.F&&!!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=vs(b.Aa)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.ne&&(c.partnerid=b.ne),c=g.Lf("//support.google.com/googleplay/",c));g.Fu(a.A,e&&b.allowEmbed);g.Fu(a.C,e);g.Fu(a.B,e&&!b.sa);a.V.ob(c,"href");g.Fu(a.F, !b.sa&&!d)}; SP=function(a){var b=!!a.H;g.Hu(a.K,b?"Copy debug info":"Get debug info");QP(a.K,!b);g.Hu(a.A,b?"Copy embed code":"Get embed code");QP(a.A,!b);g.Hu(a.C,b?"Copy video URL":"Get video URL");QP(a.C,!b);g.Hu(a.B,b?"Copy video URL at current time":"Get video URL at current time");QP(a.B,!b)}; XP=function(a,b,c){g.jO.call(this,a);this.A=a;this.ga=b;this.ba=c;this.H=new g.Rs(this);g.H(this,this.H);this.C=null;g.NK(a,this.element,this,28656);g.K(this.element,"ytp-contextmenu");WP(this);this.hide()}; WP=function(a){g.Ts(a.H);"gvn"!=a.A.O().playerStyle&&a.H.M(g.tK(a.A),"contextmenu",a.nI)}; YP=function(a){a.A.isFullscreen()?g.LK(a.A,a.element,9):a.o(document.body)}; ZP=function(a,b,c,d,e,f){g.Rs.call(this);this.o=a;this.G=c;this.C=d;this.u=e;this.F=f;this.B=new g.J(g.Qa(this.xx,!1),1E3,this);g.H(this,this.B);this.w="";this.A=g.P(this.o.O().experiments,"migrate_player_shortcuts_to_global_killswitch");a=g.Qa(this.gs,!1);this.M(b,"mousedown",a);this.M(c.element,"mousedown",a);this.M(b,"keydown",this.Pv);this.M(c.element,"keydown",this.Pv);this.M(b,"keyup",this.Qv);this.M(c.element,"keyup",this.Qv)}; $P=function(a,b,c,d){var e=g.rP(g.nK(a.o));if(e&&e.loaded){e=a.o.getSubtitlesUserSettings();for(var f,k=0;ke;e++){var f=new g.T({D:"a",I:"ytp-suggestion-link",N:{href:"{{link}}",target:c.A,"aria-label":"{{aria_label}}"},L:[{D:"div",I:"ytp-suggestion-image"},{D:"div", I:"ytp-suggestion-overlay",N:d,L:[{D:"div",I:"ytp-suggestion-title",W:"{{title}}"},{D:"div",I:"ytp-suggestion-author",W:"{{author_and_views}}"},{D:"div",N:{"data-is-live":"{{is_live}}"},I:"ytp-suggestion-duration",W:"{{duration}}"}]}]});g.H(this,f);f.o(this.H.element);var k=f.u["ytp-suggestion-link"];g.eg(k,"transitionDelay",e/20+"s");this.B.M(k,"click",g.Qa(this.oG,e));this.F.push(f)}this.K=new g.T({D:"button",X:["ytp-button","ytp-next"],N:{"aria-label":"Show more suggested videos"},L:[g.HL()]}); g.H(this,this.K);this.K.o(this.element);this.K.ha("click",this.mG,this);c=new g.T({D:"button",X:["ytp-button","ytp-collapse"],N:{"aria-label":"Close"},L:[g.X?{D:"div",X:["ytp-icon","ytp-icon-small-close"]}:{D:"svg",N:{height:"100%",viewBox:"0 0 16 16",width:"100%"},L:[{D:"path",N:{d:"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z",fill:"#fff"}}]}]});g.H(this,c);c.o(this.element);c.ha("click",this.hI,this);this.J=new g.T({D:"button",X:["ytp-button","ytp-expand"],W:"More videos"});g.H(this, this.J);this.J.o(this.element);this.J.ha("click",this.iI,this);this.B.M(this.w,"appresize",this.Ra);this.B.M(this.w,"fullscreentoggled",this.pG);this.B.M(this.w,"presentingplayerstatechange",this.qG);this.B.M(this.w,"videodatachange",this.rG);this.Ra(g.tK(this.w).getPlayerSize())}; hQ=function(a,b){var c=g.pd(b,a.G-a.A.length*(a.aa+8),0);a.ga.start(a.C,c,1E3);a.C=c;gQ(a)}; gQ=function(a){var b=a.ba.fc();b=a.na/2+(b?32:16);a.K.element.style.bottom=b+"px";a.P.element.style.bottom=b+"px";b=a.C;var c=a.G-a.A.length*(a.aa+8);g.L(a.element,"ytp-scroll-min",0<=b);g.L(a.element,"ytp-scroll-max",b<=c)}; aka=function(a){for(var b=0;bb||b==a.F)){a.F=b;var c=160*a.C,d=160*a.C,e=iA(a.B,a.F,c);UM(a.J,e,c,d,!0);a.fa.start()}}; eka=function(a,b,c){MQ("add_to_watch_later_list",a,b,c)}; fka=function(a,b,c){MQ("delete_from_watch_later_list",a,b,c)}; MQ=function(a,b,c,d){g.Bp(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",ud:{feature:b.feature||null,authuser:b.Hc||null,pageid:b.pageId||null},wb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.ZQ||null,add_to_playlists:b.HQ||null,plid:g.ro("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(e,f){b.onSuccess.call(this,e,f)}, cd:b.cd,withCredentials:!!d})}; g.PQ=function(a,b,c){g.T.call(this,{D:"button",X:["ytp-watch-later-button","ytp-button"],N:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(My(a.O()))},L:[{D:"div",I:"ytp-watch-later-icon",W:"{{icon}}"},{D:"div",I:"ytp-watch-later-title",W:"Watch later"}]});this.w=a;this.J=b;this.F=b.Ya();yQ(this.F);this.G=null;this.C=this.B=this.A=!1;g.NK(a,this.element,this,28665);this.ha("click",this.QG,this);this.M(a,"videoplayerreset",this.SG);this.M(a,"appresize",this.hc);this.M(a, "videodatachange",this.hc);this.hc();a=this.w.O();var d=g.cy("yt-player-watch-later-pending");a.u&&d?(iy(),NQ(this,d.videoId)):OQ(this,2);g.L(c,"ytp-show-watch-later-title",My(a));g.Di(this,g.QM(b.Ya(),this.element))}; QQ=function(a,b){cka(function(){iy({videoId:b});window.location.reload()},ez(a.w.O()))}; NQ=function(a,b){if(!a.B){a.B=!0;OQ(a,3);var c=a.w.O();(a.A?fka:eka)({videoIds:b,Hc:c.Hc,pageId:c.pageId,onError:a.lL,onSuccess:a.A?a.mL:a.kL,context:a},c.B,!0)}}; RQ=function(a,b){OQ(a,4,b);a.w.O().zb&&a.w.la("WATCH_LATER_ERROR",b)}; OQ=function(a,b,c){var d=a.w.O(),e=a.J.ug()&&g.P(d.experiments,"embeds_enable_new_smallmode")&&My(d);if(b!=a.G){switch(b){case 3:var f=sM();break;case 1:f=FL();break;case 2:f=d.C&&e?{D:"div",X:["ytp-icon","ytp-icon-watch-later-large"]}:g.X?{D:"div",X:["ytp-icon","ytp-icon-watch-later"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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 4:f=g.P(d.experiments,"watch_later_icon_change_killswitch")?g.X?{D:"div",X:["ytp-icon","ytp-icon-alert"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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",N:{height:"100%", version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,N:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}a.updateValue("icon",f);a.G=b}c?a.update({title:c,image:null}):d.da?(b={USER_NAME:d.da},a.update({title:a.A?g.iM("Added as $USER_NAME",b):g.iM("Watch later as $USER_NAME",b),image:vz(d)})):a.update({title:"Watch later",image:null});qN(a.F)}; TQ=function(a){var b=a.O();g.T.call(this,{D:"a",X:["ytp-watermark","yt-uix-sessionlink"],N:{target:b.A,href:"{{url}}","aria-label":g.iM("Watch on $WEBSITE",{WEBSITE:g.fz(b)}),"data-sessionlink":"feature=player-watermark"},L:[fM()]});this.w=a;this.A=null;this.B=!1;g.NK(a,this.element,this,76758);this.M(a,"videodatachange",this.C);this.M(a,"presentingplayerstatechange",this.G);this.M(a,"appresize",this.Ra);SQ(this,g.sK(a));this.C();this.Ra(g.tK(a).getPlayerSize())}; SQ=function(a,b){var c=!g.R(b,2);g.Fu(a,c);g.RK(a.w,a.element,c)}; g.UQ=function(a){g.fP.call(this,a);var b=this,c=g.tK(a),d=a.O(),e=a.getVideoData();this.aa=My(d);this.xa=g.P(d.experiments,"embeds_enable_new_smallmode")&&this.aa;this.Ta=48;this.Na=69;this.aa&&(g.K(a.getRootNode(),"ytp-embed"),g.K(a.getRootNode(),"ytp-embed-playlist"),this.Ta=60,this.Na=89);this.xa&&g.K(a.getRootNode(),"ytp-embeds-smallmode");this.Ie=e&&e.Ie;this.ba=null;this.J=[];this.K=new g.HP(a);g.H(this,this.K);g.LK(a,this.K.element,4);e=new g.T({D:"div",I:"ytp-gradient-top"});g.H(this,e);g.LK(a, e.element,1);this.Eb=new g.CL(e,250,!0,100);g.H(this,this.Eb);this.w=new g.T({D:"div",I:"ytp-chrome-top"});g.H(this,this.w);g.LK(a,this.w.element,1);this.tb=new g.CL(this.w,250,!0,100);g.H(this,this.tb);this.ga=[];this.H=new g.HQ(a,this);g.H(this,this.H);g.LK(a,this.H.element,4);d.u&&d.Ca&&(this.jc=new fQ(a,this),g.H(this,this.jc),g.LK(a,this.jc.element,4));e=new kQ(a);g.H(this,e);g.LK(a,e.element,5);e.subscribe("show",(0,g.x)(this.Zg,this,e));this.ga.push(e);this.fa=new mQ(a,this,e);g.H(this,this.fa); this.aa||this.fa.o(this.w.element);d.showBackButton&&(this.Wb=new GP(a),g.H(this,this.Wb),this.Wb.o(this.w.element));this.eb=new FQ(a,this);g.H(this,this.eb);this.eb.o(this.w.element);e=new g.Au({D:"div",I:"ytp-chrome-top-buttons"});g.H(this,e);e.o(this.w.element);this.Ba=e;this.F=new g.PQ(a,this,this.w.element);g.H(this,this.F);this.F.o(e.element);var f=new g.pQ(a,this);g.H(this,f);g.LK(a,f.element,5);f.subscribe("show",(0,g.x)(this.Zg,this,f));this.ga.push(f);this.C=new g.rQ(a,this,f,this.w.element); g.H(this,this.C);this.C.o(e.element);d.Cl&&(f=new uQ(a),g.H(this,f),g.LK(a,f.element,4));this.aa&&this.fa.o(e.element);this.Z=new NP(a,this,this.w.element);g.H(this,this.Z);this.Z.o(e.element);f=new OP(a,this,this.Z);g.H(this,f);f.o(e.element);this.xa&&(this.B=new bQ(a,this),g.H(this,this.B),g.LK(a,this.B.element,5),this.B.subscribe("show",function(){b.Zg(b.B,aN(b.B))}),this.ga.push(this.B),this.ya=new eQ(a,this,this.B),g.H(this,this.ya),this.ya.o(e.element)); (this.o="1"==d.controlsType?new ZO(a,this,this.u):null)&&g.H(this,this.o);"3"==d.controlsType&&(e=new oQ(a,this),g.H(this,e),g.LK(a,e.element,8));this.U=new XP(a,this,this.K);g.H(this,this.U);this.U.subscribe("show",this.mA,this);this.Ma=!1;d.jc&&(e=new TQ(a),g.H(this,e),g.LK(a,e.element,7));e=new EP(a,new FP(a));g.H(this,e);g.LK(a,e.element,4);this.ra=new g.T({D:"div",N:{tabindex:"0"}});this.ra.ha("focus",this.rC,this);g.H(this,this.ra);this.na=new g.T({D:"div",N:{tabindex:"0"}});this.na.ha("focus", this.sC,this);g.H(this,this.na);(this.V=d.kd?null:new ZP(a,c,this.U,this.u,this.K,(0,g.x)(this.Xh,this)))&&g.H(this,this.V);this.P.push(this.K.element);this.oa=null;this.M(a,"fullscreentoggled",this.aG);this.M(a,"offlineslatestatechange",this.BJ,this);this.M(a,"cardstatechange",this.Hd,this)}; VQ=function(a){var b=a.api.O(),c=g.R(g.sK(a.api),128);return b.u&&c&&!a.api.isFullscreen()&&!vK(a.api)}; WQ=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=jg(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=WQ(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndex(d-3E3)/1E3)return"too-close"}else if(b.getCurrentTime()>d/1E3+1)return"in-the-past";if(f.sa&&!isFinite(d))return"live-infinite";if(a.B&&((b=b.o)&&b.isView()&&(b=b.o),b&&b.ci().length>a.B))return"played-ranges";if(a.o&&!e.ua)return null;if(!e.ua.o||!f.ua.o)return"non-dash";if(e.ua.videoInfos[0].containerType!=f.ua.videoInfos[0].containerType)return"container"; if(g.lC(f)&&g.lC(e))return"content-protection";f=f.ua.o[0].audio;e=e.ua.o[0].audio;return f.sampleRate==e.sampleRate||g.Hs?a.F&&(f.o||2)!=(e.o||2)?"channel-count":null:"sample-rate"}; cR=function(a,b,c,d){g.E.call(this);var e=this;this.w=a;this.u=b;this.o=c;this.C=this.B=null;this.U=d-1E3*b.yb();this.H=-1;this.J=!1;this.F=new nG;this.F.then(void 0,function(){}); this.K=new g.J(function(){return bR(e,"timeout")},1E4); g.H(this,this.K);this.G=this.w.C&&!!(!a.U&&c.getCurrentTime()||isFinite(d));this.A={status:0,error:null}}; kka=function(a){var b,c,d,e,f,k;return xa(function(l){if(1==l.o){if(!a.w.o)return 5!=a.A.status?l=l["return"](Promise.resolve("nonsense")):(l.o=2,l=void 0),l;a.K.start();return ua(l,a.F,2)}b=a.u.o;if(b.Qe())return bR(a,"ended_in_finishTransition"),l["return"](Promise.reject());if(a.o.G!=a.C)return bR(a,"next_reloaded"),l["return"](Promise.reject());c=dR(a);d=c.Xx;e=c.Wx;gJ(a.u,!1,a.w.G);f=eR(b,d,e,a.o.getVideoData().sa);iJ(a.o,f);a.G&&(a.o.seekTo(a.o.getCurrentTime()+.001,!0,void 0,!0,!1,a.w.u),f.play()); k=b.bb();k.cpn=a.u.getVideoData().clientPlaybackNonce;k.st=""+d;k.et=""+e;a.o.Oa("gapless",gs(k));a.u.Oa("gaplessTo",a.o.getVideoData().clientPlaybackNonce);g.Ik(function(){!a.o.getVideoData().de&&g.Nt(a.o.getPlayerState())&&cK(a.o)}); fR(a,6);a.dispose();return l["return"](Promise.resolve())})}; iR=function(a){if(a.o.getVideoData().ua){EJ(a.o,a.C);fR(a,3);gR(a);var b=hR(a),c=b.Lz;b=b.hM;c.subscribe("updateend",a.Ei,a);b.subscribe("updateend",a.Ei,a);a.Ei(c);a.Ei(b)}}; gR=function(a){a.u.unsubscribe("internalvideodatachange",a.Pg,a);a.o.unsubscribe("internalvideodatachange",a.Pg,a);a.u.unsubscribe("mediasourceattached",a.Pg,a);a.o.unsubscribe("statechange",a.kx,a)}; eR=function(a,b,c,d){return new g.aR(a.isView()?a.o:a,b,c,d)}; fR=function(a,b){b<=a.A.status||(a.A={status:b,error:null},5==b&&a.F.resolve(void 0))}; bR=function(a,b){if(!a.ia()&&!a.isFinished()){var c=4<=a.A.status;a.A={status:Infinity,error:b};if(a.u&&a.o){var d=a.o.getVideoData().clientPlaybackNonce;a.u.Oa("gaplessError","cpn."+d+";msg."+b);a.w.P&&(d=a.u,d.S.Re=!1,c&&XJ(d),d.w&&(c=d.w,c.o.Ta=!1,c.w&&KG(c)))}a.F.reject(void 0);a.dispose()}}; dR=function(a){var b=a.u.o;b=b.isView()?b.u:0;var c=a.u.getVideoData().sa?Infinity:fK(a.u,!0);c=Math.min(a.U/1E3,c)+b;var d=a.G?100:0;a=c-a.o.getCurrentTime()+a.o.yb()+d;return{cC:b,Xx:a,bC:c,Wx:Infinity}}; hR=function(a){return{Lz:a.B.o.o,hM:a.B.u.o}}; jR=function(a){g.E.call(this);var b=this;this.w=a;this.F=this.u=this.o=null;this.H=!1;this.C=null;this.A=ika(this.w.O());this.B=null;this.G=function(){return g.Ik(function(){return lka(b)})}}; mka=function(a,b,c,d){d=void 0===d?0:d;a.o&&kR(a);a.C=new nG;b.jc=!0;a.o=b;var e=c,f=a.w.qb(),k=f.getVideoData().sa?Infinity:1E3*fK(f,!0);e>k&&(e=k-a.A.J,a.H=!0);f.getCurrentTime()>=e/1E3?a.G():(a.u=f,a.w.addEventListener(g.DD("vqueued"),a.G),e=isFinite(e)||e/1E3>a.u.getDuration()?e:0x8000000000000,a.F=new g.AD(e,0x8000000000000,{namespace:"vqueued"}),a.u.addCueRange(a.F));f=d/=1E3;e=b.getVideoData().ka;if(d&&e&&a.u){k=d;var l=0;a.A.A&&b.getVideoData().sa&&(f=Math.min(c/1E3,fK(a.u,!0)),l=Math.max(0, f-a.u.getCurrentTime()),k=Math.min(d,fK(b)+l));f=Jfa(e,k)||d;f!=d&&a.o.Oa("qvaln","st."+d+";at."+f+";rm."+(l+";ct."+k))}b=f;a.o.getVideoData().Ch=!0;a.o.getVideoData().Re=!0;TI(a.o,!0);d="";a.u&&(d=g.gD(a.u.B.A),e=a.u.getVideoData().clientPlaybackNonce,d="crt."+(1E3*d).toFixed()+";cpn."+e);a.o.Oa("queued",d);0!=b&&(d=a.A.A,a.A.u&&(b+=.01),a.o.seekTo(b,!0,void 0,d,a.A.K,a.A.u));a.B=new cR(a.A,a.w.qb(),a.o,c);c=a.B;Infinity!=c.A.status&&(fR(c,1),c.u.subscribe("internalvideodatachange",c.Pg,c),c.o.subscribe("internalvideodatachange", c.Pg,c),c.u.subscribe("mediasourceattached",c.Pg,c),c.o.subscribe("statechange",c.kx,c),c.Pg());return a.C}; lka=function(a){var b,c;return xa(function(d){switch(d.o){case 1:if(a.ia()||!a.C)return d["return"]();a.H&&BI(a.w.qb(),!0,!1);if(!a.B){d.o=2;break}b=kka(a.B);if(!a.A.o){d.o=2;break}d.C=4;return ua(d,b,6);case 6:d.o=2;d.C=0;break;case 4:d.C=0,d.A=null;case 2:lR(a.w.app,a.o);var e=a.o.getPlayerType();g.mR(a.w.app,e);a.w.playVideo();c=a.C;kR(a);return d["return"](c.resolve(void 0))}})}; kR=function(a){a.u&&(a.w.removeEventListener(g.DD("vqueued"),a.G),a.u.removeCueRange(a.F),a.F.dispose(),a.u=null,a.F=null);if(a.B){if(!a.B.isFinished()){var b=a.B;Infinity!=b.A.status&&bR(b,"Canceled")}a.B=null}a.C=null;a.o=null;a.H=!1}; oR=function(a,b,c){g.E.call(this);var d=this;this.A=a;c.getPlayerType();this.u=c;sja(this.u,this);this.F=new Map;this.o=[];this.G=NaN;this.B=this.w=null;this.C=new g.J(function(){nR(d,d.G)}); g.H(this,this.C);this.H=new g.Rs(this);g.H(this,this.H);this.H.M(this.A,g.DD("childplayback"),this.J)}; oka=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.Db();if(dk)return"";var l;k=g.p(a.o);for(var m=k.next();!m.done;m=k.next()){m=m.value;if(d>=m.Cb&&dm.Cb||e==m.Cb)return"";d==m.Ib&&(l=m)}k="childplayback_"+nka++;m={Gb:pR(c,!0),Ce:Infinity,target:null};b={Bb:k,playerVars:b,playerType:2,durationMs:c,Cb:d,Ib:e,ee:m};a.o=a.o.concat(b).sort(function(n,q){return n.Cb-q.Cb}); l?qR(l,{Gb:pR(l.durationMs,!0),Ce:Infinity,target:b}):(d={Gb:pR(d,!1),Ce:d,target:b},a.F.set(d.Gb,d),f.addCueRange(d.Gb));return k}; pR=function(a,b){return new g.AD(Math.max(0,a-5E3),b?0x8000000000000:a-1,{namespace:"childplayback",priority:7})}; qR=function(a,b){var c=a.ee;a.ee=b;c.Gb.dispose()}; rR=function(a,b){for(var c=0,d=g.p(a.o),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.Cb/1E3+c,k=f+e.durationMs/1E3;if(f>b)break;if(k>b)return{Ug:e,xh:b-f};c=k-e.Ib/1E3}return{Ug:null,xh:b-c}}; nR=function(a,b){var c=a.B||a.A.qb().getPlayerState();sR(a,!0);var d=rR(a,b).xh;a.u.seekTo(d,!0);d=a.A.qb();var e=d.getPlayerState();g.Nt(c)&&!g.Nt(e)?d.playVideo():g.R(c,4)&&!g.R(e,4)&&d.pauseVideo()}; sR=function(a,b){a.G=NaN;a.C.stop();a.w&&b&&vJ(a.w);a.B=null;a.w=null}; WK=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.p(a.F),k=f.next();!k.done;k=f.next()){var l=g.p(k.value);k=l.next().value;l=l.next().value;l.Ce>=d&&l.target&&l.target.Ib<=e&&(a.u.removeCueRange(k),l.Gb.dispose(),a.F["delete"](k))}d=b;e=c;f=[];k=g.p(a.o);for(l=k.next();!l.done;l=k.next())l=l.value,l.Cb>=d&&l.Ib<=e?l.ee.Gb.dispose():f.push(l);a.o=f;d=rR(a,b/1E3);b=d.Ug;d=d.xh;b&&(d*=1E3,tR(b,d,b.Cb+d));rR(a,c/1E3)}; tR=function(a,b,c){a.durationMs=b;a.Ib=c;b={Gb:pR(b,!0),Ce:b,target:null};qR(a,b)}; vR=function(a,b,c){g.E.call(this);var d=this;this.o=a;this.T=b;c.getPlayerType();this.w=c;this.F=new Map;this.u=[];this.A=this.H=null;this.U=NaN;this.G=this.B=null;this.K=new g.J(function(){uR(d,d.U)}); g.H(this,this.K);this.J=[];this.P=new g.J(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.cn(d.P,4500)}}); g.H(this,this.P);this.C=new g.Rs(this);g.H(this,this.C);this.C.M(this.o,g.DD("childplayback"),this.SF);this.C.M(this.o,"onQueuedVideoLoaded",this.ZJ);this.C.M(this.o,"presentingplayerstatechange",this.TF)}; qka=function(a,b,c,d,e){var f=a.w;e=void 0==e?d+c:e;if(d>e)return"";var k=1E3*f.Db();if(dk)return"";var l;k=g.p(a.u);for(var m=k.next();!m.done;m=k.next()){m=m.value;if(d>=m.Cb&&dm.Cb||e==m.Cb)return"";d==m.Ib&&(l=m)}k="childplayback_"+pka++;m={Gb:wR(c,!0),Ce:Infinity,target:null};var n={Bb:k,playerVars:b,playerType:2,durationMs:c,Cb:d,Ib:e,ee:m};a.u=a.u.concat(n).sort(function(v,y){return v.Cb-y.Cb}); l?xR(a,l,{Gb:wR(l.durationMs,!0),Ce:Infinity,target:n}):(b={Gb:wR(d,!1),Ce:d,target:n},a.F.set(b.Gb,b),f.addCueRange(b.Gb));b=g.P(a.T.experiments,"html5_gapless_preloading");if(a.w==a.o.qb()&&(f=1E3*f.getCurrentTime(),f>=n.Cb&&fb)break;if(k>b)return{Ug:e,xh:b-f};c=k-e.Ib/1E3}return{Ug:null,xh:b-c}}; uR=function(a,b){var c=a.G||a.o.qb().getPlayerState();FR(a,!0);var d=ER(a,b),e=d.Ug;d=d.xh;var f=e&&!BR(a,e)||!e&&a.w!=a.o.qb(),k=1E3*d;k=a.A&&a.A.start<=k&&k<=a.A.end;!f&&k||CR(a);e?yR(a,e,d,c):GR(a,d,c)}; GR=function(a,b,c){var d=a.w;if(d!=a.o.qb()){var e=d.getPlayerType();g.mR(a.o.app,e)}d.seekTo(b,!0);HR(a,c)}; yR=function(a,b,c,d){var e=BR(a,b);if(!e){g.mR(a.o.app,b.playerType);b.playerVars.prefer_gapless=!0;var f=new g.OB(a.T,b.playerVars);f.Bb=b.Bb;IR(a.o.app,f,b.playerType,void 0)}f=a.o.qb();e||f.addCueRange(b.ee.Gb);f.seekTo(c,!0);HR(a,d)}; HR=function(a,b){var c=a.o.qb(),d=c.getPlayerState();g.Nt(b)&&!g.Nt(d)?c.playVideo():g.R(b,4)&&!g.R(d,4)&&c.pauseVideo()}; FR=function(a,b){a.U=NaN;a.K.stop();a.B&&b&&vJ(a.B);a.G=null;a.B=null}; BR=function(a,b){var c=a.o.qb();return!!c&&c.getVideoData().Bb==b.Bb}; XK=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.p(a.F),k=f.next();!k.done;k=f.next()){var l=g.p(k.value);k=l.next().value;l=l.next().value;l.Ce>=d&&l.target&&l.target.Ib<=e&&(a.w.removeCueRange(k),l.Gb.dispose(),a.F["delete"](k))}d=b;e=c;f=[];k=g.p(a.u);for(l=k.next();!l.done;l=k.next())if(l=l.value,l.Cb>=d&&l.Ib<=e){var m=a;m.H==l&&CR(m);BR(m,l)&&g.VK(m.o,l.playerType);l.ee.Gb.dispose()}else f.push(l);a.u=f;d=ER(a,b/1E3);b=d.Ug;d=d.xh;b&&(d*=1E3,JR(a,b,d,b.Ib==b.Cb+ b.durationMs?b.Cb+d:b.Ib));ER(a,c/1E3)}; JR=function(a,b,c,d){b.durationMs=c;b.Ib=d;d={Gb:wR(c,!0),Ce:c,target:null};xR(a,b,d);BR(a,b)&&1E3*a.o.qb().getCurrentTime()>c&&(b=DR(a,b)/1E3,c=a.o.qb().getPlayerState(),GR(a,b,c))}; MR=function(a,b){g.E.call(this);var c=this;this.A=a||NaN;this.w=b||null;this.u=new g.J(function(){KR(c);LR(c)}); g.H(this,this.u);this.o=[]}; KR=function(a){var b=(0,g.Mq)();a.o.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)}; tka=function(a,b){if(g.Kp())return null;var c=ska();if(!c)return g.wK(a,"html5.webaudio",{name:"null context"}),null;if("string"===typeof c)return g.wK(a,"html5.webaudio",{name:c}),null;if(!c.createMediaElementSource)return g.wK(a,"html5.webaudio",{name:"missing createMediaElementSource"}),null;if("suspended"==c.state){var d=function(e){"suspended"==c.state&&g.Nt(e.state)&&c.resume().then(function(){a.removeEventListener("presentingplayerstatechange",d);PR=!1},null)}; PR||(a.addEventListener("presentingplayerstatechange",d),PR=!0)}return new MD(c,b)}; uka=function(a,b){wo(a,"version",b)}; RR=function(a){var b=a.O(),c=g.P(b.experiments,"mweb_enable_custom_control");g.T.call(this,{D:"div",X:["html5-video-player"],N:{tabindex:c?"":"-1",id:a.tb?a.tb.rootElementId:a.na.attrs.id},L:[{D:"div",I:"html5-video-container",N:{"data-layer":"0"}}]});b.transparentBackground&&this.An("ytp-transparent");uka(this.element,QR(a));this.app=a;this.B=this.u["html5-video-container"];this.A=new g.bg(0,0,0,0);this.w=null;this.H=new g.bg(0,0,0,0);this.K=this.V=this.T=NaN;this.F=!1;this.J=NaN;this.P=!1;this.G= 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.aa=(0,g.x)(function(){this.element.focus()},this); hz(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.ba="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.C=new g.ud(NaN,NaN);vka(this);this.M(a.o,"onMutedAutoplayChange",this.cG)}; vka=function(a){var b=a.app.o,c=(0,g.x)(a.sD,a),d=(0,g.x)(a.tD,a),e=(0,g.x)(a.bG,a),f=(0,g.x)(a.fD,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Di(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})}; SR=function(a){a.w&&(a.w.removeEventListener("focus",a.aa),g.Yd(a.w),a.w=null)}; UR=function(a){var b=g.P(a.app.O().experiments,"html5_aspect_from_adaptive_format"),c=g.S(a.app);if(c=c?c.getVideoData():null){if(c.Lf()||c.Mf()||c.Hf())return 16/9;if(b&&c.Gm()&&c.ua.o)return b=c.ua.videoInfos[0].video,TR(b.width,b.height)}return(a=a.w)?TR(a.videoWidth,a.videoHeight):b?16/9:NaN}; VR=function(a,b,c,d){var e=c;isNaN(a.K)?isNaN(a.V)||(e=a.V):e=a.K;a=TR(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(WR*b-a)||1>Math.abs(WR/a-b)?WR:a/b}; YR=function(a){if(1==a.app.V)return!1;if(6==a.app.V)return!0;var b=g.S(a.app);if(!b||YI(b))return!1;var c=g.sK(a.app.o);a=!g.R(c,2)||!g.P(a.app.O().experiments,"html5_leanback_gapless_elem_display_killswitch")&&b&&b.getVideoData().Re;b=g.R(c,1024);return c&&a&&!b&&!c.isCued()}; ZR=function(a){var b="3"==a.app.O().controlsType&&!a.F&&YR(a)&&!a.app.Ha||!1;a.w.controls=b;a.w.tabIndex=b?0:-1;b?a.w.removeEventListener("focus",a.aa):g.P(a.app.O().experiments,"disable_focus_redirect")||a.w.addEventListener("focus",a.aa)}; $R=function(a){var b=a.getPlayerSize(),c=1,d=!1,e=VR(a,b,a.getVideoAspectRatio()),f=Qp();if(YR(a)){var k=UR(a);var l=isNaN(k)||g.Px||EH&&g.rz;Rp&&!g.nd(601)?k=e.aspectRatio:l=l||"3"==a.app.O().controlsType;l?l=new g.bg(0,0,b.width,b.height):(c=e.aspectRatio/k,l=new g.bg((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1==c&&g.rz&&(k=l.width-b.height*k,0Math.random()&&(this.va("web_player_sentinel_is_uniplayer")||g.uo(Error("Player flag missing: web_player_sentinel_is_uniplayer")))}; xka=function(a){var b=new EI(a.u,1,a.K,a.G,(0,g.x)(a.Z.R,a.Z),(0,g.x)(a.o.getVisibilityState,a.o),a.H);b.setPlaybackRate(a.u.u?1:hS(a,parseFloat(g.cy("yt-player-playback-rate"))||1));ct(b,a.Fb,a);return b}; wka=function(a){var b="",c=QR(a);0==c.indexOf("//")&&(c=a.u.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");if(c=Error().stack)if(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))c=c[1],c.includes(b)||g.N(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING");b=new qP(a.o,b,a);c={};a=(c.destroyed=(0,g.x)(a.IH,a),c);b.C=a;return b}; jS=function(a,b){var c=a.isVideoInfoVisible();a.da||(a.da=new fS(a),g.H(a,a.da),g.LK(a.o,a.da.element,4));g.Fu(a.da,b);iS(a)&&c!=b&&g.uK(a.A).iF();c=a.C;b&&c&&c.Oa("sfn","1",!0)}; lS=function(a){var b=kS.getTag(!0,!a.u.deviceHasDisplay);a.B=new g.At(b);g.H(a,a.B);a.C&&iJ(a.C,a.B);try{a.u.oa?(a.Ca&&a.P.Wa(a.Ca),a.Ca=a.P.M(a.B,"volumechange",a.lJ)):a.va("web_player_mute_then_volume_killswitch")?(a.B.setVolume(a.J.volume/100),a.B.Ig(a.J.muted)):(a.B.Ig(a.J.muted),a.B.setVolume(a.J.volume/100))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.DI(a.w,"html5.missingapi","UNSUPPORTED_DEVICE",c,void 0);return}g.Ts(a.ga);bla(a);c=a.G;c.w=b;c.F=!1;c.w.parentNode|| g.Vd(c.B,c.w,0);c.H=new g.bg(0,0,0,0);$R(c);ZR(c);g.K(c.w,"video-stream");g.K(c.w,"html5-main-video");b=c.app.O();b.Hb&&c.w.setAttribute("data-no-fullscreen",!0);b.lf&&(c.w.setAttribute("webkit-playsinline",""),c.w.setAttribute("playsinline",""));b.Il&&c.w&&c.M(c.w,"click",c.w.play,c.w);try{a.B.zi()}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.DI(a.w,"html5.missingapi","UNSUPPORTED_DEVICE",c,void 0)}}; mS=function(a){a.B&&(a.Ca&&(a.P.Wa(a.Ca),a.Ca=null),g.Ts(a.ga),a.C&&gJ(a.C,!0),SR(a.G),a.B.zg()&&kS.releaseTag(a.B.fb()),a.B=null)}; g.mR=function(a,b){var c=g.S(a,b);c||(c=nS(a,b),oS(a,c));TK(a,c)}; TK=function(a,b){if(a.C!=b){var c=null;a.C&&(c=a.C.getPlayerState(),xP(a.A,3),pS(a,"cuerangesremoved",jG(a.C.J)||[]),a.Ba&&!b.isGapless()&&a.C.isGapless()&&a.B&&a.B.stopVideo(),UK(a));oS(a,b);a.C=b;a.B&&iJ(b,a.B);ct(b,a.nd,a);a.Jq("newdata",b,b.getVideoData());c&&!g.Lt(c,b.getPlayerState())&&a.Oy(new g.kD(b.getPlayerState(),c));b.da.isFinished()&&a.Jq("dataloaded",b,b.getVideoData());(c=(c=b.getVideoData().Aa)&&c.video)&&a.o.la("onPlaybackQualityChange",c.quality);pS(a,"cuerangesadded",jG(a.C.J)|| []);c=b.getPlayerState();g.R(c,2)?qS(a):g.R(c,8)&&b.playVideo()}}; qS=function(a){if(a.F&&g.Sy(a.u)&&g.rS(a)){var b=g.P(a.u.experiments,"html5_player_autonav_logging");a.nextVideo(!1,b);b=!0}else b=!1;b||((b=a.w.o)&&b.Aj(),sS(a,Qt(rK(a))))}; bla=function(a){var b=a.B;Ms()?a.ga.M(b,"webkitpresentationmodechanged",a.uK):Ns()&&(a.ga.M(b,"enterpictureinpicture",function(){zI(a.H,!0)}),a.ga.M(b,"leavepictureinpicture",function(){zI(a.H,!1)})); if(Ty){var c=g.P(a.u.experiments,"ensure_vis_persists_in_full_screen_for_mweb");a.ga.M(b,"webkitbeginfullscreen",function(){tS(a,c?3:1)}); a.ga.M(b,"webkitendfullscreen",function(){tS(a,0)})}}; oS=function(a,b){if(b!=a.w){var c=b.getPlayerType();a.jc[c]=b}}; UK=function(a){var b;if(b=a.ba)b=a.B,b=!!b&&b==a.ba.w;b&&(mS(a),lS(a));a.C&&(gJ(a.C),dt(a.C,a.nd,a));a.C=null}; g.S=function(a,b){return b?1==b?a.w:a.jc[b]||null:a.C}; nS=function(a,b){var c=a.K;2==b&&(c=new yD(a.u));return new EI(a.u,b,c,a.G,(0,g.x)(a.Z.R,a.Z),(0,g.x)(a.o.getVisibilityState,a.o),a.H)}; vS=function(a,b){return uS(a,b)?a.w:b}; wS=function(a,b){var c=a.C;return c&&b==a.w&&uS(a,b)&&uS(a,c)?c:b}; yS=function(a){var b=a.getVideoData(),c=10=c?d=c:(d=Math.floor(100*b+.001)%5,d=0==d?b:Math.floor(100*(b-.01*d)+.001)/100));return d}; KS=function(a,b){var c=g.S(a,b);return c?uS(a,c)?(c=vS(a,c),ZJ(c)-c.getCurrentTime()+a.getCurrentTime(b)):ZJ(c):0}; LS=function(a,b,c){if(uS(a,c)){c=c.getVideoData();if(a.U){a=a.U;for(var d=g.p(a.o),e=d.next();!e.done;e=d.next())if(e=e.value,c.Bb==e.Bb){b+=e.Cb/1E3;break}d=b;a=g.p(a.o);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Bb==e.Bb)break;var f=e.Cb/1E3;if(fe?f=!0:1=Math.abs(GT(c)-0)})); b.first_quartile=FT(a.progressCommands.filter(function(c){return HT(c)&&1E-6>=Math.abs(GT(c)-.25)})); b.midpoint=FT(a.progressCommands.filter(function(c){return HT(c)&&1E-6>=Math.abs(GT(c)-.5)})); b.third_quartile=FT(a.progressCommands.filter(function(c){return HT(c)&&1E-6>=Math.abs(GT(c)-.75)})); b.complete=FT(a.progressCommands.filter(function(c){return HT(c)&&1E-6>=Math.abs(GT(c)-1)})); return b}; IT=function(a,b){b=void 0===b?!0:b;jL.call(this,a,gla(a));this.w=b;this.u=a.questions?a.questions.reduce(function(c,d){var e=d.instreamSurveyAdSingleSelectQuestionRenderer||d.instreamSurveyAdMultiSelectQuestionRenderer;return e?c+(e.surveyAdQuestionCommon.durationMilliseconds||0)/1E3:c},0):0}; JT=function(a,b,c,d){this.id=b;this.J=a.placementStartPings||[];this.H=a.placementEndPings||[];this.u=d.o;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.A=e.getAdBreakUrl||"")?0:2;d.u=parseInt(e.prefetchMilliseconds,10)||0;d.visible=!b.hideCueRangeMarker;var f=sT(b,d);if(null==f)d=new pT(b,new qh(-1,-1),!1,"adcuerange:invalid", 2),d.o=!0,d=[null,d];else{e=Wn();var k=d.Ob||d.o;f=new pT(b,f,d.visible&&!k,"adcuerange:"+e,2);k=null;if(d.o||0=d)throw Error("Timed out while waiting for GPT services");return il(200).then(function(){return c(d-1)})}}; a.o=Rk().then(function(){return c(b)})}return a.o}; eU=function(a,b,c){var d=il(5E3).then(function(){throw Error("Timed out while waiting for GPT set companion");}),e=new Nk(function(f,k){var l=bU(); if(l){var m=cU(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(q){var t=void 0!==q.firstElementChild?q.firstElementChild:$d(q.firstChild);t||(t=g.Rd("div"),q.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 Vk([e,d])}; dU=function(){var a=bU();if(!a)return!1;a=cU(a);return g.Ka(a)&&0!=a.length?null!=Cd("google_companion_ad_div"):!1}; bU=function(){var a=Nd();return g.w("googletag.cmd",a)?a:null}; cU=function(a){a=void 0!==a.googleGetCompanionAdSlots?to(a.googleGetCompanionAdSlots)():void 0;return void 0!==a&&0=c*a.A.Xs||d)&&xU(a,"first_quartile");(b>=c*a.A.wt||d)&&xU(a,"midpoint");(b>=c*a.A.Gt||d)&&xU(a,"third_quartile")}; wU=function(a,b,c,d){if(null==a.B){if(cd||d>c)return;xU(a,b)}; tU=function(a,b,c){if(0f.u&&f.Mc()}}; iV=function(a,b){tT.call(this,"ads-engagement-panel",a,b)}; jV=function(a,b,c,d,e){GU.call(this,a,b,c,d,e)}; kV=function(a,b){b.SLOT_POS="1";tT.call(this,"backfill-mpu-companion",a,b)}; lV=function(a,b,c,d,e){GU.call(this,a,b,c,d,e)}; mV=function(a,b,c,d,e){GU.call(this,a,b,c,d,e)}; nV=function(a,b){tT.call(this,"invideo-overlay",a,b)}; oV=function(a,b){tT.call(this,"invideo-overlay-as-cta",a,b)}; pV=function(a,b,c,d,e){GU.call(this,a,b,c,d,e);this.u=b}; qV=function(a,b){tT.call(this,"persisting-overlay",a,b)}; rV=function(a,b,c,d,e){GU.call(this,a,b,c,d,e);this.u=b}; sV=function(a){return a?g.MB(a):null}; tV=function(a){if(!a||!a.loggingUrls)return[];a=a.loggingUrls.map(function(b){return b.baseUrl}); return 0===a.length?[]:a}; Bla=function(a){return a.cancelRenderer&&a.cancelRenderer.buttonRenderer?(a=a.cancelRenderer.buttonRenderer.serviceEndpoint)&&a.muteAdEndpoint?a:null:null}; uV=function(a){var b={};b.baseUrl=a;return{loggingUrls:[b],pingingEndpoint:{hack:!0}}}; Cla=function(a,b,c,d,e){this.w=a;this.u=b;this.o=c;this.A=d;this.B=e}; Gla=function(a,b,c){var d=Dla();d.instreamAdPlayerOverlayRenderer=b;c&&(d.adNextParams=c);if(b.skipOrPreviewRenderer)switch(Object.keys(b.skipOrPreviewRenderer)[0]){case "skipAdRenderer":Ela(a,d,b.skipOrPreviewRenderer.skipAdRenderer)}if(b.adInfoRenderer)switch(Object.keys(b.adInfoRenderer)[0]){case "adHoverTextButtonRenderer":Fla(a,d,b.adInfoRenderer.adHoverTextButtonRenderer)}d.isBumper=nL(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.B.send(e,a.u,{})}; return d}; Ela=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?vV(a,e):a.A.ih()}; b.skipShown=function(){vV(a,d.adRendererCommands&&d.adRendererCommands.impressionCommand)}}}; Fla=function(a,b,c){if(c.button&&c.button.buttonRenderer&&c.button.buttonRenderer.serviceEndpoint&&c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint){var d=c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint.dialog;d&&d.adInfoDialogRenderer&&(Hla(a,b,d.adInfoDialogRenderer),b.whyThisAdInfo.menuTitle=sV(c.hoverText)||"",d.adInfoDialogRenderer.muteAdRenderer&&(c=d.adInfoDialogRenderer.muteAdRenderer.buttonRenderer)&&Ila(a,b,c))}}; Hla=function(a,b,c){var d=sV(c.confirmLabel)||"",e=sV(c.title)||"",f=c.adReasons?c.adReasons.map(function(k){return sV(k)||""}):[]; b.whyThisAdInfo={closeButton:d,menuTitle:"",targetingReasonHeader:e,targetingReasons:f,adSettingsLink:null,cancelButton:null,continueButton:null,controlText:null};b.whyThisAdClicked=function(){vV(a,c.impressionEndpoints)}; b.whyThisAdClosed=function(){vV(a,c.confirmServiceEndpoint)}}; Ila=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:sV(c.text)||"",surveyOptions:[]};b.muteAdInfo=e;c=tV(c.navigationEndpoint);var f=uV(c[1]),k=[uV(c[0])];(c=Bla(d))&&k.push(c);var l=!1;b.muteAdClicked=function(){l=!0;vV(a,f)}; b.muteAd=function(){l||vV(a,f);l=!1;vV(a,k)}; Jla(b,d)}}}; Jla=function(a,b){a.muteAdInfo.goneText=sV(b.title)||"";a.muteAdInfo.questionText=sV(b.reasonsTitle)||"";b.undoRenderer&&(a.muteAdInfo.undoText=sV(b.undoRenderer.buttonRenderer.text)||"");for(var c=a.muteAdInfo.surveyOptions,d=g.p(b.reasons||[]),e=d.next();!e.done;e=d.next()){var f=e.value;e=sV(f.reason)||"";f=tV(f.endpoint);c.push({label:e,url:f[0]})}}; vV=function(a,b){b&&(g.Ka(b)?b.forEach(function(c){return a.w.La(c,a.u)}):a.w.La(b,a.u))}; Dla=function(){return{adNextParams:"",adSystem:0,attributionInfo:null,clickThroughUrl:"",instreamAdPlayerOverlayRenderer: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(){}}}; wV=function(a,b){tT.call(this,"pla-shelf",a,b)}; xV=function(a,b,c,d,e){GU.call(this,a,b,RT(c,{TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"}),d,e);this.u=b}; yV=function(a,b){tT.call(this,"shopping-companion",a,b)}; zV=function(a,b,c,d,e){GU.call(this,a,b,c,d,e)}; AV=function(a){tT.call(this,"survey",a);this.o=!1}; BV=function(a,b,c,d,e,f){GU.call(this,a,b,c,d,e,2);var k=this;this.A=b;this.u=null;this.ea=new g.Rs;g.H(this,this.ea);this.ea.M(this.ca,"resize",function(){return k.Ra()}); this.B=f}; CV=function(a,b){tT.call(this,"survey-interstitial",a,b)}; DV=function(a,b,c,d,e){GU.call(this,a,b,c,d,e,2);this.u=b}; EV=function(a){tT.call(this,"ad-text-interstitial",a)}; FV=function(a,b,c,d,e,f){GU.call(this,a,b,c,d,e);this.A=b;this.u=b.o.durationMilliseconds||0;this.Fa=null;this.B=f}; GV=function(a,b){g.E.call(this);this.A=Math.max(0,a);this.w=this.u=0;this.B=b;this.o=null}; HV=function(a){a.o&&(a.o.stop(),a.o.dispose(),a.o=null)}; IV=function(){tT.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=null}; JV=function(a){a=void 0===a?null:a;tT.call(this,"ad-channel-thumbnail");this.channelIconThumbnailUrl=a}; KV=function(a){a=void 0===a?null:a;tT.call(this,"ad-title");this.videoTitle=a}; LV=function(a){a=void 0===a?null:a;tT.call(this,"advertiser-name");this.channelName=a}; MV=function(a){tT.call(this,"player-overlay",a)}; NV=function(a){tT.call(this,"skip-button",a)}; OV=function(a){tT.call(this,"visit-advertiser",a);var b={};var c=a.text;a=a.navigationEndpoint;null!=c&&null!=c.runs&&null!=a?(b.runs=[g.bc(c.runs[0])],b.runs[0].navigationEndpoint=a):(b={text:"Visit advertiser's site"},a&&(b.navigationEndpoint=a),b={runs:[b]});this.visitAdvertiserLabel=b}; PV=function(a,b,c,d,e,f,k,l,m,n){GU.call(this,a,b,c,d,e,1);var q=this;this.u=b;this.B=k;this.U=new g.Rs(this);g.H(this,this.U);this.F=new g.J(function(){q.Ub("load_timeout")},g.P(a.O().experiments,"use_variable_load_timeout")?g.Q(a.O().experiments,"variable_load_timeout_ms"):1E4); g.H(this,this.F);this.A=null;g.P(a.O().experiments,"enable_bulleit_buffer_timer")&&(this.A=new GV(g.P(a.O().experiments,"use_variable_buffer_timeout")?g.Q(a.O().experiments,"variable_buffer_timeout_ms"):15E3,function(){q.Ub("buffer_timeout")}),g.H(this,this.A)); this.aa=!g.P(a.O().experiments,"bulleit_unstarted_event_killswitch");this.J=!1;this.da=n(this);this.V=f;this.G=l;this.T=m;this.P=!1}; QV=function(a){return(a=a.ca.getVideoData(2))?a.clientPlaybackNonce:""}; RV=function(a){var b=new IV;b.adBadgeText="Ad";var c=a.u.A;1=a.u.end||(a.u.end=b,a.R("Shortened the latest cuerange",b))}; ZV=function(a){g.E.call(this);this.o=[];var b=a.subscribe("Shortened the latest cuerange",this.u,this);g.Di(this,function(){a.Of(b)})}; $V=function(a){g.E.call(this);this.o=new ZV(a.wL);g.H(this,this.o);this.u=new VV(a.aC)}; aW=function(){jL.apply(this,arguments)}; Lla=function(a,b,c){this.w=a;this.o=b;this.u=c;this.A=a.getCurrentTime()}; Nla=function(a,b){var c=void 0===c?Date.now():c;if(a.u)for(var d=a.o.clientPlaybackNonce,e=g.p(b),f=e.next();!f.done;f=e.next()){f=f.value;var k=c;bW({cuepointTrigger:{type:"CUEPOINT_TYPE_AD",event:Mla(f.event),cuepointId:f.identifier,totalCueDurationMs:1E3*f.durationSecs,playheadTimeMs:f.o,cueStartTimeMs:1E3*f.startSecs,cuepointReceivedTimeMs:k,contentCpn:d}});"unknown"===f.event&&cW("DAI_ERROR_TYPE_CUEPOINT_WITH_INVALID_EVENT",d);f=f.startSecs+f.o/1E3;f>a.A&&a.w.getCurrentTime()>f&&cW("DAI_ERROR_TYPE_LATE_CUEPOINT", d)}}; Ola=function(a,b,c){a.u&&bW({daiStateTrigger:{totalCueDurationMs:b,filledAdsDurationMs:c,contentCpn:a.o.clientPlaybackNonce}})}; dW=function(a,b){a.u&&bW({driftRecoveryInfo:{contentCpn:a.o.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,driftRecoveryMs:b.driftRecoveryMs.toString(),breakDurationMs:Math.round(b.zw-b.Uy).toString(),driftFromHeadMs:Math.round(1E3*SS(a.w.app)).toString()}})}; Pla=function(a,b){a.u&&bW({adTrimmingInfo:{contentCpn:a.o.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,adMediaInfo:b.KB}})}; cW=function(a,b){bW({daiStateTrigger:{errorType:a,contentCpn:b}})}; bW=function(a){zr("adsClientStateChange",a)}; Mla=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"}}; eW=function(a){this.u=a;this.da=(a=!g.P(this.u.O().experiments,"html5_ad_csi_tracker_initialization_killswitch"))?this.u.O().deviceParams.c:g.ro("INNERTUBE_CLIENT_NAME",void 0);this.aa=a?this.u.O().deviceParams.cver:g.ro("INNERTUBE_CLIENT_VERSION",void 0);this.T=a?this.u.O().deviceParams.cbrand:"";this.V=a?this.u.O().deviceParams.cmodel:"";this.J="AD_PLACEMENT_KIND_UNKNOWN";this.B=this.H=this.F=this.C=null;this.o="unknown_type";this.K=!0;this.U=this.w=this.G=!1;this.P="vod";this.A=null}; fW=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}; gW=function(a){a.w=!1;a=g.P(a.u.O().experiments,"ad_to_video_use_gel");zB("ad_to_video",["pbresume"],void 0,a)}; Qla=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"}}; hW=function(a){this.o=a}; iW=function(a){a=[a,a.A].filter(function(d){return!!d}); for(var b=g.p(a),c=b.next();!c.done;c=b.next())c.value.o=!0;return a}; jW=function(a,b){var c=a.o;g.Ik(function(){g.ZS(c.o.app,b,1);for(var d=g.p(b),e=d.next();!e.done;e=d.next())e=e.value,c.F["delete"](e),c.B["delete"](e)})}; kW=function(a,b,c,d,e,f,k,l){g.O.call(this);this.lc=a;this.ca=b;this.o=d;this.B=this.o.o instanceof jL?this.o.o:null;this.u=null;this.K=!1;this.F=c;this.J=(a=b.getVideoData(1))&&a.sa||!1;this.P=0;this.T=!1;this.V=g.P(b.O().experiments,"abort_ad_on_browser_autoplay_blocked");this.qe=e;this.Vh=f;this.Xf=k;this.U=!1;this.Ob=l}; lW=function(a){if(lU(a.ca)){var b=a.ca.getVideoData(2);(b=a.o.G[b.Bb]||null)?(!a.u||a.u&&a.u.Wf!==b)&&a.Rb(b):a.vk()}else 1===a.ca.getPresentingPlayerType()&&a.u&&a.vk()}; mW=function(a){(a=a.baseUrl)&&g.Wp(a,void 0,Ym(a))}; nW=function(a,b){var c=a.F,d=a.o.sb().w,e=a.bv(),f=a.dv();var k=a.isLiveStream()?"live":"vod";fW(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?fW(c):(c.o=c.K?b?"unknown_type":"video_to_ad":b?"ad_to_video":"ad_to_ad",c.P=k,c.U=e+1==f,c.G=!0,c.G&&(EB("c",c.da,c.o),EB("cver",c.aa,c.o),g.P(c.u.O().experiments,"html5_ad_csi_tracker_initialization_killswitch")||(EB("cbrand",c.T,c.o), EB("cmodel",c.V,c.o)),EB("yt_pt","html5",c.o),EB("yt_pre","2",c.o),EB("yt_abt",Qla(c.J),c.o),c.C&&EB("cpn",c.C,c.o),c.H&&EB("docid",c.H,c.o),c.F&&EB("ad_cpn",c.F,c.o),c.B&&EB("ad_docid",c.B,c.o),EB("yt_vst",c.P,c.o),c.A&&EB("ad_at",c.A,c.o)))}; pW=function(a,b){b=void 0===b?!1:b;oW(a.lc,a.o.sb(),a);b||Cr("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED");a.Ob&&!a.o.F&&(Rla(a,a.ev()),a.o.F=!0)}; Rla=function(a,b){for(var c=qW(a),d=a.o.sb().start,e=[],f=g.p(b),k=f.next();!k.done;k=f.next()){k=k.value;if(c<=d)break;var l=rW(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);if(!Sla(a,k,d,m)||l!==m)break;d=l}c=b.reduce(function(n,q){return n+rW(q)},0); Ola(a.qe,fla(a.o.sb()),c);Pla(a.qe,{cueIdentifier:a.o.u&&a.o.u.identifier,KB:e})}; rW=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)}; Sla=function(a,b,c,d){c=a.Xf.create(b,QT(OT(a.o))).Nu(c,d);if(!c)return!1;a.o.G[c]=b;return!0}; Tla=function(a){if(a.T)return function(c){c.seekTo(Infinity,!0,void 0,1)}; var b=Math.floor((0,g.A)()/1E3)-a.P;return function(c){c.seekTo(c.getCurrentTime()+b,!0,void 0,1)}}; sW=function(a,b,c,d){this.o=a;this.u=b;this.w=c;this.A=d}; Ula=function(a){return tW(a.renderer&&a.renderer.adBreakServiceRenderer&&a.renderer.adBreakServiceRenderer.getAdBreakUrl||"")}; tW=function(a){if(!a)return!1;a=Rf(a,"post_data");if(!a)return!1;try{var b=decodeURIComponent(a)}catch(c){return g.N(c),!1}return b?b.split("&").some(function(c){c=c.split("=");return 1c.width||b.height>c.height}; tY=function(a,b,c){var d=g.bc(a.macros),e=g.xg(b);d.AW={toString:function(){return e.width.toString()}}; d.AH={toString:function(){return e.height.toString()}}; var f=g.ug(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.K.toString()}}; a.J.forEach(function(k){return a.ma.La(k,d)}); a.api.pauseVideo()}; xY=function(a,b){var c=a.api.getRootNode();g.L(c,"ytp-ad-overlay-open",b);g.L(c,"ytp-ad-overlay-closed",!b)}; yY=function(a,b,c){SX.call(this,a,b,{D:"div",I:"ytp-ad-message-overlay",L:[{D:"div",I:"ytp-ad-message-slot"}]},"ad-message",c);var d=this;this.V=-1;this.Z=this.u["ytp-ad-message-slot"];this.B=new g.Gu({D:"span",I:"ytp-ad-message-container"});this.B.o(this.Z);g.H(this,this.B);this.A=new WX(this.api,this.ma,"ytp-ad-message-text");g.H(this,this.A);this.A.o(this.B.element);this.J=new g.CL(this.B,400,!1,100,function(){return d.hide()}); g.H(this,this.J);this.F=0;this.K=!1;this.hide()}; zY=function(a,b){var c=a.api.getRootNode();g.L(c,"ytp-ad-overlay-open",b);g.L(c,"ytp-ad-overlay-closed",!b)}; AY=function(a,b,c,d){d=void 0===d?!1:d;Z.call(this,a,b,{D:"div",I:"ytp-ad-seek-ad-slot"},"seek-ad");this.K=null;this.V=0;this.B=this.C=this.w=this.A=null;this.F=c;g.H(this,this.F);this.J=null;this.Z=!1;this.ba=d;this.hide()}; BY=function(a,b,c){SX.call(this,a,b,{D:"div",I:"ytp-ad-skip-ad-slot"},"skip-ad",c);this.J=!1;this.F=0;this.B=this.A=null;this.hide()}; CY=function(a,b){a.J||(a.J=!0,a.A&&(b?a.A.J.hide():a.A.hide()),b?a.B.Ye():a.B.show())}; DY=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-persisting-overlay",L:[{D:"div",I:"ytp-ad-persisting-overlay-skip"}]},"persisting-overlay");this.A=this.u["ytp-ad-persisting-overlay-skip"];this.w=c;g.H(this,this.w);this.hide()}; EY=function(a,b,c){SX.call(this,a,b,{D:"span",I:"ytp-ad-duration-remaining"},"ad-duration-remaining",c);this.A=null;this.hide()}; FY=function(a,b){WX.call(this,a,b,"ytp-video-ad-top-bar-title","ad-title")}; GY=function(a,b,c){SX.call(this,a,b,{D:"div",X:["ytp-flyout-cta","ytp-flyout-cta-inactive"],L:[{D:"div",I:"ytp-flyout-cta-icon-container"},{D:"div",I:"ytp-flyout-cta-body",L:[{D:"div",I:"ytp-flyout-cta-text-container",L:[{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.J=new PX(this.api,this.ma,"ytp-flyout-cta-icon");g.H(this,this.J);this.J.o(this.u["ytp-flyout-cta-icon-container"]); this.F=new WX(this.api,this.ma,"ytp-flyout-cta-headline");g.H(this,this.F);this.F.o(this.u["ytp-flyout-cta-headline-container"]);this.B=new WX(this.api,this.ma,"ytp-flyout-cta-description");g.H(this,this.B);this.B.o(this.u["ytp-flyout-cta-description-container"]);this.A=new RX(this.api,this.ma,["ytp-flyout-cta-action-button"]);g.H(this,this.A);this.A.o(this.u["ytp-flyout-cta-action-button-container"]);this.K=null;this.V=0;this.hide()}; HY=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"toggle-button":d;var e=Y("ytp-ad-toggle-button-input");Z.call(this,a,b,{D:"div",X:["ytp-ad-toggle-button"].concat(c),L:[{D:"label",I:"ytp-ad-toggle-button-label",N:{"for":e},L:[{D:"span",I:"ytp-ad-toggle-button-icon",L:[{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",N:{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.B=this.u["ytp-ad-toggle-button"];this.w=this.u["ytp-ad-toggle-button-input"];this.Z=this.u["ytp-ad-toggle-button-icon"];this.F=this.u["ytp-ad-toggle-button-untoggled-icon"];this.C=this.u["ytp-ad-toggle-button-toggled-icon"];this.V=this.u["ytp-ad-toggle-button-text"];this.A=null;this.J=!1;this.K=null;this.hide()}; IY=function(a){a.J&&(a.isToggled()?(g.yg(a.F,!1),g.yg(a.C,!0)):(g.yg(a.F,!0),g.yg(a.C,!1)))}; bna=function(a,b){var c=null;a.A&&(c=(b?[a.A.defaultServiceEndpoint,a.A.defaultNavigationEndpoint]:[a.A.toggledServiceEndpoint]).filter(function(d){return null!=d})); return c||[]}; JY=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.w=null;this.B=new HY(this.api,this.ma,["ytp-ad-instream-user-sentiment-like-button"]);g.H(this,this.B);this.B.o(this.element);this.A=new HY(this.api,this.ma,["ytp-ad-instream-user-sentiment-dislike-button"]);g.H(this,this.A);this.A.o(this.element);this.C=new g.CL(this,400,!1,500,function(){return d.hide()}); g.H(this,this.C);this.F=null;this.hide()}; cna=function(a,b){a.B.init(Y("toggle-button"),a.w.likeButton.toggleButtonRenderer,b);a.A.init(Y("toggle-button"),a.w.dislikeButton.toggleButtonRenderer,b);a.F=a.M(a.element,"change",a.Px)}; KY=function(a,b){RX.call(this,a,b,["ytp-ad-visit-advertiser-button"],"visit-advertiser");this.B=null}; LY=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.w=c;this.hide()}; NY=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-player-overlay",L:[{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.F=this.u["ytp-ad-player-overlay-flyout-cta"];this.A=this.u["ytp-ad-player-overlay-instream-info"];this.C=null;if(MY(this)){a=g.Qd("div");g.K(a,"ytp-ad-player-overlay-top-bar-gradients"); b=this.A;b.parentNode&&b.parentNode.insertBefore(a,b);if((b=this.api.getVideoData(2))&&b.isListed&&b.title){var d=new FY(this.api,this.ma);d.o(a);d.init(Y("ad-title"),{text:b.title},this.macros);g.H(this,d)}this.C=a}this.B=this.u["ytp-ad-player-overlay-skip-or-preview"];this.K=this.u["ytp-ad-player-overlay-progress-bar"];this.J=this.u["ytp-ad-player-overlay-instream-user-sentiment"];this.w=c;g.H(this,this.w);this.hide()}; MY=function(a){a=a.api.O();return qz(a)&&a.o}; OY=function(a,b){var c=g.P(a.O().experiments,"use_revamped_survey_design_for_desktop"),d=c?"ytp-ad-survey-answer-rs":"ytp-ad-survey-answer";Z.call(this,a,b,{D:"div",I:d},"survey-answer");this.B=c;this.A=this.u[d];this.w=null;this.C="";this.hide()}; PY=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-none-of-the-above"},"survey-none-of-the-above");this.A=this.u["ytp-ad-survey-none-of-the-above"];this.w=null;this.hide()}; QY=function(a,b){RX.call(this,a,b,["ytp-ad-survey-submit-button"],"survey-submit")}; RY=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-player-overlay",L:[{D:"div",I:"ytp-ad-survey-player-overlay-instream-info"},{D:"div",I:"ytp-ad-survey-player-overlay-skip-preview-submit",L:[{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.F=this.u["ytp-ad-survey-player-overlay-instream-info"];this.A={};this.J=this.u["ytp-ad-survey-player-overlay-skip-or-preview"]; this.w=null;this.K=this.u["ytp-ad-survey-player-overlay-submit"];this.B=null;this.C=c;g.H(this,this.C);this.hide()}; SY=function(a,b,c,d){var e=g.P(a.O().experiments,"use_revamped_survey_design_for_desktop"),f=e?"ytp-ad-survey-question-rs":"ytp-ad-survey-question",k=e?"ytp-ad-survey-question-text-rs":"ytp-ad-survey-question-text",l=e?"ytp-ad-survey-answers-rs":"ytp-ad-survey-answers";e=e?"ytp-ad-survey-question-background-rs":"ytp-ad-survey-question-background";Z.call(this,a,b,{D:"div",I:f,L:[{D:"div",X:[k,"ytp-ad-survey-question-foreground"]},{D:"div",X:[l,"ytp-ad-survey-question-foreground"]},{D:"div",X:["ytp-ad-survey-question-player-overlay", "ytp-ad-survey-question-foreground"]},{D:"div",I:e}]},c);this.question=this.u[f];this.ga=this.u[e];this.V=this.u[k];this.answers=this.u[l];this.K=this.u["ytp-ad-survey-question-player-overlay"];this.F=null;this.B=[];this.w=null;this.C=(0,g.A)();this.ba=d}; TY=function(a,b,c){var d=new OY(a.api,a.ma);d.o(a.answers);d.init(Y("survey-answer"),b,c);a.B.push(d)}; UY=function(a,b){if(b){var c=b.background;c&&c.instreamSurveyAdBackgroundImageRenderer&&(c=(c=c.instreamSurveyAdBackgroundImageRenderer.image)&&OX(c)||"",g.xb(c)?g.uo(Error("Found ThumbnailDetails without valid image URL")):g.eg(a.ga,"backgroundImage","url("+c+")"));dna(a,b)}else g.N(Error("addCommonComponents() needs to be called before starting countdown."))}; dna=function(a,b){if(null==b.durationMilliseconds||void 0==b.durationMilliseconds||0==b.durationMilliseconds)g.N(Error("durationMilliseconds unset or 0 for SurveyAdQuestionCommon: "+JSON.stringify(b)));else{a.C=(0,g.A)();a.w=new dY(b.durationMilliseconds,a.ma,a.ba);g.H(a,a.w);if(b.timeoutCommands){var c=b.timeoutCommands;a.w.subscribe("r",function(){c.forEach(function(e){return a.ma.La(e,a.macros)})})}if(a.w&&b.instreamAdPlayerOverlay&&b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)try{var d= new RY(a.api,a.ma,a.w); d.o(a.K);d.init(Y("survey-player-overlay"),b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer,a.macros);a.F=d;g.H(a,d);a.uz()}catch(e){g.N(Error("ISAPOR had an error when initializing. Error: "+(e+" SurveyAdQuestionCommon: "+JSON.stringify(b))))}else g.N(Error("ISAPOR was not present in renderer. SurveyAdQuestionCommon: "+JSON.stringify(b)));a.w&&b.durationMilliseconds&&0a.Ea.length?0:-a.w*a.Ea[1].element.clientWidth)+"px");g.Fu(a.B,0a.Ea.length?1:Math.round((a.element.clientWidth-a.Ea[0].element.clientWidth)/a.Ea[1].element.clientWidth)+1}; mZ=function(){LW.call(this,!0);this.yd=new jZ}; nZ=function(){LW.call(this,!1);this.u=new g.T({D:"div",I:"iv-btp-card",L:[{D:"a",I:"iv-btp-card-content",L:[{D:"div",W:"{{cards}}"}]}]});g.H(this,this.u);var a={D:"div",I:"iv-btp-card-merchant",L:[{D:"span",I:"iv-btp-card-merchant-text",W:"{{merchant}}"}]};this.A=new g.Au({D:"div",X:["iv-btp-small-card","yt-uix-hovercard-target"],N:{"data-position":"bottomright","data-orientation":"vertical"},L:[{D:"div",X:["iv-btp-card-image","yt-uix-hovercard-anchor"],W:"{{image}}"},{D:"div",I:"iv-btp-card-info", L:[{D:"span",I:"iv-btp-card-action",W:"{{price}}"},a]},{D:"div",X:["yt-uix-hovercard-content","iv-btp-hovercard"],W:"{{hovercard}}"}]});g.H(this,this.A);this.o=new g.Au({D:"div",I:"iv-btp-large-card",L:[{D:"div",I:"iv-btp-card-image",L:[{D:"span"},{D:"div",I:"iv-btp-card-image-aligned",W:"{{image}}"}]},{D:"div",I:"iv-btp-card-info",L:[{D:"div",I:"iv-btp-card-text-box",L:[{D:"div",I:"iv-btp-card-text-valign",L:[{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.H(this,this.o);this.w=new g.Au({D:"div",I:"iv-btp-hovercard-text-box",L:[{D:"a",L:[{D:"div",X:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],W:"{{headline}}"}]},{D:"div",I:"iv-btp-hovercard-info",L:[{D:"span",I:"iv-btp-hovercard-action",W:"{{price}}"},a]},{D:"div",W:"{{review}}"}]});g.H(this,this.w);this.B=new g.Au({D:"div",I:"iv-btp-card-review",L:[{D:"div",I:"iv-btp-card-rating",L:[{D:"span",I:"iv-btp-card-rating-bg", L:[{D:"span",I:"iv-btp-card-rating-fg"}]}]},{D:"span",I:"iv-btp-card-reviews",W:"{{reviewText}}"}]});g.H(this,this.B);this.A.updateValue("hovercard",this.w);this.u.updateValue("cards",[this.A,this.o]);this.pd()}; oZ=function(a,b,c){c=c?KW(c):null;a.updateValue(b,c)}; pZ=function(a,b){MW.call(this,a,b,function(){return new qna.Qo}); this.o=null;this.pd()}; qZ=function(){LW.call(this,!0);this.o=new g.T({D:"div",I:"iv-btp-companion",L:[{D:"div",I:"iv-btp-block-clicks"},{D:"div",I:"iv-btp-attribution",L:[{D:"span",I:"iv-btp-title",W:"{{shopText}}"},{D:"div",I:"ad-info-container",L:[{D:"span",I:"iv-btp-sponsored",W:"{{sponsoredText}}"},{D:"button",I:"ad-info-icon"}]}]}]});g.H(this,this.o);this.w=this.o.u["iv-btp-block-clicks"];this.u=new cZ;g.H(this,this.u);this.A=jna(this.u,this.o.element);this.pd()}; sZ=function(a,b){MW.call(this,a,b,function(){return new rZ.tB}); this.ea=new g.Rs(this);g.H(this,this.ea);this.wh=[];this.Zd=null;this.yd=new rZ.Mo;g.H(this,this.yd);this.view.append(this.yd);this.pe=new rZ.MA(a,b,new xW(this.Kc().o.u["ad-info-icon"]));g.H(this,this.pe);this.pe.Qh(this.view);this.pd()}; rna=function(a){var b=a.Kc();g.yg(b.w,!0);Vk([a.Zd,il(1E3)]).then(function(){g.yg(b.w,!1)})}; tZ=function(){LW.call(this,!0);var a=this;this.A=this.u=0;this.o=new g.T({D:"div",I:"iv-cards-slider",L:[{D:"div",I:"iv-cards-slider-body",L:[{D:"ul",I:"iv-cards-slider-list"}]},{D:"button",X:["iv-cards-slider-button","iv-cards-slider-prev"],N:{type:"button",onclick:";return false;"},L:[{D:"span",X:["iv-cards-slider-prev-icon","yt-sprite"]}]},{D:"button",X:["iv-cards-slider-button","iv-cards-slider-next"],N:{type:"button",onclick:";return false;"},L:[{D:"span",X:["iv-cards-slider-next-icon","yt-sprite"]}]}]}); this.F=g.Fd("iv-cards-slider-list",this.o.element);if(this.w=g.Fd("iv-cards-slider-prev",this.o.element))this.o.M(this.w,"click",function(){a.dispatchEvent({type:"prevbuttonclick"})}),g.yg(this.w,!1); (this.B=g.Fd("iv-cards-slider-next",this.o.element))&&this.o.M(this.B,"click",function(){a.dispatchEvent({type:"nextbuttonclick"})}); g.H(this,this.o)}; uZ=function(a){a.F.style.left=125*-a.u+"px";a.w&&g.yg(a.w,0>16,a>>8&255,a&255]}; vna=function(){if(!g.Kd)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}; g.KZ=function(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;sf();a=Tc(a,null);return b.parseFromString(g.Pc(a),"application/xml")}if(wna){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.LZ=function(a){g.E.call(this);this.u=a;this.o={}}; MZ=function(a,b,c,d,e,f){if(g.Ka(c))for(var k=0;k=f}}); ma("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=za(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,k=Math.max(0,Math.min(c|0,d.length)),l=0;l=f}}); ma("String.prototype.repeat",function(a){return a?a:function(b){var c=za(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); ma("Array.prototype.keys",function(a){return a?a:function(){return Aa(this,function(b){return b})}}); ma("Array.prototype.values",function(a){return a?a:function(){return Aa(this,function(b,c){return c})}}); var yna="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;cb?-c:c}}); ma("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);cf&&(f=Math.max(f+e,0));f>>0);faa=0;g.A=Date.now||function(){return+new Date};g.Sa(Ta,Error);Ta.prototype.name="CustomError";var Ad;g.Sa(Ua,Ta);Ua.prototype.name="AssertionError";var Za,Vh;Za=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0); for(var c=0;cc&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1}; g.z=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,Bb=/"/g,Cb=/'/g,Db=/\x00/g,qaa=/[\x00&<>"']/;a:{var UZ=g.u.navigator;if(UZ){var VZ=UZ.userAgent;if(VZ){g.Jb=VZ;break a}}g.Jb=""};var dc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var Bna={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};qc.prototype.If=!0;qc.prototype.he=function(){return this.o}; var pc={},oc={},Haa=g.sc("");var Ada=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),iQ=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),zM=RegExp("^[^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"), rn=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),zda=/^http:\/\/.*/,yda=/\s+/,Bda=/[\d\u06f0-\u06f9]/;xc.prototype.If=!0;xc.prototype.he=function(){return this.u.toString()}; xc.prototype.eq=!0;xc.prototype.o=function(){return 1}; var vaa=/%{(\w+)}/g,uaa=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,uc={},tc={};g.Bc.prototype.If=!0;g.Bc.prototype.he=function(){return this.u.toString()}; g.Bc.prototype.eq=!0;g.Bc.prototype.o=function(){return 1}; var yaa=/^(?: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,xaa=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,Ec=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Ac={},zc={};Ic.prototype.If=!0;var Hc={};Ic.prototype.he=function(){return this.o}; var Cna=Jc(""),Aaa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Mc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Lc=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),Baa=/\/\*/;Oc.prototype.eq=!0;Oc.prototype.o=function(){return this.w}; Oc.prototype.If=!0;Oc.prototype.he=function(){return this.u.toString()}; var WZ=/^[a-zA-Z0-9-]+$/,Dna={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Ena={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Nc={};Tc("",0);var Sc=Tc("",0);Tc("
",0);var Gaa=nc(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.Pc(Sc);return!b.parentElement});var Kaa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};jd[" "]=g.Ha;var gg,EH,cT,Fna,XZ,Gna,Jy,Ky,qJ,YZ;g.hg=Kb("Opera");g.Kd=Kb("Trident")||Kb("MSIE");g.Px=Kb("Edge");g.Bu=g.Px||g.Kd;gg=Kb("Gecko")&&!(Fb(g.Jb,"WebKit")&&!Kb("Edge"))&&!(Kb("Trident")||Kb("MSIE"))&&!Kb("Edge");g.Md=Fb(g.Jb,"WebKit")&&!Kb("Edge");EH=Kb("Macintosh");cT=Kb("Windows");g.Tp=Kb("Android");Fna=hd();XZ=Kb("iPad");Gna=Kb("iPod");Jy=id();Ky=Fb(g.Jb,"KaiOS");qJ=Fb(g.Jb,"GAFP"); a:{var ZZ="",$Z=function(){var a=g.Jb;if(gg)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.Px)return/Edge\/([\d\.]+)/.exec(a);if(g.Kd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Md)return/WebKit\/(\S+)/.exec(a);if(g.hg)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); $Z&&(ZZ=$Z?$Z[1]:"");if(g.Kd){var a_=ld();if(null!=a_&&a_>parseFloat(ZZ)){YZ=String(a_);break a}}YZ=ZZ}var md=YZ,Maa={},b_;b_=g.u.document&&g.Kd?ld():void 0;var Oaa=b_;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var Paa=!g.Kd||g.od(9),Raa=!gg&&!g.Kd||g.Kd&&g.od(9)||gg&&g.nd("1.9.1"),Taa=g.Kd||g.hg||g.Md;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 Gd={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 Od(this.o,a)}; g.h.appendChild=g.Td;g.h.append=function(a,b){Pd(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.removeNode=g.Yd;g.h.contains=g.be;var Ty,wC;g.Cx=gc();Ty=hd()||Kb("iPod");wC=Kb("iPad");g.Ly=g.jc();g.Hs=hc();g.rz=ic()&&!id();var ke={},oe=null;var Ke=0,Le=0;var re=[];qe.prototype.clone=function(){return se(this.u,this.A,this.w-this.A)}; qe.prototype.clear=function(){this.u=null;this.o=this.w=this.A=0;this.B=!1}; qe.prototype.reset=function(){this.o=this.A};ve.prototype.reset=function(){this.o.reset();this.u=this.w=-1};Ce.prototype.length=function(){return this.o.length}; Ce.prototype.end=function(){var a=this.o;this.o=[];return a};Fe.prototype.reset=function(){this.w=[];this.o.end();this.u=0};var Ue="function"==typeof Uint8Array,Ve=[];Te.prototype.toString=function(){kf(this);return this.u.toString()}; Te.prototype.clone=function(){return new this.constructor(lf(hf(this)))};var yi;yi=["av.key","js","unreleased"].slice(-1)[0];var Cg=document,D=window;g.h=mf.prototype;g.h.isEnabled=function(){return navigator.cookieEnabled}; g.h.set=function(a,b,c,d,e,f){if("object"===typeof c){var k=c.u;f=c.w;e=c.domain;d=c.path;c=c.o}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===c&&(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.A)()+1E3*c)).toUTCString();this.o.cookie=a+"="+b+e+d+c+f+(null!=k?";samesite="+k:"")}; 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()),qf(this,a.getDate()))}; g.h.toString=function(){return[this.getFullYear(),g.bd(this.getMonth()+1,2),g.bd(this.getDate(),2)].join("")+""}; g.h.valueOf=function(){return this.date.valueOf()};var sf=g.Ha;var yf=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Qf=/#|$/,Yaa=/[?&]($|#)/;var bba=/https?:\/\/[^\/]+/,$aa={lN:"allow-forms",mN:"allow-modals",nN:"allow-orientation-lock",oN:"allow-pointer-lock",pN:"allow-popups",qN:"allow-popups-to-escape-sandbox",rN:"allow-presentation",sN:"allow-same-origin",tN:"allow-scripts",uN:"allow-top-navigation",vN:"allow-top-navigation-by-user-activation"},eba=nc(function(){return aba()});var gba=nc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}}); g.u.addEventListener("test",null,b)}catch(c){}return a});var wba={IP:1,wQ:2,pP:3};g.h=Zf.prototype;g.h.Ff=function(){return this.right-this.left}; g.h.getHeight=function(){return this.bottom-this.top}; g.h.clone=function(){return new Zf(this.top,this.right,this.bottom,this.left)}; g.h.contains=function(a){return this&&a?a instanceof Zf?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.bg.prototype;g.h.clone=function(){return new g.bg(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 fg={};var Ag=!!window.google_async_iframe_id,Bg=Ag&&window.parent||window;rc(g.sc("//fonts.googleapis.com/css"));var Oba={NONE:0,jO:1};Gg.prototype.isVisible=function(){return this.lh?.3<=this.jb:.5<=this.jb};var mh={XN:0,sO:1},vba={NONE:0,ZO:1,yO:2};Hg.prototype.getValue=function(){return this.o}; g.r(Jg,Hg);Jg.prototype.w=function(a){null===this.o&&g.Wb(this.A,a)&&(this.o=a)}; g.r(Kg,Hg);Kg.prototype.w=function(a){null===this.o&&Ea(a)&&(this.o=a)};Lg.prototype.disable=function(){this.w=!1}; Lg.prototype.enable=function(){this.w=!0}; Lg.prototype.isEnabled=function(){return this.w}; Lg.prototype.reset=function(){this.o={};this.w=!0;this.u={}};g.Ti=!g.Kd&&!ic();Qg.prototype.now=function(){return 0}; Qg.prototype.u=function(){return 0}; Qg.prototype.w=function(){return 0}; Qg.prototype.o=function(){return 0};g.r(Sg,Qg);Sg.prototype.now=function(){return Rg()&&D.performance.now?D.performance.now():Qg.prototype.now.call(this)}; Sg.prototype.u=function(){return Rg()&&D.performance.memory?D.performance.memory.totalJSHeapSize||0:Qg.prototype.u.call(this)}; Sg.prototype.w=function(){return Rg()&&D.performance.memory?D.performance.memory.usedJSHeapSize||0:Qg.prototype.w.call(this)}; Sg.prototype.o=function(){return Rg()&&D.performance.memory?D.performance.memory.jsHeapSizeLimit||0:Qg.prototype.o.call(this)};Ug.prototype.isVisible=function(){return 1===Tg(Cg)};var lba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;fh.prototype.setInterval=function(a,b){return D.setInterval(a,b)}; fh.prototype.clearInterval=function(a){D.clearInterval(a)}; fh.prototype.setTimeout=function(a,b){return D.setTimeout(a,b)}; fh.prototype.clearTimeout=function(a){D.clearTimeout(a)}; Ia(fh);jh.prototype.getContext=function(){if(!this.o){if(!D)throw Error("Context has not been set and window is undefined.");this.o=fh.getInstance()}return this.o}; Ia(jh);g.Sa(kh,Te);nh.prototype.Jr=function(a){if(Ea(a)&&0!=a.length){var b=this.Ga;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.C?a:this;b!==this.o?(this.B=this.o.B,ji(this)):this.B!==this.o.B&&(this.B=this.o.B,ji(this))}; g.h.kh=function(a){if(a.u===this.o){var b;if(!(b=this.aa)){b=this.w;var c=this.G;b=!(a&&(void 0===c||!c||b.volume==a.volume)&&b.w==a.w&&$f(b.o,a.o))}this.w=a;b&&oi(this)}}; g.h.cf=function(){return this.G}; g.h.dispose=function(){this.ib=!0}; g.h.ia=function(){return this.ib};g.h=pi.prototype;g.h.Gq=function(){return!0}; g.h.fn=function(){}; g.h.Pl=function(){this.element&&(this.u=$h(this.element,this.o.o.hd))}; g.h.hu=function(){this.B=this.o.w.o}; g.h.vf=function(){this.Pl();this.A=new fi(this.o.w,this.u,this.A.o,this.A.u,this.A.F,Jh(),this.A.w)}; g.h.dispose=function(){if(!this.ia()){var a=this.o;g.db(a.A,this);a.G&&this.cf()&&ni(a);this.ib=!0}}; g.h.ia=function(){return this.ib}; g.h.og=function(){return this.o.og()}; g.h.Ef=function(){return this.o.Ef()}; g.h.Gj=function(){return this.o.Gj()}; g.h.ji=function(){}; g.h.kh=function(){this.vf()}; g.h.cf=function(){return this.J};g.h=qi.prototype;g.h.Ef=function(){return this.o.Ef()}; g.h.Gj=function(){return this.o.Gj()}; g.h.create=function(a,b,c){var d=null;this.o&&(d=this.en(a,b,c),li(this.o,d));return d}; g.h.Hh=function(){return this.ae()}; g.h.ae=function(){return!1}; g.h.init=function(){return!0}; g.h.dispose=function(){this.ib=!0}; g.h.ia=function(){return this.ib}; g.h.og=function(){return{}};ti.prototype.add=function(a,b,c){++this.w;var d=this.w/4096;this.o.push(Hba(new ri(a,b,c),d));this.u=!0;return this};zi.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=vi(this.o);0=k;k=!(0=k)||c;this.o[e].update(f&&l,d,!f||k)}};Qi.prototype.update=function(a,b,c,d){this.F=-1!=this.F?Math.min(this.F,b.jb):b.jb;this.K=Math.max(this.K,b.jb);this.U=-1!=this.U?Math.min(this.U,b.fd):b.fd;this.T=Math.max(this.T,b.fd);this.oa.update(b.fd,c.fd,b.o,a,d);this.u.update(b.jb,c.jb,b.o,a,d);c=d||c.lh!=b.lh?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.o;this.aa.update(c,a,b)}; Qi.prototype.nh=function(){return this.aa.w>=this.fa};var Si=new Zf(0,0,0,0);g.r(Ui,g.E);g.h=Ui.prototype;g.h.Y=function(){this.Ic.o&&(this.Wg.wr&&(Yf(this.Ic.o,"mouseover",this.Wg.wr),this.Wg.wr=null),this.Wg.vr&&(Yf(this.Ic.o,"mouseout",this.Wg.vr),this.Wg.vr=null));this.al&&this.al.dispose();this.Va&&this.Va.dispose();delete this.Zm;delete this.an;delete this.lA;delete this.Ic.yg;delete this.Ic.o;delete this.Wg;delete this.al;delete this.Va;delete this.Ga;g.E.prototype.Y.call(this)}; g.h.Nd=function(){return this.Va?this.Va.u:this.position}; g.h.Jr=function(a){nh.getInstance().Jr(a)}; g.h.cf=function(){return!1}; g.h.xm=function(){return new Qi}; g.h.Ad=function(){return this.Zm}; g.h.Ew=function(){}; g.h.Dw=function(){}; g.h.Mv=function(){}; g.h.uo=function(){}; g.h.Xi=function(a,b,c,d,e,f,k,l){f=void 0===f?{}:f;k=void 0===k?this.Ev(c,f):k;l=void 0===l?-1:l;if(!this.ti){Fa(b)||(this.Ck=new g.sd(a.left-b.left,a.top-b.top));if(this.fm){f=this.Xo(a,b,d,f,l);e=e&&this.Yc.jb>=(this.lh()?.3:.5);this.Is(k,f,e);this.ck=c;0=bi(this.Nd())||di(c,b,this.Ic.o,d))return 0;d=bi(c)/bi(this.Nd());c=ci(c,b);return this.Xk()?Math.max(d,c):d}; g.h.lh=function(){return!1}; g.h.Xk=function(){return!1}; g.h.Ke=function(){return 0}; g.h.nh=function(){return this.Zm.nh()};var Zi="StopIteration"in g.u?g.u.StopIteration:{message:"StopIteration",stack:""};Yi.prototype.next=function(){throw Zi;}; Yi.prototype.tf=function(){return this};g.r(bj,Gg);fj.prototype.getValue=function(){return this.u}; fj.prototype.update=function(a,b){32<=a||(this.o&1<=c||(c=g.w("ima.bridge.getNativeViewability"),g.Ma(c)&&(c(this.wc,function(d){b.ba=!1;g.Zb(d)&&b.oa++;b.uo(d)}),this.ba=!0,this.za=a))}; g.h.Dw=function(a){var b=nh.getInstance();a-this.ya>Oh(b.u)&&(a=g.w("ima.admob.getViewability"),g.Ma(a)&&a(this.wc))}; g.h.Mv=function(a){this.ya=Jh();this.uo(a)}; g.h.uo=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume;b=new Zf(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);a=a.opt_nativeViewHidden?Ina.clone():new Zf(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);c=void 0;if("n"==this.A||"ml"==this.A)c={volume:e};e=c;e=void 0===e?{}:e;this.position=b;this.Xi(b,a,d,!1,!0,e)}; g.h.Xi=function(a,b,c,d,e,f,k,l){var m=this;f=void 0===f?{}:f;var n=this.Z(this)||{};g.ec(n,f);this.B=n.duration||this.B;this.H=n.isVpaid||this.H;this.aa=n.isYouTube||this.aa;Ui.prototype.Xi.call(this,a,b,c,d,e,n,k,l);(1!=Og(nh.getInstance().Ga,"buvpe")||this.ph&&this.ph.o)&&(0,g.z)(this.F,function(q){q.o||(q.o=kj(q,m))})}; g.h.Is=function(a,b,c){Ui.prototype.Is.call(this,a,b,c);oj(this).update(a,b,this.Yc,c);this.ra=cj(this.Yc)&&cj(b);-1==this.T&&this.na&&(this.T=this.Ad().w.o);this.oc.w=0;a=this.nh();b.isVisible()&&dj(this.oc,"vs");a&&dj(this.oc,"vw");Uh(b.volume)&&dj(this.oc,"am");cj(b)&&dj(this.oc,"a");this.li&&dj(this.oc,"f");-1!=b.u&&(dj(this.oc,"bm"),1==b.u&&dj(this.oc,"b"));cj(b)&&b.isVisible()&&dj(this.oc,"avs");this.ra&&a&&dj(this.oc,"avw");0e?1:d}e=c-this.K;var f=0;0<=e?(this.J+=d,this.V+=Math.max(d-e,0),f=Math.min(e,this.J)):this.fa+=Math.abs(e);0!=e&&(this.J=0);-1==this.ga&&0=a.bottom||a.left>=a.right?new Zf(0,0,0,0):a;a=this.o.w;var c=0,d=0,e=0;0<(this.u.bottom-this.u.top)*(this.u.right-this.u.left)&&(this.gw(b)?b=new Zf(0,0,0,0):(c=Wh.getInstance().A,e=new Zf(0,c.height,c.width,0),c=ci(b,this.u),d=ci(b,Wh.getInstance().o),e=ci(b,e)));b=b.top>=b.bottom||b.left>=b.right?new Zf(0,0,0,0):ag(b,-this.u.left,-this.u.top);this.A=new fi(a,this.u,b,c,d,this.timestamp,e)}; Oj.prototype.getName=function(){return this.o.getName()};g.r(Pj,qi);g.h=Pj.prototype;g.h.getName=function(){return(this.u?this.u:this.o).getName()}; g.h.og=function(){return(this.u?this.u:this.o).og()}; g.h.Ef=function(){return(this.u?this.u:this.o).Ef()}; g.h.init=function(a){this.A=a;(0,g.z)(this.w,function(b){return b.initialize()}); li(this.o,this);return!0}; g.h.dispose=function(){(0,g.z)(this.w,function(a){a.dispose()}); qi.prototype.dispose.call(this)}; g.h.Hh=function(){return Vh(this.w,function(a){return a.Hh()})}; g.h.ae=function(){return Vh(this.w,function(a){return a.ae()})}; g.h.en=function(a,b,c){return new Oj(a,this.o,b,c)}; g.h.ji=function(a){0==a.Ef()&&this.A(a.Gj(),this)}; g.h.kh=function(a){this.u=a.u}; g.h.cf=function(){return!1};g.r(Qj,Oj);g.h=Qj.prototype;g.h.Gq=function(){var a=this;this.H||(this.H=Jh());if(Gh(298,function(){return vca(a)}))return!0; ki(this.o,"msf");return!1}; g.h.Pl=function(){}; g.h.gw=function(){return!1}; g.h.hu=function(){}; g.h.og=function(){var a={};return Object.assign(this.o.og(),(a.niot_obs=this.H,a.niot_cbk=this.G,a))};var uca={threshold:[0,.3,.5,.75,1]};g.r(Sj,Qj);Sj.prototype.getName=function(){return"nio"}; Sj.prototype.fn=function(){if(this.w&&this.element)try{this.w.unobserve(this.element),this.F?(this.F.unobserve(this.element),this.F=null):this.C&&(this.C.disconnect(),this.C=null)}catch(a){}}; Sj.prototype.vf=function(){var a=Tj(this);0this.o.C&&(this.o=this,ji(this)),this.C=a);return 2==a}; Ia(Wj);Ia(Xj);g.Yj.prototype.stopPropagation=function(){this.o=!0}; g.Yj.prototype.preventDefault=function(){this.Bz=!1};var pk=!g.Kd||g.od(9),Kna=g.Kd&&!g.nd("9"),zca=function(){if(!g.u.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}}); try{g.u.addEventListener("test",g.Ha,b),g.u.removeEventListener("test",g.Ha,b)}catch(c){}return a}();var DQ;DQ=g.Md?"webkitAnimationEnd":g.hg?"oanimationend":"animationend";g.Sa(Zj,g.Yj);var Lna={2:"touch",3:"pen",4:"mouse"}; Zj.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?gg&&(kd(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=void 0!==a.clientX? a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Lna[a.pointerType]||"";this.state=a.state;this.u=a;a.defaultPrevented&&this.preventDefault()}; Zj.prototype.stopPropagation=function(){Zj.Ab.stopPropagation.call(this);this.u.stopPropagation?this.u.stopPropagation():this.u.cancelBubble=!0}; Zj.prototype.preventDefault=function(){Zj.Ab.preventDefault.call(this);var a=this.u;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Kna)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var ak="closure_listenable_"+(1E6*Math.random()|0),wca=0;ek.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=gk(a,b,d,e);-1>>0);g.Sa(g.wk,g.E);g.wk.prototype[ak]=!0;g.h=g.wk.prototype;g.h.addEventListener=function(a,b,c,d){ik(this,a,b,c,d)}; g.h.removeEventListener=function(a,b,c,d){qk(this,a,b,c,d)}; g.h.dispatchEvent=function(a){var b=this.aa;if(b){var c=[];for(var d=1;b;b=b.aa)c.push(b),++d}b=this.fa;d=a.type||a;if("string"===typeof a)a=new g.Yj(a,b);else if(a instanceof g.Yj)a.target=a.target||b;else{var e=a;a=new g.Yj(d,b);g.ec(a,e)}e=!0;if(c)for(var f=c.length-1;!a.o&&0<=f;f--){var k=a.currentTarget=c[f];e=xk(k,d,!0,a)&&e}a.o||(k=a.currentTarget=b,e=xk(k,d,!0,a)&&e,a.o||(e=xk(k,d,!1,a)&&e));if(c)for(f=0;!a.o&&f=e?1:0})}}("qnc",[1, .5,0]),qmv:"qmv",qa:"qas",a:"a"};g.r(El,ij);El.prototype.w=function(a){var b=Li(a.Ad().o,1);return rj(a,b)};g.r(Fl,ij);Fl.prototype.w=function(a){return a.Ad().nh()};g.r(Il,Lca);Il.prototype.o=function(a){var b=new Gl;b.o=Hl(a,Mna);b.w=Hl(a,Ona);return b};var Rna=new Zf(0,0,0,0);g.r(Jl,Oj);g.h=Jl.prototype;g.h.Gq=function(){this.w();return!0}; g.h.kh=function(){Oj.prototype.vf.call(this)}; g.h.iu=function(){}; g.h.Pl=function(){}; g.h.vf=function(){this.w();Oj.prototype.vf.call(this)}; g.h.ji=function(a){a=a.isActive();a!==this.C&&(a?this.w():(Wh.getInstance().o=new Zf(0,0,0,0),this.u=new Zf(0,0,0,0),this.B=new Zf(0,0,0,0),this.timestamp=-1));this.C=a};g.r(Kl,Jl);Kl.prototype.w=function(){var a=g.w("ima.admob.getViewability"),b=Og(this.Ga,"queryid");g.Ma(a)&&b&&a(b)}; Kl.prototype.getName=function(){return"gsv"};g.r(Ll,qi);Ll.prototype.Hh=function(){return 1===Og(nh.getInstance().Ga,"gms")&&this.ae()}; Ll.prototype.getName=function(){return"gsv"}; Ll.prototype.ae=function(){var a=Wh.getInstance();nh.getInstance();return a.u&&!1}; Ll.prototype.en=function(a,b,c){return new Kl(this.o,b,c)};g.r(Ml,Jl);Ml.prototype.w=function(){var a=this,b=g.w("ima.bridge.getNativeViewability"),c=Og(this.Ga,"queryid");g.Ma(b)&&c&&b(c,function(d){var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.u=Th(d.opt_nativeViewBounds||{});var k=a.o.w;k.o=f?Rna.clone():Th(e);a.timestamp=d.opt_nativeTime||-1;Wh.getInstance().o=k.o;d=d.opt_nativeVolume;void 0!==d&&(k.volume=d)})}; Ml.prototype.getName=function(){return"nis"};g.r(Nl,qi);Nl.prototype.Hh=function(){return 1===Og(nh.getInstance().Ga,"imams")&&this.ae()}; Nl.prototype.getName=function(){return"nis"}; Nl.prototype.ae=function(){var a=Wh.getInstance();nh.getInstance();return a.u&&!1}; Nl.prototype.en=function(a,b,c){return new Ml(this.o,b,c)};var Mca={iN:"addEventListener",AO:"getMaxSize",BO:"getScreenSize",CO:"getState",DO:"getVersion",QP:"removeEventListener"};g.r(Ol,ii);g.h=Ol.prototype;g.h.ae=function(){return null!=this.u}; g.h.tv=function(){var a={};this.V&&(a.mraid=this.V);this.P&&(a.mlc=1);this.J&&(a.mtop=this.J);this.H&&(a.mse=this.H);return a}; g.h.Pi=function(a,b){for(var c=[],d=1;d=d);return d})};var lm=(0,g.A)(),nm=!1,om=!1,pm=!1,bda=[function(a){return!(!a.chrome||!a.chrome.webstore)}, function(a){return!!a.document.documentMode}, function(a){return!!a.document.fonts.ready}, function(){return mm(0)}, function(a){return!!a.ActiveXObject}, function(a){return!!a.chrome}, function(a){return!!a.navigator.serviceWorker}, function(a){return!!a.opera}, function(a){return!!a.sidebar}, function(){return!+"\v1"}, function(){return mm(1)}, function(a){return!a.ActiveXObject}, function(a){return"-ms-ime-align"in a.document.documentElement.style}, function(a){return"-ms-scroll-limit"in a.document.documentElement.style}, function(a){return"-webkit-font-feature-settings"in a.document.body.style}, function(){return mm(2)}, function(a){return"ActiveXObject"in a}, function(a){return"MozAppearance"in a.document.documentElement.style}, function(a){return"_phantom"in a}, function(a){return"callPhantom"in a}, function(a){return"content"in a.document.createElement("template")}, function(a){return"getEntriesByType"in a.performance}, function(){return mm(3)}, function(a){return"image-rendering"in a.document.body.style}, function(a){return"object-fit"in a.document.body.style}, function(a){return"open"in a.document.createElement("details")}, function(a){return"orientation"in a.screen}, function(a){return"performance"in a}, function(a){return"shape-image-threshold"in a.document.body.style}, function(){return mm(4)}, function(a){return"srcset"in a.document.createElement("img")}, function(){return om}, function(){return pm}, function(){return mm(5)}, function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="-webkit-min-content";a.style.width="min-content";return"1px"!=a.style.width}, function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="calc(1px - 1px)";a.style.width="-webkit-calc(1px - 1px)";return"1px"!=a.style.width}, function(){var a=!1;eval('var DummyFunction1 = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{DummyFunction1()}catch(b){a=!0}return a}, function(){var a=!1;try{DummyFunction2()}catch(b){a=!0}return a}, function(){return!1}, function(){return mm(6)}, function(a){var b=a.document.createElement("canvas");b.width=b.height=1;b=b.getContext("2d");b.globalCompositeOperation="multiply";b.fillStyle="rgb(0,255,255)";b.fillRect(0,0,1,1);b.fill();b.fillStyle="rgb(255,255,0)";b.fillRect(0,0,1,1);b.fill();b=b.getImageData(0,0,1,1).data;return b[0]==b[2]&&b[1]==b[3]||km(a.navigator.vibrate)}, function(a){a=a.document.createElement("canvas");a.width=a.height=1;a=a.getContext("2d");a.globalCompositeOperation="multiply";a.fillStyle="rgb(0,255,255)";a.fillRect(0,0,1,1);a.fill();a.fillStyle="rgb(255,255,0)";a.fillRect(0,0,1,1);a.fill();a=a.getImageData(0,0,1,1).data;return a[0]==a[2]&&a[1]==a[3]}, function(a){a=a.document.createElement("div");return km(a.matches)}, function(a){a=a.document.createElement("input");a.setAttribute("type","range");return"text"!==a.type}, function(a){return a.CSS.supports("image-rendering","pixelated")}, function(a){return a.CSS.supports("object-fit","contain")}, function(){return mm(7)}, function(a){return a.CSS.supports("object-fit","inherit")}, function(a){return a.CSS.supports("shape-image-threshold","0.9")}, function(a){return a.CSS.supports("word-break","keep-all")}, function(){return eval("1 == [for (item of [1,2,3]) item][0]")}, function(a){return km(a.CSS.supports)}, function(){return km(Intl.Collator)}, function(a){return km(a.document.createElement("dialog").show)}, function(){return mm(8)}, function(a){return km(a.document.createElement("div").animate([{transform:"scale(1)",easing:"ease-in"},{transform:"scale(1.3)",easing:"ease-in"}],{duration:1300,iterations:1}).reverse)}, function(a){return km(a.document.createElement("div").animate)}, function(a){return km(a.document.documentElement.webkitRequestFullScreen)}, function(a){return km(a.navigator.getBattery)}, function(a){return km(a.navigator.permissions.query)}, function(){return!1}, function(){return mm(9)}, function(){return km(webkitRequestAnimationFrame)}, function(a){return km(a.BroadcastChannel.call)}, function(a){return km(a.FontFace)}, function(a){return km(a.Gamepad)}, function(){return mm(10)}, function(a){return km(a.MutationEvent)}, function(a){return km(a.MutationObserver)}, function(a){return km(a.crypto.getRandomValues)}, function(a){return km(a.document.body.createShadowRoot)}, function(a){return km(a.document.body.webkitCreateShadowRoot)}, function(a){return km(a.fetch)}, function(){return mm(11)}, function(a){return km(a.navigator.serviceWorker.register)}, function(a){return km(a.navigator.webkitGetGamepads)}, function(a){return km(a.speechSynthesis.speak)}, function(a){return km(a.webkitRTCPeerConnection)}, function(a){return a.CSS.supports("--fake-var","0")}, function(){return mm(12)}, function(a){return a.CSS.supports("cursor","grab")}, function(a){return a.CSS.supports("cursor","zoom-in")}, function(a){return a.CSS.supports("image-orientation","270deg")}, function(){return mm(13)}, function(a){return a.CSS.supports("position","sticky")}, function(a){return void 0===a.document.createElement("style").scoped}, function(a){return a.performance.getEntriesByType("resource")instanceof Array}, function(){return"undefined"==typeof InstallTrigger}, function(){return"object"==typeof(new Intl.Collator).resolvedOptions()}, function(a){return"boolean"==typeof a.navigator.onLine}, function(){return mm(14)}, function(a){return"undefined"==typeof a.navigator.dR}, function(a){return"number"==typeof a.performance.now()}, function(){return 0==(new Uint16Array(1))[0]}, function(a){return-1==a.ActiveXObject.toString().indexOf("native")}, function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],cda=[function(a){a=a.document.createElement("div"); var b=null,c=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{a.style.behavior="url(#default#clientcaps)"}catch(e){}for(var d=0;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(sm,Il);sm.prototype.o=function(a){var b=Il.prototype.o.call(this,a);var c=lm=(0,g.A)();var d=mm(5);c=(om?!d:d)?c|2:c&-3;d=mm(2);c=(pm?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.u||(this.u=eda());b.B=this.u;b.C=Hl(a,Nna,c,"h",tm("kArwaWEsTs"));b.A=Hl(a,Pna,{},"h",tm("b96YPMzfnx"));b.u=Hl(a,Qna,{},"h",tm("yb8Wev6QDg"));return b};um.prototype.o=function(){return g.w(this.u)};g.r(vm,um);vm.prototype.o=function(a){if(!a.Ji)return um.prototype.o.call(this,a);var b=this.A[a.Ji];if(b)return function(c,d,e){b.u(c,d,e)}; Ih(393,Error());return null};g.r(wm,Wl);g.h=wm.prototype;g.h.Bm=function(a,b){var c=this,d=nh.getInstance(),e=Mj.getInstance();if(null!=e.o)switch(e.o.getName()){case "nis":var f=ym(this,a,b);break;case "gsv":f=xm(this,a,b)}else switch(d.Va){case "nis":f=ym(this,a,b);break;case "gsv":f=xm(this,a,b);break;case "exc":f=jda(this,a)}f||(b.opt_overlayAdElement?f=void 0:b.opt_adElement?f=Uca(this,a,b.opt_adElement,b.opt_osdId):f=Fj(Hj,a)||void 0);f&&1==f.Ke()&&(f.Z==g.Ha&&(f.Z=function(k){return c.Gw(k)}),hda(this,f,b)); return f}; g.h.Gw=function(a){a.u=0;a.P=0;if("h"==a.A||"n"==a.A){if(ida())var b=g.w("ima.bridge.getVideoMetadata");else if(a.Ji&&Bm(this)){var c=this.G[a.Ji];c?b=function(e){return c.o(e)}:null!==c&&Ih(379,Error())}else b=g.w("ima.common.getVideoMetadata"); if(g.Ma(b))try{var d=b(a.wc)}catch(e){a.u|=4}else a.u|=2}else if("b"==a.A)if(b=g.w("ytads.bulleit.getVideoMetadata"),g.Ma(b))try{d=b(a.wc)}catch(e){a.u|=4}else a.u|=2;else if("ml"==a.A)if(b=g.w("ima.common.getVideoMetadata"),g.Ma(b))try{d=b(a.wc)}catch(e){a.u|=4}else a.u|=2;else a.u|=1;a.u||(Da(d)?null===d?a.u|=16:g.Zb(d)?a.u|=32:null!=d.errorCode&&(a.P=d.errorCode,a.u|=64):a.u|=8);null!=d||(d={});Vca(d,a);Uh(d.volume)&&Uh(void 0)&&(d.volume*=NaN);return d}; g.h.Cu=function(){if(Bm(this))return new vm("ima.common.triggerExternalActivityEvent",this.w,this.G);var a=kda(this);return null!=a?new um(a,this.w):null}; g.h.Rr=function(a){!a.o&&a.ti&&cm(this,a,"overlay_unmeasurable_impression")&&(a.o=!0)}; g.h.wz=function(a){a.Mz&&(a.nh()?cm(this,a,"overlay_viewable_end_of_session_impression"):cm(this,a,"overlay_unviewable_impression"),a.Mz=!1)}; g.h.Wp=function(){}; g.h.Xr=function(){}; g.h.Tn=function(a,b,c,d){a=Wl.prototype.Tn.call(this,a,b,c,d);this.B&&(b=this.C,null==a.C&&(a.C=new Uba),b.o[a.wc]=a.C,a.C.B=Jna);return a}; g.h.xj=function(a){a&&1==a.Ke()&&this.B&&delete this.C.o[a.wc];return Wl.prototype.xj.call(this,a)}; Ia(wm);var zm=new Gl;zm.B="stopped";zm.o="stopped";zm.w="stopped";zm.C="stopped";zm.A="stopped";zm.u="stopped";Object.freeze(zm);var Sna=Eh(193,Dm,fm);g.Ga("Goog_AdSense_Lidar_sendVastEvent",Sna,void 0);var Tna=Hh(194,function(a,b){b=void 0===b?{}:b;var c=Am(wm.getInstance(),a,b);return Cm(c)}); g.Ga("Goog_AdSense_Lidar_getViewability",Tna,void 0);var Una=Eh(195,function(){return ih()},void 0); g.Ga("Goog_AdSense_Lidar_getUrlSignalsArray",Una,void 0);var Vna=Hh(196,function(){return g.Bj(ih())}); g.Ga("Goog_AdSense_Lidar_getUrlSignalsList",Vna,void 0);var fea=(new Date).getTime();g.h=g.Hm.prototype;g.h.sd=function(){Jm(this);for(var a=[],b=0;b2*this.w&&Jm(this),!0):!1}; g.h.get=function(a,b){return Im(this.u,a)?this.u[a]:b}; g.h.set=function(a,b){Im(this.u,a)||(this.w++,this.o.push(a),this.Mg++);this.u[a]=b}; g.h.forEach=function(a,b){for(var c=this.fe(),d=0;d=d.o.length)throw Zi;var f=d.o[b++];return a?f:d.u[f]}; return e};g.Km.prototype.toString=function(){var a=[],b=this.A;b&&a.push(Rm(b,j_,!0),":");var c=this.o;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(Rm(b,j_,!0),"@"),a.push(Zc(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(Rm(c,"/"==c.charAt(0)?Wna:Xna,!0));(c=this.w.toString())&&a.push("?",c);(c=this.C)&&a.push("#",Rm(c,Yna));return a.join("")}; g.Km.prototype.resolve=function(a){var b=this.clone(),c=!!a.A;c?g.Lm(b,a.A):c=!!a.G;c?b.G=a.G:c=!!a.o;c?g.Mm(b,a.o):c=null!=a.B;var d=a.u;if(c)g.Nm(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=vb(e,"/");e=e.split("/");for(var f=[],k=0;k":(c=Faa(d),n+=">"+g.Pc(c).toString()+"",c=c.o());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=Tc(n,c);g.Vc(a,b);return""!=g.ig(a.firstChild,"transition")});g.Sa(pn,g.on);g.h=pn.prototype;g.h.play=function(){if(1==this.o)return!1;this.B();this.ce("play");this.startTime=(0,g.A)();this.o=1;if(Zna())return g.eg(this.w,this.J),this.F=g.hl(this.BL,void 0,this),!0;this.Pp(!1);return!1}; g.h.BL=function(){g.xg(this.w);xda(this.w,this.H);g.eg(this.w,this.C);this.F=g.hl((0,g.x)(this.Pp,this,!1),1E3*this.G)}; g.h.stop=function(){1==this.o&&this.Pp(!0)}; g.h.Pp=function(a){g.eg(this.w,"transition","");g.u.clearTimeout(this.F);g.eg(this.w,this.C);this.endTime=(0,g.A)();this.o=0;a?this.ce("stop"):this.cd();this.A()}; g.h.Y=function(){this.stop();pn.Ab.Y.call(this)}; g.h.pause=function(){};tn.prototype.clone=function(){return new 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(cT){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Jb))?a[1]:"0"}return EH?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Jb))?a[0].replace(/_/g,"."):"10"):g.Tp?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Jb))?a[1]:""):Fna||XZ||Gna?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Jb))?a[1].replace(/_/g,"."):""):""})();var Dda=function(){if(g.Cx)return xn(/Firefox\/([0-9.]+)/);if(g.Kd||g.Px||g.hg)return md;if(g.Hs)return id()?xn(/CriOS\/([0-9.]+)/):xn(/Chrome\/([0-9.]+)/);if(g.rz&&!id())return xn(/Version\/([0-9.]+)/);if(Ty||wC){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Jb);if(a)return a[1]+"."+a[2]}else if(g.Ly)return(a=xn(/Android\s+([0-9.]+)/))?a:xn(/Version\/([0-9.]+)/);return""}();g.Sa(g.zn,g.E);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.Xa(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.hh(a)}return!1}; g.h.hh=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.Ha):(c&&g.db(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 Zi;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; g.h.clear=function(){this.o.clear()}; g.h.key=function(a){return this.o.key(a)};g.Sa(Jn,In);g.Sa(Kn,In);g.Sa(Mn,Hn);var Gda={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},Ln=null;g.h=Mn.prototype;g.h.isAvailable=function(){return!!this.o}; g.h.set=function(a,b){this.o.setAttribute(Nn(a),b);On(this)}; g.h.get=function(a){a=this.o.getAttribute(Nn(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; g.h.remove=function(a){this.o.removeAttribute(Nn(a));On(this)}; g.h.tf=function(a){var b=0,c=this.o.XMLDocument.documentElement.attributes,d=new Yi;d.next=function(){if(b>=c.length)throw Zi;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; g.h.clear=function(){for(var a=this.o.XMLDocument.documentElement,b=a.attributes.length;0=b)){if(1==b)bb(a);else{a[0]=a.pop();a=0;b=this.o;for(var d=b.length,e=b[a];a>1;){var f=2*a+1,k=2*a+2;f=ke.o)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}}; g.h.sd=function(){for(var a=this.o,b=[],c=a.length,d=0;d=this.A&&this.B())};mo.prototype.set=function(a,b){b=void 0===b?!0:b;0<=a&&52>a&&0===a%1&&this.u[a]!=b&&(this.u[a]=b,this.o=-1)}; mo.prototype.get=function(a){return!!this.u[a]};g.Sa(no,Te);g.Sa(oo,Te);var Wda=[2,13,14];var po=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.Ga("yt.config_",po,void 0);var yo={};var $na=g.w("ytPubsubPubsubInstance")||new g.zn;g.zn.prototype.subscribe=g.zn.prototype.subscribe;g.zn.prototype.unsubscribeByKey=g.zn.prototype.hh;g.zn.prototype.publish=g.zn.prototype.R;g.zn.prototype.clear=g.zn.prototype.clear;g.Ga("ytPubsubPubsubInstance",$na,void 0);var Ho=g.w("ytPubsubPubsubSubscribedKeys")||{};g.Ga("ytPubsubPubsubSubscribedKeys",Ho,void 0);var Jo=g.w("ytPubsubPubsubTopicToKeys")||{};g.Ga("ytPubsubPubsubTopicToKeys",Jo,void 0);g.Io=g.w("ytPubsubPubsubIsSynchronous")||{}; g.Ga("ytPubsubPubsubIsSynchronous",g.Io,void 0);var Yda=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,Zda=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/,So={};To.prototype.initialize=function(a,b,c,d,e){var f=this;b?(this.Bd=!0,g.Qo(b,function(){f.Bd=!1;if(window.botguard)Uo(f,c,d);else{var k=Ro(b),l=document.getElementById(k);l&&(Po(k),l.parentNode.removeChild(l));k=Error("Unable to load Botguard");k.params="from "+b;g.uo(k)}},e)):a&&(eval(a),window.botguard?Uo(this,c,d):g.uo(Error("Unable to load Botguard from JS")))}; To.prototype.dispose=function(){this.o=null};g.r(Xo,bea);Xo.prototype.start=function(){var a=g.w("yt.scheduler.instance.start");a&&a()}; Xo.prototype.pause=function(){var a=g.w("yt.scheduler.instance.pause");a&&a()}; Ia(Xo);Xo.getInstance();var cea=[],ap=!1;var op=new function(){var a=window.document;this.o=window;this.u=a}; g.Ga("yt.ads_.signals_.getAdSignalsString",function(a){return ep(qp(a))},void 0);(0,g.A)();var up=void 0!==XMLHttpRequest?function(){return new XMLHttpRequest}:void 0!==ActiveXObject?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;var wp={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-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL","X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM"},iea="app debugcss debugjs expflag force_ad_params force_viral_ad_response_params forced_experiments internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" "), Dp=!1;var Rp=Ty||wC;var Zp={},qea=0;g.r($p,Ta);cq.prototype.then=function(a,b,c){return 1===this.u&&a?(a=a.call(c,this.o),Lk(a)?a:eq(a)):2===this.u&&b?(a=b.call(c,this.o),Lk(a)?a:dq(a)):this}; cq.prototype.getValue=function(){return this.o}; cq.prototype.$goog_Thenable=!0;g.r(gq,Ta);gq.prototype.name="BiscottiError";g.r(fq,Ta);fq.prototype.name="BiscottiMissingError";var iq={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},hq=null;g.r(nq,Ta);g.r(qq,Ta);sq.prototype.isActive=function(){switch(this.o){case "entered":case "rendering":case "rendering_stop_requested":case "exit_requested":return!0;default:return!1}};g.r(uq,g.E);var k_;k_=window;g.Mq=k_.ytcsi&&k_.ytcsi.now?k_.ytcsi.now:k_.performance&&k_.performance.timing&&k_.performance.now?function(){return k_.performance.timing.navigationStart+k_.performance.now()}:function(){return(new Date).getTime()};var uea=Math.pow(2,16)-1,Pq=null,Qq=0,tea={log_event:"events",log_interaction:"interactions"},l_=Object.create(null);l_.log_event="GENERIC_EVENT_LOGGING";l_.log_interaction="INTERACTION_LOGGING";var vea=new Set(["log_event"]),Hq={},Eq=0,Fq=0,sr=0,Gq=g.w("ytLoggingTransportLogPayloadsQueue_")||{};g.Ga("ytLoggingTransportLogPayloadsQueue_",Gq,void 0);var Oq=g.w("ytLoggingTransportTokensToCttTargetIds_")||{};g.Ga("ytLoggingTransportTokensToCttTargetIds_",Oq,void 0); var Lq=g.w("ytLoggingTransportDispatchedStats_")||{};g.Ga("ytLoggingTransportDispatchedStats_",Lq,void 0);g.Ga("ytytLoggingTransportCapturedTime_",g.w("ytLoggingTransportCapturedTime_")||{},void 0);var aoa=0,Sq=g.Md?"webkit":gg?"moz":g.Kd?"ms":g.hg?"o":"";g.Ga("ytDomDomGetNextId",g.w("ytDomDomGetNextId")||function(){return++aoa},void 0);var xea={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};Vq.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; Vq.prototype.ew=function(){return this.event?!1===this.event.returnValue:!1}; Vq.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; Vq.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Xq=g.w("ytEventsEventsListeners")||{};g.Ga("ytEventsEventsListeners",Xq,void 0);var Yq=g.w("ytEventsEventsCounter")||{count:0};g.Ga("ytEventsEventsCounter",Yq,void 0);var boa=nc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a}),Zq=nc(function(){var a=!1; try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a});var qy=window.ytcsi&&window.ytcsi.now?window.ytcsi.now:window.performance&&window.performance.timing&&window.performance.now&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.Sa(lr,g.E);lr.prototype.J=function(a){void 0===a.o&&Wq(a);var b=a.o;void 0===a.u&&Wq(a);this.o=new g.sd(b,a.u)}; lr.prototype.Nd=function(){return this.o||new g.sd}; lr.prototype.C=function(){if(this.o){var a=qy();if(0!=this.A){var b=this.B,c=this.o,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.A);this.u[this.Ua]=.5c;c++)b+=this.u[c]||0;3<=b&&this.G();this.w=d}this.A=a;this.B=this.o;this.Ua=(this.Ua+1)%4}}; lr.prototype.Y=function(){window.clearInterval(this.H);g.ar(this.F)};var pr={};var rr=g.w("ytLoggingGelSequenceIdObj_")||{};g.Ga("ytLoggingGelSequenceIdObj_",rr,void 0);xr.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.o)try{this.o.set(a,b,(0,g.A)()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(g.Bj(b))}catch(f){return}else e=escape(b);g.vr(a,e,c,this.u)}; xr.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=ur.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; xr.prototype.remove=function(a){this.o&&this.o.remove(a);g.wr(a,"/",this.u)};new xr;var m_={},Dea=(m_.slot_type_in_player="SLOT_TYPE_IN_PLAYER",m_.slot_type_above_feed="SLOT_TYPE_ABOVE_FEED",m_),n_={},Cea=(n_.layout_type_media_layout_player_overlay="LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",n_.layout_type_companion_with_action_button="LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",n_),Fr=.1>Math.random()||g.sp("html5_force_debug_data_for_client_tmp_logs"),Eea=!g.sp("html5_enable_ads_client_monitoring_log")||g.sp("html5_disable_client_tmp_logs");g.r(Ir,g.E);g.r(Rr,pq);g.h=Sr.prototype;g.h.wk=function(){return this.u}; g.h.xv=function(){return"layout_type_companion_with_action_button"}; g.h.Ij=function(){return this.o}; g.h.Jj=function(){return[]}; g.h.Hj=function(){return[]};g.r(Tr,pq);g.r(Ur,oq);Ur.prototype.w=function(a){return a instanceof Ur?this.B===a.B:!1};g.r(Vr,oq);Vr.prototype.w=function(a){return a instanceof Vr?this.A===a.A:!1};g.h=Wr.prototype;g.h.wk=function(){return this.u}; g.h.xv=function(){return"layout_type_media_layout_player_overlay"}; g.h.Ij=function(){return this.o}; g.h.Jj=function(){return[]}; g.h.Hj=function(){return[]};Xr.prototype.w=function(a){if("slot_type_above_feed"!=a.Yb){var b=this.o,c=new nq("Received slot with type: "+a.Yb+" in AboveFeedSlotFulfillmentAdapter.");g.N(c);Jr(b,a,!0)}else null!=a.o.actionCompanionAdRenderer?(b=this.o,c=Wn(),c=new Sr(c,[new Vr(Wn(),c)]),Mr(b,a,c)):Mr(this.o,a,null)}; Xr.prototype.u=function(a){var b=this.o,c=new nq("Got CancelSlotFulfilling request for "+a.Yb+" in AboveFeedSlotFulfillmentAdapter.");g.N(c);Jr(b,a,!0)};Yr.prototype.w=function(a){if("slot_type_in_player"!=a.Yb){var b=this.o,c=new nq("Received slot with type: "+a.Yb+" in InPlayerSlotFulfillmentAdapter.");g.N(c);Jr(b,a,!0)}else b=this.o,c=new Wr(Wn(),[new Ur(Wn(),a.o)]),Mr(b,a,c)}; Yr.prototype.u=function(a){var b=this.o,c=new nq("Got CancelSlotFulfilling request for "+a.Yb+" in InPlayerSlotFulfillmentAdapter.");g.N(c);Jr(b,a,!0)};g.r(Pr,oq);Pr.prototype.w=function(a){return a instanceof Pr?this.A===a.A:!1};g.r(Qr,oq);Qr.prototype.w=function(a){return a instanceof Qr?this.B===a.B:!1};g.r(Zr,g.E); Zr.prototype.u=function(a,b,c,d){if(this.o.hasOwnProperty(b.o))throw new nq("Tried to register duplicate trigger for slot.");if(!(b instanceof Pr||b instanceof Qr||b instanceof Ur))throw new nq("Incorrect TriggerType: Tried to register trigger of type "+b.u+" in AdsControlFlowEventTriggerAdapter");if(b instanceof Pr&&b.A!==c.oe&&!this.B.has(b.A))throw new nq("SlotIdEnteredTrigger has unrecognized slotId");if(b instanceof Qr&&b.B!==c.oe&&!this.B.has(b.B))throw new nq("SlotIdExitedTrigger has unrecognized slotId");if(b instanceof Ur&&!(null!==d&&b.B===d.wk()||this.F.has(b.B)))throw new nq("LayoutIdExitedTrigger has unrecognized layoutId");this.o[b.o]=new rq(a,b,c,d);b instanceof Pr&&this.A.has(b.A)&&Nr(this.C(),[this.o[b.o]])}; Zr.prototype.w=function(a){delete this.o[a.o]};var Sga={gO:1,mO:2,PAUSED:3};var WR=16/9,o_=[.25,.5,.75,1,1.25,1.5,1.75,2],coa=o_.concat([3,4,5,6,7,8,9,10,15]);var xS={hN:"ad",yN:"annotations_module",zN:"attribution",YN:"creatorendscreen",kO:"embed",nO:"endscreen",xO:"fresca",KO:"heartbeat",cP:"kids",lP:"remote",nP:"miniplayer",rP:"music",SUBTITLES:"captions",wB:"unplugged",tQ:"ux",xQ:"visualizer",yQ:"webgl",DQ:"ypc",EQ:"ypc_clickwrap",FQ:"yto",rQ:""};var p_={},q_=(p_["api.invalidparam"]=2,p_.auth=150,p_["drm.auth"]=150,p_["heartbeat.net"]=150,p_["heartbeat.servererror"]=150,p_["heartbeat.stop"]=150,p_["html5.unsupportedads"]=5,p_["fmt.noneavailable"]=5,p_["fmt.decode"]=5,p_["fmt.unplayable"]=5,p_["html5.missingapi"]=5,p_["html5.unsupportedlive"]=5,p_["drm.unavailable"]=5,p_);var Dx={name:"width",video:!0,valid:640,Pe:99999},Ex={name:"height",video:!0,valid:360,Pe:99999},Fx={name:"framerate",video:!0,valid:30,Pe:9999},Gx={name:"bitrate",video:!0,valid:3E5,Pe:2E9},Bx={name:"eotf",video:!0,valid:"bt709",Pe:"catavision"},Jx={name:"channels",video:!1,valid:2,Pe:99},Hx={name:"cryptoblockformat",video:!0,valid:"subsample",Pe:"invalidformat"},Ix={name:"decode-to-texture",video:!0,valid:"false",Pe:"nope"},Ox={name:"codecs",video:!0,valid:"av01.0.05M.08",Pe:"av99.0.05M.08"},Kx= {CQ:Dx,LO:Ex,wO:Fx,HN:Gx,oO:Bx,TN:Jx,ZN:Hx,dO:Ix,FN:Ox};var Jea={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",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",250:"o",251:"o",194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",279:"(",280:"(",317:"(",318:"(",273:"(",274:"(",357:"(",358:"(",275:"(",359:"(",360:"(",276:"(",314:"(",561:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",562:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1",386:"3",387:"w",406:"6"};ms.prototype.getName=function(){return this.name}; ms.prototype.getId=function(){return this.id}; ms.prototype.getIsDefault=function(){return this.isDefault}; ms.prototype.toString=function(){return this.name}; ms.prototype.getName=ms.prototype.getName;ms.prototype.getId=ms.prototype.getId;ms.prototype.getIsDefault=ms.prototype.getIsDefault;var Rfa={DN:"auto",lQ:"tiny",gP:"light",bQ:"small",mP:"medium",eP:"large",JO:"hd720",FO:"hd1080",GO:"hd1440",HO:"hd2160",IO:"hd2880",PO:"highres",UNKNOWN:"unknown"};var r_;r_={};g.os=(r_.auto=0,r_.tiny=144,r_.light=144,r_.small=240,r_.medium=360,r_.large=480,r_.hd720=720,r_.hd1080=1080,r_.hd1440=1440,r_.hd2160=2160,r_.hd2880=2880,r_.highres=4320,r_);var ts="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");ws.prototype.wa=function(){return this.video}; ws.prototype.Km=function(){return!!this.w}; ws.prototype.isVideo=function(){return!!this.video};g.h=Ps.prototype;g.h.append=function(a){this.o.webkitSourceAppend(this.u,a)}; g.h.abort=function(){this.o.webkitSourceAbort(this.u)}; g.h.OM=function(){return this.o.webkitSourceState==this.o.SOURCE_CLOSED?new Kea:this.o.webkitSourceBuffered(this.u)}; g.h.QM=function(){return this.w}; g.h.UM=function(a){this.w=a;this.o.webkitSourceTimestampOffset(this.u,a)};g.h=Qs.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.IF=function(){return this.o.webkitMediaSourceURL}; g.h.addSourceBuffer=function(a){var b=(this.w++).toString();this.o.webkitSourceAddId(b,a);a=new Ps(this.o,b);this.sourceBuffers.push(a);return a}; g.h.removeSourceBuffer=function(a){for(var b=0;bthis.qm()?(this.o.appendWindowEnd=b,this.o.appendWindowStart=a):(this.o.appendWindowStart=a,this.o.appendWindowEnd=b)}; g.h.co=function(a){this.supports(1)&&(this.o.timestampOffset=a)}; g.h.yb=function(){return this.supports(1)?this.o.timestampOffset:0}; g.h.Cc=function(){try{return this.o.buffered}catch(a){return Ws([],[])}}; g.h.Qd=function(){return this.o.updating}; g.h.dh=function(){return this.u}; g.h.rm=function(){return this.C}; g.h.Gs=function(a,b){this.B!=a&&(this.supports(4),this.o.changeType(b));this.B=a}; g.h.Jp=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.cp=function(){return!this.Qd()}; g.h.isLocked=function(){return!1}; g.h.bb=function(a){a.to=""+this.o.timestampOffset;a.up=""+ +this.Qd();a.aw=(this.o.appendWindowStart||0).toFixed(3)+"-"+(this.o.appendWindowEnd||Infinity).toFixed(3);try{a.bu=Xs(this.o.buffered)}catch(b){}return gs(a)}; g.h.Y=function(){this.supports(3)&&(this.o.removeEventListener("updateend",this.w),this.o.removeEventListener("error",this.w));g.O.prototype.Y.call(this)};g.r(ft,g.O);g.h=ft.prototype;g.h.appendBuffer=function(a,b,c){if(this.o.qm()!=this.B+this.u||this.o.Dp()!=this.A+this.u||this.o.yb()!=this.C+this.u)this.o.supports(1),this.o.Yr(this.B+this.u,this.A+this.u),this.o.co(this.C+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.Yr=function(a,b){this.B=a;this.A=b}; g.h.qm=function(){return this.B}; g.h.Dp=function(){return this.A}; g.h.co=function(a){this.C=a}; g.h.yb=function(){return this.C}; g.h.Cc=function(){return bt(this.o.Cc(),this.u,this.G)}; g.h.Qd=function(){return this.o.Qd()}; g.h.dh=function(){return this.o.dh()}; g.h.rm=function(){return this.o.rm()}; g.h.Gs=function(a,b){return this.o.Gs(a,b)}; g.h.supports=function(a){return this.o.supports(a)}; g.h.Jp=function(){return this.o.Jp()}; g.h.isView=function(){return!0}; g.h.cp=function(){return this.o.cp()?this.w:!1}; g.h.isLocked=function(){return this.F&&!this.w}; g.h.bb=function(a){return this.o.bb(a)+(";vw."+this.u+"-"+this.G)}; g.h.Y=function(){dt(this.o,this.H);g.O.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};gt.prototype.dispose=function(){if(!this.w){if(this.u)try{URL.revokeObjectURL(this.o)}catch(a){}this.w=!0}}; gt.prototype.ia=function(){return this.w};g.r(ht,g.E);g.h=ht.prototype;g.h.getDuration=function(){return this.w.duration}; g.h.isView=function(){return this.C}; g.h.Qd=function(){return!!(this.o&&this.o.Qd()||this.u&&this.u.Qd())}; g.h.NK=function(){!this.ia()&&it(this)&&this.A&&(this.A(this),this.A=null)}; g.h.MK=function(){this.dispose()};var s_;var t_=g.Jb,u_=t_.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!u_||2>u_.length)s_=void 0;else{var v_=t_.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);s_=v_&&6==v_.length?Number(v_[5].replace("_",".")):0}var xC=s_,iP=0<=xC;iP&&0<=g.Jb.search("Safari")&&g.Jb.search("Version");var doa=iP&&4>xC?.1:0,gka=new ot;ot.prototype.o=null;ot.prototype.getDuration=function(){return this.duration||0}; ot.prototype.getCurrentTime=function(){return this.currentTime||0}; ot.prototype.u=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.r(g.pt,g.E);g.h=g.pt.prototype;g.h.Kh=ba(2);g.h.jn=function(){return this.A}; g.h.zi=function(a){var b="";a&&(rt(this,a),b=a.o);this.Tc()&&""==b||(b&&this.Tc()!=b&&(this.bo(b),this.w&&(this.w.dispose(),this.w=null)),a&&a.u||this.load(),this.H||(this.addEventListener("volumechange",this.wu),this.H=!0))}; g.h.Nn=function(){if(!this.w||this.w.ia()){var a=this.fb();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new Qs(a);a=new ht(a);this.zi(a.ik);this.w=a}}; g.h.hn=function(){this.K||(this.B=null);if(this.B)return this.B;this.Nn();var a=this.w;this.w=null;return this.B=a}; g.h.playVideo=function(){this.Qe()&&this.seekTo(0);!this.Tc()&&this.A&&(g.N(Error("playVideo without src")),this.bo(this.A.o),this.A.u||this.load());var a=this.play();!a&&iP&&7<=xC&&g.jr(this,"playing",(0,g.x)(function(){g.zo((0,g.x)(this.Yu,this,this.getCurrentTime(),0),500)},this)); return a}; g.h.Yu=function(a,b){this.Ag()||this.getCurrentTime()>a||10xC&&(a=Math.max(.1,a)),this.Zn(a))}; g.h.stopVideo=function(){!this.w&&this.Tc()&&(Rp&&0this.info.Pa||4==this.info.type)return!0;var b=rw(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.Pa&&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.Pa||4==this.info.type)return!0;c=rw(this).getUint32(0,!1);a.ebm=c.toString();if(3==this.info.type&&0==this.info.w)return 524531317==c||440786851==c}return!0};yw.prototype.set=function(a,b){this.o.get(a);this.u[a]=b;this.w=""}; yw.prototype.get=function(a){return this.u[a]||this.o.get(a)};Hw.prototype.He=function(){return gw(this.o[0])};g.h=Mw.prototype;g.h.be=function(){}; g.h.Xj=function(){}; g.h.qq=function(){return!1}; g.h.qc=function(){return!!this.o&&this.index.Kb()}; g.h.Nf=function(){}; g.h.Lw=function(){return!1}; g.h.ai=function(){}; g.h.sh=function(){}; g.h.yi=function(){}; g.h.Df=function(){}; g.h.Em=function(){}; g.h.Mw=function(a){return[a]}; g.h.Wn=function(a){return[a]}; g.h.Mn=function(){}; g.h.sm=function(){};g.r(Ow,Mw);g.h=Ow.prototype;g.h.be=function(){return!1}; g.h.Xj=function(){return!1}; g.h.Lw=function(){return this.u}; g.h.ai=function(){if(this.u)return[];var a=new fw(1,this,this.initRange,"getMetadataRequestInfos");return[new Hw([a],this.P)]}; g.h.sh=function(){return null}; g.h.yi=function(a){this.Nf(a);return this.Ai(a.A?a.u+1:a.u,!1)}; g.h.Df=function(a,b){b=void 0===b?!1:b;var c=this.index.Je(a);b&&(c=Math.min(this.index.kb(),c+1));return this.Ai(c,!0)}; g.h.Em=function(a){this.o=new Uint8Array(rw(a).buffer)}; g.h.qq=function(){return!1}; g.h.Nf=function(a){return 0==a.Pa?!0:this.index.kb()>a.u&&this.index.se()<=a.u+1}; g.h.update=function(a,b,c){this.index.append(a);Yu(this.index,c);this.J=b}; g.h.qc=function(){return this.u?!0:Mw.prototype.qc.call(this)}; g.h.Ai=function(a,b){var c=this.index.Mp(a),d=this.index.Oc(a),e=this.index.getDuration(a),f;b?e=f=0:f=0a&&c.startTime<=a?c:-1==b?Tw(this,Math.max(c.ub-Math.ceil((c.startTime-a)/this.u),0),c):Tw(this,c.ub+Math.ceil((a-c.endTime)/this.u),c)}; g.h.lg=function(a){if(!this.o)return g.Xu.prototype.lg.call(this,a);if(!this.segments.length)return null;var b=Rw(this,a);return 0<=b?this.segments[b]:Tw(this,a,this.segments[Math.max(-(b+2),0)])};g.r(Uw,Ow);g.h=Uw.prototype;g.h.Xj=function(){return!0}; g.h.qc=function(){return!0}; g.h.Nf=function(a){return!a.C}; g.h.ai=function(){return[]}; g.h.Df=function(a,b){if("number"===typeof a&&!isFinite(a)){var c=new fw(3,this,null,"mlLiveGetReqInfoStubForTime",-1,void 0,this.G,void 0,this.G*this.info.o);return new Hw([c],"")}return Ow.prototype.Df.call(this,a,b)}; g.h.Ai=function(a,b){var c=void 0===c?!1:c;if(Sw(this.index,a))return Ow.prototype.Ai.call(this,a,b);var d=this.index.Oc(a),e=b?0:this.G*this.info.o,f=!b;c=new fw(c?6:3,this,null,"mlLiveCreateReqInfoForSeg",a,d,void 0,void 0,e,a==this.index.kb()&&!this.J&&0a.u&&this.index.se()<=a.u+1}; g.h.sm=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0}; g.h.Mn=function(){return!1};g.h=g.bx.prototype;g.h.pn=function(a){return this.u[a]}; g.h.Oc=function(a){return this.w[a]/this.B}; g.h.Am=ba(9);g.h.Qq=function(){return NaN}; g.h.getDuration=function(a){a=this.jv(a);return 0<=a?a/this.B:-1}; g.h.jv=function(a){return a+1=this.kb())return 0;for(var c=0,d=this.Oc(a)+b,e=a;ethis.Oc(e);e++)c=Math.max(c,(e+1=this.index.pn(b+1);)b++;return ex(this,b,a.range.start,a.range.length).o}; g.h.Nf=function(a){return this.qc()?!0:isNaN(this.u)?!1:a.range.end+1this.u&&(c=new bw(c.start,this.u-1));c=[new fw(4,a.o,c,"getNextRequestInfoByLength")];return new Hw(c)}4==a.type&&(c=this.Wn(a),a=c[c.length-1]);c=0;var d=a.range.start+a.w+a.Pa;3==a.type&&(c=a.u,d==a.range.end+1&&(c+=1));return ex(this,c,d,b)}; g.h.yi=function(){return null}; g.h.Df=function(a,b){var c=this.index.Je(a);b&&(c=Math.min(this.index.kb(),c+1));return ex(this,c,this.index.pn(c),0)}; g.h.qq=function(){var a;if(a=this.qc()&&!isNaN(this.u))a=this.index,a=(a.A?a.u[a.o]:-1)!=this.u;return a}; g.h.be=function(){return!0}; g.h.Xj=function(){return!1}; g.h.sm=function(){return this.indexRange.length+this.initRange.length}; g.h.Mn=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};g.r(hx,g.O);g.h=hx.prototype;g.h.Lf=function(){return Ob(this.o,function(a){return a.info.video?2==a.info.video.projectionType:!1})}; g.h.Mf=function(){return Ob(this.o,function(a){return a.info.video?3==a.info.video.projectionType:!1})}; g.h.Hf=function(){return Ob(this.o,function(a){return a.info.video?4==a.info.video.projectionType:!1})}; g.h.ni=function(){return Ob(this.o,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})}; g.h.yL=function(a){var b=a.getElementsByTagName("Representation");if(0this.H&&this.na;this.da=parseInt(Vw(a,qx(this,"earliestMediaSequence")),10)||0; if(b=Date.parse(Yw(Vw(a,qx(this,"mpdResponseTime")))))this.J=((0,g.A)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.dh)(a.getElementsByTagName("Period"),this.yL,this);this.F=2;this.R("loaded");vx(this);return this}; g.h.YC=function(a){this.T=a.qh.status;this.F=3;this.R("loaderror");return Sk(a.qh)}; g.h.Ww=function(){if(1!=this.F&&!this.ia()){var a=g.Lf(this.sourceUrl,{start_seq:Ifa(this).toString()});Zk(tx(this,a),function(){})}}; g.h.resume=function(){vx(this)}; g.h.dc=function(){var a=this.o,b=!1,c=NaN,d=NaN,e;for(e in a){var f=a[e],k=f.index;k.Kb()&&(f.F&&(b=!0),k=k.Zh(),f.info.audio&&(isNaN(c)||kD_){A_=D_;break a}}var E_=B_.match("("+g.Sb(z_).join("|")+")");A_=E_?z_[E_[0]]:0}else A_=void 0}var Qy=A_,Py=0<=Qy;zx.prototype.canPlayType=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;Rp?c=c||foa[b]:2.2==Qy?c=c||goa[b]:Ip()&&(c=c||hoa[b]);return!!c}; var goa={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},hoa={"application/x-mpegURL":"maybe"},foa={"application/x-mpegURL":"maybe"};g.h=Qx.prototype;g.h.Md=function(){return this.Cf}; g.h.mk=function(){return null}; g.h.kv=function(){var a=this.mk();return a?+g.hp(a.o).expire:NaN}; g.h.Vr=function(){}; g.h.getHeight=function(){return this.Cf.wa().height};Sx.prototype.isLocked=function(){return this.w&&!!this.u&&this.u==this.o}; Sx.prototype.A=function(a){return a.video?Yx(this,a.video.quality):!1}; var mJ=Ux("auto","hd1080",!1,"l"),rH=Ux("auto","large",!1,"l"),Wx=Ux("auto","auto",!1,"p");Ux("small","auto",!1,"p");var Wy={hP:1,iP:2,jP:3};g.r(Zx,g.O);Zx.prototype.add=function(a,b){!this.Ea[a]&&(b.Ul||b.Vl||b.Cs)&&(this.Ea[a]=fc(b),this.R("vast_info_card_add",a))}; Zx.prototype.remove=function(a){var b=this.get(a);delete this.Ea[a];return b}; Zx.prototype.get=function(a){return this.Ea[a]||null}; Zx.prototype.isEmpty=function(){return g.Zb(this.Ea)};g.$x=nc(function(){var a=new Jn;return a.isAvailable()?new g.Gn(a):null}); g.ay=nc(function(){var a=new Kn;return a.isAvailable()?new g.Gn(a):null});my.prototype.u=function(a,b){var c=Math.pow(this.B,a);this.w=b*(1-c)+c*this.w;this.A+=a}; my.prototype.o=function(){return this.w/(1-Math.pow(this.B,this.A))};oy.prototype.u=function(a,b){var c=Math.min(this.w,Math.max(1,Math.round(a*this.K)));c+this.A>=this.w&&(this.C=!0);for(;c--;)this.B[this.A]=b,this.A=(this.A+1)%this.w;this.G=!0}; oy.prototype.o=function(){return this.H?(py(this,this.F-this.H)+py(this,this.F)+py(this,this.F+this.H))/3:py(this,this.F)};var Wfa=/^([0-9\.]+):([0-9\.]+)$/;var Ey=g.w("ytglobal.prefsUserPrefsPrefs_")||{};g.Ga("ytglobal.prefsUserPrefsPrefs_",Ey,void 0);g.h=Fy.prototype;g.h.get=function(a,b){Hy(a);Gy(a);var c=void 0!==Ey[a]?Ey[a].toString():null;return null!=c?c:b?b:""}; g.h.set=function(a,b){Hy(a);Gy(a);if(null==b)throw Error("ExpectedNotNull");Ey[a]=b.toString()}; g.h.remove=function(a){Hy(a);Gy(a);delete Ey[a]}; g.h.save=function(){g.vr(this.o,this.dump(),63072E3)}; g.h.clear=function(){g.$b(Ey)}; g.h.dump=function(){var a=[],b;for(b in Ey)a.push(b+"="+encodeURIComponent(String(Ey[b])));return a.join("&")}; Ia(Fy);var Iy="blogger books docs google-live play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.r(cz,g.E); cz.prototype.hf=function(a){this.na=Cy(this.na,a.video_id);this.Na=Cy(this.Na,a.eventid);for(var b in F_){var c=F_[b],d=a[c];void 0!=d&&(this.deviceParams[c]=d)}this.userAge=By(this.userAge,a.user_age);this.K=Cy(this.K,a.user_display_image);g.tu(this.K)||(this.K="");this.da=Cy(this.da,a.user_display_name);this.Yd=Cy(this.Yd,a.user_gender);this.ld=Cy(this.ld,a.csi_page_type);this.Xa=Cy(this.Xa,a.csi_service_name);this.Zb=V(this.Zb,a.enablecsi);if(a=a.enabled_engage_types)this.nd=new Set(a.split(","))}; cz.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=g.fz(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.az(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,Rp&&(a=bp())&&(b.ebc=a));return g.Lf(d,b)}; cz.prototype.getVideoEmbedCode=function(a,b,c){var d="https://"+g.fz(this)+"/embed/"+a;c&&(d=g.Lf(d,{list:c}));a=!W(this,"enable_responsive_embed_snippet");W(this,"embed_snippet_includes_version")&&(d=g.Lf(d,{ecver:a?"1":"2"}));c=b.width;b=b.height;a?(a=g.ad(d),b=''):(a=Math.round(360*c/b),b='
');return b}; cz.prototype.supportsGaplessAudio=function(){return g.Hs&&!Rp&&74<=Gp()||g.Cx&&g.nd(68)?!0:!1}; var F_={IN:"cbrand",JN:"cbr",KN:"cbrver",VO:"c",YO:"cver",XO:"ctheme",WO:"cplayer",oP:"cmodel",tP:"cnetwork",yP:"cos",zP:"cosver",FP:"cplatform"},cga=["www.youtube-nocookie.com","youtube.googleapis.com"];yz.prototype.clone=function(a){return new yz(this.flavor,a,this.A,this.B)}; yz.prototype.bb=function(){return{flavor:this.flavor,keySystem:this.o}}; yz.prototype.Md=function(){switch(this.o){case "com.youtube.playready":return"PRY";case "com.microsoft.playready":return"PRM";case "com.widevine.alpha":return"WVA";case "com.youtube.widevine.l3":return"WVY";case "com.youtube.fairplay":return"FPY";case "com.apple.fps.1_0":return"FPA";default:return this.o}}; var G_={},Fz=(G_.playready=["com.youtube.playready","com.microsoft.playready"],G_.widevine=["com.youtube.widevine.l3","com.widevine.alpha"],G_);g.h=g.Gz.prototype;g.h.getId=function(){return this.H}; g.h.getName=function(){return this.B}; g.h.isServable=function(){return this.F}; g.h.toString=function(){return this.u+": "+g.Hz(this)+" - "+this.C}; g.h.Mq=ba(11);g.h.isValid=function(){return!(!this.u||this.o&&!this.o.languageCode)};Iz.prototype.getLanguageInfo=function(){return this.rb}; Iz.prototype.toString=function(){return this.rb.name}; Iz.prototype.getLanguageInfo=Iz.prototype.getLanguageInfo;Jz.prototype.getAvailableAudioTracks=function(){return this.audioTracks};g.r(Nz,g.E);Nz.prototype.G=function(){(this.F=!this.F&&"widevine"==this.u[this.o[0]].flavor)||this.o.shift();Oz(this)}; Nz.prototype.H=function(a,b){this.ia()||(a.u=b,nga(this,a),this.w.push(a),g.P(this.B,"html5_drm_fallback_to_playready_on_retry")||this.il?(this.o.shift(),Oz(this)):this.C(this.w))};g.r(Sz,Qx);Sz.prototype.kv=function(){return this.w}; Sz.prototype.mk=function(){if(!this.o||this.o.ia()){var a=this.u;tga(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.u)var d=a.u;else{d=g.p(a.w);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.rb&&e.rb.getIsDefault()){d=e.rb.getId();break a}d=""}e=0;for(var f=a.w.length;ek.getHeight()&&c.push(k)}return c}; lA.prototype.C=function(a,b,c,d){return new g.dA(a,b,c,d)};g.r(nA,g.dA);g.h=nA.prototype;g.h.Fp=function(){return this.u.bi()}; g.h.yn=function(a){var b=this.rows*this.columns*this.G,c=this.u,d=c.kb();a=c.Je(a);return a>d-b?-1:a}; g.h.xk=function(){return this.u.kb()}; g.h.gr=function(){return this.u.se()}; g.h.Kz=function(a){this.u=a};g.r(oA,lA);oA.prototype.w=function(a,b){return lA.prototype.w.call(this,"$N|"+a,b)}; oA.prototype.C=function(a,b,c){return new nA(a,b,c,this.isLive)};var qA={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},tA={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};var xA={},wA=0;zA.prototype.toString=function(){return JSON.stringify(g.BA(this))}; var Bga=1;DA.prototype.toString=function(){return this.topic};var ioa=g.w("ytPubsub2Pubsub2Instance")||new g.zn;g.zn.prototype.subscribe=g.zn.prototype.subscribe;g.zn.prototype.unsubscribeByKey=g.zn.prototype.hh;g.zn.prototype.publish=g.zn.prototype.R;g.zn.prototype.clear=g.zn.prototype.clear;g.Ga("ytPubsub2Pubsub2Instance",ioa,void 0);var GA=g.w("ytPubsub2Pubsub2SubscribedKeys")||{};g.Ga("ytPubsub2Pubsub2SubscribedKeys",GA,void 0);var IA=g.w("ytPubsub2Pubsub2TopicToKeys")||{};g.Ga("ytPubsub2Pubsub2TopicToKeys",IA,void 0); var HA=g.w("ytPubsub2Pubsub2IsAsync")||{};g.Ga("ytPubsub2Pubsub2IsAsync",HA,void 0);g.Ga("ytPubsub2Pubsub2SkipSubKey",null,void 0);g.r(LA,CA);var Ega=new DA("screen-created",LA),QA=[],RA=0;var XA=g.w("ytLoggingTimeDocumentNonce_")||$t();g.Ga("ytLoggingTimeDocumentNonce_",XA,void 0);g.Ga("yt_logging_screen.getRootVeType",UA,void 0);g.Ga("yt_logging_screen.getCurrentCsn",g.WA,void 0);g.Ga("yt_logging_screen.setCurrentScreen",YA,void 0);var H_=window,BB=H_.performance||H_.mozPerformance||H_.msPerformance||H_.webkitPerformance||{};g.r($A,CA);g.r(aB,CA);var Oga=new DA("aft-recorded",$A),LB=new DA("timing-sent",aB);var kB=g.w("ytLoggingLatencyUsageStats_")||{};g.Ga("ytLoggingLatencyUsageStats_",kB,void 0);var lB=0;g.r(rB,Error);var Lga={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",app_startup:"LATENCY_ACTION_APP_STARTUP","artist.analytics":"LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS","artist.events":"LATENCY_ACTION_CREATOR_ARTIST_CONCERTS","artist.presskit":"LATENCY_ACTION_CREATOR_ARTIST_PROFILE",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS",channel:"LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS","channel.comments":"LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS", "channel.copyright":"LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT","channel.monetization":"LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION","channel.translations":"LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS","channel.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",chips:"LATENCY_ACTION_CHIPS",embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",prebuffer:"LATENCY_ACTION_PREBUFFER",prefetch:"LATENCY_ACTION_PREFETCH",results:"LATENCY_ACTION_RESULTS", search:"LATENCY_ACTION_RESULTS",search_ui:"LATENCY_ACTION_SEARCH_UI",search_zero_state:"LATENCY_ACTION_SEARCH_ZERO_STATE",tenx:"LATENCY_ACTION_TENX",video_to_ad:"LATENCY_ACTION_VIDEO_TO_AD",watch:"LATENCY_ACTION_WATCH","watch,watch7":"LATENCY_ACTION_WATCH","watch,watch7_html5":"LATENCY_ACTION_WATCH","watch,watch7ad":"LATENCY_ACTION_WATCH","watch,watch7ad_html5":"LATENCY_ACTION_WATCH",wn_comments:"LATENCY_ACTION_LOAD_COMMENTS",ww_rqs:"LATENCY_ACTION_WHO_IS_WATCHING","video.analytics":"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS", "video.comments":"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS","video.edit":"LATENCY_ACTION_CREATOR_VIDEO_EDIT","video.translations":"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS","video.video_editor":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR","video.video_editor_async":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC","video.monetization":"LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",voice_assistant:"LATENCY_ACTION_VOICE_ASSISTANT"},I_={},GB=(I_.ad_allowed="adTypesAllowed",I_.yt_abt="adBreakType",I_.ad_cpn= "adClientPlaybackNonce",I_.ad_docid="adVideoId",I_.yt_ad_an="adNetworks",I_.ad_at="adType",I_.browse_id="browseId",I_.p="httpProtocol",I_.t="transportProtocol",I_.cpn="clientPlaybackNonce",I_.cseg="creatorInfo.creatorSegment",I_.csn="clientScreenNonce",I_.docid="videoId",I_.GetHome_rid="getHomeRequestId",I_.is_continuation="isContinuation",I_.is_nav="isNavigation",I_.b_p="kabukiInfo.browseParams",I_.is_prefetch="kabukiInfo.isPrefetch",I_.is_secondary_nav="kabukiInfo.isSecondaryNav",I_.prev_browse_id= "kabukiInfo.prevBrowseId",I_.query_source="kabukiInfo.querySource",I_.voz_type="kabukiInfo.vozType",I_.yt_lt="loadType",I_.mver="creatorInfo.measurementVersion",I_.yt_ad="isMonetized",I_.nr="webInfo.navigationReason",I_.ncnp="webInfo.nonPreloadedNodeCount",I_.prt="playbackRequiresTap",I_.pis="playerInfo.playerInitializedState",I_.paused="playerInfo.isPausedOnLoad",I_.yt_pt="playerType",I_.fmt="playerInfo.itag",I_.yt_pl="watchInfo.isPlaylist",I_.yt_pre="playerInfo.preloadType",I_.yt_ad_pr="prerollAllowed", I_.pa="previousAction",I_.yt_red="isRedSubscriber",I_.st="serverTimeMs",I_.aq="tvInfo.appQuality",I_.br_trs="tvInfo.bedrockTriggerState",I_.label="tvInfo.label",I_.is_mdx="tvInfo.isMdx",I_.preloaded="tvInfo.isPreloaded",I_.query="unpluggedInfo.query",I_.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",I_.yt_vst="videoStreamType",I_.vph="viewportHeight",I_.vpw="viewportWidth",I_.yt_vis="isVisible",I_),Mga="isContinuation isNavigation kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "), J_={},HB=(J_.mver="MEASUREMENT_VERSION_",J_.pis="PLAYER_INITIALIZED_STATE_",J_.yt_pt="LATENCY_PLAYER_",J_.pa="LATENCY_ACTION_",J_.yt_vst="VIDEO_STREAM_TYPE_",J_),Nga="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 GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt d_vpct d_vpnfi d_vpni pc pfa pfeh pftr prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" ");var Qga={vc:!0},JB=!1,Kga=(0,g.x)(BB.clearResourceTimings||BB.webkitClearResourceTimings||BB.mozClearResourceTimings||BB.msClearResourceTimings||BB.oClearResourceTimings||g.Ha,BB);var K_={},Yga=(K_.ALWAYS=1,K_.BY_REQUEST=3,K_);g.r(g.OB,g.O);g.h=g.OB.prototype;g.h.hf=function(a,b){b?(this.ao(a),rC(this)&&gC(this)):(TB(this,a),this.R("dataupdated"))}; g.h.ao=function(a){var b=this;a=a||{};var c=a.errordetail;null!=c&&(this.errorDetail=c);c=a.errorcode;null!=c?this.errorCode=c:"fail"==a.status&&(this.errorCode="150");c=a.reason;null!=c&&(this.errorReason=c);c=a.subreason;null!=c&&(this.ah=c);this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||$t());c=a.raw_embedded_player_response;if(!c){var d=a.embedded_player_response;d&&(c=JSON.parse(d))}c&&(this.Ie=c);this.Ie&&((c=this.Ie.embedPreview)&&vha(this,c),this.Ie.playabilityStatus&&(this.wp= this.Ie.playabilityStatus,GC(this)&&(this.errorDetail="0")));c=a.raw_player_response;c||(d=a.player_response)&&(c=JSON.parse(d));c&&(this.Ka=c);if(this.Ka){(c=this.Ka.annotations)&&Zga(this,c);(c=this.Ka.attestation)&&$ga(this,c);(c=this.Ka.heartbeatParams)&&cha(this,c);(c=this.Ka.messages)&&dha(this,c);(c=this.Ka.multicamera)&&eha(this,c);(c=this.Ka.overlay)&&fha(this,c);if(c=this.Ka.playabilityStatus)gha(this,c),(d=c.errorScreen)&&sha(this,d);(d=this.Ka.playbackTracking)&&hha(this,d,a);(d=this.Ka.playerAds)&& iha(this,d,a);(d=this.Ka.playerConfig)&&jha(this,d);var e=this.Ka.streamingData;e&&qha(this,e,d||null);if(e=this.Ka.trackingParams)this.Oe=e;if(e=this.Ka.videoDetails)rha(this,e,a),uha(this,e,d||null,a);c&&bha(this,c,e||null);if(c=this.Ka.interstitialPods)for(c=g.p(c),d=c.next();!d.done;d=c.next())switch(e=d.value,d=e.interstitials.map(function(f){var k=f.unserializedPlayerResponse;if(k&&!b.va("web_player_unserialized_interstitial_killswitch"))return{is_yto_interstitial:!0,raw_player_response:k}; if(f=f.playerVars)return Object.assign({is_yto_interstitial:!0},fp(f))})[0],e.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":this.interstitials=this.interstitials.concat({time:0, playerVars:d,Ao:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":this.interstitials=this.interstitials.concat({time:0x7ffffffffffff,playerVars:d,Ao:6});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME":e=parseInt(e.podConfig.timeToInsertAtMillis,10),this.interstitials=this.interstitials.concat({time:e,playerVars:d,Ao:0==e?5:7})}this.Id&&this.eventId&&(this.Id=kp(this.Id,{ei:this.eventId}));(c=this.Ka.captions)&&c.playerCaptionsTracklistRenderer&&aha(this,c.playerCaptionsTracklistRenderer); this.Ka.chapterMarkers&&(this.chapterMarkers=this.Ka.chapterMarkers)}d=(c=(this.ri="1"==a.livemonitor)&&!this.va("web_player_live_monitor_state_killswitch"))?"1":a.hlsdvr;null!=d&&(this.allowLiveDvr="1"==d?Mx()?!0:wC&&5>xC?!1:!0:!1);this.adQueryId=a.ad_query_id||null;this.adSafetyReason||(this.adSafetyReason=a.encoded_ad_safety_reason||null);this.IB=a.agcid||null;this.Ut=a.ad_id||null;this.Wt=a.ad_sys||null;this.Ku=a.encoded_ad_playback_context||null;this.Rg=V(this.Rg,a.infringe||a.muted);this.authKey= a.authkey;this.Hc=a.authuser;this.gm=V(!1,a&&a.mutedautoplay)&&this.va("embeds_enable_muted_autoplay");this.yj=V(this.yj,a.enable_cardio);this.hm=V(this.hm,a.enable_cardio_before_playback);this.endSeconds=By(this.endSeconds,this.Er||a.end||a.endSeconds);this.Oe=Cy(this.Oe,a.itct);this.nq=V(this.nq,a.noiba);this.Lm=V(this.Lm,a.is_live_destination);this.sa=c||V(this.sa,a.live_playback);this.isMdxPlayback=V(this.isMdxPlayback,a.mdx);if(c=a.mdx_control_mode)this.mdxControlMode="number"===typeof c?c:g.ed(c); this.mq=V(this.mq,a.is_inline_playback_no_ad);this.Ze=By(this.Ze,a.reload_count);this.reloadReason=Cy(this.reloadReason,a.reload_reason);this.Vk=V(this.Vk,a.show_content_thumbnail);this.uq=V(this.uq,a.utpsa);this.zs=V(this.zs,a.third_party_remapped_ad);this.cycToken=a.cyc||null;this.cA=a.tkn||null;c=sA(a);0=this.ua.videoInfos.length)&&(a=Bs(this.ua.videoInfos[0]),a!=("fairplay"==this.Dc.flavor)))for(b=g.p(this.Li),c=b.next();!c.done;c=b.next())if(c=c.value,a==("fairplay"==c.flavor)){this.Dc=c;break}}; g.h.ks=function(a){this.Rf=a;this.ls(new Jz((0,g.ie)(this.Rf,function(b){return b.Md()})))}; g.h.rd=function(){var a={};this.Aa&&(a.fmt=vs(this.Aa),this.ac&&vs(this.ac)!=vs(this.Aa)&&(a.afmt=vs(this.ac)));a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Rg&&(a.infringe=1);this.sg&&(a.splay=1);var b=oC(this);b&&(a.live=b);this.Fg&&(a.autoplay=1);this.Sn&&(a.sdetail=this.Sn);this.ne&&(a.partnerid=this.ne);this.osid&&(a.osid=this.osid);return a}; g.h.ge=function(){if(!this.xd)if(this.Ka&&this.Ka.storyboards){var a=this.Ka.storyboards,b=a.playerStoryboardSpecRenderer;b&&b.spec?this.xd=new lA(b.spec,this.lengthSeconds):(a=a.playerLiveStoryboardSpecRenderer)&&a.spec&&this.ka&&(b=Qb(this.ka.o).index)&&(this.xd=new oA(a.spec,this.ka.isLive,b))}else this.jo?this.xd=new lA(this.jo,this.lengthSeconds):this.Tm&&this.ka&&(a=Qb(this.ka.o).index)&&(this.xd=new oA(this.Tm,this.ka.isLive,a));return this.xd}; g.h.getStoryboardFormat=function(){if(this.Ka&&this.Ka.storyboards){var a=this.Ka.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.jo||this.Tm}; g.h.dc=function(){return this.ka&&!isNaN(this.ka.dc())?this.ka.dc():ku(this)?0:this.lengthSeconds}; g.h.Db=function(){return this.ka&&!isNaN(this.ka.Db())?this.ka.Db():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.Je(a);b=b.index.Oc(c);return{sequence:c,MQ:Math.floor(1E3*(a-b))}}return null}; g.h.isValid=function(){return!this.ia()&&!(!this.videoId&&!this.Ti)}; g.h.Kb=function(){return rC(this)&&!this.Qg&&!this.vi}; g.h.pc=function(a){if(30==this.ne)return(a=this.Ae["default.jpg"])?a:this.videoId?g.Lf("//docs.google.com/vt",{id:this.videoId,authuser:this.Hc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif";a||(a="hqdefault.jpg");var b=this.Ae[a];return b||this.Qa.F||"pop1.jpg"==a||"pop2.jpg"==a||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a?b:gz(this.Qa,this.videoId,a)}; g.h.Se=function(){return this.sa||this.Zj||this.jw||!(!this.liveUtcStartSeconds||!this.fk)}; g.h.Yj=function(){return!!this.ka&&(this.ka.Yj||!this.Zj&&!this.sa&&this.ka.w)}; g.h.getAvailableAudioTracks=function(){return this.ua?0b-this.F+2||aD(this,a,b))){var d=this.u.rd();c=d.volume;var e=c!=this.U;d=d.muted;d!=this.K?(this.K=d,c=!0):(!e||0<=this.C||(this.U=c,this.C=b),c=b-this.C,0<=this.C&&2e;!(1e&&0!=e&&d.o==e||g.by("yt-player-quality",du(d),2592E3)}}oJ(c)}}; g.h.getCurrentBroadcastId=function(){var a=DK(this.app.A);return a?a.fv():null}; g.h.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)}; g.h.setCardsVisible=function(a,b,c){var d=g.zK(this.app.A);d&&d.jk()&&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.UC(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.UC(this);l&&l.handleGlobalKeyUp(a,b,c,d,e,f,k)}; g.h.lC=function(){return this.getAudioTrack()}; g.h.getAudioTrack=function(){var a=g.S(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().wj}; g.h.setAudioTrack=function(a){3==this.getPresentingPlayerType()&&g.uK(this.app.A).nk("control_set_audio_track",a);var b=g.S(this.app,this.playerType);if(b&&!b.ia()&&!g.R(b.u,128))if(b.S.ua.o)b.w.setAudioTrack(a);else{a:{var c=b.S;if(c.ac&&!Bs(c.ac)||a==c.Qk||!c.Rf||0>=c.Rf.length)c=!1;else{for(var d=g.p(c.Rf),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof Sz)){c=!1;break a}var f=a.rb.getId();e.u&&(e.u.u=f,e.o=null)}c.Qk=a;c=!0}}c&&(b.R("internalaudioformatchange",b.S,!0),VI(b)&&b.Oa("hlsaudio", a.id))}}; g.h.mC=function(){return this.getAvailableAudioTracks()}; g.h.getAvailableAudioTracks=function(){return g.S(this.app,this.playerType).getAvailableAudioTracks()}; g.h.getMaxPlaybackQuality=function(){var a=g.S(this.app,this.playerType);return a&&a.getVideoData().Aa?du(a.H?DH(a.P,a.H,eu(a)):Wx):"unknown"}; g.h.getUserPlaybackQualityPreference=function(){var a=g.S(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.UC(this);a&&a.showControls(!0)}; g.h.hideControls=function(){var a=g.UC(this);a&&a.showControls(!1)}; g.h.getVisibilityState=function(){var a=this.app.O();a=this.app.H.o&&!g.P(a.experiments,"kevlar_miniplayer_disable_vis");return this.app.getVisibilityState(this.uh(),this.isFullscreen()||Ry(this.app.O()),a,this.isInline(),this.app.H.A)}; g.h.isFullscreen=function(){return this.app.isFullscreen()}; g.h.isInline=function(){return this.app.isInline()}; g.h.uh=function(){var a=g.S(this.app,this.playerType);return!!a&&a.K.u}; g.h.getVideoContentRect=function(a){a=this.app.G.getVideoContentRect(a);return{left:a.left,top:a.top,width:a.width,height:a.height}}; g.h.setSafetyMode=function(a){this.app.O().enableSafetyMode=a}; g.h.setUserEngagement=function(a){this.app.O().od!=a&&(this.app.O().od=a,(a=g.S(this.app,this.playerType))&&oJ(a))}; g.h.setFauxFullscreen=function(a){as();tS(this.app,a?2:0)}; g.h.toggleFullscreen=function(){var a=this.app.O();a.externalFullscreen?this.isFullscreen()?ds(window.document.documentElement):$r(window.document.documentElement):as()?this.isFullscreen()?ds(bT(this.app)):"3"==a.controlsType?(a=this.app.B.fb())&&$r(a):$r(this.app.G.element):this.la("onFullscreenToggled",this.isFullscreen())}; g.h.cancelPlayback=function(){var a=yP(this.app.A);a&&a.created&&a.destroy();(a=g.S(this.app))&&a.stopVideo();(a=this.app.A.u.get("endscreen"))&&a.FD()&&g.qK(this.app.o,!0)}; g.h.stopVideo=function(){var a=this.app.O();!g.P(a.experiments,"disable_new_pause_state3")&&hz(a)&&"blazer"!=a.playerStyle?this.cancelPlayback():KC.prototype.stopVideo.call(this)}; g.h.getVideoStats=function(){return g.S(this.app,this.playerType).bb(!0)}; g.h.toggleSubtitles=function(){var a=g.rP(this.app.A);a&&a.wM()}; g.h.updateSubtitlesUserSettings=function(a){g.rP(this.app.A).sA(a,!0)}; g.h.getSubtitlesUserSettings=function(){var a=g.rP(this.app.A);return a?a.MC():null}; g.h.resetSubtitlesUserSettings=function(){g.rP(this.app.A).UL()}; 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.yK(this.app.A);b&&b.setSphericalProperties(a,!0)}}; g.h.getSphericalProperties=function(){var a=g.yK(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){OC(this,a,b)}; g.h.mute=function(a){PC(this,a)}; g.h.unMute=function(a){QC(this,a)}; g.h.isMutedByMutedAutoplay=function(){return this.app.Ha}; g.h.loadModule=function(a){if("annotations_module"==a){var b=g.zK(this.app.A);b&&!b.loaded&&b.load()}KC.prototype.loadModule.call(this,a)}; g.h.unloadModule=function(a){if("annotations_module"==a){var b=g.zK(this.app.A);b&&b.loaded&&b.unload()}KC.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=yP(d))&&a.Ac&&a.Ac(b,c);case "kids":return(a=zP(d))&&a.Ac(b,c);case "remote":return(a=g.uK(d))&&a.Ac(b,c);case "unplugged":return(a=AP(d))&&a.Ac(b,c);case "annotations_module":return(a=g.zK(d))&&a.Ac(b,c);case "creatorendscreen":return(a=BP(d))&&a.Ac(b,c)}return KC.prototype.setOption.call(this,a,b,c)}; g.h.getOptions=function(a){var b=this.app.A;switch(a){case "ad":return(b=yP(b))&&b.getOptions&&b.getOptions();case "remote":return(b=g.uK(b))&&b.getOptions();case "annotations_module":return(b=g.zK(b))&&b.getOptions();case "creatorendscreen":return(b=BP(b))&&b.getOptions();case "unplugged":return(b=AP(b))&&b.getOptions();case "kids":return(b=zP(b))&&b.getOptions()}if(!a){a=KC.prototype.getOptions.call(this);if(!a)return a;yP(b)&&a.push("ad");g.uK(b)&&a.push("remote");g.zK(b)&&a.push("annotations_module"); BP(b)&&a.push("creatorendscreen");AP(b)&&a.push("unplugged");zP(b)&&a.push("kids");return a}return KC.prototype.getOptions.call(this,a)}; g.h.getPlayerSize=function(){var a=this.app.G.getPlayerSize();return{width:a.width,height:a.height}}; g.h.setGlobalCrop=function(a){this.app.G.setGlobalCrop(a)}; g.h.wakeUpControls=function(){var a=g.UC(this);a&&a.Vq()}; g.h.getVideoAspectRatio=function(){return this.app.G.getVideoAspectRatio()}; g.h.setUseFastSizingOnWatch=function(a){this.app.G.setUseFastSizingOnWatch(a)}; g.h.setInternalSize=function(a,b){this.app.G.setInternalSize(new g.ud(a,b))};yD.prototype.reset=function(){vB("")}; yD.prototype.tick=function(a,b){CB(a,b,"")}; yD.prototype.info=function(a,b){EB(a,b,"")};g.r(g.AD,g.E);g.AD.prototype.getId=function(){return this.C}; g.AD.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.C+"}["+BD(this.start)+", "+BD(this.end)+"]"}; g.AD.prototype.contains=function(a,b){return a>=this.start&&(athis.status&&!!this.u}; g.h.tg=function(){return!!this.A.length||(this.K||sE(this))&&0this.status&&!!this.response&&!!this.response.byteLength}; g.h.tg=function(){return this.A&&!!this.response&&!!this.response.byteLength}; g.h.Pq=function(){this.tg();var a=this.response;this.response=null;return new Uint8Array(a)}; g.h.Oq=function(){this.tg();return new Uint8Array(this.response)}; g.h.abort=function(){this.u=!0;this.o.abort()}; g.h.us=function(){return!1}; g.h.Or=function(){return!1}; g.h.nn=function(){return""};g.h=IE.prototype;g.h.start=function(a){OE(this,2);this.P=++IE.o;this.w?(this.K=nfa(this.info,this.w.w,this.w.length),this.u=g.Kw(this.info,this.A,this.V,this.K)):(this.K=this.info.range,this.u=g.Kw(this.info,this.A,this.V));var b=!1;if(this.A.za&&2>this.info.u.o&&this.H){var c=this.u.get("aitags");if(c&&(Jw(this.info)||this.info.He())&&this.da&&"auto"==ey()&&jy()){var d=$c(c).split(","),e=[];(0,g.z)(this.da,function(f){g.$a(d,f)&&e.push(f)}); 0d.o&&4E12>a?a:(0,g.A)();DE(d,a,b);50>a-d.C&&EE(d)&&3!=xE(d)||BE(d,a,b,c);b=this.timing;b.w>b.Ha&&yE(b,b.w)&&4>this.state?OE(this,4):TE(this)&&UE(this)&&OE(this,Math.max(3,this.state))}}; g.h.rL=function(){if(!this.ia()&&this.o){if(!this.U&&this.o.ki()&&this.o.bd("X-Walltime-Ms")){var a=parseInt(this.o.bd("X-Walltime-Ms"),10);this.U=((0,g.A)()-a)/1E3}this.o.ki()&&this.o.bd("X-Restrict-Formats-Hint")&&this.A.qt&&!jy()&&g.by("yt-player-headers-readable",!0,2592E3)}}; g.h.qL=function(){var a=this.o;!this.ia()&&a&&(this.T.stop(),this.C=a.status,a=Xha(this,a),7==a?PE(this):OE(this,a))}; g.h.QL=function(){if(!this.ia()){var a=(0,g.A)(),b=!1;EE(this.timing)?(a=this.timing.T,HE(this.timing),this.timing.T-a>=.8*this.A.H?(this.F++,b=5<=this.F):this.F=0):(b=this.timing,b.F&&GE(b,(0,g.A)()),a-=b.P,this.A.od&&01E3*this.A.jc);this.F&&this.G&&this.G(this);b?SE(this,!1):this.T.start()}}; g.h.ia=function(){return-1==this.state}; g.h.dispose=function(){this.info.He()&&6!=this.state&&(this.info.o[0].o.C=!1);OE(this,-1);this.G=null;this.T.dispose();this.A.Wb||RE(this)}; IE.DEBUG=!1;IE.o=0;g.r(VE,g.O);VE.prototype.getDuration=function(){return this.B.index.Zh()};nF.prototype.getDuration=function(){return this.o.index.Zh()};KF.prototype.setPlaybackRate=function(a){this.w=Math.max(1,a)}; KF.prototype.getPlaybackRate=function(){return this.w};PF.prototype.wa=function(){this.Rc("gv")}; PF.prototype.Rc=function(a,b){this.B[a]=b?window.performance.timing.navigationStart+b:(0,g.Mq)()};YF.prototype.send=function(){g.Bp(this.u,{format:"RAW",responseType:"arraybuffer",timeout:1E4,cd:this.w,Sd:this.w,context:this});this.o=(0,g.Mq)()}; YF.prototype.w=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:(((0,g.Mq)()-this.o)/1E3).toFixed(3),shost:g.Af(this.u),trigger:this.C};204==a.status||a.response?this.A&&this.A(gs(b)):this.B(new fs("pathprobe.net",!1,b))};g.r(ZF,g.O);g.r(iG,g.E);iG.prototype.removeCueRange=function(a){if(!this.ia()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.db(this.w,c);var d=this.o,e=d.o;c=g.ob(e,c,d.u);0<=c&&g.cb(e,c)}}this.u()}}; iG.prototype.reset=function(){this.started=!1;this.B.stop();this.o.o=[];this.w=[];this.u()}; iG.prototype.u=function(){this.C=!0;if(!this.F){for(var a=3;this.C&&a;)this.C=!1,this.F=!0,uia(this),this.F=!1,a--;g.Mt(this.G())&&(a=gG(this.o,this.A),!isNaN(a)&&0x7ffffffffffff>a&&(a=(a-this.A)/this.K(),this.B.start(a)))}}; iG.prototype.Y=function(){this.w=[];this.o.o=[];g.E.prototype.Y.call(this)};nG.prototype.then=function(a,b){return this.w.then(a,b)}; nG.prototype.resolve=function(a){this.u(a)}; nG.prototype.reject=function(a){this.o(a)};g.r(qG,g.O);g.h=qG.prototype;g.h.initialize=function(a,b,c){a=a||0;this.R("videoformatchange",jia(this.F));if(this.B.u){if(this.o.zA){b=Pw(this.o);for(var d in this.B.o)this.B.o[d].index.A=b}via(this)}this.G&&$F(this.G,this.u.o);this.o.F&&Ku()&&this.tc("streaming","ac."+(this.o.qf&&!!window.AbortController),!0);this.C=this.B.u?0:a;c?(this.o.ld?(this.Eb=c,sG(this,c)):sG(this,!1),g.cn(this.ra)):(a=0==this.C,PG(this,this.u,this.u.o,a),PG(this,this.A,this.A.o,a),this.seek(this.C),this.fa.wa())}; g.h.resume=function(){if(this.aa||this.da)this.za=this.da=this.aa=!1,this.We()}; g.h.setAudioTrack=function(a){if(!this.ia()){var b=this.F;b.w=b.C.o[a.id];b.J=b.w;this.R("audioformatchange",new VD(b.J,b.B,"m"));this.R("reattachrequired")}}; g.h.setPlaybackRate=function(a){a!=this.H.getPlaybackRate()&&this.H.setPlaybackRate(a)}; g.h.lK=function(a){var b=this.o.od;if(!(!(b&&2<=a.state)||5<=a.state||a.F(0,g.Mq)()||EG(this,a,!1)}}}}; g.h.We=function(){wG(this);if(this.w&&it(this.w)&&!this.w.Qd()){var a=oF(this.u);a=this.o.Im&&a&&a.C;this.B.isLive&&!a?isNaN(this.J)?(this.J=this.C+3600,jt(this.w,this.J)):this.J<=this.C+1800&&(this.J=Math.max(this.J+1800,this.C+3600),jt(this.w,this.J)):this.w.isView()||(a=Math.max(this.A.getDuration(),this.u.getDuration()),(!isFinite(this.J)||this.J!=a)&&0=c||cthis.w&&(this.w=c,g.Zb(this.o)||(this.o={},this.A.stop(),this.u.stop())),this.o[b]=a,g.cn(this.u))}}; VG.prototype.B=function(){for(var a in this.o)this.R("rotated_need_key_info_ready",new TG(Jia(this.o[a],this.w,a),"fairplay",!0));this.o={}};var W_={},joa=(W_.DRM_TRACK_TYPE_AUDIO="AUDIO",W_.DRM_TRACK_TYPE_SD="SD",W_.DRM_TRACK_TYPE_HD="HD",W_.DRM_TRACK_TYPE_UHD1="UHD1",W_);g.r(YG,g.E);YG.prototype.B=function(a){this.ia()||(0!=a.status&&a.response?(CB("drm_net_r"),a=new Uint8Array(a.response),(a=XG(a))?this.w(a):this.o(this,"drm.net","t.p")):this.A(a))}; YG.prototype.A=function(a){this.ia()||this.o(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)}; YG.prototype.F=function(a){if(!this.ia()){CB("drm_net_r");a:{var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;try{c=g.ne(a.license)}catch(n){}if(0!=b||c){c=new WG(b,c);0!=b&&a.reason&&(c.errorMessage=a.reason);if(a.authorizedFormats){b={};for(var d=[],e={},f=g.p(a.authorizedFormats),k=f.next();!k.done;k=f.next()){k=k.value;var l=joa[k.trackType];if(l){"HD"==l&&a.isHd720&&(l="HD720");b[l]||(d.push(l),b[l]=!0);var m=null;try{m=g.ne(k.keyId)}catch(n){}if(!m){a=null;break a}e[g.le(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")}}; YG.prototype.C=function(a){this.ia()||(a=a.error,this.o(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.r(ZG,g.E);g.h=ZG.prototype;g.h.bF=function(a){if(this.B){var b=a.messageType||"license-request";this.B.call(this.w,new Uint8Array(a.message),b)}}; g.h.cF=function(){this.G&&this.G.call(this.w,this.o.keyStatuses)}; g.h.dy=function(a,b){g.N(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.kI=function(){this.ia()||Hp("xboxone")&&this.A&&this.A.call(this.w,"closed")}; g.h.By=function(a){this.B&&this.B.call(this.w,a.message,"license-request")}; g.h.Ay=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.zy=function(){this.F&&this.F.call(this.w)}; g.h.update=function(a){if(this.o)return this.o.update(a).then(null,to((0,g.x)(this.dy,this,"t.update")));this.u?this.u.update(a):this.C.addKey?this.C.addKey(this.J.o,a,this.H,this.sessionId):this.C.webkitAddKey(this.J.o,a,this.H,this.sessionId);return eq()}; g.h.Y=function(){this.o&&this.o.close();this.C=null;g.E.prototype.Y.call(this)};g.r($G,g.E);g.h=$G.prototype; g.h.createSession=function(a){var b=a.initData;if(this.o.u){var c=this.B.createSession();"com.youtube.fairplay"==this.o.o&&(b=bH(this,b));b=c.generateRequest(a.contentType,b);c=new ZG(null,null,null,c,null);b.then(null,to((0,g.x)(c.dy,c,"t.generateRequest")));return c}if(Az(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 ZG(null,null,null,null,b)}if(Dz(this.o))return b=bH(this,b),b=this.w.createSession("video/mp4",b),new ZG(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 ZG(this.u,this.o,b,null,null)}; g.h.fF=function(a){var b=cH(this,a);b&&b.By(a)}; g.h.eF=function(a){var b=cH(this,a);b&&b.Ay(a)}; g.h.dF=function(a){var b=cH(this,a);b&&b.zy(a)}; g.h.Y=function(){g.E.prototype.Y.call(this);delete this.u};var e0={},Ria=(e0.widevine="DRM_SYSTEM_WIDEVINE",e0.fairplay="DRM_SYSTEM_FAIRPLAY",e0.playready="DRM_SYSTEM_PLAYREADY",e0);g.r(fH,g.E);g.h=fH.prototype; g.h.ZE=function(a,b){if(!this.ia()){eH(this,"onkmtyp"+b);if(!g.P(this.w.experiments,"html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":Qia(this,a);return;default:this.Vb.R("ctmp","message_type","t."+b+";l."+a.byteLength)}this.J||(CB("drm_gk_f"),this.J=!0,this.Vb.R("newsession",this));if(Bz(this.u)){var c=gH(a);if(!c)return;a=c}if("fairplay"==this.u.flavor){c=g.le(a);for(var d=new Uint8Array(c.length), e=0;e=a.size||(a.forEach(function(c,d){var e=Bz(b.u)?d:c,f=new Uint8Array(Bz(b.u)?c:d);Bz(b.u)&&mH(f);var k=g.le(f,4);mH(f);f=g.le(f,4);b.o[k]?b.o[k].status=e:b.o[f]?b.o[f].status=e:b.o[k]={type:"",status:e}}),eH(this,"onksch"),this.Vb.R("keystatuseschange",this))}; g.h.YE=function(a){this.ia()||dH(this,"drm.keyerror",!0,a)}; g.h.RI=function(a){var b=this;if(!this.ia())if(eH(this,"onlcsrsp"),0!=a.statusCode)dH(this,"drm.auth",!0,"t.f;c."+a.statusCode,a.errorMessage||void 0);else{CB("drm_kr_s");a.heartbeatParams&&this.Vb.R("newlicense",a.heartbeatParams);var c=g.P(this.w.experiments,"html5_hdr_separate_keys_support")&&this.S.Aa&&ys(this.S.Aa),d=g.P(this.w.experiments,"html5_key_statuses_post_update_session"),e=c||d;a.o&&(this.C=a.o,this.K=Vh(this.C,function(f){return f.includes("HDR")}),hH(this)||e||kH(this)); a.u&&(this.o=Nb(a.u,function(f){return{type:f,status:"unknown"}})); Dz(this.u)&&(a.message=g.ne(Fv(a.message)));this.A&&(eH(this,"updtks"),this.A.update(a.message).then(function(){CB("drm_kr_f");!hH(b)&&e&&kH(b)})); this.F&&(this.U=(0,g.Mq)());"fairplay"==this.u.flavor&&this.Vb.R("fairplay_next_need_key_info",this.H,a.w)}}; g.h.QI=function(a,b,c){if(!this.ia()){var d=!1;if(3<=a.u.u||this.T&&36E4<(0,g.Mq)()-this.U)d=!0,b="drm.net.retryexhausted";eH(this,"onlcsrqerr"+b+c);dH(this,b,d,c);(this.T&&this.F?0:!d&&this.P==a.number)&&Sia(this,a)}}; g.h.Y=function(){g.E.prototype.Y.call(this)}; g.h.bb=function(){var a={requestedKeyIds:this.da,cryptoPeriodIndex:this.cryptoPeriodIndex};this.A&&(a.keyStatuses=this.o);return a}; g.h.Md=function(){var a=this.C.join();if(hH(this)){var b=[],c;for(c in this.o)"usable"!=this.o[c].status&&b.push(this.o[c].type);a+="/UKS:"+b}return a+="/"+this.cryptoPeriodIndex};pH.prototype.get=function(a){a=this.Cj(a);return-1!=a?this.values[a]:null}; pH.prototype.remove=function(a){a=this.Cj(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))}; pH.prototype.set=function(a,b){var c=this.Cj(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))}; pH.prototype.Cj=function(a){return g.Ya(this.keys,function(b){return g.rb(a,b)})};g.r(qH,SG);qH.prototype.B=function(a){var b=(0,g.A)(),c;if(!(c=this.A)){a:{c=a.cryptoPeriodIndex;if(!isNaN(c))for(var d=g.p(this.w.values),e=d.next();!e.done;e=d.next())if(1>=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}c=!1}c=!c}c?c=0:(c=a.o,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.o.push({time:b+c,info:a});g.cn(this.u,c)};g.r(tH,g.O);g.h=tH.prototype;g.h.wI=function(a){sH(this,"onecpt");wH(this,new Uint8Array(a.initData),a.initDataType)}; g.h.vJ=function(a){sH(this,"onndky");wH(this,a.initData,a.contentType)}; g.h.dJ=function(){var a=this;if(!this.ia())if(!g.P(this.w.experiments,"html5_drm_set_server_cert")||g.$y(this.w)&&!g.Kp())zH(this);else{var b=Mia(this.K);b?b.then(to(function(c){kC(a.S)&&a.R("ctmp","ssc",c)}),to(function(c){a.R("ctmp","ssce","n."+c.name+";m."+c.message)})).then(to(function(){return zH(a)})):zH(this)}}; g.h.PH=function(a){if(!this.ia()){g.N(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.Xt=function(a){this.A.push(a);vH(this)}; g.h.xJ=function(a){this.ia()||(sH(this,"onnelcswhb"),a&&!this.ba&&(this.ba=a,this.R("heartbeatparams",a)))}; g.h.yJ=function(){this.ia()||(sH(this,"newlcssn"),this.A.shift(),this.U=!1,vH(this))}; g.h.BK=function(){if(Az(this.o)&&(sH(this,"onsnrdy"),this.fa--,0==this.fa)){var a=this.B;a.u.msSetMediaKeys(a.w)}}; g.h.gF=function(a){this.ia()||(sH(this,"onksch"),yH(this,lH(a,this.da)))}; g.h.II=function(){this.ia()||this.V||!Cz(this.o)||(sH(this,"onhdet"),this.P=mJ,this.R("hdproberequired"),this.R("qualitychange"))}; g.h.Y=function(){this.o.u&&this.J.setMediaKeys(null);this.J=null;this.A=[];for(var a=g.p(this.u.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.u;a.keys=[];a.values=[];this.aa&&(this.aa.dispose(),this.aa=null);g.O.prototype.Y.call(this)}; g.h.bb=function(){for(var a={systemInfo:this.o.bb(),sessions:[]},b=g.p(this.u.values),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.bb());return a}; g.h.Md=function(){return 0>=this.u.values.length?"no session":this.u.values[0].Md()+(this.F?"/KR":"")};g.r(BH,g.O);BH.prototype.setPlaybackRate=function(a){this.G=a}; BH.prototype.va=function(a){return g.P(this.o.experiments,a)};g.r(LH,g.E); LH.prototype.C=function(){if(!(this.H||0>this.w)){NH(this);var a=g.gD(this.u)-this.w,b="PLAYER_PLAYBACK_STATE_UNKNOWN";this.o.isError()?b="PLAYER_PLAYBACK_STATE_ERROR":g.R(this.o,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.R(this.o,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.R(this.o,16)||g.R(this.o,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.R(this.o,1)&&g.R(this.o,4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.R(this.o,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING":g.R(this.o,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.R(this.o, 8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");var c=oC(this.u.videoData),d="LIVE_STREAM_MODE_UNKNOWN";"live"==c?d="LIVE_STREAM_MODE_LIVE":"dvr"==c&&(d="LIVE_STREAM_MODE_DVR");c=OH(this.u);var e=0>this.A?a:this.A-this.w;a=this.u.ab.fa+36E5<(0,g.Mq)();b={started:0<=this.A,stateAtSend:b,joinLatencySecs:e,playTimeSecs:this.F,rebufferTimeSecs:this.G,canaryType:c,isAd:this.u.videoData.isAd(),liveMode:d,hasDrm:!!g.lC(this.u.videoData),isGapless:this.u.videoData.Re};!a&&jD(this.u,"html5_health_to_gel")&&zr("html5PlayerHealthEvent", b);jD(this.u,"html5_health_to_qoe")&&(b.muted=a,this.U(gs(b)));this.H=!0;this.dispose()}}; LH.prototype.Y=function(){this.H||this.C();g.E.prototype.Y.call(this)};g.r(QH,g.E); QH.prototype.F=function(a){if(!this.ia()&&(a=0<=a?a:g.gD(this.o),-1<["PL","B","S"].indexOf(this.w)&&(!g.Zb(this.u)||a>=this.C+30)&&(g.PH(this,a,"vps",[this.w]),this.C=a),!g.Zb(this.u))){TH(this,a);var b=a,c=this.o.B(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.ga,k=e&&!this.xa;if(d>c.totalVideoFrames||5E3=this.dc())||!g.yC(this.S);l||this.R("ctmp","seeknotallowed",k+";"+this.dc());if(!l)return this.C&&(this.C=null,rI(this)),Rk(this.getCurrentTime());if(a==this.u&&this.K)return this.G;this.K&&lI(this);this.G||(this.G=new nG);a&&!isFinite(a)&&nI(this,!1);k=a;qI(this)&&!(this.o&&0b.w&&3!=b.u.getVisibilityState()&&MH(b)}a.o&&(a=a.o,jD(a.o,"html5_qoe_user_intent_match_health")&&a.ba&&0>a.B&&a.o.ab.ya&&WH(a));g.Q(this.A.experiments,"html5_background_quality_cap")&&this.w&&pJ(this);this.A.El&&!this.S.backgroundable&&this.o&&!this.K.u&&(this.K.isBackground()&&this.o.jn()?(this.Oa("bgmobile","suspend"),g.dJ(this,!0)):this.K.isBackground()||VI(this)&&this.Oa("bgmobile", "resume"))}; g.h.wJ=function(a,b){this.F?xH(this.F,a,b):this.tb.push({type:a,info:b})}; g.h.sy=function(){g.Px&&this.ba&&this.ba.o&&this.F&&(Wia(this.F,this.ba.o),this.ba=null)}; g.h.eL=function(a){this.S.uA=Ux("auto",a,!1,"u");pJ(this)}; g.h.nE=function(a){aJ(this,a.reason,a.video.info,a.audio.info)}; g.h.XI=function(a){$I(this,a.reason,a.audio.info)}; g.h.rh=function(a){var b=this;xja(this,a);if("fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!yJ(this,a.errorCode,a.details)){var c=/^pp/.test(this.S.clientPlaybackNonce);if(wja(a)){a.details.sts="18177";if(IJ(this)){g.R(this.u,4)||g.R(this.u,512)?(this.nd=!0,HI(this)):(a.o&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.o=!1),this.B.onError(a.errorCode,gs(a.details)),LJ(this));return}6048E5<(0,g.Mq)()-this.A.fa&&VJ(this,"signature")}if(WJ(a)&&this.S.ua&&this.S.ua.u)this.B.onError(a.errorCode, gs(a.details)),this.Oa("highrepfallback","1",!0),!this.va("html5_hr_logging_killswitch")&&/^hr/.test(this.S.clientPlaybackNonce)&&btoa&&this.Oa("afmts",btoa(this.S.adaptiveFormats),!0),wha(this.S),FI(this),HI(this),xJ(this),this.playVideo();else if(a.o){c=this.w?this.w.F.A:null;if(WJ(a)&&c&&c.isLocked())var d="FORMAT_UNAVAILABLE";else if(!this.A.Qb&&"auth"==a.errorCode&&429==a.details.rc){d="TOO_MANY_REQUESTS";var e="6"}g.DI(this,a.errorCode,d,gs(a.details),e)}else this.B.onError(a.errorCode,gs(a.details)), c&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.S.clientPlaybackNonce+"&t="+(0,g.Mq)(),(new YF(a,"manifest",function(f){b.Ng=!0;b.Oa("pathprobe",f)},function(f){return b.B.onError(f.errorCode,gs(f.details))})).send())}}; g.h.pauseVideo=function(a){a=void 0===a?!1:a;if((g.R(this.u,64)||g.R(this.u,2))&&!a)if(g.R(this.u,8))NI(this,Kt(this.u,4,8));else return;if(this.o||g.P(this.A.experiments,"html5_pause_video_fix"))g.R(this.u,128)||(a?NI(this,It(this.u,256)):NI(this,Kt(this.u,4,8))),this.o&&this.o.pause(),g.yC(this.S)&&this.w&&kJ(this,!1)}; g.h.stopVideo=function(){this.pauseVideo();this.w&&(kJ(this,!1),uG(this.w))}; g.h.seekTo=function(a,b,c,d,e,f){a=void 0===a?0:a;b=void 0===b?!1:b;d=void 0===d?!1:d;e=void 0===e?!1:e;f=void 0===f?0:f;g.R(this.u,2)&&VI(this);this.C.seekTo(a,b,d,c,e,f)}; g.h.getCurrentTime=function(){return this.C.getCurrentTime()}; g.h.getPlaylistSequenceForTime=function(a){return this.S.getPlaylistSequenceForTime(a-this.yb())}; g.h.getDuration=function(){return this.S.lengthSeconds?this.S.lengthSeconds+this.yb():uJ(this)?uJ(this):0}; g.h.JC=function(){var a=new Tfa;if(this.w){var b=this.A.schedule;a.w=b.J;a.B=b.K;a.bandwidthEstimate=wy(b);a.o="d."+ty(b).toFixed(2)+";st."+(1E9*(b.B.o()||0)).toFixed(2)+";bw."+b.o.o().toFixed(0)+";abw."+b.F.o().toFixed(0)+";v50."+py(b.u,.5).toFixed(2)+";v92."+py(b.u,.92).toFixed(2)+";v96."+py(b.u,.96).toFixed(2)+";v98."+py(b.u,.98).toFixed(2);b=this.w;if(b.w&&!kt(b.w)&&(a.u=zF(b.u,b.C),a.A=zF(b.A,b.C),b.o.fa)){var c=yF(b.u),d=yF(b.A),e=Xs(b.w.u.Cc(),"_"),f=Xs(b.w.o.Cc(),"_");a.o=(a.o||"")+(";lvq."+ c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=NF(b.H)}else this.o&&(a.u=tt(this.o));a.C=this.yv();return a}; g.h.bb=function(a){var b={};if(void 0===a?0:a){g.Ra(b,this.B.bb());this.o&&(g.Ra(b,this.o.bb()),g.Ra(b,this.Op()));this.w&&g.Ra(b,this.w.bb());this.F&&(b.drm=this.F.bb());b.state=this.u.o.toString(16);g.R(this.u,128)&&(b.debug_error=this.u.u);YI(this)&&(b.prerolls=this.T.join(","));this.S.Jf&&(b.ismb=this.S.Jf);"UNKNOWN"!=this.S.latencyClass&&(b.latency_class=this.S.latencyClass);this.S.isLowLatencyLiveStream&&(b.lowlatency="1");this.S.sa&&(this.S.ka&&wx(this.S.ka)&&(b.segduration=wx(this.S.ka)), a=this.C,b.lat=a.H?St(a.H.A):0,b.liveutcstart=this.S.liveUtcStartSeconds);b.relative_loudness=this.S.Nk.toFixed(3);if(a=g.iu(this))b.optimal_format=a.wa().qualityLabel;b.user_qual=ey()}b.debug_videoId=this.S.videoId;return b}; g.h.addCueRange=function(a){var b=this.J;a=[a];b.u();hG(b.o,a);b.A=NaN;b.u()}; g.h.removeCueRange=function(a){this.J.removeCueRange(a)}; g.h.fL=function(){MI(this)}; g.h.togglePictureInPicture=function(){this.o&&this.o.togglePictureInPicture()}; g.h.oE=function(a){this.od.stop();var b=a.target.Tc();if(this.o&&this.o.Tc()&&this.o.Tc()==b){kK(this,a.type);switch(a.type){case "error":var c=xt(this.o)||"";if("capability.changed"==c){UI(this);return}if(0this.o.getCurrentTime()&&this.w)return;break;case "resize":lK(this);this.S.Aa&&"auto"==this.S.Aa.wa().quality&&this.R("internalvideoformatchange",this.S,!1);break;case "pause":if(this.Yd&&g.R(this.u,8)&&!g.R(this.u,1024)&&0==this.getCurrentTime()&&g.rz){eK(this,"safari_autoplay_disabled");return}}if(this.o&&this.o.Tc()==b){this.R("videoelementevent",a);b=this.u;if(!g.R(b,128)){c=this.ya;e=this.o;var f=this.A.experiments;d=b.o;e=e?e:a.target;var k=e.getCurrentTime();if(!g.R(b, 64)||"ended"!=a.type&&"pause"!=a.type){var l=e.Qe()||1Math.abs(k-e.getDuration());k="ended"==a.type||"waiting"==a.type||"timeupdate"==a.type&&!g.R(b,4)&&!Dt(c,k);if("pause"==a.type&&e.Qe()||l&&k)0Math.random()&&(f+=";gpu."+(0,g.SI)());d={errorCode:d,errorMessage:g.cJ[e]|| "",zp:e,pz:f}}else d=null;b=Ht(b,c,d)}!g.R(this.u,1)&&g.R(b,1)&&jK(this,"evt_"+a.type);NI(this,b)}}}; g.h.TK=function(){this.Oa("misstimeupdate","");$J(this)&&!g.R(this.u,2)&&BI(this,!0,!1)}; g.h.FH=function(a){a="available"==a.u.availability;a!=this.Zb&&(this.Zb=a,this.R("airplayavailabilitychange"))}; g.h.GH=function(){var a=this,b=(0,g.Mq)();if(isNaN(this.Ma)||!(2E3>b-this.Ma)){var c=this.o.uh();this.Ma=b;c!=this.K.u&&(mja(this.K,c),UI(this).then(function(){return VI(a)})); this.R("airplayactivechange")}}; g.h.kp=function(){var a=this.o;a&&this.za&&!this.S.de&&!uB("vfp")&&2<=a.je()&&!a.Qe()&&0<$s(a.Ld())&&this.U.tick("vfp");return(a=this.o)&&!this.S.de&&0Math.abs(c-a)?this.o.gn()?this.seekTo(0,!0):BI(this):this.va("html5_reseek_in_pfx")&&1.1this.kf)a="drm.sessionlimitexhausted",b=!1;else if(this.va("html5_drm_fallback_to_playready_on_retry")&&"drm.keyerror"==a&&2>this.lf&&(this.lf++,FI(this),1Math.random()&&g.uo(Error("Botguard not available after 2 attempts")),(!a||this.va("web_player_botguard_fallback_killswitch"))&&5>this.xa)){g.cn(this.Mb);this.xa++;return}if(b.S&&b.S.Rh){a=[b.S.Rh];for(var c in b.u)if(b.o[c]&&b.u[c]){var d=b.u[c](b.o);d&&a.push(d)}b=a.join("&")}else b=null;b&&(c=this.B,c.u&&(c=c.u,c.K||(a=qD(c,"atr"),a.H=b,a.send(), c.K=!0)),this.Ha=!0)}}; g.h.Db=function(){return this.C.Db()}; g.h.yb=function(){return this.C?this.C.yb():0}; g.h.setPlaybackRate=function(a){var b=this.S.ua&&this.S.ua.videoInfos&&32b&&this.u.start()};g.r(wM,g.T);g.h=wM.prototype;g.h.hide=function(){this.V=!0;g.T.prototype.hide.call(this)}; g.h.show=function(){this.V=!1;g.T.prototype.show.call(this)}; g.h.isHidden=function(){return this.V}; g.h.xG=function(){yM(this,this.C-this.G)}; g.h.yG=function(){yM(this,this.C+this.G)}; g.h.zG=function(a,b){var c=this.w[a],d=c.Jb;if(g.qM(b,this.A,this.ba,d||void 0)){var e=c.wa().videoId;c=c.getPlaylistId();g.WS(this.A.app,e,d,c,void 0,void 0)}}; g.h.Bx=function(){var a=this,b=this.A.getVideoData(),c=this.A.O();this.ba=b.gc?!1:c.u;if(b.suggestions){var d=(0,g.Zd)(b.suggestions,function(e){return e&&!e.list}); this.w=(0,g.ie)(d,function(e){e=g.jM(c,e);g.H(a,e);return e})}else this.w.length=0; Nja(this);b.gc?this.P.update({title:g.iM("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:b.author})}):this.P.update({title:"More videos on YouTube"})}; g.h.Cx=function(a){this.H.element.scrollLeft=-a};g.r(BM,g.T);BM.prototype.show=function(){g.T.prototype.show.call(this);this.H()}; BM.prototype.H=function(){var a=1-1/1.5;this.B=(this.B+this.P)%(this.width*a);this.C=(this.C+this.K)%(this.height*a);this.A.drawImage(this.J,-1*this.B,-1*this.C);this.A.fillRect(0,this.F,this.width,75);this.F=(this.F+75+7)%this.height-75;this.w.isActive()||g.cn(this.G)}; BM.prototype.hide=function(){this.w.stop();this.G.stop();g.T.prototype.hide.call(this)};g.r(EM,g.T);EM.prototype.show=function(){g.T.prototype.show.call(this);FM(this,function(a){a.show()}); this.C&&GM(this,g.tK(this.w).getPlayerSize())}; EM.prototype.hide=function(){g.T.prototype.hide.call(this);FM(this,function(a){a.hide()})}; EM.prototype.H=function(a){if(g.qM(a,this.w,!hz(this.w.O()))){a={as3:!1,html5:!0,player:!0,cpn:this.w.getVideoData().clientPlaybackNonce};var b=this.w;b.la("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&b.toggleFullscreen()}}; var Oja=/([^<>]+)<\/a>/;g.r(KM,g.Rs);KM.prototype.B=function(){this.A();var a=this.o.getVideoData();if(a.isValid()){var b=[];this.o.O().F||b.push({src:a.pc("mqdefault.jpg"),sizes:"320x180"});this.u.metadata=new MediaMetadata({title:a.title,artist:a.author,artwork:b});b=a=null;vK(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)); JM(this,"nexttrack",a);JM(this,"previoustrack",b)}}; KM.prototype.A=function(){var a=g.sK(this.o);a=a.isError()?"none":g.Nt(a)?"playing":"paused";this.u.playbackState=a}; KM.prototype.Y=function(){this.u.playbackState="none";this.u.metadata=null;for(var a=g.p(this.w),b=a.next();!b.done;b=a.next())JM(this,b.value,null);g.Rs.prototype.Y.call(this)};g.r(LM,g.T);LM.prototype.V=function(a,b){MM(this,b);this.F&&NM(this,this.F)}; LM.prototype.T=function(a){var b=this.K.getVideoData();this.A!=b.videoId&&MM(this,b);this.w&&NM(this,a.state);this.F=a.state}; LM.prototype.P=function(){this.C.hide();this.A&&(this.B[this.A]=(this.B[this.A]||0)+((0,g.A)()-this.H));this.H=0};g.r(PM,g.T);PM.prototype.hide=function(){this.w.stop();this.B.style.display="none";g.T.prototype.hide.call(this)}; PM.prototype.C=function(a){OM(this,a.state)}; PM.prototype.F=function(){OM(this,g.sK(this.A))}; PM.prototype.G=function(){this.B.style.display="block"};g.r(RM,g.T);RM.prototype.B=function(){var a=g.S(this.w.app);a&&a.o&&a.o.Nq()}; RM.prototype.A=function(){var a=g.S(this.w.app);g.Fu(this,!!a&&a.Zb);this.updateValue("icon",this.w.uh()?g.X?{D:"div",X:["ytp-icon","ytp-icon-airplay-on"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,N:{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",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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.TM,g.Gu);g.TM.prototype.Y=function(){this.w=null;g.Gu.prototype.Y.call(this)};g.r(g.VM,g.T);g.VM.prototype.H=function(a){g.R(a.state,32)?WM(this,this.w.ge()):this.Ia()&&(g.R(a.state,16)||g.R(a.state,1))||this.B.hide()}; g.VM.prototype.J=function(){var a=g.sK(this.w);(g.R(a,32)||g.R(a,16))&&XM(this)}; g.VM.prototype.F=function(){this.C=NaN;XM(this)}; g.VM.prototype.hide=function(){this.xd&&WM(this,null);g.T.prototype.hide.call(this)};g.r(YM,g.T);YM.prototype.H=function(){g.QK(this.w,this.element);this.w.la("onFullerscreenEduClicked")}; YM.prototype.A=function(){this.w.isFullscreen()?this.B?this.C.hide():this.C.show():this.hide();g.RK(this.w,this.element,this.w.isFullscreen()&&!this.B)};g.r(ZM,g.Gu);g.h=ZM.prototype;g.h.show=function(){var a=aN(this);g.Gu.prototype.show.call(this);this.fa&&(this.J.M(window,"blur",this.nb),this.J.M(document,"click",this.uG));a||this.R("show",!0)}; g.h.hide=function(){var a=aN(this);g.Gu.prototype.hide.call(this);$M(this);a&&this.R("show",!1)}; g.h.td=function(a,b){this.w=a;this.V.show();b?(this.K||(this.K=this.J.M(this.Z,"appresize",this.Yt)),this.Yt()):this.K&&(this.J.Wa(this.K),this.K=null)}; g.h.tC=function(){this.w&&(this.w.getAttribute("aria-haspopup"),this.w.setAttribute("aria-expanded",!0),g.P(this.Z.O().experiments,"embeds_enable_new_playlist_killswitch")?document.activeElement&&g.be(this.w,document.activeElement)&&this.focus():this.focus())}; g.h.Yt=function(){g.UC(this.Z).Ki(this.element,this.w)}; g.h.nb=function(){var a=aN(this);$M(this);this.V.hide();a&&this.R("show",!1)}; g.h.Be=function(a,b){aN(this)?this.nb():this.td(a,b)}; g.h.uG=function(a){var b=cr(a);b&&(g.be(this.element,b)||this.w&&g.be(this.w,b)||!g.zL(a))||this.nb()};g.r(g.cN,g.T);g.h=g.cN.prototype;g.h.hG=function(){this.A.O().aa?this.A.toggleFullscreen():this.w.Be(this.element,!0)}; g.h.py=function(){bN(this);this.w.td(this.element,!0)}; g.h.iG=function(){bs()==this.A.getRootNode()?this.C.start():(this.C.stop(),this.w&&this.w.hide())}; g.h.QB=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var a=.9*window.screen.width,b=.9*window.screen.height,c=Math.max(window.outerWidth,window.innerWidth),d=Math.max(window.outerHeight,window.innerHeight);if(c>d!=a>b){var e=c;c=d;d=e}a>c&&b>d&&this.py()}}; g.h.wx=function(){g.Fu(this,pM(this.A))}; g.h.Hz=function(a){if(a){var b=g.X?{D:"div",X:["ytp-icon","ytp-icon-full-screen-close"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"g",I:"ytp-fullscreen-button-corner-2",L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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",L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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",L:[{D:"path",Ja:!0,I:"ytp-svg-fill", N:{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",L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.uM(this.A,"Exit full screen","f");document.activeElement==this.element&&this.A.getRootNode().focus()}else b=g.X?{D:"div",X:["ytp-icon","ytp-icon-full-screen"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"g",I:"ytp-fullscreen-button-corner-0",L:[{D:"path",Ja:!0,I:"ytp-svg-fill", N:{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",L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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",L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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",L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.uM(this.A,"Full screen","f");this.updateValue("icon", b);this.updateValue("title",this.w?null:a);qN(this.F.Ya())}; g.h.Y=function(){this.w||(this.B(),this.B=null);g.T.prototype.Y.call(this)};g.r(dN,g.T);dN.prototype.C=function(){this.w.la("onCollapseMiniplayer");g.QK(this.w,this.element)}; dN.prototype.B=function(){this.A=!this.w.isFullscreen();g.Fu(this,this.A);g.RK(this.w,this.element,this.A&&this.U)}; dN.prototype.Za=function(a){g.T.prototype.Za.call(this,a);g.RK(this.w,this.element,this.A&&a)};g.r(eN,ZM);g.h=eN.prototype;g.h.show=function(){var a=this.Ia();ZM.prototype.show.call(this);a||(this.C.M(this.A,"presentingplayerstatechange",this.kr),this.C.M(this.A,"videodatachange",this.kr),this.kr())}; g.h.hide=function(){this.C&&(g.Ts(this.C),ZM.prototype.hide.call(this))}; g.h.kr=function(){var a=this.A.getVideoData(),b=a.Og,c;for(c=0;ca&&this.w.start()}; var koa=new tn(0,0,.4,0,.2,1,1,1),Pja=/[0-9.-]+|[^0-9.-]+/g;g.r(nN,g.T);nN.prototype.hc=function(a){this.C=300<=a.width;g.Fu(this,this.C);g.RK(this.w,this.element,this.C&&this.U)}; nN.prototype.fa=function(){this.w.O().J?this.w.isMuted()?this.w.unMute():this.w.mute():this.Z.Be(this.element,!0);g.QK(this.w,this.element)}; nN.prototype.ga=function(a){mN(this,a.volume,a.muted)}; nN.prototype.Za=function(a){g.T.prototype.Za.call(this,a);g.RK(this.w,this.element,this.C&&a)}; var Qja=["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"],Rja=["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(rN,g.T);rN.prototype.A=function(){this.w.togglePictureInPicture()};g.r(g.tN,g.T);g.tN.prototype.G=function(a){sN(this,a.state)}; g.tN.prototype.C=function(){g.L(this.element,"ytp-play-button-playlist",vK(this.w))}; g.tN.prototype.H=function(){g.Nt(g.sK(this.w))?this.w.pauseVideo():this.w.playVideo()};g.r(g.wN,g.T);g.h=g.wN.prototype;g.h.Hi=function(){xN(this);this.G&&(this.Wa(this.G),this.G=null);this.S=this.w.getVideoData(1);if(this.A=this.w.getPlaylist())this.A.subscribe("shuffle",this.Hi,this),this.G=this.M(this.w,"progresssync",this.sG);this.F=yN(this);vN(this);this.hc(g.tK(this.w).getPlayerSize())}; g.h.hc=function(a){a=void 0===a?g.tK(this.w).getPlayerSize():a;var b=vK(this.w)||this.B&&g.MK(this.w)||zN(this);g.Fu(this,b&&(this.B||400<=a.width))}; g.h.tG=function(a){var b=!0;this.J?b=g.qM(a,this.w):g.fr(a);b&&(this.B&&5==this.w.getPresentingPlayerType()?this.w.R("ytoprerollinternstitialnext"):this.B?this.w.nextVideo(!0):this.F?this.w.seekTo(0):this.w.previousVideo(!0))}; g.h.sG=function(){var a=yN(this);a!=this.F&&(this.F=a,vN(this))}; g.h.Y=function(){this.C&&(this.C(),this.C=null);xN(this);g.T.prototype.Y.call(this)};AN.prototype.getLength=function(){return this.o-this.u};DN.prototype.update=function(a,b,c,d){this.width=b;this.w=c;this.B=d;this.o=b-c-d;this.position=g.pd(a,c,c+this.o);this.A=this.position-c;this.u=this.A/this.o};g.r(g.FN,g.Gu);g.h=g.FN.prototype;g.h.wG=function(a){if(!g.gr(a)){var b=!1;switch(g.hr(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.fr(a)}}; g.h.eI=function(a){switch(g.hr(a)){case 13:this.w.seekTo(Number(a.currentTarget.getAttribute("data-position")))}}; g.h.zx=function(a,b){EN(this,b,"newdata"==a)}; g.h.dD=function(){this.zx("newdata",this.w.getVideoData())}; g.h.vG=function(a){this.F&&!g.R(a.state,32)&&3!=this.w.getPresentingPlayerType()&&this.F.cancel()}; g.h.pA=function(a){(this.H=a)?(this.updateValue("clipstarticon",SL()),this.updateValue("clipendicon",SL()),this.updateValue("clipstarttitle",null),this.updateValue("clipendtitle",null)):(this.updateValue("clipstarticon",KL()),this.updateValue("clipendicon",JL()),this.updateValue("clipstarttitle","Watch entire video"),this.updateValue("clipendtitle","Watch entire video"));MN(this);IN(this,this.J,this.ga)}; g.h.UJ=function(a,b,c){var d=g.qg(this.element),e=PN(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;k&&(a=CN(this.A,Number(c.getAttribute("data-position")),0)*e+g.qg(this.Xb).x);this.Na.x=a-d.x;this.Na.y=b-d.y;a=PN(this);c=BN(this.A,a.u);b=f||g.yL(this.Xa?c-this.A.o:c);a=a.position+this.Ba;c-=this.w.yb();d=this.na;f=!!f;l=l?parseInt(l,10):0;d.ra||(3==d.A&&d.Ne(),1!=d.A&&(d.element.className="ytp-tooltip ytp-bottom", d.A=1,d.T&&d.K.show(),d.B=d.aa.ge(),d.B&&d.B.subscribe("l",d.oy,d)),d.update({text:b,title:""}),g.L(d.element,"ytp-text-detail",!!f),b=-1,d.B&&(b=hA(d.B,160*d.C),b=mA(d.B,b,c)),LQ(d,b),KQ(d,!!f,a,l));g.L(this.w.getRootNode(),"ytp-progress-bar-hover",!g.R(g.sK(this.w),64));KN(this)}; g.h.TJ=function(){g.NN(this.na);g.mn(this.w.getRootNode(),"ytp-progress-bar-hover")}; g.h.SJ=function(a,b){this.B&&(this.B.dispose(),this.B=null);this.Zb=b;this.w.seekTo(BN(this.A,PN(this).u),!1);g.K(this.element,"ytp-drag");(this.eb=g.Nt(g.sK(this.w)))&&this.w.pauseVideo()}; g.h.VJ=function(){this.Ca=0;g.mn(this.element,"ytp-pull-ui");g.mn(this.element,"ytp-pulling");this.B&&(this.B.dispose(),this.B=null);0a||1a&&this.B.start()}; g.h.WJ=function(a,b){var c=!1,d=!1,e=PN(this);3600<=this.A.getLength()&&(ON(this,this.Zb-b-10,e.position,e.u),d=!0,c=this.K>.1*(this.G?60:40),e=PN(this));g.L(this.element,"ytp-pull-ui",d);c&&g.K(this.element,"ytp-pulling");c=0;e.w&&0>=e.position?c=-1:e.B&&e.position>=e.width&&(c=1);this.Ca!=c&&(this.Ca=c,this.B&&(this.B.dispose(),this.B=null),c&&(this.B=new g.$m((0,g.x)(this.XL,this,(0,g.Mq)(),this.P)),this.B.start()));this.w.seekTo(BN(this.A,e.u),!1)}; g.h.XL=function(a,b){var c=this.C*(this.Z-1);this.P=g.pd(b+this.Ca*((0,g.Mq)()-a)*.3,0,c);g.JN(this);this.w.seekTo(BN(this.A,PN(this).u),!1);0(a.deltaX||-a.deltaY)?-this.G:this.G;this.Fh(b);g.fr(a)}; g.h.HK=function(a){a=(a-g.qg(this.A).x)/this.K*this.F+this.minimumValue;this.Fh(a)}; g.h.Fh=function(a,b){b=void 0===b?"":b;var c=g.pd(a,this.minimumValue,this.maximumValue);""==b&&(b=c.toString());this.updateValue("valuenow",c);this.updateValue("valuetext",b);this.V.style.left=(c-this.minimumValue)/this.F*(this.K-this.P)+"px";this.w=c}; g.h.focus=function(){this.T.focus()};g.r(wO,uO);wO.prototype.Z=function(){this.C.setPlaybackRate(this.w,!0)}; wO.prototype.Fh=function(a){uO.prototype.Fh.call(this,a,xO(this,a).toString());this.B&&(vO(this),this.aa())}; wO.prototype.ba=function(){var a=this.C.getPlaybackRate();xO(this,this.w)!=a&&(this.Fh(a),vO(this))};g.r(yO,g.Gu);yO.prototype.focus=function(){this.w.focus()};g.r(zO,$N);g.r(AO,g.eO);g.h=AO.prototype;g.h.ue=function(a){return"1"==a?"Normal":a.toLocaleString()}; g.h.Ex=function(){var a=this.w.getPresentingPlayerType();this.enable(2!=a&&3!=a);EO(this)}; g.h.Ii=function(a){g.eO.prototype.Ii.call(this,a);a?(this.P=this.M(this.w,"onPlaybackRateChange",this.EG),EO(this),CO(this,this.w.getPlaybackRate())):(this.Wa(this.P),this.P=null)}; g.h.EG=function(a){var b=this.w.getPlaybackRate();this.K.includes(b)||DO(this,b);CO(this,a)}; g.h.Pc=function(a){g.eO.prototype.Pc.call(this,a);a==this.C?this.w.setPlaybackRate(this.F,!0):this.w.setPlaybackRate(parseFloat(a),!0);this.A.Dd()};var F0,G0;F0=[{option:"#fff",text:"White"},{option:"#ff0",text:"Yellow"},{option:"#0f0",text:"Green"},{option:"#0ff",text:"Cyan"},{option:"#00f",text:"Blue"},{option:"#f0f",text:"Magenta"},{option:"#f00",text:"Red"},{option:"#080808",text:"Black"}];G0=[{option:0,text:FO(0)},{option:.25,text:FO(.25)},{option:.5,text:FO(.5)},{option:.75,text:FO(.75)},{option:1,text:FO(1)}]; g.HO=[{option:"fontFamily",text:"Font family",options:[{option:1,text:"Monospaced Serif"},{option:2,text:"Proportional Serif"},{option:3,text:"Monospaced Sans-Serif"},{option:4,text:"Proportional Sans-Serif"},{option:5,text:"Casual"},{option:6,text:"Cursive"},{option:7,text:"Small Capitals"}]},{option:"color",text:"Font color",options:F0},{option:"fontSizeIncrement",text:"Font size",options:[{option:-2,text:FO(.5)},{option:-1,text:FO(.75)},{option:0,text:FO(1)},{option:1,text:FO(1.5)},{option:2,text:FO(2)}, {option:3,text:FO(3)},{option:4,text:FO(4)}]},{option:"background",text:"Background color",options:F0},{option:"backgroundOpacity",text:"Background opacity",options:G0},{option:"windowColor",text:"Window color",options:F0},{option:"windowOpacity",text:"Window opacity",options:G0},{option:"charEdgeStyle",text:"Character edge style",options:[{option:0,text:"None"},{option:4,text:"Drop Shadow"},{option:1,text:"Raised"},{option:2,text:"Depressed"},{option:3,text:"Outline"}]},{option:"textOpacity",text:"Font opacity", options:[{option:.25,text:FO(.25)},{option:.5,text:FO(.5)},{option:.75,text:FO(.75)},{option:1,text:FO(1)}]}];g.r(GO,g.eO);g.h=GO.prototype;g.h.le=function(a){g.eO.prototype.le.call(this,a)}; g.h.Ix=function(a){return a.option.toString()}; g.h.getOption=function(a){return this.P[a]}; g.h.ue=function(a){return this.getOption(a).text||""}; g.h.Pc=function(a){g.eO.prototype.Pc.call(this,a);this.R("settingChange",this.K,this.P[a].option)}; g.h.Jx=function(a){this.R("settingChange",this.K+"Override",!a);this.A.Dd()};g.r(IO,g.aO);IO.prototype.A=function(a,b){this.R("settingChange",a,b)};g.r(KO,g.eO);KO.prototype.C=function(a){return a.languageCode}; KO.prototype.ue=function(a){return this.w[a].languageName||""}; KO.prototype.Pc=function(a){this.R("select",a);g.oO(this.A)};g.r(LO,g.eO);g.h=LO.prototype;g.h.sr=function(a){return g.Zb(a)?"__off__":a.displayName}; g.h.ue=function(a){return"__off__"==a?"Off":"__translate__"==a?"Auto-translate":"__contribute__"==a?"Add subtitles/CC":("__off__"==a?{}:this.F[a]).displayName}; g.h.Pc=function(a){"__translate__"==a?this.C.open():"__contribute__"==a?(this.w.pauseVideo(),this.w.isFullscreen()&&this.w.toggleFullscreen(),a=g.nD(this.w.O(),this.w.getVideoData()),g.oM(a)):(this.w.setOption("captions","track","__off__"==a?{}:this.F[a]),g.eO.prototype.Pc.call(this,a),this.A.Dd())}; g.h.Ak=function(){var a=this.w.getOptions();a=a&&-1!=a.indexOf("captions");var b=this.w.getVideoData();b=b&&b.Tl;if(a||b){if(a){var c=this.w.getOption("captions","track");var d=this.w.getOption("captions","tracklist",{includeAsr:!0});var e=this.w.getOption("captions","translationLanguages");this.F=g.ub(d,this.sr,this);var f=(0,g.ie)(d,this.sr);if(e.length&&!g.Zb(c)){var k=c.translationLanguage;if(k&&k.languageName){var l=k.languageName;k=e.findIndex(function(m){return m.languageName==l}); paa(e,k)}Tja(this.C,e);f.push("__translate__")}e=this.sr(c)}else this.F={},f=[],e="__off__";f.unshift("__off__");this.F.__off__={};b&&f.unshift("__contribute__");this.F[e]||(this.F[e]=c,f.push(e));g.gO(this,f);this.le(e);c&&c.translationLanguage?this.C.le(this.C.C(c.translationLanguage)):fO(this.C);a&&JO(this.K,this.w.getSubtitlesUserSettings());this.T.ob(d&&d.length?" ("+d.length+")":"");this.R("size-change");this.enable(!0)}else this.enable(!1)}; g.h.Hx=function(a){this.w.setOption("captions","sampleSubtitles",a)}; g.h.MG=function(a){var b=this.w.getOption("captions","track");b=g.bc(b);b.translationLanguage=this.C.w[a];this.w.setOption("captions","track",b)}; g.h.LG=function(a,b){if("reset"==a)this.w.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.w.updateSubtitlesUserSettings(c)}this.Hx(!0);this.P.start();JO(this.K,this.w.getSubtitlesUserSettings())}; g.h.DK=function(a){a||g.en(this.P)}; g.h.Y=function(){g.en(this.P);g.eO.prototype.Y.call(this)};g.r(MO,g.jO);MO.prototype.td=function(a){NO(this);0a);a=this.C.getProgressState();b&&(b=g.yL(a.current),this.G!=b&&(this.updateValue("currenttime",b),this.G=b),b=g.yL(a.duration),this.H!=b&&(this.updateValue("duration",b),this.H=b));this.F&&(a=a.isAtLiveHead,this.J!=a&&(this.J=a,this.w(),b=this.A.element,b.disabled=a,g.P(this.C.O().experiments,"enable_live_premiere_web_player_indicator")&&this.A.ob(this.K? "Premiere":"Live"),a?this.B&&(this.B(),this.B=null,b.removeAttribute("title")):(b.title="Skip ahead to live broadcast.",this.B=g.QM(this.P,this.A.element))))}; g.UO.prototype.V=function(a,b){TO(this,b);this.w()}; g.UO.prototype.T=function(a){a.target==this.A.element&&(this.C.seekTo(Infinity),this.C.playVideo())}; g.UO.prototype.Y=function(){this.B&&this.B();g.T.prototype.Y.call(this)};g.r(WO,g.T);g.h=WO.prototype;g.h.NG=function(){var a=this.G.fc();this.H!=a&&(this.H=a,VO(this,this.w.getVolume(),this.w.isMuted()))}; g.h.hc=function(a){g.Fu(this,350<=a.width)}; g.h.LK=function(a){if(!g.gr(a)){var b=g.hr(a),c=null;37==b?c=this.C-5:39==b?c=this.C+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.pd(c,0,100),0==c?this.w.mute():(this.w.isMuted()&&this.w.unMute(),this.w.setVolume(c)),g.fr(a))}}; g.h.OG=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.w.setVolume(this.C+(0>b?-10:10)):this.w.setVolume(this.C+g.pd(b/10,-10,10));g.fr(a)}; g.h.JK=function(){XO(this,this.B,!0,this.A,this.G.si());this.aa=this.C;this.w.isMuted()&&this.w.unMute()}; g.h.IK=function(a){var b=this.H?78:52,c=this.H?18:12;a-=g.qg(this.V).x;this.w.setVolume(100*g.pd((a-c/2)/(b-c),0,1))}; g.h.GK=function(){XO(this,this.B,!1,this.A,this.G.si());0==this.C&&(this.w.mute(),this.w.setVolume(this.aa))}; g.h.PG=function(a){VO(this,a.volume,a.muted)}; g.h.vu=function(){XO(this,this.B,this.F,this.A,this.G.si())}; g.h.Kx=function(a){XO(this,this.B,this.F,a,this.G.si())}; g.h.Iz=function(a){g.L(this.element,"ytp-volume-control-hover",a);XO(this,a,this.F,this.A,this.G.si())}; g.h.Y=function(){g.T.prototype.Y.call(this);g.mn(this.T,"ytp-volume-slider-active")};g.r(g.YO,g.T);g.YO.prototype.B=function(){this.A=!!this.w.getVideoData().videoId;g.Fu(this,this.A);g.RK(this.w,this.element,this.A&&this.U);if(this.A){var a=this.w.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}}; g.YO.prototype.C=function(a){var b=this.w.getVideoUrl(!g.zL(a),!1,!0,!0);rM(b,this.w,a);g.QK(this.w,this.element)}; g.YO.prototype.Za=function(a){g.T.prototype.Za.call(this,a);g.RK(this.w,this.element,this.A&&a)};g.r(ZO,g.Rs);g.h=ZO.prototype;g.h.qr=function(){g.HN(this.F);this.Z.w()}; g.h.Gx=function(){this.rr();this.P.o?this.qr():g.NN(this.F.na)}; g.h.JG=function(){this.qr();this.H.start()}; g.h.rr=function(){var a=!this.w.O().o&&300>g.VN(this.F)&&g.Mt(g.sK(this.w))&&!!window.requestAnimationFrame,b=!a;this.P.o||(a=b=!1);b?this.J||(this.J=this.M(this.w,"progresssync",this.qr)):this.J&&(this.Wa(this.J),this.J=null);a?this.H.isActive()||this.H.start():this.H.stop()}; g.h.GM=function(a){var b=this.A.Ya();a=!a;if(null!=b.A)if(a)switch(b.A){case 3:case 2:JQ(b);b.K.show();break;default:b.K.show()}else b.K.hide();b.T=a}; g.h.Ra=function(){var a=this.A.fc(),b=g.tK(this.w).getPlayerSize(),c=aP(this),d=Math.max(b.width-2*c,100);if(this.oa!=b.width||this.fa!=a){this.oa=b.width;this.fa=a;var e=bP(this);this.u.element.style.width=e+"px";this.u.element.style.left=c+"px";var f=this.F;f.Ba=c;f.C=e;f.G=a;g.JN(f);this.A.Ya().ga=e}c=this.o;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.A.fc()?72:50))));c.T=Math.min(570*(a?1.5:1),d);c.P=e;c.Yi();this.rr();g.P(this.w.O().experiments,"html5_player_dynamic_bottom_gradient")&& g.SM(this.ga,b.height)}; g.h.KG=function(){var a=this.w.getVideoData();this.aa.style.background=a.gc?a.zf:"";g.Fu(this.U,a.qs)};g.r(dP,ZM);dP.prototype.F=function(a){a?(cP(this),this.td()):(this.B&&eP(this),this.nb())}; dP.prototype.G=function(a){this.A.isMutedByMutedAutoplay()&&g.mD(a,2)&&this.nb()}; dP.prototype.onClick=function(){this.A.unMute();eP(this)};g.r(g.fP,g.Rs);g.h=g.fP.prototype;g.h.init=function(){var a=g.sK(this.api);this.Qi(a);this.Tf();this.Gi()}; g.h.sx=function(a,b){if(this.Xa!=b.videoId){this.Xa=b.videoId;var c=this.u;c.T=b&&0this.api.getPlayerSize().width||290>this.api.getPlayerSize().height)}; g.h.si=function(){return this.Fb}; g.h.qk=function(){return null}; g.h.Uq=function(){var a=g.tK(this.api).getPlayerSize();return new g.bg(0,0,a.width,a.height)}; g.h.handleGlobalKeyDown=function(){return!1}; g.h.handleGlobalKeyUp=function(){return!1}; g.h.Ki=function(){}; g.h.showControls=function(a){if(void 0!=a){var b=g.tK(this.api);Ry(b.app.O());b.F=!a;ZR(b)}}; g.h.Vq=function(){}; g.h.Dv=function(){return null};g.loa=.0035*.006;g.r(g.nP,g.O);g.h=g.nP.prototype;g.h.create=function(){}; g.h.load=function(){this.loaded=!0}; g.h.unload=function(){this.loaded=!1}; g.h.Ac=function(){}; g.h.ff=function(){return!0}; g.h.Y=function(){this.loaded&&this.unload();g.O.prototype.Y.call(this)}; g.h.bb=function(){return{}}; g.h.getOptions=function(){return[]};g.CP={};g.r(qP,g.E);g.h=qP.prototype;g.h.Sc=function(a,b,c,d){c=void 0===c?!1:c;d=void 0===d?!1:d;var e=this.u.get(a);if(!e||d){b||(b=this.Sc.bind(this,a,void 0,c,d));if(!(d=e))a:{e=Xja(this,a);try{if(e){var f=g.CP[a];if(f){d=new f(this.o);break a}"creatorendscreen"==a?DP(this,"annotations_module",b):DP(this,a,b)}else g.IK(this.o,a)}catch(k){g.IK(this.o,a),g.N(k)}d=null}if(e=d)this.u.set(a,e),e.create(),c&&this.o.la("onApiChange")}}; g.h.Tk=function(){return this.o.getVideoData().Tk()}; g.h.Bu=function(){var a=this.u.get("heartbeat");this.Sc("heartbeat",this.Bu,!1,!0);!a&&this.u.has("heartbeat")&&this.o.R("offlineslatestatechange")}; g.h.pp=function(){this.Sc("annotations_module",this.pp,!0);var a=this.u.get("annotations_module");if(a)for(var b in this.C){var c=b;a.subscribe(c,this.C[c])}}; g.h.zu=function(){if(!this.u.get("ad"))try{sP(this)?this.Sc("ad",this.zu,!1,!0):g.IK(this.o,"ad")}catch(a){g.IK(this.o,"ad"),g.N(a)}}; g.h.Y=function(){g.E.prototype.Y.call(this);xP(this,1,!0)};var Zja={seekableStart:0,seekableEnd:1,current:0};g.r(EP,g.Gu);EP.prototype.C=function(){var a=this.A.getProgressState();a=CN(new AN(a.seekableStart,a.seekableEnd),a.current,0);this.G.style.width=100*a+"%"}; EP.prototype.F=function(){g.az(this.B.O())||(2==this.B.getPresentingPlayerType()?-1===this.w&&(this.show(),this.w=this.A.subscribe("s",this.C,this),this.C()):-1!==this.w&&(this.hide(),this.A.Of(this.w),this.w=-1))};g.r(FP,g.O);g.h=FP.prototype;g.h.Mx=function(){return 1E3*this.o.getDuration(this.A)}; g.h.stop=function(){this.w&&this.u.Wa(this.w)}; g.h.Nx=function(){var a=this.o.getProgressState(this.A);this.B={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.R("s")}; g.h.getProgressState=function(){return this.B}; g.h.UG=function(a){g.mD(a,2)&&this.R("r")};g.r(GP,g.T);GP.prototype.A=function(){this.w.la("BACK_CLICKED")};g.r(g.HP,g.T);g.HP.prototype.show=function(){g.T.prototype.show.call(this);g.cn(this.w)}; g.HP.prototype.hide=function(){this.B.stop();g.T.prototype.hide.call(this)};g.r(NP,g.T);NP.prototype.Y=function(){this.w&&this.w();g.T.prototype.Y.call(this)}; NP.prototype.G=function(){g.No("iv-button-mouseover")}; NP.prototype.F=function(a){g.AK(this.A);var b=g.kn(this.A.getRootNode(),"ytp-cards-teaser-shown");g.No("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.A.setCardsVisible(!g.BK(this.A),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.r(OP,g.T);g.h=OP.prototype;g.h.oA=function(){g.AK(this.A)&&g.BK(this.A)&&this.Ia()&&4!=this.G.o&&this.yk()}; g.h.tM=function(){this.yk();g.No("iv-teaser-clicked",!!this.w);this.A.setCardsVisible(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")}; g.h.ZF=function(){g.No("iv-teaser-mouseover");this.w&&this.w.stop()}; g.h.QK=function(a){this.w||!a||g.BK(this.A)||this.B&&this.B.isActive()||($ja(this,a),g.No("iv-teaser-shown"))}; g.h.jr=function(){if(My(this.A.O())&&this.Ia()){var a=this.F.element.offsetLeft,b=g.Fd("ytp-cards-button-icon"),c=this.A.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.F.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}}; g.h.RB=function(){My(this.A.O())&&this.T.ug()&&this.Ia()&&this.P.start()}; g.h.uy=function(){this.J.stop();this.w&&this.w.isActive()&&this.K.start()}; g.h.ty=function(){this.K.stop();this.w&&!this.w.isActive()&&this.J.start()}; g.h.sJ=function(){this.w&&this.w.stop()}; g.h.pJ=function(){this.yk()}; g.h.yk=function(){!this.w||this.C&&this.C.isActive()||(g.No("iv-teaser-hidden"),this.G.hide(),g.mn(this.A.getRootNode(),"ytp-cards-teaser-shown"),this.C=new g.J(function(){for(var a=g.p(this.H),b=a.next();!b.done;b=a.next())this.Wa(b.value);this.H=[];this.w&&(this.w.dispose(),this.w=null);MP(this.F,!0)},330,this),this.C.start())}; g.h.Y=function(){var a=this.A.getRootNode();a&&g.mn(a,"ytp-cards-teaser-shown");g.Fi(this.B,this.C,this.w);g.T.prototype.Y.call(this)};g.r(PP,g.Iu);PP.prototype.w=function(a){g.gr(a)||39!=g.hr(a)||(this.element.click(),g.fr(a))};g.r(UP,g.aO);g.h=UP.prototype;g.h.oI=function(){tM(this.J.element)}; g.h.CI=function(){VP(this,this.w.getDebugText(!0))&&IP(this.T,FL())}; g.h.DI=function(){VP(this,this.w.getVideoEmbedCode())&&IP(this.T,g.X?{D:"div",X:["ytp-icon","ytp-icon-code"]}:{D:"svg",N:{height:"100%",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",N:{d:"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z",fill:"#fff"}}]});g.QK(this.w,this.A.element);RP("EMBED",this.w.getVideoData().videoId,this.w.getPlaylistId()||void 0)}; g.h.GI=function(){VP(this,this.w.getVideoUrl(!0,!0))&&IP(this.T,RL());g.QK(this.w,this.C.element);RP("COPY_PASTE",this.w.getVideoData().videoId,this.w.getPlaylistId()||void 0)}; g.h.FI=function(){VP(this,this.w.getVideoUrl(!1,!0))&&IP(this.T,RL());g.QK(this.w,this.B.element);RP("COPY_PASTE",this.w.getVideoData().videoId,this.w.getPlaylistId()||void 0)}; g.h.ry=function(a){g.XN(this.F,a)}; g.h.aJ=function(){var a=this.F.getValue();JS(this.w.app,a);this.P.nb();g.QK(this.w,this.F.element)}; g.h.iK=function(a){this.w.reportPlaybackIssue();if(g.qM(a,this.w,!hz(this.w.O()))){a=this.w;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.la("onFeedbackStartRequest",b);a.isFullscreen()&&a.toggleFullscreen()}this.P.nb()}; g.h.EK=function(){this.w.showVideoInfo();this.P.nb()}; g.h.dG=function(a,b){TP(this,b)}; g.h.Za=function(a){g.aO.prototype.Za.call(this,a);g.RK(this.w,this.A.element,a);g.RK(this.w,this.C.element,a);g.RK(this.w,this.B.element,a);g.RK(this.w,this.F.element,a)};g.r(XP,g.jO);g.h=XP.prototype;g.h.show=function(){this.C||(this.C=new UP(this.A,this.ga,this,this.ba),g.H(this,this.C),g.nO(this,this.C));this.C.ry(hK(this.A.app.C));g.jO.prototype.show.call(this);g.RK(this.A,this.element,!0);this.C.Za(!0)}; g.h.hide=function(){WP(this);g.jO.prototype.hide.call(this);g.RK(this.A,this.element,!1);this.C&&this.C.Za(!1)}; g.h.nI=function(a){var b=cr(a);if(!(this.Ia()||b&&(g.he(b,"a")||g.he(b,null,"ytp-no-contextmenu",void 0)))){g.fr(a);YP(this);b=this.A.getVideoData();g.L(this.element,"ytp-dni",b.gc);this.element.style.left="";this.element.style.top="";a=er(a);a.x++;a.y++;this.td();var c=document.body;b=new Zf(0,Infinity,Infinity,0);var d=Bd(c);for(var e=d.o.body,f=d.o.documentElement,k=Jd(d.o);c=pg(c);)if(!(g.Kd&&0==c.clientWidth||g.Md&&0==c.clientHeight&&c==e)&&c!=e&&c!=f&&"visible"!=kg(c,"overflow")){var l=g.qg(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=Id(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.bg(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.mg(this.element,new g.sd(d.left,d.top));g.Ts(this.H);this.H.M(document,"contextmenu",this.tI);this.H.M(this.A,"fullscreentoggled",this.eG);this.H.M(this.A,"pageTransition",this.EJ)}}; g.h.tI=function(a){if(!g.gr(a)){var b=cr(a);g.be(this.element,b)||this.nb();this.A.O().zl&&g.fr(a)}}; g.h.eG=function(){this.nb();YP(this)}; g.h.EJ=function(){this.nb()};g.r(ZP,g.Rs);g.h=ZP.prototype; g.h.Pv=function(a){var b=!1,c=g.hr(a),d=cr(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=this.o.O();g.gr(a)?(e=!1,k=!0):l.tb&&(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 37:this.o.sc()&&this.A&&(IP(this.u,$L()),this.o.seekBy(-5*this.o.getPlaybackRate()),k=f=!0);break;case 39:this.o.sc()&&this.A&&(IP(this.u,PL()),this.o.seekBy(5*this.o.getPlaybackRate()),k=f=!0);break;case 38:f=Math.min(this.o.getVolume()+ 5,100);KP(this.u,f,!1);this.o.setVolume(f);k=f=!0;break;case 40:f=Math.max(this.o.getVolume()-5,0);KP(this.u,f,!0);this.o.setVolume(f);k=f=!0;break;case 36:this.o.sc()&&(this.o.seekTo(0),k=f=!0);break;case 35:this.o.sc()&&(this.o.seekTo(Infinity),k=f=!0)}}b&&this.gs(!0);(b||k)&&this.C.Lb(2,!0);(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code))&&g.fr(a);l.zb&&(a={keyCode:g.hr(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.gr(a), fullscreen:this.o.isFullscreen()},this.o.la("onKeyPress",a))}; g.h.Qv=function(a){this.handleGlobalKeyUp(g.hr(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)}; g.h.handleGlobalKeyUp=function(a){var b=!1,c=g.yK(g.nK(this.o));c&&(c=c.u)&&c.Ia()&&(c.Ov(a),b=!0);9==a&&(this.gs(!0),b=!0);return b}; g.h.handleGlobalKeyDown=function(a,b,c,d,e,f){d=!1;c=this.o.O();if(c.tb)return d;if((e=g.yK(g.nK(this.o)))&&(e=e.u)&&e.Ia())switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:d=e.Nv(a)}c.Qb||d||(f=f||String.fromCharCode(a).toLowerCase(),this.w+=f,0=="awesome".indexOf(this.w)?(d=!0,7==this.w.length&&(f=this.o.getRootNode(),e=!g.kn(f,"ytp-color-party"),g.L(f,"ytp-color-party",e))):(this.w=f,d=0=="awesome".indexOf(this.w)));if(!d){switch(a){case 80:b&&!c.H&&(IP(this.u,YL(), "Previous"),this.o.previousVideo(),d=!0);break;case 78:b&&!c.H&&(IP(this.u,TL(),"Next"),this.o.nextVideo(),d=!0);break;case 74:this.o.sc()&&(IP(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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.sc()&&(IP(this.u,g.X?{D:"div",X:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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.sc()&&!this.A&&(IP(this.u,$L()),this.o.seekBy(-5*this.o.getPlaybackRate()),d=!0);break;case 39:this.o.sc()&&!this.A&&(IP(this.u,PL()),this.o.seekBy(5*this.o.getPlaybackRate()),d=!0);break;case 77:this.o.isMuted()?(this.o.unMute(),KP(this.u,this.o.getVolume(),!1)):(this.o.mute(),KP(this.u,0,!0));d=!0;break;case 32:case 75:c.H||(b=!g.Nt(g.sK(this.o)),JP(this.u,b),b?this.o.playVideo():this.o.pauseVideo(),d=!0);break;case 190:b?c.ra&& (b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b+.25,!0),LP(this.u,!1),d=!0):this.o.sc()&&(aQ(this,1),d=!0);break;case 188:b?c.ra&&(b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b-.25,!0),LP(this.u,!0),d=!0):this.o.sc()&&(aQ(this,-1),d=!0);break;case 70:pM(this.o)&&(this.o.toggleFullscreen(),d=!0);break;case 27:this.F()&&(d=!0)}if("3"!=c.controlsType)switch(a){case 67:g.rP(g.nK(this.o))&&(b=this.o.getOption("captions","track"),this.o.toggleSubtitles(),b=!b||b&&!b.displayName?"Subtitles/closed captions on": "Subtitles/closed captions off",IP(this.u,ML(),b),d=!0);break;case 79:$P(this,"textOpacity");break;case 87:$P(this,"windowOpacity");break;case 187:case 61:$P(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:$P(this,"fontSizeIncrement",!0,!0)}var k;48<=a&&57>=a?k=a-48:96<=a&&105>=a&&(k=a-96);null!=k&&this.o.sc()&&(a=this.o.getProgressState(),this.o.seekTo(k/10*(a.seekableEnd-a.seekableStart)+a.seekableStart),d=!0);d&&this.C.Lb(2,!0)}return d}; g.h.gs=function(a){g.L(this.o.getRootNode(),"ytp-probably-keyboard-focus",a);g.L(this.G.element,"ytp-probably-keyboard-focus",a)}; g.h.xx=function(a){g.rP(g.nK(this.o))&&this.o.setOption("captions","sampleSubtitles",a)}; g.h.Y=function(){g.en(this.B);g.Rs.prototype.Y.call(this)};g.r(bQ,ZM);g.h=bQ.prototype;g.h.kG=function(a){a=cr(a);g.be(this.element,a)&&(g.be(this.G,a)||g.be(this.B,a)||this.Be())}; g.h.nb=function(){ZM.prototype.nb.call(this);this.C.Fe(this.element)}; g.h.show=function(){this.Ia()&&this.F.R("OVERFLOW_PANEL_OPENED");ZM.prototype.show.call(this);dQ(this,!0)}; g.h.hide=function(){ZM.prototype.hide.call(this);dQ(this,!1)}; g.h.jG=function(a){!a&&aN(this)&&this.Be()}; g.h.focus=function(){0(0,g.Mq)()-this.ra)g.fr(b),document.activeElement.blur();else{var c=this.A[a],d=c.Jb;if(g.qM(b,this.w,this.fa,d||void 0)){var e=c.wa().videoId;c=c.getPlaylistId();g.WS(this.w.app,e,d,c,void 0,void 0)}}}; g.h.pG=function(){this.Ra(g.tK(this.w).getPlayerSize())}; g.h.qG=function(a){if(!(g.R(a.state,1)||g.R(a.state,16)||g.R(a.state,32))){var b=!g.P(this.w.O().experiments,"embeds_disable_pauseoverlay_on_autoplay_blocked_killswitch")&&g.R(a.state,2048);!g.R(a.state,4)||g.R(a.state,2)||b?this.V.hide():this.A.length&&(this.Z||(g.K(this.w.getRootNode(),"ytp-expand-pause-overlay"),gQ(this)),this.V.show(),this.ra=(0,g.Mq)())}}; g.h.Ra=function(a){var b=16/9,c=this.ba.fc();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;dg.tK(this.A).getPlayerSize().width&&!a);this.w&&2!=this.A.getPresentingPlayerType()?(this.update({text:g.iM("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.w.Ua+1),PLAYLIST_LENGTH:String(this.w.getLength())}),title:g.iM("Playlist: $PLAYLIST_NAME",{PLAYLIST_NAME:this.w.title})}),this.Ia()||(this.show(),qN(this.C)),this.G=!0):this.Ia()&&(this.hide(),qN(this.C))}; mQ.prototype.Za=function(a){g.T.prototype.Za.call(this,a);g.RK(this.A,this.element,this.G&&a)}; mQ.prototype.F=function(){this.w&&this.w.unsubscribe("shuffle",this.B,this);(this.w=this.A.getPlaylist())&&this.w.subscribe("shuffle",this.B,this);this.B()};g.r(nQ,g.T); nQ.prototype.F=function(a){if(a){this.w=a;a=this.w.text;var b=!1;a&&(this.update({title:a}),b=!0);g.yg(this.T,b);a=this.w.detailsText;b=!1;a&&(this.update({details:a}),b=!0);g.yg(this.J,b);a=this.w.acceptButton;b=!1;a&&a.buttonRenderer&&(this.update({acceptButtonText:a.buttonRenderer.text}),b=!0);g.yg(this.H,b);a=this.w.dismissButton;b=!1;a&&a.buttonRenderer&&(this.update({dismissButtonText:a.buttonRenderer.text}),b=!0);g.yg(this.K,b)}a=document.querySelectorAll('[data-tooltip-target-id="'+this.w.targetId+ '"]');this.B=0m;n++){var q=l[n];a:switch(q.img){case "facebook":var t=g.X?{D:"div",X:["ytp-icon","ytp-icon-share-facebook"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},L:[{D:"rect",N:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",N:{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":t=g.X?{D:"div",X:["ytp-icon","ytp-icon-share-twitter"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},L:[{D:"rect",N:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",N:{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:t=null}t&&(t=new g.T({D:"a",X:["ytp-share-panel-service-button","ytp-button"],N:{href:q.url,target:"_blank",title:q.sname},L:[t]}),t.ha("click",g.Qa(this.AK,q.url)),g.Di(t,g.QM(this.B,t.element)),this.C.push(t),m++)}l=new g.T({D:"a",X:["ytp-share-panel-service-button","ytp-button"],L:[{D:"span",I:"ytp-share-panel-service-button-more",L:[g.X?{D:"div",X:["ytp-icon","ytp-icon-share-more"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},L:[{D:"rect", N:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",N:{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"}}]}]}],N:{href:k.more,target:"_blank",title:"More"}});l.ha("click",(0,g.x)(this.mJ,this,k.more));g.Di(l,g.QM(this.B,l.element));this.C.push(l);this.updateValue("buttons",this.C)}}else this.Oz(null,null)},this), ud:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.updateValue("link",a);this.updateValue("linkText",a);this.updateValue("shareLinkWithUrl",g.iM("Share link $URL",{URL:a}));tM(this.F)}; g.h.Oz=function(){g.mn(this.element,"ytp-share-panel-loading");g.K(this.element,"ytp-share-panel-fail")}; g.h.AK=function(a,b){if(g.zL(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.Bc?a:g.Fc("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(id()&&d.navigator&&d.navigator.standalone&& f&&"_self"!=f)l=g.Rd("A"),g.Wc(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.Dc(e),d&&(g.Bu&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.Uc(g.sc("b/12014412, meta tag with sanitized URL"),''),e=d.document))e.write(g.Pc(c)), e.close()}else(d=d.open(g.Dc(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.fr(b)}}; g.h.mJ=function(a,b){rM(a,this.A,b)&&this.A.la("SHARE_CLICKED")}; g.h.CG=function(a){!a&&aN(this)&&this.Be()}; g.h.focus=function(){this.F.focus()}; g.h.Y=function(){ZM.prototype.Y.call(this);qQ(this)};g.r(g.rQ,g.T); g.rQ.prototype.H=function(){var a=this.w.O(),b=this.w.getVideoData(),c=this.w.getPlaylistId();c=a.getVideoUrl(b.videoId,c,void 0,!0);if(b.Yk){b=!1;a=g.Rd("TEXTAREA");a.value=c;document.body.appendChild(a);if(Rp){c=window.getSelection();c.removeAllRanges();var d=document.createRange();d.selectNode(a);c.addRange(d)}else a.select();try{b=document.execCommand("copy")}catch(e){}document.body.removeChild(a);b&&bka(this)}else navigator.share?navigator.share({title:b.title,url:c}):(this.F.Xh(),this.J.Be(this.element, !1));g.QK(this.w,this.element)}; g.rQ.prototype.A=function(){var a=this.w.O(),b=this.w.getVideoData(),c=this.F.ug()&&g.P(a.experiments,"embeds_enable_new_smallmode")&&My(a);b.Yk?(c=c&&a.C?{D:"div",X:["ytp-icon","ytp-icon-share-copylink-large"]}:g.X?{D:"div",X:["ytp-icon","ytp-icon-share-copylink"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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.updateValue("title","Copy link"),this.updateValue("title-attr","Copy link"),this.updateValue("aria-haspopup","false")):(c=c&&a.C?{D:"div",X:["ytp-icon","ytp-icon-sharrow-large"]}:g.X?{D:"div",X:["ytp-icon","ytp-icon-sharrow"]}:{D:"svg",N:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{D:"path",Ja:!0,I:"ytp-svg-fill",N:{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"}}]}, this.updateValue("title","Share"),this.updateValue("title-attr","Share"),this.updateValue("aria-haspopup","true"));this.updateValue("icon",c);a=a.Al&&2!=this.w.getPresentingPlayerType()||!b.showShareButton;c=g.tK(this.w).getPlayerSize().width;this.C=!!b.videoId&&300<=c&&!a;g.L(this.G,"ytp-share-button-visible",this.C);qN(this.B);g.RK(this.w,this.element,this.C&&this.U)}; g.rQ.prototype.Za=function(a){g.T.prototype.Za.call(this,a);g.RK(this.w,this.element,this.C&&a)}; g.rQ.prototype.Y=function(){g.T.prototype.Y.call(this);g.mn(this.G,"ytp-share-button-visible")};g.r(uQ,ZM);uQ.prototype.show=function(){ZM.prototype.show.call(this);this.F.start()}; uQ.prototype.hide=function(){ZM.prototype.hide.call(this);this.F.stop()}; uQ.prototype.ba=function(){var a=this.A.getCurrentTime();a>this.C/1E3&&aa.width;if(c&&!this.B||!c&&this.B)a=480>a.width&&b.C?{D:"div",X:["ytp-icon","ytp-icon-watermark-small"]}:fM(),a=new g.T(a),b=this.u["ytp-watermark"],g.L(b,"ytp-watermark-small",c),g.Ud(b),a.o(b),this.B=c};g.r(g.UQ,g.fP);g.h=g.UQ.prototype;g.h.Ya=function(){return this.H}; g.h.Dv=function(){return this.o}; g.h.Zg=function(a,b){b?this.ba=a:this.ba=null;this.Hd()}; g.h.zj=function(a,b){if(b)this.J.push(a);else for(var c=this.J.length;0<=c;c--)if(this.J[c]==a){this.J.splice(c,1);break}this.u.Lb(64,0(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.Dk=function(a){a&&(this.H.Fe(this.w.element),this.o&&this.H.Fe(this.o.u.element));g.fP.prototype.Dk.call(this,a)}; g.h.Uq=function(a,b){var c=g.tK(this.api).getPlayerSize();c=new g.bg(0,0,c.width,c.height);if(a||this.u.o&&!this.Jg()){if(this.api.O().qf||b){var d=this.fc()?this.Na:this.Ta;c.top+=d;c.height-=d}this.o&&(c.height-=this.o.A.fc()?72:50)}return c}; g.h.aG=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","YouTube Video Player in Fullscreen"),this.api.O().externalFullscreen||(b.parentElement.insertBefore(this.ra.element,b),b.parentElement.insertBefore(this.na.element,b.nextSibling))):g.N(Error("Player not in DOM.")):(b.setAttribute("aria-label","YouTube Video Player"),g.Eu(this.ra),g.Eu(this.na));this.Gi();this.Tf()}; g.h.fc=function(){return this.api.isFullscreen()||!1}; g.h.showControls=function(a){this.Xb=!a;this.Hd()}; g.h.Gi=function(){var a=this.fc();this.H.C=a?1.5:1;g.L(this.U.element,"ytp-big-mode",a);this.Hd();if(this.xa)if(this.ug())this.F&&cQ(this.B,this.F),this.C&&cQ(this.B,this.C);else{a=this.B;for(var b=g.p(a.A),c=b.next();!c.done;c=b.next())g.Eu(c.value);a.A=[];this.F&&!g.be(this.Ba.element,this.F.element)&&this.F.o(this.Ba.element,0);this.C&&!g.be(this.Ba.element,this.C.element)&&this.C.o(this.Ba.element,1)}this.Tf();g.fP.prototype.Gi.call(this)}; g.h.Gp=function(){if(VQ(this))return!1;var a=this.api.getVideoData();return a.yw||My(this.api.O())&&2!=this.api.getPresentingPlayerType()&&this.Ie&&((a=this.Ie||a.Ie)?(a=a.embedPreview)?(a=a.thumbnailPreviewRenderer,a=a.videoDetails&&a.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer||null):a=null:a=null,!a||!a.collapsedRenderer||!a.expandedRenderer)?!1:g.fP.prototype.Gp.call(this)}; g.h.Tf=function(){g.fP.prototype.Tf.call(this);var a=this.xa&&this.ug();g.RK(this.api,this.eb.element,!!this.G);this.fa&&this.fa.Za(!!this.G);a?this.ya&&this.ya.Za(!!this.G):(this.C&&this.C.Za(!!this.G),this.F&&this.F.Za(!!this.G));if(!this.G)for(this.H.Fe(this.w.element),a=0;a=a)){a-=this.o.length;for(var b=0;b=(a||1)}; g.h.CB=function(){for(var a=this.w.length-1;0<=a;a--)ZQ(this,this.w[a]);this.o.length==this.u.length&&4<=this.o.length||(4>this.u.length?this.Uu(4):(this.o=[],(0,g.z)(this.u,function(b){ZQ(this,b)},this)))}; YQ.prototype.fillPool=YQ.prototype.Uu;YQ.prototype.getTag=YQ.prototype.LC;YQ.prototype.releaseTag=YQ.prototype.ML;YQ.prototype.hasTags=YQ.prototype.uD;YQ.prototype.activateTags=YQ.prototype.CB;g.r(g.aR,g.pt);g.h=g.aR.prototype;g.h.isView=function(){return!0}; g.h.ci=function(){return bt(this.o.ci(),this.u,this.C)}; g.h.Ld=function(){return bt(this.o.Ld(),this.u,this.C)}; g.h.zm=function(){return bt(this.o.zm(),this.u,this.C)}; g.h.getCurrentTime=function(){return this.o.getCurrentTime()-this.u}; g.h.Zn=function(a){this.o.Zn(a+this.u)}; g.h.getDuration=function(){return isFinite(this.C)&&!this.J?this.C-this.u:this.o.getDuration()-this.u}; g.h.play=function(){this.o.getCurrentTime()e?bR(this,"next_player_future"):(this.H=d,this.B=nt(a,c,d,!0),this.C=nt(a,e,f,!1),a=this.o.getVideoData().clientPlaybackNonce,this.u.Oa("gaplessPrep","cpn."+a),EJ(this.u,this.B),iJ(this.u,eR(b,c,d,this.u.getVideoData().sa)), fR(this,2),iR(this))))}}; g.h.Ei=function(a){var b=hR(this),c=(b=a==b.Lz)?this.B.o:this.B.u,d=b?this.C.o:this.C.u;if(c.isActive()&&!d.isActive()){var e=this.H;a=a.Cc();if(0<=Ys(a,e-.01)){fR(this,4);c.setActive(!1);this.o.Oa("sbh","1");if(this.G&&this.w.T&&(a=this.u.getCurrentTime()-10,0this.A;)c=this.o.shift(),NR(this,c,!0);LR(this)}; MR.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.o.find(function(d){return d.key==a}); c&&(NR(this,c,b),g.eb(this.o,function(d){return d.key==a}),LR(this))}; MR.prototype.Y=function(){var a=this;g.E.prototype.Y.call(this);this.o.forEach(function(b){NR(a,b,!0)}); this.o=[]};g.r(OR,g.E);OR.prototype.w=function(a){this.u=a[a.length-1].intersectionRatio}; OR.prototype.Y=function(){g.E.prototype.Y.call(this);this.u=null;this.o&&this.o.disconnect()};var ska=nc(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}}),PR=!1;g.r(RR,g.T);g.h=RR.prototype;g.h.sD=function(){this.H=new g.bg(0,0,0,0);this.A=new g.bg(0,0,0,0)}; g.h.An=function(a){g.ln(this.element,arguments)}; g.h.te=function(){if(this.w){var a=this.getPlayerSize();if(!a.isEmpty()){var b=this.A;b=!g.vd(a,new g.ud(b.width,b.height));var c=$R(this);b&&(this.A.width=a.width,this.A.height=a.height);a=this.app.O();(c||b||a.ba)&&this.app.o.R("resize",this.getPlayerSize())}}}; g.h.bG=function(a,b){this.updateVideoData(b)}; g.h.tD=function(a){a.getVideoData()&&this.updateVideoData(a.getVideoData())}; g.h.updateVideoData=function(a){if(this.w){var b=this.app.O();Rp&&(this.w.setAttribute("x-webkit-airplay","allow"),a.title?this.w.setAttribute("title",a.title):this.w.removeAttribute("title"));iC(a)?this.w.setAttribute("disableremoteplayback",""):this.w.removeAttribute("disableremoteplayback");this.w.setAttribute("controlslist","nodownload");b.Im&&a.videoId&&(this.w.poster=a.pc("default.jpg"))}b=g.pC(a,"yt:bgcolor");this.B.style.backgroundColor=b?b:"";this.T=Dy(g.pC(a,"yt:stretch"));this.V=Dy(g.pC(a, "yt:crop"),!0);g.L(this.element,"ytp-dni",a.gc);this.te()}; g.h.setGlobalCrop=function(a){this.K=Dy(a,!0);this.te()}; g.h.getPlayerSize=function(){var a=this.app.O(),b=this.app.o.isFullscreen();if(b&&Ip())return new g.ud(window.outerWidth,window.outerHeight);if(b||a.Dl){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.G&&this.G.media==a||(this.G=window.matchMedia(a));var c=this.G&&this.G.matches}if(c)return new g.ud(window.innerWidth,window.innerHeight)}else{if(!isNaN(this.C.width)&&!isNaN(this.C.height))return this.C.clone();if(this.ba&&this.Z&&!this.app.isWidescreen())for(a= 0;a=c,b.dis=this.B.Mj("display"));(a=a?(0,g.SI)():null)&&(b.gpu=a);b.cgr=!0;b.debug_playbackQuality=this.o.getPlaybackQuality(1);b.debug_date=(new Date).toString();delete b.uga;delete b.q;(a=DK(this.A))&&(b=kT(b,a.bb(),"fresca_"));return JSON.stringify(b,null,2)}; g.h.getPresentingPlayerType=function(){return 1==this.V?1:iS(this)?3:g.S(this).getPlayerType()}; g.h.jE=function(a){switch(a.type){case "loadedmetadata":uB("fvb")||this.K.tick("fvb");FB("fvb");this.eb.start();break;case "loadstart":uB("gv")||this.K.tick("gv");FB("gv");break;case "progress":case "timeupdate":!uB("l2s")&&2<=$s(a.target.Ld())&&this.K.tick("l2s");break;case "playing":g.Bu&&this.eb.start();if(g.$y(this.u))a=!1;else{var b=g.yK(this.A);a="none"==this.B.Mj("display")||0==wd(this.B.lk());var c=YR(this.G),d=this.C.getVideoData(),e=qz(this.u)||g.Vy(this.u);d=UB(d);b=!c||b||e||d||this.u.ag; a=a&&!b}a&&(this.C.Oa("hidden","1",!0),this.getVideoData().Ze||(this.va("html5_new_elem_on_hidden")?(this.getVideoData().Ze=1,this.wy(null),this.C.playVideo()):fT(this,"hidden",!0)))}}; g.h.UI=function(a,b){this.o.la("onLoadProgress",b)}; g.h.OK=function(){this.o.R("playbackstalledatstart")}; g.h.kE=function(a,b){var c=wS(this,a);b=LS(this,c.getCurrentTime(),c);this.o.la("onVideoProgress",b)}; g.h.uI=function(){this.o.la("onDompaused")}; g.h.XJ=function(){this.o.R("progresssync")}; g.h.fE=function(a){if(1==this.getPresentingPlayerType()){g.mD(a,1)&&!g.R(a.state,64)&&zS(this).sa&&this.w.isAtLiveHead()&&1this.w.getDuration()-1?this.w.seekTo(this.aa.start/1E3,!0):this.setLoopRange(null)}; g.h.isAtLiveHead=function(a,b){b=void 0===b?!1:b;var c=g.S(this,a);if(!c)return!1;var d=vS(this,c);c=wS(this,c);return d!=c?d.isAtLiveHead(LS(this,c.getCurrentTime(),c),!0):d.isAtLiveHead(void 0,b)}; g.h.seekTo=function(a,b,c,d){b=0!=b;if(d=g.S(this,d))2==this.V&&ES(this),uS(this,d)?this.U?this.U.seekTo(a,b,c):this.ra.seekTo(a,b,c):d.seekTo(a,b,c)}; g.h.seekBy=function(a,b,c,d){this.seekTo(this.getCurrentTime()+a,b,c,d)}; g.h.iE=function(){this.o.la("SEEK_COMPLETE")}; g.h.xK=function(a,b){var c=a.getVideoData();if(1==this.V||2==this.V)c.startSeconds=b;2==this.V?ES(this):this.o.la("SEEK_TO",b)}; g.h.DH=function(){this.o.R("airplayactivechange")}; g.h.EH=function(){this.o.R("airplayavailabilitychange")}; g.h.VH=function(){this.o.R("beginseeking")}; g.h.xI=function(){this.o.R("endseeking")}; g.h.getStoryboardFormat=function(a){return(a=g.S(this,a))?vS(this,a).getVideoData().getStoryboardFormat():null}; g.h.ge=function(a){return(a=g.S(this,a))?vS(this,a).getVideoData().ge():null}; g.h.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;d=void 0===d?"":d;uS(this);a=new g.OB(this.u,a);d&&(a.Bb=d);c=void 0===c?Infinity:c;b=b||this.C.getPlayerType();var e;g.P(this.u.experiments,"html5_gapless_preloading")&&(e=IS(this,b,a,!0));e||(e=nS(this,b),OI(e,a,(0,g.x)(this.rd,this)));zR(this,e,c)}; g.h.clearQueue=function(){this.Ba.clearQueue()}; g.h.loadVideoByPlayerVars=function(a,b,c,d){this.u.Qb&&xL(a);var e=new g.OB(this.u,a);c||(a&&HD(a)?(hz(this.u)&&!this.T&&(a.fetch=0),CS(this,a)):this.F&&CS(this,null),a&&(this.T=V(!1,a.external_list)),hz(this.u)&&!this.T&&DS(this));return IR(this,e,b,d)}; g.h.preloadVideoByPlayerVars=function(a,b,c,d,e){b=void 0===b?1:b;c=void 0===c?NaN:c;d=void 0===d?"":d;e=void 0===e?"":e;var f=b+"_"+(a.docid||a.video_id||a.videoId||a.id||null)+"_"+e,k;if(!(k=this.Na.get(f))&&(k=this.C)){k=this.C.getPlayerType();var l=this.C.getVideoData().videoId,m=this.C.getVideoData().Bb;k=f==k+"_"+l+"_"+m}k||(this.u.Qb&&xL(a),a=new g.OB(this.u,a),e&&(a.Bb=e),e=b+"_"+a.videoId+"_"+a.Bb,a.Ch=!0,f=nS(this,b),OI(f,a,(0,g.x)(this.rd,this)),!g.P(this.u.experiments,"unplugged_tvhtml5_video_preload_no_dryrun")&& 1==b&&"TVHTML5_UNPLUGGED"==this.u.deviceParams.c||TI(f,!0),this.Na.set(e,f,c||3600),c="prefetch_"+a.videoId,zB("prefetch",["pfp"],c),EB("docid",a.videoId,c),EB("plt",b,c),EB("c",this.u.deviceParams.c,c),EB("cver",this.u.deviceParams.cver,c),d&&EB("pftr",d,c))}; g.h.setMinimized=function(a){this.H.setMinimized(a);a=this.A;(a=a.o.O().showMiniplayerUiWhenMinimized?a.u.get("miniplayer"):null)&&(this.H.o?a.load():a.unload());this.o.R("minimized")}; g.h.setInline=function(a){this.H.setInline(a)}; g.h.uK=function(){"picture-in-picture"==this.B.fb().webkitPresentationMode?zI(this.H,!0):zI(this.H,!1)}; g.h.togglePictureInPicture=function(){var a=g.S(this);a&&a.togglePictureInPicture()}; g.h.cueVideoByPlayerVars=function(a,b){this.u.Qb&&xL(a);if(a&&HD(a)){this.ya=!0;CS(this,a);var c=this.F.wa();if(c&&c.isValid())VS(this,c,b);else this.F.onReady((0,g.x)(this.Gn,this))}else b||(b=this.getPresentingPlayerType()),1==b&&this.Wl(),VS(this,new g.OB(this.u,a),b)}; g.h.cuePlaylist=function(a,b,c,d){this.ya=!0;a=ks(a,b,c,d);CS(this,a);this.F.onReady((0,g.x)(this.Gn,this))}; g.h.loadPlaylist=function(a,b,c,d){this.ya=!1;a=ks(a,b,c,d);CS(this,a);this.F.onReady((0,g.x)(this.Gn,this))}; g.h.Gn=function(){var a=this.F.wa();if(a){var b=this.getVideoData();b.Fg||!this.ya?(b=b.sg,a=IR(this,a),b&&US(this,a)):VS(this,a)}this.o.la("onPlaylistUpdate")}; g.h.nextVideo=function(a,b){var c=this,d=this.w.getVideoData().suggestions;if(g.MK(this.o)&&d){d=(0,g.ie)(d,function(f){return g.jM(c.u,f)}); d=d[0];var e=b?d.Mu:d.Jb;g.WS(this,d.wa().videoId,e,d.getPlaylistId(),b)}else this.T?this.o.la("onPlaylistNext"):3==this.getPresentingPlayerType()?g.uK(this.A).nextVideo():this.F&&(hz(this.u)&&!this.o.isFullscreen()?QS(this,"yt.www.watch.lists.next"):(this.F.hasNext(a)&&KD(this.F,ID(this.F)),this.F.Zc?(d=b&&g.P(this.u.experiments,"html5_player_autonav_logging"),IR(this,this.F.wa(void 0,b,d),1)):this.ya=!1))}; g.h.previousVideo=function(a){this.T?this.o.la("onPlaylistPrevious"):3==this.getPresentingPlayerType()?g.uK(this.A).hF():this.F&&(hz(this.u)&&!this.o.isFullscreen()?QS(this,"yt.www.watch.lists.prev"):(this.F.Me(a)&&KD(this.F,JD(this.F)),this.F.Zc?IR(this,this.F.wa(),1):this.ya=!1))}; g.h.playVideoAt=function(a){this.T?this.o.la("onPlaylistIndex",a):this.F&&(this.F.Zc?IR(this,this.F.wa(a),1):this.ya=!1,KD(this.F,a))}; g.h.getPlaylist=function(){return this.F}; g.h.JH=function(a){this.o.la("onCueRangeEnter",a.getId())}; g.h.KH=function(a){this.o.la("onCueRangeExit",a.getId())}; g.h.OH=function(){this.getPresentingPlayerType();this.xa||(this.xa=KA(LB,this.ky,this));zD(this.K,this.C.getVideoData(),$S(this));BS(this)&&this.u.u&&"embedded"==CC(zS(this))&&this.ld&&.01>Math.random()&&zr("autoplayTriggered",{intentional:this.jd});this.ld=!1;var a=g.WA(this.od||(this.H.o?3:0));if(a){var b={cpn:this.getVideoData().clientPlaybackNonce,csn:a};if(g.P(this.u.experiments,"web_playback_associated_ve")&&null!=this.getVideoData().Oe){var c=g.AA(this.getVideoData().Oe);g.OA(a,c);b.playbackVe= g.BA(c)}zr("playbackAssociated",b)}this.va("web_player_inline_botguard")&&(a=this.getVideoData().botguardData)&&(qo("BG_I",a.interpreterScript),qo("BG_IU",a.interpreterUrl),qo("BG_P",a.program),RD(this.u.eb))}; g.h.JI=function(){this.o.R("internalAbandon");this.va("html5_ad_module_cleanup_killswitch")||NS(this)}; g.h.ky=function(a){a=a.o;if(!isNaN(a)&&0window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.B.Aj()}; g.h.TI=function(a){3!=this.getPresentingPlayerType()&&this.o.R("liveviewshift",a)}; g.h.playVideo=function(a){if(a=g.S(this,a))2==this.V?ES(this):g.P(this.u.experiments,"html5_restore_userreload_killswitch")&&a.getPlayerState().isError()?fT(this,"user"):(null!=this.da&&this.da.Ia()&&this.da.start(),g.R(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())}; g.h.pauseVideo=function(a){(a=g.S(this,a))&&a.pauseVideo()}; g.h.stopVideo=function(){var a=this.w.getVideoData(),b=new g.OB(this.u,{video_id:a.Ps||a.videoId,oauth_token:a.oauthToken});b.Ae=g.bc(a.Ae);TS(this,6);VS(this,b,1);null!=this.da&&this.da.stop()}; g.h.sendVideoStatsEngageEvent=function(a,b,c){(b=g.S(this,b))&&this.u.nd.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()}; g.h.updatePlaylist=function(){DS(this);this.o.la("onPlaylistUpdate")}; g.h.setSizeStyle=function(a,b){this.Yd=a;this.Xb=b;this.o.R("sizestylechange",a,b);this.G.te()}; g.h.isWidescreen=function(){return this.Xb}; g.h.isInline=function(){return this.H.isInline()}; g.h.getAdState=function(){if(3==this.getPresentingPlayerType())return g.uK(this.A).getAdState();if(!uS(this)){var a=yP(this.A);if(a)return a.getAdState()}return-1}; g.h.mK=function(a){var b=this.G.getVideoContentRect();cg(this.kd,b)||(this.kd=b,this.C&&oJ(this.C),this.w&&this.w!=this.C&&oJ(this.w),1==this.H.w&&this.Ma&&dT(this,!0));this.Wb&&g.vd(this.Wb,a)||(this.o.R("appresize",a),this.Wb=a)}; g.h.sc=function(){return this.o.sc()}; g.h.FK=function(){this.getPresentingPlayerType();fT(this,"signature",void 0,!0)}; g.h.wy=function(){mS(this);lS(this)}; g.h.kK=function(a){EJ(a,this.B.hn())}; g.h.mI=function(){this.o.la("CONNECTION_ISSUE")}; g.h.gE=function(a){this.o.R("heartbeatparams",a)}; g.h.setBlackout=function(a){this.u.ag=a;this.C&&(g.ZH(this.C.B),this.u.J&&hT(this))}; g.h.AJ=function(){var a=g.S(this);if(a){var b=!FK(this.o);g.gK(a,b)}}; g.h.WI=function(){this.o.la("onLoadedMetadata")}; g.h.vI=function(){this.o.la("onDrmOutputRestricted")}; g.h.Y=function(){this.A.dispose();this.ra.dispose();this.U&&this.U.dispose();this.w.dispose();mS(this);g.Fi(g.Rb(this.jc),this.F);JA(this.xa);this.xa=0;g.E.prototype.Y.call(this)}; g.h.va=function(a){return g.P(this.u.experiments,a)}; g.h.setScreenLayer=function(a){this.od=a}; var H0={};mT.prototype.fetch=function(a,b){var c=this;if(!a.match(/\[BISCOTTI_ID\]/g))return nT(this,a,b);var d=1===this.u;d&&this.o.app.K.tick("a_bid_s");var e=dla();if(null!==e)return d&&this.o.app.K.tick("a_bid_f"),nT(this,a,b,e);e=ela();d&&Xk(e,function(){c.o.app.K.tick("a_bid_f")}); return e.then(function(f){return nT(c,a,b,f)})};var moa={SP:"replaceUrlMacros",bP:"isExternalShelfAllowedFor"};g.r(pT,g.AD);g.r(wT,g.E);wT.prototype.Y=function(){this.o={};g.E.prototype.Y.call(this)}; wT.prototype.Af=function(a,b,c){var d=this;c=void 0===c?{}:c;a.forEach(function(e){return d.La(e,b,c)})}; wT.prototype.La=function(a,b,c){var d=this;c=void 0===c?{}:c;a.loggingUrls&&yT(this,"loggingUrls",a,b,c);Object.keys(a).filter(function(e){return"loggingUrls"!==e}).forEach(function(e){return yT(d,e,a,b,c)})};zT.prototype.o=function(){return"adLifecycleCommand"}; zT.prototype.Da=function(a){var b=this;switch(a.action){case "START_LINEAR_AD":g.Ik(function(){var c=b.u;c.u&&c.u.Eg()&&c.u.nx()}); break;case "END_LINEAR_AD":g.Ik(function(){var c=b.u;c.u&&c.u.Eg()&&c.u.ar()}); break;case "END_LINEAR_AD_PLACEMENT":g.Ik(function(){var c=b.u;c.u&&c.u.Eg()&&c.u.vk()}); break;case "FILL_ABOVE_FEED_SLOT":g.Ik(function(){if(a.elementId){var c=b.u,d=c.H.get(a.elementId);d&&(c=EX(c,[d]))&&0!=c.length&&c[0].uk()}}); break;case "CLEAR_ABOVE_FEED_SLOT":g.Ik(function(){FX(b.u)})}};AT.prototype.o=function(){return"adPlayerControlsCommand"}; AT.prototype.Da=function(a){switch(a.action){case "AD_PLAYER_CONTROLS_ACTION_SEEK_TO_END":var b=this.u;b=NX(b)?b.o.getDuration(2):0;if(0>=b)break;this.u.seekTo(g.pd(b-(Number(a.seekOffsetMilliseconds)||0)/1E3,0,b));break;case "AD_PLAYER_CONTROLS_ACTION_RESUME":this.u.resume()}};BT.prototype.o=function(){return"changeEngagementPanelVisibilityAction"}; BT.prototype.Da=function(a){this.ca.la("changeEngagementPanelVisibility",{changeEngagementPanelVisibilityAction:a})};g.r(IT,jL);IT.prototype.Nc=function(){return!0}; IT.prototype.uc=function(){return!1}; IT.prototype.Wj=function(){return!0}; IT.prototype.U=function(){return function(){return g.Fd("video-ads")}};JT.prototype.sb=function(){return this.K}; JT.prototype.isPostroll=function(){return"AD_PLACEMENT_KIND_END"==this.sb().w};var kla=["FINAL","CPN","MIDROLL_POS","SDKV","SLOT_POS"];TT.prototype.send=function(a,b,c){try{var d=a.match(yf);if("https"===d[1])var e=a;else d[1]="https",e=wf("https",d[2],d[3],d[4],d[5],d[6],d[7]);var f=Ym(e),k=g.Zm(e,lla(b,c,f));a=void 0;np(e)&&this.o&&FC(this.o)&&this.u&&(a={Authorization:"Bearer "+FC(this.o)});g.Wp(k,void 0,f,a)}catch(l){}};UT.prototype.o=function(){return"loggingUrls"}; UT.prototype.Da=function(a,b,c){c=void 0===c?{}:c;a=g.p(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.baseUrl&&this.u.send(d.baseUrl,b,c)};VT.prototype.o=function(){return"muteAdEndpoint"}; VT.prototype.Da=function(a){var b=this;switch(a.type){case "SKIP":g.Ik(function(){var c=b.u;c.u&&c.u.Eg()&&c.u.vk()})}};WT.prototype.o=function(){return"pingingEndpoint"}; WT.prototype.Da=function(){};XT.prototype.o=function(){return"urlEndpoint"}; XT.prototype.Da=function(a,b){if(a.url){var c=g.Zm(a.url,b);g.oM(c)}};g.r(ZT,g.E);$T.prototype.showCompanion=function(a,b,c){return aU(this).then(function(){return eU(a,b,c)})};gU.prototype.showCompanion=function(a,b){b.contentVideoId||(b.contentVideoId=a);this.u.la("updateKevlarOrC3Companion",b)};var iU=null;g.r(hU,g.O);g.Ga("ytads.bulleit.getVideoMetadata",function(a){var b=jU();return b.o.hasOwnProperty(a)?b.o[a].lx():{}},void 0); g.Ga("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=jU();c=sla(c);null!==c&&d.R(c,{queryId:a,viewabilityString:b})},void 0);g.r(kU,g.E);g.r(pU,g.E);g.r(GU,g.O);g.h=GU.prototype;g.h.lx=function(){return{}}; g.h.Xn=function(){}; g.h.gb=function(a){this.xf();this.R(a)}; g.h.Rv=function(){}; g.h.xf=function(){IU(this,this.H,3);this.H=[]}; g.h.getDuration=function(){return this.ca.getDuration(2,!1)}; g.h.Sj=function(){var a=this.o;qU(a)||!DU(a,"impression")&&!DU(a,"start")||DU(a,"abandon")||DU(a,"complete")||DU(a,"skip")||(sU(a)?yU(a,"pause"):xU(a,"pause"))}; g.h.ii=function(){this.K||this.C||this.Pb()}; g.h.Mc=function(){AU(this.o,this.getDuration())}; g.h.Lc=function(){var a=this.o;!DU(a,"impression")||DU(a,"skip")||DU(a,"complete")||yU(a,"abandon")}; g.h.ih=function(){var a=this.o;if(sU(a))var b=!1;else b=a.o.O(),b=g.$y(b)&&!g.pz(b)&&g.P(a.o.O().experiments,"ensure_only_one_ads_termination_ping_for_bulleit_living_room")||g.P(a.o.O().experiments,"ensure_only_one_ads_termination_ping_for_bulleit")?!0:!1;b?!DU(a,"impression")||DU(a,"abandon")||DU(a,"complete")||xU(a,"skip"):xU(a,"skip")}; g.h.Pb=function(){if(!this.C){var a=LU(this);this.o.w.AD_CPN=a;zU(this.o);this.C=!0}}; g.h.Ub=function(a){a=a||"";var b="",c="",d="";lU(this.ca)&&(b=g.sK(this.ca,2).o,this.ca.app.B&&(c=this.ca.app.B.je(),null!=this.ca.app.B.Ve()&&(d=this.ca.app.B.Ve())));var e=this.o;e.w=RT(e.w,PT(3,"There was an error playing the video ad. Error code: "+(a+"; s:"+b+"; rs:")+(c+"; ec:"+d)));xU(e,"error")}; g.h.jh=function(){}; g.h.hz=function(){this.R("c")}; g.h.iz=function(){this.R("h")}; g.h.jz=function(){this.R("i")}; g.h.kz=function(){this.R("j")}; g.h.lz=function(){this.R("k")}; g.h.mz=function(){this.R("l")}; g.h.nz=function(){this.R("q")}; g.h.dispose=function(){this.ia()||(this.xf(),this.w.unsubscribe("c",this.hz,this),this.w.unsubscribe("h",this.iz,this),this.w.unsubscribe("i",this.jz,this),this.w.unsubscribe("j",this.kz,this),this.w.unsubscribe("k",this.lz,this),this.w.unsubscribe("l",this.mz,this),this.w.unsubscribe("q",this.nz,this),tla(this.w,this),g.O.prototype.dispose.call(this))}; g.h.Nu=function(){return""};g.r(MU,jL);MU.prototype.Nc=function(){return!1}; MU.prototype.uc=function(){return!0};g.r(NU,tT);g.r(OU,GU);OU.prototype.Rb=function(){var a=this,b=new NU(this.Wf.o,this.macros),c=this.ca.getVideoData(2);g.P(this.ca.O().experiments,"ignore_video_data_current_ad_check")&&c?QU(this,c,b):c&&c.Td&&PU(c,b)?QU(this,c,b):(this.u=function(d,e,f){e&&2==f&&PU(e,b)&&e.Td&&(a.u&&(a.ca.removeEventListener("videodatachange",a.u),a.u=null),QU(a,e,b))},this.ca.addEventListener("videodatachange",this.u))}; OU.prototype.jh=function(a){EU(this.o,a)}; OU.prototype.Y=function(){this.u&&(this.ca.removeEventListener("videodatachange",this.u),this.u=null);GU.prototype.Y.call(this)};g.r(RU,jL);RU.prototype.Nc=function(){return!0}; RU.prototype.uc=function(){return!1};g.r(SU,tT);g.r(TU,GU);g.h=TU.prototype;g.h.Rb=function(){0=this.F&&(g.N(Error("durationMs was specified incorrectly with a value of: "+this.F)),this.Mc());this.Pb();this.ca.addEventListener("progresssync",this.G)}; g.h.Lc=function(){GU.prototype.Lc.call(this);this.gb("b")}; g.h.Pb=function(){var a=this.ca.O();GU.prototype.Pb.call(this);this.A=Math.floor(this.ca.getCurrentTime());this.u=this.A+this.F/1E3;g.$y(a)?this.ca.la("onAdMessageChange",{renderer:this.B.o}):JU(this,[new gV(this.B.o)]);a=(a=this.ca.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.WA();b&&zr("adNotify",{clientScreenNonce:b,adMediaTimeSec:this.u,timeToAdBreakSec:Math.ceil(this.u-this.A),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.B.o.videoAdBreakOffsetMs/1E3)});g.R(g.sK(this.ca, 1),512)&&(a=(a=this.ca.getVideoData(1))&&a.clientPlaybackNonce||"",(b=g.WA())&&zr("adNotifyFailure",{clientScreenNonce:b,adMediaTimeSec:this.u,timeToAdBreakSec:Math.ceil(this.u-this.A),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.B.o.videoAdBreakOffsetMs/1E3)}),this.Mc())}; g.h.Mc=function(){GU.prototype.Mc.call(this);this.gb("f")}; g.h.Ub=function(a){GU.prototype.Ub.call(this,a);this.gb("g")}; g.h.gb=function(a){this.ca.removeEventListener("progresssync",this.G);this.xf();this.R(a)}; g.h.dispose=function(){this.ca.removeEventListener("progresssync",this.G);GU.prototype.dispose.call(this)}; g.h.xf=function(){g.$y(this.ca.O())?this.ca.la("onAdMessageChange",{renderer:null}):GU.prototype.xf.call(this)};g.r(iV,tT);g.r(jV,GU);jV.prototype.Rb=function(){JU(this,[new iV(this.Wf.o,this.macros)])}; jV.prototype.jh=function(a){EU(this.o,a)};g.r(kV,tT);g.r(lV,GU);lV.prototype.Rb=function(){var a=new kV(this.Wf.o,this.macros);JU(this,[a])};g.r(mV,GU);mV.prototype.Rb=function(){var a=LU(this);this.o.w.AD_CPN=a;zU(this.o)};g.r(nV,tT);g.r(oV,tT);g.r(pV,GU);pV.prototype.Rb=function(){var a;if(a=g.P(this.ca.O().experiments,"render_enhanced_overlays_as_ctas_for_desktop"))a=this.u.o,a=a.contentSupportedRenderer?!!a.contentSupportedRenderer.enhancedTextOverlayAdContentRenderer:!1;a?(a=new oV(this.u.o,this.macros),JU(this,[a])):(a=new nV(this.u.o,this.macros),JU(this,[a]))};g.r(qV,tT);g.r(rV,GU);rV.prototype.Rb=function(){this.Pb()}; rV.prototype.Pb=function(){JU(this,[new qV(this.u.o,this.macros)]);GU.prototype.Pb.call(this)}; rV.prototype.Ub=function(a){GU.prototype.Ub.call(this,a);this.gb("g")};g.r(wV,tT);g.r(xV,GU);xV.prototype.Rb=function(){var a=new wV(this.u.o,this.macros);JU(this,[a])};g.r(yV,tT);g.r(zV,GU);zV.prototype.Rb=function(){var a=new yV(this.Wf.o,this.macros);JU(this,[a])}; zV.prototype.jh=function(a){EU(this.o,a)};g.r(AV,tT);g.r(BV,GU);g.h=BV.prototype;g.h.Ra=function(){450>g.tK(this.ca).getPlayerSize().width&&(g.Ts(this.ea),this.Lc())}; g.h.Rb=function(){this.Pb()}; g.h.Xn=function(){this.u&&!g.P(this.ca.O().experiments,"use_revamped_survey_design_for_desktop")&&(this.u.o=!0,yla(this,[this.u]))}; g.h.Pb=function(){this.u=new AV(this.A.o);this.u.o=this.A.w;JU(this,[this.u]);GU.prototype.Pb.call(this)}; g.h.getDuration=function(){return this.A.u}; g.h.Lc=function(){GU.prototype.Lc.call(this);this.gb("a")}; g.h.ih=function(){GU.prototype.ih.call(this);this.gb("f")}; g.h.Ub=function(a){GU.prototype.Ub.call(this,a);this.gb("g")}; g.h.gb=function(a){this.xf();"a"!=a&&oX(this.B.V);this.R(a)}; g.h.jh=function(a){switch(a){case "skip-button":this.ih();break;case "survey-submit":this.gb("f")}};g.r(CV,tT);g.r(DV,GU);DV.prototype.Rb=function(){this.Pb()}; DV.prototype.Pb=function(){JU(this,[new CV(this.u.o,this.macros)]);GU.prototype.Pb.call(this)}; DV.prototype.Lc=function(){GU.prototype.Lc.call(this);this.gb("a")}; DV.prototype.Ub=function(a){GU.prototype.Ub.call(this,a);this.gb("g")};g.r(EV,tT);g.r(FV,GU);g.h=FV.prototype;g.h.Rb=function(){0b)if(e=this.ca.app,c=b-a,e.U){var f=void 0;e=g.p(e.U.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.Ib), tR(l,c,f))}else{l=e.ra;e=void 0;k=g.p(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.Ib),JR(l,f,c,e))}return d}; g.h.dispose=function(){mU(this.ca)&&!this.G&&this.ca.stopVideo(2);GU.prototype.dispose.call(this)};VV.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={Uh:null,uw:-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={ZB:new qh(d,c),ED:new iv(d,c-d,a.context,a.identifier,a.event,a.o)}}a&&(c=a.ED,b.Uh=a.ZB,this.u.vy(c))}}; VV.prototype.updateTime=function(){};g.r(WV,g.O); WV.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 qh(c,b);a=new iv(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)}}}; WV.prototype.updateTime=function(a){this.u&&(this.u.end<=a||!(null===this.o||alD(a,4)&&!(0>lD(a,2))&&(d=this.u.o,qU(d)||(sU(d)?yU(d,"resume"):xU(d,"resume")));!g.P(this.ca.O().experiments,"html5_dai_handle_suspended_state_killswitch")&&this.Ob&&g.mD(a,512)&&!g.Pt(a.state)&&gW(this.F)}}; g.h.nx=function(){}; g.h.resume=function(){this.u&&this.u.Xn()}; g.h.ar=function(){this.u&&this.u.gb("f")}; g.h.vk=function(){this.ar()}; g.h.mx=function(a){var b=this.lc;b.w&&g.P(b.o.O().experiments,"html5_bulleit_dai_publish_ad_ux_killswitch")||b.o.la("onAdUxUpdate",a)}; g.h.onAdUxClicked=function(a){this.u.jh(a)}; g.h.bv=function(){return 0}; g.h.dv=function(){return 1}; g.h.oo=function(a){this.Ob&&this.o.F&&this.o.sb().start<=a&&a=Math.abs(c-this.o.sb().end/1E3)):c=!0;if(c&&!this.o.C.hasOwnProperty("ad_placement_end")){c=g.p(this.o.H);for(var d=c.next();!d.done;d=c.next())mW(d.value);this.o.C.ad_placement_end=!0}c=this.o.B;null!==c&&(dW(this.qe,{cueIdentifier:this.o.u&&this.o.u.identifier,driftRecoveryMs:c,Uy:this.o.sb().start,zw:qW(this)}),this.o.B=null);b||this.Ob?GX(this.lc,!0): this.J&&this.Zq()&&this.bk()?GX(this.lc,!1,Tla(this)):GX(this.lc,!1);nW(this,!0)}; g.h.dr=function(a){MX(this.lc,a)}; g.h.ym=function(){return this.B}; g.h.isLiveStream=function(){return this.J}; g.h.reset=function(){return new kW(this.lc,this.ca,this.F.reset(),this.o,this.qe,this.Vh,this.Xf,this.Ob)}; g.h.Y=function(){g.Ei(this.u);this.u=null;g.O.prototype.Y.call(this)};sW.prototype.create=function(a){return(a.o instanceof CT?this.A:a.o instanceof aW?this.w:""===a.A?this.o:this.u)(a)};g.r(uW,g.O);g.h=uW.prototype;g.h.sb=function(){return this.o.sb()}; g.h.xn=function(){return LT(this.o)}; g.h.Zq=function(){return KT(this.o)}; g.h.pi=function(){return!1}; g.h.tk=function(){return!1}; g.h.onAdUxClicked=function(){}; g.h.Up=function(a){var b=this;if(1!==this.o.w&&2!==this.o.w){var c=[];this.xn()||(c=iW(a));this.o.w=1;Xk(this.C.fetch(this.o.A,{YB:this.o.u||void 0,Gb:this.o.sb(),aA:nma(this.u.V)}).then(function(d){if(!b.ia()){var e=c;g.P(b.B.O().experiments,"enable_client_deferred_full_screen_filtering_for_mweb_phones")&&b.B.isFullscreen();d=Yla(b,d);var f=b.A;f.u&&d.isEmpty&&cW("DAI_ERROR_TYPE_NO_AD_BREAK_RENDERER",f.o.clientPlaybackNonce);d.kw||(b.o.w=2,jW(new hW(b.u),e),tW(b.o.A)&&(f=b.u,e=f.da,f.da=null,e&& (d.ij.some(Vla)&&(e.renderer.backfillMpuCompanionAdRenderer.type="BACKFILL_MPU_TYPE_AFV"),f=b.u,e=[e],DX(f,e),e=AX(f,e),EX(f,e),b.w=!0)),d.isEmpty||(e=b.u,d=d.ij,DX(e,d),d=AX(e,d),EX(e,d)))}},function(){jW(new hW(b.u),c); var d=b.A;d.u&&cW("DAI_ERROR_TYPE_AD_REQUEST_FAIL",d.o.clientPlaybackNonce)}),function(){2!==b.o.w&&(b.o.w=0); (b.xn()||b.w)&&CX(b.u)})}}; g.h.uk=function(){}; g.h.oo=function(){};g.r(vW,g.T);vW.prototype.Af=function(a){var b=this;if(a=void 0===a?null:a){var c=this.B;a.forEach(function(d){return b.A.La(d,c)})}}; vW.prototype.La=function(a){(a=void 0===a?null:a)&&this.A.La(a,this.B)};g.r(wW,g.E);wW.prototype.append=function(a){if(!this.G)throw Error("This does not support the append operation");this.Kl(a.fb())}; wW.prototype.Kl=function(a){this.fb().appendChild(a)}; g.r(xW,wW);xW.prototype.fb=function(){return this.o};g.r(zW,g.E);var I0=new WeakSet;g.r(Z,g.Gu);g.h=Z.prototype;g.h.Qh=function(a){a.append(this.Ba)}; g.h.bind=function(a){if(this.fa)this.Bn(a);else if(a.renderer){var b=Object.assign({},yW(this.api,this.ma),a.macros);this.init(a.id,a.renderer,b,a)}return Promise.resolve()}; g.h.init=function(a,b,c){this.fa=a;this.element.setAttribute("id",this.fa);this.ya&&g.K(this.element,this.ya);this.H=b&&b.adRendererCommands;this.macros=c;this.G=b.trackingParams||null;null!=this.G&&DW(this,this.element,this.G)}; g.h.Bn=function(){}; g.h.clear=function(){}; g.h.hide=function(){g.Gu.prototype.hide.call(this);null!=this.G&&EW(this,this.element,!1)}; g.h.show=function(){g.Gu.prototype.show.call(this);if(!this.Ha){this.Ha=!0;var a=this.H&&this.H.impressionCommand;a&&this.ma.La(a,this.macros,null)}null!=this.G&&EW(this,this.element,!0)}; g.h.onClick=function(a){if(this.G&&!I0.has(a)){var b=this.element;SK(this.api,b)&&this.Ia()&&g.QK(this.api,b);I0.add(a)}(a=this.H&&this.H.clickCommand)&&this.ma.La(a,this.macros,this.hv())}; g.h.hv=function(){return null}; g.h.XG=function(a){var b=this.P;b.F=!0;b.u=a.touches.length;b.o.isActive()&&(b.o.stop(),b.B=!0);a=a.touches;b.C=AW(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.VG=function(a){if(this.P){var b=this.P,c=a.changedTouches;c&&b.F&&1==b.u&&!b.A&&!b.B&&!b.C&&AW(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.Wa(this.xa);for(var a=g.p(this.T),b=a.next();!b.done;b=a.next())this.Wa(b.value);g.Gu.prototype.Y.call(this)};g.r(GW,g.E);GW.prototype.Y=function(){this.u&&g.ar(this.u);this.o.clear();HW=null;g.E.prototype.Y.call(this)}; GW.prototype.register=function(a,b){b&&this.o.set(a,b)}; var HW=null;g.r(LW,wW);LW.prototype.addEventListener=function(a,b){this.C.subscribe(a,b)}; LW.prototype.removeEventListener=function(a,b){this.C.unsubscribe(a,b)}; LW.prototype.dispatchEvent=function(a){this.C.R(a.type,a)};g.r(MW,g.E);g.h=MW.prototype;g.h.Qh=function(a){a.append(this.view)}; g.h.bind=function(a){var b=a.renderer,c=b.trackingParams;if(this.w&&this.w!=c)throw Error("Cannot re-bind presenter with new tracking params");if(c){this.w=c;var d=this.view,e=this.vb,f=d.fb();g.OK(e,f,d);g.PK(e,f,c)}this.u=b.impressionEndpoints||[];this.macros=Object.assign({},a.macros);return this.nj(a)}; g.h.Ia=function(){return this.A}; g.h.show=function(){this.view.show();this.A=!0;var a=this.vb,b=this.view.fb();SK(a,b)&&g.RK(a,b,!0);this.Af(this.u);this.u=[]}; g.h.hide=function(){this.cq();this.A=!1;var a=this.vb,b=this.view.fb();SK(a,b)&&g.RK(a,b,!1)}; g.h.cq=function(){this.view.hide()}; g.h.onClick=function(a){a=void 0===a?{}:a;this.Hk(a);if(this.Ia()){a=this.vb;var b=this.view.fb();SK(a,b)&&g.QK(a,b)}}; g.h.La=function(a){this.jj.La(a,NW(this))}; g.h.Af=function(a){var b=this,c=NW(this);a.forEach(function(d){return b.jj.La(d,c)})};g.r(OW,g.O);OW.prototype.show=function(){if(!this.o.Ia()){this.ea.M(document,"click",this.B);this.o.show();var a=this.o.element,b=g.xg(pg(this.A)).width,c=g.xg(this.A),d=ng(this.A);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}}; OW.prototype.hide=function(){this.o.Ia()&&(this.o.hide(),g.Ts(this.ea))}; OW.prototype.setTitle=function(a){a?this.w.show():this.w.hide();this.w.ob(QW(a))}; OW.prototype.B=function(a){this.o.Ia()&&(a=a.target,g.be(this.A,a)||(g.be(this.u.u["ytp-ad-info-dialog-confirm-button"],a)?this.R("confirmClick"):g.be(this.o.element,a)||this.R("externalClick")))}; var bma={WN:"confirmClick",uO:"externalClick"};g.r(RW,LW);RW.prototype.setTitle=function(a){this.o.setTitle(a)}; RW.prototype.show=function(){this.o.show()}; RW.prototype.hide=function(){this.o.hide()}; RW.prototype.fb=function(){return this.o.o.element};var cma={NA:RW},noa=["confirmClick","externalClick"];g.r(SW,MW);g.h=SW.prototype;g.h.nj=function(a){var b=this.Kc();a=a.renderer;var c=b.o,d=a.confirmLabel||null;d?c.u.show():c.u.hide();c.u.ob(QW(d));b.setTitle(a.title||null);b.o.o.ob(QW(a.dialogMessage||null));g.Ud(PW(b.o));c=g.p(a.adReasons||[]);for(d=c.next();!d.done;d=c.next())d=d.value,PW(b.o).appendChild(g.Qd("li",null,QW(d)));this.o=a.confirmServiceEndpoint||null;return Promise.resolve()}; g.h.cq=function(){MW.prototype.cq.call(this);this.o&&(this.La(this.o),this.o=null)}; g.h.Hk=function(a){switch(a.type){case "confirmClick":case "externalClick":this.hide()}}; g.h.Kc=function(){return this.view}; g.h.pd=function(){function a(e){return b.onClick(e)} for(var b=this,c=g.p(noa),d=c.next();!d.done;d=c.next())this.ea.M(this.view,d.value,a)};g.r(TW,Z);g.h=TW.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=KW(b.hoverText),g.Vd(this.w,b,0)):this.w=null,this.pe.bind({renderer:a,macros:c}),this.show()):g.N(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))}; g.h.bq=function(){this.w&&g.yg(this.w,!1)}; g.h.RE=function(){this.pe.Ia()||this.w&&g.yg(this.w,!0)}; g.h.QE=function(){this.pe.show();this.bq()}; g.h.clear=function(){this.hide()};g.r(UW,vW);g.r(VW,aW);g.h=VW.prototype;g.h.Nc=function(){return!1}; g.h.uc=function(){return!0}; g.h.wv=function(){var a=this.o,b=new pla;b.url=a.iframeUrl||null;b.width=a.iframeWidth||0;b.height=a.iframeHeight||0;b.impressionTrackingUrls=WW(a.impressionCommands||[]);b.clickTrackingUrls=WW(a.onClickCommands||[]);b.adInfoRenderer=a.adInfoRenderer||null;a=new fU;a.iframeCompanionRenderer=b;return a}; g.h.qv=function(){return[new g.ud(300,60)]}; g.h.Au=function(a,b){return new UW(a,b,this.o)};g.r(XW,GU);g.h=XW.prototype;g.h.Up=function(a){if(!qT(a)){var b=new hW(this.G);a=iW(a);jW(b,a)}this.uk()}; g.h.uk=function(){var a=this;if(this.u instanceof VW){var b=this.ca.getVideoData(2);if(!b||b.Bd||null==this.u.o||this.u.o.adVideoId!=b.videoId){this.A=function(c,d,e){if(d&&2==e&&null!=a.u.o&&a.u.o.adVideoId==d.videoId||g.P(a.ca.O().experiments,"ignore_video_data_current_ad_check"))a.A&&(a.ca.removeEventListener("videodatachange",a.A),a.A=null),d.isListed&&HU(a)}; this.ca.addEventListener("videodatachange",this.A);return}if(!b.isListed)return}HU(this)}; g.h.Rb=function(){var a=this;IX(this.G,this);if(nU(this.ca)){var b=this.ca.getVideoData(1),c=this.u.wv();null!=c&&(c.macros=Object.assign({},this.macros),this.J.showCompanion(b.videoId,c))}else{var d=this.u.qv();qla(this.J).then(function(e){a:{if(d&&e){e=g.p(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;for(var k=g.p(d),l=k.next();!l.done;l=k.next())if(l=l.value,l.width==f.width&&l.height==f.height){e=l;break a}}}e=null}e&&(f=a.u.Au(a.ca,a.G,e),null!=f&&(g.H(a,f),k=a.J,k.o&&k.o.showCompanion(f.element, e.width,e.height)))})}if(this.u instanceof VW){this.F=function(e){var f; if(f=e.data)try{f=np(e.source.document.location.origin)}catch(l){f=!1}if(f)if(f=a.u.o,"companion-setup-complete"==e.data)try{e.source.postMessage(JSON.stringify(f),"*");var k=e.source.frameElement;k.parentNode.style.cssText="";k.width=String(f.iframeWidth);k.height=String(f.iframeHeight)}catch(l){g.uo(l)}else"pause-video"==e.data&&a.ca.pauseVideo()}; try{window.addEventListener("message",this.F)}catch(e){g.N(e)}}}; g.h.onAdUxClicked=function(a){EU(this.o,a)}; g.h.sb=function(){return this.B.sb()}; g.h.xn=function(){return LT(this.B)}; g.h.Zq=function(){return KT(this.B)}; g.h.pi=function(){return!0}; g.h.tk=function(){return this.B.o.uc()}; g.h.oo=function(){}; g.h.Y=function(){if(this.F)try{window.removeEventListener("message",this.F),this.F=null}catch(a){g.N(a)}this.A&&(this.ca.removeEventListener("videodatachange",this.A),this.A=null);GU.prototype.Y.call(this)};var ema=Object.freeze([RU,UU,IT,cV,dV,lL]);g.r(ZW,kW);g.h=ZW.prototype;g.h.ev=function(){for(var a=this.A.o,b=g.p(a),c=b.next();!c.done;c=b.next());return a}; g.h.iw=function(){return(0>=this.C?this.A.o:this.A.o.slice(this.C)).some(function(a){return a.Nc()})}; g.h.er=function(){return this.G instanceof IT||this.G instanceof cV}; g.h.bk=function(){return this.G instanceof lL||this.G instanceof UU}; g.h.Vy=function(){this.Ob?lU(this.ca)&&lW(this):(this.A.A||$W(this),aX(this))}; g.h.Rb=function(a){var b=YW(a);this.G&&b&&this.H!==b&&(b?HX(this.lc):KX(this.lc),this.H=b);this.G=a;this.Ob&&(this.C=this.A.o.findIndex(function(c){return c===a})); kW.prototype.Rb.call(this,a)}; g.h.jg=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.w&&(g.Ei(this.w),this.w=null);kW.prototype.jg.call(this,a,b)}; g.h.vk=function(){this.C=this.A.o.length;this.w&&this.w.gb("f");this.u&&this.u.gb("f");this.jg()}; g.h.nx=function(){aX(this)}; g.h.ar=function(){this.yh()}; g.h.fr=function(a){kW.prototype.fr.call(this,a);a=a.state;g.R(a,2)&&this.w?this.w.Mc():g.Mt(a)?(null==this.w&&$W(this),this.w&&this.w.ii()):a.isError()&&this.w&&this.w.Ub(a.u.errorCode)}; g.h.yh=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.Ob||(MX(this.lc,0),a?this.jg(a,b):aX(this))}; g.h.Zx=function(){1==this.A.u?this.jg():this.yh()}; g.h.onAdUxClicked=function(a){kW.prototype.onAdUxClicked.call(this,a);this.w&&this.w.jh(a)}; g.h.ym=function(){var a=0>=this.C?this.A.o:this.A.o.slice(this.C);return 0lD(a,16)&&(this.J.forEach(this.wn,this),this.J.clear())}; g.h.OF=function(){if(this.u){var a=this.u;a.Ob&&lW(a)}if(this.w){a=1E3*this.o.getCurrentTime();for(var b=g.p(this.B.keys()),c=b.next();!c.done;c=b.next())if(c=c.value,c.start<=a&&aMath.random())&&g.uo(Error("Found AdImage without valid image URL")):(this.w?g.eg(this.element,"backgroundImage","url("+b+")"):Hd(this.element,{src:b}),Hd(this.element,{alt:a&&a.accessibility&&a.accessibility.label||""}),this.show())}; PX.prototype.clear=function(){this.hide()};g.r(RX,Z); RX.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.w=b;if(null==b.text&&null==b.icon)g.uo(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.K(this.element,a);null!=b.text&&(a=g.MB(b.text),g.xb(a)||(this.element.setAttribute("aria-label",a),this.C=new g.Gu({D:"span",I:"ytp-ad-button-text",W:a}),g.H(this,this.C),this.C.o(this.element)));null!=b.icon&&(b=QX(b.icon),null!= b&&(this.A=new g.Gu({D:"span",I:"ytp-ad-button-icon",L:[b]}),g.H(this,this.A)),this.F?g.Vd(this.element,this.A.element,0):this.A.o(this.element))}}; RX.prototype.clear=function(){this.hide()}; RX.prototype.onClick=function(a){var b=this;Z.prototype.onClick.call(this,a);xma(this).forEach(function(c){return b.ma.La(c,b.macros)}); this.api.onAdUxClicked(this.componentType)};g.r(SX,Z);SX.prototype.clear=function(){this.dispose()};g.r(VX,SX);g.h=VX.prototype;g.h.init=function(a,b,c){SX.prototype.init.call(this,a,b,c);g.eg(this.B,"stroke-dasharray","0 "+this.A);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){UX(this);SX.prototype.hide.call(this)}; g.h.show=function(){TX(this);SX.prototype.show.call(this)}; g.h.Dh=function(){this.hide()}; g.h.Gg=function(){if(this.w){var a=this.w.getProgressState();null!=a&&null!=a.current&&g.eg(this.B,"stroke-dasharray",a.current/a.seekableEnd*this.A+" "+this.A)}};g.r(WX,Z);WX.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.w=b;this.isTemplated()||g.ce(this.element,BW(this.w));if(b.backgroundImage&&(a=(a=b.backgroundImage.thumbnail)?OX(a):"",c=(c=this.api.getVideoData(1))&&c.Vk,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()}; WX.prototype.isTemplated=function(){return this.w.isTemplated||!1}; WX.prototype.clear=function(){this.hide()};g.r(YX,SX);g.h=YX.prototype; g.h.init=function(a,b,c){SX.prototype.init.call(this,a,b,c);a=b.durationMilliseconds;"number"===typeof a&&0>a&&g.N(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.na&&g.K(this.A.element,"countdown-next-to-thumbnail");a=b.durationMilliseconds;this.K=null==a||0===a?this.w.Mx():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview);this.B.init(Y("ad-text"),d,c);(d=this.api.getVideoData(1))&& d.Vk&&b.thumbnail?this.F.init(Y("ad-image"),b.thumbnail,c):this.V.hide()}; g.h.Ye=function(){this.J.show(100);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){this.A.hide();this.B.hide();this.F.hide();UX(this);SX.prototype.hide.call(this)}; g.h.show=function(){TX(this);this.A.show();this.B.show();this.F.show();SX.prototype.show.call(this)}; g.h.Dh=function(){this.hide()}; g.h.Gg=function(){if(null!=this.w){var a=this.w.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.Z&&a>=this.K?(g.P(this.api.O().experiments,"enable_pubsub_for_skip_transition_bulleit")||this.J.hide(),this.Z=!0,this.R("t")):this.B&&this.B.isTemplated()&&(a=Math.max(0,Math.ceil((this.K-a)/1E3)),a!=this.ba&&(XX(this.B,{TIME_REMAINING:String(a)}),this.ba=a)))}};g.r(ZX,g.E);g.h=ZX.prototype;g.h.Y=function(){this.reset();g.E.prototype.Y.call(this)}; g.h.reset=function(){g.Ts(this.ea);this.B=!1;this.o&&this.o.stop();this.A.stop();this.u&&(this.u=!1,this.C.play())}; g.h.start=function(){this.reset();this.ea.M(this.w,"mouseover",this.qJ,this);this.ea.M(this.w,"mouseout",this.nJ,this);this.o?this.o.start():(this.B=this.u=!0,g.eg(this.w,{opacity:this.G}))}; g.h.qJ=function(){this.u&&(this.u=!1,this.C.play());this.A.stop();this.o&&this.o.stop()}; g.h.nJ=function(){this.B?this.A.start():this.o&&this.o.start()}; g.h.au=function(){this.u||(this.u=!0,this.F.play(),this.B=!0)};var zma=nc(function(){return new yma}),Ema=nc(function(){return new Bma});g.r(bY,SX);g.h=bY.prototype; g.h.init=function(a,b,c){SX.prototype.init.call(this,a,b,c);this.J=b;this.za=Fma(this);!b||g.Zb(b)?g.N(Error("SkipButtonRenderer was not specified or empty.")):!b.message||g.Zb(b.message)?g.N(Error("SkipButtonRenderer.message was not specified or empty.")):(a={iconType:"SKIP_NEXT"},b=QX(a),null==b?g.N(Error("Icon for SkipButton was unable to be retrieved. yt.innertube.Icon.IconType: "+a.iconType+".")):(this.F=new g.Gu({D:"button",X:["ytp-ad-skip-button","ytp-button"],L:[{D:"span",I:"ytp-ad-skip-button-icon", L:[b]}]}),g.H(this,this.F),this.F.o(this.B.element),this.A=new WX(this.api,this.ma,"ytp-ad-skip-button-text"),this.A.init(Y("ad-text"),this.J.message,c),g.H(this,this.A),g.Vd(this.F.element,this.A.element,0)),g.P(this.api.O().experiments,"bulleit_use_touch_events_for_skip")&&FW(this))}; g.h.Ye=function(){this.V.show();this.show()}; g.h.clear=function(){this.Z.reset();this.hide()}; g.h.hide=function(){this.B.hide();this.A&&this.A.hide();UX(this);SX.prototype.hide.call(this);cY(this)}; g.h.onClick=function(a){if(null!=this.F&&(a&&g.fr(a),SX.prototype.onClick.call(this,a),this.R("u"),!this.za))this.api.onAdUxClicked(this.componentType)}; g.h.hv=function(){return"skip"}; g.h.show=function(){this.Z.start();this.B.show();this.A&&this.A.show();TX(this);SX.prototype.show.call(this);g.cn(this.ra)}; g.h.Dh=function(){this.ba=!0;this.R("v")}; g.h.Gg=function(){!this.ba&&this.na&&1E3*this.w.getProgressState().current>=this.na&&(this.ba=!0,this.R("v"))};g.r(dY,g.O);g.h=dY.prototype;g.h.Mx=function(){return this.u}; g.h.start=function(){this.w||(this.w=!0,this.Fa.start())}; g.h.stop=function(){this.w&&(this.w=!1,this.Fa.stop())}; g.h.TG=function(){this.o+=100;var a=!1;this.o>this.u&&(this.o=this.u,this.Fa.stop(),a=!0);this.A={seekableStart:0,seekableEnd:this.u/1E3,current:this.o/1E3};if(this.B){var b=this.B,c=this.A.current;b.u&&(b=b.u.u,b.C&&vU(b.o,c,b.getDuration()))}this.R("s");a&&this.R("r")}; g.h.getProgressState=function(){return this.A};g.r(eY,Z);g.h=eY.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.N(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&&0=a?g.N(Error("durationMilliseconds was specified incorrectly in AdTextInterstitialRenderer with a value of: "+a)):(this.w.init(Y("ad-text"),b.text,c),this.show())):g.N(Error("AdTextInterstitialRenderer has no message AdText."))}; g.h.clear=function(){this.hide()}; g.h.show=function(){hY(!0);Z.prototype.show.call(this)}; g.h.hide=function(){hY(!1);Z.prototype.hide.call(this)}; g.h.onClick=function(){};g.r(iY,Z); iY.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.N(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new RX(this.api,this.ma),g.H(this,this.button),this.button.init(Y("button"),b,this.macros),this.button.o(this.element),this.F&&!g.kn(this.button.element,"ytp-ad-clickable")&&g.K(this.button.element,"ytp-ad-clickable"),a&&(this.A=new g.Gu({D:"div",I:"ytp-ad-hover-text-container"}),this.C&& (b=new g.Gu({D:"div",I:"ytp-ad-hover-text-callout"}),b.o(this.A.element),g.H(this,b)),g.H(this,this.A),this.A.o(this.element),b=KW(a),g.Vd(this.A.element,b,0)),this.show())}; iY.prototype.hide=function(){this.button&&this.button.hide();this.A&&this.A.hide();Z.prototype.hide.call(this)}; iY.prototype.show=function(){this.button&&this.button.show();Z.prototype.show.call(this)};g.r(jY,Z);g.h=jY.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.reasons?null==b.confirmLabel?g.N(Error("AdFeedbackRenderer.confirmLabel was not set.")):(null==b.cancelLabel&&g.uo(Error("AdFeedbackRenderer.cancelLabel was not set.")),null==b.title&&g.uo(Error("AdFeedbackRenderer.title was not set.")),Jma(this,b)):g.N(Error("AdFeedbackRenderer.reasons were not set."))}; g.h.clear=function(){kr(this.C);kr(this.F);this.B.length=0;this.hide()}; g.h.hide=function(){this.w&&this.w.hide();this.A&&this.A.hide();Z.prototype.hide.call(this)}; g.h.show=function(){this.w&&this.w.show();this.A&&this.A.show();Z.prototype.show.call(this)}; g.h.Qx=function(){this.api.onAdUxClicked("ad-feedback-dialog-close-button");this.R("w");this.hide()}; g.h.cL=function(){this.hide()}; kY.prototype.isChecked=function(){return this.w.checked};g.r(lY,Z);g.h=lY.prototype;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.N(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.N(Error("ConfirmDialogRenderer.cancelLabel was not set.")):Kma(this,b):g.N(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; g.h.clear=function(){g.Ts(this.ea);this.hide()}; g.h.Ar=function(){this.hide()}; g.h.zr=function(){var a=this.w.cancelEndpoint;a&&this.ma.La(a,this.macros);this.hide()}; g.h.Br=function(){var a=this.w.confirmNavigationEndpoint||this.w.confirmEndpoint;a&&this.ma.La(a,this.macros);this.hide()};g.r(mY,lY);mY.prototype.Ar=function(a){lY.prototype.Ar.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; mY.prototype.zr=function(a){lY.prototype.zr.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; mY.prototype.Br=function(a){lY.prototype.Br.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-confirm-button");this.R("x")};g.r(nY,Z);g.h=nY.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.F=b;if(null==b.dialogMessage&&null==b.title)g.N(Error("Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set."));else{null==b.confirmLabel&&g.uo(Error("AdInfoDialogRenderer.confirmLabel was not set."));if(a=b.closeOverlayRenderer&&b.closeOverlayRenderer.buttonRenderer||null)this.w=new RX(this.api,this.ma,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"),g.H(this,this.w),this.w.init(Y("button"), a,this.macros),this.w.o(this.element);b.title&&(a=g.MB(b.title),this.updateValue("title",a));if(b.adReasons)for(a=b.adReasons,c=0;c=a&&g.N(Error("durationMs was specified incorrectly in AdMessageRenderer with a value of: "+a));a=b.durationMs;this.F=null==a||0===a?0:a+1E3*this.w.getProgressState().current;if(b.text)var d=b.text.templatedAdText;else b.staticMessage&&(d=b.staticMessage);this.A.init(Y("ad-text"),d,c);this.A.o(this.B.element);this.J.show(100);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){zY(this,!1);SX.prototype.hide.call(this);this.B.hide();this.A.hide();UX(this)}; g.h.show=function(){zY(this,!0);SX.prototype.show.call(this);TX(this);this.B.show();this.A.show()}; g.h.Dh=function(){this.hide()}; g.h.Gg=function(){if(null!=this.w){var a=this.w.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.K&&a>=this.F?(this.J.hide(),this.K=!0):this.A&&this.A.isTemplated()&&(a=Math.max(0,Math.ceil((this.F-a)/1E3)),a!=this.V&&(XX(this.A,{TIME_REMAINING:String(a)}),this.V=a)))}};g.r(AY,Z);g.h=AY.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.K=b;a=this.K.seekableDurationMilliseconds;this.V="number"===typeof a?a:5E3;var d=b&&b.preSeekRenderer&&b.preSeekRenderer.adPreviewRenderer||null,e=b&&b.seekableRenderer&&b.seekableRenderer.skipButtonRenderer||null;if(null==e)g.N(Error("SeekableRenderer was not set in SeekAdRenderer."));else if(a=b&&b.notSeekedRenderer&&b.notSeekedRenderer.skipButtonRenderer||null,null==a)g.N(Error("NotSeekedRenderer was not set in SeekAdRenderer."));else if(b&& b.postSeekRenderer&&b.postSeekRenderer.adPreviewRenderer||b&&b.postSeekRenderer&&b.postSeekRenderer.skipButtonRenderer){d&&(this.A=new YX(this.api,this.ma,this.F,!1),this.A.init(Y("ad-preview"),d,c),this.A.subscribe("t",this.OJ,this),g.H(this,this.A),this.A.o(this.element),this.A.Ye());this.w=new bY(this.api,this.ma,this.F);this.w.init(Y("skip-button"),e,c);this.w.subscribe("u",this.yK,this);d=this.V;this.A&&(d+=this.A.K);this.w.na=d;this.w.subscribe("v",this.zK,this);g.H(this,this.w);this.w.o(this.element); null==this.A&&this.w.Ye();this.C=new bY(this.api,this.ma,this.F);this.C.init(Y("skip-button"),a,c);g.H(this,this.C);this.C.o(this.element);a:{b=b.postSeekRenderer;if(b.adPreviewRenderer){b=b.adPreviewRenderer;a=this.F;if(this.ba){a=b.durationMilliseconds;if(null==a||0==a){g.N(Error("durationMilliseconds must be specified for persistingAdPreviewRenderer"));break a}this.J=new dY(a,this.ma,!1);g.H(this,this.J);a=this.J}this.B=new YX(this.api,this.ma,a,!1);this.B.init(Y("ad-preview"),b,c)}else b.skipButtonRenderer&& (this.B=new bY(this.api,this.ma,this.F),this.B.init(Y("skip-button"),b.skipButtonRenderer,c));g.H(this,this.B);this.B.o(this.element)}this.show()}else g.N(Error("PostSeekRenderer was not set in SeekAdRenderer."))}; g.h.show=function(){this.A?this.A.show():this.w&&!this.w.Ia()&&this.w.show();Z.prototype.show.call(this)}; g.h.clear=function(){this.A&&this.A.clear();this.w&&this.w.clear();this.C&&this.C.clear();this.B&&this.B.clear();Z.prototype.hide.call(this)}; g.h.hide=function(){this.A&&this.A.hide();this.w&&this.w.hide();this.C&&this.C.hide();this.B&&this.B.hide();Z.prototype.hide.call(this)}; g.h.OJ=function(){this.A&&this.A.J.hide();this.w&&this.w.Ye()}; g.h.yK=function(){this.Z=!0;if(this.w){var a=this.w;a.V.hide();cY(a)}this.B&&(this.J&&this.J.start(),this.B.Ye())}; g.h.zK=function(){if(!this.Z){if(this.w){var a=this.w;a.V.hide();cY(a)}this.C&&this.C.Ye()}};g.r(BY,SX);g.h=BY.prototype; g.h.init=function(a,b,c){SX.prototype.init.call(this,a,b,c);a=b&&b.preskipRenderer&&b.preskipRenderer.adPreviewRenderer||{};if(a=g.Zb(a)?null:a){this.F=null!=a.durationMilliseconds&&void 0!==a.durationMilliseconds?a.durationMilliseconds:5E3;var d="countdown_next_to_thumbnail"==g.Ct(this.api.O().experiments,"preskip_button_style_ads_backend")&&Yy(this.api.O());this.A=new YX(this.api,this.ma,this.w,d);this.A.init(Y("preskip-component"),a,c);this.A.Ye();g.H(this,this.A);this.A.o(this.element);g.P(this.api.O().experiments, "enable_pubsub_for_skip_transition_bulleit")&&this.A.subscribe("t",this.RJ,this)}else b.skipOffsetMilliseconds&&(this.F=b.skipOffsetMilliseconds);b=b&&b.skippableRenderer&&b.skippableRenderer.skipButtonRenderer||{};b=g.Zb(b)?null:b;null==b?g.N(Error("SkipButtonRenderer was not set in player response.")):(this.B=new bY(this.api,this.ma,this.w),this.B.init(Y("skip-button"),b,c),g.H(this,this.B),this.B.o(this.element),this.show())}; g.h.show=function(){this.J&&this.B?this.B.show():this.A&&this.A.show();TX(this);SX.prototype.show.call(this)}; g.h.Dh=function(){}; g.h.clear=function(){this.A&&this.A.clear();this.B&&this.B.clear();UX(this);SX.prototype.hide.call(this)}; g.h.hide=function(){this.A&&this.A.hide();this.B&&this.B.hide();UX(this);SX.prototype.hide.call(this)}; g.h.RJ=function(){CY(this,!0)}; g.h.Gg=function(){g.P(this.api.O().experiments,"enable_pubsub_for_skip_transition_bulleit")?this.A||1E3*this.w.getProgressState().current>=this.F&&CY(this,!0):1E3*this.w.getProgressState().current>=this.F&&CY(this,!0)};g.r(DY,Z);DY.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.skipAd&&(a=b.skipAd,a.seekAdRenderer?(b=new AY(this.api,this.ma,this.w,!0),b.o(this.A),b.init(Y("seek-ad"),a.seekAdRenderer,this.macros),g.H(this,b)):a.skipAdRenderer&&(b=new BY(this.api,this.ma,this.w),b.o(this.A),b.init(Y("skip-button"),a.skipAdRenderer,this.macros),g.H(this,b)));this.show()};g.r(EY,SX);g.h=EY.prototype;g.h.init=function(a,b,c){SX.prototype.init.call(this,a,b,c);if(b.templatedCountdown){a=b.templatedCountdown.templatedAdText;if(!a.isTemplated){g.uo(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.A=new WX(this.api,this.ma);this.A.init(Y("ad-text"),a,{});this.A.o(this.element);g.H(this,this.A)}this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){UX(this);SX.prototype.hide.call(this)}; g.h.Dh=function(){this.hide()}; g.h.Gg=function(){if(null!=this.w){var a=this.w.getProgressState();if(null!=a&&null!=a.current&&this.A){a=(this.w instanceof dY?a.seekableEnd:this.api.getDuration(2))-a.current;var b=g.yL(a);XX(this.A,{FORMATTED_AD_DURATION_REMAINING:String(b),TIME_REMAINING:String(Math.ceil(a))})}}}; g.h.show=function(){TX(this);SX.prototype.show.call(this)};g.r(FY,WX);FY.prototype.onClick=function(a){WX.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};g.r(GY,SX);g.h=GY.prototype; g.h.init=function(a,b,c){SX.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.actionButton&&b.actionButton.buttonRenderer&&b.actionButton.buttonRenderer.navigationEndpoint){a=this.api.getVideoData(2);if(null!=a)if(b.image&&b.image.thumbnail){var d=b.image.thumbnail.thumbnails;null!=d&&0=this.V&&(UX(this),g.mn(this.element,"ytp-flyout-cta-inactive"))}}; g.h.Dh=function(){this.clear()}; g.h.clear=function(){this.hide()}; g.h.show=function(){this.A&&this.A.show();SX.prototype.show.call(this)}; g.h.hide=function(){this.A&&this.A.hide();SX.prototype.hide.call(this)};g.r(HY,Z);g.h=HY.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.A=b;if(null==b.defaultText&&null==b.defaultIcon)g.N(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.N(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.K(this.B,a)}a={};b.defaultText? (c=g.MB(b.defaultText),g.xb(c)||(a.buttonText=c,this.w.setAttribute("aria-label",c))):g.yg(this.V,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip);b.defaultIcon?(c=QX(b.defaultIcon),this.updateValue("untoggledIconTemplateSpec",c),b.toggledIcon?(this.J=!0,c=QX(b.toggledIcon),this.updateValue("toggledIconTemplateSpec",c)):(g.yg(this.F,!0),g.yg(this.C,!1)),g.yg(this.w,!1)):g.yg(this.Z,!1);g.Zb(a)||this.update(a);b.isToggled&&(g.K(this.B,"ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled)); IY(this);this.K=this.M(this.element,"change",this.Ox);g.P(this.api.O().experiments,"bulleit_use_touch_events_for_magpie")&&FW(this,this.K);this.show()}}; g.h.onClick=function(a){0a)g.N(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){this.A?$Y(this.K,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape):this.J&& $Y(this.J,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape);$Y(this.ba,b.brandImage);g.ce(this.ga,g.MB(b.text));this.A?(this.w=new RX(this.api,this.ma,["ytp-ad-survey-interstitial-action-button-fp"]),g.H(this,this.w),this.w.o(this.Z)):this.F&&(this.w=new RX(this.api,this.ma,["ytp-ad-survey-interstitial-action-button"]),g.H(this,this.w),this.w.o(this.F));this.w.init(Y("button"),b.ctaButton.buttonRenderer,c);this.w.show();var e=b.timeoutCommands;this.C=new dY(1E3*a);this.C.subscribe("r", function(){d.B.hide();e.forEach(function(f){return d.ma.La(f,c)}); d.A&&d.ma.La({adLifecycleCommand:{action:"END_LINEAR_AD"}},c)}); g.H(this,this.C);this.M(this.element,"click",function(f){return ina(d,f,b)}); this.B.show(100);b.impressionCommands&&b.impressionCommands.forEach(function(f){return d.ma.La(f,c)})}else g.N(Error("SurveyTextInterstitialRenderer has no landscape background image.")); else g.N(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.N(Error("SurveyTextInterstitialRenderer has no button."));else g.N(Error("SurveyTextInterstitialRenderer has no text."));else g.N(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; ZY.prototype.clear=function(){this.hide()}; ZY.prototype.show=function(){aZ(!0);Z.prototype.show.call(this)}; ZY.prototype.hide=function(){aZ(!1);Z.prototype.hide.call(this)};g.r(bZ,Z);g.h=bZ.prototype; g.h.init=function(a,b,c){var d=this;Z.prototype.init.call(this,a,b,c);this.w&&(this.w.cancel(),this.w=null);this.w=new Nk(g.Ha);b.bannerImage?b.iconImage?b.headline?b.description?b.actionButton&&b.actionButton.buttonRenderer?b.navigationEndpoint?(b.adInfoRenderer&&b.adInfoRenderer.adHoverTextButtonRenderer?this.zc.init(Y("watch-ad-info-hover-button"),b.adInfoRenderer.adHoverTextButtonRenderer,c):g.N(Error("ActionCompanionAdRenderer has no ad info renderer.")),this.B.init(Y("ad-image"),b.bannerImage, c),this.Z.init(Y("ad-image"),b.iconImage,c),this.F.init(Y("ad-text"),b.headline,c),this.C.init(Y("ad-text"),b.description,c),this.A.init(Y("button"),b.actionButton.buttonRenderer,c),g.ce(this.u["yt-badge-ad"],"Ad"),this.V=b.impressionCommands||[],this.J=b.navigationEndpoint,this.ea.M(this.element,"click",this.uJ,this),Promise.race([this.w,this.ba.showCompanion(this.element,300,250)]).then(function(){return d.show()})):g.N(Error("ActionCompanionAdRenderer has no navigation endpoint.")):g.N(Error("ActionCompanionAdRenderer has no button.")): g.N(Error("ActionCompanionAdRenderer has no description string.")):g.N(Error("ActionCompanionAdRenderer has no headline string.")):g.N(Error("ActionCompanionAdRenderer has no icon image.")):g.N(Error("ActionCompanionAdRenderer has no banner image."))}; g.h.clear=function(){g.Ts(this.ea);this.hide()}; g.h.show=function(){var a=this;this.A.show();Z.prototype.show.call(this);this.V.forEach(function(b){return a.ma.La(b,a.macros)})}; g.h.hide=function(){this.A.hide();Z.prototype.hide.call(this)}; g.h.uJ=function(a){a=a.target;g.be(this.zc.element,a)||(this.J&&!g.be(this.A.element,a)&&this.ma.La(this.J,this.macros),this.api.onAdUxClicked("action-companion"),this.api.pauseVideo())}; g.h.Y=function(){this.w&&(this.w.cancel(),this.w=null);Z.prototype.Y.call(this)};g.r(cZ,g.E);cZ.prototype.Y=function(){this.C&&g.Lo(this.C);this.w&&(this.w.cancel(),this.w=null);this.B&&g.Lo(this.B);this.o&&(this.o.cancel(),this.o=null);this.u&&(this.u.cancel(),this.u=null);this.A&&(this.A.stop(),this.A=null);g.E.prototype.Y.call(this)};g.r(iZ,Z);iZ.prototype.init=function(a,b,c){var d=this;Z.prototype.init.call(this,a,b,c);this.w&&(this.w.cancel(),this.w=null);this.w=new Nk(g.Ha);"BACKFILL_MPU_TYPE_AFV"==b.type?Promise.race([this.w,mna(this.A)]).then(function(){d.show()}):"BACKFILL_MPU_TYPE_AFC"==b.type&&Promise.race([this.w, nna(this.A)]).then(function(){d.show()},function(e){e instanceof dl||pna(d,b)})}; iZ.prototype.Y=function(){this.w&&(this.w.cancel(),this.w=null);Z.prototype.Y.call(this)};g.r(jZ,g.T);jZ.prototype.clear=function(){for(var a=g.p(this.Ea),b=a.next();!b.done;b=a.next())g.Ei(b.value);this.Ea=[]}; jZ.prototype.G=function(a){g.fr(a);this.w=Math.max(0,this.w-kZ(this));lZ(this)}; jZ.prototype.F=function(a){g.fr(a);this.w=Math.min(this.Ea.length-1,this.w+kZ(this));lZ(this)}; jZ.prototype.Y=function(){this.clear();g.T.prototype.Y.call(this)};g.r(mZ,LW);g.h=mZ.prototype;g.h.fb=function(){return this.yd.element}; g.h.Kl=function(a){var b=this.yd,c=new g.T({D:"li",I:"ad-carousel-listitem",L:[{D:"div",I:"ad-carousel-item"}]});c.u["ad-carousel-item"].appendChild(a);b.Ea.push(c);b.C.appendChild(c.element)}; g.h.show=function(){this.yd.show()}; g.h.hide=function(){this.yd.hide()}; g.h.clear=function(){this.yd.clear()};var ooa={jN:"adinfoclick",vP:"offerclick",wP:"offernavclick"};g.r(nZ,LW);nZ.prototype.show=function(){this.u.show()}; nZ.prototype.hide=function(){this.u.hide()}; nZ.prototype.pd=function(){var a=this;this.u.ha("click",function(){a.dispatchEvent({type:"offerclick"})}); for(var b=g.p((this.u.element||document).getElementsByTagName("A")),c=b.next();!c.done;c=b.next())this.u.M(c.value,"click",function(){a.dispatchEvent({type:"offernavclick"})})}; nZ.prototype.fb=function(){return this.u.element};var qna={Qo:nZ};g.r(pZ,MW); pZ.prototype.nj=function(a){var b=this.Kc();a=a.renderer;this.o=a.clickthroughEndpoint||null;var c=a.headline||null;oZ(b.w,"headline",c);oZ(b.o,"headline",c);c=a.merchant||null;oZ(b.A,"merchant",c);oZ(b.w,"merchant",c);oZ(b.o,"merchant",c);c=a.priceText||null;oZ(b.A,"price",c);oZ(b.w,"price",c);oZ(b.o,"price",c);c=(c=a.image&&0